/* NewsRadar: newsroom calm. Paper + ink with a news-red accent (light), ink + warm red (dark).
   Headlines: Instrument Serif. Text: Inter. Icons: Lucide (ISC), self-hosted sprite. */

@font-face { font-family: "Inter"; src: url("/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #f7f5f0;
  --bg-2: #efece5;
  --surface: #ffffff;
  --surface-2: #fbfaf7;
  --ink: #16171b;
  --ink-2: #3b3e45;
  --muted: #6c7078;
  --faint: #9b9ea4;
  --line: #e7e3da;
  --line-2: #d8d3c8;
  --accent: #b42a20;
  --accent-soft: #f8e7e4;
  --accent-ink: #ffffff;
  --brand: #16171b;
  --brand-ink: #f7f5f0;
  --good: #2c6a4c;  --good-soft: #e4f0e9;
  --warn: #946112;  --warn-soft: #f8eed9;
  --bad: #a3342b;   --bad-soft: #f7e3e0;
  --info: #2d5476;  --info-soft: #e2ebf4;
  --shadow: 0 1px 2px rgba(22, 23, 27, .04), 0 8px 24px -12px rgba(22, 23, 27, .14);
  --shadow-lg: 0 24px 60px -20px rgba(22, 23, 27, .3);
  --radius: 14px;
  --radius-sm: 10px;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --tabbar-h: 62px;
  --maxw: 760px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101114;
    --bg-2: #15171b;
    --surface: #191b20;
    --surface-2: #1e2026;
    --ink: #ede9e2;
    --ink-2: #cac6bf;
    --muted: #92949b;
    --faint: #6a6d74;
    --line: #272a31;
    --line-2: #33363e;
    --accent: #ef7b6c;
    --accent-soft: #2e1b19;
    --accent-ink: #16171b;
    --brand: #ede9e2;
    --brand-ink: #16171b;
    --good: #7cc29e;  --good-soft: #16271e;
    --warn: #e1b062;  --warn-soft: #2a2213;
    --bad: #ec8b80;   --bad-soft: #2d1917;
    --info: #8db6dc;  --info-soft: #162330;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .55);
    --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; overscroll-behavior: none; }
html { height: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font: 400 15px/1.55 var(--sans);
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  min-height: 100%; touch-action: manipulation;
}
body.no-scroll { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
img { max-width: 100%; }

.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8;
      stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.ic.sm { width: 15px; height: 15px; }
.ic.lg { width: 22px; height: 22px; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

h1, h2, h3 { margin: 0; font-weight: 400; }
h1 { font: 400 34px/1.08 var(--serif); letter-spacing: -.01em; }
h2 { font: 400 24px/1.2 var(--serif); }
h3 { font: 600 12px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.eyebrow { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 650; }
.grow { flex: 1; min-width: 0; }
.row-flex { display: flex; align-items: center; gap: 10px; }
.wrap { flex-wrap: wrap; }
.stack { display: grid; gap: 14px; }
.stack-sm { display: grid; gap: 8px; }
.break { overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }
.right { margin-left: auto; }

/* ---------- buttons & inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink); font-weight: 550; font-size: 14px;
  cursor: pointer; text-decoration: none; white-space: nowrap; user-select: none; -webkit-user-select: none;
  transition: background .15s, border-color .15s, transform .06s, opacity .15s;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn.danger { color: var(--bad); }
.btn.icon { width: 42px; padding: 0; }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn.icon.sm { width: 34px; }
.btn.block { width: 100%; min-height: 50px; font-size: 15px; }
.btn.done { background: var(--good-soft); border-color: var(--good); color: var(--good); }
.btn .ic { width: 17px; height: 17px; }

.field { display: grid; gap: 6px; }
.field > label, .label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.hint { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-2);
  background: var(--surface); outline: none; font-size: 16px; /* 16px stops iOS zooming into fields */
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.textarea { padding: 12px 14px; min-height: 96px; resize: vertical; line-height: 1.5; }
.select { padding-right: 36px; background-image: none; }
.select-wrap { position: relative; }
.select-wrap .ic { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink-2); box-shadow: 0 0 0 4px var(--bg-2); }
input[type="datetime-local"].input { padding-right: 8px; display: flex; align-items: center; min-width: 0; }
input[type="datetime-local"]::-webkit-date-and-time-value { text-align: left; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two > * { min-width: 0; }

/* segmented control & chips */
.seg { display: flex; padding: 3px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); gap: 2px; }
.seg button { flex: 1; min-height: 38px; border: 0; background: transparent; border-radius: 999px; font-size: 13.5px;
              font-weight: 550; color: var(--muted); cursor: pointer; padding: 0 10px; white-space: nowrap; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px;
        border: 1px solid var(--line-2); background: var(--surface); font-size: 13.5px; font-weight: 550; cursor: pointer; }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.switch-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius);
              border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.switch { position: relative; width: 50px; height: 30px; flex: none; border-radius: 999px; background: var(--line-2);
          transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
                 background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch.on { background: var(--good); }
.switch.on::after { transform: translateX(20px); }

/* ---------- layout ---------- */
.app { min-height: 100dvh; }
.main { max-width: var(--maxw); margin: 0 auto;
        padding: calc(18px + env(safe-area-inset-top)) 16px calc(var(--tabbar-h) + 32px + env(safe-area-inset-bottom)); }
.page-head { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.page-head .titles { flex: 1; min-width: 0; }
.page-head h1 { margin-top: 2px; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; font-size: 14px;
        font-weight: 550; min-height: 36px; margin-bottom: 4px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
         box-shadow: var(--shadow); }
.panel.flat { box-shadow: none; }
.section { margin-top: 22px; }
.section > h3 { margin: 0 2px 10px; }
.card-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card-list > .item + .item { border-top: 1px solid var(--line); }
.item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-decoration: none; color: inherit; min-height: 56px; }
.item .ic.lead { color: var(--muted); }
button.item { width: 100%; border: 0; background: transparent; text-align: left; cursor: pointer; }
.item-title { font-weight: 600; line-height: 1.35; }
.item-sub { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* tab bar: fixed to the very bottom edge, safe-area aware */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(3, 1fr);
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-top: 1px solid var(--line);
  transform: translateZ(0);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
            text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 600; height: var(--tabbar-h); }
.tabbar a .ic { width: 23px; height: 23px; }
.tabbar a.active { color: var(--ink); }
.tabbar a.active .ic { color: var(--accent); }
.tabbar .badge-dot { position: relative; }
body.typing .tabbar { display: none; }  /* keyboard open on a phone: keep the bar from floating above it */

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 18px + env(safe-area-inset-bottom)); z-index: 80;
         transform: translate(-50%, 16px); opacity: 0; pointer-events: none; max-width: calc(100vw - 32px);
         background: var(--ink); color: var(--bg); padding: 11px 16px; border-radius: 12px; font-size: 14px; font-weight: 550;
         box-shadow: var(--shadow-lg); transition: opacity .2s, transform .2s; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--bad); color: #fff; }

.splash { min-height: 100dvh; display: grid; place-items: center; color: var(--muted); }
.splash.inline { min-height: 40vh; }
.empty { text-align: center; padding: 36px 18px; color: var(--muted); }
.empty .ic { width: 34px; height: 34px; color: var(--faint); margin-bottom: 8px; }

/* status strips */
.strip { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 14px;
         line-height: 1.45; background: var(--info-soft); color: var(--info); }
.strip .ic { margin-top: 2px; }
.strip.warn { background: var(--warn-soft); color: var(--warn); }
.strip.bad { background: var(--bad-soft); color: var(--bad); }
.strip.good { background: var(--good-soft); color: var(--good); }
.strip b { font-weight: 650; }

.status { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px;
          font-size: 12px; font-weight: 650; white-space: nowrap; background: var(--bg-2); color: var(--ink-2); }
.status.done { background: var(--good-soft); color: var(--good); }
.status.running, .status.queued { background: var(--info-soft); color: var(--info); }
.status.failed { background: var(--bad-soft); color: var(--bad); }
.status.cancelled { background: var(--bg-2); color: var(--muted); }
.status .ic { width: 13px; height: 13px; }

.badge { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 6px;
         font-size: 11.5px; font-weight: 600; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.info { background: var(--info-soft); color: var(--info); }
.badge.bad { background: var(--bad-soft); color: var(--bad); }
.badge.good { background: var(--good-soft); color: var(--good); }
.badge .ic { width: 12px; height: 12px; }
.count-pill { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
              background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 700; }

/* ---------- login ---------- */
.login { min-height: 100dvh; display: grid; place-items: center;
         padding: calc(24px + env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom));
         background: radial-gradient(900px 500px at 90% -10%, var(--accent-soft), transparent 60%), var(--bg); }
.login-card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line);
              border-radius: 22px; padding: 30px 22px 22px; box-shadow: var(--shadow-lg); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand .name { font: 400 30px/1 var(--serif); }
