/* Real Rate Freight: the Ledger brand. Paper, ink, one green. Fraunces says it, Plex Sans explains it, Plex Mono counts it. */
:root {
  --bg: #F6F4EE; --surface: #ffffff; --surface-2: #EDEAE1; --ink: #15201B; --ink-2: #3A463F; --muted: #5E665F;
  --line: #D6D1C3; --rule: #CFC9BA; --forest: #0E3B2C; --accent: #1E6B4A; --accent-ink: #ffffff; --accent-soft: #E7EFE8; --accent-2: #15201B;
  --ok: #1E6B4A; --ok-soft: #E7EFE8; --warn: #7A5200; --warn-soft: #F7EED6; --bad: #A32424; --bad-soft: #F6E3E0;
  --info-soft: #E7EFE8; --shadow: 0 1px 0 var(--rule);
  --radius: 6px; --radius-s: 6px; --tap: 48px;
  --serif: "Fraunces", Georgia, serif; --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.5 var(--sans); min-height: 100vh; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0 0 8px; letter-spacing: -0.02em; }
h1 { font-size: 32px; } h2 { font-size: 24px; } h3 { font-size: 19px; letter-spacing: -0.01em; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 13px; }
.strong { font-weight: 700; }
.sr { position: absolute; left: -9999px; }
.nowrap { white-space: nowrap; }
.mono, .price, .num, .big-num, .stat .num, .compare .num, .price-input .cur, .price-input input, table.plain td.r, .facts-strip b { font-family: var(--mono); font-weight: 600; letter-spacing: 0; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--rule); }
.top .in { max-width: 960px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 12px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 21px; color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; }
.brand .light { font-weight: 600; color: var(--accent); }
@media (max-width: 420px) { .brand { font-size: 18px; gap: 8px; } .brand .mark { width: 26px; height: 26px; } .role-pill a { padding: 6px 10px; font-size: 13px; } }
.brand:hover { text-decoration: none; }
.brand .mark { width: 30px; height: 30px; display: grid; place-items: center; }
.brand .mark svg { width: 100%; height: 100%; }
.role-pill { margin-left: auto; display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 3px; gap: 2px; }
.role-pill a { padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.role-pill a.on { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--rule); }
.role-pill a:hover { text-decoration: none; }
.top .who { display: none; color: var(--muted); font-size: 14px; }
@media (min-width: 720px) { .top .who { display: block; } }

/* layout */
main { max-width: 960px; margin: 0 auto; padding: 20px 16px 96px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head h1 { font-size: 30px; margin: 0; }
.grid { display: grid; gap: 14px; }
.grid.three { grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 720px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { gap: 14px; } }
@media (max-width: 719px) { .grid.three .stat { padding: 12px 6px; } .grid.three .stat .num { font-size: 22px; } .grid.three .stat .lab { font-size: 12px; } }
.stack > * + * { margin-top: 12px; }

/* cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.card.tint { background: var(--accent-soft); border-color: transparent; box-shadow: none; }
.card.warn { background: var(--warn-soft); border-color: transparent; box-shadow: none; }
.card.info { background: var(--info-soft); border-color: transparent; box-shadow: none; }
.card.ok { background: var(--ok-soft); border-color: transparent; box-shadow: none; }
.card h3 { margin-bottom: 6px; }
.card-link { display: block; color: inherit; cursor: pointer; }
.card-link:hover { text-decoration: none; border-color: var(--accent); }
.section-title { font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin: 26px 0 10px; display: flex; align-items: center; gap: 10px; }
.section-title .count { font-family: var(--mono); background: var(--accent); color: var(--accent-ink); border-radius: 999px; font-size: 13px; font-weight: 600; padding: 1px 9px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 10px 20px; border-radius: var(--radius-s); border: 1px solid var(--forest); background: transparent; font-weight: 600; cursor: pointer; text-decoration: none; color: var(--forest); transition: transform .06s ease, background .15s ease; white-space: nowrap; }
.btn:hover { text-decoration: none; background: var(--accent-soft); }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover { background: var(--forest); border-color: var(--forest); }
.btn.big { font-size: 18px; padding: 14px 26px; min-height: 56px; width: 100%; }
@media (min-width: 720px) { .btn.big { width: auto; } }
.btn.quiet { border-color: transparent; background: transparent; color: var(--accent); }
.btn.quiet:hover { background: var(--accent-soft); }
.btn.danger { color: var(--bad); border-color: var(--bad); }
.btn[disabled] { opacity: .55; cursor: default; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn-row.end { justify-content: flex-end; }

/* chips, badges */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; cursor: pointer; min-height: 44px; }
.chip.on { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chips-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); text-align: center; line-height: 1.25; white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.accent { background: var(--accent-soft); color: var(--accent); }
.badge.info { background: var(--info-soft); color: var(--ink); }

