/* Lookbert web app + sign-in screens. */
@font-face { font-family: "LB DM Sans"; font-weight: 400; font-display: swap; src: url(../fonts/dm-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "LB DM Sans"; font-weight: 700; font-display: swap; src: url(../fonts/dm-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "LB Grotesk"; font-weight: 700; font-display: swap; src: url(../fonts/space-grotesk-latin-700-normal.woff2) format("woff2"); }

:root {
	--ink: #0b0d10; --ink-2: #15181d; --ink-3: #23272e;
	--text: #16181c; --muted: #646a73; --line: #e6e4df; --line-2: #d6d3cc;
	--bg: #f6f5f2; --card: #fff;
	--orange: #ec6601; --orange-d: #c95500; --orange-l: #fff2e8;
	--green: #12805c; --green-l: #e7f6ef; --red: #c4321f; --red-l: #fdecea;
	--r: 14px; --r-sm: 10px;
	--shadow: 0 1px 2px rgba(16,18,22,.04), 0 4px 16px rgba(16,18,22,.05);
	--font: "LB DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--head: "LB Grotesk", "LB DM Sans", -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 15px/1.5 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--orange-d); }
h1, h2, h3 { font-family: var(--head); letter-spacing: -.01em; line-height: 1.2; margin: 0; }
h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
h3 svg { color: var(--orange); }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lb-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ---------- Buttons ---------- */
.lb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .05s; white-space: nowrap; line-height: 1.2; }
.lb-btn:active { transform: translateY(1px); }
.lb-btn-primary { background: var(--orange); color: #fff; }
.lb-btn-primary:hover { background: var(--orange-d); }
.lb-btn-ghost { background: #fff; color: var(--text); border-color: var(--line-2); }
.lb-btn-ghost:hover { border-color: var(--text); }
.lb-btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.22); }
.lb-btn-ghost-light:hover { background: rgba(255,255,255,.18); }
.lb-btn-text { background: none; color: var(--orange-d); padding-left: 0; padding-right: 0; }
.lb-btn-text:hover { text-decoration: underline; }
.lb-btn-danger { background: var(--red); color: #fff; }
.lb-btn-danger:hover { background: #a2281a; }
.lb-btn-sm { padding: 7px 12px; font-size: 13.5px; border-radius: 8px; }
.lb-btn-block { width: 100%; padding: 13px 18px; }
.lb-btn.is-static { cursor: default; color: var(--muted); }
.lb-btn[disabled] { opacity: .55; cursor: not-allowed; }
.lb-icon-btn { border: 0; background: none; cursor: pointer; padding: 5px; border-radius: 7px; color: var(--muted); line-height: 0; font-size: 10px; }
.lb-icon-btn:hover { background: #f0eee9; color: var(--text); }
.lb-danger { color: var(--red) !important; }
.lb-pill { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 700; background: #eee; color: var(--muted); letter-spacing: .02em; }
.lb-pill-pro { background: var(--orange-l); color: var(--orange-d); }

/* ---------- Layout helpers ---------- */
.lb-row { display: flex; gap: 10px; align-items: center; }
.lb-row-between { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.lb-wrap { flex-wrap: wrap; }
.lb-grow { flex: 1; min-width: 0; }
.lb-mt { margin-top: 16px; } .lb-mt-sm { margin-top: 8px; } .lb-mb { margin-bottom: 16px; }
.lb-center { text-align: center; }
.lb-muted { color: var(--muted); margin: 6px 0 14px; }
.lb-hint { display: block; color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.lb-hint.is-ok { color: var(--green); } .lb-hint.is-error { color: var(--red); }
.lb-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; color: var(--orange); margin: 0 0 6px; }
.lb-hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.lb-alert { padding: 12px 16px; border-radius: var(--r-sm); font-size: 14.5px; border: 1px solid; }
.lb-alert.is-ok { background: var(--green-l); border-color: #bfe5d4; color: #0b5c41; }
.lb-alert.is-error { background: var(--red-l); border-color: #f4c7c0; color: #8e2416; }

/* ---------- Cards / grid ---------- */
.lb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.lb-span-2 { grid-column: 1 / -1; }
.lb-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); position: relative; }
.lb-card-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.lb-card-dark h3 { color: #fff; margin: 10px 0 8px; }
.lb-ticks { list-style: none; padding: 0; margin: 10px 0 18px; }
.lb-ticks li { padding: 5px 0 5px 26px; position: relative; }
.lb-ticks li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 12px; height: 7px; border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(-45deg); }

/* ---------- Forms ---------- */
.lb-form { display: flex; flex-direction: column; gap: 14px; }
.lb-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lb-field > span { font-weight: 700; font-size: 13.5px; }
.lb-field em { font-style: normal; font-weight: 400; color: var(--muted); }
.lb-sec .lb-field + .lb-field, .lb-sec .lb-field + .lb-two, .lb-sec .lb-two + .lb-field, .lb-sec .lb-two + .lb-two, .lb-sec .lb-chips + .lb-two, .lb-sec .lb-check + .lb-field { margin-top: 14px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=tel], input[type=date], input[type=time], input[type=number], select, textarea {
	width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font-size: 15px; transition: border-color .15s, box-shadow .15s; min-height: 42px;
}
textarea { resize: vertical; min-height: 90px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(236,102,1,.15); }
input:disabled, select:disabled { background: #f4f3f0; color: #9a9ea5; }
input[type=color] { width: 100%; height: 42px; padding: 3px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer; }
.lb-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lb-check { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.lb-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
.lb-slug { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: #fff; }
.lb-slug span { padding: 10px 2px 10px 12px; color: var(--muted); white-space: nowrap; background: #faf9f7; }
.lb-slug input { border: 0; border-radius: 0; padding-left: 2px; min-width: 0; }
.lb-slug:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(236,102,1,.15); }
.lb-slug input:focus { box-shadow: none; }
.lb-switch { display: inline-flex; gap: 9px; align-items: center; cursor: pointer; font-size: 14px; font-weight: 700; }
.lb-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lb-switch i { width: 38px; height: 22px; border-radius: 99px; background: #cfccc5; position: relative; transition: background .15s; flex: none; }
.lb-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.lb-switch input:checked + i { background: var(--orange); }
.lb-switch input:checked + i::after { transform: translateX(16px); }
.lb-switch input:focus-visible + i { box-shadow: 0 0 0 3px rgba(236,102,1,.3); }
.lb-switch input:disabled + i { opacity: .5; }
.lb-seg { display: inline-flex; flex-wrap: wrap; background: #efede8; border-radius: 11px; padding: 3px; gap: 2px; }
.lb-seg label, .lb-seg a { position: relative; }
.lb-seg input { position: absolute; opacity: 0; }
.lb-seg span, .lb-seg a { display: inline-flex; gap: 6px; align-items: center; padding: 7px 13px; border-radius: 9px; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; text-decoration: none; }
.lb-seg input:checked + span, .lb-seg a.is-on { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.lb-seg input:focus-visible + span { outline: 2px solid var(--orange); }
.lb-seg a.is-locked { opacity: .75; }
.lb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 99px; border: 1px solid var(--line-2); background: #fff; font-weight: 700; font-size: 14px; cursor: pointer; transition: all .15s; }
.lb-chip:hover { border-color: var(--orange); color: var(--orange-d); }
.lb-chips-check .lb-chip input { position: absolute; opacity: 0; width: 1px; }
.lb-chips-check .lb-chip:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.lb-chips-check .lb-chip:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(236,102,1,.3); }
.lb-chips-check .lb-chip:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.is-locked > span .lb-pill { margin-left: 6px; }

/* ---------- App shell ---------- */
.lb-app { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.lb-side { background: var(--ink); color: #c9ccd1; padding: 22px 14px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.lb-side-logo { padding: 4px 10px 6px; display: block; }
.lb-side-logo img { display: block; width: 128px; height: auto; }
.lb-side-page { display: grid; grid-template-columns: 1fr auto; padding: 10px 12px; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--ink-3); color: #fff; text-decoration: none; align-items: center; column-gap: 8px; }
.lb-side-page:hover { border-color: #3a3f48; }
.lb-side-page-l { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #8b9099; grid-column: 1; }
.lb-side-page-u { font-weight: 700; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; grid-column: 1; }
.lb-side-page svg { grid-column: 2; grid-row: 1 / 3; color: #8b9099; }
.lb-nav { display: flex; flex-direction: column; gap: 2px; }
.lb-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: #c9ccd1; text-decoration: none; font-weight: 700; font-size: 14.5px; }
.lb-nav a:hover { background: var(--ink-2); color: #fff; }
.lb-nav a.is-active { background: var(--ink-3); color: #fff; box-shadow: inset 3px 0 0 var(--orange); }
.lb-nav a.is-active svg { color: var(--orange); }
.lb-dot-count { margin-left: auto; background: var(--orange); color: #fff; border-radius: 99px; font-size: 11px; padding: 1px 7px; }
.lb-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.lb-side-pro { display: block; padding: 14px; border-radius: 12px; background: linear-gradient(135deg, #ec6601, #ff8a2a); color: #fff; text-decoration: none; }
.lb-side-pro b { display: block; font-size: 15px; }
.lb-side-pro span { font-size: 12.5px; opacity: .92; }
.lb-side-foot > .lb-pill-pro { align-self: flex-start; margin-left: 10px; }
.lb-side-link { display: flex; gap: 8px; align-items: center; color: #8b9099; text-decoration: none; padding: 6px 10px; font-size: 13.5px; }
.lb-side-link:hover { color: #fff; }
.lb-main { min-width: 0; display: flex; flex-direction: column; }
.lb-top { display: flex; align-items: center; gap: 16px; padding: 18px 32px; background: rgba(246,245,242,.9); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent; }
.lb-top h1 { font-size: 24px; }
.lb-top-logo { display: none; }
.lb-top-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lb-save-state { font-size: 13px; color: var(--muted); }
.lb-save-state.is-saving::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-right: 6px; animation: lbpulse 1s infinite; }
.lb-save-state.is-error { color: var(--red); }
@keyframes lbpulse { 50% { opacity: .3; } }
.lb-content { padding: 8px 32px 48px; max-width: 1180px; width: 100%; }
.lb-tabbar { display: none; }

/* ---------- Home ---------- */
.lb-hero-card { background: radial-gradient(120% 140% at 100% 0%, #2a1406 0%, var(--ink) 55%); color: #fff; border-radius: 18px; padding: 28px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-end; box-shadow: var(--shadow); }
.lb-hero-card h2 { font-size: 30px; margin-bottom: 14px; }
.lb-linkbox { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lb-linkbox > a { color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; padding: 7px 14px; background: rgba(255,255,255,.08); border-radius: 9px; border: 1px solid rgba(255,255,255,.14); }
.lb-hero-stats { display: flex; gap: 26px; align-items: flex-end; flex-wrap: wrap; }
.lb-hero-stats div b { display: block; font-family: var(--head); font-size: 34px; line-height: 1; }
.lb-hero-stats div span { color: #a9adb4; font-size: 13px; }
.lb-hero-stats small { color: #7f848c; font-size: 12px; flex-basis: 100%; text-align: right; }
.lb-notice-live { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--orange-l); color: #7a3600; margin-bottom: 12px; font-size: 14px; }
.lb-notice-live span { display: flex; gap: 6px; align-items: center; }
#lb-custom-notice input { flex: 1; }
.lb-progress { height: 8px; background: #efede8; border-radius: 99px; overflow: hidden; margin: 12px 0 8px; }
.lb-progress i { display: block; height: 100%; background: var(--orange); border-radius: 99px; }
.lb-checklist { list-style: none; margin: 0; padding: 0; }
.lb-checklist a { display: flex; gap: 12px; align-items: center; padding: 10px 2px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14.5px; }
.lb-checklist li:last-child a { border: 0; }
.lb-checklist a > svg { margin-left: auto; color: #b4b1aa; }
.lb-checklist .is-done a { color: var(--muted); font-weight: 400; text-decoration: line-through; }
.lb-tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; flex: none; }
.is-done .lb-tick { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- Editor ---------- */
.lb-editor { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
.lb-editor-form { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.lb-sec h3 { margin-bottom: 4px; }
.lb-sec > h3 + .lb-field, .lb-sec > h3 + .lb-avatar-row { margin-top: 14px; }
.lb-editor-preview { position: sticky; top: 84px; }
.lb-phone-frame { width: 340px; height: 690px; max-height: calc(100vh - 150px); border-radius: 44px; background: var(--ink); padding: 12px; box-shadow: 0 30px 60px -20px rgba(16,18,22,.35); position: relative; margin: 0 auto; }
.lb-phone-frame::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 99px; background: #000; z-index: 2; }
.lb-phone-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 34px; background: #fff; display: block; }
.lb-preview-toggle { display: none; }
.lb-avatar-row { display: flex; gap: 16px; align-items: center; }
.lb-avatar { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--head); font-size: 26px; flex: none; }
.lb-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lb-list { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 14px; }
.lb-item { border: 1px solid var(--line); border-radius: 12px; background: #fcfbf9; padding: 8px; }
.lb-item.is-off { opacity: .6; }
.lb-item-bar { display: flex; gap: 6px; align-items: center; }
.lb-item-bar input { min-height: 38px; padding: 7px 10px; }
.lb-item-move { display: inline-flex; flex-direction: column; }
.lb-item-move .lb-icon-btn { padding: 2px 5px; }
.lb-emoji { width: 52px !important; text-align: center; flex: none; }
.lb-price { width: 90px !important; flex: none; }
.lb-item-url { margin: 6px 0 0 34px; }
.lb-item-svc .lb-item-url { margin-left: 34px; }
.lb-item-url input { min-height: 38px; padding: 7px 10px; font-size: 14px; }
.lb-item-more { margin: 10px 0 4px 34px; display: flex; flex-direction: column; gap: 12px; }
.lb-item.is-open [data-toggle-item] svg { transform: rotate(90deg); }
.lb-hours { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 16px; }
.lb-hours-row { display: grid; grid-template-columns: 110px 92px 1fr auto 1fr; gap: 10px; align-items: center; }
.lb-hours-row input[type=time] { min-height: 38px; padding: 6px 10px; }
.lb-hours-row.is-closed input[type=time] { opacity: .35; pointer-events: none; }
.lb-hours-row > span { color: var(--muted); font-size: 13px; }
.lb-hours > .lb-btn { align-self: flex-start; }
.lb-socials { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.lb-soc-row { display: flex; gap: 10px; align-items: center; }
.lb-soc-row > svg { width: 22px; height: 22px; flex: none; fill: var(--text); }
.lb-soc-row input { min-height: 38px; padding: 7px 10px; }
.lb-themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin: 12px 0 16px; }
.lb-theme { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-weight: 700; font-size: 13.5px; text-align: left; position: relative; }
.lb-theme:hover { border-color: var(--line-2); }
.lb-theme.is-on { border-color: var(--orange); }
.lb-theme .lb-pill { position: absolute; top: 8px; right: 8px; }
.lb-theme-sw { width: 100%; height: 44px; border-radius: 8px; background: var(--tb); display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid rgba(0,0,0,.08); }
.lb-theme-sw i { display: block; width: 60%; height: 9px; border-radius: 99px; background: var(--ta); }
.lb-theme-sw i + i { width: 14px; height: 14px; border-radius: 50%; }

/* ---------- Stats ---------- */
.lb-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lb-kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); }
.lb-kpi span { color: var(--muted); font-size: 13px; font-weight: 700; }
.lb-kpi b { display: block; font-family: var(--head); font-size: 30px; line-height: 1.15; margin: 4px 0; }
.lb-kpi small { color: var(--muted); font-size: 12.5px; }
.lb-legend { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.lb-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-left: 8px; }
.lb-legend .v, .lb-bar .v { background: var(--ink); }
.lb-legend .t, .lb-bar .t { background: var(--orange); }
.lb-chart { display: flex; align-items: flex-end; gap: 2px; height: 200px; margin-top: 18px; border-bottom: 1px solid var(--line); }
.lb-bar { flex: 1; height: 100%; display: flex; align-items: flex-end; gap: 1px; min-width: 0; }
.lb-bar i { flex: 1; border-radius: 3px 3px 0 0; min-height: 1px; }
.lb-bar:hover i { opacity: .75; }
.lb-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 6px; }
.lb-locked-card .lb-chart, .lb-locked-card .lb-axis { filter: blur(3px); opacity: .5; pointer-events: none; }
.lb-lock-over { position: absolute; inset: 60px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.lb-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.lb-table th { text-align: left; font-size: 12.5px; color: var(--muted); font-weight: 700; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.lb-table td { padding: 10px 6px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.lb-table .num { text-align: right; font-variant-numeric: tabular-nums; width: 80px; }
.lb-meter { display: block; height: 8px; background: #efede8; border-radius: 99px; overflow: hidden; min-width: 120px; }
.lb-meter i { display: block; height: 100%; background: var(--orange); border-radius: 99px; }

/* ---------- Share ---------- */
.lb-linkbig { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.lb-linkbig span { font-family: var(--head); font-size: 24px; font-weight: 700; padding: 8px 16px; background: var(--orange-l); border-radius: 12px; color: #7a3600; word-break: break-all; }
.lb-qr { width: 220px; max-width: 100%; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.lb-qr svg { width: 100%; height: 100%; display: block; }
.lb-steps { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: s; }
.lb-steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.lb-steps li:last-child { border: 0; }
.lb-steps li::before { content: counter(s); grid-row: 1 / 3; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.lb-steps span { color: var(--muted); font-size: 14px; }

/* ---------- Billing ---------- */
.lb-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 860px; }
.lb-plan { display: flex; flex-direction: column; }
.lb-plan .lb-ticks { flex: 1; }
.lb-plan-pro { border: 2px solid var(--orange); }
.lb-plan-pro > .lb-pill { position: absolute; top: -12px; left: 22px; background: var(--orange); color: #fff; }
.lb-price-big { font-family: var(--head); font-size: 44px; font-weight: 700; margin: 10px 0 4px; line-height: 1; }
.lb-price-big small { font-size: 16px; color: var(--muted); font-weight: 400; font-family: var(--font); }
.lb-interval { display: inline-flex; background: #efede8; border-radius: 10px; padding: 3px; margin-top: 12px; align-self: flex-start; }
.lb-interval label { position: relative; }
.lb-interval input { position: absolute; opacity: 0; }
.lb-interval span { display: block; padding: 6px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 700; color: var(--muted); cursor: pointer; }
.lb-interval input:checked + span { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.lb-plan-current { max-width: 860px; }

/* ---------- Help ---------- */
.lb-tickets { list-style: none; margin: 10px 0 0; padding: 0; }
.lb-tickets a { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.lb-tickets li:last-child a { border: 0; }
.lb-tickets a span:first-child { display: flex; flex-direction: column; min-width: 0; }
.lb-tickets small { color: var(--muted); }
.lb-status { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #eee; color: var(--muted); white-space: nowrap; }
.lb-status.is-new { background: var(--orange); color: #fff; }
.lb-status.is-open { background: #eef1f7; color: #3c4b6a; }
.lb-status.is-done { background: var(--green-l); color: var(--green); }
.lb-thread-card { max-width: 820px; }
.lb-thread { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.lb-msg { border-radius: 14px; padding: 12px 16px; max-width: 88%; }
.lb-msg.is-me { background: #f1efea; align-self: flex-end; }
.lb-msg.is-team { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--orange); }
.lb-msg-h { display: flex; gap: 10px; align-items: baseline; margin-bottom: 4px; font-size: 13.5px; }
.lb-msg-h small { color: var(--muted); }
.lb-msg-b { font-size: 15px; }
.lb-msg-sys { text-align: center; font-size: 12.5px; color: var(--muted); }

/* ---------- Auth ---------- */
.lb-auth-body { background: #fff; }
.lb-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.lb-auth-main { padding: 40px clamp(24px, 6vw, 80px); max-width: 560px; width: 100%; justify-self: center; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.lb-auth-logo { margin-bottom: 28px; display: inline-block; }
.lb-auth-logo img { display: block; }
.lb-auth-main h1 { font-size: 32px; margin-bottom: 4px; }
.lb-auth-main .lb-alert { margin: 12px 0 4px; }
.lb-auth-main .lb-form { margin-top: 14px; }
.lb-auth-side { background: radial-gradient(90% 70% at 80% 10%, #3a1a05 0%, var(--ink) 60%); color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 36px; padding: 48px; overflow: hidden; }
.lb-auth-pitch { max-width: 400px; }
.lb-auth-pitch h2 { font-size: 34px; margin-bottom: 18px; }
.lb-auth-pitch ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: #d6d8dc; }
.lb-auth-pitch li { display: flex; gap: 10px; align-items: center; }
.lb-auth-pitch svg { color: var(--orange); flex: none; }

/* Mini phone (sign-up preview) */
.lb-phone { width: 300px; border-radius: 36px; background: #fff; color: #16181c; padding: 30px 20px 18px; box-shadow: 0 0 0 10px #000, 0 40px 80px -20px rgba(0,0,0,.6); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.lb-phone-ini { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--head); font-size: 22px; }
.lb-phone-name { font-family: var(--head); font-weight: 700; font-size: 19px; }
.lb-phone-st { font-size: 12px; font-weight: 700; color: var(--green); display: flex; gap: 6px; align-items: center; background: var(--green-l); padding: 3px 10px; border-radius: 99px; }
.lb-phone-st i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.lb-phone-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: 4px; }
.lb-phone-acts span { background: var(--ink); color: #fff; border-radius: 12px; padding: 10px; font-weight: 700; font-size: 13px; }
.lb-phone-up { width: 100%; border-radius: 12px; background: var(--orange-l); border: 1px solid #ffd3b0; padding: 9px 12px; text-align: left; font-weight: 700; font-size: 13px; }
.lb-phone-up small { display: block; color: var(--orange-d); text-transform: uppercase; letter-spacing: .06em; font-size: 10px; }
.lb-phone-l { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px; font-weight: 700; font-size: 13px; }
.lb-phone-url { margin-top: 6px; font-size: 11px; color: var(--muted); }

/* ---------- Contact shortcode (used on the marketing site too) ---------- */
.lb-contact { max-width: 640px; }
.lb-contact-form { display: flex; flex-direction: column; gap: 14px; }
.lb-contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.lb-contact-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lb-contact-btn { align-self: flex-start; background: var(--orange); color: #fff; border: 0; border-radius: 10px; padding: 12px 22px; font-weight: 700; cursor: pointer; }
.lb-contact-ok, .lb-contact-err, .lb-contact-note { padding: 12px 16px; border-radius: 10px; margin-bottom: 14px; }
.lb-contact-ok { background: var(--green-l); color: #0b5c41; }
.lb-contact-err { background: var(--red-l); color: #8e2416; }
.lb-contact-note { background: var(--orange-l); color: #7a3600; }

/* ---------- Toast ---------- */
.lb-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 12px; font-weight: 700; font-size: 14px; opacity: 0; transition: all .2s; z-index: 100; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: calc(100% - 32px); }
.lb-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.lb-toast a { color: #ffb57a; pointer-events: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.lb-editor { grid-template-columns: minmax(0, 1fr); }
	.lb-editor-preview { display: none; position: fixed; inset: 0; z-index: 60; background: rgba(11,13,16,.85); top: 0; align-items: center; justify-content: center; flex-direction: column; padding: 20px; }
	.lb-editor-preview .lb-hint { color: #c9ccd1; }
	.lb-editor.is-previewing .lb-editor-preview { display: flex; }
	.lb-preview-toggle { display: inline-flex; align-items: center; gap: 8px; position: fixed; left: 18px; bottom: 20px; z-index: 61; background: var(--ink); color: #fff; border: 0; border-radius: 99px; padding: 12px 18px; font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.25); cursor: pointer; }
	.lb-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.lb-app { grid-template-columns: 1fr; }
	.lb-side { display: none; }
	.lb-top { padding: 12px 16px; gap: 12px; }
	.lb-top h1 { font-size: 18px; }
	.lb-top-logo { display: block; }
	.lb-top-logo img { display: block; width: 92px; }
	.lb-top h1 { font-size: 16px; color: var(--muted); border-left: 1px solid var(--line-2); padding-left: 12px; }
	.lb-top-actions .lb-btn span { display: none; }
	.lb-content { padding: 6px 14px 110px; }
	.lb-grid, .lb-plans { grid-template-columns: 1fr; }
	.lb-card { padding: 18px; }
	.lb-hero-card { padding: 22px; }
	.lb-hero-card h2 { font-size: 24px; }
	.lb-hero-stats small { text-align: left; }
	.lb-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); z-index: 50; }
	.lb-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 700; color: var(--muted); text-decoration: none; padding: 4px 0; }
	.lb-tabbar a.is-active { color: var(--orange-d); }
	.lb-two, .lb-contact-two { grid-template-columns: 1fr; }
	.lb-hours-row { grid-template-columns: 1fr auto; row-gap: 6px; }
	.lb-hours-row b { grid-column: 1; }
	.lb-hours-row .lb-check { grid-column: 2; }
	.lb-hours-row input[type=time] { grid-column: 1 / -1; }
	.lb-hours-row > span { display: none; }
	.lb-item-url, .lb-item-more { margin-left: 0; }
	.lb-hide-sm { display: none; }
	.lb-preview-toggle { bottom: calc(78px + env(safe-area-inset-bottom)); left: 14px; }
	.lb-phone-frame { width: min(340px, 92vw); height: min(690px, 78vh); }
	.lb-auth { grid-template-columns: 1fr; }
	.lb-auth-side { display: none; }
	.lb-auth-main { padding: 28px 22px 48px; justify-content: flex-start; }
	.lb-auth-logo { margin-bottom: 20px; }
	.lb-auth-main h1 { font-size: 26px; }
	.lb-msg { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
