/* Open House Solutions. Semi-dark grey, MailerLite-style layout: one highlighted phrase, sample
   screens (kept white, like real screens) floating on tinted panels. Mark: img/ohs-mark.svg. */
:root {
  /* page */
  --bg: #2B2E33;
  --bg-2: #32363B;
  --surface: #3A3E44;
  --surface-2: #42474E;
  --line: #474C54;
  --line-2: #575D66;
  --ink: #F3F5F7;
  --ink-2: #D2D7DC;
  --muted: #A5ADB6;
  --accent: #3DD6B5;
  --accent-hover: #63E2C6;
  --accent-ink: #0E201C;
  --accent-soft: rgba(61, 214, 181, .14);
  --accent-soft-2: rgba(61, 214, 181, .22);
  --accent-text: #7EEED5;
  --amber: #FFC857;
  --panel-mint: #2F403B;
  --panel-peach: #43392F;
  --panel-lavender: #383747;
  --panel-sky: #313B47;
  /* stand-in for listing photos (drawn here, so VanOps owns it): houses on a teal gradient */
  --photo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80'%3E%3Cg fill='%23fff' fill-opacity='.6'%3E%3Cpath d='M18 80V50l22-18 22 18v30Z'/%3E%3Cpath d='M138 80V52l21-17 21 17v28Z'/%3E%3C/g%3E%3Cpath d='M68 80V42l32-26 32 26v38Z' fill='%23fff' fill-opacity='.85'/%3E%3Cpath d='M94 80V64a6 6 0 0 1 12 0v16Z' fill='%23FFC857'/%3E%3C/svg%3E") 50% 100% / 78% auto no-repeat, linear-gradient(160deg, #d7ebe8 0%, #9cc9c3 55%, #5fa59c 100%);
  /* inside the white sample screens */
  --m-ink: #141A1F;
  --m-ink-2: #333B42;
  --m-muted: #5D6670;
  --m-line: #E6E9EB;
  --m-soft: #F4F6F6;
  --m-primary: #0B7F6D;
  --m-mint: #DDF5EC;
  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .2), 0 4px 12px rgba(0, 0, 0, .18);
  --shadow: 0 2px 6px rgba(0, 0, 0, .22), 0 20px 44px rgba(0, 0, 0, .34);
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0 0 .45em; letter-spacing: -.025em; line-height: 1.1; color: var(--ink); }
h1 { font-size: clamp(38px, 5.2vw, 68px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 750; max-width: 20ch; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
a { color: var(--accent); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 860px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* the highlighted phrase */
.hl-box { display: inline-block; background: var(--accent-soft-2); color: var(--accent-text); border-radius: .14em; padding: 0 .16em; transition: opacity .25s ease, transform .25s ease; }
.hl-box.out { opacity: 0; transform: translateY(.12em); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-weight: 600; font-size: 15px; text-decoration: none; border-radius: 8px; padding: 10px 18px; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(43, 46, 51, .92); backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-text { display: grid; gap: 4px; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.brand-name em { font-style: normal; font-weight: 400; letter-spacing: -.02em; color: var(--accent); margin-left: .18em; }
.brand-sub { font-size: 11px; font-weight: 500; color: var(--muted); line-height: 1; letter-spacing: .01em; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.site-nav a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.bars, .bars::before, .bars::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; content: ''; }
.bars { top: 21px; }
.bars::before { top: -7px; left: 0; }
.bars::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 96px); }
.hero h1 { max-width: none; }
.lede { font-size: clamp(17px, 1.45vw, 19px); color: var(--muted); max-width: 58ch; margin-top: 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.micro { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; }
.micro span:not(:last-child)::after { content: '|'; margin: 0 10px; color: var(--line-2); }

/* Collage of sample screens */
.collage { position: relative; margin-top: clamp(48px, 6vw, 72px); height: 580px; border-radius: 24px; background: linear-gradient(105deg, #3B4046 0%, #344742 32%, #23685B 62%, #1D8B74 82%, #27AC8F 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.float-card { position: absolute; background: #fff; color: var(--m-ink); border-radius: 14px; box-shadow: var(--shadow); }
.c-label { position: absolute; width: 250px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.c-label b { display: block; font-size: 15px; color: #fff; margin-bottom: 3px; }
.c-label.light span { color: #DDF3EE; }
.c-label-email { left: 25%; top: 34px; }
.c-label-stats { left: 22px; top: 400px; width: 200px; }
.c-label-qr { right: 48px; top: 34px; width: 260px; text-align: right; }

.c-email { left: 25%; top: 96px; width: 360px; padding: 18px 18px 16px; }
.ce-subject { font-weight: 700; font-size: 14.5px; margin: 0; letter-spacing: -.01em; }
.ce-from { font-size: 12px; color: var(--m-muted); margin: 2px 0 12px; }
.ce-photo { height: 150px; border-radius: 10px; background: var(--photo); margin-bottom: 12px; }
.ce-text { font-size: 13px; margin: 0 0 10px; color: var(--m-ink-2); }
.ce-lines { display: grid; gap: 6px; margin-bottom: 14px; }
.ce-lines span { height: 7px; border-radius: 4px; background: #EDF0F1; }
.ce-lines .short { width: 60%; }
.ce-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ce-btn { background: var(--m-primary); color: #fff; font-weight: 700; font-size: 12.5px; padding: 7px 16px; border-radius: 6px; }
.ce-attach { font-size: 12px; font-weight: 600; border: 1px solid var(--m-line); border-radius: 6px; padding: 5px 9px; color: var(--m-ink-2); }

.c-stats { left: -22px; top: 128px; width: 230px; padding: 16px 18px; }
.cs-label { font-size: 12px; color: var(--m-muted); margin: 0; display: flex; align-items: center; gap: 6px; }
.cs-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #19B394; }
.cs-num { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin: 2px 0 4px; }
.cs-spark { width: 100%; height: 44px; color: #19B394; margin-bottom: 8px; }
.cs-row { display: flex; justify-content: space-between; font-size: 12.5px; padding: 6px 0; border-top: 1px solid var(--m-line); color: var(--m-ink-2); }

.c-phone { position: absolute; right: 64px; top: 112px; transform: scale(.82); transform-origin: top right; }
.c-toast { position: absolute; left: 52%; bottom: -26px; }

.feature-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.feature-links a { text-decoration: none; color: var(--muted); font-size: 15px; line-height: 1.5; }
.feature-links b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.feature-links b span { display: inline-block; color: var(--accent); transition: transform .15s; }
.feature-links a:hover b span { transform: translateX(4px); }

/* Phone mockup */
.phone { width: 268px; height: 548px; background: #101418; border-radius: 42px; padding: 11px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25), 0 30px 60px rgba(0, 0, 0, .4), inset 0 0 0 2px #3A4248; }
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; background: #101418; border-radius: 12px; z-index: 2; }
.phone-screen { background: #fff; color: var(--m-ink); height: 100%; border-radius: 32px; overflow: hidden; }
.ph-photo { height: 128px; background: var(--photo); }
.ph-body { padding: 14px 18px; }
.ph-eyebrow { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--m-primary); margin: 0 0 2px; }
.ph-addr { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 4px; }
.ph-intro { font-size: 11.5px; color: var(--m-muted); margin: 0 0 10px; line-height: 1.4; }
.ph-field { border: 1.5px solid #DFE3E6; border-radius: 9px; padding: 5px 10px; margin-bottom: 7px; }
.ph-field span { display: block; font-size: 9px; font-weight: 700; color: #7B858E; text-transform: uppercase; letter-spacing: .08em; }
.ph-field b { font-size: 12.5px; font-weight: 600; }
.ph-q { font-size: 11.5px; font-weight: 700; margin: 10px 0 6px; }
.ph-pills { display: flex; gap: 8px; margin-bottom: 12px; }
.ph-pills span { flex: 1; text-align: center; border: 1.5px solid #DFE3E6; border-radius: 9px; padding: 6px; font-size: 12px; font-weight: 700; }
.ph-pills .on { border-color: var(--m-primary); background: var(--m-mint); color: var(--m-primary); }
.ph-btn { background: var(--m-primary); color: #fff; text-align: center; font-weight: 700; font-size: 13.5px; border-radius: 9px; padding: 10px; }

/* Toast */
.toast { display: flex; align-items: center; gap: 12px; background: #fff; color: var(--m-ink); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); width: 340px; animation: toast-in .7s 1s both cubic-bezier(.2, .8, .2, 1); }
.toast-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--m-primary); color: #fff; display: grid; place-items: center; flex: none; }
.toast-text { display: grid; line-height: 1.3; min-width: 0; }
.toast-text b { font-size: 13.5px; }
.toast-text small { font-size: 12px; color: var(--m-muted); }
.toast-time { font-size: 11px; color: var(--m-muted); align-self: flex-start; margin-left: auto; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Sections */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.soft { background: var(--bg-2); }
.section-lede { font-size: 18px; color: var(--muted); max-width: 56ch; margin-top: -4px; }
.divider { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; font-size: 14px; font-weight: 500; color: var(--muted); }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.problem { padding-top: 24px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); margin-top: 40px; }
.col p { color: var(--muted); margin: 0; font-size: 16px; }
.icon-badge { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.icon-badge svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.problem-fix { margin: 48px 0 0; font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.step-n { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 17px; display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { font-size: 18px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* Features */
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; margin-top: clamp(48px, 7vw, 88px); }
.feature-flip .feature-copy { order: 2; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent-text); background: var(--accent-soft); border-radius: 6px; padding: 4px 10px; margin-bottom: 16px; }
.feature-copy h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 750; letter-spacing: -.025em; }
.feature-copy > p { color: var(--muted); font-size: 17px; }
.feature-visual { border-radius: 24px; padding: clamp(28px, 4vw, 52px); display: flex; justify-content: center; align-items: center; min-height: 480px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.panel-mint { background: radial-gradient(120% 90% at 30% 20%, #36504A 0%, var(--panel-mint) 70%); }
.panel-peach { background: radial-gradient(120% 90% at 30% 20%, #54473A 0%, var(--panel-peach) 70%); }
.panel-lavender { background: radial-gradient(120% 90% at 30% 20%, #464459 0%, var(--panel-lavender) 70%); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16px; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.3' fill='none' stroke='%230E201C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

/* QR poster */
.poster { width: 320px; background: #fff; color: #111; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.poster-photo { height: 120px; background: var(--photo); }
.poster-body { padding: 18px 22px 20px; text-align: center; }
.poster-kicker { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--m-primary); margin: 0 0 4px; }
.poster-head { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 12px; }
.poster-steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; font-size: 12.5px; font-weight: 600; text-align: left; }
.poster-steps li { counter-increment: s; display: flex; align-items: center; gap: 10px; }
.poster-steps li::before { content: counter(s); width: 22px; height: 22px; flex: none; border-radius: 6px; background: var(--m-mint); color: var(--m-primary); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.poster-qr { width: 130px; height: 130px; margin: 0 auto 8px; image-rendering: pixelated; }
.poster-url { font-size: 10.5px; color: #59636C; margin: 0; }
.poster-foot { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.logo-chip { border: 1.5px dashed #C9CFD4; color: #7B858E; border-radius: 6px; font-size: 11px; font-weight: 700; padding: 5px 10px; }

/* Email mockup */
.mail { width: 100%; max-width: 440px; background: #fff; color: var(--m-ink); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; font-size: 14px; }
.mail-head { padding: 14px 20px; border-bottom: 1px solid var(--m-line); }
.mail-head p { margin: 2px 0; font-size: 13px; }
.mail-head span { display: inline-block; width: 62px; color: var(--m-muted); }
.mail-body { padding: 18px 20px 14px; }
.mail-photo { height: 140px; border-radius: 10px; background: var(--photo); margin-bottom: 14px; }
.mail-body p { margin: 0 0 12px; font-size: 14px; }
.mail-details { width: 100%; border-collapse: collapse; font-size: 13px; margin: 0 0 14px; background: var(--m-soft); border-radius: 8px; overflow: hidden; }
.mail-details td { padding: 6px 12px; }
.mail-details td:first-child { color: var(--m-muted); width: 52%; }
.mail-btn { display: inline-block; background: var(--m-primary); color: #fff; font-weight: 700; font-size: 13px; padding: 8px 20px; border-radius: 6px; margin-bottom: 14px; }
.mail-sig { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--m-line); }
.mail-sig span:last-child { display: grid; line-height: 1.35; }
.mail-sig small { color: var(--m-muted); font-size: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--m-primary); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; flex: none; }
.mail-attach { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--m-line); border-radius: 8px; padding: 7px 12px; font-size: 12.5px; font-weight: 600; margin-bottom: 10px; }
.mail-attach svg { color: var(--m-muted); }
.mail-foot { font-size: 11px !important; color: #9AA2A9; margin: 0 !important; }

/* Flyer switcher */
.seg { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 4px; gap: 4px; }
.seg button { font: inherit; font-size: 14px; font-weight: 600; border: 0; background: transparent; color: var(--muted); padding: 8px 18px; border-radius: 7px; cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--surface-2); color: var(--ink); box-shadow: var(--shadow-sm); }
.seg-note { font-size: 14px; color: var(--muted); margin: 10px 0 0; min-height: 1.6em; }

.flyer { width: 330px; aspect-ratio: 8.5 / 11; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: background .3s, color .3s; }
.fl-photo { flex: 0 0 40%; background: var(--photo); }
.fl-body { flex: 1; padding: 18px 22px 16px; display: flex; flex-direction: column; }
.fl-kicker { font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 6px; }
.fl-addr { font-size: 25px; font-weight: 800; line-height: 1.05; margin: 0; letter-spacing: -.02em; }
.fl-city { font-size: 12px; margin: 2px 0 0; opacity: .75; }
.fl-rule { height: 2px; width: 48px; margin: 10px 0; }
.fl-facts { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; margin-bottom: 8px; }
.fl-facts b { font-size: 13px; }
.fl-text { font-size: 10.5px; line-height: 1.5; margin: 0; opacity: .85; }
.fl-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 10px; }
.fl-agent { display: flex; align-items: center; gap: 8px; }
.fl-agent > span:last-child { display: grid; line-height: 1.25; font-size: 11px; }
.fl-agent small { font-size: 9.5px; opacity: .75; }
.fl-agent .avatar { width: 30px; height: 30px; font-size: 10px; }
.fl-foot img { border-radius: 3px; }
.fl-classic { background: #222; color: #F2EFE8; }
.fl-classic .fl-kicker, .fl-classic .fl-facts b { color: #C9A762; }
.fl-classic .fl-rule { background: #AF8C4A; }
.fl-classic .avatar { background: #AF8C4A; color: #1A1A1A; }
.fl-modern { background: #fff; color: #222; }
.fl-modern .fl-photo { margin: 14px 14px 0; border-radius: 2px; }
.fl-modern .fl-addr { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: 0; }
.fl-modern .fl-kicker { color: #9A7A3C; }
.fl-modern .fl-rule { background: #AF8C4A; height: 1px; width: 100%; }
.fl-modern .avatar { background: #fff; color: #9A7A3C; border: 1px solid #AF8C4A; }
.fl-bold { background: #0F0F0F; color: #fff; }
.fl-bold .fl-photo { flex-basis: 46%; }
.fl-bold .fl-addr { font-family: 'Anton', Impact, sans-serif; font-weight: 400; font-size: 32px; text-transform: uppercase; letter-spacing: .01em; }
.fl-bold .fl-kicker { background: #AF8C4A; color: #111; display: inline-block; align-self: flex-start; padding: 3px 8px; border-radius: 2px; }
.fl-bold .fl-rule { display: none; }
.fl-bold .fl-facts b { color: #D4B26E; }
.fl-bold .avatar { background: #AF8C4A; color: #111; }

/* Cards with mini screens */
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: clamp(48px, 7vw, 88px); }
.card { border-radius: 24px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.card h3 { font-size: clamp(22px, 2vw, 26px); font-weight: 750; }
.card p { color: var(--ink-2); margin-bottom: 24px; }
.card-sky { background: var(--panel-sky); }
.card-mint { background: var(--panel-mint); }
.card .tag { align-self: flex-start; }
.mini-ui { margin-top: auto; background: #fff; color: var(--m-ink); border-radius: 14px; padding: 16px; display: grid; gap: 12px; font-size: 13px; box-shadow: var(--shadow-sm); }
.mini-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--m-line); flex-wrap: wrap; }
.mini-tabs span { padding: 6px 10px; font-weight: 600; color: var(--m-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.mini-tabs .on { color: var(--m-primary); border-color: var(--m-primary); }
.mini-row label { display: block; font-size: 11px; font-weight: 700; color: var(--m-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.mini-input { background: #fff; border: 1px solid #D5DADE; border-radius: 8px; padding: 7px 10px; }
.mini-input.tall { min-height: 52px; }
.mini-checks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.chk { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.chk::before { content: ''; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid #C2C9CE; background: #fff; }
.chk.on::before { background: var(--m-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; border-color: var(--m-primary); }
.mini-table { border: 1px solid var(--m-line); border-radius: 10px; overflow: hidden; }
.mt-row { display: grid; grid-template-columns: 1.6fr .8fr .9fr; gap: 8px; padding: 8px 12px; align-items: center; border-top: 1px solid var(--m-line); }
.mt-head { border-top: 0; background: var(--m-soft); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--m-muted); }
.pill { justify-self: start; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #EEF0F2; color: var(--m-muted); }
.pill-green { background: var(--m-mint); color: var(--m-primary); }
.pill-amber { background: #FDF0D5; color: #8A5800; }

/* Numbers */
.numbers-band h2 { max-width: none; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }
.numbers div { border-top: 2px solid var(--line-2); padding-top: 18px; }
.numbers b { display: block; font-size: clamp(44px, 5vw, 64px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--accent); }
.numbers span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 15px; max-width: 22ch; }


/* FAQ */
.faq h2 { margin-bottom: 28px; max-width: none; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; font-weight: 600; font-size: 18px; position: relative; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%233DD6B5' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/22px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 22px 0; margin: 0; color: var(--muted); }

/* Demo */
.demo-wrap { padding-top: 0; }
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; border-radius: 28px; padding: clamp(28px, 5vw, 64px); background: linear-gradient(120deg, #343A3B 0%, #2D4A44 50%, #22695B 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.demo h2 { font-size: clamp(32px, 3.8vw, 50px); }
.demo-copy > p { color: var(--ink-2); font-size: 18px; }
.demo-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-weight: 600; }
.demo-list li { display: flex; gap: 10px; align-items: center; }
.demo-list li::before { content: ''; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.3' fill='none' stroke='%230E201C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.demo-form { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); display: grid; gap: 14px; }
.demo-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.demo-form small { font-weight: 400; color: var(--muted); }
.demo-form input, .demo-form select, .demo-form textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); border: 1.5px solid var(--line-2); border-radius: 8px; padding: 11px 13px; background: var(--surface); width: 100%; }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft-2); }
.demo-form [aria-invalid="true"] { border-color: #F07A63; box-shadow: 0 0 0 3px rgba(240, 122, 99, .2); }
.demo-form label:has([aria-invalid="true"]) > span, .demo-form .f-field:has([aria-invalid="true"]) > label { color: #F4937F; }
.combo-list [role="option"] small { color: var(--muted); font-size: 13px; }
.f-group { border: 0; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.f-group legend { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 10px; padding: 0; }
.f-status.warn { color: var(--amber); }
.photo-tile.missing { border-color: #F07A63; border-style: solid; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.demo-form label.f-check { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.f-check input { width: 18px; height: 18px; flex: none; accent-color: var(--accent); margin: 0; }
.f-note a { color: var(--accent); }
.demo-form [hidden] { display: none !important; }
.f-help { font-size: 12.5px; color: var(--muted); margin: -6px 0 0; }
.f-note { font-size: 13px; color: var(--muted); margin: 0; text-align: center; }
.f-status { margin: 0; font-size: 14px; font-weight: 600; text-align: center; }
.f-status:empty { display: none; }
.f-status.ok { color: var(--accent); }
.f-status.err { color: #F4937F; }
.hp { position: absolute; left: -9999px; }
/* Searchable brokerage box */
.combo { position: relative; display: grid; gap: 6px; }
.combo-box { position: relative; }
.demo-form .combo-box input { padding-right: 44px; }
.combo-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }
.combo-toggle:hover { color: var(--ink); background: var(--surface-2); }
.combo-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.combo-list { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin: 6px 0 0; padding: 6px; list-style: none; max-height: 280px; overflow-y: auto; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow); }
.combo-list [role="option"] { padding: 9px 12px; border-radius: 7px; cursor: pointer; font-size: 15px; color: var(--ink); }
.combo-list [role="option"]:hover, .combo-list [role="option"].active { background: var(--accent-soft-2); }
.combo-list [role="option"][aria-selected="true"] { color: var(--accent-text); font-weight: 600; }
.combo-list .combo-other { margin-top: 4px; border-top: 1px solid var(--line-2); border-radius: 0 0 7px 7px; color: var(--ink-2); }
.combo-empty { padding: 8px 12px; font-size: 13px; color: var(--muted); }
/* "How do you want to start?": free trial or pay now */
.f-plan { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.f-plan legend { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; padding: 0; }
.demo-form label.plan-opt { display: flex; align-items: flex-start; gap: 10px; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 11px 13px; cursor: pointer; background: var(--surface); }
.demo-form label.plan-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.demo-form .plan-opt input { width: 18px; height: 18px; padding: 0; margin: 2px 0 0; border: 0; flex: none; accent-color: var(--accent); }
.plan-opt span { display: grid; gap: 2px; }
.plan-opt b { font-size: 15px; color: var(--ink); }
.plan-opt small { font-size: 13px; font-weight: 400; color: var(--muted); }
/* shown in place of the form after a sign-up */
.demo-form[hidden], .signup-done[hidden] { display: none !important; }
.signup-done { background: var(--bg); border: 1px solid var(--accent); border-radius: 18px; padding: clamp(26px, 3vw, 36px); box-shadow: var(--shadow); outline: none; }
.done-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.done-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--accent-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.signup-done h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; }
.signup-done p { color: var(--ink-2); font-size: 17px; }
.done-steps { margin: 16px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: 40px; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(26px, 3vw, 36px); box-shadow: 0 0 0 1px rgba(61, 214, 181, .12), var(--shadow); }
.price { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 0; }
.price b { font-size: clamp(52px, 6vw, 68px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price span { font-size: 18px; color: var(--muted); font-weight: 500; }
.price-note { color: var(--muted); font-size: 14px; margin: 6px 0 22px; }
.price-sub { text-align: center; font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }
.price-card .ticks { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.price-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.price-steps li { display: flex; gap: 18px; align-items: flex-start; }
.price-steps .step-n { margin: 0; flex: none; }
.price-steps h3 { font-size: 19px; margin-bottom: 4px; }
.price-steps p { color: var(--muted); margin: 0; }

/* Footer */
.site-footer { background: #24272B; color: var(--muted); padding: 48px 0 32px; font-size: 14px; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; padding-bottom: 8px; }
.foot-small { margin: 12px 0 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.foot-legal { padding-top: 22px; font-size: 12px; line-height: 1.55; }
.foot-legal::before { content: ''; display: block; height: 1px; background: var(--line); margin-bottom: 22px; }
.foot-legal p { margin: 0 0 8px; max-width: 110ch; }

/* Password box with a Show/Hide button (sign-up, log in, reset) */
.f-field { display: grid; gap: 6px; }
.demo-form .f-field > label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pw-box { position: relative; }
.demo-form .pw-box input { padding-right: 72px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: inherit; font-size: 13px; font-weight: 600; color: var(--accent); background: transparent; border: 0; border-radius: 6px; padding: 6px 10px; cursor: pointer; }
.pw-toggle:hover { background: var(--surface-2); }
/* strength bar (4 steps) and the rules it needs; password.js sets data-level 0-4 */
.pw-meter-row { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
.pw-meter { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.pw-meter span { height: 6px; border-radius: 3px; background: var(--surface-2); transition: background .2s; }
.pw-label { min-width: 62px; text-align: right; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.pw-meter-row[data-level="1"] .pw-meter span:nth-child(1) { background: #F07A63; }
.pw-meter-row[data-level="1"] .pw-label { color: #F4937F; }
.pw-meter-row[data-level="2"] .pw-meter span:nth-child(-n+2) { background: var(--amber); }
.pw-meter-row[data-level="2"] .pw-label { color: var(--amber); }
.pw-meter-row[data-level="3"] .pw-meter span:nth-child(-n+3) { background: #9BE3A6; }
.pw-meter-row[data-level="3"] .pw-label { color: #9BE3A6; }
.pw-meter-row[data-level="4"] .pw-meter span { background: var(--accent); }
.pw-meter-row[data-level="4"] .pw-label { color: var(--accent-text); }
.pw-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); }
.pw-rules li { display: inline-flex; align-items: center; gap: 6px; }
.pw-rules li::before { content: ''; width: 14px; height: 14px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-2); box-sizing: border-box; }
.pw-rules li.met { color: var(--accent-text); }
.pw-rules li.met::before { border: 0; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.3' fill='none' stroke='%230E201C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.pw-match { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.pw-match:empty { display: none; }
.pw-match.ok { color: var(--accent-text); }
.pw-match.err { color: #F4937F; }

/* Member pages: log in, password reset, account */
.m-nav { display: flex; align-items: center; gap: 18px; }
.m-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.m-nav a:not(.btn):hover { color: var(--ink); }
.m-nav .btn { white-space: nowrap; }
.m-footer { color: var(--muted); font-size: 13.5px; padding: 32px 0 40px; border-top: 1px solid var(--line); }
.m-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
.m-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.m-footer a { color: var(--ink-2); text-decoration: none; }
.m-footer a:hover { color: var(--ink); text-decoration: underline; }
.auth-wrap { min-height: calc(100vh - 72px - 96px); display: grid; place-items: center; padding: clamp(32px, 6vw, 72px) var(--gutter); }
.auth { width: 100%; max-width: 440px; }
.auth h1 { font-size: clamp(30px, 3.4vw, 38px); margin-bottom: 6px; }
.auth-lede { color: var(--muted); margin-bottom: 22px; }
.auth .demo-form p:not(.f-status):not(.f-note) { color: var(--ink-2); margin: 0; font-size: 15px; }
.auth-h2 { font-size: 22px; margin: 0; max-width: none; }
.auth-alt { text-align: center; color: var(--muted); font-size: 14.5px; margin: 20px 0 0; }
.demo-form.plain { background: none; border: 0; box-shadow: none; padding: 0; }
.notice { border-radius: 12px; padding: 14px 18px; margin-bottom: 14px; font-size: 15px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); }
.notice b { color: var(--ink); }
.notice.ok { border-color: rgba(61, 214, 181, .5); background: var(--accent-soft); }
.notice.warn { border-color: rgba(255, 200, 87, .5); background: rgba(255, 200, 87, .1); }
.st { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.st.done { background: var(--accent-soft-2); color: var(--accent-text); }
.st.warn { background: rgba(255, 200, 87, .16); color: var(--amber); }
.acct { max-width: 920px; padding-top: clamp(28px, 4vw, 48px); padding-bottom: 72px; }
.acct-loading { color: var(--muted); padding: 80px 0; text-align: center; }
.acct-top { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; margin-bottom: 26px; }
.acct-top h1 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 4px; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--accent); margin: 0 0 6px; }
.acct-email { color: var(--muted); margin: 0; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.verify-note { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.verify-note button { font: inherit; font-weight: 600; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.plan-box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: grid; gap: 8px; }
.plan-box p { margin: 0; color: var(--ink-2); font-size: 15px; }
.plan-box small { color: var(--muted); font-size: 13px; }
.plan-box .btn { margin-top: 4px; }
.acct-progress { list-style: none; counter-reset: p; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.acct-progress li { counter-increment: p; }
.acct-progress a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 600; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); height: 100%; }
.acct-progress a::before { content: counter(p); width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--surface-2); color: var(--ink-2); }
.acct-progress .done a::before { content: ''; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.3' fill='none' stroke='%230E201C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.acct-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 32px); margin-bottom: 18px; scroll-margin-top: 90px; }
.acct-card-head { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; margin-bottom: 20px; }
.acct-card-head .step-n { margin: 0; }
.acct-card-head h2 { font-size: 22px; margin: 6px 0 4px; max-width: none; }
.acct-card-head p { color: var(--muted); font-size: 15px; margin: 0; }
.acct-card-head .st { margin-top: 8px; }
.f-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.f-actions .f-status { text-align: left; }
.demo-form textarea { min-height: 96px; resize: vertical; }
.photo-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.1fr); gap: 14px; }
.photo-tile { border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 18px 14px; display: grid; gap: 6px; justify-items: center; text-align: center; align-content: start; }
.photo-tile.has { border-style: solid; border-color: var(--line); background: var(--surface); }
.photo-prev { width: 112px; height: 112px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; margin-bottom: 6px; color: var(--muted); }
.photo-prev.round { border-radius: 50%; }
.photo-prev img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.photo-prev.on-dark img { background: #17181b; }
.photo-prev.round img { object-fit: cover; }
.photo-prev svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.photo-tile b { font-size: 15px; }
.photo-tile small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.photo-tile .f-status { font-size: 13px; }
.file-in { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.photo-tile label.btn { margin-top: 6px; }
.file-in:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 3px; }
.send-check { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.send-check li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.send-check li::before { content: ''; width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-2); }
.send-check li.done::before { border: 0; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.3' fill='none' stroke='%230E201C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.send-check a { color: var(--accent); }
.sent-note { color: var(--ink-2); margin: 16px 0 0; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 760px) {
  .acct-top { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .acct-card-head { grid-template-columns: auto 1fr; }
  .acct-card-head .st { grid-column: 2; justify-self: start; margin-top: 0; }
}
@media (max-width: 600px) {
  .m-nav { gap: 12px; }
  .m-nav a:not(.btn) { font-size: 14px; }
  .m-nav .hide-sm { display: none; }
  .m-nav a:not(.btn) { white-space: nowrap; }
  /* member pages: just the logo mark, so the links fit on one line */
  .header-inner:has(.m-nav a:not(.btn) + a:not(.btn)) .brand-text { display: none; }
}

/* Member app: open houses, editor, leads */
.m-nav a.on { color: var(--ink); font-weight: 700; }
.app { max-width: 1160px; padding-top: clamp(24px, 3.5vw, 40px); padding-bottom: 72px; }
.app-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 20px; margin-bottom: 22px; }
.app-head h1 { font-size: clamp(28px, 3.2vw, 38px); margin: 0; }
.app-head .sub { color: var(--muted); margin: 6px 0 0; font-size: 15px; }
.app-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.card-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 2.6vw, 26px); margin-bottom: 18px; }
.card-box > h2 { font-size: 20px; margin: 0 0 4px; max-width: none; }
.card-box > .hint { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; }
.empty-box { text-align: center; color: var(--muted); padding: 34px 16px; border: 1.5px dashed var(--line-2); border-radius: 14px; }
.new-oh { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 12px; align-items: end; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 760px; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface); font-weight: 700; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td small { display: block; color: var(--muted); font-size: 12.5px; }
.tbl a { color: var(--accent); }
.tbl select, .tbl textarea { font: inherit; font-size: 14px; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: 7px; padding: 5px 8px; }
.tbl textarea { width: 100%; min-height: 60px; resize: vertical; }
.lead-more td { background: var(--surface); }
.lead-more .f-actions { margin-top: 8px; }
.linkish { font: inherit; background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; text-decoration: underline; font-size: 13.5px; }
.linkish.danger { color: #F4937F; }
/* editor */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs button { font: inherit; font-weight: 600; font-size: 15px; color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; margin-bottom: -1px; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 22px; align-items: start; }
.editor.wide { grid-template-columns: minmax(0, 330px) minmax(0, 1fr); }
.sticky { position: sticky; top: 90px; }
.preview-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.preview-box .seg { margin-bottom: 12px; }
.preview-frame { width: 100%; height: 620px; border: 0; border-radius: 10px; background: #fff; display: block; }
.canvas-wrap { display: grid; gap: 14px; justify-items: center; background: #6b7179; border-radius: 10px; padding: 16px; max-height: 760px; overflow: auto; }
.canvas-wrap canvas { max-width: 100%; height: auto; box-shadow: 0 4px 18px rgba(0,0,0,.35); background: #fff; }
.page-label { font-size: 12px; color: #e9ecef; margin: -6px 0 0; }
.opt-grid { display: grid; gap: 10px; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.demo-form .opt-row label.f-check { font-size: 14.5px; }
.seg.small button { padding: 6px 12px; font-size: 13.5px; }
.pick { display: flex; flex-wrap: wrap; gap: 6px; }
.pick button { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 8px; padding: 7px 12px; cursor: pointer; }
.pick button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }
.field-label { font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 0 0 6px; }
.save-bar { position: sticky; bottom: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 0; margin-top: 8px; background: linear-gradient(transparent, var(--bg) 30%); }
.save-bar .dirty { color: var(--amber); font-size: 14px; font-weight: 600; }
.link-box { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.link-box code { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 6px 9px; font-size: 13px; color: var(--ink-2); word-break: break-all; }
@media (max-width: 960px) {
  .editor, .editor.wide { grid-template-columns: 1fr; }
  .sticky { position: static; }
}
@media (max-width: 640px) {
  .new-oh { grid-template-columns: 1fr; }
  .preview-frame { height: 520px; }
}

/* Open houses laid out like Kris's Motions Marketing page */
.how { list-style: none; counter-reset: how; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.how li { counter-increment: how; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 14px 54px; position: relative; display: grid; gap: 2px; }
.how li::before { content: counter(how); position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.how b { font-size: 15px; }
.how span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 180px)); gap: 12px; margin: 0 0 20px; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; display: grid; }
.stats b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--accent); }
.stats span { font-size: 13px; color: var(--muted); }
.stats.small b { font-size: 22px; }
.row-acts { display: flex; gap: 12px; margin-top: 6px; }
.tab-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 22px; align-items: start; }
.tab-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.tab-foot .dirty { color: var(--amber); font-size: 14px; font-weight: 600; }
.print-grid { display: grid; grid-template-columns: auto auto auto; gap: 10px 12px; align-items: center; justify-content: start; }
.print-grid span { font-size: 14.5px; font-weight: 600; color: var(--ink-2); padding-right: 8px; }
.print-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; }
.print-row + .print-row { border-top: 1px solid var(--line); }
.print-row.on { background: var(--accent-soft); }
.print-row span { font-size: 14.5px; color: var(--ink-2); }
.phone-frame { max-width: 330px; margin: 0 auto; background: #101418; border-radius: 34px; padding: 12px; box-shadow: inset 0 0 0 2px #3A4248, var(--shadow); }
.photo-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-pick .pp { position: relative; width: 84px; height: 62px; border-radius: 8px; overflow: hidden; border: 2px solid var(--line-2); padding: 0; background: var(--surface); cursor: pointer; opacity: .55; }
.photo-pick .pp img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-pick .pp.on { border-color: var(--accent); opacity: 1; }
.photo-pick .pp span { position: absolute; top: 4px; left: 4px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; border-radius: 6px; padding: 0 6px; }
@media (max-width: 960px) {
  .tab-grid { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .print-row { grid-template-columns: 1fr 1fr; }
  .print-row span { grid-column: 1 / -1; }
}

/* Reveal on scroll (only when JS runs and motion is OK) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .c-stats, .c-label-stats { display: none; }
  .c-label-email, .c-email { left: 6%; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .numbers { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0, 0, 0, .3); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; padding: 13px; }
  .cols-3, .cards-2, .feature-links { grid-template-columns: 1fr; }
  .feature, .demo, .price-grid { grid-template-columns: 1fr; }
  .feature-flip .feature-copy { order: 0; }
  .feature-visual { min-height: 0; }
  /* collage: just the phone and the notification */
  .collage { height: 560px; background: linear-gradient(180deg, #3B4046 0%, #2E5A51 45%, #1F8C75 100%); }
  .c-email, .c-label-email { display: none; }
  .c-label-qr { left: 24px; right: 24px; width: auto; text-align: left; }
  .c-phone { right: auto; left: 50%; top: 96px; transform: translateX(-50%) scale(.8); transform-origin: top center; }
  .c-toast { left: 50%; transform: translateX(-50%); width: min(340px, calc(100% - 32px)); animation: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-name { font-size: 18px; }
  .brand-mark { width: 32px; height: 32px; }
  .cta-row .btn { flex: 1 1 100%; }
  .steps, .numbers { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .feature-visual { padding: 24px 16px; }
  .poster, .flyer { width: 100%; max-width: 320px; }
  .mt-row { grid-template-columns: 1.4fr .7fr 1fr; font-size: 12.5px; }
  .faq summary { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* "Paste your listing" box and Google address suggestions on the new open house form (2026-10-03) */
.paste-box.demo-form { background: var(--accent-soft); border: 1.5px dashed rgba(61, 214, 181, .45); box-shadow: none; border-radius: 12px; padding: 14px 16px; gap: 8px; margin-bottom: 20px; }
.paste-box .paste-help { margin: 0; font-size: 14px; color: var(--ink-2); }
.paste-box textarea { min-height: 72px; }
.demo-form .just-filled { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft-2); }
/* price, bedrooms, bathrooms, square feet: four across, two across on phones */
.f-row.f-row-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) { .f-row.f-row-4 { grid-template-columns: 1fr 1fr; } }

/* ===== Open houses cleaned up (Kris, 2026-10-03: "the ui is off and needs better operations and work flows") ===== */
.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; }
.app-head .sub a { color: var(--accent); font-weight: 600; }
.box-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 16px; margin-bottom: 14px; }
.box-head h2 { font-size: 20px; margin: 0; }
.box-head .sub { color: var(--muted); font-size: 14.5px; margin: 4px 0 0; }
.box-head .linkish { font-size: 14px; }
.mini-select { font: inherit; font-size: 14px; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 8px; padding: 8px 10px; max-width: 260px; }
.ico { display: inline-grid; place-items: center; width: 16px; height: 16px; flex: none; }
.ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* the list of open houses */
.oh-section { margin-bottom: 26px; }
.list-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 12px; }
.list-sum { margin: 0; color: var(--muted); font-size: 14.5px; }
.oh-list { display: grid; gap: 12px; }
.oh-card { display: grid; grid-template-columns: 148px minmax(0, 1fr) auto; gap: 18px; align-items: start; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.oh-card.closed { opacity: .78; }
.oh-thumb { display: block; width: 148px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--surface); text-decoration: none; }
.oh-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oh-nophoto { height: 100%; display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 600; border: 1.5px dashed var(--line-2); border-radius: 10px; }
.oh-nophoto .ico, .oh-nophoto .ico svg { width: 26px; height: 26px; }
.oh-body { display: grid; gap: 6px; min-width: 0; }
.oh-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.oh-top h3 { margin: 0; font-size: 18px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.oh-top h3 a { color: var(--ink); text-decoration: none; }
.oh-top h3 a:hover { color: var(--accent-text); }
.oh-facts { margin: 0; color: var(--muted); font-size: 14.5px; }
.oh-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.oh-count { display: grid; justify-items: center; align-content: start; min-width: 84px; gap: 0; padding: 10px 12px; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.oh-count:hover { border-color: var(--accent); }
.oh-count b { font-size: 26px; font-weight: 800; line-height: 1.1; color: var(--accent); }
.oh-count span { font-size: 12.5px; color: var(--muted); }
.oh-count em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 1px 8px; margin-top: 5px; }

/* "More" menus */
details.menu { position: relative; }
details.menu > summary { list-style: none; }
details.menu > summary::-webkit-details-marker { display: none; }
details.menu > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 2px; }
.menu-list { position: absolute; z-index: 40; right: 0; top: calc(100% + 6px); min-width: 250px; display: grid; padding: 6px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow); }
.menu-list a, .menu-list button { display: block; text-align: left; font: inherit; font-size: 14.5px; color: var(--ink); background: none; border: 0; border-radius: 7px; padding: 9px 12px; text-decoration: none; cursor: pointer; }
.menu-list a:hover, .menu-list button:hover { background: var(--accent-soft-2); }
.menu-list .danger { color: #F4937F; }
.menu-note { margin: 4px 12px 6px; font-size: 12.5px; color: var(--muted); }

/* one open house: header, switch, tabs bar, saving */
.crumb { margin: 0 0 8px; }
.crumb a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.crumb a:hover { color: var(--ink); }
.ed-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 20px; margin-bottom: 18px; }
.ed-title { min-width: 0; }
.ed-title h1 { font-size: clamp(26px, 3vw, 36px); margin: 0; overflow-wrap: anywhere; }
.ed-title .sub { color: var(--muted); margin: 6px 0 0; font-size: 15px; }
.ed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.switch { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; margin-right: 6px; position: relative; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { width: 40px; height: 22px; border-radius: 999px; background: var(--surface-2); border: 1.5px solid var(--line-2); position: relative; transition: background .15s, border-color .15s; flex: none; }
.switch-ui::after { content: ""; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: var(--muted); transition: transform .15s, background .15s; }
.switch input:checked + .switch-ui { background: var(--accent-soft-2); border-color: var(--accent); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); background: var(--accent); }
.switch input:focus-visible + .switch-ui { box-shadow: 0 0 0 3px var(--accent-soft-2); }
.tabs-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
/* the tabs swipe sideways on narrow screens, with no scroll bar showing (Kris, 2026-10-03: "remove the scroll bar") */
.tabs-bar .tabs { border-bottom: 0; margin-bottom: 0; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; max-width: 100%; }
.tabs-bar .tabs::-webkit-scrollbar { display: none; }
.tabs-bar .tabs button { white-space: nowrap; margin-bottom: 0; }
.tab-count { display: inline-block; min-width: 20px; font-size: 12px; font-weight: 700; color: var(--ink-2); background: var(--surface-2); border-radius: 999px; padding: 1px 7px; margin-left: 4px; }
.save-state { margin: 0 0 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.save-state.ok::before { content: "\2713  "; color: var(--accent); }
.save-state.err { color: #F4937F; }
.save-state .linkish { font-size: 13.5px; }
.tab-reset { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.field-label small { font-weight: 400; color: var(--muted); }
.more-opts { margin-top: 14px; }
.more-opts summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.more-opts .f-actions { margin-top: 10px; }
.print-grid span small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.print-row { grid-template-columns: minmax(0, 1fr) auto auto; }
.print-name { display: grid; text-align: left; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink-2); background: none; border: 0; padding: 0; cursor: pointer; }
.print-name small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.print-name:hover, .print-name[aria-pressed="true"] { color: var(--accent-text); }
.photo-box { transition: border-color .15s, background .15s; }
.photo-box.drop { border-color: var(--accent); background: var(--accent-soft); }

@media (max-width: 760px) {
  .oh-card { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .oh-thumb { width: 96px; }
  .oh-count { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: baseline; justify-content: flex-start; gap: 6px; min-width: 0; padding: 8px 12px; }
  .oh-count b { font-size: 18px; }
  .oh-count em { margin: 0 0 0 auto; }
}
@media (max-width: 640px) {
  .print-row { grid-template-columns: 1fr 1fr; }
  .print-row .print-name { grid-column: 1 / -1; }
  .menu-list { right: auto; left: 0; }
}
/* forms that are also cards keep the card look (".plain" only drops the big form frame) */
.demo-form.plain.card-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 2.6vw, 26px); }

/* listing photos: the main one large, drag to reorder, star and bin on each (Kris, 2026-10-03: "make this look better") */
.ph-count { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.photo-box .box-head { margin-bottom: 4px; align-items: center; }
.ph-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ph-tile { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); cursor: grab; }
.ph-tile.main { grid-column: span 2; grid-row: span 2; }
.ph-tile img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ph-tile.dragging { opacity: .4; }
.ph-tile.over { outline: 3px solid var(--accent); outline-offset: -3px; }
.ph-badge { position: absolute; top: 8px; left: 8px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 800; border-radius: 6px; padding: 3px 8px; }
.ph-acts { position: absolute; top: 6px; right: 6px; display: flex; gap: 5px; opacity: 0; transition: opacity .15s; }
.ph-tile:hover .ph-acts, .ph-tile:focus-within .ph-acts { opacity: 1; }
@media (hover: none) { .ph-acts { opacity: 1; } }
.ph-btn { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: rgba(20, 24, 28, .78); color: #fff; cursor: pointer; padding: 0; }
.ph-btn:hover { background: var(--accent); color: var(--accent-ink); }
.ph-btn.danger:hover { background: #E5654D; color: #fff; }
.ph-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ph-add-wrap { aspect-ratio: 4 / 3; }
.ph-add-wrap.empty { grid-column: 1 / -1; aspect-ratio: auto; }
.ph-add { height: 100%; min-height: 96px; display: grid; place-content: center; justify-items: center; gap: 2px; text-align: center; border: 1.5px dashed var(--line-2); border-radius: 10px; color: var(--muted); cursor: pointer; padding: 8px; }
.ph-add b { color: var(--accent); font-size: 14px; }
.ph-add small { font-size: 12px; }
.ph-add:hover { border-color: var(--accent); background: var(--accent-soft); }
.ph-add-wrap.empty .ph-add { min-height: 150px; }
.file-in:focus-visible + .ph-add { outline: 3px solid var(--accent-soft-2); }
/* the flyer colour choice: Brokerage (from its logo) or Pick (Kris, 2026-10-04) */
.color-pick { align-items: center; }
.color-pick .swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 7px; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.color-own { position: relative; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 8px; padding: 7px 12px; cursor: pointer; }
.color-own[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }
.color-own input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }

/* "Is this your brokerage's logo?" on the account page (Kris, 2026-10-04) */
.logo-suggest { display: grid; gap: 8px; justify-items: center; margin: 4px 0 10px; padding: 10px; border: 1.5px dashed var(--accent); border-radius: 10px; background: var(--accent-soft); width: 100%; }
.logo-suggest img { max-width: 100%; max-height: 64px; background: #fff; border-radius: 6px; padding: 6px; }
.logo-suggest p { margin: 0; font-size: 13px; color: var(--ink-2); text-align: center; }
.logo-suggest .logo-warn { color: var(--amber); }
.logo-suggest .logo-looking { color: var(--muted); }
.logo-acts { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: center; }

/* the Flyers tab as one screen: layout, size, design and download on top, wording beside a big live preview (Kris, 2026-10-03) */
.studio-bar { display: grid; gap: 14px; }
.studio-bar .sb-row { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: flex-end; }
.studio-bar .field-label { margin-bottom: 6px; }
.studio-bar .f-status { text-align: left; }
.tab-grid.studio { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.studio .canvas-wrap { max-height: calc(100vh - 150px); }
@media (max-width: 960px) { .tab-grid.studio { grid-template-columns: 1fr; } }

/* editing right on the flyer: each piece of text is a button that opens a small box next to it (Kris, 2026-10-03) */
#flyer-box { position: sticky; }
.pv-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 8px; }
.pv-head .field-label { margin: 0; }
.pv-tip { font-size: 12.5px; font-weight: 600; color: var(--accent-text); }
.pv-page { position: relative; width: fit-content; max-width: 100%; }
.pv-page canvas { display: block; }
.pv-hot { position: absolute; inset: 0; }
.pv-spot { position: absolute; padding: 0; border: 0; border-radius: 3px; background: transparent; cursor: text; }
.pv-spot.text { cursor: text; }
/* the text box over the text being typed into, and its little toolbar */
.pv-edit { position: absolute; z-index: 22; box-sizing: border-box; margin: 0; outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 1px; white-space: pre-wrap; overflow-wrap: break-word; caret-color: var(--accent); cursor: text; }
.pv-edit.single { white-space: pre; }
.pv-edit.boxed { display: flex; align-items: center; }
.pv-bar { position: absolute; z-index: 23; transform: translateY(-100%); display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 10px; background: #1d2024; border: 1px solid var(--line-2); border-radius: 8px; box-shadow: var(--shadow); font: 600 12.5px/1.2 var(--font); color: var(--ink-2); white-space: nowrap; }
.pv-bar.below { transform: none; }
.pv-bar b { color: var(--ink); font-weight: 700; margin-right: 2px; }
.pv-bar button { font: inherit; border: 0; border-radius: 6px; padding: 5px 9px; cursor: pointer; background: var(--surface-2); color: var(--ink); }
.pv-bar button:hover { background: var(--line-2); }
.pv-bar .pv-done { background: var(--accent); color: var(--accent-ink); }
.pv-bar .pv-done:hover { background: var(--accent-hover); }
.pv-bar .pv-warn { color: var(--amber); }
.pv-bar [hidden] { display: none; }
.pv-spot:hover, .pv-spot:focus-visible, .pv-spot.on { outline: 2px dashed var(--accent); outline-offset: 2px; background: rgba(61, 214, 181, .14); }
.pv-spot:hover::after, .pv-spot:focus-visible::after { content: attr(data-label); position: absolute; left: -2px; bottom: calc(100% + 4px); font: 700 11px/1.2 var(--font); color: var(--accent-ink); background: var(--accent); border-radius: 4px; padding: 3px 7px; white-space: nowrap; pointer-events: none; }
.pv-pop { position: absolute; z-index: 35; width: min(380px, calc(100% - 12px)); display: grid; gap: 10px; padding: 14px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow); }
.pv-pop[hidden] { display: none; }
.pv-title { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.pv-note { margin: 0; font-size: 13px; color: var(--muted); }
.pv-fields { display: grid; gap: 8px; }
.pv-fields.grid { grid-template-columns: 1fr 1fr; }
.pv-fields.grid .f-check { grid-column: 1 / -1; }
.pv-fields label:not(.f-check) { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pv-fields input:not([type=checkbox]), .pv-fields textarea { font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 8px; padding: 8px 10px; width: 100%; }
.pv-fields textarea { resize: vertical; }
.pv-fields input:focus, .pv-fields textarea:focus { outline: none; border-color: var(--accent); }
.pv-fields .f-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.pv-link { font-size: 14px; font-weight: 600; color: var(--accent); }
.pv-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pv-foot small { color: var(--muted); font-size: 12.5px; }
.tab-grid.studio { grid-template-columns: minmax(0, .75fr) minmax(0, 1.5fr); }

/* floor plans: each on white, with its name and a bin (Kris, 2026-10-03) */
.plan-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.plan-tile { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.plan-img { display: block; aspect-ratio: 4 / 3; background: #fff; padding: 6px; }
.plan-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.plan-row { display: flex; gap: 6px; align-items: center; padding: 6px; }
.plan-row input { flex: 1; min-width: 0; font: inherit; font-size: 14px; color: var(--ink); background: var(--bg-2); border: 1.5px solid var(--line-2); border-radius: 7px; padding: 6px 8px; }
.plan-row input:focus { outline: none; border-color: var(--accent); }
.plan-row .ph-btn { flex: none; background: var(--surface-2); }
.plan-add-wrap { min-height: 120px; }
.plan-add-wrap .ph-add { height: 100%; }
.plan-box { margin-top: 0; }

/* the flyer QR's own link, and the test email (Kris, 2026-10-03) */
.qr-url { margin-top: 10px; }
.qr-hint { text-align: left; margin-top: 6px; }
.test-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.test-row small { flex: 1 1 200px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }

/* Account page: overview, tabs, plan & billing, email sending, login & security (Kris, 2026-10-04: "make the
   accounts tab more ui friendly and better operations and work flows") */
.acct { max-width: 980px; }
.acct .acct-top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; margin-bottom: 20px; }
.acct .acct-card-head { grid-template-columns: minmax(0, 1fr) auto; }
.acct .acct-card-head h2 { margin-top: 0; }
.muted { color: var(--muted); }
small.muted { font-size: 13px; }
.setup-card { background: linear-gradient(135deg, var(--panel-mint), var(--bg-2)); border: 1px solid rgba(61, 214, 181, .35); border-radius: 18px; padding: clamp(18px, 2.6vw, 26px); margin-bottom: 18px; }
.setup-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; margin-bottom: 14px; }
.setup-head h2 { font-size: 20px; margin: 0 0 4px; max-width: none; }
.setup-head p { margin: 0; color: var(--ink-2); font-size: 15px; }
.setup-meter, .meter { width: 180px; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.setup-meter span, .meter span { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .3s; }
.setup-card .send-check { margin-bottom: 16px; }
.setup-card .linkish { font-size: inherit; font-weight: 600; }
.glance-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.glance { font: inherit; text-align: left; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 3px; cursor: pointer; transition: border-color .15s, background .15s; min-width: 0; }
.glance:hover { border-color: var(--line-2); background: var(--surface); }
.glance:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.glance b { font-size: 16.5px; }
.glance small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.glance.warn { border-color: rgba(255, 200, 87, .45); }
.glance.warn b { color: var(--amber); }
.g-label { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 0; }
/* plan & billing */
.plan-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.plan-head h2 { font-size: 22px; margin: 4px 0 2px; max-width: none; }
.plan-price { margin: 0; font-size: 26px; font-weight: 800; color: var(--ink); }
.plan-price small { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.plan-card .f-actions { margin-top: 18px; }
.plan-rows { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.plan-row { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.plan-row:last-child { border-bottom: 0; }
.plan-row dt { color: var(--muted); font-size: 14px; }
.plan-row dd { margin: 0; color: var(--ink); font-size: 15px; font-weight: 600; }
.trial-meter { display: grid; gap: 8px; }
.trial-meter p { margin: 0; font-size: 16px; color: var(--ink-2); }
.trial-meter .meter { width: min(320px, 100%); }
.trial-meter small { color: var(--muted); font-size: 13.5px; }
.cancel-link { margin-left: auto; }
.confirm-box { margin-top: 18px; border: 1px solid rgba(240, 122, 99, .45); background: rgba(240, 122, 99, .07); border-radius: 14px; padding: 16px 18px; }
.confirm-box h3 { font-size: 17px; margin: 0 0 8px; }
.confirm-box ul { margin: 0 0 14px; padding-left: 20px; color: var(--ink-2); font-size: 14.5px; display: grid; gap: 4px; }
.btn-danger { background: #E5684F; color: #fff; border-color: #E5684F; }
.btn-danger:hover { background: #F07A63; border-color: #F07A63; }
.danger-outline { color: #F4937F; border-color: rgba(240, 122, 99, .55); }
.danger-outline:hover { border-color: #F4937F; }
.danger-card { border-color: rgba(240, 122, 99, .3); }
.bill-summary { margin: 0 0 8px; color: var(--ink); font-size: 15.5px; }
/* email sending */
.mail-on { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.mail-on div { display: grid; gap: 2px; min-width: 0; }
.mail-on b { overflow-wrap: anywhere; }
.mail-on small { color: var(--muted); font-size: 13px; }
.big-check { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.3' fill='none' stroke='%230E201C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/24px no-repeat; }
.waiting-box { margin-top: 16px; border: 1px solid rgba(255, 200, 87, .45); background: rgba(255, 200, 87, .08); border-radius: 12px; padding: 14px 16px; }
.waiting-box p { margin: 0 0 10px; color: var(--ink-2); }
.waiting-box p:last-child { margin-bottom: 0; }
.provider-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.demo-form label.provider { display: block; cursor: pointer; }
.provider input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.provider span { display: grid; gap: 2px; text-align: center; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 12px 8px; background: var(--surface); height: 100%; }
.provider b { font-size: 15px; color: var(--ink); }
.provider small { font-size: 12px; }
.provider input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.provider input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.how-to { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.how-to ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); font-size: 14.5px; }
.how-to a { color: var(--accent); font-weight: 600; white-space: nowrap; }
.how-to .f-help { margin: 10px 0 0; }
.server-box { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.server-box summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-2); }
/* spacing set on each item: a <details> box ignores grid gaps between the things inside it */
.server-box > :not(summary) { display: grid; margin-top: 12px; }
.server-box > .f-help { display: block; margin: 10px 0 2px; }
.lock-note { margin: 0; }
@media (max-width: 760px) {
  .acct .acct-top { grid-template-columns: 1fr; }
  .glance-row { grid-template-columns: 1fr; gap: 8px; }
  .provider-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan-row { grid-template-columns: 1fr; gap: 2px; }
  .acct .acct-card-head { grid-template-columns: 1fr; }
  .acct .acct-card-head .st { grid-column: 1; justify-self: start; }
  .cancel-link { margin-left: 0; }
}
#mail-state > p, #plan-body > p { font-size: 15px; margin: 0 0 12px; }
#plan-body > p.notice { font-size: 14.5px; }
@media (max-width: 600px) {
  /* phones: the overview as 3 short rows, and all 4 tabs visible */
  .glance-row { gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
  .glance { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 11px 14px; }
  .glance:last-child { border-bottom: 0; }
  .glance b { font-size: 15px; text-align: right; }
  .glance small { display: none; }
  .glance.warn { border-color: var(--line); }
  .acct .tabs-bar .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .acct .tabs-bar .tabs button { text-align: center; padding: 10px 6px; }
  .plan-price { font-size: 22px; }
}
@media (max-width: 600px) { .plan-price small { display: block; margin: 2px 0 0; } }
.portal-note { flex-basis: 100%; }
/* the app password box: dots without being a password box (account.js) */
.masked { -webkit-text-security: disc; }
.how-to .how-tip { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 200, 87, .08); border: 1px solid rgba(255, 200, 87, .3); color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
/* "Check your email": the 6-digit code at sign-up and log-in (verify-code.js; Kris, 2026-10-04) */
.code-step { text-align: left; }
.code-step .code-mark { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin: 0; font-size: 26px; background: var(--accent-soft-2); color: var(--accent-text); }
.code-step h3 { font-size: 22px; margin: 2px 0 0; outline: none; }
.code-step .code-lead { margin: 0; color: var(--ink-2); font-size: 15px; overflow-wrap: anywhere; }
.code-step label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.demo-form .code-input { font-size: 30px; font-weight: 700; letter-spacing: .45em; text-align: center; font-variant-numeric: tabular-nums; padding: 12px 10px 12px calc(10px + .45em); }
.code-step .code-help { margin: 0; font-size: 13.5px; color: var(--muted); }
.code-step .code-help .linkish { font-size: 13.5px; }
/* the "thank-you emails aren't being sent" banner on the account page (Kris, 2026-10-05) */
.mail-banner { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(255, 200, 87, .55); background: rgba(255, 200, 87, .1); }
.mail-banner[hidden] { display: none; }
.mail-banner-icon { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 17px; background: var(--amber); color: #2B2E33; }
.mail-banner-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.mail-banner-text b { color: var(--amber); font-size: 15.5px; }
.mail-banner-text span { color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.mail-banner .btn { flex: none; white-space: nowrap; }
@media (max-width: 600px) {
  .mail-banner { flex-wrap: wrap; align-items: flex-start; }
  .mail-banner-text { flex-basis: calc(100% - 44px); }
  .mail-banner .btn { margin-left: 44px; }
}
/* the sign-in page preview: the real page in the phone, at a phone's width (openhouse.js; Kris, 2026-10-05) */
.phone-frame:has(.signin-frame) { max-width: 400px; }
.signin-frame { display: block; width: 100%; height: min(720px, calc(100vh - 220px)); min-height: 480px; border: 0; border-radius: 24px; background: #fff; }
.frame-hint { text-align: center; color: var(--muted); font-size: 12.5px; margin: 10px 0 0; }
/* the email preview: the real email as it opens in a phone's mail app (openhouse.js; Kris, 2026-10-05) */
.phone-frame:has(.mail-app) { max-width: 400px; }
.mail-app { height: min(720px, calc(100vh - 260px)); min-height: 480px; overflow-y: auto; background: #fff; color: #1f1f1f; border-radius: 24px; font-family: Roboto, Arial, Helvetica, sans-serif; scrollbar-width: thin; }
.ma-subject { margin: 0; padding: 18px 16px 10px; font-size: 19px; line-height: 1.3; font-weight: 500; color: #1f1f1f; letter-spacing: 0; overflow-wrap: anywhere; }
.ma-from { display: flex; align-items: center; gap: 10px; padding: 4px 16px 12px; }
.ma-avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; background: #6b7f99; color: #fff; font-weight: 600; font-size: 16px; }
.ma-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ma-who { flex: 1; min-width: 0; font-size: 14px; color: #1f1f1f; line-height: 1.3; }
.ma-who b { font-weight: 600; }
.ma-who span { color: #5f6368; font-size: 12.5px; overflow-wrap: anywhere; }
.ma-who small { display: block; color: #5f6368; font-size: 12.5px; }
.ma-time { color: #5f6368; font-size: 12px; align-self: flex-start; padding-top: 2px; }
.mail-frame { display: block; width: 100%; height: 600px; border: 0; background: #f2f4f5; }
.ma-attach { margin: 12px 16px 20px; display: flex; align-items: center; gap: 10px; border: 1px solid #dadce0; border-radius: 10px; padding: 10px 12px; }
.ma-attach[hidden] { display: none; }
.ma-pdf { background: #d93025; color: #fff; font-size: 11px; font-weight: 700; border-radius: 4px; padding: 4px 6px; flex: none; }
.ma-attach b { display: block; font-size: 13.5px; font-weight: 500; color: #1f1f1f; overflow-wrap: anywhere; }
.ma-attach small { color: #5f6368; font-size: 12px; }
/* flyer and sign previews like the real print (Kris, 2026-10-05: "make the flyers preview look like the real print too"):
   paper on a desk, creases where brochures fold, and a Folded view (openhouse.js foldedView) */
.canvas-wrap.print-desk { background: radial-gradient(ellipse at 25% 0%, rgba(255,255,255,.16), transparent 60%), linear-gradient(160deg, #8d8982, #6c6963) #85817a; }
.print-desk canvas { box-shadow: 0 1px 1px rgba(0,0,0,.18), 0 3px 6px rgba(0,0,0,.16), 0 14px 28px rgba(0,0,0,.3); }
.print-desk .page-label, .mk-item p { color: #f6f3ee; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.pv-folds { position: absolute; inset: 0; pointer-events: none; }
.pv-folds i { position: absolute; top: 0; bottom: 0; width: 16px; margin-left: -8px; background: linear-gradient(90deg, transparent, rgba(0,0,0,.05) 42%, rgba(0,0,0,.13) 49%, rgba(255,255,255,.28) 52%, rgba(0,0,0,.04) 60%, transparent); }
#flyer-view button[aria-pressed="true"] { background: var(--surface-2); color: var(--ink); box-shadow: var(--shadow-sm); }
#flyer-view button { padding: 5px 12px; font-size: 13px; }
.pv-head { align-items: center; }
.mk { display: grid; gap: 22px; justify-items: center; width: 100%; padding: 8px 0 6px; }
.mk-row { display: flex; justify-content: center; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.mk-item { display: grid; justify-items: center; gap: 10px; }
.mk-item p { margin: 0; font-size: 12px; font-weight: 600; }
.mk canvas { display: block; }
.mk-sheet canvas, .mk-closed canvas { box-shadow: 0 1px 1px rgba(0,0,0,.2), 0 4px 8px rgba(0,0,0,.16), 0 16px 30px rgba(0,0,0,.32); }
.mk-sheet.tilt-l { transform: rotate(-1.6deg); }
.mk-sheet.tilt-r { transform: rotate(1.4deg); }
/* the closed brochure: the folded sheets show at its edge */
.mk-closed { position: relative; isolation: isolate; }
.mk-closed canvas { position: relative; z-index: 2; }
.mk-closed::before, .mk-closed::after { content: ''; position: absolute; inset: 0; z-index: 1; background: #f3f1ec; box-shadow: 0 1px 2px rgba(0,0,0,.25); transform: translate(2px, 2px); }
.mk-closed::after { z-index: 0; background: #e8e5df; transform: translate(4px, 4px); box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.mk-closed.tri::before { transform: translate(-3px, 1px); }
/* the inside, opened: panels angled at the folds, shaded towards the creases */
.mk-open { display: flex; perspective: 1600px; filter: drop-shadow(0 14px 18px rgba(0,0,0,.32)); }
.mk-panel { position: relative; display: block; }
.mk-panel::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.mk-open.n2 .l { transform: rotateY(10deg); transform-origin: right center; }
.mk-open.n2 .r { transform: rotateY(-10deg); transform-origin: left center; }
.mk-open.n2 .l::after { background: linear-gradient(90deg, transparent 72%, rgba(0,0,0,.14)); }
.mk-open.n2 .r::after { background: linear-gradient(90deg, rgba(0,0,0,.16), rgba(255,255,255,.06) 12%, transparent 30%); }
.mk-open.n3 .l { transform: rotateY(14deg); transform-origin: right center; }
.mk-open.n3 .r { transform: rotateY(-14deg); transform-origin: left center; }
.mk-open.n3 .l::after { background: linear-gradient(90deg, transparent 70%, rgba(0,0,0,.12)); }
.mk-open.n3 .m::after { background: linear-gradient(90deg, rgba(0,0,0,.08), transparent 14%, transparent 86%, rgba(0,0,0,.08)); }
.mk-open.n3 .r::after { background: linear-gradient(90deg, rgba(0,0,0,.14), transparent 28%); }
/* the QR sign standing at the door (openhouse.js; Kris, 2026-10-05: "make the qr sign preview look like the real print too") */
.pv-switches { display: flex; flex-wrap: wrap; gap: 6px; }
.pv-head .seg button { padding: 5px 11px; font-size: 13px; }
.pv-head .seg button[aria-pressed="true"] { background: var(--surface-2); color: var(--ink); box-shadow: var(--shadow-sm); }
.canvas-wrap.print-desk.sign-scene { background: linear-gradient(180deg, #d8d2c8 0%, #cbc4b8 70%, #8f7458 70%, #7a6249 100%); padding: 26px 16px 18px; }
.sign-scene .page-label { color: #f6f1e9; text-shadow: 0 1px 2px rgba(0,0,0,.45); margin-top: 2px; }
.sign-scene canvas { box-shadow: none; }
/* Letter sign in a clear acrylic holder */
.mk-stand { display: grid; justify-items: center; margin-top: 6px; }
.mk-acrylic { position: relative; padding: 7px; border-radius: 3px; border: 1px solid rgba(255,255,255,.7); background: linear-gradient(115deg, rgba(255,255,255,.45), rgba(255,255,255,.12) 45%, rgba(255,255,255,.25)); box-shadow: 0 2px 3px rgba(0,0,0,.18), 0 22px 30px rgba(0,0,0,.28); transform: perspective(1000px) rotateX(4deg); transform-origin: bottom center; }
.mk-acrylic canvas { display: block; }
.mk-acrylic::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: 3px; background: linear-gradient(120deg, rgba(255,255,255,.32) 0%, rgba(255,255,255,.08) 22%, transparent 38%, transparent 78%, rgba(255,255,255,.1)); }
.mk-stand-base { display: block; width: 104%; height: 18px; margin-top: -1px; border-radius: 0 0 5px 5px; border: 1px solid rgba(255,255,255,.65); background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.18)); transform: perspective(260px) rotateX(58deg); transform-origin: top center; box-shadow: 0 10px 14px rgba(0,0,0,.25); }
/* 11 × 17 poster on an easel */
.mk-easel { position: relative; display: grid; justify-items: center; padding: 0 40px 92px; isolation: isolate; }
.mk-easel .leg { position: absolute; top: -14px; width: 11px; height: calc(100% + 10px); border-radius: 3px; background: linear-gradient(90deg, #a97a4c, #c99b68 40%, #8d6239); box-shadow: 1px 2px 4px rgba(0,0,0,.25); z-index: 0; }
.mk-easel .leg.l { left: 50%; transform-origin: top center; transform: translateX(-50%) rotate(14deg); }
.mk-easel .leg.r { left: 50%; transform-origin: top center; transform: translateX(-50%) rotate(-14deg); }
.mk-easel .leg.back { left: 50%; transform: translateX(-50%); height: calc(100% - 20px); filter: brightness(.75); z-index: -1; }
.mk-board { position: relative; z-index: 1; padding: 3px; background: #fbfaf7; box-shadow: 0 2px 3px rgba(0,0,0,.2), 0 18px 28px rgba(0,0,0,.3); }
.mk-board canvas { display: block; }
.mk-easel .ledge { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); bottom: 80px; width: calc(100% - 50px); height: 12px; border-radius: 2px; background: linear-gradient(180deg, #c99b68, #8d6239); box-shadow: 0 4px 6px rgba(0,0,0,.3); }
/* tablet mode on a tablet at the door (openhouse.js fitTablet; Kris, 2026-10-05) */
.tablet-scene { display: grid; justify-items: center; padding: 22px 18px 14px; border-radius: 12px; background: linear-gradient(180deg, #d8d2c8 0%, #cbc4b8 74%, #8f7458 74%, #7a6249 100%); }
.tablet-scene[hidden] { display: none; }
.tablet-frame { width: min(100%, 360px); min-width: 0; box-sizing: border-box; padding: 14px; border-radius: 26px; background: #16191c; box-shadow: inset 0 0 0 2px #3a4248, 0 2px 4px rgba(0,0,0,.25), 0 20px 34px rgba(0,0,0,.35); position: relative; z-index: 1; }
.tablet-screen { position: relative; width: 100%; height: 420px; overflow: hidden; border-radius: 10px; background: #fff; }
.kiosk-frame { position: absolute; top: 0; left: 0; display: block; border: 0; transform-origin: top left; background: #fff; } /* laid out at tablet size, scaled to fit: it mustn't widen the frame */
.tablet-stand { display: block; width: 42%; height: 30px; margin-top: -6px; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #4a5056, #2b2f33); clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); box-shadow: 0 10px 16px rgba(0,0,0,.3); }
/* the half-fold like a real folded card (openhouse.js foldedView; Kris, 2026-10-05: "make the half-fold folded preview look real too") */
.mk-book { perspective: 1300px; padding: 0 12px 6px 0; }
.mk-book-3d { position: relative; transform: rotateY(-14deg) rotateX(3deg); transform-origin: left center; filter: drop-shadow(0 16px 16px rgba(0,0,0,.32)); }
.mk-book-3d canvas { display: block; position: relative; z-index: 1; }
.mk-book-3d::before { content: ''; position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; width: 12%; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,.3), rgba(0,0,0,.2) 16%, rgba(0,0,0,.07) 45%, transparent); } /* the folded edge */
.mk-book-pages { position: absolute; z-index: 0; top: 3px; bottom: 3px; right: -6px; width: 9px; border-radius: 0 2px 2px 0; background: linear-gradient(90deg, #d6d0c6, #f6f3ed 45%, #e4dfd6); } /* the inside sheet at the open edge */
.mk-flip { position: relative; display: flex; justify-content: flex-end; perspective: 1500px; filter: drop-shadow(0 14px 16px rgba(0,0,0,.3)); }
.mk-flip-base { position: relative; }
.mk-flip-base canvas { display: block; }
.mk-flip-base::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.26), rgba(0,0,0,.06) 14%, transparent 30%); } /* shade from the lifted cover */
.mk-flip-leaf { position: absolute; top: 0; right: 0; width: 50%; height: 100%; transform-origin: left center; transform: rotateY(-126deg); transform-style: preserve-3d; }
.mk-flip-leaf .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.mk-flip-leaf .face canvas { display: block; width: 100% !important; height: 100%; }
.mk-flip-leaf .back { transform: rotateY(180deg); }
.mk-flip-leaf .back::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(270deg, rgba(0,0,0,.22), transparent 26%); }
.mk-open.n2.stand { perspective: 1100px; filter: drop-shadow(0 18px 18px rgba(0,0,0,.34)); }
.mk-open.n2.stand .l { transform: rotateY(24deg); }
.mk-open.n2.stand .r { transform: rotateY(-24deg); }
.mk-open.n2.stand .l::after { background: linear-gradient(90deg, rgba(255,255,255,.06), transparent 35%, rgba(0,0,0,.22)); }
.mk-open.n2.stand .r::after { background: linear-gradient(90deg, rgba(0,0,0,.26), rgba(0,0,0,.05) 16%, transparent 40%); }
/* the handout card like real cardstock (openhouse.js foldedView; Kris, 2026-10-05: "make the handout card folded preview look real too") */
.mk-stack { position: relative; margin: 8px 10px 10px 4px; }
.mk-stack-top { position: relative; z-index: 4; transform: rotate(-1.4deg); }
.mk-stack-top canvas { display: block; box-shadow: 1px 1px 0 #e6e1d6, 0 2px 3px rgba(0,0,0,.22), 0 12px 22px rgba(0,0,0,.28); }
.mk-stack-card { position: absolute; inset: 0; background: #fbfaf6; box-shadow: 1px 1px 0 #ddd7cb, 0 1px 3px rgba(0,0,0,.25); }
.mk-stack-card.s1 { z-index: 3; transform: translate(3px, 4px) rotate(1.6deg); }
.mk-stack-card.s2 { z-index: 2; transform: translate(-5px, 7px) rotate(-3.2deg); }
.mk-stack-card.s3 { z-index: 1; transform: translate(7px, 10px) rotate(4.4deg); box-shadow: 1px 1px 0 #ddd7cb, 0 14px 22px rgba(0,0,0,.3); }
.mk-lying { perspective: 900px; padding: 4px 6px 10px; }
.mk-lying canvas { display: block; transform: rotateX(20deg) rotateZ(3deg); transform-origin: center bottom; box-shadow: 2px 2px 0 #e3ded3, 0 18px 24px rgba(0,0,0,.32); }
.mk-held { perspective: 1000px; padding: 10px 24px 16px; }
.mk-held canvas { display: block; transform: rotateY(-26deg) rotateX(8deg) rotateZ(-5deg); box-shadow: 3px 3px 0 #e3ded3, 5px 5px 0 #cfc9bd, 0 26px 32px rgba(0,0,0,.36); } /* the offset edges read as the card's thickness */
/* the single sheet for real (Kris, 2026-10-05: "make the single sheet preview look real too") */
.mk-acrylic canvas, .mk-board canvas { box-shadow: none; }
.mk-held.paper canvas { box-shadow: 1px 1px 0 #e9e4da, 0 26px 32px rgba(0,0,0,.36); transform: rotateY(-22deg) rotateX(10deg) rotateZ(-4deg); } /* paper is thinner than cardstock */
/* the floor plans as printed pages (Kris, 2026-10-05: "make the floor plans preview look real too") */
.mk-packet { position: relative; margin: 6px 14px 14px 4px; }
.mk-packet-under { position: absolute; top: 0; left: 0; }
.mk-packet-under canvas { display: block; box-shadow: 1px 1px 0 #e3ded3, 0 2px 4px rgba(0,0,0,.22); }
.mk-packet-top { position: relative; z-index: 5; transform: rotate(-.8deg); }
.mk-packet-top canvas { display: block; box-shadow: 1px 1px 0 #e6e1d6, 0 12px 22px rgba(0,0,0,.3); }
.mk-staple { position: absolute; z-index: 6; top: 12px; left: 9px; width: 20px; height: 4px; border-radius: 2px; background: linear-gradient(#f1f3f5, #8f979e); transform: rotate(-40deg); box-shadow: 0 1px 1px rgba(0,0,0,.4); }
.mk-fan { position: relative; margin: 4px auto 0; }
.mk-fan-page { position: absolute; top: 14px; transform-origin: bottom center; }
.mk-fan-page canvas { display: block; box-shadow: 1px 1px 0 #e6e1d6, 0 8px 18px rgba(0,0,0,.3); }
/* the lead list (leads.js; Kris, 2026-10-05: "make the leads list look better too") */
.lead-tools { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-bottom: 12px; }
.lead-search { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 15px; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 10px; padding: 9px 12px; }
.lead-search:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft-2); }
.lead-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lead-chip { font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.lead-chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }
.lead-count { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.lead-count:empty { display: none; }
.lead-list { display: grid; gap: 10px; }
.lead-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.lead-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; letter-spacing: .02em; background: var(--lc-soft); color: var(--lc); }
.lead-main { min-width: 0; display: grid; gap: 3px; }
.lead-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.lead-name { font-size: 16.5px; color: var(--ink); }
.lead-sub { margin: 0; font-size: 13px; color: var(--muted); }
.lead-contact { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 14px; }
.lead-contact a { color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; }
.lead-contact a:hover { color: var(--accent-text); text-decoration: underline; }
.lead-note { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-2); font-style: italic; border-left: 2px solid var(--line-2); padding-left: 8px; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lead-note[hidden] { display: none; }
.lead-badge { font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 9px; white-space: nowrap; background: var(--surface-2); color: var(--muted); }
.lead-badge.hot { background: rgba(61, 214, 181, .16); color: var(--accent-text); }
.lead-badge.ok { background: rgba(61, 214, 181, .12); color: #9fe8d6; }
.lead-badge.warn { background: rgba(255, 200, 87, .14); color: var(--amber); }
.lead-side { display: grid; gap: 8px; justify-items: end; }
.lead-status { font: inherit; font-size: 13.5px; font-weight: 700; border-radius: 999px; padding: 6px 30px 6px 12px; border: 1.5px solid var(--lc); background: var(--lc-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23c9d0d6' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") right 9px center/14px no-repeat; color: var(--lc); appearance: none; -webkit-appearance: none; cursor: pointer; }
.lead-status option { color: #111; background: #fff; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.lead-act { font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 11px; text-decoration: none; cursor: pointer; }
.lead-act:hover { border-color: var(--accent); color: var(--accent-text); }
.lead-act.ghost { background: transparent; }
.lead-more { grid-column: 1 / -1; display: grid; gap: 8px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.lead-more[hidden] { display: none; }
.lead-more textarea { font: inherit; font-size: 14.5px; color: var(--ink); background: var(--bg-2); border: 1.5px solid var(--line-2); border-radius: 10px; padding: 9px 11px; min-height: 76px; resize: vertical; width: 100%; box-sizing: border-box; }
.lead-more textarea:focus { outline: none; border-color: var(--accent); }
.lead-more-foot { display: flex; align-items: center; gap: 10px; }
.lead-saved { font-size: 12.5px; font-weight: 600; color: var(--accent-text); }
.lead-none { margin: 4px 0; color: var(--muted); font-size: 14px; }
.lead-empty { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 30px 16px; border: 1.5px dashed var(--line-2); border-radius: 14px; color: var(--muted); }
.lead-empty b { color: var(--ink); font-size: 16px; }
/* status colours */
.lead-avatar.new, .lead-status.new, .lead-chip.new { --lc: #7EEED5; --lc-soft: rgba(61, 214, 181, .16); }
.lead-avatar.follow, .lead-status.follow, .lead-chip.follow { --lc: #FFC857; --lc-soft: rgba(255, 200, 87, .14); }
.lead-avatar.agent, .lead-status.agent, .lead-chip.agent { --lc: #B5BFC9; --lc-soft: rgba(181, 191, 201, .14); }
.lead-avatar.no, .lead-status.no, .lead-chip.no { --lc: #F4937F; --lc-soft: rgba(244, 147, 127, .13); }
.lead-avatar.client, .lead-status.client, .lead-chip.client { --lc: #A6E37B; --lc-soft: rgba(166, 227, 123, .14); }
.lead-chip[aria-pressed="true"].new, .lead-chip[aria-pressed="true"].follow, .lead-chip[aria-pressed="true"].agent, .lead-chip[aria-pressed="true"].no, .lead-chip[aria-pressed="true"].client { border-color: var(--lc); background: var(--lc-soft); color: var(--lc); }
@media (max-width: 640px) {
  .lead-card { grid-template-columns: auto minmax(0, 1fr); }
  .lead-side { grid-column: 1 / -1; justify-items: start; grid-template-columns: auto 1fr; align-items: center; }
  .lead-actions { justify-content: flex-start; }
}
/* Open houses page: overview, gallery cards, plan pill (openhouses.js; Kris, 2026-10-05: "make the open houses page look better too") */
.plan-pill { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); margin-right: 4px; vertical-align: 1px; }
.plan-pill.warn { background: rgba(255, 200, 87, .14); color: var(--amber); }
.plan-sub { font-weight: 700; color: var(--accent-text); }
.dash-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.dash-stats[hidden] { display: none; }
.dash-stat { font: inherit; text-align: left; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 3px; min-width: 0; }
button.dash-stat { cursor: pointer; transition: border-color .15s, background .15s; }
button.dash-stat:hover { border-color: var(--line-2); background: var(--surface); }
.dash-stat b { font-size: 26px; font-weight: 800; line-height: 1.1; }
.dash-stat small { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.dash-stat.hot { border-color: rgba(61, 214, 181, .45); }
.dash-stat.hot b { color: var(--accent-text); }
.list-bar .list-h { font-size: 20px; margin: 0 auto 0 0; max-width: none; }
.oh-list { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.oh-tile { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; transition: border-color .15s; }
.oh-tile:has(details.menu[open]) { z-index: 5; } /* its More menu goes over the cards below (the card no longer clips it: Kris, 2026-10-05) */
.oh-tile details.menu { position: static; } /* so the menu opens under the button across the card, inside the screen on any phone */
.oh-tile .menu-list { left: 12px; right: 12px; top: auto; margin-top: 6px; min-width: 0; }
.oh-tile:hover { border-color: var(--line-2); }
.oh-photo { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--surface); border-radius: 15px 15px 0 0; overflow: hidden; }
.oh-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oh-tile.closed .oh-photo img { filter: grayscale(.7) brightness(.85); }
.oh-chip { position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(20, 22, 25, .74); color: #e9ecef; backdrop-filter: blur(4px); }
.oh-chip.live { color: #7EEED5; }
.oh-chip.live::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3DD6B5; margin-right: 6px; box-shadow: 0 0 0 3px rgba(61, 214, 181, .25); vertical-align: 1px; }
.oh-info { display: grid; gap: 8px; padding: 14px 16px 16px; flex: 1; align-content: start; }
.oh-info h3 { margin: 0; font-size: 18px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.oh-info h3 a { color: var(--ink); text-decoration: none; }
.oh-info h3 a:hover { color: var(--accent-text); }
.oh-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.oh-tile .oh-count { display: inline-flex; align-items: center; justify-items: normal; gap: 5px; min-width: 0; padding: 5px 11px; border-radius: 999px; font-size: 13px; color: var(--ink-2); }
.oh-tile .oh-count b { font-size: 15px; line-height: 1; color: var(--accent-text); }
.oh-tile .oh-count em { margin-left: 2px; }
.oh-last { font-size: 13px; color: var(--muted); }
.oh-tile .oh-acts { margin-top: 2px; }
.oh-new { align-items: center; justify-content: center; text-align: center; gap: 6px; min-height: 280px; border: 1.5px dashed var(--line-2); background: transparent; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; padding: 20px; }
.oh-new:hover { border-color: var(--accent); color: var(--ink-2); }
.oh-new b { color: var(--ink); font-size: 16.5px; }
.oh-new-plus { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 500; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 4px; }
@media (max-width: 760px) { .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .oh-new { min-height: 0; padding: 22px 20px; } }
/* Open house editor (openhouse/; Kris, 2026-10-05: "make the open house editor look better too"): a header card with the
   main photo, status, details and sign-ins; tabs as a sticky bar with icons; the details in groups; photos and floor
   plans side by side with them; the Sign-ins tab opens on an overview */
.ed-hero { display: grid; grid-template-columns: 210px minmax(0, 1fr) auto; gap: 20px; align-items: center; background: linear-gradient(135deg, var(--bg-2) 30%, var(--surface) 140%); border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px 14px 14px; margin-bottom: 18px; }
.ed-cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.ed-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ed-cover:hover img { transform: scale(1.03); }
.ed-cover.closed img { filter: grayscale(.7) brightness(.85); }
.ed-cover .ed-nophoto { display: none; font-size: 13.5px; font-weight: 700; color: var(--accent-text); }
.ed-cover.empty { border: 1.5px dashed var(--line-2); background: transparent; }
.ed-cover.empty:hover { border-color: var(--accent); }
.ed-cover.empty .ed-nophoto { display: block; }
.ed-cover .oh-chip { top: 8px; left: 8px; font-size: 11.5px; padding: 3px 9px; z-index: 1; }
.oh-chip:empty { display: none; }
.ed-hero .ed-title h1 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.02em; }
.ed-hero .ed-title .sub { margin: 4px 0 12px; font-size: 14.5px; }
.ed-glance { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 30px; }
.ed-glance .oh-count { grid-column: auto; grid-row: auto; display: inline-flex; align-items: center; justify-content: flex-start; gap: 5px; min-width: 0; padding: 5px 11px; border-radius: 999px; font-size: 13px; color: var(--ink-2); }
.ed-glance .oh-count b { font-size: 15px; line-height: 1; color: var(--accent-text); }
.ed-glance .oh-count em { margin: 0 0 0 2px; }
.ed-hero .ed-actions { align-self: start; justify-content: flex-end; max-width: 430px; }
#app .tabs-bar { position: sticky; top: var(--hdr-h, 64px); z-index: 30; background: var(--bg); border-bottom: 0; padding: 8px 0; margin: 0 0 14px; align-items: center; transition: box-shadow .2s; }
#app .tabs-bar.stuck { box-shadow: 0 12px 14px -14px rgba(0, 0, 0, .7); }
#app .tabs-bar .tabs { gap: 2px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
#app .tabs-bar .tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 0; border-radius: 9px; font-size: 14.5px; transition: background .15s, color .15s; }
#app .tabs-bar .tabs button:hover { color: var(--ink); background: rgba(255, 255, 255, .04); }
#app .tabs-bar .tabs button[aria-selected="true"] { color: var(--ink); background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .25), inset 0 0 0 1px var(--line-2); }
.tab-ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#app .tabs button[aria-selected="true"] .tab-ic { color: var(--accent); }
#app .tabs-bar .save-state { margin: 0; }
#app .sticky { top: calc(var(--hdr-h, 64px) + 72px); }
.f-group { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 16px 0 0; min-width: 0; display: grid; gap: 12px; }
.card-box > .hint + .f-group { border-top: 0; padding-top: 2px; }
.f-group legend { float: left; padding: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.side-col { display: grid; gap: 18px; min-width: 0; }
.side-col > .card-box { margin-bottom: 0; }
.photo-box { scroll-margin-top: calc(var(--hdr-h, 64px) + 72px); }
#panel-leads .dash-stats { margin-bottom: 18px; }
button.dash-stat:disabled { cursor: default; }
button.dash-stat:disabled:hover { border-color: var(--line); background: var(--bg-2); }
@media (max-width: 1020px) {
  .ed-hero { grid-template-columns: 170px minmax(0, 1fr); }
  .ed-hero .ed-actions { grid-column: 1 / -1; justify-content: flex-start; max-width: none; }
}
@media (max-width: 600px) {
  .ed-hero { grid-template-columns: 92px minmax(0, 1fr); gap: 12px 14px; padding: 12px; align-items: start; }
  .ed-cover { aspect-ratio: 1; }
  .ed-cover .oh-chip { display: none; }
  .ed-hero .ed-title .sub { margin-bottom: 8px; font-size: 13.5px; }
  #app .tabs-bar .tabs button { padding: 8px 10px; font-size: 14px; }
  #app .tabs-bar .save-state { display: none; }
  #app .tabs-bar .save-state.err { display: block; }
}
/* the floor plan name rows (the account page's .plan-row table rule was overriding them) */
.plan-list .plan-row { display: flex; grid-template-columns: none; gap: 6px; align-items: center; padding: 6px; border-bottom: 0; background: none; }
@media (max-width: 600px) {
  .dash-stat b { font-size: 22px; }
  .lead-side { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .lead-actions { flex-wrap: wrap; }
}
/* Account page (account/; Kris, 2026-10-05: "make the account page look better too"): a header card with the headshot,
   tiles with icons, the tab bar like the editor's, the profile beside a business-card preview, a plan card with what's
   included */
.acct-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; background: linear-gradient(135deg, var(--bg-2) 30%, var(--surface) 140%); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin-bottom: 18px; }
.acct-avatar { width: 84px; height: 84px; border-radius: 50%; padding: 0; overflow: hidden; display: grid; place-items: center; font: inherit; font-size: 28px; font-weight: 800; color: var(--accent-text); background: var(--accent-soft); border: 2px solid rgba(61, 214, 181, .45); cursor: pointer; transition: border-color .15s; }
.acct-avatar:hover { border-color: var(--accent); }
.acct-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acct-hero-text { min-width: 0; }
.acct-hero .eyebrow { margin-bottom: 2px; }
.acct-hero h1 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 4px; letter-spacing: -.02em; }
.acct-who { margin: 0 0 4px; color: var(--ink-2); font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.acct-who:empty { display: none; }
.acct-hero .acct-email { display: block; font-size: 13.5px; overflow-wrap: anywhere; }
.acct-hero .acct-email span { color: var(--ink-2); }
.acct-hero-side { display: grid; justify-items: end; gap: 12px; }
.acct-blogo { display: grid; place-items: center; background: #fff; border-radius: 10px; padding: 6px 10px; height: 52px; max-width: 150px; }
.acct-blogo[hidden] { display: none; }
.acct-blogo img { max-height: 40px; max-width: 130px; object-fit: contain; display: block; }
.acct-blogo.on-dark { background: #17181b; }
.glance { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; position: relative; padding-right: 30px; }
.glance-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.glance.warn .glance-ic { background: rgba(255, 200, 87, .14); color: var(--amber); }
.glance-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.glance-txt { display: grid; gap: 2px; min-width: 0; }
.glance::after { content: '\203A'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--muted); transition: transform .15s, color .15s; }
.glance:hover::after { color: var(--ink); transform: translate(3px, -50%); }
#acct .tabs-bar { position: sticky; top: var(--hdr-h, 64px); z-index: 30; background: var(--bg); border-bottom: 0; padding: 8px 0; margin: 0 0 14px; align-items: center; transition: box-shadow .2s; }
#acct .tabs-bar.stuck { box-shadow: 0 12px 14px -14px rgba(0, 0, 0, .7); }
#acct .tabs-bar .tabs { gap: 2px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
#acct .tabs-bar .tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 13px; border: 0; border-radius: 9px; font-size: 14.5px; transition: background .15s, color .15s; }
#acct .tabs-bar .tabs button:hover { color: var(--ink); background: rgba(255, 255, 255, .04); }
#acct .tabs-bar .tabs button[aria-selected="true"] { color: var(--ink); background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .25), inset 0 0 0 1px var(--line-2); }
#acct .tabs button[aria-selected="true"] .tab-ic { color: var(--accent); }
#acct .tabs-bar .save-state { margin: 0; max-width: 340px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#acct .acct-card { scroll-margin-top: calc(var(--hdr-h, 64px) + 72px); }
.acct-card .demo-form > .f-group:first-child { border-top: 0; padding-top: 0; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 18px; align-items: start; }
.profile-main { min-width: 0; }
.you-preview { position: sticky; top: calc(var(--hdr-h, 64px) + 72px); display: grid; gap: 10px; }
.you-card { background: #fff; color: #1F2328; border-radius: 16px; padding: 18px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25), 0 18px 40px rgba(0, 0, 0, .3); display: grid; gap: 12px; border-top: 5px solid var(--accent); }
.you-top { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; align-items: center; }
.you-photo { width: 62px; height: 62px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #E7F7F2; color: #157A5C; font-weight: 800; font-size: 21px; }
.you-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.you-name { display: grid; gap: 1px; min-width: 0; }
.you-name b { font-size: 17px; line-height: 1.25; color: #14171A; overflow-wrap: anywhere; }
.you-name span { font-size: 13px; color: #59626C; overflow-wrap: anywhere; }
.you-name .ph { color: #A0A7AF; font-style: italic; }
.you-tagline { margin: 0; font-size: 13.5px; color: #3A4148; font-style: italic; line-height: 1.45; }
.you-tagline[hidden] { display: none; }
.you-contact { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid #E6E9EC; display: grid; gap: 6px; }
.you-contact:empty { display: none; }
.you-contact li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: center; font-size: 13.5px; color: #2B3036; }
.you-contact li span:last-child { overflow-wrap: anywhere; }
.you-contact .ic svg { width: 16px; height: 16px; fill: none; stroke: #157A5C; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
.you-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; }
.you-logos:empty { display: none; }
.you-logos img { max-height: 34px; max-width: 120px; object-fit: contain; display: block; }
.you-logos img[data-logo="light"] { background: #17181b; padding: 5px 8px; border-radius: 6px; box-sizing: content-box; }
/* dark and light logos under each logo on the account page (account.js logoStyleUI; Kris, 2026-10-06) */
.logo-style { width: 100%; display: grid; gap: 6px; margin: 4px 0 8px; }
.logo-style[hidden] { display: none; }
.ls-title { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ls-opts { display: grid; gap: 10px; }
.ls-group { display: grid; gap: 5px; }
.ls-sub { margin: 6px 0 0; font-size: 12.5px; font-weight: 600; color: var(--ink-2); line-height: 1.3; }
.ls-group .ls-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ls-group .ls-opts button { padding: 5px 4px 6px; }
.ls-group .ls-name { font-size: 12.5px; }
.ls-opt { display: grid; gap: 3px; min-width: 0; align-content: start; }
.ls-own { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 8px; padding: 0 2px; font-size: 12.5px; line-height: 1.45; color: var(--muted); text-align: center; }
.ls-own .linkish { font-size: 12.5px; }
.ls-own label.linkish { cursor: pointer; }
.photo-acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; margin-top: 6px; }
.photo-acts label.btn { margin-top: 0; }
.photo-tile > .linkish { font-size: 13px; }
.ls-opts button { font: inherit; display: grid; justify-items: center; gap: 5px; padding: 6px 6px 7px; text-align: center; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--ink-2); cursor: pointer; min-width: 0; }
.ls-opts button[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }
.ls-opts button:disabled { opacity: .45; cursor: not-allowed; }
.ls-prev { display: block; width: 100%; max-width: 180px; line-height: 0; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.ls-prev canvas { display: block; width: 100%; height: auto; }
.ls-name { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.ls-name small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.ls-opts button[aria-checked="true"] .ls-name small { color: inherit; opacity: .8; }
.ls-note { margin: 0; font-size: 12px; line-height: 1.4; color: var(--muted); }
.ls-src { display: none; }
.you-note { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; align-items: start; }
.plan-main { min-width: 0; }
.plan-incl { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.plan-incl ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 9px; }
.plan-incl li { position: relative; padding-left: 26px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.plan-incl li::before { content: ''; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.3' fill='none' stroke='%230E201C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.danger-card h2 { color: #F4937F; }
@media (max-width: 900px) {
  .profile-grid { grid-template-columns: 1fr; }
  .you-preview { position: static; grid-template-columns: minmax(0, 360px); }
  .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .acct-hero { grid-template-columns: auto minmax(0, 1fr); padding: 16px; gap: 14px 16px; }
  .acct-avatar { width: 64px; height: 64px; font-size: 22px; align-self: start; }
  .acct-hero-side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .acct-blogo { height: 44px; }
  #acct .tabs-bar { position: static; }
  #acct .tabs-bar .save-state { display: none; }
}
@media (max-width: 600px) {
  /* the overview's rows on phones: icon, label, value, arrow */
  .glance { gap: 12px; padding: 10px 32px 10px 12px; }
  .glance-ic { width: 32px; height: 32px; border-radius: 9px; }
  .glance-ic svg { width: 18px; height: 18px; }
  .glance-txt { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
}
/* the agent's own sign-in questions (openhouse.js renderQuestions, leads.js; Kris, 2026-10-05: "can you make a way to add a question") */
.q-editor { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.q-editor .field-label { margin: 0; }
.q-list { display: grid; gap: 10px; }
.q-list:empty { display: none; }
.q-card { display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.q-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; gap: 6px; align-items: center; }
.q-n { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--accent-soft); color: var(--accent-text); }
.demo-form .q-card input:not([type=checkbox]) { font: inherit; font-size: 15px; color: var(--ink); background: var(--bg-2); border: 1.5px solid var(--line-2); border-radius: 8px; padding: 8px 10px; width: 100%; min-width: 0; }
.demo-form .q-card input:not([type=checkbox]):focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft-2); }
.q-tool { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; font: inherit; font-size: 16px; font-weight: 700; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 8px; cursor: pointer; }
.q-tool:hover:not(:disabled) { border-color: var(--accent); color: var(--ink); }
.q-tool:disabled { opacity: .35; cursor: default; }
.q-tool.danger:hover:not(:disabled) { border-color: #F07A63; color: #F4937F; }
.q-tool svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.q-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding-left: 32px; }
.q-types button { padding: 6px 11px; font-size: 13.5px; }
.demo-form label.q-req { font-size: 14px; }
.q-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-left: 32px; align-items: center; }
.q-opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.q-more { justify-self: start; font-size: 13.5px; }
.q-warn { margin: 0 0 0 32px; font-size: 13px; color: var(--amber); }
.q-add { justify-self: start; }
.q-add[hidden], .q-ideas[hidden] { display: none; }
.q-ideas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.q-ideas > span { font-size: 13px; color: var(--muted); margin-right: 2px; }
.q-idea { font: inherit; font-size: 13px; color: var(--ink-2); background: transparent; border: 1px dashed var(--line-2); border-radius: 999px; padding: 4px 11px; cursor: pointer; text-align: left; }
.q-idea:hover { border-color: var(--accent); color: var(--accent-text); }
.lead-answers { margin: 6px 0 0; display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); gap: 3px 12px; font-size: 13.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.lead-answers dt { color: var(--muted); }
.lead-answers dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .q-row, .q-opts { padding-left: 0; }
  .q-opts { grid-template-columns: 1fr; }
  .q-warn { margin-left: 0; }
  .lead-answers { grid-template-columns: 1fr; }
  .lead-answers dd { margin-bottom: 4px; }
}
/* theme pickers with a picture of this open house in each theme (openhouse.js renderThumbs; Kris, 2026-10-05: "6 different designs of the flyer") */
.design-pick, .tone-pick { gap: 8px; }
.look-row { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: flex-end; }
.look-row .field-label { margin-bottom: 6px; }
.pick .theme-opt { display: grid; justify-items: center; gap: 6px; padding: 7px 7px 6px; min-width: 76px; }
.theme-thumb { display: block; width: 62px; height: 80px; border-radius: 2px; background: var(--surface-2); box-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 4px 10px rgba(0, 0, 0, .25); }
.pick .theme-opt span { font-size: 12.5px; line-height: 1.1; }
.pick .theme-opt[aria-pressed="true"] .theme-thumb { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 600px) { .pick .theme-opt { min-width: 64px; padding: 6px 5px 5px; } .theme-thumb { width: 50px; height: 65px; } }
/* sales page: the six flyer themes as real renders (site.js; Kris, 2026-10-05: "6 different designs of the flyer") */
.seg.seg-themes { display: flex; flex-wrap: wrap; }
.seg-label { margin: 14px 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #6b7280); }
.seg-label + .seg { margin-top: 0; }
.seg.seg-themes button { padding: 8px 14px; }
.flyer-shot { display: block; width: min(340px, 100%); height: auto; aspect-ratio: 8.5 / 11; border-radius: 4px; box-shadow: var(--shadow); background: #fff; }

/* the demo video window on the Open houses page (openhouses.js; Kris, 2026-10-09) */
.demo-btn { gap: 7px; }
.demo-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.demo-btn svg path { fill: currentColor; stroke: none; }
.demo-dialog { padding: 0; border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg-2); color: var(--ink); width: min(960px, calc(100vw - 24px)); max-height: calc(100vh - 24px); box-shadow: 0 24px 80px rgba(0,0,0,.55); }
.demo-dialog::backdrop { background: rgba(10, 12, 14, .72); }
.demo-body { padding: 16px 18px 16px; display: grid; gap: 12px; }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.demo-head h2 { margin: 0; font-size: 19px; max-width: none; text-wrap: balance; }
.demo-x { font: inherit; font-size: 26px; line-height: 1; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); cursor: pointer; flex: none; }
.demo-x:hover { color: var(--ink); border-color: var(--ink-2); }
.demo-dialog video { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; background: #1d2125; }
.demo-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.demo-note { margin: 0; flex: 1 1 220px; font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .demo-body { padding: 12px; } .demo-head h2 { font-size: 16px; } .demo-btn { padding-left: 12px; padding-right: 12px; } }
