:root {
  --bg: #f6f7f9; --card: #fff; --text: #1d2430; --muted: #6b7482; --line: #dde2e8;
  --accent: #1f5f9e; --accent-2: #e8f0f8; --good: #1e7b45; --warn: #a56a00; --bad: #b3261e;
}
* { box-sizing: border-box; }
body { margin: 0; font: 14px/1.45 system-ui, -apple-system, "Segoe UI", "Noto Sans Lao", "Noto Sans JP", sans-serif; background: var(--bg); color: var(--text); }
.hidden { display: none !important; }
header { display: flex; align-items: center; gap: 16px; padding: 10px 20px; background: #13324f; color: #fff; }
header nav { display: flex; gap: 4px; }
header .tab { background: transparent; color: #c9d7e6; border: 0; padding: 6px 12px; border-radius: 6px; cursor: pointer; }
header .tab.active, header .tab:hover { background: rgba(255,255,255,.14); color: #fff; }
header .link { background: none; border: 0; color: #c9d7e6; cursor: pointer; }
.spacer { flex: 1; }
section.tabpane { padding: 16px 20px 40px; }
h2 { font-size: 15px; margin: 22px 0 8px; }
h3 { font-size: 14px; margin: 18px 0 6px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 8px 0; }
label { display: inline-flex; align-items: center; gap: 6px; }
input, select, button { font: inherit; }
input, select { padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
button { padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; }
button:hover { border-color: var(--accent); }
button.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
button:disabled { opacity: .5; cursor: default; }
.muted { color: var(--muted); }
.err { color: var(--bad); }
.badge { padding: 2px 8px; border-radius: 10px; background: var(--accent-2); color: var(--accent); font-size: 12px; }
.badge.locked { background: #e6f4ea; color: var(--good); }
.grid-md { height: 320px; width: 100%; }
.grid-lg { height: 560px; width: 100%; }
.cols { display: grid; grid-template-columns: 440px 1fr; gap: 16px; }
.col-left { height: 640px; }
.chip { display: inline-block; padding: 0 6px; border-radius: 8px; font-size: 12px; margin-right: 3px; }
.chip.pass { background: #e6f4ea; color: var(--good); }
.chip.warn { background: #fff4de; color: var(--warn); }
.chip.fail { background: #fde8e7; color: var(--bad); }
.chip.none { background: #eef0f3; color: var(--muted); }
table.sum { border-collapse: collapse; width: 100%; background: #fff; font-variant-numeric: tabular-nums; }
table.sum th, table.sum td { border: 1px solid var(--line); padding: 5px 8px; vertical-align: top; }
table.sum th { background: #eef2f6; text-align: center; font-weight: 600; }
table.sum td.num { text-align: right; white-space: nowrap; }
table.sum td.sec { background: #f3f6f9; font-weight: 600; }
table.sum .neg { color: var(--bad); }
.gap { color: var(--warn); font-size: 12px; white-space: nowrap; }
.login { position: fixed; inset: 0; display: grid; place-items: center; background: var(--bg); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.login .card { width: 320px; display: grid; gap: 12px; }
.login h1 { font-size: 18px; margin: 0 0 6px; }
.login label { display: grid; gap: 4px; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.35); display: grid; place-items: center; z-index: 50; }
.modal-card { width: min(1100px, 94vw); max-height: 88vh; overflow: auto; }
.modal-card.wide { width: min(1500px, 97vw); max-height: 94vh; }
/* upload review: compact item grid + Excel view on one screen */
.map-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 4px; margin: 2px 0 4px; }
.map-grid.collapsed { display: none; }
.map-item { border: 1px solid #dde3ea; border-radius: 6px; padding: 2px 6px; font-size: 11.5px; line-height: 1.3; cursor: pointer; background: #fff; min-width: 0; }
.map-item .mi-top { display: flex; justify-content: space-between; gap: 6px; white-space: nowrap; } .map-item .mi-top b { overflow: hidden; text-overflow: ellipsis; }
.map-item .mi-top .chip { font-size: 11px; padding: 0 6px; }
.map-item select { width: 100%; font-size: 11.5px; padding: 0 2px; margin: 1px 0; height: 22px; }
.map-item .mi-vals { color: #667; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-item.mi-need { border-color: #e0a400; background: #fff7e0; } .map-item.mi-focus { border-color: #2f6fb3; box-shadow: 0 0 0 2px #cfe0f5; }
.grid-up { height: max(220px, calc(94vh - 330px)); width: 100%; }
.grid-up.tall { height: max(300px, calc(94vh - 160px)); }
.modal-card.wide .toolbar { margin: 2px 0; }
.ag-theme-quartz .col-focus { background: #fff1b8; } .ag-theme-quartz .col-hdr-focus { font-weight: 700; background: #ffe58a; }
.ag-theme-quartz .col-used { background: #e8f3e8; } .ag-theme-quartz .col-chg { background: #fde8e8; } .ag-theme-quartz .col-hdr-chg { font-weight: 700; background: #f8c9c9; color: #a40000; } .ag-theme-quartz .col-hdr { font-weight: 600; background: #f4f8ff; }
.toast { position: fixed; bottom: 20px; right: 20px; background: #13324f; color: #fff; padding: 10px 14px; border-radius: 8px; max-width: 460px; z-index: 60; white-space: pre-wrap; }
.toast.error { background: var(--bad); }
svg.trend { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
code { background: #eef0f3; padding: 1px 4px; border-radius: 4px; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }

.cell-actions { display: flex; align-items: center; gap: 4px; height: 100%; }
.cell-actions button { padding: 2px 7px; line-height: 1.6; font-size: 12.5px; }
#gridSources { height: auto; }
.grid-xl { height: 70vh; min-height: 480px; width: 100%; }
.guide { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 16px; margin: 6px 0 10px; }
.guide ol { margin: 6px 0; padding-left: 20px; } .guide li { margin: 3px 0; } .guide p { margin: 4px 0; }
.swatch { padding: 0 6px; border-radius: 4px; border: 1px solid #d9b56a; }
.swatch.pending, .ag-theme-quartz .cell-pending { background: #fff3b0 !important; }
.swatch.edited, .ag-theme-quartz .cell-edited { background: #ffd8a8 !important; }
.ag-theme-quartz .cell-calc { background: #f2f4f7; color: #4a5361; }
table.sum.compact td, table.sum.compact th { padding: 3px 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; }
/* source setup */
ol.guide { padding-left: 34px; }
.err-text { color: var(--bad); font-size: 12px; }
.toast { cursor: pointer; }
textarea.sql { width: 100%; min-height: 300px; font-family: Consolas, Menlo, monospace; font-size: 12.5px; border: 1px solid var(--line); border-radius: 6px; padding: 8px; box-sizing: border-box; tab-size: 4; }
.form-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; margin: 8px 0; }
.form-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; text-align: left; align-items: stretch; }
.form-grid input { padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; width: 100%; box-sizing: border-box; }
button.primary-lite { border-color: var(--accent); color: var(--accent); font-weight: 600; }
button.danger-lite { border-color: #c0392b; color: #c0392b; font-weight: 600; }
button.muted-btn { color: var(--muted); }
#gridSources .ag-cell-wrap-text { line-height: 1.35; padding-top: 7px; padding-bottom: 7px; word-break: normal; }
/* ③ Balance merged grid */
.swatch.data { background: #fff; border-color: #ccc; }
.swatch.mark { background: #e3efff; border-color: #9cc0ef; }
.swatch.calc { background: #f1f2f4; border-color: #ccc; }
.swatch.recalc, .ag-theme-quartz .cell-recalc { background: #d6f0ff !important; }
.ag-theme-quartz .hdr-mark { background: #e3efff; }
.ag-theme-quartz .hdr-calc { background: #eceef1; color: #555; }
details.guide > summary { cursor: pointer; padding: 4px 0; }
.upd-bar { background: #f7f9fc; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.ag-theme-quartz .cell-lmsdiff { box-shadow: inset 3px 0 0 #7b61ff; }
.swatch.lmsdiff { border-left: 3px solid #7b61ff; }
button.link-btn { background: none; border: none; color: var(--accent); text-decoration: underline; padding: 0 4px; cursor: pointer; }
/* 3. Execution */
.note-box { background: #f4f8ff; border-left: 3px solid #5b8def; padding: 6px 10px; margin: 6px 0; }
table.sum tr.imp td { background: #fde8e7; }
table.sum tr.imp td:first-child { font-weight: 600; color: var(--bad); }
.ag-theme-quartz .row-gone { color: #9aa1ab; text-decoration: line-through; }
.ag-theme-quartz .cell-bad { background: #fde8e7 !important; color: var(--bad); }
.ag-theme-quartz .cell-ok { color: var(--good); }
.ex-grid2 { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.ex-grid2 > div { min-width: 260px; }
.ag-theme-quartz .cell-conflict { box-shadow: inset 0 0 0 2px #d93025; }
.ag-theme-quartz .cell-lmsnew { box-shadow: inset 0 0 0 2px #8e44ad; }
.decide-box { border: 1px solid #f3b4ae; background: #fff6f5; padding: 8px 12px; border-radius: 6px; margin: 8px 0; }
.info-box { border: 1px solid #d7c4e6; background: #faf6fd; padding: 8px 12px; border-radius: 6px; margin: 8px 0; }
.row-today { background: #fff8e1 !important; font-weight: 600; }
.ag-theme-quartz .cell-input { background: #fffbea; }
.ag-theme-quartz .row-removed { color: #999; text-decoration: line-through; }
/* 6. Delay history process table */
table.dh-process td { vertical-align: top; }
table.dh-process tr.sep-top td { border-top: 2px solid var(--line, #cbd5e1); }
table.dh-process .cell-actions { margin-top: 4px; }
table.dh-process .cell-actions, #dhChange .cell-actions { flex-wrap: wrap; height: auto; }

/* 6. Delay history — Report on target */
.dh-report { display: block; }
.dh-report > div:first-child { max-width: 860px; }
#dhRepTables { overflow-x: auto; }
#dhRepTables table.sum { width: auto; }
#dhRepTables td:first-child { white-space: nowrap; }
#dhRepText { width: 100%; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.45; }
.dh-notes label { display: block; margin: 6px 0; }
.dh-notes textarea { width: 100%; }
#dhRepTables table.sum td.num, #dhRepTables table.sum th { white-space: nowrap; }
#dhRepTables tr.total td { font-weight: 600; background: var(--hover, #f1f5f9); }
.pct-low { color: #dc2626; font-weight: 600; }

/* 7. DDT */
#d7Dept tr.total td { font-weight: 600; }
.warn-btn { color: #b45309; border-color: #f59e0b; }
.ag-theme-quartz .row-warn { background: #fff7e0; }
.ag-theme-quartz .row-note, tr.row-note { background: #eef6ff; }
tr.row-warn { background: #fff7e0; }
/* buttons inside table cells: same small size everywhere */
table.sum td button, table.sum td .cell-actions button { padding: 2px 8px; line-height: 1.6; font-size: 12.5px; margin: 2px 2px 2px 0; }
table.sum td .cell-actions { flex-wrap: wrap; height: auto; margin-top: 4px; }
.toolbar select { max-width: 260px; }
/* top menu on one line (laptop screens) */
header { gap: 10px; }
header strong, header .tab, header .link, header #who { white-space: nowrap; }
header .tab { padding: 6px 9px; }
header nav { flex-wrap: wrap; }
.ag-theme-quartz .row-muted { color: #9aa3ad; }
button.chip { border: 1px solid #e0a400; cursor: pointer; font-weight: 600; }

.saved-bar { position: sticky; top: 0; z-index: 20; background: #eef6ee; border: 1px solid #9cc79c; border-radius: 6px; padding: 6px 12px; margin: 6px 16px; font-size: 13px; }
.saved-bar.live { background: #fff7e0; border-color: #e0a400; }
.saved-bar button { margin-left: 8px; }
/* 1&2. Bottom Out — steps (v0.31) */
.steps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 14px; padding: 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; position: sticky; top: 0; z-index: 5; }
.steps .step { border-radius: 16px; padding: 5px 12px; font-size: 13px; }
.steps .step.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.steps .step .st { margin-left: 5px; font-size: 11px; }
.steps .step.active .st { color: #fff; }
.steps .step-sep { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 0 2px 0 10px; }
.mstep > h2:first-child { margin-top: 4px; }
.ov { border-collapse: collapse; width: 100%; background: #fff; }
.ov td, .ov th { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.ov th { font-size: 12px; color: var(--muted); font-weight: 600; }
.ov tr.grp td { background: var(--accent-2); color: var(--accent); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding: 5px 10px; }
.ov .ic { font-size: 16px; width: 28px; text-align: center; }
.ov .ic.ok { color: var(--good); } .ov .ic.warn { color: var(--warn); } .ov .ic.todo { color: #9aa3ad; }
.ov td.what { width: 34%; }
/* check with Inada */
.ib-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 10px 0; }
.ib-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.ib-card .v { font-size: 20px; font-weight: 600; }
.ib-card .l { font-size: 12px; color: var(--muted); }
.ib-card.warn { border-color: #f0c36d; background: #fffaf0; }
.ib-card.click { cursor: pointer; } .ib-card.click:hover { border-color: var(--accent); }
.note-box.warnbox { background: #fff4de; border: 1px solid #f0c36d; border-radius: 8px; padding: 8px 12px; margin: 8px 0; }
.ib-act { background: #f3f6fa; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.ib-detail { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-top: 10px; }
.ib-detail table.sum td.diff { background: #fff4de; }
.ib-detail table.sum td.fol { background: #f6f7f9; color: var(--muted); }
.ib-detail .reasons li { margin: 2px 0; }
.st-open { color: var(--warn); font-weight: 600; } .st-mine { color: var(--good); } .st-inada { color: var(--accent); } .st-changed { color: var(--bad); font-weight: 600; }
tr.clickrow { cursor: pointer; } tr.clickrow:hover td { background: #f3f6fa; }
#ibInfo .stats-grid { align-items: start; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
button:disabled, button.primary-lite:disabled { opacity: .45; cursor: default; border-color: var(--line); }
.xstep > h2:first-child { margin-top: 4px; }
.ag-theme-quartz .mark-head { background: #e6eefb; }
/* Rules (v0.34) */
.rule-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: 10px 14px; margin: 8px 0; }
.rule-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.rule-card ul { margin: 4px 0 4px 18px; padding: 0; } .rule-card li { margin: 2px 0; }
.rule-when, .rule-change { font-size: 13px; color: #34404f; }
.rule-change { border-top: 1px dashed var(--line); padding-top: 4px; margin-top: 4px; }
.rule-card mark { background: #fff1a8; }
button.rules-btn { border-color: #b9c9e0; color: var(--accent); background: #f3f7fc; }
@media print { header, .toolbar, nav, #savedBar { display: none !important; } .rule-card { break-inside: avoid; } }

a.drill { color: inherit; text-decoration: underline dotted #7a95b3; text-underline-offset: 3px; cursor: pointer; } a.drill:hover { color: var(--accent); text-decoration-style: solid; }
.adj-bar { background: #fff4e5; border: 1px solid #e0a400; border-radius: 6px; padding: 6px 12px; margin: 6px 16px; font-size: 13px; }
.adj-bar .adj-item + .adj-item { border-top: 1px dashed #e0c070; margin-top: 6px; padding-top: 6px; }
.adj-bar button { margin-left: 6px; font-size: 12px; padding: 2px 8px; }
.badge.warnb { background: #fff4e5; color: #8a5a00; border-color: #e0a400; }
.fmt-box { border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; margin: 4px 0 6px; font-size: 13px; background: #f6f8fa; }
.fmt-box.ok { background: #eaf6ea; border-color: #8cc58c; color: #1e6b1e; }
.fmt-box.bad { background: #fdecec; border-color: #e08080; color: #8a1f1f; }
.map-item.mi-changed { border: 2px solid #d9534f; background: #fff3f3; }
/* v0.42: the tab bar stays at the top; the steps of a tab stay right under it */
header { position: sticky; top: 0; z-index: 40; }
.steps { top: var(--hdr-h, 0px) !important; z-index: 30; }
.saved-bar { top: var(--hdr-h, 0px); }
/* 3. Execution → 3 · Check with Inada: three tables side by side, each as high as its rows */
.xi-tables { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; margin: 8px 0; }
.xi-tables > table { width: auto; margin: 0; flex: 0 1 auto; }
.xi-tables td, .xi-tables th { vertical-align: top; }
.ag-theme-quartz .cell-edit { background: #fffbe6; }
.ag-tooltip { white-space: pre-line; max-width: 720px; }

/* ③✓ only in Inada → why: each condition of a BL_LMS rule — met (green) / not met (red, highlighted) */
.why-cell { line-height: 1.5; white-space: normal; }
.why-ok { color: #1b7a3a; }
.why-bad { color: #b00020; background: #ffe3e3; border-radius: 3px; padding: 0 3px; font-weight: 600; }
b.why-bad { background: none; }
.why-note { color: #8a5a00; }

.warn-box { background: #fff4e5; border: 1px solid #f0b46c; border-radius: 6px; padding: 8px 12px; margin: 8px 0; }
.ag-theme-quartz .cell-auto { background: #efe6fb !important; box-shadow: inset 0 0 0 2px #8e44ad; }

.hdr-empty { background: #f2f2f2; color: #999; }

/* grouped tabs (Kham, 11 Oct 2026): the parent shows its sub tabs on hover or click */
header .tab-group { position: relative; display: inline-flex; }
header .tab-group .tab-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 1000; min-width: 180px; padding: 6px; margin-top: 2px; background: #17324f; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.25); flex-direction: column; gap: 2px; }
header .tab-group:hover .tab-menu, header .tab-group.open .tab-menu { display: flex; }
header .tab-group::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 4px; }   /* no gap between parent and menu while moving the mouse */
header .tab-group .tab-menu .tab { text-align: left; width: 100%; }
header .tab-group .tab-parent.has-active { background: rgba(255,255,255,.14); color: #fff; }
/* v0.62.8: every table can be made taller / shorter by the user (drag the bottom-right corner); the height is kept per table */
.ag-theme-quartz.grid-md, .ag-theme-quartz.grid-lg, .ag-theme-quartz.grid-xl, .ag-theme-quartz.grid-up { resize: vertical; overflow: hidden; min-height: 200px; }
.small { font-size: 12px; margin: 2px 0 6px; }
/* v0.63.0 Win Lose */
.ag-theme-quartz .wl-w { background: #e3f4e8 !important; color: #1e7b45; font-weight: 600; }
.ag-theme-quartz .wl-d { background: #fff4d6 !important; color: #8a5a00; font-weight: 600; }
.ag-theme-quartz .wl-l { background: #fdecea !important; color: #b3261e; }
.ag-theme-quartz .wl-today { border-left: 2px solid var(--accent) !important; }
.ag-theme-quartz .wl-total { font-weight: 700; background: #f3f6fa; }
.wl-lv { cursor: pointer; color: var(--accent); text-decoration: underline; }
.wl-lv.on { font-weight: 700; text-decoration: none; color: #000; }
.wl-sym { display: inline-block; min-width: 14px; text-align: center; font-weight: 700; }
/* v0.71.0 Chairman report: the grids are as high as their rows and the column header stays at the top of the window while the page scrolls */
.grid-sticky { width: 100%; }
.grid-sticky .ag-root-wrapper, .grid-sticky .ag-root-wrapper-body, .grid-sticky .ag-root { overflow: visible !important; }
.grid-sticky .ag-header { position: sticky; top: var(--stick-top, 0px); z-index: 25; background: var(--ag-header-background-color, #f8f8f8); }
.warn-text { color: #8a5a00; font-weight: 600; }
#czSum a.cz-f { color: #1a5fb4; text-decoration: underline dotted; } #czSum a.cz-f.on { background: #fff3c4; outline: 2px solid #e0a400; border-radius: 3px; text-decoration: none; }

/* v0.82.5: review of changed columns */
table.sum tr.row-chg td { background: #fde8e8; }

/* v0.93.0 languages */
header select.lang-sel { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: 3px 6px; }
header select.lang-sel option { color: #1d2430; }
html[data-lang="lo"] body { font-family: "Phetsarath OT", "Saysettha OT", "Noto Sans Lao", "Leelawadee UI", "Lao UI", system-ui, sans-serif; line-height: 1.55; }
html[data-lang="ja"] body { font-family: "Yu Gothic UI", "Meiryo", "Noto Sans JP", system-ui, sans-serif; }
/* v0.93.26: staff changes — a hire / resigned date that is not the report date (keyed late by HR) */
tr.hl-late td { background: #fff3b0; }
.hl-late-key { background: #fff3b0; padding: 0 6px; border-radius: 3px; font-weight: 600; }
details.sc-more { margin: 6px 0 10px; border: 1px solid #e3e8ef; border-radius: 6px; padding: 4px 10px; background: #fafbfd; }
details.sc-more > summary { cursor: pointer; padding: 4px 0; color: #334; }
details.sc-more[open] > summary { margin-bottom: 6px; }
/* v0.99.8 Masters → LMS API table */
.la-tbl td { overflow-wrap: anywhere; vertical-align: top; }
.la-tbl td.num, .la-tbl th.num { text-align: right; white-space: nowrap; }
.la-tbl th { white-space: normal; }
.la-tbl td button, .la-tbl td select { overflow-wrap: normal; white-space: nowrap; }
.la-tbl .cell-actions { gap: 4px; }
/* v1.0.0 Payroll */
.btn-file { display: inline-block; cursor: pointer; padding: 4px 10px; border: 1px solid #b9c4d0; border-radius: 6px; background: #fff; font-size: 12.5px; white-space: nowrap; }
.btn-file:hover { background: #eef3f8; }
.ag-theme-quartz .cell-err { color: #b42318; font-weight: 600; }
.py-dl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.py-dl .btn { display: inline-block; padding: 5px 12px; border: 1px solid #2f5597; border-radius: 6px; color: #2f5597; text-decoration: none; font-size: 12.5px; background: #fff; }
.py-dl .btn:hover { background: #2f5597; color: #fff; }
.py-files td { vertical-align: top; }
/* v1.0.2 MAX tables: every day visible */
.ag-theme-quartz.grid-max.auto-h { height: auto !important; min-height: 0; resize: none; overflow: visible; }
.ag-theme-quartz.grid-max.tall-h { height: 90vh; }
