:root { color-scheme: light; font: 16px/1.5 Inter, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif; color: #183328; background: #f3f5f0; }
* { box-sizing: border-box; }
body { margin: 0; }
.topbar { padding: .95rem max(1.2rem, calc((100vw - 1060px) / 2)); background: #fff; border-bottom: 1px solid #e0e7de; display: flex; justify-content: space-between; gap: .6rem; align-items: center; }
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 760; letter-spacing: -.03em; }
.brand small { font-weight: 530; margin-left: .25rem; color: #4a6356; }
.mark { display: grid; place-items: center; width: 2.05rem; height: 2.05rem; border-radius: .68rem; background: #176448; color: #fff; }
main { max-width: 1100px; padding: 2.65rem 1.25rem; margin: auto; }
.login-page { max-width: 480px; padding-top: clamp(2rem, 13vh, 7rem); }
.login-page h1 { margin: 1rem 0 1.3rem; }
.login-page button { width: 100%; margin-top: .85rem; }
.login-page #login-message { min-height: 1.3em; margin-bottom: 0; }
.jump-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.jump-links a { color: #145a40; background: #e4eee4; padding: .45rem .72rem; border-radius: .5rem; text-decoration: none; font-weight: 650; }
.intro, .section-title, .switch { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.intro p { margin: .2rem 0; }
.eyebrow { color: #196047; font-weight: 720; font-size: .83rem; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.055em; line-height: 1.12; margin: .25rem 0 .7rem; }
h2 { font-size: 1.2rem; margin: 0; letter-spacing: -.035em; }
#device, .detail, small { color: #496356; }
.detail { font-size: .88rem; }
.pill { display: inline-block; border-radius: 99px; white-space: nowrap; padding: .22rem .66rem; font-size: .79rem; background: #e9eee6; color: #385747; }
.pill[data-online="true"] { background: #dff1e5; color: #155d42; }
.layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; }
.side { display: grid; gap: 1rem; align-content: start; }
.panel { padding: 1.3rem 1.4rem; border: 1px solid #dce6da; background: #fff; border-radius: 1rem; }
.switch { padding: 1rem 0; cursor: pointer; }
.switch small { display: block; }
.switch input { accent-color: #176448; inline-size: 1.1rem; block-size: 1.1rem; flex-shrink: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
label { font-size: .93rem; font-weight: 630; }
label small { font-weight: 450; }
input:not([type="checkbox"]), select, textarea { display: block; margin-top: .35rem; width: 100%; padding: .52rem .62rem; background: #f8faf7; border: 1px solid #cbd8cc; border-radius: .5rem; font: inherit; color: inherit; }
textarea { resize: vertical; }
.divider { border-top: 1px solid #e1e8de; margin-top: 1.15rem; padding-top: 1.2rem; }
button { font: inherit; font-weight: 700; border: 1px solid transparent; border-radius: .58rem; min-height: 2.6rem; padding: .5rem .9rem; color: #fff; background: #176448; cursor: pointer; white-space: nowrap; }
button:disabled { opacity: .52; cursor: default; }
.secondary { border-color: #c8d8cc; background: #f6f9f4; color: #1b523b; }
:focus-visible { outline: 2px solid #17734f; outline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; }
#save, #ask, #question { margin-top: .9rem; }
#message { min-height: 1.5rem; font-size: .9rem; color: #275945; }
#message[data-error="true"] { color: #982d27; }
#answer { white-space: pre-wrap; }
audio { max-width: 100%; width: 100%; }
@media (max-width: 720px) { main { padding-top: 1.55rem; } .layout { grid-template-columns: 1fr; } }
@media (max-width: 395px) { .intro { align-items: start; flex-direction: column; } .fields { grid-template-columns: 1fr; } }
