:root{color:#1c2530;font-synthesis:none;text-rendering:optimizelegibility;background:#f2f5fa;font-family:Inter,Pretendard,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.batch-schedule{color:var(--shell-subtle,#5b6c82);margin:0;font-size:.9rem}.operations-panel{border:1px solid var(--shell-line,#d8e1ed);background:var(--shell-card,#fff);border-radius:12px;gap:1rem;padding:1.25rem;display:grid}.operations-panel h2{margin:0;font-size:1rem}.operations-form{flex-wrap:wrap;align-items:end;gap:.75rem;display:flex}.operations-form label{color:var(--shell-subtle,#5b6c82);gap:.35rem;font-size:.82rem;display:grid}.operations-form input,.operations-form select{border:.0625rem solid var(--shell-line,#d8e1ed);min-width:9rem;min-height:2.5rem;color:var(--shell-text,#1c2530);background:var(--shell-card,#fff);font:inherit;border-radius:.5rem;padding:.5rem .75rem}.batch-table details{min-width:7rem}.batch-table ol{margin:.5rem 0 0;padding-left:1.25rem}.batch-result-summary{flex-wrap:wrap;gap:.375rem;min-width:18rem;margin:0;display:flex}.batch-result-summary>div{color:var(--shell-subtle,var(--muted));background:var(--shell-bg,#f2f5fa);white-space:nowrap;border-radius:999rem;align-items:baseline;gap:.25rem;padding:.25rem .5rem;display:inline-flex}.batch-result-summary dt{font-size:.7rem}.batch-result-summary dd{color:var(--shell-text,inherit);margin:0;font-size:.78rem;font-weight:800}.batch-result-error{color:var(--shell-amber,#a15c00);font-weight:700}.batch-job-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr));gap:1rem;display:grid}.batch-job-card{border:.0625rem solid var(--shell-line,var(--border));background:var(--shell-card,var(--surface));min-width:0;box-shadow:var(--shell-shadow,none);border-radius:.875rem;align-content:start;gap:.75rem;padding:1rem;display:grid}.batch-job-card p{margin:0}.batch-job-head{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.batch-job-head h3{margin:0;font-size:1rem}.batch-job-status{border-radius:999rem;flex:none;padding:.25rem .625rem;font-size:.72rem;font-weight:800}.batch-job-status--ready{color:var(--shell-green,#177245);background:var(--shell-green-soft,#e6f6ee)}.batch-job-status--configuration_required{color:var(--shell-amber,#a15c00);background:var(--shell-amber-soft,#fdf3e0)}.batch-job-status--coming_soon{color:var(--shell-subtle,var(--muted));background:var(--shell-bg,#f2f5fa)}.batch-job-controls{align-content:start;gap:.75rem;display:grid}.batch-action-message{color:var(--shell-text,inherit);margin:0;font-weight:700}@media (width<=720px){.operations-form,.operations-form label,.operations-form input,.operations-form select,.operations-form button{width:100%}}*{box-sizing:border-box}html{background:#f2f5fa;min-width:20rem;min-height:100%}body{background:#f2f5fa;min-width:20rem;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{color:#fff;cursor:pointer;background:#1c2530;border:0;border-radius:.75rem;min-height:3rem;padding:.75rem 1.25rem;font-weight:700}button:hover:not(:disabled){background:#303b48}button:disabled{cursor:wait;opacity:.6}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:.125rem;outline:.1875rem solid #4b74a9}.centered{color:#5b6c82;place-items:center;min-height:100vh;padding:1.5rem;display:grid}.notice-card,.login-card,.permission-card{background:#fff;border:.0625rem solid #d8e1ed;border-radius:1.25rem;box-shadow:0 .5rem 1.5rem #283a4e14}.notice-card{width:min(100%,32rem);padding:2rem}.notice-card h1,.notice-card p{margin:0}.notice-card p{margin-top:.75rem}.login-layout{grid-template-columns:minmax(0,1.1fr) minmax(20rem,.9fr);align-items:center;gap:4rem;width:min(100% - 3rem,70rem);min-height:100vh;margin:0 auto;padding:3rem 0;display:grid}.login-intro{max-width:38rem}.login-intro h1{letter-spacing:-.05em;margin:.5rem 0 1rem;font-size:clamp(2.5rem,6vw,4.75rem);line-height:1}.login-intro>p:last-child{color:#5b6c82;max-width:34rem;margin:0;font-size:1.125rem;line-height:1.7}.eyebrow{color:#526b8c;letter-spacing:.12em;margin:0;font-size:.75rem;font-weight:800}.login-card{gap:2rem;padding:2.5rem;display:grid}.login-card h2{letter-spacing:-.025em;margin:.5rem 0 .25rem;font-size:1.75rem}.muted,.section-heading p{color:#5b6c82;margin:0;line-height:1.6}.login-card form{gap:.75rem;display:grid}.login-card label{color:#3b4858;font-size:.875rem;font-weight:700}.login-card input,.login-card select{color:#1c2530;background:#fbfcfe;border:.0625rem solid #cbd6e4;border-radius:.75rem;width:100%;height:3rem;padding:0 .875rem}.login-card input:focus,.login-card select:focus{background:#fff;border-color:#4b74a9}.login-card label:not(:first-child){margin-top:.5rem}.login-card button{margin-top:.75rem}.login-card .text-button{color:#405a7d;background:0 0;min-height:2.5rem;margin-top:0;padding:.5rem}.login-card .text-button:hover:not(:disabled){background:#edf3fa}.login-card .login-help{color:var(--shell-subtle,#5c6f8a);text-align:center;margin:.25rem 0 0;font-size:.8rem;line-height:1.5}.form-error{color:#a53b3b;margin:.25rem 0 0;font-size:.875rem;line-height:1.5}.app-shell{width:min(100% - 3rem,94rem);margin:0 auto;padding:2.5rem 0 4rem}.app-header{justify-content:space-between;align-items:center;gap:1.5rem;margin-bottom:2rem;display:flex}.app-header h1{letter-spacing:-.035em;margin:.375rem 0 0;font-size:2rem}.account-actions{align-items:center;gap:.75rem;display:flex}.account-name{color:#3b4858;text-overflow:ellipsis;white-space:nowrap;max-width:18rem;font-size:.9375rem;overflow:hidden}.role-badge{color:#405a7d;background:#edf3fa;border:.0625rem solid #cfdae7;border-radius:999rem;align-items:center;min-height:2.25rem;padding:.375rem .875rem;font-size:.8125rem;font-weight:800;display:inline-flex}.secondary-button{color:#3b4858;background:#fff;border:.0625rem solid #cbd6e4;min-height:2.5rem;padding:.5rem .875rem}.secondary-button:hover:not(:disabled){background:#f8fafc}.page-error{background:#fff7f7;border:.0625rem solid #eccaca;border-radius:.75rem;margin-bottom:1rem;padding:.875rem 1rem}.approval-notice{gap:1rem;display:grid}.approval-notice h1,.approval-notice p,.approval-notice button{margin:0}.approval-notice button{justify-self:start;margin-top:.5rem}.feature-actions{background:#fff;border:.0625rem solid #d8e1ed;border-radius:1rem;align-items:center;gap:.75rem;margin-bottom:1.25rem;padding:1rem;display:flex}.feature-actions button{min-height:2.5rem;padding:.5rem .875rem}.feature-actions span{color:#5b6c82;margin-left:auto;font-size:.875rem}.summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:1.25rem;display:grid}.summary-card{background:#eef3f9;border:.0625rem solid #d8e1ed;border-radius:1rem;align-content:space-between;min-height:7.25rem;padding:1.25rem;display:grid}.summary-card span{color:#5b6c82;font-size:.875rem}.summary-card strong{overflow-wrap:anywhere;font-size:1.125rem}.permission-card{overflow:hidden}.registration-card{margin-bottom:1.25rem}.empty-state,.inline-error{margin:0;padding:1.25rem 1.75rem}.table-input{border:.0625rem solid var(--shell-line,#cbd6e4);width:10rem;height:2.5rem;color:var(--shell-text,#1c2530);background:var(--shell-card,#fbfcfe);border-radius:.625rem;padding:0 .75rem}.table-actions{gap:.5rem;display:flex}.table-actions button{min-height:0;padding:.3125rem .625rem;font-size:.8rem;font-weight:600}.access-management-table th[scope=row] strong,.access-management-table th[scope=row] small{display:block}.access-management-table th[scope=row] small{color:var(--shell-subtle,#5b6c82);margin-top:.25rem;font-weight:500}.access-management-table .table-input{width:min(100%,12rem)}.permission-editor-table input[type=checkbox]{width:1.125rem;height:1.125rem;accent-color:var(--shell-accent,#3b5cff)}.sr-only{white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.section-heading{border-bottom:.0625rem solid #d8e1ed;padding:1.5rem 1.75rem}.section-heading h2{margin:0 0 .375rem;font-size:1.25rem}.table-scroll{overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%}th,td{white-space:nowrap;border-bottom:.0625rem solid #e3e9f1;padding:1rem 1.75rem}thead th{color:#5b6c82;background:#f7f9fc;font-size:.8125rem;font-weight:800}tbody th{font-weight:700}tbody td{color:#526175}tbody tr:last-child th,tbody tr:last-child td{border-bottom:0}@media (width<=48rem){.login-layout{grid-template-columns:1fr;gap:2rem;width:min(100% - 2rem,34rem);padding:2rem 0}.login-intro h1{font-size:3rem}.login-card{padding:1.5rem}.app-shell{width:min(100% - 2rem,94rem);padding-top:1.5rem}.app-header{flex-direction:column;align-items:flex-start}.account-actions{justify-content:space-between;width:100%}.summary-grid{grid-template-columns:1fr}.feature-actions{flex-direction:column;align-items:stretch}.feature-actions span{margin-left:0}.summary-card{min-height:6rem}.section-heading,th,td{padding-left:1rem;padding-right:1rem}}:root{--shell-bg:#f4f6fb;--shell-card:#fff;--shell-sidebar:#fff;--shell-sidebar-muted:#5f6b7a;--shell-line:#e4e8f0;--shell-text:#1f2733;--shell-subtle:#5f6b7a;--shell-accent:#3b5bfd;--shell-accent-text:#3453f4;--shell-accent-soft:#eaeefe;--shell-green:#18a058;--shell-green-soft:#e6f6ee;--shell-amber:#9a5b00;--shell-amber-soft:#fdf3e0;--shell-red:#e03e3e;--shell-red-soft:#fde8e8;--shell-shadow:0 1px 3px #141e3c14, 0 6px 20px #141e3c0d}html[data-theme=dark]{--shell-bg:#0f1420;--shell-card:#1a2130;--shell-sidebar:#1a2130;--shell-sidebar-muted:#93a0b8;--shell-line:#2b3547;--shell-text:#e6ebf5;--shell-subtle:#93a0b8;--shell-accent:#6b8bff;--shell-accent-text:#6b8bff;--shell-accent-soft:#1e2a52;--shell-green:#3fca7f;--shell-green-soft:#13301f;--shell-amber:#e0a53a;--shell-amber-soft:#3a2c10;--shell-red:#f06a6a;--shell-red-soft:#3a1c1c;--shell-shadow:0 1px 3px #0006, 0 6px 20px #0000004d}.mutation-toast-region{z-index:2147483647;width:min(22rem,100vw - 2rem);color:inherit;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto auto 1rem 1rem;overflow:visible}.mutation-toast{border:.0625rem solid var(--shell-line);min-height:3.25rem;color:var(--shell-text);background:var(--shell-card);box-shadow:var(--shell-shadow);border-radius:.75rem;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.75rem .875rem;display:grid}.mutation-toast--success{border-color:var(--shell-green)}.mutation-toast--error{border-color:var(--shell-red)}.mutation-toast-icon{width:1.5rem;height:1.5rem;color:var(--shell-card);background:var(--shell-green);border-radius:50%;place-items:center;font-size:.85rem;font-weight:900;display:grid}.mutation-toast--error .mutation-toast-icon{background:var(--shell-red)}.mutation-toast-message{font-size:.9rem;font-weight:800}.mutation-toast-close{width:2rem;min-height:2rem;color:var(--shell-subtle);background:0 0;border:0;border-radius:.375rem;padding:0;font-size:1.25rem;line-height:1}.mutation-toast-close:hover:not(:disabled){color:var(--shell-text);background:var(--shell-bg)}.erp-button{cursor:pointer;border-radius:.5rem;min-height:0;font-family:inherit}.erp-button--primary{color:#fff;background:var(--shell-accent);border:0}.erp-button--ghost,.erp-button--danger{border:.0625rem solid var(--shell-line);color:var(--shell-text);background:var(--shell-card)}.erp-button--danger{color:var(--shell-red)}.erp-button[aria-disabled=true],.invoice-detail-link[aria-disabled=true]{opacity:.55;cursor:help}.erp-button--default{padding:.5625rem 1rem;font-size:.88rem;font-weight:700}.erp-button--sm{padding:.3125rem .625rem;font-size:.8rem;font-weight:600}.erp-button--toolbar{padding:.4375rem .875rem;font-size:.85rem;font-weight:700}.erp-button--primary:hover:not(:disabled){background:var(--shell-accent);filter:brightness(1.05)}.erp-button--ghost:hover:not(:disabled),.erp-button--danger:hover:not(:disabled){background:var(--shell-bg)}.erp-layout{min-height:100vh;color:var(--shell-text);background:var(--shell-bg);display:flex}.erp-sidebar{border-right:.0625rem solid var(--shell-line);width:13.75rem;height:100vh;color:var(--shell-text);background:var(--shell-sidebar);flex-direction:column;flex:0 0 13.75rem;padding:1.25rem .875rem;display:flex;position:sticky;top:0}.brand{letter-spacing:-.01875rem;margin-bottom:1.125rem;padding:0 .5rem;font-size:1.2rem;font-weight:800;line-height:1.3}.brand strong,.brand span{display:block}.brand span{color:var(--shell-accent-text);margin-top:.125rem;font-size:.92rem;font-weight:800}.business-navigation,.sidebar-footer,.nav-group,.nav-group-items{flex-direction:column;display:flex}.business-navigation{flex-shrink:0;gap:.1875rem}.erp-sidebar button{min-height:0;color:var(--shell-sidebar-muted);text-align:left;background:0 0;border-radius:.5625rem;padding:.625rem .75rem;font-size:.92rem;font-weight:600}.erp-sidebar button:hover:not(:disabled),.erp-sidebar button:focus-visible{color:var(--shell-text);background:var(--shell-bg)}.erp-sidebar .nav-item.active{color:var(--shell-accent-text);background:var(--shell-accent-soft)}.nav-item,.nav-group-button{align-items:center;gap:.5625rem;display:flex}.nav-group-items{border-left:.125rem solid var(--shell-line);gap:.125rem;margin:.125rem 0 .25rem .5rem;padding-left:.5rem}.nav-group-items .nav-item{padding:.5rem .625rem;font-size:.85rem}.nav-caret{margin-left:auto;font-size:1rem;line-height:1}.sidebar-footer{border-top:.0625rem solid var(--shell-line);gap:.25rem;margin-top:auto;padding-top:.75rem}.userbox{gap:.0625rem;padding:.375rem .625rem .5rem;display:grid}.userbox strong{text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;overflow:hidden}.userbox span{color:var(--shell-sidebar-muted);font-size:.75rem}.erp-sidebar .logout-button{color:var(--shell-sidebar-muted)}.menu-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;flex-shrink:0;width:1.125rem;height:1.125rem}.sidebar-footer .menu-icon{width:1rem;height:1rem}.erp-content{flex:1;min-width:0;padding:1.75rem 2.5rem}.operational-page,.account-management{width:min(100%,100rem);margin:0 auto}.page-head{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.125rem;display:flex}.page-actions{flex-shrink:0;gap:.5rem;display:flex}.page-actions button{background:var(--shell-accent);border-radius:.5rem;min-height:0;padding:.5625rem 1rem;font-size:.88rem}.page-head h1{color:var(--shell-text);letter-spacing:-.025rem;margin:0;font-size:1.35rem;font-weight:800}.page-head .sub,.shell-card p,.shell-kpi p,.date-range-mark{color:var(--shell-subtle)}.page-head .sub{margin:.125rem 0 0;font-size:.85rem;line-height:normal}.date-row{flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:1.125rem;display:flex}.date-preset,.date-query,.shell-card button:not(.erp-button){border:.0625rem solid var(--shell-line);min-height:0;color:var(--shell-subtle);background:var(--shell-card);border-radius:.5rem;padding:.4375rem .875rem;font-family:inherit;font-size:.85rem;font-weight:700}.date-preset.active,.date-query{border-color:var(--shell-accent);color:#fff;background:var(--shell-accent)}.date-row input[type=date]{border:.0625rem solid var(--shell-line);color:var(--shell-text);background:var(--shell-card);border-radius:.5rem;padding:.4375rem .625rem;font-family:inherit;font-size:.85rem}.dashboard-refresh-time{color:var(--muted);margin:0 0 1.125rem;font-size:.8125rem}.date-separator{background:var(--shell-line);width:.0625rem;height:1.375rem;margin:0 .25rem}.shell-kpi-grid,.settings-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.875rem;margin-bottom:1.375rem;display:grid}.shell-kpi,.shell-card{border:.0625rem solid var(--shell-line);background:var(--shell-card);box-shadow:var(--shell-shadow);border-radius:.875rem}.shell-kpi{align-content:start;min-height:8.25rem;padding:1.125rem;display:grid}.shell-kpi span{color:var(--shell-subtle);font-size:.8125rem;font-weight:600}.shell-kpi strong{color:var(--shell-text);letter-spacing:-.0625rem;margin-top:.375rem;font-size:2rem}.shell-kpi strong small{color:var(--shell-subtle);font-size:.9rem;font-weight:600}.shell-kpi p{margin:.25rem 0 0;font-size:.75rem;font-weight:600}.shell-kpi.accent{background:linear-gradient(160deg, #eef7f1, var(--shell-card));border-color:#bfe6cf}html[data-theme=dark] .shell-kpi.accent{background:linear-gradient(160deg, #152a24, var(--shell-card));border-color:#285e45}.shell-kpi.accent strong{color:var(--shell-green)}.dashboard-client-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:.875rem;margin:0;padding:0;list-style:none;display:grid}.dashboard-client-card{border:.0625rem solid var(--shell-line);background:var(--shell-card);border-radius:.875rem;min-width:0;overflow:hidden}.dashboard-client-head{border-bottom:.0625rem solid var(--shell-line);justify-content:space-between;align-items:center;gap:.75rem;padding:.875rem 1rem;display:flex}.dashboard-client-head h3{overflow-wrap:anywhere;color:var(--shell-text);margin:0;font-size:.95rem}.dashboard-client-head strong{color:var(--shell-accent-text);flex:none;font-size:.82rem}.dashboard-client-states{grid-template-columns:repeat(3,minmax(0,1fr));margin:0;display:grid}.dashboard-client-state{min-width:0;padding:.75rem 1rem}.dashboard-client-state+.dashboard-client-state{border-left:.0625rem solid var(--shell-line)}.dashboard-client-state dt{color:var(--shell-text);font-size:.72rem;font-weight:700;line-height:1.35}.dashboard-client-state dd{color:var(--shell-text);letter-spacing:-.025rem;margin:.375rem 0 0;font-size:1.4rem;font-weight:800}.dashboard-client-state.snoozed dd,.dashboard-client-state.queued dd{color:var(--shell-amber)}.dashboard-client-refresh{border-top:.0625rem solid var(--shell-line);color:var(--shell-subtle);margin:0;padding:.625rem 1rem;font-size:.75rem}.shell-card{margin-bottom:1rem;overflow:hidden}.card-head{border-bottom:.0625rem solid var(--shell-line);color:var(--shell-text);margin:0;padding:1rem 1.25rem;font-size:.98rem;font-weight:700}.card-body{min-height:9rem;padding:.5rem 1.25rem 1rem}.coming-soon{min-height:5rem;color:var(--shell-subtle);place-items:center;margin:0;font-weight:700;display:grid}.settings-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-grid .card-body{gap:1rem;display:grid}.settings-grid .card-body button{place-self:start}.dark-mode-control{cursor:pointer;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.dark-mode-control>span:first-child{gap:.125rem;display:grid}.dark-mode-control strong{color:var(--shell-text);font-size:.9rem}.dark-mode-control>span:first-child span{color:var(--shell-subtle);font-size:.8rem}.dark-mode-switch{flex-shrink:0;width:3rem;height:1.625rem;position:relative}.dark-mode-switch input{opacity:0;width:1px;height:1px;position:absolute}.dark-mode-slider{background:#c2ccdd;border-radius:1.625rem;transition:background .2s;position:absolute;inset:0}.dark-mode-slider:before{content:"";background:#fff;border-radius:50%;width:1.25rem;height:1.25rem;transition:transform .2s;position:absolute;bottom:.1875rem;left:.1875rem}.dark-mode-switch input:checked+.dark-mode-slider{background:var(--shell-accent)}.dark-mode-switch input:checked+.dark-mode-slider:before{transform:translate(1.375rem)}.dark-mode-switch input:focus-visible+.dark-mode-slider{outline:.1875rem solid var(--shell-accent-soft);outline-offset:.125rem}.account-management .permission-card,.account-management .registration-card{border-color:var(--shell-line);background:var(--shell-card);box-shadow:var(--shell-shadow);border-radius:.875rem}html[data-theme=dark] .account-management table,html[data-theme=dark] .account-management th,html[data-theme=dark] .account-management td{color:var(--shell-text);background:var(--shell-card)}.company-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,18.75rem),1fr));gap:1rem;display:grid}.company-card{border:.0625rem solid var(--shell-line);background:var(--shell-card);min-width:0;box-shadow:var(--shell-shadow);border-radius:.875rem;padding:1.125rem}.company-title{color:var(--shell-text);margin:0;font-size:1.05rem;font-weight:800}.company-meta{color:var(--shell-subtle);margin-top:.1875rem;font-size:.82rem;line-height:1.5}.status-summary{color:var(--shell-subtle);flex-wrap:wrap;align-items:center;gap:.25rem;margin-top:.5rem;font-size:.78rem;display:flex}.status-badge{background:var(--shell-accent-soft);color:var(--shell-accent-text);border-radius:999rem;align-items:center;gap:.2rem;padding:.1875rem .55rem;font-size:.72rem;font-weight:700;display:inline-flex}.status-재직{background:var(--shell-green-soft);color:var(--shell-green)}.status-휴직{background:var(--shell-amber-soft);color:var(--shell-amber)}.status-퇴사{background:var(--shell-red-soft);color:var(--shell-red)}.company-members{border-top:.0625rem dashed var(--shell-line);flex-direction:column;gap:.4375rem;margin-top:.75rem;padding-top:.625rem;display:flex}.contract-summary{border-top:.0625rem dashed var(--shell-line);color:var(--shell-text);margin-top:.75rem;padding-top:.75rem;font-size:.82rem}.contract-summary dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:.375rem .75rem;margin:.5rem 0 0;display:grid}.contract-summary dl+dl{border-top:.0625rem solid var(--shell-line);margin-top:.75rem;padding-top:.75rem}.contract-summary dl div{min-width:0}.contract-summary dt{color:var(--shell-subtle);font-size:.72rem}.contract-summary dd{overflow-wrap:anywhere;margin:.125rem 0 0;font-weight:700}.company-member{min-width:0;color:var(--shell-text);align-items:center;gap:.5rem;font-size:.88rem;display:flex}.company-member>span:first-child{text-overflow:ellipsis;white-space:nowrap;font-weight:650;overflow:hidden}.company-member>span:last-child{color:var(--shell-subtle);text-overflow:ellipsis;white-space:nowrap;margin-left:auto;font-size:.78rem;overflow:hidden}.company-empty,.organization-state{color:var(--shell-subtle);font-size:.85rem}.organization-state{border:.0625rem solid var(--shell-line);text-align:center;background:var(--shell-card);border-radius:.875rem;padding:2.5rem 1rem}.company-empty{margin:0}.company-actions,.metric-head{flex-wrap:wrap;align-items:center;gap:.375rem;display:flex}.company-actions{margin-top:.875rem}.company-actions button,.metric-head button,.ghost-button,.icon-button{border:.0625rem solid var(--shell-line);min-height:0;color:var(--shell-text);background:var(--shell-card);border-radius:.5rem;padding:.3125rem .625rem;font-size:.8rem;font-weight:600}.company-actions button:first-child:not(.ghost-button){border-color:var(--shell-accent);color:#fff;background:var(--shell-accent)}.company-actions button:hover:not(:disabled),.metric-head button:hover:not(:disabled),.ghost-button:hover:not(:disabled),.icon-button:hover:not(:disabled){background:var(--shell-bg)}.company-actions button:first-child:not(.ghost-button):hover:not(:disabled){background:var(--shell-accent);filter:brightness(.95)}.danger-text-button{color:var(--shell-red)!important}.metric-head{border-top:.0625rem dashed var(--shell-line);margin:.75rem 0 .5rem;padding-top:.75rem;font-size:.85rem}.metric-head button:first-of-type{margin-left:auto}.metric-chips{grid-template-columns:repeat(auto-fill,minmax(6.875rem,1fr));gap:.5rem;display:grid}.metric-chip{border:.0625rem solid var(--shell-line);background:var(--shell-bg);border-radius:.625rem;gap:.125rem;padding:.5625rem .625rem;display:grid}.metric-chip strong{font-size:1.15rem}.metric-chip span{color:var(--shell-subtle);font-size:.74rem}.form-dialog::backdrop{background:#141e3c73}.form-dialog{width:min(100%,48rem);max-height:calc(100vh - 2.5rem);color:var(--shell-text);background:var(--shell-card);border:0;border-radius:1rem;margin:auto;padding:0;position:fixed;inset:0;overflow:hidden;box-shadow:0 1.25rem 3.75rem #00000040}.form-dialog form{grid-template-rows:auto minmax(0,1fr) auto;max-height:calc(100vh - 2.5rem);display:grid}.dialog-head,.dialog-foot,.dialog-section-head{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.dialog-head{border-bottom:.0625rem solid var(--shell-line);padding:1.125rem 1.5rem}.dialog-head h2,.dialog-section-head h3{margin:0}.dialog-head h2{font-size:1.1rem}.icon-button{text-align:center;flex:0 0 2.25rem;width:2.25rem;padding:0;font-size:1.35rem;line-height:1}.dialog-body{padding:1.25rem 1.5rem;overflow-y:auto}.dialog-foot{border-top:.0625rem solid var(--shell-line);justify-content:flex-end;padding:1rem 1.5rem}.form-grid{gap:.875rem;display:grid}.form-grid.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.form-field{min-width:0;color:var(--shell-text);align-content:start;gap:.375rem;font-size:.82rem;font-weight:700;display:grid}.form-field.full-width{grid-column:1/-1}.form-field input,.form-field select,.form-field textarea{border:.0625rem solid var(--shell-line);width:100%;color:var(--shell-text);background:var(--shell-card);border-radius:.5rem;padding:.625rem .75rem;font-size:.9rem;font-weight:500}.form-field textarea{resize:vertical;min-height:5rem}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--shell-accent);box-shadow:0 0 0 .1875rem var(--shell-accent-soft);outline:none}.choice-fieldset,.contract-panel{border:.0625rem solid var(--shell-line);border-radius:.75rem;margin:1rem 0 0;padding:.875rem 1rem 1rem}.choice-fieldset legend,.contract-panel legend{padding:0 .375rem;font-size:.82rem;font-weight:800}.choice-row{flex-wrap:wrap;gap:.5rem .875rem;display:flex}.choice-row.compact{gap:.5rem .75rem}.choice-row label{color:var(--shell-text);cursor:pointer;align-items:center;gap:.3125rem;font-size:.82rem;display:inline-flex}.metric-choice-group+.metric-choice-group{margin-top:.75rem}.metric-choice-group>strong,.inline-fieldset>strong{color:var(--shell-subtle);margin-bottom:.375rem;font-size:.76rem;display:block}.inline-fieldset{margin-top:.75rem}.dialog-section{border-top:.0625rem solid var(--shell-line);margin-top:1.25rem;padding-top:1.125rem}.dialog-section-head h3{font-size:.98rem}.dialog-section-head p{color:var(--shell-subtle);margin:.1875rem 0 0;font-size:.78rem}.contract-panel{background:var(--shell-bg)}.contract-panel .form-field input,.contract-panel .form-field select{background:var(--shell-card)}.phase-picker{grid-template-columns:repeat(12,minmax(2.5rem,1fr));gap:.375rem;margin-top:.875rem;padding-bottom:.25rem;display:grid;overflow-x:auto}.phase-chip{border:.0625rem solid var(--shell-line);min-height:3.25rem;color:var(--shell-subtle);background:var(--shell-card);border-radius:.5rem;flex-direction:column;justify-content:center;align-items:center;gap:.125rem;padding:.375rem .125rem;font-size:.76rem;display:flex}.phase-chip small{font-size:.7rem;font-weight:800}.phase-chip.phase-1{border-color:var(--shell-accent);color:var(--shell-accent-text);background:var(--shell-accent-soft)}.phase-chip.phase-2{border-color:var(--shell-green);color:var(--shell-green);background:var(--shell-green-soft)}.contract-remove{margin-top:.75rem}.credential-section{margin-bottom:.25rem}.credential-section .form-grid{margin-top:.875rem}.workforce-table-wrap,.attendance-grid-wrap{border:.0625rem solid var(--shell-line);background:var(--shell-card);box-shadow:var(--shell-shadow);border-radius:.875rem}.workforce-table{min-width:88rem}.workforce-table th,.workforce-table td,.attendance-grid th,.attendance-grid td{border-color:var(--shell-line);color:var(--shell-text);background:var(--shell-card)}.workforce-table thead th,.attendance-grid thead th{color:var(--shell-subtle);background:var(--shell-bg)}.workforce-table td{padding:.75rem 1rem;font-size:.82rem}.workforce-table .nick,.workforce-table small{color:var(--shell-subtle)}.workforce-table .staff-retired-divider th{border-top:2px solid var(--shell-line,#d8e1ed);text-align:left;background:var(--shell-bg,#f2f5fa);padding:12px}.workforce-table .inactive-row{opacity:.68}.workforce-table .table-actions{gap:.25rem;display:flex}.weekday-field{border:.0625rem solid var(--shell-line);border-radius:.5rem;margin:0;padding:.75rem}.weekday-field legend{padding:0 .25rem}.weekday-field label{align-items:center;gap:.25rem;margin-right:.875rem;font-weight:500;display:inline-flex}.calendar-toolbar,.attendance-toolbar{flex-wrap:wrap}.calendar-toolbar label,.attendance-toolbar label{color:var(--shell-subtle);align-items:center;gap:.375rem;font-size:.8rem;font-weight:700;display:inline-flex}.calendar-toolbar select,.attendance-toolbar select,.attendance-toolbar input{border:.0625rem solid var(--shell-line);min-height:2.25rem;color:var(--shell-text);background:var(--shell-card);border-radius:.5rem;padding:.375rem .625rem}.calendar-summary,.attendance-headline{border:.0625rem solid var(--shell-line);color:var(--shell-text);background:var(--shell-card);border-radius:.75rem;justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:.75rem;padding:.875rem 1rem;display:flex}.calendar-summary span{color:var(--shell-subtle);font-size:.8rem}.attendance-headline{color:var(--shell-accent-text);justify-content:flex-start;font-weight:800}.work-calendar-grid{border:.0625rem solid var(--shell-line);background:var(--shell-card);box-shadow:var(--shell-shadow);border-radius:.875rem;grid-template-columns:repeat(7,minmax(5rem,1fr));display:grid;overflow:hidden}.calendar-weekday{color:var(--shell-subtle);background:var(--shell-bg);text-align:center;padding:.625rem;font-size:.78rem;font-weight:800}.calendar-day,.calendar-pad{border:0;border-top:.0625rem solid var(--shell-line);border-right:.0625rem solid var(--shell-line);min-height:6.5rem;color:var(--shell-text);background:var(--shell-card);padding:.625rem}.calendar-day{text-align:left;flex-direction:column;align-items:flex-start;gap:.25rem;display:flex}.calendar-day span,.calendar-day small{color:var(--shell-subtle);font-size:.72rem}.calendar-day.calendar-work{box-shadow:inset 0 .1875rem 0 var(--shell-accent)}.calendar-day.calendar-off{color:var(--shell-red);background:var(--shell-red-soft)}.calendar-day.manual small:after{content:" · 수동"}.calendar-day:hover:not(:disabled){background:var(--shell-accent-soft)}.attendance-grid{table-layout:fixed;min-width:132rem}.attendance-grid th,.attendance-grid td{text-align:center;width:6rem;min-width:6rem;padding:.4375rem .25rem}.attendance-grid th small,.attendance-grid th span{color:var(--shell-subtle);margin-top:.125rem;font-size:.68rem;font-weight:600;display:block}.attendance-grid .sticky-cell{z-index:2;text-align:left;width:10rem;box-shadow:.0625rem 0 0 var(--shell-line);position:sticky;left:0}.attendance-grid thead .sticky-cell{z-index:3}.attendance-grid .off-day{color:var(--shell-red);background:var(--shell-red-soft)}.attendance-grid input,.attendance-grid textarea{width:100%;min-width:0;color:inherit;text-align:center;background:0 0;border:.0625rem solid #0000;border-radius:.375rem;padding:.375rem .125rem;font-size:.72rem}.attendance-cell-editor{position:relative}.attendance-cell-editor input{padding-right:1.25rem}.attendance-option-select{width:1.35rem;height:100%;color:var(--shell-text);background:var(--shell-card);border:0;border:1px solid var(--shell-line);appearance:none;text-align:center;cursor:pointer;border-radius:.25rem;padding:0;font-size:.9rem;position:absolute;top:0;right:0}.attendance-option-select option{color:var(--shell-text);background:var(--shell-card);font-size:.85rem}.attendance-option-select:focus-visible{outline:.125rem solid var(--shell-accent);outline-offset:0}.attendance-option-select:disabled{display:none}.attendance-grid input:focus{border-color:var(--shell-accent);background:var(--shell-card);box-shadow:0 0 0 .125rem var(--shell-accent-soft);outline:none}.attendance-grid input:disabled{opacity:1}.attendance-summary{grid-template-columns:repeat(auto-fill,minmax(min(100%,16rem),1fr));gap:.75rem;margin-top:1rem;display:grid}.attendance-summary h2{grid-column:1/-1;margin:.5rem 0 0;font-size:1rem}.attendance-summary h2 small{color:var(--shell-subtle);font-weight:600}.attendance-card{border:.0625rem solid var(--shell-line);color:var(--shell-text);background:var(--shell-card);box-shadow:var(--shell-shadow);border-radius:.75rem;gap:.375rem;padding:.875rem;font-size:.8rem;display:grid}.attendance-card>span{color:var(--shell-subtle)}.attendance-card .status-badge{margin:.25rem .25rem 0 0}.attendance-card.aggregate-card{border-color:var(--shell-accent);background:var(--shell-accent-soft)}.attendance-card h3{margin:0;font-size:.95rem}.attendance-grid td.attendance-근무,.attendance-근무,.attendance-grid td.attendance-연차,.attendance-연차,.attendance-grid td.attendance-반차,.attendance-반차{color:var(--shell-text);background:0 0}.attendance-grid td.attendance-휴무,.attendance-휴무{color:#566074;background:#f0f2f6}.attendance-grid td.attendance-결근,.attendance-결근{color:#a52236;background:#fde9ed}.attendance-grid td.attendance-공가,.attendance-공가{color:#274dab;background:#e9f0ff}.attendance-grid td.attendance-퇴사,.attendance-퇴사{color:#4b5059;background:#dfe2e8}.attendance-legend{flex-wrap:wrap;gap:.5rem;margin:.75rem 0;display:flex}.attendance-grid .attendance-note-input{border-color:var(--shell-line);background:var(--shell-card);text-align:left;resize:vertical;margin-top:.25rem;display:block}.page-error{margin-bottom:1rem}.settings-vendor-filter,.settlement-toolbar{flex-wrap:wrap}.settings-vendor-filter label,.settlement-toolbar label{color:var(--shell-subtle);align-items:center;gap:.375rem;font-size:.8rem;font-weight:700;display:inline-flex}.settings-vendor-filter select,.settlement-toolbar select,.settlement-toolbar input{border:.0625rem solid var(--shell-line);min-height:2.25rem;color:var(--shell-text);background:var(--shell-card);border-radius:.5rem;padding:.375rem .625rem}.finance-list{border:.0625rem solid var(--shell-line);border-radius:.625rem;gap:.375rem;margin-bottom:1rem;padding:.625rem;display:grid}.finance-list>div{border-bottom:.0625rem solid var(--shell-line);justify-content:space-between;align-items:center;gap:1rem;min-height:2.25rem;padding:.25rem .375rem;display:flex}.finance-list>div:last-child{border-bottom:0}.document-file-summary{border:.0625rem solid var(--shell-line);background:var(--shell-bg);border-radius:.625rem;gap:.375rem;margin-bottom:1rem;padding:.875rem;display:grid}.document-file-summary>span,.document-file-input small{color:var(--shell-subtle);font-size:.78rem}.document-file-actions{flex-wrap:wrap;gap:.5rem;margin-top:.375rem;display:flex}.document-file-input{margin-top:1rem}.danger-link{border-color:var(--shell-red);color:var(--shell-red);background:0 0}.finance-form,.settlement-form{grid-template-columns:minmax(7rem,.35fr) minmax(12rem,1fr);align-items:center}.finance-form label,.settlement-form label,.adjustment-fields label{color:var(--shell-subtle);font-size:.8rem;font-weight:700}.finance-form input,.finance-form select,.finance-form textarea,.settlement-form input,.settlement-form select,.settlement-form textarea,.adjustment-fields input,.adjustment-amount-input select,.adjustment-amount-input input,.adjustment-fields textarea{border:.0625rem solid var(--shell-line);width:100%;min-height:2.5rem;color:var(--shell-text);background:var(--shell-card);font:inherit;border-radius:.5rem;padding:.5rem .75rem}.settlement-form textarea{resize:vertical;min-height:5rem}.field-help{color:var(--shell-subtle);font-size:.75rem}.settlement-table{min-width:68rem}.settlements-page>.table-scroll{border:.0625rem solid var(--shell-line);background:var(--shell-card);box-shadow:var(--shell-shadow);border-radius:.875rem}.settlement-table th,.settlement-table td{border-color:var(--shell-line);color:var(--shell-text);background:var(--shell-card)}.settlement-table thead th{color:var(--shell-subtle);background:var(--shell-bg)}.settlement-table td{vertical-align:middle}.settlement-table td:first-child strong{margin-bottom:.25rem;display:block}.settlement-table .table-actions{flex-wrap:wrap;min-width:10rem}.settlement-draft{color:var(--shell-amber);background:var(--shell-amber-soft)}.settlement-issued{color:var(--shell-green);background:var(--shell-green-soft)}.settlement-voided{color:var(--shell-red);background:var(--shell-red-soft)}.settlement-preview-summary{border:.0625rem solid var(--shell-accent);background:var(--shell-accent-soft);border-radius:.75rem;gap:.5rem;margin-bottom:1rem;padding:1rem;display:grid}.settlement-preview-summary p{margin:0}.settlement-preview-summary>div{flex-wrap:wrap;gap:.5rem 1rem;display:flex}.settlement-preview-summary>div strong{color:var(--shell-accent-text)}.settlement-preview-table{border-collapse:collapse;width:100%;min-width:48rem;font-size:.78rem}.settlement-preview-table th,.settlement-preview-table td{border-bottom:.0625rem solid var(--shell-line);text-align:right;padding:.625rem}.settlement-preview-table th:first-child,.settlement-preview-table td:first-child{text-align:left}.settlement-document{color:var(--shell-text)}.settlement-document-title{text-align:center;margin:0 0 .375rem;font-size:1.375rem}.settlement-document-subtitle{color:var(--shell-subtle);text-align:center;margin:0 0 1.75rem;font-size:.75rem}.print-settlement{display:none}.settlement-document table{border-collapse:collapse;width:100%;color:var(--shell-text);margin-bottom:.875rem;font-size:.875rem}.settlement-document th,.settlement-document td{border:.0625rem solid var(--shell-line);text-align:left;padding:.625rem .75rem}.settlement-document th{background:var(--shell-bg)}.settlement-document-info th,.settlement-document-meta th{width:8.75rem}.settlement-document-caption{margin:1.125rem 0 .375rem;font-size:.875rem;font-weight:800}.settlement-document-lines{min-width:52rem}.settlement-document-level-lines{min-width:38rem}.settlement-document-lines th,.settlement-document-lines td,.settlement-document-level-lines th,.settlement-document-level-lines td{text-align:right;white-space:nowrap}.settlement-document-lines th:first-child,.settlement-document-lines td:first-child,.settlement-document-level-lines th:first-child,.settlement-document-level-lines td:first-child{text-align:left}.settlement-document-formula{border:.0625rem solid var(--shell-line);color:var(--shell-subtle);background:var(--shell-bg);border-radius:.375rem;margin:0 0 1.125rem;padding:.5625rem .75rem;font-size:.78rem}.settlement-document-summary{margin-top:.5rem}.settlement-document-summary th,.settlement-document-summary td{text-align:center;width:33.33%}.settlement-document-summary td{font-size:.9375rem;font-weight:700}.settlement-document-summary .settlement-document-total{color:var(--shell-green);background:var(--shell-green-soft);font-size:1.125rem;font-weight:800}.settlement-document .settlement-amount{text-align:right}.settlement-signature{color:var(--shell-subtle);text-align:right;margin-top:2.5rem;font-size:.8125rem}.finance-toolbar label{color:var(--shell-subtle);font-size:.8rem;font-weight:800}.conditional-required-note{color:var(--shell-subtle);flex-basis:100%;font-size:.75rem}.finance-toolbar input[type=month]{border:.0625rem solid var(--shell-line);min-height:2.25rem;color:var(--shell-text);background:var(--shell-card);font:inherit;border-radius:.5rem;padding:.375rem .625rem}.issue-date-list{flex-wrap:wrap;flex:18rem;gap:.375rem;display:flex}.issue-date-list button{min-height:1.8rem;color:var(--shell-accent-text);background:var(--shell-accent-soft);border:0;border-radius:999rem;padding:.25rem .625rem;font-size:.75rem}.finance-table-wrap{border:.0625rem solid var(--shell-line);background:var(--shell-card);box-shadow:var(--shell-shadow);border-radius:.875rem}.finance-table{min-width:64rem}.finance-table th,.finance-table td{border-color:var(--shell-line);color:var(--shell-text);background:var(--shell-card);text-align:right;padding:.75rem .875rem;font-size:.78rem}.finance-table thead th{color:var(--shell-subtle);background:var(--shell-bg)}.finance-table th:first-child,.finance-table td:first-child{text-align:left}.finance-table tfoot th,.finance-table tfoot td{border-top:.125rem solid var(--shell-line);font-weight:800}.invoice-ready,.invoice-issued{color:var(--shell-green);background:var(--shell-green-soft)}.invoice-pending{color:var(--shell-amber);background:var(--shell-amber-soft)}.invoice-voided{color:var(--shell-red);background:var(--shell-red-soft)}.invoice-manual{color:var(--shell-accent-text);background:var(--shell-accent-soft)}.invoice-status-tags{flex-wrap:wrap;gap:.375rem;display:flex}.invoice-readiness{border:.0625rem solid var(--shell-line);color:var(--shell-text);background:var(--shell-bg);border-radius:.75rem;justify-content:space-between;gap:1rem;margin-bottom:.75rem;padding:.875rem 1rem;display:flex}.snapshot-warning{color:var(--shell-red);margin:.375rem 0;font-size:.82rem;font-weight:700}.invoice-future-notice{border:.0625rem solid var(--shell-amber);color:var(--shell-amber);background:var(--shell-amber-soft);border-radius:.75rem;margin:.75rem 0 1rem;padding:.75rem .875rem;font-size:.82rem;font-weight:700}.invoice-summary-grid,.invoice-document-info{border:.0625rem solid var(--shell-line);border-radius:.75rem;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:1rem 0;display:grid;overflow:hidden}.invoice-summary-grid>div,.invoice-document-info>div{border-bottom:.0625rem solid var(--shell-line);justify-content:space-between;gap:.75rem;padding:.625rem .75rem;display:flex}.invoice-summary-grid dt,.invoice-document-info dt{color:var(--shell-subtle)}.invoice-summary-grid dd,.invoice-document-info dd{color:var(--shell-text);margin:0;font-weight:800}.invoice-summary-grid .invoice-total{color:var(--shell-accent-text);background:var(--shell-accent-soft);grid-column:1/-1}.evidence-note{color:var(--shell-subtle);font-size:.78rem}.finance-pagination{color:var(--shell-subtle);justify-content:center;align-items:center;gap:.75rem;margin-top:1rem;font-size:.8rem;display:flex}.invoice-document>header{border-bottom:.125rem solid var(--shell-text);text-align:center;padding-bottom:1rem}.invoice-document>header p,.invoice-document>header h3{margin:0 0 .25rem}.invoice-document-lines{border-collapse:collapse;width:100%}.invoice-document-lines th,.invoice-document-lines td{border:.0625rem solid var(--shell-line);padding:.625rem .75rem}.invoice-document-lines td{text-align:right}.invoice-document-total{background:var(--shell-accent-soft);font-weight:800}.invoice-evidence-summary{border:.0625rem solid var(--shell-line);border-radius:.75rem;margin-top:1rem;padding:.875rem}.invoice-evidence-summary h4,.invoice-evidence-summary p{margin:0 0 .5rem}.print-invoice{display:none}.finance-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.875rem;margin-bottom:1.25rem;display:grid}.finance-kpi-grid article{border:.0625rem solid var(--shell-line);background:var(--shell-card);box-shadow:var(--shell-shadow);border-radius:.875rem;gap:.375rem;padding:1rem;display:grid}.finance-kpi-grid span{color:var(--shell-subtle);font-size:.78rem;font-weight:700}.finance-kpi-grid strong{color:var(--shell-text);font-size:1.15rem}.finance-section+.finance-section{margin-top:1.5rem}.finance-section h2{color:var(--shell-text);font-size:1rem}@media print{body:has(>.print-settlement){min-height:0;margin:0}body:has(>.print-settlement)>:not(.print-settlement){display:none!important}body *{visibility:hidden}.print-settlement,.print-settlement *,.print-invoice,.print-invoice *{visibility:visible}.print-settlement{box-sizing:border-box;color:#1f2733;background:#fff;width:100%;padding:2.5rem;font-family:Malgun Gothic,sans-serif;display:block;position:static}.print-settlement .settlement-document-subtitle,.print-settlement .settlement-signature{color:#555}.print-settlement table{color:#1f2733}.print-settlement th,.print-settlement td{border-color:#ccc}.print-settlement th{background:#f4f6fb}.print-settlement .settlement-document-formula{color:#555;background:#f7f9fc;border-color:#e4e8f0}.print-settlement .settlement-document-summary .settlement-document-total{color:#18744a;background:#eef7f1}.print-settlement .table-scroll{overflow:visible}.print-settlement .settlement-document-lines,.print-settlement .settlement-document-level-lines{min-width:0;font-size:.65rem}.print-settlement .settlement-document-lines th,.print-settlement .settlement-document-lines td{padding:.4rem .35rem}.print-invoice{color:#111;background:#fff;width:100%;padding:2rem;display:block;position:absolute;inset:0}}@media (width<=56rem){.erp-sidebar{flex-basis:13rem;width:13rem}.shell-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid{grid-template-columns:1fr}.finance-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=42rem){.erp-layout{display:block}.erp-sidebar{border-right:0;border-bottom:.0625rem solid var(--shell-line);flex-basis:auto;width:100%;height:auto;min-height:0;position:static}.business-navigation{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.sidebar-footer{margin-top:1rem}.erp-content{padding:1.25rem 1rem 3rem}.shell-kpi-grid{grid-template-columns:1fr}.calendar-summary{flex-direction:column;align-items:flex-start}.work-calendar-grid{overflow-x:auto}.page-head{flex-direction:column;align-items:flex-start}.page-actions,.page-actions button{width:100%}.company-member{flex-direction:column;align-items:flex-start}.company-member>span:last-child{white-space:normal;margin-left:0}.metric-head button:first-of-type{margin-left:0}.form-grid.two-columns,.finance-form,.settlement-form{grid-template-columns:1fr}.form-dialog{border-radius:0;width:100%;max-height:100vh;margin:0}.form-dialog form{border-radius:0;max-height:100vh}.dialog-head,.dialog-body,.dialog-foot{padding-left:1rem;padding-right:1rem}.finance-kpi-grid,.invoice-summary-grid,.invoice-document-info{grid-template-columns:1fr}}@media (width<=28rem){.dashboard-client-head{flex-direction:column;align-items:flex-start}.dashboard-client-states{grid-template-columns:1fr}.dashboard-client-state+.dashboard-client-state{border-top:.0625rem solid var(--shell-line);border-left:0}}.money-increase,select.money-increase{color:#c53030;font-weight:600}.money-decrease,select.money-decrease{color:#1d4ed8;font-weight:600}html[data-theme=dark] .money-increase{color:#ff9090}html[data-theme=dark] .money-decrease{color:#91b7ff}.adjustment-reason{white-space:pre-wrap;overflow-wrap:anywhere;max-width:32rem;display:block}.adjustment-fields{gap:.5rem;margin-block:1rem;display:grid}.adjustment-fields textarea{min-height:4rem}@media print{.money-increase,html[data-theme=dark] .money-increase{color:#c53030;-webkit-print-color-adjust:exact;print-color-adjust:exact}.money-decrease,html[data-theme=dark] .money-decrease{color:#1d4ed8;-webkit-print-color-adjust:exact;print-color-adjust:exact}}.finance-table .adjustment-reason,.settlement-table .adjustment-reason{text-align:left;min-width:12rem;margin-top:.25rem}.money-increase,.money-decrease{white-space:nowrap}.adjustment-amount-input{gap:.5rem;width:100%;min-width:0;display:grid}.calculation-table{table-layout:fixed;min-width:0}.calculation-table th,.calculation-table td{white-space:normal;overflow-wrap:anywhere;vertical-align:top}.calculation-table th:first-child,.calculation-table th:nth-child(5),.calculation-table thead th:last-child{width:18%}.calculation-table .adjustment-reason{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;display:-webkit-box;overflow:hidden}.calculation-table .money-increase,.calculation-table .money-decrease{white-space:normal}.calculation-secondary{color:var(--shell-subtle);margin-top:.375rem;font-size:.75rem;font-weight:400;display:block}.calculation-actions{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;display:flex}@media (width<=1100px){.calculation-table thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.calculation-table tbody{display:block}.calculation-table tr{border-bottom:1px solid var(--shell-line);grid-template-columns:repeat(2,minmax(0,1fr));padding:.75rem;display:grid}.calculation-table tbody th,.calculation-table td{text-align:left;border:0;width:auto;padding:.5rem}.calculation-table tbody th,.calculation-table td:last-child{grid-column:1/-1}.calculation-table td[data-label]:before{content:attr(data-label);color:var(--shell-subtle);margin-bottom:.375rem;font-size:.75rem;display:block}}@media (width<=480px){.calculation-table tr{grid-template-columns:minmax(0,1fr)}}.form-dialog:has(.invoice-adjustment-panel){width:min(40rem,100% - 2rem);max-width:none}.invoice-adjustment-panel{gap:1.5rem;display:grid}.invoice-amount-summary{border-bottom:1px solid var(--shell-line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding-bottom:1.25rem;display:flex}.invoice-amount-summary span,.invoice-amount-summary small{color:var(--shell-subtle);font-size:.75rem;font-weight:400;display:block}.invoice-amount-summary h3{margin:.375rem 0 0;font-size:.875rem}.invoice-amount-summary>strong{font-variant-numeric:tabular-nums;text-align:right;font-size:1.5rem}.invoice-amount-summary small{margin-top:.25rem}.invoice-field{gap:.5rem;min-width:0;display:grid}.invoice-field label{color:var(--shell-text);font-size:.8125rem;font-weight:700}.invoice-field label>span{color:var(--shell-subtle);margin-left:.375rem;font-size:.75rem;font-weight:400}.invoice-field label>.required-mark{color:var(--shell-red)}.invoice-field input,.invoice-field select,.invoice-field textarea{border:1px solid var(--shell-line);width:100%;min-width:0;min-height:2.75rem;font:inherit;background:var(--shell-card);border-radius:.5rem;padding:.625rem .75rem}.invoice-field input,.invoice-field textarea{color:var(--shell-text)}.invoice-field textarea{resize:vertical;min-height:6rem;line-height:1.6}.invoice-field textarea::placeholder{color:var(--shell-subtle)}.invoice-field .field-help{margin:0;font-size:.75rem;line-height:1.5}.invoice-date-entry{grid-template-columns:minmax(0,1fr) auto;gap:.5rem;display:grid}.invoice-adjustment-panel .adjustment-amount-input{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:.5rem 1rem}.invoice-adjustment-panel .adjustment-amount-input>label:first-child{grid-area:1/1}.invoice-adjustment-panel .adjustment-amount-input>select{grid-area:2/1}.invoice-adjustment-panel .adjustment-amount-input>label:nth-of-type(2){grid-area:1/2}.invoice-adjustment-panel .adjustment-amount-input>input{text-align:right;font-variant-numeric:tabular-nums;grid-area:2/2}.invoice-adjustment-panel .adjustment-amount-input>.field-help{grid-column:1/-1}.invoice-adjustment-note{background:var(--shell-bg);color:var(--shell-subtle);border-radius:.5rem;padding:.875rem 1rem;font-size:.75rem;line-height:1.6}.invoice-adjustment-note strong{color:var(--shell-text);font-weight:600}.invoice-adjustment-note p{margin:.375rem 0 0}.invoice-detail-link{color:var(--shell-subtle);text-underline-offset:.2rem;cursor:pointer;text-align:right;background:0 0;border:0;flex-basis:100%;padding:.25rem 0;font-size:.75rem;text-decoration:underline}.invoice-secondary-actions{flex-wrap:wrap;gap:.5rem;padding-top:.75rem;display:flex}.invoice-issue-summary{text-align:center;padding:1rem 0 1.5rem}.invoice-issue-summary>span{color:var(--shell-subtle);font-size:.8125rem}.invoice-issue-summary>strong{font-variant-numeric:tabular-nums;margin:.5rem 0;font-size:2rem;display:block}.invoice-issue-summary>p{color:var(--shell-subtle);margin:0;font-size:.8125rem}.invoice-summary-grid>div{overflow-wrap:anywhere;min-width:0}@media (width<=480px){.form-dialog:has(.invoice-adjustment-panel){width:100%}.invoice-adjustment-panel{gap:1.25rem}.invoice-adjustment-panel .adjustment-amount-input{column-gap:.5rem}.invoice-amount-summary>strong{font-size:1.25rem}}.compensation-deduction{color:#b42318;font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:.375rem;display:inline-flex}.compensation-deduction-label{background:var(--shell-red-soft);white-space:nowrap;border:1px solid;border-radius:.25rem;padding:.125rem .375rem;font-size:.6875rem;font-weight:700;line-height:1.25}[data-theme=dark] .compensation-deduction{color:#fda29b}.conflict-alert{width:min(30rem,100% - 2rem)}.conflict-alert .dialog-body p{overflow-wrap:anywhere;margin:0;line-height:1.7}.attendance-grid .attendance-ot-input{border-color:var(--shell-line);background:var(--shell-card)}.attendance-grid .attendance-name{overflow-wrap:anywhere;white-space:normal;background:var(--shell-card);width:7rem;min-width:7rem}.attendance-grid .attendance-total{color:#633397;background:#f2eafb;width:10rem;min-width:10rem;left:7rem}.attendance-grid .attendance-total strong{font-variant-numeric:tabular-nums;margin-top:.25rem;font-size:.8rem;display:block}.attendance-grid tbody+tbody tr:first-child>*{border-top:3px solid #8060b8}.attendance-grid .attendance-ot-row td{color:#795600;background:#fff6d9}.attendance-note-row td{background:var(--shell-card)}.attendance-note-row .attendance-note-input{margin-top:0}[data-theme=dark] .attendance-grid .attendance-total{color:#ddc0ff;background:#30223f}[data-theme=dark] .attendance-grid tbody+tbody tr:first-child>*{border-top-color:#b894eb}[data-theme=dark] .attendance-grid .attendance-ot-row td{color:#ffe39b;background:#382f18}
