:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; color: #1c252b; background: #f3f4f2; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #155b74; text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.topbar { background: #fff; border-bottom: 1px solid #d9dedb; }
.topbar-inner { max-width: 1480px; margin: auto; min-height: 62px; padding: 0 24px; display: flex; align-items: center; gap: 40px; }
.brand { color: #16262d; font-size: 17px; font-weight: 750; white-space: nowrap; }
.brand span { color: #087a68; margin-left: 4px; }
.topbar nav a { font-weight: 650; color: #263d42; }
.operator { margin-left: auto; display: flex; align-items: center; gap: 20px; color: #4f5e61; }
.text-button { border: 0; background: none; color: #155b74; padding: 8px 0; }
.main { max-width: 1480px; margin: 0 auto; padding: 28px 24px 80px; }
.page-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; margin-bottom: 22px; }
.page-head h1 { font-size: 26px; line-height: 1.2; margin: 4px 0 10px; overflow-wrap: anywhere; }
.eyebrow { text-transform: uppercase; font-size: 11px; font-weight: 750; letter-spacing: .07em; color: #62706e; margin: 0; }
.back-link { display: inline-block; margin-bottom: 15px; }
.segmented { display: flex; border: 1px solid #ccd5d1; border-radius: 5px; overflow: hidden; }
.segmented a { padding: 8px 13px; color: #394c4d; background: #fff; white-space: nowrap; }
.segmented a + a { border-left: 1px solid #ccd5d1; }
.segmented a.active { color: #fff; background: #176e63; }
.table-wrap { overflow-x: auto; border: 1px solid #dce1de; background: #fff; border-radius: 5px; }
table { border-collapse: collapse; width: 100%; min-width: 620px; }
th { background: #edf1ef; text-align: left; color: #4c5b59; font-size: 12px; font-weight: 750; }
th, td { padding: 11px 13px; border-bottom: 1px solid #e6eae7; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f7faf8; }
.orders-table { min-width: 1000px; }
.number { text-align: right; font-variant-numeric: tabular-nums; }
.order-link, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; overflow-wrap: anywhere; }
.order-link { font-weight: 650; }
.empty { text-align: center; padding: 40px; color: #5c6968; }
.status-line { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: #4e5d5c; }
.status { display: inline-block; border-radius: 3px; background: #e9eeec; color: #344542; padding: 4px 7px; font-size: 12px; font-weight: 700; white-space: nowrap; text-transform: capitalize; }
.status.pending_review, .status.held, .status.partially_filled { color: #775000; background: #fff0cc; }
.status.approved, .status.filled, .status.effective { color: #176344; background: #d7f1df; }
.status.rejected, .status.failed, .status.busted { color: #9e292d; background: #f8dddb; }
.work-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 340px); gap: 28px; align-items: start; }
.work-main, .work-actions { min-width: 0; }
.band { padding: 20px 0 26px; border-top: 1px solid #cdd7d1; }
.band h2, .action-section h2 { margin: 0 0 15px; font-size: 17px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px 24px; margin: 0 0 22px; }
.facts div { min-width: 0; }
dt { color: #657370; font-size: 12px; margin-bottom: 4px; }
dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.action-section { border-top: 1px solid #cdd7d1; padding: 19px 0 24px; }
.action-section form + form { margin-top: 22px; }
.form-stack { display: grid; gap: 12px; }
label { display: grid; gap: 5px; color: #344541; font-size: 13px; font-weight: 650; }
input, select { width: 100%; padding: 9px 10px; border: 1px solid #abb9b2; border-radius: 4px; color: #142924; background: #fff; min-height: 39px; }
input:focus, select:focus, button:focus-visible, a:focus-visible { outline: 2px solid #087a68; outline-offset: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.button { display: inline-flex; justify-content: center; align-items: center; border-radius: 4px; border: 1px solid transparent; min-height: 38px; padding: 8px 13px; font-weight: 700; text-align: center; }
.button:hover { text-decoration: none; filter: brightness(.96); }
.button.primary { color: #fff; background: #117567; }
.button.secondary { color: #185a53; background: #fff; border-color: #7aa59a; }
.button.danger { color: #9d2f31; background: #fff; border-color: #d59c9d; }
.notice { border-left: 4px solid #17765d; background: #e4f3ea; padding: 11px 14px; margin-bottom: 18px; }
.notice.error { border-color: #bc4040; background: #fcebea; }
.muted { color: #63716d; font-size: 13px; }
.timeline { border-left: 2px solid #ccd8d2; margin-left: 5px; }
.timeline div { display: flex; flex-wrap: wrap; gap: 8px 15px; padding: 8px 14px; font-size: 13px; }
.timeline time { color: #697572; font-variant-numeric: tabular-nums; }
.login-wrap { min-height: 65vh; display: grid; place-items: center; }
.login-panel { width: min(100%, 380px); background: #fff; border: 1px solid #dbe2dd; border-radius: 6px; padding: 28px; }
.login-panel h1 { font-size: 23px; margin: 7px 0 24px; }
@media (max-width: 920px) { .work-layout { grid-template-columns: 1fr; } .work-actions { border-top: 2px solid #cdd7d1; } }
@media (max-width: 640px) { .main { padding: 20px 14px 60px; } .topbar-inner { padding: 0 14px; gap: 22px; } .facts { grid-template-columns: 1fr 1fr; } .page-head h1 { font-size: 21px; } .segmented { width: 100%; } .segmented a { flex: 1; text-align: center; font-size: 12px; } }
@media print { .topbar, .work-actions, .back-link, .button { display: none !important; } .work-layout { display: block; } .main { padding: 0; } }
