:root{font-family:Manrope,Arial,sans-serif;color:#1e2927;background:#f5f6f3;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select{cursor:pointer}aside{position:fixed;inset:0 auto 0 0;width:240px;background:#fff;border-right:1px solid #e3e7e2;padding:35px 22px}.logo{display:flex;align-items:center;gap:10px;color:#23674e;text-decoration:none;font-size:44px;font-weight:800;line-height:1}.logo span{font-size:25px;color:#20332b}.logo i{font-size:10px;font-style:normal;background:#eaf1e9;padding:5px;border-radius:4px}.navlabel{font-size:9px;letter-spacing:1.5px;color:#8b948d;margin:55px 12px 18px}nav button{border:0;background:transparent;padding:14px 16px;margin:3px 0;text-align:left;border-radius:9px;width:100%;color:#68766d;display:flex;gap:14px}nav button.active{background:#eaf2e8;color:#2c6143;font-weight:800}nav button:hover{background:#f1f4ef}.asidefoot{position:absolute;bottom:30px;color:#506355;font-size:12px;line-height:2}.asidefoot small{color:#8a938c}main{margin-left:240px;padding:0 46px;max-width:1600px}header{height:82px;border-bottom:1px solid #e0e5de;display:flex;align-items:center;justify-content:space-between;color:#859088;font-size:12px}header b{margin:0 14px;font-weight:400}.badge{background:#e9eee4;border:1px solid #dde5d5;color:#667751;padding:7px 12px;border-radius:30px}.heading{display:flex;justify-content:space-between;align-items:center;padding:36px 0 24px}.heading small{font-size:9px;letter-spacing:2px;color:#77887b}h1{font-size:32px;letter-spacing:-1px;margin:9px 0}p{color:#7c887f;line-height:1.7;margin:6px 0}select,input{padding:11px 13px;border:1px solid #dce2d8;border-radius:7px;background:white;color:#34493a;max-width:100%}.notice{padding:12px 16px;border:1px solid #e4e6d5;background:#f2f2e8;border-radius:8px;color:#7e8066;font-size:11px;margin-bottom:24px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat,.panel{background:#fff;border:1px solid #e1e6de;border-radius:12px}.stat{padding:23px}.stat span{color:#7b887f;font-size:12px}.stat strong{display:block;font-size:28px;margin:14px 0 8px;letter-spacing:-1px}.stat small{color:#89938b;font-size:10px}.stat.featured{background:#244c39;color:white;border-color:#244c39}.stat.featured span,.stat.featured small{color:#b8ccbb}.panel{margin-top:23px;overflow:hidden}.panelhead{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;gap:12px}h2{font-size:16px;margin:0}.primary{background:#2c6143;color:#fff;padding:12px 18px;border:0;border-radius:7px;font-weight:600}.primary:hover{background:#1e4730}.secondary{background:#f2f5ef;border:1px solid #dfe6da;border-radius:7px;padding:10px 16px;color:#4c6450}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{background:#f9faf7;color:#8b948d;font-size:10px;letter-spacing:.5px;font-weight:500;padding:13px 24px}td{padding:18px 24px;border-top:1px solid #eff1ec;font-size:12px}td strong{font-weight:700}.tag{padding:5px 8px;background:#edf3e8;border-radius:5px;color:#5e7b4d;font-size:10px}.muted{color:#94a092;font-size:11px}.good{color:#3a8056}.negative{color:#ae645a}.grid{display:grid;grid-template-columns:1.35fr 1fr;gap:22px}.bars{padding:4px 24px 26px}.barrow{margin:20px 0}.barlabel{display:flex;justify-content:space-between;font-size:12px;margin-bottom:10px}.track{height:8px;background:#edf1e8;border-radius:10px}.fill{height:100%;background:#90a97a;border-radius:10px}.empty{padding:35px;color:#879182;text-align:center}footer{display:flex;justify-content:space-between;align-items:center;padding:30px 0;font-size:9px;letter-spacing:1px;color:#9aa395}.textbtn{background:none;border:0;color:#7a8a78;font-size:11px}dialog{border:1px solid #dee5d9;border-radius:14px;padding:28px;width:440px;max-width:94vw;box-shadow:0 30px 90px #0002}dialog::backdrop{background:#152b2477}.modalhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.modalhead button{border:0;background:none;font-size:25px;color:#82907d}label{display:block;margin:13px 0;color:#667760;font-size:12px}label input,label select{display:block;width:100%;margin-top:7px}form .primary{width:100%;margin-top:15px}#error{color:#b04436;font-size:12px}@media(max-width:1000px){aside{width:190px}main{margin-left:190px;padding:0 24px}.stats{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}}@media(max-width:650px){aside{position:static;width:100%;padding:18px;border-right:0}.logo{font-size:28px}.logo span{font-size:20px}.navlabel,.asidefoot{display:none}nav{display:flex;overflow:auto;margin-top:15px}nav button{width:auto;white-space:nowrap;padding:9px 12px;font-size:12px}main{margin:0;padding:0 16px}header{height:56px;font-size:10px}.badge{font-size:9px;padding:6px}h1{font-size:25px}.heading{padding:24px 0;gap:10px}.heading p{font-size:11px}.heading select{width:125px;font-size:11px}.stat{padding:17px}.stat strong{font-size:23px}.panelhead{padding:18px 16px}th,td{padding:14px 16px}.notice{font-size:10px}.grid{gap:0}}

/* Reports, employee roles, and inventory forms. */
aside nav { margin-top: 38px; }
.heading { padding: 27px 0 12px; }
.filters {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 22px;
}
.filters label { margin: 0; min-width: 155px; font-weight: 700; }
.filters label select { margin-top: 5px; width: 100%; font-weight: 500; }
.filters #periodLabel { padding-bottom: 12px; }
.filters .secondary { white-space: nowrap; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid #42784e;
  outline-offset: 2px;
}
.status-message {
  color: #335e3e;
  background: #eaf2e8;
  border: 1px solid #dce7d9;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 12px;
}
.status-error { color: #9e3a2f; background: #fff3ef; border-color: #f3d8d0; }
.quick-actions { margin-top: 18px; margin-bottom: 0; }
.stats + .notice { margin-top: 14px; margin-bottom: 0; }
.stat strong { overflow-wrap: anywhere; }
.stat small { display: block; line-height: 1.45; color: #65746a; }
.stat.featured small { color: #d0dfd2; }
.staff-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.staff-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: #e9ede6;
  border-radius: 10px;
}
.staff-tab {
  color: #526256;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 8px 11px;
  white-space: nowrap;
  font-size: 12px;
}
.staff-tab[aria-pressed="true"] {
  color: #244c39;
  background: white;
  border-color: #dce6d9;
  font-weight: 800;
}
.staff-tab span { margin-left: 4px; color: #63766a; font-size: 10px; }
.role-seller { background: #e8f2e9; color: #346047; }
.role-manager { background: #ecf0f7; color: #475d81; }
.role-admin { background: #f2edfa; color: #675184; }
.stock-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
  border: 1px solid #dce5d9;
  border-radius: 10px;
  background: #eef3eb;
  padding: 14px 18px;
}
.stock-summary span { color: #607365; margin-right: 10px; font-size: 12px; }
.stock-summary strong { color: #244c39; font-size: 17px; }
.panel-note { margin: 10px 3px; color: #637267; }
th { color: #66766a; }
td .secondary { font-size: 11px; padding: 7px 10px; }
dialog { max-height: 90dvh; overflow: auto; }
#submit:disabled { opacity: .6; cursor: wait; }
@media (max-width: 650px) {
  aside nav { margin-top: 12px; }
  .heading { padding: 15px 0 8px; }
  .filters { gap: 8px 10px; margin-bottom: 17px; }
  .filters label { flex: 1 1 132px; min-width: 0; }
  .filters #periodLabel { padding: 0; width: 100%; }
  .stats { gap: 9px; }
  .stat strong { font-size: 21px; }
  .staff-tools > .primary { flex: 0 0 auto; }
  .staff-tab { padding: 7px; }
  .stock-summary { padding: 12px; }
  dialog { padding: 20px; }
}

.employee-actions { display: flex; gap: 6px; }
.permissions { border: 1px solid #dce2d8; border-radius: 8px; padding: 6px 12px; margin: 12px 0; }
.permissions legend { font-size: 12px; font-weight: 700; color: #476253; }
.permissions label { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.permissions input[type="checkbox"] { display: inline-block; width: auto; margin: 0; accent-color: #2c6143; }

/* Shared lists and phone navigation. */
.mobile-nav, .journal-cards, .cell-label { display: none; }
.list-search {
  display: grid;
  gap: 5px;
  margin: 0 0 12px;
  max-width: 460px;
  font-weight: 700;
}
.list-search input { margin: 0; }
.list-search + .panel { margin-top: 0; }
.more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.more-grid button, .quick-list button {
  text-align: left;
  color: #25392d;
  border: 1px solid #dce6d9;
  background: #fff;
  padding: 14px;
  border-radius: 13px;
  font-weight: 750;
}
.more-grid button span, .quick-list button span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eaf2e8;
  color: #275d43;
  font-size: 21px;
}
.more-grid button span { margin-bottom: 10px; }
.quick-list { display: grid; gap: 9px; }
.quick-list button { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 9px 12px; }
.quick-list button:first-child { background: #eef5eb; border-color: #d2e4d4; }

@media (max-width: 700px) {
  aside { display: none; }
  main {
    margin: 0 auto;
    max-width: 580px;
    padding: env(safe-area-inset-top, 0px) 16px calc(86px + env(safe-area-inset-bottom, 0px));
  }
  header { height: 42px; }
  header > span:first-child { font-size: 11px; color: #637267; }
  .desktop-label { display: none; }
  .heading { padding: 12px 0 6px; }
  .heading h1 { font-size: clamp(25px, 7vw, 32px); margin: 7px 0 9px; }
  .filters { gap: 7px 10px; margin-bottom: 17px; }
  .filters label { flex: 1 1 130px; min-width: 0; }
  .filters select, .list-search input, dialog input, dialog select { font-size: 16px; min-height: 44px; }
  .filters #periodLabel { padding: 0; width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .stat { padding: 13px 12px; }
  .stat strong { font-size: clamp(19px, 5.7vw, 26px); margin: 7px 0 4px; }
  .stat small { font-size: 11px; }
  .overview-actions { display: none; }
  .panel { margin-top: 15px; }
  .panelhead { padding: 13px 12px; gap: 8px; }
  .panelhead h2 { font-size: 15px; }
  .primary, .secondary, .staff-tab { min-height: 44px; }
  .actions { gap: 7px; margin-bottom: 13px; }
  .actions button { flex: 1 1 auto; }
  .tablewrap { overflow: visible; }
  .tablewrap table, .tablewrap tbody { display: block; white-space: normal; }
  .tablewrap thead {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
  }
  .tablewrap tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    padding: 12px;
    border-top: 1px solid #edf0ea;
  }
  .tablewrap tbody td { display: block; padding: 0; border: 0; font-size: 13px; overflow-wrap: anywhere; }
  .tablewrap tbody td:first-child, .tablewrap tbody td:has(button) { grid-column: 1 / -1; }
  .tablewrap tbody td:first-child { font-weight: 800; font-size: 15px; }
  .tablewrap tbody td:first-child > .cell-label { display: none; }
  .cell-label {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 500;
    color: #607366;
  }
  .catalog-table tbody td:nth-child(2) { grid-column: 1 / -1; font-weight: 800; font-size: 15px; }
  .catalog-table tbody td:first-child { font-size: 11px; color: #607366; }
  .catalog-table tbody td:nth-child(2) .cell-label { display: none; }
  .catalog-table tbody td:nth-child(3):has(.cell-label) { grid-column: 1 / -1; }
  .employee-actions { flex-wrap: wrap; }
  .staff-tab { padding: 7px 9px; }
  .journal-table { display: none; }
  .journal-cards { display: block; }
  .journal-day h3 {
    margin: 0;
    padding: 8px 12px;
    background: #f0f3ee;
    color: #506657;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
  }
  .journal-entry { border-bottom: 1px solid #edf0ea; }
  .journal-entry:last-child { border-bottom: 0; }
  .journal-entry summary {
    display: grid;
    grid-template-columns: 9px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    min-height: 56px;
    padding: 10px 12px;
    cursor: pointer;
    list-style: none;
  }
  .journal-entry summary::-webkit-details-marker { display: none; }
  .journal-dot { height: 8px; width: 8px; border-radius: 50%; background: #367553; }
  .journal-dot.out { background: #b8634b; }
  .journal-dot.neutral { background: #82709e; }
  .journal-text strong, .journal-text small { display: block; overflow-wrap: anywhere; }
  .journal-text small, .journal-details small { color: #637267; font-size: 11px; }
  .journal-amount { font-variant-numeric: tabular-nums; white-space: nowrap; }
  .entry-chevron { color: #687c6c; font-size: 19px; }
  .journal-entry[open] .entry-chevron { transform: rotate(90deg); }
  .journal-details { display: grid; gap: 3px; padding: 0 12px 12px 29px; font-size: 13px; overflow-wrap: anywhere; }
  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    z-index: 10;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-items: center;
    padding: 7px max(8px, env(safe-area-inset-right, 0px)) calc(7px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
    border-top: 1px solid #dce6d9;
    background: #fbfcfa;
    box-shadow: 0 -8px 25px #1b3a2610;
  }
  .mobile-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 2px 0;
    min-height: 49px;
    width: 100%;
    background: transparent;
    border: 0;
    border-radius: 9px;
    color: #586b5d;
    font-size: 11px;
    font-weight: 650;
  }
  .mobile-nav button span { font: 700 24px/25px Arial, sans-serif; }
  .mobile-nav button.active { background: #eaf2e8; color: #245b40; }
  .mobile-nav .quick-open {
    background: #2c6143;
    color: #fff;
    height: 48px;
    min-height: 48px;
    width: 48px;
    border-radius: 15px;
  }
  .mobile-nav .quick-open span { font: 400 32px/1 Arial, sans-serif; }
  .quick-dialog {
    position: fixed;
    inset: auto 0 0;
    margin: 0 auto;
    width: min(100%, 580px);
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 16px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  }
  dialog #submit { min-height: 46px; }
}

.period-segments, .mobile-chart { display: none; }
.balance-cards .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.balance-cards .featured { grid-column: 1 / -1; }
.balance-cards .stat { padding: 12px; }
.balance-cards .stat strong { font-size: 20px; margin: 6px 0; }
.balance-actions { margin: 12px 0; }
.balance-title { margin: 14px 0 6px; font-size: 14px; }
.balance-log { padding: 0; margin: 0; list-style: none; }
.balance-log li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e7ece5;
  font-size: 13px;
}
.balance-log small { display: block; color: #637267; overflow-wrap: anywhere; }
.balance-log li > span { font-weight: 700; font-variant-numeric: tabular-nums; }

@media (max-width: 700px) {
  :root {
    color-scheme: dark;
    color: #f3f4f6;
    background: #111214;
    --phone-card: #212327;
    --phone-line: #353840;
    --phone-muted: #aeb6c4;
    --phone-blue: #76b6ff;
    --phone-active: #20354e;
  }
  header, .balance-log li { border-color: var(--phone-line); }
  header > span:first-child, .filters label, .list-search, .muted, p,
  .panel-note, .cell-label, .stock-summary span, .balance-log small { color: var(--phone-muted); }
  .badge, .tag { color: #c1dbfa; background: #283749; border-color: #384d67; }
  .role-seller { color: #a9e0ba; background: #284335; }
  .role-manager { color: #bbd8ff; background: #2a3f57; }
  .role-admin { color: #e1c9ff; background: #463656; }
  .good { color: #89d8a6; }
  .negative { color: #ffab9c; }
  select, input, .stat, .panel, dialog, .stock-summary, .quick-list button, .more-grid button {
    background: var(--phone-card);
    border-color: var(--phone-line);
    color: #f3f4f6;
  }
  select option { background: var(--phone-card); }
  .stat span, .stat small, .journal-text small, .journal-details small,
  .catalog-table tbody td:first-child, .textbtn, .empty { color: var(--phone-muted); }
  .stat.featured { background: var(--phone-active); border-color: #37597d; }
  .stat.featured small, .stat.featured span { color: #b9d7f7; }
  .primary, .mobile-nav .quick-open { background: #6eb1fb; color: #102035; font-weight: 800; }
  .primary:hover { background: #92c5ff; }
  .secondary, .more-grid button span, .quick-list button span {
    color: var(--phone-blue);
    background: var(--phone-active);
    border-color: #334f6d;
  }
  .quick-list button:first-child { background: var(--phone-active); border-color: #334f6d; }
  .permissions { border-color: var(--phone-line); }
  .permissions legend, .permissions label, .stock-summary strong { color: var(--phone-blue); }
  .notice { background: #302a1e; border-color: #55482e; color: #e0cba2; }
  .status-message { background: #23382d; border-color: #375746; color: #b8ecc9; }
  .status-error { background: #432a2b; border-color: #694147; color: #ffc2c2; }
  .tablewrap tbody tr, .journal-entry { border-color: var(--phone-line); }
  .journal-day h3 { background: #2b2e34; color: var(--phone-muted); }
  .journal-dot { background: #6acd93; }
  .journal-dot.out { background: #fa9783; }
  .journal-dot.neutral { background: #b99beb; }
  .entry-chevron { color: var(--phone-muted); }
  .staff-tabs, .period-segments { background: #1c1e22; border-radius: 11px; }
  .staff-tab, .staff-tab span { color: var(--phone-muted); }
  .staff-tab[aria-pressed="true"], .mobile-nav button.active {
    background: var(--phone-active);
    border-color: #334f6d;
    color: var(--phone-blue);
  }
  .mobile-nav { background: #1c1f24; border-color: var(--phone-line); }
  .mobile-nav button { color: var(--phone-muted); }
  .period-segments { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; padding: 4px; gap: 3px; }
  .period-segments button {
    min-height: 42px;
    padding: 4px 2px;
    border: 0;
    border-radius: 8px;
    color: var(--phone-muted);
    background: transparent;
    font-weight: 700;
  }
  .period-segments button[aria-pressed="true"] { background: var(--phone-active); color: var(--phone-blue); }
  .mobile-chart {
    display: grid;
    gap: 4px;
    background: var(--phone-card);
    border: 1px solid var(--phone-line);
    border-radius: 14px;
    padding: 13px 14px;
    margin-bottom: 10px;
  }
  .mobile-chart > span, .mobile-chart > small { color: var(--phone-muted); font-size: 12px; }
  .mobile-chart > strong { font-size: 25px; }
  .revenue-bars { display: flex; height: 82px; gap: 3px; margin: 6px 0; }
  .revenue-bar {
    background: #30353c;
    flex: 1;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 5px;
    position: relative;
  }
  .revenue-bar span {
    position: absolute;
    inset: auto 0 0;
    height: var(--bar-height);
    border-radius: 5px;
    background: #6eb1fb;
  }
  button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline-color: var(--phone-blue); }
  .balance-cards .stat strong { font-size: 18px; }
}

.secondary.danger-action { color: #962f26; background: #f9eeec; border-color: #eed4d0; }
.primary.danger-action { color: #fff; background: #a7382e; }
.primary.danger-action:hover { background: #8b2d25; }
@media (max-width: 700px) {
  .secondary.danger-action { color: #ffb4a8; background: #42282a; border-color: #684048; }
  .primary.danger-action { color: #281014; background: #ffad9e; }
  .primary.danger-action:hover { background: #ffc0b4; }
}

.basket-line { border: 1px solid #dce6d9; border-radius: 10px; padding: 8px 10px; margin: 0 0 9px; }
.basket-line label { margin: 4px 0; min-width: 0; }
.basket-product { display: flex; align-items: end; gap: 8px; }
.basket-product label { flex: 1; }
.basket-product .remove-line { padding: 8px 10px; margin-bottom: 4px; }
.basket-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.basket-total { font-weight: 800; color: inherit; margin: 9px 0; }
.entry-items { min-width: 110px; white-space: normal; }
.entry-items summary { cursor: pointer; }
@media (max-width: 700px) {
  .basket-line { border-color: var(--phone-line); }
}

.catalog-heading, .catalog-filters {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 12px;
}
.catalog-heading { align-items: center; }
#catalogCount { color: #607366; font-size: 13px; }
.catalog-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.catalog-chips button {
  color: #315143;
  border: 1px solid #d7e1d7;
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 700;
}
.catalog-chips button[aria-pressed="true"] { color: #1e5039; background: #deeee1; border-color: #abcbb2; }
.catalog-category { margin: 0; min-width: 158px; }
.catalog-category select { margin: 3px 0 0; }
.catalog-list { margin-top: 0; }
.catalog-mobile { display: none; }

@media (max-width: 700px) {
  .catalog-heading, .catalog-filters { margin-bottom: 10px; }
  #catalogCount { color: var(--phone-muted); }
  .catalog-chips button { min-height: 42px; color: var(--phone-muted); border-color: var(--phone-line); background: var(--phone-card); }
  .catalog-chips button[aria-pressed="true"] { color: var(--phone-blue); background: var(--phone-active); border-color: #425b77; }
  .catalog-category { width: 100%; }
  .catalog-category select { font-size: 16px; min-height: 44px; }
  .catalog-table { display: none; }
  .catalog-mobile { display: block; }
  .catalog-item + .catalog-item { border-top: 1px solid var(--phone-line); }
  .catalog-item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    min-height: 56px;
    padding: 9px 11px;
    list-style: none;
    cursor: pointer;
  }
  .catalog-item summary::-webkit-details-marker { display: none; }
  .catalog-name, .catalog-numbers { display: grid; gap: 2px; }
  .catalog-name { overflow-wrap: anywhere; }
  .catalog-numbers { text-align: right; font-variant-numeric: tabular-nums; }
  .catalog-item small, .catalog-item-details li span { color: var(--phone-muted); font-size: 12px; }
  .catalog-item small.out-of-stock { color: #ffab9c; }
  .catalog-item[open] .entry-chevron { transform: rotate(90deg); }
  .catalog-item-details { padding: 0 11px 10px; }
  .catalog-item-details ul { margin: 0 0 7px; padding: 0; list-style: none; }
  .catalog-item-details li { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; }
}

.server-boot aside, .server-boot #mobileNav, .server-boot main header,
.server-boot #filters, .server-boot main footer { display: none; }
.server-boot main { margin: 0 auto; max-width: 620px; }
.recorded-by { display: block; color: #607366; margin-top: 3px; }
@media (max-width: 700px) {
  .mobile-nav { grid-template-columns: repeat(var(--nav-columns, 5), minmax(0, 1fr)); }
  .recorded-by { color: var(--phone-muted); }
}
