:root {
  --bg: #fff5f5;
  --surface: #ffffff;
  --surface-2: #fff0f0;
  --line: #efc4c4;
  --text: #211111;
  --muted: #765555;
  --green: #0b7a3b;
  --green-2: #e4f3e9;
  --red: #d71920;
  --red-2: #ffe3e3;
  --amber: #aa6800;
  --amber-2: #fff0d1;
  --blue: #1d5f8f;
  --blue-2: #e2eef8;
  --ink: #1b0d0d;
  --shadow: 0 16px 36px rgba(114, 18, 18, 0.12);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.app-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 256px minmax(0, 1fr);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 100vh;
  padding: 18px;
  background: #8f1117;
  color: #fffdf8;
  position: sticky;
  top: 0;
}

.brand {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid #ffffff;
  background: #d71920;
  border-radius: 50%;
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong {
  display: block;
  font-size: 15px;
}

.brand span,
.connection-box,
.panel-header p,
.eyebrow {
  color: var(--muted);
}

.brand span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.nav {
  display: grid;
  gap: 6px;
}

.nav-button {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-align: left;
}

.nav-button:hover,
.nav-button.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.12);
}

.nav-button svg,
button svg {
  width: 18px;
  height: 18px;
}

.connection-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  font-size: 13px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8a8a8a;
}

.status-dot.is-on {
  background: #26c06f;
}

.status-dot.is-warn {
  background: #f4a51c;
}

.workspace {
  min-width: 0;
  padding: 22px;
}

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

.topbar h1,
.panel h2,
.setup-content h2 {
  margin: 0;
  color: var(--text);
  letter-spacing: 0;
}

.topbar h1 {
  font-size: clamp(24px, 3vw, 34px);
}

.eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.topbar-actions,
.button-row,
.field-row,
.inline-form {
  display: flex;
  gap: 10px;
}

.topbar-actions {
  align-items: center;
}

.icon-button,
.outline-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
}

.icon-button {
  width: 42px;
  padding: 0;
}

.outline-button {
  padding: 0 14px;
}

.primary-button {
  padding: 0 16px;
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.primary-button:hover {
  background: #a90f17;
}

.outline-button:hover,
.icon-button:hover {
  background: var(--surface-2);
}

.compact {
  min-height: 36px;
  padding-inline: 12px;
}

.wide {
  width: 100%;
}

.view {
  min-width: 0;
}

.hidden {
  display: none !important;
}

.setup-panel {
  min-height: calc(100vh - 126px);
  display: grid;
  place-items: center;
}

.setup-content {
  width: min(640px, 100%);
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.setup-content p {
  margin: 8px 0 16px;
  color: var(--muted);
}

.form-grid,
.order-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  color: var(--text);
  background: #fff;
  border: 1px solid #cfc6b9;
  border-radius: var(--radius);
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 82px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(11, 122, 59, 0.14);
}

.orders-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(360px, 1.05fr);
  gap: 16px;
  align-items: start;
}

.settings-layout,
.settings-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  gap: 16px;
  align-items: start;
}

.settings-shell {
  grid-template-columns: 240px minmax(0, 1fr);
}

.settings-content {
  min-width: 0;
}

.settings-menu {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(31, 26, 20, 0.07);
}

.settings-tab {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 10px;
  color: var(--text);
  background: #fff8f6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  font-weight: 900;
}

.settings-tab.is-active,
.settings-tab:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.panel {
  min-width: 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(31, 26, 20, 0.07);
}

.order-form-panel {
  position: sticky;
  top: 16px;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.panel h2 {
  font-size: 18px;
}

.panel-header p {
  margin: 4px 0 0;
  font-size: 13px;
}

.field-row {
  align-items: start;
}

.field-row > label {
  flex: 1 1 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-title svg {
  width: 16px;
  height: 16px;
}

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

.line-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1fr) 124px 42px;
  gap: 8px;
  align-items: end;
  padding: 10px;
  background: #fbf8f2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.beverage-line {
  grid-template-columns: 88px minmax(0, 1fr) 124px 42px;
}

.line-total {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.totals-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 10px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
}

.totals-strip span {
  display: grid;
  gap: 3px;
  font-size: 12px;
}

.totals-strip strong {
  color: #fff;
  font-size: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-2);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.active-orders,
.kanban-column-list,
.simple-list,
.catalog-list {
  display: grid;
  gap: 10px;
}

.order-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
}

.order-card[data-status="novo"] {
  border-left-color: var(--amber);
}

.order-card[data-status="confirmado"] {
  border-left-color: var(--blue);
}

.order-card[data-status="em_preparo"] {
  border-left-color: var(--red);
}

.order-card[data-status="saiu_entrega"] {
  border-left-color: var(--green);
}

