:root { font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #111111; background: #f7f7f7; line-height: 1.6; --line: #cccccc; --accent: #111111; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
::selection { background: #dddddd; color: #111111; }
a { color: var(--accent); text-underline-offset: .2em; }
header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem max(1.25rem, calc((100vw - 68rem) / 2)); background: white; border-bottom: 1px solid var(--line); }
.brand { font-size: 1.2rem; font-weight: 700; line-height: 1.2; text-decoration: none; color: #111111; }
.brand span { display: block; font-size: .75rem; font-weight: 500; margin-top: .3rem; }
main { max-width: 58rem; margin: 3rem auto 5rem; padding: 0 1.25rem; min-height: 55vh; }
h1 { font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -.025em; line-height: 1.2; margin: 0 0 .8rem; }
h2 { font-size: 1.3rem; margin: 2rem 0 1rem; }
p { max-width: 65ch; }
.intro { color: #4a4a4a; margin-bottom: 1.8rem; }
label { display: block; font-weight: 600; margin: 1.5rem 0 .5rem; }
select { display: block; width: min(100%, 28rem); min-height: 2.75rem; background: white; color: inherit; border: 1px solid #777777; border-radius: .3rem; font: inherit; padding: .5rem; }
button, .primary { font: inherit; display: inline-block; min-height: 2.75rem; padding: .55rem 1rem; border-radius: .3rem; cursor: pointer; }
button { border: 1px solid #777777; background: white; color: #111111; }
.primary { background: var(--accent); color: white; text-decoration: none; }
button:hover { background: #eeeeee; }
.primary:hover { background: #333333; }
button:disabled { opacity: .6; cursor: wait; }
a:focus-visible, button:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #555555; outline-offset: 3px; }
ul { padding: 0; list-style: none; margin: 0 0 1rem; border-top: 1px solid var(--line); }
li { border-bottom: 1px solid var(--line); }
.client { width: 100%; border: 0; border-radius: 0; padding: 1.2rem .6rem; background: transparent; display: flex; justify-content: space-between; gap: 1rem; text-align: left; }
.client span { color: #4a4a4a; }
#selected { border-top: 1px solid var(--line); margin-top: 2rem; }
footer { max-width: 58rem; margin: 0 auto; padding: 1.25rem; color: #4a4a4a; border-top: 1px solid var(--line); font-size: .85rem; }
.skip { position: absolute; left: 1rem; top: -5rem; padding: .7rem; background: white; }
.skip:focus { top: .5rem; }
@media (max-width: 36rem) { main { margin-top: 2rem; } .client { align-items: start; flex-direction: column; gap: .2rem; } }

.client[aria-pressed="true"] { background: #e4e4e4; box-shadow: inset 0 0 0 1px #777777; }

input { display: block; width: min(100%, 32rem); min-height: 2.75rem; padding: .6rem; border: 1px solid #777777; border-radius: .3rem; font: inherit; color: inherit; background: white; caret-color: var(--accent); }
input:focus-visible, summary:focus-visible { outline: 3px solid #555555; outline-offset: 3px; }
details { border-top: 1px solid var(--line); padding: 1.2rem 0; margin-top: 1.5rem; }
summary { font-weight: 600; cursor: pointer; padding: .5rem 0; }
form { max-width: 42rem; }
form button { margin-top: 1.5rem; }
.form-status, #member-status { min-height: 1.6em; }
.member { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; padding: 1rem 0; }
.member span { overflow-wrap: anywhere; }
#reports, #invitation-entry, #platform-invitations { margin-top: 2rem; }

#order-workspace { margin-top: 2rem; }
#order-workspace h3 { margin: 1.8rem 0 .7rem; font-size: 1.15rem; }
.order-row { width: 100%; text-align: left; border: 0; border-radius: 0; padding: 1rem .6rem; overflow-wrap: anywhere; }
#order-status { min-height: 1.6em; }

.order-row strong, .order-row span { display: block; }
.order-row span { color: #4a4a4a; margin-top: .25rem; }
#order-title { overflow-wrap: anywhere; }

#evidence-workspace { margin-top: 2rem; border-top: 1px solid var(--line); }
#evidence-heading { font-size: 1.1rem; margin: 1.8rem 0 .7rem; }
#evidence-status { min-height: 1.6em; }
.evidence-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding: 1rem 0; }
.evidence-row > div { flex: 1 1 20rem; min-width: 0; }
.evidence-row strong, .evidence-row span { display: block; overflow-wrap: anywhere; }
.evidence-row span, #upload-help { color: #4a4a4a; }
.evidence-row button { flex: 0 0 auto; }
#evidence-summary { font-variant-numeric: tabular-nums; }
#upload-document { margin-top: 2rem; }
#document-file::file-selector-button { font: inherit; border: 1px solid #777777; background: #eeeeee; border-radius: .3rem; padding: .35rem .6rem; margin-right: .6rem; cursor: pointer; }

#worklist { border-top: 1px solid var(--line); margin: 2rem 0; }
.assigned-task { padding: 1.1rem .6rem; overflow-wrap: anywhere; }
.task-meta { color: #4a4a4a; margin: .4rem 0; }
.task-time { font-variant-numeric: tabular-nums; }
#assigned-title { overflow-wrap: anywhere; }