.login-card form { display: grid; gap: 14px; margin-top: 22px; }
.link-btn { border: 0; background: none; color: var(--accent); font-weight: 600; cursor: pointer; padding: 8px 4px;
            min-height: 40px; font-size: 14px; }
.form-error { color: var(--bad); font-size: 14px; min-height: 1px; }

/* ---------- search form ---------- */
.country-chip { display: flex; align-items: center; gap: 4px; padding: 4px 4px 4px 12px; min-height: 44px;
                border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); }
.country-chip .no { font-size: 12px; font-weight: 700; color: var(--accent); width: 18px; }
.country-chip .nm { flex: 1; min-width: 0; font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis;
                    white-space: nowrap; }
.country-chip .code { font-size: 12px; color: var(--muted); margin-right: 4px; }
.country-list { display: grid; gap: 8px; }
.tz-note { margin-top: 2px; }

/* bottom sheet */
.sheet-back { position: fixed; inset: 0; z-index: 60; background: rgba(10, 11, 14, .45); display: flex;
              align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .18s; }
.sheet-back.show { opacity: 1; }
.sheet { width: 100%; max-width: 560px; max-height: calc(100dvh - 40px - env(safe-area-inset-top)); display: flex;
         flex-direction: column; background: var(--surface); border-radius: 22px 22px 0 0; box-shadow: var(--shadow-lg);
         transform: translateY(30px); transition: transform .2s; padding-bottom: env(safe-area-inset-bottom); }
