:root { font-family: -apple-system, BlinkMacSystemFont, "Noto Sans KR", sans-serif; color: #152d30; background: #f2f6f5; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; padding: 44px 18px; }
main { max-width: 520px; margin: auto; }
.eyebrow { color: #176d60; font-weight: 700; letter-spacing: .05em; }
h1 { font-size: 32px; letter-spacing: -.04em; margin-bottom: 14px; }
h2 { font-size: 20px; margin-top: 0; }
p { line-height: 1.7; }
.intro { color: #526567; }
section, details { background: white; padding: 26px; margin: 18px 0; border: 1px solid #d7e3df; border-radius: 16px; }
label { display: block; margin: 16px 0; font-weight: 600; }
input, select, textarea { width: 100%; padding: 13px; margin-top: 8px; border: 1px solid #a8beb7; border-radius: 8px; font: inherit; }
input:focus-visible, button:focus-visible { outline: 3px solid #55a991; outline-offset: 3px; }
button { cursor: pointer; background: #176d60; color: white; border: 0; padding: 14px 18px; border-radius: 8px; font: inherit; font-weight: 600; margin-top: 14px; width: 100%; }
button:disabled { cursor: wait; opacity: .55; }
.secondary { background: #e1ece7; color: #214e43; }
.check { display: flex; gap: 10px; align-items: start; font-size: 14px; line-height: 1.7; }
.check input { width: 18px; flex: 0 0 18px; margin-top: 4px; }
summary { cursor: pointer; font-weight: 600; }
small, footer { color: #647571; line-height: 1.8; }
footer { margin-top: 28px; font-size: 12px; text-align: center; }
#message { min-height: 26px; color: #176d60; overflow-wrap: anywhere; }
#message.error { color: #a52630; }
[hidden] { display: none !important; }
section details { padding: 16px; }
.entry { padding: 14px 0; border-bottom: 1px solid #d7e3df; overflow-wrap: anywhere; }
#recovery-code { overflow-wrap: anywhere; }
.statistics-view:not([hidden]) + .statistics-view:not([hidden]) { border-top: 1px solid #d7e3df; margin-top: 24px; padding-top: 8px; }
.statistics-scope, .statistics-status { overflow-wrap: anywhere; }
.statistics-status:empty { margin: 0; }
.statistics-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.statistics-bucket, .statistics-fields > small { grid-column: 1 / -1; }
.statistics-fields label { margin: 6px 0; }
.statistics-fields input { min-width: 0; }
.statistics-table { max-width: 100%; overflow-x: auto; margin-top: 18px; }
.statistics-table table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.statistics-table caption { text-align: left; font-size: 1rem; font-weight: 700; padding-bottom: 8px; }
.statistics-table th, .statistics-table td { padding: 8px; border-bottom: 1px solid #d7e3df; text-align: left; overflow-wrap: anywhere; }
.statistics-table thead th { background: #e1ece7; }
.statistics-table td { font-variant-numeric: tabular-nums; }
@media (max-width: 420px) {
  .statistics-fields { grid-template-columns: 1fr; }
  #statistics-panel { padding: 18px; }
}
