/* -------------------------------------------------------------------------
   Marketplace (PG & rentals) archive — from design/marketplace.html.
   Loaded on the ddp_listing archive and its type taxonomy. Self-contained:
   hero and form-card styles are duplicated on purpose so pages stay decoupled.
   ------------------------------------------------------------------------- */

/* Hero (tallest of the listing heroes — the search card overlaps it) */
.page-hero{position:relative;overflow:hidden}
.ph-hero{background:
  linear-gradient(75deg,rgba(0,0,0,.68) 0%,rgba(0,0,0,.44) 36%,rgba(0,0,0,.14) 66%,rgba(0,0,0,0) 100%),
  linear-gradient(180deg,rgba(0,0,0,.42) 0%,rgba(0,0,0,.16) 42%,rgba(0,0,0,.4) 78%,rgba(0,0,0,.62) 100%),
  url('../images/home-featured.jpg') center/cover no-repeat}
.page-hero .container{position:relative;min-height:520px;display:flex;flex-direction:column;justify-content:flex-end;padding-top:150px;padding-bottom:136px}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.24em;color:rgba(255,255,255,.85);text-transform:uppercase}
.page-hero h1{font-family:var(--serif);font-weight:500;font-size:44px;line-height:1.13;color:#fff;margin-top:14px;max-width:640px}
.page-hero h1 em{font-style:italic;font-weight:500}
.page-hero .hero-sub{margin-top:14px;font-size:15px;line-height:1.65;color:rgba(255,255,255,.88);max-width:540px}

/* Listings */
.listings{background:var(--paper);padding:0 0 92px}
.search-card{position:relative;z-index:5;background:#fff;border-radius:16px;box-shadow:0 26px 50px -22px rgba(14,36,25,.28);padding:14px 16px 18px;margin-top:-88px}
.search-tabs{display:flex;gap:10px;flex-wrap:wrap}
.search-tabs a{font-size:13px;font-weight:600;padding:8px 22px;border-radius:8px;color:#5B6A60;background:#EEF2EB;transition:all .2s}
.search-tabs a:hover{background:#E4EAE1;color:#3D4C42}
.search-tabs a.is-active{background:var(--pine-btn);color:#fff}
.search-tabs a.is-active:hover{background:var(--pine-btn-hover);color:#fff}
.search-fields{display:grid;grid-template-columns:1.25fr 1.1fr 1fr auto;gap:12px;margin-top:14px}
.field{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:10px;padding:9px 16px;min-height:56px;cursor:pointer;transition:border-color .2s;background:#fff}
.field:hover{border-color:#C4CFC2}
.field>svg{width:19px;height:19px;color:#5E6C62;flex-shrink:0}
.field-txt{flex:1;min-width:0;display:flex;flex-direction:column}
.field-txt small{display:block;font-size:11px;font-weight:500;color:var(--muted)}
.field-txt select{font-family:inherit;font-size:13.5px;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:0;background:transparent;outline:none;appearance:none;-webkit-appearance:none;padding:0;margin-top:1px;width:100%;cursor:pointer}
.field-chev{width:16px;height:16px;color:#8B968D;flex-shrink:0}
.btn-search{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--pine-btn);color:#fff;font-size:14px;font-weight:600;border-radius:10px;padding:0 24px;min-height:56px;transition:background .2s;font-family:inherit;border:0;cursor:pointer}
.btn-search:hover{background:var(--pine-btn-hover)}
.btn-search svg{width:17px;height:17px}

/* Section head */
.sec-kicker{font-family:'Caveat',cursive;font-weight:600;font-size:23px;line-height:1;color:var(--wa);display:inline-block;transform:rotate(-2deg);margin-bottom:7px}
.sec-title{font-family:var(--serif);font-weight:600;font-size:34px;color:#17352A}
.sec-sub{margin-top:8px;font-size:14px;color:var(--body)}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-top:62px}
.btn-list{display:inline-flex;align-items:center;gap:9px;background:var(--wa);color:#fff;font-size:13.5px;font-weight:600;padding:12px 20px;border-radius:999px;transition:background .2s;white-space:nowrap}
.btn-list:hover{background:#24B368}
.btn-list svg{width:16px;height:16px}

/* Rental cards */
.ph-img-1{background:linear-gradient(0deg,rgba(10,25,17,.16),rgba(10,25,17,0) 42%),linear-gradient(160deg,#A3BFA4 0%,#648B67 48%,#2F5340 100%)}
.ph-img-2{background:linear-gradient(0deg,rgba(10,25,17,.16),rgba(10,25,17,0) 42%),linear-gradient(160deg,#93B69B 0%,#557F5E 50%,#264937 100%)}
.ph-img-3{background:linear-gradient(0deg,rgba(10,25,17,.16),rgba(10,25,17,0) 42%),linear-gradient(160deg,#ABC49B 0%,#6C8C5D 50%,#33512F 100%)}
.ph-img-4{background:linear-gradient(0deg,rgba(10,25,17,.16),rgba(10,25,17,0) 42%),linear-gradient(160deg,#9DB8AF 0%,#5F8377 50%,#2B4A42 100%)}
.ph-img-5{background:linear-gradient(0deg,rgba(10,25,17,.16),rgba(10,25,17,0) 42%),linear-gradient(160deg,#B7C6A2 0%,#7D9464 50%,#3E5433 100%)}
.ph-img-6{background:linear-gradient(0deg,rgba(10,25,17,.16),rgba(10,25,17,0) 42%),linear-gradient(160deg,#A8BCA8 0%,#6A8F72 50%,#2F5340 100%)}

.rent-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:34px}
.rent-card{background:#fff;border:1px solid #E6EBE3;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;transition:transform .28s,box-shadow .28s}
.rent-card:hover{transform:translateY(-4px);box-shadow:0 24px 44px -20px rgba(18,42,30,.24)}
.rc-media{position:relative;height:190px}
.rc-media img{width:100%;height:100%;object-fit:cover;display:block}
.badge{position:absolute;top:14px;left:14px;background:var(--leaf);color:#fff;font-size:12px;font-weight:600;padding:6px 12px;border-radius:8px}
.rc-gender{position:absolute;top:14px;right:14px;background:rgba(255,255,255,.92);color:#1C3A2B;font-size:11px;font-weight:700;letter-spacing:.05em;padding:6px 11px;border-radius:8px}
.rc-body{display:flex;flex-direction:column;flex:1;padding:16px 16px 18px}
.rent{font-family:var(--serif);font-weight:700;font-size:20px;color:#152B20}
.rent sup{font-family:var(--sans);font-size:12.5px;font-weight:600;margin-right:2px}
.rent i{font-family:var(--sans);font-style:normal;font-size:11.5px;font-weight:500;color:var(--muted);margin-left:3px}
.rc-title{font-size:15px;font-weight:600;color:#182720;margin-top:8px;line-height:1.4}
.rc-title a{color:inherit;transition:color .2s}
.rc-title a:hover{color:var(--leaf)}
.rc-loc{display:flex;align-items:center;gap:6px;margin-top:6px;font-size:12.5px;color:var(--body)}
.rc-loc svg{width:13px;height:13px;color:#5E6C62;stroke-width:1.8;flex-shrink:0}
.rc-specs{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}
.spec{display:inline-flex;align-items:center;gap:6px;background:#EFF3EB;border:1px solid #E3EADF;border-radius:999px;padding:4px 10px;font-size:11.5px;font-weight:600;color:#3D4C42}
.spec svg{width:12px;height:12px;color:#4E6152;stroke-width:1.9}
.rc-foot{margin-top:auto;padding-top:14px;border-top:1px solid var(--line);display:flex;align-items:center;gap:11px}
.rc-who{flex:1;min-width:0;display:flex;align-items:center;gap:10px}
.avatar{width:34px;height:34px;border-radius:50%;flex-shrink:0;box-shadow:0 0 0 2px #fff,0 0 0 3px #E1E8DE;display:inline-flex;align-items:center;justify-content:center;font-size:11.5px;font-weight:700;color:rgba(255,255,255,.94);letter-spacing:.03em}
.av-1{background:linear-gradient(135deg,#D8B78E,#8A6B4E)}
.av-2{background:linear-gradient(135deg,#C9A0A0,#7E5B5B)}
.av-3{background:linear-gradient(135deg,#A9BDC9,#5F7787)}
.av-4{background:linear-gradient(135deg,#BCB49B,#7A6F55)}
.av-5{background:linear-gradient(135deg,#9FB8A8,#5C7A69)}
.rc-name{font-size:13px;font-weight:600;color:#182720;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:0}
.rc-role{font-size:11px;color:var(--muted);margin-top:1px;margin-bottom:0}
.rc-msg{width:40px;height:40px;border-radius:50%;background:var(--wa);color:#fff;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .2s,transform .2s}
.rc-msg:hover{background:#24B368;transform:scale(1.06)}
.rc-msg svg{width:17px;height:17px;fill:currentColor;stroke:none}

/* Empty state + pagination */
.mp-empty{text-align:center;font-size:15px;color:var(--body);padding:56px 20px;margin:34px 0 0;background:#fff;border:1px dashed #DCE3D8;border-radius:16px}
.mp-more{text-align:center;margin-top:44px}
.mp-more a,.btn-loadmore{display:inline-block;font-size:13.5px;font-weight:600;color:#5B6A60;background:#fff;border:1px solid #DCE3D8;padding:12px 30px;border-radius:999px;transition:all .2s}
.mp-more a:hover{background:var(--pine-btn);border-color:var(--pine-btn);color:#fff}

/* Note band */
.mp-note{display:flex;align-items:center;gap:14px;background:var(--paper-soft);border:1px solid #DFE8DC;border-radius:14px;padding:16px 20px;margin-top:44px}
/* Hidden for now — remove this rule to bring the note band back */
.mp-note{display:none!important}
.mp-note svg{width:20px;height:20px;color:var(--leaf);stroke-width:1.8;flex-shrink:0}
.mp-note p{font-size:13px;line-height:1.6;color:var(--body);flex:1;margin-bottom:0}
.mp-note a{font-size:13px;font-weight:600;color:var(--leaf);white-space:nowrap;border-bottom:1.5px solid var(--leaf);padding-bottom:2px;transition:color .2s,border-color .2s}
.mp-note a:hover{color:var(--pine-btn);border-color:var(--pine-btn)}

/* How it works */
.how{background:#fff;padding:88px 0}
.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:40px}
.how-step{background:var(--paper-soft);border:1px solid #E4EAE1;border-radius:16px;padding:28px 26px}
.how-num{font-family:var(--serif);font-style:italic;font-weight:500;font-size:34px;color:#C3D2C4;line-height:1}
.how-step h3{font-size:15.5px;font-weight:600;color:#182720;margin-top:12px}
.how-step p{margin-top:8px;font-size:13px;line-height:1.6;color:var(--body)}

/* List-your-property section */
.list-section{background:var(--paper);padding:88px 0 96px}
.list-wrap{display:grid;grid-template-columns:.92fr 1.08fr;gap:56px;align-items:start}
.l-info{background:var(--pine-950);border-radius:18px;padding:34px 32px 30px;color:#fff}
.l-kicker{font-family:'Caveat',cursive;font-weight:600;font-size:24px;line-height:1;color:#7FC79E;transform:rotate(-2deg);display:inline-block}
.l-info h2{font-family:var(--serif);font-weight:600;font-size:26px;margin-top:10px;color:#fff}
.l-info>cite{display:block;margin-top:8px;font-size:13.5px;font-style:normal;color:rgba(255,255,255,.66);line-height:1.6}
.l-points{margin-top:22px;border-top:1px solid rgba(255,255,255,.14);list-style:none;margin-bottom:0}
.l-points li{display:flex;align-items:flex-start;gap:12px;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.14);font-size:13.5px;line-height:1.55;color:rgba(255,255,255,.86)}
.l-points svg{width:17px;height:17px;color:#8FCBA8;stroke-width:2;flex-shrink:0;margin-top:2px}
.l-points strong{color:#fff;font-weight:600}
.l-stat{display:flex;gap:30px;margin-top:20px}
.l-stat strong{display:block;font-family:var(--serif);font-weight:700;font-size:24px;color:#fff}
.l-stat span{display:block;margin-top:3px;font-size:12px;color:rgba(255,255,255,.6);max-width:120px;line-height:1.4}

/* Form card */
.form-card{background:#fff;border-radius:18px;box-shadow:0 26px 50px -22px rgba(14,36,25,.28);padding:34px 32px 32px}
.form-head h2{font-family:var(--serif);font-weight:600;font-size:26px;color:#17352A;margin-bottom:0}
.form-head p{margin-top:6px;font-size:13.5px;color:var(--body);margin-bottom:0}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:26px}
.f-field{display:flex;flex-direction:column;gap:7px}
.f-field--full{grid-column:1/-1}
.f-field label{font-size:12px;font-weight:600;color:#3D4C42;letter-spacing:.02em;margin-bottom:0}
.f-field input,.f-field select,.f-field textarea{font-family:inherit;font-size:14px;color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:12px 14px;background:#fff;outline:none;transition:border-color .2s,box-shadow .2s;appearance:none;width:100%}
.f-field select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B968D' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 9.5 5.5 5 5.5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px;padding-right:40px;cursor:pointer}
.f-field textarea{resize:vertical;min-height:110px}
.f-field input:focus,.f-field select:focus,.f-field textarea:focus{border-color:var(--leaf);box-shadow:0 0 0 3px rgba(30,124,75,.12)}
.f-field input::placeholder,.f-field textarea::placeholder{color:#9AA79C}
.btn-send{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--pine-btn);color:#fff;font-size:14px;font-weight:600;border-radius:10px;padding:14px 26px;transition:background .2s,transform .2s;grid-column:1/-1;margin-top:2px;border:0;cursor:pointer;font-family:inherit}
.btn-send:hover{background:var(--pine-btn-hover);transform:translateY(-1px)}
.btn-send svg{width:16px;height:16px}
.form-note{display:flex;align-items:center;gap:8px;grid-column:1/-1;font-size:12px;color:var(--muted);margin-bottom:0}
.form-note svg{width:14px;height:14px;color:var(--leaf);stroke-width:2;flex-shrink:0}

/* Honeypot — hidden from humans, visible to bots */
.ddp-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Form notices */
.l-alert{display:flex;align-items:flex-start;gap:10px;border-radius:10px;padding:14px 16px;font-size:13.5px;line-height:1.55;margin-top:18px;margin-bottom:0}
.l-alert svg{width:16px;height:16px;flex-shrink:0;margin-top:2px}
.l-alert--ok{background:#EAF4EE;color:#1E5C3C;border:1px solid #CDE4D6}
.l-alert--err{background:#FBEEEA;color:#8C3B2E;border:1px solid #F0D6CC}
.l-alert--warn{background:#FDF6E7;color:#7A5410;border:1px solid #EDDDB8}
.l-alert--warn a{color:inherit;font-weight:600;text-decoration:underline}
.l-alert span{display:block}

@media (max-width:1120px){
  .rent-grid{grid-template-columns:1fr 1fr}
  .list-wrap{gap:36px}
}
@media (max-width:960px){
  .page-hero .container{min-height:460px;padding-top:126px}
  .page-hero h1{font-size:38px}
  .search-fields{grid-template-columns:1fr 1fr}
  .btn-search{grid-column:1/-1}
  .sec-head{flex-direction:column;align-items:flex-start;gap:14px}
  .how-grid{grid-template-columns:1fr}
  .list-wrap{grid-template-columns:1fr}
}
@media (max-width:680px){
  .page-hero h1{font-size:32px}
  .page-hero .container{min-height:440px;padding-bottom:120px}
  .search-tabs{flex-wrap:wrap}
  .search-fields{grid-template-columns:1fr}
  .rent-grid{grid-template-columns:1fr}
  .mp-note{flex-direction:column;align-items:flex-start;gap:10px}
  .l-info,.form-card{padding:26px 20px 24px}
  .form-grid{grid-template-columns:1fr}
}

/* -------------------------------------------------------------------------
   Host accounts — sign in / sign up, dashboard, listing form, archive CTA.
   ------------------------------------------------------------------------- */

/* Compact hero for account pages */
.auth-hero .container{min-height:300px;padding-top:132px;padding-bottom:78px}
.auth-hero h1{font-size:36px}
.auth-hero .hero-sub{max-width:480px}

/* Auth card (sign in / sign up) */
.auth-section{background:var(--paper);padding:0 0 96px}
.auth-card{max-width:460px;margin:-44px auto 0;position:relative;z-index:5;background:#fff;border-radius:18px;box-shadow:0 26px 50px -22px rgba(14,36,25,.28);padding:26px 28px 24px}
.auth-tabs{display:flex;background:#EEF2EB;border-radius:12px;padding:5px;gap:5px}
.auth-tabs a{flex:1;text-align:center;font-size:13px;font-weight:600;padding:10px 8px;border-radius:9px;color:#5B6A60;transition:color .2s}
.auth-tabs a:hover{color:#17352A}
.auth-tabs a.is-active{background:#fff;color:#17352A;box-shadow:0 2px 8px rgba(14,36,25,.12)}
.auth-form{margin-top:22px}
.auth-form .form-grid{grid-template-columns:1fr;margin-top:0}
.auth-alt{text-align:center;margin-top:16px;font-size:13px;color:var(--body);margin-bottom:0}
.auth-alt a{font-weight:600;color:var(--leaf);border-bottom:1.5px solid var(--leaf);padding-bottom:1px;transition:color .2s,border-color .2s}
.auth-alt a:hover{color:var(--pine-btn);border-color:var(--pine-btn)}
.auth-foot{text-align:center;margin-top:18px;padding-top:16px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);margin-bottom:0}

/* Form bits (required marker, amenity checkboxes) */
.f-req{color:#B4482F;font-weight:700}
.f-checks{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px}
fieldset.f-field{border:0;padding:0;margin:0;min-width:0}
.f-field legend{font-size:12px;font-weight:600;color:#3D4C42;letter-spacing:.02em;padding:0;margin-bottom:7px}
.f-checks label{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--body);cursor:pointer}
.f-checks input{appearance:auto;-webkit-appearance:auto;border:0;background:none;box-shadow:none;width:16px;height:16px;accent-color:var(--leaf);flex-shrink:0;cursor:pointer}
.f-photos{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}
.fp-item{position:relative;width:96px;height:70px;border-radius:8px;overflow:hidden;border:1px solid var(--line);background:#fff}
.fp-item img{width:100%;height:100%;object-fit:cover;display:block}
.fp-cover{position:absolute;left:6px;bottom:6px;background:var(--pine-btn);color:#fff;font-size:9px;font-weight:700;letter-spacing:.05em;padding:2px 6px;border-radius:5px}
.fp-del{position:absolute;top:4px;right:4px;display:flex;align-items:center;gap:4px;background:rgba(255,255,255,.94);border:1px solid var(--line);font-size:9.5px;font-weight:600;color:#B4482F;padding:2px 6px;border-radius:5px;cursor:pointer}
.fp-del input{width:11px;height:11px;accent-color:#B4482F;margin:0}
.f-file{font-size:13px;color:var(--body)}
.f-hint{font-size:11.5px;color:var(--muted);margin-top:6px}

/* Archive CTA card */
.mp-cta-points{list-style:none;margin:22px 0 0;border-top:1px solid var(--line);padding:0}
.mp-cta-points li{display:flex;align-items:flex-start;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13.5px;line-height:1.55;color:var(--body)}
.mp-cta-points svg{width:16px;height:16px;color:var(--leaf);stroke-width:2;flex-shrink:0;margin-top:2px}
.mp-cta-points strong{color:#17352A;font-weight:600}
.mp-cta .btn-send{width:100%;margin-top:22px}
.mp-cta-alt{display:block;text-align:center;margin-top:14px;font-size:13px;font-weight:600;color:#5B6A60;text-decoration:none;transition:color .2s}
.mp-cta-alt:hover{color:var(--pine-btn)}

/* -------------------------------------------------------------------------
   Host panel — app-style dashboard shell (sidebar, stats, listings table).
   ------------------------------------------------------------------------- */
.host-bg{background:var(--paper-soft)}

/* Host top bar (replaces the site header on panel views) */
.host-top{position:sticky;top:0;z-index:50;background:var(--pine-950);color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}
.ht-in{max-width:1320px;margin:0 auto;height:64px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.ht-left{display:flex;align-items:center;gap:12px;min-width:0}
.ht-brand{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700;letter-spacing:.02em;color:#fff;white-space:nowrap}
.ht-brand svg{width:18px;height:18px;color:#8FCBA8}
.ht-crumb{font-size:13px;color:rgba(255,255,255,.45);white-space:nowrap}
.ht-left .ht-crumb:last-child{color:rgba(255,255,255,.78);font-weight:600}
.ht-right{display:flex;align-items:center;gap:16px}
.ht-site{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;color:rgba(255,255,255,.72);transition:color .2s;white-space:nowrap}
.ht-site svg{width:15px;height:15px}
.ht-site:hover{color:#fff}
.ht-user{display:flex;align-items:center;gap:9px}
.ht-user .avatar{width:30px;height:30px;font-size:11px;box-shadow:none}
.ht-name{font-size:13px;font-weight:600;color:#fff;white-space:nowrap}
.ht-signout{font-size:12px;font-weight:600;color:rgba(255,255,255,.55);text-decoration:underline;text-underline-offset:3px;transition:color .2s;white-space:nowrap}
.ht-signout:hover{color:#F2B8A6}

.host-shell{max-width:1320px;margin:0 auto;padding:28px 28px 72px;display:grid;grid-template-columns:250px minmax(0,1fr);gap:28px;align-items:start}

/* Sidebar */
.host-side{background:var(--pine-950);border-radius:16px;color:#fff;padding:20px 16px 18px;position:sticky;top:24px}
.hs-brand{display:flex;align-items:center;gap:10px;font-size:14.5px;font-weight:700;letter-spacing:.02em;color:#fff;padding:2px 10px 16px;border-bottom:1px solid rgba(255,255,255,.12)}
.hs-brand svg{width:19px;height:19px;color:#8FCBA8}
.hs-nav{display:flex;flex-direction:column;gap:4px;margin-top:14px}
.hs-nav a{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:10px;font-size:13.5px;font-weight:600;color:rgba(255,255,255,.72);transition:color .2s,background .2s}
.hs-nav a svg{width:17px;height:17px;flex-shrink:0}
.hs-nav a:hover{color:#fff;background:rgba(255,255,255,.07)}
.hs-nav a.is-active{background:var(--pine-btn);color:#fff}

/* Main column */
.host-main{min-width:0}
.hm-top{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.hm-top h1{font-family:var(--serif);font-weight:600;font-size:30px;color:#17352A;margin-bottom:0}
.hm-top p{margin-top:6px;font-size:13.5px;color:var(--body);margin-bottom:4px}
.hm-btn{display:inline-flex;align-items:center;gap:9px;background:var(--pine-btn);color:#fff;font-size:13.5px;font-weight:600;padding:12px 20px;border-radius:10px;transition:background .2s,transform .2s}
.hm-btn:hover{background:var(--pine-btn-hover);transform:translateY(-1px)}
.hm-btn svg{width:16px;height:16px}
.hm-btn--ghost{background:#fff;color:#3D4C42;border:1px solid #DCE3D8}
.hm-btn--ghost:hover{background:var(--paper);transform:none}

/* Stat cards */
.stat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:26px}
.stat-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 18px 16px}
.sc-ico{width:38px;height:38px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:#EAF4EE;color:#17352A}
.sc-ico svg{width:18px;height:18px}
.sc-ico--live{background:#EAF4EE;color:#1E7C4B}
.sc-ico--pending{background:#FBF3E4;color:#8A6420}
.sc-ico--rent{background:#EEF2EB;color:#3D4C42}
.stat-card strong{display:block;margin-top:12px;font-family:var(--serif);font-weight:700;font-size:24px;color:#17352A}
.stat-card .sc-label{display:block;margin-top:2px;font-size:12px;color:var(--muted)}

/* Listings table card */
.host-card{background:#fff;border:1px solid var(--line);border-radius:16px;margin-top:26px;overflow:hidden}
.host-help{margin:22px 0 0;text-align:center;font-size:13px;color:#5C6B62}
.host-help a{color:var(--pine-btn);font-weight:600;text-decoration:none}
.host-help a:hover{text-decoration:underline}
.hc-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid var(--line)}
.hc-head h2{font-size:15px;font-weight:600;color:#17352A;margin-bottom:0}
.hc-count{font-size:12px;font-weight:600;color:#5B6A60;background:var(--paper);border-radius:999px;padding:5px 12px;white-space:nowrap}
.hc-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;gap:18px;align-items:center;padding:15px 22px;border-bottom:1px solid var(--line);transition:background .15s}
.hc-row:last-child{border-bottom:0}
.hc-row:hover{background:var(--paper-soft)}
.hc-thumb{width:72px;height:54px;border-radius:9px;overflow:hidden;flex-shrink:0}
.hc-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.hc-title{font-size:14px;font-weight:600;color:#17352A;margin-bottom:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hc-meta{margin-top:3px;font-size:12px;color:var(--muted);margin-bottom:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hc-rent{font-family:var(--serif);font-weight:700;font-size:16px;color:#152B20;white-space:nowrap}
.hc-rent sup{font-family:var(--sans);font-size:11px;font-weight:600;margin-right:2px}
.hc-rent i{font-family:var(--sans);font-style:normal;font-size:10.5px;font-weight:500;color:var(--muted);margin-left:3px}
.pill{font-size:11px;font-weight:700;letter-spacing:.05em;padding:5px 12px;border-radius:999px;white-space:nowrap;text-transform:uppercase}
.pill--live{background:#EAF4EE;color:#1E5C3C}
.pill--pending{background:#FBF3E4;color:#8A6420}
.pill--draft{background:#EEF1EE;color:#5B6A60}
.hc-actions{display:flex;gap:7px}
.hc-act{font-size:12px;font-weight:600;color:#5B6A60;border:1px solid #DCE3D8;border-radius:999px;padding:7px 14px;text-decoration:none;transition:all .2s;white-space:nowrap}
.hc-act:hover{background:var(--pine-btn);border-color:var(--pine-btn);color:#fff}
.hc-act--danger{color:#8C3B2E;border-color:#F0D6CC}
.hc-act--danger:hover{background:#8C3B2E;border-color:#8C3B2E;color:#fff}
.hc-empty{padding:52px 24px;text-align:center;font-size:14px;color:var(--body)}
.hc-empty .btn-send{margin-top:18px}

/* Form page inside the shell */
.host-form-card{margin-top:26px}

@media (max-width:1120px){
  .stat-row{grid-template-columns:1fr 1fr}
}
@media (max-width:960px){
  .host-shell{grid-template-columns:1fr;padding-top:24px;gap:20px}
  .host-side{position:static}
  .hs-nav{flex-direction:row;flex-wrap:wrap}
  .hs-nav a span{font-size:12.5px}
  .hc-row{grid-template-columns:auto minmax(0,1fr) auto}
  .hc-actions{grid-column:2;justify-self:start}
}
@media (max-width:680px){
  .auth-card{padding:22px 18px 20px}
  .f-checks{grid-template-columns:1fr}
  .ht-in{padding:0 16px;gap:10px}
  .ht-crumb{display:none}
  .ht-site span{display:none}
  .ht-name{display:none}
  .host-shell{padding:20px 16px 56px}
  .stat-row{grid-template-columns:1fr 1fr;gap:12px}
  .hm-top h1{font-size:26px}
  .hc-row{display:flex;flex-wrap:wrap;gap:12px}
  .hc-main{flex:1 1 100%}
  .hc-thumb{width:100%;height:110px}
  .hc-rent,.pill,.hc-actions{margin:0}
}
