:root{color:#243831;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--green:#1d5543;--muted:#53665e;--border:#d7e0db;--radius:12px;background:#f3f6f4;font-family:Segoe UI,system-ui,-apple-system,sans-serif;font-size:100%;line-height:1.5}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.48}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button svg{flex-shrink:0}a{color:#185b46;text-underline-offset:3px}:focus-visible{outline-offset:3px;outline:3px solid #2269c4}h1,h2,h3,p{margin:0}h1{letter-spacing:-.035em;font-size:clamp(1.65rem,2.5vw,2rem);font-weight:650;line-height:1.2}h2{font-size:1.25rem;font-weight:650;line-height:1.35}h3{font-size:1.0625rem;font-weight:650;line-height:1.4}p{line-height:1.6}input,select,textarea{color:#243831;background:#fff;border:1px solid #9eafa6;border-radius:7px;width:100%;min-width:0;min-height:46px;padding:10px 12px}input::placeholder,textarea::placeholder{color:#66776e;opacity:1}textarea{resize:vertical}input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--green);flex-shrink:0}label,.picker-field{flex-direction:column;gap:8px;min-width:0;font-size:.9375rem;font-weight:550;display:flex}fieldset{border:0;min-width:0;margin:0;padding:0}.muted{color:var(--muted)}.small,small{font-size:.875rem}.eyebrow{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:.8125rem;font-weight:600}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.button{white-space:nowrap;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:9px;min-height:46px;padding:10px 16px;font-size:.9375rem;font-weight:600;text-decoration:none;display:inline-flex}.button.primary{background:var(--green);color:#fff}.button.primary:hover:not(:disabled){background:#143e31}.button.secondary{color:#285343;background:#fff;border-color:#adbbb2}.button.secondary:hover:not(:disabled){background:#ecf2ee}.button.compact{min-height:42px;padding:8px 12px;font-size:.875rem}.icon-button{color:#536a5e;background:0 0;border:0;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;padding:8px;display:inline-flex}.icon-button:hover:not(:disabled){color:#173c2d;background:#e9f0ec}.icon-button.danger{color:#a53830}.text-button{color:#1c6148;text-underline-offset:3px;background:0 0;border:0;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:6px 2px;font-size:.875rem;font-weight:600;display:inline-flex}.text-button:hover:not(:disabled){text-decoration:underline}.dot{background:currentColor;border-radius:50%;flex-shrink:0;width:7px;height:7px;display:inline-block}.badge{white-space:nowrap;border-radius:6px;align-items:center;gap:7px;padding:6px 10px;font-size:.8125rem;font-weight:650;display:inline-flex}.status-pending{color:#805a09;background:#fff2cf}.status-printed{color:#2e5e86;background:#eaf2fc}.status-preparing{color:#954b12;background:#fff0df}.status-ready{color:#2f6533;background:#e4f2e2}.status-delivered{color:#225e50;background:#e3f0ea}.delivery-badge{white-space:nowrap;border-radius:6px;align-items:center;gap:7px;width:fit-content;margin-top:8px;padding:6px 9px;font-size:.875rem;font-weight:650;display:flex}.delivery-pickup{--delivery-bg:#f1dffa;--delivery-color:#6d2386}.delivery-route{--delivery-bg:#deebff;--delivery-color:#174b96}.delivery-courier{--delivery-bg:#ffead1;--delivery-color:#884300}.delivery-received{--delivery-bg:#d5f4ed;--delivery-color:#075b50}.payment-filter-unpaid{--delivery-bg:#ffebe8;--delivery-color:#9b2c20}.payment-filter-paid{--delivery-bg:#e4f3d6;--delivery-color:#315d13}.payment-filter-all,.delivery-partial,.delivery-all{--delivery-bg:#edf0f3;--delivery-color:#435465}.delivery-badge{background:var(--delivery-bg);color:var(--delivery-color)}.delivery-status-filter{border:0;min-width:0;margin:0;padding:0}.delivery-status-dropdown{--delivery-bg:#edf0f3;--delivery-color:#435465;flex:1;min-width:240px;position:relative}.fabrication-designed{--delivery-bg:#ffead1;--delivery-color:#884300}.fabrication-printed{--delivery-bg:#deebff;--delivery-color:#174b96}.fabrication-ready{--delivery-bg:#d5f4ed;--delivery-color:#075b50}.fabrication-progress-pending{--delivery-bg:#ffead1;--delivery-color:#884300}.delivery-status-dropdown>summary{border:1px solid var(--delivery-color);background:var(--delivery-bg);min-height:46px;color:var(--delivery-color);cursor:pointer;border-radius:7px;padding:10px 12px;font-size:.875rem;font-weight:650}.delivery-status-dropdown>summary[aria-disabled=true]{opacity:.6;cursor:default}.delivery-status-dropdown>.delivery-status-filter{z-index:20;border:1px solid var(--border);background:#fff;border-radius:10px;max-height:min(360px,60vh);padding:6px;position:absolute;inset:calc(100% + 6px) 0 auto;overflow-y:auto;box-shadow:0 8px 24px #24383126}.delivery-status-filter>div{gap:4px;display:grid}.delivery-status-filter .delivery-filter-choice{background:var(--delivery-bg);min-height:44px;color:var(--delivery-color);cursor:pointer;border:1px solid #0000;border-radius:8px;flex-direction:row;align-items:center;gap:7px;margin:0;padding:7px 10px;font-size:.875rem;display:flex}.delivery-filter-choice:has(input:checked){border-color:var(--delivery-color);box-shadow:inset 0 0 0 1px var(--delivery-color);font-weight:700}.delivery-filter-choice:focus-within{outline:2px solid var(--delivery-color);outline-offset:3px}.delivery-status-filter input[type=radio]{width:16px;height:16px;min-height:0;accent-color:var(--delivery-color);flex-shrink:0;margin:0;padding:0}.delivery-status-filter:disabled .delivery-filter-choice{opacity:.6;cursor:default}.count-pill,.mini-tag{color:#405e47;vertical-align:middle;background:#e8efe9;border-radius:6px;align-items:center;margin-left:5px;padding:3px 8px;font-size:.8125rem;font-weight:550;display:inline-flex}.late-text{color:#a23420!important}.app-shell{min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--border);z-index:10;background:#fff;flex-direction:column;width:224px;padding:28px 16px 0;display:flex;position:fixed;inset:0 auto 0 0}.brand{color:var(--green);align-items:center;gap:12px;margin:0 8px 34px;text-decoration:none;display:flex}.brand-mark{background:var(--green);color:#fff;border-radius:10px;place-items:center;width:44px;height:44px;display:grid}.brand strong{letter-spacing:-.06em;font-size:1.65rem;font-weight:700;line-height:1.1;display:block}.brand small{letter-spacing:.09em;margin-top:5px;font-size:.6875rem;font-weight:600;display:block}.sidebar-label{color:#65766b;letter-spacing:.075em;margin-bottom:14px;padding:0 12px;font-size:.6875rem}.sidebar nav{flex-direction:column;gap:5px;display:flex}.nav-item{text-align:left;color:#52695d;background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;min-height:48px;padding:12px;font-size:.9375rem;display:flex}.nav-item.active{color:#194b35;background:#e7f1e9;font-weight:650}.nav-item:hover{background:#f0f5f1}.nav-count{color:#8f4214;background:#f7dfc6;border-radius:5px;margin-left:auto;padding:1px 7px;font-size:.8125rem}.sidebar-bottom{margin-top:auto}.profile{border-top:1px solid var(--border);align-items:center;gap:10px;margin-top:28px;padding:22px 0;display:flex}.profile strong{font-size:.9375rem;font-weight:600;display:block}.profile small{color:var(--muted);margin-top:4px;font-size:.75rem;display:block}.profile .icon-button{margin-left:auto}.avatar{color:#31543c;background:#e6eee7;border-radius:50%;place-items:center;width:38px;height:38px;font-weight:600;display:grid}.main-shell{width:calc(100% - 224px);min-width:0;margin-left:224px}.topbar{border-bottom:1px solid var(--border);background:#fff;justify-content:space-between;align-items:center;gap:16px;min-height:72px;padding:12px 30px;display:flex}.breadcrumb{color:#596b62;align-items:center;gap:12px;font-size:.875rem;display:flex}.breadcrumb strong{color:#253f32;font-weight:600}.breadcrumb>span{color:#8b9e91}.sync-status{color:#365e43;align-items:center;gap:8px;font-size:.8125rem;display:flex}.sync-status .offline{color:#ab641c}.main-content{max-width:1700px;margin:auto;padding:24px 30px 0}.demo-banner{color:#395542;background:#edf4ed;border:1px solid #d6e3d8;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:28px;padding:10px 14px;font-size:.8125rem;display:flex}.demo-banner .text-button{white-space:nowrap}.page-heading{justify-content:space-between;align-items:center;gap:22px;margin-bottom:28px;display:flex}.page-heading .eyebrow{margin-bottom:8px}.page-heading p{color:var(--muted);margin-top:8px;font-size:.9375rem}.page-heading .button{flex-shrink:0}.orders-heading p,.orders-section.compact>.section-heading{display:none}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px;display:grid}.stat-card{text-align:left;border:1px solid var(--border);border-radius:var(--radius);color:#2e4438;background:#fff;min-width:0;padding:20px}.stat-card:is(button):hover{border-color:#78a386}.stat-top{color:#506659;justify-content:space-between;align-items:center;gap:8px;margin-bottom:15px;font-size:.875rem;display:flex}.stat-top svg{color:#526f59;width:20px;height:20px}.stat-card>strong{color:#1d4030;letter-spacing:-.04em;overflow-wrap:anywhere;font-size:2.1rem;font-weight:650;line-height:1.2;display:block}.stat-card strong small{color:var(--muted);letter-spacing:normal;margin-left:8px;font-size:.875rem;font-weight:400}.stat-card .money-stat{font-size:clamp(1.4rem,2vw,1.85rem)}.stat-card p{color:var(--muted);margin-top:12px;font-size:.8125rem}.ready-stat{background:#eaf4e9;border-color:#cbdfca}.currency-icon{font-size:1.25rem;font-weight:650}.delivery-panel{border:1px solid var(--border);border-radius:var(--radius);background:#fff;align-items:center;gap:24px;margin-bottom:30px;padding:22px;display:flex}.delivery-intro{flex-shrink:0;width:185px}.delivery-intro .eyebrow{display:none}.delivery-intro h2{font-size:1.125rem}.late-link{color:#a24422;background:0 0;border:0;align-items:center;gap:7px;min-height:44px;padding:10px 0;font-size:.8125rem;display:flex}.upcoming-list{flex:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;min-width:0;display:grid}.upcoming-item{text-align:left;background:0 0;border:0;align-items:center;gap:11px;min-width:0;padding:10px 0;display:flex}.upcoming-item>div:nth-child(2){min-width:0}.upcoming-item strong{overflow-wrap:anywhere;font-size:.9375rem;font-weight:650;display:block}.upcoming-item span{color:var(--muted);margin-top:4px;font-size:.8125rem;display:block}.upcoming-item>svg{flex-shrink:0;margin-left:auto}.date-tile{color:#35573f;text-align:center;background:#eef4ef;border-radius:8px;flex-direction:column;justify-content:center;min-width:46px;height:58px;display:flex}.date-tile strong{font-size:1.35rem}.date-tile small{text-transform:uppercase;font-size:.6875rem}.section-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.section-heading p{color:var(--muted);margin-top:7px}.filters{flex-wrap:wrap;gap:10px;margin-bottom:18px;display:flex}.filters select{flex:1;width:auto;min-width:150px;font-size:.875rem}.search-box{flex:2;min-width:220px;font-size:.9375rem;position:relative}.search-box>svg{color:#566b5e;pointer-events:none;width:18px;height:18px;position:absolute;top:14px;left:12px}.search-box input{padding-left:40px}.orders-table-wrap{border:1px solid var(--border);border-radius:var(--radius);background:#fff;overflow:auto}.orders-table{border-collapse:collapse;text-align:left;width:100%;font-size:.9375rem}.orders-table th{color:#4a6254;white-space:nowrap;background:#eaf0ec;padding:15px 16px;font-size:.8125rem;font-weight:650}.orders-table td{border-top:1px solid var(--border);vertical-align:top;min-width:90px;padding:20px 16px}.orders-table tbody tr:hover{background:#fbfcfb}.order-client{text-align:left;background:0 0;border:0;min-width:145px;min-height:44px;padding:0;display:block}.order-client>span{color:var(--muted);margin-bottom:6px;font-size:.8125rem;display:block}.order-client>strong{color:#203d2c;font-size:1.125rem;font-weight:650;line-height:1.35;display:block}.order-client small{color:var(--muted);margin-top:7px;font-size:.8125rem;display:block}.order-client:hover strong{text-decoration:underline}.order-client>.order-designs{align-items:center;gap:6px;margin:12px 0 0;display:flex}.order-designs .design-thumbnail,.order-designs .design-placeholder{width:32px;height:40px}.order-designs>span:last-child:not(.design-placeholder){font-size:.8125rem}.orders-table td:nth-child(2)>strong{font-size:1.2rem}.cell-sub{color:var(--muted);margin-top:6px;font-size:.875rem;display:block}.progress{background:#dae6dc;border-radius:8px;height:5px;overflow:hidden}.progress>span{background:#5b9568;border-radius:8px;height:100%;display:block}.table-progress{color:var(--muted);flex-direction:column;gap:5px;margin-top:12px;display:flex}.table-progress .progress{width:100%;max-width:110px}.table-progress small{white-space:nowrap;font-size:.8125rem}.order-total{color:#234f37;white-space:normal;overflow-wrap:anywhere;margin-bottom:5px;font-size:1.125rem;font-weight:700;display:block}.order-balance{color:#315d45;white-space:normal;overflow-wrap:anywhere;margin-top:5px;font-size:.9375rem;font-weight:650;display:block}.order-balance.due{color:#91481a}.payment-label{color:#81571a;align-items:center;gap:5px;font-size:.8125rem;display:inline-flex}.payment-label.paid{color:#28613b}.person-tag{align-items:center;gap:8px;font-size:.875rem;display:flex}.person-tag>span{color:#38583e;background:#e8eee7;border-radius:50%;flex-shrink:0;place-items:center;width:28px;height:28px;font-size:.75rem;display:grid}.table-footer,.page-footer{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:14px 0;font-size:.8125rem;display:flex}.page-footer{border-top:1px solid var(--border);justify-content:flex-end;margin-top:28px;padding:20px 0}.surface{border:1px solid var(--border);border-radius:var(--radius);background:#fff;min-width:0;padding:26px}.surface>p{margin-top:12px}.empty-state{text-align:center;border:1px solid var(--border);border-radius:var(--radius);color:#536b59;background:#fff;flex-direction:column;align-items:center;padding:50px 24px;display:flex}.empty-state>svg{margin-bottom:16px}.empty-state h3{color:#2d5138;margin-bottom:9px}.empty-state p{color:var(--muted);margin-bottom:15px}.empty-inline{color:var(--muted);border:1px dashed #a8b8ac;border-radius:8px;justify-content:center;align-items:center;gap:10px;margin-top:16px;padding:24px 18px;font-size:.875rem;display:flex}.success-circle{background:#e8f2e7;border-radius:50%;place-items:center;width:56px;height:56px;margin-bottom:18px;display:grid}.notice{border:1px solid #0000;border-radius:8px;margin:14px 0;padding:13px 15px;font-size:.9375rem;line-height:1.6}.notice svg{vertical-align:middle;margin-right:6px}.notice.warning{color:#775011;background:#fff5db;border-color:#dbc78d}.notice.error{color:#923c2c;background:#fff0eb;border-color:#e3b6a9}.notice.info{color:#345c3e;background:#edf5eb;border-color:#c8ddc1}.toast{color:#fff;z-index:100;background:#183f30;border:1px solid #ffffff40;border-radius:10px;align-items:center;gap:12px;max-width:calc(100% - 32px);padding:12px 16px;font-size:.9375rem;display:flex;position:fixed;bottom:24px;left:calc(50% + 112px);transform:translate(-50%);box-shadow:0 8px 35px #193f3030}.toast .icon-button{color:#fff}.modal{color:#263e30;background:#fff;border:1px solid #d7e1d9;border-radius:14px;width:650px;max-width:calc(100vw - 40px);max-height:92dvh;padding:0;overflow:auto;box-shadow:0 22px 80px #18352740}.modal.wide{width:1120px}.modal::backdrop{background:#10291f80}.modal-header{z-index:3;border-bottom:1px solid var(--border);background:#fff;justify-content:space-between;align-items:center;gap:16px;padding:22px 28px;display:flex;position:sticky;top:0}.modal-header h2{font-size:1.5rem}.modal-header .eyebrow{margin-bottom:5px}.order-form>fieldset,.detail-body,.expense-form>fieldset,.design-form>fieldset{padding:26px 28px}.order-form section{margin-bottom:28px}.order-form section:last-child{margin-bottom:0}.order-form section>h3{color:#647d6b;align-items:center;gap:12px;margin-bottom:20px;font-size:.875rem;display:flex}.order-form section>h3 span{color:#2c4934;font-size:1.125rem}.form-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.form-grid.three{grid-template-columns:repeat(3,1fr)}.span-2{grid-column:span 2}.importer{background:#f4f8f4;border:1px solid #ccdcca;border-radius:10px;margin-bottom:22px;padding:20px}.importer>p{margin-bottom:15px}.names-preview{grid-template-columns:1fr 1fr;gap:10px;max-height:280px;margin-top:14px;display:grid;overflow:auto}.names-preview label{flex-direction:row;align-items:center;gap:8px;display:flex}.names-preview label>span{text-align:center;width:22px;color:var(--muted);flex-shrink:0;font-size:.8125rem}.import-actions{justify-content:space-between;align-items:flex-end;gap:18px;margin-top:20px;display:flex}.import-actions .picker-field{flex:1;max-width:420px}.check-label{min-height:40px;color:var(--muted);flex-direction:row;align-items:center;gap:10px;padding:5px 0;font-size:.875rem;font-weight:400;display:flex}.editable-line{border-bottom:1px solid var(--border);grid-template-columns:24px minmax(140px,1fr) minmax(210px,1.2fr) 85px 44px;align-items:end;gap:12px;padding:18px 0;display:grid}.line-number{color:var(--muted);padding-bottom:12px;font-size:.8125rem}.line-note{grid-column:2/5}.line-note input{font-size:.875rem}.line-quantity{align-content:end;gap:6px;min-width:0;display:grid}.line-quantity>span{color:var(--muted);font-size:.875rem}.line-quantity>strong{padding:10px 0;font-size:1rem}.line-quantity .text-button{white-space:normal;text-align:left;font-size:.8125rem}.line-quantity label{gap:8px;display:grid}.replacement-details{border:1px solid var(--border);border-radius:12px;margin:24px 0}.replacement-details>summary{cursor:pointer;padding:18px;font-weight:600}.replacement-details>summary .count-pill{margin-left:8px}.replacement-content{padding:0 18px 18px}.production-seller{color:var(--green);align-items:center;gap:8px;margin:12px 0 0;font-size:.9375rem;display:flex}.production-seller span{overflow-wrap:anywhere}.repeated-text-note{color:var(--muted);margin-top:6px;font-size:.8125rem;display:inline-block}.modal-footer{z-index:4;border-top:1px solid var(--border);background:#fff;padding:16px 28px;position:sticky;bottom:0}.modal-footer .notice{margin:0 0 12px}.footer-actions{justify-content:flex-end;align-items:center;gap:12px;display:flex}.footer-actions>span{max-width:45%;margin-right:auto}.detail-summary{flex-wrap:wrap;align-items:center;gap:15px;display:flex}.detail-summary>.text-button{margin-left:auto}.detail-info{background:#f1f7f1;border:1px solid #cbdccf;border-radius:10px;grid-template-columns:1.3fr 1fr 1fr;gap:24px;margin:24px 0;padding:22px;display:grid}.detail-info>div>span{color:var(--muted);margin-bottom:8px;font-size:.875rem;display:block}.detail-info strong{font-size:1.1875rem;font-weight:650;display:block}.detail-info p,.detail-info a{overflow-wrap:anywhere;margin-top:9px;font-size:.9375rem}.detail-info .delivery-badge{font-size:1rem}.order-note{white-space:pre-wrap;background:#f6f8f4;border-left:3px solid #799b7d;margin-bottom:24px;padding:10px 15px}.detail-body section{margin:28px 0}.stage-cards{grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:12px;margin:22px 0;display:grid}.stage-cards>div{border:1px solid var(--border);border-radius:9px;padding:15px}.stage-cards>div>span{color:var(--muted);min-height:40px;font-size:.8125rem;display:block}.stage-cards strong{font-size:1.75rem;font-weight:600}.stage-cards strong small{color:var(--muted);font-size:.875rem}.stage-cards .progress{margin-top:12px}.stage-cards .text-button{font-size:.8125rem}.production-scroll{border:1px solid var(--border);border-radius:9px;overflow:auto}.production-table{border-collapse:collapse;text-align:left;width:100%}.production-table th{white-space:nowrap;background:#edf2ee;padding:14px 12px;font-size:.8125rem;font-weight:600}.production-table td{border-top:1px solid var(--border);padding:13px 12px}.production-table td strong{font-size:1rem;font-weight:650;display:block}.production-table td span{color:var(--muted);margin-top:5px;font-size:.875rem;display:block}.production-table input{width:76px;min-height:46px}.line-design-reference{align-items:center;gap:12px;min-width:230px;display:flex}.replacement-form{background:#f9f8ee;border:1px solid #dbd8c2;border-radius:9px;grid-template-columns:1fr 110px;gap:18px;margin:18px 0;padding:20px;display:grid}.replacement-form>.button{grid-column:1/-1;justify-self:end}.replacement-list>div{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:18px;padding:19px 0;display:flex}.replacement-list>div:last-child{border:0}.replacement-list strong{font-size:1rem;display:block}.replacement-list span:not(.badge),.replacement-list small{color:var(--muted);margin-top:7px;font-size:.875rem;display:block}.replacement-list .resolved{opacity:.65}.backup-grid{grid-template-columns:1.2fr 1fr;gap:24px;display:grid}.feature-icon{width:48px;height:48px;color:var(--green);background:#eaf2e8;border-radius:10px;place-items:center;margin-bottom:20px;display:grid}.feature-icon.warm{color:#8d661e;background:#f6efdc}.backup-option{border-bottom:1px solid var(--border);padding:24px 0}.backup-option p{color:var(--muted);margin:10px 0 16px;font-size:.875rem}.backup-option strong{font-weight:650}.setup-list{margin:25px 0;padding-left:22px;list-style:decimal}.setup-list li{margin-bottom:22px;padding-left:5px}.setup-list strong{font-size:.9375rem;display:block}.setup-list span{color:var(--muted);margin-top:7px;font-size:.875rem;display:block}.accounts-page{gap:24px;display:grid}.accounts-page .stats-grid{margin-bottom:0}.accounts-period{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px;display:flex}.accounts-period p{max-width:560px;margin-top:10px}.accounts-period-fields{flex-wrap:wrap;align-items:flex-end;gap:14px;display:flex}.accounts-period-fields label{min-width:0}.accounts-table-wrap{border:1px solid var(--border);border-radius:9px;margin-top:22px;overflow:auto}.accounts-table{text-align:right;border-collapse:collapse;white-space:nowrap;width:100%;font-size:.9375rem}.accounts-table th,.accounts-table td{border-bottom:1px solid var(--border);padding:17px 15px}.accounts-table thead th{color:#405d4a;background:#edf2ee;font-size:.8125rem;font-weight:600}.accounts-table th:first-child{text-align:left}.accounts-table tr:last-child>*{border-bottom:0}.accounts-export{justify-content:space-between;align-items:center;gap:24px;display:flex}.accounts-export p{margin-top:9px}.expense-form>fieldset,.design-form>fieldset{gap:22px;display:grid}.expense-export{margin-top:16px}.profit-equation{color:var(--muted);flex-wrap:wrap;align-items:center;gap:24px;margin:24px 0;font-size:.9375rem;display:flex}.profit-equation strong{color:var(--green);margin-top:6px;font-size:1.6rem;font-weight:650;display:block}.share-cards{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.share-cards>div{background:#eff6ec;border:1px solid #cadcc8;border-radius:9px;padding:20px}.share-cards span,.share-cards small{color:var(--muted);font-size:.875rem;display:block}.share-cards strong{color:#224f31;margin:12px 0;font-size:1.6rem;font-weight:650;display:block}.catalog-toolbar{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.catalog-toolbar .search-box{max-width:480px}.catalog-picker{padding:24px 28px}.design-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:18px;margin-top:22px;display:grid}.design-card{text-align:left;background:#fff;border:1px solid #c9d6cd;border-radius:12px;flex-direction:column;align-items:stretch;gap:15px;min-width:0;padding:16px;display:flex}.design-card .button{margin-top:auto}.design-card h2,.design-card>strong{overflow-wrap:anywhere;font-size:1.0625rem;line-height:1.4}.design-card.selected{border:2px solid var(--green);background:#f0f7ef;padding:15px}.design-card.selectable:hover{background:#f5faf4;border-color:#3e7b51}.design-thumbnail,.design-placeholder{object-fit:contain;background:#fff;border:1px solid #d8e0d9;border-radius:6px;flex-shrink:0;width:52px;height:60px}.design-placeholder{color:#78897a;background:#f0f3ef;justify-content:center;align-items:center;display:inline-flex}.design-thumbnail.large,.design-placeholder.large{object-fit:contain;width:100%;height:190px}.design-select{text-align:left;background:#fff;border:1px solid #9eafa6;border-radius:8px;align-items:center;gap:10px;width:100%;min-height:60px;padding:8px 10px;display:flex}.design-select>span:not(.design-placeholder){overflow-wrap:anywhere;flex:1;min-width:0;font-size:.9375rem;line-height:1.4}.design-select small{color:var(--muted);margin-top:4px;font-size:.75rem;display:block}.design-select .design-thumbnail,.design-select .design-placeholder{width:40px;height:44px}.design-select>svg:last-child{margin-left:auto}.thumbnail-preview{border:1px solid var(--border);border-radius:10px;flex-direction:column;align-items:center;gap:12px;padding:18px;display:flex}.thumbnail-button{background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:0;display:inline-flex}.design-lightbox{text-align:center;padding:24px}.design-lightbox img{object-fit:contain;width:100%;max-width:480px;max-height:65dvh}.design-lightbox p{margin-top:15px}.thumbnail-preview img{object-fit:contain;width:100%;height:240px}.thumbnail-preview p{color:var(--muted);font-size:.875rem}.upload-field input{padding:12px;font-size:.875rem}.catalog-footnote{margin-top:24px!important}.login-page{background:#fff;grid-template-columns:1fr 1fr;min-height:100vh;display:grid}.login-brand{color:#e9f1e8;background:#1c4d3c;flex-direction:column;justify-content:center;padding:70px;display:flex}.login-brand h1{color:#fff;margin:28px 0 20px;font-size:3rem}.login-brand .brand-mark{background:#ffffff20;width:60px;height:60px}.login-card{width:100%;max-width:490px;margin:auto;padding:40px}.login-card h2{font-size:1.8rem}.login-card p{margin:20px 0 26px}.login-card label{margin-top:22px}.login-card .button{width:100%;margin-top:28px}.initial-loading,.config-error{flex-direction:column;justify-content:center;align-items:center;gap:20px;min-height:100vh;padding:30px;display:flex}@media (width<=1400px){.main-content{padding:24px 24px 0}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card .money-stat{font-size:1.85rem}.upcoming-list{grid-template-columns:repeat(2,minmax(0,1fr))}.upcoming-item:nth-child(3){display:none}.orders-table th,.orders-table td{padding-left:12px;padding-right:12px}}@media (width<=1050px){.sidebar{width:190px;padding-left:12px;padding-right:12px}.main-shell{width:calc(100% - 190px);margin-left:190px}.nav-item{padding:12px 10px;font-size:.875rem}.brand{margin-left:4px;margin-right:4px}.brand strong{font-size:1.5rem}.brand small{font-size:.625rem}.topbar{padding:12px 22px}.delivery-panel{flex-direction:column;align-items:stretch;gap:12px}.delivery-intro{justify-content:space-between;align-items:center;gap:15px;width:auto;display:flex}.backup-grid{grid-template-columns:1fr}.toast{left:calc(50% + 95px)}}@media (width<=1150px){.orders-table-wrap{background:0 0;border:0;overflow:visible}.orders-table,.orders-table tbody{display:block}.orders-table thead{display:none}.orders-table tr{border:1px solid var(--border);background:#fff;border-radius:12px;grid-template-columns:1fr 1fr;gap:18px 24px;margin-bottom:14px;padding:22px;display:grid;position:relative}.orders-table td{border:0;min-width:0;padding:0;display:block}.orders-table td:first-child{grid-area:1/1}.orders-table td:nth-child(2){text-align:right;grid-area:1/2;padding-right:36px}.orders-table td:nth-child(3){grid-area:2/1}.orders-table td:nth-child(4){grid-area:2/2}.orders-table td:nth-child(5){border-top:1px solid var(--border);grid-area:3/1;padding-top:16px}.orders-table td:nth-child(6){border-top:1px solid var(--border);grid-area:3/2;justify-content:flex-end;align-items:flex-start;padding-top:16px;display:flex}.orders-table td:last-child{position:absolute;top:18px;right:12px}.orders-table td:nth-child(3):before,.orders-table td:nth-child(4):before{color:var(--muted);margin-bottom:8px;font-size:.8125rem;font-weight:550;display:block}.orders-table td:nth-child(3):before{content:"Entrega"}.orders-table td:nth-child(4):before{content:"Producción"}.orders-table td:nth-child(2)>strong{font-size:1.5rem}.orders-table td:nth-child(5):before{content:"Total";color:var(--muted);margin-bottom:6px;font-size:.8125rem;display:block}}@media (width<=760px){.sidebar{width:100%;padding:6px 8px max(6px, env(safe-area-inset-bottom));border:0;border-top:1px solid var(--border);height:auto;inset:auto 0 0;box-shadow:0 -2px 10px #16352508}.sidebar .brand,.sidebar-label,.sidebar-bottom{display:none}.sidebar nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}.nav-item{justify-content:center;gap:7px;min-height:44px;padding:10px 5px;font-size:.8125rem}.nav-item svg{width:18px;height:18px}.nav-count{display:none}.main-shell{width:100%;padding-bottom:calc(124px + env(safe-area-inset-bottom));margin-left:0}.topbar{gap:8px;min-height:64px;padding:8px 16px}.breadcrumb{gap:7px;font-size:.8125rem}.sync-status{gap:5px;font-size:.75rem}.main-content{padding:20px 16px 0}.demo-banner{flex-wrap:wrap;margin-bottom:24px;padding:12px;font-size:.8125rem;display:flex}.demo-banner .text-button{justify-content:flex-start;margin-top:5px;display:flex}.demo-banner>span{flex:1;min-width:180px}.orders-heading,.page-heading.orders-heading{flex-wrap:nowrap;align-items:flex-end}.page-heading.orders-heading>div{flex:1;min-width:0}.orders-heading>div{min-width:0}.page-heading{flex-wrap:wrap;align-items:flex-start;gap:16px;margin-bottom:24px}.page-heading .eyebrow{font-size:.75rem}.page-heading p{font-size:.9375rem}.page-heading>.button{padding:10px 12px}.stats-grid{gap:12px}.stat-card{padding:16px}.stat-top{align-items:flex-start;font-size:.8125rem}.stat-card>strong{font-size:1.85rem}.stat-card .money-stat{font-size:clamp(1.2rem,5.3vw,1.65rem)}.stat-card strong small{margin:5px 0 0;font-size:.8125rem;display:block}.stat-card p{font-size:.8125rem}.delivery-panel{margin-bottom:26px;padding:18px}.delivery-intro,.upcoming-list{display:block}.upcoming-item{border-top:1px solid var(--border);width:100%;padding:15px 0}.upcoming-item:nth-child(3){display:flex}.upcoming-item:last-child{padding-bottom:0}.upcoming-item strong{font-size:1rem}.upcoming-item span{font-size:.875rem}.section-heading{align-items:flex-start;gap:12px}.section-heading h2{font-size:1.1875rem}.filters select{min-width:calc(50% - 5px);font-size:.875rem}.search-box{min-width:100%}.orders-table tr{gap:18px 12px;padding:18px}.orders-table td:nth-child(2){padding-right:28px}.orders-table td:last-child{top:14px;right:8px}.orders-table td:nth-child(3)>strong{font-size:.9375rem}.order-client{min-width:0}.order-client>strong{font-size:1.125rem}.delivery-badge{white-space:normal;gap:5px;padding:6px 7px;font-size:.8125rem;line-height:1.4}.orders-table .badge{padding:6px 8px;font-size:.75rem}.person-tag{font-size:.8125rem}.table-footer{flex-wrap:wrap;font-size:.75rem}.surface{padding:20px 16px}.toast{left:50%;bottom:calc(122px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100% - 24px);font-size:.875rem}.modal{border:0;border-radius:0;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;width:100vw!important}.modal-header{padding:18px}.modal-header h2{font-size:1.375rem}.order-form>fieldset,.detail-body,.expense-form>fieldset,.design-form>fieldset{padding:22px 18px}.form-grid{gap:18px 12px}.order-form .form-grid:not(.three){grid-template-columns:1fr}.order-form .form-grid:not(.three)>.span-2{grid-column:1/-1}.form-grid.three{grid-template-columns:1fr 1fr}.form-grid.three>label:first-child{grid-column:1/-1}label{font-size:.875rem}input,select,textarea{font-size:1rem}.importer{padding:16px 12px}.importer .section-heading{flex-wrap:wrap}.names-preview{grid-template-columns:1fr}.import-actions{flex-direction:column;align-items:stretch;gap:14px}.import-actions .picker-field{max-width:none}.editable-line{grid-template-columns:18px minmax(0,1fr) 72px 40px;gap:10px 8px}.editable-line>label:nth-child(2){grid-area:1/2}.editable-line>.picker-field{grid-area:2/2/auto/5}.editable-line>label:nth-child(4),.editable-line>.line-quantity{grid-area:1/3}.editable-line>.icon-button{grid-area:1/4;width:40px}.editable-line>.line-note{grid-area:3/2/auto/5}.modal-footer{padding:14px 18px max(14px, env(safe-area-inset-bottom))}.footer-actions{flex-wrap:wrap;gap:10px}.footer-actions>span{flex-basis:100%;max-width:100%}.footer-actions>.button{flex:1}.detail-info{grid-template-columns:1fr 1fr;gap:22px;padding:18px}.detail-info>div:first-child{grid-column:1/-1}.detail-info>div:last-child strong{font-size:1.4rem}.detail-info p,.detail-info a{font-size:.875rem}.detail-summary>.text-button{margin-left:0}.stage-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.stage-cards>div{padding:14px}.replacement-list>div{align-items:flex-start;gap:12px}.replacement-list .button{white-space:normal;font-size:.8125rem}.replacement-form{grid-template-columns:1fr 85px;gap:14px;padding:15px}.backup-grid{gap:18px}.accounts-period-fields{gap:12px;width:100%}.accounts-period-fields>label{flex:1;min-width:calc(50% - 12px)}.accounts-export{flex-direction:column;align-items:flex-start;gap:18px}.accounts-table-wrap{border:0;overflow:visible}.accounts-table,.accounts-table tbody{white-space:normal;display:block}.accounts-table thead{display:none}.accounts-table tr{border:1px solid var(--border);border-radius:9px;margin-bottom:14px;padding:16px;display:block}.accounts-table th,.accounts-table td{border:0;padding:7px 0;display:block}.accounts-table tbody th{margin-bottom:10px;font-size:1.0625rem}.accounts-table td{justify-content:space-between;align-items:baseline;gap:14px;font-size:.9375rem;display:flex}.accounts-table td:before{content:attr(data-label);color:var(--muted);text-align:left;font-size:.875rem}.share-cards{grid-template-columns:1fr;gap:12px}.share-cards>div{grid-template-columns:1fr 1fr;align-items:center;padding:16px;display:grid}.share-cards strong{text-align:right;margin:0}.share-cards small{grid-column:1/-1;margin-top:9px}.profit-equation{gap:16px}.profit-equation strong{font-size:1.4rem}.catalog-toolbar{flex-wrap:wrap}.catalog-picker{padding:22px 18px}.design-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.design-card{gap:12px;padding:12px}.design-card.selected{padding:11px}.design-card h2,.design-card>strong{font-size:.9375rem}.design-thumbnail.large,.design-placeholder.large{height:150px}.design-card .small{font-size:.8125rem}.login-page{grid-template-columns:1fr}.login-brand{padding:35px 26px}.login-brand h1{margin:20px 0 12px;font-size:2rem}.login-card{padding:32px 24px}}@media (width<=360px){.main-content{padding-left:12px;padding-right:12px}.stat-card{padding:14px 12px}.delivery-badge{font-size:.75rem}.topbar .breadcrumb,.nav-item{gap:5px;font-size:.75rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}.mobile-more{display:none}.span-all{grid-column:1/-1}.inline-actions,.delivery-actions,.seller-actions,.production-tabs{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.delivery-control{border:1px solid var(--border);background:var(--surface,#fff);border-radius:14px;margin:14px 0;padding:12px 14px}.delivery-counts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0;display:grid}.delivery-counts span{background:#f3f6f3;border-radius:10px;align-items:center;gap:8px;padding:8px 12px;font-size:.875rem;display:flex}.delivery-counts strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:var(--text);font-size:1.25rem;line-height:1.3;display:block}.delivery-edit-form,.partial-delivery{background:#f7f8f5;border-radius:10px;margin:18px 0;padding:18px}.delivery-edit-form .inline-actions,.partial-delivery .inline-actions{margin-top:18px}.partial-delivery label{gap:8px;margin:14px 0;display:grid}.partial-delivery input{max-width:160px}.delivery-history{margin-top:8px}.detail-body .delivery-control{margin:14px 0}.delivery-control>.section-heading{gap:8px;margin-bottom:4px}.delivery-control>.section-heading .text-button{min-height:36px}.delivery-control>.delivery-badge{margin-top:0;padding:4px 8px}.delivery-control>.notice{margin:8px 0;padding:8px 12px}.delivery-control .delivery-history>summary{min-height:36px;padding:6px 0}.delivery-history summary,.line-progress-details summary{cursor:pointer;padding:12px 0;font-weight:600}.delivery-history ol{margin:0;padding-left:22px}.delivery-history li{padding:10px 0}.delivery-history li span{color:var(--muted);margin-top:4px;font-size:.875rem;display:block}.production-line{border:1px solid var(--border);border-radius:12px;margin:12px 0;padding:18px}.line-stage-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px;display:grid}.line-stage-actions>div{flex-direction:column;gap:10px;display:flex}.line-stage-actions .inline-actions{gap:8px}.production-board{gap:20px;display:grid}.production-board>.notice,.production-board .filters{margin:0}.production-toolbar{gap:16px;padding:22px;display:grid}.production-toolbar>.button{justify-self:start}.production-queue{gap:28px;display:grid}.names-review{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:10px;margin:0 0 18px;padding:0;list-style:none;display:grid}.names-review li{border:1px solid var(--border);overflow-wrap:anywhere;background:#fff;border-radius:8px;grid-template-columns:20px minmax(0,1fr) 44px;align-items:center;gap:8px;padding:8px 10px;display:grid}.production-order{background:#fff;border:1px solid #ccd9cb;border-radius:16px;min-width:0;overflow:hidden;box-shadow:0 3px 10px #16352505}.production-order-header{background:#edf3ec;grid-template-columns:48px minmax(0,1fr) auto;align-items:start;gap:16px;padding:24px;display:grid}.production-client-avatar{width:48px;height:48px;color:var(--green);background:#fff;border:1px solid #c8d8c5;border-radius:12px;place-items:center;font-size:1.5rem;font-weight:600;display:grid}.production-order-identity{overflow-wrap:anywhere;min-width:0}.production-order-identity h2{margin:0 0 8px;font-size:1.375rem;line-height:1.35}.production-order-code{margin:0;font-size:.9375rem;font-weight:600}.production-order-code span{color:var(--muted);font-weight:400}.production-order-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;margin:10px 0 0;font-size:.875rem;display:flex}.production-order-actions{justify-items:end;gap:12px;display:grid}.production-pending-count{color:var(--green);background:#fff;border:1px solid #c8d8c5;border-radius:8px;padding:7px 12px;font-size:.9375rem;font-weight:600}.production-order-selection{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 24px;font-size:.9375rem;display:flex}.production-order-selection>span{color:var(--muted)}.production-explanation{color:var(--muted);margin:0;line-height:1.6}.demo-code-help{color:var(--muted);flex-wrap:wrap;align-items:center;gap:10px;margin:0;font-size:.875rem;display:flex}.production-selection-heading,.production-save-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.production-save-row p{margin:0}.work-progress-label{color:var(--muted);margin-top:8px;font-size:.875rem;display:block}.single-candle-selected{color:var(--green);align-items:center;gap:6px;font-size:.875rem;display:flex}.production-quantity{gap:10px;display:grid}.production-quantity>span{color:var(--muted);font-size:.875rem}.production-quantity>.text-button{justify-self:start}.quantity-stepper{align-items:center;gap:8px;display:flex}.quantity-stepper>button{min-width:44px;min-height:44px;padding:8px;font-size:1.25rem}.quantity-stepper output{text-align:center;font-variant-numeric:tabular-nums;min-width:66px;font-weight:600}.compact-board{gap:12px}.compact-board .production-toolbar{gap:8px;padding:12px 16px}.compact-board .production-confirmation{z-index:5;gap:10px;padding:12px 16px;display:grid;position:sticky;top:8px;box-shadow:0 3px 14px #16352512}.compact-board .production-confirmation .notice{margin:0}.compact-board .production-save-row[hidden],.compact-board .work-count[hidden]{display:none}.compact-board .production-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.compact-board .production-tabs .button{white-space:normal}.compact-board .production-order-header{grid-template-columns:38px minmax(0,1fr) auto;gap:12px;padding:14px 18px}.compact-board .production-client-avatar{width:38px;height:38px;font-size:1.25rem}.compact-board .production-order-identity h2{margin-bottom:5px;font-size:1.125rem}.compact-board .production-order-meta,.compact-board .production-seller{margin:6px 14px 0 0;font-size:.8125rem;display:inline-flex}.compact-board .production-order-selection{padding:8px 18px;font-size:.875rem}.compact-board .work-row{grid-template-columns:28px minmax(160px,1.4fr) minmax(240px,1.6fr) minmax(140px,.8fr);gap:12px;padding:10px 18px}.compact-identity{align-items:center;gap:10px;min-width:0;display:flex}.compact-identity .design-thumbnail,.compact-identity .design-placeholder{flex-shrink:0;width:34px;height:40px}.compact-identity>div{min-width:0}.compact-identity strong{overflow-wrap:anywhere;font-size:1rem;display:block}.compact-identity>div>span,.compact-identity small{color:var(--muted);overflow-wrap:anywhere;margin-top:4px;font-size:.8125rem;display:block}.compact-checkpoints{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.compact-checkpoint{color:var(--muted);border-radius:7px;justify-items:center;gap:5px;padding:7px 3px;display:grid}.compact-checkpoint small{font-size:.75rem}.compact-checkpoint strong{font-variant-numeric:tabular-nums;align-items:center;gap:3px;font-size:.9375rem;display:flex}.compact-checkpoint.current{background:#edf3ec;outline:1px solid #ccdac8}.compact-checkpoint.complete{color:var(--green)}.compact-checkpoint.correctable{cursor:pointer;font:inherit;color:var(--green);background:#f4f8f1;border:1px solid #bdcfb8;min-width:0}.correction-hint{font-size:.8125rem;line-height:1.2}.correction-body{gap:18px;padding:24px;display:grid}.correction-body p,.correction-body h3{margin:0}.correction-body>.text-button{justify-self:start}.correction-body .quantity-stepper{justify-content:center}.correction-preview{border:1px solid var(--border);border-radius:10px;margin:0;padding:0;list-style:none}.correction-preview li{justify-content:space-between;gap:14px;padding:14px;display:flex}.correction-preview li+li{border-top:1px solid var(--border)}.receipt-confirmation{background:#f3f7f1;border:1px solid #c9d9c2;border-radius:12px;margin:18px 0;padding:20px}.receipt-confirmation h3{margin-top:0}.receipt-confirmation p{margin:14px 0}.receipt-confirmation fieldset{grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;margin:18px 0;display:grid}.receipt-confirmation legend{margin-bottom:12px;font-weight:600}.receipt-confirmation .check-label{align-items:flex-start}.receipt-confirmation .button{white-space:normal;min-width:0}.receipt-confirmation .check-label input{flex-shrink:0;width:18px;height:18px;margin-top:4px}.receipt-payment-amount{gap:8px;padding-left:28px;display:grid}.receipt-payment-amount input{max-width:260px}.compact-board .work-count{gap:5px;font-size:.8125rem}.compact-board .single-candle-selected{font-size:.75rem}.status-replacement{color:#85500f;background:#fff0df}@media (width<=1100px) and (width>=761px){.compact-board .work-row{grid-template-columns:28px minmax(150px,1fr) minmax(235px,1.3fr)}.compact-board .work-count{flex-wrap:wrap;grid-column:2/-1;align-items:center;gap:12px;display:flex}}@media (width<=760px){.compact-board .production-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.compact-board .production-tabs .button{padding:10px 6px;font-size:.875rem}.compact-board .production-order-header{grid-template-columns:32px minmax(0,1fr);padding:12px}.compact-board .production-client-avatar{width:32px;height:32px;font-size:1rem}.compact-board .work-row{grid-template-columns:24px minmax(0,1fr);gap:8px;padding:10px 12px}.compact-board .compact-identity{grid-column:2}.compact-identity>div>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.compact-board .compact-checkpoints{grid-column:2}.compact-board .work-count{flex-wrap:wrap;grid-column:2;align-items:center;gap:10px;display:flex}.compact-checkpoint small{font-size:.6875rem}.compact-checkpoint strong{font-size:.875rem}.compact-checkpoint strong svg{display:none}.compact-board .production-order-selection{padding:8px 12px}}.work-row{border-bottom:1px solid var(--border);grid-template-columns:32px 64px minmax(0,1fr) 210px;align-items:center;gap:18px;padding:22px 24px;display:grid}.work-row:last-child{border-bottom:0}.work-row.selected{box-shadow:inset 4px 0 var(--green);background:#f5faf3}.work-check{justify-content:center;align-items:center;min-height:44px;display:flex}.work-description{overflow-wrap:anywhere;min-width:0}.work-description>strong{font-size:1.1875rem}.work-description p{margin:5px 0}.work-description button{text-align:left}.work-count{gap:8px;display:grid}.work-count label{gap:6px;display:grid}.work-count input{width:100%}.seller-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px;margin-top:22px;display:grid}.seller-card{border:1px solid var(--border);overflow-wrap:anywhere;border-radius:12px;padding:22px}.seller-card h2{font-size:1.25rem}.seller-stats{border-top:1px solid var(--border);padding-top:12px;line-height:1.8}.field-error{color:#a13d32;font-size:.875rem}.editable-line{min-width:0}.line-warning{grid-column:1/-1}.order-name-group{border-top:1px solid var(--border);margin-top:24px;padding-top:18px}.order-name-group>h3{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.stage-cards>div>span{font-size:1rem}@media (width<=760px){.production-board .filters select{width:100%;min-width:100%}.sidebar nav{grid-template-columns:repeat(4,minmax(0,1fr))}.sidebar .mobile-secondary{display:none}.sidebar .mobile-primary,.mobile-more>.nav-item{flex-direction:column;gap:5px;width:100%;min-height:58px;font-size:.75rem}.mobile-more{display:block;position:relative}.menu-backdrop{z-index:1;background:#16352540;border:0;position:fixed;inset:0}.mobile-menu{z-index:2;border:1px solid var(--border);background:#fff;border-radius:14px;width:min(290px,100vw - 24px);padding:10px;position:absolute;bottom:calc(100% + 14px);right:0;box-shadow:0 10px 40px #16352530}.mobile-menu .nav-item{justify-content:flex-start;gap:12px;width:100%;padding:12px;font-size:1rem}.main-shell{padding-bottom:calc(88px + env(safe-area-inset-bottom))}.delivery-control{padding:10px 12px}.delivery-control .section-heading{flex-wrap:wrap;align-items:flex-start;gap:4px 8px}.delivery-control>.section-heading .text-button,.delivery-control .delivery-history>summary{min-height:44px}.delivery-counts{gap:8px}.delivery-counts span{padding:6px 8px;font-size:.8125rem;display:block}.delivery-counts strong{font-size:1.125rem}.delivery-actions{flex-direction:column;align-items:stretch}.delivery-actions .button{white-space:normal;text-align:center}.line-stage-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.work-row{grid-template-columns:28px 52px minmax(0,1fr);gap:12px;padding:16px 12px}.work-count{grid-column:2/-1}.production-order-header{grid-template-columns:38px minmax(0,1fr);gap:12px;padding:18px 14px}.production-client-avatar{border-radius:10px;width:38px;height:38px;font-size:1.1875rem}.production-order-identity h2{font-size:1.1875rem}.production-order-code span{margin-top:4px;display:block}.production-order-actions{flex-wrap:wrap;grid-column:1/-1;justify-content:space-between;align-items:center;display:flex}.production-order-selection{padding:14px}.production-save-row{flex-direction:column;align-items:stretch}.work-count input{max-width:150px}.production-tabs{align-items:stretch}.production-tabs>.button{white-space:normal;flex:1}.production-toolbar{padding:18px}}.detail-info{grid-template-columns:1.3fr 1fr}.detail-info>div:last-child strong{font-size:1.1875rem}.payments-panel{background:#f5f8f2;border:1px solid #b8cdb9;border-radius:12px;margin:14px 0;padding:12px 14px}.payments-panel h3,.payments-panel h4{margin:0}.payment-overview{flex-wrap:wrap;gap:8px 24px;margin:8px 0;display:flex}.payment-overview span{gap:10px;display:flex}.payment-balance{color:#8b4524;font-size:1.1875rem}.payment-form{gap:10px;max-width:640px;margin-top:10px;display:grid}.payment-form p{margin:0}.payment-form fieldset{grid-template-columns:minmax(0,1fr);gap:10px;display:grid}.payment-form .button,.payments-panel .button{white-space:normal;min-width:0}.payment-form>.button{justify-self:start}.payment-history{border-top:1px solid #d5dfd0;margin-top:10px;padding-top:6px}.payment-history summary{cursor:pointer;align-content:center;min-height:36px;font-weight:600;display:list-item}.detail-body .payments-panel{margin:14px 0}.payments-panel>.section-heading{gap:8px;margin-bottom:6px}.payments-panel>.notice{margin:8px 0;padding:8px 12px}.payments-panel>.inline-actions{gap:8px}.payments-panel>.inline-actions>.button{min-height:40px;padding:8px 12px}.payment-history ol{max-height:230px;margin:8px 0 0;padding-left:24px;overflow-y:auto}.payment-history li{overflow-wrap:anywhere;border-bottom:1px solid #dce5d7;padding:10px 0}.payment-history li span{color:var(--muted);margin-top:5px;font-size:.875rem;display:block}.undo-stage-button{margin-top:6px}.editable-line{grid-template-columns:20px minmax(140px,1fr) minmax(180px,1fr) 112px 40px;gap:6px 12px;padding:10px 0}.editable-line>label,.editable-line>.picker-field{gap:4px;font-size:.875rem}.editable-line input{min-height:44px;padding:9px 11px}.editable-line .design-select{min-height:44px;padding:5px 8px}.editable-line .design-select small{display:none}.editable-line .design-select .design-thumbnail,.editable-line .design-select .design-placeholder{width:28px;height:32px}.line-quantity{gap:3px}.line-quantity>strong{padding:0}.line-quantity>span,.line-quantity label{gap:4px;font-size:.8125rem}.line-quantity .text-button{min-height:28px;padding:3px 0}.line-note{margin-top:2px}.line-note summary{cursor:pointer;color:var(--green);min-height:28px;padding:5px 0;font-size:.8125rem}.line-note label{padding-top:5px}.order-name-group{margin-top:16px;padding-top:12px}.order-name-group>h3{margin-bottom:6px}@media (width<=760px){.detail-info{grid-template-columns:minmax(0,1fr)}.payments-panel{padding:10px 12px}.payments-panel .section-heading{flex-direction:column;align-items:flex-start;gap:4px}.payments-panel>.inline-actions>.button,.payments-panel .payment-history summary{min-height:44px}.payments-panel>.inline-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.payment-overview{justify-content:space-between;gap:10px;font-size:.875rem}.editable-line{grid-template-columns:14px minmax(0,1fr) 72px 36px;gap:6px}.editable-line>.line-note{grid-area:3/2/auto/5}.editable-line>.icon-button{width:36px}.editable-line .design-select>span{font-size:.875rem}}@media (width>=761px){.editable-line{grid-template-columns:20px minmax(140px,1fr) minmax(160px,1fr) 136px 58px 40px;align-items:end;gap:8px}.editable-line>.icon-button{grid-area:1/6}.editable-line>.line-note{grid-area:1/5;align-self:end;margin:0}.editable-line>.line-note>summary{border:1px solid var(--border);border-radius:7px;justify-content:center;align-items:center;min-height:44px;padding:0;display:flex}.editable-line>.line-note[open]{grid-area:2/2/auto/-1}.editable-line>.line-note[open]>summary{border:0;justify-content:flex-start;min-height:28px}.line-quantity{grid-template-columns:minmax(0,1fr) 44px;align-items:end;gap:4px}.line-quantity>label{grid-area:1/1}.line-quantity>label+.text-button{text-align:center;grid-area:1/2;min-height:44px}.line-quantity>span{grid-column:1/-1}.line-quantity>strong{grid-area:2/1;align-self:center}.line-quantity>strong+.text-button{text-align:center;grid-area:2/2;min-height:44px}}.design-choice{align-items:stretch;gap:6px;min-width:0;display:flex}.design-choice .design-select{flex:1;min-width:0}.design-preview-button{flex:none;min-height:44px;padding:8px 10px;font-size:.8125rem}.design-card-preview{background:0 0;border:0;border-radius:8px;width:100%;padding:0;display:block}.design-card-preview:hover{outline:2px solid #a9c0a7}.design-picker-actions{flex-wrap:wrap;gap:8px;margin-top:auto;display:flex}.design-picker-actions .button{white-space:normal;flex:80px;min-width:0}.design-lightbox{min-height:0;overflow:auto}@media (width<=480px){.design-lightbox{padding:16px}.design-preview-button{padding:8px}}.payment-destination-field{gap:6px;min-width:0;display:grid}.payment-destination-field .text-button{justify-self:start}.payment-destination-field select{width:100%;min-width:0}.destination-cards{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:20px 0;display:grid}.destination-card{border:1px solid var(--border);overflow-wrap:anywhere;border-radius:10px;gap:12px;min-width:0;padding:18px;display:grid}.destination-card>span{font-weight:600}.destination-card>strong{font-variant-numeric:tabular-nums;font-size:1.6rem}.destination-card>small{color:var(--muted);line-height:1.5}.cash-destination{background:#eef6e9;border-color:#a5c495}.unassigned-destination{background:#fff8e7;border-color:#e2cf9f}@media (width<=760px){.payments-panel>.inline-actions>.button:last-child:nth-child(3){grid-column:1/-1}.destination-cards{grid-template-columns:minmax(0,1fr)}}.compact-board .production-queue{gap:20px}.compact-board .production-order{--order-accent:#35664f;--order-tint:#e8f1e8;--order-border:#91ad9c;border:1px solid var(--order-border);border-left:5px solid var(--order-accent);border-radius:12px;box-shadow:0 2px 7px #20352b0a}.compact-board .order-tone-1{--order-accent:#395f88;--order-tint:#e9eff8;--order-border:#9fb2c9}.compact-board .order-tone-2{--order-accent:#735184;--order-tint:#f2eaf4;--order-border:#b4a2be}.compact-board .order-tone-3{--order-accent:#8b5e31;--order-tint:#f7eee4;--order-border:#c3ab93}.compact-board .order-tone-4{--order-accent:#566375;--order-tint:#edf0f3;--order-border:#abb6c1}.compact-board .production-order-header{background:var(--order-tint);border-bottom:1px solid var(--order-border);grid-template-columns:34px minmax(0,1fr) auto;gap:10px;padding:10px 14px}.compact-board .production-client-avatar{background:var(--order-accent);color:#fff;border:0;border-radius:8px;width:34px;height:34px;font-size:1.125rem}.compact-board .production-order-identity h2{color:var(--order-accent);margin-bottom:3px;font-size:1.125rem;line-height:1.3}.compact-board .production-order-code{font-size:.8125rem;line-height:1.4}.compact-board .production-order-meta,.compact-board .production-seller{gap:4px;margin:3px 10px 0 0;font-size:.8125rem;line-height:1.35}.compact-board .production-order-meta svg,.compact-board .production-seller svg{width:14px;height:14px}.compact-board .production-order-actions{gap:6px}.compact-board .production-order-actions>.button{min-height:40px;padding:7px 11px}.compact-board .production-pending-count{border-color:var(--order-border);color:var(--order-accent);padding:4px 8px;font-size:.8125rem}.compact-board .production-order-selection{background:#fafcf9;gap:8px;padding:2px 14px;font-size:.8125rem}.compact-board .production-order-selection .text-button{min-height:40px;padding:6px 0;font-size:.8125rem}.compact-board .work-row{grid-template-columns:26px minmax(160px,1.2fr) minmax(285px,1.4fr) minmax(185px,.65fr);gap:8px;min-height:54px;padding:5px 14px}.compact-board .work-row:nth-child(2n){background:#f8faf9}.compact-board .work-row.selected{background:#eaf4e6;box-shadow:inset 3px 0 #1d5543}.compact-board .work-check{align-self:stretch;min-height:44px}.compact-board .compact-identity{gap:6px}.compact-board .compact-identity .thumbnail-button{min-width:44px;min-height:44px;padding:3px}.compact-board .compact-identity .design-thumbnail,.compact-board .compact-identity .design-placeholder{width:28px;height:34px}.compact-board .compact-identity strong{font-size:1rem;line-height:1.3}.compact-board .compact-identity>div>span,.compact-board .compact-identity small{margin-top:1px;font-size:.8125rem;line-height:1.3}.compact-board .compact-checkpoints{gap:5px}.compact-board .compact-checkpoint{grid-template-columns:minmax(0,1fr) auto;align-content:center;place-items:center start;gap:1px 4px;min-height:44px;padding:3px 6px}.compact-board .compact-checkpoint small{font-size:.75rem;line-height:1.3}.compact-board .compact-checkpoint strong{gap:2px;font-size:.8125rem;line-height:1.3}.compact-board .compact-checkpoint strong svg{display:none}.compact-board .correction-hint{text-underline-offset:2px;grid-column:1/-1;justify-self:center;font-size:.75rem;line-height:1.3;text-decoration:underline}.compact-board .work-count{grid-column:auto;gap:3px;font-size:.75rem;line-height:1.35}.compact-board .single-candle-selected{gap:3px;font-size:.75rem;line-height:1.3}.compact-board .production-quantity{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.compact-board .work-count.has-selection>strong{display:none}.compact-board .production-quantity>span{font-size:.75rem}.compact-board .quantity-stepper{gap:3px}.compact-board .quantity-stepper>button{min-width:36px;min-height:36px;padding:4px;font-size:1rem}.compact-board .quantity-stepper output{min-width:45px;font-size:.8125rem}.compact-board .production-quantity>.text-button{min-height:32px;padding:2px;font-size:.75rem}.line-progress-details .production-line{border-width:0 0 1px;border-radius:0;grid-template-columns:minmax(180px,1fr) minmax(0,1.55fr);align-items:center;gap:12px;margin:0;padding:10px 0;display:grid}.line-progress-details .production-line:nth-of-type(2n){background:#f8faf9}.line-progress-details .line-design-reference{gap:8px;min-width:0}.line-progress-details .line-design-reference>div{overflow-wrap:anywhere;min-width:0}.line-progress-details .line-design-reference .design-thumbnail,.line-progress-details .line-design-reference .design-placeholder{width:30px;height:36px}.line-progress-details .line-design-reference .thumbnail-button{min-width:44px;min-height:44px}.line-progress-details .line-design-reference p{margin-top:3px;line-height:1.35}.line-progress-details .line-stage-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:0}.line-progress-details .line-stage-actions>div{align-items:flex-start;gap:3px;font-size:.8125rem}.line-progress-details .line-stage-actions .inline-actions{flex-wrap:wrap;gap:4px}.line-progress-details .line-stage-actions .button,.line-progress-details .line-stage-actions .text-button{white-space:normal;min-height:36px;padding:5px 8px;font-size:.75rem}.line-progress-details .undo-stage-button{margin-top:0}@media (width<=1100px) and (width>=761px){.compact-board .work-row{grid-template-columns:24px minmax(150px,1fr) minmax(285px,1.25fr)}.compact-board .work-count.has-available:not(.has-selection){display:none}.compact-board .work-count{flex-direction:row;grid-column:2/-1;gap:8px}.compact-board .production-quantity{flex-wrap:wrap;align-items:center;gap:6px;display:flex}}@media (width<=760px){.compact-board .production-order-header{grid-template-columns:minmax(0,1fr);gap:6px;padding:10px}.compact-board .production-client-avatar{display:none}.compact-board .production-order-code span{margin:0;display:inline}.compact-board .production-order-actions{grid-column:1;justify-content:space-between;gap:6px;display:flex}.compact-board .production-order-actions>.button{min-height:44px}.compact-board .production-order-selection{padding:2px 10px}.compact-board .production-order-selection .text-button{min-height:44px}.compact-board .work-row{grid-template-columns:24px minmax(0,1fr);gap:3px 6px;padding:5px 10px}.compact-board .compact-identity{grid-column:2}.compact-board .compact-identity>div>span{white-space:normal;text-overflow:clip;overflow:visible}.compact-board .compact-checkpoints{grid-column:2;gap:4px}.compact-board .compact-checkpoint{grid-template-columns:minmax(0,1fr);justify-items:center;gap:0;min-height:44px;padding:2px 3px}.compact-board .compact-checkpoint small{font-size:.75rem}.compact-board .compact-checkpoint strong{font-size:.8125rem}.compact-board .correction-hint{font-size:.75rem}.compact-board .work-count{grid-column:2;gap:6px}.compact-board .work-count.has-available:not(.has-selection){display:none}.compact-board .production-quantity{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.compact-board .quantity-stepper>button{min-width:44px;min-height:44px}.line-progress-details .production-line{grid-template-columns:minmax(0,1fr);gap:6px}.line-progress-details .line-stage-actions{gap:5px;margin-left:0}.line-progress-details .line-stage-actions .button,.line-progress-details .line-stage-actions .text-button{min-height:44px;padding:6px}}.detail-info{gap:12px 20px;margin:14px 0;padding:12px 14px}.detail-info>div>span{margin-bottom:4px}.detail-info strong,.detail-info>div:last-child strong{font-size:1.0625rem;line-height:1.35}.detail-info p,.detail-info a{margin-top:4px;line-height:1.4}.detail-info .button{min-height:40px;padding:7px 10px}.production-workspace,.delivery-board{gap:14px;display:grid}.workspace-tabs{border-bottom:1px solid var(--border);gap:8px;padding-bottom:12px;display:flex}.workspace-tabs>.button{flex:1}.delivery-board .filters{margin:0}.delivery-board .filters>input{flex:2;min-width:220px}.delivery-order-card{background:#fff;border:1px solid #afc5ba;border-left:5px solid #35664f;border-radius:12px;min-width:0;padding:14px}.delivery-order-card>.section-heading{margin-bottom:10px}.delivery-order-info{background:#f1f7f1;border-radius:8px;grid-template-columns:1fr 1.2fr 1fr;gap:12px;padding:10px 12px;font-size:.875rem;display:grid}.delivery-order-info>div{overflow-wrap:anywhere;align-content:start;gap:4px;min-width:0;display:grid}.delivery-order-card .delivery-control{margin:10px 0}.delivery-order-card .order-note{margin:8px 0}.delivery-names>summary{cursor:pointer;align-content:center;min-height:44px;font-weight:600}.delivery-names ul{margin:6px 0 0;padding:0;list-style:none}.delivery-names li{border-top:1px solid var(--border);align-items:center;gap:8px;padding:6px 0;display:flex}.delivery-names li span{color:var(--muted);font-size:.8125rem;display:block}@media (width<=760px){.detail-info{gap:12px;padding:10px 12px}.detail-info>div:last-child strong{font-size:1.0625rem}.detail-info .button{min-height:44px}.delivery-order-card{padding:10px}.delivery-order-card>.section-heading{flex-wrap:wrap;gap:6px}.delivery-order-info{grid-template-columns:minmax(0,1fr);gap:10px}.delivery-board .filters>input,.delivery-board .filters>select{width:100%;min-width:100%}}.delivery-board{gap:10px}.delivery-order-card{padding:10px 12px}.delivery-order-card>.section-heading{gap:8px;margin-bottom:6px}.delivery-order-card>.section-heading h2{font-size:1.125rem}.delivery-order-info{gap:8px;padding:8px 10px}.delivery-order-info>div{gap:2px}.delivery-balance-due{color:#a02b29}.delivery-order-info>.delivery-balance-due{background:#fff0ee;border:1px solid #e6b5b0;border-radius:6px;padding:5px 8px}.delivery-order-info .delivery-balance-due>strong{font-size:1rem}.button.secondary.manage-delivery-balance{color:#962b28;background:#fff4f2;border-color:#c97970}.delivery-order-card .delivery-control{border:0;border-top:1px solid var(--border);background:0 0;border-radius:0;margin:8px 0 0;padding:6px 0 0}.delivery-order-card .delivery-control>.section-heading{margin-bottom:2px}.delivery-order-card .delivery-control>.section-heading h3{font-size:.875rem}.delivery-order-card .delivery-counts{margin:6px 0}.delivery-order-card .delivery-control>.delivery-badge{padding:3px 7px}.delivery-order-card .delivery-control>.notice{margin:6px 0;padding:6px 10px}.delivery-order-card .delivery-history{margin-top:4px}.delivery-names>summary{min-height:36px;font-size:.875rem}.delivery-only-confirmation{gap:8px;margin-top:8px;display:grid}@media (width<=760px){.delivery-order-card{padding:8px 10px}.delivery-order-info{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.delivery-order-info>div:last-child{grid-column:1/-1}.delivery-order-card .delivery-counts span{padding:5px 6px}.delivery-names>summary{min-height:44px}}.delivery-balance-paid{color:#1f5b30}.delivery-order-info>.delivery-balance-paid{background:#dff0dc;border:1px solid #86b380;border-radius:6px;padding:5px 8px}.delivery-order-info .delivery-balance-paid>strong{font-size:1rem}
