/* TOUR360 system pages: order, status, payment. Quiet, clear, easy. Same family as the site, none of the theatre. */
:root {
  --bg: #FAFAF8;
  --panel: #FFFFFF;
  --line: #E7E4DE;
  --line-strong: #D5D1C9;
  --ink: #1F1D1A;
  --soft: #6B655C;
  --accent: #9E4A2C;
  --accent-soft: #F6EDE8;
  --ok: #2E7D4F;
  --err: #B3261E;
  --r: 14px;
  --display: "Newsreader", Georgia, serif;
  --text: "Geist", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}
* { box-sizing: border-box; }
body.app { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: #fff; }
a { color: var(--accent); text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.muted { color: var(--soft); }
.small { font-size: 0.87rem; }
.opt { font-weight: 400; color: var(--soft); font-size: 0.85em; }
.mono { font: 0.85rem ui-monospace, "SF Mono", Menlo, monospace; color: var(--soft); word-break: break-all; }

/* bar */
.app-bar { position: sticky; top: 0; z-index: 10; height: 60px; display: flex; align-items: center; justify-content: space-between; padding-inline: clamp(1rem, 4vw, 2.5rem); background: color-mix(in oklab, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.app-mark { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.2em; color: var(--ink); text-decoration: none; }
.mark-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--accent); }
.app-bar__right { font-size: 0.9rem; }
.link-quiet { color: var(--soft); text-decoration: none; }
.link-quiet:hover { color: var(--ink); }

.app-main { width: min(1120px, 100% - 2rem); margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) 0 4rem; }
.app-main--narrow { width: min(640px, 100% - 2rem); }
.app-head { margin-bottom: 2rem; }
.app-head h1, .status h1, .prose h1 { font: 400 clamp(2rem, 1.6rem + 1.6vw, 2.8rem)/1.08 var(--display); letter-spacing: -0.02em; margin: 0 0 0.6rem; }
.app-head p { margin: 0; color: var(--soft); max-width: 56ch; }
.banner { background: var(--accent-soft); color: #6E3219; border-radius: 10px; padding: 0.7rem 1rem; font-size: 0.92rem; margin: 1rem 0; }

/* panels */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2rem); margin-bottom: 1rem; }
.panel__title { display: flex; align-items: center; gap: 0.7rem; font: 600 1.05rem/1.2 var(--text); margin: 0 0 1.4rem; }
.step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.8rem; font-weight: 600; }

