:root {
  --bg: #f4f6f8;
  --panel: #ffffff;
  --ink: #18212f;
  --muted: #667085;
  --line: #d9e1e8;
  --blue: #276ef1;
  --green: #087f5b;
  --amber: #b7791f;
  --red: #c92a2a;
  --teal: #0b7285;
  --shadow: 0 16px 40px rgba(24, 33, 47, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.is-logged-out {
  display: block;
}

body.is-logged-out .sidebar,
body.is-logged-out .app-shell {
  display: none;
}

.login-view {
  min-height: 100vh;
  display: none;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 25% 20%, rgba(39, 110, 241, 0.12), transparent 32%), var(--bg);
}

body.is-logged-out .login-view {
  display: grid;
}

.login-card {
  width: min(460px, 100%);
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.login-brand {
  color: var(--ink);
}

.login-form,
.setup-box {
  display: grid;
  gap: 12px;
}

.login-error {
  padding: 10px 12px;
  border-radius: 8px;
  background: #ffe3e3;
  color: var(--red);
  font-weight: 800;
}

.setup-box {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

button,
input,
select {
  font: inherit;
}

.sidebar {
  min-height: 100vh;
  padding: 24px;
  background: #121923;
  color: #f7fafc;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f5b82e;
  color: #121923;
  font-weight: 900;
}

.brand small,
.sync-box span,
.eyebrow {
  color: #98a2b3;
}

nav {
  display: grid;
  gap: 8px;
}

.nav-link,
.ghost-button,
.primary-button,
.mini-button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
}

.nav-link {
  padding: 12px 14px;
  text-align: left;
  color: #d0d5dd;
  background: transparent;
}

.nav-link.active,
.nav-link:hover {
  background: #243143;
  color: #ffffff;
}

.session-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #334155;
  border-radius: 8px;
  background: #172233;
}

.session-panel div {
  display: grid;
  gap: 2px;
}

.session-panel span,
.department-button span {
  color: #98a2b3;
  font-size: 12px;
}

.logout-button {
  justify-self: start;
}

.department-switcher {
  display: grid;
  gap: 8px;
}

.department-button {
  min-height: 54px;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid #334155;
  border-radius: 8px;
  background: transparent;
  color: #d0d5dd;
  text-align: left;
  cursor: pointer;
}

.department-button.active,
.department-button:hover {
  border-color: #f5b82e;
  background: #243143;
  color: #ffffff;
}

body.department-b2b .sync-box,
body.department-b2b #exportButton {
  display: none;
}

.sync-box {
  margin-top: auto;
  padding: 16px;
  border: 1px solid #334155;
  border-radius: 8px;
  display: grid;
  gap: 8px;
}

.app-shell {
  min-width: 0;
  padding: 28px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 30px;
  letter-spacing: 0;
}

h2 {
  font-size: 21px;
}

h3 {
  font-size: 16px;
}

.top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

select,
input {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--panel);
  color: var(--ink);
}

.ghost-button,
.primary-button,
.mini-button {
  min-height: 40px;
  padding: 0 14px;
  font-weight: 700;
}

.ghost-button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}

.primary-button {
  background: var(--blue);
  color: white;
}

.mini-button {
  min-height: 32px;
  background: #e7f0ff;
  color: var(--blue);
}

.mini-button:disabled {
  cursor: default;
  background: #e9f7ef;
  color: var(--green);
}

.view {
  display: none;
}

.view.active {
  display: grid;
  gap: 18px;
}

.grid {
  display: grid;
  gap: 16px;
}

.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cols-5 {
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  overflow-x: auto;
  padding-bottom: 4px;
}

.cols-6 {
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  overflow-x: auto;
  padding-bottom: 4px;
}

.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel,
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.card {
  padding: 16px;
}

.metric {
  display: grid;
  gap: 8px;
}

.metric span,
.muted,
th {
  color: var(--muted);
}

.metric strong {
  font-size: 26px;
}

.metric-status {
  display: flex;
  align-items: center;
  min-height: 32px;
}

.metric-status .status {
  min-height: 30px;
  font-size: 13px;
}

.presence-metric {
  border-left: 6px solid var(--line);
}

.presence-green {
  border-left-color: var(--green);
}

.presence-blue {
  border-left-color: var(--blue);
}

.presence-yellow {
  border-left-color: #f0b429;
}

.presence-red {
  border-left-color: var(--red);
}

