:root{color:#1d252d;background:#f4f6f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px}*{box-sizing:border-box}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.62}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}.app-shell{min-height:100vh;color:#1d252d}.login-shell{display:grid;min-height:100vh;place-items:center;padding:24px;background:linear-gradient(135deg,#24734814,#2f6f9f14),#f4f6f8}.login-panel{width:min(100%,420px);padding:24px;border:1px solid #d9e0e7;border-radius:8px;background:#fff;box-shadow:0 18px 44px #1d252d1f}.login-panel.compact{display:grid;justify-items:center;gap:12px;text-align:center}.brand-mark{display:inline-grid;width:44px;height:44px;margin-bottom:16px;place-items:center;border-radius:8px;background:#e7f4ec;color:#247348}.eyebrow{color:#52616f;font-size:.78rem;font-weight:700;letter-spacing:0;text-transform:uppercase}.login-panel h1,.topbar h1{margin-top:3px;font-size:1.55rem;line-height:1.2}.login-copy,.subtle{margin-top:6px;color:#657482;line-height:1.45}.login-form{display:grid;gap:12px;margin-top:22px}.login-form label,.instance-form label{display:grid;gap:6px}.login-form label span,.instance-form label span{color:#34424f;font-weight:700}.login-form input,.instance-form input,.instance-form textarea,.filters select{width:100%;min-width:0;border:1px solid #cfd7df;border-radius:8px;background:#fff;color:#1d252d;outline:0}.login-form input,.instance-form input,.instance-form textarea{padding:9px 10px}.login-form input:focus,.instance-form input:focus,.instance-form textarea:focus,.filters select:focus{border-color:#3f7daa;box-shadow:0 0 0 3px #3f7daa24}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 24px;border-bottom:1px solid #d9e0e7;background:#fff}.topbar-title{min-width:0}.topbar-actions,.detail-actions,.section-title,.panel-header,.title-line{display:flex;align-items:center}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}.message-bar{display:flex;align-items:center;gap:10px;margin:16px 24px 0;padding:10px 12px;border:1px solid #c9d7e5;border-radius:8px;background:#edf6ff;color:#164262}.message-bar.error{border-color:#f0b9b9;background:#fff0f0;color:#8a1f1f}.message-bar span{min-width:0;flex:1}.message-bar button,.text-button{border:0;background:transparent;color:inherit}.message-bar button{display:inline-flex;padding:2px}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px 24px 0}.metric{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:56px;padding:11px 14px;border:1px solid #d9e0e7;border-radius:8px;background:#fff}.metric span{color:#5d6a76}.metric strong{font-size:1.42rem}.metric.good{border-color:#bfe4cb;background:#f0fbf3}.metric.warn{border-color:#f1d1a8;background:#fff7ec}.workspace{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr) minmax(300px,380px);align-items:start;gap:16px;padding:16px 24px 24px}.panel{min-width:0;border:1px solid #d9e0e7;border-radius:8px;background:#fff}.instance-panel,.form-panel{position:sticky;top:14px;max-height:calc(100vh - 28px);overflow:auto}.panel-header{justify-content:space-between;gap:12px;padding:15px 16px 11px;border-bottom:1px solid #edf0f3}.panel-header h2,.detail-heading h2{font-size:1.08rem;line-height:1.25}.panel-header p,.detail-heading p{margin-top:4px;color:#667583;line-height:1.45}.filters{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:8px;padding:12px 16px}.search-box{display:flex;align-items:center;gap:8px;min-width:0;padding:0 10px;border:1px solid #cfd7df;border-radius:8px;background:#fff}.search-box input{min-width:0;width:100%;height:36px;border:0;outline:0}.filters select{height:38px;padding:0 8px}.instance-list{display:grid;gap:8px;padding:0 12px 14px}.instance-row{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:100%;padding:12px;border:1px solid #e0e6eb;border-radius:8px;background:#fff;color:inherit;text-align:left}.instance-row:hover,.instance-row.active{border-color:#659ac7;background:#f1f8fd}.row-main{display:grid;min-width:0;gap:4px}.row-main strong,.row-main span,.detail-heading p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-main span{color:#697886;font-size:.88rem}.row-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.row-error{display:inline-flex;align-items:flex-start;gap:5px;flex:1 1 100%;min-width:0;color:#a12b22;font-size:.78rem;font-weight:700;line-height:1.35}.row-error svg{flex:0 0 auto;margin-top:1px}.row-error span{min-width:0;overflow-wrap:anywhere;word-break:break-word}.status-pill{display:inline-flex;align-items:center;gap:5px;min-height:24px;padding:3px 8px;border-radius:999px;font-size:.82rem;font-weight:700;white-space:nowrap}.status-online{background:#e5f8eb;color:#126430}.status-offline,.status-stopped{background:#f1f3f5;color:#52616f}.status-starting{background:#e9f3ff;color:#1d5f99}.status-error{background:#ffe8e6;color:#a12b22}.status-unknown{background:#fff3d8;color:#77510d}.detail-panel{padding:16px}.detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:14px;border-bottom:1px solid #edf0f3}.manager-error-panel{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:flex-start;gap:10px;margin-top:14px;padding:12px;border:1px solid #f1c2bf;border-radius:8px;background:#fff0ef;color:#a12b22}.manager-error-panel strong{display:block;line-height:1.35}.manager-error-panel p{min-width:0;margin-top:4px;line-height:1.45;overflow-wrap:anywhere;word-break:break-word}.title-line{flex-wrap:wrap;gap:8px}.detail-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}.section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding-top:14px}.info-block{border:1px solid #e3e9ee;border-radius:8px;padding:14px;background:#fbfcfd}.info-block h3,.section-title h3{display:flex;align-items:center;gap:7px;font-size:.96rem;line-height:1.3}dl{display:grid;gap:10px;margin:12px 0}dl div{display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px}dt{color:#6b7885}dd{min-width:0;margin:0;overflow-wrap:anywhere}.danger-text,.inline-error{color:#a12b22}.audit-section{margin-top:14px;padding-top:14px;border-top:1px solid #edf0f3}.section-title{justify-content:space-between;gap:12px;margin-bottom:10px}.audit-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.audit-list li{display:grid;grid-template-columns:152px 112px minmax(0,1fr);gap:10px;align-items:start;padding:10px 0;border-top:1px solid #edf0f3}.audit-list li:first-child{border-top:0}.audit-list span{color:#6b7885;font-size:.86rem}.audit-list strong{color:#2f5f85}.audit-list p{min-width:0;overflow-wrap:anywhere}.muted-line{color:#667583}.state-block{display:grid;justify-items:center;gap:8px;padding:34px 18px;color:#657482;text-align:center}.state-block strong{color:#2b3640}.detail-empty{min-height:320px;align-content:center}.instance-form{display:grid;gap:12px;padding:14px 16px 16px}.instance-form textarea{resize:vertical}.instance-form small{color:#6b7885;line-height:1.45}.icon-button,.submit-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:8px 11px;border:1px solid #cfd7df;border-radius:8px;background:#fff;color:#26323d;font-weight:700;line-height:1}.icon-button:hover,.submit-button:hover{border-color:#91a8ba}.icon-button.primary,.submit-button{border-color:#247348;background:#247348;color:#fff}.icon-button.neutral{border-color:#b9c6d1;background:#f8fafb}.icon-button.danger-outline{border-color:#d9a6a2;background:#fff7f6;color:#9d2d25}.submit-button{width:100%;margin-top:4px}.text-button{padding:0;color:#2f6f9f;font-weight:700}.inline-error{padding:9px 10px;border:1px solid #f0b9b9;border-radius:8px;background:#fff0f0;line-height:1.45}.spin{animation:spin .8s linear infinite}.view-tabs{display:inline-flex;gap:6px;margin:16px 24px 0;padding:4px;border:1px solid #d9e0e7;border-radius:8px;background:#fff}.view-tabs button{min-height:34px;padding:7px 12px;border:0;border-radius:6px;background:transparent;color:#53616e;font-weight:700}.view-tabs button.active{background:#253340;color:#fff}.security-view{display:grid;gap:16px;padding:16px 24px 24px}.security-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) minmax(180px,240px) auto auto;gap:10px;align-items:center;padding:12px;border:1px solid #d9e0e7;border-radius:8px;background:#fff}.account-hidden-toggle{display:inline-grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-height:38px;min-width:0;padding:0 10px;border:1px solid #d6e0e8;border-radius:8px;background:#f8fbfd;color:#314252;font-size:.84rem;font-weight:800;line-height:1.25;white-space:nowrap}.account-hidden-toggle input{width:16px;height:16px;margin:0}.security-toolbar select,.auth-edit-row input,.note-field input{width:100%;min-width:0;border:1px solid #cfd7df;border-radius:8px;background:#fff;color:#1d252d;outline:0}.security-toolbar select{height:38px;padding:0 10px}.security-groups{display:grid;gap:16px}.security-group{min-width:0;border:1px solid #d9e0e7;border-radius:8px;background:#fff}.security-group-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid #edf0f3}.security-group-header h2{font-size:1.05rem}.security-group-header p,.security-origin,.checked-at{color:#667583;font-size:.88rem}.security-origin{max-width:48%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.instance-error{display:flex;align-items:center;gap:8px;margin:14px 16px;padding:10px 12px;border:1px solid #f0b9b9;border-radius:8px;background:#fff0f0;color:#8a1f1f}.auth-file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));gap:16px;padding:14px 16px 16px;align-items:stretch}.auth-file-card{position:relative;display:flex;flex-direction:column;gap:14px;min-width:0;min-height:100%;overflow:hidden;padding:16px;border:1px solid #d6e0e8;border-radius:12px;background:linear-gradient(180deg,#fff,#f8fbfd);color:#1f2a35;box-shadow:0 14px 32px #11253514}.auth-file-card:hover{border-color:#b8cad9;box-shadow:0 18px 36px #1125351c}.auth-file-card.provider-codex{border-color:#d8d3fb;background:linear-gradient(180deg,#eae7ff47,#fff0 52%),#fff}.auth-file-card.provider-codex:hover{border-color:#c7bff7}.auth-card-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px 14px;min-width:0}.auth-card-top>div{display:grid;gap:6px;min-width:0}.auth-card-top p{color:#627181;font-size:.74rem;font-weight:700;line-height:1.35;text-transform:uppercase}.auth-card-top h3{min-width:0;overflow:hidden;color:#15202b;font-size:1rem;font-weight:800;line-height:1.35;overflow-wrap:anywhere;word-break:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.mini-badge{display:inline-flex;align-items:center;justify-content:center;min-width:0;max-width:100%;min-height:24px;padding:4px 9px;border:1px solid #d0dae3;border-radius:6px;background:#eef3f8;color:#334454;font-size:.72rem;font-weight:800;line-height:1.25;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.mini-badge.good{border-color:#b9e0c9;background:#e8f7ee;color:#14633a}.mini-badge.danger{border-color:#f1c2bf;background:#fff0ef;color:#a33832}.mini-badge.muted{border-color:#d6dee5;background:#f3f6f9;color:#5d6c79}.auth-card-meta{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.auth-card-meta span{display:inline-flex;align-items:center;max-width:100%;min-height:24px;min-width:0;padding:4px 9px;border:1px solid #425365;border-color:#d9e3eb;border-radius:999px;background:#f2f6fa;color:#51606f;font-size:.78rem;line-height:1.35;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.auth-card-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}.auth-card-stats div{display:grid;grid-template-columns:1fr;gap:4px;min-width:0;padding:10px 12px;border:1px solid #e2e9ef;border-radius:10px;background:#f8fbfd}.auth-card-stats dt{color:#6f7f8d;font-size:.72rem;font-weight:700;line-height:1.25}.auth-card-stats dd{min-width:0;color:#16212b;font-weight:800;line-height:1.4;overflow-wrap:anywhere;word-break:break-word;font-variant-numeric:tabular-nums}.auth-card-note,.quota-summary{min-height:20px;min-width:0;padding:10px 12px;border:1px dashed #d9e4ec;border-radius:10px;background:#f7fafc;color:#52616f;line-height:1.45;overflow-wrap:anywhere;word-break:break-word}.auth-edit-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:end;min-width:0}.auth-edit-row label,.note-field{display:grid;gap:5px;min-width:0;color:#314252;font-size:.84rem;font-weight:700}.auth-edit-row label span,.note-field span{overflow-wrap:anywhere}.auth-edit-row input,.note-field input{height:34px;padding:0 9px}.switch-line{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;min-height:34px;min-width:0;padding:0 10px;border:1px solid #d6e0e8;border-radius:10px;background:#f8fbfd}.switch-line input{width:16px;height:16px}.auth-save-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:36px;min-width:0;padding:8px 12px;border:1px solid #247348;border-radius:10px;background:#247348;color:#fff;font-weight:800}.auth-card-footer,.auth-card-quota,.auth-card-quota-body{display:grid;gap:10px;min-width:0}.auth-card-footer,.auth-card-quota{padding-top:12px;border-top:1px dashed #d9e4ec}.auth-card-footer{margin-top:auto}.auth-card-quota-head,.auth-card-progress-head,.quota-window-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px 12px;min-width:0}.auth-card-quota-head>div{min-width:0}.auth-card-quota-head h4{min-width:0;margin:2px 0 0;color:#111c26;font-size:.94rem;line-height:1.35;overflow-wrap:anywhere;word-break:break-word}.auth-card-quota-head span:first-child,.auth-card-progress-head span:first-child,.quota-window-head span{min-width:0;color:#32414f;line-height:1.35;overflow-wrap:anywhere;word-break:break-word}.auth-card-quota-head strong,.auth-card-progress-head strong,.auth-card-progress-value{justify-self:end;color:#111c26;font-size:.85rem;font-weight:800;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums}.quota-window-reset{justify-self:end;min-width:0;max-width:min(220px,48vw);color:#667684;font-size:.75rem;font-weight:800;line-height:1.35;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.quota-window-meta{min-width:0;color:#5e6d7a;font-size:.78rem;font-weight:700;line-height:1.35;overflow-wrap:anywhere}.auth-card-quota-meta,.auth-card-refresh-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.auth-card-refresh,.auth-card-refresh-button,.quota-refresh-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;min-width:0;max-width:100%;padding:5px 10px;border:1px solid #d4dfe8;border-radius:8px;background:#f8fbfd;color:#304150;font-size:.8rem;font-weight:700;line-height:1.2;white-space:normal}.auth-card-refresh:hover,.auth-card-refresh-button:hover,.quota-refresh-button:hover{border-color:#b8cad9;background:#eef4f9}.auth-card-refresh:disabled,.auth-card-refresh-button:disabled,.quota-refresh-button:disabled{opacity:.58}.auth-card-progress,.quota-window{display:grid;gap:7px;min-width:0}.quota-windows,.quota-kv,.auth-card-quota-list{display:grid;gap:10px;min-width:0}.quota-window,.auth-card-quota-item,.auth-card-progress{padding:10px 12px;border:1px solid #e1e9ef;border-radius:10px;background:#f7fafc}.quota-windows,.quota-kv{padding-top:0}.auth-card-progress-track,.quota-bar{position:relative;width:100%;height:18px;min-width:0;overflow:hidden;border-radius:999px;background:#d7e1ea}.auth-card-progress-fill,.quota-bar-fill{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2f7fe0,#37b26c);max-width:100%;min-width:0}.quota-bar-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;min-width:0;padding:0 6px;color:#10202f;font-size:.72rem;font-weight:900;line-height:1;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 0 rgba(255,255,255,.48);pointer-events:none}.auth-card-progress-subtle{color:#6d7d8b;font-size:.78rem;line-height:1.35}.quota-section-state,.quota-empty,.quota-error{display:flex;align-items:center;gap:8px;min-width:0;padding:10px 12px;border-radius:10px;line-height:1.45;overflow-wrap:anywhere;word-break:break-word}.quota-section-state,.quota-empty{border:1px solid #e1e9ef;background:#f7fafc;color:#52616f}.quota-error{display:grid;border:1px solid #f1c2bf;background:#fff0ef;color:#a33832}.quota-kv span{display:block;min-width:0;padding:8px 10px;border:1px solid #e1e9ef;border-radius:10px;background:#f7fafc;color:#40505f;overflow-wrap:anywhere;word-break:break-word}.checked-at{display:inline-flex;align-items:center;margin-top:auto;line-height:1.35}.state-block.compact{padding:22px 16px}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1180px){.workspace{grid-template-columns:minmax(260px,330px) minmax(0,1fr)}.form-panel{position:static;grid-column:1 / -1;max-height:none}}@media(max-width:820px){.topbar,.detail-heading{align-items:stretch;flex-direction:column}.topbar-actions,.detail-actions{justify-content:flex-start}.workspace,.section-grid{grid-template-columns:1fr}.instance-panel{position:static;max-height:none}.audit-list li{grid-template-columns:1fr;gap:4px}.security-toolbar{grid-template-columns:1fr}.security-origin{max-width:100%}.auth-card-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-card-quota-head,.auth-card-progress-head,.quota-window-head{grid-template-columns:minmax(0,1fr)}.auth-card-quota-head strong,.auth-card-progress-head strong,.auth-card-progress-value{justify-self:start}}@media(max-width:620px){:root{font-size:14px}.login-shell{padding:14px}.login-panel{padding:18px}.topbar,.metrics,.workspace{padding-left:12px;padding-right:12px}.message-bar,.view-tabs,.security-view{margin-left:12px;margin-right:12px}.view-tabs{display:grid;grid-template-columns:1fr}.security-view{padding-left:0;padding-right:0}.metrics,.filters{grid-template-columns:1fr}.detail-panel,.panel-header,.instance-form{padding-left:12px;padding-right:12px}dl div{grid-template-columns:1fr;gap:3px}.icon-button,.submit-button,.auth-save-button{width:100%}.auth-file-grid{grid-template-columns:1fr;padding-left:12px;padding-right:12px}.auth-file-card{padding:14px}.auth-card-top,.auth-card-stats{grid-template-columns:1fr}.mini-badge,.auth-card-meta span,.auth-card-refresh,.auth-card-refresh-button,.quota-refresh-button{width:100%}.security-group-header,.auth-edit-row{grid-template-columns:1fr}.security-group-header{flex-direction:column}}
