.app-shell .order-admin{max-width:none;min-width:0;background:#f6f8fc;color:#14213d;padding:22px clamp(18px,2.2vw,34px) 40px}
.order-admin .app-icon{width:16px;height:16px;flex:none}
.order-breadcrumb{display:flex;align-items:center;gap:7px;margin-bottom:12px;color:#66758d;font-size:11px}.order-breadcrumb a{color:inherit;text-decoration:none}.order-breadcrumb .app-icon{width:12px;height:12px}
.order-page-header{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:20px}.order-page-header h1{margin:0 0 4px;color:#14213d;font-family:var(--brand-display);font-size:29px;line-height:1.1}.order-page-header p{margin:0;color:#64748b;font-size:12px;line-height:1.45}.order-page-actions{display:flex;align-items:center;gap:8px;flex:none}.order-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:37px;padding:8px 13px;border:1px solid #cdd7e6;border-radius:7px;background:#fff;color:#14213d;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap;box-shadow:0 2px 5px #14213d0c}.order-button:hover{border-color:#647bf2;color:var(--brand-blue)}.order-button.primary{border-color:var(--brand-blue);background:var(--brand-blue);color:#fff}.order-button.primary:hover{background:#1020b4;color:#fff}.order-action-count{display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#eef0ff;color:var(--brand-blue);font-size:10px}
.order-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:17px}.order-kpi{display:grid;grid-template-columns:35px 1fr;align-items:center;column-gap:8px;min-height:80px;padding:12px;border:1px solid #e3e8f2;border-radius:8px;background:#fff;box-shadow:0 3px 11px #14213d08}.order-kpi>.app-icon{grid-row:1/3;width:34px;height:34px;padding:8px;border-radius:8px;background:var(--kpi-bg);color:var(--kpi-color)}.order-kpi span{color:#52627d;font-size:10px;font-weight:700;line-height:1.2}.order-kpi strong{color:#17243f;font-family:var(--brand-display);font-size:23px;line-height:1}.order-kpi.blue{--kpi-bg:#e8f1ff;--kpi-color:#155dfc}.order-kpi.indigo{--kpi-bg:#ebefff;--kpi-color:#2540c7}.order-kpi.amber{--kpi-bg:#fff3d8;--kpi-color:#b76b00}.order-kpi.green{--kpi-bg:#e3f7ed;--kpi-color:#148547}.order-kpi.violet{--kpi-bg:#f1ebff;--kpi-color:#7351ba}.order-kpi.red{--kpi-bg:#ffebea;--kpi-color:#cf3e37}
.order-tools-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;color:#65748e;font-size:11px}.order-tools-menu{position:relative;z-index:20}.order-tools-menu summary{display:flex;align-items:center;gap:7px;min-height:32px;padding:6px 10px;border:1px solid #d6deeb;border-radius:6px;background:#fff;color:#263857;font-size:11px;font-weight:700;cursor:pointer;list-style:none}.order-tools-menu summary::-webkit-details-marker{display:none}.order-tools-menu summary .app-icon:last-child{width:12px;height:12px}.order-tools-menu[open] summary .app-icon:last-child{transform:rotate(90deg)}.order-tools-menu>div{position:absolute;top:36px;left:0;width:225px;padding:5px;border:1px solid #dce3ee;border-radius:7px;background:#fff;box-shadow:0 12px 24px #14213d1c}.order-tools-menu button{display:flex;align-items:center;gap:8px;width:100%;padding:9px;border:0;border-radius:5px;background:transparent;color:#263857;text-align:left;font-size:11px;cursor:pointer}.order-tools-menu button:hover{background:#eef1ff}.order-tools-menu button span{margin-left:auto;color:#64748b}
.order-type-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-bottom:12px}.order-type-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:7px 8px;border:1px solid #dce3ee;border-radius:7px;background:#fff;color:#33425e;font-size:11px;font-weight:650;white-space:nowrap;cursor:pointer}.order-type-tabs button span{color:#73819a;font-size:10px}.order-type-tabs button.is-active{border-color:var(--brand-blue);background:var(--brand-blue);color:#fff;box-shadow:0 3px 8px #1b28db30}.order-type-tabs button.is-active span{color:#fff}.order-type-tabs button:hover:not(.is-active){border-color:#8ba1ed;background:#f4f6ff}
.order-filter-area{margin-bottom:13px}.order-search{display:flex;align-items:center;gap:10px;width:100%;height:39px;margin-bottom:8px;padding:0 12px;border:1px solid #d4deec;border-radius:7px;background:#fff;color:#6c7e9a}.order-search input{width:100%;height:100%;border:0;outline:0;background:transparent;color:#14213d;font-size:12px}.order-search:focus-within{outline:2px solid #aebdff}.order-filter-row{display:flex;align-items:end;gap:7px;flex-wrap:wrap}.order-filter-row label,.order-extra-filters label{display:grid;gap:4px;min-width:120px;flex:1 1 120px;color:#64748b;font-size:10px;font-weight:700}.order-filter-row select,.order-extra-filters input[type=date]{width:100%;height:34px;padding:5px 9px;border:1px solid #d4deec;border-radius:6px;background:#fff;color:#263857;font-size:11px}.order-more-filters,.order-clear-filters{display:flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:6px 10px;border:1px solid #d4deec;border-radius:6px;background:#fff;color:#32435f;font-size:11px;font-weight:700;cursor:pointer}.order-more-filters.is-active{border-color:var(--brand-blue);color:var(--brand-blue)}.order-clear-filters{color:#b42318}.order-extra-filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-top:8px;padding:12px;border:1px solid #dce3ee;border-radius:7px;background:#fff}.order-extra-filters label{flex:0 1 190px}.order-extra-filters .order-emergency-filter{display:flex;align-items:center;gap:7px;min-height:34px;flex:0 1 auto;color:#33425e;font-size:11px}.order-emergency-filter input{accent-color:var(--brand-blue)}
.order-results{border:1px solid #dce3ee;border-radius:8px;background:#fff;box-shadow:0 5px 18px #14213d0a}.order-table-scroll{overflow-x:auto}.order-table{min-width:1090px}.order-table-head,.order-table-row{display:grid;grid-template-columns:25px minmax(130px,1fr) minmax(155px,1.25fr) minmax(165px,1.3fr) 82px 108px 75px 105px 180px;align-items:center;gap:7px;padding:0 12px}.order-table-head{min-height:38px;border-bottom:1px solid #dce3ee;background:#f8faff;color:#52627d;font-size:10px;font-weight:700}.order-table-row{min-height:78px;border-bottom:1px solid #e8edf4;font-size:11px}.order-table-row:last-child{border-bottom:0}.order-table-row:hover{background:#fbfcff}.order-table input[type=checkbox]{width:14px;height:14px;margin:0;accent-color:var(--brand-blue);cursor:pointer}.order-identity,.order-customer>div,.order-date,.order-deadline,.order-states{display:grid;gap:3px;min-width:0}.order-identity button{width:max-content;max-width:100%;padding:0;border:0;background:transparent;color:var(--brand-blue);font-size:11px;font-weight:800;text-align:left;cursor:pointer}.order-identity small,.order-customer small,.order-date small{color:#66758d;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-customer{display:flex;align-items:center;gap:7px;min-width:0}.order-customer strong{max-width:128px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.order-avatar{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:50%;background:#dde8ff;color:#1b43aa;font-size:10px;font-weight:800}.order-items{display:grid;gap:4px;min-width:0}.order-items>div{display:flex;align-items:center;gap:5px;min-width:0}.order-items strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:700}.order-items small{color:#61718d;font-size:9px}.order-type-tag,.order-size-tag{display:inline-flex;align-items:center;padding:3px 5px;border-radius:4px;white-space:nowrap;font-size:9px;font-weight:700}.order-type-tag.garment{background:#e7f1ff;color:#1552bb}.order-type-tag.shoe{background:#eee9ff;color:#653cc3}.order-size-tag{margin-left:auto;background:#eef1f6;color:#44536d}.order-date{font-size:10px}.order-deadline strong{font-size:10px}.order-deadline span{width:max-content;max-width:100%;padding:3px 5px;border-radius:4px;color:#52627d;font-size:9px}.order-deadline span.is-soon{background:#fff2d9;color:#925809}.order-deadline span.is-overdue{background:#ffebea;color:#b42318}.order-total{white-space:nowrap;font-size:10px;font-weight:800}.order-states .order-status-pill,.order-payment,.order-emergency{width:max-content;max-width:100%;padding:3px 6px;border-radius:5px;font-size:9px;font-weight:700;white-space:nowrap}.order-payment.paid{background:#def7e6;color:#13793b}.order-payment.partial{background:#fff0d5;color:#9c5c06}.order-payment.unpaid{background:#ffe7e7;color:#b42318}.order-emergency{background:#fff1e1;color:#a1510b}.order-row-actions{display:flex;align-items:center;gap:3px}.order-row-actions>button,.order-row-actions summary{display:flex;align-items:center;justify-content:center;gap:3px;min-height:27px;padding:4px 5px;border:1px solid #d6deeb;border-radius:5px;background:#fff;color:#32435f;font-size:9px;font-weight:700;white-space:nowrap;cursor:pointer}.order-row-actions>button.progress{border-color:#a4b6ff;color:var(--brand-blue)}.order-row-actions .app-icon{width:12px;height:12px}.order-row-actions details{position:relative}.order-row-actions summary{width:27px;list-style:none}.order-row-actions summary::-webkit-details-marker{display:none}.order-row-actions details>div{position:absolute;right:0;top:30px;z-index:12;display:grid;width:145px;padding:4px;border:1px solid #dce3ee;border-radius:6px;background:#fff;box-shadow:0 9px 20px #14213d24}.order-row-actions details a{padding:7px;color:#263857;text-decoration:none;font-size:10px}.order-row-actions details a:hover{background:#eef1ff}.order-empty{padding:35px;color:#64748b;text-align:center;font-size:12px}.order-bulk-bar{display:flex;align-items:center;gap:10px;padding:9px 12px;border-bottom:1px solid #dce3ee;background:#eef2ff;font-size:11px}.order-bulk-bar button{display:flex;align-items:center;gap:5px;padding:6px 9px;border:1px solid #b9c7f6;border-radius:5px;background:#fff;color:var(--brand-blue);font-size:10px;font-weight:700;cursor:pointer}.order-bulk-bar button:disabled{opacity:.5;cursor:default}.order-bulk-message{margin:0;padding:9px 12px;border-bottom:1px solid #dce3ee;color:#45566f;font-size:11px}.order-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:50px;padding:9px 12px;border-top:1px solid #e8edf4;color:#64748b;font-size:10px}.order-pagination>div{display:flex;align-items:center;gap:4px}.order-pagination label{display:flex;align-items:center;gap:5px;margin-right:8px}.order-pagination select,.order-pagination button{min-width:27px;height:27px;border:1px solid #dce3ee;border-radius:5px;background:#fff;color:#31425e;font-size:10px}.order-pagination button{display:grid;place-items:center;cursor:pointer}.order-pagination button.is-active{border-color:var(--brand-blue);background:var(--brand-blue);color:#fff}.order-pagination button:disabled{opacity:.4;cursor:default}.order-pagination .app-icon{width:12px;height:12px}
.order-admin :is(button,a,input,select,summary):focus-visible{outline:2px solid #2f45e8;outline-offset:2px}
@media(max-width:1350px){.order-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.order-type-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.order-page-header{align-items:flex-start}.order-page-header p{max-width:580px}}
@media(max-width:760px){.order-page-header{display:grid}.order-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.order-type-tabs{display:flex;overflow-x:auto;padding-bottom:3px}.order-type-tabs button{flex:none}.order-filter-row label{flex:1 1 135px}.order-table-scroll{overflow:visible}.order-table{min-width:0}.order-table-head{display:none}.order-table-row{grid-template-columns:1fr auto;gap:9px;padding:13px;margin:0;border-bottom:8px solid #f6f8fc}.order-select{grid-column:2;grid-row:1}.order-identity{grid-column:1;grid-row:1}.order-identity button{font-size:13px}.order-customer{grid-column:1/-1;grid-row:2}.order-items{grid-column:1/-1;grid-row:3}.order-date{display:none}.order-deadline{grid-column:1;grid-row:4}.order-total{grid-column:2;grid-row:4;align-self:end;font-size:12px}.order-states{grid-column:1/-1;grid-row:5;display:flex;flex-wrap:wrap}.order-row-actions{grid-column:1/-1;grid-row:6}.order-row-actions>button{min-height:31px;padding:5px 10px;font-size:10px}.order-row-actions details{margin-left:auto}.order-pagination{flex-wrap:wrap}.order-page-actions{flex-wrap:wrap}}
@media(max-width:430px){.order-page-header h1{font-size:25px}.order-button{font-size:11px;padding:7px 10px}.order-kpi{min-height:72px}.order-filter-row label{min-width:135px}.order-filter-row{gap:6px}.order-pagination label{display:none}}
@media(prefers-reduced-motion:reduce){.order-admin *{scroll-behavior:auto!important;transition:none!important}}

.order-workspace-backdrop{position:fixed;inset:0;z-index:2500;display:grid;place-items:center;padding:12px;background:#091629a8}.order-detail-workspace{display:flex;flex-direction:column;width:min(1300px,100%);max-height:calc(100dvh - 24px);overflow:hidden;border:1px solid #d9e2ef;border-radius:8px;background:#f6f8fc;box-shadow:0 24px 70px #06122b4d}.order-workspace-header{display:flex;justify-content:space-between;align-items:center;gap:20px;flex:none;padding:16px 20px;border-bottom:1px solid #dce3ee;background:#fff}.order-eyebrow{color:var(--brand-blue);font-size:10px;font-weight:800;text-transform:uppercase}.order-workspace-header h2{margin:2px 0;color:#14213d;font-family:var(--brand-display);font-size:26px;line-height:1.1}.order-workspace-header p{margin:0;color:#64748b;font-size:11px}.order-workspace-header p span{padding:0 5px;color:#b4bfd0}.order-workspace-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.order-workspace-actions :is(button,a){display:flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:6px 10px;border:1px solid #d4deec;border-radius:6px;background:#fff;color:#32435e;text-decoration:none;font-size:11px;font-weight:700;cursor:pointer}.order-workspace-actions :is(button,a):hover{border-color:#a2b2f5;color:var(--brand-blue)}.order-workspace-actions button[aria-label]{width:32px;padding:6px}.order-workspace-loading{padding:45px;text-align:center;color:#64748b}.order-detail-content{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,.85fr);gap:14px;overflow:auto;padding:18px}.order-detail-primary,.order-detail-aside{display:grid;align-content:start;gap:14px;min-width:0}.order-detail-card{min-width:0;padding:16px;border:1px solid #e0e7f0;border-radius:8px;background:#fff;box-shadow:0 2px 8px #14213d08}.order-detail-section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px}.order-detail-section-head h3{margin:0;color:#14213d;font-size:14px;font-weight:800}.order-detail-section-head>span{color:#64748b;font-size:10px}.order-detail-card p{margin:8px 0;color:#53647d;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.order-detail-card>a,.order-detail-card>div>a{display:inline-flex;align-items:center;gap:5px;color:var(--brand-blue);font-size:11px;font-weight:700;text-decoration:none}.order-detail-item-head,.order-detail-item{display:grid;grid-template-columns:minmax(0,2fr) minmax(70px,.6fr) minmax(60px,.5fr) minmax(85px,.6fr);align-items:center;gap:10px}.order-detail-item-head{padding:7px 10px;border-radius:5px;background:#f5f7fb;color:#64748b;font-size:10px;font-weight:700}.order-detail-item{padding:11px 10px;border-bottom:1px solid #edf0f5;color:#33425e;font-size:11px}.order-detail-item:last-child{border-bottom:0}.order-detail-item>div{display:flex;align-items:center;gap:9px;min-width:0}.order-detail-item>div>div{display:grid;gap:3px;min-width:0}.order-detail-item strong{overflow-wrap:anywhere}.order-detail-item small{color:#64748b;font-size:10px;overflow-wrap:anywhere}.order-detail-item b{white-space:nowrap;color:#14213d;font-size:11px}.order-detail-item-icon{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:6px;background:#edf2ff;color:var(--brand-blue)}.order-financial-card>div:not(.order-detail-section-head){display:flex;justify-content:space-between;gap:10px;padding:8px 0;color:#52627d;font-size:11px}.order-financial-card>div strong{color:#14213d}.order-financial-card .order-financial-total{margin-top:5px;padding-top:13px!important;border-top:1px solid #dce3ee;font-size:15px!important;font-weight:800}.order-financial-total strong{color:var(--brand-blue)!important}.order-reference-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:9px}.order-reference-grid a{display:grid;gap:5px;color:#52627d;text-decoration:none;font-size:10px;overflow-wrap:anywhere}.order-reference-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:5px}.order-activity-list{display:grid;gap:8px}.order-activity-list>div{display:grid;grid-template-columns:8px 1fr;column-gap:8px;align-items:center;font-size:11px}.order-activity-list small{grid-column:2;color:#73819a;font-size:10px}.order-activity-dot{grid-row:1/3;width:8px;height:8px;border-radius:50%;background:var(--brand-blue)}.order-detail-status{display:flex;flex-wrap:wrap;gap:5px}.order-detail-person{display:flex;align-items:center;gap:9px}.order-detail-person .order-avatar{width:36px;height:36px}.order-detail-person>div{display:grid;gap:2px;font-size:12px}.order-detail-delivery-meta{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:13px;padding-top:12px;border-top:1px solid #e7ecf3;color:#64748b;font-size:10px}.order-detail-delivery-meta strong{color:#263857}.order-qr-card{text-align:center}.order-qr-card .order-detail-section-head{text-align:left}.order-qr-card>img{display:block;width:148px;height:148px;margin:0 auto 8px;background:#fff;image-rendering:pixelated}.order-qr-card>strong{display:block;color:#14213d;font-size:14px}.order-qr-card>div:last-child{display:flex;justify-content:center;gap:14px;margin-top:10px}.order-qr-card>div:last-child a{font-size:10px}
@media(max-width:900px){.order-detail-content{grid-template-columns:1fr}.order-detail-aside{grid-template-columns:repeat(2,minmax(0,1fr))}.order-workspace-header{align-items:flex-start}}
@media(max-width:600px){.order-workspace-backdrop{padding:0}.order-detail-workspace{width:100%;max-height:100dvh;height:100dvh;border-radius:0}.order-workspace-header{padding:12px}.order-workspace-header h2{font-size:21px}.order-workspace-header p{font-size:10px}.order-workspace-actions :is(button,a){min-height:30px;padding:5px 7px;font-size:10px}.order-detail-content{padding:10px;gap:10px}.order-detail-aside{grid-template-columns:1fr;gap:10px}.order-detail-primary{gap:10px}.order-detail-card{padding:12px}.order-detail-item-head{display:none}.order-detail-item{grid-template-columns:1fr 1fr;gap:7px}.order-detail-item>div{grid-column:1/-1}.order-detail-item b{text-align:right}}
.order-detail-route{min-width:0;padding:22px clamp(18px,2.2vw,34px) 40px;background:#f6f8fc}.order-detail-inline{min-width:0;outline:none}.order-detail-inline .order-detail-workspace{width:100%;max-height:none;box-shadow:none}.order-detail-inline .order-detail-content{overflow:visible}
@media(max-width:600px){.order-detail-route{padding:12px 10px 24px}.order-detail-inline .order-detail-workspace{height:auto;max-height:none;border-radius:8px}.order-detail-inline .order-workspace-header{flex-wrap:wrap}.order-detail-inline .order-detail-content{grid-template-columns:minmax(0,1fr)}}

.order-edit-workspace{display:flex!important;flex-direction:column;width:min(1200px,calc(100vw - 24px))!important;max-width:none!important;max-height:calc(100dvh - 24px)!important;border-radius:8px!important;overflow:hidden!important;background:#f6f8fc!important}.order-edit-workspace>header,.order-edit-workspace>footer{flex:none;background:#fff!important}.order-edit-workspace>header{border-bottom:1px solid #dce3ee}.order-edit-workspace>footer{border-top:1px solid #dce3ee}.order-edit-workspace .order-edit-content{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:14px;min-height:0;overflow:auto;padding:16px}.order-edit-primary{display:grid;align-content:start;gap:14px;min-width:0}.order-edit-section,.order-edit-workspace .order-edit-items,.order-edit-summary section{padding:16px;border:1px solid #dce3ee;border-radius:8px;background:#fff}.order-edit-section h3,.order-edit-workspace .order-edit-items h3,.order-edit-summary h3{margin:0 0 13px;font-size:14px;font-weight:800}.order-edit-workspace .order-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:0;padding:0;border:0;background:transparent}.order-edit-workspace .order-edit-grid label{min-width:0}.order-edit-workspace .order-edit-grid label>span{font-size:10px;font-weight:700}.order-edit-workspace .order-edit-grid :is(input,select){width:100%;min-width:0;max-width:none;height:35px;padding:6px 9px;border:1px solid #d4deec;border-radius:6px;background:#fff;color:#263857;font-size:11px}.order-edit-workspace .order-edit-grid input[readonly]{background:#f2f5f9}.order-edit-workspace .order-edit-grid .order-edit-check{display:flex;align-items:center;gap:7px;min-height:34px}.order-edit-workspace .order-edit-grid .order-edit-check input{width:15px;height:15px;accent-color:var(--brand-blue)}.order-edit-workspace .order-edit-grid .turnaround-edit-control{display:flex;width:100%}.order-edit-workspace .order-edit-grid .turnaround-edit-control input{min-width:0}.order-edit-workspace .order-edit-items{overflow:visible;margin:0}.order-edit-summary{display:grid;align-content:start;gap:12px;position:sticky;top:0}.order-edit-summary section>div{display:flex;justify-content:space-between;align-items:start;gap:8px;padding:8px 0;border-bottom:1px solid #edf0f5;color:#64748b;font-size:10px}.order-edit-summary section>div:last-child{border-bottom:0}.order-edit-summary strong{text-align:right;color:#14213d;font-size:11px;overflow-wrap:anywhere}.order-edit-summary .order-edit-grand-total{padding-top:13px;border-top:1px solid #dce3ee;border-bottom:0;font-size:13px;font-weight:800}.order-edit-summary .order-edit-grand-total strong{color:var(--brand-blue);font-size:16px}.order-edit-workspace>.validation-panel{margin:10px 16px 0}.order-edit-workspace footer button{font-size:11px}
.order-item-editor-card{margin-top:11px;padding:12px;border:1px solid #dce3ee;border-radius:7px;background:#fbfcff}.order-item-editor-head{display:flex;align-items:center;gap:8px;margin-bottom:11px}.order-item-editor-head strong{color:#14213d;font-size:12px}.order-item-editor-head span{padding:3px 7px;border-radius:4px;background:#eaf0ff;color:#3154a8;font-size:10px}.order-item-editor-head button{display:grid;place-items:center;width:27px;height:27px;margin-left:auto;border:1px solid #f3c7c7;border-radius:5px;background:#fff;color:#b42318;cursor:pointer}.order-item-editor-head .app-icon{width:14px;height:14px}.order-item-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.order-item-editor-fields label{display:grid;gap:4px;min-width:0;color:#52627d;font-size:10px;font-weight:700}.order-item-editor-fields :is(input,select){width:100%;min-width:0;height:35px;padding:6px 9px;border:1px solid #d4deec;border-radius:6px;background:#fff;color:#263857;font-size:11px}.order-item-editor-fields :is(input,select):focus{outline:2px solid #b5c3ff;border-color:var(--brand-blue)}
.order-item-editor-card.stock-shortage-card{border:2px solid #d99b22;background:#fff9e9}.stock-shortage-banner{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-bottom:10px;padding:8px 10px;border-radius:5px;background:#ffedbd;color:#704400;font-size:11px}.stock-shortage-banner strong{font-size:11px;font-weight:800;text-transform:uppercase}.stock-shortage-banner span{flex:1;min-width:170px}
.new-order-shell{display:block!important;min-width:0;background:#f6f8fc}.new-order-shell .orders-sidebar{display:none}.new-order-shell .new-order-main{max-width:none;min-width:0;padding:22px clamp(18px,2.2vw,34px) 40px}.new-order-shell .new-order-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.new-order-header h1{margin:0 0 4px;color:#14213d;font-family:var(--brand-display);font-size:29px}.new-order-header p{margin:0;color:#64748b;font-size:12px}.new-order-shell .intake-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,310px);gap:14px;align-items:start}.new-order-shell .intake-form{display:grid;gap:14px;min-width:0}.new-order-shell :is(.intake-card,.summary-card,.action-card){min-width:0;margin:0;padding:16px;border:1px solid #dce3ee;border-radius:8px;background:#fff;box-shadow:0 2px 8px #14213d08}.new-order-shell .summary-column{display:grid;gap:12px;position:sticky;top:76px;min-width:0}.new-order-shell .section-title h2{font-size:14px}.new-order-shell .items-card{overflow:visible}.new-order-shell .order-item-editor-card{display:block}.new-order-shell .order-item-editor-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.new-order-shell .back-link{width:auto;min-height:35px;padding:6px 11px;border:1px solid #d4deec;border-radius:6px;background:#fff;color:#32435e;font-size:11px;font-weight:700}.new-order-shell .action-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.new-order-shell .action-card .new-order-check{grid-column:1/-1;display:flex;align-items:flex-start;gap:8px;min-width:0;margin:0 0 4px;color:#344054;font-size:11px;line-height:1.45}.new-order-shell .action-card .new-order-check input{flex:none;width:16px;height:16px;margin:1px 0 0}.new-order-shell .action-card button{min-width:0;min-height:40px;height:auto;justify-content:center;padding:8px 10px;text-align:center;white-space:normal;line-height:1.25}.new-order-shell .action-card button .app-icon{flex:none}.new-order-shell .action-card .confirm{grid-column:1/-1;min-height:42px}.new-order-shell .order-breadcrumb{margin-bottom:12px}
@media(max-width:900px){.order-edit-workspace .order-edit-content{grid-template-columns:1fr}.order-edit-summary{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.new-order-shell .intake-grid{grid-template-columns:1fr}.new-order-shell .summary-column{position:static;grid-template-columns:1fr 1fr;align-items:start}}
@media(max-width:600px){.order-edit-workspace{width:100vw!important;max-height:100dvh!important;height:100dvh!important;border-radius:0!important}.order-edit-workspace .order-edit-content{padding:10px;gap:10px}.order-edit-summary{grid-template-columns:1fr}.order-edit-workspace .order-edit-grid,.order-item-editor-fields,.new-order-shell .order-item-editor-fields{grid-template-columns:1fr}.order-edit-workspace .order-edit-items,.order-edit-section,.order-edit-summary section{padding:12px}.new-order-shell .new-order-main{padding:18px 14px 30px}.new-order-shell .new-order-header{align-items:flex-start;flex-wrap:wrap}.new-order-shell .summary-column{grid-template-columns:1fr}.new-order-shell :is(.intake-card,.summary-card,.action-card){padding:12px}}

.journey-overlay{z-index:2500;background:#091629a8}.journey-modal{width:min(960px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);border:1px solid #dce3ee;border-radius:8px;background:#f6f8fc}.journey-header{align-items:center;grid-template-columns:38px 1fr 32px;gap:10px;padding:15px 18px;border-bottom:1px solid #dce3ee;background:#fff}.journey-header-icon{width:36px;height:36px;border-radius:7px}.journey-header h2{margin:0 0 3px;color:#14213d;font-family:var(--brand-display);font-size:23px}.journey-header h2 span{color:var(--brand-blue)}.journey-header p{font-size:11px}.journey-x{display:grid;place-items:center;width:30px;height:30px;padding:5px;border:1px solid #d4deec;border-radius:5px;cursor:pointer}.journey-scroll{padding:16px 18px}.journey-progress{margin:0 0 13px;padding:15px;border:1px solid #dce3ee;border-radius:8px;background:#fff}.journey-section-label{color:var(--brand-blue);font-size:10px;font-weight:800;text-transform:uppercase}.journey-progress-heading{gap:12px 30px;margin-top:8px}.journey-progress-heading span{font-size:10px}.journey-progress-heading strong{color:#14213d;font-size:17px}.journey-actions{margin-top:12px}.journey-actions button{min-height:34px;padding:7px 12px;border-color:var(--brand-blue);background:var(--brand-blue);color:#fff;font-size:11px}.journey-actions button:not(:first-child){background:#fff;color:var(--brand-blue)}.journey-scroll .journey-timeline{margin:0 0 13px;padding:15px 15px 3px 25px;border:1px solid #dce3ee;border-radius:8px;background:#fff}.journey-timeline h3{margin:0 0 18px;color:#14213d;font-size:14px}.journey-event{grid-template-columns:19px 33px minmax(0,1fr);gap:11px;min-height:68px}.journey-rail{left:7px}.journey-stage-icon{width:32px;height:32px;border-radius:7px}.journey-dot{margin-top:9px}.journey-event-content{padding-top:1px}.journey-event-title{margin-bottom:5px;gap:8px}.journey-event-title strong{color:#14213d;font-size:12px}.journey-event-title span{padding:3px 6px;border-radius:4px;font-size:10px}.event-completed .journey-dot{border-color:#15965d;background:#15965d}.event-completed .journey-rail{background:#15965d}.event-completed .journey-stage-icon{background:#e2f7eb;color:#148547}.event-completed .journey-event-title span{background:#e2f7eb;color:#148547}.event-current .journey-stage-icon{background:#e7eeff;color:var(--brand-blue)}.journey-meta{gap:8px;color:#66758b;font-size:10px}.journey-meta time{color:#66758b}.journey-history{margin:0;padding:15px;border:1px solid #dce3ee;border-radius:8px;background:#fff}.journey-history h3{margin-bottom:7px;color:#14213d;font-size:14px}.journey-history>div{border-top:1px solid #edf0f5}.journey-history strong,.journey-history span{font-size:10px}.journey-footer{height:52px;padding:0 18px;border-top:1px solid #dce3ee;background:#fff}.journey-footer button{height:31px;padding:0 14px;font-size:11px}
@media(max-width:600px){.journey-overlay{padding:0}.journey-modal{width:100vw;max-height:100dvh;height:100dvh;border-radius:0}.journey-header{padding:11px;grid-template-columns:32px 1fr 30px}.journey-header-icon{width:32px;height:32px}.journey-header h2{font-size:18px}.journey-header p{font-size:10px}.journey-scroll{padding:10px}.journey-progress{padding:12px}.journey-scroll .journey-timeline{padding:12px 10px 0 17px}.journey-event{gap:8px;grid-template-columns:18px 30px minmax(0,1fr)}.journey-stage-icon{width:28px;height:28px}.journey-event-title{flex-wrap:wrap}.journey-footer{padding:0 10px}}
.order-workspace-backdrop,.order-modal-backdrop,.journey-overlay,.order-detail-content,.order-edit-content,.journey-scroll{overscroll-behavior:contain}
.new-order-delivery,.new-order-payment-link{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid #e2e8f0}.new-order-delivery label,.new-order-payment-link label{display:grid;gap:5px;min-width:210px;color:#52627d;font-size:11px;font-weight:700}.new-order-delivery select,.new-order-payment-link input[type=email]{height:36px;padding:6px 10px;border:1px solid #d4deec;border-radius:5px;background:#fff;color:#14213d}.new-order-delivery select:disabled{background:#eef1f5;color:#8894a8}.new-order-delivery .new-order-check,.new-order-payment-link .new-order-check{display:flex;align-items:center;gap:8px;min-width:0;min-height:36px;color:#14213d}.new-order-payment-link p{flex-basis:100%;margin:0;color:#64748b;font-size:11px}.payment-link-result{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.payment-link-result input{flex:1;min-width:200px;padding:7px;border:1px solid #ccd7e7;border-radius:5px}.payment-link-result button{padding:7px 10px;border:1px solid #163cdb;border-radius:5px;background:#163cdb;color:#fff;cursor:pointer}.order-item-editor-head .duplicate-item{margin-left:auto;border-color:#c8d8ff;color:#1745cc}.order-item-editor-head .duplicate-item+button{margin-left:0}
.order-row-actions details>div .order-menu-danger{display:flex;align-items:center;gap:6px;width:100%;padding:8px 7px;border:0;background:#fff;color:#b42318;text-align:left;font-size:10px;font-weight:700;cursor:pointer}.order-row-actions details>div .order-menu-danger:hover{background:#fff0ef}.order-row-actions details>div .order-menu-danger .app-icon{width:13px;height:13px}
.order-edit-payment-note{margin:12px 0 0;color:#52627d;font-size:11px;line-height:1.45}
.order-cancel-modal{width:min(520px,calc(100vw - 24px))}.order-cancel-body{display:grid;gap:16px;padding:20px 22px}.order-cancel-body>p{margin:0;color:#4a5871;font-size:12px;line-height:1.5}.order-cancel-body>label{display:grid;gap:7px;color:#344054;font-size:11px;font-weight:700}.order-cancel-body textarea{width:100%;min-height:82px;padding:10px;border:1px solid #ccd6e5;border-radius:6px;color:#14213d;font:inherit;resize:vertical}.order-cancel-body fieldset{display:grid;gap:10px;margin:0;padding:13px;border:1px solid #dce3ee;border-radius:6px}.order-cancel-body legend{padding:0 5px;color:#344054;font-size:11px;font-weight:800}.order-cancel-body fieldset label{display:flex;align-items:center;gap:8px;color:#344054;font-size:11px}.order-cancel-body input[type=radio]{accent-color:var(--brand-blue)}.order-cancel-body .order-cancel-payment-note{padding:10px;border:1px solid #f5daa9;border-radius:6px;background:#fffaeb;color:#88560b}.order-cancel-body .order-cancel-error{color:#b42318}.order-cancel-modal footer .order-cancel-confirm{border-color:#b42318;background:#b42318;color:#fff}.order-cancel-modal footer .order-cancel-confirm:disabled{opacity:.55;cursor:not-allowed}
.order-payment-link{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #e2e8f0}.order-payment-link strong{flex-basis:100%;color:#14213d;font-size:12px}.order-payment-link input{flex:1;min-width:180px;padding:8px;border:1px solid #cbd5e1;border-radius:5px}.order-payment-link button{display:flex;align-items:center;gap:5px;padding:8px 10px;border:1px solid #163cdb;border-radius:5px;background:#163cdb;color:#fff;cursor:pointer}.order-payment-link small{flex-basis:100%;color:#b42318}
.order-test-payment-note{margin:12px 0 0;padding:9px 11px;border:1px solid #c7d7ff;border-radius:6px;background:#eff4ff;color:#17376d;font-size:12px;line-height:1.4}
