.spinner{flex-shrink:0;display:inline-flex}.spinner-circle{opacity:.85;border:2px solid;border-top-color:#0000;border-radius:50%;animation:.7s linear infinite spin;display:block}.spinner-sm .spinner-circle{border-width:2px;width:14px;height:14px}.spinner-md .spinner-circle{border-width:2.5px;width:20px;height:20px}.spinner-lg .spinner-circle{border-width:3px;width:32px;height:32px}.spinner-primary{color:var(--theme-primary)}.spinner-current{color:currentColor}.spinner-on-color{color:#fff}.btn{border-radius:var(--radius-md);white-space:nowrap;cursor:pointer;transition:background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast), opacity var(--transition-fast);border:1px solid #0000;justify-content:center;align-items:center;gap:8px;font-weight:500;line-height:1;display:inline-flex}.btn:active:not(:disabled){transform:translateY(1px)}.btn:disabled{cursor:not-allowed;opacity:.55}.btn svg{flex-shrink:0}.btn-sm{height:30px;font-size:var(--font-sm);padding:0 10px}.btn-sm svg{width:15px;height:15px}.btn-md{height:36px;font-size:var(--font-base);padding:0 14px}.btn-md svg{width:16px;height:16px}.btn-lg{height:42px;font-size:var(--font-md);padding:0 20px}.btn-lg svg{width:18px;height:18px}.btn-block{width:100%;display:flex}.btn-primary{background:var(--theme-primary);color:var(--theme-on-primary);box-shadow:var(--theme-shadow-sm)}.btn-primary:hover:not(:disabled){background:var(--theme-primary-hover)}.btn-secondary{background:var(--theme-surface-muted);color:var(--theme-text);border-color:var(--theme-border)}.btn-secondary:hover:not(:disabled){background:var(--theme-surface-hover)}.btn-outline{background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-border)}.btn-outline:hover:not(:disabled){background:var(--theme-surface-muted);border-color:var(--theme-border-strong)}.btn-ghost{color:var(--theme-text-light);background:0 0}.btn-ghost:hover:not(:disabled){background:var(--theme-surface-muted);color:var(--theme-text)}.btn-danger{background:var(--theme-error);color:#fff;box-shadow:var(--theme-shadow-sm)}.btn-danger:hover:not(:disabled){filter:brightness(1.08)}.tooltip-wrap{display:inline-flex;position:relative}.tooltip-wrap:after{content:attr(data-tooltip);border-radius:var(--radius-sm);background:var(--theme-text);color:var(--theme-surface);font-size:var(--font-xs);white-space:nowrap;opacity:0;pointer-events:none;visibility:hidden;z-index:var(--z-dropdown);transition:opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);padding:5px 9px;font-weight:500;position:absolute;left:50%;transform:translate(-50%)translateY(4px)}.tooltip-top:after{bottom:calc(100% + 6px)}.tooltip-bottom:after{top:calc(100% + 6px);transform:translate(-50%)translateY(-4px)}.tooltip-wrap:hover:after,.tooltip-wrap:focus-within:after{opacity:1;visibility:visible;transition-delay:.25s;transform:translate(-50%)translateY(0)}.tooltip-align-end:after{left:auto;right:0;transform:translateY(4px)}.tooltip-align-end.tooltip-bottom:after{transform:translateY(-4px)}.tooltip-align-end:hover:after,.tooltip-align-end:focus-within:after{transform:translateY(0)}.tooltip-align-start:after{left:0;transform:translateY(4px)}.tooltip-align-start.tooltip-bottom:after{transform:translateY(-4px)}.tooltip-align-start:hover:after,.tooltip-align-start:focus-within:after{transform:translateY(0)}.icon-btn-x{border-radius:var(--radius-md);color:var(--theme-text-light);cursor:pointer;transition:background-color var(--transition-fast), color var(--transition-fast);background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.icon-btn-x:hover:not(:disabled){background:var(--theme-surface-muted);color:var(--theme-text)}.icon-btn-x:disabled{cursor:not-allowed;opacity:.4}.icon-btn-x.icon-btn-primary{color:var(--theme-primary)}.icon-btn-x.icon-btn-danger:hover:not(:disabled){background:color-mix(in srgb, var(--theme-error) 12%, transparent);color:var(--theme-error)}.icon-btn-sm{width:30px;height:30px}.icon-btn-sm svg{width:15px;height:15px}.icon-btn-md{width:36px;height:36px}.icon-btn-md svg{width:17px;height:17px}.field{flex-direction:column;gap:6px;display:flex}.field-label{font-size:var(--font-sm);color:var(--theme-text);font-weight:500}.field-required{color:var(--theme-error);margin-left:3px}.field-hint{font-size:var(--font-xs);color:var(--theme-text-light)}.field-error{font-size:var(--font-xs);color:var(--theme-error);font-weight:500}.input{border:1px solid var(--theme-border);border-radius:var(--radius-md);background:var(--theme-surface);width:100%;height:36px;color:var(--theme-text);font:inherit;font-size:var(--font-base);transition:border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);padding:0 12px}.input::placeholder{color:var(--theme-text-light)}.input:hover:not(:disabled):not([readonly]){border-color:var(--theme-border-strong)}.input:focus{border-color:var(--theme-primary);box-shadow:var(--theme-focus-ring);outline:none}.input:disabled,.input[readonly]{background:var(--theme-surface-muted);color:var(--theme-text-light);cursor:default}.textarea{resize:vertical;height:auto;min-height:84px;padding:8px 12px;font-family:inherit;line-height:1.5}.input-wrap{align-items:center;display:flex;position:relative}.input.has-icon{padding-left:36px}.input.has-trailing{padding-right:40px}.input-icon{color:var(--theme-text-light);pointer-events:none;display:inline-flex;position:absolute;left:12px}.input-icon svg{width:16px;height:16px}.input-trailing{display:inline-flex;position:absolute;right:3px}.input-wrap.is-invalid .input{border-color:var(--theme-error)}.is-invalid{border-color:var(--theme-error)!important}.select-wrap{align-items:center;display:flex;position:relative}.select{appearance:none;cursor:pointer;padding-right:34px}.select-chevron{color:var(--theme-text-light);pointer-events:none;position:absolute;right:12px}.checkbox{cursor:pointer;-webkit-user-select:none;user-select:none;font-size:var(--font-sm);color:var(--theme-text);align-items:center;gap:9px;display:inline-flex;position:relative}.checkbox input{opacity:0;width:1px;height:1px;position:absolute}.checkbox-box{border:1.5px solid var(--theme-border);background:var(--theme-surface);width:18px;height:18px;transition:background-color var(--transition-fast), border-color var(--transition-fast);border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.checkbox-box:after{content:"";width:5px;height:9px;transition:transform var(--transition-fast);border:2px solid #fff;border-width:0 2px 2px 0;margin-top:-2px;transform:rotate(45deg)scale(0)}.checkbox input:checked+.checkbox-box{background:var(--theme-primary);border-color:var(--theme-primary)}.checkbox input:checked+.checkbox-box:after{transform:rotate(45deg)scale(1)}.checkbox input:focus-visible+.checkbox-box{box-shadow:var(--theme-focus-ring)}.switch{border-radius:var(--radius-pill);background:var(--theme-surface-hover);cursor:pointer;width:42px;height:24px;transition:background-color var(--transition-fast);border:none;flex-shrink:0;padding:0;position:relative}.switch.is-on{background:var(--theme-primary)}.switch:disabled{cursor:not-allowed;opacity:.5}.switch-thumb{width:18px;height:18px;transition:transform var(--transition-base);background:#fff;border-radius:50%;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0003}.switch.is-on .switch-thumb{transform:translate(18px)}.alert{border-radius:var(--radius-md);font-size:var(--font-sm);color:var(--theme-text);border:1px solid #0000;border-left-width:3px;align-items:flex-start;gap:10px;padding:12px 14px;line-height:1.5;display:flex}.alert-icon{flex-shrink:0;width:18px;height:18px;margin-top:1px}.alert-text{flex:1;min-width:0}.alert-close{color:inherit;opacity:.6;cursor:pointer;background:0 0;border:none;flex-shrink:0;padding:0;display:inline-flex}.alert-close:hover{opacity:1}.alert-close svg{width:16px;height:16px}.alert-success{background:color-mix(in srgb, var(--theme-success) 10%, var(--theme-surface));border-color:color-mix(in srgb, var(--theme-success) 30%, transparent);border-left-color:var(--theme-success)}.alert-success .alert-icon{color:var(--theme-success)}.alert-warning{background:color-mix(in srgb, var(--theme-warning) 10%, var(--theme-surface));border-color:color-mix(in srgb, var(--theme-warning) 30%, transparent);border-left-color:var(--theme-warning)}.alert-warning .alert-icon{color:var(--theme-warning)}.alert-error{background:color-mix(in srgb, var(--theme-error) 8%, var(--theme-surface));border-color:color-mix(in srgb, var(--theme-error) 28%, transparent);border-left-color:var(--theme-error)}.alert-error .alert-icon{color:var(--theme-error)}.alert-info{background:color-mix(in srgb, var(--theme-info) 8%, var(--theme-surface));border-color:color-mix(in srgb, var(--theme-info) 28%, transparent);border-left-color:var(--theme-info)}.alert-info .alert-icon{color:var(--theme-info)}.login-page{min-height:100vh;padding:var(--space-6) var(--space-4);background:var(--theme-bg);justify-content:center;align-items:center;display:flex}.login-card{width:100%;max-width:400px;padding:var(--space-7);background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:var(--radius-xl);box-shadow:var(--theme-shadow-md);animation:fade-in var(--transition-base)}.login-brand{align-items:center;gap:var(--space-3);margin-bottom:var(--space-7);display:flex}.login-logo{object-fit:contain;border-radius:var(--radius-md);border:1px solid var(--theme-border);background:#fff;flex-shrink:0;width:36px;height:36px;padding:4px}.login-product{font-size:var(--font-sm);color:var(--theme-text);font-weight:600;line-height:1.3}.login-product-sub{font-size:var(--font-xs);color:var(--theme-text-light)}.login-title{font-size:var(--font-2xl);color:var(--theme-text)}.login-subtitle{font-size:var(--font-sm);color:var(--theme-text-light);margin:4px 0 0}.login-form{margin-top:var(--space-6);gap:var(--space-4);flex-direction:column;display:flex}.login-help{margin:var(--space-5) 0 0;padding-top:var(--space-4);border-top:1px solid var(--theme-border);text-align:center;font-size:var(--font-xs);color:var(--theme-text-light)}@media (width<=480px){.login-card{padding:var(--space-6) var(--space-5)}}.dropdown-root{position:relative}.dropdown-root .dropdown-menu{z-index:var(--z-dropdown);max-height:360px;position:absolute;top:calc(100% + 8px);overflow-y:auto}.dropdown-menu-left{left:0}.dropdown-menu-right{right:0}.badge{border-radius:var(--radius-pill);white-space:nowrap;align-items:center;gap:5px;padding:1px 8px;font-size:11.5px;font-weight:600;line-height:1.6;display:inline-flex}.badge svg{width:12px;height:12px}.badge-dot{background:currentColor;border-radius:50%;width:6px;height:6px}.badge-success{background:color-mix(in srgb, var(--theme-success) 14%, transparent);color:var(--theme-success)}.badge-warning{background:color-mix(in srgb, var(--theme-warning) 16%, transparent);color:var(--theme-warning)}.badge-error{background:color-mix(in srgb, var(--theme-error) 14%, transparent);color:var(--theme-error)}.badge-info{background:color-mix(in srgb, var(--theme-info) 14%, transparent);color:var(--theme-info)}.badge-primary{background:color-mix(in srgb, var(--theme-primary) 14%, transparent);color:var(--theme-primary)}.badge-neutral{background:var(--theme-surface-muted);color:var(--theme-text-light)}.company-trigger{max-width:100%}.company-trigger-icon{border-radius:var(--radius-md);background:var(--theme-primary-soft);width:30px;height:30px;color:var(--theme-primary);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.company-trigger-text{flex-direction:column;min-width:0;line-height:1.25;display:flex}.company-trigger-name-row{align-items:center;gap:8px;min-width:0;display:flex}.company-trigger-name{font-size:var(--font-sm);color:var(--theme-text);font-weight:600}.company-trigger-sub{font-size:var(--font-xs);color:var(--theme-text-light)}.company-trigger-sub.is-error{color:var(--theme-error)}.company-trigger-chevron{color:var(--theme-text-light);flex-shrink:0;margin-left:2px}.company-search{z-index:1;border-bottom:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-text-light);align-items:center;gap:8px;margin:-4px -4px 4px;padding:10px 14px;display:flex;position:sticky;top:-4px}.company-search input{min-width:0;color:var(--theme-text);font:inherit;font-size:var(--font-sm);background:0 0;border:none;outline:none;flex:1}.company-message{align-items:center;gap:8px;display:flex}.company-group-label{min-width:0;font-size:var(--font-xs);color:var(--theme-text);align-items:baseline;gap:6px;padding:8px 10px 4px;font-weight:600;display:flex}.company-group-code{color:var(--theme-text-light);flex-shrink:0;font-weight:400}.company-instance-note{min-width:0;font-size:var(--font-xs);color:var(--theme-text-light);flex:1;align-items:center;gap:5px;display:inline-flex}.company-instance-note.is-warning,.dropdown-item .company-instance-note.is-warning svg{color:var(--theme-warning)}.dropdown-item .company-check{color:var(--theme-primary)}.modal-backdrop{z-index:var(--z-modal-backdrop);padding:var(--space-5);background:var(--theme-backdrop);animation:fade-in var(--transition-base);justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal-panel{z-index:var(--z-modal);background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:var(--radius-xl);width:100%;max-height:calc(100vh - 40px);box-shadow:var(--theme-shadow-lg);animation:modal-in var(--transition-base);outline:none;flex-direction:column;display:flex;position:relative}@keyframes modal-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.modal-sm{max-width:420px}.modal-md{max-width:540px}.modal-lg{max-width:720px}.modal-xl{max-width:960px}.modal-head{justify-content:space-between;align-items:flex-start;gap:var(--space-4);padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--theme-border);flex-shrink:0;display:flex}.modal-title{font-size:var(--font-lg);overflow-wrap:anywhere;color:var(--theme-text);font-weight:600}.modal-description{font-size:var(--font-sm);color:var(--theme-text-light);margin-top:4px}.modal-body{padding:var(--space-5);overflow-y:auto}.modal-footer{justify-content:flex-end;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-5);border-top:1px solid var(--theme-border);background:var(--theme-surface-muted);border-radius:0 0 var(--radius-xl) var(--radius-xl);flex-shrink:0;display:flex}.modal-panel:focus-visible{box-shadow:var(--theme-shadow-lg);border-radius:var(--radius-xl)}.avatar{background:var(--theme-primary-soft);color:var(--theme-primary);letter-spacing:.02em;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:600;display:inline-flex}.avatar-xs{width:24px;height:24px;font-size:10px}.avatar-sm{width:32px;height:32px;font-size:12px}.avatar-md{width:42px;height:42px;font-size:14px}.avatar-lg{width:56px;height:56px;font-size:18px}.app-header{height:var(--header-height);padding:0 var(--space-5);justify-content:space-between;align-items:center;gap:var(--space-3);background:var(--theme-surface);border-bottom:1px solid var(--theme-border);z-index:var(--z-sticky);flex-shrink:0;display:flex;position:sticky;top:0}.app-header-left{align-items:center;gap:var(--space-2);flex:auto;min-width:0;display:flex}.app-header-right{align-items:center;gap:var(--space-1);flex-shrink:0;display:flex}.app-header-user{flex-shrink:0;margin-left:4px}.app-header-user-text{flex-direction:column;min-width:0;max-width:160px;line-height:1.25;display:flex}.app-header-user-name{font-size:var(--font-sm);color:var(--theme-text);font-weight:500}.app-header-user-role{font-size:var(--font-xs);color:var(--theme-text-light);text-transform:capitalize}.app-header-user-chevron{color:var(--theme-text-light);flex-shrink:0}.app-header-menu-identity{font-size:var(--font-sm);padding:8px 10px}@media (width<=640px){.app-header{padding:0 var(--space-3)}.app-header-user-text,.app-header-user-chevron{display:none}}.sidebar{width:var(--sidebar-width);background:var(--theme-surface);border-right:1px solid var(--theme-border);transition:width var(--transition-base);flex-direction:column;flex-shrink:0;display:flex}.sidebar-collapsed{width:var(--sidebar-collapsed-width)}.sidebar-brand{height:var(--header-height);border-bottom:1px solid var(--theme-border);flex-shrink:0;align-items:center;gap:10px;padding:0 16px;display:flex}.sidebar-collapsed .sidebar-brand{justify-content:center;padding:0}.sidebar-logo{object-fit:contain;border-radius:var(--radius-sm);border:1px solid var(--theme-border);background:#fff;flex-shrink:0;width:30px;height:30px;padding:3px}.sidebar-brand-text{min-width:0;line-height:1.2}.sidebar-brand-title{font-size:var(--font-sm);color:var(--theme-text);font-weight:600}.sidebar-brand-subtitle{font-size:var(--font-xs);color:var(--theme-text-light)}.sidebar-nav{flex-direction:column;flex:1;gap:16px;padding:12px 10px;display:flex;overflow-y:auto}.sidebar-group{flex-direction:column;gap:1px;display:flex}.sidebar-group-label{letter-spacing:.05em;text-transform:uppercase;color:var(--theme-text-faint);margin-bottom:4px;padding:0 10px;font-size:11px;font-weight:600}.sidebar-group-divider{background:var(--theme-border);height:1px;margin:0 8px 6px}.sidebar-group:first-child .sidebar-group-divider{display:none}.sidebar-item{border-radius:var(--radius-md);height:34px;color:var(--theme-text-light);font-size:var(--font-sm);transition:background-color var(--transition-fast), color var(--transition-fast);align-items:center;gap:10px;padding:0 10px;font-weight:500;text-decoration:none;display:flex}.sidebar-item:hover{background:var(--theme-surface-muted);color:var(--theme-text)}.sidebar-item.is-active{background:var(--theme-primary-soft);color:var(--theme-primary)}.sidebar-collapsed .sidebar-item{justify-content:center;padding:0}.sidebar-item-icon{flex-shrink:0}.sidebar-collapse{border-radius:var(--radius-md);height:34px;color:var(--theme-text-light);font-size:var(--font-sm);cursor:pointer;transition:background-color var(--transition-fast), color var(--transition-fast);background:0 0;border:none;flex-shrink:0;align-items:center;gap:10px;margin:8px 10px 12px;padding:0 10px;font-weight:500;display:flex}.sidebar-collapsed .sidebar-collapse{justify-content:center;padding:0}.sidebar-collapse:hover{background:var(--theme-surface-muted);color:var(--theme-text)}.sidebar-mobile{z-index:var(--z-drawer);box-shadow:var(--theme-shadow-lg);transition:transform var(--transition-base);position:fixed;top:0;bottom:0;left:0;transform:translate(-100%)}.sidebar-mobile.sidebar-open{transform:translate(0)}.sidebar-scrim{z-index:calc(var(--z-drawer) - 1);background:var(--theme-backdrop);animation:fade-in var(--transition-base);position:fixed;inset:0}.card{background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:var(--radius-lg);box-shadow:var(--theme-shadow-sm);transition:box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base)}.card-muted{background:var(--theme-surface-muted);box-shadow:none}.card-interactive{cursor:pointer}.card-interactive:hover{box-shadow:var(--theme-shadow-md);border-color:var(--theme-border-strong)}.card-interactive:focus-visible{border-radius:var(--radius-lg)}.card-pad-none{padding:0}.card-pad-sm{padding:var(--space-4)}.card-pad-md{padding:var(--space-5)}.card-pad-lg{padding:var(--space-7)}.card-section{padding:var(--space-5)}.card-section+.card-section{border-top:1px solid var(--theme-border)}.card-section-head{justify-content:space-between;align-items:flex-start;gap:var(--space-4);margin-bottom:var(--space-4);display:flex}.card-section-actions{justify-content:flex-end;align-items:center;gap:var(--space-2);flex-wrap:wrap;flex-shrink:0;display:flex}.card-section-title{font-size:var(--font-md);color:var(--theme-text);font-weight:600}.card-section-subtitle{font-size:var(--font-sm);color:var(--theme-text-light);margin-top:2px}.kpi-grid{gap:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(200px,1fr));display:grid}.kpi-card{padding:var(--space-4) var(--space-5)}.kpi-card-head{justify-content:space-between;align-items:center;gap:var(--space-2);display:flex}.kpi-card-label{font-size:var(--font-sm);color:var(--theme-text-light);font-weight:500}.kpi-card-icon{flex-shrink:0;width:16px;height:16px}.kpi-card-value{letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--theme-text);margin-top:6px;font-size:26px;font-weight:600;line-height:1.2}.kpi-card-hint{font-size:var(--font-xs);color:var(--theme-text-light);margin-top:2px}.kpi-card-skeleton{border-radius:var(--radius-sm);background:var(--theme-surface-muted);width:56px;height:26px;margin-top:8px;animation:1.2s ease-in-out infinite kpi-pulse;display:block}@keyframes kpi-pulse{50%{opacity:.5}}.page-header{justify-content:space-between;align-items:flex-end;gap:var(--space-3) var(--space-4);flex-wrap:wrap;display:flex}.page-header-text{min-width:0}.page-header-title{font-size:var(--font-2xl);color:var(--theme-text);line-height:1.25}.page-header-subtitle{max-width:720px;font-size:var(--font-sm);color:var(--theme-text-light);margin:4px 0 0}.page-header-actions{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.empty-state{min-height:260px;padding:var(--space-8) var(--space-4);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:4px;display:flex}.empty-state-compact{min-height:0;padding:var(--space-6) var(--space-4)}.empty-state-icon{border-radius:var(--radius-lg);background:var(--theme-surface-muted);width:44px;height:44px;color:var(--theme-text-light);justify-content:center;align-items:center;margin-bottom:10px;display:flex}.empty-state-error .empty-state-icon{background:color-mix(in srgb, var(--theme-error) 10%, transparent);color:var(--theme-error)}.empty-state-compact .empty-state-icon{width:36px;height:36px;margin-bottom:6px}.empty-state-icon svg{width:20px;height:20px}.empty-state-compact .empty-state-icon svg{width:18px;height:18px}.empty-state-title{font-size:var(--font-md);color:var(--theme-text);font-weight:600}.empty-state-compact .empty-state-title{font-size:var(--font-sm)}.empty-state-description{max-width:420px;font-size:var(--font-sm);color:var(--theme-text-light)}.empty-state-action{margin-top:var(--space-3)}.dashboard-link{color:var(--theme-primary);font:inherit;font-size:var(--font-sm);cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;padding:0;font-weight:500;display:inline-flex}.dashboard-link:hover{text-decoration:underline}.dashboard-company-list{flex-direction:column;display:flex}.dashboard-company-row{justify-content:space-between;align-items:center;gap:var(--space-2) var(--space-3);border-bottom:1px solid var(--theme-border);flex-wrap:wrap;padding:10px 0;display:flex}.dashboard-company-row:first-child{padding-top:0}.dashboard-company-row:last-child{border-bottom:none;padding-bottom:0}.dashboard-company-info{flex-direction:column;min-width:0;display:flex}.dashboard-company-name{font-size:var(--font-sm);color:var(--theme-text);font-weight:500}.dashboard-company-code{font-size:var(--font-xs);color:var(--theme-text-light)}.dashboard-company-status{align-items:center;gap:var(--space-2);flex-shrink:0;display:flex}.segmented{border-radius:var(--radius-md);background:var(--theme-surface-muted);flex-wrap:wrap;gap:2px;width:fit-content;max-width:100%;padding:3px;display:inline-flex}.segmented-option{border-radius:var(--radius-sm);height:28px;color:var(--theme-text-light);font:inherit;font-size:var(--font-sm);white-space:nowrap;cursor:pointer;transition:background-color var(--transition-fast), color var(--transition-fast);background:0 0;border:0;align-items:center;gap:6px;padding:0 10px;font-weight:500;display:inline-flex}.segmented-option svg{width:14px;height:14px}.segmented-option:hover{color:var(--theme-text)}.segmented-option.is-active{background:var(--theme-surface);color:var(--theme-text);box-shadow:var(--theme-shadow-sm)}.segmented-count{border-radius:var(--radius-pill);background:var(--theme-surface-hover);min-width:18px;color:var(--theme-text-light);text-align:center;font-variant-numeric:tabular-nums;padding:0 5px;font-size:11px;font-weight:600;line-height:18px}.segmented-option.is-active .segmented-count{background:var(--theme-primary-soft);color:var(--theme-primary)}.profile-layout{gap:var(--space-4);flex-direction:column;max-width:820px;display:flex}.profile-details{gap:var(--space-4) var(--space-6);grid-template-columns:repeat(auto-fill,minmax(220px,1fr));margin:0;display:grid}.profile-detail dt{font-size:var(--font-xs);color:var(--theme-text-light)}.profile-detail dd{font-size:var(--font-sm);overflow-wrap:anywhere;margin:2px 0 0;font-weight:500}.profile-grid{gap:var(--space-4);grid-template-columns:1fr 1fr;display:grid}@media (width<=560px){.profile-grid{grid-template-columns:1fr}}.profile-form-actions{margin-top:var(--space-5);justify-content:flex-end;display:flex}.profile-setting{justify-content:space-between;align-items:center;gap:var(--space-3) var(--space-4);flex-wrap:wrap;display:flex}.dtable-scroll{border:1px solid var(--theme-border);border-radius:var(--radius-lg);background:var(--theme-surface);overflow-x:auto}.dtable{border-collapse:collapse;width:100%;font-size:var(--font-sm)}.dtable thead th{z-index:1;background:var(--theme-surface-muted);border-bottom:1px solid var(--theme-border);text-transform:uppercase;letter-spacing:.04em;color:var(--theme-text-light);white-space:nowrap;padding:10px 16px;font-size:11.5px;font-weight:600;position:sticky;top:0}.dtable-th-inner{align-items:center;gap:5px;display:inline-flex}.dtable-sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.dtable-sortable:hover{color:var(--theme-text)}.dtable-sort-idle{opacity:.35}.dtable tbody tr{border-bottom:1px solid var(--theme-border);transition:background-color var(--transition-fast)}.dtable tbody tr:last-child{border-bottom:none}.dtable-row-clickable{cursor:pointer}.dtable tbody tr:hover:not(.dtable-placeholder-row){background:var(--theme-surface-muted)}.dtable td{color:var(--theme-text);vertical-align:middle;padding:10px 16px}.dtable-loading{text-align:center!important;padding:48px 16px!important}.dtable-row-clickable:focus-visible{box-shadow:inset 0 0 0 2px color-mix(in srgb, var(--theme-primary) 40%, transparent);border-radius:0;outline:none}.pagination{justify-content:space-between;align-items:center;gap:var(--space-3);padding-top:var(--space-4);flex-wrap:wrap;display:flex}.pagination-summary{font-size:var(--font-xs);color:var(--theme-text-light)}.pagination-controls{gap:var(--space-2);display:flex}.candidate-search{width:100%;max-width:420px;position:relative}.candidate-search-results{z-index:var(--z-dropdown);max-height:340px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto}.candidate-search-status{font-size:var(--font-sm);align-items:center;gap:8px;padding:12px;display:flex}.candidate-search-error{color:var(--theme-error)}.candidate-search-name{color:var(--theme-text);font-weight:500;font-size:var(--font-sm);display:block}.candidate-search-meta{color:var(--theme-text-light);font-size:var(--font-xs);display:block}.candidate-list-warning{margin-bottom:var(--space-3);font-size:var(--font-xs);color:var(--theme-warning);align-items:center;gap:6px;display:flex}.candidate-cell{align-items:center;gap:10px;min-width:0;max-width:340px;display:flex}.candidate-cell-sub{font-size:var(--font-xs)}.candidate-count-badge{border-radius:var(--radius-pill);background:var(--theme-surface-muted);min-width:24px;color:var(--theme-text);font-size:var(--font-xs);text-align:center;font-variant-numeric:tabular-nums;padding:0 8px;font-weight:600;line-height:20px;display:inline-block}.candidate-info-card{justify-content:space-between;align-items:center;gap:var(--space-4);flex-wrap:wrap;display:flex}.candidate-info-left{align-items:center;gap:var(--space-4);min-width:0;display:flex}.candidate-info-text{flex-direction:column;gap:2px;min-width:0;display:flex}.candidate-info-name-row{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.candidate-info-name{font-size:var(--font-lg);color:var(--theme-text);line-height:1.2}.candidate-info-meta{color:var(--theme-text-light);font-size:var(--font-sm)}.candidate-info-email{color:var(--theme-text-light);font-size:var(--font-xs);overflow-wrap:anywhere}.classification-badge{flex-shrink:0;display:inline-flex}.classification-badge .badge{padding:1px 8px;font-size:10px}.classification-badge .tooltip-wrap:after{white-space:pre-line;text-align:left;width:max-content;max-width:300px;line-height:1.45}.classification-badge-spin{animation:1s linear infinite classification-badge-spin}@keyframes classification-badge-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.classification-badge-spin{animation:none}}.document-row{border-bottom:1px solid var(--theme-border);transition:background-color var(--transition-fast);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:10px 16px;display:flex}.document-row:last-child{border-bottom:none}.document-row:hover{background:var(--theme-surface-muted)}.document-row-info{flex:220px;align-items:center;gap:12px;min-width:0;display:flex}.document-row-icon{border-radius:var(--radius-md);background:var(--theme-primary-soft);width:32px;height:32px;color:var(--theme-primary);flex-shrink:0;justify-content:center;align-items:center;display:flex}.document-row-text{min-width:0}.document-row-name-line{flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0;display:flex}.document-row-name{min-width:0;max-width:100%;font-weight:500;font-size:var(--font-sm);color:var(--theme-text);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.document-row-source{border:1px solid var(--theme-border);border-radius:var(--radius-sm);color:var(--theme-text-light);flex-shrink:0;padding:0 6px;font-size:11px;font-weight:500;line-height:18px}.document-row-meta{color:var(--theme-text-light);font-size:var(--font-xs);margin-top:1px}.document-row-actions{flex-shrink:0;align-items:center;gap:2px;margin-left:auto;display:flex}.document-row-actions .spinner{margin-right:6px}.document-row-select{width:168px;margin-right:6px}.document-row-select .input,.document-row-select .select{height:30px;font-size:var(--font-xs)}.category-section{flex-direction:column;display:flex}.category-section .document-row:last-child{border-radius:0 0 var(--radius-lg) var(--radius-lg)}.category-section-missing{border-color:color-mix(in srgb, var(--theme-warning) 45%, var(--theme-border))}.category-section-head{border-bottom:1px solid var(--theme-border);justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:8px 12px 8px 16px;display:flex}.category-section-title{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.category-section-name{font-size:var(--font-sm);color:var(--theme-text);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.category-section-count{border-radius:var(--radius-pill);background:var(--theme-surface-muted);min-width:20px;color:var(--theme-text-light);text-align:center;font-variant-numeric:tabular-nums;flex-shrink:0;padding:0 6px;font-size:11.5px;font-weight:600;line-height:20px}.category-section-empty{font-size:var(--font-sm);color:var(--theme-text-faint);padding:18px 16px}.progress{align-items:center;gap:10px;display:flex}.progress-track{border-radius:var(--radius-pill);background:var(--theme-surface-muted);flex:1;height:6px;overflow:hidden}.progress-fill{border-radius:var(--radius-pill);background:var(--theme-primary);height:100%;transition:width var(--transition-base)}.progress-label{font-size:var(--font-xs);color:var(--theme-text-light);text-align:right;flex-shrink:0;min-width:34px;font-weight:600}.dropzone{text-align:center;padding:var(--space-6) var(--space-4);border:1.5px dashed var(--theme-border-strong);border-radius:var(--radius-lg);background:var(--theme-surface-muted);cursor:pointer;transition:border-color var(--transition-fast), background-color var(--transition-fast);flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex;position:relative}.dropzone:hover,.dropzone.is-dragging{border-color:var(--theme-primary);background:color-mix(in srgb, var(--theme-primary) 6%, var(--theme-surface-muted))}.dropzone.is-disabled{cursor:not-allowed;opacity:.6}.dropzone-input{opacity:0;pointer-events:none;position:absolute;inset:0}.dropzone-icon{width:24px;height:24px;color:var(--theme-primary);margin-bottom:2px}.dropzone-title{font-size:var(--font-sm);color:var(--theme-text);font-weight:500}.dropzone-hint{font-size:var(--font-xs);color:var(--theme-text-light)}.dropzone:focus-visible{border-radius:var(--radius-lg);border-color:var(--theme-primary)}.upload-file{border:1px solid var(--theme-border);border-radius:var(--radius-lg);background:var(--theme-surface-muted);align-items:center;gap:10px;padding:8px 8px 8px 10px;display:flex}.upload-file-icon{border-radius:var(--radius-md);background:var(--theme-primary-soft);width:32px;height:32px;color:var(--theme-primary);flex-shrink:0;justify-content:center;align-items:center;display:flex}.upload-file-text{flex-direction:column;flex:1;min-width:0;line-height:1.3;display:flex}.upload-file-name{font-size:var(--font-sm);color:var(--theme-text);font-weight:500}.upload-file-size{font-size:var(--font-xs);color:var(--theme-text-light)}.candidate-documents-categories{align-items:start;gap:var(--space-4);grid-template-columns:repeat(auto-fill,minmax(min(460px,100%),1fr));display:grid}.candidate-documents-summary{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:20px;margin-bottom:calc(-1 * var(--space-2));font-size:var(--font-sm);color:var(--theme-text-light);display:flex}.candidate-documents-refreshing{font-size:var(--font-xs);align-items:center;gap:6px;display:inline-flex}.candidate-documents-inline-alert{justify-content:space-between;align-items:center;gap:var(--space-2) var(--space-4);flex-wrap:wrap;display:flex}.attachments-folder-grid{gap:var(--space-3);grid-template-columns:repeat(auto-fill,minmax(220px,1fr));display:grid}.attachments-folder-card{align-items:center;gap:var(--space-3);padding:var(--space-4);display:flex}.attachments-folder-icon{border-radius:var(--radius-md);background:var(--theme-primary-soft);width:38px;height:38px;color:var(--theme-primary);flex-shrink:0;justify-content:center;align-items:center;display:flex}.attachments-folder-icon.is-empty{background:var(--theme-surface-muted);color:var(--theme-text-faint)}.attachments-folder-text{min-width:0}.attachments-folder-name{color:var(--theme-text);font-weight:500;font-size:var(--font-sm);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.attachments-folder-count{color:var(--theme-text-light);font-size:var(--font-xs)}.attachments-list-head{justify-content:space-between;align-items:center;gap:var(--space-3);border-bottom:1px solid var(--theme-border);padding:8px 16px 8px 8px;display:flex}.attachments-pagination{border-top:1px solid var(--theme-border);padding:0 16px 14px}.classification-history-loading{justify-content:center;padding:24px;display:flex}.classification-history{border-left:2px solid var(--theme-border);flex-direction:column;gap:14px;margin:0;padding:0 0 0 14px;list-style:none;display:flex}.classification-history-entry{position:relative}.classification-history-entry:before{content:"";background:var(--theme-surface);border:2px solid var(--theme-primary);border-radius:50%;width:10px;height:10px;position:absolute;top:5px;left:-20px}.classification-history-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 12px;display:flex}.classification-history-action{font-weight:600;font-size:var(--font-sm);color:var(--theme-text)}.classification-history-meta,.classification-history-details{font-size:var(--font-xs);color:var(--theme-text-light)}.classification-history-summary{font-size:var(--font-sm);color:var(--theme-text);margin-top:2px}.classification-history-details{overflow-wrap:anywhere;margin-top:2px}.ai-proposals{margin-bottom:16px}.ai-proposals-title{align-items:center;gap:6px;display:inline-flex}.ai-proposals-title svg{color:var(--theme-warning)}.ai-proposals-list{margin:12px 0 0;padding:0;list-style:none}.ai-proposals-item{border-top:1px solid var(--theme-border);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 0;display:flex}.ai-proposals-info{flex:240px;min-width:0}.ai-proposals-name{font-weight:500;font-size:var(--font-sm);color:var(--theme-text)}.ai-proposals-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:var(--font-xs);color:var(--theme-text-light);margin-left:8px}.ai-proposals-description{font-size:var(--font-xs);color:var(--theme-text-light);margin-top:2px}.ai-proposals-actions{gap:6px;display:flex}.ai-review-bulk{border-radius:var(--radius-md);background:var(--theme-surface-muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;padding:8px 12px;display:flex}.ai-review-doc{min-width:160px;max-width:260px}.ai-review-doc-name{font-weight:500;font-size:var(--font-sm);color:var(--theme-text);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ai-review-muted{font-size:var(--font-xs);color:var(--theme-text-light)}.ai-review-suggestion-name{font-weight:500;font-size:var(--font-sm)}.ai-review-confidence{font-size:var(--font-xs);font-variant-numeric:tabular-nums;color:var(--theme-text-light);margin-left:6px}.ai-review-reasoning{max-width:320px}.ai-review-reasoning-text{font-size:var(--font-xs);color:var(--theme-text);-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.ai-review-status{flex-direction:column;align-items:flex-start;gap:4px;display:flex}.ai-review-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.ai-review-select{width:170px}.ai-review-select .select{height:30px;font-size:var(--font-xs)}.pipeline-muted{font-size:var(--font-xs);color:var(--theme-text-light)}.pipeline-strong{color:var(--theme-text);font-weight:600}.pipeline-error-text{font-size:var(--font-xs);color:var(--theme-error)}.pipeline-mono{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace}.pipeline-control-grid{gap:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.pipeline-control{gap:var(--space-3);flex-direction:column;min-width:0;display:flex}.pipeline-control-head{justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.pipeline-control-title{align-items:center;gap:var(--space-2);font-weight:600;font-size:var(--font-md);color:var(--theme-text);display:flex}.pipeline-control-body{gap:var(--space-2);font-size:var(--font-sm);color:var(--theme-text);flex-direction:column;flex:1;display:flex}.pipeline-control-foot{justify-content:space-between;align-items:center;gap:var(--space-2);min-height:32px;display:flex}.pipeline-actions{flex-wrap:wrap;justify-content:flex-end}.pipeline-switch{align-items:center;gap:var(--space-2);font-size:var(--font-sm);display:flex}.pipeline-on{color:var(--theme-success);font-weight:600}.pipeline-active-step{font-weight:500}.pipeline-filter{min-width:200px}.pipeline-counts{font-variant-numeric:tabular-nums;white-space:nowrap}.pipeline-count-ok{color:var(--theme-success);font-weight:600}.pipeline-count-warn{color:var(--theme-warning);font-weight:600}.pipeline-count-error{color:var(--theme-error);font-weight:600}.pipeline-settings{flex-direction:column;display:flex}.pipeline-settings-group{gap:var(--space-4);padding:var(--space-5) 0;flex-direction:column;display:flex}.pipeline-settings-group:first-child{padding-top:0}.pipeline-settings-group:last-child{padding-bottom:0}.pipeline-settings-group+.pipeline-settings-group{border-top:1px solid var(--theme-border)}.pipeline-settings-heading{font-size:var(--font-xs);letter-spacing:.04em;text-transform:uppercase;color:var(--theme-text-light);margin:0;font-weight:600}.pipeline-input-narrow{max-width:160px}.pipeline-input-medium{max-width:360px}.pipeline-settings-row{gap:var(--space-3) var(--space-4);grid-template-columns:repeat(auto-fit,minmax(200px,1fr));align-items:start;display:grid}.pipeline-preview{align-items:flex-start;gap:var(--space-2);padding:var(--space-3);border-radius:var(--radius-md);background:var(--theme-surface-muted);font-size:var(--font-sm);color:var(--theme-text);display:flex}.pipeline-preview svg{color:var(--theme-primary);flex-shrink:0;margin-top:2px}.pipeline-preview.is-invalid,.pipeline-preview.is-invalid svg{color:var(--theme-error)}.pipeline-company-list{gap:var(--space-2);padding-left:var(--space-5);grid-template-columns:repeat(auto-fill,minmax(240px,1fr));display:grid}.pipeline-company-label{align-items:center;gap:var(--space-2);display:inline-flex}.pipeline-run-title{align-items:center;gap:var(--space-3);display:inline-flex}.pipeline-report-grid{gap:var(--space-4);grid-template-columns:minmax(0,1fr);display:grid}.run-steps{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.run-step{gap:var(--space-3);padding-bottom:var(--space-4);display:flex;position:relative}.run-step:not(:last-child):before{content:"";background:var(--theme-border);width:1px;position:absolute;top:22px;bottom:2px;left:8.5px}.run-step-icon{flex-shrink:0;margin-top:1px}.run-step-icon.is-spinning{animation:1s linear infinite pipeline-spin}.run-step-body{gap:var(--space-1);min-width:0;font-size:var(--font-sm);flex-direction:column;flex:1;display:flex}.run-step-head{justify-content:space-between;gap:var(--space-2);flex-wrap:wrap;display:flex}.step-ok .run-step-icon{color:var(--theme-success)}.step-warn .run-step-icon{color:var(--theme-warning)}.step-error .run-step-icon{color:var(--theme-error)}.step-running .run-step-icon{color:var(--theme-info)}.step-pending .run-step-icon{color:var(--theme-text-faint)}.step-later{opacity:.55}.step-later .run-step-icon{color:var(--theme-text-faint)}.pipeline-doc{min-width:160px;max-width:300px}.pipeline-doc-name{font-weight:500;font-size:var(--font-sm);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@keyframes pipeline-spin{to{transform:rotate(360deg)}}.run-log{gap:var(--space-3);flex-direction:column;display:flex}.run-log-tools{align-items:center;gap:var(--space-2);display:flex}.run-log-tools .toolbar-search{flex:260px;min-width:0}.run-log-body{border:1px solid var(--theme-border);border-radius:var(--radius-md);background:var(--theme-surface-muted);min-height:160px;max-height:480px;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.5;position:relative;overflow:auto}.run-log-empty{padding:var(--space-5);text-align:center;color:var(--theme-text-light);font-family:inherit}.run-log-error{color:var(--theme-error)}.run-log-line+.run-log-line{border-top:1px solid color-mix(in srgb, var(--theme-border) 50%, transparent)}.run-log-row{gap:var(--space-2);width:100%;padding:3px var(--space-3);font:inherit;text-align:left;color:var(--theme-text);cursor:pointer;background:0 0;border:0;grid-template-columns:96px 48px 72px minmax(0,1fr) 16px;display:grid}.run-log-row:disabled{cursor:default;color:var(--theme-text)}.run-log-row:not(:disabled):hover{background:var(--theme-surface-hover)}.run-log-time,.run-log-step{color:var(--theme-text-light)}.run-log-level{font-weight:600}.run-log-message{white-space:pre-wrap;word-break:break-word}.run-log-more{color:var(--theme-text-light);text-align:center}.level-debug .run-log-level,.level-debug .run-log-message{color:var(--theme-text-light)}.level-info .run-log-level{color:var(--theme-info)}.level-warn .run-log-level{color:var(--theme-warning)}.level-error .run-log-level{color:var(--theme-error)}.level-error{background:color-mix(in srgb, var(--theme-error) 6%, transparent)}.run-log-context{padding:var(--space-2) var(--space-3) var(--space-2) calc(96px + 48px + 72px + var(--space-3) * 3);white-space:pre-wrap;word-break:break-word;color:var(--theme-text-light);margin:0}.run-log-live{padding:4px var(--space-3);background:var(--theme-surface-muted);color:var(--theme-success);align-items:center;gap:6px;font-family:inherit;display:flex;position:sticky;bottom:0}.run-log-live-dot{background:var(--theme-success);border-radius:50%;width:7px;height:7px;animation:1.4s ease-in-out infinite pipeline-pulse}@keyframes pipeline-pulse{50%{opacity:.3}}@media (width<=960px){.pipeline-control-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=640px){.run-log-row{grid-template-columns:72px 44px minmax(0,1fr) 16px}.run-log-step{display:none}.run-log-context{padding-left:var(--space-3)}.pipeline-company-list{padding-left:0}}.cs-codes{flex-wrap:wrap;gap:4px;max-width:340px;display:flex}.cs-code{border-radius:var(--radius-sm);background:var(--theme-surface-muted);border:1px solid var(--theme-border);color:var(--theme-text);white-space:nowrap;align-items:center;padding:1px 6px;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:11px;line-height:1.5;display:inline-flex}.cs-code.is-missing{color:var(--theme-warning);background:color-mix(in srgb, var(--theme-warning) 8%, transparent);border-style:dashed}.cs-codes-block{flex-direction:column;gap:4px;max-width:340px;display:flex}.cs-codes-note{color:var(--theme-text-light);overflow-wrap:anywhere;font-size:11px}.cs-codes-note.is-missing{color:var(--theme-warning)}.cs-missing-list{margin:4px 0 0;padding-left:18px}.cs-code-more{color:var(--theme-text-light);align-self:center;font-size:11px}.cs-competency{min-width:180px;max-width:320px}.cs-competency-name{font-weight:500;font-size:var(--font-sm);color:var(--theme-text)}.cs-ready{font-size:var(--font-sm);align-items:center;gap:6px;display:inline-flex}.cs-ready svg{flex-shrink:0}.cs-ready.is-ok svg{color:var(--theme-success)}.cs-ready.is-missing{color:var(--theme-text-light)}.cs-ready.is-missing svg{color:var(--theme-text-faint)}.cs-summary{gap:var(--space-2);flex-wrap:wrap;display:flex}.cs-warnings{padding-left:var(--space-4);gap:var(--space-1);flex-direction:column;margin:0;display:flex}.cs-message{max-width:360px;font-size:var(--font-xs);color:var(--theme-text-light)}.cs-message.is-error{color:var(--theme-error)}.cs-detail{color:var(--theme-text-light);word-break:break-word;margin-top:2px;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:11px;display:block}.cs-filters{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.cs-filters .toolbar-search{flex:220px}.cs-company-filter{min-width:200px}.cs-settings{overflow:hidden}.cs-settings-head{padding:var(--space-5) var(--space-6);border-bottom:1px solid var(--theme-border)}.cs-settings-title{font-size:var(--font-md);color:var(--theme-text);margin:0;font-weight:600}.cs-settings-subtitle{margin:var(--space-1) 0 0;font-size:var(--font-sm);color:var(--theme-text-light)}.cs-settings-body{padding:0 var(--space-6)}.cs-settings-section{gap:var(--space-7);padding:var(--space-6) 0;grid-template-columns:minmax(180px,260px) minmax(0,1fr);display:grid}.cs-settings-section+.cs-settings-section{border-top:1px solid var(--theme-border)}.cs-settings-section-title{font-size:var(--font-base);color:var(--theme-text);margin:0;font-weight:600}.cs-settings-section-desc{margin:var(--space-1) 0 0;font-size:var(--font-sm);color:var(--theme-text-light);line-height:1.5}.cs-settings-controls{gap:var(--space-4);flex-direction:column;min-width:0;display:flex}.cs-settings-text{max-width:360px}.cs-settings-controls .input-wrap:has(.cs-settings-number){max-width:160px}.cs-settings-unit{padding-right:var(--space-3);font-size:var(--font-sm);color:var(--theme-text-light);pointer-events:none}.cs-settings-pair{gap:var(--space-4);grid-template-columns:repeat(auto-fill,minmax(200px,1fr));align-items:start;display:grid}.cs-settings-companies{gap:var(--space-3) var(--space-4);padding:var(--space-4);border:1px solid var(--theme-border);border-radius:var(--radius-md);background:var(--theme-surface-muted);grid-template-columns:repeat(auto-fill,minmax(240px,1fr));display:grid}.cs-settings-companies.is-invalid{border-color:var(--theme-error)}.cs-settings-company{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:inline-flex}.cs-choices{gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(240px,1fr));display:grid}.cs-choice{align-items:flex-start;gap:var(--space-3);padding:var(--space-4);border:1px solid var(--theme-border);border-radius:var(--radius-md);background:var(--theme-surface);cursor:pointer;transition:border-color var(--transition-fast), background-color var(--transition-fast);display:flex;position:relative}.cs-choice:hover{border-color:var(--theme-border-strong)}.cs-choice.is-selected{border-color:var(--theme-primary);background:var(--theme-primary-soft)}.cs-choice-input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.cs-choice-dot{border:1.5px solid var(--theme-border-strong);background:var(--theme-surface);width:16px;height:16px;transition:border-color var(--transition-fast), box-shadow var(--transition-fast);border-radius:50%;flex-shrink:0;margin-top:2px}.cs-choice.is-selected .cs-choice-dot{border:5px solid var(--theme-primary)}.cs-choice-input:focus-visible+.cs-choice-dot{box-shadow:var(--theme-focus-ring)}.cs-choice-text{gap:var(--space-1);flex-direction:column;min-width:0;display:flex}.cs-choice-title{font-size:var(--font-sm);color:var(--theme-text);font-weight:600}.cs-choice-desc{font-size:var(--font-xs);color:var(--theme-text-light);line-height:1.5}.cs-toggle{justify-content:space-between;align-items:center;gap:var(--space-4);padding:var(--space-4);border:1px solid var(--theme-border);border-radius:var(--radius-md);display:flex}.cs-toggle-text{gap:var(--space-1);flex-direction:column;min-width:0;display:flex}.cs-toggle-title{font-size:var(--font-sm);color:var(--theme-text);font-weight:500}.cs-settings-foot{justify-content:space-between;align-items:center;gap:var(--space-3) var(--space-4);padding:var(--space-4) var(--space-6);border-top:1px solid var(--theme-border);background:var(--theme-surface-muted);flex-wrap:wrap;display:flex}.cs-settings-state{align-items:center;gap:var(--space-2);font-size:var(--font-sm);color:var(--theme-text-light);display:inline-flex}.cs-settings-state svg{color:var(--theme-success);flex-shrink:0}.cs-settings-state.is-dirty{color:var(--theme-text)}.cs-settings-state-dot{background:var(--theme-warning);border-radius:50%;width:8px;height:8px}.cs-settings-state.is-error,.cs-settings-state.is-error svg{color:var(--theme-error)}.cs-settings-actions{align-items:center;gap:var(--space-2);margin-left:auto;display:flex}@media (width<=900px){.cs-settings-section{gap:var(--space-4);grid-template-columns:minmax(0,1fr)}}@media (width<=640px){.cs-settings-head,.cs-settings-foot{padding-left:var(--space-4);padding-right:var(--space-4)}.cs-settings-body{padding:0 var(--space-4)}.cs-settings-section{padding:var(--space-5) 0}}.app-shell{height:100vh;display:flex;position:relative;overflow:hidden}.app-shell-main{flex-direction:column;flex:1;min-width:0;display:flex;overflow:hidden}.app-shell-content{padding:var(--space-6);flex:1;overflow-y:auto}.app-shell-page{gap:var(--space-5);flex-direction:column;max-width:1400px;margin:0 auto;display:flex}.app-shell-banner{justify-content:space-between;align-items:center;gap:var(--space-2) var(--space-4);flex-wrap:wrap;display:flex}@media (width<=640px){.app-shell-content{padding:var(--space-4)}}.toast{border-radius:var(--radius-md);border:1px solid var(--theme-border);background:var(--theme-surface);width:min(380px,100vw - 32px);box-shadow:var(--theme-shadow-lg);animation:notification-slide-in var(--transition-base);align-items:flex-start;gap:10px;padding:12px 14px;display:flex;position:relative;overflow:hidden}.toast-icon{flex-shrink:0;width:19px;height:19px;margin-top:1px}.toast-message{min-width:0;font-size:var(--font-sm);color:var(--theme-text);flex:1;font-weight:500;line-height:1.5}.toast-close{color:var(--theme-text-light);cursor:pointer;background:0 0;border:none;flex-shrink:0;padding:0;display:inline-flex}.toast-close:hover{color:var(--theme-text)}.toast-close svg{width:15px;height:15px}.toast-timer{transform-origin:0;opacity:.6;width:100%;height:2px;animation:3.5s linear forwards toast-shrink;position:absolute;bottom:0;left:0}@keyframes toast-shrink{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.toast-success .toast-icon,.toast-success .toast-timer{color:var(--theme-success);background:var(--theme-success)}.toast-warning .toast-icon,.toast-warning .toast-timer{color:var(--theme-warning);background:var(--theme-warning)}.toast-error .toast-icon,.toast-error .toast-timer{color:var(--theme-error);background:var(--theme-error)}.toast-info .toast-icon,.toast-info .toast-timer{color:var(--theme-info);background:var(--theme-info)}.notification-host{top:calc(var(--header-height) + 12px);z-index:var(--z-toast);flex-direction:column;gap:8px;display:flex;position:fixed;right:16px}:root{--theme-primary:#4338ca;--theme-primary-hover:#3730a3;--theme-primary-soft:#eef0fd;--theme-success:#15803d;--theme-warning:#b45309;--theme-error:#dc2626;--theme-info:#2563eb;--theme-bg:#f7f8fa;--theme-surface:#fff;--theme-surface-muted:#f3f4f6;--theme-surface-hover:#eceef2;--theme-text:#111827;--theme-text-light:#6b7280;--theme-text-faint:#9ca3af;--theme-on-primary:#fff;--theme-border:#e5e7eb;--theme-border-strong:#d1d5db;--theme-shadow-sm:0 1px 2px #1118270a;--theme-shadow-md:0 1px 2px #1118270a, 0 4px 12px #1118270f;--theme-shadow-lg:0 4px 6px #1118270a, 0 12px 32px #1118271a;--theme-focus-ring:0 0 0 3px #4338ca33;--theme-backdrop:#11182773;--radius-sm:6px;--radius-md:8px;--radius-lg:10px;--radius-xl:12px;--radius-pill:999px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-7:32px;--space-8:40px;--font-xs:12px;--font-sm:13px;--font-base:14px;--font-md:15px;--font-lg:16px;--font-xl:18px;--font-2xl:22px;--ease:cubic-bezier(.4, 0, .2, 1);--transition-fast:.12s var(--ease);--transition-base:.18s var(--ease);--header-height:56px;--sidebar-width:240px;--sidebar-collapsed-width:64px;--z-dropdown:100;--z-sticky:1000;--z-drawer:1500;--z-modal-backdrop:2000;--z-modal:2010;--z-toast:3000;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--theme-primary:#818cf8;--theme-primary-hover:#a5b4fc;--theme-primary-soft:#818cf824;--theme-success:#4ade80;--theme-warning:#fbbf24;--theme-error:#f87171;--theme-info:#60a5fa;--theme-bg:#0c0e13;--theme-surface:#14171e;--theme-surface-muted:#1b1f28;--theme-surface-hover:#232833;--theme-text:#e5e7eb;--theme-text-light:#9ca3af;--theme-text-faint:#6b7280;--theme-on-primary:#0c0e13;--theme-border:#ffffff14;--theme-border-strong:#ffffff29;--theme-shadow-sm:0 1px 2px #0006;--theme-shadow-md:0 4px 12px #00000059;--theme-shadow-lg:0 16px 40px #00000080;--theme-focus-ring:0 0 0 3px #818cf852;--theme-backdrop:#0009;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{background:var(--theme-bg);color:var(--theme-text);font-family:Inter,Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,Arial,sans-serif;font-size:var(--font-base);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0;line-height:1.5}h1,h2,h3,h4,h5,h6{letter-spacing:-.01em;margin:0;font-weight:600}::selection{background:color-mix(in srgb, var(--theme-primary) 22%, transparent)}:focus-visible{box-shadow:var(--theme-focus-ring);border-radius:var(--radius-sm);outline:none}button{font-family:inherit}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--theme-border-strong);border-radius:var(--radius-pill);background-clip:padding-box;border:3px solid #0000}::-webkit-scrollbar-thumb:hover{background:var(--theme-text-faint);background-clip:padding-box}.menu-trigger{border-radius:var(--radius-md);min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background-color var(--transition-fast);background:0 0;border:none;align-items:center;gap:10px;padding:5px 8px;display:flex}.menu-trigger:hover,.menu-trigger[aria-expanded=true]{background:var(--theme-surface-muted)}.dropdown-menu{background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:var(--radius-lg);box-shadow:var(--theme-shadow-lg);animation:menu-pop-in var(--transition-base);padding:4px;overflow:hidden}.dropdown-item{border-radius:var(--radius-sm);width:100%;color:var(--theme-text);font:inherit;font-size:var(--font-sm);text-align:left;cursor:pointer;transition:background-color var(--transition-fast);background:0 0;border:none;align-items:center;gap:10px;padding:8px 10px;display:flex}.dropdown-item:hover,.dropdown-item:focus-visible{background:var(--theme-surface-muted)}.dropdown-item.is-selected{background:var(--theme-primary-soft)}.dropdown-item.is-danger{color:var(--theme-error)}.dropdown-item svg{color:var(--theme-text-light);flex-shrink:0}.dropdown-item.is-danger svg{color:var(--theme-error)}.dropdown-divider{background:var(--theme-border);height:1px;margin:4px -4px}.dropdown-message{font-size:var(--font-sm);color:var(--theme-text-light);padding:12px 10px}.search-result{border-radius:var(--radius-sm);width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background-color var(--transition-fast);background:0 0;border:none;align-items:center;gap:12px;padding:10px 12px;display:flex}.search-result:hover,.search-result:focus-visible{background:var(--theme-surface-muted)}.text-muted{color:var(--theme-text-light)}.text-strong{color:var(--theme-text);font-weight:600}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.form-stack{gap:var(--space-4);flex-direction:column;display:flex}.form-row{gap:var(--space-4);grid-template-columns:1fr 1fr;display:grid}@media (width<=560px){.form-row{grid-template-columns:1fr}}.form-switch-row{justify-content:space-between;align-items:center;gap:var(--space-4);display:flex}.form-section-title{padding-top:var(--space-2);font-size:var(--font-xs);letter-spacing:.04em;text-transform:uppercase;color:var(--theme-text-light);font-weight:600}.form-section-title:first-child{padding-top:0}.table-actions{justify-content:flex-end;align-items:center;gap:2px;display:flex}.toolbar{justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-4);flex-wrap:wrap;display:flex}.toolbar-search{width:min(300px,100%)}.center-block{justify-content:center;align-items:center;gap:var(--space-3);padding:var(--space-8) var(--space-4);text-align:center;color:var(--theme-text-light);font-size:var(--font-sm);flex-direction:column;display:flex}@keyframes notification-slide-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@keyframes menu-pop-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes spin{to{transform:rotate(360deg)}}
