:root {
  --ink: #111827;
  --muted: #6b7280;
  --line: #eef0f3;
  --paper: #e7ebf0;
  --card: #ffffff;
  --green: #12b981;
  --green-dark: #0e9f6e;
  --sidebar: #0e1217;
  --side-text: #9ca3af;
  --danger: #ef4444;
  --ok: #12b981;
  --warn: #f59e0b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.side {
  background: var(--sidebar);
  color: #fff;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.side { overflow: hidden; min-width: 0; }
.side > * { min-width: 224px; }
.side-anim .app { transition: grid-template-columns .25s ease; }
.side-anim .side { transition: padding .25s ease, opacity .2s ease, visibility .25s; }
.side-hidden .app { grid-template-columns: 0 1fr; }
.side-hidden .side { padding-left: 0; padding-right: 0; opacity: 0; pointer-events: none; visibility: hidden; }
.side-toggle {
  width: 40px; height: 40px; padding: 0; flex: none; border-radius: 10px;
  background: #fff; color: #374151; border: 1px solid #e5e7eb;
  display: grid; place-items: center;
}
.side-toggle:hover { background: #f3f4f6; color: #111827; }
.side-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side-toggle-arrow { transition: transform .25s ease; transform-origin: 14px 12px; }
.side-hidden .side-toggle-arrow { transform: scaleX(-1); }
.top .side-toggle + .search { margin-right: auto; }
.brand { display: flex; gap: 10px; align-items: center; padding: 6px 8px 16px; }
.side a.brand { margin: 0 0 10px; padding: 6px 8px; border-radius: 12px; color: #fff; font-size: inherit; transition: background .15s; }
.side a.brand:hover { background: #1a1f27; }
.side a.brand:active { transform: scale(.99); }
.brand img { width: 36px; height: 36px; object-fit: contain; background: #fff; border-radius: 10px; }
.brand strong { display: block; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.brand span { display: block; color: #6b7280; font-size: 10px; letter-spacing: .08em; }
.nav { overflow: auto; flex: 1; scrollbar-width: none; }
.nav::-webkit-scrollbar { width: 0; height: 0; display: none; }
.side .group { margin: 16px 10px 6px; color: #6b7280; font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.side a {
  display: flex; align-items: center; gap: 10px;
  color: var(--side-text); padding: 8px 10px; border-radius: 8px; margin: 2px 0; font-size: 14px; font-weight: 500;
}
.side a svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; flex: none; }
.side a:hover { background: #1a1f27; color: #fff; }
.side a.active { background: #14352c; color: var(--green); }
.side-user { display: flex; gap: 10px; align-items: center; padding: 12px 8px 4px; border-top: 1px solid #1f2937; }
.side-user strong { font-size: 13px; }
.side-user small { display: block; color: #6b7280; font-size: 12px; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: #14352c; color: var(--green); font-size: 12px; font-weight: 700; flex: none;
}
.avatar.lg { width: 48px; height: 48px; font-size: 16px; background: #ecfdf5; }
.main { padding: 18px 22px 40px; min-width: 0; }
.top {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  position: sticky; top: 0; z-index: 40;
  margin: -18px -22px 18px; padding: 12px 22px;
  background: rgba(231, 235, 240, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s, background .2s;
}
.top.scrolled { background: rgba(255, 255, 255, .97); border-bottom-color: #d5dce4; box-shadow: 0 6px 18px rgba(16, 24, 40, .07); }
.search { flex: 1; max-width: 460px; }
.search input {
  width: 100%; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 14px;
}
.who { display: flex; align-items: center; gap: 10px; }
button.signout {
  width: 34px; height: 34px; padding: 0; border-radius: 50%;
  background: #14352c; color: var(--green); border: 0;
  display: grid; place-items: center;
}
button.signout:hover { background: #1b4336; }
button.signout svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.page-title { margin-bottom: 16px; }
.page-title p, .eyebrow { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
h1 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
h2 { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.card, .panel {
  background: var(--card);
  border: 1px solid #c5ced6;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}
.card { padding: 12px 12px 4px; display: block; overflow: hidden; min-width: 0; }
.card:hover { border-color: #d1fae5; }
.kpi { display: flex; justify-content: space-between; align-items: flex-start; }
.kpi-icon {
  width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center; background: #f3f4f6; color: #6b7280; flex: none;
}
.kpi-icon svg { width: 15px; height: 15px; }
.kpi-icon.green, .kpi-icon.ok, .kpi-icon.gold { background: #ecfdf5; color: #059669; }
.kpi-icon.blue { background: #eff6ff; color: #2563eb; }
.kpi-icon.amber, .kpi-icon.warn { background: #fff7ed; color: #d97706; }
.card span { color: var(--muted); font-size: 12px; font-weight: 500; white-space: nowrap; }
.card strong { display: block; margin-top: 4px; font-size: 18px; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }
.card em { display: block; margin-top: 2px; font-style: normal; color: var(--green); font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tone-blue em { color: #2563eb; }
.tone-amber em { color: #d97706; }
.spark { display: block; width: 100%; height: 32px; margin: 6px 0 0; }
.panel { padding: 16px 18px; margin-bottom: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.panel-head p { margin: 2px 0 0; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 7px 8px; border-bottom: 1px solid #e6ebf0; vertical-align: middle; }
td.pw { font-family: Consolas, monospace; letter-spacing: .02em; }
table tr:last-child td { border-bottom: 0; }
th { font-size: 11px; color: var(--muted); font-weight: 500; }
tr:hover td { background: #fafafa; }
.person { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 13px; }
.quick .btn, .quick button { padding: 7px 10px; font-size: 12px; font-weight: 600; }
.panel .muted { font-size: 12px; line-height: 1.45; }
.toolbar, .filters, .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 14px; }
label { display: grid; gap: 6px; font-size: 13px; color: #374151; font-weight: 500; }
label[hidden] { display: none; }
label:has(input[type="checkbox"]), label:has(input[type="radio"]) { display: flex; align-items: center; }
input, select, textarea {
  border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 12px; background: #fff; color: var(--ink);
}
.panel input, .panel select, .panel textarea, .login input { width: 100%; }
.panel input[type="checkbox"], .panel input[type="radio"] { width: auto; }
.toolbar input, .toolbar select, .filters input, .filters select { width: auto; min-width: 180px; }
textarea { min-height: 84px; }
input:focus, select:focus, textarea:focus { outline: 2px solid #d1fae5; border-color: #6ee7b7; }
.btn, button {
  background: var(--green); color: #fff; border: 0; border-radius: 8px;
  padding: 8px 12px; font-size: 13px; line-height: 1.2; cursor: pointer; font-weight: 600; display: inline-flex; align-items: center; justify-content: center;
}
.btn:hover, button:hover { background: var(--green-dark); }
.btn.gold, button.gold { background: var(--green); color: #fff; }
.btn.ghost, button.ghost { background: #fff; color: #374151; border: 1px solid #c5ced6; }
.btn.ghost:hover, button.ghost:hover { background: #f9fafb; }
.btn.small, button.small { padding: 6px 10px; font-size: 12px; }
.badge {
  display: inline-flex; border-radius: 999px; padding: 3px 8px; font-size: 12px; font-weight: 600; background: #f3f4f6; color: #4b5563;
}
.badge.pending { background: #fff7ed; color: #c2410c; }
.badge.completed, .badge.paid, .badge.present { background: #ecfdf5; color: #047857; }
.badge.overdue, .badge.absent { background: #fef2f2; color: #b91c1c; }
.badge.due_today { background: #eff6ff; color: #1d4ed8; }
.chips { display: inline-flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.notice { padding: 12px 14px; border-radius: 12px; margin-bottom: 12px; background: #fff; }
.notice.ok { background: #ecfdf5; color: #047857; }
.notice.err { background: #fef2f2; color: #b91c1c; }
tr.pick-row { cursor: pointer; transition: background .12s; }
tr.pick-row:hover td { background: #f8fafc; }
tr.pick-row:has(input[type="checkbox"]:checked) td { background: #ecfdf5; }
.toasts { position: fixed; top: 20px; right: 20px; z-index: 1000; display: grid; gap: 12px; width: min(400px, calc(100vw - 32px)); pointer-events: none; }
.toast { --tc: #10b981; --tc-soft: #ecfdf5; --tc-ink: #065f46; position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 16px 14px 18px 16px; overflow: hidden; background: #fff; border: 1px solid rgba(15, 23, 42, .08); border-radius: 16px; box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 18px 40px -12px rgba(15, 23, 42, .28); color: #0f172a; pointer-events: auto; animation: toast-in .42s cubic-bezier(.21, 1.02, .73, 1); }
.toast.err { --tc: #ef4444; --tc-soft: #fef2f2; --tc-ink: #991b1b; }
.toast-icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--tc); color: #fff; box-shadow: 0 0 0 5px color-mix(in srgb, var(--tc) 16%, transparent), 0 6px 14px -4px var(--tc); }
.toast-icon svg { width: 20px; height: 20px; }
.toast-body { flex: 1; min-width: 0; padding-top: 1px; }
.toast-body strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--tc-ink); }
.toast-body p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.45; color: #475569; overflow-wrap: anywhere; }
.toast-close { width: 30px; height: 30px; flex: none; display: grid; place-items: center; margin: -4px -2px 0 0; padding: 0; border: 0; border-radius: 9px; background: transparent; color: #94a3b8; cursor: pointer; transition: background .15s, color .15s; }
.toast-close svg { width: 16px; height: 16px; }
.toast-close:hover { background: rgba(15, 23, 42, .06); color: #0f172a; }
.toast-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: color-mix(in srgb, var(--tc) 14%, transparent); }
.toast-bar::after { content: ""; position: absolute; inset: 0; background: var(--tc); border-radius: 0 4px 4px 0; transform-origin: left; animation: toast-life var(--toast-life, 4000ms) linear forwards; }
.toast.paused .toast-bar::after { animation-play-state: paused; }
.toast.leaving { animation: toast-out .25s ease-in forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateX(40px) scale(.96); } }
@keyframes toast-life { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (max-width: 640px) { .toasts { top: 12px; right: 12px; left: 12px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .toast, .toast.leaving { animation: none; } .toast-bar { display: none; } }
.profile {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  background: #fff; color: var(--ink); border: 1px solid #eceff3; border-radius: 16px; padding: 18px 20px; margin-bottom: 14px;
}
.profile .muted, .profile a { color: var(--muted); }
.statline { display: flex; gap: 18px; }
.statline strong { display: block; font-size: 20px; }
.statline span { color: var(--muted); font-size: 12px; }
.login-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.login-hero { background: var(--sidebar); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; }
.login-hero h2 { font-size: 42px; line-height: 1.15; max-width: 460px; margin: 16px 0; font-weight: 700; }
.login-hero p { color: #9ca3af; }
.login-points div { background: #1a1f27; border-radius: 12px; padding: 12px 14px; margin-top: 8px; }
.login { display: grid; place-items: center; padding: 32px; }
.login form { width: min(420px, 100%); display: grid; gap: 14px; }
.login h1 { font-size: 32px; margin: 0; }
.login p { color: var(--muted); margin-top: 0; }
.login button { width: 100%; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 42px; }
.login button.pw-eye,
button.pw-eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; min-width: 32px; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: #6b7280;
}
.login button.pw-eye:hover,
button.pw-eye:hover { background: transparent; color: #111827; }
.login button.pw-eye svg,
button.pw-eye svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bill {
  position: relative;
  max-width: 860px; margin: 0 auto; background: #fff; padding: 0;
  border: 1px solid #d7dee7; border-radius: 18px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(16, 24, 40, .06); color: #111827;
}
.bill-watermark {
  position: absolute; left: 50%; top: 54%; z-index: 0;
  width: 340px; height: 340px; object-fit: contain;
  transform: translate(-50%, -50%);
  opacity: 0.14; mix-blend-mode: multiply; pointer-events: none;
}
.bill-accent, .bill-letter, .bill-body { position: relative; z-index: 1; }
.bill-accent { height: 6px; background: linear-gradient(90deg, #0e1217 0 42%, #12b981 42%); }
.bill-letter {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center;
  padding: 22px 28px 18px; border-bottom: 1px solid #e6ebf0;
}
.bill-letter img { width: 72px; height: 72px; object-fit: contain; background: #fff; }
.bill h2 { margin: 0; font-size: 18px; letter-spacing: .06em; font-weight: 700; }
.bill-role { margin-top: 2px; color: #0e9f6e; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.bill-address { margin-top: 8px; color: #4b5563; font-size: 12px; line-height: 1.45; }
.bill-meta { display: grid; gap: 6px; justify-items: end; text-align: right; font-size: 13px; font-weight: 700; }
.bill-meta strong { margin-top: 8px; font-size: 16px; }
.bill-meta .badge { display: inline-flex; font-weight: 600; }
.bill-body { padding: 22px 28px 28px; }
.bill h3 { margin: 0 0 12px; font-size: 13px; letter-spacing: .03em; }
.bill table { font-size: 13px; }
.bill th, .bill td { padding: 11px 0; border-bottom: 1px solid #eef1f4; }
.bill thead th { color: #6b7280; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.bill th:last-child, .bill td:last-child { text-align: right; font-variant-numeric: tabular-nums; width: 140px; }
.bill tr.fee td:first-child { font-weight: 600; }
.bill tr.fee-open td { border-bottom: 0; padding-bottom: 2px; }
.bill tr.fee-note td { padding-top: 0; color: #4b5563; }
.bill tr.total th { border-bottom: 0; border-top: 2px solid #111827; padding-top: 12px; font-size: 15px; color: #111827; }
.bill-words { margin: 16px 0 18px; padding: 12px 14px; background: #f4f7f8; border-radius: 10px; font-weight: 700; }
.bill-bank { font-size: 13px; line-height: 1.7; }
.letter-toolbar { max-width: 820px; margin: 0 auto 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 10px 12px; background: #fff; border: 1px solid #c5ced6; border-radius: 14px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.letter-back { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: #374151; padding: 6px 8px; border-radius: 8px; }
.letter-back:hover { background: #f3f4f6; }
.letter-toolbar + .letter-form { max-width: 820px; margin: 0 auto; }
.letter-toolbar .btn { gap: 6px; }
.letter-back svg, .letter-toolbar button svg, .letter-toolbar .btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.letter-toolbar button { gap: 6px; }
.letter-chips { display: flex; gap: 8px; flex: 1; flex-wrap: wrap; min-width: 0; }
.letter-chips span { display: inline-flex; align-items: center; gap: 6px; max-width: 240px; padding: 5px 10px; border-radius: 999px; background: #f3f6f8; font-size: 12px; font-weight: 600; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.letter-chips small { color: var(--muted); font-weight: 500; font-size: 11px; }
.letter-toolbar-actions { display: flex; gap: 8px; }
.lp-page { min-height: 100vh; padding: 0 12px 32px; background: #e5e7eb; }
.lp-bar { position: sticky; top: 0; z-index: 5; max-width: 794px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; background: #fff; border: 1px solid #c5ced6; border-top: 0; border-radius: 0 0 14px 14px; box-shadow: 0 4px 12px rgba(16, 24, 40, .08); }
.lp-title { font-size: 14px; font-weight: 600; color: #111827; }
.lp-actions { display: flex; gap: 8px; }
.lp-actions button { gap: 6px; }
.lp-actions svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-page .letter-sheet { box-shadow: 0 8px 28px rgba(16, 24, 40, .14); }
.letter-sheet { width: min(794px, 100%); min-height: 1123px; display: flex; flex-direction: column; border-radius: 6px; margin-left: auto; margin-right: auto; }
.letter-fields { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 14px; margin-bottom: 14px; }
.letter-fields input { width: 100%; }
.lh-head { position: relative; z-index: 1; display: grid; grid-template-columns: 86px minmax(0, 1fr) 230px; gap: 14px; align-items: center; padding: 22px 26px 14px; }
.lh-logo { width: 86px; height: 86px; object-fit: contain; }
.lh-name { display: grid; gap: 1px; padding: 2px 16px; border-left: 2px solid #c6a15a; border-right: 2px solid #c6a15a; }
.lh-name strong { font-family: Georgia, "Times New Roman", serif; font-size: 28px; line-height: 1.02; letter-spacing: .03em; color: #1a3f86; font-weight: 700; }
.lh-name span { display: flex; align-items: center; gap: 8px; margin-top: 7px; color: #1a3f86; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.lh-name span i { width: 28px; height: 2px; background: #c6a15a; flex: none; }
.lh-contact { display: grid; gap: 7px; color: #1a3f86; font-size: 11.5px; line-height: 1.35; }
.lh-contact p { display: flex; align-items: flex-start; gap: 7px; margin: 0; }
.lh-contact svg { width: 14px; height: 14px; margin-top: 1px; flex: none; fill: none; stroke: #1a56b0; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lh-rules { position: relative; z-index: 1; height: 8px; background: linear-gradient(#c6a15a, #c6a15a) 0 0 / 100% 3px no-repeat, linear-gradient(#1a3f86, #1a3f86) 0 5px / 100% 2px no-repeat; }
.lh-mark { position: absolute; left: 50%; top: 48%; z-index: 0; width: 340px; height: 340px; object-fit: contain; transform: translate(-50%, -50%); opacity: .09; mix-blend-mode: multiply; pointer-events: none; }
.letter-refrow { display: grid; justify-items: end; gap: 4px; margin-bottom: 22px; font-size: 14px; text-align: right; }
.letter-refrow strong { font-weight: 700; }
.lh-foot { position: relative; z-index: 1; margin-top: auto; }
.lh-tagline { margin: 16px 0 0; width: 100%; text-align: left; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 18px; color: #1a3f86; letter-spacing: .01em; }
.lh-tagline::after { content: ""; display: block; width: 168px; height: 2px; margin: 4px 0 0; background: #c6a15a; }
.lh-wave { position: relative; height: 92px; }
.lh-wave svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; }
.lh-wave path { fill: #1a4f9c; }
.lh-services { position: absolute; right: 28px; bottom: 16px; z-index: 1; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.lh-services span { margin: 0 6px; opacity: .7; }
.letter-sheet .bill-letter { padding: 26px 40px 22px; border-bottom: 2px solid #0e1217; }
.letter-sheet .bill-watermark { width: 380px; height: 380px; opacity: .08; }
.letter-meta { display: grid; gap: 8px; justify-items: end; text-align: right; }
.letter-meta div { display: grid; gap: 1px; }
.letter-meta span { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.letter-meta strong { font-size: 13px; font-weight: 700; color: #111827; }
.letter-content { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; padding: 30px 40px 18px; font-family: "Times New Roman", Times, Georgia, serif; font-size: 16px; line-height: 1.7; color: #111827; }
.letter-to-block { line-height: 1.6; }
.letter-label { font-weight: 700; }
.letter-to-name { font-weight: 600; }
.letter-subject-line { margin: 22px 0 6px; display: flex; gap: 8px; align-items: baseline; line-height: 1.5; }
.letter-subject-line span { font-weight: 700; flex: none; }
.letter-subject-line strong { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #111827; }
.letter-body { font-family: inherit; font-size: 16px; line-height: 1.75; min-height: 80px; margin: 18px 0 0; }
.letter-signoff { margin: auto 0 8px; width: 280px; max-width: 100%; display: grid; justify-items: start; text-align: left; line-height: 1.35; font-family: inherit; font-size: 15px; color: #111827; }
.letter-signoff strong { font-weight: 700; }
.letter-signoff-firm, .letter-signoff-name { display: grid; gap: 1px; justify-items: start; width: 100%; text-align: left; }
.letter-signoff-gap { height: 42px; }
.letter-signoff-name { padding-top: 0; }
.letter-body ul, .letter-body ol, .letter-editor ul, .letter-editor ol { margin: 6px 0 6px 1.4em; }
.letter-body li, .letter-editor li { margin: 2px 0; }
.letter-body font[size="1"], .letter-editor font[size="1"] { font-size: 10px; }
.letter-body font[size="2"], .letter-editor font[size="2"] { font-size: 13px; }
.letter-body font[size="3"], .letter-editor font[size="3"] { font-size: 16px; }
.letter-body font[size="4"], .letter-editor font[size="4"] { font-size: 18px; }
.letter-body font[size="5"], .letter-editor font[size="5"] { font-size: 24px; }
.letter-body font[size="6"], .letter-editor font[size="6"] { font-size: 32px; }
.letter-body font[size="7"], .letter-editor font[size="7"] { font-size: 40px; }
.letter-write { display: grid; gap: 0; }
.letter-compose { display: grid; border: 1px solid #c5ced6; border-bottom: 0; border-radius: 12px 12px 0 0; background: #fff; overflow: hidden; }
.letter-compose-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; margin: 0; padding: 0 4px 0 14px; border-bottom: 1px solid #e6ebf0; }
.letter-compose-row span { font-family: var(--font); font-size: 14px; font-weight: 600; color: #111827; }
.letter-compose-row input { width: 100%; border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 12px; font-family: "Times New Roman", Times, Georgia, serif; font-size: 16px; }
.letter-compose-row input:focus { outline: none; border-color: transparent; box-shadow: none; }
.letter-compose + .fmt-bar { border-radius: 0; }
.letter-compose + .fmt-bar + .letter-editor { border-top: 0; border-radius: 0 0 12px 12px; }
.fmt-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px; border: 1px solid #c5ced6; border-radius: 12px; background: #f8fafb; }
.fmt-bar select { width: auto; padding: 6px 8px; border-radius: 8px; background: #fff; font-size: 13px; }
#fmt-font { max-width: 150px; }
.fmt-group { display: inline-flex; border: 1px solid #e3e8ee; border-radius: 8px; overflow: hidden; background: #fff; }
.fmt-bar button { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 0; background: #fff; color: #374151; font-size: 14px; }
.fmt-bar button + button { border-left: 1px solid #eef1f4; }
.fmt-bar button:hover, .fmt-bar button.on { background: #ecfdf5; color: #047857; }
.fmt-bar button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fmt-color { position: relative; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #e3e8ee; border-radius: 8px; background: #fff; font-weight: 700; color: #111827; cursor: pointer; }
.fmt-color span { border-bottom: 3px solid #111827; line-height: 1; }
.fmt-color input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.letter-editor { min-height: 360px; padding: 14px 16px; border: 1px solid #c5ced6; border-radius: 12px; background: #fff; font-family: "Times New Roman", Times, Georgia, serif; font-size: 16px; line-height: 1.75; outline: none; }
.letter-editor:focus { border-color: #6ee7b7; box-shadow: 0 0 0 3px rgba(18, 185, 129, .15); }
.letter-editor:empty:before { content: attr(data-placeholder); color: #9ca3af; }
.letter-sign { margin: 36px 0 0 auto; width: fit-content; min-width: 240px; text-align: center; line-height: 1.6; font-size: 13px; }
.letter-sign-space { height: 56px; }
.letter-sign-line { border-top: 1px solid #111827; padding-top: 6px; font-weight: 700; }
.letter-sign-role { color: #0e9f6e; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.letter-foot { position: relative; z-index: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; padding: 12px 40px; border-top: 1px solid #e6ebf0; background: #f7faf9; font-size: 11px; color: #4b5563; }
.letter-foot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #12b981 0 58%, #0e1217 58%); }
.letter-foot { padding-bottom: 16px; }
.client-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.client-stat { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid #c5ced6; border-radius: 16px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); transition: border-color .15s, box-shadow .15s, transform .15s; }
.client-stat:hover { border-color: #a7f3d0; box-shadow: 0 6px 18px rgba(16, 24, 40, .06); transform: translateY(-1px); }
.client-stat.on { border-color: #12b981; box-shadow: 0 0 0 3px #d1fae5; }
.client-stat strong { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.client-stat small { color: var(--muted); font-size: 12px; font-weight: 500; }
.client-stat-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #ecfdf5; color: #059669; flex: none; }
.client-stat-icon.blue { background: #eff6ff; color: #2563eb; }
.client-stat-icon.amber { background: #fff7ed; color: #d97706; }
.client-stat-icon.violet { background: #f5f3ff; color: #7c3aed; }
.client-stat-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.client-panel { padding: 0; overflow: hidden; }
.client-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 18px; }
.client-search { position: relative; display: flex; align-items: center; gap: 8px; flex: 1; max-width: 560px; }
.client-search > svg { position: absolute; left: 12px; width: 16px; height: 16px; fill: none; stroke: #9ca3af; stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.client-panel .client-search input { flex: 1; width: auto; padding: 10px 34px 10px 36px; background: #f8fafb; }
.client-search-clear { position: absolute; right: 86px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #6b7280; font-size: 16px; line-height: 1; }
.client-search-clear:hover { background: #e5e7eb; }
.client-search button { padding: 10px 14px; }
.client-bar-actions { display: flex; gap: 8px; }
.client-bar-actions .btn { gap: 6px; padding: 9px 14px; }
.client-bar-actions svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn.ghost.danger-link { color: #b91c1c; border-color: #fecaca; }
.btn.ghost.danger-link:hover { background: #fef2f2; }
.client-tabs { display: flex; align-items: center; gap: 4px; padding: 0 18px; border-bottom: 1px solid #e6ebf0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.client-tabs::-webkit-scrollbar { display: none; }
.client-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; font-size: 13px; font-weight: 600; color: #6b7280; border-bottom: 2px solid transparent; white-space: nowrap; }
.client-tabs a:hover { color: #111827; }
.client-tabs a.on { color: #0e9f6e; border-bottom-color: #12b981; }
.client-tabs a span { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #f3f4f6; color: #4b5563; font-size: 11px; text-align: center; }
.client-tabs a.on span { background: #d1fae5; color: #047857; }
.client-tabs-meta { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; padding-left: 12px; }
.client-table th { padding: 10px 18px; background: #f8fafb; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.client-table td { padding: 12px 18px; }
.client-table tbody tr { cursor: pointer; transition: background .12s; }
.client-table tbody tr:hover td { background: #f6fdf9; }
.client-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.client-name strong { display: block; font-size: 14px; font-weight: 600; color: #111827; }
.client-name small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.client-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #047857; font-size: 13px; font-weight: 700; }
.file-pill { display: inline-flex; padding: 4px 10px; border-radius: 8px; background: #f3f6f8; border: 1px solid #e5eaef; font-family: Consolas, monospace; font-size: 12px; font-weight: 600; color: #1f2937; }
.client-mobile { display: inline-flex; align-items: center; gap: 6px; color: #374151; font-variant-numeric: tabular-nums; }
.client-mobile svg { width: 14px; height: 14px; fill: none; stroke: #9ca3af; stroke-width: 1.8; stroke-linejoin: round; }
.svc-badge { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #f3f4f6; color: #4b5563; }
.svc-gst { background: #eff6ff; color: #1d4ed8; }
.svc-income_tax { background: #fff7ed; color: #c2410c; }
.svc-tds { background: #f5f3ff; color: #6d28d9; }
.client-go { width: 40px; text-align: right; }
.client-go a { width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 8px; color: #9ca3af; }
.client-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.client-table tbody tr:hover .client-go a { background: #d1fae5; color: #047857; }
.client-sel-actions { display: none; align-items: center; gap: 8px; }
.client-sel-count { padding: 0 6px; font-size: 13px; font-weight: 600; color: #374151; white-space: nowrap; }
.client-sel-actions button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; }
.client-sel-actions svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.client-sel-delete { background: #dc2626; border-color: #dc2626; color: #fff; }
.client-sel-delete:hover:not(:disabled) { background: #b91c1c; border-color: #b91c1c; }
.client-sel-delete:disabled { opacity: .45; cursor: not-allowed; }
.client-panel.selecting .client-bar-actions { display: none; }
.client-panel.selecting .client-sel-actions { display: flex; animation: sel-fade .2s ease-out; }
.client-table .sel-col { display: none; width: 44px; padding-right: 0; }
.client-panel.selecting .client-table .sel-col { display: table-cell; }
.client-panel.selecting .sel-col input { animation: sel-in .22s ease-out; }
.sel-col input { width: 18px; height: 18px; margin: 0; vertical-align: middle; accent-color: #dc2626; cursor: pointer; }
.client-panel.selecting .client-go a { visibility: hidden; }
.client-panel.selecting .client-table tbody tr:has(.sel-pick:checked) td { background: #fef2f2; }
@keyframes sel-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes sel-fade { from { opacity: 0; } to { opacity: 1; } }
.client-pager { display: flex; justify-content: center; gap: 6px; padding: 14px 18px; border-top: 1px solid #e6ebf0; }
.client-pager a, .client-pager span { min-width: 34px; height: 34px; padding: 0 10px; display: grid; place-items: center; border-radius: 9px; border: 1px solid #e5e7eb; background: #fff; font-size: 13px; font-weight: 600; color: #374151; }
.client-pager a:hover { border-color: #a7f3d0; color: #047857; }
.client-pager span.on { background: #12b981; border-color: #12b981; color: #fff; }
.client-pager span.gap { border: 0; background: transparent; min-width: 16px; padding: 0; }
.letters-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.letters-stat { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid #c5ced6; border-radius: 16px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.letters-stat strong { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.letters-stat small { color: var(--muted); font-size: 12px; font-weight: 500; }
.letters-stat-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #ecfdf5; color: #059669; flex: none; }
.letters-stat-icon.blue { background: #eff6ff; color: #2563eb; }
.letters-stat-icon.amber { background: #fff7ed; color: #d97706; }
.letters-stat-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.letters-panel .panel-head { margin-bottom: 14px; }
.letters-actions { display: flex; gap: 8px; align-items: center; }
.letters-panel .letters-actions input { width: 260px; padding: 8px 12px; }
.letters-list { display: grid; gap: 10px; }
.letter-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid #e6ebf0; border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.letter-row:hover { border-color: #a7f3d0; box-shadow: 0 6px 18px rgba(16, 24, 40, .06); transform: translateY(-1px); }
.letter-row[hidden] { display: none; }
.letter-main { display: flex; align-items: flex-start; gap: 12px; min-width: 0; flex: 1; }
.letter-main .avatar { background: #ecfdf5; color: #059669; width: 40px; height: 40px; font-size: 15px; }
.letter-text { min-width: 0; }
.letter-subject { font-size: 15px; font-weight: 600; color: #111827; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.letter-to { margin-top: 3px; font-size: 13px; color: #374151; font-weight: 500; }
.letter-preview { margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.5; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.letter-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.letter-buttons { display: flex; gap: 6px; align-items: center; }
.letter-buttons form, .letter-toolbar-actions form { margin: 0; }
.letter-row-icon { width: 40px; height: 40px; }
button.ghost.danger { color: #b91c1c; border-color: #fecaca; gap: 6px; }
button.ghost.danger:hover { background: #fef2f2; }
.letters-empty { display: grid; justify-items: center; gap: 8px; padding: 36px 12px; text-align: center; }
.letters-empty p { margin: 0 0 6px; }
.letters-empty[hidden] { display: none; }
.letters-nomatch { text-align: center; padding: 14px; }
.staff-board { display: flex; flex-wrap: wrap; gap: 10px; }
.staff-card { width: 260px; background: #fff; border: 1px solid #c5ced6; border-radius: 12px; padding: 10px 10px 8px; }
.staff-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.staff-top h2 { margin: 0; font-size: 13px; }
.staff-top p { margin: 1px 0 0; color: var(--muted); font-size: 11px; }
.staff-top strong { font-size: 20px; line-height: 1; letter-spacing: -.03em; }
.staff-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 8px; }
.staff-stats div { background: #f4f6f8; border-radius: 8px; padding: 6px 4px; text-align: center; }
.staff-stats b { display: block; font-size: 13px; line-height: 1.1; }
.staff-stats span { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 600; }
.staff-stats .ok b { color: #047857; }
.staff-stats .wait b { color: #c2410c; }
.staff-stats .late b { color: #b91c1c; }
.report-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; align-items: start; }
.report-grid .panel { margin-bottom: 0; }
.report-span { grid-column: 1 / -1; }
.bars { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 108px minmax(0, 1fr) auto; gap: 10px; align-items: center; color: #374151; font-size: 12px; }
.bar-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-row b { font-size: 13px; font-weight: 700; }
.track { height: 8px; background: #eef2f6; border-radius: 99px; overflow: hidden; }
.track span { display: block; height: 100%; border-radius: 99px; }
.cols { display: flex; align-items: flex-end; gap: 12px; height: 132px; padding-top: 8px; }
.col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 6px; min-width: 0; }
.col i { display: block; width: min(100%, 28px); border-radius: 7px 7px 3px 3px; background: linear-gradient(#34d399, #12b981); }
.col em { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 600; }
.attend-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-total td { background: #f8fafb; font-weight: 700; }
.work-time { white-space: nowrap; }
.bin-actions { display: flex; gap: 6px; justify-content: flex-end; }
.bin-actions form { margin: 0; }
.bin-actions button { white-space: nowrap; }
.bin-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.bin-head h2 { margin: 0; }
.bin-bulk { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.select-all-btn { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.select-all-btn svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.select-all-btn svg path { opacity: 0; transition: opacity .12s; }
.select-all-btn.on { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.select-all-btn.on svg path { opacity: 1; }
.select-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.select-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.select-head h2 { margin: 0; }
.tc-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tc-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid #c5ced6; border-radius: 999px; background: #fff; color: #374151; font-size: 13.5px; font-weight: 600; }
.tc-tabs a:hover { border-color: #a7f3d0; color: #047857; }
.tc-tabs a.on { background: #12b981; border-color: #12b981; color: #fff; box-shadow: 0 4px 12px -4px rgba(18, 185, 129, .6); }
.tc-tabs svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 14px; align-items: start; }
.tc-form { display: grid; gap: 14px; margin: 0; }
.tc-head h2 { margin: 0; font-size: 16px; }
.tc-head p { margin: 3px 0 0; }
.tc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.tc-wide { grid-column: 1 / -1; }
.tc-form label small, .tc-seg small { color: var(--muted); font-size: 11.5px; font-weight: 400; }
.tc-form input[type="number"] { width: 100%; font-variant-numeric: tabular-nums; }
.tc-rule { margin: -4px 0 0; padding: 9px 12px; border-radius: 10px; background: #f0fdf8; border: 1px solid #d1fae5; color: #065f46; font-size: 12.5px; line-height: 1.5; }
.tc-more { border: 1px solid #e5eaef; border-radius: 12px; padding: 0 14px; }
.tc-more[open] { padding-bottom: 14px; }
.tc-more summary, .tc-slabs summary { cursor: pointer; padding: 11px 0; font-size: 13px; font-weight: 600; color: #374151; }
.tc-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tc-seg label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 10px 12px; border: 1.5px solid #dbe2e8; border-radius: 12px; cursor: pointer; }
.tc-seg label small { flex-basis: 100%; padding-left: 24px; }
.tc-seg label:has(input:checked) { border-color: #12b981; background: #f0fdf8; }
.tc-check { align-self: end; flex-wrap: wrap; gap: 4px 8px; padding: 10px 0; }
.tc-check small { flex-basis: 100%; padding-left: 24px; }
.tc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tc-period { margin: 0; padding: 0; border: 0; min-width: 0; }
.tc-period legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: #374151; }
.tc-period label { font-size: 12px; color: var(--muted); }
.tc-actions { display: flex; gap: 8px; }
.tc-result { margin: 0; position: sticky; top: 76px; }
.tc-empty { display: grid; place-items: center; gap: 6px; min-height: 260px; text-align: center; padding: 20px; }
.tc-empty strong { font-size: 15px; }
.tc-empty p { margin: 0; max-width: 320px; }
.tc-verdict { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 12px; border-radius: 12px; background: linear-gradient(120deg, #064e3b, #047857); color: #fff; }
.tc-verdict span { font-size: 15px; font-weight: 700; }
.tc-verdict small { opacity: .8; font-size: 12px; }
.tc-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.tc-card { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid #e5eaef; border-radius: 12px; background: #f8fafb; }
.tc-card small { color: var(--muted); font-size: 12px; font-weight: 600; }
.tc-card strong { font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tc-card em { font-style: normal; color: var(--muted); font-size: 12px; }
.tc-card.best { border-color: #a7f3d0; background: #ecfdf5; }
.tc-card.best strong { color: #047857; }
.tc-table td:not(:first-child), .tc-table th:not(:first-child), .tc-slabs td:not(:first-child), .tc-slabs th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.tc-table tr.tc-sub td { font-weight: 600; background: #f8fafb; }
.tc-table tr.tc-total td { font-weight: 700; font-size: 14.5px; border-top: 2px solid #111827; color: #111827; }
.tc-table tr.tc-total small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }
.tc-tag { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: #fff7ed; color: #c2410c; font-size: 11px; font-weight: 600; }
.tc-slabs { margin-top: 8px; border-top: 1px solid #e6ebf0; }
.tc-reason { margin: 0 0 10px; padding: 9px 12px; border-radius: 10px; font-size: 13px; }
.tc-reason.yes { background: #eff6ff; color: #1e40af; }
.tc-reason.no { background: #f3f4f6; color: #374151; }
.tc-foot { margin: 10px 0 0; }
.tc-chart { grid-column: 1 / -1; margin: 0; }
.tc-chart p { margin: 10px 0 0; }
.tc-split { height: 10px; border-radius: 999px; background: #fbbf24; overflow: hidden; margin: 2px 0 6px; }
.tc-split span { display: block; height: 100%; background: #12b981; }
.tc-legend { display: flex; gap: 14px; margin-bottom: 10px; font-size: 12px; color: #374151; }
.tc-legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: #12b981; }
.tc-legend .i::before { background: #fbbf24; }
.tc-disclaimer { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
@media (max-width: 980px) {
  .tc-layout { grid-template-columns: 1fr; }
  .tc-result { position: static; }
}
@media (max-width: 560px) {
  .tc-grid, .tc-seg, .tc-compare { grid-template-columns: 1fr; }
}
.bin-bulk button { white-space: nowrap; }
.bin-bulk button:disabled { opacity: .45; cursor: not-allowed; }
.bin-check { width: 34px; }
.bin-check input { width: 16px; height: 16px; margin: 0; accent-color: #12b981; cursor: pointer; }
.staff-work { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 500; }
.attend-cards .card { padding-bottom: 14px; }
.health-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.health-cards .card { padding: 16px 16px 14px; min-height: 118px; }
.health-cards .card span,
.health-cards .card strong,
.health-cards .card em { white-space: normal; }
.health-cards .card strong { font-size: 22px; line-height: 1.25; margin-top: 8px; }
.health-cards .card strong.long { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.health-cards .card em { margin-top: 8px; }
.health-card.warn { border-color: #fdba74; }
.health-card.warn em { color: #c2410c; }
.day-nav { display: flex; gap: 6px; }
.panel-head form input[type="date"] { width: auto; }
.roster { display: grid; gap: 8px; margin: 8px 0 14px; }
.roster-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #e6ebf0; border-radius: 12px; }
.marks { display: flex; gap: 8px; }
.mark { position: relative; border: 1px solid #e5e7eb; border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; color: #4b5563; cursor: pointer; }
.mark input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.mark.present:has(input:checked) { background: #ecfdf5; color: #047857; border-color: #6ee7b7; }
.mark.absent:has(input:checked) { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-name { color: var(--muted); font-size: 11px; font-weight: 600; text-align: center; }
.cal-day { display: grid; align-content: start; gap: 4px; min-height: 62px; padding: 8px; border: 1px solid #e6ebf0; border-radius: 10px; background: #fff; font-size: 11px; color: #4b5563; }
.cal-day strong { font-size: 13px; color: var(--ink); }
.cal-day.today { border-color: #12b981; background: #f0fdf8; }
.cal-day:hover { border-color: #a7f3d0; }
.muted { color: var(--muted); }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; align-items: stretch; }
.donut-layout { display: grid; grid-template-columns: 168px 1fr; gap: 18px; align-items: center; min-height: 210px; }
.donut-box { position: relative; width: 168px; height: 168px; }
.donut-box svg { width: 100%; height: 100%; display: block; }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut-center strong { font-size: 28px; line-height: 1; letter-spacing: -.03em; }
.donut-center span { color: var(--muted); font-size: 12px; margin-top: 4px; }
.legend { display: grid; gap: 12px; }
.legend-row { display: grid; grid-template-columns: 8px 1fr auto; gap: 10px; align-items: center; font-size: 13px; color: #374151; }
.legend-row b { font-weight: 600; color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.secret { font-family: Consolas, monospace; background: #fffbeb; padding: 10px 12px; border-radius: 10px; margin-bottom: 12px; }
.pager { display: flex; gap: 6px; }
.pager a, .pager span { min-width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-actions { display: flex; gap: 8px; align-items: center; margin-top: 16px; }
.check-line { margin-top: 14px; }
.user-table .chips { max-width: 420px; }
.user-table td { vertical-align: middle; }
.access-cell { color: #4b5563; font-size: 12px; line-height: 1.45; max-width: 280px; }
.user-edit .panel-head { align-items: flex-start; }
.perm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.perm-grid label { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fafafa; }
.share-box { margin: 0 0 14px; padding: 14px; background: #fff; border: 1px solid #c5ced6; border-radius: 14px; }
.share-box p { margin: 0 0 10px; }
.share-row, .share-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.share-row { margin-bottom: 10px; }
.share-row input { flex: 1; min-width: 180px; }
.kind-field { max-width: 420px; margin-bottom: 16px; }
fieldset.panel { border: 1px solid #eceff3; border-radius: 14px; }
.ac-import { background: #fff; border: 1px solid #c5ced6; border-radius: 16px; margin-bottom: 14px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.ac-import summary { display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; list-style: none; }
.ac-import summary::-webkit-details-marker { display: none; }
.ac-import-text { display: grid; gap: 2px; flex: 1; }
.ac-import-text strong { font-size: 14px; }
.ac-import-text small { color: var(--muted); font-size: 12px; }
.ac-import-toggle { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: #047857; }
.ac-import-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.ac-import[open] .ac-import-toggle svg { transform: rotate(180deg); }
.ac-import-body { padding: 0 16px 16px 70px; }
.ac-import-body p { margin: 0 0 12px; }
.ac-import-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ac-file { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 240px; max-width: 420px; padding: 10px 14px; border: 1.5px dashed #a7b4c0; border-radius: 10px; background: #f8fafc; cursor: pointer; color: #475569; font-weight: 500; }
.ac-file:hover { border-color: #12b981; background: #f0fdf8; }
.ac-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ac-file svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }
.ac-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-form { display: grid; gap: 14px; }
.ac-card { background: #fff; border: 1px solid #c5ced6; border-radius: 16px; padding: 18px 20px 20px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.ac-card[hidden] { display: none; }
.ac-head { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid #eef1f4; }
.ac-head > div { flex: 1; }
.ac-head h2 { margin: 0; font-size: 15px; }
.ac-head p { margin: 3px 0 0; color: var(--muted); font-size: 12.5px; }
.ac-step { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #ecfdf5; color: #047857; font-weight: 700; font-size: 13px; flex: none; }
.ac-step-icon.blue { background: #eff6ff; color: #2563eb; }
.ac-step-icon.amber { background: #fff7ed; color: #d97706; }
.ac-step svg, .ac-head-btn svg, .ac-actions button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ac-head-btn { gap: 6px; flex: none; }
.ac-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.ac-grid input, .ac-grid select, .ac-grid textarea { width: 100%; }
.ac-full { grid-column: 1 / -1; }
.req { color: #dc2626; font-weight: 600; }
.kind-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
label.kind-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid #dbe2e8; border-radius: 14px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; }
label.kind-card:hover { border-color: #a7f3d0; }
.kind-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kind-text { display: grid; gap: 3px; flex: 1; min-width: 0; }
.kind-text strong { font-size: 14px; color: var(--ink); }
.kind-text small { font-size: 12px; color: var(--muted); font-weight: 400; line-height: 1.35; }
.kind-tick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #cbd5e1; display: grid; place-items: center; flex: none; color: transparent; }
.kind-tick svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3; }
label.kind-card:has(input:checked) { border-color: #12b981; background: #f0fdf8; box-shadow: 0 0 0 3px rgba(18, 185, 129, .12); }
.kind-card input:checked ~ .kind-tick { background: #12b981; border-color: #12b981; color: #fff; }
.kind-card input:focus-visible ~ .kind-tick { outline: 2px solid #6ee7b7; outline-offset: 2px; }
#gst-rows { display: grid; gap: 12px; }
fieldset.trade-card { margin: 0; padding: 14px 16px 16px; border: 1px solid #e3e8ee; border-radius: 12px; background: #f8fafc; }
.trade-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.trade-title { font-size: 13px; color: #1e3a8a; }
.trade-remove { color: #b91c1c; border-color: #fecaca; }
.trade-remove[hidden] { display: none; }
.trade-card input, .trade-card select { background: #fff; }
.ac-pick-hint { margin: 0; padding: 14px 16px; border: 1.5px dashed #c5ced6; border-radius: 14px; color: var(--muted); font-size: 13px; text-align: center; }
.ac-pick-hint[hidden] { display: none; }
.ac-actions { position: sticky; bottom: 12px; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border: 1px solid #c5ced6; border-radius: 14px; box-shadow: 0 8px 24px rgba(16, 24, 40, .1); }
.ac-actions > div { display: flex; gap: 8px; }
.ac-actions button { gap: 6px; padding: 9px 18px; }
.cmp-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cmp-panel { overflow: visible; }
.cmp-table tbody tr:last-child td:first-child { border-bottom-left-radius: 16px; }
.cmp-table tbody tr:last-child td:last-child { border-bottom-right-radius: 16px; }
.client-stat-icon.red { background: #fef2f2; color: #dc2626; }
.cmp-bar { justify-content: flex-start; }
.cmp-bar .client-search { min-width: 240px; }
.client-panel .cmp-bar .client-search input { padding-right: 34px; }
.cmp-clear { right: 8px; }
.client-panel .cmp-select { width: auto; min-width: 150px; padding: 10px 12px; background: #f8fafb; }
.cmp-bar .client-bar-actions { margin-left: auto; }
.cmp-reset { color: #b91c1c !important; font-weight: 500 !important; }
.cmp-table tbody tr { cursor: default; }
.cmp-table td { vertical-align: middle; }
.cmp-work { display: block; font-size: 14px; font-weight: 600; color: #111827; }
.cmp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; }
.cmp-type { padding: 2px 8px; border-radius: 999px; background: #f3f4f6; color: #4b5563; font-size: 11px; font-weight: 600; }
.cmp-type-gst_returns { background: #eff6ff; color: #1d4ed8; }
.cmp-type-income_tax_returns, .cmp-type-advance_tax { background: #fff7ed; color: #c2410c; }
.cmp-type-tds_returns { background: #f5f3ff; color: #6d28d9; }
.cmp-type-tax_audit, .cmp-type-roc { background: #ecfeff; color: #0e7490; }
.cmp-date { display: block; font-size: 13px; font-weight: 600; color: #111827; white-space: nowrap; }
.cmp-when { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); font-weight: 500; }
.cmp-when-overdue { color: #dc2626; }
.cmp-when-due_today { color: #2563eb; }
.cmp-when-completed { color: #047857; }
.cmp-staff { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #374151; white-space: nowrap; }
.cmp-staff-dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #eef2f6; color: #475569; font-size: 11px; font-weight: 700; }
.cmp-ack { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.cmp-table tr.cmp-row-overdue td:first-child { box-shadow: inset 3px 0 0 #ef4444; }
.cmp-table tr.cmp-row-due_today td:first-child { box-shadow: inset 3px 0 0 #3b82f6; }
.cmp-table tr.cmp-row-completed td { background: #fbfdfc; }
.cmp-action { width: 1%; text-align: right; white-space: nowrap; }
.cmp-done { position: relative; display: inline-block; }
.cmp-done summary { list-style: none; gap: 6px; }
.cmp-done summary::-webkit-details-marker { display: none; }
.cmp-done summary svg, .cmp-tick svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cmp-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 25; width: 290px; display: grid; gap: 10px; padding: 14px; text-align: left; white-space: normal; background: #fff; border: 1px solid #c5ced6; border-radius: 14px; box-shadow: 0 16px 40px rgba(16, 24, 40, .16); }
.cmp-pop > strong { font-size: 13px; }
.cmp-pop input { width: 100%; }
.cmp-pop-actions { display: flex; justify-content: flex-end; gap: 8px; }
.cmp-tick { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 50%; background: #ecfdf5; color: #059669; }
.cmp-form { max-width: 860px; }
.gst-avatar { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1d4ed8; border-radius: 12px; }
.gst-table .client-name small a { color: #374151; font-weight: 500; }
.gst-table .client-name small a:hover { color: #047857; text-decoration: underline; }
.gst-table .client-name small .file-pill { font-size: 11px; padding: 1px 7px; }
.gst-id { display: inline-flex; align-items: center; gap: 4px; }
.gst-id code, .gst-secret { font-family: Consolas, "SFMono-Regular", monospace; font-size: 13px; letter-spacing: .03em; color: #111827; background: #f3f6f9; border: 1px solid #e3e8ee; border-radius: 7px; padding: 3px 8px; }
.gst-state { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.gst-login { display: grid; gap: 5px; }
.gst-user { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #111827; font-weight: 500; }
.gst-user svg { width: 14px; height: 14px; fill: none; stroke: #9ca3af; stroke-width: 1.8; flex: none; }
.gst-pass { display: inline-flex; align-items: center; gap: 2px; }
.gst-secret { font-size: 12px; padding: 2px 7px; min-width: 76px; }
button.gst-icon-btn { width: 26px; height: 26px; padding: 0; border-radius: 7px; background: transparent; color: #9ca3af; border: 0; }
button.gst-icon-btn:hover, button.gst-icon-btn.on { background: #ecfdf5; color: #047857; }
.gst-icon-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.gst-goods { background: #fff7ed; color: #c2410c; }
.gst-service { background: #f5f3ff; color: #6d28d9; }
.gst-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; padding: 9px 16px; border-radius: 999px; background: #0e1217; color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.gst-toast[hidden] { display: none; }
.client-stat-icon.pink { background: #fdf2f8; color: #db2777; }
.inv-stats .client-stat strong { font-size: 20px; }
.inv-stats .client-stat > div { min-width: 0; }
.inv-stats .client-stat small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv-collect { cursor: default; }
.inv-collect:hover { transform: none; border-color: #c5ced6; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.inv-progress { display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; font-size: 12px; font-weight: 600; color: #047857; white-space: nowrap; }
.inv-progress-bar { width: 90px; height: 6px; border-radius: 999px; background: #e5e7eb; overflow: hidden; }
.inv-progress-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #34d399, #059669); }
.inv-no { display: inline-flex; padding: 4px 10px; border-radius: 8px; background: #ecfdf5; border: 1px solid #c6f0dc; color: #047857; font-weight: 600; font-size: 13px; font-feature-settings: var(--code-features); white-space: nowrap; }
.inv-no:hover { background: #d1fae5; }
.inv-fy { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.inv-table th.inv-amount-h, .inv-table td.inv-amount { text-align: right; }
.inv-table td.inv-amount { font-size: 14px; font-weight: 700; color: #111827; white-space: nowrap; }
.inv-table tbody tr { cursor: pointer; }
.inv-actions { width: 1%; white-space: nowrap; text-align: right; }
.inv-actions > * { display: inline-flex; vertical-align: middle; }
.inv-actions a.gst-icon-btn { width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 8px; color: #6b7280; }
.inv-actions a.gst-icon-btn:hover { background: #ecfdf5; color: #047857; }
.inv-actions a.gst-icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.inv-actions form { margin: 0 0 0 6px; }
.inv-paid-btn { gap: 5px; }
.inv-paid-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.inv-table tfoot td { padding: 12px 18px; background: #f8fafb; border-top: 1px solid #e6ebf0; border-bottom: 0; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.inv-table tfoot td.inv-amount { color: #111827; font-size: 14.5px; }
.inv-table tfoot tr:hover td { background: #f8fafb; }
.exp-stats .client-stat strong { font-size: 20px; }
.exp-stats .client-stat > div { min-width: 0; }
.exp-stats .client-stat small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exp-stats strong.exp-top { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exp-change { font-weight: 700; }
.exp-change.up { color: #dc2626; }
.exp-change.down { color: #059669; }
.exp-add { margin-bottom: 14px; }
.exp-add .ac-head { padding-bottom: 12px; margin-bottom: 14px; }
.exp-add-grid { display: grid; grid-template-columns: 160px 1fr 150px 1.6fr auto; gap: 12px; align-items: end; }
.exp-add-grid input { width: 100%; }
.exp-money { position: relative; display: block; }
.exp-money > span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #6b7280; font-weight: 600; pointer-events: none; }
.exp-money input { padding-left: 26px; font-variant-numeric: tabular-nums; }
.exp-save { gap: 6px; padding: 10px 16px; height: 41px; }
.exp-save svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.exp-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.exp-chips .muted { font-size: 12px; margin-right: 2px; }
button.exp-chip { padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid transparent; }
button.exp-chip:hover { filter: brightness(.96); }
button.exp-chip.on { border-color: currentColor; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9) inset; }
.exp-tone-0 { --tone-bg: #ecfdf5; background: var(--tone-bg); color: #047857; }
.exp-tone-1 { --tone-bg: #eff6ff; background: var(--tone-bg); color: #1d4ed8; }
.exp-tone-2 { --tone-bg: #fff7ed; background: var(--tone-bg); color: #c2410c; }
.exp-tone-3 { --tone-bg: #f5f3ff; background: var(--tone-bg); color: #6d28d9; }
.exp-tone-4 { --tone-bg: #fdf2f8; background: var(--tone-bg); color: #be185d; }
.exp-tone-5 { --tone-bg: #ecfeff; background: var(--tone-bg); color: #0e7490; }
button.exp-chip:hover { background: var(--tone-bg); }
.exp-layout { display: flex; flex-direction: column; gap: 14px; }
.exp-layout > .panel { margin-bottom: 0; }
.exp-layout > .exp-breakdown { order: -1; }
.client-panel .exp-date { min-width: 0; width: 150px; }
.exp-tag { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.exp-tag:hover { filter: brightness(.95); }
.exp-text { color: #374151; }
.exp-table tbody tr { cursor: default; }
.exp-table tfoot td { padding: 12px 18px; background: #f8fafb; border-top: 1px solid #e6ebf0; border-bottom: 0; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.exp-table tfoot td.inv-amount { color: #111827; font-size: 14.5px; }
.exp-table th.inv-amount-h, .exp-table td.inv-amount { text-align: right; }
.exp-table td.inv-amount { font-size: 14px; font-weight: 700; color: #111827; white-space: nowrap; }
.exp-breakdown { padding: 16px 18px; }
.exp-break-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.exp-break-title h2 { margin: 0; }
.exp-break-title p { margin: 0; }
.exp-breakdown ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.exp-breakdown li a { display: grid; gap: 6px; padding: 10px 12px; border: 1px solid #e8edf1; border-radius: 12px; }
.exp-breakdown li a:hover { background: #f6f8fa; border-color: #d5dde4; }
.exp-break-head { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.exp-break-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #374151; font-weight: 500; }
.exp-break-head strong { font-size: 13px; font-variant-numeric: tabular-nums; }
.exp-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: currentColor; }
.exp-bar { display: block; height: 6px; border-radius: 999px; background: #eef1f4; overflow: hidden; }
.exp-bar span { display: block; height: 100%; border-radius: inherit; background: currentColor; }
.exp-breakdown small { font-size: 11.5px; color: var(--muted); }
.exp-dot.exp-tone-0, .exp-bar .exp-tone-0 { color: #10b981; background: #10b981; }
.exp-dot.exp-tone-1, .exp-bar .exp-tone-1 { color: #3b82f6; background: #3b82f6; }
.exp-dot.exp-tone-2, .exp-bar .exp-tone-2 { color: #f97316; background: #f97316; }
.exp-dot.exp-tone-3, .exp-bar .exp-tone-3 { color: #8b5cf6; background: #8b5cf6; }
.exp-dot.exp-tone-4, .exp-bar .exp-tone-4 { color: #ec4899; background: #ec4899; }
.exp-dot.exp-tone-5, .exp-bar .exp-tone-5 { color: #06b6d4; background: #06b6d4; }
.ledger-pick { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; }
.ledger-pick-text { display: grid; gap: 2px; flex: 1; min-width: 220px; }
.ledger-pick-text strong { font-size: 15px; }
.ledger-pick-text small { color: var(--muted); font-size: 12.5px; }
.ledger-pick-form { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 300px; max-width: 520px; }
.ledger-pick-form .client-search { flex: 1; max-width: none; }
.ledger-pick-form .client-search input { width: 100%; padding: 10px 14px 10px 36px; background: #f8fafb; }
.ledger-head { padding: 18px 20px; }
.ledger-who { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ledger-who > div:nth-child(2) { flex: 1; min-width: 220px; }
.ledger-who h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.ledger-who p { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 0; font-size: 13px; }
.ledger-avatar { width: 52px; height: 52px; font-size: 17px; border-radius: 14px; }
.ledger-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ledger-actions .btn, .ledger-actions button { gap: 6px; }
.ledger-actions svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ledger-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.ledger-figs > div { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid #e6ebf0; border-radius: 12px; background: #fafbfc; }
.ledger-figs small { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.ledger-figs strong { font-size: 19px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ledger-figs strong.ok { color: #047857; }
.ledger-figs em { font-style: normal; color: var(--muted); font-size: 12.5px; }
.ledger-figs .due.has { background: #fef2f2; border-color: #fecaca; }
.ledger-figs .due.has strong { color: #b91c1c; }
.ledger-meter .inv-progress-bar { width: 100%; margin-top: 6px; }
.ledger-table-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 18px 12px; }
.ledger-table-head h2 { margin: 0; }
.ledger-table-head .muted { font-size: 12.5px; }
.ledger-table tbody tr { cursor: default; }
.ledger-table tbody tr.ledger-click { cursor: pointer; }
.ledger-table th.inv-amount-h, .ledger-table td.inv-amount { text-align: right; }
.ledger-table td.inv-amount { font-size: 14px; font-weight: 700; color: #111827; white-space: nowrap; }
.ledger-table td.ledger-run { color: #6b7280; }
.ledger-table td.ledger-run.has { color: #b91c1c; }
.ledger-table td.ledger-run.clear { color: #047857; font-weight: 600; font-size: 13px; }
.ledger-table tr.ledger-due td:first-child { box-shadow: inset 3px 0 0 #f59e0b; }
.ledger-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 13px; color: #374151; }
.ledger-lines li { position: relative; padding-left: 12px; }
.ledger-lines li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: #cbd5e1; }
.ledger-lines li.muted::before { display: none; }
.ledger-table tfoot td { padding: 12px 18px; background: #f8fafb; border-top: 1px solid #e6ebf0; border-bottom: 0; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.ledger-table tfoot td.inv-amount { color: #111827; font-size: 14.5px; }
.ledger-table tfoot td.ledger-run.has { color: #b91c1c; }
.rem-rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.rem-rule { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid #c5ced6; border-radius: 16px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.rem-rule > div { display: grid; gap: 3px; min-width: 0; }
.rem-rule strong { font-size: 14px; }
.rem-rule small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.rem-rule small b { color: #111827; font-weight: 600; }
.rem-rule small a { color: #047857; font-weight: 600; text-decoration: underline; }
.rem-sender small { overflow-wrap: anywhere; }
.rem-sender.warn { background: #fffbeb; border-color: #fde68a; }
.rem-sender.warn strong { color: #b45309; }
.rem-sender.ok { background: #f0fdf8; border-color: #a7f3d0; }
.rem-due { padding: 0; overflow: hidden; }
.rem-due-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 18px; }
.rem-due-head h2 { margin: 0; font-size: 16px; }
.rem-due-head p { margin: 3px 0 0; }
.rem-due-head button { gap: 7px; padding: 10px 16px; }
.rem-due-head button[disabled], .rem-due-head button[disabled]:hover { background: #e5e7eb; color: #9ca3af; cursor: not-allowed; }
.rem-due-head button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rem-due-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e6ebf0; }
.rem-due-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr) 150px 220px; align-items: center; gap: 12px; padding: 10px 18px; border-bottom: 1px solid #eef1f4; font-size: 13px; }
.rem-due-list li:last-child { border-bottom: 0; }
.rem-due-title { font-weight: 500; color: #111827; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rem-due-when { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.rem-due-when.late { color: #dc2626; }
.rem-due-to { font-size: 12.5px; color: #374151; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rem-due-to.missing { color: #b45309; font-weight: 600; }
.rem-kind { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #f3f4f6; color: #4b5563; white-space: nowrap; width: fit-content; }
.rem-kind svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rem-kind.amber { background: #fff7ed; color: #c2410c; }
.rem-kind.blue { background: #eff6ff; color: #1d4ed8; }
.rem-kind.violet { background: #f5f3ff; color: #6d28d9; }
.rem-result { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.rem-result.ok { background: #ecfdf5; color: #047857; }
.rem-result.warn { background: #fffbeb; color: #b45309; }
.rem-result.err { background: #fef2f2; color: #b91c1c; }
.rem-result.muted { background: #f3f4f6; color: #4b5563; }
.rem-ok { color: #047857; font-weight: 600; }
.rem-err { color: #b91c1c; font-weight: 600; }
.rem-table tbody tr { cursor: default; }
.rem-table tbody tr[hidden] { display: none; }
.rem-to { font-size: 13px; color: #374151; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rem-msg { font-size: 13px; color: #4b5563; line-height: 1.45; min-width: 260px; }
.rem-tab-empty[hidden] { display: none; }
.ac-step-icon.violet { background: #f5f3ff; color: #7c3aed; }
.ac-step-icon.pink { background: #fdf2f8; color: #db2777; }
.firm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.firm-code { text-transform: uppercase; font-feature-settings: var(--code-features); letter-spacing: .02em; }
.firm-hint { color: var(--muted); font-size: 12px; font-weight: 400; }
.firm-note { margin: 0; padding: 10px 12px; border-radius: 10px; background: #f8fafc; border: 1px dashed #c5ced6; font-size: 13px; color: var(--muted); }
.firm-note .inv-no { margin-left: 4px; }
.firm-days { display: flex; align-items: center; gap: 10px; }
.firm-days input { width: 90px !important; flex: none; text-align: center; }
.firm-days span { color: var(--muted); font-size: 13px; font-weight: 400; }
.firm-side { position: sticky; top: 84px; }
.firm-preview { background: #fff; border: 1px solid #c5ced6; border-radius: 16px; padding: 18px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); display: grid; gap: 14px; }
.firm-preview-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.firm-letterhead { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid #0f172a; }
.firm-letterhead img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; flex: none; }
.firm-letterhead div { display: grid; gap: 2px; min-width: 0; }
.firm-letterhead strong { font-size: 17px; letter-spacing: .02em; color: #0f172a; overflow-wrap: anywhere; }
.firm-letterhead span { font-size: 11px; font-weight: 600; letter-spacing: .12em; color: #047857; overflow-wrap: anywhere; }
.firm-address { margin: 0; white-space: pre-line; font-size: 13px; line-height: 1.5; color: #374151; }
.firm-ids, .firm-bank dl { margin: 0; display: grid; gap: 6px; }
.firm-ids div, .firm-bank dl div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; font-size: 13px; }
.firm-ids dt, .firm-bank dt { color: var(--muted); }
.firm-ids dd, .firm-bank dd { margin: 0; font-weight: 600; color: #111827; overflow-wrap: anywhere; }
.firm-ids dd { font-feature-settings: var(--code-features); }
.firm-bank { display: grid; gap: 8px; padding: 12px 14px; border-radius: 12px; background: #f8fafc; border: 1px solid #e6ebf0; }
.firm-preview .empty { color: #9ca3af; font-weight: 400; }
.act-alert { border-color: #fecaca; background: #fffafa; }
.act-alert strong { color: #b91c1c; }
.act-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.act-layout .client-bar { flex-wrap: nowrap; }
.act-layout .client-tabs { flex-wrap: wrap; overflow: visible; gap: 6px; padding: 0 18px 12px; }
.act-layout .client-tabs a { padding: 5px 8px 5px 12px; border: 1px solid #e3e8ee; border-radius: 999px; background: #fff; }
.act-layout .client-tabs a:hover { border-color: #a7f3d0; }
.act-layout .client-tabs a.on { background: #ecfdf5; border-color: #6ee7b7; color: #047857; }
.act-feed { padding: 4px 0 8px; }
.act-day { padding: 12px 18px 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.act-day[hidden], .act-item[hidden], .act-logins li[hidden] { display: none; }
.act-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 18px; }
.act-item::before { content: ""; position: absolute; left: 34px; top: 0; bottom: 0; width: 1.5px; background: #eef1f4; }
.act-item:hover { background: #f8fafc; }
.act-icon { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: #f3f4f6; color: #4b5563; box-shadow: 0 0 0 3px #fff; }
.act-item:hover .act-icon { box-shadow: 0 0 0 3px #f8fafc; }
.act-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.act-icon.green { background: #ecfdf5; color: #059669; }
.act-icon.blue { background: #eff6ff; color: #2563eb; }
.act-icon.amber { background: #fff7ed; color: #d97706; }
.act-icon.violet { background: #f5f3ff; color: #7c3aed; }
.act-icon.pink { background: #fdf2f8; color: #db2777; }
.act-icon.red { background: #fef2f2; color: #dc2626; }
.act-body { display: grid; gap: 2px; flex: 1; min-width: 0; }
.act-body strong { font-size: 13.5px; font-weight: 500; color: #111827; overflow-wrap: anywhere; }
.act-body small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act-who { color: #374151; font-weight: 600; }
.act-item time { flex: none; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.act-side { position: sticky; top: 84px; }
.act-logins { list-style: none; margin: 0; padding: 4px 0; max-height: calc(100vh - 230px); overflow-y: auto; }
.act-logins li { display: flex; align-items: center; gap: 12px; padding: 9px 18px; border-bottom: 1px solid #f1f4f7; }
.act-logins li:last-child { border-bottom: 0; }
.act-logins li.failed { background: #fffafa; }
.act-avatar { position: relative; width: 34px; height: 34px; font-size: 12px; }
.act-avatar i { position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 2px #fff; }
.act-logins li.failed .act-avatar { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #b91c1c; }
.act-logins li.failed .act-avatar i { background: #ef4444; }
.act-login-end { display: grid; justify-items: end; gap: 3px; flex: none; }
.act-login-end time { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.it-avatar { background: linear-gradient(135deg, #ffedd5, #fed7aa); color: #c2410c; }
.it-table .client-name small .file-pill { font-size: 11px; padding: 1px 7px; }
.it-age { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); font-weight: 500; }
.it-age.bday { color: #db2777; font-weight: 600; }
.it-email { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 980px) {
  .cmp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-panel .cmp-select { flex: 1; }
  .cmp-table th:nth-child(4), .cmp-table td:nth-child(4) { display: none; }
  .inv-table th:nth-child(3), .inv-table td:nth-child(3), .inv-progress { display: none; }
  .exp-add-grid { grid-template-columns: 1fr; }
  .ledger-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rem-rules { grid-template-columns: 1fr; }
  .firm-layout { grid-template-columns: 1fr; }
  .firm-side { position: static; order: -1; }
  .act-layout { grid-template-columns: 1fr; }
  .act-side { position: static; }
  .act-logins { max-height: 420px; }
  .rem-due-list li { grid-template-columns: 1fr; gap: 4px; }
  .rem-table th:nth-child(3), .rem-table td:nth-child(3) { display: none; }
  .ledger-table th:nth-child(3), .ledger-table td:nth-child(3) { display: none; }
  .client-panel .exp-date { flex: 1; width: auto; }
  .gst-table th:nth-child(5), .gst-table td:nth-child(5), .gst-table th:nth-child(4), .gst-table td:nth-child(4) { display: none; }
}
@media (max-width: 980px) {
  .kind-cards, .ac-grid { grid-template-columns: 1fr; }
  .ac-import-body { padding-left: 16px; }
  .top { margin: -18px -22px 14px; padding: 10px 16px; flex-wrap: wrap; }
}
@media (max-width: 980px) {
  .app, .login-wrap, .split, .donut-layout, .report-grid, .form-grid, .perm-grid, .health-cards { grid-template-columns: 1fr; }
  .report-span { grid-column: auto; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staff-card { width: 100%; }
  .side { position: relative; height: auto; }
  .side-hidden .side { display: none; }
  .login-hero { display: none; }
  .profile { flex-direction: column; align-items: flex-start; }
  .letters-stats, .client-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-search { max-width: none; flex-basis: 100%; }
  .client-table .col-mobile { display: none; }
  .letters-panel .panel-head, .letters-actions, .letter-row { flex-direction: column; align-items: stretch; }
  .letters-panel .letters-actions input { width: 100%; }
  .letter-side { align-items: flex-start; }
  .letter-sheet .bill-letter, .letter-content, .letter-foot { padding-left: 20px; padding-right: 20px; }
  .letter-fields { grid-template-columns: 1fr; }
  .lh-head { grid-template-columns: 64px 1fr; }
  .lh-contact { grid-column: 1 / -1; }
  .lh-name strong { font-size: 22px; }
}
:root {
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --code-features: "tnum" 1, "zero" 1, "cv05" 1, "cv08" 1;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); font-size: 14px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-feature-settings: "cv11" 1, "ss03" 1;
}
input, select, textarea { font-size: 14px; line-height: 1.4; }
input::placeholder, textarea::placeholder { color: #9ca3af; opacity: 1; }
h1 { font-size: 26px; line-height: 1.2; letter-spacing: -.025em; }
h2 { font-size: 15px; line-height: 1.35; letter-spacing: -.01em; }
p { line-height: 1.55; }
label { font-size: 13px; font-weight: 500; color: #374151; }
table { font-size: 13.5px; }
td { line-height: 1.45; }
th, .client-table th, .bill thead th { font-size: 11.5px; letter-spacing: .05em; }
.page-title p { font-size: 13.5px; }
.panel .muted, .muted { line-height: 1.5; }
.client-stat strong, .card strong, .cmp-date, .client-mobile, .bill-meta, .client-tabs a span, td { font-variant-numeric: tabular-nums; }
.file-pill, td.pw, .secret, .gst-id code, .gst-secret {
  font-family: var(--font); font-feature-settings: var(--code-features); letter-spacing: .02em;
}
.file-pill { font-size: 12px; }
.gst-id code, .gst-secret { font-size: 13px; font-weight: 500; }
.brand span { font-size: 10px; white-space: nowrap; }
.side .group { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
.side a { font-size: 13.5px; line-height: 1.3; }
.staff-stats span { font-size: 11px; }
.letter-meta span, .letter-sign-role { font-size: 11px; }
.card em, .letter-chips small, .staff-top p, .col em, .cal-name, .cal-day, .cmp-type, .cmp-ack, .gst-state, .client-tabs a span, .cmp-staff-dot { font-size: 12px; }
.client-name small, .cmp-when, .it-age, .it-email, .kind-text small, .ac-import-text small, .client-stat small { font-size: 12.5px; }
.ac-head p { font-size: 13px; }
.client-name strong, .cmp-work, .kind-text strong { font-size: 14px; letter-spacing: -.005em; }
.btn, button { font-size: 13.5px; letter-spacing: -.003em; }
.btn.small, button.small { font-size: 12.5px; }
@media print {
  .side, .top, .page-title, .no-print, .side-toggle { display: none !important; }
  .app { display: block; }
  .main, body, .lp-page { background: #fff; padding: 0; min-height: 0; }
  .letter-sheet { width: 210mm; min-height: 296mm; max-width: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  .lh-head { grid-template-columns: 86px minmax(0, 1fr) 230px; }
  .lh-contact { grid-column: auto; }
  .lh-name strong { font-size: 28px; }
  .letter-content { padding: 30px 40px 18px; }
  .lh-rules, .lh-name span i, .lh-tagline, .lh-tagline::after, .lh-wave path, .lh-services { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .bill-accent, .letter-foot, .letter-foot::after { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@page { size: A4; margin: 0; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: #25d366; color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: 0 10px 28px -6px rgba(37, 211, 102, .55), 0 2px 6px rgba(15, 23, 42, .18); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.wa-float:hover { background: #1ebe5b; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px -6px rgba(37, 211, 102, .6), 0 3px 8px rgba(15, 23, 42, .2); }
.wa-float:focus-visible { outline: 3px solid #a7f3d0; outline-offset: 3px; }
.wa-float svg { width: 28px; height: 28px; flex: none; }
body:has(.ac-actions) .wa-float { bottom: 96px; }
@media (max-width: 720px) {
  .wa-float { right: 16px; bottom: 16px; width: 56px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
}
@media print { .wa-float { display: none !important; } }