/* fields */
.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.field__label { font-size: 0.88rem; font-weight: 500; }
.field__hint { font-size: 0.82rem; color: var(--soft); }
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]), select, textarea {
  width: 100%; font: inherit; color: inherit; background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0.7rem 0.85rem; min-height: 46px;
  transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease);
}
input:hover, select:hover, textarea:hover { border-color: #BDB8AE; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent); }
textarea { resize: vertical; }
.grid2 { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }

.choices { display: grid; gap: 0.6rem; }
@media (min-width: 760px) { .choices { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.9rem 1rem; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer; transition: border-color 140ms var(--ease), background 140ms var(--ease); }
.choice:hover { border-color: #BDB8AE; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.choice input { margin-top: 0.2rem; accent-color: var(--accent); width: 18px; height: 18px; }
.choice__body { display: grid; }
.choice__name { font-weight: 600; }
.choice__meta { font-size: 0.85rem; color: var(--soft); }

.toggle { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0.4rem 0 1rem; font-size: 0.95rem; cursor: pointer; }
.toggle input { width: 18px; height: 18px; margin-top: 0.2rem; flex: none; accent-color: var(--accent); }

.drop { position: relative; display: grid; gap: 0.2rem; justify-items: center; text-align: center; padding: 1.6rem 1rem; border: 1.5px dashed var(--line-strong); border-radius: 12px; background: #FCFBF9; cursor: pointer; margin-bottom: 0.8rem; transition: border-color 140ms var(--ease), background 140ms var(--ease); }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop__title { font-weight: 600; }
.drop__hint { font-size: 0.85rem; color: var(--soft); }
.drop--quiet { padding: 1.1rem 1rem; }
.file-list { list-style: none; padding: 0; margin: 0.5rem 0 0; font-size: 0.88rem; display: grid; gap: 0.2rem; }
.file-list:empty { display: none; }
.file-list li::before { content: "✓ "; color: var(--ok); font-weight: 700; }

/* layout */
.order { display: grid; gap: 1rem; align-items: start; }
@media (min-width: 960px) { .order { grid-template-columns: 1fr 330px; } .order__side { position: sticky; top: 80px; } }
.summary { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; }
.summary__title { font: 600 1.05rem var(--text); margin: 0 0 1rem; }
.summary__lines { list-style: none; padding: 0; margin: 0; }
.summary__lines li, .summary__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.summary__row--total { border: 0; font-weight: 600; font-size: 1.25rem; padding: 1rem 0; }
.summary__note { text-align: center; font-size: 0.82rem; color: var(--soft); margin: 0.8rem 0 0; }
.error { color: var(--err); background: #FDECEA; border-radius: 10px; padding: 0.7rem 0.9rem; font-size: 0.92rem; }
.progress { margin: 0.6rem 0 1rem; }
.progress__bar { height: 6px; border-radius: 99px; background: var(--accent); width: 0; transition: width 200ms var(--ease); }
.progress span { font-size: 0.82rem; color: var(--soft); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 46px; padding: 0 1.3rem; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font: 500 0.97rem var(--text); text-decoration: none; cursor: pointer; transition: background 140ms var(--ease), border-color 140ms var(--ease), transform 100ms var(--ease); }
.btn:hover { border-color: var(--ink); }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn--primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--accent); border-color: var(--accent); }
.btn--lg { min-height: 52px; padding: 0 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }
.row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* status */
.status { text-align: center; padding-block: 2.5rem; }
.status__text { color: var(--soft); max-width: 46ch; margin: 0 auto 1.5rem; }
.status form { margin: 1rem 0; }
.amount { font: 400 2.6rem/1 var(--display); margin: 0.5rem 0 1.5rem; font-variant-numeric: tabular-nums; }
.track { list-style: none; display: flex; justify-content: center; gap: 0; padding: 0; margin: 0 0 2rem; font-size: 0.8rem; color: var(--soft); }
.track li { display: grid; justify-items: center; gap: 0.4rem; width: 110px; position: relative; }
.track li span { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; z-index: 1; }
.track li + li::before { content: ""; position: absolute; top: 5px; right: 50%; width: 100%; height: 2px; background: var(--line-strong); }
.track li.done span { background: var(--ok); border-color: var(--ok); }
.track li.done + li::before, .track li.done::before { background: var(--ok); }
.track li.now span { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.track li.done, .track li.now { color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin: 2rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.facts dt { font-size: 0.78rem; color: var(--soft); }
.facts dd { margin: 0.2rem 0 0; font-weight: 600; }
.prose p { color: var(--soft); line-height: 1.7; }
.prose h2 { font-size: 1.1rem; font-weight: 600; margin: 1.8rem 0 0.5rem; }
.prose ul { color: var(--soft); line-height: 1.7; padding-inline-start: 1.2rem; margin: 0.4rem 0 0.8rem; }
.prose li { margin-bottom: 0.3rem; }
.prose .muted { font-size: 0.88rem; }

.app-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; width: min(1120px, 100% - 2rem); margin: 0 auto; padding: 1.5rem 0 2.5rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--soft); }
.app-foot nav { display: flex; gap: 1.2rem; }
.app-foot a { color: var(--soft); text-decoration: none; }
.app-foot a:hover { color: var(--ink); }

/* delivery kit */
.kit { display: grid; gap: 1rem; text-align: left; margin: 1.5rem 0 0; }
.kit > .btn--primary { justify-self: center; }
.kit__item { display: grid; gap: 0.7rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: #FCFBF9; }
.kit__head { display: grid; gap: 0.15rem; }
.kit__head .muted { font-size: 0.88rem; }
.copy { display: flex; gap: 0.5rem; }
.copy input, .copy textarea { flex: 1; min-width: 0; font: 0.85rem ui-monospace, "SF Mono", Menlo, monospace; color: var(--soft); background: #fff; }
.copy--code { flex-direction: column; }
.copy--code .btn { align-self: start; }
.btn--wa { justify-self: start; background: #1F7A4D; border-color: #1F7A4D; color: #fff; }
.btn--wa:hover { background: #18633E; border-color: #18633E; }

/* manual payment instructions */
.pay-manual { text-align: left; border: 1px solid var(--line); background: #FCFBF9; border-radius: 12px; padding: 1.1rem 1.2rem; margin: 1rem 0; }
.pay-manual h2 { font: 600 1rem var(--text); margin: 0 0 0.6rem; }
.pay-manual__text { white-space: pre-line; margin: 0 0 0.6rem; line-height: 1.6; }

/* language switch + Hebrew */
.app-bar__right { display: flex; align-items: center; gap: 1.1rem; }
.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; font-size: 0.78rem; font-weight: 600; }
.lang a { padding: 0.25rem 0.6rem; color: var(--soft); text-decoration: none; }
.lang a.is-on { background: var(--ink); color: #fff; }
/* Hebrew: one sans family, weight for hierarchy, no negative tracking, taller lines */
html:is([lang="he"],[lang="ar"]) { --display: "Noto Sans Hebrew", "Geist", system-ui, sans-serif; --text: "Noto Sans Hebrew", "Geist", system-ui, sans-serif; }
html:is([lang="he"],[lang="ar"]) body.app { line-height: 1.65; }
html:is([lang="he"],[lang="ar"]) .app-head h1, html:is([lang="he"],[lang="ar"]) .status h1, html:is([lang="he"],[lang="ar"]) .prose h1, html:is([lang="he"],[lang="ar"]) .page-head h1, html:is([lang="he"],[lang="ar"]) .auth h1 { font-weight: 600; letter-spacing: 0; line-height: 1.2; }
html:is([lang="he"],[lang="ar"]) .tool__name { font-weight: 600; line-height: 1.3; }
html:is([lang="he"],[lang="ar"]) .amount, html:is([lang="he"],[lang="ar"]) .plan__price, html:is([lang="he"],[lang="ar"]) .balance__n, html:is([lang="he"],[lang="ar"]) .topup__n { font-weight: 600; }
html[dir="rtl"] .kit, html[dir="rtl"] .pay-manual { text-align: right; }
html[dir="rtl"] .track li + li::before { right: auto; left: 50%; }
html[dir="rtl"] .copy input, html[dir="rtl"] .copy textarea, html[dir="rtl"] .mono { direction: ltr; text-align: left; }
[dir="ltr"] .ltr-only, .ltr { direction: ltr; unicode-bidi: isolate; }

/* auth + account */
.auth { max-width: 440px; margin: 0 auto; }
.auth h1 { font: 400 2.2rem/1.1 var(--display); margin: 0 0 0.4rem; }
.auth__sub { color: var(--soft); margin: 0 0 1.6rem; }
.auth__alt { text-align: center; margin: 1.2rem 0 0; color: var(--soft); font-size: 0.95rem; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: #F1EFEA; border-radius: 999px; padding: 4px; margin-bottom: 1.4rem; }
.tabs a { text-align: center; padding: 0.55rem; border-radius: 999px; text-decoration: none; color: var(--soft); font-weight: 500; font-size: 0.95rem; }
.tabs a.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / 0.08); }
.orders-list { display: grid; gap: 0.75rem; }
.order-row { display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 1rem; align-items: center; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: inherit; transition: border-color 140ms var(--ease); }
.order-row:hover { border-color: var(--ink); }
.order-row__title { font-weight: 600; }
.order-row__meta { color: var(--soft); font-size: 0.88rem; grid-column: 1; }
.order-row .chip { grid-row: 1 / 3; grid-column: 2; }
.chip { display: inline-block; padding: 0.25rem 0.7rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; background: #F1EFEA; color: var(--soft); white-space: nowrap; }
.chip--new, .chip--in_work { background: #FFF1DC; color: #7A4D00; }
.chip--delivered { background: #DFF3E6; color: var(--ok); }
.empty { text-align: center; padding: 3rem 1rem; color: var(--soft); }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
.page-head h1 { font: 400 clamp(2rem, 1.6rem + 1.6vw, 2.8rem)/1.08 var(--display); margin: 0; }
.signed-as { color: var(--soft); font-size: 0.9rem; }

/* pricing, tools, credits */
.price-sec { margin: 0 0 2.5rem; }
.sec-title { font: 600 1.15rem var(--text); margin: 0 0 0.4rem; }
.price-sec > .muted { margin: 0 0 1rem; }
.tools { display: grid; gap: 0.8rem; margin-top: 1rem; }
@media (min-width: 700px) { .tools { grid-template-columns: 1fr 1fr; } }
.tool { display: grid; gap: 0.3rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-decoration: none; color: inherit; transition: border-color 140ms var(--ease); }
.tool:hover, .tool.is-on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.tool__name { font: 400 1.5rem/1.15 var(--display); }
.tool__desc { color: var(--soft); font-size: 0.93rem; }
.tool__cost { font-weight: 600; font-size: 1.2rem; margin-top: 0.4rem; font-variant-numeric: tabular-nums; }
.tool__cost small { font-weight: 400; color: var(--soft); font-size: 0.85rem; }
.plans { display: grid; gap: 0.8rem; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { position: relative; display: grid; gap: 0.35rem; align-content: start; padding: 1.4rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.plan--featured { border: 2px solid var(--accent); }
.plan__tag { position: absolute; top: -11px; inset-inline-start: 1rem; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 600; padding: 0.15rem 0.6rem; border-radius: 999px; }
.plan__name { font-weight: 600; }
.plan__price { font: 400 2rem/1.1 var(--display); font-variant-numeric: tabular-nums; }
.plan__price small { font: 400 0.85rem var(--text); color: var(--soft); }
.plan__credits { font-weight: 600; }
.plan__bonus { color: var(--ok); font-size: 0.85rem; }
.plan__mix { font-size: 0.88rem; margin-bottom: 0.8rem; }
.plan form, .plan > .btn { margin-top: auto; }
.packs { display: grid; gap: 0.6rem; }
@media (min-width: 700px) { .packs { grid-template-columns: repeat(3, 1fr); } }
.pack { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pack form { width: auto; }
.balance { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 1.4rem; border-radius: var(--r); background: var(--ink); color: #fff; margin-bottom: 1.5rem; }
.balance__n { font: 400 2.4rem/1 var(--display); font-variant-numeric: tabular-nums; }
.balance__label { color: rgb(255 255 255 / 0.7); font-size: 0.88rem; }
.balance .btn { background: #fff; color: var(--ink); border-color: #fff; }
.ledger { list-style: none; padding: 0; margin: 0; font-size: 0.92rem; }
.ledger li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.ledger .plus { color: var(--ok); font-weight: 600; } .ledger .minus { font-weight: 600; }
.cost-box { display: grid; gap: 0.35rem; }
.cost-box .summary__row { border-bottom: 1px solid var(--line); }
.deliverables { display: grid; gap: 1rem; margin: 1.2rem 0; }
.deliverables img { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.signin-gate { text-align: center; padding: 3rem 1.5rem; }
.plan__unl { color: var(--ok); font-weight: 600; font-size: 0.9rem; }
.topup { display: grid; gap: 1rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; max-width: 720px; }
.topup__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.topup__cell { display: grid; gap: 0.2rem; }
.topup__n { font: 400 clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem)/1.1 var(--display); font-variant-numeric: tabular-nums; }
.topup__n small { font: 400 0.85rem var(--text); color: var(--soft); }
.topup__bonus { color: var(--ok); }
.topup__range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(to right, var(--accent) var(--fill, 0%), var(--line) var(--fill, 0%)); outline: none; }
html[dir="rtl"] .topup__range { background: linear-gradient(to left, var(--accent) var(--fill, 0%), var(--line) var(--fill, 0%)); }
.topup__range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 6px rgb(0 0 0 / 0.15); cursor: grab; }
.topup__range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); cursor: grab; }
.topup .btn { justify-self: start; }
.tiers { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; }
.tier { font-size: 0.82rem; color: var(--soft); background: #F4F2EE; border-radius: 999px; padding: 0.2rem 0.65rem; }
.tier strong { color: var(--ok); }

/* AI progress + layout actions */
.ai-working { display: grid; justify-items: center; gap: 0.5rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 12px; background: #FCFBF9; margin: 1rem 0; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }
.layout-actions { display: grid; gap: 0.8rem; text-align: start; margin: 1rem 0; }

/* sketch editor */
.sketch { display: grid; gap: 0.6rem; margin: 0.4rem 0 1rem; }
.sketch__bar { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sketch__tool { min-height: 38px; padding: 0 0.9rem; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font: 500 0.9rem var(--text); cursor: pointer; color: var(--ink); }
.sketch__tool.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sketch__tool--quiet { color: var(--soft); }
.sketch__hint { margin: 0; font-size: 0.85rem; color: var(--soft); }
.sketch__stage { position: relative; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; touch-action: none; user-select: none; }
.sketch__frame { position: relative; line-height: 0; }
.sketch__stage img { display: block; width: 100%; height: auto; pointer-events: none; }
.sketch__svg { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
.sketch__count { margin: 0; font-size: 0.82rem; color: var(--soft); }
.sketch-box { border: 1px dashed var(--line-strong); border-radius: 12px; padding: 1rem; margin-bottom: 1rem; }
.sketch-box__title { font-weight: 600; margin: 0 0 0.2rem; }
.sketch-loading { color: var(--soft); font-size: 0.9rem; }
.sketch__tool--full { margin-inline-start: auto; border-color: var(--ink); }
.sketch.is-full { position: fixed; inset: 0; z-index: 200; margin: 0; padding: 0.8rem clamp(0.8rem, 2vw, 1.6rem) 1rem; background: var(--bg); display: flex; flex-direction: column; gap: 0.6rem; }
.sketch.is-full .sketch__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; }
.sketch.is-full .sketch__frame { display: inline-block; max-width: 100%; }
.sketch.is-full .sketch__stage img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 9rem); border: 1px solid var(--line); border-radius: 8px; background: #fff; }
html.sketch-open, html.sketch-open body { overflow: hidden; }

/* sign out in the top bar: a form button that looks like the other quiet links */
.app-bar__out { margin: 0; display: inline-flex; }
.app-bar__out button { border: 0; background: none; padding: 0; font: inherit; cursor: pointer; color: inherit; }

/* ---------- my products (order form) ---------- */
.products { border: 1px dashed var(--line-strong); border-radius: 14px; padding: 1rem 1.1rem; margin: 0 0 1rem; }
.products__title { margin: 0; font-weight: 600; }
.products__sub { margin: 0.25rem 0 0.8rem; line-height: 1.55; }
.product { display: grid; grid-template-columns: 76px 1fr auto; gap: 0.75rem; align-items: center; padding: 0.6rem 0; border-top: 1px solid var(--line); }
.product__photo { position: relative; width: 76px; height: 76px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; display: grid; place-items: center; overflow: hidden; cursor: pointer; font-size: 0.78rem; color: var(--soft); }
.product__photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.product__photo img { width: 100%; height: 100%; object-fit: cover; }
.product__fields { display: grid; gap: 0.45rem; min-width: 0; }
.product__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
.product input[type=text] { width: 100%; min-height: 40px; padding: 0.45rem 0.65rem; border: 1px solid var(--line-strong); border-radius: 9px; font: inherit; font-size: 16px; background: #fff; color: inherit; }
.product__x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; font-size: 1.1rem; cursor: pointer; color: var(--soft); }
.products__add { margin-top: 0.6rem; }
.products__add[hidden] { display: none; }
@media (max-width: 520px) { .product__row { grid-template-columns: 1fr; } .product { grid-template-columns: 64px 1fr auto; } .product__photo { width: 64px; height: 64px; } }
