/* Monipick document pages (product detail, all-monitors index, guide, information, 404). Requires monipick-theme.css. */
.page main { max-width: 1200px; margin: auto; padding: 28px 24px 40px; }
.page a { color: var(--brand); text-underline-offset: 3px; }
.page .site-header a, .page .site-footer a.site-logo { color: inherit; }
.page .site-nav a { color: var(--ink-2); text-decoration: none; }
.page .site-nav a[aria-current="page"] { color: var(--inv-ink); }
.page h1 { font-size: clamp(30px, 4.8vw, 50px); line-height: 1.08; letter-spacing: -0.045em; margin: 8px 0 12px; font-weight: 800; }
.page h2 { font-size: 22px; letter-spacing: -0.03em; margin: 0 0 10px; }
.page h3 { font-size: 16px; letter-spacing: -0.02em; }
.page .eyebrow { margin-top: 18px; }
.page .intro { font-size: 17px; color: var(--ink-2); margin: 0 0 8px; }
.page main > section { margin-top: 28px; }
.page main > section > p { color: var(--ink-2); font-size: 14px; }
.page aside:not(.buying-checklist) { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--warn); border-radius: var(--r-md); padding: 16px 20px; margin: 24px 0; font-size: 14px; color: var(--ink-2); }
.page aside strong { color: var(--ink); }
.page aside p { margin: 6px 0 0; }
.page aside.source-conflict { background: var(--warn-bg); }
/* The scope note under the detail hero is one quiet line; conflict notices keep the box above. */
.detail main > aside:not([class]) { background: none; border: 0; border-radius: 0; padding: 0; margin: 14px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.detail main > aside:not([class]) strong { color: var(--ink-2); font-weight: 600; }
.detail main > aside:not([class]) strong::after { content: ". "; }
.detail main > aside:not([class]) p { display: inline; margin: 0; }
.page aside.source-conflict ul { margin: 8px 0; padding-left: 18px; }
.page pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-weight: 500; line-height: 1.7; margin: 0 0 6px; }
.page details:not(.source-location) { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; margin-top: 16px; }
.page summary { cursor: pointer; font-weight: 700; }

/* crumbs + hero */
.page .seo-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin: 0; }
.page .seo-breadcrumb a { color: var(--muted); text-decoration: none; }
.page .seo-breadcrumb a:hover { color: var(--ink); }
.detail-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 18px 0 8px; }
.detail-stage { border-radius: 28px; background: radial-gradient(120% 90% at 50% 100%, var(--stage-a) 0%, var(--stage-b) 72%); min-height: 380px; display: grid; place-items: end center; padding: 40px; }
.product-brand { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.detail-keys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0; }
.detail-keys .stat { background: var(--surface); border-radius: var(--r-md); padding: 14px 16px; min-width: 0; }
.detail-keys .stat b { display: block; font-family: var(--num); font-weight: 900; font-size: 25px; letter-spacing: 0; line-height: 1.2; overflow-wrap: anywhere; }
.detail-keys .stat b small { font-family: var(--font); font-weight: 700; font-size: 14px; margin-left: 2px; }
.detail-keys .stat > span { font-size: 12px; color: var(--muted); font-weight: 600; }
.detail-actions { margin: 0; }
.page .detail-actions .btn { color: var(--on-accent); text-decoration: none; }

/* highlights injected by the content candidate */
.mp .model-highlights { background: var(--inv); color: var(--inv-ink); border: 0; border-radius: var(--r-lg); padding: 28px 30px; }
.mp .model-highlights h2 { color: var(--inv-ink); margin-top: 0; }
.mp .model-highlights ul { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 12px; }
.mp .model-highlights li { position: relative; padding-left: 22px; }
.mp .model-highlights li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent-on-dark); }
.mp .model-highlights li p { margin: 4px 0; font-size: 15.5px; }
.mp .model-highlights a { color: var(--accent-on-dark); font-size: 12px; }
.mp .model-highlights > p { color: rgba(255, 255, 255, 0.75); font-size: 13.5px; }
.mp .model-highlights > p strong { color: var(--inv-ink); }

