
:root {
  --navy: #0f2740; --navy-2: #1a3a5a; --navy-3: #274b71;
  --sky: #1468c4; --sky-2: #0c4f9e; --sky-soft: #dceeff;
  --bg: #eef4f9; --card: #ffffff; --ink: #0f2740; --muted: #64798d; --line: #e1eaf2;
  --ok: #1a9660; --ok-bg: #dcf4e8; --warn: #a86a00; --warn-bg: #fff0d1;
  --danger: #d8402f; --danger-bg: #fde5e1; --violet: #5b4bc4; --violet-bg: #e9e6fb;
  --r: 18px; --r-sm: 12px;
  --side-w: 256px;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 1px 2px rgba(15, 39, 64, .05), 0 8px 24px rgba(15, 39, 64, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky-2); outline-offset: 2px; }

@view-transition { navigation: auto; }
.side, .tabbar, .mtop { view-transition-name: chrome; }
.side { view-transition-name: side; }
.tabbar { view-transition-name: tabbar; }
.mtop { view-transition-name: mtop; }
.content { view-transition-name: content; }
::view-transition-old(content) { animation: 140ms ease-in both vt-out; }
::view-transition-new(content) { animation: 260ms cubic-bezier(.2, .8, .2, 1) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

body.is-panel { padding-left: var(--side-w); }
.content { min-height: 100vh; }
.page { max-width: 1080px; margin: 0 auto; padding: 32px 28px 64px; }
.page--narrow { max-width: 720px; }
.page__head { margin-bottom: 22px; }
.page__head--row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.page__head h1 { font-size: 1.85rem; font-weight: 800; letter-spacing: -.02em; }
.page__head p { color: var(--muted); margin-top: 4px; max-width: 60ch; }
.back { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.back:hover { color: var(--ink); }
.muted { color: var(--muted); }

.side {
  position: fixed; inset: 0 auto 0 0; width: var(--side-w);
  background: var(--navy); color: #cfe3f3;
  display: flex; flex-direction: column; gap: 22px; padding: 22px 16px;
  z-index: 40;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 0 6px; font-family: 'Unbounded', var(--font); font-weight: 600; font-size: 1.02rem; color: #fff; }
.brand em { font-style: normal; color: var(--sky); }
.brand__mark { width: 36px; height: 36px; border-radius: 12px; background: var(--sky); color: #fff; display: grid; place-items: center; font-size: 1.15rem; }
.brand--dark { color: var(--ink); justify-content: center; margin-bottom: 18px; }
.brand--dark em { color: var(--sky-2); }
.who { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r-sm); background: var(--navy-2); }
.who__ava { width: 42px; height: 42px; border-radius: 13px; overflow: hidden; background: var(--navy-3); color: var(--sky); display: grid; place-items: center; flex: none; font-size: 1.2rem; }
.who__ava img { width: 100%; height: 100%; object-fit: cover; }
.who__txt { display: flex; flex-direction: column; min-width: 0; }
.who__txt strong { color: #fff; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who__txt small { color: #8db2d1; }
.side__nav { display: flex; flex-direction: column; gap: 4px; }
.side__nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); font-weight: 600; color: #b9d3e8; transition: background .18s, color .18s; }
.side__nav a i { font-size: 1.1rem; }
.side__nav a:hover { background: var(--navy-2); color: #fff; }
.side__nav a.is-on { background: var(--sky); color: #fff; }
.dot { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: #ff6b5b; color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.dot[hidden] { display: none; }
.side__foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.side__foot a, .side__foot button { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border: 0; background: none; color: #8db2d1; font-weight: 500; border-radius: var(--r-sm); width: 100%; text-align: left; }
.side__foot a:hover, .side__foot button:hover { color: #fff; background: var(--navy-2); }
.mtop, .tabbar { display: none; }

.card { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px; }
.card h2 { font-size: 1.08rem; font-weight: 700; margin-bottom: 14px; }
.card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.card__head h2 { margin: 0; }
.card__head a { color: var(--sky-2); font-weight: 600; }
.cols { display: grid; grid-template-columns: 1fr 1.25fr; gap: 18px; }
.empty { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.empty i { font-size: 1.4rem; }
.empty--big { flex-direction: column; text-align: center; padding: 56px 20px; }
.empty--big i { font-size: 2.4rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat { background: var(--card); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; transition: transform .18s; }
a.stat:hover { transform: translateY(-2px); }
.stat__n { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.stat__l { color: var(--muted); font-weight: 500; }
.stat--hot { background: var(--navy); color: #fff; }
.stat--hot .stat__l { color: #9ec4e2; }

.bars { display: flex; align-items: flex-end; gap: 10px; height: 160px; }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.bar__v { display: block; width: 100%; max-width: 38px; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--sky), var(--sky-2)); min-height: 4px; }
.bar__d { font-size: .78rem; color: var(--muted); font-weight: 600; }

.mini { list-style: none; margin: 0; padding: 0; }
.mini li + li { border-top: 1px solid var(--line); }
.mini a { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.mini a > span:not(.badge) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini a:hover strong { color: var(--sky-2); }
.mini s { color: var(--muted); font-weight: 400; font-size: .85em; }

.setup { background: linear-gradient(135deg, #e3f2fd, #f1f9ff); }
.setup ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.setup li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.setup li i { color: var(--sky-2); font-size: 1.15rem; }
.setup li.is-done { color: var(--muted); text-decoration: line-through; }
.setup li.is-done i { color: var(--ok); }
.quick { display: flex; gap: 12px; flex-wrap: wrap; }
.quick a { display: inline-flex; gap: 8px; align-items: center; padding: 12px 18px; border-radius: 999px; background: var(--sky-soft); font-weight: 600; }
.quick a:hover { background: var(--sky); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border: 0; border-radius: 999px; font-weight: 700; transition: transform .12s, filter .15s, background .15s; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--sky); color: #fff; }
.btn--primary:hover { filter: brightness(.96); }
.btn--soft { background: var(--sky-soft); color: var(--navy); }
.btn--soft:hover { background: var(--sky); }
.btn--ghost { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { color: var(--ink); background: #fff; }
.btn--danger { background: var(--danger-bg); color: var(--danger); }
.btn--icon { width: 42px; height: 42px; padding: 0; }
.btn--block { width: 100%; }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 6px; }
.input, .field input[type=text], .field input[type=email], .field input[type=password], .field input[type=number], .field textarea, .field select, select.input,
.filters select, .filters input[type=search] {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 14px; background: #f8fbfe; transition: border-color .15s, background .15s;
}
.input:focus, .field input:focus, .field textarea:focus, .field select:focus, .filters select:focus, .filters input:focus { outline: none; border-color: var(--sky-2); background: #fff; }
.field input[type=file] { width: 100%; padding: 10px; border: 1.5px dashed #b9d3e8; border-radius: 14px; background: #f8fbfe; }
.hint { color: var(--muted); font-size: .8rem; margin-top: 5px; }
.err { color: var(--danger); font-size: .82rem; margin-top: 5px; font-weight: 500; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; margin: 4px 0 18px; }
.check input { width: 20px; height: 20px; accent-color: var(--sky-2); }
.danger { margin-top: 6px; }
.photo { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 8px; }
.photo .field { flex: 1; }
.photo__preview { width: 104px; height: 78px; flex: none; border-radius: 14px; overflow: hidden; background: var(--sky-soft); color: var(--sky-2); display: grid; place-items: center; font-size: 1.8rem; }
.photo__preview img { width: 100%; height: 100%; object-fit: cover; }
.photo__preview img.photo__preview-ico { width: 56%; height: 56%; object-fit: contain; }
.photo--wide .photo__preview { width: 150px; height: 92px; }

body.is-guest { background: linear-gradient(160deg, #dff0fc, #f4f9fd 60%); }
.guest { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 16px; gap: 16px; }
.guest__card { width: 100%; max-width: 440px; background: #fff; border-radius: 26px; padding: 34px 30px; box-shadow: var(--shadow); }
.guest h1 { font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; text-align: center; }
.lead { color: var(--muted); text-align: center; margin: 8px 0 22px; }
.switch { text-align: center; margin-top: 18px; color: var(--muted); }
.switch a, .guest__back a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 3px; }
.guest__back { color: var(--muted); }
.lang-switch { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 14px 0 20px; }
.lang-switch form { display: contents; }
.lang-btn { height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--sky-soft); color: var(--ink); font-weight: 700; font-size: 0.82rem; transition: background .2s, color .2s; }
.lang-btn.is-on { background: var(--sky-2); color: #fff; }
.kind { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.kind__opt input { position: absolute; opacity: 0; pointer-events: none; }
.kind__opt span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px; border-radius: 16px; border: 1.5px solid var(--line); background: #f8fbfe; font-weight: 700; cursor: pointer; transition: all .18s; }
.kind__opt span i { font-size: 1.5rem; color: var(--sky-2); }
.kind__opt input:checked + span { border-color: var(--sky-2); background: var(--sky-soft); box-shadow: 0 0 0 3px rgba(20, 104, 196, .28); }
.kind__opt input:focus-visible + span { outline: 3px solid var(--sky-2); outline-offset: 2px; }

.catpick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 10px; }
.catpick[hidden] { display: none; }
.catpick__opt input { position: absolute; opacity: 0; pointer-events: none; }
.catpick__opt span {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #f8fbfe; font-weight: 600; font-size: .88rem;
  cursor: pointer; transition: all .18s; line-height: 1.2;
}
.catpick__ico {
  flex: none; width: 36px; height: 36px; border-radius: 11px; overflow: hidden; display: grid; place-items: center;
  background: #fff; box-shadow: 0 1px 4px rgba(15,39,64,.08);
}
.catpick__ico img { width: 100%; height: 100%; object-fit: cover; }
.catpick__opt input:checked + span { border-color: var(--sky-2); background: var(--sky-soft); box-shadow: 0 0 0 3px rgba(20, 104, 196, .22); }
.catpick__opt input:checked + span .catpick__ico { box-shadow: 0 0 0 2px var(--sky-2); }
.catpick__opt input:focus-visible + span { outline: 3px solid var(--sky-2); outline-offset: 2px; }
@media (max-width: 480px) {
  .catpick { grid-template-columns: 1fr 1fr; }
}

.tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 18px; scrollbar-width: none; }
.tabs a { display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 999px; background: #fff; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow); }
.tabs a b { min-width: 24px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--bg); font-size: .78rem; display: grid; place-items: center; }
.tabs a.is-on { background: var(--navy); color: #fff; }
.tabs a.is-on b { background: var(--navy-3); }
.orders { display: grid; gap: 14px; }
.order { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); border-left: 5px solid var(--sky); overflow: hidden; }
.order--new { border-left-color: #ff6b5b; animation: fresh 1.6s ease-out 1; }
.order--confirmed { border-left-color: var(--sky-2); }
.order--preparing { border-left-color: #e9a419; }
.order--delivering { border-left-color: var(--violet); }
.order--delivered { border-left-color: var(--ok); opacity: .82; }
.order--cancelled { border-left-color: #b9c6d2; opacity: .72; }
@keyframes fresh { from { background: #fff1ee; } to { background: #fff; } }
.order__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px 0; }
.order__head h3 { font-size: 1.05rem; font-weight: 800; }
.order__head small { color: var(--muted); }
.order__head .badge { margin-left: 4px; }
.order__total { margin-left: auto; font-size: 1.1rem; }
.order__body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; padding: 14px 20px 16px; }
.order__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.order__items li { display: flex; justify-content: space-between; gap: 12px; }
.order__items b { color: var(--sky-2); }
.order__sum { color: var(--muted); font-size: .9rem; }
.order__who { margin: 0; display: grid; gap: 8px; align-content: start; }
.order__who div { display: flex; gap: 10px; }
.order__who dt { color: var(--sky-2); }
.order__who dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.order__who a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--sky); }
.order__foot { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 20px 16px; border-top: 1px solid var(--line); background: #fafcfe; }
.badge { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.badge--new { background: #ffe3de; color: #c1301f; }
.badge--confirmed { background: var(--sky-soft); color: #1d6ea8; }
.badge--preparing { background: var(--warn-bg); color: var(--warn); }
.badge--delivering { background: var(--violet-bg); color: var(--violet); }
.badge--delivered { background: var(--ok-bg); color: var(--ok); }
.badge--cancelled { background: #edf1f5; color: #6d7f90; }
.badge--sale { background: #ffe3de; color: #c1301f; }

.filters { display: flex; gap: 10px; margin-bottom: 16px; }
.search { position: relative; flex: 1; }
.search i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { padding-left: 42px !important; }
.filters select { width: auto; min-width: 190px; }
.plist { display: grid; gap: 10px; }
.prow { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; background: #fff; border-radius: var(--r); padding: 12px 16px 12px 12px; box-shadow: var(--shadow); transition: opacity .2s; }
.prow.is-off { opacity: .6; }
.prow__photo label { position: relative; display: block; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: var(--sky-soft); color: var(--sky-2); cursor: pointer; }
.prow__photo img { width: 100%; height: 100%; object-fit: cover; }
.prow__photo label > i { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.5rem; }
.prow__cam { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15, 39, 64, .55); color: #fff; opacity: 0; transition: opacity .18s; }
.prow__photo label:hover .prow__cam, .prow__photo label:focus-within .prow__cam { opacity: 1; }
.prow__main { display: flex; flex-direction: column; min-width: 0; }
.prow__name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prow__name:hover { color: var(--sky-2); }
.prow__main small { color: var(--muted); }
.prow__price { display: flex; gap: 8px; align-items: flex-end; }
.prow__price label { display: flex; flex-direction: column; font-size: .72rem; color: var(--muted); font-weight: 600; gap: 3px; }
.prow__price input { width: 112px; padding: 9px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: #f8fbfe; font-weight: 700; }
.prow__price input:focus { outline: none; border-color: var(--sky-2); background: #fff; }
.prow__act { display: flex; gap: 8px; align-items: center; }
.toggle { position: relative; width: 48px; height: 28px; border: 0; border-radius: 14px; background: #cbd8e3; transition: background .2s; padding: 0; flex: none; }
.toggle span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .22s cubic-bezier(.3, .8, .3, 1); }
.toggle.is-on { background: var(--sky-2); }
.toggle.is-on span { transform: translateX(20px); }

dialog.modal {
  border: 0; border-radius: var(--r); padding: 20px; width: min(94vw, 560px);
  background: var(--card); color: var(--ink); box-shadow: var(--shadow);
}
dialog.modal::backdrop { background: rgba(10, 22, 34, 0.5); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.modal__head h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.modal__close { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--bg); color: var(--ink); display: grid; place-items: center; flex: none; }
.picker-map { width: 100%; height: 320px; border-radius: var(--r-sm); overflow: hidden; background: var(--bg); }
.map-link { border: 0; background: none; padding: 0; margin-left: 8px; color: var(--sky-2); font-weight: 700; font-size: 0.85rem; text-decoration: underline; }

#flash { display: none; }
#toasts { position: fixed; top: 18px; right: 18px; z-index: 100; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { background: var(--navy); color: #fff; padding: 13px 18px; border-radius: 14px; box-shadow: 0 10px 30px rgba(15, 39, 64, .3); font-weight: 600; display: flex; gap: 10px; align-items: center; max-width: 360px; transform: translateX(30px); opacity: 0; transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.toast.is-in { transform: none; opacity: 1; }
.toast i { color: var(--sky); }
.toast.error i { color: #ff8f82; }

@media (max-width: 900px) {
  body.is-panel { padding-left: 0; padding-top: calc(58px + env(safe-area-inset-top, 0px)); padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .side { display: none; }
  .mtop { display: flex; align-items: center; gap: 12px; position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: calc(58px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) 16px 0; background: var(--navy); color: #fff; }
  .mtop .who__ava { width: 36px; height: 36px; border-radius: 11px; }
  .mtop strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mtop__link { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-2); color: var(--sky); }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -6px 24px rgba(15, 39, 64, .1); padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; padding: 4px 2px 0; color: var(--muted); font-size: .64rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; line-height: 1.15; }
  .tabbar a i { font-size: 1.25rem; width: 44px; max-width: 92%; height: 28px; display: grid; place-items: center; border-radius: 14px; transition: background .25s, color .25s; }
  .tabbar a.is-on { color: var(--ink); }
  .tabbar a.is-on i { background: var(--sky); color: #fff; }
  .tabbar .dot { position: absolute; top: 0; left: calc(50% + 8px); min-width: 18px; height: 18px; font-size: .65rem; padding: 0 5px; }
  .page { padding: 20px 14px 32px; }
  .page__head h1 { font-size: 1.6rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cols { grid-template-columns: 1fr; }
  .order__body { grid-template-columns: 1fr; gap: 14px; }
  .order__foot .btn { flex: 1; }
  .order__foot form:only-child { width: 100%; }
  .order__foot form { flex: 1; display: flex; }
  .prow { grid-template-columns: 60px minmax(0, 1fr) auto; grid-template-areas: "ph main act" "price price price"; gap: 10px 12px; }
  .prow__photo { grid-area: ph; } .prow__main { grid-area: main; } .prow__act { grid-area: act; } .prow__price { grid-area: price; }
  .prow__price label { flex: 1; } .prow__price input { width: 100%; }
  .filters { flex-direction: column; } .filters select { width: 100%; }
  .grid2 { grid-template-columns: 1fr; }
  #toasts { top: calc(66px + env(safe-area-inset-top, 0px)); right: 12px; left: 12px; align-items: stretch; }
  .guest__card { padding: 28px 20px; }
  .btn { height: 48px; }
  .field input, .field select, .field textarea, .prow__price input { font-size: 16px; } 
}

.opt-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line, #e7edf3); }
.opt-row:first-child { border-top: 0; padding-top: 0; }
.opt-row__name { flex: 1; min-width: 0; }
.opt-row__price { width: 160px; flex: none; }
.opt-row__del { flex: none; margin: 30px 0 0; white-space: nowrap; }
#optionRows .field { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  *, ::view-transition-old(content), ::view-transition-new(content) { animation: none !important; transition: none !important; }
}
@media (max-width: 640px) {
  .opt-row { flex-wrap: wrap; }
  .opt-row__price { width: 100%; }
  .opt-row__del { margin-top: 0; }
}
