:root{color-scheme:light;--bg: #f3f0e8;--panel: rgba(255, 255, 255, .78);--panel-strong: #ffffff;--text: #14211f;--muted: #61706c;--line: rgba(20, 33, 31, .1);--accent: #0f766e;--accent-strong: #115e59;--danger: #b42318;--success: #027a48;--shadow: 0 20px 50px rgba(20, 33, 31, .12);font-family:Avenir Next,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at top left,rgba(15,118,110,.16),transparent 32%),radial-gradient(circle at bottom right,rgba(196,140,56,.18),transparent 28%),var(--bg);color:var(--text)}button,input,select{font:inherit}button,input,select,table{border-radius:14px}input,select{width:100%;border:1px solid var(--line);background:#fff;color:var(--text);padding:.85rem .95rem}input[type=checkbox]{width:auto;padding:0}table{width:100%;border-collapse:collapse;background:var(--panel-strong)}th,td{padding:.85rem;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}th{color:var(--muted);font-size:.82rem;text-transform:uppercase;letter-spacing:.08em}.screen-center{min-height:100vh;display:grid;place-items:center;color:var(--muted)}.eyebrow{margin:0 0 .4rem;font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--accent-strong)}.login-layout{min-height:100vh;display:grid;grid-template-columns:1.25fr .95fr}.login-hero,.login-panel{padding:4rem;display:flex;align-items:center}.login-hero{flex-direction:column;justify-content:center;gap:2rem}.login-hero h1{margin:0;font-size:clamp(3rem,6vw,5.2rem);line-height:.95;max-width:10ch}.hero-copy{max-width:36rem;color:var(--muted);font-size:1.05rem}.hero-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;width:100%}.hero-card,.auth-card,.panel,.metric-card{background:var(--panel);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.5);box-shadow:var(--shadow)}.hero-card{padding:1.2rem;display:grid;gap:.4rem}.hero-card span{color:var(--muted)}.login-panel{justify-content:center}.auth-card{width:min(100%,30rem);padding:2rem;border-radius:28px;display:grid;gap:1rem}.auth-card h2{margin:0;font-size:2rem}.auth-card label{display:grid;gap:.45rem;color:var(--muted)}.primary-button,.secondary-button,.ghost-button,.nav-pill,.tab-button{border:none;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}.primary-button{background:linear-gradient(135deg,var(--accent),var(--accent-strong));color:#fff;padding:.95rem 1.1rem}.secondary-button,.ghost-button,.nav-pill,.tab-button{background:#ffffffb8;color:var(--text);padding:.85rem 1rem;border:1px solid var(--line)}.form-error,.notice.error{color:var(--danger)}.notice.success{color:var(--success)}.app-shell{min-height:100vh;display:grid;grid-template-columns:18rem 1fr}.sidebar{padding:2rem 1.25rem;border-right:1px solid rgba(20,33,31,.08);background:#ffffff80;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);display:flex;flex-direction:column;justify-content:flex-start;gap:2rem}.sidebar-title{margin:0;font-size:1.8rem}.sidebar-nav{display:grid;gap:.75rem}.nav-pill{text-align:left}.nav-pill-active{background:linear-gradient(135deg,#0f766e2e,#115e5947);border-color:#0f766e3d}.nav-pill-disabled{color:var(--muted)}.sidebar-footer{display:grid;gap:.9rem;margin-top:.5rem}.sidebar-footer span{display:block;color:var(--muted);margin-top:.2rem}.main-panel{padding:2rem;display:grid;align-content:start;gap:1.25rem}.topbar,.panel-header,.form-row,.form-actions,.toolbar,.table-meta{display:flex;align-items:center;justify-content:space-between;gap:1rem}.topbar h2,.panel-header h3{margin:0}.toolbar{flex-wrap:wrap}.toolbar select{min-width:14rem}.content-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.metric-card,.panel{border-radius:26px}.metric-card{padding:1.25rem;display:grid;gap:.55rem}.metric-card span,.metric-card small,.summary-grid span{color:var(--muted)}.metric-card strong{font-size:2.2rem}.wide-panel{grid-column:1 / -1}.panel-stack{display:grid;gap:1rem}.reports-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.las42-chart-grid{display:grid;grid-template-columns:1fr;gap:1rem}.las42-chart-panel{display:grid;gap:1rem}.las42-chart{width:100%;display:block;border:1px solid var(--line);border-radius:18px;background:#fff}.las42-svg-wrap{display:grid;gap:.85rem;overflow:visible}.chart-scroll{overflow-x:auto;overflow-y:hidden;padding-bottom:.95rem}.las42-svg-chart{width:100%;min-height:20rem;display:block;border:1px solid var(--line);border-radius:18px;background:#ffffffe0}.las42-svg-chart-wide{max-width:none}.chart-axis{stroke:#14211f6b;stroke-width:1.5}.chart-grid-line{stroke:#14211f17;stroke-width:1}.chart-line{fill:none;stroke:var(--accent);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.chart-line-step{stroke-width:3}.chart-line-betterforms{stroke:#0f766e}.chart-line-mirrorsync{stroke:#b45309}.chart-line-other{stroke:#475569}.chart-line-total-dapi{stroke:#0f766e}.chart-line-cpu{stroke:#2563eb}.chart-line-fm-cpu{stroke:#7c3aed}.chart-line-memory-free{stroke:#2563eb}.chart-line-memory-pressure{stroke:#7c3aed}.chart-line-rss{stroke:#0f766e}.chart-line-established{stroke:#b45309}.chart-line-errors{stroke:#be123c}.chart-crash-line{stroke:#dc2626;stroke-width:2;stroke-opacity:.7}.chart-crash-point{fill:#dc2626}.chart-recovery-line{stroke:#16a34a;stroke-width:2;stroke-opacity:.7;stroke-dasharray:5 5}.chart-recovery-point{fill:#16a34a}.chart-daily-crash-bar{fill:#dc2626;opacity:.82}.chart-line-daily-burst{stroke-width:3;stroke-dasharray:7 5}.chart-daily-burst-point{fill:#0f766e}.chart-burst-segment{opacity:.9;cursor:pointer}.chart-burst-betterforms{fill:#0f766e}.chart-burst-mirrorsync{fill:#b45309}.chart-burst-other{fill:#475569}.chart-bar-value{font-weight:700;fill:#991b1b}.chart-popover{position:fixed;z-index:5000;max-height:min(72vh,44rem);padding:1rem 2.6rem 1rem 1rem;border:1px solid rgba(15,23,42,.24);border-radius:8px;background:#303538f5;box-shadow:0 18px 42px #0f172a47;color:#fff;overflow:auto;-webkit-user-select:text;user-select:text}.chart-popover pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:600 .92rem/1.35 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.chart-popover-close{position:absolute;top:.45rem;right:.45rem;width:1.75rem;height:1.75rem;display:grid;place-items:center;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:#ffffff24;color:#fff;cursor:pointer;font-weight:800;line-height:1}.chart-popover-close:hover{background:#ffffff3d}.chart-event-label{font-size:.76rem;font-weight:700;paint-order:stroke;stroke:#ffffffe6;stroke-width:4px}.chart-crash-label{fill:#b91c1c}.chart-recovery-label{fill:#15803d}.chart-point{fill:var(--accent-strong)}.chart-label{fill:var(--muted);font-size:.82rem}.chart-legend{display:flex;flex-wrap:wrap;gap:.75rem 1rem;color:var(--muted)}.chart-legend span{display:inline-flex;align-items:center;gap:.4rem}.chart-legend i{width:.8rem;height:.8rem;border-radius:999px}.legend-betterforms,.legend-rss{background:#0f766e}.legend-mirrorsync,.legend-established{background:#b45309}.legend-other{background:#475569}.legend-total-dapi{background:#0f766e}.legend-crash{background:#dc2626}.legend-recovery{background:#16a34a}.legend-cpu{background:#2563eb}.legend-fm-cpu,.legend-memory-pressure{background:#7c3aed}.legend-memory-free{background:#2563eb}.legend-errors{background:#be123c}.las42-tabs{margin:0 0 1rem}.panel{padding:1.25rem}.panel-description,.modal-context{margin:.85rem 0 0;color:var(--muted)}.panel-tools{display:grid;gap:.85rem;margin-bottom:1rem}.horizontal-menu{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}.segmented-control{display:inline-flex;gap:.25rem;padding:.25rem;border:1px solid var(--line);border-radius:12px;background:#ffffffb8}.segment-button{min-width:2.75rem;border:none;border-radius:8px;padding:.55rem .7rem;background:transparent;color:var(--muted);cursor:pointer}.segment-button-active{background:#0f766e29;color:var(--accent-strong);font-weight:700}.tab-button-active{background:#0f766e1f;border-color:#0f766e3d;color:var(--accent-strong);font-weight:700}.drop-zone{display:grid;place-items:center;gap:.45rem;min-height:14rem;padding:2rem;border:2px dashed rgba(15,118,110,.26);border-radius:18px;background:#0f766e0d;color:var(--muted);text-align:center;cursor:pointer}.drop-zone input{display:none}.drop-zone strong{color:var(--text);font-size:1.15rem}.drop-zone-active{background:#0f766e1f;border-color:var(--accent)}.filter-toolbar{display:grid;grid-template-columns:minmax(13rem,.9fr) minmax(10rem,.7fr) minmax(12rem,.8fr) minmax(0,1.8fr);gap:.85rem}.summary-grid,.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem}.summary-grid div{background:#0f766e0f;border:1px solid rgba(15,118,110,.08);border-radius:18px;padding:1rem}.summary-grid strong{display:block;margin-bottom:.35rem}.table-wrap{overflow:auto}.actions-cell{display:flex;flex-wrap:wrap;gap:.5rem}.pagination-controls{display:flex;align-items:center;gap:.75rem}.table-counts{display:flex;flex-wrap:wrap;gap:.4rem .85rem;color:var(--muted)}.table-counts span:first-child{color:var(--text);font-weight:700}.row-save-state{align-self:center;font-weight:700;white-space:nowrap}.row-save-state-success{color:var(--success)}.row-save-state-error{color:var(--danger)}.menu-access-grid{min-width:28rem;display:grid;gap:.45rem}.menu-access-bulk{display:flex;flex-wrap:wrap;gap:.45rem;justify-content:flex-end}.menu-access-bulk .ghost-button{padding:.45rem .7rem}.menu-access-row{display:grid;grid-template-columns:minmax(7rem,1fr) auto;align-items:center;gap:.75rem;padding:.45rem .6rem;border:1px solid var(--line);border-radius:14px;background:#0f766e0a}.menu-access-row label{display:inline-flex;align-items:center;gap:.35rem;color:var(--muted);white-space:nowrap}.menu-access-note{display:inline-block;min-width:15rem;color:var(--muted)}.empty-cell{text-align:center;color:var(--muted);padding:1.5rem}.notice{padding:.85rem 1rem;border-radius:18px;background:#ffffffa6;border:1px solid var(--line)}.trend-card{display:grid;gap:1rem}.trend-card-teal{background:linear-gradient(180deg,#0f766e14,#ffffffe0),var(--panel)}.trend-card-gold{background:linear-gradient(180deg,#c48c381a,#ffffffe0),var(--panel)}.trend-card-slate{background:linear-gradient(180deg,#61706c1f,#ffffffe0),var(--panel)}.trend-list{display:grid;gap:.9rem}.trend-row{display:grid;gap:.45rem}.trend-label-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.trend-label-row span{color:var(--text)}.trend-bar-track{width:100%;height:.65rem;border-radius:999px;background:#14211f14;overflow:hidden}.trend-bar-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),#4f8f88)}.modal-overlay{position:fixed;inset:0;background:#14211f59;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:grid;place-items:center;padding:1.5rem;z-index:1000}.modal-card{width:min(100%,70rem);max-height:calc(100vh - 3rem);overflow:auto;background:#fffffff2;border:1px solid rgba(255,255,255,.65);border-radius:28px;box-shadow:var(--shadow);padding:1.5rem}@media(max-width:1100px){.login-layout,.app-shell{grid-template-columns:1fr}.hero-grid,.content-grid,.reports-grid,.las42-chart-grid,.summary-grid,.form-grid,.filter-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.login-hero,.login-panel,.main-panel{padding:1.25rem}.hero-grid,.content-grid,.reports-grid,.las42-chart-grid,.summary-grid,.form-grid,.filter-toolbar{grid-template-columns:1fr}.topbar,.panel-header,.form-row,.form-actions,.toolbar,.table-meta{flex-direction:column;align-items:stretch}.pagination-controls{justify-content:space-between}}
