/* Certified Payroll Desk app prototype. Brand: blue #1648E0, yellow #FFE94A, navy #0B1440, DM Sans. */
:root {
  --blue: #1648E0; --blue-d: #0F36B0; --blue-l: #EAF0FF; --navy: #0B1440; --yellow: #FFE94A;
  --bg: #F4F6FB; --card: #fff; --line: #E2E7F1; --line-d: #C9D1E2; --text: #0B1440; --mute: #5A6585; --faint: #8791AD;
  --green: #0B7A45; --green-l: #E4F6EC; --red: #C0271F; --red-l: #FDECEA; --amber: #9A5B00; --amber-l: #FFF3D6; --grey-l: #EEF1F7;
  --r: 12px; --shadow: 0 1px 2px rgba(11, 20, 64, .06), 0 4px 16px rgba(11, 20, 64, .05);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 15px/1.45 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin: 0; }
h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
h2 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 15px; font-weight: 700; }
a { color: var(--blue); text-decoration: none; } a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mute { color: var(--mute); } .small { font-size: 13px; } .right { text-align: right; } .nowrap { white-space: nowrap; } .b { font-weight: 700; }
.row { display: flex; align-items: center; gap: 12px; } .row.wrap { flex-wrap: wrap; } .spread { justify-content: space-between; } .grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 16px; } .stack-s > * + * { margin-top: 8px; }
[hidden] { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line-d); background: #fff; font-weight: 700; cursor: pointer; white-space: nowrap; text-decoration: none !important; color: var(--text); }
.btn:hover { border-color: var(--navy); }
.btn.pri { background: var(--blue); border-color: var(--blue); color: #fff; } .btn.pri:hover { background: var(--blue-d); border-color: var(--blue-d); }
.btn.yel { background: var(--yellow); border-color: var(--yellow); color: var(--navy); } .btn.yel:hover { filter: brightness(.96); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--blue); padding: 0 10px; } .btn.ghost:hover { background: var(--blue-l); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 14px; border-radius: 8px; } .btn.lg { height: 50px; padding: 0 26px; font-size: 16px; }
.btn.danger { color: var(--red); } .btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn svg.i { width: 18px; height: 18px; }
:focus-visible { outline: 3px solid rgba(22, 72, 224, .35); outline-offset: 2px; }

/* forms */
label.f { display: block; font-weight: 700; font-size: 14px; }
label.f > span.h { display: block; font-weight: 400; color: var(--mute); font-size: 13px; }
.in, select.in, textarea.in { display: block; width: 100%; height: 44px; margin-top: 6px; padding: 0 12px; border: 1px solid var(--line-d); border-radius: 10px; background: #fff; }
textarea.in { height: 120px; padding: 10px 12px; }
.in:focus { outline: 3px solid rgba(22, 72, 224, .25); border-color: var(--blue); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .grid3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; } .grid-name { display: grid; grid-template-columns: calc(50% - 8px) 110px 1fr; gap: 16px; } .grid-name > label.f { white-space: nowrap; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin-top: 6px; }
.seg label { display: block; border: 1.5px solid var(--line-d); border-radius: 12px; padding: 14px; cursor: pointer; background: #fff; font-weight: 700; }
.seg label span { display: block; font-weight: 400; color: var(--mute); font-size: 13px; margin-top: 2px; }
.seg input { position: absolute; opacity: 0; } .seg input:checked + label, .seg label.on { border-color: var(--blue); background: var(--blue-l); box-shadow: inset 0 0 0 1px var(--blue); }
.tog { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.tog:first-child { border-top: 0; }
.tog input { appearance: none; width: 40px; height: 24px; border-radius: 20px; background: var(--line-d); position: relative; flex: none; margin: 1px 0 0; cursor: pointer; transition: background .15s; }
.tog input:after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s; }
.tog input:checked { background: var(--blue); } .tog input:checked:after { left: 19px; }
.tog b { display: block; } .tog span { color: var(--mute); font-size: 13px; }

/* cards, pills, tables */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.card.pad { padding: 20px; } .card > .hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.card > .bd { padding: 16px 20px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 20px; font-size: 12.5px; font-weight: 700; background: var(--grey-l); color: var(--mute); white-space: nowrap; }
.pill:before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.draft { background: var(--amber-l); color: var(--amber); } .pill.signed { background: var(--blue-l); color: var(--blue); } .pill.sent { background: var(--green-l); color: var(--green); }
.pill.late, .pill.returned { background: var(--red-l); color: var(--red); } .pill.none { background: var(--grey-l); color: var(--mute); } .pill.nowork { background: #F0EAFE; color: #5B37B7; }
table.t { width: 100%; border-collapse: collapse; }
table.t th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--mute); font-weight: 700; padding: 10px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; } table.t tbody tr.click { cursor: pointer; } table.t tbody tr.click:hover { background: #F8FAFE; }
table.t td.num, table.t th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tw { overflow-x: auto; }
.empty { text-align: center; padding: 40px 20px; color: var(--mute); }
.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--blue-l); font-size: 14px; } .note svg.i { color: var(--blue); margin-top: 1px; }
.note.warn { background: var(--amber-l); } .note.warn svg.i { color: var(--amber); } .note.err { background: var(--red-l); } .note.err svg.i { color: var(--red); } .note.ok { background: var(--green-l); } .note.ok svg.i { color: var(--green); }

