/* MagnetAPI v3: original, API-first workspace. Scoped away from Admin and other brands. */
:root{--rt-bg:#fcfcfe;--rt-ink:#171526;--rt-muted:#686577;--rt-line:#e9e6f0;--rt-accent:#7145ee;--rt-soft:#f1ecff;--rt-radius:12px}
.rt-public,[data-router-public],.router-dashboard{margin:0;background:var(--rt-bg)!important;color:var(--rt-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.6}
.rt-public *,.rt-topbar *,.rt-footer *,.rt-container *,.router-dashboard *{box-sizing:border-box}
.rt-public a,[data-router-public] .rt-topbar a,.router-dashboard .rt-topbar a{text-decoration:none;color:inherit}
.rt-public button,.rt-public input,.rt-public select,.router-dashboard input,.router-dashboard select{font:inherit}
.rt-public button,.rt-button{cursor:pointer}
.rt-public [hidden],.router-dashboard [hidden]{display:none!important}
.rt-public :focus-visible,[data-router-public] :focus-visible,.router-dashboard :focus-visible{outline:3px solid #8c80ee;outline-offset:3px}
.rt-sr{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.rt-skip{position:fixed;top:8px;left:12px;z-index:2000;transform:translateY(-160%);padding:10px 18px;background:#fff;color:#111827;border:1px solid var(--rt-line);border-radius:8px}
.rt-skip:focus{transform:none}
.rt-topbar{position:relative;z-index:65;display:flex;align-items:center;gap:24px;min-height:72px;padding:0 30px;border-bottom:1px solid var(--rt-line);background:#fff;color:var(--rt-ink)}
.rt-brand{display:inline-flex;align-items:center;gap:8px;color:#111827!important;font-size:20px;font-weight:750;letter-spacing:-.6px;white-space:nowrap;text-decoration:none}
.rt-domain{font-size:14px;letter-spacing:-.2px;color:var(--rt-muted);margin-left:-5px}
.rt-mark{display:grid;place-items:center;background:var(--rt-soft);color:var(--rt-accent);border:1px solid #dcd5ff;width:29px;height:29px;border-radius:8px;font-size:18px;font-weight:850}
.rt-global-search{position:relative;flex:1;max-width:260px;min-width:130px;margin:0}
.rt-global-search input,.rt-catalogue-search input,.rt-model-toolbar input,.rt-model-toolbar select{width:100%;min-height:42px;border:1px solid #d9dde7;background:#fff;border-radius:8px;padding:9px 12px;color:var(--rt-ink);outline-offset:3px}
.rt-global-search input{min-height:36px;background:#f8f8fb;padding-right:32px;font-size:13px}
.rt-global-search span{position:absolute;right:12px;top:4px;font-size:22px;color:var(--rt-muted)}
.rt-toplinks{display:flex;align-items:center;gap:21px;margin-left:auto;font-size:13px;font-weight:550}
.rt-toplinks>a{white-space:nowrap;line-height:1.2;padding-block:20px}.rt-toplinks>a:hover,.rt-toplinks>a[aria-current=page]{color:var(--rt-accent)!important}
.rt-button,.router-dashboard .rt-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:9px 16px;border:1px solid #d9dde7;border-radius:8px;background:#fff;color:#111827;font-size:14px;font-weight:650;line-height:1.4;text-decoration:none;box-shadow:0 1px 2px #11182704}
.rt-button:hover{background:#f6f5fb;border-color:#b9b1ec}
.rt-button.rt-primary,.rt-toplinks a.rt-primary{background:var(--rt-accent);border-color:var(--rt-accent);color:#fff!important}
.rt-button.rt-primary:hover{background:#4938c8}.rt-toplinks a.rt-button{padding:8px 13px;min-height:36px}
.rt-menu-button{display:none}.rt-more{position:relative}.rt-more summary{cursor:pointer;list-style:none}.rt-more summary::after{content:'⌄';margin-left:5px;color:#737c8e}.rt-more>div{position:absolute;right:0;top:30px;min-width:200px;background:#fff;border:1px solid var(--rt-line);padding:8px;border-radius:10px;box-shadow:0 12px 35px #11182712}.rt-more a{display:block;padding:8px 12px;border-radius:5px}.rt-more a:hover{background:var(--rt-soft)}
.rt-container{width:min(1240px,100%);padding-inline:32px;margin-inline:auto}.rt-home-hero{text-align:center;padding-top:72px;padding-bottom:65px;max-width:970px}
.rt-announcement{display:inline-flex;align-items:center;gap:16px;font-size:12px;padding:6px 12px;border:1px solid #dfdbea;border-radius:30px;background:#fff;color:#534d6a!important}.rt-announcement span{color:var(--rt-accent)}
.rt-home-hero h1{margin:28px 0 22px;font-size:clamp(38px,5vw,62px);font-weight:650;line-height:1.12;letter-spacing:-2.8px;color:var(--rt-ink)}.rt-home-hero h1 span{color:#696283}
.rt-lead{font-size:18px;line-height:1.65;color:var(--rt-muted);max-width:670px}.rt-home-hero .rt-lead{margin-inline:auto}
.rt-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.rt-home-hero .rt-actions{justify-content:center;margin-top:28px}.rt-fine{font-size:12px;color:var(--rt-muted);line-height:1.65}.rt-home-hero>.rt-fine{margin-top:18px}
.rt-section{padding-top:45px;padding-bottom:45px}.rt-section-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:22px}.rt-public h2{font-size:28px;line-height:1.25;letter-spacing:-.9px;font-weight:650;color:var(--rt-ink);margin:0 0 14px}.rt-public h3{color:var(--rt-ink);font-size:18px;line-height:1.35;letter-spacing:-.45px;font-weight:650}
.rt-eyebrow{font-size:10px;font-weight:750;letter-spacing:1.5px;color:#6d628b;margin:0 0 10px}.rt-text-link{font-size:14px;font-weight:600;color:var(--rt-accent)!important;text-decoration:none!important}.rt-text-link:hover{text-decoration:underline!important;text-underline-offset:4px}
.rt-catalogue-search{display:flex;gap:12px;max-width:650px;margin-bottom:22px}.rt-catalogue-search input{flex:1;min-width:0}.rt-catalogue-search button{white-space:nowrap}
.rt-model-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.rt-model-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--rt-line);padding:21px;border-radius:11px;transition:border-color .15s,box-shadow .15s}.rt-model-card:hover{border-color:#bcb2ed;box-shadow:0 3px 18px #5b49e407}.rt-card-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.rt-model-icon{display:grid;place-items:center;width:29px;height:29px;background:#f3f2f8;border:1px solid #e6e2f0;border-radius:8px;font-size:13px;font-weight:750;color:#5b4f73}.rt-tag{font-size:10px;background:#f5f5f9;border:1px solid #e7e7ee;color:#535d70;border-radius:5px;padding:3px 7px;font-weight:550;white-space:nowrap}.rt-model-card h3{margin:0 0 8px;font-size:17px}.rt-model-card h3 a{text-decoration:none!important;color:#171525!important}.rt-model-card code,.rt-id-row code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;color:#625d75;overflow-wrap:anywhere}.rt-model-card p{color:#677083;font-size:12px;line-height:1.7;flex:1;margin:14px 0 18px}.rt-card-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:12px;border-top:1px solid #f0eff5;font-size:10px;color:#697285}.rt-card-meta a{color:var(--rt-accent)!important;font-size:11px;font-weight:650;text-decoration:none}
.rt-code-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center;padding-block:80px}.rt-code-layout>div>p{color:var(--rt-muted);font-size:15px;max-width:480px}.rt-onboarding{display:grid;gap:16px;margin:25px 0;padding:0;list-style:none}.rt-onboarding li{display:flex;gap:15px;align-items:start}.rt-onboarding b{display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;border-radius:50%;border:1px solid #dbd7ec;color:#6c6386;font-size:12px}.rt-onboarding strong{font-size:14px;font-weight:650}.rt-onboarding p{font-size:13px;color:var(--rt-muted);margin:4px 0 0}
.rt-code-panel{background:#171822;color:#e5e7ef;border:1px solid #262733;border-radius:12px;overflow:hidden;min-width:0}.rt-code-panel>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 17px;border-bottom:1px solid #373846;font-size:12px;color:#c0bdce}.rt-code-panel button{background:#292a38;color:#edeafb;border:1px solid #484559;border-radius:5px;padding:5px 10px;font:inherit;cursor:pointer}.rt-code-panel pre{margin:0;padding:22px 20px;overflow:auto;font:12px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2}.rt-code-panel p{margin:0;padding:0 20px 20px;font-size:11px;color:#bbb8cd;line-height:1.8}
.rt-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px;padding-bottom:45px}.rt-bottom-grid article{padding:30px;background:#f7f6fc;border:1px solid #e6e2f1;border-radius:12px}.rt-bottom-grid h2{font-size:24px}.rt-bottom-grid p:not(.rt-eyebrow){font-size:14px;color:var(--rt-muted);margin-bottom:18px}
.rt-footer{background:#fff;border-top:1px solid var(--rt-line);padding-block:42px 20px;color:var(--rt-muted);font-size:13px}.rt-footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:30px}.rt-footer nav{display:flex;flex-direction:column;gap:10px}.rt-footer strong{font-size:12px;color:#282836;margin-bottom:4px}.rt-footer a{color:#64667a;text-decoration:none}.rt-footer a:hover{color:var(--rt-accent)}.rt-footer small{font-size:11px}.rt-legal{font-size:10px;line-height:1.8;margin-top:35px;max-width:1240px;color:#697285}
.rt-page-heading{padding-block:48px 25px}.rt-page-heading h1,.rt-detail h1{font-size:36px;letter-spacing:-1.4px;line-height:1.2;margin:0 0 15px;font-weight:650}.rt-page-heading p:not(.rt-eyebrow){color:var(--rt-muted);font-size:15px;max-width:680px}.rt-catalogue{display:grid;grid-template-columns:215px minmax(0,1fr);gap:40px;padding-bottom:70px}.rt-filter-rail{border-right:1px solid var(--rt-line);padding-right:25px}.rt-filter-rail details>summary{font-size:14px;font-weight:650;list-style:none;margin-bottom:22px;cursor:pointer}.rt-filter-rail h2{font-size:12px;letter-spacing:0;margin:25px 0 12px}.rt-filter-rail label{display:flex;align-items:center;gap:9px;font-size:13px;margin:12px 0}.rt-filter-rail input{accent-color:var(--rt-accent)}.rt-filter-rail .rt-fine{margin-top:28px}.rt-model-toolbar{display:flex;gap:12px;align-items:center;margin-bottom:16px}.rt-model-toolbar input{min-width:0;flex:1}.rt-model-toolbar select{width:auto;min-width:130px}.rt-model-results>div[data-model-results]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.rt-model-results>.rt-fine{margin:10px 0 20px}.rt-detail{padding-top:32px;padding-bottom:35px}.rt-detail-heading{padding-top:26px;padding-bottom:30px}.rt-detail-heading>.rt-tag{display:inline-block;margin-bottom:14px}.rt-id-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.rt-id-row code{font-size:13px;background:#f2f1f7;padding:8px 12px;border-radius:6px}.rt-id-row button{min-height:34px;font-size:12px}.rt-detail-tabs{display:flex;gap:32px;border-bottom:1px solid var(--rt-line);margin-bottom:26px}.rt-detail-tabs a{font-size:14px;padding:10px 0;color:#605a77}.rt-detail-tabs a:first-child{border-bottom:2px solid var(--rt-accent);color:var(--rt-accent)}.rt-detail-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:22px}.rt-panel{border:1px solid var(--rt-line);padding:25px;background:#fff;border-radius:12px;min-width:0}.rt-panel h2{font-size:20px}.rt-panel p{font-size:14px;color:var(--rt-muted)}.rt-facts{margin:20px 0}.rt-facts>div{display:grid;grid-template-columns:140px 1fr;gap:12px;padding:11px 0;border-bottom:1px solid #f1f0f5;font-size:12px}.rt-facts dt{color:#697285}.rt-facts dd{margin:0;overflow-wrap:anywhere}
/* Retained public routes adopt the same shell without changing product handlers. */
[data-router-public] .mp-header,[data-router-public] .mp-skip{display:none}[data-router-public] .mp-art{box-shadow:none;border-radius:12px;border-color:var(--rt-line)}[data-router-public] .mp-page-art{display:none}[data-router-public] .mp-container{max-width:1240px}[data-router-public] .mp-page-hero{padding-block:45px 35px;grid-template-columns:1fr}[data-router-public] .mp-page-hero>.mp-art{display:none}[data-router-public] .mp-page-hero h1{font-size:40px;letter-spacing:-1.6px;color:var(--rt-ink)}[data-router-public] .mp-lead{font-size:16px;color:var(--rt-muted)}[data-router-public] .mp-primary{background:var(--rt-accent);border-color:var(--rt-accent);box-shadow:none;color:#fff}[data-router-public] .mp-three article,[data-router-public] .mp-step,[data-router-public] .mp-credit-grid .fixed-package{border-color:var(--rt-line);border-radius:12px}[data-router-public] .mp-number{background:var(--rt-soft);color:var(--rt-accent);border-radius:8px}[data-router-public] .mp-eyebrow{color:#6a5f86}[data-router-public] .mp-credit-grid a{background:var(--rt-accent)}
/* Rebuilt application shell, native feature modules retained. */
.router-dashboard{font-size:14px}.router-dashboard .shell{display:grid;grid-template-columns:238px minmax(0,1fr);max-width:none;min-height:calc(100vh - 64px);margin:0}.router-dashboard .side{position:sticky;top:0;height:calc(100vh - 0px);max-height:100vh;overflow:auto;background:#fff;color:var(--rt-ink);border-right:1px solid var(--rt-line);padding:22px 14px 35px}.router-dashboard .side .brand{display:none}.router-dashboard .side .web-version{display:none}.router-dashboard .nav{display:flex;flex-direction:column;gap:3px;margin:0}.router-dashboard .rt-nav-group{margin-bottom:15px}.router-dashboard .rt-nav-label{color:#7b8190;font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.9px;padding:8px 12px;margin:0 0 3px}.router-dashboard .nav button,.router-dashboard .nav a{display:flex;align-items:center;gap:11px;width:100%;margin:2px 0;padding:10px 12px;min-height:39px;background:transparent;color:#545d6d;border:1px solid transparent;border-radius:7px;text-align:left;font:500 13px/1.4 inherit;text-decoration:none;box-shadow:none}.router-dashboard .nav button:hover,.router-dashboard .nav a:hover{color:#33294f;background:#f7f6fc;border-color:transparent}.router-dashboard .nav button.active{background:#f0edff;border-color:#f0edff;color:#5640ce;font-weight:650}.router-dashboard .rt-nav-icon{display:inline-grid;place-items:center;flex:0 0 19px;font-size:16px;line-height:1;color:#868399}.router-dashboard .nav button.active .rt-nav-icon{color:var(--rt-accent)}.router-dashboard .side-link{color:#645d7d;margin-top:16px;font-size:12px}.router-dashboard #mwMobileMenu{display:none}.router-dashboard .main{max-width:none;padding:30px 36px 65px;min-width:0;background:var(--rt-bg)}.router-dashboard .rt-workspace-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.router-dashboard .rt-workspace-header h1{font-size:26px;letter-spacing:-.9px;line-height:1.3;font-weight:650;margin:0;color:var(--rt-ink)}.router-dashboard .rt-workspace-header p:not(.rt-eyebrow){font-size:13px;color:var(--rt-muted);margin:6px 0 0}.router-dashboard .rt-workspace-header .rt-eyebrow{margin-bottom:5px;font-size:9px}.router-dashboard .rt-workspace-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.router-dashboard .rt-account-label{font-size:12px;color:#6c7280;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.router-dashboard .rt-workspace-actions button{font-size:12px;min-height:36px;padding:7px 12px}.router-dashboard .grid{gap:16px}.router-dashboard .card{border:1px solid var(--rt-line);box-shadow:none;border-radius:10px;background:#fff;padding:22px;color:var(--rt-ink)}.router-dashboard h2,.router-dashboard h3{color:var(--rt-ink);letter-spacing:-.4px}.router-dashboard h2{font-size:19px;font-weight:650}.router-dashboard h3{font-size:14px;font-weight:600}.router-dashboard .muted{color:var(--rt-muted)}.router-dashboard .card>h3{color:var(--rt-muted);font-size:12px;font-weight:500;margin-top:0}.router-dashboard .metric{font-size:29px;font-weight:600;letter-spacing:-1px;color:#1f2334;line-height:1.25;overflow-wrap:anywhere}.router-dashboard #selectedModelLabel{font-size:20px}.router-dashboard .mw-stat{border-top:1px solid var(--rt-line)!important;min-height:160px}.router-dashboard .mw-stat .muted{font-size:11px;line-height:1.6}.router-dashboard button,.router-dashboard .button-link{border:1px solid var(--rt-accent);border-radius:7px;min-height:38px;background:var(--rt-accent);color:#fff;padding:8px 14px;font-size:13px;font-weight:600;box-shadow:none;line-height:1.5;cursor:pointer}.router-dashboard button.secondary,.router-dashboard .button-link.secondary{border:1px solid #d9dde7;background:#fff;color:#48455b}.router-dashboard button:disabled{opacity:.65;cursor:not-allowed}.router-dashboard input,.router-dashboard textarea,.router-dashboard select{border:1px solid #d4d9e3;border-radius:7px;background:#fff;color:var(--rt-ink);min-height:41px;padding:9px 11px;box-shadow:none}.router-dashboard input[type=radio],.router-dashboard input[type=checkbox]{min-height:0;padding:0;accent-color:var(--rt-accent)}.router-dashboard .rt-overview-welcome{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:28px;border:1px solid #e4dff5;border-radius:10px;background:linear-gradient(120deg,#faf9ff,#f3f0fc);padding:26px;margin-bottom:2px}.router-dashboard .rt-overview-welcome h2{font-size:25px;letter-spacing:-.7px;margin:12px 0 7px}.router-dashboard .rt-overview-welcome p{font-size:13px;color:#615978;margin:0}.router-dashboard .rt-overview-welcome .rt-actions{flex-shrink:0}.router-dashboard .rt-overview-welcome .rt-tag{color:#73668e;background:#fff;font-size:9px;letter-spacing:.8px}.router-dashboard .support-card{background:#fff}.router-dashboard .support-card h2{font-size:17px}.router-dashboard .support-card p{font-size:13px}.router-dashboard #vipCard{background:linear-gradient(105deg,#fffcf4,#fff9e5)!important;border:1px solid #e9dcb4!important;box-shadow:none!important;padding:20px!important}.router-dashboard #vipCard h2,.router-dashboard #vipClock{color:#51411d!important}.router-dashboard .vip-hero-cta{background:#645325!important;border:1px solid #645325!important;color:#fff!important}.router-dashboard .vip-card-clients,.router-dashboard .vip-card-server,.router-dashboard .vip-card-expiry{color:#66542e!important}.router-dashboard .table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px}.router-dashboard .table th{background:#fafafe;color:#737487;font-weight:550;border-bottom:1px solid var(--rt-line);font-size:11px;padding:12px 10px}.router-dashboard .table td{padding:14px 10px;border-bottom:1px solid #ececf2;color:#414759}.router-dashboard .table tr:last-child td{border-bottom:0}.router-dashboard .table-container,.router-dashboard .table-wrap{overflow:auto}.router-dashboard .code{border:1px solid #333346;border-radius:8px;background:#1c1c29;color:#e9e5f8;font:12px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;padding:18px}.router-dashboard #apiKeys .api-key-card.system{background:#f9f8fe;border:1px solid #ded8f2}.router-dashboard #apiKeys .card>p{font-size:13px}.router-dashboard .rt-key-reveal{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px dashed #d1c9e8;padding:12px;border-radius:6px;color:#6a647b;font-size:12px}.router-dashboard .rt-key-reveal button{min-height:32px;padding:5px 10px;font-size:11px}.router-dashboard .rt-activity-controls{background:#fff;border:1px solid var(--rt-line);border-radius:10px;padding:22px}.router-dashboard .rt-activity-controls h2{margin:0 0 6px}.router-dashboard .rt-activity-controls p{font-size:12px;color:var(--rt-muted);max-width:750px}.router-dashboard .rt-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:24px 0}.router-dashboard .rt-summary-grid article{border-right:1px solid var(--rt-line)}.router-dashboard .rt-summary-grid article:last-child{border:0}.router-dashboard .rt-summary-grid span{display:block;font-size:11px;color:#74778a;margin-bottom:5px}.router-dashboard .rt-summary-grid strong{font-size:24px;font-weight:600;letter-spacing:-.6px}.router-dashboard #routerModels .rt-model-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin:25px 0}.router-dashboard .rt-model-card h3{font-size:17px}.router-dashboard .rt-model-card a{text-decoration:none;color:#302940}.router-dashboard .rt-model-toolbar .rt-button{white-space:nowrap}.router-dashboard .mw-heading h2{font-size:25px}.router-dashboard .mw-progress{background:#fff;border-color:var(--rt-line);border-radius:10px}.router-dashboard .mw-progress button{background:transparent;color:#6b647b;border-color:transparent}.router-dashboard .mw-progress [aria-current=step]{color:#4f3ac6;background:#f2eeff}.router-dashboard .mw-option{border-color:#e1deeb;background:#fff;border-radius:9px}.router-dashboard .mw-option:has(input:checked){background:#f5f2ff;border-color:#9181df;box-shadow:0 0 0 1px #9181df}.router-dashboard .mw-badge{background:#eee8ff;color:#5b42bd}.router-dashboard .mw-savings-note{background:#f1ecff;border-color:#dbd0f8;color:#503b7a}.router-dashboard .mw-footer{border-color:var(--rt-line)}.router-dashboard .modal>.card{background:#fff;color:#1c2433;border:1px solid #e0dce9;border-radius:15px;box-shadow:0 18px 80px #14112735}.router-dashboard #login h1{font-size:25px;letter-spacing:-.9px}.router-dashboard #loginMsg{font-size:13px}.router-dashboard .rt-mobile-workspace{display:none}.router-dashboard .page:not(.hidden){animation:rt-in .12s ease-out}@keyframes rt-in{from{opacity:.6}to{opacity:1}}
@media(min-width:1400px){.router-dashboard .main{padding-inline:46px}.router-dashboard .rt-topbar{min-height:72px}.rt-topbar{min-height:72px}}
@media(max-width:1150px){.rt-topbar{gap:18px;padding-inline:22px}.rt-toplinks{gap:14px}.rt-global-search{max-width:190px}.rt-model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.router-dashboard .main{padding:26px 22px}.router-dashboard .rt-workspace-header{align-items:start}.router-dashboard .rt-workspace-actions{max-width:225px;justify-content:flex-end}.router-dashboard .rt-account-label{flex-basis:100%;text-align:right}.router-dashboard .rt-overview-welcome{align-items:start;flex-direction:column;gap:20px}.router-dashboard #routerModels .rt-model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.router-dashboard .span3{grid-column:span 6}}
@media(max-width:930px){.rt-global-search{display:none}.rt-topbar{justify-content:space-between}.rt-toplinks{gap:18px}.router-dashboard .shell{grid-template-columns:210px minmax(0,1fr)}.router-dashboard .side{padding-inline:10px}.rt-code-layout{gap:35px}.router-dashboard .rt-workspace-header{display:block}.router-dashboard .rt-workspace-actions{max-width:none;justify-content:flex-start;margin-top:16px}.router-dashboard .rt-account-label{flex-basis:auto;text-align:left}.rt-catalogue{grid-template-columns:180px minmax(0,1fr);gap:25px}.rt-model-results>div[data-model-results]{grid-template-columns:1fr}}
@media(max-width:740px){.rt-topbar{min-height:64px;padding-inline:19px;gap:10px}.rt-brand{font-size:18px}.rt-domain{font-size:12px}.rt-menu-button{display:block;background:#fff;border:1px solid #dfe0e8;color:#353047;border-radius:6px;font:600 12px inherit;padding:7px 11px;min-height:34px;cursor:pointer}.rt-toplinks{display:none;position:absolute;top:100%;left:0;right:0;padding:15px 20px;background:#fff;border-bottom:1px solid var(--rt-line);box-shadow:0 14px 25px #1118270b;flex-wrap:wrap;gap:16px}.rt-toplinks.rt-open{display:flex}.rt-toplinks>a{padding-block:6px}.rt-more>div{right:auto;left:0;z-index:10}.rt-container{padding-inline:22px}.rt-home-hero{padding-top:48px;padding-bottom:35px}.rt-home-hero h1{font-size:43px;letter-spacing:-1.8px;margin-top:25px}.rt-lead{font-size:16px}.rt-section{padding-block:30px}.rt-section-heading{align-items:start;gap:15px}.rt-section-heading h2{font-size:24px}.rt-section-heading>.rt-text-link{font-size:12px;max-width:110px;flex-shrink:0}.rt-catalogue-search{margin-bottom:18px;gap:8px}.rt-catalogue-search button{font-size:12px;padding:8px 12px}.rt-code-layout{grid-template-columns:1fr;gap:28px;padding-block:45px}.rt-bottom-grid{grid-template-columns:1fr;gap:18px}.rt-footer-grid{grid-template-columns:repeat(3,1fr);gap:20px}.rt-footer-grid>div{grid-column:1/-1;margin-bottom:12px}.rt-footer .rt-brand{font-size:19px}.rt-catalogue{grid-template-columns:1fr;gap:20px}.rt-filter-rail{border:1px solid var(--rt-line);padding:14px 17px;border-radius:8px;background:#fff}.rt-filter-rail details>summary{margin:0;list-style:revert}.rt-filter-rail details>div{padding-top:12px}.rt-filter-rail h2{margin-top:16px}.rt-filter-rail .rt-fine{margin-top:16px}.rt-model-results>div[data-model-results]{grid-template-columns:repeat(2,minmax(0,1fr))}.rt-page-heading{padding-block:35px 22px}.rt-page-heading h1,.rt-detail h1{font-size:31px}.rt-detail-grid{grid-template-columns:1fr}.router-dashboard .shell{display:block}.router-dashboard .side{position:fixed;z-index:70;top:0;left:0;bottom:0;width:268px;max-width:85vw;transform:translateX(-100%);transition:transform .18s;background:#fff;box-shadow:12px 0 40px #1b153323;overflow-y:auto;padding-top:22px}.router-dashboard .side.rt-drawer-open{transform:translateX(0)}.router-dashboard .rt-mobile-workspace{display:inline-flex;align-items:center;gap:8px;background:#fff;color:#554f6b;border:1px solid #ddd6f0;min-height:36px;font-size:12px;margin-bottom:20px}.router-dashboard .rt-drawer-close{display:block;margin:0 0 20px auto!important;background:#fff!important;color:#4a405f!important;border:1px solid #ded5ed!important;width:auto!important}.router-dashboard .rt-drawer-backdrop{position:fixed;inset:0;z-index:69;border:0;border-radius:0;background:#17122266;padding:0;margin:0;width:100vw;height:100vh;backdrop-filter:blur(2px)}.router-dashboard .main{padding:22px 18px 45px}.router-dashboard .rt-workspace-header{margin-bottom:22px}.router-dashboard .rt-workspace-actions{gap:8px}.router-dashboard .rt-workspace-actions button{width:auto}.router-dashboard .rt-account-label{display:none}.router-dashboard .nav{display:flex;gap:2px}.router-dashboard .nav button{width:100%;text-align:left}.router-dashboard .rt-overview-welcome{padding:21px;gap:18px}.router-dashboard .rt-overview-welcome h2{font-size:23px}.router-dashboard .rt-overview-welcome .rt-actions{width:100%}.router-dashboard .rt-overview-welcome button{width:auto}.router-dashboard .card{padding:19px}.router-dashboard .table{display:block;overflow-x:auto;max-width:100%;white-space:nowrap}.router-dashboard #routerModels .rt-model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.router-dashboard .rt-summary-grid{gap:10px}.router-dashboard .rt-summary-grid strong{font-size:21px}.router-dashboard .rt-model-toolbar{flex-wrap:wrap}.router-dashboard .rt-model-toolbar input{flex-basis:100%}.router-dashboard .rt-model-toolbar button{width:auto}.router-dashboard .mw-progress{gap:0}.router-dashboard .mw-progress button{font-size:11px;padding:10px 5px}.router-dashboard .mw-footer button{width:auto}.router-dashboard .modal{padding:12px}}
@media(min-width:741px){.router-dashboard .rt-drawer-close,.router-dashboard .rt-drawer-backdrop{display:none!important}}
@media(max-width:460px){.rt-model-grid,.rt-model-results>div[data-model-results],.router-dashboard #routerModels .rt-model-grid{grid-template-columns:1fr}.rt-home-hero h1{font-size:38px}.rt-home-hero .rt-actions{gap:9px}.rt-home-hero .rt-button{font-size:13px;padding:10px 14px}.rt-announcement{font-size:10px;gap:10px}.rt-container{padding-inline:18px}.rt-model-card{padding:20px}.rt-catalogue-search{flex-wrap:wrap}.rt-catalogue-search input{flex-basis:100%}.rt-catalogue-search button{width:100%}.rt-model-toolbar select{min-width:104px;font-size:12px}.rt-detail-tabs{gap:22px}.rt-facts>div{grid-template-columns:110px 1fr}.rt-id-row code{font-size:11px;max-width:100%;overflow-wrap:anywhere}.rt-footer-grid{grid-template-columns:1fr 1fr}.rt-footer-grid nav:last-child{grid-column:1/-1}.router-dashboard .span3,.router-dashboard .span4,.router-dashboard .span6{grid-column:1/-1}.router-dashboard .rt-summary-grid{grid-template-columns:1fr;gap:14px}.router-dashboard .rt-summary-grid article{border-right:0;border-bottom:1px solid var(--rt-line);padding-bottom:12px}.router-dashboard .rt-summary-grid article:last-child{padding-bottom:0}.router-dashboard .rt-overview-welcome .rt-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.router-dashboard .rt-overview-welcome button{font-size:11px;padding:8px 10px}.router-dashboard .rt-key-reveal{align-items:start;flex-direction:column}.router-dashboard .rt-key-reveal button{width:auto}}
@media(prefers-reduced-motion:reduce){.rt-model-card,.router-dashboard .side{transition:none}.router-dashboard .page:not(.hidden){animation:none}}
/* Subscription widgets keep their existing quote, consent and checkout listeners. */
.router-dashboard #subscription-builder,[data-router-public] #subscriber-public-pricing{background:#fff!important;color:var(--rt-ink)!important;border:1px solid var(--rt-line)!important;border-radius:12px!important;box-shadow:none!important;padding:24px!important;max-width:none}
.router-dashboard #subscription-builder h2,.router-dashboard #subscription-builder h3,[data-router-public] #subscriber-public-pricing h2,[data-router-public] #subscriber-public-pricing h3{color:var(--rt-ink)!important;letter-spacing:-.5px}.router-dashboard #subscription-builder p,.router-dashboard #subscription-builder li,[data-router-public] #subscriber-public-pricing p,[data-router-public] #subscriber-public-pricing li{color:var(--rt-muted)!important}.router-dashboard .subscription-card,[data-router-public] .subscription-card{background:#fff!important;border:1px solid var(--rt-line)!important;border-radius:12px!important;box-shadow:none!important;padding:22px!important;transform:none!important}.router-dashboard .subscription-card[data-tier=max],[data-router-public] .subscription-card[data-tier=max]{border:1px solid #b29ce9!important;background:#fcfaff!important}.router-dashboard .subscription-card[data-tier=ultra],[data-router-public] .subscription-card[data-tier=ultra]{border:1px solid #d9bc75!important;background:#fffdf6!important}.router-dashboard .subscription-price,[data-router-public] .subscription-price{color:var(--rt-ink)!important}.router-dashboard .subscription-term,[data-router-public] .subscription-term{color:var(--rt-muted)!important}.router-dashboard .premium-badge,[data-router-public] .premium-badge,.router-dashboard .premium-multiple,[data-router-public] .premium-multiple{color:#6d4ca7!important}.router-dashboard .premium-subscribe,[data-router-public] .premium-subscribe,.router-dashboard #subscription-builder button,[data-router-public] .subscription-card button{background:var(--rt-accent)!important;color:#fff!important;border:1px solid var(--rt-accent)!important;border-radius:8px!important;box-shadow:none!important;font-size:14px;min-height:42px}.router-dashboard #subscription-builder button:disabled,[data-router-public] .subscription-card button:disabled{background:#edeaf3!important;color:#655e76!important;border-color:#dfd9e9!important}.router-dashboard #subscription-builder select,.router-dashboard #subscription-builder input[type=number],[data-router-public] #subscriber-public-pricing select{background:#fff!important;color:var(--rt-ink)!important;border:1px solid #d4cedf!important;border-radius:7px!important}.router-dashboard .subscriber-message{background:#f4f1fc!important;color:#554272!important}.router-dashboard .subscriber-error{background:#fff0f0!important;color:#9b2630!important}.router-dashboard #subscriber-usage{background:#fff!important;color:var(--rt-ink)!important;border:1px solid var(--rt-line)!important;border-radius:10px!important}.router-dashboard #subscriber-usage p{color:var(--rt-muted)}.router-dashboard .premium-meter{background:#fbfaff!important;color:#4b4066!important;border-color:#e1d9ed!important;border-radius:10px!important}.router-dashboard .premium-explain,[data-router-public] .premium-explain{background:#f8f6fc!important;border-color:#e2dceb!important;color:var(--rt-ink)!important}.router-dashboard .premium-meter progress{accent-color:var(--rt-accent)}.router-dashboard[data-rt-billing-tab=membership] #subscriber-addons,.router-dashboard[data-rt-billing-tab=membership] #subscriber-credit-topup{display:none!important}.router-dashboard[data-rt-billing-tab=unlimited] #subscriber-cards,.router-dashboard[data-rt-billing-tab=unlimited] #subscriber-credit-topup,.router-dashboard[data-rt-billing-tab=unlimited] #subscription-builder>h2,.router-dashboard[data-rt-billing-tab=unlimited] #subscription-builder>p:not(.subscriber-message),.router-dashboard[data-rt-billing-tab=unlimited] #subscription-builder>label:has(#subscriber-period){display:none!important}.router-dashboard .rt-native-subscription-slot{min-width:0}.router-dashboard .subscription-cards,[data-router-public] .subscription-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.router-dashboard .subscriber-tier-banner{background:#fffdf7!important;box-shadow:none!important;border:1px solid #d8c48e!important;border-radius:11px!important;color:#503f1b!important;padding:22px!important}.router-dashboard .subscriber-tier-banner h2,.router-dashboard .subscriber-tier-banner p,.router-dashboard .subscriber-tier-banner small{color:#503f1b!important}.router-dashboard .subscriber-tier-actions a{background:#f3e6bd!important;color:#594313!important;border:1px solid #d8c48e!important;border-radius:7px!important;padding:10px 15px!important;font-size:13px!important}
@media(min-width:1100px){[data-router-public] .subscription-cards{grid-template-columns:repeat(4,minmax(0,1fr))!important}}@media(max-width:580px){.router-dashboard .subscription-cards,[data-router-public] .subscription-cards{grid-template-columns:1fr!important}.router-dashboard #subscription-builder,[data-router-public] #subscriber-public-pricing{padding:18px!important}}

/* Shared public header and the native workspace drawer. */
.router-dashboard .side .nav{display:flex!important}.router-dashboard .rp-header{position:relative;color:#171526;font-family:Inter,ui-sans-serif,system-ui,sans-serif}.router-dashboard .rp-menu{min-height:36px;min-width:36px;width:auto;padding:7px 10px;background:#fff;color:#514867;border:1px solid #ded9e9}.router-dashboard .rp-brand,.router-dashboard .rp-nav a,.router-dashboard .rp-header-actions a{text-decoration:none}.router-dashboard .rp-header .rp-button{color:#fff!important;font-size:14px}.rt-public .rp-header a,[data-router-public] .rp-header a{font-size:14px}.rt-public .rp-header .rp-brand,[data-router-public] .rp-header .rp-brand{font-size:20px}.rt-public .rp-footer a,[data-router-public] .rp-footer a{text-decoration:none}.rt-public .rp-footer{color:#686577}.rt-public .rp-footer p,[data-router-public] .rp-footer p{color:#686577}.rt-public .rp-footer h3,[data-router-public] .rp-footer h3{font-size:13px;color:#171526}.router-dashboard .rp-nav a{color:#555064}@media(max-width:740px){.router-dashboard .rp-header{min-height:64px;padding-inline:16px}.router-dashboard .rp-header .rp-header-actions>.rp-button{display:none}.router-dashboard .rp-header .rp-menu{width:auto!important}.router-dashboard .side .nav{padding-top:0}}
@media(max-width:380px){.rt-public .rp-header,[data-router-public] .rp-header,.router-dashboard .rp-header{padding-inline:14px;gap:12px}.rt-public .rp-header .rp-brand,[data-router-public] .rp-header .rp-brand,.router-dashboard .rp-header .rp-brand{font-size:16px;gap:7px}.rt-public .rp-header-actions,[data-router-public] .rp-header-actions{gap:9px}}

/* Match native public pages to the shared shell without changing controllers. */
[data-router-public] .rp-menu{color:var(--rt-ink)!important;background:#fff;border-color:var(--rt-line);font-size:18px;width:auto;min-width:40px;margin:0}
[data-router-public] .step{grid-template-columns:42px minmax(0,1fr)}
[data-router-public] .step>div{min-width:0}
[data-router-public] .step pre{max-width:100%;overflow:auto;overflow-wrap:anywhere}
[data-router-public] .step h3,[data-router-public] .step p{overflow-wrap:anywhere}
[data-router-public] .number{background:var(--rt-accent)}
[data-router-public]>.top:has(h1){background:var(--rt-bg);color:var(--rt-ink);border-bottom:1px solid var(--rt-line);padding:48px 24px 30px}
[data-router-public]>.top:has(h1) h1{font-size:clamp(30px,4vw,42px);line-height:1.15;letter-spacing:-1.5px;max-width:750px}
[data-router-public]>.top:has(h1) p,[data-router-public]>.top:has(h1) .status-strip{color:var(--rt-muted);font-size:15px}
[data-router-public] .mp-pricing-hero{width:min(1240px,calc(100% - 48px));padding-block:36px 20px;min-height:0}
[data-router-public] .mp-pricing-hero h1{font-size:38px;line-height:1.15}
[data-router-public] #subscriber-public-pricing{width:min(1240px,calc(100% - 48px));max-width:1240px!important;margin:20px auto 50px!important;padding:0!important;background:transparent!important;border:0!important;box-sizing:border-box}
[data-router-public] #subscriber-public-pricing>.premium-badge{display:none}
[data-router-public] #subscriber-public-pricing>h2{font-size:26px!important;line-height:1.25;margin:0 0 10px!important}
[data-router-public] #subscriber-public-pricing>.premium-intro{font-size:16px!important;font-weight:500!important;line-height:1.6;margin:0 0 10px!important}
[data-router-public] #subscriber-public-pricing>p{font-size:14px;max-width:900px;margin:0 0 18px;line-height:1.65}
[data-router-public] #subscriber-public-pricing .subscription-card{padding:22px!important}
[data-router-public] #subscriber-public-pricing .subscription-price{font-size:30px!important}
[data-router-public] #subscriber-public-pricing .subscription-card p,[data-router-public] #subscriber-public-pricing .subscription-card li{font-size:13px;line-height:1.65}
[data-router-public] #subscriber-public-pricing .premium-explain{margin-block:28px;padding:24px}
body[data-router-public]:has(.hero .visual) .hero{max-width:1240px;width:calc(100% - 48px);margin:auto;padding:52px 0;gap:48px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body[data-router-public]:has(.hero .visual) .hero h1{font-size:clamp(32px,4vw,48px);line-height:1.12;letter-spacing:-1.7px;font-weight:730}
body[data-router-public]:has(.hero .visual) .lead{font-size:16px;color:var(--rt-muted);margin:20px 0 24px}
body[data-router-public]:has(.hero .visual) .eyebrow{font-size:11px;letter-spacing:1.1px;color:var(--rt-accent);font-weight:750}
body[data-router-public]:has(.hero .visual) .button{background:var(--rt-accent);font-size:13px;font-weight:650;border-color:var(--rt-accent);border-radius:8px;min-height:42px;padding:10px 15px}
body[data-router-public]:has(.hero .visual) .button.secondary{background:#fff;border-color:var(--rt-line);color:var(--rt-ink)}
body[data-router-public]:has(.hero .visual) .visual{border-color:var(--rt-line);border-radius:12px;box-shadow:0 14px 40px #35235b0a}
body[data-router-public]:has(.hero .visual) .visual header{font-weight:650;font-size:14px;border-color:var(--rt-line)}
body[data-router-public]:has(.hero .visual) .workspace{min-height:320px;grid-template-columns:110px minmax(0,1fr)}
body[data-router-public]:has(.hero .visual) .workspace .main{min-width:0;padding:22px}
body[data-router-public]:has(.hero .visual) .workspace h2{font-size:20px;line-height:1.35;margin:14px 0}
body[data-router-public]:has(.hero .visual) .workspace .side{background:#241e35;color:#eee8fa}
body[data-router-public]:has(.hero .visual) .workspace .side span:first-of-type{background:#49396a}
body[data-router-public]:has(.hero .visual) .workspace p{font-size:13px;color:var(--rt-muted)}
body[data-router-public]:has(.hero .visual) .progress{background:#f8f5ff;border-color:#e3d9f5;font-size:13px;margin-top:20px}
body[data-router-public]:has(.hero .visual) .bar{background:#e9dff9}body[data-router-public]:has(.hero .visual) .bar i{background:var(--rt-accent)}
body[data-router-public]:has(.hero .visual) .band{max-width:1240px;width:calc(100% - 48px);margin:0 auto;padding:42px 0;border-color:var(--rt-line);background:transparent}
body[data-router-public]:has(.hero .visual) .band h2{font-size:28px;line-height:1.25;margin-bottom:24px;letter-spacing:-.8px}
body[data-router-public]:has(.hero .visual) .card{border-radius:12px;border-color:var(--rt-line)}
body[data-router-public]:has(.hero .visual) .card.production{border:1px solid #cbb9ef;background:#faf8ff}
body[data-router-public]:has(.hero .visual) .card.alpha{border:1px solid #e2c797;background:#fffdf7}
body[data-router-public]:has(.hero .visual) .version{background:var(--rt-accent);font-weight:650}
@media(max-width:880px){body[data-router-public]:has(.hero .visual) .hero{grid-template-columns:1fr;gap:28px}body[data-router-public]:has(.hero .visual) .hero h1{max-width:650px}body[data-router-public]:has(.hero .visual) .visual{max-width:650px}}
@media(max-width:600px){[data-router-public] #subscriber-public-pricing{width:calc(100% - 32px);padding:0!important;margin-top:8px!important}[data-router-public] .mp-pricing-hero{width:calc(100% - 32px);padding-block:28px 16px}[data-router-public] .mp-pricing-hero h1{font-size:32px}[data-router-public] #subscriber-public-pricing>h2{font-size:24px!important}[data-router-public]>.top:has(h1){padding:30px 16px 22px}body[data-router-public]:has(.hero .visual) .hero{width:calc(100% - 32px);padding:32px 0}body[data-router-public]:has(.hero .visual) .hero h1{font-size:34px}body[data-router-public]:has(.hero .visual) .workspace{grid-template-columns:86px minmax(0,1fr);min-height:290px}body[data-router-public]:has(.hero .visual) .workspace .main{padding:16px}body[data-router-public]:has(.hero .visual) .workspace h2{font-size:17px}body[data-router-public]:has(.hero .visual) .workspace .side{padding:14px 8px;font-size:12px}body[data-router-public]:has(.hero .visual) .band{width:calc(100% - 32px);padding:30px 0}body[data-router-public]:has(.hero .visual) .band h2{font-size:25px}}
