:root {
    --rz-primary:#245d49;
    --rz-primary-light:#e5eee8;
    --rz-primary-dark:#183e32;
    --rz-secondary:#617268;
    --rz-secondary-light:#eef2ed;
    --rz-secondary-lighter:#f2f5f0;
    --rz-text-font-family:'Segoe UI',Arial,sans-serif;
    --rz-border-radius:7px;
    --ink:#20392f;
    --muted:#68776e;
    --border:#dfe5df;
    --canvas:#f5f7f3
}

* {
    box-sizing:border-box
}
body {
    margin:0;
    background:var(--canvas);
    color:var(--ink);
    font-family:'Segoe UI',Arial,sans-serif;
    font-size:14px
}
a {
    color:var(--rz-primary)
}
button,input {
    font:inherit
}
button:focus-visible,a:focus-visible {
    outline:3px solid #92bfa6;
    outline-offset:3px
}
.app-shell {
    display:flex;
    min-height:100vh
}
.sidebar {
    width:224px;
    background:#173d30;
    color:#d5e2d8;
    padding:35px 23px;
    position:fixed;
    inset:0 auto 0 0;
    display:flex;
    flex-direction:column
}
.brand {
    color:white;
    text-decoration:none;
    display:flex;
    gap:12px;
    align-items:center;
    font-size:23px;
    font-weight:650;
    letter-spacing:-.6px
}
.brand small {
    display:block;
    font-size:9px;
    letter-spacing:2px;
    font-weight:500;
    margin-top:4px;
    color:#b1c7b8
}
.brand-mark {
    display:grid;
    place-items:center;
    border:1px solid #759581;
    width:37px;
    height:41px;
    border-radius:10px;
    font-size:24px
}
.nav-label {
    margin:58px 12px 13px;
    font-size:10px;
    letter-spacing:1.6px;
    color:#95b09f
}
.nav-item {
    display:flex;
    align-items:center;
    gap:12px;
    color:#f2f7f3;
    text-decoration:none;
    padding:13px;
    border-radius:7px
}
.nav-item.active {
    background:#315544
}
.nav-item .rzi {
    font-size:20px
}
.sidebar-bottom {
    margin-top:auto;
    font-size:12px;
    padding:20px 4px 0;
    border-top:1px solid #446151
}
.sidebar-bottom small {
    display:block;
    color:#a4bbae;
    margin:8px 0 0 13px;
    font-size:10px
}
.status-dot {
    display:inline-block;
    width:6px;
    height:6px;
    background:#acc9a7;
    border-radius:50%;
    margin-right:7px
}
.main-shell {
    margin-left:224px;
    flex:1;
    min-width:0
}
.topbar {
    height:75px;
    padding:0 42px;
    background:#fff;
    border-bottom:1px solid var(--border);
    display:flex;
    align-items:center;
    justify-content:space-between;
    color:#64736b;
    font-size:12px
}
.separator {
    margin:0 13px;
    color:#b4beb6
}
.environment-tag {
    font-size:10px;
    letter-spacing:1.2px;
    border:1px solid var(--border);
    padding:6px 10px;
    border-radius:5px
}
.account {
    display:flex;
    align-items:center;
    gap:12px
}
.text-link {
    text-decoration:none;
    font-weight:600
}
main {
    padding:37px 42px 48px;
    max-width:1700px;
    margin:auto
}
.page-heading {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px
}
.eyebrow {
    font-size:10px;
    letter-spacing:2px;
    font-weight:650;
    color:#62776a
}
h1 {
    font-size:38px;
    letter-spacing:-1.5px;
    font-weight:600;
    margin:8px 0 10px;
    line-height:1.15
}
.heading-dot {
    color:#95ad71
}
p {
    line-height:1.7
}
.page-heading p {
    color:var(--muted);
    margin:0;
    font-size:13px
}
.warehouse-badge {
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:9px 13px;
    border:1px solid var(--border);
    background:#fff;
    border-radius:6px;
    font-size:12px;
    font-weight:600
}
.warehouse-badge .rzi {
    font-size:17px
}
.region-tabs {
    display:flex;
    gap:30px;
    border-bottom:1px solid var(--border);
    margin:32px 0 24px;
    align-items:center;
    color:#839086;
    font-size:12px
}
.region-tabs>span {
    padding:0 0 15px
}
.region-tabs .region-active {
    border-bottom:2px solid var(--rz-primary);
    color:var(--ink);
    font-weight:650
}
.region-tabs small {
    font-size:9px;
    background:#e9ede7;
    border-radius:4px;
    padding:3px 5px;
    margin-left:6px
}
.metrics {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:17px;
    margin-bottom:28px
}
.metric {
    border:1px solid var(--border);
    background:white;
    border-radius:8px;
    padding:22px 23px;
    display:flex;
    flex-direction:column;
    gap:14px
}
.metric>span {
    font-size:12px;
    color:#5c6b61
}
.metric strong {
    font-size:32px;
    font-weight:550;
    line-height:1.1;
    letter-spacing:-1px
}
.metric .metric-text {
    font-size:19px;
    letter-spacing:-.3px;
    margin:7px 0
}
.metric small {
    color:#879087;
    font-size:11px
}
.orders-panel {
    background:#fff;
    border:1px solid var(--border);
    border-radius:9px;
    overflow:hidden;
    box-shadow:0 3px 10px #20392f03
}
.panel-title {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:22px 23px 17px
}
h2 {
    font-size:17px;
    margin:0;
    font-weight:650;
    letter-spacing:-.3px
}
.panel-title p {
    margin:5px 0 0;
    color:var(--muted);
    font-size:11px
}
.filters {
    padding:0 23px;
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    align-items:end
}
.filters label {
    display:flex;
    flex-direction:column;
    gap:7px;
    font-size:10px;
    font-weight:600;
    color:#59695e
}
.filters .search-field {
    flex:1;
    min-width:170px
}
.filters .rz-textbox {
    width:100%
}
.filters .rz-dropdown {
    width:164px
}
.filters .rz-datepicker {
    width:164px
}
.filters .rz-button {
    height:40px
}
.filter-hint {
    font-size:10px;
    color:#7a867e;
    padding:12px 23px 19px
}
.order-grid {
    border:0;
    border-top:1px solid var(--border);
    border-radius:0
}
.rz-grid-table thead th {
    --rz-grid-header-title-padding-inline:0;
    background:#f8faf7!important;
    border-bottom:1px solid var(--border)!important;
    color:#6a796f!important;
    font-size:11px!important;
    font-weight:600!important;
    padding:13px 18px!important
}
.rz-data-row td {
    padding:16px 18px!important;
    font-size:12px!important;
    color:#344b3c
}
.rz-data-row:hover td {
    background:#f8faf6!important
}
.order-link {
    background:none;
    border:0;
    padding:0;
    color:var(--rz-primary);
    font-weight:650;
    cursor:pointer;
    text-align:left;
    font-size:12px
}
.cell-subtext {
    display:block;
    color:#8a938c;
    font-size:10px;
    margin-top:6px
}
.amount {
    white-space:nowrap;
    font-variant-numeric:tabular-nums
}
.amount small {
    color:#90998f;
    font-size:10px
}
.neutral-badge {
    display:inline-block;
    font-size:10px;
    background:#eef1ed;
    padding:5px 8px;
    border-radius:5px;
    color:#65746a;
    white-space:nowrap
}
.muted {
    color:var(--muted);
    font-size:12px
}
.panel-foot {
    display:flex;
    justify-content:space-between;
    font-size:10px;
    color:#7d8b7f;
    padding:14px 23px;
    background:#fcfdfb;
    border-top:1px solid var(--border)
}
.notice {
    background:#f0f4ed;
    border:1px solid #dce5d6;
    padding:13px 16px;
    display:flex;
    gap:10px;
    align-items:center;
    border-radius:6px;
    color:#53684f;
    font-size:12px;
    line-height:1.6;
    margin:0 0 20px
}
.notice .rzi {
    font-size:19px;
    flex-shrink:0
}
.preview-notice {
    margin-bottom:27px;
    background:#f6f1df;
    border-color:#e8dfc0;
    color:#776942
}
.error-notice {
    background:#fff0ed;
    border-color:#e8c9c0;
    color:#904131;
    margin:0 23px 18px
}
.welcome {
    max-width:680px;
    padding:65px 0
}
.welcome h1 {
    font-size:50px;
    line-height:1.16;
    margin:20px 0
}
.welcome p {
    font-size:16px;
    color:var(--muted);
    margin-bottom:28px
}
.primary-link {
    display:inline-flex;
    gap:25px;
    padding:14px 20px;
    background:var(--rz-primary);
    color:#fff;
    border-radius:6px;
    text-decoration:none;
    font-weight:600
}
.detail-top {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:25px
}
.detail-columns {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:35px
}
.detail-columns h3,h3 {
    font-size:13px;
    margin:0 0 15px
}
.detail-columns p {
    font-size:13px;
    margin-bottom:24px
}
dl {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    font-size:12px;
    margin:0 0 25px
}
dt {
    color:var(--muted)
}
dd {
    margin:0;
    overflow-wrap:anywhere
}
.dialog-actions {
    display:flex;
    justify-content:flex-end;
    margin-top:24px
}
footer {
    display:flex;
    justify-content:space-between;
    padding:0 42px 25px;
    font-size:10px;
    color:#95a095
}
.rz-dialog-content {
    padding:25px!important
}
.rz-dialog-titlebar {
    align-items:center;
    padding:16px 25px;
    border-bottom:1px solid var(--border)
}
.rz-dialog-title {
    margin:0;
    line-height:1.4
}
.rz-dialog-titlebar-close {
    display:flex;
    align-items:center;
    justify-content:center
}
.rz-button {
    font-size:12px!important;
    text-transform:none!important;
    box-shadow:none!important
}
.rz-paginator {
    padding:12px!important
}
.rz-paginator-summary {
    font-size:11px;
    color:var(--muted)
}
#blazor-error-ui {
    display:none;
    background:#fff1d0;
    bottom:0;
    padding:1rem;
    position:fixed;
    width:100%;
    z-index:2000
}
.dismiss {
    cursor:pointer;
    margin-left:15px
}
.loading-progress {
    position:relative;
    display:block;
    width:7rem;
    height:7rem;
    margin:25vh auto 1rem
}
.loading-progress circle {
    fill:none;
    stroke:#dfe8df;
    stroke-width:.5rem;
    transform-origin:50% 50%;
    transform:rotate(-90deg)
}
.loading-progress circle:last-child {
    stroke:var(--rz-primary);
    stroke-dasharray:calc(3.141 * var(--blazor-load-percentage,0%) * .8),500%
}
.loading-progress-text {
    text-align:center
}
.loading-progress-text:after {
    content:var(--blazor-load-percentage-text,'Loading orders…')
}