.sheet-back.show .sheet { transform: none; }
.sheet-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 10px 20px; }
.sheet-head h2 { flex: 1; font-size: 22px; }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 4px 16px 16px; }
.sheet-foot { padding: 10px 16px 14px; border-top: 1px solid var(--line); display: flex; gap: 10px; }
.sheet-foot .btn { flex: 1; }
.pick-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 6px; border: 0;
            border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.pick-row .ck { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; }
.pick-row.on .ck { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pick-row .ck .ic { width: 15px; height: 15px; stroke-width: 2.6; }
.sticky-search { position: sticky; top: 0; background: var(--surface); padding: 2px 0 10px; z-index: 1; }
@media (min-width: 700px) {
  .sheet-back { align-items: center; }
  .sheet { border-radius: 22px; padding-bottom: 0; }
}

/* ---------- run: progress ---------- */
.run-head h1 { font-size: 30px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 13px; margin-top: 8px; }
.meta-line span { display: inline-flex; align-items: center; gap: 5px; }
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 30px 1fr; gap: 10px; position: relative; padding-bottom: 14px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 14px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.step:last-child::before { display: none; }
.step .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-2);
             background: var(--surface); color: var(--faint); z-index: 1; }
.step .dot .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.step.done .dot { background: var(--good); border-color: var(--good); color: #fff; }
.step.done::before { background: var(--good); }
.step.now .dot { border-color: var(--accent); color: var(--accent); }
.step .st-title { font-weight: 600; line-height: 30px; }
.step.wait .st-title { color: var(--faint); }
.step .st-msg { font-size: 13.5px; color: var(--ink-2); margin-top: -2px; }
.bar { height: 6px; border-radius: 999px; background: var(--bg-2); overflow: hidden; margin-top: 8px; }
.bar > i { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .4s; }
.counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.counts .c { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px; text-align: center; }
.counts .c b { display: block; font: 400 26px/1.1 var(--serif); }
.counts .c span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
details.log { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
details.log summary { cursor: pointer; padding: 12px 14px; font-weight: 600; font-size: 14px; list-style: none;
                      display: flex; align-items: center; gap: 8px; min-height: 46px; }
details.log summary::-webkit-details-marker { display: none; }
details.log[open] summary .ic { transform: rotate(180deg); }
details.log ol { margin: 0; padding: 0 14px 12px 34px; font-size: 13px; color: var(--ink-2); max-height: 320px; overflow-y: auto; }
details.log li { padding: 3px 0; }
details.log li time { color: var(--faint); font-variant-numeric: tabular-nums; margin-right: 6px; }

/* ---------- run: tabs & report ---------- */
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 18px -16px 14px; padding: 0 16px;
        position: sticky; top: 0; z-index: 5; background: var(--bg); padding-top: env(safe-area-inset-top); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
               border: 0; border-bottom: 2px solid transparent; background: none; font-weight: 600; font-size: 14px;
               color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--accent); }
