:root{color-scheme:light;--blue:#0867e8;--navy:#102e5e;--ink:#24476f;--muted:#8194ae;--line:#dbe6f5;--soft:#f1f6fe;--green:#25845d;--shadow:0 3px 13px #1b56970b;font-family:"Segoe UI",Inter,Arial,sans-serif;font-size:16px;color:var(--ink);background:#f7faff}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}[hidden]{display:none!important}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 12px;border:1px solid #c7d9ef;border-radius:6px;background:#fff;color:#285e9e;font-size:13px;font-weight:600;white-space:nowrap;box-shadow:0 1px 2px #244a7510}.btn:hover{background:#edf5ff;border-color:#95bbf3}.btn.primary{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 3px 8px #0967e51a}.btn.primary:hover{background:#075bce}.btn.danger{color:#ae4d57;border-color:#edc6cc}.btn.small{min-height:29px;padding:5px 8px;font-size:12px}.btn.full{width:100%}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid var(--line);background:#fff;border-radius:6px;color:#6d8cb4;font-size:23px}.icon-btn:hover{background:#edf5ff}.text-btn{border:0;background:none;color:var(--blue);font-size:12px;font-weight:600;padding:5px;cursor:pointer}.text-btn:hover{background:#edf5ff;border-radius:4px}.text-btn:disabled{background:transparent}.avatar{border:1px solid #d3e5ff;width:35px;height:35px;border-radius:50%;background:#eaf2ff;color:#3375d2;font-size:12px;font-weight:700}:focus-visible{outline:3px solid #4388ff4d;outline-offset:2px}input,select,textarea{width:100%;min-width:0;min-height:37px;border:1px solid #cddcef;background:#fff;border-radius:5px;color:var(--ink);font-size:14px;padding:7px 9px}input:focus,select:focus,textarea:focus{outline:2px solid #70a8fa2e;border-color:#74a4e9}input[type=checkbox]{width:16px;height:16px;min-height:16px;accent-color:var(--blue)}input[type=color]{padding:3px;min-width:45px}input[readonly],select:disabled{background:#f3f7fd;color:#7f95b0}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%236480a5' stroke-width='1.7'%3E%3Cpath d='m5 7 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;padding-right:30px}textarea{resize:vertical;min-height:73px}label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}.field{min-width:0}.field-hint{font-size:11px;color:#91a3bc;line-height:1.6;margin:6px 0 0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-grid.cols3{grid-template-columns:repeat(3,minmax(0,1fr))}.wide{grid-column:1/-1}.check{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:400}.brand{display:flex;align-items:center;gap:10px;color:var(--navy);flex-shrink:0}.brand:hover{text-decoration:none}.brand>img{width:38px;height:38px}.brand>span{font-size:21px;letter-spacing:-.8px;line-height:1.1;font-weight:750}.brand small{font-size:14px;letter-spacing:.2px;font-style:italic;font-weight:550;display:block;margin-top:3px}.topbar{height:70px;display:flex;align-items:center;gap:32px;padding:0 24px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:15}.topbar .brand{min-width:190px}#top-nav{display:flex;align-items:stretch;align-self:stretch;gap:8px;flex:1;min-width:0;overflow:auto;scrollbar-width:none}#top-nav button{border:0;border-bottom:3px solid transparent;padding:0 15px;background:none;font-size:14px;font-weight:550;color:#3e6086;white-space:nowrap}#top-nav button.active{color:var(--blue);border-bottom-color:var(--blue);font-weight:700}#top-nav button:hover{background:#f6faff}.top-actions{display:flex;gap:12px;align-items:center}.rail{width:66px;position:fixed;top:70px;bottom:31px;left:0;z-index:10;background:#fff;border-right:1px solid var(--line);padding:19px 10px;display:flex;flex-direction:column;gap:13px;align-items:center}.rail button{display:flex;align-items:center;justify-content:center;border:0;border-radius:8px;width:43px;height:43px;flex-shrink:0;background:#fff;color:#6c89ac}.rail button.active{background:#e9f2ff;color:var(--blue)}.rail button:hover{background:#f0f6ff;color:var(--blue)}.rail .icon{width:23px;height:23px}.rail .spacer{flex:1}.app-body{margin-left:66px;min-width:0}#main{padding:21px 25px 48px;min-height:calc(100dvh - 70px)}.page-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px;min-height:37px}.page-heading{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}.page-heading h1{font-size:19px;letter-spacing:-.25px;color:var(--navy);font-weight:700;margin:0}.page-heading>span{font-size:12px;color:#8299b6}.page-actions{display:flex;align-items:center;gap:8px}.statusbar{position:fixed;bottom:0;right:0;left:0;height:31px;z-index:20;display:flex;align-items:center;gap:18px;padding:0 15px;border-top:1px solid #d8e6f6;background:#f4f8ff;font-size:10px;color:#6584ab}.statusbar strong{font-weight:600;color:#315b90}.statusbar #connection{margin-left:auto;color:#218761}.statusbar #connection.offline{color:#b27336}.statusbar a,.statusbar button{font-size:10px}.panel{background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow);min-width:0;overflow:hidden}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:1px solid #e4ecf8;background:#f7faff}.panel-header h2{display:flex;align-items:center;gap:8px;font-size:14px;margin:0;color:#214d83;font-weight:650}.panel-header h2>.icon{color:#3b84e9}.panel-header>span{font-size:11px;color:#89a0bc}.panel-body{padding:17px}.muted{color:var(--muted)}.badge{display:inline-flex;align-items:center;padding:4px 7px;border-radius:5px;font-size:11px;line-height:1.25;font-weight:600;background:#edf3fc;color:#617d9e;white-space:nowrap}.badge.green{background:#e7f6ee;color:#2a875e}.badge.blue{background:#e6f1ff;color:#2f78d9}.badge.amber{background:#fff3de;color:#ad7d29}.badge.purple{background:#f0ecff;color:#8066bd}.badge.red{background:#ffedef;color:#b25160}.empty{text-align:center;padding:38px 20px;color:#8ba1bc;font-size:13px;line-height:1.7}.empty>.icon{display:block;width:32px;height:32px;color:#a6bddb;margin:0 auto 12px}.empty strong{display:block;font-size:14px;font-weight:550;color:#5e81ae}.empty p{font-size:12px;margin:7px 0 15px}.table-wrap{overflow:auto;scrollbar-width:thin}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;white-space:nowrap}th{background:#f1f6fe;color:#7c98b9;font-size:11px;padding:11px 14px;border-bottom:1px solid #dfe9f7;font-weight:650}td{padding:13px 14px;border-bottom:1px solid #eaf0f8;line-height:1.4}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfdff}tbody tr.selected{background:#edf5ff}tbody tr.clickable{cursor:pointer}td strong{color:#315680;font-weight:600}td small{display:block;font-size:11px;color:#8ba2bf;margin-top:3px}.quantity{text-align:right;font-variant-numeric:tabular-nums}.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-top:1px solid var(--line);font-size:11px;color:#839cbb}.pagination>div{display:flex;align-items:center;gap:6px}.pagination button{min-width:28px;height:28px;border:1px solid #d6e3f6;border-radius:5px;background:#fff;color:#5b83b6}.pagination button:disabled{opacity:.35}.searchbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:12px 14px;border-bottom:1px solid var(--line)}.search{position:relative;flex:1;min-width:160px}.search>.icon{position:absolute;left:10px;top:10px;color:#96adca;width:17px;height:17px}.search input{padding-left:35px}.searchbar select{max-width:180px;font-size:13px}.searchbar small{font-size:11px;color:#8ca2bf;white-space:nowrap}.welcome-strip{display:flex;align-items:center;justify-content:space-between;min-height:112px;padding:21px 25px;margin-bottom:16px;border:1px solid #d4e4fa;border-radius:8px;background:#edf5ff url('/corte/assets/sewing-banner-v2.webp') no-repeat right center;background-size:auto 100%;position:relative;overflow:hidden}.welcome-strip:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f0f6ff 36%,#edf5ffed 50%,#edf5ff00 78%)}.welcome-strip>div{position:relative;border-left:3px solid #4b91f4;padding-left:16px}.welcome-strip h2{margin:0 0 6px;color:#244f87;font-size:20px;font-weight:650;letter-spacing:-.3px}.welcome-strip p{margin:0;color:#7a96bc;font-size:13px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:17px}.stat{padding:18px;display:flex;align-items:center;gap:14px}.stat .icon{width:29px;height:29px;color:#397fe8}.stat span{display:block;font-size:12px;color:#8ba0ba}.stat strong{display:block;font-size:26px;line-height:1.3;color:#244f86;margin-top:4px;font-weight:650;letter-spacing:-.7px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:16px;align-items:start}.dashboard-grid>div{min-width:0}.stack{display:flex;flex-direction:column;gap:16px;min-width:0}.model-identity{display:flex;align-items:center;gap:10px;min-width:0}.model-identity>.photo,.model-identity>img{width:43px;height:43px;object-fit:contain;flex:none;background:#f5f8fc;border:1px solid #e5edf8;border-radius:5px}.photo{display:flex;align-items:center;justify-content:center;color:#b1c4df;background:#f5f8fc;overflow:hidden}.photo>.icon{width:32px;height:32px}.stage-row{display:grid;grid-template-columns:100px minmax(0,1fr) 72px;align-items:center;gap:10px;padding:10px 0;font-size:12px}.stage-row>span:last-child{text-align:right;color:#829bbb;font-size:11px}.stage-track{height:7px;background:#e9f0fc;border-radius:5px;overflow:hidden}.stage-track>i{display:block;height:100%;background:#5e98f0;border-radius:5px}.quick-link{display:flex;align-items:center;gap:13px;padding:13px 15px;width:100%;background:#fff;color:#416fa8;border:0;border-bottom:1px solid #e9f0fa;font-size:13px;text-align:left}.quick-link:last-child{border:0}.quick-link>.icon{color:#4b91ee;width:23px;height:23px}.quick-link:hover{background:#f4f8ff}.model-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:17px;align-items:start}.catalogue{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-top:15px}.model-card{padding:8px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer;min-width:0;box-shadow:var(--shadow)}.model-card.selected{border-color:#6ba3f6;box-shadow:0 0 0 1px #c8dfff}.model-card:hover{border-color:#a1c3f3}.model-card>.photo,.model-card>img{width:100%;height:190px;object-fit:contain;background:#f6f8fc;border-radius:5px}.model-card .photo .icon{width:48px;height:48px}.model-card-info{padding:11px 4px 4px}.model-card-info>div{display:flex;align-items:center;justify-content:space-between;gap:7px}.model-card-info strong{color:#315e99;font-size:14px}.model-card-info p{font-size:13px;font-weight:550;margin:5px 0;color:#43688e;overflow-wrap:anywhere}.model-card-info small{font-size:11px;color:#92a8c3}.model-detail .photo,.model-detail .model-detail-photo{width:100%;height:220px;object-fit:contain;border:1px solid #e4ecf7;border-radius:6px;background:#f7f9fc}.model-detail h3{font-size:15px;color:#28558d;margin:14px 0}.details{margin:14px 0 19px;display:grid;grid-template-columns:90px minmax(0,1fr);font-size:12px;gap:10px}.details dt{color:#96a9c0}.details dd{margin:0;color:#55789f;overflow-wrap:anywhere}.detail-actions{display:flex;flex-direction:column;gap:9px}.photo-upload{width:100%;min-height:155px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;border:1px dashed #bad0ee;border-radius:7px;background:#f8fbff;padding:12px;margin-bottom:14px}.photo-upload>img{max-width:100%;height:140px;object-fit:contain}.photo-upload>span{font-size:12px;color:#94a8c5}.photo-upload>.icon{width:35px;height:35px;color:#9cb8dc}.model-notes{font-size:12px;line-height:1.6;color:#7a94b6;white-space:pre-wrap;overflow-wrap:anywhere}.master-detail{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:17px;align-items:start}.master-detail>div,.master-detail>section{min-width:0}.tabbar{display:flex;align-items:center;gap:5px;padding:11px 12px;border-bottom:1px solid var(--line);overflow:auto;scrollbar-width:thin}.tabbar button{border:1px solid #d8e5f7;border-radius:5px;padding:7px 11px;background:#fff;color:#6c8db6;font-size:12px;white-space:nowrap}.tabbar button.active{background:#e9f3ff;border-color:#94baf2;color:#286bd2}.op-model-band{display:flex;align-items:center;gap:13px;margin-bottom:17px}.op-model-band>.photo,.op-model-band>img{height:84px;width:94px;object-fit:contain;border:1px solid var(--line);border-radius:5px;background:#f7f9fc;flex-shrink:0}.op-model-band>.field{flex:1}.section-title{font-size:13px;color:#416a9f;font-weight:650;margin:17px 0 10px;display:flex;gap:7px;align-items:center}.grade-editor{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.grade-cell{border:1px solid #d9e6f7;border-radius:5px;overflow:hidden;background:#fff;min-width:0}.grade-cell>label{display:block;text-align:center;background:#edf4ff;color:#7195c0;font-size:12px;padding:6px 3px;margin:0}.grade-cell>input{border:0;border-radius:0;text-align:center;min-height:37px;font-variant-numeric:tabular-nums;font-size:14px;padding:5px 3px}.total-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #dce8fb;border-radius:5px;background:#edf5ff;color:#4c78ae;font-size:13px;padding:9px 12px;margin:12px 0}.total-strip strong{font-size:15px;color:#2f6bb6}.panel-footer{padding:13px 16px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:flex-end;gap:7px;background:#fbfdff;flex-wrap:wrap}.panel-footer .danger{margin-right:auto}.flow{display:flex;align-items:center;justify-content:space-between;gap:9px;font-size:11px;color:#8ca4c5;padding:7px 0}.flow>span{display:flex;flex-direction:column;gap:6px;align-items:center;min-width:0;text-align:center}.flow>span i{display:grid;place-items:center;width:21px;height:21px;border:1px solid #bcd0ec;border-radius:50%;font-style:normal;color:#7198ca;font-size:10px}.flow>span.active i{background:#5f97e9;color:#fff;border-color:#5f97e9}.flow>i{height:1px;background:#dce6f5;flex:1;margin-top:-18px}.info-strip{padding:9px 11px;border:1px solid #dceafd;border-radius:5px;background:#f0f7ff;display:flex;align-items:flex-start;gap:7px;font-size:11px;color:#7a99be;line-height:1.6}.info-strip>.icon{width:15px;height:15px;margin-top:1px}.distribution-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);gap:17px;align-items:start}.distribution-layout>div{min-width:0}.distribution-model{display:flex;align-items:center;gap:15px;padding:13px;margin:15px 0;border:1px solid #e0eafa;border-radius:6px;background:#f9fbff}.distribution-model>.photo,.distribution-model>img{width:115px;height:92px;object-fit:contain;background:#f3f7fc;border:1px solid var(--line);border-radius:5px;flex-shrink:0}.distribution-model strong{display:block;font-size:15px;color:#39669d}.distribution-model p{font-size:12px;color:#8a9fb8;margin:7px 0 10px}.allocation-table{min-width:360px}.allocation-table th,.allocation-table td{text-align:center}.allocation-table input{width:105px;text-align:center;min-height:33px;padding:5px}.allocation-table tfoot{background:#f0f6ff;font-weight:600;color:#4b78af}.allocation-table tfoot td{padding:10px}.summary-lines{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:12px;margin:13px 0}.summary-lines dt{color:#8fa5be}.summary-lines dd{margin:0;text-align:right;color:#5d7fa7;overflow-wrap:anywhere}.other-order{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid #e5edf8;font-size:12px}.other-order:last-child{border:0}.other-order strong{font-size:12px;display:block;color:#4a76ab}.other-order small{font-size:11px;color:#99adc7;display:block;margin-top:4px}.receipt{font-size:13px}.receipt header{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:2px solid #b3ccee;padding-bottom:15px;margin-bottom:18px}.receipt header h2{font-size:20px;color:#335b8a;margin:0 0 6px}.receipt header p{font-size:12px;color:#879ebb;margin:0}.receipt .receipt-meta{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:18px}.receipt .receipt-meta strong{display:block;color:#416fa7;font-size:13px;margin-top:4px}.receipt .receipt-meta span{font-size:11px;color:#9aadc5}.receipt-notes{font-size:12px;line-height:1.7;padding:14px 0;color:#8099b9;white-space:pre-wrap}.event-list{padding:0;margin:10px 0 0;list-style:none}.event-list li{padding:10px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#7d98b9}.event-list small{font-size:10px;color:#a0b1c8}.cut-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:17px;align-items:start}.cut-layout>div{min-width:0}.cut-steps{display:flex;align-items:center;gap:9px;margin-bottom:17px}.cut-steps button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;padding:11px 9px;border:1px solid #d5e4fa;border-radius:7px;background:#f1f7ff;color:#7b9bc4;font-size:13px;min-width:0}.cut-steps button.active{background:#e5f0ff;color:#2e75d6;border-color:#9dc1f5}.cut-steps button>span{display:grid;place-items:center;width:22px;height:22px;border:1px solid #a9c9f5;border-radius:50%;font-size:11px;flex-shrink:0}.cut-steps button.active>span{background:#4e8ce3;border-color:#4e8ce3;color:#fff}.cut-destination{display:flex;align-items:center;gap:13px;padding:13px 16px;margin-bottom:15px;flex-wrap:wrap}.cut-destination strong{color:#4572a6;font-size:14px}.cut-destination small{font-size:12px;color:#94a8c3}.cut-destination .text-btn{margin-left:auto}.cut-model-row,.cut-fabric-row{border:1px solid #dce7f6;border-radius:7px;padding:15px;margin-bottom:15px;background:#fcfdff}.cut-model-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.cut-model-top strong{font-size:13px;color:#6c90bc}.cut-size-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-top:13px}.cut-project-summary{font-size:13px;line-height:1.5}.cut-project-summary>header{padding:0 0 12px;border-bottom:1px solid #dce7f6;margin-bottom:14px}.cut-project-summary>header small{font-size:9px;letter-spacing:1.5px;color:#91a9c7}.cut-project-summary>header h2{font-size:15px;font-weight:600;color:#4c79ae;margin:6px 0 0}.cut-project-models>section{padding:10px 0;border-bottom:1px solid #e4edf8}.cut-project-summary h3{font-size:13px;font-weight:600;color:#6288b6;margin:4px 0 7px}.cut-project-summary h3 span{font-size:11px;font-weight:400;color:#9aafca}.cut-project-models p{font-size:13px;color:#6c90be;margin:0}.cut-project-fabrics{margin-top:15px}.cut-project-fabrics ul{list-style:none;padding:0;margin:0}.cut-project-fabrics li{display:flex;align-items:center;gap:9px;padding:9px 0}.cut-color-swatch{display:inline-block;width:18px;height:18px;border:1px solid #c9d7e9;border-radius:4px;flex-shrink:0}.cut-project-fabrics li strong{font-size:12px;color:#6a8eb9;font-weight:550;display:block}.cut-project-fabrics li div>span{font-size:10px;color:#9cafca;display:block;margin-top:3px}.cut-project-notes{font-size:12px;line-height:1.6;color:#95aac6;white-space:pre-wrap}.client-order-progress ol{list-style:none;display:flex;gap:7px;justify-content:space-between;padding:0;margin:0;overflow:auto}.client-order-progress li{display:flex;align-items:center;flex-direction:column;gap:8px;font-size:10px;color:#a1b2ca;text-align:center;min-width:62px}.client-order-progress li span{display:grid;place-items:center;width:23px;height:23px;border:1px solid #d4e2f5;border-radius:50%}.client-order-progress li.current{color:#3d80dc}.client-order-progress li.current span{border-color:#7aaded;background:#eef5ff}.client-order-progress li.done{color:#479b79}.client-stage-caption{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:13px;margin-top:16px;font-size:12px;color:#7396c1}.client-stage-caption strong{font-weight:550}.client-stage-caption>span{font-size:10px;color:#a0b2ca}.cut-notice{font-size:12px;color:#90a7c3;line-height:1.7;margin:15px 0}.load-error,.form-error{font-size:12px;color:#b35b68;line-height:1.6}.form-error:not(:empty){padding:10px 12px;background:#fff4f6;border:1px solid #efd8dd;border-radius:5px;margin:12px 0}.load-error{padding:12px 15px;background:#fff5f7;border:1px solid #f0dce2;border-radius:6px;margin-bottom:16px}#toast{position:fixed;bottom:47px;right:20px;z-index:200;background:#fff;border:1px solid #c8e6d7;border-left:4px solid #3b9c72;color:#628b76;box-shadow:0 3px 20px #1e51791b;border-radius:7px;font-size:13px;padding:13px 17px;max-width:min(460px,calc(100vw - 28px))}#toast.error{border-color:#eed2d8;border-left-color:#c77683;color:#ab6b77}#dialog{padding:0;width:min(720px,calc(100vw - 26px));max-height:calc(100dvh - 32px);border:1px solid #cbdcf1;border-radius:10px;background:#fff;color:var(--ink);box-shadow:0 18px 60px #24497730}#dialog::backdrop{background:#234c783b;backdrop-filter:blur(2px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 20px;border-bottom:1px solid var(--line);background:#f8fbff}.dialog-header h2{font-size:16px;color:#416b9f;font-weight:600;margin:0}.dialog-header p{font-size:12px;color:#99acc7;margin:6px 0 0}.dialog-content{padding:20px}.dialog-footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:14px 20px;border-top:1px solid var(--line);background:#fbfdff;flex-wrap:wrap}.dialog-footer .danger{margin-right:auto}.account-line{padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:13px;border-bottom:1px solid var(--line);font-size:13px;color:#92a6c1}.account-line strong{color:#6184b0;font-weight:550}.login-screen{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh;background:#fff}.login-brand{display:flex;flex-direction:column;padding:48px 60px;background:#eef5ff;border-right:1px solid #e0ebfa}.login-message{margin:auto 0;padding:50px 0}.login-message>span{font-size:10px;letter-spacing:2px;color:#98b2d4}.login-message h1{font-size:28px;letter-spacing:-.8px;line-height:1.4;color:#346298;font-weight:600;margin:23px 0 15px}.login-message p{font-size:13px;line-height:1.7;color:#90a8c9}.login-brand>small{color:#a7bad4;font-size:10px}.login-side{display:grid;place-items:center;padding:35px}.login-side form{width:min(350px,100%)}.login-mark{display:grid;place-items:center;width:40px;height:40px;background:#f1f6ff;border:1px solid #d9e8fc;border-radius:10px;font-size:12px;font-weight:600;color:#6c99d5;margin-bottom:25px}.login-side h2{font-size:21px;letter-spacing:-.4px;color:#3a649b;font-weight:600;margin:0 0 12px}.login-side p{font-size:13px;line-height:1.6;color:#a1b3cc;margin-bottom:25px}.login-side label{font-size:13px;color:#7290b5;margin-top:18px}.login-side .full{margin-top:20px}.login-back{display:block;text-align:center;color:#9eb3d0;font-size:11px;margin-top:26px}body.loading #refresh-icon .icon{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}body.native .topbar{height:97px;padding-top:27px}body.native .rail{top:97px}body.native .login-screen{padding-top:27px}#print-root{display:none}
@media(min-width:1650px){.model-layout{grid-template-columns:minmax(0,1fr) 340px}.model-card>.photo,.model-card>img{height:230px}#main{padding-left:35px;padding-right:35px}.panel-body{padding:20px}}
@media(max-width:1200px){.topbar{gap:17px;padding:0 17px}.topbar .brand{min-width:170px}.brand>span{font-size:19px}#top-nav{gap:0}#top-nav button{padding:0 11px;font-size:13px}.model-layout{grid-template-columns:minmax(0,1fr) 265px}.catalogue{grid-template-columns:repeat(2,minmax(0,1fr))}.master-detail{grid-template-columns:minmax(0,.95fr) minmax(0,1fr)}.distribution-layout{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr)}.form-grid{gap:12px}.grade-editor{gap:5px}.stat{padding:14px;gap:10px}.stat .icon{width:25px;height:25px}.stat span{font-size:11px}.statusbar{gap:12px}}
@media(max-width:950px){.topbar{height:auto;min-height:67px;flex-wrap:wrap;padding-top:12px;gap:0}.topbar>.brand{flex:1}.top-actions{margin-left:auto}#top-nav{order:3;flex-basis:100%;height:45px;margin-top:9px}#top-nav button{padding:0 16px}.rail{top:109px;width:56px;padding:15px 7px;gap:10px}.rail button{width:39px;height:39px}.app-body{margin-left:56px}#main{padding:18px 17px 48px}.page-heading>span{display:none}.stats{gap:9px}.stat{display:block;padding:14px}.stat .icon{margin-bottom:9px;width:24px;height:24px}.stat strong{font-size:24px}.dashboard-grid{grid-template-columns:minmax(0,1fr)}.dashboard-grid>.stack:last-child{display:grid;grid-template-columns:1fr 1fr;align-items:start}.model-layout{grid-template-columns:minmax(0,1fr) 245px}.model-card>.photo,.model-card>img{height:150px}.model-detail .photo,.model-detail .model-detail-photo{height:175px}.master-detail{grid-template-columns:minmax(0,1fr)}.distribution-layout{grid-template-columns:minmax(0,1fr)}.cut-layout{grid-template-columns:minmax(0,1fr)}.cut-layout>.stack:last-child{order:2}.cut-size-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.statusbar #footer-user{display:none}body.native .topbar{height:auto;min-height:124px;padding-top:39px}body.native .rail{top:136px}}
@media(max-width:650px){.topbar{padding:10px 13px 0}.brand>img{width:31px;height:31px}.brand>span{font-size:19px}.brand small{font-size:12px}.top-actions{gap:8px}#top-nav{height:43px;margin-top:8px}#top-nav button{padding:0 13px;font-size:13px}.rail{display:none}.app-body{margin-left:0}#main{padding:17px 12px 48px}.page-toolbar{gap:9px;margin-bottom:14px;align-items:flex-start}.page-heading h1{font-size:18px;padding-top:5px}.page-actions{gap:5px}.page-actions .btn{font-size:11px;min-height:33px;padding:6px 8px;gap:5px}.page-actions .btn .icon{height:14px;width:14px}.welcome-strip{padding:17px;min-height:105px;background-position:right center;background-size:auto 100%}.welcome-strip:before{background:linear-gradient(90deg,#f0f6fff2 35%,#f0f6ffae 72%,#edf5ff70)}.welcome-strip h2{font-size:17px}.welcome-strip p{font-size:12px;max-width:230px;line-height:1.5}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:13px}.stat{display:flex;align-items:center;padding:14px;gap:12px}.stat .icon{margin:0;flex-shrink:0}.stat span{font-size:10px}.stat strong{font-size:23px}.dashboard-grid{gap:13px}.dashboard-grid>.stack:last-child{grid-template-columns:minmax(0,1fr)}.model-layout{grid-template-columns:minmax(0,1fr)}.model-detail{order:2}.catalogue{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding-top:12px}.model-card{padding:6px}.model-card>.photo,.model-card>img{height:160px}.model-card-info strong{font-size:13px}.model-card-info p{font-size:12px}.model-card-info .badge{font-size:9px}.model-card-info small{font-size:10px}.model-detail .photo,.model-detail .model-detail-photo{height:230px}.searchbar{padding:11px;gap:8px}.searchbar>.search{flex-basis:100%}.searchbar select{flex:1;max-width:none;width:0;font-size:12px}.searchbar small{font-size:10px}.panel-header{padding:12px 13px}.panel-header h2{font-size:13px}.panel-body{padding:14px}.panel-footer{padding:12px 13px}.form-grid.cols3{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid{gap:13px}.form-grid .mobile-wide{grid-column:1/-1}.form-grid label{font-size:12px}.op-model-band>.photo,.op-model-band>img{height:75px;width:78px}.grade-editor{grid-template-columns:repeat(4,minmax(0,1fr))}.op-model-band select{font-size:12px}.distribution-model{padding:11px;gap:11px}.distribution-model>.photo,.distribution-model>img{width:87px;height:79px}.distribution-model strong{font-size:13px}.distribution-model p{font-size:11px;line-height:1.5}.allocation-table input{width:85px}.allocation-table th,.allocation-table td{padding:10px}.cut-steps{gap:5px}.cut-steps button{font-size:10px;padding:10px 5px;gap:5px}.cut-steps button>span{height:19px;width:19px;font-size:10px}.cut-size-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cut-destination{padding:12px}.cut-destination strong{font-size:13px}.cut-destination small{font-size:10px}.cut-model-row,.cut-fabric-row{padding:12px}.statusbar{padding:0 9px;gap:8px;font-size:9px}.statusbar #app-version{display:none}.statusbar a,.statusbar button{font-size:9px}.statusbar #footer-company{max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.login-screen{grid-template-columns:1fr}.login-brand{padding:25px;background:#f3f8ff}.login-message,.login-brand>small{display:none}.login-side{align-items:start;padding:35px 25px}.login-side h2{font-size:20px}.dialog-header{padding:15px 17px}.dialog-content{padding:17px}.dialog-footer{padding:13px 17px}.dialog-header h2{font-size:15px}.dialog-content .form-grid{grid-template-columns:minmax(0,1fr)}.receipt header h2{font-size:18px}.receipt .receipt-meta{grid-template-columns:1fr}.btn.small{font-size:11px}.stage-row{grid-template-columns:90px minmax(0,1fr) 70px}.flow{gap:5px}.flow>span{font-size:10px}.client-order-progress ol{padding-bottom:8px}.account-line{font-size:12px}.account-line strong{max-width:220px;text-align:right;overflow-wrap:anywhere}}
@media print{body>*{display:none!important}#print-root{display:block!important;color:#111;background:#fff;font-family:Arial,sans-serif}#print-root .receipt{font-size:12px}#print-root .receipt header{border-color:#666}#print-root .receipt-meta span{color:#666}#print-root .receipt-meta strong,#print-root strong,#print-root th,#print-root td{color:#111}#print-root .table-wrap{overflow:visible}#print-root table{white-space:normal;font-size:12px}#print-root th{background:#eee;font-size:11px}#print-root .receipt-notes{color:#333}#print-root .print-signature{margin-top:50px;text-align:center;border-top:1px solid #777;padding-top:10px;width:240px;margin-left:auto;margin-right:auto;font-size:11px}@page{size:A4;margin:16mm}}
.model-card>div:first-child{height:190px;overflow:hidden;border-radius:5px;background:#f6f8fc}.model-card>div:first-child>img,.model-card>div:first-child>.photo{display:flex;width:100%;height:100%;object-fit:contain}.model-card>div:first-child>.photo>.icon{height:48px;width:48px}#update-available{position:fixed;right:15px;bottom:44px;z-index:25;border:1px solid #b5d0f6;border-radius:6px;background:#eaf3ff;color:#4d7fbf;padding:9px 13px;font:600 12px "Segoe UI",Arial,sans-serif}@media(min-width:1650px){.model-card>div:first-child{height:230px}}@media(max-width:950px){.model-card>div:first-child{height:150px}}@media(max-width:650px){.model-card>div:first-child{height:160px}}

/* Produção acompanha a estrutura visual do Corte. */
:root{--navy:#082b60;--ink:#214d80;--muted:#6a85a7;--line:#c4d9f7;--soft:#eaf2ff;--shadow:0 2px 5px #194b8520;background:#edf4ff;font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:14px}.desktop-chrome{position:sticky;top:0;z-index:30;background:#edf4ff;border-bottom:1px solid #abcaf5;box-shadow:0 2px 5px #245ea812}.desktop-title{height:26px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(90deg,#d4e6ff,#edf4ff);color:#053e84;font-size:12px}.desktop-title>a{display:flex;align-items:center;gap:6px;color:#06346c;min-width:0;white-space:nowrap}.desktop-title>a:hover{text-decoration:none}.desktop-title img{width:21px;height:21px}.desktop-title strong{font-family:Georgia,"Times New Roman",serif;font-size:14px}.desktop-title>div{display:flex;align-items:center;gap:10px}.desktop-title small{font-size:8px;letter-spacing:1.4px;color:#607b9c}.engine-version{font-size:9px;padding:2px 6px;border:1px solid #b9cff0;border-radius:3px;color:#6b87a8;background:#eef5ff}.desktop-menubar{height:25px;display:flex;align-items:stretch;padding:0 8px;gap:15px;border-bottom:1px solid #bed4f5;background:linear-gradient(#fff,#edf4ff)}#top-nav{gap:0;overflow:auto;height:25px;align-self:auto}#top-nav button{font-size:11px;padding:0 12px;border:0;border-radius:3px;color:#003c88;font-weight:400}#top-nav button.active{color:#fff;background:linear-gradient(#2799ff,#0562cf);box-shadow:inset 0 0 0 1px #0059c5;font-weight:600}#top-nav button:hover{background:#dceaff;color:#004ca4}#top-nav button.active:hover{background:#0a77e3;color:#fff}.desktop-account{display:flex;align-items:center;gap:14px;flex-shrink:0}.desktop-account>button:not(.avatar){font-size:10px;color:#054b9d;border:0;background:transparent;padding:0;display:flex;align-items:center}.desktop-account>a{font-size:10px}.desktop-account #refresh-icon .icon{width:14px;height:14px}.desktop-account .avatar{height:20px;width:23px;font-size:8px;border-radius:3px;background:#e3eeff}#module-ribbon{padding:5px 8px 8px;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px}.module-button{height:61px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid #a6c7f6;border-radius:6px;box-shadow:inset 0 1px #fff,0 2px 2px #215e9b16;background:linear-gradient(#fbfdff,#dfeafe);color:#0055b9;font-size:12px;font-weight:600;white-space:nowrap}.module-button .icon{height:27px;width:27px;stroke-width:2}.module-button:hover{background:linear-gradient(#eff7ff,#cfe2ff);border-color:#549ef7}.module-button.active{background:linear-gradient(#43b0ff,#0569df);border-color:#4a9eff;color:#fff;box-shadow:inset 0 1px #a4d8ff,0 2px 3px #004ea333}.app-body{margin-left:0}#main{padding:12px 10px 48px;min-height:calc(100dvh - 126px)}.page-toolbar{margin-bottom:10px;min-height:32px}.page-heading h1{font-size:16px;letter-spacing:0}.page-heading>span{font-size:11px;color:#6884a8}.page-actions .btn{min-height:31px;font-size:11px;padding:5px 10px}.btn{border-radius:4px}.panel{border-radius:6px;border-color:#bcd3f6;box-shadow:0 2px 4px #3b6fa316}.panel-header{padding:9px 12px;background:linear-gradient(#f9fcff,#e9f1ff);border-bottom:1px solid #cadcf7}.panel-header h2{font-size:12px;color:#16467f}.panel-header h2>.icon{color:#0872eb;width:17px;height:17px}.panel-body{padding:15px}.statusbar{height:29px;gap:14px;border-color:#bad1f2;background:linear-gradient(#eff5ff,#dfeaff);color:#2a619f}.statusbar strong,.statusbar #footer-user{border-right:1px solid #b5ceef;padding-right:14px}.statusbar #footer-date{font-size:10px}.statusbar #connection{display:flex;align-items:center;gap:5px}.statusbar #connection:before{content:"";width:7px;height:7px;border-radius:50%;background:#20b68a}.statusbar #connection.offline:before{background:#e29b30}.desktop-hero-row{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:9px;margin-bottom:10px}.production-welcome{position:relative;isolation:isolate;min-height:245px;border:1px solid #c3d9f8;border-radius:7px;overflow:hidden;background:#e7f1ff url('/corte/assets/sewing-banner-v2.webp') center right/cover no-repeat;box-shadow:var(--shadow)}.production-welcome:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#eaf3ffff 4%,#eaf3fff2 23%,#eaf3ff80 48%,transparent 75%)}.production-wordmark{display:flex;align-items:center;gap:14px;padding:35px 35px 31px;min-height:245px}.production-wordmark>img{width:130px;height:130px;object-fit:contain}.production-wordmark>div{font-size:clamp(36px,4.5vw,62px);font-weight:800;font-style:italic;letter-spacing:-2.4px;color:#081f59;line-height:.98}.production-wordmark strong{display:block;color:#086df1;font-size:.96em}.production-wordmark p{font-size:13px;font-weight:500;letter-spacing:0;line-height:1.4;margin:12px 0 0;text-align:center;color:#09377a}.banner-wave{position:absolute;bottom:-17px;left:-10%;height:35px;width:120%;background:#3e98f3b3;transform:rotate(3deg);pointer-events:none}.day-summary .panel-header{background:linear-gradient(#258bff,#0059ce);margin:4px 4px 0;padding:8px 9px;border-color:#006ce7;border-radius:3px 3px 0 0}.day-summary .panel-header h2,.day-summary .panel-header .icon{color:#fff}.day-summary{background:linear-gradient(#f7faff,#e7efff)}.day-summary .stats{display:grid;grid-template-columns:1fr;gap:0;margin:0 11px}.day-summary .stat{display:flex;align-items:center;gap:13px;padding:13px 1px;border:0;border-bottom:1px solid #cbdffb;background:transparent;box-shadow:none;border-radius:0}.day-summary .stat:last-child{border-bottom:0}.day-summary .stat>.icon{height:22px;width:22px;margin:0;color:#0065dc}.day-summary .stat>span{font-size:11px;color:#184a85}.day-summary .stat>strong{margin-left:auto;font-size:23px;color:#0059c5}.desktop-widgets{display:grid;grid-template-columns:1.15fr 1fr .95fr;gap:9px;margin-bottom:10px}.production-chart{display:block;width:100%;height:158px}.production-chart text{font-size:10px;fill:#31679f}.desktop-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:6px}.desktop-quick-grid button{height:80px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;font-size:11px;color:#154d8b;border:1px solid #b7d1f8;border-radius:5px;background:linear-gradient(#fcfdff,#e1ecff)}.desktop-quick-grid button:hover{background:#d6e9ff}.desktop-quick-grid .icon{height:25px;width:25px;color:#0972ea}.desktop-widgets .stage-row{grid-template-columns:85px minmax(0,1fr) 70px;font-size:11px;margin:14px 0}.dashboard-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:9px}.empty{padding:28px 12px}.model-layout{grid-template-columns:minmax(0,1fr) 305px;gap:12px}.searchbar{padding:12px}.catalogue{padding-top:12px;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.model-card{position:relative;background:linear-gradient(#fff,#f9fbff);border-color:#b8d2f5;padding:7px;border-radius:6px;box-shadow:0 2px 4px #1d5b9512}.model-card:hover{border-color:#4c9bfa;box-shadow:0 3px 10px #2464a61c}.model-card.selected{border-color:#4a9afa;box-shadow:0 0 0 1px #78b4ff}.model-card-photo{height:185px;overflow:hidden;display:grid;place-items:center;border-radius:4px;background:#edf4fd}.model-card-photo>img,.model-card-photo>.photo{height:100%;width:100%;object-fit:contain}.model-card-info{padding:10px 5px 5px}.model-card-info p{font-size:13px;color:#315e92}.model-card-info small{color:#6a85a5}.model-selection-check{display:flex;align-items:center;justify-content:flex-end;gap:5px;font-size:10px;font-weight:500;padding:2px 3px 6px;margin:0;color:#51719a;cursor:pointer}.model-selection-check input{height:15px;width:15px;min-height:15px;margin:0}.model-selectionbar{display:flex;align-items:center;gap:12px;padding:10px 12px;margin-top:10px;background:#e7f0ff;border:1px solid #c3d8f7;border-radius:5px}.model-selectionbar>.check{font-size:11px;margin:0}.model-selectionbar>span{font-size:11px;margin-left:auto;white-space:nowrap;color:#4e719c}.model-detail .details{font-size:12px}.model-default-grade{border:1px solid #c9ddf8;background:#f3f8ff;border-radius:5px;padding:12px}.model-default-grade .field-hint{margin-bottom:10px;color:#5a7ba3}.model-default-grade .cut-size-grid{margin-top:7px}.model-picker-list{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px;max-height:55dvh;overflow:auto}.model-picker-option{display:flex;align-items:center;gap:9px;border:1px solid #c8dcf6;background:#fbfdff;padding:10px;border-radius:5px;margin:0;cursor:pointer}.model-picker-option:has(input:checked){border-color:#318bf5;background:#eaf3ff}.model-picker-option>img,.model-picker-option>.photo{width:52px;height:64px;object-fit:contain;border-radius:4px;background:#edf4ff;flex-shrink:0}.model-picker-option>input{flex-shrink:0}.model-picker-option>span{min-width:0}.model-picker-option strong,.model-picker-option small,.model-picker-option em{display:block;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.model-picker-option small{font-weight:400;color:#6585ab}.model-picker-option em{font-style:normal;font-weight:400;color:#1562ba}#dialog:has(#cut-model-picker){width:min(850px,calc(100vw - 22px))}.cut-editor-layout{grid-template-columns:minmax(0,1fr) 325px;align-items:start;gap:12px}.cut-editor{background:#f9fbff}.cut-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;border-bottom:1px solid #c5d9f6;background:linear-gradient(#fff,#ecf4ff)}.cut-editor-heading h2{font-size:14px;margin:0;color:#17497f}.cut-editor-heading p{font-size:11px;margin:5px 0 0;color:#5f7fa4}.cut-reference-card{margin:14px;border:1px solid #b8d2f6;border-radius:6px;background:#fff;box-shadow:0 2px 4px #234f8110}.cut-reference-header{display:flex;align-items:center;gap:11px;background:linear-gradient(#f4f9ff,#eaf3ff);padding:10px 12px;border-bottom:1px solid #cadaf5;border-radius:5px 5px 0 0}.reference-number{display:grid;place-items:center;align-self:stretch;font-size:12px;color:#5185c7;border-right:1px solid #c8dbf6;padding-right:10px}.cut-reference-header>img,.cut-reference-header>.photo{width:44px;height:49px;object-fit:contain;border-radius:4px;background:#fff;flex-shrink:0}.cut-reference-header strong{font-size:14px;color:#0753ad}.cut-reference-header>div:not(.photo){min-width:0}.cut-reference-header>div>span{display:block;font-size:11px;margin-top:3px;color:#5c7ea8}.cut-reference-header>.btn{margin-left:auto}.cut-reference-body{padding:14px}.cut-reference-body .form-grid{gap:10px}.cut-reference-body label{font-size:11px}.cut-reference-body input{min-height:34px;font-size:13px}.cut-grade-heading{display:flex;align-items:baseline;gap:12px;margin:16px 0 8px}.cut-grade-heading strong{font-size:12px;color:#1a559b}.cut-grade-heading>span{font-size:11px;color:#6a86a9}.cut-reference-body .cut-size-grid{margin-top:0;grid-template-columns:repeat(auto-fit,minmax(56px,1fr));gap:7px}.cut-reference-body .grade-cell{border:1px solid #bfd7f8;border-radius:4px;overflow:hidden;background:#eef5ff}.cut-reference-body .grade-cell label{margin:0;padding:5px 0;text-align:center;font-size:12px;color:#175396;background:#e9f2ff}.cut-reference-body .grade-cell input{border:0;border-top:1px solid #c7defa;border-radius:0;text-align:center;font-size:16px;font-weight:650;color:#075cb7;padding:8px 4px;min-height:40px;background:#fff}.cut-grade-preview{font-size:12px;color:#0c5baf;font-weight:600;padding:8px 10px;margin-top:8px;border:1px solid #d4e5fc;border-radius:4px;background:#f4f9ff}.cut-fabrics-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:17px 0 8px}.cut-fabrics-heading strong{font-size:12px;display:flex;align-items:center;gap:6px;color:#205b9f}.cut-fabrics-heading .icon{height:16px;width:16px}.cut-fabric-line{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 75px 30px;align-items:end;gap:9px;border:1px solid #d3e2f7;border-radius:5px;background:#f9fcff;padding:10px;margin-top:7px}.named-color{display:flex;gap:5px}.named-color>input[type=color]{width:35px;min-width:35px;flex-shrink:0;padding:3px;background:#fff}.named-color>input:not([type=color]){min-width:0}.fabric-remove{width:30px;height:34px;font-size:14px;color:#ad5965}.fabric-remove>.icon{height:15px;width:15px}.add-reference-button{width:calc(100% - 28px);margin:0 14px 14px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px dashed #83b4f4;border-radius:5px;padding:13px;background:#eef6ff;color:#1d66bd;font-size:12px}.cut-notes-editor{padding:14px;border-top:1px solid #d4e3f8;background:#fff}.cut-order-summary{position:sticky;top:138px}.cut-summary-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding-bottom:13px;margin-bottom:12px;border-bottom:1px solid #ccdef7}.cut-summary-totals>div{background:#eef5ff;border:1px solid #d5e5fb;border-radius:5px;padding:9px 4px;text-align:center}.cut-summary-totals span{display:block;font-size:10px;color:#6183ab}.cut-summary-totals strong{display:block;margin-top:3px;color:#075cbd;font-size:22px}.cut-project-summary>header h2{color:#245b9c}.cut-project-summary h3{color:#245f9f;font-weight:650}.cut-project-models p{color:#346491}.cut-project-model-fabrics{padding:0 8px;margin:10px 0 0;border:1px solid #d5e4f7;border-radius:4px;background:#f6faff}.cut-project-fabrics li div>span{color:#53769d;font-size:11px}.cut-project-fabrics li strong{color:#315f91}.cut-grade-caption{font-size:11px;line-height:1.6;color:#56799f;background:#edf5ff;padding:10px;border:1px solid #d0e3fb;border-radius:4px}.cut-project-notes{color:#55779d}.cut-steps{margin-bottom:10px}.cut-steps button{padding:10px 14px;font-size:12px}.cut-destination{margin-bottom:10px;border-color:#bcd6fa}.cut-notice{color:#557da6}.field-hint{color:#6585a9}body.native .desktop-title{height:27px;-webkit-app-region:drag;padding-right:155px}body.native .desktop-title a{-webkit-app-region:no-drag}body.native .desktop-chrome .engine-version{display:none}body.native .login-screen{padding-top:27px}
@media(min-width:1650px){.catalogue{grid-template-columns:repeat(4,minmax(0,1fr))}.model-card-photo{height:215px}.production-welcome,.production-wordmark{min-height:280px}.cut-editor-layout{grid-template-columns:minmax(0,1fr) 380px}.desktop-hero-row{grid-template-columns:minmax(0,1fr) 340px}.day-summary .stat{padding:17px 1px}}
@media(max-width:1100px){.desktop-account{gap:9px}.desktop-title>a>span{font-size:10px}.desktop-hero-row{grid-template-columns:minmax(0,1fr) 260px}.production-wordmark{padding:30px 18px;gap:10px}.production-wordmark>img{width:95px;height:95px}.production-wordmark>div{font-size:48px}.desktop-widgets{grid-template-columns:1.1fr 1fr}.desktop-widgets>.panel:last-child{grid-column:1/-1}.desktop-widgets>.panel:last-child .panel-body{display:grid;grid-template-columns:1fr 1fr;gap:0 35px}.model-layout{grid-template-columns:minmax(0,1fr) 265px}.catalogue{grid-template-columns:repeat(2,minmax(0,1fr))}.cut-editor-layout{grid-template-columns:minmax(0,1fr) 280px}.cut-fabric-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 65px 27px;gap:6px;padding:8px}.cut-fabrics-heading{flex-wrap:wrap}.module-button{font-size:11px}.module-button .icon{width:24px;height:24px}}
@media(max-width:850px){.desktop-title>a>span,.desktop-title small,.desktop-account>a{display:none}.desktop-menubar{gap:5px}.desktop-account{gap:7px}#top-nav button{padding:0 9px}.desktop-hero-row{grid-template-columns:1fr}.production-welcome,.production-wordmark{min-height:225px}.day-summary .stats{grid-template-columns:repeat(4,1fr);gap:8px;margin:0}.day-summary .stat{flex-wrap:wrap;padding:12px;border-bottom:0;border-right:1px solid #c9ddf9;gap:6px}.day-summary .stat>.icon{height:20px;width:20px}.day-summary .stat>span{font-size:10px;flex:1}.day-summary .stat>strong{font-size:24px;flex-basis:100%;margin-left:26px}.cut-editor-layout{grid-template-columns:1fr}.cut-order-summary{position:static}.dashboard-grid{grid-template-columns:1fr}.cut-reference-body .cut-size-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.statusbar #footer-date{display:none}.module-button{height:58px}.model-selectionbar{flex-wrap:wrap}.model-selectionbar>.btn{margin-left:auto}.desktop-widgets .stage-row{margin:8px 0}}
@media(max-width:600px){.desktop-title{padding:0 7px}.desktop-title strong{font-size:12px}.desktop-title .engine-version{font-size:8px}.desktop-account>button:not(.avatar){display:none}.desktop-menubar{height:29px;padding:0 6px}#top-nav{height:29px}#top-nav button{font-size:10px;padding:0 7px}.desktop-account .avatar{width:21px}.desktop-account{gap:0}#module-ribbon{grid-template-columns:repeat(8,82px);overflow-x:auto;padding:5px 6px 6px;gap:5px;scrollbar-width:thin}.module-button{height:56px;font-size:10px}.module-button .icon{height:24px;width:24px}#main{padding:10px 7px 45px}.page-heading h1{font-size:15px}.page-actions .btn{font-size:10px;padding:5px 7px}.production-welcome,.production-wordmark{min-height:185px}.production-wordmark{padding:25px 13px;gap:9px}.production-wordmark>img{height:73px;width:73px}.production-wordmark>div{font-size:40px;letter-spacing:-1.5px}.production-wordmark p{font-size:11px}.production-welcome:before{background:linear-gradient(90deg,#eaf3fffa,#eaf3ffbf 65%,#eaf3ff00)}.day-summary .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}.day-summary .stat{border-bottom:1px solid #d2e2fa;padding:10px}.day-summary .stat>strong{margin-left:auto;flex-basis:auto;font-size:22px}.desktop-widgets{grid-template-columns:1fr;gap:8px}.desktop-widgets>.panel:last-child{grid-column:auto}.desktop-widgets>.panel:last-child .panel-body{display:block}.desktop-quick-grid button{height:70px}.production-chart{height:145px}.model-layout{grid-template-columns:1fr}.catalogue{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.model-card-photo{height:150px}.model-card-info{padding:8px 2px 3px}.model-card-info p{font-size:11px}.model-card-info strong{font-size:12px}.model-card-info .badge{font-size:9px}.model-selectionbar{padding:9px;gap:7px}.model-selectionbar>.check{font-size:10px}.model-selectionbar>span{font-size:10px}.model-selectionbar>.btn{width:100%;font-size:11px;min-height:32px}.model-picker-list{grid-template-columns:1fr}.cut-reference-card{margin:9px}.cut-reference-header{gap:8px;padding:9px}.cut-reference-header .reference-number{display:none}.cut-reference-header>.btn{font-size:0;padding:6px}.cut-reference-header>.btn .icon{height:15px;width:15px}.cut-reference-header>div>span{font-size:10px}.cut-reference-header>div>strong{font-size:13px}.cut-reference-body{padding:10px}.cut-grade-heading{flex-wrap:wrap;gap:4px}.cut-grade-heading>span{font-size:10px}.cut-reference-body .cut-size-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.cut-reference-body .grade-cell input{font-size:15px}.cut-fabrics-heading strong{font-size:11px}.cut-fabrics-heading .btn{font-size:10px;padding:5px 7px}.cut-fabric-line{grid-template-columns:minmax(0,1fr) 65px 27px;gap:7px}.cut-fabric-line>.field:first-child{grid-column:1/-1}.cut-fabric-line .named-color>input[type=color]{width:32px;min-width:32px}.cut-editor-heading{padding:12px;align-items:flex-start;flex-wrap:wrap}.cut-editor-heading h2{font-size:13px}.cut-editor-heading p{font-size:10px}.cut-editor-heading .btn{font-size:11px;width:100%;min-height:32px}.cut-steps button{font-size:10px;padding:9px 6px}.cut-steps button>span{width:20px;height:20px}.cut-destination{flex-wrap:wrap}.cut-destination .text-btn{margin-left:0}.statusbar{padding:0 7px;gap:7px}.statusbar strong{padding-right:7px}.statusbar>a{display:none}.statusbar #footer-company{max-width:150px}.model-default-grade .cut-size-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cut-order-summary .panel-body{padding:13px}}
.desktop-menubar #top-nav{order:0;flex-basis:auto;flex:1;margin-top:0}.model-card-photo>.photo .icon{width:46px;height:46px}.cut-legacy-notice{padding:12px;margin:14px;font-size:12px;line-height:1.6;border:1px solid #e1c581;border-radius:5px;color:#826122;background:#fff9e9}

/* Listas contínuas, no padrão de Pedidos de Corte. */
:root{background:#f7faff}.app-body,#main{background:#f7faff}.panel,.flat-section{border-radius:0;box-shadow:none;background:#fff;border:0;min-width:0}.flat-section{margin-bottom:13px;border-top:1px solid #c4d8f5;border-bottom:1px solid #c4d8f5}.panel-header{border-radius:0;background:#edf4ff;border-top:1px solid #c5d9f6}.flat-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:#edf4ff;border-bottom:1px solid #c6d9f4}.flat-heading h2{font-size:13px;color:#174c8a;margin:0;font-weight:600}.flat-summary-line{display:flex;align-items:center;flex-wrap:wrap;gap:10px 25px;padding:11px 12px;font-size:12px;color:#4e6f96;border-bottom:1px solid #cddff7;background:#f2f7ff}.flat-summary-line strong{color:#145db1;font-size:14px}.flat-grid{width:100%;border-collapse:collapse;font-size:12px}.flat-grid th{background:#edf4ff;color:#2a5b94;font-size:11px;text-align:left;font-weight:600;padding:9px 10px;border-bottom:1px solid #bcd5f7}.flat-grid td{padding:8px 10px;border-bottom:1px solid #d8e5f6;vertical-align:middle}.flat-grid tbody>tr:nth-child(even){background:#f8fbff}.flat-grid tbody>tr:hover{background:#edf5ff}.flat-grid tbody>tr.selected{background:#e8f2ff}.flat-grid td>input[type=checkbox]{width:16px;min-width:16px}.flat-grid label{font-size:12px;font-weight:400;margin:0}.flat-grid .row-actions{gap:5px;display:flex;align-items:center}.row-actions{display:flex;gap:7px;align-items:center}.model-selectionbar{border:0;border-top:1px solid #d2e2f8;border-bottom:1px solid #c9dcf6;border-radius:0;margin:0;padding:9px 12px;background:#f4f8ff}.model-thumb{width:36px;height:39px;border:1px solid #d0e0f5;border-radius:3px;display:grid;place-items:center;padding:0;background:#fff}.model-thumb>img,.model-thumb>.photo{height:33px;width:30px;object-fit:contain;background:#f7faff}.model-thumb .icon{width:20px;height:20px}.model-info{text-align:center}.model-info-photo,.model-info>.photo{max-width:100%;width:100%;height:330px;object-fit:contain;background:#f4f8ff}.model-picker-list{display:block;max-height:55dvh;overflow:auto;margin-top:12px}.model-picker-list .model-picker-option{display:table-row;border:0;border-radius:0;padding:0;margin:0;background:#fff;box-shadow:none}.model-picker-list .model-picker-option:has(input:checked){background:#e7f1ff}.model-picker-option label{cursor:pointer}.model-picker-option td{padding:9px}.model-picker-option strong,.model-picker-option small,.model-picker-option em{display:inline;font-size:12px}.cut-destination-line{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:10px 12px;background:#eaf3ff;border:1px solid #c4daf8;font-size:12px;margin-bottom:10px}.cut-destination-line .text-btn{margin-left:auto}.simple-connection-form{padding:22px 16px;max-width:620px}.simple-connection-form>label{font-size:13px;line-height:1.5}.simple-connection-form>select{margin:5px 0 12px}.inline-connection-input{display:flex;align-items:stretch;gap:8px;margin-top:12px}.inline-connection-input>input{min-width:0;flex:1}.simple-connection-form .field-hint{font-size:12px;line-height:1.7}.connection-message{font-size:13px;color:#416c9e;padding:20px}.inline-help{font-size:12px;line-height:1.6;color:#5c7d9f;margin:10px 12px}.cut-edit-table{min-width:1020px;table-layout:fixed}.cut-edit-table>thead>tr>th:first-child{width:180px}.cut-edit-table>thead>tr>th:nth-child(2){width:275px}.cut-edit-table>thead>tr>th:last-child{width:48px}.cut-edit-table>tbody>tr>td{vertical-align:top;padding:10px 9px}.cut-reference-cell input{min-height:32px;font-size:12px;margin-bottom:7px}.cut-reference-cell input[data-cut-reference]{font-weight:650;color:#0b5ab6}.cut-grade-inline{display:flex;flex-wrap:wrap;gap:4px;max-width:265px}.cut-grade-inline>label{width:38px;flex-shrink:0;background:#edf4ff;border:1px solid #bfd8f9;border-radius:0;text-align:center;font-size:11px;font-weight:600;line-height:1.8;color:#1c579c}.cut-grade-inline input{padding:6px 2px;width:100%;min-height:32px;height:32px;border:0;border-top:1px solid #bfd8f9;border-radius:0;font-size:14px;font-weight:600;text-align:center;background:#fff}.cut-edit-table small[data-grade-preview]{display:block;font-size:11px;color:#3e6c9f;margin-top:8px;white-space:normal}.cut-fabrics-table{width:100%;border-collapse:collapse;table-layout:fixed;white-space:normal}.cut-fabrics-table thead th{font-size:10px;padding:0 4px 5px;background:transparent;border:0;color:#6386ad}.cut-fabrics-table thead th:first-child{width:38%}.cut-fabrics-table thead th:nth-child(3){width:59px}.cut-fabrics-table thead th:last-child{width:32px}.cut-fabrics-table td{padding:3px 4px 4px;border:0;vertical-align:middle;background:transparent}.cut-fabrics-table input{font-size:12px;min-height:31px;height:31px;padding:5px 6px}.cut-fabrics-table .named-color{gap:4px}.cut-fabrics-table .named-color>input[type=color]{width:26px;min-width:26px;padding:2px}.cut-fabrics-table .named-color>input:not([type=color]){min-width:0;padding:5px}.cut-fabrics-table .icon-btn,.cut-edit-table>tbody>tr>td:last-child .icon-btn{width:27px;height:30px;font-size:12px}.cut-fabrics-table .icon-btn .icon,.cut-edit-table>tbody>tr>td:last-child .icon{width:14px;height:14px}.cut-fabrics-cell>.btn{font-size:10px;min-height:27px;padding:4px 7px;margin-top:6px}.cut-notes-editor{padding:12px;border:0}.cut-notes-editor textarea{min-height:65px;max-width:100%;font-size:12px}.flat-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:11px 12px;border-top:1px solid #ccdef5;background:#f6faff}.flat-detail{padding:12px}.flat-detail .client-order-progress{margin-bottom:16px}.cut-review-table td[rowspan]{vertical-align:top;min-width:100px}.cut-review-table .cut-color-swatch{width:13px;height:13px;vertical-align:middle;border-radius:2px}.searchbar{border:0;box-shadow:none;border-radius:0}.master-detail,.distribution-layout{gap:12px}.master-detail>.panel,.distribution-layout>.panel{border-top:1px solid #c9dcf7}.empty{border-radius:0;background:transparent}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}#main{padding-top:11px}.table-wrap{max-width:100%;min-width:0}.flat-detail .table-wrap{margin-top:15px}
@media(max-width:650px){.flat-heading{padding:9px;flex-wrap:wrap}.flat-heading h2{font-size:12px}.flat-heading .row-actions{gap:5px;flex-wrap:wrap}.flat-heading .btn{font-size:10px}.flat-summary-line{font-size:11px;gap:8px 15px}.cut-destination-line{gap:6px 12px;font-size:11px;padding:9px}.cut-destination-line>.text-btn{margin-left:0}.simple-connection-form{padding:18px 12px}.inline-connection-input{flex-wrap:wrap}.inline-connection-input>.btn{width:100%;min-height:35px}.model-selectionbar>.btn{width:auto;margin-left:0}.model-selectionbar{gap:8px}.model-picker-list .flat-grid{min-width:580px}#models-grid{min-width:970px}.cut-edit-table{min-width:980px}.flat-grid th,.flat-grid td{padding:8px}.cut-notes-editor{padding:10px}.inline-help{font-size:11px}.flat-actions{padding:10px}.flat-actions .btn{font-size:11px}.model-info-photo,.model-info>.photo{height:250px}.flat-detail{padding:9px}}
.cut-reference-cell>input{display:block;width:100%}.cut-grade-inline>label{display:flex;flex-direction:column;align-items:stretch;justify-content:center}.cut-grade-inline>label>input{display:block;flex:0 0 auto}

/* Dashboard e área de trabalho seguem as duas telas de referência do Corte. */
:root{--chrome-height:126px;--status-height:29px}.app-body{min-width:0}#main{min-height:calc(100dvh - var(--chrome-height) - var(--status-height));padding:8px 9px 45px}.workspace-tabs{display:flex;align-items:stretch;gap:0;height:31px;padding:3px 7px 0;background:linear-gradient(#edf5ff,#dceaff);border-top:1px solid #fff;border-bottom:1px solid #b6d1f8}.workspace-tab,.workspace-tab-close{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #0065d5;background:linear-gradient(#1988f7,#0565d1);color:#fff;font:600 12px "Segoe UI",Arial,sans-serif;padding:4px 12px;border-radius:4px 0 0 0;min-width:0}.workspace-tab .icon{width:15px;height:15px}.workspace-tab-close{border-left:1px solid #73b0f5;padding:2px 9px;font-size:18px;line-height:1;border-radius:0 4px 0 0}.workspace-tab-close:hover{background:#0053b8}.internal-mode #main{padding:6px 7px 42px}.internal-mode .page-heading{display:none}.internal-mode .page-toolbar{justify-content:flex-start;min-height:30px;margin-bottom:6px;gap:8px}.internal-mode .page-actions{gap:6px}.internal-mode .page-actions .btn{min-height:29px;font-size:11px}.internal-mode .flat-section{border-color:#b9d2f5}.internal-mode #workspace{min-width:0}.internal-mode .cut-destination-line{padding:7px 9px;margin-bottom:8px;gap:12px;border-color:#b5d0f7;background:#f2f7ff}.cut-destination-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-left:auto}.cut-destination-actions .text-btn{font-size:10px;margin:0}.cut-destination-actions .btn{min-height:28px;padding:4px 9px;font-size:11px}.requests-filters{display:flex;align-items:center;gap:12px;padding:8px 0 10px;background:#f7faff}.requests-filters>label{display:flex;align-items:center;gap:7px;margin:0;font-size:11px;white-space:nowrap;font-weight:400}.requests-filters>label>select{width:165px;min-height:29px;height:29px;padding:4px 26px 4px 7px;font-size:11px}.requests-filters>input{flex:1;min-width:0;min-height:29px;height:29px;font-size:11px;border-color:#b1cdf3;border-radius:3px}.requests-filters>.btn{min-height:29px;height:29px;font-size:10px;border-radius:3px;padding:5px 12px}.cut-list-grid{border:1px solid #accaf3;background:#fff;min-height:200px}.cut-list-grid .flat-grid{font-size:11px;white-space:nowrap}.cut-list-grid .flat-grid th{padding:7px 8px;color:#23558f;background:linear-gradient(#f0f7ff,#d8e9ff);border-bottom:1px solid #9abff2;font-size:11px;font-weight:500}.cut-list-grid .flat-grid td{padding:6px 8px;border-right:1px solid #d0e2fa;border-bottom:1px solid #c7dcf8}.cut-list-grid .flat-grid td:last-child{border-right:0}.cut-order-row{cursor:pointer}.order-number{border:0;background:transparent;color:#0063d5;text-decoration:underline;font-size:11px;font-weight:600;padding:0;cursor:pointer}.order-number:hover{color:#003e91}.cut-list-grid .badge{border-radius:3px;font-size:10px;padding:3px 7px}.pagination{font-size:11px;min-height:42px;border:1px solid #b7d1f5;background:linear-gradient(#f5f9ff,#e9f2ff);margin-top:5px;padding:7px 10px;gap:14px;flex-wrap:wrap}.pagination>select{min-height:28px;height:28px;width:120px;padding:3px 24px 3px 7px;border-radius:3px;font-size:11px}.pagination>div{margin-left:auto;display:flex;gap:5px;align-items:center}.pagination>div>button{min-height:28px;min-width:29px;height:auto;width:auto;font-size:10px;border-radius:3px;padding:4px 9px}.pagination>span{white-space:nowrap}.internal-mode #models-grid{font-size:11px}.internal-mode #models-grid th{font-size:11px;background:linear-gradient(#f0f7ff,#d9e9ff);color:#23558f;border:1px solid #bed6f8;padding:7px 8px}.internal-mode #models-grid td{font-size:11px;border-right:1px solid #e0eafb;padding:7px 8px}.internal-mode .model-selectionbar{padding:7px 10px}.internal-mode .searchbar{padding:9px 10px}.internal-mode .searchbar input,.internal-mode .searchbar select{min-height:30px;font-size:11px}.internal-mode .flat-heading{background:linear-gradient(#f7fbff,#eaf3ff)}/* Dashboard aprovado: banner de produção, resumo e três painéis. */
.dashboard-mode{--status-height:36px;color:#071d4e;background:#f5faff}.dashboard-mode #main{padding:14px 12px 50px;background:linear-gradient(#f4faff,#fff 58%,#f4f9ff)}.dashboard-mode .desktop-title{height:30px;font-size:14px;background:linear-gradient(110deg,#e8f5ff,#badaf7);color:#081d3d}.dashboard-mode .desktop-title>a{color:#071c3b;gap:9px}.dashboard-mode .desktop-title strong{font-family:"Segoe UI",Arial,sans-serif;font-size:14px}.dashboard-mode .desktop-title>a>img{width:23px;height:23px}.dashboard-mode .desktop-title>a>span{font-size:14px}.dashboard-mode .desktop-menubar{height:34px;background:linear-gradient(#fcfeff,#eef7ff);padding:0 12px;gap:12px}.dashboard-mode #top-nav{height:34px}.dashboard-mode #top-nav button{height:34px;font-size:14px;font-weight:600;color:#0a2451;border:0;border-radius:0;padding:0 12px;background:transparent}.dashboard-mode #top-nav button.active{color:#0056df;background:#dceeff;box-shadow:inset 0 -2px #0864ef}.dashboard-mode .desktop-account{gap:12px}.dashboard-mode .desktop-account>button{font-size:13px;color:#102d60}.dashboard-mode #module-ribbon{padding:14px 12px 12px;gap:8px;background:linear-gradient(#f6fbff,#f0f8ff)}.dashboard-mode .module-button{height:78px;gap:7px;border:1px solid #b5ddfa;border-radius:9px;background:linear-gradient(#e3f3ff,#cce8fa);box-shadow:inset 0 1px #fff,0 2px 3px #21598a12;color:#082856;font-size:14px;font-weight:650;white-space:normal;line-height:1.15;text-align:center;padding:7px 4px}.dashboard-mode .module-button .icon{width:34px;height:34px;color:#0052d8;stroke-width:1.8}.dashboard-mode .module-button:hover{background:linear-gradient(#d6efff,#b6dcfc);border-color:#79bafa}.dashboard-mode .module-button.active{color:#fff;background:linear-gradient(#0873ff,#0046d2);border-color:#0063ed;box-shadow:inset 0 1px #57a1ff}.dashboard-mode .module-button.active .icon{color:#fff}.dashboard-mode button:focus-visible{outline:3px solid #071d4e;outline-offset:2px}.home-dashboard{display:flex;flex-direction:column;gap:16px;min-width:0}.dashboard-hero-row{display:grid;grid-template-columns:minmax(0,2.9fr) minmax(270px,1fr);gap:12px;height:clamp(245px,37.8dvh,360px)}.home-dashboard .production-welcome{height:100%;min-height:0;border-radius:10px;border:1px solid #d1e6f9;box-shadow:0 2px 5px #174a7614;background:#dcedfb url('/painel/pd/assets/dashboard-sewing-v2.webp') center right/cover no-repeat}.home-dashboard .production-welcome:before{background:linear-gradient(90deg,#edf7ff20,#edf7ff00 55%)}.home-dashboard .production-wordmark{display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:7px;width:52%;height:100%;min-height:0;padding:24px 30px 30px;position:relative;z-index:1}.home-dashboard .production-wordmark>img{width:110px;height:78px;object-fit:contain;flex-shrink:0;margin-left:12px}.home-dashboard .production-wordmark>div{font-size:clamp(36px,3.65vw,63px);letter-spacing:-1.9px;font-weight:800;font-style:italic;line-height:.99;color:#061c4c;white-space:nowrap}.home-dashboard .production-wordmark strong{display:block;color:#004fe4;font-size:.94em;font-weight:800}.home-dashboard .production-wordmark p{white-space:normal;font-size:clamp(12px,1.25vw,21px);line-height:1.35;font-weight:400;letter-spacing:-.2px;font-style:italic;color:#0d2b5e;margin:12px 0 0}.dashboard-panel{min-width:0;background:linear-gradient(#fff,#f8fbff);border:1px solid #c3dbf5;border-radius:10px;box-shadow:0 2px 4px #1a4e7826;overflow:hidden}.dashboard-panel-title,.dashboard-panel-title.blue{display:flex;align-items:center;height:36px;min-height:36px;padding:7px 16px;margin:0;border:0;border-bottom:1px solid #0053d5;border-radius:9px 9px 6px 6px;background:linear-gradient(#087aff,#0050d8);box-shadow:inset 0 1px #4294ff;flex-shrink:0}.dashboard-panel-title h2,.dashboard-panel-title.blue h2{display:flex;align-items:center;gap:10px;margin:0;color:#fff;font-size:16px;font-weight:650;line-height:1.2}.dashboard-panel-title .icon,.dashboard-panel-title.blue .icon{width:24px;height:24px;color:#fff;stroke-width:1.8;flex-shrink:0}.dashboard-daily{display:flex;flex-direction:column;min-height:0;padding:0;background:linear-gradient(#fff,#f7faff)}.dashboard-metrics{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));flex:1;min-height:0;padding:0 14px 8px}.dashboard-metric{display:flex;align-items:center;gap:16px;text-align:left;border:0;border-bottom:1px solid #cfdef3;background:transparent;padding:6px 4px;color:#071d4e;min-width:0;min-height:0}.dashboard-metric:last-child{border-bottom:0}.dashboard-metric:hover{background:#eaf5ff}.metric-icon{display:flex;align-items:center;justify-content:center;flex:0 0 54px;align-self:stretch;max-height:51px;margin:auto 0;border-radius:9px;background:linear-gradient(#e2f4ff,#d3ecfd)}.metric-icon .icon{width:33px;height:33px;color:#0050da;stroke-width:1.7}.metric-content{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.15}.metric-content strong{color:#061b4a;font-size:29px;font-weight:750;letter-spacing:-.6px;line-height:1}.metric-content>span{font-size:15px;color:#0a204f}.dashboard-widget-row{display:grid;grid-template-columns:1.18fr .84fr 1fr;gap:12px;min-height:220px;height:clamp(220px,31.2dvh,300px)}.dashboard-weekly,.dashboard-access{display:flex;flex-direction:column;min-height:0}.dashboard-chart{display:flex;align-items:center;flex:1;min-height:0;padding:8px 12px 10px}.dashboard-chart>.production-chart{display:block;width:100%;height:100%;min-height:0;max-height:100%;overflow:visible}.dashboard-chart .production-chart text{font-size:12px;fill:#132b59;font-family:"Segoe UI",Arial,sans-serif}.dashboard-chart .production-chart .chart-value{font-size:13px;font-weight:700;fill:#081d4d}.dashboard-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:9px;padding:12px;flex:1;min-height:0}.dashboard-shortcuts>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:0;padding:7px 4px;border:1px solid transparent;border-radius:10px;background:linear-gradient(#e1f2ff,#cfeafa);color:#08234f;font-size:13px;font-weight:600;line-height:1.2;text-align:center;transition:background .15s,border-color .15s}.dashboard-shortcuts>button:hover{background:linear-gradient(#cfeaff,#b8ddfb);border-color:#82baf3}.dashboard-shortcuts .icon{width:33px;height:33px;color:#0051d8;stroke-width:1.8}.dashboard-notices{position:relative;isolation:isolate;display:flex;flex-direction:column;background:linear-gradient(#fff,#f8fbff);min-height:0}.dashboard-notice-list{padding:5px 13px 40px;position:relative;z-index:1;flex:1;min-height:0;overflow:auto;scrollbar-width:thin}.dashboard-notice{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:start;gap:9px;padding:9px 0;border-bottom:1px solid #d4e1f4;min-width:0}.dashboard-notice:last-child{border-bottom:0}.dashboard-notice p{color:#0d2851;font-size:12px;line-height:1.35;margin:0;overflow-wrap:anywhere}.dashboard-notice p strong{font-weight:700}.dashboard-notice time{font-size:10px;line-height:1.6;color:#3c5883;white-space:nowrap}.notice-dot{display:inline-block;height:11px;width:11px;flex-shrink:0;border-radius:50%;margin-top:3px;background:linear-gradient(#8ac5ff,#3989ff)}.notice-dot.green{background:linear-gradient(#81d151,#47ac1d)}.notice-dot.amber{background:linear-gradient(#ffcb7b,#ffac4b)}.dashboard-notice-wave{position:absolute;bottom:0;right:0;width:100%;height:72px;z-index:0;pointer-events:none}.dashboard-mode .statusbar{height:36px;padding:0 17px;gap:18px;font-size:12px;color:#19345e;background:linear-gradient(105deg,#f5fbff,#dcefff);border-top:1px solid #b8d7f7}.dashboard-mode .statusbar strong,.dashboard-mode .statusbar span{color:#19345e}.dashboard-mode #connection{color:#12385e}.dashboard-mode #connection:before{background:#5db72d}.dashboard-mode #connection.offline:before{background:#e9a020}.internal-mode .desktop-chrome{box-shadow:none}.cut-list-grid>table>thead>tr>th,#models-grid>thead>tr>th{position:sticky;top:0;z-index:2}

@media(min-width:900px) and (min-height:600px){.internal-mode[data-view=models] #workspace>.flat-section{height:calc(100dvh - var(--chrome-height) - var(--status-height) - 49px);display:flex;flex-direction:column;min-height:0;margin-bottom:0}.internal-mode[data-view=models] #catalogue{display:flex;flex-direction:column;flex:1;min-height:0;border:1px solid #b4cff5}.internal-mode[data-view=models] #catalogue>.table-wrap{flex:1;min-height:0;overflow:auto}.internal-mode[data-view=models] #catalogue-pagination{flex-shrink:0}.internal-mode[data-view=models] .searchbar,.internal-mode[data-view=models] .model-selectionbar{flex-shrink:0}.internal-mode[data-view=models] #main{padding-bottom:var(--status-height)}}
@media(min-width:1500px){.dashboard-mode .module-button{height:88px;font-size:16px}.dashboard-mode .module-button .icon{width:40px;height:40px}.dashboard-mode .desktop-title,.dashboard-mode .desktop-title strong,.dashboard-mode .desktop-title>a>span{font-size:16px}.dashboard-mode #main{padding:14px 15px 52px}.home-dashboard{gap:20px}.dashboard-hero-row{gap:13px}.home-dashboard .production-wordmark{padding:28px 52px 38px;gap:8px}.home-dashboard .production-wordmark>img{width:145px;height:94px;margin-left:20px}.dashboard-panel-title,.dashboard-panel-title.blue{height:42px;min-height:42px;padding:8px 22px}.dashboard-panel-title h2,.dashboard-panel-title.blue h2{font-size:19px}.dashboard-panel-title .icon,.dashboard-panel-title.blue .icon{width:27px;height:27px}.dashboard-metrics{padding:0 18px 16px}.metric-icon{flex-basis:66px;max-height:56px}.metric-icon .icon{width:38px;height:38px}.metric-content strong{font-size:32px}.metric-content>span{font-size:18px}.dashboard-widget-row{gap:15px}.dashboard-shortcuts{padding:14px;gap:10px}.dashboard-shortcuts>button{font-size:15px}.dashboard-shortcuts .icon{width:38px;height:38px}.dashboard-notice-list{padding:6px 20px 48px}.dashboard-notice{padding:11px 0;gap:11px}.dashboard-notice p{font-size:14px}.dashboard-notice time{font-size:12px}.notice-dot{width:13px;height:13px}.dashboard-mode .statusbar{height:38px;font-size:14px;gap:22px}.dashboard-mode{--status-height:38px}}
@media(max-width:1100px){.dashboard-mode .desktop-title>a>span{font-size:12px}.dashboard-mode #module-ribbon{padding:10px 9px;gap:6px}.dashboard-mode .module-button{height:70px;font-size:12px;gap:6px}.dashboard-mode .module-button .icon{width:29px;height:29px}.dashboard-mode #main{padding:10px 9px 48px}.home-dashboard{gap:12px}.dashboard-hero-row{grid-template-columns:minmax(0,2.5fr) minmax(245px,1fr);height:245px;gap:10px}.home-dashboard .production-wordmark{padding:20px 24px 26px;width:57%;gap:4px}.home-dashboard .production-wordmark>img{width:100px;height:70px;margin-left:9px}.home-dashboard .production-wordmark>div{font-size:39px;letter-spacing:-1.5px}.home-dashboard .production-wordmark p{font-size:13px;margin-top:9px}.dashboard-panel-title,.dashboard-panel-title.blue{height:34px;min-height:34px;padding:7px 11px}.dashboard-panel-title h2,.dashboard-panel-title.blue h2{font-size:13px;gap:7px}.dashboard-panel-title .icon{width:21px;height:21px}.dashboard-metrics{padding:0 10px 6px}.dashboard-metric{gap:11px;padding:5px 2px}.metric-icon{flex-basis:44px;max-height:41px;border-radius:7px}.metric-icon .icon{width:28px;height:28px}.metric-content strong{font-size:25px}.metric-content>span{font-size:13px}.dashboard-widget-row{grid-template-columns:1.15fr .9fr 1fr;height:220px;min-height:220px;gap:9px}.dashboard-shortcuts{padding:9px;gap:6px}.dashboard-shortcuts>button{font-size:11px;gap:7px}.dashboard-shortcuts .icon{width:28px;height:28px}.dashboard-chart{padding:7px}.dashboard-notice-list{padding:4px 10px 38px}.dashboard-notice{grid-template-columns:9px minmax(0,1fr);gap:7px;padding:7px 0}.dashboard-notice time{grid-column:2;font-size:10px;line-height:1;margin-top:-3px}.dashboard-notice p{font-size:11px}.notice-dot{height:9px;width:9px}.dashboard-notice-wave{height:54px}.dashboard-mode .statusbar{font-size:11px;gap:12px}.requests-filters{gap:8px}.cut-destination-line{gap:8px}.cut-destination-line>span{font-size:11px}}
@media(max-width:850px){.dashboard-mode .desktop-title>a>span{display:none}.dashboard-mode .desktop-menubar{padding:0 7px;gap:5px}.dashboard-mode #top-nav button{padding:0 9px;font-size:12px}.dashboard-mode .desktop-account{gap:6px}.dashboard-mode #module-ribbon{grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible;padding:8px 9px 10px;gap:7px}.dashboard-mode .module-button{height:67px;font-size:12px;gap:5px}.dashboard-mode .module-button .icon{height:28px;width:28px}.dashboard-hero-row{grid-template-columns:minmax(0,1fr) 240px;height:230px}.home-dashboard .production-wordmark{padding:18px 20px 24px;width:62%}.home-dashboard .production-wordmark>img{width:90px;height:63px}.home-dashboard .production-wordmark>div{font-size:35px;letter-spacing:-1.4px}.home-dashboard .production-wordmark p{font-size:12px}.dashboard-widget-row{grid-template-columns:1.15fr 1fr;height:auto;min-height:0;gap:10px}.dashboard-weekly,.dashboard-access{height:235px;min-height:0}.dashboard-notices{grid-column:1/-1;min-height:170px}.dashboard-notice-list{padding:6px 14px 35px}.dashboard-notice{grid-template-columns:11px minmax(0,1fr) auto;padding:8px 0;gap:10px}.dashboard-notice p{font-size:12px}.dashboard-notice time{grid-column:auto;line-height:1.5;margin:0;font-size:11px}.dashboard-notice-wave{width:55%;height:60px}.cut-destination-actions{margin-left:0}.requests-filters{flex-wrap:wrap;padding-top:7px}.requests-filters>input{flex-basis:50%}.pagination{gap:8px;padding:7px}.pagination>span:last-child{display:none}}
@media(max-width:700px){.home-dashboard .production-welcome{background-position:left center}.home-dashboard .production-welcome:before{background:linear-gradient(90deg,#edf7fff5,#edf7ffa8 45%,#edf7ff00 78%)}.dashboard-mode #main{padding:9px 7px 45px}.dashboard-mode .desktop-title strong{font-size:12px}.dashboard-mode .desktop-title>a>img{width:20px;height:20px}.dashboard-mode .desktop-account>button:not(.avatar){display:none}.dashboard-hero-row{grid-template-columns:1fr;height:auto;gap:10px}.home-dashboard .production-welcome{height:225px;min-height:225px}.home-dashboard .production-wordmark{width:58%;padding:18px 28px 24px}.home-dashboard .production-wordmark>div{font-size:clamp(36px,7.1vw,46px)}.home-dashboard .production-wordmark>img{width:95px;height:67px}.home-dashboard .production-wordmark p{font-size:13px}.dashboard-daily{height:194px;min-height:194px}.dashboard-metrics{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:0 12px;padding:2px 12px 7px}.dashboard-metric{gap:11px;padding:8px 0}.dashboard-metric:nth-last-child(-n+2){border-bottom:0}.metric-icon{flex-basis:46px;max-height:48px}.metric-content strong{font-size:27px}.metric-content>span{font-size:13px}.workspace-tabs{height:30px;padding-left:6px}.workspace-tab{font-size:11px;padding:4px 10px}.workspace-tab-close{font-size:17px}.internal-mode #main{padding:6px 6px 43px}.internal-mode .page-toolbar{margin-bottom:5px}.cut-destination-actions{gap:5px}.cut-destination-actions .text-btn{font-size:10px}.requests-filters{gap:7px;padding:8px 0}.requests-filters>label{width:100%;font-size:11px}.requests-filters>label>select{flex:1;width:auto;min-height:32px;height:32px}.requests-filters>input{min-height:32px;height:32px;flex-basis:60%;font-size:11px}.requests-filters>.btn{min-height:32px;height:32px}.cut-list-grid{min-height:280px}.cut-list-grid>table{min-width:780px}.pagination>select{width:110px;font-size:10px}.pagination>span{font-size:10px}.pagination>div>button{font-size:10px;padding:4px 6px}.internal-mode #models-grid td{padding:7px}.internal-mode .page-actions .btn{min-height:30px}.cut-destination-actions .btn{font-size:10px;min-height:29px}}
@media(max-width:520px){.dashboard-mode #module-ribbon{padding:8px 7px;gap:6px}.dashboard-mode .module-button{height:65px;font-size:11px}.dashboard-mode .module-button .icon{height:27px;width:27px}.dashboard-mode #top-nav button{font-size:11px;padding:0 7px}.dashboard-mode .desktop-menubar{padding:0 5px}.dashboard-widget-row{grid-template-columns:1fr}.dashboard-weekly,.dashboard-access{height:245px}.dashboard-shortcuts>button{font-size:13px}.dashboard-shortcuts .icon{height:33px;width:33px}.dashboard-panel-title h2,.dashboard-panel-title.blue h2{font-size:15px}.dashboard-panel-title,.dashboard-panel-title.blue{height:37px;min-height:37px;padding:8px 13px}.dashboard-notices{grid-column:auto;min-height:190px}.dashboard-notice-list{padding:7px 12px 48px}.dashboard-notice{gap:8px}.dashboard-notice time{font-size:10px}.dashboard-notice p{font-size:12px}.dashboard-notice-wave{width:100%;height:60px}.home-dashboard .production-welcome{height:210px;min-height:210px;background-position:left center}.home-dashboard .production-wordmark{width:64%;padding:15px 18px 23px}.home-dashboard .production-wordmark>img{width:88px;height:63px;margin-left:7px}.home-dashboard .production-wordmark>div{font-size:clamp(31px,8.3vw,39px);letter-spacing:-1.3px}.home-dashboard .production-wordmark p{font-size:12px;max-width:235px}.dashboard-daily{height:190px;min-height:190px}.dashboard-metrics{padding:1px 9px 7px;gap:0 10px}.dashboard-metric{gap:8px}.metric-icon{flex-basis:38px;max-height:42px}.metric-icon .icon{width:25px;height:25px}.metric-content strong{font-size:25px}.metric-content>span{font-size:11px;line-height:1.2}.dashboard-mode .statusbar{height:31px;font-size:10px;padding:0 8px;gap:8px}.dashboard-mode{--status-height:31px}.pagination{gap:7px}.pagination>div{flex-basis:100%;margin:0;justify-content:flex-end}.cut-destination-line>span{font-size:10px}.cut-destination-actions{flex-wrap:wrap}.internal-mode .cut-destination-line{gap:6px;padding:8px}.workspace-tab{max-width:calc(100vw - 55px)}.workspace-tab-close{flex-shrink:0}}
@media(min-width:851px) and (max-height:650px){.dashboard-mode #module-ribbon{padding:7px 9px;gap:6px}.dashboard-mode .module-button{height:63px;font-size:12px;gap:4px}.dashboard-mode .module-button .icon{width:27px;height:27px}.dashboard-mode #main{padding-top:8px}.home-dashboard{gap:10px}.dashboard-hero-row{height:210px}.home-dashboard .production-wordmark{padding:15px 25px 22px;gap:4px}.home-dashboard .production-wordmark>img{width:90px;height:60px}.home-dashboard .production-wordmark>div{font-size:41px}.home-dashboard .production-wordmark p{font-size:12px;margin-top:9px}.dashboard-widget-row{height:200px;min-height:200px}.dashboard-panel-title,.dashboard-panel-title.blue{height:32px;min-height:32px}.dashboard-panel-title h2,.dashboard-panel-title.blue h2{font-size:13px}.dashboard-panel-title .icon{height:21px;width:21px}.metric-content strong{font-size:24px}.metric-content>span{font-size:12px}.metric-icon{flex-basis:40px;max-height:36px}.metric-icon .icon{width:25px;height:25px}.dashboard-metrics{padding:0 10px 4px}.dashboard-metric{gap:10px;padding:4px 1px}.dashboard-shortcuts{padding:8px;gap:6px}.dashboard-shortcuts>button{font-size:11px;gap:5px}.dashboard-shortcuts .icon{width:26px;height:26px}.dashboard-notice-list{padding-top:3px}.dashboard-notice p{font-size:11px}.dashboard-notice time{font-size:10px}.dashboard-notice{padding:6px 0}}
@media print{.workspace-tabs{display:none!important}}
