/* secret-share styles. No external resources, no fonts, no images. */
:root { color-scheme: light dark; --accent: #0b5cad; --error: #b00020; --warn: #8a5a00; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
main { max-width: 44rem; margin: 2rem auto; padding: 0 1rem; }
h1 { margin-bottom: 0.25rem; }
.lead, .hint { color: GrayText; }
label { display: block; margin: 1rem 0 0.25rem; font-weight: 600; }
.check { display: flex; gap: 0.5rem; align-items: flex-start; margin-top: 1rem; }
.check label { margin: 0; font-weight: normal; }
.check input { margin-top: 0.3rem; }
fieldset { margin-top: 1rem; border: 1px solid #767676; border-radius: 4px; }
textarea, input[type="text"], input[type="password"], select {
  width: 100%; padding: 0.5rem; font: inherit; border: 1px solid #767676; border-radius: 4px;
}
textarea { font-family: ui-monospace, Consolas, monospace; resize: vertical; }
button {
  margin-top: 1rem; padding: 0.55rem 1.1rem; font: inherit; color: #fff; background: var(--accent);
  border: 0; border-radius: 4px; cursor: pointer;
}
button:disabled { opacity: 0.6; cursor: not-allowed; }
.actions button { margin-right: 0.5rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
#status { min-height: 1.5rem; margin-top: 1rem; }
#status[data-kind="error"], #note-count[data-kind="error"], .error { color: var(--error); font-weight: 600; }
.warning { color: var(--warn); font-weight: 600; }
[hidden] { display: none !important; }
@media (prefers-color-scheme: dark) { :root { --accent: #6aa8f0; --error: #ff8a80; --warn: #ffcc66; } button { color: #000; } }
