:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#332b25;background:#f7f5f4;font-synthesis:none;font-size:14px;--primary:#3f2817;--muted:#837d78;--line:#e9e5e3;--lime:#ebcfbb}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible{outline:3px solid #9e7e68}input,select,textarea{border:1px solid #e2dedb;border-radius:8px;padding:11px 12px;background:white;color:#39312b;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #a18876;border-color:transparent}input::placeholder,textarea::placeholder{color:#99938f}button{border:0;background:none;color:inherit}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}.sidebar{position:fixed;inset:0 auto 0 0;width:235px;background:#3f2817;color:#f0ece9;display:flex;flex-direction:column;padding:39px 19px 0;z-index:2}.brand{display:flex;align-items:center;gap:11px;padding:0 9px;font-size:24px;font-weight:700;letter-spacing:-1px}.brand small{display:block;font-size:8px;letter-spacing:1.75px;margin-top:8px;font-weight:500;color:#bcada3}.brand .dot{color:#e6c2a9}.brand-icon{font-size:34px;width:42px;height:43px;background:#edccb4;color:#3f2817;border-radius:12px;position:relative;line-height:46px;padding-left:8px;font-weight:800;flex-shrink:0}.brand-icon span{position:absolute;right:4px;top:-9px;font-size:27px}.side-label{font-size:9px;letter-spacing:1.8px;color:#b19f92;margin:55px 14px 16px}nav{display:flex;flex-direction:column;gap:8px}.nav{width:100%;display:flex;align-items:center;text-align:left;gap:11px;padding:13px 14px;color:#d3cac3;border-radius:8px;font-size:12px}.nav>span{font-size:20px;width:20px;color:#b4a193}.nav.active,.nav:hover{background:#564031;color:white}.nav.active>span{color:#edd1bd}.nav b{font-size:10px;background:#6a594d;padding:3px 6px;border-radius:5px;margin-left:auto;color:#ebdace;font-weight:500}.side-bottom{margin-top:auto}.private-note{display:flex;gap:12px;align-items:center;padding:18px 14px;background:#493324;border:1px solid #5d4b3e;border-radius:9px;margin-bottom:25px}.private-note>span{font-size:24px;color:#e8ccb8}.private-note strong{font-size:11px;font-weight:500}.private-note small{display:block;font-size:10px;color:#c0b3aa;margin-top:5px}.profile{border-top:1px solid #584436;display:flex;align-items:center;gap:11px;padding:24px 9px}.profile strong{font-size:12px;font-weight:500}.profile small{display:block;color:#b8a89d;font-size:10px;margin-top:4px}.avatar,.top-avatar{display:grid;place-items:center;border-radius:50%;background:#ddcdc2;color:#53463c;width:34px;height:34px;font-size:13px}.workspace{margin-left:235px}.topbar{height:79px;background:#fff;border-bottom:1px solid var(--line);padding:0 40px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#908984}.topbar strong{font-weight:500;color:#49413b}.breadcrumb{padding:0 16px;color:#c8c3c0}.top-right{display:flex;align-items:center;gap:15px}#sync{font-size:10px}#sync.ok::before,.green-dot{content:'';display:inline-block;width:6px;height:6px;background:#927b6a;border-radius:50%;margin-right:7px}.icon-btn{border:1px solid var(--line);width:31px;height:31px;border-radius:7px;font-size:19px;display:grid;place-items:center}.top-avatar{width:30px;height:30px;font-size:11px;background:#eee8e3}main{padding:39px 40px 20px;max-width:1700px;margin:auto}.page-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px;gap:16px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:600;color:#8d8178}h1{font-size:37px;line-height:1.18;letter-spacing:-1.6px;font-weight:600;margin:12px 0 9px}h1>span{color:#a28571}.page-title p{font-size:12px;color:#86807c}.primary,.secondary{padding:12px 18px;border-radius:8px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px}.primary{background:var(--primary);color:white;border:1px solid var(--primary);box-shadow:0 2px 3px #3e271610}.primary:hover{background:#5b3d28}.primary>span{font-size:19px;line-height:14px}.secondary{background:white;border:1px solid #e1dbd7}.secondary:hover{background:#f6f2ef}.small{font-size:10px;padding:8px 11px}.stats{display:grid;grid-template-columns:1.22fr 1fr 1fr 1fr;gap:15px}.stat{border:1px solid var(--line);border-radius:12px;background:#fff;padding:20px 19px;min-height:154px;position:relative}.stat.main-stat{background:#f1e6df;border-color:#e4d3c6}.stat-label{color:#71665e;font-size:11px;display:flex;align-items:center;justify-content:space-between}.stat-icon{font-size:16px;color:#77604f;padding:5px;background:#f4efeb;border-radius:7px;width:29px;height:29px;text-align:center}.main-stat .stat-icon{background:#e7d6ca}.stat strong{display:block;font-size:29px;font-weight:600;letter-spacing:-1px;margin:11px 0 10px;white-space:nowrap}.stat strong small{font-size:11px;font-weight:400;letter-spacing:0;color:#82746a;margin-left:5px}.stat-note{font-size:10px;color:#91867f;line-height:1.5}.stat-note b{font-weight:500;color:#70645c}.review-banner{margin:24px 0 28px;border:1px solid #e5ded9;background:#f2ede9;display:flex;align-items:center;gap:13px;padding:15px 18px;border-radius:9px}.review-banner[hidden]{display:none}.banner-icon{border:1px solid #a99384;border-radius:50%;width:18px;height:18px;text-align:center;flex-shrink:0;color:#8d7463;font-size:12px;font-family:serif}.review-banner strong{font-size:11px;font-weight:600}.review-banner p{font-size:10px;color:#908176;margin-top:5px;line-height:1.65}.text-btn{font-size:10px;color:#675649;white-space:nowrap;padding:6px}.review-banner .text-btn{margin-left:auto}.text-btn span{margin-left:12px;font-size:16px}.orders-section{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.section-head{display:flex;align-items:center;justify-content:space-between;padding:23px 23px 21px;gap:15px}.section-head h2{font-size:16px;font-weight:600;display:inline-block;letter-spacing:-.3px}.section-head #resultCount{margin-left:9px;background:#f2eeeb;border-radius:5px;color:#857b73;font-size:10px;padding:4px 6px;white-space:nowrap}.export-group{display:flex;gap:7px}.filterbar{display:flex;gap:8px;padding:0 23px 15px}.filterbar select{font-size:10px;height:39px;padding:9px 9px;max-width:160px;width:100%;background:#fff}.search{position:relative;display:flex;align-items:center;flex:1;min-width:150px}.search>span{position:absolute;left:11px;font-size:23px;color:#857b73}.search input{width:100%;height:39px;font-size:11px;padding-left:35px;padding-right:35px}.search kbd{position:absolute;right:11px;background:#f8f6f4;border:1px solid #eae5e2;padding:1px 5px;color:#a2978f;border-radius:3px;font-size:10px}.table-options{display:flex;justify-content:space-between;align-items:center;padding:0 23px 17px}.chips{display:flex;gap:5px}.chip{font-size:10px;color:#877c74;padding:7px 12px;border-radius:6px}.chip.selected{background:#f2ebe6;color:#5b4536}.sorting{display:flex;gap:10px;align-items:center}.sorting select{font-size:10px;border:0;padding:5px 0;color:#8a8078}.table-wrap{overflow-x:auto;min-height:260px}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{background:#f8f6f4;border-top:1px solid #f0ebe8;border-bottom:1px solid #f0ebe8;font-size:8px;letter-spacing:1px;font-weight:600;color:#9b9088;padding:14px 11px}th:first-child,td:first-child{padding-left:23px}td{padding:18px 11px;border-bottom:1px solid #f0ece9;font-size:11px}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbf8f6}td .client-name{font-weight:500;color:#4b423c;display:block;margin-top:6px;font-size:11px}.folio-btn{font-size:10px;color:#846955;letter-spacing:.2px;padding:0;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#b6a69b}.review-mark{display:inline-flex;gap:3px;color:#ac9972;margin-left:7px;font-size:8px}.product-name{display:block;max-width:170px;overflow:hidden;text-overflow:ellipsis;color:#66564b;font-size:10px}.subtext{display:block;color:#9c9088;font-size:9px;margin-top:6px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:5px 7px;font-size:9px;font-weight:500}.badge::before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.badge.neutral{color:#91857c;background:#f2ede9}.badge.amber{background:#f9f0dc;color:#b49249}.badge.green{background:#f4ece7;color:#90715b}.badge.blue{background:#eaf0f4;color:#7390a3}.badge.gray{background:#f1efee;color:#9b9591}.numeric{text-align:right}.balance{font-variant-numeric:tabular-nums;color:#6a5445;font-weight:600;font-size:12px}.balance.zero{color:#a5988e}.row-arrow{font-size:17px;color:#97877b;padding:8px}.table-footer{background:#fbf9f7;border-top:1px solid var(--line);padding:15px 23px;display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#9c8f86}.footer-dot{margin:0 7px}.page-footer{display:flex;justify-content:space-between;font-size:9px;color:#a59991;padding:22px 0}.empty{text-align:center;padding:40px;color:#98887d}.empty>span{font-size:32px}.empty h3{font-size:16px;margin:10px 0}.empty p{font-size:12px;margin-bottom:18px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
dialog{padding:0;border:0;box-shadow:0 10px 80px #26160a33;color:#3e352f}dialog::backdrop{background:#2d1e1450;backdrop-filter:blur(2px)}#editor{margin:0 0 0 auto;max-height:100dvh;height:100dvh;max-width:100vw;width:790px;border-radius:16px 0 0 16px}#orderForm{height:100%;display:flex;flex-direction:column}.drawer-head{padding:28px 30px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.drawer-head h2{font-size:23px;letter-spacing:-.6px;margin-top:9px}.drawer-body{padding:23px 30px;overflow-y:auto;flex:1;background:#fcfbfa}.drawer-footer{padding:16px 30px;border-top:1px solid var(--line);background:#fff}.footer-actions{display:flex;justify-content:flex-end;gap:10px}.form-section{margin-bottom:27px}.form-section h3{font-size:13px;margin-bottom:15px;font-weight:600;display:flex;justify-content:space-between;align-items:center}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#7e7167}.field input,.field select{width:100%;font-size:12px}.full{grid-column:1/-1}.field textarea{min-height:100px;resize:vertical;font-size:12px;line-height:1.6}.info-box{padding:13px 15px;background:#f3ede8;border:1px solid #e8ded7;border-radius:8px;font-size:11px;color:#7e6c5f;line-height:1.65;margin-bottom:20px}.info-box strong{display:block;margin-bottom:4px}.line-items{display:flex;flex-direction:column;gap:10px}.item-row{background:#fff;border:1px solid #e6ded8;border-radius:9px;padding:12px;display:grid;grid-template-columns:1fr 90px 110px 110px 30px;gap:8px;align-items:end}.item-row .description-field{grid-column:1/-1}.item-row .line-amount{color:#88786d;font-size:11px;padding:10px 0}.item-row input{padding:9px 8px}.remove-item,.remove-payment{color:#b08371;font-size:18px;padding:8px 0}.form-totals{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px;background:#f0e6de;border-radius:9px;padding:18px;margin-top:14px}.form-totals span{display:block;font-size:10px;color:#8b796c;margin-bottom:5px}.form-totals strong{font-size:18px;font-weight:600}.form-hint{font-size:10px;color:#96887e;line-height:1.6;margin-top:8px}.payment-row{display:grid;grid-template-columns:110px 145px 1fr 25px;gap:8px;align-items:end;margin-bottom:10px}.payment-row input{padding:9px 8px}.checkbox{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.6;color:#76665a;margin:12px 0}.checkbox input{accent-color:#4f3624;margin-top:3px}.status-grid{grid-template-columns:1fr 1fr 1fr}.readonly-field{padding:12px;background:#f3ede9;border-radius:8px;color:#7c6c60;font-size:12px}.history{font-size:11px;color:#96887e;line-height:1.9}.history summary{cursor:pointer;color:#78665a}#formError{font-size:12px;color:#a45038;padding:0 0 12px;line-height:1.7}#formError:empty{display:none}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#4a3220;color:#f5ede8;border-radius:9px;padding:14px 22px;z-index:10;box-shadow:0 8px 30px #39291d2b;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90vw}#toast.visible{opacity:1}#confirmDialog{border-radius:12px;width:400px;max-width:90vw}.confirm-content{padding:26px}.confirm-content h2{font-size:20px}.confirm-content p{font-size:13px;line-height:1.7;color:#86776d;margin:15px 0 24px}.load-error{padding:35px;font-size:13px;color:#a0563c}.reference-date{font-size:11px;color:#97887e}.overdue{color:#b07f54!important}
@media(min-width:1550px){.product-name{max-width:240px}td{padding-top:21px;padding-bottom:21px}.stat{min-height:165px}}
@media(max-width:1200px){.sidebar{width:205px;padding-left:12px;padding-right:12px}.brand{font-size:22px}.workspace{margin-left:205px}main{padding:30px 24px}.topbar{padding:0 24px}.filterbar{flex-wrap:wrap}.search{flex-basis:100%}.filterbar>label:not(.search){flex:1}.filterbar select{max-width:none}.stats{gap:10px}.stat{padding:15px 13px}.stat strong{font-size:25px}.review-banner{align-items:flex-start}.review-banner .text-btn{align-self:center}.stat-note{font-size:9px}}
@media(max-width:900px){.sidebar{width:76px;padding:24px 12px}.brand{padding:0;justify-content:center}.brand>span:last-child,.side-label,.nav b,.side-bottom{display:none}.brand-icon{width:42px}.nav{font-size:0;padding:12px;justify-content:center}.nav>span{font-size:22px}.sidebar nav{margin-top:35px}.workspace{margin-left:76px}.stats{grid-template-columns:repeat(2,1fr)}.stat{min-height:135px}.stat strong{font-size:29px}.table-footer>span:last-child{display:none}.review-banner .text-btn{font-size:9px}.page-title h1{font-size:32px}}
@media(max-width:620px){.sidebar{position:static;width:100%;height:auto;padding:15px 18px;flex-direction:row;justify-content:space-between;align-items:center}.brand{gap:9px;font-size:20px}.brand>span:last-child{display:block}.brand small{font-size:7px;margin-top:5px}.brand-icon{height:34px;width:34px;font-size:28px;line-height:38px;border-radius:9px;padding-left:6px}.brand-icon span{font-size:22px;right:2px}.sidebar nav{display:none}.workspace{margin-left:0}.topbar{height:49px;padding:0 18px;font-size:10px}.top-avatar{display:none}.top-right{gap:7px}#sync{font-size:9px}.breadcrumb{padding:0 8px}.icon-btn{width:28px;height:28px}main{padding:25px 16px 10px}.page-title{flex-wrap:wrap;margin-bottom:20px}.page-title .primary{width:100%}.page-title h1{font-size:34px}.page-title p{font-size:11px}.eyebrow{font-size:8px}.stats{gap:9px}.stat{min-height:137px;padding:12px}.stat strong{font-size:26px}.stat.main-stat strong{font-size:24px}.stat-label{font-size:10px}.stat-icon{font-size:13px;width:24px;height:24px;padding:4px}.stat strong small{font-size:9px;margin-left:3px}.review-banner{margin:17px 0;flex-wrap:wrap;padding:12px;gap:9px}.review-banner>div:nth-child(2){flex:1}.review-banner .text-btn{margin-left:25px}.section-head{padding:18px 13px;align-items:flex-start}.section-head h2{font-size:14px;display:block}.section-head #resultCount{margin:7px 0 0;display:inline-block}.export-group{gap:5px;align-items:flex-end}.small{font-size:9px;padding:8px}.filterbar{padding:0 13px 13px;gap:6px}.filterbar select{font-size:9px;padding:8px 3px}.table-options{padding:0 13px 12px;gap:8px;flex-wrap:wrap}.sorting{margin-left:auto}.chip{padding:6px 8px;font-size:9px}.table-wrap{max-height:650px;overflow:auto}th{position:sticky;top:0;z-index:1}.table-footer{padding:13px}.page-footer{font-size:8px;gap:15px}.page-footer>span:last-child{display:none}#editor{width:100%;border-radius:0}.drawer-head{padding:22px 18px}.drawer-head h2{font-size:20px}.drawer-body{padding:20px 18px}.drawer-footer{padding:15px 18px}.form-grid{gap:12px}.status-grid{grid-template-columns:1fr}.item-row{grid-template-columns:1fr 1fr 1fr 25px;gap:7px}.item-row .line-amount{grid-column:1/-1;grid-row:3}.item-row .field{font-size:10px}.payment-row{grid-template-columns:1fr 1fr 25px}.payment-row .payment-note{grid-column:1/3;grid-row:2}.payment-row .remove-payment{grid-column:3;grid-row:1}.form-totals{padding:14px;gap:10px}.form-totals strong{font-size:16px}}

@media(min-width:901px) and (max-width:1200px){.filterbar{flex-wrap:nowrap}.search{flex-basis:auto}.filterbar>label:not(.search){flex:0 1 auto}.filterbar select{max-width:145px}.stat{min-height:140px}.review-banner{margin:18px 0 22px}.nav{font-size:11px;gap:9px}}

/* ListoProfe identity: original artwork, orange, yellow and brown. */
:root{--primary:#b84300;--line:#eadfd5;--brand-orange:#ff6b00;--brand-yellow:#ffbf3e;--brand-brown:#a73b00;color:#3b2c24;background:#faf7f3}
.sidebar{background:#4b2a1b;color:#fff4e9}
.brand{display:flex;flex-direction:column;gap:6px;width:100%;padding:10px 8px 12px;background:#fff;border:1px solid #ffdbb9;border-radius:12px;letter-spacing:0}
.brand-logo{display:block;width:100%;height:auto;aspect-ratio:1063/393}
.brand-mark{display:none}
.brand small{color:#8e5431;font-size:7px;letter-spacing:1.65px;margin:0;text-align:center;line-height:1.5}
.side-label{color:#d2aa8c;margin-top:35px}
.nav{color:#f0d2b9}.nav>span{color:#dfac80}.nav.active,.nav:hover{background:#663922;color:#fff}.nav.active{box-shadow:inset 3px 0 #ffbf3e}.nav.active>span{color:#ffbf3e}.nav b{background:#825034;color:#ffe6b5}
.private-note{background:#593322;border-color:#794a2e}.private-note>span{color:#ffbf3e}.private-note small{color:#dbb79d}.profile{border-color:#75472f}.profile small{color:#d5af92}.avatar{background:#ffbf3e;color:#603112}.top-avatar{background:#ffecd3;color:#a73b00}
h1>span{color:#ff6b00}.eyebrow{color:#9b562d}.primary:hover{background:#943500}.primary{box-shadow:0 2px 5px #a73b0018}
button:focus-visible,a:focus-visible{outline-color:#a73b00}input:focus,select:focus,textarea:focus{outline-color:#d1682a}.checkbox input{accent-color:#b84300}
.stat.main-stat{background:#fff0cc;border-color:#f4d596}.main-stat .stat-icon{background:#ffe2a3;color:#96500c}.stat-icon{background:#fff0e2;color:#b45313}.stat-label{color:#775e4c}.stat strong{color:#4f2c1b}.stat strong small,.stat-note{color:#796651}.stat-note b{color:#71513a}
.review-banner{background:#fff6e6;border-color:#f2dfbd}.review-banner p{color:#79644d}.banner-icon{border-color:#b8894f;color:#986128}.text-btn{color:#a1450c}.section-head #resultCount{background:#fff0e0;color:#9c4c17}
.chip.selected{background:#ffedda;color:#9f3d00}.folio-btn{color:#a73b00;text-decoration-color:#deb38f}.balance{color:#8b3a0b}.balance.zero{color:#8c8076}.review-mark{color:#986524}
.badge.green{background:#edf4e7;color:#476f34}.badge.blue{background:#eaf0f4;color:#416a87}.badge.amber{background:#fff0cd;color:#946110}.badge.neutral{background:#f4eee7;color:#7d6a58}.badge.gray{background:#f0efed;color:#786f66}
.form-totals{background:#fff0ce}.form-totals span{color:#8c653b}.form-totals strong{color:#753600}.info-box,.readonly-field{background:#fff5e6;border-color:#f0dcc0;color:#805637}
#toast{background:#73370f;color:#fff7e9}#sync.ok::before{background:#538254}.green-dot{background:#ff6b00}
@media(min-width:621px) and (max-width:900px){.brand{padding:5px;width:52px;height:52px;border-radius:11px}.brand-logo,.brand small{display:none}.brand-mark{display:block;width:42px;height:42px}}
@media(max-width:620px){.sidebar{padding-top:14px;padding-bottom:14px}.brand{width:184px;padding:7px 9px;gap:4px}.brand small{font-size:6px}.brand-logo{display:block}.brand-mark{display:none}}

/* Customer notes extend the existing brand; the printed page stands alone. */
.row-actions{display:flex;align-items:center;gap:8px}.note-row-btn{border:1px solid #e2b996;border-radius:7px;padding:8px 12px;color:#963b00;background:#fff8ed;font-size:14px;font-weight:600}.note-row-btn:hover{background:#ffecd4}
#generateNote{font-size:14px;order:1}#saveOrder{order:2}#editor .footer-actions{flex-wrap:wrap}
#noteDialog{width:1180px;max-width:96vw;max-height:94dvh;border-radius:14px;margin:auto;overflow:hidden}
#noteDialog[open]{display:flex;flex-direction:column}
.note-dialog-head{display:flex;justify-content:space-between;align-items:center;padding:20px 25px;border-bottom:1px solid var(--line);gap:16px}.note-dialog-head h2{font-size:24px;margin-top:5px}.note-dialog-head .eyebrow{font-size:13px}.note-dialog-head .icon-btn{font-size:20px;width:40px;height:40px}
.note-dialog-body{display:grid;grid-template-columns:290px minmax(0,1fr);min-height:0;overflow:auto;background:#ede9e4}
#noteOptions{background:#fff;padding:24px 20px;border-right:1px solid var(--line)}#noteOptions .field{font-size:14px;margin-bottom:18px;color:#59483b}#noteOptions input,#noteOptions select,#noteOptions textarea{font-size:16px;line-height:1.5}#noteOptions textarea{min-height:150px;resize:vertical;padding:10px}#noteOptions .checkbox{font-size:14px;margin-top:20px;color:#59483b}#noteOptions .small{font-size:14px;white-space:normal;text-align:left;line-height:1.5;padding:10px}.note-help{font-size:13px;color:#766b62;line-height:1.6;margin-top:18px}
#notePreview{padding:24px;overflow-x:auto;min-width:0}.note-dialog-footer{padding:16px 24px;border-top:1px solid var(--line);background:#fff}.note-dialog-footer button{font-size:16px}.note-dialog-footer .footer-actions{flex-wrap:wrap}#noteError{color:#a52e19;font-size:14px;line-height:1.5;margin-bottom:10px}#noteError:empty{display:none}
.note-paper{background:#fff;max-width:816px;margin:0 auto;min-height:850px;padding:36px;font:14px/1.5 Arial,sans-serif;color:#392d26;box-shadow:0 3px 18px #3c2d1914;overflow-wrap:anywhere}
.note-brand{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:30px}.note-brand h2{font-size:24px;line-height:1.3;margin-bottom:8px}.note-brand p{font-size:13px;line-height:1.65}.note-brand svg{width:34%;height:auto;flex-shrink:0;aspect-ratio:1063/393}
.note-heading{display:flex;justify-content:space-between;gap:14px;align-items:center;padding-bottom:14px;border-bottom:2px solid #a73b00}.note-heading h3{font-size:21px;color:#a73b00}.note-heading strong{font-size:16px;white-space:nowrap}
.note-warning{margin-top:16px;padding:10px;background:#fff0ce;font-size:13px;color:#82370b;font-weight:bold}
.note-customer{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;margin:22px 0}.note-customer span{display:block;font-size:12px;letter-spacing:1px;color:#766b62;margin-bottom:5px}.note-customer strong{font-size:16px;display:block}.note-customer p{margin-top:4px;font-size:13px}
.note-paper .note-table{width:100%;border-collapse:collapse;white-space:normal;table-layout:fixed;text-align:left}.note-paper .note-table th{background:#fff0d9;color:#833900;font-size:12px;letter-spacing:0;padding:10px 8px;font-weight:700;border:0;position:static}.note-paper .note-table td{padding:12px 8px;font-size:13px;color:#392d26;border-bottom:1px solid #e5ddd5;vertical-align:top;overflow-wrap:anywhere}.note-paper .note-table tr:hover{background:transparent}.note-paper .note-table th:nth-child(1){width:10%}.note-paper .note-table th:nth-child(2){width:46%}.note-paper .note-table th:nth-child(n+3){width:22%;text-align:right}.note-paper .note-table td:nth-child(n+3){text-align:right;font-variant-numeric:tabular-nums}
.note-totals{width:58%;margin:22px 0 24px auto}.note-totals p{display:flex;justify-content:space-between;gap:16px;padding:8px 10px}.note-totals strong{text-align:right;white-space:nowrap}.note-balance{background:#fff0ce;color:#843800;font-weight:bold}.note-totals small{display:block;text-align:right;font-size:12px;color:#766b62;margin-top:5px}
.note-section{margin-top:24px}.note-section h4{font-size:15px;margin-bottom:10px}.note-paper .note-payments th:first-child{width:65%}.note-paper .note-payments th:last-child{width:35%;text-align:right}.note-paper .note-payments td:last-child{text-align:right}.note-observations{white-space:pre-wrap;font-size:14px}
.note-terms{border-top:1px solid #e5ddd5;padding-top:18px;margin-top:30px;font-size:12px;line-height:1.6;color:#645a51}.note-terms p{margin-bottom:5px}.note-bank{margin-top:18px;color:#392d26}.note-bank strong{display:block;margin-bottom:5px}.note-thanks{font-size:13px;font-weight:bold;margin-top:20px}#notePrint{display:none}
@media(max-width:800px){.note-dialog-body{grid-template-columns:1fr}#noteDialog{max-width:100vw;max-height:100dvh;width:100vw;height:100dvh;border-radius:0}#noteOptions{border-right:0;border-bottom:1px solid var(--line)}#notePreview{padding:14px}.note-paper{padding:22px;min-height:0}.note-brand{gap:10px}.note-brand h2{font-size:20px}.note-heading{align-items:flex-start}.note-heading h3{font-size:18px}.note-customer{grid-template-columns:1fr}.note-totals{width:100%}.note-dialog-head{padding:16px}.note-dialog-footer{padding:14px}.note-dialog-footer .footer-actions{justify-content:stretch}.note-dialog-footer button{flex:1;font-size:14px}.note-paper .note-table td,.note-paper .note-table th{padding:9px 5px;font-size:12px}}
@media print{
  @page{size:letter;margin:14mm}
  body.printing-note{background:#fff!important;margin:0!important}
  body.printing-note> :not(#notePrint){display:none!important}
  body.printing-note #notePrint{display:block!important}
  body.printing-note dialog::backdrop{display:none!important;background:transparent!important}
  #notePrint .note-paper{padding:0;box-shadow:none;min-height:0;max-width:none;font-size:10.5pt;overflow:visible}
  #notePrint .note-brand{margin-bottom:22pt}#notePrint .note-brand h2{font-size:20pt}#notePrint .note-brand p{font-size:10pt}
  #notePrint .note-customer{grid-template-columns:1.2fr 1fr}#notePrint .note-customer p{font-size:10pt}
  #notePrint .note-table{table-layout:fixed}#notePrint .note-table thead{display:table-header-group}
  #notePrint .note-table th,#notePrint .note-table td{font-size:10pt;padding:8pt 6pt}
  #notePrint .note-table tr{break-inside:avoid;page-break-inside:avoid}#notePrint .note-totals{width:58%;break-inside:avoid}
  #notePrint .note-brand,#notePrint .note-heading,#notePrint .note-customer,#notePrint .note-bank{break-inside:avoid}
  #notePrint h4{break-after:avoid}#notePrint .note-terms{font-size:9pt}#notePrint .note-observations{font-size:10.5pt;orphans:3;widows:3}
  #notePrint *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

.accounting-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:15px;padding:14px 17px;background:#fff;border:1px solid var(--line);border-radius:8px;font-size:14px;color:#796651}.accounting-summary strong{margin-left:8px;color:#753600}.general-badge{display:block;margin-top:8px}.general-filter select{font-size:14px;max-width:220px}.table-options{flex-wrap:wrap;gap:12px}.general-state-field{margin-bottom:16px;max-width:250px}.general-state-field select{font-size:14px}

/* Order editing and removal */
.row-actions{display:grid;grid-template-columns:auto auto;gap:7px;min-width:152px}
.edit-row-btn,.delete-row-btn{border:1px solid #d9c2af;border-radius:7px;padding:8px 10px;font-size:14px;font-weight:600;min-height:36px;background:#fff;color:#843300}
.edit-row-btn{grid-column:1;grid-row:1;background:#fff2df}.edit-row-btn:hover{background:#ffe3bd}
.row-actions .note-row-btn{grid-column:2;grid-row:1}
.delete-row-btn{color:#a22d27;border-color:#e7b9b5;background:#fff}.delete-row-btn:hover{background:#fff0ee}
.row-actions .delete-row-btn{grid-column:1/-1;min-height:32px;padding:6px 10px}
#deleteOrder{margin-right:auto;order:0}#deleteOrder[hidden]{display:none}
#deleteDialog{width:500px;max-width:calc(100vw - 32px);max-height:90dvh;border-radius:12px}
#deleteDialog .confirm-content p{font-size:16px;line-height:1.55;overflow-wrap:anywhere}
#deleteDialog .delete-identity{font-weight:650;color:#4d2d17;margin:18px 0 12px}
#deleteDialog .delete-warning{padding:12px;background:#fff3df;color:#804812;border-radius:7px}
#deleteDialog #deleteError{color:#a22d27}#deleteError:empty{display:none}
#deleteDialog .footer-actions{flex-wrap:wrap}#deleteDialog button,#saveOrder{font-size:14px}
.danger{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:8px;background:#ac3029;color:white;border:1px solid #ac3029;font-weight:600}.danger:hover{background:#8b241f}
@media(max-width:620px){#deleteOrder{flex-basis:100%;margin-right:0}#deleteDialog .confirm-content{padding:22px}#deleteDialog .footer-actions button{flex:1}}

/* Returning customers and WhatsApp */
.customer-picker{display:grid;grid-template-columns:1fr;gap:12px;background:#fff4e2;border:1px solid #ead0ac;border-radius:9px;padding:16px;margin-bottom:18px}.customer-picker .field,.customer-picker input,.customer-picker select{font-size:14px}.customer-hint{font-size:14px;color:#7b542c;line-height:1.5}.customer-picker select{width:100%;max-width:100%}
.whatsapp-row-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;border:1px solid #9ccbb2;border-radius:7px;padding:8px 10px;color:#13613a;background:#eef9f2;font-size:14px;font-weight:600}.whatsapp-row-btn:hover{background:#dcefe3}.row-actions{min-width:172px}.row-actions .whatsapp-row-btn{grid-column:1;grid-row:2}.row-actions .delete-row-btn{grid-column:2;grid-row:2}.row-actions .note-row-btn{font-size:14px}
#whatsappDialog{width:650px;max-width:calc(100vw - 32px);max-height:92dvh;border-radius:14px}#whatsappDialog[open]{display:flex;flex-direction:column}.whatsapp-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px;border-bottom:1px solid var(--line)}.whatsapp-head h2{font-size:22px}.whatsapp-head p{font-size:16px;color:#765943;margin-top:10px;overflow-wrap:anywhere}.whatsapp-head .icon-btn{flex-shrink:0}.whatsapp-body{padding:22px 24px;overflow:auto}.whatsapp-body .field,.whatsapp-body input,.whatsapp-body textarea{font-size:16px}.whatsapp-body textarea{line-height:1.6;min-height:240px;resize:vertical}.whatsapp-help{font-size:14px;color:#7a6a5d;line-height:1.55;margin:10px 0 18px}#whatsappError{color:#a22d27;font-size:14px;line-height:1.5}#whatsappError:empty{display:none}.whatsapp-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;border-top:1px solid var(--line);flex-wrap:wrap}.whatsapp-footer .whatsapp-row-btn{font-size:16px;white-space:nowrap;padding:12px 16px}#whatsappRecipient{font-size:14px;line-height:1.5;color:#37654a}#openWhatsApp[aria-disabled="true"]{opacity:.5;cursor:not-allowed}
@media(max-width:620px){#whatsappDialog{max-width:100vw;width:100vw;max-height:100dvh;border-radius:0}.whatsapp-head,.whatsapp-body,.whatsapp-footer{padding:18px}.whatsapp-footer .whatsapp-row-btn{width:100%}.customer-picker{padding:13px}}

.whatsapp-body select{font-size:16px;width:100%}#whatsappTemplateHelp:empty{display:none}#whatsappTemplateHelp:not(:empty){padding:10px 12px;border-radius:7px;background:#fff4e2;color:#7b542c}

/* Business workspace: consistent orange and brown, spacious forms. */
[hidden]{display:none!important}.sidebar nav{min-height:0;overflow-y:auto}.nav-separator{border-top:1px solid #75503b;margin:8px 0}.module-nav{font-size:14px}.module-nav.active{background:#a73b00}.mobile-sections{display:none}.module-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px;flex-wrap:wrap}.module-head h1{font-size:30px;margin:0;letter-spacing:-.6px}.module-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.module-actions button,.module-actions a,.module-head button{font-size:14px;padding:9px 12px}.module-search{max-width:500px;margin-bottom:18px}.module-search input,.month-field input{font-size:16px}.module-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:20px;min-width:0}.module-card h2{font-size:21px;margin-bottom:12px;overflow-wrap:anywhere}.module-card h3{font-size:18px;margin:24px 0 15px}.module-card p,.module-empty{font-size:16px;line-height:1.65}.module-help{font-size:14px!important;color:#7b6859;line-height:1.6;margin:12px 0 20px}.module-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.module-stats article{border:1px solid #ebd5ba;background:#fff7e9;border-radius:10px;padding:17px;min-width:0}.module-stats span{font-size:14px;display:block;line-height:1.5}.module-stats strong{display:block;font-size:25px;margin:10px 0;overflow-wrap:anywhere}.module-stats small{font-size:13px;color:#7b6859;display:block;line-height:1.5}.customer-grid,.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.customer-card{border:1px solid #e5d8cd;background:#fff;border-radius:11px;padding:20px;text-align:left;display:flex;flex-direction:column;gap:10px;min-width:0}.customer-card:hover{border-color:#bb6a23;background:#fffaf2}.customer-card strong{font-size:18px;overflow-wrap:anywhere}.customer-card span{font-size:14px;color:#75614f}.customer-card b{font-size:25px;color:#963b00}.customer-card small{font-size:13px}.module-table th,.module-table td{font-size:14px;white-space:normal;min-width:100px;line-height:1.5}.module-table td>span,.module-table td>small{display:block}.module-table td:first-child{min-width:185px}.payment-history>div{display:flex;align-items:center;gap:15px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:14px 0;font-size:14px}.catalog-amounts{display:flex;justify-content:space-between;gap:20px;margin:20px 0;font-size:14px}.catalog-amounts b{display:block;font-size:19px;margin-top:7px}.catalog-grid .module-card{margin:0}.module-tabs{display:flex;gap:8px;flex-wrap:wrap}.module-tabs button{font-size:14px}.module-tabs .chosen{background:#9e3a00;color:#fff;border-color:#9e3a00}.month-field{max-width:240px}.report-warnings p{font-size:14px;color:#855624}.recovery-list>div{padding:15px 0;border-bottom:1px solid var(--line);display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap;font-size:16px}.recovery-list small{display:block;font-size:13px;color:#8a7664;margin-top:8px}#workDialog{width:790px;max-width:calc(100vw - 24px);max-height:94dvh;border-radius:14px}#workDialog[open]{display:flex;flex-direction:column}.work-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:24px;border-bottom:1px solid var(--line)}.work-dialog-head h2{font-size:23px}.work-dialog-head p{font-size:15px;line-height:1.6;margin-top:10px;overflow-wrap:anywhere}.work-dialog-head button{font-size:14px;flex-shrink:0}#workBody{padding:24px;overflow:auto;font-size:16px;line-height:1.6}#workError{padding:0 24px 18px;color:#a22d27;font-size:15px;line-height:1.5}#workError:empty{display:none}.module-form{display:flex;flex-direction:column;gap:16px;padding:20px 0;border-top:1px solid var(--line);margin-top:20px}.module-form>.primary,.module-form>.secondary{align-self:flex-start;font-size:16px}.module-form .field,.module-form input,.module-form select,.module-form textarea{font-size:16px}.module-form .checkbox{font-size:15px}.module-form h3{font-size:18px}.module-form .module-help{margin:0}.module-form input[type=file]{max-width:100%;padding:12px;background:white}.quick-status{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:20px;font-size:16px}.design-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.design-grid article{border:1px solid var(--line);border-radius:9px;overflow:hidden;padding:12px;min-width:0}.design-grid img,.pdf-tile{width:100%;height:140px;object-fit:contain;background:#f8f4f0;display:flex;align-items:center;justify-content:center}.design-grid strong{display:block;overflow-wrap:anywhere;font-size:14px;margin:10px 0}.design-grid small{font-size:12px;display:block;margin:10px 0}.design-grid .module-actions button,.design-grid .module-actions a{font-size:13px;padding:8px}.follow-row-btn,.design-row-btn{font-size:14px;min-height:36px;border:1px solid #d9c2af;border-radius:7px;background:#fff5e9;padding:8px 10px}.row-actions{min-width:210px}.row-actions .follow-row-btn{grid-row:3;grid-column:1}.row-actions .design-row-btn{grid-row:3;grid-column:2}.catalog-order-field{margin-bottom:15px}.catalog-order-field,.catalog-order-field select{font-size:14px}
@media(max-width:1100px){.customer-grid,.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.module-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.mobile-sections{display:block;margin-bottom:22px}.mobile-sections .field,.mobile-sections select{font-size:16px}.sidebar .module-nav,.sidebar .nav-separator{display:none}}
@media(max-width:620px){.customer-grid,.catalog-grid,.design-grid{grid-template-columns:1fr}.module-card{padding:17px}.module-stats{gap:8px}.module-stats article{padding:12px}.module-stats strong{font-size:21px}.module-head h1{font-size:27px}.module-head .module-actions{width:100%}.module-head .module-actions button{flex:1}#workDialog{max-width:100vw;width:100vw;max-height:100dvh;border-radius:0}.work-dialog-head,#workBody{padding:18px}.module-form .form-grid{grid-template-columns:1fr}.recovery-list button{width:100%}.design-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Production costing */
#costDialog{width:1180px;max-width:calc(100vw - 24px);max-height:96dvh;border-radius:14px}#costDialog[open]{display:flex;flex-direction:column}#costDialog .work-dialog-head{padding:20px 24px}#costScroll{overflow:auto;padding:24px;overscroll-behavior:contain}#costForm{display:block}#costFields .field,#costFields input,#costFields select,#costFields textarea{font-size:16px}#costFields input{width:100%;min-width:0}.cost-intro{margin-bottom:24px}.cost-section{border:1px solid #dfcbbb;border-radius:10px;margin:16px 0;background:#fff}.cost-section>summary{cursor:pointer;font-size:18px;font-weight:700;padding:18px;background:#fff6e9;border-radius:10px;color:#5e331d}.cost-section-body{padding:18px}.cost-section-body>h3{font-size:18px;margin-top:24px}.cost-section-body>button{margin-top:14px}.cost-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.cost-grid .field{min-width:0}.cost-row{border:1px solid #e8ded4;border-radius:8px;padding:16px;margin-bottom:16px;background:#fffcf8}.cost-row-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;font-size:15px}.cost-row-head button{font-size:14px}.cost-notes{margin:24px 0}.cost-notes textarea{min-height:85px}#costResults{border-top:2px solid #ddbd9d;padding-top:24px;margin-top:24px;scroll-margin-top:12px}#costResults h2{font-size:23px}.cost-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.cost-breakdown{margin:20px 0}.cost-breakdown summary{cursor:pointer;font-size:16px;font-weight:700}.cost-warnings{border-left:4px solid #d9952b;background:#fff7df;padding:18px;margin:24px 0;font-size:15px;line-height:1.65}.cost-warnings ul{padding-left:20px;margin-top:10px}.cost-price{font-weight:750;color:#9e3a00}.cost-price-table th,.cost-price-table td{min-width:115px}.cost-price-table small{display:block;font-size:12px;margin-top:6px}.cost-footer{padding:14px 24px 20px;border-top:1px solid var(--line);background:#fff}.cost-footer .module-actions{justify-content:flex-end}.cost-footer button{font-size:15px}#costError{color:#a22d27;font-size:15px;line-height:1.5;margin-bottom:8px}#costError:empty{display:none}#costDiscard{padding:12px;background:#fff2d6;margin-bottom:12px;font-size:16px}#costDiscard p{margin-bottom:10px}#costProductConfirm{margin:20px 0;padding:20px;background:#fff3dc;border:1px solid #e4b77c;border-radius:10px;font-size:16px;line-height:1.6}#costProductConfirm h3{margin-bottom:12px}#costProductConfirm button{margin-top:10px}
@media(max-width:750px){#costDialog{max-width:100vw;width:100vw;max-height:100dvh;border-radius:0}#costScroll{padding:16px}.cost-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-stats{grid-template-columns:1fr}.cost-footer{padding:12px}.cost-footer .module-actions{gap:6px}.cost-footer button{padding:10px;font-size:14px}#costDialog .work-dialog-head{padding:16px}.cost-section>summary{font-size:16px}}
@media(max-width:440px){.cost-grid{grid-template-columns:1fr}.cost-section-body{padding:12px}.cost-row{padding:12px}.cost-footer .module-actions button{flex:1}#costDialog .work-dialog-head h2{font-size:21px}}

/* Daily operations, collections, inventory and calendar */
.priority-tag,.priority-text{display:inline-flex!important;width:max-content;margin-top:7px;padding:3px 7px;border-radius:999px;font-size:12px!important;font-weight:750}.priority-tag.alta,.priority-text.alta{background:#fff0c9;color:#835000}.priority-tag.urgente,.priority-text.urgente{background:#ffe1dc;color:#a1251b}.task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.task-card{margin:0}.task-card h2{display:flex;justify-content:space-between;gap:12px}.task-card h2 span{font-size:14px;background:#fff0d9;color:#8c3a00;border-radius:999px;padding:4px 9px}.task-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;border-top:1px solid var(--line)}.task-row:first-of-type{border-top:0}.task-row strong,.task-row small{display:block}.task-row small{font-size:13px;color:#7b6859;margin-top:5px}.task-row .module-actions{justify-content:flex-end;flex-shrink:0}.customer-profile{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.customer-profile>div:last-child{display:flex;flex-direction:column;gap:7px;background:#fff6e7;border:1px solid #ead2b4;border-radius:10px;padding:14px;max-width:350px}.customer-profile span,.customer-profile small{font-size:14px;line-height:1.5}.promise-box{background:#fff5df;border:1px solid #e8bd78;border-radius:10px;padding:17px;margin:18px 0}.promise-box h3{font-size:18px;margin-bottom:8px}.promise-box p{margin:5px 0}.compact-form{padding-top:14px}.purchase-list{display:grid;gap:10px}.purchase-list span{display:block;padding:11px 13px;background:#fff5e2;border-radius:8px}.inventory-grid .low-stock{border-color:#d99832;background:#fffaf0}.calendar-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.calendar-head h2{margin:0}.calendar-week,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.calendar-week b{text-align:center;font-size:13px;color:#786555;padding:7px}.calendar-day{min-height:130px;border:1px solid #e4d8cf;border-radius:8px;padding:8px;background:#fff;overflow:hidden}.calendar-day>strong{display:block;margin-bottom:7px}.calendar-day.today{border:2px solid #a73b00;background:#fff9ed}.calendar-day.empty-day{background:#f8f5f2}.calendar-order{display:block;width:100%;text-align:left;padding:5px 6px;border-radius:5px;background:#f4ede6;font-size:12px;line-height:1.35;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-order.alta{background:#fff0c9}.calendar-order.urgente{background:#ffe1dc;color:#8d2118}.calendar-day small{font-size:11px}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ranking-list{margin:0;padding:0;list-style:none}.ranking-list li{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}.ranking-list span,.ranking-list small{display:block}.ranking-list small{font-size:12px;color:#7b6859;margin-top:4px}.ranking-list b{white-space:nowrap}.module-stats:has(article:nth-child(5)){grid-template-columns:repeat(5,minmax(0,1fr))}#installApp{font-size:13px;padding:7px 10px}.top-right{flex-wrap:wrap}
@media(max-width:1100px){.module-stats:has(article:nth-child(5)){grid-template-columns:repeat(3,minmax(0,1fr))}.calendar-day{min-height:110px}.calendar-order{font-size:11px}}
@media(max-width:750px){.task-grid,.report-grid{grid-template-columns:1fr}.customer-profile{flex-direction:column}.customer-profile>div:last-child{max-width:none;width:100%}.calendar-week,.calendar-grid{gap:3px}.calendar-day{min-height:86px;padding:5px}.calendar-order{font-size:0;height:10px;padding:0}.calendar-order.urgente{background:#d14b3e}.calendar-order.alta{background:#e0a234}.calendar-day>strong{font-size:13px}.module-stats:has(article:nth-child(5)){grid-template-columns:repeat(2,minmax(0,1fr))}.task-row{align-items:flex-start;flex-direction:column}.task-row .module-actions{width:100%}.task-row .module-actions button{flex:1}}

.note-brand .note-business-logo{width:36%;max-width:210px;height:105px;object-fit:contain;flex-shrink:0}.note-brand>div{min-width:0}.note-brand h2,.note-brand p{overflow-wrap:anywhere}@media(max-width:800px){.note-brand .note-business-logo{width:38%;height:95px}}@media print{#notePrint .note-brand .note-business-logo{width:36%;max-width:180pt;height:85pt}}
