@import url('https://fonts.googleapis.com/css2?family=Gowun+Batang:wght@400;700&family=IBM+Plex+Mono:wght@400;600&family=IBM+Plex+Sans+KR:wght@400;500;600;700&display=swap');

body { margin: 0; font-family: var(--font-sans); font-size: 15px; line-height: 24px; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
.sw-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; padding: var(--space-4); }
.sw-stack { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-4); }
.sw-spacer { flex: 1; }
.sw-mono { font-family: var(--font-mono); font-size: 13px; }
.sw-muted { color: var(--ink-muted); }
.sw-small { font-size: 13px; line-height: 20px; }
.sw-label { display: block; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .04em; color: var(--ink-muted); }
.sw-code { font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em; color: var(--ink-muted); }
.sw-glyph { flex: none; display: block; }
a { color: var(--link); text-underline-offset: 3px; }

/* Button */
.sw-btn { font: inherit; font-size: 14px; line-height: 20px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: 40px; padding: 0 var(--space-4); border-radius: var(--radius-sm); border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; white-space: nowrap; }
.sw-btn:hover { background: var(--paper-sunken); }
.sw-btn:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.sw-btn-primary { background: var(--grape); border-color: var(--grape); color: var(--on-grape); }
.sw-btn-primary:hover { background: var(--grape-strong); border-color: var(--grape-strong); }
.sw-btn-money { background: var(--lime); border-color: var(--on-lime); color: var(--on-lime); box-shadow: var(--shadow-stamp); }
.sw-btn-money:hover { background: var(--lime); }
.sw-btn-money:active { transform: translate(3px, 3px); box-shadow: none; }
.sw-btn-money:focus-visible { box-shadow: var(--shadow-stamp), var(--focus-ring); }
.sw-btn-ghost { border-color: transparent; color: var(--grape); }
.sw-btn-danger { border-color: var(--brick); color: var(--brick); }
.sw-btn-sm { height: 32px; padding: 0 var(--space-3); font-size: 13px; }
.sw-btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }

/* StatusTag */
.sw-tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 var(--space-2); border-radius: var(--radius-sm); font-size: 12px; line-height: 16px; font-weight: 600; white-space: nowrap; }
.sw-tone-grape { color: var(--grape); background: var(--grape-soft); }
.sw-tone-amber { color: var(--amber); background: var(--amber-soft); }
.sw-tone-ink { color: var(--paper); background: var(--ink); }
.sw-tone-lime { color: var(--on-lime); background: var(--lime); }
.sw-tone-cobalt { color: var(--cobalt); background: var(--cobalt-soft); }
.sw-tone-vine { color: var(--vine); background: var(--vine-soft); }
.sw-tone-brick { color: var(--brick); background: var(--brick-soft); }
.sw-tone-muted { color: var(--ink-muted); background: var(--paper-sunken); text-decoration: line-through; }

/* KindLabel */
.sw-kind { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink); }
.sw-kind-tile { width: 10px; height: 10px; display: block; box-sizing: border-box; }
.sw-fill-grape { background: var(--grape); }
.sw-fill-cobalt { background: var(--cobalt); }
.sw-fill-vine { background: var(--vine); }
.sw-fill-lime { background: var(--lime); border: 1.5px solid var(--ink); }

/* Amount */
.sw-amount { font-family: var(--font-mono); display: inline-flex; align-items: baseline; gap: 2px; color: var(--ink); white-space: nowrap; }
.sw-amount b { font-weight: 600; font-size: 15px; line-height: 24px; }
.sw-amount small { font-family: var(--font-sans); font-size: 12px; font-weight: 500; }
.sw-amount-lg b { font-size: 20px; line-height: 28px; }
.sw-amount-xl b { font-size: 32px; line-height: 38px; letter-spacing: -.02em; }
.sw-amount-marker { background: linear-gradient(transparent 55%, var(--marker) 55%); padding: 0 2px; }

