/* NAME operating room. Brand V2 "Operating Architecture": ink, bone, stone, one sulfur signal (the cause we act on, nothing else),
   the explained gap with a hatched remainder, Instrument Sans with tabular figures, Fragment Mono for times and references only. */
@import url(fonts.css);

:root {
  --ink: #141412; --ink-2: #1c1c19; --bone: #ebe8e0; --paper: #f4f2ec; --stone: #cdc7ba;
  /* text tones on bone */
  --t1: #141412; --t2: #45433e; --t3: #6a675f; --rule: #cdc7ba; --rule-2: #dcd7cc;
  /* text tones on ink */
  --d1: #ebe8e0; --d2: #c2bdb2; --d3: #9c978c; --drule: #2c2b27;
  --signal: #d3bb35; --signal-ink: #8a7612;
  --cause: #b9b2a3;          /* neutral cause on bone: stone, a shade deeper so it reads against the bone */
  --cause-d: #6a675f;        /* neutral cause on ink */
  --hatch: rgba(20,20,18,.62); --hatch-d: rgba(235,232,224,.6);
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Fragment Mono', ui-monospace, Menlo, monospace;
  --arabic: 'Noto Sans Arabic', 'Instrument Sans', sans-serif;
  --gut: clamp(20px, 4vw, 56px); --max: 1360px;
  --ease: cubic-bezier(.2,.7,.1,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bone); color: var(--t1); font: 400 16px/1.5 var(--sans);
  font-feature-settings: "tnum" 1, "lnum" 1; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
p { margin: 0; } a { color: inherit; } button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.025em; line-height: 1.04; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.dark { background: var(--ink); color: var(--d1); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .01em; font-feature-settings: normal; }
.sample { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--d3); border: 1px solid var(--drule); padding: 3px 7px 2px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the header: today, and the three sites ---------- */
.top { padding-bottom: 8px; }
.bar { display: flex; align-items: center; gap: 22px; height: 64px; border-bottom: 1px solid var(--drule); }
.wm { font: 600 16px/1 var(--sans); letter-spacing: .16em; text-decoration: none; color: var(--d1); }
.where { color: var(--d3); font-size: 14px; }
.now { margin-left: auto; display: flex; align-items: center; gap: 14px; color: var(--d2); font-size: 14px; }
.day { padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(24px, 3.4vw, 40px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px 40px; }
.day h1 { font-size: clamp(40px, 6.4vw, 92px); letter-spacing: -0.035em; font-weight: 500; }
.daysub { color: var(--d2); font-size: 17px; max-width: 36ch; text-align: right; line-height: 1.4; }
.daysub b { color: var(--d1); font-weight: 500; }

.sites { display: block; padding-bottom: 28px; }
.srow { display: grid; grid-template-columns: 34px minmax(200px, 1.25fr) minmax(150px, .9fr) 128px minmax(220px, 1.6fr) 92px 112px; align-items: center; gap: 20px;
  width: 100%; padding: 18px 0 18px; border: 0; border-top: 1px solid var(--drule); background: none; text-align: left; cursor: pointer; color: var(--d3);
  position: relative; transition: color .3s; }
.srow:last-child { border-bottom: 1px solid var(--drule); }
.srow::before { content: ""; position: absolute; left: calc(-1 * var(--gut) + 0px); top: -1px; bottom: -1px; width: 3px; background: var(--d1); transform: scaleY(0); transition: transform .35s var(--ease); }
.srow[aria-current="true"] { color: var(--d1); }
.srow[aria-current="true"]::before { transform: scaleY(1); }
.srow:hover { color: var(--d2); }
.srow[aria-current="true"]:hover { color: var(--d1); }
.srow .ix { font-size: 14px; color: var(--d3); }
.srow .nm { font-size: 19px; line-height: 1.2; color: inherit; font-weight: 500; }
.srow .nm small { display: block; font-size: 13.5px; font-weight: 400; color: var(--d3); margin-top: 3px; }
.srow .ph { font-size: 14.5px; line-height: 1.3; }
.srow .fc { font-size: 26px; letter-spacing: -0.02em; line-height: 1; color: inherit; }
.srow .fc small { display: block; font-size: 13px; color: var(--d3); letter-spacing: 0; margin-top: 5px; }
.srow .ex { font-size: 14px; line-height: 1.25; }
.srow .ex b { display: block; font-size: 22px; font-weight: 500; color: inherit; letter-spacing: -0.01em; }
.srow .ob { font-size: 14px; line-height: 1.25; text-align: right; }
.srow .ob b { display: block; font-size: 22px; font-weight: 500; color: inherit; }
.srow .ob.zero b { color: var(--d3); }

/* ---------- the device: gap bar ---------- */
.gb { position: relative; }
.gbar { position: relative; display: flex; gap: 2px; height: var(--h, 40px); }
.gbar::before, .gbar::after { content: ""; position: absolute; top: -7px; bottom: -7px; width: 1px; background: currentColor; }
.gbar::before { left: 0; }
.gbar::after { right: 0; }
.gbar.open-end::after { display: none; }
.seg { display: block; flex: var(--w) 1 0; min-width: 2px; background: var(--cause); transform-origin: left center; }
.seg.act { background: var(--signal); }
.seg.fixed { background: transparent; box-shadow: inset 0 0 0 1px var(--t3); }
.seg.hatch { background: repeating-linear-gradient(-45deg, var(--hatch) 0 1px, transparent 1px 6px); box-shadow: inset 0 0 0 1px var(--hatch); }
.dark .seg { background: var(--cause-d); }
.dark .seg.act { background: var(--signal); }
.dark .seg.fixed { background: transparent; box-shadow: inset 0 0 0 1px var(--d3); }
.dark .seg.hatch { background: repeating-linear-gradient(-45deg, var(--hatch-d) 0 1px, transparent 1px 6px); box-shadow: inset 0 0 0 1px var(--hatch-d); }
.mini .gbar { --h: 16px; gap: 2px; }
.mini .gbar::before, .mini .gbar::after { top: -4px; bottom: -4px; }
.mini .seg.hatch { background: repeating-linear-gradient(-45deg, var(--hatch-d) 0 1px, transparent 1px 5px); }

/* ---------- the room ---------- */
.room { display: grid; grid-template-columns: minmax(0, 8fr) minmax(320px, 4fr); column-gap: clamp(32px, 4vw, 72px); padding-top: clamp(40px, 5vw, 72px); padding-bottom: 80px; }
.room > * { grid-column: 1; min-width: 0; }
.room > .head { grid-column: 1 / -1; }
.room > .s-pilot { grid-column: 1 / -1; }
.room > .outbox { grid-column: 2; grid-row: 2 / span 4; align-self: start; position: sticky; top: 20px; }
.fade-in { animation: rise .55s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.head { padding-bottom: clamp(36px, 4vw, 56px); }
.head h2 { font-size: clamp(36px, 5vw, 68px); letter-spacing: -0.035em; }
.head .meta { margin-top: 14px; color: var(--t2); font-size: 16px; display: flex; flex-wrap: wrap; gap: 4px 0; }
.head .meta span + span::before { content: ""; display: inline-block; width: 1px; height: 13px; background: var(--rule); margin: 0 14px; vertical-align: -1px; }
.figs { margin-top: clamp(28px, 3.4vw, 44px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--t1); }
.fig { padding: 16px 20px 0 0; }
.fig + .fig { padding-left: 20px; border-left: 1px solid var(--rule); }
.fig .k { font-size: 13.5px; color: var(--t3); }
.fig .v { font-size: clamp(34px, 4.4vw, 60px); letter-spacing: -0.035em; line-height: 1.02; margin-top: 6px; font-weight: 500; white-space: nowrap; }
.fig .v .u { font-size: .5em; letter-spacing: -0.01em; margin-left: .12em; }
.fig .s { margin-top: 6px; font-size: 14.5px; color: var(--t2); }
.fig.gap .v { display: inline-block; box-shadow: inset 0 -5px 0 var(--signal); }
.fig.gap.plain .v { box-shadow: none; }
.fig.stated .v { -webkit-text-stroke: 1px var(--t1); color: transparent; background: repeating-linear-gradient(-45deg, var(--t1) 0 1px, transparent 1px 5px); -webkit-background-clip: text; background-clip: text; }
.state { margin-top: 20px; display: flex; align-items: baseline; gap: 12px; font-size: 15px; color: var(--t2); }
.state b { font-weight: 500; color: var(--t1); display: inline-flex; align-items: center; gap: 8px; }
.state b i { width: 10px; height: 10px; display: inline-block; background: var(--t1); }
.state b i.prov { background: repeating-linear-gradient(-45deg, var(--t1) 0 1px, transparent 1px 3px); box-shadow: inset 0 0 0 1px var(--t1); }
.state b i.stated { background: transparent; box-shadow: inset 0 0 0 1px var(--t1); }

.sec { padding-top: 44px; margin-top: 44px; border-top: 1px solid var(--rule); }
.sec:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.sh { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 24px; margin-bottom: 26px; }
.sh .n { font-size: 14px; color: var(--t3); grid-column: 1 / -1; display: flex; gap: 10px; }
.sh h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.03em; }
.sh .aside { color: var(--t2); font-size: 14.5px; text-align: right; max-width: 34ch; line-height: 1.4; }

/* sources */
.src { display: grid; grid-template-columns: minmax(150px, 1.1fr) 70px minmax(150px, 1.4fr) 112px; gap: 4px 22px; align-items: center; padding: 16px 0 16px; border-top: 1px solid var(--rule-2); }
.src:last-of-type { border-bottom: 1px solid var(--rule-2); }
.src .nm { font-size: 17px; font-weight: 500; line-height: 1.2; }
.src .nm small { display: block; font-weight: 400; color: var(--t3); font-size: 13.5px; margin-top: 3px; }
.src .rd { font-size: 22px; letter-spacing: -0.02em; text-align: right; }
.src .rd.none { color: var(--t3); font-size: 15px; }
.src .rd small { display: block; font-size: 12.5px; color: var(--t3); letter-spacing: 0; margin-top: 2px; }
.src .st { font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 8px; justify-self: end; }
.src .st i { width: 10px; height: 10px; display: inline-block; flex: none; }
.st.agreed i { background: var(--t1); }
.st.late i { box-shadow: inset 0 0 0 1px var(--t1); }
.st.disagreeing i { background: repeating-linear-gradient(-45deg, var(--t1) 0 1px, transparent 1px 3px); box-shadow: inset 0 0 0 1px var(--t1); }
.st.late, .st.disagreeing { color: var(--t1); }
.src .note { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(150px, 1.1fr) 70px minmax(150px, 1.4fr) 112px; gap: 0 22px; font-size: 14.5px; line-height: 1.4; margin-top: 6px; }
.src .note .why { grid-column: 1 / 3; color: var(--t3); }
.src .note .fix { grid-column: 3 / -1; color: var(--t2); }
.src.disagreeing .note .fix, .src.late .note .fix { color: var(--t1); }
/* difference track: agreed line in the middle, the reading drawn as a segment away from it */
.trk { position: relative; height: 26px; }
.trk::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--rule); }
.trk .ag { position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px; background: var(--t1); }
.trk .df { position: absolute; top: 7px; height: 12px; transform-origin: var(--o, left) center; }
.trk .df.fixed { box-shadow: inset 0 0 0 1px var(--t3); }
.trk .df.theo { background: var(--cause); }
.trk .df.open { background: repeating-linear-gradient(-45deg, var(--hatch) 0 1px, transparent 1px 4px); box-shadow: inset 0 0 0 1px var(--t1); }
.trk .df.late { left: 6%; right: 6%; top: 12px; height: 0; border-top: 1px dashed var(--t3); }
.trk .lb { position: absolute; top: -3px; font-size: 12.5px; color: var(--t2); white-space: nowrap; }
.agreedrow { display: grid; grid-template-columns: minmax(150px, 1.1fr) 70px minmax(150px, 1.4fr) 112px; gap: 4px 22px; align-items: center; padding: 16px 0 0; }
.agreedrow .nm { font-size: 17px; font-weight: 600; }
.agreedrow .rd { font-size: 22px; font-weight: 600; text-align: right; letter-spacing: -0.02em; }
.agreedrow .rd.prov { color: var(--t2); font-weight: 500; }
.agreedrow .tx { grid-column: 3 / -1; color: var(--t2); font-size: 14.5px; }

