:root{color-scheme:light;--green:#06452a;--ink:#11271b;--muted:#54665a;--lime:#d8fb9e;--paper:#f8faf5;--line:#dce7dc;font-family:system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}button,select{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #639523;outline-offset:3px}.wrap{max-width:1120px;padding-inline:24px;margin:auto}header{background:#fff;border-bottom:1px solid var(--line)}.bar{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:14px}.brand{font-size:35px;font-weight:950;letter-spacing:-.08em;color:var(--green)}.brand span,.sim strong span{color:#74b72c}nav,.actions{display:flex;gap:10px;align-items:center}nav{gap:20px;font-weight:650}button,.primary,.soft{border:0;border-radius:12px;padding:11px 15px;min-height:44px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.2}.primary{background:var(--green);color:white}.soft{background:#e8f2e8;color:var(--green)}#badge{background:#fff;border-radius:20px;min-width:24px;padding:3px;text-align:center}.hero{position:relative;overflow:hidden;isolation:isolate;margin:24px 0;padding:38px 46px;min-height:290px;display:grid;grid-template-columns:1fr .65fr;align-items:center;background:radial-gradient(ellipse at 86% 30%,#e0f9b9,transparent 58%),linear-gradient(125deg,#fff,#edf5e6);border:1px solid var(--line);border-radius:26px}.eyebrow{margin:0 0 12px;color:var(--green);font-weight:730}.hero h1,.admin h1{margin:0;letter-spacing:-.065em;font-weight:900;font-size:clamp(44px,7vw,86px);line-height:.96;color:#0a2b1b}.contact-link{display:inline-block;margin-top:22px;font-weight:700;color:var(--green)}.sim{justify-self:center;transform:rotate(14deg);width:clamp(84px,16vw,175px);aspect-ratio: .74;background:linear-gradient(155deg,#55ad62,#087342 65%,#034529);clip-path:polygon(23% 0,100% 0,100% 100%,0 100%,0 19%);border-radius:19px;display:grid;place-content:center;justify-items:center;gap:12px;box-shadow:inset 0 0 0 3px #ffffff42;color:white}.sim strong{font-size:clamp(13px,3vw,30px);letter-spacing:-.08em}.chip{width:clamp(36px,7vw,65px);aspect-ratio:1.13;border-radius:8px;border:1px solid #857123;background:linear-gradient(90deg,transparent 32%,#8d743c 33%,transparent 35%,transparent 65%,#8d743c 66%,transparent 68%),linear-gradient(transparent 46%,#8d743c 48%,transparent 50%),linear-gradient(135deg,#fff4ae,#dcae45)}
.tools{display:grid;gap:13px}.search{display:flex;gap:10px;align-items:center;background:white;border:1px solid var(--line);border-radius:13px;padding:0 14px;min-height:52px;font-size:22px;color:var(--muted)}.search input{width:100%;border:0;background:transparent;padding:10px 0;font-size:16px}.filters{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}#categories{display:flex;flex-wrap:wrap;gap:6px}#categories button[aria-pressed=true]{background:var(--green);color:white}select,input{color:var(--ink)}select,.form-grid input{border:1px solid var(--line);border-radius:10px;background:white;padding:10px;min-height:44px}.muted{color:var(--muted);font-size:14px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.card,.panel,.contacts,.inventory-row,.basket-row{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px}.number{font-size:clamp(19px,2.1vw,25px);font-weight:850;letter-spacing:-.035em;white-space:nowrap;font-variant-numeric:tabular-nums}.card p{margin:0 0 5px}.card .actions{margin-top:13px;flex-wrap:wrap}.price{border-radius:8px;background:var(--lime);padding:7px 9px;font-weight:800;white-space:nowrap;margin-right:auto}.selects{display:flex;flex-wrap:wrap;gap:8px}.card{content-visibility:auto;contain-intrinsic-size:auto 155px}h2{margin:0 0 10px;letter-spacing:-.035em}footer{display:flex;justify-content:space-between;gap:10px;padding:24px 0;color:var(--muted);font-size:14px}.admin{padding-top:25px;padding-bottom:24px}.admin h1{font-size:46px;margin-bottom:18px}.form-grid{display:grid;grid-template-columns:1.25fr repeat(4,minmax(0,1fr));gap:10px}.form-grid label{display:grid;gap:4px;min-width:0}.form-grid input,.form-grid select{width:100%}.visible{display:block;margin:14px 0}.switch-row,.inventory-row,.basket-row,.dialog-head,.total{display:flex;justify-content:space-between;align-items:center;gap:10px}.switch-row input{width:23px;height:23px;accent-color:var(--green)}#admin-search{font-size:16px}#stock .search{margin:12px 0}.inventory-row,.basket-row{margin-bottom:8px}.inventory-row small{display:block;color:var(--muted)}dialog{width:min(96vw,540px);max-height:88dvh;border:1px solid var(--line);border-radius:20px;padding:20px;background:var(--paper);color:var(--ink)}dialog::backdrop{background:#071d14a0}.dialog-head{margin-bottom:15px}.dialog-head h2{margin:0}.total{margin:16px 0}.basket-row .number{font-size:18px}

.operator-links { display: grid; gap: 8px; }
.operator-links button { justify-content: space-between; text-align: left; }
.operator-links span { font-size: 13px; font-weight: 500; }
.card { min-width: 0; }
.dialog-head > button, .switch-row input { flex: 0 0 auto; }
#settings-form .switch-row { margin-bottom: 12px; }
dialog .actions { flex-wrap: wrap; }
dialog .actions > a { flex: 1 1 auto; }
.bar nav a { min-height: 44px; align-content: center; }

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding-inline: 32px; }
}

