/* Shared style for Bukio help articles. Article layout: one readable column, numbered steps, UI labels as chips. */
:root {
  --ink: #0b1f2a; --muted: #557079; --faint: #8aa1a8; --bg: #f4f8f9; --surface: #ffffff; --line: #dde8eb;
  --brand: #0891b2; --deep: #0e7490; --soft: #e3f5f9; --warn-soft: #fdf3e2; --warn: #92400e; --ok-soft: #e6f6ef; --ok: #047857;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #e6f1f3; --muted: #9db4ba; --faint: #6f878e; --bg: #071820; --surface: #0d2530; --line: #1d3a46;
    --brand: #22b8d6; --deep: #67d2e8; --soft: #0d3340; --warn-soft: #3a2c0c; --warn: #fbbf24; --ok-soft: #0b3328; --ok: #34d399; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Inter", "Segoe UI", system-ui, sans-serif; font-size: 16px; line-height: 1.6; }
.wrap { max-width: 760px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
header.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 18px; font-size: 14px; }
header.top a { color: var(--deep); font-weight: 700; text-decoration: none; }
header.top .brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 800; font-size: 17px; }
header.top img { width: 28px; height: 28px; }
h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; margin: 18px 0 10px; text-wrap: balance; }
h2 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.01em; margin: 40px 0 12px; text-wrap: balance; }
h3 { font-size: 1.05rem; margin: 22px 0 6px; }
p, li { color: var(--muted); }
p { margin: 0 0 12px; }
strong { color: var(--ink); }
a { color: var(--deep); }
.lead { font-size: 1.1rem; max-width: 62ch; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 20px 0 8px; }
.toc b { display: block; margin-bottom: 6px; color: var(--ink); }
.toc ol { margin: 0; padding-left: 20px; }
.toc a { text-decoration: none; }
.ui { display: inline-block; padding: 1px 8px; border-radius: 7px; background: var(--soft); color: var(--deep); font-weight: 700; font-size: 0.92em; white-space: nowrap; }
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 12px 0; display: grid; gap: 12px; }
ol.steps > li { counter-increment: s; position: relative; padding: 14px 16px 14px 56px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
ol.steps > li::before { content: counter(s); position: absolute; left: 14px; top: 13px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
ol.steps > li p:last-child { margin-bottom: 0; }
.note { border-radius: 14px; padding: 14px 16px; margin: 16px 0; }
.note b { display: block; color: var(--ink); margin-bottom: 2px; }
.note p { margin: 0; }
.note.tip { background: var(--soft); }
.note.warn { background: var(--warn-soft); }
.note.ok { background: var(--ok-soft); }
.table-wrap { overflow-x: auto; margin: 12px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
th { color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; background: var(--soft); }
td strong { white-space: nowrap; }
.next { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 40px 0 16px; }
.next a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none; font-weight: 700; }
.next a span { display: block; color: var(--faint); font-weight: 500; font-size: 13px; }
.help { margin: 24px 0 48px; background: var(--soft); border-radius: 14px; padding: 16px 18px; }
.help b { display: block; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
@media print {
  header.top a[href$=".pdf"], .next, .help { display: none; }
  body { background: #fff; }
  ol.steps > li, .note { break-inside: avoid; }
}
