/* Layout additions only. Typography, glass, controls and storefront shell use the actual OTS/theme CSS. */
.dt-portal{display:grid;gap:28px;color:var(--ink)}
.dt-portal .portal-top{display:grid;grid-template-columns:minmax(0,1.17fr) minmax(375px,.9fr);gap:48px;align-items:center}
.dt-portal .portal-intro{min-width:0}
.dt-portal .portal-subtitle{font-size:16px;color:#d1e3ef;line-height:1.5;margin:0 0 15px}
.dt-portal .portal-intro>.prose{max-width:590px}
.dt-portal .portal-jump-links{display:flex;flex-wrap:wrap;gap:18px;margin-top:17px;font-size:11px;color:#9ed8ff}
.dt-portal .portal-jump-links a{color:#9ed8ff;min-height:32px;display:inline-flex;align-items:center}
.dt-portal .purchase-card{position:static;grid-area:auto}
.dt-portal .portal-access .purchase-intro{line-height:1.75}
.dt-portal .portal-access .purchase-footnote p{line-height:1.65}
.dt-portal .section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}
.dt-portal .section-heading h2{margin-top:5px}
.dt-portal .sample-tag{font-size:10px;color:#9db4c4;border:1px solid #354650;border-radius:6px;padding:5px 9px;white-space:nowrap}
.dt-portal .portal-showcase{padding:23px 25px 21px}
.dt-portal .showcase-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(240px,.85fr);gap:26px;align-items:start}
.dt-portal figure{margin:0;min-width:0}
.dt-portal .screen-tabs{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:12px}
.dt-portal .screen-tabs .button{min-height:36px;font-size:11px;padding:7px 15px}
.dt-portal .screen-open{display:block;padding:0;width:100%;border:1px solid #354e5f;border-radius:12px;background:#000;overflow:hidden;color:#afc9d9;cursor:zoom-in}
.dt-portal .portal-screen{display:block;width:100%;aspect-ratio:auto;overflow:hidden;background:#000}
.dt-portal .portal-screen img{display:block;width:120.8%;max-width:none;height:auto;max-height:none;margin:0 0 0 -20.8%;object-fit:initial}
.dt-portal .screen-enlarge{display:flex;align-items:center;justify-content:space-between;padding:9px 13px;border-top:1px solid #2a3c49;font-size:10px;background:linear-gradient(#13191d,#080b0d)}
.dt-portal figcaption{font-size:10px;line-height:1.6;color:#8fa5b4;margin-top:9px}
.dt-portal h3{font-size:15px;font-weight:500;line-height:1.4;letter-spacing:0;text-transform:none;background:none;box-shadow:none;border:0;padding:0;margin:0;color:#dce9f2}
.dt-portal .project-explainer{padding-top:4px}
.dt-portal .project-explainer>h3{font-size:18px;margin:0 0 14px}
.dt-portal .feature-rows{padding:0;margin:0}
.dt-portal .feature-rows>div{padding:14px 0;border-top:1px solid #293c48}
.dt-portal .feature-rows dt{font-size:13px;line-height:1.5;color:#d8e7f1;font-weight:500}
.dt-portal .feature-rows dt>span{display:inline-block;color:#74bfea;font-size:10px;margin-right:9px}
.dt-portal .feature-rows dd{font-size:12px;line-height:1.75;color:#a7b8c4;margin:7px 0 0}
.dt-portal .portal-process{padding:4px 0 0}
.dt-portal .process-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:18px 0;list-style:none;border-top:1px solid #2b3a44;border-bottom:1px solid #2b3a44;gap:0}
.dt-portal .process-track li{padding:0 18px;display:flex;align-items:flex-start;gap:11px;border-right:1px solid #293945;margin:0;min-width:0}
.dt-portal .process-track li:first-child{padding-left:0}.dt-portal .process-track li:last-child{padding-right:0;border-right:0}
.dt-portal .step-number{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;font-size:12px;color:#c8e8fb;background:var(--dt-glass-blue);border:1px solid #55788d;border-radius:50%;box-shadow:var(--dt-control-shadow)}
.dt-portal .process-track h3{font-size:13px;line-height:1.5;margin:3px 0 7px}
.dt-portal .process-track p{font-size:12px;line-height:1.75;color:#a9bac7}
.dt-portal .service-line{display:flex;align-items:flex-start;gap:17px;padding-top:15px}
.dt-portal .service-label{font-size:11px;color:#d0e5f3;white-space:nowrap;line-height:1.8}
.dt-portal .service-line p{font-size:11px;line-height:1.8;color:#93aabb}
.dt-portal .portal-bottom{display:grid;grid-template-columns:minmax(0,1.17fr) minmax(375px,.9fr);gap:48px;align-items:start}
.dt-portal .tunersync-card{display:grid;grid-area:auto;grid-template-columns:minmax(0,1fr) 150px;padding:22px;gap:24px;align-items:center}
.dt-portal .tunersync-card h2{font-size:24px;margin:7px 0 12px}
.dt-portal .tunersync-card p:not(.eyebrow){font-size:12px;line-height:1.75}
.dt-portal .tunersync-card ul{font-size:11px;line-height:1.8;color:#b1c5d2;padding-left:16px;margin:13px 0 18px}
.dt-portal .tunersync-card .button{display:inline-flex;align-items:center;justify-content:center;font-size:12px;min-height:42px;white-space:nowrap}
.dt-portal .tunersync-card .app-note{font-size:10px!important;line-height:1.7!important;color:#8ca3b3!important;margin-top:14px}
.dt-portal .app-sample img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid #4b6575;box-shadow:0 4px 14px #0008}
.dt-portal .app-sample figcaption{font-size:8px;text-align:center;margin-top:7px}
.dt-portal .portal-faq{grid-area:auto;padding-top:3px}
.dt-portal .portal-faq .detail-heading{margin-bottom:16px}
.dt-portal #portal-image-dialog{width:min(1100px,96vw);max-height:94vh;padding:15px}
.dt-portal #portal-image-dialog .dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.dt-portal #portal-image-dialog .dialog-heading p{font-size:12px;color:#b1c8d7}
.dt-portal #portal-image-dialog button{float:none;margin:0;cursor:pointer}
.dt-portal #portal-image-dialog .portal-screen{border-radius:9px;border:1px solid #324650}
.dt-portal a:focus-visible,.dt-portal button:focus-visible,.dt-portal summary:focus-visible{outline:2px solid #9bd9ff;outline-offset:3px}
@media(max-width:1100px){.dt-portal .portal-top,.dt-portal .portal-bottom{gap:30px;grid-template-columns:minmax(0,1.1fr) minmax(355px,1fr)}.dt-portal .showcase-grid{grid-template-columns:minmax(0,1.6fr) minmax(235px,.9fr);gap:23px}.dt-portal .tunersync-card{grid-template-columns:minmax(0,1fr) 125px;gap:16px}.dt-portal .process-track li{padding:0 13px;gap:9px}}
@media(max-width:850px){.dt-portal{gap:24px}.dt-portal .portal-top,.dt-portal .portal-bottom{grid-template-columns:minmax(0,1fr);gap:24px}.dt-portal .portal-intro>.prose{max-width:none}.dt-portal .portal-showcase{padding:21px}.dt-portal .showcase-grid{grid-template-columns:minmax(0,1fr);gap:20px}.dt-portal .feature-rows{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.dt-portal .project-explainer>h3{font-size:16px;margin-bottom:10px}.dt-portal .process-track{grid-template-columns:1fr 1fr;gap:20px 0}.dt-portal .process-track li:nth-child(2){border-right:0;padding-right:0}.dt-portal .process-track li:nth-child(3){padding-left:0}.dt-portal .tunersync-card{grid-template-columns:minmax(0,1fr) 165px;padding:22px;gap:25px}.dt-portal .portal-subtitle{font-size:15px}}
@media(max-width:520px){.dt-portal .portal-showcase{padding:18px 15px}.dt-portal .feature-rows{grid-template-columns:minmax(0,1fr)}.dt-portal .feature-rows>div{padding:12px 0}.dt-portal .screen-tabs{gap:7px}.dt-portal .screen-tabs .button{font-size:10px;padding:7px 10px;min-height:38px}.dt-portal .section-heading{gap:10px;margin-bottom:15px}.dt-portal .sample-tag{font-size:8px;padding:4px 6px}.dt-portal .section-heading h2{font-size:20px}.dt-portal .process-track{grid-template-columns:minmax(0,1fr);gap:0;padding:0}.dt-portal .process-track li{padding:17px 0!important;border-right:0;border-bottom:1px solid #23343f;gap:13px}.dt-portal .process-track li:last-child{border-bottom:0}.dt-portal .process-track h3{font-size:14px}.dt-portal .service-line{display:block}.dt-portal .service-line p{margin-top:6px}.dt-portal .tunersync-card{grid-template-columns:minmax(0,1fr) 110px;padding:18px 16px;gap:14px}.dt-portal .tunersync-card h2{font-size:22px}.dt-portal .tunersync-card .button{font-size:11px;padding:9px 12px;min-height:40px}.dt-portal .tunersync-card .eyebrow{font-size:8px}.dt-portal .portal-jump-links{gap:13px;font-size:10px}.dt-portal .portal-faq summary{font-size:13px}}
@media(max-width:350px){.dt-portal .tunersync-card{grid-template-columns:minmax(0,1fr)}.dt-portal .app-sample{max-width:145px;margin:6px auto 0}.dt-portal .portal-faq summary{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.dt-portal #portal-image-dialog .portal-screen{aspect-ratio:auto}

/* User-selected TunerSync section restored from the first draft, scoped to this section. */
.dt-portal #tunersync{--blue:#6ec5ff;grid-column:1/-1;width:100%;margin:0;display:grid;grid-template-columns:.95fr 1.05fr;align-items:center;gap:90px;padding:90px 0 92px;font-size:16px;line-height:1.65;color:#edf3f7}
.dt-portal #tunersync h2,.dt-portal #tunersync p{margin:0}
.dt-portal #tunersync .eyebrow{font-size:11px;font-weight:700;letter-spacing:2.3px;color:#6ec5ff;line-height:1.5;margin-bottom:20px}
.dt-portal #tunersync .app-copy{max-width:490px}
.dt-portal #tunersync h2{font-size:47px;line-height:1.14;letter-spacing:-1.6px;font-weight:500}
.dt-portal #tunersync h2 span{color:#6ec5ff}
.dt-portal #tunersync .section-lede{color:#a9bac6;font-size:15px;line-height:1.85;margin-top:23px}
.dt-portal #tunersync .app-points{list-style:none;padding:0;margin:26px 0 30px;display:grid;gap:11px;font-size:13px;color:#bed0dc}
.dt-portal #tunersync .app-points li{display:flex;align-items:center;gap:11px;margin:0;padding:0}
.dt-portal #tunersync svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.dt-portal #tunersync .app-points svg{color:#6ec5ff;width:16px;height:16px;flex-shrink:0}
.dt-portal #tunersync .app-note{max-width:410px;font-size:11px;color:#7892a3;line-height:1.85;margin-top:20px}
.dt-portal #tunersync .app-visual{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:590px;background:radial-gradient(ellipse,#16354844,transparent 67%);overflow:hidden}
.dt-portal #tunersync .phone{position:relative;z-index:1;flex-shrink:0;border:5px solid #18252d;box-shadow:0 0 0 1px #7da6be5c,0 24px 60px #000b,inset 0 0 0 1px #ffffff21;width:242px;border-radius:25px;background:#040708;padding:3px;transform:rotate(-5deg);overflow:hidden}
.dt-portal #tunersync .phone img{display:block;width:100%;max-width:100%;height:auto;border-radius:17px}
.dt-portal #tunersync .orbit{position:absolute;border:1px solid #6ec5ff12;border-radius:50%;width:440px;height:440px}
.dt-portal #tunersync .orbit-two{width:600px;height:600px}
.dt-portal #tunersync .app-context{position:absolute;z-index:2;bottom:83px;right:0;border:1px solid #6ec5ff45;padding:17px 24px 17px 18px;border-radius:9px;display:flex;align-items:center;gap:13px;background:linear-gradient(120deg,#1d303dfa,#0a131cfa);box-shadow:0 10px 30px #0009;font-size:8px;letter-spacing:1.3px;color:#89a8bd}
.dt-portal #tunersync .app-context strong{font-size:11px;letter-spacing:.8px;font-weight:500;color:#d6eeff}
.dt-portal #tunersync .tiny-status{display:inline-block;width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#6ec5ff;box-shadow:0 0 10px #6ec5ff66}
.dt-portal #tunersync .app-caption{position:absolute;bottom:0;color:#647f91;font-size:9px;letter-spacing:.4px}
.dt-portal #tunersync .button{display:inline-flex;align-items:center;justify-content:center;gap:25px;min-height:52px;padding:13px 24px;border:1px solid #b7e5ff;background:linear-gradient(140deg,#9bd9ff,#6ec5ff);color:#092033;border-radius:8px;font-size:14px;line-height:1.65;font-weight:700;box-shadow:inset 0 1px #ffffff60,0 5px 25px #49a6df15;transition:background .2s,border-color .2s,transform .2s;white-space:nowrap;text-decoration:none}
.dt-portal #tunersync .button:hover{background:linear-gradient(140deg,#b9e5ff,#82ceff);border-color:#6ec5ff;transform:translateY(-1px)}
.dt-portal #tunersync .button span{font-size:19px}
.dt-portal .portal-bottom>.portal-faq{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.17fr) minmax(375px,.9fr);column-gap:48px}
.dt-portal .portal-bottom>.portal-faq>.detail-heading{grid-column:1;grid-row:1/5}
.dt-portal .portal-bottom>.portal-faq>details{grid-column:2}
@media(max-width:1150px){.dt-portal #tunersync{gap:60px;padding-block:82px}.dt-portal #tunersync h2{font-size:37px}.dt-portal #tunersync .app-context{right:0;padding:14px}}
@media(max-width:900px){.dt-portal #tunersync{gap:35px;grid-template-columns:.9fr 1.1fr}.dt-portal #tunersync .app-visual{min-height:505px}.dt-portal #tunersync .phone{width:195px}.dt-portal #tunersync .app-context{bottom:30px}.dt-portal #tunersync h2{font-size:36px}.dt-portal #tunersync .section-lede{font-size:13px}.dt-portal #tunersync .app-points{font-size:11px}.dt-portal #tunersync .app-note{font-size:10px}}
@media(max-width:850px){.dt-portal .portal-bottom>.portal-faq{display:block}}
@media(max-width:600px){.dt-portal #tunersync{grid-template-columns:minmax(0,1fr);gap:16px;padding-top:42px;padding-bottom:54px}.dt-portal #tunersync .app-copy{order:0;min-width:0}.dt-portal #tunersync .app-visual{order:1;min-height:515px;margin-top:22px;overflow:hidden}.dt-portal #tunersync .eyebrow{font-size:9px;letter-spacing:1.6px;margin-bottom:16px}.dt-portal #tunersync h2{font-size:36px;letter-spacing:-1.1px;line-height:1.17}.dt-portal #tunersync .section-lede{font-size:14px;margin-top:20px}.dt-portal #tunersync .app-points{font-size:12px;gap:12px;margin-top:24px}.dt-portal #tunersync .app-note{font-size:11px}.dt-portal #tunersync .phone{width:205px;transform:rotate(-5deg)}.dt-portal #tunersync .app-context{right:0;bottom:59px;padding:15px 18px}.dt-portal #tunersync .app-context strong{font-size:10px}.dt-portal #tunersync .app-context>span:last-child{font-size:7px}.dt-portal #tunersync .orbit-one{width:360px;height:360px}.dt-portal #tunersync .orbit-two{width:480px;height:480px}.dt-portal #tunersync .button{box-shadow:inset 0 1px #ffffff60}}
@media(prefers-reduced-motion:reduce){.dt-portal #tunersync .button{transition:none}.dt-portal #tunersync .button:hover{transform:none}}

/* Consolidated walkthrough: one explanation beside the portal sample. */
.dt-portal #how-it-works .feature-rows{display:block}
.dt-portal .portal-showcase>.service-line{margin-top:18px;border-top:1px solid #293c48}

/* Compact portal access beside the existing storefront logo. */
.portal-landing #header .row{display:grid;grid-template-columns:300px minmax(230px,300px) minmax(0,1fr);grid-template-areas:'logo portal actions';column-gap:28px;align-items:center}
.portal-landing #header .row::before,.portal-landing #header .row::after{display:none}
.portal-landing #header .logo{grid-area:logo;display:block;width:100%;min-width:0;flex:none}
.portal-landing #header .logo .logo-wrap{width:100%;max-width:300px}
.portal-landing #header .logo img{display:block;width:100%;max-width:300px;height:auto;max-height:none}
.portal-landing #header .header-text{display:none}
.portal-landing #header .header-right{grid-area:actions;justify-self:end;max-width:100%}
.portal-landing #header .dt-compact-actions{grid-area:actions;justify-self:end}
.portal-landing .header-portal-access{grid-area:portal;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;min-width:0;border:1px solid transparent;border-radius:14px;background:linear-gradient(155deg,#ffffff0d,transparent 32%),linear-gradient(#080808f2,#020202f7) padding-box,linear-gradient(135deg,#6ec5ff80,#6ec5ff45 55%,#6ec5ff60) border-box;box-shadow:0 2px 7px #6ec5ff15,0 4px 14px #6ec5ff0d}
.portal-landing .header-portal-access strong{display:block;color:#dceaf3;font-size:13px;line-height:1.5;font-weight:500}
.portal-landing .header-portal-access small{display:block;color:#96aebf;font-size:10px;line-height:1.5;margin-top:2px}
.portal-landing .header-portal-access .button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:36px;padding:7px 12px;font-size:11px;white-space:nowrap}
.portal-landing .dt-portal .portal-top{grid-template-columns:minmax(0,1fr)}
.portal-landing .dt-portal .portal-intro>.prose{max-width:750px}
@media(max-width:1050px){.portal-landing #header .row{grid-template-columns:minmax(150px,230px) minmax(220px,280px) minmax(0,1fr);column-gap:18px;padding:16px 0}.portal-landing #header .logo .logo-wrap,.portal-landing #header .logo img{max-width:230px}.portal-landing .header-portal-access{padding:10px;gap:9px}.portal-landing .header-portal-access strong{font-size:12px}}
@media(max-width:780px){.portal-landing #header .row{grid-template-columns:minmax(0,1fr) minmax(145px,190px);grid-template-areas:'logo portal' 'actions actions';gap:12px;padding:14px 0}.portal-landing #header .logo .logo-wrap,.portal-landing #header .logo img{max-width:100%}.portal-landing .header-portal-access{flex-direction:column;align-items:stretch;gap:7px;padding:9px 10px}.portal-landing .header-portal-access strong{font-size:12px}.portal-landing .header-portal-access small{font-size:9px}.portal-landing .header-portal-access .button{width:100%;min-height:34px;padding:6px 10px}.portal-landing #header .dt-compact-menu>nav{top:100%}}
@media(max-width:420px){.portal-landing #header .row{grid-template-columns:minmax(0,1fr) 148px;column-gap:12px}.portal-landing .header-portal-access{border-radius:12px}}


/* Clear portal introduction and access controls that scale with available room. */
.portal-landing .dt-portal .portal-intro{width:100%;max-width:860px;margin-inline:auto}
.portal-landing .dt-portal #portal-title{text-align:center}
.portal-landing .dt-portal .portal-subtitle{text-align:center}
.portal-landing .dt-portal .portal-intro>.prose{max-width:760px;margin-inline:auto;font-size:14px;line-height:1.8}
.portal-landing .dt-portal .portal-jump-links{justify-content:center}
@media(min-width:1051px){
.portal-landing #header .row{grid-template-columns:300px minmax(280px,1fr) 275px}
.portal-landing .header-portal-access{padding:17px 20px;gap:20px;min-height:86px}
.portal-landing .header-portal-access strong{font-size:18px}
.portal-landing .header-portal-access small{font-size:12px;margin-top:3px}
.portal-landing .header-portal-access .button{font-size:15px;min-height:46px;padding:10px 21px}
}
@media(min-width:781px) and (max-width:1050px){
.portal-landing #header .row{grid-template-columns:minmax(150px,230px) minmax(220px,1fr) max-content}
.portal-landing .header-portal-access{padding:14px 16px;gap:14px;min-height:76px}
.portal-landing .header-portal-access strong{font-size:16px}
.portal-landing .header-portal-access small{font-size:11px;margin-top:3px}
.portal-landing .header-portal-access .button{font-size:14px;min-height:44px;padding:9px 17px}
}
@media(min-width:421px) and (max-width:780px){
.portal-landing #header .row{grid-template-columns:minmax(0,1fr) minmax(145px,1fr)}
.portal-landing #header .logo .logo-wrap,.portal-landing #header .logo img{max-width:230px}
.portal-landing .header-portal-access{padding:12px 14px}
.portal-landing .header-portal-access strong{font-size:14px}
.portal-landing .header-portal-access small{font-size:11px}
.portal-landing .header-portal-access .button{font-size:13px;min-height:40px}
}
@media(min-width:601px) and (max-width:780px){
.portal-landing .header-portal-access{flex-direction:row;align-items:center;gap:12px}
.portal-landing .header-portal-access .button{width:auto;flex-shrink:0}
}

