@font-face {
  font-family: 'Sora';
  src: url('assets/fonts/Sora-Variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* KÖPRÜ v2.1 — three independent accent families on neutral surfaces.
   Default: Iris / light. Volt dark uses true neutral black with neon lime.
   Legacy --green/--peach names are semantic compatibility aliases; the
   active palette has no olive, sand, gold or brown UI surfaces. */
:root {
  color-scheme: light;
  --ink: #1B1B24;
  --muted: #5F5F6D;
  --paper: #F7F7FB;
  --surface: #FFFFFF;
  --elevated: #FFFFFF;
  --soft: #F0EEF8;
  --line: #E0DFE9;
  --border-strong: #C3C1D1;
  --green: #5944C8;
  --primary: #6252EA;
  --on-primary: #FFFFFF;
  --accent: #DAD4FF;
  --on-accent: #342670;
  --peach: #E8E9F1;
  --on-peach: #52576E;
  --lilac: #EEEAFF;
  --on-lilac: #564293;
  --avatar: #E9E6FB;
  --avatar-ink: #53428D;
  --candidate-surface: #EEEFF6;
  --network-surface: #EEEFF3;
  --message-own: #ECE8FB;
  --segment-track: #ECECF2;
  --canvas: #EDEEF3;
  --glass: rgba(247, 247, 251, .91);
  --device-frame: #303039;
  --danger: #B52F4D;
  --danger-soft: #FFECF0;
  --danger-border: #EDBAC7;
  --warning: #465878;
  --warning-soft: #EAF0FA;
  --focus: #6651D9;
  --skeleton-base: #E3E3EC;
  --skeleton-light: #F5F5FA;
  --scrim: rgba(7, 7, 12, .38);
  --shadow-subtle: 0 2px 6px rgba(16, 16, 24, .05);
  --shadow-card: 0 4px 18px rgba(16, 16, 24, .035);
  --shadow-floating: 0 10px 30px rgba(10, 10, 18, .16);
  --shadow-device: 0 32px 80px rgba(15, 15, 25, .14), 0 2px 8px rgba(15, 15, 25, .08);
  --inverse-surface: #0D0D12;
  --inverse-panel: #202027;
  --inverse-text: #F7F6FE;
  --inverse-muted: #B8B6C8;
  --photo-chip: #FFFFFF;
  --photo-ink: #18181B;
  --photo-text: #FFFFFF;
  --mint: var(--accent);
  --radius: 20px;
  --space: 8px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-settle: cubic-bezier(.2, .8, .2, 1);
  --duration-tap: 160ms;
  --duration-state: 200ms;
  --duration-route: 280ms;
  --duration-sheet: 320ms;
  --duration-toast: 240ms;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[data-palette="buz"] {
  --ink: #18282E;
  --muted: #566970;
  --paper: #F4F8F9;
  --soft: #E9F2F4;
  --line: #DCE6E9;
  --border-strong: #BECFD5;
  --green: #126C80;
  --primary: #126C80;
  --on-primary: #FFFFFF;
  --accent: #9AEDF4;
  --on-accent: #0A404C;
  --peach: #E8EBF1;
  --on-peach: #4A5972;
  --lilac: #E8EDF7;
  --on-lilac: #405E8D;
  --avatar: #DEEFF3;
  --avatar-ink: #235F70;
  --candidate-surface: #EAF1F4;
  --network-surface: #EDF0F3;
  --message-own: #E3F0F4;
  --segment-track: #E5EDF0;
  --canvas: #E8EEF1;
  --glass: rgba(244, 248, 249, .91);
  --device-frame: #30383C;
  --focus: #087C95;
  --skeleton-base: #E1E9EC;
  --skeleton-light: #F3F8FA;
  --inverse-surface: #0B1014;
  --inverse-panel: #1C252C;
  --inverse-muted: #B6C6CE;
}

html[data-palette="volt"] {
  --ink: #171719;
  --muted: #606064;
  --paper: #F6F6F7;
  --soft: #EDEDEF;
  --line: #DFDFE3;
  --border-strong: #C3C3C9;
  --green: #333333;
  --primary: #111111;
  --on-primary: #FFFFFF;
  --accent: #C6FF4A;
  --on-accent: #172000;
  --peach: #E9E9EE;
  --on-peach: #535361;
  --lilac: #EAEAF0;
  --on-lilac: #565568;
  --avatar: #E6E6E8;
  --avatar-ink: #343438;
  --candidate-surface: #EFEFF1;
  --network-surface: #F0F0F2;
  --message-own: #EEEEF0;
  --segment-track: #E8E8EB;
  --canvas: #EAEAEC;
  --glass: rgba(246, 246, 247, .91);
  --device-frame: #292929;
  --focus: #4F6224;
  --skeleton-base: #E2E2E6;
  --skeleton-light: #F3F3F5;
  --inverse-surface: #070707;
  --inverse-panel: #1C1C1C;
  --inverse-text: #FAFAFA;
  --inverse-muted: #BCBCC1;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #F4F4F8;
  --muted: #B3B1C0;
  --paper: #0D0D10;
  --surface: #17171C;
  --elevated: #222229;
  --soft: #24242E;
  --line: #34343E;
  --border-strong: #50505F;
  --green: #BBAFFF;
  --primary: #7254F3;
  --on-primary: #FFFFFF;
  --accent: #AE9BFF;
  --on-accent: #24163D;
  --peach: #282A35;
  --on-peach: #C2C6DC;
  --lilac: #2B253D;
  --on-lilac: #D4C9FF;
  --avatar: #302B40;
  --avatar-ink: #D8CCFF;
  --candidate-surface: #1D1D25;
  --network-surface: #1D1E25;
  --message-own: #272236;
  --segment-track: #202026;
  --canvas: #08080B;
  --glass: rgba(13, 13, 16, .92);
  --device-frame: #424249;
  --danger: #FFB4C6;
  --danger-soft: #382029;
  --danger-border: #633541;
  --warning: #C4D3FA;
  --warning-soft: #242B3B;
  --focus: #BBAFFF;
  --skeleton-base: #24242D;
  --skeleton-light: #35353E;
  --scrim: rgba(0, 0, 0, .62);
  --shadow-subtle: 0 2px 6px rgba(0, 0, 0, .15);
  --shadow-card: 0 4px 18px rgba(0, 0, 0, .08);
  --shadow-floating: 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-device: 0 32px 80px rgba(0, 0, 0, .3), 0 2px 8px rgba(0, 0, 0, .3);
}

html[data-theme="dark"][data-palette="buz"] {
  --ink: #F0F6F8;
  --muted: #AEBCC3;
  --paper: #0C0F12;
  --surface: #161C20;
  --elevated: #20292F;
  --soft: #232E35;
  --line: #354149;
  --border-strong: #50616C;
  --green: #87DDEA;
  --primary: #7CE1F2;
  --on-primary: #082D38;
  --accent: #71EDFA;
  --on-accent: #062C36;
  --peach: #262E39;
  --on-peach: #BFCCE5;
  --lilac: #282E3B;
  --on-lilac: #C6D5F5;
  --avatar: #263840;
  --avatar-ink: #B1E7F2;
  --candidate-surface: #1C2227;
  --network-surface: #1E252A;
  --message-own: #20313A;
  --segment-track: #20282E;
  --canvas: #070A0D;
  --glass: rgba(12, 15, 18, .92);
  --device-frame: #404C54;
  --focus: #71DDEA;
  --skeleton-base: #242D35;
  --skeleton-light: #34414B;
}

html[data-theme="dark"][data-palette="volt"] {
  --ink: #F5F5F7;
  --muted: #B1B1B7;
  --paper: #070707;
  --surface: #141414;
  --elevated: #1E1E1E;
  --soft: #222222;
  --line: #333333;
  --border-strong: #535353;
  --green: #C6FF4A;
  --primary: #C6FF4A;
  --on-primary: #172000;
  --accent: #C6FF4A;
  --on-accent: #172000;
  --peach: #28282D;
  --on-peach: #C4C4D3;
  --lilac: #29292F;
  --on-lilac: #CDCCD9;
  --avatar: #282828;
  --avatar-ink: #E5E5E7;
  --candidate-surface: #1B1B1B;
  --network-surface: #1D1D1D;
  --message-own: #252525;
  --segment-track: #202020;
  --canvas: #030303;
  --glass: rgba(7, 7, 7, .94);
  --device-frame: #444444;
  --focus: #C6FF4A;
  --skeleton-base: #272727;
  --skeleton-light: #383838;
}

/* Shell, navigation and shared components */
* {
  box-sizing:border-box
}

body {
  margin:0
}

button,input,textarea,select {
  font:inherit
}

button,a {
  -webkit-tap-highlight-color:transparent
}

button {
  cursor:pointer
}

button:disabled {
  cursor:default;
  opacity:.45
}

button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline:3px solid var(--focus);
  outline-offset:3px
}

button {
  color:inherit
}

button svg {
  pointer-events:none
}

a {
  color:var(--green)
}

.design-shell {
  display:grid;
  grid-template-columns:240px minmax(430px,1fr) 255px;
  max-width:1280px;
  margin:0 auto;
  min-height:100vh;
  gap:32px;
  padding:32px
}

.design-rail {
  padding:10px 8px
}

.design-brand {
  font-family:'Sora',sans-serif;
  letter-spacing:-1.8px;
  font-weight:800;
  font-size:32px
}

.design-brand span {
  display:block;
  font-family:'Inter',sans-serif;
  font-size:10px;
  letter-spacing:2px;
  font-weight:600;
  margin-top:8px
}

.design-description {
  font-family:'Sora',sans-serif;
  font-size:28px;
  line-height:1.25;
  letter-spacing:-1.4px;
  font-weight:500;
  margin:36px 0 20px
}

.design-badge {
  font-size:11px;
  background:var(--soft);
  padding:7px 10px;
  border-radius:6px;
  display:inline-block
}

.design-note {
  font-size:11px;
  line-height:1.6;
  color:var(--muted);
  max-width:210px;
  margin-top:32px
}

.catalog-group {
  margin-top:26px
}

.catalog-group h2 {
  font-size:10px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:var(--muted);
  margin:0 0 8px
}

.catalog-item {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  background:none;
  border:0;
  text-align:left;
  padding:10px 9px;
  border-radius:8px;
  font-size:12px;
  gap:8px
}

.catalog-item.active {
  background:var(--primary);
  color:var(--on-primary)
}

.catalog-item span:last-child {
  font-size:10px;
  opacity:.65
}

.preview-area {
  display:flex;
  flex-direction:column;
  align-items:center;
  min-width:0
}

.preview-toolbar {
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  width:100%;
  max-width:406px;
  margin-bottom:18px
}

.preview-toolbar h1 {
  font-size:15px;
  margin:4px 0 0;
  font-weight:600
}

.eyebrow {
  font-size:10px;
  letter-spacing:1.5px;
  color:var(--muted);
  font-weight:600
}

.review-button {
  border:1px solid var(--border-strong);
  background:transparent;
  padding:9px 12px;
  border-radius:8px;
  font-size:11px
}

.review-button#catalog-toggle {
  display:none
}

.device {
  width:390px;
  height:844px;
  border-radius:42px;
  background:var(--surface);
  border:7px solid var(--device-frame);
  box-shadow:var(--shadow-device);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  position:relative
}

.status-bar {
  height:39px;
  flex-shrink:0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 26px 2px;
  font-size:12px;
  font-weight:700;
  background:var(--paper)
}

.status-icons {
  letter-spacing:2px;
  font-size:10px
}

.home-indicator {
  height:14px;
  background:var(--paper);
  flex-shrink:0;
  display:flex;
  justify-content:center;
  align-items:center
}

.home-indicator:after {
  content:'';
  width:112px;
  height:4px;
  border-radius:3px;
  background:var(--ink)
}

.app {
  position:relative;
  display:flex;
  flex-direction:column;
  flex:1;
  min-height:0;
  background:var(--paper);
  font-size:14px;
  line-height:1.45
}

.preview-caption {
  display:flex;
  justify-content:space-between;
  width:100%;
  max-width:390px;
  font-size:10px;
  color:var(--muted);
  margin:16px 0
}

.design-context {
  padding-top:100px;
  max-width:235px
}

.design-context h2 {
  font-family:'Sora',sans-serif;
  font-size:22px;
  letter-spacing:-.8px;
  font-weight:600;
  margin:14px 0
}

.design-context p {
  font-size:12px;
  line-height:1.7;
  color:var(--muted)
}

.context-rule {
  height:1px;
  background:var(--line);
  margin:25px 0
}

.swatches {
  display:flex;
  gap:7px;
  margin:14px 0
}

.swatch {
  height:35px;
  width:35px;
  border-radius:50%
}

.ink {
  background:var(--ink)
}

.paper {
  background:var(--paper);
  border:1px solid var(--line)
}

.mint {
  background:var(--mint)
}

.peach {
  background:var(--peach)
}

.topbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 18px;
  flex-shrink:0;
  min-height:64px
}