/* gap */
.gapwrap { padding-top: 6px; }
.gapwrap .ends { display: flex; justify-content: space-between; font-size: 14px; color: var(--t2); margin-bottom: 12px; }
.gapwrap .ends b { color: var(--t1); font-weight: 500; }
.legend { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 2px; }
.legend li { flex: var(--w) 1 0; min-width: 0; padding: 10px 12px 0 0; border-top: 1px solid var(--t1); font-size: 14.5px; line-height: 1.3; }
.legend li .i { display: block; font-size: 12.5px; color: var(--t3); margin-bottom: 5px; }
.legend li .p { display: block; margin-top: 4px; font-size: 20px; letter-spacing: -0.02em; }
.legend li .a { display: block; color: var(--t3); font-size: 13.5px; margin-top: 1px; }
.legend li.act { border-top: 3px solid var(--signal); padding-top: 8px; }
.legend li.hatch { color: var(--t2); }
.legend.list { display: block; }
.legend.list li { display: grid; grid-template-columns: 24px 1fr auto auto; gap: 14px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--rule); }
.legend.list li .i { margin: 0; }
.legend.list li .p { margin: 0; font-size: 17px; }
.legend.list li .a { margin: 0; min-width: 76px; text-align: right; }
.legend.list li.act { border-top: 3px solid var(--signal); padding-top: 9px; }
.weeks { margin-top: 40px; }
.weeks .wh { font-size: 14px; color: var(--t3); margin-bottom: 14px; display: flex; justify-content: space-between; gap: 20px; }
.wk { display: grid; grid-template-columns: 190px 64px 1fr 92px; gap: 16px; align-items: center; padding: 8px 0; border-top: 1px solid var(--rule-2); font-size: 14px; }
.wk .l { color: var(--t2); line-height: 1.25; }
.wk .l small { display: block; color: var(--t3); font-size: 12.5px; }
.wk .f { font-size: 16px; text-align: right; }
.wk .e { text-align: right; color: var(--t2); }
.wk .gb .gbar { --h: 14px; }
.wk .gb .gbar::before, .wk .gb .gbar::after { top: -4px; bottom: -4px; }
.wk .seg.hatch { background: repeating-linear-gradient(-45deg, var(--hatch) 0 1px, transparent 1px 4px); }
.wk.cur .l, .wk.cur .f { color: var(--t1); font-weight: 500; }