/* grouped specification tables */
.spec-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; margin-top: 16px; }
.spec-group { background: var(--surface); border-radius: var(--r-lg); padding: 20px 22px 8px; min-width: 0; }
.spec-group h3 { margin: 0 0 4px; }
.page .table-wrap { overflow-x: auto; }
.page table { border-collapse: collapse; width: 100%; font-size: 14px; }
.page caption { text-align: left; padding: 12px 0; font-size: 13px; color: var(--muted); }
.page th, .page td { text-align: left; vertical-align: top; padding: 12px 10px 12px 0; border-top: 1px solid var(--line); }
.page thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.page tbody tr:first-child > * { border-top: 0; }
.page tbody th { width: 30%; color: var(--muted); font-weight: 600; font-size: 13.5px; }
.page td:last-child { width: 32%; font-size: 12.5px; color: var(--muted); }
.page td:last-child a { font-size: 12.5px; }
.qualifier { display: inline-block; border-radius: 5px; background: var(--tint); color: var(--brand-ink); padding: 1px 7px; font-size: 11.5px; font-weight: 700; }
.source-location { background: none; border: 0; padding: 0; margin: 4px 0 0; }
.source-location summary { font-weight: 500; font-size: 12px; color: var(--muted); width: fit-content; }
.source-region { font-size: 12px; color: var(--ink-2); font-weight: 600; }

/* unknowns + sources */
.page .unknowns { background: var(--surface); border-radius: var(--r-lg); padding: 22px 24px; }
.unknowns-note { margin: 0 0 10px; }
.unknown-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.unknown-list li { font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 999px; border: 1px dashed var(--hover-line); color: var(--ink-2); }
.source-documents { padding-left: 18px; font-size: 14px; }

