:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--canvas: #f6f8f7;--surface: #ffffff;--surface-muted: #f2f5f3;--surface-hover: #f7faf8;--ink: #1b2923;--ink-soft: #516059;--ink-faint: #78867e;--line: #dce5df;--line-strong: #c8d6ce;--brand: #16845f;--brand-strong: #0f6f4e;--brand-soft: #e8f5ee;--blue: #247d94;--blue-soft: #e8f4f7;--coral: #bd5d4a;--coral-soft: #fbedeb;--gold: #aa7412;--gold-soft: #fbf3df;--shadow-sm: 0 1px 2px rgba(24, 42, 33, .04), 0 2px 8px rgba(24, 42, 33, .03);--shadow-lg: 0 20px 52px rgba(20, 43, 32, .18), 0 3px 10px rgba(20, 43, 32, .08)}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px;background:var(--canvas);color:var(--ink);font-size:14px;line-height:1.45}button,input,select,textarea{font:inherit}button{border:0}button:not(:disabled),select:not(:disabled),input[type=checkbox]:not(:disabled){cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid rgba(36,125,148,.27);outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.54}code,pre{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace}.app-shell{display:grid;grid-template-columns:auto minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;display:flex;width:264px;height:100vh;min-height:560px;flex-direction:column;padding:18px 14px 14px;overflow:hidden;background:#fbfcfb;border-right:1px solid var(--line);transition:width .18s ease,padding .18s ease;z-index:10}.sidebar-collapsed{width:76px;padding-right:12px;padding-left:12px}.brand-row{display:flex;min-width:0;min-height:42px;align-items:center;justify-content:space-between;gap:8px;margin-bottom:24px}.brand{display:inline-flex;min-width:0;align-items:center;gap:10px}.brand-mark{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;color:#fff;background:var(--brand);border-radius:7px;box-shadow:0 3px 8px #16845f33}.brand>div:last-child{display:grid;min-width:0;gap:0}.brand strong{color:var(--ink);font-size:15px;font-weight:760;line-height:1.15;letter-spacing:0}.brand span{overflow:hidden;color:var(--ink-faint);font-size:11px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.main-nav{display:grid;gap:3px}.nav-item{display:grid;width:100%;min-width:0;min-height:40px;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 10px;overflow:hidden;color:var(--ink-soft);text-align:left;background:transparent;border:1px solid transparent;border-radius:6px;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.nav-item:hover{color:var(--ink);background:var(--surface-muted)}.nav-item.active{color:var(--brand-strong);background:var(--brand-soft);border-color:#cce7d9;font-weight:680}.nav-item span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-item small{min-width:20px;padding:1px 5px;color:var(--ink-faint);font-size:11px;font-weight:650;line-height:18px;text-align:center;background:#1b29230e;border-radius:4px}.nav-item.active small{color:var(--brand-strong);background:#d7eddf}.sidebar-collapsed .brand-row{justify-content:center;margin-bottom:24px}.sidebar-collapsed .nav-item{display:grid;grid-template-columns:20px;place-content:center;padding:0}.sidebar-collapsed .sidebar-bottom{align-items:center}.sidebar-collapsed .runtime-chip,.sidebar-collapsed .profile-row{justify-content:center;padding-inline:0}.sidebar-bottom{display:grid;gap:10px;margin-top:auto}.runtime-chip{display:flex;min-height:32px;align-items:center;gap:8px;padding:0 10px;overflow:hidden;color:var(--ink-faint);font-size:12px;white-space:nowrap;background:var(--surface-muted);border:1px solid #e3ebe6;border-radius:6px}.status-dot{display:inline-block;width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--ink-faint)}.status-dot.active{background:var(--brand);box-shadow:0 0 0 3px #16845f21}.profile-row{display:grid;width:100%;min-width:0;grid-template-columns:30px minmax(0,1fr) 16px;align-items:center;gap:9px;padding:8px 7px;color:var(--ink-soft);text-align:left;background:transparent;border-radius:6px}.profile-row:hover{background:var(--surface-muted)}.profile-avatar,.account-avatar,.account-symbol{display:grid;place-items:center;color:var(--brand-strong);font-weight:760;background:var(--brand-soft);border:1px solid #cce7d9;border-radius:6px}.profile-avatar{width:30px;height:30px;font-size:11px}.profile-copy{display:grid;min-width:0}.profile-copy strong,.profile-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-copy strong{color:var(--ink);font-size:12px}.profile-copy small{color:var(--ink-faint);font-size:11px}.workspace{min-width:0}.topbar{position:sticky;top:0;display:flex;min-height:66px;align-items:center;justify-content:space-between;gap:20px;padding:0 32px;background:#f6f8f7f2;border-bottom:1px solid rgba(220,229,223,.9);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:8}.breadcrumb,.topbar-actions,.sync-label,.live-summary,.heading-stats,.toolbar,.code-command,.integration-copy,.modal-actions,.warning-row,.secret-panel,.toggle-line,.oauth-status,.oauth-panel{display:flex;align-items:center}.breadcrumb{min-width:0;gap:7px;color:var(--ink-faint);font-size:13px}.breadcrumb>span,.breadcrumb strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breadcrumb strong{color:var(--ink);font-weight:680}.topbar-actions{flex:0 0 auto;gap:9px}.sync-label{gap:6px;color:var(--ink-faint);font-size:12px;white-space:nowrap}.page-content{width:min(100%,1560px);margin:0 auto;padding:30px 32px 48px}.page-heading{margin-bottom:22px}.split-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.page-heading h1,.page-heading h2,.surface h2,.guide-surface h2,.key-integration h2,.modal h2,.unlock-heading h1,.empty-content h2{margin:0;color:var(--ink);letter-spacing:0}.page-heading h1{margin-top:4px;font-size:25px;font-weight:760;line-height:1.2}.page-heading p,.surface-heading p,.guide-surface p,.key-integration p,.unlock-heading p,.modal-header p,.oauth-panel p{margin:6px 0 0;color:var(--ink-faint)}.page-heading p{max-width:620px;font-size:13px}.eyebrow{color:var(--brand-strong);font-size:11px;font-weight:760;letter-spacing:0;text-transform:uppercase}.live-summary{flex:0 0 auto;gap:8px;padding:8px 10px;color:var(--brand-strong);font-size:12px;font-weight:650;white-space:nowrap;background:var(--brand-soft);border:1px solid #cce7d9;border-radius:6px}.heading-stats{flex-wrap:wrap;justify-content:flex-end;gap:9px;color:var(--ink-faint);font-size:12px}.heading-stats span{padding:7px 9px;background:var(--surface);border:1px solid var(--line);border-radius:5px}.heading-stats strong{color:var(--ink);font-size:14px}.primary-button,.secondary-button,.link-button,.icon-button,.copy-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:680;text-decoration:none;transition:background-color .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease,transform .14s ease}.primary-button,.secondary-button,.copy-button{min-height:36px;padding:0 12px;border-radius:6px}.primary-button{color:#fff;background:var(--brand);box-shadow:0 1px 2px #0f6f4e38}.primary-button:hover:not(:disabled){background:var(--brand-strong);box-shadow:0 3px 8px #0f6f4e2e}.primary-button:active:not(:disabled){transform:translateY(1px)}.secondary-button,.copy-button{color:var(--ink-soft);background:var(--surface);border:1px solid var(--line-strong)}.secondary-button:hover:not(:disabled),.copy-button:hover:not(:disabled){color:var(--ink);background:var(--surface-hover);border-color:#aebfb4}.link-button{min-height:28px;padding:2px 0;color:var(--brand-strong);font-size:12px;background:transparent}.link-button:hover{color:#09563c}.icon-button{width:34px;height:34px;flex:0 0 34px;padding:0;color:var(--ink-soft);background:transparent;border:1px solid transparent;border-radius:6px}.icon-button:hover:not(:disabled){color:var(--ink);background:var(--surface-muted);border-color:var(--line)}.icon-button.danger:hover:not(:disabled){color:var(--coral);background:var(--coral-soft);border-color:#f1cec7}.full-button{width:100%}.flip-x{transform:scaleX(-1)}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px}.metric-card{display:grid;min-width:0;grid-template-columns:40px minmax(0,1fr);gap:12px;padding:15px;background:var(--surface);border:1px solid var(--line);border-radius:7px;box-shadow:var(--shadow-sm)}.metric-icon{display:grid;width:40px;height:40px;place-items:center;border-radius:6px}.metric-card>div:last-child{display:grid;min-width:0;align-content:center}.metric-card span,.metric-card small{overflow:hidden;color:var(--ink-faint);text-overflow:ellipsis;white-space:nowrap}.metric-card span{font-size:12px}.metric-card strong{margin:2px 0;color:var(--ink);font-size:21px;font-weight:750;letter-spacing:0;line-height:1.15}.metric-card small{font-size:11px}.tone-green .metric-icon{color:var(--brand-strong);background:var(--brand-soft)}.tone-blue .metric-icon{color:var(--blue);background:var(--blue-soft)}.tone-orange .metric-icon{color:var(--gold);background:var(--gold-soft)}.tone-pink .metric-icon{color:var(--coral);background:var(--coral-soft)}.overview-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.9fr);gap:14px;margin-top:14px}.lower-grid{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr)}.surface{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:7px;box-shadow:var(--shadow-sm)}.surface-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 19px 0}.surface-heading h2,.guide-surface h2,.key-integration h2{font-size:14px;font-weight:740;line-height:1.3}.surface-heading p,.guide-surface p,.key-integration p{font-size:12px;line-height:1.5}.soft-pill{flex:0 0 auto;padding:4px 7px;color:var(--ink-soft);font-size:11px;font-weight:650;white-space:nowrap;background:var(--surface-muted);border:1px solid #e1e9e4;border-radius:5px}.soft-pill.green{color:var(--brand-strong);background:var(--brand-soft);border-color:#cce7d9}.chart-surface,.capacity-surface,.activity-surface{min-height:326px}.chart-wrap{height:260px;padding:5px 14px 14px 9px}.capacity-list{display:grid;gap:0;padding:7px 19px 10px}.capacity-row{display:grid;min-width:0;grid-template-columns:30px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #edf1ee}.capacity-row:last-child{border-bottom:0}.account-symbol{width:30px;height:30px;font-size:12px}.capacity-main{display:grid;min-width:0;gap:6px}.capacity-main>div:first-child{display:flex;min-width:0;justify-content:space-between;gap:8px}.capacity-main strong,.capacity-main span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.capacity-main strong{color:var(--ink);font-size:12px;font-weight:680}.capacity-main span{color:var(--ink-faint);font-size:11px}.meter{height:5px;overflow:hidden;background:#e8eeea;border-radius:4px}.meter i{display:block;min-width:2px;height:100%;background:var(--brand);border-radius:inherit}.capacity-count{min-width:30px;color:var(--ink);font-size:12px;font-weight:700;text-align:right}.capacity-count small{color:var(--ink-faint);font-size:10px;font-weight:600}.recent-list{display:grid;padding:7px 19px 10px}.recent-row{display:grid;min-width:0;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #edf1ee}.recent-row:last-child{border-bottom:0}.recent-row>div{display:grid;min-width:0}.recent-row strong,.recent-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-row strong{color:var(--ink);font-size:12px;font-weight:670}.recent-row small,.request-latency{color:var(--ink-faint);font-size:11px}.request-state{display:grid;width:25px;height:25px;place-items:center;border-radius:5px}.request-state.ok{color:var(--brand-strong);background:var(--brand-soft)}.request-state.failed{color:var(--coral);background:var(--coral-soft)}.guide-surface{display:flex;min-width:0;flex-direction:column;align-items:flex-start;padding:22px;background:#eef7f3;border:1px solid #cee7da;border-radius:7px}.guide-icon,.integration-icon{display:grid;place-items:center;color:var(--brand-strong);background:#fff;border:1px solid #cce7d9;border-radius:6px}.guide-icon{width:38px;height:38px;margin-bottom:16px}.guide-surface p{max-width:370px}.endpoint-code{display:inline-block;max-width:100%;margin:16px 0;padding:7px 9px;overflow:hidden;color:#2e6651;font-size:12px;text-overflow:ellipsis;white-space:nowrap;background:#ffffffad;border:1px solid #cce7d9;border-radius:5px}.guide-surface .secondary-button{margin-top:auto}.empty-pool{display:grid;min-height:330px;grid-template-columns:minmax(150px,.5fr) minmax(260px,1.2fr) minmax(210px,.65fr);align-items:center;gap:38px;padding:38px 42px;background:#eff7f3;border:1px solid #cfe5d8;border-radius:7px}.empty-grid-art{display:grid;width:min(100%,178px);aspect-ratio:1;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:8px;justify-self:center;padding:16px;background:#e0f0e7;border:1px solid #c4dfcf;border-radius:7px}.empty-grid-art span{display:block;background:#fafdff;border:1px solid #cae2d4;border-radius:4px}.empty-grid-art span:nth-child(2),.empty-grid-art span:nth-child(5){background:var(--brand);border-color:var(--brand)}.empty-content h2{margin:5px 0 8px;font-size:21px;font-weight:750;line-height:1.28}.empty-content p{max-width:580px;margin:0;color:var(--ink-soft);font-size:13px;line-height:1.65}.empty-content .primary-button{margin-top:18px}.empty-steps{display:grid;gap:12px}.step{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:9px}.step span{display:grid;width:30px;height:30px;place-items:center;color:var(--brand-strong);font-size:10px;font-weight:760;background:#f9fdfb;border:1px solid #c7e3d3;border-radius:5px}.step strong{color:var(--ink-soft);font-size:12px;font-weight:670}.table-surface{overflow:hidden}.toolbar{min-height:66px;gap:10px;padding:14px 18px;border-bottom:1px solid var(--line)}.toolbar h2{margin:0;color:var(--ink);font-size:14px;font-weight:730}.toolbar p{margin:3px 0 0;color:var(--ink-faint);font-size:12px}.toolbar-spacer{flex:1 1 auto}.search-box{display:flex;width:min(100%,270px);height:36px;align-items:center;gap:8px;padding:0 10px;color:var(--ink-faint);background:var(--surface-muted);border:1px solid transparent;border-radius:6px}.search-box:focus-within{color:var(--brand-strong);background:#fff;border-color:#9fc8b4;box-shadow:0 0 0 3px #16845f1a}.search-box input{width:100%;min-width:0;color:var(--ink);background:transparent;border:0;outline:0}.search-box input::placeholder{color:#97a29c}select,input,textarea{color:var(--ink);background:#fff;border:1px solid var(--line-strong);border-radius:6px;transition:border-color .14s ease,box-shadow .14s ease,background-color .14s ease}select:hover,input:hover,textarea:hover{border-color:#adbbb3}select:focus,input:focus,textarea:focus{border-color:#78b69d;box-shadow:0 0 0 3px #16845f1c;outline:0}.toolbar select{height:36px;padding:0 30px 0 10px;color:var(--ink-soft);font-size:13px}.data-table{overflow-x:auto}.table-head,.table-row{display:grid;min-width:920px;align-items:center}.account-table .table-head,.account-table .table-row{grid-template-columns:minmax(190px,1.8fr) minmax(130px,1.12fr) minmax(115px,.9fr) minmax(130px,1fr) minmax(145px,1.1fr) 116px}.key-table .table-head,.key-table .table-row{grid-template-columns:minmax(170px,1.4fr) minmax(150px,1.15fr) minmax(100px,.72fr) minmax(110px,.8fr) minmax(130px,1fr) 82px}.logs-table .table-head,.logs-table .table-row{grid-template-columns:minmax(120px,.9fr) minmax(190px,1.3fr) minmax(140px,1.05fr) minmax(115px,.8fr) minmax(85px,.65fr) minmax(130px,.95fr)}.table-head{min-height:38px;gap:14px;padding:0 18px;color:var(--ink-faint);font-size:11px;font-weight:720;background:#fafcfb;border-bottom:1px solid var(--line)}.table-row{min-height:68px;gap:14px;padding:9px 18px;border-bottom:1px solid #edf1ee;transition:background-color .13s ease}.table-row:last-child{border-bottom:0}.table-row:hover{background:#fbfdfb}.table-row>div{min-width:0}.table-row strong,.table-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-row strong{color:var(--ink);font-size:12px;font-weight:670}.table-row small{margin-top:2px;color:var(--ink-faint);font-size:11px}.account-cell,.key-name{display:grid;min-width:0;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px}.account-avatar{width:32px;height:32px;font-size:12px}.account-avatar.api{color:var(--blue);background:var(--blue-soft);border-color:#c7e4eb}.provider-label{display:block;overflow:hidden;color:var(--ink-soft);font-size:12px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.schedule-cell strong{font-variant-numeric:tabular-nums}.row-actions{display:flex;justify-content:flex-end;gap:4px}.row-actions .icon-button{width:32px;height:32px;flex-basis:32px}.status-badge{display:inline-flex;max-width:100%;align-items:center;gap:6px;padding:3px 7px;color:var(--ink-soft);font-size:11px;font-weight:680;line-height:17px;white-space:nowrap;background:var(--surface-muted);border-radius:4px}.status-badge i{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:var(--ink-faint)}.status-badge.active{color:var(--brand-strong);background:var(--brand-soft)}.status-badge.active i{background:var(--brand)}.status-badge.cooldown{color:var(--gold);background:var(--gold-soft)}.status-badge.cooldown i{background:var(--gold)}.status-badge.expired,.status-badge.error{color:var(--coral);background:var(--coral-soft)}.status-badge.expired i,.status-badge.error i{background:var(--coral)}.status-badge.disabled{color:var(--ink-faint);background:#eef1ef}.error-note{max-width:100%;color:var(--coral)!important}.key-icon{display:grid;width:32px;height:32px;place-items:center;color:var(--blue);background:var(--blue-soft);border:1px solid #c7e4eb;border-radius:6px}.masked-key{display:block;overflow:hidden;color:var(--ink-soft);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.http-status{display:inline-block;min-width:34px;padding:3px 5px;font-size:11px;font-weight:720;line-height:17px;text-align:center;border-radius:4px}.http-status.success{color:var(--brand-strong);background:var(--brand-soft)}.http-status.failure{color:var(--coral);background:var(--coral-soft)}.table-empty{min-height:170px;padding:38px 24px;color:var(--ink-faint);font-size:13px;line-height:1.7;text-align:center}.table-empty .link-button{margin-left:5px;vertical-align:baseline}.key-integration{justify-content:space-between;gap:20px;margin-bottom:14px;padding:16px 18px;background:#eff7f3;border:1px solid #cfe5d8;border-radius:7px}.integration-copy{min-width:0;gap:12px}.integration-icon{width:38px;height:38px;flex:0 0 38px}.integration-copy>div:last-child{min-width:0}.code-command{max-width:52%;flex:0 1 auto;gap:7px;padding:4px 4px 4px 10px;background:#fff;border:1px solid #cbe2d4;border-radius:6px}.code-command code{min-width:0;overflow:hidden;color:#2e6651;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.code-command .copy-button{min-height:28px;padding:0 8px;flex:0 0 auto;font-size:11px}.routing-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);gap:14px}.routing-map,.settings-summary{min-height:276px}.flow-diagram{display:flex;align-items:stretch;justify-content:space-between;gap:7px;padding:30px 20px 20px}.flow-node{display:grid;min-width:0;flex:1 1 0;justify-items:center;gap:7px;text-align:center}.flow-node>span{display:grid;width:36px;height:36px;place-items:center;color:var(--brand-strong);background:var(--brand-soft);border:1px solid #cce7d9;border-radius:6px}.flow-node strong,.flow-node small{display:block;max-width:125px}.flow-node strong{color:var(--ink);font-size:12px;font-weight:680;line-height:1.35}.flow-node small{color:var(--ink-faint);font-size:11px;line-height:1.42}.flow-arrow{display:grid;align-self:flex-start;width:18px;height:36px;flex:0 0 18px;place-items:center;color:#9aa8a0}.settings-summary{padding-bottom:10px}.setting-line{display:flex;min-height:37px;align-items:center;justify-content:space-between;gap:12px;margin:0 19px;border-bottom:1px solid #edf1ee}.setting-line:last-child{border-bottom:0}.setting-line span{color:var(--ink-faint);font-size:12px}.setting-line strong{color:var(--ink);font-size:12px;font-weight:670;text-align:right}.routing-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px}.note-card{display:grid;min-width:0;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:7px}.note-card>span{display:grid;width:34px;height:34px;place-items:center;color:var(--blue);background:var(--blue-soft);border-radius:6px}.note-card:nth-child(2)>span{color:var(--gold);background:var(--gold-soft)}.note-card:nth-child(3)>span{color:var(--brand-strong);background:var(--brand-soft)}.note-card>div{min-width:0}.note-card h3{margin:0;color:var(--ink);font-size:12px;font-weight:700}.note-card p{margin:4px 0 0;color:var(--ink-faint);font-size:11px;line-height:1.5}.modal-backdrop{position:fixed;inset:0;display:grid;padding:24px;overflow-y:auto;place-items:center;background:#15221c7a;z-index:50}.modal{width:min(100%,586px);max-height:min(790px,calc(100vh - 48px));padding:22px;overflow:auto;background:#fff;border:1px solid rgba(255,255,255,.8);border-radius:8px;box-shadow:var(--shadow-lg)}.modal-wide{width:min(100%,760px)}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.modal-header h2{font-size:18px;font-weight:750;line-height:1.3}.modal-header p{max-width:470px;font-size:12px;line-height:1.55}.modal-tabs{display:flex;gap:3px;margin:0 -2px 18px;padding:3px;overflow-x:auto;background:var(--surface-muted);border-radius:6px}.modal-tab{display:inline-flex;min-width:max-content;min-height:34px;flex:1 0 auto;align-items:center;justify-content:center;gap:7px;padding:0 9px;color:var(--ink-soft);font-size:12px;font-weight:650;background:transparent;border:1px solid transparent;border-radius:5px}.modal-tab:hover{color:var(--ink)}.modal-tab.active{color:var(--brand-strong);background:#fff;border-color:var(--line);box-shadow:0 1px 2px #142b200a}.modal-form{display:grid;gap:15px}.modal-form label{display:grid;gap:7px;color:var(--ink-soft);font-size:12px;font-weight:650}.modal-form input,.modal-form select,.modal-form textarea,.unlock-form input{width:100%;min-height:38px;padding:8px 10px;font-size:13px}.modal-form textarea{min-height:170px;resize:vertical;line-height:1.55}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-help{margin:-1px 0 0;color:var(--ink-faint);font-size:11px;font-weight:400;line-height:1.5}.modal-actions{justify-content:flex-end;gap:9px;margin-top:4px}.oauth-panel{gap:12px;padding:13px;background:var(--surface-muted);border:1px solid var(--line);border-radius:6px}.oauth-symbol{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;color:var(--brand-strong);background:var(--brand-soft);border-radius:6px}.oauth-panel h3{margin:0;color:var(--ink);font-size:13px;font-weight:720}.oauth-panel p{font-size:11px;line-height:1.5}.oauth-status{gap:10px;padding:10px 12px;color:var(--blue);background:var(--blue-soft);border:1px solid #c7e4eb;border-radius:6px}.oauth-status>div{display:grid}.oauth-status strong{color:#1b5d6f;font-size:12px}.oauth-status span{color:#427989;font-size:11px}.toggle-line{justify-content:space-between;gap:16px;padding:11px 12px;background:var(--surface-muted);border:1px solid #e1e9e4;border-radius:6px}.toggle-line>span{display:grid;gap:2px}.toggle-line strong{color:var(--ink);font-size:12px}.toggle-line small{color:var(--ink-faint);font-size:11px;font-weight:400}.toggle-line input[type=checkbox]{width:36px;height:20px;margin:0;appearance:none;background:#becac2;border:0;border-radius:10px;box-shadow:none;transition:background-color .14s ease}.toggle-line input[type=checkbox]:after{display:block;width:16px;height:16px;margin:2px;content:"";background:#fff;border-radius:50%;box-shadow:0 1px 2px #142b203d;transition:transform .14s ease}.toggle-line input[type=checkbox]:checked{background:var(--brand)}.toggle-line input[type=checkbox]:checked:after{transform:translate(16px)}.secret-panel{justify-content:space-between;gap:10px;padding:10px;background:var(--surface-muted);border:1px solid var(--line);border-radius:6px}.secret-panel code{min-width:0;overflow:hidden;color:var(--ink);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.secret-panel .copy-button{min-height:30px;flex:0 0 auto;font-size:11px}.warning-row{gap:9px;margin-top:13px;padding:10px 11px;color:#8b4d20;font-size:12px;background:var(--gold-soft);border:1px solid #efddad;border-radius:6px}.warning-row svg{flex:0 0 auto}.toast{position:fixed;right:20px;bottom:20px;display:grid;width:min(calc(100vw - 40px),390px);grid-template-columns:20px minmax(0,1fr) 28px;align-items:flex-start;gap:10px;padding:12px;color:var(--ink);background:#fff;border:1px solid var(--line);border-left:3px solid var(--blue);border-radius:7px;box-shadow:var(--shadow-lg);z-index:80}.toast.success{border-left-color:var(--brand)}.toast.error{border-left-color:var(--coral)}.toast>svg{color:var(--blue);margin-top:1px}.toast.success>svg{color:var(--brand)}.toast.error>svg{color:var(--coral)}.toast>div{display:grid;min-width:0;gap:2px}.toast strong,.toast span{overflow:hidden;text-overflow:ellipsis}.toast strong{color:var(--ink);font-size:12px;font-weight:700}.toast span{color:var(--ink-faint);font-size:11px;line-height:1.4}.toast button{display:grid;width:28px;height:28px;place-items:center;padding:0;color:var(--ink-faint);background:transparent;border-radius:5px}.toast button:hover{color:var(--ink);background:var(--surface-muted)}.chart-tooltip{display:grid;gap:3px;padding:9px 10px;color:var(--ink-soft);font-size:11px;background:#fffffffa;border:1px solid var(--line-strong);border-radius:6px;box-shadow:var(--shadow-sm)}.chart-tooltip strong{margin-bottom:2px;color:var(--ink);font-size:12px}.unlock-page{display:grid;min-height:100vh;padding:24px;place-items:center;background:var(--canvas)}.unlock-panel{width:min(100%,420px);padding:28px;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 18px 42px #172a2017}.unlock-heading{margin-top:28px}.unlock-heading h1{margin-top:4px;font-size:24px;font-weight:760;line-height:1.25}.unlock-heading p{font-size:13px}.unlock-form{display:grid;gap:14px;margin-top:22px}.unlock-form label{display:grid;gap:7px;color:var(--ink-soft);font-size:12px;font-weight:650}.unlock-error{display:flex;align-items:flex-start;gap:8px;padding:10px 11px;color:var(--coral);font-size:12px;line-height:1.45;background:var(--coral-soft);border:1px solid #edc8c0;border-radius:6px}.unlock-error svg{flex:0 0 auto;margin-top:1px}.unlock-footer{display:flex;align-items:flex-start;gap:7px;margin-top:18px;padding-top:15px;color:var(--ink-faint);font-size:11px;border-top:1px solid var(--line)}.unlock-footer svg{flex:0 0 auto;margin-top:1px}.unlock-footer code{color:var(--ink-soft)}@media(max-width:1220px){.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.empty-pool{grid-template-columns:150px minmax(0,1fr)}.empty-steps{grid-column:1 / -1;grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1050px){.page-content,.topbar{padding-right:22px;padding-left:22px}.overview-grid,.lower-grid,.routing-layout{grid-template-columns:1fr}.capacity-surface,.activity-surface,.routing-map,.settings-summary{min-height:auto}.flow-diagram{padding-bottom:23px}}@media(max-width:820px){.app-shell{display:block}.sidebar,.sidebar.sidebar-collapsed{position:static;display:flex;width:100%;height:auto;min-height:0;flex-direction:row;flex-wrap:wrap;align-items:center;padding:10px 14px 0;overflow:visible;border-right:0;border-bottom:1px solid var(--line)}.brand-row,.sidebar-collapsed .brand-row{width:auto;margin:0 12px 10px 0}.sidebar-collapsed .brand-row>.icon-button{position:static}.main-nav{display:flex;width:100%;gap:4px;padding-bottom:10px;overflow-x:auto;scrollbar-width:thin}.nav-item,.sidebar-collapsed .nav-item{display:inline-flex;width:auto;min-height:35px;grid-template-columns:none;flex:0 0 auto;justify-content:flex-start;gap:7px;padding:0 9px}.sidebar-collapsed .nav-item span,.sidebar-bottom{display:none}.topbar{min-height:58px}.page-content{padding-top:22px}.routing-notes{grid-template-columns:1fr}}@media(max-width:620px){body{font-size:13px}.topbar{align-items:center;gap:10px;padding:0 14px}.sync-label{display:none}.topbar-actions{gap:6px}.topbar-actions .primary-button{min-width:36px;padding:0 9px;font-size:0}.topbar-actions .primary-button svg{margin:0;font-size:initial}.page-content{padding:20px 14px 34px}.split-heading{align-items:flex-start;flex-direction:column;gap:12px}.page-heading{margin-bottom:18px}.page-heading h1{font-size:23px}.metrics-grid{grid-template-columns:1fr;gap:10px}.metric-card{padding:13px}.chart-surface{min-height:300px}.chart-wrap{height:225px}.surface-heading,.toolbar{padding-right:14px;padding-left:14px}.surface-heading{gap:10px}.capacity-list,.recent-list{padding-right:14px;padding-left:14px}.capacity-row{grid-template-columns:30px minmax(0,1fr) auto}.capacity-row>.status-badge{display:none}.overview-grid{gap:10px;margin-top:10px}.empty-pool{min-height:0;grid-template-columns:1fr;gap:24px;padding:26px 20px}.empty-grid-art{width:112px}.empty-steps{grid-template-columns:1fr;gap:9px}.toolbar{flex-wrap:wrap;min-height:auto}.toolbar .search-box{width:100%}.toolbar-spacer{display:none}.toolbar>.icon-button:first-of-type{margin-left:auto}.key-integration{align-items:flex-start;flex-direction:column;gap:13px;padding:15px}.code-command{width:100%;max-width:none}.flow-diagram{display:grid;grid-template-columns:1fr 18px 1fr;gap:14px 5px;padding:25px 16px 18px}.flow-node{min-width:0}.flow-node:nth-of-type(5){grid-column:2}.flow-arrow{transform:rotate(0)}.flow-arrow:nth-of-type(4){transform:rotate(90deg);justify-self:center}.modal-backdrop{padding:12px;place-items:end center}.modal{max-height:calc(100vh - 24px);padding:18px}.modal-header{margin-bottom:16px}.form-grid,.form-grid.three{grid-template-columns:1fr}.modal-actions{align-items:stretch;flex-direction:column-reverse}.modal-actions .primary-button,.modal-actions .secondary-button{width:100%}.secret-panel{align-items:stretch;flex-direction:column}.secret-panel .copy-button{width:100%}.toast{right:12px;bottom:12px;width:calc(100vw - 24px)}}@media(max-width:410px){.sidebar,.sidebar.sidebar-collapsed{padding-right:10px;padding-left:10px}.brand-row{margin-right:7px}.brand>div:last-child{max-width:124px}.page-heading h1{font-size:21px}.live-summary,.heading-stats{align-self:stretch}.heading-stats{justify-content:flex-start}.surface-heading .link-button{flex:0 0 auto}.flow-diagram{grid-template-columns:1fr}.flow-node:nth-of-type(5){grid-column:auto}.flow-arrow,.flow-arrow:nth-of-type(4){width:100%;height:18px;transform:rotate(90deg)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