/* TextField */
.sw-field { display: flex; flex-direction: column; gap: 6px; }
.sw-field-label { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .04em; color: var(--ink); display: flex; gap: var(--space-2); }
.sw-field-label em { font-style: normal; font-weight: 500; color: var(--grape); }
.sw-field-box { display: flex; align-items: center; min-height: 40px; background: var(--paper-raised); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
.sw-field-box:focus-within { border-color: var(--grape); box-shadow: var(--focus-ring); }
.sw-field-box.is-error { border-color: var(--brick); }
.sw-field-box.is-multi { align-items: stretch; }
.sw-field-input { flex: 1; min-width: 0; font: inherit; color: var(--ink); background: transparent; border: 0; outline: 0; padding: var(--space-2) var(--space-3); resize: vertical; }
.sw-field-input::placeholder { color: var(--ink-muted); }
.sw-field-affix { padding: 0 var(--space-3); font-family: var(--font-mono); font-size: 13px; color: var(--ink-muted); }
.sw-field-box .sw-field-affix:first-child { border-right: 1px solid var(--line); }
.sw-field-box .sw-field-affix:last-child { border-left: 1px solid var(--line); }
.sw-field-hint { font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.sw-field-error { font-size: 13px; line-height: 20px; color: var(--brick); display: flex; align-items: center; gap: 6px; }

/* RequestCard — a notice pinned to the board */
.sw-card { background: var(--paper-raised); border: 1px solid var(--ink); border-top-width: 4px; border-radius: var(--radius-0); padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); }
.sw-card.is-link { cursor: pointer; transition: transform .12s, box-shadow .12s; }
.sw-card.is-link:hover, .sw-card.is-selected { transform: translate(-2px, -2px); box-shadow: var(--shadow-stamp); }
.sw-card:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.sw-card-head { display: flex; align-items: center; gap: var(--space-3); }
.sw-card-title { margin: 0; font-family: var(--font-display); font-size: 22px; line-height: 30px; font-weight: 700; color: var(--ink); }
.sw-card-summary { margin: 0; font-size: 14px; line-height: 22px; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sw-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sw-chip { font-family: var(--font-mono); font-size: 12px; line-height: 16px; padding: 3px 6px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); }
.sw-card-foot { display: flex; gap: var(--space-5); padding-top: var(--space-3); border-top: 1px dashed var(--line-strong); align-items: flex-start; }
.sw-fig { display: flex; flex-direction: column; gap: 2px; }
.sw-fig .sw-mono { font-size: 15px; line-height: 24px; font-weight: 600; }
.sw-fig .is-urgent { color: var(--brick); }
.sw-fig-note { font-size: 12px; line-height: 16px; color: var(--ink-muted); }

/* StageTrack */
.sw-track { list-style: none; margin: 0; padding: 0; display: flex; counter-reset: s; }
.sw-track-step { flex: 1; position: relative; display: flex; flex-direction: column; gap: 6px; padding-right: var(--space-2); min-width: 0; }
.sw-track-step::before { content: ""; position: absolute; top: 13px; left: 28px; right: 0; border-top: 2px solid var(--line); }
.sw-track-step:last-child::before { display: none; }
.sw-track-step.is-done::before { border-top-color: var(--ink); }
.sw-track-num { position: relative; z-index: 1; width: 28px; height: 28px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12px; font-weight: 600; border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink-muted); }
.sw-track-step.is-done .sw-track-num { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.sw-track-step.is-current .sw-track-num { background: var(--grape); border-color: var(--grape); color: var(--on-grape); }
.sw-track-label { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink-muted); }
.sw-track-step.is-done .sw-track-label { color: var(--ink); }
.sw-track-step.is-current .sw-track-label { color: var(--grape); font-weight: 700; }
.sw-track-date { font-family: var(--font-mono); font-size: 11px; line-height: 14px; color: var(--ink-muted); }

