/* seewol design system v4 — the only stylesheet a service needs. Structure and proportions follow a modern product site:
   sticky white header, flat tone-tinted hero band, tool card overlapping the band, two-column body (content + side cards),
   FAQ as its own page, multi-column footer. No third-party assets or CSS are used.
   Rules: tokens only (no raw hex outside this file), no gradients, no shadows, no external fonts, one accent per service via data-tone. See DESIGN.md. */
:root {
  --ink: #191f28; --text-2: #4e5968; --text-3: #6b7684; --paper: #ffffff; --surface: #ffffff; --fill: #f2f4f6; --rule: #e5e8eb; --line-strong: #b0b8c1;
  --accent: #1f6ee3; --on-accent: #ffffff; --accent-weak: #e8f1ff; --err: #c92a2a; --err-weak: #fdecec;
  --band: color-mix(in srgb, var(--accent-weak) 70%, var(--paper));
  --page: var(--paper);
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2.25rem; --s7: 3.5rem; --s8: 5rem;
  --r1: .75rem; --r2: 1rem; --r3: 1rem;
  --t-cap: .875rem; --t-sm: .9375rem; --t-body: 1rem; --t-lg: 1.125rem; --t-h2: 1.5rem; --t-h1: 2.75rem; --t-num: 2.75rem;
  --wrap: 68rem; --head-h: 4rem;
  --muted: var(--text-2); /* legacy alias */
}
:root[data-tone='teal'] { --accent: #0b7f8c; --accent-weak: #e3f4f6; }
:root[data-tone='green'] { --accent: #0a8754; --accent-weak: #e2f5ec; }
:root[data-tone='orange'] { --accent: #b94f08; --accent-weak: #fdeedd; }
:root[data-tone='red'] { --accent: #d63a46; --accent-weak: #fdebec; }
/* 2026-11-25: one tone per new product (all ≥4.5:1 on white). */
:root[data-tone='indigo'] { --accent: #4338ca; --accent-weak: #eceafd; }
:root[data-tone='plum'] { --accent: #8e3b77; --accent-weak: #f7eaf3; }
:root[data-tone='violet'] { --accent: #6d3fc0; --accent-weak: #f0eafb; }
:root[data-tone='pencil'] { --accent: #8a5a00; --accent-weak: #f8efdc; }
:root[data-tone='navy'] { --accent: #1e3a8a; --accent-weak: #e6ebf7; }
:root[data-tone='berry'] { --accent: #a8235f; --accent-weak: #fae8ef; }
:root[data-tone='fuchsia'] { --accent: #a21caf; --accent-weak: #f8e8fa; }
:root[data-tone='slate'] { --accent: #334155; --accent-weak: #eceff3; }
:root[data-tone='brown'] { --accent: #7c4a1e; --accent-weak: #f5ece3; }
:root[data-tone='sea'] { --accent: #0f5c86; --accent-weak: #e4f0f6; }
/* Owner decision 2026-11-20: the default and only theme is white (like the Toss careers site). Dark mode is OFF: the unknown media feature below never matches. To re-enable, delete ' and (--dark-mode-enabled)'. */
@media (prefers-color-scheme: dark) and (--dark-mode-enabled) {
  :root { --ink: #f2f4f6; --text-2: #c3cad2; --text-3: #9aa4af; --paper: #121216; --surface: #1c1c22; --fill: #2b2b33; --rule: #34343d; --line-strong: #5b5b66;
    --accent: #4593fc; --on-accent: #0b1220; --accent-weak: #1c2a44; --err: #f66d78; --err-weak: #3a2326; }
  :root[data-tone='teal'] { --accent: #2fb5c5; --accent-weak: #12343a; }
  :root[data-tone='green'] { --accent: #2fc785; --accent-weak: #123425; }
  :root[data-tone='orange'] { --accent: #f59a4a; --accent-weak: #3a2a17; }
  :root[data-tone='red'] { --accent: #f66d78; --accent-weak: #3a2326; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + var(--s4)); }
body { margin: 0; background: var(--page); color: var(--ink);
  font: var(--t-body)/1.7 -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Segoe UI', system-ui, sans-serif;
  font-variant-numeric: tabular-nums; letter-spacing: -.005em; word-break: keep-all; overflow-wrap: anywhere;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
h1 { font-size: clamp(1.875rem, 1.3rem + 2.4vw, var(--t-h1)); line-height: 1.3; margin: 0 0 var(--s4); font-weight: 700; letter-spacing: -.025em; color: var(--ink); }
h2 { font-size: var(--t-h2); line-height: 1.4; margin: 0 0 var(--s5); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: var(--t-lg); line-height: 1.45; margin: var(--s5) 0 var(--s2); font-weight: 700; }
p { margin: 0 0 var(--s4); }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.lede { margin: 0; color: var(--text-2); font-size: var(--t-lg); line-height: 1.65; max-width: 36rem; }
.note { color: var(--text-2); font-size: var(--t-sm); margin: var(--s4) 0 0; line-height: 1.65; }
.hint { color: var(--text-2); font-size: var(--t-sm); margin: 0 0 var(--s4); line-height: 1.65; }
.err { color: var(--err); font-size: var(--t-sm); font-weight: 600; margin: var(--s2) 0 0; }
.skip { position: absolute; left: var(--s3); top: -4rem; z-index: 40; background: var(--ink); color: var(--paper); padding: var(--s3) var(--s4); border-radius: var(--r1); }
.skip:focus { top: var(--s3); }

/* ---------- Legacy single-card page (services not yet on v4 structure) ---------- */
main:not(.v4) { max-width: 44rem; margin: var(--s5) auto; padding: var(--s6) var(--s5); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r3); }
main:not(.v4) h2 { margin: var(--s7) 0 var(--s4); padding-top: var(--s6); border-top: 1px solid var(--rule); font-size: 1.375rem; }
main:not(.v4) .lede { margin-bottom: var(--s6); }
@media (max-width: 47.99rem) { main:not(.v4) { margin: var(--s3); padding: var(--s5) var(--s4); } }

/* ---------- Header: sticky, brand left, nav right, primary pill at the far right ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--rule); }
.head-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s5); height: var(--head-h); display: flex; align-items: center; gap: var(--s4); }
.brand { display: inline-flex; align-items: center; gap: var(--s3); min-height: 2.75rem; min-width: 0; color: var(--ink); text-decoration: none; font-weight: 800; font-size: var(--t-lg); letter-spacing: -.02em; }
.brand-mark { flex: none; display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: .55rem; background: var(--accent); color: var(--on-accent); font-size: var(--t-sm); font-weight: 800; }
.brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.navbox { margin-left: auto; }
.nav { display: flex; align-items: center; gap: var(--s1); margin: 0; padding: 0; list-style: none; }
.nav a.item { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 var(--s3); border-radius: var(--r1); color: var(--text-2); font-weight: 600; font-size: var(--t-sm); text-decoration: none; transition: background-color .15s, color .15s; }
.nav a.item:hover { background: var(--fill); color: var(--ink); }
.nav a.item[aria-current='page'] { color: var(--accent); }
.nav .nav-cta { display: none; }
.head-tools { display: flex; align-items: center; gap: var(--s3); }
.lang { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 var(--s3); border: 1px solid var(--rule); border-radius: 999px; color: var(--text-2); font-weight: 700; font-size: var(--t-cap); text-decoration: none; }
.lang:hover { border-color: var(--line-strong); color: var(--ink); }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 var(--s5); border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: var(--t-sm); text-decoration: none; white-space: nowrap; transition: filter .15s; }
.pill:hover { filter: brightness(1.08); }
.menu-btn { display: none; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); }
.menu-btn i, .menu-btn i::before, .menu-btn i::after { display: block; width: 1.125rem; height: 2px; border-radius: 2px; background: var(--ink); content: ''; position: relative; transition: transform .2s, top .2s, background-color .2s; }
.menu-btn i::before { position: absolute; top: -.35rem; }
.menu-btn i::after { position: absolute; top: .35rem; }
.menu-btn[aria-expanded='true'] i { background: transparent; }
.menu-btn[aria-expanded='true'] i::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded='true'] i::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 47.99rem) {
  .head-in { padding: 0 var(--s4); gap: var(--s2); }
  .head-tools { margin-left: auto; gap: var(--s2); }
  .head-tools .pill { display: none; }
  .menu-btn { display: inline-flex; }
  .navbox { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: var(--s2) var(--s4) var(--s5); background: var(--paper); border-bottom: 1px solid var(--rule); }
  .navbox[data-open='true'] { display: block; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { display: block; }
  .nav a.item { min-height: 3.25rem; padding: 0 var(--s2); font-size: var(--t-body); border-radius: 0; border-bottom: 1px solid var(--rule); }
  .nav .nav-cta { display: block; padding-top: var(--s4); }
  .nav .nav-cta .pill { display: flex; min-height: 3.25rem; font-size: var(--t-body); }
}

/* ---------- Hero band: flat tone tint, big two-line headline ---------- */
.band { background: var(--band); border-bottom: 1px solid var(--rule); }
.band-in { max-width: var(--wrap); margin: 0 auto; padding: var(--s7) var(--s5) var(--s6); }
.band.overlap .band-in { padding-bottom: calc(var(--s7) + var(--s6)); }
.band h1 { max-width: 40rem; margin-bottom: var(--s4); }
.eyebrow { display: inline-flex; align-items: center; min-height: 1.75rem; margin: 0 0 var(--s4); padding: 0 var(--s3); border-radius: 999px; background: var(--paper); border: 1px solid var(--rule); color: var(--accent); font-size: var(--t-cap); font-weight: 700; }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0 0 var(--s4); font-size: var(--t-sm); color: var(--text-2); }
.crumbs a { color: var(--text-2); }
@media (min-width: 48rem) { .band-in { padding-top: var(--s8); padding-bottom: var(--s7); } .band.overlap .band-in { padding-bottom: calc(var(--s8) + var(--s5)); } }
@media (max-width: 47.99rem) { .band-in { padding: var(--s6) var(--s4) var(--s5); } .band.overlap .band-in { padding-bottom: calc(var(--s6) + var(--s5)); } }

/* ---------- Body layout: content column + side column ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s5); }
.cols { display: grid; gap: var(--s6); grid-template-columns: minmax(0, 1fr); padding: var(--s6) 0 var(--s7); align-items: start; }
.overlap + .wrap .cols { margin-top: calc(-1 * (var(--s7) + var(--s5))); padding-top: 0; }
.side { display: grid; gap: var(--s3); align-content: start; }
@media (min-width: 64rem) { .cols { grid-template-columns: minmax(0, 1fr) 19rem; gap: var(--s6); } .side.sticky { position: sticky; top: calc(var(--head-h) + var(--s5)); } }
@media (max-width: 47.99rem) { .wrap { padding: 0 var(--s4); } .overlap + .wrap .cols { margin-top: calc(-1 * (var(--s5) + var(--s4))); } }
.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r3); padding: var(--s6); }
@media (max-width: 47.99rem) { .panel { padding: var(--s5) var(--s4); } }
.sec { margin: 0 0 var(--s7); }
.sec:last-child { margin-bottom: 0; }
.sec > h2 { margin-bottom: var(--s4); }
.stack > * + * { margin-top: var(--s7); }

/* Side cards: bold title + gray secondary line */
.side-title { margin: 0 0 var(--s1); font-size: var(--t-sm); font-weight: 700; color: var(--text-2); }
.card { display: block; padding: var(--s4) var(--s5); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r2); color: var(--ink); text-decoration: none; transition: border-color .15s, background-color .15s; }
a.card:hover { border-color: var(--line-strong); background: var(--fill); }
.card b { display: block; font-size: var(--t-body); font-weight: 700; letter-spacing: -.01em; }
.card span { display: block; margin-top: var(--s1); color: var(--text-2); font-size: var(--t-sm); line-height: 1.55; }
.card span.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.toc { padding: var(--s4) var(--s5); border: 1px solid var(--rule); border-radius: var(--r2); background: var(--surface); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: flex; align-items: center; min-height: 2.75rem; color: var(--text-2); font-size: var(--t-sm); font-weight: 600; text-decoration: none; }
.toc a:hover { color: var(--accent); }
@media (max-width: 63.99rem) { .toc { display: none; } }

/* Related tools */
.related { padding: var(--s7) 0; border-top: 1px solid var(--rule); }
.related h2 { margin-bottom: var(--s5); }
.cards { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }

/* ---------- FAQ: chips + native-details accordion ---------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0 0 var(--s5); padding: 0; list-style: none; }
.chips button { min-height: 2.75rem; padding: 0 var(--s4); border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--text-2); font-weight: 600; font-size: var(--t-sm); transition: background-color .15s, color .15s, border-color .15s; }
.chips button:hover { border-color: var(--line-strong); color: var(--ink); }
.chips button[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.acc { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.acc > li { border-bottom: 1px solid var(--rule); }
.acc summary { list-style: none; display: flex; align-items: center; gap: var(--s3); min-height: 3.5rem; padding: var(--s4) 0; cursor: pointer; font-weight: 700; font-size: var(--t-lg); line-height: 1.5; letter-spacing: -.01em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .q { flex: 1; min-width: 0; }
.acc summary::after { content: ''; flex: none; width: .55rem; height: .55rem; margin: 0 .3rem 0 var(--s2); border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg); transition: transform .2s; }
.acc details[open] > summary::after { transform: rotate(-135deg); margin-top: .35rem; }
.acc summary:hover .q { color: var(--accent); }
.acc .ans { margin: 0; padding: 0 0 var(--s5); max-width: 42rem; color: var(--text-2); line-height: 1.8; }
.tag { flex: none; display: inline-flex; align-items: center; min-height: 1.75rem; padding: 0 var(--s3); border-radius: 999px; background: var(--fill); color: var(--text-2); font-size: var(--t-cap); font-weight: 600; }
@media (max-width: 47.99rem) { .acc summary .tag { display: none; } }
.more-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: var(--s4); font-weight: 700; text-decoration: none; }
.more-link:hover { text-decoration: underline; }

/* ---------- Tab: segmented control, selected = ink pill ---------- */
.tabs { display: inline-flex; max-width: 100%; gap: var(--s1); margin-bottom: var(--s5); overflow-x: auto; padding: var(--s1); background: var(--fill); border-radius: 999px; }
.tabs button { background: transparent; border: 0; min-height: 2.75rem; padding: 0 var(--s5); border-radius: 999px; color: var(--text-2); white-space: nowrap; font-weight: 600; font-size: var(--t-sm); transition: background-color .15s, color .15s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected='true'] { background: var(--ink); color: var(--paper); }

/* ---------- Field: filled input, label above ---------- */
.fields { display: grid; gap: var(--s5) var(--s4); grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.field { display: block; }
.field > .label, .fields label { display: block; font-size: var(--t-sm); font-weight: 600; color: var(--text-2); margin-bottom: var(--s2); }
input, select, textarea { width: 100%; min-height: 3.25rem; padding: var(--s3) var(--s4); background: var(--fill); border: 1px solid transparent; border-radius: var(--r1); font-size: var(--t-lg); color: var(--ink); transition: border-color .15s, background-color .15s; }
input:hover, select:hover, textarea:hover { border-color: var(--line-strong); }
textarea { min-height: 9rem; resize: vertical; line-height: 1.6; }
::placeholder { color: var(--text-3); opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); background: var(--surface); outline: none; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent-weak); outline-offset: 0; border-color: var(--accent); }
input[aria-invalid='true'], textarea[aria-invalid='true'] { border-color: var(--err); background: var(--err-weak); }
input[type='checkbox'], input[type='radio'] { appearance: none; -webkit-appearance: none; flex: none; width: 1.5rem; min-height: 1.5rem; height: 1.5rem; padding: 0; margin: 0; background: var(--surface); border: 2px solid var(--line-strong); border-radius: .4rem; vertical-align: middle; cursor: pointer; }
input[type='radio'] { border-radius: 999px; }
input[type='checkbox']:checked { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 80% no-repeat; border-color: var(--accent); }
input[type='radio']:checked { background: var(--accent); border: .4rem solid var(--surface); outline: 2px solid var(--accent); outline-offset: 0; }
label:has(> input[type='checkbox']), label:has(> input[type='radio']) { display: flex; align-items: center; gap: var(--s3); min-height: 2.75rem; cursor: pointer; }

/* ---------- Button ---------- */
.btn { min-height: 3.5rem; padding: var(--s3) var(--s5); border: 0; border-radius: var(--r1); background: var(--fill); color: var(--ink); font-weight: 700; font-size: var(--t-body); transition: filter .15s, transform .1s; }
.btn:hover { filter: brightness(.96); }
.btn:active { transform: scale(.985); }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; filter: none; }
button.quiet { background: none; border: 0; color: var(--text-2); min-width: 2.75rem; min-height: 2.75rem; font-size: var(--t-h2); line-height: 1; }
button.quiet:hover { color: var(--ink); }
button.link { background: none; border: 0; padding: 0; min-height: 2.75rem; color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.row-actions { display: flex; flex-wrap: wrap; gap: var(--s4); margin: var(--s4) 0 0; }

/* ---------- Result: tinted flat card, the focus of the first screen ---------- */
.result { margin-top: var(--s6); padding: var(--s5); background: var(--accent-weak); border-radius: var(--r2); border: 1px solid var(--accent-weak); display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s4); }
.result .label { color: var(--text-2); font-weight: 600; min-width: 4rem; }
.result .big { font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); line-height: 1.2; font-weight: 700; color: var(--accent); letter-spacing: -.02em; }
.result .alt { color: var(--text-2); }

/* ---------- List rows: bold left, gray right ---------- */
.list-head { margin: var(--s6) 0 var(--s2); font-size: var(--t-sm); font-weight: 700; color: var(--text-2); }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); padding: var(--s4) 0; border-top: 1px solid var(--rule); }
.list > li:last-child { border-bottom: 1px solid var(--rule); }
.list .k { color: var(--text-2); }
.list .v { text-align: right; font-weight: 700; }
.badge { display: inline-block; padding: 0 var(--s3); border-radius: 999px; background: var(--accent-weak); color: var(--accent); font-size: var(--t-cap); font-weight: 700; line-height: 1.8; }
.badge.warn { background: var(--err-weak); color: var(--err); }

/* ---------- Guide rows and tables ---------- */
.guide { margin: 0; border-top: 1px solid var(--rule); }
.guide > div { padding: var(--s4) 0; border-bottom: 1px solid var(--rule); }
.guide dt { font-weight: 700; font-size: var(--t-lg); }
.guide dd { margin: var(--s2) 0 0; color: var(--text-2); max-width: 42rem; line-height: 1.75; }
.plain { margin: 0; padding-left: 1.25rem; max-width: 42rem; color: var(--text-2); }
.plain li { margin: var(--s3) 0; padding-left: var(--s1); }
.table { border-collapse: collapse; width: 100%; font-size: var(--t-sm); border-top: 1px solid var(--rule); }
@media (max-width: 47.99rem) { .table { display: block; overflow-x: auto; } }
.table th, .table td { border-bottom: 1px solid var(--rule); padding: var(--s3) var(--s3) var(--s3) 0; text-align: left; vertical-align: top; }
.table th { color: var(--text-2); font-weight: 700; white-space: nowrap; }
.table td.num, .table th.num { text-align: right; }

.ad { margin: var(--s6) 0 var(--s4); }
.ad-label { margin: 0 0 var(--s1); color: var(--text-3); font-size: var(--t-cap); }

/* ---------- Footer (multi-column) ---------- */
.foot { background: var(--fill); border-top: 1px solid var(--rule); color: var(--text-2); font-size: var(--t-sm); line-height: 1.7; }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: var(--s7) var(--s5) var(--s6); }
.foot-cols { display: grid; gap: var(--s6) var(--s5); grid-template-columns: 1fr; padding-bottom: var(--s6); border-bottom: 1px solid var(--rule); }
@media (min-width: 48rem) { .foot-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-brand { margin: 0 0 var(--s2); color: var(--ink); font-weight: 800; font-size: var(--t-lg); }
.foot-col h2 { margin: 0 0 var(--s2); font-size: var(--t-sm); font-weight: 700; color: var(--ink); letter-spacing: 0; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--text-2); text-decoration: none; }
.foot-col a:hover { color: var(--accent); text-decoration: underline; }
.foot-info { padding-top: var(--s5); font-size: var(--t-cap); }
.foot-info p { margin: var(--s1) 0; }
.foot-info a { color: var(--text-2); }
.foot-info a strong { color: var(--ink); }

/* ---------- Legacy footer and legal pages (unchanged) ---------- */
.footer { max-width: 44rem; margin: 0 auto; padding: var(--s5) var(--s4) var(--s7); color: var(--text-3); font-size: var(--t-cap); line-height: 1.7; }
.footer p { margin: var(--s1) 0; }
.footer a { color: var(--text-2); }
.footer a strong { color: var(--ink); }
.legal h1, .legal h2, .legal h3 { line-height: 1.4; }
.legal table { border-collapse: collapse; width: 100%; font-size: var(--t-sm); display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--rule); padding: var(--s2) var(--s3); text-align: left; vertical-align: top; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.teaser { margin-top: var(--s7); }

/* ---------- Service icon in the header mark (hand-drawn glyph, white on the service colour) ---------- */
.brand-mark svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* tap-target pass (2026-11-20): link chips in lists reach 44px */
.plain a, .guide a, .chips a, .links a { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* 입찰 레이더 service styles (tokens from ds.css only). The one distinctive element is the deadline timeline bar (.tl):
   a horizontal line with the notice points and a "now" marker on wide screens, a four-row list on phones. */

/* ---------- deadline timeline ---------- */
.tl { list-style: none; margin: 0 0 var(--s5); padding: 0; display: grid; gap: 0; }
.tl li { display: grid; grid-template-columns: 7.5rem 1fr auto; align-items: baseline; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--rule); }
.tl li:last-child { border-bottom: 1px solid var(--rule); }
.tl .tl-k { color: var(--text-2); font-weight: 600; font-size: var(--t-sm); }
.tl .tl-at { font-weight: 700; }
.tl .tl-d { color: var(--text-2); font-size: var(--t-sm); white-space: nowrap; }
.tl li.past .tl-at, .tl li.past .tl-d { color: var(--text-3); font-weight: 400; }
.tl li.next .tl-d { color: var(--accent); font-weight: 700; }
@media (min-width: 48rem) {
  .tl { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); position: relative; padding-top: var(--s5); border-top: 3px solid var(--rule); }
  .tl li { display: flex; flex-direction: column; gap: var(--s1); padding: 0 var(--s2) 0 0; border: 0; position: relative; }
  .tl li:last-child { border: 0; }
  .tl li::before { content: ''; position: absolute; top: calc(-1 * var(--s5) - 8px); left: 0; width: 13px; height: 13px; border-radius: 999px; background: var(--paper); border: 3px solid var(--line-strong); }
  .tl li.past::before { background: var(--line-strong); }
  .tl li.next::before { background: var(--accent); border-color: var(--accent); }
}

/* ---------- notice rows (search results, inbox, lists) ---------- */
.bid-rows > li { align-items: center; }
.bid-row { display: block; min-width: 0; flex: 1; color: var(--ink); text-decoration: none; padding: var(--s1) 0; }
.bid-row b { display: block; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.bid-row .meta { display: block; margin-top: var(--s1); color: var(--text-2); font-size: var(--t-sm); }
a.bid-row:hover b { color: var(--accent); text-decoration: underline; }
.bid-rows .due { flex: none; font-weight: 700; color: var(--accent); white-space: nowrap; }
.bid-rows .unread b { font-weight: 800; }
.bid-rows .read b { font-weight: 500; color: var(--text-2); }
.bid-rows .acts { flex: none; display: flex; gap: var(--s2); align-items: center; }
.bid-rows .acts .btn { min-height: 2.75rem; padding: 0 var(--s4); font-size: var(--t-sm); }

/* ---------- search card on the home band ---------- */
.search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s3); align-items: end; }
.search-row .btn { min-height: 3.25rem; }
.chips a, .chips button.chip { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 var(--s4); border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--text-2); font-weight: 600; font-size: var(--t-sm); text-decoration: none; }
.chips a:hover { border-color: var(--line-strong); color: var(--ink); }
.today { margin: var(--s4) 0 0; color: var(--text-2); font-size: var(--t-sm); }
.today b { color: var(--ink); }
.cta-line { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; justify-content: space-between; margin: var(--s5) 0 var(--s2); padding: var(--s4); border: 1px solid var(--rule); border-radius: var(--r2); background: var(--fill); }
.cta-line p { margin: 0; }

/* ---------- app (signed-in) ---------- */
.app-nav { display: flex; gap: var(--s1); overflow-x: auto; margin: 0 0 var(--s5); padding: var(--s1); background: var(--fill); border-radius: 999px; list-style: none; }
.app-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 var(--s4); border-radius: 999px; color: var(--text-2); font-weight: 600; font-size: var(--t-sm); text-decoration: none; white-space: nowrap; }
.app-nav a[aria-current='page'] { background: var(--ink); color: var(--paper); }
.cols5 { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 64rem) { .cols5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.col h3 { margin: 0 0 var(--s2); font-size: var(--t-body); display: flex; justify-content: space-between; }
.col .list > li { flex-direction: column; align-items: stretch; gap: var(--s2); }
.stage-ctl { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.stage-ctl select { width: auto; min-height: 2.75rem; font-size: var(--t-sm); padding: 0 var(--s3); }
.stage-ctl button { min-height: 2.75rem; min-width: 2.75rem; }
.checks { display: grid; gap: var(--s1); margin: var(--s2) 0 0; }
.checks label { font-size: var(--t-sm); }
.steps { color: var(--text-2); font-weight: 700; font-size: var(--t-sm); margin: 0 0 var(--s3); }
.pick { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); }
.ai-block { padding: var(--s5); border: 1px solid var(--rule); border-radius: var(--r2); }
.ok-line { color: var(--accent); font-weight: 600; }
.drop { display: block; padding: var(--s6) var(--s4); border: 2px dashed var(--line-strong); border-radius: var(--r2); text-align: center; color: var(--text-2); }
.drop[data-over='true'] { border-color: var(--accent); background: var(--accent-weak); }

/* ---------- monthly bars (agency, category pages) ---------- */
.bars { margin: 0 0 var(--s4); }
.bars svg { display: block; width: 100%; max-width: 30rem; height: auto; fill: var(--accent); }
.bars .table { margin-top: var(--s3); }

.tablewrap { max-width: 100%; overflow-x: auto; }

@media print {
  .site-head, .foot, .side, .ad, .row-actions, .app-nav, .related, .cta-line { display: none; }
  .band { border: 0; }
  .panel { border: 0; padding: 0; }
}