.topbar h2 {
  font-family:'Sora',sans-serif;
  font-size:20px;
  letter-spacing:-.7px;
  margin:0;
  font-weight:700
}

.topbar .wordmark {
  letter-spacing:-1.5px;
  font-size:27px;
  font-weight:800
}

.topbar small {
  font-size:11px;
  color:var(--muted)
}

.top-title {
  flex:1
}

.icon-button {
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid var(--line);
  background:var(--surface);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0
}

.icon-button.plain {
  border:0;
  background:transparent
}

.icon {
  width:20px;
  height:20px;
  display:inline-block;
  vertical-align:middle;
  stroke:currentColor;
  fill:none;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round
}

.scroll-area {
  flex:1;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:none;
  padding:8px 20px 22px
}

.scroll-area::-webkit-scrollbar {
  display:none
}

.grow {
  flex:1
}

.muted {
  color:var(--muted)
}

.caption {
  font-size:11px;
  color:var(--muted)
}

.section-heading {
  font-family:'Sora',sans-serif;
  font-weight:600;
  font-size:17px;
  letter-spacing:-.5px;
  margin:22px 0 12px
}

.large-title {
  font-family:'Sora',sans-serif;
  font-weight:600;
  font-size:30px;
  line-height:1.17;
  letter-spacing:-1.3px;
  margin:8px 0 14px
}

.body-copy {
  font-size:14px;
  line-height:1.65;
  color:var(--muted)
}

.row {
  display:flex;
  align-items:center;
  gap:10px
}

.between {
  justify-content:space-between
}

.wrap {
  flex-wrap:wrap
}

.stack {
  display:flex;
  flex-direction:column;
  gap:12px
}

.k-button {
  min-height:48px;
  border-radius:14px;
  border:1px solid var(--line);
  padding:12px 16px;
  background:var(--surface);
  font-weight:600;
  font-size:13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px
}

.k-button.primary {
  background:var(--primary);
  color:var(--on-primary);
  border-color:var(--primary)
}

.k-button.accent {
  background:var(--accent);
  color:var(--on-accent);
  border-color:var(--accent)
}

.k-button.danger {
  color:var(--danger);
  background:var(--danger-soft);
  border-color:var(--danger-border)
}

.k-button.full {
  width:100%
}

.k-button.compact {
  min-height:42px;
  padding:10px 13px
}

.text-button {
  border:0;
  background:transparent;
  color:var(--green);
  font-size:12px;
  font-weight:600;
  padding:10px 3px;
  min-height:40px
}

.bottom-actions {
  padding:14px 20px 16px;
  border-top:1px solid var(--line);
  background:var(--paper);
  flex-shrink:0
}

.bottom-actions .row>* {
  flex:1
}

.bottom-nav {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  flex-shrink:0;
  padding:7px 10px 3px;
  border-top:1px solid var(--line);
  background:var(--paper)
}

.nav-button {
  border:0;
  background:transparent;
  min-height:55px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  font-size:10px;
  color:var(--muted)
}

.nav-button.active {
  color:var(--ink);
  font-weight:700
}

.nav-button.active .nav-icon {
  background:var(--mint)
}

.nav-icon {
  width:42px;
  height:28px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center
}

.nav-icon .icon {
  width:19px;
  height:19px
}

.pill {
  display:inline-flex;
  align-items:center;
  gap:5px;
  border-radius:99px;
  padding:6px 9px;
  font-size:10px;
  font-weight:600;
  background:var(--soft);
  color:var(--green);
  white-space:nowrap
}

.pill.peach {
  background:var(--peach);
  color:var(--on-peach)
}

.pill.dark {
  background:var(--primary);
  color:var(--on-primary)
}

.pill.mint {
  background:var(--accent);
  color:var(--on-accent)
}

.pill .icon {
  width:12px;
  height:12px
}

.panel {
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  background:var(--surface)
}

.notice {
  padding:12px 14px;
  background:var(--soft);
  border-radius:12px;
  font-size:12px;
  color:var(--green);
  display:flex;
  align-items:flex-start;
  gap:9px
}

.notice .icon {
  width:17px;
  flex-shrink:0
}

.notice.warning {
  background:var(--warning-soft);
  color:var(--warning)
}

.notice.error {
  background:var(--danger-soft);
  color:var(--danger)
}

.field {
  display:block;
  font-size:12px;
  font-weight:600;
  margin:0 0 16px
}

.field input,.field textarea,.field select {
  display:block;
  width:100%;
  min-height:48px;
  background:var(--surface);
  border:1px solid var(--border-strong);
  border-radius:12px;
  padding:12px;
  font-size:16px;
  color:var(--ink);
  margin-top:7px
}

.field textarea {
  min-height:96px;
  resize:vertical
}

.field small {
  display:block;
  color:var(--muted);
  font-weight:400;
  font-size:11px;
  margin-top:6px
}

.field-error {
  color:var(--danger);
  font-size:12px;
  margin:-8px 0 14px
}

.segmented {
  display:flex;
  gap:4px;
  background:var(--segment-track);
  border-radius:13px;
  padding:4px;
  margin-bottom:16px
}

.segmented button {
  background:transparent;
  border:0;
  border-radius:10px;
  flex:1;
  font-size:12px;
  min-height:38px
}

.segmented button.active {
  background:var(--surface);
  box-shadow:var(--shadow-subtle);
  font-weight:600
}

.list-row {
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  text-align:left;
  border:0;
  border-bottom:1px solid var(--line);
  background:transparent;
  min-height:67px;
  padding:13px 0;
  font-size:13px
}

.list-row:last-child {
  border:0
}

.list-row .row-text {
  flex:1;
  min-width:0
}

.list-row small {
  display:block;
  color:var(--muted);
  font-size:11px;
  margin-top:3px
}

.list-row>.icon {
  color:var(--muted)
}

.avatar {
  width:46px;
  height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  border-radius:16px;
  background:var(--avatar);
  color:var(--avatar-ink);
  font-family:'Sora',sans-serif;
  font-weight:700;
  font-size:17px
}

.avatar.lg {
  width:80px;
  height:80px;
  border-radius:25px;
  font-size:27px
}

.avatar.xl {
  width:110px;
  height:110px;
  border-radius:36px;
  font-size:35px
}

.avatar.peach {
  background:var(--peach);
  color:var(--on-peach)
}

.avatar.lilac {
  background:var(--lilac);
  color:var(--on-lilac)
}

.divider {
  height:1px;
  background:var(--line);
  margin:18px 0
}

.empty {
  display:flex;
  flex:1;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:30px 24px;
  gap:12px
}

.empty .empty-symbol {
  width:86px;
  height:86px;
  border-radius:28px;
  background:var(--soft);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:8px
}

.empty-symbol .icon {
  width:34px;
  height:34px;
  stroke-width:1.3
}

.empty h3 {
  font-size:21px;
  font-family:'Sora',sans-serif;
  letter-spacing:-.6px;
  line-height:1.3;
  margin:0
}

.empty p {
  font-size:13px;
  color:var(--muted);
  line-height:1.6;
  margin:0 0 12px
}

.skeleton {
  background:linear-gradient(100deg,var(--skeleton-base) 15%,var(--skeleton-light) 35%,var(--skeleton-base) 60%);
  background-size:250%;
  border-radius:16px;
  animation:shimmer 1.8s linear infinite
}

.skeleton.line {
  height:14px;
  margin:12px 0
}

.skeleton.visual {
  height:365px
}

.skeleton.short {
  width:62%
}

@keyframes shimmer {
  to {
    background-position:-250% 0
  }
}

.toast {
  position:absolute;
  bottom:20px;
  left:18px;
  right:18px;
  z-index:30;
  border-radius:14px;
  background:var(--primary);
  color:var(--on-primary);
  padding:13px 15px;
  font-size:12px;
  box-shadow:var(--shadow-floating);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px
}

.toast button {
  background:transparent;
  border:0;
  color:var(--mint);
  min-height:30px;
  font-weight:600
}

.dialog-layer {
  position:absolute;
  inset:0;
  background:var(--scrim);
  z-index:40;
  display:flex;
  align-items:flex-end
}

.sheet {
  max-height:92%;
  overflow-y:auto;
  width:100%;
  padding:10px 22px 24px;
  border-radius:25px 25px 0 0;
  background:var(--paper)
}

.sheet-grip {
  width:36px;
  height:4px;
  background:var(--border-strong);
  border-radius:5px;
  margin:0 auto 14px
}

.sheet h3 {
  font-family:'Sora',sans-serif;
  font-size:22px;
  letter-spacing:-.7px;
  margin:10px 0 8px
}

.sheet p {
  font-size:13px;
  line-height:1.6;
  color:var(--muted)
}

.explore-top {
  padding:7px 16px 12px;
  flex-shrink:0
}

.explore-title {
  font-family:'Sora',sans-serif;
  font-size:22px;
  letter-spacing:-.8px;
  font-weight:700
}

.filter-row {
  display:flex;
  gap:7px;
  padding-top:11px;
  overflow-x:auto;
  scrollbar-width:none
}

.filter-chip {
  white-space:nowrap;
  border:1px solid var(--line);
  background:var(--surface);
  min-height:37px;
  padding:8px 11px;
  border-radius:12px;
  display:flex;
  align-items:center;
  gap:5px;
  font-size:11px
}

.filter-chip.selected {
  background:var(--primary);
  color:var(--on-primary);
  border-color:var(--primary)
}

.filter-chip .icon {
  width:14px;
  height:14px
}

.feed {
  flex:1;
  min-height:0;
  padding:0 12px;
  display:flex;
  flex-direction:column
}

.property-card {
  position:relative;
  flex:1;
  min-height:0;
  overflow:hidden;
  border-radius:24px;
  background:var(--candidate-surface);
  touch-action:none;
  isolation:isolate;
  display:flex;
  flex-direction:column
}

.property-visual {
  position:absolute;
  inset:0;
  background:linear-gradient(165deg,var(--soft),var(--line));
  z-index:-2
}

.property-photo {
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  inset:0
}

.property-visual.interior {
  filter:saturate(.65);
  transform:scale(1.1);
  transform-origin:center 30%
}

.property-visual.second {
  filter:sepia(.2) hue-rotate(6deg)
}

