/* Sabana Family — Cash Disbursement & Office Administration
   Brand: navy & gold; Georgia for headings, Calibri for body (Brand & Logo Guide). */
.oa {
  --navy: #0B1B3A; --navy2: #0E2350; --navy3: #132A54;
  --gold: #C9A24B; --goldl: #D9B45C; --goldbg: #FBF3E1; --goldline: #E9D9AE; --goldtext: #7A5B14;
  --ink: #0B1B3A; --slate: #3B4763; --muted: #667085; --faint: #98A2B3;
  --bg: #F5F6FA; --card: #FFFFFF; --line: #E4E7F0; --line2: #EEF0F5; --hover: #F8F9FC;
  --pos: #1E7B4D; --posbg: #E7F5EC; --neg: #B3261E; --negbg: #FBEAEA;
  --warn: #8A5A00; --warnbg: #FCF1D9; --info: #1F4E99; --infobg: #E8EFFA;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Calibri, Carlito, "Segoe UI", Inter, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 10px;
  --shadow: 0 1px 2px rgba(11, 27, 58, .06), 0 1px 1px rgba(11, 27, 58, .03);
}
.oa * { box-sizing: border-box; }
.oa, .oa { margin: 0; height: 100%; }
.oa { font-family: var(--sans); font-size: 14.5px; line-height: 1.45; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
.oa a { color: inherit; text-decoration: none; }
.oa a.link, .oa .link { color: var(--info); cursor: pointer; }
.oa a.link:hover { text-decoration: underline; }
.oa h1, .oa h2, .oa h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: .2px; }
.oa h1 { font-size: 26px; } .oa h2 { font-size: 19px; } .oa h3 { font-size: 16px; }
.oa button, .oa input, .oa select, .oa textarea { font-family: var(--sans); font-size: 14px; }
.oa .mono { font-family: var(--mono); font-size: 12.5px; }
.oa .num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.oa .muted { color: var(--muted); } .oa .faint { color: var(--faint); } .oa .small { font-size: 12.5px; } .oa .tiny { font-size: 11.5px; }
.oa .neg { color: var(--neg); } .oa .pos { color: var(--pos); } .oa .warn { color: var(--warn); }
.oa .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.oa .spread { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.oa .stack { display: flex; flex-direction: column; gap: 14px; }
.oa .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.oa .grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; }
.oa .grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.oa .span2 { grid-column: span 2; } .oa .span3 { grid-column: 1 / -1; }
.oa .cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
@media (max-width: 1100px) { .oa .cols { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .oa .grid2, .oa .grid3, .oa .grid4 { grid-template-columns: 1fr; } .oa .span2 { grid-column: auto; } }

/* Shell */
.oa .app { display: flex; min-height: 100vh; }
.oa .sidebar { width: 252px; flex-shrink: 0; background: linear-gradient(180deg, var(--navy) 0%, var(--navy2) 100%); color: #fff; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.oa .brand { display: flex; align-items: center; gap: 12px; padding: 22px 20px 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.oa .brand img { width: 34px; height: 34px; object-fit: contain; }
.oa .brand .n { font-family: var(--serif); font-size: 16px; letter-spacing: 2.4px; }
.oa .brand .s { font-size: 9.5px; letter-spacing: 1.6px; color: #C9CFDC; margin-top: 2px; text-transform: uppercase; }
.oa .nav { flex: 1; overflow-y: auto; padding: 12px 12px 20px; }
.oa .nav .grp { font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--goldl); padding: 16px 10px 6px; }
.oa .nav a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 7px; color: #C9CFDC; font-size: 13.5px; }
.oa .nav a .i { width: 18px; text-align: center; opacity: .85; font-size: 13px; }
.oa .nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.oa .nav a.on { background: rgba(201,162,75,.16); color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
.oa .nav .cnt { margin-left: auto; background: var(--gold); color: var(--navy); font-size: 10.5px; font-weight: 700; border-radius: 10px; padding: 0 6px; }
.oa .side-foot { border-top: 1px solid rgba(255,255,255,.12); padding: 14px 18px; font-size: 12px; }
.oa .side-foot .who { color: #fff; font-weight: 600; }
.oa .side-foot .role { color: #C9CFDC; font-size: 11px; }
.oa .side-foot button { background: none; border: none; color: #C9CFDC; padding: 0; margin-top: 8px; cursor: pointer; font-size: 12px; }
.oa .side-foot button:hover { color: #fff; }
.oa .main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.oa .topbar { display: none; }
.oa .content { padding: 28px 32px 60px; max-width: 1400px; width: 100%; }
.oa .pagehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.oa .pagehead .eyebrow { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--goldtext); margin-bottom: 4px; }
.oa .pagehead p { margin: 6px 0 0; color: var(--muted); max-width: 760px; }
@media (max-width: 900px) {
  .oa .sidebar { position: fixed; left: 0; top: 0; z-index: 60; transform: translateX(-100%); transition: transform .2s; }
  .oa .sidebar.open { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.35); }
  .oa .topbar { display: flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; padding: 10px 16px; position: sticky; top: 0; z-index: 40; }
  .oa .topbar button { background: none; border: none; color: #fff; font-size: 22px; padding: 0 4px; }
  .oa .topbar .t { font-family: var(--serif); letter-spacing: 2px; font-size: 14px; }
  .oa .content { padding: 18px 16px 50px; }
}

/* Cards */
.oa .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.oa .card > .hd { padding: 14px 18px; border-bottom: 1px solid var(--line2); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.oa .card > .hd h2, .oa .card > .hd h3 { font-size: 16px; }
.oa .card > .bd { padding: 16px 18px; }
.oa .card > .bd.flush { padding: 0; }
.oa .card.gold { border-color: var(--goldline); background: linear-gradient(180deg, #FFFDF8, #fff); }
.oa .stat { padding: 14px 16px; }
.oa .stat .l { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.oa .stat .v { font-family: var(--serif); font-size: 24px; margin-top: 4px; }
.oa .stat .s { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Buttons */
.oa .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; cursor: pointer; white-space: nowrap; }
.oa .btn:hover { background: var(--hover); }
.oa .btn:disabled { opacity: .5; cursor: not-allowed; }
.oa .btn.primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.oa .btn.primary:hover { background: var(--navy3); }
.oa .btn.gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.oa .btn.gold:hover { background: var(--goldl); }
.oa .btn.danger { color: var(--neg); border-color: #F0CACA; }
.oa .btn.danger:hover { background: var(--negbg); }
.oa .btn.ghost { border-color: transparent; background: transparent; }
.oa .btn.sm { height: 28px; padding: 0 10px; font-size: 12.5px; }

/* Forms */
.oa .field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.oa .field > label { font-size: 12px; font-weight: 600; color: var(--slate); }
.oa .field .hint { font-size: 11.5px; color: var(--muted); }
.oa .input, .oa select.input, .oa textarea.input { width: 100%; height: 36px; border: 1px solid #D5DAE5; border-radius: 8px; padding: 0 10px; background: #fff; color: var(--ink); }
.oa textarea.input { height: auto; min-height: 76px; padding: 8px 10px; resize: vertical; }
.oa .input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.18); }
.oa .input[readonly] { background: var(--bg); }
.oa .check { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; font-size: 13.5px; }
.oa .check input { margin-top: 3px; accent-color: var(--navy); }
.oa .seg { display: inline-flex; border: 1px solid #D5DAE5; border-radius: 8px; overflow: hidden; }
.oa .seg button { border: none; background: #fff; padding: 6px 12px; cursor: pointer; font-weight: 600; color: var(--slate); border-right: 1px solid #D5DAE5; }
.oa .seg button:last-child { border-right: none; }
.oa .seg button.on { background: var(--navy); color: #fff; }

/* Tables */
.oa .tbl { width: 100%; border-collapse: collapse; }
.oa .tbl th { text-align: left; font-size: 11px; letter-spacing: .9px; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #FAFBFD; white-space: nowrap; }
.oa .tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line2); vertical-align: top; }
.oa .tbl tr:last-child td { border-bottom: none; }
.oa .tbl tr.click { cursor: pointer; }
.oa .tbl tr.click:hover td { background: var(--hover); }
.oa .tbl tfoot td { font-weight: 700; border-top: 1px solid var(--line); background: #FAFBFD; }
.oa .tblwrap { overflow-x: auto; }

/* Badges */
.oa .badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; background: var(--line2); color: var(--slate); }
.oa .badge.pos { background: var(--posbg); color: var(--pos); }
.oa .badge.neg { background: var(--negbg); color: var(--neg); }
.oa .badge.warn { background: var(--warnbg); color: var(--warn); }
.oa .badge.info { background: var(--infobg); color: var(--info); }
.oa .badge.gold { background: var(--goldbg); color: var(--goldtext); border: 1px solid var(--goldline); }
.oa .badge.muted { background: var(--line2); color: var(--muted); }
.oa .tier { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 20px; border-radius: 5px; background: var(--navy); color: var(--goldl); font-size: 11px; font-weight: 700; padding: 0 5px; }

/* Tabs */
.oa .tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.oa .tabs button { background: none; border: none; padding: 9px 12px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.oa .tabs button.on { color: var(--ink); border-bottom-color: var(--gold); }

/* Notices */
.oa .note { border-radius: 8px; padding: 10px 12px; font-size: 13px; background: var(--infobg); color: #183B73; border: 1px solid #D3E0F5; }
.oa .note.warn { background: var(--warnbg); color: #6B4700; border-color: #F1DDAE; }
.oa .note.neg { background: var(--negbg); color: #8A1F18; border-color: #F0CACA; }
.oa .note.pos { background: var(--posbg); color: #185F3C; border-color: #C8E6D3; }
.oa .note.gold { background: var(--goldbg); color: var(--goldtext); border-color: var(--goldline); }
.oa .rules { margin: 0; padding-left: 18px; }
.oa .rules li { margin: 3px 0; }

/* Key/value */
.oa .kv { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 7px 14px; font-size: 13.5px; }
.oa .kv > div:nth-child(odd) { color: var(--muted); }
@media (max-width: 600px) { .oa .kv { grid-template-columns: 1fr; } .oa .kv > div:nth-child(odd) { margin-top: 6px; } }

/* Stepper */
.oa .steps { display: flex; gap: 0; overflow-x: auto; padding-bottom: 2px; }
.oa .steps .st { flex: 1; min-width: 92px; text-align: center; position: relative; font-size: 11.5px; color: var(--faint); }
.oa .steps .st .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: #fff; margin: 0 auto 5px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; position: relative; z-index: 1; }
.oa .steps .st::before { content: ""; position: absolute; top: 10px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.oa .steps .st:first-child::before { display: none; }
.oa .steps .st.done { color: var(--slate); } .oa .steps .st.done .dot { background: var(--navy); border-color: var(--navy); color: var(--goldl); }
.oa .steps .st.done::before, .oa .steps .st.cur::before { background: var(--navy); }
.oa .steps .st.cur { color: var(--ink); font-weight: 700; } .oa .steps .st.cur .dot { border-color: var(--gold); background: var(--goldbg); color: var(--goldtext); }

/* Timeline */
.oa .tl { list-style: none; margin: 0; padding: 0; }
.oa .tl li { position: relative; padding: 0 0 12px 18px; font-size: 13px; }
.oa .tl li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.oa .tl li::after { content: ""; position: absolute; left: 7px; top: 15px; bottom: 0; width: 1px; background: var(--line); }
.oa .tl li:last-child::after { display: none; }

/* Slots */
.oa .slot { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.oa .slot:last-child { border-bottom: none; }
.oa .pip { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--gold); margin-left: 3px; }
.oa .pip.on { background: var(--gold); }

/* Modal */
.oa .modal-bg { position: fixed; inset: 0; background: rgba(11,27,58,.45); display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px; z-index: 100; overflow-y: auto; }
.oa .modal { background: #fff; border-radius: 12px; width: 100%; max-width: 640px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.oa .modal.wide { max-width: 900px; }
.oa .modal .hd { padding: 16px 20px; border-bottom: 1px solid var(--line2); display: flex; justify-content: space-between; align-items: center; }
.oa .modal .bd { padding: 18px 20px; }
.oa .modal .ft { padding: 14px 20px; border-top: 1px solid var(--line2); display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.oa .x { background: none; border: none; font-size: 20px; color: var(--muted); cursor: pointer; }

/* Toast */
.oa .toasts { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 200; max-width: min(420px, calc(100vw - 36px)); }
.oa .toast { background: var(--navy); color: #fff; padding: 11px 14px; border-radius: 9px; font-size: 13.5px; box-shadow: 0 8px 24px rgba(0,0,0,.2); border-left: 4px solid var(--gold); }
.oa .toast.err { border-left-color: #F16B61; }

/* Files */
.oa .files { display: flex; flex-direction: column; gap: 6px; }
.oa .fileitem { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line2); border-radius: 8px; font-size: 13px; }
.oa .docreq { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.oa .docreq:last-child { border-bottom: none; }

/* Tasks */
.oa .task { display: flex; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line2); align-items: center; }
.oa .task:last-child { border-bottom: none; }
.oa .task:hover { background: var(--hover); }
.oa .task .bar { width: 4px; align-self: stretch; border-radius: 3px; background: var(--line); }
.oa .task .bar.warn { background: var(--gold); } .oa .task .bar.neg { background: var(--neg); } .oa .task .bar.info { background: #7FA2DB; } .oa .task .bar.pos { background: var(--pos); }
.oa .empty { padding: 34px 18px; text-align: center; color: var(--muted); }

/* Login */
.oa .login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.oa .login .art { background: linear-gradient(160deg, var(--navy) 0%, var(--navy2) 60%, #16305F 100%); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; }
.oa .login .art .tag { font-family: var(--serif); letter-spacing: 3px; color: var(--goldl); font-size: 12px; }
.oa .login .form { display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
.oa .login .form > div { width: 100%; max-width: 380px; }
@media (max-width: 860px) { .oa .login { grid-template-columns: 1fr; } .oa .login .art { padding: 28px 24px; min-height: 0; gap: 20px; } }

/* Print */
.oa .print-only { display: none; }
@media print {
  .oa .sidebar, .oa .topbar, .oa .no-print, .oa .toasts { display: none !important; }
  .oa .print-only { display: block; }
  .oa { background: #fff; font-size: 11.5pt; }
  .oa .content { padding: 0; max-width: none; }
  .oa .card { box-shadow: none; border-color: #bbb; break-inside: avoid; }
  @page { size: A4; margin: 16mm 14mm; }
}
.oa .sheet { background: #fff; max-width: 820px; margin: 0 auto; padding: 36px 40px; border: 1px solid var(--line); }
/* Brand masthead & footer — simplified printer-friendly letterhead (Brand & Logo Guide v1.1) */
.oa .mast { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 2px solid var(--gold); }
.oa .mast-mark { width: 52px; height: 52px; flex-shrink: 0; }
.oa .mast-word .w1 { font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: 3px; color: var(--navy); line-height: 1.15; }
.oa .mast-word .w2 { font-size: 8.6px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--slate); margin-top: 2px; }
.oa .mast-entity { margin-left: auto; align-self: center; font-size: 9.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--goldtext); text-align: right; max-width: 230px; }
.oa .sheet { position: relative; padding-bottom: 74px; }
.oa .sheetfoot { position: absolute; left: 40px; right: 40px; bottom: 26px; text-align: center; border-top: 1px solid var(--gold); padding-top: 8px; font-size: 8.6px; color: var(--muted); letter-spacing: .3px; }
/* Surat keluar body (template layout) */
.oa .surat-ref { font-size: 13.5px; margin-bottom: 16px; }
.oa .surat-ref td { padding: 1.5px 0; vertical-align: top; }
.oa .surat-ref td:first-child { width: 84px; font-weight: 700; color: var(--navy); }
.oa .surat-sign { margin-top: 44px; }
.oa .surat-sign .rule { width: 168px; border-top: 1.5px solid var(--gold); margin-bottom: 6px; }
.oa .surat-sign .nm { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 15px; }
.oa .surat-sign .ti { font-size: 9.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.oa .surat-sign .en { font-size: 11px; color: var(--slate); margin-top: 2px; }
.oa .sheet h1 { font-size: 20px; margin-bottom: 4px; }
.oa .sheet table.form { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 12.5px; }
.oa .sheet table.form th { background: var(--navy); color: #fff; text-align: left; padding: 6px 9px; font-family: var(--serif); font-weight: 400; letter-spacing: .4px; }
.oa .sheet table.form td { border: 1px solid #CDD3DF; padding: 6px 9px; vertical-align: top; }
.oa .sheet table.form td:first-child { width: 38%; color: var(--slate); background: #FAFBFD; }
@media print {
  .oa .sheet { border: none; padding: 0 0 74px; max-width: none; }
  .oa .sheetfoot { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; }
  .oa .bizcard.front, .oa .bizcard.back { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* HR — business card (Office SOP §15: mobile, email, web, address; never the office telephone) */
.oa .bizcard { width: 3.5in; height: 2in; border-radius: 8px; position: relative; overflow: hidden; font-family: var(--sans); flex-shrink: 0; box-shadow: 0 6px 24px rgba(11,27,58,.18); break-inside: avoid; }
.oa .bizcard.front { background: radial-gradient(130% 170% at 16% 38%, #17295c 0%, #0B1B3A 55%, #071229 100%); color: #fff; display: flex; align-items: center; gap: 16px; padding: 0 22px; }
.oa .bizcard.front img { width: .64in; height: .64in; object-fit: contain; }
.oa .bizcard.front .t { font-family: var(--serif); font-weight: 700; font-size: 15.5px; letter-spacing: 2.6px; }
.oa .bizcard.front .s { font-size: 6.6px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; color: #C9CFDC; margin-top: 2px; }
.oa .bizcard.front .g { font-size: 7.2px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--goldl); margin-top: 4px; }
.oa .bizcard.front .m { font-size: 7.6px; font-style: italic; color: #C7CEE0; }
.oa .bizcard.back { background: #FAF7EF; color: var(--navy); padding: 17px 20px 14px 22px; border-top: 5px solid; border-image: linear-gradient(90deg, var(--navy) 0%, #8a6a1e 45%, var(--goldl) 100%) 1; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.oa .bizcard.back .n { font-family: var(--serif); font-size: 16.5px; line-height: 1.1; }
.oa .bizcard.back .r { font-size: 8px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.oa .bizcard.back hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0 7px; }
.oa .bizcard.back .c { display: flex; font-size: 7.4px; line-height: 1.5; gap: 4px; }
.oa .bizcard.back .c b { width: 10px; flex-shrink: 0; }
.oa .bizcard.back img { position: absolute; right: 16px; bottom: 13px; width: .42in; height: .42in; opacity: .95; }
.oa .bcgrid { display: grid; grid-template-columns: repeat(2, 3.5in); gap: .25in; justify-content: start; }
@media print { .oa .bizcard { box-shadow: none; } .oa .bcgrid + .bcgrid { break-before: page; } }

/* HR — organisation chart */
.oa .org { display: flex; flex-direction: column; gap: 6px; }
.oa .org .node { display: inline-flex; flex-direction: column; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 8px; padding: 8px 12px; background: #fff; min-width: 200px; }
.oa .org .node .nm { font-weight: 700; } .oa .org .node .po { font-size: 12px; color: var(--muted); }
.oa .org .kids { margin-left: 28px; padding-left: 14px; border-left: 1px dashed var(--line); display: flex; flex-direction: column; gap: 6px; }

/* HR — QR poster / check-in */
.oa .poster { max-width: 460px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 36px 30px 30px; text-align: center; }
.oa .poster .qr { display: inline-block; padding: 18px; border: 2px solid var(--navy); border-radius: 14px; margin-top: 18px; }
.oa .poster .qr svg { display: block; width: 260px; height: 260px; }
.oa .clock { font-family: var(--serif); font-size: 44px; letter-spacing: 1px; color: var(--navy); }

/* HR — leave calendar */
.oa .cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.oa .cal .d { min-height: 76px; border: 1px solid var(--line2); border-radius: 6px; padding: 4px 6px; font-size: 11.5px; background: #fff; }
.oa .cal .d.we { background: var(--bg); } .oa .cal .d .dn { color: var(--muted); font-size: 11px; }
.oa .cal .d .lv { display: block; margin-top: 2px; padding: 1px 5px; border-radius: 4px; background: var(--infobg); color: var(--info); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oa .cal .d .lv.p { background: var(--warnbg); color: var(--warn); }

/* Verification QR block (optional, printable) */
.oa .verifyqr { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px 8px 8px; background: #fff; }
.oa .verifyqr .qrbox svg { display: block; width: 66px; height: 66px; }
.oa .verifyqr .qrl { font-size: 8.6px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--slate); }
.oa .verifyqr .qrc { font-size: 10.5px; color: var(--navy); margin-top: 2px; }
.oa .verifyqr .qru { font-size: 8px; color: var(--faint); margin-top: 1px; }
.oa .surat-sign .dsig { border: 1px solid var(--goldline); background: #FFFDF6; border-radius: 8px; padding: 10px 12px; display: inline-flex; gap: 12px; align-items: center; }
.oa .surat-sign .dsig .t1 { font-size: 8.6px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--goldtext); }

/* ── merged-app additions ─────────────────────────────────────────── */
/* OA pages live inside the portal shell; keep their canvas neutral. */
.oa { display:block; }
/* Print: when an OA sheet is on the page, the portal chrome disappears. */
@media print {
  body:has(.oa .sheet) .sidebar, body:has(.oa .sheet) .topbar, body:has(.oa .sheet) .bottomnav,
  body:has(.oa .sheet) aside, body:has(.oa .sheet) header, body:has(.oa .sheet) .langtoggle { display:none !important; }
  body:has(.oa .sheet) .main, body:has(.oa .sheet) main, body:has(.oa .sheet) .content { margin:0 !important; padding:0 !important; }
  body:has(.oa .sheet) { background:#fff !important; }
}
/* Bare (print/verify) routes render without the shell entirely. */
.oa.oa-bare { min-height:100vh; padding:24px; }
@media print { .oa.oa-bare { padding:0; } }
.oa { height: auto; }
