:root {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #1e3439;
  background: #f4f7f8;
  font-synthesis: none;
  --teal: #116a66;
  --ink: #19383b;
  --muted: #5c7279;
  --line: #dce6e7;
  --coral: #ec785f;
  --violet: #7662b4;
  --shadow: 0 12px 36px #1837390a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 10px;
  padding: 0.68rem 1rem;
  background: #eaf0f1;
  color: var(--ink);
  font-weight: 600;
}
button:hover {
  filter: brightness(0.97);
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #e39d34;
  outline-offset: 3px;
}
a {
  color: var(--teal);
}
h1,
h2,
h3,
h4 {
  font-family: Manrope, system-ui, sans-serif;
  margin: 0;
  line-height: 1.3;
}
h1 {
  font-size: 1.9rem;
  letter-spacing: -1px;
}
h2 {
  font-size: 1.3rem;
}
h3 {
  font-size: 1.05rem;
}
p {
  margin: 0.5rem 0;
}
small,
.small {
  font-size: 0.875rem;
}
.muted {
  color: var(--muted);
}
.primary {
  background: var(--teal);
  color: white;
}
.danger {
  background: #fcebe8;
  color: #a8332b;
}
.outline {
  border: 1px solid var(--line);
  background: white;
}
.ghost {
  background: transparent;
}
.hidden {
  display: none !important;
}
.flex {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.between {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.gap {
  gap: 1.25rem;
}
.stack {
  display: grid;
  gap: 1rem;
}
.spacer {
  flex: 1;
}
.text-right {
  text-align: right;
}
.loading {
  min-height: 100vh;
  display: grid;
  place-content: center;
  text-align: center;
}
.brand-symbol {
  font-size: 2rem;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #daeeeb;
  color: var(--teal);
  border-radius: 16px;
}
.logo {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}
.logo h2 {
  font-size: 1rem;
  line-height: 1.25;
}
.logo small {
  color: #a9c9c6;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.shell {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #153d40;
  color: white;
  padding: 2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar .brand-symbol {
  background: #2b5353;
  color: #eec0ac;
  flex-shrink: 0;
}
.nav {
  display: grid;
  gap: 0.4rem;
}
.nav button {
  text-align: left;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: transparent;
  color: #c1d6d5;
  font-weight: 500;
}
.nav button.active {
  background: #2d5a59;
  color: #fff;
}
.nav-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #365a5b;
  padding-top: 1rem;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ecd6b8;
  color: #4a4540;
  font-weight: 700;
  flex-shrink: 0;
}
.sidebar-bottom button {
  color: #c1d6d5;
  padding: 0.5rem 0;
  background: transparent;
}
.workspace {
  min-width: 0;
}
.topbar {
  min-height: 88px;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar .location {
  font-weight: 600;
  color: #425e63;
}
.topbar .badge {
  background: #eaf3ee;
  color: #39714e;
}
.content {
  max-width: 1600px;
  margin: auto;
  padding: 2rem 2.5rem 3rem;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.page-head p {
  color: var(--muted);
  margin: 0.45rem 0 0;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.stat {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: #e6f2ee;
  color: var(--teal);
}
.stat:nth-child(2) .stat-icon {
  background: #fff0e8;
  color: #b56244;
}
.stat:nth-child(3) .stat-icon {
  background: #eeeaf7;
  color: var(--violet);
}
.stat:nth-child(4) .stat-icon {
  background: #e9f0fb;
  color: #4670a1;
}
.stat strong {
  font-family: Manrope;
  font-size: 1.5rem;
  display: block;
  line-height: 1.4;
}
.stat small {
  color: var(--muted);
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.segmented {
  padding: 4px;
  background: #eaf0f1;
  border-radius: 11px;
  display: inline-flex;
  gap: 3px;
}
.segmented button {
  background: transparent;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  color: #556e72;
}
.segmented button.active {
  background: white;
  box-shadow: 0 2px 6px #12333312;
  color: var(--teal);
}
input,
select,
textarea {
  border: 1px solid #cddadb;
  border-radius: 9px;
  padding: 0.65rem 0.75rem;
  min-height: 44px;
  background: white;
  color: var(--ink);
  width: 100%;
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px #116a6618;
}
input[type="checkbox"] {
  width: 20px;
  min-height: 20px;
  accent-color: var(--teal);
}
input[type="color"] {
  padding: 3px;
  width: 65px;
}
input:disabled {
  background: #edf1f2;
}
select {
  appearance: none;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23557070' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 0.7rem center;
  background-repeat: no-repeat;
}
.inline-input {
  width: auto;
  min-width: 150px;
}
.date-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.date-nav input {
  width: 160px;
}
.date-label {
  font-weight: 700;
  font-size: 1.1rem;
  min-width: 170px;
  text-align: center;
}
.schedule-card {
  padding: 0;
  overflow: hidden;
}
.schedule-top {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.schedule-scroll {
  overflow: auto;
  max-height: 650px;
}
.schedule {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  min-width: 720px;
}
.schedule th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fcfefe;
  border-bottom: 1px solid var(--line);
  padding: 1rem 0.5rem;
  text-align: center;
  font-size: 0.9rem;
}
.schedule th:first-child {
  width: 76px;
  left: 0;
  z-index: 3;
}
.schedule td {
  height: 88px;
  border-bottom: 1px solid #edf1f2;
  border-right: 1px solid #edf1f2;
  padding: 5px;
  vertical-align: top;
}
.schedule td:first-child {
  font-size: 0.875rem;
  color: #6c8185;
  text-align: center;
  padding-top: 15px;
  background: #fcfefe;
  position: sticky;
  left: 0;
  z-index: 1;
}
.staff-dot {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  background: var(--person);
}
.staff-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}
.staff-initial {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--person), white 87%);
  color: var(--person);
  font-weight: 700;
  margin: 0 auto 0.4rem;
}
.slot {
  width: 100%;
  height: 100%;
  min-height: 70px;
  text-align: left;
  border-radius: 8px;
  background: transparent;
  padding: 0.4rem;
  color: #839293;
  font-size: 0.875rem;
  font-weight: 400;
}
.slot:hover {
  background: #f0f6f5;
  color: var(--teal);
}
.appointment {
  background: color-mix(in srgb, var(--person), white 88%);
  border-left: 3px solid var(--person);
  color: var(--ink);
  padding: 0.55rem 0.6rem;
  border-radius: 6px;
  display: block;
  width: 100%;
  text-align: left;
  font-size: 0.85rem;
  line-height: 1.4;
  min-height: 72px;
}
.appointment strong {
  display: block;
  font-size: 0.9rem;
}
.appointment .time {
  color: var(--person);
  font-size: 0.75rem;
  font-weight: 700;
  display: block;
}
.appointment.cancelled {
  opacity: 0.5;
  text-decoration: line-through;
}
.appointment.completed {
  border-style: dashed;
}
.schedule-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}
.legend {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.legend span {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #116a66;
}
.badge {
  display: inline-flex;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  align-items: center;
  gap: 0.3rem;
  background: #edf2f3;
  color: #4d6870;
}
.badge.warn {
  background: #fff1db;
  color: #8a5b0a;
}
.badge.good {
  background: #e6f3ea;
  color: #39714e;
}
.badge.bad {
  background: #fce8e4;
  color: #a63f32;
}
.alert {
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: #fff5e5;
  border: 1px solid #f0d8ac;
  color: #785a2c;
  margin-bottom: 1rem;
  font-size: 0.94rem;
}
.alert.info {
  background: #edf5f8;
  border-color: #d1e3ec;
  color: #3c6372;
}
.empty {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--muted);
}
.empty .empty-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.empty h3 {
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.table-wrap {
  overflow: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
.data-table th {
  font-size: 0.85rem;
  color: #637b80;
  font-weight: 500;
  background: #f7fafb;
  padding: 0.8rem;
}
.data-table td {
  padding: 0.9rem 0.8rem;
  border-bottom: 1px solid #e8eeef;
  font-size: 0.94rem;
}
.data-table th:first-child,
.data-table td:first-child {
  padding-left: 0;
}
.data-table th:first-child {
  padding-left: 0.8rem;
}
.data-table td .secondary {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: normal;
}
.data-table button {
  padding: 0.35rem 0.6rem;
  font-size: 0.85rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .full {
  grid-column: 1/-1;
}
label.field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.field small {
  font-weight: 400;
  color: var(--muted);
}
.check-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.form-error {
  background: #fcebe8;
  color: #9d382b;
  padding: 0.75rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.9rem;
}
.form-error:empty {
  display: none;
}
.hint {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0.35rem 0;
}
.money {
  font-variant-numeric: tabular-nums;
}
.total {
  font-family: Manrope;
  font-size: 2rem;
  font-weight: 800;
}
.line-item {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) 65px 110px 35px;
  gap: 0.6rem;
  align-items: end;
  margin-bottom: 0.8rem;
}
.line-item .field {
  font-size: 0.8rem;
}
.payment-item {
  display: grid;
  grid-template-columns: 130px 1fr 1fr 32px;
  gap: 0.5rem;
  align-items: center;
  margin: 0.7rem 0;
}
.receipt-total {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-weight: 700;
}
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(140px, 1fr));
  gap: 0.65rem;
  min-width: 1050px;
}
.week-day {
  background: #f8fbfb;
  border-radius: 10px;
  min-height: 220px;
  padding: 0.7rem;
}
.week-day h3 {
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}
.week-day button {
  margin-bottom: 0.5rem;
}
.week-day.today {
  box-shadow: inset 0 0 0 2px #b6d9d4;
}
.week-day .day-num {
  font-size: 1.3rem;
  font-weight: 800;
}
.settings-tabs {
  margin-bottom: 1.2rem;
}
.chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font-size: 0.875rem;
}
.chip input {
  margin: 0;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.login-story {
  background: #153d40;
  color: white;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-story:after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 60px solid #ffffff06;
  border-radius: 50%;
  bottom: -180px;
  right: -100px;
}
.login-story .logo h2 {
  font-size: 1.3rem;
}
.login-story h1 {
  font-size: 3.5rem;
  max-width: 500px;
  letter-spacing: -2px;
  line-height: 1.13;
  margin: 4rem 0 1.5rem;
}
.login-story h1 em {
  font-style: normal;
  color: #efb99f;
}
.login-story p {
  max-width: 400px;
  color: #c3d7d4;
  font-size: 1.1rem;
}
.login-footer {
  color: #a5c1c0;
  font-size: 0.875rem;
  margin-top: 3rem;
}
.login-form-panel {
  display: grid;
  place-items: center;
  padding: 2rem;
}
.login-box {
  width: 100%;
  max-width: 390px;
}
.login-box h2 {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}
.login-box form {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}
.login-box .primary {
  width: 100%;
  padding: 0.9rem;
}
.login-decoration {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.login-decoration span {
  background: #285153;
  border: 1px solid #3b6161;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  color: #d8e6e3;
  font-size: 0.875rem;
}
.public-page {
  max-width: 900px;
  margin: auto;
  padding: 2rem 1.2rem;
}
.public-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0 2rem;
}
.public-top .logo small {
  color: var(--teal);
}
.public-hero {
  padding: 2rem 0;
}
.public-hero h1 {
  font-size: 2.5rem;
  max-width: 600px;
  margin-bottom: 1rem;
}
.public-hero p {
  color: var(--muted);
}
.public-steps {
  display: flex;
  gap: 1.5rem;
  margin: 1.5rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.public-steps b {
  background: #e0efeb;
  color: var(--teal);
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  margin-right: 0.4rem;
}
.booking-slots {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.booking-slots button {
  background: white;
  border: 1px solid #c6d9d7;
  color: var(--teal);
}
.booking-slots button.selected {
  background: var(--teal);
  color: white;
}
.branch-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem;
}
.branch-card strong {
  display: block;
}
.branch-card small {
  display: block;
  color: var(--muted);
}
dialog {
  border: 0;
  border-radius: 18px;
  padding: 0;
  width: min(650px, calc(100vw - 24px));
  max-height: calc(100vh - 40px);
  box-shadow: 0 24px 100px #102d3d40;
  color: var(--ink);
}
dialog::backdrop {
  background: #102d3d80;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.dialog-head p {
  color: var(--muted);
  font-size: 0.9rem;
}
.dialog-content {
  padding: 1.5rem;
}
.close {
  padding: 0.15rem 0.6rem;
  font-size: 1.5rem;
  background: transparent;
  line-height: 1.4;
}
#toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 2rem);
  padding: 0.8rem 1.25rem;
  border-radius: 12px;
  background: #153d40;
  color: white;
  box-shadow: 0 10px 40px #1233;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
#toast.show {
  opacity: 1;
}
.mobile-menu {
  display: none;
}
.receipt {
  max-width: 420px;
  margin: auto;
  font-family: monospace;
  padding: 1rem;
}
.receipt h2 {
  text-align: center;
}
.receipt hr {
  border: 0;
  border-top: 1px dashed #666;
  margin: 1rem 0;
}
.receipt .row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.receipt small {
  display: block;
  text-align: center;
}
.notification-dot {
  color: var(--coral);
}
@media (max-width: 1200px) {
  .shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .topbar {
    padding: 1rem 1.5rem;
  }
  .content {
    padding: 1.5rem;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat strong {
    font-size: 1.3rem;
  }
  .sidebar {
    padding: 1.5rem 0.8rem;
  }
  .login-story {
    padding: 3rem;
  }
  .login-story h1 {
    font-size: 2.8rem;
  }
  .grid3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    left: -260px;
    width: 244px;
    z-index: 10;
    transition: left 0.2s;
  }
  .sidebar.open {
    left: 0;
    box-shadow: 0 0 0 100vmax #18373955;
  }
  .mobile-menu {
    display: block;
  }
  .topbar {
    padding: 0.9rem 1rem;
    min-height: 70px;
  }
  .topbar .location {
    font-size: 0.85rem;
  }
  .topbar .top-date {
    display: none;
  }
  .content {
    padding: 1.25rem 1rem;
  }
  .page-head {
    align-items: flex-start;
    gap: 0.7rem;
  }
  h1 {
    font-size: 1.5rem;
  }
  .page-head p {
    font-size: 0.875rem;
  }
  .page-head button {
    font-size: 0.875rem;
    padding: 0.7rem;
  }
  .stats {
    gap: 0.65rem;
  }
  .stat {
    padding: 1rem;
    gap: 0.7rem;
  }
  .stat-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    border-radius: 10px;
    flex-shrink: 0;
  }
  .stat small {
    font-size: 0.75rem;
  }
  .stat strong {
    font-size: 1.1rem;
  }
  .grid2,
  .grid3 {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 1rem;
  }
  .toolbar {
    gap: 0.7rem;
  }
  .date-label {
    min-width: 120px;
    font-size: 0.95rem;
  }
  .schedule-top {
    padding: 1rem;
  }
  .schedule-foot {
    padding: 1rem;
    align-items: flex-start;
    flex-direction: column;
  }
  .login-page {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 2rem;
    min-height: auto;
  }
  .login-story h1 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    max-width: 400px;
  }
  .login-story p,
  .login-footer,
  .login-decoration {
    display: none;
  }
  .login-form-panel {
    padding: 2rem 1.5rem;
  }
  .login-box h2 {
    font-size: 1.4rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .line-item {
    grid-template-columns: minmax(120px, 1fr) 55px 85px 30px;
    gap: 0.35rem;
  }
  .payment-item {
    grid-template-columns: 1fr 1fr 30px;
  }
  .payment-item input[data-field="reference"] {
    grid-column: 1/3;
  }
  .public-hero h1 {
    font-size: 2rem;
  }
  .public-steps {
    gap: 0.7rem;
    font-size: 0.8rem;
  }
  .public-top .logo h2 {
    font-size: 0.85rem;
  }
  .date-nav input {
    width: 145px;
  }
  .inline-input {
    min-width: 120px;
  }
  .settings-tabs {
    overflow: auto;
    max-width: 100%;
    display: flex;
  }
  .settings-tabs button {
    white-space: nowrap;
  }
  .dialog-content {
    padding: 1.1rem;
  }
  .form-actions {
    flex-wrap: wrap;
  }
  .topbar .badge {
    display: none;
  }
}
@media print {
  body {
    background: white;
  }
  .sidebar,
  .topbar,
  .page-head,
  .no-print,
  #toast,
  dialog {
    display: none !important;
  }
  .shell {
    display: block;
  }
  .content {
    padding: 0;
  }
  .print-area {
    display: block !important;
  }
  .receipt {
    width: 80mm;
    max-width: none;
    font-size: 11px;
  }
  .receipt h2 {
    font-size: 16px;
  }
  .receipt small {
    font-size: 10px;
  }
  .card {
    box-shadow: none;
    border: 0;
  }
  .print-only {
    display: block !important;
  }
}
.print-only {
  display: none;
}

@media print {
  body:has(#print-area) #app {
    display: none !important;
  }
}
