/* MinutesPayroll brand theme for the dashboard and payslip pages (matches the website) */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,800&family=Instrument+Sans:wght@400;500;600&display=swap');
:root {
  --ink: #13233A; --ink-2: #3B4A5E; --muted: #687587; --line: #D3DCE4; --bg: #EEF2F5; --card: #FFFFFF;
  --green: #13233A; --green-2: #22395A; --mint: #E2F1EA; --amber: #FFE36E; --red: #B4372F; --cleared: #0E7C55;
}
body { font-family: 'Instrument Sans', system-ui, sans-serif; background: var(--bg); }
h1, h2, h3, .logo, .card .v, .price, .slip .net, .big { font-family: 'Bricolage Grotesque', sans-serif !important; letter-spacing: -0.025em; }
.btn { border-radius: 10px; }
.side { background: #13233A; }
.logo-mark { background: #13233A; color: #FFE36E; border: 1.5px solid #FFE36E; }
.card.green { background: #13233A; }
.card.green .k, .bank-details .k { color: #AEBBCB; }
.pill { background: #E2F1EA; color: #0E7C55; }
.pill.amber { background: #FFF4C2; color: #6B5200; }
.banner { background: #FFF4C2; color: #5A4500; }
input:focus, select:focus { outline: 2px solid #CFE0FF; border-color: #13233A; }
.opt:has(input:checked) { border-color: #13233A; background: #EEF3FA; box-shadow: 0 0 0 1px #13233A; }
.acct-toggle button.on { border-color: #13233A; background: #EEF3FA; color: #13233A; box-shadow: 0 0 0 1px #13233A; }
:focus-visible { outline: 3px solid #4C8DFF; outline-offset: 2px; }

/* inline checkbox labels (account application) */
label.chk { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 0; cursor: pointer; }
label.chk input { width: auto; margin: 0; }
.person .grid3 > div:has(label.chk) { padding-bottom: 8px; }

/* business account */
.acct-hero { display: grid; grid-template-columns: minmax(260px, 1fr) 1.6fr; gap: 0; background: #13233A; color: #fff; border-radius: 18px; overflow: hidden; margin-bottom: 18px; }
.acct-bal { padding: 26px 28px; border-right: 1px solid rgba(255,255,255,.12); }
.acct-hero .k { font-size: 13px; color: #AEBBCB; margin-bottom: 4px; }
.acct-bal .v { font-family: 'Bricolage Grotesque', sans-serif; font-size: 46px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.acct-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.btn.light { color: #fff; border-color: rgba(255,255,255,.3); background: transparent; }
.btn.light:hover { background: rgba(255,255,255,.08); }
.acct-details { padding: 26px 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px 24px; align-content: center; }
.acct-details .wide { grid-column: 1 / -1; }
.acct-details .v { font: 600 21px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.acct-details .v.sm { font: 600 16px/1.3 'Instrument Sans', sans-serif; letter-spacing: 0; }
.tabs { display: flex; gap: 4px; align-items: center; border-bottom: 1px solid #D3DCE4; margin-bottom: 18px; flex-wrap: wrap; }
.tabs [role=tab] { border: 0; background: none; padding: 11px 14px; font: 600 15px 'Instrument Sans', sans-serif; color: #4A5B70; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs [role=tab][aria-selected=true] { color: #13233A; border-bottom-color: #FFE36E; }
.acct-line { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #D3DCE4; }
.acct-line > span { min-width: 130px; color: #4A5B70; font-size: 14px; }
.acct-line > b { flex: 1; } .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .03em; }
.payees { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.chip { border: 1px solid #D3DCE4; background: #fff; border-radius: 999px; padding: 7px 14px; font: 600 14px 'Instrument Sans', sans-serif; cursor: pointer; color: #13233A; }
.chip span { color: #6B7A8C; font-weight: 500; margin-left: 4px; } .chip:hover { background: #FFE36E; border-color: #FFE36E; }
@media (max-width: 900px) { .acct-hero { grid-template-columns: 1fr; } .acct-bal { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); } .acct-details { grid-template-columns: 1fr 1fr; } }
#acctPane { overflow-x: auto; }
@media (max-width: 700px) { .tabs { flex-wrap: nowrap; overflow-x: auto; } .tabs [role=tab] { white-space: nowrap; } .tabs .btn { display: none; } .acct-bal .v { font-size: 38px; } .acct-line { flex-wrap: wrap; } .acct-line > span { min-width: 100%; } }
pre.code { background: #0B1626; color: #D6E2F0; border-radius: 12px; padding: 14px 16px; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-x: auto; white-space: pre; margin: 6px 0 14px; }
.payees label.chk { border: 1px solid #D3DCE4; border-radius: 999px; padding: 6px 12px; background: #fff; font-size: 13.5px; }
.seg-c { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.chip-r { border: 1px solid #D3DCE4; border-radius: 999px; padding: 8px 14px; background: #fff; cursor: pointer; }
.chip-r:has(input:checked) { border-color: #13233A; background: #13233A; color: #fff; }
.chip-r input { display: none; }