/* causes */
.cause { display: grid; grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1fr); gap: 6px 24px; padding: 20px 0 22px; border-top: 1px solid var(--rule); position: relative; }
.cause.act { border-top: 3px solid var(--signal); padding-top: 18px; }
.cause.act .cf { top: 22px; }
.cause .i { font-size: 14px; color: var(--t3); padding-top: 4px; }
.cause .t { grid-column: 2 / 4; padding-right: 230px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.cause .t h4 { margin: 0; font-size: 21px; font-weight: 500; letter-spacing: -0.015em; display: flex; align-items: center; gap: 10px; }
.cause .t h4 i { width: 11px; height: 11px; background: var(--cause); display: inline-block; }
.cause.act .t h4 i { background: var(--signal); }
.cause .t .pa { font-size: 15px; color: var(--t2); }
.cause .cf { position: absolute; right: 0; top: 24px; text-align: right; font-size: 14px; color: var(--t2); }
.cause .cf .m { display: inline-flex; gap: 3px; margin-right: 8px; vertical-align: 0; }
.cause .cf .m i { width: 14px; height: 6px; background: var(--rule); display: inline-block; }
.cause .cf .m i.on { background: var(--t1); }
.cause .cf b { font-weight: 500; color: var(--t1); }
.cause .ev, .cause .ac { font-size: 15px; line-height: 1.45; }
.cause .ev { grid-column: 2; }
.cause .ac { grid-column: 3; }
.cause .lbl { display: block; font-size: 13px; color: var(--t3); margin-bottom: 3px; }
.cause .ref { display: block; margin-top: 5px; color: var(--t3); }
.cause .cn { display: block; margin-top: 5px; color: var(--t3); font-size: 13.5px; }
.cause .ac .ow { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--rule-2); font-size: 14px; color: var(--t2); }
.cause .ac .ow b { color: var(--t1); font-weight: 500; }
.hatched { margin-top: 10px; border-top: 1px solid var(--t1); padding-top: 16px; }
.hatched .hh { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.hatched .hh i { width: 34px; height: 14px; display: inline-block; background: repeating-linear-gradient(-45deg, var(--hatch) 0 1px, transparent 1px 4px); box-shadow: inset 0 0 0 1px var(--hatch); }
.hatched .hh span { color: var(--t2); font-weight: 400; font-size: 14.5px; }
.hrow { display: grid; grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr); gap: 18px; padding: 10px 0; border-top: 1px solid var(--rule-2); font-size: 14.5px; line-height: 1.4; }
.hrow .p { text-align: right; color: var(--t2); }
.hrow .w { color: var(--t3); }

