:root { font: 16px/1.6 system-ui, sans-serif; color: #172a36; background: #edf2f4; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { padding: 16px max(20px, calc((100% - 760px) / 2)); color: white; background: #102632; display: flex; justify-content: space-between; gap: 8px; }
header div { display: flex; gap: 16px; align-items: baseline; }
.brand { font-weight: 800; letter-spacing: .02em; color: #a4ead9; }
main { margin: 32px auto; width: min(760px, calc(100% - 32px)); }
.panel { background: white; padding: clamp(18px, 4vw, 32px); margin-bottom: 20px; border: 1px solid #d9e3e7; border-radius: 14px; }
h1, h2, h3 { margin: 0 0 14px; line-height: 1.25; }
form label { display: block; margin: 12px 0 4px; font-weight: 650; }
textarea, input[type=password], input[type=file] { display: block; width: 100%; max-width: 100%; border-radius: 7px; padding: 10px; border: 1px solid #a9b9c0; font: inherit; }
textarea { resize: vertical; }
button { min-height: 44px; padding: 8px 15px; border: 1px solid #a9b9c0; border-radius: 8px; cursor: pointer; background: white; color: #143842; font: inherit; }
button:disabled { opacity: .55; cursor: wait; }
button.primary { background: #007366; color: white; border-color: #007366; margin-top: 12px; }
.note, #notice { color: #4a606b; }
#notice[data-error=true] { color: #a42626; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
article { border-top: 1px solid #e3ebee; padding: 16px 0; }
article p { white-space: pre-wrap; overflow-wrap: anywhere; }
.attachment { margin: 4px 8px 4px 0; }
img, video { display: block; max-width: 100%; max-height: 55vh; margin: 8px 0 14px; }
progress { display: block; width: 100%; margin-top: 10px; }