@media (max-width: 600px) {
  .wrap { padding-inline: 15px; }
  .bar { min-height: 60px; padding-block: 6px; gap: 8px; }
  .bar .brand { font-size: 28px; }
  .bar nav { flex-wrap: wrap; justify-content: flex-end; gap: 6px; font-size: 12px; }
  .bar nav a:first-child { display: none; }
  .bar nav .soft { white-space: nowrap; padding: 8px; border-radius: 9px; gap: 4px; }
  .bar #badge { padding: 2px; min-width: 16px; }
  .hero { margin: 13px 0 16px; min-height: 198px; padding: 21px 16px; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; border-radius: 19px; }
  .hero h1 { font-size: clamp(32px, 10.5vw, 56px); }
  .eyebrow { font-size: 12px; }
  .contact-link { margin-top: 13px; font-size: 14px; }
  .cards, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .number { font-size: clamp(20px, 6vw, 24px); }
  #categories button { padding-inline: 10px; font-size: 13px; }
  .inventory-row .number { font-size: clamp(16px, 5vw, 19px); }
  .inventory-row .soft { padding-inline: 9px; }
  .card .actions { gap: 6px; }
  .card .actions a, .card .actions button { font-size: 14px; padding-inline: 10px; }
}

@media (max-width: 365px) {
  .bar { padding-inline: 10px; gap: 6px; }
  .bar .brand { font-size: 25px; }
  .bar nav { gap: 4px; font-size: 11px; }
  .bar nav .soft { padding-inline: 5px; }
  .card .actions a, .card .actions button { padding-inline: 7px; font-size: 13px; }
  .basket-row { padding-inline: 10px; }
}

 .card .actions > :is(a, button) {
  display: inline-flex; align-items: center; justify-content: center;
  inline-size: 78px; min-height: 34px; padding: 4px;
  border-radius: 8px; font-size: 11px; font-weight: 750; white-space: nowrap;
}
.number-status.reserved { background: #ffe6a1; color: #694900; }
.number-status.sold { background: #e8ede8; color: #46564a; }

.filter-icon { position: relative; display: inline-block; flex: 0 0 14px; width: 14px; height: 14px; pointer-events: none; }
.icon-search::before { content: ""; position: absolute; inset: 0 4px 4px 0; border: 1.6px solid currentColor; border-radius: 50%; }
.icon-search::after { content: ""; position: absolute; width: 6px; height: 1.6px; top: 10px; left: 8px; background: currentColor; transform: rotate(45deg); }
.icon-all { background: radial-gradient(circle, currentColor 50%, transparent 58%) 0 0 / 50% 50%; }
.icon-elite { background: currentColor; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%208%204-5h10l4%205-9%2013L3%208Z%22%2F%3E%3Cpath%20d%3D%22M3%208h18M7%203l5%2018%205-18%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.icon-silver { background: currentColor; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%229%22%20r%3D%226%22%2F%3E%3Cpath%20d%3D%22m7.5%2013-2%208%206.5-3%206.5%203-2-8%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%229%22%20r%3D%222%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.icon-classic { background: currentColor; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m9%203%202.5%206.5L18%2012l-6.5%202.5L9%2021l-2.5-6.5L0%2012l6.5-2.5L9%203ZM19%202l1.2%203.8L24%207l-3.8%201.2L19%2012l-1.2-3.8L14%207l3.8-1.2L19%202Z%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.sort-control { position: relative; display: inline-flex; align-items: center; }
.sort-control .filter-icon { position: absolute; left: 10px; color: var(--green); }
.sort-control select { padding-inline-start: 31px; }
.icon-sort::before { content: ""; position: absolute; inset: 2px 0; background: currentColor; clip-path: polygon(0 0,100% 0,100% 17%,0 17%,0 42%,73% 42%,73% 59%,0 59%,0 83%,45% 83%,45% 100%,0 100%); }
@media (max-width: 420px) {
  #categories button { gap: 4px; padding-inline: 8px; font-size: 12px; }
  #categories .filter-icon { flex-basis: 12px; width: 12px; height: 12px; }
}

.search-modes { display: flex; flex-wrap: wrap; gap: 6px; }
.search-modes button[aria-pressed="true"] { background: var(--green); color: white; }
.match-note { color: var(--green); font-size: 13px; font-weight: 650; }
.pair-action { display: inline-flex; min-height: 36px; margin-top: 6px; padding: 5px 0; color: var(--green); background: transparent; font-size: 13px; }
.pair-action:hover { text-decoration: underline; }
@media (max-width: 420px) {
  .search-modes button { padding-inline: 10px; font-size: 13px; }
}


.card-number-row, .card-contact, .card-contact-links {
  display: flex; align-items: center; gap: 5px;
}
.card-number-row, .card-contact { justify-content: space-between; flex-wrap: wrap; }
.card-number-row .number { margin-bottom: 0; }
.card-number-row .number-status {
  flex: none; margin-inline-start: auto; padding: 5px 7px; border-radius: 8px; font-size: 11px; font-weight: 750;
}
.card-contact { margin-top: 9px; }
.card-contact-links { margin-inline-start: auto; }
.card-contact-links a { min-height: 34px; padding: 4px 7px; border-radius: 8px; font-size: 11px; }
.card-contact .pair-action { min-height: 34px; margin: 0; padding: 4px 0; font-size: 11px; text-align: left; }
@media (max-width: 365px) {
  .card-number-row .number { font-size: 18px; }
  .card-number-row .number-status { font-size: 10px; padding-inline: 5px; }
}

/* Catalog controls and footer */
.sort-control select {
  appearance: none;
  border: 0;
  border-radius: 12px;
  background: #e5f1e7;
  color: var(--green);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 34px 12px 32px;
  cursor: pointer;
}
.sort-control::after {
  content: "";
  position: absolute;
  right: 14px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--green);
  border-bottom: 1.5px solid var(--green);
  transform: translateY(-2px) rotate(45deg);
  pointer-events: none;
}
#results {
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0 12px;
}
footer {
  justify-content: center;
  text-align: center;
  font-weight: 500;
}

#results { white-space: pre-line; }

.number mark { background: var(--lime); color: inherit; border-radius: 3px; }

#settings { max-width: 640px; }
#settings h2 { margin-bottom: 12px; }
#settings-form .switch-row {
  min-height: 58px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
#settings-form input[role="switch"] {
  appearance: none;
  flex: 0 0 42px;
  width: 42px;
  height: 26px;
  margin: 0;
  border: 0;
  border-radius: 20px;
  background: #d6dfd8;
  position: relative;
  cursor: pointer;
  transition: background .15s;
}
#settings-form input[role="switch"]::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px #0002;
  transition: transform .15s;
}
#settings-form input[role="switch"]:checked { background: var(--green); }
#settings-form input[role="switch"]:checked::before { transform: translateX(16px); }
#settings-form > button { margin-top: 20px; }
#stock-tab[aria-pressed="true"], #settings-tab[aria-pressed="true"] {
  background: var(--green);
  color: white;
}

