@charset "UTF-8";.order-form .field-actions{flex-wrap:wrap}.product-title-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.order-form .client-products-trigger{white-space:nowrap}.order-form .client-products-trigger:disabled{opacity:.5;cursor:not-allowed}.order-form .client-products-trigger.is-discrete{color:var(--muted);font-size:.78rem;font-weight:700}.order-form .client-products-trigger.is-discrete:hover:not(:disabled){color:var(--accent)}.order-form .order-attachments-card,.order-form .form-attachment-group{min-width:0;border:1px solid var(--border);border-radius:11px;background:var(--surface)}.order-form .order-attachments-card{margin:0 0 16px;padding:12px 14px}.order-form .order-attachments-card>header,.order-form .attachment-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.order-form .order-attachments-card>header>div,.order-form .attachment-group-heading>div{display:grid;gap:3px;min-width:0}.order-form .order-attachments-card>header strong,.order-form .attachment-group-heading strong{color:var(--text);font-size:.9rem}.order-form .order-attachments-card>header small,.order-form .attachment-group-heading small{color:var(--muted);font-size:.74rem}.order-form .order-attachments-card>header>span{display:grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:8px;background:var(--surface-2);color:var(--text);font-weight:800}.order-form .attachment-upload{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:36px;margin-top:10px;padding:0 12px;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:var(--surface-2);color:var(--text);font-size:.8rem;font-weight:800;cursor:pointer}.order-form .attachment-upload:hover:not(.disabled){border-color:var(--accent);color:var(--accent)}.order-form .attachment-upload.compact{flex:0 0 auto;min-height:32px;margin:0;padding:0 10px;font-size:.76rem}.order-form .attachment-upload.disabled{opacity:.48;cursor:not-allowed}.order-form .attachment-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:inherit}.order-form .attachment-lock-note,.order-form .attachment-empty{margin:8px 0 0;color:var(--muted);font-size:.76rem}.order-form .attachment-status{margin:8px 0 0;color:var(--success, #32c878);font-size:.78rem}.order-form .attachment-status.error{color:var(--danger, #e45b5b)}.order-form .attachment-file-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:7px;margin-top:9px}.order-form .attachment-file-list article{display:flex;align-items:center;gap:9px;min-width:0;padding:7px 8px;border:1px solid var(--border);border-radius:8px;background:var(--surface-2)}.order-form .attachment-file-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:7px;background:var(--active);color:var(--accent);font-size:.62rem;font-weight:900}.order-form .attachment-file-list article>div{display:grid;min-width:0;gap:3px}.order-form .attachment-file-list .attachment-file-info{flex:1 1 auto}.order-form .attachment-file-actions{display:flex;flex:0 0 auto;align-items:center;gap:5px}.order-form .attachment-file-actions button{min-height:30px;padding:0 8px;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--text);font-size:.68rem;font-weight:750;cursor:pointer}.order-form .attachment-file-actions button:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.order-form .attachment-file-actions button:disabled{opacity:.48;cursor:not-allowed}.attachment-overlay{z-index:1500}.attachment-preview-modal,.attachment-delete-modal{width:min(900px,96vw);max-height:min(90vh,900px);overflow:hidden}.attachment-preview-modal>header,.attachment-delete-modal>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;border-bottom:1px solid var(--border)}.attachment-preview-modal>header h2,.attachment-delete-modal>header h2{margin:3px 0 0;overflow-wrap:anywhere;font-size:1rem}.attachment-preview-modal>header button{flex:0 0 auto}.attachment-preview-content{display:grid;place-items:center;min-height:180px;max-height:calc(90vh - 75px);overflow:auto;padding:12px;background:#111}.attachment-preview-content img{display:block;max-width:100%;max-height:calc(90vh - 110px);object-fit:contain}.attachment-preview-content iframe{width:min(100%,850px);height:min(76vh,760px);border:0;background:#fff}.attachment-preview-content p,.attachment-preview-error{color:var(--danger, #e45b5b)}.attachment-delete-modal{width:min(460px,94vw);padding-bottom:14px}.attachment-delete-modal>p{margin:16px 18px;color:var(--muted)}.attachment-delete-modal>footer{display:flex;justify-content:flex-end;gap:8px;padding:0 18px}.attachment-delete-modal>footer button{min-height:36px;padding:0 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-2);color:var(--text);font-weight:800}.attachment-delete-modal>footer button.danger-link{color:var(--danger, #e45b5b)}.order-form .attachment-file-list article strong{overflow:hidden;color:var(--text);font-size:.76rem;text-overflow:ellipsis;white-space:nowrap}.order-form .attachment-file-list article small{color:var(--muted);font-size:.66rem;line-height:1.3}.order-form .form-attachment-group{margin:12px 0;padding:10px 11px}.order-form .variation-attachments{margin:10px 0}.client-products-panel{margin:10px 0 14px;padding:12px;border:1px solid var(--border);border-radius:11px;background:var(--surface-2)}.client-products-panel>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;color:var(--text)}.client-products-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:8px;max-height:210px;overflow:auto}.client-products-list article{display:flex;align-items:center;gap:10px;min-width:0;padding:7px 9px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}.client-products-list img,.client-product-no-image{flex:0 0 42px;width:42px;height:42px;border-radius:7px;object-fit:contain;background:#fff}.client-product-no-image{display:grid;place-items:center;color:var(--muted)}.client-product-info{display:grid;gap:2px;min-width:0}.client-product-info strong{overflow:hidden;color:var(--accent);font-size:.78rem;line-height:1.15;text-overflow:ellipsis}.client-product-info small{color:var(--text);font-size:.84rem;line-height:1.25}.client-products-state{margin:0;color:var(--muted);font-size:.88rem}.client-products-state.error{color:var(--danger, #e45b5b)}.client-products-state button{margin-left:6px}.order-form .modal-head{gap:16px}.order-form-heading{flex:0 0 auto;min-width:max-content}.order-form .modal-head .form-steps{flex:1 1 auto;width:auto;min-width:0;max-width:760px;justify-content:space-between;margin:0 auto;padding:0;border:0}.order-form .modal-head .form-steps>button{gap:7px;padding:4px 2px;white-space:nowrap}.order-form .modal-head .form-steps>button>i{width:34px;height:34px;flex:0 0 34px}.order-form .modal-head .form-steps>button>span{font-size:.82rem}.order-form .modal-head .form-steps>button small{font-size:.65rem}.order-form .modal-head .form-steps>b{flex:1 1 18px;width:auto;min-width:12px;margin:0 6px}.order-form .form-product>header{align-items:center;gap:14px}.order-form .product-heading{display:flex;align-items:center;flex:1 1 auto;min-width:0;gap:12px}.order-form .product-heading>img{width:48px;height:48px;flex:0 0 48px;object-fit:cover;border:1px solid var(--border);border-radius:9px;background:var(--surface-2)}.order-form .product-heading>div{min-width:0}.order-form .form-footer{position:relative;bottom:auto;flex:0 0 auto;align-items:center;justify-content:space-between;border-top:1px solid #2f261f;margin:0;padding:12px 24px max(12px,env(safe-area-inset-bottom));background:#171411}.order-form .form-footer button{min-height:44px;padding:0 16px;border-radius:10px}.order-form .form-footer .primary{min-width:220px;min-height:46px;border-radius:12px;font-weight:900}.order-form .form-footer>span{flex:1 1 auto}@media(max-width:900px){.order-form .modal-head{flex-wrap:wrap;row-gap:8px}.order-form .modal-head .form-steps{order:3;flex:1 0 100%;max-width:none}}@media(max-width:560px){.order-form .modal-head{padding:12px 14px!important}.order-form .modal-head h2{font-size:1.35rem!important}.order-form .modal-head .form-steps>button{gap:5px;white-space:normal}.order-form .modal-head .form-steps>button>i{width:30px;height:30px;flex-basis:30px}.order-form .modal-head .form-steps>button>span{font-size:.72rem}.order-form .modal-head .form-steps>button small{display:none}.order-form .modal-head .form-steps>b{min-width:6px;margin:0 2px}.order-form .modal-body{padding:14px 14px 18px!important}.order-form .form-footer{flex-wrap:wrap;padding:10px 14px max(10px,env(safe-area-inset-bottom))}.order-form .form-footer>span{display:none}.order-form .form-footer .primary{min-width:0;flex:1 1 100%}.order-form .order-attachments-card{padding:10px}.order-form .attachment-group-heading{align-items:flex-start}.order-form .attachment-file-list{grid-template-columns:minmax(0,1fr)}.order-form .attachment-file-list article.attachment-file-row{flex-wrap:wrap}.order-form .attachment-file-actions{width:100%;justify-content:flex-end}.order-form .form-attachment-group{padding:9px}}.order-form .modal-head{display:grid;grid-template-columns:max-content minmax(0,1fr) 36px;align-items:center;gap:12px;flex-wrap:nowrap;padding:10px 18px!important}.order-form-heading{min-width:0}.order-form-heading small{font-size:.58rem!important;letter-spacing:.08em!important}.order-form .modal-head .order-form-heading h2{margin:1px 0 0;font-size:1.12rem!important;line-height:1.05;white-space:nowrap}.order-form .modal-head .form-steps{order:0;display:flex;width:auto;max-width:none;min-width:0;margin:0;padding:0;justify-content:flex-end}.order-form .modal-head .form-steps>button{gap:5px;padding:2px 1px;white-space:nowrap}.order-form .modal-head .form-steps>button>i{width:28px;height:28px;flex-basis:28px;font-size:.82rem}.order-form .modal-head .form-steps>button>span{font-size:.74rem}.order-form .modal-head .form-steps>button small{display:none}.order-form .modal-head .form-steps>b{flex:1 1 12px;width:auto;min-width:8px;margin:0 4px}.order-form .order-form-close{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #33291f;border-radius:9px;background:#211c17;color:var(--muted);font-size:1.1rem;line-height:1}.order-form .client-field .field-label-row{align-items:flex-start;gap:8px}.order-form .client-field .field-label-row>span:first-child{flex:0 0 auto;padding-top:5px}.order-form .client-field .field-actions{display:flex;flex:1 1 auto;flex-wrap:wrap;justify-content:flex-end;gap:5px;margin:0}.order-form .client-field .field-actions .link{min-height:30px;padding:0 9px;font-size:.66rem}.order-form .order-attachments-card{margin:12px 0 0;padding:0}.order-form .order-attachments-card details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:9px 12px;cursor:pointer;list-style:none}.order-form .order-attachments-card details>summary::-webkit-details-marker{display:none}.order-form .order-attachments-card details>summary>span{display:grid;min-width:0;gap:3px}.order-form .order-attachments-card details>summary strong{color:var(--text);font-size:.86rem}.order-form .order-attachments-card details>summary small{color:var(--muted);font-size:.7rem}.order-form .order-attachments-card details>summary b{display:grid;place-items:center;flex:0 0 auto;min-width:25px;height:25px;padding:0 7px;border-radius:8px;background:var(--surface-2);color:var(--text);font-size:.76rem}.order-form .order-attachments-content{padding:0 12px 12px}.order-form .order-attachments-content .attachment-upload{margin-top:0}@media(max-width:900px){.order-form .modal-head{grid-template-columns:max-content minmax(0,1fr) 34px;gap:8px}.order-form .modal-head .form-steps{flex:initial;order:0;width:auto;max-width:none}}@media(max-width:560px){.order-form .modal-head{grid-template-columns:max-content minmax(0,1fr) 30px;gap:5px;padding:9px 10px!important}.order-form-heading small{display:none}.order-form .modal-head .order-form-heading h2{font-size:.94rem!important}.order-form .modal-head .form-steps{justify-content:space-between}.order-form .modal-head .form-steps>button{gap:3px;white-space:nowrap}.order-form .modal-head .form-steps>button>i{width:24px;height:24px;flex-basis:24px;font-size:.72rem}.order-form .modal-head .form-steps>button>span{font-size:clamp(.56rem,2.2vw,.68rem)}.order-form .modal-head .form-steps>b{flex-basis:5px;min-width:4px;margin:0 2px}.order-form .order-form-close{width:30px;height:30px}.order-form .client-field .field-label-row{flex-direction:row;flex-wrap:wrap;align-items:center}.order-form .client-field .field-label-row>span:first-child{padding-top:0}.order-form .client-field .field-actions{justify-content:flex-start}.order-form .client-field .field-actions .link{min-height:28px;padding:0 7px;font-size:.64rem}.order-form .order-attachments-card details>summary{align-items:flex-start;padding:9px}.order-form .order-attachments-content{padding:0 9px 9px}}.order-form .final-review{min-width:0}.order-form .review-heading{display:grid;grid-template-columns:minmax(170px,.42fr) minmax(0,1fr);align-items:end;gap:16px;margin-bottom:14px}.order-form .review-title h3{margin:0;font-family:var(--font-title, Georgia, serif);font-size:1.35rem}.order-form .review-title p{margin:4px 0 0;color:var(--muted);font-size:.82rem}.order-form .review-overview{display:grid;grid-template-columns:minmax(180px,1.35fr) repeat(2,minmax(85px,.55fr)) minmax(115px,.8fr);align-items:stretch;gap:7px;min-width:0}.order-form .review-overview>label,.order-form .review-overview>span{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:50px;margin:0;padding:7px 9px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}.order-form .review-overview>label{display:grid;align-content:center;gap:3px;color:var(--muted);font-size:.72rem;font-weight:750}.order-form .review-overview input{width:100%;min-width:0;min-height:28px;padding:2px 5px}.order-form .review-overview small{color:var(--muted);font-size:.72rem}.order-form .review-overview b{font-size:1rem}.order-form .review-overview>span.review-total{display:grid;align-content:center;gap:0;border-color:color-mix(in srgb,var(--accent) 38%,var(--border));background:var(--active)}.order-form .review-total strong{color:var(--accent);font-size:1.25rem;line-height:1.1}.order-form .review-section-title{display:flex;align-items:baseline;gap:9px;margin:0 0 8px;color:var(--muted);font-size:.9rem;letter-spacing:.04em;text-transform:uppercase}.order-form .review-section-title small{color:var(--muted);font-size:.72rem;font-weight:500;letter-spacing:0;text-transform:none}.order-form .review-products{display:grid;gap:7px}.order-form .review-product-card{min-width:0;padding:10px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.order-form .review-product-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px}.order-form .review-product-header>header{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0}.order-form .review-product-header>header>img{width:40px;height:40px;object-fit:cover;border-radius:7px;background:var(--surface-2)}.order-form .review-product-image-placeholder{width:40px;height:40px;border:1px solid var(--border);border-radius:7px;background:var(--surface-2)}.order-form .review-product-header>header>span{display:grid;min-width:0;gap:2px}.order-form .review-product-header>header strong{overflow-wrap:anywhere;font-size:.88rem}.order-form .review-product-header>header small{color:var(--muted);font-size:.72rem}.order-form .review-product-header>header .link{min-height:30px;padding:0 9px;font-size:.75rem}.order-form .review-pilot-indicators{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}.order-form .form-product.attention-card{gap:0;border-color:var(--attention-border);border-left:5px solid var(--attention-accent);background:linear-gradient(115deg,var(--attention-bg),color-mix(in srgb,var(--attention-bg) 82%,var(--surface)));box-shadow:0 6px 18px var(--attention-shadow)}.order-form .attention-card.review-pilot-badge{min-width:max-content}.order-form .review-pilot-send{display:inline-flex;align-items:center;min-height:30px;padding:0 9px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface-2);color:var(--text);font-size:.7rem;font-weight:800}.order-form .review-variation{display:grid;grid-template-columns:minmax(125px,.5fr) minmax(0,1.5fr);align-items:center;gap:8px;min-width:0;margin-top:6px;padding:7px 9px;border-radius:8px;background:var(--surface-2)}.order-form .review-variation-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;min-width:0}.order-form .review-variation-meta b{font-size:.78rem}.order-form .review-variation-meta>strong{flex:0 0 auto;color:var(--accent);font-size:.8rem}.order-form .review-variation-details,.order-form .review-color-list,.order-form .review-finish-list{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px;min-width:0}.order-form .review-variation em{display:inline-flex;align-items:center;gap:5px;min-height:27px;max-width:100%;padding:3px 6px;border-radius:6px;background:var(--surface);font-size:.72rem;font-style:normal;overflow-wrap:anywhere}.order-form .review-variation em img,.order-form .review-variation em i{flex:0 0 19px;width:19px;height:19px;object-fit:cover;border-radius:4px}.order-form .finish-review{color:var(--accent);text-transform:capitalize}@media(max-width:1000px){.order-form .review-heading{grid-template-columns:1fr;gap:9px}.order-form .review-overview{grid-template-columns:minmax(180px,1.4fr) repeat(3,minmax(90px,.7fr))}}@media(max-width:700px){.order-form .review-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.order-form .review-overview>label{grid-column:1/-1}.order-form .review-product-header{grid-template-columns:minmax(0,1fr)}.order-form .review-pilot-indicators{justify-content:flex-start}.order-form .review-variation{grid-template-columns:minmax(0,1fr)}.order-form .review-variation-details{justify-content:flex-start}}@media(max-width:480px){.order-form .review-product-card{padding:8px}.order-form .review-product-header>header{grid-template-columns:34px minmax(0,1fr);gap:7px}.order-form .review-product-header>header>img{width:34px;height:34px}.order-form .review-product-image-placeholder{width:34px;height:34px}.order-form .review-product-header>header .link{grid-column:2;justify-self:start}.order-form .review-overview>label,.order-form .review-overview>span{min-height:44px;padding:6px 7px}}:root{--bg: #14110f;--surface: #1b1815;--surface-2: #211d19;--surface-3: #2a241f;--text: #fff7ee;--muted: #bca17b;--muted-soft: #8f795e;--border: #342d26;--border-strong: #574735;--accent: #d7a22b;--accent-strong: #f0b733;--active: #423217;--sidebar: #171411;--sidebar-text: #f4ebdc;--success: #58de88;--danger: #ff3338;--warning: #ffd75a;--urgent-bg: #351b1b;--urgent-border: #ff3338;--attention-bg: #493719;--attention-border: #8f6a20;--attention-accent: #f0b733;--attention-label: #ffd36b;--attention-shadow: rgba(215, 162, 43, .16);--radius-sm: 8px;--radius-md: 10px;--radius-lg: 14px;--control-h: 40px;--shadow: 0 22px 58px rgba(0, 0, 0, .4);color-scheme:dark}:root[data-theme=light]{--bg: #f4f1eb;--surface: #fffdf9;--surface-2: #f0ece4;--surface-3: #e7e0d5;--text: #251f19;--muted: #75634d;--muted-soft: #9a8871;--border: #d9cdbb;--border-strong: #bba88e;--active: #f6e7bf;--sidebar: #fffaf1;--sidebar-text: #3c3023;--attention-bg: #fff1c5;--attention-border: #c18a20;--attention-accent: #a96d08;--attention-label: #704908;--attention-shadow: rgba(151, 101, 10, .14);color-scheme:light}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:Inter,Segoe UI,Tahoma,Arial,sans-serif;font-size:14px;line-height:1.32;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}body{min-width:0}button,input,select,textarea{font:inherit}input::placeholder,textarea::placeholder{color:var(--muted-soft)}.page-header{margin-bottom:18px}.page-header small{display:block;color:var(--accent);font-size:.71rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase}.page-header span,.page-header p{margin:0;color:var(--muted);line-height:1.35;font-size:.98rem}.message{margin-bottom:1rem;padding:.76rem .9rem;border:1px solid var(--border);border-radius:var(--radius-md);background:#d7a22b1a;color:var(--text)}.attention-card{display:grid;gap:.42rem;padding:.9rem 1rem;border:1px solid var(--attention-border);border-left:5px solid var(--attention-accent);border-radius:12px;background:linear-gradient(115deg,var(--attention-bg),color-mix(in srgb,var(--attention-bg) 82%,var(--surface)));color:var(--text);box-shadow:0 6px 18px var(--attention-shadow)}.attention-card>small{color:var(--attention-label);font-size:.72rem;font-weight:900;letter-spacing:.045em;text-transform:uppercase}.attention-card.compact{gap:.12rem;padding:.4rem .5rem;font-size:.7rem;line-height:1.2}.attention-card.compact>small{font-size:.6rem}.modal-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:#000000b8}.modal{width:min(960px,96vw);max-height:90vh;overflow:auto;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow)}.modal-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:16px 22px;background:var(--surface);border-bottom:1px solid var(--border)}.modal-head h2{margin:0;font-family:var(--font-title, Georgia, serif);color:#f7f0e5}.modal-head button{border:0;background:transparent;color:var(--muted);cursor:pointer}.modal-body{padding:18px 22px}.tabs{display:flex;gap:8px;margin-bottom:14px;padding-bottom:6px;border-bottom:1px solid var(--border)}.tabs button{min-height:34px;padding:0 12px;border:1px solid transparent;border-radius:var(--radius-sm);background:transparent;color:var(--muted);cursor:pointer;font-size:.92rem;font-weight:700}.tabs button.active{border-color:var(--border);background:var(--surface-2);color:var(--text)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.form label{display:grid;gap:6px;color:var(--muted);font-size:.8rem;font-weight:700}.form input,.form select,.form textarea{min-height:var(--control-h);padding:.58rem .78rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--text)}.wide{grid-column:span 2}.check{display:flex!important;align-items:center;flex-direction:row}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.metric{padding:12px;background:var(--surface-2);border:1px solid var(--border);border-radius:12px}.metric small{color:var(--muted)}.metric strong{display:block;margin-top:5px;font-size:1.28rem;color:var(--accent)}@media(max-width:900px){.grid,.metric-grid{grid-template-columns:1fr 1fr}}.page-header p{margin:0 0 4px;color:var(--accent);font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.page-header span{display:block;margin-top:7px;color:var(--muted);font-size:.98rem}.table-card tbody tr,table tbody tr{transition:background .12s ease,border-color .12s ease}.table-card td strong,table td strong{color:var(--text);font-weight:900}.table-card td small,table td small{display:block;margin-top:3px;color:var(--muted)}td span:not(.badge):not(.status):not(.pilot-status):not(.approval-status){display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border:1px solid rgba(88,222,136,.2);border-radius:999px;background:#58de881a;color:var(--success);font-size:.76rem;font-weight:800}td span.inactive{border-color:#ff33384d!important;background:#ff33381f!important;color:#ff8185!important}app-orders .closed-orders-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) minmax(200px,1.2fr) auto;gap:10px;align-items:end;margin-bottom:12px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}app-orders .closed-orders-filter label{display:grid;gap:5px;color:var(--muted);font-size:.8rem;font-weight:800}app-orders .closed-orders-filter input,app-orders .closed-orders-filter select{width:100%;min-width:0;min-height:42px;padding:0 10px;border:1px solid var(--border);border-radius:9px;background:var(--surface-2);color:var(--text)}app-orders .closed-orders-filter button{min-height:42px;padding:0 14px;border:1px solid var(--accent);border-radius:9px;background:var(--accent);color:#1a1208;font-weight:800}@media(max-width:700px){app-orders .closed-orders-filter{grid-template-columns:repeat(2,minmax(0,1fr))}app-orders .closed-orders-filter button{grid-column:1/-1}}.page-header{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:4px 0 16px}.page-header>div{min-width:0}.page-header p,.page-header small{margin:0 0 5px;color:var(--accent);font-size:.72rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.page-header h1{margin:0;font-family:var(--font-title, Georgia, serif);font-size:clamp(2rem,3vw,2.55rem);line-height:.96;letter-spacing:-.03em;color:var(--text)}.page-header span,.page-header p+span{display:block;margin-top:7px;color:var(--muted);font-size:.98rem}.page-header button,.toolbar button,.primary{min-height:40px;padding:0 16px;border:1px solid rgba(215,162,43,.55);border-radius:11px;background:var(--accent);color:#171109;font-weight:900;cursor:pointer}.toolbar{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:0;background:transparent}.toolbar input,.toolbar select{min-height:40px;padding:0 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text)}.toolbar input{width:min(520px,100%);min-width:220px}.toolbar button:not(.primary){border-color:var(--border);background:var(--surface);color:var(--text)}.card,.table-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;color:var(--text);box-shadow:none}.table-card{overflow:auto;padding:0}.table-card table,table{width:100%;border-collapse:collapse;color:var(--text)}.table-card thead,table thead{background:var(--surface-2)}.table-card th,table th{padding:10px 12px;border-bottom:1px solid var(--border);color:var(--muted);font-size:.72rem;font-weight:900;letter-spacing:.06em;text-align:left;text-transform:uppercase;white-space:nowrap}.table-card td,table td{padding:10px 12px;border-bottom:1px solid var(--border);color:var(--text);vertical-align:middle}.table-card tbody tr,table tbody tr{background:var(--surface)}.table-card tbody tr:hover,table tbody tr:hover{background:var(--surface-2)}.link,.order-button{min-height:32px;padding:0 12px;border:1px solid rgba(215,162,43,.38);border-radius:9px;background:var(--active);color:var(--accent);font-weight:900;cursor:pointer;white-space:nowrap}.empty,.loading{padding:22px;color:var(--muted);text-align:center}@media(max-width:800px){.page-header,.toolbar{align-items:stretch;flex-direction:column}.toolbar input,.toolbar select,.toolbar button{width:100%}}app-orders .stage-consistency-alert{display:grid;gap:.7rem;margin:0 0 1rem;padding:.9rem 1rem;border:1px solid #a96f14;border-left:4px solid #d8a126;border-radius:12px;background:color-mix(in srgb,#d8a126 9%,var(--surface, #211e1a));color:var(--text, #f4eee4)}app-orders .stage-consistency-alert p{margin:.25rem 0 0;color:var(--muted, #c3b49c)}app-orders .stage-consistency-alert>button,app-orders .stage-consistency-heading>button,app-orders .stage-consistency-alert .issue-open{width:auto;min-height:34px;justify-self:start;padding:.4rem .75rem}app-orders .stage-consistency-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}app-orders .stage-consistency-alert ul{display:grid;gap:.45rem;margin:0;padding:0;list-style:none}app-orders .stage-consistency-alert li{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.6rem .7rem;border:1px solid var(--border, #40362a);border-radius:9px}app-orders .stage-consistency-alert li small{display:block;margin-top:.2rem;color:var(--muted, #c3b49c)}app-orders .stage-consistency-error{border-color:#8b4c35;border-left-color:#d56a4e}@media(max-width:600px){app-orders .stage-consistency-heading{align-items:flex-start;flex-direction:column}app-orders .stage-consistency-alert li{align-items:flex-start}}.variation-quantity-input{-moz-appearance:textfield;appearance:textfield}.variation-quantity-input::-webkit-inner-spin-button,.variation-quantity-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.portal-admin>header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.portal-admin>header h3,.portal-admin h4{margin:0 0 6px}.portal-admin>header p,.portal-admin>p{color:var(--muted)}.portal-link-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:14px 0;border-block:1px solid var(--border)}.portal-link-row>div{flex:1 1 180px;display:grid;gap:4px}.portal-link-row small{color:var(--muted)}.portal-link-row input{min-width:180px;flex:1 1 280px;padding:9px;border:1px solid var(--border);border-radius:6px;background:var(--surface-2);color:var(--text)}.portal-admin button,.portal-open-link{min-height:36px;padding:0 11px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);font-weight:700;cursor:pointer}.portal-admin button.primary{border-color:var(--accent);background:var(--accent);color:#17130c}.portal-admin button:disabled{opacity:.55;cursor:not-allowed}.portal-open-link{display:inline-flex;align-items:center;text-decoration:none}.portal-settings{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;padding:12px 0}.portal-settings label{display:grid;gap:5px;color:var(--muted);font-size:.82rem}.portal-settings input{width:140px;min-height:36px;padding:7px 9px;border:1px solid var(--border);border-radius:6px;background:var(--surface-2);color:var(--text)}.portal-history,.portal-publish-list{display:grid;gap:8px;margin:12px 0 18px}.portal-history article,.portal-publish-list article{display:grid;gap:7px;padding:12px;border:1px solid var(--border);border-radius:6px;background:var(--surface-2)}.portal-history article>span,.portal-history article>small,.portal-publish-list small{color:var(--muted)}.portal-history article button{justify-self:start}.portal-publish-list label{display:flex;align-items:center;gap:8px}.portal-publish-list input{accent-color:var(--accent)}.portal-publish-list .portal-file{padding-left:26px;color:var(--muted);font-size:.86rem}.portal-error{color:#e07a70!important}.portal-success{color:#53bd83!important}@media print{body.printing-purchases,body.printing-purchases app-root{background:#fff!important}body.printing-purchases app-shell>.shell>aside,body.printing-purchases app-shell>.shell>.content>.mobile-header{display:none!important}body.printing-purchases app-shell>.shell{display:block!important;min-height:0!important}body.printing-purchases app-shell>.shell>.content>main{padding:0!important}}.portal-publish-list{display:grid;gap:10px}.portal-publish-list article{display:grid;gap:8px;padding:12px;border:1px solid var(--border-color, #3a322a);border-radius:8px}.portal-publish-list>article>label:first-child{display:flex;align-items:center;gap:8px}.portal-preview-colors{display:flex;flex-wrap:wrap;gap:8px}.portal-preview-colors span{display:flex;align-items:center;gap:6px;font-size:.85rem}.portal-preview-colors img,.portal-preview-colors i{width:28px;height:28px;flex:0 0 28px;object-fit:cover;border:1px solid var(--border-color, #514333);border-radius:50%}.portal-file{display:grid;grid-template-columns:auto 56px minmax(0,1fr);align-items:center;gap:10px;padding:8px;border-top:1px solid var(--border-color, #3a322a)}.portal-file-thumbnail{width:56px;height:56px;object-fit:contain;border:1px solid var(--border-color, #514333);border-radius:6px}.portal-file small{grid-column:3;color:var(--text-muted, #a99b84)}app-orders .identifier-editor{margin:.75rem 0 1.25rem;padding:.85rem;border:1px solid #493c2d;border-radius:8px}app-orders .identifier-editor-head,app-orders .identifier-actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem}app-orders .identifier-editor-head strong,app-orders .identifier-editor-head small{display:block}app-orders .identifier-editor-head small{margin-top:.2rem;color:#bda27c}app-orders .identifier-editor button{min-height:38px;padding:.45rem .8rem;border:1px solid #493c2d;border-radius:6px;background:#211d19;color:#f6f0e8}app-orders .identifier-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:.8rem 0}app-orders .identifier-fields label{display:grid;gap:.35rem;color:#bda27c}app-orders .identifier-fields input{min-width:0;padding:.65rem;border:1px solid #493c2d;border-radius:6px;background:#171412;color:#f6f0e8}app-orders .identifier-actions{justify-content:flex-end}app-orders .identifier-editor p{margin:.6rem 0 0;color:#70d89c}@media(max-width:600px){app-orders .identifier-fields{grid-template-columns:1fr}}