/* actions */
.act-row { display: grid; grid-template-columns: 34px minmax(0, 1.7fr) minmax(0, .8fr) 118px 104px; gap: 6px 22px; align-items: start; padding: 18px 0; border-top: 1px solid var(--rule); }
.act-row:last-child { border-bottom: 1px solid var(--rule); }
.act-row .i { font-size: 14px; color: var(--t3); padding-top: 2px; }
.act-row .w { font-size: 16.5px; line-height: 1.35; }
.act-row .w small { display: block; color: var(--t3); font-size: 13.5px; margin-top: 5px; }
.act-row .o { font-size: 15px; }
.act-row .o small { display: block; color: var(--t3); font-size: 13.5px; margin-top: 3px; }
.act-row .r { font-size: 13px; color: var(--t3); }
.act-row .r b { display: block; font-size: 19px; color: var(--t1); font-weight: 500; letter-spacing: -0.01em; margin-top: 1px; }
.act-row .s { font-size: 14px; text-align: right; font-weight: 500; }
.act-row .s.held { color: var(--t2); font-weight: 400; }
.act-row.first .w { font-weight: 500; }
.act-row.first { border-top: 3px solid var(--signal); padding-top: 16px; }

/* pilot */
.pilot { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0 2px; }
.pw { padding: 0 10px 0 0; position: relative; }
.pw .b { height: 3px; background: var(--rule); margin-bottom: 14px; }
.pw.done .b { background: var(--t1); height: 3px; }
.pw.cur .b { background: var(--t1); height: 9px; margin-top: -6px; }
.pw .k { font-size: 13px; color: var(--t3); }
.pw .g { font-size: 15.5px; font-weight: 500; margin-top: 4px; line-height: 1.2; }
.pw .d { font-size: 13.5px; color: var(--t2); margin-top: 6px; line-height: 1.35; }
.pw:not(.done):not(.cur) .g { color: var(--t3); font-weight: 400; }
.pw:not(.done):not(.cur) .d { color: var(--t3); }
.pw .mb { margin-top: 14px; }
.pw .mb .gbar { --h: 10px; }
.pw .mb .gbar::before, .pw .mb .gbar::after { top: -3px; bottom: -3px; }
.pw .mb .seg.hatch { background: repeating-linear-gradient(-45deg, var(--hatch) 0 1px, transparent 1px 3px); }
.pw .mb small { display: block; font-size: 12.5px; color: var(--t3); margin-top: 7px; }
.pw.cur .k { color: var(--t1); font-weight: 500; }
.pilotfoot { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--rule); color: var(--t2); font-size: 15px; display: flex; justify-content: space-between; gap: 24px; }