@media(max-width:1200px) {
    .sidebar {
    width:185px;
    padding:28px 16px
}
.main-shell {
    margin-left:185px
}
main {
    padding:28px 24px
}
.topbar {
    padding:0 24px
}
.filters {
    flex-wrap:wrap
}
.filters .search-field {
    min-width:250px
}
.metric {
    padding:18px
}
.metric .metric-text {
    font-size:16px
}

}

@media(max-width:760px) {
    .sidebar {
    position:static;
    width:auto;
    padding:16px 20px
}
.app-shell {
    display:block
}
.brand {
    font-size:19px
}
.sidebar .nav-label,.sidebar .nav-item,.sidebar-bottom {
    display:none
}
.main-shell {
    margin-left:0
}
.topbar {
    height:56px;
    padding:0 20px
}
main {
    padding:25px 16px
}
h1 {
    font-size:32px
}
.page-heading {
    align-items:start
}
.warehouse-badge {
    font-size:10px;
    padding:7px
}
.metrics {
    grid-template-columns:1fr;
    gap:10px
}
.metric {
    gap:10px
}
.metric strong {
    font-size:26px
}
.metric .metric-text {
    margin:0
}
.region-tabs {
    gap:18px
}
.region-tabs small {
    display:block;
    margin:5px 0 0
}
.filters {
    gap:12px
}
.filters label {
    flex:1
}
.filters .rz-datepicker {
    width:100%
}
.filters .search-field {
    min-width:100%;
    
}
.filters .rz-button {
    width:100%
}
.detail-columns {
    grid-template-columns:1fr;
    gap:0
}
.detail-top {
    flex-wrap:wrap
}
.panel-foot {
    gap:10px;
    flex-wrap:wrap
}
.welcome h1 {
    font-size:38px
}
.rz-dialog {
    max-width:calc(100vw - 24px)
}
footer {
    padding:10px 16px;
    gap:15px
}
.account>span {
    max-width:130px;
    overflow:hidden;
    text-overflow:ellipsis
}

}

.order-address { font-style:normal; font-size:13px; line-height:1.7; margin-bottom:24px; overflow-wrap:anywhere; }
.order-detail-totals { margin:20px 0 0 auto; padding-top:16px; border-top:1px solid var(--border); width:320px; max-width:100%; grid-template-columns:1fr auto; align-items:baseline; } .order-detail-totals dd { text-align:right; }
.shipped-badge { display:inline-block; padding:5px 8px; border-radius:5px; background:#e6f2e9; color:#245c3a; font-size:11px; font-weight:600; } .shipment-details { margin:24px 0; } .tracking-list { list-style:none; padding:0; margin:0; } .tracking-list li { display:flex; flex-wrap:wrap; gap:8px 18px; padding:10px 0; border-bottom:1px solid var(--border); font-size:13px; overflow-wrap:anywhere; }
