:root { --ink: #192b3a; --muted: #647383; --accent: #176b5b; --line: #e0e7e8; --bs-primary: #176b5b; --bs-primary-rgb: 23,107,91; }
body { color: var(--ink); background: #f5f7f8; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .95rem; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { letter-spacing: -.035em; color: var(--ink); }
h1 { font-weight: 700; font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h2 { font-size: 1.2rem; font-weight: 650; }
p { color: var(--muted); line-height: 1.7; }
.container { max-width: 1180px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 36px; border-radius: 9px; background: var(--accent); color: white; font: 700 1.35rem Georgia, serif; }
nav a, .link-button { color: var(--muted); text-decoration: none; font-size: .85rem; }
nav a:hover, nav a.active { color: var(--accent); }
.link-button { border: 0; padding: 0; background: transparent; cursor: pointer; margin: 0; font-weight: 500; }
.workspace-identity { display: flex; flex-direction: column; gap: .2rem; margin-left: auto; text-align: right; }
.workspace-role { color: var(--accent); font-size: .75rem; font-weight: 700; }
.workspace-name { color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.account-navigation { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.workspace-navigation { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; width: 100%; border-top: 1px solid var(--line); padding-top: .8rem; }
.workspace-link, .workspace-menu > summary { display: block; padding: .6rem .8rem; border-radius: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.workspace-menu { position: relative; }
.workspace-menu > summary { list-style: none; }
.workspace-menu > summary::-webkit-details-marker { display: none; }
.workspace-menu > summary::after { content: '⌄'; margin-left: .55rem; }
.workspace-menu[open] > summary, .workspace-menu.active > summary, .workspace-link.active, .workspace-link:hover { color: var(--accent); background: #edf5f2; }
.workspace-menu-items { position: absolute; left: 0; top: calc(100% + .35rem); z-index: 100; min-width: 225px; max-width: min(300px, 85vw); background: white; border: 1px solid var(--line); border-radius: 8px; padding: .4rem; box-shadow: 0 10px 30px #192b3a18; }
.workspace-menu-items a { display: block; padding: .65rem .8rem; border-radius: 5px; }
.workspace-menu-items a:hover, .workspace-menu-items a.active { background: #edf5f2; color: var(--accent); }
.workspace-navigation a:focus-visible, .workspace-menu > summary:focus-visible, .account-navigation a:focus-visible, .link-button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 600px) {
    .workspace-identity { max-width: 55%; }
    .account-navigation { margin-left: auto; }
    .workspace-navigation { align-items: stretch; }
    .workspace-menu { position: static; }
    .workspace-menu[open] { flex-basis: 100%; }
    .workspace-menu-items { position: static; max-width: none; min-width: 0; margin-top: .3rem; box-shadow: none; }
}
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: .72rem; font-weight: 700; letter-spacing: .13em; margin-bottom: .6rem; }
.card, .panel { border: 1px solid var(--line); border-radius: 12px; background: white; padding: 1.5rem; box-shadow: 0 3px 12px #192b3a03; }
.panel { max-width: 510px; margin: 2rem auto; }
.panel.wide { max-width: none; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.card h2 { margin: 0 0 .5rem; }
.card p { margin-bottom: 0; }
.btn-primary { --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent); --bs-btn-hover-bg: #105547; --bs-btn-hover-border-color: #105547; --bs-btn-active-bg: #105547; }
.button, button:not([class]) { display: inline-block; background: var(--accent); color: #fff; padding: .7rem 1.1rem; border: 0; border-radius: 7px; font-weight: 600; text-decoration: none; margin-top: 1rem; }
.button.secondary, .secondary { background: #e8eeef; color: var(--ink); }
label { display: block; font-size: .85rem; font-weight: 600; margin: 1rem 0 .4rem; }
input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea { display: block; width: 100%; border: 1px solid #cbd5d9; border-radius: 6px; background-color: white; color: var(--ink); padding: .65rem .8rem; font: inherit; }
input[type=checkbox] { accent-color: var(--accent); width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 3px solid #176b5b22; }
.form-label { margin-top: 0; }
.form-text { font-size: .8rem; line-height: 1.6; }
.metric { font-size: 2rem; font-weight: 700; letter-spacing: -.05em; color: var(--ink); }
.metric-label { color: var(--muted); font-size: .82rem; }
.table { --bs-table-bg: transparent; vertical-align: middle; }
.table th { color: var(--muted); font-size: .72rem; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; padding: .9rem 1rem; }
.table td { padding: 1rem; border-color: var(--line); font-size: .88rem; }
.table a { font-weight: 600; text-decoration: none; }
.status-badge { display: inline-block; border-radius: 5px; padding: .3rem .6rem; font-size: .72rem; font-weight: 600; background: #edf0f4; color: #566273; white-space: nowrap; }
.status-assessment_required, .status-pending { background: #fff3d6; color: #825b0b; }
.status-clean, .status-accepted, .status-manager_queue { background: #e4f3ec; color: #23674e; }
.status-issued, .status-awaiting_acceptance, .status-awaiting_payment { background: #fff3d6; color: #825b0b; }
.status-assigned, .status-in_progress { background: #e4edf9; color: #2d5388; }
.status-awaiting_qc { background: #f0e9fa; color: #68449a; }
.status-qc_returned, .status-corrections_requested { background: #fde9e9; color: #a12c2c; }
.status-proof_ready, .status-final_qc { background: #e4f3ec; color: #23674e; }
.status-revision_in_progress { background: #e4edf9; color: #2d5388; }
.status-final_qc_returned { background: #fde9e9; color: #a12c2c; }
.status-final_ready { background: #f0e9fa; color: #68449a; }
.status-delivered, .status-completed { background: #e4f3ec; color: #23674e; }
.receipt-card { max-width: 850px; }
@media print { .site-header, .site-footer, .skip-link, .no-print, main > .alert { display: none !important; } body { background: white; } .receipt-card { box-shadow: none; border: 0; max-width: 100%; } main.container { max-width: 100%; padding: 0 !important; } }
.status-infected { background: #fde9e9; color: #a12c2c; }
.wizard-steps { display: flex; gap: .75rem; list-style: none; padding: 0; margin: 0 0 2rem; }
.wizard-steps li { flex: 1; border-top: 3px solid var(--line); padding-top: .9rem; color: var(--muted); font-size: .85rem; }
.wizard-steps .current { border-color: var(--accent); color: var(--accent); font-weight: 650; }
.wizard-steps a { color: inherit; text-decoration: none; }
.step-number { display: inline-grid; place-items: center; width: 23px; height: 23px; border: 1px solid currentColor; border-radius: 50%; margin-right: .3rem; font-size: .75rem; }
.service-option { display: flex; align-items: flex-start; gap: .8rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 9px; margin: 0; height: 100%; cursor: pointer; }
.service-option:has(input:checked) { border-color: var(--accent); background: #f0f8f4; }
.service-option input { margin-top: .25rem; }
.service-option strong { display: block; margin-bottom: .25rem; }
.service-option small { font-weight: 400; color: var(--muted); line-height: 1.6; display: block; }
.empty-state { text-align: center; padding: 3.5rem 1.5rem; }
.empty-symbol { display: inline-grid; place-items: center; width: 55px; height: 55px; border-radius: 14px; background: #e7f1ec; color: var(--accent); font: 2rem Georgia, serif; margin-bottom: 1rem; }
.summary-list dt { font-size: .8rem; color: var(--muted); font-weight: 500; margin-bottom: .3rem; }
.summary-list dd { margin-bottom: 1.2rem; overflow-wrap: anywhere; }
.activity-list { border-left: 2px solid var(--line); padding-left: 1.3rem; margin-left: .35rem; list-style: none; }
.activity-list li { position: relative; padding-bottom: 1.25rem; }
.activity-list li::before { content: ''; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); left: -1.6rem; top: .4rem; }
.activity-list small { color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .75rem; }
.preserve-lines { white-space: pre-wrap; overflow-wrap: anywhere; }
.support-internal { background: #fff8e7; border-color: #ead6a4 !important; }
.report-progress { width: 100%; height: .65rem; accent-color: var(--accent); }
.error { color: #a32525; font-size: .88rem; }
.notice { padding: .8rem 1rem; background: #eaf6ee; border-radius: 8px; color: #35634b; }
.skip-link { background: white; padding: 1rem; }
@media (max-width: 600px) { .wizard-steps { gap: .4rem; } .wizard-steps li { font-size: .7rem; } .step-number { display: none; } .card, .panel { padding: 1.1rem; } .site-footer { flex-direction: column; } .brand { font-size: .8rem; } }