.property-card:after {
  content:'';
  position:absolute;
  inset:40% 0 0;
  background:linear-gradient(transparent,#15231de8 85%);
  z-index:-1
}

.property-top {
  display:flex;
  justify-content:space-between;
  padding:16px 15px;
  gap:6px
}

.property-top .pill {
  font-size:10px
}

.photo-dots {
  display:flex;
  gap:4px;
  padding:0 16px
}

.photo-dots span {
  height:3px;
  border-radius:9px;
  flex:1;
  background:#ffffff65
}

.photo-dots span.active {
  background:#fff
}

.property-content {
  color:#fffefa;
  padding:16px 19px 20px;
  margin-top:auto
}

.property-content .location {
  font-size:11px;
  letter-spacing:.3px;
  color:#e1e7dc;
  display:flex;
  align-items:center;
  gap:5px
}

.location .icon {
  width:13px;
  height:13px
}

.property-content h3 {
  font-family:'Sora',sans-serif;
  font-size:28px;
  line-height:1.1;
  letter-spacing:-1.1px;
  margin:10px 0 13px;
  font-weight:600
}

.property-content .price {
  font-size:21px;
  letter-spacing:-.5px;
  font-weight:600
}

.property-meta {
  display:flex;
  gap:12px;
  font-size:11px;
  margin:12px 0;
  color:#e9eddf
}

.property-meta span {
  display:flex;
  align-items:center;
  gap:4px
}

.property-meta .icon {
  width:14px;
  height:14px
}

.reason-link {
  border:0;
  border-radius:10px;
  background:#fffff022;
  color:#fffefa;
  padding:9px 11px;
  display:flex;
  align-items:center;
  gap:7px;
  font-size:11px;
  width:100%;
  text-align:left;
  backdrop-filter:blur(8px)
}

.reason-link .icon {
  width:14px;
  height:14px
}

.reason-link .icon:last-child {
  margin-left:auto
}

.feed-foot {
  padding:10px 2px 8px;
  flex-shrink:0
}

.feed-actions {
  display:flex;
  gap:8px;
  align-items:center
}

.feed-actions .k-button {
  flex:1
}

.feed-actions .icon-button {
  width:48px;
  height:48px;
  background:var(--surface)
}

.feed-hint {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:16px;
  margin-top:7px;
  font-size:10px;
  color:var(--muted)
}

.feed-hint button {
  font-size:10px;
  border:0;
  background:none;
  min-height:30px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:5px
}

.feed-hint .icon {
  width:12px;
  height:12px
}

.content-slide {
  padding:27px 23px;
  color:var(--ink);
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:var(--soft)
}

.content-slide h3 {
  font-family:'Sora',sans-serif;
  font-size:27px;
  letter-spacing:-1px;
  font-weight:600;
  line-height:1.2;
  margin:14px 0
}

.content-slide .reason-item {
  margin:15px 0;
  display:flex;
  gap:11px;
  font-size:13px
}

.reason-item .icon {
  width:19px;
  flex-shrink:0;
  color:var(--green)
}

.reason-item small {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:4px
}

.content-slide .caption {
  margin-top:12px
}

.detail-hero {
  height:235px;
  position:relative;
  background:var(--soft);
  border-radius:20px;
  overflow:hidden;
  margin-bottom:20px
}

.detail-heading {
  font-family:'Sora',sans-serif;
  font-size:26px;
  letter-spacing:-1px;
  line-height:1.2;
  margin:14px 0
}

.data-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  background:var(--line);
  border-radius:14px;
  overflow:hidden;
  margin:16px 0
}

.data-cell {
  background:var(--surface);
  padding:13px;
  font-size:13px
}

.data-cell small {
  font-size:10px;
  color:var(--muted);
  display:block;
  margin-bottom:5px
}

.locked-row {
  display:flex;
  align-items:center;
  gap:10px;
  background:var(--soft);
  border-radius:12px;
  padding:13px;
  margin:8px 0;
  font-size:12px
}

.locked-row .icon {
  width:16px;
  color:var(--muted)
}

.listing-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px
}

.own-listing {
  border:0;
  background:var(--surface);
  padding:0;
  text-align:left;
  border-radius:17px;
  overflow:hidden;
  box-shadow:0 0 0 1px var(--line)
}

.own-visual {
  aspect-ratio:1;
  position:relative;
  background:var(--candidate-surface);
  overflow:hidden
}

.own-visual .pill {
  position:absolute;
  left:8px;
  bottom:8px;
  font-size:9px;
  padding:5px 7px
}

.own-content {
  padding:12px 10px
}

.own-content strong {
  font-size:12px;
  display:block;
  line-height:1.35
}

.own-content small {
  display:block;
  font-size:10px;
  color:var(--muted);
  margin-top:5px
}

.own-content .likes {
  display:flex;
  align-items:center;
  gap:5px;
  margin-top:12px;
  font-size:11px;
  font-weight:600;
  color:var(--green)
}

.likes .icon {
  width:13px;
  height:13px
}

.grid-placeholder {
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--network-surface);
  color:var(--muted)
}

.grid-placeholder .icon {
  width:52px;
  height:52px;
  stroke-width:1
}

.listing-summary {
  display:flex;
  gap:12px;
  align-items:center;
  border-bottom:1px solid var(--line);
  padding-bottom:17px;
  margin-bottom:18px
}

.small-property {
  width:65px;
  height:65px;
  border-radius:12px;
  background:var(--soft);
  overflow:hidden;
  position:relative;
  flex-shrink:0
}

.swipe-card {
  border-radius:24px;
  background:var(--candidate-surface);
  overflow:hidden;
  touch-action:pan-y;
  padding:23px;
  min-height:345px;
  display:flex;
  flex-direction:column;
  border:1px solid var(--line)
}

.swipe-card .person-name {
  font-family:'Sora',sans-serif;
  font-size:27px;
  letter-spacing:-1px;
  font-weight:600;
  margin:22px 0 4px
}

.swipe-card .intent {
  font-size:17px;
  line-height:1.5;
  margin:17px 0;
  letter-spacing:-.3px
}

.swipe-actions {
  display:flex;
  justify-content:center;
  gap:28px;
  margin:22px 0 6px
}

.swipe-action {
  width:64px;
  height:64px;
  border-radius:50%;
  border:1px solid var(--line);
  background:var(--surface);
  display:flex;
  align-items:center;
  justify-content:center
}

.swipe-action.approve {
  background:var(--primary);
  color:var(--on-primary);
  border-color:var(--primary)
}

.swipe-action .icon {
  width:27px;
  height:27px
}

.swipe-action-label {
  text-align:center;
  font-size:10px;
  color:var(--muted);
  margin-top:7px
}

.network-card {
  background:var(--network-surface);
  min-height:365px
}

.network-card .person-name {
  font-size:28px
}

.network-header {
  display:flex;
  justify-content:space-between;
  align-items:start
}

.profile-tags {
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:12px
}

.match-screen {
  background:var(--inverse-surface);
  color:var(--inverse-text);
  flex:1;
  padding:24px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  text-align:center
}

.match-screen .large-title {
  font-size:37px;
  margin-top:27px;
  color:var(--mint)
}

.match-screen .body-copy {
  color:var(--inverse-muted);
  font-size:13px
}

.match-avatars {
  display:flex;
  justify-content:center;
  align-items:center;
  margin:5px 0 14px
}

.match-avatars .avatar {
  width:92px;
  height:92px;
  border-radius:32px;
  font-size:26px;
  transform:rotate(-10deg);
  border:4px solid var(--inverse-surface)
}

.match-avatars .avatar:last-child {
  transform:rotate(10deg);
  margin-left:-12px
}

.match-screen .k-button {
  margin-top:17px
}

.match-screen .notice {
  background:var(--inverse-panel);
  color:var(--inverse-muted);
  margin:23px 0
}

.match-screen .text-button {
  color:var(--inverse-muted)
}

.wizard-progress {
  display:flex;
  gap:5px;
  padding:0 20px 12px
}

.wizard-progress span {
  height:3px;
  border-radius:4px;
  flex:1;
  background:var(--line)
}

.wizard-progress span.complete {
  background:var(--green)
}

.wizard-heading {
  display:flex;
  gap:10px;
  align-items:center;
  margin:10px 0 22px
}

.ai-mark {
  height:32px;
  width:32px;
  background:var(--mint);
  border-radius:11px;
  display:flex;
  align-items:center;
  justify-content:center
}

.ai-mark .icon {
  width:19px
}

.wizard-message {
  font-family:'Sora',sans-serif;
  font-size:24px;
  line-height:1.32;
  letter-spacing:-.8px;
  margin:10px 0 17px;
  font-weight:500
}

.wizard-response {
  background:var(--message-own);
  border-radius:17px 17px 4px 17px;
  padding:13px 15px;
  font-size:12px;
  max-width:90%;
  margin:15px 0 25px auto
}

.quick-choices {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:20px
}

.choice {
  background:var(--surface);
  border:1px solid var(--border-strong);
  padding:12px 14px;
  border-radius:14px;
  min-height:46px;
  font-size:12px
}

.choice.selected {
  border-color:var(--green);
  background:var(--soft);
  box-shadow:inset 0 0 0 1px var(--green)
}

.composer-wrap {
  padding:12px 18px 14px;
  background:var(--paper);
  border-top:1px solid var(--line)
}

.composer {
  border:1px solid var(--border-strong);
  background:var(--surface);
  border-radius:18px;
  padding:10px;
  display:flex;
  gap:7px;
  align-items:flex-end
}

.composer textarea {
  border:0;
  background:transparent;
  resize:none;
  flex:1;
  min-width:0;
  font-size:16px;
  line-height:1.45;
  padding:7px 4px;
  color:var(--ink);
  height:60px;
  outline-offset:0
}

.composer .icon-button {
  border:0;
  background:var(--primary);
  color:var(--on-primary);
  width:39px;
  height:39px
}

.composer .mic {
  background:var(--soft);
  color:var(--green);
  width:36px;
  height:36px
}

.composer-note {
  font-size:10px;
  color:var(--muted);
  margin-top:8px;
  text-align:center
}

.check-row {
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:12px;
  line-height:1.6;
  padding:10px 0
}

.check-row input {
  width:19px;
  height:19px;
  accent-color:var(--green);
  flex-shrink:0
}

.upload-tile {
  border:1px dashed var(--border-strong);
  background:var(--soft);
  border-radius:16px;
  padding:24px 15px;
  text-align:center;
  font-size:12px;
  min-height:118px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:100%
}

.upload-tile .icon {
  width:26px;
  height:26px
}

.review-entry {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:11px 0;
  border-bottom:1px solid var(--line);
  font-size:12px;
  gap:10px
}

.review-entry:last-child {
  border:0
}

.review-entry span {
  color:var(--muted)
}

.review-entry strong {
  font-weight:500;
  text-align:right
}

.welcome {
  display:flex;
  flex-direction:column;
  flex:1;
  padding:24px
}

.welcome .wordmark {
  font-family:'Sora',sans-serif;
  font-weight:800;
  font-size:34px;
  letter-spacing:-2px
}

.welcome-art {
  height:235px;
  position:relative;
  margin:32px 0;
  display:flex;
  align-items:center;
  justify-content:center
}

.bridge-arch {
  height:180px;
  width:128px;
  background:var(--mint);
  border-radius:75px 75px 16px 16px;
  transform:rotate(-12deg);
  position:absolute;
  left:37px
}

.bridge-arch.second {
  background:var(--green);
  transform:rotate(12deg);
  left:148px;
  top:24px
}

.bridge-arch:after {
  content:'';
  position:absolute;
  height:126px;
  width:70px;
  bottom:0;
  left:29px;
  border-radius:45px 45px 0 0;
  background:var(--paper)
}

.bridge-dot {
  height:48px;
  width:48px;
  border-radius:50%;
  background:var(--peach);
  position:absolute;
  top:4px;
  right:28px
}

.welcome h2 {
  font-family:'Sora',sans-serif;
  font-size:35px;
  letter-spacing:-1.6px;
  line-height:1.12;
  margin:0 0 17px;
  font-weight:600
}

.welcome .body-copy {
  font-size:13px;
  margin:0 0 26px
}

.welcome .caption {
  font-size:10px;
  text-align:center;
  margin:13px 0 0
}

