:root {
  --bg: #f4f5f7; --panel: #fff; --line: #dde1e6; --text: #1f2933; --muted: #6b7785;
  --accent: #2f6fdb; --accent-bg: #e8f0fd; --ok: #1b7f4b; --ok-bg: #e3f4ea;
  --warn: #8a5a00; --warn-bg: #fff4d6; --err: #b42318; --err-bg: #fdecea;
  font: 14.5px/1.55 -apple-system, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
h1 { font-size: 15px; }
h2 { font-size: 17px; }
h3 { font-size: 14.5px; }
code, pre, .mono, kbd { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; }
pre { white-space: pre-wrap; background: #f1f3f5; padding: 8px; border-radius: 6px; max-height: 320px; overflow: auto; }
a { color: var(--accent); }
.muted { color: var(--muted); }
.spacer { flex: 1; }

/* top bar */
#top { display: flex; align-items: center; gap: 14px; padding: 0 16px; height: 48px; background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
#top h1, #tabs, .who, .me { flex-shrink: 0; white-space: nowrap; }
#tabs { display: flex; gap: 2px; }
.tab { border: 0; background: none; padding: 13px 12px; font: inherit; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.save, .voice { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab:hover { color: var(--text); }
.tab.on { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.who { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.who input { width: 150px; }
.me { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.me b { color: var(--text); }
.save { font-size: 13px; color: var(--muted); }
.save.ok { color: var(--ok); }
.save.dirty { color: var(--warn); }
.save.err { color: var(--err); font-weight: 600; max-width: 420px; }
.voice { font-size: 12.5px; color: var(--ok); max-width: 260px; }
.voice.off { color: var(--muted); }
.voice.recording { color: var(--err); font-weight: 600; }
#toast { position: fixed; top: 58px; left: 50%; transform: translateX(-50%); z-index: 50; background: #1f2933; color: #fff; padding: 8px 16px; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.2); max-width: 70vw; }
#toast.err { background: var(--err); }

/* layout */
body[data-stage] { height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
body[data-stage] #top { height: auto; min-height: 48px; flex-shrink: 0; flex-wrap: wrap; padding: 6px 16px; }
#layout { position: relative; flex: 1; min-height: 0; }
#work { display: grid; grid-template-columns: minmax(300px, 36%) minmax(0, 1fr); height: 100%; min-height: 0; }
#media-pane, #editor-pane { min-width: 0; min-height: 0; overflow: auto; scrollbar-gutter: stable; }
#media-pane { padding: 18px 16px; border-right: 1px solid var(--line); background: #eef1f5; }
#editor-pane { padding: 18px 22px 48px; overscroll-behavior-y: contain; }
#editor-pane:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
body[data-stage="export"] #work { grid-template-columns: minmax(0, 1fr); }
body[data-stage="export"] #media-pane, body[data-stage="export"] #queue-toggle { display: none; }
body[data-stage="export"] #panel { max-width: 1100px; margin: auto; }
#queue { position: absolute; inset: 0 auto 0 0; z-index: 31; width: min(300px, 90vw); padding: 14px 12px; overflow-y: auto; border-right: 1px solid var(--line); background: #fafbfc; box-shadow: 8px 0 24px rgb(0 0 0 / 12%); }
#queue-shade { position: absolute; inset: 0; z-index: 30; border: 0; border-radius: 0; background: rgb(0 0 0 / 25%); }
#queue-toggle[aria-expanded="true"] { color: var(--accent); border-color: var(--accent); background: var(--accent-bg); }
#queue h3 { margin: 0 4px 10px; color: var(--muted); font-size: 13px; }
#queue .queue-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
#queue .queue-heading h3 { margin-bottom: 0; }
#head { margin-bottom: 8px; }
#head .muted { font-size: 12.5px; word-break: break-all; }
.empty { padding: 30px 0; color: var(--muted); }

.qitem { display: block; width: 100%; text-align: left; font: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; cursor: pointer; }
.qitem:hover { border-color: #b8c2cf; }
.qitem.sel { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-bg); }
.qtask { font-weight: 600; }
.qmeta { font-size: 12px; color: var(--muted); }
.novid { color: var(--err); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.chip { font-size: 12px; padding: 1px 7px; border-radius: 10px; background: #eceff2; color: var(--muted); white-space: nowrap; }
.chip.done { background: var(--ok-bg); color: var(--ok); }
.chip.draft { background: var(--warn-bg); color: var(--warn); }
.chip.bad { background: var(--err-bg); color: var(--err); }

/* form controls */
input, select, textarea, button { font: inherit; color: inherit; }
input[type=text], input[type=number], select, textarea { border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-bg); border-color: var(--accent); }
input[type=number] { width: 82px; }
textarea { width: 100%; resize: vertical; line-height: 1.5; }
textarea.mono { margin: 8px 0; }
button { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 5px 12px; cursor: pointer; }
button:hover:not(:disabled) { border-color: #9aa7b6; }
button:disabled { opacity: .45; cursor: not-allowed; }
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
button.primary:hover:not(:disabled) { background: #2560c0; }
button.danger { background: var(--err); border-color: var(--err); color: #fff; }
button.danger:hover:not(:disabled) { background: #96201a; }
button.lnk { border: 0; background: none; padding: 0 2px; color: var(--accent); }
.check { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.check.ok { color: var(--ok); font-weight: 600; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0 0 12px; }
.card > h3 { margin-bottom: 8px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0; }
.row.top { align-items: flex-start; }
.row .lbl { width: 150px; flex: none; color: var(--muted); }
.row input.wide { flex: 1; min-width: 160px; }
.actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: 14px 0; }
.actions .muted { margin-right: auto; font-size: 13px; }
.choice { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.choice button { border: 0; border-radius: 0; border-right: 1px solid var(--line); background: #fff; padding: 4px 14px; }
.choice button:last-child { border-right: 0; }
.choice button.on { background: var(--accent); color: #fff; }
.pill { border-radius: 14px; padding: 3px 12px; }
.pill.on { background: var(--err-bg); border-color: var(--err); color: var(--err); }
.mic { padding: 2px 7px; border-radius: 14px; font-size: 13px; margin-left: 6px; }
.mic.rec { background: var(--err); border-color: var(--err); color: #fff; animation: pulse 1s infinite; }
textarea.vtarget, input.vtarget { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-bg); }
textarea.vrec, input.vrec { border-color: var(--err); box-shadow: 0 0 0 2px var(--err-bg); }
.helpbox { font-size: 13px; }
.helpbox summary { display: inline-block; cursor: pointer; color: var(--accent); border: 1px solid var(--line); border-radius: 12px; padding: 0 10px; list-style: none; }
.helpbox[open] { flex-basis: 100%; }
.helptext { background: var(--accent-bg); border-radius: 8px; padding: 4px 12px; margin-top: 6px; }
.helptext p { margin: 6px 0; }
button.en { margin-left: 6px; font-size: 13px; padding: 2px 10px; }
.tools { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex: none; }
.tools .mic, .tools button.en { margin-left: 0; }
.en-note { background: var(--accent-bg); border: 1px solid #c5d8f6; border-radius: 8px; padding: 6px 12px; margin: 0 0 10px; font-size: 13px; }
textarea.zh-bad, input.zh-bad { border-color: var(--err) !important; background: var(--err-bg) !important; box-shadow: 0 0 0 2px var(--err-bg); }
body.view-only #panel .needs, body.view-only #panel .mic, body.view-only #panel .actions { display: none; }
@keyframes pulse { 50% { opacity: .55; } }

.warn, .amber, .okbox { border-radius: 8px; padding: 8px 12px; margin: 0 0 10px; }
.warn, .amber { background: var(--warn-bg); color: var(--warn); border: 1px solid #f0d58a; }
.okbox { background: var(--ok-bg); color: var(--ok); border: 1px solid #b6dfc7; }
.amber ul { margin: 4px 0 0; padding-left: 20px; }
.runstate { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--accent); }
.spin { width: 14px; height: 14px; border: 2px solid var(--accent-bg); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* player */
#playerbox { padding: 4px 0 8px; }
.player { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.vids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.tile { position: relative; background: #000; border-radius: 6px; overflow: hidden; min-height: 0; }
.tile { aspect-ratio: 480 / 272; }
.tile.main { grid-column: 1 / -1; }
.tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tag { position: absolute; left: 6px; top: 4px; font-size: 11px; color: #fff; background: rgba(0,0,0,.55); padding: 0 6px; border-radius: 4px; }
.track { position: relative; height: 22px; margin: 8px 2px 2px; cursor: pointer; touch-action: none; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 4px; background: #dde1e6; border-radius: 2px; }
.ticks i { position: absolute; top: 2px; width: 2px; height: 18px; margin-left: -1px; pointer-events: none; }
.ticks i.mark { background: var(--err); width: 3px; }
.ticks i.ghost { background: #8b95a1; opacity: .7; }
.playhead { position: absolute; top: 0; width: 2px; height: 22px; margin-left: -1px; background: var(--accent); pointer-events: none; }
.playhead::after { content: ""; position: absolute; left: -4px; top: -2px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
/* The official annotation's subtask starts: a dashed purple lane under the human marks, with a ▼ cap above the bar. */
.srcticks { position: absolute; inset: 0; pointer-events: none; }
.srcticks i.official { position: absolute; top: -6px; bottom: -2px; width: 0; margin-left: -1px; border-left: 2px dashed #7a28c0; pointer-events: auto; }
.srcticks i.official::before { content: ""; position: absolute; top: -2px; left: -6px; border: 5px solid transparent; border-top: 6px solid #7a28c0; border-bottom: 0; }
.ctl .legend { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; font-size: 12px; color: var(--muted); }
.ctl .legend i { display: inline-block; height: 12px; margin-left: 4px; }
.ctl .legend i.official { border-left: 2px dashed #7a28c0; }
.ctl .legend i.mark { width: 3px; background: var(--err); }
.delta { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; color: var(--muted); white-space: nowrap; }
.delta.same { color: var(--ok); }
.delta.far { color: var(--warn); }
/* The official subtasks as labelled spans under the track, and the one playing now. */
.srcchap { position: relative; height: 20px; margin: 2px 2px 0; }
.srcchap:empty, .srcnow:empty { display: none; }
.srcchap .chap { position: absolute; top: 0; height: 20px; padding: 0 5px; overflow: hidden; border: 0; border-left: 2px dashed #7a28c0; border-radius: 0; background: rgba(122, 40, 192, .08); color: var(--muted); font-size: 11px; line-height: 20px; text-align: left; white-space: nowrap; text-overflow: ellipsis; }
.srcchap .chap:nth-child(even) { background: rgba(122, 40, 192, .14); }
.srcchap .chap.on { background: rgba(122, 40, 192, .26); color: var(--text); }
.srcnow { margin: 4px 2px 0; font-size: 12px; color: #7a28c0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.official-ref { margin: 2px 0 6px; font-size: 12px; color: var(--muted); }
.official-ref b { color: #7a28c0; }
.official-list { margin-top: 6px; max-height: 220px; overflow: auto; font-size: 13px; }
.official-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; padding: 2px 0; }
.ctl { display: flex; align-items: center; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.ctl .play { width: 34px; padding: 3px 0; margin-right: 6px; }
.ctl .time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; }
.ctl .rate { padding: 2px 8px; font-size: 13px; }
.ctl .rate.on { background: var(--accent-bg); border-color: var(--accent); color: var(--accent); }
#capvideos { position: fixed; left: -10000px; top: 0; width: 320px; height: 180px; overflow: hidden; pointer-events: none; }

/* stage 02 */
.keys { display: flex; flex-wrap: wrap; gap: 6px 22px; background: var(--accent-bg); border-color: #c5d8f6; }
kbd { background: #fff; border: 1px solid #b8c2cf; border-bottom-width: 2px; border-radius: 4px; padding: 0 6px; }
.blist { margin: 6px 0 10px; min-height: 28px; }
.brow { display: flex; align-items: center; gap: 10px; padding: 3px 8px; border-radius: 6px; }
.brow.flash { animation: flash 1s; }
@keyframes flash { from { background: #ffb4ad; } }
.brow b { width: 60px; }
button.x { border: 0; background: none; padding: 0 6px; color: var(--err); font-size: 16px; line-height: 1; }
.segedit { border-top: 1px solid var(--line); padding: 8px 0 4px; }
.fld { display: block; margin: 6px 0; }
.fld > span { display: block; color: var(--muted); font-size: 13px; }
.fld input { width: 100%; }
.ghosts { margin-top: 8px; font-size: 13px; max-height: 180px; overflow: auto; color: var(--muted); }

/* stage 03 / 04 */
.tbl { border-collapse: collapse; width: 100%; }
.tbl th, .tbl td { text-align: left; padding: 5px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { color: var(--muted); font-weight: 500; }
.meta { margin: 0 0 10px; color: var(--muted); }
.topic { margin-bottom: 6px; }
dl { margin: 0; display: grid; grid-template-columns: 130px 1fr; gap: 4px 12px; }
dt { color: var(--muted); }
dd { margin: 0; white-space: pre-wrap; }
.steps { margin: 0 0 8px; padding-left: 20px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0; }
.thumbs figure { margin: 0; width: 200px; font-size: 12.5px; }
.thumbs img { width: 100%; border: 1px solid var(--line); border-radius: 4px; display: block; }
.segcard .row h3 { margin-right: 6px; }
.field { margin-top: 10px; }
.flabel { color: var(--muted); font-size: 13px; margin-bottom: 3px; }
.field details, details.inline { margin-top: 3px; font-size: 13px; color: var(--muted); }
details summary { cursor: pointer; }
.orig { white-space: pre-wrap; background: #f7f8fa; border-left: 3px solid var(--line); padding: 4px 10px; margin-top: 3px; color: var(--text); }
.files { margin: 6px 0; padding-left: 20px; }
.segcard .lbl { width: auto; }

/* stage 01 */
fieldset.criterion { min-width: 0; margin: 12px 0; padding: 10px 14px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.criterion legend { font-weight: 600; padding: 0 6px; }
.criterion legend small { font-weight: 400; color: var(--muted); margin-left: 8px; }
.cno { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 7px; border-radius: 50%; background: #eceff2; font-size: 12px; }
.criterion[data-answer=yes] { border-color: #d29c8a; background: #fffaf7; }
.criterion[data-answer=uncertain] { border-color: #d4bc8f; background: #fffcf3; }
.criterion.intel { background: #f8faf5; }
.options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.options label { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; background: #fff; cursor: pointer; font-size: 13px; }
.options label:has(input:checked) { border-color: var(--accent); background: var(--accent-bg); }
.item-comment { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.item-comment > label { font-size: 13px; color: var(--muted); }
.pins { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pins button { font-size: 12px; padding: 3px 9px; }
.pin { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; background: #f1f5f2; }
.pin button { border: 0; border-radius: 0; background: none; padding: 2px 8px; }
.pin button.x { border-left: 1px solid var(--line); padding: 2px 7px; }
.source-risk { margin: 8px 0 12px; padding: 8px 12px; background: var(--warn-bg); border-radius: 8px; }
.source-risk button { margin: 6px 6px 0 0; font-size: 12px; padding: 2px 8px; }
.source-risk small { display: block; margin-top: 6px; color: var(--warn); }
.actions button.danger, .actions button.primary { padding: 6px 16px; }

/* sign-in page */
.login { max-width: 420px; margin: 12vh auto; padding: 0 16px; }
.login .card { padding: 20px 22px; }
.login label { display: block; margin: 14px 0 6px; }
.login input { width: 100%; }
.login button { margin-top: 12px; }

@media (max-width: 1050px) {
  body[data-stage] #top { gap: 8px; }
  body[data-stage] #top h1 { display: none; }
  body[data-stage] .voice { max-width: 180px; }
  #editor-pane { padding: 14px 14px 40px; }
}
@media (max-width: 760px) {
  #work { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(220px, 42%) minmax(0, 1fr); }
  #media-pane { padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  #media-pane #head .muted { display: none; }
  #media-pane .vids { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
  #media-pane .tile.main { grid-column: auto; grid-row: span 2; }
  #media-pane .tile:not(.main) { aspect-ratio: auto; }
  #media-pane .player { max-width: 480px; margin: auto; }
  body[data-stage] .voice { display: none; }
  body[data-stage] #tabs { order: 2; width: 100%; overflow-x: auto; }
  body[data-stage] .tab { flex-shrink: 0; padding: 8px 12px; }
  body[data-stage="export"] #work { grid-template-rows: minmax(0, 1fr); }
}

/* 任务 (task inbox): a whole-page panel like 导出 */
body[data-stage="inbox"] #work { grid-template-columns: minmax(0, 1fr); }
body[data-stage="inbox"] #media-pane, body[data-stage="inbox"] #queue-toggle { display: none; }
body[data-stage="inbox"] #panel { max-width: 1100px; margin: auto; }
.ib-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 12px 0; }
.ib-tile { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.ib-tile-label, .ib-tile small { color: var(--muted); font-size: 12.5px; }
.ib-tile b { font-size: 22px; }
.ib-filters { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 12px; }
.ib-pill { border-radius: 999px; padding: 3px 12px; }
.ib-pill.on { background: var(--text); border-color: var(--text); color: #fff; }
.ib-count { margin-left: 6px; opacity: .7; font-size: 12px; }
.ib-list { display: flex; flex-direction: column; gap: 8px; }
.ib-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.ib-row.sel { border-color: var(--accent); }
.ib-main { min-width: 0; }
.ib-task { font-weight: 600; }
.ib-task::first-letter { text-transform: uppercase; }
.ib-meta { font-size: 12.5px; color: var(--muted); }
.ib-side { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.ib-time { font-size: 12.5px; }
.chip.held { background: var(--warn-bg); color: var(--warn); }
.amber-text { color: var(--warn); }

/* the action bar at the end of every stage: sticks to the bottom of the editor pane */
#panel > .actions.actionbar { position: sticky; bottom: 0; z-index: 5; flex-wrap: wrap; margin: 14px 0 0; padding: 10px 0; background: var(--bg);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 12px -12px rgb(0 0 0 / 35%); }
.actionbar .ab-state { margin-right: auto; color: var(--muted); font-size: 13px; }
.actionbar .muted { margin-right: 0; }
.ab-defer.has-open { border-color: var(--warn); color: var(--warn); background: var(--warn-bg); }

/* 搁置 dialog */
dialog.defer { width: min(620px, 94vw); max-height: 88vh; overflow: auto; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; color: var(--text); }
dialog.defer::backdrop { background: rgb(0 0 0 / 30%); }
.defer form { display: flex; flex-direction: column; gap: 10px; }
.defer .row { display: flex; align-items: center; gap: 8px; }
.defer p { margin: 0; }
.defer-field { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.defer-field > span { font-size: 13px; color: var(--muted); }
.defer textarea { width: 100%; font: inherit; }
.defer .actions { margin: 4px 0 0; }
.defer-check { font-size: 13px; }
.defer-list { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.defer-item { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.defer-item.open { border-color: var(--warn); background: var(--warn-bg); }
.defer-item p { margin: 4px 0; white-space: pre-wrap; }
.defer-item-head { font-size: 13px; }

/* the admin link in the top bar; the ZIP card on 导出 */
.admin-link { flex-shrink: 0; font-size: 13px; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--muted); white-space: nowrap; }
.admin-link.on { color: var(--ok); border-color: var(--ok); background: var(--ok-bg); }
.zipcard p { margin: 6px 0; }
.zipcard .row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
a.btn-link { display: inline-block; padding: 6px 16px; border-radius: 6px; border: 1px solid var(--line); text-decoration: none; }
a.btn-link.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
