:root{--bg: #f4f5f7;--surface: #ffffff;--text: #202223;--muted: #6d7175;--border: #dfe3e8;--primary: #303030;--primary-hover: #1f1f1f;--danger: #c5280c;--danger-bg: #fff4f2;--warning: #8a6116;--warning-bg: #fff8e5;--success: #13795b;--success-bg: #ecfdf3;--shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 1px 5px rgba(0, 0, 0, .04);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--text);background:var(--bg)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg)}body{font-size:14px;line-height:1.45}a{color:#005bd3;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:1}.button:disabled,.button:disabled:hover{background:#e3e5e7;border-color:#c9cccf;color:#6d7175;box-shadow:none}.app-page{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:28px 0 56px}.app-page-wide{width:min(1500px,calc(100% - 24px))}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.page-header h1{margin:2px 0 4px;font-size:28px;line-height:1.2}.page-subtitle{margin:0;color:var(--muted);font-size:15px}.product-meta-line{display:flex;flex-wrap:wrap;gap:7px 16px;margin-top:7px;color:var(--muted);font-size:15px}.product-meta-line span{position:relative}.product-meta-line span+span:before{content:"|";position:absolute;left:-10px;color:#a0a4a8}.product-meta-line-small{margin-top:3px;font-size:13px}.eyebrow{margin:0;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#616161}.header-actions{display:flex;flex-wrap:wrap;gap:8px}.button{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:6px;padding:7px 14px;border:1px solid #c9cccf;border-radius:8px;background:#fff;color:#202223;font-weight:650;box-shadow:0 1px #0000000d;text-decoration:none}.button:hover{background:#f6f6f7;text-decoration:none}.button-primary{background:var(--primary);color:#fff;border-color:var(--primary)}.button-primary:hover{background:var(--primary-hover)}.button-small{min-height:31px;padding:4px 10px;font-size:13px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);overflow:hidden;margin-bottom:20px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--border)}.panel-heading h2,.panel>h2{margin:0;font-size:18px}.panel-heading p{margin:3px 0 0;color:var(--muted)}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.stat-card{padding:18px;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:var(--shadow)}.stat-card span{color:var(--muted);display:block;margin-bottom:7px}.stat-card strong{font-size:28px;line-height:1}.stat-danger{background:var(--danger-bg);border-color:#f6c7bc}.stat-danger strong{color:var(--danger)}.stat-warning{background:var(--warning-bg);border-color:#eadca6}.stat-warning strong{color:var(--warning)}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;min-width:760px}.data-table th{padding:11px 14px;background:#f7f8f8;border-bottom:1px solid var(--border);color:#4a4f53;font-size:12px;text-align:left;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.data-table td{padding:13px 14px;border-bottom:1px solid #edf0f2;vertical-align:top}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fafbfb}.production-table{min-width:1250px}.production-table th:nth-child(1){width:110px}.production-table th:nth-child(2){width:260px}.production-table th:nth-child(3){width:320px}.production-table th:nth-child(4){width:180px}.production-table th:nth-child(5){width:150px}.table-summary{padding:12px 16px;color:var(--muted);border-bottom:1px solid var(--border)}.row-overdue{background:#fff8f7}.order-cell strong,.order-cell span{display:block}.order-cell span{margin-top:4px;color:var(--muted);font-size:12px}.product-cell{display:flex;align-items:flex-start;gap:11px;min-width:210px}.product-cell img,.image-placeholder{width:52px;height:52px;flex:0 0 52px;border:1px solid var(--border);border-radius:8px;object-fit:cover;background:#f3f4f5}.image-placeholder{display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:10px;text-align:center}.product-cell strong,.product-cell span{display:block}.product-cell span{margin-top:4px;color:var(--muted);font-size:12px}.stage-pill{display:inline-flex;align-items:center;gap:7px;padding:5px 9px;border:1px solid;border-radius:999px;background:#fff;white-space:nowrap;font-size:12px;font-weight:600}.stage-pill i{width:8px;height:8px;border-radius:50%}.attributes-list{display:grid;gap:6px;min-width:230px}.attribute-row{display:grid;grid-template-columns:minmax(85px,.8fr) minmax(110px,1.2fr);gap:8px}.attribute-row strong{color:#52575b;font-size:12px;overflow-wrap:anywhere}.attribute-row span{overflow-wrap:anywhere}.muted{color:var(--muted)}.text-danger{color:var(--danger)!important;font-weight:650}.overdue-label{display:inline-block;margin-top:5px;color:var(--danger);font-size:11px;font-weight:700;text-transform:uppercase}.action-links{display:grid;gap:5px;white-space:nowrap}.filters-panel{padding:14px;display:flex;align-items:end;justify-content:space-between;gap:20px;overflow:visible}.filters-form{display:flex;align-items:end;gap:12px;flex:1}.field{display:grid;gap:6px}.field label{font-weight:650;color:#383b3d}.field small{color:var(--muted)}.field input,.field select,.field textarea,.compact-form select,.compact-form input,.stage-name-input{width:100%;min-height:36px;border:1px solid #bfc3c7;border-radius:8px;padding:7px 10px;background:#fff;color:var(--text)}.field textarea{resize:vertical}.field input:focus,.field select:focus,.field textarea:focus,.compact-form select:focus,.compact-form input:focus,.stage-name-input:focus{outline:2px solid rgba(0,91,211,.25);border-color:#005bd3}.grow-field{flex:1;min-width:260px}.filters-form .field:not(.grow-field){width:190px}.filter-button{margin-bottom:0}.view-switcher{display:inline-flex;border:1px solid #c9cccf;border-radius:8px;overflow:hidden;flex:0 0 auto}.view-switcher a{padding:8px 13px;color:var(--text);background:#fff;border-right:1px solid #c9cccf;text-decoration:none}.view-switcher a:last-child{border-right:0}.view-switcher a.active{background:#303030;color:#fff}.compact-form{display:grid;gap:4px;min-width:145px}.compact-form select,.compact-form input{min-height:34px;padding:6px 8px}.saving-text{color:var(--muted);font-size:11px}.kanban-board{display:flex;align-items:flex-start;gap:14px;overflow-x:auto;padding:2px 2px 18px}.kanban-column{flex:0 0 315px;border:1px solid var(--border);border-radius:12px;background:#eef0f2;overflow:hidden}.kanban-column>header{display:flex;align-items:center;gap:8px;padding:13px 14px;border-bottom:1px solid #d8dcdf}.kanban-column h2{margin:0;font-size:14px;flex:1}.stage-dot{width:10px;height:10px;border-radius:50%}.count-badge{min-width:24px;padding:2px 7px;border-radius:999px;background:#fff;text-align:center;font-size:12px}.kanban-cards{display:grid;gap:10px;padding:10px;max-height:calc(100vh - 280px);overflow-y:auto}.kanban-card{display:grid;gap:12px;padding:13px;border:1px solid #d6dade;border-radius:10px;background:#fff;box-shadow:0 1px 2px #0000000d}.card-overdue{border-color:#e9a89a;box-shadow:inset 3px 0 0 var(--danger)}.card-order-line{display:flex;justify-content:space-between;gap:10px;font-weight:650}.card-order-line a:last-child{font-size:12px;font-weight:500}.card-footer{display:flex;justify-content:space-between;align-items:end;gap:10px}.card-footer span,.card-footer strong{display:block}.label-small{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.04em}.column-empty{padding:22px 10px;text-align:center;color:var(--muted);font-size:12px;border:1px dashed #c4c9ce;border-radius:9px}.empty-state{padding:46px 24px;text-align:center}.empty-state h2,.empty-state h3{margin:0 0 6px}.empty-state p{margin:0;color:var(--muted)}.notice{padding:12px 14px;border-radius:9px;margin-bottom:16px;border:1px solid}.notice-success{color:#0f5d46;background:var(--success-bg);border-color:#a9dfce}.notice-error{color:#8d1b08;background:var(--danger-bg);border-color:#efb7aa}.settings-page{max-width:980px}.settings-section{padding-bottom:20px}.settings-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:start;gap:16px;padding:20px}.settings-actions{display:flex;align-items:flex-start;padding-top:29px}.settings-actions .button{min-width:130px}.stage-settings-list{display:grid}.stage-setting-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 18px;border-bottom:1px solid #edf0f2}.stage-edit-form{display:grid;grid-template-columns:30px 42px minmax(180px,1fr) 145px 92px;align-items:center;gap:10px;min-width:0}.stage-position{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#f0f2f3;font-weight:700}.color-input{width:38px;height:34px;padding:2px;border:1px solid #c9cccf;border-radius:7px;background:#fff}.checkbox-label{display:inline-flex;align-items:center;gap:7px;color:#4a4f53;white-space:nowrap}.stage-row-actions{display:flex;align-items:center;gap:5px}.stage-row-actions form{margin:0}.stage-action-button{min-height:32px;padding:5px 9px;border:1px solid #c9cccf;border-radius:7px;background:#fff;color:#303030;font-size:12px;font-weight:650;line-height:1}.stage-action-button:hover{background:#f6f6f7}.stage-action-button:disabled{background:#f1f2f3;color:#9a9da0}.stage-action-danger{color:var(--danger)}.stage-save-button{min-width:92px}.add-stage-form{display:flex;align-items:end;gap:12px;padding:18px;background:#fafbfb;border-top:1px solid var(--border)}.color-field{width:80px}.color-field input{padding:2px}.add-completed-check{margin-bottom:8px}.breadcrumb-row{margin-bottom:14px}.details-page{max-width:1120px}.details-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,.8fr);gap:18px;align-items:start}.product-detail-panel,.details-grid>.panel{padding:20px}.product-detail-panel h2,.details-grid>.panel h2{margin:0 0 18px}.detail-product-hero{display:grid;grid-template-columns:180px 1fr;gap:20px;margin-bottom:22px}.detail-product-hero img,.large-image-placeholder{width:180px;height:180px;object-fit:cover;border-radius:12px;border:1px solid var(--border);background:#f4f5f6}.large-image-placeholder{display:flex;align-items:center;justify-content:center;color:var(--muted)}.details-list{display:grid;gap:11px;margin:0}.details-list div{display:grid;grid-template-columns:100px 1fr;gap:10px;padding-bottom:10px;border-bottom:1px solid #edf0f2}.details-list dt{color:var(--muted)}.details-list dd{margin:0;font-weight:650}.customization-detail-list{display:grid;gap:10px}.customization-detail{display:grid;grid-template-columns:minmax(130px,.7fr) minmax(180px,1.3fr);gap:14px;padding:12px;border-radius:8px;background:#f7f8f8;overflow-wrap:anywhere}.customization-detail>span{color:var(--muted);font-weight:650}.detail-form{display:grid;gap:17px}.public-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#f5f6f7,#e9edf0)}.public-card{width:min(620px,100%);padding:38px;border:1px solid var(--border);border-radius:18px;background:#fff;box-shadow:0 15px 45px #00000017}.brand-mark{width:52px;height:52px;display:grid;place-items:center;border-radius:13px;background:#303030;color:#fff;font-weight:800;letter-spacing:.04em}.public-card h1{margin:20px 0 8px;font-size:31px}.public-card>p{margin:0 0 24px;color:var(--muted);font-size:16px}.login-form{display:grid;gap:8px}.login-form label{font-weight:650}.inline-form{display:flex;gap:9px}.inline-form input{flex:1;min-width:0;min-height:40px;border:1px solid #bfc3c7;border-radius:8px;padding:8px 11px}.print-page{width:min(1020px,calc(100% - 30px));margin:0 auto;padding:24px 0 60px}.print-actions{display:flex;justify-content:flex-end;gap:8px;margin-bottom:14px}.print-header{display:flex;justify-content:space-between;gap:30px;padding:26px;border:2px solid #222;border-radius:12px;background:#fff}.print-header h1{margin:3px 0 0;font-size:30px}.print-header dl{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:10px 24px;margin:0}.print-header dl div{display:grid}.print-header dt{color:var(--muted);font-size:11px;text-transform:uppercase}.print-header dd{margin:2px 0 0;font-weight:700}.print-items{display:grid;gap:16px;margin-top:16px}.print-item{display:grid;grid-template-columns:34px 140px 1fr;gap:18px;padding:20px;border:1px solid #bfc3c7;border-radius:12px;background:#fff;break-inside:avoid}.print-item-number{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#222;color:#fff;font-weight:800}.print-product-image img,.print-product-image>div{width:140px;height:140px;object-fit:cover;border:1px solid #ccd0d4;border-radius:8px}.print-product-image>div{display:grid;place-items:center;background:#f3f4f5;color:var(--muted)}.print-item-content{min-width:0}.print-item-title{display:flex;justify-content:space-between;gap:16px}.print-item-title h2{margin:0;font-size:20px}.print-item-title p{margin:3px 0 0;color:var(--muted)}.print-status-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.print-status-grid div{padding:10px;border:1px solid #d9dde0;border-radius:7px}.print-status-grid span,.print-status-grid strong{display:block}.print-status-grid span{color:var(--muted);font-size:11px;text-transform:uppercase}.print-customizations h3,.print-note h3{margin:0 0 8px;font-size:13px;text-transform:uppercase;letter-spacing:.04em}.print-customizations{margin-top:15px}.print-customizations>div{display:grid;grid-template-columns:160px 1fr;gap:10px;padding:6px 0;border-bottom:1px dotted #bfc3c7;overflow-wrap:anywhere}.print-customizations span{color:var(--muted)}.print-note{margin-top:16px;padding:11px;border:1px dashed #aeb4b9;border-radius:7px;min-height:70px}.print-note p{margin:0;white-space:pre-wrap}.quality-checks{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;margin-top:16px}.quality-checks label{display:flex;align-items:center;gap:8px}.quality-checks label span{width:16px;height:16px;border:1.5px solid #333;border-radius:3px}@media(max-width:900px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filters-panel,.filters-form{align-items:stretch}.filters-panel{flex-direction:column}.filters-form{flex-wrap:wrap}.filters-form .field:not(.grow-field),.grow-field{flex:1 1 220px;width:auto;min-width:0}.view-switcher{align-self:flex-end}.settings-form{grid-template-columns:1fr 1fr}.settings-actions{grid-column:1 / -1;padding-top:0}.stage-setting-row{grid-template-columns:1fr;align-items:flex-start}.stage-edit-form{grid-template-columns:30px 42px minmax(160px,1fr) 145px 92px}.stage-row-actions{justify-content:flex-end;width:100%}.add-stage-form{flex-wrap:wrap}.details-grid{grid-template-columns:1fr}}@media(max-width:640px){.app-page,.app-page-wide{width:min(100% - 20px,100%);padding-top:18px}.page-header{flex-direction:column}.page-header .button,.header-actions{width:100%}.stats-grid{grid-template-columns:1fr 1fr;gap:9px}.stat-card{padding:14px}.stat-card strong{font-size:23px}.filters-form{display:grid;width:100%}.filters-form .field,.filters-form .field:not(.grow-field),.grow-field{width:100%}.view-switcher{align-self:stretch}.view-switcher a{flex:1;text-align:center}.settings-form{grid-template-columns:1fr}.settings-actions{grid-column:auto;width:100%}.settings-actions .button{width:100%}.stage-setting-row{display:grid}.stage-edit-form{grid-template-columns:30px 38px 1fr}.stage-edit-form .checkbox-label{grid-column:3}.stage-edit-form .stage-save-button{grid-column:1 / -1;width:100%}.stage-row-actions{justify-content:flex-end}.add-stage-form{display:grid}.color-field{width:100%}.detail-product-hero{grid-template-columns:1fr}.detail-product-hero img,.large-image-placeholder{width:100%;height:auto;aspect-ratio:1}.customization-detail{grid-template-columns:1fr;gap:4px}.public-card{padding:25px}.inline-form,.print-header{flex-direction:column}.print-header dl{grid-template-columns:1fr 1fr}.print-item{grid-template-columns:28px 1fr}.print-product-image{grid-column:2}.print-item-content{grid-column:1 / -1}}@media print{:root,html,body{background:#fff!important}s-app-nav,.print-actions{display:none!important}.print-page{width:100%;padding:0;margin:0}.print-header,.print-item{box-shadow:none}a{color:#000;text-decoration:none}@page{margin:12mm;size:A4}}.sync-status{margin:8px 0 0;color:var(--muted);font-size:13px}.filters-form-v11{flex:1 1 auto;align-items:end}.filters-form-v11 .filter-checkbox{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 4px;white-space:nowrap;font-weight:650}.filters-form-v11 .filter-checkbox input{width:18px;height:18px}.table-summary-v11{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.bulk-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.bulk-toolbar select,.bulk-toolbar input[type=date]{min-height:38px;border:1px solid var(--border);border-radius:8px;background:#fff;padding:7px 10px}.select-column{width:62px;text-align:center}.select-column input{width:18px;height:18px}.deadline-source{display:block;margin-top:5px;color:var(--muted);font-size:12px;line-height:1.25}.drag-hint{margin:-2px 0 8px;color:var(--muted);font-size:11px;font-weight:650;text-align:right}.kanban-card[draggable=true]{cursor:grab}.kanban-card[draggable=true]:active{cursor:grabbing}.settings-option-grid{grid-column:1 / -1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.settings-toggle-card{display:flex;align-items:flex-start;gap:10px;min-height:86px;padding:14px;border:1px solid var(--border);border-radius:10px;background:#fafafa;cursor:pointer}.settings-toggle-card input{width:18px;height:18px;margin-top:2px;flex:0 0 auto}.settings-toggle-card span{display:grid;gap:5px}.settings-toggle-card strong{font-size:14px}.settings-toggle-card small{color:var(--muted);line-height:1.4}.settings-wide-field{grid-column:1 / -1}.batch-order-sheet{break-after:page;page-break-after:always}.batch-order-sheet:last-child{break-after:auto;page-break-after:auto}@media(max-width:1050px){.filters-form-v11{width:100%}.bulk-toolbar{justify-content:flex-start;width:100%}}@media(max-width:700px){.settings-option-grid{grid-template-columns:1fr}.bulk-toolbar{display:grid;grid-template-columns:1fr}.bulk-toolbar .button,.bulk-toolbar select,.bulk-toolbar input[type=date],.filters-form-v11 .filter-checkbox{width:100%}.drag-hint{display:none}}html,body{max-width:100%;overflow-x:hidden}.app-page,.app-page-wide,.table-panel{min-width:0;max-width:100%}.orders-table-scroll-area{position:relative;min-width:0}.orders-table-scroll-area.has-horizontal-overflow{padding-bottom:18px}.orders-table-scroll-content{width:100%;min-width:0;overflow-x:auto;overflow-y:visible;scrollbar-width:none;-ms-overflow-style:none}.orders-table-scroll-content::-webkit-scrollbar{width:0;height:0}.orders-table-scroll-content .table-wrap{overflow-x:visible}.orders-sticky-horizontal-scrollbar{position:fixed;bottom:0;z-index:100;height:18px;overflow-x:auto;overflow-y:hidden;border-top:1px solid #c9cccf;background:#f4f5f7;box-shadow:0 -2px 8px #00000014;scrollbar-color:#8c9196 #e6e8ea}.orders-sticky-horizontal-scrollbar>div{height:1px}@media(max-width:1320px){.app-page-wide{width:calc(100% - 20px)}.filters-panel{align-items:stretch;flex-wrap:wrap}.filters-form-v11{display:flex;flex:1 1 100%;flex-wrap:wrap;min-width:0}.filters-form-v11 .grow-field{flex:1 1 320px;min-width:240px}.filters-form-v11 .field:not(.grow-field){flex:1 1 180px;width:auto;min-width:160px}.filters-form-v11 .filter-checkbox,.filters-form-v11 .filter-button{flex:0 0 auto}.view-switcher{margin-left:auto}.table-summary-v11{align-items:flex-start}.bulk-toolbar{justify-content:flex-start;width:100%}}@media(max-width:700px){.filters-form-v11 .grow-field,.filters-form-v11 .field:not(.grow-field),.filters-form-v11 .filter-checkbox,.filters-form-v11 .filter-button,.view-switcher{width:100%;min-width:0}.filters-form-v11 .filter-button{min-height:42px}.view-switcher{display:flex;margin-left:0}.view-switcher a{flex:1;text-align:center}.bulk-toolbar{display:grid;grid-template-columns:1fr}.bulk-toolbar .button,.bulk-toolbar select,.bulk-toolbar input[type=date]{width:100%}.table-panel{overflow:visible;background:transparent;border:0;box-shadow:none}.table-summary-v11{margin-bottom:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow)}.production-table-v11{display:block;width:100%;min-width:0;border-collapse:separate}.production-table-v11 thead{display:none}.production-table-v11 tbody{display:grid;gap:14px}.production-table-v11 tbody tr,.production-table-v11 tbody tr:hover,.production-table-v11 tbody tr.row-overdue{display:grid;grid-template-columns:1fr;gap:0;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow)}.production-table-v11 tbody tr.row-overdue{border-color:#e9a89a;box-shadow:inset 4px 0 0 var(--danger),var(--shadow)}.production-table-v11 td,.production-table-v11 td:nth-child(n){display:block;grid-column:1;min-width:0;padding:14px 16px;border:0;border-bottom:1px solid #edf0f2}.production-table-v11 td:before{content:attr(data-label);display:block;margin-bottom:7px;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.production-table-v11 td:last-child{border-bottom:0}.production-table-v11 .select-column{width:auto;text-align:left;background:#f7f8f8}.production-table-v11 .select-column:before{display:inline-block;margin:0 10px 0 0;vertical-align:middle}.production-table-v11 .select-column input{vertical-align:middle}.production-table-v11 .product-cell,.production-table-v11 .attributes-list,.production-table-v11 .compact-form{width:100%;min-width:0}.production-table-v11 .product-cell>div:last-child,.production-table-v11 .attribute-row span,.production-table-v11 .attribute-row strong{min-width:0;overflow-wrap:anywhere}.production-table-v11 .action-links{display:flex;flex-wrap:wrap;gap:10px 18px;white-space:normal}.orders-table-scroll-area.has-horizontal-overflow{padding-bottom:0}}.view-control{display:grid;gap:6px;flex:0 0 auto}.view-control-label{color:#383b3d;font-size:13px;font-weight:700}.production-status-badge,.completed-stage-badge{display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;border:1px solid transparent;border-radius:999px;font-weight:700;line-height:1.2;white-space:nowrap}.production-status-badge{min-height:28px;padding:5px 10px;font-size:12px}.status-active{border-color:#9ca3af;background:#f3f4f6;color:#374151}.status-completed{border-color:#86c9ae;background:var(--success-bg);color:var(--success)}.status-overdue{border-color:#e9a89a;background:var(--danger-bg);color:var(--danger)}.completed-stage-badge{padding:3px 7px;background:var(--success-bg);color:var(--success);font-size:10px}.card-status-row{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:12px}.production-table-v11 tbody tr.row-completed,.production-table-v11 tbody tr.row-completed:hover{background:#f5fcf8}.production-table-v11 tbody tr.row-completed td:first-child{box-shadow:inset 4px 0 0 var(--success)}.table-summary-v11{display:grid;gap:16px;align-items:stretch}.table-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.status-legend{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:12px}.status-legend span{display:inline-flex;align-items:center;gap:6px}.legend-dot{display:inline-block;width:9px;height:9px;border-radius:50%}.legend-active{background:#6b7280}.legend-completed{background:var(--success)}.bulk-actions-area{display:grid;gap:12px;padding-top:14px;border-top:1px solid var(--border)}.bulk-actions-copy{display:grid;gap:3px}.bulk-actions-copy strong{font-size:14px}.bulk-actions-copy span{color:var(--muted);font-size:12px;line-height:1.45}.bulk-toolbar{justify-content:flex-start;align-items:end}.bulk-field{display:grid;gap:5px;min-width:190px}.bulk-field>span{color:#383b3d;font-size:12px;font-weight:700}.bulk-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.button-complete{border-color:#86c9ae;background:var(--success-bg);color:var(--success)}.button-complete:hover{border-color:var(--success);background:#dcf8e9;color:#0d5f48}@media(max-width:1320px){.view-control{margin-left:auto}.bulk-field{flex:1 1 210px}}@media(max-width:700px){.view-control{width:100%;margin-left:0}.bulk-toolbar,.bulk-buttons{display:grid;grid-template-columns:1fr;width:100%}.bulk-field,.bulk-buttons .button{width:100%;min-width:0}.table-summary-heading,.status-legend{align-items:flex-start}.production-table-v11 tbody tr.row-completed,.production-table-v11 tbody tr.row-completed:hover{box-shadow:inset 4px 0 0 var(--success),var(--shadow)}.production-table-v11 tbody tr.row-completed td:first-child{box-shadow:none}}.quality-checks input[type=checkbox]{width:18px;height:18px;margin:0;accent-color:#303030}.print-checklist-help{margin:14px 0 0;color:var(--muted);font-size:11px}.status-key-label{color:#383b3d;font-weight:700}.status-legend .production-status-badge{min-height:26px;padding:4px 9px}.privacy-retention-form{display:grid;grid-template-columns:minmax(220px,360px) minmax(320px,1fr) auto;align-items:end;gap:18px;padding:22px 28px 26px}.privacy-toggle{min-height:78px}.privacy-manual-cleanup{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 28px;border-top:1px solid var(--border)}.privacy-manual-cleanup p{margin:4px 0 0;color:var(--muted)}.security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:24px 28px 28px}.security-grid article{display:grid;align-content:start;gap:10px;padding:18px;border:1px solid var(--border);border-radius:12px;background:#fafafa}.security-grid h3,.security-grid p{margin:0}.security-grid p{color:var(--muted);font-size:13px;line-height:1.5}.security-status{display:inline-flex;width:max-content;max-width:100%;padding:6px 10px;border:1px solid;border-radius:999px;font-size:12px;font-weight:700;line-height:1.25}.security-ok{border-color:#86c9ae;background:var(--success-bg);color:var(--success)}.security-warning{border-color:#e8c77b;background:#fff8e5;color:#7a4b00}.policy-links-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:24px 28px 14px}.policy-links-grid a{display:flex;align-items:center;justify-content:center;min-height:52px;padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:#fff;font-weight:700;text-align:center;text-decoration:none;transition:border-color .12s ease,box-shadow .12s ease,transform .12s ease}.policy-links-grid a:hover{border-color:#8c9196;box-shadow:0 2px 8px #00000014;transform:translateY(-1px)}.settings-legal-section{margin-bottom:28px}.settings-policy-links{padding-bottom:24px}.privacy-page .panel>.muted{padding:0 28px 24px}.simple-table-wrap{overflow-x:auto}.simple-table{width:100%;border-collapse:collapse}.simple-table th,.simple-table td{padding:13px 18px;border-top:1px solid var(--border);text-align:left;vertical-align:top}.simple-table th{background:#f7f7f7;font-size:12px;text-transform:uppercase}.empty-copy{margin:0;padding:24px 28px;color:var(--muted)}.compliance-event-list{display:grid}.compliance-event-list article{display:grid;gap:6px;padding:16px 28px;border-top:1px solid var(--border)}.compliance-event-list article>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.compliance-event-list p,.compliance-event-list time{margin:0;color:var(--muted);font-size:13px}.event-status{display:inline-flex;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:800}.event-success{background:var(--success-bg);color:var(--success)}.event-failed{background:var(--danger-bg);color:var(--danger)}.event-received{background:#eef2ff;color:#3746a5}.public-page{min-height:100vh;background:#f4f5f6;color:#202223}.public-header,.public-content,.public-footer{width:min(920px,calc(100% - 32px));margin:0 auto}.public-header{padding:64px 0 28px}.public-header h1{margin:8px 0 12px;font-size:clamp(34px,6vw,54px);line-height:1.05}.public-header p:last-child{max-width:760px;margin:0;color:var(--muted);font-size:18px;line-height:1.6}.public-content{display:grid;gap:1px;overflow:hidden;border:1px solid var(--border);border-radius:16px;background:var(--border);box-shadow:var(--shadow)}.public-content section{padding:26px 30px;background:#fff}.public-content h2{margin:0 0 10px;font-size:20px}.public-content p,.public-content li{color:#4a4f53;line-height:1.7}.public-content p:last-child{margin-bottom:0}.public-footer{display:grid;gap:14px;padding:28px 0 60px;color:var(--muted)}.public-footer nav{display:flex;gap:16px;flex-wrap:wrap}.public-footer p{margin:0}@media(max-width:1000px){.privacy-retention-form{grid-template-columns:1fr 1fr}.privacy-retention-form .settings-actions{grid-column:1 / -1}.policy-links-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.privacy-retention-form,.security-grid,.policy-links-grid{grid-template-columns:1fr}.privacy-manual-cleanup{align-items:stretch;flex-direction:column}.privacy-manual-cleanup .button{width:100%}.public-header{padding-top:36px}.public-content section{padding:22px 20px}}.billing-page{max-width:1060px}.billing-page-header{margin-bottom:18px}.billing-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:0;overflow:hidden}.billing-plan-copy,.billing-feature-card{padding:34px}.billing-plan-copy{display:flex;flex-direction:column;align-items:flex-start;border-right:1px solid var(--border)}.billing-status{display:inline-flex;align-items:center;justify-content:center;min-height:27px;margin-bottom:20px;padding:4px 10px;border:1px solid;border-radius:999px;font-size:12px;font-weight:800}.billing-status-active{border-color:#86c9ae;background:var(--success-bg);color:var(--success)}.billing-status-inactive{border-color:#e8c77b;background:var(--warning-bg);color:var(--warning)}.billing-price-row{display:flex;align-items:baseline;gap:10px;margin:8px 0 12px}.billing-price-row strong{font-size:clamp(42px,7vw,64px);line-height:1;letter-spacing:-.04em}.billing-price-row span,.billing-plan-copy>p,.billing-feature-card p,.billing-current-plan small{color:var(--muted)}.billing-plan-copy>p{max-width:620px;margin:0 0 22px;font-size:15px}.billing-current-plan{display:grid;gap:4px;width:100%;margin:0 0 22px;padding:16px 18px;border:1px solid #b7decf;border-radius:12px;background:#f2fbf7}.billing-current-plan-muted{border-color:#eadca6;background:var(--warning-bg)}.billing-current-plan span{color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.billing-current-plan strong{font-size:17px}.billing-primary-action{min-width:220px}.billing-feature-card{background:#f7f8f8}.billing-feature-card h2{margin:0 0 16px;font-size:20px}.billing-feature-card ul{display:grid;gap:12px;margin:0 0 24px;padding:0;list-style:none}.billing-feature-card li{position:relative;padding-left:27px;font-weight:650}.billing-feature-card li:before{content:"✓";position:absolute;top:-1px;left:0;display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;border-radius:999px;background:var(--success-bg);color:var(--success);font-size:12px;font-weight:900}.billing-feature-card p{margin:0;font-size:13px;line-height:1.6}.billing-help-panel .panel-heading{padding:20px 24px}@media(max-width:760px){.billing-hero{grid-template-columns:1fr}.billing-plan-copy{border-right:0;border-bottom:1px solid var(--border)}.billing-plan-copy,.billing-feature-card{padding:24px 20px}.billing-primary-action{width:100%}.billing-help-panel .panel-heading{align-items:stretch;flex-direction:column}.billing-help-panel .button{width:100%}}.billing-status-unavailable{border-color:#e3a99d;background:var(--danger-bg);color:var(--danger)}.billing-current-plan-warning{border-color:#e8c77b;background:var(--warning-bg)}.billing-current-plan-error{border-color:#e3a99d;background:var(--danger-bg)}.billing-detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.billing-detail-list>div{display:grid;gap:3px;padding:10px 12px;border:1px solid rgba(32,34,35,.1);border-radius:9px;background:#ffffffb8}.billing-detail-list span{font-size:10px}.billing-detail-list strong{font-size:13px;line-height:1.35}.billing-action-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}@media(max-width:640px){.billing-detail-list{grid-template-columns:1fr}.billing-action-row,.billing-action-row .button{width:100%}}.setup-guide{margin-bottom:20px;overflow:hidden;border:1px solid #cfd8d4;border-radius:14px;background:radial-gradient(circle at top right,rgba(23,127,94,.1),transparent 34%),linear-gradient(135deg,#fff,#f7fbf9);box-shadow:var(--shadow)}.setup-guide-header{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:22px 22px 18px;border-bottom:1px solid #e1e8e5}.setup-guide-header h2{margin:3px 0 5px;font-size:21px;line-height:1.25}.setup-guide-header p:not(.eyebrow){max-width:720px;margin:0;color:var(--muted)}.setup-progress-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:15px 22px;background:#ffffffb8;border-bottom:1px solid #e7ecea}.setup-progress-row strong{color:#3f4945;font-size:12px;white-space:nowrap}.setup-progress-track{height:8px;overflow:hidden;border-radius:999px;background:#e2e7e5}.setup-progress-track span{display:block;height:100%;border-radius:inherit;background:#13795b;transition:width .18s ease}.setup-steps{display:grid;margin:0;padding:0;list-style:none}.setup-step{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px 22px;border-bottom:1px solid #e7ecea}.setup-step:last-child{border-bottom:0}.setup-step.is-complete{background:#ecfdf38a}.setup-step-marker{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #b8c2bd;border-radius:50%;background:#fff;color:#4b5450;font-weight:750}.setup-step.is-complete .setup-step-marker{border-color:#86ccb5;background:#dff7ec;color:#0f6b4f}.setup-step-copy{min-width:0;display:grid;gap:2px}.setup-step-copy strong{font-size:14px}.setup-step-copy span{color:var(--muted);font-size:13px}.setup-step-status{padding:4px 9px;border-radius:999px;background:#dff7ec;color:#0f6b4f;font-size:12px;font-weight:700}.setup-inline-callout{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;padding:15px 17px;border:1px solid #b8d6ca;border-radius:11px;background:#f2fbf7}.setup-inline-callout>div{display:grid;gap:2px}.setup-inline-callout span{color:var(--muted)}.empty-state-guided{display:grid;justify-items:center;gap:8px;padding:50px 24px}.empty-state-guided>p{max-width:650px;line-height:1.6}.empty-state-icon{width:54px;height:54px;display:grid;place-items:center;margin-bottom:7px;border:1px solid #ccd5d1;border-radius:15px;background:linear-gradient(145deg,#fff,#edf5f1);color:#176c53;font-size:15px;font-weight:800;letter-spacing:.08em;box-shadow:0 5px 15px #166c5314}.empty-state-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin-top:12px}@media(max-width:760px){.setup-guide-header,.setup-inline-callout{align-items:stretch;flex-direction:column}.setup-guide-header form,.setup-guide-header .button,.setup-inline-callout form,.setup-inline-callout .button{width:100%}.setup-progress-row{grid-template-columns:1fr;gap:8px}.setup-progress-row strong{white-space:normal}.setup-step{grid-template-columns:34px minmax(0,1fr);align-items:start}.setup-step>.button,.setup-step-status{grid-column:2;justify-self:start;margin-top:4px}}.sync-button-wrap{display:grid;justify-items:start;gap:5px}.header-actions .sync-button-wrap,.empty-state-actions .sync-button-wrap{justify-items:stretch}.sync-button-message{max-width:340px;font-size:11px;line-height:1.35}.sync-button-message.is-success{color:#0f6b4f}.sync-button-message.is-error{color:var(--danger)}.setup-progress-strip{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:22px;margin-bottom:18px;padding:16px 18px;border:1px solid #c8d9d2;border-radius:12px;background:radial-gradient(circle at top right,rgba(20,125,91,.1),transparent 38%),linear-gradient(135deg,#fff,#f4faf7);box-shadow:0 2px 8px #1a2d260d}.setup-progress-strip-copy{min-width:0;display:grid;gap:8px}.setup-progress-strip-heading{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.setup-progress-strip-heading strong{font-size:14px}.setup-progress-strip-heading span{color:#52605a;font-size:12px;font-weight:700}.setup-progress-strip .setup-progress-track{width:min(100%,520px);height:7px}.setup-progress-strip p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.setup-progress-strip-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.setup-progress-strip-actions .button{white-space:nowrap}@media(max-width:760px){.setup-progress-strip{grid-template-columns:1fr;align-items:stretch}.setup-progress-strip-actions{justify-content:stretch}.setup-progress-strip-actions .button{width:100%}}