/* shell */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.side { background: var(--navy); color: #C9D2EE; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.logo { display: flex; align-items: center; gap: 10px; padding: 20px 20px 14px; color: #fff; font-weight: 800; font-size: 16px; letter-spacing: -.01em; line-height: 1.1; }
.logo i { width: 30px; height: 30px; border-radius: 9px; background: #FFE94A; box-shadow: inset -7px -7px 0 #0B1440; flex: none; display: block; } /* same mark as the website header */
.side .logo i, .pitch .logo i { box-shadow: inset -7px -7px 0 #2A3A80; } /* navy band stays visible on the navy sidebar */
.co { margin: 0 12px 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .07); display: flex; align-items: center; gap: 10px; cursor: pointer; border: 0; color: #fff; text-align: left; width: calc(100% - 24px); }
.co small { display: block; color: #9AA6CF; font-size: 12px; } .co svg.i { margin-left: auto; width: 16px; height: 16px; }
.nav { padding: 6px 12px; overflow: auto; flex: 1; }
.nav a { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 10px; color: #C9D2EE; font-weight: 500; text-decoration: none; }
.nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; } .nav a.on { background: var(--blue); color: #fff; font-weight: 700; }
.nav a em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 800; background: var(--yellow); color: var(--navy); border-radius: 20px; min-width: 22px; height: 22px; display: grid; place-items: center; padding: 0 6px; }
.nav .sep { height: 1px; background: rgba(255, 255, 255, .1); margin: 10px 8px; } .nav .lab { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: #7E8AB8; padding: 6px 12px 4px; }
.side .foot { padding: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
.main { min-width: 0; display: flex; flex-direction: column; }
.top { height: 64px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; padding: 0 28px; position: sticky; top: 0; z-index: 20; }
.top .search { flex: 1; max-width: 420px; position: relative; } .top .search input { width: 100%; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); padding: 0 12px 0 38px; } .top .search svg.i { position: absolute; left: 11px; top: 10px; color: var(--faint); }
.iconbtn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; position: relative; }
.iconbtn:hover { border-color: var(--navy); } .iconbtn .dot { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; border-radius: 10px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 4px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-l); color: var(--blue); font-weight: 800; display: grid; place-items: center; border: 0; cursor: pointer; }
.page { padding: 28px; max-width: 1240px; width: 100%; }
.ph { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.ph p { color: var(--mute); margin-top: 4px; }
.pop { position: absolute; right: 0; top: 48px; width: 360px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 40px rgba(11, 20, 64, .18); z-index: 50; overflow: hidden; }
.pop .it { display: flex; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); cursor: pointer; color: var(--text); text-decoration: none; } .pop .it:hover { background: #F8FAFE; }
.pop .it:first-of-type { border-top: 0; } .pop h3 { padding: 14px 16px 10px; }
.bub { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--blue-l); color: var(--blue); }
.bub.red { background: var(--red-l); color: var(--red); } .bub.amb { background: var(--amber-l); color: var(--amber); } .bub.grn { background: var(--green-l); color: var(--green); }
.tabbar { display: none; }

/* dashboard */
.dash { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.wk { padding: 20px; display: grid; grid-template-columns: 1fr auto; gap: 14px 20px; align-items: center; }
.wk + .wk { border-top: 1px solid var(--line); }
.wk h3 { font-size: 17px; } .wk .meta { color: var(--mute); font-size: 14px; margin-top: 2px; }
.steps { display: flex; gap: 6px; margin-top: 12px; align-items: center; flex-wrap: wrap; }
.steps span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--faint); }
.steps span i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-d); display: grid; place-items: center; font-style: normal; font-size: 11px; }
.steps span.done { color: var(--green); } .steps span.done i { background: var(--green); border-color: var(--green); color: #fff; }
.steps span.now { color: var(--blue); } .steps span.now i { border-color: var(--blue); background: var(--blue-l); }
.steps b { width: 18px; height: 2px; background: var(--line-d); }
.due { font-weight: 800; } .due.late { color: var(--red); } .due.soon { color: var(--amber); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 16px 18px; } .stat b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; } .stat span { color: var(--mute); font-size: 13.5px; }
.rem { display: flex; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); align-items: flex-start; } .rem:first-child { border-top: 0; }
.rem .when { font-size: 12.5px; color: var(--mute); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 14px; }
.timeline div { padding: 12px 14px; border: 1px solid var(--line); background: #fff; position: relative; } .timeline div:first-child { border-radius: 10px 0 0 10px; } .timeline div:last-child { border-radius: 0 10px 10px 0; background: var(--yellow); border-color: var(--yellow); }
.timeline div + div { border-left: 0; } .timeline small { display: block; color: var(--mute); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; } .timeline div:last-child small { color: var(--navy); } .timeline b { font-size: 15px; }
.check { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); } .check:first-child { border-top: 0; }
.check i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-d); flex: none; display: grid; place-items: center; color: #fff; } .check.done i { background: var(--green); border-color: var(--green); } .check.done span { color: var(--mute); text-decoration: line-through; }
.check i svg { width: 13px; height: 13px; stroke-width: 3; }

