:root {
  color-scheme: light;
  --cream: #fbf4e8; --paper: #fffaf2; --brown: #573a2b; --brown-2: #7a5138;
  --muted: #9a8170; --gold: #e5a83e; --gold-dark: #b87920; --line: #ead9c3;
  --green: #6e8655; --shadow: 0 10px 30px rgba(93, 58, 34, .08);
  font-family: ui-rounded, "Trebuchet MS", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--cream); }
body { margin: 0; color: var(--brown); background: radial-gradient(ellipse at 50% -10%, #fffdf7 0, var(--cream) 62%); min-height: 100vh; }
button, input { font: inherit; }
button { touch-action: manipulation; }
button:focus-visible, input:focus-visible { outline: 3px solid #d59a35; outline-offset: 3px; }
button:disabled { cursor: not-allowed; opacity: .48; filter: saturate(.6); }
.app { width: min(1160px, 100%); margin: 0 auto; padding: 22px clamp(12px, 3vw, 30px) 18px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.topbar-controls { display: flex; align-items: center; gap: 10px; }
.language-control { display: flex; align-items: center; gap: 6px; color: var(--brown-2); font-size: 11px; font-weight: 800; }
.language-control select { font: inherit; color: var(--brown); background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 7px; min-height: 36px; }
.brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.brand-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: #f2dfbd; font-size: 29px; box-shadow: inset 0 0 0 1px #ead1a9; flex: 0 0 auto; }
.eyebrow { font-size: 10px; letter-spacing: .15em; font-weight: 900; color: var(--muted); margin: 0 0 5px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(19px, 2.5vw, 28px); letter-spacing: -.04em; margin: 0; line-height: 1.15; }
h2 { font-size: 20px; letter-spacing: -.025em; margin: 0; }
h3 { font-size: 14px; margin: 0; }
.balance-card { display: flex; align-items: center; gap: 10px; padding: 10px 15px; border-radius: 16px; background: #fff4d9; border: 1px solid #f0dba9; min-width: 112px; }
.balance-card small { display: block; color: #967345; font-size: 11px; }
.balance-card strong { font-size: 22px; font-variant-numeric: tabular-nums; }
.coin { color: #d89a2c; font-size: 24px; text-shadow: 0 1px 0 #a66e18; }
.status-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; min-height: 34px; gap: 6px 10px; margin: 10px 0 14px; }
.status-pill { display: inline-flex; gap: 7px; align-items: center; color: var(--green); background: #edf2e4; padding: 6px 10px; border-radius: 99px; font-size: 11px; font-weight: 800; }
.status-dot { width: 6px; height: 6px; background: #7c9a5b; border-radius: 50%; }
.save-warning { color: #98542b; font-size: 11px; }
.main-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 16px; align-items: start; }
.panel { border: 1px solid var(--line); background: rgba(255,250,242,.92); border-radius: 22px; padding: clamp(14px, 2.2vw, 23px); box-shadow: var(--shadow); min-width: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 17px; }
.mini-tag { font-size: 10px; color: #9d7034; border: 1px solid #efdbb3; background: #fff4dc; padding: 7px 9px; border-radius: 99px; white-space: nowrap; }
.oven-scene { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 196px; border-radius: 17px; background: linear-gradient(180deg,#f7e8cd,#f1d8b2); border: 1px solid #ecd1a8; }
.oven-glow { position: absolute; width: 180px; height: 120px; bottom: 8px; background: #ffbf59; opacity: .15; filter: blur(28px); border-radius: 50%; }
.oven-svg { position: relative; width: min(240px, 72%); height: 164px; transition: transform .18s ease; }
.oven-scene.baking .oven-svg { animation: bake-bounce .32s ease; }
.oven-caption { position: absolute; bottom: 10px; left: 12px; display: flex; align-items: center; gap: 7px; color: #8c603c; font-size: 11px; font-weight: 800; }
.oven-dot { width: 7px; height: 7px; background: #dc9739; border-radius: 50%; }
.recipe-picker { margin-top: 20px; }
.subheading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.subheading h3 { font-size: 13px; }
.muted { color: var(--muted); font-size: 10px; }
.recipe-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.recipe-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; min-height: 104px; padding: 9px 4px; border: 1px solid var(--line); border-radius: 14px; color: var(--brown); background: #fffaf2; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.recipe-card.selected { background: #fff0cc; border: 2px solid #d9a247; padding: 8px 3px; box-shadow: 0 3px 0 #efd49e; }
.recipe-card:not(:disabled):active { transform: scale(.97); }
.recipe-card:disabled { opacity: .75; cursor: not-allowed; }
.recipe-illustration { width: 54px; height: 43px; display: grid; place-items: center; margin-bottom: 4px; }
.recipe-illustration svg { width: 100%; height: 100%; }
.recipe-name { font-size: 11px; font-weight: 900; }
.recipe-detail { margin-top: 3px; font-size: 10px; color: #9a7857; }
.lock-line { font-size: 9px; color: #ad7525; margin-top: 4px; font-weight: 800; }
.bake-actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(120px,.8fr); gap: 10px; margin-top: 18px; align-items: stretch; }
.production-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.production-stats > div { border: 1px solid #eddfcb; background: #fff7eb; border-radius: 13px; padding: 10px; display: flex; flex-direction: column; justify-content: center; gap: 5px; min-width: 0; }
.production-stats span { font-size: 10px; color: var(--muted); }
.production-stats strong { font-size: 14px; font-variant-numeric: tabular-nums; }
.button { border: 0; border-radius: 12px; padding: 10px 12px; min-height: 44px; cursor: pointer; font-weight: 900; font-size: 12px; transition: transform .12s, filter .12s, background .12s; }
.button:not(:disabled):active { transform: translateY(1px) scale(.99); }
.button-primary { background: var(--brown); color: #fff7e9; box-shadow: 0 3px 0 #38251c; }
.button-primary:not(:disabled):hover { background: #6c4834; }
.button-large { min-height: 50px; font-size: 14px; }
.helper-text { color: var(--muted); font-size: 10px; text-align: center; margin: 10px 0 17px; }
.counter-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; font-size: 12px; font-weight: 800; }
.counter-row strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.shelf { display: flex; flex-wrap: wrap; align-items: end; gap: 9px; min-height: 79px; padding: 12px 10px 10px; margin: 8px 0 12px; border-radius: 13px; border: 1px dashed #d9bd96; background: repeating-linear-gradient(0deg,#f6e8d1 0,#f6e8d1 22px,#eed8b8 23px,#eed8b8 25px); }
.shelf-empty { width: 100%; align-self: center; text-align: center; color: #a88b6c; font-size: 11px; }
.shelf-item { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 42px; }
.shelf-item svg { width: 32px; height: 28px; }
.emoji-art { display: inline-grid; place-items: center; width: 38px; height: 34px; font-size: 25px; line-height: 1; }
.shelf-item strong { font-size: 10px; background: #fff9ed; border-radius: 7px; padding: 2px 5px; }
.button-gold { width: 100%; color: #583b1c; background: linear-gradient(180deg,#f5cb70,#e9ad3e); box-shadow: 0 3px 0 #c58a2b; }
.sale-message { min-height: 17px; margin: 9px 0 0; text-align: center; color: #65804b; font-size: 12px; font-weight: 900; }
.upgrades-panel { padding-bottom: 17px; }
.upgrade-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 12px; background: #f7e5bf; color: #ba7d27; font-size: 21px; }
.upgrade-card { display: flex; gap: 11px; padding: 13px 0; border-top: 1px solid #f0e3d1; }
.upgrade-art { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 14px; font-size: 24px; }
.oven-art { background: #f4dfc6; color: #a05c34; }
.baker-art { background: #e9e8d2; color: #72814d; }
.seller-art { background: #f7e8bd; color: #b67d29; }
.upgrade-info { min-width: 0; flex: 1; }
.upgrade-title { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.upgrade-title h3 { font-size: 13px; }
.level { color: #9c7a59; background: #f6ead8; border-radius: 99px; padding: 4px 7px; white-space: nowrap; font-size: 9px; font-weight: 900; }
.upgrade-info p { margin: 5px 0 8px; color: #927964; font-size: 10px; line-height: 1.4; }
.upgrade-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price { color: #a36c1e; font-size: 11px; font-weight: 900; white-space: nowrap; }
.button-small { min-height: 36px; padding: 7px 11px; color: #fff7e9; background: #80563a; border-radius: 10px; }
.toggle-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: #6f563f; font-size: 11px; min-height: 24px; }
.toggle-row input { width: 18px; height: 18px; accent-color: #795337; }
.boost-card { margin-top: 10px; border-radius: 15px; padding: 14px; border: 1px solid #efdbad; background: linear-gradient(135deg,#fff5d8,#fffaf0); }
.boost-heading { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.boost-heading > span { font-size: 22px; color: #d59425; }
.boost-heading h3 { margin-bottom: 4px; }
.boost-heading p { font-size: 10px; color: #997d58; margin: 0; line-height: 1.4; }
.button-ad { width: 100%; color: #6a481e; background: #f1d08b; border: 1px solid #e8c16d; }
.ad-note { margin: 8px 0 0; font-size: 10px; line-height: 1.4; color: #9a8467; }
.boost-progress { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.boost-track { flex: 1; height: 7px; background: #f0e2c5; border-radius: 99px; overflow: hidden; }
.boost-track span { display: block; width: 100%; height: 100%; background: #d89b32; transition: width .2s linear; }
.boost-progress small { color: #8b642c; font-size: 10px; white-space: nowrap; }
.settings-row { display: flex; gap: 8px; margin-top: 13px; }
.button-quiet { flex: 1; border: 1px solid #e7d7c3; background: #fffaf2; color: #84674f; font-size: 11px; }
.danger-text { color: #a45b4d; }
.fine-print { color: #a18a75; font-size: 9px; line-height: 1.5; margin: 10px 2px 0; }
footer { text-align: center; color: #ad947b; font-size: 10px; padding: 18px 0 2px; }
footer span { color: #c77d57; }
.pause-overlay { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 20px; background: rgba(56,36,25,.42); backdrop-filter: blur(5px); }
.pause-overlay[hidden] { display: none; }
.pause-dialog { width: min(360px,100%); padding: 28px 22px; text-align: center; border-radius: 22px; background: #fffaf2; border: 1px solid var(--line); box-shadow: 0 18px 70px #39241740; }
.pause-symbol { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 15px; border-radius: 17px; background: #f5e5c9; color: #94622d; font-size: 25px; }
.pause-dialog h2 { margin-bottom: 9px; }
.pause-dialog p { color: #987d65; font-size: 12px; margin-bottom: 20px; }
.pause-dialog .button { width: 100%; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: max(20px,env(safe-area-inset-bottom)); transform: translate(-50%, 15px); opacity: 0; pointer-events: none; padding: 11px 16px; max-width: calc(100% - 24px); border-radius: 12px; color: #fff9ef; background: #573a2b; box-shadow: var(--shadow); font-size: 12px; text-align: center; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
.progression-panel { margin-top: 16px; }
.progression-panel .section-heading { margin-bottom: 9px; }
.progression-panel .section-heading > strong { font-size: 12px; color: #8f6b43; }
.xp-track, .quest-progress { height: 9px; overflow: hidden; border-radius: 99px; background: #f0e2c5; }
.xp-track span, .quest-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#d69a37,#efc86e); transition: width .2s ease; }
.extra-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 16px; }
.extra-grid > section:last-child { grid-column: 1 / -1; }
.collection-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.collection-item { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 5px; padding: 11px 7px; text-align: center; background: #fff7eb; border: 1px solid #efdfc8; border-radius: 13px; }
.collection-item.locked { background: #f7f0e6; color: #9b8974; }
.collection-item small { color: #927964; font-size: 10px; line-height: 1.3; }
.collection-item .button { margin-top: 3px; }
.quest-list { display: grid; gap: 10px; }
.quest-card { padding: 11px; border: 1px solid #efdfc8; border-radius: 13px; background: #fff7eb; }
.quest-title { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.quest-title span { color: #a36c1e; font-size: 11px; font-weight: 900; white-space: nowrap; }
.quest-card p { margin: 5px 0 8px; color: #927964; font-size: 10px; }
.quest-card > small { display: inline-block; margin-top: 4px; color: #927964; font-size: 10px; }
.quest-card > button { float: right; min-height: 30px; padding: 5px 9px; font-size: 10px; }
.leaderboard-list { margin: 10px 0 0; padding-left: 27px; }
.leaderboard-list li { padding: 7px 4px; border-bottom: 1px solid #f0e3d1; font-size: 11px; }
.leaderboard-list li span { margin-right: 12px; }
.leaderboard-list li b { color: #a36c1e; }
[hidden] { display: none !important; }
@keyframes bake-bounce { 0%,100% { transform: translateY(0) scale(1); } 40% { transform: translateY(-7px) scale(1.025); } 70% { transform: translateY(2px) scale(.99); } }
@media (max-width: 760px) {
  .app { padding-top: 14px; }
  .main-grid { grid-template-columns: minmax(0,1fr); }
  .upgrades-panel { order: 2; }
  .oven-scene { min-height: 178px; }
  .oven-svg { height: 150px; }
  .extra-grid { grid-template-columns: minmax(0,1fr); }
  .extra-grid > section:last-child { grid-column: auto; }
}
@media (max-width: 420px) {
  .topbar { flex-wrap: wrap; }
  .topbar-controls { width: 100%; justify-content: space-between; }
  .brand-mark { width: 43px; height: 43px; border-radius: 14px; font-size: 24px; }
  .brand { gap: 9px; }
  .eyebrow { font-size: 8px; }
  h1 { font-size: 18px; }
  .balance-card { min-width: auto; padding: 8px 10px; gap: 7px; }
  .balance-card strong { font-size: 19px; }
  .coin { font-size: 19px; }
  .panel { border-radius: 17px; }
  .bake-actions { grid-template-columns: 1fr; }
  .production-stats { min-height: 62px; }
  .recipe-card { min-height: 96px; }
  .mini-tag { display: none; }
  .collection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (orientation: landscape) and (max-height: 600px) and (min-width: 650px) {
  .app { padding-top: 10px; }
  .status-row { margin: 5px 0 8px; min-height: 26px; }
  .main-grid { grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr); gap: 10px; }
  .panel { padding: 14px; }
  .oven-scene { min-height: 130px; }
  .oven-svg { height: 120px; }
  .recipe-picker { margin-top: 12px; }
  .recipe-card { min-height: 82px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
/* Разделы сети пекарен */
[hidden] { display: none !important; }
.screen { margin-top: 14px; min-width: 0; }
.tab-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; margin-top: 14px; }
.tab { min-width: 0; min-height: 43px; padding: 7px 6px; border: 1px solid #e8d6bc; border-radius: 12px; background: #fffaf2; color: #76513a; font-size: 11px; font-weight: 900; cursor: pointer; box-shadow: 0 2px 0 #ead8bc; }
.tab.active { color: #fffaf2; background: #6d4834; border-color: #6d4834; box-shadow: 0 2px 0 #452d22; }
.tab:hover:not(.active) { background: #fff1d8; }
.tab.tab-new:not(.active) { position: relative; overflow: hidden; border-color: #d7a343; background: #fff0c9; animation: tab-glow 2.4s ease-in-out infinite; }
.tab.tab-new:not(.active)::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 28%, rgba(255,255,255,.58) 50%, transparent 72%); transform: translateX(-125%); animation: tab-shimmer 2.4s ease-in-out infinite; }
@keyframes tab-glow { 0%, 100% { box-shadow: 0 2px 0 #d7a343, 0 0 0 0 rgba(232,176,62,.18); } 50% { box-shadow: 0 2px 0 #d7a343, 0 0 0 4px rgba(232,176,62,.28); } }
@keyframes tab-shimmer { 0%, 18% { transform: translateX(-125%); } 68%, 100% { transform: translateX(125%); } }
.body-copy { color: #80664f; font-size: 12px; line-height: 1.55; margin: 0 0 16px; }
.subsection-title { margin: 20px 0 10px; font-size: 14px; }
.compact-list { margin: 10px 0; border: 1px solid #eadbc7; border-radius: 12px; overflow: hidden; background: #fff7e9; }
.compact-list:empty { display: none; }
.compact-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-width: 0; padding: 7px 10px; font-size: 11px; border-bottom: 1px solid #eadbc7; }
.compact-row:last-child { border-bottom: 0; }
.compact-row span { min-width: 0; }
.compact-row strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.recipe-list { grid-template-columns: repeat(auto-fill, minmax(105px,1fr)); margin-bottom: 18px; }
.collection-grid { grid-template-columns: repeat(auto-fill,minmax(130px,1fr)); }
.collection-item .button { margin-top: auto; width: 100%; }
.quest-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 12px; }
.quest-card, .small-card, .boss-card, .event-card, .city-card { background: #fff7eb; border: 1px solid #eadbc7; border-radius: 16px; padding: 15px; min-width: 0; }
.quest-card { display: flex; flex-direction: column; gap: 13px; }
.quest-title { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; }
.quest-title span { color: #a16b24; white-space: nowrap; }
.quest-card small { color: #8d7055; }
.quest-card .button { margin-top: auto; }
.city-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.city-card { display: flex; flex-direction: column; gap: 10px; }
.city-card h3 { font-size: 17px; }
.city-card p { font-size: 11px; color: #92755a; margin: 4px 0; line-height: 1.45; }
.city-number { color: #cf9b4c; font-size: 24px; font-weight: 900; line-height: 1; }
.city-order { padding: 10px; border-radius: 12px; background: #fffdf7; border: 1px solid #e8d9c3; }
.city-order > b { font-size: 11px; }
.order-line { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 8px 0; border-bottom: 1px solid #ecddc9; font-size: 11px; }
.order-line:last-child { border-bottom: 0; }
.order-line > span { display: inline-flex; align-items: center; min-width: 0; }
.order-line .emoji-art { font-size: 20px; width: 26px; height: 24px; }
.order-line .button { flex: 0 0 auto; }
.city-controls { display: flex; flex-wrap: wrap; gap: 7px; }
.city-controls .compact-row { width: 100%; }
.city-controls .button { flex: 1 1 auto; }
.status-chip { display: inline-block; padding: 4px 8px; border-radius: 50px; background: #efe5d3; color: #78583e; font-size: 10px; font-weight: 800; }
.prestige-panel { background: linear-gradient(155deg,#fff9e9,#fff5dc 56%,#fffaf2); }
.rollers-balance { display: flex; align-items: center; gap: 5px; padding: 8px 11px; border-radius: 12px; color: #7a4f17; background: #f7df9e; font-size: 18px; }
.highlight-note { padding: 13px; border-radius: 12px; background: #f8edce; border: 1px solid #ebd599; color: #735329; font-size: 12px; line-height: 1.5; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 10px; }
.small-card { display: flex; flex-direction: column; gap: 8px; }
.small-card p { margin: 0; color: #84684d; font-size: 11px; line-height: 1.45; }
.small-card small { color: #9c8066; }
.small-card .button { margin-top: auto; }
.boss-card h3, .event-card h3 { font-size: 18px; margin-bottom: 8px; }
.boss-card p, .event-card p { font-size: 12px; color: #82664c; }
.leaderboard-panel { margin-top: 14px; }
.ranking-panel { max-width: 800px; margin-inline: auto; }
.ranking-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 16px; }
.ranking-summary > div { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 17px; border: 1px solid #e9d49e; border-radius: 16px; background: linear-gradient(135deg,#fff5dd,#f7dfaa); }
.ranking-summary span { color: #846746; font-size: 11px; font-weight: 800; }
.ranking-summary strong { color: #6f471c; font-size: clamp(22px,5vw,32px); line-height: 1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ranking-login { margin-top: -4px; }
.ranking-list-heading { margin-top: 21px; margin-bottom: 8px; }
.ranking-list-heading h3 { font-size: 14px; }
.leaderboard-list { list-style: none; padding-left: 0; margin: 0; }
.leaderboard-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px; border-bottom: 1px solid var(--line); font-size: 12px; }
.leaderboard-list li span { min-width: 0; overflow-wrap: anywhere; }
.leaderboard-list li span b { display: inline-block; min-width: 53px; color: #a36c1e; }
.leaderboard-list li span small { color: #8b5b19; font-weight: 900; }
.leaderboard-list li strong { flex: 0 0 auto; color: #76502d; font-variant-numeric: tabular-nums; }
.leaderboard-list li.ranking-self { border-radius: 11px; background: #fff0c5; }
.leaderboard-list li.ranking-gap { justify-content: center; padding: 2px; color: #b69b78; }
.leaderboard-list li.ranking-empty { color: var(--muted); }
.report-dialog { width: min(480px,100%); max-height: calc(100vh - 32px); overflow-y: auto; }
.report-dialog .compact-list { max-height: 45vh; overflow-y: auto; text-align: left; }
.confirm-copy { text-align: left; color: #7e624b; font-size: 12px; line-height: 1.5; }
.confirm-copy p { margin: 0 0 11px; }
.dialog-actions { display: flex; gap: 9px; }
.dialog-actions .button { flex: 1; width: auto; min-width: 0; }
@media (max-width: 760px) {
  .tab-nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .city-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .tab-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tab { min-height: 42px; font-size: 10px; }
  .card-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; }
  .order-line { align-items: flex-start; }
  .order-line .button { width: 100%; }
}