.order-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.order-card h3 {
  margin: 0;
  font-size: 16px;
}

.order-card small {
  color: var(--muted);
  font-weight: 700;
}

.order-meta,
.item-summary {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 13px;
}

.order-total {
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
}

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

.mini-button {
  min-height: 32px;
  padding: 0 10px;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 900;
}

.mini-button:hover {
  background: #e7ded2;
}

.danger-button {
  color: var(--red);
  background: var(--red-2);
  border-color: #f3b8ae;
}

.board-settings-panel {
  margin-bottom: 14px;
}

.board-settings-form {
  max-width: 420px;
}

.kanban-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(200px, 1fr));
  align-items: start;
  gap: 12px;
  min-height: calc(100vh - 128px);
}

.kanban-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-height: calc(100vh - 360px);
  padding: 10px;
  background: rgba(255, 253, 249, 0.74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.kanban-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.kanban-column h2 {
  margin: 0;
  font-size: 14px;
}

.kanban-column-list {
  align-content: start;
  min-height: 84px;
  overflow-y: auto;
  padding-right: 3px;
}

.pagination-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.compact-summary {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 8px;
}

.summary-tile {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: #fbf8f2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.summary-tile span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.summary-tile strong {
  font-size: 20px;
}

.date-filter {
  width: 180px;
}

.closing-actions {
  display: flex;
  align-items: end;
  gap: 8px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 11px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
}

th {
  background: #f4efe7;
  color: var(--muted);
  font-weight: 900;
}

tr:last-child td {
  border-bottom: 0;
}

.inline-form {
  align-items: end;
  margin-bottom: 12px;
}

.stacked-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px auto;
}

.compact-form {
  margin-bottom: 12px;
  padding: 12px;
  background: #fbf8f2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.inline-form input {
  flex: 1 1 auto;
}

.list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: #fbf8f2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.list-row strong,
.list-row span {
  min-width: 0;
}

.list-row small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

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

.price-input {
  width: 96px;
}

.catalog-description {
  min-height: 34px;
  margin-top: 6px;
  font-size: 12px;
}

.ifood-code {
  display: inline-flex;
  width: fit-content;
  padding: 5px 8px;
  color: #8b3a00;
  background: var(--amber-2);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 900;
}

.board-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(143, 17, 23, 0.06), rgba(11, 122, 59, 0.05)),
    #fff8f6;
  color: var(--ink);
}

.board-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  color: #fff;
  background: #9f1219;
  border-bottom: 5px solid var(--green);
}

.board-topbar h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.1vw, 46px);
  line-height: 1;
}

.board-topbar .eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 6px;
  padding: 3px 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

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

.board-clock span {
  font-size: 30px;
  font-weight: 950;
}

.standalone-kanban {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 10px;
  min-height: calc(100vh - 78px);
  padding: 10px;
}

.standalone-column {
  min-width: 0;
  padding: 8px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #f0c7c7;
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(116, 16, 16, 0.08);
}

.standalone-column header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.standalone-column h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(18px, 1.45vw, 24px);
}

.standalone-column header span {
  display: grid;
  min-width: 28px;
  min-height: 28px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  font-weight: 950;
}

.standalone-list {
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  padding-right: 3px;
}

.board-card {
  display: grid;
  gap: 9px;
  padding: 12px;
  color: #221f1b;
  background: #fffdf8;
  border-left: 6px solid var(--blue);
  border-radius: var(--radius);
}

.board-card[data-status="novo"] {
  border-left-color: var(--amber);
}

.board-card[data-status="confirmado"] {
  border-left-color: var(--blue);
}

.board-card[data-status="em_preparo"] {
  border-left-color: var(--red);
}

.board-card[data-status="saiu_entrega"] {
  border-left-color: var(--green);
}

.board-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.board-card-head strong,
.board-card-head b {
  font-size: 18px;
}

.board-card-head span,
.board-address,
.board-items {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.board-card h2 {
  margin: 0;
  font-size: 20px;
}

.board-items,
.board-address {
  display: grid;
  gap: 4px;
}

.board-empty {
  padding: 16px;
  color: var(--muted);
  border: 1px dashed #e8bdbd;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 900;
}

.board-card-minimal {
  display: grid;
  gap: 7px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--red);
  border-bottom: 5px solid var(--green);
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(116, 16, 16, 0.12);
}

.board-card-minimal h2 {
  margin: 0;
  color: var(--red);
  font-size: clamp(18px, 1.6vw, 26px);
  line-height: 1.05;
  text-align: center;
  letter-spacing: 0;
}

.board-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: clamp(14px, 1.1vw, 18px);
  color: var(--ink);
}

.channel-pill {
  padding: 4px 8px;
  color: #fff;
  border-radius: 999px;
}

