:root{font-family:"Microsoft YaHei UI","Microsoft YaHei",sans-serif;color:#1b2f43;background:#f3f6fa;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:7px;padding:11px 17px;background:#176858;color:white}button:hover{filter:brightness(.94)}button:disabled{opacity:.5;cursor:wait}input,select{width:100%;padding:11px;border:1px solid #d6dfe7;border-radius:7px;background:white;color:#1b2f43}label{display:block;color:#526475;margin:15px 0 6px}h1{font-size:29px;margin:8px 0 12px}h2{font-size:19px;margin:0 0 14px}p{line-height:1.8;color:#607181}.muted{color:#788995;font-size:12px}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.intro{background:#122e36;color:white;padding:12vh 10%;display:flex;flex-direction:column;justify-content:center}.intro h1{font-size:clamp(22px,2.3vw,30px);line-height:1.4;white-space:nowrap}.intro p{color:#b7cdcf;max-width:450px}.brand{font-size:17px;letter-spacing:2px;margin-bottom:60px}.tag{color:#80cbb9;font-size:12px;letter-spacing:3px}.login-area{padding:50px;display:flex;align-items:center;justify-content:center}.login-card{width:100%;max-width:400px}.login-card button{width:100%;margin-top:24px}.shell{display:grid;grid-template-columns:228px 1fr;min-height:100vh}aside{background:#122e36;color:white;padding:32px 20px;display:flex;flex-direction:column;gap:8px}aside .brand{margin-bottom:25px;font-size:15px}aside button{text-align:left;background:transparent;color:#c3d4d8}aside button.active{background:#255047;color:white}aside .muted{margin-top:auto;padding-top:50px;color:#9bb6bc}main{padding:32px 42px;max-width:1500px;width:100%}header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dde5ea;padding-bottom:24px;margin-bottom:30px}.eyebrow{color:#176858;letter-spacing:2px;font-size:12px}.secondary{background:#e7eeef;color:#284451}.danger{background:#fce9e8;color:#a93d37}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:24px 0}.card,.panel{background:white;border:1px solid #e0e7ed;border-radius:12px;padding:24px}.card strong{display:block;font-size:29px;margin:12px 0}.toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:18px}.toolbar input{max-width:320px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}th{color:#758491;font-weight:400;font-size:12px;background:#f7f9fb}td,th{padding:15px 12px;border-bottom:1px solid #edf1f4}td button{padding:6px 10px;font-size:12px;margin-right:5px}.pill{background:#e6f3ed;color:#216c51;border-radius:20px;padding:5px 9px;font-size:12px}.off{background:#f3e9e8;color:#9b4e47}.profile{max-width:600px}.row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}dialog{border:0;border-radius:14px;padding:28px;width:min(540px,95vw);box-shadow:0 20px 90px #122e3640}dialog::backdrop{background:#122e3670}#notice{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#173b43;color:white;padding:14px 24px;border-radius:9px;display:none;z-index:99;max-width:90vw}.empty{padding:35px;text-align:center;color:#788995}.error{color:#a93d37;min-height:20px;margin-top:12px}.section-gap{margin-top:24px}@media(max-width:800px){.auth{grid-template-columns:1fr}.intro{display:none}.shell{grid-template-columns:1fr}aside{padding:15px;flex-direction:row;flex-wrap:wrap}aside .brand{width:100%;margin:0}aside .muted{display:none}main{padding:22px 16px}.cards{grid-template-columns:1fr}.row{grid-template-columns:1fr}.login-area{padding:35px 22px}header{align-items:flex-start;gap:12px}}

.people-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.member-check{width:18px;height:18px;cursor:pointer}
.managed-departments{margin:18px 0 0;padding:15px;border:1px solid #d6dfe7;border-radius:9px}.managed-departments legend{padding:0 7px;color:#526475}.managed-departments p{margin:0 0 12px;font-size:12px}.department-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.department-choice{display:flex;align-items:center;gap:8px;margin:0;padding:9px 10px;border:1px solid #e1e8ec;border-radius:7px;background:#f8fafb;color:#253d4c}.department-choice input{width:17px;height:17px;margin:0}.department-choice span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.organization-page{max-width:1180px}.organization-toolbar{margin-bottom:22px}.organization-toolbar h2{margin-bottom:6px}.organization-toolbar p{margin:0}.department-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.department-card{background:white;border:1px solid #dce5ea;border-radius:13px;padding:22px;box-shadow:0 5px 18px #173b4308}.department-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:17px;border-bottom:1px solid #e9eef1}.department-card-head h2{font-size:21px;margin:5px 0}.department-card-head p{margin:0;font-size:12px}.org-level{padding-top:18px}.org-level.managers{background:#f5faf8;margin:18px -10px 0;padding:16px 10px;border-radius:10px}.org-level-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}.org-level-title strong{font-size:15px}.org-level-title span{font-size:12px;color:#7a8b95}.org-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.org-person{display:grid;grid-template-columns:37px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;background:white;color:#243c4c;border:1px solid #e0e8ec;text-align:left;min-width:0}.org-person:hover{border-color:#82b2a6;background:#fbfdfc}.org-person span,.org-person strong,.org-person small{min-width:0}.org-person strong,.org-person small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.org-person small{color:#798a95;margin-top:4px;font-size:11px}.org-person b{color:#91a1a8}.org-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#dcefe8;color:#176858;font-weight:700}.org-person.is-disabled{opacity:.58}.org-empty{grid-column:1/-1;padding:14px;border:1px dashed #ccd9dd;border-radius:8px;color:#83929a;text-align:center;font-size:12px}.org-set-manager{margin-top:10px;padding:8px 12px;font-size:12px}.org-connector{width:2px;height:18px;background:#bfd3cd;margin:0 auto -1px}.unassigned-section{margin-top:18px}@media(max-width:1050px){.department-grid{grid-template-columns:1fr}}@media(max-width:600px){.organization-toolbar,.department-card-head{align-items:flex-start;flex-direction:column}.org-people{grid-template-columns:1fr}}
textarea{width:100%;padding:11px;border:1px solid #d6dfe7;border-radius:7px;font:inherit;color:#1b2f43;resize:vertical}.task-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.task-filters{display:flex;gap:18px;margin-bottom:20px;flex-wrap:wrap}.task-filters label{min-width:220px}.task-title{white-space:normal;min-width:180px;max-width:360px}.overdue{color:#b14032;font-weight:600}.task-dialog{width:min(760px,95vw);max-height:90vh;overflow:auto}.task-note{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin:12px 0}.task-meta{display:flex;align-items:center;gap:15px}.task-actions{flex-wrap:wrap;justify-content:flex-start}.task-timeline article{border-left:3px solid #c2dcd4;padding:6px 18px;margin:15px 0}.task-file{display:block;overflow-wrap:anywhere;color:#176858;margin-top:8px}.collaborator-list{display:flex;flex-wrap:wrap;gap:12px;max-height:140px;overflow:auto}.collaborator-list label{display:flex;align-items:center;gap:4px;margin:4px 0}@media(max-width:800px){.task-counts{grid-template-columns:repeat(2,1fr)}.task-filters label{width:100%;min-width:0}}
.sales-notice{background:#e8f1f0;padding:14px 18px;border-radius:8px}.sales-filters{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:24px}.sales-filters label:first-child{flex:1;min-width:220px}.sales-rankings{display:grid;grid-template-columns:1fr 1fr;gap:18px}.sales-name{white-space:normal;overflow-wrap:anywhere}.sales-chart{width:100%;height:auto;display:block;min-height:130px}.sales-chart text{font:12px sans-serif;fill:#607181}.sales-steps{padding-left:24px;line-height:1.8}.sales-steps li{margin:12px 0}@media(max-width:800px){.sales-rankings{grid-template-columns:1fr}}
.product-controls{display:flex;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:20px}.product-controls label{min-width:240px;margin:0}.period-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.period-buttons button{padding:9px 15px}
.product-metric-tabs{margin-top:-8px}.product-summary-cards{grid-template-columns:repeat(4,1fr)}@media(max-width:1100px){.product-summary-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.product-summary-cards{grid-template-columns:1fr}}
#message-ticker{display:flex;align-items:center;background:#fff4cf;border:1px solid #ead58c;border-radius:9px;margin:-12px 0 22px;overflow:hidden;cursor:pointer;color:#624b00}#message-ticker[hidden]{display:none}.ticker-label{flex:none;background:#d99a18;color:white;padding:11px 14px;font-weight:600}.ticker-window{overflow:hidden;flex:1}.ticker-track{width:max-content;padding:11px 0;animation:message-scroll 22s linear infinite}.message-list{display:grid;gap:12px}.message-item{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid #dce6ea;border-left:4px solid #2b8b70;border-radius:8px;padding:14px 16px}.message-item p{margin:6px 0 0;color:#263d4d}.message-item .muted{margin-left:12px}.message-item.read{opacity:.68}.message-item.urgent{border-left-color:#cf493e;background:#fff8f7}.message-item-actions{display:flex;flex:none;align-items:center;justify-content:flex-end;gap:8px}.message-item-actions button:disabled{opacity:1;cursor:default}@media(max-width:700px){.message-item{align-items:flex-start;flex-direction:column}.message-item-actions{align-self:stretch;justify-content:flex-end}}@keyframes message-scroll{from{transform:translateX(70vw)}to{transform:translateX(-100%)}}
.employee-welcome{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#173f46,#26705e);color:white;border-radius:14px;padding:26px 28px;margin-bottom:20px}.employee-welcome h2{font-size:23px;margin:8px 0}.employee-welcome p{color:#cce0dc;margin:0}.employee-welcome .eyebrow{color:#92d7c7}.employee-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.employee-stat{display:flex;flex-direction:column;align-items:flex-start;background:white;color:#526475;border:1px solid #e0e7ed;border-radius:11px;padding:18px}.employee-stat strong{font-size:28px;color:#1b2f43;margin-top:8px}.employee-stat.attention{border-color:#d99a18;background:#fffaf0}.employee-stat.danger-card{border-color:#d87870;background:#fff8f7}.employee-columns{display:grid;grid-template-columns:1.35fr 1fr;gap:18px}.employee-focus-list,.employee-message-list{display:grid;gap:10px}.employee-focus{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #edf1f4;padding:12px 0}.employee-focus strong{margin-left:8px}.employee-focus p,.employee-message p{margin:6px 0}.employee-focus.is-overdue{border-left:3px solid #c94a42;padding-left:10px}.employee-message{border-left:3px solid #2b8b70;padding:9px 12px;background:#f7faf9}.employee-message.urgent{border-left-color:#cf493e;background:#fff8f7}.enable-home-notifications{margin-top:16px}@media(max-width:1000px){.employee-columns{grid-template-columns:1fr}.employee-stat-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.employee-welcome{align-items:flex-start;gap:15px;flex-direction:column}.employee-stat-grid{grid-template-columns:1fr 1fr}}

/* 桌面式系统设置入口 */
aside{min-height:100vh;height:100vh;position:sticky;top:0}
.sidebar-main{display:flex;flex-direction:column;gap:8px}
.sidebar-bottom{margin-top:auto;border-top:1px solid #31505a;padding-top:12px}
.sidebar-bottom .settings-button{width:100%;font-size:15px}
.sidebar-bottom .settings-button span{font-size:17px;margin-right:8px}
.sidebar-bottom .muted{margin-top:0;padding-top:13px}
.settings-page{max-width:920px}.settings-intro{margin-bottom:24px}.settings-intro h2{font-size:24px}
.settings-back{display:inline-flex;align-items:center;margin:0 0 13px;padding:7px 11px;background:transparent;color:#176858;border:1px solid #bfd4ce}.settings-back:hover{background:#e8f2ef;filter:none}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.settings-card{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:15px;width:100%;padding:22px;text-align:left;background:white;color:#1b2f43;border:1px solid #dce5ea;border-radius:12px}
.settings-card:hover{border-color:#85b4aa;box-shadow:0 7px 24px #193a4310}
.settings-card .settings-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:11px;background:#e8f2ef;font-size:22px}
.settings-card strong,.settings-card small{display:block}.settings-card strong{font-size:16px;margin-bottom:7px}.settings-card small{color:#71828e;line-height:1.6}.settings-card b{font-size:25px;color:#8da0a8}
@media(max-width:800px){aside{display:block;min-height:0;height:auto;position:static}.sidebar-main{flex-direction:row;flex-wrap:wrap}.sidebar-bottom{margin-top:10px;padding-top:10px}.sidebar-bottom .settings-button{width:auto}.settings-grid{grid-template-columns:1fr}}
.orders-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;flex-wrap:wrap}.orders-pagination>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.orders-pagination label{display:flex;align-items:center;gap:7px;margin:0;color:#526475}.orders-pagination input{width:70px;padding:9px;text-align:center}.orders-pagination button{padding:9px 13px}@media(max-width:700px){.orders-pagination>div{width:100%}.orders-pagination button{flex:1}.orders-pagination label{order:-1;width:100%;justify-content:center}}
.wb-order-filters{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr)) auto;gap:12px;align-items:end;margin:16px 0}.wb-order-filters label{margin:0}.wb-order-filters button{min-height:42px}.wb-order-sync{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0;color:#607181;font-size:12px}.wb-order-sync span{background:#f4f8f8;border-radius:7px;padding:8px 10px}.wb-order-sync .service-error{color:#a93d37;background:transparent;padding:0}@media(max-width:800px){.wb-order-filters{grid-template-columns:1fr 1fr}}@media(max-width:550px){.wb-order-filters{grid-template-columns:1fr}}
.sidebar-user{display:flex;flex-direction:column;gap:5px;padding:0 7px 18px;margin-bottom:18px;border-bottom:1px solid #31505a}.sidebar-user strong{font-size:17px;color:white}.sidebar-user span{font-size:12px;color:#9fb9be}.header-date{font-size:13px;color:#788995}.settings-logout{max-width:920px;margin-top:18px;padding:20px 22px;border:1px solid #dce5ea;border-radius:12px;background:white;display:flex;align-items:center;justify-content:space-between;gap:20px}.settings-logout strong,.settings-logout small{display:block}.settings-logout small{color:#788995;margin-top:6px}.management-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px 28px;margin-bottom:18px;border-radius:14px;background:linear-gradient(135deg,#153941,#26715f);color:white}.management-welcome h2{margin:8px 0;font-size:23px}.management-welcome p{margin:0;color:#c7ded9}.management-welcome .eyebrow{color:#8bd1c1}.management-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.management-metric{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:145px;padding:21px;background:white;color:#536675;border:1px solid #dfe7ec;border-radius:12px;text-align:left;overflow:hidden}.management-metric:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#2b8b70}.management-metric.orders:before{background:#4d78b8}.management-metric.focus:before{background:#d99a18}.management-metric.messages:before{background:#8b62ae}.management-metric strong{font-size:27px;color:#172f41;margin:13px 0 10px}.management-metric small{color:#82909a;line-height:1.5}.management-columns{display:grid;grid-template-columns:1.15fr 1fr;gap:18px}.management-focus-list,.management-feed{display:grid;gap:9px}.management-focus-item,.feed-item{display:grid;align-items:center;width:100%;padding:13px 12px;background:#f8fafb;color:#263d4d;border:1px solid #e6ecef;text-align:left}.management-focus-item{grid-template-columns:auto 1fr auto;gap:12px}.management-focus-item strong,.management-focus-item small,.feed-item strong,.feed-item small,.feed-item span,.feed-item time{display:block}.management-focus-item small,.feed-item small,.feed-item span,.feed-item time{margin-top:5px;color:#7a8a95;font-size:12px}.focus-priority{background:#e7f1ee;color:#176858;padding:5px 8px;border-radius:15px;font-size:11px}.overdue-item{border-left:3px solid #c94a42}.feed-item{gap:3px}.feed-item.urgent{border-left:3px solid #c94a42;background:#fff8f7}.management-focus-item time{color:#788995;font-size:12px}@media(max-width:1100px){.management-metrics{grid-template-columns:repeat(2,1fr)}.management-columns{grid-template-columns:1fr}}@media(max-width:650px){.management-welcome{align-items:flex-start;flex-direction:column}.management-metrics{grid-template-columns:1fr}.settings-logout{align-items:flex-start;flex-direction:column}}

/* 清晰的纵向组织架构与员工头像 */
.user-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;display:grid;place-items:center;flex:none;background:#dcefe8;color:#176858;font-weight:700}.avatar-fallback{font-size:16px}.sidebar-user{display:grid;grid-template-columns:46px 1fr;align-items:center;gap:11px;padding:0 7px 18px}.sidebar-user .sidebar-avatar{width:46px;height:46px}.sidebar-user-copy{min-width:0}.sidebar-user-copy strong,.sidebar-user-copy>span{display:block}.sidebar-user-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar-editor{display:flex;align-items:center;gap:18px;padding:14px;margin:12px 0;background:#f7faf9;border:1px solid #dfe8e5;border-radius:10px}.avatar-editor .user-avatar{width:72px;height:72px}.avatar-editor label{margin:0}.avatar-editor input{margin-top:7px}.avatar-editor p{margin:6px 0;font-size:11px}.avatar-editor button{padding:7px 11px;font-size:12px}.department-grid{display:grid;grid-template-columns:1fr;gap:14px}.department-card{display:grid;grid-template-columns:210px 280px minmax(340px,1fr);padding:0;overflow:hidden;min-height:170px}.department-card-head{display:flex;flex-direction:column;padding:22px;border:0;border-right:1px solid #e4eaed;background:#fbfcfd}.department-card-head .secondary{margin-top:auto;align-self:flex-start;padding:7px 11px}.department-card-head p{line-height:1.6}.department-card .org-level{padding:20px;margin:0;border-radius:0}.department-card .org-level.managers{background:#f2f8f6;border-right:1px solid #e0eae7}.department-card .org-level.staff{background:white}.department-card .org-level-title{display:block;margin-bottom:13px}.department-card .org-level-title span{display:block;margin-top:4px}.department-card .org-people{grid-template-columns:1fr}.department-card .staff .org-people{grid-template-columns:repeat(2,minmax(0,1fr))}.department-card .org-connector{display:none}.org-person{grid-template-columns:42px minmax(0,1fr) auto;padding:9px 10px}.org-person .user-avatar{width:40px;height:40px}.ranking-person{display:inline-flex;align-items:center;gap:10px;min-width:170px}.ranking-person .ranking-avatar{width:38px;height:38px}.ranking-person span{display:block}.ranking-person small{display:block;margin-top:3px;color:#788995;font-size:11px}@media(max-width:1150px){.department-card{grid-template-columns:190px 1fr}.department-card .org-level.staff{grid-column:1/-1;border-top:1px solid #e4eaed}.department-card .staff .org-people{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.department-card{display:block}.department-card-head{border-right:0;border-bottom:1px solid #e4eaed}.department-card .org-level.managers{border-right:0}.department-card .staff .org-people{grid-template-columns:1fr}.avatar-editor{align-items:flex-start;flex-direction:column}.department-choice-grid{grid-template-columns:1fr}}

/* 登录页公司品牌 */
.company-identity{width:min(440px,100%);margin:0 0 48px}.company-logo-wrap{position:relative;width:min(175px,100%);height:38px;margin-bottom:11px;overflow:hidden}.company-logo-wrap .logo-filter-defs{position:absolute;width:0;height:0}.company-logo-wrap img{position:absolute;display:block;width:115%;max-width:none;height:auto;left:-7.5%;top:-35%;filter:url(#rddspon-dark-logo)}.company-identity strong,.company-identity>span{display:block}.company-identity strong{font-size:16px;line-height:1.45;letter-spacing:.2px;color:#fff}.company-identity>span{margin-top:6px;font-size:15px;letter-spacing:1px;color:#a9c7c9}.intro .company-identity+.brand{margin-bottom:54px}@media(max-height:820px) and (min-width:801px){.intro{padding-top:7vh;padding-bottom:7vh}.company-identity{margin-bottom:28px}.company-logo-wrap{width:145px;height:32px;margin-bottom:9px}.intro .company-identity+.brand{margin-bottom:28px}.intro h1{font-size:clamp(22px,2.3vw,30px)}}

/* 店铺客服菜单与接入占位页 */
.sidebar-group{display:grid;gap:5px}.sidebar-parent{display:flex;align-items:center;justify-content:space-between;width:100%}.sidebar-parent b{font-size:18px;font-weight:400}.sidebar-submenu{display:grid;gap:4px;padding-left:15px}.sidebar-submenu[hidden]{display:none}.sidebar-submenu button{position:relative;padding:9px 12px 9px 24px;font-size:13px}.sidebar-submenu button:before{content:"";position:absolute;left:10px;top:50%;width:5px;height:5px;border-radius:50%;background:#6f9298;transform:translateY(-50%)}.sidebar-submenu button.active:before{background:#fff}.customer-service-page{max-width:1180px}.service-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}.service-heading h2{font-size:25px;margin:7px 0 6px}.service-heading p{margin:0}.service-status{flex:none;padding:7px 11px;border-radius:18px;background:#fff4cf;color:#80610b;font-size:12px}.service-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.7fr);gap:18px}.service-empty{min-height:340px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.service-empty-icon{display:grid;place-items:center;width:66px;height:66px;border-radius:50%;background:#e8f2ef;font-size:28px;margin-bottom:18px}.service-empty h2{margin-bottom:4px}.service-empty p{max-width:480px}.service-guide{align-self:start}.service-guide ol{padding-left:22px;color:#607181;line-height:1.9}.service-guide li+li{margin-top:8px}@media(max-width:800px){.sidebar-submenu{padding-left:0;grid-template-columns:1fr 1fr}.service-layout{grid-template-columns:1fr}.service-heading{align-items:flex-start;flex-direction:column}}

/* 多平台客服工作台 */
.customer-service-access{margin:18px 0 0;padding:15px;border:1px solid #d6dfe7;border-radius:9px}.customer-service-access legend{padding:0 7px;color:#526475}.customer-service-access p{margin:0 0 13px;font-size:12px}.customer-service-access>strong{display:block;margin:13px 0 8px;font-size:13px}.customer-service-access.is-admin{background:#f5faf8}.customer-service-access input:disabled+span{opacity:.68}.service-capabilities{display:flex;gap:8px}.service-capabilities span,.service-sync-state{padding:6px 10px;border-radius:16px;background:#e7f2ed;color:#176858;font-size:11px}.service-platform-tabs{display:flex;gap:10px;margin-bottom:16px;overflow:auto}.service-platform-tabs button{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:10px;min-width:170px;padding:11px 13px;background:white;color:#2a4351;border:1px solid #dce5ea;text-align:left}.service-platform-tabs button.active{border-color:#287563;background:#edf7f4;color:#173f38}.service-platform-tabs button b{display:grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:13px;background:#eef2f4;color:#71828d;font-size:11px}.platform-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;color:white;font-size:11px;font-style:normal;font-weight:700}.platform-mark.ozon{background:#1769e0}.platform-mark.wb{background:linear-gradient(135deg,#9332b2,#db287a)}.platform-mark.aliexpress{background:#e84b2c}.platform-mark.all{background:#315763}.service-filterbar{display:flex;align-items:flex-end;gap:13px;padding:15px 18px;margin-bottom:16px}.service-filterbar label{flex:1;min-width:150px;margin:0;font-size:11px}.service-filterbar select{margin-top:6px}.service-filterbar button{height:42px}.service-workspace{display:grid;grid-template-columns:minmax(320px,.72fr) minmax(480px,1.28fr);gap:16px}.service-conversations,.service-detail{min-height:440px;padding:0;overflow:hidden}.service-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 19px;border-bottom:1px solid #e6ecef}.service-list-head strong,.service-list-head span{display:block}.service-list-head div>span{margin-top:4px;color:#7a8b95;font-size:11px}.service-list-empty,.service-detail-placeholder{height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px;text-align:center}.service-list-empty>span,.service-detail-placeholder>span{display:grid;place-items:center;width:58px;height:58px;margin-bottom:16px;border-radius:50%;background:#edf4f2;font-size:24px}.service-list-empty strong{font-size:16px}.service-list-empty p,.service-detail-placeholder p{max-width:480px;margin:8px 0}.service-detail-placeholder h2{margin:0}.service-detail-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-top:14px}.service-detail-tags span{padding:5px 9px;border-radius:13px;background:#eef2f4;color:#748590;font-size:11px}.integration-page{max-width:1050px}.integration-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.integration-card{background:white;border:1px solid #dce5ea;border-radius:12px;padding:19px}.integration-card-head{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:11px}.integration-card-head h2{margin:0 0 4px;font-size:17px}.integration-card-head span{color:#7a8b95;font-size:11px}.integration-card-head b{padding:5px 8px;border-radius:13px;background:#f2eee5;color:#8a691a;font-size:10px}.integration-card dl{margin:18px 0}.integration-card dl div{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #edf1f3}.integration-card dt{color:#7a8b95}.integration-card dd{margin:0;color:#29424f}.integration-card button{width:100%}.integration-note{margin-top:17px}.integration-note p{margin-bottom:0}@media(max-width:950px){.service-workspace{grid-template-columns:1fr}.integration-grid{grid-template-columns:1fr}.service-filterbar{flex-wrap:wrap}.service-filterbar label{min-width:220px}}@media(max-width:650px){.service-platform-tabs button{min-width:145px}.service-filterbar label{min-width:100%}.service-filterbar button{width:100%}}
.service-error{margin-bottom:14px;padding:11px 14px;border:1px solid #e8b5af;border-radius:8px;background:#fff5f4;color:#a33b32}.integration-card.is-connected{border-color:#8fc2b5;box-shadow:0 6px 20px #17685812}.integration-card.is-connected .integration-card-head b{background:#e5f3ed;color:#176858}.integration-shop{padding:10px 12px;border-radius:8px;background:#f6f9f8;color:#29424f}.integration-shop small{display:block;margin-top:5px;color:#7a8b95}.service-token-help{padding:10px 12px;border-radius:7px;background:#fff7dc;color:#765a10;font-size:12px;line-height:1.6}.service-chat-list{max-height:500px;overflow:auto}.service-chat-list article{padding:15px 18px;border-bottom:1px solid #e8edef}.service-chat-list article>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.service-chat-list article p{margin:7px 0;color:#526675;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.service-chat-list article small{color:#85939b}
.service-chat-item{display:block;width:100%;padding:15px 18px;border:0;border-bottom:1px solid #e8edef;border-radius:0;background:#fff;color:#243c49;text-align:left}.service-chat-item:hover{background:#f5faf8}.service-chat-item.active{background:#e9f5f1;box-shadow:inset 4px 0 #1b7561}.service-chat-item>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.service-chat-item p{margin:7px 0;color:#526675;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.service-chat-item small{color:#85939b}.service-detail{display:flex;flex-direction:column}.service-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 21px;border-bottom:1px solid #e6ecef}.service-detail-head h2{margin:5px 0 3px;font-size:20px}.service-detail-head small{color:#81909a}.platform-label{color:#176858;font-size:12px}.service-message-list{flex:1;min-height:270px;max-height:420px;padding:18px;overflow:auto;background:#f7faf9}.service-message{width:fit-content;max-width:78%;margin:0 0 13px;padding:11px 13px;border-radius:12px;background:#fff;box-shadow:0 1px 4px #173b3412}.service-message.seller{margin-left:auto;background:#dff2eb}.service-message strong{display:block;margin-bottom:5px;font-size:11px;color:#56706c}.service-message p{margin:0;white-space:pre-wrap;word-break:break-word;color:#223d48}.service-message small{display:block;margin-top:6px;color:#84928f;font-size:10px}.service-attachments{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.service-attachments span{padding:4px 7px;border-radius:11px;background:#edf2f1;color:#56706c;font-size:10px}.service-events-empty{padding:50px 20px;text-align:center;color:#71838d}.service-reply{padding:15px 18px;border-top:1px solid #e4eaed;background:#fff}.service-reply label{margin:0}.service-reply textarea{min-height:82px;resize:vertical}.service-reply>div{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:10px}.service-readonly{padding:14px 18px;text-align:center;color:#71838d;border-top:1px solid #e4eaed}.service-loading{border:3px solid #dce9e5;border-top-color:#1b7561;animation:service-spin .8s linear infinite}@keyframes service-spin{to{transform:rotate(360deg)}}
.service-history-status{padding:6px 10px;border:0;border-radius:16px;background:#e6f2ed;color:#176858;font-size:11px;white-space:nowrap}.service-history-status.syncing{background:#fff3cf;color:#82630d;cursor:default}.service-history-status.needs-more{background:#e7eef5;color:#315b79;cursor:pointer}
.sidebar-parent em{display:inline-grid;min-width:20px;height:20px;margin-left:7px;padding:0 6px;place-items:center;border-radius:10px;background:#ff6b57;color:#fff;font-size:11px;font-style:normal}.sidebar-parent em:empty{display:none}#customer-service-alert{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:14px 18px;border:1px solid #f0d69a;border-radius:10px;background:#fff7df;color:#49360d}#customer-service-alert[hidden]{display:none}#customer-service-alert div{display:flex;flex-direction:column;gap:3px}#customer-service-alert span{color:#7e6a3b;font-size:12px}#customer-service-alert button{flex:0 0 auto}.service-window-note{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:11px 16px;border-radius:9px;background:#edf6f3;color:#345b51}.service-window-note strong{color:#13705e}.service-history-warning{margin:12px 18px 0;padding:10px 12px;border-radius:8px;background:#fff5da;color:#785d1a;font-size:12px}
.service-rating{color:#d88a08;font-weight:700;white-space:nowrap}.service-feedback-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.service-feedback-detail{flex:1;min-height:270px;max-height:420px;padding:20px;overflow:auto;background:#f7faf9}.service-feedback-meta{display:grid;grid-template-columns:1fr auto;gap:5px 16px;padding:15px 16px;margin-bottom:14px;border-radius:10px;background:#fff;border:1px solid #e4eaed}.service-feedback-meta small{grid-column:1/-1;color:#81909a}.service-feedback-detail section{padding:14px 16px;margin-bottom:10px;border-radius:10px;background:#fff;border:1px solid #e4eaed}.service-feedback-detail section strong{display:block;margin-bottom:7px;color:#315763}.service-feedback-detail section p{margin:0;white-space:pre-wrap;word-break:break-word;color:#29424f}
.service-message-copy{display:flex;align-items:flex-end;gap:10px}.service-message-copy p{flex:1}.service-translate-button{flex:0 0 auto;padding:5px 9px;border:1px solid #b9d8cf;border-radius:8px;background:#eef8f5;color:#176858;font-size:12px}.service-translate-button:hover{background:#dff2eb}.service-translate-button:disabled{opacity:.65}.service-copy-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}.service-copy-head strong{margin:0!important}.service-translation-result{margin-top:9px;padding:9px 11px;border-left:3px solid #1b7561;border-radius:6px;background:#edf7f3;color:#244c43;white-space:pre-wrap;word-break:break-word}.service-reply>.service-russian-preview{display:block;margin-top:11px;padding:12px 14px;border:1px solid #9fcfc1;border-radius:10px;background:#eff9f5}.service-russian-preview>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.service-russian-preview strong{color:#176858}.service-russian-preview p{margin:8px 0;color:#173f36;white-space:pre-wrap;word-break:break-word}.service-russian-preview small{color:#6a817c}.service-russian-preview[hidden],.service-translation-result[hidden]{display:none!important}.link-button{padding:0;border:0;background:transparent;color:#176858;text-decoration:underline}.service-ai-reply>div:last-child{align-items:flex-end}.service-ai-reply>div:last-child .muted{max-width:70%}
.integration-page-wide{max-width:1180px}.integration-titlebar{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}.integration-titlebar .settings-intro{margin:0}.integration-titlebar button{flex:none}.integration-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.integration-summary article{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;padding:17px 18px;border:1px solid #dce5ea;border-radius:12px;background:#fff}.integration-summary strong,.integration-summary span{display:block}.integration-summary span{margin-top:4px;color:#7a8b95;font-size:11px}.integration-summary b{padding:5px 8px;border-radius:13px;background:#f2eee5;color:#8a691a;font-size:10px;white-space:nowrap}.integration-summary b.ready{background:#e5f3ed;color:#176858}.integration-store-panel{padding:0;overflow:hidden}.integration-store-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px;border-bottom:1px solid #e5ebee}.integration-store-head h2{margin:0 0 5px}.integration-store-head p{margin:0;color:#71828d}.integration-store-head>span{padding:6px 11px;border-radius:16px;background:#edf4f2;color:#176858;white-space:nowrap}.integration-store-list{display:grid}.integration-store-row{display:grid;grid-template-columns:minmax(230px,1.1fr) minmax(220px,1fr) minmax(220px,1fr) 110px;align-items:center;gap:18px;padding:17px 22px;border-bottom:1px solid #e8edef}.integration-store-row:last-child{border-bottom:0}.integration-store-name{display:flex;align-items:center;gap:12px;min-width:0}.integration-store-name strong,.integration-store-name span,.integration-store-status b,.integration-store-status span{display:block}.integration-store-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.integration-store-name span,.integration-store-status span{margin-top:4px;color:#7c8c96;font-size:11px}.integration-store-capabilities{display:flex;flex-wrap:wrap;gap:7px}.integration-store-capabilities span{padding:5px 8px;border-radius:14px;background:#edf5f2;color:#176858;font-size:11px}.integration-store-status b{color:#176858}.integration-store-empty{display:flex;min-height:230px;align-items:center;justify-content:center;flex-direction:column;text-align:center}.integration-store-empty p{margin:7px 0 16px;color:#71828d}@media(max-width:1000px){.integration-summary{grid-template-columns:1fr}.integration-store-row{grid-template-columns:1fr 1fr}.integration-store-row>button{width:auto}}@media(max-width:650px){.integration-titlebar{flex-direction:column}.integration-titlebar button{width:100%}.integration-store-row{grid-template-columns:1fr}.integration-store-capabilities{margin-left:48px}}
.integration-add-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px}@media(max-width:650px){.integration-add-actions{width:100%;display:grid;grid-template-columns:1fr}.integration-add-actions button{width:100%}}
#add-ozon-store{border-color:#1769e0;background:#1769e0;color:#fff;box-shadow:0 5px 14px #1769e02b}#add-ozon-store:hover{border-color:#0f58c5;background:#0f58c5}#add-ozon-store:active{background:#0b4cae;transform:translateY(1px)}#add-wb-store{border-color:#b52691;background:linear-gradient(135deg,#9332b2,#db287a);color:#fff;box-shadow:0 5px 14px #b5269130}#add-wb-store:hover{border-color:#a82086;background:linear-gradient(135deg,#81299e,#c8206c)}#add-wb-store:active{background:linear-gradient(135deg,#71238b,#b31c61);transform:translateY(1px)}

/* Compact shared page header across all menus. */
.shell main{padding-top:18px}
.shell main>header>div:first-child>.eyebrow,.shell main>header>div:first-child>.muted{display:none}
.shell main>header{padding-bottom:14px;margin-bottom:18px}
.shell main>header h1{margin:0;line-height:1.3}
.shell main>header .settings-back{margin-bottom:9px}
.shell main>header .operations-heading{display:flex;align-items:center;gap:18px;min-width:0}
.shell main>header .operations-heading #operations-refresh{white-space:nowrap}
.integration-add-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.shop-setup-month{margin:0;min-width:170px;font-size:12px}.shop-setup-month input{margin-top:5px}
.shop-setup-list{display:grid}.shop-setup-row{display:grid;grid-template-columns:minmax(190px,1.1fr) minmax(150px,.8fr) minmax(150px,.8fr) minmax(230px,1.5fr);align-items:center;gap:14px;padding:15px 22px;border-bottom:1px solid #e8edef}.shop-setup-row:last-child{border-bottom:0}
.shop-setup-state strong,.shop-setup-owner strong,.shop-setup-state span,.shop-setup-owner span{display:block}.shop-setup-state strong,.shop-setup-owner strong{font-size:13px}.shop-setup-state span,.shop-setup-owner span{margin-top:4px;color:#7c8c96;font-size:11px}
.shop-setup-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px}.shop-setup-actions button{padding:7px 10px;font-size:12px;white-space:nowrap}
.integration-guide{margin:16px 2px;color:#607181}.integration-guide summary{cursor:pointer}.integration-guide p{margin:8px 0 0;font-size:12px}
.operator-performance-panel{padding:22px}.operator-performance-filters{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}.operator-performance-filters label{min-width:210px;max-width:310px;flex:1;margin:0}.operator-performance-filters input,.operator-performance-filters select{margin-top:6px}.operator-performance-filters button{height:42px}
.operator-performance-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px}.operator-performance-heading h2{margin:0}.operator-performance-heading p{margin:5px 0 0}.operator-performance-heading>span{padding:7px 11px;border-radius:16px;background:#edf4f2;color:#176858;white-space:nowrap}.operator-performance-cards{margin:16px 0}.operator-performance-cards .card{padding:18px}.operator-performance-cards .card small{color:#71828d}.operator-performance-note{margin:14px 0 0}
.operator-performance-panel{position:relative}.operator-performance-filters{max-width:calc(100% - 270px)}.operator-performance-heading{min-height:145px;padding-right:270px;align-items:flex-start}.operator-performance-profile{position:absolute;top:22px;right:22px;width:240px;min-height:215px;padding:16px;border:1px solid #dbe6e5;border-radius:14px;background:#f7fbfa;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center}.operator-performance-profile .operator-performance-portrait{width:128px;height:128px;font-size:44px}.operator-performance-profile strong{font-size:16px;color:#1b2f43}.operator-performance-profile small{color:#71828d}.operator-performance-profile img{object-fit:cover}@media(max-width:1000px){.operator-performance-filters{max-width:none}.operator-performance-profile{position:static;width:100%;min-height:0;margin-top:18px;flex-direction:row;justify-content:flex-start;text-align:left}.operator-performance-profile .operator-performance-portrait{width:66px;height:66px;font-size:26px}.operator-performance-heading{min-height:0;padding-right:0}}@media(max-width:620px){.operator-performance-heading{display:block}.operator-performance-heading>span{display:inline-block;margin-top:10px}}
.operator-performance-heading{min-height:185px}.operator-performance-profile .operator-performance-portrait{width:185px;height:185px}.operator-performance-profile-label{display:flex;align-items:baseline;justify-content:center;gap:6px;max-width:100%;white-space:nowrap}.operator-performance-profile-label small{font-size:14px}@media(max-width:1000px){.operator-performance-profile .operator-performance-portrait{width:66px;height:66px}.operator-performance-heading{min-height:0}}
.operator-performance-filters{max-width:calc(100% - 235px)}.operator-performance-heading{min-height:120px;padding-right:235px}.operator-performance-profile{width:210px;min-height:0;padding:14px}.operator-performance-profile .operator-performance-portrait{width:140px;height:140px;font-size:40px}.operator-performance-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.operator-performance-cards .card{min-width:0}.operator-performance-cards .card strong{font-size:clamp(21px,2vw,29px);overflow-wrap:anywhere}@media(max-width:1000px){.operator-performance-filters{max-width:none}.operator-performance-profile{width:100%}.operator-performance-profile .operator-performance-portrait{width:66px;height:66px;font-size:26px}.operator-performance-heading{min-height:0;padding-right:0}.operator-performance-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.operator-performance-cards{grid-template-columns:1fr}}
.operator-performance-heading h2{display:flex;align-items:baseline;gap:4px;flex-wrap:wrap;font-size:20px;line-height:1.3}.operator-performance-name{font-size:30px;font-weight:800;color:#176858;letter-spacing:.5px;white-space:nowrap}.operator-performance-heading-suffix{font-weight:700;color:#1b2f43;white-space:nowrap}
.operator-performance-filters{gap:10px;flex-wrap:nowrap}.operator-performance-filters label{flex:0 1 180px;min-width:145px;max-width:180px}.operator-performance-filters button{flex:none;padding:10px 11px;white-space:nowrap}@media(max-width:1200px){.operator-performance-filters{flex-wrap:wrap}}@media(max-width:1000px){.operator-performance-filters{max-width:none}}
.operator-performance-rank-line{display:flex;align-items:center;gap:12px;min-height:58px}.operator-performance-rank-line strong{margin:12px 0;white-space:nowrap}.operator-performance-gold-medal{display:inline-flex;align-items:center;justify-content:center;flex:none;width:54px;height:54px;border:1px solid #f0cf77;border-radius:14px;background:linear-gradient(145deg,#fff9e8,#ffefb6);font-size:38px;line-height:1;box-shadow:0 3px 9px #c88b1e22}@media(max-width:1200px){.operator-performance-rank-line{gap:7px}.operator-performance-gold-medal{width:46px;height:46px;font-size:33px}}
@media(max-width:1100px){.shop-setup-row{grid-template-columns:1fr 1fr}.shop-setup-actions{justify-content:flex-start}}
@media(max-width:650px){.shop-setup-row{grid-template-columns:1fr}.integration-store-head{align-items:flex-start;flex-direction:column}.integration-add-actions{width:100%;justify-content:flex-start}}
@media(max-width:800px){.shell main>header .operations-heading{flex-wrap:wrap;gap:8px}}
@media(max-width:800px){.shell main{padding-top:16px}.shell main>header{padding-bottom:12px;margin-bottom:16px}}

/* Management home: three-line Beijing clock in the welcome banner. */
.management-welcome{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px}
.management-welcome h2{margin:0 0 8px}
.management-welcome>div:first-child h2,.management-welcome>div:first-child p{white-space:nowrap}
.management-clock{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;padding:12px 18px;border:1px solid #ffffff66;border-radius:10px;background:#ffffff12;color:#fff;text-align:center;font-variant-numeric:tabular-nums}
.management-welcome>.management-clock{justify-self:end;width:280px}
.management-clock-time{font-size:29px;line-height:1.15;letter-spacing:2px;white-space:nowrap}
.management-clock-date{font-size:14px;letter-spacing:1px}
.management-clock-weekday{font-size:13px;color:#bce2d8}
@media(max-width:1200px){.management-welcome{grid-template-columns:1fr}.management-welcome>div:first-child h2,.management-welcome>div:first-child p{white-space:normal}}
@media(max-width:650px){.management-welcome>.management-clock{justify-self:stretch;width:100%}}

/* Personal memo replaces the two right-side dashboard blocks. */
.management-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,1fr);align-items:stretch;gap:18px}
.management-dashboard-left{display:flex;flex-direction:column;gap:18px;min-width:0}
.management-dashboard-left .management-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}
.management-dashboard-left>.panel{flex:1;min-width:0}
.management-memo{display:flex;flex-direction:column;min-width:0;height:550px;padding:22px 24px;overflow:hidden}
.memo-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}
.memo-heading h2{margin:0 0 4px}.memo-heading p{margin:0;font-size:12px;line-height:1.5}
.memo-count{flex:none;padding:6px 10px;border-radius:18px;background:#e8f2ef;color:#176858;font-size:11px}
.memo-add-form{padding:14px;border:1px solid #e0e9e7;border-radius:10px;background:#f8fbfa}
.memo-add-form>label,.memo-edit-form label{margin:0 0 7px;font-size:12px;font-weight:600;color:#315866}
.memo-add-form textarea,.memo-edit-form textarea{display:block;min-height:55px;resize:vertical;background:#fff}
.memo-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:10px}
.memo-form-actions label{margin:0 auto 0 0;font-size:12px;color:#6c7e87}
.memo-form-actions select{width:auto;min-width:86px;padding:8px 9px}
.memo-form-actions button{padding:9px 13px;white-space:nowrap}
.memo-list{display:grid;align-content:start;flex:1;min-height:0;gap:7px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;margin-top:12px;padding-right:3px}
.memo-item{display:grid;grid-template-columns:24px minmax(0,1fr);gap:7px;padding:9px 10px;border:1px solid #e1e9ed;border-radius:9px;background:white}
.memo-number{padding-top:2px;color:#8a9ba3;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}
.memo-item-body{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 8px;min-width:0}.memo-item-meta{display:flex;grid-column:1;grid-row:1;align-items:center;gap:7px}
.memo-priority{padding:3px 8px;border-radius:13px;font-size:11px}.memo-priority.urgent{background:#fce8e4;color:#b84337}.memo-priority.high{background:#fff0d3;color:#a16a0a}.memo-priority.normal{background:#e8f2ef;color:#216c58}
.memo-carryover{color:#88969e;font-size:11px}.memo-item p{grid-column:1;grid-row:2;min-width:0;margin:0;line-height:1.4;color:#263f4b;overflow-wrap:anywhere;white-space:pre-wrap}
.memo-item-actions{display:flex;grid-column:2;grid-row:1 / span 2;align-self:center;justify-content:flex-end;gap:6px}.memo-item-actions button,.memo-done-row button{padding:5px 9px;font-size:11px}
.memo-edit-form{grid-column:1 / -1}.memo-edit-form textarea{width:100%}.memo-edit-form .memo-form-actions{flex-wrap:wrap}
.memo-empty{display:grid;place-items:center;min-height:105px;padding:14px;color:#80909a;text-align:center;font-size:12px;border:1px dashed #d7e3e2;border-radius:9px}
.memo-completed{margin-top:auto;padding-top:12px;border-top:1px solid #e6ecef;color:#6d7f88;font-size:12px}.memo-completed[hidden]{display:none}.memo-completed summary{cursor:pointer}.memo-completed-list{display:grid;gap:8px;max-height:150px;overflow:auto;margin-top:10px}.memo-done-row{display:flex;align-items:center;justify-content:space-between;gap:9px}.memo-done-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.memo-done-row span{flex:1;min-width:0}.memo-done-actions{display:flex;flex:none;align-items:center;gap:6px}
@media(max-width:1150px){.management-dashboard-grid{grid-template-columns:1fr}}
@media(max-width:650px){.management-dashboard-left .management-metrics{grid-template-columns:1fr}.management-memo{height:500px;padding:18px}.memo-form-actions{flex-wrap:wrap}.memo-item-body{grid-template-columns:1fr}.memo-item-actions{grid-column:1;grid-row:3}}

/* Keep the desktop shell fixed; long or wide pages scroll inside their content area. */
html,body,#app{height:100%;overflow:hidden}
.auth{height:100%;min-height:0;overflow:auto}
.shell{height:100%;min-height:0;grid-template-columns:228px minmax(0,1fr);overflow:hidden}
.shell aside{height:100%;min-height:0;overflow-y:auto;overflow-x:hidden}
.shell main{display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;max-width:none;overflow:hidden}
.shell main>header,.shell main>#message-ticker,.shell main>#customer-service-alert{flex:none}
.shell main>#content{flex:1;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain}
.table-wrap{max-width:100%;overflow:auto}

/* The management home fits the shell; only its task and memo lists scroll. */
.management-home-view{display:flex;flex-direction:column;overflow:hidden!important}
.management-home-view .management-welcome{flex:none}
.management-home-view .management-dashboard-grid{flex:1;min-height:0;overflow:hidden}
.management-home-view .management-dashboard-left{min-height:0}
.management-home-view .management-dashboard-left>.panel{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.management-home-view .management-focus-list{min-height:0;overflow:auto;overscroll-behavior:contain}
.management-home-view .management-memo{height:auto;min-height:0}
.management-home-view .management-focus-list{flex:0 1 auto;max-height:40%}
.management-inbox{display:flex;flex:1;flex-direction:column;min-height:155px;margin-top:16px;padding-top:15px;border-top:1px solid #e6ecef}
.management-inbox-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.management-inbox-heading h3{margin:0;font-size:17px;color:#1b2f43}.management-inbox-heading p{margin:2px 0 0;font-size:11px;line-height:1.4}.management-inbox-heading button{flex:none;padding:7px 10px;font-size:11px}
.management-inbox-list{display:grid;align-content:start;gap:8px;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
.management-inbox-item{padding:10px 12px;border:1px solid #e1e9ed;border-left:3px solid #4a9a84;border-radius:8px;background:#fbfdfc}.management-inbox-item.urgent{border-left-color:#cf493e;background:#fffaf8}
.management-inbox-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.management-inbox-meta strong{font-size:12px}.management-inbox-meta time{flex:none;color:#80909a;font-size:11px}
.management-inbox-item p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;margin:5px 0 7px;color:#29424f;font-size:12px;line-height:1.5}.management-inbox-item button{display:block;margin-left:auto;padding:6px 9px;font-size:11px}.management-inbox-item button:disabled{opacity:1;cursor:default}
.management-inbox-empty{display:grid;place-items:center;min-height:95px;padding:14px;color:#80909a;text-align:center;font-size:12px;border:1px dashed #d7e3e2;border-radius:9px}
.wb-cost-rate-row{display:grid;grid-template-columns:minmax(0,1fr) 190px;align-items:end;gap:12px}.wb-cost-rate-row>label{margin:0}.wb-cost-rate-row>div{display:flex;min-height:62px;flex-direction:column;justify-content:center;padding:8px 14px;border:1px solid #dce6ea;border-radius:8px;background:#f7faf9;color:#6d7f88;font-size:12px}.wb-cost-rate-row strong{margin-top:3px;color:#173044;font-size:18px}@media(max-width:650px){.wb-cost-rate-row{grid-template-columns:1fr}}
.wb-cost-status{display:inline-block;cursor:help}
@media(max-width:1150px),(max-height:700px){.management-home-view{overflow:auto!important}.management-home-view .management-dashboard-grid{flex:none;min-height:auto;overflow:visible}.management-home-view .management-dashboard-left>.panel{overflow:visible}.management-home-view .management-focus-list{overflow:visible}.management-home-view .management-memo{height:500px}}
@media(max-width:800px){.shell{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.shell aside{height:auto;max-height:28vh}.shell main{height:auto}}

/* Task workbench: risk first, then ownership and progress. */
.task-page-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.task-page-toolbar h2{margin:0 0 5px;font-size:22px}.task-page-toolbar p,.task-section-title p{margin:0;color:#788995;font-size:12px}
.task-metric{display:flex;min-height:118px;flex-direction:column;align-items:flex-start;padding:19px 21px;border:1px solid #dfe7ec;border-radius:12px;background:#fff;color:#314958;text-align:left}.task-metric:hover{filter:none;border-color:#8cbcaf;box-shadow:0 5px 18px #173b4310}.task-metric strong{margin:8px 0 5px;color:#172f43;font-size:30px}.task-metric small{color:#82919a}.task-metric.risk{border-color:#efc4be;background:#fffafa}.task-metric.risk strong,.task-metric.risk small{color:#b14032}
.task-focus{margin-bottom:22px;padding:21px 22px;border:1px solid #dfe7ec;border-radius:12px;background:#fff}.task-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:15px}.task-section-title h2{margin:0 0 4px}.task-section-title>span{padding:5px 10px;border-radius:14px;background:#edf4f2;color:#176858;font-size:11px}.task-focus-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.task-focus-item{display:grid;grid-template-columns:1fr auto;gap:7px 10px;min-width:0;padding:14px;border:1px solid #e2e9ed;border-radius:9px;background:#f9fbfc;color:#263f4d;text-align:left}.task-focus-item:hover{filter:none;border-color:#92bbb0;background:#f5faf8}.task-focus-item>strong{grid-column:1/-1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-focus-item>small{grid-column:1/-1;overflow:hidden;color:#7a8b95;text-overflow:ellipsis;white-space:nowrap}.task-focus-item>b{font-size:11px;color:#536875}
.task-priority{display:inline-flex;width:max-content;padding:4px 8px;border-radius:13px;background:#edf1f3;color:#60717c;font-size:11px;font-weight:600}.task-priority.high{background:#fff1d7;color:#9c690f}.task-priority.urgent{background:#fce8e5;color:#b33f34}.task-list-panel{padding:22px}.task-filters{display:grid;grid-template-columns:repeat(4,minmax(135px,1fr)) minmax(220px,1.5fr);gap:12px;margin-bottom:14px}.task-filters label{min-width:0;margin:0;font-size:12px}.task-filters input,.task-filters select{margin-top:6px}
.task-owner-load{display:flex;align-items:center;gap:7px;overflow:auto;margin:0 0 18px;padding:10px 12px;border-radius:8px;background:#f6f9fa;white-space:nowrap}.task-owner-load>span{color:#71838e;font-size:11px}.task-owner-chip{padding:6px 9px;border:1px solid #dce6e8;border-radius:15px;background:#fff;color:#385462;font-size:11px}.task-owner-chip.has-risk{border-color:#efc7c0;color:#ad4137}
.task-table .task-title{min-width:220px}.task-title strong,.task-title span,.task-title small,.task-due,.task-due+small{display:block}.task-title span,.task-title small,.task-owner small,.task-due+small{margin-top:4px;color:#7c8d97;font-size:11px}.task-owner{display:flex;align-items:center;gap:9px}.task-owner>b{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:50%;background:#dcefe8;color:#176858}.task-owner span>strong,.task-owner span>small{display:block}.task-progress{width:90px;height:5px;margin:9px 0 4px;overflow:hidden;border-radius:5px;background:#e9eff1}.task-progress i{display:block;height:100%;border-radius:5px;background:#2a8b70}.task-due{font-size:12px;color:#294451}.task-table td{vertical-align:middle}
@media(max-width:1150px){.task-focus-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.task-filters{grid-template-columns:repeat(3,minmax(145px,1fr))}}@media(max-width:800px){.task-page-toolbar{flex-direction:column}.task-page-toolbar button{width:100%}.task-focus-grid,.task-filters{grid-template-columns:1fr}.task-filters label{width:100%}.task-list-panel{padding:16px}}

.task-urge-note{margin:12px 0 4px;padding:12px 14px;border:1px solid #efd49a;border-radius:8px;background:#fff8df;color:#765711;line-height:1.7}.urge-button{background:#d58b18}.task-actions .urge-action{background:#fff0cf;color:#9b6207}

/* Live sales cockpit. */
.sales-live-view{display:flex;min-height:0;flex-direction:column;overflow:hidden!important;background:#071b3b}.sales-view-tabs{display:flex;gap:8px;flex:none;padding:8px 10px;background:#0a2449;border-bottom:1px solid #12b9ee66}.sales-view-tabs button{padding:7px 14px;border:1px solid #19c8ef66;background:#0d6684;color:#e9fbff}.sales-view-tabs button.secondary{background:#102e55;color:#8bb7d2;border-color:#265379}.sales-live-controls{display:flex;gap:10px;position:absolute;z-index:3;top:9px;left:205px}.sales-live-controls label{display:flex;align-items:center;gap:7px;margin:0;color:#8fc3da;font-size:11px}.sales-live-controls select,.sales-live-controls input{width:180px;height:34px;padding:6px 10px;border-color:#23628b;background:#0c315b;color:#dff8ff}.sales-live-controls label:first-child select{width:230px}.sales-live-view>#sales-data{flex:1;min-height:0;overflow:auto;background:#071b3b}.sales-live-screen{position:relative;min-width:1040px;min-height:100%;padding:16px;color:#dff8ff;background:radial-gradient(circle at 50% 42%,#0c47757a 0,#071b3b 44%),linear-gradient(135deg,#071a3a,#06162f);overflow:hidden}.sales-live-screen:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.2;background-image:linear-gradient(#1ac8ee18 1px,transparent 1px),linear-gradient(90deg,#1ac8ee18 1px,transparent 1px);background-size:42px 42px}.sales-live-screen>*{position:relative;z-index:1}.sales-live-head{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:12px;padding:0 4px}.sales-live-title{display:flex;align-items:center;gap:13px}.sales-live-title small{display:block;color:#62cde8;font-size:10px;letter-spacing:2px;text-transform:uppercase}.sales-live-title h2{margin:2px 0 0;color:#e5fbff;font-size:24px;letter-spacing:5px;text-shadow:0 0 18px #39dfff88}.sales-live-signal{position:relative;width:13px;height:13px;border-radius:50%;background:#718da5;box-shadow:0 0 0 5px #718da522}.sales-live-signal.is-live{background:#31efb6;box-shadow:0 0 0 5px #31efb622,0 0 18px #31efb6;animation:sales-pulse 1.8s infinite}.sales-live-head-actions{display:flex;align-items:center;gap:12px;color:#9ac8dc;font-size:11px;font-variant-numeric:tabular-nums}.sales-live-status{padding:5px 9px;border:1px solid #1ed2f055;border-radius:14px;background:#0b3459}.sales-live-head-actions button{padding:7px 10px;border:1px solid #20d6f477;background:#0c426a;color:#dffaff}.sales-live-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px}.sales-live-kpis article{position:relative;min-height:92px;padding:14px 18px;border:1px solid #16c5ed88;background:linear-gradient(120deg,#0b3159dd,#092443cc);box-shadow:inset 0 0 24px #0cc9ff0c}.sales-live-kpis article:before,.sales-live-panel:before{content:"";position:absolute;left:-1px;top:-1px;width:32px;height:3px;background:#27e4ff;box-shadow:0 0 10px #27e4ff}.sales-live-kpis span{display:block;color:#93c8dc;font-size:12px}.sales-live-kpis strong{display:block;margin:4px 0 2px;color:#b8f3ff;font-size:29px;line-height:1.1;letter-spacing:1px;text-shadow:0 0 13px #38d8ff66}.sales-live-kpis small{color:#5e92ac;font-size:10px}.sales-live-grid{display:grid;grid-template-columns:minmax(220px,.78fr) minmax(480px,2.15fr) minmax(220px,.78fr);gap:10px;min-height:510px}.sales-live-side,.sales-live-center{display:grid;gap:10px;min-width:0}.sales-live-side{grid-template-rows:1fr 1fr}.sales-live-center{grid-template-rows:minmax(270px,1.2fr) minmax(210px,.8fr)}.sales-live-panel{position:relative;min-width:0;padding:14px;border:1px solid #15c8f077;background:linear-gradient(145deg,#09294bd9,#081f3cd9);box-shadow:inset 0 0 26px #0abbe90a}.sales-live-panel h3{margin:0 0 10px;color:#b9eff9;font-size:13px;font-style:italic;letter-spacing:1px}.sales-live-rank-row{display:grid;grid-template-columns:24px minmax(0,1fr) minmax(28px,.55fr) auto;align-items:center;gap:7px;min-height:27px;color:#91bbcf;font-size:10px}.sales-live-place{display:grid;place-items:center;width:19px;height:19px;border-radius:3px;background:#135d9b;color:#dffaff;font-size:10px}.sales-live-place.p1{background:linear-gradient(145deg,#ffc739,#a56b00);color:#332000}.sales-live-place.p2{background:linear-gradient(145deg,#dceaff,#708ba5);color:#203448}.sales-live-place.p3{background:linear-gradient(145deg,#ffad69,#9d562e);color:#30170a}.sales-live-rank-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sales-live-rank-row>i{height:3px;overflow:hidden;border-radius:3px;background:#173c61}.sales-live-rank-row>i em{display:block;height:100%;background:linear-gradient(90deg,#175ce2,#24dfff);box-shadow:0 0 6px #24dfff}.sales-live-rank-row>strong{color:#dff8ff;font-size:10px;font-weight:600}.sales-live-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.sales-live-panel-head h3{margin-bottom:2px}.sales-live-panel-head small{color:#5f91aa;font-size:9px}.sales-live-panel-head>span{padding:3px 7px;border:1px solid #2ce4ff66;border-radius:10px;color:#39e7ff;font-size:9px;letter-spacing:1px}.sales-chart-live{height:calc(100% - 38px);min-height:220px}.sales-chart-live line{stroke:#1d5d84}.sales-chart-live text{fill:#6594ab;font-size:10px}.sales-chart-live circle{fill:#2ce7ff;filter:drop-shadow(0 0 4px #2ce7ff)}.sales-live-share{display:grid;grid-template-columns:1fr 1.2fr;align-items:center;overflow:hidden}.sales-live-share>div:last-child{position:relative;z-index:2}.sales-radar{position:relative;width:190px;height:190px;margin:auto;border:1px solid #24cced55;border-radius:50%;background:repeating-radial-gradient(circle,#1bd0ed18 0 1px,transparent 2px 31px),conic-gradient(from 25deg,transparent,#1edcf32e,transparent 28%);animation:sales-radar 8s linear infinite}.sales-radar:before,.sales-radar:after{content:"";position:absolute;background:#21d8ef44}.sales-radar:before{left:50%;top:0;width:1px;height:100%}.sales-radar:after{left:0;top:50%;width:100%;height:1px}.sales-radar i{position:absolute;width:7px;height:7px;border-radius:50%;background:#3be9ff;box-shadow:0 0 12px #3be9ff}.sales-radar i:nth-child(1){left:28%;top:35%}.sales-radar i:nth-child(2){right:24%;top:28%}.sales-radar i:nth-child(3){left:57%;bottom:23%}.sales-share-wrap{display:flex;align-items:center;gap:20px}.sales-share-donut{display:grid;place-items:center;width:118px;height:118px;flex:none;border-radius:50%;box-shadow:0 0 24px #1acff944}.sales-share-donut:before{content:"";grid-area:1/1;width:74px;height:74px;border-radius:50%;background:#092544;box-shadow:inset 0 0 14px #0fe5ff33}.sales-share-donut span{grid-area:1/1;z-index:1;color:#7cb5ca;font-size:9px;text-align:center}.sales-share-donut b{display:block;color:#dffaff;font-size:18px}.sales-share-legend{display:grid;gap:7px;min-width:0}.sales-share-legend span{display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:6px;color:#8ab6c9;font-size:9px}.sales-share-legend i{width:7px;height:7px;border-radius:50%}.sales-share-legend b{color:#dffaff}.sales-live-feed{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;margin-top:10px;padding:10px 14px;border:1px solid #17c6ed77;background:#092644d9}.sales-live-feed>div:first-child strong,.sales-live-feed>div:first-child small{display:block}.sales-live-feed>div:first-child small{margin-top:3px;color:#5f91aa;font-size:9px}.sales-activity-track{display:flex;gap:8px;overflow:hidden}.sales-activity-item{display:grid;grid-template-columns:auto auto;gap:2px 9px;min-width:165px;padding:7px 10px;border-left:2px solid #22d9f6;background:#0d3153;color:#79a8bc;font-size:9px}.sales-activity-item time{grid-column:1/-1;color:#42dff8}.sales-activity-item b{color:#dffaff}.sales-live-feed>button{padding:7px 9px;border:1px solid #1dcce966;background:#0d4163;color:#c9f7ff;font-size:10px}.sales-live-empty{display:flex;min-height:70px;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#668fa4;text-align:center}.sales-live-empty strong{color:#b8e4ef;font-size:20px}.sales-live-no-data{display:grid;place-items:center;min-width:0}.sales-live-screen:fullscreen{width:100vw;height:100vh;overflow:auto}.sales-live-screen:fullscreen .sales-live-grid{min-height:calc(100vh - 245px)}
@keyframes sales-pulse{50%{box-shadow:0 0 0 9px #31efb608,0 0 22px #31efb6}}@keyframes sales-radar{to{transform:rotate(360deg)}}
@media(max-width:1250px){.sales-live-screen{min-width:900px}.sales-live-grid{grid-template-columns:minmax(190px,.72fr) minmax(420px,1.8fr) minmax(190px,.72fr)}.sales-live-controls label:first-child select{width:170px}.sales-live-controls select,.sales-live-controls input{width:145px}.sales-radar{width:150px;height:150px}.sales-share-donut{width:96px;height:96px}.sales-share-donut:before{width:60px;height:60px}}
.sales-live-view{position:relative}
.shell main:has(>#content.sales-live-view){padding:0}.shell main:has(>#content.sales-live-view)>header,.shell main:has(>#content.sales-live-view)>#message-ticker,.shell main:has(>#content.sales-live-view)>#customer-service-alert{display:none!important}

/* Weight-based shipping templates and Ozon cross-border cost setup. */
.shipping-template-list{display:grid;gap:14px;margin-top:20px}.shipping-template-card{display:grid;grid-template-columns:minmax(180px,.55fr) minmax(420px,1.5fr) auto;align-items:start;gap:22px;padding:20px;border:1px solid #dbe5e9;border-radius:12px;background:#fff}.shipping-template-card>div:first-child strong,.shipping-template-card>div:first-child small{display:block}.shipping-template-card>div:first-child strong{font-size:18px;color:#173146}.shipping-template-card>div:first-child small{margin-top:6px;color:#7b8d97}.shipping-template-card ul{margin:0;padding-left:20px;color:#4f6674;line-height:1.9}.shipping-template-card .actions{margin:0;white-space:nowrap}.shipping-rule-editor{margin-top:16px;padding:14px;border:1px solid #dce6e9;border-radius:10px;background:#f7fafb}.shipping-rule-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.shipping-rule-row{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr)) auto;align-items:end;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid #e1e8eb}.shipping-rule-row:first-child{margin-top:0;padding-top:0;border-top:0}.shipping-rule-row label{margin:0;font-size:11px}.shipping-rule-row input{margin-top:5px}.shipping-rule-remove{height:42px}.shipping-cost-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.shipping-fee-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 10px;padding:12px 14px;border:1px solid #d8e7e3;border-radius:8px;background:#f1f8f6;color:#58716b}.shipping-fee-preview strong{color:#176858;font-size:18px}.danger{background:#fff0ef;color:#b64236}.danger:hover{background:#b64236;color:#fff}@media(max-width:1100px){.shipping-template-card{grid-template-columns:1fr}.shipping-rule-row{grid-template-columns:repeat(3,minmax(120px,1fr))}.shipping-rule-remove{grid-column:1/-1}.shipping-cost-fields{grid-template-columns:1fr}}@media(max-width:700px){.shipping-rule-row{grid-template-columns:1fr 1fr}}

/* Denser live dashboard: larger rankings and a compact center column. */
.sales-live-grid{grid-template-columns:minmax(300px,1fr) minmax(520px,1.75fr) minmax(300px,1fr);align-items:start;min-height:0}.sales-live-side{grid-template-rows:auto auto;align-content:start}.sales-live-center{grid-template-rows:320px 270px;align-content:start}.sales-live-panel{padding:16px}.sales-live-panel h3{margin-bottom:12px;font-size:16px;letter-spacing:1.2px}.sales-live-rank-row{grid-template-columns:30px minmax(0,1fr) minmax(40px,.55fr) auto;gap:9px;min-height:35px;font-size:13px}.sales-live-place{width:25px;height:25px;font-size:13px}.sales-live-rank-row>i{height:4px}.sales-live-rank-row>strong{font-size:13px}.sales-live-panel-head small{font-size:11px}.sales-chart-live{height:255px;min-height:0}.sales-chart-live text{font-size:12px}.sales-live-share{min-height:270px}.sales-share-legend{gap:10px}.sales-share-legend span{font-size:12px}.sales-live-feed{margin-top:10px}@media(max-width:1350px){.sales-live-grid{grid-template-columns:minmax(245px,.9fr) minmax(460px,1.55fr) minmax(245px,.9fr)}.sales-live-rank-row{grid-template-columns:27px minmax(0,1fr) minmax(32px,.45fr) auto;gap:7px;font-size:12px}.sales-live-place{width:23px;height:23px;font-size:12px}.sales-live-rank-row>strong{font-size:12px}}@media(max-width:1050px){.sales-live-screen{min-width:960px}.sales-live-grid{grid-template-columns:240px 460px 240px}}

/* Let the real-time dashboard fill the whole workspace. */
.shell main.sales-dashboard-main{padding:0!important;background:#071b3b}.shell main.sales-dashboard-main>header,.shell main.sales-dashboard-main>#message-ticker,.shell main.sales-dashboard-main>#customer-service-alert{display:none!important}.shell main.sales-dashboard-main>#content{overflow:hidden;background:#071b3b}.sales-dashboard-main .sales-view-tabs{min-height:54px;padding:7px 12px}.sales-dashboard-main .sales-view-tabs button{padding:8px 15px}.sales-dashboard-main .sales-live-controls{top:8px;left:285px}.sales-dashboard-main .sales-live-screen{padding:10px}.sales-dashboard-main .sales-live-head{margin-bottom:8px}.sales-dashboard-main .sales-live-kpis{gap:7px;margin-bottom:7px}.sales-dashboard-main .sales-live-kpis article{min-height:82px;padding:10px 14px}.sales-dashboard-main .sales-live-kpis strong{margin:3px 0 1px;font-size:27px}.sales-dashboard-main .sales-live-grid,.sales-dashboard-main .sales-live-side,.sales-dashboard-main .sales-live-center{gap:7px}.sales-dashboard-main .sales-live-panel{padding:12px}.sales-dashboard-main .sales-live-feed{margin-top:7px;padding:8px 12px}@media(max-width:1250px){.sales-dashboard-main .sales-live-controls{left:270px}}

/* Online product mirror. */
.product-online-page{max-width:1380px}.product-online-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:18px}.product-online-head h2{margin:5px 0;font-size:28px}.product-online-head p{margin:0;color:#71828d}.product-platform-tabs{display:flex;gap:10px;margin-bottom:12px}.product-platform-tabs button{display:flex;align-items:center;gap:8px}.platform-mark{display:inline-grid;place-items:center;width:31px;height:31px;border-radius:9px;color:#fff;font-size:11px;font-style:normal;font-weight:700}.platform-mark.wb{background:#ba249a}.platform-mark.oz{background:#1871df}.platform-mark.all{background:#365e69}.product-filter-panel{display:grid;grid-template-columns:minmax(260px,1fr) minmax(280px,1.3fr) auto;align-items:end;gap:13px;padding:15px 18px}.product-filter-panel label{margin:0}.product-filter-panel button{height:42px}.product-summary-strip{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.product-summary-strip span{padding:8px 11px;border-radius:8px;background:#edf4f2;color:#61756f;font-size:12px}.product-summary-strip strong{color:#176858;font-size:15px}.product-sync-errors{display:grid;gap:5px;margin:12px 0;padding:12px 14px;border:1px solid #efb5ae;border-radius:9px;background:#fff5f4;color:#b64236;font-size:12px}.product-table-panel{padding:0;overflow:hidden}.online-product-table{min-width:1120px}.online-product-table td{vertical-align:middle}.online-product-table td>small,.online-product-table td>strong{display:block}.online-product-table td>small{margin-top:5px;color:#7d8d97}.product-identity{display:flex;align-items:center;gap:11px;min-width:280px;max-width:480px}.product-identity img,.product-image-empty{width:50px;height:50px;flex:none;border-radius:8px;object-fit:cover;background:#edf3f3}.product-image-empty{display:grid;place-items:center;color:#7f9699;font-size:20px}.product-identity strong,.product-identity small{display:block}.product-identity strong{overflow:hidden;max-width:380px;text-overflow:ellipsis;white-space:nowrap}.product-identity small{margin-top:5px;color:#7c8d97}.product-status{display:inline-block;max-width:170px;padding:5px 8px;border-radius:13px;background:#e8f3ef;color:#176858;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-empty{display:grid;place-items:center;min-height:330px;padding:30px;text-align:center}.product-empty>span{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:#e8f2ef;color:#176858;font-size:30px}.product-empty h2{margin:18px 0 5px}.product-empty p{margin:0;color:#778994}.product-table-panel .orders-pagination{padding:0 18px 18px}@media(max-width:800px){.product-online-head{flex-direction:column}.product-online-head button{width:100%}.product-filter-panel{grid-template-columns:1fr}.product-platform-tabs{overflow:auto}}
.product-online-head>div>small{display:block;margin-top:8px;color:#7b8d97}.product-edit-button{padding:8px 12px;white-space:nowrap}.product-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.product-editor-head h2{margin:5px 0}.product-editor-head p{margin:0;color:#768894}.product-edit-state{flex:none;padding:6px 10px;border-radius:15px;background:#edf3f3;color:#61737a;font-size:11px}.product-edit-state.draft{background:#fff3d8;color:#8c6510}.product-edit-state.submitted{background:#e5f3ed;color:#176858}.product-edit-state.failed{background:#fff0ee;color:#b54135}.product-edit-warning{display:flex;gap:10px;margin:12px 0;padding:12px 14px;border:1px solid #e5d49b;border-radius:8px;background:#fff9e7;color:#725a1b;font-size:12px;line-height:1.6}.product-edit-warning strong{flex:none}.product-edit-error{padding:11px 13px;border-radius:8px;background:#fff0ee;color:#b54135}.product-edit-history{margin-top:22px;border-top:1px solid #e2e8eb;padding-top:16px}.product-edit-history article{display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:9px 0;border-bottom:1px solid #edf1f3}.product-edit-history article small{color:#80909a}.product-edit-history article p{grid-column:1/-1;margin:2px 0;color:#b54135}.product-edit-state.submitting{background:#e9f0f7;color:#34648b}

/* Viewport-level horizontal scrollbar for every overflowing table. */
.workspace-horizontal-scroll{position:fixed;z-index:88;height:17px;overflow-x:auto;overflow-y:hidden;border:1px solid #cbd8dc;border-radius:4px;background:#f5f8f9;box-shadow:0 -2px 9px #173b4320;scrollbar-color:#789098 #e9eff1;scrollbar-width:auto}.workspace-horizontal-scroll[hidden]{display:none}.workspace-horizontal-scroll>div{height:1px}.workspace-horizontal-scroll::-webkit-scrollbar{height:14px}.workspace-horizontal-scroll::-webkit-scrollbar-track{background:#e9eff1}.workspace-horizontal-scroll::-webkit-scrollbar-thumb{border:3px solid #e9eff1;border-radius:8px;background:#789098}.workspace-horizontal-scroll::-webkit-scrollbar-thumb:hover{background:#526b74}

/* Complete platform-product editor. */
.product-editor-dialog{width:min(1040px,96vw);max-height:94vh;overflow:auto;padding:30px 34px}.product-full-editor{min-width:0}.product-editor-nav{position:sticky;top:-30px;z-index:3;display:flex;gap:8px;margin:0 -4px 20px;padding:10px 4px;background:#fff;border-bottom:1px solid #e5ebee}.product-editor-nav button{padding:9px 14px}.product-full-editor [data-editor-panel]{min-height:360px}.product-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.product-editor-grid label{margin:0}.product-editor-grid .wide{grid-column:1/-1}.product-editor-grid.dimensions{grid-template-columns:repeat(4,minmax(120px,1fr))}.product-unit-note{grid-column:1/-1;color:#748690;font-size:12px}.product-editor-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:12px}.product-editor-section-head h3{margin:0 0 5px}.product-editor-section-head p{margin:0}.product-editor-section-head>span{padding:6px 10px;border-radius:15px;background:#edf4f2;color:#176858;white-space:nowrap}.product-attribute-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-height:480px;overflow:auto;padding:4px}.product-attribute-row{padding:10px 12px;border:1px solid #e0e8eb;border-radius:9px;background:#f8fafb}.product-attribute-row label{margin:0}.product-attribute-row label small{float:right;color:#91a0a8}.product-attribute-row textarea{margin-top:7px;min-height:42px}.product-size-list{display:grid;gap:9px}.product-size-row{display:grid;grid-template-columns:1fr 1fr 2fr;gap:10px;padding:12px;border:1px solid #e0e8eb;border-radius:9px;background:#f8fafb}.product-size-row label{margin:0}.product-media-preview{display:flex;gap:9px;overflow-x:auto;margin:12px 0;padding:4px 4px 10px}.product-media-preview img{width:92px;height:112px;flex:none;border-radius:8px;object-fit:cover;border:1px solid #dce5e9;background:#edf2f3}.product-field-note{padding:10px 12px;border-radius:8px;background:#eef4f5;color:#5d747f;font-size:12px}.product-advanced-json{margin-top:18px}.product-advanced-json summary{cursor:pointer;color:#176858}.product-advanced-json textarea{margin-top:10px;font-family:Consolas,monospace;font-size:12px}.product-editor-actions{position:sticky;bottom:-30px;z-index:3;margin:22px -4px -30px;padding:14px 4px 18px;background:#fff;border-top:1px solid #e4eaed}@media(max-width:800px){.product-editor-dialog{padding:22px}.product-editor-nav{top:-22px;overflow-x:auto}.product-editor-grid,.product-editor-grid.dimensions,.product-attribute-list,.product-size-row{grid-template-columns:1fr}.product-editor-actions{bottom:-22px;margin-bottom:-22px}}
.product-media-card{position:relative;flex:none;width:108px;margin:0;padding:7px;border:1px solid #dce5e9;border-radius:10px;background:#f7faf9}.product-media-card>span{position:absolute;z-index:1;top:11px;left:11px;display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:11px;background:#143a42d9;color:#fff;font-size:11px}.product-media-card img{display:block;width:92px;height:112px}.product-media-delete{width:100%;margin-top:7px;padding:6px;border:1px solid #efb8b2;background:#fff2f0;color:#b74337;font-size:12px}.product-media-delete:hover{background:#ffe4e0}.product-media-toolbar{display:flex;align-items:center;gap:12px;margin:12px 0 16px}.product-media-toolbar small{color:#768995}.product-media-upload{display:inline-flex;align-items:center;margin:0;padding:9px 14px;border-radius:8px;background:#176f5d;color:#fff;cursor:pointer;font-weight:600}.product-media-upload:hover{background:#105f50}.product-media-upload input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.product-media-upload:has(input:disabled){opacity:.6;cursor:wait}
.product-video-manager{margin-top:18px;padding-top:16px;border-top:1px solid #e3eaed}.product-video-manager>.muted{margin:0 0 10px}.product-video-preview{display:grid;grid-template-columns:minmax(260px,520px) 120px;align-items:end;gap:12px;margin-bottom:12px}.product-video-preview video{width:100%;max-height:290px;border-radius:10px;background:#102a31}.product-video-preview .product-media-delete{margin:0}@media(max-width:700px){.product-video-preview{grid-template-columns:1fr}}
.product-attribute-row.required{border-color:#efc8c2;background:#fffafa}.product-attribute-row.missing{border-color:#e5c57d;background:#fff9e9}.product-attribute-row label>span{display:inline-flex;align-items:center;gap:7px;font-weight:600}.product-required{padding:2px 6px;border-radius:10px;background:#fee7e3;color:#bd4135;font-size:10px}.product-category-builder{padding:22px}.product-category-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:14px}.product-category-steps label{margin:0}.product-category-status{margin:10px 0 22px;padding:11px 13px;border-radius:8px;background:#edf5f2;color:#356b5e;font-size:12px}.product-category-status.error{background:#fff0ee;color:#b54135}.product-stage.ready{background:#e5f3ed;color:#176858}.product-category-builder .product-attribute-list{max-height:none;margin-bottom:18px}@media(max-width:800px){.product-category-steps{grid-template-columns:1fr}}
.product-wb-choice{clear:both;padding-top:7px}.product-wb-choice-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}.product-wb-choice-tags:empty{display:none}.product-wb-choice-tags button{display:flex;align-items:center;gap:5px;max-width:100%;padding:6px 9px;border:0;border-radius:7px;background:#e8edef;color:#273842;font-size:12px}.product-wb-choice-tags button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-wb-choice-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.product-wb-choice-entry input{margin:0}.product-wb-choice-entry button{padding:8px 12px;white-space:nowrap}.product-wb-choice-options{position:relative;z-index:2;display:grid;gap:3px;max-height:220px;overflow:auto;margin-top:6px;padding:6px;border:1px solid #d8e2e6;border-radius:8px;background:#fff;box-shadow:0 8px 18px #233d4820}.product-wb-choice-options[hidden]{display:none}.product-wb-choice-options button{display:flex;align-items:center;gap:8px;width:100%;padding:8px 10px;border:0;border-radius:6px;background:#fff;color:#223944;text-align:left}.product-wb-choice-options button:hover,.product-wb-choice-options button.selected{background:#edf6f3;color:#176858}.product-wb-choice-options p{margin:5px 7px;color:#71838d;font-size:12px}.product-wb-choice-options p.error{color:#b54135}
.product-wb-attribute-note{margin:0 4px 12px;padding:9px 12px;border-radius:8px;background:#edf5f2;color:#356b5e;font-size:12px}
.product-creation-drafts{margin-bottom:16px;padding:18px 22px}.product-creation-drafts [data-draft-list]{display:grid;gap:8px}.product-creation-draft{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:9px;padding:11px 12px;border:1px solid #dfe8eb;border-radius:9px;background:#f8fafb}.product-creation-draft>div{display:grid;gap:3px;min-width:0}.product-creation-draft strong,.product-creation-draft small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-creation-draft small{color:#748690}.product-creation-draft em{color:#bd4135;font-size:11px;font-style:normal}.product-creation-draft button{padding:8px 12px;white-space:nowrap}@media(max-width:800px){.product-creation-draft{grid-template-columns:1fr 1fr}.product-creation-draft>div{grid-column:1/-1}}
.product-attribute-help{position:relative;display:inline-flex!important;align-items:center;justify-content:center;width:19px;height:19px;border-radius:50%;background:#e8edef;color:#536773;font-size:12px;font-weight:800;cursor:help;outline:none}.product-attribute-help>[role="tooltip"]{position:absolute;left:50%;bottom:calc(100% + 10px);z-index:12;display:none;width:min(360px,70vw);padding:12px 14px;border-radius:10px;background:#fff;color:#263846;font-size:13px;font-weight:400;line-height:1.55;white-space:normal;box-shadow:0 12px 32px rgba(27,52,62,.2);transform:translateX(-50%)}.product-attribute-help>[role="tooltip"]:after{content:"";position:absolute;top:100%;left:50%;border:7px solid transparent;border-top-color:#fff;transform:translateX(-50%)}.product-attribute-help:hover>[role="tooltip"],.product-attribute-help:focus>[role="tooltip"],.product-attribute-help:focus-within>[role="tooltip"]{display:block}
.product-metadata-sync{display:grid;justify-items:end;gap:5px;max-width:390px;padding:11px 13px;border:1px solid #d8e6e2;border-radius:10px;background:#f5faf8;text-align:right}.product-metadata-sync strong{color:#176858}.product-metadata-sync small{color:#657b84}.product-metadata-sync em{display:block;max-width:360px;overflow:hidden;color:#b54135;font-size:11px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.product-metadata-sync button{margin-top:3px;padding:8px 11px}@media(max-width:600px){.product-metadata-sync{width:100%;max-width:none;justify-items:start;text-align:left}}
.product-create-page{max-width:1180px}.product-create-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 0 16px}.product-create-steps span{padding:10px 12px;border-radius:9px;background:#e8eef0;color:#73858e;text-align:center;font-size:12px}.product-create-steps span.active{background:#176f5d;color:#fff}.product-create-start,.product-create-section{padding:22px;margin-bottom:16px}.product-create-start h3{margin-top:0}.product-create-start-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.product-create-start-grid label{margin:0}.product-create-start-grid .wide{grid-column:1/-1}.product-create-section .product-attribute-list{max-height:none}.product-create-actions{position:sticky;bottom:0;z-index:4;margin:0;padding:14px 18px;border:1px solid #dce5e9;border-radius:10px;background:#ffffffed;box-shadow:0 -5px 16px #23404712}.product-create-actions button{min-width:170px}@media(max-width:800px){.product-create-steps,.product-create-start-grid{grid-template-columns:1fr}.product-create-start-grid .wide{grid-column:auto}.product-create-actions{position:static}.product-create-actions button{width:100%}}

/* Customer-service 24-hour response performance. */
.service-performance-open{padding:7px 12px}.customer-service-performance{max-width:1240px}.service-performance-head,.service-performance-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.service-performance-head{margin-bottom:14px}.service-performance-head h2{margin:6px 0;font-size:27px}.service-performance-head p,.service-performance-section-head p{margin:0}.service-performance-periods{display:flex;gap:8px;margin-bottom:12px}.service-performance-filters{display:flex;align-items:flex-end;gap:12px;padding:14px 16px}.service-performance-filters label{flex:1;margin:0}.service-performance-filters button{height:42px}.service-performance-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.service-overdue-card strong,.service-rate-low{color:#c44435}.service-performance-section-head{margin-bottom:14px}.service-performance-section-head h2{margin:0 0 5px}.service-performance-section-head>span{padding:6px 10px;border-radius:15px;background:#edf5f2;color:#176858}.service-case-overdue{background:#ffe9e5;color:#b83f32}.service-case-late{background:#fff2d6;color:#8b6514}.service-case-pending{background:#e8f3ef;color:#176858}.service-performance-definition ul{margin-bottom:0;color:#617583;line-height:1.8}@media(max-width:900px){.service-performance-cards{grid-template-columns:repeat(2,1fr)}.service-performance-filters{flex-wrap:wrap}.service-performance-filters label{min-width:220px}}@media(max-width:560px){.service-performance-cards{grid-template-columns:1fr}.service-performance-head{flex-direction:column}}

/* Standalone product-management workspace. */
.product-management-page{max-width:1180px}.product-management-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:18px}.product-management-head h2{margin:6px 0;font-size:25px}.product-management-head p{margin:0;color:#71828d}.product-stage{flex:none;padding:7px 11px;border-radius:18px;background:#fff3cf;color:#80610b;font-size:12px}.product-store-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.product-store-summary article{display:flex;align-items:center;gap:12px;padding:17px 18px;border:1px solid #dce5ea;border-radius:12px;background:#fff}.product-store-summary strong,.product-store-summary small{display:block}.product-store-summary small{margin-top:4px;color:#7a8b95}.product-module-panel{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:20px;min-height:210px;padding:28px}.product-module-icon{display:grid;place-items:center;width:70px;height:70px;border-radius:18px;background:#e5f3ed;color:#176858;font-size:34px}.product-module-panel h2{margin:0 0 8px}.product-module-panel p{max-width:780px;line-height:1.75}.product-readiness{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}.product-readiness span{padding:6px 10px;border-radius:16px;background:#edf4f2;color:#176858;font-size:11px}.product-roadmap{margin-top:18px}.product-roadmap>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.product-roadmap article{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid #dce5ea;border-radius:10px;background:#fff}.product-roadmap article.active{border-color:#71aa9d;background:#eef8f5}.product-roadmap b{color:#8a9aa3}.product-roadmap strong,.product-roadmap small{display:block}.product-roadmap small{margin-top:4px;color:#80909a;font-size:10px}@media(max-width:900px){.product-store-summary{grid-template-columns:1fr}.product-roadmap>div{grid-template-columns:1fr 1fr}}@media(max-width:600px){.product-management-head{flex-direction:column}.product-module-panel{grid-template-columns:1fr}.product-roadmap>div{grid-template-columns:1fr}}

.product-create-more{margin-top:14px;border:1px solid #dce6e8;border-radius:10px;background:#f7faf9}.product-create-more>summary{cursor:pointer;padding:14px 16px;color:#176858;font-weight:700;list-style-position:inside}.product-create-more[open]>summary{border-bottom:1px solid #dce6e8}.product-create-more .product-attribute-list{padding:14px;max-height:none}.product-create-page label[hidden]{display:none!important}
.product-create-page input:disabled{background:#f1f3f4;color:#9aa5aa;border-color:#e1e6e8;cursor:not-allowed}.product-create-page label>span[data-create-offer-label],.product-create-page label>span[data-create-barcode-label]{display:block;margin-bottom:6px}
.product-drafts-head-actions{display:flex;align-items:center;gap:10px}.product-drafts-panel{padding:20px}.product-drafts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.product-draft-card{display:flex;min-width:0;flex-direction:column;gap:10px;padding:18px;border:1px solid #dce6e8;border-radius:12px;background:#fbfcfc}.product-draft-card-head{display:flex;align-items:center;justify-content:space-between;color:#70828b;font-size:12px}.product-draft-platform{display:inline-flex;align-items:center;justify-content:center;min-width:42px;padding:5px 8px;border-radius:7px;background:#e5f3ef;color:#126b58;font-weight:800}.product-draft-platform.ozon{background:#eaf0ff;color:#315ed0}.product-draft-card h3{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#173047;font-size:17px}.product-draft-card>p{margin:0;color:#607781}.product-draft-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.product-draft-card dl div{min-width:0;padding:9px 10px;border-radius:8px;background:#f0f5f4}.product-draft-card dt{color:#7b8e96;font-size:11px}.product-draft-card dd{margin:3px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#274354;font-weight:700}.product-draft-card>small{color:#82939a}.product-draft-error{padding:9px 10px;border-radius:8px;background:#fff0ed;color:#bd4135;font-size:12px}.product-draft-actions{display:flex;gap:8px;margin-top:auto}.product-draft-actions button{flex:1}.product-drafts-empty{display:grid;justify-items:center;gap:8px;padding:48px 20px;text-align:center}.product-drafts-empty>span{font-size:42px;color:#91a8a2}.product-drafts-empty h2,.product-drafts-empty p{margin:0}.product-drafts-empty p{color:#748690}@media(max-width:850px){.product-drafts-grid{grid-template-columns:1fr}.product-drafts-head-actions{align-items:flex-end;flex-direction:column}.product-draft-card dl{grid-template-columns:1fr}}
.product-hs-field{padding:15px;border:1px solid #dbe5e8;border-radius:10px;background:#f8faf9}.product-hs-field>label{font-weight:700}.product-hs-control{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:7px}.product-hs-control input{margin:0;background:#fff}.product-hs-field>small{display:block;margin-top:7px;color:#748690}.product-hs-dialog{width:min(900px,94vw);max-height:88vh;padding:26px;border:0;border-radius:16px;box-shadow:0 24px 80px #102a3570}.product-hs-dialog::backdrop{background:#102a3566}.product-hs-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.product-hs-dialog-head h2{margin:0 0 4px}.product-hs-dialog-head p{margin:0;color:#748690}.product-hs-close{padding:0;border:0;background:transparent;color:#81919a;font-size:32px;line-height:1}.product-hs-search{display:grid;grid-template-columns:1fr auto;gap:10px;margin:20px 0 14px}.product-hs-search input{margin:0}.product-hs-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:430px;overflow:auto;padding:4px}.product-hs-option{display:flex;align-items:center;gap:10px;margin:0;padding:13px;border:1px solid #dce5e9;border-radius:9px;background:#fff;cursor:pointer}.product-hs-option:has(input:checked){border-color:#176f5d;background:#eef8f5}.product-hs-option input{width:auto;margin:0}.product-hs-option span{font-weight:700}.product-hs-option em{margin-left:auto;color:#a45e12;font-size:11px;font-style:normal}.product-hs-error{color:#b54135}.product-hs-dialog>.actions{margin-top:18px}@media(max-width:800px){.product-hs-control,.product-hs-search,.product-hs-list{grid-template-columns:1fr}}

.shell main>#content.product-collector-scroll{overflow-x:hidden;overflow-y:scroll;scrollbar-gutter:stable;overscroll-behavior-y:contain;padding-right:10px}.product-collector-page{max-width:1220px;min-height:min-content;padding-bottom:64px}.product-collector-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:18px}.product-collector-flow span{display:flex;align-items:center;gap:9px;padding:12px 15px;border-radius:10px;background:#eaf0f2;color:#71828b}.product-collector-flow span.active{background:#dff1eb;color:#126a57;font-weight:700}.product-collector-flow b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff;font-size:12px}.product-collector-start{padding:24px}.product-collector-start h3,.product-collector-copy h3{margin:0 0 6px}.product-collector-start>div>p,.product-collector-copy>div>p{margin:0;color:#71828d}.product-collector-start form{display:grid;grid-template-columns:1fr 280px auto;align-items:end;gap:12px;margin-top:20px}.product-collector-start label,.product-collector-copy label{margin:0}.product-collector-start button{height:44px}.product-collector-loading,.product-collector-error{display:grid;justify-items:center;gap:7px;margin-top:18px;padding:36px;text-align:center}.product-collector-loading span{width:32px;height:32px;border:4px solid #d9e8e4;border-top-color:#17715e;border-radius:50%;animation:spin .85s linear infinite}.product-collector-loading h3,.product-collector-loading p,.product-collector-error h3,.product-collector-error p{margin:0}.product-collector-result{display:grid;gap:18px;margin-top:24px}.product-collector-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.product-collector-result-head h2{margin:5px 0}.product-collector-result-head p{margin:0;color:#71828d}.button-link{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:8px;text-decoration:none}.product-collector-summary{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:16px}.product-collector-source{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;padding:20px}.product-collector-images{display:grid;grid-template-columns:repeat(4,1fr);align-content:start;gap:7px}.product-collector-images img{width:100%;aspect-ratio:1/1.25;object-fit:cover;border:1px solid #e0e7e9;border-radius:8px;background:#fff}.product-collector-source-body h3{margin:9px 0 14px;font-size:20px}.product-collector-source-body dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0}.product-collector-source-body dl div{padding:9px;border-radius:8px;background:#f1f6f5}.product-collector-source-body dt{color:#7c8d95;font-size:11px}.product-collector-source-body dd{margin:3px 0 0;font-weight:700}.product-collector-source-body details{margin-top:14px}.product-collector-source-body details p{max-height:150px;overflow:auto;white-space:pre-wrap;line-height:1.65;color:#516873}.product-collector-check{display:grid;gap:10px;padding:20px}.product-collector-check h3{margin:0 0 3px}.product-collector-check div{padding:12px;border-radius:9px;background:#eff6f4}.product-collector-check strong,.product-collector-check span{display:block}.product-collector-check strong{color:#126b58;font-size:20px}.product-collector-check span{margin-top:2px;color:#71828d;font-size:11px}.product-collector-warnings{display:flex;flex-wrap:wrap;gap:8px;padding:14px 16px;border:1px solid #ead49b;border-radius:10px;background:#fff8e3;color:#795a12}.product-collector-warnings strong{width:100%}.product-collector-warnings span:before{content:'•';margin-right:6px}.product-collector-mapping{padding:20px}.product-collector-attribute-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.product-collector-attribute-grid article{min-width:0;padding:13px;border:1px solid #dde7e9;border-radius:9px;background:#fafcfc}.product-collector-attribute-grid strong,.product-collector-attribute-grid span,.product-collector-attribute-grid small{display:block;overflow:hidden;text-overflow:ellipsis}.product-collector-attribute-grid span{margin:7px 0;color:#1e394b;white-space:pre-line}.product-collector-attribute-grid small{color:#83939a;white-space:nowrap}.product-collector-unmatched{margin-top:14px}.product-collector-unmatched>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}.product-collector-unmatched span{display:flex;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:7px;background:#fff7e6}.product-collector-copy{padding:22px}.product-collector-copy form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:12px;margin-top:17px}.product-collector-copy fieldset{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:20px;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px}.product-collector-copy fieldset label{display:flex;align-items:center;gap:7px}.product-collector-copy fieldset input{width:auto;margin:0}.product-collector-copy form>button{grid-column:1/-1;justify-self:end}.product-collector-blocked{margin:12px 0 0;padding:10px;border-radius:8px;background:#fff0ed;color:#b54336}@media(max-width:900px){.product-collector-start form,.product-collector-summary,.product-collector-source,.product-collector-copy form{grid-template-columns:1fr}.product-collector-start form .wide{grid-column:auto}.product-collector-attribute-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-collector-copy form>button{justify-self:stretch}}@media(max-width:620px){.product-collector-flow{grid-template-columns:1fr 1fr}.product-collector-result-head{flex-direction:column}.product-collector-attribute-grid,.product-collector-unmatched>div,.product-collector-source-body dl{grid-template-columns:1fr}.product-collector-images{grid-template-columns:repeat(4,1fr)}}

.product-multi-sku{padding:20px}.product-multi-sku .product-editor-section-head>select{width:210px;margin:0}.product-multi-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.product-multi-note{margin:14px 0;padding:11px 13px;border-radius:8px;background:#edf6f3;color:#176858}.product-variant-table{display:grid;gap:12px}.product-variant-row{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px;align-items:end;padding:14px;border:1px solid #dbe5e8;border-radius:10px;background:#fafcfc}.product-variant-index{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;color:#176858;font-weight:800}.product-variant-index button{padding:6px 10px}.product-variant-row label{min-width:0;margin:0}.product-variant-row label span{display:block;margin-bottom:5px;color:#657b86;font-size:12px}.product-variant-row input{margin:0}.product-variant-row button{margin-bottom:1px}.product-variant-toolbar{display:flex;align-items:center;gap:10px;margin-top:12px}.product-variant-toolbar span{margin-left:auto;color:#72848d;font-size:12px}@media(max-width:1100px){.product-variant-row{grid-template-columns:repeat(2,minmax(0,1fr))}.product-multi-settings{grid-template-columns:1fr 1fr}}@media(max-width:700px){.product-multi-settings,.product-variant-row{grid-template-columns:1fr}.product-variant-index{display:flex}.product-variant-toolbar{align-items:stretch;flex-direction:column}.product-variant-toolbar span{margin:0}}
.sales-rank-medal-2{border-color:#c4cdd7;background:linear-gradient(145deg,#f8fafc,#dce4ed);box-shadow:0 3px 9px #62748922}.sales-rank-medal-3{border-color:#d7ab88;background:linear-gradient(145deg,#fff2e7,#eac2a2);box-shadow:0 3px 9px #a4633222}
.performance-platform-brand{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;font-weight:600}.performance-platform-logo{display:inline-flex;align-items:center;justify-content:center;width:88px;height:40px;border-radius:9px;color:#fff;flex:none;font-family:Arial,sans-serif;line-height:1;box-shadow:0 2px 5px #16354a15}.performance-platform-logo-wb{background:linear-gradient(120deg,#ed25b7,#9229dc);font-size:25px;font-weight:800;letter-spacing:-1.5px}.performance-platform-logo-ozon{background:#005bff;font-size:21px;font-weight:800;font-style:italic;letter-spacing:-1px}.performance-platform-logo-ali{background:#f44336;font-size:15px;font-weight:700;letter-spacing:-.7px}
.wb-remittance-card{margin:16px 0 12px;padding:16px 18px;border:1px solid #d4e6e1;border-radius:10px;background:#f0f7f5;color:#24483e}.wb-remittance-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;font-weight:600}.wb-remittance-rate{display:inline-block;margin-left:6px;padding:3px 8px;border-radius:5px;background:#deeee8;color:#216d59;font-size:12px;font-weight:500}.wb-remittance-heading strong{font-size:22px;white-space:nowrap;color:#176b58;font-variant-numeric:tabular-nums}.wb-remittance-card p{margin:10px 0 5px;font-size:13px;line-height:1.6;color:#526e66}.wb-remittance-card small{display:block;font-size:12px;line-height:1.5;color:#6e827c}#wb-cost-form .wb-cost-hint{display:block;margin:12px 0 16px;font-size:12px;line-height:1.6;color:#738394}#wb-cost-form .wb-cost-rate-row+.wb-cost-rate-row{margin-top:12px}@media(max-width:480px){.wb-remittance-heading{flex-wrap:wrap;gap:8px}}
/* Shipping template editor: fit fields inside the dialog at every viewport. */
dialog.shipping-template-dialog{width:min(880px,94vw);max-width:94vw;max-height:90vh;padding:28px;overflow-x:hidden;border-radius:16px;color:#1b2f43}
.shipping-template-dialog>p{margin:0 0 20px;font-size:13px}.shipping-template-dialog .shipping-rule-editor{padding:0;border:0;background:transparent;margin-top:24px}.shipping-template-dialog .shipping-rule-head{margin-bottom:14px}.shipping-template-dialog .shipping-rule-row{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0 0;padding:18px;border:1px solid #dce6e9;border-radius:12px;background:#f7faf9}.shipping-template-dialog .shipping-tier-title{grid-column:1/-1;min-height:32px;display:flex;align-items:center;color:#176858}.shipping-template-dialog .shipping-tier-group{min-width:0;padding:14px;background:white;border:1px solid #e2e9ec;border-radius:9px}.shipping-template-dialog .shipping-tier-group h3{margin:0 0 12px;font-size:14px}.shipping-template-dialog .shipping-tier-group label{margin:10px 0 0;font-size:12px;line-height:1.5}.shipping-template-dialog .shipping-tier-group input{min-width:0;width:100%;margin-top:5px;font-size:14px}.shipping-template-dialog .shipping-rule-remove{position:absolute;top:15px;right:18px;height:32px;padding:5px 12px;color:#ac5246;background:#fff0ed}.shipping-template-dialog .actions{position:sticky;bottom:-28px;margin:22px -28px -28px;padding:16px 28px;background:white;border-top:1px solid #e4ebee;z-index:1}.shipping-template-dialog .actions button{min-width:96px}
@media(max-width:680px){dialog.shipping-template-dialog{padding:20px}.shipping-template-dialog .shipping-rule-row{grid-template-columns:minmax(0,1fr)}.shipping-template-dialog .shipping-tier-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shipping-template-dialog .shipping-tier-group h3{grid-column:1/-1;margin:0}.shipping-template-dialog .actions{bottom:-20px;margin-left:-20px;margin-right:-20px;margin-bottom:-20px;padding:14px 20px}}

#message-nudge-alert{position:fixed;top:24px;right:24px;z-index:10000;width:min(420px,calc(100vw - 48px));box-sizing:border-box;padding:24px;background:#fff;border:2px solid #197365;border-radius:16px;box-shadow:0 12px 48px #12363d55}#message-nudge-alert p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto}

.task-workflow-info{background:#eff7f5;border:1px solid #d0e5df;border-radius:12px;padding:18px;margin:18px 0;line-height:1.7}.task-workflow-info p{margin:8px 0;overflow-wrap:anywhere}.task-dialog form textarea{width:100%;box-sizing:border-box}

.task-workflow-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px}.task-workflow-shortcuts button{display:flex;align-items:center;gap:12px}.task-workflow-shortcuts b{background:#d6e9e4;border-radius:12px;padding:2px 8px;color:#176657}

.task-menu-badge{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;margin-left:8px;border-radius:999px;background:#f45b53;color:#fff;font-size:13px;font-weight:700;line-height:1;vertical-align:middle;box-sizing:border-box}.task-menu-badge[hidden]{display:none}

.task-workflow-shortcuts button.selected{background:#176858;color:white}.task-workflow-shortcuts button.selected b{background:#ffffff26;color:white}.task-list-panel{scroll-margin-top:16px}

.message-folder-tabs,.message-record-actions{display:flex;gap:8px;flex-wrap:wrap}.message-folder-tabs{margin-top:24px}.message-record-actions{margin-top:6px}.message-item-actions{flex-wrap:wrap}

.ait-page{max-width:1400px;margin:auto;color:#203a47}.ait-intro{display:flex;justify-content:space-between;align-items:center;margin:8px 0 25px;gap:16px}.ait-kicker{font-size:12px;color:#237c6d;letter-spacing:1px;font-weight:600}.ait-intro p{font-size:24px;font-weight:600;margin:9px 0 0}.ait-preview{font-size:12px;color:#6c7b86;border:1px solid #dce5e8;background:#fff;padding:8px 12px;border-radius:20px}.ait-settings{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.ait-label{display:block;font-size:13px;color:#788995;margin-bottom:10px}.ait-scenes{display:flex;gap:6px;background:#e9eff1;padding:5px;border-radius:12px}.ait-scenes button{background:transparent;color:#667c87;padding:10px 18px;border-radius:9px}.ait-scenes button.selected{background:white;color:#176858;box-shadow:0 2px 6px #1339430d}.ait-tone{width:180px;font-size:13px;color:#73838e}.ait-tone select{margin-top:7px;background:white}.ait-editor{background:white;border:1px solid #dce6eb;border-radius:18px;overflow:hidden;box-shadow:0 8px 25px #12363d04}.ait-languagebar{display:grid;grid-template-columns:1fr 42px 1fr;align-items:center;padding:17px 24px;border-bottom:1px solid #e5ecef;gap:16px}.ait-languagebar label{display:flex;align-items:center;gap:18px;font-size:12px;color:#7c8e98}.ait-languagebar select{width:160px;border:0;background:transparent;font-size:17px;font-weight:600;color:#29434f;padding:8px}.ait-languagebar button{padding:7px;background:#eef5f3;color:#287363;font-size:23px;border-radius:10px}.ait-columns{display:grid;grid-template-columns:1fr 1fr}.ait-source,.ait-result{padding:22px 26px;min-width:0}.ait-source{border-right:1px solid #e5ecef}.ait-result{background:#f7fbfa}.ait-panehead,.ait-panefoot{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#85959e;font-size:12px}.ait-panehead small{margin-left:12px;font-size:11px;font-weight:normal}.ait-panehead button,.ait-panefoot button{background:transparent;color:#317869;padding:5px 0;font-size:13px}.ait-dot{color:#458977;background:#e7f1ec;padding:4px 8px;border-radius:5px}.ait-source textarea{display:block;width:100%;height:245px;resize:vertical;border:0;box-shadow:none;background:transparent;padding:19px 0;margin:0;color:#273e4a;font-size:17px;line-height:1.9;min-height:180px}.ait-output{min-height:245px;padding:19px 0;font-size:17px;line-height:1.9;white-space:pre-wrap}.ait-actions{display:flex;justify-content:space-between;align-items:center;padding:19px 24px;border-top:1px solid #e5ecef;gap:15px}.ait-actions>span{font-size:12px;color:#7a8f98}.ait-actions>div{display:flex;gap:10px}.ait-actions button{border-radius:9px}.ait-actions button span{margin-left:20px}.ait-back-result{padding:20px 26px;border-top:1px solid #e5ecef;font-size:14px;line-height:1.8;background:#f8fafb}.ait-bottom{display:grid;grid-template-columns:1.4fr 1fr;gap:22px;margin-top:24px}.ait-history,.ait-tip{border:1px solid #dce6eb;background:white;border-radius:15px;padding:22px 24px}.ait-sectionhead{display:flex;justify-content:space-between;align-items:center}.ait-sectionhead h2{font-size:16px;margin:0}.ait-sectionhead>span{color:#94a0a8;font-size:12px}.ait-historyrow{width:100%;display:flex;align-items:center;text-align:left;background:transparent;color:#324b57;padding:20px 0 15px;gap:13px}.ait-historyicon{background:#edf5f2;color:#32776a;padding:10px 13px;border-radius:10px}.ait-historyrow strong{font-size:14px;font-weight:500}.ait-historyrow small{display:block;font-size:12px;color:#8b9aa2;margin-top:7px}.ait-historyarrow{margin-left:auto;color:#7a948e}.ait-historynote{font-size:11px;color:#95a2aa;padding-top:12px;border-top:1px solid #edf1f3}.ait-tip{background:#edf5f2;border-color:#dfece5}.ait-tip h3{font-size:17px;margin:13px 0}.ait-tip p{font-size:13px;color:#698278;line-height:1.8;margin:0 0 14px}.ait-tip>span:last-child{font-size:11px;color:#869a91}@media(max-width:1050px){.ait-columns,.ait-bottom{grid-template-columns:1fr}.ait-source{border-right:0;border-bottom:1px solid #e5ecef}.ait-settings,.ait-actions,.ait-intro{flex-wrap:wrap}.ait-scenes button{padding:9px 12px}}

/* Shared compact customer-service alert in the page heading. */
.shell main>header{display:flex;align-items:center;gap:24px;min-width:0;flex-wrap:wrap}
.shell main>header>div:first-child{flex:0 1 auto;min-width:0}
.shell main>header #customer-service-alert{flex:1 1 380px;min-width:0;max-width:1100px;margin:0 0 0 auto;padding:10px 14px;gap:14px;box-sizing:border-box}
.shell main>header #customer-service-alert>div{min-width:0;flex:1}
.shell main>header #customer-service-alert strong{font-size:14px;line-height:1.5}
.shell main>header #customer-service-alert span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5}
.shell main>header #customer-service-alert button{padding:10px 14px;white-space:nowrap}
@media(max-width:800px){.shell main>header{gap:12px}.shell main>header #customer-service-alert{flex-basis:100%;max-width:none;margin:0}}
.rating-page{display:grid;gap:20px}.rating-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.rating-toolbar h2{margin:0}.rating-toolbar p{margin:8px 0 0}.rating-filters{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;align-items:end}.rating-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.rating-cards strong{display:block;font-size:34px;margin:12px 0}.rating-cards small{color:#718797}.rating-down{color:#bd493e}.rating-up{color:#197769}.rating-empty{min-height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#728896}.rating-empty>span{font-size:36px;color:#197769;margin-bottom:8px}.rating-empty p{font-size:14px;line-height:1.8}.rating-chart svg{width:100%;height:230px}.rating-chart text{fill:#728896;font-size:13px}.rating-trend select{max-width:340px}.rating-page .panel{margin:0}@media(max-width:1000px){.rating-cards{grid-template-columns:repeat(2,1fr)}.rating-filters{grid-template-columns:1fr 1fr}.rating-filters>div{grid-column:1/-1}}
.wb-finance-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.wb-finance-filters{display:flex;gap:20px;align-items:end;flex-wrap:wrap}.wb-finance-filters label{min-width:200px}.wb-finance-note{background:#eef6f4;padding:14px 18px;border-radius:10px;color:#526b76}.wb-finance-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.wb-finance-cards strong{display:block;font-size:28px;margin:14px 0}.wb-finance-cards small{color:#728594}.wb-finance-page{display:grid;gap:20px}.wb-finance-page .panel{margin:0}.wb-finance-page small{color:#728594}.wb-finance-id{display:inline-block;max-width:260px;overflow-wrap:anywhere}.wb-finance-pager{justify-content:flex-end;margin-top:18px}@media(max-width:1000px){.wb-finance-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* WB order settlement: alternating columns for financial comparison. */
.wb-settlement-table{min-width:1500px;text-align:center;font-variant-numeric:tabular-nums}
.wb-settlement-table th,.wb-settlement-table td{text-align:center;vertical-align:middle;padding:10px 7px;line-height:1.55;border-bottom:1px solid #e5e9ed}
.wb-settlement-table th:nth-child(odd),.wb-settlement-table td:nth-child(odd){background:#fff}
.wb-settlement-table th:nth-child(even),.wb-settlement-table td:nth-child(even){background:#fafbfc}
.wb-settlement-table th{font-weight:600;color:#526475;padding-top:14px;padding-bottom:14px;border-bottom:2px solid #dce3e8}
.wb-settlement-table td:first-child{min-width:230px;max-width:300px;white-space:normal;overflow-wrap:anywhere}
.wb-settlement-table small{font-size:12px}
.wb-settlement-table td button{margin:3px;padding:5px 9px}
.wb-settlement-table .pill{display:inline-block;padding:3px 8px}
.wb-settlement-table tbody tr:hover td{box-shadow:inset 0 1px #d4e3df,inset 0 -1px #d4e3df}

.wb-settlement-table .wb-column-unit{font-weight:400;color:#86939f;font-size:11px}

/* Keep headers and rows in the same scrolling viewport. */
.table-wrap:has(> table > thead){overflow:auto;position:relative;isolation:isolate}
.table-wrap > table{border-collapse:separate;border-spacing:0}
.table-wrap > table > thead{position:sticky;top:0;z-index:3;background:#f7f9fb;box-shadow:0 1px 0 #dce3e8}
.table-wrap > table > thead th{background-color:#f7f9fb}
.table-wrap > .wb-settlement-table > thead th:nth-child(odd){background:#fff}
.table-wrap > .wb-settlement-table > thead th:nth-child(even){background:#fafbfc}


/* Preserve row identity when scrolling wide data tables horizontally. */
.table-wrap > table > tbody > tr > td:first-child:not([colspan]),
.table-wrap > table > thead > tr > th:first-child:not([colspan]){position:sticky;left:0;z-index:2;background:#fff;box-shadow:1px 0 0 #e5e9ed}
.table-wrap > table > thead > tr > th:first-child:not([colspan]){z-index:4;background:#f7f9fb}
.table-wrap > .wb-settlement-table > thead > tr > th:first-child{background:#fff}

/* Outer workspace scrolling requires an offset relative to all clipping ancestors. */
.table-wrap > table.workspace-pinned-column > tbody > tr > td:first-child:not([colspan]),
.table-wrap > table.workspace-pinned-column > thead > tr > th:first-child:not([colspan]){position:relative;left:0;transform:translateX(var(--pinned-column-offset,0px));background:#fff;z-index:5;box-shadow:1px 0 0 #dce3e8}
.table-wrap > table.workspace-pinned-column > thead > tr > th:first-child:not([colspan]){z-index:6}

/* Shared data-table presentation across system menus. */
.system-data-table{border-collapse:separate;border-spacing:0;text-align:center;font-variant-numeric:tabular-nums}
.system-data-table > thead > tr > th,.system-data-table > tbody > tr > td{padding:10px 8px;text-align:center;vertical-align:middle;line-height:1.55;border-bottom:1px solid #e5e9ed}
.system-data-table > thead > tr > th{font-size:12px;font-weight:600;color:#526475;white-space:normal;min-width:70px}
.system-data-table > thead > tr > th:nth-child(odd),.system-data-table > tbody > tr > td:nth-child(odd){background:#fff}
.system-data-table > thead > tr > th:nth-child(even),.system-data-table > tbody > tr > td:nth-child(even){background:#fafbfc}
.system-data-table > tbody > tr > td button{padding:5px 9px;margin:3px;font-size:12px}
.system-data-table > tbody > tr > td small{font-size:12px}
.system-data-table > tbody > tr > td[colspan]{background:#fff}
.table-wrap > .system-data-table > thead > tr > th:first-child{background:#fff}

.wb-settlement-table small.wb-sku-unmatched{color:#c0392b!important;font-weight:600}

[data-wbf-detail] .wb-finance-toolbar{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:14px}
[data-wbf-detail] .wb-finance-toolbar>div:first-child{flex-basis:100%;order:0}
[data-wbf-detail] .wb-finance-toolbar [data-wbf-search]{order:1;margin:0;justify-content:flex-start;flex:0 1 410px;min-width:0}
[data-wbf-detail] .wb-finance-toolbar [data-wbf-search] input{min-width:0;flex:1}
[data-wbf-detail] .wb-finance-toolbar [data-wbf-search] button{flex-shrink:0;white-space:nowrap}
[data-wbf-detail] .wb-finance-toolbar [data-export]{order:2;margin-left:auto;white-space:nowrap}

dialog .rates-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}dialog .rates-dialog-heading h2{margin:0}dialog .rates-dialog-close{flex:0 0 32px;width:32px;height:32px;margin:0;padding:0;border:0;background:transparent;color:#71818d;font-size:24px;line-height:32px;border-radius:6px}dialog .rates-dialog-close:hover{background:#f2f4f6;color:#1b2f43}

dialog.sku-match-dialog{max-height:90vh;overflow-y:auto}
.sku-match-dialog .sku-match-scope{margin:16px 0 8px;padding:8px 12px;border:1px solid #e0e7ed;border-radius:8px;min-width:0}
.sku-match-dialog .sku-match-scope legend{padding:0 5px;color:#526475;font-size:13px}
.sku-match-dialog .sku-match-scope label{display:flex;align-items:center;gap:9px;margin:0;padding:9px 2px;line-height:1.5;cursor:pointer}
.sku-match-dialog .sku-match-scope input[type=radio]{width:16px;height:16px;flex:0 0 16px;margin:0;padding:0;accent-color:#176858}
.sku-match-dialog [data-results] button{display:block;width:100%;text-align:left;margin:4px 0;white-space:normal;line-height:1.5}
.sku-match-dialog .actions{gap:10px;margin-top:18px}

.live-sku-match-row{display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;margin-top:4px}.live-sku-match-row small.live-sku-unmatched{color:#c0392b!important;font-weight:600}

.wb-shipping-badge{display:inline-block;margin:4px 6px;padding:2px 6px;border-radius:4px;background:#edf5f3;color:#216b5e;font-size:12px;white-space:nowrap}.wb-shipping-pending{color:#c62828;background:#fff5f5}

.ai-edit-preview{display:block;max-width:100%;width:420px;max-height:480px;object-fit:contain;margin:16px 0;border-radius:10px}.ai-edit-preview[hidden]{display:none}.ai-table-scroll{overflow-x:auto}.ai-table-scroll input{min-width:90px;max-width:150px}.ai-job{border-top:1px solid #dce5eb;padding:16px 0}.ai-presets{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}


.ai-admin-panel{margin-top:20px}.ai-default-choice{display:flex;align-items:center;gap:8px}.ai-default-choice input[type=checkbox]{width:auto;margin:0}


/* Warehouse costs: compact list and readable history dialog. */
.warehouse-cost-page{padding:18px 20px}
.warehouse-cost-page>.toolbar{margin-bottom:12px}
.warehouse-cost-page>[data-search]{margin-bottom:8px}
.warehouse-cost-table{min-width:1100px;table-layout:fixed}
.warehouse-cost-table col.warehouse-col-sku{width:250px}
.warehouse-cost-table col.warehouse-col-name{width:auto}
.warehouse-cost-table col.warehouse-col-price{width:130px}
.warehouse-cost-table col.warehouse-col-weight{width:125px}
.warehouse-cost-table col.warehouse-col-size{width:145px}
.warehouse-cost-table col.warehouse-col-date{width:120px}
.warehouse-cost-table col.warehouse-col-actions{width:180px}
.warehouse-cost-table>thead>tr>th{height:40px;padding:7px 8px;line-height:1.3}
.warehouse-cost-table>tbody>tr>td{height:48px;padding:7px 8px;line-height:1.35;vertical-align:middle}
.warehouse-cost-table>tbody>tr>td:first-child,.warehouse-cost-table>tbody>tr>td:nth-child(2){white-space:normal;overflow-wrap:anywhere}
.warehouse-cost-table>tbody>tr>td:nth-child(2){text-align:left}
.warehouse-cost-table .actions{margin:0;gap:6px;justify-content:center;flex-wrap:nowrap}
.warehouse-cost-table .actions button{margin:0;padding:5px 8px;white-space:nowrap}
dialog:has(.warehouse-history){width:min(1080px,94vw);max-width:94vw;padding:0;overflow:hidden;border-radius:16px}
.warehouse-history{display:flex;flex-direction:column;max-height:86vh;background:#fff}
.warehouse-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px 16px;border-bottom:1px solid #e4eaee}
.warehouse-history-head h2{margin:0 0 5px;font-size:20px}
.warehouse-history-head p{margin:0;color:#7b8b96;font-size:12px;line-height:1.5}
.warehouse-history-close{flex:0 0 32px;width:32px;height:32px;margin:0;padding:0;border-radius:8px;background:#eef3f4;color:#506773;font-size:24px;line-height:30px}
.warehouse-history>.table-wrap{margin:0 24px;overflow:auto}
.warehouse-history-table{min-width:920px;table-layout:fixed;white-space:normal}
.warehouse-history-table th,.warehouse-history-table td{padding:10px 9px;line-height:1.45;vertical-align:middle}
.warehouse-history-table th:first-child,.warehouse-history-table td:first-child{width:34%;text-align:left;overflow-wrap:anywhere}
.warehouse-history-table th:nth-child(2),.warehouse-history-table td:nth-child(2){width:12%}
.warehouse-history-table th:nth-child(3),.warehouse-history-table td:nth-child(3){width:14%}
.warehouse-history-table th:nth-child(4),.warehouse-history-table td:nth-child(4){width:15%}
.warehouse-history-table th:nth-child(5),.warehouse-history-table td:nth-child(5){width:12%}
.warehouse-history-table th:nth-child(6),.warehouse-history-table td:nth-child(6){width:13%}
.warehouse-history-footer{display:flex;justify-content:flex-end;padding:16px 24px;border-top:1px solid #e4eaee;background:#fafcfc}
.warehouse-history-footer button{min-width:88px}


/* Warehouse history cards: product name above details, no horizontal scrollbar. */
dialog:has(.warehouse-history){width:min(820px,94vw)}
.warehouse-history-list{display:grid;gap:12px;min-width:0;max-height:58vh;overflow-y:auto;overflow-x:hidden;padding:16px 24px 18px}
.warehouse-history-card{min-width:0;padding:16px 18px;border:1px solid #dfe7ea;border-radius:12px;background:#fff}
.warehouse-history-card h3{margin:0 0 14px;padding-bottom:12px;border-bottom:1px solid #e7edef;color:#1b2f43;font-size:15px;font-weight:600;line-height:1.55;overflow-wrap:anywhere}
.warehouse-history-facts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0}
.warehouse-history-facts>div{min-width:0;padding:2px 14px;border-left:1px solid #e7edef}
.warehouse-history-facts>div:first-child{padding-left:0;border-left:0}
.warehouse-history-facts span,.warehouse-history-facts strong{display:block}
.warehouse-history-facts span{margin-bottom:6px;color:#7a8b96;font-size:11px;line-height:1.35}
.warehouse-history-facts strong{color:#203747;font-size:13px;font-weight:600;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
@media(max-width:760px){.warehouse-history-head{padding:18px 18px 14px}.warehouse-history-list{padding:14px 18px}.warehouse-history-facts{grid-template-columns:1fr 1fr;gap:12px}.warehouse-history-facts>div,.warehouse-history-facts>div:first-child{padding:0;border:0}.warehouse-history-footer{padding:14px 18px}}


/* Warehouse history refinement: wider and flatter. */
dialog:has(.warehouse-history){width:min(1020px,94vw)}
.warehouse-history-head{padding:24px 30px 18px}
.warehouse-history-list{gap:0;max-height:62vh;padding:0 30px 4px}
.warehouse-history-card{padding:20px 0;border:0;border-bottom:1px solid #e3e9ec;border-radius:0;background:transparent}
.warehouse-history-card:last-child{border-bottom:0}
.warehouse-history-card h3{margin:0 0 14px;padding:0;border:0;font-size:15px;font-weight:600}
.warehouse-history-facts{grid-template-columns:1.05fr .9fr 1fr 1.05fr 1.65fr}
.warehouse-history-facts>div{padding:0 16px}
.warehouse-history-facts span{margin-bottom:5px}
.warehouse-history-facts strong{font-size:14px;white-space:nowrap;overflow-wrap:normal}
.warehouse-history-footer{padding:15px 30px}
@media(max-width:760px){dialog:has(.warehouse-history){width:min(94vw,680px)}.warehouse-history-list{padding:0 18px}.warehouse-history-facts strong{white-space:normal;overflow-wrap:anywhere}}

/* Explicit dialog class supports desktop webviews without :has(). */
dialog.warehouse-history-dialog{width:min(1020px,94vw);max-width:94vw;padding:0;overflow:hidden;border-radius:14px;color:#1b2f43}
.warehouse-history-dialog .warehouse-history-head{padding:22px 28px 18px;align-items:flex-start}
.warehouse-history-dialog .warehouse-history-head h2{overflow-wrap:anywhere}
.warehouse-history-dialog .warehouse-history-close{display:flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;padding:0;margin:0;background:transparent;color:#71838e;border:0;border-radius:8px;transition:background .15s,color .15s}
.warehouse-history-dialog .warehouse-history-close:hover{background:#eef3f4;color:#203747;filter:none}
.warehouse-history-dialog .warehouse-history-close:focus-visible{outline:2px solid #176858;outline-offset:3px}
.warehouse-history-dialog .warehouse-history-close svg{display:block;pointer-events:none}
.warehouse-history-dialog .warehouse-history-list{padding:0 28px 12px}
.warehouse-history-dialog .warehouse-history-facts{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(175px,1.5fr)}
@media(max-width:800px){.warehouse-history-dialog .warehouse-history-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.warehouse-history-dialog .warehouse-history-facts>div{padding:0;border:0}.warehouse-history-dialog .warehouse-history-facts strong{white-space:normal;overflow-wrap:normal}}

/* Finance transaction detail and shared dialog close control. */
dialog.finance-lines-dialog{width:min(1120px,94vw);max-width:94vw;max-height:88vh;overflow-y:auto;padding:24px 28px;color:#1b2f43}
.finance-lines-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
.finance-lines-heading h2{margin:0}
.finance-lines-dialog>p{overflow-wrap:anywhere}
.finance-lines-dialog .table-wrap table{table-layout:fixed;white-space:normal}
.finance-lines-dialog .table-wrap th,.finance-lines-dialog .table-wrap td{padding:10px 9px;overflow-wrap:anywhere;vertical-align:middle}
.finance-lines-dialog .table-wrap th:nth-child(1){width:15%}
.finance-lines-dialog .table-wrap th:nth-child(2){width:16%}
.finance-lines-dialog .table-wrap th:nth-child(3){width:22%}
.finance-lines-dialog .table-wrap th:nth-child(4){width:7%}
.finance-lines-dialog .table-wrap th:nth-child(5),.finance-lines-dialog .table-wrap th:nth-child(6){width:12%}
.finance-lines-dialog .table-wrap th:nth-child(7){width:16%}
.finance-lines-dialog>p:last-child{margin:16px 0 0}
dialog .standard-dialog-close{display:flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;padding:0;margin:0;background:transparent;color:#71838e;border:0;border-radius:8px;transition:background .15s,color .15s}
dialog .standard-dialog-close:hover{background:#eef3f4;color:#203747;filter:none}
dialog .standard-dialog-close:focus-visible{outline:2px solid #176858;outline-offset:3px}
dialog .standard-dialog-close svg{display:block;pointer-events:none}

/* Keep transaction details centered in the visible main workspace. */
dialog.finance-lines-dialog{position:fixed;inset:auto;margin:0;transform:translate(-50%,-50%);padding:18px 22px;border-radius:12px}
.finance-lines-dialog .finance-lines-heading h2{font-size:18px}
.finance-lines-dialog>p.muted{margin:8px 0 12px;line-height:1.5}
.finance-lines-dialog .table-wrap th,.finance-lines-dialog .table-wrap td{padding:7px 8px;line-height:1.4}
.finance-lines-dialog>p.muted:last-child{margin:12px 0 0}

.sku-component{margin-bottom:12px}.sku-component-fields{display:grid;grid-template-columns:minmax(0,1fr) 72px 34px;gap:8px;align-items:end}.sku-component-fields label{margin:0}.sku-component-fields button{padding:10px 0}.sku-component-results{max-height:180px;overflow:auto}.sku-component-results button{display:block;width:100%;text-align:left;margin:4px 0;white-space:normal}

[data-wbf-detail] .wb-finance-toolbar [data-wbf-search]{flex-basis:660px;flex-wrap:wrap}[data-wbf-search] select[name=matchStatus]{width:145px;flex:0 0 145px}

.wb-finance-cards .panel{padding:20px 24px;min-width:0;background:#f0f8f4;border-color:#d7e9df}.wb-finance-cards strong{font-size:clamp(20px,1.65vw,28px);overflow-wrap:anywhere}.wb-report-index{width:64px;min-width:64px;text-align:center}.wb-finance-page h2 small{font-size:14px;font-weight:400;margin-left:12px}.wb-summary-pending small{color:#9b681e}@media(max-width:600px){.wb-finance-cards{grid-template-columns:1fr}}

@media(min-width:1400px){.wb-finance-cards{grid-template-columns:repeat(5,minmax(0,1fr))}}

.wb-fulfillment-store-filter{align-items:flex-end;gap:16px;margin:20px 0 16px}.wb-fulfillment-store-filter label{display:flex;flex-direction:column;gap:6px;margin:0;width:240px;min-width:0}.wb-fulfillment-store-filter select,.wb-fulfillment-store-filter>button{height:48px;margin:0;box-sizing:border-box}.wb-fulfillment-page tr[hidden]{display:none}.wb-fulfillment-page [data-status]:empty{display:none}

/* Ozon order details: one summary row, details on demand. */
dialog.ozon-fee-dialog{width:min(1080px,94vw);max-width:94vw;max-height:88vh;padding:0;overflow:hidden;color:#1b2f43}
dialog.ozon-fee-dialog[open]{display:flex;flex-direction:column}
.ozon-fee-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 26px;border-bottom:1px solid #e0e7ed;flex-shrink:0}
.ozon-fee-heading h2{margin:0 0 5px}.ozon-fee-heading p{margin:0;font-size:13px;overflow-wrap:anywhere}
.ozon-fee-body{overflow:auto;min-height:0;padding:20px 26px;overscroll-behavior:contain}
.ozon-fee-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;background:#f0f8f4;padding:16px;border-radius:10px}
.ozon-fee-overview span{font-size:12px;color:#607181}.ozon-fee-overview strong{display:block;margin-top:8px;font-size:20px;color:#1b2f43;font-variant-numeric:tabular-nums}
.ozon-fee-content table{white-space:normal;min-width:640px}.ozon-fee-content th,.ozon-fee-content td{text-align:left;padding:12px;vertical-align:top}.ozon-fee-content td:not(:first-child),.ozon-fee-content th:not(:first-child){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.ozon-fee-content td:first-child{width:52%;overflow-wrap:anywhere}.ozon-fee-content summary{cursor:pointer;line-height:1.7}.ozon-fee-content small{color:#788995}
@media(max-width:650px){.ozon-fee-heading,.ozon-fee-body{padding:16px}.ozon-fee-overview strong{font-size:16px}}

.ozon-fee-list{list-style:none;margin:12px 0 22px;padding:0}.ozon-fee-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:20px;align-items:center;padding:14px 0;border-bottom:1px solid #edf1f4}.ozon-fee-line>span{overflow-wrap:anywhere}.ozon-fee-line time{font-size:12px;color:#87949e;white-space:nowrap}.ozon-fee-line strong{min-width:115px;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:600}.ozon-fee-charge{color:#a93d37}.ozon-fee-income{color:#176858}.ozon-common-fees>summary{cursor:pointer;color:#526475;padding:10px 0}@media(max-width:600px){.ozon-fee-line{gap:8px}.ozon-fee-line time{font-size:10px}.ozon-fee-line strong{min-width:85px;font-size:12px}}

.ozon-fee-formula{background:#f0f8f4;border-radius:10px;padding:16px 18px;margin-bottom:20px}.ozon-formula-terms{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:12px}.ozon-formula-term{display:flex;align-items:center;gap:14px;flex:1 0 auto}.ozon-formula-term small{display:block;color:#607181;font-size:12px;margin-bottom:8px}.ozon-formula-term strong{display:block;font-size:18px;font-variant-numeric:tabular-nums;white-space:nowrap}.ozon-formula-sign{font-size:22px;color:#78938a;font-weight:400}.ozon-formula-result strong{color:#176858}.ozon-formula-result{flex-grow:1}@media(max-width:650px){.ozon-formula-terms{gap:14px}.ozon-formula-term strong{font-size:16px}}

.ozon-cost-heading-note{display:inline-block;margin-top:6px;font-size:12px;font-weight:400;color:#788995}

.ozon-order-search{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ozon-order-search input{width:320px;max-width:100%}.ozon-order-search button{white-space:nowrap}@media(max-width:650px){.ozon-order-search{width:100%}.ozon-order-search input{flex:1;min-width:180px}}

.wb-sku-unmatched,.ozon-unmatched{color:#c0392b!important;font-weight:600}.ozon-order-search select{width:auto}.sku-work-order-list{max-height:150px;overflow:auto}

.ozon-mode-switch{display:flex;justify-content:flex-start;align-items:center;gap:12px;margin:0 0 18px;width:100%}
.ozon-mode-switch button{min-width:112px;min-height:48px;padding:13px 24px;font-size:16px;font-weight:600}

.ozon-local-search{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0}.ozon-local-search input{flex:1;min-width:220px;width:auto}.ozon-local-search select{width:180px;flex:none}.ozon-local-search button{min-width:76px;white-space:nowrap}[data-local-orders] table{min-width:1580px}[data-local-orders] th,[data-local-orders] td{white-space:nowrap}

.ozon-order-pagination{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px;width:100%}

/* Compact local finance layout; keep horizontal scrolling inside tables. */
.ozon-local-finance-page{min-width:0;gap:12px}.ozon-local-finance-page>.panel{padding:18px 20px;min-width:0}.ozon-local-finance-page h2{font-size:18px;margin-bottom:10px}.ozon-local-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;min-width:0}.ozon-local-summary>.panel{padding:12px 14px;margin:0;min-width:0;border-radius:9px}.ozon-local-summary .panel>span{font-size:12px;line-height:1.4;display:block}.ozon-local-summary strong{display:block;font-size:clamp(17px,1.35vw,23px);line-height:1.25;margin:8px 0;overflow-wrap:anywhere}.ozon-local-summary button{padding:3px 8px;font-size:12px}.ozon-local-rate{max-width:300px;margin:4px 0 5px}.ozon-local-cost-panel [data-rate-preview]{display:block;margin-bottom:10px}.ozon-local-expense-editor{margin:8px 0 10px}.ozon-local-expense-editor summary{cursor:pointer;color:#526475}.ozon-local-expense-editor .actions{justify-content:flex-start;gap:12px}.ozon-local-expense-editor input[type=checkbox]{width:auto}.ozon-local-expense-editor label{margin:6px 0}.ozon-local-finance-page .ozon-local-search{justify-content:flex-start;gap:8px;margin:10px 0}.ozon-local-finance-page .ozon-local-search input{flex:none;width:min(380px,100%);min-width:0}.ozon-local-finance-page .ozon-local-search select{width:150px}.ozon-local-finance-page [data-local-orders] td{padding-top:10px;padding-bottom:10px}.ozon-local-finance-page [data-local-orders] button{padding:5px 9px}.ozon-local-finance-page .table-wrap{max-width:100%;min-width:0}@media(max-width:1200px){.ozon-local-summary{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:720px){.ozon-local-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Two-line headings and denser local order rows. */
.ozon-local-finance-page [data-local-orders] table{min-width:1120px;width:100%;table-layout:auto}.ozon-local-finance-page [data-local-orders] th{padding:8px 7px;white-space:normal;line-height:1.35;font-size:12px}.ozon-local-finance-page [data-local-orders] th small{font-size:11px;font-weight:400}.ozon-local-finance-page [data-local-orders] td{padding:7px 7px;line-height:1.3;font-size:13px}.ozon-local-finance-page [data-local-orders] td:first-child{min-width:165px;max-width:215px}.ozon-local-finance-page [data-local-orders] td:nth-child(2){min-width:88px;max-width:135px;white-space:normal;overflow-wrap:anywhere}.ozon-local-finance-page [data-local-orders] td:first-child small{font-size:11px}.ozon-local-finance-page [data-local-orders] .pill{padding:2px 6px;font-size:11px}.ozon-local-finance-page [data-local-orders] button{padding:4px 7px;font-size:12px;margin:2px 0 2px 4px}.ozon-local-finance-page [data-local-orders] td:last-child{white-space:normal;min-width:64px;max-width:90px}

.ozon-local-finance-page [data-local-orders] tbody td{padding-top:5px;padding-bottom:5px;height:auto;line-height:1.25}.local-order-id,.local-order-product{display:flex;align-items:center;justify-content:center;gap:6px;min-height:20px}.local-order-product{margin-top:3px}.local-order-id small{white-space:nowrap}.local-order-tag{font-size:10px;color:#176858;background:#eaf4f0;padding:2px 4px;border-radius:4px;white-space:nowrap}.local-order-product strong{font-size:12px;max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ozon-local-finance-page [data-local-orders] .local-order-product button{font-size:11px;padding:3px 5px;margin:0;white-space:nowrap}.ozon-local-finance-page [data-local-orders] td:first-child{min-width:175px}.ozon-local-finance-page [data-local-orders] tbody td:last-child button{display:inline-block}

.wb-month-cost-panel summary{cursor:pointer;font-weight:600;color:#526475}.wb-month-cost-panel form{margin-top:10px}.wb-month-cost-panel input[type=checkbox]{width:auto}.wb-month-cost-panel td{padding:7px}.wb-month-cost-panel .ozon-local-rate{width:300px;max-width:100%}

.dialog-close-button{position:sticky;top:0;float:right;z-index:10;width:32px;height:32px;padding:0;background:#edf2f3;color:#526475;font-size:24px;line-height:32px}.menu-grant-groups{display:grid;gap:10px}.menu-grant-group{padding:10px;border:1px solid #e1e8ed;border-radius:7px}.menu-grant-group>strong{display:block;margin-bottom:7px}.menu-grant-group .department-choice{margin:5px 0}.employee-positions input{width:auto}

#editor .management-rank[hidden]{display:none!important}

#editor .customer-service-access[hidden],#editor .menu-grant-group[hidden],#editor label[hidden]{display:none!important}

.shop-name-choice{min-width:0}.shop-name-choice .shop-name-viewport{display:block;min-width:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.shop-name-choice .shop-name-text{display:inline-block;max-width:none;white-space:nowrap}.shop-name-scrolling .shop-name-viewport{text-overflow:clip}.shop-name-scrolling .shop-name-text{animation:shop-name-reveal var(--shop-scroll-time,4s) linear .4s infinite alternate}@keyframes shop-name-reveal{0%,12%{transform:translateX(0)}88%,100%{transform:translateX(var(--shop-scroll-distance,0))}}@media(prefers-reduced-motion:reduce){.shop-name-scrolling .shop-name-text{animation:none}.shop-name-scrolling .shop-name-viewport{white-space:normal}.shop-name-scrolling .shop-name-text{white-space:normal}}

.dialog-feedback{position:sticky;top:0;z-index:11;padding:10px 12px;margin-bottom:12px;background:#fff4d8;border:1px solid #edcf82;border-radius:7px;color:#604818;white-space:normal;overflow-wrap:anywhere}

.employee-editor-dialog{border-radius:18px!important;clip-path:inset(0 round 18px);overflow-y:auto}.employee-editor-dialog::-webkit-scrollbar{width:10px}.employee-editor-dialog::-webkit-scrollbar-track{background:transparent;margin-block:18px}.employee-editor-dialog::-webkit-scrollbar-thumb{background:#c3cbce;border:2px solid white;border-radius:8px}

.password-optional-tip{display:flex;align-items:center;gap:10px;margin-bottom:14px;padding:10px 14px;background:#eef6f4;border:1px solid #d5e6e1;border-radius:9px;color:#526b76;font-size:13px}.password-optional-tip>span{flex:1}.password-optional-tip button{padding:6px 10px}

/* Unified corners for every application dialog, including scrollable forms. */
dialog{border-radius:18px!important;clip-path:inset(0 round 18px)}dialog::-webkit-scrollbar{width:10px}dialog::-webkit-scrollbar-track{background:transparent;margin-block:18px}dialog::-webkit-scrollbar-thumb{background:#c3cbce;border:2px solid white;border-radius:8px}

.task-filters label[hidden]{display:none!important}

.task-table .task-sequence{width:56px;min-width:56px;text-align:center;padding-inline:8px}

.task-counts{grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:900px){.task-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Shared quiet scrollbars for pages, tables, sidebars and dialogs. */
*{scrollbar-color:auto!important}*::-webkit-scrollbar{width:6px!important;height:6px!important}*::-webkit-scrollbar-track,*::-webkit-scrollbar-corner{background:transparent!important}*::-webkit-scrollbar-button{display:none!important;width:0!important;height:0!important}*::-webkit-scrollbar-thumb{background:transparent!important;border:0!important;border-radius:6px!important}.is-scrolling::-webkit-scrollbar-thumb{background:#a9cfc0!important}.is-scrolling::-webkit-scrollbar-thumb:hover{background:#86b7a3!important}.shell main{padding-right:24px}#content{padding-right:6px}@supports not selector(::-webkit-scrollbar){*{scrollbar-width:thin;scrollbar-color:transparent transparent!important}.is-scrolling{scrollbar-color:#a9cfc0 transparent!important}}

*::-webkit-scrollbar-thumb{transition:background-color .45s ease!important}

.is-scrolling::-webkit-scrollbar-thumb{background:rgba(169,207,192,var(--scrollbar-alpha,1))!important}.is-scrolling::-webkit-scrollbar-thumb:hover{background:rgba(134,183,163,var(--scrollbar-alpha,1))!important}

/* Unified backgrounds for numerical data summaries. */
:root{--summary-fill:#edf7f2;--summary-border:#cfe4d9;--task-alert-border:#e25a5a}
.card,.employee-stat,.management-metric,.task-metric,.wb-finance-cards>*,.ozon-finance-cards>*,.service-performance-cards>*,.operator-performance-cards>*,.rating-cards>*,.product-summary-cards>*{background:var(--summary-fill)!important;border-color:var(--summary-border)!important}
.employee-stat.attention,.employee-stat.danger-card,.task-metric.risk,.task-owner-chip.has-risk,.employee-focus.is-overdue,.employee-message.urgent,.task-focus-item:has(.task-priority.urgent),.task-focus-item:has(.overdue){border:1px solid var(--task-alert-border)!important}
.employee-message.urgent{background:var(--summary-fill)!important;border-left-width:3px!important}

.employee-stat.attention>span,.employee-stat.attention>strong,.employee-stat.pending-attention>span,.employee-stat.pending-attention>strong,.employee-stat.danger-card>span,.employee-stat.danger-card>strong,.task-metric.risk>span,.task-metric.risk>strong{color:#d74747!important}

.sent-message-actions{white-space:nowrap;width:1%}.sent-message-actions button{display:inline-block;vertical-align:middle;margin:0 0 0 6px!important;padding:7px 10px!important;font-size:13px;border-radius:6px}.sent-message-actions button:first-child{margin-left:0!important}

.sent-messages-table{table-layout:fixed;width:100%}.sent-messages-table th,.sent-messages-table td{padding:12px 10px!important}.sent-messages-table th:nth-child(1){width:110px}.sent-messages-table th:nth-child(3){width:70px}.sent-messages-table th:nth-child(4){width:190px}.sent-messages-table th:nth-child(5){width:90px}.sent-messages-table th:nth-child(6){width:250px}.sent-messages-table .sent-message-actions{width:250px;white-space:nowrap}.sent-message-action-row{display:flex!important;flex-flow:row nowrap!important;justify-content:center;align-items:center;gap:8px}.sent-message-action-row button{flex:0 0 auto;margin:0!important;white-space:nowrap;padding:8px 12px!important}.sent-messages-table .task-title{overflow-wrap:anywhere}

.employee-welcome .management-clock{margin-left:auto;flex-shrink:0}.employee-welcome{gap:24px}.employee-welcome [data-home-view="tasks"]{display:none}@media(max-width:750px){.employee-welcome{flex-wrap:wrap}.employee-welcome .management-clock{margin-left:0}}

.sent-messages-table .sent-message-action-row{display:flex!important;align-items:center!important;gap:8px}.sent-messages-table .sent-message-action-row button{height:36px!important;min-height:36px!important;box-sizing:border-box;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:20px!important;margin:0!important;padding:8px 12px!important;transform:none!important;vertical-align:middle!important}

@media(min-width:1000px){.employee-welcome .management-clock{margin-left:auto;margin-right:clamp(140px,15vw,280px)}}

.message-item-actions,.sent-message-action-row{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:8px!important}.message-item-actions{flex-shrink:0}.message-item-actions button,.sent-messages-table .sent-message-action-row button{height:36px!important;min-height:36px!important;max-height:36px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;margin:0!important;padding:8px 12px!important;line-height:20px!important;box-sizing:border-box!important;white-space:nowrap!important;transform:none!important;position:static!important}.message-item>div:first-child{min-width:0}.message-item{align-items:center!important}

.management-memo .memo-done-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-width:0}.management-memo .memo-done-row>span{white-space:normal;overflow-wrap:anywhere;min-width:0}.management-memo .memo-done-actions{display:flex!important;flex-wrap:nowrap;visibility:visible!important;opacity:1!important;gap:6px}.management-memo .memo-done-actions button{display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap;margin:0!important;min-height:28px}.management-memo .memo-completed-list{overflow-x:hidden;padding-right:4px}

.message-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 16px!important}.message-controls .message-folder-tabs{display:flex;gap:8px;margin:0!important}.message-controls>button:last-child{margin-left:auto}.message-controls button{margin-top:0!important;margin-bottom:0!important}

/* All message actions are direct children of one row; no nested offsets. */
.message-item-actions>button,.sent-message-action-row>button{align-self:center!important;top:auto!important;bottom:auto!important;margin-block:0!important;border-width:0!important;height:36px!important;min-height:36px!important;max-height:36px!important}

.shell main>header{display:flex;align-items:center;gap:20px}.shared-header-alerts{flex:1;min-width:0;margin-left:auto;display:flex;flex-direction:column;gap:6px}.shared-header-alerts:has(> [hidden]):not(:has(> :not([hidden]))){display:none}.shared-header-alerts #message-ticker,.shared-header-alerts #customer-service-alert{width:100%;max-width:none;margin:0!important;min-width:0;box-sizing:border-box}.shared-header-alerts #message-ticker{min-height:44px}.shared-header-alerts .ticker-label{padding:10px 12px;font-size:13px}.shared-header-alerts .ticker-track{padding:10px 0;font-size:13px}@media(max-width:760px){.shell main>header{flex-wrap:wrap}.shared-header-alerts{flex-basis:100%}}

.shared-header-alerts #message-ticker{padding:0!important;align-items:stretch!important;min-height:40px;border-radius:9px;overflow:hidden}.shared-header-alerts #message-ticker .ticker-label{display:flex;align-items:center;justify-content:center;margin:0!important;padding:0 12px!important;align-self:stretch;line-height:1.4;border-radius:0}.shared-header-alerts #message-ticker .ticker-window{display:flex;align-items:center;min-width:0}.shared-header-alerts #message-ticker .ticker-track{line-height:20px;padding:10px 0!important}

/* Shared header alerts must never inherit the former horizontal flex basis. */
.shell main>header .shared-header-alerts{display:flex;flex-direction:column;min-width:0;overflow:hidden}
.shell main>header .shared-header-alerts #customer-service-alert{flex:0 0 auto;width:100%;max-width:none;margin:0;padding:8px 12px}
.shell main>header .shared-header-alerts #message-ticker{flex:0 0 44px;height:44px;min-height:44px;max-height:44px;width:100%;white-space:nowrap}
.shared-header-alerts #message-ticker .ticker-label{flex:0 0 auto;height:42px;box-sizing:border-box}
.shared-header-alerts #message-ticker .ticker-window{position:relative;flex:1 1 0;height:42px;overflow:hidden;min-width:0}
.shared-header-alerts #message-ticker .ticker-track{position:absolute;top:0;left:0;display:block;width:max-content;max-width:none;height:42px;box-sizing:border-box;white-space:nowrap;line-height:22px;padding:10px 0!important;will-change:transform}
@keyframes message-single-scroll{from{transform:translateX(var(--ticker-start))}to{transform:translateX(-100%)}}

/* One shared full-width notification region below the page title. */
.shell main>.shared-header-alerts{flex:0 0 auto;width:100%;margin:0 0 20px;display:flex;flex-direction:column;gap:8px;min-width:0;overflow:hidden}
.shell main>.shared-header-alerts:not(:has(> :not([hidden]))){display:none}
.shell main>.shared-header-alerts #customer-service-alert{flex:0 0 auto;width:100%;max-width:none;margin:0!important;padding:10px 14px;box-sizing:border-box}
.shell main>.shared-header-alerts #customer-service-alert>div{flex:1;min-width:0}
.shell main>.shared-header-alerts #customer-service-alert span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shell main>.shared-header-alerts #message-ticker{flex:0 0 44px;height:44px;min-height:44px;max-height:44px;width:100%;white-space:nowrap}
.shell main.sales-dashboard-main>.shared-header-alerts,.shell main:has(>#content.sales-live-view)>.shared-header-alerts{display:none!important}

/* Fixed shared layout: work ticker beside title, customer service below. */
.shell main>header{flex-wrap:nowrap}
.shell main>header>.shared-header-alerts{flex:1 1 0;margin:0 0 0 auto;min-width:0;overflow:hidden}
.shell main>header>.shared-header-alerts:not(:has(> :not([hidden]))){display:none}
.shell main>#customer-service-alert{flex:0 0 auto;width:100%;min-width:0;box-sizing:border-box;margin:0 0 20px;padding:10px 14px}
.shell main>#customer-service-alert>div{flex:1;min-width:0}
.shell main>#customer-service-alert span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shell main>#customer-service-alert button{white-space:nowrap}

.message-preview{flex:1;min-width:0;cursor:pointer;border-radius:6px}.message-preview:focus-visible,.message-content-button:focus-visible{outline:2px solid #2b8b70;outline-offset:4px}.message-preview p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.message-preview:hover strong{color:#176d5b}.message-content-button{display:block;width:100%;padding:0;background:transparent;color:inherit;text-align:inherit;font:inherit;white-space:normal;overflow-wrap:anywhere}.message-content-button:hover{background:transparent;color:#176d5b}.message-detail-meta{display:flex;flex-wrap:wrap;gap:8px 24px;color:#667e8c;font-size:14px}.message-detail-content{margin-top:20px;padding:18px;border-radius:10px;background:#edf7f2;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}

.message-reply-form{margin-top:20px;padding-top:18px;border-top:1px solid #dce6ea}.message-reply-form textarea{margin-top:8px}.message-reply-form .actions{margin-top:12px}

/* Give message text the remaining width and keep metadata compact. */
.sent-messages-table th:nth-child(1){width:80px}.sent-messages-table th:nth-child(3){width:48px}.sent-messages-table th:nth-child(4){width:108px}.sent-messages-table th:nth-child(5){width:88px}.sent-messages-table th:nth-child(6),.sent-messages-table .sent-message-actions{width:238px}.sent-messages-table th,.sent-messages-table td{padding:12px 8px!important}.sent-messages-table .message-content-button{text-align:left;line-height:1.65}.message-table-time{display:inline-block;white-space:nowrap;line-height:1.6;font-variant-numeric:tabular-nums}

/* Message background follows read state, independently of priority. */
.message-list .message-item:not(.read){background:#fff2f1!important}.message-list .message-item.read{background:#fff!important;opacity:1}

/* Horizontal scrollbars are discoverable on hover; vertical bars retain scroll-only visibility. */
*:hover::-webkit-scrollbar-thumb:horizontal{background:rgba(169,207,192,1)!important}*:hover::-webkit-scrollbar-thumb:horizontal:hover{background:rgba(134,183,163,1)!important}.workspace-horizontal-scroll{transition:background-color .45s ease,border-color .45s ease}.workspace-horizontal-scroll:hover{background:#edf7f2;border-color:#a9cfc0}

dialog.ozon-fee-dialog .ozon-fee-heading>.dialog-close-button{position:static;float:none;flex:0 0 32px;margin:0;align-self:flex-start}

button.field-help{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;min-height:0;padding:0;margin:0 0 0 3px;border:1px solid #a5beb5;border-radius:50%;background:#edf7f2;color:#477264;font-size:12px;font-weight:600;line-height:1;vertical-align:middle;cursor:help}button.field-help:hover,button.field-help:focus-visible{background:#dceee5;color:#176858}

.ozon-net-detail{margin-top:5px;font-size:12px;padding:4px 9px;line-height:1.4}

.ozon-missing-rate{color:#cf3f36;font-size:12px}.ozon-missing-rate b{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border:1px solid currentColor;border-radius:50%;font-size:12px}

.ozon-missing-rate{cursor:help}

/* Common close placement for normal and flex-column dialogs. */
dialog .dialog-close-button{align-self:flex-end;flex:0 0 32px;margin-left:auto;margin-right:0;right:0;display:inline-flex;align-items:center;justify-content:center}dialog .shared-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}dialog .shared-dialog-heading>.dialog-close-button{position:static;float:none;align-self:flex-start;margin:0 0 0 auto;flex:0 0 32px}

.ozon-summary-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.ozon-summary-title .field-help{flex:0 0 18px}.ozon-summary-card>button[data-monthly]{display:block;width:max-content;margin-top:12px}

/* Ten monthly metrics arranged as two balanced rows. */
.wb-finance-cards.ozon-monthly-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;min-width:0}.ozon-monthly-grid>.ozon-summary-card{min-width:0;min-height:190px;padding:18px;box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch}.ozon-monthly-grid .ozon-summary-title{font-size:14px;min-height:38px;line-height:1.4}.ozon-monthly-grid>.ozon-summary-card>strong{font-size:clamp(22px,1.8vw,29px);margin:12px 0;overflow-wrap:anywhere;line-height:1.25}.ozon-monthly-grid>.ozon-summary-card>small{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.ozon-monthly-grid>.ozon-summary-card>button[data-monthly]{margin-top:auto;align-self:flex-start;padding:7px 12px;font-size:13px}.ozon-monthly-grid>.ozon-summary-card>small:last-of-type{margin-bottom:12px}@media(max-width:900px){.wb-finance-cards.ozon-monthly-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Compact finance detail rows; never stretch sparse records to fill a dialog. */
dialog.finance-lines-dialog{height:auto!important;min-height:0!important;padding:20px 22px}.finance-lines-dialog .table-wrap{height:auto!important;min-height:0!important;max-height:60vh}.finance-lines-dialog .table-wrap table,.finance-lines-dialog thead,.finance-lines-dialog tbody,.finance-lines-dialog tr{height:auto!important;min-height:0!important}.finance-lines-dialog .table-wrap th,.finance-lines-dialog .table-wrap td{height:auto!important;min-height:0!important;padding:10px 8px!important;line-height:1.45!important;font-size:13px}.finance-lines-dialog .table-wrap th{background:#edf7f2!important;font-size:12px}.finance-lines-dialog .table-wrap th:nth-child(1){width:15%}.finance-lines-dialog .table-wrap th:nth-child(2){width:14%}.finance-lines-dialog .table-wrap th:nth-child(3){width:23%}.finance-lines-dialog .table-wrap th:nth-child(4){width:6%}.finance-lines-dialog .table-wrap th:nth-child(n+5){width:10.5%}.finance-lines-dialog .table-wrap td:nth-child(n+5){white-space:nowrap}.finance-lines-dialog .table-wrap td{background:white!important}.finance-lines-dialog .finance-lines-heading h2{font-size:18px}

/* Shop ratings: fit the workspace and keep filters/metrics compact. */
.rating-page{width:100%;min-width:0;max-width:100%;gap:14px}.rating-page>*{min-width:0;max-width:100%}.rating-page .panel{padding:16px 18px}.rating-page>.rating-toolbar{gap:10px}.rating-page .rating-toolbar>.actions{flex-wrap:wrap;gap:8px;margin:0}.rating-page button{padding:8px 12px;font-size:13px}.rating-page button.field-help{padding:0;width:18px;height:18px}.rating-page .rating-toolbar p{margin:5px 0 0}.rating-page .rating-filters{grid-template-columns:minmax(130px,1fr) minmax(150px,1fr) minmax(250px,1.2fr);gap:16px;align-items:end}.rating-page .rating-filters>*{min-width:0}.rating-page .rating-filters label{margin:0}.rating-page .rating-filters select{padding:8px 10px;margin-top:5px}.rating-page .rating-filters .actions{display:flex;flex-wrap:wrap;gap:6px;margin:5px 0 0}.rating-page .rating-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.rating-page .rating-cards>.panel{padding:14px 18px;min-height:94px}.rating-page .rating-cards strong{font-size:28px;margin:8px 0 0;line-height:1.2}.rating-metric-title{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}.rating-page .rating-trend{overflow:hidden}.rating-page .rating-empty{min-height:110px;padding:12px}.rating-page .rating-empty p{margin:6px 0 0;font-size:12px}.rating-page .rating-chart svg{height:170px}.rating-page .rating-trend select{width:260px;max-width:100%;padding:8px 10px}.rating-page .table-wrap{min-width:0;max-width:100%}.rating-page .rating-toolbar h2{font-size:17px}@media(max-width:1000px){.rating-page .rating-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.rating-page .rating-filters>div{grid-column:1/-1}}@media(max-width:650px){.rating-page .rating-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

.rating-error-hint{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;margin-left:6px;border:1px solid #ce493f;border-radius:50%;color:#ce493f;font-size:12px;line-height:1;cursor:help}.rating-page .shop-ratings-table{table-layout:fixed;width:100%;min-width:850px;white-space:normal}.rating-page .shop-ratings-table th,.rating-page .shop-ratings-table td{padding:10px 8px!important;overflow-wrap:anywhere}.shop-ratings-table th:nth-child(1){width:18%}.shop-ratings-table th:nth-child(2){width:9%}.shop-ratings-table th:nth-child(3){width:12%}.shop-ratings-table th:nth-child(4){width:9%}.shop-ratings-table th:nth-child(5){width:10%}.shop-ratings-table th:nth-child(6){width:14%}.shop-ratings-table th:nth-child(7){width:14%}.shop-ratings-table th:nth-child(8){width:14%}.rating-page .shop-ratings-table td small{white-space:normal}.rating-page .shop-ratings-table td:last-child button{margin:3px 0}

/* Warehouse names wrap while editable controls keep usable widths. */
.wb-fulfillment-page .table-wrap>table{table-layout:fixed;width:100%;min-width:760px;white-space:normal}.wb-fulfillment-page .table-wrap th:nth-child(1){width:17%}.wb-fulfillment-page .table-wrap th:nth-child(2){width:37%}.wb-fulfillment-page .table-wrap th:nth-child(3){width:16%}.wb-fulfillment-page .table-wrap th:nth-child(4){width:22%}.wb-fulfillment-page .table-wrap th:nth-child(5){width:8%}.wb-fulfillment-page .table-wrap td:nth-child(2){white-space:normal!important;overflow-wrap:anywhere;word-break:normal;line-height:1.6}.wb-fulfillment-page .table-wrap td:nth-child(2) small{display:inline-block;margin-top:3px}.wb-fulfillment-page .table-wrap select{width:100%;min-width:0;padding:9px 7px}

.design-score-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:16px 0}.design-score-grid>div{padding:16px;background:#edf7f2;border:1px solid #cfe4da;border-radius:10px}.design-score-grid span{font-size:13px;color:#607181}.design-score-grid strong{display:block;font-size:25px;margin-top:8px}.design-review-fields{border:1px solid #dce6ea;border-radius:10px;padding:12px 16px}.design-review-fields .row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.design-review-fields label{margin:5px 0}@media(max-width:700px){.design-score-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Shared configurable performance workspace. */
.perf-heading .toolbar h2{margin-bottom:8px}.perf-heading small{color:#718797}.perf-filters{display:flex;align-items:end;gap:16px;flex-wrap:wrap}.perf-filters label{margin:0;min-width:180px}.perf-filters input,.perf-filters select{margin-top:6px}.perf-controls{flex-wrap:wrap;margin:18px 0 0}.perf-score-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin-top:18px}.perf-score-strip>div{min-width:0;padding:14px;border:1px solid #cfe4da;border-radius:10px;background:#edf7f2}.perf-score-strip strong{display:block;font-size:25px;margin-top:8px}.perf-score-strip span{font-size:13px;color:#526475}.perf-published{margin-top:16px;padding:14px;border-radius:9px;background:#edf7f2}.perf-published span{display:block;font-size:12px;color:#607181;margin-top:5px}.perf-project{margin-top:16px}.perf-project h3{margin:0}.perf-rule-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.perf-rule{border:1px solid #dce6ea;border-radius:9px;padding:14px;min-width:0}.perf-rule.needs-data{border-color:#e8b4ad}.perf-rule-main{display:flex;justify-content:space-between;gap:12px}.perf-rule p{font-size:12px;line-height:1.6;margin:8px 0}.perf-rule .actions{justify-content:flex-start;gap:8px;margin:0}.perf-rule button{font-size:12px;padding:7px 10px}.perf-json{white-space:pre-wrap;overflow-wrap:anywhere;max-height:45vh;overflow:auto;background:#f5f9f7;padding:14px;border-radius:8px;font-size:12px}.perf-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.perf-template-grid article{border:1px solid #d4e5dd;background:#edf7f2;border-radius:10px;padding:16px}.perf-template-grid h3{margin:0}.perf-template-grid p{font-size:12px;margin:8px 0}.perf-template-grid .actions{margin:10px 0 0;justify-content:flex-start;flex-wrap:wrap}.perf-editor-dialog{width:min(1120px,94vw);max-width:94vw}.perf-group-editor{margin:16px 0;padding:14px;border:1px solid #dce6ea;border-radius:9px}.perf-group-editor .row,.perf-editor-dialog form>.row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.perf-group-editor label{margin-top:0}.perf-group-editor table{min-width:650px;table-layout:fixed;white-space:normal}.perf-group-editor th,.perf-group-editor td{padding:8px 5px!important}.perf-group-editor th:nth-child(1){width:25%}.perf-group-editor th:nth-child(2){width:25%}.perf-group-editor th:nth-child(3){width:10%}.perf-group-editor th:nth-child(4){width:20%}.perf-group-editor th:nth-child(5){width:20%}.perf-group-editor input,.perf-group-editor select{padding:7px;min-width:0}.perf-group-editor td button{padding:6px;font-size:12px;margin:3px}.perf-group-editor .actions{justify-content:flex-start;flex-wrap:wrap}.perf-band{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end;margin-bottom:10px}.perf-band label{margin:0}.perf-band button{margin:0}.perf-plan-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-height:60vh;overflow:auto}.perf-plan-rules fieldset{min-width:0;border:1px solid #dce6ea;border-radius:9px;padding:12px}.perf-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.perf-values[hidden]{display:none}.perf-heading input[type=checkbox],.perf-editor-dialog input[type=checkbox]{width:auto}dialog form input[type=checkbox]{width:auto}@media(max-width:800px){.perf-rule-list,.perf-template-grid,.perf-plan-rules{grid-template-columns:1fr}.perf-group-editor .row,.perf-editor-dialog form>.row{grid-template-columns:1fr}}
