:root{--bg:#f4f5f7;--surface:#fff;--surface-2:#f8f9fb;--border:#e2e5ea;--border-strong:#cfd4dc;--text:#1b2230;--text-2:#4a5263;--muted:#6b7384;--sidebar:#141a26;--sidebar-2:#1d2534;--sidebar-text:#c6ccd8;--accent:#1f6feb;--accent-hover:#1a5fd0;--accent-soft:#e8f0fe;--success:#1a7f4b;--success-soft:#e5f5ec;--warning:#9a6200;--warning-soft:#fff4dc;--danger:#c4302b;--danger-soft:#fdecea;--info:#0b6aa2;--info-soft:#e3f2fb;--radius:8px;--radius-sm:6px;--shadow:0 1px 2px #1018280d;--shadow-lg:0 12px 32px #1018282e;--font:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--mono:ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%}body{font-family:var(--font);color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;min-width:1280px;margin:0;font-size:14px;line-height:1.45}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3{margin:0;font-weight:600}h1{letter-spacing:-.01em;font-size:22px}h2{font-size:15px}p{margin:0 0 8px}img{max-width:100%}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.muted{color:var(--muted)}.small{font-size:12.5px}.strong{font-weight:600}.mono{font-family:var(--mono);font-size:.93em}.nowrap{white-space:nowrap}.pre-wrap{white-space:pre-wrap;overflow-wrap:anywhere}.center{text-align:center}.num{text-align:right;font-variant-numeric:tabular-nums}.text-danger{color:var(--danger)!important}.spacer{flex:1}.block{display:block}.top-gap{margin-top:12px}.ellipsis{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.stack{flex-direction:column;gap:16px;display:flex}.stack-sm{flex-direction:column;align-items:stretch;gap:8px;display:flex}.plain-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.plain-fieldset{border:0;flex-direction:column;gap:16px;min-width:0;margin:0;padding:0;display:flex}.shell{min-height:100vh;display:flex}.sidebar{background:var(--sidebar);width:240px;color:var(--sidebar-text);flex-direction:column;flex-shrink:0;height:100vh;display:flex;position:sticky;top:0}.brand{color:#fff;align-items:center;gap:10px;padding:18px 18px 16px;display:flex;text-decoration:none!important}.brand-mark{background:var(--accent);color:#fff;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;font-size:17px;font-weight:700;display:inline-flex}.brand-name{letter-spacing:.08em;font-weight:700;display:block}.brand-sub{color:#8a93a6;font-size:12px;display:block}.nav{flex-direction:column;flex:1;gap:2px;padding:6px 10px;display:flex;overflow-y:auto}.nav-section{text-transform:uppercase;letter-spacing:.08em;color:#7c869a;margin:16px 10px 6px;font-size:11px}.nav-item{border-radius:var(--radius-sm);color:var(--sidebar-text);align-items:center;gap:10px;padding:8px 10px;font-size:14px;display:flex;text-decoration:none!important}.nav-item:hover{background:var(--sidebar-2);color:#fff}.nav-item.active{background:var(--accent);color:#fff}.nav-icon{text-align:center;opacity:.85;width:18px}.nav-label{flex:1}.nav-badge{background:var(--danger);color:#fff;border-radius:10px;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 6px;font-size:11.5px;font-weight:600;display:inline-flex}.sidebar-foot{color:#7c869a;border-top:1px solid var(--sidebar-2);align-items:center;gap:8px;padding:12px 18px;font-size:12px;display:flex}.live-dot{background:#6b7384;border-radius:50%;width:8px;height:8px}.live-dot.on{background:#3fb950}.main{flex-direction:column;flex:1;min-width:0;display:flex}.topbar{background:var(--surface);border-bottom:1px solid var(--border);z-index:20;justify-content:space-between;align-items:center;height:56px;padding:0 24px;display:flex;position:sticky;top:0}.topbar-right{align-items:center;gap:12px;display:flex}.content{flex:1}.page{flex-direction:column;gap:16px;max-width:1480px;padding:24px 28px 40px;display:flex}.page.narrow{max-width:640px}.page-full{max-width:none;height:calc(100vh - 56px);padding:0}.page-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.page-back{margin-bottom:4px;font-size:13px}.page-subtitle{color:var(--muted);margin-top:4px}.page-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.title-with-badges{flex-wrap:wrap;align-items:center;gap:10px;display:inline-flex}.two-col{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:16px;display:grid}.col-main,.col-side{flex-direction:column;gap:16px;min-width:0;display:flex}.col-side{position:sticky;top:72px}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;display:grid}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px;display:grid}.fullscreen-center{justify-content:center;align-items:center;min-height:100vh;display:flex}.user-menu{position:relative}.user-btn{cursor:pointer;border-radius:var(--radius-sm);color:var(--text);font:inherit;background:0 0;border:0;align-items:center;gap:10px;padding:4px 6px;display:flex}.user-btn:hover{background:var(--surface-2)}.avatar{background:var(--accent-soft);width:32px;height:32px;color:var(--accent);border-radius:50%;justify-content:center;align-items:center;font-weight:600;display:inline-flex}.user-meta{flex-direction:column;align-items:flex-start;line-height:1.2;display:flex}.user-name{font-weight:600}.user-roles{color:var(--muted);font-size:12px}.user-dropdown,.bell-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-lg);z-index:50;position:absolute;top:calc(100% + 6px);right:0}.user-dropdown{flex-direction:column;gap:2px;min-width:240px;padding:8px;display:flex}.user-dropdown .muted{border-bottom:1px solid var(--border);margin-bottom:4px;padding:4px 8px 8px}.dropdown-item{text-align:left;border-radius:var(--radius-sm);color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;padding:8px;display:block}.dropdown-item:hover{background:var(--surface-2);text-decoration:none}.bell{position:relative}.bell-btn{width:38px;height:38px;position:relative}.bell-count{background:var(--danger);color:#fff;border-radius:9px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:600;display:flex;position:absolute;top:2px;right:0}.bell-panel{width:380px}.bell-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.bell-list{max-height:420px;overflow-y:auto}.bell-item{text-align:left;border:0;border-bottom:1px solid var(--border);cursor:pointer;width:100%;font:inherit;color:var(--text-2);background:0 0;flex-direction:column;gap:2px;padding:10px 14px;display:flex}.bell-item:hover{background:var(--surface-2)}.bell-item.unread{color:var(--text);background:var(--accent-soft)}.bell-item.unread .bell-title{font-weight:600}.bell-time{color:var(--muted);font-size:12px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.card-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:12px 16px;display:flex}.card-actions{align-items:center;gap:8px;display:flex}.card-body{flex-direction:column;gap:12px;padding:16px;display:flex}.btn{border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface);height:36px;color:var(--text);font:inherit;cursor:pointer;white-space:nowrap;justify-content:center;align-items:center;gap:6px;padding:0 14px;font-weight:500;transition:background .12s,border-color .12s;display:inline-flex;text-decoration:none!important}.btn:hover:not(:disabled){background:var(--surface-2);border-color:#b9c0cb}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-sm{height:30px;padding:0 10px;font-size:13px}.btn-primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn-primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.btn-success{background:var(--success);border-color:var(--success);color:#fff}.btn-success:hover:not(:disabled){background:#146b3f;border-color:#146b3f}.btn-danger{background:var(--surface);color:var(--danger);border-color:#e9b4b1}.btn-danger:hover:not(:disabled){background:var(--danger-soft);border-color:var(--danger)}.modal-footer .btn-danger,.btn-danger.solid{background:var(--danger);color:#fff;border-color:var(--danger)}.btn-ghost{color:var(--text-2);background:0 0;border-color:#0000}.btn-ghost:hover:not(:disabled){background:var(--surface-2);border-color:#0000}.btn-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.icon-btn{border-radius:var(--radius-sm);cursor:pointer;width:30px;height:30px;color:var(--text-2);background:0 0;border:0;justify-content:center;align-items:center;font-size:18px;line-height:1;display:inline-flex;text-decoration:none!important}.icon-btn:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.icon-btn:disabled{opacity:.35;cursor:default}.icon-btn.danger:hover{color:var(--danger)}.link-btn{font:inherit;color:var(--accent);cursor:pointer;text-align:left;background:0 0;border:0;padding:0}.link-btn:hover{text-decoration:underline}.mini-btn{border:1px solid var(--border-strong);background:var(--surface);cursor:pointer;border-radius:4px;height:24px;padding:0 8px;font-size:12px}.row-actions{flex-wrap:nowrap;justify-content:flex-end;gap:2px;display:flex}.badge{white-space:nowrap;vertical-align:middle;border-radius:11px;align-items:center;gap:4px;height:22px;margin-right:4px;padding:0 8px;font-size:12px;font-weight:500;display:inline-flex}.badge-neutral{color:#3c4454;background:#eceef2}.badge-muted{color:var(--muted);background:#f0f1f4}.badge-info{background:var(--info-soft);color:var(--info)}.badge-success{background:var(--success-soft);color:var(--success)}.badge-warning{background:var(--warning-soft);color:var(--warning)}.badge-danger{background:var(--danger-soft);color:var(--danger)}.badge-accent{background:var(--accent-soft);color:var(--accent)}.alert{border-radius:var(--radius-sm);border:1px solid;flex-direction:column;gap:6px;padding:10px 14px;font-size:13.5px;display:flex}.alert:has(>button){flex-direction:row;justify-content:space-between;align-items:center}.alert-info{background:var(--info-soft);color:#0a4f78;border-color:#b9dcf0}.alert-success{background:var(--success-soft);color:#11603a;border-color:#b5dfc6}.alert-warning{background:var(--warning-soft);color:#7a4d00;border-color:#f0d79c}.alert-danger{background:var(--danger-soft);color:#9b2420;border-color:#f3c0bd}.loading{color:var(--muted);align-items:center;gap:10px;padding:24px;display:flex}.spinner{border:2px solid var(--border-strong);border-top-color:var(--accent);border-radius:50%;flex-shrink:0;width:16px;height:16px;animation:.7s linear infinite spin;display:inline-block}.spinner-inline{border-color:currentColor #fff6 #fff6;width:13px;height:13px}@keyframes spin{to{transform:rotate(360deg)}}.empty{text-align:center;color:var(--muted);padding:32px 16px}.empty.small{padding:16px}.field{flex-direction:column;gap:5px;min-width:0;display:flex}.field>label{color:var(--text-2);font-size:13px;font-weight:500}.req{color:var(--danger)}.field-msg{color:var(--muted);font-size:12px}.field-msg.error{color:var(--danger)}.input{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);width:100%;height:36px;color:var(--text);font:inherit;padding:0 10px}textarea.input{resize:vertical;height:auto;padding:8px 10px;line-height:1.45}select.input{padding-right:28px}.input:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px #1f6feb26}.input:disabled{background:var(--surface-2);color:var(--muted)}.input[aria-invalid=true],.field-error .input{border-color:var(--danger)}.input.num{text-align:right}.form-stack{flex-direction:column;gap:14px;display:flex}.radio-group{flex-wrap:wrap;align-items:center;gap:16px;min-height:36px;display:flex}.radio-group label,.checkbox{cursor:pointer;align-items:center;gap:6px;display:inline-flex}.checkbox.block{border:1px solid var(--border);border-radius:var(--radius-sm);align-items:flex-start;padding:8px 10px;display:flex}.checkbox.block input{margin-top:3px}.role-checks{flex-direction:column;gap:8px;display:flex}.with-swatch{align-items:center;gap:8px;display:flex}.swatch{border:1px solid var(--border-strong);border-radius:50%;flex-shrink:0;width:24px;height:24px;display:inline-block}.color-field{align-items:center;gap:8px;display:flex}.color-field input[type=color]{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;width:44px;height:36px;padding:2px}.inline-label{color:var(--text-2);align-items:center;gap:6px;display:inline-flex}.inline-label .input{width:auto}.inline-form{align-items:center;gap:6px;display:inline-flex}.inline-form .input{width:auto;min-width:160px}.sticky-actions{z-index:5;border:1px solid var(--border);border-radius:var(--radius);background:#fffffff5;align-items:center;gap:8px;padding:12px 16px;display:flex;position:sticky;bottom:0;box-shadow:0 -4px 16px #1018280f}.filters{align-items:center;gap:8px;display:flex}.filters.wrap{flex-wrap:wrap}.filters .input{width:auto;min-width:170px}.filters .search{min-width:300px}.filters.tight{flex-wrap:wrap;gap:8px}.chip{background:var(--accent-soft);height:32px;color:var(--accent);border-radius:16px;align-items:center;gap:6px;padding:0 6px 0 12px;font-size:13px;display:inline-flex}.chip button{color:inherit;cursor:pointer;background:0 0;border:0;font-size:16px}.chip-link{border:1px solid var(--border);background:var(--surface);border-radius:14px;align-items:center;gap:4px;padding:2px 6px;display:inline-flex}.table{border-collapse:collapse;width:100%}.table th{text-align:left;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--border);background:var(--surface-2);white-space:nowrap;padding:10px 12px;font-size:12px;font-weight:600}.table th.num{text-align:right}.table th.center{text-align:center}.table td{border-bottom:1px solid var(--border);vertical-align:middle;padding:10px 12px}.table tbody tr:last-child td{border-bottom:0}.table.inner td{padding:6px 10px}.row-link{cursor:pointer}.row-link:hover td{background:#f7f9fd}.row-overdue td{background:#fff5f4}.row-overdue td:first-child{box-shadow:inset 3px 0 0 var(--danger)}.row-overdue:hover td{background:#fdeceb}.row-inactive td{color:var(--muted)}.row-inactive img{opacity:.5}.sub-row>td{background:var(--surface-2)}.sub-table-head{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.wide-cell{max-width:460px}.ellipsis-cell{text-overflow:ellipsis;white-space:nowrap;max-width:380px;overflow:hidden}.thumb{object-fit:cover;background:var(--surface-2);border-radius:4px;width:72px;height:48px;display:block}.thumb-empty{color:var(--muted);border:1px dashed var(--border-strong);justify-content:center;align-items:center;display:flex}.logo-btn{border:1px dashed var(--border-strong);background:var(--surface);cursor:pointer;border-radius:4px;justify-content:center;align-items:center;width:48px;height:36px;padding:2px;display:flex}.logo-btn img{object-fit:contain;max-height:100%}.pagination{border-top:1px solid var(--border);justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.pagination-buttons{align-items:center;gap:10px;display:flex}.deflist{flex-direction:column;gap:8px;margin:0;display:flex}.deflist>div{grid-template-columns:110px 1fr;gap:8px;display:grid}.deflist dt{color:var(--muted)}.deflist dd{overflow-wrap:anywhere;min-width:0;margin:0}.deflist.compact>div{grid-template-columns:100px 1fr}.changes{border-collapse:collapse;margin-top:4px;font-size:12.5px}.changes th{text-align:left;color:var(--muted);vertical-align:top;white-space:nowrap;padding:2px 10px 2px 0;font-weight:500}.changes td{overflow-wrap:anywhere;padding:2px 0}.changes .old{color:var(--muted);text-decoration:line-through}.changes .new{color:var(--text);font-weight:500}.tabs{border-bottom:1px solid var(--border);gap:4px;display:flex}.tab{font:inherit;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;margin-bottom:-1px;padding:10px 14px}.tab:hover{color:var(--text)}.tab.active{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}.modal{box-shadow:var(--shadow-lg);max-width:calc(100vw - 48px);max-height:calc(100vh - 48px);color:var(--text);border:0;border-radius:10px;padding:0}.modal::backdrop{background:#0f141e73}.modal-inner{flex-direction:column;max-height:calc(100vh - 48px);display:flex}.modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:14px 18px;display:flex}.modal-header h2{font-size:16px}.modal-body{flex-direction:column;gap:12px;padding:18px;display:flex;overflow-y:auto}.modal-footer{border-top:1px solid var(--border);background:var(--surface-2);border-radius:0 0 10px 10px;justify-content:flex-end;gap:8px;padding:12px 18px;display:flex}.toasts{z-index:1000;flex-direction:column;gap:8px;width:380px;display:flex;position:fixed;bottom:20px;right:20px}.toast{border-radius:var(--radius);color:#fff;box-shadow:var(--shadow-lg);background:#1d2534;align-items:flex-start;gap:8px;padding:12px 12px 12px 16px;animation:.18s ease-out toast-in;display:flex}.toast span:first-child{flex:1}.toast .icon-btn{color:#aab3c4;width:24px;height:24px}.toast-success{border-left:4px solid #3fb950}.toast-error{border-left:4px solid #f85149}.toast-info{border-left:4px solid #58a6ff}.toast-link{cursor:pointer;text-underline-offset:2px;text-decoration:underline}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}}.progress{flex-direction:column;gap:4px;display:flex}.progress-track{background:var(--surface-2);border:1px solid var(--border);border-radius:4px;height:8px;overflow:hidden}.progress-fill{background:var(--accent);height:100%;transition:width .2s}.progress-label{color:var(--muted);font-size:12px}.auth-shell{background:linear-gradient(180deg, var(--sidebar) 0 38%, var(--bg) 38%);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.auth-card{background:var(--surface);width:420px;box-shadow:var(--shadow-lg);border-radius:12px;flex-direction:column;gap:16px;padding:32px;display:flex}.auth-card h1{font-size:20px}.auth-brand{align-items:center;gap:12px;display:flex}.auth-brand-name{letter-spacing:.1em;font-weight:700}.auth-links{justify-content:space-between;font-size:13px;display:flex}body:has(.auth-shell){min-width:0}.counter-groups{grid-template-columns:3fr 3fr 2fr;gap:16px;display:grid}.counters{gap:12px;display:flex}.counter{border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid var(--border);color:var(--text);flex:1;padding:12px;text-decoration:none!important}.counter.clickable:hover{border-color:var(--accent);background:var(--accent-soft)}.counter-value{font-variant-numeric:tabular-nums;font-size:28px;font-weight:700;line-height:1.1}.counter-value.tone-danger{color:var(--danger)}.counter-value.tone-accent{color:var(--accent)}.counter-label{color:var(--muted);margin-top:2px;font-size:13px}.status-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:640px;display:flex}.checklist{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.checklist li{align-items:center;gap:8px;display:flex}.check-ko{color:var(--danger);width:14px;font-weight:700}.dropzone{border:2px dashed var(--border-strong);border-radius:var(--radius);text-align:center;cursor:pointer;color:var(--text-2);background:var(--surface-2);flex-direction:column;align-items:center;gap:4px;padding:22px;display:flex}.dropzone:hover,.dropzone.over{border-color:var(--accent);background:var(--accent-soft)}.dropzone.disabled{cursor:not-allowed;opacity:.6}.dropzone-icon{color:var(--accent);font-size:24px}.photo-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;display:grid}.photo-tile{border-radius:var(--radius-sm);border:2px solid var(--border);background:var(--surface-2);cursor:grab;aspect-ratio:4/3;position:relative;overflow:hidden}.photo-tile.main{border-color:var(--accent)}.photo-tile.dragging{opacity:.4}.photo-tile img{object-fit:cover;pointer-events:none;width:100%;height:100%;display:block}.photo-pos{color:#fff;background:#0009;border-radius:10px;padding:1px 7px;font-size:12px;position:absolute;top:6px;left:6px}.photo-main-badge{background:var(--accent);color:#fff;border-radius:10px;padding:2px 8px;font-size:11.5px;position:absolute;top:6px;right:6px}.photo-actions{opacity:0;background:#ffffffeb;justify-content:space-between;align-items:center;gap:2px;padding:4px;transition:opacity .15s;display:flex;position:absolute;bottom:0;left:0;right:0}.photo-tile:hover .photo-actions,.photo-tile:focus-within .photo-actions{opacity:1}.photo-actions .icon-btn{width:26px;height:26px;font-size:16px}.subhead{margin:8px 0 4px;font-size:14px}.spin{flex-direction:column;gap:8px;display:flex}.spin-stage{border-radius:var(--radius-sm);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:#f1f2f5;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.spin-stage:active{cursor:grabbing}.spin-stage img{object-fit:contain;pointer-events:none;max-width:100%;max-height:100%}.spin-loading{color:#fff;background:#0009;border-radius:10px;padding:3px 8px;font-size:12px;position:absolute;top:10px;left:10px}.spin-hint{color:#fff;background:#0000008c;border-radius:10px;padding:3px 10px;font-size:12px;position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.spin-controls{align-items:center;gap:10px;display:flex}.spin-controls input{flex:1}.spin-summary{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.spin-strip{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:8px;max-height:340px;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.spin-strip li{flex-direction:column;gap:3px;display:flex}.spin-strip img{aspect-ratio:4/3;object-fit:cover;background:var(--surface-2);border-radius:4px;width:100%}.spin-strip span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.timeline{margin:0;padding:0;list-style:none}.timeline li{border-bottom:1px solid var(--border);padding:12px 16px}.timeline li:last-child{border-bottom:0}.timeline.compact li{padding:10px 14px}.timeline-head{margin-bottom:2px}.status-current{margin-bottom:4px}.quotation{border:1px solid var(--border);border-radius:var(--radius-sm);flex-direction:column;gap:8px;padding:12px 14px;display:flex}.quotation.latest{background:#fafcff;border-color:#b9cff6}.quotation.old{opacity:.85}.quotation-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.quotation-total{border-top:1px solid var(--border);justify-content:space-between;padding-top:6px;font-size:15px;display:flex}.quotation-conditions{color:var(--text-2);background:var(--surface-2);border-radius:4px;padding:8px 10px;font-size:13px}.lines{border-collapse:collapse;width:100%}.lines td{border-bottom:1px dashed var(--border);padding:4px 0}.lines-edit{border-collapse:collapse;width:100%}.lines-edit th{text-align:left;color:var(--muted);padding:4px;font-size:12px;font-weight:600}.lines-edit th.num{text-align:right}.lines-edit td{padding:4px}.lines-edit td:nth-child(2){width:180px}.lines-edit td:nth-child(3){width:36px}.quotation-editor{border:1px solid var(--accent);border-radius:var(--radius);background:#fbfdff;flex-direction:column;gap:10px;padding:14px;display:flex}.total-box{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);align-items:center;height:36px;padding:0 10px;font-size:15px;font-weight:700;display:flex}.notes{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.notes li{border-radius:var(--radius-sm);background:#fffbea;border:1px solid #f2e6b3;padding:8px 10px}.note-form{flex-direction:column;gap:6px;display:flex}.messenger{grid-template-columns:380px minmax(0,1fr);height:100%;display:grid}.conv-list{border-right:1px solid var(--border);background:var(--surface);flex-direction:column;min-height:0;display:flex}.conv-list-head{border-bottom:1px solid var(--border);flex-direction:column;gap:10px;padding:16px;display:flex}.conv-list-head .search{width:100%}.conv-list-head .filters .input{flex:1;min-width:0}.conv-items{flex:1;overflow-y:auto}.conv-item{border:0;border-bottom:1px solid var(--border);text-align:left;width:100%;font:inherit;color:var(--text);cursor:pointer;background:0 0;gap:10px;padding:12px 14px;display:flex}.conv-item:hover{background:var(--surface-2)}.conv-item.active{background:var(--accent-soft)}.conv-item.overdue{box-shadow:inset 3px 0 0 var(--danger)}.conv-thumb{object-fit:cover;background:var(--surface-2);border-radius:4px;flex-shrink:0;width:52px;height:40px}.conv-body{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.conv-row{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.conv-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.thread-pane{background:var(--bg);flex-direction:column;min-width:0;min-height:0;display:flex}.thread-empty{color:var(--muted);margin:auto}.thread{flex-direction:column;height:100%;min-height:0;display:flex}.thread-head{background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:12px 20px;display:flex}.thread-vehicle{color:var(--text);border-radius:var(--radius-sm);border:1px solid var(--border);align-items:center;gap:10px;padding:4px 8px;display:flex}.thread-vehicle:hover{border-color:var(--accent);text-decoration:none}.thread-vehicle img{object-fit:cover;border-radius:4px;width:64px;height:44px}.thread-meta{background:var(--surface);border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:10px;padding:8px 20px;font-size:13px;display:flex}.thread-messages{flex-direction:column;flex:1;gap:8px;padding:16px 20px;display:flex;overflow-y:auto}.day-sep{text-align:center;margin:10px 0}.day-sep span{color:var(--muted);background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:2px 10px;font-size:12px}.msg{display:flex}.msg-in{justify-content:flex-start}.msg-out{justify-content:flex-end}.msg-bubble{background:var(--surface);border:1px solid var(--border);border-radius:12px;max-width:68%;padding:8px 12px}.msg-out .msg-bubble{background:#e6efff;border-color:#c8daf9}.msg-author{color:var(--text-2);margin-bottom:2px;font-size:12px;font-weight:600}.msg-time{color:var(--muted);text-align:right;margin-top:4px;font-size:11px}.msg-card{background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--accent);border-radius:var(--radius-sm);flex-direction:column;align-self:center;gap:6px;width:min(560px,90%);padding:10px 14px;display:flex}.msg-card.quotation-card{border-left-color:var(--success)}.msg-card-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.msg-system{color:var(--text-2);background:#eceef2;border-radius:12px;align-self:center;padding:4px 12px;font-size:12.5px}.thread-reply{background:var(--surface);border-top:1px solid var(--border);flex-direction:column;gap:6px;padding:12px 20px;display:flex}.reply-actions{justify-content:space-between;align-items:center;display:flex}.avatar-lg{object-fit:cover;border-radius:50%;width:72px;height:72px}.stars{color:#e3a008;letter-spacing:1px;white-space:nowrap}.stars-off{color:#d5d9e0}.model3d-viewer{background:radial-gradient(circle at 50% 40%,#f7f8fa,#e4e7ec);border-radius:8px;width:100%;height:440px;margin-bottom:12px;display:block}.model3d-loading{color:var(--muted,#6b7280);justify-content:center;align-items:center;display:flex}.model3d-usdz{border-top:1px solid var(--border,#e5e7eb);margin-top:20px;padding-top:16px}
