:root{--bg:#0b1220;--surface:#fff;--surface-2:#f5f7fb;--border:#e4e8f0;--border-strong:#cdd5e3;--text:#0f172a;--muted:#6b7689;--primary:#2563eb;--primary-dark:#1d4ed8;--primary-soft:#eff6ff;--ring:#2563eb2e;--sidebar-bg:#0f172a;--sidebar-bg-end:#111c31;--sidebar-panel:#ffffff0f;--sidebar-panel-hover:#ffffff1a;--sidebar-border:#ffffff17;--sidebar-text:#d8e0ec;--sidebar-muted:#8f9bb0;--sidebar-active:#3b82f629;--sidebar-active-border:#60a5fa4d;--sidebar-active-text:#f8fbff;--scroll-thumb:#aeb8c8;--scroll-thumb-hover:#8794a8;--scroll-thumb-dark:#d8e0ec57;--success-bg:#ecfdf5;--success-border:#a7f3d0;--success-text:#065f46;--warning-bg:#fffbeb;--warning-border:#fde68a;--warning-text:#92400e;--error-bg:#fef2f2;--error-border:#fecaca;--error-text:#991b1b;--radius:16px;--radius-sm:10px;--shadow:0 1px 2px #0f172a0a, 0 12px 32px -12px #0f172a2e}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{color:var(--text);background:var(--surface-2);-webkit-font-smoothing:antialiased;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:15px}:where(.main,.nav,.select-panel,.vgrid-wrap){scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) transparent}.nav{scrollbar-color:var(--scroll-thumb-dark) transparent}:where(.main,.nav,.select-panel,.vgrid-wrap)::-webkit-scrollbar{width:10px;height:10px}:where(.main,.nav,.select-panel,.vgrid-wrap)::-webkit-scrollbar-track{background:0 0}:where(.main,.select-panel,.vgrid-wrap)::-webkit-scrollbar-thumb{background-color:var(--scroll-thumb);background-clip:content-box;border:3px solid #0000;border-radius:999px;min-height:42px}:where(.main,.select-panel,.vgrid-wrap)::-webkit-scrollbar-thumb:hover{background-color:var(--scroll-thumb-hover)}.nav::-webkit-scrollbar-thumb{background-color:var(--scroll-thumb-dark);background-clip:content-box;border:3px solid #0000;border-radius:999px;min-height:42px}h1,h2,h3{letter-spacing:-.012em;margin:0;font-weight:650}.muted{color:var(--muted);font-size:.9rem}.brand{align-items:center;gap:.85rem;margin-bottom:1.5rem;display:flex}.brand h1{font-size:1.25rem}.brand p{margin:.15rem 0 0}.brand-mark{background:linear-gradient(140deg, #3b82f6, var(--primary-dark));color:#fff;border-radius:12px;place-items:center;width:42px;height:42px;font-size:1.25rem;font-weight:800;display:grid;box-shadow:0 6px 16px -6px #2563ebb3}.brand-compact{margin-bottom:0}.brand-compact h1{color:#fff}.brand-copy{min-width:0}.brand-copy h1{font-size:1.02rem;line-height:1.2}.brand-copy span{color:var(--sidebar-muted);letter-spacing:.02em;margin-top:.18rem;font-size:.72rem;font-weight:500;display:block}.auth-screen{background:radial-gradient(1100px 560px at 50% -10%, #1e3a8a 0%, var(--bg) 60%);place-items:center;min-height:100%;padding:2rem;display:grid}.auth-card{width:100%;max-width:390px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.85rem}.field{flex-direction:column;gap:.4rem;margin-bottom:1.1rem;display:flex}.field span{color:#344256;letter-spacing:.01em;font-size:.8rem;font-weight:600}.field em{color:var(--muted);font-style:normal;font-weight:400}.field .req{color:#ef4444;margin-left:2px;font-style:normal}.hint{color:var(--muted);font-size:.78rem}input,select{border:1px solid var(--border);border-radius:var(--radius-sm);width:100%;height:44px;color:var(--text);background:#fff;padding:0 .85rem;font-size:.92rem;transition:border-color .15s,box-shadow .15s,background .15s}input::placeholder{color:#aab2c0}input:hover,select:hover{border-color:var(--border-strong)}input:focus,select:focus{border-color:var(--primary);box-shadow:0 0 0 4px var(--ring);outline:none}select{appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7689' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");background-position:right .8rem center;background-repeat:no-repeat;background-size:16px;padding-right:2.2rem}input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.55;transition:opacity .15s}input[type=date]:hover::-webkit-calendar-picker-indicator{opacity:.9}.btn{height:44px;font:inherit;border-radius:var(--radius-sm);cursor:pointer;border:1px solid #0000;justify-content:center;align-items:center;gap:.45rem;padding:0 1.25rem;font-size:.92rem;font-weight:600;text-decoration:none;transition:transform .12s,box-shadow .15s,background .15s,opacity .15s;display:inline-flex}.btn:disabled{opacity:.6;cursor:default}.btn-primary{color:#fff;background:linear-gradient(180deg, #3b82f6, var(--primary));width:100%;box-shadow:0 1px 2px #0f172a14,0 8px 18px -8px #2563ebcc}.btn-primary:hover:not(:disabled){background:linear-gradient(180deg, var(--primary), var(--primary-dark));transform:translateY(-1px)}.btn-primary:active:not(:disabled){transform:translateY(0)}.btn-ghost{border-color:var(--border);color:#344256;background:#fff;height:38px;padding:0 .9rem}.btn-ghost:hover{background:var(--surface-2);border-color:var(--border-strong)}.btn-sm{width:auto;height:36px;padding:0 .9rem;font-size:.85rem}.alert{border-radius:var(--radius-sm);border:1px solid #0000;margin-bottom:1.25rem;padding:.85rem 1rem;font-size:.9rem}.alert a:not(.btn){color:inherit;font-weight:600}.alert-success{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text);justify-content:space-between;align-items:center;gap:1rem;display:flex}.alert-warning{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}.alert-error{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.shell{grid-template-columns:284px minmax(0,1fr);height:100vh;display:grid;overflow:hidden}.sidebar{background:linear-gradient(180deg, var(--sidebar-bg), var(--sidebar-bg-end));border-right:1px solid var(--sidebar-border);min-width:0;color:var(--sidebar-text);flex-direction:column;padding:1rem .85rem .75rem;display:flex;overflow:hidden}.sidebar-header{justify-content:space-between;align-items:center;gap:.75rem;min-height:48px;margin:0 .4rem 1rem;display:flex}.icon-btn.sidebar-close{color:var(--sidebar-text);border-color:var(--sidebar-border);background:var(--sidebar-panel);display:none}.sidebar-search{flex:none;margin:0 .35rem .75rem;position:relative}.sidebar-search svg{color:var(--sidebar-muted);pointer-events:none;position:absolute;top:50%;left:.7rem;transform:translateY(-50%)}.sidebar-search input{border-radius:var(--radius-sm);border:1px solid var(--sidebar-border);background:var(--sidebar-panel);width:100%;height:40px;color:var(--sidebar-active-text);padding:0 .7rem 0 2.1rem;font-size:.88rem}.sidebar-search input::placeholder{color:var(--sidebar-muted)}.sidebar-search input:hover{border-color:var(--sidebar-active-border);background:var(--sidebar-panel-hover)}.sidebar-search input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--ring);background:var(--sidebar-panel-hover);outline:none}.nav-tabs{border:1px solid var(--sidebar-border);background:var(--sidebar-panel);border-radius:12px;grid-template-columns:1fr 1fr;gap:.3rem;margin:0 .35rem .85rem;padding:.28rem;display:grid}.nav-tab{min-width:0;height:36px;color:var(--sidebar-muted);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;gap:.4rem;padding:0 .5rem;font-size:.78rem;font-weight:650;transition:background .15s,color .15s,box-shadow .15s;display:inline-flex}.nav-tab:hover{color:var(--sidebar-active-text);background:var(--sidebar-panel-hover)}.nav-tab.active{background:var(--surface);color:var(--text);box-shadow:0 4px 14px #0000002e}.nav-count{background:var(--sidebar-panel-hover);border-radius:999px;justify-content:center;align-items:center;min-width:19px;height:19px;padding:0 5px;font-size:.66rem;font-weight:700;display:inline-flex}.nav-tab.active .nav-count{background:var(--surface-2);color:var(--muted)}.nav-count-loading{padding:0}.nav{overscroll-behavior:contain;flex-direction:column;flex:1;gap:.35rem;min-height:0;padding:.05rem .25rem 1rem;display:flex;overflow-y:auto}.nav-empty{color:var(--sidebar-muted);margin:0;padding:.7rem .75rem;font-size:.8rem;line-height:1.45}.nav-loading{border:1px solid var(--sidebar-border);border-radius:var(--radius-sm);background:var(--sidebar-panel);color:var(--sidebar-muted);align-items:center;gap:.6rem;margin:.35rem .25rem;padding:.75rem;font-size:.8rem;display:flex}.nav-group-block{margin-bottom:.15rem}.nav-group{width:100%;min-height:34px;color:var(--sidebar-muted);font:inherit;letter-spacing:.075em;text-align:left;text-transform:uppercase;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:.45rem;padding:.42rem .55rem;font-size:.67rem;font-weight:700;display:flex}.nav-group:hover{color:var(--sidebar-text);background:var(--sidebar-panel)}.nav-group .nav-count{margin-left:auto}.nav-chevron{flex:none;transition:transform .15s}.nav-chevron.open{transform:rotate(90deg)}.nav-item{border-radius:var(--radius-sm);text-align:left;width:100%;min-height:40px;color:var(--sidebar-text);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;align-items:center;gap:.5rem;padding:.58rem .65rem .58rem 1.85rem;font-size:.86rem;font-weight:500;line-height:1.3;transition:background .12s,border-color .12s,color .12s;display:flex;position:relative}.nav-item:before{content:"";background:var(--sidebar-muted);opacity:.65;border-radius:50%;width:5px;height:5px;position:absolute;left:.78rem}.nav-item:hover{background:var(--sidebar-panel);color:var(--sidebar-active-text)}.nav-item.active{border-color:var(--sidebar-active-border);background:var(--sidebar-active);color:var(--sidebar-active-text);font-weight:650}.nav-item.active:before{background:var(--primary);opacity:1;border-radius:999px;width:3px;height:18px}.nav-item-overview{margin-bottom:.4rem;padding-left:.7rem;font-weight:650}.nav-item-overview:before{display:none}.nav-soon{background:var(--sidebar-panel-hover);color:var(--sidebar-muted);letter-spacing:.04em;text-transform:uppercase;border-radius:999px;flex:none;margin-left:auto;padding:.08rem .42rem;font-size:.6rem;font-weight:700}.content{background:var(--surface-2);flex-direction:column;min-width:0;display:flex;overflow:hidden}.topbar{background:var(--surface);border-bottom:1px solid var(--border);z-index:5;flex:none;justify-content:space-between;align-items:center;min-height:68px;padding:.7rem 2rem;display:flex;box-shadow:0 1px #0f172a05}.topbar-context{flex-direction:column;gap:.12rem;min-width:0;display:flex}.topbar-context span{color:var(--muted);letter-spacing:.07em;text-transform:uppercase;font-size:.7rem;font-weight:700}.topbar-context strong{text-overflow:ellipsis;white-space:nowrap;font-size:.94rem;font-weight:650;overflow:hidden}.user{align-items:center;gap:.85rem;font-size:.9rem;font-weight:600;display:flex}.main{overscroll-behavior:contain;flex:1;min-height:0;padding:2.1rem clamp(1.25rem,3vw,2.5rem) 3rem;overflow-y:auto}.page-state{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:min(100%,520px);box-shadow:var(--shadow);color:var(--primary);align-items:center;gap:.9rem;margin:4rem auto;padding:1rem 1.15rem;display:flex}.page-state div{min-width:0;color:var(--text);flex-direction:column;gap:.18rem;display:flex}.page-state span:last-child{color:var(--muted);font-size:.82rem}.report{max-width:820px;margin:0 auto}.report-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.5rem;display:flex}.report-header h2{font-size:1.55rem}.report-header p{margin:.3rem 0 0}.badge{letter-spacing:.05em;color:var(--primary-dark);background:#eaf1ff;border:1px solid #c9dbff;border-radius:999px;padding:.3rem .6rem;font-size:.68rem;font-weight:700}.report-form{padding:0}.form-section{padding:1.6rem 1.85rem}.form-section+.form-section{border-top:1px solid var(--border)}.section-head{margin-bottom:1.2rem}.section-head h3{font-size:1.02rem}.section-head p{color:var(--muted);margin:.3rem 0 0;font-size:.85rem;line-height:1.45}.grid{grid-template-columns:1fr 1fr;gap:1.1rem 1.4rem;display:grid}.grid .field{margin-bottom:0}.span-2{grid-column:1/-1}.form-footer{border-top:1px solid var(--border);background:var(--surface-2);border-radius:0 0 var(--radius) var(--radius);justify-content:space-between;align-items:center;gap:1rem;padding:1.25rem 1.85rem;display:flex}.form-footer .btn-primary{width:auto}.select,.datepicker{position:relative}.control{border:1px solid var(--border);border-radius:var(--radius-sm);width:100%;height:44px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:#fff;justify-content:space-between;align-items:center;gap:.5rem;padding:0 .85rem;font-size:.92rem;transition:border-color .15s,box-shadow .15s;display:flex}.control:hover{border-color:var(--border-strong)}.control:disabled{border-color:var(--border);background:var(--surface-2);color:var(--muted);cursor:not-allowed}.select.open .control,.datepicker.open .control{border-color:var(--primary);box-shadow:0 0 0 4px var(--ring);outline:none}.control .placeholder{color:#aab2c0}.control .chevron{color:var(--muted);flex:none;transition:transform .18s}.select.open .chevron{transform:rotate(180deg)}.select-loading-label{color:var(--muted);align-items:center;gap:.55rem;display:inline-flex}.dp-trigger svg{color:var(--muted);flex:none}.popover{z-index:40;border:1px solid var(--border);background:#fff;border-radius:12px;animation:.12s ease-out popover-in;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 12px 32px -10px #0f172a47,0 2px 6px #0f172a0f}@keyframes popover-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}.select-panel{max-height:264px;margin:0;padding:6px;list-style:none;right:0;overflow-y:auto}.select-search{z-index:2;background:var(--surface);padding:0 0 6px;position:sticky;top:0}.select-search-control{color:var(--muted);position:relative}.select-search-control svg{z-index:1;pointer-events:none;position:absolute;top:50%;left:.7rem;transform:translateY(-50%)}.select-search-input{background:var(--surface-2);border-radius:8px;height:38px;padding:0 .7rem 0 2rem;font-size:.84rem}.select-search-input:focus{background:var(--surface);box-shadow:0 0 0 3px var(--ring)}.select-options{margin:0;padding:0;list-style:none}.select-option{cursor:pointer;border-radius:8px;justify-content:space-between;align-items:center;gap:.5rem;padding:.55rem .65rem;font-size:.9rem;display:flex}.select-option:hover{background:var(--surface-2)}.select-option.selected{color:var(--primary-dark);background:#eef4ff;font-weight:600}.select-option svg{color:var(--primary);flex:none}.select-empty{color:var(--muted);text-align:center;padding:.7rem .65rem;font-size:.84rem}.spinner{border:2px solid;border-right-color:#0000;border-radius:50%;flex:none;width:20px;height:20px;animation:.75s linear infinite spin;display:inline-block}.spinner-sm{width:15px;height:15px}.spinner-xs{border-width:1.5px;width:11px;height:11px}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spinner{animation-duration:1.5s}}.dp-popover{width:282px;padding:12px}.dp-head{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.dp-title{font-size:.92rem;font-weight:600}.dp-nav{border:1px solid var(--border);cursor:pointer;color:#475569;background:#fff;border-radius:8px;width:30px;height:30px;font-size:1.15rem;line-height:1;transition:background .12s,border-color .12s}.dp-nav:hover{background:var(--surface-2);border-color:var(--border-strong)}.dp-weekdays,.dp-days{grid-template-columns:repeat(7,1fr);display:grid}.dp-weekdays{margin-bottom:4px}.dp-weekdays span{text-align:center;color:var(--muted);padding:4px 0;font-size:.7rem;font-weight:600}.dp-days{gap:2px}.dp-days>span{aspect-ratio:1}.dp-day{aspect-ratio:1;cursor:pointer;color:var(--text);background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;font-size:.85rem;transition:background .12s,color .12s;display:flex}.dp-day:hover{background:var(--surface-2)}.dp-day.today{box-shadow:inset 0 0 0 1px var(--border-strong);font-weight:600}.dp-day.selected{background:var(--primary);color:#fff;font-weight:600}.dp-day.selected:hover{background:var(--primary-dark)}.dp-foot{border-top:1px solid var(--border);justify-content:space-between;margin-top:8px;padding-top:8px;display:flex}.dp-link{cursor:pointer;color:var(--primary);background:0 0;border:none;border-radius:6px;padding:4px 6px;font-size:.82rem;font-weight:600}.dp-link:hover{background:var(--surface-2)}.avatar{background:linear-gradient(140deg, #3b82f6, var(--primary-dark));color:#fff;border-radius:50%;place-items:center;width:32px;height:32px;font-size:.78rem;font-weight:700;display:grid}.user-name{color:#334256;font-size:.9rem;font-weight:600}.icon-btn{border:1px solid var(--border);color:#475569;cursor:pointer;background:#fff;border-radius:9px;justify-content:center;align-items:center;width:36px;height:36px;transition:background .12s,border-color .12s,color .12s;display:inline-flex}.icon-btn:hover{background:var(--surface-2);border-color:var(--border-strong);color:var(--text)}.alert-actions{flex:none;gap:.5rem;display:flex}.modal-overlay{z-index:100;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a8c;justify-content:center;align-items:center;padding:2rem;animation:.12s ease-out overlay-in;display:flex;position:fixed;inset:0}@keyframes overlay-in{0%{opacity:0}to{opacity:1}}.modal-card{background:#fff;border-radius:16px;flex-direction:column;width:min(940px,100%);max-height:90vh;animation:.14s ease-out popover-in;display:flex;overflow:hidden;box-shadow:0 24px 60px -16px #0f172a80}.modal-card-compact{width:min(520px,100%)}.modal-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:.9rem 1.1rem;display:flex}.modal-head h3{font-size:1rem}.modal-body{background:var(--surface-2);flex:1;min-height:0}.modal-card-compact .modal-head{padding:1rem 1.25rem}.modal-card-compact .modal-head h3{font-size:1.08rem}.modal-card-compact .modal-body{background:var(--surface);padding:1.25rem}.confirm-summary{align-items:flex-start;gap:.85rem;margin:0;padding:1rem;line-height:1.45;display:flex}.confirm-summary-icon{border:1px solid var(--warning-border);background:var(--surface);border-radius:50%;flex:0 0 36px;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.confirm-summary strong{margin:.05rem 0 .25rem;font-size:.95rem;display:block}.confirm-summary p{color:var(--warning-text);margin:0;font-size:.85rem}.pdf-frame{border:0;width:100%;height:76vh;display:block}.topbar-left{align-items:center;gap:.75rem;min-width:0;display:flex}.menu-btn,.sidebar-backdrop{display:none}@media (width<=860px){.shell{grid-template-columns:1fr}.sidebar{z-index:200;width:min(300px,100vw - 36px);transition:transform .22s;position:fixed;top:0;bottom:0;left:0;transform:translate(-100%);box-shadow:0 0 48px #00000073}.sidebar.open{transform:translate(0)}.icon-btn.sidebar-close{display:inline-flex}.sidebar-backdrop{z-index:150;background:#0f172a80;animation:.12s ease-out overlay-in;display:block;position:fixed;inset:0}.menu-btn{display:inline-flex}.main{padding:1.25rem 1rem}.report-header h2{font-size:1.3rem}}@media (width<=600px){.grid{grid-template-columns:1fr}.form-section{padding:1.25rem 1.1rem}.form-footer{flex-direction:column;align-items:stretch;padding:1.1rem}.form-footer .btn-primary{width:100%}.topbar{padding:.85rem 1rem}.topbar-context span,.user-name{display:none}.alert-success{flex-direction:column;align-items:stretch}.alert-actions{width:100%}.alert-actions .btn{flex:1}.modal-overlay{padding:.75rem}.pdf-frame{height:72vh}}:root{--info-bg:#eff6ff;--info-border:#bfdbfe;--info-text:#1e40af}.nav-section{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:.9rem .75rem .35rem;font-size:.68rem;font-weight:700}.nav-item-muted{opacity:.55}.imports-overview,.import-screen{max-width:1100px}.import-category{margin-bottom:1.6rem}.import-category-title{color:var(--text);align-items:center;gap:.5rem;margin:0 0 .75rem;font-size:1rem;display:flex}.import-category-icon{border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid var(--border);width:34px;height:34px;color:var(--primary);justify-content:center;align-items:center;display:inline-flex}.import-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;display:grid}.import-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;gap:.55rem;padding:1.1rem 1.2rem;display:flex}.import-card-disabled{opacity:.72}.import-card-head{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.import-card-head h4{margin:0;font-size:.98rem}.import-card-desc{flex:1;margin:0;font-size:.85rem;line-height:1.45}.import-card-reason{color:var(--warning-text);background:var(--warning-bg);border:1px solid var(--warning-border);border-radius:var(--radius-sm);margin:0;padding:.45rem .6rem;font-size:.8rem}.import-card-meta{flex-wrap:wrap;gap:.4rem;display:flex}.import-card-actions{justify-content:flex-end;gap:.5rem;margin-top:.2rem;display:flex}.import-card-actions .btn{align-items:center;gap:.35rem;display:inline-flex}.badge-soon{background:var(--warning-bg);border:1px solid var(--warning-border);color:var(--warning-text)}.chip{background:var(--surface-2);border:1px solid var(--border);color:var(--muted);border-radius:999px;align-items:center;gap:.3rem;padding:.22rem .6rem;font-size:.75rem;font-weight:600;display:inline-flex}.chip-success{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}.chip-warning{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}.chip-error{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.outcome-inserted,.outcome-updated{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}.outcome-skipped{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}.outcome-failed{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.steps{flex-wrap:wrap;align-items:center;gap:.4rem;margin:0 0 1.1rem;display:flex}.step{border:1px solid var(--border);background:var(--surface);color:var(--muted);border-radius:999px;align-items:center;gap:.45rem;padding:.35rem .8rem .35rem .4rem;font-size:.8rem;font-weight:600;display:inline-flex}.step-dot{background:var(--surface-2);border:1px solid var(--border-strong);border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;font-size:.72rem;display:inline-flex}.step.active{border-color:var(--primary);color:var(--primary-dark);box-shadow:0 0 0 3px var(--ring)}.step.active .step-dot{background:var(--primary);border-color:var(--primary);color:#fff}.step.done{color:var(--success-text);border-color:var(--success-border)}.step.done .step-dot{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}.import-section{margin-bottom:1.1rem}.dropzone{border:2px dashed var(--border-strong);border-radius:var(--radius);background:var(--surface-2);color:var(--muted);text-align:center;cursor:pointer;flex-direction:column;align-items:center;gap:.5rem;padding:2.2rem 1.4rem;transition:border-color .15s,background .15s;display:flex}.dropzone:hover{border-color:var(--primary)}.dropzone-over{border-color:var(--primary);background:#eef4ff}.dropzone-disabled{cursor:not-allowed;opacity:.6}.dropzone-disabled:hover{border-color:var(--border-strong)}.dropzone-title{color:var(--text);margin:0;font-weight:600}.dropzone-hint{margin:0;font-size:.8rem}.upload-summary{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.import-sample-row{margin-top:.85rem}.import-summary{flex-wrap:wrap;align-items:center;gap:.45rem;margin-bottom:.9rem;display:flex}.review-filter{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.9rem;padding:.7rem .8rem;display:flex}.review-filter-copy{flex-direction:column;gap:.18rem;min-width:0;display:flex}.review-filter-copy strong{font-size:.82rem}.review-filter-copy span{color:var(--muted);font-size:.8rem}.review-filter-actions{flex:none;align-items:center;gap:.5rem;display:flex}.review-filter-actions .btn{white-space:nowrap}.filter-segmented{border:1px solid var(--border);background:var(--surface);border-radius:9px;flex:none;gap:.2rem;padding:.2rem;display:inline-flex}.filter-choice{min-height:32px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:.4rem;padding:.35rem .65rem;font-size:.78rem;font-weight:650;display:inline-flex}.filter-choice:hover{color:var(--text);background:var(--surface-2)}.filter-choice.active{border-color:var(--info-border);background:var(--primary-soft);color:var(--primary-dark)}.filter-count{background:var(--surface);border-radius:999px;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 .35rem;font-size:.68rem;display:inline-flex}.vgrid-wrap{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);max-height:58vh;overflow:auto}.vgrid{border-collapse:separate;border-spacing:0;width:100%;font-size:.82rem}.vgrid th,.vgrid td{border-bottom:1px solid var(--border);border-right:1px solid var(--border);white-space:nowrap;text-align:left;padding:.5rem .65rem}.vgrid th:last-child,.vgrid td:last-child{border-right:none}.vgrid thead th{z-index:1;background:var(--surface-2);letter-spacing:.02em;color:#344256;font-size:.74rem;font-weight:700;position:sticky;top:0}.vgrid tbody tr{cursor:pointer}.vgrid-row-active td{background:#eef4ff!important}.vgrid-rownum{color:var(--muted);font-variant-numeric:tabular-nums;width:1%}.vgrid-status{text-align:center;width:1%;font-weight:700}.status-ok{color:var(--success-text)}.status-error{color:var(--error-text)}.status-warning{color:var(--warning-text)}.status-info{color:var(--info-text)}.status-pending{color:var(--primary)}.vgrid-actions{width:1%;text-align:center!important}.vgrid-actions-group{justify-content:center;align-items:center;gap:.3rem;display:flex}.btn.vgrid-action{border-radius:7px;gap:.3rem;width:auto;height:30px;padding:0 .5rem;font-size:.72rem}.btn.vgrid-action-duplicate{border-color:var(--info-border);background:var(--primary-soft);color:var(--primary-dark)}.btn.vgrid-action-duplicate:hover{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-dark)}.btn.vgrid-action-remove{border-color:var(--error-border);color:var(--error-text)}.btn.vgrid-action-remove:hover{border-color:var(--error-border);background:var(--error-bg);color:var(--error-text)}.btn.vgrid-action:disabled{cursor:not-allowed;opacity:.5}.cell-error{box-shadow:inset 0 0 0 1px var(--error-border);color:var(--error-text);background:var(--error-bg)!important}.cell-warning{box-shadow:inset 0 0 0 1px var(--warning-border);color:var(--warning-text);background:var(--warning-bg)!important}.cell-info{box-shadow:inset 0 0 0 1px var(--info-border);color:var(--info-text);background:var(--info-bg)!important}.cell-pending{box-shadow:inset 0 0 0 1px var(--primary);color:var(--primary-dark);background:var(--primary-soft)!important}.vgrid td:has(.vgrid-input){min-width:150px;padding:3px}.vgrid-input{min-width:140px;height:34px;color:inherit;cursor:text;background:0 0;border-color:#0000;border-radius:7px;padding:0 .55rem;font-size:.82rem}.vgrid-input:hover{border-color:var(--border-strong);background:var(--surface)}.vgrid-input:focus{border-color:var(--primary);background:var(--surface);box-shadow:0 0 0 3px var(--ring)}.vgrid-input:disabled{cursor:wait;opacity:.65}.cell-error .vgrid-input{border-color:var(--error-border);background:var(--error-bg);color:var(--error-text)}.cell-warning .vgrid-input{border-color:var(--warning-border);background:var(--warning-bg);color:var(--warning-text)}.cell-info .vgrid-input{border-color:var(--info-border);background:var(--info-bg);color:var(--info-text)}.cell-pending .vgrid-input{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-dark)}.row-detail{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);margin-top:.9rem;padding:.85rem 1rem}.row-detail h4{margin:0 0 .5rem;font-size:.85rem}.row-detail ul{flex-direction:column;gap:.3rem;margin:0;padding-left:1.1rem;font-size:.82rem;display:flex}.row-detail-error{color:var(--error-text)}.row-detail-warning{color:var(--warning-text)}.row-detail-info{color:var(--info-text)}.modal-actions{justify-content:flex-end;gap:.6rem;margin-top:1.25rem;display:flex}.modal-actions .btn{white-space:nowrap;width:auto;height:44px}.modal-actions .btn-primary{min-width:180px}@media (width<=600px){.import-card-actions{flex-direction:column}.import-card-actions .btn{justify-content:center;width:100%}.review-filter,.review-filter-actions{flex-direction:column;align-items:stretch}.review-filter-actions .btn,.filter-segmented{width:100%}.filter-choice{flex:1}.modal-card-compact .modal-head,.modal-card-compact .modal-body{padding:1rem}.modal-actions{flex-direction:column-reverse;align-items:stretch}.modal-actions .btn{width:100%}.vgrid-wrap{max-height:48vh}}.import-card{transition:box-shadow .15s,transform .15s,border-color .15s}.import-card:not(.import-card-disabled):hover{border-color:var(--border-strong);transform:translateY(-2px);box-shadow:0 2px 4px #0f172a0d,0 18px 38px -14px #0f172a40}.dropzone svg{background:var(--surface);border:1px solid var(--border);width:56px;height:56px;color:var(--primary);box-sizing:border-box;border-radius:50%;padding:.65rem;display:inline-flex}.steps{gap:0}.step{z-index:0;position:relative}.step+.step{margin-left:1.4rem}.step+.step:before{content:"";background:var(--border-strong);width:1.4rem;height:2px;position:absolute;top:50%;right:100%}.step.done+.step:before,.step.active+.step:before{background:var(--primary);opacity:.5}.vgrid tbody tr:nth-child(2n) td{background:#fafbfd}.vgrid tbody tr:hover td{background:var(--surface-2)}.grid-legend{color:var(--muted);flex-wrap:wrap;gap:.4rem 1.1rem;margin:0 0 .7rem;font-size:.75rem;display:flex}.grid-legend span{align-items:center;gap:.4rem;display:inline-flex}.legend-swatch{border-radius:3px;width:12px;height:12px;display:inline-block}.swatch-error{background:var(--error-bg);border:1px solid var(--error-border)}.swatch-warning{background:var(--warning-bg);border:1px solid var(--warning-border)}.swatch-info{background:var(--info-bg);border:1px solid var(--info-border)}.swatch-pending{background:var(--primary-soft);border:1px solid var(--primary)}@media (width<=600px){.step+.step{margin-left:.9rem}.step+.step:before{width:.9rem}.step-label{display:none}.step.active .step-label{display:inline}}
