:root{color-scheme:light;--background: #f6fbff;--surface: rgba(255, 255, 255, .82);--surface-strong: #ffffff;--surface-soft: rgba(248, 250, 252, .86);--ink: #172033;--muted: #667085;--line: rgba(31, 42, 68, .12);--line-strong: rgba(31, 42, 68, .2);--brand: #2f80ed;--brand-2: #0f766e;--brand-3: #56ccf2;--danger: #b42318;--shadow: 0 24px 70px rgba(25, 33, 61, .12);--radius: 8px}*{box-sizing:border-box}html{background:var(--background)}body{margin:0;min-width:320px;color:var(--ink);background:radial-gradient(circle at top left,rgba(47,128,237,.1),transparent 34rem),radial-gradient(circle at 80% 10%,rgba(86,204,242,.12),transparent 28rem),linear-gradient(180deg,#fff,#f7fbff 48%,#eef7ff);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;line-height:1.45}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{position:relative;isolation:isolate;min-height:100vh;padding:28px;overflow:hidden}.app-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:1560px;margin:0 auto 18px}.brand-lockup,.hero-actions,.section-heading,.shimmer-button,.status-chip,.brand-mark{display:flex;align-items:center}.brand-lockup{gap:14px}.brand-mark{justify-content:center;width:42px;height:42px;color:#fff;border-radius:var(--radius);background:linear-gradient(135deg,var(--brand),var(--brand-2));box-shadow:0 14px 34px #6d28d938}.brand-mark--logo{overflow:hidden;background:#fff;border:1px solid var(--line);box-shadow:0 12px 30px #1f2a441f}.brand-mark--logo img{display:block;width:100%;height:100%;object-fit:contain;padding:5px}.eyebrow{display:block;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:0;text-transform:uppercase}.app-hero h1,.section-heading h2{margin:0;letter-spacing:0}.app-hero h1{font-size:28px;line-height:1.1}.hero-actions{gap:10px;flex-wrap:wrap;justify-content:flex-end}.hero-generation-actions{display:inline-grid;grid-template-columns:repeat(2,max-content);gap:10px}.status-chip{min-height:34px;border:1px solid var(--line);border-radius:var(--radius);background:#ffffffc2;color:var(--muted);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-weight:700}.status-chip{gap:7px;padding:0 10px}.quote-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;max-width:1560px;margin:0 auto}.quote-main{display:grid;gap:14px}.magic-card{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(180deg,#ffffffeb,#ffffffc2),var(--surface);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.magic-card:before{position:absolute;top:0;right:0;bottom:0;left:0;content:"";background:linear-gradient(135deg,rgba(255,255,255,.88),transparent 24%),radial-gradient(circle at top right,rgba(47,128,237,.08),transparent 32%);pointer-events:none}.magic-card>*:not(.border-beam){position:relative;z-index:1}.border-beam{position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;z-index:0;border-radius:inherit;pointer-events:none}.border-beam:before{position:absolute;top:0;right:0;bottom:0;left:0;padding:1px;content:"";border-radius:inherit;background:conic-gradient(from var(--beam-angle),transparent,rgba(47,128,237,.85),rgba(86,204,242,.75),transparent 32%);mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:beamRotate 4.5s linear infinite}@property --beam-angle{syntax: "<angle>"; inherits: false; initial-value: 0deg;}@keyframes beamRotate{to{--beam-angle: 360deg}}.context-card,.items-card{padding:16px}.login-shell{display:grid;min-height:100vh;place-items:center;padding:24px}.login-card{width:min(460px,100%);padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(180deg,#fffffff0,#ffffffc7),var(--surface);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.login-brand{align-items:flex-start;margin-bottom:22px}.login-brand h1{margin:0;font-size:24px;line-height:1.12}.login-form{display:grid;gap:13px}.login-form .shimmer-button{width:100%;margin-top:4px}.login-error{margin:0;padding:10px 12px;border:1px solid rgba(180,35,24,.2);border-radius:6px;color:var(--danger);background:#fef3f2d1;font-weight:800}.context-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.context-summary>div{display:grid;gap:4px;min-height:66px;padding:12px;border:1px solid var(--line);border-radius:var(--radius);background:#ffffffad}.context-summary span{color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase}.context-summary strong{font-size:24px;line-height:1.1;font-variant-numeric:tabular-nums}.section-heading{justify-content:space-between;gap:12px;margin-bottom:14px}.section-heading h2{font-size:18px}.context-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.floating-field{display:grid;gap:7px}.floating-field>span{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase}textarea,input{width:100%;border:1px solid var(--line);border-radius:6px;color:var(--ink);background:#ffffffb8;outline:none;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}textarea:focus,input:focus{border-color:#2f80ed61;box-shadow:0 0 0 3px #2f80ed1a;background:#fff}textarea{min-height:104px;padding:10px;resize:vertical}input{min-height:34px;padding:0 9px}.items-card{padding-bottom:0}.items-heading{margin-bottom:12px}.items-heading-actions{display:inline-flex;align-items:center;gap:8px}.image-toggle-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:0 12px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:#ffffffd1;font-weight:800;cursor:pointer;box-shadow:0 8px 22px #1f2a440f}.image-toggle-button:hover,.image-toggle-button:focus-visible{border-color:#2f80ed4d;background:#eff8fff0;outline:none}.image-toggle-button--active{border-color:#0f766e57;background:#f0fdfaf5}.image-toggle-switch{position:relative;width:30px;height:18px;border:1px solid var(--line-strong);border-radius:999px;background:#d9e0e8;transition:background .16s ease,border-color .16s ease}.image-toggle-switch:after{position:absolute;top:2px;left:2px;width:12px;height:12px;content:"";border-radius:50%;background:#fff;box-shadow:0 2px 8px #1f2a4433;transition:transform .16s ease}.image-toggle-button--active .image-toggle-switch{border-color:#0f766e80;background:var(--brand-2)}.image-toggle-button--active .image-toggle-switch:after{transform:translate(12px)}.items-table-shell{margin:0 -16px;overflow:auto;border-top:1px solid var(--line)}.items-table{width:100%;min-width:1120px;table-layout:fixed;border-collapse:separate;border-spacing:0}.col-drag{width:34px}.col-use{width:58px}.col-product{width:auto}.col-qty{width:82px}.col-unit{width:70px}.col-list-price,.col-charged-price{width:124px}.col-subtotal{width:132px}.col-actions{width:42px}.items-table th,.items-table td{border-bottom:1px solid var(--line);padding:8px 7px;text-align:left;vertical-align:middle}.insert-row td{height:0;padding:0;border-bottom:0}.insert-row-zone{position:relative;display:flex;align-items:center;justify-content:flex-start;height:12px;margin:-6px 0;padding-left:38px;z-index:3}.insert-row-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:62px;height:24px;padding:0 8px;border:1px solid rgba(47,128,237,.28);border-radius:999px;color:var(--brand);background:#fffffff0;box-shadow:0 8px 18px #1f2a4424;font-size:11px;font-weight:900;opacity:0;transform:scale(.92);transition:opacity .14s ease,transform .14s ease,border-color .14s ease,background .14s ease}.insert-row-zone:hover .insert-row-button,.insert-row-button:focus-visible{opacity:1;transform:scale(1)}.insert-row-button:hover,.insert-row-button:focus-visible{border-color:#2f80ed85;background:#fff;outline:none}.items-table-shell--dragging .insert-row{pointer-events:none}.items-table-shell--dragging .insert-row-button{opacity:0}.items-table th{position:sticky;top:0;z-index:2;color:var(--muted);background:#f8fafcf0;font-size:11px;font-weight:800;text-transform:uppercase;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.items-table th.number,.items-table td.number,.items-table th:nth-child(5),.items-table td:nth-child(5){text-align:center}.items-table th:nth-child(8),.items-table td:nth-child(8){text-align:right}.items-table td:nth-child(4),.items-table td:nth-child(5){text-align:center}.item-row{transition:background .16s ease,box-shadow .16s ease,opacity .16s ease}.item-row--selected{background:#f0fdfaa6}.item-row--idle{color:#7a8494;background:#f8fafcb8}.item-row--invalid-price{box-shadow:inset 3px 0 0 var(--danger)}.item-row--dragging{opacity:.58;box-shadow:inset 3px 0 #2f80edd1;cursor:grabbing}.item-row--drag-target{box-shadow:inset 0 3px #2f80edbf}.item-row--dragging td{cursor:grabbing}.drag-col,.flag-col{text-align:center}.drag-button,.icon-action{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid transparent;border-radius:6px;color:var(--muted);background:transparent}.drag-button{cursor:grab}.drag-button:active{cursor:grabbing}.drag-button:hover,.icon-action:hover{border-color:var(--line);background:#ffffffd1}.drag-row-overlay{position:fixed;z-index:80;display:grid;grid-template-columns:34px 58px minmax(0,1fr) 82px 70px 124px 124px 132px 42px;min-width:1120px;min-height:49px;overflow:hidden;border:1px solid rgba(47,128,237,.32);border-radius:7px;background:#fffffff0;box-shadow:0 22px 48px #1f2a4438;pointer-events:none}.drag-row-overlay--selected{background:#f0fdfaf5}.drag-row-cell{display:flex;align-items:center;min-width:0;padding:8px 7px;border-right:1px solid rgba(31,42,68,.08);color:var(--ink);font-weight:700}.drag-row-cell--center{justify-content:center}.drag-row-cell--right{justify-content:flex-end;font-variant-numeric:tabular-nums}.drag-row-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.drag-overlay-switch{position:relative;width:34px;height:20px;border:1px solid var(--line-strong);border-radius:999px;background:#d9e0e8}.drag-overlay-switch:after{position:absolute;top:2px;left:2px;width:14px;height:14px;content:"";border-radius:50%;background:#fff;box-shadow:0 2px 8px #1f2a4433}.drag-overlay-switch--checked{border-color:#0f766e80;background:var(--brand-2)}.drag-overlay-switch--checked:after{transform:translate(14px)}.icon-action--danger:hover{color:var(--danger);border-color:#b423182e;background:#fef3f2e0}.switch{display:inline-flex;align-items:center;justify-content:center}.switch input{position:absolute;width:1px;height:1px;opacity:0}.switch span{position:relative;width:34px;height:20px;border:1px solid var(--line-strong);border-radius:999px;background:#d9e0e8;transition:background .16s ease,border-color .16s ease}.switch span:after{position:absolute;top:2px;left:2px;width:14px;height:14px;content:"";border-radius:50%;background:#fff;box-shadow:0 2px 8px #1f2a4433;transition:transform .16s ease}.switch input:checked+span{border-color:#0f766e80;background:var(--brand-2)}.switch input:checked+span:after{transform:translate(14px)}.table-input{min-height:32px;background:#ffffffd1}.table-input--label{width:100%;min-width:0}.product-search-cell{display:grid;gap:6px;min-width:0}.product-title-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0}.product-title-row--with-image{grid-template-columns:58px minmax(0,1fr) auto}.product-thumb{display:inline-flex;align-items:center;justify-content:center;width:58px;height:58px;overflow:hidden;border:1px solid var(--line);border-radius:6px;color:var(--muted);background:#fff}.product-thumb img{display:block;width:100%;height:100%;object-fit:cover}.product-thumb--empty{background:#f8fafcd1}.stock-alert{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 8px;border:1px solid rgba(180,35,24,.24);border-radius:999px;background:#fef3f2fa;color:var(--danger);font-size:10px;font-weight:900;line-height:1;text-transform:uppercase;white-space:nowrap}.product-suggestions{display:grid;gap:6px;padding:6px;border:1px solid rgba(31,42,68,.14);border-radius:7px;background:#fffffff5;box-shadow:0 14px 34px #1f2a441f}.product-suggestion{display:grid;gap:3px;width:100%;min-height:48px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;color:var(--ink);background:#ffffffeb;text-align:left}.product-suggestion:hover,.product-suggestion:focus-visible{border-color:#2f80ed52;background:#eff8fff2;outline:none}.product-suggestion strong,.product-suggestion span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.product-suggestion strong{font-size:13px;font-weight:850}.product-suggestion span{color:var(--muted);font-size:12px;font-weight:650}.product-suggestion--muted{align-content:center;min-height:38px;color:var(--muted);cursor:default}.product-suggestion--error{align-content:center;min-height:38px;border-color:#b423183d;color:var(--danger);background:#fef3f2f5;cursor:default}.table-input--qty,.table-input--unit{width:58px;text-align:center}.table-input--money{width:92px;text-align:right}.table-price-reference{display:inline-flex;align-items:center;justify-content:flex-end;width:100px;min-height:32px;padding:6px 9px;border:1px solid var(--line);border-radius:6px;color:var(--muted);background:#eef2f7b8;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap}.table-price-reference--empty{justify-content:center}.table-input--invalid{border-color:#b423189e;background:#fef3f2f5;box-shadow:0 0 0 3px #b423181a}.row-total{padding-right:10px;font-weight:800;font-variant-numeric:tabular-nums}.row-actions{text-align:center}.items-totals-panel{display:grid;gap:8px;width:40%;min-width:420px;margin:0 0 0 auto;padding:12px;border:1px solid var(--line);border-radius:var(--radius);background:#ffffffe6}.subtotal-strip,.final-total-strip{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:38px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:#ffffffc2}.subtotal-strip span,.final-total-strip span{color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase}.subtotal-strip strong,.final-total-strip strong{font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap}.profit-grid{display:grid;grid-template-columns:1fr;gap:7px;align-items:center}.profit-option{display:inline-flex;align-items:center;gap:8px;min-height:26px;color:var(--muted);font-size:13px;font-weight:800}.profit-option input{width:16px;min-height:16px;accent-color:var(--brand-2)}.profit-option--active{color:var(--ink)}.profit-option--static{padding-left:24px}.profit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.profit-fields label{display:grid;gap:5px}.profit-fields span{color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase}.profit-fields input{min-height:30px;text-align:right;font-variant-numeric:tabular-nums}.profit-fields input[readonly]{color:var(--muted);background:#eef2f7b8}.shimmer-button{position:relative;justify-content:center;gap:8px;min-height:36px;overflow:hidden;border:1px solid transparent;border-radius:6px;padding:0 13px;color:#fff;background:linear-gradient(135deg,var(--brand),var(--brand-3));font-weight:800;white-space:nowrap}.shimmer-button__shine{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-110%) skew(-18deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.32),transparent);animation:shimmer 2.6s ease-in-out infinite}.shimmer-button__content{position:relative;display:inline-flex;align-items:center;gap:8px}.shimmer-button--secondary{color:var(--ink);border-color:var(--line);background:#ffffffd1}.shimmer-button--ghost{color:var(--ink);background:transparent}.shimmer-button--danger{color:#fff;background:var(--danger)}.shimmer-button--checklist{color:#fff;border-color:transparent;background:linear-gradient(135deg,#0f766e,#22a06b)}.shimmer-button:disabled{cursor:wait;opacity:.62}@keyframes shimmer{0%{transform:translate(-110%) skew(-18deg)}42%,to{transform:translate(130%) skew(-18deg)}}.modal-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:24px}.modal-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 34% 24%,rgba(86,204,242,.18),transparent 34rem),radial-gradient(circle at 70% 72%,rgba(47,128,237,.16),transparent 28rem),#eef7ff8a;-webkit-backdrop-filter:blur(18px) saturate(1.35);backdrop-filter:blur(18px) saturate(1.35)}.modal-backdrop:after{position:absolute;top:0;right:0;bottom:0;left:0;content:"";background:linear-gradient(135deg,#ffffff42,#ffffff0d)}.liquid-modal{position:relative;z-index:1;width:min(560px,100%);padding:22px;border:1px solid rgba(255,255,255,.62);border-radius:var(--radius);background:linear-gradient(180deg,#ffffffeb,#ffffffb8),#ffffffc7;box-shadow:0 30px 90px #1f2a443d;-webkit-backdrop-filter:blur(26px) saturate(1.3);backdrop-filter:blur(26px) saturate(1.3)}.liquid-modal--wide{width:min(760px,100%)}.liquid-modal:before{position:absolute;top:0;right:0;bottom:0;left:0;content:"";border-radius:inherit;background:radial-gradient(circle at 16% 0%,rgba(86,204,242,.18),transparent 16rem),radial-gradient(circle at 100% 100%,rgba(47,128,237,.14),transparent 14rem);pointer-events:none}.liquid-modal>*{position:relative}.liquid-modal h2{margin:4px 0 8px;font-size:24px;letter-spacing:0}.liquid-modal p{margin:0;color:var(--muted);font-size:15px}.critical-eyebrow{display:inline-flex;align-items:center;gap:7px;min-height:28px;padding:4px 9px;border:1px solid rgba(180,35,24,.22);border-radius:999px;color:var(--danger);background:#fef3f2e6;font-size:11px;font-weight:900;text-transform:uppercase}.price-review-modal{border-color:#b423183d}.unavailable-product-alert{display:grid;gap:8px;margin-top:16px;padding:14px;border:1px solid rgba(180,35,24,.28);border-radius:7px;color:#7a271a;background:#fef3f2eb}.unavailable-product-alert>strong{font-size:14px}.unavailable-product-alert p{color:#912018;font-size:13px}.unavailable-product-list{display:grid;gap:6px;max-height:220px;overflow-y:auto}.unavailable-product-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:34px;padding:6px 8px;border:1px solid rgba(180,35,24,.16);border-radius:6px;background:#ffffffb8}.unavailable-product-row span{min-width:0;overflow:hidden;color:var(--ink);font-weight:750;white-space:nowrap;text-overflow:ellipsis}.unavailable-product-row strong{flex:0 0 auto;color:var(--danger);font-size:11px;text-transform:uppercase}.price-review-copy{margin-top:16px!important}.price-review-master{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.price-review-list{display:grid;gap:7px;margin-top:16px}.price-review-row{display:grid;grid-template-columns:minmax(0,1.8fr) 110px 110px 76px 112px;gap:10px;align-items:center;min-height:48px;padding:9px 10px;border:1px solid var(--line);border-radius:7px;background:#ffffffc2}.price-review-row--head{min-height:34px;color:var(--muted);background:#f8fafcdb;font-size:11px;font-weight:900;text-transform:uppercase}.price-review-row strong{min-width:0;overflow:hidden;font-weight:850;white-space:nowrap;text-overflow:ellipsis}.price-review-row>span:not(:first-child){text-align:right;font-weight:800;font-variant-numeric:tabular-nums}.price-review-current{color:var(--danger)}.choice-dot{display:inline-flex;justify-content:center}.choice-dot input{position:absolute;width:1px;height:1px;opacity:0}.choice-dot span{width:22px;height:22px;border:2px solid var(--line-strong);border-radius:50%;background:#fff}.choice-dot input:checked+span{border-color:var(--brand-2);box-shadow:inset 0 0 0 5px #fff;background:var(--brand-2)}.choice-dot--danger input:checked+span{border-color:var(--danger);background:var(--danger)}.checklist-review-modal{display:flex;max-height:min(820px,calc(100vh - 48px));flex-direction:column}.checklist-review-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding-bottom:10px;border-bottom:1px solid var(--line)}.checklist-review-toolbar>span{color:var(--muted);font-size:12px;font-weight:800}.checklist-review-toolbar>div{display:flex;gap:6px}.checklist-review-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:0 10px;border:1px solid var(--line);border-radius:6px;color:var(--ink);background:#ffffffd1;font-size:12px;font-weight:800}.checklist-review-toolbar button:hover,.checklist-review-toolbar button:focus-visible{border-color:#0f766e61;outline:none;background:#fff}.checklist-review-search{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:42px;margin-top:10px;padding:0 10px;border:1px solid var(--line);border-radius:7px;color:var(--muted);background:#ffffffdb}.checklist-review-search input{min-width:0;min-height:40px;padding:0;border:0;outline:none;background:transparent;font-size:14px}.checklist-review-search span{font-size:11px;font-weight:800;white-space:nowrap}.checklist-review-list{display:grid;gap:6px;min-height:0;margin-top:10px;overflow-y:auto;overscroll-behavior:contain}.checklist-review-row{display:grid;grid-template-columns:24px 22px minmax(0,1fr) 70px auto;gap:10px;align-items:center;min-height:48px;padding:8px 10px;border:1px solid var(--line);border-radius:7px;background:#ffffffc2;transition:border-color .14s ease,box-shadow .14s ease,opacity .14s ease}.checklist-review-row:has(input:checked){border-color:#0f766e3d;background:#f0fdfad6}.checklist-review-row--locked{cursor:default}.checklist-review-row--custom{min-height:66px}.checklist-review-row>input[type=checkbox]{width:18px;height:18px;accent-color:#0f766e}.checklist-review-row>input[type=checkbox]:disabled{opacity:1}.checklist-review-row--dragging{opacity:.42}.checklist-review-row--drop-target{border-color:#0f766eb8;box-shadow:inset 0 3px #0f766e}.checklist-review-drag,.checklist-review-row-actions button{display:inline-flex;align-items:center;justify-content:center;width:28px;min-height:28px;padding:0;border:0;border-radius:5px;color:var(--muted);background:transparent}.checklist-review-drag{cursor:grab;touch-action:none}.checklist-review-drag:active{cursor:grabbing}.checklist-review-drag:hover,.checklist-review-drag:focus-visible,.checklist-review-row-actions button:hover,.checklist-review-row-actions button:focus-visible{color:var(--ink);outline:none;background:#e2e8f0c2}.checklist-review-section-label{position:sticky;top:0;z-index:1;padding:8px 4px 5px;color:var(--ink);background:#fffffff5;font-size:11px;font-weight:900;text-transform:uppercase}.checklist-review-section-label--additional{margin-top:6px;border-top:1px solid var(--line);color:#0f766e}.checklist-review-empty{padding:18px 10px;color:var(--muted);font-size:13px;text-align:center}.checklist-review-row>span{display:grid;min-width:0;gap:2px}.checklist-review-row strong,.checklist-review-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.checklist-review-row strong{font-size:14px}.checklist-review-row small{color:var(--muted);font-size:11px;font-weight:700}.checklist-review-row b{color:var(--muted);font-size:13px;text-align:right;font-variant-numeric:tabular-nums}.checklist-review-title-input,.checklist-review-quantity-input{min-width:0;min-height:32px;border:1px solid var(--line);border-radius:6px;color:var(--ink);background:#fffffff0;font:inherit}.checklist-review-title-input{width:100%;padding:0 9px;font-size:14px;font-weight:800}.checklist-review-quantity-input{width:70px;padding:0 6px;text-align:right;font-size:13px;font-weight:800;font-variant-numeric:tabular-nums}.checklist-review-title-input:focus,.checklist-review-quantity-input:focus{border-color:#0f766e94;outline:3px solid rgba(15,118,110,.1)}.checklist-review-row-actions{display:flex;align-items:center;gap:2px}.checklist-review-row-actions .checklist-review-mobile-move{display:none}.checklist-review-row-actions .checklist-review-delete{color:var(--danger)}.modal-field{display:grid;gap:7px;margin-top:18px}.modal-field span{color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase}.modal-field input{min-height:44px;background:#ffffffd1;font-weight:700}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;flex-wrap:wrap}.quote-list-table{display:grid;gap:8px;margin-top:18px}.quote-list-row{display:grid;grid-template-columns:34px 210px minmax(0,1fr);gap:12px;align-items:center;width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--radius);background:#ffffffb8;color:var(--ink);text-align:left}.quote-list-row--item{padding:6px 8px}.quote-list-row--head{min-height:34px;background:#f8fafcc7;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase}.quote-list-row--item:hover{border-color:#2f80ed47;background:#fff}.quote-open-button{display:grid;grid-column:2 / -1;grid-template-columns:210px minmax(0,1fr);gap:12px;align-items:center;min-width:0;min-height:34px;padding:0;border:0;color:inherit;background:transparent;text-align:left}.quote-delete-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid rgba(180,35,24,.16);border-radius:6px;color:var(--danger);background:#fef3f2b3}.quote-delete-button:hover,.quote-delete-button:focus-visible{border-color:#b4231857;background:#fee2e2f2;outline:none}.quote-list-row strong,.quote-list-row span,.quote-open-button strong,.quote-open-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quote-list-row span,.quote-open-button span{color:var(--muted)}.quote-list-empty{padding:18px 12px;border:1px dashed var(--line-strong);border-radius:var(--radius);color:var(--muted);text-align:center}.print-document{display:none}.print-sheet{color:#17212b;background:#fff;font-size:12px}.print-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;padding-bottom:14px;border-bottom:2px solid var(--brand-2)}.print-header h1{margin:0 0 4px;font-size:18px}.print-company-text{color:#17212b;font-size:18px;font-weight:700;line-height:1.35;white-space:pre-line}.print-header p{margin:2px 0}.print-meta{text-align:right}.print-section{margin-top:18px}.print-section h2{margin:0 0 8px;font-size:13px;text-transform:uppercase}.print-box{padding:10px;border:1px solid #d8dee6;background:#f7fafc;white-space:pre-line}.print-section table,.print-summary table{width:100%;border-collapse:collapse}.print-section th,.print-section td{padding:7px 6px;border-bottom:1px solid #d8dee6;text-align:left}.print-section .number,.print-summary .number{text-align:right}.print-summary{display:grid;justify-content:end;margin-top:14px}.print-summary table{width:300px}.print-summary td{padding:6px 0}.print-summary .total td{border-top:2px solid var(--brand-2);font-size:16px;font-weight:700}.print-footer{margin-top:36px;padding-top:10px;border-top:1px solid #d8dee6;color:#657181;font-size:11px}.print-checklist-quantity{width:82px}.print-checklist-ok{width:58px;text-align:center!important}.print-checklist-ok span{display:inline-block;width:18px;height:18px;border:1.5px solid #17212b;vertical-align:middle}@media(max-width:1180px){.context-grid{grid-template-columns:1fr}.items-totals-panel{width:100%;min-width:0}}@media(max-width:760px){body{overflow-x:hidden}.app-shell{padding:12px;overflow:visible}.app-hero,.hero-actions{align-items:stretch;flex-direction:column}.hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.hero-generation-actions{grid-column:1 / -1;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hero-actions .shimmer-button{width:100%;min-height:42px;padding:0 8px;font-size:13px}.hero-actions .shimmer-button__content{gap:6px;min-width:0}.app-hero h1{font-size:23px}.brand-lockup{align-items:flex-start}.brand-mark{flex:0 0 42px}.context-card,.items-card{padding:12px}.context-summary{gap:8px}.context-summary>div{min-height:58px;padding:10px}.context-summary strong{font-size:20px}.context-grid{grid-template-columns:1fr}textarea,input{font-size:16px}textarea{min-height:92px}.modal-layer{padding:12px}.checklist-review-modal{max-height:calc(100vh - 24px);padding:16px}.checklist-review-toolbar{align-items:stretch;flex-direction:column}.checklist-review-toolbar>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.checklist-review-search{grid-template-columns:20px minmax(0,1fr)}.checklist-review-search span{display:none}.checklist-review-row{position:relative;grid-template-columns:24px 22px minmax(0,1fr) 54px;gap:8px;min-height:78px;padding-bottom:38px}.checklist-review-row--custom{min-height:96px}.checklist-review-row-actions{position:absolute;right:8px;bottom:5px}.checklist-review-row-actions .checklist-review-mobile-move{display:inline-flex;border:1px solid var(--line);background:#ffffffd1}.checklist-review-quantity-input{width:54px}.section-heading,.items-heading{display:grid;grid-template-columns:1fr;align-items:stretch}.items-heading-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.items-heading-actions>*{width:100%}.image-toggle-button,.items-heading-actions .shimmer-button{min-height:42px}.items-table-shell{margin:0;overflow:visible;border-top:0}.items-table,.items-table tbody,.items-table tr,.items-table td{display:block;width:100%}.items-table{min-width:0;border-collapse:separate}.items-table thead,.items-table colgroup{display:none}.items-table tbody{display:grid;gap:0}.items-table .item-row{display:grid;grid-template-columns:minmax(58px,.75fr) minmax(70px,.9fr) minmax(110px,1.4fr);gap:9px;margin:5px 0;padding:10px;border:1px solid var(--line);border-radius:var(--radius);background:#ffffffd1;box-shadow:0 12px 28px #1f2a440f}.items-table .insert-row,.items-table .insert-row td{display:block;width:100%}.insert-row-zone{height:24px;margin:0;padding-left:10px}.insert-row-button{min-width:70px;height:24px;opacity:.82;transform:none}.items-table .item-row--selected{border-color:#0f766e3d;background:#f0fdfaeb}.items-table th,.items-table td{padding:0;border-bottom:0;text-align:left}.items-table td.drag-col{grid-column:1;grid-row:1;align-self:center;justify-self:start}.items-table td.flag-col{display:inline-flex;grid-column:2;grid-row:1;align-items:center;gap:9px;justify-self:start;color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase}.items-table td.flag-col:before{content:"Usar"}.items-table td:nth-child(3){grid-column:1 / -1;grid-row:2}.items-table td:nth-child(4),.items-table td:nth-child(5),.items-table td:nth-child(6),.items-table td:nth-child(7){display:grid;gap:5px;text-align:left}.items-table td:nth-child(4){grid-column:1 / 2;grid-row:3}.items-table td:nth-child(5){grid-column:2 / 3;grid-row:3}.items-table td:nth-child(6){grid-column:3 / 4;grid-row:3}.items-table td:nth-child(7){grid-column:1 / -1;grid-row:4}.items-table td:nth-child(4):before,.items-table td:nth-child(5):before,.items-table td:nth-child(6):before,.items-table td:nth-child(7):before{color:var(--muted);font-size:10px;font-weight:900;line-height:1;text-align:left;text-transform:uppercase}.items-table td:nth-child(4):before{content:"Qtd."}.items-table td:nth-child(5):before{content:"Un."}.items-table td:nth-child(6):before{content:"Preço de tabela"}.items-table td:nth-child(7):before{content:"Preço cobrado"}.items-table td:nth-child(8){display:flex;grid-column:1 / -1;grid-row:5;align-items:center;justify-content:space-between;gap:10px;min-height:36px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:#ffffffb8}.items-table td:nth-child(8):before{content:"Subtotal";color:var(--muted);font-size:10px;font-weight:900;text-transform:uppercase}.items-table td.row-actions{grid-column:3;grid-row:1;justify-self:end;text-align:right}.drag-button,.icon-action{width:34px;height:34px}.product-title-row,.product-title-row--with-image{grid-template-columns:minmax(0,1fr)}.product-title-row--with-image .product-thumb{width:68px;height:68px}.stock-alert{justify-self:start}.product-suggestions{max-height:260px;overflow:auto}.table-input,.table-input--qty,.table-input--unit,.table-input--money,.table-price-reference{width:100%;min-width:0;min-height:40px}.table-input--money{text-align:right}.row-total{padding-right:0}.items-totals-panel{width:100%;min-width:0;padding:10px}.quote-list-row{grid-template-columns:34px minmax(92px,.8fr) minmax(0,1fr);gap:8px}.quote-open-button{grid-template-columns:minmax(92px,.8fr) minmax(0,1fr);gap:8px}.profit-fields{grid-template-columns:1fr}.subtotal-strip,.final-total-strip{min-height:46px}.drag-row-overlay{grid-template-columns:34px 48px minmax(0,1fr);width:calc(100vw - 24px)!important;min-width:0}.drag-row-overlay .drag-row-cell:nth-child(n+4){display:none}}@media(max-width:420px){.hero-actions,.items-heading-actions{grid-template-columns:1fr}.hero-generation-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.items-table .item-row{grid-template-columns:minmax(58px,.75fr) minmax(70px,.9fr) minmax(110px,1.4fr)}}@media print{@page{size:A4;margin:12mm}html,body{width:auto;min-width:0;min-height:0;margin:0;background:#fff}body{-webkit-print-color-adjust:exact;print-color-adjust:exact}.app-shell,.modal-layer,.drag-row-overlay{display:none!important}.print-document{display:flow-root;margin:0;padding:0}.print-sheet{display:flow-root;margin:0;padding:0;break-after:auto;page-break-after:auto}tr,.print-section,.print-summary{break-inside:avoid}}
