@import url('/assets/style.css');
.client-edit-form{display:grid;gap:9px!important}.client-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.client-edit-grid label{min-width:0}.client-edit-grid input,.client-edit-grid select{min-height:47px!important}.client-edit-form .check-row{font-size:11px;gap:8px}.client-edit-form .check-row input{width:auto;min-height:0!important}.client-edit-form input:disabled,.client-edit-form select:disabled{background:#f7f7f4;opacity:.75}.client-edit-extra{padding:0;border-top:1px solid #eee;border-bottom:1px solid #eee}.client-edit-extra summary{padding:10px 0;font-size:11px;color:#888}.client-edit-extra p{font-size:10px;line-height:1.5}.client-edit-save{justify-self:end;min-height:36px!important;font-size:11px}.client-edit-form .error:empty{display:none}.client-edit-form .error{margin:0;color:#b54840;font-size:11px}.client-card-orders{margin-top:17px;border-top:1px solid #e9e9e4;padding-top:12px}.client-card-orders .section-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.client-card-orders h3{font-size:13px;margin:0}.client-card-orders .integration-actions{margin:0;gap:5px}.client-card-orders button svg{width:15px;height:15px}.client-card-order-row{display:grid;grid-template-columns:minmax(130px,1fr) auto minmax(95px,auto);align-items:center;gap:9px;padding:8px 0;border-bottom:1px solid #eee}.client-card-order-row>button{background:transparent!important;color:#222!important;text-align:left;padding:0;min-width:0}.client-card-order-row b{font-size:11px}.client-card-order-row small{display:block;color:#96968e;font-size:9px}.client-card-order-row>div{text-align:right}.client-card-order-row .badge{font-size:9px}.client-back-button{margin:0 0 12px;font-size:11px}#client-card-more-orders{margin-top:9px;font-size:11px}@media(max-width:560px){.client-edit-grid{grid-template-columns:1fr 1fr}.client-edit-grid>label:first-child{grid-column:1/-1}.client-edit-grid input,.client-edit-grid select{font-size:12px!important}.client-edit-save{justify-self:stretch}.client-card-order-row{grid-template-columns:minmax(0,1fr) auto;gap:5px}.client-card-order-row>.badge{grid-row:2;grid-column:1;justify-self:start}.client-card-order-row>div{grid-column:2;grid-row:1/3}.client-card-order-row small{font-size:8px}.client-card-orders .section-title{flex-wrap:wrap}}
.client-filters{margin-bottom:8px}.client-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.client-filter-grid label{min-width:0;display:grid;gap:4px;font-size:10px;color:#888}.client-filter-grid input,.client-filter-grid select{min-width:0;height:38px;padding:7px 9px;font-size:11px}.client-filter-grid .check-row{display:flex;align-items:center;gap:7px}.client-filter-grid .check-row input{width:auto;height:auto}.client-count{font-size:10px;color:#90908b;padding:5px 2px 9px}.client-directory-list{display:grid;gap:5px}.client-directory-row,.client-list-head{display:grid;grid-template-columns:minmax(170px,1.7fr) minmax(120px,1fr) 68px 170px 115px;align-items:center;gap:10px}.client-list-head{font-size:9px;color:#979790;padding:5px 11px 8px}.client-list-head span:last-child{text-align:right}.client-directory-row{min-height:49px;padding:6px 11px;border:1px solid #e8e8e3;border-radius:12px;background:white}.office .client-name{display:grid;gap:2px;min-width:0;padding:0;text-align:left;background:transparent!important;color:#333!important}.client-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600}.client-name small,.client-assignment small{display:block;color:#96968f;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-assignment{min-width:0}.client-assignment>span{display:block;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-access{display:flex;gap:5px}.client-channel{position:relative;display:flex;align-items:center;justify-content:center;flex:none;width:25px;height:25px;border-radius:50%;background:#f0f0ed;color:#a4a49d}.client-channel svg{width:12px;height:12px}.client-channel.green{background:#e6f6ec;color:#298b59}.client-channel.green:after{content:'';position:absolute;right:0;top:0;width:6px;height:6px;border-radius:50%;background:#27a365;border:1px solid white}.client-order-counts{display:flex;justify-content:space-evenly;gap:8px;font-size:11px}.client-order-counts>*{min-width:24px;text-align:center}.pending-count{color:#ba8b2a}.shipped-count{color:#319669}.client-debt{text-align:right;font-size:11px;color:#a1a19a;white-space:nowrap}.client-debt.has-debt{color:#b4544c}.client-pages{display:flex;justify-content:center;gap:9px;margin-top:13px}.client-pages button{min-height:34px;font-size:11px}.client-request-row{display:grid;grid-template-columns:minmax(180px,1fr) auto auto auto;align-items:center;gap:12px;margin-bottom:5px;padding:9px 11px;border:1px solid #e8e8e3;border-radius:12px;background:#fff}.client-request-row>small{font-size:9px;color:#999}.client-request-row>button:last-child{min-height:32px;font-size:10px}@media(max-width:950px){.client-directory-row,.client-list-head{grid-template-columns:minmax(140px,1.5fr) minmax(95px,1fr) 60px 110px 95px;gap:7px}.client-list-head{font-size:8px}.client-filter-grid{grid-template-columns:1fr 1fr}}@media(max-width:760px){.office-header nav .nav-item{width:auto;min-width:0;padding:6px;font-size:10px}.office-header nav{flex:1;gap:1px}.client-list-head{display:none}.client-directory-row{grid-template-columns:minmax(0,1fr) 62px 105px;gap:4px 8px;padding:8px 10px;min-height:62px}.client-directory-row .client-name{grid-column:1;grid-row:1}.client-access{grid-column:2;grid-row:1}.client-debt{grid-column:3;grid-row:1;font-size:10px}.client-assignment{grid-column:1;grid-row:2;display:flex;gap:5px}.client-assignment>span{font-size:9px;max-width:50%}.client-assignment small{max-width:50%;font-size:9px}.client-order-counts{grid-column:2/-1;grid-row:2;justify-content:flex-end;gap:13px;font-size:10px}.client-order-counts>b:before{content:'Все ';color:#999;font-size:8px;font-weight:400}.pending-count:before{content:'В работе ';font-size:8px}.shipped-count:before{content:'Отгр. ';font-size:8px}.client-request-row{grid-template-columns:minmax(0,1fr) auto;gap:6px}.client-request-row>small{display:none}.client-request-row>.badge{grid-column:1;grid-row:2;justify-self:start}.client-request-row>button:last-child{grid-column:2;grid-row:1/3}.client-filter-grid{grid-template-columns:1fr 1fr}.client-filter-grid>label:first-child{grid-column:1/-1}.client-name b{font-size:11px}}@media(max-width:370px){.client-directory-row{grid-template-columns:minmax(0,1fr) 55px 88px}.client-order-counts{gap:5px}.client-channel{width:23px;height:23px}}
.integration-overview{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px;font-size:11px;color:#777}.integration-overview span{padding:7px 10px;border:1px solid #e8e8e4;border-radius:9px;background:#fff}.integration-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}.integration-card{min-width:0;margin:0!important}.integration-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.integration-card-head h2{margin:0!important}.integration-capabilities,.integration-actions{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.integration-actions button,.integration-link{min-height:34px;padding:8px 10px;font-size:11px}.integration-link{color:#2084ad;text-decoration:none}.integration-card details{border-bottom:0}.integration-card pre{max-height:230px;overflow:auto;font-size:10px}.integration-card dl{font-size:11px}.integration-card form{gap:8px}.integration-journal{margin:0!important}.integration-journal-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:7px;margin:10px 0}.integration-journal-filters input,.integration-journal-filters select{min-width:0;height:38px;padding:8px;font-size:11px}.integration-job{padding:0;border-bottom:1px solid #eee}.integration-job summary{display:flex;align-items:center;gap:8px;padding:10px 0;min-width:0;font-size:11px}.integration-job summary b{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.integration-job summary small{font-size:9px;color:#999}.file-drop-zone{display:block;padding:12px!important;border:1px dashed #c2dbe7;border-radius:11px;background:#f7fbfd;transition:background .15s}.file-drop-zone.drag-over{background:#def3ff;outline:2px solid #65bde4}.file-drop-hint{display:block;margin-top:7px;color:#83939c;font-size:10px}.draggable-row{position:relative}.drag-handle{position:absolute!important;left:2px;top:50%;transform:translateY(-50%);z-index:2;width:17px!important;min-width:17px!important;height:25px!important;min-height:25px!important;padding:0!important;border:0;background:#fff!important;color:#9aa3a8!important;cursor:grab;opacity:0;font-size:16px!important;touch-action:none}.draggable-row:hover>.drag-handle,.drag-handle:focus-visible{opacity:1}.integration-card>.drag-handle{top:16px;left:2px}.dragging{opacity:.45}.row-drop-target{outline:2px solid #71c6ec;outline-offset:1px}@media(max-width:760px){.integration-cards{grid-template-columns:1fr}.integration-journal-filters{grid-template-columns:1fr 1fr}.integration-journal-filters input{grid-column:1/-1}.integration-job summary{flex-wrap:wrap}.integration-job summary small{display:none}.drag-handle{opacity:.55}}
.check-row{display:flex;align-items:center;gap:10px}.check-row input{width:auto}
.stats{grid-template-columns:repeat(3,1fr)}.link{background:transparent;color:#236449;border:0;padding:0;text-align:left}.customer-row,.payment-row{display:flex;justify-content:space-between;align-items:start;gap:15px;padding:20px 0;border-bottom:1px solid #e5ece7}.customer-row>div:last-child{display:flex;gap:10px}.customer-choice{display:block;text-align:left;background:#eaf0e9;color:#234a36;margin:10px 0;width:100%}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;font-size:12px;padding-bottom:20px;margin-bottom:25px;border-bottom:1px solid #dfe8df}.steps span{padding:9px;color:#75857b}.steps .current{background:#e6efdf;color:#245137;border-radius:8px;font-weight:700}.wizard{max-width:1000px}.wizard .toolbar select{max-width:420px}.wizard td input{max-width:135px;min-width:70px}.photos{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.photos a{padding:10px;border:1px solid #dce6df;border-radius:8px}details{padding:12px 0;border-bottom:1px solid #e6ede8}summary{cursor:pointer;font-size:13px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.payment-row button{margin:5px}dl{display:grid;grid-template-columns:1fr 1fr;font-size:13px;gap:12px}dd{margin:0;color:#718278}dt{font-weight:600}dialog .row{margin-bottom:20px}form textarea{width:100%}.profile small{display:block}.login details{margin-top:25px}.grid .panel{margin:0}header .profile{max-width:300px}.product .link{margin-top:15px}.tablewrap{overflow:auto}@media(max-width:700px){.steps{grid-template-columns:repeat(2,1fr)}.customer-row,.payment-row{display:block}.customer-row>div:last-child{margin-top:12px;flex-wrap:wrap}.stats{gap:8px}.stats .stat{padding:12px}.stat b{font-size:26px}.stat .muted{font-size:11px}}

/* Staff workspace: two destinations, quiet surfaces, compact actions. */
:root{--green:#243b53;--line:#e3e6ea;--muted:#77808b;color:#252a31;background:#f6f7f9;font-family:Arial,Helvetica,sans-serif}
[hidden]{display:none!important}button{border-radius:5px;font-weight:500;padding:9px 13px}button.secondary{background:#f1f3f5;color:#374151;border:1px solid #e0e4e8}button:focus-visible,a:focus-visible{outline:2px solid #657c97;outline-offset:3px}input,select,textarea{border-radius:5px;border-color:#dce0e5;color:#252a31}input:focus,select:focus,textarea:focus{outline:2px solid #9baec3}h1{font-size:25px;letter-spacing:-.5px}h2{font-size:17px;letter-spacing:0;margin-bottom:19px}h3{font-size:15px}small{line-height:1.5}.panel{border-radius:7px;padding:22px;border-color:var(--line);box-shadow:none}.notice{background:#f1f4f7;color:#4b596b;border-color:#b5c1cf;border-radius:5px}.notice.warning{background:#fff8ed;color:#8a662c;border-color:#dfc594}.link{color:#304e6e}.badge{background:#f0f2f4;color:#59636f;border-radius:4px;font-size:11px;padding:5px 8px;line-height:1.3}.badge.green{background:#e9f3ed;color:#38644a}.badge.amber{background:#fff4df;color:#89672c}.badge.red{background:#fbecec;color:#974747}.badge.neutral{background:#eef1f5;color:#5e6c7d}
.office-header{display:flex;align-items:center;gap:34px;height:67px;padding:0 34px;border-bottom:1px solid var(--line);background:white}.brand{font-size:20px;font-weight:700;color:#273340;letter-spacing:1.7px;text-decoration:none}.office-header nav{display:flex;align-self:stretch;gap:23px}.nav-item{color:#727b86;background:transparent;border-radius:0;border-bottom:2px solid transparent}.nav-item.active{color:#273340;border-bottom-color:#354b63}.office-profile{margin-left:auto;display:flex;align-items:center;gap:17px;font-size:12px;color:#777f89}.icon-button{background:transparent;color:#5f6c7b;font-size:24px;padding:5px 7px}.icon-button.active{background:#eef1f5}.text-button{background:transparent;color:#65717e;padding:8px;font-size:12px}.office-main{max-width:1400px;margin:0 auto;padding:31px 34px 60px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.page-heading h1{margin:0}.work-toolbar{display:flex;align-items:center;gap:13px;margin-bottom:21px}.work-toolbar>select{width:auto;min-width:165px;background:transparent;border-color:transparent}.toolbar-spacer{flex:1}.plus-button{width:37px;height:37px;font-size:25px;font-weight:400;line-height:1;padding:0;background:#30465f}.order-filters{display:flex;align-items:center;gap:13px;margin-bottom:16px}.order-filters input{max-width:330px}.order-filters select{max-width:220px}.order-filters .muted{margin-left:auto;white-space:nowrap}.orders-panel{padding:0}.orders-panel th{background:#fafbfc;color:#818894;font-size:10px;letter-spacing:.3px}.orders-panel td{padding:19px 17px}.orders-panel tr:last-child td{border-bottom:0}.order-number{font-weight:600;font-size:13px}.payment-badge{margin-top:8px}th{color:#798390}td small{font-size:11px;color:#8b929c}.empty{font-size:13px;padding:50px 24px}.settings-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:25px}.settings-menu{display:flex;flex-direction:column;gap:5px;align-self:start}.settings-menu .nav-item{border:0;text-align:left;font-size:13px;padding:13px 10px;border-radius:5px}.settings-menu .nav-item.active{background:#e9edf2}.settings-menu a{font-size:12px;padding:18px 10px;color:#75808c;text-decoration:none}.bot-check{padding:0 0 17px;font-size:13px}.order-form{max-width:970px;gap:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .full{grid-column:1/-1}fieldset{border:0;padding:0;margin:15px 0 0;min-width:0}fieldset:disabled{opacity:.38}fieldset:disabled input,fieldset:disabled select{background:#fafbfc;cursor:default}.field-help{font-size:12px;color:#7e8995;min-height:16px}.order-form label{font-size:12px;color:#737e8a}.order-form input,.order-form select{font-size:14px}.order-form #wizard-items{margin:13px 0 20px}.order-form td input{max-width:115px;min-width:65px}.product-picker{margin:0 0 17px}.product-picker select{max-width:340px}.submit-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:23px}.order-total{text-align:right;font-size:18px;margin:16px 0 0}.request-row{display:flex;gap:24px;align-items:start;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--line)}.request-row:last-child{border:0}.request-row small{display:block;margin:8px 0;font-size:11px;color:#8b929c}.request-row p{font-size:13px;margin-bottom:0}.request-text{background:#f5f6f8;color:#475260;max-height:180px;overflow:auto;padding:12px}.customer-row,.payment-row{padding:17px 0}.customer-row strong{font-size:13px}.customer-row small{display:block;color:#8b929c;font-size:11px;margin-top:5px}dialog{border-radius:8px;color:#252a31}dialog::backdrop{background:#18212d80}pre{background:#f2f4f6;color:#4c5664;border-radius:5px}.customer-choice{background:#f0f3f6;color:#35485f;border-radius:5px}.toolbar{gap:10px}.settings-layout .twocol{grid-template-columns:1fr}.settings-layout dl{font-size:12px}#toast{background:#273b51;border-radius:6px;font-size:13px}
@media(max-width:760px){.office-header{padding:0 17px;gap:21px}.office-profile>span{display:none}.office-profile{gap:8px}.office-main{padding:24px 16px}.office-header nav{gap:8px}.settings-layout{grid-template-columns:1fr}.settings-menu{flex-direction:row;flex-wrap:wrap;gap:2px}.settings-menu a{padding:12px}.work-toolbar{gap:6px}.work-toolbar>select{min-width:135px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.order-filters{flex-wrap:wrap}.order-filters input{max-width:none}.order-filters select{flex:1;max-width:none}.submit-row{align-items:stretch;flex-direction:column}.request-row{flex-direction:column;gap:10px}.office-main .product-picker{flex-wrap:wrap}.product-picker select{max-width:100%}}
.micro{display:inline-flex;align-items:center;gap:3px;font-size:11px;line-height:18px;padding:0 5px;border-radius:4px;background:#f2f4f6;color:#56616c;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:3px}.micro.ok{color:#20704b;background:#edf7f1}.micro.warn{color:#96621b;background:#fff6e6}.compact-orders td{height:36px;padding:5px 10px}.compact-orders .customer-cell{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compact-orders .status-cell{white-space:nowrap}.integration-document{max-width:1000px;margin:40px auto;padding:0 24px;line-height:1.65}.integration-document table{width:100%;border-collapse:collapse}.integration-document td,.integration-document th{padding:10px;border-bottom:1px solid #e0e4e8;text-align:left}.integration-document pre{overflow:auto;padding:16px;background:#f1f3f5;border-radius:8px}.integration-document nav{display:flex;gap:15px;flex-wrap:wrap}.integration-document section{margin:36px 0}.check-row{display:flex;gap:10px;align-items:flex-start}.check-row input{width:auto;margin-top:4px}.login{max-width:460px}.login form{display:grid;gap:16px}

.site-event-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px;}.site-event-list{display:grid;gap:10px;}.site-event-card{display:grid;gap:10px;padding:16px;border:1px solid #e0e5e9;border-radius:10px;background:white;min-width:0;}.site-event-card p{margin:0;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;}.site-event-card .event-heading{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;}.site-event-card small{color:#77818b;}.registration-files{display:flex;gap:10px;flex-wrap:wrap;}.registration-files a{padding:10px 14px;border:1px solid #cdd6de;border-radius:8px;}.registration-review{display:grid;gap:16px;min-width:0;}.registration-review dl{margin:0;display:grid;gap:8px;}.registration-review dd{margin:0;overflow-wrap:anywhere;}.registration-review .decision-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;}.registration-review .decision-actions button{width:100%;min-height:46px;}@media(max-width:560px){.registration-review .decision-actions{grid-template-columns:1fr;}.site-event-tabs button{flex:1 1 130px;}}


/* JDBIO sign-in */
.signin-shell{min-height:100dvh;background:#fafbf9;color:#203b35;font-family:Inter,Arial,sans-serif;padding:0 5%;box-sizing:border-box}.signin-shell *{box-sizing:border-box}.signin-shell svg{width:23px;height:23px;flex:none}.signin-header{height:100px;max-width:1240px;margin:auto;display:flex;align-items:center;justify-content:space-between}.signin-wordmark{font-size:28px;font-weight:800;letter-spacing:-1.5px}.signin-wordmark span{display:inline-block;margin-left:16px;padding-left:16px;border-left:1px solid #dce3df;font-size:10px;font-weight:500;letter-spacing:2px;vertical-align:middle;color:#7a8882}.signin-nav{display:flex;gap:10px}.signin-shell .signin-icon,.signin-shell .signin-eye{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;background:transparent;border:1px solid #e1e7e2;border-radius:14px;color:#5b7068;cursor:pointer;text-decoration:none}.signin-shell .signin-icon:hover,.signin-shell .signin-eye:hover{background:#edf2ee;color:#173f32}.signin-icon[data-tip]::after{content:attr(data-tip);position:absolute;right:0;top:calc(100% + 9px);padding:8px 11px;background:#233d34;color:white;border-radius:7px;font-size:12px;font-weight:400;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;z-index:4}.signin-icon[data-tip]:hover::after,.signin-icon[data-tip]:focus-visible::after{opacity:1;visibility:visible}.signin-layout{max-width:1120px;margin:14px auto 30px;display:grid;grid-template-columns:1.08fr 1fr;gap:80px;align-items:center}.signin-story{position:relative;min-height:620px;overflow:hidden;border-radius:28px;background:#e8efea;padding:46px 42px;display:flex;flex-direction:column}.signin-kicker{font-size:10px;letter-spacing:2px;font-weight:600;display:flex;align-items:center;gap:9px}.signin-kicker>span{width:6px;height:6px;border-radius:50%;background:#548873}.signin-story h1{font-size:43px;font-weight:500;line-height:1.22;letter-spacing:-1.8px;margin:34px 0 20px;color:#25493b}.signin-story h1 em{font-style:normal;color:#719282}.signin-story>p{font-size:15px;line-height:1.8;color:#718377;margin:0}.signin-art{position:relative;height:245px;flex:1;min-height:180px}.signin-orbit{position:absolute;width:230px;height:230px;border:1px solid #c6d7cb;border-radius:50%;left:50%;top:52%;transform:translate(-50%,-50%) rotate(-35deg) scaleY(.62)}.signin-orbit.orbit-two{transform:translate(-50%,-50%) rotate(35deg) scaleY(.62);width:280px;height:280px}.signin-art-mark{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:110px;font-family:Georgia,serif;font-style:italic;color:#4b7560;font-weight:400}.signin-art-mark span{font-size:40px;color:#a0b59b}.signin-story-foot{display:flex;justify-content:space-between;align-items:center;color:#7d9284;font-size:11px}.signin-story-foot>span:first-child{letter-spacing:2px;font-weight:600}.signin-card{padding:20px 0;max-width:380px;width:100%}.signin-card-mark{width:48px;height:48px;background:#edf2ee;border-radius:15px;display:flex;align-items:center;justify-content:center;color:#537561;margin-bottom:27px}.signin-card h2{font-size:29px;font-weight:600;letter-spacing:-1px;margin:0 0 10px;color:#213d32}.signin-description{font-size:14px;color:#88918a;margin:0 0 32px}.signin-shell .signin-label{display:block;font-size:12px;font-weight:600;color:#4b6054;margin:0 0 10px}.signin-shell input{width:100%;height:52px;border:1px solid #dfe5de;background:#fff;border-radius:11px;padding:0 15px;color:#243d31;font-size:14px;box-shadow:none;outline:none;margin:0}.signin-shell input::placeholder{color:#a2aaa4}.signin-shell input:focus{border-color:#729b81;box-shadow:0 0 0 3px #729b811a}.signin-password-label{display:flex;align-items:center;justify-content:space-between;margin-top:17px}.signin-password-label .signin-label{margin:0}.signin-shell .signin-reset{border:0;height:40px}.signin-shell .signin-reset svg{width:18px;height:18px}.signin-password-wrap{position:relative;margin-top:4px}.signin-shell .signin-password-wrap input{padding-right:52px}.signin-shell .signin-eye{position:absolute;right:5px;top:4px;border:0;background:transparent;width:44px;height:44px}.signin-eye[aria-pressed=true]{color:#21794b;background:#edf4ee}.signin-shell .signin-submit{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:52px;border:0;border-radius:11px;background:#234e3a;color:#fff;font-size:14px;font-weight:500;cursor:pointer;margin-top:24px;padding:0 16px;box-shadow:0 5px 12px #234e3a12}.signin-submit svg{width:18px}.signin-shell .signin-submit:hover{background:#173f2c}.signin-shell .signin-submit:disabled{opacity:.65;cursor:wait}.signin-divider{display:flex;align-items:center;gap:15px;font-size:11px;color:#9aa49c;margin:26px 0 18px}.signin-divider::before,.signin-divider::after{content:'';height:1px;background:#e5e9e3;flex:1}.signin-providers{display:flex;justify-content:center}.signin-shell .signin-telegram{width:50px;height:48px;color:#249dcd;background:#fff;border-color:#e1e7e2}.signin-access-note{text-align:center;color:#9aa39c;font-size:11px;line-height:1.7;margin:22px 0 0}.signin-footer{max-width:1120px;display:flex;justify-content:space-between;margin:0 auto;padding:12px 0 22px;color:#a2aaa2;font-size:10px}.signin-shell .signin-error{font-size:12px;line-height:1.6;color:#a4423c;background:#fbefed;border-radius:8px;padding:10px 12px;margin:14px 0 0}.signin-error[hidden]{display:none}.signin-shell a:focus-visible,.signin-shell button:focus-visible{outline:3px solid #8db7a0;outline-offset:3px}
@media(min-width:1500px){.signin-layout{margin-top:5vh}}
@media(max-width:1000px){.signin-layout{gap:40px;grid-template-columns:1fr 1fr}.signin-story{padding:36px 28px;min-height:580px}.signin-story h1{font-size:35px}}
@media(max-width:720px){.signin-shell{padding:0 24px}.signin-header{height:84px}.signin-wordmark{font-size:25px}.signin-wordmark span{display:none}.signin-layout{display:block;margin:26px auto 45px;max-width:380px}.signin-story{display:none}.signin-card{padding:0;max-width:none}.signin-card-mark{margin-bottom:24px}.signin-card h2{font-size:29px}.signin-footer{font-size:9px;gap:15px}.signin-description{margin-bottom:30px}}
.signin-shell #password-login{display:block}

/* Office interface 20261020 */
.office{background:#f6f8f7;color:#263f36;min-height:100dvh}.office-header{height:76px;background:#fff;border-bottom:1px solid #e8ede9;padding:0 32px;gap:36px;position:sticky;top:0;z-index:20}.office-header .brand{font-size:24px;color:#214936;letter-spacing:-1px}.office-header nav{gap:6px}.office-header .nav-item{border-radius:12px;border:0;padding:12px 16px;color:#76857c}.office-header .nav-item.active{background:#edf4ef;color:#285c40;box-shadow:none}.office-profile{margin-left:auto}.office-main{max-width:1500px;margin:auto;padding:30px 32px}.page-heading{margin-bottom:24px}.page-heading h1{font-size:29px;letter-spacing:-1px;color:#294636}.office .panel{border:1px solid #e5ebe6;box-shadow:0 2px 6px #1f3c2803;border-radius:16px;padding:22px}.office button{font-weight:500;border-radius:10px}.office button:focus-visible,.office a:focus-visible,.order-dialog button:focus-visible{outline:3px solid #a3cdb2;outline-offset:2px}.office-action{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:44px;min-height:44px}.office-action svg,.round-action svg,.status-dot svg,.settings-docs svg{width:20px;height:20px;flex:none}.office-profile #open-settings .action-caption,.office-profile #logout .action-caption{display:none}.office-profile #open-settings,.office-profile #logout{color:#6b7d70;background:#f6f8f6;border:0;padding:10px}.office-profile>span{font-size:12px;color:#7b8b80;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.work-toolbar{margin:0 0 18px;gap:12px}.work-toolbar #work-area{background:#fff;border:1px solid #e3e9e2;border-radius:12px;height:46px;font-size:14px;max-width:220px}.office .plus-button{width:46px;height:46px;min-width:46px;background:#2c6548;border-radius:13px;font-size:26px;line-height:1;padding:0}.office .text-button{color:#62786a}.order-filters{display:flex;align-items:center;gap:12px;margin:0 0 20px}.order-filters input{height:45px;max-width:440px;background:#fff;border:1px solid #e2e8e2;border-radius:12px}.order-filters select{height:45px;max-width:230px;border-radius:12px;background:#fff;border:1px solid #e2e8e2}.order-filters #order-count{margin-left:auto;white-space:nowrap;font-size:12px}.office .orders-panel{padding:0;background:transparent;border:0;box-shadow:none}.order-list{display:grid;gap:8px}.order-entry{background:#fff;border:1px solid #e5ebe6;border-radius:14px;min-width:0}.order-entry:has(.expand-order[aria-expanded=true]){border-color:#adc8b7;box-shadow:0 5px 20px #274a3508}.order-line{display:grid;grid-template-columns:40px minmax(100px,145px) minmax(130px,1fr) auto minmax(100px,130px);align-items:center;gap:12px;min-height:64px;padding:8px 16px 8px 8px}.office .round-action{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:transparent;color:#8b9c91;padding:10px}.round-action[aria-expanded=true] svg{transform:rotate(90deg)}.office .order-number{padding:10px 0;text-align:left;background:transparent;color:#285a40;font-size:13px;font-weight:600;text-decoration:none;overflow-wrap:anywhere}.office .order-number:hover{text-decoration:underline}.order-client{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#53665a}.order-amount{text-align:right;font-size:13px;font-weight:600;white-space:nowrap;color:#284936}.order-indicators{display:flex;gap:5px;align-items:center}.office .status-dot{position:relative;border-radius:50%;width:32px;height:32px;padding:8px;min-width:32px;display:flex;align-items:center;justify-content:center;background:#f2f5f3;color:#91a096;border:0}.status-dot svg{width:16px;height:16px}.office .status-dot.green{background:#e8f4ec;color:#38865b}.office .status-dot.amber{background:#fff3dd;color:#b78228}.office .status-dot.red{background:#fce9e6;color:#ba6256}.status-dot::after{content:attr(data-tip);position:absolute;bottom:calc(100% + 10px);right:0;max-width:240px;width:max-content;white-space:normal;font-size:12px;line-height:1.5;padding:9px 12px;background:#294436;color:#fff;border-radius:9px;box-shadow:0 4px 12px #18302320;opacity:0;visibility:hidden;pointer-events:none;z-index:25;text-align:left}.status-dot:hover::after,.status-dot:focus-visible::after,.status-dot.tip-open::after{opacity:1;visibility:visible}.order-peek{border-top:1px solid #e8eee8;padding:22px 24px 24px;background:#fbfcfa;border-radius:0 0 14px 14px}.order-peek[hidden]{display:none}.peek-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:36px}.peek-grid h3{font-size:12px;color:#809082;font-weight:500;margin-bottom:15px}.peek-grid p{font-size:12px;line-height:1.8;color:#667b6b}.peek-items{padding:0;margin:0 0 20px;list-style:none}.peek-items li{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:10px 0;border-bottom:1px solid #e9eee8;font-size:12px}.peek-items b{font-weight:500;white-space:nowrap;color:#6d8171}.settings-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px}.settings-menu{display:flex;flex-direction:column;gap:12px;background:transparent;padding:0}.settings-group{border:1px solid #e0e8e1;background:#fff;border-radius:13px;padding:5px 12px}.settings-group summary{padding:14px 4px;cursor:pointer;font-size:13px;font-weight:600;color:#526e59}.settings-group .nav-item{display:block;text-align:left;width:100%;padding:12px;font-size:12px;margin-bottom:4px;border-radius:8px;background:transparent;color:#78887b}.settings-group .nav-item.active{background:#edf4ef;color:#2c6845}.settings-docs{display:flex;align-items:center;gap:10px;font-size:12px!important;text-decoration:none}.settings-content{min-width:0}.settings-content h2{font-size:22px}.settings-content .notice{font-size:12px}.office form,.order-dialog form{gap:20px}.office .form-grid{gap:18px}.office .float-field,#detail .float-field{position:relative;display:block;min-width:0;color:#7c8d80;font-size:12px}.float-field input,.float-field select,.float-field textarea{min-height:56px;padding:22px 14px 8px!important;background:#fff;border-radius:11px!important;border:1px solid #dfe7df;box-sizing:border-box;font-size:14px!important}.float-field .float-caption{position:absolute;top:18px;left:14px;right:12px;pointer-events:none;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:18px;z-index:1;transition:top .12s,font-size .12s}.float-field:focus-within .float-caption,.float-field.has-value .float-caption{top:6px;font-size:10px;color:#688773}.float-field input::placeholder,.float-field textarea::placeholder{color:transparent}.float-field:focus-within input::placeholder,.float-field:focus-within textarea::placeholder{color:#a4afa4}.float-field:has(.field-help) .field-help{display:block;padding-top:7px;font-size:11px;line-height:1.5}.float-field select{padding-right:30px!important}.office fieldset{border:0;padding:0;margin:18px 0 0;min-width:0}.office fieldset:disabled{opacity:.55}.office .order-form{max-width:1000px;margin:auto}.office .order-form h2{font-size:17px;margin:0 0 22px;color:#45634d}.office input,.office select,.office textarea{font-size:14px}.office input:focus,.office select:focus,.office textarea:focus{outline:2px solid #b6d5be;outline-offset:1px}.office .submit-row{gap:20px}.office .submit-row .muted{font-size:11px;max-width:540px}.office .submit-row button{min-height:48px;white-space:nowrap}#detail{max-width:min(900px,94vw);max-height:90dvh;width:780px;padding:28px;border:1px solid #dfe8e0;border-radius:20px;color:#294332}#detail.order-dialog{width:1000px;max-width:94vw}#detail #close-modal{background:#edf3ed;color:#49644f;padding:10px 16px;min-height:42px}#detail::backdrop{background:#152b235c;backdrop-filter:blur(3px)}#detail table{font-size:13px}#detail .toolbar{flex-wrap:wrap}#detail .photos{display:flex;flex-wrap:wrap;gap:10px}#detail .photos a{border:1px solid #e1e8de;border-radius:10px;padding:10px;font-size:12px}#detail #order-history{margin-top:26px}#detail #order-history details{padding:12px 0;border-bottom:1px solid #e5ebe2;font-size:12px}#detail pre{max-width:100%;overflow:auto}#detail .order-dialog h3{font-size:17px}
@media(max-width:1100px){.office-header{padding:0 20px;gap:20px}.office-main{padding:24px 20px}.office-profile>span{display:none}.order-line{grid-template-columns:32px minmax(100px,125px) minmax(100px,1fr) auto 100px;gap:8px}.order-indicators{gap:3px}.office .status-dot{width:28px;height:28px;min-width:28px;padding:6px}.office .round-action{width:32px;height:40px}.settings-layout{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:760px){.office-header{height:64px;padding:0 12px;gap:8px}.office-header .brand{font-size:21px;margin-right:8px}.office-header nav{gap:2px;flex:1}.office-header .office-action{width:42px;height:42px;min-width:42px;padding:10px}.office-header .action-caption{display:none}.office-profile{gap:3px}.office-main{padding:22px 12px 40px}.page-heading{margin-bottom:19px}.page-heading h1{font-size:25px}.work-toolbar{gap:8px;flex-wrap:nowrap}.work-toolbar .action-caption{display:none}.work-toolbar #work-area{max-width:180px;min-width:0;flex:1;font-size:13px}.work-toolbar .toolbar-spacer{display:none}.work-toolbar .office-action{padding:10px;width:44px;min-width:44px}.order-filters{display:grid;grid-template-columns:minmax(0,1fr) 145px;gap:8px}.order-filters input,.order-filters select{max-width:none;min-width:0;font-size:12px}.order-filters #order-count{grid-column:1/-1;margin:0;padding:0 2px;font-size:11px}.order-line{grid-template-columns:32px minmax(0,1fr) auto;gap:2px 8px;padding:10px 12px 10px 5px}.expand-order{grid-column:1;grid-row:1/3}.order-number{grid-column:2;grid-row:1;font-size:13px!important;padding:5px 0!important;min-height:30px}.order-amount{grid-column:3;grid-row:1;font-size:13px}.order-client{grid-column:2;grid-row:2;font-size:12px}.order-indicators{grid-column:3;grid-row:2;gap:4px;padding:3px 0}.office .status-dot{width:30px;height:30px;min-width:30px}.order-indicators .secondary-indicator{display:none}.order-peek{padding:18px 16px}.peek-grid{grid-template-columns:1fr;gap:15px}.peek-grid h3{margin-bottom:8px}.peek-items li{gap:10px}.peek-items b{font-size:11px}.settings-layout{display:block}.settings-menu{display:grid;grid-template-columns:1fr;gap:8px;margin-bottom:22px}.settings-group summary{padding:12px 4px}.settings-group[open]{padding-bottom:8px}.settings-group .nav-item{padding:12px;min-height:44px}.office .panel{padding:18px 14px;border-radius:14px}.office .form-grid{grid-template-columns:minmax(0,1fr)}.office .product-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.product-picker #wizard-product-search{grid-column:1/-1;max-width:none}.product-picker select{max-width:none;min-width:0}.office .submit-row{flex-direction:column;align-items:stretch}.office .submit-row button{width:100%}.office .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.office .product{padding:15px 12px}.office .product h3{font-size:14px;overflow-wrap:anywhere}.office .product .float-field .float-caption{font-size:10px}.office .product button{font-size:12px}.office .customer-row,.office .payment-row{flex-wrap:wrap;gap:12px}.office .tablewrap{max-width:100%}.office #wizard-items table{min-width:0}.office #wizard-items th,.office #wizard-items td{padding:10px 5px;font-size:12px}.office #wizard-items td:first-child{width:40%;overflow-wrap:anywhere}.office #wizard-items td input{min-width:50px;padding:8px 5px;font-size:14px}.office .request-row{overflow-wrap:anywhere}#detail,#detail.order-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;padding:20px 15px;border:0;border-radius:0}#detail h2{font-size:23px}#detail .row.between:first-child{position:sticky;top:-20px;padding:12px 0;background:#fff;z-index:3}#detail #order-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}#detail #order-actions button{font-size:12px;min-height:46px}#detail .tablewrap{overflow-x:auto}#detail td,#detail th{padding:12px 8px;font-size:12px}#detail h3{font-size:16px}#detail p{overflow-wrap:anywhere}#detail .twocol{grid-template-columns:1fr}}
@media(max-width:380px){.office-header .brand{font-size:18px;margin-right:0}.office-header .office-action{min-width:38px;width:38px}.office-header{gap:3px}.office-profile{gap:0}.work-toolbar #work-area{font-size:12px}.office .grid{grid-template-columns:1fr}.order-line{column-gap:5px}.order-client{font-size:11px}.order-amount{font-size:12px}.order-filters{grid-template-columns:minmax(0,1fr) 130px}}
@media(prefers-reduced-motion:reduce){.float-field .float-caption{transition:none}}
/* Compact order list */
.order-list{gap:5px}.order-entry{border-radius:12px}.order-line{min-height:52px;padding:5px 12px 5px 5px;gap:8px;grid-template-columns:34px minmax(105px,130px) minmax(110px,1fr) auto minmax(92px,118px)}.office .round-action{width:34px;height:36px;padding:9px}.office .order-number{font-size:12px;padding:7px 0}.order-client{font-size:12px}.order-amount{font-size:12px}.order-indicators{gap:4px}.office .status-dot{width:28px;height:28px;min-width:28px;padding:7px}.status-dot svg{width:14px;height:14px}.order-filters{margin-bottom:14px}.work-toolbar{margin-bottom:13px}.office-main{padding-top:24px}.page-heading{margin-bottom:18px}
@media(max-width:760px){.order-list{gap:5px}.order-line{min-height:56px;grid-template-columns:28px minmax(0,1fr) auto;gap:0 7px;padding:6px 10px 6px 4px}.office .round-action{width:28px;height:34px;padding:7px}.office .order-number{font-size:12px!important;line-height:1.25;min-height:26px;padding:3px 0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-client{font-size:11px;line-height:1.25;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-amount{font-size:12px;line-height:1.25}.order-indicators{gap:3px;padding:1px 0 0}.office .status-dot{width:26px;height:26px;min-width:26px;padding:6px}.status-dot svg{width:14px;height:14px}.order-filters{margin-bottom:10px}.order-filters input,.order-filters select{height:40px}.office-main{padding-top:18px}.page-heading{margin-bottom:13px}}
@media(min-width:410px) and (max-width:760px){.order-line{grid-template-columns:27px minmax(88px,112px) minmax(68px,1fr) auto 88px;grid-template-rows:1fr;min-height:47px;gap:6px;padding:5px 9px 5px 3px}.expand-order{grid-column:1;grid-row:1}.order-number{grid-column:2;grid-row:1}.order-client{grid-column:3;grid-row:1}.order-indicators{grid-column:4;grid-row:1}.order-amount{grid-column:5;grid-row:1}.office .status-dot{width:24px;height:24px;min-width:24px;padding:5px}}
@media(max-width:380px){.order-line{min-height:54px;grid-template-columns:26px minmax(0,1fr) auto;gap:0 6px;padding:5px 8px 5px 3px}.office .round-action{width:26px}.order-number{font-size:11px!important}.order-client{font-size:10px}.order-amount{font-size:11px}.office .status-dot{width:24px;height:24px;min-width:24px;padding:5px}}

/* Order filters and Telegram inspired compact order form */
.filter-toolbar{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px;min-height:38px}.office .filter-toolbar>button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;height:36px!important;min-height:36px!important;width:auto!important;min-width:0!important;padding:7px 12px!important;background:#fff;border:1px solid #e2e9e2;color:#496655;border-radius:10px;font-size:12px;white-space:nowrap}.filter-toolbar svg{width:17px!important;height:17px!important;max-width:17px;max-height:17px;flex:none}.filter-toolbar b{color:#438158;font-size:11px}.filter-toolbar .muted{font-size:11px}.filter-panel{background:#fff;border:1px solid #e4ebe5;border-radius:12px;padding:12px;margin:0 0 12px}.filter-panel[hidden]{display:none}.filter-core{display:grid;grid-template-columns:minmax(180px,1.4fr) repeat(3,minmax(140px,1fr));gap:8px;align-items:end}.filter-panel label{display:grid;gap:4px;color:#7b8c7e;font-size:10px}.filter-panel input,.filter-panel select{min-width:0;width:100%;height:38px;min-height:38px;padding:6px 9px;border:1px solid #e2e9e2;border-radius:9px;font-size:12px;background:#fbfcfb}.filter-panel .filter-extra{margin-top:9px;border-top:1px solid #edf0ed}.filter-extra summary{padding:10px 2px 4px;color:#617967;font-size:11px;cursor:pointer;list-style:none}.filter-extra summary::before{content:'＋';display:inline-block;margin-right:6px;color:#50775a}.filter-extra[open] summary::before{content:'−'}.filter-extra-fields{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:8px;padding:6px 0}.office .filter-reset{margin-top:9px;padding:7px 10px;background:transparent;color:#819086;font-size:11px;min-height:32px}.office .status-dot{width:27px;height:27px;min-width:27px;padding:6px}.office .status-dot.neutral{color:#a1aaa3;background:#f3f5f3}.office .status-dot.amber{color:#ae7a18;background:#fff1cc}.office .status-dot.green{color:#278558;background:#e3f3e9}.office .status-dot.red{color:#c35148;background:#fde9e7}
#submit-order.compact-order-form{display:flex;flex-direction:column;gap:7px;max-width:920px}.compact-order-form>section.panel{padding:15px 18px;margin:0;border-radius:13px;box-shadow:0 1px 3px #23412b05}.compact-order-form>section:nth-of-type(1){order:1}.compact-order-form>section:nth-of-type(3){order:2}.compact-order-form>section:nth-of-type(2){order:3}.compact-order-form>section:nth-of-type(4){order:4}.compact-order-form h2{font-size:14px!important;margin:0 0 12px!important;color:#708575!important}.compact-order-form .form-grid{gap:10px 12px}.compact-order-form fieldset{margin-top:12px!important}.compact-order-form .toolbar.product-picker{margin:4px 0 10px;display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.8fr) auto;gap:7px}.compact-order-form .product-picker input,.compact-order-form .product-picker select{height:42px;min-height:42px;border-radius:9px}.compact-order-form .product-picker button{height:42px;min-height:42px;padding:8px 13px}.compact-order-form #wizard-items table{min-width:0}.compact-order-form #wizard-items th,.compact-order-form #wizard-items td{padding:9px 8px}.compact-order-form #wizard-items td input{min-width:58px;height:38px;min-height:38px;padding:6px 8px}.compact-order-form .order-total{margin:6px 0 0;font-size:15px;font-weight:600}.compact-order-form .submit-row{margin-top:12px}.compact-order-form .submit-row .muted{font-size:10px;line-height:1.5}.compact-order-form .submit-row button{min-height:44px}.compact-order-form .notice{margin:8px 0;padding:10px 12px}.compact-order-form .check-row{font-size:11px}.compact-order-form textarea{min-height:44px;resize:vertical}
@media(max-width:1050px){.filter-core{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-search{grid-column:1/-1}}
@media(max-width:760px){.filter-toolbar{margin-bottom:7px}.filter-panel{padding:10px;border-radius:11px}.filter-core{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.filter-search{grid-column:1/-1}.filter-panel input,.filter-panel select{height:40px;min-height:40px;font-size:12px}.filter-extra-fields{grid-template-columns:1fr 1fr}.filter-extra-fields label:first-child{grid-column:1/-1}.office .order-indicators{gap:4px}.office .status-dot{width:26px;height:26px;min-width:26px;padding:6px}.status-dot svg{width:14px;height:14px}.compact-order-form>section.panel{padding:13px 12px;border-radius:12px}.compact-order-form>section.panel h2{font-size:13px!important;margin-bottom:9px!important}.compact-order-form .form-grid{gap:9px}.compact-order-form fieldset{margin-top:8px!important}.compact-order-form .toolbar.product-picker{grid-template-columns:minmax(0,1fr) auto;gap:7px}.compact-order-form .product-picker input{grid-column:1/-1;max-width:none}.compact-order-form .product-picker select{min-width:0;max-width:none}.compact-order-form .product-picker button{min-width:72px}.compact-order-form #wizard-items th,.compact-order-form #wizard-items td{padding:8px 4px;font-size:11px}.compact-order-form #wizard-items td:first-child{width:42%;overflow-wrap:anywhere}.compact-order-form #wizard-items td input{min-width:44px;padding:5px 4px}.compact-order-form .submit-row{gap:9px}.compact-order-form .submit-row button{width:100%}.compact-order-form .float-field input,.compact-order-form .float-field select,.compact-order-form .float-field textarea{min-height:48px}.compact-order-form .field-help{font-size:10px}.compact-order-form .order-total{font-size:14px}}
@media(max-width:380px){.filter-core{grid-template-columns:1fr}.filter-search{grid-column:auto}.filter-extra-fields{grid-template-columns:1fr 1fr}.compact-order-form .toolbar.product-picker{grid-template-columns:minmax(0,1fr) 70px}.compact-order-form #wizard-items td:first-child{width:38%}}
#submit-order.compact-order-form fieldset:disabled{display:none!important}.compact-order-form #lookup-results:empty{display:none}.compact-order-form #wizard-items:empty{display:none}

.compact-order-form>section[hidden]{display:none!important}

/* UNICORN inspired staff workspace: black type, soft surfaces, one vivid accent. */
:root{--unicorn-pink:#ff55d7;--unicorn-pink-soft:#ffe4f8;--unicorn-ink:#121212;--unicorn-paper:#f7f7f5;--unicorn-line:#e9e9e6}
.office{min-height:100dvh;background:var(--unicorn-paper);color:var(--unicorn-ink)}
.office-header{height:64px;border:0;border-bottom:1px solid var(--unicorn-line);background:#fff;padding:0 28px;gap:28px}
.office-header .brand{font-size:24px;font-weight:900;letter-spacing:-1px;color:#111}
.office-header nav{align-self:auto;gap:6px}
.office-header .nav-item{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:8px 12px;border:0;border-radius:12px;color:#696969;font-size:13px}
.office-header .nav-item svg{width:17px;height:17px}
.office-header .nav-item.active{background:#f0f0ee;color:#111;border:0}
.office-profile #open-settings,.office-profile #logout{background:#f4f4f2;color:#303030;border-radius:50%}
.office-profile #open-settings.active{background:var(--unicorn-pink-soft);color:#a51a87}
.office-main{max-width:1320px;padding:22px 28px 54px}
.page-heading h1{font-size:28px;font-weight:800;letter-spacing:-1.1px;color:#111}
.office button:not(.status-dot):not(.round-action){border-radius:12px}
.office button:not(.secondary):not(.text-button):not(.icon-button):not(.nav-item):not(.round-action):not(.status-dot):not(.order-number){background:#181818;color:#fff}
.office .plus-button{background:#65c7f2!important;color:#092d40!important;border-radius:50%!important;font-weight:500;box-shadow:0 5px 16px #42aeda24}
.office .plus-button:hover{background:#4cbbe9!important;box-shadow:0 7px 20px #42aeda32}
.work-toolbar{min-height:46px;margin-bottom:10px}
.work-toolbar .office-action{min-width:42px;width:42px;height:42px;padding:10px;background:#fff;border:1px solid var(--unicorn-line);border-radius:50%;color:#343434}
.work-toolbar .office-action .action-caption{display:none}
.work-toolbar #open-drafts.active{background:var(--unicorn-pink-soft);color:#9d217f;border-color:#ffd0f2}
.work-toolbar svg{width:18px;height:18px}
.filter-toolbar{margin-top:-48px;margin-left:54px;width:max-content;min-height:42px;margin-bottom:8px}
.filter-toolbar>button{border-radius:21px!important;border-color:var(--unicorn-line)!important;color:#313131!important}
.filter-toolbar>.muted{position:absolute;right:29px;color:#8d8d8d}
.filter-panel{border-color:var(--unicorn-line);border-radius:17px;background:#fff}
.filter-panel input,.filter-panel select{border-color:#ededeb;background:#f7f7f5;border-radius:12px}
.order-entry{border-color:var(--unicorn-line);border-radius:15px}
.order-entry:has(.expand-order[aria-expanded=true]){border-color:#f5b5e5;box-shadow:0 8px 28px #8b28650d}
.office .order-number{color:#151515;font-weight:750}
.order-client{color:#616161}.order-amount{color:#151515;font-weight:750}
.office .status-dot{background:#f1f1ef;color:#929292}.office .status-dot.amber{background:#fff0c9;color:#a77516}.office .status-dot.green{background:#def5e6;color:#208450}.office .status-dot.red{background:#ffe3df;color:#bd4c44}
.order-peek{background:#fcfcfb;border-color:var(--unicorn-line)}

.catalog-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:10px;max-width:780px;margin-bottom:13px}
.catalog-search{display:flex;align-items:center;gap:10px;height:46px;padding:0 15px;background:#fff;border:1px solid var(--unicorn-line);border-radius:23px}
.catalog-search svg{width:19px;height:19px;color:#888;flex:none}
.catalog-search input{height:42px;min-width:0;padding:0;border:0;background:transparent;border-radius:0;font-size:14px}
.catalog-search input:focus{outline:0}.catalog-search:focus-within{border-color:#f5addf;box-shadow:0 0 0 3px #ff55d715}
.catalog-toolbar .round-action{width:44px;height:44px;padding:11px;border:1px solid var(--unicorn-line);border-radius:50%;background:#fff;color:#333}
.catalog-toolbar .round-action svg{width:19px;height:19px}
.category-strip{display:flex;gap:7px;overflow-x:auto;padding:1px 1px 10px;scrollbar-width:none}.category-strip::-webkit-scrollbar{display:none}
.office .category-strip button{flex:none;min-height:34px;padding:7px 12px;border:0;border-radius:17px;background:#eaeae7!important;color:#555!important;font-size:12px}
.office .category-strip button.active{background:#171717!important;color:#fff!important}
.catalog-head{display:grid;grid-template-columns:minmax(0,1fr) 92px;padding:9px 48px 7px 16px;color:#9a9a95;font-size:10px;text-transform:uppercase;letter-spacing:.8px}
.catalog-list{overflow:hidden;background:#fff;border:1px solid var(--unicorn-line);border-radius:17px}
.office .catalog-row{display:grid;grid-template-columns:minmax(0,1fr) 75px 18px;align-items:center;gap:12px;width:100%;min-height:58px;padding:8px 15px;text-align:left;background:#fff!important;color:#171717!important;border:0;border-bottom:1px solid #efefec;border-radius:0!important}
.office .catalog-row:last-child{border-bottom:0}.office .catalog-row:hover{background:#faf8fa!important}.office .catalog-row:focus-visible{position:relative;z-index:1}
.catalog-name{min-width:0}.catalog-name b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.catalog-name small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;color:#8a8a86;font-size:10px}
.catalog-stock{text-align:right;font-size:14px;font-weight:750}.catalog-stock small{display:inline;margin-right:4px;color:#96968f;font-size:10px;font-weight:500}.catalog-stock.unavailable{color:#b34c45}.catalog-open{color:#aaa;font-size:22px}
.quantity-with-unit{display:flex;align-items:center;gap:6px;min-width:112px}.quantity-with-unit input{min-width:62px}.line-unit{flex:none;min-width:32px;color:#787872;font-size:11px;font-weight:650}.quantity-with-unit select.line-unit{width:auto;max-width:82px;min-height:34px;padding:4px 22px 4px 7px;border-radius:9px;background-position:right 6px center}
.product-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.product-detail-head h2{margin:6px 0 0}.stock-large{white-space:nowrap;padding:9px 13px;border-radius:18px;background:var(--unicorn-pink-soft);color:#921d75;font-size:13px}
.product-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}.product-facts>div{display:grid;gap:5px;padding:13px;background:#f5f5f2;border-radius:12px}.product-facts span{font-size:10px;color:#888}.product-facts b{font-size:13px}.inline-product-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:end}.compact-product-form,.compact-payment-form{display:grid;gap:10px}.payment-context{display:grid;gap:3px;padding:13px;background:#f5f5f2;border-radius:12px}.payment-context small{color:#85857f}
.order-payment-section{margin:25px 0;padding:16px;background:#f7f7f5;border:1px solid var(--unicorn-line);border-radius:15px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-title h3{margin:0!important}.section-title button{font-size:12px}
.order-payment{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e7e7e3}.order-payment:last-child{border-bottom:0}.order-payment>div:first-child{display:grid;grid-template-columns:auto auto;align-items:center;justify-content:start;gap:5px 8px}.order-payment small{grid-column:1/-1;color:#85857f}.payment-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.payment-actions a{font-size:12px;color:#7d2469}.payment-actions button{min-height:34px;padding:7px 10px;font-size:11px}.receipt-upload{padding:13px;border:1px dashed #d8d8d3;border-radius:12px}

@media(max-width:760px){
 .office-header{height:58px;padding:0 10px}.office-header .brand{font-size:20px}.office-header .nav-item{width:38px;min-width:38px;height:38px;padding:10px}.office-header .nav-item .action-caption{display:none}.office-main{padding:15px 10px 36px}.page-heading h1{font-size:23px}.page-heading{margin-bottom:10px}
 .work-toolbar{margin-bottom:8px}.filter-toolbar{margin-top:-46px;margin-left:50px}.filter-toolbar>.muted{right:12px}.filter-toolbar>button span{display:none}
 .catalog-toolbar{grid-template-columns:minmax(0,1fr) 42px;margin-bottom:10px}.catalog-search{height:42px;padding:0 12px}.catalog-search input{font-size:13px}.catalog-head{padding-right:42px;grid-template-columns:minmax(0,1fr) 65px}.office .catalog-row{grid-template-columns:minmax(0,1fr) 54px 12px;gap:8px;min-height:55px;padding:7px 10px}.catalog-name b{font-size:12px}.catalog-name small{font-size:9px}.catalog-stock{font-size:13px}
 .product-detail-head{gap:10px}.product-facts{grid-template-columns:1fr}.inline-product-form{grid-template-columns:1fr}.order-payment{align-items:flex-start;flex-direction:column}.payment-actions{width:100%}.section-title button{padding:8px 10px}
}

/* Order filter belongs to the right side of the main toolbar. */
.work-toolbar .filter-action{position:relative;flex:none;margin-left:auto;width:42px!important;min-width:42px!important;height:42px!important;padding:10px!important;border:1px solid var(--unicorn-line)!important;border-radius:50%!important;background:#fff!important;color:#343434!important}
.work-toolbar .filter-action:hover{border-color:#f0a7db!important;background:#fff7fd!important;color:#9d217f!important}
.work-toolbar .filter-action[aria-expanded=true]{border-color:#ffc9ef!important;background:var(--unicorn-pink-soft)!important;color:#9d217f!important}
.work-toolbar .filter-action svg{width:18px;height:18px}
.filter-badge{position:absolute;right:-4px;top:-5px;display:flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border:2px solid var(--unicorn-paper);border-radius:10px;background:var(--unicorn-pink);color:#111!important;font-size:10px;line-height:1}
.filter-badge:empty{display:none}.work-count{font-size:11px;color:#92928e;white-space:nowrap}
.filter-panel{margin-top:0}
@media(max-width:760px){.work-toolbar .work-count{display:none}.work-toolbar .filter-action{width:42px!important;min-width:42px!important}.filter-badge{right:-3px;top:-4px}}

/* Compact centered page navigation. */
.office-header{height:54px;padding:0 22px;gap:20px}.office-header .brand{font-size:21px}.office-header .nav-item{min-height:34px;padding:7px 10px}.office-profile #open-settings,.office-profile #logout{width:36px;height:36px;min-width:36px;padding:8px}.office-main{padding-top:10px}.page-heading{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;margin:0 0 8px}.page-heading h1{grid-column:2;margin:0;text-align:center;font-size:22px;letter-spacing:-.7px}.page-actions{display:flex;align-items:center;min-width:44px}.page-actions-left{grid-column:1;justify-content:flex-start}.page-actions-right{grid-column:3;justify-content:flex-end}.page-action{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:9px!important;border:1px solid var(--unicorn-line)!important;border-radius:50%!important;background:#fff!important;color:#333!important;box-shadow:0 3px 10px #15151508}.page-action svg{width:18px;height:18px}.page-action:hover,.page-action.active,.page-action[aria-expanded=true]{border-color:#b9dff1!important;background:#edf8fd!important;color:#1877a4!important}.page-actions .plus-button{margin:0;background:#65c7f2!important;color:#092d40!important;border:0!important;font-size:25px}.page-actions .filter-action{margin:0}.page-action-badge{position:absolute;right:-3px;top:-4px;display:flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 4px;border:2px solid var(--unicorn-paper);border-radius:9px;background:#65c7f2;color:#092d40;font-size:9px}.filter-panel{margin:0 0 8px;padding:10px}.orders-panel{margin-top:0}

/* Catalog controls and narrow nomenclature rows. */
.catalog-search-panel,.catalog-category-panel{margin:0 0 8px}.catalog-search-panel .catalog-search{max-width:none;height:40px;border-radius:12px}.catalog-search-panel .catalog-search input{height:38px}.catalog-category-panel{padding:9px;background:#fff;border:1px solid var(--unicorn-line);border-radius:13px}.category-folders{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:6px}.office .category-folders button{display:flex;align-items:center;gap:8px;min-width:0;min-height:36px;padding:7px 10px;text-align:left;border:1px solid transparent;border-radius:9px;background:#f5f5f3!important;color:#555!important;font-size:11px}.office .category-folders button svg{width:16px;height:16px;flex:none;color:#8b8b85}.office .category-folders button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.office .category-folders button.active{border-color:#a8d9ef;background:#eaf7fd!important;color:#176d96!important}.catalog-head{grid-template-columns:minmax(0,1fr) 70px;padding:5px 38px 5px 12px;font-size:9px}.office .catalog-row{grid-template-columns:minmax(0,1fr) 58px 12px;gap:8px;min-height:42px;padding:5px 11px}.catalog-name b{font-size:12px;font-weight:600}.catalog-stock{font-size:12px}.catalog-open{font-size:18px}
@media(max-width:760px){.office-header{height:50px;padding:0 8px;gap:5px}.office-header .brand{font-size:19px}.office-header .nav-item{width:36px;min-width:36px;height:36px;min-height:36px;padding:9px}.office-profile #open-settings,.office-profile #logout{width:34px;height:34px;min-width:34px;padding:8px}.office-main{padding-top:7px}.page-heading{min-height:44px;margin-bottom:6px}.page-heading h1{font-size:20px}.page-action{width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;padding:9px!important}.filter-panel{padding:9px;margin-bottom:7px}.category-folders{grid-template-columns:1fr 1fr;gap:5px}.office .category-folders button{min-height:34px;padding:6px 8px}.catalog-head{padding:4px 31px 4px 9px;grid-template-columns:minmax(0,1fr) 52px}.office .catalog-row{grid-template-columns:minmax(0,1fr) 43px 10px;min-height:39px;padding:4px 8px}.catalog-name b{font-size:11px}.catalog-stock{font-size:11px}.catalog-stock small{font-size:8px}}
@media(max-width:380px){.category-folders{grid-template-columns:1fr}.page-heading h1{font-size:19px}}
.saby-product-card{display:grid;gap:12px}.product-card-hero{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px}.product-glyph{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:#f0eef7;color:#62558d}.product-glyph svg{width:23px;height:23px}.product-card-title{min-width:0}.product-card-title h2{margin:2px 0 3px;font-size:19px;line-height:1.18}.product-card-title p{margin:0;color:#85857f;font-size:11px}.product-card-actions{display:flex;align-items:center;gap:7px}.product-card-actions .round-action,.modal-form-head .round-action{display:inline-flex;align-items:center;justify-content:center;width:38px;min-width:38px;height:38px;min-height:38px;padding:9px;border:1px solid var(--unicorn-line);border-radius:50%;background:#fff;color:#555}.product-card-actions .primary-icon{border-color:#b8dff2;background:#eaf7fd;color:#176d96}.product-card-actions button svg{width:18px;height:18px}#edit-floor svg,#edit-product svg{display:none}#edit-floor:before{content:'₽';font-size:16px;font-weight:700}#edit-product:before{content:'✎';font-size:18px}.product-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.product-metrics>div{display:grid;gap:4px;padding:10px 11px;border:1px solid #ededeb;border-radius:11px;background:#fafaf8}.product-metrics span{color:#8c8c87;font-size:9px;text-transform:uppercase;letter-spacing:.45px}.product-metrics b{font-size:12px}.product-section{border-top:1px solid #ecece8}.product-section summary,.edit-description summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 2px;cursor:pointer;font-size:12px;font-weight:650}.product-section summary span{color:#969690;font-size:10px;font-weight:500}.product-description{margin:0 2px 12px;white-space:pre-line;color:#4f4f4b;font-size:12px;line-height:1.55}.product-specs{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(0,1.2fr);gap:7px 12px;margin:0 2px 13px;font-size:11px}.product-specs dt{color:#92928d}.product-specs dd{margin:0;overflow-wrap:anywhere;color:#353532}.modal-form-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.modal-form-head h2{margin:3px 0 0}.product-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.edit-description{padding:0 2px;border-top:1px solid #ecece8}.edit-description textarea{min-height:128px;resize:vertical}
@media(max-width:560px){.product-card-hero{grid-template-columns:40px minmax(0,1fr);gap:9px}.product-glyph{width:40px;height:40px;border-radius:12px}.product-card-actions{grid-column:1/-1;justify-content:flex-end}.product-metrics{grid-template-columns:1fr 1fr}.product-metrics>div:last-child{grid-column:1/-1}.product-edit-grid{grid-template-columns:1fr}.product-specs{grid-template-columns:105px minmax(0,1fr)}}

/* One role-aware account menu for personal and backend management. */
.office-profile{position:relative;margin-left:auto;gap:0}.office .account-trigger{display:flex;align-items:center;gap:8px;min-height:38px;padding:4px 9px 4px 4px;border:1px solid var(--unicorn-line);border-radius:20px;background:#fff!important;color:#333!important;box-shadow:0 3px 12px #14141408}.office .account-trigger:hover,.office .account-trigger.active,.office .account-trigger[aria-expanded=true]{border-color:#b9dff1;background:#edf8fd!important;color:#176d96!important}.account-trigger>svg{width:14px;height:14px;transition:transform .15s}.account-trigger[aria-expanded=true]>svg{transform:rotate(90deg)}.account-avatar,.profile-settings-avatar{display:flex;align-items:center;justify-content:center;border-radius:50%;background:#171717;color:#fff;font-weight:750;letter-spacing:-.3px}.account-avatar{width:30px;height:30px;font-size:10px}.account-trigger-name{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:650}.account-menu{position:absolute;right:0;top:calc(100% + 9px);z-index:80;width:min(294px,calc(100vw - 20px));padding:7px;border:1px solid #e6e6e2;border-radius:16px;background:#fff;box-shadow:0 18px 50px #1515151a}.account-identity{display:grid;gap:3px;padding:10px 11px 12px}.account-identity b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.account-identity span{color:#8a8a84;font-size:10px}.account-menu-group{display:grid;gap:2px;padding:7px 0;border-top:1px solid #eeeeea}.account-menu-group>span{padding:4px 10px 5px;color:#a0a09a;font-size:9px;font-weight:700;letter-spacing:.7px;text-transform:uppercase}.office .account-menu button,.account-menu a{display:flex;align-items:center;gap:10px;width:100%;min-height:38px;padding:8px 10px;border:0;border-radius:10px;background:transparent!important;color:#3f3f3b!important;text-align:left;text-decoration:none;font-size:12px;font-weight:500;box-sizing:border-box}.office .account-menu button:hover,.account-menu a:hover{background:#f4f4f1!important;color:#111!important}.account-menu svg{width:17px;height:17px;flex:none;color:#83837e}.account-menu-exit button{color:#a13f3f!important}.account-menu-exit button svg{color:#bd5d5d}.profile-settings{max-width:680px}.profile-settings-head{display:flex;align-items:center;gap:14px;margin-bottom:20px}.profile-settings-avatar{width:48px;height:48px;background:#eaf7fd;color:#176d96;font-size:14px}.profile-settings-head h2{margin:0 0 3px}.profile-settings-head p{margin:0;color:#85857f;font-size:11px}.profile-settings-data{grid-template-columns:minmax(130px,.7fr) minmax(0,1.3fr);gap:0;margin:0 0 20px}.profile-settings-data dt,.profile-settings-data dd{padding:11px 4px;border-bottom:1px solid #ededeb}.profile-settings-data dt{color:#91918b}.profile-settings-data dd{color:#333}
@media(max-width:760px){.account-trigger{width:36px;min-width:36px!important;height:36px;min-height:36px!important;padding:3px!important;border-radius:50%!important}.account-avatar{width:28px;height:28px}.account-trigger-name,.account-trigger>svg{display:none}.account-menu{position:fixed;right:8px;top:56px;width:min(292px,calc(100vw - 16px));max-height:calc(100dvh - 66px);overflow:auto}.profile-settings-data{grid-template-columns:1fr}.profile-settings-data dt{padding-bottom:2px;border-bottom:0}.profile-settings-data dd{padding-top:2px}}

/* Account destinations are standalone pages; no unrelated accordion navigation. */
.standalone-settings{width:100%;max-width:1120px;margin:0 auto}.standalone-settings>.panel,.standalone-settings>#settings-body>.panel{margin-top:0}.standalone-settings .panel{padding:16px 18px;border-radius:13px}.standalone-settings .panel h2{margin:0 0 12px;font-size:16px}.standalone-settings .notice{margin:0 0 10px;padding:10px 12px;font-size:11px}.standalone-settings .customer-row,.standalone-settings .payment-row{padding:11px 2px}.standalone-settings .customer-row button{min-height:34px;padding:7px 10px;font-size:11px}.standalone-settings .twocol{gap:10px}.standalone-settings .bot-check{padding:0 0 9px}.standalone-settings details{padding:7px 0}.account-menu{padding:5px}.account-identity{padding:8px 10px 10px}.account-menu-group{padding:5px 0}.account-menu-group>span{padding:3px 9px}.office .account-menu button,.account-menu a{min-height:34px;padding:7px 9px}.account-menu svg{width:16px;height:16px}
@media(max-width:760px){.standalone-settings .panel{padding:13px}.standalone-settings .twocol{grid-template-columns:1fr}.account-menu{padding:4px}.office .account-menu button,.account-menu a{min-height:36px}}

/* Consolidated navigation, event stream and touch actions. */
.header-tools{display:flex;align-items:center;gap:7px;margin-left:auto}.office .header-event-button{position:relative;display:flex;align-items:center;justify-content:center;width:38px;min-width:38px;height:38px;min-height:38px;padding:9px;border:1px solid var(--unicorn-line);border-radius:50%;background:#fff!important;color:#555!important}.header-event-button svg{width:18px;height:18px}.office .header-event-button:hover,.office .header-event-button.active{border-color:#b9dff1;background:#edf8fd!important;color:#176d96!important}.header-event-badge{position:absolute;right:-4px;top:-5px;display:flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 4px;border:2px solid #fff;border-radius:10px;background:#ff7469;color:#fff;font-size:9px;line-height:1}.header-event-badge:empty{display:none}.office .account-menu .account-identity{display:grid;grid-template-columns:1fr;gap:2px;min-height:0;padding:10px 11px 11px;border-radius:11px;background:#f6f6f3!important}.office .account-menu .account-identity:hover{background:#efefeb!important}.account-identity b,.account-identity span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-identity b{font-size:13px}.account-identity span{color:#8a8a84;font-size:10px}.section-tabs{display:flex;align-items:center;gap:5px;margin:0 0 10px;padding:4px;overflow-x:auto;border:1px solid var(--unicorn-line);border-radius:14px;background:#fff;scrollbar-width:none}.section-tabs::-webkit-scrollbar{display:none}.office .section-tabs button,.section-tabs a{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;min-height:34px;padding:7px 11px;border:0;border-radius:10px;background:transparent!important;color:#6f6f69!important;text-decoration:none;font-size:11px;font-weight:600;white-space:nowrap}.office .section-tabs button.active,.office .section-tabs button:hover,.section-tabs a:hover{background:#f0f0ed!important;color:#111!important}.section-tabs a{margin-left:auto}.section-tabs svg{width:15px;height:15px}
.event-filter-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:8px;align-items:end;margin:0 0 8px;padding:9px;border:1px solid var(--unicorn-line);border-radius:14px;background:#fff}.event-filter-panel label{display:grid;gap:4px;color:#8a8a84;font-size:9px}.event-filter-panel select{height:38px;min-height:38px;padding:6px 28px 6px 10px;border-color:#ededeb;border-radius:10px;background-color:#f7f7f5;font-size:11px}.event-filter-panel button{display:flex;align-items:center;gap:6px;height:38px;padding:8px 11px;font-size:11px}.event-filter-panel svg{width:15px;height:15px}.event-summary{display:flex;justify-content:space-between;gap:12px;padding:3px 2px 8px;color:#969690;font-size:10px}.unified-events{gap:6px}.unified-events .site-event-card{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:58px;padding:8px 10px;border:1px solid var(--unicorn-line);border-left:4px solid #b9dff1;border-radius:12px;background:#fff;transition:transform .16s,opacity .16s,background .16s}.unified-events .site-event-card.severity-warning{border-left-color:#efb54a;background:#fffdf7}.unified-events .site-event-card.severity-error{border-left-color:#e36a61;background:#fff9f8}.unified-events .site-event-card.event-messages{border-left-color:#65c7f2}.unified-events .site-event-card.event-registrations{border-left-color:#aa8ee6}.unified-events .site-event-card.is-read{opacity:.64;background:#fafaf8}.event-type-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#f0f0ed;color:#6f6f69}.event-type-icon svg{width:16px;height:16px}.severity-warning .event-type-icon{background:#fff0ce;color:#a56e0d}.severity-error .event-type-icon{background:#ffe5e1;color:#b9463e}.event-copy{min-width:0}.event-copy .event-heading{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0}.event-copy .event-heading b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.event-copy .event-heading span{flex:none;color:#999993;font-size:9px}.event-copy p{margin:2px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#666660;font-size:10px}.event-copy small{font-size:9px}.event-actions button{min-height:32px;padding:6px 9px;font-size:10px}.is-swiping{transition:none!important}.touch-actions-open{background:#f0f8fc!important;box-shadow:0 0 0 2px #8ed0ed55}
@media(max-width:760px){.header-tools{gap:4px}.office .header-event-button{width:36px;min-width:36px;height:36px;min-height:36px;padding:9px}.section-tabs{margin:0 -2px 8px}.office .section-tabs button,.section-tabs a{min-height:32px;padding:6px 9px;font-size:10px}.event-filter-panel{grid-template-columns:1fr 1fr;padding:8px}.event-filter-panel label:first-child{grid-column:1/-1}.event-filter-panel button{justify-content:center}.event-summary span:last-child{display:none}.unified-events .site-event-card{grid-template-columns:30px minmax(0,1fr);min-height:54px;padding:7px 8px}.event-type-icon{width:29px;height:29px}.event-actions{display:none;grid-column:1/-1;justify-content:flex-end}.site-event-card.touch-actions-open .event-actions{display:flex}.event-copy .event-heading span{display:none}.event-copy p{max-width:calc(100vw - 88px)}[data-gesture-row].customer-row:has(>div:last-child button)>div:last-child{display:none}[data-gesture-row].customer-row.touch-actions-open>div:last-child{display:flex;flex-wrap:wrap;width:100%;margin-top:7px}.customer-row[data-gesture-row]{transition:transform .16s,background .16s}.account-trigger-name{display:none}.account-trigger>svg{display:none}}

/* Compact backend lists use the same visual language as orders. */
.employee-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;color:#8d8d87;font-size:10px}.employee-toolbar>div{display:flex;gap:6px}.employee-toolbar button{min-height:36px;padding:7px 11px;font-size:11px}.employee-list,.pending-access{display:grid;gap:6px}.pending-access{margin-bottom:12px}.pending-access h3{margin:0 0 2px;color:#8d6a22;font-size:11px}.employee-row{display:grid;grid-template-columns:34px minmax(150px,1fr) minmax(105px,160px) 66px 32px;align-items:center;gap:9px;min-height:50px;padding:6px 9px;border:1px solid var(--unicorn-line);border-radius:13px;background:#fff;transition:transform .16s,background .16s}.employee-row.pending{grid-template-columns:34px minmax(150px,1fr) 85px auto;border-left:4px solid #efb54a;background:#fffdf7}.employee-avatar{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#f0f0ed;color:#555;font-size:9px;font-weight:750}.employee-main{display:grid!important;gap:2px!important;min-width:0!important;min-height:34px!important;padding:3px 0!important;text-align:left!important;background:transparent!important;color:#222!important}.employee-main b,.employee-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-main b{font-size:12px}.employee-main small{color:#93938d;font-size:9px}.employee-role{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6f6f69;font-size:10px}.employee-indicators{display:flex;justify-content:flex-end;gap:5px}.employee-dot{position:relative;display:flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:50%;background:#f1f1ef;color:#969690}.employee-dot.green{background:#def5e6;color:#208450}.employee-dot.red{background:#ffe6e2;color:#bd4c44}.employee-dot.blue{background:#e1f4fc;color:#2088b5}.employee-dot svg{width:13px;height:13px}.employee-dot::after{content:attr(data-tip);position:absolute;right:0;bottom:calc(100% + 7px);z-index:20;width:max-content;max-width:180px;padding:6px 8px;border-radius:7px;background:#252525;color:#fff;font-size:9px;opacity:0;visibility:hidden;pointer-events:none}.employee-dot:hover::after{opacity:1;visibility:visible}.office .employee-open{display:flex;align-items:center;justify-content:center;width:30px;min-width:30px;height:30px;min-height:30px;padding:7px;border:0;border-radius:50%;background:transparent!important;color:#aaa!important}.employee-open svg{width:15px;height:15px}.employee-row-actions{display:flex;justify-content:flex-end;gap:5px}.employee-row-actions button{min-height:32px;padding:6px 9px;font-size:10px}
.standalone-settings #settings-body>.panel,.standalone-settings #settings-body>.twocol>.panel,.standalone-settings #settings-body>section.panel{border-color:var(--unicorn-line);border-radius:13px;box-shadow:none}.standalone-settings .customer-row{min-height:46px;margin:5px 0;padding:7px 9px;border:1px solid #ededeb;border-radius:11px;background:#fff}.standalone-settings .customer-row strong{font-size:11px}.standalone-settings .customer-row small{margin-top:2px;font-size:9px}.standalone-settings table{border-collapse:separate;border-spacing:0 5px}.standalone-settings thead th{padding:4px 9px;border:0;font-size:9px}.standalone-settings tbody tr{background:#fff}.standalone-settings tbody td{padding:8px 9px;border-top:1px solid #ededeb;border-bottom:1px solid #ededeb;font-size:10px}.standalone-settings tbody td:first-child{border-left:1px solid #ededeb;border-radius:10px 0 0 10px}.standalone-settings tbody td:last-child{border-right:1px solid #ededeb;border-radius:0 10px 10px 0}.standalone-settings form{gap:10px}.standalone-settings input,.standalone-settings select,.standalone-settings textarea{min-height:42px}
@media(max-width:760px){.employee-toolbar{align-items:flex-end}.employee-toolbar>div{gap:4px}.employee-toolbar button{padding:7px 9px}.employee-row{grid-template-columns:32px minmax(0,1fr) 56px 28px;gap:7px;min-height:48px;padding:5px 7px}.employee-role{grid-column:2;grid-row:2;margin-top:-10px;font-size:9px}.employee-indicators{grid-column:3;grid-row:1/3}.employee-open{grid-column:4;grid-row:1/3}.employee-main{grid-column:2;grid-row:1}.employee-row.pending{grid-template-columns:32px minmax(0,1fr) 65px}.employee-row.pending .employee-role{grid-column:3;grid-row:1}.employee-row.pending .employee-row-actions{display:none;grid-column:1/-1}.employee-row.pending.touch-actions-open .employee-row-actions{display:flex}.standalone-settings .customer-row{padding:7px}.standalone-settings tbody td{padding:7px 6px}}
.modal-form-head .danger-icon{border-color:#f2c6c1!important;background:#fff1ef!important;color:#b34b43!important}.modal-form-head .danger-icon:hover{background:#ffe5e1!important;color:#963b35!important}
.employee-edit-form{display:grid;gap:10px}.employee-edit-main,.employee-extra-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.employee-edit-form .float-field input,.employee-edit-form .float-field select{min-height:48px;padding-top:19px!important}.employee-extra{margin:0!important;padding:0!important;border-top:1px solid #ecece8;border-bottom:1px solid #ecece8}.employee-extra summary{padding:11px 2px;color:#666660;font-size:11px;font-weight:650}.employee-extra-grid{padding:0 0 10px}.employee-save{justify-self:end;min-width:180px}.employee-danger-zone{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;padding-top:13px;border-top:1px solid #f1d7d3}.office .employee-danger-zone button{min-height:38px;padding:8px 12px;border:1px solid #efb8b2;border-radius:10px;background:#fff0ee!important;color:#a83f38!important;font-size:11px}.office .employee-danger-zone button:hover{background:#ffe2de!important}.employee-danger-zone small{color:#a68582;font-size:9px;text-align:right}
@media(max-width:560px){.employee-edit-main,.employee-extra-grid{grid-template-columns:1fr}.employee-save{justify-self:stretch;width:100%}.employee-danger-zone{align-items:stretch;flex-direction:column}.employee-danger-zone small{text-align:left}}
/* Compact staff order card: keep the essential fields readable on a phone. */
#detail .order-meta{display:none}
#detail .notice{padding:4px 8px;margin:4px 0;font-size:.78rem}
#detail h2{margin:2px 0 8px;font-size:1.05rem}
#detail h3{margin:8px 0 4px;font-size:.86rem}
#detail .tablewrap{max-height:180px;overflow:auto}
#detail table th,#detail table td{padding:4px 6px;font-size:.78rem}
#detail .order-payment-section{margin-top:6px}
#detail .photos a{display:inline-flex;margin:2px;padding:3px 6px;border-radius:6px;background:#f2f6f9;font-size:.75rem}
#detail .order-actions{gap:4px}
.compact-order-form #recipient-fields[hidden]{display:none!important}
.compact-order-form #recipient-fields:disabled{display:none!important}

.catalog-no-stock .catalog-name,.catalog-no-stock .catalog-stock{color:#939ba5!important}.requests-workspace .request-row{display:flex;gap:10px;align-items:flex-start;padding:8px 10px;border-bottom:1px solid #e4e9ef}.requests-workspace .request-row[hidden]{display:none}.requests-workspace .request-row details{flex:1;min-width:0}.requests-workspace summary{cursor:pointer;font-size:13px}.requests-workspace .request-text{white-space:pre-wrap;font-size:12px;max-height:260px;overflow:auto}.requests-workspace .request-row button{padding:5px 10px;font-size:12px}

.product-reason{margin:6px 0 10px;padding:8px 12px;border-radius:8px;background:#fff4e5;color:#8a4b00;font-weight:600}
/* 22.10.2026: массовые действия и значок Saby в списке заказов */
.order-entry.selectable{position:relative;padding-left:40px}.bulk-check{position:absolute;left:20px;top:0;bottom:0;display:flex;align-items:center;cursor:pointer}.bulk-check input,.bulk-head input{width:16px;height:16px;margin:0;accent-color:#181818;cursor:pointer}
.order-entry.selected{border-color:#9db8e8;background:#f6f9ff}
.bulk-head{display:flex;align-items:center;justify-content:space-between;padding:0 4px 6px 21px;font-size:12px;color:#6b7280}.bulk-head label{display:inline-flex;align-items:center;gap:9px;cursor:pointer}
.bulk-bar{position:sticky;bottom:12px;z-index:15;margin-top:10px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:9px 12px;background:#fff;border:1px solid #dfe3e8;border-radius:14px;box-shadow:0 8px 28px #1b23301f;font-size:13px}.bulk-bar b{margin-right:4px}.bulk-bar select{min-height:36px;border-radius:10px;padding:6px 10px;max-width:260px}.bulk-bar button{min-height:36px;padding:7px 13px}
.office .bulk-bar button.danger,.bulk-bar .danger{color:#bd4c44}.bulk-numbers{max-height:110px;overflow:auto;font-size:12px}.bulk-failures{padding-left:18px;max-height:300px;overflow:auto}.bulk-failures li{margin:4px 0}
.office .status-dot.blue{background:#e3efff;color:#1f6fd1}.office .status-dot.saby-dot.inactive{opacity:.6;cursor:default}.status-dot.saby-dot::after{white-space:pre-line}
@media(max-width:760px){.order-entry.selectable{padding-left:40px}.bulk-check{left:21px}.bulk-bar{bottom:8px;padding:8px}.bulk-bar select{flex:1 1 100%;max-width:none}}

/* 22.10.2026: purple Saby icon = «отгружен в Saby» (realization matched, BK stock not deducted twice) */
.office .status-dot.purple{background:#f0e7fb;color:#7a3fc8}.office .status-dot.saby-dot.purple.inactive{opacity:1}
/* 22.10.2026 clients2 */
.client-badge{font-size:15px;line-height:1}
.client-badge-button{background:none;border:1px solid var(--line,#e3e3e3);border-radius:9px;font-size:18px;min-width:34px;min-height:32px;padding:0 6px;cursor:pointer;vertical-align:middle}
.badge-grid{display:grid;grid-template-columns:repeat(6,48px);gap:6px;margin:10px 0}.badge-pick{font-size:22px;min-height:44px;background:#f5f5f3;border:1px solid transparent;border-radius:10px;cursor:pointer}.badge-pick.active{border-color:#2a6df4}
.client-comment{display:block;margin-top:10px}.client-comment textarea{width:100%;min-height:70px}
.client-request-note{display:flex;flex-wrap:wrap;gap:6px;align-items:center}

/* Shipment date stays with the order number in every responsive layout. */
.office .order-number .order-shipment-date{display:block;font-size:10px;font-weight:400;line-height:1.2;color:#73808c;white-space:nowrap;margin-top:2px;letter-spacing:0}

/* Compact employee identity and deliberate inline editing. */
.staff-system-icons{display:inline-flex;align-items:center;gap:5px;vertical-align:middle}
.staff-system{display:inline-flex;align-items:center;justify-content:center;padding:7px;width:34px;height:34px;min-height:34px;border:0;border-radius:9px;background:#f0f2f4;color:#a0a8b0;cursor:help}
.staff-system svg{width:20px;height:20px}.staff-system.tg.linked{color:#008acb;background:#e5f4fc}.staff-system.saby.linked{color:#704fc6;background:#f0eafb}
#detail h2 .staff-system-icons{float:right;margin-left:14px}.staff-compact-form .employee-edit-main,.staff-compact-form .employee-extra-grid{display:grid;grid-template-columns:1fr;gap:0}
.staff-edit-row{display:grid!important;grid-template-columns:minmax(100px,35%) minmax(0,1fr);align-items:center;gap:10px;padding:5px 0;border-bottom:1px solid #edf0f3;font-size:13px}
.staff-edit-row input,.staff-edit-row select{margin:0;width:100%;min-width:0;min-height:36px;padding:6px 10px}
.staff-read-value{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;color:var(--text,#243444)}.staff-read-value>span{overflow-wrap:anywhere}
.staff-pencil{flex:none;width:36px;min-height:36px;height:36px;padding:9px;background:transparent;color:#788896;border:0;border-radius:8px}.staff-pencil:hover{background:#edf4fa;color:#1871b9}.staff-pencil svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}
.staff-edit-row [hidden]{display:none!important}.staff-compact-form .employee-extra{margin:10px 0}.staff-compact-form .employee-save{margin-top:12px}.employee-row{padding-top:8px!important;padding-bottom:8px!important}

.jd-start{font:15px/1.5 system-ui,-apple-system,sans-serif;color:#25313e;background:#f5f6f8;min-height:100vh}.jd-start-head{height:68px;padding:0 28px;display:flex;align-items:center;background:white;border-bottom:1px solid #e6e9ed}.jd-start-brand{font-size:25px;font-weight:800;color:#111}.jd-start-main{padding:24px;max-width:1400px;margin:auto}.jd-start-main h1{font-size:20px;margin:0 0 20px}.jd-start-row{height:44px;margin:8px 0;border-radius:5px;background:linear-gradient(90deg,#e9edf1 0 22%,#f0f2f5 22% 100%)}.jd-start-note{color:#687785;font-size:13px}html.jd-mini .hero,html.jd-mini .brand-strip,html.jd-mini .about,html.jd-mini footer,html.jd-mini body>header:not(.mini-header){display:none}#jd-mini-boot{display:none}html.jd-mini #jd-mini-boot{display:block}@media(prefers-reduced-motion:no-preference){.jd-start-row{animation:jd-breathe 1.8s ease-in-out infinite alternate}@keyframes jd-breathe{to{opacity:.55}}}

.jd-order-page-status{display:flex;align-items:center;justify-content:center;gap:12px;padding:14px;color:#687785;font-size:12px;min-height:48px}.jd-order-page-status button{font-size:12px;padding:6px 12px}

@supports (content-visibility:auto){
 .order-entry,.receipt-review-card,.jd-catalog-entry,.client-directory-row,.employee-row,.req-entry,.order-card,.client-row,.cat-item,.mini-order,.account-order,.product-card,.archive-card,.catalog-folder{
  content-visibility:auto;contain-intrinsic-block-size:auto 64px;
 }
 .receipt-grid:not(.view-list) .receipt-review-card{contain-intrinsic-block-size:auto 400px}
 .product-card{contain-intrinsic-block-size:auto 360px}
 .catalog-folder{contain-intrinsic-block-size:auto 400px}
 @media print{.order-entry,.receipt-review-card,.jd-catalog-entry,.client-directory-row,.employee-row,.req-entry,.order-card,.client-row,.cat-item,.mini-order,.account-order,.product-card,.archive-card,.catalog-folder{content-visibility:visible;contain-intrinsic-block-size:none}}
}
.jd-page-progress{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px;color:#727a85;font-size:13px}

/* Shared bot picker: explicit classes also work under style-src self CSP. */
body dialog.jd-bot-picker{box-sizing:border-box;width:min(580px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:85dvh;margin:auto;padding:10px;border:1px solid var(--line,#dce3eb);border-radius:14px;background:var(--surface,#fff);color:var(--text,#24384b);font:12px/1.25 system-ui,sans-serif;overflow:hidden}
body dialog.jd-bot-picker[open]{display:flex;flex-direction:column;gap:6px}
body dialog.jd-bot-picker .jd-bot-picker-head{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:center;flex:none;margin:0;padding:0}
body dialog.jd-bot-picker .jd-bot-picker-head strong{text-align:center;font-size:13px;white-space:nowrap}
body dialog.jd-bot-picker .jd-bot-picker-head button{box-sizing:border-box;width:100%;min-width:0;height:34px;min-height:34px;margin:0;padding:4px 6px;font:600 12px/1.1 system-ui,sans-serif;border-radius:8px;display:flex;align-items:center;justify-content:center}
body dialog.jd-bot-picker .jd-bot-picker-client{display:flex;flex-direction:column;gap:2px;flex:none;min-width:0;font-size:12px}
body dialog.jd-bot-picker .jd-bot-picker-client b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body dialog.jd-bot-picker .jd-bot-picker-client span{font-size:11px;opacity:.7}
body dialog.jd-bot-picker .jd-bot-picker-tools{display:flex;justify-content:space-between;align-items:center;flex:none;min-height:26px}
body dialog.jd-bot-picker .jd-bot-picker-tools label{display:flex;align-items:center;gap:6px;margin:0;padding:0;font-size:12px}
body dialog.jd-bot-picker input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;display:block!important;box-sizing:border-box!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;margin:0!important;padding:0!important;border-radius:3px!important;flex:none;accent-color:#347ee8}
body dialog.jd-bot-picker .jd-bot-picker-list{min-height:0;overflow:auto;flex:1;overscroll-behavior:contain}
body dialog.jd-bot-picker .jd-bot-picker-row{display:grid;grid-template-columns:18px minmax(0,1fr) 12px auto;gap:5px;align-items:center;min-height:28px;margin:0;padding:1px 0;border-bottom:1px solid var(--line,#e5e9ef)}
body dialog.jd-bot-picker .jd-bot-picker-row button{box-sizing:border-box;display:block;width:100%;min-width:0;height:26px;min-height:26px;max-height:26px;margin:0;padding:2px 4px;border:0;border-radius:4px;background:transparent;color:inherit;text-align:left;font:12px/22px system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:none}
body dialog.jd-bot-picker .jd-bot-picker-row time{font:10px/1.2 system-ui,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.75}
body dialog.jd-bot-picker .jd-bot-picker-status{text-align:center;font-size:11px}
body dialog.jd-bot-picker .jd-bot-picker-error{margin:0;font-size:12px;color:#c53939;flex:none}
body dialog.jd-bot-picker .jd-bot-picker-error:empty{display:none}
body dialog.jd-bot-file-preview{box-sizing:border-box;width:min(650px,94vw);max-height:88dvh;margin:auto;padding:10px;border:1px solid var(--line,#ddd);border-radius:12px;background:var(--surface,#fff);color:var(--text,#24384b)}
body dialog.jd-bot-file-preview header{display:flex;align-items:center;justify-content:space-between;gap:8px}
body dialog.jd-bot-file-preview header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
body dialog.jd-bot-file-preview header button{width:32px;min-height:32px;height:32px;flex:none;padding:0}
body dialog.jd-bot-file-preview img,body dialog.jd-bot-file-preview iframe{display:block;width:100%;max-height:70dvh;object-fit:contain;border:0;margin-top:8px}
body dialog.jd-bot-file-preview iframe{height:70dvh}

/* Preserve intrinsic row height inside the bounded picker on mobile Safari. */
body dialog.jd-bot-picker .jd-bot-picker-list{flex:0 1 auto;min-height:28px;max-height:calc(85dvh - 160px);overflow-y:auto}
body dialog.jd-bot-picker .jd-bot-picker-row{flex-shrink:0}

/* Receipt intake review: visible before payment creation, no inline CSP styles. */
.receipt-intakes .receipt-intake-row{display:flex;align-items:center;gap:8px;padding:5px 0;border-bottom:1px solid var(--line,#ddd)}
.receipt-intakes[hidden],.receipt-intakes .receipt-intake-row[hidden]{display:none!important}
.receipt-intake-client{flex:1;min-width:0}.receipt-intake-client b,.receipt-intake-client small{display:block;overflow:hidden;text-overflow:ellipsis}.receipt-intakes button{flex:0 0 auto;min-height:32px}

.jd-file-destination[open]{display:grid;gap:8px}.jd-file-destination button{width:100%;min-height:36px;margin:0}.jd-file-destination h2{margin:0 0 8px}
