:root {
  --ink: #17211b;
  --muted: #6c766f;
  --line: #e6e9e5;
  --paper: #f5f4ef;
  --card: #fffefb;
  --accent: #ff6847;
  --accent-dark: #db482a;
  --mint: #d9f8e7;
  --green: #146b45;
  --yellow: #fff1bf;
  --shadow: 0 18px 50px rgba(31, 42, 35, .08);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Manrope, system-ui, sans-serif; color: var(--ink); background: var(--paper); }
button, input, select { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 244px 1fr; }
.poster-embedded .app-shell { grid-template-columns: 1fr; }
.poster-embedded .sidebar { display: none; }
.poster-embedded .main { min-width: 0; }
.poster-embedded .topbar { padding-left: 28px; padding-right: 28px; }
.poster-embedded .content { padding: 28px; }
.embedded-nav { display: none; }
.poster-embedded .embedded-nav { display: flex; gap: 6px; overflow-x: auto; padding: 10px 28px; border-bottom: 1px solid var(--line); background: var(--card); scrollbar-width: none; }
.embedded-nav button { border: 0; border-radius: 9px; padding: 8px 11px; background: transparent; color: var(--muted); white-space: nowrap; font-size: 10px; font-weight: 800; }
.embedded-nav button.active { background: var(--ink); color: white; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 18px; background: #1c2922; color: white; display: flex; flex-direction: column; }
.logo { display: flex; align-items: center; gap: 11px; padding: 0 10px 30px; font-size: 21px; font-weight: 800; }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.venue-switch { margin: 0 4px 24px; padding: 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.06); }
.venue-switch small { color: #aeb9b2; display: block; margin-bottom: 5px; }
.venue-name { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 700; }
.nav { display: grid; gap: 4px; }
.nav button { border: 0; background: transparent; color: #bfc8c2; text-align: left; border-radius: 11px; padding: 11px 12px; display: flex; align-items: center; gap: 11px; font-size: 13px; font-weight: 600; }
.nav button:hover, .nav button.active { color: white; background: rgba(255,255,255,.1); }
.nav-icon { width: 20px; text-align: center; font-size: 16px; }
.sidebar-footer { margin-top: auto; padding: 14px 10px 0; color: #aeb9b2; font-size: 11px; line-height: 1.5; }
.main { min-width: 0; }
.topbar { height: 78px; padding: 0 38px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; background: rgba(245,244,239,.92); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 4; }
.topbar h1 { margin: 0; font-size: 21px; letter-spacing: -.4px; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.sync-pill, .status-pill { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 8px 11px; background: white; border: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 700; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #33b879; box-shadow: 0 0 0 4px #daf6e7; }
.btn { border: 0; border-radius: 11px; padding: 10px 15px; background: var(--ink); color: white; font-size: 12px; font-weight: 800; transition: .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.secondary { background: white; color: var(--ink); border: 1px solid var(--line); }
.btn.accent { background: var(--accent); }
.btn.danger { background: #fff1ee; color: #b93620; border: 1px solid #ffd4ca; }
.btn:disabled { cursor: wait; opacity: .65; transform: none; }
.content { padding: 31px 38px 60px; max-width: 1440px; margin: 0 auto; }
.hero { border-radius: 22px; background: linear-gradient(125deg, #fffefb 0%, #fff8ef 58%, #ffe6d5 100%); border: 1px solid #eee8df; padding: 25px 27px; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow); }
.eyebrow { color: var(--accent-dark); font-size: 10px; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 800; }
.hero h2 { margin: 7px 0 7px; font-size: 25px; letter-spacing: -.8px; }
.hero p { margin: 0; color: var(--muted); font-size: 13px; }
.hero-score { width: 112px; height: 112px; flex: 0 0 auto; border-radius: 50%; background: conic-gradient(var(--accent) 0 72%, #f0e5dc 72%); display: grid; place-items: center; position: relative; }
.hero-score::after { content: ""; width: 82px; height: 82px; border-radius: 50%; background: #fffaf3; position: absolute; }
.score-copy { position: relative; z-index: 1; text-align: center; font-size: 22px; font-weight: 800; }
.score-copy small { display: block; color: var(--muted); font-size: 9px; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin: 28px 0 13px; }
.section-head h3 { margin: 0; font-size: 16px; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.setup-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.setup-card { position: relative; min-height: 150px; border: 1px solid var(--line); background: var(--card); border-radius: 17px; padding: 16px; display: flex; flex-direction: column; }
.setup-card.done { background: #f8fffb; }
.setup-card.active { border-color: #ffc5b7; box-shadow: 0 9px 25px rgba(255,104,71,.11); }
.step-number { width: 27px; height: 27px; border-radius: 9px; display: grid; place-items: center; background: #eef0ed; font-size: 11px; font-weight: 800; }
.done .step-number { background: var(--mint); color: var(--green); }
.active .step-number { background: #ffe1d9; color: var(--accent-dark); }
.setup-card h4 { margin: 17px 0 5px; font-size: 12px; }
.setup-card p { margin: 0 0 13px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.setup-card a { margin-top: auto; color: var(--ink); font-size: 10px; font-weight: 800; text-decoration: none; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.metric { border: 1px solid var(--line); background: var(--card); border-radius: 17px; padding: 17px; }
.metric-label { color: var(--muted); font-size: 10px; }
.metric-value { font-size: 23px; font-weight: 800; margin: 6px 0 2px; letter-spacing: -.6px; }
.trend { font-size: 9px; color: var(--green); font-weight: 800; }
.bottom-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 13px; margin-top: 13px; }
.panel { border: 1px solid var(--line); background: var(--card); border-radius: 18px; padding: 19px; }
.panel h3 { font-size: 13px; margin: 0 0 16px; }
.activity { display: grid; gap: 14px; }
.activity-row { display: grid; grid-template-columns: 29px 1fr auto; gap: 10px; align-items: center; }
.activity-icon { width: 29px; height: 29px; border-radius: 9px; background: #f0f1ef; display: grid; place-items: center; font-size: 12px; }
.activity-row strong { font-size: 10px; display: block; }
.activity-row span { color: var(--muted); font-size: 9px; }
.quick-list { display: grid; gap: 8px; }
.quick { border: 1px solid var(--line); background: white; border-radius: 12px; padding: 12px; display: flex; justify-content: space-between; align-items: center; text-align: left; }
.quick strong { font-size: 10px; display: block; }
.quick span { color: var(--muted); font-size: 9px; }
.page-title { margin-bottom: 23px; }
.page-title h2 { margin: 0 0 6px; font-size: 25px; }
.page-title p { margin: 0; color: var(--muted); font-size: 12px; }
.integration-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.integration { border: 1px solid var(--line); background: var(--card); border-radius: 18px; padding: 20px; display: grid; grid-template-columns: 45px 1fr auto; gap: 14px; align-items: start; }
.integration-logo { width: 45px; height: 45px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; color: white; background: #242424; }
.integration-logo.poster { background: #0d7cff; }
.integration-logo.liqpay { background: #6bbd45; }
.integration-logo.tg { background: #2aabee; }
.integration-logo.domain { background: var(--accent); }
.integration h3 { margin: 2px 0 5px; font-size: 13px; }
.integration p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.tag { border-radius: 999px; padding: 6px 9px; background: var(--mint); color: var(--green); font-size: 9px; font-weight: 800; }
.tag.off { background: #f0f1ef; color: var(--muted); }
.integration-actions { grid-column: 2 / 4; display: flex; gap: 8px; margin-top: 7px; }
.telegram-setup { margin-top: 16px; max-width: 760px; }
.setup-heading { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.setup-heading h3 { margin-bottom: 6px; }
.setup-heading p, .form-help { color: var(--muted); font-size: 10px; line-height: 1.55; margin: 0; }
.icon-button { border: 0; background: #f0f1ef; width: 30px; height: 30px; border-radius: 9px; color: var(--muted); font-size: 18px; }
.settings-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 18px; }
.settings-form label { display: grid; gap: 6px; font-size: 10px; font-weight: 800; }
.settings-form input { width: 100%; border: 1px solid var(--line); border-radius: 11px; background: white; padding: 11px 12px; color: var(--ink); outline: none; }
.settings-form select { width: 100%; border: 1px solid var(--line); border-radius: 11px; background: white; padding: 11px 12px; color: var(--ink); outline: none; }
.settings-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,104,71,.12); }
.form-help, .form-actions { grid-column: 1 / -1; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; }
.input-with-button { display: flex; gap: 7px; }
.input-with-button input { min-width: 0; flex: 1; }
.input-with-button .btn { flex: 0 0 auto; }
.chat-results { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.chat-results:empty { display: none; }
.chat-results strong { flex-basis: 100%; color: var(--ink); }
.chat-choice { border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); padding: 8px 10px; font-size: 9px; font-weight: 800; }
.payment-warning { grid-column: 1 / -1; background: var(--yellow); border-radius: 12px; padding: 12px; color: #6a5713; font-size: 10px; line-height: 1.55; }
.settings-form.one-column { grid-template-columns: 1fr; }
.domain-panel { max-width: 820px; }
.domain-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.domain-head h3 { margin: 10px 0 0; font-size: 20px; }
.link-button { text-decoration: none; display: inline-flex; align-items: center; }
.dns-guide { border-top: 1px solid var(--line); padding: 18px 0; }
.dns-guide h4 { margin: 0 0 5px; font-size: 12px; }
.dns-guide > p { margin: 0 0 12px; color: var(--muted); font-size: 10px; }
.dns-record { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 9px 12px; align-items: center; padding: 13px; border-radius: 13px; background: #f6f7f4; }
.dns-type { grid-row: 1 / 3; align-self: stretch; display: grid; place-items: center; border-radius: 9px; background: white; color: var(--green); font-size: 9px; font-weight: 800; }
.dns-record div { min-width: 0; }
.dns-record small { display: block; color: var(--muted); font-size: 8px; margin-bottom: 3px; }
.dns-record code { display: block; overflow: hidden; text-overflow: ellipsis; font-size: 10px; color: var(--ink); }
.copy-button { border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 8px; padding: 7px 9px; font-size: 9px; font-weight: 800; }
.hosting-notice { background: var(--yellow); border-radius: 12px; padding: 12px; color: #6a5713; font-size: 10px; line-height: 1.55; }
.domain-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.qr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.qr-card { border: 1px solid var(--line); background: var(--card); border-radius: 18px; padding: 18px; display: flex; gap: 16px; align-items: center; }
.qr-image { width: 112px; height: 112px; flex: 0 0 auto; border-radius: 10px; background: white; border: 1px solid var(--line); padding: 5px; }
.qr { width: 90px; height: 90px; flex: 0 0 auto; background-color: white; border: 8px solid white; box-shadow: 0 0 0 1px var(--line); border-radius: 8px; background-image: repeating-conic-gradient(#15231b 0 25%, transparent 0 50%); background-size: 13px 13px; position: relative; }
.qr::after { content: "М"; position: absolute; inset: 27px; display: grid; place-items: center; border-radius: 5px; background: var(--accent); color: white; font-size: 13px; font-weight: 800; border: 4px solid white; }
.qr-card h3 { margin: 0 0 5px; font-size: 12px; }
.qr-card p { margin: 0 0 10px; color: var(--muted); font-size: 9px; }
.qr-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.text-link { color: var(--ink); font-size: 9px; font-weight: 800; text-decoration: none; }
.menu-preview { min-height: 100vh; background: #f7f3eb; }
.menu-cover { background: #1d2a23; color: white; padding: 30px max(20px, calc((100% - 500px) / 2)); }
.menu-cover-inner { max-width: 500px; margin: auto; }
.menu-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 49px; }
.menu-brand { font-weight: 800; letter-spacing: -.4px; }
.table-pill { background: rgba(255,255,255,.1); padding: 8px 11px; border-radius: 999px; font-size: 10px; }
.menu-cover h1 { font-size: 31px; margin: 0 0 10px; letter-spacing: -1px; }
.menu-cover p { color: #bac5be; margin: 0; font-size: 12px; }
.menu-body { max-width: 500px; margin: auto; padding: 20px 20px 110px; }
.menu-tools { display: flex; gap: 8px; margin-bottom: 17px; }
.search { flex: 1; border: 1px solid #e3dfd7; background: white; padding: 11px 13px; border-radius: 12px; font-size: 11px; outline: none; }
.categories { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.guest-card { margin-top: -34px; position: relative; background: white; border: 1px solid #e9e5dd; border-radius: 16px; padding: 13px; box-shadow: 0 15px 35px rgba(31,42,35,.09); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.guest-card strong { font-size: 11px; display: block; margin-bottom: 3px; }
.guest-card span { color: var(--muted); font-size: 9px; }
.guest-badge { background: var(--mint); color: var(--green) !important; padding: 7px 9px; border-radius: 999px; font-weight: 800; white-space: nowrap; }
.service-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 14px 0 17px; }
.service-action { border: 1px solid #e3dfd7; background: white; border-radius: 12px; min-height: 54px; padding: 8px 6px; color: var(--ink); font-size: 9px; font-weight: 800; }
.service-action i { display: block; font-style: normal; font-size: 16px; margin-bottom: 3px; }
.option { display: inline-flex; margin-top: 8px; padding: 4px 6px; background: #f4f1ea; border-radius: 6px; color: var(--muted); font-size: 8px; font-weight: 700; }
.category { border: 0; border-radius: 999px; white-space: nowrap; background: white; color: var(--muted); padding: 8px 12px; font-size: 10px; font-weight: 700; }
.category.active { background: var(--accent); color: white; }
.menu-section h2 { font-size: 18px; margin: 24px 0 12px; }
.dish-list { display: grid; gap: 10px; }
.dish { display: grid; grid-template-columns: 1fr 100px; gap: 13px; background: white; border: 1px solid #e9e5dd; border-radius: 16px; padding: 13px; }
.dish h3 { font-size: 12px; margin: 0 0 5px; }
.dish p { color: var(--muted); font-size: 9px; line-height: 1.5; margin: 0; }
.dish-meta { display: flex; gap: 9px; align-items: center; margin-top: 11px; }
.price { font-size: 12px; font-weight: 800; }
.weight { color: var(--muted); font-size: 9px; }
.dish-visual { min-height: 92px; border-radius: 12px; position: relative; overflow: hidden; background: radial-gradient(circle at 55% 48%, #fff4c9 0 18%, #e99a4d 19% 28%, #6b8d42 29% 34%, #e8d4b2 35% 47%, #ba6b36 48% 54%, #d9b47b 55% 61%, #7c4c2d 62% 65%, #ded1bb 66%); }
.dish-visual.salad { background: radial-gradient(circle at 50% 50%, #f3d36d 0 12%, #86a94a 13% 27%, #e35f45 28% 34%, #c1d96c 35% 50%, #f3ead7 51% 66%, #b49d79 67%); }
.dish-visual.dessert { background: radial-gradient(ellipse at 50% 62%, #f4ddb4 0 28%, #ad6245 29% 43%, #f5efdf 44% 58%, #cfbda1 59%); }
.add { position: absolute; right: 7px; bottom: 7px; width: 27px; height: 27px; border: 0; border-radius: 9px; background: var(--ink); color: white; font-size: 16px; }
.menu-bottom { position: fixed; left: 50%; bottom: 13px; transform: translateX(-50%); width: min(460px, calc(100% - 28px)); display: flex; gap: 8px; z-index: 3; }
.back-admin { border: 0; border-radius: 13px; padding: 12px 15px; background: white; box-shadow: var(--shadow); font-size: 11px; font-weight: 800; }
.cart { flex: 1; display: flex; justify-content: space-between; align-items: center; border: 0; border-radius: 13px; padding: 12px 15px; background: var(--accent); color: white; box-shadow: 0 12px 30px rgba(255,104,71,.32); font-size: 11px; font-weight: 800; }
.sheet-backdrop { position: fixed; inset: 0; z-index: 29; background: rgba(19,30,24,.46); backdrop-filter: blur(3px); }
.order-sheet { position: fixed; z-index: 30; left: 50%; bottom: 0; transform: translateX(-50%); width: min(540px, 100%); max-height: 88vh; overflow-y: auto; border-radius: 22px 22px 0 0; background: var(--card); padding: 22px 20px 28px; box-shadow: 0 -20px 60px rgba(24,35,29,.18); }
.sheet-head { display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.sheet-head h2 { margin: 5px 0 0; font-size: 21px; }
.cart-lines { display: grid; gap: 10px; }
.cart-line { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.cart-line strong, .cart-line span, .cart-line small { display: block; }
.cart-line strong { font-size: 10px; }
.cart-line span, .cart-line small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.quantity { display: flex; align-items: center; gap: 7px; }
.quantity button { width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); }
.quantity b { min-width: 22px; text-align: center; font-size: 10px; }
.order-total { display: flex; justify-content: space-between; align-items: center; padding: 17px 0; font-size: 13px; }
.order-total strong { font-size: 19px; }
.checkout-button { width: 100%; border: 0; border-radius: 13px; padding: 13px 16px; background: var(--accent); color: white; font-weight: 800; font-size: 12px; }
.checkout-button:disabled { opacity: .65; }
.service-pay { width: 100%; margin-top: 8px; border: 1px solid var(--accent); border-radius: 13px; padding: 12px 16px; background: #fff; color: var(--accent); font-weight: 750; font-size: 12px; }
.secondary-pay { border-color: #d8dee8; color: var(--ink); }
.checkout-contact { display: grid; gap: 10px; margin: 14px 0; }
.checkout-phone { display: grid; gap: 7px; color: var(--ink); font-size: 10px; font-weight: 700; }
.checkout-phone input { width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; background: #fff; color: var(--ink); font: inherit; font-size: 12px; outline: none; }
.phone-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.phone-input b { padding: 12px 11px 12px 13px; color: var(--ink); font-size: 12px; border-right: 1px solid var(--line); }
.checkout-phone .phone-input input { border: 0; border-radius: 0; padding-left: 11px; }
.checkout-phone input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 104, 71, .12); }
.phone-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 104, 71, .12); }
.phone-input:focus-within input { box-shadow: none; }
.client-lookup { justify-self: start; border: 0; padding: 0; background: transparent; color: var(--accent-dark); font-size: 10px; font-weight: 800; text-decoration: underline; }
.client-lookup:disabled { opacity: .55; cursor: wait; }
.client-profile { display: grid; gap: 3px; border-radius: 10px; padding: 10px 11px; background: var(--mint); color: var(--green); font-size: 10px; }
.client-profile strong { font-size: 11px; }
.client-profile.muted { background: #f1f2f0; color: var(--muted); }
.checkout-note { margin: 9px 0 0; text-align: center; color: var(--muted); font-size: 8px; }
.modifier-form { display: grid; gap: 14px; }
.modifier-form fieldset { margin: 0; border: 1px solid var(--line); border-radius: 13px; padding: 10px; }
.modifier-form legend { padding: 0 5px; font-size: 10px; font-weight: 800; }
.modifier-form label { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 8px 5px; font-size: 10px; }
.modifier-form label + label { border-top: 1px solid var(--line); }
.modifier-form label b { font-size: 9px; }
.success-sheet { text-align: center; }
.success-sheet h2 { margin: 10px 0 7px; }
.success-sheet p { color: var(--muted); font-size: 10px; line-height: 1.55; }
.success-mark { width: 58px; height: 58px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--green); font-size: 26px; font-weight: 800; }
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 20; background: var(--ink); color: white; border-radius: 12px; padding: 12px 15px; font-size: 11px; font-weight: 700; opacity: 0; transform: translateY(10px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translateY(0); }
.design-layout { display:grid; grid-template-columns:minmax(0,1fr) 276px; gap:24px; align-items:start; }
.design-upload { margin:12px 0 18px; min-height:120px; display:grid; place-items:center; border:2px dashed var(--line); border-radius:16px; color:var(--muted); text-align:center; font-size:30px; }
.design-upload small { display:block; margin-top:8px; font-size:11px; }
.design-phone { position:relative; border:8px solid #1c1c1e; border-radius:42px; overflow:hidden; background:#f7f3eb; box-shadow:0 18px 34px rgba(20,29,27,.22), inset 0 0 0 1px rgba(255,255,255,.25); min-height:610px; padding-top:22px; }
.design-phone::before { content:""; position:absolute; z-index:3; top:8px; left:50%; transform:translateX(-50%); width:94px; height:24px; border-radius:15px; background:#070707; }
.design-phone::after { content:""; position:absolute; z-index:3; right:-11px; top:126px; width:3px; height:66px; border-radius:3px; background:#101011; box-shadow:0 83px #101011; }
.phone-top { min-height:47px; padding:15px 17px 10px; font-size:11px; display:flex; align-items:end; justify-content:space-between; background:rgba(255,255,255,.96); }
.phone-hero { min-height:225px; box-sizing:border-box; padding:56px 20px 30px; background:linear-gradient(130deg,#17211b,#d55736); color:#fff; font-size:25px; line-height:1.22; font-weight:800; }
.phone-card { margin:-22px 12px 12px; padding:17px; border-radius:20px; background:#fff; box-shadow:0 5px 16px rgba(20,29,27,.08); position:relative; }.phone-card p { border-top:1px solid var(--line); padding:10px 0; margin:10px 0 0; font-size:12px; }
.color-presets { display:flex; flex-wrap:wrap; gap:11px; margin-top:12px; }.color-presets button { width:38px; height:38px; border:3px solid #fff; border-radius:50%; box-shadow:0 0 0 1px var(--line); }.color-dot:nth-child(1){background:#ff6847}.color-dot:nth-child(2){background:#e43b4f}.color-dot:nth-child(3){background:#1b8f72}.color-dot:nth-child(4){background:#3478f6}.color-dot:nth-child(5){background:#8b5cf6}.color-dot:nth-child(6){background:#151b1a}.color-dot:nth-child(7){background:#d58b2b}.color-dot:nth-child(8){background:#008b8b}.color-dot:nth-child(9){background:#f05a7e}.color-dot:nth-child(10){background:#6b8e23}
/* Комфортна, але не надмірна типографіка для гостей QR-меню. */
.menu-preview { font-size: 140%; }
.menu-preview .menu-brand { font-size: 1.4rem; }
.menu-preview .table-pill { font-size: 0.875rem; }
.menu-preview .menu-cover h1 { font-size: 2.7rem; }
.menu-preview .menu-cover p { font-size: 1.05rem; }
.menu-preview .search { font-size: 0.95rem; }
.menu-preview .guest-card strong { font-size: 0.95rem; }
.menu-preview .guest-card span { font-size: 0.8rem; }
.menu-preview .service-action { font-size: 0.8rem; }
.menu-preview .service-action i { font-size: 1.4rem; }
.menu-preview .category { font-size: 0.875rem; }
.menu-preview .menu-section h2 { font-size: 1.6rem; }
.menu-preview .dish h3 { font-size: 1.05rem; }
.menu-preview .dish p { font-size: 0.8rem; }
.menu-preview .price { font-size: 1.05rem; }
.menu-preview .weight, .menu-preview .option { font-size: 0.8rem; }
.menu-preview .add { width: 2.4rem; height: 2.4rem; font-size: 1.4rem; }
.menu-preview .back-admin, .menu-preview .cart { font-size: 0.95rem; }
.menu-preview .sheet-head h2 { font-size: 1.85rem; }
.menu-preview .eyebrow { font-size: 0.875rem; }
.menu-preview .cart-line strong { font-size: 0.875rem; }
.menu-preview .cart-line span, .menu-preview .cart-line small { font-size: 0.7rem; }
.menu-preview .quantity b { font-size: 0.875rem; }
.menu-preview .quantity button { width: 2.4rem; height: 2.4rem; font-size: 1.05rem; }
.menu-preview .order-total { font-size: 1.15rem; }
.menu-preview .order-total strong { font-size: 1.65rem; }
.menu-preview .checkout-button, .menu-preview .service-pay { font-size: 1.05rem; }
.menu-preview .checkout-phone { font-size: 0.875rem; }
.menu-preview .checkout-phone input, .menu-preview .phone-input b { font-size: 1.05rem; }
.menu-preview .client-lookup, .menu-preview .client-profile { font-size: 0.875rem; }
.menu-preview .client-profile strong { font-size: 0.95rem; }
.menu-preview .checkout-note, .menu-preview .success-sheet p { font-size: 0.7rem; }
.menu-preview .modifier-form legend, .menu-preview .modifier-form label { font-size: 0.875rem; }
.menu-preview .modifier-form label b { font-size: 0.8rem; }
@media (max-width: 1050px) { .setup-grid { grid-template-columns: repeat(3, 1fr); } .qr-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 760px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; right: 0; bottom: 0; top: auto; height: 69px; z-index: 10; padding: 7px 10px; display: block; }
  .logo, .venue-switch, .sidebar-footer { display: none; }
  .nav { grid-template-columns: repeat(5, 1fr); }
  .nav button { font-size: 0; padding: 8px; justify-content: center; }
  .nav button:nth-child(n+6) { display: none; }
  .nav-icon { font-size: 17px; }
  .topbar { height: 66px; padding: 0 18px; }
  .sync-pill { display: none; }
  .content { padding: 21px 16px 100px; }
  .hero { align-items: flex-start; }
  .hero-score { width: 80px; height: 80px; }
  .hero-score::after { width: 58px; height: 58px; }
  .score-copy { font-size: 17px; }
  .setup-grid, .metrics, .integration-grid, .qr-grid, .bottom-grid { grid-template-columns: 1fr; }
  .settings-form { grid-template-columns: 1fr; }
  .input-with-button { align-items: stretch; flex-direction: column; }
  .dns-record { grid-template-columns: 48px minmax(0, 1fr); }
  .dns-type { grid-row: 1 / 5; }
  .copy-button { grid-column: 2; justify-self: start; }
  .setup-card { min-height: 125px; }
}

/* Адмінка: світла візуальна мова, узгоджена з інтерфейсом закладу у Poster. */
.app-shell {
  --ink: #1f2d3d;
  --muted: #8491a2;
  --line: #e5e8ec;
  --paper: #fff;
  --card: #fff;
  --accent: #3385ee;
  --accent-dark: #2472d1;
  --mint: #e8f3ff;
  --green: #287bd7;
  --shadow: none;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  background: #fff;
}
.app-shell .sidebar { width: auto; padding: 0; background: #fafafa; color: #202c39; border-right: 1px solid #e1e4e8; }
.app-shell .logo { min-height: 68px; padding: 0 25px; gap: 10px; border-bottom: 1px solid #e1e4e8; font-size: 18px; font-weight: 500; }
.app-shell .logo-mark { width: 39px; height: 39px; border-radius: 0; box-shadow: none; }
.app-shell .venue-switch { margin: 13px 12px 17px; padding: 10px 12px; border: 0; border-radius: 3px; background: #f1f4f7; }
.app-shell .venue-switch small { color: #8b96a4; font-size: 10px; }
.app-shell .venue-name { color: #314052; font-size: 12px; font-weight: 500; }
.app-shell .nav { gap: 0; }
.app-shell .nav button { border-radius: 0; padding: 11px 23px; color: #273543; font-size: 13px; font-weight: 400; }
.app-shell .nav-icon { color: #8c97a2; font-size: 15px; }
.app-shell .nav button:hover { color: #247cea; background: #f1f7ff; }
.app-shell .nav button.active { color: #1f2d3d; background: #e3effe; font-weight: 700; box-shadow: inset 3px 0 0 #3385ee; }
.app-shell .nav button.active .nav-icon { color: #3385ee; }
.app-shell .sidebar-footer { padding: 16px 23px; border-top: 1px solid #e1e4e8; color: #7d8998; font-size: 10px; }
.app-shell .topbar { height: 68px; padding: 0 28px; border-bottom-color: #e1e4e8; background: #fff; box-shadow: none; backdrop-filter: none; }
.app-shell .topbar h1 { color: #1d2936; font-size: 22px; font-weight: 400; letter-spacing: 0; }
.app-shell .top-actions { gap: 15px; }
.app-shell .sync-pill, .app-shell .status-pill { padding: 0; border: 0; background: transparent; color: #7f8b99; font-size: 11px; font-weight: 400; }
.app-shell .dot { width: 7px; height: 7px; box-shadow: 0 0 0 3px #e5f5eb; }
.app-shell .btn { border-radius: 3px; padding: 9px 14px; background: #3385ee; font-size: 12px; font-weight: 400; }
.app-shell .btn.secondary { background: #fff; border-color: #d9e2ec; color: #3385ee; }
.app-shell .btn.accent { background: #2e88ec; }
.app-shell .btn.danger { background: #fff1ee; border-color: #ffd4ca; color: #c93925; }
.app-shell .content { max-width: none; padding: 21px 28px 55px; }
.app-shell .hero { border: 1px solid #e1e8f1; border-radius: 3px; background: #f8fbff; padding: 22px 25px; box-shadow: none; }
.app-shell .eyebrow { color: #3385ee; font-size: 9px; letter-spacing: .8px; }
.app-shell .hero h2 { color: #202d3a; font-size: 23px; font-weight: 500; letter-spacing: -.35px; }
.app-shell .hero p { color: #758393; font-size: 12px; }
.app-shell .hero-score { width: 94px; height: 94px; background: conic-gradient(#3385ee 0 72%, #e6edf5 72%); }
.app-shell .hero-score::after { width: 70px; height: 70px; background: #f8fbff; }
.app-shell .score-copy { color: #263648; font-size: 19px; }
.app-shell .section-head { margin: 24px 0 11px; }
.app-shell .section-head h3 { font-size: 16px; font-weight: 500; }
.app-shell .section-head p { color: #8491a2; font-size: 11px; }
.app-shell .setup-grid { gap: 0; border: 1px solid #e1e4e8; border-radius: 3px; overflow: hidden; background: white; }
.app-shell .setup-card { min-height: 142px; padding: 16px; border: 0; border-right: 1px solid #e1e4e8; border-radius: 0; }
.app-shell .setup-card:last-child { border-right: 0; }
.app-shell .setup-card.done { background: #fff; }
.app-shell .setup-card.active { border-color: transparent; box-shadow: inset 0 3px 0 #3385ee; }
.app-shell .step-number { border-radius: 3px; background: #f0f3f6; color: #667585; }
.app-shell .done .step-number { background: #e7f3ff; color: #3385ee; }
.app-shell .active .step-number { background: #e4effe; color: #2678df; }
.app-shell .setup-card h4 { font-size: 12px; font-weight: 500; }
.app-shell .setup-card p { color: #83909f; }
.app-shell .setup-card a, .app-shell .text-link { color: #3385ee; font-weight: 400; }
.app-shell .metrics { gap: 0; border: 1px solid #e1e4e8; border-radius: 3px; overflow: hidden; }
.app-shell .metric { padding: 16px; border: 0; border-right: 1px solid #e1e4e8; border-radius: 0; }
.app-shell .metric:last-child { border-right: 0; }
.app-shell .metric-label, .app-shell .trend { color: #8290a0; }
.app-shell .metric-value { color: #263545; font-size: 22px; font-weight: 500; }
.app-shell .panel, .app-shell .integration, .app-shell .qr-card { border-color: #e1e4e8; border-radius: 3px; box-shadow: none; }
.app-shell .panel { padding: 18px; }
.app-shell .panel h3, .app-shell .integration h3 { font-weight: 500; }
.app-shell .activity-icon { border-radius: 3px; background: #f0f5fb; color: #3385ee; }
.app-shell .quick, .app-shell .chat-choice, .app-shell .copy-button { border-radius: 3px; }
.app-shell .integration { padding: 18px; }
.app-shell .integration-logo { border-radius: 3px; }
.app-shell .tag { border-radius: 3px; background: #e7f3ff; color: #3385ee; }
.app-shell .tag.off { background: #f0f2f4; color: #7e8a98; }
.app-shell .settings-form input, .app-shell .settings-form select { border-radius: 3px; padding: 10px 11px; }
.app-shell .settings-form input:focus { border-color: #3385ee; box-shadow: 0 0 0 3px rgba(51,133,238,.12); }
.app-shell .qr-image, .app-shell .qr { border-radius: 3px; }
.poster-embedded .topbar { padding-left: 28px; padding-right: 28px; }
.poster-embedded .content { padding: 21px 28px 50px; }
.poster-embedded .embedded-nav { gap: 0; padding: 0 28px; border-bottom-color: #e1e4e8; background: #fff; }
.poster-embedded .embedded-nav button { border-radius: 0; padding: 11px 13px; color: #68798b; font-size: 11px; font-weight: 400; }
.poster-embedded .embedded-nav button.active { background: #fff; color: #3385ee; box-shadow: inset 0 -2px 0 #3385ee; }
@media (max-width: 1050px) { .app-shell .setup-card:nth-child(3) { border-right: 0; } }
@media (max-width: 760px) {
  .app-shell .topbar { padding: 0 18px; }
  .poster-embedded .embedded-nav, .poster-embedded .content { padding-left: 16px; padding-right: 16px; }
  .app-shell .setup-grid, .app-shell .metrics { gap: 0; border-radius: 3px; }
  .app-shell .setup-card, .app-shell .metric { border-right: 0; border-bottom: 1px solid #e1e4e8; }
}

/* Трохи більша типографіка в адмінці — без зміни щільності макета. */
.app-shell .nav button { font-size: 14px; }
.app-shell .venue-name { font-size: 13px; }
.app-shell .topbar h1 { font-size: 23px; }
.app-shell .sync-pill, .app-shell .status-pill { font-size: 12px; }
.app-shell .btn { font-size: 13px; }
.app-shell .embedded-nav button { font-size: 12px; }
.app-shell .hero p, .app-shell .section-head p, .app-shell .page-title p { font-size: 13px; }
.app-shell .setup-card h4, .app-shell .integration h3, .app-shell .panel h3, .app-shell .qr-card h3 { font-size: 13px; }
.app-shell .setup-card p, .app-shell .integration p, .app-shell .qr-card p, .app-shell .metric-label { font-size: 11px; }
.app-shell .setup-card a, .app-shell .text-link, .app-shell .settings-form label { font-size: 11px; }
.app-shell .activity-row strong, .app-shell .quick strong { font-size: 11px; }
.app-shell .activity-row span, .app-shell .quick span, .app-shell .form-help { font-size: 10px; }
.app-shell .settings-form input, .app-shell .settings-form select { font-size: 13px; }

/* Точніша стилістика інтерфейсу Poster для кабінету Smart Table. */
.app-shell, .app-shell button, .app-shell input, .app-shell select, .app-shell textarea { font-family: Roboto, Arial, Helvetica, sans-serif; }
.app-shell .page-title { margin-bottom: 19px; }
.app-shell .page-title h2 { font-size: 28px; line-height: 1.25; font-weight: 400; color: #1d2936; letter-spacing: 0; }
.app-shell .page-title p { margin-top: 5px; color: #8391a1; font-size: 14px; }
.app-shell .panel, .app-shell .integration, .app-shell .qr-card { background: #fff; }
.app-shell .panel h3, .app-shell .integration h3, .app-shell .qr-card h3 { color: #273543; font-weight: 500; }
.app-shell .settings-form label { color: #2b3845; font-weight: 400; }
.app-shell .settings-form input, .app-shell .settings-form select { min-height: 38px; color: #273543; background: #fff; border: 1px solid #dce3eb; border-radius: 3px; }
.app-shell .settings-form input:hover, .app-shell .settings-form select:hover { border-color: #b7c6d8; }
.app-shell .btn { min-height: 36px; color: #fff; border: 1px solid #3385ee; box-shadow: none; }
.app-shell .btn:hover { background: #247ce0; border-color: #247ce0; }
.app-shell .btn.secondary { color: #3385ee; }
.app-shell .btn.secondary:hover { background: #f4f9ff; border-color: #aaccee; }
.app-shell .design-layout { gap: 28px; }
.app-shell .design-upload { min-height: 135px; border-color: #d9e2ec; border-radius: 3px; background: #fbfcfd; color: #7e9abb; }
.app-shell .design-phone { border-color: #333c47; box-shadow: 0 10px 26px rgba(27,43,57,.18); }

.menu-editor { padding: 0; overflow: hidden; }
.menu-editor-head { padding: 24px 28px; display:flex; align-items:flex-start; justify-content:space-between; border-bottom:1px solid #e8edf3; }
.menu-editor-head h2 { margin:0 0 6px; font-size:22px; }.menu-editor-head p { margin:0; color:#708199; }.menu-editor-head span { color:#708199; white-space:nowrap; }
.menu-editor-row { display:grid; grid-template-columns:minmax(180px,1fr) minmax(260px,1.6fr) auto auto; gap:18px; align-items:end; padding:18px 28px; border-bottom:1px solid #edf1f5; }
.menu-editor-row:last-child { border-bottom:0; }.menu-item-copy { padding-bottom:7px; display:flex; flex-direction:column; gap:5px; }.menu-item-copy small { color:#718197; }.menu-description { display:flex; flex-direction:column; gap:6px; font-size:13px; color:#718197; }.menu-description input { width:100%; box-sizing:border-box; }.menu-visibility { display:flex; align-items:center; gap:7px; min-height:40px; white-space:nowrap; }
@media (max-width:900px) { .menu-editor-row { grid-template-columns:1fr; gap:10px; }.menu-editor-row .btn { width:max-content; }.menu-editor-head { padding:20px; }.menu-editor-row { padding:16px 20px; } }