/* forms */
label.field { display: block; margin-bottom: 14px; }
label.field > span, .field-label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 15px; }
.hint { font-size: 14px; color: var(--muted); margin-top: 4px; }
label.field > span.hint { font-weight: 400; color: var(--muted); margin: 6px 0 0; }
input.bad, select.bad { border-color: var(--bad); box-shadow: 0 0 0 1px var(--bad); }
/* the details an extra asks for, right under its checkbox */
.extra-detail { margin: -4px 0 14px; padding: 12px 14px 2px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.extra-detail .field-label { margin-bottom: 8px; }
input[type=text], input[type=number], input[type=date], input[type=tel], input[type=email], select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 12px 14px; min-height: var(--tap); }
input:focus, select:focus, textarea:focus, .btn:focus-visible, .chip:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 1px; }
textarea { min-height: 90px; resize: vertical; }
.row { display: flex; gap: 12px; }
.row > * { flex: 1; min-width: 0; }
/* two fields side by side: when one label wraps to two lines, both inputs still line up along the bottom */
.row > label.field { display: flex; flex-direction: column; }
.row > label.field > span:first-child { flex: 1; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); margin-bottom: 10px; cursor: pointer; background: var(--surface); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.check.on { border-color: var(--accent); background: var(--accent-soft); }
.steps { display: flex; gap: 6px; margin-bottom: 18px; }
.steps span { flex: 1; height: 4px; border-radius: 2px; background: var(--rule); }
.steps span.on { background: var(--accent); }
.price-input { display: flex; align-items: center; gap: 8px; }
.price-input .cur { font-size: 26px; color: var(--muted); }
.price-input input { font-size: 28px; padding: 10px 14px; }

