* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #f6f4ef; color: #172922; font: 1rem/1.5 system-ui, sans-serif; }
header { background: #173b2f; color: white; padding: 1rem max(1rem, calc((100vw - 60rem) / 2)); display: flex; align-items: center; justify-content: space-between; }
header strong { font-size: 1.35rem; }
header span { color: #b8dfb8; margin-left: .3rem; font-size: .8rem; }
main { max-width: 62rem; margin: 1.5rem auto; padding: 0 1rem; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .75rem; }
section, form { background: white; border: 1px solid #d4ded5; border-radius: .75rem; padding: 1rem; }
form { display: grid; gap: .9rem; align-content: start; }
.auth { max-width: 26rem; margin: 2rem auto; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); margin: 1rem 0; }
label { display: grid; gap: .35rem; font-weight: 600; }
input, select, button { min-height: 2.85rem; font: inherit; border-radius: .4rem; }
input, select { width: 100%; border: 1px solid #688275; padding: .5rem .65rem; background: white; }
button { cursor: pointer; background: #23553f; color: white; border: 0; padding: .55rem .85rem; font-weight: 650; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #aa5900; outline-offset: 2px; }
li { padding: .4rem 0; overflow-wrap: anywhere; }
.list { padding-left: 1.25rem; }
.list button { display: block; margin-top: .35rem; }
#status:empty { display: none; }
#status { color: #7a3023; }
.link { margin: 1rem 0; }
.catalog { margin-top: 1rem; }
.catalog > form, .catalog-item { margin: .85rem 0; }
.catalog-item { border: 1px solid #d4ded5; border-radius: .55rem; padding: .75rem; }
.catalog-item details { margin: .4rem 0; }
.catalog-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
textarea { font: inherit; width: 100%; padding: .5rem .65rem; border: 1px solid #688275; border-radius: .4rem; resize: vertical; }
.study-option { display: flex; align-items: center; gap: .65rem; min-height: 2.75rem; }
.study-option input { width: 1.2rem; min-height: 1.2rem; accent-color: #23553f; }
.study-feedback { background: #f0f5ef; border-radius: .55rem; padding: 1rem; margin-bottom: .75rem; }
.study-actions { margin-top: .75rem; }
.report { margin-top: 1rem; }
.report-filters { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); align-items: end; margin-bottom: 1rem; }
.report-table { overflow-x: auto; margin-bottom: .9rem; }
.report-table table { width: 100%; border-collapse: collapse; }
.report-table th, .report-table td { padding: .65rem; text-align: left; border-bottom: 1px solid #d4ded5; }
.report-table th { background: #f0f5ef; }
.report-table td:nth-child(n+3), .report-table th:nth-child(n+3) { white-space: nowrap; }