/* PaymentSplit — escrow ledger */
.sw-pay { background: var(--paper-raised); border: 1px solid var(--ink); padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); }
.sw-pay-head { display: flex; justify-content: space-between; align-items: baseline; }
.sw-pay-bar { display: flex; height: 32px; border: 1px solid var(--ink); }
.sw-pay-seg { display: flex; align-items: center; padding: 0 var(--space-2); font-family: var(--font-mono); font-size: 12px; font-weight: 600; min-width: 0; overflow: hidden; }
.sw-pay-seg + .sw-pay-seg { border-left: 1px solid var(--ink); }
.sw-pay-seg.is-paid { background: var(--lime); color: var(--on-lime); }
.sw-pay-seg.is-held { background: repeating-linear-gradient(135deg, var(--grape) 0 2px, var(--grape-soft) 2px 7px); color: var(--grape); }
.sw-pay-seg.is-held { text-shadow: 0 0 3px var(--grape-soft), 0 0 3px var(--grape-soft); }
.sw-pay-seg.is-pending, .sw-pay-seg.is-refunded { background: var(--paper-sunken); color: var(--ink-muted); }
.sw-pay-rows { list-style: none; margin: 0; padding: 0; }
.sw-pay-row { display: grid; grid-template-columns: 14px 88px 1fr auto 128px; gap: var(--space-3); align-items: center; padding: var(--space-2) 0; border-top: 1px solid var(--line); font-size: 14px; }
.sw-pay-swatch { width: 12px; height: 12px; border: 1px solid var(--ink); box-sizing: border-box; }
.sw-pay-row.is-paid .sw-pay-swatch { background: var(--lime); }
.sw-pay-row.is-held .sw-pay-swatch { background: repeating-linear-gradient(135deg, var(--grape) 0 2px, var(--grape-soft) 2px 5px); }
.sw-pay-row.is-pending .sw-pay-swatch { background: var(--paper-sunken); }
.sw-pay-label { font-weight: 600; }
.sw-pay-cond { font-size: 13px; color: var(--ink-muted); }
.sw-pay-state { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; justify-self: end; }
.sw-pay-row.is-paid .sw-pay-state { color: var(--vine); }
.sw-pay-row.is-held .sw-pay-state { color: var(--grape); }
.sw-pay-row.is-pending .sw-pay-state { color: var(--ink-muted); }

/* Attachment */
.sw-att { display: inline-flex; align-items: center; gap: var(--space-2); height: 32px; padding: 0 var(--space-2) 0 0; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--paper-raised); color: var(--ink); text-decoration: none; font-size: 13px; max-width: 280px; overflow: hidden; }
a.sw-att:hover { border-color: var(--ink); }
.sw-att-ext { align-self: stretch; display: flex; align-items: center; padding: 0 6px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .04em; color: var(--paper); background: var(--ink); }
.sw-att-pdf { background: var(--brick); color: var(--paper-raised); }
.sw-att-data { background: var(--vine); color: var(--paper-raised); }
.sw-att-code { background: var(--cobalt); color: var(--paper-raised); }
.sw-att-doc { background: var(--grape); color: var(--on-grape); }
.sw-att-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sw-att-size { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); flex: none; }
.sw-att-thumb { margin: 0; width: 132px; display: flex; flex-direction: column; gap: 4px; }
.sw-att-thumb img, .sw-att-ph { width: 132px; height: 92px; object-fit: cover; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); box-sizing: border-box; background: var(--paper-sunken); font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); }
.sw-att-thumb figcaption { display: flex; gap: 4px; font-size: 12px; line-height: 16px; min-width: 0; }

