:root {
  --ink: #223c35;
  --muted: #748078;
  --green: #123f3a;
  --accent: #b9ed9c;
  --line: #e3e8df;
  --paper: #fff;
  --bg: #f5f6f2;
  --red: #b14335;
  --amber: #99691a;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #84bba2;
  outline-offset: 3px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #ced8ce;
  border-radius: 9px;
  background: white;
  padding: 11px 12px;
  color: var(--ink);
  outline-color: #75a38e;
  min-height: 44px;
}
textarea {
  resize: vertical;
  min-height: 80px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
label > input,
label > select,
label > textarea {
  margin-top: 7px;
}
small {
  color: var(--muted);
  line-height: 1.5;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 31px;
  letter-spacing: -1px;
  font-weight: 650;
  margin-bottom: 10px;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.35px;
  margin-bottom: 5px;
}
h3 {
  font-size: 15px;
}
p {
  line-height: 1.6;
}
svg {
  display: block;
}
.icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
.layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: var(--green);
  color: #dae6de;
  padding: 31px 18px;
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.6px;
  font-size: 23px;
  padding: 0 12px;
}
.brand img {
  width: 31px;
  height: 34px;
}
.brand sup {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 1px;
}
.brand-caption {
  font-size: 10px;
  letter-spacing: 2px;
  margin: 12px 12px 44px;
  color: #9fbbb0;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: #97b2a6;
  margin: 22px 13px 10px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 13px;
  padding: 13px;
  border-radius: 8px;
  color: #c9ddd2;
}
.nav a:hover {
  background: #214d46;
}
.nav a.active {
  background: #b9ed9c;
  color: #173f34;
  font-weight: 650;
}
.nav a span:last-child {
  margin-left: auto;
}
.nav-count {
  background: #29564b;
  border-radius: 5px;
  padding: 2px 5px;
  font-size: 10px;
  color: white;
}
.side-bottom {
  margin-top: auto;
  padding: 30px 10px 0;
}
.side-note {
  border: 1px solid #416157;
  border-radius: 10px;
  padding: 14px;
  font-size: 11px;
  line-height: 1.8;
  color: #c2d4ca;
}
.side-note strong {
  display: block;
  color: #ddefd0;
}
.side-user {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  margin-top: 22px;
}
.avatar {
  background: #dfe8d3;
  color: var(--green);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 650;
}
.side-user small {
  font-size: 10px;
  display: block;
  color: #a9c2b4;
}
.side-user button {
  margin-left: auto;
  color: #c9ddd2;
  border: 0;
  background: transparent;
  padding: 5px;
}
.workspace {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 82px;
  border-bottom: 1px solid var(--line);
  padding: 0 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fcfdf9;
  gap: 15px;
  font-size: 12px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.breadcrumb strong {
  color: var(--ink);
  font-weight: 500;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 17px;
}
.pill {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #466d4d;
  font-size: 10px;
  white-space: nowrap;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #74a45a;
  margin-right: 6px;
}
.content {
  padding: 36px 43px 30px;
  max-width: 1680px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #7c8b77;
  margin-bottom: 10px;
}
.subtitle {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 550;
  min-height: 42px;
  white-space: nowrap;
  text-decoration: none;
}
.button:hover {
  background: #24574d;
}
.button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.button.secondary:hover {
  background: #edf2e8;
}
.button.light {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--green);
}
.button.danger {
  background: #fff4ef;
  color: var(--red);
  border-color: #f0d4cb;
}
.button.small {
  padding: 6px 10px;
  min-height: 32px;
  font-size: 11px;
}
.button.ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
}
.actions-row {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  background: #e8eedf;
  border: 1px solid #dfe7d4;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 25px;
}
.hero-copy {
  padding: 27px 30px;
}
.hero h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
  max-width: 400px;
  line-height: 1.3;
}
.hero p {
  font-size: 12px;
  color: #647560;
  margin: 13px 0 20px;
  max-width: 460px;
}
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #d7e8c5, transparent 68%);
}
.hero-art:before,
.hero-art:after {
  content: "";
  width: 230px;
  height: 230px;
  position: absolute;
  border: 1px solid #ceddbf;
  border-radius: 50%;
}
.hero-art:after {
  width: 165px;
  height: 165px;
}
.shield {
  position: relative;
  z-index: 1;
  width: 95px;
  height: 108px;
  filter: drop-shadow(0 15px 15px #99ad8833);
}
.art-tag {
  position: absolute;
  right: 26px;
  bottom: 33px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  background: #fcfdf8;
  border: 1px solid #e0e7d8;
  border-radius: 8px;
  font-size: 10px;
  z-index: 2;
  box-shadow: 0 8px 25px #3350330c;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  gap: 8px;
}
.stat-icon {
  color: #5e7964;
  background: #f2f5ed;
  border-radius: 7px;
  padding: 8px;
}
.stat-number {
  font-size: 31px;
  letter-spacing: -1px;
  margin: 15px 0 9px;
  font-weight: 600;
}
.stat small {
  font-size: 10px;
}
.stat small.warn {
  color: var(--amber);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 25px 0 15px;
}
.section-heading p {
  font-size: 11px;
  color: var(--muted);
  margin: 7px 0 0;
}
.modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 29px;
}
.module-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 224px;
}
.module-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.module-icon {
  padding: 10px;
  background: #edf3e8;
  color: #507047;
  border-radius: 9px;
}
.module-icon.gold {
  background: #f9f1e2;
  color: #aa884d;
}
.module-icon.blue {
  background: #e9f0f4;
  color: #59808b;
}
.module-card h3 {
  margin: 0 0 8px;
}
.module-card p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.7;
}
.module-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #edf0e8;
  padding-top: 15px;
  font-size: 10px;
  color: #72816e;
}
.module-foot a {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--green);
  text-decoration: none;
  font-weight: 650;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
  background: #f0f3eb;
  color: #6a7b60;
}
.badge.ok {
  background: #edf5e7;
  color: #55793f;
}
.badge.bad {
  background: #fbede7;
  color: #af5a40;
}
.badge.warn {
  background: #faf1dd;
  color: #9a792d;
}
.badge.blue {
  background: #edf2f8;
  color: #52748a;
}
.two-col {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 20px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  margin-bottom: 20px;
}
.panel-head {
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #edf0e8;
  gap: 12px;
}
.panel-head h2 {
  font-size: 14px;
}
.panel-body {
  padding: 22px;
}
.table-wrap {
  overflow: auto;
  width: 100%;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
  text-align: left;
}
th {
  padding: 12px 19px;
  background: #fafbf7;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #83907d;
  font-weight: 550;
  white-space: nowrap;
}
td {
  padding: 15px 19px;
  border-top: 1px solid #edf0e9;
  line-height: 1.6;
  vertical-align: middle;
}
td strong {
  font-weight: 600;
}
td small {
  font-size: 10px;
  display: block;
}
td .actions-row {
  flex-wrap: nowrap;
}
tr:hover td {
  background: #fcfdf9;
}
.empty {
  text-align: center;
  padding: 42px 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.empty .icon {
  margin: 0 auto 12px;
  width: 29px;
  height: 29px;
  color: #9aab8e;
}
.empty strong {
  display: block;
  color: #52684b;
  font-size: 13px;
}
.notice {
  padding: 13px 16px;
  border-radius: 8px;
  background: #edf2e5;
  color: #637551;
  font-size: 11px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.notice.warning {
  background: #faf0df;
  color: #8b682a;
}
.notice.error {
  background: #faeae6;
  color: #ae493b;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.filters input,
.filters select {
  font-size: 11px;
  min-height: 38px;
  max-width: 230px;
}
.filter-field {
  min-width: 150px;
}
.tabs {
  display: flex;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  overflow: auto;
}
.tab {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 13px 17px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.tab.active {
  color: var(--green);
  border-color: var(--green);
  font-weight: 600;
}
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.equipment-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 21px;
}
.equipment-card header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.equipment-card h3 {
  margin: 15px 0 5px;
}
.equipment-value {
  font-size: 34px;
  font-weight: 600;
  margin: 20px 0 8px;
  letter-spacing: -1px;
}
.equipment-value.bad {
  color: var(--red);
}
.equipment-range {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
}
.equipment-card footer {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.equipment-card small {
  font-size: 10px;
}
.spark {
  width: 100%;
  height: 55px;
  margin: 5px 0 15px;
  overflow: visible;
}
.spark polyline {
  fill: none;
  stroke: #749a58;
  stroke-width: 2;
}
.spark line {
  stroke: #e1e9da;
  stroke-dasharray: 4 4;
}
.chart-title {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 5px;
}
.kitchen-group {
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 8px;
  background: white;
}
.kitchen-group strong {
  font-size: 25px;
  display: block;
  margin-top: 10px;
}
.kitchen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}
.log-item {
  padding: 15px 0;
  border-bottom: 1px solid #edf0e8;
  display: flex;
  gap: 12px;
  font-size: 11px;
}
.log-item:last-child {
  border: 0;
}
.log-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #97ad75;
  margin-top: 5px;
  flex-shrink: 0;
}
.log-item small {
  display: block;
  font-size: 10px;
  margin-top: 4px;
}
.footer {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 9px;
  letter-spacing: 0.2px;
  color: #8c9785;
}
.auth-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-intro {
  background: var(--green);
  color: white;
  padding: 10vh 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-intro .brand {
  padding: 0;
  margin-bottom: 70px;
}
.auth-intro h1 {
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -1.6px;
  max-width: 430px;
}
.auth-intro h1 span {
  color: var(--accent);
}
.auth-intro p {
  color: #b4cabc;
  font-size: 14px;
  max-width: 400px;
}
.auth-intro .auth-modules {
  margin-top: 40px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #c7dcbb;
}
.auth-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 25px;
}
.auth-card {
  width: 100%;
  max-width: 380px;
}
.auth-card h2 {
  font-size: 27px;
  margin-bottom: 10px;
}
.auth-card > p {
  font-size: 12px;
  color: var(--muted);
}
.auth-card form {
  display: grid;
  gap: 17px;
  margin-top: 28px;
}
.auth-card .button {
  width: 100%;
  margin-top: 5px;
}
.auth-foot {
  font-size: 10px;
  color: var(--muted);
  margin-top: 25px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
}
.check-label input {
  width: 17px;
  min-height: 17px;
  margin: 0;
  accent-color: var(--green);
}
.form-error {
  font-size: 12px;
  line-height: 1.6;
  color: var(--red);
  background: #fff0eb;
  padding: 11px;
  border-radius: 7px;
}
.form-error:empty {
  display: none;
}
dialog {
  width: min(620px, calc(100% - 30px));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  color: var(--ink);
  max-height: 92dvh;
  box-shadow: 0 20px 80px #142d3030;
}
dialog::backdrop {
  background: #0e282655;
  backdrop-filter: blur(3px);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 26px;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  font-size: 20px;
  margin: 0;
}
.modal-head button {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 25px;
}
.modal-body {
  padding: 24px 26px;
}
.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  grid-column: 1/-1;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.scan-video {
  width: 100%;
  border-radius: 8px;
  background: #142c27;
  max-height: 320px;
  margin-bottom: 12px;
}
.link-code {
  padding: 15px;
  background: #f1f4ec;
  border-radius: 8px;
  word-break: break-all;
  font-size: 12px;
  margin-bottom: 15px;
}
.label-print {
  border: 2px solid var(--green);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  margin-bottom: 20px;
}
.label-print h2 {
  margin: 15px 0 5px;
}
.label-print .label-url {
  font-size: 10px;
  word-break: break-all;
  color: var(--muted);
  margin-top: 15px;
}
.qr {
  margin: auto;
  max-width: 230px;
  width: 100%;
  image-rendering: pixelated;
}
.startup {
  display: grid;
  place-content: center;
  min-height: 100vh;
  font-size: 30px;
  font-weight: 650;
  gap: 15px;
}
.startup span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 9px;
  background: var(--green);
  color: white;
  padding: 13px 22px;
  font-size: 12px;
  box-shadow: 0 5px 25px #143b3833;
  z-index: 100;
  max-width: 90vw;
  display: none;
}
#toast.show {
  display: block;
}
#toast.error {
  background: #a13f32;
}
.mobile-menu {
  display: none;
}
.dim {
  color: var(--muted);
}
.red-text {
  color: var(--red);
}
.quick-list {
  display: grid;
  gap: 10px;
}
.quick-list .button {
  justify-content: flex-start;
}
.loading-banner {
  padding: 9px 16px;
  background: #fff2d9;
  font-size: 12px;
  color: #886326;
  text-align: center;
}
.report-stats {
  margin-bottom: 20px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.numeric {
  font-variant-numeric: tabular-nums;
}
.inline-message {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.inline-message strong {
  display: block;
  color: var(--ink);
}
@media (min-width: 1550px) {
  .content {
    padding-top: 45px;
  }
  .module-card {
    min-height: 245px;
  }
  .hero-copy {
    padding: 33px 35px;
  }
  .hero h2 {
    font-size: 27px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 205px;
    padding: 28px 12px;
  }
  .layout {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .content {
    padding: 28px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 15px;
  }
  .modules {
    gap: 10px;
  }
  .module-card {
    padding: 17px;
  }
  .equipment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .hero {
    grid-template-columns: 1.6fr 1fr;
  }
  .hero-copy {
    padding: 25px;
  }
  .art-tag {
    right: 10px;
    bottom: 30px;
  }
  .top-right .date {
    display: none;
  }
}
@media (max-width: 780px) {
  .layout {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
    width: 238px;
    box-shadow: 20px 0 70px #123f3a33;
  }
  .workspace {
    width: 100%;
  }
  .mobile-menu {
    display: inline-flex;
    border: 0;
    background: transparent;
    color: var(--green);
    padding: 8px;
  }
  .topbar {
    height: 65px;
    padding: 0 14px;
  }
  .top-right {
    gap: 8px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .topbar .pill {
    font-size: 9px;
  }
  .content {
    padding: 25px 18px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading .subtitle {
    font-size: 11px;
  }
  .page-heading .button {
    padding: 10px;
    font-size: 11px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-art {
    display: none;
  }
  .hero-copy {
    padding: 23px;
  }
  .hero h2 {
    font-size: 22px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .stat-number {
    font-size: 29px;
  }
  .modules {
    grid-template-columns: 1fr;
  }
  .module-card {
    min-height: 0;
    padding: 20px;
  }
  .module-top {
    margin-bottom: 14px;
  }
  .module-card p {
    margin-bottom: 14px;
  }
  .module-card .module-icon {
    padding: 8px;
  }
  .module-foot {
    padding-top: 12px;
  }
  .equipment-grid,
  .kitchen-grid {
    grid-template-columns: 1fr;
  }
  .panel-head {
    padding: 18px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .filters {
    width: 100%;
  }
  .filters input,
  .filters select {
    max-width: 100%;
    width: 100%;
  }
  .filter-field {
    flex: 1;
    min-width: 130px;
  }
  .auth-screen {
    grid-template-columns: 1fr;
  }
  .auth-intro {
    padding: 35px 28px;
  }
  .auth-intro .brand {
    margin-bottom: 28px;
  }
  .auth-intro h1 {
    font-size: 30px;
    max-width: 350px;
  }
  .auth-intro p {
    font-size: 12px;
    margin-bottom: 0;
  }
  .auth-intro .auth-modules {
    margin-top: 20px;
  }
  .auth-form {
    padding: 30px 25px 50px;
  }
  .auth-card h2 {
    font-size: 23px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-head {
    padding: 20px;
  }
  .modal-head h2 {
    font-size: 18px;
  }
  th,
  td {
    padding: 12px 14px;
  }
  .footer {
    font-size: 8px;
    gap: 10px;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .section-heading .button {
    font-size: 10px;
  }
  .side-bottom {
    padding-top: 20px;
  }
  .hero p {
    max-width: none;
  }
  .top-right #install-button {
    display: none;
  }
}
@media print {
  .sidebar,
  .topbar,
  .page-heading .button,
  .toolbar,
  .tabs,
  .footer,
  .actions-row,
  dialog .modal-head,
  dialog .modal-foot,
  .label-controls,
  #toast {
    display: none !important;
  }
  .layout {
    display: block;
  }
  .workspace {
    grid-column: 1;
  }
  .content {
    padding: 0;
  }
  .panel {
    border: 1px solid #ccc;
    break-inside: avoid;
  }
  .table-wrap {
    overflow: visible;
  }
  body {
    background: white;
    color: black;
  }
  dialog[open] {
    position: absolute;
    inset: 0;
    width: 100%;
    max-height: none;
    border: 0;
    box-shadow: none;
  }
  .layout:has(~ dialog[open]) {
    display: none;
  }
  body:has(dialog[open]) #app {
    display: none;
  }
  .label-print {
    max-width: 380px;
    margin: 30px auto;
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .badge {
    border: 1px solid #ccc;
  }
}
