:root {
  color-scheme: light;
  --ink: #19172b;
  --muted: #6d6b80;
  --soft: #79778d;
  --line: #edecf3;
  --paper: #fff;
  --canvas: #f8f8fc;
  --brand: #6841dc;
  --brand-deep: #5730c7;
  --brand-soft: #ede7ff;
  --radius: 18px;
  --sidebar: 230px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--canvas); line-height: 1.45; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .62; }
:focus-visible { outline: 2px solid #7853e8; outline-offset: 3px; }
p, h1, h2, h3 { margin: 0; }
svg { flex: none; vertical-align: middle; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.initial { padding: 2rem; color: var(--muted); }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 5;
  width: var(--sidebar);
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 0 15px 20px;
}
.sidebar-brand { height: 74px; padding: 0 13px; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 29px; font-weight: 800; line-height: 1; letter-spacing: -.095em; width: fit-content; }
.brand-icon { display: grid; place-items: center; width: 38px; height: 38px; color: white; border-radius: 11px; background: linear-gradient(150deg,#9568f5,#673ddd 75%); box-shadow: 0 3px 7px #7447d635, inset 0 1px 0 #fff3; }
.brand-icon svg { transform: rotate(-19deg) translateY(-2px); }
.brand-dot { color: var(--brand); }
.nav-group { padding-top: 25px; }
.nav-label { padding: 0 12px; margin-bottom: 10px; font-size: .72rem; font-weight: 650; text-transform: uppercase; letter-spacing: .07em; color: #79758e; }
.nav-link { min-height: 44px; padding: 0 12px; margin-bottom: 4px; border-radius: 10px; display: flex; align-items: center; gap: 11px; color: #555269; font-weight: 550; font-size: .91rem; }
.nav-link:hover { background: #f5f3fa; color: var(--brand); }
.nav-link.active { background: #f0ebff; color: #622ecb; font-weight: 700; }
.sidebar-bottom { margin-top: auto; }
.demo-note { display: flex; align-items: flex-start; gap: 9px; padding: 12px 10px; border: 1px solid #eee8fa; border-radius: 11px; background: #fcfaff; color: #59526e; }
.demo-dot { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: #9066ed; flex: none; }
.demo-note strong, .demo-note small { display: block; }
.demo-note strong { font-size: .8rem; }
.demo-note small { margin-top: 3px; font-size: .71rem; color: #747087; }
.main-frame { margin-left: var(--sidebar); min-height: 100vh; }
.topbar { height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; border-bottom: 1px solid var(--line); background: #fff; }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: #6e6a82; min-width: 0; }
.crumbs strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #262338; font-weight: 650; }
.crumbs a:hover { color: var(--brand); }
.crumb-separator { color: #aaa7b7; }
.account-wrap { position: relative; flex: none; }
.account { color: #605b72; padding: 4px 0 4px 4px; border: 0; background: transparent; display: flex; align-items: center; gap: 9px; text-align: left; }
.account:hover { color: var(--brand); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #ede5ff; color: #663acf; font-size: .88rem; font-weight: 750; }
.account-name { display: grid; gap: 1px; line-height: 1.2; }
.account-name strong { max-width: 155px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: .82rem; font-weight: 700; }
.account-name small { color: var(--muted); font-size: .72rem; }
.account-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 6; min-width: 230px; padding: 7px; border: 1px solid var(--line); background: white; border-radius: 13px; box-shadow: 0 12px 36px #22214120; }
.account-menu p { padding: 9px 10px; font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; }
.account-menu :is(button,a) { display: flex; align-items: center; gap: 9px; width: 100%; background: transparent; border: 0; padding: 10px; border-radius: 7px; text-align: left; font-size: .88rem; }
.account-menu :is(button,a):hover { background: var(--brand-soft); color: var(--brand); }
.mobile-toggle, .nav-backdrop { display: none !important; }

.main-content { max-width: 1500px; margin-inline: auto; padding: 28px 32px 48px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.page-heading h1 { font-size: clamp(1.9rem,2.55vw,2.4rem); line-height: 1.12; letter-spacing: -.052em; font-weight: 760; }
.page-heading p { margin-top: 7px; color: var(--muted); font-size: .98rem; }
.heading-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.button, .select-ui { display: inline-flex; justify-content: center; align-items: center; gap: 8px; white-space: nowrap; min-height: 42px; border-radius: 10px; padding: 0 14px; font-size: .875rem; font-weight: 650; border: 1px solid transparent; transition: background .17s, border-color .17s, box-shadow .17s; }
.button.primary { color: white; background: var(--brand); box-shadow: 0 2px 4px #613bd22a; }
.button.primary:hover { background: var(--brand-deep); }
.button.secondary, .select-ui { background: #fff; border-color: #e8e5ef; color: #423e54; }
.button.secondary:hover { border-color: #cfc0f6; background: #fcfaff; color: var(--brand); }
.button.danger-button { background: #c8314d; color: white; }
.button.danger-button:hover { background: #a6253d; }
.select-ui { padding-right: 10px; color: #66617a; position: relative; gap: 0; }
.select-ui svg:first-child { position: absolute; pointer-events: none; left: 11px; }
.select-ui svg:last-child { position: absolute; pointer-events: none; right: 9px; }
.select-ui select { appearance: none; color: #3c384f; font-weight: 550; background: none; border: 0; min-height: 40px; width: 100%; padding: 0 18px 0 18px; cursor: pointer; }
.period-select { min-width: 173px; }
.icon-button { padding: 0; display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #6a647e; }
.icon-button:hover { background: #f2ecff; color: var(--brand); }
.icon-button.danger:hover { background: #fcecf0; color: #b42141; }

.welcome { overflow: hidden; isolation: isolate; position: relative; min-height: 180px; display: flex; align-items: center; margin-bottom: 21px; border: 1px solid #e8defe; border-radius: 19px; background: radial-gradient(ellipse at 78% 56%,#e3d5ff 0%,transparent 55%), linear-gradient(103deg,#f3edff 6%,#eee6ff 55%,#f1e9ff 100%); }
.welcome-copy { position: relative; z-index: 2; padding: 23px 27px 24px; }
.welcome-tag { display: flex; align-items: center; gap: 6px; color: #6134c8; font-weight: 800; letter-spacing: .09em; font-size: .72rem; margin-bottom: 8px; }
.welcome-tag svg { transform: rotate(-18deg) translateY(-1px); }
.welcome h2 { color: #251945; letter-spacing: -.046em; font-size: clamp(1.52rem,2.55vw,2.31rem); font-weight: 760; line-height: 1.16; }
.welcome p { color: #5d5076; font-size: .94rem; line-height: 1.5; margin-top: 8px; }
.welcome-mobile-break { display: none; }
.welcome-art { position: absolute; width: 370px; height: 250px; right: 34px; top: 50%; transform: translateY(-50%); }
.orbit { position: absolute; border-radius: 50%; border: 1px solid #a478fb39; transform: rotate(-21deg); }
.orbit-one { width: 330px; height: 126px; top: 60px; left: 15px; }
.orbit-two { width: 350px; height: 163px; top: 46px; left: 4px; }
.orbit-three { width: 373px; height: 196px; top: 29px; left: -8px; }
.art-tile { position: absolute; display: grid; place-items: center; }
.art-tile-front { width: 116px; height: 111px; top: 69px; left: 116px; color: white; background: linear-gradient(145deg,#aa7dff,#8350ed 54%,#6635d6); border: 1px solid #a983ff; border-radius: 29px; box-shadow: 0 9px 0 #6534d3, 0 19px 30px #6534d348, inset 0 2px 0 #fff6; transform: rotate(-18deg) skewX(-4deg); }
.art-tile-front svg { transform: rotate(-8deg) translateY(-6px); stroke-width: 1.6; }
.art-tile-front i { position: absolute; bottom: 12px; left: 13px; width: 11px; height: 3px; border-radius: 10px; background: #c2a2ff; box-shadow: 16px 0 #c2a2ff90; }
.art-tile-rear { width: 103px; height: 98px; top: 72px; left: 182px; transform: rotate(18deg) skewX(-5deg); background: linear-gradient(145deg,#fff9,#c6aafa); border: 1px solid #fff9; border-radius: 23px; box-shadow: 0 6px 0 #b195ea, 0 12px 18px #7f59ce2b; display: block; }
.art-tile-rear span { position: absolute; right: 12px; top: 26px; width: 27px; height: 5px; border-radius: 12px; background: #fff9; }
.art-tile-rear span + span { top: 36px; width: 18px; }
.art-spark { color: #9a71f7; position: absolute; display: block; line-height: 1; }
.art-spark-one { font-size: 25px; top: 67px; left: 63px; }
.art-spark-two { font-size: 20px; top: 137px; right: 37px; }
.art-spark-three { font-size: 16px; top: 180px; left: 84px; color: #9461f2; }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 5px #21154304; }
.metrics { margin-bottom: 19px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.metric { min-width: 0; min-height: 132px; padding: 15px 16px 13px; }
.metric-head { display: flex; align-items: center; gap: 9px; font-size: .86rem; color: #615d74; font-weight: 560; }
.icon-tile { width: 37px; height: 37px; flex: none; display: inline-grid; place-items: center; border-radius: 10px; }
.iris { --tone: #7851e5; --pale: #f0eaff; background: var(--pale); color: #6a45d1; }
.sky { --tone: #538be3; --pale: #eaf3ff; background: var(--pale); color: #3c73d1; }
.mint { --tone: #39a98b; --pale: #e7f8f2; background: var(--pale); color: #167e66; }
.peach { --tone: #ec9c56; --pale: #fff1e4; background: var(--pale); color: #a85717; }
.pink { --tone: #d97bc2; --pale: #fbeaf7; background: var(--pale); color: #a4498e; }
.metric-number { display: block; margin: 5px 0 4px; font-size: 1.91rem; line-height: 1.14; letter-spacing: -.046em; font-weight: 760; font-variant-numeric: tabular-nums; white-space: nowrap; }
.metric-foot { display: flex; gap: 5px; align-items: center; color: #777387; font-size: .71rem; white-space: nowrap; }
.metric-change { display: inline-flex; gap: 3px; align-items: center; border-radius: 6px; padding: 1px 4px; color: #197750; background: #e9f9f0; font-weight: 700; }
.metric-change.down { color: #a1314b; background: #fcecf0; }
.metric-change.down svg { transform: scaleY(-1); }
.metric-new { padding: 1px 0; }
.chart-layout { display: grid; grid-template-columns: minmax(0, 1.86fr) minmax(260px, 1fr); gap: 16px; align-items: stretch; }
.chart-panel, .actions-panel { padding: 17px 18px; min-width: 0; }
.chart-heading, .section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chart-layout h2, .section-heading h2, .form-panel h2 { font-size: 1.15rem; font-weight: 730; line-height: 1.26; letter-spacing: -.021em; }
.chart-layout p, .section-heading p, .form-panel > p { color: var(--muted); font-size: .86rem; margin-top: 4px; }
.legend { display: flex; gap: 13px; align-items: center; white-space: nowrap; color: #656179; font-size: .75rem; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; background: #7954e9; }
.legend span:nth-child(2) i { background: #c1b2ec; }
.chart-canvas { margin-top: 11px; }
.chart-canvas > svg { display: block; }
.chart-canvas .axis { fill: #777389; font-family: var(--font); font-size: 12px; }
.chart-hit:hover { fill: #9476e615; }
.x-labels { display: flex; justify-content: space-between; gap: 2px; padding: 0 2.35% 0 5%; font-size: .72rem; color: #716c82; white-space: nowrap; }
.action-stats { display: grid; gap: 11px; margin-top: 14px; }
.action-stat { display: flex; align-items: center; gap: 9px; }
.action-stat .icon-tile { width: 32px; height: 32px; border-radius: 8px; }
.action-stat-body { flex: 1; min-width: 0; }
.action-stat-body > div:first-child { display: flex; justify-content: space-between; gap: 4px; align-items: baseline; font-size: .82rem; color: #514d66; line-height: 1.18; }
.action-stat-body strong { color: var(--ink); font-weight: 720; }
.progress { height: 5px; border-radius: 10px; margin-top: 6px; display: block; background: #f0edf5; }
.progress i { background: var(--tone); border-radius: inherit; min-height: 5px; display: block; }

.site-section { margin-top: 25px; }
.section-heading { margin-bottom: 13px; }
.section-heading h2 { font-size: 1.28rem; }
.text-link { color: var(--brand); font-size: .89rem; font-weight: 690; }
.text-link:hover { text-decoration: underline; }
.site-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.site-card { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: auto auto; align-items: center; padding: 13px 14px 10px; gap: 10px 5px; }
.site-card-main, .table-site { display: flex; align-items: center; gap: 10px; min-width: 0; }
.site-card-main:hover, .table-site:hover { color: var(--brand); }
.site-icon { display: inline-grid; place-items: center; flex: none; width: 41px; height: 41px; border-radius: 10px; object-fit: cover; background: #eee5ff; color: #754bd4; }
.site-icon.coffee { color: #9d553a; background: #f5e7df; }
.site-icon.garden { color: #3e7e58; background: #e9f4e7; }
.site-icon.lavender { color: #8d52b5; background: #f2e8fa; }
.site-icon.peach { color: #a54c4d; background: #fae7e2; }
.site-card-name { overflow: hidden; }
.site-card-name :is(strong,small) { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-card-name strong { font-size: .91rem; font-weight: 730; }
.site-card-name small { margin-top: 2px; font-size: .76rem; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 20px; white-space: nowrap; font-size: .72rem; font-weight: 670; line-height: 1.2; color: #68627a; background: #f0edf4; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.live { color: #237352; background: #e8f7ef; }
.site-card-bottom { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 7px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .8rem; }
.site-card-bottom a { border-radius: 6px; padding: 2px 4px; color: #77718b; }
.site-card-bottom a:hover { background: var(--brand-soft); color: var(--brand); }
.empty { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 34px 16px; }
.empty p { color: var(--muted); }
.empty .button { margin-top: 7px; }
.site-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 17px; font-size: .88rem; color: var(--muted); }
.search-input { display: flex; align-items: center; gap: 8px; width: min(100%,355px); background: white; border: 1px solid var(--line); border-radius: 10px; padding: 0 11px; }
.search-input input { width: 100%; border: 0; padding: 11px 0; background: transparent; }
.search-input input:focus-visible { outline: none; }
.search-input:focus-within { outline: 2px solid #7853e8; outline-offset: 1px; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .88rem; }
th, td { padding: 13px 14px; }
th { font-weight: 640; white-space: nowrap; color: #68647b; background: #fcfbff; }
td { border-top: 1px solid var(--line); }
td strong { font-weight: 675; }
.table-note { display: block; color: var(--muted); margin-top: 4px; }
.table-item { display: flex; gap: 10px; align-items: center; }
.table-item img { object-fit: cover; border-radius: 8px; flex: none; background: var(--canvas); }
.row-actions { display: flex; justify-content: flex-end; }
.item-order-cell { width: 1%; padding-inline: 9px; text-align: center; }
.item-order-handle { display: grid; place-items: center; width: 100%; min-width: 46px; min-height: 32px; border-radius: 6px; color: var(--brand-deep); cursor: grab; user-select: none; touch-action: none; }
.item-order-handle:hover, .item-order-handle:active { background: var(--brand-soft); }
.item-order-handle:active { cursor: grabbing; }
.item-order-buttons { display: grid; justify-items: stretch; }
.item-order-buttons button { min-height: 26px; padding: 2px 4px; background: transparent; border: 0; border-radius: 5px; color: var(--brand-deep); font-size: .75rem; }
.item-order-buttons button:hover:not(:disabled) { background: var(--brand-soft); }
.item-order-buttons button:disabled { opacity: .36; }
[data-menu-row].is-moving { background: var(--brand-soft); }
[data-menu-drop=before] td { box-shadow: inset 0 3px var(--brand); }
[data-menu-drop=after] td { box-shadow: inset 0 -3px var(--brand); }

.detail-title { align-items: center; }
.detail-title-main { display: flex; gap: 13px; align-items: center; }
.detail-title-main .site-icon { width: 57px; height: 57px; border-radius: 14px; }
.nfc-banner { padding: 13px 15px; margin-bottom: 19px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; }
.nfc-banner strong, .nfc-banner small { display: block; }
.nfc-banner small { color: var(--muted); margin-top: 3px; overflow-wrap: anywhere; }
.nfc-banner small.nfc-draft-hint { margin-top: 6px; color: #58536b; }
.nfc-draft-hint a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.tabs { display: flex; gap: 17px; margin-bottom: 19px; border-bottom: 1px solid #e6e1ef; overflow: auto; }
.tabs a { display: flex; align-items: center; gap: 6px; white-space: nowrap; padding: 8px 3px 11px; border-bottom: 2px solid transparent; color: var(--muted); font-size: .89rem; font-weight: 650; }
.tabs a:hover, .tabs a.selected { color: var(--brand); }
.tabs a.selected { border-color: var(--brand); }
.feedback-badge { display: inline-grid; min-width: 21px; min-height: 21px; padding: 1px 5px; place-items: center; border-radius: 1rem; background: #a33a56; color: white; font-size: .75rem; }
.feedback-inbox { display: grid; gap: 12px; }
.feedback-filters { padding: 14px; grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)); align-items: end; }
.feedback-card { display: grid; gap: 10px; padding: clamp(14px, 3.5vw, 22px); }
.feedback-card header { display: flex; align-items: center; justify-content: space-between; }
.feedback-card > button { justify-self: start; }
.feedback-score { color: #a56509; font-size: 1.35rem; letter-spacing: .08em; }
.feedback-score span { color: #776e85; }
.feedback-comment { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 1.12rem; line-height: 1.5; }
.feedback-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.feedback-pages { justify-content: flex-end; }
.form-panel { max-width: 720px; padding: 20px; }
.form-panel > .form-stack, .form-panel .inline-form { margin-top: 19px; }
.theme-picker { min-width: 0; border: 0; padding: 0; }
.theme-picker legend { padding: 0; margin-bottom: 8px; font-weight: 650; }
.theme-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(86px, 1fr)); gap: 8px; }
.theme-choice { position: relative; cursor: pointer; }
.theme-tile { display: grid; text-align: center; gap: 5px; border: 2px solid var(--line); border-radius: 12px; padding: 5px; }
.theme-choice input:checked + .theme-tile { border-color: var(--brand); background: var(--brand-soft); }
.theme-choice input:focus-visible + .theme-tile { outline: 2px solid var(--brand-deep); outline-offset: 2px; }
.theme-sample { display: grid; grid-template-rows: 2fr 1fr; gap: 8px; height: 66px; overflow: hidden; border-radius: 7px; }
.theme-sample-hero { position: relative; display: grid; place-items: center; background: var(--venue-pattern), var(--venue-hero); }
.theme-sample-hero::after { content: ''; width: 15px; height: 15px; border-radius: 5px; background: var(--venue-white); }
.theme-sample-button { align-self: start; justify-self: center; width: 58%; height: 8px; border-radius: 6px; background: var(--venue-accent); }
.theme-title { font-size: .86rem; font-weight: 650; }
.theme-more { margin-top: 10px; }
.theme-catalogue { width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 0; border: 1px solid var(--line); border-radius: 17px; color: var(--ink); }
.theme-catalogue::backdrop { background: #20182b80; }
.theme-catalogue .theme-grid { grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); }
.theme-catalogue .theme-tile { width: 100%; background: white; cursor: pointer; color: var(--ink); }
.theme-catalogue .theme-tile:hover, .theme-catalogue .theme-tile.is-current { border-color: var(--brand); background: var(--brand-soft); }
.theme-catalogue .theme-tile:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 2px; }
.theme-preview.landing-body { max-width: 355px; overflow: hidden; margin-inline: auto; border: 1px solid var(--venue-bg); border-radius: var(--venue-radius); background: var(--venue-white); }
.theme-preview .public-hero { min-height: 145px; }
.theme-preview .public-hero-inner { padding: 18px 12px; }
.theme-preview .site-icon { width: 34px; height: 34px; border-radius: 9px; }
.theme-preview h3 { font-family: var(--venue-heading); font-size: clamp(1.35rem, 6vw, 1.85rem); overflow-wrap: anywhere; }
.theme-preview-actions { display: grid; gap: 6px; padding: 12px; }
.theme-preview-actions .public-button { min-height: 33px; font-size: .87rem; }
.theme-preview-footer { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; }
.tip-settings .tip-option-settings { border: 1px solid var(--line); padding: 11px 13px; border-radius: 10px; }
.tip-option-settings summary { color: var(--ink); }
.tip-option-settings summary .status { margin-left: 5px; }
.tip-option-settings .form-stack > p { font-size: .88rem; }
.tip-metrics { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 12px; }
.tip-metrics .metric { min-height: 110px; }
.form-stack { display: grid; gap: 13px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.form-stack label { display: grid; gap: 5px; color: #494358; font-size: .88rem; font-weight: 650; }
.form-stack label small { font-size: .78rem; font-weight: 450; color: var(--muted); }
.form-stack :is(input:not([type=checkbox], .sr-only),textarea,select), .inline-form input { border: 1px solid #ded9e9; padding: 9px 10px; width: 100%; border-radius: 8px; background: white; min-width: 0; font-size: .94rem; font-weight: 450; }
.form-stack textarea { resize: vertical; }
.form-stack select { appearance: none; padding-right: 30px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' stroke='%23655d78' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 10px center; }
.form-stack .input-prefix { display: flex; align-items: center; }
.input-prefix span { padding: 8px 10px; background: #f4f0f9; border: 1px solid #ded9e9; border-radius: 8px 0 0 8px; border-right: 0; }
.form-stack .input-prefix input { border-radius: 0 8px 8px 0; }
.form-stack .check-label { display: flex; align-items: center; gap: 8px; }
.site-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.site-contact-fields { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.site-contact-fields legend { color: var(--ink); font-size: .94rem; font-weight: 675; padding-inline: 5px; }
.site-contact-fields p { font-size: .88rem; }
.site-editor { gap: 16px; }
.site-editor > .site-contact-fields { padding: 14px; }
.site-editor > .form-footer { border-top: 1px solid var(--line); padding-top: 12px; }
.site-link-option { display: grid; gap: 7px; padding: 8px 10px; background: #f8f6fc; border-radius: 9px; }
.site-link-option > .check-label { min-height: 28px; }
.site-option-fields[hidden] { display: none; }
.photo-edit { display: flex; gap: 10px; align-items: flex-start; min-width: 0; border: 1px dashed #c7bfd5; border-radius: 10px; padding: 10px; }
.photo-edit.photo-drag-over { border-color: var(--brand); background: var(--brand-soft); }
.photo-edit-input { display: grid; gap: 8px; flex: 1; min-width: 0; }
.photo-edit-preview { width: 52px; height: 52px; flex: none; border-radius: 8px; object-fit: cover; background: var(--canvas); }
.photo-edit-preview[hidden], .photo-clear[hidden], [data-photo-message]:empty { display: none; }
.photo-edit [data-photo-message] { color: var(--muted); overflow-wrap: anywhere; }
.photo-edit [data-photo-message].input-error { color: #a42141; }
.photo-clear { justify-self: start; border: 0; background: transparent; padding: 0; text-align: left; }
.form-stack input[type=file]::file-selector-button { border: 0; border-radius: 5px; background: var(--brand-soft); color: var(--brand-deep); padding: 3px 7px; margin-right: 8px; cursor: pointer; }
.check-label input { accent-color: var(--brand); width: 16px; height: 16px; margin: 0; }
details { margin: 0; }
details summary { font-size: .9rem; font-weight: 650; color: var(--brand); cursor: pointer; }
details .form-stack { margin-top: 12px; }
.form-footer { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.form-error { color: #a42141; font-size: .86rem; }
.form-error:empty { display: none; }
.inline-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.inline-form .form-error { grid-column: 1 / -1; }
.access-list { margin: 12px 0 0; padding: 0; list-style: none; }
.access-list li { display: flex; gap: 8px; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); }
.access-list li span { display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; min-width: 0; }

#modal { width: min(570px,calc(100% - 26px)); max-height: calc(100dvh - 36px); border: 1px solid var(--line); padding: 0; border-radius: 17px; color: var(--ink); box-shadow: 0 24px 65px #251d484a; }
#modal::backdrop { background: #1c163865; }
body:has(#modal[open], .theme-catalogue[open]) { overflow: hidden; }
.modal-view { padding: 20px; }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.modal-header h2 { letter-spacing: -.03em; font-size: 1.3rem; }
#toast { position: fixed; z-index: 10; right: 18px; bottom: 18px; align-items: center; gap: 9px; display: flex; opacity: 0; transform: translateY(8px); pointer-events: none; color: white; background: #2b2244; border-radius: 10px; padding: 11px 14px; font-size: .88rem; transition: opacity .2s, transform .2s; max-width: calc(100vw - 36px); }
#toast.visible { opacity: 1; transform: translateY(0); }
.notice { min-height: 90vh; display: grid; place-items: center; padding: 18px; }
.notice-box { display: grid; gap: 13px; max-width: 470px; width: 100%; padding: 27px; }
.notice-box h1 { letter-spacing: -.04em; line-height: 1.15; }
.notice-box p { color: var(--muted); }
.notice-box .button { justify-self: start; }
.login-options { display: grid; gap: 9px; margin-top: 4px; }
.login-options .button { width: 100%; min-height: 44px; }
.login-options .google-button { background: #fff; color: #1f1f1f; border-color: #747775; gap: 10px; }
.login-options a.google-button:hover { background: #f8f9fa; border-color: #656966; }
.login-options small { margin: -5px 0 1px; color: var(--muted); text-align: center; }
.login-options .button:disabled { cursor: default; opacity: .68; }
.login-options .login-status { padding: 9px 12px; background: #f6f1ff; color: #523890; border-radius: 9px; font-size: .9rem; }

.landing-body {
  --heading-serif: Georgia, "Times New Roman", serif;
  --heading-sans: system-ui, sans-serif;
  --art-grid: repeating-linear-gradient(90deg, #8ea8c127 0 1px, transparent 1px 29px), repeating-linear-gradient(0deg, #8ea8c127 0 1px, transparent 1px 29px);
  --art-lines: repeating-linear-gradient(135deg, #ffffff16 0 1px, transparent 1px 15px);
  --art-dots: radial-gradient(ellipse at 18% 17%, #ffffff42, transparent 23%), radial-gradient(ellipse at 81% 90%, #ffffff39, transparent 30%);
  --art-coffee: repeating-radial-gradient(ellipse at 0% 100%, #f6dfc31f 0 2px, transparent 3px 19px);
  --art-leaves: radial-gradient(ellipse at 0 100%, #ddebd63b 0 24%, transparent 25%), radial-gradient(ellipse at 100% 0, #ffffff26 0 25%, transparent 26%);
  --art-waves: repeating-radial-gradient(ellipse at 98% -50%, #ffffff19 0 2px, transparent 3px 24px);
  --art-clouds: radial-gradient(ellipse at 90% 10%, #ffffff4a, transparent 46%), radial-gradient(ellipse at 10% 95%, #ffffff43, transparent 35%);
  --art-petals: radial-gradient(ellipse at 14% 15%, #ffffff27 0 16%, transparent 17%), radial-gradient(ellipse at 89% 80%, #ffe9e445 0 21%, transparent 22%);
  color: var(--venue-dark);
}
.landing-body, .landing-coffee {
  --venue-accent: #794826; --venue-bg: #f7ede2; --venue-dark: #38241a; --venue-muted: #735947; --venue-white: #fffaf3;
  --venue-hero: #5c3523; --venue-pattern: var(--art-coffee); --venue-radius: 16px; --venue-heading: var(--heading-serif);
  background: #eee0d2;
}
.landing-garden {
  --venue-accent: #3d6243; --venue-bg: #e8f0e2; --venue-dark: #223b2a; --venue-muted: #4c6450; --venue-white: #f9fbf5;
  --venue-hero: #30543c; --venue-pattern: var(--art-leaves); --venue-radius: 15px; --venue-heading: var(--heading-serif);
  background: #dde8d8;
}
.landing-indigo {
  --venue-accent: #415284; --venue-bg: #edf0fc; --venue-dark: #283557; --venue-muted: #526387; --venue-white: #fafbff;
  --venue-hero: #303d6c; --venue-pattern: var(--art-grid); --venue-radius: 11px; --venue-heading: var(--heading-sans);
  background: #e0e6f6;
}
.landing-lavender {
  --venue-accent: #6d4c83; --venue-bg: #f2ecf8; --venue-dark: #362945; --venue-muted: #6b557b; --venue-white: #fdfaff;
  --venue-hero: #604172; --venue-pattern: var(--art-waves); --venue-radius: 20px; --venue-heading: var(--heading-serif);
  background: #e8ddf0;
}
.landing-peach {
  --venue-accent: #914e51; --venue-bg: #faece7; --venue-dark: #502a2b; --venue-muted: #755254; --venue-white: #fffbf8;
  --venue-hero: #9b515a; --venue-pattern: var(--art-petals); --venue-radius: 23px; --venue-heading: var(--heading-serif);
  background: #f5e1d9;
}
.landing-light {
  --venue-accent: #355c75; --venue-bg: #ebf2f5; --venue-dark: #203344; --venue-muted: #4c6172; --venue-white: #ffffff;
  --venue-hero: #eaf1f5; --venue-pattern: var(--art-grid); --venue-radius: 8px; --venue-heading: var(--heading-sans);
  --venue-hero-ink: #203344; background: #e2ebf0;
}
.landing-dark {
  --venue-accent: #b6d1ff; --venue-bg: #293341; --venue-dark: #f1f5fc; --venue-muted: #bdc9da; --venue-white: #1b222d;
  --venue-hero: #2a3b59; --venue-pattern: var(--art-grid); --venue-radius: 12px; --venue-heading: var(--heading-sans);
  --venue-on-accent: #152239; background: #131922;
}
.landing-slate {
  --venue-accent: #426477; --venue-bg: #eaf0f2; --venue-dark: #283d48; --venue-muted: #4a646f; --venue-white: #f9fcfd;
  --venue-hero: #344c5e; --venue-pattern: var(--art-lines); --venue-radius: 8px; --venue-heading: var(--heading-sans);
  background: #dfe7eb;
}
.landing-sand {
  --venue-accent: #79593b; --venue-bg: #f4eee2; --venue-dark: #463727; --venue-muted: #71614d; --venue-white: #fffcf4;
  --venue-hero: #7f6040; --venue-pattern: var(--art-waves); --venue-radius: 10px; --venue-heading: var(--heading-serif);
  background: #ebe0cd;
}
.landing-walnut {
  --venue-accent: #6b453a; --venue-bg: #f3ebe6; --venue-dark: #3a2927; --venue-muted: #6d5450; --venue-white: #fcf8f4;
  --venue-hero: #4f332e; --venue-pattern: var(--art-coffee); --venue-radius: 8px; --venue-heading: var(--heading-serif);
  background: #e9dcd2;
}
.landing-sage {
  --venue-accent: #51664c; --venue-bg: #edf1e8; --venue-dark: #2f3e2a; --venue-muted: #536450; --venue-white: #fbfcf7;
  --venue-hero: #596b53; --venue-pattern: var(--art-dots); --venue-radius: 15px; --venue-heading: var(--heading-sans);
  background: #e3e9da;
}
.landing-mint {
  --venue-accent: #2d6e65; --venue-bg: #e8f5ef; --venue-dark: #17453e; --venue-muted: #3d655b; --venue-white: #f7fefb;
  --venue-hero: #34796a; --venue-pattern: var(--art-leaves); --venue-radius: 19px; --venue-heading: var(--heading-sans);
  background: #dbefe7;
}
.landing-pine {
  --venue-accent: #426858; --venue-bg: #e6eee8; --venue-dark: #203b34; --venue-muted: #456158; --venue-white: #f7fbf8;
  --venue-hero: #1f4a42; --venue-pattern: var(--art-lines); --venue-radius: 9px; --venue-heading: var(--heading-serif);
  background: #dbe8e0;
}
.landing-ocean {
  --venue-accent: #27667c; --venue-bg: #e8f1f5; --venue-dark: #203944; --venue-muted: #4a6270; --venue-white: #f8fcfe;
  --venue-hero: #28536d; --venue-pattern: var(--art-waves); --venue-radius: 18px; --venue-heading: var(--heading-sans);
  background: #d9e9f2;
}
.landing-sky {
  --venue-accent: #335f91; --venue-bg: #eaf3fe; --venue-dark: #243c5d; --venue-muted: #4b6484; --venue-white: #f9fcff;
  --venue-hero: #3f739e; --venue-pattern: var(--art-clouds); --venue-radius: 20px; --venue-heading: var(--heading-sans);
  background: #deecfa;
}
.landing-steel {
  --venue-accent: #4e5b72; --venue-bg: #ebeff5; --venue-dark: #323c4c; --venue-muted: #505d6e; --venue-white: #fbfcfe;
  --venue-hero: #3d4f66; --venue-pattern: var(--art-grid); --venue-radius: 6px; --venue-heading: var(--heading-sans);
  background: #dde4ee;
}
.landing-graphite {
  --venue-accent: #c2dcce; --venue-bg: #303638; --venue-dark: #f4f7f5; --venue-muted: #bfcac5; --venue-white: #23292a;
  --venue-hero: #333f3f; --venue-pattern: var(--art-dots); --venue-radius: 7px; --venue-heading: var(--heading-sans);
  --venue-on-accent: #192622; background: #191d1f;
}
.landing-berry {
  --venue-accent: #873d61; --venue-bg: #f6eaf2; --venue-dark: #49283e; --venue-muted: #715065; --venue-white: #fffbfe;
  --venue-hero: #7d3658; --venue-pattern: var(--art-dots); --venue-radius: 16px; --venue-heading: var(--heading-serif);
  background: #f2e2ec;
}
.landing-plum {
  --venue-accent: #6e486d; --venue-bg: #f1e8f0; --venue-dark: #422b43; --venue-muted: #695268; --venue-white: #fbf8fb;
  --venue-hero: #513751; --venue-pattern: var(--art-clouds); --venue-radius: 10px; --venue-heading: var(--heading-serif);
  background: #eadfea;
}
.landing-rose {
  --venue-accent: #8a5366; --venue-bg: #f7ebef; --venue-dark: #532f3f; --venue-muted: #775566; --venue-white: #fffafb;
  --venue-hero: #95586e; --venue-pattern: var(--art-leaves); --venue-radius: 17px; --venue-heading: var(--heading-serif);
  background: #f0dfe7;
}
.landing-coral {
  --venue-accent: #9f4b40; --venue-bg: #fbede8; --venue-dark: #552d28; --venue-muted: #79544d; --venue-white: #fffaf7;
  --venue-hero: #a05246; --venue-pattern: var(--art-petals); --venue-radius: 24px; --venue-heading: var(--heading-sans);
  background: #f5ded6;
}
.landing-honey {
  --venue-accent: #82541f; --venue-bg: #fff3da; --venue-dark: #4c351b; --venue-muted: #765b37; --venue-white: #fffdf4;
  --venue-hero: #926323; --venue-pattern: var(--art-dots); --venue-radius: 14px; --venue-heading: var(--heading-serif);
  background: #f7e8c7;
}
.landing-lemon {
  --venue-accent: #69632c; --venue-bg: #f5f3d9; --venue-dark: #414119; --venue-muted: #62623b; --venue-white: #fffef3;
  --venue-hero: #eeecbb; --venue-pattern: var(--art-clouds); --venue-radius: 20px; --venue-heading: var(--heading-sans);
  --venue-hero-ink: #414119; background: #eeebc5;
}
.landing-clay {
  --venue-accent: #92563f; --venue-bg: #f5e9e1; --venue-dark: #4d332a; --venue-muted: #72584b; --venue-white: #fffaf4;
  --venue-hero: #8a5543; --venue-pattern: var(--art-waves); --venue-radius: 12px; --venue-heading: var(--heading-serif);
  background: #efdcd0;
}
.landing-copper {
  --venue-accent: #84513b; --venue-bg: #f4e9df; --venue-dark: #482d26; --venue-muted: #71584e; --venue-white: #fffaf4;
  --venue-hero: #835043; --venue-pattern: var(--art-lines); --venue-radius: 7px; --venue-heading: var(--heading-sans);
  background: #e8d5c7;
}
.landing { max-width: 568px; margin: 27px auto; min-height: min(760px,calc(100vh - 54px)); background: var(--venue-white); border-radius: 26px; overflow: hidden; box-shadow: 0 24px 72px #321a201c; }
.public-draft-banner { padding: 9px 12px; background: #fff1cd; color: #563c07; font-size: .9rem; text-align: center; font-weight: 650; }
.public-hero { min-height: 350px; display: grid; place-items: center; position: relative; isolation: isolate; background: var(--venue-hero); color: var(--venue-hero-ink, white); overflow: hidden; text-align: center; }
.public-hero.with-cover { color: white; }
.public-hero.with-cover::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,#241109d9,#2110096b 74%), linear-gradient(90deg,#1b090b38,#1b090b24); }
.public-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.public-pattern { position: absolute; inset: 0; z-index: -2; opacity: .64; background: var(--venue-pattern); }
.public-hero-inner { display: grid; gap: 7px; justify-items: center; padding: 32px 22px; }
.public-hero .site-icon { width: 69px; height: 69px; border-radius: var(--venue-radius); margin-bottom: 8px; background: var(--venue-white); color: var(--venue-accent); box-shadow: 0 6px 27px #170b1430; }
.public-type { font-size: .82rem; text-transform: uppercase; font-weight: 700; letter-spacing: .18em; }
.public-hero h1 { max-width: 100%; overflow-wrap: anywhere; font-family: var(--venue-heading); font-weight: 550; font-size: clamp(2.44rem,9vw,4.56rem); line-height: 1.03; letter-spacing: -.045em; }
.public-description { max-width: 330px; font-size: 1.04rem; line-height: 1.46; color: inherit; opacity: .94; }
.public-content { padding: 25px 27px; }
.public-actions { display: grid; gap: 11px; }
.menu-contact-actions { margin-top: 20px; }
.public-button { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 61px; padding: 10px 15px; border-radius: var(--venue-radius); font-weight: 675; background: var(--venue-bg); color: var(--venue-dark); }
.public-button:hover, .public-socials a:hover { box-shadow: inset 0 0 0 1px var(--venue-accent); }
.public-button.main-action { color: var(--venue-on-accent, white); background: var(--venue-accent); }
.public-button span { display: flex; align-items: center; gap: 10px; }
button.public-button { width: 100%; border: 0; text-align: left; }
.guest-info { display: grid; gap: 9px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin: 0 0 14px; }
.guest-info > div { display: grid; gap: 5px; align-content: start; padding: 13px; border-radius: 13px; background: var(--venue-bg); color: var(--venue-dark); }
.guest-info dt { display: flex; align-items: center; gap: 7px; font-weight: 700; }
.guest-info dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.guest-info code { font: inherit; font-weight: 700; }
.feedback-dialog { max-width: 540px; }
#modal.feedback-dialog { background: var(--venue-white); color: var(--venue-dark); border-color: var(--venue-bg); }
.feedback-dialog .form-stack :is(label,small) { color: var(--venue-dark); }
.feedback-dialog .form-stack :is(input:not(.sr-only),textarea) { background: var(--venue-bg); color: var(--venue-dark); border-color: var(--venue-muted); }
.feedback-dialog .modal-view { padding: clamp(15px, 5vw, 25px); }
.feedback-dialog .modal-header h2 { color: var(--venue-dark); }
.feedback-dialog .form-stack { gap: 12px; }
.feedback-stars { display: flex; justify-content: center; gap: clamp(2px, 1vw, 6px); padding: 2px; border: 0; margin: 0; }
.feedback-stars label { position: relative; cursor: pointer; }
.feedback-stars label span { display: grid; place-items: center; min-width: 42px; min-height: 47px; padding: 0 2px; border-radius: 10px; color: #776e85; font-size: clamp(1.85rem, 8vw, 2.55rem); }
.feedback-stars label.is-filled span { color: #a56509; background: #ffedc2; }
.feedback-stars label:hover span, .feedback-stars input:focus-visible + span { outline: 2px solid var(--venue-accent); outline-offset: 1px; }
.feedback-extra[hidden], .feedback-stars[hidden] { display: none; }
.feedback-extra textarea { resize: vertical; }
.feedback-thanks { text-align: center; color: var(--venue-dark); font-weight: 650; }
.public-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 19px 0 4px; }
.public-socials a { display: flex; align-items: center; gap: 7px; border-radius: 40px; background: var(--venue-bg); padding: 8px 11px; color: var(--venue-dark); font-size: .89rem; }
.public-footer { display: flex; align-items: center; justify-content: center; padding: 1px 8px 21px; gap: 5px; color: var(--venue-muted); font-size: .8rem; }
.public-menu-heading { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 16px; }
.public-menu-heading h2 { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 550; letter-spacing: -.03em; }
.public-menu-heading a { color: var(--venue-accent); font-size: .88rem; font-weight: 650; text-decoration: underline; }
.public-category:not(:last-child) { margin-bottom: 19px; }
.public-category h3 { font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; color: var(--venue-muted); }
.public-category ul { padding: 0; margin: 7px 0 0; list-style: none; }
.public-category li + li { border-top: 1px solid var(--venue-bg); }
.public-item { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 9px 7px; border: 0; border-radius: 9px; color: var(--venue-dark); background: transparent; text-align: left; }
.public-item:hover { background: var(--venue-bg); }
.public-item-copy { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.public-item-copy strong { display: block; }
.public-item-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--venue-muted); font-size: .88rem; margin-top: 3px; }
.public-item-price { flex: none; white-space: nowrap; font-weight: 690; }
#modal.public-item-dialog { width: min(490px,calc(100% - 26px)); background: var(--venue-white); color: var(--venue-dark); border-color: var(--venue-bg); border-radius: 21px; }
.public-item-dialog .modal-view { padding: 18px; }
.public-item-dialog .modal-header { margin-bottom: 10px; }
.public-item-dialog .modal-header h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem,6vw,2rem); font-weight: 550; overflow-wrap: anywhere; }
.public-item-dialog .icon-button { flex: none; color: var(--venue-muted); }
.public-item-dialog .icon-button:hover { background: var(--venue-bg); }
.public-item-photo { width: 100%; max-height: min(42dvh,340px); aspect-ratio: 4 / 3; object-fit: contain; background: var(--venue-bg); border-radius: 12px; }
.public-item-detail { display: grid; gap: 9px; }
.public-item-photo + .public-item-detail { margin-top: 14px; }
.public-item-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .95rem; color: var(--venue-muted); }
.public-item-meta strong { color: var(--venue-accent); font-size: 1.12rem; white-space: nowrap; }
.public-item-detail p { white-space: pre-line; overflow-wrap: anywhere; }
.tip-page { min-height: 100dvh; display: grid; place-items: start center; padding: clamp(18px, 7vh, 60px) 12px; }
.tip-page-card { display: grid; align-content: start; justify-items: stretch; gap: 13px; width: min(100%, 465px); padding: clamp(17px, 5vw, 30px); border-radius: 23px; background: var(--venue-white); box-shadow: 0 17px 43px #321a2016; }
.tip-page-card > .site-icon { justify-self: center; }
.tip-venue { color: var(--venue-muted); text-align: center; font-size: .9rem; font-weight: 650; overflow-wrap: anywhere; }
.tip-page-card h1 { font: 550 clamp(1.85rem, 6vw, 2.5rem)/1.08 Georgia, serif; text-align: center; letter-spacing: -.03em; }
.tip-choices, .tip-amount-form { display: grid; gap: 9px; margin-top: 4px; }
.public-button.tip-choice > span { display: grid; gap: 3px; overflow-wrap: anywhere; }
.tip-recipient, .tip-note { font-size: .9rem; font-weight: 450; color: var(--venue-muted); overflow-wrap: anywhere; }
.tip-provider, .tip-receipt { font-weight: 675; text-align: center; overflow-wrap: anywhere; }
.tip-provider .tip-recipient { display: block; }
.tip-home { justify-self: center; color: var(--venue-accent); font-size: .91rem; text-decoration: underline; text-underline-offset: .18em; margin-top: 4px; }
.tip-presets { display: grid; gap: 5px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tip-presets button { padding: 6px 3px; min-height: 43px; border: 1px solid var(--venue-bg); border-radius: 9px; background: var(--venue-bg); color: var(--venue-dark); font-size: .9rem; white-space: nowrap; }
.tip-presets button:hover { border-color: var(--venue-accent); }
.tip-amount-form label { display: grid; gap: 4px; font-size: .92rem; font-weight: 650; }
.tip-amount-form input[name=amount] { width: 100%; min-height: 44px; border: 1px solid var(--venue-muted); border-radius: 9px; background: var(--venue-white); padding: 8px 11px; font-size: 1rem; }
.tip-amount-form button[type=submit] { justify-content: center; border: 0; min-height: 48px; }

@media (min-width:1450px) {
  .metric { padding: 16px 19px; }
  .welcome-art { right: 8%; }
}
@media (max-width:1130px) {
  :root { --sidebar: 194px; }
  .main-content { padding-inline: 23px; }
  .topbar { padding-inline: 23px; }
  .metric { padding-inline: 11px; }
  .metric-head { gap: 6px; }
  .metric-head .icon-tile { width: 31px; height: 31px; }
  .metric-foot { flex-wrap: wrap; gap: 3px; }
  .welcome-art { right: 3px; }
}
@media (max-width:880px) {
  :root { --sidebar: 180px; }
  .main-content { padding-inline: 17px; }
  .topbar { padding-inline: 17px; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .metric { min-height: 112px; }
  .chart-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .site-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .welcome-art { right: -50px; transform: translateY(-50%) scale(.76); }
  .welcome-copy { padding-left: 18px; }
  .welcome-mobile-break { display: initial; }
}
@media (max-width:640px) {
  .main-frame { margin-left: 0; }
  .sidebar { transform: translateX(-100%); transition: transform .2s; width: min(260px,82vw); }
  .sidebar.opened { transform: translateX(0); }
  .mobile-toggle { display: inline-grid !important; margin-left: -5px; }
  .nav-backdrop { display: block !important; z-index: 4; position: fixed; inset: 0; background: #211b3c63; width: 100%; border: 0; }
  .topbar { height: 57px; padding: 0 12px; }
  .crumbs { gap: 5px; font-size: .86rem; }
  .crumbs .crumb-root, .crumb-root + .crumb-separator { display: none; }
  .account-name { display: none; }
  .main-content { padding: 19px 13px 35px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 11px; margin-bottom: 15px; }
  .page-heading p { margin-top: 4px; font-size: .93rem; }
  .heading-actions { gap: 7px; }
  .button, .select-ui { min-height: 40px; padding-inline: 10px; }
  .select-ui select { min-height: 38px; }
  .period-select { min-width: 155px; }
  .welcome { min-height: 150px; margin-bottom: 13px; }
  .welcome-copy { padding: 15px 12px; max-width: 71%; }
  .welcome-tag { font-size: .64rem; margin-bottom: 5px; }
  .welcome h2 { font-size: clamp(1.26rem,5vw,1.73rem); }
  .welcome p { font-size: .79rem; line-height: 1.35; margin-top: 6px; }
  .wide-break { display: none; }
  .welcome-art { width: 370px; right: -113px; transform: translateY(-50%) scale(.60); }
  .metrics { margin-bottom: 13px; }
  .metric { border-radius: 13px; min-height: 110px; padding: 9px; }
  .metric-head { font-size: .76rem; }
  .metric-head .icon-tile { width: 26px; height: 26px; border-radius: 8px; }
  .metric-head .icon-tile svg { width: 17px; height: 17px; }
  .metric-number { font-size: 1.56rem; }
  .metric-foot { font-size: .66rem; gap: 3px; white-space: normal; }
  .chart-panel, .actions-panel { padding: 13px; }
  .chart-layout h2 { font-size: 1.035rem; }
  .legend { gap: 6px; font-size: .67rem; }
  .x-labels { font-size: .65rem; }
  .site-section { margin-top: 17px; }
  .site-grid { grid-template-columns: minmax(0,1fr); }
  .site-toolbar > span { display: none; }
  .form-panel, .modal-view { padding: 14px; }
  .site-photo-grid { grid-template-columns: minmax(0, 1fr); }
  .tabs { gap: 10px; }
  .tabs a { font-size: .82rem; }
  .table-wrap { max-width: 100%; }
  .detail-heading { flex-wrap: wrap; }
  .nfc-banner { padding: 9px; gap: 8px; grid-template-columns: auto minmax(0,1fr); }
  .nfc-banner .button { grid-column: 2; justify-self: start; }
  .landing { margin: 0; min-height: 100dvh; max-width: none; border-radius: 0; box-shadow: none; }
  .public-hero { min-height: 310px; }
  .public-content { padding: 20px 15px; }
}
@media (max-width:345px) {
  .welcome-art { right: -137px; }
  .chart-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .form-grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { transition: none !important; }
}
