:root { --ink:#1b1f24; --muted:#5b6470; --line:#d9dee5; --bg:#f4f6f8; --card:#fff; --brand:#1f4e79; --ok:#1e7d3a; --warn:#b26a00; --err:#b3261e; --pill:#e8eef5; }
* { box-sizing:border-box; }
body { margin:0; font-family: Segoe UI, Arial, sans-serif; font-size:16px; color:var(--ink); background:var(--bg); }
header { background:var(--brand); color:#fff; padding:10px 20px; display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
header a { color:#fff; text-decoration:none; font-weight:600; padding:6px 8px; border-radius:6px; }
header a:hover, header a.active { background:rgba(255,255,255,.15); }
header .who { margin-left:auto; font-size:14px; opacity:.9; }
main { max-width:1280px; margin:0 auto; padding:18px 20px 60px; }
h1 { font-size:24px; margin:8px 0 14px; } h2 { font-size:18px; margin:22px 0 8px; }
.tiles { display:grid; grid-template-columns:repeat(auto-fill, minmax(230px,1fr)); gap:12px; }
.tile { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:14px 16px; text-decoration:none; color:var(--ink); display:block; }
.tile .n { font-size:38px; font-weight:700; line-height:1; color:var(--brand); } .tile.hot .n { color:var(--err); }
.tile .t { font-size:14px; color:var(--muted); margin-top:6px; }
table { border-collapse:collapse; width:100%; background:var(--card); border:1px solid var(--line); border-radius:8px; overflow:hidden; font-size:14.5px; }
th, td { padding:8px 10px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; } th { background:#eef2f6; font-weight:600; }
tr:last-child td { border-bottom:none; }
.card { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:14px 16px; margin-bottom:14px; }
.grid2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; } @media (max-width:900px) { .grid2 { grid-template-columns:1fr; } }
.kv { display:grid; grid-template-columns:170px 1fr; gap:4px 10px; font-size:14.5px; } .kv b { color:var(--muted); font-weight:600; }
.pill { display:inline-block; padding:2px 9px; border-radius:999px; background:var(--pill); font-size:13px; font-weight:600; }
.pill.ok { background:#e2f3e7; color:var(--ok);} .pill.warn { background:#fff1dc; color:var(--warn);} .pill.err { background:#fbe3e1; color:var(--err);} .pill.info { background:#e3ecf7; color:var(--brand);}
button, .btn { font:inherit; font-size:15px; font-weight:600; padding:9px 14px; border-radius:8px; border:1px solid var(--brand); background:var(--brand); color:#fff; cursor:pointer; text-decoration:none; display:inline-block; }
button.secondary, .btn.secondary { background:#fff; color:var(--brand); } button.danger { background:#fff; color:var(--err); border-color:var(--err); }
button:hover { filter:brightness(1.08); }
form.inline { display:inline-block; margin:0 6px 6px 0; } form .row { display:flex; gap:8px; flex-wrap:wrap; align-items:flex-end; margin:6px 0; }
label { font-size:13px; color:var(--muted); display:block; } input, select, textarea { font:inherit; padding:7px 9px; border:1px solid #b9c2cc; border-radius:6px; min-width:120px; }
textarea { width:100%; min-height:70px; }
.flash { padding:10px 14px; border-radius:8px; margin:0 0 14px; font-weight:600; } .flash.ok { background:#e2f3e7; color:var(--ok);} .flash.err { background:#fbe3e1; color:var(--err); }
.muted { color:var(--muted); } .small { font-size:13px; } .right { text-align:right; }
.timeline li { margin:0 0 6px; } .timeline .when { color:var(--muted); font-size:13px; margin-right:8px; }
.login { max-width:380px; margin:80px auto; }
/* the order page as numbered steps (2026-10-21) */
.steps { list-style:none; padding:0; margin:14px 0 0; }
.step { display:grid; grid-template-columns:40px 1fr; gap:14px; padding:14px 16px 12px; border:1px solid var(--line); border-radius:10px; background:var(--card); margin-bottom:10px; }
.step .body { min-width:0; }
.step .n { width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:16px; background:var(--pill); color:var(--muted); margin-top:2px; }
.step h2 { margin:4px 0 6px; font-size:17px; } .step h2 .tag { font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; margin-left:10px; padding:2px 8px; border-radius:999px; }
.step.now { border-color:var(--brand); box-shadow:0 0 0 3px #e3ecf7; } .step.now .n { background:var(--brand); color:#fff; } .step.now h2 .tag { background:var(--brand); color:#fff; }
.step.done { background:#f7f9fb; } .step.done .n { background:var(--ok); color:#fff; } .step.done h2 { color:var(--muted); } .step.done h2 .tag { background:#e2f3e7; color:var(--ok); }
.step.later, .step.off { opacity:.62; } .step.later h2 .tag, .step.off h2 .tag { background:var(--pill); color:var(--muted); }
.step .fact { font-size:14.5px; margin:2px 0 6px; } .step .how { font-size:14px; color:var(--muted); margin:0 0 8px; }
.step .bolrow { display:flex; gap:10px; align-items:center; flex-wrap:wrap; padding:8px 0; border-top:1px solid var(--line); } .step .bolrow:first-of-type { border-top:none; }
.step details { margin-top:8px; } .step details summary { cursor:pointer; color:var(--brand); font-weight:600; font-size:14px; }
.response-box.owed { border:2px solid var(--err); box-shadow:0 0 0 3px #fbe3e1; } .response-box .owed-head { font-size:15px; margin-bottom:4px; }
.response-folded summary { color:var(--muted); font-weight:500; } .response-folded[open] summary { margin-bottom:8px; }
.convo .msg { display:grid; grid-template-columns:118px 1fr; gap:8px; padding:6px 0; border-top:1px solid var(--line); font-size:14.5px; } .convo .msg:first-of-type { border-top:none; margin-top:6px; }
.convo .when { color:var(--muted); font-size:13px; padding-top:2px; } .convo .who { font-weight:700; } .convo .us .who { color:var(--brand); } .convo .them .who { color:var(--ok); }
.convo .note { font-size:13px; color:var(--muted); margin-top:2px; } .convo .note::before { content:"\2192  "; }
/* go / stop colouring of the response and decision choices (Alana, 2026-10-21): dull green = go ahead, dull red = holds the order */
option.go, select.go { background:#e6f2e9; color:#215f35; } option.stop, select.stop { background:#f6e4e2; color:#7d2a24; }
select.go, select.stop { font-weight:600; }
.held-note { padding:10px 12px; border-radius:8px; background:#fff1dc; margin:8px 0 10px; font-size:14.5px; }
.decision-box { border:2px solid var(--warn); }
tr.totals td { background:#eef2f6; border-top:2px solid var(--line); }
.banner { padding:12px 16px; border-radius:10px; margin:0 0 12px; font-weight:600; background:#fbe3e1; color:var(--err); }
/* user-experience round (2026-10-29): where you are, what to do next, the BOL page's own three steps, bigger targets */
.crumbs { font-size:14px; color:var(--muted); margin:4px 0 2px; } .crumbs a { color:var(--brand); text-decoration:none; font-weight:600; }
h1 .shipto { font-weight:500; color:var(--muted); font-size:20px; }
.nextbox { padding:12px 16px; border-radius:10px; margin:0 0 14px; background:#e3ecf7; border:1px solid #c5d5ea; font-size:15.5px; display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.nextbox.done { background:#e2f3e7; border-color:#bfe0c8; } .nextbox.first { background:#fff1dc; border-color:#f0d6a8; }
.ministeps { list-style:none; padding:0; margin:0; } .ministeps li { padding:10px 12px; border-left:4px solid var(--line); margin-bottom:8px; background:#f7f9fb; border-radius:0 8px 8px 0; }
.ministeps li.now { border-left-color:var(--brand); background:#fff; box-shadow:0 0 0 2px #e3ecf7; } .ministeps li.done { border-left-color:var(--ok); color:var(--muted); }
.ministeps li.later, .ministeps li.off { opacity:.6; }
.cutbox { border:2px solid var(--warn); }
button, .btn { min-height:42px; }
@media print { header, .noprint { display:none; } body { background:#fff; } main { padding:0; max-width:none; } }

/* Reviewed interface: local system fonts, no external assets or analytics. */
:root { --ink:#182b3b; --muted:#566777; --line:#dbe3e8; --bg:#f3f6f8; --card:#fff; --brand:#174b67; --ok:#246341; --warn:#885516; --err:#a52e2a; --pill:#eaf0f4; }
body { font-family:Inter,"Segoe UI",Arial,sans-serif; line-height:1.5; }
a { color:var(--brand); text-underline-offset:3px; }
a:hover { color:#0d334a; }
:focus-visible { outline:3px solid #c88125; outline-offset:3px; }
.sr-only,.skip-link:not(:focus) { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.skip-link:focus { position:fixed; left:16px; top:10px; z-index:100; padding:12px; background:#fff; }
header { display:block; padding:0; background:#fff; color:var(--ink); border-bottom:1px solid var(--line); }
.topbar { max-width:1440px; margin:auto; display:flex; align-items:center; gap:24px; padding:18px 32px; }
header a { color:var(--brand); }
header .brand { display:flex; gap:11px; align-items:center; font-size:24px; line-height:1.1; padding:0; letter-spacing:-.6px; }
.brand small { display:block; font-size:10px; letter-spacing:2.4px; margin-top:5px; color:var(--muted); }
.brand-mark { display:grid; place-items:center; width:42px; height:44px; border-radius:11px; background:var(--brand); color:white; font-size:28px; font-weight:650; }
header .who { margin-left:auto; font-size:13px; opacity:1; white-space:nowrap; }
header .who a { display:inline-block; margin-left:10px; font-size:12px; color:var(--muted); }
.global-search { display:flex; margin-left:32px; width:min(440px,42vw); gap:6px; }
.global-search input { width:100%; min-width:100px; background:#f5f8fa; font-size:14px; }
.global-search button { font-size:13px; }
header nav { display:flex; gap:6px; max-width:1440px; margin:auto; padding:0 32px; overflow-x:auto; }
header nav a { padding:12px 17px; color:var(--muted); font-size:14px; white-space:nowrap; border-radius:6px 6px 0 0; border-bottom:3px solid transparent; }
header nav a.active { background:#edf4f7; border-bottom-color:var(--brand); color:var(--brand); }
header nav a:hover { background:#f3f6f8; }
main { max-width:1440px; padding:28px 32px 64px; }
h1 { font-size:30px; line-height:1.25; letter-spacing:-.6px; margin:6px 0 18px; font-weight:650; }
h1 .shipto { font-size:21px; }
h2 { font-size:18px; font-weight:650; margin:26px 0 12px; }
p { margin:8px 0 18px; }
.eyebrow { font-size:11px; text-transform:uppercase; letter-spacing:1.5px; color:var(--muted); font-weight:700; margin-bottom:6px; }
.page-intro { color:var(--muted); max-width:780px; font-size:15px; margin-top:-8px; }
.card { padding:20px; border-radius:12px; box-shadow:0 2px 3px #182b3b03; }
.tiles { grid-template-columns:repeat(auto-fit,minmax(195px,1fr)); gap:14px; margin:16px 0 26px; }
.tile { padding:20px; border-radius:12px; transition:box-shadow .15s,border-color .15s; }
.tile:hover { border-color:#6e94a8; box-shadow:0 3px 12px #172b3b0b; }
.tile .n { font-size:32px; font-weight:600; }
.tile .t { color:var(--ink); line-height:1.45; margin-top:9px; }
.tile.hot .n { color:var(--brand); }
.tile.waiting { background:#f8fafb; }
.tile.waiting .n { color:var(--muted); }
.section-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.section-heading h2 { margin:8px 0 12px; }
.table-scroll { max-width:100%; overflow:auto; border:1px solid var(--line); border-radius:10px; background:#fff; margin-bottom:16px; }
.table-scroll table { border:0; border-radius:0; margin:0; }
table { font-size:14px; overflow:visible; }
th { background:#eef3f6; font-size:12px; font-weight:650; color:#435768; white-space:nowrap; }
th,td { padding:12px 14px; border-bottom:1px solid #e6ecef; }
td { line-height:1.45; }
td a { text-decoration:none; font-weight:600; } td a:hover { text-decoration:underline; }
tr:hover > td { background:#f7fafc; }
.right { font-variant-numeric:tabular-nums; }
.kv { grid-template-columns:135px minmax(0,1fr); gap:10px 16px; }
.kv > span { overflow-wrap:anywhere; }
.kv b { color:var(--muted); font-size:13px; }
.kv span b { color:var(--ink); font-size:inherit; }
.pill { font-size:12px; line-height:1.5; padding:3px 9px; white-space:normal; }
button,.btn { min-height:44px; padding:10px 16px; border-radius:8px; font-size:14px; line-height:1.5; transition:background .15s; }
button:hover,.btn:hover { filter:none; background:#103a51; color:#fff; }
button.secondary:hover,.btn.secondary:hover { background:#edf4f7; color:var(--brand); }
button.danger:hover { background:#fbecea; color:var(--err); }
button:disabled { opacity:.5; cursor:not-allowed; }
input,select,textarea { border-color:#b8c6cf; min-height:42px; max-width:100%; background:white; color:var(--ink); }
input[type=checkbox],input[type=radio] { min-width:0; min-height:0; width:18px; height:18px; margin:3px 6px 3px 0; vertical-align:middle; accent-color:var(--brand); }
label { font-size:13px; font-weight:600; margin-bottom:5px; }
form .row { gap:12px; margin:12px 0; }
.flash { padding:14px 18px; border:1px solid transparent; border-radius:10px; font-weight:500; }
.flash.err { border-color:#e7bab6; } .flash.ok { border-color:#bfdec9; } .flash.warn { background:#fff4e5; color:var(--warn); }
.nextbox { padding:18px 20px; border-radius:12px; border-left:4px solid var(--brand); }
.nextbox.first { background:#fff; border-color:var(--line); border-left-color:var(--brand); }
.nextbox.done { border-left-color:var(--ok); }
.nextbox .small { margin-left:auto; }
.steps { margin-top:24px; }
.step { padding:20px; margin-bottom:14px; gap:16px; grid-template-columns:34px minmax(0,1fr); border-radius:12px; }
.step.now { box-shadow:none; border-color:#8baebe; border-left:4px solid var(--brand); padding-left:17px; }
.step.done { padding-top:12px; padding-bottom:12px; background:#f8fafb; }
.step.done .n { background:#e1eee6; color:var(--ok); }
.step.later,.step.off,.ministeps li.later,.ministeps li.off { opacity:1; color:var(--muted); }
.step h2 { font-size:17px; margin:3px 0 9px; line-height:1.4; }
.step h2 .tag { font-size:10px; vertical-align:middle; }
.step.done details { margin:0; }
.step.done summary { list-style:revert; }
.step.done summary h2 { display:inline; }
.step.done details[open] summary { margin-bottom:12px; }
.step .fact,.step .how { line-height:1.6; }
.step .how { max-width:850px; }
.workflow-progress { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0; }
.workflow-progress a { text-decoration:none; padding:8px 12px; border-radius:6px; background:#e8eef2; color:var(--muted); font-size:12px; font-weight:600; }
.workflow-progress a.now { background:var(--brand); color:#fff; }
.workflow-progress a.done { background:#e7f0e9; color:var(--ok); }
.selection-tools { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:12px 0; }
.selection-tools [data-selection-summary] { margin-left:auto; color:var(--muted); font-size:14px; }
.selection-tools button { min-height:36px; padding:6px 11px; font-size:13px; }
.crumbs { font-size:13px; margin-bottom:12px; }
.ministeps li { padding:18px; margin-bottom:16px; background:#f8fafb; }
.ministeps li.now { box-shadow:none; border:1px solid #abc3cf; border-left:4px solid var(--brand); }
.ministeps li > b { display:block; font-size:17px; margin-bottom:7px; }
.scan-help { padding:12px; background:#fff4e5; border-radius:8px; }
summary { cursor:pointer; font-weight:600; color:var(--brand); }
details[open] > summary { margin-bottom:12px; }
.filter-row { display:flex; gap:10px; align-items:end; flex-wrap:wrap; }
.filter-row .grow { flex:1; min-width:240px; }
.filter-row input { width:100%; }
.owner-tabs { display:flex; gap:8px; flex-wrap:wrap; margin:12px 0 20px; }
.owner-tabs .active { background:var(--brand); color:#fff; }
.stats-strip { display:flex; gap:36px; flex-wrap:wrap; background:#fff; border:1px solid var(--line); border-radius:10px; padding:18px 22px; margin:16px 0; }
.stats-strip b { display:block; color:var(--ink); font-size:24px; font-weight:600; }
.stats-strip span { font-size:12px; color:var(--muted); }
@media(max-width:1050px) { .topbar { gap:14px; } .global-search { margin-left:0; } .who { max-width:180px; white-space:normal!important; } header nav a { padding:11px 12px; } }
@media(max-width:700px) { .topbar { padding:16px; flex-wrap:wrap; } header nav { padding:0 12px; } .global-search { order:3; width:100%; } main { padding:22px 16px 48px; } h1 { font-size:25px; } h1 .shipto { display:block; font-size:18px; margin-top:6px; } .tiles { grid-template-columns:repeat(2,minmax(0,1fr)); } .tile { padding:16px; } .kv { grid-template-columns:105px minmax(0,1fr); } .step { padding:14px 12px; gap:10px; grid-template-columns:28px minmax(0,1fr); } .step .n { width:28px; height:28px; } .step.now { padding-left:9px; } .card { padding:16px; } .selection-tools [data-selection-summary] { margin-left:0; } .stats-strip { gap:20px; } }
@media(prefers-reduced-motion:reduce) { * { transition:none!important; scroll-behavior:auto!important; } }
@media print { header,.skip-link,.global-search,.workflow-progress,.selection-tools { display:none!important; } .table-scroll { overflow:visible; border:0; } .step { break-inside:avoid; } }

.communication{margin-top:24px;scroll-margin-top:20px}.communication>h2{font-size:21px;margin-top:0}.action-owner{padding:12px 14px;background:#fff4db;border-left:4px solid #b87300;border-radius:6px}.issue-summary{padding:12px 0;border-bottom:1px solid var(--line,#dde3eb)}.issue-summary p{margin:5px 0}.delivery-activity{margin-top:16px}.communication textarea{min-height:80px}

input[type=hidden],[hidden]{display:none!important}.step .n{align-self:start;justify-self:start;width:34px;height:34px;line-height:34px;text-align:center;border-radius:50%;padding:0}.step .body{min-width:0}

[data-stock-hold][hidden] { display: none !important; }

.response-box.owed { border-color: #bc8b29; box-shadow: 0 0 0 2px #f7eed8; }

/* Issue-by-issue conversations: one subject, one latest instruction, one next owner. */
.communication .section-heading {align-items:start;flex-wrap:wrap}.communication h2 {margin:0 0 10px}.communication-how {max-width:920px;font-size:14px;color:var(--muted);margin:16px 0 20px}
.issue-card {border:1px solid #cbd9e1;border-left:4px solid #b78636;border-radius:10px;padding:20px;margin:16px 0;background:#fff;scroll-margin-top:20px;overflow-wrap:anywhere}
.issue-card.resolved {border-left-color:#5d8a6e;background:#fbfdfb}.issue-heading{display:flex;justify-content:space-between;align-items:start;gap:18px;flex-wrap:wrap}.issue-heading h3 {font-size:19px;line-height:1.3;margin:0 0 18px;font-weight:650}
.issue-content {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.message-text {white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 10px}.latest-instruction {padding:14px 16px;background:#edf4f7;border-radius:8px}.latest-instruction.empty{color:var(--muted);background:#f5f7f9;font-size:14px}.latest-instruction p:last-child{margin-bottom:0}
.issue-next {display:flex;gap:6px;flex-direction:column;margin:18px 0 12px;font-size:14px}.issue-next b{color:var(--brand)}.stock-note {font-size:13px;background:#fff6e8;padding:10px 12px;border-radius:6px;margin-bottom:14px}.issue-answer>summary{display:inline-block;min-height:44px;padding:10px 16px;box-sizing:border-box;background:var(--brand);color:white;border-radius:8px}.issue-answer[open]>summary{background:#eaf1f5;color:var(--brand)}.issue-answer form{margin:14px 0;padding:16px;background:#f8fafb;border:1px solid var(--line);border-radius:8px}.answer-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.5fr) minmax(0,1fr);gap:12px;margin-bottom:14px}.answer-fields input,.answer-fields select,.communication textarea {width:100%}.decision-effect {font-size:13px;color:var(--muted);margin:12px 0}.cancel-confirm{display:block;padding:12px;background:#fff0ed}.issue-update,.issue-history{margin-top:16px;font-size:14px}.issue-history{border-top:1px solid var(--line);padding-top:12px}.issue-history ol{padding-left:20px}.issue-history li{margin:10px 0}.issue-update form{padding:12px 0;max-width:850px}.issue-update button{margin-top:10px}.order-conversation,.resolved-issues,.unlinked-instructions{margin-top:20px}.delivery-warning{padding:12px;border-radius:6px;background:#fff0ed;color:var(--err);font-size:14px}.action-owner.clear{background:#eaf4ee;border-left-color:var(--ok)}
@media(max-width:850px){.issue-content,.answer-fields{grid-template-columns:minmax(0,1fr)}.issue-content{gap:14px}.issue-card{padding:16px}.communication .grid2{grid-template-columns:1fr}.issue-heading h3{margin-bottom:8px}}

.warehouse-update {margin-top:14px;border-top:1px solid var(--line);padding-top:12px}
