* { box-sizing: border-box; }
[hidden] { display: none !important; }
:root { font-family: "Instrument Sans", Inter, system-ui, sans-serif; color: #203027; background: #f3f5f1; }
body { margin: 0; }
header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem max(1rem, calc((100% - 1060px) / 2)); background: #182e25; color: white; }
header strong { font-size: 1.15rem; }
small { display: block; margin-top: .25rem; opacity: .8; }
main { max-width: 1092px; margin: 1.5rem auto; padding: 0 1rem; }
nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
button, input, select { font: inherit; }
button { background: #235642; color: white; border: 1px solid transparent; border-radius: .45rem; padding: .6rem .85rem; cursor: pointer; }
button:disabled { opacity: .5; cursor: wait; }
nav button, button.secondary, header button { background: #eaf0e9; color: #213b2d; border-color: #c4d4c8; }
nav [aria-current="page"] { background: #235642; color: white; }
.panel { background: white; border: 1px solid #dbe3da; border-radius: .8rem; padding: clamp(1rem, 3vw, 2rem); }
#login { max-width: 440px; }
h1 { font-size: 1.6rem; margin: 0 0 1rem; }
h2 { font-size: 1.15rem; margin-top: 2rem; }
label { display: block; font-weight: 600; margin-bottom: .8rem; }
input, select { width: 100%; padding: .55rem .65rem; border: 1px solid #a9b9ad; border-radius: .4rem; background: #fff; color: inherit; }
label input, label select { display: block; margin-top: .35rem; }
:focus-visible { outline: 3px solid #3c8064; outline-offset: 2px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: .65rem; margin-bottom: .5rem; }
.choices { display: flex; flex-direction: column; gap: .2rem; }
.choices button { text-align: left; color: #1d3d30; background: #eef4ed; border: 1px solid #dbe6dc; }
.position { display: grid; grid-template-columns: minmax(0, 1fr) 7rem auto; align-items: center; gap: .6rem; border-top: 1px solid #e1e7df; padding: .65rem 0; }
#post, #more { margin-top: .8rem; }
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; }
th, td { padding: .6rem; border-bottom: 1px solid #dbe3da; }
th { background: #eef2ed; }
details { border: 1px solid #dbe3da; padding: .75rem; margin-bottom: .5rem; border-radius: .4rem; }
summary { cursor: pointer; }
details form { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
details form input { flex: 1 1 16rem; }
#status { padding: .8rem; background: #e3efe4; border-radius: .4rem; }
#status.error { background: #fae6e3; color: #7b2920; }
@media (max-width: 480px) { .position { grid-template-columns: 1fr auto; } .position > div { grid-column: span 2; } }