#admin-list > #stock-form { margin: -1px 0 16px; border-color: #93b69e; }

#add-tab[aria-pressed="true"] { background: var(--green); color: white; }

.danger { background: #fae7e7; color: #b42323; }
.danger:hover { background: #f5d2d2; }
.inventory-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
#delete-number { margin-left: auto; }
@media (max-width: 600px) {
  .inventory-actions { flex-shrink: 0; gap: 6px; }
  .inventory-actions button { padding: 10px; font-size: 13px; }
}

#delete-dialog { max-width: 420px; }
#delete-dialog .actions { justify-content: flex-end; margin-top: 24px; }
#delete-confirm { background: #b42323; color: white; }
#delete-error:empty { display: none; }

.card { position: relative; }
.card-edit { display: grid; place-items: center; position: absolute; right: 10px; top: 8px; width: 32px; height: 32px; min-height: 32px; padding: 0; background: var(--green); color: white; font-size: 21px; line-height: 1; border-radius: 10px; }
.card:has(.card-edit) > .muted { padding-right: 36px; min-height: 22px; }
#frontend-editor { width: min(96vw, 760px); padding: 0; }
#frontend-editor #stock-form { border: 0; margin: 0; }

#login-form { max-width: 380px; }
#login-form label { display: grid; gap: 6px; margin-bottom: 16px; }
#login-form input { padding: 12px; border: 1px solid var(--line); border-radius: 10px; }

 .price.discounted { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 0; background: transparent; }
.price.discounted del { color: var(--muted); font-size: 14px; font-weight: 500; }
.price.discounted strong { background: var(--lime); border-radius: 8px; padding: 7px 10px; font-size: 25px; line-height: 1.15; font-weight: 850; }

#security-form { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
#security-form label { display: grid; gap: 6px; margin: 14px 0; }
#security-form input { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
#stock-notice:empty { display: none; }
@media (max-width: 600px) {
  #categories { width: 100%; flex-wrap: nowrap; gap: 4px; }
  #categories button { flex: 1 1 auto; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 10px 6px; font-size: clamp(10px, 2.8vw, 13px); white-space: nowrap; }
  #categories .filter-icon { flex-basis: 11px; width: 11px; height: 11px; }
}
@media (max-width: 360px) {
  #categories button { font-size: 11px; gap: 0; padding: 10px 5px; }
  #categories .filter-icon { display: none; }
}

@media (max-width: 600px) {
  #categories button { flex: 1 1 0; font-size: 13px; padding: 12px 7px; gap: 5px; }
  #categories .filter-icon { display: inline-block; flex-basis: 12px; width: 12px; height: 12px; }
  .sort-control select { min-height: 36px; padding: 8px 29px 8px 29px; font-size: 12px; border-radius: 10px; }
  .sort-control .filter-icon { width: 12px; height: 12px; left: 9px; }
  .sort-control::after { right: 12px; width: 5px; height: 5px; }
}
#categories button { font-size: 15px; gap: 7px; }
#categories .filter-icon { display: inline-block; flex-basis: 16px; width: 16px; height: 16px; }
.sort-control select { min-height: 30px; padding: 6px 25px 6px 25px; font-size: 11px; border-radius: 8px; }
.sort-control .filter-icon { left: 8px; width: 10px; height: 10px; }
.sort-control::after { right: 10px; width: 4px; height: 4px; }
@media (max-width: 360px) {
  #categories button { font-size: 13px; gap: 4px; padding-inline: 5px; }
  #categories .filter-icon { flex-basis: 14px; width: 14px; height: 14px; }
}
@media(max-width:600px){#categories{min-width:0;max-width:100%}#categories button{flex:1 1 auto;font-size:14px;gap:4px;padding-inline:4px}}
@media(max-width:360px){#categories button{font-size:13px;gap:3px;padding-inline:3px}}

.sort-control::after { display: none; }
#sort-menu { position: relative; }
#sort-menu summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; background: #e5f1e7; color: var(--green); padding: 7px 9px; border-radius: 8px; font-size: 11px; font-weight: 700; }
#sort-menu summary::-webkit-details-marker { display: none; }
#sort-menu summary::after { content: ""; width: 4px; height: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 4px; }
#sort-menu .filter-icon { position: relative; left: auto; width: 10px; height: 10px; flex-basis: 10px; }
.sort-options { position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; padding: 5px; min-width: 175px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px #11271b18; }
.sort-options button { display: block; width: 100%; text-align: left; background: transparent; color: var(--green); padding: 10px; border-radius: 8px; font-size: 13px; white-space: nowrap; }
.sort-options button:hover, .sort-options button:focus-visible { background: #e5f1e7; }

#stock-form > .actions { display: flex; flex-wrap: nowrap; gap: 6px; }
#stock-form > .actions button { white-space: nowrap; }
@media (max-width: 600px) {
  #stock-form > .actions button { min-width: 0; padding: 10px 9px; font-size: 13px; }
  #stock-form > .actions .primary { flex: 1; }
  #delete-number { margin-left: auto; }
}
.number-status.sold { color: #b42323; background: #fae7e7; }

.password-field { display: flex; position: relative; align-items: center; min-width: 0; }
#login-form .password-field input, #security-form .password-field input { width: 100%; padding-right: 48px; }
.password-toggle { position: absolute; right: 4px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--green); }
.password-toggle:hover { background: #e5f1e7; }
.password-toggle .eye-slash { display: none; }
.password-toggle[aria-pressed="true"] .eye-slash { display: block; }

.recovery-link { display: block; padding: 10px 0; background: transparent; color: var(--green); font-size: 14px; }
#recovery-form, #reset-form { max-width: 400px; margin-top: 16px; }
#recovery-form label, #reset-form label { display: grid; gap: 6px; margin: 14px 0; }
#recovery-form input, #reset-form input { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
#reset-form .password-field input { padding-right: 48px; }
#reset-form > a { display: block; margin-top: 16px; font-size: 14px; }
.sim { transform: rotate(14deg) scale(1.15); }
#stock-form input, #stock-form select { font-size: 18px; }
#stock-form > .actions button { font-size: 15px; }
#stock-form .visible input { width: 18px; height: 18px; vertical-align: middle; }

/* Card label and expanded categories */
.card-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:8px; margin-bottom:5px; }
.card-heading .muted { margin:0; min-width:0; }
.card-label { flex-shrink:0; max-width:55%; overflow-wrap:anywhere; background:var(--soft, #e6f2e8); color:var(--green); border-radius:6px; padding:3px 6px; font-size:11px; font-weight:700; line-height:1.3; text-align:right; }
.card:has(.card-edit) .card-heading { padding-right:32px; }
#categories { flex-wrap:wrap; }
#categories button { flex:0 1 auto; }
@media(max-width:600px) { #categories { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:100%; } #categories button { font-size:13px; padding:10px 6px; } }

/* Header contact number and balanced category navigation */
.bar nav .header-phone { display:inline-flex; align-items:center; white-space:nowrap; color:var(--green); font-size:clamp(18px,2.4vw,27px); font-weight:850; letter-spacing:-.04em; min-height:44px; padding:4px 0; }
.icon-bronze { background:currentColor; mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%225%22%2F%3E%3Cpath%20d%3D%22m8%2012-2%209%206-3%206%203-2-9%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.icon-platinum { background:currentColor; mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%208%204-5h10l4%205-9%2013L3%208ZM3%208h18M7%203l5%2018%205-18%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.icon-vip { background:currentColor; mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%206%204%205%205-8%205%208%204-5-2%2013H5L3%206ZM5%2016h14%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
@media(max-width:600px) {
 #categories { grid-template-columns:repeat(6,minmax(0,1fr)); gap:6px; }
 #categories button { grid-column:span 2; min-height:44px; gap:5px; font-size:13px; }
 #categories button:nth-child(n+4) { grid-column:span 3; }
 #categories .filter-icon { display:inline-block; flex:0 0 15px; width:15px; height:15px; }
 .bar nav .header-phone { display:inline-flex; font-size:clamp(17px,5vw,22px); }
}

@media(max-width:600px) { #categories button:nth-child(n) { grid-column:span 2; } #categories button:nth-child(-n+2) { grid-column:span 3; } }

.label-toggle { position:relative; display:flex; align-items:center; gap:13px; padding:16px; margin:16px 0; border:2px solid var(--line); border-radius:14px; background:var(--paper); cursor:pointer; }
.label-toggle input { position:absolute; width:1px; height:1px; opacity:0; }
.label-toggle-check { display:grid; place-items:center; width:38px; height:38px; flex:0 0 38px; border:2px solid #9db9a4; border-radius:11px; background:white; color:white; }
.label-toggle-check::after { content:""; width:10px; height:19px; border:solid currentColor; border-width:0 3px 3px 0; transform:translateY(-2px) rotate(45deg); }
.label-toggle strong { display:block; font-size:16px; color:var(--green); }
.label-toggle small { display:block; margin-top:4px; font-size:12px; line-height:1.4; color:var(--muted); }
.label-toggle:has(input:checked) { border-color:var(--green); background:#e8f2e8; }
.label-toggle input:checked + .label-toggle-check { background:var(--green); border-color:var(--green); }
.label-toggle input:focus-visible + .label-toggle-check { outline:3px solid #639523; outline-offset:3px; }

.card-label-control { display:flex; align-items:flex-end; gap:10px; min-width:0; }
.card-label-control > label:first-child { flex:1; min-width:0; }
.card-label-control .label-toggle { flex:0 0 46px; width:46px; height:46px; margin:0; padding:2px; border:0; background:transparent; justify-content:center; }
.card-label-control .label-toggle-check { width:42px; height:42px; flex-basis:42px; }

.card-label-control .label-toggle-check { background:#edf1ed; border-color:#c5d1c7; color:#9aaa9e; transition:background-color .15s, border-color .15s, color .15s; }
.card-label-control input:checked + .label-toggle-check { background:var(--green); border-color:var(--green); color:#fff; }

.card-label-control .label-toggle-check { border-radius:50%; background:#d94343; border-color:#d94343; color:#fff; }
.card-label-control .label-toggle-check::after { opacity:0; }
.card-label-control input:checked + .label-toggle-check { background:var(--green); border-color:var(--green); }
.card-label-control input:checked + .label-toggle-check::after { opacity:1; }

.card-label-control .label-toggle-check { border-radius:11px; background:#edf1ed; border:2px solid #c5d1c7; color:#d94343; }
.card-label-control .label-toggle-check::after { opacity:1; width:19px; height:19px; border:3px solid currentColor; border-radius:50%; transform:none; }
.card-label-control input:checked + .label-toggle-check { background:#e8f2e8; border-color:var(--green); color:var(--green); }
.card-label-control input:checked + .label-toggle-check::after { width:10px; height:19px; border:solid currentColor; border-width:0 3px 3px 0; border-radius:0; transform:translateY(-2px) rotate(45deg); }

#import-form > label { display:grid; gap:6px; margin-bottom:14px; }
#import-text { width:100%; min-height:160px; resize:vertical; border:1px solid var(--line); border-radius:12px; padding:12px; font:inherit; background:white; color:var(--ink); }
#import-preview { white-space:pre-line; line-height:1.6; overflow-wrap:anywhere; }
#import-form .actions { margin-top:14px; flex-wrap:wrap; }
button:disabled { opacity:.5; cursor:default; }

.admin-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.admin .admin-heading h1{margin:0;min-width:0;font-size:clamp(23px,5vw,36px);line-height:1.05;letter-spacing:-.045em}
.admin-heading #logout{flex:0 0 auto;padding:9px 12px;font-size:13px}
.admin-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%}
.admin-tabs button{min-width:0;white-space:nowrap;padding:10px 6px;font-size:14px}
.admin-tabs button[aria-pressed=true]{background:var(--green);color:white}
#notice:empty{display:none}
@media(max-width:600px){.admin{padding-top:16px}.admin-heading{gap:8px;margin-bottom:12px}.admin-tabs button{font-size:12px;padding:10px 3px;border-radius:9px}#bulk-import{margin-top:12px;padding:12px}#bulk-import h2{font-size:21px}#bulk-import>.muted{font-size:12px;margin:6px 0 10px}#import-text{min-height:96px;height:clamp(96px,16dvh,144px)}#import-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#import-form .form-grid label:last-child{grid-column:1 / -1}#import-form .form-grid label{font-size:13px}#import-form .actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}#import-form .actions button{font-size:12px;min-width:0;padding:10px 4px}}