:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f6f8fb;color:#172033;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f6f8fb}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.sidebar{display:flex;flex-direction:column;gap:28px;padding:24px 18px;background:#fff;border-right:1px solid #dde5ee}.brand{display:flex;align-items:center;gap:12px;min-height:48px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;color:#fff;background:#0f766e;border-radius:8px}.brand strong{display:block;font-size:15px;line-height:20px}.brand span{display:block;color:#64748b;font-size:12px;line-height:18px}.nav-list{display:grid;gap:6px}.nav-item{display:flex;align-items:center;gap:10px;height:42px;padding:0 12px;color:#475569;background:transparent;border:0;border-radius:8px;text-align:left}.nav-item span{font-size:14px}.nav-item.active,.nav-item:hover{color:#075985;background:#e9f5ff}.sidebar-footer{display:flex;align-items:flex-start;gap:10px;margin-top:auto;padding:14px;color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:12px;line-height:17px}.main{padding:26px;overflow:hidden}.topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}.topbar h1{margin:0;color:#0f172a;font-size:26px;line-height:34px;font-weight:700}.topbar p{margin:4px 0 0;color:#64748b;font-size:14px;line-height:22px}.topbar-actions{display:flex;align-items:center;gap:10px}.icon-button{display:grid;place-items:center;width:38px;height:38px;color:#334155;background:#fff;border:1px solid #d8e0ea;border-radius:8px}.status-pill,.mini-status{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:650;white-space:nowrap}.status-pill.healthy,.mini-status.ready,.mini-status.local{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.status-pill.checking{color:#0369a1;background:#eff6ff;border:1px solid #bfdbfe}.status-pill.degraded,.mini-status.needs-key{color:#b45309;background:#fffbeb;border:1px solid #fde68a}.service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.service-tile{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;min-height:74px;padding:14px;background:#fff;border:1px solid #dde5ee;border-radius:8px}.service-icon{display:grid;place-items:center;width:42px;height:42px;color:#0f766e;background:#eefdfb;border-radius:8px}.service-tile span{display:block;color:#64748b;font-size:12px;line-height:18px}.service-tile strong{display:block;margin-top:1px;color:#0f172a;font-size:14px;line-height:20px}.dot{width:9px;height:9px;border-radius:999px;background:#f59e0b}.dot.healthy{background:#10b981}.dot.degraded{background:#f59e0b}.content-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(340px,.85fr);gap:18px;align-items:start}.left-stack,.right-stack,.single-stack{display:grid;gap:18px}.single-stack{max-width:1180px}.panel{padding:18px;background:#fff;border:1px solid #dde5ee;border-radius:8px}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.panel-header>div{display:flex;align-items:center;gap:9px;color:#0f766e}.panel-header h2{margin:0;color:#0f172a;font-size:15px;line-height:22px}.text-button,.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:38px;padding:0 14px;border-radius:8px;font-size:13px;font-weight:650}.text-button{color:#075985;background:#f8fafc;border:1px solid #d8e0ea}.primary-button{width:100%;color:#fff;background:#0f766e;border:1px solid #0f766e}.primary-button:disabled{cursor:not-allowed;opacity:.62}.admin-row{display:grid;grid-template-columns:minmax(240px,360px) 1fr;align-items:end;gap:12px;margin-bottom:14px}label{display:grid;gap:7px;color:#475569;font-size:12px;font-weight:650}input,select,textarea{width:100%;color:#172033;background:#fff;border:1px solid #cfd9e5;border-radius:8px;outline:none}input,select{height:40px;padding:0 12px;font-size:13px}textarea{min-height:96px;padding:12px;resize:vertical;font-size:13px;line-height:20px}input:focus,select:focus,textarea:focus{border-color:#0ea5e9;box-shadow:0 0 0 3px #0ea5e924}.muted{color:#64748b;font-size:12px;line-height:18px}.panel-copy{margin:0;max-width:760px;color:#475569;font-size:13px;line-height:21px}.empty-state{display:flex;align-items:center;gap:10px;min-height:74px;padding:14px;color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;font-size:13px;line-height:20px}.app-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.app-card{display:grid;gap:16px;padding:14px;border:1px solid #dde5ee;border-left-width:4px;border-radius:8px;background:#fbfdff}.app-card.accent-blue{border-left-color:#0284c7}.app-card.accent-teal{border-left-color:#0f766e}.app-card.accent-violet{border-left-color:#7c3aed}.app-card strong{display:block;color:#0f172a;font-size:14px;line-height:20px}.app-card p{margin:4px 0 0;color:#64748b;font-size:12px;line-height:18px}.app-card dl{display:grid;gap:8px;margin:0}.app-card dt{color:#64748b;font-size:11px;line-height:16px}.app-card dd{margin:0;color:#334155;font-size:12px;line-height:18px;overflow-wrap:anywhere}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:700px}th,td{padding:12px 10px;border-bottom:1px solid #e2e8f0;text-align:left;font-size:13px;line-height:20px}th{color:#64748b;font-size:12px;font-weight:700}td{color:#334155}code{color:#075985;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px}.usage-layout{display:grid;grid-template-columns:220px 1fr;gap:16px;align-items:stretch}.usage-metric{display:grid;align-content:center;gap:6px;min-height:130px;padding:18px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.usage-metric span{color:#64748b;font-size:12px}.usage-metric strong{color:#0f172a;font-size:26px;line-height:32px}.usage-chart{display:flex;align-items:end;gap:9px;min-height:130px;padding:16px;background:linear-gradient(#eef2f7 1px,transparent 1px) 0 0 / 100% 25%,#fbfdff;border:1px solid #e2e8f0;border-radius:8px}.usage-chart span{flex:1;min-width:18px;background:#0f766e;border-radius:5px 5px 0 0}.test-panel{display:grid;gap:13px}.notice{padding:10px 12px;border-radius:8px;font-size:12px;line-height:18px}.notice.warning{color:#92400e;background:#fffbeb;border:1px solid #fde68a}.notice.ready{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0}.select-shell{position:relative}.select-shell select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:38px}.select-shell svg{position:absolute;top:12px;right:12px;color:#64748b;pointer-events:none}.chat-window{display:grid;align-content:start;gap:10px;min-height:210px;max-height:310px;overflow-y:auto;padding:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.chat-bubble{max-width:92%;padding:10px 12px;border-radius:8px;font-size:13px;line-height:20px}.chat-bubble.user{justify-self:end;color:#fff;background:#075985}.chat-bubble.assistant{justify-self:start;color:#172033;background:#fff;border:1px solid #dde5ee}.endpoint-box{display:grid;gap:6px;padding:12px 0;border-top:1px solid #e2e8f0}.endpoint-box:first-of-type{border-top:0;padding-top:0}.endpoint-box span{color:#64748b;font-size:12px;font-weight:650}.log-list,.settings-grid{display:grid;gap:10px}.log-row,.setting-item{display:grid;grid-template-columns:180px minmax(0,1fr);gap:12px;align-items:center;min-height:42px;padding:10px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.log-row span,.setting-item span{color:#64748b;font-size:12px;font-weight:650}.log-row code,.setting-item code{overflow-wrap:anywhere}@media(max-width:1160px){.content-grid{grid-template-columns:1fr}.right-stack{grid-template-columns:minmax(0,1fr)}}@media(max-width:900px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;padding:16px}.nav-list{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar-footer{display:none}.service-grid,.app-cards,.usage-layout,.log-row,.setting-item,.admin-row{grid-template-columns:1fr}}@media(max-width:640px){.main{padding:16px}.topbar{flex-direction:column}.topbar-actions{width:100%;align-items:stretch}.status-pill{flex:1;justify-content:center;white-space:normal}.nav-list{grid-template-columns:1fr 1fr}}
