:root { color-scheme: light; font-family: system-ui, sans-serif; color: #16332f; background: #f4f6f3; line-height: 1.5; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header, main, footer { max-width: 1240px; margin: auto; padding: 24px; }
header { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid #c9d7cf; }
h1 { font-size: 2rem; margin: 0; letter-spacing: -.04em; }
h2 { font-size: 1.15rem; margin: 0 0 16px; }
h3 { margin: 0 0 8px; font-size: 1rem; }
p { margin: 0 0 12px; }
.eyebrow { text-transform: uppercase; font-size: .7rem; letter-spacing: .16em; margin: 0 0 6px; color: #536c62; }
.notice { border-left: 3px solid #58816b; padding: 8px 16px; font-size: .9rem; }
#status { min-height: 28px; margin: 20px 0; font-weight: 600; overflow-wrap: anywhere; }
#status.error { color: #8b2c18; }
.panel { border: 1px solid #c9d7cf; border-radius: 12px; padding: 22px; margin: 20px 0; background: #fff; min-width: 0; }
#login { max-width: 600px; }
label { display: block; font-weight: 600; margin: 12px 0 6px; }
input, select, textarea { width: 100%; min-height: 44px; border: 1px solid #90a79a; border-radius: 6px; background: #fff; color: inherit; font: inherit; padding: 9px 12px; }
input[type=file] { padding: 8px; font-size: .9rem; }
textarea { min-height: 84px; resize: vertical; }
button { min-height: 44px; border: 1px solid #245b42; border-radius: 7px; padding: 10px 16px; font: inherit; font-weight: 600; background: #245b42; color: #fff; cursor: pointer; }
button.secondary { background: #fff; color: #245b42; }
button.danger { background: #8b2c18; border-color: #8b2c18; }
button:disabled { cursor: not-allowed; opacity: .5; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid #c97616; outline-offset: 3px; }
.hint, footer { font-size: .85rem; color: #53665d; margin-top: 10px; }
.toolbar, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.toolbar p, .section-heading h2 { margin: 0; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.actions form { width: 100%; max-width: 600px; }
.actions form button { margin-top: 10px; }
.work-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.work-grid .panel { margin-top: 0; }
.queue-item { border-top: 1px solid #d8e1db; padding-top: 18px; margin-top: 18px; }
.queue-item p { font-size: .9rem; }
.queue-item button { width: 100%; margin-top: 10px; text-align: left; }
.badge { display: inline-block; background: #edf3ee; color: #245b42; border-radius: 5px; padding: 2px 7px; font-size: .8rem; margin-bottom: 8px; }
.attention { border-color: #d3a347; background: #fff8e8; }
.exact { white-space: pre-wrap; overflow-wrap: anywhere; background: #f3f6f3; border-radius: 6px; padding: 15px; font-family: inherit; font-size: .95rem; max-height: 55vh; overflow-y: auto; }
dl { margin: 12px 0; font-size: .88rem; }
dt { font-weight: 600; margin-top: 8px; }
dd { margin: 0; overflow-wrap: anywhere; }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; font-size: .9rem; }
.check input { width: 22px; min-height: 22px; margin: 2px 0; flex-shrink: 0; }
a { color: #245b42; text-underline-offset: 3px; overflow-wrap: anywhere; }
.skip { position: absolute; left: -1000px; top: 10px; padding: 10px; background: #fff; }
.skip:focus { left: 10px; z-index: 1; }
footer { border-top: 1px solid #c9d7cf; margin-top: 20px; }
@media (max-width: 740px) { header, main, footer { padding: 18px; } header, .toolbar { align-items: flex-start; flex-direction: column; } .work-grid { grid-template-columns: minmax(0, 1fr); gap: 0; } .panel { padding: 18px; } h1 { font-size: 1.8rem; } .actions button { width: 100%; } }
