/* Comercial Lobo 3.1.0 — extensão do padrão visual aprovado, sem redefinir o painel. */
:root {
  --v300-ink: var(--lobo-action-dark, #1d1f1f);
  --v300-muted: #706f6a;
  --v300-line: #ddd9d1;
  --v300-paper: #f4f2ed;
  --v300-yellow: #f5d30a;
  --v300-blue: #087da4;
  --v300-pink: #d80c68;
  --v300-green: #287a52;
  --v300-red: #a43737;
}
.v300-root {
  width: min(100%, 1660px);
  margin: 0 auto;
  padding: 40px clamp(24px, 4vw, 62px) 72px;
  color: var(--v300-ink);
}

.lobo-main.v300-active > .lobo-content { display: none; }
.v300-root[hidden] { display: none !important; }
.v300-modal [hidden] { display: none !important; }
.v300-root, .v300-root *, .v300-modal, .v300-modal * { box-sizing: border-box; }

.v300-page { display: grid; gap: 18px; min-width: 0; }
.v300-head {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 25px 27px 21px;
  border: 1px solid var(--v300-line);
  border-bottom: 5px solid var(--v300-blue);
  border-radius: 7px;
  background: #fff;
}
.v300-head.yellow { border-bottom-color: #caaa00; }
.v300-head.pink { border-bottom-color: var(--v300-pink); }
.v300-head.green { border-bottom-color: var(--v300-green); }
.v300-head > div { min-width: 0; max-width: 930px; }
.v300-eyebrow { color: var(--v300-blue); font-size: 8px; font-weight: 950; letter-spacing: .16em; }
.v300-head.yellow .v300-eyebrow { color: #8b7300; }
.v300-head.pink .v300-eyebrow { color: var(--v300-pink); }
.v300-head.green .v300-eyebrow { color: var(--v300-green); }
.v300-head h1 { margin: 8px 0 7px; font-size: clamp(32px, 4vw, 52px); line-height: .98; letter-spacing: -.045em; }
.v300-head p { margin: 0; color: var(--v300-muted); font-size: 11px; line-height: 1.55; }
.v300-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.v300-button, .v300-root button, .v300-root a.v300-button, .v300-modal button {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #bdb9b1;
  border-radius: 5px;
  background: #fff;
  color: #242524;
  font: inherit;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.v300-button.primary, .v300-root button.primary, .v300-modal button.primary {
  border-color: var(--v300-ink);
  background: var(--v300-ink);
  color: #fff;
}
.v300-button.positive, .v300-root button.positive { border-color: #236d49; background: #236d49; color: #fff; }
.v300-button.danger, .v300-root button.danger { border-color: #9f3434; background: #fff; color: #8b2929; }
.v300-root button:hover, .v300-root a.v300-button:hover, .v300-modal button:hover { filter: brightness(.95); }
.v300-root button:active, .v300-root a.v300-button:active, .v300-modal button:active { transform: translateY(1px); }
.v300-root button:focus-visible, .v300-root a:focus-visible, .v300-modal button:focus-visible,
.v300-root input:focus-visible, .v300-root select:focus-visible, .v300-root textarea:focus-visible,
.v300-modal input:focus-visible, .v300-modal select:focus-visible, .v300-modal textarea:focus-visible {
  outline: 3px solid #087da4;
  outline-offset: 2px;
}
.v300-root button:disabled, .v300-modal button:disabled { border-color: #aaa9a5; background: #e5e4e1; color: #565956; opacity: 1; cursor: not-allowed; transform: none; }
.v300-root button.primary:disabled, .v300-modal button.primary:disabled { border-color: #696c69; background: #696c69; color: #fff; }
.v300-root button[aria-busy="true"], .v300-modal button[aria-busy="true"] { cursor: wait; }
.v300-button:visited { color: #242524; }
.v300-button.primary:visited { color: #fff; }
.v300-button:focus-visible { outline: 3px solid var(--lobo-action-focus); outline-offset: 3px; }
.v302-flow-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:14px 0; }
.v302-flow-actions > p { flex:1 1 260px; margin:0; font-size:11px; color:#555a57; }
.v302-flow-actions > button { min-height:40px; }
.v300-location.in_transit { border-left-color:var(--v300-blue); }
.v300-status.in_transit { background:#e6eef8; color:#2c557b; }
.v300-root button.v302-composition { text-align:right; min-width:100px; font-variant-numeric:tabular-nums; }

.v300-toolbar, .v300-card {
  min-width: 0;
  border: 1px solid var(--v300-line);
  border-radius: 7px;
  background: #fff;
}
.v300-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; padding: 15px; }
.v300-toolbar > .grow { flex: 1 1 260px; }
.v300-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 18px 20px; border-bottom: 1px solid var(--v300-line); }
.v300-card > header h2, .v300-card > header h3 { margin: 3px 0 0; }
.v300-card > header p { margin: 5px 0 0; color: var(--v300-muted); font-size: 10px; line-height: 1.45; }
.v300-card-body { padding: 18px 20px; }

.v300-field { display: grid; min-width: 0; gap: 6px; }
.v300-field > span { color: #625f5a; font-size: 8px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.v300-field > small { color: var(--v300-muted); font-size: 9px; line-height: 1.35; }
.v300-field input, .v300-field select, .v300-field textarea,
.v300-root input, .v300-root select, .v300-root textarea,
.v300-modal input, .v300-modal select, .v300-modal textarea {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #c9c4bb;
  border-radius: 4px;
  background: #fff;
  color: var(--v300-ink);
  font: inherit;
  font-size: 11px;
}
.v300-root textarea, .v300-modal textarea { min-height: 78px; resize: vertical; }
.v300-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.v300-form-grid .wide { grid-column: 1 / -1; }

.v300-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.v300-metric { position: relative; display: grid; min-width: 0; min-height: 94px; align-content: center; gap: 7px; padding: 15px 17px 14px 20px; overflow: hidden; border: 1px solid var(--v300-line); border-radius: 6px; background: #fff; }
.v300-metric::before { position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--tone, var(--v300-blue)); content: ""; }
.v300-metric.yellow { --tone: #c9a700; } .v300-metric.green { --tone: var(--v300-green); }
.v300-metric.pink { --tone: var(--v300-pink); } .v300-metric.red { --tone: var(--v300-red); }
.v300-metric span { color: var(--v300-muted); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.v300-metric strong { overflow-wrap: anywhere; font-size: clamp(19px, 2vw, 25px); line-height: 1.08; }
.v300-metric small { color: var(--v300-muted); font-size: 9px; }

.v300-list { display: grid; gap: 9px; }
.v300-row { display: grid; min-width: 0; grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(110px, .7fr)) auto; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--v300-line); border-left: 4px solid var(--v300-blue); border-radius: 6px; background: #fff; }
.v300-row.inactive { opacity: .66; background: #f1f0ed; }
.v300-row > span { display: grid; min-width: 0; gap: 4px; }
.v300-row small { color: var(--v300-muted); font-size: 8px; font-weight: 800; line-height: 1.35; }
.v300-row strong { overflow-wrap: anywhere; font-size: 11px; line-height: 1.35; }
.v300-row .v300-row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }

.v300-batch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.v300-batch { display: grid; min-width: 0; gap: 10px; padding: 18px; border: 1px solid var(--v300-line); border-top: 4px solid var(--v300-blue); border-radius: 6px; background: #fff; }
.v300-batch h3 { margin: 0; overflow-wrap: anywhere; font-size: 16px; }
.v300-batch p { margin: 0; color: var(--v300-muted); font-size: 10px; line-height: 1.45; }
.v300-batch footer { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }

.v300-location {
  overflow: hidden;
  border: 1px solid var(--v300-line);
  border-left: 4px solid #c9a700;
  border-radius: 6px;
  background: #fff;
}
.v300-location.completed { border-left-color: var(--v300-green); }
.v300-location.partial { border-left-color: var(--v300-pink); }
.v300-location.separated { border-left-color: var(--v300-green); }
.v300-location.is-open { border-color: #c9c4bb; box-shadow: 0 8px 22px rgba(32, 28, 24, .08); }
.v300-location .progress { height: 7px; overflow: hidden; border-radius: 5px; background: #e9e6df; }
.v300-location .progress > i { display: block; height: 100%; background: var(--v300-green); }
.v300-location-toggle {
  display: grid !important;
  width: 100%;
  min-height: 78px !important;
  grid-template-columns: minmax(220px, 1.5fr) minmax(140px, .8fr) minmax(180px, 1.1fr) 28px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--v300-ink) !important;
  text-align: left;
  cursor: pointer;
}
.v300-location-toggle:hover { background: #faf8f4 !important; }
.v300-location-toggle > span { display: grid; min-width: 0; gap: 4px; }
.v300-location-toggle small { color: var(--v300-muted); font-size: 8px; font-weight: 800; line-height: 1.35; }
.v300-location-toggle strong { overflow-wrap: anywhere; font-size: 11px; line-height: 1.35; }
.v300-location-toggle > i,
.v300-location-toggle [data-location-caret] {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #f0ede7;
  color: var(--v300-blue);
  font-size: 18px;
  font-style: normal;
  font-weight: 800;
}
.v300-location-panel {
  display: grid;
  gap: 12px;
  padding: 0 16px 16px;
  border-top: 1px solid var(--v300-line);
  background: #faf9f6;
}
.v300-location-panel[hidden] { display: none !important; }
.v300-location-panel .v300-row-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px; padding-top: 2px; }
.v310-unit-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.v300-location-panel .v310-unit-board { margin-top: 12px; }
.v310-unit-cell {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 6px;
  padding: 12px 13px 12px 16px;
  overflow: hidden;
  border: 1px solid var(--v300-line);
  border-radius: 6px;
  background: #fff;
}
.v310-unit-cell::before { position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--tone, var(--v300-blue)); content: ""; }
.v310-unit-cell.yellow { --tone: #c9a700; }
.v310-unit-cell.green { --tone: var(--v300-green); }
.v310-unit-cell.pink { --tone: var(--v300-pink); }
.v310-unit-cell span { color: var(--v300-muted); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.v310-unit-cell ul { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.v310-unit-cell li { color: var(--v300-ink); font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }
.v310-unit-cell strong { font-variant-numeric: tabular-nums; }

.v300-status { display: inline-flex; width: max-content; max-width: 100%; align-items: center; min-height: 24px; padding: 4px 8px; border-radius: 999px; background: #eeeae2; color: #625d56; font-size: 8px; font-weight: 900; line-height: 1.25; white-space: normal; }
.v300-status.ready, .v300-status.completed, .v300-status.active { background: #def2e4; color: #245f39; }
.v300-status.partial, .v300-status.importing { background: #fff0bd; color: #70590d; }
.v300-status.waiting { background: #e6eef8; color: #2c557b; }
.v300-status.cancelled, .v300-status.failed, .v300-status.shortage { background: #f8dfdc; color: #852c28; }

.v300-table-wrap { width: 100%; overflow: auto; border: 1px solid var(--v300-line); border-radius: 6px; background: #fff; }
.v300-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.v300-table th { position: sticky; z-index: 2; top: 0; padding: 10px 11px; border-bottom: 1px solid #4a4945; background: #292a29; color: #fff; font-size: 8px; letter-spacing: .05em; text-align: left; }
.v300-table td { padding: 11px; border-bottom: 1px solid #e7e3dc; color: #2a2a29; font-size: 10px; line-height: 1.4; vertical-align: top; }
.v300-table tr:last-child td { border-bottom: 0; }
.v300-table .number { text-align: right; font-variant-numeric: tabular-nums; }
.v300-table .center { text-align: center; }
.v300-table tr.selected td { background: #fff9d8; }
.v300-table input[type="checkbox"] { width: 18px; min-height: 18px; }

.v300-feedback { padding: 13px 15px; border-left: 4px solid var(--v300-green); background: #e5f4ed; color: #245d49; font-size: 10px; font-weight: 750; line-height: 1.45; }
.v300-feedback.error { border-color: var(--v300-red); background: #fbe8ea; color: #7c2630; }
.v300-feedback.warning { border-color: #c7a300; background: #fff7d7; color: #69580f; }
.v300-empty { padding: 42px 22px; border: 1px dashed #aaa49a; border-radius: 6px; background: #fff; color: var(--v300-muted); text-align: center; }
.v300-empty h3 { margin: 0 0 6px; color: var(--v300-ink); }
.v300-empty p { margin: 0; }

.v300-modal-shade { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 20px; overflow: auto; background: rgba(17, 18, 18, .72); backdrop-filter: blur(5px); }
.v300-modal { width: min(920px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 8px; background: #fff; box-shadow: 0 28px 90px rgba(0, 0, 0, .32); }
.v300-modal.wide { width: min(1250px, 100%); }
.v300-modal > header { position: sticky; z-index: 5; top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 21px 24px 17px; border-bottom: 1px solid var(--v300-line); background: #fff; }
.v300-modal > header h2 { margin: 4px 0 0; font-size: 25px; }
.v300-modal > header p { margin: 4px 0 0; color: var(--v300-muted); font-size: 10px; }
.v300-modal > header > button { width: 38px; padding: 0; border-radius: 50%; font-size: 21px; }
.v300-modal-body { display: grid; gap: 15px; padding: 22px 24px; }
.v300-modal > footer { position: sticky; z-index: 5; bottom: 0; display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 14px 24px; border-top: 1px solid var(--v300-line); background: rgba(255, 255, 255, .98); }
.v300-modal > footer > span { margin-right: auto; color: var(--v300-muted); font-size: 9px; }

.v300-stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.v301-return-steps { grid-template-columns: repeat(2, 1fr); }
.v300-stepper span { padding: 9px; border: 1px solid var(--v300-line); border-radius: 4px; background: #f5f3ee; color: var(--v300-muted); font-size: 8px; font-weight: 900; text-align: center; }
.v300-stepper span.active { border-color: #252625; background: #252625; color: #fff; }
.v300-file { display: grid; place-items: center; min-height: 120px; padding: 20px; border: 2px dashed #aaa49a; border-radius: 7px; background: #faf9f6; text-align: center; }
.v300-file input { max-width: 430px; }
.v300-import-preview { max-height: 390px; overflow: auto; }

.v300-toast { position: fixed; z-index: 1300; right: 22px; bottom: 22px; max-width: min(420px, calc(100vw - 44px)); padding: 14px 16px; border: 1px solid #1f5e3e; border-radius: 6px; background: #246f49; color: #fff; box-shadow: 0 15px 45px rgba(0, 0, 0, .25); font-size: 10px; font-weight: 800; }
.v300-toast.error { border-color: #7d2323; background: #a43434; }

/* 3.1.0 — Entregas > Novo pedido: modal rolável e autocomplete isolado. */
.commercial-modal-backdrop:has(.supply-order-modal) {
  place-items: center;
  padding: 16px;
  overflow: hidden;
}
.supply-order-modal {
  display: flex;
  flex-direction: column;
  width: min(1100px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: hidden;
}
.supply-order-modal > header,
.supply-order-modal > footer {
  position: relative;
  flex: 0 0 auto;
  z-index: 30;
}
.supply-order-modal-body {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-bottom: 28px;
}
.supply-order-modal-body > .commercial-form-grid { overflow: visible; }
.supply-order-modal .commercial-form-grid > label { min-width: 0; }
.supply-order-modal .searchable-combobox { position: relative; z-index: 2; }
.supply-order-modal .searchable-combobox:has(.searchable-options) { z-index: 220; }
.supply-order-modal .commercial-form-grid > label:has(.searchable-options) { position: relative; z-index: 220; }
.supply-order-modal [role="listbox"],
.supply-order-modal .commercial-picker-list,
.supply-order-modal .smart-select-options,
.supply-order-modal .searchable-options {
  z-index: 240;
  max-height: min(220px, 30vh);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  background: #fff;
}
.supply-order-modal .searchable-options {
  top: calc(100% + 5px);
  right: 0;
  left: 0;
  min-width: 100%;
}
@media screen and (max-width: 760px) {
  .commercial-modal-backdrop:has(.supply-order-modal) { padding: 0; place-items: stretch; }
  .supply-order-modal { width: 100%; max-height: 100dvh; border-radius: 0; }
  .supply-order-modal-body { padding-bottom: 22px; }
}

/* O botão Nova ordem usa somente o componente central de v290-buttons.css.
   Evitar seletor especial que sobreponha o estado desativado. */

.v301-supply-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid #d8d4cc;
  border-left: 5px solid #287a52;
  border-radius: 7px;
  background: #fff;
}
.v301-supply-actions > div:first-child { display: grid; gap: 3px; min-width: 0; }
.v301-supply-actions span { color: #287a52; font-size: 8px; font-weight: 950; letter-spacing: .12em; }
.v301-supply-actions strong { font-size: 14px; }
.v301-supply-actions small { color: #706f6a; font-size: 9px; }
.v301-supply-actions > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.v301-supply-actions button { min-height: 40px; padding: 8px 14px; border: 1px solid #9b9d98; border-radius: 5px; background: #fff; color: #242624; font: inherit; font-size: 9px; font-weight: 900; cursor: pointer; }

.supply-order > header > div { min-width: 0; }
.supply-order > header > div > h2 { margin-bottom: 8px; font-size: clamp(20px, 2.2vw, 29px); line-height: 1.05; }
.supply-order > header .supply-code { display: block; margin: 8px 0 0; color: #77746e; font-size: 9px; font-weight: 800; }
.v301-order-identity { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 5px; }
.v301-order-identity > span { display: grid; min-width: min(240px, 100%); gap: 3px; padding: 9px 11px; border-left: 4px solid #087da4; background: #eef6f8; }
.v301-order-identity > span + span { border-left-color: #c9a700; background: #fff8d7; }
.v301-order-identity > span.muted { border-left-color: #b5b2ac; background: #f2f1ee; }
.v301-order-identity small { color: #676762; font-size: 7px; font-weight: 950; letter-spacing: .09em; }
.v301-order-identity strong { color: #1d1f1f; font-size: 12px; line-height: 1.25; overflow-wrap: anywhere; }

.v301-location-review { margin-top: 15px; }

/* Relatórios financeiros: Situação ganha largura e quebra; Data e Valor nunca são invadidos. */
.v280-report-card-summary {
  grid-template-columns: minmax(120px, .8fr) minmax(170px, 1.25fr) minmax(145px, 1fr)
    minmax(170px, 1.05fr) minmax(92px, .58fr) minmax(120px, .72fr) 28px;
}
.v280-report-card-summary .v260-status { max-width: 100%; height: auto; min-height: 25px; white-space: normal; line-height: 1.25; overflow-wrap: anywhere; }
.v280-report-card-summary > span:nth-child(5) strong,
.v280-report-value strong { white-space: nowrap; }

@media screen and (max-width: 1450px) {
  .v280-report-card-summary { grid-template-columns: repeat(3, minmax(0, 1fr)) 28px; }
  .v280-report-card-summary > i { grid-column: 4; grid-row: 1 / 3; }
}
@media screen and (max-width: 1100px) {
  .v300-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v300-batch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v300-row { grid-template-columns: 1fr 1fr; }
  .v300-row > span:first-child, .v300-row .v300-row-actions { grid-column: 1 / -1; }
  .v300-row .v300-row-actions { justify-content: flex-start; }
  .v300-location-toggle { grid-template-columns: 1fr 1fr 28px; }
  .v300-location-toggle > span:first-child { grid-column: 1 / -1; }
  .v300-location-toggle > i,
  .v300-location-toggle [data-location-caret] { grid-column: 3; grid-row: 2 / 4; }
  .v310-unit-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 800px) {
  .v300-root { padding: 24px 15px 55px; }
  .v300-head { align-items: flex-start; flex-direction: column; padding: 21px; }
  .v300-actions { width: 100%; justify-content: flex-start; }
  .v300-actions > * { flex: 1 1 145px; text-align: center; }
  .v300-batch-grid, .v300-form-grid, .v300-metrics { grid-template-columns: 1fr; }
  .v300-form-grid .wide { grid-column: auto; }
  .v300-stepper { grid-template-columns: 1fr; }
  .v301-supply-actions { align-items: flex-start; flex-direction: column; }
  .v301-supply-actions > div:last-child { width: 100%; justify-content: flex-start; }
  .v300-modal-shade { padding: 0; }
  .v300-modal, .v300-modal.wide { width: 100%; max-height: 100vh; border-radius: 0; }
}
@media screen and (max-width: 520px) {
  .v300-row { grid-template-columns: 1fr; }
  .v300-row > span:first-child, .v300-row .v300-row-actions { grid-column: auto; }
  .v300-toolbar { align-items: stretch; flex-direction: column; }
  .v300-toolbar > * { width: 100%; }
  .v300-modal > footer { align-items: stretch; flex-direction: column; }
  .v300-modal > footer > span { margin: 0; }
  .v300-location-toggle { grid-template-columns: 1fr 28px; }
  .v300-location-toggle > span { grid-column: 1; }
  .v300-location-toggle > i,
  .v300-location-toggle [data-location-caret] { grid-column: 2; grid-row: 1 / 4; }
  .v310-unit-board { grid-template-columns: 1fr; }
}

@media print {
  .v300-root { padding: 0; }
  .lobo-app > aside, .lobo-topbar, .v300-actions, .v300-toolbar, .v300-root button { display: none !important; }
  .lobo-main { margin-left: 0 !important; }
  .v300-card, .v300-batch, .v300-row, .v300-location { break-inside: avoid; box-shadow: none; }
  .v300-root button.v300-location-toggle { display: grid !important; }
  .v300-location-toggle > i,
  .v300-location-toggle [data-location-caret] { display: none !important; }
  .v300-location-panel { display: grid !important; }
}
.v310-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:16px;background:#fff;border:1px solid #dedbd5;border-radius:8px}.v310-filters .v300-field{flex:1 1 160px}.v310-filters input,.v310-filters select{min-height:40px}.v310-identities{flex:1 0 100%;min-width:0;padding:12px;background:#fff;border:1px solid #dedbd5;border-radius:6px}.v310-identities summary{font-weight:800;cursor:pointer}.v310-identities table{margin-top:12px}.v310-unit-summary{font-size:13px;line-height:1.6;color:#555}.v300-status.separated{background:#e2f5e7;color:#24613b}.v300-status.separation_partial,.v300-status.waiting_separation{background:#fff4d2;color:#785600}