/* GrapeThread — the vine */
.sw-vine { display: flex; flex-direction: column; gap: var(--space-4); }
.sw-vine-list, .sw-vine-replies { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: flex; flex-direction: column; gap: var(--space-5); }
.sw-vine-list::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--vine); }
.sw-vine-replies { margin-top: var(--space-3); gap: var(--space-3); }
.sw-vine-replies::before { content: ""; position: absolute; left: 7px; top: -12px; bottom: 12px; width: 0; border-left: 2px dotted var(--vine); }
.sw-vine-item, .sw-vine-event { position: relative; }
.sw-vine-node { position: absolute; left: -28px; top: 10px; width: 16px; height: 16px; border-radius: var(--radius-full); background: var(--grape); box-shadow: 0 0 0 3px var(--paper); }
.sw-vine-item.side-provider > .sw-vine-node { background: var(--ink); }
.sw-vine-replies .sw-vine-node { width: 12px; height: 12px; left: -26px; }
.sw-vine-node.is-event { width: 10px; height: 10px; left: -25px; top: 7px; background: var(--paper); border: 2px solid var(--vine); box-sizing: border-box; }
.sw-vine-event { font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.sw-vine-bubble { background: var(--paper-raised); border: 1px solid var(--line); padding: var(--space-3); display: flex; flex-direction: column; gap: var(--space-2); }
.sw-vine-item.side-client > .sw-vine-bubble { border-left: 1px solid var(--grape); }
.sw-vine-meta { display: flex; align-items: center; gap: var(--space-2); font-size: 12px; line-height: 16px; color: var(--ink-muted); flex-wrap: wrap; }
.sw-vine-meta b { color: var(--ink); font-size: 13px; }
.sw-vine-role { padding: 1px 5px; border-radius: var(--radius-sm); font-weight: 600; background: var(--paper-sunken); color: var(--ink); }
.sw-vine-item.side-client > .sw-vine-bubble .sw-vine-role { background: var(--grape-soft); color: var(--grape); }
.sw-vine-body { margin: 0; white-space: pre-line; }
.sw-bunch { position: relative; margin: var(--space-1) 0 0 6px; padding-left: var(--space-3); border-left: 2px dotted var(--line-strong); display: flex; flex-direction: column; gap: var(--space-2); }
.sw-bunch-count { font-family: var(--font-mono); font-size: 11px; line-height: 14px; color: var(--ink-muted); }
.sw-bunch-imgs, .sw-bunch-files { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.sw-composer { margin-left: 28px; border: 1px solid var(--ink); background: var(--paper-raised); }
.sw-composer:focus-within { box-shadow: var(--focus-ring); }
.sw-composer-input { width: 100%; box-sizing: border-box; font: inherit; color: var(--ink); background: transparent; border: 0; outline: 0; padding: var(--space-3); resize: vertical; }
.sw-composer-input::placeholder { color: var(--ink-muted); }
.sw-composer-pending { padding: 0 var(--space-3) var(--space-2); }
.sw-composer-foot { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2); border-top: 1px solid var(--line); }

/* SegmentedControl */
.sw-seg { display: inline-flex; }
.sw-seg-stretch { display: flex; }
.sw-seg-stretch .sw-seg-btn { flex: 1; }
.sw-seg-btn { font: inherit; font-size: 14px; font-weight: 600; height: 40px; padding: 0 var(--space-4); border: 1px solid var(--ink); margin-left: -1px; background: var(--paper-raised); color: var(--ink); cursor: pointer; white-space: nowrap; }
.sw-seg-btn:first-child { margin-left: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.sw-seg-btn:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.sw-seg-btn:hover { background: var(--paper-sunken); }
.sw-seg-btn.is-on { background: var(--ink); color: var(--paper); }
.sw-seg-btn:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); position: relative; z-index: 1; }
.sw-seg-sm .sw-seg-btn { height: 32px; padding: 0 var(--space-3); font-size: 13px; }
.sw-seg-mono .sw-seg-btn { font-family: var(--font-mono); }