/* all-monitors index */
.static-product-groups { display: grid; gap: 28px; margin-top: 24px; }
.static-product-groups h2 small { color: var(--muted); font-size: 14px; font-weight: 600; margin-left: 4px; }
.static-product-groups ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.static-product-groups li { background: var(--surface); border-radius: var(--r-md); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); }
.page .static-product-groups li a { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; }
.page .static-product-groups li a:hover strong { color: var(--brand); }
.index-art { display: grid; place-items: end center; height: 96px; border-radius: 10px; background: radial-gradient(120% 90% at 50% 100%, var(--stage-a) 0%, var(--stage-b) 70%); padding: 10px; }
.static-product-groups li strong { font-size: 16px; letter-spacing: -0.02em; }
.static-product-groups li > span { font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
  .detail-hero { grid-template-columns: 1fr; gap: 20px; }
  .detail-stage { min-height: 260px; padding: 24px; }
  .spec-groups { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .page main { padding: 20px 16px 32px; }
  .page h1 { font-size: 30px; }
  .page .intro { font-size: 15px; }
  .detail-keys .stat b { font-size: 21px; }
  .spec-group { padding: 16px 16px 4px; }
  .page table, .page tbody, .page tbody tr { display: block; width: 100%; }
  .page tbody tr { border-top: 1px solid var(--line); padding: 12px 0; }
  .page tbody tr:first-child { border-top: 0; }
  .page tbody th, .page tbody td { display: block; width: auto; border: 0; padding: 2px 0; }
  .page td:last-child { width: auto; }
  .page .unknowns { padding: 18px; }
}
.page a.guide-cta { color: #0c1424; }
/* in-page link groups (404 and similar) and plain page footers */
.page main > nav[aria-label="다시 찾아보기"] { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.page main > nav[aria-label="다시 찾아보기"] a { display: inline-flex; align-items: center; border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 14px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.page main > nav[aria-label="다시 찾아보기"] a:first-child { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.page main > footer { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* question sections (each is one section of a situation page, see the end of this file) */
.q-answer { background: var(--inv); color: var(--inv-ink); border-radius: var(--r-lg); padding: 22px 26px; margin: 18px 0 8px; }
.q-answer p { margin: 0; font-size: 18px; }
.q-answer strong { color: var(--accent-on-dark); font-size: 22px; }
.q-answer .q-criteria { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.q-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; counter-reset: q; }
.q-list li { background: var(--surface); border-radius: var(--r-md); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); counter-increment: q; position: relative; }
.q-list li::before { content: counter(q); position: absolute; right: 16px; top: 14px; font-size: 12px; font-weight: 800; color: var(--muted); }
.page .q-model { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.page .q-model:hover strong { color: var(--brand); }
.q-model strong { font-size: 18px; letter-spacing: -0.02em; }
.q-value { font-size: 15px; font-weight: 700; color: var(--brand); }
.q-meta, .q-source { font-size: 12.5px; color: var(--muted); }
.page .q-cautions { background: var(--surface); border-radius: var(--r-lg); padding: 22px 24px; }
.q-cautions ul { padding-left: 18px; font-size: 14.5px; color: var(--ink-2); }
.q-cautions li { margin-bottom: 6px; }
/* Touch: source links and "문서 위치" toggles get a 24px+ hit area (WCAG 2.5.8) without changing the layout on desktop. */
@media (pointer: coarse) {
  td[data-label="출처"] a { display: inline-block; padding: 5px 0; }
  .source-location summary { padding: 4px 0; min-height: 24px; }
}
/* "이 모델 비교 보기" (only when comparisons are published) */
.model-compare { margin-top: 28px; }
.model-compare h2 { font-size: 19px; margin: 0 0 12px; }
.model-compare ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.model-compare a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 16px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; font-size: 14px; }
.model-compare a:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.model-compare b { font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.model-compare a > span[aria-hidden] { flex: none; font-size: 11px; font-weight: 900; padding: 3px 7px; border-radius: 999px; background: var(--inv); color: var(--inv-ink); }

/* question sections: the MacBook charging table keeps its grid on phones and scrolls sideways */
.page .q-power .table-wrap { margin: 16px 0; }
.page .q-power table { display: table; min-width: 520px; }
.page .q-power thead { display: table-header-group; position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
.page .q-power thead th { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.page .q-power tbody { display: table-row-group; }
.page .q-power tbody tr { display: table-row; }
.page .q-power th, .page .q-power tbody th, .page .q-power tbody td { display: table-cell; width: auto; padding: 10px 12px 10px 0; border-top: 1px solid var(--line); }
.page .q-power td:last-child { width: auto; font-size: 14px; color: inherit; }
.page .q-power caption { caption-side: bottom; }

/* situation pages (hubs): the questions of one situation are sections of one page. The contents list says how
   many models each question matches; a question's old URL lands on its section. */
.hub-toc { margin-top: 32px; }
.hub-toc .eyebrow { margin: 0 0 8px; }
.hub-toc ul { list-style: none; margin: 0; padding: 0; display: grid; }
.page .hub-toc a { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; gap: 0 12px; min-height: 58px; padding: 10px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.hub-toc li:first-child a { border-top: 1px solid var(--line); }
.hub-toc a::after { content: "›"; color: var(--muted); font-size: 20px; }
.page .hub-toc a:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.hub-toc-n { font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.hub-toc-n b { margin-right: 2px; font: 900 30px / 1 var(--num); color: var(--brand); }
.hub-toc strong { font-size: 17px; line-height: 1.35; }
.page main > .hub-q { margin-top: 56px; }
.hub-q, .hub-q [id] { scroll-margin-top: 84px; } /* clear the sticky header */
.hub-q > h2 { margin-bottom: 14px; }
.hub-q h3 { margin: 0 0 8px; font-size: 18px; }
.hub-q .q-art { margin: 0 0 14px; }
.hub-q .q-answer { margin: 0; }
.hub-q .q-list { margin-top: 14px; }
.hub-q .q-power { margin-top: 32px; }
.hub-q .q-power > p { font-size: 14px; color: var(--ink-2); }
.hub-q .q-cautions { margin-top: 20px; }
.hub-q .q-cautions ul { margin: 0; }
.hub-q .q-cautions li:last-child { margin-bottom: 0; }
.page main > .hub-q + .detail-guides { margin-top: 56px; }
@media (min-width: 900px) {
  .hub-toc ul { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .hub-toc li:nth-child(2) a { border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .hub-q, .hub-q [id] { scroll-margin-top: 116px; } /* the header wraps to two rows */
}

.model-highlights{padding:24px;border:1px solid #dce5de;border-radius:18px;background:#fff}.model-highlights h2{margin-top:0}.model-highlights ul{padding-left:22px}.model-highlights li{padding-left:6px;margin-bottom:18px}.model-highlights li p{margin:6px 0}.model-highlights li a{font-size:12px}.model-highlights>p{font-size:14px}@media(max-width:600px){.model-highlights{padding:18px}.model-highlights h2{font-size:20px}}

.seo-breadcrumb{display:flex;flex-wrap:wrap;gap:6px;font-size:14px;margin-bottom:18px}.seo-breadcrumb a:focus-visible{outline:2px solid #175c4b;outline-offset:3px}