.choice-card {
  width:100%;
  border:1px solid var(--line);
  border-radius:17px;
  background:var(--surface);
  padding:16px;
  text-align:left;
  display:flex;
  align-items:center;
  gap:13px;
  margin-bottom:10px
}

.choice-card .icon {
  width:24px;
  height:24px;
  color:var(--green)
}

.choice-card strong {
  display:block;
  font-size:14px
}

.choice-card small {
  display:block;
  color:var(--muted);
  font-size:11px;
  margin-top:4px
}

.choice-card.selected {
  border-color:var(--green);
  background:var(--soft)
}

.check-circle {
  margin-left:auto;
  width:21px;
  height:21px;
  border:1px solid var(--border-strong);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center
}

.selected .check-circle {
  background:var(--primary);
  color:var(--on-primary)
}

.chat-person {
  display:flex;
  align-items:center;
  gap:9px;
  flex:1
}

.chat-person .avatar {
  width:38px;
  height:38px;
  border-radius:13px;
  font-size:13px
}

.chat-person strong {
  font-size:13px
}

.chat-person small {
  display:block;
  font-size:10px;
  color:var(--muted)
}

.chat-context {
  margin:0 18px 9px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:13px;
  padding:10px;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:11px
}

.chat-context .small-property {
  width:43px;
  height:43px;
  border-radius:8px
}

.chat-context strong {
  font-weight:600
}

.chat-context small {
  display:block;
  color:var(--muted);
  font-size:10px;
  margin-top:3px
}

.chat-date {
  text-align:center;
  font-size:10px;
  color:var(--muted);
  margin:17px 0
}

.message {
  max-width:88%;
  padding:12px 14px;
  border-radius:16px 16px 16px 3px;
  background:var(--surface);
  border:1px solid var(--line);
  font-size:13px;
  line-height:1.6;
  margin:10px 0
}

.message.own {
  background:var(--message-own);
  border-color:var(--message-own);
  border-radius:16px 16px 3px 16px;
  margin-left:auto
}

.message time {
  display:block;
  text-align:right;
  font-size:9px;
  opacity:.65;
  margin-top:5px
}

.info-request {
  padding:16px;
  background:var(--surface);
  border:1px solid var(--border-strong);
  border-radius:17px;
  margin:14px 0
}

.info-request h3 {
  font-size:14px;
  margin:10px 0 6px
}

.info-request p {
  font-size:12px;
  color:var(--muted);
  line-height:1.55;
  margin:5px 0 12px
}

.info-request .row {
  gap:7px
}

.info-request .row .k-button {
  flex:1
}

.chat-compose {
  padding:10px 15px;
  display:flex;
  align-items:center;
  gap:7px;
  background:var(--paper);
  border-top:1px solid var(--line)
}

.chat-compose input {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:15px;
  min-width:0;
  flex:1;
  padding:13px 12px;
  font-size:16px
}

.chat-compose .icon-button {
  width:43px;
  height:43px;
  background:var(--primary);
  color:var(--on-primary);
  border:0
}

.unread-dot {
  height:7px;
  width:7px;
  background:var(--green);
  border-radius:50%
}

.permission-row {
  border:1px solid var(--line);
  border-radius:15px;
  padding:14px;
  background:var(--surface);
  margin-bottom:10px
}

.permission-row .row {
  justify-content:space-between
}

.permission-row small {
  display:block;
  color:var(--muted);
  font-size:11px;
  line-height:1.5;
  margin-top:8px
}

.profile-cover {
  height:80px;
  border-radius:18px;
  background:var(--green);
  position:relative;
  overflow:hidden
}

.profile-cover:before,.profile-cover:after {
  content:'';
  position:absolute;
  bottom:-55px;
  width:100px;
  height:140px;
  border:17px solid #b8d59855;
  border-radius:70px 70px 0 0;
  transform:rotate(20deg);
  right:35px
}

.profile-cover:after {
  right:127px;
  transform:rotate(-15deg)
}

.profile-identity {
  margin-top:-28px;
  position:relative;
  padding:0 13px
}

.profile-identity .avatar {
  border:4px solid var(--paper)
}

.profile-identity h3 {
  font-family:'Sora',sans-serif;
  font-size:24px;
  letter-spacing:-.8px;
  margin:10px 0 3px
}

.profile-identity p {
  font-size:12px;
  color:var(--muted);
  margin:0
}

.stats-row {
  display:flex;
  gap:24px;
  margin:22px 0
}

.stats-row strong {
  display:block;
  font-size:20px;
  font-family:'Sora',sans-serif
}

.stats-row span {
  font-size:10px;
  color:var(--muted)
}

.toggle {
  appearance:none;
  width:40px;
  height:24px;
  border-radius:20px;
  background:var(--border-strong);
  position:relative;
  flex-shrink:0;
  border:0;
  cursor:pointer
}

.toggle:before {
  content:'';
  position:absolute;
  left:3px;
  top:3px;
  background:#fff;
  width:18px;
  height:18px;
  border-radius:50%;
  transition:transform .15s
}

.toggle:checked {
  background:var(--green)
}

.toggle:checked:before {
  transform:translateX(16px)
}

.metric-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px
}

.metric {
  padding:18px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:16px
}

.metric strong {
  font-family:'Sora',sans-serif;
  font-size:28px;
  font-weight:600;
  display:block;
  letter-spacing:-1px
}

.metric small {
  font-size:10px;
  color:var(--muted)
}

.qr-placeholder {
  width:160px;
  height:160px;
  display:grid;
  place-items:center;
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:18px;
  margin:28px auto;
  color:var(--green)
}

.qr-placeholder .icon {
  width:85px;
  height:85px;
  stroke-width:1
}

.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
}

@media(max-width:1120px) {
  .design-shell {
    grid-template-columns:200px minmax(390px,1fr);
    gap:20px;
    padding:25px
  }
  .design-context {
    display:none
  }
}

@media(max-width:720px) {
  .design-shell {
    display:block;
    padding:12px
  }
  .design-rail {
    display:none;
    max-width:390px;
    margin:auto
  }
  .design-shell.catalog-open .design-rail {
    display:block
  }
  .design-shell.catalog-open .preview-area {
    display:none
  }
  .design-description {
    font-size:23px;
    margin:20px 0
  }
  .preview-toolbar {
    margin:0 0 12px;
    max-width:390px
  }
  .review-button#catalog-toggle {
    display:block
  }
  .preview-toolbar>div {
    flex:1
  }
  .device {
    max-width:390px;
    width:100%;
    height:min(844px,calc(100dvh - 108px));
    min-height:560px;
    border-width:4px;
    border-radius:29px
  }
  .status-bar {
    height:29px;
    padding-top:5px
  }
  .preview-caption {
    margin:9px 0
  }
  .design-note {
    max-width:none
  }
  .design-brand:after {
    content:'Bir ekran seçerek önizlemeye dön.';
    display:block;
    font-size:11px;
    letter-spacing:0;
    color:var(--muted);
    font-weight:400;
    margin-top:15px
  }
  .catalog-group {
    margin-top:18px
  }
  .catalog-item {
    min-height:42px
  }
  .property-content h3 {
    font-size:26px
  }
  .property-content {
    padding:14px 17px
  }
  .property-meta {
    margin:8px 0
  }
  .feed-hint {
    margin-top:3px
  }
  .feed-foot {
    padding-top:8px
  }
  .explore-top {
    padding-top:5px
  }
  .topbar {
    min-height:56px
  }
  .welcome-art {
    height:170px;
    margin:20px 0
  }
  .bridge-arch {
    height:150px;
    width:110px;
    left:38px
  }
  .bridge-arch.second {
    left:132px
  }
  .bridge-arch:after {
    width:62px;
    left:24px;
    height:110px
  }
  .welcome h2 {
    font-size:31px
  }
  .swipe-card {
    min-height:295px;
    padding:20px
  }
  .swipe-card .person-name {
    margin-top:15px
  }
  .swipe-actions {
    margin-top:17px
  }
  .preview-toolbar h1 {
    font-size:13px
  }
}

@media(max-width:370px) {
  .design-shell {
    padding:8px
  }
  .device {
    border-width:0;
    border-radius:20px
  }
  .filter-chip {
    font-size:10px;
    padding:8px
  }
  .property-content h3 {
    font-size:23px
  }
  .property-content .price {
    font-size:19px
  }
  .scroll-area {
    padding-left:16px;
    padding-right:16px
  }
  .topbar {
    padding-left:13px;
    padding-right:13px
  }
  .preview-toolbar .review-button {
    padding:8px
  }
  .welcome h2 {
    font-size:29px
  }
  .swipe-card .intent {
    font-size:15px
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}

@media(min-width:721px) {
  .design-rail {
    max-height:calc(100vh - 64px);
    overflow:auto;
    scrollbar-width:thin;
    position:sticky;
    top:32px
  }
  .preview-area {
    position:sticky;
    top:32px;
    align-self:start
  }
  .design-context {
    position:sticky;
    top:32px;
    align-self:start
  }
}

.reason-link {
  line-height:1.45
}

.reason-link .icon {
  flex-shrink:0
}

.feed-hint button {
  min-height:32px
}

.property-top>.icon-button {
  background:var(--photo-chip);
  color:var(--photo-ink)
}

.filter-chip,.segmented button,.text-button,.k-button.compact,.feed-hint button {
  min-height:44px
}

.composer .icon-button,.composer .mic {
  width:44px;
  height:44px
}

.chat-compose .icon-button {
  width:44px;
  height:44px
}

.feed-hint {
  gap:8px
}

.feed-hint button:first-child {
  min-width:32px
}

.feed-hint button {
  padding:4px 6px
}

.property-card .reason-link {
  min-height:44px
}

.feed-hint button:first-child {
  min-width:44px
}

.content-slide {
  padding:20px 17px;
  overflow:auto;
  justify-content:flex-start
}

.content-slide h3 {
  font-size:23px;
  line-height:1.2;
  margin:12px 0
}

.content-slide .reason-item {
  margin:9px 0;
  font-size:12px
}

.content-slide .caption {
  margin-top:9px
}

.content-slide .data-grid {
  margin:10px 0
}

.swipe-card {
  position:relative
}

.swipe-card[data-decision]:after {
  content:attr(data-decision);
  position:absolute;
  left:18px;
  right:18px;
  top:17px;
  background:var(--primary);
  color:var(--on-primary);
  font-size:15px;
  font-weight:700;
  text-align:center;
  padding:14px;
  border-radius:12px;
  box-shadow:var(--shadow-floating)
}

.k-button:active,.icon-button:active {
  transform:scale(.97)
}

/* v2 finishing layer — restrained depth, a consistent touch rhythm and
   bounded movement. No decorative loop runs outside loading states. */
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--canvas);
}
button, input, select, textarea {
  font-feature-settings: 'ss01';
}
button, a {
  touch-action: manipulation;
}
button {
  transition: background-color var(--duration-state) ease, border-color var(--duration-state) ease,
    color var(--duration-state) ease, box-shadow var(--duration-state) ease,
    transform var(--duration-tap) var(--ease-out);
}
button:disabled {
  opacity: .46;
  box-shadow: none;
}
input, textarea, select {
  caret-color: var(--green);
}
input::placeholder, textarea::placeholder {
  color: var(--muted);
  opacity: .86;
}
input[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--danger);
}
button:focus-visible, a:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline-width: 2px;
}
.screen-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  min-width: 0;
}
.screen-content[inert] {
  pointer-events: none;
}
.design-brand {
  letter-spacing: -.075em;
}
.design-badge {
  border: 1px solid var(--line);
  border-radius: 8px;
}
.design-description {
  font-weight: 500;
  line-height: 1.29;
}
.review-button {
  min-height: 36px;
  border-radius: 10px;
  background: var(--glass);
  white-space: nowrap;
}
.preview-toolbar {
  gap: 8px;
}
.preview-toolbar > div:first-child {
  min-width: 0;
}
.preview-toolbar h1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.review-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}
.review-tools .review-button {
  padding: 8px 10px;
}
.review-button .icon {
  width: 16px;
  height: 16px;
}
.device {
  box-shadow: var(--shadow-device);
}
.topbar {
  padding-top: 12px;
  padding-bottom: 12px;
  min-height: 68px;
}
.topbar h2 {
  letter-spacing: -.045em;
  line-height: 1.2;
}
.top-title {
  min-width: 0;
}
.topbar .wordmark {
  letter-spacing: -.07em;
}
.large-title {
  font-size: 31px;
  line-height: 1.18;
  letter-spacing: -.05em;
}
.body-copy {
  line-height: 1.7;
}
.section-heading {
  letter-spacing: -.025em;
}
.row > :not(.icon):not(.avatar):not(.icon-button) {
  min-width: 0;
}
.scroll-area {
  scroll-behavior: smooth;
  padding-bottom: 26px;
  scroll-padding-block: 16px;
}
.icon-button {
  box-shadow: var(--shadow-subtle);
}
.icon-button.plain {
  box-shadow: none;
}
.k-button {
  min-height: 50px;
  border-radius: 15px;
  letter-spacing: -.015em;
  line-height: 1.3;
}
.k-button.primary {
  box-shadow: 0 2px 4px rgba(0, 0, 0, .06);
}
.k-button.accent {
  color: var(--on-accent);
}
.k-button.danger {
  color: var(--danger);
}
.k-button.compact {
  min-height: 44px;
}
.k-button:active, .icon-button:active, .choice-card:active,
.own-listing:active, .choice:active, .swipe-action:active {
  transform: scale(.975);
}
.text-button {
  line-height: 1.35;
}
.panel {
  padding: 18px;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}
