[hidden] { display:none !important; }
:root { --brand:#8C1D33; --brand-dark:#6E1428; --ink:#111418; --muted:#5f6670; --line:#d6dadf; --bg:#f4f5f6; --card:#fff; --bar:#16191d; }
* { box-sizing:border-box; }
body { margin:0; font-family:"Segoe UI",Arial,sans-serif; color:var(--ink); background:var(--bg); font-size:13px; }
button { font:inherit; cursor:pointer; border-radius:6px; padding:8px 14px; border:1px solid var(--line); background:#fff; }
button.primary { background:var(--brand); color:#fff; border-color:var(--brand); font-weight:600; }
button.secondary:hover { background:#f0f0f2; }
input,select,textarea { font:inherit; width:100%; padding:7px 9px; border:1px solid var(--line); border-radius:6px; background:#fff; margin-top:3px; }
input:focus,select:focus,textarea:focus { outline:2px solid #8C1D3333; border-color:var(--brand); }
label { display:block; font-size:12px; color:var(--muted); margin-bottom:8px; }
h3 { font-size:13px; text-transform:uppercase; letter-spacing:.04em; color:var(--brand); margin:14px 0 8px; border-bottom:1px solid var(--line); padding-bottom:4px; }
h3:first-child { margin-top:0; }

.topbar { display:flex; align-items:center; gap:24px; background:#fff; border-bottom:1px solid var(--line); padding:8px 16px; position:sticky; top:0; z-index:5; }
.brand { display:flex; align-items:center; gap:8px; font-weight:700; font-size:15px; min-width:180px; }
.brand img { height:28px; max-width:90px; object-fit:contain; }
.brand img:not([src]) { display:none; }
nav { display:flex; gap:4px; }
.tab { border:none; background:none; padding:8px 14px; color:var(--muted); }
.tab.active { background:#8C1D3314; color:var(--brand); font-weight:600; }
.folder { margin-left:auto; font-size:11px; color:var(--muted); max-width:380px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.folder.warn { color:var(--brand); font-weight:600; cursor:pointer; }

.tabpane { display:none; padding:16px; }
.tabpane.active { display:flex; gap:16px; align-items:flex-start; }
.form { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:16px; width:540px; flex-shrink:0; }
.form.narrow { width:560px; }
.grid2 { display:grid; grid-template-columns:1fr 1fr; gap:0 10px; }
.grid3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:0 10px; }
.grid4 { display:grid; grid-template-columns:repeat(4,1fr); gap:0 8px; }
.actions { display:flex; gap:8px; justify-content:flex-end; margin-top:10px; }
.hint { font-size:11px; color:var(--muted); margin:6px 0; }

.previewWrap { flex:1; overflow:auto; }
.previewHead { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; color:var(--muted); }
.page { width:210mm; height:297mm; margin-bottom:6mm; background:#fff; box-shadow:0 2px 12px #0002; padding:6mm 8mm; transform-origin:top left; }

.folderRow { display:flex; gap:8px; align-items:center; }
.folderRow code { flex:1; background:var(--bg); padding:8px; border-radius:6px; font-size:11px; word-break:break-all; }
.logoRow { display:flex; gap:14px; align-items:center; margin-bottom:10px; }
.logoBox { width:180px; height:70px; border:1px dashed var(--line); border-radius:8px; display:flex; align-items:center; justify-content:center; background:var(--bg); }
.logoBox img { max-width:170px; max-height:62px; }
.logoBox img:not([src]) { display:none; }

#tab-records.active { display:block; }
.recordsBar { display:flex; gap:8px; margin-bottom:10px; }
.recordsBar input { max-width:420px; margin:0; }
table.records { width:100%; border-collapse:collapse; background:#fff; border:1px solid var(--line); border-radius:8px; }
.records th,.records td { padding:7px 9px; border-bottom:1px solid var(--line); text-align:left; }
.records th { background:#fafafa; font-size:11px; text-transform:uppercase; color:var(--muted); }
.records td:last-child { white-space:nowrap; text-align:right; }
.records button { padding:4px 9px; font-size:12px; }

#toast { position:fixed; bottom:20px; left:50%; transform:translateX(-50%); background:#222; color:#fff; padding:10px 18px; border-radius:8px; opacity:0; transition:opacity .2s; pointer-events:none; }
#toast.show { opacity:1; }

/* ---------- AIRWAY BILL (one copy) ---------- */
.awb { --c:#d71920; border:1.4px solid var(--c); height:138mm; margin-bottom:4mm; display:flex; flex-direction:column; font-family:Arial,Helvetica,sans-serif; color:#000; background:#fff; overflow:hidden; }
.awb:last-child { margin-bottom:0; }
.a-head { display:grid; grid-template-columns:44mm 1fr 52mm 40mm; border-bottom:1.4px solid var(--c); height:22mm; }
.a-head > div { border-right:1px solid var(--c); padding:1.2mm 2mm; display:flex; flex-direction:column; justify-content:center; }
.a-head > div:last-child { border-right:none; }
.a-logo { align-items:flex-start; }
.a-logo img { max-height:12mm; max-width:40mm; object-fit:contain; }
.a-logo .nm { font-weight:900; font-size:13pt; color:var(--c); line-height:1; }
.a-logo .sm { font-size:6pt; margin-top:.8mm; }
.a-cn { align-items:center; text-align:center; }
.a-cn .t { font-weight:800; font-size:10pt; letter-spacing:.08em; }
.a-cn .num { font-family:"Courier New",monospace; font-weight:700; font-size:17pt; letter-spacing:.06em; line-height:1.1; }
.a-cn .lb { font-size:5.5pt; font-weight:700; color:#333; }
.a-codes { padding:0 !important; }
.a-codes .gst { font-size:6pt; font-weight:700; padding:.6mm 1.5mm; border-bottom:1px solid var(--c); }
.a-codes .row { display:grid; grid-template-columns:1fr 1fr; flex:1; }
.a-codes .row > div { padding:.6mm 1.5mm; display:flex; flex-direction:column; }
.a-codes .row > div + div { border-left:1px solid var(--c); }
.a-codes .v { font-size:13pt; font-weight:800; text-align:center; margin-top:auto; }
.a-codes .copy { background:var(--c); color:#fff; font-weight:800; font-size:7.5pt; text-align:center; padding:.6mm; letter-spacing:.08em; }
.a-bar { align-items:center; padding:1mm 0 !important; background:#fff; }
.a-bar svg { width:100%; height:17mm; }

.a-body { flex:1; display:grid; grid-template-columns:1fr 1fr; min-height:0; }
.a-col { display:flex; flex-direction:column; min-height:0; }
.a-col + .a-col { border-left:1.4px solid var(--c); }
.r { display:flex; border-bottom:1px solid var(--c); min-height:7.4mm; }
.r:last-child { border-bottom:none; }
.r.grow { flex:1; }
.r.h2 { min-height:11mm; }
.r.h3 { min-height:14mm; }
.cl { flex:1; padding:.4mm 1.4mm; min-width:0; display:flex; flex-direction:column; }
.cl + .cl { border-left:1px solid var(--c); }
.cl .l { font-size:5.3pt; font-weight:700; text-transform:uppercase; color:#222; line-height:1.15; }
.cl .v { font-size:8.6pt; font-weight:600; font-family:"Courier New",monospace; line-height:1.15; overflow:hidden; word-break:break-word; }
.r.h2 .cl .v, .r.h3 .cl .v { max-height:100%; }
.cl.sec { background:var(--c); color:#fff; flex:0 0 25%; justify-content:center; }
.cl.sec .l { color:#fff; font-size:6pt; }
.notice { font-size:5.4pt; font-weight:700; padding:.8mm 1.5mm; line-height:1.25; }
.chk { display:flex; flex-wrap:wrap; gap:1mm 2.5mm; white-space:nowrap; align-items:center; font-size:5.6pt; font-weight:700; margin-top:.5mm; }
.chk i { display:inline-block; width:3mm; height:3mm; border:1px solid #000; font-style:normal; text-align:center; line-height:3mm; font-size:7pt; margin-right:.6mm; }
.money { display:grid; grid-template-columns:1fr 1fr; }
.money .cl { border-left:1px solid var(--c); }
.mt { display:grid; grid-template-columns:auto 1fr; font-size:6pt; font-weight:700; }
.mt > div { border-bottom:1px solid var(--c); padding:.6mm 1.4mm; display:flex; align-items:center; }
.mt > div:nth-child(odd) { text-transform:uppercase; }
.mt > div:nth-child(even) { font-family:"Courier New",monospace; font-size:8.4pt; justify-content:flex-end; border-left:1px solid var(--c); }
.mt > div:nth-last-child(-n+2) { border-bottom:none; }
.mt .tot { background:#0001; }
.a-foot { background:var(--c); color:#fff; font-size:6.6pt; font-weight:700; padding:.8mm 3mm; display:flex; justify-content:space-between; gap:3mm; white-space:nowrap; overflow:hidden; }
.a-logo .tg { font-style:italic; margin-top:.3mm; }

.page.blank .val { color:transparent; }
.modeSwitch { display:flex; gap:16px; background:var(--bg); padding:8px 10px; border-radius:8px; margin-bottom:10px; }
.modeSwitch label { display:flex; align-items:center; gap:6px; margin:0; color:var(--ink); font-weight:600; }
.modeSwitch input { width:auto; margin:0; }
.banner { background:#fff6d6; border:1px solid #f0d878; padding:6px 10px; border-radius:6px; margin-bottom:8px; }
.inline { display:flex; gap:10px; align-items:flex-end; }
.inline label { margin:0; width:160px; }
.chips { display:flex; flex-wrap:wrap; gap:6px; max-height:160px; overflow:auto; }
.chips span { background:#8C1D3314; color:var(--brand); padding:3px 8px; border-radius:12px; font-size:12px; cursor:pointer; }
.records.small td,.records.small th { padding:5px 8px; }
.tag { font-size:10px; padding:2px 6px; border-radius:10px; background:#e6effa; color:#2457a6; font-weight:600; }
.tag.manual { background:#fdebd3; color:#a35a00; }
#tab-manual.active,#tab-history.active { display:block; }
#printArea { display:none; }

@page { size:A4; margin:0; }
@media print {
  body { background:#fff; }
  #app, #toast { display:none !important; }
  #printArea { display:block; }
  #printArea .page { box-shadow:none; width:210mm; height:297mm; min-height:0; overflow:hidden; page-break-after:always; }
  #printArea .page:last-child { page-break-after:auto; }
}
.a-codes .cl .v { font-size:13pt; font-weight:800; text-align:center; font-family:Arial,sans-serif; margin-top:auto; }
.a-codes .row .cl + .cl { border-left:1px solid var(--c); }
.previewWrap .page { zoom:.82; }
.chips span.done { background:#e3f4e6; color:#1d7a33; }
.chips { max-height:260px; }

/* ---------- accounts ---------- */
#tab-accounts.active { display:block; }
.subnav { display:flex; gap:4px; margin-bottom:12px; border-bottom:1px solid var(--line); }
.sub { border:none; border-bottom:2px solid transparent; border-radius:0; background:none; color:var(--muted); padding:8px 14px; }
.sub.active { color:var(--brand); border-bottom-color:var(--brand); font-weight:600; }
.subpane { display:none; gap:16px; align-items:flex-start; }
.subpane.active { display:flex; }
#sub-pl.active { display:block; }
#expenseForm, #incomeForm { width:430px; }
.listWrap { flex:1; min-width:0; }
.recordsBar input[type=date] { width:150px; }
.inl { display:flex; align-items:center; gap:6px; margin:0; }
.inl input { width:150px; margin:0; }
.sumRow { display:flex; gap:18px; margin:4px 0 10px; font-size:12px; color:var(--muted); }
.sumRow b { color:var(--ink); font-size:14px; }
.amt { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.st { font-size:10px; padding:2px 7px; border-radius:10px; font-weight:700; }
.st.Paid { background:#e3f4e6; color:#1d7a33; }
.st.Unpaid { background:#fde4e4; color:#b42318; }
.kpis { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:14px; max-width:760px; }
.kpi { background:#fff; border:1px solid var(--line); border-radius:10px; padding:12px 14px; }
.kpi .k { font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; }
.kpi .n { font-size:20px; font-weight:700; margin-top:4px; font-variant-numeric:tabular-nums; }
.kpi .n.pos { color:#1d7a33; }
.kpi .n.neg { color:#b42318; }
.report { background:#fff; border:1px solid var(--line); border-radius:10px; padding:22px 26px; max-width:760px; }
.pl h2 { margin:0; font-size:18px; }
.pl .sub2 { color:var(--muted); margin:2px 0 4px; }
.pl .sub2 + table, .pl .sub2:last-of-type { margin-bottom:14px; }
.pl table { width:100%; border-collapse:collapse; font-size:13px; }
.pl td { padding:5px 4px; }
.pl td:last-child { text-align:right; font-variant-numeric:tabular-nums; }
.pl .sec td { font-weight:700; text-transform:uppercase; font-size:11px; color:var(--brand); padding-top:14px; border-bottom:1px solid var(--line); }
.pl .ind td:first-child { padding-left:18px; }
.pl .tot td { font-weight:700; border-top:1px solid #000; }
.pl .net td { font-weight:800; font-size:15px; border-top:2px solid #000; border-bottom:3px double #000; }
.pl .note { margin-top:16px; font-size:11.5px; color:#444; background:#f7f7f8; padding:10px 12px; border-radius:6px; }
.pl .note div { display:flex; justify-content:space-between; padding:2px 0; }
#printArea .page.plpage { padding:18mm 16mm; height:auto; min-height:297mm; }

/* ---------- theme: charcoal bar, emerald green accent ---------- */
.topbar { background:var(--bar); border-bottom:3px solid var(--brand); }
.topbar .brand { color:#fff; }
.topbar .tab { color:#b8bec6; }
.topbar .tab:hover { color:#fff; }
.topbar .tab.active { background:var(--brand); color:#fff; }
.topbar .folder { color:#9aa1aa; }
.topbar .folder.warn { color:#e8b4bf; }
button.primary:hover { background:var(--brand-dark); border-color:var(--brand-dark); }
.chips span { background:#fde4e4; color:#b42318; }
.chips span.done { background:#d1fae5; color:#065f46; }
input[type=radio], input[type=checkbox] { accent-color:var(--brand); }
.topbar .brand img { background:#fff; border-radius:4px; padding:2px 4px; }

.shipMode span:first-child { font-weight:600; color:var(--muted); }
.a-cn .modes { justify-content:center; margin-top:.6mm; font-size:6.2pt; gap:2.5mm; }
.a-cn .modes i { width:2.8mm; height:2.8mm; line-height:2.8mm; }

/* ---------- cancel / void ---------- */
.awb { position:relative; }
.stamp { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%) rotate(-18deg); font:900 46pt Arial,sans-serif;
  color:#b42318; border:2.5mm solid #b42318; padding:1mm 6mm; opacity:.55; letter-spacing:.08em; pointer-events:none; z-index:2; }
tr.voided td { color:#9aa1aa; }
tr.voided td b { text-decoration:line-through; }
.st.Void { background:#fde4e4; color:#b42318; }
.banner.void { background:#fde4e4; border-color:#f3b4b4; color:#7a1a12; }
.banner button.small { padding:3px 9px; font-size:12px; float:right; margin-top:-3px; }
.chips span.voidchip { background:#eceef0; color:#6b7178; text-decoration:line-through; cursor:default; }
button:disabled { opacity:.45; cursor:not-allowed; }
button.danger { background:#b42318; border-color:#b42318; }
dialog { border:none; border-radius:12px; padding:20px 22px; width:480px; box-shadow:0 20px 60px #0004; }
dialog::backdrop { background:#0006; }
dialog h3 { margin-top:0; }
.a-head { overflow:hidden; } .a-head > div { overflow:hidden; }

.grid5 { display:grid; grid-template-columns:repeat(5,1fr); gap:0 8px; }
.weights input, input[readonly] { background:#f1f5f3; font-weight:600; }
label.invalid { color:#b42318; font-weight:600; }
label.invalid input, label.invalid select, label.invalid textarea, input.invalid, select.invalid, textarea.invalid {
  border-color:#b42318; background:#fff5f5; box-shadow:0 0 0 3px #b4231833; }

.zipStatus { display:block; min-height:14px; font-size:11px; color:var(--muted); margin-top:2px; }
.zipStatus.ok { color:#1d7a33; } .zipStatus.miss { color:#b45309; }
#tab-history .backoffice { display:flex; gap:16px; align-items:flex-start; }
#hvForm { width:430px; }
#tab-history .recordsBar select { width:auto; min-width:180px; }
#tab-history #historyBody td:last-child { text-align:left; }
/* weights row: taller so two-line labels leave room for the numbers */
.r.wts { min-height:12.5mm; }
.r.wts .cl { justify-content:space-between; }
.r.wts .cl .v { font-size:9.5pt; font-weight:700; }

/* ---------- version 2 screens ---------- */
.tabpane.block.active { display:block; }
.topbar { flex-wrap:wrap; gap:6px 14px; padding:6px 12px; }
.topbar .brand { min-width:0; font-size:14px; }
#mainNav { flex-wrap:wrap; gap:2px; flex:1; }
#mainNav .tab { padding:6px 10px; font-size:12.5px; }
.topbar .folder { display:none; }
.userBox { display:flex; gap:8px; align-items:center; color:#b8bec6; font-size:12px; }
button.link { background:none; border:none; color:#e8b4bf; padding:2px 4px; font-size:12px; text-decoration:underline; }
.subnav .sub { font-size:13px; }
.two { display:flex; gap:16px; align-items:flex-start; }
.two > .form { width:430px; flex-shrink:0; }
.two > .grow { flex:1; min-width:0; overflow:auto; }
.fgrid { display:grid; grid-template-columns:1fr 1fr; gap:0 10px; }
.fgrid .full { grid-column:1 / -1; }
.toolbar { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-bottom:10px; }
.toolbar label { margin:0; }
.toolbar input, .toolbar select { margin:0; width:auto; min-width:120px; }
.card { background:#fff; border:1px solid var(--line); border-radius:10px; padding:14px 16px; margin-bottom:12px; }
.card h3:first-child { margin-top:0; }
.cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:10px; margin-bottom:14px; }
.records td button { margin:1px; }
.records td.num, .records th.num { text-align:right; font-variant-numeric:tabular-nums; }
.tag.warn { background:#fdebd3; color:#a35a00; }
.tag.ok { background:#d1fae5; color:#065f46; }
.tag.bad { background:#fde4e4; color:#b42318; }
.timeline { list-style:none; margin:0; padding:0; }
.timeline li { padding:5px 0 5px 12px; border-left:2px solid var(--brand); margin-left:4px; }
.timeline small { color:var(--muted); }
.checks div { padding:2px 0; }
.lineRow { display:grid; gap:6px; align-items:end; margin-bottom:4px; }
.lineRow input, .lineRow select { margin:0; }
.remind { display:flex; justify-content:space-between; gap:10px; padding:6px 0; border-bottom:1px solid var(--line); }
.permList { display:grid; grid-template-columns:1fr; gap:2px; }
.permList label { display:flex; gap:6px; align-items:center; margin:0; color:var(--ink); }
.permList input, .inlineCheck input { width:auto; margin:0; }
#askDialog { border:none; border-radius:12px; padding:20px 22px; width:480px; box-shadow:0 20px 60px #0004; }
#askDialog::backdrop { background:#0006; }
#loginScreen { position:fixed; inset:0; background:var(--bar); display:flex; align-items:center; justify-content:center; z-index:50; }
#loginScreen[hidden], #clientApp[hidden] { display:none !important; }
.loginBox { background:#fff; border-radius:14px; width:420px; padding:26px 28px; border-top:5px solid var(--brand); }
.loginBox h2 { margin:0 0 2px; color:var(--brand); font-size:18px; }
.loginBox img { max-height:54px; max-width:220px; display:block; margin-bottom:8px; }
.loginTabs { display:flex; gap:6px; margin:14px 0; }
.loginTabs button { flex:1; }
.loginTabs button.on { background:var(--brand); color:#fff; border-color:var(--brand); font-weight:600; }
.codeBox { font:700 18px Consolas,monospace; background:#f1f5f3; padding:12px; text-align:center; letter-spacing:.08em; border-radius:8px; margin:10px 0; word-break:break-all; }
#clientApp main { padding:16px; }

/* ---------- printed documents ---------- */
#printArea .page.docpage { height:auto !important; min-height:0; overflow:visible !important; padding:14mm 14mm; page-break-after:always; }
.doc { font:10.5pt Arial,Helvetica,sans-serif; color:#000; }
.docHead { display:flex; justify-content:space-between; gap:16px; border-bottom:2.5px solid var(--c, #8C1D33); padding-bottom:8px; margin-bottom:12px; }
.docHead img { max-height:16mm; max-width:60mm; }
.docHead .co { font-weight:800; font-size:13pt; color:var(--c, #8C1D33); }
.docHead small { display:block; font-size:8pt; color:#333; }
.docTitle { text-align:right; }
.docTitle b { font-size:15pt; letter-spacing:.04em; }
.docTitle div { font-size:9.5pt; }
.docGrid { display:grid; grid-template-columns:1fr 1fr; gap:4px 18px; margin-bottom:10px; }
.docBox { border:1px solid #999; padding:6px 9px; margin-bottom:10px; }
.docBox h4 { margin:0 0 3px; font-size:8.5pt; text-transform:uppercase; color:var(--c, #8C1D33); }
.doc table { width:100%; border-collapse:collapse; margin-bottom:10px; font-size:9.5pt; }
.doc th { background:var(--c, #8C1D33); color:#fff; text-align:left; padding:4px 6px; font-size:8.5pt; }
.doc td { border-bottom:1px solid #bbb; padding:4px 6px; }
.doc td.num, .doc th.num { text-align:right; }
.doc thead { display:table-header-group; }
.doc tr { page-break-inside:avoid; }
.docTotals { margin-left:auto; width:45%; }
.docTotals div { display:flex; justify-content:space-between; padding:2px 0; }
.docTotals .grand { font-weight:800; border-top:2px solid #000; margin-top:3px; padding-top:4px; font-size:11.5pt; }
.docLine { border-bottom:1px solid #000; min-height:7mm; }
.docSign { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:26px; }
.docSign div { border-top:1px solid #000; padding-top:3px; font-size:8.5pt; }
.docNote { font-size:8.5pt; color:#222; margin-top:8px; }
.docField { padding:3px 0; border-bottom:1px dotted #999; font-size:9.5pt; min-height:16px; }
.docField span { color:#555; font-size:8pt; display:block; }
#printArea .page.labelpage { width:4in !important; height:6in !important; padding:3mm !important; overflow:hidden !important; page:thermal; page-break-after:always; }
@page thermal { size:4in 6in; margin:0; }
.label { border:2px solid #000; height:100%; display:flex; flex-direction:column; font:10pt Arial,sans-serif; }
.label > div { border-bottom:1.5px solid #000; padding:2mm; }
.label .big { font-size:17pt; font-weight:800; }
.label svg { width:100%; height:26mm; }
.label .lb { font-size:7pt; font-weight:700; text-transform:uppercase; }
.label .grow { flex:1; }
@media print { #clientApp, #loginScreen, #askDialog { display:none !important; } }
.r.wts .cl:first-child .v { font-size:8.5pt; letter-spacing:-.02em; }

/* ---------- Simplify Logistics product brand (login). Inside the app, client company branding applies. ---------- */
#loginScreen { background:#0a0a0a; }
.loginBox { border-top-color:#8C1D33; }
.loginBox h3 { color:#6E1428; }
.loginBox button.primary { background:#8C1D33; border-color:#8C1D33; }
.loginBox button.primary:hover { background:#6E1428; border-color:#6E1428; }
.loginBox button.link { color:#6E1428 !important; }
.loginBox input:focus { outline-color:#8C1D3333; border-color:#8C1D33; }
.loginTabs button.on { background:#8C1D33; border-color:#8C1D33; }
.productMark { display:flex; align-items:center; gap:12px; }
.loginBox .productMark img { width:58px; height:58px; max-height:none; max-width:none; margin:0; }
.pmName { font-size:24px; font-weight:300; color:#111827; letter-spacing:-.3px; white-space:nowrap; }
.pmName b { font-weight:800; color:#8C1D33; }
.pmTag { font-size:11px; color:#9CA3AF; letter-spacing:.06em; }
.pmCompany { margin:12px 0 0; padding-top:10px; border-top:1px solid var(--line); font-size:13px; font-weight:600; color:#374151; }
.product { display:inline-flex; align-items:center; gap:5px; color:#9aa1aa; font-size:11px; margin-left:6px; padding-left:10px; border-left:1px solid #3a3f46; white-space:nowrap; }
.product img { width:18px; height:18px; }
.product img { width:20px; height:20px; background:#fff; border-radius:4px; padding:1px; }
.product { color:#c9ced5; }

.loginBox .productMark img { width:84px; height:84px; }
.product img { width:30px; height:30px; padding:2px; }

/* ---------- scanned slip review ---------- */
label.scanned input, label.scanned select, label.scanned textarea { background:#fff8c5; border-color:#d4a72c; }
#scanPanel img { width:100%; border:1px solid var(--line); border-radius:6px; }

#toast { z-index:300; }
.loginErr { color:#b42318; font-weight:600; min-height:18px; margin:2px 0 8px; font-size:13px; }
.inlineCheck { display:flex; gap:6px; align-items:center; color:var(--ink); }

/* One-page forms (customer boarding form): the signatures sit at the foot of the A4 page. */
.page.docpage.fit { box-sizing:border-box; display:flex; }
#printArea .page.docpage.fit { height:297mm !important; overflow:hidden !important; }
.page.docpage.fit > .doc { flex:1; display:flex; flex-direction:column; }
.docSign.atBottom { margin-top:auto; padding-top:34px; }
input.locked { background:#eef0f2; color:#333; cursor:not-allowed; }
.permGroup { margin:6px 0 10px; }
.permGroup > b { display:block; font-size:12px; color:#8C1D33; margin-bottom:4px; }
.kpi.go { cursor:pointer; } .kpi.go:hover { outline:2px solid #8C1D3355; }
label.inl input[type=checkbox] { width:auto; margin:0 4px 0 0; }
.pwWrap { position:relative; display:block; }
.pwWrap input { padding-right:38px; width:100%; box-sizing:border-box; }
.pwEye { position:absolute; right:4px; top:50%; transform:translateY(-50%); background:none; border:0; padding:4px 6px; color:#6b7280; cursor:pointer; line-height:0; box-shadow:none; min-width:0; }
.pwEye:hover { color:#8C1D33; background:none; }

.subBanner { padding:8px 16px; font-size:13px; font-weight:600; text-align:center; }
.subBanner.info { background:#fff4d6; color:#6b4e00; }
.subBanner.warn { background:#ffe2c2; color:#7a3a00; }
.subBanner.bad { background:#8C1D33; color:#fff; }
