.pomonaroma-core-status{padding:12px;border:1px solid #ccd0d4}.pomo-wizard{max-width:1000px;margin:32px auto;padding:24px}.pomo-steps{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;padding:0;list-style:none;margin:24px 0}.pomo-steps li{padding:10px;border:1px solid #ccd0d4;border-radius:4px;font-size:13px}.pomo-steps li.current{font-weight:700;border-width:2px}.pomo-wizard select,.pomo-wizard input.regular-text{min-width:320px;max-width:100%}.pomo-error{border-left:4px solid;padding:12px;margin:16px 0}.pomo-note{border:1px solid #ccd0d4;padding:16px;margin:16px 0}@media(max-width:800px){.pomo-steps{grid-template-columns:1fr 1fr}.pomo-wizard{padding:14px}}

.pomo-player-wrap{margin:18px 0;max-width:900px}.pomo-player-wrap video,.pomo-player-wrap audio{max-width:100%;width:100%}.pomo-marker-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0}.pomo-timeline{position:relative;height:18px;border:1px solid #777;border-radius:9px;margin:16px 0;overflow:visible}.pomo-timeline-marks{position:absolute;inset:0}.pomo-marker-dot{position:absolute;top:2px;width:12px;height:12px;border-radius:50%;background:currentColor;transform:translateX(-50%)}.pomo-marker-row{display:flex;gap:10px;align-items:center;margin:8px 0}.pomo-marker-time{width:130px}.pomo-marker-message{min-height:24px;margin:8px 0;font-weight:600}

.pomo-association-list{display:grid;gap:12px;margin:18px 0}.pomo-association-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(220px,2fr);gap:18px;align-items:center;padding:14px;border:1px solid rgba(255,255,255,.18);border-radius:6px}.pomo-association-row select{width:100%;max-width:420px}.pomo-marker-time{font-variant-numeric:tabular-nums}@media(max-width:640px){.pomo-association-row{grid-template-columns:1fr}}

/* v0.8.2: Step 6 uses real form buttons rather than text links. */
.pomo-wizard-nav{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:22px 0}.pomo-wizard-nav form{display:inline-block!important;margin:0!important}.pomo-wizard-nav .button{display:inline-block!important;visibility:visible!important;opacity:1!important;min-height:36px;padding:7px 16px;line-height:20px;cursor:pointer}

/* v1.0.0: selector for Live scent configurations on normal ViewTube playback. */
.pomo-scent-experience{max-width:900px;margin:0 0 18px;padding:16px;border:1px solid rgba(255,255,255,.18);border-radius:6px}.pomo-scent-experience h3{margin:0 0 10px}.pomo-scent-experience label{display:block;margin-bottom:6px;font-weight:600}.pomo-scent-experience select{width:100%;max-width:520px;min-height:38px}.pomo-live-status{margin:10px 0 0;font-size:.95em}.pomo-scent-experience select:disabled{opacity:.75}

/* v1.2.0: personalized Favorites category/section. */
.pomo-favorites-section{max-width:1200px;margin:32px auto;padding:0 20px}.pomo-favorites-section h2{margin:0 0 16px}.pomo-favorites-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}.pomo-favorite-card{display:flex;flex-direction:column;gap:5px}.pomo-favorite-card a{display:flex;flex-direction:column;gap:8px;text-decoration:none}.pomo-favorite-card img{width:100%;height:auto;display:block}.pomo-favorite-card span,.pomo-favorite-card small{display:block}



/* v1.2.9: uniform native ViewTube video-card media on Home, category, search and Favorites. */
.video-item-card .video-thumbnail,
.video-item-card .video-thumb {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    overflow: hidden !important;
}
.video-item-card .video-thumbnail > a {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}
.video-item-card .video-thumbnail img,
.video-item-card .video-thumb img,
.video-item-card .video-thumb video,
.video-item-card .video-thumb iframe,
.video-item-card .video-thumb canvas,
.video-item-card .video-thumb .playerContainer,
.video-item-card .video-thumb > div {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
}
.video-item-card .video-thumbnail img,
.video-item-card .video-thumb img,
.video-item-card .video-thumb video {
    object-fit: cover !important;
    object-position: center !important;
}

