@font-face{font-family:Inter;src:url("assets/inter.woff2") format("woff2");font-weight:100 900;font-display:swap}
:root{
  color-scheme:light;
  --ink:#17243d;--blue:#2563eb;--blue-dark:#1c50c8;--blue-soft:#eaf1ff;
  --bg:#f3f6fa;--white:#fff;--muted:#52647d;--line:#dce5f0;--soft-line:#e7edf5;
  --accent-ink:#2052bd;--surface-soft:#edf3fb;--input-line:#cdd9eb;
  --green:#087454;--green-soft:#e6f8f0;--red:#a62d43;--red-soft:#fcecf0;
  --radius:22px;--header:66px;--shadow:0 16px 42px #17243d0d,0 2px 5px #17243d05;
}
*{box-sizing:border-box}
html{background:var(--bg)}
body{margin:0;min-width:0;padding-bottom:env(safe-area-inset-bottom);overflow-x:clip;color:var(--ink);font:400 15px/1.52 Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
button,input{color:inherit;font:inherit}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.46}
a{color:inherit;text-decoration:none}
:where(p,h1,h2,h3,figure){margin:0}
h1,h2,h3{font-weight:760;letter-spacing:-.052em;line-height:1.08}
h1{font-size:clamp(35px,4.5vw,61px)}
h2{font-size:27px}
small{font-size:12px}
img{display:block;width:100%;object-fit:cover}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
h1[tabindex="-1"]:focus,main:focus{outline:none}
[hidden]{display:none!important}
::selection{background:#d6e5ff;color:var(--ink)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}
.skip{position:fixed;z-index:50;top:8px;left:8px;padding:9px 13px;border-radius:8px;background:var(--white);transform:translateY(-200%)}
.skip:focus{transform:none}
.icon{width:19px;height:19px;display:inline-block;vertical-align:middle;flex:none}
.wrap{width:min(1120px,calc(100% - 52px));margin-inline:auto}
.spread{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.muted{color:var(--muted)}
.eyebrow{display:inline-flex;gap:8px;align-items:center;color:var(--accent-ink);text-transform:uppercase;letter-spacing:.13em;font-size:11px;font-weight:750}
.eyebrow i,.deck-progress>span:first-child>i{display:inline-block;width:7px;height:7px;flex:none;border-radius:50%;background:var(--blue);box-shadow:0 0 0 4px #2563eb19}

.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 13px;border:1px solid transparent;border-radius:11px;line-height:1.2;font-weight:675;font-size:13px;white-space:nowrap;transition:background .15s,border-color .15s}
.button .icon{width:17px;height:17px}
.button.outline{background:var(--white);border-color:var(--line)}
.button.outline:hover:not(:disabled){background:#f6f9ff;border-color:#bacceb}
.button.primary{background:var(--blue);color:white;box-shadow:0 3px 7px #2563eb24}
.button.primary:hover:not(:disabled){background:var(--blue-dark)}
.button.ghost{color:var(--muted);background:transparent}
.button.ghost:hover:not(:disabled){color:var(--ink);background:#eaf0f9}
.button.soft{color:var(--accent-ink);background:var(--blue-soft)}
.button.glass{color:white;background:#17243d85;border-color:#ffffff62}
.button.glass:hover:not(:disabled){background:#17243dd1}
.button.round,.button.header-icon{width:44px;padding:0}
.button.round{border-radius:50%}
.button.round .icon,.button.header-icon .icon{width:20px;height:20px}
.button.small{min-height:34px;padding:0 7px;font-size:12px}
.button.small .icon{width:14px;height:14px}
.pill{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:fit-content;min-height:25px;padding:4px 9px;border-radius:999px;background:#eef3fa;color:#435775;font-size:11px;font-weight:690;line-height:1.2;white-space:nowrap}
.pill .icon{width:13px;height:13px}
.pill.blue{background:var(--blue-soft);color:var(--accent-ink)}
.pill.glass{background:#17243da8;color:white;border:1px solid #ffffff33}
.pill.photo-green{background:#e6f8f0;color:#086044}

.topbar{position:sticky;z-index:12;top:0;border-bottom:1px solid var(--soft-line);background:#fffffff7}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;min-height:calc(var(--header) - 1px);gap:12px}
.brand{display:inline-flex;align-items:center;gap:8px;font-size:25px;line-height:1;font-weight:790;letter-spacing:-.085em;flex:none}
.brand img{width:35px;height:35px}
.brand em{color:var(--blue);font-style:normal}
.topbar-right{display:flex;align-items:center;gap:7px}
.header-icon{position:relative}
.bubble{position:absolute;right:4px;top:4px;display:grid;place-items:center;min-width:15px;height:15px;padding:0 2px;border:1px solid white;border-radius:50px;background:var(--blue);color:white;font-size:9px;line-height:1}

.survey-main{padding-block:clamp(24px,5vw,65px) 38px}
.survey-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.99fr);overflow:hidden;background:var(--white);border:1px solid var(--soft-line);border-radius:26px;box-shadow:var(--shadow)}
.survey-content{display:flex;flex-direction:column;min-width:0;min-height:536px;padding:clamp(22px,3.3vw,44px)}
.step-count{color:var(--ink);font-size:12px;font-weight:750;font-variant-numeric:tabular-nums}
.step-count>span{color:#8190a7;margin-inline:3px}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:11px 0 24px;height:4px}
.steps>i{border-radius:5px;background:#e5edf8}
.steps>i.filled{background:var(--blue)}
.survey-content h1{font-size:clamp(31px,3.8vw,48px);letter-spacing:-.058em}
.survey-intro{margin-top:7px;color:var(--muted);font-size:14px;max-width:42ch}
.survey-question{margin-top:17px;font-size:18px;letter-spacing:-.03em}
.choices{display:grid;gap:8px;margin:17px 0 15px}
.choices.city{grid-template-columns:repeat(2,minmax(0,1fr))}
.choices.city>.choice:last-child{grid-column:1/-1}
.choice{display:flex;gap:10px;align-items:center;min-height:62px;min-width:0;width:100%;padding:7px 9px;border:1px solid var(--line);border-radius:13px;background:var(--white);text-align:left;transition:background .15s,border-color .15s}
.choice:hover,.choice.selected{border-color:#8caff6;background:#f2f7ff}
.choice-icon{display:grid;place-items:center;flex:none;width:39px;height:39px;background:var(--blue-soft);color:var(--blue);border-radius:10px}
.choice-icon .icon{width:19px;height:19px}
.choice-copy{flex:1;min-width:0}
.choice-copy strong,.choice-copy small{display:block}
.choice-copy strong{font-size:14px;line-height:1.22;overflow-wrap:anywhere}
.choice-copy small{font-size:11px;color:var(--muted);margin-top:2px}
.choice-check,.budget-none>span{width:19px;height:19px;display:grid;place-items:center;flex:none;color:white;border:1px solid #c8d6e9;border-radius:50%}
.choice.selected .choice-check,.budget-none.selected>span{background:var(--blue);border-color:var(--blue)}
.choice-check .icon,.budget-none>span .icon{width:12px;height:12px;stroke-width:2.6}
.survey-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
.survey-actions .button.primary{min-height:49px;padding-inline:16px}
.survey-actions .button.ghost{padding-inline:1px 8px}
.survey-note{margin-top:10px;font-size:11px;color:var(--muted)}
.form-error{color:var(--red);background:var(--red-soft);padding:7px 9px;margin-bottom:9px;border-radius:8px;font-size:12px}
.survey-visual{isolation:isolate;position:relative;min-height:100%;margin:0;background:#cfc3ad}
.survey-visual>img{position:absolute;inset:0;height:100%;z-index:-2}
.survey-visual::after{content:"";position:absolute;inset:32% 0 0;background:linear-gradient(transparent,#151d2dc2);z-index:-1}
.survey-visual>.pill{position:absolute;inset:17px auto auto 17px;padding:7px 10px;font-size:10px;letter-spacing:.075em}
.survey-visual figcaption{position:absolute;inset:auto 20px 22px;color:white}
.survey-visual figcaption>span{display:block;margin-bottom:5px;font-size:10px;font-weight:750;letter-spacing:.12em;color:#f2f6ff}
.survey-visual figcaption>strong{font-size:clamp(26px,3.8vw,46px);font-weight:770;letter-spacing:-.06em;line-height:1.06}
.budget-set{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.budget-chip{display:grid;place-items:center;min-height:44px;padding:4px 7px;border:1px solid var(--line);border-radius:10px;background:var(--white);font-size:14px;font-weight:720;font-variant-numeric:tabular-nums}
.budget-chip:hover,.budget-chip.selected{color:var(--accent-ink);background:var(--blue-soft);border-color:#96b7fa}
.budget-label{margin-top:5px;color:var(--muted);font-size:12px;font-weight:650}
.budget-input{display:flex;align-items:center;min-height:45px;gap:8px;padding:0 10px;border:1px solid var(--input-line);border-radius:10px;background:var(--white)}
.budget-input:focus-within{border-color:var(--blue);box-shadow:0 0 0 2px #2563eb2e}
.budget-input input{flex:1;min-width:0;border:0;padding:9px 0;background:none;font-size:16px}
.budget-input input:focus{outline:none}
.budget-input>span{color:var(--muted);font-size:13px;white-space:nowrap}
.budget-none{display:flex;align-items:center;gap:7px;min-height:39px;justify-self:start;border:0;padding:3px 0;background:none;color:var(--muted);font-size:13px}
.budget-none>span{border-radius:5px}
.budget-none.selected{color:var(--accent-ink)}

.discovery-main{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1fr);align-items:center;gap:clamp(24px,6vw,86px);max-width:1030px;padding-block:23px 32px}
.discovery-intro{min-width:0}
.discovery-intro h1{margin:10px 0;letter-spacing:-.066em}
.discovery-intro h1 span{color:var(--blue)}
.intro-caption{color:var(--muted);font-size:15px;max-width:34ch}
.selection{margin-top:19px;padding:11px 13px 13px;border-radius:16px;background:var(--white);border:1px solid var(--soft-line);box-shadow:0 2px 8px #17243d06}
.selection .spread strong{font-size:13px}
.selection-pills{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:5px}
.gesture-guide{display:flex;align-items:center;gap:13px;margin-top:17px}
.gesture-guide>div{display:flex;align-items:center;gap:6px}
.gesture-guide strong,.gesture-guide small{display:block;font-size:11px;white-space:nowrap}
.gesture-guide small{color:var(--muted);font-size:10px}
.gesture-icon{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:9px}
.gesture-icon .icon{width:15px;height:15px}
.gesture-icon.pass{background:var(--red-soft);color:var(--red)}
.gesture-icon.keep{background:var(--green-soft);color:var(--green)}
.deck{width:100%;max-width:505px;min-width:0;justify-self:center}
.deck-progress{margin-bottom:8px;color:var(--muted);font-size:12px;font-weight:650}
.deck-progress>span:first-child{display:flex;align-items:center;gap:7px}
.deck-progress>span:first-child>i{width:6px;height:6px;box-shadow:none}
.deck-track{display:block;flex:0 0 90px;max-width:30%;height:4px;background:#dbe6f4;border-radius:5px;overflow:hidden}
.deck-track>i{display:block;height:100%;border-radius:5px;background:var(--blue)}
.card-stack{position:relative;isolation:isolate}
.next-card{position:absolute;inset:7px 13px -9px;background:#d8e4f5;border:1px solid #cad9ef;border-radius:23px;box-shadow:0 4px 9px #17243d0d}
.swipe-card{position:relative;isolation:isolate;height:clamp(375px,calc(100svh - 218px),590px);border-radius:24px;overflow:hidden;background:#b2a695;color:white;box-shadow:0 12px 29px #17243d24,0 2px 7px #17243d11;transform:translate(var(--drag-x,0),var(--drag-y,0)) rotate(var(--drag-angle,0));transform-origin:50% 80%;transition:transform .22s cubic-bezier(.22,.9,.4,1.22),opacity .17s ease-out;touch-action:pan-y;user-select:none}
.swipe-card.dragging{transition:none}
.swipe-card.leaving{z-index:5;opacity:0;transition:transform .17s ease-out,opacity .17s ease-out;pointer-events:none}
.card-image,.photo-shade,.card-hit{position:absolute;inset:0;width:100%;height:100%}
.card-image{object-position:center;z-index:-3;pointer-events:none}
.photo-shade{z-index:-2;background:linear-gradient(180deg,#101a2c68 0%,transparent 26%,transparent 36%,#141c2860 59%,#101923ef 100%);pointer-events:none}
.card-hit{background:none;border:0;color:white;touch-action:pan-y}
.card-hit:focus-visible{outline:3px solid #bad1ff;outline-offset:-5px;border-radius:24px}
.photo-progress{position:absolute;inset:13px 14px auto;display:flex;gap:4px;pointer-events:none}
.photo-progress i{flex:1;height:3px;background:#ffffff6d;border-radius:4px}
.photo-progress i.current{background:white}
.photo-labels{position:absolute;top:25px;left:13px;right:13px;display:flex;justify-content:space-between;gap:6px;pointer-events:none}
.photo-arrows{position:absolute;display:flex;justify-content:space-between;align-items:center;inset:43% 10px auto;pointer-events:none}
.photo-arrows .button{pointer-events:auto;width:40px;min-height:40px}
.drag-stamp{position:absolute;z-index:3;top:66px;pointer-events:none;display:flex;align-items:center;gap:6px;padding:6px 9px;border:2px solid currentColor;border-radius:9px;letter-spacing:.08em;font-size:15px;font-weight:850;opacity:0}
.drag-stamp.pass{left:14px;transform:rotate(-12deg);color:#ffd5dc;background:#6a273db8}
.drag-stamp.keep{right:14px;transform:rotate(12deg);color:#c9f8e5;background:#145d48c7}
.swipe-left .drag-stamp.pass,.swipe-right .drag-stamp.keep{opacity:var(--stamp-alpha,0)}
.card-copy{position:absolute;inset:auto 16px 15px;pointer-events:none}
.card-location{display:flex;gap:4px;align-items:center;color:#f2f6ff;font-size:12px;font-weight:550}
.card-location .icon,.detail-location .icon{width:15px;height:15px}
.card-copy h2{font-size:clamp(23px,2.5vw,35px);margin:5px 0 4px;line-height:1.1}
.card-price,.detail-price{font-size:clamp(27px,3.1vw,42px);font-weight:790;letter-spacing:-.059em;line-height:1.12;font-variant-numeric:tabular-nums}
.card-price small,.detail-price small{font-size:13px;font-weight:600;letter-spacing:0}
.card-bottom{margin-top:9px}
.card-links,.detail-choices{display:flex;align-items:center;gap:5px}
.card-bottom .button{pointer-events:auto;min-height:40px;padding-inline:8px;font-size:11px}
.card-bottom .button .icon{width:14px;height:14px}
.specs{display:flex;align-items:center;gap:12px;font-size:12px}
.specs>span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.specs .icon{width:16px;height:16px}
.deck-actions{display:flex;justify-content:center;align-items:center;gap:clamp(17px,4vw,39px);margin-top:17px}
.deck-button{display:grid;justify-items:center;gap:4px;min-width:68px;border:0;background:none;color:var(--muted);padding:2px 1px;border-radius:12px}
.deck-button>span{display:grid;place-items:center;width:54px;height:54px;border:1px solid var(--line);border-radius:50%;background:var(--white);box-shadow:0 3px 8px #17243d0b;transition:transform .15s,background .15s}
.deck-button .icon{width:24px;height:24px}
.deck-button small{font-size:11px;font-weight:665}
.deck-button:hover:not(:disabled)>span{transform:translateY(-2px)}
.deck-button.pass>span{color:var(--red);background:var(--red-soft);border-color:#f2d8e0}
.deck-button.keep>span{color:var(--green);background:var(--green-soft);border-color:#c7ebdc}
.deck-button.keep>span .icon{fill:#c7ecde}
.deck-button.undo>span{width:45px;height:45px}
.deck-button.undo .icon{width:20px;height:20px}
.empty-deck{display:grid;align-content:center;justify-items:center;text-align:center;gap:10px;min-height:340px;padding:22px;background:var(--white);border:1px solid var(--soft-line);border-radius:23px;box-shadow:var(--shadow)}
.empty-deck h2{font-size:26px}
.empty-deck p{max-width:36ch;color:var(--muted);font-size:13px}
.empty-icon{display:grid;place-items:center;width:54px;height:54px;background:var(--blue-soft);color:var(--blue);border-radius:15px}
.empty-icon .icon{width:25px;height:25px}
.empty-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-top:6px}

dialog{width:min(610px,calc(100% - 24px));max-height:calc(100dvh - 26px);margin:auto;padding:0;overflow:auto;border:1px solid var(--soft-line);border-radius:21px;background:var(--white);color:var(--ink);box-shadow:0 22px 62px #17243d27}
dialog::backdrop{background:#1421398f}
.modal-head{padding:12px 14px;border-bottom:1px solid var(--soft-line)}
.modal-head h2{font-size:22px;line-height:1.13}
.modal-head .button{flex:none}
.detail-photo{position:relative;height:clamp(230px,43dvh,350px);background:#c6bba7}
.detail-photo img{height:100%}
.detail-photos{position:absolute;inset:auto 9px 8px}
.detail-content{display:grid;gap:10px;padding:14px}
.detail-location{display:flex;align-items:center;gap:5px;font-size:13px;color:var(--muted)}
.detail-price{font-size:32px}
.detail-content .specs,.detail-note{color:var(--muted)}
.detail-description{font-size:14px}
.detail-note{font-size:11px}
.detail-actions{flex-wrap:wrap}
.detail-actions .button.ghost{padding-left:0}
.saved-list{padding:5px 9px 9px}
.saved-list>article{display:flex;align-items:center;gap:3px;border-bottom:1px solid var(--soft-line)}
.saved-list>article:last-child{border:0}
.saved-item{flex:1;min-width:0;display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:8px;align-items:center;padding:6px 4px;border:0;border-radius:9px;background:none;text-align:left}
.saved-item:hover{background:#f2f6fd}
.saved-item>img{height:57px;border-radius:8px}
.saved-item>span>*{display:block;overflow-wrap:anywhere}
.saved-item small{color:var(--muted);font-size:10px}
.saved-item strong,.saved-item b{font-size:13px;line-height:1.27}
.saved-item b{color:var(--accent-ink)}
.saved-item .icon{width:15px;height:15px;color:var(--muted)}
.saved-list .button{flex:none}
.modal-empty{display:grid;justify-items:center;gap:8px;text-align:center;padding:21px 14px}
.modal-empty p{color:var(--muted);font-size:13px}
.notice{position:fixed;bottom:max(13px,env(safe-area-inset-bottom));right:16px;z-index:15;pointer-events:none;max-width:calc(100vw - 32px)}
.notice>div{display:flex;align-items:center;gap:8px;min-height:42px;padding:6px 9px;background:var(--ink);color:white;border-radius:10px;box-shadow:var(--shadow);font-size:12px;pointer-events:auto}
.notice .icon{width:16px;height:16px;color:#abe8d1}
.notice button{border:0;border-radius:7px;min-height:30px;padding-inline:7px;background:#edf4ff;color:#1b51c0;font-size:11px;font-weight:700}

.contact-form{display:grid;gap:8px;padding:14px}
.contact-listing{display:flex;align-items:center;gap:8px;padding:7px;border:1px solid var(--soft-line);border-radius:10px;background:var(--bg)}
.contact-listing img{width:54px;height:44px;flex:none;border-radius:7px}
.contact-listing strong{display:block;font-size:13px}
.contact-listing p,.contact-note{font-size:12px;color:var(--muted)}
.contact-topics{display:flex;gap:5px;flex-wrap:wrap}
.contact-topics button{min-height:39px;padding:4px 8px;border:1px solid var(--line);border-radius:9px;background:var(--white);font-size:12px;font-weight:650}
.contact-topics button.selected{background:var(--blue-soft);color:var(--accent-ink);border-color:#9abafa}
.contact-field{font-size:13px;font-weight:690}
.contact-form textarea,.contact-form input{width:100%;padding:8px;border:1px solid var(--input-line);border-radius:9px;background:var(--white);font:400 16px/1.45 Inter,system-ui,sans-serif}
.contact-form textarea{resize:vertical;min-height:96px}
.contact-note{overflow-wrap:anywhere}
.contact-actions{flex-wrap:wrap}
.contact-actions .button.ghost{padding-left:0}
.contact-success{display:grid;justify-items:center;gap:9px;padding:22px 14px;text-align:center}
.contact-success .empty-icon{background:var(--green-soft);color:var(--green)}
.contact-success p{max-width:42ch;color:var(--muted);font-size:13px}
.admin-subnav{margin-bottom:11px}
.inbox-main>.button.ghost{padding-left:0;margin-bottom:4px}
.inbox-list{display:grid;gap:8px}
.inbox-entry time,.inbox-contacts{color:var(--muted);font-size:12px}
.inbox-entry .spread{flex-wrap:wrap}
.inbox-message{margin-block:6px;white-space:pre-wrap;overflow-wrap:anywhere}
.inbox-contacts{display:flex;flex-wrap:wrap;gap:5px 16px;overflow-wrap:anywhere}

.admin-main{max-width:1060px;padding-block:29px 40px}
.admin-head{align-items:flex-end;margin-bottom:15px}
.admin-head h1{font-size:clamp(30px,4vw,47px);margin:5px 0}
.admin-head p{color:var(--muted);font-size:14px}
.admin-tabs{display:inline-flex;gap:3px;max-width:100%;padding:4px;margin-bottom:10px;border:1px solid var(--line);border-radius:11px;background:#e9eff8}
.admin-tabs>button{min-height:37px;padding:4px 11px;border:1px solid transparent;border-radius:8px;background:none;color:var(--muted);font-size:12px;font-weight:690}
.admin-tabs>button.selected{border-color:var(--line);background:var(--white);color:var(--accent-ink)}
.kpis,.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:10px}
.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.kpi,.metric-panel{min-width:0;padding:13px;background:var(--white);border:1px solid var(--soft-line);border-radius:17px;box-shadow:0 4px 13px #17243d06}
.kpi-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--blue-soft);color:var(--blue)}
.kpi-icon .icon{width:17px;height:17px}
.kpi>p{margin-top:5px;color:var(--muted);font-size:12px;font-weight:650}
.kpi>strong{display:block;font-size:clamp(19px,2.6vw,31px);letter-spacing:-.045em;line-height:1.14;overflow-wrap:anywhere}
.kpi>small{display:block;margin-top:4px;color:var(--muted);font-size:11px}
.admin-note{margin:4px 0 10px;padding:8px 10px;border-radius:9px;background:var(--blue-soft);color:#284a8d;font-size:12px}
.metric-panel h2{font-size:20px;line-height:1.14}
.metric-meta{display:flex;flex-wrap:wrap;gap:5px 13px;margin-top:6px;color:var(--muted);font-size:12px}
.metric-meta strong{color:var(--ink);white-space:nowrap}
.bars{display:grid;gap:6px;margin-top:8px}
.bar-row .spread{font-size:12px}
.bar-track{height:6px;margin-top:3px;border-radius:6px;background:#ebf1f8;overflow:hidden}
.bar-track>i{display:block;height:100%;border-radius:6px;background:#477cf0}
.empty-note{font-size:12px;margin-top:7px}
.status-panel{display:grid;justify-items:start;gap:8px}
.status-panel p{color:var(--muted)}
.combination-list{display:grid;margin-top:4px}
.combination-list>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(50px,.3fr) minmax(65px,.45fr);gap:6px;align-items:center;padding:6px 0;border-bottom:1px solid var(--soft-line);font-size:12px}
.combination-list>div:last-child{border-bottom:0}
.combination-main>*{display:block}
.combination-main small,.combination-list>div>span:nth-child(2){color:var(--muted)}
.combination-list b{justify-self:end;text-align:right}

@media(max-width:840px){
  .wrap{width:min(1120px,calc(100% - 32px))}
  .discovery-main{gap:22px}
  .survey-content{min-height:475px;padding:21px}
  .steps{margin-bottom:17px}
  .gesture-guide{flex-wrap:wrap;gap:6px}
}
@media(max-width:680px){
  :root{--header:57px}
  .wrap{width:calc(100% - 26px)}
  .topbar-right{gap:4px}
  .brand{font-size:23px}
  .brand img{width:32px;height:32px}
  .topbar .button{min-height:42px}
  .topbar .selection-top{padding-inline:8px}
  .topbar .selection-top .icon{width:16px;height:16px}
  .topbar .header-icon{width:42px}
  .survey-main{padding-block:12px 18px}
  .survey-shell{grid-template-columns:minmax(0,1fr);border-radius:18px}
  .survey-content{min-height:0;padding:15px}
  .survey-content h1{font-size:clamp(29px,8.6vw,40px)}
  .survey-intro{font-size:13px}
  .steps{margin:8px 0 12px}
  .choices{margin:12px 0 10px;gap:6px}
  .choice{gap:7px;min-height:56px;padding:5px 7px}
  .choice-icon{width:33px;height:33px;border-radius:8px}
  .choice-icon .icon{width:16px;height:16px}
  .choice-copy strong{font-size:13px}
  .choice-check{width:16px;height:16px}
  .survey-actions .button.primary{min-height:45px}
  .survey-note{margin-top:7px;font-size:10px}
  .survey-visual{min-height:134px}
  .survey-visual>img{object-position:center 51%}
  .survey-visual>.pill{top:7px;left:7px;min-height:22px;padding:4px 7px;font-size:8px}
  .survey-visual figcaption{inset:auto 9px 8px}
  .survey-visual figcaption>span{display:none}
  .survey-visual figcaption>strong{font-size:20px}
  .discovery-main{display:block;max-width:470px;padding-block:9px 11px}
  .discovery-intro>.eyebrow,.intro-caption,.gesture-guide,.selection>.spread{display:none}
  .discovery-intro h1{margin:2px 0 5px;font-size:29px}
  .selection{margin:0;padding:0;border:0;background:none;box-shadow:none}
  .selection-pills{margin:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:1px 0 4px}
  .selection-pills>.pill:nth-child(2){order:-3}
  .selection-pills>.pill:nth-child(4){order:-2}
  .selection-pills .pill{font-size:10px;min-height:24px;padding:4px 7px}
  .deck{margin-inline:auto}
  .deck-progress{margin:5px 1px;font-size:11px}
  .card-stack .next-card{inset:5px 9px -6px}
  .swipe-card{height:clamp(310px,calc(100svh - 257px - env(safe-area-inset-bottom)),560px);border-radius:19px}
  .photo-progress{inset:9px 9px auto}
  .photo-labels{inset:17px 9px auto}
  .photo-labels .pill{font-size:10px;min-height:23px}
  .photo-arrows{inset:40% 6px auto}
  .photo-arrows .button{min-height:37px;width:37px}
  .card-copy{inset:auto 10px 9px}
  .card-copy h2{font-size:23px}
  .card-price{font-size:32px}
  .card-bottom{margin-top:5px}
  .specs{gap:8px;font-size:11px}
  .deck-actions{gap:16px;margin-top:9px}
  .deck-button{gap:3px}
  .deck-button>span{width:50px;height:50px}
  .deck-button.undo>span{width:43px;height:43px}
  .deck-button small{font-size:10px}
  .empty-deck{min-height:265px;margin-top:8px;padding:14px}
  .empty-deck h2{font-size:22px}
  dialog{max-height:calc(100dvh - 15px);margin:auto auto 0;border-radius:18px 18px 0 0;width:100%}
  .modal-head{padding:7px 8px}
  .modal-head h2{font-size:20px}
  .detail-photo{height:clamp(205px,33dvh,280px)}
  .detail-content{padding:9px 10px max(9px,env(safe-area-inset-bottom))}
  .notice{bottom:calc(84px + env(safe-area-inset-bottom));right:7px}
  .admin-main{padding-block:14px 21px}
  .admin-head{align-items:flex-start}
  .admin-head h1{font-size:29px}
  .admin-head p{font-size:12px}
  .admin-head .button{min-height:40px;padding:0 6px;font-size:11px}
  .kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .metric-grid{grid-template-columns:minmax(0,1fr);gap:7px}
  .kpi,.metric-panel{padding:8px}
  .kpi>p{font-size:11px}
  .kpi>small{font-size:10px}
  .metric-panel h2{font-size:18px}
}
@media(max-width:360px){
  .survey-content{padding:12px}
  .choice-copy small{font-size:10px}
  .card-copy h2{font-size:21px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:.001ms!important;animation-duration:.001ms!important;scroll-behavior:auto!important}
}

.filter-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.filter-fields label{display:grid;gap:4px;min-width:0}
.filter-fields select{width:100%;min-width:0;padding:8px;border:1px solid var(--input-line);border-radius:9px;background:var(--white);font:400 16px/1.45 Inter,system-ui,sans-serif;color:inherit}
[data-filter-count]{color:var(--muted)}
@media(max-width:480px){.filter-fields{grid-template-columns:minmax(0,1fr);gap:8px}}

.admin-subnav{display:flex;flex-wrap:wrap;gap:6px;margin-block:15px}
.admin-subnav .button{min-height:38px}
.manager-empty{display:grid;gap:12px;justify-items:start;padding:22px}
.manager-empty p,.manager-summary{color:var(--muted)}
.manager-summary{margin-bottom:12px;font-size:13px}
.manager-summary strong{color:var(--ink)}
.manager-summary span{margin-inline:4px}
.manager-list{display:grid;gap:10px}
.manager-row{display:grid;grid-template-columns:82px minmax(0,1fr) auto;align-items:center;gap:12px}
.manager-thumb{display:grid;place-items:center;width:82px;height:68px;border-radius:9px;object-fit:cover}
.manager-thumb.placeholder{background:var(--blue-soft);color:var(--blue)}
.manager-row-copy{min-width:0}
.manager-row-copy span{font-size:12px}
.manager-row-copy h2{margin:3px 0;overflow-wrap:anywhere}
.manager-row-actions{display:flex;align-items:center;gap:6px}
.listing-editor fieldset{display:grid;gap:9px;padding:0;margin:0;border:0;min-width:0}
.listing-editor-actions{display:flex;justify-content:flex-end}
.listing-photos{display:grid;gap:10px;border-top:1px solid var(--line);padding:14px}
.listing-photos h3{margin:0}
.listing-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.listing-photo-grid>div{position:relative}
.listing-photo-grid img{display:block;width:100%;height:88px;object-fit:cover;border-radius:8px}
.listing-photo-grid .button{position:absolute;right:4px;top:4px;width:28px;min-height:28px;padding:0}
.listing-photo-grid .button .icon{width:15px;height:15px}
.cover-label{position:absolute;bottom:5px;left:5px;padding:2px 6px;border-radius:5px;background:#142139c0;color:white;font-size:10px}
.listing-upload{display:inline-flex;position:relative;width:fit-content;align-items:center;gap:7px;min-height:44px;padding:0 12px;border:1px dashed var(--line);border-radius:10px;font-size:13px;font-weight:650}
.listing-upload:focus-within{outline:2px solid var(--blue)}
.listing-upload input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}
.listing-publish{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.listing-editor-note{margin:0 14px 12px}
.detail-description{white-space:pre-wrap}
@media(max-width:540px){
  .manager-row{grid-template-columns:60px minmax(0,1fr);gap:8px}
  .manager-thumb{width:60px;height:58px}
  .manager-row-actions{grid-column:2}
  .manager-row-actions .button{min-height:35px}
  .admin-subnav .button{padding:0 8px;font-size:12px}
}

/* Entry, navigation and account */
.topbar-nav {display:flex;align-items:center;gap:25px;margin-inline:auto;font-size:13px;font-weight:650;color:var(--muted)}
.topbar-nav a {padding-block:20px}
.topbar-nav a:hover,.topbar-nav [aria-current="page"] {color:var(--accent-ink)}
.topbar .menu-trigger {min-width:44px}
.landing-main {padding-block:clamp(24px,5vw,64px) 36px}
.landing-hero {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:clamp(24px,5vw,64px);align-items:stretch}
.landing-copy {padding-block:16px;min-width:0}
.landing-copy h1 {max-width:9ch;margin:12px 0 14px;font-size:clamp(46px,6.5vw,89px);line-height:.97;letter-spacing:-.076em}
.landing-copy h1 em {color:var(--accent-ink);font-style:normal}
.landing-copy>p {max-width:48ch;color:var(--muted);font-size:clamp(14px,1.5vw,16px)}
.entry-paths {display:grid;gap:9px;margin-top:24px}
.entry-card {min-width:0;display:grid;gap:12px;padding:14px;background:var(--white);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}
.entry-seller {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}
.entry-heading {display:flex;align-items:center;gap:10px;min-width:0}
.entry-icon {display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:11px;background:var(--blue-soft);color:var(--accent-ink)}
.entry-heading h2 {font-size:17px;letter-spacing:-.035em}
.entry-heading p {font-size:12px;color:var(--muted);margin-top:2px}
.entry-buttons,.landing-links {display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.landing-links {margin-top:8px}
.landing-links .button:first-child {padding-left:0}
.landing-visual {position:relative;min-height:430px;border-radius:25px;overflow:hidden;isolation:isolate;background:#746e65;box-shadow:var(--shadow)}
.landing-visual>img {position:absolute;inset:0;width:100%;height:100%;z-index:-2;object-position:52% center}
.landing-visual::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 43%,#101827d9 100%)}
.landing-visual figcaption {position:absolute;inset:auto 26px 28px;color:white}
.landing-visual figcaption span {display:block;font-size:10px;font-weight:750;letter-spacing:.15em}
.landing-visual figcaption strong {display:block;margin-top:6px;max-width:17ch;font-size:clamp(27px,4vw,49px);line-height:1.02;letter-spacing:-.055em}
.landing-guide {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}
.guide-step {display:flex;gap:10px;padding:14px;background:var(--white);border:1px solid var(--soft-line);border-radius:15px}
.guide-step small {color:var(--accent-ink);font-weight:750}
.guide-step h2 {margin:2px 0 4px;font-size:16px;letter-spacing:-.03em}
.guide-step p {color:var(--muted);font-size:12px}
.auth-main {display:grid;place-items:center;min-height:calc(79svh - var(--header));padding-block:30px}
.auth-panel {display:grid;justify-items:center;gap:12px;width:min(100%,510px);padding:clamp(22px,5vw,42px);text-align:center}
.auth-panel h1 {font-size:clamp(30px,5vw,47px)}
.auth-panel p {max-width:42ch;color:var(--muted)}
.auth-actions {display:grid;gap:6px;margin-top:6px}
.menu-modal,.settings-modal {max-width:450px}
.menu-content,.settings-content {display:grid;gap:12px;padding:14px}
.menu-account {display:flex;align-items:center;gap:8px;padding:10px;border-radius:10px;background:var(--surface-soft);color:var(--muted);font-size:13px;overflow-wrap:anywhere}
.menu-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.menu-list .button {justify-content:flex-start;min-width:0;min-height:45px;padding-inline:8px;white-space:normal;text-align:left}
.menu-list .button .icon:last-child {width:13px;margin-left:auto}
.menu-content>.button,.settings-content>.button {justify-self:start}
.settings-content h3 {font-size:18px}
.settings-content p {color:var(--muted)}
.theme-options {display:grid;gap:7px}
.theme-options strong {flex:1}
.survey-place {display:grid;gap:4px;margin-bottom:10px}
.survey-place input,.catalog-form input,.catalog-form select,.chat-compose textarea {
  width:100%;min-width:0;padding:9px;border:1px solid var(--input-line);border-radius:9px;
  background:var(--white);color:var(--ink);font:400 16px/1.4 Inter,system-ui,sans-serif;
}
.discovery-catalog {margin-top:13px}

/* Catalogue and listing detail */
.catalog-main,.listing-page {padding-block:28px 40px}
.page-title {align-items:flex-end;margin-bottom:15px}
.page-title h1 {font-size:clamp(33px,4.6vw,53px);margin:5px 0}
.page-title p {color:var(--muted);font-size:14px}
.catalog-form {display:grid;gap:12px;padding:15px}
.catalog-form-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.catalog-form label {display:grid;gap:4px;min-width:0}
.catalog-form-actions {display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.catalog-form-actions .form-error {margin-right:auto}
.catalog-count {margin:15px 0 7px;color:var(--muted);font-size:13px;font-weight:650}
.catalog-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.catalog-card {min-width:0;overflow:hidden;border:1px solid var(--soft-line);border-radius:18px;background:var(--white);box-shadow:var(--shadow)}
.catalog-image {position:relative;aspect-ratio:1.58;background:var(--surface-soft)}
.catalog-image a,.catalog-image img {display:block;width:100%;height:100%}
.catalog-image>.pill {position:absolute;top:9px;left:9px;pointer-events:none}
.catalog-image .button {position:absolute;top:8px;right:8px;width:37px;min-height:37px}
.catalog-card-body {display:grid;gap:5px;padding:12px}
.catalog-card-body h2 {font-size:20px;overflow-wrap:anywhere}
.catalog-card-body p,.catalog-location {color:var(--muted);font-size:12px}
.catalog-location .icon {width:15px;height:15px}
.catalog-card-body strong {font-size:19px;letter-spacing:-.03em}
.catalog-card-body strong small {font-weight:550}
.catalog-card-body .spread {flex-wrap:wrap}
.catalog-more {display:flex;justify-content:center;margin-top:18px}
.listing-page {max-width:850px}
.listing-page>.button {margin-bottom:12px;padding-left:0}
.listing-page-card {overflow:hidden;padding:0}
.listing-page-card .detail-photo {height:clamp(230px,52svh,480px)}
.listing-page-card .detail-content {padding:16px}
.detail-link {font-size:12px}
.detail-description {overflow-wrap:anywhere}

/* Publishing and moderation */
.listing-flow {display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:12px 14px 0}
.listing-flow span {padding:5px 8px;background:var(--surface-soft);border-radius:7px;color:var(--muted);font-size:11px;font-weight:700}
.listing-flow .active {background:var(--blue-soft);color:var(--accent-ink)}
.listing-feedback {margin:12px 14px 0;padding:8px;background:var(--blue-soft);border-radius:8px;color:var(--accent-ink);overflow-wrap:anywhere;font-size:13px}
.review-section {display:grid;gap:8px;margin-top:16px}
.review-section>h2 {font-size:21px}
.report-row {display:grid;gap:8px;overflow-wrap:anywhere}
.report-row h3 {font-size:16px}
.report-row blockquote {margin:0;padding:8px 10px;border-left:3px solid var(--line);background:var(--surface-soft);white-space:pre-wrap}
.report-row p {color:var(--muted);font-size:12px}
.review-detail {display:grid;gap:10px;padding:14px}
.review-images {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.review-images img {height:105px;border-radius:8px}
.review-detail .contact-form {padding:0}
.review-detail .contact-form .spread {flex-wrap:wrap}

/* Conversations */
.chat-shell {display:grid;grid-template-columns:minmax(210px,.75fr) minmax(0,1.6fr);height:clamp(420px,68dvh,640px);padding:0;overflow:hidden}
.chat-threads {min-width:0;overflow:auto;border-right:1px solid var(--line)}
.chat-threads h2 {margin:14px 12px;font-size:18px}
.thread-row {display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;padding:8px 10px;border:0;border-bottom:1px solid var(--soft-line);background:none;text-align:left}
.thread-row:hover,.thread-row.active {background:var(--blue-soft)}
.thread-row img,.thread-placeholder {width:42px;height:42px;border-radius:8px}
.thread-placeholder {display:grid;place-items:center;color:var(--accent-ink);background:var(--surface-soft)}
.thread-copy>* {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.thread-copy strong {font-size:13px}
.thread-copy small {color:var(--muted)}
.thread-row b {display:grid;place-items:center;min-width:20px;min-height:20px;padding-inline:4px;border-radius:50px;background:var(--blue);color:white;font-size:10px}
.chat-open {display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0}
.chat-placeholder {grid-row:1/-1;align-self:center;justify-self:center;text-align:center;max-width:310px}
.chat-empty {display:grid;justify-items:center;gap:7px;padding:16px;color:var(--muted);font-size:13px}
.chat-empty h2 {color:var(--ink)}
.chat-top {display:flex;align-items:center;justify-content:space-between;gap:6px;padding:10px;border-bottom:1px solid var(--line)}
.chat-top h2 {font-size:16px;overflow-wrap:anywhere}
.chat-top p {margin-top:3px;color:var(--muted);font-size:11px}
.chat-top-actions {display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:3px}
.chat-back {display:none}
.chat-timeline {display:flex;flex-direction:column;align-items:stretch;gap:8px;overflow:auto;overscroll-behavior:contain;padding:10px;background:var(--bg)}
.chat-timeline>.button {align-self:center}
.chat-message {display:flex}
.chat-message.mine {justify-content:flex-end}
.chat-bubble {display:grid;gap:3px;max-width:min(84%,460px);padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--white);overflow-wrap:anywhere}
.chat-message.mine .chat-bubble {background:var(--blue-soft)}
.chat-bubble p {white-space:pre-wrap;font-size:14px}
.chat-bubble>a {color:var(--accent-ink);text-decoration:underline}
.chat-message-meta {display:flex;align-items:center;justify-content:flex-end;gap:5px;color:var(--muted);font-size:10px}
.chat-message-meta .button {width:29px;min-height:29px}
.chat-compose {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:6px;padding:9px;border-top:1px solid var(--line)}
.chat-compose textarea {min-height:45px;max-height:100px;resize:vertical}
.chat-compose .form-error {grid-column:1/-1}
.chat-blocked {padding:10px;color:var(--muted)}
.legacy-inbox {margin-top:12px}
.legacy-inbox summary {cursor:pointer;font-weight:700}
.legacy-inbox .inbox-entry {padding-top:10px;border-top:1px solid var(--line);margin-top:8px}

:root[data-theme="dark"] {
  color-scheme:dark;
  --ink:#eaf0fc;--bg:#0e1523;--white:#172236;--muted:#aabbd3;--line:#34445e;--soft-line:#2b3850;
  --blue-soft:#253f70;--accent-ink:#abc8ff;--surface-soft:#202d44;--input-line:#485a75;
  --green:#a8edce;--green-soft:#173d33;--red:#ffc0cd;--red-soft:#482834;
  --shadow:0 16px 42px #0003,0 2px 5px #0002;
}
[data-theme="dark"] .topbar {background:#172236f6}
[data-theme="dark"] .button.outline:hover:not(:disabled),[data-theme="dark"] .button.ghost:hover:not(:disabled),
[data-theme="dark"] .saved-item:hover,[data-theme="dark"] .admin-tabs,[data-theme="dark"] .steps>i:not(.filled),
[data-theme="dark"] .deck-track,[data-theme="dark"] .bar-track {background:var(--surface-soft)}
[data-theme="dark"] .choice:hover,[data-theme="dark"] .choice.selected {background:var(--blue-soft);border-color:var(--accent-ink)}
[data-theme="dark"] .pill:not(.glass):not(.photo-green) {background:var(--surface-soft);color:var(--ink)}
[data-theme="dark"] .pill.blue,[data-theme="dark"] .admin-note {background:var(--blue-soft);color:var(--accent-ink)}
[data-theme="dark"] .notice>div {background:#283c5b}
[data-theme="dark"] .deck-button.pass>span,[data-theme="dark"] .deck-button.keep>span,[data-theme="dark"] .next-card {border-color:var(--line)}
[data-theme="dark"] .next-card {background:var(--surface-soft)}
[data-theme="dark"] .deck-button.keep>span .icon {fill:#325c4f}
[data-theme="dark"] .discovery-intro h1 span,[data-theme="dark"] .brand em {color:var(--accent-ink)}
[data-theme="dark"] ::selection {background:#3b5990;color:var(--ink)}

@media(max-width:920px) {
  .topbar-nav {gap:12px}
  .catalog-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px) {
  .topbar-nav,.header-sell {display:none}
  .landing-main {padding-block:14px 22px}
  .landing-hero {grid-template-columns:minmax(0,1fr);gap:12px}
  .landing-copy {padding-block:4px 0}
  .landing-copy h1 {max-width:12ch;margin-block:7px 9px;font-size:clamp(42px,12.5vw,64px)}
  .entry-paths {margin-top:13px;gap:7px}
  .entry-card {gap:7px;padding:9px}
  .entry-heading h2 {font-size:15px}
  .entry-icon {width:35px;height:35px}
  .entry-buttons .button,.entry-seller .button {min-height:41px;padding-inline:8px}
  .landing-visual {min-height:205px;border-radius:17px}
  .landing-visual figcaption {inset:auto 13px 13px}
  .landing-visual figcaption strong {font-size:25px}
  .landing-guide {grid-template-columns:minmax(0,1fr);gap:6px;margin-top:12px}
  .guide-step {padding:8px}
  .catalog-main,.listing-page {padding-block:14px 23px}
  .page-title {align-items:flex-start}
  .page-title h1 {font-size:32px}
  .page-title p {font-size:12px}
  .page-title>.button {padding-inline:7px;font-size:11px;min-height:40px}
  .catalog-form-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .catalog-query {grid-column:1/-1}
  .catalog-grid {grid-template-columns:minmax(0,1fr)}
  .catalog-card-body h2 {font-size:20px}
  .discovery-catalog {margin:0 0 2px;min-height:32px;padding-inline:7px;font-size:11px}
  .chat-shell {display:block;min-height:340px;height:auto}
  .chat-threads {border:0}
  .chat-shell:not(.has-chat) .chat-open {display:none}
  .chat-shell.has-chat .chat-threads {display:none}
  .chat-shell.has-chat .chat-open {height:calc(100dvh - var(--header) - 31px);min-height:330px}
  .inbox-main:has(.has-chat)>.chat-title,.inbox-main:has(.has-chat)>.admin-subnav {display:none}
  .chat-back {display:inline-flex;flex:none}
  .chat-top {justify-content:flex-start;padding:6px}
  .chat-top-actions {margin-left:auto}
  .chat-top-actions .button {font-size:10px}
  .chat-compose .button span {display:none}
  .listing-page-card {padding:0}
}
@media(max-width:390px) {
  .topbar .menu-trigger>span {display:none}
  .topbar .menu-trigger {padding-inline:0}
  .entry-seller .entry-heading {flex:1}
  .menu-list {gap:2px}
  .menu-list .button {font-size:12px}
}

/* Focused entry and swipe flow */
.startup {
  min-height:100svh;
  display:grid;
  place-content:center;
  justify-items:center;
  gap:19px;
}
.startup-brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:34px;
  font-weight:790;
  letter-spacing:-.075em;
}
.startup-brand img {width:48px;height:48px}
.startup-brand em {color:var(--accent-ink);font-style:normal}
.startup progress {width:190px;height:6px;accent-color:var(--blue)}
.survey-main {
  display:grid;
  align-content:center;
  min-height:100svh;
  max-width:490px;
}
.survey-shell {display:block}
.survey-content {min-height:0}
.entry-selection .choices .button {justify-content:flex-start;min-height:54px;font-size:15px}
.entry-selection .choices .button span {flex:1;text-align:left}
.discovery-main {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  justify-items:center;
  align-content:center;
  min-height:100svh;
}
.swipe-card {height:clamp(310px,calc(100svh - 150px - env(safe-area-inset-bottom)),660px)}
body:has(.startup) .skip {display:none}

/* Swipe result */
.summary-main {
  max-width:540px;
  min-height:100svh;
  display:grid;
  align-content:center;
  padding-block:24px;
}
.swipe-summary {
  overflow:hidden;
  border:1px solid var(--soft-line);
  border-radius:24px;
  background:var(--white);
  box-shadow:var(--shadow);
}
.summary-banner {
  padding:clamp(18px,5vw,30px);
  color:#fff;
  background:radial-gradient(ellipse at 100% 0%,#6842c2,transparent 65%),linear-gradient(135deg,#172a57,#243e82);
}
.summary-banner h1 {margin:10px 0 6px;font-size:clamp(30px,7vw,43px);line-height:1.05}
.summary-banner p {color:#e4ebff;font-size:14px}
.summary-body {display:grid;gap:11px;padding:clamp(13px,4vw,21px)}
.summary-actions {display:flex;flex-wrap:wrap;gap:7px}
.summary-actions .primary {flex:1}
.summary-secondary {display:flex;flex-wrap:wrap;gap:4px}
.pill.demo-pill {color:#332060;background:#efe3ff}
.demo-notice {display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px}

/* Swipe feedback and contact */
body:has(.discovery-main) {
  background:radial-gradient(ellipse at 50% 15%,var(--blue-soft),transparent 66%);
}
.deck-brand {color:var(--ink);font-weight:800;letter-spacing:-.025em;font-size:14px}
.deck-brand img {width:22px;height:22px}
.deck-position {display:flex;align-items:center;gap:8px;font-variant-numeric:tabular-nums}
.deck-position .deck-track {width:70px;max-width:none;flex:0 0 70px}
.deck-track>i {background:linear-gradient(90deg,#2563eb,#7751cd)}
.next-card {
  overflow:hidden;
  opacity:.8;
  transition:transform .18s ease-out,opacity .18s ease-out;
}
.next-card img {height:100%;filter:brightness(.72)}
.card-stack:has(.dragging,.leaving) .next-card {transform:scale(1.02);opacity:1}
.swipe-card::after {
  position:absolute;
  z-index:-1;
  inset:0;
  content:"";
  opacity:var(--stamp-alpha,0);
  pointer-events:none;
}
.swipe-card.swipe-left::after {background:linear-gradient(145deg,#c846725a,transparent 57%)}
.swipe-card.swipe-right::after {background:linear-gradient(215deg,#10b98162,transparent 57%)}
.drag-stamp {padding:8px 11px;box-shadow:0 3px 12px #0004}
.photo-shade {background:linear-gradient(180deg,#101a2c68,transparent 29%,transparent 35%,#141c2898 63%,#101923fa)}
.card-bottom {display:grid;gap:8px}
.card-links {display:grid;grid-template-columns:minmax(0,1fr) auto}
.card-links .write-cta {grid-column:1;grid-row:1;min-height:44px;font-size:14px}
.card-links .button.glass {grid-column:2;min-height:44px;padding-inline:14px;font-size:12px}
.demo-bubbles {display:grid;gap:7px;width:100%;text-align:left}
.demo-bubble {padding:8px 11px;border-radius:11px;background:var(--surface-soft);overflow-wrap:anywhere}
.demo-bubble.mine {background:var(--blue-soft);margin-left:12%}
.demo-bubble:not(.mine) {margin-right:12%}
.demo-bubble strong {font-size:11px;color:var(--accent-ink)}
.demo-conversation .demo-bubble p {max-width:none;color:var(--ink);white-space:pre-wrap}
@media(prefers-reduced-motion:no-preference){
  .swipe-summary {animation:recap-in .24s ease-out both}
  @keyframes recap-in {
    from {opacity:.65;transform:translateY(8px)}
    to {opacity:1;transform:translateY(0)}
  }
}

/* Swipe finale */
.summary-main {max-width:590px}
.finale-banner {padding-bottom:clamp(16px,4vw,23px)}
.finale-kicker {font-size:11px;letter-spacing:.15em;font-weight:780;text-transform:uppercase;color:#e4ebff}
.finale-photos {
  display:flex;
  gap:8px;
  padding:7px 5px 10px;
  margin-inline:-4px;
  overflow-x:auto;
  scroll-snap-type:x proximity;
}
.finale-polaroid {
  flex:0 0 109px;
  min-width:0;
  display:grid;
  align-content:start;
  gap:4px;
  padding:5px;
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--white);
  color:var(--ink);
  box-shadow:0 3px 7px #182d581b;
  transform:rotate(-2deg);
  scroll-snap-align:start;
  text-align:left;
}
.finale-polaroid:nth-child(even) {transform:rotate(2deg)}
.finale-polaroid[aria-pressed="true"] {
  border-color:var(--blue);
  box-shadow:0 0 0 1px var(--blue);
  transform:translateY(-2px);
  background:var(--blue-soft);
}
.finale-polaroid img {height:60px;border-radius:5px}
.finale-polaroid span {font-size:11px;line-height:1.25;font-weight:710;overflow-wrap:anywhere}
.finale-spotlight {
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:flex-end;
  min-height:clamp(183px,42vw,245px);
  overflow:hidden;
  border-radius:15px;
  color:white;
  background:#132544;
}
.finale-spotlight img,.finale-spotlight::before {position:absolute;inset:0;width:100%;height:100%}
.finale-spotlight img {z-index:-2}
.finale-spotlight::before {content:"";z-index:-1;background:linear-gradient(180deg,transparent 24%,#12223bde 77%,#101b30)}
.finale-spotlight-copy {padding:14px;min-width:0}
.finale-spotlight-copy h2 {font-size:clamp(20px,5vw,27px);overflow-wrap:anywhere}
.finale-spotlight-copy p {font-size:12px;color:#ecf2ff}
.finale-spotlight-copy p .icon {width:13px;height:13px}
.finale-spotlight-copy .finale-price {margin-top:4px;font-size:17px;font-weight:770}
.finale-price span,.finale-price small {font-weight:540;font-size:12px}
.finale-body .summary-actions .primary {white-space:normal}
.finale-footer {border-top:1px solid var(--line);padding-top:9px;color:var(--muted);font-size:12px}
.finale-compare {display:grid;gap:13px;padding:15px}
.finale-compare label {display:grid;gap:5px}
.finale-compare select {
  width:100%;
  min-height:42px;
  padding:6px;
  border:1px solid var(--input-line);
  border-radius:8px;
  background:var(--white);
  color:var(--ink);
  font:inherit;
}
.finale-compare table {width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;font-size:12px}
.finale-compare th,.finale-compare td {padding:7px 5px;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}
.finale-compare thead td {width:57px}
.finale-compare th img {height:65px;border-radius:7px;margin-bottom:5px}
.finale-compare th small {display:block;color:var(--muted);font-weight:500}
@media(prefers-reduced-motion:no-preference) {
  .finale-body:not(.finale-picked) .finale-polaroid {animation:photo-deal .28s ease-out both}
  .finale-body:not(.finale-picked) .finale-polaroid:nth-child(2) {animation-delay:.06s}
  .finale-body:not(.finale-picked) .finale-polaroid:nth-child(3) {animation-delay:.12s}
  @keyframes photo-deal {
    from {opacity:0;translate:0 8px}
    to {opacity:1;translate:0 0}
  }
}

.catalog-demo-link {
  border:0;
  padding:0;
  color:inherit;
  background:transparent;
  font:inherit;
  text-align:left;
}
.catalog-image .catalog-demo-link {display:block;width:100%;height:100%}
.catalog-switch {margin-bottom:12px}

.seller-wizard { display: grid; align-items: center; justify-items: center; min-height: 100svh; padding-block: 24px; }
.seller-card { width: min(100%, 530px); padding: clamp(20px, 6vw, 46px); }
.seller-card [hidden] { display: none !important; }
.seller-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.seller-header .brand { display: inline-flex; gap: 4px; align-items: center; }
#account-count { color: var(--muted); font-size: .875rem; }
#account-progress { display: block; width: 100%; height: 6px; margin-block: 22px; accent-color: var(--accent-ink); }
.seller-card h1 { margin: 20px 0 8px; font-size: clamp(1.55rem, 5vw, 2.25rem); line-height: 1.14; }
#account-hint { margin: 0 0 22px; color: var(--muted); overflow-wrap: anywhere; }
.seller-status:empty { display: none; }
.seller-status { margin: 0 0 16px; border-radius: 10px; padding: 12px; background: var(--surface-soft); }
#seller-account fieldset { display: grid; gap: 14px; min-width: 0; padding: 0; margin: 0 0 14px; border: 0; }
#seller-account label { display: grid; gap: 6px; font-weight: 600; }
#seller-account input:not([type=radio]):not([type=checkbox]) {
  width: 100%; padding: 13px 14px; border: 1px solid var(--input-line); border-radius: 10px;
  background: var(--white); color: var(--ink); font: inherit;
}
#seller-account .seller-choice { display: flex; align-items: center; gap: 12px; cursor: pointer; }
#seller-account .seller-choice:not(.seller-reveal) { border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
#seller-account .seller-choice:has(input:checked):not(.seller-reveal) { background: var(--blue-soft); border-color: var(--accent-ink); }
#seller-account .seller-reveal { font-size: .9rem; color: var(--muted); }
.seller-controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 26px; }
.seller-controls button[type=submit] { margin-inline-start: auto; }

.swipe-account {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.swipe-account p { flex: 1 1 150px; margin: 0; color: var(--muted); font-size: .81rem; line-height: 1.3; }
.deck:has(.swipe-account) .swipe-card {
  height: clamp(280px, calc(100svh - 235px - env(safe-area-inset-bottom)), 660px);
}

.swipe-account-modal { width: min(440px, calc(100% - 28px)); }
.swipe-account-body { display: grid; gap: 12px; padding: 16px 20px 22px; }
.swipe-account-body p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.swipe-account-body .contact-field { margin: 0; }
.swipe-account-body .form-error { color: var(--ink); }
.swipe-account:has(p) { justify-content: space-between; }
.swipe-account:not(:has(p)) { justify-content: flex-end; padding: 0; border: 0; background: transparent; }
.deck:has(.swipe-account:not(:has(p))) .swipe-card { height: clamp(280px, calc(100svh - 190px - env(safe-area-inset-bottom)), 660px); }

.account-settings-modal { width: min(560px, calc(100% - 28px)); }
.account-menu { gap: 14px; }
.account-identity { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--surface-soft); }
.account-identity svg { flex: none; width: 20px; height: 20px; color: var(--accent-ink); }
.account-identity div { min-width: 0; }
.account-signout { margin-top: 4px; }

.account-questionnaire-progress { display: grid; gap: 7px; color: var(--muted); font-size: .85rem; }
.account-questionnaire-progress progress { display: block; width: 100%; height: 6px; accent-color: var(--accent-ink); }
.account-questionnaire label { display: grid; gap: 6px; font-weight: 600; }
.account-questionnaire input:not([type=hidden]) {
  width: 100%; padding: 13px 14px; border: 1px solid var(--input-line); border-radius: 10px;
  background: var(--white); color: var(--ink); font: inherit;
}
.account-questionnaire-email { font-weight: 600; }
.account-questionnaire .seller-controls { margin-top: 8px; }

.account-settings-modal .modal-head { padding: 12px clamp(14px, 4vw, 24px); }
.account-profile-panel { display: grid; gap: 18px; padding: 18px clamp(14px, 4vw, 24px) 22px; }
.account-profile-overview {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 14px;
  margin: 0; padding: 14px; border: 1px solid var(--soft-line); border-radius: 14px;
  background: var(--surface-soft);
}
.account-profile-overview dt { color: var(--muted); font-size: .8rem; font-weight: 600; margin-bottom: 5px; }
.account-profile-overview dd { margin: 0; font-size: .9rem; font-weight: 650; overflow-wrap: anywhere; }
.account-type { display: inline-flex; gap: 6px; align-items: center; color: var(--accent-ink); }
.account-type .icon { width: 16px; height: 16px; flex: none; }
.account-profile-section { min-width: 0; margin: 0; padding: 0; border: 0; }
.account-profile-section legend { padding: 0; margin-bottom: 9px; font-weight: 750; font-size: 1rem; }
.account-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.account-field { display: grid; gap: 5px; min-width: 0; font-size: .85rem; font-weight: 600; }
.account-field-full { grid-column: 1 / -1; }
.account-field small { color: var(--muted); font-weight: 450; }
.account-field input {
  width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid var(--input-line); border-radius: 9px;
  color: var(--ink); background: var(--white); font: inherit; font-size: 1rem; font-weight: 500;
}
.account-field input:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.account-profile-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid var(--soft-line); padding-top: 12px; }
.account-profile-actions .primary { margin-inline-start: auto; }
@media (max-width: 440px) {
  .account-profile-overview { grid-template-columns: 1fr; gap: 10px; }
  .account-fields { grid-template-columns: 1fr; }
}

.sample-import { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; margin-block: 14px; }
.sample-import h2 { font-size: 1rem; }
.sample-import p { color: var(--muted); margin-top: 4px; }