.channel-whatsapp {
  background: var(--green);
}

.channel-ifood {
  background: var(--red);
}

.channel-manual {
  background: var(--ink);
}

.board-items,
.board-zone,
.board-courier,
.board-note,
.machine-note {
  display: grid;
  gap: 2px;
  color: var(--ink);
  font-size: clamp(16px, 1.35vw, 23px);
  font-weight: 950;
  line-height: 1.15;
}

.board-items {
  gap: 4px;
  font-size: clamp(18px, 1.65vw, 28px);
  text-transform: uppercase;
}

.board-zone {
  margin-top: 3px;
  color: var(--green);
  text-transform: uppercase;
}

.machine-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d71920;
  font-size: clamp(15px, 1.2vw, 20px);
}

.machine-note svg {
  width: 18px;
  height: 18px;
}

.board-note {
  padding: 6px 8px;
  color: var(--muted);
  background: #fff3d6;
  border-left: 4px solid var(--amber);
  border-radius: 6px;
  font-size: clamp(17px, 1.45vw, 24px);
  font-weight: 950;
}

.board-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 7px 10px;
  color: var(--timer-text);
  background: var(--timer-bg);
  border: 0;
  border-radius: var(--radius);
  font-size: clamp(13px, 0.95vw, 17px);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.32);
}

.board-timer strong {
  font-weight: 950;
}

.manager-page {
  min-height: 100vh;
  padding: 18px;
  background: var(--bg);
}

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

.manager-topbar h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(26px, 3vw, 40px);
}

.manager-content {
  display: grid;
  gap: 16px;
}

.manager-filters {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 10px;
  align-items: end;
  margin-bottom: 18px;
}

.manager-search {
  grid-column: span 3;
}

.manager-filters .primary-button {
  min-width: 180px;
}

#managerView table {
  min-width: 1080px;
}

#managerView select {
  min-width: 142px;
}

.customers-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(420px, 1.22fr);
  gap: 16px;
  align-items: start;
}

.customer-row small + small {
  margin-top: 3px;
}

.modal-overlay {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(35, 12, 12, 0.45);
}

.modal-card {
  width: min(760px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.item-editor-list {
  display: grid;
  gap: 10px;
}

.item-editor-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.2fr) 82px minmax(130px, 1fr) minmax(130px, 1fr) 120px auto;
  gap: 10px;
  align-items: end;
  padding: 10px;
  background: #fff8f6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.item-editor-row.is-beverage {
  grid-template-columns: minmax(150px, 1.2fr) 82px minmax(180px, 2fr) 120px auto;
}

.item-editor-row.is-existing {
  grid-template-columns: minmax(150px, 2fr) 82px 120px auto;
}

.item-editor-row.is-removed {
  opacity: 0.58;
  background: #fff0f0;
}

.item-editor-row.is-removed input,
.item-editor-row.is-removed select {
  pointer-events: none;
}

.item-editor-row strong {
  display: block;
}

.item-editor-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.message-textarea {
  min-height: 210px;
  line-height: 1.45;
}

td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.empty-state {
  padding: 18px;
  color: var(--muted);
  background: #fbf8f2;
  border: 1px dashed #cfc6b9;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 800;
}

.toast {
  position: fixed;
  z-index: 50;
  right: 18px;
  bottom: 18px;
  max-width: 420px;
  padding: 12px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 800;
}

.toast.is-error {
  background: var(--red);
}

.toast.is-ok {
  background: var(--green);
}

@media (max-width: 1180px) {
  .orders-layout,
  .settings-layout,
  .settings-shell,
  .customers-layout {
    grid-template-columns: 1fr;
  }

  .order-form-panel {
    position: static;
  }

  .kanban-board {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

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

  .standalone-kanban {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

  .manager-filters {
    grid-template-columns: repeat(3, 1fr);
  }

  .manager-search {
    grid-column: span 3;
  }
}

@media (max-width: 760px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    min-height: auto;
    gap: 12px;
  }

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

  .workspace {
    padding: 14px;
  }

  .topbar,
  .panel-header,
  .field-row,
  .button-row,
  .inline-form {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-actions {
    width: 100%;
  }

  .topbar-actions .outline-button {
    flex: 1;
  }

  .line-item,
  .beverage-line {
    grid-template-columns: 1fr;
  }

  .totals-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .kanban-board,
  .summary-grid,
  .standalone-kanban,
  .stacked-form,
  .item-editor-row {
    grid-template-columns: 1fr;
  }

  .date-filter {
    width: 100%;
  }

  .manager-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .manager-filters {
    grid-template-columns: 1fr;
  }

  .manager-search {
    grid-column: span 1;
  }

  .settings-menu {
    grid-template-columns: 1fr;
  }
}
