/* Copyright (c) 2026 n7.com. All rights reserved. */
:root { color-scheme: light; font: 100%/1.6 system-ui, sans-serif; color: #17343b; background: #e0ffff; }
* { box-sizing: border-box; }
body { max-width: 54rem; margin: 0 auto; padding: 1rem; }
h1 { font-size: clamp(1.5rem, 5vw, 2rem); line-height: 1.3; margin: .25rem 0 .5rem; }
h2 { font-size: 1.05rem; margin: .75rem 0 .4rem; }
p { overflow-wrap: anywhere; }
.intro { font-size: .9rem; margin: .5rem 0 .75rem; }
textarea { display: block; width: 100%; min-height: 6rem; resize: vertical; padding: .65rem; font: 1rem/1.5 ui-monospace, monospace; border: 1px solid #55787f; border-radius: .25rem; background: white; color: #172c32; }
textarea[readonly] { background: #f4fbfc; }
label { display: block; font-weight: 600; margin-bottom: .3rem; }
.settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: .75rem 0; }
select, button { min-height: 2.75rem; max-width: 100%; padding: .5rem .75rem; font: inherit; }
select { width: 100%; }
button { margin-top: .75rem; cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid #006f9e; outline-offset: 3px; }
a { color: #005c87; }
.error { color: #9a2020; font-weight: 600; }
#status { min-height: 1.6em; }
.result-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .75rem; }
.result-heading p { margin: 0; font-size: .85rem; }
#result:empty { display: none; }
details { margin-top: .5rem; font-size: .9rem; }
summary { cursor: pointer; }
footer { margin-top: 1.25rem; padding-top: .75rem; border-top: 1px solid #7ba4ac; }
