:root,[data-theme=light]{color-scheme:light;--md-sys-color-background: #f8fafc;--md-sys-color-surface: #ffffff;--md-sys-color-surface-dim: #f1f5f9;--md-sys-color-surface-container-lowest: #ffffff;--md-sys-color-surface-container-low: #f8fafc;--md-sys-color-surface-container: #f1f5f9;--md-sys-color-surface-container-high: #e2e8f0;--md-sys-color-surface-container-highest: #cbd5e1;--md-sys-color-on-background: #0f172a;--md-sys-color-on-surface: #0f172a;--md-sys-color-on-surface-variant: #475569;--md-sys-color-primary: #3730a3;--md-sys-color-on-primary: #ffffff;--md-sys-color-primary-container: #e0e7ff;--md-sys-color-on-primary-container: #1e1b4b;--md-sys-color-secondary: #0e7490;--md-sys-color-on-secondary: #ffffff;--md-sys-color-secondary-container: #cffafe;--md-sys-color-on-secondary-container: #083344;--md-sys-color-success: #047857;--md-sys-color-success-container: #d1fae5;--md-sys-color-on-success-container: #064e3b;--md-sys-color-warning: #b45309;--md-sys-color-warning-container: #fef3c7;--md-sys-color-on-warning-container: #78350f;--md-sys-color-error: #b91c1c;--md-sys-color-on-error: #ffffff;--md-sys-color-error-container: #fee2e2;--md-sys-color-on-error-container: #7f1d1d;--md-sys-color-outline: #cbd5e1;--md-sys-color-outline-variant: #e2e8f0;--md-sys-elevation-1: 0 1px 2px rgba(15, 23, 42, .05);--md-sys-elevation-2: 0 4px 12px rgba(15, 23, 42, .08);--md-sys-shape-corner-small: 8px;--md-sys-shape-corner-medium: 12px;--md-sys-shape-corner-large: 16px;--md-sys-shape-corner-full: 9999px;--md-sys-typescale-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--md-sys-typescale-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace}[data-theme=dark]{color-scheme:dark;--md-sys-color-background: #0b0f17;--md-sys-color-surface: #111827;--md-sys-color-surface-dim: #090d14;--md-sys-color-surface-container-lowest: #0b0f17;--md-sys-color-surface-container-low: #111827;--md-sys-color-surface-container: #172033;--md-sys-color-surface-container-high: #1e293b;--md-sys-color-surface-container-highest: #293548;--md-sys-color-on-background: #f1f5f9;--md-sys-color-on-surface: #f1f5f9;--md-sys-color-on-surface-variant: #94a3b8;--md-sys-color-primary: #818cf8;--md-sys-color-on-primary: #0f172a;--md-sys-color-primary-container: #312e81;--md-sys-color-on-primary-container: #e0e7ff;--md-sys-color-secondary: #22d3ee;--md-sys-color-on-secondary: #083344;--md-sys-color-secondary-container: #164e63;--md-sys-color-on-secondary-container: #cffafe;--md-sys-color-success: #34d399;--md-sys-color-success-container: #064e3b;--md-sys-color-on-success-container: #d1fae5;--md-sys-color-warning: #fbbf24;--md-sys-color-warning-container: #451a03;--md-sys-color-on-warning-container: #fef3c7;--md-sys-color-error: #f87171;--md-sys-color-on-error: #450a0a;--md-sys-color-error-container: #7f1d1d;--md-sys-color-on-error-container: #fee2e2;--md-sys-color-outline: #334155;--md-sys-color-outline-variant: #1e293b;--md-sys-elevation-1: 0 1px 2px rgba(0, 0, 0, .35);--md-sys-elevation-2: 0 6px 16px rgba(0, 0, 0, .45)}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;background-color:var(--md-sys-color-background);color:var(--md-sys-color-on-background);font-family:var(--md-sys-typescale-font);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:hidden;max-width:100vw}#root{min-height:100vh;max-width:100%;overflow-x:hidden}a{color:var(--md-sys-color-primary);text-decoration:none}a:hover{text-decoration:underline}.app-shell{display:flex;flex-direction:column;min-height:100vh;background-color:var(--md-sys-color-background);color:var(--md-sys-color-on-background)}.app-topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background-color:var(--md-sys-color-surface);border-bottom:1px solid var(--md-sys-color-outline-variant)}.app-topbar-brand{display:flex;align-items:center;gap:10px;min-width:0}.app-topbar-title{margin:0;font-size:1rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-topbar-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.app-body{display:flex;flex:1 1 auto;min-width:0}.app-nav-drawer,.app-nav-rail{display:none}.app-nav-bottom{position:fixed;bottom:0;left:0;right:0;z-index:40;display:flex;justify-content:space-around;align-items:center;gap:4px;padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px));background-color:var(--md-sys-color-surface);border-top:1px solid var(--md-sys-color-outline-variant)}.app-main{flex:1 1 auto;min-width:0;padding:16px 16px 88px;max-width:1320px;width:100%;margin:0 auto}@media(min-width:600px){.app-nav-bottom{display:none}.app-nav-rail{display:flex;flex-direction:column;align-items:center;gap:8px;width:80px;flex-shrink:0;padding:16px 8px;background-color:var(--md-sys-color-surface);border-right:1px solid var(--md-sys-color-outline-variant)}.app-main{padding:24px}}@media(min-width:840px){.app-nav-rail{display:none}.app-nav-drawer{display:flex;flex-direction:column;gap:6px;width:248px;flex-shrink:0;padding:16px 12px;background-color:var(--md-sys-color-surface);border-right:1px solid var(--md-sys-color-outline-variant)}.app-main{padding:28px 32px}}.nav-link{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:var(--md-sys-shape-corner-full);color:var(--md-sys-color-on-surface-variant);font-size:.9rem;font-weight:500;transition:background-color .15s ease,color .15s ease;text-decoration:none}.nav-link:hover{background-color:var(--md-sys-color-surface-container);color:var(--md-sys-color-on-surface);text-decoration:none}.nav-link.active{background-color:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container);font-weight:600}.nav-link-compact{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:6px 8px;border-radius:var(--md-sys-shape-corner-medium);color:var(--md-sys-color-on-surface-variant);font-size:.7rem;font-weight:500;text-decoration:none;min-width:0}.nav-link-compact.active{background-color:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}.md-card{background-color:var(--md-sys-color-surface);border:1px solid var(--md-sys-color-outline-variant);border-radius:var(--md-sys-shape-corner-large);padding:16px 20px;box-shadow:var(--md-sys-elevation-1)}.md-card-tonal{background-color:var(--md-sys-color-surface-container);border:1px solid var(--md-sys-color-outline-variant);border-radius:var(--md-sys-shape-corner-large);padding:16px 20px}.card-grid{display:grid;grid-template-columns:1fr;gap:16px}@media(min-width:600px){.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:1080px){.card-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.split-pane{display:grid;grid-template-columns:1fr;gap:20px;align-items:start}@media(min-width:840px){.split-pane{grid-template-columns:minmax(280px,360px) minmax(0,1fr)}.split-pane-equal{grid-template-columns:repeat(2,minmax(0,1fr))}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 16px;border-radius:var(--md-sys-shape-corner-full);border:1px solid transparent;font-family:inherit;font-size:.875rem;font-weight:600;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,opacity .15s ease}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background-color:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary)}.btn-tonal{background-color:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}.btn-outlined{background-color:transparent;border-color:var(--md-sys-color-outline);color:var(--md-sys-color-on-surface)}.btn-danger{background-color:var(--md-sys-color-error-container);color:var(--md-sys-color-on-error-container);border-color:var(--md-sys-color-error)}.btn-icon{padding:8px;border-radius:var(--md-sys-shape-corner-full);background-color:var(--md-sys-color-surface-container);border:1px solid var(--md-sys-color-outline-variant);color:var(--md-sys-color-on-surface);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.field-group{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.field-label{font-size:.85rem;font-weight:600;color:var(--md-sys-color-on-surface-variant)}.field-input,.field-select,.field-textarea{width:100%;padding:10px 12px;border-radius:var(--md-sys-shape-corner-small);border:1px solid var(--md-sys-color-outline);background-color:var(--md-sys-color-surface-container-lowest);color:var(--md-sys-color-on-surface);font-family:inherit;font-size:.925rem}.field-textarea{min-height:96px;resize:vertical}.badge{display:inline-flex;align-items:center;gap:4px;padding:2px 10px;border-radius:var(--md-sys-shape-corner-full);font-size:.75rem;font-weight:600;border:1px solid var(--md-sys-color-outline-variant)}.badge-primary{background-color:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}.badge-secondary{background-color:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}.badge-warning{background-color:var(--md-sys-color-warning-container);color:var(--md-sys-color-on-warning-container);border-color:var(--md-sys-color-warning)}.badge-error{background-color:var(--md-sys-color-error-container);color:var(--md-sys-color-on-error-container);border-color:var(--md-sys-color-error)}.badge-success{background-color:var(--md-sys-color-success-container);color:var(--md-sys-color-on-success-container)}.alert-banner{display:flex;align-items:flex-start;gap:10px;padding:12px 16px;border-radius:var(--md-sys-shape-corner-medium);border:1px solid var(--md-sys-color-outline);margin-bottom:16px}.alert-warning{background-color:var(--md-sys-color-warning-container);color:var(--md-sys-color-on-warning-container);border-color:var(--md-sys-color-warning)}.alert-error{background-color:var(--md-sys-color-error-container);color:var(--md-sys-color-on-error-container);border-color:var(--md-sys-color-error)}.alert-info{background-color:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container);border-color:var(--md-sys-color-primary)}.chip-row{display:flex;flex-wrap:wrap;gap:8px}.chip{padding:6px 12px;border-radius:var(--md-sys-shape-corner-full);border:1px solid var(--md-sys-color-outline);background-color:var(--md-sys-color-surface);color:var(--md-sys-color-on-surface-variant);font-size:.82rem;font-weight:500;cursor:pointer}.chip.selected{background-color:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container);border-color:var(--md-sys-color-secondary);font-weight:600}.doc-block-warning{background-color:var(--md-sys-color-warning-container);color:var(--md-sys-color-on-warning-container);border-left:4px solid var(--md-sys-color-warning);padding:12px 14px;border-radius:var(--md-sys-shape-corner-small);margin:10px 0}.doc-block-callout{background-color:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container);border-left:4px solid var(--md-sys-color-secondary);padding:12px 14px;border-radius:var(--md-sys-shape-corner-small);margin:10px 0}.login-shell{min-height:100vh;display:flex;flex-direction:column;background-color:var(--md-sys-color-background)}.login-center{flex:1;display:flex;align-items:center;justify-content:center;padding:24px 16px}.login-card{width:100%;max-width:460px}
