:root { color-scheme: light; font-family: Inter, "Segoe UI", system-ui, sans-serif; color: #183d33; background: #f5f6f1; --forest: #153e35; --lime: #d8ef85; --muted: #6c7970; --border: #e2e7dc; }
* { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: .48; cursor: default; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #85a853; outline-offset: 4px; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 14px; background: white; z-index: 20; }
.skip-link:focus { top: 16px; }
.shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--forest); color: #eff4e8; padding: 35px 22px 24px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; z-index: 5; }
.brand { display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; font-size: 21px; font-weight: 550; letter-spacing: -.6px; }
.brand strong { font-weight: 800; }
.brand small { display: block; font-size: 8px; color: #c1d2bd; letter-spacing: 1.5px; margin-top: 6px; }
.brand-mark { width: 44px; height: 44px; border-radius: 14px; background: var(--lime); color: var(--forest); display: grid; place-items: center; font-size: 23px; font-weight: 800; }
.nav-caption { color: #9db5a8; letter-spacing: 1.6px; font-size: 9px; font-weight: 650; margin: 48px 10px 14px; }
.sidebar nav { display: grid; gap: 8px; }
.nav-button { display: flex; align-items: center; gap: 11px; width: 100%; padding: 14px 11px; border: 0; border-radius: 11px; background: transparent; color: #c7d8cb; text-align: left; font-size: 13px; font-weight: 550; min-height: 48px; }
.nav-button:hover { background: #234d42; color: white; }
.nav-button.selected { color: var(--forest); background: var(--lime); font-weight: 750; }
.nav-button svg { width: 19px; height: 19px; }
.nav-arrow, .order-dot { margin-left: auto; }
.order-dot, .note-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.sidebar-note { display: flex; gap: 10px; align-items: start; margin: 40px 10px 20px; }
.note-dot { margin-top: 5px; flex-shrink: 0; }
.sidebar-note p { margin: 0; color: #e0ebd8; font-size: 11px; line-height: 1.7; }
.sidebar-note small { color: #a7beb0; display: block; font-size: 10px; margin-top: 5px; }
.sidebar-bottom { margin-top: auto; border-top: 1px solid #33584c; padding-top: 19px; }
.sidebar-bottom > span { display: block; padding: 20px 11px 0; color: #90aa9c; font-size: 10px; }
.workspace { min-width: 0; }
.topbar { height: 84px; padding: 0 clamp(24px, 4vw, 64px); background: #fff; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.topbar > div { display: flex; gap: 14px; align-items: center; }
#page-label { font-size: 13px; font-weight: 600; color: #69776d; }
.city-pill { display: flex; gap: 7px; align-items: center; padding: 9px 14px; background: #f4f6ef; border: 1px solid var(--border); border-radius: 24px; font-size: 12px; font-weight: 600; }
.city-pill svg { width: 16px; height: 16px; }
.icon-button { background: transparent; color: inherit; border: 0; border-radius: 8px; padding: 10px; display: grid; place-items: center; }
#menu-toggle, .sidebar-close { display: none; }
main { max-width: 1260px; margin: auto; padding: 43px clamp(24px, 4vw, 64px) 38px; }
main:focus { outline: none; }
.page-heading { margin: 0 0 32px; }
.eyebrow { font-size: 10px; letter-spacing: 1.9px; font-weight: 750; color: #688156; margin: 0 0 12px; }
h1 { font-size: clamp(31px, 3.3vw, 44px); font-weight: 750; letter-spacing: -1.8px; line-height: 1.15; margin: 0 0 13px; }
.page-heading > p:last-child { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0; }
h2 { font-size: 21px; letter-spacing: -.65px; margin: 0 0 7px; line-height: 1.3; }
p { line-height: 1.65; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(230px, 1fr); align-items: start; gap: 30px; }
.order-card, .summary-card, .empty-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 7px 22px #233e2310; }
.order-card { padding: 29px 30px 23px; }
.wizard-steps { list-style: none; display: flex; justify-content: space-between; gap: 8px; margin: 0 0 30px; padding: 0 0 25px; border-bottom: 1px solid var(--border); }
.wizard-steps button { padding: 0; border: 0; background: transparent; display: flex; align-items: center; gap: 8px; color: #899487; font-size: 12px; font-weight: 600; }
.wizard-steps button span { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #dfe5d9; border-radius: 50%; font-size: 12px; }
.wizard-steps button[aria-current] { color: var(--forest); font-weight: 750; }
.wizard-steps button[aria-current] span, .wizard-steps button.complete span { color: var(--forest); background: var(--lime); border-color: var(--lime); }
.section-heading { display: flex; gap: 13px; margin-bottom: 22px; align-items: start; }
.section-heading p { color: var(--muted); margin: 0; font-size: 12px; }
.section-icon { display: grid; place-items: center; flex-shrink: 0; width: 45px; height: 45px; background: #edf4df; border-radius: 13px; color: #37573c; }
label { display: block; margin: 17px 0 8px; font-size: 12px; font-weight: 700; }
input, textarea { display: block; width: 100%; padding: 14px 15px; background: #fbfcf8; border: 1px solid #dce3d5; border-radius: 10px; font-size: 14px; color: var(--forest); line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #919b8b; }
input:focus, textarea:focus { outline: 2px solid #95b357; border-color: transparent; outline-offset: 1px; }
input:disabled, textarea:disabled { color: #6b766c; }
textarea { resize: vertical; min-height: 85px; }
.field-hint { color: var(--muted); font-size: 11px; line-height: 1.7; margin: 9px 0 0; }
.notice { display: flex; align-items: start; gap: 11px; padding: 15px 16px; margin-top: 23px; background: #f1f5e9; border-radius: 12px; }
.notice svg { width: 17px; height: 17px; margin-top: 2px; color: #68814c; }
.notice p { font-size: 11px; margin: 0; color: #68775f; }
.notice strong { display: block; color: #3d5738; margin-bottom: 2px; }
.form-actions { border-top: 1px solid var(--border); padding-top: 21px; margin-top: 24px; display: flex; gap: 12px; align-items: center; }
#step-caption { color: #899382; font-size: 10px; }
.form-actions .primary { margin-left: auto; }
.primary, .secondary { display: inline-flex; justify-content: center; align-items: center; gap: 14px; border: 0; border-radius: 10px; font-size: 13px; font-weight: 700; padding: 14px 20px; min-height: 47px; }
.primary { background: var(--forest); color: white; }
.primary:hover { background: #285b47; }
.primary svg { width: 18px; height: 18px; }
.secondary { background: #edf1e6; color: #3d553d; }
.secondary:hover { background: #e0e9d4; }
.text-button { background: transparent; border: 0; color: #4a683d; display: inline-flex; align-items: center; gap: 7px; padding: 10px 0; font-size: 12px; font-weight: 650; }
.text-button:hover { color: #163e32; }
.text-button svg { width: 16px; height: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
details { margin-top: 23px; padding-top: 16px; border-top: 1px solid var(--border); }
summary { cursor: pointer; font-size: 12px; font-weight: 600; }
summary span { font-weight: 400; color: var(--muted); margin-left: 8px; }
.privacy-note { font-size: 11px; color: var(--muted); margin: 20px 0 0; }
.review-list { margin: 0; }
.review-list > div, .summary-item { padding: 15px 0; border-bottom: 1px solid var(--border); }
.review-list dt, .summary-item > span { font-size: 10px; color: var(--muted); margin: 0 0 6px; display: block; }
.review-list dd { font-size: 14px; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.summary-item p { font-size: 14px; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.order-guide { padding: 4px 0 0; }
.guide-art { height: 163px; background: #e7eedb; border-radius: 17px; overflow: hidden; position: relative; display: grid; place-items: center; }
.art-ring { width: 210px; height: 210px; border: 1px dashed #aabf90; border-radius: 50%; position: absolute; }
.art-bag { width: 70px; height: 77px; transform: rotate(-12deg); stroke-width: 1; position: relative; color: #204a39; }
.art-pin { display: grid; place-items: center; background: var(--forest); color: var(--lime); width: 44px; height: 44px; border-radius: 50%; position: absolute; right: calc(50% - 74px); top: 27px; transform: rotate(12deg); }
.art-label { position: absolute; bottom: 12px; font-size: 8px; color: #587349; letter-spacing: 2px; }
.order-guide h2 { margin: 24px 0 22px; font-size: 25px; letter-spacing: -.9px; }
.order-guide ol { list-style: none; margin: 0; padding: 0; }
.order-guide li { display: flex; gap: 13px; margin: 20px 0; }
.order-guide li > span { color: #8c9d76; font-size: 10px; font-weight: 700; padding-top: 3px; }
.order-guide strong { font-size: 12px; font-weight: 650; }
.order-guide li p { color: var(--muted); font-size: 11px; margin: 4px 0 0; }
.error { color: #ab3425; font-size: 12px; overflow-wrap: anywhere; }
.error:empty { display: none; }
.tracking-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 25px; align-items: start; }
.status-card { background: #eaf1df; border: 1px solid #d8e4c8; border-radius: 20px; padding: 30px; }
.status-badge { display: inline-flex; font-size: 9px; letter-spacing: 1px; font-weight: 750; padding: 8px 11px; border-radius: 20px; background: var(--forest); color: var(--lime); }
.status-card h2 { font-size: 29px; margin: 23px 0 12px; letter-spacing: -1px; }
.status-card > p { color: #657756; font-size: 12px; }
.timeline { list-style: none; margin: 27px 0; padding: 0; }
.timeline li { display: flex; align-items: start; gap: 15px; padding: 0 0 27px; position: relative; color: #7a8870; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; top: 31px; left: 15px; bottom: 0; width: 1px; background: #c7d5b5; }
.timeline li > span { width: 31px; height: 31px; border: 1px solid #c7d5b5; border-radius: 50%; display: grid; place-items: center; font-size: 11px; flex-shrink: 0; }
.timeline li.active > span { background: var(--forest); border-color: var(--forest); color: var(--lime); }
.timeline li.active { color: var(--forest); }
.timeline strong { font-size: 12px; display: block; margin: 2px 0 4px; }
.timeline small { display: block; font-size: 10px; }
.timeline li:last-child { padding-bottom: 0; }
.connection-status { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #587443; }
.connection-status:not(:empty)::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #82a34f; flex-shrink: 0; }
.summary-card { padding: 27px; }
.empty-card { max-width: 600px; text-align: center; padding: 48px 28px; }
.empty-card .section-icon { margin: auto auto 20px; width: 65px; height: 65px; }
.empty-card p { color: var(--muted); font-size: 13px; margin: 10px 0 24px; }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.help-grid h2 { margin-top: 23px; }
.help-grid p, .login > p { color: var(--muted); font-size: 13px; }
.login { max-width: 450px; }
.login h2 { margin-top: 20px; }
.login .primary { width: 100%; margin-top: 22px; }
.dispatch-toolbar { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.dispatch-toolbar > div { display: flex; gap: 20px; align-items: center; }
.dispatch-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin: 22px 0; }
.dispatch-stats > div { background: #fff; border: 1px solid var(--border); border-radius: 15px; padding: 20px 25px; }
.dispatch-stats span { font-size: 31px; letter-spacing: -1px; font-weight: 700; }
.dispatch-stats p { margin: 5px 0 0; font-size: 12px; color: var(--muted); }
.orders { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 22px; margin-top: 24px; }
.orders .summary-card { overflow-wrap: anywhere; }
.order-status { display: inline-flex; font-size: 10px; color: #4c6738; background: #edf4df; border-radius: 20px; padding: 7px 11px; margin-bottom: 18px; }
.order-text { white-space: pre-wrap; font-size: 14px; }
.order-meta { font-size: 12px; color: var(--muted); }
.order-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 23px; }
.orders a { color: #315b39; font-size: 12px; }
footer { padding: 22px clamp(24px, 4vw, 64px); display: flex; justify-content: space-between; font-size: 10px; color: #8a9583; max-width: 1260px; margin: auto; }
.menu-scrim { position: fixed; inset: 0; border: 0; background: #0b291e66; z-index: 4; }
@media (min-width: 1500px) { main { padding-top: 56px; } }
@media (max-width: 1050px) {
    .shell { grid-template-columns: 210px minmax(0, 1fr); }
    .sidebar { padding-inline: 16px; }
    .order-layout, .tracking-layout { grid-template-columns: 1fr; }
    .order-guide { display: none; }
    .help-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .shell { display: block; }
    .sidebar { position: fixed; left: 0; width: min(285px, 86vw); height: 100dvh; transform: translateX(-100%); transition: transform .2s ease; }
    body.menu-open .sidebar { transform: translateX(0); }
    body.menu-open { overflow: hidden; }
    #menu-toggle, .sidebar-close { display: grid; }
    .sidebar-close { position: absolute; right: 10px; top: 91px; color: #d7e5cf; }
    .topbar { height: 68px; padding: 0 17px; }
    main { padding: 29px 18px 24px; }
    .page-heading { margin-bottom: 24px; }
    h1 { font-size: 32px; letter-spacing: -1.2px; }
    .page-heading > p:last-child { font-size: 13px; }
    .order-card { padding: 23px 19px 20px; border-radius: 17px; }
    .wizard-steps { margin-bottom: 24px; padding-bottom: 21px; }
    .wizard-steps button { gap: 5px; font-size: 11px; }
    .wizard-steps button span { width: 26px; height: 26px; }
    .section-heading h2 { font-size: 20px; }
    .section-heading p { font-size: 11px; }
    .section-icon { width: 39px; height: 39px; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .form-actions { gap: 9px; }
    .form-actions .primary, .form-actions .secondary { padding: 13px 15px; }
    #step-caption { display: none; }
    .status-card, .summary-card { padding: 24px; }
    .dispatch-toolbar { flex-direction: column; align-items: start; }
    footer { padding: 20px 18px; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { .sidebar { transition: none; } }