.notice {
  line-height: 1.65;
  border-radius: 14px;
}
.notice .icon {
  margin-top: 2px;
}
.field {
  letter-spacing: .005em;
}
.field input, .field select, .field textarea {
  border-radius: 14px;
  min-height: 52px;
  transition: border-color var(--duration-state) ease, box-shadow var(--duration-state) ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green);
}
.field textarea {
  line-height: 1.6;
  min-height: 112px;
}
.field small {
  line-height: 1.55;
}
.segmented {
  border: 1px solid var(--line);
  background: var(--segment-track);
  padding: 3px;
}
.segmented button {
  min-height: 44px;
  line-height: 1.3;
  padding: 7px 6px;
}
.segmented button.active {
  background: var(--elevated);
}
.list-row {
  min-height: 72px;
  padding: 15px 0;
}
.list-row .row-text {
  line-height: 1.45;
}
.list-row small {
  line-height: 1.5;
}
.list-row > .icon:first-child {
  color: var(--green);
  flex-shrink: 0;
}
.list-row > .icon:last-child {
  width: 17px;
  flex-shrink: 0;
}
.bottom-actions, .bottom-nav, .composer-wrap, .chat-compose {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.bottom-actions {
  padding: 14px 20px 17px;
}
.bottom-nav {
  padding-top: 8px;
}
.nav-button {
  min-height: 56px;
  gap: 5px;
}
.nav-icon {
  height: 29px;
  border-radius: 11px;
  transition: background-color var(--duration-state) ease, transform var(--duration-state) var(--ease-out);
}
.nav-button.active .nav-icon {
  background: var(--accent);
  color: var(--on-accent);
}
.nav-button:active .nav-icon {
  transform: scale(.92);
}
.pill {
  line-height: 1.3;
}
.pill.dark {
  background: var(--primary);
  color: var(--on-primary);
}
.pill.mint {
  background: var(--accent);
  color: var(--on-accent);
}
.avatar {
  background: var(--avatar);
  color: var(--avatar-ink);
  letter-spacing: -.03em;
}
.avatar.peach {
  background: var(--peach);
  color: var(--on-peach);
}
.avatar.lilac {
  background: var(--lilac);
  color: var(--on-lilac);
}
.avatar.lg {
  border-radius: 26px;
}
.empty {
  padding-inline: 26px;
}
.empty .empty-symbol {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  border-radius: 29px;
  color: var(--green);
}
.empty p {
  max-width: 280px;
  line-height: 1.75;
}
.toast {
  background: var(--inverse-surface);
  color: var(--inverse-text);
  border: 1px solid var(--inverse-panel);
  line-height: 1.55;
  border-radius: 16px;
  bottom: 20px;
  padding: 13px 16px;
  animation: toast-enter var(--duration-toast) var(--ease-out) both;
}
.toast button {
  color: var(--accent);
  min-height: 44px;
  margin-block: -7px;
  flex-shrink: 0;
}
.dialog-layer {
  background: var(--scrim);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: scrim-enter var(--duration-state) ease both;
}
.sheet {
  padding: 11px 22px 26px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -12px 60px rgba(0, 0, 0, .12);
  overscroll-behavior: contain;
  animation: sheet-enter var(--duration-sheet) var(--ease-out) both;
}
.sheet-grip {
  width: 34px;
  height: 4px;
  opacity: .8;
}
.sheet h3 {
  letter-spacing: -.045em;
}
.sheet .k-button {
  min-height: 50px;
}

/* Discovery and people cards */
.explore-title {
  font-size: 23px;
  letter-spacing: -.05em;
}
.filter-row {
  gap: 7px;
  scroll-padding-inline: 2px;
  overscroll-behavior-inline: contain;
}
.filter-row::-webkit-scrollbar {
  display: none;
}
.filter-chip {
  border-radius: 13px;
  min-height: 44px;
  flex-shrink: 0;
}
.filter-chip.selected {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}
.property-card {
  border-radius: 25px;
  box-shadow: var(--shadow-card);
  background: var(--candidate-surface);
}
.property-card:after {
  background: linear-gradient(180deg, transparent, rgba(5, 7, 11, .35) 30%, rgba(5, 7, 11, .94));
}
.property-content {
  color: var(--photo-text);
  padding-bottom: 21px;
}
.property-content h3 {
  font-weight: 600;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.property-content .price {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
}
.property-top > .icon-button {
  background: var(--photo-chip);
  color: var(--photo-ink);
  border-color: rgba(255, 255, 255, .3);
}
.property-top .pill {
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid rgba(255, 255, 255, .2);
}
.photo-dots span {
  transition: background-color var(--duration-state) ease;
}
.reason-link {
  background: rgba(255, 255, 245, .13);
  border: 1px solid rgba(255, 255, 245, .1);
  border-radius: 12px;
  color: var(--photo-text);
  min-height: 46px;
  line-height: 1.5;
}
.reason-link .icon {
  flex-shrink: 0;
}
.feed-foot {
  padding-top: 11px;
}
.feed-actions {
  gap: 9px;
}
.feed-actions .k-button, .feed-actions .icon-button {
  min-height: 50px;
}
.content-slide {
  padding: 22px 19px;
  background: var(--soft);
  color: var(--ink);
}
.content-slide .reason-item {
  margin: 12px 0;
  line-height: 1.5;
}
.content-slide .reason-item small {
  line-height: 1.5;
}
.detail-hero {
  border-radius: 23px;
}
.detail-heading {
  letter-spacing: -.04em;
}
.data-grid {
  border: 1px solid var(--line);
  border-radius: 16px;
}
.data-cell {
  line-height: 1.5;
}
.data-cell small {
  letter-spacing: .02em;
}
.own-listing {
  border-radius: 19px;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-card);
}
.own-content {
  padding: 13px 12px 15px;
}
.own-content strong {
  letter-spacing: -.01em;
  line-height: 1.4;
}
.own-content small {
  line-height: 1.45;
}
.swipe-card {
  border-radius: 25px;
  background: var(--candidate-surface);
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-route) var(--ease-out), opacity var(--duration-state) ease;
  will-change: transform;
}
.swipe-card[data-dragging="true"] {
  transition: none;
  user-select: none;
}
.swipe-card .person-name {
  letter-spacing: -.045em;
}
.swipe-card .intent {
  letter-spacing: -.018em;
  line-height: 1.55;
}
.swipe-card[data-decision]:after {
  background: var(--inverse-surface);
  color: var(--accent);
  border: 1px solid var(--inverse-panel);
  pointer-events: none;
}
.network-card {
  background: var(--network-surface);
}
.swipe-action {
  box-shadow: var(--shadow-subtle);
}
.swipe-action.approve {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-floating);
}
.match-screen {
  background: var(--inverse-surface);
  color: var(--inverse-text);
  overflow-y: auto;
  min-height: 0;
  padding: 26px;
}
.match-screen .eyebrow, .match-screen .caption {
  color: var(--inverse-muted);
}
.match-screen .large-title {
  color: var(--accent);
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -.055em;
}
.match-screen .body-copy, .match-screen .text-button {
  color: var(--inverse-muted);
}
.match-screen .panel {
  background: var(--inverse-panel);
  color: var(--inverse-text);
  border-color: transparent;
  box-shadow: none;
}
.match-screen .notice {
  background: var(--inverse-panel);
  color: var(--inverse-muted);
  text-align: left;
}
.match-avatars .avatar {
  border-color: var(--inverse-surface);
  animation: match-left 360ms var(--ease-out) both;
}
.match-avatars .avatar:last-child {
  animation-name: match-right;
}

