:root{
    --ink:#132621; --sand:#FBFAF5; --card:#FFFFFF; --teal:#0E6E5C; --teal-dark:#0A5748;
    --coral:#E07A46; --green:#1B9C6E; --green-bg:#E7F4EE; --muted:#5F6E68; --hint:#95A19B;
    --line:#ECE7DD; --teal-bg:#E6F0EC; --sand-2:#F3EFE6;
    --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    --serif:"Fraunces",Georgia,"Times New Roman",serif;
  }
  *{box-sizing:border-box;-webkit-tap-highlight-color:transparent;margin:0;padding:0}
  html,body{height:100%}
  body{font-family:var(--font);color:var(--ink);background:var(--sand-2);
    display:flex;align-items:center;justify-content:center;line-height:1.5;
    -webkit-font-smoothing:antialiased}

  /* ---- shell: mobile-first single column; sidebar appears on wider screens ---- */
  .app{position:relative;width:100%;height:100vh;height:100dvh;background:var(--sand);
    overflow:hidden;display:flex;flex-direction:column}
  .content{flex:1;display:flex;flex-direction:column;min-height:0;overflow:hidden}
  .sidebar{display:none}

  .scroll{flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}
  .scroll::-webkit-scrollbar{width:0}

  /* ---- screens ---- */
  .screen{display:none;flex-direction:column;flex:1;min-height:0;animation:fade .28s ease}
  .screen.active{display:flex}
  @keyframes fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

  /* ---- top bar ---- */
  .top{padding:calc(env(safe-area-inset-top) + 18px) 20px 12px;background:var(--sand);
    position:sticky;top:0;z-index:20}
  .brand{display:flex;align-items:center;gap:9px}
  .brand .mark{width:32px;height:32px;border-radius:5px;background:var(--teal);
    display:flex;align-items:center;justify-content:center}
  .brand .mark svg{width:18px;height:18px;stroke:#fff}
  .brand h1{font-family:var(--serif);font-weight:600;font-size:22px;letter-spacing:.5px;line-height:1}
  .wordmark span{display:block;font-size:10.5px;color:var(--muted);letter-spacing:.3px;margin-top:1px}
  .brand .loc{margin-left:auto;display:flex;align-items:center;gap:4px;font-size:13px;color:var(--muted)}
  .brand .loc svg{width:14px;height:14px;stroke:var(--teal)}

  /* ---- search + filters ---- */
  .search-row{display:flex;align-items:center;gap:8px;margin:14px 16px 0}
  .search{flex:1;display:flex;align-items:center;gap:10px;background:#fff;
    border:1px solid var(--line);border-radius:6px;padding:11px 13px}
  .search svg{width:18px;height:18px;stroke:var(--hint);flex-shrink:0}
  .search span{font-size:14px;color:var(--hint)}
  .view-toggle{display:flex;align-items:center;gap:6px;background:var(--ink);color:#fff;border:none;
    border-radius:6px;padding:0 14px;height:44px;font-size:13px;font-weight:600;cursor:pointer;font-family:var(--font);white-space:nowrap}
  .view-toggle svg{width:17px;height:17px;stroke:#fff}
  .chips{display:flex;gap:7px;padding:12px 16px 6px;overflow-x:auto}
  .chips::-webkit-scrollbar{height:0}
  .chip{white-space:nowrap;font-size:13px;padding:7px 13px;border-radius:5px;
    border:1px solid var(--line);background:#fff;color:var(--muted);cursor:pointer;transition:.15s}
  .chip.on{background:var(--teal);color:#fff;border-color:var(--teal);font-weight:600}

  /* ---- feed layout + map ---- */
  .feed-wrap{flex:1;display:flex;min-height:0;position:relative}
  .feed-scroll{flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}
  .feed-scroll::-webkit-scrollbar{width:0}
  .feed-map{position:fixed;inset:0;z-index:45;display:none;background:var(--sand)}
  .app.map-open .feed-map{display:block}
  #map{width:100%;height:100%}
  .map-close{position:absolute;top:calc(env(safe-area-inset-top) + 14px);left:50%;transform:translateX(-50%);
    z-index:1000;display:flex;align-items:center;gap:7px;background:var(--ink);color:#fff;border:none;
    border-radius:6px;padding:10px 18px;font-size:13px;font-weight:600;cursor:pointer;font-family:var(--font);
    box-shadow:0 4px 16px rgba(0,0,0,.28)}
  .map-close svg{width:16px;height:16px;stroke:#fff}
  /* price markers on the map (house icon + pointer tail) */
  .yad-pin{background:transparent;border:none}
  .ypin{position:absolute;left:0;top:0;transform:translate(-50%,-100%);
    display:flex;flex-direction:column;align-items:center;cursor:pointer;transition:transform .12s}
  .ypin:hover{transform:translate(-50%,-100%) scale(1.07);z-index:1000}
  .ypin-body{display:inline-flex;align-items:center;gap:5px;background:#fff;border:1.5px solid var(--ink);
    color:var(--ink);font-family:var(--font);font-weight:700;font-size:12.5px;line-height:1;
    padding:5px 9px;border-radius:6px;white-space:nowrap;box-shadow:0 3px 9px rgba(15,28,24,.32)}
  .ypin-ico{width:13px;height:13px;stroke:var(--teal);fill:none;stroke-width:2}
  .ypin-tip{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;
    border-top:7px solid var(--ink);margin-top:-1px}
  .ypin:hover .ypin-body,.ypin.active .ypin-body{background:var(--teal);border-color:var(--teal);color:#fff}
  .ypin:hover .ypin-ico,.ypin.active .ypin-ico{stroke:#fff}
  .ypin:hover .ypin-tip,.ypin.active .ypin-tip{border-top-color:var(--teal)}
  .leaflet-popup-content{margin:0;font-family:var(--font)}
  .map-pop{width:190px;cursor:pointer}
  .map-pop .mp-photo{height:96px}
  .map-pop .mp-body{padding:8px 10px 10px}
  .map-pop .mp-price{font-size:15px;font-weight:800}
  .map-pop .mp-title{font-size:12px;color:var(--muted);margin-top:2px;line-height:1.3}

  /* ---- listing cards (price-on-photo, squared, business style) ---- */
  .feed{padding:8px 16px 24px}
  .card{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;
    margin-bottom:14px;cursor:pointer;transition:.15s}
  .card:active{transform:scale(.99)}
  .photo{height:190px;position:relative;overflow:hidden}
  .photo .ph-ico{position:absolute;top:44%;left:50%;transform:translate(-50%,-50%);
    width:38px;height:38px;stroke:rgba(255,255,255,.5);stroke-width:1.5}
  .photo::after{content:"";position:absolute;left:0;right:0;bottom:0;height:62%;
    background:linear-gradient(transparent,rgba(15,28,24,.78));pointer-events:none}
  /* squared status tags, top-left */
  .tags{position:absolute;top:10px;left:10px;z-index:2;display:flex;gap:6px}
  .tag{display:inline-flex;align-items:center;gap:4px;border-radius:3px;padding:4px 9px;
    font-size:11px;font-weight:600;letter-spacing:.3px;text-transform:uppercase;color:#fff;background:var(--teal)}
  .tag.rent{background:var(--coral)}
  .tag.verify{background:rgba(255,255,255,.94);color:var(--teal-dark)}
  .tag.verify svg{width:12px;height:12px;stroke:var(--green)}
  .count{position:absolute;top:10px;right:10px;z-index:2;background:rgba(15,28,24,.55);color:#fff;
    border-radius:3px;padding:4px 8px;font-size:11px;display:flex;align-items:center;gap:4px}
  .count svg{width:12px;height:12px;stroke:#fff}
  /* price sits on the image */
  .photo-price{position:absolute;left:12px;bottom:11px;z-index:2;color:#fff;line-height:1.15}
  .photo-price .p-main{font-family:var(--font);font-size:21px;font-weight:800;letter-spacing:-.3px}
  .photo-price .p-main small{font-size:11px;font-weight:500;opacity:.9}
  .photo-price .p-usd{display:block;font-size:11.5px;font-weight:500;opacity:.85;margin-top:1px}
  .photo .fav{position:absolute;right:10px;bottom:11px;z-index:2;width:32px;height:32px;border:none;
    background:rgba(15,28,24,.4);border-radius:5px;display:flex;align-items:center;justify-content:center;cursor:pointer}
  .photo .fav svg{width:18px;height:18px;stroke:#fff;fill:none}
  .photo .fav.on svg{fill:var(--coral);stroke:var(--coral)}
  /* card body: title, address, specs line */
  .card-body{padding:11px 13px 13px}
  .card-body h3{font-size:14.5px;font-weight:600;margin:0 0 3px;color:var(--ink);line-height:1.3}
  .meta{font-size:12.5px;color:var(--muted);display:flex;align-items:center;gap:4px;margin-bottom:9px}
  .meta svg{width:13px;height:13px;stroke:var(--muted);flex-shrink:0}
  .specs-line{display:flex;align-items:center;gap:0;border-top:1px solid var(--line);padding-top:9px;
    font-size:12.5px;color:var(--ink)}
  .specs-line span{display:flex;align-items:center;gap:5px;padding-right:12px;margin-right:12px;
    border-right:1px solid var(--line)}
  .specs-line span:last-child{border-right:none;margin-right:0;padding-right:0}
  .specs-line svg{width:15px;height:15px;stroke:var(--muted)}
  /* legacy price class (detail, rows) — now bold sans */
  .price{font-family:var(--font);font-size:22px;font-weight:800;letter-spacing:-.4px}
  .price small{font-family:var(--font);font-size:12px;color:var(--muted);font-weight:500}
  .price-row{display:flex;align-items:baseline;justify-content:space-between}
  .usd{font-size:12px;color:var(--hint)}

  /* feed meta count row */
  .feed-count{padding:2px 18px 4px;font-size:12.5px;color:var(--muted);font-weight:500}

  /* ---- mobile bottom nav ---- */
  .mobilebar{display:flex;justify-content:space-around;padding:9px 0 calc(env(safe-area-inset-bottom) + 9px);
    border-top:1px solid var(--line);background:var(--sand);z-index:30}
  .tab{background:none;border:none;padding:6px 14px;cursor:pointer;display:flex;flex-direction:column;
    align-items:center;gap:3px;color:var(--hint);font-size:10px;font-family:var(--font)}
  .tab svg{width:23px;height:23px;stroke:var(--hint);fill:none;stroke-width:1.8}
  .tab.on{color:var(--teal)}
  .tab.on svg{stroke:var(--teal)}
  /* hide bottom bar on pushed (non-tab) screens */
  .app[data-screen="detail"] .mobilebar,
  .app[data-screen="verify"] .mobilebar,
  .app[data-screen="schedule"] .mobilebar,
  .app[data-screen="success"] .mobilebar{display:none}

  /* ---- sidebar (shown on tablet/desktop) ---- */
  .side-brand{display:flex;align-items:center;gap:10px;padding:6px 10px 20px}
  .side-brand .mark{width:34px;height:34px;border-radius:5px;background:var(--teal);
    display:flex;align-items:center;justify-content:center;flex-shrink:0}
  .side-brand .mark svg{width:19px;height:19px;stroke:#fff}
  .side-brand h1{font-family:var(--serif);font-weight:600;font-size:22px;letter-spacing:.5px;line-height:1}
  .side-brand .wordmark span{display:block;font-size:10px;color:var(--muted);margin-top:2px}
  .side-nav{display:flex;flex-direction:column;gap:2px}
  .snav{display:flex;align-items:center;gap:12px;padding:11px 12px;border:none;background:none;cursor:pointer;
    border-radius:6px;font-size:14.5px;color:var(--muted);font-family:var(--font);text-align:left;width:100%;transition:.12s}
  .snav svg{width:21px;height:21px;stroke:var(--muted);fill:none;stroke-width:1.8}
  .snav:hover{background:var(--sand-2)}
  .snav.on{background:var(--teal-bg);color:var(--teal-dark);font-weight:500}
  .snav.on svg{stroke:var(--teal-dark)}
  .side-foot{margin-top:auto;padding:12px;font-size:11px;color:var(--hint);display:flex;align-items:center;gap:7px}
  .side-foot .dot{width:7px;height:7px;border-radius:50%;background:var(--green)}

  /* ---- detail ---- */
  .pill{display:inline-flex;align-items:center;gap:5px;background:rgba(255,255,255,.94);border-radius:4px;
    padding:5px 10px;font-size:12px;font-weight:600;color:var(--ink)}
  .pill svg{width:14px;height:14px}
  .pill.verify svg{stroke:var(--green)}
  .hero{height:280px;position:relative;display:flex;align-items:flex-end;padding:16px}
  .back{position:absolute;top:calc(env(safe-area-inset-top) + 14px);left:16px;width:38px;height:38px;
    border-radius:50%;background:#fff;border:none;display:flex;align-items:center;justify-content:center;
    cursor:pointer;box-shadow:0 2px 10px rgba(19,38,33,.15)}
  .back svg{width:20px;height:20px;stroke:var(--ink)}
  .detail-body{padding:20px}
  .detail-body .price{font-size:28px}
  .detail-body .usd{font-size:13px}
  .dtitle{font-size:19px;font-weight:500;margin:8px 0 4px;letter-spacing:-.2px}
  .specs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
  .spec{font-size:13px;color:var(--muted);background:var(--sand-2);border-radius:5px;
    padding:8px 12px;display:flex;align-items:center;gap:6px}
  .spec svg{width:16px;height:16px;stroke:var(--muted)}
  .divider{height:1px;background:var(--line);margin:4px 0}
  .landlord{display:flex;align-items:center;gap:12px;padding:16px 0}
  .avatar{width:42px;height:42px;border-radius:50%;background:var(--teal-bg);color:var(--teal-dark);
    display:flex;align-items:center;justify-content:center;font-weight:500;font-size:14px;flex-shrink:0}
  .landlord .n{font-size:14px;font-weight:500;display:flex;align-items:center;gap:5px}
  .landlord .n svg{width:15px;height:15px;stroke:var(--green)}
  .landlord .s{font-size:12px;color:var(--hint)}
  .landlord .msg{margin-left:auto;width:40px;height:40px;border-radius:6px;border:1px solid var(--line);
    background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
  .landlord .msg svg{width:19px;height:19px;stroke:var(--muted)}
  .about{font-size:14px;color:var(--muted);line-height:1.65;padding:14px 0}
  .amen{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;padding:6px 0 20px}
  .amen div{font-size:13.5px;color:var(--ink);display:flex;align-items:center;gap:8px}
  .amen svg{width:16px;height:16px;stroke:var(--teal)}

  /* ---- sticky CTA footer ---- */
  .cta-bar{padding:14px 20px calc(env(safe-area-inset-bottom) + 14px);border-top:1px solid var(--line);
    background:var(--sand)}
  .btn{width:100%;height:52px;border:none;border-radius:6px;background:var(--teal);color:#fff;
    font-family:var(--font);font-size:16px;font-weight:500;cursor:pointer;display:flex;
    align-items:center;justify-content:center;gap:8px;transition:.15s}
  .btn:active{transform:scale(.985);background:var(--teal-dark)}
  .btn svg{width:19px;height:19px;stroke:#fff}
  .btn.ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}
  .btn.ghost svg{stroke:var(--ink)}
  .lockline{font-size:12px;color:var(--hint);text-align:center;margin-top:11px;
    display:flex;align-items:center;justify-content:center;gap:6px}
  .lockline svg{width:13px;height:13px;stroke:var(--hint)}

  /* ---- generic sub-header ---- */
  .subhead{display:flex;align-items:center;gap:10px;padding:calc(env(safe-area-inset-top) + 18px) 20px 8px}
  .subhead .back{position:static;box-shadow:none;border:1px solid var(--line);width:36px;height:36px}
  .subhead h2{font-size:16px;font-weight:500}

  /* ---- verification ---- */
  .prog{display:flex;gap:5px;padding:6px 20px 4px}
  .prog i{flex:1;height:4px;border-radius:8px;background:var(--line)}
  .prog i.on{background:var(--teal)}
  .pstep{font-size:12px;color:var(--hint);padding:0 20px 16px}
  .vbody{padding:4px 20px 20px}
  .vbody h3{font-size:20px;font-weight:500;font-family:var(--serif);margin-bottom:5px}
  .vbody .lead{font-size:14px;color:var(--muted);line-height:1.55;margin-bottom:20px}
  .field{margin-bottom:14px}
  .field label{display:block;font-size:13px;color:var(--muted);margin-bottom:6px}
  .field input{width:100%;height:48px;border:1px solid var(--line);border-radius:6px;padding:0 14px;
    font-size:15px;font-family:var(--font);background:#fff;color:var(--ink)}
  .field input:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-bg)}
  .drop{border:1.5px dashed #D8D2C4;border-radius:6px;padding:26px 16px;text-align:center;cursor:pointer;
    margin-bottom:12px;transition:.15s;background:#fff}
  .drop:active{border-color:var(--teal);background:var(--teal-bg)}
  .drop svg{width:28px;height:28px;stroke:var(--hint);margin-bottom:8px}
  .drop .t{font-size:14px;font-weight:500}
  .drop .h{font-size:12px;color:var(--hint);margin-top:2px}
  .done{border:1px solid var(--green);background:var(--green-bg);border-radius:6px;padding:15px;
    display:flex;align-items:center;gap:12px;margin-bottom:12px}
  .done svg.chk{width:26px;height:26px;stroke:var(--green);flex-shrink:0}
  .done .t{font-size:14px;font-weight:500}
  .done .s{font-size:12px;color:var(--green)}
  .done svg.re{width:17px;height:17px;stroke:var(--muted);margin-left:auto;cursor:pointer}
  .review-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}
  .review-row svg{width:20px;height:20px;stroke:var(--green)}
  .review-row .t{font-size:14px;font-weight:500}
  .review-row .s{font-size:12px;color:var(--hint)}

  /* ---- success ---- */
  .success{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
    text-align:center;padding:40px 32px}
  .success .ring{width:88px;height:88px;border-radius:50%;background:var(--green-bg);
    display:flex;align-items:center;justify-content:center;margin-bottom:24px}
  .success .ring svg{width:44px;height:44px;stroke:var(--green);stroke-width:2.2}
  .success h2{font-family:var(--serif);font-size:26px;font-weight:500;margin-bottom:10px}
  .success p{font-size:15px;color:var(--muted);line-height:1.6;max-width:280px}

  /* ---- scheduling ---- */
  .sched-body{padding:6px 20px 20px}
  .sched-body h3{font-size:15px;font-weight:500;margin:18px 0 10px}
  .days{display:flex;gap:9px;overflow-x:auto;padding-bottom:4px}
  .days::-webkit-scrollbar{height:0}
  .day{flex-shrink:0;width:58px;padding:12px 0;border:1px solid var(--line);border-radius:6px;
    text-align:center;cursor:pointer;background:#fff;transition:.15s}
  .day.on{background:var(--teal);border-color:var(--teal);color:#fff}
  .day .dow{font-size:11px;color:inherit;opacity:.7}
  .day .dnum{font-size:18px;font-weight:500;font-family:var(--serif);margin-top:2px}
  .slots{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px}
  .slot{padding:12px 0;border:1px solid var(--line);border-radius:6px;text-align:center;font-size:13px;
    cursor:pointer;background:#fff;transition:.15s}
  .slot.on{background:var(--teal);border-color:var(--teal);color:#fff;font-weight:500}
  .listing-mini{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);
    border-radius:6px;padding:12px;margin-top:4px}
  .listing-mini .thumb{width:52px;height:52px;border-radius:6px;flex-shrink:0}
  .listing-mini .mt{font-size:14px;font-weight:500}
  .listing-mini .ms{font-size:12px;color:var(--muted);font-family:var(--serif)}

  /* ---- save heart on detail ---- */
  .save{position:absolute;top:calc(env(safe-area-inset-top) + 14px);right:16px;width:38px;height:38px;
    border-radius:50%;background:#fff;border:none;display:flex;align-items:center;justify-content:center;
    cursor:pointer;box-shadow:0 2px 10px rgba(19,38,33,.15)}
  .save svg{width:20px;height:20px;stroke:var(--ink);fill:none}
  .save.on svg{stroke:var(--coral);fill:var(--coral)}
  .hero .count{position:static;margin-left:auto}

  /* ---- section title inside tab screens ---- */
  .page-head{padding:calc(env(safe-area-inset-top) + 22px) 20px 6px}
  .page-head h2{font-family:var(--font);font-size:22px;font-weight:700;letter-spacing:-.4px}
  .page-head p{font-size:13px;color:var(--muted);margin-top:2px}

  /* ---- empty states ---- */
  .empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
    text-align:center;padding:60px 40px;gap:14px}
  .empty .eic{width:64px;height:64px;border-radius:50%;background:var(--sand-2);display:flex;
    align-items:center;justify-content:center}
  .empty .eic svg{width:28px;height:28px;stroke:var(--hint)}
  .empty h3{font-size:16px;font-weight:500}
  .empty p{font-size:13.5px;color:var(--muted);max-width:250px;line-height:1.55}
  .empty button{margin-top:6px;height:44px;padding:0 22px;border-radius:6px;background:var(--teal);
    color:#fff;border:none;font-size:14px;font-weight:500;font-family:var(--font);cursor:pointer}

  /* ---- saved: compact rows ---- */
  .srow{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid var(--line);
    border-radius:8px;padding:11px;margin-bottom:12px;cursor:pointer}
  .srow .sth{width:66px;height:66px;border-radius:6px;flex-shrink:0;position:relative}
  .srow .sth svg{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:20px;height:20px;stroke:rgba(255,255,255,.6)}
  .srow .si{flex:1;min-width:0}
  .srow .sp{font-family:var(--serif);font-size:18px;font-weight:500}
  .srow .sp small{font-family:var(--font);font-size:11px;color:var(--muted)}
  .srow .snm{font-size:13.5px;font-weight:500;margin:2px 0 1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .srow .slc{font-size:12px;color:var(--muted)}
  .srow .unsave{width:34px;height:34px;flex-shrink:0;border:none;background:none;cursor:pointer;display:flex;align-items:center;justify-content:center}
  .srow .unsave svg{width:20px;height:20px;stroke:var(--coral);fill:var(--coral)}

  /* ---- calendar ---- */
  .cal{margin:8px 20px 0;background:#fff;border:1px solid var(--line);border-radius:8px;padding:16px}
  .cal-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
  .cal-top .m{font-size:15px;font-weight:500}
  .cal-top button{width:32px;height:32px;border-radius:5px;border:1px solid var(--line);background:#fff;
    cursor:pointer;display:flex;align-items:center;justify-content:center}
  .cal-top button svg{width:16px;height:16px;stroke:var(--muted)}
  .cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center}
  .cal-grid .dh{font-size:11px;color:var(--hint);padding:4px 0;font-weight:500}
  .cal-cell{aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
    font-size:13px;color:var(--ink);border-radius:5px;position:relative}
  .cal-cell.muted{color:#CFCabb}
  .cal-cell.today{background:var(--sand-2);font-weight:600}
  .cal-cell.has{color:var(--teal-dark);font-weight:600}
  .cal-cell .dot{width:5px;height:5px;border-radius:50%;background:var(--teal);position:absolute;bottom:5px}

  /* ---- viewing list items ---- */
  .vlist{padding:18px 20px 24px}
  .vlist h3{font-size:13px;color:var(--muted);font-weight:500;margin:6px 0 12px;text-transform:none}
  .vitem{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid var(--line);
    border-radius:8px;padding:13px;margin-bottom:12px}
  .vitem .vd{width:52px;height:52px;border-radius:6px;background:var(--teal-bg);flex-shrink:0;
    display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--teal-dark)}
  .vitem .vd .vm{font-size:10px;text-transform:uppercase;letter-spacing:.5px}
  .vitem .vd .vn{font-size:19px;font-weight:600;font-family:var(--serif);line-height:1}
  .vitem .vi{flex:1;min-width:0}
  .vitem .vt{font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .vitem .vs{font-size:12.5px;color:var(--muted);margin-top:1px}
  .badge{font-size:11px;font-weight:500;padding:4px 10px;border-radius:8px;white-space:nowrap}
  .badge.pending{background:#FBEEDD;color:#B26A20}
  .badge.confirmed{background:var(--green-bg);color:var(--green)}

  /* ---- profile ---- */
  .prof-top{display:flex;flex-direction:column;align-items:center;text-align:center;padding:12px 20px 20px}
  .prof-av{width:76px;height:76px;border-radius:50%;background:var(--teal-bg);color:var(--teal-dark);
    display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:600;font-family:var(--font);margin-bottom:12px}
  .prof-av.guest{background:var(--sand-2)}
  .prof-av.guest svg{width:38px;height:38px;stroke:var(--hint);fill:none;stroke-width:1.8}
  .prof-name{font-size:19px;font-weight:600}
  .prof-sub{font-size:12.5px;color:var(--hint);margin-top:3px}
  .prof-status{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;padding:5px 12px;
    border-radius:8px;margin-top:8px}
  .prof-status.yes{background:var(--green-bg);color:var(--green)}
  .prof-status.yes svg{width:14px;height:14px;stroke:var(--green)}
  .prof-status.no{background:#FBEEDD;color:#B26A20}
  .verify-card{margin:0 20px 20px;background:var(--teal);border-radius:8px;padding:18px;color:#fff;
    display:flex;align-items:center;gap:14px;cursor:pointer}
  .verify-card svg{width:30px;height:30px;stroke:#fff;flex-shrink:0}
  .verify-card .vt{font-size:15px;font-weight:500}
  .verify-card .vs{font-size:12.5px;opacity:.85;margin-top:2px}
  .plist{margin:0 20px}
  .prow{display:flex;align-items:center;gap:14px;padding:15px 0;border-bottom:1px solid var(--line);cursor:pointer}
  .prow:last-child{border-bottom:none}
  .prow>svg:first-child{width:21px;height:21px;stroke:var(--muted);flex-shrink:0}
  .prow .pl{flex:1;font-size:14.5px}
  .prow .pv{font-size:13px;color:var(--hint)}
  .prow .chev{width:17px;height:17px;stroke:var(--hint)}

  .placeholder-note{text-align:center;font-size:12px;color:var(--hint);padding:30px 20px}

  /* ===================================================================
     TABLET & DESKTOP  (>= 768px)
     Sidebar nav on the left, grid feed, centered content columns.
     =================================================================== */
  @media(min-width:768px){
    .app{flex-direction:row}
    .mobilebar{display:none}

    .sidebar{display:flex;flex-direction:column;width:240px;flex-shrink:0;
      border-right:1px solid var(--line);background:var(--sand);padding:22px 14px}
    .content{flex:1;min-width:0}

    /* feed becomes a responsive grid */
    #feed{max-width:1120px;margin:0 auto;width:100%;display:grid;
      grid-template-columns:repeat(auto-fill,minmax(272px,1fr));gap:22px;padding:14px 36px 44px}
    #feed .card{margin-bottom:0}
    .top{max-width:1120px;margin:0 auto;width:100%;padding:26px 36px 6px}
    .top .brand{display:none}          /* brand lives in the sidebar now */
    .search-row{max-width:580px}
    .chips{max-width:1120px;margin:0 auto;width:100%;padding:16px 36px 6px}

    /* focused / task screens sit in a comfortable centered column */
    .page-head,.detail-body,.vbody,.sched-body,.subhead,.prog,.pstep,
    .prof-top,.plist,#pf-verifycard,.verify-card,.vlist,.cal,#saved-list,.cta-bar,.success{
      max-width:660px;margin-left:auto;margin-right:auto;width:100%}
    .page-head,.subhead{padding-top:30px}

    /* detail hero as a contained rounded image, not full-bleed */
    .hero{max-width:700px;margin:26px auto 0;height:380px;border-radius:8px;overflow:hidden}

    /* action bars: no top divider, just breathing room */
    .cta-bar{border-top:none;background:transparent;padding-top:18px;padding-bottom:30px}

    /* a little more polish on hover for cards & rows on desktop */
    .card{transition:transform .15s, box-shadow .15s}
    .card:hover{transform:translateY(-3px);box-shadow:0 14px 30px -18px rgba(19,38,33,.4)}
    .srow:hover{border-color:var(--teal)}
  }

  /* ===================================================================
     DESKTOP SPLIT  (>= 1024px): list on the left, map fixed on the right
     =================================================================== */
  @media(min-width:1024px){
    .feed-wrap{flex-direction:row}
    .feed-scroll{flex:1}
    .feed-map{position:relative;inset:auto;display:block;width:42%;min-width:380px;max-width:640px;
      flex-shrink:0;border-left:1px solid var(--line);z-index:1}
    .view-toggle{display:none}
    .map-close{display:none}
    /* list column fills its space, no centering */
    #feed{max-width:none;margin:0;grid-template-columns:repeat(auto-fill,minmax(238px,1fr));padding:14px 24px 40px}
    .top{max-width:none;margin:0;padding:26px 24px 6px}
    .search-row{max-width:none}
    .chips{max-width:none;margin:0;padding:14px 24px 6px}
    .feed-count{padding-left:24px}
  }

  /* ===================================================================
     LANDLORD DASHBOARD
     =================================================================== */
  .prow-accent .pl{font-weight:600;color:var(--teal-dark)}
  .prow-accent>svg:first-child{stroke:var(--teal)}
  .prow-accent .pv{color:var(--teal);font-weight:500}

  .lhead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
    padding:calc(env(safe-area-inset-top) + 22px) 20px 8px}
  .lhead-kicker{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--teal);
    text-transform:uppercase;letter-spacing:.5px;margin-bottom:3px}
  .lhead-kicker svg{width:14px;height:14px;stroke:var(--teal)}
  .lhead h2{font-family:var(--font);font-size:22px;font-weight:700;letter-spacing:-.4px}
  .mode-switch{display:flex;align-items:center;gap:5px;background:#fff;border:1px solid var(--line);
    border-radius:6px;padding:8px 12px;font-size:12.5px;font-weight:600;color:var(--muted);cursor:pointer;
    font-family:var(--font);white-space:nowrap}
  .mode-switch svg{width:15px;height:15px;stroke:var(--muted)}

  .ldash{padding:8px 20px 24px}

  /* landlord welcome (empty state) */
  .lwelcome{background:var(--teal);color:#fff;border-radius:8px;padding:22px;margin-bottom:18px}
  .lwelcome h3{font-size:20px;font-weight:700;margin-bottom:6px;letter-spacing:-.3px}
  .lwelcome p{font-size:13.5px;opacity:.9;line-height:1.55;margin-bottom:2px}

  /* plan cards */
  .plan-grid{display:grid;gap:14px;margin-bottom:18px}
  .plan{background:#fff;border:1px solid var(--line);border-radius:8px;padding:18px}
  .plan.featured{border:2px solid var(--teal);position:relative}
  .plan-badge{position:absolute;top:-10px;left:18px;background:var(--teal);color:#fff;font-size:10.5px;
    font-weight:700;letter-spacing:.5px;text-transform:uppercase;padding:3px 9px;border-radius:4px}
  .plan-name{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--muted)}
  .plan-price{font-size:32px;font-weight:800;letter-spacing:-1px;margin:6px 0 2px;display:flex;align-items:baseline;gap:6px}
  .plan-price small{font-size:13px;font-weight:500;color:var(--muted);letter-spacing:0}
  .plan-sub{font-size:12.5px;color:var(--muted);margin-bottom:14px}
  .plan-feats{list-style:none;margin:0 0 16px;padding:0;display:flex;flex-direction:column;gap:9px}
  .plan-feats li{display:flex;gap:9px;font-size:13px;color:var(--ink);line-height:1.4}
  .plan-feats li svg{width:16px;height:16px;stroke:var(--teal);flex-shrink:0;margin-top:1px}
  .plan-feats li.muted{color:var(--hint)}
  .plan-feats li.muted svg{stroke:var(--hint)}
  .plan-btn{width:100%;height:46px;border-radius:6px;border:1px solid var(--teal);background:#fff;
    color:var(--teal-dark);font-size:14px;font-weight:600;font-family:var(--font);cursor:pointer}
  .plan-btn.solid{background:var(--teal);color:#fff;border-color:var(--teal)}

  /* posted property card */
  .prop-card{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-bottom:16px}
  .prop-top{display:flex;gap:13px;padding:13px}
  .prop-thumb{width:88px;height:74px;border-radius:6px;flex-shrink:0;position:relative}
  .prop-thumb .pt-tag{position:absolute;top:5px;left:5px;background:var(--green);color:#fff;font-size:9.5px;
    font-weight:700;text-transform:uppercase;letter-spacing:.4px;padding:2px 6px;border-radius:3px}
  .prop-info{flex:1;min-width:0}
  .prop-info .pp{font-size:17px;font-weight:800}
  .prop-info .pp small{font-size:11px;font-weight:500;color:var(--muted)}
  .prop-info .ptitle{font-size:13px;font-weight:600;margin:2px 0 1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .prop-info .ploc{font-size:12px;color:var(--muted)}
  .plan-chip{display:inline-flex;align-items:center;gap:4px;font-size:10.5px;font-weight:700;
    text-transform:uppercase;letter-spacing:.4px;padding:3px 8px;border-radius:4px;margin-top:6px}
  .plan-chip.basic{background:var(--sand-2);color:var(--muted)}
  .plan-chip.premium{background:var(--teal-bg);color:var(--teal-dark)}
  .plan-chip svg{width:11px;height:11px}

  /* segmented control */
  .seg{display:flex;background:var(--sand-2);border-radius:7px;padding:3px;margin-bottom:16px}
  .seg button{flex:1;border:none;background:none;padding:8px 4px;border-radius:5px;font-size:12.5px;
    font-weight:600;color:var(--muted);cursor:pointer;font-family:var(--font)}
  .seg button.on{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(19,38,33,.12)}

  /* stat tiles */
  .stat-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:8px}
  .stat{background:#fff;border:1px solid var(--line);border-radius:8px;padding:14px}
  .stat .s-ico{width:30px;height:30px;border-radius:6px;background:var(--teal-bg);display:flex;
    align-items:center;justify-content:center;margin-bottom:9px}
  .stat .s-ico svg{width:16px;height:16px;stroke:var(--teal-dark)}
  .stat .s-num{font-size:23px;font-weight:800;letter-spacing:-.5px}
  .stat .s-lbl{font-size:12px;color:var(--muted);margin-top:1px}

  /* applicants */
  .applicant{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);
    border-radius:8px;padding:12px;margin-bottom:10px}
  .applicant .a-av{width:40px;height:40px;border-radius:50%;background:var(--teal-bg);color:var(--teal-dark);
    display:flex;align-items:center;justify-content:center;font-weight:600;font-size:13px;flex-shrink:0}
  .applicant .a-info{flex:1;min-width:0}
  .applicant .a-name{font-size:14px;font-weight:600;display:flex;align-items:center;gap:5px}
  .applicant .a-name svg{width:14px;height:14px;stroke:var(--green)}
  .applicant .a-sub{font-size:12px;color:var(--muted);margin-top:1px}

  /* upsell / locked */
  .upsell{background:var(--ink);color:#fff;border-radius:8px;padding:18px;margin-top:4px}
  .upsell h4{font-size:16px;font-weight:700;margin-bottom:5px}
  .upsell p{font-size:13px;opacity:.85;line-height:1.5;margin-bottom:14px}
  .upsell .u-btn{background:#fff;color:var(--ink);border:none;border-radius:6px;padding:11px 16px;
    font-size:13.5px;font-weight:700;cursor:pointer;font-family:var(--font)}
  .locked{position:relative;border:1px dashed var(--border-strong);border-radius:8px;padding:26px 18px;
    text-align:center;background:var(--sand-2)}
  .locked svg{width:26px;height:26px;stroke:var(--muted);margin-bottom:8px}
  .locked .lk-t{font-size:14px;font-weight:600}
  .locked .lk-s{font-size:12.5px;color:var(--muted);margin:3px 0 14px;line-height:1.5}

  /* agent banner (premium) */
  .agent-card{display:flex;gap:12px;align-items:center;background:var(--teal-bg);border-radius:8px;
    padding:13px;margin-bottom:16px}
  .agent-card svg{width:22px;height:22px;stroke:var(--teal-dark);flex-shrink:0}
  .agent-card .ac-t{font-size:13px;font-weight:600;color:var(--teal-dark)}
  .agent-card .ac-s{font-size:12px;color:var(--teal-dark);opacity:.85;margin-top:1px}

  /* mini clicks chart */
  .mini-bars{display:flex;align-items:flex-end;gap:6px;height:70px;padding:8px 0 0}
  .mini-bars .mb{flex:1;background:var(--teal);border-radius:3px 3px 0 0;min-height:4px;opacity:.85}

  /* post form */
  .post-body{padding:6px 20px 24px}
  .post-body h3{font-size:14px;font-weight:600;margin:16px 0 10px}
  .type-chips{display:flex;flex-wrap:wrap;gap:8px}
  .tchip{border:1px solid var(--line);background:#fff;border-radius:6px;padding:9px 14px;font-size:13px;
    color:var(--muted);cursor:pointer}
  .tchip.on{background:var(--teal);color:#fff;border-color:var(--teal);font-weight:600}
  .two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}

  /* landlord mode: hide tenant nav */
  .app[data-screen="landlord"] .mobilebar,
  .app[data-screen="lmessages"] .mobilebar,
  .app[data-screen="lpayments"] .mobilebar,
  .app[data-screen="post"] .mobilebar{display:none}

  @media(min-width:600px){
    .plan-grid{grid-template-columns:1fr 1fr;align-items:start}
  }
  @media(min-width:768px){
    /* landlord dashboard: swap tenant sidebar for the landlord sidebar */
    .app[data-screen="landlord"] .sidebar,
    .app[data-screen="register"] .sidebar,
    .app[data-screen="post"] .sidebar,
    .app[data-screen="lmessages"] .sidebar,
    .app[data-screen="lpayments"] .sidebar{display:none}
    .app[data-screen="landlord"] .lsidebar,
    .app[data-screen="post"] .lsidebar,
    .app[data-screen="lmessages"] .lsidebar,
    .app[data-screen="lpayments"] .lsidebar{display:flex}
    /* left-align landlord content and use the width */
    .lhead,.ldash,.post-body{max-width:1080px;margin:0;width:100%;padding-left:32px;padding-right:32px}
    .app[data-screen="landlord"] .cta-bar,
    .app[data-screen="post"] .cta-bar{display:none}   /* post action lives in the sidebar */
    .lhead .mode-switch{display:none}                 /* renter-view is in the sidebar */
    .lmob-nav{display:none}                           /* mobile-only nav */
    .post-body{max-width:640px}                        /* forms stay a comfortable width */
    .stat-tiles{grid-template-columns:repeat(2,1fr)}
    /* empty state: horizontal, left-aligned */
    .empty-post{text-align:left;display:grid;grid-template-columns:auto 1fr auto;align-items:center;
      gap:16px 22px;padding:24px 28px}
    .empty-post .ep-ico{margin:0}
    .empty-post .ep-main .ep-s{max-width:none;margin:5px 0 0}
    .empty-post .btn{margin:0;white-space:nowrap;padding:0 24px}
    .empty-post .ep-note{grid-column:1 / -1;margin-top:0}
    /* two-column master-detail dashboard */
    .dash-grid{display:grid;grid-template-columns:minmax(300px,360px) 1fr;gap:26px;align-items:start}
    .dash-right .dash-detail-label:first-child{margin-top:0}
  }

  /* ---- nav accent (Post your listings) ---- */
  .side-div{height:1px;background:var(--line);margin:10px 6px}
  .snav-accent{color:var(--teal-dark);font-weight:600}
  .snav-accent svg{stroke:var(--teal)}
  .tab-accent svg{stroke:var(--teal)}
  .tab-accent{color:var(--teal)}
  /* 5 items: tighten bottom bar */
  .mobilebar .tab{padding:6px 8px;font-size:9.5px}

  /* hide tenant nav on pushed landlord screens */
  .app[data-screen="register"] .mobilebar{display:none}

  /* ---- register / auth screen ---- */
  .auth-scroll{padding:0}
  .auth-card{position:relative;padding:calc(env(safe-area-inset-top) + 22px) 20px 30px;max-width:460px;margin:0 auto;width:100%}
  .auth-back{position:absolute;top:calc(env(safe-area-inset-top) + 18px);left:16px;width:36px;height:36px;
    border-radius:50%;border:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
  .auth-back svg{width:19px;height:19px;stroke:var(--ink)}
  .auth-brand{display:flex;align-items:center;gap:9px;justify-content:center;padding-top:4px;margin-bottom:16px}
  .auth-brand .mark{width:34px;height:34px;border-radius:6px;background:var(--teal);display:flex;align-items:center;justify-content:center}
  .auth-brand .mark svg{width:19px;height:19px;stroke:#fff}
  .auth-brand h1{font-family:var(--serif);font-weight:600;font-size:22px;letter-spacing:.5px}
  .auth-title{font-size:22px;font-weight:700;text-align:center;margin-bottom:20px;letter-spacing:-.4px}
  .reg-body{padding:0}
  .reg-body .btn{margin-top:20px}
  .reg-intro{display:flex;gap:12px;align-items:flex-start;background:var(--teal-bg);border-radius:8px;
    padding:14px;margin-bottom:18px}
  .reg-intro svg{width:22px;height:22px;stroke:var(--teal-dark);flex-shrink:0;margin-top:1px}
  .reg-intro .ri-t{font-size:13.5px;font-weight:600;color:var(--teal-dark)}
  .reg-intro .ri-s{font-size:12.5px;color:var(--teal-dark);opacity:.85;margin-top:2px;line-height:1.5}
  .phone-field{display:flex;gap:8px}
  .phone-field .cc{display:flex;align-items:center;padding:0 12px;border:1px solid var(--line);
    border-radius:6px;font-size:14px;background:#fff;color:var(--ink)}

  @media(min-width:768px){
    .auth-scroll{display:flex;align-items:center;justify-content:center;padding:40px}
    .auth-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:36px 34px;
      box-shadow:0 24px 60px -34px rgba(19,38,33,.45)}
    .auth-back{top:20px;left:20px}
  }

  /* ---- improved dashboard ---- */
  .dash-greet{font-size:14px;color:var(--muted);margin:0 0 14px}
  .dash-greet b{color:var(--ink);font-weight:700}

  /* empty state hero with advertising framing */
  .lwelcome{background:var(--teal);color:#fff;border-radius:8px;padding:22px;margin-bottom:16px}
  .lwelcome h3{font-size:20px;font-weight:700;margin-bottom:6px;letter-spacing:-.3px}
  .lwelcome p{font-size:13.5px;opacity:.92;line-height:1.55}
  .lwelcome .lw-points{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
  .lwelcome .lw-chip{display:inline-flex;align-items:center;gap:5px;background:rgba(255,255,255,.15);
    border-radius:5px;padding:5px 9px;font-size:11.5px;font-weight:500}
  .lwelcome .lw-chip svg{width:13px;height:13px;stroke:#fff}

  /* pay-per-listing disclaimer */
  .ad-note{display:flex;gap:11px;align-items:flex-start;background:#FBF3E6;border:1px solid #F0DFC0;
    border-radius:8px;padding:13px 14px;margin-bottom:16px}
  .ad-note svg{width:19px;height:19px;stroke:#B26A20;flex-shrink:0;margin-top:1px}
  .ad-note .an-t{font-size:12.5px;font-weight:700;color:#8a5216}
  .ad-note .an-s{font-size:12px;color:#8a5216;opacity:.9;margin-top:2px;line-height:1.5}

  /* posted property card with photo + price overlay */
  .prop-card{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-bottom:16px}
  .prop-photo{height:150px;position:relative;overflow:hidden}
  .prop-photo::after{content:"";position:absolute;left:0;right:0;bottom:0;height:60%;
    background:linear-gradient(transparent,rgba(15,28,24,.75))}
  .prop-photo .pp-tags{position:absolute;top:10px;left:10px;z-index:2;display:flex;gap:6px}
  .prop-photo .pp-price{position:absolute;left:12px;bottom:10px;z-index:2;color:#fff}
  .prop-photo .pp-price .ppm{font-size:19px;font-weight:800}
  .prop-photo .pp-price .ppm small{font-size:11px;font-weight:500;opacity:.9}
  .prop-photo .pp-edit{position:absolute;right:10px;bottom:10px;z-index:2;background:rgba(255,255,255,.92);
    border:none;border-radius:5px;padding:6px 11px;font-size:12px;font-weight:600;cursor:pointer;font-family:var(--font)}
  .prop-meta{padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px}
  .prop-meta .pm-title{font-size:14px;font-weight:600}
  .prop-meta .pm-loc{font-size:12.5px;color:var(--muted);margin-top:1px}

  /* ---- landlord empty-state post CTA (no paywall) ---- */
  .empty-post{background:#fff;border:1px solid var(--line);border-radius:8px;padding:26px 22px;text-align:center}
  .empty-post .ep-ico{width:48px;height:48px;border-radius:10px;background:var(--teal-bg);display:flex;
    align-items:center;justify-content:center;margin:0 auto 14px}
  .empty-post .ep-ico svg{width:24px;height:24px;stroke:var(--teal-dark)}
  .empty-post .ep-t{font-size:17px;font-weight:700}
  .empty-post .ep-s{font-size:13px;color:var(--muted);line-height:1.55;max-width:340px;margin:6px auto 18px}
  .empty-post .btn{max-width:280px;margin:0 auto}
  .empty-post .ep-note{font-size:12px;color:var(--hint);margin-top:12px}
  .empty-post .ep-note b{color:var(--ink)}

  /* ---- multi-listing dashboard ---- */
  .prop-list-label,.dash-detail-label{font-size:12px;font-weight:600;color:var(--muted);
    text-transform:uppercase;letter-spacing:.4px;margin:2px 2px 10px}
  .dash-detail-label{margin-top:20px}
  .prop-list{display:flex;flex-direction:column;gap:12px;margin-bottom:4px}
  .prop-list .prop-card{margin-bottom:0;cursor:pointer;transition:border-color .12s}
  .prop-list .prop-card.sel{border-color:var(--teal);box-shadow:0 0 0 1px var(--teal)}
  @media(min-width:640px){
    .prop-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}
  }

  /* ---- landlord sidebar ---- */
  .lsidebar{display:none;flex-direction:column;width:236px;flex-shrink:0;
    border-right:1px solid var(--line);background:var(--sand);padding:22px 14px}
  .lsidebar .side-brand .wordmark span{color:var(--teal);font-weight:600}
  .lside-foot{margin-top:auto;padding:10px 4px 4px}
  .lside-user{display:flex;align-items:center;gap:10px;padding:8px 8px 12px}
  .lside-av{width:34px;height:34px;border-radius:50%;background:var(--teal-bg);color:var(--teal-dark);
    display:flex;align-items:center;justify-content:center;font-weight:600;font-size:13px;flex-shrink:0}
  .lside-name{font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .lsidebar .mode-switch{width:100%;justify-content:center}

  /* ---- landlord mobile nav (hidden on desktop) ---- */
  .lmob-nav{display:flex;gap:7px;padding:2px 16px 14px;overflow-x:auto}
  .lmob-nav button{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:5px;
    padding:8px 14px;font-size:13px;font-weight:600;color:var(--muted);cursor:pointer;font-family:var(--font)}
  .lmob-nav button.on{background:var(--teal);color:#fff;border-color:var(--teal)}

  /* ---- dashboard two-column (stacks on mobile) ---- */
  .dash-grid{display:block}
  .prop-list{display:flex;flex-direction:column;gap:12px}
  .prop-list .prop-card{margin-bottom:0}
  .dash-detail-label{margin-top:20px}

  /* seg control doesn't stretch on desktop within the detail column */
  .seg{max-width:100%}

  /* ---- publish summary (plan step) ---- */
  .publish-summary{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);
    border-radius:8px;padding:12px;margin-bottom:16px}
  .publish-summary .ps-thumb{width:46px;height:46px;border-radius:6px;background:var(--teal-bg);flex-shrink:0}
  .publish-summary .ps-t{font-size:14px;font-weight:600}
  .publish-summary .ps-s{font-size:12.5px;color:var(--muted);margin-top:1px}
  .publish-summary .ps-ready{margin-left:auto;font-size:11px;font-weight:600;color:var(--green);
    background:var(--green-bg);padding:4px 9px;border-radius:4px;white-space:nowrap}

  /* ---- payments ---- */
  .pay-summary{background:var(--ink);color:#fff;border-radius:8px;padding:18px;margin-bottom:8px}
  .pay-sum-lbl{font-size:12.5px;opacity:.8}
  .pay-sum-num{font-size:30px;font-weight:800;letter-spacing:-.5px;margin-top:2px}
  .pay-sum-num small{font-size:13px;font-weight:500;opacity:.85}
  .pay-sum-note{font-size:12px;opacity:.8;margin-top:8px}
  .pay-row{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);
    border-radius:8px;padding:11px 12px;margin-bottom:10px}
  .pay-thumb{width:44px;height:44px;border-radius:6px;flex-shrink:0}
  .pay-info{flex:1;min-width:0}
  .pay-t{font-size:13.5px;font-weight:600}
  .pay-s{font-size:12px;color:var(--muted);margin-top:2px;display:flex;align-items:center;gap:6px}
  .pay-fee{font-size:17px;font-weight:800}
  .pay-fee small{font-size:11px;font-weight:500;color:var(--muted)}

  /* desktop overrides re-asserted AFTER base rules (source order) */
  @media(min-width:768px){
    .lmob-nav{display:none}
    .dash-grid{display:grid;grid-template-columns:minmax(300px,360px) 1fr;gap:26px;align-items:start}
    .dash-right .dash-detail-label{margin-top:0}
  }