.tabs .n { font-size: 12px; color: var(--faint); font-weight: 600; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.actions .btn { min-height: 48px; }
.actions .full { grid-column: 1 / -1; }

.report-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.report-item:first-child { padding-top: 4px; }
.report-item:last-child { border-bottom: 0; }
.report-item .lbl { font-weight: 700; font-size: 15.5px; }
.report-item p { margin: 6px 0 8px; line-height: 1.6; color: var(--ink); white-space: pre-line; }
.report-item .src { font-size: 13px; color: var(--info); text-decoration: none; overflow-wrap: anywhere; display: inline-block; }
.report-item .badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.shot { margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.shot img { display: block; width: 100%; max-height: 360px; object-fit: cover; object-position: top; }
.shot .shot-bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-top: 1px solid var(--line);
                  font-size: 12.5px; color: var(--muted); }
.shot .noimg { display: flex; align-items: center; gap: 8px; padding: 18px 14px; color: var(--muted); font-size: 13px; }
.lang-switch { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }

.prose { white-space: pre-line; line-height: 1.65; font-size: 15.5px; }
.prose p { margin: 0 0 12px; }

.ign-row { padding: 14px 16px; }
.ign-row + .ign-row { border-top: 1px solid var(--line); }
.ign-row .t { font-weight: 600; line-height: 1.35; text-decoration: none; color: inherit; overflow-wrap: anywhere; }
.ign-row .why { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.score { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.score .bar { flex: 1; margin: 0; max-width: 160px; }
.score .bar > i { background: var(--faint); }
.score.hi .bar > i { background: var(--warn); }
.group-head { display: flex; align-items: center; gap: 8px; padding: 0 2px; margin: 18px 0 8px; }
.group-head:first-child { margin-top: 4px; }
.terms li { margin: 4px 0; }
.terms code { font-size: 13px; background: var(--bg-2); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }

/* history */
.run-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 8px 14px 16px; min-height: 64px; }
.run-row + .run-row { border-top: 1px solid var(--line); }
.run-row a.main-link { flex: 1; min-width: 0; text-decoration: none; color: inherit; }
.run-row .t { font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.run-row .s { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.run-row .acts { display: flex; gap: 2px; flex: none; }

/* outlets */
.outlet-row { display: flex; align-items: center; gap: 10px; padding: 12px 16px; min-height: 58px; width: 100%;
              border: 0; background: transparent; text-align: left; cursor: pointer; }
.outlet-row + .outlet-row { border-top: 1px solid var(--line); }
.outlet-row.excluded { opacity: .55; }
.outlet-row .d { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }

@media (min-width: 900px) {
  .main { padding-top: 36px; }
  h1 { font-size: 40px; }
}
@media (max-width: 380px) {
  .counts { grid-template-columns: repeat(2, 1fr); }
  .actions { grid-template-columns: 1fr; }
  h1 { font-size: 30px; }
}
.visually-hidden { position: fixed; left: -9999px; top: 0; opacity: 0; }
/* review fixes (phone screenshots) */
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
.textarea { min-height: 124px; }
.counts .c span { display: block; line-height: 1.25; margin-top: 2px; }
.counts .c { padding: 10px 6px; }
.run-head .focus { margin-top: 8px; }
.acc-row { padding: 14px 16px; display: grid; gap: 10px; }
.acc-row + .acc-row { border-top: 1px solid var(--line); }
.acc-acts { padding-left: 30px; }
.range-note { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--bg-2);
              font-weight: 600; font-size: 14px; }

.prose .lbl { font-weight: 700; margin-bottom: 4px; }
.shot .noimg.ask { flex-wrap: wrap; align-items: flex-start; background: var(--warn-soft); color: var(--warn); border-radius: 10px; }
.shot .noimg.ask .grow { flex: 1 1 200px; }
.shot .noimg.ask .btn { flex: 1 1 100%; justify-content: center; }