/* Conversational forms, onboarding and privacy */
.wizard-progress span {
  height: 3px;
  transition: background-color var(--duration-state) ease;
}
.wizard-progress span.complete {
  background: var(--green);
}
.ai-mark {
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 12px;
}
.wizard-message {
  line-height: 1.34;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.wizard-response {
  background: var(--message-own);
  line-height: 1.6;
}
.choice {
  border-radius: 14px;
  min-height: 48px;
  line-height: 1.4;
}
.choice-card {
  min-height: 82px;
  padding: 17px;
  border-radius: 19px;
  box-shadow: var(--shadow-card);
}
.choice-card > span:not(.check-circle) {
  min-width: 0;
}
.choice-card small {
  line-height: 1.5;
}
.choice-card.selected, .choice.selected {
  border-color: var(--green);
  background: var(--soft);
}
.check-circle {
  flex-shrink: 0;
}
.selected .check-circle {
  background: var(--primary);
  color: var(--on-primary);
}
.composer {
  border-radius: 21px;
  box-shadow: var(--shadow-card);
}
.composer .icon-button {
  background: var(--primary);
  color: var(--on-primary);
  flex-shrink: 0;
}
.composer .mic {
  background: var(--soft);
  color: var(--green);
}
.composer textarea {
  line-height: 1.5;
}
.upload-tile {
  border-radius: 19px;
  padding: 26px 18px;
  line-height: 1.5;
}
.check-row {
  min-height: 44px;
}
.check-row input {
  accent-color: var(--primary);
}
.welcome {
  overflow-y: auto;
  min-height: 0;
  padding: 26px;
}
.welcome h2 {
  letter-spacing: -.055em;
  line-height: 1.14;
}
.welcome-art {
  flex-shrink: 0;
  min-height: 170px;
}
.bridge-arch {
  background: var(--accent);
  animation: arch-left 360ms var(--ease-out) both;
}
.bridge-arch.second {
  background: var(--green);
  animation-name: arch-right;
}
.bridge-dot {
  animation: dot-enter 360ms var(--ease-out) both;
}
.welcome .caption {
  line-height: 1.65;
}
.chat-person {
  min-width: 0;
}
.chat-person strong, .chat-person small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-context {
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}
.message {
  border-radius: 19px 19px 19px 5px;
  padding: 13px 15px;
  line-height: 1.65;
  box-shadow: var(--shadow-subtle);
  overflow-wrap: anywhere;
}
.message.own {
  background: var(--message-own);
  border-color: var(--message-own);
  border-radius: 19px 19px 5px 19px;
}
.message time {
  color: var(--muted);
  opacity: 1;
}
.info-request {
  padding: 18px;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}
.info-request p {
  line-height: 1.7;
}
.chat-compose input {
  color: var(--ink);
  min-height: 48px;
  border-radius: 17px;
}
.chat-compose .icon-button {
  background: var(--primary);
  color: var(--on-primary);
}
.permission-row {
  padding: 16px;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}
.permission-row .row > span {
  line-height: 1.4;
}
.permission-row .text-button {
  flex-shrink: 0;
}
.locked-row {
  line-height: 1.5;
  border-radius: 14px;
  background: var(--soft);
}
.locked-row .icon {
  flex-shrink: 0;
}
.profile-cover {
  height: 90px;
  border-radius: 22px;
  background: var(--inverse-surface);
}
.profile-cover:before, .profile-cover:after {
  border-color: var(--accent);
  opacity: .22;
}
.stats-row {
  padding-block: 4px;
  gap: 28px;
}
.toggle {
  width: 42px;
  height: 26px;
  background: var(--border-strong);
  outline-offset: 4px;
}
.toggle:before {
  width: 20px;
  height: 20px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
  transition: transform var(--duration-state) var(--ease-settle);
}
.toggle:checked {
  background: var(--green);
}
.toggle:checked:before {
  transform: translateX(16px);
}
html[data-theme="dark"] .toggle:checked:before {
  background: var(--on-primary);
}
.metric {
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}
.metric strong {
  font-variant-numeric: tabular-nums;
}

/* Appearance choices are part of the product; the preview toolbar is not. */
.setting-group {
  margin: 24px 0;
}
.setting-group > .section-heading {
  margin-bottom: 13px;
}
.appearance-preview {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 24px;
  padding: 19px;
  box-shadow: var(--shadow-card);
  margin: 10px 0 23px;
  overflow: hidden;
}
.appearance-preview .preview-eyebrow {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.appearance-preview .preview-title {
  font: 600 24px/1.22 'Sora', sans-serif;
  letter-spacing: -.045em;
  margin: 11px 0 9px;
}
.appearance-preview .preview-copy {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.appearance-preview .preview-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 14px;
  margin-top: 16px;
}
.theme-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.theme-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 93px;
  padding: 14px 7px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.3;
}
.theme-option .icon {
  height: 24px;
  width: 24px;
  color: var(--muted);
}
.theme-option.selected, .theme-option[aria-pressed="true"] {
  background: var(--soft);
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}
.theme-option.selected .icon, .theme-option[aria-pressed="true"] .icon {
  color: var(--green);
}
.palette-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.palette-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 10px;
  min-height: 100px;
  border-radius: 17px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
  font-size: 12px;
  line-height: 1.3;
}
.palette-option.selected, .palette-option[aria-pressed="true"] {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
  background: var(--soft);
}
.palette-option small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}
.palette-preview, .palette-dots {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 3px;
  min-height: 25px;
}
.palette-preview span, .palette-dots i {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 1px solid rgba(90, 90, 70, .12);
}
.palette-option[data-action="appearance-palette:iris"] .palette-preview span:nth-child(1),
.palette-option[data-action="appearance-palette:iris"] .palette-dots i:nth-child(1) { background: #6252EA; }
.palette-option[data-action="appearance-palette:iris"] .palette-preview span:nth-child(2),
.palette-option[data-action="appearance-palette:iris"] .palette-dots i:nth-child(2) { background: #AE9BFF; }
.palette-option[data-action="appearance-palette:iris"] .palette-preview span:nth-child(3),
.palette-option[data-action="appearance-palette:iris"] .palette-dots i:nth-child(3) { background: #F7F7FB; }
.palette-option[data-action="appearance-palette:buz"] .palette-preview span:nth-child(1),
.palette-option[data-action="appearance-palette:buz"] .palette-dots i:nth-child(1) { background: #126C80; }
.palette-option[data-action="appearance-palette:buz"] .palette-preview span:nth-child(2),
.palette-option[data-action="appearance-palette:buz"] .palette-dots i:nth-child(2) { background: #71EDFA; }
.palette-option[data-action="appearance-palette:buz"] .palette-preview span:nth-child(3),
.palette-option[data-action="appearance-palette:buz"] .palette-dots i:nth-child(3) { background: #F4F8F9; }
.palette-option[data-action="appearance-palette:volt"] .palette-preview span:nth-child(1),
.palette-option[data-action="appearance-palette:volt"] .palette-dots i:nth-child(1) { background: #070707; }
.palette-option[data-action="appearance-palette:volt"] .palette-preview span:nth-child(2),
.palette-option[data-action="appearance-palette:volt"] .palette-dots i:nth-child(2) { background: #C6FF4A; }
.palette-option[data-action="appearance-palette:volt"] .palette-preview span:nth-child(3),
.palette-option[data-action="appearance-palette:volt"] .palette-dots i:nth-child(3) { background: #F6F6F7; }

/* A route owns one entrance, while sheets and feedback own their own movement. */
.app[data-motion="forward"] > .screen-content > :is(.scroll-area,.empty,.welcome,.match-screen,.feed) { animation: screen-forward var(--duration-route) var(--ease-out) both; }
.app[data-motion="back"] > .screen-content > :is(.scroll-area,.empty,.welcome,.match-screen,.feed) { animation: screen-back var(--duration-route) var(--ease-out) both; }
.app[data-motion="replace"] > .screen-content > :is(.scroll-area,.empty,.welcome,.match-screen,.feed) { animation: screen-replace var(--duration-state) var(--ease-out) both; }
.app[data-motion="slide-left"] :is(.property-card,.swipe-card) { animation: screen-forward var(--duration-route) var(--ease-out) both; }
.app[data-motion="slide-right"] :is(.property-card,.swipe-card) { animation: screen-back var(--duration-route) var(--ease-out) both; }
.app[data-motion="slide-up"] :is(.property-card,.swipe-card) { animation: screen-up var(--duration-route) var(--ease-out) both; }
.app[data-motion="slide-down"] :is(.property-card,.swipe-card) { animation: screen-down var(--duration-route) var(--ease-out) both; }
@keyframes screen-forward { from { opacity: 0; transform: translateX(15px); } to { opacity: 1; transform: translateX(0); } }
@keyframes screen-back { from { opacity: 0; transform: translateX(-15px); } to { opacity: 1; transform: translateX(0); } }
@keyframes screen-replace { from { opacity: .5; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes screen-up { from { opacity: .3; transform: translateY(19px); } to { opacity: 1; transform: translateY(0); } }
@keyframes screen-down { from { opacity: .3; transform: translateY(-19px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sheet-enter { from { transform: translateY(35px); opacity: .55; } to { transform: translateY(0); opacity: 1; } }
@keyframes scrim-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes toast-enter { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes match-left { from { transform: translateX(-22px) rotate(-19deg); opacity: 0; } to { transform: translateX(0) rotate(-10deg); opacity: 1; } }
@keyframes match-right { from { transform: translateX(22px) rotate(19deg); opacity: 0; } to { transform: translateX(0) rotate(10deg); opacity: 1; } }
@keyframes arch-left { from { transform: translateY(18px) rotate(-18deg); opacity: 0; } to { transform: translateY(0) rotate(-12deg); opacity: 1; } }
@keyframes arch-right { from { transform: translateY(25px) rotate(18deg); opacity: 0; } to { transform: translateY(0) rotate(12deg); opacity: 1; } }
@keyframes dot-enter { from { transform: scale(.65); opacity: 0; } to { transform: scale(1); opacity: 1; } }

@media (hover: hover) {
  .catalog-item:not(.active):hover { background: var(--soft); }
  .k-button:not(.primary):not(.accent):not(.danger):not(:disabled):hover,
  .icon-button:not(.plain):not(:disabled):hover { border-color: var(--border-strong); }
  .own-listing:hover { transform: translateY(-2px); }
  .text-button:hover { text-decoration: underline; text-underline-offset: 4px; }
}
@media (max-width: 720px) {
  .preview-toolbar { gap: 7px; }
  .review-button { min-height: 36px; padding: 8px 9px; }
  .preview-toolbar .eyebrow { font-size: 9px; letter-spacing: 1.1px; }
  .topbar { min-height: 61px; padding-block: 9px; }
  .large-title { font-size: 30px; }
  .property-content { padding-inline: 17px; padding-bottom: 18px; }
  .property-content h3 { font-size: 26px; margin-block: 9px 12px; }
  .welcome { padding: 24px; }
  .welcome-art { margin-block: 19px; }
  .welcome h2 { font-size: 32px; }
  .swipe-card { padding: 20px; }
  .feed-foot { padding-top: 9px; }
  .feed-hint { margin-top: 2px; }
}
@media (max-width: 370px) {
  .preview-toolbar h1 { font-size: 12px; }
  .preview-toolbar .eyebrow { font-size: 8px; }
  .review-button { font-size: 10px; }
  .review-tools { gap: 4px; }
  .review-tools .review-button { padding: 7px; }
  .topbar h2 { font-size: 18px; }
  .topbar { gap: 7px; min-height: 59px; }
  .large-title { font-size: 28px; }
  .explore-title { font-size: 21px; }
  .explore-top { padding-inline: 13px; }
  .filter-chip { font-size: 10px; padding: 8px 9px; }
  .feed { padding-inline: 9px; }
  .property-top { padding: 13px 12px; }
  .property-top .pill { font-size: 9px; }
  .property-content { padding: 12px 15px 16px; }
  .property-content h3 { font-size: 23px; }
  .property-content .price { font-size: 19px; }
  .property-meta { gap: 9px; font-size: 10px; }
  .reason-link { font-size: 10px; padding: 8px 9px; }
  .feed-hint { gap: 4px; }
  .feed-hint button { font-size: 9px; padding-inline: 4px; }
  .content-slide { padding: 18px 15px; }
  .content-slide h3 { font-size: 21px; }
  .own-content { padding-inline: 10px; }
  .listing-grid { gap: 10px; }
  .swipe-card { padding: 18px; }
  .swipe-card .person-name { font-size: 25px; }
  .swipe-card .intent { font-size: 15px; }
  .swipe-card .profile-tags { gap: 4px; }
  .swipe-card .pill { font-size: 9px; padding-inline: 7px; }
  .match-screen { padding: 21px; }
  .match-screen .large-title { font-size: 36px; }
  .wizard-message { font-size: 23px; }
  .wizard-heading { margin-bottom: 17px; }
  .composer-wrap { padding-inline: 13px; }
  .composer { padding: 8px; gap: 5px; }
  .composer textarea { padding-inline: 2px; }
  .bottom-actions { padding-inline: 16px; }
  .bottom-actions .row { gap: 8px; }
  .k-button { padding-inline: 13px; }
  .welcome { padding: 21px; }
  .welcome h2 { font-size: 29px; }
  .welcome-art { min-height: 158px; height: 158px; }
  .bridge-arch { left: 21px; }
  .bridge-arch.second { left: 112px; }
  .bridge-dot { right: 17px; width: 43px; height: 43px; }
  .welcome .body-copy { margin-bottom: 19px; }
  .info-request { padding: 15px; }
  .info-request .row .k-button { padding-inline: 10px; }
  .chat-context { margin-inline: 13px; }
  .permission-row { padding: 13px; }
  .theme-options, .palette-options { gap: 6px; }
  .theme-option { font-size: 11px; border-radius: 15px; }
  .palette-option { padding: 11px 8px; border-radius: 15px; }
  .palette-preview span, .palette-dots i { width: 18px; height: 18px; }
  .appearance-preview { padding: 16px; }
}
@media (max-height: 740px) and (max-width: 720px) {
  .welcome-art { height: 148px; min-height: 148px; margin-block: 14px; }
  .bridge-arch { height: 133px; }
  .bridge-arch:after { height: 98px; }
  .match-screen { justify-content: flex-start; padding-top: 30px; }
  .match-screen .large-title { margin-top: 16px; font-size: 35px; }
  .match-avatars .avatar { width: 78px; height: 78px; border-radius: 27px; }
}
html[data-reduce-motion="true"] *,
html[data-reduce-motion="true"] *:before,
html[data-reduce-motion="true"] *:after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
html[data-reduce-motion="true"] button:active,
html[data-reduce-motion="true"] .own-listing:hover {
  transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  button:active, .own-listing:hover { transform: none !important; }
}

/* Focus is announced on route headings without painting an interactive ring. */
.screen-content h2[tabindex="-1"]:focus,
.screen-content h3[tabindex="-1"]:focus { outline: none; }
.theme-option { position: relative; }
.theme-option > .icon:last-child:not(:first-child) {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 13px;
  height: 13px;
}
.help-questions { margin: 22px 0 18px; }
.help-question {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.help-question summary {
  min-height: 68px;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
}
.help-question summary::-webkit-details-marker { display: none; }
.help-question summary .icon {
  width: 17px;
  height: 17px;
  color: var(--muted);
  flex-shrink: 0;
}
.help-question[open] summary .icon { transform: rotate(45deg); }
.help-question .body-copy { margin: 0 0 20px; font-size: 13px; }
.help-question summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  border-radius: 7px;
}

/* Anchored filters stay in the discovery context instead of opening a page. */
.filter-popover-layer {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, .2);
}
.filter-popover {
  position: absolute;
  top: var(--popover-top, 112px);
  left: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: var(--popover-max-height, calc(100% - 128px));
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--ink);
  box-shadow: var(--shadow-floating);
  animation: filter-popover-enter 180ms var(--ease-out) both;
}
.filter-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 12px;
  padding: 13px 15px 11px 19px;
  border-bottom: 1px solid var(--line);
}
.filter-popover-header h2,
.filter-popover-header h3 {
  min-width: 0;
  margin: 0;
  font: 600 18px/1.3 'Sora', sans-serif;
  letter-spacing: -.04em;
}
.filter-popover-header .icon-button {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--soft);
  border-color: transparent;
  box-shadow: none;
}
.filter-popover-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
  padding: 17px 19px 20px;
  -webkit-overflow-scrolling: touch;
}
.filter-popover-body .field:last-child {
  margin-bottom: 0;
}
.filter-popover-body .section-heading:first-child {
  margin-top: 0;
}
.filter-popover-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 9px;
  padding: 13px 17px 16px;
  background: var(--glass);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.filter-popover-actions > button {
  flex: 1;
  min-width: 0;
  min-height: 50px;
}
.filter-mini-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 0 13px;
  margin-bottom: 5px;
  scrollbar-width: none;
}
.filter-mini-tabs::-webkit-scrollbar {
  display: none;
}
.filter-mini-tabs button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}
.filter-mini-tabs button.active,
.filter-mini-tabs button[aria-selected="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}
.budget-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 18px;
}
.budget-presets .choice {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 10px 12px;
  white-space: nowrap;
}
.filter-popover input[type="range"] {
  display: block;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 44px;
  padding: 0;
  margin: 8px 0 4px;
  background: transparent;
  border: 0;
  accent-color: var(--primary);
  cursor: pointer;
}
.filter-popover input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 99px;
  background: var(--line);
}
.filter-popover input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -9.5px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 1px var(--border-strong), var(--shadow-subtle);
}
.filter-popover input[type="range"]::-moz-range-track {
  height: 5px;
  border-radius: 99px;
  background: var(--line);
}
.filter-popover input[type="range"]::-moz-range-progress {
  height: 5px;
  border-radius: 99px;
  background: var(--primary);
}
.filter-popover input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 1px var(--border-strong), var(--shadow-subtle);
}
.property-card[data-native-scroll="true"] {
  touch-action: pan-y;
}
.property-photo {
  -webkit-user-drag: none;
  user-select: none;
}
.property-card {
  user-select: none;
}
@keyframes filter-popover-enter {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 370px) {
  .filter-popover { left: 9px; right: 9px; border-radius: 22px; }
  .filter-popover-header { padding-inline: 15px 12px; }
  .filter-popover-body { padding-inline: 15px; }
  .filter-popover-actions { padding-inline: 13px; }
  .filter-mini-tabs button { padding-inline: 11px; font-size: 11px; }
  .budget-presets .choice { font-size: 11px; padding-inline: 10px; }
}
html[data-reduce-motion="true"] .filter-popover {
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .filter-popover { animation: none; }
}

/* Native vertical discovery: browser momentum and snapping own this axis. */
.native-feed {
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.native-feed::-webkit-scrollbar { display: none; }
.feed-page {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
}
.native-feed .property-card,
.native-feed .property-card[data-native-scroll] { touch-action: pan-y; }
.native-feed .content-slide { overscroll-behavior-y: auto; }
.native-feed .feed-foot { flex-shrink: 0; }
.filter-mini-tabs { position: relative; flex-shrink: 0; }
@media (min-width: 721px) {
  .design-shell { height: 100dvh; overflow: hidden; }
  .design-rail { min-height:0; height:100%; overflow-y:auto; }
  .device { height: min(844px, calc(100dvh - 166px)); min-height: 0; flex-shrink: 0; }
  .preview-toolbar, .preview-caption { flex-shrink: 0; }
}
@media (max-width: 720px) {
  .device { min-height: 0; height: min(844px, calc(100dvh - 112px)); }
}

/* Selection geometry: labels never determine peer control widths.
   A shared inset keeps popover headings, tabs, fields and actions aligned. */
.filter-popover {
  --filter-inset: 16px;
}
.filter-popover-header {
  padding: 12px var(--filter-inset);
}
.filter-popover-body {
  padding: 17px var(--filter-inset) 20px;
}
.filter-popover-actions {
  padding: 13px var(--filter-inset) 16px;
  align-items: stretch;
}
.filter-mini-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 3px;
  min-width: 0;
  overflow: hidden;
  margin: 12px var(--filter-inset) 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--soft);
}
.filter-mini-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 3px;
  border-color: transparent;
  border-radius: 10px;
  background: transparent;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
.filter-mini-tabs button.active,
.filter-mini-tabs button[aria-current="true"],
.filter-mini-tabs button[aria-selected="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
  font-weight: 600;
}
.filter-mini-tabs button:focus-visible {
  outline-offset: -3px;
}
.quick-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}
.quick-choices:has(> .choice:nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.quick-choices > .choice {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  margin: 0;
  padding: 10px 8px;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
}
.quick-choices:has(> [data-action^="wizard-prompt:"]) {
  grid-template-columns: 1fr;
}
.quick-choices > [data-action^="wizard-prompt:"] {
  justify-content: flex-start;
  min-height: 48px;
  padding-inline: 15px;
  text-align: left;
}
.budget-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.budget-presets .choice {
  white-space: nowrap;
}
.segmented {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  align-items: stretch;
}
.segmented > button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 8px 6px;
  text-align: center;
}
.theme-options, .palette-options {
  align-items: stretch;
}
.theme-option, .palette-option {
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
}
.theme-option {
  min-height: 96px;
}
.palette-option {
  display: grid;
  grid-template-rows: 26px 18px minmax(28px, auto);
  justify-items: start;
  align-items: start;
  align-content: start;
  gap: 8px;
}
.palette-option > strong {
  align-self: center;
  line-height: 18px;
}
.palette-option > small {
  line-height: 14px;
}
.palette-dots {
  align-self: center;
}
.choice-card {
  min-width: 0;
  align-items: center;
}
.choice-card > .icon {
  flex: 0 0 24px;
}
.choice-card > span:not(.check-circle) {
  flex: 1;
  min-width: 0;
}
.choice-card > .check-circle {
  flex: 0 0 21px;
}
.check-circle .icon {
  width: 14px;
  height: 14px;
}
.swipe-actions {
  display: grid;
  grid-template-columns: repeat(2, 84px);
  justify-content: center;
  align-items: start;
  gap: 26px;
}
.swipe-actions > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 84px;
  min-width: 0;
}
.swipe-action-label {
  width: 100%;
  min-height: 15px;
  line-height: 1.5;
  text-align: center;
}
.bottom-actions .row,
.info-request .row {
  align-items: stretch;
}
.bottom-actions .row > .k-button,
.info-request .row > .k-button {
  min-width: 0;
}
@media (max-width: 370px) {
  .filter-popover { --filter-inset: 12px; }
  .filter-mini-tabs { gap: 2px; }
  .filter-mini-tabs button { font-size: 11px; padding-inline: 2px; }
  .quick-choices { gap: 6px; }
  .quick-choices > .choice { font-size: 11.5px; padding-inline: 6px; }
  .quick-choices > [data-action^="wizard-prompt:"] { padding-inline: 13px; }
}

/* K5: locally delivered typography, bridge identity and editorial discovery. */
:root {
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-spring: cubic-bezier(.22, 1.18, .36, 1);
  --bridge-symbol: url('assets/brand/kopru-symbol-black.png');
}
body, button, input, textarea, select {
  font-family: var(--font-body);
  font-optical-sizing: auto;
}
.large-title, .welcome h2, .wizard-message, .match-screen .large-title,
.property-content h3, .lifestyle-copy h3, .content-slide h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.055em;
}
.topbar h2, .section-heading, .filter-popover-header h3,
.swipe-card .person-name, .detail-heading {
  font-weight: 650;
  letter-spacing: -.045em;
}
.property-content .price, .data-cell, .metric strong, .stats-row strong {
  font-variant-numeric: tabular-nums;
}
.design-brand, .welcome .wordmark {
  position: relative;
  padding-left: 54px;
  letter-spacing: -.055em;
}
.design-brand:before, .welcome .wordmark:before,
.topbar .wordmark:before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 44px;
  height: 40px;
  background: currentColor;
  -webkit-mask: var(--bridge-symbol) center / contain no-repeat;
  mask: var(--bridge-symbol) center / contain no-repeat;
}
.design-brand span { margin-left: -54px; }
.topbar .wordmark {
  position: relative;
  padding-left: 40px;
}
.topbar .wordmark:before { width: 32px; height: 31px; }
.explore-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.05em;
}
.explore-title:before {
  content: '';
  display: block;
  width: 29px;
  height: 26px;
  flex: 0 0 29px;
  background: currentColor;
  -webkit-mask: var(--bridge-symbol) center / contain no-repeat;
  mask: var(--bridge-symbol) center / contain no-repeat;
}
.app {
  isolation: isolate;
}
.app:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(ellipse at calc(8% + var(--feed-progress, 0) * 82%) calc(12% + var(--feed-progress, 0) * 72%), color-mix(in srgb, var(--active-listing-accent, var(--accent)) 16%, transparent), transparent 62%),
    radial-gradient(ellipse at calc(90% - var(--feed-progress, 0) * 70%) 12%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 56%);
  transition: opacity 320ms ease;
}
.app[data-route="explore"]:before { opacity: 1; }
.explore-top {
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.native-feed { position: relative; }
.feed-page { padding-bottom: 1px; }
.property-card {
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .075), inset 0 1px rgba(255, 255, 255, .12);
}
.property-content h3 {
  font-size: 28px;
  line-height: 1.1;
  max-width: 100%;
  overflow-wrap: normal;
}
.property-content .location {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .085em;
}
.property-content .price {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
}
.property-top { position: relative; z-index: 2; }
.property-mosaic {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 15px 0;
  margin-bottom: auto;
  pointer-events: none;
}
.property-thumb {
  position: relative;
  width: 84px;
  height: 103px;
  padding: 0;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  transform: rotate(5deg);
  pointer-events: auto;
}
.property-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
  transform: scale(1.35);
  -webkit-user-drag: none;
}
.property-thumb span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 7px 2px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7));
  font-size: 7.5px;
  font-weight: 500;
  text-align: center;
}
.feed-page[data-composition="editorial"] .property-mosaic { display: none; }
.feed-page[data-composition="panorama"] .property-mosaic { justify-content: flex-start; }
.feed-page[data-composition="panorama"] .property-thumb {
  width: 118px;
  height: 76px;
  transform: rotate(-4deg);
}
.feed-page[data-composition="mosaic"] .property-content h3 { max-width: 95%; }
.lifestyle-slide {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 0;
  isolation: isolate;
  overflow: hidden;
  background: var(--inverse-surface);
}
.lifestyle-slide > .property-photo {
  z-index: -2;
  object-position: 60% 40%;
  transform: scale(1.13);
}
.lifestyle-slide:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .08) 15%, rgba(0, 0, 0, .08) 36%, rgba(5, 7, 11, .88));
}
.lifestyle-copy {
  align-self: flex-end;
  padding: 25px 23px 27px;
  color: #fff;
  width: 100%;
}
.lifestyle-copy .eyebrow { color: #fff; opacity: .8; }
.lifestyle-copy h3 {
  font-size: 30px;
  line-height: 1.12;
  margin: 11px 0 14px;
  text-wrap: balance;
}
.lifestyle-copy p {
  font-size: 12px;
  line-height: 1.65;
  max-width: 280px;
  color: rgba(255, 255, 255, .86);
}
.lifestyle-copy .price {
  font-size: 18px;
  margin-top: 17px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.facts-slide, .location-slide, .fit-slide {
  position: relative;
  padding: 25px 21px;
  background: var(--surface);
  color: var(--ink);
  border-radius: inherit;
  overscroll-behavior-y: auto;
}
.facts-slide:before, .fit-slide:before {
  content: '';
  display: block;
  width: 31px;
  height: 4px;
  background: var(--listing-accent, var(--accent));
  border-radius: 99px;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.content-slide h3 {
  font-size: 25px;
  line-height: 1.17;
  margin-block: 11px 17px;
}
.facts-slide .data-grid { margin: 13px 0 16px; }
.facts-slide .data-cell { padding: 13px 12px; }
.facts-slide .profile-tags { margin: 0 0 17px; }
.facts-slide .notice, .fit-slide .notice {
  font-size: 11px;
  line-height: 1.6;
}
.location-grid {
  position: relative;
  flex-shrink: 0;
  min-height: 154px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin: 13px 0 18px;
  background:
    linear-gradient(28deg, transparent 43%, color-mix(in srgb, var(--surface) 90%, transparent) 44% 49%, transparent 50%),
    linear-gradient(105deg, transparent 44%, color-mix(in srgb, var(--surface) 88%, transparent) 45% 49%, transparent 50%),
    repeating-linear-gradient(0deg, transparent 0 26px, var(--line) 27px 28px),
    repeating-linear-gradient(90deg, transparent 0 34px, var(--line) 35px 36px),
    var(--soft);
}
.location-grid:before {
  content: '';
  position: absolute;
  width: 91px;
  height: 91px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--listing-accent, var(--accent)) 19%, transparent);
  border: 1px solid color-mix(in srgb, var(--green) 32%, transparent);
}
.location-pin {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: var(--primary);
  color: var(--on-primary);
  border: 3px solid var(--surface);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .13);
}
.location-pin .icon { width: 21px; height: 21px; }
.fit-slide .reason-item { margin-block: 12px; }
.fit-slide .reason-item + .reason-item {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.photo-dots {
  position: relative;
  z-index: 2;
  gap: 5px;
}
.photo-dots span {
  height: 3px;
  background: rgba(255, 255, 255, .38);
}
.avatar { position: relative; overflow: hidden; }
.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  border-radius: inherit;
  -webkit-user-drag: none;
}
.person-cover {
  position: relative;
  height: 148px;
  margin: -20px -20px 18px;
  overflow: hidden;
  background: var(--soft);
}
.person-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.person-cover:after {
  content: '';
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .14));
}
.network-card:has(.person-cover) { background: var(--surface); }
.network-card:has(.person-cover) .person-name { font-weight: 700; }
.k-button, .icon-button, .swipe-action {
  transition-timing-function: var(--ease-out), var(--ease-out), var(--ease-out), var(--ease-out), var(--ease-spring);
}
.k-button:active, .icon-button:active { transform: scale(.965); }
@media (max-width: 370px) {
  .property-content h3 { font-size: 24px; }
  .property-content .price { font-size: 20px; }
  .property-thumb { width: 69px; height: 85px; }
  .property-mosaic { padding: 9px 12px 0; }
  .lifestyle-copy { padding: 22px 18px; }
  .lifestyle-copy h3 { font-size: 26px; }
  .facts-slide, .location-slide, .fit-slide { padding: 21px 17px; }
  .content-slide h3 { font-size: 22px; }
  .location-grid { min-height: 136px; }
  .person-cover { margin: -18px -18px 16px; height: 135px; }
  .explore-title { font-size: 20px; gap: 7px; }
  .explore-title:before { width: 25px; height: 23px; flex-basis: 25px; }
}
@media (max-height: 760px) {
  .property-thumb { width: 61px; height: 72px; border-width: 2px; border-radius: 12px; }
  .property-mosaic { padding-top: 7px; }
  .property-content h3 { font-size: 24px; }
  .property-content .location { font-size: 9px; }
  .property-content { padding-bottom: 15px; }
  .property-content .price { font-size: 19px; }
  .lifestyle-copy h3 { font-size: 25px; }
  .location-grid { min-height: 120px; }
}
html[data-reduce-motion="true"] .app:before { display: none; }
@media (prefers-reduced-motion: reduce) {
  .app:before { display: none; }
  .k-button:active, .icon-button:active { transform: none; }
}
/* Final composed-panel contracts from the native discovery renderer. */
.lifestyle-slide { flex-direction: column; }
.lifestyle-copy { margin-top: auto; }
.lifestyle-copy .caption { display: block; color: rgba(255,255,255,.73); font-size: 9px; margin-top: 8px; }
.property-thumb span .icon { width: 9px; height: 9px; margin-left: 1px; }
.location-pin > span {
  position: absolute;
  left: 50%;
  top: calc(100% + 9px);
  transform: translateX(-50%);
  color: var(--ink);
  background: var(--surface);
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.location-grid .map-caption {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 7px;
  font-size: 8px;
  line-height: 1.25;
  color: var(--muted);
  background: var(--surface);
  border-radius: 7px;
}
.network-card { --person-card-inset: 23px; }
.network-card .person-cover {
  margin: calc(-1 * var(--person-card-inset)) calc(-1 * var(--person-card-inset)) 18px;
}
.network-card:has(.person-cover) .network-header { margin-top: -42px; position: relative; }
.network-card:has(.person-cover) .network-header .avatar { border: 4px solid var(--surface); }
.scroll-area > .person-cover { margin: 0 0 18px; border-radius: 21px; height: 190px; }
@media (max-width: 720px) { .network-card { --person-card-inset: 20px; } }
@media (max-width: 370px) { .network-card { --person-card-inset: 18px; } }
/* The supplied bridge is wide; preserve its silhouette rather than squaring it. */
.design-brand, .welcome .wordmark { padding-left: 65px; }
.design-brand:before, .welcome .wordmark:before { width: 56px; height: 31px; top: 5px; }
.design-brand span { margin-left: -65px; }
.explore-title:before { width: 35px; height: 23px; flex-basis: 35px; }
.qr-share-screen {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: 24px 5px 28px;
  text-align: center;
}
.qr-share-screen:before {
  content: '';
  position: absolute;
  inset: 18% -4% 18%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--accent) 16%, transparent), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}
