/* Shipment Tracker — "passport" look, after the Happy Farmers traceability page */
:root {
  --cream: #F3EEE2;
  --paper: #F7F2E6;
  --line: #E2D9C5;
  --green: #173B2E;
  --green-2: #1F4D3A;
  --ok: #2E6B45;
  --ok-bg: #DCEBD9;
  --gold: #D4B25C;
  --orange: #C2611F;
  --orange-bg: #F6E1CF;
  --grey: #8C8A82;
  --ink: #1D2A24;
  --muted: #6F6B60;
  --radius: 18px;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 16px/1.5 Barlow, system-ui, sans-serif;
}
a { color: var(--green-2); }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* top bar */
.topbar {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: #142D24; color: #fff; padding: 10px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; font-size: 18px; }
.brand img { width: 34px; height: 34px; }
.brand span { text-transform: uppercase; letter-spacing: .2em; color: var(--gold); font-size: 15px; }
.topnav { display: flex; gap: 16px; }
.topnav a { color: #cfe0d6; text-decoration: none; font-size: 15px; }
.topnav a:hover { color: #fff; }
.parties { color: #9fb5aa; font-size: 14px; }
.topright { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 14px; }
.muted-l { color: #cfe0d6; }
.pill-l { border: 1px solid #5f8a74; border-radius: 999px; padding: 3px 12px; }
.link-l { background: none; border: 0; color: #cfe0d6; cursor: pointer; font: inherit; padding: 0; }
.topright form { margin: 0; }

main { max-width: 1180px; margin: 0 auto; padding: 24px 24px 8px; }
.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 24px 16px 40px; }
.crumb { display: inline-block; margin: 0 0 14px; color: var(--muted); text-decoration: none; font-family: var(--mono); font-size: 15px; }

/* labels */
.label { font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.label-d { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: #8A6A24; font-weight: 600; }

/* hero: dark green leather */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: #173B2E url(/img/leather.jpg) center/420px repeat;
  border-radius: var(--radius); padding: 40px 48px; margin-bottom: 22px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
  box-shadow: 0 10px 30px rgba(20, 40, 30, .18);
}
.hero::before { content: ''; position: absolute; pointer-events: none; background-repeat: no-repeat; background-size: contain; }
.hero::before { right: 0; top: 0; width: 320px; height: 320px; background-image: url(/img/leaves-corner.jpg);
  -webkit-mask-image: radial-gradient(circle at top right, #000 50%, transparent 71%); mask-image: radial-gradient(circle at top right, #000 50%, transparent 71%); }
.hero > * { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); margin: 6px 0 4px; letter-spacing: .02em; line-height: 1.1; }
.hero p { margin: 4px 0; font-size: 18px; color: #F2EEDF; }
.hero hr { border: 0; border-top: 1.5px solid var(--gold); margin: 16px 0; max-width: 560px; }
.hero .hero-eta { font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; color: #fff; }
.hero .hero-cap { font-family: var(--mono); font-size: 15px; color: #d9d2bd; }
.hero .mono-s { font-family: var(--mono); font-size: 15px; }
.hero .faint { color: #bfc9bf; }
.hero-stats { display: grid; gap: 0; padding-right: 140px; }
.hero-stats div { display: flex; align-items: center; gap: 24px; padding: 14px 0; border-bottom: 1.5px solid rgba(212, 178, 92, .7); }
.hero-stats div:last-child { border-bottom: 0; }
.hero-stats b { font-size: 44px; font-weight: 700; min-width: 40px; }
.hero-side { border-left: 1.5px solid var(--gold); padding-left: 32px; padding-right: 110px; }
.hero-side p { font-family: var(--mono); }
.hero-side .hero-eta { font-size: clamp(20px, 2.2vw, 28px); }
.hero-side .btn-gold { margin-top: 14px; }
.hero-login { grid-template-columns: 1fr; max-width: 560px; margin: 40px auto; }
.hero-login::before { opacity: .6; }

/* parchment cards */
.card {
  position: relative; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 36px; margin-bottom: 22px; box-shadow: 0 6px 20px rgba(80, 60, 20, .06);
}
.card::after {
  content: ''; position: absolute; right: -40px; top: -30px; width: 330px; height: 182px; pointer-events: none;
  background: url(/img/vine.jpg) right top/contain no-repeat; mix-blend-mode: multiply; opacity: .4;
}
.card > * { position: relative; z-index: 1; }
.card.narrow { max-width: 640px; }
.title { margin: 0; font-size: 22px; letter-spacing: .3em; text-transform: uppercase; color: var(--green); font-weight: 700; text-align: center; }
.sub { margin: 6px 0 22px; text-align: center; color: var(--muted); letter-spacing: .18em; font-size: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.two > .card { margin-bottom: 22px; }
.two .title, .two .sub { text-align: left; }
.note { color: var(--muted); font-family: var(--mono); font-size: 13px; text-align: center; margin: 0 0 20px; }

/* pills */
.pill { display: inline-block; border-radius: 999px; padding: 4px 16px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.pill.ok { background: var(--ok); color: #fff; }
.pill.ok-o { border: 1.5px solid var(--ok); color: var(--ok); }
.pill.warn { background: var(--orange); color: #fff; }
.pill.prog { background: var(--orange-bg); color: #8a4313; }
.pill.plan { border: 1.5px solid var(--green); color: var(--green); }
.tag { font-size: 12px; border-radius: 999px; padding: 1px 10px; margin-left: 6px; white-space: nowrap; }
.tag-v { border: 1px solid var(--ok); color: var(--ok); }
.tag-i { background: #E7E2D6; color: var(--muted); }

/* shipment rows: grid on desktop, cards on mobile */
.ships { display: grid; }
.ship {
  display: grid; grid-template-columns: 150px 1fr 230px 190px; gap: 20px; align-items: center;
  padding: 18px 8px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; border-radius: 10px;
}
.ship:hover { background: rgba(255, 255, 255, .5); }
.ship-id { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.ship-id .big { font-size: 34px; font-weight: 700; color: var(--green); line-height: 1.1; }
.ship-id .small { color: var(--muted); font-size: 14px; letter-spacing: .08em; }
.ship-eta { display: flex; flex-direction: column; border-left: 1px solid var(--line); padding-left: 18px; }
.ship-eta strong { font-size: 19px; color: var(--green); }
.ship-eta .cap { font-size: 13px; color: var(--muted); }
.ship-pill { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.chev { font-size: 26px; color: var(--green); }

.chain { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; position: relative; }
.chain::before { content: ''; position: absolute; left: 7%; right: 7%; top: 19px; border-top: 1.5px dashed #b9b2a2; }
.dot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.dot i { width: 40px; height: 40px; border-radius: 50%; border: 2px dashed #b9b2a2; background: var(--paper); display: grid; place-items: center; font-style: normal; }
.dot.done i { background: var(--ok); border: 3px double #e9f0e6; outline: 2px solid var(--ok); color: #fff; }
.dot.done i::after { content: '✓'; font-weight: 700; }
.dot.in_progress i { background: var(--orange); border: 3px double #fbeee2; outline: 2px solid var(--orange); color: #fff; }
.dot.in_progress i::after { content: '◆'; font-size: 13px; }
.dot b { font-weight: 500; font-size: 14px; color: var(--ink); }

.arrived { margin-top: 18px; }
.arrived summary { cursor: pointer; color: var(--muted); font-family: var(--mono); font-size: 14px; padding: 8px; }

/* stamps */
.stamps { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 10px 0 30px; flex-wrap: nowrap; }
.dash { flex: 1; min-width: 10px; border-top: 1.5px dashed #9c9585; }
.stamp {
  flex: none; width: 128px; height: 128px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 4px; border: 3px double currentColor; outline: 2px solid currentColor; outline-offset: 4px;
  color: #a39d8f; transform: rotate(-4deg); font-weight: 700;
}
.stamp.low { transform: translateY(34px) rotate(3deg); }
.stamp.done { color: var(--ok); }
.stamp.in_progress { color: var(--orange); }
.stamp.planned { border-style: dashed; outline-style: dashed; outline-width: 1.5px; }
.stamp .rim { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; max-width: 100px; line-height: 1.2; }
.stamp .ico { width: 42px; height: 42px; background: currentColor; -webkit-mask: var(--i) center/contain no-repeat; mask: var(--i) center/contain no-repeat; }
.stamp .sd { font-size: 13px; text-transform: uppercase; max-width: 108px; line-height: 1.2; }

/* schedule tables */
.sched { width: 100%; border-collapse: collapse; font-size: 16px; }
.sched th { text-align: left; background: #ECE5D3; padding: 12px 12px; font-weight: 600; }
.sched th:first-child { border-radius: 10px 0 0 10px; }
.sched th:last-child { border-radius: 0 10px 10px 0; }
.sched td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sched td:first-child { font-weight: 600; }
.sched .late { color: var(--orange); font-weight: 600; }
.sched.full td:first-child { font-weight: 400; color: var(--muted); }
.sched.full { font-size: 15px; }

/* timeline */
.tl { list-style: none; margin: 0; padding: 0 0 0 34px; position: relative; }
.tl li { position: relative; padding: 0 0 22px; }
.tl li::before { content: ''; position: absolute; left: -29px; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--orange); background: var(--paper); }
.tl li.first::before { border-color: var(--ok); background: var(--ok); }
.tl li.note::before { border-color: var(--grey); }
.tl li::after { content: ''; position: absolute; left: -22px; top: 26px; bottom: 0; border-left: 1.5px dashed #c9a27c; }
.tl li:last-child::after { display: none; }
.tl li.internal { opacity: .8; }
.tl-h b { font-size: 18px; color: var(--green); }
.tl .by { color: var(--muted); margin-left: 8px; font-size: 14px; }
.why { font-style: italic; color: var(--muted); }

/* forms */
.btn { display: inline-block; background: var(--green); color: #fff; border: 0; border-radius: 12px; padding: 12px 26px; font: 600 17px Barlow, sans-serif; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--green-2); }
.btn-o { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.btn-o:hover { background: #fff; }
.btn-gold { background: var(--gold); color: #1d2a24; padding: 10px 20px; font-size: 15px; }
.btn-gold:hover { background: #e2c578; }
.btn-sm { padding: 8px 18px; font-size: 15px; }
.link { background: none; border: 0; color: var(--green-2); cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }
.row-actions { display: flex; gap: 14px; }
.row-actions form { margin: 0; }
.err { background: #F7DCD3; color: #8a2c13; padding: 10px 14px; border-radius: 10px; }
.okmsg { background: var(--ok-bg); padding: 10px 14px; border-radius: 10px; }
.upd { display: grid; gap: 16px; }
.upd h3 { margin: 0; color: var(--green); }
.upd label { display: grid; gap: 6px; font-weight: 600; }
.upd label small { font-weight: 400; color: var(--muted); }
.upd input, .upd textarea, .upd select, .login input, .noteform textarea {
  font: 16px Barlow, sans-serif; padding: 11px 13px; border: 1.5px solid #CFC5AE; border-radius: 10px; background: #fffdf8; color: var(--ink); width: 100%;
}
.upd .check, .noteform .check { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.upd .check input, .noteform .check input { width: 20px; height: 20px; accent-color: var(--ok); }
.upd.inline { grid-template-columns: repeat(3, 1fr) auto; align-items: end; }
.req { color: var(--orange); font-weight: 400; font-size: 14px; }
.actions { display: flex; gap: 12px; }
.seg { border: 0; padding: 0; margin: 0; display: flex; gap: 0; flex-wrap: wrap; }
.seg legend { font-weight: 600; margin-bottom: 6px; }
.seg label { display: block; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 10px 20px; background: #ECE5D3; cursor: pointer; font-weight: 600; }
.seg label:first-of-type span { border-radius: 10px 0 0 10px; }
.seg label:last-of-type span { border-radius: 0 10px 10px 0; }
.seg input:checked + span { background: var(--orange); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--green); }
.stagechips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { border: 1.5px dashed #b9b2a2; border-radius: 999px; padding: 5px 14px; font-size: 14px; color: var(--muted); text-decoration: none; }
.chip.done { border: 1.5px solid var(--ok); color: var(--ok); }
.chip.in_progress { border: 1.5px solid var(--orange); color: var(--orange); }
.chip.on { background: var(--green); color: #fff; border: 1.5px solid var(--green); }
.preview { background: #EFE8D7; border-radius: 14px; padding: 22px; align-self: start; }
.pv { background: #fffdf8; border-radius: 12px; padding: 16px 18px; margin-top: 12px; border-left: 4px solid var(--orange); }
.pv b { color: var(--green); }
.noteform { display: grid; gap: 10px; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
.noteform label { display: grid; gap: 6px; font-weight: 600; }
.noteform .btn { justify-self: start; }
.login { display: grid; gap: 14px; margin-top: 18px; }
.login label { display: grid; gap: 6px; color: #F2EEDF; font-weight: 600; }
.login .btn { background: var(--gold); color: #1d2a24; justify-self: start; }

/* tablet */
@media (max-width: 1000px) {
  .ship { grid-template-columns: 110px 1fr 190px; }
  .ship-pill { grid-column: 1 / -1; justify-content: flex-start; }
  .two { grid-template-columns: 1fr; }
  .stamps { flex-wrap: wrap; justify-content: center; gap: 22px 10px; }
  .stamps .dash { display: none; }
  .stamp.low { transform: rotate(3deg); }
}

/* phone: one card per shipment */
@media (max-width: 700px) {
  main { padding: 16px 16px 4px; }
  .topbar { padding: 10px 16px; gap: 10px; }
  .parties, .muted-l { display: none; }
  .hero { grid-template-columns: 1fr; padding: 26px 22px; gap: 14px; }
  .hero::before { width: 170px; height: 170px; opacity: .8; }
  .hero-stats { display: flex; gap: 8px; padding: 0; }
  .hero-stats div { flex: 1; flex-direction: column; align-items: flex-start; gap: 0; border: 1px solid rgba(212, 178, 92, .5); border-radius: 12px; padding: 10px 12px; }
  .hero-stats b { font-size: 28px; }
  .hero-stats .label { font-size: 10px; letter-spacing: .16em; }
  .hero-side { border-left: 0; padding: 0; border-top: 1.5px solid var(--gold); padding-top: 14px; }
  .card { padding: 22px 18px; }
  .card::after { width: 200px; height: 110px; }
  .ships { gap: 16px; }
  .ship {
    grid-template-columns: 1fr auto; grid-template-areas: "id pill" "eta eta" "chain chain";
    gap: 12px; background: #fffaf0; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: 0 4px 14px rgba(80, 60, 20, .07);
  }
  .ship-id { grid-area: id; border: 0; }
  .ship-id .big { font-size: 21px; }
  .ship-id .big::before { content: 'CONTAINER '; }
  .ship-pill { grid-area: pill; grid-column: auto; align-self: start; }
  .ship-pill .chev { display: none; }
  .ship-pill .pill { font-size: 13px; padding: 3px 11px; }
  .ship-eta { grid-area: eta; border: 0; padding: 0; }
  .ship-eta strong { font-size: 28px; line-height: 1.2; }
  .chain { grid-area: chain; }
  .dot i { width: 34px; height: 34px; }
  .chain::before { top: 17px; }
  .dot b { font-size: 11px; }
  .stamp { width: 104px; height: 104px; }
  .stamp .rim { font-size: 10px; }
  .sched { font-size: 14px; }
  .sched th, .sched td { padding: 9px 6px; }
  .sched.full { display: block; overflow-x: auto; }
  .upd.inline { grid-template-columns: 1fr; }
  .title { font-size: 18px; letter-spacing: .22em; }
}

/* schedule v2: one date per milestone + variance */
.sched2 td { vertical-align: middle; }
.sched2 .d { display: block; font-weight: 600; }
.sched2 .d.done { color: var(--ok); }
.sched2 .d.prog { color: #8a4313; }
.sched2 .d.plan { color: var(--ink); font-weight: 500; }
.sched2 .was { display: block; color: var(--muted); font-size: 13px; }
.var { font-weight: 700; white-space: nowrap; }
.var.ok { color: var(--ok); }
.var.late { color: var(--orange); }
.est { display: block; font-size: 12px; color: var(--muted); }
.legend { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

.sched2 .reason { max-width: 360px; }
.why-in { font-style: italic; color: var(--ink); }
.nowhy { font-size: 13px; color: var(--muted); }
.history { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.history summary { cursor: pointer; font-weight: 600; color: var(--green); padding: 4px 0 12px; }
.history .tl { margin-top: 8px; }
@media (max-width: 700px) {
  .sched2 thead { display: none; }
  .sched2, .sched2 tbody { display: block; }
  .sched2 tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .sched2 td { border: 0; padding: 0; }
  .sched2 td[data-l="Milestone"] { grid-column: 1 / -1; }
  .sched2 td.reason { grid-column: 1 / -1; max-width: none; }
  .sched2 td.reason:empty { display: none; }
}

/* schedule v3: one fact per cell */
.tablewrap { overflow-x: auto; }
.sched3 { font-size: 15px; }
.sched3 th, .sched3 td { padding: 12px 14px; white-space: nowrap; vertical-align: middle; text-align: left; }
.sched3 tbody th { font-weight: 600; background: none; border-radius: 0; border-bottom: 1px solid var(--line); }
.sched3 td.reason { white-space: normal; min-width: 220px; color: var(--ink); }
.sched3 tr.is-late th { box-shadow: inset 3px 0 0 var(--orange); }
.sched3 b { font-weight: 600; }
.nil { color: #a9a395; }
.tagx { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; margin-left: 4px; }
.st { font-size: 13px; font-weight: 600; border-radius: 999px; padding: 2px 10px; }
.st.done { background: var(--ok-bg); color: var(--ok); }
.st.prog { background: var(--orange-bg); color: #8a4313; }
.st.plan { border: 1px solid #c9c1ad; color: var(--muted); }
@media (max-width: 700px) {
  .sched3 thead { display: none; }
  .sched3, .sched3 tbody, .sched3 tr { display: block; }
  .sched3 tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .sched3 tbody th { display: block; padding: 0 0 6px; border: 0; }
  .sched3 td { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border: 0; white-space: normal; }
  .sched3 td::before { content: attr(data-l); color: var(--muted); font-size: 13px; }
  .sched3 td.reason { min-width: 0; }
  .sched3 td.empty { display: none; }
  .sched3 td > span { text-align: right; }
  .sched3 tr.is-late th { box-shadow: none; color: #8a4313; }
}

/* internal review table */
main:has(.review) { max-width: 1500px; }
.review .title, .review .sub { text-align: left; }
.review-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.review-bar .btn { margin-left: auto; }
.review-t { font-size: 14px; }
.review-t th, .review-t td { padding: 9px 10px; white-space: nowrap; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.review-t thead th { border-radius: 0 !important; position: sticky; top: 0; z-index: 2; }
.review-t tr.grp th { background: #E3DAC4; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 10px; border-left: 1px solid var(--paper); }
.review-t .stick { position: sticky; left: 0; z-index: 1; background: var(--paper); font-weight: 700; }
.review-t thead .stick { background: #ECE5D3; z-index: 3; }
.review-t tbody th a { color: var(--green); }
.review-t tr.has-issue .stick { box-shadow: inset 3px 0 0 var(--orange); }
.review-t .b { font-weight: 700; }
.review-t .late { color: var(--orange); font-weight: 700; }
.review-t .small { font-size: 12px; }

.iss { display: block; font-size: 13px; line-height: 1.35; margin-bottom: 3px; }
.iss.warn { color: #8a4313; }
.iss.warn::before { content: '⚠ '; }
.iss.info { color: var(--muted); }
.okc { color: var(--ok); font-weight: 600; font-size: 13px; }
.fix { font-size: 13px; }
.pill-s { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 2px 9px; }
.s-arrived { border: 1px solid var(--ok); color: var(--ok); }
.s-at_sea { background: var(--ok); color: #fff; }
.s-in_progress { background: var(--orange-bg); color: #8a4313; }
.s-planned { border: 1px solid #c9c1ad; color: var(--muted); }

.review-t td, .review-t th { vertical-align: middle; }
.review-t td.flag { background: #F6E1CF; box-shadow: inset 0 -2px 0 var(--orange); cursor: help; }
.review-t td.flag.info { background: #ECE7DA; box-shadow: none; }
.review-t td.flag::after { content: ' ⚠'; color: var(--orange); font-size: 12px; }
.review-t td.flag.info::after { content: ' ℹ'; color: var(--muted); }
.cnt { font-weight: 700; font-size: 13px; text-decoration: none; border-radius: 999px; padding: 2px 10px; }
.cnt.warn { background: var(--orange); color: #fff; }
.cnt.info { background: #E7E2D6; color: var(--muted); }
.isslist { margin: 0 0 16px; background: #fffaf0; border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; }
.isslist summary { cursor: pointer; font-weight: 600; color: #8a4313; }
.isslist ul { list-style: none; padding: 0; margin: 10px 0 4px; columns: 2 420px; column-gap: 32px; }
.isslist li { break-inside: avoid; margin-bottom: 10px; }
.isslist li > a { font-weight: 700; color: var(--green); margin-right: 6px; }
.isslist .iss { display: inline; margin-right: 10px; }

.revs { font-weight: 700; color: var(--green); }
.h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 8px 0 10px; }
.versions { border-collapse: collapse; margin-bottom: 18px; font-size: 14px; }
.versions th { text-align: left; padding: 6px 16px 6px 0; font-weight: 600; white-space: nowrap; vertical-align: top; }
.versions td { padding: 6px 0; }
.versions .v { white-space: nowrap; }
.versions .v small { color: var(--muted); }
.versions .v.agreed { font-weight: 700; color: var(--green); }
.versions .arr { color: var(--muted); margin: 0 8px; }

.sched3.progress { max-width: 560px; }
.legend + .h3 { margin-top: 28px; }
@media (max-width: 700px) {
  .sched3.progress tr { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
  .sched3.progress tbody th { padding: 0; flex: 1; }
  .sched3.progress td { padding: 0; }
  .sched3.progress td::before { content: none; }
}

/* weekly summary + users e-mail */
.sum-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 8px; }
ul.plain { list-style: none; padding: 0; margin: 0 0 10px; }
ul.plain li { padding: 4px 0; border-bottom: 1px solid var(--line, #e4dccb); }
.mailprev { width: 100%; height: 900px; border: 1px solid var(--line, #e4dccb); border-radius: 8px; background: #f6f1e6; }
.mailform { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; }
.mailform input[type=email] { width: 210px; padding: 4px 6px; }
.mailform .chk { display: flex; gap: 4px; align-items: center; white-space: nowrap; font-size: 13px; }
@media (max-width: 720px) { .sum-grid { grid-template-columns: 1fr; } }
