:root{--font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--bg: #f5f6f8;--surface: #ffffff;--surface-2: #f9fafb;--border: #e5e7eb;--border-strong: #d1d5db;--text: #111827;--text-2: #374151;--muted: #6b7280;--primary: #2563eb;--primary-hover: #1d4ed8;--primary-soft: #eff4ff;--primary-border: #c7d7fe;--danger: #dc2626;--danger-soft: #fef2f2;--success: #16a34a;--success-soft: #f0fdf4;--warn-bg: #fffbeb;--warn-border: #fde68a;--warn-fg: #92400e;--sidebar-bg: #0f172a;--sidebar-text: #cbd5e1;--sidebar-muted: #64748b;--sidebar-active: #1e293b;--radius: 10px;--radius-lg: 14px;--shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);--shadow: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);--shadow-lg: 0 12px 32px rgba(16, 24, 40, .14);font-family:var(--font);line-height:1.5;color:var(--text);background-color:var(--bg);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html,body,#root{height:100%;width:100%;margin:0}*{box-sizing:border-box}body{min-width:320px;background:var(--bg)}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,h4{color:var(--text);letter-spacing:-.01em}code{font-size:12px;background:var(--surface-2);border:1px solid var(--border);border-radius:4px;padding:0 4px}.layout{display:grid;grid-template-columns:248px 1fr;height:100vh}.sidebar{background:var(--sidebar-bg);color:var(--sidebar-text);display:flex;flex-direction:column;min-height:0;overflow-y:auto;z-index:40}.sidebar-brand{display:flex;align-items:center;gap:10px;padding:18px 18px 14px;color:#fff}.sidebar-brand .logo-mark{width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,#3b82f6,#6366f1);display:grid;place-items:center;font-weight:800;font-size:14px;color:#fff;flex:none;overflow:hidden}.sidebar-brand .logo-mark img{width:100%;height:100%;object-fit:contain;background:#fff}.sidebar-brand .name{font-weight:700;font-size:15px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-brand .sub{font-size:11px;color:var(--sidebar-muted)}.sidebar-section{padding:10px 10px 0}.sidebar-section-title{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--sidebar-muted);padding:8px 10px 4px}.side-link{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:none;border-radius:8px;background:transparent;color:var(--sidebar-text);font:inherit;font-size:14px;cursor:pointer;text-align:left}.side-link:hover{background:#ffffff0f;color:#fff;text-decoration:none}.side-link.active{background:var(--sidebar-active);color:#fff;box-shadow:inset 3px 0 #3b82f6}.side-link svg{width:18px;height:18px;flex:none;opacity:.85}.side-link .count{margin-left:auto;background:#334155;color:#e2e8f0;border-radius:999px;font-size:11px;padding:0 7px}.sidebar-footer{margin-top:auto;padding:14px 18px;font-size:11px;color:var(--sidebar-muted)}.main{display:flex;flex-direction:column;min-width:0;min-height:0}.topbar{height:56px;flex:none;display:flex;align-items:center;gap:8px;padding:0 20px;background:var(--surface);border-bottom:1px solid var(--border)}.topbar .spacer{flex:1}.content{flex:1;min-height:0;overflow:auto}.sidebar-backdrop{display:none}.layout{transition:grid-template-columns .18s ease}.layout.collapsed{grid-template-columns:68px 1fr}.layout.collapsed .sidebar .label,.layout.collapsed .sidebar-section-title,.layout.collapsed .sidebar-brand>div,.layout.collapsed .sidebar-footer{display:none}.layout.collapsed .sidebar-brand{justify-content:center;padding:18px 0 12px}.layout.collapsed .sidebar-section{padding:6px 10px 0}.layout.collapsed .sidebar-section+.sidebar-section{border-top:1px solid #1e293b;margin-top:6px;padding-top:8px}.layout.collapsed .side-link{justify-content:center;padding:10px 0}.layout.collapsed .side-link svg{width:20px;height:20px}.page{padding:24px 28px 40px;max-width:1440px;margin:0 auto}.page.narrow{max-width:980px}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}.page-header h1{margin:0;font-size:22px;font-weight:700}.page-header .desc{margin:4px 0 0;color:var(--muted);font-size:14px;max-width:760px}.page-header .back{display:inline-block;font-size:13px;color:var(--muted);margin-bottom:6px}.page-header .actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.page h2{font-size:18px;margin:0 0 12px}.card{border:1px solid var(--border);border-radius:var(--radius-lg);padding:16px;background:var(--surface);box-shadow:var(--shadow-sm)}.card>h3{margin-top:0;font-size:15px}.card h3{font-size:15px}.card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.card-head h3{margin:0}.card.flush{padding:0;overflow:hidden}.card-section{padding:16px;border-top:1px solid var(--border)}.card-section:first-child{border-top:none}.grid-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;align-items:start}.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.stack{display:grid;gap:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 14px;border-radius:8px;border:1px solid var(--border-strong);background:var(--surface);cursor:pointer;font:inherit;font-size:14px;font-weight:500;color:var(--text-2);white-space:nowrap;box-shadow:var(--shadow-sm);transition:background .12s,border-color .12s}.btn:hover:not(:disabled){background:var(--surface-2);text-decoration:none}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.block{width:100%}.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn.primary:hover:not(:disabled){background:var(--primary-hover)}.btn.danger{color:var(--danger)}.btn.danger:hover:not(:disabled){background:var(--danger-soft);border-color:#fecaca}.btn.danger-solid{background:var(--danger);border-color:var(--danger);color:#fff}.btn.ghost{border-color:transparent;background:transparent;box-shadow:none}.btn.ghost:hover:not(:disabled){background:var(--surface-2)}.btn.small{padding:4px 10px;font-size:13px;border-radius:7px}.field{display:block;font-size:13px;font-weight:500;color:var(--text-2)}.field>.control{margin-top:6px}.field .hint,.hint{display:block;font-weight:400;color:var(--muted);font-size:12px;margin-top:4px}.control{width:100%;padding:8px 10px;border-radius:8px;border:1px solid var(--border-strong);font:inherit;font-size:14px;background:var(--surface);color:var(--text);transition:border-color .12s,box-shadow .12s}.control:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #2563eb26}.control:disabled{background:var(--surface-2);color:var(--muted)}textarea.control{resize:vertical}.check{display:flex;gap:8px;align-items:center;font-size:14px;cursor:pointer;color:var(--text-2);font-weight:400}.check input{width:16px;height:16px;accent-color:var(--primary)}.muted{color:var(--muted);font-size:13px}.error{color:var(--danger);font-size:13px}.notice{font-size:13px;color:var(--warn-fg);background:var(--warn-bg);border:1px solid var(--warn-border);padding:10px 12px;border-radius:8px}.info{font-size:13px;color:#1e3a8a;background:var(--primary-soft);border:1px solid var(--primary-border);padding:10px 12px;border-radius:8px}.success{font-size:13px;color:#166534;background:var(--success-soft);border:1px solid #bbf7d0;padding:10px 12px;border-radius:8px}.badge{display:inline-flex;align-items:center;gap:4px;padding:1px 8px;border-radius:999px;font-size:11.5px;font-weight:600;border:1px solid var(--border);background:#f3f4f6;color:#374151;vertical-align:middle;white-space:nowrap}.badge.DRAFT{background:#fef3c7;border-color:#fde68a;color:#92400e}.badge.PUBLISHED{background:#dcfce7;border-color:#bbf7d0;color:#166534}.badge.ARCHIVED{background:#f3f4f6;color:#6b7280}.badge.inactive{background:#fee2e2;border-color:#fecaca;color:#991b1b}.badge.blue{background:#dbeafe;border-color:#bfdbfe;color:#1e40af}.badge.purple{background:#ede9fe;border-color:#ddd6fe;color:#5b21b6}.badge.green{background:#dcfce7;border-color:#bbf7d0;color:#166534}.list{display:grid;gap:8px}.list-item{padding:12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.list-item.selected{border-color:var(--primary-border);background:var(--primary-soft)}.table{width:100%;border-collapse:collapse;font-size:14px}.table th,.table td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--border);vertical-align:middle}.table th{font-size:12px;color:var(--muted);font-weight:600;background:var(--surface-2);white-space:nowrap}.table tbody tr:last-child td{border-bottom:none}.table tbody tr.clickable{cursor:pointer}.table tbody tr.clickable:hover td{background:#f8fafc}.table .num{text-align:right;font-variant-numeric:tabular-nums}.table-wrap{overflow-x:auto}.card.flush .table th:first-child,.card.flush .table td:first-child{padding-left:16px}.card.flush .table th:last-child,.card.flush .table td:last-child{padding-right:16px}.tabs{display:flex;gap:2px;border-bottom:1px solid var(--border);margin-bottom:16px;flex-wrap:wrap}.tab{padding:9px 14px;border:none;border-bottom:2px solid transparent;margin-bottom:-1px;background:none;cursor:pointer;font:inherit;font-size:14px;font-weight:500;color:var(--muted)}.tab:hover{color:var(--text)}.tab.active{border-bottom-color:var(--primary);color:var(--primary)}.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid var(--border)}.toolbar .control{width:auto}.toolbar>div>.control,.filter-bar .control{width:100%;min-width:0;text-overflow:ellipsis}.toolbar .search{min-width:220px;flex:1;max-width:320px}.empty{text-align:center;padding:40px 16px;color:var(--muted)}.empty .empty-title{font-weight:600;color:var(--text);margin-bottom:4px;font-size:15px}.empty .empty-icon{font-size:28px;margin-bottom:8px;opacity:.6}.avatar{width:32px;height:32px;border-radius:999px;background:#e0e7ff;color:#3730a3;font-weight:700;font-size:12px;display:inline-grid;place-items:center;flex:none}.person{display:flex;align-items:center;gap:10px}.person .who{line-height:1.25}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-bottom:20px}.stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:16px;box-shadow:var(--shadow-sm);display:block;color:inherit}a.stat:hover{border-color:var(--primary-border);text-decoration:none}.stat .label{font-size:13px;color:var(--muted);font-weight:500}.stat .value{font-size:28px;font-weight:700;margin-top:4px;letter-spacing:-.02em;color:var(--text)}.stat .foot{font-size:12px;color:var(--muted)}.modal-backdrop{position:fixed;inset:0;background:#0f172a73;z-index:100;display:grid;place-items:center;padding:16px}.modal{background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);width:min(560px,100%);max-height:calc(100vh - 32px);display:flex;flex-direction:column}.modal.wide{width:min(820px,100%)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--border)}.modal-head h3{margin:0;font-size:16px}.modal-body{padding:20px;overflow:auto;display:grid;gap:14px}.modal-foot{padding:14px 20px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:8px;background:var(--surface-2);border-radius:0 0 var(--radius-lg) var(--radius-lg)}.settings-layout{display:grid;grid-template-columns:220px 1fr;gap:24px;align-items:start}.settings-nav{display:grid;gap:2px;position:sticky;top:0}.settings-nav button{text-align:left;padding:8px 12px;border-radius:8px;border:none;background:none;font:inherit;font-size:14px;color:var(--text-2);cursor:pointer;white-space:nowrap}.settings-nav button:hover{background:var(--surface)}.settings-nav button.active{background:var(--surface);color:var(--primary);font-weight:600;box-shadow:var(--shadow-sm)}.setting-row{display:grid;grid-template-columns:minmax(200px,300px) 1fr;gap:20px;padding:16px 0;border-top:1px solid var(--border)}.setting-row:first-of-type{border-top:none;padding-top:4px}.setting-row .label{font-weight:600;font-size:14px}.setting-row .label .hint{font-weight:400}.kv{display:grid;grid-template-columns:180px 1fr;gap:8px 16px;font-size:14px;margin:0}.kv dt{color:var(--muted)}.kv dd{margin:0}.login-wrap{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:var(--surface)}.login-hero{background:radial-gradient(1200px 600px at 0% 0%,#1e3a8a,#0f172a 60%);color:#e2e8f0;padding:48px;display:flex;flex-direction:column;justify-content:space-between}.login-hero h1{color:#fff;font-size:32px;line-height:1.2;margin:0 0 12px;max-width:460px}.login-hero p{color:#94a3b8;max-width:440px}.login-hero ul{padding:0;list-style:none;display:grid;gap:10px;color:#cbd5e1;font-size:14px}.login-form-wrap{display:grid;place-items:center;padding:24px;grid-template-rows:1fr auto}.login-foot{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;justify-content:center;margin-top:16px}.login-cookie-note{margin:0;font-size:12px;color:var(--text-2);text-align:center}.login-lang{width:auto;padding:4px 8px;font-size:12px;height:auto}.notice-page{max-width:760px;margin:0 auto;padding:32px 16px}.login-card{width:100%;max-width:380px}.login-card h2{font-size:22px;margin:0}.license-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:8px 20px;font-size:13px;border-bottom:1px solid var(--warn-border);background:var(--warn-bg);color:var(--warn-fg)}.license-banner.evaluation,.license-banner.licensed{background:#eff6ff;border-color:#bfdbfe;color:#1e3a8a}.license-banner.readOnly{background:#fee2e2;border-color:#fecaca;color:#991b1b}.setup-steps{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:10px;color:#64748b;font-size:15px}.setup-steps li.current{color:#fff;font-weight:600}.setup-steps li.done{color:#cbd5e1}.loading-screen{min-height:100vh;display:grid;place-items:center;color:var(--muted)}.bell-wrap{position:relative}.icon-btn-round{position:relative;width:36px;height:36px;border-radius:999px;border:1px solid transparent;background:transparent;display:grid;place-items:center;cursor:pointer;color:var(--text-2)}.icon-btn-round:hover{background:var(--surface-2)}.icon-btn-round svg{width:20px;height:20px}.bell-count{position:absolute;top:2px;right:0;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:var(--danger);color:#fff;font-size:10.5px;font-weight:700;line-height:13px;text-align:center;border:2px solid var(--surface)}.user-btn{display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:999px;border:1px solid transparent;background:none;cursor:pointer;font:inherit;font-size:14px;color:var(--text-2)}.user-btn:hover{background:var(--surface-2)}.dropdown{position:absolute;right:0;top:calc(100% + 8px);z-index:60;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-lg)}.bell-dropdown{width:min(400px,calc(100vw - 24px))}.account-dropdown{width:260px;padding:6px}.menu-item{display:flex;width:100%;padding:8px 10px;border:none;background:none;border-radius:8px;font:inherit;font-size:14px;color:var(--text-2);cursor:pointer;text-align:left}.menu-item:hover{background:var(--surface-2);text-decoration:none}.menu-sep{height:1px;background:var(--border);margin:6px 0}.bell-list{max-height:60vh;overflow:auto}.bell-item{display:grid;grid-template-columns:24px 1fr;gap:8px;width:100%;text-align:left;padding:10px 12px;border:none;border-bottom:1px solid #f3f4f6;background:var(--surface);font:inherit;font-size:13px;color:inherit;cursor:pointer}.bell-item:hover{background:#f8fafc}.bell-item.unread{background:var(--primary-soft)}.bell-item.unread .bell-title{font-weight:600}.bell-count.quiet{background:var(--text-3, #94a3b8)}.bell-tabs{display:flex;gap:4px;padding:6px 8px;border-bottom:1px solid var(--border)}.bell-tabs button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 8px;border:none;border-radius:8px;background:none;font:inherit;font-size:13px;color:var(--text-2);cursor:pointer}.bell-tabs button:hover{background:var(--surface-2)}.bell-tabs button.active{background:var(--surface-2);color:var(--text);font-weight:600}.bell-tab-count{min-width:18px;padding:0 6px;border-radius:999px;background:var(--danger);color:#fff;font-size:11px;font-weight:700;line-height:18px}.bell-tab-count.quiet{background:none;color:var(--text-3, #94a3b8);font-weight:500;padding:0}.bell-item.needs-me{box-shadow:inset 3px 0 0 var(--danger)}.bell-icon{font-size:14px;text-align:center}.bell-title,.bell-body{display:block}.bell-body{color:var(--text-2);margin:2px 0;overflow-wrap:anywhere}.editor{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start}.editor-panel{min-width:0;display:grid;gap:16px}.viewer{position:sticky;top:16px;height:340px;border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--border);background:linear-gradient(#fafbff,#eef2f7)}.viewer-toolbar{position:absolute;z-index:10;top:12px;left:12px;display:flex;gap:4px;background:#ffffffeb;border:1px solid var(--border);border-radius:10px;padding:4px;box-shadow:var(--shadow-sm)}.seg{padding:5px 12px;border-radius:7px;border:none;background:none;font:inherit;font-size:13px;font-weight:500;color:var(--text-2);cursor:pointer}.seg.active{background:var(--primary);color:#fff}.form-render{display:grid;gap:14px}.form-section{border:1px solid var(--border);border-radius:var(--radius);padding:14px;background:var(--surface)}.form-section h4{margin:0 0 6px}.form-field{display:grid;gap:6px;padding:10px 0;border-top:1px solid #f3f4f6;font-size:14px}.form-label{font-weight:500}.form-label .req,.check .req{color:var(--danger)}.form-instruction{padding:8px 10px;margin:6px 0;border-left:3px solid #93c5fd;background:var(--primary-soft);font-size:14px;border-radius:4px}.btn.pf.pass.on{background:var(--success);border-color:var(--success);color:#fff}.btn.pf.fail.on{background:var(--danger);border-color:var(--danger);color:#fff}.signature-pad{width:100%;max-width:400px;height:120px;border:1px dashed var(--border-strong);border-radius:8px;background:var(--surface);touch-action:none}.editor-field{border:1px solid var(--border);border-radius:8px;padding:10px;background:var(--surface-2)}.editor-section{border:1px solid var(--border);border-radius:var(--radius);padding:12px;background:var(--surface)}.icon-btn{padding:2px 8px;font-size:13px;border-radius:6px;border:1px solid var(--border-strong);background:var(--surface);cursor:pointer;line-height:1.5}.icon-btn:disabled{opacity:.4;cursor:not-allowed}.split{display:grid;grid-template-columns:minmax(260px,340px) 1fr;gap:16px;align-items:start}.pdf-frame{width:100%;height:75vh;border:1px solid var(--border);border-radius:8px}.phase-steps{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}.phase-step{flex:1 0 170px;text-align:left;padding:10px 12px;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);font:inherit;font-size:13px;color:inherit;cursor:pointer;border-top-width:4px;box-shadow:var(--shadow-sm)}.phase-step.selected{box-shadow:0 0 0 2px var(--primary-border)}.phase-step-title{font-weight:600;font-size:14px}.phase-step-status{font-weight:500}.phase-step.phase-PENDING{border-top-color:#d1d5db;color:var(--muted)}.phase-step.phase-READY{border-top-color:#f59e0b}.phase-step.phase-ACTIVE{border-top-color:var(--primary)}.phase-step.phase-COMPLETED{border-top-color:var(--success)}.badge.phase-READY{background:#fef3c7;border-color:#fde68a;color:#92400e}.badge.phase-ACTIVE{background:#dbeafe;border-color:#bfdbfe;color:#1e40af}.badge.phase-COMPLETED,.badge.build-COMPLETED{background:#dcfce7;border-color:#bbf7d0;color:#166534}.badge.build-IN_PROGRESS{background:#dbeafe;border-color:#bfdbfe;color:#1e40af}.badge.build-READY_FOR_QC,.badge.build-IN_QC{background:#ede9fe;border-color:#ddd6fe;color:#5b21b6}.badge.build-CANCELLED{background:#fee2e2;border-color:#fecaca;color:#991b1b}.slot{border:1px solid var(--border);border-radius:var(--radius);padding:12px;display:grid;gap:6px;background:var(--surface)}.slot.installed{background:var(--success-soft);border-color:#d1fadf}.install-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;align-items:end}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px}.photo-card{border:1px solid var(--border);border-radius:var(--radius);padding:8px;display:grid;gap:4px;font-size:13px;background:var(--surface)}.photo-card.defect{border-color:#fca5a5;background:#fff7f7}.photo-card img{width:100%;height:120px;object-fit:cover;border-radius:6px;display:block}.rework-info{border:1px solid var(--warn-border);background:var(--warn-bg);border-radius:var(--radius);padding:12px;display:grid;gap:4px;font-size:14px}.rework-info.resolved{border-color:#bbf7d0;background:var(--success-soft)}.rework-dialog{border-color:#fca5a5}.badge.qc-IN_PROGRESS{background:#dbeafe;border-color:#bfdbfe;color:#1e40af}.badge.qc-INSPECTOR_SIGNED{background:#ede9fe;border-color:#ddd6fe;color:#5b21b6}.badge.qc-APPROVED{background:#dcfce7;border-color:#bbf7d0;color:#166534}.badge.qc-REWORK_REQUESTED,.badge.qc-REJECTED{background:#fee2e2;border-color:#fecaca;color:#991b1b}@media(max-width:1100px){.editor{grid-template-columns:1fr}.viewer{position:relative;top:0;height:280px;order:-1}}@media(max-width:900px){.layout{grid-template-columns:1fr}.sidebar{position:fixed;inset:0 auto 0 0;width:260px;transform:translate(-100%);transition:transform .2s}.sidebar.open{transform:none;box-shadow:var(--shadow-lg)}.sidebar-backdrop.open{display:block;position:fixed;inset:0;background:#0f172a66;z-index:30}.topbar{padding:0 12px}.layout.collapsed{grid-template-columns:1fr}.layout.collapsed .sidebar .label,.layout.collapsed .sidebar-section-title{display:revert}.layout.collapsed .sidebar-brand>div{display:block}.layout.collapsed .sidebar-brand{justify-content:flex-start;padding:18px 18px 14px}.layout.collapsed .side-link{justify-content:flex-start;padding:8px 10px}.layout.collapsed .sidebar-section+.sidebar-section{border-top:none;margin-top:0;padding-top:0}.page{padding:16px 14px 32px}.settings-layout{grid-template-columns:1fr}.settings-nav{display:flex;overflow-x:auto;position:static}.setting-row{grid-template-columns:1fr;gap:8px}.login-wrap{grid-template-columns:1fr}.login-hero{display:none}.grid-cards,.split{grid-template-columns:1fr!important}.grid-3,.kv{grid-template-columns:1fr}.user-btn .user-name{display:none}.dropdown{position:fixed;right:12px;top:60px}}@media(max-width:560px){.grid-2{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:12px}.stat .value{font-size:22px}}.worker-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2, #f8fafc)}.worker-bar.on{border-color:#bbf7d0;background:var(--success-soft)}.worker-dot{width:10px;height:10px;border-radius:50%;background:#94a3b8;flex:none}.worker-bar.on .worker-dot{background:var(--success);box-shadow:0 0 0 4px #16a34a26}.stage-pill{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:500}.stage-dot{width:8px;height:8px;border-radius:50%;flex:none}.facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px 16px;margin:0}.facts dt{font-size:12px;color:var(--muted)}.facts dd{margin:2px 0 0;font-size:14px;word-break:break-word}.section-label{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.seg{display:flex;flex-wrap:wrap;gap:4px}.seg button{border:1px solid var(--border);background:var(--surface);border-radius:999px;padding:4px 10px;font-size:13px;cursor:pointer;color:var(--text)}.seg button.active{background:var(--primary-soft, #eff6ff);border-color:var(--primary);color:var(--primary);font-weight:600}.activity{display:flex;gap:10px;align-items:flex-start;padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.activity input[type=checkbox]{width:16px;height:16px;margin-top:2px;flex:none}.activity.done .activity-subject{color:var(--muted)}.activity.done input+div .activity-subject{text-decoration:line-through}.activity.overdue{border-color:#fecaca;background:var(--danger-soft)}.activity-icon{width:16px;text-align:center;flex:none}.activity-subject{font-weight:500}.activity-desc{font-size:13px;color:var(--text-2);white-space:pre-wrap;margin-top:2px}.overdue-text{color:var(--danger);font-weight:600}.lines-table{min-width:680px}.lines-table .control{padding:5px 8px;min-width:60px}.control.num{text-align:right}.kanban{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,1fr);gap:12px;overflow-x:auto;padding-bottom:8px;align-items:start}.kanban-col{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-lg);display:flex;flex-direction:column;max-height:calc(100vh - 230px);min-height:160px}.kanban-col.drop{border-color:var(--primary);background:var(--primary-soft, #eff6ff)}.kanban-head{padding:10px 12px;border-bottom:1px solid var(--border)}.kanban-head .title{display:flex;align-items:center;justify-content:space-between;gap:6px;font-weight:600}.kanban-head .sub{font-size:12px;color:var(--muted);margin-top:2px}.kanban-body{padding:8px;display:grid;gap:8px;overflow-y:auto;align-content:start;flex:1}.deal-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:10px;cursor:grab;box-shadow:var(--shadow-sm)}.deal-card:hover{border-color:var(--primary-border, #bfdbfe)}.deal-card.dragging{opacity:.4}.deal-card .name{font-weight:600;font-size:13.5px}.deal-card .meta{font-size:12px;color:var(--muted);margin-top:3px}.deal-card .amount{font-weight:700;margin-top:6px}.stage-track{display:flex;gap:3px;flex-wrap:wrap}.stage-track button{flex:1 1 110px;border:1px solid var(--border);background:var(--surface-2);padding:8px 6px;font-size:12.5px;cursor:pointer;color:var(--text-2);clip-path:polygon(0 0,calc(100% - 8px) 0,100% 50%,calc(100% - 8px) 100%,0 100%,8px 50%)}.stage-track button.past{background:#dbeafe;color:#1e40af;border-color:#bfdbfe}.stage-track button.current{background:var(--primary);color:#fff;border-color:var(--primary);font-weight:600}.stage-track button.won{background:var(--success);color:#fff}.stage-track button.lost{background:var(--danger);color:#fff}.bar-row{display:grid;grid-template-columns:140px 1fr auto;gap:10px;align-items:center;font-size:13px}.bar{height:10px;background:var(--surface-2);border-radius:999px;overflow:hidden;border:1px solid var(--border)}.bar>span{display:block;height:100%;background:var(--primary);border-radius:999px}.forecast{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:10px;align-items:end;height:190px;padding-top:8px}.forecast .col{display:flex;flex-direction:column;align-items:center;gap:4px;height:100%;justify-content:flex-end;font-size:11.5px}.forecast .bars{display:flex;gap:3px;align-items:flex-end;height:140px}.forecast .bars span{width:14px;border-radius:4px 4px 0 0;min-height:2px}.quote-doc{background:#fff;color:#111827;max-width:860px;margin:0 auto;padding:40px;border:1px solid var(--border);border-radius:var(--radius-lg)}.quote-doc table{width:100%;border-collapse:collapse}.quote-doc th,.quote-doc td{padding:8px;border-bottom:1px solid #e5e7eb;text-align:left;font-size:13px}.quote-doc .num{text-align:right}@media print{.sidebar,.topbar,.no-print,.sidebar-backdrop{display:none!important}.layout,.main,.content{display:block!important;padding:0!important;margin:0!important}.quote-doc{border:0;padding:0;max-width:none}body{background:#fff}}@media(max-width:700px){.bar-row{grid-template-columns:90px 1fr auto}.quote-doc{padding:16px}}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:16px;align-items:start}@media(max-width:1100px){.detail-grid{grid-template-columns:1fr}}.quote-totals{margin-left:auto;width:min(100%,380px);display:grid;gap:8px}.savebar{position:sticky;bottom:12px;display:flex;align-items:center;gap:8px;justify-content:flex-end;margin-top:16px;padding:10px 14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:0 6px 20px #0000001f}.savebar span{margin-right:auto;font-weight:600}.legend{display:inline-block;width:10px;height:10px;border-radius:3px;vertical-align:middle;margin-right:2px}.site-card{border:1px solid var(--border);border-radius:var(--radius);padding:10px;background:var(--surface-2);display:grid;gap:8px;justify-items:start}.site-card .grid-3{width:100%}.form-section{display:grid;gap:10px;padding-top:12px;border-top:1px solid var(--border)}.form-section:first-child{border-top:0;padding-top:0}.form-section>.section-label{margin-bottom:-2px}.company-input{position:relative}.company-suggest{position:absolute;z-index:30;left:0;right:0;top:calc(100% + 2px);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 8px 24px #0000001f;max-height:260px;overflow-y:auto}.company-suggest button{display:block;width:100%;text-align:left;border:0;background:none;padding:7px 10px;cursor:pointer;font:inherit;color:var(--text)}.company-suggest button:hover{background:var(--surface-2)}.company-linked{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--primary-border, #bfdbfe);background:var(--primary-soft, #eff6ff);border-radius:var(--radius);padding:5px 6px 5px 10px;margin-top:6px}.chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}.chip{display:inline-flex;align-items:center;gap:6px;padding:3px 4px 3px 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface-2);font-size:13px;font-weight:400;color:var(--text)}.chip button{border:0;background:none;cursor:pointer;color:var(--muted);padding:0 4px}.chip.pick{padding:3px 10px;cursor:pointer}.chip.pick input{display:none}.chip.pick.on{background:var(--primary-soft, #eff6ff);border-color:var(--primary);color:var(--primary);font-weight:600}.widget-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start}.widget.size-s{grid-column:span 1}.widget.size-m{grid-column:span 2}.widget.size-l{grid-column:span 4}.widget-content>.stat{height:100%}.widget-grid .stat{display:block}.widget-card{padding:0;overflow:hidden}.widget-card .widget-head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid var(--border)}.widget-card .widget-head h3{margin:0;font-size:15px}.widget-card:not(.flush) .widget-body{padding:12px 16px}.widget-grid.editing .widget{outline:2px dashed var(--border);outline-offset:3px;border-radius:var(--radius-lg);cursor:grab}.widget-grid.editing .widget-content{pointer-events:none;opacity:.85}.widget.dragging{opacity:.35}.widget.drop-before{box-shadow:-6px 0 0 -2px var(--primary)}.widget-tools{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:6px;font-size:12.5px}.drag-handle{font-weight:600;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.widget-drop-end{border:2px dashed var(--primary);border-radius:var(--radius-lg);min-height:90px;display:grid;place-items:center;color:var(--primary);font-size:13px}.gallery{display:grid;grid-template-columns:260px 1fr;gap:16px;min-height:340px}.gallery-list{border-right:1px solid var(--border);padding-right:12px;max-height:60vh;overflow-y:auto}.gallery-item{display:flex;align-items:center;gap:8px;width:100%;border:1px solid transparent;background:none;border-radius:var(--radius);padding:7px 8px;cursor:pointer;font:inherit;color:var(--text)}.gallery-item:hover{background:var(--surface-2)}.gallery-item.active{background:var(--primary-soft, #eff6ff);border-color:var(--primary-border, #bfdbfe)}.gallery-icon{width:24px;text-align:center}.gallery-detail p{line-height:1.5}@media(max-width:1100px){.widget-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.widget.size-l{grid-column:span 2}}@media(max-width:640px){.widget-grid{grid-template-columns:1fr}.widget.size-s,.widget.size-m,.widget.size-l{grid-column:span 1}.gallery{grid-template-columns:1fr}.gallery-list{border-right:0;padding-right:0;max-height:220px}}.filter-bar{display:grid;grid-template-columns:auto repeat(3,minmax(150px,200px)) auto;gap:10px;align-items:center;margin-bottom:14px}.filter-bar .filter-label{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}@media(max-width:760px){.filter-bar{grid-template-columns:1fr 1fr}.filter-bar .filter-label{grid-column:1 / -1}}.discount-input{display:flex;align-items:stretch;margin-left:auto}.discount-input .control{border-top-right-radius:0;border-bottom-right-radius:0;min-width:0}.discount-mode{border:1px solid var(--border);border-left:0;background:var(--surface-2);border-radius:0 var(--radius) var(--radius) 0;padding:0 8px;font-size:12px;font-weight:700;cursor:pointer;color:var(--text-2);min-width:42px}.discount-mode:hover{background:var(--primary-soft, #eff6ff);color:var(--primary)}.price-check{display:flex;gap:12px;padding:12px;border:1px solid #fde68a;background:#fffbeb;border-radius:var(--radius)}.price-check-icon{font-size:22px;line-height:1;color:#b45309}.quote-doc{font-size:13px}.qd-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.qd-company{line-height:1.55;font-size:12px;color:#374151}.qd-company-name{font-size:15px;font-weight:800;color:#111827;margin-bottom:2px}.qd-logo img{max-height:80px;max-width:320px;object-fit:contain}.qd-title{color:#0eaab9;font-size:22px;margin:26px 0 12px}.qd-label{display:block;color:#9ca3af;font-size:11.5px;text-transform:uppercase;letter-spacing:.02em}.qd-parties{display:grid;grid-template-columns:1fr 1fr .9fr;gap:18px;line-height:1.55;margin-bottom:22px}.qd-meta{display:grid;grid-template-columns:auto 1fr;gap:2px 14px;align-content:start}.qd-meta .qd-label{display:inline;line-height:1.55}.qd-table{width:100%;border-collapse:collapse}.qd-table th{background:#d6f3f5;color:#0e9aa7;font-weight:500;text-transform:uppercase;font-size:12px;padding:8px;text-align:left}.qd-table td{padding:9px 8px;vertical-align:top;border-bottom:0}.qd-table tbody tr:last-child td{border-bottom:1px dashed #cbd5e1;padding-bottom:14px}.qd-table .num{text-align:right;white-space:nowrap}.qd-small{color:#6b7280;font-size:11.5px}.qd-bottom{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-top:12px}.qd-notes{white-space:pre-wrap;color:#6b7280;font-size:11.5px;max-width:50%}.qd-totals{min-width:300px;border-collapse:collapse}.qd-totals td{padding:4px 8px}.qd-totals .num{text-align:right}.qd-total td{padding-top:10px;font-size:18px;font-weight:700}.qd-total td:first-child{color:#9ca3af;font-size:13px;font-weight:400}.qd-accept{display:grid;gap:18px;margin-top:40px;max-width:420px}.qd-accept>div{display:grid;grid-template-columns:120px 1fr;align-items:end;gap:10px}.qd-line{border-bottom:1px solid #d1d5db;height:18px}.qd-bank{margin-top:22px;padding:12px 14px;border:1px solid #e5e7eb;border-radius:6px;max-width:520px}@media(max-width:700px){.qd-parties{grid-template-columns:1fr}.qd-head{flex-direction:column-reverse}.qd-bottom{flex-direction:column}.qd-notes{max-width:none}}.deal-card.closed{background:var(--surface-2);box-shadow:none}.proof-drop{display:grid;gap:8px;border:2px dashed var(--border);border-radius:var(--radius);padding:12px}.card.proof-missing{border-color:#fde68a}.progress-stack{display:flex}.progress-stack>span{border-radius:0}.card.backlog-late{border-color:#fecaca}.serial-preview{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:13px;color:var(--muted)}.serial-preview code{font-size:13px;padding:2px 6px}.seg a{border:1px solid var(--border);background:var(--surface);border-radius:999px;padding:4px 10px;font-size:13px;color:var(--text);text-decoration:none}.seg a.active{background:var(--primary-soft, #eff6ff);border-color:var(--primary);color:var(--primary);font-weight:600}.tab-count{display:inline-block;margin-left:6px;min-width:18px;padding:0 5px;border-radius:9px;background:var(--primary-soft, #eff6ff);color:var(--primary);font-size:11px;font-weight:600;text-align:center}.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--border);border-left:1px solid var(--border)}.cal-head{padding:6px 8px;font-size:12px;font-weight:600;color:var(--text-2);border-right:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--surface-2, #f8fafc)}.cal-cell{min-height:92px;padding:4px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);display:flex;flex-direction:column;gap:3px;min-width:0}.cal-cell.empty{background:var(--surface-2, #f8fafc)}.cal-cell.today .cal-day{background:var(--primary);color:#fff;border-radius:999px}.cal-day{align-self:flex-end;font-size:12px;min-width:22px;text-align:center;padding:1px 4px;color:var(--text-2)}.cal-item{display:block;font-size:12px;padding:2px 6px;border-radius:5px;background:var(--primary-soft, #eff6ff);border:1px solid var(--primary-border, #bfdbfe);color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none}.cal-item.install{background:#fef3c7;border-color:#fde68a}.cal-item.done{opacity:.6}@media(max-width:700px){.cal-cell{min-height:64px}.cal-item{font-size:11px;padding:1px 3px}}.incoterm-help summary{cursor:pointer;font-size:13px;color:var(--primary)}.incoterm-list{margin:8px 0 0;display:grid;gap:6px;font-size:13px}.incoterm-list dt{font-weight:600}.incoterm-list dd{margin:0;color:var(--text-2)}.ship-steps{display:flex;gap:0;flex-wrap:wrap}.ship-steps>div{flex:1;min-width:120px;padding:8px 10px;border-top:3px solid var(--border);font-size:13px;color:var(--text-2)}.ship-steps>div.done{border-top-color:var(--success);color:var(--text)}.ship-steps>div.current{border-top-color:var(--primary);color:var(--text);font-weight:600}.ship-steps small{display:block;font-weight:400;color:var(--text-2)}.doc-check{display:flex;gap:10px;flex-wrap:wrap;font-size:13px}.doc-check .ok{color:var(--success)}.doc-check .missing{color:var(--text-2)}.deal-summary{margin-bottom:16px}.deal-kpis{display:flex;flex-wrap:wrap;gap:0;margin-top:14px;border-top:1px solid var(--border);padding-top:12px;align-items:stretch}.deal-kpis>div{display:flex;flex-direction:column;padding:0 18px;border-left:1px solid var(--border);min-width:0}.deal-kpis>div:first-child{padding-left:0;border-left:none}.deal-kpis .label{font-size:12px;color:var(--muted);font-weight:500}.deal-kpis strong{font-size:18px;letter-spacing:-.01em}.deal-kpis .foot{font-size:12px;color:var(--muted)}.deal-kpis .deal-kpis-end{margin-left:auto;border-left:none;justify-content:center;align-items:flex-end;gap:4px;padding-right:0}.deal-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:16px;align-items:start}.deal-layout>aside{position:sticky;top:16px}.deal-layout .facts{grid-template-columns:1fr}.deal-tabs{margin-bottom:12px}.tab-alert{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--danger);margin-left:6px;vertical-align:middle}@media(max-width:1000px){.deal-layout{grid-template-columns:1fr}.deal-layout>aside{position:static}}@media(max-width:700px){.deal-kpis>div{flex:1 1 45%;padding:6px 0;border-left:none}.deal-kpis .deal-kpis-end{align-items:flex-start;margin-left:0}}.change-signoffs{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;border-top:1px solid var(--border);padding-top:10px}.change-signoff{display:flex;flex-direction:column;gap:4px;font-size:13px}.ok-text{color:var(--success);font-weight:600}.unit-chips-wrap{display:flex;flex-direction:column;gap:6px}.unit-chips{display:flex;flex-wrap:wrap;gap:6px}.unit-chip{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border-radius:999px;border:1px solid var(--border);background:var(--surface);font-size:12.5px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--text);text-decoration:none;white-space:nowrap}.unit-chip:hover{border-color:var(--primary);background:var(--primary-soft)}.unit-chips-wrap .dot,.unit-legend .dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--muted);flex:none}.st-COMPLETED .dot{background:var(--success)}.st-IN_PROGRESS .dot{background:var(--primary)}.st-READY_FOR_QC .dot,.st-IN_QC .dot{background:#7c3aed}.st-CANCELLED .dot{background:#d1d5db}.unit-chip.st-COMPLETED{background:var(--success-soft);border-color:#bbf7d0}.unit-chip.st-CANCELLED{color:var(--muted);text-decoration:line-through}.unit-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--muted)}.unit-legend>span{display:inline-flex;align-items:center;gap:5px}.control.th-filter{width:auto;min-width:150px;padding:3px 8px;font-size:12px;font-weight:600;height:auto;background-color:var(--surface)}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ticket-types{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}.ticket-types button{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface);font:inherit;font-size:13px;text-align:left;cursor:pointer;color:var(--text)}.ticket-types button .icon{font-size:18px}.ticket-types button.active{border-color:var(--primary);background:var(--primary-soft);color:var(--primary);font-weight:600}.unit-summary{display:flex;flex-direction:column;gap:10px}.unit-summary.compact{padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2)}.warranty-card.w-IN_WARRANTY{border-color:#bbf7d0}.warranty-card.w-OUT_OF_WARRANTY{border-color:#fecaca}.visit-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--border);flex-wrap:wrap}.signed-box{border:1px solid var(--border);border-radius:10px;padding:10px 12px;background:var(--surface-2);display:flex;flex-direction:column;gap:4px}.signed-box img{max-width:320px;max-height:120px;background:#fff;border:1px solid var(--border);border-radius:6px;margin-top:4px}.timeline{display:flex;flex-direction:column;gap:8px}.timeline-item{padding:8px 10px;border-radius:8px;border:1px solid var(--border)}.timeline-item.status{border-style:dashed;font-size:13px;background:var(--surface-2)}.timeline-item.comment.public{border-color:var(--primary-border);background:var(--primary-soft)}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.photo-tile{display:flex;flex-direction:column;gap:4px}details.menu{position:relative}details.menu>summary{list-style:none}details.menu>summary::-webkit-details-marker{display:none}.menu-items{position:absolute;right:0;top:calc(100% + 4px);z-index:30;min-width:230px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow-md, 0 8px 24px rgba(0,0,0,.12));padding:4px;display:flex;flex-direction:column}.menu-items button{display:flex;align-items:center;gap:10px;text-align:left;padding:8px 10px;border:none;background:none;font:inherit;font-size:13px;border-radius:6px;cursor:pointer;color:var(--text)}.menu-items button:hover:not(:disabled){background:var(--surface-2)}.menu-items button:disabled{color:var(--muted);cursor:default}.status-pick{display:flex;flex-wrap:wrap;gap:6px}.status-pick button{border:2px solid transparent;background:none;padding:2px;border-radius:999px;cursor:pointer}.status-pick button.active{border-color:var(--primary)}.failure-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}.failure-cat{border:1px solid var(--border);border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:8px}.sub-chips{display:flex;flex-wrap:wrap;gap:6px}.sub-chip{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border);font-size:12.5px}.sub-chip.off{opacity:.55}.sub-chip button{border:none;background:none;cursor:pointer;color:var(--muted);padding:0 2px;font-size:14px;line-height:1}.email-fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:6px}.survey-page{min-height:100vh;display:flex;align-items:flex-start;justify-content:center;padding:40px 16px;background:var(--bg, #f5f6f8)}.survey-card{width:100%;max-width:520px}.stars{display:flex;gap:6px}.stars button{font-size:34px;line-height:1;background:none;border:none;color:#d1d5db;cursor:pointer;padding:0 2px}.stars button.on{color:#f59e0b}.nps{display:flex;flex-wrap:wrap;gap:4px}.nps button{width:38px;height:34px;border:1px solid var(--border);border-radius:8px;background:var(--surface);cursor:pointer;font:inherit}.nps button.on{background:var(--primary);color:#fff;border-color:var(--primary)}.so-section{display:flex;flex-direction:column;gap:6px}.so-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:8px 16px}.so-item{display:flex;flex-direction:column;gap:4px;padding:8px 10px;border:1px solid var(--border);border-radius:8px}.so-item.missing{border-color:#fde68a;background:#fffbeb}.so-label{font-size:13px;font-weight:500}.so-label .req{color:var(--danger)}.multi-pick{display:flex;flex-wrap:wrap;gap:6px}.chip-check{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border:1px solid var(--border);border-radius:999px;font-size:13px;cursor:pointer}.chip-check input{display:none}.chip-check.on{background:var(--primary-soft);border-color:var(--primary);color:var(--primary);font-weight:600}.request-row{display:flex;flex-direction:column;gap:4px;padding:8px 0;border-top:1px solid var(--border)}.signoff-step{display:flex;gap:10px;align-items:flex-start}.step-dot{width:24px;height:24px;border-radius:50%;border:2px solid var(--border);display:inline-flex;align-items:center;justify-content:center;font-size:12px;flex:none;color:var(--muted)}.step-dot.done{background:var(--success);border-color:var(--success);color:#fff}.step-dot.current{border-color:var(--primary);color:var(--primary);font-weight:700}.config-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:6px 16px}.config-grid>div{display:flex;flex-direction:column;font-size:13px}tr.check-ok td{background:var(--success-soft)}tr.check-bad td{background:#fef2f2}.spec-table td{vertical-align:top}.preview-frame{background:var(--surface-2);border:1px dashed var(--border);border-radius:12px;padding:12px}.timeline-item.change{border-style:dotted;font-size:13px}.status-pick button:disabled{opacity:.35;cursor:not-allowed}button.stat{text-align:left;font:inherit;cursor:pointer;width:100%}.stat.active{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.list-row{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;color:inherit;text-decoration:none}.list-row:hover{background:var(--surface-2)}.chart svg{width:100%;height:auto;display:block}.chart-grid{stroke:var(--border);stroke-width:1}.chart-target{stroke:var(--chart-4, #ef4444);stroke-dasharray:4 4;stroke-width:1.5}.chart-axis{fill:var(--muted);font-size:11px}.chart-legend{display:flex;flex-wrap:wrap;gap:14px;font-size:12px;color:var(--muted);margin-top:4px}.chart-legend i,.chart-legend-row i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}.chart-legend-row{font-size:13px}.donut{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.donut-total{font-size:20px;font-weight:700;fill:var(--text)}.status-strip{display:flex;height:22px;border-radius:6px;overflow:hidden;border:1px solid var(--border)}.status-strip span{display:block;height:100%;min-width:2px}.metric-ok{color:var(--chart-2, #10b981);font-weight:600}.metric-miss{color:var(--chart-4, #ef4444);font-weight:600}.card.attention{border-color:#eab308;box-shadow:0 0 0 1px #eab308}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;vertical-align:0}.settings-hit{width:100%;text-align:left;background:none;font:inherit;cursor:pointer}.card.flash{box-shadow:0 0 0 3px var(--primary);transition:box-shadow .3s}.glance{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1px;background:var(--border);border:1px solid var(--border);border-radius:var(--radius-lg, 12px);overflow:hidden;margin-bottom:16px}.glance>div{background:var(--surface);padding:10px 14px;min-width:0}.glance-label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:3px}.glance-sub{font-size:12px;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.side-panel{padding:0;align-self:start}.side-section+.side-section{border-top:1px solid var(--border)}.side-head{display:flex;align-items:center;gap:8px;width:100%;padding:12px 16px;background:none;border:0;font:inherit;color:inherit;cursor:pointer;text-align:left}.side-head:hover{background:var(--surface-2)}.side-caret{color:var(--muted);width:12px;flex:none}.side-summary{margin-left:auto;color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.side-body{padding:0 16px 14px}.pair-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px;align-items:stretch}.fit-height{position:relative;min-height:360px}.fit-height>.card{position:absolute;inset:0;display:flex;flex-direction:column}.components-list{flex:1;overflow-y:auto;min-height:0;margin:0 -16px -16px;border-top:1px solid var(--border)}.component-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:8px 16px;border-bottom:1px solid var(--border);cursor:default}.component-row:hover{background:var(--surface-2)}.component-row.replaced{opacity:.6}.component-serials{font-size:13px;text-align:right;white-space:nowrap}.link-btn{background:none;border:0;padding:0;color:var(--primary);cursor:pointer;font:inherit;font-family:var(--font, inherit);font-size:12px;text-decoration:underline}.serial-list{columns:2;margin:8px 0 0;padding-left:28px;font-size:14px;line-height:1.8}@media(max-width:900px){.pair-grid{grid-template-columns:1fr}.fit-height{min-height:0}.fit-height>.card{position:static;max-height:480px}}.tab:disabled{opacity:.45;cursor:not-allowed}.permissions th.perm-role{vertical-align:bottom;height:120px;white-space:nowrap;padding:4px}.permissions th.perm-role span{display:inline-block;writing-mode:vertical-rl;transform:rotate(180deg);font-size:12px}.permissions td.perm-cell{text-align:center;padding:6px 4px}.permissions td.perm-cell input{width:16px;height:16px;cursor:pointer}.permissions tr.perm-group td{background:var(--surface-2);font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:600;padding:6px 12px}.permissions td.perm-cell input:disabled{cursor:default;opacity:.6}.parts-lines td{vertical-align:top}.parts-lines .control{min-width:0}.parts-lines input.num{width:72px;min-width:72px;padding-left:6px;padding-right:6px}.side-arrange{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 12px;border-bottom:1px solid var(--border);min-height:36px}.side-arrange>.btn:only-child{margin-left:auto}.arrange-row{display:flex;justify-content:space-between;align-items:center;padding:10px 16px}.entity-box{border:1px solid var(--border);border-radius:10px;padding:12px 14px}.entity-box.inactive{opacity:.6}.pack-option{border:1px solid var(--border);border-radius:10px;padding:10px 12px}.pack-option.chosen{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.pack-boxes{margin:6px 0 0;padding-left:18px;font-size:13px}.part-search{position:relative}.part-search-results{position:absolute;right:0;top:calc(100% + 4px);z-index:20;width:340px;max-height:360px;overflow-y:auto;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow-md, 0 8px 24px rgba(0,0,0,.12))}.part-search-results button{display:block;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid var(--border);padding:8px 12px;font:inherit;color:inherit;cursor:pointer}.part-search-results button:hover{background:var(--surface-2)}.pack-3d{height:320px;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:linear-gradient(180deg,var(--surface-2),var(--surface))}.pack-3d-empty{display:grid;place-items:center;text-align:center;min-height:260px;border:1px dashed var(--border);border-radius:10px;padding:16px;font-size:13px}.numbering-row{display:grid;grid-template-columns:minmax(160px,1.2fr) minmax(180px,1.4fr) minmax(160px,1.2fr) auto;gap:10px 14px;align-items:center;padding:10px 0;border-top:1px solid var(--border)}.numbering-row:first-child{border-top:0}.error-text{color:var(--danger, #dc2626)}@media(max-width:760px){.numbering-row{grid-template-columns:1fr}}.picker{display:grid;gap:6px}.picker-tabs{display:flex;gap:4px;flex-wrap:wrap}.picker-tabs button{border:1px solid var(--border);background:var(--surface);border-radius:999px;padding:2px 10px;font-size:12.5px;color:var(--text-2);cursor:pointer}.picker-tabs button.active{background:var(--primary-soft);border-color:var(--primary-border);color:var(--primary)}.picker-count{margin-left:6px;color:var(--muted);font-size:11.5px}.picker-list{border:1px solid var(--border);border-radius:var(--radius);overflow-y:auto;background:var(--surface)}.picker-row{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--border);background:transparent;padding:8px 12px;cursor:pointer;font:inherit;color:inherit}.picker-row:last-child{border-bottom:0}.picker-row.active{background:var(--primary-soft)}.picker-title{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-weight:600;font-size:14px}.picker-title .muted{font-weight:400}.picker-line{color:var(--muted);font-size:12.5px;margin-top:1px}.picker-kind{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:var(--muted);border:1px solid var(--border);border-radius:4px;padding:0 5px}.picked{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--primary-border);background:var(--primary-soft);border-radius:var(--radius);padding:8px 12px}.menu-icon{flex:none;width:20px;text-align:center;font-size:15px;line-height:1}.picker-more{padding:6px 12px;font-size:12px;color:var(--muted);background:var(--surface-2);border-top:1px solid var(--border)}.vt{position:relative;overflow:auto;outline:none;border-top:1px solid var(--border)}.vt-head{position:sticky;top:0;z-index:2;display:grid;align-items:center;background:var(--surface-2);border-bottom:1px solid var(--border);font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.02em;min-width:900px}.vt-th{padding:0 12px;display:flex;align-items:center;gap:4px;min-width:0;white-space:nowrap}.vt-th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.vt-th.sortable:hover{color:var(--text)}.vt-th .th-filter{text-transform:none;font-weight:600}.vt-arrow{font-size:9px;color:var(--primary)}.vt-row{position:absolute;left:0;right:0;display:grid;align-items:center;border-bottom:1px solid var(--border);cursor:pointer;font-size:14px;min-width:900px}.vt-row:hover,.vt-row.active{background:var(--primary-soft)}.vt-td{padding:0 12px;min-width:0;overflow:hidden}.vt-td.right,.vt-th.right{justify-content:flex-end;text-align:right}.vt-two{display:flex;flex-direction:column;min-width:0;line-height:1.35}.vt-two>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vt-two>.muted{font-size:12px}.vt-empty{padding:24px;text-align:center;color:var(--muted)}.ellipsis{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vt-th .th-filter{max-width:100%;min-width:0}.drop-zone{border:2px dashed var(--border);border-radius:12px;padding:18px;text-align:center;cursor:pointer;background:var(--surface-2);display:grid;gap:4px}.drop-zone:hover,.drop-zone.over{border-color:var(--primary);background:var(--primary-soft)}.receipt-files{display:flex;flex-wrap:wrap;gap:6px}.receipt-file{font-size:12px;padding:3px 8px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border);max-width:100%;overflow-wrap:anywhere}.receipt-file.done{border-color:#bbf7d0;background:#f0fdf4}.receipt-file.failed{border-color:#fecaca;background:#fef2f2}.receipt-draft{border:1px solid var(--border);border-radius:10px;padding:10px 12px;display:grid;gap:8px}.receipt-draft.off{opacity:.6}.receipt-draft.bad{border-color:var(--danger)}.receipt-grid{display:grid;grid-template-columns:150px minmax(140px,1fr) minmax(140px,1.2fr) minmax(170px,1fr);gap:6px}.receipt-grid .receipt-wide{grid-column:span 3}.receipt-warnings{margin:0;padding-left:18px;font-size:12px;color:var(--warning-text, #92400e)}@media(max-width:700px){.receipt-grid{grid-template-columns:1fr 1fr}.receipt-grid .receipt-wide{grid-column:span 2}}.report-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin-bottom:14px}.report-filters label{display:grid;gap:4px}.report-filters .control{min-width:170px}.report-tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid var(--border);margin-bottom:14px}.report-tabs button{border:none;background:none;padding:9px 14px;font:inherit;font-size:14px;color:var(--text-2);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px}.report-tabs button:hover{color:var(--text)}.report-tabs button.active{color:var(--primary);border-bottom-color:var(--primary);font-weight:600}.report-chooser{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px}.report-choices{flex-basis:100%;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:8px}.report-choice{align-items:flex-start;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.report-choice>span{display:grid;gap:2px;font-size:13px}.report-card{background:var(--surface-2);border:1px solid var(--border);border-radius:14px;padding:14px}.report-card-head{display:flex;gap:8px;align-items:flex-start;margin-bottom:12px}.report-card-head h3{margin:0;font-size:17px}.report-card-head h3 a{color:inherit}.report-card-head h3 a:hover{color:var(--primary)}.report-desc{font-size:13px}.report-collapse{border:none;background:none;cursor:pointer;font-size:16px;color:var(--text-2);padding:0 2px}.btn.pinned{color:#f59e0b}.report-loading{padding:30px;text-align:center}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.report-grid .span-2{grid-column:1 / -1}.report-block{margin:0;min-width:0}.report-block-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}.report-block-head h4{margin:0;font-size:14px}.report-empty{padding:26px 10px;text-align:center}.report-note{font-size:12px;margin-top:6px}.report-table th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}.kpi-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:10px}.kpi{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:12px 14px}.kpi-label{font-size:12px;color:var(--text-2);text-transform:uppercase;letter-spacing:.03em}.kpi-value{font-size:24px;font-weight:700;margin:4px 0 2px;white-space:nowrap}.kpi-change{font-size:12px;font-weight:600}.kpi-change.good{color:var(--success, #10b981)}.kpi-change.bad{color:var(--danger, #ef4444)}.kpi-hint{font-size:12px}.rchart{position:relative}.rchart svg{display:block;max-width:100%}.chart-hover{fill:var(--primary-soft, rgba(59, 130, 246, .08))}.chart-tip{position:absolute;z-index:5;pointer-events:none;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-lg, 0 8px 24px rgba(0,0,0,.12));border-radius:10px;padding:8px 10px;font-size:12px;min-width:140px;max-width:280px}.chart-tip-row{display:flex;align-items:center;gap:6px;margin-top:3px}.chart-tip-row i{width:9px;height:9px;border-radius:2px;flex:none}.chart-tip-row b{margin-left:auto;padding-left:10px}.chart-tip-row.total{border-top:1px solid var(--border);padding-top:3px}.hbars{display:grid;gap:7px}.hbar-row{display:grid;grid-template-columns:minmax(90px,38%) 1fr auto;gap:8px;align-items:center;font-size:13px}.hbar-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hbar-track{height:14px;background:var(--surface-2);border-radius:4px;overflow:hidden}.hbar-track span{display:block;height:100%;border-radius:4px}.hbar-value{font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.rdonut{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.rdonut-legend{display:grid;gap:4px;flex:1;min-width:180px}.rdonut-legend .chart-legend-row{display:grid;grid-template-columns:10px minmax(0,1fr) auto 40px;gap:8px;align-items:center;font-size:13px;padding:2px 4px;border-radius:6px}.rdonut-legend .chart-legend-row.on{background:var(--surface-2)}.rdonut-legend .chart-legend-row i{width:10px;height:10px;border-radius:3px}.rdonut-legend .muted{text-align:right}.heatmap{border-collapse:separate;border-spacing:2px;font-size:12px;width:100%}.heatmap th{font-weight:600;text-align:left;padding:4px 6px;white-space:nowrap}.heatmap thead th{text-align:center}.heatmap td{text-align:center;padding:6px;border-radius:4px;background:var(--surface-2);min-width:42px;font-variant-numeric:tabular-nums}.heatmap td.heat-total{background:none;font-weight:700}.funnel{display:grid;gap:6px}.funnel-row{display:grid;grid-template-columns:minmax(110px,30%) 1fr 44px;gap:8px;align-items:center;font-size:13px}.funnel-track{display:flex;justify-content:center}.funnel-track span{display:block;color:#fff;font-weight:600;text-align:center;padding:6px 4px;border-radius:6px;white-space:nowrap;overflow:hidden}.funnel-rate{text-align:right}.worldmap{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:14px;align-items:start}.worldmap-canvas{position:relative}.worldmap-canvas svg{width:100%;height:auto;display:block}.map-country{fill:var(--border, #e5e7eb);stroke:var(--surface, #fff);stroke-width:.5}.map-country.has{stroke:var(--surface, #fff)}.map-country.on{stroke:var(--text, #111);stroke-width:1.2}.worldmap-side{display:grid;gap:6px;font-size:13px}.worldmap-scale{display:flex;align-items:center;gap:6px;font-size:11px;margin-bottom:4px}.worldmap-scale i{flex:1;height:8px;border-radius:4px;background:linear-gradient(90deg,color-mix(in srgb,var(--chart-1, #3b82f6) 18%,var(--surface-2, #f1f5f9)),var(--chart-1, #3b82f6))}.worldmap-top{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid var(--border);padding:3px 0}.print-only{display:none}@media(max-width:900px){.report-grid,.worldmap{grid-template-columns:minmax(0,1fr)}}@media print{.sidebar,.topbar,.no-print,.report-tabs,.report-filters,.page-header .actions{display:none!important}.layout,.main,.content{display:block!important;margin:0!important;padding:0!important}.print-only{display:inline}.report-card{break-inside:avoid-page;background:none;border:none;padding:0;margin-bottom:18px}.report-block,.kpi{break-inside:avoid}.chart-tip{display:none}}.ai-usage{display:grid;gap:8px;border-top:1px solid var(--border);margin-top:16px;padding-top:14px}.budget-bar{height:10px;border-radius:5px;background:var(--surface-2);overflow:hidden;border:1px solid var(--border)}.budget-bar span{display:block;height:100%}.ai-months{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;align-items:end}.ai-months>div{display:grid;justify-items:center;gap:2px;font-size:12px}.ai-month-bar{width:70%;background:var(--primary);border-radius:4px 4px 0 0;display:block}.form-preview{position:fixed;inset:0;z-index:200;background:var(--bg, #f3f4f6);display:flex;flex-direction:column}.form-preview-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 16px;background:var(--surface);border-bottom:1px solid var(--border)}.form-preview-check{padding:8px 16px;background:var(--surface);border-bottom:1px solid var(--border);font-size:13px;display:grid;gap:4px}.form-preview-stage{flex:1;overflow:auto;padding:20px 16px 40px;display:flex;justify-content:center}.form-preview-device{max-width:100%;transition:width .2s}.form-preview-device.phone .form-preview-sheet,.form-preview-device.tablet .form-preview-sheet{border-radius:18px;box-shadow:0 0 0 8px #1f2937,var(--shadow-lg, 0 10px 30px rgba(0,0,0,.15))}.form-preview-sheet{background:var(--surface);border-radius:12px;padding:20px;box-shadow:var(--shadow-lg, 0 10px 30px rgba(0,0,0,.1));min-height:60vh}.form-preview-device.desktop{max-width:1000px;width:100%!important}.seg{display:inline-flex;border:1px solid var(--border);border-radius:8px;overflow:hidden}.seg button{border:none;background:var(--surface);padding:5px 10px;font:inherit;font-size:13px;cursor:pointer;color:var(--text-2)}.seg button+button{border-left:1px solid var(--border)}.seg button.active{background:var(--primary-soft);color:var(--primary);font-weight:600}.form-side{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;align-items:start}.form-side-preview{position:sticky;top:12px;max-height:calc(100vh - 40px);overflow:auto;border:1px solid var(--border);border-radius:12px;padding:14px;background:var(--surface-2)}@media(max-width:1000px){.form-side{grid-template-columns:minmax(0,1fr)}.form-side-preview{position:static;max-height:none}}.crash-card{display:grid;justify-items:start;gap:6px;padding:28px;max-width:760px}.diag-filters{display:flex;flex-wrap:wrap;gap:8px}.diag-filters .control{width:auto;min-width:150px;flex:1 1 150px;max-width:260px}.diag-table td{vertical-align:top}.diag-table tr.selected td{background:var(--primary-soft)}.diag-msg{font-size:13px;margin-top:2px;overflow-wrap:anywhere}.diag-detail-row>td{background:var(--surface-2)}.diag-detail{display:grid;gap:10px;padding:4px 2px 8px}.diag-detail section{display:grid;gap:4px}.diag-pre{margin:0;padding:10px 12px;background:#0f172a;color:#e2e8f0;border-radius:8px;font-size:12px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;max-height:420px;overflow:auto}.diag-steps{margin:0;padding-left:22px;font-size:13px;display:grid;gap:3px}.warn-text{color:#b45309;font-weight:600}.gsearch{position:relative;flex:0 1 440px;min-width:0}.gsearch-field{position:relative;display:flex;align-items:center}.gsearch-field>svg{position:absolute;left:11px;width:17px;height:17px;color:var(--muted);pointer-events:none}.gsearch-field input{width:100%;height:36px;padding:0 64px 0 34px;border:1px solid var(--border);border-radius:999px;background:var(--surface-2);color:var(--text);font:inherit;font-size:14px}.gsearch-field input::-webkit-search-cancel-button{display:none}.gsearch-field input:focus{outline:none;border-color:var(--primary-border);background:var(--surface);box-shadow:0 0 0 3px var(--primary-soft)}.gsearch-kbd{position:absolute;right:10px;font:500 11px var(--font);color:var(--muted);border:1px solid var(--border);border-radius:6px;padding:1px 6px;background:var(--surface);pointer-events:none}.gsearch.open .gsearch-kbd,.gsearch-phone,.gsearch-close{display:none}.gsearch-panel{position:absolute;top:calc(100% + 6px);left:0;right:0;min-width:340px;max-height:min(70vh,560px);overflow:auto;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);z-index:60;padding:6px}.gsearch-group+.gsearch-group{border-top:1px solid var(--border);margin-top:4px;padding-top:4px}.gsearch-label{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:8px 10px 4px}.gsearch-item{display:flex;flex-direction:column;gap:1px;padding:7px 10px;border-radius:8px;color:var(--text);text-decoration:none}.gsearch-item.active{background:var(--primary-soft)}.gsearch-title{font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gsearch-sub{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gsearch-item mark{background:#fde68a;color:inherit;border-radius:2px;padding:0 1px}.gsearch-note{padding:14px 12px;color:var(--muted);font-size:14px}.gsearch-foot{padding:8px 10px 4px;font-size:11px;color:var(--muted);border-top:1px solid var(--border);margin-top:4px}@media(max-width:720px){.gsearch{flex:none;position:static}.gsearch-phone{display:grid}.gsearch-field{display:none}.gsearch.open .gsearch-field{display:flex;position:absolute;inset:0;z-index:61;background:var(--surface);padding:0 10px;gap:8px;border-bottom:1px solid var(--border)}.gsearch.open .gsearch-field>svg{left:21px}.gsearch.open .gsearch-close{display:inline-flex}.gsearch-panel{position:absolute;top:56px;left:8px;right:8px;min-width:0}.topbar{position:relative}}.timelog{margin-top:10px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);display:grid;gap:10px}.timelog-head{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline}.timelog-state{font-weight:600;font-size:13px;display:inline-flex;align-items:center;gap:6px}.timelog-state:before{content:"";width:9px;height:9px;border-radius:50%;background:var(--border-strong)}.timelog-state.travelling:before{background:#0ea5e9}.timelog-state.on-site:before{background:#8b5cf6}.timelog-state.working:before{background:var(--success);animation:timelog-pulse 1.4s ease-in-out infinite}.timelog-state.left:before{background:var(--muted)}@keyframes timelog-pulse{50%{opacity:.35}}.timelog-totals{font-size:12px}.timelog-actions{display:grid;gap:8px}.timelog-actions .btn{min-height:38px}.timelog-other{gap:10px;flex-wrap:wrap;align-items:flex-end}.timelog-other label{display:grid;gap:4px;font-size:12px;color:var(--text-2)}.timelog-steps{list-style:none;margin:0;padding:0;display:grid;gap:2px}.timelog-steps li{display:grid;grid-template-columns:14px 1fr auto;gap:8px;align-items:center;font-size:13px;padding:3px 0}.timelog-dot{width:9px;height:9px;border-radius:50%;background:var(--border-strong);justify-self:center}.step-LEFT_FOR_SITE .timelog-dot,.step-LEFT_SITE .timelog-dot{background:#0ea5e9}.step-ARRIVED .timelog-dot{background:#8b5cf6}.step-WORK_STARTED .timelog-dot{background:var(--success)}.step-WORK_STOPPED .timelog-dot{background:var(--warn-fg)}.timelog-step{display:flex;flex-wrap:wrap;gap:2px 10px;min-width:0}.timelog-who{font-size:12px}@media(max-width:720px){.timelog-steps li{grid-template-columns:14px 1fr}.timelog-steps li>.row{grid-column:2}.timelog-actions .btn{flex:1 1 auto}}@media(prefers-reduced-motion:reduce){.timelog-state.working:before{animation:none}}.timelog-hint{display:none;font-size:12px}@media(max-width:720px){.timelog{padding:12px}.timelog-actions .row{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}.timelog-actions .row>.btn{min-height:52px;font-size:16px;justify-content:center}.timelog-actions .row>.btn.primary{grid-column:1 / -1;min-height:58px;font-size:17px}.timelog-actions .row>.btn.ghost{min-height:44px;font-size:14px}.timelog-other .control{min-height:46px;font-size:16px}.timelog-hint{display:block}.timelog-steps li{cursor:pointer;padding:8px 0;border-bottom:1px solid var(--border)}.timelog-steps li:last-child{border-bottom:none}.timelog-steps li .step-actions{display:none!important}.timelog-steps li.open .step-actions{display:flex!important;flex-wrap:wrap}.timelog-steps li .step-actions .btn{min-height:40px}}.plain-list{list-style:none;margin:0;padding:0;display:grid;gap:0}.plain-list>li{padding:8px 0;border-bottom:1px solid var(--border);font-size:14px}.plain-list>li:last-child{border-bottom:none}.leave-year{margin-bottom:10px;font-size:15px}.leave-balance{border-top:4px solid var(--border-strong)}.leave-balance .value .muted{font-size:14px;font-weight:500}.leave-grid{margin-top:16px}.leave-date{display:inline-block;min-width:92px;font-weight:600;font-variant-numeric:tabular-nums}.leave-approvals{border-left:4px solid var(--primary)}.leave-approval{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 0;border-top:1px solid var(--border);font-size:14px}.leave-request,.leave-off{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.leave-off.now strong{color:var(--primary)}.leave-preview{font-size:14px;padding:10px 12px;border-radius:8px;background:var(--primary-soft);border:1px solid var(--primary-border)}.leave-widget-balances{display:flex;flex-wrap:wrap;gap:6px 18px;padding:12px 16px;border-bottom:1px solid var(--border);font-size:14px}.leave-widget-balances strong{font-size:18px}.visit-readiness{margin-top:4px}@media(max-width:720px){.leave-page .page-header .actions{width:100%}.leave-page .page-header .actions .btn{flex:1;min-height:46px;justify-content:center}.leave-approval .row{width:100%}.leave-approval .row .btn{flex:1;min-height:44px;justify-content:center}.leave-request,.leave-off{flex-direction:column}}.cal{display:grid;gap:12px}.cal-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.cal-title{margin-left:8px;font-size:15px}.cal-find{width:180px}.cal-lane{width:200px}.cal-legend{display:flex;flex-wrap:wrap;gap:6px}.cal-key{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface);font:inherit;font-size:12.5px;color:var(--text-2);cursor:pointer}.cal-key.off{opacity:.45;text-decoration:line-through}.cal-key .dot,.cal-list-item .dot{width:10px;height:10px;border-radius:3px;background:var(--ev, #94a3b8);flex:none}.kind-visit{--ev: #2563eb;--ev-bg: #dbeafe}.kind-trip{--ev: #7c3aed;--ev-bg: #ede9fe}.kind-leave{--ev: #d97706;--ev-bg: #fef3c7}.kind-holiday{--ev: #64748b;--ev-bg: #f1f5f9}.kind-parts{--ev: #0d9488;--ev-bg: #ccfbf1}.kind-delivery{--ev: #0891b2;--ev-bg: #cffafe}.kind-build{--ev: #2563eb;--ev-bg: #dbeafe}.kind-qc{--ev: #7c3aed;--ev-bg: #ede9fe}.kind-due{--ev: #dc2626;--ev-bg: #fee2e2}.kind-transfer{--ev: #0d9488;--ev-bg: #ccfbf1}.kind-shipment{--ev: #0891b2;--ev-bg: #cffafe}.kind-training{--ev: #db2777;--ev-bg: #fce7f3}.cal-ev{display:block;width:100%;min-width:0;margin:0;padding:3px 7px;border:1px solid var(--ev);border-left-width:4px;border-radius:6px;background:var(--ev-bg);color:var(--text);font:inherit;font-size:12px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:default}.cal-ev.link{cursor:pointer}.cal-ev.link:hover{filter:brightness(.96)}.cal-ev-sub{color:var(--text-2)}.cal-ev.state-PENDING,.cal-ev.state-SUBMITTED,.cal-ev.state-PLANNED,.cal-ev.state-TO_SHIP,.cal-ev.state-NO_ETA{border-style:dashed;border-left-style:solid}.cal-ev.state-COMPLETED,.cal-ev.state-DONE,.cal-ev.state-DELIVERED,.cal-ev.state-RECEIVED{opacity:.6}.cal-ev.state-ON_SITE,.cal-ev.state-IN_PROGRESS,.cal-ev.state-in-transit{background:var(--ev);color:#fff}.cal-ev.state-ON_SITE .cal-ev-sub,.cal-ev.state-IN_PROGRESS .cal-ev-sub,.cal-ev.state-in-transit .cal-ev-sub{color:#ffffffd9}.cal-ev.state-late{background:#dc2626;color:#fff;border-color:#b91c1c}.cal-ev.cut-start{border-top-left-radius:0;border-bottom-left-radius:0;border-left-style:dotted}.cal-ev.cut-end{border-top-right-radius:0;border-bottom-right-radius:0}.cal-timeline{overflow-x:auto}.cal-tl-row{display:grid;column-gap:0;row-gap:3px;padding:4px 0;border-bottom:1px solid var(--border);position:relative;min-width:820px}.cal-tl-head{position:sticky;top:0;z-index:3;background:var(--surface);padding:0}.cal-tl-lane{position:sticky;left:0;z-index:2;background:var(--surface);padding:2px 10px;display:flex;flex-direction:column;justify-content:center;min-width:0;border-right:1px solid var(--border);font-size:13px}.cal-tl-lane strong,.cal-tl-lane .muted{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cal-tl-lane .muted{font-size:11.5px}.cal-tl-day{display:flex;flex-direction:column;align-items:center;padding:6px 0;font-size:11.5px;color:var(--muted);border-left:1px solid var(--border)}.cal-tl-day strong{font-size:14px;color:var(--text)}.cal-tl-day.today strong{background:var(--primary);color:#fff;border-radius:999px;padding:0 7px}.cal-tl-cell{border-left:1px solid var(--border);margin:-4px 0}.cal-tl-cell.weekend,.cal-tl-day.weekend{background:var(--surface-2)}.cal-tl-cell.holiday,.cal-tl-day.holiday{background:repeating-linear-gradient(135deg,#f1f5f9,#f1f5f9 6px,#e2e8f0 6px 8px)}.cal-tl-cell.today{background:var(--primary-soft)}.cal-tl-row>.cal-ev{z-index:1;align-self:center;margin:0 2px;width:auto}.cal-tl-group{padding:6px 10px;font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);background:var(--surface-2);border-bottom:1px solid var(--border);position:sticky;left:0}.cal-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.cal-month-head{padding:6px 8px;font-size:12px;font-weight:600;color:var(--muted);border-bottom:1px solid var(--border);background:var(--surface-2)}.cal-month-cell{min-height:110px;padding:4px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);display:flex;flex-direction:column;gap:3px;min-width:0}.cal-month-cell:nth-child(7n){border-right:none}.cal-month-cell.other{background:var(--surface-2)}.cal-month-cell.other .cal-month-day{color:var(--muted)}.cal-month-cell.holiday{background:#f8fafc}.cal-month-day{align-self:flex-start;border:none;background:none;font:inherit;font-size:12.5px;font-weight:600;padding:1px 6px;border-radius:999px;cursor:pointer;color:var(--text)}.cal-month-cell.today .cal-month-day{background:var(--primary);color:#fff}.cal-more{border:none;background:none;font:inherit;font-size:12px;color:var(--primary);text-align:left;padding:0 4px;cursor:pointer}.cal-list{display:grid;gap:12px}.cal-list-day h3{margin:0 0 6px;font-size:14px;display:flex;gap:8px;align-items:center}.cal-list-day.today{border-color:var(--primary-border)}.cal-list-item.cal-ev{display:flex;gap:10px;align-items:flex-start;white-space:normal;padding:8px 10px;margin-top:6px;font-size:14px}.cal-list-item.kind-holiday{padding:6px 2px;color:var(--text-2);font-size:14px}.cal-list-text{display:grid;gap:2px;min-width:0}.cal-list-text .muted{overflow-wrap:anywhere}@media(max-width:720px){.cal-bar{align-items:stretch}.cal-bar>.row{width:100%}.cal-find,.cal-lane{flex:1 1 40%;width:auto;min-width:0}.cal-bar .seg{flex:1 1 100%;justify-content:center}.cal-month-cell{min-height:70px;padding:2px}.cal-month .cal-ev{font-size:10.5px;padding:1px 3px;border-left-width:3px}}.kind-pm{--ev: #ea580c;--ev-bg: #ffedd5}.chip-x{border:none;background:none;padding:0 0 0 6px;font:inherit;font-size:11px;color:inherit;opacity:.7;cursor:pointer}.chip-x:hover{opacity:1}.ask-page{max-width:1000px}.ask-suggestions{display:flex;flex-wrap:wrap;gap:8px}.ask-chip{border:1px solid var(--primary-border);background:var(--primary-soft);color:var(--primary);border-radius:999px;padding:6px 12px;font:inherit;font-size:13.5px;cursor:pointer;text-align:left}.ask-chip:hover{background:#e0e9ff}.ask-thread{display:grid;gap:16px;margin:16px 0}.ask-turn{display:grid;gap:8px}.ask-question{justify-self:end;max-width:80%;background:var(--primary);color:#fff;padding:9px 14px;border-radius:14px 14px 4px;font-size:14.5px;overflow-wrap:anywhere}.ask-answer{max-width:100%}.ask-prose p{margin:0 0 8px;font-size:14.5px;line-height:1.55}.ask-prose ul{margin:0 0 8px;padding-left:20px;font-size:14.5px;line-height:1.55}.ask-chart{border:1px solid var(--border);border-radius:var(--radius);padding:10px;display:grid;gap:6px}.ask-table{max-height:420px;overflow:auto;border:1px solid var(--border);border-radius:var(--radius)}.ask-thinking:after{content:"";display:inline-block;width:1em;animation:ask-dots 1.2s steps(4) infinite}@keyframes ask-dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}@media(prefers-reduced-motion:reduce){.ask-thinking:after{animation:none}}.ask-form{position:sticky;bottom:0;display:flex;gap:8px;padding:12px 0;background:var(--bg)}.ask-form .control{flex:1;min-height:44px;font-size:15px}@media(max-width:720px){.ask-question{max-width:92%}}.assistant-card{border-left:4px solid #8b5cf6;margin-bottom:16px}.assistant-summary{font-size:14.5px;font-weight:500}.assistant-causes{margin:0;padding-left:20px;display:grid;gap:14px;font-size:14px}.assistant-causes>li{display:grid;gap:4px}.assistant-steps{margin:2px 0 0;padding-left:20px;font-size:14px}.ask-thread{padding-bottom:24px}.ask-thread>div:last-child{scroll-margin-bottom:96px}.ask-turn{scroll-margin-top:76px}.writeup-card{border-left:4px solid #0d9488;margin-bottom:16px}.writeup-notes{display:flex;gap:8px;align-items:flex-start}.writeup-notes textarea{flex:1;font-size:15px}.writeup-summary{font-size:14px;background:var(--surface-2);border:1px solid var(--border);border-radius:8px;padding:8px 10px;margin:4px 0}.writeup-answers{margin:4px 0 0;padding-left:20px;font-size:14px}@media(max-width:720px){.writeup-notes{flex-direction:column}.writeup-notes .btn{width:100%;min-height:46px;justify-content:center}}.assistant-fab{position:fixed;right:22px;bottom:22px;z-index:60;width:54px;height:54px;border-radius:50%;border:none;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;font-size:24px;cursor:pointer;box-shadow:0 8px 24px #2563eb59}.assistant-fab:hover{transform:translateY(-1px);box-shadow:0 10px 28px #2563eb73}.assistant-panel{position:fixed;right:18px;bottom:18px;z-index:60;width:min(420px,calc(100vw - 36px));height:min(640px,calc(100vh - 90px));display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow-lg);overflow:hidden}.assistant-head{display:flex;align-items:center;gap:6px;padding:10px 12px;border-bottom:1px solid var(--border);background:var(--surface-2)}.assistant-head .spacer{flex:1}.assistant-body{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:10px}.assistant-body .ask-question{align-self:flex-end}.assistant-reply{display:grid;gap:8px;font-size:14px}.assistant-reply .ask-prose p,.assistant-reply .ask-prose ul{font-size:14px}.assistant-card{border:1px solid var(--primary-border);background:var(--primary-soft);border-radius:10px;padding:10px;display:grid;gap:8px;font-size:14px}.assistant-card.state-done{border-color:#bbf7d0;background:var(--success-soft)}.assistant-card.state-cancelled{opacity:.65}.assistant-card.state-failed{border-color:#fecaca;background:var(--danger-soft)}.assistant-done{color:var(--success);font-weight:600}.assistant-form{border-top:1px solid var(--border);padding:10px;display:flex;gap:8px;align-items:flex-end}.assistant-form textarea{flex:1;resize:none;font-size:14.5px}.assistant-form-actions{display:flex;flex-direction:column;gap:6px}@media(max-width:720px){.assistant-fab{right:16px;bottom:16px}.assistant-panel{inset:0;width:auto;height:auto;border-radius:0}.assistant-form textarea{font-size:16px}}.ask-form{padding-right:64px}@media(max-width:720px){.ask-form{padding-right:62px}}.trend-finding{border:1px solid var(--border);border-radius:10px;padding:12px 14px;background:var(--surface-2, var(--bg))}.trend-finding p{margin:6px 0 0}.briefing-headline{font-weight:600;margin:0 0 10px}.briefing-list{margin-top:8px}.briefing-list ul{margin:4px 0 0;padding-left:18px;display:grid;gap:4px;font-size:14px}.briefing-foot{gap:10px;align-items:center;margin-top:12px;flex-wrap:wrap;font-size:13px}.learn-standalone{min-height:100vh;background:var(--bg)}.learn-top{padding:14px 24px;background:var(--surface);border-bottom:1px solid var(--border);font-weight:600}.learn-page{max-width:1100px;margin:0 auto;padding:24px 20px 48px}.learn-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.learn-layout{display:grid;grid-template-columns:260px 1fr;gap:16px;align-items:start;margin-top:12px}.learn-lessons{list-style:none;margin:0;padding:0;display:grid;gap:4px}.learn-lesson{display:flex;gap:10px;align-items:center;width:100%;text-align:left;border:1px solid var(--border);background:var(--surface);border-radius:8px;padding:9px 10px;cursor:pointer;font:inherit;color:inherit}.learn-lesson.active{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary) inset}.learn-lesson:disabled{opacity:.5;cursor:not-allowed}.learn-tick{flex:0 0 24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);font-size:12px;font-weight:600}.learn-body{min-height:300px}.learn-media{max-width:100%;border-radius:8px}.learn-video{position:relative;padding-top:56.25%}.learn-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:8px}.learn-scorm{display:grid;gap:8px;margin-top:12px}.learn-scorm iframe{width:100%;height:75vh;border:1px solid var(--border);border-radius:8px;background:#fff}.learn-question{border:1px solid var(--border);border-radius:8px;padding:10px 12px;display:grid;gap:6px}.learn-question legend{font-weight:600;padding:0 4px}.learn-question.right{border-color:#86efac}.learn-question.wrong{border-color:#fca5a5}.learn-correct{font-weight:600}.learn-ok{color:#166534;font-size:13px}.learn-no{color:#991b1b;font-size:13px}.learn-finish{margin-top:20px;padding-top:16px;border-top:1px solid var(--border)}.learn-done{margin-bottom:12px}.verify-card{max-width:560px;margin:40px auto}.verify-state{font-weight:700;font-size:18px}.verify-state.ok{color:#166534}.verify-state.bad{color:#991b1b}.lesson-edit{border:1px solid var(--border);border-radius:8px}.lesson-edit-head{display:flex;gap:10px;align-items:center;padding:8px 12px;cursor:pointer}.quiz-edit{border-left:3px solid var(--border);padding-left:10px;display:grid;gap:6px}.pick-list{display:grid;gap:4px;max-height:320px;overflow:auto;border:1px solid var(--border);border-radius:8px;padding:8px}.certified-table td,.certified-table th{white-space:nowrap}.certified-table .group-row td{background:var(--surface-2)}@media(max-width:760px){.learn-layout{grid-template-columns:1fr}.learn-scorm iframe{height:70vh}}.quiz-edit .row{flex-wrap:nowrap;align-items:center}.quiz-edit .row>.control{flex:1;width:auto;min-width:0}.quiz-edit .row>input[type=checkbox]{flex:0 0 auto}.learn-done{background:#f0fdf4;border-color:#bbf7d0;color:#14532d}.slide-frame{container-type:inline-size;width:100%}.slide{position:relative;aspect-ratio:16 / 9;overflow:hidden;display:flex;flex-direction:column;padding:4.5cqw 5cqw 4cqw;font-size:2.1875cqw;line-height:1.35;border-radius:.6cqw;box-shadow:0 0 0 1px #00000014}.slide>*{position:relative}.s-bg{position:absolute!important;inset:0;background-size:cover;background-position:center}.s-bg-tint{position:absolute!important;inset:0;opacity:.82}.s-logo{position:absolute!important;height:4.4cqw;max-width:18cqw;object-fit:contain;z-index:2}.s-logo-top-right{top:2.2cqw;right:2.6cqw}.s-logo-top-left{top:2.2cqw;left:2.6cqw}.s-logo-bottom-right{bottom:2.2cqw;right:2.6cqw}.s-logo-bottom-left{bottom:2.2cqw;left:2.6cqw}.ts-band .s-logo-top-right,.ts-band .s-logo-top-left{top:1.5cqw}.s-number{position:absolute!important;bottom:1.8cqw;right:2.6cqw;font-size:1.3cqw;opacity:.6}.s-number.left{right:auto;left:2.6cqw}.s-head{margin-bottom:2.4cqw;padding-right:16cqw}.s-title{font-size:3.5cqw;font-weight:700;line-height:1.15}.ts-underline .s-head .s-title:after{content:"";display:block;width:7cqw;height:.5cqw;margin-top:1.2cqw;background:var(--s-accent);border-radius:.25cqw}.ts-band .s-head{margin:-4.5cqw -5cqw 2.6cqw;padding:2.6cqw 18cqw 2.4cqw 5cqw;background:var(--s-primary);color:var(--s-on-primary)}.ts-plain .s-head .s-title,.ts-underline .s-head .s-title{color:var(--s-primary)}.s-content{flex:1;min-height:0;display:flex;flex-direction:column}.s-split{display:grid;grid-template-columns:1fr 1fr;gap:4cqw;align-items:stretch}.s-split.reverse>:first-child{order:2}.s-media-col{display:flex;flex-direction:column;min-height:0;gap:1cqw}.s-media{position:relative;flex:1;min-height:0;display:flex}.s-img{width:100%;height:100%;border-radius:.6cqw;display:block}.s-embed{width:100%;height:100%;border:0;border-radius:.6cqw}.s-media-only{gap:1cqw}.s-media-only.bleed{margin:-4.5cqw -5cqw -4cqw}.s-media-only.bleed .s-img{border-radius:0}.s-head-ghost{position:absolute!important;top:2cqw;left:2.5cqw;right:26cqw;z-index:3}.s-head-ghost .s-head{margin:0!important;padding:.6cqw 1.2cqw!important;background:#ffffffd9!important;color:#111827!important;border-radius:.6cqw}.s-head-ghost .s-title{color:#111827!important;font-size:2.4cqw}.s-head-ghost .s-title:after{display:none!important}.s-media-empty{flex:1;display:grid;place-items:center;border:.2cqw dashed currentColor;opacity:.55;border-radius:.8cqw;font-size:1.6cqw;background:transparent;color:inherit;font-family:inherit;padding:2cqw;text-align:center}.s-media-pick{cursor:pointer}.s-media-pick:hover{opacity:.85}.s-media-tools{position:absolute;bottom:.8cqw;right:.8cqw;display:none;gap:6px;z-index:3}.slide.editing .s-media:hover .s-media-tools{display:flex}.s-caption{font-size:1.5cqw;opacity:.75;text-align:center}.s-rich{min-width:0;overflow:hidden}.s-rich p{margin:0 0 .9cqw}.s-rich ul,.s-rich ol{margin:0 0 .9cqw;padding-left:2.6cqw}.s-rich li{margin-bottom:.7cqw}.s-rich li p{margin:0}.s-rich ul>li::marker{color:var(--s-accent)}.s-rich h2{font-size:3cqw;margin:0 0 1cqw}.s-rich h3{font-size:2.5cqw;margin:0 0 .8cqw}.s-rich a{color:var(--s-primary)}.s-rich mark{color:inherit;border-radius:.2cqw;padding:0 .2cqw}.s-rich blockquote{border-left:.4cqw solid var(--s-accent);margin:0 0 1cqw;padding-left:1.6cqw}.s-rich .s-hidden{opacity:0}.s-rich>*,.s-rich li{transition:opacity .35s ease}.slide-title .s-title-wrap{flex:1;display:flex;flex-direction:column;justify-content:center;padding:0 6cqw}.slide-title .s-title{font-size:5.6cqw}.s-title-bar{width:9cqw;height:.6cqw;background:var(--s-accent);margin:2.2cqw 0;border-radius:.3cqw}.s-subtitle{font-size:2.4cqw;opacity:.9}.s-callout{flex-direction:row;align-items:center;gap:2.4cqw;padding:0 4cqw}.s-quote{font-size:10cqw;line-height:1;color:var(--s-accent);align-self:flex-start}.s-callout-text{flex:1;font-size:3.6cqw;font-weight:600;line-height:1.25}.slide.editing .s-line-edit,.slide.editing .s-rich-edit{outline:.12cqw dashed transparent;outline-offset:.5cqw;border-radius:.3cqw;cursor:text}.slide.editing .s-line-edit:hover,.slide.editing .s-rich-edit:hover{outline-color:#7f7f7f80}.slide.editing .s-line-edit:focus,.slide.editing .s-rich-edit:focus-within{outline:.15cqw solid var(--s-accent)}.s-line-edit.is-empty:before,.s-rich-edit.is-empty:before{content:attr(data-placeholder);opacity:.45;pointer-events:none;position:absolute}.s-rich-edit{position:relative;flex:1;overflow:auto}.s-rich-edit .ProseMirror{outline:none;min-height:100%}.s-line-edit{position:relative;min-height:1.2em}.slide-deck{display:flex;flex-direction:column;gap:10px;outline:none}.slide-deck-stage{cursor:pointer}.slide-deck-bar{display:flex;align-items:center;gap:8px}.slide-deck-count{font-size:13px;color:var(--muted);min-width:52px;text-align:center}.slide-deck-progress{flex:1;height:4px;background:var(--border);border-radius:2px;overflow:hidden}.slide-deck-progress>div{height:100%;background:var(--primary);transition:width .3s}.slide-deck.full{background:#000;justify-content:center;align-items:center;padding:0;gap:0}.slide-deck.full .slide-deck-stage{width:min(100vw,calc((100vh - 48px) * 16 / 9))}.slide-deck.full .slide{border-radius:0;box-shadow:none}.slide-deck.full .slide-deck-bar{width:min(100vw,calc((100vh - 48px) * 16 / 9));height:48px;padding:0 12px;color:#ccc}.slide-deck.full .slide-deck-bar .btn{background:#222;color:#eee;border-color:#444}.slide-deck.full .slide-deck-progress{background:#333}.slides-edit{display:grid;gap:10px}.slides-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.slides-bar .field-inline{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}.slides-bar .field-inline .control{width:auto;padding:4px 8px;font-size:13px}.slides-add{position:relative}.slides-add-menu{position:absolute;top:calc(100% + 4px);left:0;z-index:20;background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:var(--shadow-lg);padding:4px;display:grid;min-width:200px}.slides-add-menu button{display:flex;gap:10px;align-items:center;padding:7px 10px;border:0;background:none;font:inherit;font-size:14px;text-align:left;border-radius:6px;cursor:pointer;color:var(--text)}.slides-add-menu button:hover{background:var(--surface-2)}.slides-layout-icon{width:28px;text-align:center;color:var(--muted)}.color-input{width:34px;height:30px;padding:2px;border:1px solid var(--border-strong);border-radius:6px;background:var(--surface);cursor:pointer}.slides-main{display:grid;grid-template-columns:170px minmax(0,1fr);gap:14px;align-items:start}.slides-thumbs{list-style:none;margin:0;padding:0 4px 0 0;display:grid;gap:10px;max-height:70vh;overflow:auto}.slides-thumb{position:relative;display:grid;grid-template-columns:18px minmax(0,1fr);gap:6px;cursor:pointer}.slides-thumb-n{font-size:12px;color:var(--muted);text-align:right;padding-top:2px}.slides-thumb-view{border-radius:4px;outline:2px solid transparent;outline-offset:1px;pointer-events:none}.slides-thumb.active .slides-thumb-view{outline-color:var(--primary)}.slides-thumb.dragging{opacity:.4}.slides-thumb-tools{position:absolute;right:2px;bottom:2px;display:none;background:var(--surface);border-radius:6px;box-shadow:var(--shadow-sm)}.slides-thumb-tools .btn.small{padding:1px 6px}.slides-thumb:hover .slides-thumb-tools{display:flex}.slides-stage{display:grid;gap:10px;min-width:0}.slides-hint{font-size:12px}.rich-toolbar{display:flex;flex-wrap:wrap;gap:4px;align-items:center;padding:6px;border:1px solid var(--border);border-radius:8px;background:var(--surface-2)}.rich-toolbar.off{opacity:.55}.rich-toolbar select.control{width:auto;padding:3px 6px;font-size:13px}.rich-toolbar .tb{min-width:30px;height:30px;border:1px solid transparent;border-radius:6px;background:none;font:inherit;font-size:14px;cursor:pointer;color:var(--text)}.rich-toolbar .tb:hover:not(:disabled){background:var(--surface);border-color:var(--border)}.rich-toolbar .tb.on{background:var(--surface);border-color:var(--border-strong);box-shadow:inset 0 -2px 0 var(--primary)}.rich-toolbar .tb:disabled{opacity:.4;cursor:default}.tb-sep{width:1px;height:22px;background:var(--border);margin:0 4px}.tb-colors{display:inline-flex;gap:3px;align-items:center}.tb-swatch{width:18px;height:18px;border-radius:50%;border:1px solid rgba(0,0,0,.2);cursor:pointer;padding:0;position:relative;overflow:hidden}.tb-custom{background:conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.tb-custom input{position:absolute;inset:0;opacity:0;cursor:pointer}.modal.wide:has(.theme-edit),.modal.wide:has(.slide-deck){width:min(1100px,100%)}.theme-edit{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px;align-items:start}.theme-preview{display:grid;gap:12px;position:sticky;top:0}.field-label{font-size:13px;font-weight:600;margin-bottom:6px}.theme-presets{display:flex;gap:8px;flex-wrap:wrap}.theme-preset{width:44px;height:30px;border-radius:6px;border:1px solid var(--border-strong);cursor:pointer;display:flex;align-items:flex-end;gap:3px;padding:4px}.theme-preset span{flex:1;height:10px;border-radius:2px}.theme-colors{display:flex;gap:14px;flex-wrap:wrap}.theme-color{display:flex;align-items:center;gap:6px;font-size:13px;cursor:pointer}.theme-color input{width:34px;height:28px;padding:1px;border:1px solid var(--border-strong);border-radius:6px;cursor:pointer;background:var(--surface)}@media(max-width:760px){.slides-main,.theme-edit{grid-template-columns:1fr}.slides-thumbs{grid-auto-flow:column;grid-auto-columns:140px;max-height:none;overflow-x:auto}}.manual-pages{display:grid;grid-template-columns:minmax(0,1fr) 130px 130px;gap:14px;align-items:start}.manual-page{margin:0;display:grid;gap:4px}.manual-page>div{min-height:160px;border:1px solid var(--border);border-radius:6px;background:var(--surface-2);overflow:hidden}.manual-page canvas{width:100%;height:auto;display:block}.manual-page figcaption{font-size:12px;color:var(--muted);text-align:center}.manual-working{display:grid;justify-items:center;gap:10px;padding:32px 12px;text-align:center}.spinner{width:34px;height:34px;border-radius:50%;border:3px solid var(--border);border-top-color:var(--primary);animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:760px){.manual-pages{grid-template-columns:1fr 1fr}.manual-pages>:first-child{grid-column:1 / -1}}.table.attendance th.center,.table.attendance td.center{text-align:center;white-space:nowrap}.table.attendance td.center input{width:18px;height:18px;accent-color:var(--primary)}.table td.nowrap{white-space:nowrap}.login-or{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}.login-or:before,.login-or:after{content:"";flex:1;height:1px;background:var(--border)}.login-sso{display:flex;align-items:center;justify-content:center;gap:10px}.info-note{font-size:13px;color:var(--text);background:var(--surface-2);border:1px solid var(--border);padding:10px 12px;border-radius:8px}.login-notice{display:flex;flex-direction:column;gap:10px;font-size:13px;color:var(--text);background:var(--surface-2);border:1px solid var(--border);border-left:3px solid var(--primary);padding:10px 12px;border-radius:8px}.login-notice-text{white-space:pre-wrap;max-height:220px;overflow-y:auto;line-height:1.45}.login-notice .check{font-weight:600}.screen-lock{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:16px;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.screen-lock-box{width:min(380px,100%);display:grid;gap:12px;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:24px;box-shadow:0 20px 50px #0f172a4d}.screen-lock-box h2,.screen-lock-box p{margin:0}.screen-lock-icon{font-size:28px}.idle-warning{position:fixed;z-index:1000;left:50%;bottom:24px;transform:translate(-50%);width:min(520px,calc(100vw - 32px));display:flex;align-items:center;gap:16px;justify-content:space-between;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px 16px;box-shadow:0 10px 30px #0f172a40}.session-list{display:grid;gap:8px}.warranty-grid{display:grid;grid-template-columns:minmax(280px,360px) 1fr;gap:16px;align-items:start}@media(max-width:960px){.warranty-grid{grid-template-columns:1fr}}.ai-box{background:var(--surface-2);border:1px solid var(--border);border-radius:10px;padding:12px 14px;font-size:14px}.offsite-place{border:1px solid var(--border);border-radius:10px;padding:12px 14px}.offsite-place ol{margin:6px 0;padding-left:20px}.offsite-key{background:var(--surface-2);border:1px solid var(--border);border-radius:10px;padding:12px 14px}.offsite-key-text{display:block;font-size:15px;letter-spacing:.5px;word-break:break-all;padding:10px 12px;background:var(--surface);border:1px dashed var(--border);border-radius:8px}.session-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--border);border-radius:10px}.session-item .meta{font-size:12px;color:var(--muted)}.sso-provider{border:1px solid var(--border);border-radius:10px;padding:12px 14px}.sso-provider .setting-row>input.control{align-self:start}.sso-provider ol{margin:6px 0;padding-left:20px}.sso-provider ol li{margin:3px 0}.warranty-covers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end;margin-top:6px;font-weight:400}@media(max-width:900px){.warranty-covers{grid-template-columns:1fr 1fr}}.margin-slider{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 12px;background:var(--surface-2);border:1px solid var(--border);border-radius:10px}.margin-slider label{font-weight:600;font-size:14px}.margin-slider input[type=range]{flex:1;min-width:160px;accent-color:var(--primary, #2563eb)}.ai-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:4px 0 16px}@media(max-width:900px){.ai-features{grid-template-columns:1fr}}.ai-feature{display:flex;flex-direction:column;gap:8px;border:1px solid var(--border);border-radius:10px;padding:12px 14px;background:var(--surface)}.ai-feature.on{border-color:#93c5fd;background:#f8fbff}.ai-feature-head{display:flex;justify-content:space-between;align-items:center;gap:8px;cursor:pointer}.permissions-wrap{max-height:70vh;overflow:auto}.permissions-wrap .permissions thead th{position:sticky;top:0;z-index:2;background:var(--surface);box-shadow:inset 0 -1px 0 var(--border)}.sc-score{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.sc-bar{flex:1;min-width:160px;height:10px;border-radius:99px;background:var(--surface-2);border:1px solid var(--border);overflow:hidden}.sc-bar>div{height:100%}.sc-bar-ok{background:#16a34a}.sc-bar-warn{background:#f59e0b}.sc-bar-fail{background:#dc2626}.sc-item{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid var(--border);border-radius:10px}.sc-item.sc-fail{border-color:#fecaca;background:#fef2f2}.sc-item.sc-warn{border-color:#fde68a;background:#fffbeb}.learn-parts{flex-wrap:wrap}.cui-banner{position:fixed;left:0;right:0;height:20px;z-index:3000;background:#502b85;color:#fff;font:700 12px/20px system-ui,sans-serif;letter-spacing:.08em;text-align:center;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 8px}.cui-banner.top{top:0}.cui-banner.bottom{bottom:0}html.cui-on body{padding:20px 0}html.cui-on .layout{height:calc(100vh - 40px)}html.cui-on .login-wrap,html.cui-on .loading-screen,html.cui-on .survey-page{min-height:calc(100vh - 40px)}.cui-designation{display:none}.cui-chip{display:inline-flex;align-items:center;gap:4px;background:#502b85;color:#fff;border:0;border-radius:6px;padding:3px 9px;font:700 12px/1.4 system-ui,sans-serif;letter-spacing:.05em;cursor:pointer;white-space:nowrap}.cui-chip.small{padding:1px 6px;font-size:11px}.cui-chip:hover{background:#3f2069}.cui-file-mark{margin-left:6px;opacity:.6}.cui-file-mark:hover,.cui-file-mark:focus-visible{opacity:1}@media print{.cui-banner{display:none!important}html.cui-on body{padding:0}html.cui-on .layout{height:auto}.cui-designation{display:block;margin:0 0 12px;padding:0 0 8px;border-bottom:1px solid #502b85;color:#502b85;font:11px/1.4 system-ui,sans-serif;white-space:pre-line}.cui-designation strong{display:block;font-size:13px;letter-spacing:.06em}.cui-chip{background:none;color:#502b85;border:1px solid #502b85}}
