/* DAB13 unified UX R1. Additive styles; checkout and payment UI remain unchanged. */
body.in-app{--ux-panel:#111722;--ux-edge:#283143;--ux-muted:#9daec8}
body.in-app .app-main{max-width:none}
body.in-app .app-view{max-width:1440px;margin-inline:auto}
body.in-app .app-topbar{max-width:1440px;margin-inline:auto;padding-block:20px 16px;border-bottom:1px solid var(--ux-edge);margin-bottom:20px}
body.in-app .app-topbar h1{font-size:clamp(24px,2.3vw,32px);letter-spacing:-.035em;line-height:1.15}
body.in-app .app-topbar small{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--ux-muted)}
body.in-app .app-card{border-radius:18px}
body.in-app .section-title h3{font-size:18px;letter-spacing:-.02em}
body.in-app .page-head{margin-bottom:18px}
body[data-dab13-page="home"] .page-head h2,body[data-dab13-page="billing"] .page-head h2,body[data-dab13-page="vpn"] .page-head h2,body[data-dab13-page="library"] .page-head h2{display:none}
body.in-app .page-head p{margin-top:0;color:var(--ux-muted);font-size:14px}
body.in-app .app-nav-link{min-height:43px;border-radius:11px;gap:12px}
body.in-app .nav-group{font-size:10px;letter-spacing:.14em;margin-top:17px}
body.in-app .app-sidebar{overflow-y:auto}
body.in-app .account-brand-shortcuts{margin-bottom:20px}
body.in-app .brand-entry-grid{gap:14px}
body.in-app .brand-entry{border-radius:16px;min-height:96px}
body.in-app .account-service-grid{gap:14px}
body.in-app .account-service-card{border-radius:16px;min-height:unset}
.dab13-activation-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}
.dab13-activation-card{display:flex;flex-direction:column;gap:9px;min-width:0}
.dab13-activation-card h3{font-size:20px;line-height:1.25;margin:0}
.dab13-activation-card p{margin:0 0 8px;font-size:13px;line-height:1.55}
.dab13-feature-kicker{font-size:10px;font-weight:800;letter-spacing:.12em;color:#ffbe24}
.dab13-gift-card{background:linear-gradient(140deg,rgba(255,180,0,.11),rgba(12,19,30,.98) 68%);border-color:rgba(255,190,35,.42)!important}
.dab13-code-form{display:flex;gap:10px;flex-wrap:wrap;align-items:stretch;margin-top:auto}
.dab13-code-form input{min-width:0;flex:1 1 210px;width:auto!important;border-radius:10px;min-height:44px}
.dab13-code-form button{flex:0 1 auto;min-height:44px}
.dab13-code-form .form-status{flex-basis:100%;margin:0;min-height:0}
.dab13-gift-hint{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:16px;border-top:1px solid var(--ux-edge);padding-top:14px;font-size:14px}
.dab13-vpn-picker{margin-bottom:12px}
.dab13-vpn-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
.dab13-vpn-tab{appearance:none;background:#141b28;color:#c7d3e7;border:1px solid #344053;border-radius:12px;min-height:48px;font-size:15px;font-weight:700;cursor:pointer}
.dab13-vpn-tab[aria-selected="true"]{color:#111;background:#ffbd05;border-color:#ffbd05}
.dab13-vpn-tier[hidden]{display:none!important}
.dab13-vpn-tier .vpn-tariffs{gap:12px}
.dab13-vpn-tier .mini-plan{min-width:0}
.dab13-vpn-promo-link{margin:18px 0 8px;color:#aebbd0;font-size:14px}
.dab13-vpn-promo-link a{color:#ffc247;text-decoration:underline}
.vpn-private-steps{padding-left:24px;display:grid;gap:12px}
.vpn-private-steps li{padding-left:6px;line-height:1.45}
.vpn-private-steps li b{display:block;font-weight:700;margin-bottom:3px}
.vpn-private-steps li span{display:block;color:#aab8ce;font-size:13px}
.dab13-video-hub{margin-bottom:16px}
.dab13-video-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.dab13-mode-card{display:flex;flex-direction:column;gap:7px;border:1px solid #344053;border-radius:14px;padding:16px;color:inherit;text-decoration:none;background:#131b28}
.dab13-mode-card b{font-size:16px}.dab13-mode-card small{color:#a6b4cb;line-height:1.45}
.dab13-video-editor{border-top:1px solid #2a3548;margin-top:18px;padding-top:16px}
.dab13-video-editor summary{cursor:pointer;font-weight:700;font-size:15px}
.dab13-video-editor label{display:block;margin:12px 0}
.dab13-video-editor video{display:block;width:min(100%,560px);max-height:330px;background:#000;border-radius:12px;margin-top:12px}
.dab13-video-editor video[hidden]{display:none}
.dab13-video-editor button[disabled]{opacity:.55;cursor:not-allowed}
body.in-app .app-card .muted{line-height:1.55}
@media(max-width:900px){.dab13-activation-grid{grid-template-columns:1fr}.dab13-code-form button{width:100%}.dab13-video-modes{grid-template-columns:1fr}}
@media(max-width:600px){body.in-app .app-topbar{padding:12px 0 10px;margin-bottom:14px}body.in-app .app-topbar h1{font-size:24px}.dab13-vpn-tabs{gap:6px}.dab13-vpn-tab{font-size:13px}.dab13-activation-card h3{font-size:18px}.dab13-code-form input{flex-basis:100%}}

/* Storage quota is useful, but secondary to the user's saved work. */
body[data-dab13-page="library"] #dab13StoragePanel{padding:14px 18px!important;margin:14px 0 20px!important}
body[data-dab13-page="library"] #dab13StoragePanel>summary{cursor:pointer;font-weight:750;list-style-position:inside;font-size:15px}
body[data-dab13-page="library"] #dab13StoragePanel[open]>summary{margin-bottom:12px}
