:root { font-family: system-ui, sans-serif; color: #17283b; background: #f2f5f8; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
main { max-width: 960px; margin: 2rem auto; padding: 2rem; background: white; border-radius: 12px; }
header, .toolbar, nav { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
header { justify-content: space-between; border-bottom: 1px solid #ccd6df; }
button, input, textarea { font: inherit; }
button, a { min-height: 44px; }
button { padding: .65rem 1rem; cursor: pointer; border: 1px solid #486683; border-radius: 6px; background: #f5f8fb; color: #17283b; }
button:disabled { cursor: default; opacity: .6; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #176ac7; outline-offset: 3px; }
form > label { display: block; margin-top: 1rem; font-weight: 600; }
form input, textarea { width: 100%; padding: .65rem; border: 1px solid #718397; border-radius: 4px; }
input[readonly], textarea[readonly] { background: #f2f5f8; }
small { display: block; margin: .5rem 0 1rem; }
#rows { list-style: none; padding: 0; }
#rows li { display: grid; grid-template-columns: 1fr 2fr auto auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid #ccd6df; overflow-wrap: anywhere; }
#message { padding: 1rem; background: #eef4fb; }
#message.error { background: #fff0ef; color: #85251a; }
@media (max-width: 600px) { main { margin: 0; padding: 1rem; border-radius: 0; } #rows li { grid-template-columns: 1fr; gap: .5rem; } }
