
:root { color: #172620; background: #fff; font-family: "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif; line-height: 1.6; --muted: #53615a; --brand: #176044; --border: #dfe6df; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #237554; outline-offset: 4px; }
.shell { width: min(1328px, calc(100% - clamp(48px, 7.78vw, 112px))); margin-inline: auto; }
header { background: #fff; border-bottom: 1px solid var(--border); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 12px; }
.brand { font-size: 21px; font-weight: 800; letter-spacing: -.065em; }
.brand-icon { display: inline-block; width: 30px; height: 30px; object-fit: contain; vertical-align: middle; transform: translateY(-3px); }
.nav, .back { font-weight: 700; font-size: 14px; color: var(--brand); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.35; letter-spacing: -.055em; word-break: keep-all; overflow-wrap: anywhere; }
.section-title { display: flex; align-items: baseline; gap: 12px; }
.section-title span { color: var(--muted); font-size: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.filters a { display: inline-block; border-radius: 99px; border: 1px solid var(--border); background: #fff; padding: 8px 15px; font-size: 14px; font-weight: 700; }
.filters a[aria-current] { background: var(--brand); color: #fff; border-color: var(--brand); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 20px; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: #80a98d; box-shadow: 0 4px 16px #28433312; }
.card-top, .card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.icon { width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: 14px; background: var(--tint, #e9f3e9); font-size: 24px; }
.kkotgo { --tint: #fae9ef; } .moyo { --tint: #e8edfc; } .luckymeal { --tint: #fff0dc; } .saladpet { --tint: #f4efda; } .mindcafe { --tint: #efe9f8; }
.tag { background: #f3f5f1; color: var(--muted); border-radius: 20px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.card h3 { margin-top: 16px; font-size: clamp(19px, 2.1vw, 24px); }
.card p, .detail .card p { margin: 8px 0 16px; font-size: 14px; color: var(--muted); word-break: keep-all; }
.card-bottom { border-top: 1px solid var(--border); padding-top: 11px; margin-top: auto; color: var(--brand); font-size: 14px; }
.detail { max-width: 760px; margin: 32px auto 0; }
.detail-head { background: #fff; border: 1px solid var(--border); padding: clamp(22px, 5vw, 48px); border-radius: 24px; margin-top: 16px; }
.detail h1 { font-size: clamp(29px, 5vw, 48px); margin-top: 6px; }
.meta { font-size: 14px; font-weight: 700; }
.action { display: inline-block; margin-top: 22px; padding: 12px 18px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700; }
.detail section { margin: 28px 0; }
.related { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
footer { margin-top: 48px; padding: 22px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
@media (max-width: 850px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .shell { width: calc(100% - 32px); } .grid { grid-template-columns: 1fr; } .hero { margin-top: 20px; } }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } }

:root { background: #fff; color: #20392f; --brand: #234739; --border: #dedfd1; --muted: #536158; }
header { background: #fff; }
.bar { min-height: 76px; }
.brand span { color: #e4efac; }
.directory { display: grid; gap: 12px; padding-top: 30px; }
.directory aside h2 { font-size: 20px; }
.filters { flex-direction: row; gap: 8px; margin: 10px 0 0; }
.filters a { border-radius: 8px; background: #fffdf8; border-color: var(--border); }
.filters a:hover { border-color: var(--border); }
.results input { width: 100%; font: inherit; padding: 11px 15px; color: inherit; background: #fffdf8; border: 1px solid var(--border); border-radius: 9px; }
.results input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.results .section-title { margin: 19px 0 12px; }
.results .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: #fffdf8; border-radius: 14px; padding: clamp(16px, 2vw, 24px); }
.card h3 { font-size: clamp(19px, 2.2vw, 25px); }
.card-bottom > span { font-size: 12px; }
.detail-head { background: #eeefe1; }
.detail-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.detail-guide section { background: #fffdf8; border: 1px solid var(--border); border-radius: 14px; padding: 20px; margin: 0; }
.detail-guide h2 { font-size: 20px; }
@media (max-width: 740px) {
  .directory { grid-template-columns: 1fr; gap: 6px; padding-top: 24px; }
  .filters { flex-direction: row; flex-wrap: wrap; margin: 9px 0; }
  .filters a { background: #fffdf8; border-color: var(--border); }
}
@media (max-width: 560px) {

  .results .grid, .detail-guide { grid-template-columns: 1fr; }
}


button, input { font-family: inherit; }
.filters a { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.filters a span { font-size: 12px; opacity: .75; font-variant-numeric: tabular-nums; }
.search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.search button { border: 1px solid var(--brand); border-radius: 9px; padding: 10px 12px; background: var(--brand); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.search button:hover { background: #315d4d; }
.search button:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }


:root { font-size: 14px; }
.brand { font-size: 18px; }
.nav, .back, .filters a, .search button { font-size: 13px; }
.directory aside h2, .section-title h2, .detail-guide h2 { font-size: 17px; }
.detail h1 { font-size: clamp(25px, 3.6vw, 39px); }
.results .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 0; overflow: hidden; }
.card-media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8; background: var(--tint, #e9f3e9); border-bottom: 1px solid var(--border); }
.card-media img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.card-media .tag { position: absolute; top: 10px; left: 10px; background: #fffdf8; }
.card-art { font-size: clamp(28px, 4vw, 44px); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 15px 16px; }
.card h3 { font-size: 17px; margin-top: 5px; }
.card h3 a:hover { text-decoration: underline; }
.card p, .detail .card p { font-size: 13px; }
.card p.card-service { margin: 0; color: var(--brand); font-size: 12px; font-weight: 700; }
.card-bottom { justify-content: flex-start; flex-wrap: wrap; font-size: 12px; }
.card-bottom a { padding: 5px 8px; border: 1px solid var(--border); border-radius: 6px; }
.card-bottom a:hover { border-color: var(--brand); }
.card-bottom .service-link { color: var(--brand); background: #edf2e6; font-weight: 700; }
@media (max-width: 850px) { .results .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .results .grid { grid-template-columns: 1fr; } }

.card-media img { object-fit: contain; }
.card-media-icon img { position: static; width: auto; height: auto; max-width: 55%; max-height: 66%; aspect-ratio: 1; border-radius: 14%; }




:root { color: #202831; --brand: #263742; --muted: #5d6b76; --border: #dde3e8; }
.hero { display: grid; grid-template-columns: minmax(0, 560fr) minmax(0, 768fr); min-height: 456px; margin-top: 24px; background: #eaf0f3; }
.hero > div { align-self: center; padding: 32px clamp(24px, 3vw, 42px); }
.hero h1 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 300; line-height: 1.375; letter-spacing: 0; }
.hero p { margin-top: 16px; font-size: 14px; line-height: 25px; color: var(--muted); word-break: keep-all; }
.hero-art { position: relative; min-width: 0; margin: 0; }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pick-detail { margin-top: 24px; }
.pick-hero { min-height: 320px; margin-top: 16px; }
.pick-hero > .card-media { align-self: stretch; padding: 0; aspect-ratio: auto; min-height: 200px; border: 0; background: #f0f3f5; }
.pick-hero .card-media img { inset: 0; margin: auto; }
.pick-meta { display: block; margin-bottom: 10px; color: var(--muted); font-size: 13px; font-weight: 500; }
.pick-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.pick-guide section { border-top: 1px solid var(--border); padding-top: 16px; }
.pick-guide h2, .pick-related h2 { font-size: 24px; font-weight: 500; letter-spacing: 0; }
.pick-guide p { margin-top: 8px; color: var(--muted); word-break: keep-all; }
.pick-guide .action { border-radius: 0; }
.comparison-banner { display: block; width: 100%; max-height: 160px; object-fit: contain; background: #f0f3f5; margin-bottom: 16px; }
.pick-guide .card-bottom { margin-top: 12px; }
.pick-related { margin-top: 40px; }
.pick-related h2 { margin-bottom: 16px; }
.directory-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.directory-heading .section-title { margin: 0; }
.directory-heading h2 { font-size: 24px; font-weight: 500; }
.directory-heading .filters { margin: 0; }
.filters a { border: 0; border-bottom: 1px solid transparent; border-radius: 0; padding: 6px 4px; background: transparent; color: var(--muted); font-weight: 400; }
.filters a:hover, .filters a[aria-current] { background: transparent; border-color: var(--brand); color: var(--brand); }
.situation-search label { display: block; margin: 18px 0 8px; font-weight: 700; }
.situation-search .search { max-width: 580px; }
.situation-search input { min-width: 0; width: 100%; padding: 11px 15px; border: 1px solid var(--border); border-radius: 9px; font: inherit; }
.search-example { margin-top: 12px; padding: 6px 12px; border: 1px solid var(--brand); border-radius: 20px; background: white; color: var(--brand); cursor: pointer; }
.results .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.results .card { border: 0; border-radius: 0; background: white; }
.results .card:hover { box-shadow: none; }
.results .card-media { aspect-ratio: 314 / 240; background: #f0f3f5; border: 0; }
.results .card-body { padding: 12px 0; }
.results .card h3 { font-size: 14px; font-weight: 500; }
.results .card-bottom .service-link { background: #eaf0f3; }
.results .card a:focus-visible { outline-offset: -2px; }
@media (max-width: 1100px) { .results .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { height: clamp(120px, 30vw, 220px); }
  .pick-hero > .card-media { height: clamp(170px, 44vw, 280px); min-height: 0; }
  .pick-guide { grid-template-columns: 1fr; }
  .results .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 480px) { .results .grid, .related { grid-template-columns: 1fr; } }


.header-nav { display: flex; align-items: center; gap: 12px; }
.edit-link { padding: 6px 10px; border: 1px solid var(--border); border-radius: 5px; }
.editor > label, .editor form { margin-top: 18px; }
.editor label { display: grid; gap: 5px; font-weight: 500; }
.editor form { display: grid; gap: 12px; }
.editor input, .editor select { width: 100%; padding: 8px; border: 1px solid var(--border); border-radius: 4px; font: inherit; }
.editor button { justify-self: start; border: 0; cursor: pointer; }

.inquiry { max-width: 760px; margin: 32px auto; }
.inquiry textarea { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 4px; font: inherit; resize: vertical; }
.inquiry .consent { display: flex; align-items: flex-start; gap: 8px; }
.inquiry .consent input { width: auto; margin-top: 5px; }
.inquiry-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.inquiry button:disabled { opacity: .6; cursor: default; }
.inquiry-item { border-top: 1px solid var(--border); padding: 20px 0; overflow-wrap: anywhere; }
.inquiry-item h2 { font-size: 20px; }
.inquiry-message { white-space: pre-wrap; }
footer .shell { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.correction-link { margin-top: 24px; }

footer a[href="#/request"], .correction-link a, .editor > a[href="#/inquiries"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #647581;
  border-radius: 6px;
  color: #263742;
  background: #fff;
  font-weight: 500;
  text-decoration: none;
}
footer a[href="#/request"]:hover, .correction-link a:hover, .editor > a[href="#/inquiries"]:hover { background: #eaf0f3; }
footer a[href="#/request"]:focus-visible, .correction-link a:focus-visible, .editor > a[href="#/inquiries"]:focus-visible { outline: 2px solid #263742; outline-offset: 3px; }

.privacy { max-width: 860px; margin: 32px auto; line-height: 1.8; }
.privacy h2 { margin: 32px 0 10px; font-size: 22px; }
.privacy p, .privacy li { overflow-wrap: anywhere; }
.privacy .policy-date { color: var(--muted); }
.policy-draft { padding: 16px; background: #fff8e6; border: 1px solid #c5a652; border-radius: 6px; }
.policy-table { overflow-x: auto; }
.privacy table { width: 100%; border-collapse: collapse; text-align: left; font-size: 15px; }
.privacy th, .privacy td { min-width: 120px; padding: 12px; border: 1px solid var(--border); vertical-align: top; }
.privacy th { background: #eaf0f3; }
footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
footer :is(a[href="#/terms"], a[href="#/privacy"]) { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* Kukka detail pilot. */
.kukka-detail { padding-bottom: 32px; }
.kukka-detail.kukka-focused { padding-bottom:0; }
.legal-terms h2:not(:first-of-type) { margin-top:2.5em; }
.search-examples { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.search-examples .search-example { margin:0; }
.draft-note { padding:12px 16px; border:1px dashed var(--border); border-radius:8px; background:var(--soft); color:var(--ink); }
main:has(> .kukka-focused) + footer { margin-top:20px; }
.kukka-hero { display:grid; grid-template-columns:1.05fr 1fr; background:#edf1ec; margin-top:20px; }
.kukka-intro { padding:clamp(24px,4vw,52px); align-self:center; }
.kukka-eyebrow { color:#5b6d60; font-size:13px; font-weight:600; letter-spacing:.06em; margin:0 0 12px; }
.kukka-intro h1 { font-size:48px; font-weight:500; line-height:1.1; margin:12px 0 22px; }
.kukka-intro h2 { font-size:clamp(23px,2.5vw,32px); font-weight:400; line-height:1.5; margin:0 0 16px; }
.kukka-intro > p:not(.kukka-eyebrow) { line-height:1.8; }
.kukka-tags { display:flex; flex-wrap:wrap; gap:7px; margin:20px 0; }
.kukka-tags span { border:1px solid #bdc9bc; border-radius:24px; padding:5px 10px; font-size:13px; }
.kukka-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.kukka-actions > a:not(.action) { border:1px solid #9ba99d; padding:12px 15px; font-size:14px; }
.kukka-cover { margin:0; display:flex; flex-direction:column; min-width:0; }
.kukka-cover img { width:100%; height:100%; max-height:570px; min-height:360px; object-fit:cover; }
.kukka-cover figcaption { background:#f5f6f1; padding:10px 16px; color:#58655b; font-size:12px; }
.kukka-small { color:#66716b; font-size:13px; line-height:1.7; }
.kukka-facts { display:grid; grid-template-columns:repeat(4,1fr); border-bottom:1px solid var(--border); margin:0; padding:25px 0; gap:20px; }
.kukka-facts > div { padding:0 20px; border-right:1px solid var(--border); }
.kukka-facts > div:last-child { border:0; }
.kukka-facts dt { color:#66716b; font-size:13px; margin-bottom:9px; }
.kukka-facts dd { margin:0; font-size:15px; font-weight:500; }
.kukka-facts small { display:block; margin-top:7px; font-size:12px; font-weight:400; color:#66716b; line-height:1.6; }
.kukka-content { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:48px; padding-top:42px; }
.kukka-focused .kukka-features { margin-top:36px; }
.kukka-focused .kukka-hero { grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); }
.kukka-focused .kukka-hero > .card-media { min-width:0; min-height:240px; height:auto; aspect-ratio:auto; overflow:hidden; border:0; background:var(--soft, #f0f3f5); }
.kukka-focused .kukka-hero > .card-media img { position:absolute; inset:0; width:100%; height:100%; max-width:100%; object-fit:contain; }
.kukka-focused .kukka-hero > .card-media-icon img { max-width:55%; margin:auto; }
@media(max-width:600px) { .kukka-focused .kukka-hero { grid-template-columns:1fr; } .kukka-focused .kukka-hero > .card-media { height:auto; aspect-ratio:16/9; min-height:0; } }
.kukka-focused .kukka-intro { min-width:0; width:100%; box-sizing:border-box; }
.kukka-focused .kukka-detail-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin:64px 0 0; padding:12px 0; }
.kukka-detail-footer p { margin:0; }
.kukka-detail-footer > a { display:inline-flex; align-items:center; justify-content:center; min-height:42px; box-sizing:border-box; padding:9px 16px; border:1px solid var(--border); border-radius:10px; color:var(--brand); font-size:14px; text-decoration:none; }
.kukka-focused .kukka-intro h2 { max-width:30ch; }
.kukka-focused .kukka-actions { margin-top:24px; align-items:stretch; }
.kukka-focused .kukka-actions > a { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; min-height:46px; min-width:112px; margin:0; padding:11px 18px; border:1px solid var(--brand); border-radius:10px; font-size:14px; font-weight:700; line-height:1.5; text-decoration:none; }
.kukka-focused .kukka-actions > a:not(.action) { color:var(--brand); background:transparent; }
.kukka-focused .kukka-actions > a:hover { box-shadow:0 0 0 2px var(--border); }
.kukka-focused .kukka-actions > a:focus-visible { outline:2px solid var(--brand); outline-offset:3px; }
.kukka-focused .kukka-options h3 { margin-top:0; }
.kukka-focused .kukka-cover img { max-height:360px; }
.kukka-difference { border-top:1px solid var(--border); padding:18px 0; }
.kukka-difference h3 { font-size:18px; margin:0 0 8px; }
.kukka-difference p { margin:0; word-break:keep-all; overflow-wrap:anywhere; }
.kukka-compare-note, .kukka-before { padding:20px; background:var(--soft, #f5f6f4); border:1px solid var(--border); }
.kukka-focused .kukka-compare-note { font-size:14px; }
.kukka-evidence { color:var(--muted); font-size:14px; margin:0 0 24px; }
.kukka-evidence a, .kukka-compare-note a, .kukka-before > a { text-decoration:underline; text-underline-offset:3px; }
.kukka-section { margin:0 0 48px; }
.kukka-section > h2 { font-size:26px; font-weight:500; margin:0 0 20px; }
.kukka-section p { line-height:1.8; }
.kukka-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr)); gap:12px; margin-top:24px; }
.kukka-options > :is(a,.detail-feature) { display:block; min-width:0; overflow-wrap:anywhere; border:1px solid #d4dbd2; padding:20px 16px; background:#f9faf6; text-decoration:none; }
.detail-feature > a { display:inline-block; margin-top:12px; text-decoration:underline; text-underline-offset:4px; }
.editor fieldset { min-width:0; margin:20px 0; border:1px solid var(--border); padding:16px; }
.editor textarea { width:100%; min-height:90px; box-sizing:border-box; }
[data-theme="dark"] .kukka-options > .detail-feature { background:var(--surface); border-color:var(--border); color:var(--ink); }
.kukka-options > a:hover { border-color:#50664e; background:#f0f3e9; }
.kukka-options span { font-size:12px; color:#6c7968; }
.kukka-options h3 { font-size:18px; margin:12px 0; }
.kukka-options p { font-size:14px; }
.kukka-options b { display:block; font-size:13px; font-weight:500; margin-top:18px; text-decoration:underline; text-underline-offset:4px; }
.kukka-gallery { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.kukka-gallery figure { margin:0; min-width:0; }
.kukka-gallery img { width:100%; aspect-ratio:1; object-fit:cover; display:block; background:#f3f1ed; }
.kukka-gallery figcaption { padding:12px 0; font-size:14px; }
.kukka-gallery figcaption span { display:block; font-size:12px; color:#66716b; margin-top:6px; }
.kukka-gallery a { text-decoration:none; }
.kukka-steps { margin:0; padding-left:25px; }
.kukka-steps li { padding:0 0 18px 10px; }
.kukka-steps li::marker { color:#60765a; font-weight:700; }
.kukka-steps h3 { margin:0 0 8px; font-size:17px; font-weight:500; }
.kukka-steps p { margin:0; font-size:15px; color:#59675e; }
.kukka-aside { align-self:start; position:sticky; top:24px; padding:24px; background:#f5f5ed; border:1px solid #d9ddcf; }
.kukka-aside h2 { font-size:19px; margin:0 0 20px; }
.kukka-aside ul { padding-left:18px; margin-bottom:24px; }
.kukka-aside li { font-size:14px; margin:14px 0; line-height:1.8; }
.kukka-aside .action { display:block; text-align:center; }
.kukka-policy-link { display:block; font-size:13px; text-align:center; margin-top:15px; text-decoration:underline; text-underline-offset:4px; }
.kukka-sources { border-top:1px solid #d9ddcf; margin-top:24px; padding-top:20px; }
.kukka-sources h3 { font-size:14px; margin:0 0 10px; }
.kukka-sources p { font-size:12px; color:#606c62; line-height:1.8; }
.kukka-section details { border-top:1px solid var(--border); padding:18px 0; }
.kukka-section details:last-child { border-bottom:1px solid var(--border); }
.kukka-section summary { cursor:pointer; font-size:16px; font-weight:500; line-height:1.6; }
.kukka-section details p,.kukka-section details a { font-size:14px; }
.kukka-section details a { text-decoration:underline; text-underline-offset:4px; }
.kukka-bottom { display:flex; justify-content:space-between; flex-wrap:wrap; gap:16px; align-items:center; border-top:1px solid var(--border); padding-top:24px; }
.kukka-bottom a { border:1px solid #8a998a; padding:12px 18px; }
.kukka-bottom p { color:#66716b; font-size:13px; }
@media(max-width:900px) { .kukka-content { grid-template-columns:minmax(0,1fr); gap:0; } .kukka-aside { position:static; margin-bottom:32px; } .kukka-facts { grid-template-columns:1fr 1fr; row-gap:25px; } .kukka-facts > div:nth-child(2) { border:0; } }
@media(max-width:600px) { .kukka-hero { grid-template-columns:1fr; } .kukka-intro h1 { font-size:40px; } .kukka-cover img { min-height:0; max-height:400px; aspect-ratio:1.2; } .kukka-options { grid-template-columns:1fr; } .kukka-options > a { padding:18px; } .kukka-section > h2 { font-size:23px; } .kukka-facts > div { padding:0 10px; } .kukka-gallery { gap:12px; } }

.kukka-intro h1:focus { outline: none; }

.list-only { display: none; }
.view-toolbar { display:flex; justify-content:flex-end; gap:6px; margin:4px 0 20px; }
.view-toolbar button { padding:9px 14px; min-height:44px; border:1px solid #a5b1b8; border-radius:5px; background:#fff; color:#263742; font:inherit; font-size:14px; cursor:pointer; }
.view-toolbar button[aria-pressed="true"] { background:#263742; border-color:#263742; color:#fff; }
.view-toolbar button:focus-visible { outline:3px solid #237554; outline-offset:3px; }
.results .service-results.list-view { display:block; }
.list-view .card-media { display:none; }
.results .list-view .card { border-top:1px solid var(--border); padding:22px 20px; }
.results .list-view .card:last-child { border-bottom:1px solid var(--border); }
.results .list-view .card:hover { background:#f8faf9; }
.results .list-view .card-body { display:flex; flex-direction:column; padding:0; gap:8px; }
.results .list-view .card h3 { font-size:18px; line-height:1.5; }
.list-view .card-service { order:-1; display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.list-view .list-only { display:inline-flex; }
.list-view .list-category { padding:2px 8px; background:#edf1f3; color:#53615a; font-size:12px; }
.results .list-view .card-bottom { margin-top:6px; justify-content:flex-start; flex-wrap:wrap; gap:10px; }
.list-view .detail-link { padding:7px 12px; border:1px solid #647581; border-radius:4px; font-size:13px; }
@media(max-width:600px) { .view-toolbar { justify-content:flex-start; } .results .list-view .card h3 { font-size:16px; } }

@media(min-width:801px) {
  .results .list-view .card { padding:18px 24px; }
  .results .list-view .card-body { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:28px; row-gap:6px; align-items:center; }
  .list-view .card-service { grid-column:1; grid-row:1; order:initial; }
  .results .list-view .card h3 { grid-column:1; grid-row:2; }
  .results .list-view .card-body > p:not(.card-service) { grid-column:1; grid-row:3; margin:0; }
  .results .list-view .card-bottom { grid-column:2; grid-row:1 / 4; margin:0; padding:0; border:0; justify-content:flex-end; max-width:370px; }
}

.view-toolbar { gap:6px; }
.view-toolbar button { display:inline-flex; align-items:center; justify-content:center; width:36px; min-height:36px; padding:8px; border-radius:0; }
.view-toolbar button svg { display:block; width:18px; height:18px; }
.view-toolbar button[aria-pressed="false"] { color:#87949c; }
/* Keep authenticated controls hidden even when navigation layout sets display. */
[hidden] { display: none !important; }
.auth-button { font: inherit; cursor: pointer; border: 1px solid currentColor; border-radius: 6px; background: transparent; padding: 6px 10px; }

/* Theme tokens apply to every route; photographs keep their original colors. */
:root {
  color-scheme: light;
  --canvas: #fff; --ink: #202831; --surface: #fffdf8; --soft: #edf1f3;
  --hero: #eaf0f3; --brand: #263742; --on-brand: #fff;
  --muted: #5d6b76; --border: #dde3e8; --focus: #237554;
  color: var(--ink); background: var(--canvas);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #141a20; --ink: #e4eaf0; --surface: #1c242c; --soft: #26323c;
  --hero: #202d36; --brand: #a3d6c5; --on-brand: #142b23;
  --muted: #afbdc8; --border: #43515e; --focus: #b2e8d5;
}
.header-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.theme-control { position: relative; flex: none; width: 44px; height: 44px; color: var(--ink); }
.theme-control summary { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 6px; background: var(--canvas); cursor: pointer; list-style: none; }
.theme-control summary::-webkit-details-marker { display: none; }
.theme-options { position: absolute; z-index: 10; right: 0; top: 50px; min-width: 140px; padding: 6px; border: 1px solid var(--border); border-radius: 8px; background: var(--canvas); box-shadow: 0 6px 24px #0003; }
.theme-options button { display: block; width: 100%; padding: 10px 12px; text-align: left; border: 0; border-radius: 4px; font: inherit; color: var(--ink); background: transparent; cursor: pointer; }
.theme-options button:hover { background: var(--soft); }
.theme-options button[aria-pressed="true"] { color: var(--on-brand); background: var(--brand); }
.theme-control svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-control .theme-moon { display: none; }
[data-theme="dark"] .theme-control .theme-sun { display: none; }
[data-theme="dark"] .theme-control .theme-moon { display: block; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
input, textarea, select { color: var(--ink); background-color: var(--canvas); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input[type="checkbox"] { accent-color: var(--brand); }
[data-theme="dark"] header { background: var(--canvas); }
[data-theme="dark"] :is(.card, .detail-head, .detail-guide section, .editor input, .editor select, .inquiry textarea, .situation-search input, .results input) { background: var(--surface); color: var(--ink); }
[data-theme="dark"] :is(.hero, .privacy th, .kukka-hero) { background: var(--hero); }
[data-theme="dark"] :is(.tag, .card-media .tag, .list-view .list-category) { background: var(--soft); color: var(--ink); }
[data-theme="dark"] .brand span { color: var(--on-brand); }
[data-theme="dark"] :is(.action, .search button, .view-toolbar button[aria-pressed="true"]) { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
[data-theme="dark"] .search button:hover { background: #b9e8d9; }
[data-theme="dark"] :is(.card-bottom .service-link, .search-example) { background: var(--soft); color: var(--brand); }
[data-theme="dark"] :is(.view-toolbar button, footer a[href="#/request"], .correction-link a, .editor > a[href="#/inquiries"]) { background: var(--surface); border-color: var(--border); color: var(--brand); }
[data-theme="dark"] .view-toolbar button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
[data-theme="dark"] :is(footer a[href="#/request"]:hover, .correction-link a:hover, .editor > a[href="#/inquiries"]:hover, .results .list-view .card:hover) { background: var(--soft); }
[data-theme="dark"] .policy-draft { background: #332b1c; border-color: #927c45; color: #f0dfb7; }
[data-theme="dark"] :is(.kukka-aside, .kukka-options > a, .kukka-cover figcaption) { background: var(--surface); border-color: var(--border); color: var(--ink); }
[data-theme="dark"] .kukka-options > a:hover { background: var(--soft); border-color: var(--brand); }
[data-theme="dark"] :is(.kukka-eyebrow, .kukka-small, .kukka-facts dt, .kukka-facts small, .kukka-options span, .kukka-gallery figcaption span, .kukka-steps p, .kukka-sources p, .kukka-bottom p) { color: var(--muted); }
[data-theme="dark"] :is(.kukka-tags span, .kukka-actions > a:not(.action), .kukka-options > a, .kukka-sources, .kukka-bottom a, .list-view .detail-link) { border-color: var(--border); }
[data-theme="dark"] .kukka-steps li::marker { color: var(--brand); }
[data-theme="dark"] .card:hover { border-color: var(--brand); box-shadow: none; }
@media (max-width: 600px) {
  .bar { flex-wrap: wrap; padding-block: 12px; }
  .header-nav { justify-content: flex-start; width: 100%; gap: 8px 12px; }
}