.status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status.good {
  background: #d3f9d8;
  color: var(--green);
}

.status.warn {
  background: #fff3bf;
  color: var(--amber);
}

.status.bad {
  background: #ffe3e3;
  color: var(--red);
}

.status.critical {
  background: #ff0033;
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 0, 51, 0.16), 0 0 18px rgba(255, 0, 51, 0.55);
  text-transform: uppercase;
}

.status.very-good {
  background: #ccfbf1;
  color: #0f766e;
}

.status.super {
  background: #dcfce7;
  color: #166534;
  box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.1);
}

.status.info {
  background: #d0ebff;
  color: var(--teal);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

tbody tr:hover {
  background: #f8fafc;
}

tfoot th {
  background: #f8fafc;
  color: var(--ink);
  font-weight: 900;
}

.bar-track {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: #e9edf2;
}

.bar {
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.chart-row {
  display: grid;
  grid-template-columns: 160px 1fr 92px;
  gap: 12px;
  align-items: center;
}

.chart-row + .chart-row {
  margin-top: 10px;
}

.stack {
  display: grid;
  gap: 10px;
}

.split {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  align-items: end;
}

.threshold-form {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
}

.goal-bet-form {
  grid-template-columns: minmax(190px, 1.2fr) minmax(190px, 1.2fr) repeat(3, minmax(140px, 1fr)) auto;
}

.goal-bet-form .primary-button {
  white-space: nowrap;
}

.threshold-form .wide-field {
  grid-column: 1 / -1;
}

.threshold-form .primary-button {
  justify-self: start;
}

.threshold-header {
  align-items: flex-start;
}

.threshold-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.form-footer {
  display: flex;
  gap: 12px;
  align-items: end;
  justify-content: flex-end;
  margin-top: 14px;
}

.inline-controls {
  display: flex;
  gap: 12px;
  align-items: end;
}

.payroll-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  align-items: end;
}

.payroll-controls .inline-controls {
  flex-wrap: wrap;
}

.dashboard-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 12px;
  align-items: end;
}

.report-generator-header {
  align-items: flex-start;
}

.report-generator-filters {
  margin-top: 4px;
}

.report-insight {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
}

.report-preview-table small {
  display: block;
  margin-top: 3px;
}

.compensation-note {
  display: block;
  margin-top: 4px;
}

.b2b-placeholder {
  min-height: 360px;
  align-content: center;
  justify-items: start;
}

.tabs {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.tab {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.tab.active {
  background: var(--ink);
  color: #ffffff;
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow: auto;
}

.dense-table th,
.dense-table td {
  min-width: 116px;
  padding: 8px;
}

.dense-table td:first-child,
.dense-table th:first-child {
  min-width: 190px;
}

.dense-table input {
  width: 100%;
  min-height: 34px;
  padding: 0 8px;
}

.accessories-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(320px, 0.9fr);
  gap: 16px;
  align-items: start;
}

.accessories-table th,
.accessories-table td {
  min-width: 112px;
}

.accessories-table th:first-child,
.accessories-table td:first-child {
  min-width: 210px;
}

.accessories-table th:last-child,
.accessories-table td:last-child {
  min-width: 240px;
}

.accessory-input {
  max-width: 92px;
  text-align: center;
}

.accessory-live-panel {
  position: sticky;
  top: 18px;
}

.accessory-bonus-list {
  display: grid;
  gap: 10px;
}

.accessory-bonus-card {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.accessory-bonus-card span {
  font-weight: 900;
  color: var(--green);
}

.accessory-bonus-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.accessory-tier-list {
  display: grid;
  gap: 8px;
}

.accessory-tier-list details {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.accessory-tier-list summary {
  cursor: pointer;
  font-weight: 900;
}

.accessory-tier-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  margin-top: 8px;
}

.report-history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px;
  min-width: 0;
}

.report-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.report-card > * {
  min-width: 0;
}

.report-card .split {
  align-items: flex-start;
  flex-wrap: wrap;
}

.report-card h3 {
  margin: 0;
}

.report-card-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
}

.report-card-grid span {
  color: var(--muted);
}

.report-card-actions {
  display: flex;
  justify-content: flex-end;
}

.compact-report-table th,
.compact-report-table td {
  min-width: 96px;
  padding: 6px;
  white-space: nowrap;
}

