:root{--bg-main: #0B132B;--bg-surface: #1C2541;--bg-card: rgba(28, 37, 65, .85);--bg-glass: rgba(11, 19, 43, .92);--bg-inset-40: rgba(15, 23, 42, .4);--bg-inset-50: rgba(15, 23, 42, .5);--bg-inset-60: rgba(15, 23, 42, .6);--bg-inset-65: rgba(15, 23, 42, .65);--bg-inset-80: rgba(15, 23, 42, .8);--bg-inset-85: rgba(15, 23, 42, .85);--border-color: rgba(148, 163, 184, .18);--border-hover: rgba(56, 189, 248, .5);--text-primary: #F8FAFC;--text-secondary: #CBD5E1;--text-muted: #94A3B8;--brand-primary: #1E40AF;--brand-gradient: linear-gradient(135deg, #1E3A8A 0%, #0284C7 100%);--accent-cyan: #38BDF8;--accent-emerald: #10B981;--accent-amber: #F59E0B;--accent-rose: #F43F5E;--accent-tint-weak: rgba(2, 132, 199, .15);--accent-tint-border: rgba(2, 132, 199, .3);--tag-pipe-bg: rgba(2, 132, 199, .15);--tag-pipe-border: rgba(2, 132, 199, .3);--tag-pipe-text: #7DD3FC;--tag-bundle-bg: rgba(139, 92, 246, .15);--tag-bundle-border: rgba(139, 92, 246, .3);--tag-bundle-text: #C4B5FD;--error-text: #FECDD3;--success-text: #D1FAE5;--radius-sm: 6px;--radius-md: 10px;--radius-lg: 14px;--shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, .2);--shadow-md: 0 4px 8px -1px rgba(0, 0, 0, .3), 0 2px 4px -2px rgba(0, 0, 0, .2);--shadow-lg: 0 12px 20px -3px rgba(0, 0, 0, .4);--shadow-glow: 0 0 20px rgba(56, 189, 248, .15);--btn-shadow: 0 2px 8px rgba(2, 132, 199, .3);--logo-icon-shadow: 0 0 12px rgba(2, 132, 199, .4);--overlay-hover: rgba(255, 255, 255, .05);--font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-mono: "JetBrains Mono", Consolas, monospace}:root[data-theme=light]{--bg-main: #F2F0E9;--bg-surface: #FFFFFF;--bg-card: #FFFFFF;--bg-glass: rgba(255, 255, 255, .88);--bg-inset-40: rgba(23, 21, 15, .035);--bg-inset-50: rgba(23, 21, 15, .045);--bg-inset-60: rgba(23, 21, 15, .05);--bg-inset-65: rgba(23, 21, 15, .055);--bg-inset-80: #ECE8DD;--border-color: rgba(23, 21, 15, .16);--border-hover: #C2410C;--text-primary: #17150F;--text-secondary: #44412F;--text-muted: #7A765F;--brand-primary: #17150F;--brand-gradient: linear-gradient(135deg, #17150F 0%, #3A3629 100%);--accent-cyan: #C2410C;--accent-emerald: #15803D;--accent-amber: #A6540A;--accent-rose: #B91C1C;--accent-tint-weak: rgba(194, 65, 12, .1);--accent-tint-border: rgba(194, 65, 12, .3);--tag-pipe-bg: rgba(194, 65, 12, .08);--tag-pipe-border: rgba(194, 65, 12, .3);--tag-pipe-text: #9A3412;--tag-bundle-bg: rgba(109, 40, 217, .08);--tag-bundle-border: rgba(109, 40, 217, .3);--tag-bundle-text: #6D28D9;--error-text: #991B1B;--success-text: #065F46;--shadow-sm: 0 1px 2px rgba(23, 21, 15, .06);--shadow-md: 0 4px 10px rgba(23, 21, 15, .08);--shadow-lg: 0 14px 30px rgba(23, 21, 15, .1);--shadow-glow: 0 0 0 rgba(0, 0, 0, 0);--btn-shadow: 0 2px 6px rgba(23, 21, 15, .22);--logo-icon-shadow: none;--overlay-hover: rgba(23, 21, 15, .06)}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-main);background-color:var(--bg-main);color:var(--text-primary);line-height:1.5;min-height:100vh;-webkit-font-smoothing:antialiased;transition:background-color .2s ease,color .2s ease}.app-container{display:flex;flex-direction:column;min-height:100vh}.main-content{flex:1;max-width:1380px;margin:0 auto;padding:2rem 1.5rem;width:100%}.app-header{background:var(--bg-glass);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border-color);position:sticky;top:0;z-index:40;padding:.875rem 1.5rem}.header-inner{max-width:1380px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:1.5rem}.brand-badge{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:inherit}.brand-logo-icon{width:38px;height:38px;border-radius:var(--radius-md);background:var(--brand-gradient);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.1rem;color:#fff;box-shadow:var(--logo-icon-shadow)}.brand-title{font-size:1.15rem;font-weight:700;letter-spacing:-.02em;color:var(--text-primary)}.brand-subtitle{font-size:.75rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;font-weight:600}.search-section{margin-bottom:2rem}.search-input-wrapper{position:relative;display:flex;align-items:center;background:var(--bg-surface);border:1px solid var(--border-color);border-radius:var(--radius-lg);padding:.5rem 1rem;transition:all .2s ease;box-shadow:var(--shadow-sm)}.search-input-wrapper:focus-within{border-color:var(--accent-cyan);box-shadow:var(--shadow-glow)}.search-icon{color:var(--text-muted);margin-right:.75rem}.search-input{background:transparent;border:none;color:var(--text-primary);font-size:1.05rem;width:100%;outline:none}.search-input::placeholder{color:var(--text-muted)}.view-and-sort-controls,.card-sort-controls{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.card-sort-controls label{color:var(--text-muted);font-size:.8rem;font-weight:600}.card-sort-controls select,.card-sort-direction{border:1px solid var(--border-color);border-radius:var(--radius-sm);background:var(--bg-surface);color:var(--text-primary);padding:.4rem .55rem;font-size:.8rem}.card-sort-direction{cursor:pointer;display:inline-flex;align-items:center;gap:.3rem}.revision-delete-button{display:inline-flex;align-items:center;justify-content:center;padding:.32rem;border:1px solid rgba(244,63,94,.45);border-radius:9999px;background:#f43f5e14;color:var(--accent-rose);cursor:pointer}.revision-delete-button:disabled{cursor:wait;opacity:.5}.search-clear-btn{background:transparent;border:none;color:var(--text-muted);cursor:pointer;padding:.25rem;border-radius:50%;display:flex;align-items:center;justify-content:center}.search-clear-btn:hover{color:var(--text-primary)}.filter-pills{display:flex;gap:.5rem;margin-top:.75rem;flex-wrap:wrap}.filter-pill{font-size:.8rem;padding:.3rem .75rem;border-radius:9999px;background:var(--bg-inset-60);border:1px solid var(--border-color);color:var(--text-secondary);cursor:pointer;transition:all .15s ease}.filter-pill:hover,.filter-pill.active{background:var(--accent-tint-weak);border-color:var(--accent-cyan);color:var(--accent-cyan)}.results-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem}.results-count{font-size:.95rem;color:var(--text-secondary)}.cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(380px,1fr));gap:1.25rem}.test-card{background:var(--bg-card);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--border-color);border-radius:var(--radius-lg);padding:1.25rem;transition:all .2s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;justify-content:space-between;cursor:pointer}.test-card:hover{transform:translateY(-2px);border-color:var(--border-hover);box-shadow:var(--shadow-glow)}.card-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem}.log-number{font-family:var(--font-mono);font-size:1.25rem;font-weight:700;color:var(--accent-cyan)}.status-badge{font-size:.75rem;font-weight:600;text-transform:uppercase;padding:.2rem .6rem;border-radius:var(--radius-sm)}.status-badge.complete{background:#10b98126;color:var(--accent-emerald);border:1px solid rgba(16,185,129,.3)}.status-badge.draft{background:#f59e0b26;color:var(--accent-amber);border:1px solid rgba(245,158,11,.3)}.status-badge.confirmed{background:#38bdf826;color:var(--accent-cyan);border:1px solid rgba(56,189,248,.3)}.metrics-row{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;background:var(--bg-inset-50);border-radius:var(--radius-md);padding:.65rem .75rem;margin:.75rem 0}.metric-item{display:flex;flex-direction:column}.metric-label{font-size:.7rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.metric-val{font-family:var(--font-mono);font-size:.95rem;font-weight:600;color:var(--text-primary)}.tags-section{display:flex;flex-direction:column;gap:.4rem;margin-bottom:.75rem}.tag-list{display:flex;flex-wrap:wrap;gap:.35rem}.tag-pipe{background:var(--tag-pipe-bg);color:var(--tag-pipe-text);font-family:var(--font-mono);font-size:.75rem;padding:.15rem .5rem;border-radius:var(--radius-sm);border:1px solid var(--tag-pipe-border)}.tag-bundle{background:var(--tag-bundle-bg);color:var(--tag-bundle-text);font-family:var(--font-mono);font-size:.75rem;padding:.15rem .5rem;border-radius:var(--radius-sm);border:1px solid var(--tag-bundle-border)}.card-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border-color);padding-top:.75rem;margin-top:.5rem;font-size:.8rem;color:var(--text-muted)}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000bf;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:50;padding:1.5rem}.modal-content{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:var(--radius-lg);max-width:900px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:var(--shadow-lg);display:flex;flex-direction:column}.modal-header{padding:1.25rem 1.5rem;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;background:var(--bg-surface);z-index:10}.test-detail-header,.record-detail-header{display:flex;flex-direction:column;align-items:stretch;gap:.75rem}.test-detail-header-top{display:flex;justify-content:space-between;align-items:flex-start;gap:.75rem;width:100%}.test-detail-title-group{flex:1;min-width:0}.test-detail-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;width:100%}.modal-body{padding:1.5rem;display:flex;flex-direction:column;gap:1.5rem}.modal-close-btn{background:transparent;border:none;color:var(--text-muted);cursor:pointer;padding:.5rem;border-radius:50%}.modal-close-btn:hover{color:var(--text-primary);background:var(--overlay-hover)}.btn-primary{background:var(--brand-gradient);color:#fff;border:none;padding:.6rem 1.2rem;border-radius:var(--radius-md);font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:.5rem;box-shadow:var(--btn-shadow);transition:all .15s ease;text-decoration:none}.btn-primary:hover{filter:brightness(1.1);transform:translateY(-1px)}.artifacts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem}.artifact-card{background:var(--bg-inset-60);border:1px solid var(--border-color);border-radius:var(--radius-md);padding:.75rem;display:flex;align-items:center;justify-content:space-between;gap:.5rem;text-decoration:none;color:inherit;transition:all .15s ease}.artifact-card:hover{border-color:var(--accent-cyan);background:var(--accent-tint-weak)}.empty-state{text-align:center;padding:4rem 1rem;color:var(--text-muted)}.mobile-bottom-nav,.mobile-upload-fab,.mobile-sheet-overlay,.mobile-header-status{display:none}.statistics-tab{display:flex;flex-direction:column;gap:1.25rem}.statistics-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:flex-end;gap:1.5rem;padding:1.5rem;border:1px solid rgba(56,189,248,.24);border-radius:18px;background:radial-gradient(circle at 85% 20%,rgba(56,189,248,.18),transparent 34%),linear-gradient(135deg,var(--bg-surface),var(--bg-inset-60))}.statistics-eyebrow{display:flex;align-items:center;gap:.4rem;color:var(--accent-cyan);font-size:.75rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.statistics-hero h1{margin-top:.35rem;font-size:clamp(1.55rem,3vw,2.2rem);letter-spacing:-.035em}.statistics-hero p{max-width:640px;margin-top:.3rem;color:var(--text-secondary)}.statistics-period{flex:0 0 auto;display:flex;padding:4px;border:1px solid var(--border-color);border-radius:12px;background:var(--bg-inset-60)}.statistics-period button{min-height:40px;padding:.45rem .8rem;border:0;border-radius:9px;background:transparent;color:var(--text-muted);font:inherit;font-size:.78rem;font-weight:700;cursor:pointer}.statistics-period button.active{background:var(--brand-gradient);color:#fff;box-shadow:var(--btn-shadow)}.statistics-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem}.statistics-kpi{min-width:0;display:flex;align-items:center;gap:.85rem;padding:1rem;border:1px solid var(--border-color);border-radius:14px;background:var(--bg-card);box-shadow:var(--shadow-sm)}.statistics-kpi>span,.leader-icon{flex:0 0 auto;width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#38bdf821;color:var(--accent-cyan)}.statistics-kpi.emerald>span{background:#10b98121;color:var(--accent-emerald)}.statistics-kpi.amber>span{background:#f59e0b21;color:var(--accent-amber)}.statistics-kpi.violet>span{background:#8b5cf621;color:#a78bfa}.statistics-kpi div{min-width:0;display:flex;flex-direction:column}.statistics-kpi small,.statistics-panel header small,.statistics-leader small{color:var(--text-muted);font-size:.7rem;font-weight:750;letter-spacing:.045em;text-transform:uppercase}.statistics-kpi strong{margin-top:.12rem;color:var(--text-primary);font-family:var(--font-mono);font-size:1.6rem;line-height:1.15}.statistics-kpi em,.statistics-legend em{color:var(--text-muted);font-size:.7rem;font-style:normal}.statistics-feature-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:.85rem}.statistics-panel,.statistics-leader{border:1px solid var(--border-color);border-radius:16px;background:var(--bg-card);box-shadow:var(--shadow-sm)}.statistics-panel{padding:1.15rem}.statistics-panel>header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.statistics-panel h2{margin-top:.15rem;font-size:1rem}.statistics-donut-layout{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(180px,1.2fr);align-items:center;gap:1.25rem;min-height:250px;padding-top:.75rem}.statistics-donut{width:min(220px,100%);aspect-ratio:1;margin:auto;padding:18px;border-radius:50%;box-shadow:inset 0 0 0 1px var(--border-color),0 18px 45px #0000002e}.statistics-donut>div{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;background:var(--bg-surface)}.statistics-donut strong{font-family:var(--font-mono);font-size:2rem}.statistics-donut span{color:var(--text-muted);font-size:.75rem}.statistics-legend{display:flex;flex-direction:column;gap:.45rem}.statistics-legend>div{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:.6rem;min-height:32px}.statistics-legend>div>span{width:9px;height:9px;border-radius:50%}.statistics-legend b{overflow:hidden;color:var(--text-secondary);font-family:var(--font-mono);font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.statistics-leaders{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:.85rem}.statistics-leader{display:flex;align-items:center;gap:1rem;padding:1.1rem;background:linear-gradient(145deg,rgba(245,158,11,.1),var(--bg-card) 58%)}.statistics-leader.pressure{background:linear-gradient(145deg,rgba(56,189,248,.1),var(--bg-card) 58%)}.statistics-leader .leader-icon{background:#f59e0b26;color:var(--accent-amber)}.statistics-leader.pressure .leader-icon{background:#38bdf821;color:var(--accent-cyan)}.statistics-leader strong{display:block;margin-top:.25rem;font-family:var(--font-mono);font-size:1.35rem}.statistics-leader p{color:var(--text-secondary);font-size:.78rem}.statistics-daily-panel{min-width:0}.statistics-average-badge{padding:.35rem .65rem;border:1px solid rgba(16,185,129,.3);border-radius:999px;background:#10b9811a;color:var(--accent-emerald);font-family:var(--font-mono);font-size:.75rem;font-weight:700}.statistics-bars{height:240px;display:flex;align-items:stretch;gap:clamp(4px,1vw,12px);overflow-x:auto;padding:1rem 0 .25rem}.statistics-bar-column{flex:1 0 30px;min-width:30px;display:grid;grid-template-rows:20px minmax(0,1fr) 28px;align-items:end;text-align:center}.statistics-bar-value{color:var(--text-secondary);font-family:var(--font-mono);font-size:.68rem}.statistics-bar-track{width:min(22px,72%);height:100%;margin:auto;display:flex;align-items:flex-end;border-radius:7px 7px 3px 3px;background:var(--bg-inset-40);overflow:hidden}.statistics-bar-track span{width:100%;border-radius:inherit;background:linear-gradient(180deg,var(--accent-cyan),var(--brand-primary));box-shadow:0 0 16px #38bdf847}.statistics-bar-column time{align-self:center;color:var(--text-muted);font-family:var(--font-mono);font-size:.58rem;writing-mode:vertical-rl}.statistics-empty{padding:4rem 1rem;color:var(--text-muted);text-align:center}.image-viewer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:3000;display:flex;flex-direction:column;background:#020610f5}.image-viewer-bar{display:flex;align-items:center;gap:.5rem;padding:calc(.5rem + env(safe-area-inset-top)) .75rem .5rem;color:#fff}.image-viewer-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;font-size:.95rem}.image-viewer-bar button,.image-viewer-bar a{flex-shrink:0;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;background:#ffffff1f;color:#fff;cursor:pointer}.image-viewer-stage{flex:1;min-height:0;overflow:auto;display:flex;align-items:center;justify-content:center;padding:0 .5rem calc(.5rem + env(safe-area-inset-bottom));touch-action:pan-x pan-y pinch-zoom}.image-viewer-stage img{max-width:100%;max-height:100%;object-fit:contain;border-radius:8px;cursor:zoom-in}.image-viewer-stage.zoomed{display:block}.image-viewer-stage.zoomed img{max-width:none;max-height:none;width:250%;cursor:zoom-out}.detail-metric-label{font-size:.75rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.accounts-tab{display:flex;flex-direction:column;gap:1rem}.accounts-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap}.accounts-head h2{display:flex;align-items:center;gap:.5rem;font-size:1.35rem}.accounts-head p{color:var(--text-muted);font-size:.88rem;margin-top:.25rem}.accounts-toolbar{display:flex;justify-content:space-between;align-items:center;gap:.75rem}.accounts-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:.85rem}.account-card{display:flex;flex-direction:column;gap:.75rem;min-width:0;padding:1rem;border:1px solid var(--border-color);border-radius:var(--radius-md);background:var(--bg-surface)}.account-card.inactive{opacity:.68}.account-card-top{display:flex;align-items:center;gap:.75rem;min-width:0}.account-avatar{flex-shrink:0;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-weight:800;color:var(--role-color);background:color-mix(in srgb,var(--role-color) 15%,transparent);border:1px solid color-mix(in srgb,var(--role-color) 45%,transparent)}.account-identity{flex:1;min-width:0;display:flex;flex-direction:column}.account-identity strong{overflow-wrap:anywhere}.account-identity em{font-style:normal;color:var(--text-muted);font-weight:500}.account-identity span{color:var(--text-muted);font-size:.82rem;overflow-wrap:anywhere}.account-role-badge{flex-shrink:0;display:inline-flex;align-items:center;gap:.3rem;padding:.25rem .6rem;border-radius:999px;font-size:.75rem;font-weight:700;color:var(--role-color);border:1px solid color-mix(in srgb,var(--role-color) 45%,transparent);background:color-mix(in srgb,var(--role-color) 10%,transparent)}.account-status{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .6rem}.account-chip{padding:.2rem .55rem;border-radius:999px;font-size:.75rem;font-weight:700;border:1px solid currentColor}.account-chip.danger{color:var(--accent-rose)}.account-chip.warn{color:var(--accent-amber)}.account-chip.info{color:var(--accent-cyan)}.account-meta{color:var(--text-muted);font-size:.78rem}.account-actions{display:flex;flex-wrap:wrap;gap:.4rem}.account-actions .filter-pill{display:inline-flex;align-items:center;gap:.35rem}.account-actions .account-danger{color:var(--accent-rose)}.account-actions .account-ok{color:var(--accent-emerald)}.account-form-fields{display:flex;flex-direction:column;gap:.75rem}.account-form-fields>label:not(.account-check),.account-field-label{display:flex;flex-direction:column;gap:.3rem;font-size:.8rem;color:var(--text-muted)}.account-form-fields input[type=text],.account-form-fields input[type=email],.account-form-fields input:not([type]),.account-password-field input,.auth-form input[type=password]{width:100%;min-height:44px;padding:.55rem .75rem;border:1px solid var(--border-color);border-radius:var(--radius-sm);background:var(--bg-inset-40);color:var(--text-primary);font-size:16px}.account-form-fields small{font-size:.75rem}.account-password-field{display:flex;gap:.4rem}.account-password-field button{flex-shrink:0;min-width:80px;border:1px solid var(--border-color);border-radius:var(--radius-sm);background:transparent;color:var(--text-secondary);cursor:pointer}.account-role-options{display:grid;gap:.4rem}.account-role-option{display:flex;align-items:flex-start;gap:.6rem;padding:.6rem .75rem;border:1px solid var(--border-color);border-radius:var(--radius-sm);cursor:pointer}.account-role-option.selected{border-color:var(--role-color);background:color-mix(in srgb,var(--role-color) 9%,transparent)}.account-role-option.disabled{cursor:not-allowed;opacity:.6}.account-role-option input{margin-top:.2rem;accent-color:var(--role-color)}.account-role-option span{display:flex;flex-direction:column}.account-role-option small{color:var(--text-muted);font-size:.78rem}.account-check{display:flex;align-items:center;gap:.6rem;min-height:44px;cursor:pointer}.account-check input{width:20px;height:20px}.account-note{color:var(--text-muted);font-size:.85rem;line-height:1.45}.account-error{padding:.65rem .85rem;border:1px solid var(--accent-rose);border-radius:var(--radius-sm);background:#f43f5e1a;color:var(--error-text);font-size:.88rem}.account-link-box{padding:.75rem;border:1px dashed var(--accent-cyan);border-radius:var(--radius-sm);background:var(--bg-inset-60);font-family:var(--font-mono);font-size:.82rem;overflow-wrap:anywhere;-webkit-user-select:all;user-select:all}.share-panel{display:flex;flex-direction:column;gap:.6rem;padding:1rem;border:1px solid var(--border-color);border-radius:var(--radius-md);background:var(--bg-inset-40)}.share-panel-hint,.share-panel-empty{color:var(--text-muted);font-size:.82rem;line-height:1.45}.share-panel-list{display:flex;flex-direction:column;gap:.5rem}.share-row{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:.65rem .75rem;border:1px solid var(--border-color);border-left:3px solid var(--accent-emerald);border-radius:var(--radius-sm);background:var(--bg-surface)}.share-row.legacy{border-left-color:var(--accent-amber)}.share-row-main{min-width:0;display:flex;flex-direction:column;gap:.15rem}.share-row-main strong{display:flex;align-items:center;gap:.35rem;font-size:.88rem}.share-row-url{font-family:var(--font-mono);font-size:.75rem;color:var(--text-muted);overflow-wrap:anywhere}.share-row-meta{font-size:.75rem;color:var(--text-muted)}.share-row-actions{display:flex;gap:.4rem;flex-shrink:0}.share-row-actions .filter-pill{display:inline-flex;align-items:center;gap:.3rem}.share-row-actions .share-revoke{color:var(--accent-rose)}.public-header-actions{display:flex;align-items:center;gap:.6rem}.public-theme-button{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border-color);border-radius:var(--radius-md);background:var(--bg-surface);color:var(--text-secondary);cursor:pointer}.public-metric{background:var(--bg-inset-60);padding:.75rem;border-radius:var(--radius-md);border:1px solid var(--border-color)}.auth-page{min-height:100dvh;display:flex;align-items:flex-start;justify-content:center;padding:calc(8vh + env(safe-area-inset-top)) 1rem 2rem;background:radial-gradient(900px 500px at 50% -10%,rgba(56,189,248,.12),transparent 60%),var(--bg-main)}.auth-card{width:min(100%,420px);display:flex;flex-direction:column;gap:1.25rem;padding:1.5rem;border:1px solid var(--border-color);border-radius:18px;background:var(--bg-surface);box-shadow:0 30px 70px #00000059}.auth-brand{display:flex;justify-content:space-between;align-items:center;gap:1rem}.auth-brand img{height:26px}.auth-langs{display:flex;padding:3px;border-radius:10px;background:var(--bg-inset-60)}.auth-langs button{min-width:40px;min-height:36px;border:0;border-radius:8px;background:transparent;color:var(--text-muted);font-weight:700;cursor:pointer}.auth-langs button.active{background:var(--brand-primary);color:#fff}.auth-form{display:flex;flex-direction:column;gap:.6rem}.auth-form h1,.auth-result h1{display:flex;align-items:center;gap:.5rem;font-size:1.3rem}.auth-form label{margin-top:.3rem;font-size:.82rem;color:var(--text-muted)}.auth-form .btn-primary{margin-top:.6rem;min-height:48px}.auth-result{display:flex;flex-direction:column;align-items:center;gap:.75rem;text-align:center}.auth-result .btn-primary{width:100%;min-height:48px}.auth-muted{color:var(--text-muted);font-size:.9rem;line-height:1.5}.pdf-mobile-fallback{display:none}@media(max-width:900px){html,body,#root{width:100%;max-width:100%;overflow-x:clip}body{font-size:15px}.app-container{min-height:100dvh}.app-header{padding:calc(.65rem + env(safe-area-inset-top)) 1rem .65rem}.header-inner{min-height:44px;gap:.75rem}.brand-badge>div{border-left:0!important;padding-left:0!important}.brand-subtitle,.desktop-header-actions,.desktop-section-tabs{display:none!important}.brand-title{font-size:.95rem!important}.mobile-header-status{display:inline-flex;align-items:center;gap:.4rem;color:var(--text-muted);font-size:.72rem;font-weight:650}.mobile-header-status>span:first-child{width:9px;height:9px;border-radius:50%;background:var(--accent-emerald);box-shadow:0 0 0 3px #10b98124}.main-content{max-width:none;padding:1rem 1rem calc(150px + env(safe-area-inset-bottom))}.mobile-bottom-nav{position:fixed;z-index:1100;inset:auto 0 0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));min-height:calc(66px + env(safe-area-inset-bottom));padding:5px 4px env(safe-area-inset-bottom);background:color-mix(in srgb,var(--bg-surface) 94%,transparent);border-top:1px solid var(--border-color);box-shadow:0 -10px 30px #0000002e;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.mobile-bottom-nav button{min-width:0;min-height:56px;border:0;border-radius:10px;background:transparent;color:var(--text-muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font:inherit;font-size:.68rem;font-weight:650}.mobile-bottom-nav button.active{color:var(--accent-cyan);background:var(--accent-tint-weak)}.mobile-bottom-nav button.ptr.active{color:var(--accent-amber);background:#f59e0b1f}.mobile-upload-fab{position:fixed;right:16px;bottom:calc(78px + env(safe-area-inset-bottom));z-index:1050;width:54px;height:54px;border:0;border-radius:18px;background:var(--brand-gradient);color:#fff;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 12px 30px #0284c766}.mobile-sheet-overlay{position:fixed;z-index:2000;top:0;right:0;bottom:0;left:0;display:flex;align-items:flex-end;justify-content:center;padding-top:max(48px,env(safe-area-inset-top));background:#020617b8;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.mobile-more-sheet{width:min(100%,560px);max-height:88dvh;overflow-y:auto;padding:1rem 1rem calc(1rem + env(safe-area-inset-bottom));border:1px solid var(--border-color);border-bottom:0;border-radius:24px 24px 0 0;background:var(--bg-surface);box-shadow:0 -20px 60px #00000059}.mobile-more-sheet>header{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.mobile-more-sheet h2{font-size:1.25rem}.mobile-more-sheet p,.mobile-system-status{color:var(--text-muted);font-size:.82rem}.mobile-icon-button{width:44px;height:44px;border:1px solid var(--border-color);border-radius:12px;background:var(--bg-inset-40);color:var(--text-primary);display:inline-flex;align-items:center;justify-content:center}.mobile-sheet-primary,.mobile-sheet-row{width:100%;min-height:48px;border-radius:12px;display:flex;align-items:center;gap:.75rem;padding:.7rem .85rem;font:inherit;font-weight:650}.mobile-sheet-primary{justify-content:center;border:0;background:var(--brand-gradient);color:#fff;margin-bottom:.8rem}.mobile-sheet-row{border:1px solid var(--border-color);background:var(--bg-inset-40);color:var(--text-primary);margin-top:.55rem}.mobile-danger-row{color:var(--accent-rose)}.mobile-settings-group{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:52px;margin-top:.55rem;padding:.45rem .7rem;border:1px solid var(--border-color);border-radius:12px}.mobile-segmented-control{display:flex;padding:3px;border-radius:10px;background:var(--bg-inset-60)}.mobile-segmented-control button{min-width:44px;min-height:38px;border:0;border-radius:8px;background:transparent;color:var(--text-muted);font-weight:700}.mobile-segmented-control button.active{background:var(--brand-primary);color:#fff}.mobile-system-status{padding:.85rem .3rem .25rem}.mobile-online-dot{display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:var(--accent-emerald)}.search-section{margin-bottom:1rem}.search-input-wrapper{min-height:48px;padding:.45rem .8rem}.search-input{min-width:0;font-size:16px}.search-clear-btn,.card-sort-direction,.filter-pill,.revision-delete-button,.modal-close-btn,.btn-primary{min-height:44px}.modal-close-btn{min-width:44px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.filter-pills{flex-wrap:nowrap;width:100%;overflow-x:auto;padding:0 0 .35rem;scrollbar-width:none}.filter-pills::-webkit-scrollbar{display:none}.filter-pill{flex:0 0 auto;padding:.45rem .8rem}.view-and-sort-controls,.card-sort-controls{width:100%}.card-sort-controls select,.card-sort-direction{min-height:44px}.view-and-sort-controls>:last-child{display:none!important}.cards-grid{grid-template-columns:minmax(0,1fr);gap:.75rem}.test-card{min-width:0;padding:.95rem;border-radius:14px;content-visibility:auto;contain-intrinsic-size:360px}.test-card:hover{transform:none}.card-top{gap:.7rem}.card-top>:last-child{justify-content:flex-end}.log-number{font-size:1.08rem}.status-badge{font-size:.68rem}.metrics-row{gap:.35rem;padding:.65rem}.metric-label{font-size:.75rem;line-height:1.2;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.metric-val{font-size:clamp(.76rem,3.5vw,.92rem);overflow-wrap:anywhere}.card-footer{align-items:flex-start;gap:.6rem}.card-footer>*{min-width:0}.modal-overlay{align-items:stretch;padding:0;background:var(--bg-main)}.modal-content{max-width:none!important;width:100%!important;max-height:100dvh!important;min-height:100dvh;border:0;border-radius:0!important;box-shadow:none}.modal-header{min-height:58px;padding:calc(.7rem + env(safe-area-inset-top)) 1rem .7rem}.test-detail-header,.record-detail-header{padding:calc(.7rem + env(safe-area-inset-top)) 1rem .7rem;gap:.6rem;position:relative;top:auto;flex-shrink:0}.test-detail-header-top{gap:.5rem}.test-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;padding-bottom:0;width:100%;margin-top:.15rem}.test-detail-actions .filter-pill,.test-detail-actions .btn-primary{width:100%;min-width:0;min-height:44px;justify-content:center;white-space:normal;text-align:center}.test-detail-actions>:last-child:nth-child(odd){grid-column:1 / -1}.modal-body{padding:1rem 1rem calc(1.5rem + env(safe-area-inset-bottom));gap:1rem}.modal-body img,.public-log-main img,.modal-body iframe,.modal-body canvas{max-width:100%!important}.planned-tests-layout{display:flex!important;flex-direction:column;gap:1rem!important}.planned-lists-panel{width:100%}.planned-lists-panel form{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:center}.planned-lists-panel>div:last-child{flex-direction:row!important;overflow-x:auto;padding-bottom:.35rem}.planned-lists-panel>div:last-child>button{flex:0 0 min(230px,78vw);min-height:64px}.planned-pipe-button{grid-template-columns:minmax(0,1fr) auto!important;gap:.4rem .75rem!important;min-height:76px}.planned-pipe-button>:nth-child(3){grid-column:1 / 2}.planned-pipe-button>:nth-child(4){grid-column:2 / 3;grid-row:1 / span 2}.planned-pipe-button [role=button]{min-width:44px;min-height:44px;align-items:center!important;justify-content:center}.records-tab>div:first-child{padding:.85rem!important}.records-tab>div:first-child>div{min-width:0}.faq-tab{gap:1rem!important}.faq-tab>div:first-child{padding:1rem!important;align-items:flex-start!important}.public-log-main{padding:1rem!important;gap:1rem!important}.artifacts-grid{grid-template-columns:minmax(0,1fr)}.statistics-hero{flex-direction:column;align-items:stretch;padding:1.1rem}.statistics-period{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.statistics-period button{min-width:0;min-height:44px;padding-inline:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.statistics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.statistics-feature-grid{grid-template-columns:minmax(0,1fr)}.statistics-leaders{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none}.modal-overlay{z-index:1200}body:has(.modal-overlay) .mobile-bottom-nav,body:has(.modal-overlay) .mobile-upload-fab{display:none}.modal-overlay:has(.login-modal),.modal-overlay:has(.compact-modal){align-items:flex-start;padding:calc(10vh + env(safe-area-inset-top)) 1rem 1rem;background:#020617db}.modal-content.login-modal,.modal-content.compact-modal{min-height:0;max-height:none!important;border:1px solid var(--border-color);border-radius:18px!important}.login-field{min-height:50px}.login-modal input{font-size:16px!important}.detail-section-head{flex-wrap:wrap;gap:.5rem;align-items:flex-start!important}.detail-section-head h3{min-width:0;overflow-wrap:anywhere}.detail-files-head>span{width:100%}.detail-section-button{min-height:40px;padding:.45rem .75rem!important}.artifact-card{gap:.5rem;padding:.45rem .45rem .45rem .8rem}.artifact-main{flex:1;min-width:0}.artifact-actions{flex-shrink:0;gap:.2rem!important}.artifact-action{width:44px;height:44px;display:inline-flex!important;align-items:center;justify-content:center;border-radius:10px}.artifact-action-danger{margin-left:.4rem;border:1px solid rgba(244,63,94,.3)!important}.card-share-button{min-height:40px;padding:.35rem .75rem!important;font-size:.8rem!important}.list-refresh-button,.records-refresh-button{min-height:44px}.record-view-bar{padding:.75rem 1rem!important}.record-view-bar>div:first-child{width:100%;display:grid!important;grid-template-columns:minmax(0,1fr);gap:.4rem!important}.record-view-bar .filter-pill{width:100%;justify-content:flex-start;white-space:normal;text-align:left}.pdf-frame,.pdf-frame-caption{display:none!important}.pdf-mobile-fallback{display:flex;flex-direction:column;align-items:center;gap:.6rem;padding:1.5rem 1rem;border:1px dashed var(--border-color);border-radius:var(--radius-md);background:var(--bg-inset-40);color:var(--text-secondary);font-size:.9rem;text-align:center}.pdf-mobile-fallback strong{color:var(--text-primary)}.pdf-mobile-actions{width:100%;display:grid;grid-template-columns:minmax(0,1fr);gap:.5rem;margin-top:.4rem}.pdf-mobile-actions>*{width:100%;justify-content:center;text-decoration:none}.records-banner{padding:.75rem .9rem!important;margin-bottom:.85rem!important}.records-banner-desc,.records-banner .btn-primary{display:none}.records-toolbar-create{flex:1;justify-content:center;white-space:nowrap}.records-tab .card-footer .filter-pill{min-width:44px;justify-content:center}.planned-list-name{display:-webkit-box;white-space:normal!important;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical}.planned-list-meta{font-size:.75rem!important}.planned-sort-select,#planned-list-sort{min-height:44px}.search-clear-btn{min-width:44px}.share-row{flex-direction:column;align-items:stretch}.share-row-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.share-row-actions .filter-pill{justify-content:center}.public-brand-text{display:none}.accounts-head .btn-primary{width:100%;justify-content:center}.accounts-list{grid-template-columns:minmax(0,1fr)}.account-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.account-actions .filter-pill{justify-content:center;white-space:normal;text-align:center}.account-card-top{flex-wrap:wrap}.modal-overlay:has(.compact-modal){overflow-y:auto}}@media(max-width:480px){.main-content{padding-inline:12px}.brand-badge img{max-width:92px;height:24px!important}.brand-title{display:none}.mobile-header-status>span:last-child{display:none}.card-top{flex-direction:column}.card-top>:last-child{justify-content:flex-start}.card-footer{flex-direction:column}.card-footer>:last-child{width:100%;justify-content:space-between}.planned-lists-panel form{grid-template-columns:1fr!important}.planned-detail-panel>div[style*=grid-template-columns]{grid-template-columns:minmax(0,1fr)!important}.records-tab .search-input-wrapper{width:100%}.records-tab>div:nth-child(2),.records-tab>div:nth-child(2)>div:first-child{min-width:0!important;width:100%;flex-direction:column;align-items:stretch!important}.statistics-tab{gap:.8rem}.statistics-hero h1{font-size:1.45rem}.statistics-hero p{font-size:.82rem}.statistics-kpis{gap:.55rem}.statistics-kpi{min-height:112px;flex-direction:column;align-items:flex-start;gap:.55rem;padding:.8rem}.statistics-kpi>span{width:34px;height:34px}.statistics-kpi strong{font-size:1.3rem}.statistics-kpi em{font-size:.75rem}.statistics-donut-layout{grid-template-columns:1fr}.statistics-donut{width:min(200px,72vw)}.statistics-leaders{grid-template-columns:1fr}.statistics-bars{height:220px}}