.dash > .stack + .stack .timeline { grid-template-columns: 1fr; } .dash > .stack + .stack .timeline div { border-radius: 0; border-left: 1px solid var(--line); border-top: 0; } .dash > .stack + .stack .timeline div:first-child { border-radius: 10px 10px 0 0; border-top: 1px solid var(--line); } .dash > .stack + .stack .timeline div:last-child { border-radius: 0 0 10px 10px; border-color: var(--yellow); }
/* auth + wizard */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; background: #fff; }
.auth .pitch { background: var(--navy); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; }
.auth .pitch h1 { font-size: 40px; line-height: 1.08; } .auth .pitch h1 mark { background: none; color: var(--yellow); }
.auth .pitch ul { list-style: none; padding: 0; margin: 28px 0 0; } .auth .pitch li { display: flex; gap: 12px; padding: 10px 0; font-size: 17px; color: #DCE3FA; } .auth .pitch li svg.i { color: var(--yellow); margin-top: 2px; }
.auth .form { padding: 56px; display: grid; place-items: center; } .auth .form > div { width: 100%; max-width: 400px; }
.wiz { min-height: 100vh; background: var(--bg); }
.wiz .bar { background: #fff; border-bottom: 1px solid var(--line); padding: 14px 28px; display: flex; align-items: center; gap: 20px; position: sticky; top: 0; z-index: 10; }
.wiz .bar .logo { padding: 0; color: var(--navy); }
.prog { flex: 1; display: flex; gap: 6px; max-width: 560px; margin: 0 auto; } .prog i { flex: 1; height: 6px; border-radius: 4px; background: var(--line); } .prog i.on { background: var(--blue); }
.wiz .body { max-width: 1040px; margin: 0 auto; padding: 36px 28px 120px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.wiz .body.wide { grid-template-columns: 1fr; max-width: 900px; }
.wiz .kick { color: var(--blue); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.wiz h1 { margin: 6px 0 6px; font-size: 30px; } .wiz .sub { color: var(--mute); font-size: 16px; margin-bottom: 22px; }
.wiz .foot { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 14px 28px; display: flex; justify-content: space-between; gap: 12px; z-index: 10; }
.why { padding: 18px; position: sticky; top: 90px; } .why h3 { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; } .why p { color: var(--mute); font-size: 14px; } .why p + p { margin-top: 8px; }
.picks { max-height: 340px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.picks label { display: grid; grid-template-columns: 22px 1fr auto auto; gap: 10px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--line); cursor: pointer; font-size: 14px; } .picks label:first-child { border-top: 0; } .picks label:hover { background: #F8FAFE; }
.picks label b { font-variant-numeric: tabular-nums; } .picks .grp { padding: 6px 12px; font-size: 12px; color: var(--mute); background: var(--bg); border-top: 1px solid var(--line); font-weight: 700; }
.sheet { border: 1.5px solid var(--line-d); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; display: block; width: 100%; text-align: left; } .sheet.on { border-color: var(--blue); background: var(--blue-l); } .sheet + .sheet { margin-top: 8px; }
table.ed { width: 100%; border-collapse: separate; border-spacing: 0 6px; } table.ed th { text-align: left; font-size: 12.5px; color: var(--mute); font-weight: 700; padding: 0 6px; }
table.ed td { padding: 0 3px; } table.ed .in { margin: 0; height: 40px; } table.ed td.x { width: 36px; }
.xbtn { width: 34px; height: 34px; border: 0; background: transparent; border-radius: 8px; cursor: pointer; color: var(--faint); display: grid; place-items: center; } .xbtn:hover { background: var(--red-l); color: var(--red); }

/* report editor */
.rtabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); padding: 0 12px; overflow-x: auto; }
.rtabs button { border: 0; background: none; padding: 14px 14px 12px; font-weight: 700; color: var(--mute); cursor: pointer; border-bottom: 3px solid transparent; display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.rtabs button i { width: 22px; height: 22px; border-radius: 50%; background: var(--grey-l); display: grid; place-items: center; font-style: normal; font-size: 12px; }
.rtabs button.on { color: var(--blue); border-color: var(--blue); } .rtabs button.on i { background: var(--blue); color: #fff; }
.rtabs button em { font-style: normal; background: var(--red); color: #fff; font-size: 11px; border-radius: 10px; padding: 1px 7px; } .rtabs button em.ok { background: var(--green); }
table.hrs { border-collapse: collapse; width: 100%; min-width: 900px; }
table.hrs th { font-size: 12px; color: var(--mute); padding: 8px 4px; text-align: center; font-weight: 700; border-bottom: 1px solid var(--line); } table.hrs th b { display: block; color: var(--text); font-size: 13px; }
table.hrs th:first-child, table.hrs td:first-child { text-align: left; padding-left: 20px; }
table.hrs td { padding: 4px; border-bottom: 1px solid var(--line); text-align: center; } table.hrs tr.l2 td { border-bottom: 0; padding-bottom: 0; }
table.hrs input.h { width: 52px; height: 36px; text-align: center; border: 1px solid var(--line-d); border-radius: 8px; font-variant-numeric: tabular-nums; } table.hrs input.h.ot { background: #FFFBE6; } table.hrs input.h:focus { outline: 3px solid rgba(22, 72, 224, .25); border-color: var(--blue); }
table.hrs .wend { background: #FAFBFE; } table.hrs .tag { font-size: 11px; font-weight: 800; color: var(--mute); width: 28px; display: inline-block; text-align: right; margin-right: 4px; }
table.hrs select.in { height: 34px; margin-top: 4px; font-size: 13px; padding: 0 8px; width: 210px; }
table.hrs .tot { font-weight: 800; font-variant-numeric: tabular-nums; } table.hrs td.who b { font-size: 15px; }
table.pay input.in { margin: 0; height: 38px; width: 80px; display: inline-block; text-align: right; padding: 0 8px; font-variant-numeric: tabular-nums; } table.pay input.txt { width: 120px; text-align: left; }
table.pay td, table.pay th { padding: 8px 6px; } table.pay th { white-space: normal; line-height: 1.25; vertical-align: bottom; } table.pay td:first-child, table.pay th:first-child { padding-left: 20px; } table.pay td:last-child, table.pay th:last-child { padding-right: 20px; } table.pay td.out { font-weight: 800; }
.issue { display: flex; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); align-items: flex-start; } .issue:first-child { border-top: 0; }
.issue p { color: var(--mute); font-size: 14px; margin-top: 2px; }
.passed { display: flex; gap: 10px; padding: 8px 20px; align-items: center; font-size: 14px; } .passed svg.i { color: var(--green); width: 18px; height: 18px; }
.sumbar { display: flex; gap: 26px; padding: 14px 20px; border-top: 1px solid var(--line); background: #FAFBFE; border-radius: 0 0 var(--r) var(--r); flex-wrap: wrap; align-items: center; } .sumbar div b { display: block; font-size: 18px; font-weight: 800; } .sumbar div span { font-size: 12.5px; color: var(--mute); }

/* WH-347 preview */
.form347 { background: #fff; border: 1px solid var(--line-d); border-radius: 6px; padding: 14px; font-size: 10.5px; color: #111; overflow-x: auto; line-height: 1.3; }
.form347 .wh-sheet { width: 1280px; box-sizing: border-box; border: 1px solid #8a4b1f; padding: 12px 14px; margin-bottom: 16px; background: #fff; }
.form347 table { border-collapse: collapse; width: 100%; } .form347 th, .form347 td { border: 1px solid #8a4b1f; padding: 3px 4px; text-align: center; vertical-align: middle; font-variant-numeric: tabular-nums; }
.form347 th { font-size: 8px; font-weight: 600; background: #F6C9A5; text-transform: none; line-height: 1.15; } .form347 th i { display: block; font-style: normal; font-weight: 400; margin-bottom: 2px; }
.form347 td.l, .form347 th.l { text-align: left; } .form347 .c { text-align: center; }
.form347 .wh-top { display: grid; grid-template-columns: 170px 1fr 150px; gap: 10px; align-items: start; } .form347 .wh-top .ti { text-align: center; } .form347 .wh-top h4 { font-size: 17px; margin: 0 0 3px; } .form347 .wh-top .ag b { font-size: 13px; } .form347 .wh-top .rv { text-align: right; font-size: 10.5px; }
.form347 .wh-ck { display: flex; justify-content: space-between; margin: 8px 0 6px; font-size: 10.5px; } .form347 .wh-ck span { display: inline-flex; align-items: center; gap: 5px; }
.form347 .cb { display: inline-flex; width: 12px; height: 12px; border: 1px solid #111; align-items: center; justify-content: center; font-size: 10px; line-height: 1; margin-right: 3px; vertical-align: -2px; background: #fff; }
.form347 .wh-hd td { text-align: left; vertical-align: top; background: #FDE6D6; } .form347 .wh-hd small { display: block; font-size: 8.5px; text-transform: uppercase; background: #F6C9A5; margin: -3px -4px 3px; padding: 2px 4px; } .form347 .wh-hd b { font-weight: 600; font-size: 11px; }
.form347 .wh-t { margin-top: 8px; } .form347 .wh-t th.dy { font-size: 8px; } .form347 .wh-t td { font-size: 10px; height: 18px; } .form347 .wh-t tr.ot td { border-bottom-width: 2px; } .form347 .nowork { padding: 16px; font-weight: 700; }
.form347 .wh-foot { font-size: 7.5px; margin-top: 8px; } .form347 .wh-foot p { margin: 2px 0; } .form347 .wh-pg { text-align: right; font-size: 9px; margin: 4px 0 0; }
.form347 .wh-intro { background: #F6C9A5; border: 1px solid #8a4b1f; border-top: 0; margin: 0; padding: 4px 6px; }
.form347 .wh-box { display: grid; grid-template-columns: 34px 1fr; border: 1px solid #8a4b1f; border-top: 0; background: #FDE6D6; } .form347 .wh-box .k { display: flex; justify-content: center; padding-top: 6px; } .form347 .wh-box .k .cb { width: 20px; height: 20px; font-size: 15px; }
.form347 .wh-box .x { padding: 4px 6px 6px 0; } .form347 .wh-box p { margin: 0 0 4px; }
.form347 .wh-sub { margin: 4px 0 2px; background: #fff; } .form347 .wh-sub td { font-size: 9.5px; } .form347 .wh-fb th { font-size: 7.5px; } .form347 .wh-fb td.hc { font-size: 7px; background: #F6C9A5; }
.form347 .wh-end { margin-top: 0; } .form347 .wh-end td { border-top: 0; } .form347 .rm { display: block; min-height: 30px; font-weight: 400 !important; } .form347 .sigc { width: 48%; }
.form347 .wh-warn { font-size: 7.5px; background: #F6C9A5; border: 1px solid #8a4b1f; border-top: 0; margin: 0; padding: 4px 6px; }
.form347 .sig { display: block; font-family: 'Brush Script MT', 'Segoe Script', cursive; font-size: 22px; color: #12307F; line-height: 1.1; }
.tl { display: flex; gap: 4px; flex-wrap: wrap; } .tl a { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; font-weight: 800; text-decoration: none; background: var(--grey-l); color: var(--mute); }
.tl a.sent { background: var(--green-l); color: var(--green); } .tl a.draft, .tl a.signed { background: var(--amber-l); color: var(--amber); } .tl a.miss { background: var(--red-l); color: var(--red); } .tl a.nowork { background: #F0EAFE; color: #5B37B7; } .tl a.open { background: #fff; border: 1.5px dashed var(--line-d); }

/* modal + toast */
.modal { position: fixed; inset: 0; background: rgba(11, 20, 64, .5); display: grid; place-items: center; z-index: 100; padding: 20px; }
.modal .box { background: #fff; border-radius: 16px; width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); } .modal .box.wide { max-width: 760px; }
.modal .box > .hd, .modal .box > form > .hd { padding: 20px 24px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; } .modal .box > .bd, .modal .box > form > .bd { padding: 16px 24px; } .modal .box > .ft, .modal .box > form > .ft { padding: 14px 24px 20px; display: flex; justify-content: flex-end; gap: 10px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; z-index: 200; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); display: flex; gap: 10px; align-items: center; max-width: calc(100vw - 32px); }
.toast svg.i { color: var(--yellow); }
.mail { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; } .mail .mh { background: var(--bg); padding: 12px 16px; font-size: 13px; color: var(--mute); border-bottom: 1px solid var(--line); } .mail .mh b { color: var(--text); } .mail .mb { padding: 18px 16px; } .mail .mb p + p { margin-top: 10px; }
.proto { background: var(--yellow); color: var(--navy); font-size: 12.5px; font-weight: 700; text-align: center; padding: 5px 12px; }

@media (max-width: 1100px) { .dash { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(2, 1fr); } .wiz .body { grid-template-columns: 1fr; } .why { position: static; } }
@media (max-width: 820px) {
  .shell { grid-template-columns: 1fr; } .side { display: none; }
  .top { padding: 0 16px; height: 58px; } .top .search { display: none; } .top .ttl { flex: 1; font-weight: 800; font-size: 17px; }
  .page { padding: 18px 16px 96px; } h1 { font-size: 22px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); z-index: 40; padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; font-size: 11px; font-weight: 700; color: var(--mute); text-decoration: none; } .tabbar a.on { color: var(--blue); }
  .wk { grid-template-columns: 1fr; } .wk .act .btn { width: 100%; }
  .grid2, .grid3 { grid-template-columns: 1fr; } .grid-name { grid-template-columns: 1fr 80px; } .grid-name > :last-child { grid-column: 1 / -1; } .seg { grid-auto-flow: row; }
  .auth { grid-template-columns: 1fr; } .auth .pitch { padding: 28px 22px; } .auth .pitch h1 { font-size: 28px; } .auth .pitch ul { margin-top: 14px; } .auth .pitch li { font-size: 15px; padding: 6px 0; } .auth .form { padding: 28px 22px 48px; }
  .wiz .bar { padding: 12px 16px; gap: 12px; } .wiz .bar .logo span { display: none; } .wiz .body { padding: 22px 16px 120px; } .wiz h1 { font-size: 24px; } .wiz .foot { padding: 12px 16px; }
  .pop { position: fixed; left: 12px; right: 12px; top: 62px; width: auto; }
  .timeline { grid-template-columns: 1fr; } .timeline div, .timeline div:first-child, .timeline div:last-child { border-radius: 0; border-left: 1px solid var(--line); } .timeline div + div { border-top: 0; } .timeline div:first-child { border-radius: 10px 10px 0 0; } .timeline div:last-child { border-radius: 0 0 10px 10px; }
  table.t.stackable thead { display: none; } table.t.stackable tr { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); } table.t.stackable td { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border: 0; text-align: right; } table.t.stackable td:before { content: attr(data-l); color: var(--mute); font-size: 13px; text-align: left; } table.t.stackable td.main { display: block; text-align: left; font-weight: 700; font-size: 16px; padding-bottom: 6px; } table.t.stackable td.main:before { content: none; }
  .sumbar { gap: 16px; }
}
@media print {
  body { background: #fff; } .side, .top, .tabbar, .noprint, .proto, .toast { display: none !important; } .shell { display: block; } .page { padding: 0; max-width: none; }
  .card { border: 0; box-shadow: none; } .form347 { border: 0; padding: 0; overflow: visible; } .form347 .wh-sheet { min-width: 0; margin: 0; break-after: page; page-break-after: always; zoom: .76; } .form347 .wh-sheet:last-child { break-after: auto; page-break-after: auto; } .form347 th, .form347 .wh-hd td, .form347 .wh-box, .form347 .wh-intro, .form347 .wh-warn { -webkit-print-color-adjust: exact; print-color-adjust: exact; } @page { size: letter landscape; margin: 8mm; }
}
.pcs { display: grid; gap: 4px; min-width: 150px; } .pcs label { display: grid; grid-template-columns: 1fr 80px; gap: 6px; align-items: center; font-size: 12px; color: var(--mute); text-align: left; } .pcs .in { height: 34px; margin: 0; } .pcs b { font-size: 12px; text-align: right; }
.grid-ded { display: grid; grid-template-columns: 1fr 130px; gap: 10px; } .grid-ded .in { margin: 0; }
.wdx { margin-top: 4px; }
label.f > span.h.below { margin-top: 6px; line-height: 1.4; } .modal .grid2, .modal .grid-name { align-items: start; }
.clsconf { font-weight: 400; font-size: 14px; line-height: 1.5; } .clsconf b { font-weight: 700; }
.hist { list-style: none; margin: 0; padding: 0; } .hist li { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.hist-s { cursor: pointer; padding: 16px 20px; list-style: revert; } .split-note { margin: 6px 0 0; max-width: 240px; line-height: 1.35; }
.wx { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; } .wx > summary { cursor: pointer; } .wx > summary .mute { display: block; margin-top: 2px; font-weight: 400; }
.locb { border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 8px; } .locb:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.grid-loc { display: grid; grid-template-columns: 1.3fr 1.3fr 70px 110px; gap: 12px; }
.sub-f { margin: 0 0 10px 30px; } .t.codes td .in { margin: 0; height: 36px; font-size: 13px; }
.xi { border-left: 3px solid var(--amber); padding: 6px 10px; margin: 6px 0; background: var(--amber-l); border-radius: 0 6px 6px 0; } .xi.err { border-color: var(--red); background: var(--red-l); } .xi b { display: block; } .xi span { font-size: 13px; color: var(--mute); }
.ssn { display: grid; grid-template-columns: 1fr 160px; align-items: center; gap: 10px; font-weight: 600; } .ssn .in { margin: 0; }
@media (max-width: 700px) { .grid-loc { grid-template-columns: 1fr 1fr; } .sub-f { margin-left: 0; } .ssn { grid-template-columns: 1fr; } }
.t.codes td.main { min-width: 170px; }
.gs-next { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; margin-bottom: 16px; background: linear-gradient(90deg, var(--blue-l), #fff); border-color: #C9D6FF; }
.gs-next small { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); } .gs-next h2 { margin: 2px 0 4px; } .gs-next p { margin: 0; color: var(--mute); max-width: 640px; }
.gs-list { margin-bottom: 16px; } .gs-bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 2px 0 4px; } .gs-bar i { display: block; height: 100%; background: var(--blue); border-radius: 99px; }
.gs-i { display: flex; align-items: center; gap: 10px; padding: 8px 0; } .gs-i > i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #A9B6E8; display: grid; place-items: center; flex: none; } .gs-i.done > i { background: var(--green-l); border-color: var(--green); color: var(--green); } .gs-i.done > i .i { width: 12px; height: 12px; }
.gs-i s { color: var(--mute); } .gs-i a { font-weight: 600; } .gs-i .i { width: 14px; height: 14px; color: var(--faint); }
.gs-start { margin-bottom: 16px; } .gs-start h3 { margin-bottom: 6px; } .gs-start p { margin: 4px 0; }
@media (max-width: 700px) { .gs-next { flex-direction: column; align-items: flex-start; } }
.boot { min-height: 60vh; display: grid; place-content: center; text-align: center; font-weight: 700; color: var(--navy); gap: 6px; } .boot span { font-weight: 400; color: var(--mute); font-size: 14px; }