.qr-brand { width: 96px; height: 36px; object-fit: contain; margin: 8px 0 7px; }
html[data-theme="dark"] .qr-brand { filter: invert(1); }
.qr-share-screen > p { font-size: 12px; line-height: 1.6; color: var(--muted); margin: 13px 0 22px; }
.qr-glass-frame {
  width: min(100%, 278px);
  padding: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface) 91%, transparent), color-mix(in srgb, var(--surface) 70%, transparent));
  border: 1px solid color-mix(in srgb, var(--surface) 85%, var(--line));
  border-radius: 29px;
  box-shadow: var(--shadow-card), inset 0 1px rgba(255,255,255,.25);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.qr-white-pad { background: #fff; border-radius: 19px; padding: 9px; line-height: 0; }
.qr-white-pad img { display: block; width: 100%; height: auto; }
.qr-share-screen a:not(.k-button) { font-size: 14px; font-weight: 600; letter-spacing: -.025em; overflow-wrap: anywhere; margin: 20px 0; }
.qr-share-screen .k-button { width: 100%; max-width: 278px; }
/* Mosaic is a photographic overlay, never an extra row in the card's flex flow. */
.property-card { container-type: size; container-name: listing-card; }
.property-mosaic {
  position: absolute;
  top: 78px;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  padding: 0 15px;
}
.property-thumb { width: 69px; height: 85px; }
@container listing-card (max-height: 420px) {
  .property-mosaic { top: 70px; padding-inline: 13px; }
  .property-thumb { width: 54px; height: 64px; border-width: 2px; border-radius: 12px; }
  .property-thumb span { font-size: 6.5px; padding: 6px 1px; }
  .property-content { padding: 13px 16px 15px; }
  .property-content h3 { font-size: 23px; line-height: 1.1; margin: 8px 0 10px; }
  .property-content .price { font-size: 19px; }
  .property-content .location { font-size: 9px; }
  .property-meta { font-size: 10px; margin-block: 7px; }
  .reason-link { font-size: 10px; min-height: 44px; padding: 7px 9px; }
  .lifestyle-copy { padding: 18px; }
  .lifestyle-copy h3 { font-size: 25px; }
  .lifestyle-copy p { font-size: 11px; line-height: 1.55; }
}
@container listing-card (max-height: 330px) {
  .property-mosaic { display: none; }
  .property-content h3 { font-size: 21px; }
}

/* Network keeps context and decisions fixed while the profile alone scrolls. */
.network-filter-bar {
  flex-shrink: 0;
  padding: 0 16px 12px;
  background: var(--glass);
}
.network-filter-bar .filter-row { padding: 0; }
.network-stage {
  flex: 1;
  min-height: 0;
  padding: 0 16px 14px;
  overscroll-behavior: contain;
}
.network-stage .network-card {
  --person-card-inset: 16px;
  min-height: 0;
  padding: 16px;
  border-radius: 23px;
}
.network-stage .person-cover {
  height: 116px;
  margin: -16px -16px 16px;
}
.network-stage .network-card:has(.person-cover) .network-header {
  margin-top: 0;
  align-items: center;
  gap: 10px;
}
.network-identity { min-width: 0; flex: 1; }
.network-stage .person-name {
  font-size: 23px;
  line-height: 1.2;
  margin: 0 0 5px;
}
.network-identity .caption { line-height: 1.5; }
.network-stage .network-header > .icon-button { flex-shrink: 0; }
.network-stage .intent {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.6;
  margin: 14px 0;
}
.network-stage .profile-tags { gap: 5px; margin-top: 10px; }
.network-stage .profile-tags .pill { font-size: 9.5px; }
.network-stage .notice { font-size: 11px; line-height: 1.55; }
.network-decisions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 11px 16px 8px;
  border-top: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.network-decisions .swipe-actions { margin: 0; gap: 30px; }
.network-decisions .swipe-action { width: 58px; height: 58px; }
.network-decisions .swipe-action .icon { width: 25px; height: 25px; }
.network-decisions .swipe-action-label { margin-top: 5px; }
.network-decisions > .caption { margin: 0; font-size: 9px; line-height: 1.35; }
@media (max-width: 370px), (max-height: 800px) {
  .network-filter-bar { padding: 0 14px 10px; }
  .network-stage { padding: 0 14px 12px; }
  .network-stage .person-cover { height: 100px; margin-bottom: 13px; }
  .network-stage .person-name { font-size: 21px; }
  .network-stage .intent { font-size: 13px; margin-block: 12px; }
  .network-decisions { padding-top: 9px; gap: 5px; }
  .network-decisions .swipe-action { width: 56px; height: 56px; }
}
