/* DIRECTORIA / spatial editorial interface. Loaded after the functional UI. */
body{--surface:#202023;--surface-2:#29292e;--raised:#303036;--muted:#b9b8bf;--quiet:#a5a3ad;--line:#ffffff14;--control-border:#77737b;--dock-height:82px;--dock-gap:12px;--glass:#202024eb;--card-shadow:0 8px 28px #00000016}
body[data-theme=light]{--surface:#fffdf8;--surface-2:#eae7e1;--raised:#fff;--muted:#69636a;--quiet:#777079;--line:#27202b17;--control-border:#958d94;--glass:#fffcf5ef;--card-shadow:0 8px 28px #38253a09}
#preview{--surface:inherit;--surface-2:inherit;--raised:inherit;--muted:inherit;--quiet:inherit;--line:inherit;--control-border:inherit;--glass:inherit}
#app-root{position:fixed;inset:var(--viewport-offset-top,0px) 0 auto;height:var(--app-height);padding-top:var(--safe-top);padding-left:var(--safe-left);padding-right:var(--safe-right);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:pan-x pan-y}
#app-root img,.product-modal img{-webkit-user-drag:none;user-drag:none;-webkit-touch-callout:none;pointer-events:none}
#app-root input,#app-root textarea,#app-root select,.product-modal input,.product-modal textarea,.product-modal select,[contenteditable=true]{-webkit-user-select:text;user-select:text;touch-action:manipulation;-webkit-touch-callout:default}
.product-modal{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:pan-x pan-y}
#preview .app-column{position:relative}
#preview .app-header{height:76px;padding-inline:32px;border-bottom:0;background:transparent;gap:16px;z-index:20}
#preview .mobile-wordmark{display:flex;gap:9px;align-items:center;text-decoration:none;flex-shrink:1;min-width:0}
#preview .mobile-brand-icon{width:38px;height:38px;object-fit:contain;flex-shrink:0}
#preview .mobile-wordmark>span{display:flex;flex-direction:column;gap:2px;font-size:13px;letter-spacing:.055em}
#preview .mobile-wordmark small{font-size:8px;letter-spacing:.19em;color:var(--muted)}
#preview .mobile-wordmark b{font-size:11px;letter-spacing:.075em;line-height:1.1}
#preview .header-context{margin-left:auto;font-size:12px;color:var(--quiet)}
#preview .header-actions{gap:9px}
#preview .icon-button,#preview .avatar-button{width:42px;height:42px;min-width:42px;min-height:42px;background:var(--surface);border:1px solid var(--line);border-radius:15px;box-shadow:inset 0 1px #ffffff07}
#preview .avatar-button{background:linear-gradient(140deg,#ee28432b,#e9482910);border-color:#ef4d4e30;box-shadow:none;font-weight:650}
.inbox-button{position:relative}.inbox-badge{position:absolute;right:-3px;top:-4px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;background:#df2037;color:#fff;border:2px solid var(--bg);border-radius:20px;font-size:9px;font-weight:700;line-height:1}
#preview .app-scroll{scrollbar-width:thin;scrollbar-color:var(--line) transparent;scroll-padding-top:20px}
#preview .app-scroll>#page{padding:18px 32px 50px;max-width:1320px}
#preview .page-intro{margin-bottom:26px;max-width:780px}
#preview .page-intro h1{font-size:clamp(28px,3vw,42px);line-height:1.13;letter-spacing:-.048em;margin-top:12px;font-weight:650}
#preview .intro-subtitle{font-size:16px;line-height:1.65;color:var(--muted);margin-top:14px;max-width:620px}
#preview .eyebrow{font-size:10px;font-weight:600;letter-spacing:.105em;line-height:1.5;color:var(--muted)}
#preview .eyebrow:before{width:5px;height:5px}
#preview .section-heading{margin:30px 0 18px;align-items:center;gap:12px}
#preview .section-heading h2{font-size:1.28em;line-height:1.3;letter-spacing:-.025em}
#preview .section-heading .text-button{white-space:nowrap;font-size:.78em;min-height:44px}
#preview .primary-button,.product-modal .primary-button{background:linear-gradient(160deg,#f02b45 0%,var(--action) 72%);border:1px solid #ff879133;box-shadow:inset 0 1px #ffffff24,0 7px 18px #ad193229;border-radius:17px;font-weight:600;letter-spacing:-.025em;min-height:50px;color:#fff}
#preview .secondary-button{border-color:var(--line);background:var(--surface-2);border-radius:15px;font-weight:500;box-shadow:inset 0 1px #ffffff04}
#preview button:active,.product-modal button:active{transform:scale(.977);transition:transform 100ms ease}
#preview .home-hero{background:linear-gradient(125deg,#301922,#1d1c20 54%,#28181e);color:#fff;border:1px solid #fa6a7033;border-radius:28px;min-height:300px;box-shadow:inset 0 1px #ffffff0d,0 18px 44px #00000017;overflow:hidden;position:relative;margin:0;isolation:isolate}
#preview.light .home-hero{background:linear-gradient(120deg,#f8dfe1,#fff9ee 52%,#f2d6d1);color:#23191e;border-color:#d790943b}
#preview .home-hero:before{content:'';position:absolute;inset:0;z-index:-1;opacity:.17;background-image:radial-gradient(#ed5263 1px,transparent 1px);background-size:18px 18px;mask-image:linear-gradient(90deg,transparent 30%,#000)}
#preview .hero-copy{padding:30px;position:relative;z-index:2;max-width:66%;background:none}
#preview .hero-copy h2{font-size:clamp(27px,3vw,39px);letter-spacing:-.055em;line-height:1.06;max-width:480px;margin:14px 0 0;font-weight:650}
#preview .hero-copy>p:not(.eyebrow){font-size:15px;line-height:1.65;color:#c9bfc4;max-width:360px;margin-top:18px}
#preview.light .hero-copy>p:not(.eyebrow){color:#74646a}
#preview .hero-copy .eyebrow{color:#eab5bc}
#preview.light .hero-copy .eyebrow{color:#9a3549}
#preview .hero-actions{margin-top:24px;display:flex;align-items:flex-start;flex-direction:column;gap:10px;max-width:370px}
#preview .hero-note{font-size:11px;color:#bdabb3;text-align:center;width:100%;line-height:1.5}
#preview.light .hero-note{color:#80616b}
#preview .hero-copy .primary-button{width:100%;background:linear-gradient(155deg,#fb3c54,#bf142c);box-shadow:inset 0 1px #ffffff40,0 8px 22px #aa102544}
#preview .hero-visual{position:absolute;inset:10px -30px 0 auto;width:49%;max-width:520px;display:flex;align-items:center;justify-content:center;overflow:visible;z-index:1;background:none;border:0;pointer-events:none}
#preview .hero-visual:before,#preview .hero-visual:after{display:none}
#preview .hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;max-width:none;filter:drop-shadow(0 12px 18px #0003);animation:scene-float 7s ease-in-out infinite}
#preview .hero-visual.art-ready .mascot-scene{visibility:hidden}
#preview .visual-index{display:none}
.mascot-scene{position:relative;display:grid;place-items:center;width:220px;height:220px;isolation:isolate}
.scene-dir{width:75%;height:75%;object-fit:contain;animation:dir-breathe 6s ease-in-out infinite;filter:drop-shadow(0 8px 16px #0002)}
.mascot-orbit{position:absolute;border:1px solid #f9577750;border-radius:50%;width:95%;height:62%;transform:rotate(-24deg);box-shadow:0 0 26px #ff28461c;z-index:-1}.orbit-two{transform:rotate(35deg);width:90%;height:84%;border-color:#fcbea72a}
.mascot-spark{position:absolute;width:9px;height:9px;border-radius:3px;background:#ed2949;box-shadow:0 0 15px #fa4c5c;transform:rotate(35deg)}.spark-one{right:16%;top:21%;animation:spark-orbit 8s ease-in-out infinite}.spark-two{left:10%;bottom:25%;width:6px;height:6px;background:#f3b89b}
.home-quick-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
#preview .home-quick-paths .route-card{padding:18px;display:flex;gap:12px;align-items:center;border-radius:19px;background:var(--surface);border:1px solid var(--line);text-align:left;min-width:0}
#preview .home-quick-paths .route-card>svg{display:none}
#preview .home-quick-paths .route-icon{width:40px;height:40px;min-width:40px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(140deg,#f6344828,#c4333610);color:var(--accent);border:1px solid #f35c6321}
#preview .home-quick-paths strong{font-size:.9em;display:block;line-height:1.4}#preview .home-quick-paths small{font-size:.71em;display:block;color:var(--muted);margin-top:4px;line-height:1.5}
#preview .material-card{border:1px solid var(--line);border-radius:23px;background:var(--surface);box-shadow:var(--card-shadow);overflow:hidden;position:relative}
#preview .cover{height:170px;min-height:170px;overflow:hidden;border-bottom:1px solid var(--line);background:#18181c}
#preview .cover:before,#preview .cover:after{display:none}
#preview .material-cover{object-fit:cover;width:100%;height:100%;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
#preview .card-content{padding:23px;display:flex;flex-direction:column;gap:0}
#preview .card-meta{font-size:.69em;letter-spacing:.02em;color:var(--quiet);margin:0 0 12px;line-height:1.5}
#preview .material-title{font-size:1.1em;line-height:1.35;letter-spacing:-.025em;min-height:44px;text-align:left}
#preview .material-description{font-size:.86em;line-height:1.65;color:var(--muted);margin:12px 0 17px}
#preview .card-footer{font-size:.69em;line-height:1.5;padding-top:14px;border-top:1px solid var(--line);color:var(--quiet);margin-top:auto;gap:7px}
#preview .save-card{top:12px;right:12px;width:38px;height:38px;min-height:38px;background:#18181ddd;backdrop-filter:blur(10px);color:#fff;border:1px solid #ffffff26;border-radius:13px}
#preview .save-card[aria-pressed=true]{background:#bd2035;color:#fff;box-shadow:0 0 18px #e3344840}
#preview .route-card,.service-card,.rating-service,.profile-card,.history-card,.review-card{border-radius:23px;border-color:var(--line);box-shadow:var(--card-shadow)}
#preview .route-card{background:var(--surface);gap:14px;padding:22px}
#preview .context-chip{display:inline-flex;align-items:center;line-height:1.45;max-width:100%;white-space:normal;vertical-align:middle;padding:7px 10px;border-radius:10px;font-size:.7em;background:var(--surface-2);border:1px solid var(--line);color:var(--muted)}
#preview .diagnosis-modules{margin-top:0;gap:16px}
#preview .diagnosis-module.method-note{position:relative;padding:24px;display:flex;flex-direction:column;align-items:flex-start;gap:0;overflow:hidden;background:linear-gradient(150deg,var(--surface-2),var(--surface) 70%);border:1px solid var(--line);margin:0;box-shadow:var(--card-shadow)}
#preview .diagnosis-module h3{font-size:1.35em;line-height:1.25;letter-spacing:-.035em;margin:18px 0 12px;width:100%}
#preview .diagnosis-module>p{font-size:.94em;line-height:1.75;margin:0 0 18px;color:var(--muted)}
#preview .diagnosis-module .dialog-small{font-size:.76em;margin:0 0 20px;color:var(--quiet)}
#preview .diagnosis-module .primary-button{margin-top:auto;width:100%}
.module-art{height:116px;width:100%;margin:-8px 0 18px;display:flex;justify-content:flex-end;background:radial-gradient(ellipse at 75% 50%,#f8405114,transparent 60%);border-bottom:1px solid var(--line)}
.module-illustration{height:110px;width:150px;object-fit:contain}
#preview .service-card-main{display:flex;flex-direction:column;align-items:flex-start;gap:10px}#preview .service-card-main h3{margin:0;font-size:1.24em}#preview .service-card-main p{font-size:.9em;line-height:1.65}
#preview .service-logo{background:linear-gradient(145deg,var(--surface-2),var(--surface));border:1px solid var(--line);box-shadow:inset 0 1px #ffffff14;font-size:23px;letter-spacing:-.06em}
#preview .comparison-bar{background:var(--glass);backdrop-filter:blur(18px);border-color:var(--line);box-shadow:0 8px 28px #0002;border-radius:22px;gap:12px}
#preview .channel-banner{background:linear-gradient(135deg,var(--surface-2),var(--surface));position:relative;overflow:hidden}
#preview .channel-banner:after{content:'';background:url('/assets/brand-v3/mark.svg') center/contain no-repeat;position:absolute;width:150px;height:160px;right:-32px;top:-18px;opacity:.06;transform:rotate(-18deg);pointer-events:none}
#preview .consultation-panel{background:linear-gradient(135deg,#af203a18,var(--surface));border-color:#d356662b}
#preview .consultation-panel h2{font-size:1.35em;line-height:1.3;letter-spacing:-.03em}
#preview .consultation-panel p{font-size:.94em;line-height:1.7}
.page-enter{animation:page-arrive 240ms cubic-bezier(.2,.7,.2,1)}
.brand-loader{height:100%;min-height:300px;display:flex;gap:18px;flex-direction:column;align-items:center;justify-content:center;padding:var(--safe-top,0px) 25px var(--safe-bottom,0px);text-align:center;background:radial-gradient(ellipse at 50% 30%,#99283f30,transparent 60%),var(--bg)}
.brand-loader .loader-mark{width:94px;height:94px;filter:drop-shadow(0 0 30px #f6204829);animation:dir-breathe 3s ease-in-out infinite}.brand-loader strong{letter-spacing:.12em;font-size:15px}.brand-loader>span{color:var(--muted);font-size:13px}.loader-line{width:110px;height:3px;overflow:hidden;background:#ffffff10;border-radius:20px;margin-top:26px}.loader-line:before{content:'';width:40%;height:100%;display:block;background:#ed2846;border-radius:inherit;animation:loader-travel 1.3s ease-in-out infinite}
/* Reading is a deliberate, quieter surface with its own navigation. */
.reading-page>.page-intro{max-width:790px!important;margin-inline:auto}.reading-page>.result-context,.reading-page>.text-button{max-width:790px;margin-inline:auto}
#preview .article-shell{max-width:790px;padding-top:0}
.article-art{height:220px;overflow:hidden;border:1px solid var(--line);border-radius:24px;margin:0 0 24px;position:relative;background:var(--surface)}.reader-cover{width:100%;height:100%;object-fit:cover}.article-art-label{position:absolute;bottom:14px;left:16px;border:1px solid #ffffff30;background:#16161ac7;color:#fff;padding:7px 12px;border-radius:11px;font-size:10px;text-transform:uppercase;letter-spacing:.09em;backdrop-filter:blur(12px)}
.reader-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 18px;padding:8px;border:1px solid var(--line);border-radius:20px;background:var(--surface);position:relative;z-index:2}
.reader-toolbar .secondary-button{font-size:12px;min-height:40px;padding:10px 12px;background:transparent!important;border:0;box-shadow:none!important}.reader-settings{display:flex;gap:4px}.reader-settings [aria-pressed=true]{background:var(--soft-red)!important;color:var(--accent)}
.reader-prose{font-size:calc(17px * var(--reading-scale,1))!important;line-height:1.85!important;letter-spacing:-.006em}
#preview .reader-prose>p{margin:20px 0;color:var(--fg);opacity:.88;line-height:1.9}
#preview .reader-prose>p:first-child{font-size:1.06em;color:var(--fg);opacity:1}
#preview .reader-prose h2,#preview .reader-prose h3{margin:40px 0 18px;font-size:1.32em;line-height:1.3;letter-spacing:-.035em;display:flex;align-items:flex-start;gap:13px}
.reader-prose h2:before,.reader-prose h3:before{content:attr(data-number);font-size:10px;min-width:28px;height:28px;display:grid;place-items:center;border:1px solid #d3506036;background:linear-gradient(145deg,#f3334821,transparent);border-radius:9px;color:var(--accent);margin-top:2px;letter-spacing:.03em}
#preview .reader-prose blockquote{position:relative;border:1px solid #ca344541;border-left:3px solid var(--red);border-radius:0 18px 18px 0;padding:21px 23px;background:linear-gradient(120deg,#dd324f14,var(--surface));font-size:1.03em;line-height:1.8;margin:26px 0}
#preview .reader-prose ul,#preview .reader-prose ol{padding-left:25px;margin-block:20px}.reader-prose li{padding-left:6px;margin:14px 0;line-height:1.85}.reader-prose li::marker{color:var(--accent)}.reader-prose strong{font-weight:650;color:var(--fg)}
.reader-progress{position:absolute;left:0;right:0;top:74px;height:2px;background:var(--line);pointer-events:none;z-index:21}.reader-progress>span{display:block;height:100%;width:0;background:linear-gradient(90deg,#ef2342,#ffb497);box-shadow:0 0 10px #e9365266;transition:width 160ms linear}
.reader-location{display:flex;gap:10px;align-items:center;padding:16px 0;border-top:1px solid var(--line);font-size:12px;color:var(--muted);margin-top:28px}.reader-location .text-button{margin-left:auto;font-size:12px}.reader-toc{display:grid;gap:5px}.reader-toc .text-button{justify-content:flex-start;text-align:left;font-size:15px;border-bottom:1px solid var(--line);padding-block:13px}.reader-size-options{display:grid;gap:10px}.reader-size-options [aria-pressed=true]{border-color:var(--accent);background:var(--soft-red);color:var(--accent)}
.reader-resume{display:flex;gap:14px;align-items:center;padding:17px;border:1px solid #e5365330;background:#e9365010;border-radius:19px;margin:0 0 18px}.reader-resume p{font-size:13px;line-height:1.5}.reader-resume small{display:block;margin-top:5px;color:var(--muted);font-size:11px}.reader-resume .text-button{margin-left:auto;font-size:12px}
#preview .full-checklist{margin-top:36px;padding-top:25px;border-top:1px solid var(--line)}#preview .full-checklist>h2{font-size:1.45em;line-height:1.35;letter-spacing:-.03em;margin-bottom:25px}
#preview .checklist-step{padding:20px;border:1px solid var(--line);border-radius:20px;background:var(--surface);margin:0 0 17px}#preview .checklist-step legend{font-size:1em;line-height:1.6;padding-inline:8px;margin-left:-8px;float:left;width:100%;margin-bottom:12px}#preview .checklist-step legend span{color:var(--accent);font-size:12px;margin-right:10px}#preview .checklist-step>p{clear:both;color:var(--muted);font-size:.86em;line-height:1.7;margin:10px 0 18px}#preview .answer-options{clear:both;display:flex;gap:8px;flex-wrap:wrap}#preview .answer-options label{padding:11px 13px;border-radius:13px;background:var(--surface-2);font-size:13px;min-height:44px;gap:8px;display:flex;align-items:center}
.reader-focus #preview .article-art,.reader-focus .reading-tools,.reader-focus #preview .bottom-nav,.reader-focus #preview .app-sidebar{display:none!important}.reader-focus .reader-toolbar{position:sticky;top:0;background:var(--glass);backdrop-filter:blur(16px)}.reader-focus #preview .app-scroll>#page{padding-bottom:30px}
.product-modal{border-radius:28px;background:var(--surface);box-shadow:0 28px 80px #0007;max-height:calc(var(--app-height) - var(--safe-top) - var(--safe-bottom) - 24px)}
.product-modal::backdrop{background:#07070a9c;backdrop-filter:blur(9px)}
.product-modal .modal-head{padding:22px 24px;gap:14px}.product-modal .modal-body{padding:24px}.product-modal .modal-head h2{letter-spacing:-.035em}.product-modal .modal-head .eyebrow{font-size:9px;letter-spacing:.12em;margin-bottom:8px}
.product-modal .icon-button{border:1px solid var(--line);border-radius:14px}
@media(min-width:701px){#preview .app-sidebar{width:224px;padding:30px 17px;border-color:var(--line)}#preview .wordmark{gap:12px;margin:0 12px 45px}#preview .wordmark .brand-glyph{height:44px;width:44px}#preview .side-nav{gap:7px}#preview .side-nav .nav-link{border-radius:16px;gap:14px;min-height:56px;padding:10px 13px;font-size:13px;border:1px solid transparent}#preview .side-nav .nav-link.active{background:linear-gradient(115deg,#e6294b23,#e6434a09);border-color:#ec4c5928;color:var(--accent)}#preview .side-nav .nav-link:before{display:none}#preview .side-nav .nav-icon-wrap{display:grid;place-items:center;width:32px;height:32px}#preview .side-channel{border-color:var(--line)}#preview .bottom-nav{display:none}}
@media(max-width:700px){
 body{--dock-height:74px;--dock-gap:10px}
 #preview{--page-x:20px}
 #preview .app-header{height:64px;padding:5px 20px;gap:10px}
 #preview .mobile-brand-icon{width:34px;height:34px}
 #preview .mobile-wordmark{font-size:11px;gap:8px;min-height:44px}
 #preview .mobile-wordmark b{font-size:10px}#preview .mobile-wordmark small{font-size:7px}
 #preview .header-context{display:none}#preview .header-actions{gap:8px}
 #preview .icon-button,#preview .avatar-button{width:40px;height:40px;min-width:40px;min-height:40px;border-radius:14px}
 #preview .app-scroll>#page{padding:16px 20px calc(var(--dock-height) + var(--safe-bottom) + 36px)}
 #preview .page-intro{margin:0 0 23px}#preview .page-intro h1{font-size:29px;line-height:1.13;margin-top:10px}#preview .intro-subtitle{font-size:14px;line-height:1.7;margin-top:12px}
 #preview .home-hero{border-radius:25px;min-height:300px}
 #preview .hero-copy{padding:23px;max-width:100%;width:100%}
 #preview .hero-copy .eyebrow{font-size:9px;max-width:60%}
 #preview .hero-copy h2{font-size:30px;max-width:60%;margin-top:12px}
 #preview .hero-copy>p:not(.eyebrow){font-size:12px;line-height:1.7;max-width:60%;margin-top:15px;min-height:58px}
 #preview .hero-actions{margin-top:24px;max-width:none;gap:9px}
 #preview .hero-copy .primary-button{font-size:14px;min-height:48px;border-radius:15px}
 #preview .hero-note{font-size:10px}
 #preview .hero-visual{width:54%;max-width:none;height:210px;right:-24px;top:11px;bottom:auto;z-index:1}
 #preview .hero-art{width:100%;height:100%;object-fit:contain}
 #preview .home-hero .hero-visual img{width:100%;height:100%;max-width:none}
 #preview .mascot-scene{width:160px;height:160px}
 #preview .home-hero .hero-visual .scene-dir{width:75%;height:75%}
 .home-quick-paths{gap:9px;margin-top:13px}
 #preview .home-quick-paths .route-card{padding:14px 8px;display:flex;flex-direction:column;gap:10px;align-items:center;text-align:center;border-radius:18px}
 #preview .home-quick-paths .route-icon{width:35px;height:35px;min-width:35px;border-radius:12px}
 #preview .home-quick-paths .route-icon svg{width:19px;height:19px}
 #preview .home-quick-paths strong{font-size:11px;line-height:1.4}#preview .home-quick-paths small{display:none}
 #preview .section-heading{margin-top:27px;margin-bottom:15px;flex-wrap:wrap}#preview .section-heading h2{font-size:1.13em;letter-spacing:-.035em}
 #preview .materials-grid{gap:17px}
 #preview .cover{height:145px;min-height:145px}
 #preview .card-content{padding:20px}#preview .material-title{font-size:1.08em}
 #preview .bottom-nav,#preview.large .bottom-nav{position:absolute;left:12px;right:12px;bottom:calc(var(--safe-bottom) + 9px);height:var(--dock-height);padding:6px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;border:1px solid #ffffff15;background:var(--glass);backdrop-filter:blur(22px) saturate(1.25);-webkit-backdrop-filter:blur(22px) saturate(1.25);border-radius:26px;box-shadow:inset 0 1px #ffffff07,0 12px 36px #0005;z-index:40;overflow:visible}
 #preview.light .bottom-nav{border-color:#2d252b14;box-shadow:inset 0 1px #fff,0 8px 30px #36212d20}
 #preview .bottom-nav:before{content:'';position:absolute;left:20px;right:20px;bottom:-8px;height:12px;border-radius:50%;background:#0002;filter:blur(8px);z-index:-1;pointer-events:none}
 #preview .bottom-nav .nav-link,#preview.large .bottom-nav .nav-link{grid-column:auto;min-width:0;width:100%;min-height:60px;height:60px;flex-direction:column;justify-content:center;gap:4px;padding:6px 0;border:1px solid transparent;border-radius:20px;color:var(--quiet);font-size:10.4px;line-height:1.15;font-weight:500;letter-spacing:-.035em;text-align:center;overflow:visible;isolation:isolate;transition:color 180ms ease,background 180ms ease}
 #preview .bottom-nav .nav-link.active{color:#ff526c;background:linear-gradient(155deg,#ff385330,#ed304816);border-color:#fc51602e;font-weight:650;box-shadow:inset 0 1px #ff7a8621}
 #preview.light .bottom-nav .nav-link.active{color:#b40e2b;background:linear-gradient(155deg,#f3394b20,#ec324510);border-color:#ed34512b}
 #preview .bottom-nav .nav-link:before{display:none}
 #preview .nav-icon-wrap{width:27px;height:27px;display:grid;place-items:center;position:relative}
 #preview .bottom-nav .nav-link svg{width:25px;height:25px;stroke-width:1.6}
 #preview .bottom-nav .nav-link.active .symbol-volume{fill-opacity:.26;stroke-width:1.8}
 #preview .bottom-nav .nav-link.active .nav-icon-wrap{filter:drop-shadow(0 2px 5px #e72e3436);transform:translateY(-1px)}
 .keyboard-open #preview .bottom-nav,.reader-focus #preview .bottom-nav{display:none!important}
 .keyboard-open #preview .app-scroll>#page{padding-bottom:24px}
 #preview .comparison-bar{bottom:calc(var(--dock-height) + var(--safe-bottom) + 20px);padding:12px 14px;font-size:12px;margin-bottom:8px}
 .reader-progress{top:62px}
 .reader-toolbar{gap:4px;padding:6px;border-radius:17px}.reader-toolbar .secondary-button{font-size:11px;padding:10px}.reader-toolbar svg{width:15px;height:15px}
 .article-art{height:160px;border-radius:21px;margin-bottom:22px}.reader-prose{font-size:calc(16px * var(--reading-scale,1))!important}.reader-resume{flex-wrap:wrap;gap:10px}.reader-resume .text-button{margin-left:auto}.reader-prose h2:before,.reader-prose h3:before{min-width:25px;height:25px}
 .reader-focus #preview .app-scroll>#page{padding-bottom:30px}
 #preview .diagnosis-module.method-note{padding:23px;border-radius:23px}#preview .diagnosis-module h3{font-size:1.25em;margin:18px 0 12px}#preview .diagnosis-module>p{font-size:.88em}#preview .diagnosis-module .context-chip{font-size:.64em}
 .module-art{height:94px;margin-bottom:17px}.module-illustration{height:89px;width:130px}
 #preview .service-card,.rating-service,.review-card{padding:21px}
 .product-modal{position:fixed;margin:0;inset:auto 0 calc(var(--viewport-bottom-offset,0px) + var(--safe-bottom)) 0;width:100%;max-width:100%;border-radius:27px 27px 0 0;max-height:calc(var(--app-height) - var(--safe-top) - var(--safe-bottom) - 14px);padding:0}
 .product-modal .modal-head{padding:20px;position:sticky;top:0;z-index:1}.product-modal .modal-body{padding:20px 20px 26px}.product-modal .modal-head h2{font-size:1.3em}
 .toasts{bottom:calc(var(--dock-height) + var(--safe-bottom) + 22px)}
}
@media(max-width:350px){#preview{--page-x:16px}#preview .app-header{padding-inline:16px}#preview .app-scroll>#page{padding-inline:16px}#preview .bottom-nav,#preview.large .bottom-nav{left:8px;right:8px;gap:1px;padding:5px;border-radius:24px}#preview .bottom-nav .nav-link{font-size:9px;letter-spacing:-.045em}#preview .hero-copy{padding:20px}#preview .hero-copy h2{font-size:26px}#preview .hero-copy>p:not(.eyebrow){max-width:64%}#preview .hero-visual{width:51%;right:-25px;top:15px}#preview .page-intro h1{font-size:26px}#preview .mobile-wordmark b{font-size:9px}.reader-toolbar .secondary-button{padding:9px 8px;font-size:10px}}
@keyframes page-arrive{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@keyframes scene-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-6px) rotate(1deg)}}
@keyframes dir-breathe{0%,100%{transform:translateY(0) rotate(0)}40%{transform:translateY(-4px) rotate(-2deg)}70%{transform:translateY(-1px) rotate(1deg)}}
@keyframes spark-orbit{0%,100%{transform:translate(0) rotate(35deg);opacity:.7}50%{transform:translate(4px,-5px) rotate(80deg);opacity:1}}
@keyframes loader-travel{0%{transform:translateX(-100%)}100%{transform:translateX(350%)}}
@media(hover:hover) and (pointer:fine){#preview .material-card:hover .material-cover{transform:scale(1.04)}#preview .route-card:hover{border-color:#ec526947}#preview .bottom-nav a:hover{background:var(--surface-2)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.reduced-motion *,.reduced-motion *:before,.reduced-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}

.feedback-success .scene-dir,.feedback-success .hero-art{animation:dir-nod 800ms ease-in-out!important}@keyframes dir-nod{0%,100%{transform:translateY(0) rotate(0)}35%{transform:translateY(7px) rotate(-4deg)}65%{transform:translateY(-2px) rotate(2deg)}}
@media(prefers-reduced-motion:reduce){.feedback-success .scene-dir,.feedback-success .hero-art{animation:none!important}}.reduced-motion .scene-dir,.reduced-motion .hero-art{animation:none!important}

#preview .channel-banner{display:grid;grid-template-columns:1.7fr 1fr;gap:22px}#preview .channel-art{grid-column:1/-1;width:100%;height:180px;object-fit:cover;object-position:center;border-radius:17px;max-height:none}#preview .channel-banner>.secondary-button{justify-self:end}#preview .channel-banner:after{display:none}@media(max-width:700px){#preview .channel-banner{grid-template-columns:1fr;padding:18px;gap:16px}#preview .channel-art{height:130px;border-radius:14px}#preview .channel-banner>.secondary-button{justify-self:stretch;margin:0;width:100%}#preview .channel-banner h2{font-size:1.23em;margin-top:8px}#preview .channel-banner p{font-size:.88em}}

.channel-art-wrap{grid-column:1/-1;position:relative;overflow:hidden;border-radius:17px;background:#17171c}.banner-caption{position:absolute;top:50%;left:24px;transform:translateY(-50%);font-size:clamp(21px,3vw,34px);line-height:1.13;letter-spacing:-.045em;color:#faf5ef}.channel-art-wrap .channel-art{display:block;margin:0!important;border-radius:0!important}@media(max-width:700px){.banner-caption{left:17px;font-size:21px}.channel-art-wrap{border-radius:14px}}

.product-modal.communication-popup .communication-popup-symbol{width:100%;height:135px;margin:0;background:url('/assets/brand-v3/hero-dir.png') center/contain no-repeat;border:0;border-radius:0}.product-modal.communication-popup .communication-popup-symbol>svg{display:none}

/* Keep all reading actions reachable on narrow phones and with enlarged text. */
.reader-toolbar{flex-wrap:wrap}.reader-settings{margin-left:auto;min-width:0}
@media(max-width:359px){.reader-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:2px}.reader-toolbar>.secondary-button{justify-content:flex-start}.reader-settings{width:100%;justify-content:space-between;margin-left:0}.reader-settings>.secondary-button{flex:1}}
