/* TAMS enterprise theme: deep navy + white + electric blue. Tokens first, dark mode via data-theme or OS setting. */
:root {
  --navy-900: #081a33; --navy-800: #0b2545; --navy-700: #133a6b;
  --bg: #f3f6fb; --surface: #ffffff; --surface-2: #f8fafd; --ink: #0f1f38; --muted: #62708a; --line: #e2e8f2;
  --brand: #1f6feb; --brand-ink: #ffffff; --brand-soft: #e8f0fe;
  --ok: #12945a; --ok-soft: #e3f6ec; --warn: #b7791f; --warn-soft: #fdf3dc; --bad: #d1372f; --bad-soft: #fde9e7;
  --violet: #6b46c1; --violet-soft: #efe9fb; --info: #1f6feb; --info-soft: #e8f0fe; --muted-soft: #eef1f6;
  --radius: 14px; --shadow: 0 1px 2px rgba(11,37,69,.05), 0 8px 24px rgba(11,37,69,.06);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Noto Sans Arabic", Tahoma, sans-serif;
}
:root[data-theme="dark"] {
  --bg: #071225; --surface: #0e1e38; --surface-2: #0b1a31; --ink: #e7edf8; --muted: #93a3bf; --line: #1c3053;
  --brand: #4c8dff; --brand-ink: #04101f; --brand-soft: #12294d;
  --ok: #3ac287; --ok-soft: #0f2e25; --warn: #e3ac4a; --warn-soft: #33290f; --bad: #ff7a70; --bad-soft: #3a1714;
  --violet: #a78bfa; --violet-soft: #241c47; --info: #4c8dff; --info-soft: #12294d; --muted-soft: #14264a;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #071225; --surface: #0e1e38; --surface-2: #0b1a31; --ink: #e7edf8; --muted: #93a3bf; --line: #1c3053;
    --brand: #4c8dff; --brand-ink: #04101f; --brand-soft: #12294d;
    --ok: #3ac287; --ok-soft: #0f2e25; --warn: #e3ac4a; --warn-soft: #33290f; --bad: #ff7a70; --bad-soft: #3a1714;
    --violet: #a78bfa; --violet-soft: #241c47; --info: #4c8dff; --info-soft: #12294d; --muted-soft: #14264a;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  }
}
* { box-sizing: border-box; }
html { color-scheme: light dark; }
body { margin: 0; font: 14.5px/1.5 var(--font); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
h1 { font-size: 24px; letter-spacing: -.02em; margin: 0; } h2 { font-size: 15px; margin: 0; font-weight: 650; }
a { color: var(--brand); text-decoration: none; } a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
.icon { flex: none; }
.muted { color: var(--muted); } small { color: var(--muted); font-size: 12px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* ---- shell ---- */
.shell { display: grid; grid-template-columns: 262px 1fr; min-height: 100vh; }
.side { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); color: #cfdcf0; padding: 22px 14px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 10px 22px; color: #fff; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, #3b82f6, #1d4ed8); display: grid; place-items: center; font-weight: 800; letter-spacing: .5px; box-shadow: 0 6px 16px rgba(29,78,216,.45); }
.brand b { font-size: 18px; letter-spacing: 1.5px; display: block; line-height: 1.1; } .brand small { color: #8fa6c8; font-size: 11px; }
.nav-title { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #6f88ad; padding: 16px 12px 6px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: #cfdcf0; font-weight: 500; }
.nav a:hover { background: rgba(255,255,255,.07); text-decoration: none; color: #fff; }
.nav a.active { background: rgba(59,130,246,.22); color: #fff; box-shadow: inset 3px 0 0 #60a5fa; }
[dir="rtl"] .nav a.active { box-shadow: inset -3px 0 0 #60a5fa; }
.nav .pill { margin-inline-start: auto; }
.pill { background: var(--bad); color: #fff; border-radius: 99px; padding: 0 7px; font-size: 11px; font-weight: 700; min-width: 20px; text-align: center; line-height: 20px; }
.side-foot { margin-top: auto; padding: 14px 6px 0; font-size: 11.5px; color: #6f88ad; }
.main-col { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 14px 28px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.topbar .grow { flex: 1; }
.icon-btn { position: relative; background: transparent; border: 1px solid var(--line); border-radius: 10px; width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--muted-soft); } .icon-btn .pill { position: absolute; top: -6px; inset-inline-end: -6px; }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); }
[dir="rtl"] .user-chip { padding: 4px 4px 4px 12px; } .user-chip small { display: block; line-height: 1.1; }
.menu-btn { display: none; }
main { padding: 26px 28px 60px; max-width: 1320px; width: 100%; margin-inline: auto; outline: none; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head p { margin: 4px 0 0; color: var(--muted); }

/* ---- components ---- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 20px; min-width: 0; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.grid { display: grid; gap: 18px; margin-bottom: 20px; } .grid > .card { margin: 0; }
.g-kpi { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.g-2 { grid-template-columns: 1.4fr 1fr; } .g-2e { grid-template-columns: 1fr 1fr; } .g-3 { grid-template-columns: repeat(3, 1fr); }
.kpi { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.kpi-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tone-soft); color: var(--tone); flex: none; }
.kpi-value { display: block; font-size: 28px; font-weight: 750; letter-spacing: -.02em; line-height: 1.1; }
.kpi-label { color: var(--muted); font-size: 13px; display: block; }
.tone-ok { --tone: var(--ok); --tone-soft: var(--ok-soft); } .tone-warn { --tone: var(--warn); --tone-soft: var(--warn-soft); }
.tone-bad { --tone: var(--bad); --tone-soft: var(--bad-soft); } .tone-info { --tone: var(--info); --tone-soft: var(--info-soft); }
.tone-violet { --tone: var(--violet); --tone-soft: var(--violet-soft); } .tone-muted { --tone: var(--muted); --tone-soft: var(--muted-soft); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .row.between { justify-content: space-between; } .stack > * + * { margin-top: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: var(--brand-ink); border: 1px solid transparent; padding: 9px 16px; border-radius: 10px; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); } .btn.ghost:hover { background: var(--muted-soft); }
.btn.ok { background: var(--ok); color: #fff; } .btn.bad { background: var(--bad); color: #fff; } .btn.sm { padding: 5px 10px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.field { display: block; } .field > span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 5px; font-weight: 550; }
input, select, textarea { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
input[type="checkbox"] { width: auto; } textarea { min-height: 88px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; } .filters > * { flex: 1 1 150px; max-width: 220px; }
.filters .search { flex: 2 1 220px; max-width: 320px; }

.table-wrap { overflow-x: auto; margin-inline: -4px; padding-inline: 4px; }
table { width: 100%; border-collapse: collapse; }
th { text-align: start; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--surface-2); position: sticky; top: 0; }
td { padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; } tr.click { cursor: pointer; } tr.click:hover td { background: var(--brand-soft); }
td.num, th.num { text-align: end; font-variant-numeric: tabular-nums; }
.who { display: flex; align-items: center; gap: 10px; } .who small { display: block; line-height: 1.2; }
.avatar { width: var(--s, 34px); height: var(--s, 34px); border-radius: 50%; background: linear-gradient(135deg, var(--navy-700), #2563eb); color: #fff; display: inline-grid; place-items: center; font-size: calc(var(--s, 34px) * .36); font-weight: 700; flex: none; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 650; background: var(--tone-soft); color: var(--tone); white-space: nowrap; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tone); }
.tag { font-size: 11px; padding: 1px 7px; border-radius: 6px; background: var(--muted-soft); color: var(--muted); font-weight: 600; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tab { background: none; border: 0; padding: 10px 16px; cursor: pointer; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; }
.tab.active { color: var(--brand); border-bottom-color: var(--brand); }
.state { text-align: center; padding: 36px 16px; color: var(--muted); } .state p { margin: 8px 0 0; } .state.bad { color: var(--bad); }
.skeleton-wrap { display: grid; gap: 12px; } .skeleton { height: 44px; border-radius: 10px; background: linear-gradient(90deg, var(--muted-soft) 25%, var(--surface-2) 50%, var(--muted-soft) 75%); background-size: 200% 100%; animation: sh 1.3s infinite; }
@keyframes sh { to { background-position: -200% 0; } }
.toast { position: fixed; bottom: 22px; inset-inline-end: 22px; background: var(--navy-800); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); z-index: 60; border-inline-start: 4px solid var(--ok); }
.toast.bad { border-color: var(--bad); }
.modal-back { position: fixed; inset: 0; background: rgba(4,12,26,.55); display: grid; place-items: center; z-index: 50; padding: 16px; }
.modal { background: var(--surface); border-radius: 16px; padding: 22px; width: min(560px, 100%); max-height: 90vh; overflow: auto; box-shadow: 0 24px 60px rgba(0,0,0,.35); }

/* live */
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(18,148,90,.6); animation: pulse 1.8s infinite; display: inline-block; }
.live-dot.off { background: var(--muted); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(18,148,90,0); } 100% { box-shadow: 0 0 0 0 rgba(18,148,90,0); } }
.feed { list-style: none; margin: 0; padding: 0; } .feed li { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.feed li:last-child { border: 0; } .feed time { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; } .feed .loc { color: var(--muted); font-size: 12.5px; }
.feed li.fresh { animation: flash 2.2s ease-out; } @keyframes flash { from { background: var(--brand-soft); } }

/* charts */
.donut-wrap { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: center; }
.arc { stroke: var(--tone); } .arc-bg { stroke: var(--muted-soft); }
.donut-num { font-size: 26px; font-weight: 750; fill: var(--ink); } .donut-lbl { font-size: 10px; fill: var(--muted); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .legend li { display: flex; align-items: center; gap: 8px; } .legend b { margin-inline-start: auto; padding-inline-start: 18px; }
.sw { width: 10px; height: 10px; border-radius: 3px; background: var(--tone); }
.bars { width: 100%; height: auto; direction: ltr; } .bars .bar { fill: var(--tone); } .bars .grid { stroke: var(--line); } .bars .axis { font-size: 9.5px; fill: var(--muted); }
.hbars { display: grid; gap: 10px; } .hbar-row { display: grid; grid-template-columns: 130px 1fr 56px; align-items: center; gap: 12px; } .hbar-row b { text-align: end; }
.hbar-track { background: var(--muted-soft); border-radius: 99px; height: 10px; overflow: hidden; } .hbar-fill { height: 100%; width: var(--w); background: var(--tone); border-radius: 99px; }

/* workflow stepper */
.stepper { list-style: none; display: flex; padding: 0; margin: 6px 0 4px; overflow-x: auto; }
.step { flex: 1; min-width: 110px; text-align: center; position: relative; font-size: 12.5px; color: var(--muted); }
.step .node { display: grid; place-items: center; width: 26px; height: 26px; margin: 0 auto 8px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); position: relative; z-index: 1; color: #fff; }
.step::before { content: ""; position: absolute; top: 12px; inset-inline: -50% 50%; height: 2px; background: var(--line); } .step:first-child::before { display: none; }
.step.done { color: var(--ink); } .step.done .node { background: var(--ok); border-color: var(--ok); } .step.done::before { background: var(--ok); }
.step.current { color: var(--ink); font-weight: 650; } .step.current .node { border-color: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft); }
.step.current .node::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.step.bad .node { background: var(--bad); border-color: var(--bad); } .step.bad { color: var(--bad); font-weight: 650; }
.note { border-inline-start: 3px solid var(--line); padding: 4px 12px; margin: 10px 0; } .note.internal { border-color: var(--warn); background: var(--warn-soft); }
.profile-head { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; } .profile-head h1 { margin-bottom: 2px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px 22px; margin-top: 18px; } .facts dt { font-size: 12px; color: var(--muted); } .facts dd { margin: 2px 0 0; font-weight: 600; }
.slip { max-width: 460px; } .slip .line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); } .slip .net { font-size: 20px; font-weight: 750; border: 0; padding-top: 16px; }
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.quick a { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 600; } .quick a:hover { background: var(--brand-soft); text-decoration: none; }
.tree { list-style: none; padding-inline-start: 0; margin: 0; } .tree li { padding: 7px 0 7px 22px; position: relative; } .tree li::before { content: "├"; position: absolute; inset-inline-start: 4px; color: var(--muted); } .tree li:last-child::before { content: "└"; }
.perm-table td, .perm-table th { padding: 7px 8px; text-align: center; } .perm-table td:first-child, .perm-table th:first-child { text-align: start; position: sticky; inset-inline-start: 0; background: var(--surface); }

/* login — fixed brand presentation (near-black + gold), independent of the app's own theme */
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-art { --gold: #d4af37; background: radial-gradient(900px 500px at 15% 0%, rgba(212,175,55,.16) 0%, transparent 60%), linear-gradient(165deg, #16161b, #0a0a0d); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; }
.login-art .brand-mark { background: linear-gradient(135deg, #f7e2a0, var(--gold) 55%, #9c7a1f); color: #14110a; font-style: italic; font-weight: 700; font-size: 24px; font-family: Georgia, "Times New Roman", serif; box-shadow: 0 6px 18px rgba(212,175,55,.35); }
.login-art .brand small { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.login-art .features { display: grid; gap: 14px; margin-top: 8px; }
.login-art .feature-card { display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 16px 18px; }
.login-art .feature-card .f-icon { width: 42px; height: 42px; border-radius: 11px; flex: none; display: grid; place-items: center; background: rgba(212,175,55,.14); color: var(--gold); }
.login-art .feature-card b { display: block; font-size: 15px; } .login-art .feature-card small { color: #9a9aa3; font-size: 12.5px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.login-art > small { color: #6b6b74; }
.login-form { display: grid; place-items: center; padding: 32px; background: #fff; } .login-form .box { width: min(400px, 100%); }
.login-form h1 { margin-bottom: 4px; font-size: 26px; } .login-form > .box > p.muted { margin-top: 0; margin-bottom: 26px; }
.auth-field { display: block; }
.field-caps { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6b7280; margin-bottom: 7px; }
.input-icon { display: flex; align-items: center; gap: 10px; background: #f3f4f6; border: 1px solid transparent; border-radius: 12px; padding: 0 14px; }
.input-icon:focus-within { border-color: #d4af37; box-shadow: 0 0 0 3px rgba(212,175,55,.18); }
.input-icon .icon { color: #9a7b1f; flex: none; }
.input-icon input { background: transparent; border: 0; padding: 12px 0; }
.input-icon input:focus { outline: none; }
.btn-block { width: 100%; justify-content: center; background: #14141a; color: #fff; padding: 13px 16px; font-size: 15px; border-radius: 12px; }
.btn-block:hover { background: #22222b; }
.login-form .lang-link { display: block; text-align: center; margin-top: 16px; background: none; border: 0; color: #6b7280; font-size: 13px; cursor: pointer; text-decoration: underline; }
.demo-accounts { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); } .demo-accounts button { margin: 3px 4px 0 0; }
.login-footer { margin-top: 30px; text-align: center; color: #9ca3af; font-size: 12px; line-height: 1.7; }
.error { color: var(--bad); font-size: 13.5px; min-height: 20px; }

@media (max-width: 1000px) { .g-2, .g-2e, .g-3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .g-kpi { grid-template-columns: repeat(2, 1fr); gap: 12px; } .kpi { padding: 14px; gap: 10px; flex-direction: column; align-items: flex-start; } .kpi-value { font-size: 22px; } .kpi-icon { width: 36px; height: 36px; } .page-head h1 { font-size: 20px; } }
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; } .side { position: fixed; inset-block: 0; inset-inline-start: 0; width: 272px; z-index: 40; transform: translateX(-102%); transition: transform .2s; }
  [dir="rtl"] .side { transform: translateX(102%); } .side.open { transform: none; }
  .menu-btn { display: grid; } .topbar { padding: 10px 16px; } main { padding: 18px 16px 50px; } .user-chip span.txt { display: none; }
  .login { grid-template-columns: 1fr; } .login-art { display: none; } .hbar-row { grid-template-columns: 90px 1fr 48px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media print { .side, .topbar, .btn { display: none !important; } .shell { display: block; } }

/* progress, vertical timeline, onboarding tasks */
.progress { height: 8px; border-radius: 99px; background: var(--muted-soft); overflow: hidden; min-width: 90px; } .progress > i { display: block; height: 100%; width: var(--w); background: var(--tone); border-radius: 99px; }
.vtl { list-style: none; margin: 0; padding: 0; } .vtl li { position: relative; padding: 0 0 20px 26px; } [dir="rtl"] .vtl li { padding: 0 26px 20px 0; }
.vtl li::before { content: ""; position: absolute; inset-inline-start: 5px; top: 6px; bottom: -6px; width: 2px; background: var(--line); } .vtl li:last-child::before { display: none; }
.vtl li::after { content: ""; position: absolute; inset-inline-start: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.vtl li.money::after { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); } .vtl time { font-size: 12px; color: var(--muted); font-weight: 600; } .vtl .arrow { color: var(--muted); }
.task { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); } .task:last-child { border: 0; }
.task .meta { color: var(--muted); font-size: 12.5px; } .task.overdue .meta b { color: var(--bad); }
.group-title { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 4px; font-weight: 650; }
.diff-up { color: var(--ok); font-weight: 650; } .diff-down { color: var(--bad); font-weight: 650; }
.wizard-actions { display: flex; justify-content: space-between; margin-top: 20px; gap: 10px; flex-wrap: wrap; }
.summary-list { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; margin: 0; } .summary-list dt { color: var(--muted); } .summary-list dd { margin: 0; font-weight: 600; }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--info-soft); color: var(--ink); font-size: 13.5px; } .notice.warn { background: var(--warn-soft); }

.brand-logo { width: 150px; height: auto; background: #fff; border-radius: 12px; padding: 8px 10px; }

.slip-employer { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line, #cbd5e1); } .slip-employer small { display: block; color: var(--muted); margin-bottom: 6px; }
.login-art .brand-block { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.login-art .brand-logo { width: 210px; object-fit: contain; padding: 14px 16px; border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 1px rgba(212,175,55,.35); }
.login-art .brand-block small { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.login-art .brand-sub { color: #9a9aa3; font-size: 12px; max-width: 360px; line-height: 1.5; }
.login-art .designed-by { display: flex; align-items: center; gap: 14px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; }
.login-art .designed-by img { height: 78px; width: auto; flex: none; margin: -10px 0; }
.login-art .designed-by small { color: #8b8b95; font-size: 12px; }
.side .brand .side-logo { width: 62px; height: auto; flex: none; background: #fff; border-radius: 10px; padding: 4px 5px; box-shadow: 0 0 0 1px rgba(212,175,55,.4); }
.side .brand b { font-size: 15px; letter-spacing: .5px; }

.wizard-steps { list-style: none; display: flex; gap: 8px; margin: 0 0 16px; padding: 0; flex-wrap: wrap; }
.wizard-steps li { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 20px; background: #eef1f6; color: #5b6475; font-weight: 600; font-size: 13px; }
.wizard-steps li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #cfd5e0; color: #fff; font-size: 12px; }
.wizard-steps li.active { background: #e8f0ff; color: #1d4ed8; } .wizard-steps li.active span { background: #1d4ed8; }
.wizard-steps li.done span { background: #16a34a; }
.choices { display: grid; gap: 12px; }
.choice { text-align: left; display: grid; gap: 4px; padding: 14px 16px; border: 2px solid #dfe3ea; border-radius: 12px; background: #fff; cursor: pointer; font: inherit; color: inherit; }
.choice b { font-size: 15px; } .choice em { font-style: normal; font-size: 11.5px; font-weight: 700; color: #b8860b; text-transform: uppercase; letter-spacing: .04em; } .choice span { color: #5b6475; font-size: 13.5px; }
.choice.selected { border-color: #1d4ed8; background: #f3f7ff; box-shadow: 0 0 0 3px rgba(29,78,216,.12); }
.note { display: flex; gap: 10px; align-items: flex-start; background: #fff7e0; border-left: 4px solid #d4af37; padding: 10px 14px; border-radius: 6px; font-size: 13px; }
.row-end { display: flex; justify-content: flex-end; gap: 10px; } .row-between { display: flex; justify-content: space-between; gap: 10px; }
.copybox { display: flex; gap: 8px; } .copybox input { flex: 1; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; }
.howto { margin: 6px 0 6px 20px; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.test-result { padding: 12px 14px; border-radius: 10px; margin-top: 10px; border: 1px solid; }
.test-result.ok { background: #ecfdf3; border-color: #86efac; color: #14532d; } .test-result.warn { background: #fffbeb; border-color: #fcd34d; color: #78350f; }
.test-result.bad { background: #fef2f2; border-color: #fca5a5; color: #7f1d1d; } .test-result.wait { background: #eff6ff; border-color: #93c5fd; color: #1e3a8a; }
.test-result dl.facts { margin-top: 8px; color: #1b2433; }
