:root{
  --navy:#121d28;--navy-2:#182633;--navy-3:#213342;--green:#16b364;--green-dark:#0d8d4b;--green-soft:#e7f8ef;
  --bg:#f4f7fb;--surface:#fff;--surface-2:#f8fafc;--text:#17212b;--muted:#718096;--line:#e2e8f0;--line-strong:#d3dce7;
  --violet:#7356e8;--violet-soft:#eee9ff;--cyan:#12a9df;--cyan-soft:#e5f8ff;--orange:#ee9a17;--orange-soft:#fff3dc;--red:#e45151;
  --shadow:0 1px 2px rgba(15,23,42,.03),0 10px 30px rgba(15,23,42,.035);--radius:13px;--radius-sm:9px;--sidebar:218px;
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif;background:var(--bg);color:var(--text)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.app-shell{min-height:100vh}.side{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:linear-gradient(180deg,#111b26 0%,#152331 100%);color:#d9e2eb;padding:21px 10px 14px;display:flex;flex-direction:column;z-index:50}.brand{font-size:18px;font-weight:800;letter-spacing:-.35px;padding:2px 11px 25px;color:#f4f8fb}.brand b{color:#39d486}.brand span{color:#fff}.nav-section{font-size:9px;letter-spacing:.14em;color:#7f93a5;font-weight:800;padding:0 13px 8px}.service-section{margin-top:23px}.nav{display:grid;gap:3px}.nav a{min-height:40px;display:flex;align-items:center;gap:12px;padding:0 12px;border-radius:8px;color:#c6d2de;font-size:14px;font-weight:650;transition:.15s}.nav a:hover{background:rgba(255,255,255,.06);color:#fff}.nav a.active{background:linear-gradient(90deg,rgba(22,179,100,.26),rgba(22,179,100,.12));color:#fff;box-shadow:inset 3px 0 0 #24cf78}.nav-ico{width:18px;text-align:center;color:#b7c5d2;font-size:15px}.nav a.active .nav-ico{color:#47dd91}.side-spacer{flex:1}.side-box{border-top:1px solid rgba(255,255,255,.08);padding:13px 4px 10px}.side-box label{display:block;color:#8396a8;font-size:9px;font-weight:800;letter-spacing:.08em;margin:0 7px 6px}.side-box select{width:100%;height:35px;border:1px solid rgba(255,255,255,.1);background:#1a2a38;color:#dfe8ef;border-radius:8px;padding:0 9px;outline:none}.user-row{display:flex;align-items:center;gap:9px;border-top:1px solid rgba(255,255,255,.08);padding:12px 8px 3px}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#d9e4ed;color:#1c2b38;font-weight:850}.user-meta{min-width:0;display:grid;gap:2px;flex:1}.user-meta strong{font-size:11px;color:#fff}.user-meta small{font-size:10px;color:#8fa1b2}.user-more{color:#8fa1b2;font-weight:900}.logout-form{padding:0 8px;margin-top:8px}.side-logout{width:100%;background:rgba(255,255,255,.05)!important;color:#b9c6d1!important;border-color:rgba(255,255,255,.08)!important}.main{margin-left:var(--sidebar);min-height:100vh}.topbar{height:68px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:16px;padding:0 24px;position:sticky;top:0;z-index:40}.menu-toggle{display:none;border:0;background:transparent;font-size:23px;color:#526579}.global-search{height:38px;max-width:615px;flex:1;background:#f1f5f9;border:1px solid #edf1f5;border-radius:8px;display:flex;align-items:center;gap:9px;padding:0 12px;color:#8190a1}.global-search input{border:0;outline:0;background:transparent;min-width:0;flex:1;color:var(--text);font-size:13px}.global-search kbd{font-size:10px;color:#9aa8b6}.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:8px}.icon-btn{width:35px;height:35px;border:0;background:transparent;color:#51657a;display:grid;place-items:center;border-radius:8px;font-size:18px;position:relative}.icon-btn:hover{background:#f4f7fa}.icon-btn i{position:absolute;width:7px;height:7px;border-radius:50%;background:#e74c4c;right:6px;top:7px}.top-user{height:38px;display:flex;align-items:center;gap:8px;padding:0 5px 0 7px;color:#22303d;font-size:11px;font-weight:750}.top-user span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#152433;color:#fff}.top-user em{font-style:normal;color:#8190a0}.page-content{padding:24px 26px 34px;max-width:1600px;margin:0 auto}.page-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:21px}.page-title-row h1{margin:0 0 4px;font-size:31px;line-height:1.1;letter-spacing:-.8px}.muted{color:var(--muted)}.btn{height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line-strong);background:#fff;color:#415467;border-radius:8px;padding:0 14px;font-size:13px;font-weight:750;cursor:pointer;box-shadow:0 1px 1px rgba(0,0,0,.02)}.btn:hover{background:#f8fafc}.btn-primary{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 4px 12px rgba(22,179,100,.18)}.btn-primary:hover{background:var(--green-dark)}.secondary{background:#fff;color:#5e7082}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}.home-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.home-kpi{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;display:flex;align-items:center;gap:12px}.kpi-icon{width:37px;height:37px;border-radius:9px;display:grid;place-items:center;font-weight:850}.kpi-icon.green{background:var(--green-soft);color:var(--green-dark)}.kpi-icon.violet{background:var(--violet-soft);color:var(--violet)}.kpi-icon.dark{background:#edf2f6;color:#253747}.kpi-icon.orange{background:var(--orange-soft);color:#bd7100}.home-kpi small{display:block;color:#77889a;font-size:10px;margin-bottom:3px}.home-kpi strong{font-size:22px;letter-spacing:-.3px}.dashboard-card{padding:0;overflow:hidden}.dashboard-card .section-head{padding:18px 20px 14px;margin:0}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.section-head h2{margin:0 0 4px;font-size:18px}.section-head a{font-size:11px;color:var(--green-dark);font-weight:800}.section-head .muted{font-size:11px}.order-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:17px}.summary-card{min-height:72px;border:1px solid var(--line);background:#fff;border-radius:11px;display:flex;align-items:center;gap:12px;padding:11px 14px}.summary-card .summary-icon{width:40px;height:40px;border-radius:9px;display:grid;place-items:center;font-size:17px;font-weight:900}.summary-card>div{display:grid;gap:2px;flex:1}.summary-card b{font-size:16px}.summary-card small{font-size:11px;color:#7a8999}.summary-arrow{font-size:23px;color:#8da0b1}.summary-green .summary-icon{background:var(--green-soft);color:var(--green-dark)}.summary-orange .summary-icon{background:var(--orange-soft);color:#bd7100}.summary-dark .summary-icon{background:#1d2b38;color:#fff}.action-strip{display:flex;align-items:center;gap:8px;margin-bottom:10px}.quick-action{height:38px;border:1px solid var(--line-strong);background:#fff;color:#526679;border-radius:8px;padding:0 14px;font-size:13px;font-weight:800;cursor:pointer}.quick-action.primary{background:var(--green);border-color:var(--green);color:#fff}.saved-filter{margin-left:auto;color:#7d8c9b;font-size:10px}.filter-panel{display:none;background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px;margin-bottom:10px}.filter-panel.open{display:block}.filter-form{display:grid;grid-template-columns:repeat(4,1fr) auto;gap:9px;align-items:end}.filter-form label{font-size:9px;color:#7a8998;font-weight:800}.filter-form select{width:100%;height:36px;margin-top:5px;border:1px solid var(--line-strong);border-radius:7px;background:#fff;padding:0 8px;color:#43566a}.filter-actions{display:flex;gap:7px}.orders-toolbar-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:10px 12px;margin-bottom:12px}.orders-search{height:39px;display:flex;align-items:center;gap:8px;background:#f8fafc;border:1px solid #e6edf3;border-radius:8px;padding:0 10px;color:#8796a5}.orders-search input{flex:1;min-width:0;border:0;background:transparent;outline:0;font-size:13px;color:var(--text)}.orders-search .btn{height:32px}.search-subline{font-size:9px;color:#8291a0;padding:7px 2px 0}.results-head{display:flex;justify-content:space-between;align-items:center;margin:10px 2px 8px;font-size:11px;color:#7d8c9a}.results-head b{color:#253443}.table-wrap{background:#fff;border:1px solid var(--line);border-radius:11px;overflow:auto;box-shadow:var(--shadow)}.table{width:100%;border-collapse:separate;border-spacing:0;min-width:980px}.table th,.table td{text-align:left;padding:14px 13px;border-bottom:1px solid #edf1f5;font-size:12px;vertical-align:middle}.table th{background:#f4f7fa;color:#748597;font-size:10px;text-transform:none;letter-spacing:.02em;font-weight:800;white-space:nowrap}.table tr:last-child td{border-bottom:0}.table tbody tr:hover td{background:#fbfdff}.check-col{width:36px;text-align:center!important}.check-col input{accent-color:var(--green)}.order-link{font-weight:850;color:#2870bd}.client-link{font-weight:800;color:#2878c7}.cell-sub{display:block;color:#8998a8;font-size:10px;margin-top:3px}.status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:4px 10px;border-radius:7px;color:#fff;font-size:10px;font-weight:850;white-space:nowrap}.status-green{background:#20ad68}.status-cyan{background:#12a9df}.status-violet{background:#7356e8}.status-orange{background:#ef9a17}.status-red{background:#e45151}.more-col{font-size:17px;color:#8d9cab;text-align:center!important}.table-footer{display:flex;justify-content:space-between;align-items:center;padding:10px 2px;color:#66788b;font-size:11px}.pager{display:flex;gap:4px}.pager button{width:30px;height:30px;border:1px solid var(--line);background:#fff;border-radius:7px;color:#64778a}.pager button.current{background:var(--green);border-color:var(--green);color:#fff}.pager button:disabled{opacity:.45}.compact-table{min-width:0}.compact-table th,.compact-table td{padding:11px 14px}.orders-mobile{display:none}.order-card{display:block;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;margin-bottom:9px;box-shadow:var(--shadow)}.order-card-top,.order-card-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center}.order-card-device{font-size:16px;font-weight:850;margin:9px 0 3px}.order-card-client{color:var(--muted);font-size:12px;margin-top:4px}.order-card-bottom{margin-top:13px;font-size:11px}.order-card-bottom b{font-size:15px;color:var(--green-dark)}.empty{text-align:center;padding:34px!important;color:var(--muted)!important}.metric{padding:18px}.metric .label{color:#7b8997;font-size:10px}.metric .value{font-size:25px;font-weight:850;margin-top:5px}.form{max-width:920px}.formgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.field label{display:block;font-size:11px;color:#737d76;font-weight:700;margin:0 0 6px}.field input,.field select,.field textarea{width:100%;padding:11px 12px;border:1px solid var(--line-strong);border-radius:9px;background:#fff;color:var(--text);outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:#8bcaa1;box-shadow:0 0 0 3px rgba(22,179,100,.08)}.field textarea{min-height:94px;resize:vertical}.full{grid-column:1/-1}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.actions select,.actions input:not([type=file]){height:40px;padding:8px 10px;border:1px solid var(--line-strong);border-radius:9px;background:#fff}.top{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px}.kpi-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}.kpi{background:#fff;border:1px solid var(--line);border-radius:11px;padding:12px 14px}.kpi-label{font-size:9px;color:#7a8998}.kpi-value{font-size:20px;font-weight:850;margin-top:4px}.kpi.good .kpi-value{color:var(--green-dark)}.kpi.warn .kpi-value{color:#c37a0b}.search-row{display:grid;grid-template-columns:minmax(0,1fr) 170px auto;gap:8px}.search-main{position:relative}.search-main input{width:100%;height:42px;border:1px solid var(--line-strong);border-radius:9px;padding:0 13px 0 38px;background:#fff;outline:none}.search-icon{position:absolute;left:13px;top:10px;color:#8b99a7}.search-row select{height:42px;padding:0 11px;border:1px solid var(--line-strong);border-radius:9px;background:#fff;color:var(--text)}.search-hint{padding:7px 3px 0;font-size:9px;color:var(--muted)}.order-results-head{display:flex;justify-content:space-between;align-items:center;margin:13px 3px 9px;color:var(--muted);font-size:10px}.order-results-head b{color:var(--text)}.dashboard-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:20px}.dashboard-hero .eyebrow{font-size:11px;color:var(--green-dark);font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px}.dashboard-hero h1{margin:0;font-size:30px;letter-spacing:-.7px}.today-card{margin-top:16px}.order-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px}.order-meta{margin-top:7px;color:var(--muted)}.big{font-size:25px;font-weight:850;letter-spacing:-.5px}.order-tabs{display:flex;gap:7px;overflow:auto;margin-bottom:15px;padding-bottom:2px}.order-tabs a{background:#fff;border:1px solid var(--line);padding:9px 12px;border-radius:9px;white-space:nowrap;font-size:12px;font-weight:700;color:#626d66}.order-tabs a:hover{background:var(--green-soft);color:var(--green-dark);border-color:#cfe8d7}.order-head{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:15px}.order-head h2,.card h2{font-size:17px;margin:0 0 15px}.line{border:0;border-top:1px solid var(--line);margin:18px 0}.finance-row{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:12px 0}.profit{font-size:22px;font-weight:850;color:var(--green-dark)}.salary-box{margin-top:11px;padding:13px;border-radius:11px;background:var(--green-soft);display:flex;justify-content:space-between;gap:10px}.event{padding:11px 0;border-bottom:1px solid var(--line)}.event:last-child{border-bottom:0}.event .muted{float:right}.checkgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.check{border:1px solid var(--line);border-radius:11px;padding:11px;background:#fafcfb}.check label{display:block;font-size:11px;color:var(--muted);font-weight:700;margin-bottom:6px}.check select,.check input,.check textarea{width:100%;padding:9px;border:1px solid var(--line-strong);border-radius:8px;background:#fff}.okmsg{padding:11px 13px;border-radius:10px;background:var(--green-soft);color:var(--green-dark);margin-bottom:14px}.flash{padding:11px 13px;border-radius:10px;background:#fff0f0;color:#991b1b;margin-bottom:14px}.warning{color:#bd7100;font-weight:750}.danger-text{color:var(--red);font-weight:750}.small{font-size:10px}.role,.locked{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:var(--green-soft);color:var(--green-dark);font-size:11px;font-weight:800}.rolecard{border-left:4px solid var(--green)}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}.approval-status{display:flex;gap:10px;align-items:center}.approval-link{min-width:320px;flex:1;padding:10px;border:1px solid var(--line);border-radius:9px}.public-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}.public-card{max-width:620px;width:100%}.public-summary{display:grid;gap:10px;margin:20px 0}.public-summary div{padding:12px;border:1px solid var(--line);border-radius:10px}.public-summary span{display:block;color:var(--muted);font-size:12px;margin-bottom:4px}.document-page{max-width:850px;margin:30px auto;padding:30px;background:#fff}.document-actions{display:flex;justify-content:flex-end;margin-bottom:20px}.doc-head{display:flex;justify-content:space-between}.doc-table{width:100%;border-collapse:collapse;margin:15px 0}.doc-table td,.doc-table th{border:1px solid #bbb;padding:8px;text-align:left}.doc-sign{display:flex;justify-content:space-between;margin-top:70px;gap:30px}.mobile-nav,.mobile-install,.mobile-only{display:none}
@media(max-width:1000px){:root{--sidebar:200px}.grid,.home-kpis{grid-template-columns:repeat(2,1fr)}.filter-form{grid-template-columns:repeat(2,1fr)}.side{width:var(--sidebar)}.main{margin-left:var(--sidebar)}.page-content{padding:20px}.topbar{padding:0 18px}.order-head{grid-template-columns:1fr}}
@media(max-width:700px){:root{--mobile-nav-h:68px}.side{display:none}.main{margin:0;width:100%;padding:0 0 calc(var(--mobile-nav-h) + 20px)}.topbar{height:58px;padding:0 12px;position:sticky}.menu-toggle{display:block}.global-search{height:36px}.global-search kbd{display:none}.topbar-actions{display:none}.page-content{padding:16px 12px 25px}.page-title-row{align-items:center;margin-bottom:14px}.page-title-row h1{font-size:24px}.page-title-row .muted{font-size:11px}.home-kpis,.order-summary,.grid,.kpi-row{grid-template-columns:1fr 1fr;gap:8px}.home-kpi{padding:12px}.home-kpi strong{font-size:18px}.summary-card{padding:10px}.summary-card:nth-child(3){grid-column:1/-1}.action-strip{overflow:auto}.saved-filter{display:none}.filter-form{grid-template-columns:1fr}.orders-toolbar-card{padding:8px}.orders-search{height:auto;min-height:42px}.orders-search .btn{height:36px}.table-wrap,.orders-desktop{display:none}.orders-mobile{display:block}.table-footer{margin-top:7px}.orders-mobile .order-card{box-shadow:none}.mobile-nav{position:fixed;z-index:1000;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);height:var(--mobile-nav-h);padding-bottom:env(safe-area-inset-bottom);background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-top:1px solid var(--line);box-shadow:0 -5px 20px rgba(20,30,24,.07)}.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#788697;font-size:10px;font-weight:750}.mobile-nav a span{font-size:18px;line-height:20px}.mobile-nav a small{font-size:9px}.mobile-nav a.active{color:var(--green-dark)}.mobile-install{display:block;position:fixed;z-index:999;right:14px;bottom:calc(var(--mobile-nav-h) + 12px + env(safe-area-inset-bottom));border:0;border-radius:999px;padding:11px 15px;background:var(--green);color:#fff;font-weight:750;box-shadow:0 5px 20px rgba(0,0,0,.14)}.mobile-install[hidden]{display:none}.formgrid,.form-grid,.two-col{grid-template-columns:1fr}.checkgrid{grid-template-columns:1fr}.full{grid-column:auto}.actions{width:100%}.actions .btn{flex:1;min-width:0}.btn{min-height:42px}.field input,.field select,.field textarea,.search-main input{font-size:16px!important}.search-row{grid-template-columns:1fr}.search-row .btn{width:100%}.search-row .btn.secondary{display:inline-flex}.order-toolbar{flex-direction:column}.order-tabs{margin-left:-2px;margin-right:-2px}.big{font-size:22px}}
@media print{.side,.topbar,.print-hide,.order-tabs,.mobile-nav{display:none!important}.main{margin:0;width:100%;padding:0}.card,.table-wrap{box-shadow:none}body{background:#fff}.document-page{margin:0;max-width:none}.document-actions{display:none}}

.order-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.summary-card{min-height:82px;padding:13px 16px}.summary-card b{font-size:17px}.summary-card small{font-size:11px}.orders-toolbar-card{padding:12px 14px}.orders-search{height:46px}.orders-search input{font-size:14px}.action-strip{margin-bottom:12px}.filter-panel{display:block;padding:12px 14px}.filter-form{grid-template-columns:repeat(6,minmax(130px,1fr));gap:10px}.filter-form label{font-size:10px}.filter-form select{height:40px;font-size:13px}.filter-actions{align-items:end}.quick-action{height:42px;font-size:13px}.btn{height:40px;font-size:13px}.global-search{height:42px}.topbar{height:72px}.top-user{font-size:12px}.icon-btn{font-size:19px}
@media(max-width:1100px){.filter-form{grid-template-columns:repeat(3,minmax(140px,1fr))}}

/* v19 focused Orders cleanup */
.order-summary.single-summary{grid-template-columns:minmax(280px,360px);}
.order-summary.single-summary .summary-card{width:100%;}
@media(max-width:700px){.order-summary.single-summary{grid-template-columns:1fr;}}


/* v20 Orders compact layout */
.page-title-row.compact-title{margin-bottom:8px}
.orders-compact-head{display:flex;align-items:center;gap:14px;margin-bottom:10px}
.orders-compact-head .order-summary{margin:0;flex:0 0 330px}
.orders-compact-head .summary-card{min-height:66px;padding:9px 13px}
.orders-compact-head .summary-card .summary-icon{width:36px;height:36px}
.orders-compact-head .summary-card b{font-size:16px}
.orders-compact-head .action-strip{margin:0;gap:7px}
.saved-filter{display:none}
.filter-panel.open{margin-bottom:8px;padding:10px 12px}
.filter-form{gap:8px}
.orders-toolbar-card{padding:9px 11px;margin-bottom:8px}
.orders-search{height:42px}
.search-subline{padding-top:5px}
.results-head{margin:8px 2px 6px}
.table th,.table td{padding:11px 12px}
@media(max-width:700px){
  .orders-compact-head{display:flex;flex-direction:column;align-items:stretch;gap:7px;margin-bottom:8px}
  .orders-compact-head .order-summary{flex:0 0 auto}
  .orders-compact-head .action-strip{width:100%}
  .orders-compact-head .quick-action{flex:1}
  .page-title-row.compact-title{margin-bottom:7px}
  .filter-panel.open{padding:9px;margin-bottom:7px}
  .orders-toolbar-card{margin-bottom:7px}
}

/* v21 Orders refinement */
.orders-page .topbar{display:none}
.orders-page .page-content{padding-top:18px}
.orders-page .orders-compact-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 10px}
.orders-page .order-actions-left{display:flex;align-items:center;gap:8px;margin:0}
.orders-page .quick-action{height:40px;padding:0 14px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}
.orders-page .quick-action.primary{min-width:94px}
.orders-page .action-plus{font-size:18px;line-height:1;font-weight:500;margin-top:-1px}
.orders-page .filter-action{background:#f5f7fa;border:1px solid #dbe2e9;color:#435365;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.orders-page .filter-action:hover{background:#eef2f6;border-color:#cfd8e1}
.orders-page .filter-icon{width:16px;height:16px;border:1.5px solid currentColor;border-radius:4px;display:grid;place-items:center;font-size:11px;line-height:1;transform:scale(.86)}
.orders-page .order-summary.single-summary{display:block;flex:0 0 auto;margin:0}
.orders-page .order-summary.single-summary .summary-card{width:max-content;min-width:190px;max-width:230px;min-height:60px;padding:8px 12px;box-shadow:0 1px 2px rgba(15,23,42,.03)}
.orders-page .order-summary.single-summary .summary-card b{font-size:16px;line-height:1.1}
.orders-page .order-summary.single-summary .summary-card small{font-size:10px;margin-top:2px}
.orders-page .order-summary.single-summary .summary-icon{width:34px;height:34px;font-size:15px}
.orders-page .filter-panel.open{margin-bottom:8px}
@media(max-width:700px){
  .orders-page .topbar{display:flex}
  .orders-page .page-content{padding-top:12px}
  .orders-page .orders-compact-head{flex-direction:row;align-items:center;gap:8px}
  .orders-page .order-actions-left{flex:1;overflow:visible}
  .orders-page .quick-action{height:40px}
  .orders-page .quick-action.primary{min-width:88px}
  .orders-page .order-summary.single-summary{flex:0 0 auto}
  .orders-page .order-summary.single-summary .summary-card{min-width:170px;max-width:190px}
}

/* v22 Orders cleanup */
.orders-page .filter-action{display:none!important}
.orders-page .orders-compact-head{align-items:center}
.orders-page .filter-panel.open{margin-top:0;margin-bottom:8px;padding:9px 12px}
.orders-page .filter-form{grid-template-columns:repeat(6,minmax(120px,1fr));gap:8px}
.orders-page .filter-form label{font-size:10px}
.orders-page .filter-form select{height:42px;font-size:14px;font-weight:650}
.orders-page .table th,.orders-page .table td{padding:13px 14px}
.orders-page .table td{font-size:14px;line-height:1.18}
.orders-page .table th{font-size:10px}
.orders-page .table .cell-sub{font-size:11px;margin-top:3px}
.orders-page .table .status-pill{min-height:29px;padding:5px 11px;font-size:11px}
.orders-page .table .order-link,.orders-page .table .client-link{font-size:14px}
.orders-page .table .more-col{font-size:18px}
.orders-page .check-col{display:none!important}
.orders-page .table-footer{padding-top:7px}
@media(max-width:1100px){.orders-page .filter-form{grid-template-columns:repeat(3,minmax(140px,1fr))}}
@media(max-width:700px){.orders-page .filter-form{grid-template-columns:1fr 1fr}.orders-page .table td{font-size:13px}}

/* v23: double-click order rows + larger inline status control */
.orders-page .order-row{cursor:pointer;transition:background .12s ease}
.orders-page .order-row:hover{background:#f8fbf9}
.orders-page .order-link-static{font-weight:800;cursor:inherit}
.orders-page .status-form{margin:0;display:inline-flex;align-items:center}
.orders-page .status-select{appearance:none;-webkit-appearance:none;min-width:96px;height:34px;padding:0 27px 0 12px;border:0;border-radius:8px;font-size:12px;line-height:34px;font-weight:800;cursor:pointer;outline:none;background-repeat:no-repeat;background-position:right 9px center;background-size:10px 6px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23526474' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") }
.orders-page .status-select.status-violet{background-color:#6750d8;color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.orders-page .status-select.status-cyan{background-color:#1aa9d8;color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.orders-page .status-select.status-orange{background-color:#f1a33c;color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.orders-page .status-select.status-red{background-color:#e35d6a;color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.orders-page .status-select.status-green{background-color:#35b875;color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.orders-page .status-select:focus{box-shadow:0 0 0 3px rgba(36,207,120,.18)}
.orders-page .table .status-pill{min-height:34px}
.orders-page .order-card .status-select{min-width:94px;height:34px}
@media(max-width:700px){.orders-page .order-row{cursor:default}.orders-page .status-select{height:36px;min-width:100px}.orders-page .order-card{cursor:pointer}}

/* v24 configurable order table */
.table-tools{display:flex;justify-content:flex-end;align-items:center;margin:4px 0 8px;position:relative;z-index:20}
.column-settings-wrap{position:relative}
.column-settings-btn{border:1px solid #d7dde2;background:#fff;color:#2f3940;border-radius:9px;padding:8px 12px;font-weight:700;font-size:14px;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.05)}
.column-settings-btn:hover{border-color:#2da86a;background:#f5fbf7}
.column-settings-menu{position:absolute;right:0;top:42px;width:280px;background:#fff;border:1px solid #d9dfe3;border-radius:12px;box-shadow:0 14px 35px rgba(0,0,0,.16);padding:12px;z-index:100}
.column-settings-menu[hidden]{display:none}
.column-settings-title{font-size:16px;font-weight:800;margin-bottom:4px}
.column-settings-hint{font-size:12px;line-height:1.35;color:#7a8389;margin-bottom:10px}
.column-settings-menu label{display:flex;align-items:center;gap:9px;padding:7px 5px;font-size:14px;font-weight:600;border-radius:7px;cursor:pointer}
.column-settings-menu label:hover{background:#f4f7f5}
.column-settings-menu input{width:17px;height:17px;accent-color:#20a05b}
.modern-table{table-layout:fixed;width:100%}
.modern-table th{font-size:14px;font-weight:800;position:relative;white-space:nowrap}
.modern-table td{font-size:14px;line-height:1.25;vertical-align:middle}
.modern-table th[data-col="order"]{width:8%}.modern-table th[data-col="status"]{width:13%}.modern-table th[data-col="created"]{width:13%}.modern-table th[data-col="device"]{width:17%}.modern-table th[data-col="malfunction"]{width:16%}.modern-table th[data-col="client"]{width:14%}.modern-table th[data-col="master"]{width:10%}.modern-table th[data-col="phone"]{width:11%}.modern-table th[data-col="total"]{width:8%}
.col-resizer{position:absolute;right:0;top:4px;bottom:4px;width:7px;cursor:col-resize;border-right:2px solid transparent}
.col-resizer:hover{border-right-color:#35a86a}
.cell-main{display:block;font-weight:650}.cell-sub{display:block;font-size:11px;color:#8b9499;margin-top:2px}
.status-select{font-size:14px!important;padding:7px 26px 7px 11px!important;min-height:36px!important;font-weight:750!important}
@media (max-width:900px){.column-settings-menu{right:0;width:260px}.modern-table th{font-size:13px}.modern-table td{font-size:13px}}


/* v25: cleaner column controls, field separators, typography, and status isolation */
.orders-page .table-tools{margin:2px 0 7px;min-height:28px}
.orders-page .column-settings-btn{width:34px;height:34px;padding:0;display:grid;place-items:center;border:1px solid #d7dde2;background:#fff;color:#56636d;border-radius:9px;font-size:18px;font-weight:700;line-height:1;box-shadow:0 1px 2px rgba(0,0,0,.05);transition:.15s ease}
.orders-page .column-settings-btn:hover{border-color:#27a965;background:#f4fbf7;color:#208b55;transform:rotate(12deg)}
.orders-page .column-settings-menu{top:40px}
.orders-page .modern-table{border-collapse:separate;border-spacing:0}
.orders-page .modern-table th,.orders-page .modern-table td{border-right:1px solid #e7ebee}
.orders-page .modern-table th:last-child,.orders-page .modern-table td:last-child{border-right:0}
.orders-page .modern-table thead th{letter-spacing:.01em;font-size:13px;font-weight:750;color:#56616a;padding-top:10px;padding-bottom:10px}
.orders-page .modern-table tbody td{font-size:14px;font-weight:520;color:#30383e;padding-top:10px;padding-bottom:10px}
.orders-page .modern-table tbody tr{height:58px}
.orders-page .modern-table tbody tr+tr td{border-top:1px solid #edf0f2}
.orders-page .modern-table .cell-sub{font-size:11px;font-weight:450;color:#8a9399}
.orders-page .modern-table .order-link-static,.orders-page .modern-table .client-link{font-weight:700}
.orders-page .modern-table .status-select{font-size:15px!important;font-weight:750!important;min-height:41px!important;height:41px!important;border-radius:9px;padding-left:12px!important}
.orders-page .modern-table .status-form{position:relative;z-index:3}
.orders-page .modern-table .status-select{position:relative;z-index:4}
.orders-page .modern-table tbody td{position:relative}
@media(max-width:900px){
  .orders-page .modern-table thead th{font-size:12px}
  .orders-page .modern-table tbody td{font-size:13px}
}


/* v26: compact, uniform order-table typography */
.orders-page .modern-table th,
.orders-page .modern-table td,
.orders-page .modern-table .cell-main,
.orders-page .modern-table .cell-sub,
.orders-page .modern-table .order-link-static,
.orders-page .modern-table .client-link,
.orders-page .modern-table .status-select {
  font-size: 13px !important;
  font-weight: 400 !important;
}
.orders-page .modern-table thead th {
  font-weight: 400 !important;
  color: #5b646b;
}
.orders-page .modern-table tbody td {
  font-weight: 400 !important;
  padding-top: 8px;
  padding-bottom: 8px;
  color: #394148;
}
.orders-page .modern-table tbody tr { height: 50px; }
.orders-page .modern-table th,
.orders-page .modern-table td { border-right: 0 !important; }
.orders-page .modern-table tbody tr+tr td { border-top: 1px solid #edf0f2; }
.orders-page .modern-table .cell-sub { display:none !important; }
.orders-page .modern-table .status-select {
  font-size: 13px !important;
  font-weight: 400 !important;
  min-height: 36px !important;
  height: 36px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* v27: RO-style grouped status picker + lighter typography + Apple device icon */
.orders-page .modern-table tbody td,
.orders-page .modern-table tbody td * {
  font-weight: 400 !important;
}
.orders-page .modern-table .status-button,
.orders-page .modern-table .status-option {
  font-weight: 400 !important;
}
.orders-page .modern-table .status-picker { position: relative; display: inline-block; z-index: 5; }
.orders-page .modern-table .status-button {
  appearance: none; border: 0; min-width: 132px; min-height: 36px; height: 36px;
  padding: 0 10px 0 12px; border-radius: 8px; color: #fff; cursor: pointer;
  font-size: 13px !important; line-height: 36px; text-align: left; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 8px;
}
.orders-page .status-chevron { font-size: 16px; line-height: 1; opacity: .95; margin-top: -2px; }
.orders-page .status-menu {
  position: absolute; left: 0; top: calc(100% + 7px); width: 300px; max-height: 430px;
  overflow-y: auto; padding: 12px 10px; background: #fff; border: 1px solid #e2e7ea;
  border-radius: 12px; box-shadow: 0 15px 38px rgba(25,35,42,.18); z-index: 200;
}
.orders-page .status-menu[hidden] { display: none; }
.orders-page .status-group { padding: 0 4px 10px; }
.orders-page .status-group-title { font-size: 14px; line-height: 22px; color: #3c454b; margin: 2px 6px 6px; font-weight: 400 !important; }
.orders-page .status-option {
  display: block; width: max-content; max-width: 100%; border: 0; border-radius: 7px;
  margin: 0 4px 6px; padding: 6px 11px; color: #fff; cursor: pointer;
  font-size: 14px !important; line-height: 1.25; text-align: left;
}
.orders-page .status-option:hover { filter: brightness(.96); transform: translateX(1px); }
.orders-page .status-black { background: #1d2429 !important; color: #fff !important; }
.orders-page .status-gray { background: #858b90 !important; color: #fff !important; }
.orders-page .status-violet { background: #2f70c9 !important; color: #fff !important; }
.orders-page .status-green { background: #1da65a !important; color: #fff !important; }
.orders-page .status-orange { background: #f08b00 !important; color: #fff !important; }
.orders-page .status-cyan { background: #1aa9d8 !important; color: #fff !important; }
.orders-page .status-red { background: #df5c68 !important; color: #fff !important; }
.orders-page .status-submit-form { display: none; }
.orders-page .device-name { display: inline-flex; align-items: center; gap: 6px; font-weight: 400 !important; }
.orders-page .apple-icon { font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; font-size: 15px; line-height: 1; color: #222b30; }
@media(max-width:700px){
  .orders-page .status-menu { width: 280px; max-height: 55vh; }
  .orders-page .status-button { min-width: 112px; height: 36px; }
  .orders-page .status-option { font-size: 13px !important; }
}


/* v28: status dropdown is rendered on the top layer and sized to its content */
.orders-page .modern-table .status-picker { position:relative; display:inline-block; z-index:5; }
.orders-page .modern-table .status-button {
  width:max-content; min-width:0; max-width:100%;
  height:36px; min-height:36px; padding:0 12px;
  border:0; border-radius:8px; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:flex-start;
  color:#fff; font-size:13px !important; font-weight:400 !important;
  line-height:1; white-space:nowrap; text-align:left;
}
.orders-page .status-chevron { display:none !important; }
.orders-page .status-menu-portal {
  position:fixed !important;
  z-index:100000 !important;
  width:max-content !important;
  min-width:180px;
  max-width:min(360px, calc(100vw - 20px));
  max-height:calc(100vh - 20px) !important;
  overflow-y:auto;
  overflow-x:hidden;
  padding:12px 10px;
  background:#fff;
  border:1px solid #e2e7ea;
  border-radius:12px;
  box-shadow:0 18px 45px rgba(25,35,42,.24);
}
.orders-page .status-menu-portal .status-option {
  width:max-content; max-width:100%;
}

/* v30: compact status control and compact dropdown */
.status-menu-portal {
  display:block !important;
  position:fixed !important;
  z-index:2147483647 !important;
  width:max-content !important;
  min-width:0 !important;
  max-width:min(260px, calc(100vw - 16px)) !important;
  max-height:calc(100vh - 16px) !important;
  background:#fff !important;
  border:1px solid #e2e7ea !important;
  border-radius:10px !important;
  box-shadow:0 12px 28px rgba(25,35,42,.20) !important;
  padding:7px 7px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
}
.status-menu-portal .status-group { padding:0 2px 5px !important; }
.status-menu-portal .status-group-title {
  font-size:12px !important;
  line-height:16px !important;
  font-weight:400 !important;
  color:#58636b !important;
  margin:2px 5px 3px !important;
}
.status-menu-portal .status-option {
  display:block !important;
  width:max-content !important;
  max-width:100% !important;
  border:0 !important;
  border-radius:6px !important;
  margin:0 2px 3px !important;
  padding:5px 9px !important;
  color:#fff !important;
  cursor:pointer !important;
  font-size:12px !important;
  line-height:1.15 !important;
  text-align:left !important;
  font-weight:400 !important;
  white-space:nowrap !important;
}
.status-menu-portal .status-option:last-child { margin-bottom:1px !important; }
.status-menu-portal .status-black { background:#1d2429 !important; color:#fff !important; }
.status-menu-portal .status-gray { background:#858b90 !important; color:#fff !important; }
.status-menu-portal .status-violet { background:#2f70c9 !important; color:#fff !important; }
.status-menu-portal .status-green { background:#1da65a !important; color:#fff !important; }
.status-menu-portal .status-orange { background:#f08b00 !important; color:#fff !important; }
.status-menu-portal .status-cyan { background:#1aa9d8 !important; color:#fff !important; }
.status-menu-portal .status-red { background:#df5c68 !important; color:#fff !important; }
.status-menu-portal[hidden] { display:none !important; }

/* v30: button is only slightly larger than its text */
.orders-page .modern-table .status-button {
  width:max-content !important;
  min-width:0 !important;
  max-width:100% !important;
  height:32px !important;
  min-height:32px !important;
  padding:0 10px !important;
  border:0 !important;
  border-radius:7px !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:400 !important;
  white-space:nowrap !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:0 !important;
}
@media(max-width:700px){
  .orders-page .modern-table .status-button { height:32px !important; min-height:32px !important; font-size:12px !important; padding:0 9px !important; }
  .status-menu-portal { max-width:calc(100vw - 16px) !important; }
}



/* v31: максимально компактный список статусов без названий групп */
.orders-page .modern-table .status-button {
  width:max-content !important;
  min-width:0 !important;
  max-width:none !important;
  height:32px !important;
  min-height:32px !important;
  padding:0 9px !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:400 !important;
  white-space:nowrap !important;
}
.status-menu-portal {
  width:max-content !important;
  min-width:0 !important;
  max-width:min(240px, calc(100vw - 16px)) !important;
  padding:6px !important;
  border-radius:9px !important;
}
.status-menu-portal .status-group {
  padding:0 !important;
  margin:0 !important;
}
.status-menu-portal .status-group-title {
  display:none !important;
}
.status-menu-portal .status-option {
  width:max-content !important;
  max-width:none !important;
  margin:0 0 3px 0 !important;
  padding:5px 8px !important;
  border-radius:6px !important;
  font-size:12px !important;
  line-height:1.1 !important;
  font-weight:400 !important;
}
.status-menu-portal .status-option:last-child { margin-bottom:0 !important; }


/* v33: кнопка статуса одного компактного размера с пунктами списка */
.orders-page .modern-table .status-button {
  height:auto !important;
  min-height:0 !important;
  padding:5px 8px !important;
  border-radius:6px !important;
  font-size:12px !important;
  line-height:1.1 !important;
  font-weight:400 !important;
}
.status-menu-portal .status-option {
  margin:0 0 5px 0 !important;
  padding:5px 8px !important;
  border-radius:6px !important;
  font-size:12px !important;
  line-height:1.1 !important;
  font-weight:400 !important;
}
.status-menu-portal .status-option:last-child { margin-bottom:0 !important; }
@media(max-width:700px){
  .orders-page .modern-table .status-button {
    height:auto !important;
    min-height:0 !important;
    padding:5px 8px !important;
    font-size:12px !important;
  }
}

/* v35: одинаковый зазор 8px между ВСЕМИ кнопками статуса, включая границы групп */
.status-menu-portal .status-option {
  margin:0 0 8px 0 !important;
}
.status-menu-portal .status-option:last-child {
  margin-bottom:0 !important;
}
.status-menu-portal .status-group + .status-group {
  margin-top:8px !important;
}

/* v36 — RO App reference visual pass: compact, clean CRM proportions */
:root{
  --sidebar:230px;
  --bg:#f6f7f9;
  --line:#e6e9ed;
  --line-strong:#d9dee4;
  --text:#20262d;
  --muted:#7c8793;
  --green:#18b968;
}
body{font-size:13px;background:#f6f7f9;color:#20262d}
.side{width:var(--sidebar);padding:18px 9px 12px;background:#151f29;border-right:1px solid #202d38}
.brand{font-size:18px;padding:2px 12px 22px}
.nav-section{padding:0 13px 7px;font-size:9px;color:#718292}
.service-section{margin-top:20px}
.nav{gap:2px}
.nav a{min-height:38px;padding:0 12px;border-radius:7px;font-size:13px;font-weight:600;gap:11px}
.nav a.active{background:#173a2c;box-shadow:inset 3px 0 0 #1fcb73}
.main{margin-left:var(--sidebar)}
.topbar{height:62px;padding:0 22px;border-bottom:1px solid #e5e8eb;background:#fff}
.page-content{padding:20px 22px 30px;max-width:none}
.btn,.quick-action{border-radius:7px;font-weight:650}
.btn-primary,.quick-action.primary{box-shadow:none}

/* RO-like orders page */
.orders-page .page-content{padding:18px 22px 28px}
.orders-page .orders-compact-head{margin:0 0 9px}
.orders-page .quick-action{height:38px;padding:0 15px;font-size:13px}
.orders-page .order-summary.single-summary{display:none}
.orders-page .filter-panel.open{border:0;background:transparent;padding:0;margin:0 0 9px}
.orders-page .filter-form{display:flex;gap:10px;align-items:center;overflow-x:auto;padding:0}
.orders-page .filter-form label{display:flex;flex-direction:column;gap:5px;min-width:178px;font-size:10px;color:#7b8792;font-weight:650}
.orders-page .filter-form select{height:38px;margin:0;border:1px solid #dfe4e9;border-radius:7px;background:#fff;padding:0 11px;color:#38444f;font-size:12px;box-shadow:0 1px 2px rgba(20,30,40,.02)}
.orders-page .orders-toolbar-card{border:0;background:transparent;padding:0;margin:0 0 10px}
.orders-page .orders-search{height:42px;background:#fff;border:1px solid #e0e5ea;border-radius:8px;padding:0 12px;box-shadow:0 1px 2px rgba(20,30,40,.02)}
.orders-page .orders-search input{font-size:13px}
.orders-page .orders-search .btn{display:none}
.orders-page .search-subline{display:none}
.orders-page .table-tools{margin:0 0 6px;min-height:26px}
.orders-page .column-settings-btn{width:30px;height:30px;border:1px solid #e0e5ea;background:#fff;border-radius:7px;color:#6e7a86}
.orders-page .table-wrap{border:1px solid #e0e5ea;border-radius:9px;box-shadow:0 1px 3px rgba(20,30,40,.025);background:#fff}
.orders-page .modern-table{min-width:1050px}
.orders-page .modern-table th{padding:10px 12px;background:#f7f8fa;color:#7b8792;font-size:11px;font-weight:600;border-bottom:1px solid #e4e8ec}
.orders-page .modern-table td{padding:12px 12px;font-size:12px;color:#313b45;border-bottom:1px solid #eef1f3}
.orders-page .modern-table tbody tr{height:54px}
.orders-page .modern-table tbody tr:hover td{background:#fafcfd}
.orders-page .order-link-static{color:#3b78bd;font-weight:650}
.orders-page .client-link{color:#3b78bd;font-weight:600}
.orders-page .cell-sub{font-size:10px;color:#98a2ad}
.orders-page .status-button{border:0;box-shadow:none;font-weight:600}
.orders-page .status-picker{display:inline-block;position:relative}

/* status dropdown: one continuous list, exactly 8px between every button */
.orders-page .status-menu-portal{padding:10px 10px 10px!important;border:1px solid #dfe4e8!important;border-radius:11px!important;background:#fff!important;box-shadow:0 12px 30px rgba(20,30,40,.16)!important}
.orders-page .status-menu-portal .status-group{padding:0!important;margin:0!important}
.orders-page .status-menu-portal .status-group + .status-group{margin-top:0!important}
.orders-page .status-menu-portal .status-option{display:flex!important;align-items:center!important;width:max-content!important;min-width:0!important;margin:0 0 8px 0!important;padding:7px 12px!important;border:0!important;border-radius:8px!important;font-size:13px!important;line-height:18px!important;font-weight:600!important;white-space:nowrap!important;transform:none!important}
.orders-page .status-menu-portal .status-option:last-child{margin-bottom:0!important}
.orders-page .status-menu-portal .status-group:last-child .status-option:last-child{margin-bottom:0!important}
.orders-page .status-menu-portal .status-option:hover{transform:none!important;filter:brightness(.97)}

/* clean status colors from the reference */
.orders-page .status-menu-portal .status-black{background:#20272c!important}
.orders-page .status-menu-portal .status-gray{background:#8b9196!important}
.orders-page .status-menu-portal .status-violet{background:#2f73c8!important}
.orders-page .status-menu-portal .status-green{background:#20a85c!important}
.orders-page .status-menu-portal .status-orange{background:#ef8b00!important}
.orders-page .status-menu-portal .status-cyan{background:#20a8d6!important}
.orders-page .status-menu-portal .status-red{background:#df5965!important}

@media(max-width:700px){
  :root{--sidebar:0px}
  .orders-page .page-content{padding:14px 12px 25px}
  .orders-page .filter-form{display:grid;grid-template-columns:1fr 1fr;overflow:visible}
  .orders-page .filter-form label{min-width:0}
  .orders-page .orders-search{height:42px}
}


/* v78 — visual redesign from supplied RO reference screens */
:root{
  --ro-sidebar:#1e2329;
  --ro-sidebar-2:#252b32;
  --ro-blue:#2878c7;
  --ro-green:#21a765;
  --ro-orange:#ef8d18;
  --ro-purple:#7a52c7;
  --ro-bg:#f5f6f7;
  --ro-border:#dfe3e7;
  --ro-text:#30363d;
}
body{background:var(--ro-bg);font-size:12px;color:var(--ro-text)}
.side{width:184px;background:var(--ro-sidebar);border-right:1px solid #171b20;padding:10px 8px 9px}
.main{margin-left:184px}
.ro-brand{height:54px;padding:5px 8px 9px!important;display:flex;align-items:center;gap:9px}
.ro-brand .brand-mark{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#8c57d8,#4d2c82);color:#fff;font-size:18px;font-weight:800;box-shadow:0 0 0 2px rgba(255,255,255,.08)}
.ro-brand .brand-copy{display:flex;flex-direction:column;line-height:1}
.ro-brand .brand-copy b{font-size:14px;color:#fff;letter-spacing:-.2px}
.ro-brand .brand-copy small{font-size:8px;color:#aeb6bf;margin-top:4px;letter-spacing:.12em;text-transform:uppercase}
.nav-section{font-size:8px;letter-spacing:.12em;padding:10px 10px 6px;color:#707a84}
.service-section{margin-top:8px}
.nav{gap:1px}
.nav a{min-height:34px;border-radius:5px;padding:0 10px;gap:9px;color:#aeb6bf;font-size:12px;font-weight:500}
.nav a:hover{background:#2a3138;color:#fff}
.nav a.active{background:#2a3138;box-shadow:inset 3px 0 0 #22b66c;color:#fff}
.nav-ico{font-size:13px;width:16px;color:#7f8993}
.nav a.active .nav-ico{color:#32c879}
.side-box{border-top:1px solid #30363d;padding:10px 3px 8px}
.side-box label{font-size:8px;margin:0 6px 5px;color:#737d87}
.side-box select{height:30px;background:#292f35;border:1px solid #3a4148;border-radius:5px;font-size:11px}
.user-row{border-top:1px solid #30363d;padding:9px 5px 2px;gap:7px}
.avatar{width:28px;height:28px;font-size:11px}
.user-meta strong{font-size:10px}.user-meta small{font-size:8px}
.logout-form{margin-top:5px;padding:0 5px}.side-logout{height:28px!important;min-height:28px!important;font-size:10px!important}
.topbar{height:48px;padding:0 18px;background:#fff;border-bottom:1px solid #e0e3e6}
.topbar-actions{gap:4px}.icon-btn{width:30px;height:30px;font-size:15px}.top-user{height:32px;font-size:10px}.top-user span{width:25px;height:25px}
.page-content{padding:15px 18px 26px;max-width:none}
.card,.table-wrap,.orders-toolbar-card,.filter-panel{border-radius:5px;box-shadow:none;border-color:var(--ro-border)}
.btn,.quick-action{border-radius:4px;font-size:11px;font-weight:600;box-shadow:none}
.btn{height:32px;padding:0 11px}.quick-action{height:32px;padding:0 12px}
.field input,.field select,.field textarea,.actions select,.actions input:not([type=file]){border-radius:4px;border-color:#d7dce1;padding:8px 9px}
.field label{font-size:10px;color:#69747e}

/* Orders reference layout */
.orders-page .page-content{padding:13px 18px 24px}
.orders-page .ro-page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px}
.orders-page .ro-page-title h1{font-size:20px;line-height:1;margin:0 0 4px;font-weight:650;letter-spacing:-.3px}
.orders-page .ro-breadcrumb{font-size:9px;color:#9099a2}
.orders-page .ro-page-actions{display:flex;align-items:center;gap:7px}
.orders-page .ro-stat{height:38px;min-width:82px;padding:4px 10px;border-radius:5px;display:flex;flex-direction:column;justify-content:center;border:1px solid #e0e4e8;background:#fff}
.orders-page .ro-stat strong{font-size:12px;line-height:13px}.orders-page .ro-stat span{font-size:8px;color:#7e8790;margin-top:2px}
.orders-page .ro-stat-green{border-left:3px solid var(--ro-green)}.orders-page .ro-stat-orange{border-left:3px solid var(--ro-orange)}.orders-page .ro-stat-dark{border-left:3px solid #30363c}
.orders-page .ro-new-order{height:38px!important;padding:0 15px!important}
.orders-page .ro-legacy-head{display:none}
.orders-page .filter-panel.open{margin-bottom:8px}
.orders-page .filter-form{gap:7px;padding:0;overflow:visible}
.orders-page .filter-form label{min-width:145px;gap:4px;font-size:8px;color:#8a939c}
.orders-page .filter-form select{height:32px;border-radius:4px;font-size:10px;padding:0 8px;background:#fff}
.orders-page .orders-toolbar-card{margin-bottom:7px}
.orders-page .orders-search{height:34px;border-radius:4px;border-color:#dfe3e7;box-shadow:none}
.orders-page .orders-search input{font-size:11px}
.orders-page .table-tools{min-height:25px;margin-bottom:4px}
.orders-page .column-settings-btn{width:26px;height:26px;border-radius:4px;font-size:12px}
.orders-page .table-wrap{border-radius:5px}
.orders-page .modern-table{min-width:1040px}
.orders-page .modern-table th{height:31px;padding:7px 9px;background:#f0f2f4;color:#7b858e;font-size:9px;font-weight:650;border-bottom:1px solid #dfe3e7}
.orders-page .modern-table td{height:43px;padding:8px 9px;font-size:10px;color:#3d464e}
.orders-page .modern-table tbody tr{height:43px}
.orders-page .order-link-static,.orders-page .client-link{color:var(--ro-blue);font-weight:600}
.orders-page .status-button{min-height:23px;padding:4px 8px!important;border-radius:4px!important;font-size:9px!important}
.orders-page .status-menu-portal{border-radius:5px!important;box-shadow:0 8px 22px rgba(0,0,0,.14)!important}
.orders-page .status-menu-portal .status-option{border-radius:4px!important;font-size:10px!important;padding:6px 9px!important}
.orders-page .table-footer{padding:8px 1px;font-size:9px}

/* Shared dense RO-style tables and cards */
.table th{background:#f0f2f4;color:#7d8790;font-size:9px;padding:8px 9px;font-weight:650}
.table td{font-size:10px;padding:9px;border-bottom-color:#edf0f2}
.section-head h2,.card h2,.order-head h2{font-size:14px}
.kpi{border-radius:5px;padding:10px 11px}.kpi-value{font-size:16px}.kpi-label{font-size:8px}
.order-toolbar{margin-bottom:10px}.order-tabs{gap:0;border-bottom:1px solid #dfe3e7;margin-bottom:10px;padding-bottom:0}
.order-tabs a{border:0;border-radius:0;background:transparent;padding:8px 12px;font-size:10px;font-weight:550;color:#6f7982}
.order-tabs a:hover{background:transparent;color:var(--ro-blue);border-bottom:2px solid var(--ro-blue)}
.order-head{gap:10px}.financial-card{border-radius:5px}
.badge,.role,.locked{border-radius:4px;font-size:9px;padding:4px 7px}
.check{border-radius:5px;padding:9px}.check label{font-size:9px}
.okmsg,.flash{border-radius:4px;padding:9px 11px;font-size:10px}

@media(max-width:1000px){
  :root{--sidebar:184px}.side{width:184px}.main{margin-left:184px}
  .orders-page .ro-page-head{align-items:flex-start}.orders-page .ro-page-actions{flex-wrap:wrap;justify-content:flex-end}
}
@media(max-width:700px){
  .side{display:none}.main{margin-left:0}.page-content{padding:12px}.orders-page .page-content{padding:12px}
  .orders-page .ro-page-head{display:block}.orders-page .ro-page-actions{margin-top:9px;justify-content:flex-start;overflow:auto;padding-bottom:2px}
  .orders-page .ro-stat{min-width:75px}.orders-page .ro-new-order{flex:0 0 auto}
}


/* v79 — RO order card / drawer */
.ro-order-overlay{position:fixed;inset:0;z-index:9000;background:rgba(20,25,29,.72);display:flex;align-items:stretch;justify-content:flex-end}.ro-order-overlay[hidden]{display:none}.ro-order-overlay-backdrop{position:absolute;inset:0;background:rgba(20,25,29,.72)}.ro-order-drawer-mount{position:relative;margin-left:auto;height:100%;display:flex;z-index:1}
.ro-order-drawer-shell{width:min(730px,calc(100vw - 330px));min-width:610px;height:100vh;background:#fff;display:flex;flex-direction:column;box-shadow:-12px 0 35px rgba(0,0,0,.18);border-left:1px solid #dfe3e7;position:relative;z-index:2}.ro-order-drawer-head{height:56px;flex:0 0 56px;display:flex;align-items:center;justify-content:space-between;padding:0 14px 0 17px;border-bottom:1px solid #e3e6e9}.ro-order-title{display:flex;align-items:center;gap:9px;font-size:20px;color:#30363d}.ro-order-dot{width:15px;height:15px;border:3px solid #e32635;border-radius:50%;display:inline-block}.ro-order-head-actions{display:flex;align-items:center;height:100%}.ro-order-deadline{padding:0 14px;color:#555;font-size:13px}.ro-order-deadline:first-letter{color:#f39a00}.ro-icon-action,.ro-drawer-close{width:45px;height:55px;border:0;border-left:1px solid #e7eaed;background:#fff;color:#6e777e;font-size:19px}.ro-drawer-close{font-size:31px;font-weight:300}.ro-order-commandbar{height:57px;display:flex;align-items:center;justify-content:space-between;padding:0 16px}.ro-inline-status select{height:31px;border:0;border-radius:4px;background:#2878d0;color:#fff;padding:0 9px;font-size:13px;font-weight:600}
.ro-status-picker{position:relative;display:inline-block;z-index:20}.ro-status-button{height:31px;border:0;border-radius:4px;color:#fff;padding:0 12px;font-size:13px;font-weight:600;cursor:pointer;min-width:132px;text-align:left;box-shadow:none}.ro-status-button.status-violet{background:#2f73c8}.ro-status-button.status-green{background:#20a85c}.ro-status-button.status-orange{background:#ef8b00}.ro-status-button.status-cyan{background:#20a8d6}.ro-status-button.status-red{background:#df5965}.ro-status-button.status-black{background:#20272c}.ro-status-button.status-gray{background:#8b9196}.ro-status-menu{position:absolute;left:0;top:37px;width:max-content;min-width:190px;max-width:300px;max-height:60vh;overflow:auto;padding:8px;background:#fff;border:1px solid #dfe4e8;border-radius:5px;box-shadow:0 8px 22px rgba(0,0,0,.14);z-index:2147483647}.ro-status-menu[hidden]{display:none}.ro-status-group{padding:0;margin:0}.ro-status-group+.ro-status-group{border-top:1px solid #eef1f3;padding-top:7px;margin-top:5px}.ro-status-group-title{font-size:9px;font-weight:700;color:#8b969f;padding:3px 5px 5px;text-transform:uppercase}.ro-status-option{display:block;width:100%;border:0;border-radius:4px;color:#fff!important;text-align:left;font-size:11px;line-height:18px;font-weight:600;padding:6px 9px;margin:0 0 5px;cursor:pointer;white-space:nowrap}.ro-status-option:last-child{margin-bottom:0}.ro-status-option:hover{filter:brightness(.96)}.ro-status-option.status-black{background:#20272c}.ro-status-option.status-gray{background:#8b9196}.ro-status-option.status-violet{background:#2f73c8}.ro-status-option.status-green{background:#20a85c}.ro-status-option.status-orange{background:#ef8b00}.ro-status-option.status-cyan{background:#20a8d6}.ro-status-option.status-red{background:#df5965}
.ro-command-actions{display:flex;gap:8px}.ro-command-btn{height:37px;padding:0 12px;border:1px solid #cfd5da;border-radius:4px;background:#fff;color:#3f474e;font-size:12px}.ro-order-tabs{height:48px;flex:0 0 48px;display:flex;align-items:flex-end;padding:0 16px;border-bottom:1px solid #dfe3e7;gap:0}.ro-order-tabs button{height:48px;padding:0 13px;border:0;background:#fff;color:#343a40;font-size:13px;position:relative}.ro-order-tabs button.active{color:#1e76d8}.ro-order-tabs button.active:after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#2878d0}.ro-order-body{flex:1;overflow:auto;padding:22px 16px 84px;background:#fff}.ro-order-tab-panel{display:none}.ro-order-tab-panel.active{display:block}.ro-info-form{max-width:690px}.ro-form-row{display:grid;grid-template-columns:175px 1fr;align-items:center;gap:18px;margin-bottom:14px}.ro-form-row>label{text-align:right;font-size:13px;font-weight:600;color:#3e4449}.ro-form-row input,.ro-form-row select,.ro-form-row textarea{width:100%;height:37px;border:1px solid #d5d9dd;border-radius:4px;background:#fff;padding:0 11px;color:#3e454b;font-size:13px;outline:none}.ro-form-row textarea{height:80px;padding:9px 11px;resize:vertical}.ro-form-row select{background:#f7f7f7}.ro-help{width:19px;height:19px;border:1px solid #9ca4aa;border-radius:50%;display:grid;place-items:center;font-size:11px;color:#7d858b;position:absolute;right:-29px}.ro-form-select{position:relative}.req{color:#e32635;margin-left:3px}.ro-info-form hr{border:0;border-top:1px solid #e3e6e9;margin:14px 0 20px}.ro-person{height:37px;display:flex;align-items:center;gap:9px;color:#3e454b;font-size:13px}.ro-section-label{font-size:17px;font-weight:700;color:#343a40;margin:30px 0 12px 193px}.ro-client-card{margin-left:193px;border:1px solid #e5e8eb;border-radius:7px;padding:12px 14px;box-shadow:0 2px 8px rgba(0,0,0,.07);position:relative;margin-bottom:25px}.ro-client-card a{color:#1674d1;font-weight:700;font-size:14px}.ro-bars{color:#8b9298;font-size:12px;margin-left:6px}.ro-client-card button{position:absolute;right:9px;top:8px;border:0;background:transparent;color:#9aa1a7;font-size:21px}.ro-client-card small{display:block;color:#7b8389;margin-top:7px;font-size:11px}.ro-client-card small b{color:#333}.ro-items-master{display:flex;gap:10px;align-items:center;margin-bottom:12px}.ro-master-avatar{width:32px;height:32px;border-radius:50%;background:#f0f2f4;display:grid;place-items:center}.ro-items-master small{display:block;color:#8a9299;font-size:10px;margin-top:2px}.ro-add-item{height:38px;border:1px solid #c9d0d6;border-radius:4px;display:flex;margin-bottom:13px}.ro-add-item input{flex:1;border:0;outline:0;padding:0 11px;font-size:12px}.ro-add-item button{width:38px;border:0;background:#fff;color:#888}.ro-items-head,.ro-item-row{display:grid;grid-template-columns:1fr 105px 95px 115px;align-items:center}.ro-items-head{height:43px;background:#d7d9db;color:#3e454b;font-size:12px;padding:0 11px}.ro-item-row{min-height:54px;border-bottom:1px solid #e5e7e9;font-size:13px;padding:0 11px}.ro-item-row a{color:#0875d1}.ro-item-ico{display:inline-block;width:25px;color:#8d969d}.ro-total-box{margin:16px 0 8px 410px;text-align:right;font-size:13px;line-height:30px}.ro-total-box b{float:right;margin-left:30px}.ro-total-box .blue{color:#0875d1}.ro-total-final{background:#efefef;border-radius:8px;padding:0 9px}.ro-master-note label,.ro-files-title{display:block;font-size:13px;font-weight:700;margin:22px 0 8px}.ro-master-note textarea{width:100%;height:78px;border:1px solid #d5d9dd;border-radius:4px}.ro-payment-total{display:flex;justify-content:space-between;background:#f1f2f3;border-radius:6px;padding:12px 14px;font-size:14px;margin-bottom:14px}.ro-payment-form,.ro-upload-form{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.ro-payment-form input,.ro-payment-form select,.ro-upload-form input,.ro-upload-form select{height:36px;border:1px solid #d5d9dd;border-radius:4px;padding:0 9px}.ro-payment-form button,.ro-upload-form button{height:36px;background:#2878d0;color:#fff;border:0;border-radius:4px;padding:0 13px}.ro-payment-row,.ro-file-row{display:grid;grid-template-columns:1fr auto auto;gap:15px;padding:11px 4px;border-bottom:1px solid #e6e8ea;font-size:12px}.ro-file-row a{color:#1674d1}.ro-file-row small{color:#8a9298}.ro-empty-items{text-align:center;padding:35px;color:#8a9298}.ro-order-footer{height:62px;position:absolute;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #dfe3e7;display:flex;align-items:center;gap:9px;padding:0 16px;z-index:3}.ro-save-primary,.ro-save-secondary{height:37px;border-radius:4px;padding:0 14px;font-size:12px}.ro-save-primary{background:#2878d0;color:#fff;border:1px solid #2878d0}.ro-save-secondary{background:#fff;color:#444;border:1px solid #cfd5da}.ro-footer-total{margin-left:auto;text-align:right}.ro-footer-total span{display:block;font-size:12px;color:#666}.ro-footer-total b{font-size:19px;color:#30343a}.ro-order-events{width:min(330px,25vw);height:100vh;background:#edf5ff;display:flex;flex-direction:column;border-left:1px solid #d8e3ee;position:relative;z-index:2}.ro-event-tabs{display:flex;padding:18px 12px 12px}.ro-event-tabs button{height:37px;flex:1;border:1px solid #cfd7df;background:#fff;color:#3f474e;font-size:12px}.ro-event-tabs button:first-child{border-radius:4px 0 0 4px}.ro-event-tabs button:last-child{border-radius:0 4px 4px 0}.ro-event-tabs button.active{font-weight:600}.ro-event-date{text-align:center;font-weight:700;font-size:12px;color:#42484d;padding:3px 0 13px}.ro-timeline{flex:1;overflow:auto;padding:0 15px 80px}.ro-event{position:relative;display:grid;grid-template-columns:30px 1fr;gap:9px;padding:0 0 18px;min-height:60px}.ro-event-line{position:absolute;left:14px;top:25px;bottom:-1px;width:2px;background:#2382df}.ro-event:last-child .ro-event-line{display:none}.ro-event-icon{width:28px;height:28px;border-radius:4px;background:#2878d0;color:#fff;display:grid;place-items:center;font-size:14px;z-index:1}.ro-event>div{font-size:11px;color:#3d464d}.ro-event time{float:right;color:#9aa1a7;font-size:10px}.ro-event p{margin:7px 0;background:#d9e9fb;padding:9px;border-radius:3px}.ro-event strong{display:block;margin-top:7px}.ro-no-events{padding:30px;text-align:center;color:#8b949b}.ro-comment-box{padding:11px 14px 14px;background:#edf5ff;border-top:1px solid #d8e3ee}.ro-comment-input{height:38px;background:#fff;border:1px solid #cfd7df;border-radius:4px;display:flex;align-items:center}.ro-comment-input span{padding:0 8px;color:#2d83dd;font-size:20px}.ro-comment-input input{flex:1;border:0;outline:0;font-size:11px}.ro-comment-input button{border:0;background:#fff;color:#2d83dd;padding:0 9px}.ro-comment-box small{display:block;color:#8b949b;font-size:10px;line-height:14px;margin-top:9px}.ro-drawer-open{overflow:hidden}.ro-drawer-loading,.ro-drawer-error{width:min(730px,calc(100vw - 330px));min-width:610px;height:100%;display:grid;place-items:center;background:#fff;color:#6f7880}.ro-order-overlay .ro-order-drawer-shell{position:relative}
@media(max-width:900px){.ro-order-drawer-shell,.ro-drawer-loading,.ro-drawer-error{min-width:0;width:100%}.ro-order-events{display:none}.ro-order-overlay{justify-content:stretch}.ro-form-row{grid-template-columns:130px 1fr}.ro-section-label,.ro-client-card{margin-left:148px}.ro-total-box{margin-left:35%}}

/* v81 — pixel pass against supplied RO screenshots */
@media (min-width: 1100px){
  .ro-order-overlay{background:rgba(18,22,26,.58)}
  .ro-order-overlay-backdrop{background:rgba(18,22,26,.58)}
  .ro-order-drawer-shell{width:727px;min-width:727px}
  .ro-order-events{width:356px;min-width:356px}
}
.ro-order-drawer-shell{box-shadow:none;border-left:1px solid #dfe3e7}
.ro-order-drawer-head{height:56px;flex-basis:56px;padding:0 14px 0 16px}
.ro-order-title{gap:9px;font-size:20px;font-weight:400}
.ro-order-title strong{font-weight:500}
.ro-order-dot{width:14px;height:14px;border-width:3px}
.ro-order-deadline{font-size:13px;padding:0 14px 0 10px}
.ro-icon-action,.ro-drawer-close{width:45px;height:56px}
.ro-order-commandbar{height:57px;padding:0 16px}
.ro-inline-status select{height:31px;padding:0 10px;font-size:13px;font-weight:500}
.ro-command-actions{gap:8px}
.ro-command-btn{height:37px;padding:0 12px;font-size:12px;border-color:#c8cfd5}
.ro-order-tabs{height:48px;flex-basis:48px;padding:0 16px}
.ro-order-tabs button{height:48px;padding:0 13px;font-size:13px;font-weight:400}
.ro-order-tabs button.active{font-weight:500}
.ro-order-body{padding:22px 16px 84px}
.ro-info-form{max-width:690px}
.ro-form-row{grid-template-columns:175px 1fr;gap:18px;margin-bottom:14px}
.ro-form-row>label{font-size:13px;font-weight:600}
.ro-form-row input,.ro-form-row select,.ro-form-row textarea{height:37px;border-radius:4px;font-size:13px}
.ro-form-row textarea{min-height:80px}
.ro-info-form hr{margin:14px 0 20px}
.ro-section-label{font-size:17px;line-height:22px;margin:30px 0 12px 193px}
.ro-client-card{margin-left:193px;margin-bottom:25px;border-radius:7px;padding:12px 14px;box-shadow:0 2px 8px rgba(0,0,0,.07)}
.ro-client-card a{font-size:14px}
.ro-client-card small{font-size:11px}
.ro-order-footer{height:62px;padding:0 16px;gap:9px}
.ro-save-primary,.ro-save-secondary{height:37px;font-size:12px}
.ro-save-primary{font-weight:500}
.ro-footer-total b{font-size:19px}
.ro-order-events{background:#edf5ff;border-left:1px solid #d8e3ee}
.ro-event-tabs{padding:18px 12px 12px}
.ro-event-tabs button{height:37px;font-size:12px}
.ro-event-date{font-size:12px;padding:3px 0 13px}
.ro-timeline{padding:0 15px 80px}
.ro-event{grid-template-columns:30px 1fr;gap:9px;padding-bottom:18px;min-height:60px}
.ro-event-icon{width:28px;height:28px;background:#2878d0;border-radius:4px}
.ro-event-line{left:14px;background:#2382df}
.ro-event>div{font-size:11px}
.ro-event p{margin:7px 0;padding:9px;background:#d9e9fb}
.ro-comment-box{padding:11px 14px 14px}
.ro-comment-input{height:38px}
.ro-comment-box small{font-size:10px;line-height:14px}

/* Items tab — match the dense RO table proportions */
.ro-items-master{margin:10px 0 12px}
.ro-items-master b{font-size:14px;font-weight:600}
.ro-add-item{height:38px;margin-bottom:13px;border-color:#9cc7ff}
.ro-add-item input{font-size:12px}
.ro-items-head{height:43px;background:#d1d3d5;font-size:12px}
.ro-item-row{min-height:54px;font-size:13px}
.ro-total-box{margin:16px 0 8px 410px;line-height:30px;font-size:13px}
.ro-total-final{border-radius:8px;background:#efefef}
.ro-master-note label{font-size:13px}

/* Hide browser-native select arrows where RO uses compact chevrons */
.ro-inline-status select,.ro-form-row select{appearance:auto}

@media(max-width:900px){
  .ro-order-drawer-shell,.ro-drawer-loading,.ro-drawer-error{min-width:0;width:100%}
  .ro-order-events{display:none}
}

/* v82 — карточка заказа: точная геометрия по референсам + рабочие элементы */
@media (min-width: 1100px){
  .ro-order-drawer-shell{width:727px;min-width:727px}
  .ro-order-events{width:356px;min-width:356px}
}
.ro-order-body{padding:34px 16px 84px}
.ro-info-form{max-width:695px}
.ro-form-row{grid-template-columns:161px 1fr;gap:18px;margin-bottom:14px}
.ro-section-label{margin-left:179px}
.ro-client-card{margin-left:179px}
.ro-command-wrap{position:relative}
.ro-command-menu{position:absolute;right:0;top:43px;z-index:50;min-width:258px;background:#fff;border:1px solid #dce1e5;border-radius:7px;box-shadow:0 7px 20px rgba(0,0,0,.16);padding:8px}
.ro-command-menu[hidden]{display:none}
.ro-command-menu button,.ro-command-menu label{display:flex;width:100%;min-height:36px;align-items:center;gap:9px;border:0;background:#fff;text-align:left;padding:7px 9px;border-radius:4px;color:#333;font-size:13px;cursor:pointer}
.ro-command-menu button:hover,.ro-command-menu label:hover{background:#f2f6fa}
.ro-command-menu label{line-height:18px}
.ro-command-menu input{width:17px;height:17px;accent-color:#2878d0}
.ro-menu-primary{margin-top:7px!important;width:auto!important;display:inline-flex!important;background:#2878d0!important;color:#fff!important;padding:0 16px!important;min-height:36px!important;font-weight:600}
.ro-order-tabs button{white-space:nowrap}
.ro-add-item{position:relative;border-color:#4b9cff}
.ro-item-picker{position:absolute;left:-1px;right:-1px;top:39px;z-index:45;max-height:360px;overflow:auto;background:#fff;border:1px solid #b9c7d5;border-radius:0 0 5px 5px;box-shadow:0 8px 20px rgba(0,0,0,.15)}
.ro-item-picker[hidden]{display:none}
.ro-item-picker button{display:flex;width:100%;justify-content:space-between;gap:12px;padding:9px 11px;border:0;border-bottom:1px solid #edf0f2;background:#fff;text-align:left;color:#0875d1;font-size:12px;cursor:pointer}
.ro-item-picker button:hover{background:#f1f7fd}
.ro-item-picker button b{color:#4b555e;font-weight:500;white-space:nowrap}
.ro-picker-section{padding:7px 11px;background:#f0f1f2;color:#616a72;font-size:10px;font-weight:700;text-transform:uppercase}
.ro-items-head,.ro-item-row{grid-template-columns:32px 1fr 105px 95px 115px}
.ro-item-actions{display:flex;gap:2px;opacity:.15;transition:opacity .15s}
.ro-item-row:hover .ro-item-actions{opacity:1}
.ro-item-actions button{width:24px;height:24px;border:0;background:transparent;color:#77828b;cursor:pointer;border-radius:3px}
.ro-item-actions button:hover{background:#eef2f5;color:#2679d2}
.ro-item-row .ro-item-actions + div{min-width:0}
.ro-master-note textarea{padding:9px 11px;font-size:13px}
.ro-payment-form button,.ro-upload-form button{cursor:pointer}
.ro-command-btn,.ro-save-primary,.ro-save-secondary,.ro-payment-form button,.ro-upload-form button{cursor:pointer}
.ro-command-btn:disabled,.ro-save-primary:disabled,.ro-save-secondary:disabled{opacity:.6;cursor:wait}
.ro-order-events .ro-event-tabs button{cursor:pointer}

/* v85 — RO archive measured pass: global shell + orders + order drawer */
:root{--sidebar:167px;--ro-bg:#fff;--ro-sidebar:#272c30;--ro-sidebar-active:#555b60;--ro-blue:#1478e5;--ro-green:#12a34a;--ro-orange:#ff9f0b;--ro-line:#e1e4e7;--ro-text:#343a3f}
html,body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:#fff;color:var(--ro-text)}
.side{width:167px;background:#292e32;padding:0 0 12px;border:0;box-shadow:none;overflow-y:auto}
.ro-brand{height:130px;padding:0 0 0 40px!important;display:flex;align-items:flex-start;gap:0;position:relative}
.ro-brand .brand-mark{width:84px;height:84px;margin-top:17px;border-radius:50%;background:radial-gradient(circle at 50% 40%,#9d62d5 0 45%,#5a337d 46% 100%);font-size:0;box-shadow:none;position:relative}
.ro-brand .brand-mark:after{content:'S';font-size:34px;font-weight:800;color:#fff;position:absolute;inset:0;display:grid;place-items:center}
.ro-brand .brand-copy{display:none}
.nav-section{display:none}
.nav{gap:0}
.nav a{min-height:38px;border-radius:0;padding:0 12px 0 16px;gap:10px;color:#b8bdc1;font-size:13px;font-weight:400}
.nav a:hover{background:#3a4045;color:#fff}
.nav a.active{background:#555b60;box-shadow:inset 4px 0 0 #e31b2f;color:#fff}
.nav-ico{width:18px;color:#aeb4b8;font-size:16px}
.nav a.active .nav-ico{color:#fff}
.nav-divider{height:1px;background:#3d4246;margin:7px 16px}
.side-spacer,.side-box,.user-row,.logout-form{display:none}
.main{margin-left:167px;min-height:100vh;background:#fff}
.topbar{display:none}
.page-content{padding:0;max-width:none;margin:0}
.orders-page .page-content{padding:0}
.orders-page .ro-page-head{height:56px;margin:0;border-bottom:1px solid #e3e5e7;padding:0 26px 0 16px;display:flex;align-items:center;justify-content:space-between;background:#fff}
.orders-page .ro-page-left,.orders-page .ro-page-right{display:flex;align-items:center;height:100%;gap:10px}
.orders-page .ro-page-title h1{font-size:25px;line-height:1;font-weight:400;margin:0;letter-spacing:-.4px;color:#252a2e}
.orders-page .ro-view-switch{display:flex;height:37px;border:1px solid #cfd4d8;border-radius:4px;overflow:hidden;margin-left:14px}
.orders-page .ro-view-switch button{width:51px;border:0;border-right:1px solid #cfd4d8;background:#fff;color:#30373c;font-size:18px}
.orders-page .ro-view-switch button:last-child{border-right:0}
.orders-page .ro-view-switch button.active{background:#f1f3f4}
.orders-page .ro-training{height:37px;border:0;border-radius:4px;background:#b33686;color:#fff;padding:0 14px;font-size:13px;font-weight:600}
.orders-page .ro-page-search{height:37px;width:210px;border:1px solid #cfd4d8;border-radius:4px;display:flex;align-items:center;padding:0 9px;color:#8f979d}
.orders-page .ro-page-search input{border:0;outline:0;min-width:0;flex:1;font-size:12px;margin-left:6px}.orders-page .ro-page-search-submit{border:0;background:transparent;padding:0;margin:0;color:#8f979d;font-size:16px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}.orders-page .ro-page-search-submit:hover{color:#596168}.orders-page .ro-page-search-submit:focus-visible{outline:2px solid #b7d8c1;outline-offset:2px;border-radius:3px}
.orders-page .ro-help-btn{height:37px;border:0;background:#fff;color:#343a3f;font-size:12px;padding:0 0 0 8px}
.orders-page .ro-dashboard-stats{height:100px;display:flex;justify-content:flex-end;align-items:center;gap:13px;padding:0 26px}
.orders-page .ro-big-stat{height:62px;min-width:154px;border-radius:8px;color:#fff;display:grid;grid-template-columns:38px 1fr;grid-template-rows:1fr 1fr;align-items:center;padding:0 14px}
.orders-page .ro-big-stat span{grid-row:1/3;font-size:25px}
.orders-page .ro-big-stat strong{font-size:16px;line-height:17px}
.orders-page .ro-big-stat small{font-size:12px;line-height:14px}
.orders-page .ro-big-stat.green{background:#13a34b}.orders-page .ro-big-stat.orange{background:#ff9f0b}.orders-page .ro-big-stat.dark{background:#292e32}
.orders-page .orders-compact-head,.orders-page .orders-toolbar-card{display:none}
.orders-page .filter-panel.open{display:block;background:#edf5ff;border:0;border-radius:0;margin:0 16px 16px;padding:13px 13px 12px}
.orders-page .filter-form{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.orders-page .filter-form label{font-size:0;min-width:auto;color:transparent;display:block}
.orders-page .filter-form select{height:38px;min-width:142px;border:1px solid #cfd5da;border-radius:4px;background:#fff;padding:0 11px;font-size:13px;color:#454c51}
.orders-page .filter-form label:first-child select{min-width:220px}
.orders-page .table-tools{position:absolute;right:25px;top:297px;margin:0;z-index:10}
.orders-page .column-settings-btn{width:38px;height:38px;border-radius:4px;font-size:18px;background:#fff;border:1px solid #cfd4d8}
.orders-page .table-wrap{margin:0 16px;border:0;border-radius:0;overflow:auto;box-shadow:none}
.orders-page .modern-table{min-width:1040px;border-collapse:separate;border-spacing:0}
.orders-page .modern-table th{height:43px;background:#eef0f2;color:#4d555b;font-size:13px;font-weight:400;padding:0 10px;border-right:1px solid #dfe2e4;border-bottom:1px solid #d9dde0}
.orders-page .modern-table td{height:53px;padding:0 10px;font-size:13px;color:#3d444a;border-bottom:1px solid #e4e7e9}
.orders-page .modern-table tbody tr:hover td{background:#fafbfc}
.orders-page .modern-table .order-link-static,.orders-page .modern-table .client-link{font-weight:400;color:#0878dc}
.orders-page .modern-table .cell-sub{font-size:11px;color:#8d949a;margin-top:2px;display:block}
.orders-page .modern-table .status-button{min-height:31px!important;height:31px!important;border-radius:4px!important;padding:0 9px!important;font-size:13px!important;font-weight:400!important}
.orders-page .table-footer{padding:10px 16px;font-size:13px}


.orders-page .ro-orders-actions{height:64px;display:flex;align-items:center;gap:9px;padding:0 16px;position:relative}
.orders-page .ro-action{height:37px;border:1px solid #cfd4d8;border-radius:4px;background:#fff;color:#42494f;padding:0 13px;font-size:13px;white-space:nowrap}
.orders-page .ro-action.green{background:#12a34a;border-color:#12a34a;color:#fff;font-weight:600}
.orders-page .ro-action.wide{padding:0 15px}
.orders-page .ro-settings{margin-left:auto;width:39px;height:37px;border:1px solid #cfd4d8;background:#fff;border-radius:4px;color:#4c555b;font-size:16px}
.orders-page .filter-panel.open{margin:0 16px 16px}

/* order drawer measured against 13.45.50 / 13.46.07 / 13.46.22 */
@media(min-width:1100px){.ro-order-drawer-shell{width:727px;min-width:727px}.ro-order-events{width:356px;min-width:356px}}
.ro-order-overlay{background:rgba(20,24,27,.58)}
.ro-order-overlay-backdrop{background:rgba(20,24,27,.58)}
.ro-order-drawer-shell{box-shadow:none;border-left:1px solid #e1e4e7}
.ro-order-drawer-head{height:56px;flex:0 0 56px;padding:0 14px 0 16px}
.ro-order-title{font-size:20px;gap:9px}.ro-order-title strong{font-weight:400}.ro-order-dot{width:14px;height:14px;border-width:3px}
.ro-order-commandbar{height:57px;padding:0 16px}.ro-command-actions{gap:8px}.ro-command-btn{height:37px;border-radius:4px;font-size:13px;padding:0 12px}
.ro-inline-status select{height:31px;font-size:13px;border-radius:4px;padding:0 9px}
.ro-order-tabs{height:48px;flex:0 0 48px;padding:0 16px}.ro-order-tabs button{height:48px;padding:0 13px;font-size:13px}
.ro-order-body{padding:34px 16px 84px}
.ro-form-row{grid-template-columns:175px 1fr;gap:18px;margin-bottom:14px}.ro-form-row>label{font-size:13px;font-weight:600}.ro-form-row input,.ro-form-row select,.ro-form-row textarea{height:37px;font-size:13px;border-radius:4px}
.ro-section-label{margin-left:193px;font-size:17px;margin-top:30px;margin-bottom:12px}.ro-client-card{margin-left:193px}
.ro-order-footer{height:62px;padding:0 16px}.ro-save-primary,.ro-save-secondary{height:37px;font-size:13px;border-radius:4px}.ro-footer-total b{font-size:20px}
.ro-order-events{background:#edf5ff;border-left:1px solid #d8e3ee}.ro-event-tabs{padding:18px 12px 12px}.ro-event-tabs button{height:37px;font-size:13px}.ro-event-date{font-size:13px;padding:3px 0 13px}.ro-timeline{padding:0 15px 80px}.ro-event{grid-template-columns:30px 1fr;gap:9px;padding-bottom:18px;min-height:60px}.ro-event-icon{width:28px;height:28px;background:#1678e6;border-radius:4px}.ro-event-line{left:14px;background:#1678e6}.ro-event>div{font-size:12px}.ro-event time{font-size:11px}.ro-event p{margin:7px 0;padding:9px;background:#d9e9fb}.ro-comment-box{padding:11px 14px 14px}.ro-comment-input{height:38px}.ro-comment-box small{font-size:11px}
.ro-items-head{height:43px;background:#d1d3d5}.ro-item-row{min-height:54px}.ro-total-box{margin-left:410px}
@media(max-width:1000px){:root{--sidebar:167px}.side{width:167px}.main{margin-left:167px}}
@media(max-width:700px){.side{display:none}.main{margin-left:0}.topbar{display:flex}.orders-page .ro-dashboard-stats{overflow:auto;justify-content:flex-start}.orders-page .ro-page-head{padding:0 12px}.orders-page .ro-page-search{display:none}.ro-order-events{display:none}.ro-order-drawer-shell{width:100%;min-width:0}}

/* v86 — orders toolbar cleanup */
.orders-page .ro-page-left{gap:10px}
.orders-page .ro-orders-actions{justify-content:flex-start}
.orders-page .ro-create-order{order:1}
.orders-page .ro-orders-settings{order:2;position:relative;margin-left:0}
.orders-page .ro-orders-settings .column-settings-btn{width:39px;height:37px;padding:0;border:1px solid #cfd4d8;background:#fff;border-radius:4px;color:#4c555b;font-size:18px;line-height:1;cursor:pointer;box-shadow:none}
.orders-page .ro-orders-settings .column-settings-btn:hover{background:#f5f8fa;border-color:#b9c1c8;color:#2d73c9;transform:none}
.orders-page .ro-orders-settings .column-settings-menu{top:43px;left:0;right:auto}

/* v87 — exact RO 13.45.50 items tab geometry */
.ro-order-tab-panel[data-panel="items"]{padding-top:0}
.ro-items-top{display:grid;grid-template-columns:205px minmax(0,1fr);column-gap:17px;align-items:start;margin:0 0 17px}
.ro-items-master{display:block;margin:0;padding:0}
.ro-items-master-label,.ro-items-field-label{height:19px;display:block;font-size:13px;line-height:19px;font-weight:600;color:#343a3f;margin:0 0 1px}
.ro-master-person{height:38px;display:flex;align-items:center;gap:9px}
.ro-master-person b{font-size:13px;font-weight:500;color:#3f454a;white-space:nowrap}
.ro-master-avatar{width:31px;height:31px;min-width:31px;border-radius:50%;object-fit:cover;background:#eee;display:block}
.ro-add-item-wrap{min-width:0}
.ro-add-item-wrap .ro-add-item{height:37px;margin:0;border-color:#3d94f7;border-radius:4px;box-sizing:border-box}
.ro-add-item-wrap .ro-add-item input{font-size:13px;padding:0 11px;color:#42484d}
.ro-add-item-wrap .ro-add-item input::placeholder{color:#a4abb1;opacity:1}
.ro-add-item-wrap .ro-add-item-chevron{width:39px;color:#7b838a;font-size:16px;line-height:1}
.ro-items-head,.ro-item-row{grid-template-columns:34px minmax(0,1fr) 117px 97px 117px}
.ro-items-head{height:43px;padding:0;background:#d0d2d4;font-size:12px;font-weight:500}
.ro-items-head span:nth-child(2){padding-left:8px}
.ro-items-head span:nth-child(n+3){padding-left:10px}
.ro-item-row{min-height:54px;padding:0;background:#fff;font-size:13px}
.ro-item-row>span,.ro-item-row>div{min-width:0}
.ro-item-row .ro-item-actions{width:34px;display:flex;justify-content:center;gap:0;opacity:0}
.ro-item-row:hover .ro-item-actions{opacity:0}
.ro-item-actions button{display:none}
.ro-item-row .ro-item-actions + div{padding-left:0;display:flex;align-items:center;min-width:0}
.ro-item-row .ro-item-actions + div a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ro-item-ico{width:34px;min-width:34px;text-align:center;color:#899196;font-size:18px;line-height:1;font-family:Arial,sans-serif}
.ro-item-ico.service{font-size:17px}.ro-item-ico.part{font-size:19px}
.ro-item-row>span:nth-last-child(-n+3){text-align:right;padding-right:10px;color:#3f454a}
.ro-item-row .ro-item-actions + div a{color:#0875d1;font-weight:400}
.ro-total-box{width:270px;margin:14px 0 8px auto;text-align:right;font-size:13px;line-height:29px}
.ro-total-box b{float:right;margin-left:22px;font-weight:500;color:#3d4348}
.ro-total-box .blue{color:#0875d1}
.ro-total-final{height:36px;line-height:36px;background:#efefef;border-radius:8px;padding:0 9px;font-weight:400}
.ro-total-final b{font-weight:600}
.ro-master-note{margin-top:18px}
.ro-master-note label{font-size:13px;font-weight:600;margin:0 0 8px}
.ro-master-note textarea{height:80px;box-sizing:border-box;padding:9px 11px;font-size:13px}


/* v88 — RO 13.45.50 correction pass from user's live screenshot */
.ro-order-tab-panel[data-panel="items"]{padding-top:16px}
.ro-items-head{grid-template-columns:34px minmax(0,1fr) 117px 97px 117px;align-items:center}
.ro-items-head>span{height:100%;display:flex;align-items:center;gap:5px;white-space:nowrap}
.ro-items-head>span:nth-child(n+3){justify-content:flex-start}
.ro-sort{font-style:normal;color:#8b9297;font-size:13px;line-height:1}
.ro-sort-corner{justify-content:center!important;color:#8b9297;font-size:10px;line-height:8px;display:flex!important;flex-direction:column!important;gap:0!important}
.ro-item-master-group{height:42px;display:flex;align-items:center;border-bottom:1px solid #e5e7e9;color:#30363b;font-size:14px;font-weight:700;padding:0 10px 0 42px;background:#fff}
.ro-item-row{border-bottom:1px solid #e5e7e9}
.ro-item-ico{width:34px;min-width:34px;height:34px;display:grid!important;place-items:center;color:#92999e;font-size:0!important}
.ro-item-ico svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ro-item-ico.part svg{width:20px;height:20px}
.ro-item-row>span:nth-last-child(-n+3){padding-right:10px}

/* v92 — RO status popup: measured from supplied 2880x1800 RO screenshot */
.ro-status-picker{position:relative!important;display:inline-block!important;z-index:120!important}
.ro-status-button{
  position:relative!important;
  height:22px!important;
  min-height:22px!important;
  min-width:0!important;
  width:max-content!important;
  padding:0 22px 0 8px!important;
  border:0!important;
  border-radius:3px!important;
  font-size:14px!important;
  line-height:22px!important;
  font-weight:600!important;
  letter-spacing:0!important;
  text-align:left!important;
  box-shadow:none!important;
  white-space:nowrap!important;
}
.ro-status-button::after{
  content:'⌃';
  position:absolute;
  right:7px;
  top:0;
  line-height:22px;
  color:rgba(255,255,255,.98);
  font-size:11px;
  font-weight:600;
}
.ro-status-menu{
  left:0!important;
  top:25px!important;
  box-sizing:border-box!important;
  width:240px!important;
  min-width:240px!important;
  max-width:240px!important;
  max-height:418px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:10px 12px!important;
  background:#fff!important;
  border:1px solid #dfe3e6!important;
  border-radius:6px!important;
  box-shadow:0 3px 12px rgba(31,42,52,.16)!important;
  z-index:2147483647!important;
}
.ro-status-menu[hidden]{display:none!important}
.ro-status-group{padding:0!important;margin:0!important;border:0!important}
.ro-status-group+.ro-status-group{
  border-top:0!important;
  padding-top:0!important;
  margin-top:8px!important;
}
.ro-status-group-title{
  font-size:14px!important;
  line-height:18px!important;
  font-weight:400!important;
  color:#3f464b!important;
  padding:0 2px 5px!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
.ro-status-option{
  display:block!important;
  width:max-content!important;
  min-width:0!important;
  height:22px!important;
  min-height:22px!important;
  margin:0 0 8px!important;
  padding:0 8px!important;
  border:0!important;
  border-radius:3px!important;
  color:#fff!important;
  font-size:14px!important;
  line-height:22px!important;
  font-weight:400!important;
  letter-spacing:0!important;
  text-align:left!important;
  white-space:nowrap!important;
  box-shadow:none!important;
  transform:none!important;
}
.ro-status-option:last-child{margin-bottom:0!important}
.ro-status-option:hover{filter:brightness(.97)!important;transform:none!important}
.ro-status-option.status-black{background:#20272c!important}
.ro-status-option.status-gray{background:#858b90!important}
.ro-status-option.status-violet{background:#1173df!important}
.ro-status-option.status-green{background:#16a84f!important}
.ro-status-option.status-orange{background:#f08a00!important}
.ro-status-option.status-cyan{background:#1aa9d8!important}
.ro-status-option.status-red{background:#df5c68!important}
.ro-status-menu::-webkit-scrollbar{width:8px}
.ro-status-menu::-webkit-scrollbar-track{background:transparent}
.ro-status-menu::-webkit-scrollbar-thumb{background:#b9c0c6;border-radius:8px}

/* The command bar in RO keeps the status control compact, not stretched. */
.ro-order-commandbar .ro-status-picker{display:inline-block!important;align-self:center!important}

/* v92 final measured overrides — keep the drawer popup identical to RO screenshot */
.ro-order-commandbar .ro-status-picker{display:inline-block!important;align-self:center!important;position:relative!important}
.ro-order-commandbar .ro-status-button{height:22px!important;min-height:22px!important;width:max-content!important;padding:0 22px 0 8px!important;border-radius:3px!important;font-size:14px!important;line-height:22px!important;font-weight:600!important}
.ro-order-commandbar .ro-status-button::after{right:7px!important;top:0!important;line-height:22px!important;font-size:11px!important}
.ro-status-menu{width:240px!important;min-width:240px!important;max-width:240px!important;max-height:418px!important;padding:10px 12px!important;border-radius:6px!important}
.ro-status-group{padding:0!important;margin:0!important;border:0!important}
.ro-status-group+.ro-status-group{padding-top:0!important;margin-top:8px!important;border-top:0!important}
.ro-status-group-title{font-size:14px!important;line-height:18px!important;font-weight:400!important;color:#3f464b!important;padding:0 2px 5px!important;text-transform:none!important}
.ro-status-option{display:block!important;width:max-content!important;min-width:0!important;height:22px!important;min-height:22px!important;margin:0 0 8px!important;padding:0 8px!important;border-radius:3px!important;font-size:14px!important;line-height:22px!important;font-weight:400!important}
.ro-status-option:last-child{margin-bottom:0!important}
.ro-status-option.status-violet{background:#1173df!important}.ro-status-option.status-green{background:#16a84f!important}.ro-status-option.status-orange{background:#f08a00!important}.ro-status-option.status-black{background:#20272c!important}.ro-status-option.status-gray{background:#858b90!important}.ro-status-option.status-cyan{background:#1aa9d8!important}.ro-status-option.status-red{background:#df5c68!important}

/* v94 — header keeps only document print and close controls */
.ro-order-head-actions{display:flex!important;align-items:center!important;gap:0!important;height:56px!important}
.ro-head-print-wrap{position:relative!important;height:56px!important;display:flex!important;align-items:center!important}
.ro-head-print-btn{height:36px!important;display:flex!important;align-items:center!important;gap:7px!important;padding:0 11px!important;border:1px solid #cfd5da!important;border-radius:4px!important;background:#fff!important;color:#3f474e!important;font-size:12px!important;font-weight:400!important;white-space:nowrap!important;cursor:pointer!important}
.ro-head-print-btn:hover{background:#f5f7f9!important}
.ro-printer-icon{width:17px!important;height:17px!important;display:block!important;flex:0 0 17px!important}
.ro-head-print-menu{right:0!important;left:auto!important;top:48px!important;z-index:30!important}
.ro-order-drawer-head .ro-drawer-close{margin-left:4px!important}
/* v96 — centered Select-m Service wordmark */
.ro-brand{
  height:130px!important;
  padding:0!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  text-align:center!important;
  gap:0!important;
}
.ro-brand .brand-mark{display:none!important}
.ro-brand .brand-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  padding-top:27px!important;
  line-height:1!important;
}
.ro-brand .brand-copy b{
  display:block!important;
  color:#fff!important;
  font-size:18px!important;
  font-weight:500!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
.ro-brand .brand-copy small{
  display:block!important;
  margin-top:3px!important;
  color:#fff!important;
  font-size:18px!important;
  font-weight:500!important;
  letter-spacing:0!important;
  text-transform:none!important;
}

/* v99: orders page — only status filter + column settings gear */
.orders-page .filter-panel.open{display:block;background:transparent;border:0;padding:0;margin:0 0 10px}
.orders-page .filter-form{display:flex;align-items:center;gap:8px;overflow:visible}
.orders-page .filter-form .status-filter-only{display:flex;flex-direction:column;gap:4px;min-width:178px;font-size:10px;color:#7b8792;font-weight:650}
.orders-page .filter-form .status-filter-only select{height:38px;margin:0;border:1px solid #dfe4e9;border-radius:7px;background:#fff;padding:0 11px;color:#38444f;font-size:12px;box-shadow:0 1px 2px rgba(20,30,40,.02)}
.orders-page .filter-form .ro-orders-settings{position:relative;align-self:flex-end}
.orders-page .filter-form .ro-orders-settings .column-settings-btn{width:38px;height:38px}
@media(max-width:700px){.orders-page .filter-form .status-filter-only{min-width:0;flex:1}.orders-page .filter-form{gap:7px}}


/* v100 — refined Create Order button */
.orders-page .ro-create-order{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  height:42px;padding:0 18px;border:0;border-radius:9px;
  background:linear-gradient(180deg,#18b957 0%,#0fa447 100%);
  color:#fff;text-decoration:none;font-size:14px;font-weight:700;
  letter-spacing:.1px;box-shadow:0 3px 10px rgba(16,164,71,.22),inset 0 1px 0 rgba(255,255,255,.18);
  transition:transform .12s ease,box-shadow .12s ease,filter .12s ease;
}
.orders-page .ro-create-order:hover{
  filter:brightness(1.03);transform:translateY(-1px);
  box-shadow:0 5px 14px rgba(16,164,71,.28),inset 0 1px 0 rgba(255,255,255,.2);
}
.orders-page .ro-create-order:active{transform:translateY(0);box-shadow:0 2px 7px rgba(16,164,71,.22)}
.orders-page .ro-create-order::first-letter{font-size:19px}

/* v101 — column settings: restore field names inside the menu */
.orders-page .filter-form .column-settings-menu label{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:9px!important;
  min-width:0!important;
  width:100%!important;
  padding:7px 5px!important;
  margin:0!important;
  font-size:14px!important;
  line-height:20px!important;
  font-weight:600!important;
  color:#38444f!important;
  border-radius:7px!important;
  cursor:pointer;
  box-sizing:border-box;
}
.orders-page .filter-form .column-settings-menu label:hover{background:#f4f7f5}
.orders-page .filter-form .column-settings-menu label input{
  width:17px!important;
  min-width:17px!important;
  height:17px!important;
  margin:0!important;
  flex:0 0 17px!important;
  accent-color:#20a05b;
}
.orders-page .filter-form .column-settings-menu{
  width:300px!important;
  min-width:300px!important;
  padding:12px!important;
  background:#fff!important;
  color:#38444f!important;
  z-index:2147483647!important;
}
.orders-page .filter-form .column-settings-menu .column-settings-title{
  display:block!important;
  font-size:16px!important;
  line-height:21px!important;
  font-weight:800!important;
  color:#38444f!important;
  margin-bottom:4px!important;
}
.orders-page .filter-form .column-settings-menu .column-settings-hint{
  display:block!important;
  font-size:12px!important;
  line-height:16px!important;
  font-weight:400!important;
  color:#7a8389!important;
  margin-bottom:10px!important;
}


/* v102 — orders status menu matches the order-card status popup */
.orders-page .status-menu-portal.ro-status-menu{position:fixed!important;box-sizing:border-box!important;width:240px!important;min-width:240px!important;max-width:240px!important;max-height:418px!important;overflow-y:auto!important;overflow-x:hidden!important;padding:10px 12px!important;background:#fff!important;border:1px solid #dfe3e6!important;border-radius:6px!important;box-shadow:0 3px 12px rgba(31,42,52,.16)!important;z-index:2147483647!important}
.orders-page .status-menu-portal.ro-status-menu .status-group{padding:0!important;margin:0!important;border:0!important}
.orders-page .status-menu-portal.ro-status-menu .status-group+.status-group{padding-top:0!important;margin-top:8px!important;border-top:0!important}
.orders-page .status-menu-portal.ro-status-menu .status-group-title{display:block!important;font-size:14px!important;line-height:18px!important;font-weight:400!important;color:#3f464b!important;padding:0 2px 5px!important;text-transform:none!important;letter-spacing:0!important}
.orders-page .status-menu-portal.ro-status-menu .ro-status-option{display:block!important;width:max-content!important;min-width:0!important;height:22px!important;min-height:22px!important;margin:0 0 8px!important;padding:0 8px!important;border:0!important;border-radius:3px!important;color:#fff!important;font-size:14px!important;line-height:22px!important;font-weight:400!important;letter-spacing:0!important;text-align:left!important;white-space:nowrap!important;box-shadow:none!important;transform:none!important}
.orders-page .status-menu-portal.ro-status-menu .ro-status-option:last-child{margin-bottom:0!important}
.orders-page .status-menu-portal.ro-status-menu .ro-status-option:hover{filter:brightness(.97)!important;transform:none!important}
.orders-page .status-menu-portal.ro-status-menu .status-black{background:#20272c!important}.orders-page .status-menu-portal.ro-status-menu .status-gray{background:#858b90!important}.orders-page .status-menu-portal.ro-status-menu .status-violet{background:#1173df!important}.orders-page .status-menu-portal.ro-status-menu .status-green{background:#16a84f!important}.orders-page .status-menu-portal.ro-status-menu .status-orange{background:#f08a00!important}.orders-page .status-menu-portal.ro-status-menu .status-cyan{background:#1aa9d8!important}.orders-page .status-menu-portal.ro-status-menu .status-red{background:#df5c68!important}
.orders-page .status-menu-portal.ro-status-menu::-webkit-scrollbar{width:8px}.orders-page .status-menu-portal.ro-status-menu::-webkit-scrollbar-track{background:transparent}.orders-page .status-menu-portal.ro-status-menu::-webkit-scrollbar-thumb{background:#b9c0c6;border-radius:8px}

/* v107: status filter uses the same RO-style status menu as order status */
.orders-page .ro-filter-status-wrap{position:relative;display:flex!important;flex-direction:column;gap:4px;min-width:178px;font-size:10px;color:#7b8792;font-weight:650}
.orders-page .ro-filter-status-label{display:block;line-height:14px}
.orders-page .ro-filter-status-button{height:38px;width:100%;margin:0;border:1px solid #dfe4e9;border-radius:7px;background:#fff;color:#38444f;font-size:12px;font-weight:400;padding:0 11px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;box-shadow:0 1px 2px rgba(20,30,40,.02);text-align:left}
.orders-page .ro-filter-status-button:hover{border-color:#cbd3d9}
.orders-page .ro-filter-chevron{font-size:16px;line-height:1;color:#68747e;margin-left:10px;transform:translateY(-1px)}
.orders-page .ro-filter-status-menu{position:absolute!important;left:0!important;right:auto!important;top:56px!important;box-sizing:border-box!important;width:240px!important;min-width:240px!important;max-width:240px!important;max-height:418px!important;overflow-y:auto!important;overflow-x:hidden!important;padding:10px 12px!important;background:#fff!important;border:1px solid #dfe3e6!important;border-radius:6px!important;box-shadow:0 8px 22px rgba(0,0,0,.14)!important;z-index:2147483647!important}
.orders-page .ro-filter-status-menu[hidden]{display:none!important}
.orders-page .ro-filter-status-menu .ro-status-group{padding:0!important;margin:0!important;border:0!important}
.orders-page .ro-filter-status-menu .ro-status-group+.ro-status-group{padding-top:0!important;margin-top:8px!important;border-top:0!important}
.orders-page .ro-filter-status-menu .ro-status-group-title{display:block!important;font-size:14px!important;line-height:18px!important;font-weight:400!important;color:#3f464b!important;padding:0 2px 5px!important;text-transform:none!important;letter-spacing:0!important}
.orders-page .ro-filter-status-menu .ro-status-option{display:block!important;width:max-content!important;min-width:0!important;height:22px!important;min-height:22px!important;margin:0 0 8px!important;padding:0 8px!important;border:0!important;border-radius:3px!important;color:#fff!important;font-size:14px!important;line-height:22px!important;font-weight:400!important;letter-spacing:0!important;text-align:left!important;white-space:nowrap!important;box-shadow:none!important;transform:none!important;cursor:pointer}
.orders-page .ro-filter-status-menu .ro-status-option:last-child{margin-bottom:0!important}
.orders-page .ro-filter-status-menu .ro-status-option:hover{filter:brightness(.97)!important;transform:none!important}
.orders-page .ro-filter-status-menu .ro-status-option.is-filter-selected{outline:2px solid rgba(43,115,200,.25);outline-offset:1px}
.orders-page .ro-filter-status-menu .ro-filter-all-option{display:block!important;width:100%!important;box-sizing:border-box!important;height:28px!important;margin:0 0 8px!important;padding:0 8px!important;border:0!important;border-radius:4px!important;background:#f4f6f7!important;color:#3f464b!important;font-size:14px!important;line-height:28px!important;font-weight:400!important;text-align:left!important;cursor:pointer!important}
.orders-page .ro-filter-status-menu .ro-filter-all-option:hover{background:#edf1f3!important}
.orders-page .ro-filter-status-menu .ro-filter-all-option.is-selected{background:#eef5ef!important;color:#1d8d4d!important}
.orders-page .ro-filter-status-menu::-webkit-scrollbar{width:8px}
.orders-page .ro-filter-status-menu::-webkit-scrollbar-track{background:transparent}
.orders-page .ro-filter-status-menu::-webkit-scrollbar-thumb{background:#b9c0c6;border-radius:8px}
@media(max-width:700px){.orders-page .ro-filter-status-wrap{min-width:0;flex:1}.orders-page .ro-filter-status-menu{max-width:calc(100vw - 24px)!important}}


/* v108 — orders: remove payment KPI strip and its empty vertical space */
.orders-page .ro-dashboard-stats{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}

/* v109 — orders: hide redundant status label; enlarge sidebar wordmark */
.orders-page .ro-filter-status-label{display:none!important}
.orders-page .ro-filter-status-wrap{gap:0!important}
.ro-brand .brand-copy{padding-top:20px!important}
.ro-brand .brand-copy b,.ro-brand .brand-copy small{font-size:24px!important;font-weight:600!important;line-height:1.02!important}
.ro-brand .brand-copy small{margin-top:4px!important}

/* v110: multi-select status filter */
.orders-page .ro-filter-status-menu .filter-multi-status-option{position:relative!important;display:flex!important;align-items:center!important;gap:7px!important;width:max-content!important;min-width:0!important}
.orders-page .ro-filter-status-menu .filter-check{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:15px!important;height:15px!important;min-width:15px!important;box-sizing:border-box!important;border:1px solid rgba(255,255,255,.95)!important;border-radius:3px!important;background:rgba(255,255,255,.16)!important;color:transparent!important;font-size:11px!important;font-weight:800!important;line-height:15px!important}
.orders-page .ro-filter-status-menu .filter-check.is-checked{background:#fff!important;color:#2ca65a!important}
.orders-page .ro-filter-status-menu .ro-filter-all-option{display:flex!important;align-items:center!important;gap:7px!important}
.orders-page .ro-filter-status-menu .ro-filter-all-option .filter-check{border-color:#9aa2a8!important;background:#fff!important;color:transparent!important}
.orders-page .ro-filter-status-menu .ro-filter-all-option .filter-check.is-checked{color:#2ca65a!important;border-color:#2ca65a!important}
.orders-page .ro-filter-status-menu .filter-status-apply{display:block!important;width:100%!important;height:34px!important;margin:10px 0 0!important;padding:0 12px!important;border:0!important;border-radius:5px!important;background:#2fbf68!important;color:#fff!important;font-size:14px!important;font-weight:500!important;cursor:pointer!important}
.orders-page .ro-filter-status-menu .filter-status-apply:hover{filter:brightness(.97)!important}

/* v111: multi-status filter — white rows, checkbox on the right */
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  height:32px!important;
  min-height:32px!important;
  margin:0!important;
  padding:0 4px 0 6px!important;
  box-sizing:border-box!important;
  border:0!important;
  border-radius:4px!important;
  background:#fff!important;
  color:#3f464b!important;
  font-size:14px!important;
  line-height:32px!important;
  font-weight:400!important;
  text-align:left!important;
  white-space:nowrap!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
  cursor:pointer!important;
}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option:hover{
  background:#f5f7f8!important;
  filter:none!important;
  transform:none!important;
}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option.is-filter-selected{
  background:#f5f7f8!important;
  outline:none!important;
}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option > span:last-child{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.orders-page .ro-filter-status-menu .filter-check{
  order:2!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 18px!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  box-sizing:border-box!important;
  border:1px solid #aeb5bb!important;
  border-radius:3px!important;
  background:#fff!important;
  color:transparent!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:18px!important;
}
.orders-page .ro-filter-status-menu .filter-check.is-checked{
  border-color:#2fbf68!important;
  background:#2fbf68!important;
  color:#fff!important;
}
.orders-page .ro-filter-status-menu .ro-filter-all-option{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  width:100%!important;
  height:32px!important;
  min-height:32px!important;
  margin:0 0 8px!important;
  padding:0 4px 0 6px!important;
  box-sizing:border-box!important;
  border:0!important;
  border-radius:4px!important;
  background:#fff!important;
  color:#3f464b!important;
  font-size:14px!important;
  line-height:32px!important;
  font-weight:500!important;
  text-align:left!important;
}
.orders-page .ro-filter-status-menu .ro-filter-all-option:hover{
  background:#f5f7f8!important;
}
.orders-page .ro-filter-status-menu .ro-filter-all-option.is-selected{
  background:#f5f7f8!important;
  color:#3f464b!important;
}
.orders-page .ro-filter-status-menu .ro-filter-all-option .filter-check{
  order:2!important;
  border-color:#aeb5bb!important;
  background:#fff!important;
  color:transparent!important;
}
.orders-page .ro-filter-status-menu .ro-filter-all-option .filter-check.is-checked{
  border-color:#2fbf68!important;
  background:#2fbf68!important;
  color:#fff!important;
}
.orders-page .ro-filter-status-menu .filter-status-apply{display:none!important}

/* v112: вернуть цвета статусам в фильтре, сохранив чекбоксы справа */
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option{
  color:#fff!important;
  font-weight:400!important;
  justify-content:space-between!important;
  padding:0 6px 0 10px!important;
  margin:0 0 6px!important;
  border-radius:6px!important;
  width:100%!important;
  background:#2f70c9!important;
}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option:hover{
  filter:brightness(.96)!important;
  background:inherit!important;
}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option.status-violet{background:#2f70c9!important;color:#fff!important}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option.status-green{background:#1da65a!important;color:#fff!important}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option.status-orange{background:#f08b00!important;color:#fff!important}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option.status-black{background:#1d2429!important;color:#fff!important}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option.status-gray{background:#858b90!important;color:#fff!important}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option.status-cyan{background:#1aa9d8!important;color:#fff!important}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option.status-red{background:#df5c68!important;color:#fff!important}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option.is-filter-selected{outline:none!important}
.orders-page .ro-filter-status-menu .filter-check{
  order:2!important;
  flex:0 0 18px!important;
  width:18px!important;height:18px!important;min-width:18px!important;
  border:1px solid #aeb5bb!important;
  border-radius:3px!important;
  background:#fff!important;
  color:transparent!important;
}
.orders-page .ro-filter-status-menu .filter-check.is-checked{
  border-color:#fff!important;background:#fff!important;color:#2fbf68!important;
}

/* v113: цветная заливка только под текстом статуса в фильтре */
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option{
  background:#fff!important;
  color:#3f464b!important;
  padding:0 4px 0 6px!important;
  margin:0 0 6px!important;
  border-radius:4px!important;
  width:100%!important;
  justify-content:space-between!important;
}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option:hover{
  background:#f5f7f8!important;
  filter:none!important;
}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option > span:last-child{
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  max-width:calc(100% - 30px)!important;
  min-height:22px!important;
  padding:0 9px!important;
  border-radius:5px!important;
  color:#fff!important;
  line-height:22px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option.status-violet > span:last-child{background:#2f70c9!important}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option.status-green > span:last-child{background:#1da65a!important}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option.status-orange > span:last-child{background:#f08b00!important}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option.status-black > span:last-child{background:#1d2429!important}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option.status-gray > span:last-child{background:#858b90!important}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option.status-cyan > span:last-child{background:#1aa9d8!important}
.orders-page .ro-filter-status-menu .ro-status-option.filter-multi-status-option.status-red > span:last-child{background:#df5c68!important}

/* v114: orders status filter copies the regular status menu: white rows + colored text badges + right checkboxes */
.orders-page .ro-filter-status-menu .ro-status-option {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  width:100% !important;
  max-width:none !important;
  min-height:30px !important;
  margin:0 !important;
  padding:2px 5px 2px 2px !important;
  border:0 !important;
  border-radius:0 !important;
  background:#fff !important;
  color:#2f383e !important;
  cursor:pointer !important;
  font-size:14px !important;
  line-height:1.25 !important;
  font-weight:400 !important;
  text-align:left !important;
  white-space:nowrap !important;
  transform:none !important;
  filter:none !important;
}
.orders-page .ro-filter-status-menu .ro-status-option:hover {
  background:#fafbfc !important;
  transform:none !important;
  filter:none !important;
}
.orders-page .ro-filter-status-menu .status-filter-pill {
  display:inline-flex !important;
  align-items:center !important;
  width:max-content !important;
  max-width:calc(100% - 28px) !important;
  padding:6px 11px !important;
  border-radius:7px !important;
  color:#fff !important;
  font-size:14px !important;
  line-height:1.15 !important;
  font-weight:400 !important;
  white-space:nowrap !important;
}
.orders-page .ro-filter-status-menu .status-filter-pill.status-black { background:#1d2429 !important; }
.orders-page .ro-filter-status-menu .status-filter-pill.status-gray { background:#858b90 !important; }
.orders-page .ro-filter-status-menu .status-filter-pill.status-violet { background:#2f70c9 !important; }
.orders-page .ro-filter-status-menu .status-filter-pill.status-green { background:#1da65a !important; }
.orders-page .ro-filter-status-menu .status-filter-pill.status-orange { background:#f08b00 !important; }
.orders-page .ro-filter-status-menu .status-filter-pill.status-cyan { background:#1aa9d8 !important; }
.orders-page .ro-filter-status-menu .status-filter-pill.status-red { background:#df5c68 !important; }
.orders-page .ro-filter-status-menu .filter-check {
  flex:0 0 18px !important;
  width:18px !important;
  height:18px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin-left:8px !important;
  border:1px solid #d7dde2 !important;
  border-radius:3px !important;
  background:#fff !important;
  color:transparent !important;
  font-size:13px !important;
  line-height:1 !important;
  font-weight:700 !important;
}
.orders-page .ro-filter-status-menu .filter-check.is-checked {
  color:#fff !important;
  background:#20ad68 !important;
  border-color:#20ad68 !important;
}
.orders-page .ro-filter-status-menu .ro-filter-all-option {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  width:100% !important;
  min-height:34px !important;
  margin:0 0 4px !important;
  padding:3px 5px 3px 7px !important;
  border:0 !important;
  border-bottom:1px solid #edf0f2 !important;
  border-radius:0 !important;
  background:#fff !important;
  color:#3c454b !important;
  font-size:14px !important;
  font-weight:400 !important;
  text-align:left !important;
}
.orders-page .ro-filter-status-menu .ro-status-group {
  padding:0 0 7px !important;
}
.orders-page .ro-filter-status-menu .ro-status-group-title {
  font-size:14px !important;
  line-height:22px !important;
  color:#3c454b !important;
  margin:5px 7px 5px !important;
  font-weight:400 !important;
}



/* V2.0.1: sortable Orders > Created header */
.orders-page .modern-table th.sortable-col { position: relative; }
.orders-page .table-sort-btn {
  appearance:none; border:0; background:transparent; padding:0; margin:0;
  font:inherit; color:inherit; cursor:pointer; display:inline-flex; align-items:center; gap:5px;
  text-align:left;
}
.orders-page .table-sort-btn:hover { color:#20282e; }
.orders-page .sort-indicator { display:inline-block; min-width:10px; font-size:12px; font-weight:800; opacity:.72; }

/* V2.0.8: все меню статусов — компактнее и меньше шрифт */
.orders-page .status-menu-portal.ro-status-menu {
  padding:6px 6px !important;
  border-radius:8px !important;
  min-width:0 !important;
  max-width:min(240px, calc(100vw - 16px)) !important;
}
.orders-page .status-menu-portal.ro-status-menu .ro-status-group-title {
  font-size:11px !important;
  line-height:15px !important;
  margin:2px 5px 3px !important;
}
.orders-page .status-menu-portal.ro-status-menu .ro-status-option {
  height:20px !important;
  min-height:20px !important;
  margin:0 0 5px !important;
  padding:0 7px !important;
  border-radius:3px !important;
  font-size:12px !important;
  line-height:20px !important;
  font-weight:400 !important;
}
.orders-page .ro-filter-status-menu {
  width:220px !important;
  min-width:220px !important;
  max-width:220px !important;
  padding:7px 8px !important;
  border-radius:6px !important;
}
.orders-page .ro-filter-status-menu .ro-status-group {
  padding:0 0 5px !important;
}
.orders-page .ro-filter-status-menu .ro-status-group-title {
  font-size:12px !important;
  line-height:17px !important;
  margin:3px 5px 3px !important;
}
.orders-page .ro-filter-status-menu .ro-status-option {
  min-height:25px !important;
  height:25px !important;
  padding:1px 4px 1px 2px !important;
  font-size:12px !important;
  line-height:1.1 !important;
}
.orders-page .ro-filter-status-menu .status-filter-pill {
  padding:4px 8px !important;
  border-radius:5px !important;
  font-size:12px !important;
  line-height:1.1 !important;
}
.orders-page .ro-filter-status-menu .filter-check {
  flex-basis:15px !important;
  width:15px !important;
  height:15px !important;
  margin-left:6px !important;
  font-size:10px !important;
}
.orders-page .ro-filter-status-menu .ro-filter-all-option {
  min-height:27px !important;
  height:27px !important;
  margin:0 0 3px !important;
  padding:2px 4px 2px 5px !important;
  font-size:12px !important;
}

/* V2.0.9: меню статусов — ровно 8px между строками, сами строки компактнее */
.orders-page .status-menu-portal.ro-status-menu .ro-status-option {
  height:18px !important;
  min-height:18px !important;
  margin:0 0 8px !important;
  padding:0 6px !important;
  font-size:11px !important;
  line-height:18px !important;
}
.orders-page .status-menu-portal.ro-status-menu .ro-status-option:last-child { margin-bottom:0 !important; }
.orders-page .ro-filter-status-menu .ro-status-option {
  height:18px !important;
  min-height:18px !important;
  margin:0 0 8px !important;
  padding:0 4px !important;
  font-size:11px !important;
  line-height:18px !important;
}
.orders-page .ro-filter-status-menu .ro-status-option:last-child { margin-bottom:0 !important; }
.orders-page .ro-filter-status-menu .ro-filter-all-option {
  height:22px !important;
  min-height:22px !important;
  margin:0 0 8px !important;
  padding:0 5px !important;
  font-size:11px !important;
  line-height:22px !important;
}
.orders-page .ro-filter-status-menu .status-filter-pill {
  padding:2px 6px !important;
  font-size:11px !important;
  line-height:1.1 !important;
}

/* V2.0.10: статусы — компактные галочки одного размера с текстом */
.orders-page .status-menu-portal.ro-status-menu .ro-status-option,
.orders-page .ro-filter-status-menu .ro-status-option,
.orders-page .ro-filter-status-menu .ro-filter-all-option {
  padding-left:4px !important;
  padding-right:3px !important;
}
.orders-page .status-menu-portal.ro-status-menu .status-option-check,
.orders-page .status-menu-portal.ro-status-menu .filter-check,
.orders-page .ro-filter-status-menu .status-option-check,
.orders-page .ro-filter-status-menu .filter-check {
  width:11px !important;
  min-width:11px !important;
  height:11px !important;
  min-height:11px !important;
  flex:0 0 11px !important;
  margin-left:4px !important;
  margin-right:0 !important;
  font-size:11px !important;
  line-height:11px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.orders-page .ro-filter-status-menu .filter-check {
  width:11px !important;
  min-width:11px !important;
  height:11px !important;
  min-height:11px !important;
  flex-basis:11px !important;
  margin-left:4px !important;
  font-size:11px !important;
}

/* V2.0.11: ВСЕ галочки в меню статусов — одинаково компактные */
.orders-page .status-menu-portal .filter-check,
.orders-page .ro-filter-status-menu .filter-check,
.orders-page .status-menu-portal .status-check,
.orders-page .ro-filter-status-menu .status-check {
  flex:0 0 11px !important;
  width:11px !important;
  min-width:11px !important;
  max-width:11px !important;
  height:11px !important;
  min-height:11px !important;
  max-height:11px !important;
  margin:0 0 0 5px !important;
  padding:0 !important;
  font-size:11px !important;
  line-height:11px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.orders-page .status-menu-portal .status-option > .filter-check,
.orders-page .status-menu-portal .status-option > .status-check,
.orders-page .ro-filter-status-menu .ro-status-option > .filter-check,
.orders-page .ro-filter-status-menu .ro-status-option > .status-check {
  margin-left:5px !important;
  margin-right:0 !important;
}

/* V2.0.12: ВСЕ галочки меню статусов = точная копия размера/вида галочки «Все статусы» */
.orders-page .status-menu-portal .filter-check,
.orders-page .status-menu-portal .status-check,
.orders-page .ro-filter-status-menu .filter-check,
.orders-page .ro-filter-status-menu .status-check {
  box-sizing:border-box !important;
  width:11px !important;
  min-width:11px !important;
  max-width:11px !important;
  height:11px !important;
  min-height:11px !important;
  max-height:11px !important;
  flex:0 0 11px !important;
  margin:0 0 0 5px !important;
  padding:0 !important;
  border-width:1px !important;
  border-style:solid !important;
  border-radius:3px !important;
  font-size:11px !important;
  font-weight:800 !important;
  line-height:11px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  transform:none !important;
  scale:1 !important;
}

/* V2.0.13: создание заказа открывается в той же карточке/drawer, что и заказ */
.ro-new-order-drawer-shell .ro-order-commandbar{justify-content:flex-start}
.ro-new-order-drawer-shell .ro-status-button{border:0;border-radius:4px;padding:0 9px;height:31px;font-size:13px;font-weight:600}
.ro-new-order-drawer-shell .ro-order-tabs button:disabled{color:#9da4aa;cursor:default}
.ro-new-order-drawer-shell .ro-info-form{padding-bottom:8px}
.ro-new-order-drawer-shell .ro-new-order-footer{justify-content:flex-start}
.ro-new-order-drawer-shell .ro-new-order-form input:focus,.ro-new-order-drawer-shell .ro-new-order-form select:focus,.ro-new-order-drawer-shell .ro-new-order-form textarea:focus{border-color:#2878d0;box-shadow:0 0 0 2px rgba(40,120,208,.08)}

/* V2.0.15: корзина удаления заказа слева от крестика */
.ro-order-head-actions{display:flex!important;align-items:center!important;height:56px!important}
.ro-delete-order-form{height:56px;display:flex;align-items:center;margin:0;padding:0}
.ro-delete-order-btn{width:45px;height:56px;border:0;border-left:1px solid #e7eaed;background:#fff;color:#7a838a;display:grid;place-items:center;cursor:pointer;padding:0}
.ro-delete-order-btn svg{width:18px;height:18px;display:block}
.ro-delete-order-btn:hover{background:#fff4f4;color:#d64545}
.ro-order-head-actions .ro-drawer-close{margin-left:0!important}


/* V2.19: красивые вкладки страницы склада */
.warehouse-tabs{display:flex;align-items:center;gap:4px;margin:0 0 16px;padding:4px;background:#f3f6f8;border:1px solid var(--line);border-radius:11px;width:max-content;max-width:100%;box-shadow:inset 0 1px 1px rgba(20,30,40,.025)}
.warehouse-tab{display:inline-flex;align-items:center;justify-content:center;min-width:116px;height:36px;padding:0 18px;border-radius:8px;color:#667687;font-size:12px;font-weight:800;transition:.15s ease}
.warehouse-tab:hover{background:#fff;color:#334555}
.warehouse-tab.active{background:#fff;color:var(--green-dark);box-shadow:0 2px 7px rgba(25,45,60,.09),inset 0 0 0 1px #e4ebef}
.warehouse-form-card{max-width:900px}
.warehouse-form{display:grid;grid-template-columns:minmax(260px,1fr) 180px auto;gap:12px;align-items:end;margin-top:16px}
.warehouse-form label{display:grid;gap:6px;font-size:10px;font-weight:800;color:#718191}
.warehouse-form input,.warehouse-form select{width:100%;height:40px;border:1px solid var(--line-strong);border-radius:8px;background:#fff;padding:0 10px;color:var(--text);outline:none}
.warehouse-form input:focus,.warehouse-form select:focus{border-color:#a9cbb7;box-shadow:0 0 0 3px rgba(36,207,120,.08)}
.btn-danger{background:#fff;border-color:#e6b8b8;color:#b33434}
.btn-danger:hover{background:#fff5f5}
@media(max-width:700px){.warehouse-tabs{width:100%;overflow:auto}.warehouse-tab{min-width:0;flex:1;padding:0 11px}.warehouse-form{grid-template-columns:1fr}.warehouse-form .btn{width:100%}}

/* V2.20 — единый фирменный стиль Select-m Service для всех страниц */
:root{
  --brand:#16b364;
  --brand-dark:#0d8d4b;
  --brand-soft:#e9f8f0;
  --brand-ink:#182a35;
  --ui-bg:#f5f7fa;
  --ui-line:#e3e8ed;
  --ui-line-2:#d7dfe6;
  --ui-radius:12px;
  --ui-shadow:0 1px 2px rgba(18,29,40,.03),0 8px 24px rgba(18,29,40,.045);
}

/* Единый фон и вертикальный ритм */
.main{background:var(--ui-bg)}
.page-content{padding-top:26px}
.page-title-row h1{font-size:28px;letter-spacing:-.55px;color:var(--brand-ink)}
.page-title-row .muted{font-size:12px}

/* Карточки всех разделов */
.page-content .card{
  background:#fff;
  border:1px solid var(--ui-line);
  border-radius:var(--ui-radius);
  box-shadow:var(--ui-shadow);
}
.page-content .card h1,
.page-content .card h2,
.page-content .card h3{color:var(--brand-ink);letter-spacing:-.2px}
.page-content .card h1{font-size:22px}
.page-content .card h2{font-size:17px}
.page-content .card h3{font-size:14px}

/* Заголовки секций */
.page-content .section-head{
  min-height:38px;
  padding-bottom:11px;
  border-bottom:1px solid #edf1f4;
  margin-bottom:12px;
}
.page-content .section-head h2{margin:0;font-size:16px;font-weight:750}
.page-content .section-head .muted{font-size:11px}

/* Кнопки — единый Select-m */
.page-content .btn,
.page-content button.btn{
  border-radius:8px;
  border-color:var(--ui-line-2);
  min-height:36px;
  transition:background .15s,border-color .15s,transform .1s,box-shadow .15s;
}
.page-content .btn:hover{transform:translateY(-1px)}
.page-content .btn-primary,
.page-content .btn.primary,
.page-content .quick-action.primary{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
  box-shadow:0 4px 12px rgba(22,179,100,.16);
}
.page-content .btn-primary:hover,
.page-content .btn.primary:hover,
.page-content .quick-action.primary:hover{background:var(--brand-dark);border-color:var(--brand-dark)}
.page-content .btn.danger{background:#fff;border-color:#efc9c9;color:#c84444}

/* Поля и формы */
.page-content input:not([type="checkbox"]):not([type="radio"]),
.page-content select,
.page-content textarea{
  border:1px solid var(--ui-line-2);
  border-radius:8px;
  background:#fff;
  color:#253442;
  outline:none;
  transition:border-color .15s,box-shadow .15s;
}
.page-content input:not([type="checkbox"]):not([type="radio"]):focus,
.page-content select:focus,
.page-content textarea:focus{
  border-color:#8dd8b0;
  box-shadow:0 0 0 3px rgba(22,179,100,.09);
}
.page-content label{color:#66788a;font-size:11px;font-weight:700}
.page-content textarea{min-height:90px;resize:vertical}

/* Таблицы всех страниц */
.page-content .table-wrap{border-radius:11px;border-color:var(--ui-line);box-shadow:var(--ui-shadow)}
.page-content .table th{
  background:#f6f8fa;
  color:#738292;
  font-size:10px;
  font-weight:750;
  border-bottom:1px solid var(--ui-line);
}
.page-content .table td{color:#3b4854;font-size:12px}
.page-content .table tbody tr:hover td{background:#fbfdfc}

/* Списки / события */
.page-content .event{
  padding:11px 0;
  border-bottom:1px solid #edf1f4;
  font-size:12px;
}
.page-content .event:last-child{border-bottom:0}

/* KPI и показатели */
.page-content .kpi,
.page-content .home-kpi,
.page-content .summary-card{
  border-color:var(--ui-line);
  box-shadow:0 1px 2px rgba(18,29,40,.025);
}
.page-content .kpi-value{color:var(--brand-ink)}

/* Фильтры / панели инструментов */
.page-content .filter-panel,
.page-content .orders-toolbar-card,
.page-content .action-strip{
  border-color:var(--ui-line);
}

/* Склад — фирменные вкладки */
.inventory-tabs,
.warehouse-tabs{
  display:flex;
  align-items:center;
  gap:4px;
  margin:0 0 16px;
  padding:4px;
  background:#edf2f5;
  border:1px solid #e0e6eb;
  border-radius:10px;
  width:max-content;
}
.inventory-tabs a,
.warehouse-tabs a,
.inventory-tabs button,
.warehouse-tabs button{
  border:0;
  background:transparent;
  color:#687989;
  min-height:34px;
  padding:0 15px;
  border-radius:7px;
  font-size:12px;
  font-weight:750;
  cursor:pointer;
}
.inventory-tabs .active,
.warehouse-tabs .active,
.inventory-tabs a[aria-current="page"],
.warehouse-tabs a[aria-current="page"]{
  background:#fff;
  color:var(--brand-dark);
  box-shadow:0 1px 4px rgba(18,29,40,.08);
}

/* Простые страницы: делаем первый контентный блок визуально собранным */
.page-content > .card:first-child{margin-top:0}
.page-content hr.line{border:0;border-top:1px solid #edf1f4}

/* Адаптив */
@media(max-width:900px){
  .page-content{padding:18px 16px 28px}
  .page-title-row h1{font-size:24px}
  .inventory-tabs,.warehouse-tabs{width:100%;overflow:auto}
  .inventory-tabs a,.warehouse-tabs a,.inventory-tabs button,.warehouse-tabs button{flex:1;white-space:nowrap}
}

/* V2.22 — RO App style warehouse residue structure */
.warehouse-stock-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:0 0 10px;flex-wrap:wrap}.warehouse-stock-filters{display:flex;gap:8px;align-items:center;flex:1;min-width:680px}.warehouse-stock-filters .input{height:38px}.warehouse-search{min-width:300px;flex:1}.warehouse-stock-actions{display:flex;gap:8px}.warehouse-hint{font-size:11px;margin:4px 0 10px}.warehouse-stock-table table{min-width:760px}.warehouse-check-col{width:38px;text-align:center}.warehouse-check-col input{width:15px;height:15px}.stock-number{font-weight:800}.stock-low{color:#b26b00}.stock-zero{color:#c44545}.warehouse-bulk{position:sticky;bottom:14px;margin:12px auto 0;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:720px;box-shadow:0 8px 30px rgba(20,30,40,.12)}.warehouse-columns-modal[hidden]{display:none!important}.warehouse-columns-modal{position:fixed;inset:0;background:rgba(20,30,40,.28);z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px}.warehouse-columns-card{width:min(420px,100%);padding:18px;display:grid;gap:11px}.warehouse-columns-card .section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.warehouse-columns-card label{font-size:13px;color:var(--text);display:flex;gap:9px;align-items:center}.warehouse-columns-card input{width:16px;height:16px}@media(max-width:900px){.warehouse-stock-filters{min-width:0;width:100%;flex-wrap:wrap}.warehouse-search{min-width:220px}.warehouse-stock-actions{width:100%}.warehouse-stock-actions .btn{flex:1}}@media(max-width:700px){.warehouse-stock-toolbar{display:block}.warehouse-stock-filters{display:grid;grid-template-columns:1fr;margin-bottom:8px}.warehouse-stock-filters .btn{width:100%}.warehouse-stock-actions{display:grid;grid-template-columns:1fr 1fr}.warehouse-bulk{margin-left:0;margin-right:0}}
.warehouse-grid{display:grid;gap:14px}.warehouse-form-2{grid-template-columns:repeat(3,minmax(180px,1fr))}.warehouse-checkbox{display:flex!important;align-items:center;gap:8px;height:40px}.warehouse-checkbox input{width:16px!important;height:16px!important}.warehouse-location-cell{max-width:360px;font-size:11px;color:#607080;line-height:1.45}.warehouse-move-form{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:12px;align-items:end}.warehouse-move-form label{display:grid;gap:6px;font-size:10px;font-weight:800;color:#718191}.warehouse-move-form input,.warehouse-move-form select{width:100%;height:40px;border:1px solid var(--line-strong);border-radius:8px;background:#fff;padding:0 10px;color:var(--text);outline:none}.warehouse-move-form .btn{height:40px}.warehouse-grid .table-wrap,.warehouse-form-card{min-width:0}@media(max-width:900px){.warehouse-form-2,.warehouse-move-form{grid-template-columns:1fr}.warehouse-form-2 .btn,.warehouse-move-form .btn{width:100%}}

/* V2.25 — warehouse / posting layout based on supplied RO App screenshots */
.ro-warehouse-head{display:flex;align-items:center;justify-content:space-between;padding:0 0 14px;border-bottom:1px solid #e4e7ea}.ro-warehouse-title{display:flex;align-items:center;gap:16px}.ro-warehouse-title h1{font-size:23px;margin:0;font-weight:700}.ro-warehouse-collapse{font-size:18px;color:#4e5b67}.ro-training{height:38px;border:0;border-radius:10px;background:#9b4cff;color:#fff;padding:0 16px;font-weight:700}.ro-warehouse-head-actions{display:flex;align-items:center;gap:16px}.ro-mini-search{height:38px;width:215px;border:1px solid #e1e5e8;border-radius:10px;display:flex;align-items:center;gap:8px;padding:0 12px;color:#7d8790;background:#fff}.ro-mini-search kbd{margin-left:auto;background:#f3f4f5;border-radius:6px;padding:2px 7px;font-size:12px}.ro-head-icon{border:0;background:none;font-size:17px;color:#4e5b67}.ro-warehouse-tabs{display:flex;align-items:flex-end;gap:0;border-bottom:1px solid #e2e5e8;overflow:auto;white-space:nowrap}.ro-warehouse-tabs a{padding:15px 13px 13px;color:#26313a;font-size:14px;border-bottom:2px solid transparent}.ro-warehouse-tabs a.active{border-bottom-color:#202a31;font-weight:600}.ro-warehouse-subtabs{height:39px;border-bottom:1px solid #e5e8ea;display:flex;align-items:center}.ro-warehouse-subtabs a{font-size:13px;color:#313a42;padding-left:13px}.ro-stock-caption,.ro-posting-caption{font-size:14px;color:#39434b;margin:20px 0 18px}.ro-stock-filterbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ro-filter{height:38px;border:1px solid #dfe3e6;border-radius:9px;display:flex;align-items:center;gap:7px;padding:0 10px;background:#fff;color:#27323a}.ro-filter span{color:#56636d}.ro-filter select{border:0;background:transparent;outline:0;font-size:14px;color:#303a42;max-width:210px}.ro-stock-search{margin-left:auto;height:38px;border:1px solid #dfe3e6;border-radius:9px;padding:0 12px;min-width:260px}.ro-table-actions,.ro-posting-toolbar{display:flex;align-items:center;gap:8px;justify-content:space-between;margin:14px 0}.ro-table-actions>div:last-child,.ro-posting-toolbar>div:last-child{display:flex;gap:8px}.ro-outline-btn,.ro-icon-btn,.ro-date-filter{height:38px;border:1px solid #dfe3e6;background:#fff;border-radius:9px;padding:0 14px;color:#2f3941;font-size:14px}.ro-icon-btn{padding:0 11px}.ro-stock-table,.ro-posting-table{border:1px solid #dfe3e6;border-radius:10px;overflow:auto;background:#fff}.ro-stock-table table,.ro-posting-table table{min-width:1050px;border-collapse:separate;border-spacing:0;width:100%}.ro-stock-table th,.ro-posting-table th{height:42px;background:#fafbfc;border-bottom:1px solid #e4e7ea;color:#343e46;font-size:13px;font-weight:600;text-align:left;padding:0 12px;white-space:nowrap}.ro-stock-table td,.ro-posting-table td{height:60px;border-bottom:1px solid #e8ebed;padding:0 12px;font-size:14px;color:#2e3840}.ro-stock-table tr:last-child td,.ro-posting-table tr:last-child td{border-bottom:0}.ro-check{width:42px;text-align:center!important}.ro-check input{width:17px;height:17px}.ro-name-col{min-width:245px}.ro-part-name{font-weight:500;line-height:1.3}.ro-no-image{display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;color:#a5adb3}.ro-qty{color:#1677e8;font-weight:600}.ro-price-triple{display:grid;grid-template-columns:repeat(3,78px);gap:0}.ro-price-triple span{padding-right:8px}.ro-price-subhead th{height:30px;border-bottom:1px solid #e4e7ea;background:#fff;color:#47515a;font-weight:600}.ro-price-subhead th span{display:inline-block;margin-right:28px}.ro-pagination{display:flex;align-items:center;gap:24px;padding:13px 16px;color:#7a848c;font-size:14px}.ro-pagination b{border:1px solid #dfe3e6;border-radius:8px;padding:8px 12px;color:#222;background:#fff}.ro-pagination strong{color:#29333b}.ro-empty{text-align:center;padding:100px 20px 105px;color:#58636c}.ro-empty-icon{font-size:58px;color:#2e82f1;margin-bottom:12px}.ro-empty h3{margin:0 0 10px;color:#303a42;font-size:18px}.ro-empty p{margin:0 0 24px;font-size:15px}.ro-empty button{border:0;background:none;color:#1976e8;font-size:15px;font-weight:600;cursor:pointer}.ro-posting-toolbar{justify-content:flex-start}.ro-posting-toolbar .ro-spacer{flex:1}.ro-green-btn{height:38px;border:0;border-radius:8px;background:#16a64a;color:#fff;padding:0 18px;font-size:15px;font-weight:700}.ro-posting-table th{height:45px}.ro-posting-table td{height:54px}.ro-coming{padding:40px}.posting-overlay{position:fixed;inset:0;background:rgba(26,32,38,.42);z-index:2000}.posting-drawer{position:fixed;z-index:2001;right:0;top:0;bottom:0;width:min(855px,76vw);background:#fff;box-shadow:-8px 0 28px rgba(0,0,0,.14);display:flex;flex-direction:column}.posting-drawer[hidden],.posting-overlay[hidden]{display:none!important}.posting-drawer-head{height:56px;flex:0 0 56px;border-bottom:1px solid #e1e4e7;display:flex;align-items:center;justify-content:space-between;padding:0 18px}.posting-drawer-head h2{font-size:22px;margin:0;font-weight:500}.posting-close{border:0;background:none;font-size:34px;line-height:1;color:#7a838a;cursor:pointer}.posting-body{padding:20px 18px 90px;overflow:auto}.posting-label{display:grid;gap:7px;font-size:14px;font-weight:600;color:#303941;margin-bottom:18px}.posting-label>span{color:#e03131}.posting-label input,.posting-label select,.posting-label textarea{height:38px;border:1px solid #d9dfe3;border-radius:8px;padding:0 11px;font:inherit;font-weight:400;color:#2c363d;background:#fff}.posting-label textarea{height:auto;padding:10px;resize:vertical}.posting-row{display:grid;grid-template-columns:1fr 140px;gap:18px;align-items:end}.posting-date-label{font-size:13px;color:#68737b;display:grid;grid-template-columns:30px 1fr;align-items:center;gap:5px;margin-bottom:18px}.posting-date-label input{height:38px;border:1px solid #d9dfe3;border-radius:8px;padding:0 8px}.posting-section-title{font-size:17px;margin:25px 0 14px}.posting-product-line{display:flex;align-items:center;gap:10px;margin-bottom:8px}.posting-product-picker{position:relative;flex:1}.posting-product-picker>input{width:100%;height:40px;border:1px solid #2878d0;border-radius:8px;padding:0 12px;font-size:14px;box-sizing:border-box}.posting-product-list{position:absolute;z-index:20;left:0;right:0;top:44px;max-height:310px;overflow:auto;background:#fff;border:1px solid #dfe3e6;border-radius:0 0 8px 8px;box-shadow:0 10px 22px rgba(20,30,40,.12)}.posting-product-list button{display:block;width:100%;border:0;background:#fff;text-align:left;padding:10px 12px;font-size:14px;color:#303941;cursor:pointer}.posting-product-list button:hover{background:#f3f7fa}.posting-product-list small{display:block;color:#8a949b;font-size:11px;margin-top:2px}.ro-import-btn{height:38px;border:1px solid #dfe3e6;background:#fff;border-radius:8px;padding:0 13px;font-size:14px;white-space:nowrap}.posting-items-wrap{border:1px solid #dfe3e6;border-radius:8px;overflow:hidden;margin-bottom:20px}.posting-items-wrap table{width:100%;border-collapse:collapse}.posting-items-wrap th{height:40px;background:#fff;border-bottom:1px solid #e4e7ea;text-align:left;padding:0 10px;font-size:13px}.posting-items-wrap td{padding:8px 10px;border-bottom:1px solid #edf0f2;font-size:13px}.posting-items-wrap td input{height:32px;border:1px solid #dfe3e6;border-radius:6px;padding:0 7px;width:90px}.posting-items-wrap td small{display:block;color:#8a949b}.posting-remove{border:0;background:none;font-size:22px;color:#a0a8ae;cursor:pointer}.posting-empty{min-height:150px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#7a858d}.posting-empty strong{color:#3a444c;font-size:16px}.posting-footer{position:absolute;left:0;right:0;bottom:0;height:72px;background:#edf5ff;border-top:1px solid #dfe8f0;display:flex;align-items:center;gap:10px;padding:0 18px}.ro-blue-btn{height:38px;background:#1976e8;color:#fff;border:0;border-radius:7px;padding:0 18px;font-weight:700;font-size:14px}.ro-save-draft{height:38px;border:1px solid #d9dfe3;background:#fff;border-radius:7px;padding:0 16px;font-size:14px;color:#3d474e}.posting-open{overflow:hidden}
@media(max-width:1000px){.ro-warehouse-head-actions{display:none}.ro-stock-search{margin-left:0;min-width:200px;flex:1}.posting-drawer{width:100%}.ro-warehouse-tabs a{padding-left:10px;padding-right:10px}}