/* load cards */
.load { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: start; }
.load .right { white-space: nowrap; }
.load .right .badge { white-space: nowrap; }
.load .right .badge.flag { font-size: 12px; padding: 2px 8px; }
.card, .sheet { overflow-wrap: break-word; min-width: 0; }
.load .lane { font-weight: 600; font-size: 17px; }
.load .meta { color: var(--muted); font-size: 14px; }
.load .right { text-align: right; }
.load .price { font-size: 20px; }
.lane-arrow { color: var(--muted); padding: 0 4px; }
/* carrier-side cards: the right column (guide or rate, then the badge) sits beside the lane on a desk and under it on a phone */
.load.market .right .guide span { display: block; }
.load.market .right .badges { margin-top: 6px; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 4px; }
.load.market .right .acts { margin-top: 8px; }
.load.market .lane a { color: inherit; display: inline-block; padding: 10px 0; margin: -10px 0; }
@media (max-width: 480px) {
  .load.market { grid-template-columns: 1fr; }
  .load.market .right { text-align: left; white-space: normal; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
  .load.market .right .guide span { display: inline; }
  .load.market .right .badges, .load.market .right .acts { margin-top: 0; justify-content: flex-start; }
  .load.market .right .acts { margin-left: auto; }
}

/* bids: a ledger line, the name tied to its price by dotted leaders */
.bid { animation: pop .35s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bid .line { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.bid .line h3 { margin: 0; font-family: var(--sans); font-weight: 600; font-size: 17px; letter-spacing: 0; min-width: 0; }
.bid .line .base { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.bid .dots { flex: 1; border-bottom: 2px dotted #B9B3A3; transform: translateY(-6px); min-width: 14px; }
.bid .price { font-size: 26px; white-space: nowrap; }
.bid .facts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--ink-2); margin: 8px 0 4px; }
.bid .note { font-size: 15px; color: var(--ink-2); font-style: italic; margin-top: 6px; }
.bid .book { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.verify { display: inline-flex; align-items: center; gap: 5px; color: var(--ok); font-weight: 600; font-size: 14px; }
.stars { color: var(--accent-2); letter-spacing: 1px; }
.waiting { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: blink 1.2s infinite; flex: none; }
@keyframes blink { 50% { opacity: .2; } }

/* timeline */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 10px 0 4px; }
.timeline .st { text-align: center; font-size: 12px; color: var(--muted); position: relative; padding-top: 22px; }
.timeline .st::before { content: ""; position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--rule); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--rule); z-index: 1; }
.timeline .st::after { content: ""; position: absolute; top: 10px; left: -50%; width: 100%; height: 3px; background: var(--rule); }
.timeline .st:first-child::after { display: none; }
.timeline .st.done { color: var(--ink); font-weight: 600; }
.timeline .st.done::before { background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.timeline .st.done::after { background: var(--accent); }
.timeline .st.next::before { background: var(--surface); box-shadow: 0 0 0 2px var(--accent); }
.timeline .st.next { color: var(--ink); font-weight: 600; }
@media (max-width: 420px) { .timeline .st { font-size: 11px; white-space: nowrap; } }

/* docs */
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
@media (max-width: 480px) { .docs { grid-template-columns: 1fr; } }
@media (min-width: 720px) { .docs { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
.doc { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); font-weight: 600; font-size: 15px; cursor: pointer; min-height: var(--tap); text-align: left; height: 100%; }
.doc.off { color: var(--muted); font-weight: 500; cursor: default; border-style: dashed; }
.doc svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.doc.off svg { color: var(--muted); }

/* activity */
.log { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.log li:first-child { border-top: 0; }
.log .who { font-weight: 600; }
.log .when { font-family: var(--mono); color: var(--muted); font-size: 13px; white-space: nowrap; }
.log li.auto .who { color: var(--accent); }

/* modal / sheet */
.sheet-bg { position: fixed; inset: 0; background: rgba(21,32,27,.55); z-index: 40; display: flex; align-items: flex-end; justify-content: center; padding: 0; }
@media (min-width: 720px) { .sheet-bg { align-items: center; padding: 20px; } }
.sheet { background: var(--bg); border-radius: 14px 14px 0 0; width: 100%; max-width: 640px; max-height: 90vh; overflow: auto; padding: 20px 20px 28px; box-shadow: 0 18px 40px rgba(21,32,27,.18); animation: up .22s ease; }
@media (min-width: 720px) { .sheet { border-radius: 10px; } }
@keyframes up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet h2 { margin-bottom: 10px; }
.paper { background: #fff; color: #111; border: 1px solid #ccc; border-radius: 4px; padding: 18px; font-size: 14px; line-height: 1.45; }
.paper h3 { color: #111; font-size: 16px; }
.paper table { width: 100%; border-collapse: collapse; font-size: 13px; }
.paper td, .paper th { border: 1px solid #ccc; padding: 6px 8px; text-align: left; }
.paper .narrow { display: none; }
@media (max-width: 480px) { .paper .wide { display: none; } .paper .narrow { display: inline; } .paper th { white-space: nowrap; } }
.paper .sig { margin-top: 18px; display: flex; gap: 20px; }
.paper .sig div { flex: 1; border-top: 1px solid #111; padding-top: 4px; font-size: 12px; }
.paper .sigline { font-family: "Segoe Script", "Brush Script MT", cursive; font-size: 22px; color: #0E3B2C; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 8px; font-weight: 600; z-index: 60; width: max-content; max-width: calc(100% - 32px); animation: up .2s ease; display: flex; align-items: center; gap: 14px; pointer-events: none; }
.toast button { pointer-events: auto; flex: none; background: transparent; color: var(--bg); border: 1px solid rgba(246,244,238,.55); border-radius: 6px; padding: 6px 14px; min-height: 40px; font-weight: 600; cursor: pointer; }
.toast button:hover { background: rgba(246,244,238,.12); }

/* footer */
footer { border-top: 1px solid var(--rule); margin-top: 40px; }
footer .in { max-width: 960px; margin: 0 auto; padding: 16px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--muted); }
footer a { color: var(--muted); }
footer .spacer { flex: 1; }

/* front door: the headline and a receipt, side by side */
.hero { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 24px 0 8px; align-items: center; }
.hero > * { min-width: 0; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.05fr 1fr; gap: 44px; padding: 44px 0 20px; } }
.hero h1 { font-size: clamp(36px, 5.2vw, 52px); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 18px; }
.hero p.lead { font-size: 18px; color: var(--ink); max-width: 40ch; margin: 0 0 22px; }
.hero .btn.big { width: 100%; }
@media (min-width: 720px) { .hero .btn.big { width: auto; min-width: 200px; } }
.receipt { background: var(--surface); border: 1px solid var(--rule); padding: 22px 24px 18px; box-shadow: 0 1px 0 var(--rule), 0 18px 40px rgba(21,32,27,.10); font-family: var(--mono); font-size: 15px; }
@media (max-width: 719px) { .receipt { padding: 18px 16px 14px; font-size: 14px; } }
.receipt .rh { font-family: var(--sans); font-weight: 600; font-size: 16px; margin-bottom: 14px; }
.receipt .rh small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.receipt .r { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; position: relative; }
.receipt .r .k { min-width: 0; }
.receipt .r .dots { flex: 1; border-bottom: 2px dotted #B9B3A3; transform: translateY(-5px); min-width: 16px; }
.receipt .r .v { white-space: nowrap; font-weight: 600; }
.receipt .r.struck { color: #8E948F; }
.receipt .r.struck::after { content: ""; position: absolute; left: 0; top: 50%; height: 2px; width: 0; background: var(--accent); animation: strike 1.1s .6s ease-out forwards; }
@keyframes strike { to { width: 100%; } }
.receipt .r.total { border-top: 2px solid var(--ink); margin-top: 8px; padding-top: 12px; font-size: 19px; }
.receipt .r.total .v { color: var(--accent); }
.receipt .foot { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 12px; line-height: 1.4; }
.facts-strip { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 28px 0 32px; }
.facts-strip div { padding: 16px 4px; border-bottom: 1px solid var(--rule); }
.facts-strip div:last-child { border-bottom: 0; }
@media (min-width: 720px) { .facts-strip { grid-template-columns: repeat(3, 1fr); } .facts-strip div { padding: 22px 24px; border-bottom: 0; border-right: 1px solid var(--rule); } .facts-strip div:first-child { padding-left: 0; } .facts-strip div:last-child { border-right: 0; } }
.facts-strip b { font-size: 30px; display: block; color: var(--forest); line-height: 1; margin-bottom: 6px; }
.facts-strip span { font-size: 15px; color: var(--muted); }
.how { counter-reset: n; }
.how .card { position: relative; padding-left: 64px; }
.how .card::before { counter-increment: n; content: counter(n); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-family: var(--mono); font-weight: 600; display: grid; place-items: center; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.compare .card { text-align: center; }
.compare .num { font-size: 34px; }
.compare .bad .num { color: var(--bad); }
.compare .good .num { color: var(--ok); }

/* tour */
.tour-mask { position: fixed; inset: 0; z-index: 30; pointer-events: none; }
.tour-ring { position: absolute; border: 3px solid var(--accent); border-radius: 10px; box-shadow: 0 0 0 9999px rgba(21,32,27,.45); transition: all .25s ease; pointer-events: none; }
.tour-box { position: fixed; z-index: 35; left: 12px; right: 12px; top: 68px; background: var(--surface); color: var(--ink); border-radius: 10px; padding: 16px 18px; box-shadow: 0 18px 40px rgba(21,32,27,.18); border: 1px solid var(--rule); animation: up .25s ease; }
@media (min-width: 720px) { .tour-box { left: auto; right: 24px; top: auto; bottom: 24px; width: 380px; } }
.tour-box .step { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 4px; }
.tour-box h3 { margin-bottom: 6px; }
.tour-box p { font-size: 15px; color: var(--ink-2); margin-bottom: 12px; }
.tour-box .btn-row { justify-content: space-between; }
.tour-box .btn { min-height: 44px; padding: 8px 14px; }
.tour-target { position: relative; z-index: 32; }

/* stat tiles */
.stat { text-align: center; }
.stat .num { font-size: 30px; color: var(--forest); }
.stat .lab { color: var(--muted); font-size: 14px; }

/* misc */
.divider { height: 1px; background: var(--line); margin: 16px 0; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 15px; }
.kv dt { color: var(--muted); margin: 0; }
.kv dd { margin: 0; min-width: 0; }
.kv .badge { white-space: normal; text-align: left; }
.tag-note { font-size: 13px; color: var(--muted); }
.big-num { font-size: 40px; letter-spacing: -0.02em; color: var(--forest); }
table.plain { width: 100%; border-collapse: collapse; font-size: 15px; }
table.plain th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 6px 0; border-bottom: 1px solid var(--rule); }
table.plain td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain td.r, table.plain th.r { text-align: right; white-space: nowrap; padding-left: 10px; }
table.plain td.r { font-size: 15px; }
.empty { text-align: center; padding: 28px 12px; color: var(--muted); }
.phone-mock { max-width: 380px; margin: 0 auto; border: 1px solid var(--rule); border-radius: 22px; padding: 14px; background: var(--surface-2); }
.push { background: var(--surface); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); }
.push .app { font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; margin-bottom: 4px; }
.push .app i { width: 14px; height: 14px; border-radius: 3px; background: var(--accent); display: inline-block; }

body.touring main { padding-bottom: 300px; }
@media (max-width: 719px) { body.touring main { padding-top: 230px; } .tour-box h3 { font-size: 16px; } .tour-box p { font-size: 14px; margin-bottom: 8px; } }

/* small text links get a full-size tap area */
main p.small > a, main p.muted > a, .hero p.small a { display: inline-block; padding: 12px 0; margin: -8px 0; min-height: 44px; }

summary { list-style: none; min-height: 44px; display: flex; align-items: center; } summary::-webkit-details-marker { display: none; } summary::before { content: "+"; color: var(--accent); margin-right: 6px; } details[open] summary::before { content: "–"; }

.hint a, p.hint a { display: inline-block; padding: 12px 0; margin: -10px 0; min-height: 44px; }

@media (min-width: 720px) { .toast { left: 24px; transform: none; bottom: 24px; } body.touring .toast { bottom: auto; top: 72px; } }
.btn.quiet.danger { color: var(--bad); border-color: transparent; }
/* a quiet action beside a section title, like "Send a check-in" next to Activity */
.btn.sm { min-height: 44px; padding: 6px 12px; font-size: 14px; }
.section-title .btn { font-family: var(--sans); letter-spacing: 0; }
@media (prefers-reduced-motion: reduce) { .receipt .r.struck::after { animation: none; width: 100%; } .bid { animation: none; } }

/* form checks: the message sits under the field it belongs to */
label.field > span.field-err, .field-err { display: block; font-weight: 400; color: var(--bad); font-size: 14px; margin: 6px 0 0; }

/* a toast shown while a sheet is open sits at the top, clear of the sheet's buttons */
.toast.top { bottom: auto; top: 72px; }

/* tables in cards: short column names on phones, and a scroll guard so nothing spills past the card */
.table-scroll { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
table.plain .narrow { display: none; }
@media (max-width: 480px) { table.plain .wide { display: none; } table.plain .narrow { display: inline; } table.plain.spend { font-size: 14px; } table.plain.spend td.r { font-size: 14px; padding-left: 8px; } }
table.plain tr.fee td { font-size: 14px; }

/* the new-account checklist: three numbered steps, each with its button */
.todo { list-style: none; margin: 14px 0 0; padding: 0; }
.todo li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.todo li .n { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-family: var(--mono); font-weight: 600; display: grid; place-items: center; font-size: 15px; margin-top: 1px; }
.todo li.done .n { background: var(--ok-soft); color: var(--ok); }
.todo li.done strong { color: var(--muted); }
.todo li p { margin: 2px 0 10px; color: var(--muted); }

table.plain.spend td:first-child { padding-right: 6px; }
@media (max-width: 400px) { table.plain.spend, table.plain.spend td.r, table.plain.spend th { font-size: 13px; } table.plain.spend td.r, table.plain.spend th.r { padding-left: 6px; } }

/* Join and the profile's certificate sheet: a group of chips or a file chip checked like a field (the message lands under it) */
.fgroup { margin-bottom: 14px; }
.fgroup .chips, .fgroup .btn-row { border-radius: 10px; }
.fgroup .chips.bad, .fgroup .btn-row.bad, .chip.bad { box-shadow: 0 0 0 2px var(--bad); }
.fgroup .chips.bad { padding: 6px; }
.fgroup .chips:focus { outline: none; }
/* two fields side by side on a desk, one under the other on a phone */
@media (max-width: 480px) { .row.phone-stack { flex-direction: column; gap: 0; } }
/* statement rows: the lane under the load id never breaks onto a lone word, and the table fits a phone */
table.plain.stmt td:first-child { padding-right: 6px; }
@media (max-width: 480px) { table.plain.stmt, table.plain.stmt td.r { font-size: 14px; } table.plain.stmt td.r, table.plain.stmt th.r { padding-left: 8px; } }
@media (max-width: 400px) { table.plain.stmt, table.plain.stmt td.r, table.plain.stmt th { font-size: 13px; } }

/* header: nothing overflows at 360 (smaller brand, tighter pill, overflow guard); the pill is a 40px tap target */
.top .in { overflow: hidden; }
.brand { min-width: 0; min-height: 44px; }
.role-pill { flex: none; }
.role-pill a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 400px) { .brand { font-size: 16px; gap: 6px; } .brand .mark { width: 24px; height: 24px; } .role-pill a { padding: 6px 9px; font-size: 13px; } }

/* footer links and links inside cards get a full-size tap area */
footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 0; margin: -6px 0; }
/* links inside text keep their line; vertical padding on an inline element widens the tap area without moving the lines */
.card p a:not(.btn), .card .hint a:not(.btn), .card .meta a:not(.btn), .card li a:not(.btn), .card dd a:not(.btn), .card td a:not(.btn) { display: inline; padding: 13px 0; }

/* the three small links under the front-page buttons: the separator belongs to the item after it, one per line on a phone */
/* the three hero links stack at every width: one per line, each a full-height tap target, no separator left dangling at a line break */
.hero p.small.links a { display: block; width: max-content; max-width: 100%; margin: 0; padding: 10px 0; white-space: nowrap; }

/* help: a question index at the top, answers with room under the sticky header */
.help-index .field-label { margin: 12px 0 2px; }
.help-index .field-label:first-child { margin-top: 0; }
.help-index ul { list-style: none; margin: 0 0 4px; padding: 0; columns: 2; column-gap: 24px; }
.help-index li { break-inside: avoid; font-size: 15px; }
@media (max-width: 719px) { .help-index ul { columns: 1; } }
.help-q { scroll-margin-top: 76px; }

/* toasts sit at the top on phones; while touring they sit just under the tour box, and the page starts under the box too */
@media (max-width: 719px) {
  .toast { bottom: auto; top: 72px; }
  body.touring .toast { top: calc(var(--tour-h, 160px) + 80px); }
  body.touring main { padding-top: calc(var(--tour-h, 160px) + 28px); }
}
/* on a desk the box sits bottom right, so the footer links keep clear of it */
@media (min-width: 720px) { body.touring footer .in { padding-right: 420px; } }
/* the statement's lane sub-line wraps on a narrow phone ("Guelph" / "to Mississauga"), so the table fits without scrolling */
@media (max-width: 400px) { table.plain.stmt .lane-sub { white-space: normal; } }

/* the hidden attribute always hides (live-mode bell and Sign out link) */
[hidden] { display: none !important; }
/* live mode: the notifications bell in the header (agent 5 adds the count and the list) */
.top .bell { flex: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.top .bell svg { width: 22px; height: 22px; }
.top .bell:hover { background: var(--surface-2); }

/* live mode: sign-in, account setup, waiting for verification, the staff page (agent 2) */
.narrow-card { max-width: 560px; margin: 24px auto; }
.narrow-card > h1:first-child { margin-top: 0; }
.spin { display: inline-block; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; vertical-align: -3px; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 2.4s; } }
/* the header in live mode: the company name (a link to the dashboard), Admin for staff, the bell; nothing overflows at 360 */
.top.live .brand { flex: none; }
.top .who.acct { display: flex; align-items: center; gap: 2px; margin-left: auto; min-width: 0; }
.top .who.acct a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.top .who.acct a:hover { background: var(--surface-2); text-decoration: none; }
.top .who.acct a.co { display: block; line-height: 44px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.top .who.acct .first { font-weight: 400; color: var(--muted); }
.top .who.acct a.admin { flex: none; background: var(--surface-2); }
@media (max-width: 560px) { .top .who.acct .first { display: none; } }
@media (max-width: 400px) { .top .who.acct a { padding: 0 7px; font-size: 13px; } .top .in { gap: 8px; } }
/* the two first-time choices */
a.card.choice { display: flex; flex-direction: column; gap: 2px; color: var(--ink); }
a.card.choice:hover { border-color: var(--accent); text-decoration: none; }
a.card.choice .btn { margin-top: 10px; align-self: flex-start; }
/* the certificate picker: a real file input behind a chip */
.chip.file { max-width: 100%; overflow-wrap: anywhere; text-align: left; }
input.file-pick:focus-visible + label.chip { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 1px; }
/* the staff page */
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 720px) { .admin-stats { grid-template-columns: repeat(6, 1fr); } }
.admin-stats .stat { padding: 12px 6px; }
.admin-stats .stat .num { font-size: 24px; }
.admin-stats .stat .lab { font-size: 13px; }
.narrow { max-width: 640px; margin: 24px auto 0; }
.admin-row { padding: 10px 0; }
.admin-list > .admin-row + .admin-row { border-top: 1px solid var(--line); }
.admin-list > .admin-row:first-child { padding-top: 0; }
.admin-list > .admin-row:last-child { padding-bottom: 0; }

/* ---------- live mode, shipper side (agent 3): status tabs, counters and messages, next steps, payables ---------- */
.tabs { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; margin: 0 0 14px; padding: 2px 0 6px; position: relative; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.tabs .chip { flex: none; white-space: nowrap; }
.tabs .tab-n { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--muted); }
.tabs .chip.on .tab-n { color: var(--accent); }
.bid .counter-line { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.bid .bid-links { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 6px 0 0 -12px; }
.bid .bid-links .badge { font-size: 12px; padding: 1px 8px; }
.next-step { padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--line); }
.next-step p { margin: 2px 0 8px; }
.thread { display: flex; flex-direction: column; gap: 8px; max-height: 46vh; overflow-y: auto; margin: 0 0 12px; padding: 4px 2px; }
.msg { max-width: 85%; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); font-size: 15px; overflow-wrap: anywhere; align-self: flex-start; }
.msg.mine { align-self: flex-end; background: var(--accent-soft); }
.msg .by { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
table.plain.pay th, table.plain.pay td { padding-right: 18px; }
table.plain.pay th:last-child, table.plain.pay td:last-child { padding-right: 0; }
table.plain.pay th.r, table.plain.pay td.r { padding-right: 36px; }
table.plain.pay td.act { text-align: right; white-space: nowrap; padding-right: 0; }
@media (max-width: 640px) {
  table.plain.pay thead { display: none; }
  table.plain.pay, table.plain.pay tbody, table.plain.pay tr { display: block; width: 100%; }
  table.plain.pay tr { padding: 8px 0 10px; border-bottom: 1px solid var(--line); }
  table.plain.pay tr:last-child { border-bottom: 0; }
  table.plain.pay td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; text-align: right; }
  table.plain.pay td::before { content: attr(data-label); color: var(--muted); font-size: 14px; font-family: var(--sans); font-weight: 400; text-align: left; }
  table.plain.pay td.r { padding-left: 0; }
  table.plain.pay td.act { justify-content: flex-start; padding-top: 8px; }
  table.plain.pay td.act::before { content: none; }
}
/* live mode: the bell's unread count, the "What's new" list, and the photo on the proof of delivery */
.top .bell .bell-n { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 11px/18px var(--mono); text-align: center; pointer-events: none; }
ul.notes { list-style: none; margin: 0; padding: 0; max-height: 60vh; overflow-y: auto; }
ul.notes li { border-bottom: 1px solid var(--line); }
ul.notes li:last-child { border-bottom: 0; }
ul.notes a { display: flex; flex-direction: column; gap: 2px; padding: 10px 4px 10px 12px; min-height: 44px; color: var(--ink); border-left: 3px solid transparent; overflow-wrap: anywhere; }
ul.notes a:hover { background: var(--surface-2); text-decoration: none; }
ul.notes li.new a { border-left-color: var(--accent); }
ul.notes li.new .note-text { font-weight: 600; }
ul.notes .note-text { font-size: 15px; line-height: 1.4; }
ul.notes .note-when { font-size: 13px; color: var(--muted); }
.paper .pod-photo { margin: 14px 0 0; }
.paper .pod-photo img { width: 100%; max-height: 420px; object-fit: contain; background: #f3efe6; border: 1px solid #ccc; }
/* live mode, staff page: Real Rate's invites (Greg's carrier list); long emails wrap anywhere instead of pushing the page wide */
table.plain.invites tr[hidden] { display: none; }
@media (min-width: 1001px) { table.plain.invites td.em { min-width: 13em; } }
@media (max-width: 1000px) {
  table.plain.invites thead { display: none; }
  table.plain.invites, table.plain.invites tbody, table.plain.invites tr { display: block; width: 100%; }
  table.plain.invites tr { padding: 8px 0 10px; border-bottom: 1px solid var(--line); }
  table.plain.invites tr:last-child { border-bottom: 0; }
  table.plain.invites td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; text-align: right; }
  table.plain.invites td::before { content: attr(data-label); color: var(--muted); font-size: 14px; font-family: var(--sans); font-weight: 400; text-align: left; }
  table.plain.invites td.em { overflow-wrap: anywhere; min-width: 0; }
  table.plain.invites td.act { justify-content: flex-start; padding-top: 8px; }
  table.plain.invites td.act::before { content: none; }
}
/* round 2: find a load on both dashboards (search as you type, sort chips); a filtered list keeps its 12px gaps */
.find { margin: 0 0 14px; }
.find-row { display: flex; gap: 8px; align-items: flex-end; }
.find-row label.field { flex: 1; min-width: 0; margin-bottom: 0; }
.find-row .btn { flex: none; }
.find .find-sort { margin-top: 10px; }
.find .find-hint { margin: 6px 0 0; }
.find .find-none { margin-top: 12px; }
.find-none p { overflow-wrap: anywhere; }
.stack.findable { display: flex; flex-direction: column; gap: 12px; }
.stack.findable > * + * { margin-top: 0; }
/* round 2E: the staff list rows carry two buttons (Copy the join link, Withdraw). On a wide table they may sit one above
   the other, so the table is never wider than the page. Up to 1000 px wide the list stacks into cards. */
table.plain.invites td.act .btn + .btn { margin-left: 6px; }
@media (min-width: 1001px) { table.plain.invites td.act { white-space: normal; } table.plain.invites td.act .btn { white-space: nowrap; margin-top: 3px; margin-bottom: 3px; } }
/* round 2F: a load photo opened from the staff page */
.sheet .staff-photo { display: block; width: 100%; max-height: 62vh; object-fit: contain; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); margin: 12px 0 0; }

/* round 2 agent G: an invite request row (Invite them + Clear) puts its buttons under the text on phones, so the email keeps the width */
@media (max-width: 560px) { .admin-row.req { grid-template-columns: minmax(0, 1fr); } .admin-row.req .right { text-align: left; } }

/* ---------- wide screens (1200px and up): the menu down the left, the loads as one table ----------
   Greg, 10 Nov 2026: use the full screen and put as much as possible in one view. Below 1200px nothing here
   applies: the header stays across the top and the loads stay as cards. */
.side-nav { display: none; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 14px; }
.tile { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px 14px; box-shadow: var(--shadow); color: var(--ink); font: inherit; cursor: pointer; text-decoration: none; }
.tile:hover { border-color: var(--accent); text-decoration: none; }
.tile.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: none; }
.tile .t-lab { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.tile .t-num { font-family: var(--mono); font-weight: 600; font-size: 28px; line-height: 1.2; color: var(--forest); }
.tile .t-sub { font-size: 13px; color: var(--muted); }
.board-card { padding: 0; overflow: hidden; }
.board-card .find { margin: 0; padding: 14px 16px 10px; display: grid; grid-template-columns: minmax(240px, 470px) minmax(0, 1fr) auto; column-gap: 20px; align-items: end; }
.board-card .find .find-row { grid-column: 1; }
.board-card .find-row label.field > span { white-space: nowrap; }
.sheet .chips.cols-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sheet .chips.cols-grid .chip { justify-content: center; }
.board-card .find .find-sort { grid-column: 2; margin-top: 0; }
.board-card .find .find-tool { grid-column: 3; }
.board-card .find .find-hint, .board-card .find .find-none { grid-column: 1 / -1; }
.board-card .tabs { margin: 0 16px 12px; }
.board-card .chip, .board-card .find-tool { min-height: 38px; padding: 6px 12px; font-size: 14px; }
table.board { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.board th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.board th:first-child, .board td:first-child { padding-left: 16px; }
.board th:last-child, .board td:last-child { padding-right: 16px; }
.board tbody:last-child tr:last-child td { border-bottom: 0; }
.board th.c-price, .board td.c-price { text-align: right; }
.board .ln { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; }
.board .ln.main { font-weight: 600; }
.board .ln.sub { font-size: 13px; color: var(--muted); font-weight: 400; font-family: var(--sans); }
.board-card .board td a:not(.btn) { display: inline; padding: 0; margin: 0; min-height: 0; }
.board .pills { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.board .pills .badge { font-size: 12px; padding: 2px 8px; white-space: normal; text-align: left; }
.board .pills .btn.sm { min-height: 30px; padding: 2px 10px; font-size: 13px; }
.board tr[data-href] { cursor: pointer; }
.board tr[data-href]:hover td { background: #FBFAF6; }
.board tr.warn-row td, .board tr.warn-row:hover td { background: #FCF8EC; }
.board tr.grp td { padding: 18px 16px 8px; }
.board tr.grp .section-title { margin: 0; font-size: 18px; }
.board tr.grp .chips { margin-top: 10px; }
.board tr.none-row td { padding: 0; border-bottom: 0; }
.board tr.none-row .card { margin: 14px 16px; }
.board tr.hint-row td { padding: 4px 16px 12px; }
.board tr.hint-row .hint { margin: 0; }
.board tr.tour-target td { background: var(--surface); }
/* 1280 and up: the loads table runs the full width of the screen */
@media (min-width: 1280px) {
  body.wide main { max-width: none; padding: 22px 24px 96px; }
  body.wide footer .in { max-width: none; padding-left: 24px; padding-right: 24px; }
  body.wide.touring footer .in { padding-right: 420px; }
  body.wide .grid.three { gap: 14px; }
  body.wide .grid.three .stat { text-align: left; padding: 12px 16px 14px; }
  .side-nav svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .side-nav a { display: inline-flex; align-items: center; font-weight: 600; text-decoration: none; white-space: nowrap; }
  .side-nav a:hover { text-decoration: none; }
  body.side .top .who.acct a.admin { display: none; }
}
/* 1280 to 1599 (most laptops): the menu runs across the top so the table keeps the whole width */
@media (min-width: 1280px) and (max-width: 1599px) {
  body.side .top .in { max-width: none; padding: 8px 24px; gap: 8px; }
  body.side .side-nav { display: flex; align-items: center; gap: 2px; flex: none; margin-left: 14px; }
  .side-nav a { gap: 7px; min-height: 40px; padding: 0 12px; border-radius: 999px; color: var(--ink-2); font-size: 14px; }
  .side-nav a:hover { background: var(--surface-2); color: var(--ink); }
  .side-nav a.on, .side-nav a.on:hover { background: var(--forest); color: #fff; }
  .side-nav svg { width: 16px; height: 16px; }
  body.side .top .who { margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.side .top .role-pill { margin-left: 0; }
}
@media (min-width: 1280px) and (max-width: 1365px) {
  table.board { font-size: 13px; }
  .board .ln.sub { font-size: 12px; }
  .board th, .board td { padding-left: 8px; padding-right: 8px; }
  .board th:first-child, .board td:first-child { padding-left: 16px; }
  .board th:last-child, .board td:last-child { padding-right: 16px; }
}
/* 1600 and up (desktop screens): the menu runs down the left, as in Greg's picture */
@media (min-width: 1600px) {
  body.side { padding-left: 216px; }
  body.side .top { position: fixed; left: 0; top: 0; bottom: 0; width: 216px; background: var(--forest); border-bottom: 0; overflow-y: auto; }
  body.side .top .in { position: relative; max-width: none; margin: 0; min-height: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 18px 12px 12px; }
  body.side .top .brand { color: #fff; font-size: 19px; gap: 9px; padding: 0 6px 16px; }
  body.side .top .brand .light { color: #A9CDB9; }
  body.side .side-nav { display: flex; flex-direction: column; gap: 2px; }
  .side-nav a { display: flex; gap: 10px; min-height: 42px; padding: 0 10px; border-radius: var(--radius); color: #D5E2DA; font-size: 15px; }
  .side-nav a:hover { background: rgba(255,255,255,.09); color: #fff; }
  .side-nav a.on { background: var(--accent); color: #fff; }
  .side-nav svg { width: 18px; height: 18px; }
  body.side .top .who { display: block; margin: auto 0 0; padding: 12px 6px 4px; border-top: 1px solid rgba(255,255,255,.14); color: #A9CDB9; font-size: 13px; line-height: 1.4; }
  body.side .top .who.acct { display: block; margin-left: 0; padding-right: 50px; }
  body.side .top .who.acct a.co { display: block; padding: 0; min-height: 0; line-height: 1.4; border-radius: 0; color: #fff; white-space: normal; text-wrap: balance; }
  body.side .top .who.acct a.co:hover { background: transparent; text-decoration: underline; }
  body.side .top .who.acct a.co .first { display: block; color: #A9CDB9; }
  body.side .top .who.acct a.co .first .mid-dot { display: none; }   /* the person's name sits on its own line here, so the dot between goes */
  body.side .top .role-pill { display: flex; margin: 8px 0 0; background: rgba(255,255,255,.1); }
  body.side .top .role-pill a { flex: 1; text-align: center; color: #D5E2DA; text-decoration: none; }
  body.side .top .role-pill a.on { background: #fff; color: var(--ink); box-shadow: none; }
  body.side .top .bell { position: absolute; right: 8px; bottom: 6px; color: #D5E2DA; }
  body.side .top .bell:hover { background: rgba(255,255,255,.1); }
  body.side .toast { left: 240px; }
}