/* OptionCard */
.sw-opt { font: inherit; color: var(--ink); text-align: left; cursor: pointer; display: flex; gap: var(--space-3); background: var(--paper-raised); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); }
.sw-opt-row { align-items: center; }
.sw-opt-tile { flex-direction: column; align-items: flex-start; min-height: 132px; padding: var(--space-4); border-radius: var(--radius-0); background: transparent; }
.sw-opt-icon { width: 16px; height: 16px; flex: none; }
.sw-opt-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.sw-opt-text b { font-size: 15px; line-height: 22px; }
.sw-opt-tile .sw-opt-text b { font-size: 17px; line-height: 24px; }
.sw-opt-text span { font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.sw-opt-meta { font-family: var(--font-mono); font-size: 14px; font-weight: 600; white-space: nowrap; }
.sw-opt:hover { border-color: var(--ink); }
.sw-opt:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.sw-opt-row.is-on { background: var(--grape-soft); border: 2px solid var(--grape); padding: calc(var(--space-3) - 1px) calc(var(--space-4) - 1px); }
.sw-opt-tile.is-on { background: var(--paper-raised); border: 2px solid var(--ink); box-shadow: var(--shadow-stamp); transform: translate(-2px, -2px); }

/* SummaryStrip */
.sw-sum { display: grid; border: 1px solid var(--ink); border-top-width: 4px; background: var(--paper-raised); }
.sw-sum-cell { display: flex; flex-direction: column; gap: 6px; padding: var(--space-4) var(--space-5); min-width: 0; }
.sw-sum-cell + .sw-sum-cell { border-left: 1px solid var(--line); }
.sw-sum-label { display: flex; align-items: center; gap: var(--space-2); }
.sw-sum-sw { width: 12px; height: 12px; border: 1px solid var(--ink); box-sizing: border-box; flex: none; }
.sw-sum-sw.is-paid { background: var(--lime); }
.sw-sum-sw.is-held { background: repeating-linear-gradient(135deg, var(--grape) 0 2px, var(--grape-soft) 2px 5px); }
.sw-sum-sw.is-pending { background: var(--paper-sunken); }
.sw-sum-sw.is-ink { background: var(--ink); }
.sw-sum-text { font-family: var(--font-mono); font-size: 20px; line-height: 38px; font-weight: 600; }

/* LedgerTable */
.sw-ledger { display: flex; flex-direction: column; font-size: 14px; }
.sw-ledger-row { display: grid; column-gap: var(--space-3); align-items: center; padding: var(--space-3) var(--space-2); border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.sw-ledger-head { padding-top: var(--space-2); padding-bottom: var(--space-2); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.sw-ledger-head + .sw-ledger-row { border-top: 0; }
.sw-ledger-row.is-link, .sw-ledger-row[tabindex] { cursor: pointer; }
.sw-ledger-row.is-link:hover, .sw-ledger-row[tabindex]:hover { background: var(--paper-sunken); }
.sw-ledger-row.is-on { background: var(--grape-soft); }
.sw-ledger-row:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.sw-ledger-cell { min-width: 0; }
.sw-ledger .is-right { text-align: right; justify-self: end; }
.sw-ledger-cell.is-strong { font-weight: 600; }
.sw-ledger-title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sw-ledger-title b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-ledger-empty { padding: var(--space-5) 0; text-align: center; border-top: 1px solid var(--line); }

/* ProposalCard */
.sw-prop { display: flex; flex-direction: column; gap: 14px; padding: var(--space-4); background: var(--paper-raised); border: 1px solid var(--line-strong); }
.sw-prop.is-on { border: 2px solid var(--grape); padding: calc(var(--space-4) - 1px); box-shadow: var(--shadow-stamp); }
.sw-prop-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sw-prop-head b { font-size: 15px; }
.sw-prop-dot { width: 16px; height: 16px; border-radius: var(--radius-full); background: var(--ink); flex: none; }
.sw-prop-figs { display: grid; grid-template-columns: auto auto minmax(160px, 1fr); gap: var(--space-5); align-items: end; }
.sw-prop-days { font-family: var(--font-mono); font-size: 20px; line-height: 28px; font-weight: 600; }
.sw-prop-split { gap: 6px; }
.sw-prop-pitch { margin: 0; font-size: 14px; line-height: 22px; }
.sw-prop-foot { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.sw-splitbar { display: flex; height: 24px; border: 1px solid var(--ink); }
.sw-splitbar-seg { display: flex; align-items: center; padding: 0 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; background: var(--paper-raised); min-width: 0; overflow: hidden; }
.sw-splitbar-seg + .sw-splitbar-seg { border-left: 1px solid var(--ink); }
.sw-splitbar-seg.is-first { background: var(--paper-sunken); }

/* ShowcaseAd */
.sw-ad { display: flex; flex-direction: column; gap: 10px; padding: 28px 32px 28px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
a.sw-ad:hover .sw-ad-q { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--grape); }
a.sw-ad:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.sw-ad-q { font-family: var(--font-display); font-size: 30px; line-height: 38px; font-weight: 700; letter-spacing: -.01em; }
.sw-ad-sm .sw-ad-q { font-size: 20px; line-height: 28px; }
.sw-ad-sub { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.sw-ad-foot { display: flex; align-items: center; gap: var(--space-2); font-size: 13px; font-weight: 600; }
.sw-ad-by { font-weight: 400; color: var(--ink-muted); }
.sw-ad-arrow { font-family: var(--font-mono); font-size: 16px; color: var(--grape); }
.sw-ad-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sw-ad-grid > .sw-ad:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }
.sw-linkmark { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; flex: none; }
.sw-linkmark.is-video { background: var(--grape); color: var(--on-grape); }
.sw-linkmark.is-page { background: var(--ink); color: var(--paper); }

/* Narrow screens */
@media (max-width: 720px) {
  .sw-ad-grid { grid-template-columns: minmax(0, 1fr); }
  .sw-ad-grid > .sw-ad:nth-child(even) { padding-left: 0; border-left: 0; }
  .sw-ad { padding-right: 0; }
  .sw-ad-q { font-size: 24px; line-height: 32px; }
  .sw-sum { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sw-sum-cell:nth-child(odd) { border-left: 0; }
  .sw-sum-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sw-prop-figs { grid-template-columns: auto auto; }
  .sw-prop-split { grid-column: 1 / -1; }
  .sw-pay-row { grid-template-columns: 14px 1fr auto; row-gap: 2px; }
  .sw-pay-cond { grid-column: 2 / -1; grid-row: 2; }
  .sw-pay-state { grid-column: 2 / -1; justify-self: start; }
  .sw-track-label { font-size: 11px; line-height: 14px; }
  .sw-track-date { display: none; }
  .sw-card-foot { gap: var(--space-4); }
}