/* ---------- outbox ---------- */
.outbox { background: var(--ink); color: var(--d1); padding: 26px 24px 24px; border-radius: 3px; }
.outbox .oh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.outbox .oh h3 { font-size: 26px; letter-spacing: -0.02em; }
.outbox .oh .c { font-size: 15px; color: var(--d2); }
.outbox .rule { margin-top: 8px; font-size: 14.5px; color: var(--d2); line-height: 1.45; padding-bottom: 18px; border-bottom: 1px solid var(--drule); }
.msg { margin-top: 16px; background: var(--paper); color: var(--t1); border-radius: 2px; overflow: hidden; position: relative; transition: opacity .4s; }
.msg .mh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 16px 10px; border-bottom: 1px solid var(--rule-2); font-size: 14px; }
.msg .mh b { font-weight: 600; }
.msg .mh .to { color: var(--t2); }
.msg .mh .tm { color: var(--t3); white-space: nowrap; }
.msg .q { margin: 12px 16px 0; padding: 7px 10px; border-left: 2px solid var(--rule); color: var(--t2); font-size: 14px; }
.msg .q small { display: block; color: var(--t3); font-size: 12.5px; }
.msg .body { padding: 12px 16px 4px; font-size: 14.5px; line-height: 1.45; }
.msg .body p + p { margin-top: 7px; }
.msg .body p.n1 { font-weight: 600; }
.msg .body p.pre { white-space: pre-line; }
.msg .body.ar { font-family: var(--arabic); direction: rtl; text-align: right; font-size: 15.5px; line-height: 1.7; }
.msg .chk { padding: 6px 16px 0; font-size: 13px; color: var(--t3); }
.msg .flag { margin: 10px 16px 0; padding: 8px 10px; font-size: 13.5px; line-height: 1.4; color: var(--t1); background: var(--bone); border-left: 2px solid var(--t1); }
.msg .flag.block { background: repeating-linear-gradient(-45deg, rgba(20,20,18,.09) 0 1px, transparent 1px 5px), var(--bone); }
.msg .btns { display: flex; gap: 8px; padding: 14px 16px 16px; }
.msg .btns button { border: 1px solid var(--t1); background: transparent; padding: 9px 14px 9px; font-size: 14px; font-weight: 500; border-radius: 2px; cursor: pointer; transition: background .2s, color .2s; }
.msg .btns button.go { background: var(--t1); color: var(--paper); flex: 1; }
.msg .btns button.go:hover { background: #2c2b27; }
.msg .btns button:not(.go):hover { background: var(--bone); }
.msg .btns button[disabled] { opacity: .38; cursor: not-allowed; }
.msg .done { display: none; padding: 12px 16px 13px; font-size: 14px; color: var(--t2); align-items: center; gap: 10px; }
.msg .done i { width: 10px; height: 10px; background: var(--t1); display: inline-block; flex: none; }
.msg.sent .body, .msg.sent .q, .msg.sent .chk, .msg.sent .flag, .msg.sent .btns { display: none; }
.msg.sent .done { display: flex; }
.msg.sent { background: #e1ddd3; }
.msg.heldby .done i { background: transparent; box-shadow: inset 0 0 0 1px var(--t1); }
.msg .sweep { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--t1); transform: scaleX(0); transform-origin: left; pointer-events: none; opacity: .08; }
.outbox .after { margin-top: 18px; font-size: 13.5px; color: var(--d3); line-height: 1.45; }
.outbox .after b { color: var(--d2); font-weight: 500; }

.foot { padding-top: 28px; padding-bottom: 48px; border-top: 1px solid var(--rule); color: var(--t3); font-size: 13.5px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- laptop ---------- */
@media (max-width: 1220px) {
  .srow { grid-template-columns: 28px minmax(170px, 1.3fr) minmax(130px, .9fr) 110px minmax(150px, 1.3fr) 84px 96px; gap: 16px; }
  .act-row { grid-template-columns: 30px minmax(0, 1.6fr) minmax(0, .8fr) 108px; }
  .act-row .s { grid-column: 2 / -1; text-align: left; }
}
@media (max-width: 1020px) {
  .room { grid-template-columns: 1fr; }
  .room > .s-pilot { grid-column: 1; }
  .room > .outbox { grid-column: 1; grid-row: auto; position: static; order: 3; margin-top: 44px; }
  .room > .head { order: 0; } .room > .s-src { order: 4; } .room > .s-gap { order: 1; } .room > .s-cause { order: 5; } .room > .s-act { order: 6; } .room > .s-pilot { order: 7; }
  .room > .s-gap { border-top: 0; margin-top: 0; padding-top: 0; }
  .room > .s-src { border-top: 0; }
  .srow { grid-template-columns: 26px minmax(0, 1.4fr) 100px minmax(120px, 1.2fr) 70px 70px; }
  .srow .ph { display: none; }
}

/* ---------- phone ---------- */
@media (max-width: 680px) {
  body { font-size: 15px; }
  .bar { height: 56px; gap: 14px; }
  .where { display: none; }
  .now { font-size: 13px; gap: 10px; }
  .day { grid-template-columns: 1fr; padding-top: 30px; padding-bottom: 20px; }
  .day h1 { font-size: 40px; }
  .daysub { text-align: left; font-size: 15.5px; }
  .srow { grid-template-columns: 22px 1fr auto; grid-template-areas: "ix nm ob" "ix mb mb" "ix fc ex"; gap: 10px 12px; padding: 16px 0; }
  .srow .ix { grid-area: ix; align-self: start; padding-top: 3px; }
  .srow .nm { grid-area: nm; font-size: 17px; }
  .srow .ph { display: none; }
  .srow .fc { grid-area: fc; font-size: 20px; display: flex; align-items: baseline; gap: 8px; }
  .srow .fc small { display: inline; margin: 0; }
  .srow .mbw { grid-area: mb; }
  .srow .ex { grid-area: ex; text-align: right; }
  .srow .ex b { display: inline; font-size: 17px; margin-right: 4px; }
  .srow .ob { grid-area: ob; align-self: start; }
  .srow .ob b { display: inline; font-size: 17px; margin-right: 4px; }
  .srow .ob span { font-size: 13.5px; }
  .srow::before { left: calc(-1 * var(--gut)); }
  .room { padding-top: 34px; }
  .head h2 { font-size: 36px; }
  .head .meta { font-size: 14.5px; }
  .head .meta { display: block; } .head .meta span { display: block; } .head .meta span + span::before { display: none; }
  .figs { grid-template-columns: 1fr 1fr; }
  .fig { padding: 14px 12px 14px 0; }
  .fig + .fig { padding-left: 0; border-left: 0; }
  .fig:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--rule); }
  .fig:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .fig .v { font-size: 38px; }
  .state { flex-direction: column; gap: 4px; }
  .sh { grid-template-columns: 1fr; }
  .sh .aside { text-align: left; }
  .src { grid-template-columns: 1fr auto; gap: 8px 14px; }
  .src .nm { grid-column: 1; }
  .src .rd { grid-column: 2; grid-row: 1; }
  .src .trk { grid-column: 1 / -1; }
  .src .st { grid-column: 1 / -1; justify-self: start; }
  .src .note { display: block; }
  .src .note .why, .src .note .fix { display: block; }
  .src .note .fix { margin-top: 4px; }
  .agreedrow { grid-template-columns: 1fr auto; }
  .agreedrow .tx { grid-column: 1 / -1; }
  .legend { display: block; }
  .legend li { display: grid; grid-template-columns: 24px 1fr auto auto; gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--rule); }
  .legend li .i { margin: 0; } .legend li .p { margin: 0; font-size: 16px; } .legend li .a { margin: 0; min-width: 70px; text-align: right; }
  .legend li.act { padding-top: 9px; }
  .wk { grid-template-columns: 74px 48px 1fr 40px; gap: 10px; font-size: 13px; }
  .wk .l small { display: none; }
  .wk .e .x { display: none; }
  .cause { grid-template-columns: 26px 1fr; }
  .cause .t, .cause .ev, .cause .ac, .cause .cf { grid-column: 2; }
  .cause .t { padding-right: 0; } .cause .cf { position: static; margin-bottom: 6px; }
  .cause .cf { justify-self: start; text-align: left; }
  .cause .ac { margin-top: 8px; }
  .hrow { grid-template-columns: 1fr 50px; }
  .hrow .w { grid-column: 1 / -1; }
  .act-row { grid-template-columns: 26px 1fr auto; gap: 6px 12px; }
  .act-row .w { grid-column: 2 / -1; }
  .act-row .o { grid-column: 2; }
  .act-row .r { grid-column: 3; grid-row: 2; text-align: right; }
  .act-row .s { grid-column: 2 / -1; }
  .pilot { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gut); gap: 2px; margin: 0 calc(-1 * var(--gut)); padding: 6px 0 10px; scrollbar-width: none; }
  .pilot::before, .pilot::after { content: ""; flex: 0 0 calc(var(--gut) - 2px); }
  .pilot::-webkit-scrollbar { display: none; }
  .pw { flex: 0 0 150px; scroll-snap-align: start; }
  .pilotfoot { flex-direction: column; gap: 6px; }
  .outbox { margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); border-radius: 0; padding: 26px var(--gut) 26px; }
  .foot { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
.mbw { display: block; }