/* v1.3.3 Wizard form presentation */
.pomo-wizard input:not([type=\"hidden\"]):not([type=\"submit\"]):not([type=\"button\"]),.pomo-wizard select,.pomo-wizard textarea{background:#fff!important;}
.pomo-wizard .pomo-required{color:#d63638;}
.pomo-wizard .pomo-media-dropdown{background:#fff!important;min-width:320px;max-width:100%;}

/* v1.3.4 Wizard usability and persistence presentation */
.pomo-wizard input:not([type="hidden"]):not([type="submit"]):not([type="button"]),
.pomo-wizard select,
.pomo-wizard textarea{background:#fff!important;color:#000!important;}
.pomo-wizard select option{background:#fff!important;color:#000!important;}
.pomo-media-dropdown{width:max-content!important;max-width:100%!important;field-sizing:content;}
.pomo-start-new-wrap{margin:0 0 20px!important;}
.pomo-start-new-square{display:inline-flex!important;align-items:center;justify-content:center;min-width:150px;min-height:52px;padding:12px 18px!important;white-space:normal;text-align:center;border-radius:0!important;line-height:1.25!important;}
.pomo-running-time{margin-top:8px;font-variant-numeric:tabular-nums;font-weight:600;}

/* v1.3.9 Membership & Capacity */
.pomo-capacity{margin:18px 0 26px;padding:18px;border:1px solid #dcdcde;border-radius:6px;background:#fff;color:#000}
.pomo-capacity-table{width:100%;max-width:820px;border-collapse:collapse;background:#fff;color:#000}
.pomo-capacity-table th,.pomo-capacity-table td{padding:9px 10px;border:1px solid #dcdcde;text-align:left;color:#000;background:#fff}
.pomo-capacity-table thead th{font-weight:700}

/* v1.3.10 capacity resource breakdowns */
.pomo-capacity-table .pomo-capacity-breakdown th,.pomo-capacity-table .pomo-capacity-breakdown td{background:#f6f7f7!important;}
.pomo-capacity-breakdown ul{margin:0;padding-left:22px;}
.pomo-capacity-breakdown li{margin:3px 0;}


/* v1.3.20 Wizard feedback and capacity presentation */
.pomo-wizard .pomo-error{color:#d63638!important;border-left-color:#d63638!important;font-weight:600;}
.pomo-capacity-table .pomo-allowance,
.pomo-capacity-table thead th:nth-child(3){color:#d63638!important;font-weight:700;}

/* v1.3.32: compact-height refinements to original v1.3.31 navigation.
   Original Pomonaroma connected-chevron progress navigation.
   Display-only: no navigation or wizard form behavior is changed. */
.pomo-wizard .pomo-steps-scroll{max-width:100%;overflow-x:auto;overflow-y:hidden;margin:12px 0 16px;scrollbar-width:thin;scrollbar-color:#7154a0 transparent;}
.pomo-wizard .pomo-steps{display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap!important;gap:0!important;list-style:none!important;padding:3px 0!important;margin:0!important;min-width:840px;width:100%;isolation:isolate;}
.pomo-wizard .pomo-steps li{--pomo-step-bg:#5b4192;position:relative;display:flex!important;align-items:center;justify-content:center;gap:9px;flex:1 1 0;min-width:0;min-height:54px;padding:7px 15px 7px 22px!important;margin:0 0 0 -13px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:linear-gradient(160deg,#8669bd 0%,var(--pomo-step-bg) 90%)!important;color:#fff!important;font-size:12px!important;font-weight:600;line-height:1.2;clip-path:polygon(0 0,calc(100% - 19px) 0,100% 50%,calc(100% - 19px) 100%,0 100%,19px 50%);text-align:left;}
.pomo-wizard .pomo-steps li:first-child{margin-left:0!important;padding-left:16px!important;clip-path:polygon(0 0,calc(100% - 19px) 0,100% 50%,calc(100% - 19px) 100%,0 100%);}
.pomo-wizard .pomo-steps li:last-child{padding-right:19px!important;}
.pomo-wizard .pomo-steps li.current{--pomo-step-bg:#82a720;background:linear-gradient(160deg,#c4dd48 0%,#82a720 95%)!important;color:#fff!important;font-weight:700!important;}
.pomo-wizard .pomo-steps li.completed{--pomo-step-bg:#483176;background:linear-gradient(160deg,#7252a4 0%,#483176 95%)!important;}
.pomo-wizard .pomo-steps li:nth-child(1){z-index:7}.pomo-wizard .pomo-steps li:nth-child(2){z-index:6}.pomo-wizard .pomo-steps li:nth-child(3){z-index:5}.pomo-wizard .pomo-steps li:nth-child(4){z-index:4}.pomo-wizard .pomo-steps li:nth-child(5){z-index:3}.pomo-wizard .pomo-steps li:nth-child(6){z-index:2}.pomo-wizard .pomo-steps li:nth-child(7){z-index:1}
.pomo-wizard .pomo-step-number{display:inline-flex;flex:none;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;font-size:16px;font-weight:800;line-height:1;}
.pomo-wizard .pomo-steps li.current .pomo-step-number{background:rgba(76,104,15,.20);}
.pomo-wizard .pomo-step-label{display:block;overflow-wrap:normal;word-break:normal;hyphens:none;}
@media(max-width:1050px){.pomo-wizard .pomo-steps{min-width:950px}.pomo-wizard .pomo-steps li{font-size:13px!important;min-height:52px;}.pomo-wizard .pomo-steps-scroll{scroll-snap-type:x proximity;}.pomo-wizard .pomo-steps li{scroll-snap-align:start;}}
@media(max-width:600px){.pomo-wizard .pomo-steps{min-width:840px}.pomo-wizard .pomo-steps li{min-height:48px;padding-top:6px!important;padding-bottom:6px!important}.pomo-wizard .pomo-step-number{width:24px;height:24px;font-size:15px;}}

/* v1.3.34: preserve the ViewTube Wizard hero image and breadcrumb, but compact its height. */
body.pomonaroma-wizard-page .main-container > section.breadcrumbs {
  display:block!important;
  padding:24px 12px!important;
  margin-top:8px!important;
  min-height:0!important;
  height:auto!important;
}
body.pomonaroma-wizard-page .main-container > section.breadcrumbs h1 {
  font-size:clamp(25px,3vw,34px)!important;
  line-height:1.2!important;
  margin:0 0 6px!important;
}
body.pomonaroma-wizard-page .main-container > section.breadcrumbs ul {margin:0!important;}
body.pomonaroma-wizard-page .main-container > section.section-padding {padding-top:12px!important;}
body.pomonaroma-wizard-page .pomo-wizard > h1 {margin-top:0!important;margin-bottom:12px!important;}
@media(max-width:600px){body.pomonaroma-wizard-page .main-container > section.breadcrumbs{padding:16px 10px!important;}}

/* v1.3.35: compact spacing after removing duplicate Wizard heading. */
body.pomonaroma-wizard-page .pomo-wizard .pomo-steps-scroll{margin-top:0!important;}

/* v1.3.36: compact ordered scent selector on Wizard step 3. */
.pomo-ordered-picker{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 12px}.pomo-ordered-picker select{max-width:100%;min-width:220px}.pomo-ordered-editor ol{padding-left:24px}.pomo-ordered-editor li{margin:7px 0;display:list-item}.pomo-ordered-editor li span{display:inline-block;min-width:170px;margin-right:8px}.pomo-ordered-editor li button{margin:2px 3px 2px 0;padding:3px 9px}.pomo-ordered-editor{margin:15px 0 20px}
/* 1.3.39: compact marker / ordered Diri assignment */
.pomo-marker-scent-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid #444}
.pomo-marker-scent-row .pomo-marker-time{width:105px!important;max-width:105px!important;min-width:0!important}
.pomo-marker-scent-row .pomo-marker-scent{width:190px!important;max-width:100%!important;min-width:0!important}
.pomo-marker-scent-row select{max-width:280px!important;min-width:0!important}
.pomo-marker-import{margin:18px 0;padding:12px;border:1px solid #555;border-radius:8px}

/* 1.3.40: block marker editor */
#pomo-marker-list{display:grid;gap:16px;margin:18px 0}
#pomo-marker-list .pomo-marker-scent-row{display:flex;flex-direction:column;align-items:stretch;gap:9px;padding:18px;border:1px solid #555;border-radius:9px;margin:0;max-width:100%;box-sizing:border-box}
#pomo-marker-list .pomo-marker-block-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
#pomo-marker-list .pomo-marker-scent-row label{display:block;font-weight:600;margin-top:4px}
#pomo-marker-list .pomo-marker-time{width:160px!important;max-width:100%!important}
#pomo-marker-list .pomo-marker-scent{width:100%!important;max-width:100%!important;box-sizing:border-box}
#pomo-marker-list .pomo-add-scent,#pomo-marker-list .pomo-diri-picker{width:100%;max-width:420px!important}
#pomo-marker-list [hidden]{display:none!important}

/* 1.3.41: square-edged marker blocks and selection widgets */
#pomo-marker-list .pomo-marker-scent-row{border-radius:0!important}
#pomo-marker-list .pomo-marker-scent-row input,#pomo-marker-list .pomo-marker-scent-row select,#pomo-marker-list .pomo-marker-scent-row button{border-radius:0!important}
#pomo-marker-import[hidden]{display:none!important}

/* 1.3.42 marker slots and membership styling */
#pomo-marker-list .pomo-marker-scent-row{border:2px solid var(--pomo-tier-color,#bd8730)!important;border-radius:0!important;padding:16px!important;background:color-mix(in srgb,var(--pomo-tier-color,#bd8730) 8%,#171717)}
#pomo-marker-list .pomo-marker-scent-row.pomo-marker-empty{border-style:dashed!important;opacity:.82}
#pomo-marker-list .pomo-marker-scent{width:min(100%,42ch)!important;max-width:42ch!important}
#pomo-marker-list .pomo-add-scent.pomo-raised-scent{display:inline-block;width:230px!important;max-width:100%!important;background:linear-gradient(#39b8ec,#087da9)!important;color:white!important;border:1px solid #056184!important;border-bottom:4px solid #044c6a!important;box-shadow:2px 3px 0 #062c3c!important;border-radius:0!important;font-weight:700;cursor:pointer}
.pomo-marker-rules{color:#ffe04c!important;font-weight:600}
#pomo-save-slots-wrap[hidden]{display:none!important}
body:has(#pomo-marker-list) {--pomo-tier-color:#b68423}
body:has(#pomo-marker-list[data-tier="gold"]) {--pomo-tier-color:#d5ad3f}
body:has(#pomo-marker-list[data-tier="platinum"]) {--pomo-tier-color:#9caebe}
body:has(#pomo-marker-list[data-tier="custom"]) {--pomo-tier-color:#8b68b8}

/* 1.3.43: prominent consistent membership indicator */
.pomo-member-banner{--member-bg:#a06c08;display:block;padding:14px 18px;margin:12px 0 18px;color:#fff!important;background:var(--member-bg)!important;border:1px solid rgba(255,255,255,.18);border-radius:3px;font-size:15px}
.pomo-member-banner.pomo-member-bronze{--member-bg:#a06c08}
.pomo-member-banner.pomo-member-gold{--member-bg:#b38a18}
.pomo-member-banner.pomo-member-platinum{--member-bg:#647e9a}
.pomo-member-banner.pomo-member-custom{--member-bg:#7350a0}
#pomo-scent-action-panel[hidden],#pomo-essencheon-auth[hidden],#pomo-csv-panel[hidden],#pomo-site-panel[hidden]{display:none!important}
#pomo-scent-action-panel{padding:12px 0}

/* 1.3.44: membership summary uses one consistent tier-colored block */
.pomo-member-banner{width:100%!important;box-sizing:border-box!important;display:block!important;background-color:var(--member-bg)!important;color:#fff!important;padding:16px 18px!important}
.pomo-member-banner *, .pomo-member-banner #pomo-marker-allowance{color:#fff!important;background:transparent!important}
.pomo-member-banner #pomo-marker-allowance{margin:8px 0 0!important;opacity:.95}
#pomo-essencheon-auth:not([hidden]){border:1px solid #c69b38;padding:14px;margin:12px 0;background:#231d10;color:#fff}
#pomo-marker-message:not(:empty){color:#ffe04c!important}

/* 1.3.45: membership tier badge only, no full-width background */
.pomo-wizard .pomo-member-summary{display:block;margin:12px 0 18px;background:transparent!important;color:inherit!important}
.pomo-wizard .pomo-member-summary .pomo-member-banner{display:inline-block!important;width:auto!important;box-sizing:border-box!important;margin:0 12px 0 0!important;padding:8px 12px!important;vertical-align:middle;background:var(--member-bg)!important;color:#fff!important}
.pomo-wizard .pomo-member-summary .pomo-member-limit{display:inline-block;vertical-align:middle;background:transparent!important;color:inherit!important}
.pomo-wizard .pomo-member-summary #pomo-marker-allowance{margin:12px 0 0!important;background:transparent!important;color:inherit!important}

/* 1.3.49: keep the selected marker's connection panel visible and local. */
.pomo-marker-row #pomo-scent-action-panel:not([hidden]){display:block!important;width:100%;box-sizing:border-box;margin-top:12px;padding:10px 0;align-self:stretch}
.pomo-marker-row #pomo-essencheon-auth:not([hidden]){display:block!important;scroll-margin-top:110px}
.pomo-marker-row #pomo-essencheon-connect{display:inline-block;margin-top:8px}

/* Compact Essencheon browser (v1.3.53) */
.pomo-scent-workspace{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr);gap:18px;align-items:start}.pomo-scent-browser{position:sticky;top:20px;border:1px solid #d7d7d7;border-radius:8px;padding:14px;background:#fafafa}.pomo-scent-browser label{display:block;margin:8px 0}.pomo-scent-browser select,.pomo-scent-browser input{display:block;width:100%;max-width:100%;box-sizing:border-box}.pomo-browser-results{max-height:530px;overflow-y:auto;margin-top:12px}.pomo-browser-item{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #ddd}.pomo-browser-detail{display:flex;align-items:center;gap:9px;flex:1;min-width:0;text-align:left;background:none;border:0;cursor:pointer;color:inherit}.pomo-browser-info{display:flex;flex-direction:column;min-width:0}.pomo-browser-info small{font-size:11px;color:#555;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pomo-scent-thumb{flex:none;display:inline-flex;align-items:center;justify-content:center;border-radius:5px;background:#e9e9e9;overflow:hidden}.pomo-scent-thumb img{width:100%;height:100%;object-fit:cover}.pomo-marker-active{outline:2px solid #7952b3;outline-offset:2px}.pomo-scent-modal:not([hidden]){position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;padding:16px}.pomo-scent-dialog{position:relative;background:#fff;color:#222;max-width:700px;width:100%;max-height:85vh;overflow:auto;border-radius:10px;padding:24px;box-sizing:border-box}.pomo-modal-close{float:right}.pomo-modal-top{display:flex;gap:18px;align-items:flex-start}@media(max-width:800px){.pomo-scent-workspace{grid-template-columns:1fr}.pomo-scent-browser{position:static}}

/* v1.3.54: glossy buttons scoped to wizard content; step indicators remain unchanged. */
.pomo-wizard a.button:not(.pomo-start-new-square),
.pomo-wizard button.button,
.pomo-wizard input[type="submit"].button,
.pomo-wizard-nav .button {
  appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:linear-gradient(to bottom,#86faff 0%,#1bd4e2 27%,#00aab7 51%,#007b8d 85%,#00c1d0 100%)!important;
  color:#fff!important;text-shadow:0 1px 2px #00525b!important;
  border:3px solid #f2f7f8!important;border-radius:28px!important;
  box-shadow:inset 0 2px 2px #ffffffa8,inset 0 -3px 3px #005965,0 0 0 1px #8b999d,0 4px 9px #0004!important;
  padding:9px 23px!important;min-height:43px!important;font-weight:700!important;line-height:1.3!important;
  text-decoration:none!important;cursor:pointer!important;transition:filter .15s,transform .15s!important;
}
.pomo-wizard a.button:not(.pomo-start-new-square):hover,
.pomo-wizard button.button:hover,.pomo-wizard input[type="submit"].button:hover,
.pomo-wizard-nav .button:hover{filter:brightness(1.09)!important;transform:translateY(-1px)}
.pomo-wizard a.button:not(.pomo-start-new-square):active,
.pomo-wizard button.button:active,.pomo-wizard input[type="submit"].button:active,
.pomo-wizard-nav .button:active{transform:translateY(1px);filter:brightness(.95)!important}
.pomo-start-new-square{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:linear-gradient(to bottom,#f6a4eb 0%,#c31ca6 27%,#950078 55%,#65004f 88%,#bb078c 100%)!important;
  border:3px solid #f8f1f7!important;border-radius:28px!important;color:#fff!important;
  text-shadow:0 1px 2px #52003e!important;box-shadow:inset 0 2px 2px #fff9,inset 0 -3px 3px #4c003c,0 0 0 1px #95848f,0 4px 9px #0004!important;
  padding:10px 23px!important;min-height:46px!important;font-weight:700!important;text-decoration:none!important;
}
.pomo-start-new-square:hover{filter:brightness(1.1)!important}
.pomo-start-new-square:active{transform:translateY(1px)}

/* 1.3.55: Wizard usability and scent-browser layout */
.pomo-wizard .pomo-media-dropdown{display:block!important;margin:12px 0 22px!important;}
.pomo-wizard .pomo-media-dropdown + p{margin-top:16px!important;}
.pomo-scent-browser{min-width:0!important;box-sizing:border-box!important;}
.pomo-browser-results{min-width:0!important;}
.pomo-browser-item{min-width:0!important;align-items:center!important;gap:12px!important;min-height:74px!important;}
.pomo-browser-detail{min-width:0!important;flex:1 1 0!important;padding:0!important;align-items:center!important;}
.pomo-browser-info{min-width:0!important;flex:1 1 0!important;display:flex!important;flex-direction:column!important;gap:3px!important;line-height:1.3!important;}
.pomo-browser-info strong,.pomo-browser-info small{display:block!important;position:static!important;line-height:1.35!important;margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important;}
.pomo-browser-info small{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important;}
.pomo-browser-pick{flex:0 0 auto!important;white-space:nowrap!important;padding:7px 12px!important;}
#pomo-marker-list .pomo-marker-scent-row{cursor:pointer;}
#pomo-marker-list .pomo-marker-scent-row.pomo-marker-active{outline:3px solid #20e4f1!important;outline-offset:3px!important;opacity:1!important;box-shadow:0 0 0 4px #00cad03b!important;}
#pomo-marker-list .pomo-clear-scent{align-self:flex-start!important;}

/* 1.3.56: compact scent browser and glossy clear action */
.pomo-wizard #pomo-scent-browser{padding-top:12px!important;}
.pomo-wizard #pomo-scent-browser>h3{color:#252525!important;font-size:20px!important;line-height:1.3!important;margin:0 0 12px!important;padding:0!important;}
.pomo-wizard #pomo-scent-browser>label:first-of-type{margin-top:0!important;}
.pomo-wizard #pomo-scent-browser label{color:#777!important;}
#pomo-marker-list .pomo-clear-scent.pomo-gloss-aqua{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-height:43px!important;margin:12px 0 0!important;padding:8px 20px!important;border:3px solid #f4ffff!important;border-radius:28px!important;background:linear-gradient(to bottom,#a6ffff 0%,#22d4de 25%,#00a8b6 53%,#007c89 86%,#18bfc8 100%)!important;color:white!important;font-weight:700!important;text-shadow:0 1px 2px #00515b!important;box-shadow:inset 0 2px 3px #fff9,inset 0 -3px 3px #004a52,0 0 0 1px #768c90,0 4px 9px #0005!important;cursor:pointer!important;}
#pomo-marker-list .pomo-clear-scent.pomo-gloss-aqua:hover{filter:brightness(1.1)!important;}
#pomo-marker-list .pomo-clear-scent.pomo-gloss-aqua:active{transform:translateY(1px);}

/* 1.3.58: spoken scent audio controls */
.pomo-voice-settings{margin:16px 0;padding:14px;border:1px solid #a4c8d3;border-radius:8px}.pomo-voice-toggle{display:flex;align-items:center;gap:9px;font-weight:600}.pomo-voice-sliders{display:grid;gap:8px;margin-top:12px;max-width:440px}.pomo-voice-sliders label{display:flex;justify-content:space-between;gap:12px}.pomo-voice-sliders input[type=range]{width:100%;accent-color:#13b7ce}

/* v1.3.64: confirmation modal for draft deletion. */
.pomo-confirm-overlay{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.72);display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}
.pomo-confirm-dialog{width:min(100%,440px);box-sizing:border-box;background:#191919;color:#f5f5f5;border:1px solid #565656;border-radius:16px;box-shadow:0 18px 60px rgba(0,0,0,.65);padding:25px;font-family:inherit}
.pomo-confirm-dialog h3{font-size:24px;line-height:1.3;margin:0 0 15px;color:#fff}
.pomo-confirm-dialog p{font-size:16px;line-height:1.5;margin:0 0 12px;color:#e2e2e2}
.pomo-confirm-dialog .pomo-confirm-warning{font-size:14px;color:#bdbdbd}
.pomo-confirm-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:25px}
.pomo-confirm-actions button{appearance:none;-webkit-appearance:none;border-radius:999px;border:2px solid #e9f6f7;box-shadow:0 3px 8px #0009,inset 0 2px 3px #fff8;color:#fff;font-size:15px;font-weight:700;padding:11px 22px;cursor:pointer;min-height:44px}
.pomo-confirm-actions .pomo-confirm-cancel{background:linear-gradient(180deg,#50e5ed 0%,#00adbd 48%,#006b7a 100%)}
.pomo-confirm-actions .pomo-confirm-delete{background:linear-gradient(180deg,#e16ac4 0%,#a70075 50%,#670046 100%)}
.pomo-confirm-actions button:hover{filter:brightness(1.12)}
.pomo-confirm-actions button:focus-visible{outline:3px solid #fff;outline-offset:3px}

/* Public Pomonaroma membership entry point */
.pomo-membership-page{max-width:1100px;margin:28px auto 50px;padding:24px 18px;}
.pomo-membership-page>h1{text-align:center;margin-bottom:12px;}
.pomo-membership-page>p{text-align:center;margin-bottom:28px;}
.pomo-membership-page .ihc-level-item-wrap{margin-bottom:20px;}

/* v1.3.72: public membership CTA in the header */
.pomo-membership-menu-item>a{display:inline-flex!important;align-items:center;justify-content:center;background:#17b9ce!important;color:#081b26!important;border-radius:7px!important;padding:9px 15px!important;font-weight:700!important;text-decoration:none!important;line-height:1.2!important;white-space:nowrap;transition:filter .15s ease}
.pomo-membership-menu-item>a:hover,.pomo-membership-menu-item>a:focus{filter:brightness(1.12);color:#081b26!important}

/* v1.3.73: header membership CTA for ViewTube's custom header (not wp_nav_menu). */
#pomo-header-member-cta{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;background:#17b9ce;color:#081b26!important;border-radius:7px;padding:9px 13px;font-weight:700;text-decoration:none!important;white-space:nowrap;font-size:13px;line-height:1.25;margin-right:14px;position:relative;z-index:30}
#pomo-header-member-cta:hover,#pomo-header-member-cta:focus{background:#33cde0;color:#081b26!important}
#pomo-header-member-cta.pomo-header-member-cta-fallback{position:absolute;right:130px;top:50%;transform:translateY(-50%);margin-right:0}
@media(max-width:680px){#pomo-header-member-cta{font-size:11px;padding:7px 9px;margin-right:7px}#pomo-header-member-cta.pomo-header-member-cta-fallback{right:90px}}

/* v1.3.74: keep custom header controls on screen without horizontal page scrolling. */
#pomo-header-member-cta{flex-shrink:0!important;margin-right:8px!important;padding:8px 11px!important}
header input[type="search"],header input[placeholder*="Search" i],.site-header input[type="search"]{min-width:0!important;max-width:100%!important}
@media(max-width:900px){#pomo-header-member-cta{font-size:11px!important;padding:7px 8px!important;margin-right:5px!important}}

/* v1.3.75: give the right-side header actions room without horizontal scrolling. */
@media(min-width:681px){
  header input[type="search"],header input[placeholder*="Search" i],.site-header input[type="search"]{min-width:0!important;width:100%!important;}
  #pomo-header-member-cta{margin-left:4px!important;margin-right:5px!important;}
}

/* v1.3.76: do not shrink ViewTube search or add header flex items. */
#pomo-header-member-cta{position:fixed!important;z-index:9999!important;margin:0!important}

/* v1.3.77: glossy turquoise membership button, matching Video Wizard. */
#pomo-header-member-cta{
  box-sizing:border-box!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:44px!important;padding:10px 22px!important;
  border:2px solid #e6fdff!important;border-radius:999px!important;
  background:linear-gradient(180deg,#8cf9ff 0%,#24d7e7 28%,#00a8c4 56%,#006b91 100%)!important;
  color:#fff!important;font-size:16px!important;font-weight:800!important;
  line-height:1.25!important;text-shadow:0 1px 2px rgba(0,55,75,.85)!important;
  box-shadow:0 4px 10px rgba(0,0,0,.55),inset 0 2px 3px rgba(255,255,255,.75)!important;
  text-decoration:none!important;white-space:nowrap!important;cursor:pointer!important;
}
#pomo-header-member-cta:hover,#pomo-header-member-cta:focus-visible{filter:brightness(1.12)!important;color:#fff!important;}
#pomo-header-member-cta:focus-visible{outline:2px solid #fff!important;outline-offset:3px!important;}
@media(max-width:680px){#pomo-header-member-cta{min-height:36px!important;font-size:12px!important;padding:7px 12px!important;}}

/* v1.3.80: native inline header actions; never overlay the theme toggle. */
#pomo-header-member-cta{position:static!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;z-index:auto!important;flex:0 0 auto!important;min-height:34px!important;padding:6px 13px!important;font-size:13px!important;margin:0 9px 0 0!important;vertical-align:middle!important}
.pomo-member-actions{min-width:0!important;box-sizing:border-box!important}
.pomo-member-switch{flex-shrink:0!important}
#pomo-header-member-cta.pomo-member-compact{font-size:12px!important;padding:6px 10px!important;margin-right:6px!important}
#pomo-header-member-cta.pomo-member-tiny{font-size:11px!important;padding:5px 8px!important;margin-right:4px!important}
.pomo-member-search{min-width:0!important;flex-shrink:1!important}
.pomo-member-search input[type="search"],.pomo-member-search input[placeholder*="Search" i]{min-width:0!important;max-width:100%!important}

/* v1.3.81: reserve the header switch and keep the public CTA inline. */
#pomo-header-member-cta{position:relative!important;display:inline-flex!important;flex-shrink:0!important;}

/* v1.3.82: compact inline CTA with native switch and account controls intact. */
#pomo-header-member-cta{position:relative!important;display:inline-flex!important;align-self:center!important;max-width:max-content!important;margin:0 10px 0 0!important;min-height:32px!important;padding:5px 12px!important;font-size:12px!important;white-space:nowrap!important}
.pomo-member-actions{display:flex!important;align-items:center!important;min-width:0!important}
.pomo-member-search{min-width:0!important;flex-shrink:1!important}

/* v1.3.83 */
#pomo-header-member-cta{position:static!important;transform:none!important;float:none!important;flex-shrink:0!important;margin:0 7px 0 0!important}
.pomo-member-search{min-width:0!important;max-width:min(32vw,350px)!important;flex-shrink:1!important}
.pomo-member-search input{min-width:0!important;max-width:100%!important}
@media(max-width:900px){.pomo-member-search{max-width:23vw!important}#pomo-header-member-cta{font-size:11px!important;padding:5px 9px!important}}

/* v1.3.84: recover unused space between search and right-side controls. */
@media (min-width: 760px) {
  #pomo-header-member-cta {
    margin-left: -66px !important;
    margin-right: 7px !important;
  }
  .pomo-member-search {max-width: min(42vw, 430px) !important;}
}
@media (max-width: 759px) {
  #pomo-header-member-cta {margin-left: -30px !important;}
}

/* v1.3.85: reserve room for the account avatar at the right edge. */
@media (min-width: 760px) {
  #pomo-header-member-cta {margin-left:-116px!important;}
}

/* v1.3.86 membership storefront */
.pomo-membership-redesign{max-width:1180px!important;color:#eaf5fa!important;font-family:inherit}
.pomo-membership-redesign *{box-sizing:border-box}
.pomo-membership-hero{text-align:center;padding:25px 8px 33px}
.pomo-membership-eyebrow{color:#62d5e8;font-weight:800;font-size:12px;letter-spacing:.18em}
.pomo-membership-redesign .pomo-membership-hero h1{color:#fff!important;font-size:clamp(27px,3.3vw,44px)!important;line-height:1.17;margin:15px 0!important}
.pomo-membership-hero p{color:#b5c7d2;max-width:680px;margin:auto;font-size:16px}
.pomo-membership-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.pomo-plan{display:flex;flex-direction:column;min-width:0;background:linear-gradient(145deg,#222d37,#141c23);border:1px solid #374a55;border-radius:17px;padding:24px;box-shadow:0 8px 26px #0003}
.pomo-plan-gold{border-color:#8a713b}.pomo-plan-platinum{border-color:#3e9dad}
.pomo-plan-heading{text-align:center;border-bottom:1px solid #34444d;padding-bottom:19px}
.pomo-plan-symbol{font-size:26px;color:#cd9365}.pomo-plan-gold .pomo-plan-symbol{color:#edc964}.pomo-plan-platinum .pomo-plan-symbol{color:#77e1ed}
.pomo-plan h2{font-size:26px!important;color:#fff!important;margin:4px 0 3px!important}
.pomo-plan-heading p{color:#a9becb;font-size:12px;margin:0}
.pomo-plan dl{margin:20px 0 24px;flex:1}
.pomo-plan dl>div{display:flex;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid #ffffff13}
.pomo-plan dt{font-size:13px;color:#c6d3dd;font-weight:400}
.pomo-plan dd{font-size:15px;color:#fff;font-weight:700;margin:0;text-align:right}
.pomo-plan-button,.pomo-custom-plan>a{display:block;text-align:center;text-decoration:none!important;color:#fff!important;font-weight:700;border:1px solid #a2f5ff;border-radius:28px;padding:12px 18px;background:linear-gradient(#73e9f1 0%,#10bed8 43%,#067b9c 85%,#034962 100%);box-shadow:inset 0 2px 3px #ffffff85,0 3px 9px #0008}
.pomo-plan-button:hover,.pomo-custom-plan>a:hover{filter:brightness(1.13)}
.pomo-custom-plan{margin:24px 0;background:#202c35;border:1px solid #3a5662;border-radius:16px;padding:24px;display:flex;justify-content:space-between;align-items:center;gap:24px}
.pomo-custom-plan h2,.pomo-membership-facts h2,.pomo-membership-checkout h2{color:#fff!important;font-size:23px!important;margin:0 0 9px!important}
.pomo-custom-plan p,.pomo-membership-facts p,.pomo-membership-checkout>p{color:#b9cbd5;margin:0;line-height:1.65}
.pomo-custom-plan>a{flex-shrink:0}
.pomo-membership-facts,.pomo-membership-checkout{padding:23px 4px}
.pomo-membership-facts p{margin:0 0 12px}
.pomo-membership-checkout{border-top:1px solid #354650;scroll-margin-top:90px}
.pomo-membership-checkout .ihc-level-item-wrap{margin:15px 0}
@media(max-width:850px){.pomo-membership-grid{grid-template-columns:1fr}.pomo-custom-plan{flex-direction:column;align-items:stretch}.pomo-membership-redesign{padding:16px!important}}

/* v1.3.87: accessible hover/focus help for membership terms. */
.pomo-membership-redesign .pomo-plan dl>div{overflow:visible}
.pomo-membership-redesign .pomo-plan-term{position:relative;cursor:help;outline-offset:4px;flex:1;min-width:0}
.pomo-membership-redesign .pomo-plan-help-icon{font-size:13px;color:#72ddea;margin-left:3px;white-space:nowrap}
.pomo-membership-redesign .pomo-plan-term::after{content:attr(data-explanation);position:absolute;z-index:100;left:0;top:calc(100% + 8px);width:min(285px,72vw);max-width:285px;background:#eafcff;color:#14232c;border:1px solid #4dcddd;border-radius:9px;padding:12px 13px;box-shadow:0 8px 22px #000b;font-size:13px;line-height:1.45;font-weight:400;white-space:normal;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s ease;text-align:left}
.pomo-membership-redesign .pomo-plan-term:hover::after,.pomo-membership-redesign .pomo-plan-term:focus::after,.pomo-membership-redesign .pomo-plan-term:focus-visible::after{opacity:1;visibility:visible}
.pomo-membership-redesign .pomo-plan-term:focus-visible{outline:2px solid #78e8f3;border-radius:3px}
@media(max-width:850px){.pomo-membership-redesign .pomo-plan-term::after{width:min(285px,65vw)}}

/* v1.3.88 */
body.page .pomo-membership-redesign{position:relative!important;clear:both!important;padding-top:28px!important;margin-top:95px!important;overflow:visible!important}
.pomo-membership-redesign .pomo-membership-hero{padding-top:12px!important}
.pomo-membership-redesign .pomo-plan dl>div{display:grid!important;grid-template-columns:minmax(0,1fr) 36px!important;align-items:center!important;column-gap:12px!important;min-height:55px!important}
.pomo-membership-redesign .pomo-plan dt{line-height:1.45!important;overflow-wrap:normal!important;word-break:normal!important}
.pomo-membership-redesign .pomo-plan dd{white-space:nowrap!important;text-align:right!important}
.pomo-membership-redesign .pomo-plan-term::after{z-index:99999!important}
.pomo-membership-redesign .pomo-plan{overflow:visible!important}
.pomo-membership-redesign .pomo-plan-unavailable{opacity:.6;cursor:not-allowed;box-shadow:none!important}
@media(max-width:850px){body.page .pomo-membership-redesign{margin-top:75px!important}}

/* v1.3.90 annual membership price display */
.pomo-membership-redesign .pomo-plan-price{color:#fff;font-weight:800;font-size:30px;line-height:1.4;margin:5px 0 3px}.pomo-membership-redesign .pomo-plan-price span{font-weight:500;color:#b6c9d2;font-size:14px}

/* v1.3.92: soften the membership-page background from black to charcoal. */
body:has(.pomo-membership-redesign){background-color:#30363c!important;}
body:has(.pomo-membership-redesign) main,body:has(.pomo-membership-redesign) .site-content,body:has(.pomo-membership-redesign) .content-area,body:has(.pomo-membership-redesign) #content{background-color:#30363c!important;}
body:has(.pomo-membership-redesign) .pomo-membership-redesign{background:#30363c!important;border-radius:18px;}

/* v1.3.93: match the registration page to the charcoal membership theme.
   Scoped to the WordPress page slug; works for register-4/?lid=2 and other levels. */
body.page-register-4,body.page-register-4 #page,body.page-register-4 main,body.page-register-4 #content,body.page-register-4 .site-content,body.page-register-4 .content-area,body.page-register-4 .site-main{background-color:#30363c!important;}
body.page-register-4 .entry-content,body.page-register-4 .page-content{background-color:transparent!important;}


/* v1.4.00: high-contrast UMP registration layout; scope to register-4. */
body.pomonaroma-membership-register,
body.pomonaroma-membership-register #page,
body.pomonaroma-membership-register #content,
body.pomonaroma-membership-register main,
body.pomonaroma-membership-register .site-main,
body.pomonaroma-membership-register .entry-content,
body.pomonaroma-membership-register .page-content{
  background:#101010!important;color:#f5f7f9!important;
}
body.pomonaroma-membership-register .entry-content,
body.pomonaroma-membership-register .page-content{
  padding:32px 16px 70px!important;
}
/* UMP outer card and form remain black, but gain a visible outline. */
body.pomonaroma-membership-register :is(.ihc-register,.ihc-register-form,.ihc-form-create-edit,.ihc-register-form-wrap){
  width:100%!important;max-width:600px!important;margin:0 auto!important;
  background:#17191d!important;color:#f6f8fb!important;
  border:1px solid #454a54!important;border-radius:16px!important;
  padding:clamp(18px,4vw,38px)!important;
  box-sizing:border-box!important;
}
body.pomonaroma-membership-register :is(.ihc-register,.ihc-register-form,.ihc-form-create-edit,.ihc-register-form-wrap) :is(label,.ihc-label,.iump-label,legend,h2,h3,h4,p,small,strong){
  color:#f6f8fb!important;opacity:1!important;
}
body.pomonaroma-membership-register :is(.ihc-register,.ihc-register-form,.ihc-form-create-edit,.ihc-register-form-wrap) :is(input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),textarea,select){
  background:#fff!important;color:#151b24!important;opacity:1!important;
  border:2px solid #b3bdc8!important;border-radius:9px!important;
  min-height:44px!important;box-shadow:none!important;
  -webkit-text-fill-color:#151b24!important;
}
body.pomonaroma-membership-register :is(.ihc-register,.ihc-register-form,.ihc-form-create-edit,.ihc-register-form-wrap) :is(input,textarea)::placeholder{
  color:#4b5563!important;opacity:1!important;
}
body.pomonaroma-membership-register :is(.ihc-register,.ihc-register-form,.ihc-form-create-edit,.ihc-register-form-wrap) :is(input,textarea,select):focus-visible{
  outline:3px solid #22c7e7!important;outline-offset:2px!important;
}
body.pomonaroma-membership-register :is(.ihc-register,.ihc-register-form,.ihc-form-create-edit,.ihc-register-form-wrap) a{color:#67dff5!important;}
/* Stripe-hosted card input is an iframe; style its outer mount without touching iframe contents. */
body.pomonaroma-membership-register :is(.StripeElement,.StripeElement--empty,.StripeElement--complete,.ihc-stripe-card-element,[id*="stripe-card-element"],[id*="card-element"]){
  background:#fff!important;border:2px solid #b3bdc8!important;
  border-radius:9px!important;min-height:44px!important;
  padding:10px!important;box-sizing:border-box!important;
}
body.pomonaroma-membership-register :is(.ihc-register,.ihc-register-form,.ihc-form-create-edit,.ihc-register-form-wrap) :is([class*="price"],[class*="amount"],[class*="total"],[class*="fee"]){
  color:#f6f8fb!important;opacity:1!important;
}
@media(max-width:650px){
 body.pomonaroma-membership-register .entry-content{padding:20px 10px 50px!important;}
 body.pomonaroma-membership-register :is(.ihc-register,.ihc-register-form,.ihc-form-create-edit,.ihc-register-form-wrap){padding:18px!important;}
}

/* v1.4.01: make the payment card entry visible and full-width. */
body.pomonaroma-membership-register :is(.ihc-register,.ihc-register-form,.ihc-form-create-edit,.ihc-register-form-wrap) :is(.StripeElement,.ihc-stripe-card-element,[id*="stripe-card-element"],[id*="card-element"], [class*="stripe-card"], [class*="StripeElement"]){
 display:block!important; width:100%!important; max-width:100%!important;
 min-width:0!important; min-height:58px!important; height:auto!important;
 padding:14px 12px!important; background:#fff!important; border:2px solid #a9b5c4!important;
 border-radius:10px!important; box-sizing:border-box!important; opacity:1!important;
}
body.pomonaroma-membership-register :is(.StripeElement,.ihc-stripe-card-element,[id*="stripe-card-element"],[id*="card-element"]) iframe{
 width:100%!important; min-height:25px!important; display:block!important; opacity:1!important;
}
body.pomonaroma-membership-register :is(.ihc-register,.ihc-register-form,.ihc-form-create-edit,.ihc-register-form-wrap) :is([class*="stripe-payment"],[class*="stripe-wrapper"],[class*="stripe-container"]){width:100%!important;max-width:100%!important;}


/* v1.4.03: UMP member dashboard menu contrast (including LogOut).
   Scoped to My Account only; preserve the existing dark theme and layout. */
body.pomonaroma-ump-account .ihc-ap-menu,
body.pomonaroma-ump-account .ihc-ap-menu .ihc-ap-menu-item {
  background-color:transparent!important;
}
body.pomonaroma-ump-account .ihc-ap-menu .ihc-ap-menu-item,
body.pomonaroma-ump-account .ihc-ap-menu .ihc-ap-menu-item a,
body.pomonaroma-ump-account .ihc-ap-menu .ihc-ap-menu-item span,
body.pomonaroma-ump-account .ihc-ap-menu .ihc-ap-menu-item i,
body.pomonaroma-ump-account .ihc-ap-menu .ihc-ap-menu-item svg,
body.pomonaroma-ump-account .ihc-ap-menu .ihc-ap-menu-item .fa,
body.pomonaroma-ump-account .ihc-ap-menu .ihc-ap-menu-item [class*="icon"],
body.pomonaroma-ump-account .ihc-ap-menu .ihc-ap-menu-item [class*="Icon"] {
  color:#f5f7fa!important;
  fill:currentColor!important;
  opacity:1!important;
  text-shadow:none!important;
}
body.pomonaroma-ump-account .ihc-ap-menu .ihc-ap-menu-item a:hover,
body.pomonaroma-ump-account .ihc-ap-menu .ihc-ap-menu-item a:hover *,
body.pomonaroma-ump-account .ihc-ap-menu .ihc-ap-menu-item:hover,
body.pomonaroma-ump-account .ihc-ap-menu .ihc-ap-menu-item:hover *,
body.pomonaroma-ump-account .ihc-ap-menu .ihc-ap-menu-item-selected,
body.pomonaroma-ump-account .ihc-ap-menu .ihc-ap-menu-item-selected * {
  color:#64e4f4!important;
}
body.pomonaroma-ump-account .ihc-ap-menu .ihc-ap-menu-item svg * {
  fill:currentColor!important;
  stroke:currentColor!important;
}

/* v1.4.06: keep ViewTube's search usable as the desktop header narrows.
   The theme may hide the search at its tablet breakpoint; use the space
   available between the logo and right-hand controls instead. */
@media (min-width: 600px) {
  header form.pomo-member-search,
  .site-header form.pomo-member-search,
  #header form.pomo-member-search,
  header .pomo-member-search,
  .site-header .pomo-member-search,
  #header .pomo-member-search {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 1 1 180px !important;
    width: auto !important;
    min-width: 110px !important;
    max-width: min(42vw, 430px) !important;
  }
  .pomo-member-search input[type="search"],
  .pomo-member-search input[placeholder*="Search" i] {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

/* v1.4.07: search restoration runs for active members as well as visitors. */
@media (min-width: 600px) {
  header .pomo-search-visible-wrapper, #header .pomo-search-visible-wrapper,
  .site-header .pomo-search-visible-wrapper, .main-header .pomo-search-visible-wrapper {
    display: flex !important; visibility: visible !important; opacity: 1 !important;
    min-width: 0 !important; flex: 1 1 120px !important;
  }
  .pomo-member-search {
    display: flex !important; visibility: visible !important; opacity: 1 !important;
    flex: 1 1 120px !important; min-width: 90px !important;
    width: auto !important; max-width: min(42vw, 430px) !important;
  }
  .pomo-member-search input[type="search"], .pomo-member-search input[placeholder*="Search" i] {
    display: block !important; visibility: visible !important; opacity: 1 !important;
    width: 100% !important; min-width: 0 !important;
  }
}

/* v1.4.08: fluid header search, sharing space with theme and account controls. */
@media (min-width: 600px) {
  header .pomo-search-visible-wrapper, #header .pomo-search-visible-wrapper,
  .site-header .pomo-search-visible-wrapper, .main-header .pomo-search-visible-wrapper {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  header .pomo-member-search, #header .pomo-member-search,
  .site-header .pomo-member-search, .main-header .pomo-member-search {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  header .pomo-member-search input[type="search"], #header .pomo-member-search input[type="search"],
  .site-header .pomo-member-search input[type="search"],
  header .pomo-member-search input[placeholder*="Search" i] {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}

/* v1.4.09: restore a generous search width without fixing it in pixels.
   The field grows into free header space and yields space to the toggle/avatar. */
@media (min-width: 600px) {
  header .pomo-search-visible-wrapper, #header .pomo-search-visible-wrapper,
  .site-header .pomo-search-visible-wrapper, .main-header .pomo-search-visible-wrapper {
    flex: 1 1 460px !important; min-width: 0 !important; max-width: none !important;
  }
  header .pomo-member-search, #header .pomo-member-search,
  .site-header .pomo-member-search, .main-header .pomo-member-search {
    flex: 1 1 460px !important; width: 100% !important; min-width: 0 !important;
    max-width: none !important; margin-right: 12px !important;
  }
  .pomo-member-search input[type="search"],
  .pomo-member-search input[placeholder*="Search" i] {
    width: 100% !important; min-width: 0 !important; max-width: none !important;
  }
}

/* v1.4.10: allow search to consume all remaining header space. */
@media (min-width:600px) {
  header .pomo-search-visible-wrapper, #header .pomo-search-visible-wrapper,
  .site-header .pomo-search-visible-wrapper, .main-header .pomo-search-visible-wrapper,
  header .pomo-member-search, #header .pomo-member-search,
  .site-header .pomo-member-search, .main-header .pomo-member-search {
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
    flex-basis: 0% !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  header .pomo-member-search input, #header .pomo-member-search input,
  .site-header .pomo-member-search input, .main-header .pomo-member-search input {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
}

/* v1.4.11: place search against the actual toggle position, not the theme's
   constrained search column. Width is recomputed on browser resize. */
@media (min-width:600px) {
  header.pomo-fluid-header, #header.pomo-fluid-header,
  .site-header.pomo-fluid-header, .main-header.pomo-fluid-header {position:relative!important;}
  .pomo-fluid-header form.pomo-fluid-search, .pomo-fluid-header .pomo-fluid-search {
    position:absolute!important;left:var(--pomo-search-left)!important;
    top:var(--pomo-search-top)!important;width:var(--pomo-search-width)!important;
    max-width:none!important;min-width:0!important;flex:none!important;
    margin:0!important;display:flex!important;visibility:visible!important;
    opacity:1!important;z-index:20!important;box-sizing:border-box!important;
  }
  .pomo-fluid-header .pomo-fluid-search input[type="search"],
  .pomo-fluid-header .pomo-fluid-search input[placeholder*="Search" i] {
    width:100%!important;max-width:none!important;min-width:0!important;flex:1 1 auto!important;
  }
}

/* v1.4.12: anchor search vertically to the theme switch, not its old column. */
@media (min-width:600px) {
  .pomo-fluid-header .pomo-fluid-search {
    height:var(--pomo-search-height)!important;
    align-items:center!important;
  }
}

/* v1.4.13: direct-child search shares the header toggle's centerline. */
@media (min-width:600px) {
  header.pomo-fluid-header > .pomo-fluid-search,
  #header.pomo-fluid-header > .pomo-fluid-search,
  .site-header.pomo-fluid-header > .pomo-fluid-search,
  .main-header.pomo-fluid-header > .pomo-fluid-search {
    position:absolute!important;
    left:var(--pomo-search-left)!important;
    top:var(--pomo-search-top)!important;
    transform:translateY(-50%)!important;
    width:var(--pomo-search-width)!important;
    height:34px!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    max-width:none!important;
    min-width:0!important;
    z-index:30!important;
  }
}

/* v1.4.14: suppress only redundant overlapping search actions. */
.pomo-fluid-header .pomo-overlapping-search-action{display:none!important}

/* v1.4.15: preserve one search submit, without hiding the theme or account controls. */
.pomo-fluid-header .pomo-overlapping-search-action{display:none!important}

/* v1.4.16: remove ViewTube's extra visual search-button layers. */
.pomo-fluid-header .pomo-fluid-search .pomo-search-primary-action::before,
.pomo-fluid-header .pomo-fluid-search .pomo-search-primary-action::after {content:none!important;display:none!important;}
.pomo-fluid-header .pomo-fluid-search .pomo-search-primary-action {box-shadow:none!important;outline-offset:0!important;}
.pomo-fluid-header .pomo-fluid-search .pomo-overlapping-search-action {display:none!important;}

/* v1.4.17: a single visible search action; theme buttons remain in DOM for handlers. */
.pomo-fluid-header .pomo-fluid-search .pomo-original-search-action,
.pomo-fluid-header .pomo-fluid-search .pomo-original-search-wrapper {display:none!important;}
.pomo-fluid-header .pomo-fluid-search .pomo-single-search-submit {
  display:flex!important;align-items:center!important;justify-content:center!important;
  position:relative!important;flex:0 0 72px!important;width:72px!important;
  height:30px!important;min-height:30px!important;padding:0!important;
  margin:0 1px 0 0!important;border:0!important;border-radius:999px!important;
  background:#0799d9!important;color:white!important;cursor:pointer!important;
  box-shadow:none!important;transform:none!important;opacity:1!important;
}
.pomo-fluid-header .pomo-fluid-search .pomo-single-search-submit::before,
.pomo-fluid-header .pomo-fluid-search .pomo-single-search-submit::after {content:none!important;display:none!important;}
.pomo-fluid-header .pomo-fluid-search .pomo-single-search-submit svg {display:block!important;pointer-events:none;}

/* v1.4.20: the single search submit sits INSIDE the fluid field (not beside it),
   and stays pinned to the field's right edge as the field shrinks on resize. */
@media (min-width:600px){
  .pomo-fluid-header .pomo-fluid-search input[type="search"],
  .pomo-fluid-header .pomo-fluid-search input.keyword,
  .pomo-fluid-header .pomo-fluid-search input[placeholder*="Search" i]{
    flex:1 1 auto !important; width:100% !important;
    padding-right:82px !important; box-sizing:border-box !important;
  }
  .pomo-fluid-header .pomo-fluid-search .pomo-single-search-submit{
    position:absolute !important; right:7px !important; top:50% !important;
    transform:translateY(-50%) !important; flex:0 0 auto !important;
    width:60px !important; height:38px !important; min-height:0 !important; margin:0 !important;
  }
}

/* v1.4.116: keep long email addresses inside the header account menu. */
.my-account-content .header-profile-content { min-width: 0; flex: 1 1 auto; }
.my-account-content .header-profile-content h6,
.my-account-content .header-profile-content p { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
