:root{color-scheme:light;--bg-app: #f2f3f4;--surface: #ffffff;--surface-soft: #f8f9f9;--surface-sunken: #eceef0;--border: #d7dcdf;--border-strong: #b4bdc3;--text: #15191d;--text-secondary: #5e6870;--text-accent: #e30613;--on-action: #ffffff;--structural-bg: #172532;--structural-text: #ffffff;--structural-muted: #aeb9c2;--action: #e30613;--action-hover: #c70511;--secondary-bg: #ffffff;--info: #006b73;--success: #24754f;--warning: #8a5010;--danger: #b4000b;--neutral: #5e6870;--viewer: #175cd3;--tint-info: #e3f0f1;--tint-success: #e5f1ea;--tint-warning: #f7eedf;--tint-danger: #fbe7e8;--tint-neutral: #e9ecee;--tint-viewer: #e6eefb;--focus: #175cd3;--shadow-pop: 0 8px 24px rgba(12, 24, 35, .14);--font-sans: Gotham, Arial, Helvetica, sans-serif;--type-page-title-size: 22px;--type-page-title-weight: 600;--type-page-title-line-height: 1.25;--type-record-title-size: 20px;--type-record-title-weight: 600;--type-dialog-title-size: 18px;--type-dialog-title-weight: 600;--type-card-title-size: 15px;--type-card-title-weight: 600;--type-body-size: 14px;--type-body-weight: 400;--type-body-small-size: 13px;--type-body-small-weight: 400;--type-button-size: 14px;--type-button-weight: 600;--type-button-line-height: 1;--type-nav-link-size: 14px;--type-nav-link-weight: 500;--type-nav-link-line-height: 1.2;--type-table-header-size: 12px;--type-table-header-weight: 600;--type-badge-size: 12px;--type-badge-weight: 600;--type-badge-line-height: 1.2;--type-nav-short-size: 11px;--type-nav-short-weight: 500;--type-nav-short-line-height: 1.15;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--radius-sm: 6px;--radius-md: 8px;--radius-pill: 12px;--rail-compact: 80px;--rail-expanded: 280px;--control-height: 36px;--nav-link-height: 44px;--icon-size: 20px}:root[data-theme=dark]{color-scheme:dark;--bg-app: #10181f;--surface: #17212a;--surface-soft: #1d2a34;--surface-sunken: #131c23;--border: #24323d;--border-strong: #3a4955;--text: #f3f5f6;--text-secondary: #a8b2ba;--text-accent: #ff7b83;--on-action: #ffffff;--structural-bg: #0c151d;--structural-text: #ffffff;--structural-muted: #9aa6b0;--action: #e30613;--action-hover: #f0212d;--secondary-bg: #1d2a34;--info: #5aaeb4;--success: #7bc49a;--warning: #d9b566;--danger: #ff7b83;--neutral: #a8b2ba;--viewer: #84adff;--tint-info: #16343a;--tint-success: #1a3328;--tint-warning: #3a2f1c;--tint-danger: #3d1f24;--tint-neutral: #26323c;--tint-viewer: #1c2b45;--focus: #84adff;--shadow-pop: 0 12px 28px rgba(0, 0, 0, .45)}@media(prefers-color-scheme:dark){:root[data-theme=auto],:root:not([data-theme]){color-scheme:dark;--bg-app: #10181f;--surface: #17212a;--surface-soft: #1d2a34;--surface-sunken: #131c23;--border: #24323d;--border-strong: #3a4955;--text: #f3f5f6;--text-secondary: #a8b2ba;--text-accent: #ff7b83;--on-action: #ffffff;--structural-bg: #0c151d;--structural-text: #ffffff;--structural-muted: #9aa6b0;--action: #e30613;--action-hover: #f0212d;--secondary-bg: #1d2a34;--info: #5aaeb4;--success: #7bc49a;--warning: #d9b566;--danger: #ff7b83;--neutral: #a8b2ba;--viewer: #84adff;--tint-info: #16343a;--tint-success: #1a3328;--tint-warning: #3a2f1c;--tint-danger: #3d1f24;--tint-neutral: #26323c;--tint-viewer: #1c2b45;--focus: #84adff;--shadow-pop: 0 12px 28px rgba(0, 0, 0, .45)}}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg-app);color:var(--text);font-family:var(--font-sans);font-size:var(--type-body-size);line-height:1.45}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.kgs-icon{display:block;flex:0 0 auto}.shell{display:grid;grid-template-columns:var(--rail-expanded) minmax(0,1fr);min-height:100%}.main{display:flex;flex-direction:column;min-width:0}.content{display:grid;align-content:start;gap:var(--space-5);padding:var(--space-6);width:100%;max-width:1360px;flex:1}.footer{border-top:1px solid var(--border);color:var(--text-secondary);font-size:var(--type-body-small-size);padding:var(--space-3) var(--space-6)}.rail{background:var(--structural-bg);color:var(--structural-muted);display:flex;flex-direction:column;gap:var(--space-4);height:100vh;overflow-y:auto;padding:var(--space-4) var(--space-3);position:sticky;top:0}.rail-brand{display:grid;gap:6px;padding:0 var(--space-2) var(--space-2)}.rail-brand img{height:auto;width:64px}.rail-brand strong{color:var(--structural-text);font-size:18px;font-weight:600}.rail-brand span{font-size:var(--type-body-small-size)}.rail nav{display:grid;gap:var(--space-1)}.rail-link{align-items:center;border-radius:var(--radius-md);color:var(--structural-muted);display:flex;font-size:var(--type-nav-link-size);font-weight:var(--type-nav-link-weight);gap:var(--space-3);line-height:var(--type-nav-link-line-height);min-height:var(--nav-link-height);padding:0 var(--space-3);position:relative;text-decoration:none}.rail-link:hover{background:#ffffff0f;color:var(--structural-text)}.rail-link[aria-current=page]{background:#ffffff1f;color:var(--structural-text);font-weight:600}.rail-link[aria-current=page]:before{background:var(--action);border-radius:2px;content:"";height:24px;left:0;position:absolute;width:3px}.rail-link-short{display:none}.rail :focus-visible{outline-color:var(--structural-text)}.rail-account{border-top:1px solid rgba(255,255,255,.12);display:grid;gap:var(--space-2);margin-top:auto;padding-top:var(--space-3)}.rail-status{display:flex;flex-wrap:wrap;gap:6px;padding:0 var(--space-2)}.env-badge{align-items:center;background:#ffffff14;border-radius:var(--radius-pill);color:var(--structural-text);display:inline-flex;font-size:var(--type-badge-size);font-weight:var(--type-badge-weight);line-height:var(--type-badge-line-height);min-height:20px;padding:2px 9px;white-space:nowrap}.rail-user{color:var(--structural-text);font-weight:600;overflow-wrap:anywhere;padding:0 var(--space-2)}.rail-note{font-size:var(--type-body-small-size);padding:0 var(--space-2)}.theme-switch{border:0;display:grid;gap:6px;margin:0;min-width:0;padding:0 var(--space-2)}.theme-switch legend{color:var(--structural-muted);font-size:var(--type-body-small-size);margin-bottom:4px;padding:0}.theme-switch-options{background:#ffffff0f;border-radius:var(--radius-sm);display:grid;gap:2px;grid-template-columns:repeat(3,minmax(0,1fr));padding:2px}.theme-switch button{background:transparent;border:0;border-radius:4px;color:var(--structural-muted);cursor:pointer;font-size:var(--type-body-small-size);font-weight:600;min-height:32px;padding:0 var(--space-1)}.theme-switch button:hover{color:var(--structural-text)}.theme-switch button[aria-pressed=true]{background:#ffffff29;color:var(--structural-text)}.appbar{display:none}.page-header{align-items:center;display:flex;flex-wrap:wrap;gap:var(--space-3);justify-content:space-between}.page-header h1{font-size:var(--type-page-title-size);font-weight:var(--type-page-title-weight);line-height:var(--type-page-title-line-height);margin:0}.toolbar{align-items:center;display:flex;flex-wrap:wrap;gap:var(--space-3)}.empty-state{align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);color:var(--text-secondary);display:flex;gap:var(--space-3);padding:var(--space-5)}.banner{align-items:flex-start;border:1px solid var(--border);border-radius:var(--radius-md);display:flex;font-size:var(--type-body-small-size);gap:var(--space-2);padding:var(--space-3) var(--space-4)}.banner-danger{background:var(--tint-danger);color:var(--danger)}@media(min-width:768px)and (max-width:1099px){.shell{grid-template-columns:var(--rail-compact) minmax(0,1fr)}.rail{align-items:center;padding:var(--space-4) 6px}.rail-brand{justify-items:center;padding:0 0 var(--space-2)}.rail-brand strong,.rail-brand span{display:none}.rail-brand img{width:48px}.rail-link{flex-direction:column;gap:var(--space-1);justify-content:center;min-height:55px;padding:var(--space-2) 2px;text-align:center;width:68px}.rail-link-label{display:none}.rail-link-short{display:block;font-size:var(--type-nav-short-size);font-weight:var(--type-nav-short-weight);line-height:var(--type-nav-short-line-height);max-width:64px;overflow-wrap:anywhere}.rail-account{justify-items:center;width:100%}.rail-user,.rail-note,.theme-switch legend{display:none}.rail-status{justify-content:center;padding:0}.theme-switch{padding:0;width:68px}.theme-switch-options{grid-template-columns:minmax(0,1fr)}}@media(max-width:767px){.shell{display:block}.appbar{align-items:center;background:var(--structural-bg);color:var(--structural-text);display:flex;gap:var(--space-3);min-height:56px;padding:0 var(--space-2) 0 var(--space-4);position:sticky;top:0;z-index:30}.appbar img{height:auto;width:48px}.appbar strong{flex:1;font-size:15px;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.appbar button{align-items:center;background:transparent;border:0;border-radius:var(--radius-md);color:var(--structural-text);cursor:pointer;display:inline-flex;height:44px;justify-content:center;width:44px}.appbar button:hover{background:#ffffff14}.appbar :focus-visible{outline-color:var(--structural-text)}.rail{box-shadow:var(--shadow-pop);display:none;height:calc(100vh - 56px);left:0;max-width:calc(100vw - 24px);position:fixed;top:56px;width:var(--rail-expanded);z-index:40}.rail.open{display:flex}.content{padding:var(--space-4)}.footer{padding:var(--space-3) var(--space-4)}.theme-switch button{min-height:44px}}@media(forced-colors:active){.rail-link[aria-current=page]{outline:2px solid Highlight;outline-offset:-2px}.theme-switch button[aria-pressed=true]{outline:2px solid Highlight}.env-badge,.empty-state{border:1px solid CanvasText}}
