/* Citadel Members Portal. Palette and components from the approved design. */

  @font-face{ font-family:'Manrope'; font-style:normal; font-weight:200 800; font-display:swap; src:url(../fonts/manrope.woff2) format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
  @font-face{ font-family:'Manrope'; font-style:normal; font-weight:200 800; font-display:swap; src:url(../fonts/manrope-ext.woff2) format('woff2'); unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
  html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; overflow-x:hidden; }
  :root{ --navy:#150E2E; --orange:#FF5B3C; --cream:#FAF7F0; --tan:#F4F0E6; --line:#ECE7DA; --muted:#B5AFA0; --body:#8A836F; --green:#2E9E58; --red:#D6432F; color-scheme:light; }
  *{ box-sizing:border-box; }
  body.cp-body{ margin:0; padding:0; background:var(--cream); color:var(--navy); font-family:'Manrope',ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif; -webkit-font-smoothing:antialiased; font-size:14px; line-height:1.5; }
  .cp-body *, .cp-body *::before, .cp-body *::after{ box-sizing:border-box; }
  .cp-body h1{ font-family:inherit; }
  .cp-body img{ max-width:100%; height:auto; }
  a{ color:#FF5B3C; text-decoration:none; }
  a:hover{ color:#E14A2E; }
  button{ font-family:inherit; }
  input,select{ font-family:inherit; }
  .tnum{ font-variant-numeric:tabular-nums; }


  /* ---- original component classes (from the approved .dc.html mockups) ---- */
  .cmp-nav-item{ transition:background .15s ease; position:relative; cursor:pointer; border:none; background:none; text-align:left; width:100%; }
  .cmp-nav-item:hover:not(.active){ background:rgba(255,255,255,0.05); }
  .cmp-tile, .cmp-quick-card, .cmp-stat-tile{ transition:box-shadow .2s ease, transform .2s ease; }
  .cmp-tile:hover, .cmp-quick-card:hover{ box-shadow:0 14px 34px rgba(21,14,46,0.10); transform:translateY(-2px); }
  .cmp-stat-tile:hover{ box-shadow:0 12px 32px rgba(21,14,46,0.08); transform:translateY(-2px); }
  .cmp-suburb-card, .cmp-doc-row, .cmp-video-card, .cmp-member-row{ transition:box-shadow .2s ease, transform .2s ease; }
  .cmp-suburb-card:hover, .cmp-video-card:hover{ box-shadow:0 16px 40px rgba(21,14,46,0.12); transform:translateY(-3px); }
  .cmp-doc-row:hover, .cmp-member-row:hover{ box-shadow:0 14px 34px rgba(21,14,46,0.10); transform:translateY(-2px); }
  .cmp-search-input::placeholder{ color:#B5AFA0; }
  .cmp-btn-primary{ transition:filter .15s ease, transform .1s ease, box-shadow .15s ease; cursor:pointer; }
  .cmp-btn-primary:hover:not(:disabled){ filter:brightness(1.07); transform:translateY(-1px); }
  .cmp-btn-primary:active:not(:disabled){ transform:translateY(1px); }
  .cmp-btn-outline{ transition:background .15s ease, border-color .15s ease; cursor:pointer; }
  .cmp-btn-outline:hover{ background:#FFF9F0; border-color:#150E2E; }
  .cmp-btn{ transition:filter .15s ease, transform .1s ease; cursor:pointer; }
  .cmp-btn:hover{ filter:brightness(1.06); }
  .cmp-btn:active{ transform:translateY(1px); }
  .cmp-social{ cursor:pointer; }
  .cmp-social:hover{ background:#F4F0E6; }
  .cmp-toggle{ transition:background .15s ease; cursor:pointer; }
  .cmp-filter-pill{ transition:background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease; cursor:pointer; border:none; }
  .cmp-filter-pill:hover{ transform:translateY(-1px); }
  .cmp-video-card{ cursor:pointer; }
  .cmp-field-label{ font-size:12px; font-weight:600; color:#B5AFA0; margin-bottom:6px; text-transform:uppercase; letter-spacing:0.4px; }
  .cmp-input{ width:100%; background:#F4F0E6; border:1.5px solid transparent; border-radius:12px; padding:11px 14px; font-size:13px; font-weight:700; font-family:'Manrope',sans-serif; color:#150E2E; outline:none; transition:border-color .15s ease; }
  .cmp-input:focus{ border-color:#FF5B3C; }
  .cmp-input-auth{ width:100%; padding:13px 16px; border:1px solid #ECE7DA; border-radius:10px; font-family:'Manrope',sans-serif; font-size:14px; outline:none; background:#fff; color:#150E2E; }
  .cmp-input-auth:focus{ border-color:#150E2E; }
  .cmp-select{ width:100%; appearance:none; -webkit-appearance:none; background:#F4F0E6; border:1.5px solid transparent; border-radius:12px; padding:11px 34px 11px 14px; font-size:13px; font-weight:600; font-family:'Manrope',sans-serif; color:#150E2E; outline:none; cursor:pointer; }
  .cmp-select:focus{ border-color:#FF5B3C; }
  .cmp-slider{ -webkit-appearance:none; appearance:none; width:100%; height:7px; border-radius:100px; outline:none; cursor:pointer; background:#F4F0E6; }
  .cmp-slider::-webkit-slider-thumb{ -webkit-appearance:none; width:16px; height:16px; border-radius:50%; background:#fff; border:3px solid #FF5B3C; cursor:pointer; box-shadow:0 1px 3px rgba(21,14,46,0.25); }
  .cmp-slider::-moz-range-thumb{ width:16px; height:16px; border-radius:50%; background:#fff; border:3px solid #FF5B3C; cursor:pointer; box-shadow:0 1px 3px rgba(21,14,46,0.25); }
  .cmp-check{ appearance:none; -webkit-appearance:none; width:15px; height:15px; border-radius:4px; border:1.5px solid #D8CFAE; display:inline-block; position:relative; cursor:pointer; flex-shrink:0; background:#fff; }
  .cmp-check:checked{ background:#FF5B3C; border-color:#FF5B3C; }
  .cmp-check:checked::after{ content:''; position:absolute; left:4px; top:1px; width:4px; height:8px; border:solid #fff; border-width:0 2px 2px 0; transform:rotate(45deg); }
  .cmp-toggle-opt{ flex:1; text-align:center; border-radius:9px; padding:7px 0; font-size:12px; font-weight:700; cursor:pointer; transition:background .15s ease, color .15s ease; }
  .cmp-stepper-btn{ width:30px; height:30px; border-radius:9px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:15px; font-weight:700; cursor:pointer; user-select:none; transition:filter .15s ease; }
  .cmp-stepper-btn:hover{ filter:brightness(1.15); }
  .cmp-stage-pill{ border:1.5px solid #ECE7DA; background:#fff; color:#5C5748; border-radius:100px; padding:8px 14px; font-size:12px; font-weight:600; cursor:pointer; transition:all .15s; }
  .cmp-stage-pill.active{ background:#150E2E; color:#fff; border-color:#150E2E; }
  .state-toggle{ display:inline-flex; gap:4px; background:#150E2E; border-radius:100px; padding:5px; box-shadow:0 8px 24px rgba(21,14,46,0.25); }
  .state-toggle button{ padding:7px 16px; border-radius:100px; font-size:12px; font-weight:700; border:none; cursor:pointer; background:transparent; color:rgba(255,255,255,0.6); }
  .state-toggle button.active{ background:#FF5B3C; color:#fff; }
  .banner{ border-radius:12px; padding:11px 14px; font-size:12.5px; font-weight:600; }
  .banner-error{ background:#FFEEE8; color:#D6432F; }
  .banner-success{ background:#E6F4EA; color:#2E9E58; }

  /* ---- app shell layout ---- */
  .app-shell{ width:100%; min-height:100vh; display:flex; background:#FAF7F0; position:relative; }
  .app-sidebar{ width:272px; flex-shrink:0; background:linear-gradient(180deg,#180F33 0%,#120A24 100%); display:flex; flex-direction:column; padding:26px 16px; position:relative; z-index:2; }
  .app-main-col{ flex:1; min-width:0; display:flex; flex-direction:column; position:relative; overflow-x:clip; }
  .app-glow{ position:absolute; top:-120px; right:-140px; width:420px; height:420px; border-radius:50%; background:radial-gradient(circle, rgba(255,91,60,0.10) 0%, rgba(255,91,60,0) 70%); pointer-events:none; z-index:0; }
  .app-topbar{ height:74px; flex-shrink:0; background:rgba(255,255,255,0.9); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); box-shadow:0 1px 0 rgba(21,14,46,0.06); display:flex; align-items:center; justify-content:space-between; padding:0 36px; position:sticky; top:0; z-index:30; gap:16px; }
  .app-content{ flex:1; padding:30px 40px 40px 40px; display:flex; flex-direction:column; gap:22px; position:relative; z-index:1; }
  .app-footer{ background:#150E2E; padding:16px 40px; display:flex; align-items:center; justify-content:space-between; flex-shrink:0; position:relative; z-index:1; gap:12px; flex-wrap:wrap; }
  .hero{ background:linear-gradient(135deg,#1D1440 0%,#150E2E 100%); border-radius:24px; padding:32px 36px; position:relative; overflow:hidden; }
  .hero-emblem{ position:absolute; top:-50px; right:-40px; width:260px; height:260px; opacity:0.14; pointer-events:none; }
  .grid-3{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px; }
  .grid-4{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:12px; }
  .grid-5{ display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:12px; }
  .grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
  .grid-13{ display:grid; grid-template-columns:1.3fr 1fr; gap:14px; align-items:stretch; }
  .auth-split{ width:100%; min-height:100vh; display:flex; font-family:'Manrope',sans-serif; color:#150E2E; background:#F4F0E6; }
  .auth-left{ flex:1; min-width:0; background:linear-gradient(160deg,#1D1440 0%,#150E2E 60%); position:relative; overflow:hidden; display:flex; flex-direction:column; justify-content:center; padding:72px 56px; }
  .auth-right{ width:480px; flex-shrink:0; background:#ffffff; display:flex; flex-direction:column; justify-content:center; padding:60px 56px; position:relative; overflow:hidden; box-shadow:-1px 0 0 #ECE7DA; }
  /* ---- high-tech auth panel ---- */
  .auth-right-dark{ width:520px; flex-shrink:0; background:#0F0B2C; position:relative; overflow:hidden; display:flex; flex-direction:column; justify-content:center; padding:48px 44px; box-shadow:-1px 0 0 rgba(255,255,255,0.06); }
  .auth-right-dark::before{ content:""; position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1px); background-size:22px 22px; opacity:.5; pointer-events:none; }
  .auth-right-dark::after{ content:""; position:absolute; top:-140px; right:-120px; width:420px; height:420px; border-radius:50%; background:radial-gradient(circle, rgba(255,91,60,0.28) 0%, rgba(255,91,60,0) 65%); pointer-events:none; }
  .auth-orbit{ position:absolute; bottom:-160px; left:-120px; width:380px; height:380px; border-radius:50%; border:1px solid rgba(255,255,255,0.08); pointer-events:none; }
  .auth-orbit::after{ content:""; position:absolute; inset:50px; border-radius:50%; border:1px dashed rgba(255,148,120,0.25); }
  .glass-card{ position:relative; z-index:1; background:linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)); border:1px solid rgba(255,255,255,0.12); border-radius:22px; padding:28px 26px; backdrop-filter:blur(10px); box-shadow:0 30px 60px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08); }
  .glass-card::before{ content:""; position:absolute; top:0; left:24px; right:24px; height:1px; background:linear-gradient(90deg, transparent, rgba(255,148,120,0.8), transparent); }
  .dark-label{ font-size:12px; font-weight:700; letter-spacing:0.6px; text-transform:uppercase; color:rgba(255,255,255,0.45); margin-bottom:7px; display:block; }
  .dark-input{ width:100%; padding:13px 44px 13px 16px; border:1px solid rgba(255,255,255,0.12); border-radius:12px; background:rgba(255,255,255,0.05); color:#fff; font-size:14px; outline:none; transition:border-color .15s, box-shadow .15s; }
  .dark-input::placeholder{ color:rgba(255,255,255,0.3); }
  .dark-input:focus{ border-color:#FF5B3C; box-shadow:0 0 0 3px rgba(255,91,60,0.18); }
  .input-wrap{ position:relative; }
  .input-wrap svg{ position:absolute; right:14px; top:50%; transform:translateY(-50%); pointer-events:none; }
  .btn-glow{ width:100%; border:none; border-radius:100px; padding:15px 0; font-size:14.5px; font-weight:700; color:#fff; cursor:pointer; background:linear-gradient(90deg,#FF5B3C,#FF7A54); box-shadow:0 12px 30px rgba(255,91,60,0.38), inset 0 1px 0 rgba(255,255,255,0.25); transition:transform .12s, box-shadow .15s; display:flex; align-items:center; justify-content:center; gap:8px; }
  .btn-glow:hover{ transform:translateY(-1px); box-shadow:0 16px 36px rgba(255,91,60,0.48); }
  .btn-ghost{ width:100%; border:1px solid rgba(255,255,255,0.14); border-radius:100px; padding:12px 0; font-size:13px; font-weight:600; color:#fff; background:rgba(255,255,255,0.04); cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; transition:background .15s; }
  .btn-ghost:hover{ background:rgba(255,255,255,0.09); }
  .tech-chip{ display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:600; color:rgba(255,255,255,0.7); background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:100px; padding:6px 11px; }
  .tech-chip .dot{ width:6px; height:6px; border-radius:50%; background:#7ED9A0; box-shadow:0 0 0 3px rgba(126,217,160,0.18); }
  .phone-mini{ width:54px; height:100px; border-radius:12px; background:#1D1440; border:2px solid rgba(255,255,255,0.18); padding:8px 6px; display:flex; flex-direction:column; gap:4px; flex-shrink:0; box-shadow:0 12px 26px rgba(0,0,0,0.4); }
  .phone-mini i{ display:block; border-radius:4px; background:rgba(255,255,255,0.12); height:8px; }
  .phone-mini i.hot{ background:#FF5B3C; }
  @media (prefers-reduced-motion: no-preference){
    .pulse{ animation:pulse 2.2s ease-in-out infinite; }
    @keyframes pulse{ 0%,100%{ box-shadow:0 0 0 3px rgba(126,217,160,0.18);} 50%{ box-shadow:0 0 0 6px rgba(126,217,160,0.05);} }
  }
  @media (max-width: 980px){ .auth-right-dark{ width:100%; padding:32px 20px; } }

  /* ---- sign-in left panel v2 ---- */
  .auth-left-v2{ background:#0B0719; }
  .aurora{ position:absolute; border-radius:50%; filter:blur(70px); opacity:.75; pointer-events:none; }
  .aurora-1{ width:560px; height:560px; top:-200px; left:-160px; background:radial-gradient(circle, #3A2E66 0%, rgba(58,46,102,0) 70%); }
  .aurora-2{ width:520px; height:520px; top:20%; right:-180px; background:radial-gradient(circle, rgba(255,91,60,0.55) 0%, rgba(255,91,60,0) 70%); }
  .aurora-3{ width:460px; height:460px; bottom:-220px; left:30%; background:radial-gradient(circle, rgba(126,217,160,0.28) 0%, rgba(126,217,160,0) 70%); }
  .grid-floor{ position:absolute; left:-20%; right:-20%; bottom:-40px; height:320px; background-image:linear-gradient(rgba(255,255,255,0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.09) 1px, transparent 1px); background-size:64px 64px; transform:perspective(600px) rotateX(64deg); transform-origin:bottom; -webkit-mask-image:linear-gradient(to top, rgba(0,0,0,.9), transparent); mask-image:linear-gradient(to top, rgba(0,0,0,.9), transparent); pointer-events:none; }
  .grad-text{ background:linear-gradient(90deg,#FF5B3C,#FFB199); -webkit-background-clip:text; background-clip:text; color:transparent; }
  .num-strip{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:14px; }
  .num-strip .n{ font-size:26px; font-weight:800; color:#fff; letter-spacing:-0.5px; line-height:1; }
  .num-strip .l{ font-size:12px; color:rgba(255,255,255,0.5); margin-top:6px; line-height:1.4; }
  .float-stack{ position:relative; height:300px; margin-top:8px; }
  .float-card{ position:absolute; background:#fff; border-radius:14px; box-shadow:0 30px 60px rgba(0,0,0,0.45); transition:transform .25s ease-out; will-change:transform; }
  .avatar-row{ display:flex; }
  .avatar-row span{ width:26px; height:26px; border-radius:50%; border:2px solid #0B0719; margin-left:-8px; display:flex; align-items:center; justify-content:center; font-size:11.5px; font-weight:700; color:#fff; }
  .avatar-row span:first-child{ margin-left:0; }
  @media (prefers-reduced-motion: no-preference){
    .aurora{ animation:drift 14s ease-in-out infinite alternate; }
    .aurora-2{ animation-duration:18s; } .aurora-3{ animation-duration:22s; }
    @keyframes drift{ from{ transform:translate3d(0,0,0) scale(1);} to{ transform:translate3d(40px,-30px,0) scale(1.08);} }
  }
  /* ---- notifications dropdown ---- */
  .bell-wrap{ position:relative; }
  .bell-btn{ width:38px; height:38px; border-radius:12px; background:#F4F0E6; display:flex; align-items:center; justify-content:center; position:relative; flex-shrink:0; border:none; cursor:pointer; }
  .bell-count{ position:absolute; top:-5px; right:-5px; min-width:18px; height:18px; border-radius:100px; background:#FF5B3C; color:#fff; font-size:11.5px; font-weight:700; display:flex; align-items:center; justify-content:center; padding:0 5px; border:2px solid #fff; }
  .bell-panel{ position:absolute; right:0; top:48px; width:360px; max-width:calc(100vw - 24px); background:#fff; border-radius:18px; box-shadow:0 24px 60px rgba(21,14,46,0.18); border:1px solid #ECE7DA; z-index:50; overflow:hidden; }
  .bell-head{ display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-bottom:1px solid #F4F0E6; font-size:13px; font-weight:700; }
  .bell-item{ display:flex; gap:12px; padding:12px 16px; border-bottom:1px solid #F8F5EB; cursor:pointer; text-align:left; width:100%; background:none; border-left:none; border-right:none; border-top:none; }
  .bell-item:hover{ background:#FBF8F2; }
  .bell-item.unread{ background:#FFF6EE; }
  .bell-dot{ width:8px; height:8px; border-radius:50%; margin-top:6px; flex-shrink:0; }

  .est-layout{ display:flex; gap:20px; align-items:flex-start; }
  .est-inputs{ width:340px; flex-shrink:0; background:#ffffff; border-radius:22px; padding:26px 24px; display:flex; flex-direction:column; gap:16px; }
  .est-outputs{ flex:1; min-width:0; display:flex; flex-direction:column; gap:18px; }
  .row-2{ display:flex; gap:12px; }
  .row-2 > *{ flex:1; min-width:0; }
  .cards-3{ display:flex; gap:14px; }
  .cards-3 > *{ flex:1; min-width:0; }
  .kv{ display:flex; justify-content:space-between; gap:12px; }
  .kv + .kv{ margin-top:9px; }
  .kv-total{ padding-top:9px; border-top:1px solid #F4F0E6; margin-top:9px; font-weight:700; }

  /* suburb intelligence + lead lock */
  .sub-table-wrap{ overflow-x:auto; }
  .sub-table{ width:100%; border-collapse:collapse; font-size:12.5px; color:#150E2E; }
  .sub-table th{ text-align:left; font-size:11.5px; font-weight:700; color:#B5AFA0; text-transform:uppercase; letter-spacing:0.4px; padding:10px 14px; border-bottom:1px solid #F4F0E6; white-space:nowrap; }
  .sub-table th:first-child, .sub-table td:first-child{ padding-left:22px; }
  .sub-table th:last-child, .sub-table td:last-child{ padding-right:22px; }
  .sub-table td{ padding:11px 14px; border-bottom:1px solid #F8F5EE; vertical-align:middle; }
  .sub-table th.num, .sub-table td.num{ text-align:right; }
  .sub-table tr[data-sub]{ cursor:pointer; transition:background .12s; }
  .sub-table tr[data-sub]:hover{ background:#FAF7F0; }
  .sub-table tr.sub-sel td{ background:#FFF1EC; }
  .sub-table tr.sub-blur td{ filter:blur(5px); user-select:none; pointer-events:none; opacity:0.7; }
  .pillar-grid{ display:grid; grid-template-columns:repeat(6, minmax(0,1fr)); gap:10px; }
  .sub-layout{ display:grid; grid-template-columns:minmax(0,1.6fr) 320px; gap:18px; align-items:start; }
  .lead-lock-toast{ position:fixed; left:50%; bottom:24px; transform:translate(-50%, 20px); display:flex; align-items:center; gap:10px; background:#150E2E; color:#fff; border-radius:16px; padding:12px 16px; font-size:12.5px; line-height:1.4; box-shadow:0 18px 44px rgba(21,14,46,0.35); opacity:0; pointer-events:none; transition:opacity .2s, transform .2s; z-index:300; max-width:min(560px, calc(100% - 32px)); }
  .lead-lock-toast.show{ opacity:1; transform:translate(-50%, 0); pointer-events:auto; }
  .nav-locked{ cursor:pointer; }
  .nav-locked:hover{ background:rgba(255,255,255,0.04); }
  @media (max-width: 980px){
    .sub-layout{ grid-template-columns:1fr; }
    .pillar-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); }
    .app-sidebar{ display:none; }
    .app-topbar{ padding:0 18px; }
    .app-content{ padding:22px 18px 30px; }
    .grid-3, .grid-4, .grid-5{ grid-template-columns:repeat(2, minmax(0,1fr)); }
    .grid-13, .grid-2{ grid-template-columns:1fr; }
    .auth-split{ flex-direction:column; }
    .auth-left{ padding:40px 22px; }
    .auth-right{ width:100%; padding:36px 22px; }
    .est-layout{ flex-direction:column; }
    .est-inputs{ width:100%; }
    .cards-3{ flex-direction:column; }
    .topbar-search{ display:none; }
    .prop-card{ grid-template-columns:1fr !important; }
  }
  @media (max-width: 520px){
    .row-2{ flex-direction:column; }
  }

  /* ---- portal shell pieces (WordPress build) ---- */
  .sb-brand{ display:flex; align-items:center; gap:10px; padding:2px 8px 22px 8px; margin-bottom:18px; border-bottom:1px solid rgba(255,255,255,0.08); }
  .sb-brand-emblem{ width:34px; height:34px; border-radius:10px; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; flex-shrink:0; padding:6px; }
  .sb-brand-emblem img{ width:100%; height:100%; object-fit:contain; }
  .sb-user{ display:flex; align-items:center; gap:12px; background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.06); border-radius:16px; padding:12px; margin-bottom:22px; }
  .sb-avatar{ width:42px; height:42px; border-radius:50%; background:#231A45; border:2px solid #FF5B3C; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .sb-menu-label{ color:rgba(255,255,255,0.32); font-size:11.5px; font-weight:700; letter-spacing:1px; text-transform:uppercase; padding:0 10px; margin-bottom:8px; }
  .sb-nav{ display:flex; flex-direction:column; gap:3px; flex:1; }
  .cmp-nav-item{ display:flex; align-items:center; gap:12px; padding:9px 12px; border-radius:14px; text-decoration:none; color:inherit; font-family:inherit; }
  .cmp-nav-item.active{ padding-left:9px; background:rgba(255,91,60,0.14); }
  .cmp-nav-item .nav-bar{ width:3px; height:20px; border-radius:100px; background:#FF5B3C; flex-shrink:0; }
  .nav-icon{ width:32px; height:32px; border-radius:10px; background:rgba(255,255,255,0.06); display:flex; align-items:center; justify-content:center; flex-shrink:0; color:rgba(255,255,255,0.6); }
  .nav-icon.on{ background:linear-gradient(135deg,#FF6B45,#D6432F); color:#fff; }
  .nav-icon.locked{ background:rgba(255,255,255,0.03); color:rgba(255,255,255,0.28); }
  .nav-label{ color:rgba(255,255,255,0.68); font-size:13.5px; font-weight:500; }
  .nav-label.on{ color:#fff; font-weight:600; }
  .nav-label.locked{ color:rgba(255,255,255,0.32); font-size:13px; }
  .nav-tag{ margin-left:auto; background:#FF5B3C; color:#fff; font-size:11.5px; font-weight:700; padding:3px 7px; border-radius:100px; }
  .nav-badge{ margin-left:auto; background:#FF5B3C; color:#fff; font-size:12px; font-weight:700; width:18px; height:18px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
  .sb-unlock{ margin-top:14px; background:linear-gradient(135deg, rgba(255,91,60,0.22), rgba(255,91,60,0.06)); border:1px solid rgba(255,91,60,0.3); border-radius:16px; padding:14px; }
  .sb-foot{ border-top:1px solid rgba(255,255,255,0.08); padding-top:14px; margin-top:10px; }
  .menu-btn{ display:none; width:38px; height:38px; border-radius:12px; border:none; background:#F4F0E6; flex-direction:column; align-items:center; justify-content:center; gap:4px; cursor:pointer; flex-shrink:0; }
  .menu-btn span{ display:block; width:16px; height:2px; background:#150E2E; border-radius:2px; }
  .sb-backdrop{ display:none; position:fixed; inset:0; background:rgba(21,14,46,0.5); z-index:40; }
  .viewas-pill{ background:#FFF3E2; color:#C7862B; font-size:12px; font-weight:700; padding:7px 12px; border-radius:100px; white-space:nowrap; }
  .user-chip{ display:flex; align-items:center; gap:8px; border:1px solid #ECE7DA; border-radius:100px; padding:5px 12px 5px 5px; background:#ffffff; cursor:pointer; font-family:inherit; }
  .user-chip:hover{ border-color:#150E2E; }
  .user-chip-avatar{ width:30px; height:30px; border-radius:50%; background:#150E2E; display:flex; align-items:center; justify-content:center; }
  .bell-panel[hidden]{ display:none; }
  .bell-item{ text-decoration:none; }
  .hero-chip{ background:rgba(255,91,60,0.16); color:#FF9478; font-size:12px; font-weight:700; padding:4px 10px; border-radius:100px; letter-spacing:0.3px; text-transform:uppercase; display:inline-flex; align-items:center; }
  .hero-stat{ background:rgba(255,255,255,0.08); border-radius:16px; padding:14px 20px; text-align:center; }
  .hero-stat-l{ color:rgba(255,255,255,0.5); font-size:11.5px; font-weight:600; letter-spacing:0.5px; text-transform:uppercase; margin-top:4px; }
  .client-access-pill{ position:absolute; top:18px; right:22px; z-index:1; display:inline-flex; align-items:center; gap:6px; background:rgba(46,158,88,0.18); color:#7ED9A0; font-size:11.5px; font-weight:700; letter-spacing:0.5px; text-transform:uppercase; padding:5px 10px; border-radius:100px; }
  .journey{ display:flex; align-items:flex-start; margin-top:30px; position:relative; }
  .journey-step{ flex:1; display:flex; flex-direction:column; align-items:center; position:relative; }
  .journey-line{ width:100%; height:2px; position:absolute; top:11px; left:-50%; z-index:0; }
  .journey-dot{ width:24px; height:24px; border-radius:50%; border:2px solid; display:flex; align-items:center; justify-content:center; position:relative; z-index:1; flex-shrink:0; }
  .journey-label{ font-size:11.5px; font-weight:600; margin-top:8px; text-align:center; line-height:1.3; }
  .notice-box{ background:#FFF9EF; border:1px solid #F3E3C6; border-radius:18px; padding:20px 24px; display:flex; align-items:flex-start; gap:14px; }
  .notice-box svg{ flex-shrink:0; margin-top:1px; }
  .welcome-strip{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; background:#150E2E; border-radius:16px; padding:18px 24px; }
  .card{ background:#fff; border-radius:18px; padding:22px 24px; }
  .tile{ background:#fff; border-radius:16px; padding:16px 18px; }
  .tile-label, .kv-label{ font-size:11.5px; font-weight:700; color:#B5AFA0; text-transform:uppercase; letter-spacing:0.3px; }
  .kv-label{ text-transform:none; font-size:12px; font-weight:600; }
  .cmp-quick-card{ background:#fff; border:none; border-radius:16px; padding:20px 22px; display:flex; align-items:center; gap:14px; text-align:left; cursor:pointer; text-decoration:none; color:inherit; }
  .qa-icon{ width:38px; height:38px; border-radius:11px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .cmp-btn-primary, .cmp-btn-outline{ display:inline-flex; align-items:center; justify-content:center; gap:7px; border-radius:100px; padding:11px 22px; font-size:12.5px; font-weight:600; white-space:nowrap; text-decoration:none; border:none; font-family:inherit; line-height:1.2; }
  .btn-orange{ background:#FF5B3C; color:#fff; box-shadow:0 8px 18px rgba(255,91,60,0.28); }
  .btn-navy{ background:#150E2E; color:#fff; }
  .btn-tan{ background:#F4F0E6; color:#150E2E; box-shadow:none; }
  .btn-green{ background:#2E9E58; color:#fff; box-shadow:0 10px 24px rgba(46,158,88,0.3); }
  .btn-outline{ background:#fff; color:#150E2E; border:1px solid #ECE7DA; padding:10px 18px; }
  .cmp-btn-primary.done{ background:#E6F4EA; color:#2E9E58; box-shadow:none; cursor:default; }
  .cmp-btn-primary:disabled{ opacity:.9; cursor:default; transform:none; }
  .filter-row{ display:flex; gap:8px; flex-wrap:wrap; }
  .cmp-filter-pill{ background:#fff; color:#150E2E; border:1px solid #ECE7DA; font-size:12px; font-weight:600; padding:9px 16px; border-radius:100px; white-space:nowrap; font-family:inherit; }
  .cmp-filter-pill.active{ background:#150E2E; color:#fff; border-color:#150E2E; box-shadow:0 8px 18px rgba(21,14,46,0.2); }
  .upgrade-bar{ display:flex; align-items:center; gap:16px; background:#150E2E; border-radius:18px; padding:18px 22px; flex-wrap:wrap; }
  .upgrade-icon{ width:44px; height:44px; border-radius:12px; background:rgba(255,91,60,0.18); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .toast{ display:flex; align-items:center; gap:10px; background:#150E2E; color:#fff; border-radius:14px; padding:12px 16px; font-size:12.5px; font-weight:600; }
  .toast[hidden]{ display:none; }
  .toast-dot{ width:8px; height:8px; border-radius:50%; background:#7ED9A0; flex-shrink:0; }
  .toast.err .toast-dot{ background:#FF9478; }
  .listing{ background:#ffffff; border-radius:20px; overflow:hidden; display:flex; flex-direction:column; }
  .listing.hide{ display:none; }
  .pill{ display:inline-block; font-size:12px; font-weight:700; padding:6px 13px; border-radius:100px; white-space:nowrap; }
  .listing .pill{ font-size:11.5px; padding:4px 10px; }
  .pill-grey{ background:#F4F0E6; color:#8A836F; }
  .pill-amber{ background:#FFF3E2; color:#C7862B; }
  .pill-red{ background:#FFEEE8; color:#D6432F; }
  .pill-green{ background:#E6F4EA; color:#2E9E58; }
  .check-chip{ display:inline-flex; align-items:center; gap:4px; font-size:11.5px; font-weight:600; color:#B5AFA0; background:#F4F0E6; border-radius:100px; padding:3px 8px; }
  .check-chip.ok{ color:#2E9E58; background:#E6F4EA; }
  .row-icon{ width:50px; height:50px; border-radius:14px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .onb-row, .doc-row{ background:#ffffff; border-radius:18px; padding:20px 24px; display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
  .kind-tag{ font-size:11.5px; font-weight:700; letter-spacing:0.5px; color:#8A836F; background:#F4F0E6; border-radius:100px; padding:3px 8px; }
  .stat{ background:#ffffff; border-radius:18px; padding:22px 24px; display:flex; align-items:center; gap:16px; }
  .stat-icon{ width:46px; height:46px; border-radius:13px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .stat-l{ color:#B5AFA0; font-size:12px; font-weight:600; }
  .stat-n{ font-size:25px; font-weight:700; margin-top:3px; }
  .suburb{ background:#ffffff; border-radius:20px; padding:24px; display:flex; flex-direction:column; gap:16px; }
  .rank-btn{ width:34px; height:34px; border-radius:10px; background:#ffffff; border:1px solid #ECE7DA; display:flex; align-items:center; justify-content:center; cursor:pointer; }
  .rank-btn:disabled{ opacity:0.35; cursor:default; }
  .glass-emblem{ width:48px; height:48px; border-radius:14px; background:linear-gradient(135deg,#FF6B45,#D6432F); display:flex; align-items:center; justify-content:center; padding:9px; box-shadow:0 10px 24px rgba(255,91,60,0.35); flex-shrink:0; }
  .glass-emblem img{ width:100%; height:100%; object-fit:contain; filter:brightness(0) invert(1); }
  .mini-pill{ font-size:11.5px; font-weight:600; letter-spacing:0.5px; color:rgba(255,255,255,0.5); background:rgba(255,255,255,0.06); border-radius:100px; padding:3px 8px; }
  .mini-pill.hot{ color:#FF9478; background:rgba(255,91,60,0.15); font-weight:700; }
  .chip-row{ display:flex; gap:6px; margin-bottom:12px; flex-wrap:wrap; }
  .om-chip{ cursor:pointer; user-select:none; }
  .om-chip input{ position:absolute; opacity:0; width:0; height:0; }
  .om-chip.active{ background:rgba(255,91,60,0.18); border-color:rgba(255,91,60,0.5); color:#fff; }
  .check-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; max-width:520px; }
  .check-tile{ display:flex; align-items:center; gap:10px; background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.09); border-radius:14px; padding:12px 14px; font-size:12px; color:#fff; font-weight:600; }
  .check-tile-icon{ width:28px; height:28px; border-radius:8px; background:rgba(126,217,160,0.15); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .dark-input{ font-family:inherit; }
  select.dark-input option{ color:#150E2E; }
  .banner-success svg{ flex-shrink:0; }
  @media (max-width: 980px){
    .menu-btn{ display:flex; }
    .app-sidebar{ display:flex; position:fixed; top:0; left:0; bottom:0; width:272px; z-index:50; transform:translateX(-100%); transition:transform .2s ease; overflow-y:auto; }
    .app-sidebar.open{ transform:translateX(0); }
    .sb-backdrop.show{ display:block; }
    .viewas-pill{ display:none; }
    .onb-goals{ grid-template-columns:1fr !important; }
    .check-grid{ grid-template-columns:1fr; }
  }
  @media print{
    .app-sidebar, .app-topbar, .app-footer, .bell-wrap, .menu-btn{ display:none !important; }
    .app-content{ padding:0; }
    body.cp-body{ background:#fff; }
  }

  /* ---- stage 2: my property, resources, suburb intelligence ---- */
  .prop-card{ background:#ffffff; border-radius:22px; overflow:hidden; display:grid; grid-template-columns:340px minmax(0,1fr); }
  .prop-art.has-photo{ background:#EDE7D8; }
  .prop-art .prop-photo{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
  .prop-art{ min-height:240px; background:linear-gradient(160deg,#8ED1E8 0%,#C7E8D8 55%,#F4E4B8 100%); position:relative; display:flex; align-items:flex-end; justify-content:center; overflow:hidden; }
  .prop-stats{ display:grid; grid-template-columns:repeat(auto-fit, minmax(130px, 1fr)); gap:14px 18px; border-top:1px solid #F4F0E6; border-bottom:1px solid #F4F0E6; padding:18px 0; }
  .contact-chip{ display:inline-flex; align-items:center; gap:6px; background:#F4F0E6; border-radius:100px; padding:8px 14px; font-size:12px; font-weight:600; color:#150E2E; text-decoration:none; }
  .score-pill{ display:inline-block; min-width:40px; text-align:center; color:#fff; font-size:12px; font-weight:800; padding:4px 9px; border-radius:100px; }
  .res-card{ background:#ffffff; border-radius:20px; overflow:hidden; cursor:pointer; }
  .res-card.hide{ display:none; }
  .watched-badge{ position:absolute; top:10px; left:10px; background:#2E9E58; color:#fff; font-size:11.5px; font-weight:700; padding:4px 9px; border-radius:100px; display:flex; align-items:center; gap:4px; }
  .res-modal{ position:fixed; inset:0; background:rgba(11,7,25,0.82); z-index:400; display:flex; align-items:center; justify-content:center; padding:20px; }
  .res-modal[hidden]{ display:none; }
  .res-modal-box{ width:min(960px, 100%); background:#0F0B2C; border-radius:18px; overflow:hidden; box-shadow:0 30px 80px rgba(0,0,0,0.5); }
  .res-modal-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px; }
  .res-close{ border:none; background:rgba(255,255,255,0.08); color:#fff; width:32px; height:32px; border-radius:50%; font-size:20px; cursor:pointer; line-height:1; }
  .res-frame{ position:relative; padding-top:56.25%; background:#000; }
  .res-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
  .sub-detail-bar{ height:7px; background:#F4F0E6; border-radius:100px; overflow:hidden; }
  @media (max-width: 980px){ .prop-card{ grid-template-columns:1fr; } }

  /* ================= 0.3.0: easier to use, phone first ================= */
  .cp-body :focus-visible{ outline:2px solid #FF5B3C; outline-offset:2px; }
  .cp-body h1, .cp-body h2{ font-family:inherit; }
  .hero-title{ color:#ffffff; font-weight:700; font-size:26px; line-height:1.2; margin:0; letter-spacing:-0.2px; }
  .hero-sub{ color:rgba(255,255,255,0.7); font-size:14px; line-height:1.65; }
  .hero-stats{ display:flex; gap:10px; }
  .journey-now{ display:none; }
  .topbar-kicker{ font-size:12px; font-weight:700; letter-spacing:0.6px; text-transform:uppercase; color:#8A836F; }
  .topbar-title{ font-size:15px; font-weight:700; color:#150E2E; margin-top:1px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .topbar-right{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
  .card-h{ font-size:14px; font-weight:700; margin:0 0 14px; color:#150E2E; }
  .card-lg{ padding:28px 30px; }
  .prop-body{ min-width:0; padding:28px 32px; display:flex; flex-direction:column; gap:18px; }
  .card-actions, .row-actions{ display:flex; gap:8px; flex-wrap:wrap; }
  .card-actions{ margin-top:auto; padding-top:4px; }

  /* dashboard: one clear next step */
  .next-card{ display:flex; align-items:center; gap:20px; background:#ffffff; border-radius:20px; padding:22px 26px 22px 30px; border:1px solid #FFD9CE; box-shadow:0 14px 34px rgba(255,91,60,0.10); position:relative; overflow:hidden; }
  .next-card::before{ content:""; position:absolute; left:0; top:0; bottom:0; width:6px; background:#FF5B3C; }
  .next-icon{ width:52px; height:52px; border-radius:16px; background:linear-gradient(135deg,#FF6B45,#D6432F); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .next-body{ flex:1; min-width:0; }
  .next-kicker{ font-size:12px; font-weight:700; letter-spacing:0.6px; text-transform:uppercase; color:#D6432F; }
  .next-title{ font-size:19px; font-weight:700; margin:3px 0 4px; line-height:1.3; color:#150E2E; }
  .next-text{ font-size:13.5px; color:#5C5748; margin:0; line-height:1.55; }
  .next-btn{ padding:14px 26px; font-size:14px; flex-shrink:0; }
  .next-card.is-clear{ border-color:#CFE9D8; box-shadow:none; }
  .next-card.is-clear::before, .next-card.is-clear .next-icon{ background:#2E9E58; }
  .next-card.is-clear .next-kicker{ color:#2E9E58; }
  .also-list{ background:#ffffff; border-radius:18px; padding:14px 16px; display:flex; flex-direction:column; gap:4px; }
  .also-head{ font-size:12px; font-weight:700; color:#8A836F; text-transform:uppercase; letter-spacing:0.5px; padding:2px 8px 4px; }
  .also-row{ display:flex; align-items:center; gap:12px; padding:9px 10px; border-radius:12px; color:#150E2E; font-size:13.5px; font-weight:600; text-decoration:none; min-height:50px; transition:background .15s; line-height:1.35; }
  .also-row:hover{ background:#FAF7F0; color:#150E2E; }
  .also-row strong{ font-weight:700; }
  .also-ico{ width:36px; height:36px; border-radius:10px; background:#F4F0E6; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .also-sub{ font-size:12px; font-weight:500; color:#8A836F; }
  .stat-link, .stat-link:hover{ text-decoration:none; color:inherit; }
  .stat-u{ font-size:13px; font-weight:600; color:#8A836F; }
  .stat-s{ font-size:12px; color:#8A836F; margin-top:2px; }
  .save-bar{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
  .save-hint{ font-size:12.5px; color:#8A836F; }

  /* off-market cards */
  .listing-top{ height:120px; position:relative; display:flex; align-items:flex-end; padding:14px 18px; overflow:hidden; }
  .listing-top.has-photo{ height:180px; }
  .cp-body .listing-photo{ position:absolute; inset:0; width:100%; height:100%; max-width:none; object-fit:cover; display:block; }
  .listing-shade{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(21,14,46,0.25) 0%, rgba(21,14,46,0) 38%, rgba(21,14,46,0.8) 100%); }
  .listing-top > div{ z-index:1; }

  /* account menu, notifications, search */
  .acct-wrap{ position:relative; }
  .user-chip-avatar{ flex-shrink:0; }
  .user-chip-name{ font-size:13px; font-weight:600; color:#150E2E; }
  .acct-panel{ position:absolute; right:0; top:48px; width:290px; max-width:calc(100vw - 24px); background:#ffffff; border-radius:16px; box-shadow:0 24px 60px rgba(21,14,46,0.18); border:1px solid #ECE7DA; z-index:50; overflow:hidden; }
  .acct-panel[hidden]{ display:none; }
  .acct-head{ padding:14px 16px; border-bottom:1px solid #F4F0E6; }
  .acct-row{ display:flex; align-items:center; gap:10px; padding:12px 16px; font-size:13px; color:#150E2E; text-decoration:none; min-height:48px; }
  .acct-row svg{ flex-shrink:0; }
  a.acct-row:hover{ background:#FAF7F0; color:#150E2E; }
  .bell-close{ border:none; background:#F4F0E6; width:34px; height:34px; border-radius:50%; font-size:20px; line-height:1; cursor:pointer; color:#150E2E; font-family:inherit; }
  .sb-close{ display:none; }
  .tabbar{ display:none; }
  .sheet-close{ display:none; }
  .sheet-backdrop{ display:none; }
  .m-only{ display:none; }
  .sub-search{ display:flex; align-items:center; gap:8px; background:#ffffff; border-radius:100px; padding:0 16px; width:320px; max-width:100%; border:1px solid #ECE7DA; min-height:44px; }
  .sub-search:focus-within{ border-color:#150E2E; }
  .sub-search input{ border:none; background:transparent; outline:none; font-size:14px; color:#150E2E; width:100%; font-family:inherit; min-height:42px; -webkit-appearance:none; appearance:none; }
  .sub-search input::-webkit-search-cancel-button{ -webkit-appearance:none; }

  /* desktop: the menu stays put while the page scrolls */
  @media (min-width: 981px){
    .app-sidebar{ position:sticky; top:0; height:100vh; overflow-y:auto; align-self:flex-start; scrollbar-width:thin; scrollbar-color:rgba(255,255,255,0.15) transparent; }
  }

  /* touch screens: no hover lift left stuck after a tap */
  @media (hover: none){
    .cmp-tile:hover, .cmp-quick-card:hover, .cmp-stat-tile:hover, .cmp-suburb-card:hover, .cmp-video-card:hover, .cmp-doc-row:hover, .cmp-member-row:hover, .cmp-btn-primary:hover:not(:disabled), .cmp-filter-pill:hover{ transform:none; box-shadow:none; }
    .btn-orange:hover{ box-shadow:0 8px 18px rgba(255,91,60,0.28) !important; }
  }

  /* ---------- tablets and phones: drawer menu + bottom tab bar ---------- */
  @media (max-width: 980px){
    .app-topbar{ height:60px; padding:0 max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left)); gap:10px; }
    .topbar-kicker{ display:none; }
    .topbar-title{ font-size:16px; margin-top:0; }
    .topbar-right{ gap:8px; }
    .menu-btn, .bell-btn{ width:44px; height:44px; border-radius:14px; }
    .user-chip{ padding:4px; min-width:44px; min-height:44px; justify-content:center; }
    .user-chip-name, .user-chip > svg{ display:none; }
    .user-chip-avatar{ width:34px; height:34px; }
    .bell-panel, .acct-panel{ position:fixed; left:12px; right:12px; top:68px; width:auto; max-width:none; max-height:calc(100vh - 170px); max-height:calc(100dvh - 170px); overflow-y:auto; -webkit-overflow-scrolling:touch; }
    .bell-item{ padding:14px 16px; }
    .app-content{ padding:16px 14px calc(100px + env(safe-area-inset-bottom)); gap:16px; }
    .app-footer{ padding:16px 14px calc(92px + env(safe-area-inset-bottom)); }
    .app-sidebar{ width:min(304px, 86vw); padding:18px 14px calc(18px + env(safe-area-inset-bottom)); z-index:60; overscroll-behavior:contain; }
    .sb-backdrop{ z-index:55; }
    .sb-brand{ padding-right:48px; }
    .sb-close{ display:flex; align-items:center; justify-content:center; position:absolute; top:14px; right:12px; width:44px; height:44px; border-radius:14px; border:none; background:rgba(255,255,255,0.08); color:#ffffff; font-size:24px; line-height:1; cursor:pointer; z-index:2; font-family:inherit; }
    .cmp-nav-item{ min-height:50px; }
    .nav-label{ font-size:14.5px; }
    .tabbar{ display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); position:fixed; left:0; right:0; bottom:0; z-index:40; background:rgba(255,255,255,0.97); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); border-top:1px solid #ECE7DA; padding:6px max(6px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left)); box-shadow:0 -8px 24px rgba(21,14,46,0.06); }
    .tab{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; min-height:54px; border:none; background:none; color:#8A836F; font-size:11.5px; font-weight:600; text-decoration:none; font-family:inherit; cursor:pointer; border-radius:12px; padding:4px 2px; -webkit-tap-highlight-color:transparent; white-space:nowrap; }
    .tab:hover{ color:#150E2E; }
    .tab.on{ color:#FF5B3C; }
    .tab.on .tab-ico::after{ content:""; position:absolute; left:50%; top:-9px; width:22px; height:3px; margin-left:-11px; border-radius:0 0 4px 4px; background:#FF5B3C; }
    .tab-ico{ position:relative; display:flex; }
    .tab-badge{ position:absolute; top:-6px; right:-11px; min-width:18px; height:18px; border-radius:100px; background:#FF5B3C; color:#ffffff; font-size:11px; font-weight:700; display:flex; align-items:center; justify-content:center; padding:0 4px; border:2px solid #ffffff; }
    .lead-lock-toast{ bottom:calc(84px + env(safe-area-inset-bottom)); }
    .res-close{ width:44px; height:44px; }
    .sub-search{ width:100%; }
    #subDetail{ display:none; }
    #subDetail.open{ display:block; position:fixed !important; left:0; right:0; bottom:0; top:auto !important; z-index:70; border-radius:22px 22px 0 0; max-height:84vh; max-height:84dvh; overflow-y:auto; -webkit-overflow-scrolling:touch; box-shadow:0 -20px 60px rgba(21,14,46,0.3); padding:20px 18px calc(22px + env(safe-area-inset-bottom)) !important; }
    .sheet-backdrop.show{ display:block; position:fixed; inset:0; background:rgba(21,14,46,0.5); z-index:65; }
    .sheet-close{ display:flex; align-items:center; justify-content:center; margin:-6px -4px 8px auto; width:44px; height:44px; border-radius:50%; border:none; background:#F4F0E6; font-size:22px; line-height:1; color:#150E2E; cursor:pointer; font-family:inherit; }
    .is-signin .auth-right-dark{ order:-1; }
    .auth-left{ padding:32px 20px 40px; }
    .float-stack{ display:none; }
    .dark-input, .cmp-input, .cmp-input-auth, .sub-search input{ font-size:16px; }
    .btn-glow{ min-height:52px; }
    .om-chip{ min-height:44px; padding:10px 14px; font-size:13px; }
  }

  /* ---------- phones ---------- */
  @media (max-width: 640px){
    .hero{ padding:20px 18px; border-radius:20px; }
    .hero > div{ gap:14px !important; }
    .hero-title{ font-size:22px; }
    .hero-sub{ font-size:13.5px; line-height:1.55; }
    .hero-emblem{ width:170px; height:170px; top:-40px; right:-44px; }
    .hero-ring, .client-access-pill{ display:none; }
    .hero-stats, .cp-screen-suburbs .pillar-grid{ display:none; }
    .journey{ margin-top:12px; }
    .journey-label{ display:none; }
    .journey-now{ display:block; color:rgba(255,255,255,0.7); font-size:13px; margin-top:16px; }
    .journey-now strong{ color:#ffffff; font-weight:700; }
    .grid-3, .grid-4, .grid-5{ grid-template-columns:minmax(0,1fr); }
    .stats-3{ grid-template-columns:repeat(3, minmax(0,1fr)); gap:8px; }
    .stats-3 .stat{ flex-direction:column; align-items:flex-start; gap:8px; padding:14px 12px; border-radius:16px; }
    .stats-3 .stat-icon{ width:32px; height:32px; border-radius:10px; }
    .stats-3 .stat-icon svg{ width:16px; height:16px; }
    .stats-3 .stat-n{ font-size:20px; margin-top:1px; line-height:1.2; }
    .stats-3 .stat-l{ font-size:11.5px; line-height:1.3; }
    .stats-3 .stat-u{ display:block; font-size:11.5px; line-height:1.3; }
    .stats-3 .stat-s{ display:none; }
    .stats-rows .stat{ padding:16px; }
    .pillar-grid{ grid-template-columns:1fr 1fr; gap:8px; }
    .pillar-grid .tile{ padding:12px 12px !important; }
    .pillar-grid .tile > div:last-child{ display:none; }
    .card{ padding:18px 16px; }
    .card-lg{ padding:20px 16px; }
    .prop-body{ padding:20px 16px; gap:16px; }
    .prop-art{ min-height:200px; }
    .next-card{ flex-direction:column; align-items:stretch; gap:14px; padding:20px 18px 18px 24px; }
    .next-icon{ width:44px; height:44px; border-radius:14px; }
    .next-title{ font-size:18px; }
    .next-btn{ width:100%; min-height:50px; }
    .cmp-btn-primary, .cmp-btn-outline{ min-height:46px; padding:12px 18px; font-size:13.5px; }
    .card-actions > *, .row-actions > *{ flex:1 1 140px; }
    .row-actions{ width:100%; }
    .cmp-filter-pill{ min-height:44px; padding:10px 16px !important; font-size:13px !important; flex-shrink:0; }
    .filter-row{ flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; margin:0 -14px; padding:2px 14px; max-width:none; }
    .filter-row::-webkit-scrollbar{ display:none; }
    .rank-btn{ width:46px; height:46px; border-radius:12px; }
    .onb-row, .doc-row{ padding:16px; gap:12px; align-items:flex-start; }
    .onb-row > div:nth-child(2), .doc-row > div:nth-child(2){ min-width:0 !important; flex:1 1 calc(100% - 60px); }
    .row-icon{ width:42px; height:42px; border-radius:12px; }
    .notice-box{ padding:16px; gap:10px; border-radius:16px; }
    .upgrade-bar{ padding:16px; }
    .upgrade-bar .cmp-btn-primary{ width:100%; }
    .suburb{ padding:18px 16px; }
    .save-bar{ position:sticky; bottom:calc(78px + env(safe-area-inset-bottom)); z-index:5; flex-direction:column; align-items:stretch; gap:6px; background:#ffffff; border-radius:18px; padding:10px; box-shadow:0 -4px 28px rgba(21,14,46,0.16); border:1px solid #ECE7DA; }
    .save-bar .cmp-btn-primary{ width:100%; padding:14px 18px !important; }
    .save-hint{ text-align:center; font-size:12px; }
    .contact-chip{ min-height:44px; }
    .sub-table{ font-size:13px; }
    .sub-table th, .sub-table td{ padding:11px 6px; }
    .sub-table th:first-child, .sub-table td:first-child{ padding-left:14px; }
    .sub-table th:last-child, .sub-table td:last-child{ padding-right:14px; }
    .sub-table th:nth-child(3), .sub-table td:nth-child(3), .sub-table th:nth-child(5), .sub-table td:nth-child(5), .sub-table th:nth-child(8), .sub-table td:nth-child(8){ display:none; }
    .m-only{ display:inline; }
    .auth-right-dark{ padding:26px 16px 30px; }
    .glass-card{ padding:22px 18px; }
    .auth-left h1{ font-size:28px !important; letter-spacing:-0.4px !important; }
    .is-lead .auth-left{ padding-bottom:6px; }
    .is-lead .auth-left .num-strip, .is-lead .auth-left .check-grid, .is-lead .auth-left .avatar-row{ display:none; }
    .is-lead .auth-left p{ font-size:14px !important; line-height:1.6 !important; }
    .num-strip .n{ font-size:22px; }
    .app-footer{ flex-direction:column; align-items:flex-start; }
    .res-modal{ padding:10px; }
  }
  @media (prefers-reduced-motion: reduce){
    .cp-body *, .cp-body *::before, .cp-body *::after{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
  }


  /* ================= 0.4.0: matches the citadelagency.com.au design system ================= */
  /* Tokens taken from the website: ink #F5F4FB, muted #B9B6D3, orange #F9582C, page #06041A, Manrope 800 headings. */
  body.cp-body{ --ink:#F5F4FB; --mu:#B9B6D3; --mu2:#8E8AAE; --o:#F9582C; --o2:#FF9B78; --pg:#06041A; font-family:'Manrope',ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif; }
  body.cp-new{ background:var(--pg); color:var(--ink); color-scheme:dark; }
  html:has(body.cp-new){ background:#06041A; }
  .cp-new ::selection{ background:rgba(249,88,44,0.45); color:#fff; }

  /* ---- shell: website-style sticky glass header, centred page ---- */
  .app-shell{ display:flex; flex-direction:column; min-height:100vh; min-height:100dvh; position:relative; background:#FAF7F0; overflow-x:clip; }
  .cp-new .app-shell{ background:var(--pg); }
  .app-bgfx{ display:none; }
  .cp-new .app-bgfx{ display:block; position:absolute; inset:0; pointer-events:none; z-index:0; overflow:hidden; background:radial-gradient(700px 700px at 0% 0%, rgba(249,88,44,0.30), transparent 65%), radial-gradient(800px 800px at 100% 6%, rgba(91,61,245,0.36), transparent 65%), radial-gradient(700px 700px at 45% 70%, rgba(43,167,255,0.08), transparent 65%); }
  .cp-new .app-bgfx::after{ content:""; position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px); background-size:3px 3px; }
  .app-topbar{ position:sticky; top:0; z-index:30; display:block; height:auto; padding:0; background:rgba(8,6,30,0.78); -webkit-backdrop-filter:blur(20px) saturate(160%); backdrop-filter:blur(20px) saturate(160%); border-bottom:1px solid rgba(255,255,255,0.08); box-shadow:none; color:#E9E7F5; }
  .cp-legacy .app-topbar{ background:rgba(8,6,30,0.96); }
  .tb-in{ max-width:1240px; margin:0 auto; padding:0 24px; height:72px; display:flex; align-items:center; gap:22px; }
  .tb-brand{ display:flex; align-items:center; gap:11px; color:#fff; flex-shrink:0; text-decoration:none; min-height:44px; }
  .tb-brand:hover{ color:#fff; }
  .cp-body .tb-brand img{ width:30px; height:30px; object-fit:contain; filter:brightness(0) invert(1); }
  .tb-word{ display:flex; flex-direction:column; gap:3px; line-height:1; }
  .tb-word b{ font-size:13px; font-weight:800; letter-spacing:0.24em; color:#fff; }
  .tb-word i{ font-style:normal; font-size:11.5px; font-weight:700; letter-spacing:0.2em; text-transform:uppercase; color:var(--mu); }
  .tb-nav{ flex:1; min-width:0; display:flex; align-items:center; gap:4px; margin-left:14px; overflow-x:auto; scrollbar-width:none; }
  .tb-nav::-webkit-scrollbar{ display:none; }
  .tb-link{ display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:999px; font-size:14px; font-weight:600; color:#E9E7F5; white-space:nowrap; text-decoration:none; transition:background .2s, color .2s; }
  .tb-link:hover{ background:rgba(255,255,255,0.08); color:#fff; }
  .tb-link.on{ color:var(--o2); background:rgba(255,255,255,0.06); }
  .nav-count{ min-width:19px; height:19px; border-radius:999px; background:var(--o); color:#fff; font-size:11.5px; font-weight:800; display:inline-flex; align-items:center; justify-content:center; padding:0 5px; }
  .topbar-right{ display:flex; align-items:center; gap:10px; flex-shrink:0; margin-left:auto; }
  .bell-btn{ width:42px; height:42px; border-radius:999px; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.12); color:#E9E7F5; }
  .bell-btn:hover{ background:rgba(255,255,255,0.1); color:#fff; }
  .bell-count{ border-color:#0B0922; background:var(--o); font-weight:800; }
  .user-chip{ border:1px solid rgba(255,255,255,0.12); background:rgba(255,255,255,0.06); color:#E9E7F5; padding:5px 12px 5px 5px; min-height:42px; }
  .user-chip:hover{ border-color:rgba(255,255,255,0.26); }
  .user-chip-avatar{ width:30px; height:30px; border-radius:50%; background:linear-gradient(180deg,#FF7448,#F9582C); color:#fff; font-size:13px; font-weight:800; display:flex; align-items:center; justify-content:center; }
  .user-chip-name{ color:#fff; font-size:13.5px; font-weight:700; }
  .viewas-pill{ background:rgba(249,88,44,0.16); color:var(--o2); border:1px solid rgba(249,88,44,0.35); }
  .menu-btn{ background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.12); border-radius:999px; }
  .menu-btn span{ background:#fff; }
  .tb-preview{ border-top:1px solid rgba(255,255,255,0.06); background:rgba(249,88,44,0.10); font-size:12.5px; color:var(--mu); }
  .tb-preview .tb-in{ height:40px; gap:16px; overflow-x:auto; white-space:nowrap; scrollbar-width:none; }
  .tb-preview-l{ display:inline-flex; align-items:center; gap:6px; font-weight:700; color:var(--o2); }
  .tb-preview a{ color:#E9E7F5; font-weight:600; text-decoration:none; }
  .tb-preview a:hover, .tb-preview a.on{ color:var(--o2); }
  .tb-preview .tb-preview-set{ margin-left:auto; color:var(--o2); font-weight:700; }

  /* pop-overs (notifications, account) */
  .pop{ background:#110E2C; border:1px solid rgba(255,255,255,0.14); border-radius:20px; box-shadow:0 30px 80px rgba(0,0,0,0.6); color:#E9E7F5; top:54px; }
  .pop .bell-head{ border-bottom:1px solid rgba(255,255,255,0.08); color:#fff; font-size:14px; font-weight:800; }
  .pop .bell-close{ background:rgba(255,255,255,0.08); color:#fff; }
  .pop .bell-item{ border-bottom:1px solid rgba(255,255,255,0.06); }
  .pop .bell-item:hover{ background:rgba(255,255,255,0.05); }
  .pop .bell-item.unread{ background:rgba(249,88,44,0.10); }
  .bell-body{ flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
  .bell-t{ font-size:13.5px; font-weight:700; color:#fff; line-height:1.35; }
  .bell-s{ font-size:12.5px; color:var(--mu); line-height:1.5; }
  .bell-ts{ font-size:12px; color:var(--mu2); }
  .pop-empty, .pop-foot{ padding:14px 16px; font-size:12.5px; color:var(--mu2); line-height:1.5; }
  .pop .acct-head{ border-bottom:1px solid rgba(255,255,255,0.08); }
  .acct-name{ font-size:14px; font-weight:800; color:#fff; }
  .acct-mail{ font-size:12.5px; color:var(--mu); margin-top:2px; overflow-wrap:anywhere; }
  .pop .acct-row{ color:#E9E7F5; font-size:13.5px; font-weight:600; }
  .pop .acct-row svg{ color:var(--mu); }
  .pop a.acct-row:hover{ background:rgba(255,255,255,0.06); color:#fff; }
  .pop .acct-out{ border-top:1px solid rgba(255,255,255,0.08); color:var(--o2); }
  .pop .acct-out svg{ color:var(--o2); }

  /* drawer: only used on phones when there are more than four pages */
  .app-sidebar{ display:flex; position:fixed; top:0; left:0; bottom:0; height:auto; width:min(304px, 86vw); z-index:60; transform:translateX(-100%); transition:transform .2s ease; overflow-y:auto; padding:18px 14px calc(18px + env(safe-area-inset-bottom)); background:#0B0922; border-right:1px solid rgba(255,255,255,0.08); overscroll-behavior:contain; }
  .app-sidebar.open{ transform:translateX(0); }
  .sb-backdrop{ z-index:55; }
  .sb-backdrop.show{ display:block; }
  .sb-close{ display:flex; align-items:center; justify-content:center; position:absolute; top:14px; right:12px; width:44px; height:44px; border-radius:999px; border:none; background:rgba(255,255,255,0.08); color:#fff; font-size:24px; line-height:1; cursor:pointer; z-index:2; font-family:inherit; }

  .app-content{ flex:1; width:100%; max-width:1240px; margin:0 auto; padding:28px 24px 56px; display:flex; flex-direction:column; gap:22px; position:relative; z-index:1; }
  .cp-new .app-content{ padding:52px 24px 80px; gap:24px; }
  .app-footer{ position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:22px max(24px, calc((100% - 1192px) / 2)); background:#08061E; font-size:12.5px; color:var(--mu2); }
  .app-footer a{ color:var(--mu); text-decoration:none; }
  .app-footer a:hover{ color:#fff; }
  .cp-new .app-footer{ background:transparent; border-top:1px solid rgba(255,255,255,0.08); }

  /* ---- website building blocks ---- */
  .eb{ display:block; font-size:12px; font-weight:800; letter-spacing:0.2em; color:var(--o2); text-transform:uppercase; }
  .grad{ background:linear-gradient(90deg,#FF8A5B,#F9582C 40%,#FFB38A); -webkit-background-clip:text; background-clip:text; color:transparent; }
  .glass{ background:linear-gradient(180deg,rgba(255,255,255,0.10),rgba(255,255,255,0.04)); -webkit-backdrop-filter:blur(18px) saturate(160%); backdrop-filter:blur(18px) saturate(160%); border:1px solid rgba(255,255,255,0.14); box-shadow:inset 0 1px 0 rgba(255,255,255,0.2), 0 20px 60px rgba(0,0,0,0.35); border-radius:24px; color:#fff; }
  .glass-hi{ background:linear-gradient(160deg,rgba(255,255,255,0.18),rgba(255,255,255,0.06)); -webkit-backdrop-filter:blur(22px) saturate(170%); backdrop-filter:blur(22px) saturate(170%); border:1px solid rgba(255,255,255,0.22); box-shadow:inset 0 1px 0 rgba(255,255,255,0.35), 0 30px 80px rgba(0,0,0,0.45); border-radius:24px; color:#fff; }
  .btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; background:linear-gradient(180deg,#FF7448,#F9582C); color:#fff; padding:15px 24px; border-radius:14px; font-weight:700; font-size:15px; line-height:1.2; box-shadow:0 10px 30px rgba(249,88,44,0.4), inset 0 1px 0 rgba(255,255,255,0.35); transition:transform .25s; border:0; cursor:pointer; white-space:nowrap; text-decoration:none; font-family:inherit; }
  .btn:hover{ transform:translateY(-2px); color:#fff; }
  .btn2{ display:inline-flex; align-items:center; justify-content:center; gap:8px; color:#fff; padding:13px 20px; border-radius:14px; font-weight:700; font-size:15px; line-height:1.2; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.16); transition:transform .25s, background .2s; text-decoration:none; white-space:nowrap; }
  .btn2:hover{ transform:translateY(-2px); background:rgba(255,255,255,0.1); color:#fff; }
  .ib{ flex:none; width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center; color:#fff; background:linear-gradient(160deg,rgba(249,88,44,0.6),rgba(249,88,44,0.18)); border:1px solid rgba(255,255,255,0.2); }
  .ib-lg{ width:52px; height:52px; border-radius:16px; }

  /* ---- page heading ---- */
  .pg-head{ display:flex; flex-direction:column; gap:12px; margin-bottom:10px; }
  .cp-body .pg-title{ font-size:52px; line-height:1; letter-spacing:-0.045em; font-weight:800; color:var(--ink); margin:0; text-wrap:balance; }
  .pg-sub{ font-size:17px; line-height:1.6; color:var(--mu); margin:0; max-width:660px; }

  /* ---- home: next step ---- */
  .next-card{ display:flex; align-items:center; gap:22px; padding:26px 30px; border-radius:24px; overflow:visible; }
  .next-card::before{ display:none; }
  .next-card .next-body{ flex:1; min-width:0; }
  .cp-body .next-title{ font-size:23px; font-weight:800; letter-spacing:-0.025em; line-height:1.2; color:#fff; margin:8px 0 6px; }
  .next-text{ font-size:15px; color:#D9D6EC; margin:0; line-height:1.55; }
  .next-also{ font-size:13px; color:var(--mu); margin-top:10px; line-height:1.6; }
  .next-also a{ color:var(--o2); font-weight:700; text-decoration:none; }
  .next-btn{ flex-shrink:0; padding:15px 24px; font-size:15px; }

  /* ---- home: the journey ---- */
  .jr{ padding:34px 36px 32px; }
  .jr-top{ display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:36px; align-items:end; }
  .cp-body .jr-stage{ font-size:38px; line-height:1.04; letter-spacing:-0.04em; font-weight:800; color:#fff; margin:12px 0 10px; }
  .jr-desc{ font-size:16.5px; line-height:1.55; color:#D9D6EC; margin:0; max-width:520px; }
  .jr-next{ border-left:1px solid rgba(255,255,255,0.14); padding:4px 0 4px 30px; }
  .jr-next-l{ display:block; font-size:12px; font-weight:800; letter-spacing:0.16em; text-transform:uppercase; color:var(--mu); margin-bottom:8px; }
  .jr-next p{ margin:0; font-size:15px; line-height:1.6; color:#D9D6EC; }
  .jr-steps{ list-style:none; margin:32px 0 0; padding:28px 0 0; border-top:1px solid rgba(255,255,255,0.10); display:grid; grid-template-columns:repeat(6, minmax(0,1fr)); }
  .jr-step{ position:relative; display:flex; flex-direction:column; gap:14px; padding-right:18px; }
  .jr-step::before{ content:""; position:absolute; top:15px; left:40px; right:8px; height:2px; border-radius:2px; background:rgba(255,255,255,0.12); }
  .jr-step:last-child::before{ display:none; }
  .jr-step.is-done::before{ background:linear-gradient(90deg,#F9582C,#FF8A5B); }
  .jr-dot{ position:relative; width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:800; color:var(--mu); background:rgba(255,255,255,0.05); border:1.5px solid rgba(255,255,255,0.2); font-variant-numeric:tabular-nums; }
  .is-done .jr-dot{ background:var(--o); border-color:var(--o); color:#fff; }
  .is-now .jr-dot{ background:#fff; border-color:#fff; color:var(--o); box-shadow:0 0 0 6px rgba(249,88,44,0.22), 0 0 26px rgba(249,88,44,0.65); }
  .jr-txt{ display:flex; flex-direction:column; gap:5px; min-width:0; }
  .jr-name{ display:flex; flex-direction:column; gap:5px; font-size:14.5px; font-weight:800; letter-spacing:-0.01em; line-height:1.25; color:var(--mu2); }
  .is-done .jr-name{ color:#E9E7F5; }
  .is-now .jr-name{ color:#fff; }
  .jr-name em{ font-style:normal; font-size:11.5px; font-weight:800; letter-spacing:0.14em; text-transform:uppercase; color:var(--o2); }
  .jr-what{ font-size:13px; line-height:1.45; color:var(--mu2); }
  .is-done .jr-what{ color:var(--mu); }
  .is-now .jr-what{ color:#D9D6EC; }

  /* ---- home: planner + agent, and pages that go live later ---- */
  .duo{ display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:24px; }
  .tool-card, .agent-card{ display:flex; flex-direction:column; align-items:flex-start; gap:18px; padding:30px 32px; text-decoration:none; transition:transform .25s, border-color .25s; }
  a.tool-card:hover{ transform:translateY(-3px); border-color:rgba(255,255,255,0.28); color:#fff; }
  .tool-b{ display:flex; flex-direction:column; gap:8px; min-width:0; }
  .tool-t{ font-size:24px; font-weight:800; letter-spacing:-0.03em; line-height:1.15; color:#fff; }
  .tool-p{ font-size:15px; line-height:1.6; color:var(--mu); max-width:460px; }
  .tool-go{ margin-top:auto; display:inline-flex; align-items:center; gap:8px; font-size:15px; font-weight:700; color:var(--o2); }
  a.btn2.tool-go, .btn.tool-go{ color:#fff; }
  a.tool-card:hover .btn{ transform:translateY(-2px); }
  .agent-av{ width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:20px; font-weight:800; color:#fff; background:linear-gradient(160deg,rgba(91,61,245,0.7),rgba(91,61,245,0.2)); border:1px solid rgba(255,255,255,0.2); }
  .pcards{ display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:16px; }
  .pcard{ display:flex; align-items:center; gap:14px; padding:18px 20px; border-radius:20px; text-decoration:none; transition:transform .25s, border-color .25s; }
  .pcard:hover{ transform:translateY(-2px); border-color:rgba(255,255,255,0.28); color:#fff; }
  .pcard-b{ flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
  .pcard-b b{ font-size:15px; font-weight:800; color:#fff; }
  .pcard-b span{ font-size:13px; color:var(--mu); }
  .pcard > svg{ color:var(--mu2); flex-shrink:0; }

  /* ---- planner page ---- */
  .cp-modal-open .tabbar{ display:none; }
  .cp-planner-embed{ margin:0 !important; }
  .cp-new #cpPlanner{ color-scheme:dark; background:transparent; }

  /* ---- sign-in ---- */
  .auth-split{ position:relative; background:#06041A; color:var(--ink); font-family:inherit; overflow:hidden; }
  .auth-split::before{ content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(700px 700px at 0% 0%, rgba(249,88,44,0.34), transparent 65%), radial-gradient(800px 800px at 100% 8%, rgba(91,61,245,0.40), transparent 65%), radial-gradient(700px 700px at 40% 100%, rgba(43,167,255,0.10), transparent 65%); }
  .auth-split::after{ content:""; position:absolute; inset:0; pointer-events:none; background-image:radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px); background-size:3px 3px; }
  .auth-left, .auth-left-v2{ background:transparent; z-index:1; }
  .auth-left .aurora, .auth-left .grid-floor, .auth-left > img{ display:none; }
  .auth-right-dark{ background:rgba(8,6,30,0.55); box-shadow:none; border-left:1px solid rgba(255,255,255,0.08); z-index:1; }
  .auth-right-dark::before, .auth-right-dark::after, .auth-orbit{ display:none; }
  .cp-body .auth-h1{ color:var(--ink); font-size:56px; font-weight:800; line-height:0.98; letter-spacing:-0.045em; margin:0 0 20px; text-wrap:balance; }
  .auth-p{ color:var(--mu); font-size:17px; line-height:1.6; margin:0; max-width:480px; }
  .auth-trust{ font-size:13px; font-weight:600; color:#E9E7F5; padding:9px 14px; border-radius:999px; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.14); white-space:nowrap; }
  .auth-trust b{ font-weight:800; }
  .auth-alt{ text-align:center; font-size:13.5px; color:var(--mu); margin-top:18px; line-height:1.6; }
  .auth-alt a{ color:var(--o2); font-weight:700; text-decoration:none; }
  .num-strip{ gap:22px; max-width:520px; }
  .num-strip .n{ font-size:30px; font-weight:800; letter-spacing:-0.035em; }
  .num-strip .l{ font-size:13px; color:var(--mu); }
  .glass-card{ background:linear-gradient(160deg,rgba(255,255,255,0.14),rgba(255,255,255,0.05)); border:1px solid rgba(255,255,255,0.2); border-radius:26px; padding:32px 30px; -webkit-backdrop-filter:blur(22px) saturate(170%); backdrop-filter:blur(22px) saturate(170%); box-shadow:inset 0 1px 0 rgba(255,255,255,0.3), 0 30px 80px rgba(0,0,0,0.45); }
  .glass-card::before{ display:none; }
  .glass-emblem{ border-radius:14px; background:linear-gradient(180deg,#FF7448,#F9582C); box-shadow:0 10px 30px rgba(249,88,44,0.4), inset 0 1px 0 rgba(255,255,255,0.35); }
  .dark-label{ font-size:12px; font-weight:800; letter-spacing:0.14em; color:var(--mu); }
  .dark-input{ background:#17162A; border:1px solid #383648; border-radius:14px; padding:14px 44px 14px 16px; font-size:15px; }
  .dark-input:focus{ border-color:var(--o); box-shadow:0 0 0 3px rgba(249,88,44,0.22); }
  .btn-glow{ border-radius:14px; padding:16px 0; font-size:16px; background:linear-gradient(180deg,#FF7448,#F9582C); box-shadow:0 10px 30px rgba(249,88,44,0.4), inset 0 1px 0 rgba(255,255,255,0.35); transition:transform .25s; }
  .btn-glow:hover{ transform:translateY(-2px); box-shadow:0 10px 30px rgba(249,88,44,0.4), inset 0 1px 0 rgba(255,255,255,0.35); }
  .tech-chip{ color:var(--mu); background:rgba(255,255,255,0.05); border-color:rgba(255,255,255,0.12); }

  /* tab bar (phones) */
  .tabbar{ display:none; }

  @media (max-width: 980px){
    .tb-in{ height:60px; padding:0 max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left)); gap:10px; }
    .tb-nav{ display:none; }
    .menu-btn{ display:flex; width:44px; height:44px; }
    .tb-brand{ margin-right:auto; }
    .topbar-right{ gap:8px; margin-left:0; }
    .bell-btn{ width:44px; height:44px; border-radius:999px; }
    .user-chip{ padding:4px; min-width:44px; min-height:44px; justify-content:center; border-radius:999px; }
    .user-chip-avatar{ width:34px; height:34px; }
    .pop{ top:68px; }
    .tb-preview .tb-in{ height:38px; }
    .app-content, .cp-new .app-content{ padding:22px 16px calc(104px + env(safe-area-inset-bottom)); gap:18px; }
    .app-footer{ padding:18px 16px calc(96px + env(safe-area-inset-bottom)); flex-direction:column; align-items:flex-start; }
    .tabbar{ display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); position:fixed; left:0; right:0; bottom:0; z-index:40; background:rgba(8,6,30,0.92); -webkit-backdrop-filter:blur(20px) saturate(160%); backdrop-filter:blur(20px) saturate(160%); border-top:1px solid rgba(255,255,255,0.10); box-shadow:none; padding:6px max(6px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left)); }
    .tab{ color:var(--mu2); font-size:12px; font-weight:700; min-height:56px; }
    .tab:hover{ color:#fff; }
    .tab.on{ color:var(--o2); }
    .tab.on .tab-ico::after{ background:var(--o); }
    .tab-badge{ border-color:#0B0922; background:var(--o); }
    .is-signin .auth-right-dark{ border-left:0; border-bottom:1px solid rgba(255,255,255,0.08); }
  }
  @media (max-width: 900px){
    /* the six stages stack into a vertical timeline */
    .jr-steps{ grid-template-columns:1fr; margin-top:24px; padding-top:24px; }
    .jr-step{ flex-direction:row; align-items:flex-start; gap:14px; padding:0 0 22px; }
    .jr-step:last-child{ padding-bottom:6px; }
    .jr-step::before{ top:36px; bottom:4px; left:15px; right:auto; width:2px; height:auto; }
    .jr-step.is-done::before{ background:linear-gradient(180deg,#F9582C,#FF8A5B); }
    .jr-txt{ padding-top:5px; }
    .jr-name{ font-size:15.5px; flex-direction:row; align-items:baseline; gap:10px; flex-wrap:wrap; }
    .jr-what{ font-size:14px; }
  }
  @media (max-width: 760px){
    .cp-body .pg-title{ font-size:36px; letter-spacing:-0.04em; }
    .pg-sub{ font-size:15.5px; }
    .pg-head{ gap:10px; margin-bottom:4px; }
    .next-card{ flex-direction:column; align-items:stretch; gap:16px; padding:22px 20px; }
    .next-btn{ width:100%; min-height:52px; }
    .jr{ padding:24px 20px 16px; border-radius:22px; }
    .jr-top{ grid-template-columns:1fr; gap:20px; }
    .cp-body .jr-stage{ font-size:30px; }
    .jr-desc{ font-size:15.5px; }
    .jr-next{ border-left:0; border-top:1px solid rgba(255,255,255,0.10); padding:18px 0 0; }
    .jr-what{ display:none; }
    .is-now .jr-what{ display:block; }
    .duo{ grid-template-columns:1fr; gap:18px; }
    .tool-card, .agent-card{ padding:24px 20px; border-radius:22px; }
    .tool-t{ font-size:22px; }
    .agent-card .btn2, .tool-card .btn{ width:100%; min-height:52px; }
    .cp-body .auth-h1{ font-size:36px !important; letter-spacing:-0.04em !important; }
    .auth-p{ font-size:15.5px; }
    .auth-trust{ display:none; }
    .num-strip{ gap:14px; }
    .num-strip .n{ font-size:24px; }
    .glass-card{ padding:26px 20px; border-radius:22px; }
  }

  /* ---- sign-in pieces and the appearance switch (dark values) ---- */
  .auth-brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
  .auth-brand-mark{ width:42px; height:42px; border-radius:12px; background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; padding:7px; }
  .cp-body .auth-brand-mark img{ width:100%; height:100%; object-fit:contain; }
  .auth-brand-word{ color:#fff; font-weight:800; font-size:14.5px; letter-spacing:0.14em; }
  .gc-title{ color:#fff; font-size:20px; font-weight:800; line-height:1.1; letter-spacing:-0.02em; }
  .gc-sub{ font-size:13px; color:var(--mu); margin-top:4px; }
  .gc-remember{ display:flex; align-items:center; gap:8px; font-size:13px; color:var(--mu); cursor:pointer; min-height:44px; }
  .gc-remember input{ accent-color:#F9582C; width:16px; height:16px; }
  .gc-forgot{ font-size:13px; font-weight:700; color:var(--o2); text-decoration:none; min-height:44px; display:inline-flex; align-items:center; }
  .input-wrap svg{ stroke:rgba(255,255,255,0.35); }
  .acct-theme{ cursor:default; }
  .theme-seg{ margin-left:auto; display:inline-flex; gap:2px; padding:3px; border-radius:999px; background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.10); }
  .theme-seg button{ border:0; background:transparent; color:var(--mu); font:inherit; font-size:12.5px; font-weight:700; padding:7px 12px; border-radius:999px; cursor:pointer; min-height:34px; }
  .theme-seg button[aria-pressed="true"]{ background:linear-gradient(180deg,#FF7448,#F9582C); color:#fff; box-shadow:0 4px 12px rgba(249,88,44,0.35); }

  /* ================= LIGHT appearance (default) =================
     Same layout and website accents on a warm cream page (the website's own #F4F1E9 family),
     navy ink #130E2A, white cards. The header and the journey card stay navy to anchor the brand. */
  .cp-theme-light body.cp-new{ --ink:#130E2A; --mu:#5D587A; --mu2:#6C6787; --o2:#C9401A; --pg:#F7F4EE; --line:rgba(19,14,42,0.09); background:var(--pg); color:var(--ink); color-scheme:light; }
  html.cp-theme-light:has(body.cp-new){ background:#F7F4EE; }
  .cp-theme-light .cp-new ::selection{ background:rgba(249,88,44,0.22); color:#130E2A; }
  .cp-theme-light .cp-new .app-shell{ background:var(--pg); }
  .cp-theme-light .cp-new .app-bgfx{ background:radial-gradient(760px 620px at 0% 0%, rgba(249,88,44,0.13), transparent 65%), radial-gradient(820px 680px at 100% 4%, rgba(91,61,245,0.12), transparent 65%), radial-gradient(700px 700px at 45% 75%, rgba(43,167,255,0.06), transparent 65%); }
  .cp-theme-light .cp-new .app-bgfx::after{ display:none; }

  /* cards and buttons */
  .cp-theme-light .cp-new .glass{ background:#FFFFFF; -webkit-backdrop-filter:none; backdrop-filter:none; border:1px solid rgba(19,14,42,0.08); box-shadow:0 1px 2px rgba(19,14,42,0.04), 0 18px 44px rgba(19,14,42,0.07); color:var(--ink); }
  .cp-theme-light .cp-new .glass-hi{ background:linear-gradient(160deg,#FFFFFF 0%,#FFF5F0 100%); -webkit-backdrop-filter:none; backdrop-filter:none; border:1px solid rgba(249,88,44,0.22); box-shadow:0 1px 2px rgba(19,14,42,0.04), 0 18px 44px rgba(249,88,44,0.10); color:var(--ink); }
  .cp-theme-light .cp-new .grad{ background:linear-gradient(90deg,#F9582C,#E5481F 55%,#FF7A4A); -webkit-background-clip:text; background-clip:text; color:transparent; }
  .cp-theme-light .cp-new .btn2{ color:var(--ink); background:#FFFFFF; border-color:rgba(19,14,42,0.14); }
  .cp-theme-light .cp-new .btn2:hover{ background:#FBF9F5; color:var(--ink); border-color:rgba(19,14,42,0.24); }
  .cp-theme-light .cp-new .ib{ color:#E5481F; background:linear-gradient(160deg,rgba(249,88,44,0.16),rgba(249,88,44,0.05)); border-color:rgba(249,88,44,0.20); }

  /* next step */
  .cp-theme-light .cp-new .next-title{ color:var(--ink); }
  .cp-theme-light .cp-new .next-text{ color:#4A4566; }

  /* the journey card keeps the navy brand look */
  .cp-theme-light .cp-new .jr{ --mu:#B9B6D3; --mu2:#8E8AAE; --o2:#FF9B78; color:#fff; border:1px solid rgba(19,14,42,0.10); box-shadow:0 24px 60px rgba(19,14,42,0.18); background:radial-gradient(620px 420px at 0% 0%, rgba(249,88,44,0.30), transparent 62%), radial-gradient(720px 520px at 100% 0%, rgba(91,61,245,0.42), transparent 62%), linear-gradient(160deg,#1D1440 0%,#130E2A 100%); }

  /* planner and agent cards, page cards */
  .cp-theme-light .cp-new .tool-t, .cp-theme-light .cp-new .pcard-b b{ color:var(--ink); }
  .cp-theme-light .cp-new a.tool-card:hover, .cp-theme-light .cp-new .pcard:hover{ color:var(--ink); border-color:rgba(249,88,44,0.32); box-shadow:0 1px 2px rgba(19,14,42,0.04), 0 22px 50px rgba(19,14,42,0.10); }
  .cp-theme-light .cp-new a.btn2.tool-go{ color:var(--ink); }
  .cp-theme-light .cp-new .agent-av{ color:#5B3DF5; background:linear-gradient(160deg,rgba(91,61,245,0.16),rgba(91,61,245,0.05)); border-color:rgba(91,61,245,0.22); }

  /* notifications and account panels */
  .cp-theme-light .cp-new .pop{ background:#FFFFFF; border-color:rgba(19,14,42,0.10); box-shadow:0 24px 60px rgba(19,14,42,0.18); color:var(--ink); }
  .cp-theme-light .cp-new .pop .bell-head, .cp-theme-light .cp-new .pop .acct-head{ border-bottom-color:var(--line); color:var(--ink); }
  .cp-theme-light .cp-new .pop .bell-close{ background:#F4F1E9; color:var(--ink); }
  .cp-theme-light .cp-new .pop .bell-item{ border-bottom-color:rgba(19,14,42,0.06); }
  .cp-theme-light .cp-new .pop .bell-item:hover, .cp-theme-light .cp-new .pop a.acct-row:hover{ background:#FBF9F5; color:var(--ink); }
  .cp-theme-light .cp-new .pop .bell-item.unread{ background:rgba(249,88,44,0.07); }
  .cp-theme-light .cp-new .bell-t, .cp-theme-light .cp-new .acct-name, .cp-theme-light .cp-new .pop .acct-row{ color:var(--ink); }
  .cp-theme-light .cp-new .pop .acct-row svg{ color:var(--mu2); }
  .cp-theme-light .cp-new .pop .acct-out{ border-top-color:var(--line); color:#C9401A; }
  .cp-theme-light .cp-new .pop .acct-out svg{ color:#C9401A; }
  .cp-theme-light .cp-new .theme-seg{ background:#F4F1E9; border-color:rgba(19,14,42,0.08); }

  /* footer and phone tab bar */
  .cp-theme-light .cp-new .app-footer{ border-top-color:var(--line); color:var(--mu2); }
  .cp-theme-light .cp-new .app-footer a{ color:var(--mu); }
  .cp-theme-light .cp-new .app-footer a:hover{ color:var(--ink); }
  .cp-theme-light .cp-new #cpPlanner{ color-scheme:light; }

  /* sign-in */
  .cp-theme-light .cp-new .auth-split{ background:#F7F4EE; color:var(--ink); }
  .cp-theme-light .cp-new .auth-split::before{ background:radial-gradient(760px 640px at 0% 0%, rgba(249,88,44,0.16), transparent 65%), radial-gradient(820px 700px at 100% 6%, rgba(91,61,245,0.14), transparent 65%), radial-gradient(700px 700px at 40% 100%, rgba(43,167,255,0.07), transparent 65%); }
  .cp-theme-light .cp-new .auth-split::after{ display:none; }
  .cp-theme-light .cp-new .auth-right-dark{ background:rgba(255,255,255,0.45); border-left-color:rgba(19,14,42,0.07); }
  .cp-theme-light .cp-new .auth-brand-mark{ background:#FFFFFF; border-color:rgba(19,14,42,0.08); box-shadow:0 4px 14px rgba(19,14,42,0.06); }
  .cp-theme-light .cp-new .auth-brand-word{ color:var(--ink); }
  .cp-theme-light .cp-new .auth-trust{ color:var(--ink); background:#FFFFFF; border-color:rgba(19,14,42,0.10); }
  .cp-theme-light .cp-new .auth-trust span{ color:#F0A11B !important; }
  .cp-theme-light .cp-new .num-strip .n{ color:var(--ink); }
  .cp-theme-light .cp-new .glass-card{ background:#FFFFFF; -webkit-backdrop-filter:none; backdrop-filter:none; border-color:rgba(19,14,42,0.08); box-shadow:0 1px 2px rgba(19,14,42,0.04), 0 30px 70px rgba(19,14,42,0.12); }
  .cp-theme-light .cp-new .gc-title{ color:var(--ink); }
  .cp-theme-light .cp-new .dark-input{ background:#F8F6F1; border-color:#E4DFD3; color:var(--ink); }
  .cp-theme-light .cp-new .dark-input::placeholder{ color:rgba(19,14,42,0.38); }
  .cp-theme-light .cp-new .dark-input:focus{ border-color:#F9582C; background:#FFFFFF; }
  .cp-theme-light .cp-new .input-wrap svg{ stroke:#8A85A3; }
  .cp-theme-light .cp-new .tech-chip{ color:var(--mu); background:#FFFFFF; border-color:rgba(19,14,42,0.10); }

  @media (max-width: 980px){
    .cp-theme-light .cp-new .tabbar{ background:rgba(255,255,255,0.95); border-top-color:rgba(19,14,42,0.08); box-shadow:0 -8px 24px rgba(19,14,42,0.06); }
    .cp-theme-light .cp-new .tab{ color:var(--mu2); }
    .cp-theme-light .cp-new .tab:hover{ color:var(--ink); }
    .cp-theme-light .cp-new .tab.on{ color:#E5481F; }
    .cp-theme-light .cp-new .tab-badge{ border-color:#FFFFFF; }
    .cp-theme-light .cp-new .is-signin .auth-right-dark{ border-bottom-color:rgba(19,14,42,0.07); }
  }
  @media (max-width: 760px){
    .cp-theme-light .cp-new .jr-next{ border-top-color:rgba(255,255,255,0.10); }
  }

  /* light header: white glass, navy type, the orange emblem in its own colour */
  .cp-theme-light .cp-new .app-topbar{ background:rgba(255,255,255,0.84); border-bottom-color:rgba(19,14,42,0.08); color:var(--ink); }
  .cp-theme-light .cp-new .tb-brand, .cp-theme-light .cp-new .tb-brand:hover{ color:var(--ink); }
  .cp-theme-light .cp-body.cp-new .tb-brand img{ filter:none; }
  .cp-theme-light .cp-new .tb-word b{ color:var(--ink); }
  .cp-theme-light .cp-new .tb-word i{ color:var(--mu2); }
  .cp-theme-light .cp-new .tb-link{ color:#2B2546; }
  .cp-theme-light .cp-new .tb-link:hover{ background:rgba(19,14,42,0.05); color:var(--ink); }
  .cp-theme-light .cp-new .tb-link.on{ color:#C9401A; background:rgba(249,88,44,0.09); }
  .cp-theme-light .cp-new .bell-btn, .cp-theme-light .cp-new .user-chip, .cp-theme-light .cp-new .menu-btn{ background:#FFFFFF; border-color:rgba(19,14,42,0.12); color:var(--ink); }
  .cp-theme-light .cp-new .bell-btn:hover{ background:#FBF9F5; color:var(--ink); }
  .cp-theme-light .cp-new .user-chip:hover{ border-color:rgba(19,14,42,0.26); }
  .cp-theme-light .cp-new .user-chip-name{ color:var(--ink); }
  .cp-theme-light .cp-new .user-chip > svg{ color:var(--mu2); }
  .cp-theme-light .cp-new .bell-count{ border-color:#FFFFFF; }
  .cp-theme-light .cp-new .menu-btn span{ background:var(--ink); }
  .cp-theme-light .cp-new .viewas-pill{ color:#C9401A; background:rgba(249,88,44,0.08); border-color:rgba(249,88,44,0.28); }
  .cp-theme-light .cp-new .tb-preview{ border-top-color:rgba(19,14,42,0.06); background:rgba(249,88,44,0.07); color:var(--mu); }
  .cp-theme-light .cp-new .tb-preview a{ color:var(--ink); }
  .cp-theme-light .cp-new .tb-preview-l, .cp-theme-light .cp-new .tb-preview a:hover, .cp-theme-light .cp-new .tb-preview a.on, .cp-theme-light .cp-new .tb-preview .tb-preview-set{ color:#C9401A; }

  /* ================= 0.4.2: Getting started, Documents, My Property, Home property section =================
     Built on theme variables so the light and dark appearances both work without extra rules. */
  body.cp-new{ --card-ink:#FFFFFF; --soft:rgba(255,255,255,0.05); --soft-bd:rgba(255,255,255,0.10); --good:#5FCF8C; --good-bg:rgba(95,207,140,0.14); --warn:#F5B85C; --warn-bg:rgba(245,184,92,0.14); --hot:#FF9B78; --hot-bg:rgba(249,88,44,0.15); --mute-bg:rgba(255,255,255,0.08); --up:#5FCF8C; --down:#FF7D6E; --debt:#8F88D6; --pic:linear-gradient(160deg,rgba(249,88,44,0.30),rgba(91,61,245,0.34)); }
  .cp-theme-light body.cp-new{ --card-ink:#130E2A; --soft:#F8F6F1; --soft-bd:rgba(19,14,42,0.07); --good:#1D7F47; --good-bg:#E3F1E8; --warn:#93570F; --warn-bg:#FBEEDC; --hot:#C9401A; --hot-bg:rgba(249,88,44,0.09); --mute-bg:#F1EEE7; --up:#1D7F47; --down:#BF3326; --debt:#2A2152; --pic:linear-gradient(160deg,#FFE4DA,#E7E1FF); }

  .btn-sm{ padding:11px 16px; font-size:14px; border-radius:12px; min-height:44px; }
  .btn[disabled], .btn2[disabled]{ opacity:.75; cursor:default; transform:none; }
  .tag-pill{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:800; padding:6px 12px; border-radius:999px; white-space:nowrap; line-height:1.2; }
  .tp-good{ color:var(--good); background:var(--good-bg); }
  .tp-warn{ color:var(--warn); background:var(--warn-bg); }
  .tp-hot{ color:var(--hot); background:var(--hot-bg); }
  .tp-mute{ color:var(--mu); background:var(--mute-bg); }
  .is-up{ color:var(--up) !important; } .is-down{ color:var(--down) !important; }

  /* progress */
  .prog-card{ padding:22px 26px; }
  .prog-top{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin-bottom:12px; font-size:15px; flex-wrap:wrap; }
  .prog-l{ font-weight:800; color:var(--card-ink); }
  .prog-n{ color:var(--mu); font-weight:700; font-size:14px; }
  .prog-bar{ height:10px; border-radius:999px; background:var(--soft); border:1px solid var(--soft-bd); overflow:hidden; }
  .prog-bar span{ display:block; height:100%; border-radius:999px; background:linear-gradient(90deg,#FF8A5B,#F9582C); transition:width .45s ease; }
  .prog-bar.is-good span{ background:linear-gradient(90deg,#2E9E58,#5FCF8C); }

  /* task and document rows */
  .row-list{ display:flex; flex-direction:column; gap:14px; }
  .cp-new .row-card{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; padding:20px 24px; border-radius:20px; }
  .cp-new .row-card .row-icon{ width:46px; height:46px; border-radius:14px; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:15px; font-weight:800; color:var(--hot); background:var(--hot-bg); }
  .cp-new .row-card.is-done .row-icon{ color:var(--good); background:var(--good-bg); }
  .cp-new .row-card.is-file .row-icon{ color:var(--mu); background:var(--mute-bg); }
  .cp-new .row-card.is-wait .row-icon{ color:var(--warn); background:var(--warn-bg); }
  .row-main{ flex:1; min-width:240px; }
  .row-title{ font-size:16.5px; font-weight:800; color:var(--card-ink); letter-spacing:-0.01em; display:flex; align-items:center; gap:10px; flex-wrap:wrap; line-height:1.3; }
  .row-text{ font-size:14px; color:var(--mu); margin-top:5px; line-height:1.55; }
  .kind-chip{ font-size:11.5px; font-weight:800; letter-spacing:0.08em; text-transform:uppercase; color:var(--mu); background:var(--mute-bg); border-radius:999px; padding:3px 9px; }
  .cp-new .row-actions{ display:flex; gap:8px; flex-wrap:wrap; }
  .cp-new .onb-goals{ grid-template-columns:repeat(3, minmax(0,1fr)); gap:10px; margin-top:14px; max-width:720px; }
  .onb-goals label span{ display:block; font-size:12.5px; font-weight:700; color:var(--mu); margin-bottom:6px; }
  .field{ width:100%; min-height:46px; padding:11px 14px; border-radius:12px; border:1px solid var(--soft-bd); background:var(--soft); color:var(--card-ink); font:inherit; font-size:15px; outline:none; transition:border-color .15s, box-shadow .15s; }
  .field::placeholder{ color:var(--mu2); }
  .field:focus{ border-color:#F9582C; box-shadow:0 0 0 3px rgba(249,88,44,0.18); }

  /* small print, empty states, section headings */
  .cp-new .note-box{ display:flex; align-items:flex-start; gap:12px; padding:18px 22px; border-radius:18px; background:var(--soft); border:1px solid var(--soft-bd); color:var(--mu); font-size:13.5px; line-height:1.6; }
  .cp-new .note-box svg{ color:var(--hot); flex-shrink:0; margin-top:2px; }
  .cp-new .note-box strong{ color:var(--card-ink); }
  .empty-card{ padding:44px 28px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:10px; }
  .cp-body .empty-card h2{ font-size:20px; font-weight:800; color:var(--card-ink); margin:8px 0 0; letter-spacing:-0.02em; }
  .empty-card p{ color:var(--mu); max-width:460px; margin:0; font-size:15px; line-height:1.6; }
  .cp-body .sec-h{ font-size:24px; font-weight:800; letter-spacing:-0.03em; color:var(--ink); margin:18px 0 -6px; display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; }
  .sec-h span{ font-size:15px; font-weight:600; color:var(--mu); letter-spacing:0; }

  /* my property */
  .prop-hero{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); overflow:hidden; padding:0; }
  .prop-pic, .hp-pic{ position:relative; background:var(--pic); overflow:hidden; }
  .prop-pic{ min-height:320px; }
  .cp-body .prop-pic img, .cp-body .hp-pic img{ position:absolute; inset:0; width:100%; height:100%; max-width:none; object-fit:cover; display:block; }
  .prop-pic-ph{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:var(--hot); opacity:.85; }
  .prop-pic .tag-pill{ position:absolute; top:16px; left:16px; background:rgba(255,255,255,0.94); color:#1D7F47; box-shadow:0 6px 18px rgba(19,14,42,0.18); }
  .prop-info{ padding:30px 32px; display:flex; flex-direction:column; gap:24px; justify-content:center; min-width:0; }
  .kv-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px 26px; }
  .kv-grid > div{ display:flex; flex-direction:column; gap:4px; min-width:0; }
  .kv-l{ font-size:12px; font-weight:800; letter-spacing:0.12em; text-transform:uppercase; color:var(--mu); }
  .kv-grid b{ font-size:25px; font-weight:800; letter-spacing:-0.03em; color:var(--card-ink); line-height:1.15; }
  .kv-s{ font-size:13px; color:var(--mu); }
  .prop-facts{ display:flex; flex-wrap:wrap; gap:8px; }
  .prop-facts span{ font-size:13px; font-weight:700; color:var(--mu); background:var(--soft); border:1px solid var(--soft-bd); border-radius:999px; padding:7px 12px; }
  .eq-card{ padding:30px 32px; }
  .eq-head{ display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; align-items:flex-start; }
  .cp-body .eq-title{ font-size:34px; font-weight:800; letter-spacing:-0.04em; color:var(--card-ink); margin:8px 0 0; line-height:1.1; }
  .eq-title span{ font-size:16px; font-weight:600; color:var(--mu); letter-spacing:0; }
  .eq-tags{ display:flex; gap:8px; flex-wrap:wrap; }
  .eq-sub{ color:var(--mu); font-size:14.5px; margin:10px 0 18px; max-width:640px; line-height:1.55; }
  .eq-bar{ display:flex; gap:3px; height:16px; border-radius:999px; overflow:hidden; background:var(--soft); }
  .eq-bar span{ display:block; height:100%; }
  .eq-loan{ background:var(--debt); }
  .eq-use{ background:linear-gradient(90deg,#F9582C,#FF7A4A); }
  .eq-buf{ background:#FFB59A; }
  .eq-tot{ background:var(--good); }
  .eq-legend{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:12px; margin-top:18px; }
  .eq-legend > div{ display:flex; flex-direction:column; gap:5px; padding:14px 16px; border-radius:14px; background:var(--soft); border:1px solid var(--soft-bd); min-width:0; }
  .eq-legend i{ width:10px; height:10px; border-radius:3px; display:block; }
  .eq-legend span{ font-size:12.5px; color:var(--mu); font-weight:600; line-height:1.35; }
  .eq-legend b{ font-size:18px; font-weight:800; color:var(--card-ink); }
  .eq-call{ margin-top:18px; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; padding:18px 20px; border-radius:16px; background:var(--hot-bg); border:1px solid rgba(249,88,44,0.22); }
  .eq-call p{ margin:0; font-size:14px; line-height:1.6; color:var(--card-ink); max-width:680px; }
  .pm-card{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; padding:24px 28px; }
  .pm-main{ flex:1; min-width:220px; display:flex; flex-direction:column; gap:4px; }
  .pm-name{ font-size:18px; font-weight:800; color:var(--card-ink); }
  .pm-name span{ font-weight:600; color:var(--mu); }
  .pm-sub{ font-size:13.5px; color:var(--mu); }

  /* home: your property */
  .home-prop{ display:grid; grid-template-columns:230px minmax(0,1fr) auto; align-items:center; gap:26px; padding:18px 30px 18px 18px; text-decoration:none; transition:transform .25s, border-color .25s, box-shadow .25s; }
  .home-prop:hover{ transform:translateY(-2px); color:inherit; }
  .cp-theme-light .cp-new .home-prop:hover{ border-color:rgba(249,88,44,0.32); }
  .hp-pic{ height:150px; border-radius:16px; }
  .hp-body{ display:flex; flex-direction:column; gap:5px; min-width:0; }
  .hp-addr{ font-size:22px; font-weight:800; letter-spacing:-0.03em; color:var(--card-ink); line-height:1.2; }
  .hp-addr span{ font-size:15px; font-weight:600; color:var(--mu); letter-spacing:0; }
  .hp-sub{ font-size:14px; color:var(--mu); }
  .hp-stats{ display:flex; gap:30px; flex-wrap:wrap; margin-top:10px; }
  .hp-stats > span{ display:flex; flex-direction:column; gap:3px; }
  .hp-stats i{ font-style:normal; font-size:11.5px; font-weight:800; letter-spacing:0.12em; text-transform:uppercase; color:var(--mu); }
  .hp-stats b{ font-size:20px; font-weight:800; color:var(--card-ink); letter-spacing:-0.02em; }
  .hp-go{ display:inline-flex; align-items:center; gap:8px; font-size:15px; font-weight:700; color:var(--o2); white-space:nowrap; }

  @media (max-width: 900px){
    .prop-hero{ grid-template-columns:1fr; }
    .prop-pic{ min-height:240px; }
    .eq-legend{ grid-template-columns:repeat(2, minmax(0,1fr)); }
    .home-prop{ grid-template-columns:180px minmax(0,1fr); }
    .hp-go{ grid-column:2; }
  }
  @media (max-width: 760px){
    .prog-card{ padding:18px 20px; }
    .cp-new .row-card{ padding:18px; gap:14px; align-items:flex-start; }
    .cp-new .row-card .row-icon{ width:42px; height:42px; border-radius:12px; }
    .cp-new .row-card .row-main{ min-width:0; flex:1 1 calc(100% - 60px); }
    .cp-new .row-card > .tag-pill{ margin-left:56px; }
    .cp-new .row-card .row-actions{ width:100%; }
    .cp-new .row-card .row-actions > *{ flex:1 1 140px; }
    .cp-new .onb-goals{ grid-template-columns:1fr; }
    .cp-new .note-box{ padding:16px; }
    .prop-info{ padding:22px 20px; gap:20px; }
    .kv-grid{ gap:18px 16px; }
    .kv-grid b{ font-size:21px; }
    .eq-card{ padding:22px 20px; }
    .cp-body .eq-title{ font-size:28px; }
    .eq-call .btn{ width:100%; }
    .pm-card{ padding:20px; }
    .pm-card .row-actions{ width:100%; }
    .pm-card .row-actions > *{ flex:1 1 140px; }
    .home-prop{ grid-template-columns:1fr; gap:16px; padding:14px 14px 20px; }
    .hp-pic{ height:180px; }
    .hp-body{ padding:0 6px; }
    .hp-go{ grid-column:auto; padding:0 6px; }
    .hp-stats{ gap:20px; }
  }

/* ===================== 0.4.5: setup steps, questionnaire, planner lock ===================== */
/* 0.4.5 onboarding: three steps in order, questionnaire, planner lock. Uses the 0.4.2 theme variables. */
.cp-new .steps{ display:flex; flex-direction:column; gap:14px; position:relative; }
.cp-new .step-card{ display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:18px; align-items:start; padding:22px 24px; border-radius:22px; position:relative; }
.cp-new .st-num{ width:46px; height:46px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:16px; font-weight:800; color:var(--hot); background:var(--hot-bg); flex-shrink:0; }
.cp-new .st-num svg{ width:20px; height:20px; }
.cp-new .st-eb{ font-size:11.5px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--mu2); margin-bottom:4px; display:block; }
.cp-new .st-title{ font-size:19px; font-weight:800; letter-spacing:-.02em; color:var(--card-ink); line-height:1.25; }
.cp-new .st-text{ font-size:14.5px; color:var(--mu); line-height:1.6; margin-top:6px; max-width:62ch; }
.cp-new .st-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; align-items:center; }
.cp-new .st-side{ display:flex; flex-direction:column; align-items:flex-end; gap:8px; }
.cp-new .st-list{ margin:12px 0 0; padding:0; list-style:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 18px; font-size:13.5px; color:var(--mu); }
.cp-new .st-list li{ display:flex; gap:8px; align-items:flex-start; }
.cp-new .st-list li::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--o); margin-top:8px; flex-shrink:0; }
.cp-new .st-meta{ font-size:13px; color:var(--mu2); margin-top:10px; }
.cp-new .step-card.is-now{ box-shadow:0 0 0 2px rgba(249,88,44,.55), var(--card-shadow, 0 18px 44px rgba(19,14,42,.08)); }
.cp-new .step-card.is-done .st-num{ color:var(--good); background:var(--good-bg); }
.cp-new .step-card.is-wait .st-num{ color:var(--warn); background:var(--warn-bg); }
.cp-new .step-card.is-locked{ opacity:.62; }
.cp-new .step-card.is-locked .st-num{ color:var(--mu); background:var(--mute-bg); }
.cp-new .step-card.is-done .st-text,.cp-new .step-card.is-locked .st-text{ margin-top:4px; }
.tp-mute{ color:var(--mu); background:var(--mute-bg); }
.tp-hot{ color:var(--hot); background:var(--hot-bg); }
.cp-new .after-steps{ display:flex; gap:14px; align-items:center; padding:16px 22px; border-radius:18px; border:1px dashed var(--soft-bd); color:var(--mu); font-size:14px; }
.cp-new .after-steps b{ color:var(--card-ink); }

/* Home: the three setup steps in one strip */
.cp-new .setup{ padding:22px 24px; border-radius:22px; }
.cp-new .setup-top{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
.cp-new .setup-top b{ font-size:17px; font-weight:800; color:var(--card-ink); letter-spacing:-.01em; }
.cp-new .setup-top a{ font-size:13.5px; font-weight:700; color:var(--o2); text-decoration:none; }
.cp-new .setup-row{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.cp-new .su{ display:flex; gap:12px; align-items:center; padding:12px 14px; border-radius:14px; background:var(--soft); border:1px solid var(--soft-bd); min-width:0; }
.cp-new .su i{ font-style:normal; width:30px; height:30px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:13px; color:var(--mu); background:var(--mute-bg); flex-shrink:0; }
.cp-new .su i svg{ width:15px; height:15px; }
.cp-new .su span{ display:flex; flex-direction:column; min-width:0; }
.cp-new .su b{ font-size:14px; font-weight:800; color:var(--card-ink); line-height:1.25; }
.cp-new .su small{ font-size:12.5px; color:var(--mu2); }
.cp-new .su.is-now{ border-color:rgba(249,88,44,.45); background:var(--hot-bg); }
.cp-new .su.is-now i{ color:#fff; background:var(--o); }
.cp-new .su.is-done i{ color:var(--good); background:var(--good-bg); }
.cp-new .su.is-wait i{ color:var(--warn); background:var(--warn-bg); }

/* Planner locked */
.cp-new .lock-card{ padding:40px 32px; border-radius:24px; display:flex; flex-direction:column; align-items:center; text-align:center; gap:14px; }
.cp-new .lock-ic{ width:64px; height:64px; border-radius:20px; display:flex; align-items:center; justify-content:center; color:var(--hot); background:var(--hot-bg); }
.cp-new .lock-ic svg{ width:28px; height:28px; }
.cp-new .lock-card h2{ font-size:26px; font-weight:800; letter-spacing:-.03em; color:var(--card-ink); margin:0; }
.cp-new .lock-card p{ margin:0; color:var(--mu); font-size:15px; line-height:1.6; max-width:52ch; }
.cp-new .lock-steps{ display:flex; gap:8px; flex-wrap:wrap; justify-content:center; margin:6px 0 4px; }
.cp-new .lock-steps span{ display:inline-flex; align-items:center; gap:7px; font-size:13px; font-weight:700; padding:7px 12px; border-radius:999px; background:var(--mute-bg); color:var(--mu); }
.cp-new .lock-steps span.ok{ background:var(--good-bg); color:var(--good); }
.cp-new .lock-steps span.now{ background:var(--hot-bg); color:var(--hot); }
.cp-new .lock-blur{ position:relative; border-radius:24px; overflow:hidden; }
.cp-new .lock-blur img{ display:block; width:100%; filter:blur(6px) saturate(.8); opacity:.55; }
.cp-new .lock-blur .lock-card{ position:absolute; left:50%; top:90px; transform:translateX(-50%); width:min(640px,calc(100% - 32px)); }
.cp-new .tb-link .lk,.cp-new .tab .lk{ width:13px; height:13px; opacity:.6; }

/* Questionnaire */
.cp-new .qz{ display:flex; flex-direction:column; gap:16px; }
.cp-new .qz-sec{ padding:24px; border-radius:22px; }
.cp-new .qz-h{ display:flex; gap:12px; align-items:center; margin-bottom:16px; }
.cp-new .qz-h i{ font-style:normal; width:32px; height:32px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:14px; color:var(--hot); background:var(--hot-bg); }
.cp-new .qz-h b{ font-size:18px; font-weight:800; letter-spacing:-.02em; color:var(--card-ink); }
.cp-new .qz-h small{ display:block; font-size:13px; color:var(--mu2); font-weight:500; margin-top:1px; }
.cp-new .qz-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px 16px; }
.cp-new .qz-grid .w2{ grid-column:span 2; } .cp-new .qz-grid .w3{ grid-column:1/-1; }
.cp-new .qf{ display:flex; flex-direction:column; gap:8px; min-width:0; }
.cp-new .qf > span{ font-size:13.5px; font-weight:700; color:var(--card-ink); line-height:20px; min-height:20px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cp-new .qf > small{ font-size:12.5px; color:var(--mu2); line-height:1.4; }
.cp-new .qz-grid .field,.cp-new .pq .field{ height:48px; min-height:48px; }
.cp-new .qz-grid textarea.field{ height:auto; min-height:96px; resize:vertical; line-height:1.5; padding-top:12px; }
.cp-new .qf .fwrap{ position:relative; display:block; }
.cp-new .qf .fwrap em{ position:absolute; top:50%; transform:translateY(-50%); font-style:normal; color:var(--mu2); font-size:15px; pointer-events:none; }
.cp-new .qf .fwrap em.l{ left:14px; } .cp-new .qf .fwrap em.r{ right:14px; font-size:13px; }
.cp-new .qf .fwrap .field.pl{ padding-left:28px; } .cp-new .qf .fwrap .field.pr{ padding-right:52px; }
.cp-new .chips{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; min-height:48px; }
.cp-new .chip{ min-height:48px; padding:10px 16px; border-radius:999px; border:1px solid var(--soft-bd); background:var(--soft); color:var(--card-ink); font:inherit; font-size:14px; font-weight:700; cursor:pointer; line-height:1.2; }
.cp-new .chip[aria-pressed="true"]{ background:var(--card-ink); color:var(--page, #fff); border-color:var(--card-ink); }
.cp-theme-light .cp-new .chip[aria-pressed="true"]{ color:#fff; }
.cp-theme-dark .cp-new .chip[aria-pressed="true"]{ color:#06041A; background:#F5F4FB; border-color:#F5F4FB; }
.cp-new .qz-row{ display:grid; gap:16px; }
.cp-new .qz-sub{ font-size:11.5px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--mu2); margin:22px 0 12px; display:flex; align-items:center; gap:10px; }
.cp-new .qz-sub::after{ content:""; flex:1; height:1px; background:var(--soft-bd); }
.cp-new .qz-note{ display:flex; gap:10px; align-items:flex-start; font-size:13.5px; color:var(--mu); line-height:1.55; padding:12px 14px; border-radius:14px; background:var(--soft); border:1px solid var(--soft-bd); margin-top:16px; }
.cp-new .qz-note svg{ flex:none; margin-top:1px; color:var(--o2); }
/* properties they own */
.cp-new .pq{ border:1px solid var(--soft-bd); background:var(--soft); border-radius:18px; padding:18px; margin-top:14px; }
.cp-new .pq-top{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
.cp-new .pq-ic{ width:40px; height:40px; border-radius:12px; display:flex; align-items:center; justify-content:center; color:var(--o2); background:var(--hot-bg); flex:none; }
.cp-new .pq-t{ flex:1 1 200px; min-width:0; }
.cp-new .pq-t b{ display:block; font-size:16px; font-weight:800; color:var(--card-ink); letter-spacing:-.01em; }
.cp-new .pq-t small{ display:block; font-size:13px; color:var(--mu2); }
.cp-new .pq-x{ border:0; background:transparent; color:var(--mu2); font:inherit; font-size:13.5px; font-weight:700; cursor:pointer; min-height:44px; padding:0 6px; }
.cp-new .pq-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px 14px; }
.cp-new .pq-grid .w2{ grid-column:span 2; } .cp-new .pq-grid .w4{ grid-column:1/-1; }
.cp-new .pq .field{ background:var(--card-bg, #fff); }
.cp-theme-dark .cp-new .pq .field{ background:rgba(255,255,255,.06); }
.cp-new .pq.is-closed .pq-top{ margin-bottom:0; }
.cp-new .pq-sum{ display:flex; gap:18px; flex-wrap:wrap; font-size:13.5px; color:var(--mu); }
.cp-new .pq-sum b{ color:var(--card-ink); font-weight:800; }
.cp-new .add-prop{ margin-top:14px; width:100%; min-height:52px; border-radius:16px; border:1.5px dashed var(--soft-bd); background:transparent; color:var(--o2); font:inherit; font-size:14.5px; font-weight:800; cursor:pointer; }
.cp-new .goal-cards{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.cp-new .goal{ text-align:left; padding:16px; border-radius:16px; border:1px solid var(--soft-bd); background:var(--soft); color:var(--card-ink); font:inherit; cursor:pointer; display:flex; flex-direction:column; gap:4px; }
.cp-new .goal b{ font-size:15.5px; font-weight:800; }
.cp-new .goal span{ font-size:13px; color:var(--mu); line-height:1.5; }
.cp-new .goal[aria-pressed="true"]{ border-color:var(--o); box-shadow:0 0 0 2px rgba(249,88,44,.35); background:var(--hot-bg); }
.cp-new .qz-foot{ position:sticky; bottom:16px; z-index:5; display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; padding:16px 20px; border-radius:20px; }
.cp-new .qz-foot .prog-bar{ width:100%; max-width:360px; }
.cp-new .qz-foot small{ color:var(--mu); font-size:13px; }
.cp-new .ok-banner{ display:flex; gap:12px; align-items:center; padding:14px 18px; border-radius:16px; background:var(--good-bg); color:var(--good); font-weight:700; font-size:14.5px; }
.cp-new .ok-banner a{ margin-left:auto; color:inherit; font-weight:800; }

@media (max-width:900px){
  .cp-new .qz-grid{ grid-template-columns:1fr 1fr; } .cp-new .qz-grid .w2{ grid-column:1/-1; }
  .cp-new .pq-grid{ grid-template-columns:1fr 1fr; } .cp-new .pq-grid .w2{ grid-column:1/-1; }
  .cp-new .goal-cards{ grid-template-columns:1fr; }
  .cp-new .setup-row{ grid-template-columns:1fr; }
}
@media (max-width:760px){
  .cp-new .step-card{ grid-template-columns:auto minmax(0,1fr); padding:18px; gap:14px; }
  .cp-new .step-card .st-side{ grid-column:2; align-items:flex-start; flex-direction:row; }
  .cp-new .st-list{ grid-template-columns:1fr; }
  .cp-new .qz-sec{ padding:18px; }
  .cp-new .qz-grid{ grid-template-columns:1fr; }
  .cp-new .qz-grid .pair{ grid-column:auto; }
  .cp-new .qz-grid.two{ grid-template-columns:1fr 1fr; } .cp-new .qz-grid.two > div.qf{ grid-column:1/-1; } .cp-new .qz-grid.two > div.qf:empty{ display:none; } .cp-new .qz-grid.two .w2,.cp-new .qz-grid.two .w3{ grid-column:1/-1; }
  .cp-new .pq{ padding:14px; } .cp-new .pq-grid{ gap:12px 10px; }
  .cp-new .qz-grid .field,.cp-new .pq .field,.cp-new .qz-grid select.field{ font-size:16px; }
  .cp-new .qf > span{ white-space:normal; min-height:0; line-height:1.35; }
  .cp-new .pq-grid .qf > span{ white-space:nowrap; }
  .cp-new .pq-x{ margin-left:auto; }
  .cp-new .qz-foot .btn{ width:100%; justify-content:center; }
  .cp-new .qz-foot{ bottom:calc(76px + env(safe-area-inset-bottom,0px)); }
  .cp-new .lock-card{ padding:28px 20px; }
  .cp-new .lock-blur .lock-card{ top:40px; }
}
@media (max-width:760px){
  .cp-new .lock-blur img{ display:none; }
  .cp-new .lock-blur .lock-card{ position:static; transform:none; width:auto; }
  .cp-new .step-card .st-num{ grid-row:1 / span 2; }
  .cp-new .step-card .st-side{ grid-column:2; grid-row:1; }
  .cp-new .step-card .st-main{ grid-column:2; grid-row:2; }
}
.cp-new .qz [hidden],.cp-new .steps [hidden]{ display:none !important; }
.cp-new .qz-foot-l{ display:flex; flex-direction:column; gap:8px; flex:1 1 240px; min-width:0; }
.cp-new .qf-gap{ visibility:hidden; }
.cp-new .pq.is-closed .pq-body{ display:none; }
.cp-new .pq:not(.is-closed) .pq-sum{ display:none; }
.cp-new .pq[data-use="home"] .pq-inv,.cp-new .pq[data-use="holiday"] .pq-inv{ display:none; }
.cp-new .pq:not([data-repay="io"]) .pq-io{ display:none; }
.cp-new .pq-io,.cp-new .pq-inv{ display:contents; }
.cp-new .pq[data-use="investment"] .pq-inv,.cp-new .pq[data-repay="io"] .pq-io{ display:contents; }
.cp-new .pq[data-use="home"] .pq-inv,.cp-new .pq[data-use="holiday"] .pq-inv{ display:none; }
.cp-new .pq:not([data-repay="io"]) .pq-io{ display:none; }
.cp-new .pq-top .btn-sm{ min-height:40px; }
.cp-new .steps .st-text a{ color:var(--o2); font-weight:700; }
.toast-float{ position:fixed; left:50%; bottom:calc(100px + env(safe-area-inset-bottom,0px)); transform:translateX(-50%); z-index:80; max-width:calc(100% - 32px); box-shadow:0 18px 40px rgba(19,14,42,.28); }
/* planner lock */
.cp-new .lock-wrap{ position:relative; border-radius:24px; overflow:hidden; min-height:440px; display:flex; align-items:center; justify-content:center; padding:28px 16px; }
.cp-new .lock-ghost{ position:absolute; inset:0; display:grid; grid-template-columns:repeat(3,1fr); gap:16px; padding:16px; filter:blur(5px); opacity:.55; pointer-events:none; }
.cp-new .lock-ghost i{ display:block; border-radius:20px; background:var(--soft); border:1px solid var(--soft-bd); min-height:180px; }
.cp-new .lock-ghost i:nth-child(1){ grid-column:1/-1; min-height:90px; }
.cp-new .lock-wrap .lock-card{ position:relative; width:min(640px,100%); }
.cp-new .tool-card.is-locked{ opacity:.82; }
.cp-new .tool-card.is-locked .ib{ color:var(--mu); background:var(--mute-bg); }
.cp-new .tb-link .lk{ display:inline-flex; opacity:.55; }
.cp-new .tab.is-locked .tab-ico{ opacity:.5; }
@media (max-width:760px){ .cp-new .lock-ghost{ grid-template-columns:1fr; } .cp-new .lock-wrap{ min-height:0; padding:0; } .cp-new .lock-ghost{ display:none; } }

/* ===================== 0.4.5: Off-Market in the new look ===================== */
.cp-new .om-stats{ display:flex; flex-wrap:wrap; gap:8px; margin-top:-6px; }
.cp-new .om-stats span{ display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:999px; background:var(--soft); border:1px solid var(--soft-bd); font-size:13.5px; color:var(--mu); font-weight:600; }
.cp-new .om-stats b{ color:var(--card-ink); font-weight:800; }
.cp-new .om-stats .om-client{ color:var(--good); background:var(--good-bg); border-color:transparent; }
.cp-new .om-filters{ flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; padding:2px 2px 4px; margin:0 -2px; -webkit-overflow-scrolling:touch; }
.cp-new .om-filters::-webkit-scrollbar{ display:none; }
.cp-new .om-filters .chip{ flex:none; white-space:nowrap; min-height:44px; }
.cp-new .om-upgrade{ display:flex; align-items:center; gap:16px; padding:20px 22px; border-radius:22px; flex-wrap:wrap; }
.cp-new .om-up-ic{ width:46px; height:46px; border-radius:14px; display:flex; align-items:center; justify-content:center; color:var(--hot); background:var(--hot-bg); flex:none; }
.cp-new .om-up-t{ flex:1 1 280px; min-width:0; display:flex; flex-direction:column; gap:3px; }
.cp-new .om-up-t b{ font-size:15.5px; font-weight:800; color:var(--card-ink); line-height:1.35; }
.cp-new .om-up-t span{ font-size:14px; color:var(--mu); line-height:1.5; }
.cp-new .om-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.cp-new .om-card{ border-radius:22px; overflow:hidden; display:flex; flex-direction:column; padding:0; }
.cp-new .om-card.hide{ display:none; }
.cp-new .om-card.is-sold{ opacity:.72; }
.cp-new .om-media{ position:relative; aspect-ratio:16/9; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.cp-new .om-media .om-photo{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.cp-new .om-ph{ color:rgba(255,255,255,.55); }
.cp-new .om-t1{ background:linear-gradient(135deg,#3A2E66,#150E2E); } .cp-new .om-t2{ background:linear-gradient(135deg,#FF8A5B,#C9401A); } .cp-new .om-t3{ background:linear-gradient(135deg,#8A8578,#4B4638); } .cp-new .om-t4{ background:linear-gradient(135deg,#5B3DF5,#1D1440); } .cp-new .om-t5{ background:linear-gradient(135deg,#2E9E58,#14532D); }
.cp-new .om-pill{ position:absolute; top:14px; left:14px; box-shadow:0 6px 18px rgba(19,14,42,.18); }
.cp-new .om-media .tp-good{ background:rgba(255,255,255,.94); color:#1D7F47; } .cp-new .om-media .tp-hot{ background:#fff; color:#C9401A; } .cp-new .om-media .tp-warn{ background:#FFF4E2; color:#9A5B00; } .cp-new .om-media .tp-mute{ background:rgba(255,255,255,.9); color:#5D587A; }
.cp-new .om-eq{ position:absolute; top:14px; right:14px; font-size:12.5px; font-weight:700; color:#fff; background:rgba(19,14,42,.55); padding:6px 11px; border-radius:999px; backdrop-filter:blur(6px); }
.cp-new .om-body{ padding:18px 20px 20px; display:flex; flex-direction:column; gap:14px; flex:1; }
.cp-new .om-title{ margin:0; font-size:19px; font-weight:800; letter-spacing:-.02em; color:var(--card-ink); }
.cp-new .om-title span{ font-size:13.5px; font-weight:600; color:var(--mu2); letter-spacing:0; }
.cp-new .om-meta{ font-size:14px; color:var(--mu); margin-top:4px; }
.cp-new .om-addr{ display:flex; align-items:center; gap:6px; font-size:13.5px; font-weight:700; color:var(--card-ink); margin-top:6px; }
.cp-new .om-addr.is-locked{ color:var(--mu2); font-weight:600; }
.cp-new .om-nums{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; padding-top:14px; border-top:1px solid var(--soft-bd); }
.cp-new .om-nums i{ display:block; font-style:normal; font-size:11.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--mu2); }
.cp-new .om-nums b{ display:block; font-size:16px; font-weight:800; color:var(--card-ink); margin-top:3px; }
.cp-new .om-nums b.is-up{ color:var(--good); }
.cp-new .om-nums small{ font-size:12px; color:var(--mu2); }
.cp-new .om-checks{ display:flex; flex-wrap:wrap; gap:6px; }
.cp-new .om-checks span{ display:inline-flex; align-items:center; gap:5px; font-size:12.5px; font-weight:700; padding:5px 10px; border-radius:999px; color:var(--mu2); background:var(--mute-bg); }
.cp-new .om-checks span.ok{ color:var(--good); background:var(--good-bg); }
.cp-new .om-actions{ display:flex; gap:8px; flex-wrap:wrap; margin-top:auto; }
.cp-new .om-actions .btn,.cp-new .om-actions .btn2{ flex:1 1 140px; justify-content:center; min-height:44px; }
.cp-new .om-actions .btn.done{ background:var(--good-bg); color:var(--good); box-shadow:none; }
.cp-new .om-sold{ font-size:13.5px; font-weight:700; color:var(--mu2); }
.cp-new .empty-card b{ font-size:17px; font-weight:800; color:var(--card-ink); }
.cp-new .empty-card span{ color:var(--mu); font-size:14.5px; line-height:1.6; max-width:460px; }
.cp-new .lead-lock-toast .btn{ flex:none; }
@media (max-width:1100px){ .cp-new .om-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:680px){ .cp-new .om-grid{ grid-template-columns:1fr; } .cp-new .om-upgrade{ padding:18px; } .cp-new .om-upgrade .btn{ width:100%; justify-content:center; } }
.cp-new .om-nums i{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cp-new .om-nums b{ white-space:nowrap; }
@media (max-width:680px){ .cp-new .om-nums{ gap:8px; } .cp-new .om-nums b{ font-size:14.5px; } .cp-new .om-nums i{ font-size:10.5px; letter-spacing:.04em; } .cp-new .om-body{ padding:16px 16px 18px; } }

/* ===================== 0.4.7: sign in and create account ===================== */
.au{ min-height:100vh; min-height:100dvh; display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); background:var(--pg); }
.au-hero{ position:relative; overflow:hidden; color:#F5F4FB; background:radial-gradient(640px 520px at 0% 0%,rgba(249,88,44,.42),transparent 62%),radial-gradient(720px 560px at 100% 100%,rgba(91,61,245,.55),transparent 62%),linear-gradient(160deg,#16103A,#0B0820); display:flex; align-items:center; justify-content:center; padding:56px 48px; }
.au-hero::after{ content:""; position:absolute; inset:0; pointer-events:none; background-image:radial-gradient(rgba(255,255,255,.05) 1px,transparent 1px); background-size:4px 4px; }
.au-hero-in{ position:relative; z-index:1; width:min(540px,100%); display:flex; flex-direction:column; gap:22px; }
.au-top{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:18px; }
.au-brand{ display:inline-flex; align-items:center; gap:12px; color:#fff; text-decoration:none; font-size:14px; font-weight:800; letter-spacing:.2em; min-height:44px; }
.au-mark{ width:40px; height:40px; border-radius:12px; display:inline-flex; align-items:center; justify-content:center; background:#fff; box-shadow:0 8px 22px rgba(0,0,0,.25); flex:none; }
.au-mark img{ width:24px; height:24px; object-fit:contain; }
.au-mark-lg{ width:50px; height:50px; border-radius:15px; background:linear-gradient(180deg,#FF7448,#F9582C); box-shadow:0 12px 28px rgba(249,88,44,.35); }
.au-mark-lg img{ width:28px; height:28px; filter:brightness(0) invert(1); }
.au-trust{ font-size:13px; font-weight:600; color:#E9E7F5; padding:9px 14px; border-radius:999px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); }
.au-stars{ color:#FFB23E; letter-spacing:2px; }
.au-eb{ font-size:12px; font-weight:800; letter-spacing:.2em; text-transform:uppercase; color:#FF9B78; }
.au-h1{ margin:0; font-size:clamp(38px,4.6vw,60px); line-height:1; font-weight:800; letter-spacing:-.045em; color:#fff; text-wrap:balance; }
.au-h1 .grad{ background:linear-gradient(90deg,#FF8A5B,#F9582C); -webkit-background-clip:text; background-clip:text; color:transparent; }
.au-p{ margin:0; font-size:17px; line-height:1.65; color:#C9C5E4; max-width:48ch; }
.au-stats{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; padding-top:22px; margin-top:6px; border-top:1px solid rgba(255,255,255,.12); }
.au-stats b{ display:block; font-size:30px; font-weight:800; letter-spacing:-.03em; color:#fff; }
.au-stats b i{ font-style:normal; color:#F9582C; }
.au-stats span{ display:block; font-size:13px; color:#B9B6D3; line-height:1.45; margin-top:4px; }
.au-list{ list-style:none; margin:6px 0 0; padding:0; display:flex; flex-direction:column; gap:12px; }
.au-list li{ display:flex; gap:12px; align-items:flex-start; font-size:15px; line-height:1.55; color:#C9C5E4; }
.au-list li svg{ flex:none; width:26px; height:26px; padding:5px; border-radius:9px; color:#7FE0A5; background:rgba(95,207,140,.14); margin-top:-1px; }
.au-list b{ color:#fff; font-weight:700; }
.au-main{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; padding:48px 28px; }
.au-card{ width:min(460px,100%); background:#fff; border:1px solid rgba(19,14,42,.07); border-radius:26px; padding:34px 32px 28px; box-shadow:0 1px 2px rgba(19,14,42,.04),0 24px 60px rgba(19,14,42,.09); color:#130E2A; }
.au-card-h{ display:flex; align-items:center; gap:14px; margin-bottom:22px; }
.au-card-h h2{ margin:0; font-size:22px; font-weight:800; letter-spacing:-.025em; }
.au-card-h p{ margin:2px 0 0; font-size:14px; color:var(--mu); }
.au-msg{ border-radius:14px; padding:12px 14px; font-size:14px; font-weight:600; line-height:1.5; margin-bottom:16px; }
.au-msg.is-ok{ background:var(--good-bg); color:var(--good); } .au-msg.is-err{ background:var(--hot-bg); color:var(--hot); }
.au-form{ display:flex; flex-direction:column; gap:16px; }
.au-f{ display:flex; flex-direction:column; gap:8px; min-width:0; }
.au-f > span{ font-size:12.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--mu); }
.au-f > span em{ font-style:normal; text-transform:none; letter-spacing:0; font-weight:600; color:var(--mu2); margin-left:4px; }
.au-in{ width:100%; height:52px; border-radius:14px; border:1px solid rgba(19,14,42,.12); background:#F8F6F1; color:#130E2A; font:inherit; font-size:16px; padding:0 16px; outline:none; transition:border-color .15s, box-shadow .15s; }
.au-in::placeholder{ color:#9A96B0; }
.au-in:focus{ border-color:#F9582C; box-shadow:0 0 0 3px rgba(249,88,44,.18); background:#fff; }
.au-pw{ position:relative; display:block; } .au-pw .au-in{ padding-right:52px; }
.au-eye{ position:absolute; right:4px; top:4px; width:44px; height:44px; border:0; border-radius:10px; background:transparent; color:var(--mu2); cursor:pointer; display:flex; align-items:center; justify-content:center; }
.au-eye.on{ color:#F9582C; }
.au-two{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.au-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; font-size:14px; }
.au-row a,.au-alt a{ color:var(--o2); font-weight:700; text-decoration:none; }
.au-check{ display:inline-flex; align-items:flex-start; gap:10px; font-size:14px; color:var(--mu); line-height:1.5; cursor:pointer; min-height:28px; }
.au-check input{ width:18px; height:18px; accent-color:#F9582C; margin:1px 0 0; flex:none; }
.au-btn{ width:100%; justify-content:center; min-height:54px; font-size:16px; border-radius:14px; margin-top:2px; }
.au-alt{ text-align:center; font-size:14.5px; color:var(--mu); margin-top:20px; }
.au-small{ margin:0; font-size:12.5px; color:var(--mu2); line-height:1.5; text-align:center; }
.au-hp{ position:absolute !important; left:-9999px; width:1px; height:1px; opacity:0; }
.au-chips-in{ display:flex; flex-wrap:wrap; gap:8px; }
.au-chip{ position:relative; cursor:pointer; }
.au-chip input{ position:absolute; opacity:0; width:1px; height:1px; }
.au-chip span{ display:inline-flex; align-items:center; min-height:44px; padding:0 16px; border-radius:999px; border:1px solid rgba(19,14,42,.12); background:#F8F6F1; font-size:14px; font-weight:700; color:#130E2A; }
.au-chip input:checked + span{ background:#130E2A; border-color:#130E2A; color:#fff; }
.au-chip input:focus-visible + span{ box-shadow:0 0 0 3px rgba(249,88,44,.35); }
.au-chips{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.au-chips span{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:600; color:var(--mu); padding:7px 12px; border-radius:999px; background:rgba(19,14,42,.04); border:1px solid rgba(19,14,42,.07); }
/* dark appearance */
.cp-theme-dark .au-card{ background:linear-gradient(160deg,rgba(255,255,255,.12),rgba(255,255,255,.05)); border-color:rgba(255,255,255,.16); color:#F5F4FB; box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 24px 60px rgba(0,0,0,.4); }
.cp-theme-dark .au-in{ background:#17162A; border-color:#383648; color:#F5F4FB; }
.cp-theme-dark .au-in:focus{ background:#1C1A33; }
.cp-theme-dark .au-chip span{ background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.14); color:#F5F4FB; }
.cp-theme-dark .au-chip input:checked + span{ background:#F5F4FB; border-color:#F5F4FB; color:#06041A; }
.cp-theme-dark .au-chips span{ background:rgba(255,255,255,.05); border-color:rgba(255,255,255,.1); }
.cp-theme-dark .au-main{ background:radial-gradient(600px 400px at 100% 0%,rgba(91,61,245,.18),transparent 60%); }
/* tablets and phones: a short brand band, then the form */
@media (max-width:980px){
  .au{ grid-template-columns:1fr; }
  .au-hero{ padding:28px 20px 30px; }
  .au-top{ margin-bottom:6px; }
  .au-hero-in{ gap:14px; }
  .au-h1{ font-size:clamp(30px,8vw,40px); }
  .au-p{ font-size:15.5px; }
  .au-stats{ display:none; }
  .au-list{ gap:8px; } .au-list li{ font-size:14px; }
  .au-main{ padding:22px 16px 36px; justify-content:flex-start; }
}
@media (max-width:560px){
  .au-trust{ display:none; }
  .au-card{ padding:24px 18px 22px; border-radius:22px; }
  .au-card-h h2{ font-size:20px; }
  .is-register .au-list li:nth-child(3){ display:none; }
  .au-two{ grid-template-columns:1fr; }
}
