/* S1 admin design tokens and responsive application shell. No external fonts/assets. */
.agency-disclosure{border-top:1px solid #dce5df;padding-top:16px;margin-top:20px}.agency-disclosure summary{cursor:pointer;font-weight:600;color:#28634e}.agency-member{padding:20px 0;border-bottom:1px solid #dce5df}.agency-member>span{display:block;margin-top:8px}.platform-facts{display:grid;grid-template-columns:140px 1fr;gap:16px;margin-top:28px;line-height:1.7}.platform-facts dt{color:#64756d}.platform-facts dd{margin:0;overflow-wrap:anywhere}.platform-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.platform-link{border:1px solid #dce5df;padding:20px;border-radius:10px;text-decoration:none;display:grid;gap:8px}.platform-link:hover{background:#edf5ef}.platform-link span{font-size:13px;color:#64756d}
@media(max-width:760px){.platform-facts{grid-template-columns:1fr;gap:8px}.platform-facts dd{margin-bottom:10px}.platform-links{grid-template-columns:1fr}}
:root{--ink:#203c34;--muted:#64756d;--green:#28634e;--green-light:#edf5ef;--border:#dce5df;--paper:#fff;--bg:#f3f6f3;--danger:#a34835;font-family:"Microsoft YaHei UI","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-size:15px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}a{color:inherit}button{border:1px solid transparent;border-radius:8px;padding:10px 17px;cursor:pointer;line-height:1.5;font-weight:500;transition:background .15s}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #9cbfae;outline-offset:3px}.primary{background:var(--green);color:white}.primary:hover{background:#1c513e}.secondary{background:white;border-color:var(--border);color:var(--ink)}.secondary:hover{background:#eef4ef}.quiet,.text-button{background:transparent;color:var(--green)}.quiet:hover,.text-button:hover{background:var(--green-light)}.text-button{padding-left:0;text-align:left}.danger{background:#fff8f5;border-color:#e6cfc6;color:var(--danger)}.danger:hover{background:#fbece6}.actions{display:flex;flex-wrap:wrap;gap:10px}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;background:var(--paper);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:22px;letter-spacing:1px;font-weight:700;white-space:nowrap}.brand-mark{display:grid;place-items:center;background:var(--green);color:white;width:38px;height:38px;border-radius:10px;font-size:22px}.brand-label{font-size:13px;font-weight:400;letter-spacing:0;color:var(--muted);border-left:1px solid var(--border);padding-left:16px;margin-left:6px}.topbar-actions{display:flex;align-items:center;gap:18px}.app-shell{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:calc(100vh - 76px)}.sidebar{position:sticky;top:76px;height:calc(100vh - 76px);background:#1e4037;color:#dbe9e1;padding:30px 16px 22px;display:flex;flex-direction:column}.workspace-label{font-size:13px;display:flex;gap:9px;align-items:center;margin:0 8px 30px}.workspace-dot{width:7px;height:7px;border-radius:50%;background:#9ec6aa}.nav-group{display:block;font-size:11px;letter-spacing:1px;color:#9bb4a8;margin:24px 14px 10px}.nav-group:first-child{margin-top:0}#module-nav a{display:flex;align-items:center;gap:12px;padding:13px 14px;margin:4px 0;text-decoration:none;border-radius:8px;font-size:14px;color:#c1d4c8}#module-nav a:hover{background:#2d4e43}#module-nav a.selected{background:#edf5ed;color:#214735;font-weight:650}.nav-icon{display:grid;place-items:center;width:20px;height:20px;flex-shrink:0}.nav-icon svg{width:20px;height:20px}.nav-count{font-size:11px;background:#ffffff20;border-radius:5px;padding:1px 6px;margin-left:auto}.selected .nav-count{background:#d7e8d7}.sidebar-note{margin-top:auto;padding:28px 14px 0;border-top:1px solid #ffffff15;font-size:12px}.sidebar-note strong,.sidebar-note span{display:block}.sidebar-note span{color:#9bb4a8;margin-top:8px}.workspace{min-width:0;max-width:1440px;width:100%;padding:0 38px 24px;margin:0 auto}.context-bar{display:flex;align-items:center;gap:24px;padding:20px 0;border-bottom:1px solid var(--border);min-height:88px}.context-field{display:flex;align-items:center;gap:10px;margin:0;font-size:12px;color:var(--muted);min-width:0}.context-field select{margin:0;min-width:150px;max-width:285px;width:auto;padding:8px 28px 8px 10px;background:#fff;font-size:13px}.context-bar>button{margin-left:auto;white-space:nowrap;font-size:13px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:30px 0 24px}.eyebrow{display:block;font-size:11px;letter-spacing:1.5px;color:#6f877b;font-weight:500}h1{font-size:30px;line-height:1.4;letter-spacing:.5px;font-weight:650;margin:7px 0 10px}h1:focus{outline:none}h2{font-size:19px;line-height:1.5;font-weight:650;margin:0 0 12px}h3{font-size:16px;margin:24px 0 12px}p{font-size:14px;line-height:1.8;margin:10px 0;color:var(--muted)}.page-heading p{margin:0}.scope-label{font-size:12px;background:#e7eee7;color:#4f6b5b;border-radius:6px;padding:7px 10px;white-space:nowrap}.hint{font-size:12px;line-height:1.75;color:var(--muted)}.card{background:var(--paper);border:1px solid var(--border);border-radius:12px;padding:24px;min-width:0}#module-content>*,#companion-panel>*,[data-subview]>*{margin-bottom:20px}#module-content>*:last-child{margin-bottom:0}.section-description{margin:0 0 22px;font-size:13px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.metric{background:white;padding:22px 24px;border:1px solid var(--border);border-radius:12px}.metric-label{font-size:13px;color:var(--muted)}.metric strong{display:block;font-size:36px;font-weight:600;line-height:1.35;margin:8px 0;font-variant-numeric:tabular-nums}.metric small{font-size:12px;color:#718277}.overview-intro{background:#e8efe5;border:0;position:relative;padding:28px 30px;display:grid;grid-template-columns:1fr auto;column-gap:20px}.overview-intro h2{font-size:24px;grid-column:1}.overview-intro p{margin:0 0 18px;grid-column:1}.overview-intro .eyebrow{grid-column:1}.overview-intro button{grid-column:2;grid-row:1/4;align-self:center}.shortcut-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.shortcut{display:flex;flex-direction:column;gap:6px}.step-number{color:#90a999;font-size:13px;font-weight:500;margin-bottom:12px}.shortcut h2{font-size:18px;margin-bottom:0}.shortcut p{font-size:13px;flex:1}.shortcut button{align-self:flex-start;font-size:13px}.table-wrap{width:100%;max-width:100%;overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left;white-space:normal}th{font-size:12px;font-weight:500;color:#667b70;background:#f5f8f4;padding:13px 16px}td{padding:18px 16px;border-bottom:1px solid #edf1ed;color:#3d584b;line-height:1.65;overflow-wrap:anywhere}th:first-child{border-radius:7px 0 0 7px}th:last-child{border-radius:0 7px 7px 0}tr:last-child td{border-bottom:0}.status{display:inline-flex;align-items:center;border-radius:5px;background:#eff2ee;color:#66756c;padding:4px 8px;font-size:12px;white-space:nowrap}.status.active,.status.confirmed{background:#edf5ec;color:#3d6e43}.status.revoked,.status.withdrawn{background:#faefea;color:#9c604a}.status.pending,.status.unclaimed{background:#f8f1df;color:#8b6b2a}.section-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px}.device-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.device-heading{display:flex;align-items:center;gap:18px;margin-bottom:24px}.device-heading h2{margin-bottom:8px;font-size:18px}.device-mini{width:50px;height:68px;border:5px solid #c6d0c2;border-radius:7px;background:#e8edde;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;flex-shrink:0}.device-mini span{font-size:10px;color:#74806b}.device-mini b{font-size:15px;font-weight:500;color:#61735d}.key-values{display:grid;grid-template-columns:85px minmax(0,1fr);gap:10px;margin:0 0 24px;font-size:12px;line-height:1.7}.key-values dt{color:#77877d}.key-values dd{margin:0;overflow-wrap:anywhere}.device-card .actions button{font-size:12px;padding:8px 10px}.disclosure{margin-top:22px;padding-top:18px;border-top:1px solid var(--border)}summary{cursor:pointer;font-weight:600;font-size:15px;line-height:1.7}summary:hover{color:var(--green)}details[open]>summary{margin-bottom:18px}.disclosure button{font-size:12px;margin:8px 8px 0 0}.empty-state{text-align:center;padding:42px 24px}.empty-symbol{font-size:28px;color:#8da797;margin-bottom:12px}.empty-state p{max-width:420px;margin:8px auto 24px}.empty-inline{padding:36px 16px;text-align:center;color:var(--muted);font-size:14px}.loading{padding:50px;text-align:center}.editor-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);gap:20px;align-items:start}.persona-preview{background:#edf2e9;text-align:center;padding:36px 28px}.avatar{width:62px;height:62px;display:grid;place-items:center;background:#cbdcc4;border-radius:20px;margin:0 auto 18px;font-size:25px;color:#4a714c}.persona-name{display:block;font-size:24px;margin-bottom:14px}.persona-preview p{margin:24px 0}.history-row{display:flex;justify-content:space-between;gap:18px;align-items:center;border-top:1px solid var(--border);padding:16px 0;font-size:13px}.memory-row{padding:24px 0;border-bottom:1px solid var(--border)}.memory-row:last-child{border:0}.memory-row p{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink);margin:14px 0}.memory-row button{font-size:12px}#memory-list+select{max-width:220px}label{display:block;font-size:13px;line-height:1.6;margin:0 0 20px;color:#395548}input,select,textarea{display:block;width:100%;margin-top:8px;padding:11px 13px;border:1px solid #cfdcd1;border-radius:7px;background:#fcfdfb;color:var(--ink);font-size:14px;line-height:1.5}input:focus,select:focus,textarea:focus{outline:2px solid #9bb9a1;outline-offset:1px}input::placeholder,textarea::placeholder{color:#94a096}textarea{resize:vertical}form{max-width:620px;margin:22px 0 0}form .primary{min-width:140px}form>.hint{margin-bottom:20px}.check-label{display:flex;align-items:center;gap:10px;flex-direction:row-reverse;justify-content:flex-end}.check-label input{width:17px;height:17px;margin:0;accent-color:var(--green)}.subnav{display:flex;gap:6px;border-bottom:1px solid var(--border);margin-bottom:24px;overflow:auto;padding-bottom:0}.subnav button{white-space:nowrap;border-radius:0;border-bottom:3px solid transparent;padding:12px 18px;color:#6a8073;font-size:13px}.subnav button.selected{color:var(--green);border-bottom-color:var(--green);font-weight:600}.billing-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.billing-product .price{font-size:30px;line-height:1.4;color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums;margin:18px 0}.billing-product p:last-child{font-size:12px}.billing-order{padding:24px 0;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.billing-order:last-child{border:0}.billing-order details{margin-top:16px;border-top:1px dashed var(--border);padding-top:14px}.billing-order details summary{font-size:13px}[data-subview=settings] form+form{border-top:1px solid var(--border);padding-top:16px}footer{font-size:11px;color:#8a9b8e;text-align:center;padding:34px 0 0}.auth-layout{display:grid;grid-template-columns:1fr 420px;gap:80px;max-width:1040px;margin:60px auto;align-items:center;padding:20px}.intro h1{font-size:40px;line-height:1.6}.device-art{width:170px;height:200px;background:#cbd5c8;padding:12px;border-radius:14px;margin:30px 0;transform:rotate(-5deg)}.screen{height:100%;background:#e7e9dc;padding:18px 12px;border:1px solid #8f9b86;display:flex;flex-direction:column;justify-content:space-between;font-size:11px}.screen strong{font-size:16px}.tabs{display:flex;gap:16px;border-bottom:1px solid var(--border);margin-bottom:24px}.tabs button{background:none;border-radius:0;border-bottom:3px solid transparent;padding:10px 0;font-size:14px;color:var(--muted)}.tabs .selected{border-bottom-color:var(--green);color:var(--green)}.auth-form .primary{width:100%}.code-row{display:flex;gap:10px;align-items:center}.code-row input{min-width:0}.code-row button{white-space:nowrap;margin-top:8px;font-size:12px;padding:12px}dialog{border:1px solid var(--border);border-radius:14px;padding:28px;width:min(560px,calc(100vw - 32px));color:var(--ink)}dialog::backdrop{background:#162f2b80}dialog textarea{font:12px/1.6 monospace;margin:20px 0}#notice:empty{display:none}#notice:not(:empty){position:fixed;top:86px;right:26px;z-index:50;max-width:min(500px,calc(100vw - 32px));border:1px solid #bcd5bf;background:#edf7ed;box-shadow:0 8px 30px #183c2918;padding:14px 18px;border-radius:9px;font-size:13px;line-height:1.7}#notice.error{background:#fff3ec;border-color:#e4baa5;color:#91462e}[hidden]{display:none!important}
@media(min-width:1500px){.workspace{padding-left:50px;padding-right:50px}}
@media(max-width:1120px){.app-shell{grid-template-columns:190px minmax(0,1fr)}.workspace{padding:0 24px 20px}.context-bar{gap:12px;flex-wrap:wrap}.context-field select{max-width:230px}.device-list{grid-template-columns:1fr}.shortcut-grid{gap:12px}.shortcut{padding:20px}.editor-layout{grid-template-columns:minmax(0,1fr) minmax(220px,.8fr)}}
@media(max-width:760px){.topbar{height:64px;padding:0 16px}.brand{font-size:18px;gap:9px}.brand-mark{width:32px;height:32px;font-size:19px}.brand-label,#account-role{display:none}.topbar-actions{gap:0}.topbar-actions button{font-size:12px;padding:8px}.app-shell{display:block;min-height:calc(100vh - 64px)}.sidebar{position:sticky;top:64px;z-index:15;width:100%;height:auto;padding:8px 10px;background:#1e4037;display:block}.workspace-label,.nav-group,.sidebar-note,.nav-count{display:none}#module-nav{display:flex;overflow-x:auto;gap:4px;scrollbar-width:thin}#module-nav a{white-space:nowrap;margin:0;padding:10px 12px;font-size:13px;gap:7px}#operator-nav{display:contents}.nav-icon{width:16px;height:16px}.nav-icon svg{width:16px;height:16px}.workspace{padding:0 16px 20px}.context-bar{gap:10px;padding:16px 0}.context-field{font-size:11px;gap:6px}.context-field select{font-size:12px;min-width:130px;max-width:220px}.context-bar>button{font-size:11px;padding:8px 10px}.context-field#device-context{order:3;flex-basis:100%}.context-field#device-context select{flex:1;max-width:none}.page-heading{padding:22px 0 20px}.page-heading h1{font-size:26px}.page-heading p{font-size:12px}.scope-label{display:none}.metric-grid{gap:9px}.metric{padding:16px 11px}.metric strong{font-size:29px}.metric small{font-size:10px}.metric-label{font-size:11px}.card{padding:20px}.overview-intro{display:block;padding:22px}.overview-intro h2{font-size:21px}.overview-intro button{margin-top:20px}.shortcut-grid{grid-template-columns:1fr}.shortcut{position:relative;padding-left:64px;gap:0}.shortcut .step-number{position:absolute;top:24px;left:22px}.shortcut p{margin:8px 0}.shortcut h2{font-size:17px}.shortcut button{padding-top:4px;padding-bottom:4px}.editor-layout{grid-template-columns:1fr}.persona-preview{padding:26px}.history-row{flex-wrap:wrap}.billing-products{grid-template-columns:1fr;gap:12px}.subnav{gap:0}.subnav button{font-size:12px;padding:12px}.table-wrap table{min-width:520px}th,td{padding:12px;font-size:12px}.auth-layout{grid-template-columns:1fr;gap:24px;max-width:450px;margin:24px auto;padding:16px}.intro{display:none}.auth-card{padding:24px}.tabs{gap:20px}#notice:not(:empty){top:126px;right:16px}.device-heading h2{font-size:17px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.daily-metrics{margin-top:24px;border-top:1px solid var(--border);padding-top:20px}.daily-metrics .metric{border:0;background:#f5f8f3;padding:16px 20px}.daily-metrics .metric strong{font-size:26px}
@media(max-width:760px){#module-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:4px}#module-nav a{justify-content:center;padding:10px 5px;font-size:12px;gap:5px}.daily-metrics{gap:8px}.daily-metrics .metric{padding:12px 8px}.daily-metrics .metric strong{font-size:19px}.daily-metrics .metric small{font-size:10px}#notice:not(:empty){top:180px}}

@media(max-width:760px){.subnav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:0}.subnav button{padding:10px 4px;text-align:center}}

.brand-logo{display:block;width:40px;height:40px;flex-shrink:0;object-fit:contain;border-radius:9px}.about-logo{display:block;object-fit:contain;margin:0 0 20px}.filing-list{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 18px;line-height:1.9;margin-top:12px}.filing-list>span{max-width:100%;overflow-wrap:anywhere}.filing-list a{text-underline-offset:3px}.filing-detail{display:grid;justify-content:start;gap:12px;font-size:14px;color:var(--ink);margin-top:20px}
@media(max-width:760px){.brand-logo{width:32px;height:32px}.filing-list{display:grid;justify-content:center;gap:6px}.filing-detail{justify-content:start;font-size:12px;gap:12px}footer{font-size:11px;line-height:1.8}}

/* Operation timestamps must remain readable on narrow screens. */
@media(max-width:760px){.ops-metrics{grid-template-columns:1fr}.ops-metrics .metric strong{font-size:26px;overflow-wrap:anywhere}}
