/* Bonded Warehouse: app-only styles, built from the kit tokens */
.big-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 16px; }
.bigbtn { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 16px; border: 0; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--lift); outline: 1.5px solid var(--edge); outline-offset: -1.5px; color: var(--ink); text-decoration: none; min-height: 112px; font: inherit; text-align: left; cursor: pointer; }
.bigbtn svg { width: 28px; height: 28px; color: var(--accent-ink); }
.bigbtn b { font-size: 19px; letter-spacing: -0.02em; }
.bigbtn span { font-size: 13px; color: var(--muted); line-height: 1.3; }
.bigbtn.main { background: var(--navy); color: #fff; } .bigbtn.main svg { color: #ffb38f; } .bigbtn.main span { color: rgba(255,255,255,.7); }
.bigbtn:active { transform: scale(.98); }
.task { display: flex; gap: 12px; align-items: center; padding: 14px 16px; text-decoration: none; color: inherit; position: relative; }
.task + .task::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--hair); }
.task .bar-u { flex: none; width: 5px; align-self: stretch; border-radius: 3px; background: var(--rail); }
.task.overdue .bar-u { background: var(--bad); } .task.today .bar-u { background: var(--accent); } .task.soon .bar-u { background: var(--amber); }
.task .t { font-weight: 600; letter-spacing: -0.01em; } .task .s { font-size: 13px; color: var(--muted); }
.task .due { margin-left: auto; text-align: right; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.task.overdue .due { color: var(--bad); font-weight: 650; }
.allgood { display: flex; gap: 12px; align-items: center; padding: 18px; color: var(--good); font-weight: 600; }
.allgood svg { width: 26px; height: 26px; }
/* yes / no / n/a buttons */
.yn { display: flex; gap: 8px; }
.ynb { flex: 1; position: relative; }
.ynb input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; min-height: 0; }
.ynb span { display: grid; place-items: center; min-height: 50px; border-radius: 12px; background: var(--surface-2); font-weight: 650; color: var(--ink-2); }
.ynb.on.yes span { background: var(--good); color: #fff; } .ynb.on.no span { background: var(--bad); color: #fff; } .ynb.on.na span { background: var(--navy); color: #fff; }
.ynb:focus-within span { box-shadow: 0 0 0 4px var(--accent-tint); }
.q { margin-bottom: 18px; } .q > .qt { font-weight: 600; margin-bottom: 8px; } .q > .qh { font-size: 12.5px; color: var(--muted); margin: -4px 0 8px; }
/* wizard */
.stepbar { display: flex; gap: 6px; margin: 0 0 16px; }
.stepbar i { flex: 1; height: 5px; border-radius: 3px; background: var(--surface-2); }
.stepbar i.done { background: var(--navy); } .stepbar i.now { background: var(--accent); }
.steptitle { margin: 0 0 4px; } .stepsub { margin: 0 0 16px; color: var(--muted); }
.wnav { display: flex; gap: 10px; margin-top: 18px; } .wnav .btn { flex: 1; } .wnav .btn.ghost { flex: 0 0 34%; }
.lcard { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--lift); padding: 16px; margin-bottom: 12px; outline: 1.5px solid var(--edge); outline-offset: -1.5px; }
.lcard .head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .lcard .head b { flex: 1; }
.kvl { margin: 0; display: grid; gap: 0; } .kvl > div { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair); } .kvl > div:last-child { border: 0; }
.kvl dt { flex: 0 0 38%; color: var(--muted); font-size: 13px; } .kvl dd { margin: 0; flex: 1; font-weight: 550; word-break: break-word; }
.mono { font-family: var(--font-mono); letter-spacing: 0; }
.arc-count { font: 600 12.5px var(--font-mono); } .arc-count.ok { color: var(--good); } .arc-count.bad { color: var(--bad); }
.cols { display: grid; grid-template-columns: 1fr; gap: 0 16px; } @media (min-width: 820px) { .cols { grid-template-columns: 1fr 1fr; } }
.scroll-x { overflow-x: auto; } .dtable td, .dtable th { white-space: nowrap; }
.sumline { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--hair); } .sumline:last-child { border: 0; }
.sumline.big { font-size: 20px; font-weight: 650; }
.pill-n { display: inline-block; min-width: 22px; padding: 2px 7px; border-radius: 99px; background: var(--accent); color: #fff; font: 650 12px var(--font); text-align: center; }
.success { text-align: center; padding: 26px 18px; } .success .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--good-bg); color: var(--good); display: grid; place-items: center; margin: 0 auto 12px; } .success .ok svg { width: 34px; height: 34px; }
.pager { display: flex; gap: 8px; justify-content: center; margin: 14px 0; }
.search-simple { margin: 0 0 12px; }
.stopbox { background: var(--bad); color: #fff; border-radius: var(--r-lg); padding: 18px; margin-bottom: 14px; } .stopbox b { font-size: 20px; display: block; margin-bottom: 6px; }
.chk { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; } .chk input { margin-top: 2px; }
.numin { text-align: center; font-size: 28px; font-weight: 650; letter-spacing: -0.03em; min-height: 62px; }
.help { border: 0; background: var(--surface-2); color: var(--ink-2); width: 24px; height: 24px; border-radius: 50%; font: 700 13px var(--font); cursor: pointer; margin-left: 6px; }
.gloss dt { font-weight: 650; margin-top: 14px; } .gloss dd { margin: 2px 0 0; color: var(--ink-2); }
.pre { white-space: pre-wrap; font-family: var(--font-mono); font-size: 12.5px; }
/* printable paper forms and registers */
.paper { background: #fff; color: #000; padding: 18px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 14px; font-size: 13px; }
.paper h2 { font: 700 18px var(--font-display); text-transform: uppercase; margin: 0 0 4px; }
.paper .ln { display: flex; gap: 8px; align-items: flex-end; margin: 12px 0; } .paper .ln span { white-space: nowrap; } .paper .ln i { flex: 1; border-bottom: 1px solid #000; min-height: 18px; }
.paper table { width: 100%; border-collapse: collapse; margin: 10px 0; } .paper th, .paper td { border: 1px solid #000; padding: 7px 6px; text-align: left; font-size: 12px; } .paper td { height: 28px; }
.paper .box { display: inline-block; width: 14px; height: 14px; border: 1.5px solid #000; vertical-align: -2px; margin-right: 6px; }
@media print { .paper { border: 0; padding: 0; page-break-after: always; } .tabs, .top, .no-print, .sync, .ptr { display: none !important; } body { background: #fff; } }