.compact-report-table th:first-child,
.compact-report-table td:first-child,
.compact-report-table th:last-child,
.compact-report-table td:last-child {
  min-width: 180px;
}

.threshold-table th,
.threshold-table td {
  white-space: nowrap;
}

.threshold-table td:last-child {
  white-space: normal;
}

.delta {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  font-weight: 800;
}

.delta.positive {
  background: #d3f9d8;
  color: var(--green);
}

.delta.negative {
  background: #ffe3e3;
  color: var(--red);
}

.empty-row {
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}

.analysis-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.analysis-details {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.analysis-details + .analysis-details {
  margin-top: 2px;
}

.analysis-details summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 900;
  background: #f8fafc;
}

.analysis-details .table-scroll {
  border-top: 1px solid var(--line);
}

.analysis-row {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.analysis-row span {
  color: var(--muted);
}

.mini-chart {
  height: 180px;
  display: flex;
  align-items: end;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.mini-bar {
  flex: 1;
  min-width: 10px;
  border-radius: 5px 5px 0 0;
  background: var(--blue);
}

.line-chart-shell {
  width: 100%;
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
}

.line-chart-scroll {
  min-width: 0;
  flex: 1;
  overflow-x: auto;
}

.line-chart {
  display: block;
  height: 280px;
}

.line-chart-bg {
  fill: #f8fafc;
}

.line-chart-grid {
  stroke: #d9e1e8;
  stroke-width: 1;
}

.line-chart-area {
  fill: url("#salesLineFill");
}

.line-chart-line {
  fill: none;
  stroke: var(--blue);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-chart-point circle {
  fill: #ffffff;
  stroke: var(--blue);
  stroke-width: 3;
}

.line-chart-y-label,
.line-chart-x-label,
.line-chart-axis-note {
  color: var(--muted);
  fill: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.line-chart-y-label {
  position: absolute;
  right: 10px;
  transform: translateY(-50%);
}

.line-chart-x-label {
  text-anchor: middle;
}

.line-chart-axis-note {
  position: absolute;
  top: 8px;
  right: 10px;
}

.line-chart-axis {
  position: relative;
  width: 58px;
  min-height: 280px;
  flex: 0 0 58px;
  border-left: 1px solid var(--line);
  background: #f8fafc;
}

.compact-label {
  min-width: 220px;
}

.money-input {
  width: 92px;
  min-height: 32px;
  padding: 0 8px;
}

.sales-goal-input {
  width: 110px;
  min-height: 34px;
  padding: 0 8px;
  border-radius: 6px;
}

.goal-months {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.goal-chip {
  display: inline-grid;
  gap: 2px;
  min-width: 86px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.15;
}

.goal-chip.good {
  background: #d3f9d8;
  color: var(--green);
}

.goal-chip.bad {
  background: #ffe3e3;
  color: var(--red);
}

.goal-progress {
  display: grid;
  grid-template-columns: 98px minmax(120px, 1fr);
  gap: 10px;
  align-items: center;
}

.goal-issued-cell {
  text-align: center;
}

.completed-goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.completed-goal-card {
  display: grid;
  gap: 12px;
}

.completed-goal-card h3 {
  margin: 0;
}

.completed-goal-meta {
  display: grid;
  grid-template-columns: minmax(96px, 0.8fr) minmax(0, 1.2fr);
  gap: 8px 12px;
}

.completed-goal-meta span {
  color: var(--muted);
}

.completed-goal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.goal-issued-toggle {
  min-height: 32px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.empty-row {
  color: var(--muted);
  text-align: center;
}

.inline-select,
.small-number-input {
  width: 118px;
  min-height: 32px;
  padding: 0 8px;
  border-radius: 6px;
}

.small-number-input {
  width: 86px;
}

.salary-input {
  width: 118px;
}

.inline-select.wide {
  width: 168px;
}

.seller-level-select {
  width: 270px;
}

.employee-login-input {
  width: 190px;
  min-height: 32px;
  padding: 0 8px;
  border-radius: 6px;
}

.employee-row.editing {
  background: #f8fafc;
}

.employee-row select:disabled,
.employee-row input:disabled {
  opacity: 1;
  cursor: default;
  background: #f8fafc;
  color: var(--muted);
}

.employee-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.ghost-mini {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
}

.terminated-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.terminated-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.terminated-card h3 {
  margin: 0 0 4px;
}

.terminated-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.danger {
  background: #ffe3e3;
  color: var(--red);
}

.hours-scroll {
  max-height: 72vh;
}

.hours-table {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
}

.hours-table th,
.hours-table td {
  min-width: 48px;
  padding: 4px;
  border-right: 1px solid #111827;
  border-bottom: 1px solid #111827;
  text-align: center;
}

.hours-table th:first-child,
.hours-table td:first-child {
  min-width: 190px;
  text-align: left;
}

.hours-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #a9d18e;
  color: #111827;
}

.hours-table th small {
  display: block;
  color: #111827;
  font-size: 10px;
}

.hours-table .weekend {
  background: #fff1f1;
}

.hours-table .holiday {
  background: #ffd6d6;
  color: var(--red);
}

.hours-table td.hour-cell {
  min-width: 62px;
  cursor: pointer;
  background: #ffffff;
}

.hours-table td.hour-cell.weekend {
  background: #fff1f1;
}

.hours-table td.hour-cell.holiday {
  background: #ffd6d6;
}

.hours-table td.hour-cell.color-blue {
  background: #cfe2f3;
}

.hours-table td.hour-cell.color-yellow {
  background: #fff2cc;
}

.hours-table td.hour-cell.color-green {
  background: #d9ead3;
}

.hours-table td.hour-cell.color-red {
  background: #f4cccc;
}

.hours-table td.hour-cell.color-maroon {
  background: #7f1d1d;
}

.hours-table td.hour-cell.color-maroon .hour-input {
  color: #ffffff;
}

.hours-table td.hour-cell:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.hours-table .sticky-col {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #ffffff;
}

.hour-input {
  width: 42px;
  min-height: 24px;
  padding: 0 3px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
  font-size: 12px;
}

.web-orders-input {
  width: 124px;
  min-height: 28px;
  padding: 0 6px;
  text-align: center;
}

.comment-input {
  min-width: 160px;
  min-height: 28px;
  padding: 0 6px;
}

.payroll-comment-input {
  min-width: 180px;
  min-height: 32px;
  padding: 0 8px;
}

.hours-report-table th,
.hours-report-table td {
  min-width: 44px;
  text-align: center;
}

.hours-report-table th:first-child,
.hours-report-table td:first-child {
  min-width: 170px;
  text-align: left;
}

.hours-report-table th:nth-last-child(-n + 4),
.hours-report-table td:nth-last-child(-n + 4) {
  min-width: 120px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

.payroll-toggle {
  width: 22px;
  height: 22px;
}

.completed-goal-actions .goal-issued-toggle {
  display: inline-flex;
  grid-template-columns: none;
}

dialog {
  width: min(880px, calc(100vw - 32px));
  border: 0;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 24px 90px rgba(24, 33, 47, 0.32);
}

dialog::backdrop {
  background: rgba(18, 25, 35, 0.56);
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: #eef2f6;
  cursor: pointer;
  font-size: 22px;
}

@media (max-width: 980px) {
  body {
    grid-template-columns: 1fr;
  }

  .sidebar {
    min-height: auto;
  }

  nav,
  .cols-4,
  .cols-3,
  .cols-2,
	  .form-grid,
	  .accessories-layout,
	  .dashboard-filters,
  .analysis-summary-grid,
  .analysis-grid {
    grid-template-columns: 1fr;
  }

  .topbar,
  .top-actions,
  .inline-controls,
  .payroll-controls,
  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

.b2b-header-panel h2 {
  margin-bottom: 4px;
}


.b2b-filters {
  margin-top: 2px;
}

.b2b-bar-list {
  display: grid;
  gap: 12px;
}

.b2b-bar-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(160px, 1.4fr) minmax(90px, auto);
  gap: 12px;
  align-items: center;
}

.b2b-table td,
.b2b-table th {
  min-width: 120px;
}

.b2b-table td:first-child,
.b2b-table th:first-child,
.b2b-table td:nth-child(2),
.b2b-table th:nth-child(2) {
  min-width: 210px;
}

.b2b-edit-panel {
  margin-bottom: 16px;
}

.b2b-add-form {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.b2b-add-form textarea,
.b2b-edit-input {
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.b2b-note-input {
  min-width: 220px;
  min-height: 54px;
  resize: vertical;
}

.b2b-number-input {
  min-width: 94px;
}

.b2b-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.b2b-edit-table td {
  vertical-align: middle;
}

.checkbox-label {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
