@font-face{font-family:Manrope;src:url('fonts/manrope-cyrillic.woff2') format('woff2');font-weight:200 800;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Manrope;src:url('fonts/manrope-latin.woff2') format('woff2');font-weight:200 800;font-display:swap}
@font-face{font-family:Manrope;src:url('fonts/manrope-rub.woff2') format('woff2');font-weight:200 800;font-display:swap;unicode-range:U+20BD}
:root{--paper:#f6f0e8;--ink:#29241f;--muted:#7a7067;--line:#e5ddd3;--yellow:#febb01;--white:#fff;--green:#dcebbd;--sidebar:220px;--brown:#874735;--danger:#9e4f39;--shadow:0 12px 45px #44321f0b}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.5 Manrope,Arial,sans-serif}button,input,select,textarea{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}a{color:inherit}button{border:0;background:none}button,input,select,textarea,a{outline-offset:4px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid var(--brown)}button:disabled{opacity:.46}svg{width:19px;height:19px;flex:none;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1{font-size:32px;font-weight:600;letter-spacing:-1.2px;line-height:1.2}h2{font-size:18px;font-weight:600;letter-spacing:-.4px}h3{font-size:15px;font-weight:600}small{font-size:12px}input,select,textarea{border:1px solid var(--line);background:var(--white);border-radius:14px;padding:11px 14px;min-width:0}input::placeholder,textarea::placeholder{color:#988b7e}textarea{resize:vertical}button{touch-action:manipulation}.skip-link{position:fixed;left:10px;top:-80px;background:var(--ink);color:white;padding:10px 16px;z-index:100}.skip-link:focus{top:10px}.app-shell{display:flex;min-height:100dvh}.sidebar{width:var(--sidebar);flex:none;padding:33px 18px 22px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:20;background:var(--paper);border-right:1px solid #e8dfd4}.brand{height:58px;display:flex;align-items:flex-start;padding-left:12px;overflow:hidden}.brand img{width:128px;max-width:none;height:36px;object-fit:contain;object-position:left center}.brand .brand-short{display:none}.navigation{display:grid;gap:5px;margin-top:20px}.nav-item{display:flex;align-items:center;gap:13px;text-align:left;min-height:45px;padding:11px 13px;border-radius:13px;white-space:nowrap;position:relative;font-size:14px;font-weight:500;color:#756c63}.nav-item svg{width:19px;height:19px}.nav-item:not(:disabled):hover{background:#ffffff75;color:var(--ink)}.nav-item.active{background:white;color:var(--ink);box-shadow:0 2px 8px #5e462506}.nav-item.active:before{content:"";width:5px;height:18px;background:var(--yellow);position:absolute;left:-2px;top:50%;transform:translateY(-50%);border-radius:5px}.nav-item .later-mark{margin-left:auto;width:4px;height:4px;background:#b7aa9c;border-radius:50%}.sidebar-bottom{margin-top:auto;padding-top:40px}.demo-label{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600;color:#8b7a66;white-space:nowrap;padding:0 12px 14px}.demo-label:before{content:"";width:6px;height:6px;background:#bd9d59;border-radius:50%;flex:none}.sidebar-foot{border-top:1px solid var(--line);padding:15px 5px 0 12px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px;gap:6px}.collapse-toggle{padding:5px;display:flex;border-radius:8px}.collapse-toggle:hover{background:white}.sidebar-resize{position:absolute;right:-5px;top:100px;bottom:80px;width:10px;cursor:col-resize;z-index:5}.sidebar-resize:after{content:"";position:absolute;left:4px;top:0;bottom:0;width:2px;border-radius:3px;background:transparent;transition:background .2s}.sidebar-resize:hover:after{background:#caba9f}.is-collapsed{--sidebar:76px!important}.is-collapsed .sidebar{padding-left:12px;padding-right:12px}.is-collapsed .brand{padding-left:3px}.is-collapsed .brand img{display:none}.is-collapsed .brand .brand-short{display:block;font-size:40px;line-height:40px;letter-spacing:-5px;font-weight:600}.is-collapsed .nav-item{justify-content:center;padding:12px}.is-collapsed .nav-label,.is-collapsed .later-mark,.is-collapsed .demo-label,.is-collapsed .sidebar-foot>span{display:none}.is-collapsed .sidebar-foot{padding:16px 0 0;justify-content:center}.is-collapsed .sidebar-resize{display:none}.main{margin-left:var(--sidebar);padding:39px 42px 35px;width:calc(100% - var(--sidebar));max-width:1900px}.page-topline{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:31px}.page-titles{display:flex;align-items:baseline;gap:13px}.count-label{font-size:13px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:10px}.button{display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:42px;padding:10px 17px;border-radius:100px;border:1px solid var(--line);background:transparent;font-size:13px;font-weight:600;white-space:nowrap;transition:background .16s,border-color .16s,transform .16s}.button:not(:disabled):hover{background:white;border-color:#cec0ad}.button.green{background:var(--green);border-color:transparent}.button.green:hover{background:#cddfab}.button.yellow{background:var(--yellow);border-color:transparent}.button.yellow:hover{background:#edaf00}.button.quiet{padding:7px 10px;min-height:34px;font-size:12px}.button svg{width:17px;height:17px}.icon-button{width:39px;height:39px;padding:9px;border:1px solid var(--line);border-radius:50%;display:inline-flex;align-items:center;justify-content:center}.icon-button:hover{background:white}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.search-wrap{position:relative;flex:1;max-width:430px}.search-wrap svg{position:absolute;left:15px;top:13px;width:18px;height:18px;color:#948675;pointer-events:none}.search-wrap input{width:100%;padding:11px 40px 11px 43px;border-radius:100px;font-size:13px;height:44px;background:#ffffffba;border-color:#e8dfd5}.search-clear{position:absolute;right:11px;top:9px;width:26px;height:26px;display:flex;align-items:center;justify-content:center}.search-clear svg{position:static;width:14px;height:14px}.toolbar-right{display:flex;align-items:center;gap:12px}.filter-tabs{display:flex;align-items:center;gap:5px;border-radius:100px}.filter-tab{font-size:12px;font-weight:600;padding:9px 15px;border-radius:100px;white-space:nowrap;min-height:38px;color:#7d7164}.filter-tab:hover{background:#fff9}.filter-tab.active{background:#fff;color:var(--ink);box-shadow:0 2px 8px #43331908}.filter-toggle{width:40px;height:40px;border-radius:50%;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;position:relative;flex:none}.filter-toggle:hover,.filter-toggle.active{background:white}.filter-toggle .filter-dot{position:absolute;width:6px;height:6px;background:var(--brown);border-radius:50%;right:5px;top:4px}.extra-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:0 0 18px}.extra-filters select{font-size:12px;border-radius:100px;padding:8px 28px 8px 12px;max-width:200px;background:#fff9}.extra-filters .filter-caption{font-size:12px;color:var(--muted);margin-right:3px}.order-columns,.order-row{display:grid;grid-template-columns:minmax(270px,1.65fr) minmax(165px,1.04fr) minmax(123px,.74fr) minmax(123px,.8fr);column-gap:22px;align-items:center}.order-columns{padding:0 22px 11px;color:#8d7e6e;font-size:11px}.order-columns .sort-heading{display:flex;align-items:center;gap:5px;color:inherit;justify-self:start;font-size:11px;padding:0}.sort-heading svg{width:12px;height:12px}.order-list{display:grid;gap:9px}.order-row{text-decoration:none;min-height:120px;background:var(--white);padding:19px 22px;border:1px solid transparent;border-radius:18px;transition:border-color .18s,box-shadow .18s,transform .18s;position:relative}.order-row:hover{border-color:#d8c6ae;box-shadow:var(--shadow);transform:translateY(-1px)}.order-info{display:flex;gap:16px;align-items:center;min-width:0}.thumb-group{width:84px;min-width:84px;height:80px;display:flex;align-items:center;position:relative}.thumb-group .product-thumb{width:70px;height:70px;border-radius:12px;object-fit:contain;background:#f8f6f2}.thumb-group.multi .product-thumb{width:52px;height:63px;border:2px solid white}.thumb-group.multi .product-thumb:nth-child(2){position:absolute;left:25px;top:19px;box-shadow:0 2px 7px #45311b09}.thumb-group .package-thumb{position:absolute;width:32px;height:32px;right:0;bottom:-1px;border:2px solid #fff;background:#f6f1e9;border-radius:8px;object-fit:contain}.thumb-group .extra-thumbs{position:absolute;left:0;bottom:0;font-size:9px;background:#eee4d8;border-radius:5px;padding:1px 3px}.order-copy{min-width:0}.order-title{display:flex;gap:8px;align-items:center;font-size:14px;font-weight:650;flex-wrap:wrap;margin-bottom:4px}.order-id{font-variant-numeric:tabular-nums}.order-customer{font-weight:500;color:#807265}.source-mark{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:550;color:#83776b;white-space:nowrap}.channel-dot{width:5px;height:5px;border-radius:50%;background:#9f917f}.source-mark.avito .channel-dot{background:#9354bb;box-shadow:5px 0 0 -1px #53aa6b}.source-mark.telegram .channel-dot{background:#74a9c2}.product-summary{font-size:11px;color:#7a6f64;line-height:1.5;max-width:290px}.inscription-summary{font-size:11px;color:#a49482;margin-top:3px;line-height:1.4}.stage-pill{display:inline-flex;font-size:11px;line-height:18px;padding:3px 9px;border-radius:7px;font-weight:600;margin-bottom:7px;color:#756247;background:#f2eadd}.stage-pill.attention{background:#fff0c5;color:#8a6725}.stage-pill.ready{background:#edf2e6;color:#5d713f}.stage-pill.waiting{background:#eeeaf3;color:#735e84}.stage-pill.closed{background:#f1eee9;color:#756958}.next-action{font-size:12px;line-height:1.45;max-width:240px}.row-blocker{font-size:10px;color:#a16a45;margin-top:4px;max-width:245px;line-height:1.45}.money-value{font-size:15px;font-weight:650;letter-spacing:-.3px;white-space:nowrap;font-variant-numeric:tabular-nums}.payment-label{font-size:11px;color:#8d7b69;margin-top:5px}.payment-label.paid{color:#76855b}.payment-label.partial{color:#a2763f}.deadline-main{font-size:12px;font-weight:550}.deadline-sub{font-size:11px;color:#8b7f72;margin-top:5px}.list-footer{display:flex;justify-content:space-between;gap:12px;margin-top:18px;font-size:11px;color:#a0907e}.empty-state{padding:70px 25px;text-align:center;background:#ffffff99;border:1px dashed #d4c6b5;border-radius:20px}.empty-state h2{font-size:20px;margin-bottom:8px}.empty-state p{color:var(--muted);font-size:13px;margin-bottom:20px}.back-link{display:inline-flex;align-items:center;gap:7px;padding:0;margin-bottom:21px;color:#8c7967;font-size:12px}.back-link:hover{color:var(--brown)}.back-link svg{width:15px;height:15px}.detail-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:25px}.detail-title{display:flex;align-items:center;gap:14px}.detail-title .stage-pill{margin:0}.detail-date{font-size:11px;color:#958575;margin-top:7px}.action-banner{background:#f4e7c9;border:1px solid #ead7ae;border-radius:15px;display:flex;align-items:center;gap:13px;padding:14px 17px;margin-bottom:22px}.action-banner.ready{background:#e8eddd;border-color:#dbe3ca}.action-banner.waiting{background:#eee8f2;border-color:#e3dbea}.action-banner.closed{background:#efe9e1;border-color:#e4dbcf}.action-banner .action-icon{width:32px;height:32px;border-radius:50%;background:#ffffff80;display:flex;align-items:center;justify-content:center;flex:none}.action-banner strong{display:block;font-size:13px;font-weight:650}.action-banner p{font-size:11px;color:#8b7759;margin-top:2px}.action-banner .button{margin-left:auto;background:#fff9;border-color:transparent;min-height:34px;font-size:11px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:22px;align-items:start}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 13px}.section-title small{font-size:11px;color:#9a8a7a;font-weight:400}.items-list{display:grid;gap:12px}.item-card{background:white;border-radius:18px;padding:20px;border:1px solid #ece5dd}.item-head{display:flex;align-items:center;gap:17px}.item-head img{width:82px;height:82px;background:#f9f7f3;border-radius:12px;object-fit:contain;flex:none}.item-name{font-size:14px;font-weight:600;line-height:1.5}.item-description{font-size:11px;color:#938171;margin-top:5px}.item-number{display:inline-block;font-size:10px;background:#f4eee7;color:#8c7761;border-radius:5px;padding:2px 6px;margin-top:5px}.side-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:17px}.side-card{text-align:left;border:1px solid #ece4da;border-radius:11px;padding:12px;background:#fdfbf8;min-height:83px;position:relative}.side-card:hover{border-color:#c9b698;background:#faf6ef}.side-card.needs-approval{border-color:#eed6ac;background:#fff8e7}.side-label{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:10px;color:#9a8772;margin-bottom:7px}.side-status{font-size:9px;color:#89926f;white-space:nowrap}.side-status.changed{color:#b27f32}.side-text{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.no-engraving{font-size:11px;color:#a59582;margin-top:13px}.package-card{background:#f0e8db;border:1px solid #e5dbcc;border-radius:15px;padding:14px 18px;display:flex;gap:16px;align-items:center;margin-top:13px}.package-card img{width:52px;height:52px;object-fit:contain;mix-blend-mode:multiply}.package-copy{font-size:12px;font-weight:600}.package-copy p{font-size:11px;font-weight:400;color:#8e7a62;margin-top:4px}.postcard{font-size:11px;color:#89755d;margin-top:12px;padding:14px;border-left:2px solid #d2b897;background:#f3ecdf;border-radius:0 10px 10px 0}.postcard strong{font-weight:600}.right-stack{display:grid;gap:12px}.info-card{background:#fff;border:1px solid #ece5dd;border-radius:17px;padding:20px}.info-heading{font-size:12px;font-weight:600;display:flex;align-items:center;gap:8px;margin-bottom:16px}.info-heading svg{width:16px;height:16px;color:#a38a6c}.client-name{font-size:17px;letter-spacing:-.4px;font-weight:550}.key-value{display:flex;justify-content:space-between;gap:15px;font-size:11px;margin-top:11px}.key-value .label{color:#9a8773}.key-value .value{text-align:right}.total-amount{font-size:26px;font-weight:600;letter-spacing:-1px;font-variant-numeric:tabular-nums}.payment-progress{height:4px;border-radius:5px;background:#efe8dd;margin:13px 0}.payment-progress span{display:block;height:100%;border-radius:5px;background:#b6c68c}.payment-progress.partial span{background:#d1ae68}.amount-due{padding-top:10px;border-top:1px solid #eee8df;margin-top:11px}.delivery-method{font-size:14px;font-weight:550}.delivery-status{font-size:11px;color:#94806a;margin-top:5px}.deadline-block{border-top:1px solid #eee7dc;padding-top:13px;margin-top:14px;font-size:11px}.deadline-block strong{font-weight:600;display:block;font-size:13px;margin-top:4px}.history-block{margin-top:22px;border-top:1px solid #e2d7c9;padding-top:16px}.history-block summary{font-size:12px;color:#86735e;cursor:pointer}.history-block p{font-size:11px;color:#96836e;margin-top:12px}.queue-group{margin-bottom:28px}.queue-heading{font-size:15px;display:flex;gap:10px;align-items:center;margin-bottom:12px;letter-spacing:-.2px}.queue-heading span{font-size:11px;font-weight:400;color:#a18d73}.queue-group .order-row{min-height:105px}.today-intro{color:#9a8770;font-size:12px;margin-top:9px}.dialog-backdrop{position:fixed;inset:0;background:#3a2b1d45;backdrop-filter:blur(5px);z-index:80;display:flex;align-items:center;justify-content:center;padding:20px}.dialog{background:var(--paper);border-radius:24px;padding:28px;width:min(570px,100%);max-height:90dvh;overflow:auto;box-shadow:0 25px 100px #21150935}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.dialog-top h2{font-size:23px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-field{display:grid;gap:7px;font-size:11px;color:#8a755f}.form-field input,.form-field select,.form-field textarea{width:100%;color:var(--ink);font-size:13px}.form-field.full{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.form-note{font-size:11px;color:#9a836b;margin-top:15px}.side-dialog-image{width:145px;height:145px;object-fit:contain;background:#f8f5ef;border-radius:18px}.side-dialog-head{display:flex;align-items:center;gap:22px;margin-bottom:20px}.saved-text{background:white;border:1px solid var(--line);padding:20px;border-radius:15px;white-space:pre-wrap;font-size:19px;line-height:1.6;overflow-wrap:anywhere}.saved-text-label{font-size:11px;color:#9a8265;margin-bottom:8px}.dialog-product{font-size:15px;line-height:1.6;font-weight:550}.side-details{font-size:12px;color:#8d765c;margin-top:8px}#toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%) translateY(25px);opacity:0;background:var(--ink);color:#fff;padding:12px 20px;border-radius:100px;font-size:12px;pointer-events:none;transition:opacity .2s,transform .2s;z-index:100;box-shadow:0 5px 20px #2c1c1630}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.mobile-heading{display:none}.not-found{padding:70px 20px}.not-found h1{font-size:26px;margin-bottom:12px}.not-found p{color:var(--muted);margin-bottom:25px}.mobile-demo{display:none}
@media(min-width:1600px){.main{padding-left:55px;padding-right:55px}.order-columns,.order-row{grid-template-columns:minmax(340px,1.65fr) minmax(210px,1.04fr) minmax(160px,.74fr) minmax(160px,.8fr);column-gap:30px}.order-row{min-height:130px}.product-summary,.inscription-summary{font-size:12px}.next-action{font-size:13px}.order-title{font-size:15px}.payment-label,.deadline-sub{font-size:12px}.detail-grid{grid-template-columns:minmax(0,1fr) 320px}}
@media(max-width:1250px){:root{--sidebar:195px}.sidebar{padding-left:12px;padding-right:12px}.main{padding:30px 26px}.order-columns,.order-row{grid-template-columns:minmax(230px,1.65fr) minmax(145px,1fr) minmax(110px,.72fr) minmax(105px,.72fr);column-gap:14px}.order-row{padding:17px 16px}.order-columns{padding-left:16px;padding-right:16px}.order-info{gap:10px}.thumb-group{width:68px;min-width:68px}.thumb-group .product-thumb{width:58px;height:68px}.thumb-group.multi .product-thumb{width:45px;height:57px}.thumb-group.multi .product-thumb:nth-child(2){left:20px}.product-summary{font-size:10px}.toolbar{gap:10px}.toolbar-right{gap:5px}.filter-tab{padding-left:11px;padding-right:11px}.detail-grid{grid-template-columns:minmax(0,1fr) 254px;gap:16px}.info-card{padding:17px}.item-card{padding:16px}.side-grid{gap:6px}}
@media(max-width:1050px){.sidebar{width:76px;padding:27px 12px 19px}.main{margin-left:76px;width:calc(100% - 76px);padding:28px 24px}.brand{padding-left:2px}.brand img{display:none}.brand .brand-short{display:block;font-size:38px;font-weight:600;line-height:42px;letter-spacing:-5px}.nav-item{justify-content:center;padding:12px}.nav-label,.later-mark,.demo-label,.sidebar-foot>span,.sidebar-resize,.collapse-toggle{display:none!important}.sidebar-foot{border-top:0}.mobile-demo{display:inline-flex;font-size:10px;border:1px solid #decfb8;color:#9d835f;border-radius:100px;padding:5px 9px;white-space:nowrap}.toolbar{flex-wrap:wrap}.search-wrap{max-width:none;min-width:230px}.toolbar-right{margin-left:auto}.detail-grid{grid-template-columns:minmax(0,1fr) 245px}.item-head img{width:65px;height:65px}.side-grid{grid-template-columns:1fr}.side-card{min-height:70px}.side-label{margin-bottom:5px}.order-info{gap:7px}.thumb-group{width:62px;min-width:62px}.order-columns,.order-row{column-gap:12px;grid-template-columns:minmax(215px,1.65fr) minmax(130px,1fr) minmax(100px,.72fr) minmax(95px,.72fr)}.row-blocker{display:block}}
@media(max-width:820px){h1{font-size:29px}.main{padding:26px 22px}.page-topline{margin-bottom:24px}.order-columns{display:none}.order-list{gap:12px}.order-row{grid-template-columns:1fr 1fr;gap:15px 16px;min-height:0;padding:18px}.order-row>.order-info{grid-column:1/-1;gap:16px;border-bottom:1px solid #f0e8dc;padding-bottom:15px}.thumb-group{width:74px;min-width:74px}.thumb-group .product-thumb{width:64px;height:66px}.order-title{font-size:14px}.product-summary{font-size:12px;max-width:none}.inscription-summary{font-size:11px}.row-stage{grid-column:1/2;grid-row:2/4}.row-money{grid-column:2/3;grid-row:2;text-align:right}.row-deadline{grid-column:2/3;grid-row:3;text-align:right}.next-action{font-size:12px}.row-blocker{display:block;font-size:10px}.money-value{font-size:16px}.payment-label{font-size:11px}.order-row .source-mark{font-size:10px}.detail-grid{grid-template-columns:1fr}.right-stack{grid-template-columns:1fr 1fr;gap:12px}.right-stack>.info-card:first-child{grid-column:1/-1}.side-grid{grid-template-columns:1fr 1fr}.action-banner .button{padding:7px 10px}.detail-top{margin-bottom:20px}.toolbar-right{width:100%;justify-content:space-between}.filter-tabs{gap:6px}.filter-tab{padding:9px 14px}.search-wrap input{background:#fff}.extra-filters{gap:8px}.extra-filters select{max-width:180px}.page-titles{gap:8px}.count-label{font-size:11px}}
@media(max-width:540px){.sidebar{width:58px;padding:22px 7px}.main{margin-left:58px;width:calc(100% - 58px);padding:24px 15px}.brand{padding-left:2px;height:50px}.brand .brand-short{font-size:32px}.navigation{gap:6px;margin-top:9px}.nav-item{min-height:43px;padding:10px;border-radius:11px}.nav-item svg{width:18px;height:18px}.page-topline{gap:8px;align-items:flex-start;margin-bottom:22px}.top-actions{gap:7px}.top-actions>.button{font-size:0;gap:0;width:38px;height:38px;min-height:38px;padding:10px}.top-actions>.button svg{width:19px;height:19px}.mobile-demo{font-size:9px;padding:5px 7px}.page-titles{display:block}.count-label{display:block;margin-top:4px;font-size:10px}h1{font-size:27px;letter-spacing:-.8px}.toolbar{gap:13px;margin-bottom:16px}.search-wrap{min-width:0}.search-wrap input{font-size:12px;height:41px}.search-wrap svg{top:12px}.filter-tab{font-size:10px;padding:8px 11px;min-height:34px}.filter-toggle{width:34px;height:34px}.filter-toggle svg{width:16px;height:16px}.order-row{border-radius:15px;padding:14px;column-gap:10px;row-gap:12px}.order-row>.order-info{gap:11px;align-items:center;padding-bottom:12px}.thumb-group{width:56px;min-width:56px;height:68px}.thumb-group .product-thumb{width:52px;height:62px}.thumb-group.multi .product-thumb{width:39px;height:52px}.thumb-group.multi .product-thumb:nth-child(2){left:14px;top:16px}.thumb-group .package-thumb{width:26px;height:26px;right:-2px;bottom:0}.order-title{font-size:12px;gap:5px}.product-summary{font-size:10px;line-height:1.5}.inscription-summary{font-size:10px}.source-mark{font-size:9px!important}.stage-pill{font-size:10px;padding:2px 7px;margin-bottom:5px}.next-action{font-size:11px}.row-blocker{font-size:9px}.money-value{font-size:15px}.payment-label,.deadline-sub{font-size:10px}.deadline-main{font-size:11px}.list-footer{font-size:10px;display:block;margin-top:15px}.list-footer span{display:block;margin-top:4px}.back-link{margin-bottom:20px;font-size:11px}.detail-title{gap:8px}.detail-title .stage-pill{max-width:130px}.detail-date{font-size:10px}.detail-top .icon-button{width:34px;height:34px}.action-banner{padding:12px;gap:9px;align-items:flex-start;margin-bottom:18px}.action-banner .action-icon{width:26px;height:26px}.action-banner strong{font-size:11px}.action-banner p{font-size:10px}.action-banner .button{display:none}.item-head{gap:12px}.item-head img{width:62px;height:62px}.item-name{font-size:12px}.item-description{font-size:10px}.item-card{padding:14px}.side-grid{grid-template-columns:1fr;gap:7px;margin-top:14px}.side-card{padding:10px;min-height:66px}.side-text{font-size:12px}.right-stack{grid-template-columns:1fr}.right-stack>.info-card:first-child{grid-column:auto}.section-title h2{font-size:16px}.section-title small{font-size:10px}.package-card{padding:12px;gap:11px}.package-card img{width:42px;height:42px}.package-copy{font-size:11px}.package-copy p{font-size:10px}.info-card{padding:17px}.queue-heading{font-size:14px}.queue-heading span{font-size:10px}.today-intro{font-size:11px}.dialog{padding:22px 19px;border-radius:20px}.dialog-top h2{font-size:21px}.form-grid{grid-template-columns:1fr}.form-field.full{grid-column:auto}.side-dialog-head{gap:14px}.side-dialog-image{width:100px;height:100px}.dialog-product{font-size:12px}.side-details{font-size:11px}.saved-text{font-size:17px;padding:15px}.dialog-backdrop{padding:12px}.form-actions .button{font-size:12px}#toast{max-width:90%;white-space:normal;text-align:center;width:max-content;font-size:11px}.extra-filters .filter-caption{width:100%}.extra-filters select{max-width:100%;flex:1;min-width:105px}.empty-state{padding:45px 17px}.empty-state h2{font-size:18px}.empty-state p{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

@media(max-width:540px){.product-summary,.inscription-summary{font-size:11px}.next-action{font-size:12px}.row-blocker{font-size:11px}.payment-label,.deadline-sub{font-size:11px}.side-label{font-size:11px}.side-status{font-size:10px}}

.brand .brand-short{width:36px;height:36px;object-fit:contain;flex:none}.is-collapsed .brand .brand-short{width:36px;height:36px}@media(max-width:1050px){.brand .brand-short{width:36px;height:36px}}@media(max-width:540px){.brand .brand-short{width:29px;height:29px}}

/* Operational facts stay readable at every width. */
.composition-row{align-items:center}.composition-row .order-info{min-width:0}.composition-row .order-copy{width:100%;min-width:0}.composition-row .order-title{align-items:baseline;gap:9px;margin-bottom:15px}.order-created{font-size:11px;font-weight:400;color:#9b8870;white-space:nowrap}.composition-row .order-customer{font-size:14px;font-weight:600}.composition-row .order-id{font-size:11px;color:#9b8870;font-weight:400}.composition-thumbs{display:flex;gap:12px;flex-wrap:wrap}.composition-thumb{width:66px;min-width:0;margin:0;text-align:center}.composition-image{display:block;position:relative;width:66px;height:66px;background:#fff}.composition-image img{display:block;object-fit:contain;width:66px;height:66px}.composition-thumb figcaption{font-size:9px;line-height:1.45;color:#9b8870;margin-top:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.quantity-badge{position:absolute;top:-5px;right:-4px;min-width:21px;height:21px;padding:0 3px;border-radius:50%;border:2px solid white;background:#FEBB01;color:#29241f;font-size:10px;font-weight:700;display:grid;place-items:center}.stage-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-8px 0 27px}.stage-filters>span{font-size:11px;color:#98846c;margin-right:7px}.stage-filter{border:1px solid transparent;border-radius:999px;padding:7px 12px;background:transparent;color:#8b765e;font-size:11px;cursor:pointer}.stage-filter:hover{background:#fff8}.stage-filter.active{background:#fff;border-color:#e8dccb;color:#3b3125}.product-layout-card{padding:23px}.product-layout-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:14px}.product-layout-head .item-name{font-size:15px;line-height:1.6}.product-layout-head .item-description{white-space:nowrap;margin-top:4px}.product-layout-head .item-number{display:inline-block;margin-top:4px}.engraved-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:14px}.engraved-side{margin:0;min-width:0}.engraved-side>figcaption{font-size:11px;color:#8d785e;margin:7px 0 10px;text-align:center}.preview-slot{position:relative}.side-photo{display:flex;justify-content:center;align-items:center;position:relative;background:white;border:0;border-radius:12px;width:100%;height:280px;padding:0;cursor:pointer;overflow:hidden}.side-photo:hover{box-shadow:inset 0 0 0 1px #dccbb2}.engraved-photo{object-fit:contain;width:100%;height:100%;display:block}.preview-status{font-size:11px;color:#9d8b74;text-align:center;padding:25px}.side-photo:has(.preview-status:not([hidden])){background:linear-gradient(110deg,#faf7f2,#fff,#faf7f2)}.preview-retry{position:absolute;left:50%;bottom:35px;transform:translateX(-50%);font-size:11px;color:#8b7050;border:1px solid #d9c9b2;border-radius:99px;background:white;padding:7px 11px;white-space:nowrap;cursor:pointer}.plain-product{display:flex;align-items:center;flex-direction:column;gap:9px}.plain-product>img{height:260px;width:100%;object-fit:contain}.plain-product>.button{font-size:11px}.package-postcard .postcard-photo{width:72px;height:72px;object-fit:contain;flex:none}.client-contacts{margin:17px 0 18px;display:grid;gap:13px}.client-contacts span{font-size:10px;color:#9b8770}.client-contacts p{font-size:12px;margin-top:4px;overflow-wrap:anywhere}[hidden]{display:none!important}
@media(min-width:1100px){.composition-row,.order-columns{grid-template-columns:minmax(330px,1.7fr) minmax(115px,.65fr) minmax(125px,.65fr) minmax(140px,.75fr);column-gap:22px}.composition-row{min-height:155px}.right-stack{align-content:start}}
@media(max-width:820px){.composition-row .order-info{padding-bottom:16px}.composition-row .order-title{margin-bottom:14px}.composition-thumbs{gap:11px}.composition-row .row-stage{grid-row:2;grid-column:1;align-self:center}.composition-row .row-money{grid-row:2;grid-column:2}.composition-row .row-deadline{grid-row:3;grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left}.composition-row .deadline-sub{text-align:right;max-width:55%}.stage-filters{margin:0 0 22px;gap:4px}.stage-filter{padding:7px 9px}.product-layout-card{padding:17px}.side-photo{height:260px}}
@media(max-width:540px){.composition-row .order-created{font-size:10px;flex-basis:100%}.composition-row .order-customer{font-size:13px}.composition-row .order-title{gap:4px 9px}.composition-row .order-id{font-size:10px}.composition-thumb{width:54px}.composition-image,.composition-image img{width:54px;height:56px}.composition-thumbs{gap:10px}.composition-thumb figcaption{font-size:9px}.quantity-badge{min-width:20px;height:20px;font-size:10px}.stage-filters{gap:3px}.stage-filters>span{width:100%;margin:0 0 5px}.stage-filter{font-size:10px;padding:7px 9px}.product-layout-head .item-name{font-size:13px}.engraved-gallery{grid-template-columns:1fr;gap:16px}.side-photo{height:255px}.engraved-side>figcaption{font-size:11px}.plain-product>img{height:245px}.package-postcard .postcard-photo{width:64px;height:64px}.client-contacts p{font-size:12px}.page-topline>.button{font-size:11px;padding:8px 12px;gap:5px}}
.side-label{font-size:12px;color:#79654f}.side-status{font-size:11px;color:#60713f}.side-status.changed{color:#95611a}.row-blocker{font-size:11px;color:#8f5d36}.source-mark{font-size:11px;color:#83715e}.lead-source{font-size:10px;color:#9a8267}.product-summary,.inscription-summary{font-size:12px}.payment-label,.deadline-sub{font-size:12px}@media(max-width:540px){.product-summary,.inscription-summary{font-size:11px}.side-label{font-size:11px}.side-status{font-size:10px}.source-mark{font-size:10px!important}.lead-source{font-size:10px!important}.payment-label,.deadline-sub{font-size:11px}}

/* Payment stays quiet until its calculation is requested. */
.payment-figures{display:flex;align-items:baseline;gap:20px;flex-wrap:wrap;margin:7px 0 17px}.payment-figures .total-amount{margin:0;font-size:32px;letter-spacing:-1px;line-height:1.25}.profit-figure{display:flex;flex-direction:column;gap:4px;color:#587443}.profit-figure>span{font-size:18px;font-weight:650;white-space:nowrap}.profit-figure small{font-size:11px;line-height:1.4;color:#897a68}.profit-figure.negative{color:#a1523c}.profit-unknown{color:#978a7a}.payment-state{font-size:12px;color:#857461;margin:0 0 14px}.payment-state.exception{color:#9c592b}.payment-calculations{border-top:1px solid #eee6db}.payment-calculations>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:14px 0 1px;list-style:none;font-size:12px;color:#80705d}.payment-calculations>summary::-webkit-details-marker{display:none}.payment-calculations>summary svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;transform:rotate(90deg)}.payment-calculations[open]>summary svg{transform:rotate(-90deg)}.calculation-body{padding-top:16px}.calculation-body .key-value{align-items:baseline;font-size:12px;gap:14px}.calculation-body .key-value .value{white-space:nowrap}.cost-rows{border-top:1px solid #eee6db;margin-top:12px;padding-top:12px}.cost-total{border-top:1px solid #eee6db;padding-top:13px;margin-top:14px}.calculation-note{font-size:11px;line-height:1.7;color:#8e7e69;margin:15px 0 0}.packaging-block{background:white;border:1px solid #e9e1d5;border-radius:18px;margin-top:16px;overflow:hidden}.packaging-block .package-card{border:0;border-radius:0;background:white;margin:0}.packaging-block .package-card+.package-card{border-top:1px solid #eee6db}.package-postcard{display:flex;gap:18px;padding:22px;border-top:1px solid #eee6db}.package-postcard strong{font-size:13px}.postcard-symbol{display:grid;place-items:center;width:48px;height:38px;border:1px solid #e5d9c9;border-radius:6px;font-size:24px;color:#b59c79;flex:none}.postcard-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7;margin:5px 0 0}.muted{color:#9a8974}.side-revision{display:block;margin-top:7px;font-size:10px;color:#9b8469}.postcard-choice{display:flex;align-items:center;gap:8px;margin:22px 0 14px;font-size:13px}.postcard-input{margin-top:12px}
.editing-order{overflow:hidden}.order-workspace{position:fixed;inset:14px;z-index:50;display:flex;flex-direction:column;background:#f6f0e8;border:1px solid #e8ded0;border-radius:22px;box-shadow:0 20px 100px #29241f55;overflow:hidden}.workspace-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:19px 26px;background:white}.workspace-eyebrow{font-size:10px;color:#97836b}.workspace-title{font-size:17px;letter-spacing:-.3px;line-height:1.4;margin:4px 0 0}.workspace-close{font-size:26px;flex:none}.workspace-context{display:flex;align-items:flex-end;gap:20px;padding:14px 26px;border-top:1px solid #f1eadd;border-bottom:1px solid #e8ded0}.workspace-context label{display:flex;flex-direction:column;gap:5px;font-size:10px;color:#8b7962}.workspace-context select{border:1px solid #e3d7c7;background:white;border-radius:9px;font:inherit;font-size:12px;color:#393127;padding:9px;max-width:350px}.workspace-status{font-size:11px;color:#8b7962;padding-bottom:8px}.workspace-status.error{color:#a4462e}.workspace-body{flex:1;min-height:0;overflow:auto}.order-editor-frame{display:block;border:0;width:100%;height:100%;min-height:650px;background:#f6f0e8}
@media(max-width:820px){.order-workspace{inset:0;border-radius:0}.workspace-header{padding:16px}.workspace-context{padding:12px 16px;gap:10px;flex-wrap:wrap}.workspace-context label{flex:1;min-width:120px}.workspace-context select{max-width:100%;width:100%}.workspace-title{font-size:14px}.workspace-status{width:100%;padding:0}.order-editor-frame{min-height:1050px}.payment-figures{gap:18px}.payment-figures .total-amount{font-size:30px}.package-postcard{padding:17px}}

/* Compact order composition and complete operational names. */
.composition-row .order-created{color:var(--ink);font-size:12px;font-weight:600}.composition-row .order-customer{color:var(--ink);white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;max-width:none}.composition-row .order-title{flex-wrap:wrap;row-gap:5px}.composition-row .order-id{margin-left:0}.items-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.product-layout-card{min-width:0;margin:0;padding:18px}.product-layout-head{gap:8px;margin-bottom:9px}.product-layout-head .item-name{font-size:14px}.engraved-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.engraved-gallery .side-photo{height:220px}.engraved-gallery .engraved-side:only-child{grid-column:1/-1}.engraved-gallery .engraved-side>figcaption{margin:6px 0;font-size:10px}.plain-product>img{height:220px}.packaging-block{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:0}.packaging-block .package-card,.packaging-block .package-postcard{margin:0;border:0;padding:20px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;min-width:0}.packaging-block .package-card+.package-card{border-top:0}.packaging-block .package-card:nth-child(even),.packaging-block .package-postcard{border-left:1px solid #eee6db}.packaging-block .package-card img,.packaging-block .package-postcard .postcard-photo{width:136px;height:136px;object-fit:contain;flex:none}.packaging-block .package-copy,.packaging-block .package-postcard strong{font-size:13px}.packaging-block .postcard-text{font-size:12px;line-height:1.6}.payment-card{position:relative}.payment-card>.order-data-pencil{position:absolute;right:16px;top:13px}.payment-card>.info-heading{padding-right:35px}
@media(max-width:1190px) and (min-width:821px){.detail-grid{grid-template-columns:minmax(0,1fr) 260px}.product-layout-card{padding:13px}.product-layout-head{flex-wrap:wrap}.engraved-gallery .side-photo{height:190px}.product-layout-head .item-name{font-size:12px}}
@media(max-width:820px){.items-list{gap:12px}.engraved-gallery .side-photo{height:230px}}
@media(max-width:600px){.items-list{grid-template-columns:1fr}.engraved-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.engraved-gallery .side-photo{height:230px}.composition-row .order-created{font-size:11px;flex-basis:auto}.composition-row .order-customer{font-size:13px}.composition-row .order-title{column-gap:9px}.composition-row .order-id{font-size:10px}.packaging-block .package-card,.packaging-block .package-postcard{padding:14px 10px;gap:9px}.packaging-block .package-card img,.packaging-block .package-postcard .postcard-photo{width:108px;height:108px}.packaging-block .package-copy,.packaging-block .package-postcard strong{font-size:11px}.packaging-block .postcard-text{font-size:11px}}
.payment-figures.has-cents{gap:10px}.payment-figures.has-cents .total-amount{font-size:26px}.payment-figures.has-cents .profit-figure>span{font-size:15px}

/* Keep every order filter reachable on narrow screens. */
@media(max-width:540px){.toolbar-right{min-width:0;flex-wrap:wrap;gap:8px}.filter-tabs{min-width:0;flex-wrap:wrap;flex:1 1 200px}.filter-toggle{flex:0 0 34px}}
/* Custom select wrappers follow the existing extra-filter row widths. */
.extra-filters>.pult-select-control{flex:0 1 180px;width:180px;max-width:180px;min-width:105px}
@media(max-width:540px){.extra-filters>.pult-select-control{flex:1 1 105px;width:auto;max-width:100%}}

/* Phone navigation: full content width, using the same desktop navigation and brand. */
.mobile-nav-header,.mobile-menu-close,.mobile-nav-backdrop{display:none}
/* Order metadata remains readable in both the list and the composition. */
.count-label,.stage-filters>span,.stage-filter,.composition-row .order-id,.composition-row .payment-label,.composition-row .deadline-sub{color:#6f6253;font-size:12px}
.composition-row .payment-label.paid{color:#4c7042}
.composition-row .order-created,.composition-row .deadline-main{font-size:12px}
.composition-thumb figcaption{font-size:11px;color:#6f6253}
body .order-stage-count{font-size:11px}
.engraved-gallery .engraved-side>figcaption,.product-layout-head .item-number,.product-layout-head .item-description{font-size:12px;color:#6f6253}
@media(max-width:720px){
  .app-shell{display:block}
  .app-shell .mobile-nav-header{height:56px;display:flex;align-items:center;gap:14px;padding:6px 14px;border-bottom:1px solid var(--line);background:var(--paper);position:sticky;top:0;z-index:30}
  .mobile-nav-header>img{width:107px;height:30px;object-fit:contain}
  .mobile-menu-toggle,.app-shell .mobile-menu-close{width:44px;height:44px;flex:none;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;background:var(--white)}
  .app-shell .mobile-menu-close{position:absolute;right:12px;top:12px}
  .mobile-menu-toggle svg,.mobile-menu-close svg{width:22px;height:22px}
  .app-shell .main{margin-left:0;width:100%;min-width:0}
  .app-shell .sidebar{display:none;width:min(292px,calc(100vw - 48px));padding:20px 18px 22px;z-index:91;overflow-y:auto;overscroll-behavior:contain}
  .app-shell.mobile-menu-open .sidebar{display:flex}
  .app-shell .mobile-nav-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:#29241f66;z-index:90;touch-action:none}
  .app-shell .sidebar .brand{height:50px;padding-left:12px;flex:none}
  .app-shell .sidebar .brand>img{display:block;width:128px;height:36px}
  .app-shell .sidebar .brand>.brand-short{display:none}
  .app-shell .sidebar .navigation{margin-top:12px;gap:5px}
  .app-shell .sidebar .nav-item{justify-content:flex-start;min-height:46px;padding:11px 13px;gap:13px;font-size:14px;border-radius:13px}
  .app-shell .sidebar .nav-label,.app-shell .sidebar .sidebar-foot>span{display:inline!important}
  .app-shell .sidebar .nav-item svg{width:19px;height:19px}
  .app-shell .sidebar .sidebar-foot{padding:15px 5px 0 12px;border-top:1px solid var(--line);justify-content:flex-start}
  .app-shell .sidebar .sidebar-resize,.app-shell .sidebar .collapse-toggle{display:none!important}
}
.delivery-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.delivery-head .info-heading{margin:0}.delivery-edit{font:inherit;font-size:11px;color:#756047;border:0;background:none;padding:7px 0;cursor:pointer}.delivery-service{font-size:14px;font-weight:600;line-height:1.6;margin:0 0 18px;color:#473a2e}.delivery-details{margin:0}.delivery-row{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;margin:11px 0;font-size:12px;line-height:1.65}.delivery-row dt{color:#8b7a65}.delivery-row dd{margin:0;color:#4c4033;overflow-wrap:anywhere}.delivery-empty{color:#a09586}.delivery-code{word-break:break-all}.delivery-copy{font:inherit;font-size:18px;line-height:1;min-width:30px;min-height:28px;margin:-5px -6px -5px 4px;background:transparent;border:0;color:#887051;vertical-align:middle;cursor:pointer}.delivery-copy:disabled{opacity:.35;cursor:default}.delivery-actions{display:flex;flex-direction:column;gap:9px;margin-top:21px}.delivery-actions button,.delivery-dialog footer button{font:inherit;font-size:12px;line-height:1.4;border:1px solid #e7ddce;border-radius:10px;background:#fff;padding:11px 12px;color:#69543e;cursor:pointer}.delivery-actions button:disabled{color:#a29686;background:#f8f5ef;cursor:default}.delivery-actions button:first-child:not(:disabled){background:#f6e6ab;border-color:#ead895;color:#564121}.delivery-card button:focus-visible,.delivery-dialog button:focus-visible,.delivery-dialog input:focus-visible,.delivery-dialog textarea:focus-visible{outline:2px solid #9d7531;outline-offset:3px}.delivery-overlay{position:fixed;inset:0;background:#30291d66;z-index:100;display:flex;justify-content:center;align-items:center;padding:24px;overflow:auto}.delivery-dialog{font-family:Manrope,sans-serif;background:#faf6ef;color:#4c4033;width:680px;max-width:100%;max-height:calc(100dvh - 48px);overflow:auto;border:1px solid #e5d9c9;border-radius:19px;box-shadow:0 22px 90px #2c251f44}.delivery-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:23px 26px;background:white;position:sticky;top:0;z-index:1;border-bottom:1px solid #eee5d9}.delivery-dialog h2{margin:0;font-size:18px;font-weight:600}.delivery-close{font:inherit;background:transparent;border:0;font-size:26px;line-height:1;min-width:35px;min-height:35px;color:#927b5e;cursor:pointer}.delivery-dialog form{padding:24px 26px 10px}.delivery-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.delivery-field{font-size:11px;line-height:1.5;color:#8a745c;display:flex;flex-direction:column;gap:7px;min-width:0}.delivery-field input,.delivery-field textarea{font:inherit;font-size:13px;line-height:1.65;color:#403326;background:#fff;border:1px solid #e4d9c9;border-radius:9px;padding:10px 11px;width:100%;box-sizing:border-box;min-width:0}.delivery-field textarea{resize:vertical;min-height:64px}.delivery-wide{grid-column:1/-1}.delivery-dialog footer{padding:18px 26px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #eee5d9;background:#faf6ef;position:sticky;bottom:0}.delivery-dialog footer .delivery-save,.delivery-dialog footer [data-delivery-print-confirm]{background:#f1d679;border-color:#e7c967;color:#4c3a19}.delivery-dialog footer button:disabled{opacity:.55;cursor:default}.delivery-error{min-height:20px;font-size:12px;line-height:1.6;color:#a84c33;margin:15px 0 0}.delivery-print-preview{padding:25px;text-align:center}.delivery-print-preview img{width:auto;max-width:100%;max-height:58vh;object-fit:contain;background:white}.delivery-print-preview p{font-size:14px}.delivery-print-frame{position:absolute;width:1px;height:1px;border:0;left:-10000px}.delivery-card .info-heading{font-size:13px}@media(max-width:600px){.delivery-overlay{padding:0;align-items:stretch}.delivery-dialog{width:100%;border-radius:0;max-height:100dvh;min-height:100dvh;border:0}.delivery-dialog>header{padding:16px 18px}.delivery-dialog h2{font-size:16px}.delivery-dialog form{padding:20px 18px 10px}.delivery-dialog footer{padding:16px 18px}.delivery-fields{grid-template-columns:1fr;gap:16px}.delivery-wide{grid-column:auto}.delivery-field{font-size:12px}.delivery-field input,.delivery-field textarea{font-size:16px}.delivery-row{grid-template-columns:90px minmax(0,1fr);gap:10px}.delivery-copy{min-width:32px;min-height:32px}}
.order-data-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.order-data-head .info-heading{margin:0}.order-data-pencil,.delivery-edit{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:7px;border:0;background:transparent;color:#887051;border-radius:7px;cursor:pointer;flex:none}.order-data-pencil:hover,.delivery-edit:hover{background:#f4ecdd}.order-data-pencil:focus-visible,.order-contact-icon:focus-visible,.order-stage-button:focus-visible{outline:2px solid #9d7531;outline-offset:3px}.order-contact-links{display:flex;gap:9px;margin:10px 0 16px}.order-contact-icon{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;border:1px solid #e7ddce;border-radius:9px;color:#806b50;background:#fff;text-decoration:none}.client-contacts a{color:inherit;text-decoration:none;overflow-wrap:anywhere}.client-contacts a:hover{text-decoration:underline}.order-stage-button{font-family:inherit;display:inline-flex;align-items:center;gap:9px;cursor:pointer}.order-stage-button svg{width:13px;height:13px}.order-data-overlay{position:fixed;inset:0;background:#30291d66;z-index:110;display:flex;align-items:center;justify-content:center;padding:24px;overflow:auto}.order-data-dialog{font-family:Manrope,sans-serif;background:#faf6ef;color:#4c4033;width:680px;max-width:100%;max-height:calc(100dvh - 48px);overflow:auto;border:1px solid #e5d9c9;border-radius:19px;box-shadow:0 22px 90px #2c251f44}.order-data-dialog-small{width:450px}.order-data-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:23px 26px;background:#fff;position:sticky;top:0;z-index:1;border-bottom:1px solid #eee5d9}.order-data-dialog h2{margin:0;font-size:18px;font-weight:600}.order-data-close{font:inherit;background:transparent;border:0;font-size:26px;line-height:1;min-width:35px;min-height:35px;color:#927b5e;cursor:pointer}.order-data-dialog form{padding:24px 26px 10px}.order-data-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.order-data-field{font-size:11px;line-height:1.5;color:#8a745c;display:flex;flex-direction:column;gap:7px;min-width:0}.order-data-field input,.order-data-field select{font:inherit;font-size:13px;line-height:1.65;color:#403326;background:#fff;border:1px solid #e4d9c9;border-radius:9px;padding:10px 11px;width:100%;box-sizing:border-box;min-width:0}.order-data-field [aria-invalid=true]{border-color:#a84c33}.order-data-wide{grid-column:1/-1}.order-data-expenses{border:0;border-top:1px solid #e7ddce;padding:18px 0 0;margin:25px 0 0}.order-data-expenses legend{font-size:13px;font-weight:600;padding-right:12px}.order-data-dialog footer{padding:18px 26px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #eee5d9;background:#faf6ef;position:sticky;bottom:0}.order-data-dialog footer button{font:inherit;font-size:12px;line-height:1.4;border:1px solid #e7ddce;border-radius:10px;background:#fff;padding:11px 16px;color:#69543e;cursor:pointer}.order-data-dialog footer .order-data-save{background:#f1d679;border-color:#e7c967;color:#4c3a19}.order-data-dialog footer button:disabled{opacity:.55;cursor:default}.order-data-dialog button:focus-visible,.order-data-dialog input:focus-visible,.order-data-dialog select:focus-visible{outline:2px solid #9d7531;outline-offset:3px}.order-data-error{min-height:20px;font-size:12px;line-height:1.6;color:#a84c33;margin:15px 0 0}@media(max-width:600px){.order-data-overlay{padding:0;align-items:stretch}.order-data-dialog{width:100%;border-radius:0;max-height:100dvh;min-height:100dvh;border:0}.order-data-dialog>header{padding:16px 18px}.order-data-dialog h2{font-size:16px}.order-data-dialog form{padding:20px 18px 10px}.order-data-dialog footer{padding:16px 18px}.order-data-fields{grid-template-columns:1fr;gap:16px}.order-data-wide{grid-column:auto}.order-data-field{font-size:12px}.order-data-field input,.order-data-field select{font-size:16px}}
/* Order identity and actions; unrelated list/editor styles stay scoped. */
.order-row-open{text-decoration:none}
.order-row-open::after{content:"";position:absolute;inset:0;border-radius:inherit}
.order-row-open:focus-visible{outline:none}
.order-row-open:focus-visible::after{outline:2px solid var(--brown);outline-offset:4px}
.order-row .order-stage-button{position:relative;z-index:1;max-width:100%;white-space:normal;text-align:left}
.order-heading-row{--heading-line:40px;display:flex;align-items:flex-start;gap:20px;margin-bottom:30px;min-width:0}
.order-heading-row .order-heading{display:flex;flex:1 1 auto;flex-wrap:wrap;align-items:baseline;gap:0 16px;min-width:0;margin:0;font-size:28px;font-weight:600;line-height:var(--heading-line);letter-spacing:-.65px;color:#29241f}
.order-heading .heading-date,.order-heading .heading-order-id{white-space:nowrap}
.order-heading .heading-customer{overflow-wrap:anywhere;min-width:0}
.order-heading-row .order-stage-button{box-sizing:border-box;flex:0 0 auto;min-height:var(--heading-line);margin:0;padding:0 14px;max-width:none;border-radius:10px;font-size:13px;line-height:1.4;white-space:nowrap}
.order-heading-row .order-stage-button svg{width:15px;height:15px}
.order-composition-heading{align-items:center;gap:14px}
.composition-heading-copy{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 12px;min-width:0}
.composition-heading-copy h2{margin:0}
.composition-heading-copy small{white-space:nowrap}
.order-export-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:8px;min-height:40px;padding:9px 13px;font-size:12px;line-height:1.4;border:1px solid #ddcfbb;background:#fff;color:#73614b;border-radius:10px;white-space:nowrap}
.order-export-button svg{width:17px;height:17px;flex:none}
.order-export-button:disabled{opacity:.55;cursor:default}
.order-contact-links{gap:10px;margin:18px 0}
.order-contact-icon{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:7px;border:1px solid #e7ddce;border-radius:12px;background:#fff;color:#655341}
.order-contact-icon img{display:block;width:28px;height:28px;object-fit:contain}
.order-contact-icon.contact-email{background:#faf6ef}
.order-contact-icon:disabled{cursor:default;opacity:.5}
.order-contact-icon:disabled img{filter:grayscale(.6)}
.order-contact-icon:not(:disabled):hover{background:#faf6ef;border-color:#c8b292}
@media(max-width:820px){
 .order-heading-row{--heading-line:36px;gap:12px;margin-bottom:24px;flex-wrap:wrap}
 .order-heading-row .order-heading{font-size:25px;letter-spacing:-.4px;flex-basis:100%;gap:0 12px}
 .order-heading-row .order-stage-button{font-size:12px}
}
@media(max-width:540px){
 .order-heading-row .order-heading{font-size:24px;gap:0 10px}
 .order-heading .heading-date{flex-basis:100%}
 .order-heading .heading-order-id{font-size:20px}
 .order-composition-heading{align-items:center;gap:8px}
 .composition-heading-copy{gap:3px 8px}
 .order-export-button{font-size:11px;padding:9px 10px;gap:5px;min-height:40px}
 .order-export-button svg{width:15px;height:15px}
}
.catalogue-overlay{position:fixed;inset:0;z-index:1600;display:grid;place-items:center;padding:20px;background:#29231f66;color:#352e29}.catalogue-dialog{display:flex;flex-direction:column;width:min(1180px,100%);max-height:calc(100dvh - 40px);min-height:0;background:#faf8f4;border:1px solid #e3dacf;border-radius:20px;box-shadow:0 20px 80px #1f191f30;overflow:hidden}.catalogue-dialog header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px 12px}.catalogue-dialog h2{font-size:23px;margin:0}.catalogue-close{width:38px;height:38px;border:1px solid #e3dacf;border-radius:50%;background:#fff;font:inherit;font-size:25px;color:inherit;cursor:pointer}.catalogue-toolbar{display:flex;align-items:center;gap:16px;padding:0 24px 16px}.catalogue-toolbar input{flex:1;min-width:0;padding:11px 14px;border:1px solid #e3dacf;border-radius:10px;background:#fff;font:inherit;color:inherit}.catalogue-toolbar>span{font-size:12px;color:#85786b;white-space:nowrap}.catalogue-body{display:grid;grid-template-columns:170px minmax(0,1fr);gap:18px;padding:0 24px;min-height:0;overflow:hidden}.catalogue-groups{display:flex;flex-direction:column;gap:6px;overflow:auto;padding-bottom:16px}.catalogue-groups button{min-height:38px;padding:9px 10px;border:1px solid transparent;border-radius:9px;background:transparent;font:inherit;font-size:13px;color:inherit;text-align:left;cursor:pointer}.catalogue-groups button[aria-pressed=true]{background:#fff5d8;border-color:#dfc477}.catalogue-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));align-content:start;gap:14px;overflow:auto;min-height:0;padding:1px 5px 18px 1px;scrollbar-gutter:stable}.catalogue-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e3dacf;border-radius:15px;padding:10px;min-width:0}.catalogue-card.selected{border-color:#cfae42;box-shadow:0 0 0 1px #cfae42}.catalogue-product{display:flex;flex-direction:column;gap:8px;border:0;background:none;color:inherit;font:inherit;font-size:13px;line-height:1.4;text-align:left;cursor:pointer;padding:0;flex:1}.catalogue-product img{object-fit:contain;width:100%;height:auto;aspect-ratio:1;background:#fff}.catalogue-card small{font-size:11px;color:#897b6d;margin-top:5px}.catalogue-quantity{display:flex;align-items:center;justify-content:center;gap:5px;margin-top:12px}.catalogue-quantity button{width:30px;height:30px;border:1px solid #e3dacf;border-radius:7px;background:#f8f5ef;color:inherit;font:inherit;cursor:pointer}.catalogue-quantity label{min-width:0}.catalogue-quantity input{width:48px;min-width:0;height:30px;padding:4px;border:1px solid #e3dacf;border-radius:7px;text-align:center;background:#fff;color:inherit;font:inherit;font-size:13px}.catalogue-unit{font-size:11px;color:#897b6d}.catalogue-dialog footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;border-top:1px solid #e8e0d5;padding:14px 24px}.catalogue-dialog footer>span{margin-right:auto;font-size:13px}.catalogue-dialog footer button{padding:10px 16px;min-height:40px;border:1px solid #ded3c4;border-radius:9px;background:#fff;font:inherit;font-size:13px;color:inherit;cursor:pointer}.catalogue-dialog footer .catalogue-confirm{background:#485f46;border-color:#485f46;color:white}.catalogue-dialog button:disabled{opacity:.4;cursor:default}.catalogue-dialog button:focus-visible,.catalogue-dialog input:focus-visible{outline:2px solid #c7a63a;outline-offset:2px}.catalogue-error{flex:none;min-height:18px;margin:0;padding:6px 24px;color:#a13d2b;font-size:12px}.catalogue-empty{font-size:14px;color:#897b6d}.chosen-products{display:flex;flex-direction:column;gap:6px}.chosen-product{display:flex;align-items:center;gap:10px;font-size:13px}.chosen-product img{flex:none;object-fit:contain}.choose-products-button{margin-top:8px}.catalogue-dialog .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:650px){.catalogue-overlay{padding:10px}.catalogue-dialog{max-height:calc(100dvh - 20px)}.catalogue-dialog header{padding:16px}.catalogue-toolbar{padding:0 16px 12px}.catalogue-body{grid-template-columns:1fr;padding:0 16px;gap:10px;flex:1}.catalogue-groups{flex-direction:row;overflow:auto;padding-bottom:5px}.catalogue-groups button{white-space:nowrap;flex:none}.catalogue-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.catalogue-dialog footer{padding:12px 16px}.catalogue-dialog footer button{padding:9px 12px}.catalogue-error{padding:6px 16px}}
.catalogue-quantity input[aria-invalid=true]{border-color:#a13d2b;box-shadow:0 0 0 1px #a13d2b}
.order-export-overlay{position:fixed;inset:0;background:#1d25264d;z-index:1100;display:grid;place-items:center;padding:20px}.order-export-dialog{background:var(--surface,#fff);border:1px solid var(--border,#e2e6e2);border-radius:18px;padding:24px;box-shadow:0 18px 80px #14231d26;width:min(540px,100%);max-height:calc(100dvh - 40px);overflow:auto}.order-export-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.order-export-dialog h2{margin:0;font-size:24px}.order-export-dialog header button{font-size:26px}.export-format-list{font-size:15px;color:var(--muted,#737d75);margin:12px 0 24px}.export-destination{border:1px solid var(--border,#e2e6e2);padding:16px;border-radius:12px;display:grid;gap:12px}.export-destination>span{font-size:13px;color:var(--muted,#737d75)}.export-destination strong{font-weight:500;overflow-wrap:anywhere}.export-destination .button{justify-self:start}.export-status{font-size:14px;line-height:1.5;margin:20px 0;min-height:42px;overflow-wrap:anywhere}.export-status.error{color:#a33636}.order-export-dialog footer{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.order-export-dialog [hidden]{display:none!important}.order-export-dialog .button:disabled{opacity:.5;cursor:default}@media(max-width:600px){.order-export-overlay{padding:12px}.order-export-dialog{padding:20px;max-height:calc(100dvh - 24px)}.order-export-dialog footer{display:grid}.order-export-dialog footer .button{justify-content:center}}
.export-folder-actions{display:flex;gap:8px;flex-wrap:wrap}.export-folder-actions .button svg{width:18px;height:18px;flex:none}.export-folder-actions .button{display:inline-flex;align-items:center;gap:8px}
.review-card .info-heading{font-size:13px}.review-status{font-size:13px;line-height:1.7;color:#4c4033;margin:15px 0 7px}.review-status.review-due{font-weight:600;color:#725823}.review-received{font-size:11px;line-height:1.65;color:#8b7a65;margin:0}.review-actions{display:flex;flex-direction:column;gap:9px;margin-top:17px}.review-actions:empty{display:none}.review-button,.review-dialog footer button{font:inherit;font-size:12px;line-height:1.4;border:1px solid #e7ddce;border-radius:10px;background:#fff;padding:11px 12px;color:#69543e;cursor:pointer}.review-button[data-review-action=requested]{background:#f6e6ab;border-color:#ead895;color:#564121}.review-badge{display:inline-flex;align-items:center;border-radius:7px;background:#f6e6ab;color:#725823;font-size:11px;line-height:1.4;font-weight:500;padding:4px 8px;margin-top:5px}.review-card button:focus-visible,.review-dialog button:focus-visible,.review-dialog input:focus-visible{outline:2px solid #9d7531;outline-offset:3px}.review-overlay{position:fixed;inset:0;background:#30291d66;z-index:115;display:flex;align-items:center;justify-content:center;padding:24px;overflow:auto}.review-dialog{font-family:Manrope,sans-serif;background:#faf6ef;color:#4c4033;width:470px;max-width:100%;max-height:calc(100dvh - 48px);overflow:auto;border:1px solid #e5d9c9;border-radius:19px;box-shadow:0 22px 90px #2c251f44}.review-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:23px 26px;background:#fff;border-bottom:1px solid #eee5d9}.review-dialog h2{font-size:18px;font-weight:600;margin:0}.review-close{font:inherit;border:0;background:transparent;color:#927b5e;font-size:26px;line-height:1;min-height:35px;min-width:35px;cursor:pointer}.review-dialog form{padding:24px 26px 10px}.review-field{font-size:11px;line-height:1.5;color:#8a745c;display:flex;flex-direction:column;gap:7px}.review-field input{font:inherit;font-size:13px;line-height:1.65;color:#403326;background:#fff;border:1px solid #e4d9c9;border-radius:9px;padding:10px 11px;min-width:0;box-sizing:border-box;width:100%}.review-confirm{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.7;margin:19px 0 0;cursor:pointer}.review-confirm input{flex:none;width:17px;height:17px;margin:2px 0 0;accent-color:#9d7531}.review-dialog-copy{font-size:12px;line-height:1.7;margin:0}.review-error{font-size:12px;line-height:1.6;color:#a84c33;margin:15px 0 0}.review-dialog .review-error{min-height:20px}.review-dialog footer{display:flex;justify-content:flex-end;gap:10px;padding:18px 26px;border-top:1px solid #eee5d9;background:#faf6ef}.review-dialog footer .review-save{background:#f1d679;border-color:#e7c967;color:#4c3a19}.review-dialog footer button:disabled{opacity:.55;cursor:default}@media(max-width:600px){.review-overlay{padding:0;align-items:stretch}.review-dialog{width:100%;border:0;border-radius:0;max-height:100dvh;min-height:100dvh}.review-dialog>header{padding:16px 18px}.review-dialog h2{font-size:16px}.review-dialog form{padding:20px 18px 10px}.review-dialog footer{padding:16px 18px;flex-wrap:wrap}.review-field{font-size:12px}.review-field input{font-size:16px}}

.review-filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;border-radius:50%;margin-left:6px;background:var(--green,#dcebbd);font-size:10px;padding:0 4px}.row-stage .review-badge{display:table}
.clarity-chats{min-width:0;color:var(--ink);font:14px/1.5 Manrope,Arial,sans-serif}.ch-workspace{position:relative;display:grid;grid-template-columns:var(--ch-list-width,290px) minmax(0,1fr);height:calc(100dvh - 74px);min-height:540px;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden}.ch-sidebar{min-width:0;display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line)}.ch-list-tools{padding:24px 19px 16px;border-bottom:1px solid var(--line)}.ch-list-tools h1{font-size:26px;letter-spacing:-.7px;margin:0 0 22px}.ch-search{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:11px;padding:0 10px;background:#fcfaf7}.ch-search svg{width:17px;height:17px;color:#817466}.ch-search input{min-width:0;border:0;background:transparent;width:100%;padding:10px 0;border-radius:0;font-size:13px}.ch-channels{display:flex;gap:4px;flex-wrap:wrap;margin-top:14px}.ch-channels button{padding:6px 9px;border-radius:8px;font-size:12px;color:#746a5e}.ch-channels button.is-active{background:#f3ede5;color:var(--ink);font-weight:650}.ch-chat-list{min-height:0;overflow-y:auto;padding:7px}.ch-row{width:100%;display:flex;text-align:left;gap:11px;padding:17px 12px;border-radius:12px;align-items:flex-start;margin:2px 0}.ch-row:hover{background:#faf7f2}.ch-row.is-selected{background:#f6f0e8}.ch-avatar{width:40px;height:40px;border-radius:50%;background:#eee5d9;color:#715b44;display:grid;place-items:center;flex:none;font-weight:650;font-size:15px}.ch-row-copy{display:flex;flex-direction:column;min-width:0;flex:1}.ch-row-head{display:flex;gap:6px;align-items:center;justify-content:space-between}.ch-row-head strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}.ch-row-time{display:flex;align-items:center;gap:7px;flex:none;font-size:10px;color:#7a7067}.ch-unread{width:7px;height:7px;background:#57834a;border-radius:50%;flex:none}.ch-channel{display:block;color:#7e7266;font-size:11px;line-height:1.6}.ch-snippet{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:5px;font-size:12px;color:#746a5e}.ch-list-empty{padding:25px 12px;color:#7a7067;font-size:13px}.ch-thread{display:flex;flex-direction:column;min-height:0;min-width:0}.ch-thread-header{flex:none;background:white;border-bottom:1px solid var(--line)}.ch-peer-line{display:flex;align-items:center;gap:12px;padding:20px 24px 15px}.ch-peer-line h2{font-size:17px;margin:0;font-weight:650;letter-spacing:-.2px}.ch-disconnected{font-size:11px;color:#8b6746;margin-left:auto;background:#faf3e9;padding:5px 9px;border-radius:6px;white-space:nowrap}.ch-back{display:none;align-items:center;justify-content:center;min-width:36px;min-height:40px;padding:0}.ch-mode{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 24px;padding:0 0 13px;border-bottom:1px solid #f0e9df}.ch-mode>div{display:flex;flex-direction:column;gap:2px}.ch-responsibility{font-size:12px;color:#736657}.ch-responsibility strong{color:var(--ink);font-weight:650}.ch-bot-state{font-size:11px;color:#817466}.ch-mode>button{border:1px solid var(--line);border-radius:8px;padding:7px 10px;font-size:11px;flex:none;background:white}.ch-mode>button:hover{background:#f6f0e8}.ch-product-context{display:flex;align-items:center;gap:11px;padding:13px 24px}.ch-product-context>img,.ch-product-placeholder{width:45px;height:45px;object-fit:contain;flex:none;background:#fbf8f3;border:1px solid #f0e9df;border-radius:8px}.ch-product-placeholder{display:grid;place-items:center;color:#a3927d}.ch-product-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.ch-context-label{font-size:10px;color:#887967}.ch-product-copy strong{font-size:12px;font-weight:550;overflow-wrap:anywhere}.ch-order-link{margin-left:auto;flex:none;font-size:12px;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}.ch-order-link span{margin-left:4px}.ch-no-order{margin-left:auto;flex:none;font-size:11px;color:#827567}.ch-order-context{margin:0 24px 12px;font-size:11px;color:#796956}.ch-order-context summary{cursor:pointer;width:max-content}.ch-order-context>div{display:flex;gap:20px;padding:10px 0 2px;flex-wrap:wrap}.ch-order-context p{white-space:pre-wrap;color:var(--ink);font-size:12px;margin-top:3px;overflow-wrap:anywhere}.ch-log-wrap{position:relative;flex:1;min-height:0;background:#fcfaf7}.ch-log{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;align-items:flex-start;padding:18px 26px 20px;gap:13px;scrollbar-gutter:stable}.ch-day{font-size:10px;color:#96846e;text-align:center;align-self:center;padding:3px 10px;margin:0 0 2px}.ch-message{flex:none;max-width:min(85%,640px);padding:12px 15px 9px;border:1px solid #ece5db;border-radius:14px 14px 14px 3px;background:#fff;min-width:125px;overflow-wrap:anywhere}.ch-message.is-out{align-self:flex-end;background:#f6edda;border-color:#eee1c7;border-radius:14px 14px 3px 14px}.ch-message-text{font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.ch-message-author{font-size:11px;font-weight:650;color:#705636;margin:0 0 4px}.ch-author-detail{font-weight:400;font-size:10px;color:#887763}.ch-message footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;font-size:10px;color:#8f7f6b;margin-top:5px;flex-wrap:wrap}.ch-receipt{display:inline-flex;gap:4px;align-items:center;color:#8b7a66;font-size:9px}.ch-receipt>span[aria-hidden]{font-size:11px;letter-spacing:-2px;padding-right:2px}.ch-receipt.is-read{color:#537d48}.ch-latest{height:1px;min-height:1px;width:1px;flex:none;margin-top:-12px}.ch-jump{position:absolute;left:50%;transform:translateX(-50%);bottom:14px;display:flex;align-items:center;gap:6px;padding:9px 12px;border:1px solid #e1d5c3;border-radius:20px;background:white;box-shadow:0 3px 12px #29241f10;font-size:11px;white-space:nowrap}.ch-jump svg{width:15px;height:15px}.ch-composer{flex:none;border-top:1px solid var(--line);padding:15px 24px 12px;background:white;position:relative}.ch-input-label{display:block;font-size:11px;color:#83725f;margin-bottom:7px}.ch-composer textarea{display:block;width:100%;max-height:180px;min-height:66px;resize:vertical;padding:10px 12px;border-radius:10px;font-size:14px;line-height:1.5;background:#fdfbf8}.ch-compose-bottom{display:flex;align-items:center;gap:10px;margin-top:8px;min-height:38px}.ch-attach-button{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:9px;position:relative;cursor:pointer;overflow:hidden;flex:none}.ch-attach-button input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;padding:0}.ch-attach-button:focus-within{outline:2px solid var(--brown);outline-offset:3px}.ch-attach-button svg{width:18px;height:18px}.ch-draft-status{font-size:10px;color:#897861;line-height:1.4;flex:1}.ch-draft-status.is-error{color:#9e4f39}.ch-retry-save{display:none;border:1px solid var(--line);padding:6px 8px;border-radius:7px;font-size:10px}.ch-composer:has(.ch-draft-status.is-error) .ch-retry-save{display:block}.ch-send{display:flex;align-items:center;justify-content:center;gap:7px;border-radius:9px;background:var(--yellow);min-height:38px;padding:8px 15px;font-size:12px;font-weight:600;flex:none}.ch-send svg{width:16px;height:16px}.ch-send-error{font-size:11px;color:#965437;line-height:1.5;margin:8px 0 0}.ch-attachments{display:flex;gap:8px;overflow:auto;max-height:150px;margin-bottom:0}.ch-attachments:not(:empty){margin-bottom:12px;padding-bottom:4px}.ch-attachment{display:flex;align-items:center;border:1px solid var(--line);border-radius:9px;padding:6px;gap:7px;min-width:170px;max-width:270px;flex:none;background:#fcfaf7}.ch-attachment>img{width:50px;height:50px;object-fit:cover;border-radius:5px;background:white}.ch-file-icon{width:38px;height:45px;display:grid;place-items:center;color:#8c7658;flex:none}.ch-file-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;text-align:left;padding:0;flex:1}.ch-file-name small{display:block;font-size:9px;color:#877964;margin-top:3px}.ch-file-remove{padding:0 3px;align-self:flex-start;font-size:20px;line-height:1.2;min-width:24px;min-height:26px;color:#88745b}.ch-empty-thread{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:30px;color:#7d6c57;text-align:center;background:#fcfaf7}.ch-empty-thread h2{font-size:20px;color:var(--ink)}.ch-empty-thread p{font-size:12px;max-width:280px;line-height:1.8}.ch-loading{padding:35px;color:#7d6c57;font-size:13px}.ch-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1500px){.ch-workspace{--ch-list-width:320px}.ch-log{padding-left:38px;padding-right:38px}.ch-message{max-width:min(78%,680px)}}
@media(max-width:1100px) and (min-width:721px){.ch-workspace{--ch-list-width:250px}.ch-peer-line{padding:17px 16px 12px}.ch-mode{margin:0 16px}.ch-product-context{padding:12px 16px;gap:8px}.ch-order-context{margin-left:16px;margin-right:16px}.ch-peer-line .ch-avatar{display:none}.ch-disconnected{font-size:10px;padding:4px 6px}.ch-log{padding:15px}.ch-composer{padding:12px 16px}.ch-message{max-width:92%}.ch-no-order{display:none}}
@media(max-width:720px){.ch-workspace{display:flex;height:calc(100dvh - 106px);min-height:440px;border-radius:14px}.ch-sidebar{width:100%;border-right:0}.ch-thread{display:none;width:100%}.clarity-chats.has-thread .ch-sidebar{display:none}.clarity-chats.has-thread .ch-thread{display:flex}.ch-back{display:flex}.ch-list-tools{padding:21px 17px 15px}.ch-list-tools h1{font-size:25px;margin-bottom:17px}.ch-row{padding:16px 12px}.ch-row-head strong{font-size:15px}.ch-row-time{font-size:11px}.ch-snippet{font-size:13px}.ch-peer-line{padding:12px 13px 10px;gap:8px}.ch-peer-line .ch-avatar{width:34px;height:34px;font-size:13px}.ch-peer-line h2{font-size:15px}.ch-disconnected{font-size:9px;padding:4px 5px;white-space:normal;max-width:85px;text-align:center}.ch-mode{margin:0 14px;padding-bottom:10px;gap:6px}.ch-mode>button{padding:7px 8px;font-size:10px}.ch-responsibility{font-size:11px}.ch-bot-state{font-size:9px;max-width:190px}.ch-product-context{padding:10px 14px;gap:8px}.ch-product-context>img,.ch-product-placeholder{width:38px;height:38px}.ch-product-copy strong{font-size:11px}.ch-context-label{font-size:9px}.ch-order-link{font-size:10px}.ch-no-order{display:none}.ch-order-context{margin:0 14px 8px;font-size:10px}.ch-log{padding:13px 12px 16px;gap:11px}.ch-message{max-width:92%;padding:9px 11px 7px}.ch-message-text{font-size:14px;line-height:1.6}.ch-message footer{font-size:9px}.ch-composer{padding:10px 12px}.ch-input-label{font-size:10px;margin-bottom:5px}.ch-composer textarea{font-size:14px;min-height:60px;max-height:120px}.ch-compose-bottom{gap:7px;margin-top:7px}.ch-send{padding:8px 12px}.ch-draft-status{font-size:9px}.ch-send-error{font-size:10px}.ch-attachment{min-width:165px;max-width:235px}}
@media(max-height:720px) and (min-width:721px){.ch-workspace{min-height:480px}.ch-peer-line{padding-top:12px;padding-bottom:10px}.ch-composer textarea{min-height:50px}.ch-input-label{display:none}.ch-composer{padding-top:10px}}

/* Platform marks retain original artwork; the white rim separates the badge from the avatar. */
.ch-avatar{position:relative;overflow:visible}.ch-platform{position:absolute;right:-3px;bottom:-3px;display:grid;place-items:center;width:19px;height:19px;border:2px solid #fff;border-radius:50%;background:#fff;overflow:hidden}.ch-platform img{display:block;width:14px;height:14px;object-fit:contain}.ch-file-name{display:block;color:inherit;text-decoration:none}.ch-file-name:hover{text-decoration:underline;text-underline-offset:3px}.ch-file-name:focus-visible{outline:2px solid var(--brown);outline-offset:3px;border-radius:3px}

/* Transparent hit area sits on the existing boundary without adding a visible rail. */
.ch-resizer{position:absolute;z-index:3;left:calc(var(--ch-list-width,290px) - 5px);top:0;bottom:0;width:10px;cursor:col-resize;touch-action:none;background:transparent;border:0}.ch-resizer:focus-visible{outline:2px solid var(--ink);outline-offset:-3px}.ch-resizer[hidden]{display:none}.ch-workspace.is-resizing,.ch-workspace.is-resizing *{cursor:col-resize!important;user-select:none!important}
@media(max-width:720px){.ch-resizer{display:none}}

/* Important metadata stays readable on both message surfaces and at every breakpoint. */
.ch-row-time,.ch-day,.ch-message footer,.ch-receipt,.ch-draft-status,.ch-bot-state,.ch-author-detail,.ch-context-label,.ch-input-label,.ch-file-name,.ch-file-name small,.ch-send-error,.ch-retry-save,.ch-disconnected,.ch-channel,.ch-no-order,.ch-order-context{font-size:12px}
.ch-row-time,.ch-day,.ch-message footer,.ch-receipt,.ch-draft-status,.ch-bot-state,.ch-author-detail,.ch-context-label,.ch-input-label,.ch-file-name small,.ch-channel,.ch-no-order,.ch-order-context{color:#6f6253}
.ch-receipt>span[aria-hidden]{font-size:12px}.ch-peer-avatar{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover}
.ch-receipt.is-read{color:#4c7042}
.ch-draft-status.is-error{color:#9e4f39}
.ch-responsibility,.ch-message-author{font-size:12px}
.ch-mode>div,.ch-draft-status{min-width:0;overflow-wrap:anywhere}
@media(max-width:720px){.ch-compose-bottom{flex-wrap:wrap}.ch-draft-status{flex:1 0 100%;order:1}.ch-send{margin-left:auto}}
.personal-workspace{--personal-ink:#232220;--personal-muted:#77746e;--personal-line:#dedbd4;--personal-paper:#fcfbf7;--personal-yellow:#f4dd79;color:var(--personal-ink);font-family:Manrope,Arial,sans-serif}
.personal-library{max-width:1460px;margin:0 auto;padding:34px 40px 64px}.personal-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.personal-header h1{font-size:30px;line-height:1.2;letter-spacing:-1.05px;margin:0 0 8px;font-weight:650}.personal-header p{font-size:14px;color:var(--personal-muted);margin:0}.personal-button{font:inherit;font-size:13px;font-weight:600;line-height:20px;border:1px solid var(--personal-line);border-radius:8px;background:var(--personal-paper);color:var(--personal-ink);padding:10px 16px;cursor:pointer;white-space:nowrap}.personal-button:hover{background:#f0eee7}.personal-button-primary{background:var(--personal-yellow);border-color:var(--personal-yellow)}.personal-button-primary:hover{background:#ecd16b;border-color:#ecd16b}.personal-button-quiet{background:transparent;color:var(--personal-muted)}.personal-button:disabled{opacity:.5;cursor:wait}.personal-workspace button:focus-visible,.personal-workspace input:focus-visible{outline:2px solid #69623c;outline-offset:3px}.personal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;color:var(--personal-muted);font-size:12px}.personal-search{display:flex;gap:10px;align-items:center;width:min(390px,100%);border:1px solid var(--personal-line);background:var(--personal-paper);padding:11px 14px;border-radius:8px}.personal-search>span{font-size:23px;line-height:16px}.personal-search input{min-width:0;width:100%;padding:0;font:inherit;font-size:13px;border:0;outline:0;background:transparent;color:var(--personal-ink)}.personal-search:focus-within{outline:2px solid #69623c;outline-offset:2px}.personal-search input:focus-visible{outline:none}.personal-feedback{font-size:13px;color:#925229;margin:0}.personal-feedback:not(:empty){margin-bottom:20px}.personal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.personal-card{border:1px solid var(--personal-line);border-radius:12px;overflow:hidden;background:var(--personal-paper);min-width:0}.personal-card-open{display:flex;flex-direction:column;width:100%;height:calc(100% - 64px);padding:0;border:0;text-align:left;background:transparent;color:inherit;font:inherit;cursor:pointer}.personal-card-open:hover .personal-card-images{background:#edeae2}.personal-card-images{display:flex;align-items:center;justify-content:center;gap:8px;background:#f1efe9;width:100%;min-height:204px;padding:24px;box-sizing:border-box}.personal-card-images img{min-width:0;width:100%;max-width:180px;height:152px;object-fit:contain;mix-blend-mode:multiply}.personal-card-images img:not(:only-child){width:calc(50% - 8px);height:132px}.personal-card-images:has(img:nth-child(3)){flex-wrap:wrap;gap:6px}.personal-card-images:has(img:nth-child(3)) img{height:70px;width:calc(50% - 8px)}.personal-card-copy{display:flex;flex:1;flex-direction:column;gap:9px;padding:20px 20px 10px;max-width:100%;box-sizing:border-box}.personal-card-copy strong{font-weight:650;font-size:17px;line-height:1.4;overflow-wrap:anywhere}.personal-card-copy>span{font-size:12px;line-height:1.6;color:var(--personal-muted);overflow-wrap:anywhere}.personal-card-copy .personal-card-date{margin-top:auto;font-size:11px}.personal-card-actions{display:flex;align-items:center;gap:8px;padding:10px 20px 18px}.personal-card-actions .personal-button{padding:7px 13px;font-size:12px}.personal-empty{grid-column:1/-1;text-align:center;border:1px dashed var(--personal-line);border-radius:12px;padding:62px 24px;color:var(--personal-muted)}.personal-empty h2{font-size:20px;color:var(--personal-ink);font-weight:600;margin:12px 0}.personal-empty p{font-size:14px;line-height:1.7;margin:0 0 24px;color:#6e6b65}.personal-empty-mark{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--personal-line);border-radius:12px;margin:0 auto 20px;font-size:28px;font-weight:300;color:var(--personal-ink);background:var(--personal-paper)}.personal-error{border-style:solid}.personal-new-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px;padding:22px;border:1px solid var(--personal-line);border-radius:10px;margin-bottom:26px;background:var(--personal-paper)}.personal-new-form label{display:flex;flex:1;min-width:200px;flex-direction:column;gap:9px;font-size:12px;color:var(--personal-muted)}.personal-new-form input{font:inherit;font-size:14px;color:var(--personal-ink);padding:11px 13px;border:1px solid var(--personal-line);border-radius:7px;background:#fff;min-width:0}.personal-new-form>div{display:flex;gap:8px}.personal-new-form p{flex-basis:100%;font-size:13px;color:#925229;margin:0}.personal-new-form p:empty{display:none}
@media(min-width:1600px){.personal-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.personal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.personal-library{padding:28px 26px 48px}}@media(max-width:600px){.personal-library{padding:24px 16px 40px}.personal-header{align-items:flex-start;gap:12px;margin-bottom:24px}.personal-header h1{font-size:25px}.personal-header .personal-button{padding:9px 12px;font-size:12px}.personal-toolbar{align-items:flex-start;flex-direction:column;gap:10px}.personal-grid{grid-template-columns:minmax(0,1fr);gap:16px}.personal-card-images{min-height:190px}.personal-new-form{padding:16px}.personal-new-form label{min-width:100%}.personal-new-form>div{flex-wrap:wrap}.personal-empty{padding:42px 20px}}
.finance-main{padding:20px 20px 20px 24px!important;min-width:0}
.finance-page{width:100%;max-width:1500px;margin:auto;color:#29241f}
.finance-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}
.finance-heading h1{font-size:30px;letter-spacing:-.8px;margin:0}
.finance-actions{display:flex;gap:10px;flex-wrap:wrap}
.finance-page button,.finance-dialog button,.finance-page input,.finance-page select,.finance-dialog input,.finance-dialog select,.finance-dialog textarea{font:inherit}
.finance-page .finance-button,.finance-dialog .finance-button{min-height:38px;border:1px solid #e3dbd1;background:#fff;color:#29241f;border-radius:8px;padding:9px 14px;cursor:pointer;font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.finance-page .finance-button.primary,.finance-dialog .finance-button.primary{background:#febb01;border-color:#febb01;border-radius:999px;padding:10px 18px}
.finance-page button:disabled,.finance-dialog button:disabled{opacity:.55;cursor:default}
.finance-button svg,.finance-search svg,.finance-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
.finance-period{display:flex;gap:12px;align-items:flex-end;margin-bottom:20px}
.finance-period label{display:flex;align-items:center;gap:9px;font-size:12px}
.finance-page input,.finance-page select,.finance-dialog input,.finance-dialog select,.finance-dialog textarea{border:1px solid #e2d9ce;border-radius:8px;background:#fff;color:#29241f;min-height:38px;padding:8px 10px;max-width:100%;font-size:12px}
.finance-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}
.finance-total{padding:19px 20px;border:1px solid #e8dfd4;background:white;border-radius:12px;min-width:0}
.finance-total>span{font-size:12px;color:#796c5f}
.finance-total strong{display:block;font-size:27px;letter-spacing:-.6px;font-weight:600;margin:9px 0 5px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.finance-total small{font-size:10px;color:#746659}
.finance-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:0 0 16px}
.finance-toolbar select{min-width:145px}
.finance-search{flex:1;min-width:200px;position:relative}
.finance-search input{width:100%;padding-left:37px}
.finance-search svg{position:absolute;left:12px;top:10px;color:#8b7b68}
.finance-list{background:#fff;border:1px solid #e8dfd4;border-radius:12px;overflow:hidden}
.finance-list table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:12px}
.finance-list th{font-size:10px;font-weight:500;color:#8c7b66;padding:13px 15px;text-align:left;background:#fdfbf7}
.finance-list th:nth-child(1){width:13%}
.finance-list th:nth-child(2){width:25%}
.finance-list th:nth-child(3){width:13%}
.finance-list th:nth-child(4){width:16%}
.finance-list th:nth-child(5){width:19%}
.finance-list th:nth-child(6){width:14%}
.finance-list td{padding:17px 15px;border-top:1px solid #efe9e0;overflow-wrap:anywhere}
.finance-list .finance-amount{text-align:right;white-space:nowrap;font-weight:600;font-variant-numeric:tabular-nums}
.finance-amount.incoming{color:#426b4c}
.finance-open{border:0;background:none;color:inherit;text-align:left;cursor:pointer;font:inherit;padding:0;line-height:1.6;width:100%}
.finance-open:hover{color:#9b6500}
.finance-open small{display:block;font-size:10px;color:#746659;font-weight:400;line-height:1.5;margin-top:3px}
.finance-status{font-size:10px;display:inline-block;padding:4px 8px;border-radius:6px;background:#f3f0e9;color:#756858}
.finance-status.actual{background:#edf4e9;color:#46653a}
.finance-status.planned{background:#fff3d7;color:#80601b}
.finance-status.cancelled{background:#f4ece8;color:#845741}
.finance-row.is-cancelled .finance-amount{text-decoration:line-through;color:#746659}
.finance-count{color:#6f6255;font-size:11px;margin-top:12px}
.finance-empty{text-align:center;padding:50px 20px;color:#8b7b68;font-size:13px}
.finance-empty h2{font-size:20px;font-weight:500;color:#514332}
.finance-empty p{margin:10px 0 18px}
.finance-notice{background:#fbf4e5;border:1px solid #ebdfc8;border-radius:8px;padding:12px;font-size:12px;line-height:1.6}
.finance-overlay{position:fixed;inset:0;background:#29241f55;z-index:150;display:flex;justify-content:flex-end;padding:20px;overflow:auto}
.finance-dialog{background:#fdfbf7;color:#29241f;border:1px solid #e3dbd1;border-radius:16px;padding:25px;width:570px;max-width:100%;max-height:100%;overflow-y:auto;box-shadow:0 12px 50px #29241f22;align-self:flex-start}
.finance-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}
.finance-dialog h2{font-size:22px;line-height:1.4;margin:0}
.finance-eyebrow{display:block;font-size:11px;color:#8b7b68;margin-bottom:5px}
.finance-close{width:32px;height:32px;padding:7px;border:1px solid #e3dbd1;border-radius:7px;background:#fff;flex:none;cursor:pointer}
.finance-detail-amount{font-size:32px;font-weight:600;margin-bottom:24px}
.finance-facts{font-size:12px;line-height:1.6;margin:0}
.finance-facts>div{display:grid;grid-template-columns:145px minmax(0,1fr);gap:12px;margin-bottom:12px}
.finance-facts dt{color:#8b7b68}
.finance-facts dd{margin:0;overflow-wrap:anywhere}
.finance-detail-actions{display:flex;gap:10px;margin:25px 0}
.finance-dialog h3{font-size:15px;margin:25px 0 14px}
.finance-history{list-style:none;padding:0;margin:0}
.finance-history li{padding:14px 0;border-top:1px solid #e8dfd4;font-size:12px}
.finance-history li>div{display:flex;justify-content:space-between;gap:12px}
.finance-history li>div>span,.finance-history small{font-size:10px;color:#8b7b68}
.finance-history p{margin:8px 0;font-size:12px;line-height:1.6}
.finance-history details{margin-top:10px}
.finance-history summary{cursor:pointer;color:#796a56;font-size:11px;margin-bottom:10px}
.finance-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.finance-form-wide{grid-column:1/-1}
.finance-field{display:flex;flex-direction:column;gap:7px;font-size:12px;min-width:0}
.finance-dialog textarea{border-radius:10px;resize:vertical}
.finance-dialog fieldset{border:0;padding:0;margin:0;min-width:0}
.finance-form-error{font-size:12px;color:#a04132;line-height:1.6;margin:16px 0;min-height:18px}
.finance-form-actions{display:flex;justify-content:flex-start;gap:10px;margin-top:12px}
.finance-form-error:empty{display:none}
.finance-dialog .finance-form-actions .finance-button{border-radius:999px;width:145px;min-width:120px;min-height:40px;padding:10px 14px}
.finance-dialog .finance-form-actions .finance-button:not(.primary){background:#fff;border-color:#e3dbd1;color:#29241f}
.finance-select{display:block;position:relative;width:100%;min-width:0}
.finance-page .finance-select select,.finance-dialog .finance-select select{appearance:none;-webkit-appearance:none;background-image:none;width:100%;padding-inline-end:36px}
.finance-select-arrow{position:absolute;inset-inline-end:11px;top:50%;transform:translateY(-50%) rotate(90deg);width:15px;height:15px;pointer-events:none;color:#8b7b68}
.finance-select-arrow svg{display:block;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6}
.finance-presets{display:flex;flex-wrap:wrap;gap:7px}
.finance-page .finance-presets .finance-button{font-size:11px;padding:8px 12px;min-height:34px}
.finance-page .finance-presets .is-active{background:#fff4d7;border-color:#e6c778}
.finance-period{align-items:center;flex-wrap:wrap}
.finance-range{font-size:12px;color:#6f6255;white-space:nowrap}
.finance-context{font-size:11px;color:#796c5f;margin:0;line-height:1.6}
.finance-clarify{display:block;color:#916126;font-size:10px;margin-top:5px}
.finance-period-dialog{max-width:500px}
.finance-dialog .finance-button.danger{color:#984537}
.finance-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.finance-page :focus-visible,.finance-dialog :focus-visible{outline:1px solid #aa7800;outline-offset:3px}

@media(max-width:1100px){
.finance-list th,.finance-list td{padding-left:10px;padding-right:10px}
.finance-total strong{font-size:23px}
.finance-heading{align-items:flex-start}
.finance-actions{justify-content:flex-end}
.finance-list table{font-size:11px}
}

@media(max-width:820px){
.finance-summary{gap:8px}
.finance-total{padding:15px 12px}
.finance-total strong{font-size:20px}
.finance-list table,.finance-list tbody{display:block}
.finance-list thead{display:none}
.finance-row{display:grid;grid-template-columns:1fr 1fr;padding:14px 16px;border-top:1px solid #e8dfd4;gap:13px 16px}
.finance-row:first-child{border:0}
.finance-list td{display:block;padding:0;border:0}
.finance-list td:nth-child(2){grid-column:1/-1;grid-row:1}
.finance-list td:nth-child(1){grid-column:1;grid-row:2}
.finance-list td:nth-child(4){grid-column:2;grid-row:2}
.finance-list td[data-label]::before{content:attr(data-label);display:block;font-size:10px;font-weight:400;color:#8c7b66;margin-bottom:5px}
.finance-list .finance-amount{text-align:right;font-size:15px}
.finance-list td:nth-child(6){text-align:right}
.finance-list .finance-open{font-size:12px}
.finance-heading h1{font-size:28px}
.finance-toolbar{gap:8px}
.finance-search{flex-basis:100%}
.finance-toolbar>label:not(.finance-search){flex:1;min-width:120px}
.finance-toolbar select{width:100%;min-width:0}
}

@media(max-width:540px){
.finance-main{padding:10px 10px 10px 12px!important}
.finance-heading{flex-direction:column;gap:16px;margin-bottom:20px}
.finance-actions{width:100%;justify-content:flex-start;gap:7px}
.finance-actions .finance-button{font-size:11px;padding:9px 11px}
.finance-summary{grid-template-columns:1fr;gap:7px;margin-bottom:18px}
.finance-total{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:3px 8px;padding:12px 14px}
.finance-total strong{grid-column:2;grid-row:1/3;text-align:right;font-size:21px;margin:0}
.finance-total small{grid-column:1;font-size:9px}
.finance-total>span{font-size:11px}
.finance-period{gap:8px;flex-wrap:wrap}
.finance-period label{flex:1;gap:5px;font-size:11px;min-width:0}
.finance-period input{min-width:0;width:100%;font-size:11px;padding:7px 5px}
.finance-period .finance-button{font-size:11px}
.finance-overlay{padding:10px}
.finance-dialog{border-radius:12px;padding:20px 16px;width:100%}
.finance-dialog h2{font-size:20px}
.finance-form-grid{grid-template-columns:1fr}
.finance-form-wide{grid-column:auto}
.finance-facts>div{grid-template-columns:105px minmax(0,1fr);gap:9px}
.finance-detail-amount{font-size:28px}
.finance-toolbar>label:not(.finance-search){min-width:90px}
.finance-toolbar select{font-size:10px;padding:7px 5px}
.finance-row{padding:14px 12px}
}

/* Finance controls: one dropdown treatment and an anchored two-calendar range. */
.finance-page,.finance-dialog,.finance-period-popover{--finance-accent:#febb01}
.finance-close{display:inline-flex;align-items:center;justify-content:center;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:6px;color:#756b5e;width:32px;height:32px;padding:6px}
.finance-close img{display:block;width:20px;height:20px;opacity:.72}
.finance-close:hover{background:#eee9e1!important}
.finance-field .finance-clarify{margin:0}
.finance-dialog>.finance-clarify{font-size:12px;line-height:1.6;margin:0 0 18px}
.finance-form-grid{gap:20px 18px}
.finance-form-actions{margin-top:24px;gap:12px;display:flex;justify-content:flex-start}
.finance-form-actions .finance-button,.finance-dialog .finance-form-actions .finance-button,.finance-period-popover .finance-form-actions .finance-button{border:1px solid #ded6cc;border-radius:999px;width:145px;min-width:120px;min-height:40px;padding:10px 14px;box-sizing:border-box}
.finance-form-actions .finance-button.primary{background:var(--finance-accent);border-color:var(--finance-accent)}
.finance-form-actions .finance-button:not(.primary){background:#fff;color:#29241f}
.finance-dropdown{position:relative;min-width:0;font-size:12px;font-weight:400}
.finance-dropdown>summary{list-style:none;min-height:40px;box-sizing:border-box;border:1px solid #e2d9ce;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;cursor:pointer;color:#29241f;line-height:1.45}
.finance-dropdown>summary::-webkit-details-marker{display:none}
.finance-dropdown>summary>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.finance-dropdown>summary img{width:16px;height:16px;opacity:.6;flex:none;transition:transform .15s}
.finance-dropdown[open]{z-index:170}
.finance-dropdown[open]>summary{border-color:#baa991}
.finance-dropdown[open]>summary img{transform:rotate(180deg)}
.finance-dropdown-menu{position:absolute;top:calc(100% + 6px);left:0;right:0;min-width:160px;padding:5px;background:#fff;border:1px solid #e2d9ce;border-radius:11px;box-shadow:0 8px 26px #29241f1f;max-height:260px;overflow:auto;z-index:20}
.finance-dropdown-menu button{display:block;width:100%;border:0;border-radius:7px;background:#fff;text-align:left;padding:10px 11px;color:#42392f;font:inherit;line-height:1.4;cursor:pointer}
.finance-dropdown-menu button:hover,.finance-dropdown-menu button:focus-visible{background:#f6f2eb}
.finance-dropdown-menu button[aria-selected=true]{background:#fff4d7;color:#705219;font-weight:600}
.finance-filter{min-width:150px;max-width:270px;flex:0 1 auto}
.finance-toolbar .finance-search{min-width:220px}
.finance-period-anchor{position:relative}
.finance-period-popover{position:absolute;top:calc(100% + 10px);left:0;z-index:145;width:590px;max-width:calc(100vw - 60px);box-sizing:border-box;background:#fffdf9;border:1px solid #e2d9ce;border-radius:16px;box-shadow:0 12px 38px #29241f26;padding:22px;color:#29241f}
.finance-period-popover header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.finance-period-popover h2{font-size:18px;margin:0}
.finance-period-popover button{font:inherit}
.finance-calendars{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.finance-calendar{min-width:0}
.finance-calendar-label{font-size:12px;color:#837461;display:flex;justify-content:space-between;gap:8px;margin-bottom:16px}
.finance-calendar-label strong{font-weight:600;color:#42392f;font-variant-numeric:tabular-nums}
.finance-calendar-month{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:12px;margin-bottom:12px;text-transform:capitalize}
.finance-calendar-month button{border:0;background:transparent;border-radius:6px;width:28px;height:28px;font-size:23px;color:#756b5e;cursor:pointer}
.finance-calendar-month button:hover{background:#f2ede5}
.finance-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.finance-calendar-grid small{font-size:10px;color:#8c7b66;padding:5px 0}
.finance-calendar-grid button{border:1px solid transparent;border-radius:7px;background:transparent;padding:0;min-height:30px;color:#42392f;font-size:12px;cursor:pointer;font-variant-numeric:tabular-nums}
.finance-calendar-grid button:hover{border-color:#d9c9ad}
.finance-calendar-grid button.in-range{background:#fff7e4}
.finance-calendar-grid button.is-selected{background:#febb01;border-color:#febb01;font-weight:600}
.finance-period-popover :focus-visible{outline:1px solid #aa7800;outline-offset:2px}
@media(max-width:1100px){.finance-period-popover{left:auto;right:-120px}}
@media(max-width:640px){.finance-period-anchor{position:static}.finance-period{position:relative}.finance-period-popover{left:0;right:auto;width:100%;max-width:none;padding:16px}.finance-calendars{gap:12px}.finance-calendar-month{font-size:10px;gap:0}.finance-calendar-month button{width:22px}.finance-calendar-grid{gap:1px}.finance-calendar-grid button{min-height:29px;font-size:11px}.finance-filter{flex:1;min-width:110px;max-width:none}.finance-toolbar .finance-search{flex-basis:100%;min-width:0}.finance-period-popover .finance-form-actions .finance-button{width:130px;min-width:100px}.finance-dropdown-menu{min-width:140px}}
.customers-main{padding:20px 20px 20px 24px!important;min-width:0}
.customers-page{max-width:1500px;margin:auto;color:#29241f}
.customers-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:26px}
.customers-heading h1{font-size:30px;letter-spacing:-.8px;margin:0}
.customers-page button,.customers-drawer button,.customers-page input,.customers-page select,.customers-drawer input,.customers-drawer select{font:inherit}
.customers-page .customers-button,.customers-drawer .customers-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:9px 14px;border:1px solid #e3dbd1;border-radius:8px;background:#fff;color:#29241f;cursor:pointer;font-size:12px;font-weight:600}
.customers-page .customers-button.primary,.customers-drawer .customers-button.primary{background:#febb01;border-color:#febb01;border-radius:999px;padding:10px 18px}
.customers-button svg,.customers-search svg,.customers-close svg,.customers-linked svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}
.customers-page button:disabled,.customers-drawer button:disabled{opacity:.55;cursor:default}
.customers-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:20px}
.customers-search{flex:1;min-width:230px;position:relative}
.customers-page input,.customers-page select,.customers-drawer input,.customers-drawer select{border:1px solid #e2d9ce;border-radius:8px;background:#fff;min-height:38px;padding:8px 10px;color:#29241f;font-size:12px;max-width:100%}
.customers-search input{width:100%;padding-left:37px}
.customers-search svg{position:absolute;left:12px;top:10px;color:#746659}
.customers-tabs{display:flex;gap:6px}
.customers-page .customers-tabs .active{background:#fff4d7;border-color:#e6c778}
.customers-select{display:block;position:relative;min-width:150px}
.customers-page .customers-select select,.customers-drawer .customers-select select{appearance:none;width:100%;padding-right:34px}
.customers-select-arrow{position:absolute;right:11px;top:50%;transform:translateY(-50%) rotate(90deg);width:15px;height:15px;pointer-events:none;color:#746659}
.customers-select-arrow svg{width:15px;height:15px;display:block;fill:none;stroke:currentColor;stroke-width:1.6}
.customers-table{background:#fff;border:1px solid #e8dfd4;border-radius:12px;overflow:hidden}
.customers-table table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:12px}
.customers-table th{text-align:left;font-weight:500;font-size:10px;color:#6f6255;padding:14px 18px;background:#fdfbf7}
.customers-table th:first-child{width:12%}.customers-table th:nth-child(2){width:28%}.customers-table th:nth-child(3){width:19%}.customers-table th:nth-child(4){width:8%}.customers-table th:nth-child(5){width:19%}.customers-table th:last-child{width:14%}
.customers-table td{padding:18px;border-top:1px solid #efe9e0;overflow-wrap:anywhere}
.customers-row{cursor:pointer}
.customers-row:hover,.customers-row:focus-within{background:#fffaf0}
.customers-open{padding:0;border:0;background:none;text-align:left;font-weight:600!important;cursor:pointer;color:#29241f;line-height:1.6}
.customers-open:hover{color:#9b6500}.customers-open.customers-secondary{font-weight:400!important;color:#867762}
.customers-channel{display:inline-flex;align-items:center;gap:7px;font-size:12px}
.customers-channel img{width:16px;height:16px;object-fit:contain}
.customers-table .customers-order-count{text-align:right;font-variant-numeric:tabular-nums}
.customers-date{white-space:nowrap;font-variant-numeric:tabular-nums}
.customers-contact-icons{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-height:34px}
.customers-contact-icon{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;padding:0;line-height:1;vertical-align:middle;border:1px solid #e3dbd1;border-radius:50%;background:#fff;color:#29241f;cursor:pointer;text-decoration:none}
.customers-contact-icon img{display:block;flex:none;width:20px;height:20px;object-fit:contain;object-position:center}
.customers-contact-phone img{width:18px;height:18px}
.customers-contact-email img{width:28px;height:28px}
.customers-contact-icon:hover{border-color:#b7a995;background:#fffaf0}
.customers-contact-email,.customers-contact-email:hover{background:#fff}
.customers-products{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:4px 5px 0 0;min-height:44px}
.customers-product{position:relative;display:block;flex:none;width:44px;height:44px;border:1px solid #e8dfd4;border-radius:8px;background:#fff}
.customers-product>img{display:block;width:100%;height:100%;object-fit:contain;border-radius:7px}
.customers-product-qty{position:absolute;right:-6px;top:-6px;display:flex;align-items:center;justify-content:center;min-width:19px;height:19px;border-radius:50%;padding:0 4px;background:var(--accent,#febb01);color:#29241f;font-size:10px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}
.customers-count,.customers-muted{color:#6f6255;font-size:12px;line-height:1.6}.customers-count{font-size:11px;margin-top:12px}
.customers-empty{text-align:center;padding:50px 20px;color:#746659;font-size:13px}.customers-empty h2{font-size:20px;font-weight:500;color:#514332}.customers-empty p{margin:10px 0 18px}
.customers-notice{border:1px solid #ebdfc8;background:#fbf4e5;border-radius:8px;padding:12px;font-size:12px;line-height:1.6}
.customers-overlay{position:fixed;inset:0;background:#29241f55;z-index:150;display:flex;justify-content:flex-end;padding:20px;overflow:auto}
.customers-drawer{background:#fdfbf7;color:#29241f;border:1px solid #e3dbd1;border-radius:16px;padding:25px;width:580px;max-width:100%;max-height:100%;overflow-y:auto;box-shadow:0 12px 50px #29241f22;align-self:flex-start}
.customers-drawer header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}
.customers-drawer h2{font-size:23px;line-height:1.4;margin:0;overflow-wrap:anywhere}.customers-drawer h3{font-size:15px;margin:26px 0 14px}.customers-drawer h3 span{font-size:12px;color:#746659;font-weight:400;margin-left:5px}
.customers-eyebrow{display:block;font-size:11px;color:#746659;margin-bottom:5px}
.customers-close{width:32px;height:32px;padding:7px;border:1px solid #e3dbd1;border-radius:7px;background:#fff;flex:none;cursor:pointer}
.customers-contacts{display:grid;gap:16px}.customers-contact>span{display:block;font-size:10px;color:#746659;margin-bottom:5px}.customers-contact>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.customers-contact img{width:18px;height:18px;object-fit:contain}.customers-contact a{font-size:12px;color:#53442f;overflow-wrap:anywhere}.customers-contact p{margin:0}
.customers-copy{font-size:10px!important;background:#fff;border:1px solid #e3dbd1;border-radius:7px;padding:5px 8px;color:#796a56;cursor:pointer}
.customers-facts{font-size:12px;line-height:1.6;margin:24px 0 0}.customers-facts>div{display:grid;grid-template-columns:150px 1fr;gap:12px;margin-bottom:12px}.customers-facts dt{color:#746659}.customers-facts dd{margin:0;overflow-wrap:anywhere}
.customers-links{display:grid;gap:8px}.customers-linked{display:flex;align-items:center;gap:14px;border:1px solid #e3dbd1;border-radius:8px;padding:13px;background:#fff;color:#29241f;text-align:left;cursor:pointer;width:100%;font-size:12px!important}.customers-linked strong{font-size:12px}.customers-linked>span{flex:1}.customers-linked>svg{margin-left:auto}
.customers-history{list-style:none;padding:0;margin:0}.customers-history>li{border-top:1px solid #e8dfd4;padding:15px 0;font-size:12px}.customers-history time{display:block;color:#746659;font-size:10px;margin-top:5px}.customers-history ul{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:10px}.customers-history ul li{font-size:12px;overflow-wrap:anywhere;line-height:1.6}.customers-history ul span{display:block;color:#746659;font-size:10px}
.customers-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.customers-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px}.customers-field.wide{grid-column:1/-1}.customers-field .customers-select{min-width:0}.customers-drawer fieldset{border:0;padding:0;margin:0;min-width:0}
.customers-form-note{font-size:11px;color:#746659;line-height:1.6;margin:16px 0 0}.customers-error{font-size:12px;color:#a04132;line-height:1.6;margin:14px 0}.customers-form-actions{display:flex;gap:10px;margin-top:12px;justify-content:flex-start}.customers-drawer .customers-form-actions .customers-button{width:145px;min-width:120px;min-height:40px;border-radius:999px;padding:10px 14px}
.customers-page :focus-visible,.customers-drawer :focus-visible{outline:1px solid #aa7800;outline-offset:3px}.customers-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.customers-return{padding:14px 24px 0}.customers-return .back-link{margin:0}
@media(max-width:1100px){.customers-table td,.customers-table th{padding:14px 10px}.customers-table th:first-child{width:12%}.customers-table th:nth-child(2){width:25%}.customers-table th:nth-child(3){width:20%}.customers-table th:nth-child(5){width:20%}.customers-table th:last-child{width:15%}}
@media(max-width:900px){.customers-search{flex-basis:100%}.customers-tabs{flex:1}}
@media(max-width:760px){.customers-table table,.customers-table tbody{display:block}.customers-table thead{display:none}.customers-table tr{display:grid;grid-template-columns:1fr auto;gap:12px 14px;padding:16px 13px;border-top:1px solid #efe9e0}.customers-table tr:first-child{border-top:0}.customers-table td{display:block;border:0;padding:0}.customers-name-cell{grid-column:1/-1;grid-row:2}.customers-date{grid-column:1;grid-row:1}.customers-contact-cell{grid-column:1/-1;grid-row:3}.customers-table .customers-order-count{grid-column:2;grid-row:1}.customers-date::before,.customers-order-count::before{content:attr(data-label) ': ';font-size:10px;color:#8c7b66}.customers-products-cell{grid-column:1;grid-row:4}.customers-channel-cell{grid-column:2;grid-row:4;align-self:center;text-align:right}}
@media(max-width:600px){.customers-main{padding:10px 10px 10px 12px!important}.customers-heading h1{font-size:28px}.customers-heading{gap:10px}.customers-heading .customers-button{font-size:11px;padding:10px 12px!important}.customers-toolbar{gap:8px}.customers-tabs{width:100%;order:2}.customers-tabs .customers-button{flex:1;padding:8px 10px;font-size:11px}.customers-select{flex:1}.customers-overlay{padding:10px}.customers-drawer{padding:20px 16px;border-radius:12px}.customers-drawer h2{font-size:21px}.customers-form-grid{grid-template-columns:1fr}.customers-field.wide{grid-column:auto}.customers-facts>div{grid-template-columns:110px 1fr;gap:9px}.customers-return{padding:10px 12px 0}}
.products-main{min-width:0}.products-page{width:100%;margin:0;color:#29241f}.products-page,.products-dialog{font-size:13px;line-height:1.55}.products-page *,.products-dialog *{box-sizing:border-box}.products-heading,.products-detail-heading,.products-section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.products-heading h1,.products-detail-heading h1{font-size:30px;letter-spacing:-.8px;line-height:1.25;margin:0}.products-detail-heading{align-items:flex-start}.products-detail-heading h1{margin-top:12px}.products-heading>div>h1{margin-top:12px}.products-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.products-page button,.products-dialog button,.products-page input,.products-page select,.products-dialog input,.products-dialog select,.products-dialog textarea{font:inherit}.products-page .products-button,.products-dialog .products-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:9px 14px;border:1px solid #e3dbd1;border-radius:8px;background:#fff;color:#29241f;cursor:pointer;font-size:12px;font-weight:600;text-decoration:none}.products-page .products-button.primary,.products-dialog .products-button.primary{background:var(--accent,#febb01);border-color:var(--accent,#febb01);border-radius:999px;padding:10px 18px}.products-page button:disabled,.products-dialog button:disabled{opacity:.5;cursor:default}.products-button svg,.products-search svg,.products-close svg,.products-no-image svg,.products-row-next svg,.products-purchase-row>span>svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;flex:none}.products-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:20px}.products-search{flex:1;position:relative;min-width:210px}.products-page input,.products-page select,.products-dialog input,.products-dialog select,.products-dialog textarea{min-height:38px;padding:8px 10px;border:1px solid #e2d9ce;border-radius:8px;background:#fff;color:#29241f;font-size:12px;width:100%;max-width:100%}.products-search input{padding-left:37px}.products-search svg{position:absolute;left:12px;top:10px;color:#8b7b68}.products-select{display:block;min-width:145px;max-width:230px}.products-select select{padding-right:28px}.products-list{display:grid;gap:10px}.products-item-row{width:100%;display:grid;grid-template-columns:72px minmax(180px,1fr) minmax(105px,.35fr) minmax(145px,.4fr) 20px;align-items:center;gap:20px;padding:16px 20px;border:1px solid #e5ddd3;border-radius:12px;background:#fff;color:#29241f;text-align:left;cursor:pointer}.products-item-row:hover,.products-purchase-row:hover{border-color:#c9bda9;background:#fffefa}.products-row-image{width:72px;height:72px;display:grid;place-items:center}.products-row-image img{display:block;width:100%;height:100%;object-fit:contain}.products-row-name{min-width:0}.products-row-name strong{display:block;font-size:14px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.products-row-name>span,.products-row-sku small,.products-row-stock small,.products-purchase-row small{display:block;color:#746659;font-size:11px;font-weight:400;margin-top:4px}.products-row-sku,.products-row-stock{font-size:13px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.products-row-stock small,.products-row-sku small{margin:0 0 5px}.products-row-note{display:block;font-size:10px;color:#746659;margin-top:5px}.products-row-next{color:#978974;justify-self:end}.products-no-image{display:grid;place-items:center;width:100%;height:100%;min-height:46px;border-radius:8px;background:#f7f3ed;color:#998771}.products-status{display:block;width:max-content;margin-top:5px;padding:3px 7px;border-radius:6px;font-size:10px;line-height:1.5}.products-status.low{background:#fff0d5;color:#8a5c20}.is-low{color:#a36319}.products-count,.products-muted{color:#6f6255;font-size:12px;line-height:1.65}.products-count{font-size:11px;margin-top:14px}.products-empty{text-align:center;padding:55px 20px;font-size:13px;color:#8b7b68}.products-empty h1,.products-empty h2{font-size:22px;font-weight:500;color:#514332}.products-empty p{margin:10px 0 18px}.products-notice{border:1px solid #ebdfc8;background:#fbf4e5;border-radius:8px;padding:12px;font-size:12px;line-height:1.6}.products-notice ul,.products-error ul{margin:5px 0;padding-left:20px}.products-eyebrow{color:#8b7b68;font-size:11px;margin:16px 0 0}.products-tabs{display:flex;gap:26px;border-bottom:1px solid #e5ddd3;margin-bottom:28px;overflow-x:auto}.products-tab{padding:12px 0;border:0;border-bottom:2px solid transparent;background:none;color:#8b7b68;cursor:pointer;white-space:nowrap;font-size:13px!important}.products-tab.active{border-bottom-color:var(--accent,#febb01);color:#29241f;font-weight:600}.products-detail-content h2{font-size:21px;font-weight:600;margin:0 0 18px}.products-detail-content h3,.products-dialog h3{font-size:15px;margin:25px 0 14px}.products-description-layout{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(260px,1.3fr);gap:40px;align-items:start}.products-detail-image{display:grid;place-items:center;height:370px;background:#fff;border:1px solid #e5ddd3;border-radius:12px}.products-detail-image img{display:block;width:100%;height:100%;object-fit:contain}.products-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin:0 0 24px}.products-facts{font-size:12px;line-height:1.65;margin:0 0 20px}.products-facts>div{display:grid;grid-template-columns:minmax(130px,.45fr) 1fr;gap:18px;padding:10px 0;border-bottom:1px solid #ece5db}.products-facts dt{color:#8b7b68}.products-facts dd{margin:0;overflow-wrap:anywhere}.products-section-heading h2{margin:0}.products-stock-summary{display:flex;align-items:center;flex-wrap:wrap;gap:20px;padding:20px;border:1px solid #e5ddd3;border-radius:12px;background:#fff}.products-stock-summary>strong{font-size:26px;font-variant-numeric:tabular-nums}.products-stock-summary>span{color:#8b7b68;font-size:12px}.products-history{list-style:none;margin:0;padding:0}.products-history>li{display:grid;grid-template-columns:1fr auto;gap:5px 20px;border-top:1px solid #e5ddd3;padding:16px 0;font-size:12px}.products-history>li>p{grid-column:1/-1;margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}.products-history>li>time{color:#8b7b68}.products-history>li>.products-button{justify-self:start;grid-column:1/-1}.products-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:18px}.products-photo-card{padding:12px;border:1px solid #e5ddd3;background:#fff;border-radius:12px;min-width:0}.products-photo-image{display:grid;place-items:center;height:220px;margin-bottom:12px}.products-photo-image img{width:100%;height:100%;object-fit:contain}.products-photo-card>p{color:#8b7b68;font-size:11px;margin:6px 0}.products-photo-card>a{display:block;font-size:11px;color:#6c5b43;margin-bottom:10px}.products-photo-card>.products-button{margin-top:10px}.products-overlay{position:fixed;inset:0;z-index:150;display:flex;align-items:flex-start;justify-content:center;padding:32px 20px;overflow:auto;background:#29241f55}.products-dialog{background:#fdfbf7;color:#29241f;border:1px solid #e3dbd1;border-radius:16px;padding:25px;width:680px;max-width:100%;box-shadow:0 12px 50px #29241f22}.products-dialog-wide{width:880px}.products-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.products-dialog h2{font-size:23px;line-height:1.35;margin:0;overflow-wrap:anywhere}.products-close{display:grid;place-items:center;width:32px;height:32px;padding:7px;border:1px solid #e3dbd1;border-radius:7px;background:#fff;color:#29241f;cursor:pointer;flex:none}.products-dialog fieldset{border:0;padding:0;margin:0;min-width:0}.products-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.products-field{display:flex;flex-direction:column;gap:7px;font-size:12px;min-width:0}.products-field.wide{grid-column:1/-1}.products-dialog textarea{resize:vertical}.products-form-actions{display:flex;align-items:center;gap:10px;margin-top:24px}.products-dialog .products-form-actions .products-button{min-width:130px}.products-edit-section{border-top:1px solid #e5ddd3;padding-top:5px;margin-top:24px}.products-error{color:#a04132;font-size:12px;line-height:1.65;margin:16px 0 0}.products-file-input{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;margin:14px 0}.products-file-input input{width:auto;flex:1;min-width:180px;background:#fff}.products-asset-hash{font-size:10px;color:#8b7b68;overflow-wrap:anywhere}.products-edit-photos{display:grid;gap:16px;margin-top:16px}.products-edit-photo{display:grid;grid-template-columns:150px 1fr;gap:18px;padding:14px;border:1px solid #e3dbd1;background:#fff;border-radius:10px}.products-edit-photo-image{display:grid;place-items:center;width:150px;height:150px}.products-edit-photo-image img{display:block;width:100%;height:100%;object-fit:contain}.products-edit-photo-fields{display:grid;gap:12px;min-width:0}.products-photo-filename{font-size:11px;color:#8b7b68;margin:0;overflow-wrap:anywhere}.products-channel-checks{display:flex!important;align-items:center;gap:15px;flex-wrap:wrap;font-size:11px}.products-channel-checks legend{font-size:11px;color:#8b7b68;margin-bottom:7px}.products-channel-checks label{display:flex;align-items:center;gap:5px}.products-channel-checks input{width:15px;min-height:15px;height:15px;accent-color:#29241f}.products-purchase-list{display:grid;gap:10px}.products-purchase-row{display:grid;grid-template-columns:minmax(190px,1.5fr) 1fr 1fr 1fr 20px;align-items:center;gap:18px;width:100%;border:1px solid #e5ddd3;background:#fff;border-radius:12px;padding:19px 20px;text-align:left;color:#29241f;cursor:pointer}.products-purchase-row strong{font-size:14px;font-weight:600}.products-purchase-row>span{font-size:12px;font-variant-numeric:tabular-nums}.products-purchase-row small{margin:0 0 5px}.products-purchase-row>span>strong+small{margin:5px 0 0}.products-purchase-edit-lines{display:grid;gap:18px;margin:22px 0 16px}.products-purchase-edit-line{display:grid;grid-template-columns:minmax(180px,2fr) minmax(85px,1fr) minmax(85px,1fr) auto;gap:10px;align-items:end;padding-bottom:18px;border-bottom:1px solid #e5ddd3}.products-purchase-edit-line>.products-button{padding:9px;font-size:11px}.products-movement-lines{display:grid;gap:18px;margin-top:22px}.products-purchase-detail-lines{display:grid;gap:16px}.products-purchase-detail-lines>article{border:1px solid #e5ddd3;border-radius:10px;padding:14px;background:#fff}.products-purchase-detail-lines>article>small{display:block;color:#8b7b68;font-size:11px;margin-top:4px}.products-purchase-detail-lines .products-facts{margin:10px 0 0}.products-reference{font-size:10px;overflow-wrap:anywhere}.products-page :focus-visible,.products-dialog :focus-visible{outline:1px solid #aa7800;outline-offset:3px}.products-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.products-item-row{grid-template-columns:60px minmax(150px,1fr) 100px 130px 16px;gap:14px;padding:14px 16px}.products-row-image{width:60px;height:60px}.products-description-layout{gap:25px}.products-select{min-width:130px}.products-purchase-edit-line{grid-template-columns:1fr 1fr}.products-purchase-edit-line>.products-field:first-child{grid-column:1/-1}.products-purchase-edit-line>.products-button{justify-self:start}}
@media(max-width:800px){.products-heading,.products-detail-heading{align-items:flex-start;flex-direction:column}.products-toolbar{gap:8px}.products-search{flex-basis:100%}.products-select{flex:1;max-width:none}.products-item-row{grid-template-columns:60px minmax(0,1fr) 16px;gap:8px 14px}.products-row-image{grid-row:1/3}.products-row-name{grid-column:2}.products-row-sku{grid-column:2;font-size:11px}.products-row-sku small{display:inline;margin-right:7px}.products-row-stock{grid-column:2;display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:3px}.products-row-stock small{margin:0}.products-row-stock .products-status,.products-row-note{margin:0}.products-row-next{grid-column:3;grid-row:1/4;align-self:center}.products-description-layout{grid-template-columns:1fr}.products-detail-image{height:300px}.products-purchase-row{grid-template-columns:1fr 1fr;gap:14px}.products-purchase-row>span:first-child{grid-column:1/-1}.products-purchase-row>span:last-child{display:none}.products-section-heading{align-items:flex-start;flex-direction:column}.products-stock-summary{gap:14px}.products-stock-summary>strong{width:100%}}
@media(max-width:540px){.products-heading h1,.products-detail-heading h1{font-size:27px}.products-heading,.products-detail-heading{gap:16px;margin-bottom:20px}.products-actions{gap:7px}.products-page .products-button,.products-dialog .products-button{font-size:11px;padding:9px 11px}.products-select{min-width:125px}.products-select:last-of-type{flex-basis:100%}.products-tabs{gap:21px;margin-bottom:22px}.products-tab{font-size:12px!important}.products-item-row{padding:13px 12px}.products-row-name strong{font-size:13px}.products-row-name>span{font-size:10px}.products-row-stock{font-size:12px}.products-overlay{padding:12px 10px}.products-dialog{padding:20px 15px;border-radius:12px}.products-dialog h2{font-size:21px}.products-form-grid{grid-template-columns:1fr}.products-field.wide{grid-column:auto}.products-facts>div{grid-template-columns:110px 1fr;gap:12px}.products-edit-photo{grid-template-columns:1fr;padding:12px}.products-edit-photo-image{width:100%;height:180px}.products-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.products-photo-card{padding:9px}.products-photo-image{height:150px}.products-photo-card strong{font-size:11px}.products-photo-card p,.products-photo-card a{font-size:10px}.products-form-actions .products-button{min-width:110px!important}.products-purchase-edit-line{gap:12px}.products-purchase-edit-line>.products-button{grid-column:1/-1}.products-history>li{gap:6px 12px}.products-stock-summary{padding:16px}}
.analytics-main{padding:20px 20px 20px 24px!important;min-width:0}.analytics-page{width:100%;margin:auto;color:#29241f}.analytics-page button,.analytics-page input{font:inherit}.analytics-heading,.analytics-card-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.analytics-heading{margin-bottom:26px}.analytics-heading h1{font-size:30px;letter-spacing:-.8px;margin:0}.analytics-button{min-height:38px;border:1px solid #e3dbd1;background:#fff;color:#29241f;border-radius:8px;padding:9px 14px;cursor:pointer;font-size:12px!important;font-weight:600!important;display:inline-flex;align-items:center;justify-content:center;gap:7px}.analytics-button.primary{background:#febb01;border-color:#febb01;border-radius:999px;padding:10px 18px}.analytics-button.is-active{background:#fff4cc;border-color:#deb129}.analytics-button:disabled{opacity:.55;cursor:default}.analytics-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}.analytics-page button:focus-visible,.analytics-page input:focus-visible,.analytics-page summary:focus-visible{outline:3px solid #c58a00;outline-offset:3px}.analytics-period{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.analytics-custom{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 20px}.analytics-custom label{display:flex;gap:8px;align-items:center;font-size:12px}.analytics-custom input{border:1px solid #e3dbd1;border-radius:8px;padding:8px;min-height:38px;background:white;color:inherit}.analytics-summary,.analytics-cash{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.analytics-summary{margin-bottom:14px}.analytics-metric{background:white;border:1px solid #e8dfd4;border-radius:12px;padding:20px;min-width:0;display:flex;flex-direction:column;gap:10px}.analytics-metric>span{font-size:12px;color:#796c5f}.analytics-metric>strong{font-size:28px;letter-spacing:-.7px;overflow-wrap:anywhere}.analytics-metric>small{font-size:11px;line-height:1.6;color:#796c5f}.analytics-context,.analytics-muted{font-size:12px;line-height:1.65;color:#6f6255}.analytics-context{margin-bottom:24px}.analytics-card{border:1px solid #e8dfd4;background:#fff;border-radius:12px;padding:20px;margin-bottom:18px;min-width:0}.analytics-card h2{font-size:16px;margin:0 0 14px;font-weight:650}.analytics-card-heading{margin-bottom:12px}.analytics-card-heading h2{margin:0}.analytics-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.analytics-split{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;width:100%;border:0;border-bottom:1px solid #eee8e0;background:white;text-align:left;color:inherit;cursor:pointer;font-size:13px!important}.analytics-split:last-child{border-bottom:0}.analytics-split>span{overflow-wrap:anywhere}.analytics-split>strong{font-weight:600;white-space:nowrap}.analytics-split:hover,.analytics-link:hover{color:#976900}.analytics-link{display:flex;align-items:center;gap:16px;border:0;border-top:1px solid #eee8e0;padding:13px 0;background:white;text-align:left;width:100%;cursor:pointer;color:inherit;font-size:13px!important}.analytics-link>span:first-child{font-weight:650;min-width:70px}.analytics-link small{margin-left:auto;color:#796c5f}.analytics-notice{border:1px solid #ead5a2;border-radius:10px;background:#fff8e7;padding:14px;font-size:12px;line-height:1.65;color:#76551b}.analytics-empty{padding:36px 12px;text-align:center;font-size:13px;color:#796c5f}.analytics-empty h2{color:#29241f}.analytics-cash .analytics-metric{background:#fcfaf7}.analytics-bars{display:flex;flex-direction:column;gap:8px;max-height:360px;overflow:auto}.analytics-day{display:flex;align-items:center;gap:16px;width:100%;border:0;background:white;padding:7px 0;text-align:left;color:inherit;cursor:pointer;font-size:12px!important}.analytics-day>span{width:76px;flex-shrink:0}.analytics-day>i{flex:1;background:#faf5e9;height:17px;border-radius:4px;overflow:hidden}.analytics-day b{display:block;background:#febb01;height:100%;min-width:3px;border-radius:4px}.analytics-day strong{width:30px;text-align:right}.analytics-day[aria-expanded=true]{color:#976900}.analytics-card summary{cursor:pointer;font-size:13px;font-weight:600}.analytics-card summary+button{margin-top:12px}@media(max-width:900px){.analytics-summary{grid-template-columns:1fr}.analytics-summary .analytics-metric{gap:7px}.analytics-columns{grid-template-columns:1fr;gap:0}.analytics-cash .analytics-metric{padding:14px}.analytics-metric>strong{font-size:24px}}@media(max-width:600px){.analytics-main{padding:18px 14px!important}.analytics-heading h1{font-size:26px}.analytics-card{padding:16px}.analytics-card-heading{align-items:flex-start;flex-wrap:wrap}.analytics-cash{grid-template-columns:1fr}.analytics-link{gap:10px;flex-wrap:wrap}.analytics-link small{margin-left:0}.analytics-split{font-size:12px!important}.analytics-period{gap:6px}.analytics-button{padding:9px 11px}.analytics-heading{gap:10px}.analytics-custom input{max-width:160px}}

.analytics-button:hover:not(:disabled){background:#f7f2e9;border-color:#d8cbb8}.analytics-button.primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.analytics-button.is-active:hover{background:#ffedaf}.analytics-calendars{display:flex;gap:24px;flex-wrap:wrap}.analytics-custom{display:block;padding:20px;background:white;border:1px solid #e8dfd4;border-radius:12px}.analytics-custom>button{margin-top:16px}.analytics-calendar{width:270px;max-width:100%;font-size:12px}.analytics-calendar-label{display:flex;justify-content:space-between;margin-bottom:12px;color:#796c5f}.analytics-calendar-month{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.analytics-calendar-month .analytics-button{min-height:30px;padding:4px 10px}.analytics-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.analytics-calendar-grid small{text-align:center;padding:6px 0;color:#796c5f}.analytics-calendar-grid button{border:0;background:transparent;min-height:32px;border-radius:6px;color:inherit;cursor:pointer;font-size:12px}.analytics-calendar-grid button:hover{background:#fff0bc}.analytics-calendar-grid button.in-range{background:#fff8e2}.analytics-calendar-grid button.is-selected{background:#febb01;font-weight:650}.analytics-product-row{display:flex;align-items:center;gap:16px}.analytics-product-row>.analytics-split{flex:1}.analytics-product-row>.analytics-button{flex-shrink:0}@media(max-width:600px){.analytics-calendars{gap:20px}.analytics-calendar{width:100%}.analytics-product-row{gap:8px}.analytics-custom{padding:16px}}

.analytics-calendar-chevron.previous{transform:rotate(90deg)}.analytics-calendar-chevron.next{transform:rotate(-90deg)}
.analytics-update-status{min-height:3.3em;margin:0 0 14px;font-size:12px;line-height:1.65;color:#6f6253}.analytics-update-message{min-height:1.65em;display:flex;align-items:baseline;flex-wrap:wrap;gap:0 10px}.analytics-update-period{min-height:1.65em}.analytics-update-error{max-width:100%;color:#9e4f39}.analytics-update-error summary{cursor:pointer}.analytics-update-error p{margin:4px 0;overflow-wrap:anywhere}.analytics-link-button{border:0;padding:0;background:none;color:inherit;text-decoration:underline;cursor:pointer;font:inherit}.analytics-update-status.has-error{color:#9e4f39}@media(max-width:600px){.analytics-update-status{min-height:4.95em}}
.analytics-queue-shortcuts,.analytics-metric-detail-mobile{display:none}.analytics-drilldown{margin:8px 0 14px;padding:14px;border-left:3px solid #febb01;background:#fcfaf7;min-width:0}.analytics-drilldown h3{font-size:14px;margin:0}.analytics-drilldown .analytics-link{background:transparent}.analytics-drilldown .analytics-link small{overflow-wrap:anywhere}@media(max-width:900px){.analytics-queue-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.analytics-queue-shortcuts .analytics-button{flex:1 1 150px;white-space:normal;text-align:left;justify-content:flex-start}.analytics-summary{display:block;background:#fff;border:1px solid #e8dfd4;border-radius:12px;overflow:hidden}.analytics-summary .analytics-metric{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto);align-items:center;gap:4px 12px;padding:12px 16px;border:0;border-radius:0}.analytics-summary .analytics-metric+.analytics-metric{border-top:1px solid #e8dfd4}.analytics-summary .analytics-metric>span{font-size:12px;grid-column:1;grid-row:1}.analytics-summary .analytics-metric>strong{font-size:20px;grid-column:2;grid-row:1;text-align:right;max-width:100%;overflow-wrap:anywhere}.analytics-summary .analytics-metric>.analytics-metric-detail-full{display:none}.analytics-metric-detail-mobile{display:block;grid-column:1/-1;min-width:0;color:#796c5f;font-size:12px;line-height:1.6}.analytics-metric-detail-mobile summary{cursor:pointer;width:fit-content}.analytics-metric-detail-mobile p{margin:6px 0 0}.analytics-drilldown{padding:12px}.analytics-drilldown .analytics-link{gap:8px;flex-wrap:wrap}.analytics-drilldown .analytics-link small{margin-left:0}}
.analytics-bars>.analytics-day,.analytics-bars>.analytics-drilldown{flex-shrink:0}
.analytics-queue-scope{flex-basis:100%;font-size:12px;line-height:1.6;color:#6f6255}
.settings-page{width:100%;max-width:none}.settings-heading{margin-bottom:27px}.settings-heading p{font-size:12px;color:#756b60;margin:11px 0 0;line-height:1.65}.settings-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.settings-card{min-width:0;padding:24px;background:#fff;border:1px solid #e9e1d5;border-radius:18px}.settings-card:first-child{grid-column:1/-1}.settings-card h2{font-size:17px;font-weight:600;margin:0 0 10px}.settings-card p{max-width:620px;font-size:12px;line-height:1.65;color:#756b60;margin:0 0 18px}.settings-field{display:flex;flex-direction:column;align-items:flex-start;gap:8px;font-size:12px;margin-top:20px}.settings-field input{width:175px;max-width:100%;font-size:15px;min-height:44px;background:#fff;border-radius:12px;border:1px solid #dfd5c8;padding:10px 13px;font-variant-numeric:tabular-nums}.settings-card .settings-note{font-size:11px;line-height:1.65;color:#817362;margin:10px 0 0}.settings-folder{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0 12px}.settings-folder strong{font-size:14px;font-weight:600;overflow-wrap:anywhere;min-width:0}.settings-page .settings-button{min-width:142px;min-height:42px;padding:10px 17px;border-radius:999px;flex:none}.settings-page .settings-cancel{background:#fff}.settings-page .settings-button:not(.yellow):not(:disabled):hover{background:#f8f2e9;border-color:#c8b79f}.settings-form-footer{margin-top:24px;display:flex;align-items:center;gap:20px;flex-wrap:wrap}.settings-actions{display:grid;grid-template-columns:repeat(2,142px);gap:10px}.settings-actions .settings-button{width:100%;min-width:0}.settings-message{font-size:12px;color:#566c3d;line-height:1.6}.settings-error,.settings-message.is-error{color:#9e4f39!important}.settings-card .settings-error{margin:13px 0 0}.settings-warning{font-size:12px;color:#865d22;padding:13px 16px;border:1px solid #ead7ae;border-radius:12px;background:#fff7e1;line-height:1.7;margin:20px 0 0}.settings-page :focus-visible{outline:2px solid #874735;outline-offset:4px}@media(max-width:820px){.settings-cards{grid-template-columns:1fr}.settings-card:first-child{grid-column:auto}.settings-card{padding:21px}.settings-heading{margin-bottom:23px}}@media(max-width:540px){.settings-heading h1{font-size:27px}.settings-card{padding:19px}.settings-card h2{font-size:16px}.settings-folder{align-items:flex-start;flex-direction:column;gap:13px}.settings-form-footer{align-items:flex-start;gap:12px}.settings-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.settings-actions .settings-button{font-size:12px}}
/* Shared controls: approved Clarity accents with restrained utility controls.
   Source: Clarity/site/gpt-sites/app/globals.css, --accent and --ink. */
:root {
  --accent: #FEBB01;
  --accent-hover: color-mix(in srgb, var(--accent) 92%, #000);
  --ink: #29241f;
  --yellow: var(--accent);
  --pult-control-line: #ded5c9;
  --pult-control-selected: color-mix(in srgb, var(--accent) 13%, #fff);
}

/* Main actions share the Orders hover, including finance/customer forms. */
body :is(.button,.finance-button,.customers-button,.products-button){transition:background-color .15s ease,border-color .15s ease,color .15s ease}
body :is(.finance-page,.finance-dialog,.finance-period-popover) .finance-button:hover:not(:disabled),
body :is(.customers-page,.customers-drawer) .customers-button:hover:not(:disabled){background:#fffefa;border-color:#cec0ad}
body :is(.finance-page,.finance-dialog,.finance-period-popover) .finance-button.primary:hover:not(:disabled),
body :is(.customers-page,.customers-drawer) .customers-button.primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover);color:var(--ink)}

body .personal-workspace {
  --personal-yellow: var(--accent);
  --personal-ink: var(--ink);
}

/* Only add actions and explicit primary CTAs receive the orange pill style.
   Back, close, cancel, history, alignment, eraser and grouping use base CSS. */
body :is(.app-shell, .dialog, .order-data-dialog, .delivery-dialog,
  .review-dialog, .order-export-dialog, .catalogue-dialog, .artwork-dialog)
  :is(.button.yellow, .button.green, .personal-button-primary, .ch-send,
  .catalogue-confirm, .artwork-primary, .order-data-save, .delivery-save,
  .review-save, [data-delivery-print-confirm]),
body.site-mode .site-editor.order-local-editor :is(.site-primary,
  [id=site-add] > button, .site-upload-label) {
  background: var(--accent);
  border-color: var(--accent);
  border-width: 1px;
  border-radius: 999px;
  color: var(--ink);
}
body :is(.app-shell, .dialog, .order-data-dialog, .delivery-dialog,
  .review-dialog, .order-export-dialog, .catalogue-dialog, .artwork-dialog)
  :is(.button.yellow, .button.green, .personal-button-primary, .ch-send,
  .catalogue-confirm, .artwork-primary, .order-data-save, .delivery-save,
  .review-save, [data-delivery-print-confirm]):hover:not(:disabled),
body.site-mode .site-editor.order-local-editor :is(.site-primary,
  [id=site-add] > button, .site-upload-label):hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--ink);
}

/* Selection remains visible independently of the action-button colour. */
body :is(.filter-tab, .stage-filter, .ch-channels button,
  .catalogue-groups button, .artwork-tabs button),
body .order-workspace :is(.workspace-items button, .workspace-sides button),
body.site-mode .site-editor :is(#site-view-tabs button, #site-sides button, .sides button) {
  border: 1px solid var(--pult-control-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
}

body :is(.filter-tab, .stage-filter, .ch-channels button,
  .catalogue-groups button, .artwork-tabs button):is(.active, .is-active, [aria-pressed=true]),
body .order-workspace :is(.workspace-items button, .workspace-sides button)[aria-pressed=true],
body.site-mode .site-editor :is(#site-view-tabs button, #site-sides button, .sides button)[aria-pressed=true] {
  border-color: var(--accent);
  background: var(--pult-control-selected);
  color: var(--ink);
  box-shadow: none;
  font-weight: 600;
}

body :is(.filter-tab, .stage-filter, .ch-channels button,
  .catalogue-groups button, .artwork-tabs button):hover:not(:disabled),
body .order-workspace :is(.workspace-items button, .workspace-sides button):hover:not(:disabled),
body.site-mode .site-editor :is(#site-view-tabs button, #site-sides button, .sides button):hover:not(:disabled) {
  border-color: var(--accent);
}

/* Product labels align right; the number keeps its own compact slot. */
body .order-workspace .workspace-items button {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 7px 12px;
  text-align: right;
  border-radius: 8px;
  line-height: 1.35;
}
body .order-workspace .workspace-item-number {
  color: inherit;
  line-height: inherit;
  text-align: center;
}
body .order-workspace .workspace-items button > span:last-child {
  min-width: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
body .order-workspace .workspace-sidebar :is(.workspace-add-products, .workspace-add button),
body .order-workspace .workspace-upload {
  min-height: 40px;
  padding: 8px 12px;
  text-align: center;
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
  border-radius: 999px;
  border-width: 1px;
}
body .order-workspace .workspace-sidebar :is(.workspace-add-products, .workspace-add button):hover:not(:disabled),
body .order-workspace .workspace-upload:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
body .order-workspace .workspace-sides button,
body.site-mode .site-editor :is(#site-view-tabs button, #site-sides button, .sides button) {
  min-height: 38px;
  padding: 8px 12px;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
}

body .order-workspace .workspace-layer-row {
  border-radius: 8px;
  border-width: 1px;
}
body .order-workspace .workspace-layer-row[data-selected=true] {
  border-color: var(--accent);
  background: var(--pult-control-selected);
  box-shadow: none;
}
body .order-workspace .workspace-layer-row .workspace-layer-select[aria-pressed] {
  background: transparent;
  border-radius: 8px;
  padding-left: 14px;
}
body.site-mode .site-editor #site-layers > button {
  border-radius: 8px;
}
body.site-mode .site-editor #site-layers > button[aria-pressed=true] {
  border-color: var(--accent);
  border-width: 1px;
  box-shadow: none;
}

/* Platform marks are white circular controls, including Gmail. */
body .order-contact-icon,
body .order-contact-icon.contact-email,
body .order-contact-icon:not(:disabled):hover {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
}
body .order-contact-icon:not(:disabled):hover {
  border-color: var(--accent);
}

/* Thin outlines preserve the baseline utility shapes and neutral colours. */
body :is(.app-shell, .dialog, .order-workspace, .order-data-dialog,
  .delivery-dialog, .review-dialog, .order-export-dialog, .catalogue-dialog,
  .artwork-dialog, .site-editor) button {
  border-width: 1px;
}
body :is(.app-shell, .dialog, .order-workspace, .order-data-dialog,
  .delivery-dialog, .review-dialog, .order-export-dialog, .catalogue-dialog,
  .artwork-dialog, .site-editor) :is(button, input, select, textarea):focus-visible,
body :is(.workspace-upload, .site-upload-label, .ch-attach-button):focus-within {
  outline-width: 1px;
}
body .personal-search:focus-within,
body .ch-file-name:focus-visible,
body .ch-resizer:focus-visible {
  outline-width: 1px;
}

/* Input fields have modest corners, independently of the orange add pills. */
body :is(.app-shell, .dialog, .order-data-dialog, .delivery-dialog,
  .review-dialog, .order-export-dialog, .catalogue-dialog, .artwork-dialog)
  :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=button]):not([type=submit]):not([type=color]), select),
body.site-mode .site-editor.order-local-editor
  :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=button]):not([type=submit]):not([type=color]), select) {
  border-radius: 8px;
  border-width: 1px;
}
body :is(.app-shell, .dialog, .order-data-dialog, .delivery-dialog,
  .review-dialog, .order-export-dialog, .catalogue-dialog, .artwork-dialog) textarea,
body.site-mode .site-editor.order-local-editor textarea {
  border-radius: 10px;
  border-width: 1px;
}
body.site-mode .site-editor.order-local-editor :is(input, select, textarea):focus {
  box-shadow: none;
  border-width: 1px;
}

/* Reduce wasted page edges without changing the personal-library layout. */
body .app-shell .main:not(:has(#personal-host)) {
  max-width: none;
  padding-left: 24px;
  padding-right: 20px;
}
@media (max-width: 820px) {
  body .app-shell .main:not(:has(#personal-host)) {
    padding-left: 16px;
    padding-right: 12px;
  }
}
@media (max-width: 540px) {
  body .app-shell .main:not(:has(#personal-host)) {
    padding-left: 12px;
    padding-right: 10px;
  }
}
/* Shared content bounds, following the accepted Orders / Chats pages. */
body .app-shell :is(.main,.finance-main,.customers-main,.products-main){max-width:none;padding-left:24px!important;padding-right:20px!important;min-width:0}
body :is(.finance-page,.customers-page,.products-page,.personal-library){width:100%;max-width:none;margin-left:0;margin-right:0}
body .personal-library{padding-left:0;padding-right:0}
body :is(.finance-close,.customers-close,.products-close){display:inline-flex;align-items:center;justify-content:center;flex:none;background:#fff;color:#29241f;border:1px solid #e3dbd1;border-radius:7px;box-shadow:none;padding:7px;width:32px;height:32px}
body :is(.finance-close,.customers-close,.products-close) svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round;transform:none}
body :is(.finance-close,.customers-close,.products-close):hover{background:#f3f0eb;box-shadow:none}
body :is(.finance-page,.customers-page,.products-page) select{appearance:none;background-color:#fff;background-image:url('assets/icons/lucide-chevron-down.svg');background-size:15px;background-position:right 11px center;background-repeat:no-repeat;padding-right:34px;border:1px solid #e3dbd1;border-radius:8px;min-height:38px;color:#29241f;font:inherit}
body .customers-select-arrow{display:none}
body .products-form-actions .products-button{border-radius:999px}
@media(max-width:820px){body .app-shell :is(.main,.finance-main,.customers-main,.products-main){padding-left:16px!important;padding-right:12px!important}}
@media(max-width:540px){body .app-shell :is(.main,.finance-main,.customers-main,.products-main){padding-left:12px!important;padding-right:10px!important}}
/* Four cards on wide desktop; each card keeps its image and complete product data. */
.products-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.products-list .products-item-row{min-width:0;grid-template-columns:96px minmax(0,1fr);grid-template-areas:'image name' 'image sku' 'image stock';gap:8px 18px;min-height:200px;padding:14px 16px;align-content:center;align-items:start;font-size:13px;line-height:1.5}
.products-item-row .products-row-image{grid-area:image;align-self:center;width:96px;height:auto;aspect-ratio:1;background:#fff;border-radius:10px}
.products-item-row .products-row-name{grid-area:name;align-self:start;min-width:0}
.products-item-row .products-row-name strong{font-size:inherit;line-height:inherit;font-weight:600;overflow-wrap:anywhere}
.products-item-row .products-row-sku{grid-area:sku;align-self:start;min-width:0;font-size:inherit;line-height:inherit;font-weight:400;overflow-wrap:anywhere}
.products-item-row .products-row-stock{grid-area:stock;align-self:start;min-width:0;display:block;margin:0;font-size:inherit;line-height:inherit;font-weight:400;overflow-wrap:anywhere}
.products-item-row .products-row-field{display:flex;align-items:baseline;gap:6px;min-width:0}
.products-item-row .products-row-field>small{flex:none;display:inline;margin:0;font-size:inherit;line-height:inherit;font-weight:400;white-space:nowrap}
.products-item-row .products-row-field>span{min-width:0;overflow-wrap:anywhere}
.products-item-row .products-row-note,.products-item-row .products-status{max-width:100%;width:fit-content;margin:6px 0 0;font-size:inherit;line-height:inherit;font-weight:400;white-space:normal;overflow-wrap:anywhere}
.products-page .products-toolbar .products-search input,.products-page .products-toolbar .products-select select:not(.pult-select-native),.products-page .products-toolbar .pult-select-trigger,.products-page .products-toolbar>.products-button{height:42px;min-height:42px;box-sizing:border-box;font-size:12px;line-height:20px}
.products-toolbar .products-search svg{top:12px}
.products-heading>.products-catalogue-actions{gap:28px;justify-content:flex-end;max-width:100%}
.products-catalogue-actions>.products-actions{gap:8px}
.products-row-image,.products-detail-image,.products-photo-image,.products-edit-photo-image{display:flex;align-items:center;justify-content:center;overflow:hidden;min-width:0;min-height:0;isolation:isolate}
.products-row-image img,.products-detail-image img,.products-photo-image img,.products-edit-photo-image img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;object-position:50% 50%;flex:0 1 auto}
.products-description-layout{grid-template-columns:minmax(260px,.8fr) minmax(320px,1.2fr);gap:32px}
.products-detail-image{height:440px;padding:28px;position:sticky;top:24px}
.products-description-body{min-width:0;padding:4px 0}
.products-description-text{font-size:15px;line-height:1.85}
.products-description-body>h2{margin-top:30px}
.products-characteristics-section{max-width:920px}
.products-attribute-table>div{grid-template-columns:minmax(150px,.45fr) 1fr;gap:24px;padding:13px 0}
.products-photo-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:20px}
.products-photo-card{padding:18px;display:flex;flex-direction:column;align-items:stretch;gap:8px}
.products-photo-image{height:280px;padding:14px;margin:0 0 8px}
.products-photo-card>p,.products-photo-card>a{margin:0;overflow-wrap:anywhere}
.products-photo-card>.products-button{align-self:flex-start;margin-top:10px;border-radius:999px}
.products-channel-link{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid #e5ddd3;border-radius:10px;background:white;color:#29241f;text-decoration:none;font-size:13px}
.products-channel-link svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6}
.products-model-file{padding:20px;border:1px solid #e5ddd3;border-radius:12px;background:white}
.products-model-file h3{margin-top:0}
.products-heading>.products-actions .products-button,.products-detail-heading>.products-actions>.products-button{height:42px;min-height:42px;min-width:166px;padding:10px 18px;border-radius:999px;background:#febb01;border-color:#febb01;color:#29241f;font-size:12px;line-height:20px}
.products-catalogue-actions>.products-purchase-actions>.products-button{background:#fff;border:1px solid #febb01;color:#29241f}
.products-page .products-button,.products-dialog .products-button{transition:background-color .16s,border-color .16s,color .16s}
.products-page .products-button:hover:not(:disabled),.products-dialog .products-button:hover:not(:disabled){background:#fffefa;border-color:#cec0ad}
.products-page .products-button.primary:hover:not(:disabled),.products-dialog .products-button.primary:hover:not(:disabled),.products-heading>.products-actions .products-button:hover:not(:disabled),.products-detail-heading>.products-actions>.products-button:hover:not(:disabled){background:var(--accent-hover,#eaae01);border-color:var(--accent-hover,#eaae01);color:var(--ink,#29241f)}
.products-catalogue-actions>.products-purchase-actions>.products-button:hover:not(:disabled){background:var(--pult-control-selected,#fff6de);border-color:var(--accent-hover,#eaae01)}
.products-section-heading .products-button{min-height:42px;border-radius:999px;padding:10px 18px}
.products-heading,.products-detail-heading{align-items:center;flex-wrap:wrap}
.products-feed-panel{display:grid;gap:20px}
.products-feed-panel>.products-muted,.products-feed-ready>p{margin:0}
.products-feed-panel>.products-field{gap:9px}
.products-feed-panel .products-notice,.products-feed-panel .products-error{margin:0;padding:15px 17px}
.products-feed-panel .products-notice ul{list-style:none;padding:0;margin:0}
.products-feed-panel li+li{margin-top:10px}
.products-feed-ready{display:grid;gap:18px;justify-items:start;padding-top:2px}
.products-feed-ready p{overflow-wrap:anywhere;font-size:12px}
.products-disclosure{padding-top:20px}
.products-disclosure>summary{font-weight:600;font-size:14px;cursor:pointer;margin-bottom:18px}
.products-purchase-edit-line{grid-template-columns:1fr 1fr 1fr auto;gap:14px;align-items:end;padding:18px}
.products-line-product{grid-column:1/-1}
.products-price-note{grid-column:1/-1;margin:0;color:#8b7b68;font-size:11px;line-height:1.6;min-height:0}
.products-price-note:empty{display:none}
.products-purchase-edit-line>.products-button{margin-bottom:1px}
.products-dialog .products-field{gap:8px}
.products-edit-photo-image{height:auto;aspect-ratio:1;width:100%;max-width:100%}
.products-edit-photo{grid-template-columns:140px minmax(0,1fr);padding:18px;gap:20px}
/* Modal surfaces stay centered; long forms scroll inside their own surface. */
body :is(.dialog-backdrop,.finance-overlay,.customers-overlay,.products-overlay,.order-data-overlay,.delivery-overlay,.order-export-overlay,.catalogue-overlay,.review-overlay,.artwork-overlay){display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important;overflow:hidden!important}
body :is(.dialog-backdrop,.finance-overlay,.customers-overlay,.products-overlay,.order-data-overlay,.delivery-overlay,.order-export-overlay,.catalogue-overlay,.review-overlay,.artwork-overlay)>[role=dialog]{align-self:center!important;margin:0!important;max-height:calc(100dvh - 40px)!important;max-width:calc(100vw - 40px);overflow-y:auto;min-height:0;flex-shrink:1}
@media(max-width:1279px){.products-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.products-list{grid-template-columns:repeat(2,minmax(0,1fr))}.products-description-layout{grid-template-columns:minmax(220px,.8fr) minmax(260px,1.2fr);gap:24px}}
@media(max-width:740px){.products-description-layout{grid-template-columns:minmax(0,1fr)}.products-detail-image{height:340px;position:static}.products-heading>.products-actions{width:100%}.products-heading>.products-catalogue-actions{justify-content:flex-start;gap:16px}.products-catalogue-actions>.products-actions{width:100%;gap:8px}.products-heading>.products-catalogue-actions .products-button{flex:1 1 166px;min-width:min(166px,100%)}.products-purchase-edit-line{grid-template-columns:1fr 1fr}.products-line-product{grid-column:1/-1}.products-purchase-edit-line>.products-field:nth-child(4){grid-column:1}.products-purchase-edit-line>.products-button{grid-column:2;justify-self:end}.products-edit-photo{grid-template-columns:100px minmax(0,1fr)}.products-edit-photo-image{height:auto}.products-attribute-table>div{grid-template-columns:110px minmax(0,1fr);gap:14px}}
@media(max-width:740px){.products-list{grid-template-columns:minmax(0,1fr)}}
@media(max-width:540px){.products-detail-heading>.products-actions{width:100%}.products-detail-heading>.products-actions>.products-button{flex:1;min-width:0}.products-edit-photo{grid-template-columns:minmax(0,1fr)}.products-edit-photo-image{height:auto}.products-detail-image{height:300px}.products-purchase-edit-line{padding:14px;gap:12px}.products-purchase-edit-line>.products-field:nth-child(4){grid-column:1/-1}.products-purchase-edit-line>.products-button{grid-column:1/-1}.products-attribute-table>div{grid-template-columns:105px minmax(0,1fr)}body :is(.dialog-backdrop,.finance-overlay,.customers-overlay,.products-overlay,.order-data-overlay,.delivery-overlay,.order-export-overlay,.catalogue-overlay,.review-overlay,.artwork-overlay){padding:12px!important}body :is(.dialog-backdrop,.finance-overlay,.customers-overlay,.products-overlay,.order-data-overlay,.delivery-overlay,.order-export-overlay,.catalogue-overlay,.review-overlay,.artwork-overlay)>[role=dialog]{max-height:calc(100dvh - 24px)!important;max-width:calc(100vw - 24px)}}

.products-purchase-row>span{min-width:0;overflow-wrap:anywhere}
.pult-select-control{position:relative;display:block;min-width:0;width:100%;font:inherit}
.pult-select-native{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;min-width:0!important;max-height:1px!important;max-width:1px!important;padding:0!important;margin:-1px!important;opacity:0!important;overflow:hidden!important;clip-path:inset(50%)!important;pointer-events:none!important;border:0!important}
body .pult-select-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:42px;padding:10px 13px;border:1px solid #e3dbd1;border-radius:9px;background:#fff;color:#29241f;text-align:left;font:inherit;font-size:12px;line-height:20px;cursor:pointer;box-shadow:0 1px 2px #29241f04}
body .pult-select-trigger:hover{border-color:#cbbb9f;background:#fffefa}
body .pult-select-trigger:focus-visible{outline:2px solid #e2a700;outline-offset:2px}
body .pult-select-trigger[aria-expanded=true]{border-color:#c8a856;box-shadow:0 0 0 2px #febb011c}
body .pult-select-trigger:disabled{opacity:.55;cursor:default}
.pult-select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .pult-select-arrow{display:block;flex:0 0 16px;width:16px!important;height:16px!important;margin:0!important;object-fit:contain;align-self:center;opacity:.65;transform:none}
.pult-select-menu{position:fixed;z-index:10000;box-sizing:border-box;overflow:auto;background:#fffdf9;color:#29241f;border:1px solid #e4d8c5;border-radius:11px;padding:5px;box-shadow:0 12px 30px #29241f24;font-family:Manrope,sans-serif;font-size:12px;line-height:1.5;overscroll-behavior:contain}
body .pult-select-menu .pult-select-option{display:block;box-sizing:border-box;width:100%;min-height:38px;padding:9px 11px;border:0;border-radius:7px;background:transparent;color:inherit;font:inherit;text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
body .pult-select-menu .pult-select-option[aria-selected=true]{background:#fff1c6;font-weight:600}
body .pult-select-menu .pult-select-option:hover,body .pult-select-menu .pult-select-option:focus-visible{background:#f5efe5;outline:none}
body .pult-select-menu .pult-select-option:disabled{opacity:.4;cursor:default}
body .pult-select-control+ :is(.customers-select-arrow,.products-select-arrow){display:none}
body .finance-dropdown>summary{min-height:42px;padding:10px 13px;line-height:20px;border-radius:9px;box-shadow:0 1px 2px #29241f04}
/* Product content only; shared controls, two-card list and modal placement stay upstream. */
.products-detail-content{container-type:inline-size}
.products-description-layout{grid-template-columns:minmax(0,280px) minmax(0,360px) minmax(0,1fr);gap:24px;align-items:start}
.products-description-layout>*,.products-description-media{min-width:0}
.products-description-media{width:100%;max-width:280px}
.products-description-layout>.products-characteristics-section{max-width:none}
.products-description-layout>.products-description-body{padding:24px;border:1px solid #e5ddd3;border-radius:12px;background:#fff}
.products-description-layout>.products-description-body>h2{margin-top:0}
.products-description-layout .products-facts>div{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px}
.products-description-layout .products-facts dt,.products-description-layout .products-model-file p,.products-description-summary strong,.products-description-media .products-channel-link{overflow-wrap:anywhere}
.products-description-media>.products-detail-image{position:relative;top:auto;width:min(100%,calc((100cqi - 32px)*.2));height:auto;aspect-ratio:1/1;padding:0;min-width:0;min-height:0}
.products-description-media>.products-detail-image>img{position:absolute;inset:0;width:100%;height:100%;padding:24px;box-sizing:border-box;object-fit:contain}
.products-description-media>.products-detail-image>.products-no-image{position:absolute;inset:0;width:100%;height:100%}
.products-description-copy .products-description-text{margin:0 0 20px}
.products-description-copy .products-description-text:last-child{margin-bottom:0}
.products-description-summary{display:flex;gap:28px;flex-wrap:wrap;margin:26px 0;padding:20px 0;border-top:1px solid #e5ddd3;border-bottom:1px solid #e5ddd3}
.products-description-summary>div{display:flex;flex-direction:column;gap:6px;min-width:120px}
.products-description-summary span{color:#8b7b68;font-size:11px}
.products-description-summary strong{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}
.products-characteristics-card{min-width:0;padding:24px;border:1px solid #e5ddd3;border-radius:12px;background:#fff}
.products-characteristics-card .products-facts:last-child,.products-characteristics-card .products-prose:last-child{margin-bottom:0}
.products-characteristics-card .products-attribute-table>div{padding:14px 0}
.products-characteristics-card+.products-model-file{margin-top:20px}
.products-photo-only-editor{margin-top:16px;padding-top:0;border-top:0}
.products-photo-only-editor .products-file-input{margin-top:0}
.products-stock-sections{display:grid;gap:22px}
.products-stock-card{padding:24px;border:1px solid #e5ddd3;border-radius:12px;background:#fff;min-width:0}
.products-stock-card h2{font-size:20px;margin:0 0 20px}
.products-stock-card .products-section-heading h2{margin:0}
.products-stock-balance .products-stock-summary{padding:0;border:0;border-radius:0;gap:14px 28px;margin:22px 0 18px;background:transparent}
.products-stock-balance .products-stock-summary>strong{font-size:32px;line-height:1.3}
.products-stock-balance>.products-muted{margin:14px 0 0}
.products-stock-balance>.products-notice{margin:18px 0 0}
.products-stock-balance .products-actions .products-button{min-height:42px;border-radius:999px;padding:10px 18px}
.products-stock-balance .products-actions .products-button.primary{min-width:166px}
.products-linked-purchases{display:grid}
.products-linked-purchase+.products-linked-purchase{border-top:1px solid #e5ddd3;margin-top:20px;padding-top:20px}
.products-linked-purchase .products-section-heading{margin-bottom:14px;align-items:center}
.products-linked-purchase h3{font-size:14px;margin:0}
.products-linked-purchase .products-muted{margin:6px 0 0}
.products-linked-quantities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0}
.products-linked-quantities>div{display:block;padding:0;border:0;min-width:0}
.products-linked-quantities dt{font-size:11px;margin-bottom:5px}
.products-linked-quantities dd{font-size:14px;font-variant-numeric:tabular-nums}
.products-stock-movements .products-history>li:first-child{border-top:0;padding-top:0}
.products-movement-quantity{font-weight:600;font-variant-numeric:tabular-nums}
@media(max-width:740px){.products-description-media>.products-detail-image{position:relative;top:auto;width:min(100%,50cqi)}.products-stock-card .products-section-heading{align-items:flex-start}.products-stock-balance .products-actions{width:100%}.products-stock-balance .products-actions .products-button{flex:1;min-width:0}.products-linked-purchase .products-section-heading{align-items:flex-start}.products-linked-quantities{gap:14px}}
@media(max-width:540px){.products-characteristics-card,.products-stock-card,.products-description-layout>.products-description-body{padding:18px 15px}.products-description-media>.products-detail-image>img{padding:20px}.products-description-summary{gap:20px;margin:22px 0;padding:18px 0}.products-description-summary strong{font-size:15px}.products-stock-sections{gap:16px}.products-stock-card h2{font-size:18px}.products-stock-balance .products-stock-summary>strong{font-size:28px}.products-stock-balance .products-actions{flex-direction:column;align-items:stretch}.products-stock-balance .products-actions .products-button{width:100%}.products-linked-quantities dd{font-size:12px}.products-linked-purchase .products-section-heading{gap:12px}}

@container(max-width:1049px){.products-description-layout{grid-template-columns:minmax(0,280px) minmax(0,1fr)}.products-description-layout>.products-description-body{grid-column:1/-1}}
@container(max-width:700px){.products-description-layout{grid-template-columns:minmax(0,1fr)}.products-description-layout>.products-description-body{grid-column:auto}}

/* Photo controls live in the card; shared modal and description layout stay upstream. */
.products-inline-photo-fields{padding:0;margin:0;border:0;min-width:0}
.products-inline-photos .products-photo-grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}
.products-inline-photo .products-photo-image{width:100%;height:auto;aspect-ratio:1}
.products-inline-photo .products-channel-checks{border:0;padding:0;margin:0;min-width:0;gap:10px 14px}
.products-inline-photo .products-actions{gap:7px}
.products-inline-photo .products-actions .products-button{font-size:11px;padding:8px 11px}
.products-inline-photos .products-photo-save-actions{margin-top:24px}
.products-inline-photos .products-photo-save-actions:empty{display:none}
.products-page .products-photo-save-actions .products-button{min-width:190px;min-height:42px;border-radius:999px;padding:10px 18px}
@media(max-width:540px){.products-inline-photos .products-photo-grid{grid-template-columns:minmax(0,1fr)}.products-inline-photos .products-photo-save-actions{align-items:stretch}.products-page .products-photo-save-actions .products-button{flex:1;min-width:0}.products-inline-photo .products-photo-image{height:auto}}
.products-history .products-payment-actions,.products-payment-history{grid-column:1/-1}
.products-history .products-payment-actions{margin:4px 0}
.products-payment-history summary{cursor:pointer}
.products-payment-history ol{padding-left:20px;overflow-wrap:anywhere}
.products-payment-history li+li{margin-top:8px}
.products-page input.products-sr[data-products-photos-upload]{width:1px;max-width:1px;min-width:0;height:1px;min-height:0;padding:0;border:0}
.products-dialog .products-file-input input[type="file"]{padding:5px;min-height:42px}
.products-dialog .products-file-input input[type="file"]::file-selector-button{border:1px solid var(--accent,#febb01);border-radius:999px;background:var(--accent,#febb01);color:#29241f;padding:7px 13px;margin-right:12px;font:inherit;line-height:20px;cursor:pointer;transition:filter .15s}
.products-dialog .products-file-input input[type="file"]::file-selector-button:hover{filter:brightness(.97)}
/* Counts describe the result of selecting the existing order/stage filter. */
body .filter-tab,body .stage-filter{display:inline-flex;align-items:center;justify-content:center;gap:7px}
body .order-stage-count{display:inline-flex;align-items:center;justify-content:center;flex:none;box-sizing:border-box;width:var(--order-count-size,20px);height:var(--order-count-size,20px);padding:0;border:0;border-radius:50%;background:#febb01;color:#29241f;font-size:10px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}
@media(max-width:540px){body .filter-tab,body .stage-filter{gap:5px}body .order-stage-count{font-size:10px}}
/* Direct device launch, beside the existing sidebar footer. */
.sidebar-bottom>.sidebar-ezcad{width:100%;text-decoration:none;margin-bottom:12px;cursor:pointer}
.sidebar-ezcad:focus-visible{outline:2px solid var(--accent,#febb01);outline-offset:2px}
.settings-ezcad-download{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:999px;min-height:42px;padding:10px 18px}
.cloud-locked #app,.cloud-locked #toast{visibility:hidden;pointer-events:none}.cloud-gate{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:24px;background:#f6f0e8;color:#29241f;font-family:Manrope,Arial,sans-serif}.cloud-gate[hidden]{display:none}.cloud-card{width:min(100%,420px);box-sizing:border-box;padding:32px;background:#fff;border:1px solid #e5ddd3;border-radius:16px;box-shadow:0 12px 45px #29241f0a}.cloud-card h1{font-size:24px;line-height:1.25;margin:25px 0 20px}.cloud-card p{font-size:14px;line-height:1.6}.cloud-card label{display:block;margin-bottom:8px;font-size:14px}.cloud-card input{width:100%;box-sizing:border-box;font:inherit;border:1px solid #c8bfb4;border-radius:8px;padding:12px;background:#fff}.cloud-primary{margin-top:18px;width:100%;border:0;border-radius:8px;padding:12px 16px;font:inherit;font-weight:600;background:#febb01;color:#29241f;cursor:pointer}.cloud-primary:focus-visible,.cloud-card input:focus-visible{outline:2px solid #2866cb;outline-offset:3px}.cloud-message{margin-bottom:0;min-height:1.5em;color:#8b3524;overflow-wrap:anywhere}.legacy-orders{color:var(--ink,#29241f);font-family:inherit;min-width:0}.legacy-heading{margin-bottom:24px}.legacy-heading h1{margin:0 0 8px;font-size:28px;line-height:1.3;font-weight:650}.legacy-note{color:var(--muted,#766a5c);font-size:13px;line-height:1.6;margin:8px 0;overflow-wrap:anywhere}.legacy-toolbar{align-items:flex-end}.legacy-search-label{display:block}.legacy-search-caption{display:block;font-size:12px;color:var(--muted,#766a5c);margin-bottom:7px}.legacy-search{box-sizing:border-box;width:100%;min-height:42px;padding:10px 14px;border:1px solid var(--line,#e6ded3);border-radius:10px;background:#fff;color:inherit;font:inherit;font-size:14px}.legacy-orders-list{display:grid;gap:12px}.legacy-order-row{position:relative;background:#fff;border:1px solid var(--line,#e6ded3);border-radius:14px;padding:18px 20px;column-gap:20px}.legacy-order-identity{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0}.legacy-open{position:static;text-align:left;white-space:normal;overflow-wrap:anywhere;border:0;background:none;padding:0;color:inherit;font:inherit;font-weight:650;font-size:14px;cursor:pointer}.legacy-open:focus-visible{outline:2px solid #876e50;outline-offset:4px}.legacy-order-composition{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.legacy-order-money{display:flex;flex-direction:column;gap:7px}.legacy-order-money strong{font-size:15px}.legacy-order-stage{min-width:0}.legacy-next{font-size:12px;margin:7px 0 0;color:var(--muted,#766a5c);line-height:1.5;overflow-wrap:anywhere}.legacy-message{padding:16px;background:#fff;border:1px solid #e6ded3;border-radius:12px;margin-bottom:12px}.legacy-error{color:#973b2f;font-size:14px;line-height:1.6}.legacy-aside{display:grid;gap:16px}.legacy-main{display:grid;gap:18px;min-width:0}.legacy-card .total-amount{display:block;font-size:26px}.legacy-fields{margin:0}.legacy-field{margin:12px 0}.legacy-field dt{font-size:12px;color:var(--muted,#766a5c);margin-bottom:4px}.legacy-field dd{margin:0;font-size:14px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}.legacy-item h3{margin:0;font-size:15px}.legacy-side{border-top:1px solid #eee6db;margin-top:12px;padding-top:12px}.legacy-side h4{margin:0;font-size:12px;color:var(--muted,#766a5c);font-weight:500}.legacy-inscription{white-space:pre-wrap;overflow-wrap:anywhere;color:inherit;font-size:14px;line-height:1.65;margin:8px 0}.legacy-orders .back-link{margin-bottom:18px}.legacy-orders .button{white-space:normal}.legacy-orders .button:focus-visible,.legacy-search:focus-visible{outline:2px solid #876e50;outline-offset:3px}@media(max-width:1050px){.legacy-order-row{grid-template-columns:minmax(180px,1.4fr) minmax(140px,1fr)}.legacy-order-composition{grid-row:2;grid-column:1/-1;margin-top:10px}.legacy-order-stage{grid-row:3;grid-column:1/-1;margin-top:8px}}@media(max-width:640px){.legacy-heading h1{font-size:25px}.legacy-toolbar{align-items:stretch;flex-wrap:wrap;gap:10px}.legacy-search-label{flex-basis:100%;max-width:none}.legacy-order-row{grid-template-columns:minmax(0,1fr);padding:16px}.legacy-order-money{margin-top:12px}.legacy-order-composition{grid-row:auto;grid-column:auto}.legacy-order-stage{grid-row:auto;grid-column:auto}.legacy-detail{grid-template-columns:minmax(0,1fr)}.legacy-orders .items-list{grid-template-columns:minmax(0,1fr)}}

.composition-thumb-fallback:not([hidden]){display:grid;place-items:center;height:100%;color:#655f59}
.customers-product:has(>.customers-product-fallback:not([hidden])){width:auto;min-width:44px;max-width:9rem;height:auto;min-height:44px;padding:4px 10px}
.customers-product-fallback:not([hidden]){display:grid;place-items:center;min-height:34px;color:#655f59;text-align:center;font-size:11px;line-height:1.2;overflow-wrap:anywhere}

body.editing-order .order-workspace{position:fixed;inset:0;z-index:1200;display:flex;flex-direction:column;overflow:auto;background:#f8f5ef;padding:16px 20px;color:#352e29;border:0;border-radius:0;box-shadow:none}
.order-workspace,.order-workspace *{box-sizing:border-box}
.order-workspace .workspace-header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:16px;padding:0 0 12px;border:0;background:transparent}
.order-workspace .workspace-title{font-size:22px;line-height:1.3;margin:4px 0 0;overflow-wrap:anywhere}
.order-workspace .workspace-eyebrow{font-size:11px;color:#7b7066;letter-spacing:.12em;text-transform:uppercase}
.order-workspace .workspace-close{flex:0 0 44px;width:44px;height:44px;font-size:28px;border:1px solid #ded5c9;border-radius:50%;background:#fff;color:inherit}
.order-workspace .workspace-status{flex:0 0 auto;min-height:20px;margin:0 0 8px;padding:0;font-size:13px;color:#75685e}
.order-workspace .workspace-status.error{color:#983b29}
.order-workspace .workspace-layout{display:flex;flex-direction:column;gap:12px;min-width:0}
.order-workspace .workspace-sidebar{background:#fff;border:1px solid #e8e0d7;border-radius:20px;padding:16px;min-width:0;container:workspace-sidebar/inline-size}
.order-workspace .workspace-sidebar h3{font-size:14px;margin:22px 0 10px;font-weight:600}
.order-workspace .workspace-sidebar h3:first-child{margin-top:0}
.order-workspace .workspace-items,.order-workspace .workspace-sides,.order-workspace .workspace-layers{display:flex;flex-direction:column;gap:6px}
.order-workspace .workspace-sidebar button,.order-workspace .workspace-upload{font:inherit;font-size:13px;line-height:1.4;color:inherit;border:1px solid #e4dcd2;background:#fff;border-radius:12px;padding:10px 12px;text-align:left;min-height:44px;cursor:pointer;width:100%;overflow-wrap:anywhere}
.order-workspace .workspace-items button{display:flex;gap:8px;align-items:flex-start}
.order-workspace .workspace-item-number{flex-shrink:0;color:#8d7e70;font-size:12px}
.order-workspace .workspace-sidebar button[aria-pressed=true]{border-color:#d8a500;box-shadow:0 0 0 1px #e8b71e;background:#fffdf5}
.order-workspace .workspace-layer-type{display:block;color:#8d7e70;font-size:11px;margin-bottom:3px}
.order-workspace .workspace-layer-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:22px 0 8px}
.order-workspace .workspace-layer-heading h3{margin:0}
.order-workspace .workspace-layer-toolbar{display:flex;gap:4px}
.order-workspace .workspace-layer-clipboard{flex:0 0 auto}
.order-workspace .workspace-layer-clipboard button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;min-height:28px;padding:5px;border-radius:8px}
.order-workspace .workspace-layer-toolbar svg,.order-workspace .workspace-layer-delete svg{display:block;flex:none;pointer-events:none}
.order-workspace .workspace-layer-groups{flex-wrap:wrap;margin:0 0 10px}
.order-workspace .workspace-layer-groups button{flex:1 1 auto;width:auto;min-height:30px;padding:5px 3px;font-size:10.5px;line-height:1.4;text-align:center;white-space:nowrap;overflow-wrap:normal;border-radius:8px}
.order-workspace .workspace-layer-row{display:flex;align-items:center;min-width:0;border:1px solid #e4dcd2;border-radius:12px;background:#fff;overflow:hidden}
.order-workspace .workspace-layer-row[data-selected=true]{border-color:#d8a500;box-shadow:0 0 0 1px #e8b71e;background:#fffdf5}
.order-workspace .workspace-layer-row .workspace-layer-select[aria-pressed]{flex:1 1 0;min-width:0;width:auto;border:0;border-radius:0;padding:8px 6px 8px 10px;background:transparent;box-shadow:none}
.order-workspace .workspace-layer-select>span:last-child{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.order-workspace .workspace-layer-row .workspace-layer-delete{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;min-height:28px;margin-right:5px;padding:5px;border:0;border-radius:7px;background:transparent;color:#8d7e70}
.order-workspace .workspace-layer-clipboard button:hover:not(:disabled),.order-workspace .workspace-layer-groups button:hover:not(:disabled){background:#fff6da;border-color:#d8b44c}
.order-workspace .workspace-layer-row .workspace-layer-delete:hover:not(:disabled){background:#faeae5;color:#983b29}
.order-workspace .workspace-layer-row button:focus-visible{outline-offset:-3px}
.order-workspace .workspace-layer-toolbar button[hidden]{display:none}
@container workspace-sidebar (max-width:160px){
 .order-workspace .workspace-layer-groups button{flex-basis:100%;font-size:11px}
}
.order-workspace .workspace-add{display:flex;flex-direction:column;gap:6px;margin-top:12px}
.order-workspace .workspace-upload{position:relative;display:block}
.order-workspace .workspace-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.order-workspace .workspace-empty{font-size:13px;line-height:1.5;color:#8d7e70;margin:0}
.order-workspace .workspace-body{position:relative;flex:0 0 auto;min-width:0;min-height:0;overflow:visible;padding:0;border:0}
.order-workspace .order-editor-frame{display:block;width:100%;height:100dvh;min-height:0;border:0;background:transparent}
.order-workspace button:disabled,.order-workspace input:disabled{opacity:.5;cursor:default}
.order-workspace button:focus-visible,.order-workspace .workspace-upload:focus-within{outline:2px solid #d8a500;outline-offset:3px}
.order-workspace .order-pane-resizer{display:none}
@media(min-width:960px){
 body.editing-order .order-workspace{height:100dvh;max-height:100dvh;overflow:hidden}
 .order-workspace .workspace-layout{flex:1 1 0;display:grid;grid-template-columns:var(--workspace-left,220px) 8px minmax(0,1fr);gap:0;align-items:stretch;min-height:0}
 .order-workspace .workspace-sidebar{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:14px}
 .order-workspace .workspace-body{height:100%;overflow:hidden}
 .order-workspace .order-editor-frame{height:100%!important;min-height:0!important;max-height:100%}
 .order-workspace .order-pane-resizer{display:block}
}
@media(max-width:959px){
 body.editing-order .order-workspace{padding:14px}
 .order-workspace .workspace-sidebar,.order-workspace .workspace-body{width:100%}
 .order-workspace .workspace-items,.order-workspace .workspace-sides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .order-workspace .workspace-sidebar h3{margin-top:14px}
 .order-workspace .workspace-add{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
 body.editing-order .order-workspace{padding:12px 10px 24px}
 .order-workspace .workspace-title{font-size:18px}
 .order-workspace .workspace-layers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
}
.order-pane-resizer{position:relative;min-width:0;min-height:0;cursor:col-resize;touch-action:none;outline:0;user-select:none}
.order-pane-resizer::after{content:"";position:absolute;top:12px;bottom:12px;left:3px;width:2px;border-radius:2px;background:#ded5c9}
.order-pane-resizer:hover::after,.order-pane-resizer:focus-visible::after,.order-pane-resizer[data-dragging]::after{background:#d8a500}
.order-pane-resizer:focus-visible{outline:2px solid #d8a500;outline-offset:-2px;border-radius:4px}

/* The local visualizer keeps add actions below the scrolling product/layer list. */
.order-workspace .workspace-sidebar{display:flex;flex-direction:column;min-height:0;padding:0;overflow:hidden}
.order-workspace .workspace-sidebar-content{min-height:0;flex:1 1 auto;padding:14px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.order-workspace .workspace-add{flex:0 0 auto;margin:0;padding:12px 14px;border-top:1px solid #eee6dd;background:#fff}
@media(max-width:959px){.order-workspace .workspace-sidebar{max-height:56dvh;min-height:250px}.order-workspace .workspace-sidebar-content{flex:1 1 0}.order-workspace .workspace-add{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Editor2: a distinct add action, lighter selections, no visible separator bars. */
.order-workspace .workspace-add-products{margin-top:12px}
.order-workspace .workspace-sidebar .workspace-add-products,.order-workspace .workspace-add button,.order-workspace .workspace-upload{background:#f59a23;border-color:#f59a23;color:#352e29}
.order-workspace .workspace-sidebar .workspace-add-products:hover:not(:disabled),.order-workspace .workspace-add button:hover:not(:disabled),.order-workspace .workspace-upload:hover{background:#ed8c18;border-color:#ed8c18}
.order-workspace .workspace-sidebar button[aria-pressed=true],.order-workspace .workspace-layer-row[data-selected=true]{border-width:1px;box-shadow:none}
.order-workspace .workspace-layer-row .workspace-layer-select[aria-pressed]{border:0;box-shadow:none}
.order-workspace .order-pane-resizer::after{content:none}
.order-workspace .order-pane-resizer:hover,.order-workspace .order-pane-resizer[data-dragging]{background:transparent}
.order-workspace .order-pane-resizer:focus-visible{outline:1px dotted #2563eb;outline-offset:-2px}

.workspace-artwork-status{display:block;font-size:11px;font-weight:400;color:#86613f;white-space:normal;margin-top:3px}.workspace-layer-select:has(.workspace-artwork-status){min-height:46px}

.order-history-pages{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin:20px 0}
