/* Compact, calm product UI inspired by Toss. Not the official React TDS.
   Existing routes, field names, workflow and coral brand remain unchanged. */
body.app-shell{background:var(--cream);color:var(--charcoal);font-variant-numeric:tabular-nums;letter-spacing:-.015em}
.app-shell .sidebar,.app-shell .topbar{background:#fff;box-shadow:none;backdrop-filter:none}
.app-shell .topbar{height:64px}.app-shell .sidebar-brand{height:64px}
.app-shell main{padding:22px 26px}.app-shell .page-head{margin-bottom:18px;gap:12px}
.app-shell .page-head h1{font-size:26px;line-height:1.3;letter-spacing:-.035em;font-weight:750;margin:0}
.app-shell .page-head p{margin:6px 0 0;font-size:13px;color:#6b7078}
.app-shell .card{background:var(--surface);border:1px solid var(--line);box-shadow:none;border-radius:14px;padding:16px 18px}
.app-shell .card+.card{margin-top:12px}.app-shell .card .card{border-color:var(--line);box-shadow:none}
.app-shell .table-wrap{box-shadow:none;border-color:var(--line);border-radius:10px;max-width:100%}
.app-shell .table-wrap th{background:var(--pale);color:var(--muted);font-weight:650;font-size:12px;white-space:nowrap}
.app-shell .table-wrap td{border-color:var(--line)}.app-shell .table-wrap td,.app-shell .table-wrap th{padding-top:10px;padding-bottom:10px}
.app-shell .table-wrap tbody tr:hover{background:var(--cream)}
.app-shell button,.app-shell .button,.app-shell .btn{box-shadow:none;white-space:nowrap;line-height:1.3;font-weight:650;transition:background .12s,border-color .12s;transform:none}
.app-shell button:hover,.app-shell .button:hover,.app-shell .btn:hover{box-shadow:none;transform:none}
.app-shell .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:9px 12px;border:1px solid var(--line);border-radius:10px;text-decoration:none;box-sizing:border-box}.app-shell .btn.small{min-height:32px}
.app-shell button.primary,.app-shell .button.primary,.app-shell .btn.primary{background:var(--coral);border-color:var(--coral);color:#fff;box-shadow:none}
.app-shell .side-nav a.active{background:var(--coral);box-shadow:none;color:#fff}
.app-shell input,.app-shell select,.app-shell textarea{border-color:var(--line);box-shadow:none}
.app-shell input:focus-visible,.app-shell select:focus-visible,.app-shell textarea:focus-visible,.app-shell button:focus-visible,.app-shell a:focus-visible{outline:2px solid var(--coral);outline-offset:2px}
.app-shell dialog{border:1px solid #e8eaed;border-radius:16px;box-shadow:0 20px 65px #30343b22;max-height:90dvh}
.app-shell dialog::backdrop{background:#30343b66}
.ui-column-tools{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin:0 0 8px}
#payrollRefreshRetry[hidden]{display:none!important}
.ui-column-dialog{padding:18px;width:min(640px,94vw)}.ui-column-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.ui-column-dialog h2{font-size:18px;margin:0}.ui-column-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:55dvh;overflow:auto}.ui-column-options label{display:flex;gap:6px;align-items:center;white-space:nowrap;font-size:13px}.ui-column-options input{width:auto!important;min-height:0!important}.ui-columns-table [hidden]{display:none!important}.ui-columns-table td,.ui-columns-table th{white-space:nowrap}
.app-shell .accounting-two{gap:16px}.app-shell .pay-statement header{margin-bottom:18px}.app-shell .pay-statement h1{font-size:25px}
@media(max-width:700px){.app-shell main{padding:14px 12px}.app-shell .page-head h1{font-size:23px}.app-shell .card{padding:14px 12px}.ui-column-options{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .topbar{padding:0 12px}}
@media(prefers-reduced-motion:reduce){.app-shell *{scroll-behavior:auto!important;transition:none!important}}
@media print{.ui-column-tools,.ui-column-dialog{display:none!important}body.app-shell{background:#fff}.app-shell main{padding:0}.ui-columns-table [hidden]{display:table-cell!important}}
