:root {
  color-scheme: light;
  font-family: Inter, system-ui, sans-serif;
  color: #18212b;
  background: #f5f7f8;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
.app-frame { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.rail { display: flex; position: sticky; top: 0; z-index: 3; flex-direction: column; height: 100vh; padding: 0 8px 8px; background: #28343f; color: white; }
.rail a { color: white; text-decoration: none; }
.rail a[aria-disabled="true"] { opacity: .92; }
.rail-brand { display: grid; align-content: center; min-height: 58px; padding: 0 16px; }
.rail-brand strong { color: white; font-size: 30px; line-height: 1; letter-spacing: 0; }
.rail-brand strong span { color: #2985de; }
.rail-brand small { margin-top: 3px; color: #d6dee5; font-size: 10px; }
.main-nav { display: grid; gap: 8px; margin-top: 10px; }
.main-nav-item, .marketplace-nav a, .marketplace-group summary { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 42px; padding: 0 14px; border-radius: 22px; }
.nav-group { display: grid; gap: 4px; }
.nav-group summary { cursor: pointer; list-style: none; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group[open] summary em { transform: rotate(180deg); }
.main-nav-item:hover, .main-nav-item.active, .marketplace-group summary:hover { background: #17222c; }
.main-nav-item b, .marketplace-nav b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 3px; color: white; font-size: 11px; font-weight: 800; }
.main-nav-item span, .marketplace-nav a span { overflow: hidden; font-size: 15px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.main-nav-item em, .marketplace-nav em { color: #73a9c6; font-style: normal; transition: transform .16s ease; }
.submenu { display: grid; gap: 2px; padding: 0 8px 2px 46px; }
.submenu a { display: flex; align-items: center; justify-content: space-between; min-height: 36px; padding: 0 10px; border-radius: 18px; color: white; font-size: 14px; font-weight: 700; }
.submenu a.active { background: #17222c; color: #1c8fe6; }
.submenu a[aria-disabled="true"] { opacity: 1; }
.submenu small { padding: 2px 5px; border-radius: 3px; background: #8e9daa; color: white; font-size: 10px; }
.marketplace-submenu { padding-left: 46px; }
.marketplace-submenu a { min-height: 35px; }
.marketplace-nav { display: grid; gap: 4px; margin-top: 26px; }
.marketplace-nav > div { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 8px; color: #7f909e; font-size: 12px; text-transform: uppercase; }
.marketplace-nav button { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 1px solid #62717d; border-radius: 50%; background: transparent; color: #cbd6df; }
.marketplace-nav small { padding: 3px 6px; border-radius: 3px; background: #238bd4; color: white; font-size: 10px; font-weight: 800; }
.setup-toast { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; gap: 8px; margin-top: auto; padding: 9px 8px; border-radius: 4px; background: #1c2731; color: white; }
.setup-toast strong { display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid #138a5b; border-radius: 50%; font-size: 11px; }
.setup-toast span { font-size: 11px; font-weight: 750; line-height: 1.25; }
.setup-toast button { padding: 0; background: transparent; color: white; }
.app-main { min-width: 0; }
.app-header { display: flex; align-items: center; gap: 18px; min-height: 58px; padding: 0 16px; border-bottom: 1px solid #e3e8ec; background: white; color: #26333f; box-shadow: 0 1px 4px rgb(20 35 50 / 6%); }
.quick-access { display: flex; align-items: center; gap: 10px; min-width: 190px; color: #53616d; font-size: 14px; }
.global-search { display: flex; align-items: center; gap: 10px; width: min(760px, 100%); height: 40px; margin: 0 auto; padding: 0 12px; border: 1px solid #cfd8de; border-radius: 22px; background: #fbfcfd; color: #697682; }
.global-search input { flex: 1; border: 0; background: transparent; font: inherit; }
.global-search button { padding: 0; border: 0; background: transparent; color: #53616d; font-size: 20px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #d6e0e7; border-radius: 50%; background: white; color: #385064; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #0877cf; color: white; font-weight: 800; text-transform: uppercase; }
.page { width: min(1840px, 100%); margin: 0 auto; padding: 18px 18px 42px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
h1 { margin: 0 0 4px; font-size: 24px; letter-spacing: 0; }
h2 { margin: 0; font-size: 15px; letter-spacing: 0; }
p { margin: 0; }
.page-heading p, .muted { color: #697682; font-size: 13px; }
button { border: 0; border-radius: 6px; padding: 9px 13px; background: #126b4f; color: white; font-weight: 700; }
button:disabled { background: #aab4bc; cursor: not-allowed; }
.session-form { display: flex; align-items: center; gap: 8px; color: #53616d; font-size: 13px; }
.session-form button { padding: 7px 10px; background: #eef2f4; color: #40515f; }
.auth-panel { width: min(420px, 100%); margin: 48px auto 0; padding: 24px; border: 1px solid #dfe5e8; background: white; }
.auth-form { display: grid; gap: 8px; margin-top: 18px; }
.auth-form label { color: #53616d; font-size: 12px; font-weight: 750; }
.auth-form input { width: 100%; border: 1px solid #cfd8de; border-radius: 6px; padding: 10px 11px; font: inherit; }
.auth-form button { margin-top: 8px; }
.auth-check { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: #40515f; }
.auth-check input { width: 16px; height: 16px; padding: 0; }
.form-error { margin-top: 14px; padding: 10px 11px; border: 1px solid #e2b2b2; border-radius: 6px; background: #fff1f1; color: #8a1f1f; font-size: 13px; }
.test-note { margin-top: 16px; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 1px; margin-bottom: 22px; border: 1px solid #dfe5e8; background: #dfe5e8; }
.metrics div { padding: 15px 18px; background: white; }
.metrics span { display: block; color: #697682; font-size: 12px; }
.metrics strong { display: block; margin-top: 5px; font-size: 24px; }
.work-section, .table-section, .detail-aside section { border: 1px solid #dfe5e8; background: white; }
.work-section h2, .detail-aside h2 { padding: 13px 16px; border-bottom: 1px solid #e7ebed; }
.empty-state { padding: 42px 18px; text-align: center; color: #697682; }
.empty-state strong { display: block; margin-bottom: 5px; color: #34414c; }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 18px; border: 1px solid #dfe5e8; background: #dfe5e8; }
.module-grid div { min-height: 104px; padding: 16px; background: white; }
.module-grid strong, .role-item strong { display: block; margin-bottom: 6px; color: #26333f; }
.module-grid span, .role-item span { color: #697682; font-size: 13px; line-height: 1.4; }
.security-section { margin-top: 16px; overflow-x: auto; }
.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #dfe5e8; }
.role-item { min-height: 86px; padding: 15px 16px; background: white; }
.color-dot { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 3px; vertical-align: -1px; }
.mapping-table th:nth-child(1) { width: 260px; }
.mapping-table th:nth-child(5) { width: 88px; }
.mapping-table th:nth-child(7) { width: 82px; }
.mapping-table select, .mapping-table input[type="text"], .mapping-table input:not([type]) {
  width: 100%;
  min-height: 34px;
  border: 1px solid #cfd8de;
  border-radius: 5px;
  padding: 6px 8px;
  color: #26333f;
  background: white;
  font: inherit;
  font-size: 12px;
}
.mapping-table button { padding: 7px 9px; font-size: 12px; }
.status-source { display: grid; gap: 3px; }
.status-source strong { color: #26333f; }
.status-source small { color: #697682; font-size: 11px; }
.inline-check { display: flex; align-items: center; gap: 6px; min-height: 34px; color: #53616d; font-size: 12px; }
.inline-check input { width: 15px; height: 15px; }
.toolbar { display: flex; gap: 3px; margin-bottom: 10px; }
.filter { padding: 7px 10px; border-radius: 5px; color: #53616d; font-size: 13px; text-decoration: none; }
.filter.active { background: #dcefe8; color: #0c6046; font-weight: 700; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; }
th, td { padding: 11px 13px; border-bottom: 1px solid #edf0f2; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
th { color: #697682; background: #f8f9fa; font-size: 11px; text-transform: uppercase; }
td { font-size: 13px; }
tbody tr:last-child td { border-bottom: 0; }
.order-link { color: #075d94; font-weight: 700; text-decoration: none; }
.status { display: inline-block; padding: 4px 7px; border-radius: 4px; background: #e8edf0; color: #42515d; font-size: 11px; font-weight: 750; }
.status.large { padding: 6px 9px; font-size: 12px; }
.status-badge { color: white; text-shadow: 0 1px 1px rgb(0 0 0 / 22%); }
.order-control-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: -4px 0 16px; border: 1px solid #dfe5e8; background: #dfe5e8; }
.control-row { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 12px; background: white; }
.control-row span { min-width: 132px; color: #697682; font-size: 12px; font-weight: 750; text-transform: uppercase; }
.control-row strong { color: #26333f; font-size: 14px; }
.control-row em { margin-left: auto; color: #53616d; font-style: normal; font-weight: 750; }
.control-row.primary { border-left: 5px solid #40566a; }
.control-row.payment.paid { border-left: 5px solid #138a5b; }
.control-row.payment.paid strong { color: #0e6b47; }
.control-row.payment.unpaid { border-left: 5px solid #b73535; }
.control-row.payment.unpaid strong { color: #992b2b; }
.control-row.payment.warning { border-left: 5px solid #b7791f; }
.control-row.payment.warning strong { color: #8a5a12; }
.control-row.stock.ok strong { color: #0e6b47; }
.control-row button { padding: 7px 10px; background: #eef2f4; color: #40515f; font-size: 12px; }
.breadcrumbs { display: flex; gap: 7px; margin-bottom: 14px; color: #697682; font-size: 12px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 16px; }
.detail-aside { display: grid; align-content: start; gap: 12px; }
.detail-aside section { padding-bottom: 13px; }
.detail-aside p { padding: 12px 16px 0; }
dl { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 12px; margin: 12px 16px 0; font-size: 12px; }
dt { color: #697682; }
dd { margin: 0; overflow-wrap: anywhere; }
.home-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.home-banner { display: grid; grid-column: 1 / -1; grid-template-columns: 320px minmax(0, 1fr) 180px; align-items: center; min-height: 120px; padding: 0 14px; border: 1px solid #dfe5e8; border-radius: 6px; background: white; box-shadow: 0 2px 8px rgb(20 35 50 / 8%); }
.home-banner div { display: grid; align-content: center; min-height: 120px; padding-left: 16px; border-left: 12px solid #0877cf; }
.home-banner strong { color: #17202a; font-size: 24px; }
.home-banner span { color: #0877cf; font-size: 15px; font-weight: 800; }
.home-banner p { font-size: 13px; font-weight: 750; line-height: 1.45; text-transform: uppercase; }
.home-banner a { justify-self: start; padding: 11px 26px; border-radius: 20px; background: #0877cf; color: white; font-size: 12px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.home-card { border: 1px solid #dfe5e8; border-radius: 6px; background: white; box-shadow: 0 2px 8px rgb(20 35 50 / 8%); }
.metric-tile { display: grid; place-items: center; min-height: 170px; }
.metric-tile strong { color: #805464; font-size: 54px; line-height: .9; }
.metric-tile.blue strong { color: #73a9c6; }
.metric-tile span { color: #53616d; font-size: 16px; font-weight: 750; }
.chart-tile { display: grid; grid-column: span 2; align-content: center; min-height: 170px; padding: 20px; }
.chart-legend { display: flex; justify-content: center; gap: 46px; color: #53616d; font-size: 12px; }
.fake-chart { position: relative; height: 92px; margin-top: 12px; background: linear-gradient(to bottom, transparent 32%, #edf2f5 33%, transparent 34%, transparent 66%, #edf2f5 67%, transparent 68%); }
.fake-chart i, .fake-chart b { position: absolute; right: 10px; left: 10px; height: 3px; border-radius: 4px; transform: skewY(-6deg); }
.fake-chart i { top: 48px; background: #9aa4ad; }
.fake-chart b { top: 38px; background: #0877cf; }
.setup-card { grid-column: span 2; min-height: 420px; padding: 12px; }
.setup-head { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #e2e8ed; }
.ring { display: grid; place-items: center; width: 42px; height: 42px; border: 3px solid #138a5b; border-radius: 50%; color: #26333f; font-size: 12px; }
.setup-head button, .blog-head button { border: 1px solid #0877cf; background: white; color: #0877cf; text-transform: uppercase; }
.setup-card ul { display: grid; gap: 13px; margin: 16px 0 24px; padding-left: 26px; color: #53616d; font-size: 14px; }
.setup-row { display: flex; justify-content: space-between; padding: 14px 8px; border-top: 1px solid #e2e8ed; color: #53616d; font-size: 14px; }
.setup-row span { color: #138a5b; }
.blog-card { grid-column: span 2; padding: 14px 28px 18px; }
.blog-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.blog-card ol { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.blog-card li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 20px; align-items: center; }
.blog-card time { color: #53616d; font-size: 20px; font-weight: 800; }
.blog-card span { font-size: 14px; }
.integrations-page { display: grid; gap: 16px; margin: -18px -18px -42px; }
.integration-tabs { display: flex; gap: 26px; height: 48px; padding: 0 16px; border-bottom: 1px solid #dfe5e8; background: white; }
.integration-tabs a { display: flex; align-items: center; border-bottom: 2px solid transparent; color: #53616d; font-size: 14px; text-decoration: none; }
.integration-tabs a.active { border-color: #0877cf; color: #17202a; }
.integration-banner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; background: #268bc5; color: white; font-weight: 800; }
.integration-banner button { border: 1px solid white; background: transparent; text-transform: uppercase; }
.integration-map { margin: 0 14px; padding: 30px 36px 44px; border: 1px solid #cfd8de; border-radius: 6px; background: #f8fafb; text-align: center; }
.root-node { display: inline-grid; place-items: center; min-width: 168px; min-height: 68px; margin-bottom: 20px; border: 1px solid #cfd8de; border-radius: 5px; background: white; color: #17202a; font-size: 32px; font-weight: 900; }
.integration-cards { display: grid; grid-template-columns: repeat(6, minmax(135px, 1fr)); gap: 20px 28px; }
.integration-card { display: grid; place-items: center; gap: 18px; min-height: 136px; border: 1px solid #cfd8de; border-radius: 5px; background: white; }
.integration-card strong { font-size: 25px; line-height: 1; }
.integration-card span { max-width: 120px; padding: 5px 10px; border: 2px solid; border-radius: 16px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.integration-actions { display: flex; justify-content: flex-end; padding: 0 14px; }
.add-integration { padding: 12px 18px; border-radius: 24px; background: #14824f; color: white; font-weight: 800; text-decoration: none; }
.integration-settings { margin: 0 14px 42px; border: 1px solid #cfd8de; border-radius: 4px; background: white; overflow-x: auto; }
.integration-settings h1 { padding: 16px; background: #0877cf; color: white; font-size: 14px; font-weight: 750; }
.integration-table th:nth-child(1) { width: 140px; }
.integration-table th:nth-child(2) { width: 260px; }
.integration-table th:nth-child(5) { width: 130px; }
.integration-table th:nth-child(6) { width: 170px; }
.integration-badge { display: inline-block; padding: 6px 8px; border-radius: 3px; color: white; font-size: 11px; font-weight: 850; }
.scope-list { display: flex; flex-wrap: wrap; gap: 5px; }
.scope-list span { padding: 4px 6px; border-radius: 4px; background: #087446; color: white; font-size: 11px; font-weight: 800; }
.scope-list span.muted-scope { background: #9aa4ad; }
.status.success { background: #dcefe8; color: #0c6046; }
.integration-row-actions { display: flex; align-items: center; gap: 8px; }
.integration-row-actions a, .integration-row-actions button { padding: 7px 10px; border: 1px solid #cfd8de; border-radius: 4px; background: white; color: #26333f; font-size: 11px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.orders-shell { display: grid; grid-template-columns: 198px minmax(0, 1fr); gap: 0; min-height: calc(100vh - 100px); margin: -18px -18px -42px; }
.orders-sidebar { padding: 12px 9px 20px; border-right: 1px solid #d5dde3; background: #f3f6f8; overflow-y: auto; }
.primary-pill { width: 100%; margin-bottom: 14px; border-radius: 18px; background: #0877cf; text-align: left; }
.orders-sidebar h3 { margin: 14px 7px 7px; color: #26333f; font-size: 12px; }
.status-nav-item { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; gap: 6px; min-height: 22px; padding: 2px 6px; border-radius: 4px; color: #18212b; text-decoration: none; }
.status-nav-item strong { overflow: hidden; font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.status-nav-item em { min-width: 18px; padding: 1px 4px; border-radius: 4px; background: #dfe6ec; color: #385064; font-size: 11px; font-style: normal; text-align: center; }
.status-nav-item.active { background: #d9dee4; }
.status-nav-dot { width: 10px; height: 10px; border-radius: 3px; background: #9aa4ad; }
.status-nav-dot.neutral { border: 1px solid #7d8994; background: white; }
.orders-workspace { min-width: 0; padding: 18px 0 42px; }
.orders-topbar { display: flex; justify-content: space-between; gap: 16px; padding: 0 16px 14px; }
.orders-topbar h1 { display: flex; align-items: center; gap: 8px; font-size: 20px; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.top-actions button, .bulk-toolbar button, .bulk-toolbar summary, .order-product-actions button, .carrier-actions button, .extra-panel button { border: 1px solid #cbd6df; background: white; color: #244057; }
.bulk-toolbar { display: flex; gap: 5px; padding: 9px 16px 12px; border-top: 1px solid #e6ebef; border-bottom: 1px solid #e6ebef; background: white; }
.bulk-toolbar button, .bulk-toolbar summary { display: grid; place-items: center; min-width: 38px; min-height: 32px; padding: 0 10px; border-radius: 5px; font-size: 14px; font-weight: 750; cursor: pointer; list-style: none; }
.bulk-toolbar summary::-webkit-details-marker, .filter-panel summary::-webkit-details-marker, .row-star-menu summary::-webkit-details-marker { display: none; }
.active-tool { background: #0877cf !important; color: white !important; }
.toolbar-menu { position: relative; }
.toolbar-menu[open] summary { border-color: #9fd4ff; background: #eaf6ff; color: #0877cf; }
.dropdown-panel { display: none; }
.toolbar-menu[open] { z-index: 20; }
.toolbar-menu[open] > .dropdown-panel {
  display: grid;
  position: absolute;
  top: 38px;
  left: 0;
  z-index: 21;
  width: 280px;
  max-height: 470px;
  overflow-y: auto;
  padding: 7px 0;
  border: 1px solid #dfe5e8;
  border-radius: 5px;
  background: white;
  box-shadow: 0 8px 24px rgb(20 35 50 / 18%);
}
.toolbar-menu.tall-menu[open] > .dropdown-panel, .toolbar-menu.sort-menu[open] > .dropdown-panel { width: 330px; max-height: 520px; }
.toolbar-menu[open] > .star-picker-panel { width: auto; min-width: 224px; max-height: none; overflow: visible; padding: 8px 10px 10px; }
.dropdown-panel strong { display: block; padding: 10px 12px 5px; color: #08131f; font-size: 11px; text-transform: uppercase; }
.dropdown-panel button, .dropdown-panel label { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 32px; padding: 7px 12px; border: 0; border-radius: 0; background: white; color: #26333f; font-size: 13px; font-weight: 500; text-align: left; }
.dropdown-panel button:hover { background: #edf5fb; }
.star-picker-row { display: flex; align-items: center; gap: 7px; padding: 5px 2px 2px; }
.dropdown-panel .star-choice { display: grid; place-items: center; width: 34px; min-width: 34px; height: 34px; min-height: 34px; padding: 0; border: 1px solid #d6e0e7; border-radius: 5px; background: white; font-size: 17px; }
.dropdown-panel .star-choice:hover { background: #edf5fb; }
.empty-star { color: #7d8994 !important; }
.sort-menu .dropdown-panel label { display: grid; gap: 4px; }
.sort-menu select { width: 100%; min-height: 34px; border: 1px solid #cfd8de; border-radius: 5px; padding: 6px 8px; background: white; color: #26333f; }
.star-icon { color: #9aa4ad; font-size: 16px; line-height: 1; }
.select-col { width: 64px; text-align: center; }
.select-col input { width: 15px; height: 15px; }
.row-star-menu { display: inline-block; position: relative; margin-left: 4px; }
.row-star-menu summary { display: inline-grid; place-items: center; width: 20px; height: 20px; cursor: pointer; }
.row-star-menu[open] { z-index: 18; }
.row-star-menu[open] > .dropdown-panel { display: grid; position: absolute; top: 24px; left: 0; z-index: 19; width: auto; min-width: 224px; padding: 8px 10px; border: 1px solid #dfe5e8; border-radius: 5px; background: white; box-shadow: 0 8px 20px rgb(20 35 50 / 18%); }
.row-star-menu .dropdown-panel button { font-size: 12px; }
.filter-panel { position: relative; }
.filter-panel > summary { min-height: 38px; padding: 9px 15px; border: 1px solid #cbd6df; border-radius: 20px; background: white; color: #244057; font-size: 13px; font-weight: 750; cursor: pointer; list-style: none; }
.filter-panel[open] > summary { border-color: #9fd4ff; background: #eaf6ff; color: #0877cf; }
.advanced-filter-grid { position: absolute; top: 45px; right: 0; z-index: 9; display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr)); gap: 8px; width: min(1180px, calc(100vw - 310px)); padding: 14px; border: 1px solid #dfe5e8; border-radius: 6px; background: white; box-shadow: 0 10px 28px rgb(20 35 50 / 18%); }
.advanced-filter-grid label { display: grid; gap: 4px; color: #53616d; font-size: 12px; }
.advanced-filter-grid input, .advanced-filter-grid select { width: 100%; min-height: 38px; border: 1px solid #cfd8de; border-radius: 5px; padding: 7px 9px; background: white; color: #26333f; font: inherit; }
.filter-actions { display: flex; align-items: end; gap: 8px; justify-content: flex-end; grid-column: 1 / -1; }
.filter-actions a { padding: 10px 14px; border: 1px solid #cfd8de; border-radius: 20px; color: #53616d; text-decoration: none; }
.filter-actions button { border-radius: 20px; background: #0877cf; }
.orders-table-section { border-left: 0; border-right: 0; }
.orders-table th:nth-child(2) { width: 112px; }
.orders-table th:nth-child(3) { width: 150px; }
.orders-table th:nth-child(5) { width: 90px; }
.orders-table th:nth-child(6) { width: 150px; }
.orders-table th:nth-child(7) { width: 112px; }
.orders-table td { padding-top: 8px; padding-bottom: 8px; }
.orders-table small, .product-table small { display: block; margin-top: 3px; color: #075d94; font-size: 11px; line-height: 1.25; }
.list-items { display: grid; gap: 5px; }
.list-items span { font-size: 12px; line-height: 1.35; }
.mini-thumb { display: inline-grid; place-items: center; width: 46px; height: 34px; margin-right: 6px; border: 1px solid #cfd8de; border-radius: 4px; background: #eef1f3; color: #8b98a3; font-size: 10px; font-style: normal; vertical-align: middle; }
.striped-orders tbody tr:nth-child(even) { background: #f7fafc; }
.money { color: #26333f; font-weight: 750; text-align: right; }
.mini-flags { display: flex; gap: 3px; margin-top: 6px; }
.mini-flags b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; background: #8e9daa; color: white; font-size: 12px; }
.mini-flags b:nth-child(2) { background: #14845b; }
.status.danger { background: #f20d0d; color: white; }
.order-page { display: grid; gap: 16px; margin: -8px -16px 0; }
.order-detail-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 12px; }
.order-detail-title h1 { color: #4b5965; font-size: 22px; font-weight: 500; }
.order-detail-title h1 span { margin-left: 14px; color: #53616d; font-size: 20px; }
.back-link { display: inline-block; margin-bottom: 7px; color: #0877cf; font-size: 12px; font-weight: 750; text-decoration: none; }
.products-panel, .order-info-panel, .info-card, .shipments-panel, .messages-panel, .extra-panel { border: 1px solid #dfe5e8; border-radius: 6px; background: white; box-shadow: 0 2px 8px rgb(20 35 50 / 8%); }
.product-table th:first-child { width: 58px; }
.product-table th:nth-child(2) { width: 90px; }
.product-table th:nth-child(4), .product-table th:nth-child(5), .product-table th:nth-child(6), .product-table th:nth-child(7), .product-table th:nth-child(8) { width: 86px; }
.thumb-placeholder { display: grid; place-items: center; width: 60px; height: 45px; border: 1px solid #cfd8de; border-radius: 4px; background: #eef1f3; color: #8b98a3; font-size: 20px; }
.order-product-actions { display: flex; justify-content: space-between; gap: 12px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 8px; }
.order-info-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .95fr); gap: 28px; padding: 0 12px 16px; }
.paid-line { display: flex; align-items: center; gap: 10px; min-height: 44px; border-bottom: 1px solid #dfe5e8; color: #53616d; font-size: 13px; }
.paid-line strong { padding: 6px 12px; border-radius: 4px; background: #b73535; color: white; }
.paid-line.paid strong { background: #138a5b; }
.paid-line em { color: #26333f; font-style: normal; }
.order-info-panel dl, .info-card dl { grid-template-columns: 142px minmax(0, 1fr); margin: 0; padding: 10px 4px 0; }
.order-info-panel dt, .info-card dt { color: #53616d; }
.control-line { display: flex; align-items: center; gap: 8px; min-height: 45px; }
.control-line span { width: 86px; color: #53616d; }
.control-line select { min-width: 170px; border: 1px solid #cfd8de; border-radius: 5px; padding: 7px 10px; background: white; color: #26333f; }
.control-line button { border: 1px solid #cbd6df; background: white; color: #244057; }
.auto-status-form { min-width: 220px; }
.auto-status-form select { width: 100%; }
.alert-text { color: #b73535; }
.ok-text { color: #0e6b47; }
.order-link-box { margin-top: 14px; padding-top: 12px; border-top: 1px solid #dfe5e8; font-size: 13px; }
.order-link-box span { display: block; color: #53616d; }
.order-link-box a { color: #0877cf; text-decoration: none; }
.address-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.info-card { padding: 14px 12px; }
.info-card h2, .shipments-panel h2, .messages-panel h2, .extra-panel h2 { margin-bottom: 14px; font-size: 16px; }
.shipments-panel { padding: 18px 16px; }
.shipments-panel p { margin-bottom: 18px; color: #53616d; }
.carrier-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.lower-grid { display: grid; grid-template-columns: minmax(0, 1fr) 535px; gap: 16px; }
.messages-panel { padding: 14px 12px 22px; }
.message-row { display: grid; grid-template-columns: 170px 170px minmax(0, 1fr); gap: 10px; padding: 13px 14px; border-top: 3px solid #1487cc; background: #d6f0f8; }
.message-row em { font-style: normal; }
.message-row span { justify-self: start; padding: 3px 7px; border-radius: 4px; background: #1989cc; color: white; font-size: 11px; font-weight: 750; }
.message-body { min-height: 120px; padding: 18px 14px; background: #fbfcfd; color: #53616d; line-height: 1.55; }
.messages-panel button { margin-top: 14px; border-radius: 18px; background: #0877cf; }
.extra-panel { display: grid; align-content: start; gap: 8px; padding: 14px 12px; }
.extra-panel button { width: 100%; text-align: left; }
.settings-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: calc(100vh - 58px); margin: -18px -18px -42px; background: #f4f6f8; }
.settings-sidebar { display: grid; align-content: start; gap: 7px; padding: 20px 14px 28px; border-right: 1px solid #d7e0e7; background: #f6f8fa; color: #53616d; }
.settings-sidebar h1 { margin: 0 0 10px; color: #08131f; font-size: 20px; }
.settings-sidebar details { display: grid; gap: 2px; }
.settings-sidebar summary { display: flex; align-items: center; justify-content: space-between; min-height: 28px; cursor: pointer; list-style: none; font-size: 14px; }
.settings-sidebar summary::-webkit-details-marker { display: none; }
.settings-sidebar summary::after { content: "^"; color: #7a8995; font-size: 12px; }
.settings-sidebar a { display: flex; align-items: center; min-height: 26px; margin-left: 26px; padding: 2px 12px; border-radius: 15px; color: #53616d; font-size: 13px; line-height: 1.15; text-decoration: none; }
.settings-sidebar > a { margin-left: 0; }
.settings-sidebar a.active { background: #bee5ff; color: #0877cf; }
.settings-main { display: grid; align-content: start; gap: 12px; min-width: 0; padding: 18px 12px 36px; }
.info-note { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; min-height: 112px; padding: 17px 16px 10px; border: 1px solid #cfd8de; border-left: 3px solid #0877cf; border-radius: 5px; background: white; color: #26333f; }
.info-note strong { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid #6d8395; border-radius: 50%; color: #385064; font-size: 12px; }
.info-note p { max-width: 1120px; font-size: 13px; line-height: 1.45; }
.info-note button { grid-column: 1 / -1; justify-self: center; padding: 4px 8px; background: transparent; color: #18212b; font-size: 12px; }
.settings-card { border: 1px solid #dfe5e8; border-radius: 5px; background: white; box-shadow: 0 2px 8px rgb(20 35 50 / 8%); overflow: hidden; }
.settings-card-head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 16px 0 24px; }
.settings-card-head h2 { font-size: 18px; }
.settings-card-head button { border-radius: 22px; background: #14824f; }
.compact-note { min-height: 50px; }
.settings-form { padding-bottom: 28px; }
.settings-field { display: grid; grid-template-columns: 390px minmax(0, 1fr); gap: 24px; padding: 18px 28px 0; }
.settings-field label { justify-self: end; padding-top: 10px; color: #53616d; font-size: 13px; text-align: right; }
.settings-field select, .settings-field input { width: 100%; min-height: 39px; border: 1px solid #cfd8de; border-radius: 5px; padding: 8px 12px; background: white; color: #53616d; font: inherit; }
.settings-field p { margin-top: 8px; color: #53616d; font-size: 13px; line-height: 1.45; }
.check-list { display: grid; gap: 10px; }
.check-list label { justify-self: start; display: flex; align-items: center; gap: 8px; padding: 0; text-align: left; }
.check-list input { width: 18px; min-height: 18px; }
.form-actions { display: flex; align-items: center; gap: 10px; padding: 24px 28px 8px 442px; }
.form-actions a { padding: 10px 18px; border: 1px solid #cfd8de; border-radius: 20px; color: #53616d; text-decoration: none; }
.simple-settings-table th:first-child { width: 46px; }
.simple-settings-table th:nth-child(3), .info-pages-table th:nth-child(4) { width: 96px; }
.info-pages-table th:first-child { width: 200px; }
.info-pages-table th:nth-child(2) { width: 220px; }
.settings-status-table th { height: 58px; background: white; color: #08131f; }
.settings-status-table th:first-child { width: 46px; }
.settings-status-table th:nth-child(2) { width: 150px; }
.settings-status-table th:nth-child(3) { width: 290px; }
.settings-status-table th:nth-child(4) { width: 120px; }
.settings-status-table th:nth-child(6) { width: 72px; }
.settings-status-table th:nth-child(7) { width: 110px; }
.settings-status-table th:nth-child(8) { width: 96px; }
.settings-status-table td { height: 39px; padding-top: 6px; padding-bottom: 6px; border-color: #d4dde4; }
.settings-status-table input { width: 100%; min-height: 27px; border: 1px solid transparent; border-radius: 4px; padding: 4px 5px; background: transparent; color: #26333f; font: inherit; font-size: 12px; }
.settings-status-table input:focus { border-color: #b9c9d5; background: #fff; outline: 0; }
.drag-cell { width: 46px; color: #8da0ae; font-size: 17px; text-align: center; }
.status-color-swatch { display: inline-block; width: 22px; height: 22px; border: 1px solid rgb(0 0 0 / 10%); border-radius: 4px; vertical-align: middle; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 20%); }
.round-actions { display: flex; gap: 8px; justify-content: flex-end; }
.round-actions button { display: grid; place-items: center; width: 31px; height: 31px; padding: 0; border: 1px solid #dce5eb; border-radius: 50%; background: white; color: #2c465b; font-size: 15px; }
.automatic-actions-page { display: grid; gap: 14px; }
.automatic-actions-page .page-heading { padding: 2px 2px 0; }
.automation-intro { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; padding: 16px; border: 1px solid #d7e0e7; border-radius: 7px; background: #fff; box-shadow: 0 3px 14px rgb(20 35 50 / 9%); }
.intro-media { position: relative; display: grid; align-content: center; justify-items: center; min-height: 126px; overflow: hidden; border: 1px solid #cfd8de; border-radius: 7px; background: #f2f7fb; color: #53616d; }
.intro-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgb(8 119 207 / 12%), transparent 54%), repeating-linear-gradient(90deg, rgb(8 119 207 / 8%) 0 1px, transparent 1px 28px); }
.intro-media strong, .intro-media span { position: relative; }
.intro-media strong { color: #111927; font-size: 34px; letter-spacing: 0; }
.intro-media strong::after { content: "."; color: #0877cf; }
.intro-media span { font-size: 12px; font-weight: 750; }
.intro-copy { align-self: center; color: #26333f; font-size: 13px; line-height: 1.45; }
.automation-summary-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 12px 0 8px; }
.automation-summary-row span { display: grid; gap: 2px; min-height: 52px; padding: 9px 10px; border: 1px solid #d8e4ec; border-radius: 6px; background: #f7fafc; color: #53616d; font-size: 11px; font-weight: 750; }
.automation-summary-row strong { color: #0f172a; font-size: 20px; line-height: 1; }
.intro-copy details { margin-top: 8px; }
.intro-copy summary { cursor: pointer; color: #0877cf; font-weight: 750; }
.automation-description { display: grid; gap: 6px; margin-top: 8px; }
.automation-ops-section { position: relative; padding-top: 58px; overflow: visible; border-radius: 7px; box-shadow: 0 3px 14px rgb(20 35 50 / 9%); }
.automation-toolbar { position: absolute; top: 10px; right: 14px; display: flex; align-items: center; gap: 8px; }
.automation-count { position: absolute; top: 64px; right: 16px; color: #8b98a3; font-size: 13px; }
.operations-bar { display: flex; align-items: center; min-height: 48px; padding: 8px 14px; border-top: 1px solid #eef2f5; border-bottom: 1px solid #d7e0e7; background: #fbfcfd; }
.automation-rules-table th:first-child { width: 43%; }
.automation-rules-table th:nth-child(2) { width: 39%; }
.automation-rules-table th:nth-child(3) { width: 18%; }
.automation-rules-table td { vertical-align: top; border-color: #d9e2e8; }
.automation-rules-table tbody tr:not(.automation-group-row):hover td { background: #f7fbff; }
.automation-group-row td { height: 38px; background: #eef4f8; color: #53616d; font-size: 12px; text-transform: uppercase; }
.automation-group-row span { margin-right: 10px; color: #8da0ae; letter-spacing: 1px; }
.automation-group-row strong { display: inline; margin: 0; color: #243746; }
.automation-group-row em { margin-left: 10px; padding: 2px 7px; border-radius: 10px; background: #dce9f2; color: #53616d; font-size: 10px; font-style: normal; font-weight: 800; }
.automation-event-cell strong { margin-bottom: 8px; font-size: 13px; line-height: 1.25; }
.automation-edit-link { color: #26333f; text-decoration: none; }
.automation-edit-link:hover { color: #0877cf; text-decoration: underline; }
.automation-condition-line { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; max-width: 720px; }
.automation-condition-line em { color: #697682; font-size: 11px; font-style: normal; }
.automation-chip { display: inline-flex; align-items: center; min-height: 22px; padding: 3px 8px; border: 1px solid #d8e1e7; border-radius: 4px; background: #f7f9fa; color: #40515f; font-size: 11px; font-weight: 700; box-shadow: inset 0 -1px 0 rgb(20 35 50 / 4%); }
.automation-chip.main { border-color: #b9d9f2; background: #edf7ff; color: #075d94; }
.automation-chip.value { background: #fff; color: #26333f; }
.automation-task-cell { display: grid; gap: 5px; }
.automation-task-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 26px; color: #53616d; font-size: 12px; }
.automation-task-row > span:first-child { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 50%; background: #eaf3fa; color: #0877cf; font-weight: 800; }
.automation-task-row strong { display: inline; margin: 0; color: #53616d; }
.automation-task-row.muted { color: #8b98a3; font-weight: 750; }
.automation-actions-cell small { margin-top: 8px; text-align: right; }
.automation-row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.toggle-pill { display: inline-flex; align-items: center; gap: 5px; min-width: 58px; height: 30px; padding: 0 7px; border: 1px solid #dce5eb; border-radius: 17px; background: white; color: #8b98a3; font-size: 10px; font-weight: 800; }
.toggle-pill b { width: 19px; height: 19px; border-radius: 50%; background: #d46b6b; }
.toggle-pill.on b { background: #14824f; }
.toggle-pill.on { color: #14824f; }
.icon-button.soft { width: auto; min-width: 31px; padding: 0 9px; border-radius: 15px; color: #244057; font-size: 11px; }
.icon-button.danger { color: #b33d3d; }
.automation-editor-row { display: grid; grid-template-columns: 28px minmax(280px, 1fr) minmax(280px, 1fr) 190px; gap: 0; margin: 16px 12px 12px; border: 1px solid #bfd7e8; border-radius: 7px; background: #fff; box-shadow: 0 8px 24px rgb(20 35 50 / 13%); scroll-margin-top: 80px; }
.automation-editor-row.editing { border-color: #5aa7d8; box-shadow: 0 8px 28px rgb(8 119 207 / 18%); }
.automation-editor-row.editing .editor-title { background: #edf7ff; }
.editor-title { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; min-height: 48px; padding: 12px 16px; border-bottom: 1px solid #d7e0e7; background: #f5f9fc; }
.editor-title strong { color: #0f172a; font-size: 16px; }
.editor-title span { color: #697682; font-size: 12px; }
.editor-grip { padding-top: 22px; color: #8da0ae; text-align: center; letter-spacing: 1px; }
.editor-left, .editor-right { display: grid; align-content: start; gap: 12px; min-height: 215px; padding: 14px; border-left: 1px solid #e1e8ed; }
.editor-left h3, .editor-right h3, .editor-side h3 { margin: 0; color: #26333f; font-size: 13px; }
.editor-right { grid-template-columns: 28px minmax(0, 1fr); }
.editor-right > h3, .editor-right > label, .editor-right > input, .editor-right > .link-button { grid-column: 2; }
.editor-task-number { grid-row: 1 / span 2; display: grid; place-items: start center; padding-top: 34px; color: #0877cf; font-weight: 800; }
.automation-editor-row label { display: grid; gap: 5px; color: #53616d; font-size: 12px; }
.automation-editor-row select, .automation-editor-row input { width: 100%; min-height: 38px; border: 1px solid #c7d5df; border-radius: 5px; padding: 8px 10px; background: white; color: #26333f; font: inherit; font-size: 13px; }
.automation-editor-row select:focus, .automation-editor-row input:focus { border-color: #4da3dc; outline: 2px solid rgb(8 119 207 / 12%); }
.context-field { display: none !important; gap: 5px; color: #53616d; font-size: 12px; }
.context-field.is-active { display: grid !important; }
.event-dependent-field { padding: 10px; border: 1px solid #d8e8f3; border-radius: 6px; background: #f7fbfe; }
.event-dependent-field label + label { margin-top: 10px; }
.condition-separator { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; padding-top: 12px; border-top: 1px solid #e1e8ed; }
.condition-separator strong { color: #26333f; font-size: 13px; }
.condition-separator span { color: #697682; font-size: 11px; }
.editor-condition-row { display: grid; grid-template-columns: minmax(120px, 0.8fr) minmax(140px, 1fr) 34px; gap: 8px; align-items: center; }
.link-button { justify-self: center; min-height: 32px; border: 0; background: transparent; color: #14824f; font-weight: 800; }
.link-button:hover { color: #0d6f3f; text-decoration: underline; }
.editor-side { display: grid; align-content: start; gap: 9px; padding: 14px 12px; border-left: 1px solid #d7e0e7; background: #fbfcfd; }
.switch-line { display: flex !important; align-items: center; gap: 8px; min-height: 28px; color: #14824f !important; font-weight: 800; }
.switch-line input { width: 18px; min-height: 18px; }
.editor-note { grid-column: 2 / -1; padding: 0 14px 14px; color: #697682; font-size: 12px; }
.page-tabs { display: flex; gap: 8px; border-bottom: 1px solid #d7e0e7; }
.page-tabs a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border: 1px solid transparent; border-bottom: 0; border-radius: 6px 6px 0 0; color: #53616d; font-weight: 700; text-decoration: none; }
.page-tabs a:hover { color: #0077da; background: #eef7ff; }
.page-tabs a.active { color: #0077da; background: #fff; border-color: #d7e0e7; box-shadow: inset 0 -2px 0 #fff, inset 0 3px 0 #0077da; }
.sync-meta { display: grid; justify-items: end; gap: 3px; color: #697682; font-size: 12px; }
.sync-meta strong { color: #26333f; font-size: 13px; }
.section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid #d7e0e7; }
.section-title-row h2 { margin: 0; font-size: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 14px; border: 1px solid #cfd8de; border-radius: 18px; background: #fff; color: #26333f; font: inherit; font-weight: 700; text-decoration: none; }
.button.primary { border-color: #0f7f46; background: #0f7f46; color: white; }
.automatic-actions-table th:first-child { width: 95px; }
.automatic-actions-table th:nth-child(3) { width: 85px; }
.automatic-actions-table th:nth-child(4) { width: 115px; }
.automatic-actions-table th:nth-child(5), .automatic-actions-table th:nth-child(6) { width: 310px; }
.automatic-actions-table td strong { display: block; margin-bottom: 4px; color: #26333f; }
.automatic-actions-table td small { display: block; color: #075d94; font-size: 11px; }
.custom-events-table th:first-child { width: auto; }
.custom-events-table th:nth-child(2) { width: 190px; }
.custom-events-table th:nth-child(3) { width: 190px; }
.custom-events-table th:nth-child(4) { width: 210px; }
.custom-events-table th:nth-child(5) { width: 95px; }
.action-groups-table th:first-child { width: auto; }
.action-groups-table th:nth-child(2), .action-groups-table th:nth-child(3) { width: 90px; }
.icon-button { display: grid; place-items: center; width: 31px; height: 31px; padding: 0; border: 1px solid #dce5eb; border-radius: 50%; background: white; color: #2c465b; font: inherit; font-weight: 700; }
.action-chip-list { display: flex; flex-wrap: wrap; gap: 5px; }
.action-chip-list span, .action-chip-list em { padding: 4px 6px; border-radius: 4px; background: #eef3f6; color: #40515f; font-size: 11px; font-style: normal; font-weight: 700; }
.action-chip-list em { background: #dce8ef; }
@media (max-width: 760px) {
  .app-header { align-items: flex-start; flex-direction: column; gap: 8px; padding: 14px 18px 0; }
  .app-frame { grid-template-columns: 1fr; }
  .rail { position: static; flex-direction: row; width: 100%; height: auto; overflow-x: auto; }
  .global-search { order: 3; width: 100%; margin: 0; }
  .header-actions { display: none; }
  .session-form { width: 100%; justify-content: space-between; margin-left: 0; padding-bottom: 12px; }
  .page { padding: 18px 14px 36px; }
  .home-grid { grid-template-columns: 1fr; }
  .home-banner, .setup-card, .blog-card, .chart-tile { grid-column: auto; }
  .home-banner { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
  .integration-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics { grid-template-columns: 1fr; }
  .module-grid, .role-grid { grid-template-columns: 1fr; }
  .order-control-panel { grid-template-columns: 1fr; }
  .control-row { align-items: flex-start; flex-direction: column; gap: 5px; }
  .control-row em { margin-left: 0; }
  .detail-grid { grid-template-columns: 1fr; }
  .table-section { overflow-x: auto; }
  .table-section table { min-width: 760px; }
  .orders-shell { grid-template-columns: 1fr; margin: -18px -14px -36px; }
  .orders-sidebar { max-height: 230px; border-right: 0; border-bottom: 1px solid #d5dde3; }
  .orders-topbar, .order-detail-title, .panel-title, .order-product-actions { flex-direction: column; align-items: stretch; }
  .orders-workspace { padding-top: 14px; }
  .order-info-grid, .address-grid, .lower-grid { grid-template-columns: 1fr; }
  .product-table { min-width: 850px; }
  .products-panel { overflow-x: auto; }
  .message-row { grid-template-columns: 1fr; }
  .settings-layout { grid-template-columns: 1fr; }
  .settings-sidebar { max-height: 320px; overflow-y: auto; border-right: 0; border-bottom: 1px solid #d7e0e7; }
  .settings-card { overflow-x: auto; }
  .settings-status-table { min-width: 980px; }
  .settings-field { grid-template-columns: 1fr; gap: 8px; padding: 16px; }
  .settings-field label { justify-self: start; text-align: left; }
  .form-actions { padding-left: 16px; }
}
