:root{--bg:#f5f3ef;--paper:#fff;--ink:#171717;--muted:#6f6c66;--line:#dedad3;--dark:#171717;--accent:#f2a900;--danger:#a62d2d;--soft:#ece8e1;--radius:20px;--shadow:0 14px 40px rgba(0,0,0,.07)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.45}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.topbar{max-width:1220px;margin:0 auto;padding:20px 24px;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:46px;height:46px;border-radius:15px;background:var(--dark);color:#fff;display:grid;place-items:center;font-size:25px;font-weight:900}.brand strong,.brand small{display:block}.brand strong{font-size:17px}.brand small{font-size:12px;color:var(--muted);margin-top:2px}.top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.add-btn,.ghost-btn,.primary,.secondary,.button{display:inline-flex;align-items:center;justify-content:center;border-radius:13px;padding:11px 15px;font-weight:800;border:1px solid var(--line);cursor:pointer}.add-btn,.primary{background:var(--dark);color:white;border-color:var(--dark)}.ghost-btn,.secondary,.button{background:white}.primary.big,.secondary.big{padding:15px 22px;font-size:16px}.nav{max-width:1172px;margin:0 auto 10px;padding:0 24px;display:flex;gap:8px}.nav a{padding:9px 13px;border-radius:11px;color:var(--muted);font-weight:700}.nav a:hover{background:#fff;color:var(--ink)}.wrap{max-width:1172px;margin:0 auto;padding:28px 24px 70px}.public-wrap{padding-top:40px}.flash,.error{padding:13px 16px;border-radius:13px;margin-bottom:20px;font-weight:700}.flash{background:#e4efe4}.error{background:#f6dddd;color:#772626}.eyebrow{margin:0 0 8px;font-size:12px;letter-spacing:.16em;font-weight:900;color:var(--muted)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(34px,5vw,62px);line-height:.98;letter-spacing:-.045em;margin-bottom:16px}h2{font-size:28px;letter-spacing:-.03em}.landing-hero{display:grid;grid-template-columns:1.12fr .88fr;gap:56px;align-items:center;min-height:570px}.landing-copy h1{font-size:clamp(56px,7vw,94px);max-width:760px}.landing-copy h1 em{font-style:normal;background:var(--accent);padding:0 .08em}.tagline{font-size:25px;margin:24px 0 16px}.intro{font-size:18px;color:var(--muted);max-width:670px}.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0 12px}.free-note{color:var(--muted);font-weight:700}.question-stack{display:grid;gap:16px}.question-card{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:var(--shadow);display:flex;align-items:flex-start;gap:18px;transform:rotate(-1deg)}.question-card:nth-child(2){transform:translateX(26px) rotate(1deg)}.question-card:nth-child(3){transform:rotate(-.5deg)}.question-card>span{font-size:36px}.question-card small{font-weight:900;letter-spacing:.12em;color:var(--muted)}.question-card strong{display:block;font-size:23px;margin:2px 0 4px}.question-card p{margin:0;color:var(--muted)}.how{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:40px 0}.how>div{background:#fff;border:1px solid var(--line);padding:25px;border-radius:20px}.step{width:34px;height:34px;border-radius:50%;background:var(--accent);display:grid;place-items:center;font-weight:900;margin-bottom:18px}.how h3{font-size:20px;margin-bottom:6px}.how p{color:var(--muted);margin:0}.auth-shell{display:grid;grid-template-columns:1fr 520px;gap:60px;align-items:center;min-height:520px}.auth-copy h1{max-width:600px}.auth-copy p:last-child{font-size:19px;color:var(--muted);max-width:600px}.form-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:var(--shadow)}.auth-card{display:grid;gap:17px}.form-card label{display:grid;gap:7px;font-weight:800}.form-card input,.form-card select,.form-card textarea,.filters input,.filters select{width:100%;border:1px solid #cfcac2;border-radius:12px;background:#fff;padding:12px 13px;outline:none}.form-card input:focus,.form-card select:focus,.form-card textarea:focus,.filters input:focus,.filters select:focus{border-color:#777;box-shadow:0 0 0 3px rgba(0,0,0,.05)}.form-card small{font-weight:500;color:var(--muted)}.form-foot{margin:2px 0 0;color:var(--muted)}.form-foot a{text-decoration:underline;font-weight:800}.onboard-head{max-width:760px;margin:25px 0 28px}.onboard-head p:last-child{color:var(--muted);font-size:18px}.type-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.type-card{border:1px solid var(--line);background:#fff;border-radius:17px;padding:20px;text-align:left;cursor:pointer}.type-card:hover{border-color:#777;transform:translateY(-2px)}.type-card span{font-size:30px;display:block;margin-bottom:8px}.type-card strong{font-size:16px}.onboarding-form{max-width:700px;margin:24px auto}.dash-hero{display:flex;justify-content:space-between;gap:30px;align-items:flex-end;margin-bottom:22px}.dash-hero h1{font-size:48px}.dash-hero p:last-child{color:var(--muted);margin:0}.mini-stat{background:var(--dark);color:#fff;padding:20px 24px;border-radius:18px;min-width:180px}.mini-stat span,.mini-stat small{display:block}.mini-stat span{font-size:40px;font-weight:900;line-height:1}.mini-stat small{opacity:.7;margin-top:6px}.mega-search{background:#fff;border:2px solid var(--dark);padding:8px 8px 8px 17px;border-radius:18px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;box-shadow:var(--shadow)}.mega-search span{font-size:24px}.mega-search input{border:0;outline:0;font-size:21px;min-width:0;padding:10px}.mega-search button,.filters button{border:0;border-radius:12px;background:var(--accent);color:#171717;font-weight:900;padding:12px 18px;cursor:pointer}.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0 40px}.quick-actions a{background:#fff;border:1px solid var(--line);border-radius:17px;padding:18px;display:grid;grid-template-columns:auto 1fr;column-gap:12px}.quick-actions a>span{grid-row:1/3;font-size:28px}.quick-actions strong,.quick-actions small{display:block}.quick-actions small{color:var(--muted);margin-top:2px}.section-head{display:flex;justify-content:space-between;gap:25px;align-items:flex-end;margin:38px 0 16px}.section-head h1,.section-head h2{margin-bottom:0}.section-head h1{font-size:42px}.section-head p:last-child{color:var(--muted);margin:8px 0 0}.section-head>a:not(.primary){font-weight:800;text-decoration:underline}.area-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.area-grid.large{grid-template-columns:repeat(2,1fr)}.area-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;display:flex;align-items:center;gap:14px;min-height:100px}.area-card:hover,.thing-card:hover,.location-card:hover{border-color:#aaa;transform:translateY(-1px)}.area-icon{font-size:31px;width:48px;height:48px;background:var(--soft);border-radius:14px;display:grid;place-items:center;flex:none}.area-card h3{margin:0 0 3px;font-size:18px}.area-card p{margin:0;color:var(--muted)}.area-card b{margin-left:auto}.add-area{border-style:dashed}.stats-strip{margin:25px 0 10px;background:var(--dark);color:#fff;border-radius:20px;padding:22px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.stats-strip div{padding:8px 15px;border-right:1px solid rgba(255,255,255,.15)}.stats-strip div:last-child{border:0}.stats-strip strong,.stats-strip span{display:block}.stats-strip strong{font-size:27px}.stats-strip span{font-size:12px;opacity:.7;margin-top:3px}.thing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.thing-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.thing-photo{height:180px;background:var(--soft);display:grid;place-items:center}.thing-photo img{width:100%;height:100%;object-fit:cover}.thing-photo span{font-size:48px}.thing-body{padding:16px}.thing-body h3{font-size:19px;margin:8px 0 5px}.thing-body p{margin:0;color:var(--muted)}.thing-body .where strong{color:var(--ink)}.pill{font-size:11px;font-weight:900;background:var(--soft);padding:5px 8px;border-radius:999px}.status-missing{background:#f4dada;color:#812525}.status-to_buy{background:#fff0c7}.status-lent_out{background:#e8e2f5}.wide-empty{grid-column:1/-1}.empty{background:#fff;border:1px dashed #bdb7ae;border-radius:18px;padding:32px;text-align:center;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:10px;flex-direction:column}.empty strong{color:var(--ink);font-size:20px}.filters{display:grid;grid-template-columns:minmax(220px,1fr) 230px auto auto;gap:10px;align-items:center;margin-bottom:18px}.filters>a{font-weight:800;text-decoration:underline;padding:10px}.area-add{margin-top:30px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:17px}.form-grid .wide{grid-column:1/-1}.form-card>.primary{margin-top:20px}.muted{color:var(--muted)}.area-hero{background:#fff;border:1px solid var(--line);border-radius:24px;padding:25px;display:flex;align-items:center;gap:20px}.area-hero .huge{width:72px;height:72px;font-size:42px}.area-hero div{flex:1}.area-hero h1{font-size:44px;margin-bottom:8px}.area-hero p:last-child{margin:0;color:var(--muted)}.location-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.location-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px;display:flex;gap:12px;align-items:center}.location-card>span{font-size:24px}.location-card strong,.location-card small{display:block}.location-card small{color:var(--muted);margin-top:2px}.danger-link{color:var(--danger);font-weight:800;text-decoration:underline}.photo-upload{border:1px dashed #aaa;border-radius:15px;padding:16px;background:#faf9f7}.photo-upload>span{font-size:18px}.photo-section{margin-top:30px}.photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.photo{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden}.photo img{width:100%;height:190px;object-fit:cover;display:block}.photo a{display:block;padding:10px;text-align:center;color:var(--danger);font-weight:800}footer{border-top:1px solid var(--line);max-width:1172px;margin:0 auto;padding:28px 24px 50px;color:var(--muted);display:flex;justify-content:space-between;gap:15px}footer strong{color:var(--ink)}@media(max-width:850px){.topbar{align-items:flex-start}.brand small{display:none}.top-actions .ghost-btn:first-child{display:none}.landing-hero,.auth-shell{grid-template-columns:1fr;gap:28px}.landing-hero{min-height:0}.question-card:nth-child(2){transform:none}.how,.type-grid,.quick-actions,.area-grid,.area-grid.large,.thing-grid,.location-grid{grid-template-columns:1fr 1fr}.stats-strip{grid-template-columns:1fr 1fr}.filters{grid-template-columns:1fr 1fr}.area-hero{flex-wrap:wrap}.photo-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.topbar{padding:14px 14px}.brand strong{font-size:14px;max-width:185px}.brand-mark{width:40px;height:40px}.top-actions{gap:6px}.top-actions a{padding:9px 10px;font-size:13px}.nav{padding:0 14px;overflow:auto}.wrap{padding:20px 14px 55px}.landing-copy h1{font-size:52px}.tagline{font-size:21px}.question-stack{margin-top:8px}.how,.type-grid,.quick-actions,.area-grid,.area-grid.large,.thing-grid,.location-grid,.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.dash-hero{align-items:flex-start;flex-direction:column}.dash-hero h1{font-size:39px}.mini-stat{display:none}.mega-search{grid-template-columns:auto 1fr}.mega-search button{grid-column:1/-1}.stats-strip{grid-template-columns:1fr 1fr;padding:14px}.stats-strip div{border:0}.filters{grid-template-columns:1fr}.area-hero .primary{width:100%}.thing-photo{height:220px}.section-head{align-items:flex-start;flex-direction:column}.section-head h1{font-size:36px}.photo-grid{grid-template-columns:1fr 1fr}.photo img{height:145px}footer{margin:0 14px;padding:24px 0 40px;display:block}footer span{display:block;margin-top:4px}}

/* v2 launch: plans */
.plan-pill{display:inline-flex;align-items:center;border:1px solid #cfcfcf;border-radius:999px;padding:.18rem .55rem;font-size:.72rem;font-weight:800;letter-spacing:.06em}.plan-pill.free{background:#f5f5f5}.plan-pill.pro{background:#171717;color:#fff;border-color:#171717}.upgrade-card{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center;padding:1rem;border:1px dashed #bdbdbd;border-radius:14px;background:#fafafa}.upgrade-card span{flex:1 1 340px;color:#555}.pricing-section{margin:3rem 0}.pricing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.price-card{border:1px solid #ddd;border-radius:20px;padding:1.4rem;background:#fff}.price-card.featured{border-width:2px}.price-card ul{padding-left:1.2rem;line-height:1.9}.disabled{opacity:.6;pointer-events:none}.plan-panel{display:grid;grid-template-columns:1fr 1fr;gap:1rem;border:1px solid #ddd;border-radius:20px;padding:1.25rem;margin:1.25rem 0;background:#fff}.plan-compare{display:grid;gap:.4rem}.plan-compare strong{margin-top:.25rem}@media(max-width:760px){.pricing-grid,.plan-panel{grid-template-columns:1fr}}


/* v3 brand system */
.brand-logo{display:inline-flex;flex-direction:column;align-items:flex-start;gap:0;font-weight:950;line-height:.9;letter-spacing:-.055em;white-space:nowrap}
.brand-logo-top{font-size:20px;padding:0 5px 2px}
.brand-logo-block{font-size:21px;background:var(--accent);padding:5px 7px 6px;color:var(--ink)}
.landing-copy h1{font-size:clamp(48px,6.2vw,78px);line-height:.96;max-width:680px;margin-top:6px}
.landing-copy h1 em{display:inline-block;padding:.04em .12em .09em;line-height:1;background:var(--accent)}
.landing-copy .eyebrow{max-width:620px;color:var(--ink)}
.site-footer{align-items:flex-start}
.site-footer>div strong,.site-footer>div span{display:block}
.site-footer>div span{margin-top:4px}
.footer-links{display:flex;gap:18px;flex-wrap:wrap;font-weight:800}
.footer-links a:hover{text-decoration:underline}
@media(max-width:560px){.brand-logo-top{font-size:16px}.brand-logo-block{font-size:17px}.landing-copy h1{font-size:clamp(42px,14vw,58px)}.site-footer .footer-links{margin-top:14px;gap:14px}}

/* Places > Areas > Things clarity + quick Thing form */
.more-details{margin-top:18px;border-top:1px solid var(--line,#ddd);padding-top:4px}.more-details summary{cursor:pointer;font-weight:800;padding:16px 2px;display:flex;gap:8px;align-items:center}.more-details summary span{font-weight:500;color:var(--muted,#6b665e);font-size:.88rem}.details-grid{padding-top:8px}.quick-fields{align-items:end}.quick-save{margin-top:18px}.quick-save .primary{min-width:200px}.area-card .area-icon{font-size:1.2rem}.brand-image{display:block;line-height:0;flex:none}.brand-image img{display:block;width:250px;max-width:32vw;height:auto}
@media(max-width:700px){.quick-fields{grid-template-columns:1fr}.quick-save .primary{width:100%}.brand-image img{width:160px;max-width:48vw}}


/* Master Things list: Place -> Area -> Thing */
.thing-master-list{
  display:grid;
  gap:24px;
  margin-top:24px;
}
.place-group{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 14px 36px rgba(30,24,18,.05);
}
.place-group-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  padding:22px 24px 18px;
  border-bottom:1px solid var(--line);
}
.place-group-head h2{
  margin:3px 0 0;
}
.group-count{
  color:var(--muted);
  font-weight:800;
}
.area-group{
  padding:18px 24px 22px;
}
.area-group + .area-group{
  border-top:1px solid var(--line);
}
.area-group-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:10px;
}
.area-group-head strong{
  font-size:1.05rem;
}
.area-group-head span{
  color:var(--muted);
  font-size:.9rem;
  font-weight:700;
}
.thing-list-rows{
  display:grid;
  gap:8px;
}
.thing-list-row{
  display:grid;
  grid-template-columns:44px minmax(0,1fr) auto auto 20px;
  align-items:center;
  gap:12px;
  min-height:64px;
  padding:9px 12px;
  color:var(--ink);
  text-decoration:none;
  border:1px solid transparent;
  border-radius:14px;
  background:#faf9f7;
}
.thing-list-row:hover{
  border-color:var(--line);
  background:#fff;
}
.thing-list-thumb{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:10px;
  background:#eeeae4;
}
.thing-list-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.thing-list-main{
  min-width:0;
}
.thing-list-main strong{
  display:block;
  font-size:1rem;
}
.thing-list-main small{
  display:block;
  margin-top:3px;
  color:var(--muted);
}
.thing-qty{
  font-weight:800;
  color:var(--muted);
}
.thing-row-arrow{
  font-size:1.15rem;
}
.attention-banner{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  padding:15px 18px;
  margin:18px 0;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}
.attention-banner strong{
  font-size:1rem;
}
.attention-banner span{
  color:var(--muted);
}
.attention-banner a{
  margin-left:auto;
  font-weight:800;
}
@media(max-width:700px){
  .place-group-head,.area-group{padding-left:16px;padding-right:16px}
  .thing-list-row{
    grid-template-columns:40px minmax(0,1fr) auto 18px;
  }
  .thing-list-row .pill{
    grid-column:2/4;
    justify-self:start;
  }
  .thing-qty{display:none}
}


/* Simple master inventory: Thing | Place | Area */
.inventory-list{
  margin-top:24px;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:#fff;
}
.inventory-head{
  display:grid;
  grid-template-columns:minmax(260px,1.5fr) minmax(180px,1fr) minmax(180px,1fr) 28px;
  gap:18px;
  padding:12px 18px;
  background:#f1eee9;
  border-bottom:1px solid var(--line);
  color:var(--muted);
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.inventory-row{
  display:grid;
  grid-template-columns:minmax(260px,1.5fr) minmax(180px,1fr) minmax(180px,1fr) 28px;
  gap:18px;
  align-items:center;
  min-height:76px;
  padding:12px 18px;
  color:var(--ink);
  text-decoration:none;
}
.inventory-row + .inventory-row{border-top:1px solid var(--line)}
.inventory-row:hover{background:#faf8f5}
.inventory-thing{
  display:flex;
  align-items:center;
  gap:13px;
  min-width:0;
}
.inventory-thumb{
  width:46px;
  height:46px;
  flex:0 0 46px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:11px;
  background:#eeeae4;
}
.inventory-thumb img{width:100%;height:100%;object-fit:cover}
.inventory-thing strong,.inventory-location strong{
  font-size:1rem;
  font-weight:900;
}
.inventory-location small{
  display:none;
  margin-bottom:2px;
  color:var(--muted);
  font-size:.72rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.inventory-arrow{
  font-size:1.2rem;
  font-weight:900;
  text-align:right;
}
@media(max-width:700px){
  .inventory-head{display:none}
  .inventory-row{
    grid-template-columns:1fr 24px;
    gap:10px 14px;
    padding:15px;
  }
  .inventory-thing{grid-column:1}
  .inventory-arrow{grid-column:2;grid-row:1/4;align-self:center}
  .inventory-location{
    grid-column:1;
    padding-left:59px;
  }
  .inventory-location small{display:inline-block;margin-right:6px}
  .inventory-location strong{font-size:.92rem}
}


/* Safe Place / Area deletion controls */
.place-manage-card,
.area-manage-card{
  position:relative;
}
.place-manage-card .area-card,
.area-manage-card .location-card{
  height:100%;
}
.delete-place-form,
.delete-area-form{
  margin:7px 10px 0;
  text-align:right;
}
.danger-link{
  appearance:none;
  border:0;
  background:transparent;
  color:#a12620;
  padding:5px 7px;
  font:inherit;
  font-size:.82rem;
  font-weight:800;
  cursor:pointer;
  text-decoration:underline;
  text-underline-offset:2px;
}
.danger-link:hover{
  color:#741b17;
}
.area-grid.large,
.location-grid{
  align-items:start;
}


/* FINAL Quick Add Thing alignment — keep Place and Area perfectly level */
.quick-thing-form .quick-fields{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  column-gap:16px !important;
  row-gap:16px !important;
  align-items:start !important;
}

.quick-thing-form .quick-fields > label:not(.wide){
  display:grid !important;
  grid-template-rows:26px 52px 22px !important;
  gap:6px !important;
  align-content:start !important;
  align-self:start !important;
  margin:0 !important;
}

.quick-thing-form .quick-fields > label:not(.wide) > .field-title{
  display:flex !important;
  align-items:flex-end !important;
  height:26px !important;
  min-height:26px !important;
  margin:0 !important;
  line-height:1.15 !important;
}

.quick-thing-form .quick-fields > label:not(.wide) > select{
  box-sizing:border-box !important;
  width:100% !important;
  height:52px !important;
  min-height:52px !important;
  max-height:52px !important;
  margin:0 !important;
}

.quick-thing-form .quick-fields > label:not(.wide) > small{
  display:block !important;
  height:22px !important;
  min-height:22px !important;
  margin:0 !important;
  padding-top:2px !important;
}

/* Keep the empty helper row under Place so Area helper text cannot push it upward/downward */
.quick-thing-form .quick-fields > label:not(.wide):first-of-type::after{
  content:"";
  display:block;
  height:22px;
}

/* More details — obvious WTBT-style dropdown */
.quick-thing-form .more-details{
  margin-top:18px !important;
  padding-top:14px !important;
  border-top:1px solid var(--line) !important;
}

.quick-thing-form .more-details-summary{
  list-style:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  width:100% !important;
  box-sizing:border-box !important;
  padding:13px 15px !important;
  border:1px solid var(--line) !important;
  border-radius:13px !important;
  background:#faf8f5 !important;
  cursor:pointer !important;
}

.quick-thing-form .more-details-summary::-webkit-details-marker{
  display:none !important;
}

.quick-thing-form .more-details-text{
  display:flex !important;
  align-items:baseline !important;
  gap:8px !important;
}

.quick-thing-form .more-details-text strong{
  color:var(--ink) !important;
  font-weight:900 !important;
}

.quick-thing-form .more-details-text small{
  color:var(--muted) !important;
  font-size:.8rem !important;
  font-weight:700 !important;
}

.quick-thing-form .details-chevron{
  color:var(--ink) !important;
  font-size:20px !important;
  line-height:1 !important;
  transition:transform .18s ease !important;
}

.quick-thing-form .more-details[open] .details-chevron{
  transform:rotate(180deg) !important;
}

.quick-thing-form .more-details[open] .more-details-summary{
  margin-bottom:18px !important;
}

@media(max-width:760px){
  .quick-thing-form .quick-fields{
    grid-template-columns:1fr !important;
  }
}


/* Thing location pair: structural alignment */
.thing-location-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:16px;
  margin-top:17px;
  align-items:start;
}
.thing-location-field{
  display:grid !important;
  grid-template-rows:26px 52px 24px;
  gap:6px !important;
  margin:0 !important;
  align-content:start;
}
.thing-location-field .field-title{
  display:flex;
  align-items:flex-end;
  height:26px;
  margin:0;
  line-height:1.15;
  font-weight:800;
}
.thing-location-field select{
  box-sizing:border-box;
  width:100%;
  height:52px !important;
  min-height:52px !important;
  max-height:52px !important;
  margin:0 !important;
}
.thing-location-field .location-helper{
  display:block;
  height:24px;
  min-height:24px;
  margin:0;
  padding-top:2px;
  line-height:20px;
}
@media(max-width:760px){
  .thing-location-grid{
    grid-template-columns:1fr;
  }
  .thing-location-field:first-child .location-helper{
    display:none;
  }
  .thing-location-field:first-child{
    grid-template-rows:26px 52px;
  }
}


/* =========================================================
   WTBT FINAL SITE-WIDE TYPOGRAPHY + ACCOUNT POLISH
   ========================================================= */

/* Global type scale — smaller, cleaner, more usable */
html{
  font-size:15px !important;
}
body{
  font-size:15px !important;
  line-height:1.45 !important;
}
p, li, label, input, select, textarea, button, a{
  font-size:15px;
}
h1{
  font-size:clamp(34px,4.2vw,46px) !important;
  line-height:1.02 !important;
  letter-spacing:-.035em !important;
}
h2{
  font-size:clamp(24px,2.8vw,30px) !important;
  line-height:1.08 !important;
  letter-spacing:-.025em !important;
}
h3{
  font-size:18px !important;
  line-height:1.15 !important;
}
.eyebrow{
  font-size:11px !important;
  line-height:1.2 !important;
  letter-spacing:.12em !important;
}
.top-actions a,
.nav a,
.primary,
.secondary,
.ghost-btn,
.add-btn,
button{
  font-size:14px !important;
}
input, select, textarea{
  font-size:15px !important;
}
small,
.muted,
.form-foot,
.free-note{
  font-size:13px !important;
}
.area-card h3,
.question-card strong,
.quick-actions strong,
.thing-card h3,
.location-card strong{
  font-size:17px !important;
}
.area-card p,
.question-card p,
.quick-actions small,
.location-card small{
  font-size:13px !important;
}

/* Keep supplied logo untouched */
.brand-image img,
.brand-logo,
.hero-logo{
  font-size:initial !important;
}

/* Account page */
.account-page{
  display:grid !important;
  gap:16px !important;
  margin-bottom:34px !important;
}
.account-head{
  margin:18px 0 2px !important;
}
.account-head .eyebrow{
  margin:0 0 5px !important;
}
.account-head h1{
  margin:0 0 8px !important;
  font-size:clamp(34px,3.8vw,44px) !important;
}
.account-identity{
  margin:0 !important;
  color:var(--muted) !important;
  font-size:14px !important;
  font-weight:750 !important;
}
.account-identity span{
  padding:0 4px;
}

.account-page > .account-card{
  display:block !important;
  box-sizing:border-box !important;
  width:100% !important;
  margin:0 !important;
  padding:22px 24px !important;
  background:#fff !important;
  border:1px solid var(--line) !important;
  border-radius:20px !important;
  box-shadow:var(--shadow) !important;
}
.account-card-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:20px !important;
}
.account-card-head h2{
  margin:0 !important;
  font-size:24px !important;
}
.account-card-head .eyebrow{
  margin:0 0 4px !important;
}
.account-copy{
  max-width:780px !important;
  margin:12px 0 16px !important;
  color:var(--muted) !important;
  font-size:14px !important;
  line-height:1.5 !important;
}
.account-plan-pill{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:50px !important;
  padding:6px 10px !important;
  border-radius:999px !important;
  background:var(--ink) !important;
  color:#fff !important;
  font-size:10px !important;
  font-weight:900 !important;
  letter-spacing:.06em !important;
}
.account-feature-row{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
}
.account-feature-row span,
.account-stats span{
  display:inline-flex !important;
  align-items:center !important;
  gap:5px !important;
  padding:7px 10px !important;
  border-radius:10px !important;
  background:var(--soft) !important;
  color:var(--muted) !important;
  font-size:12px !important;
  line-height:1.2 !important;
  font-weight:800 !important;
}
.account-stats{
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:flex-end !important;
  gap:7px !important;
}
.account-stats strong{
  color:var(--ink) !important;
  font-size:14px !important;
}
.account-action{
  display:inline-flex !important;
  width:auto !important;
}
.account-danger-card{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:28px !important;
}
.account-danger-card .account-copy{
  margin-bottom:0 !important;
}
.account-delete-link{
  flex:none !important;
  color:var(--danger) !important;
  font-size:13px !important;
  font-weight:900 !important;
  text-decoration:underline !important;
  text-underline-offset:3px !important;
}

/* Exact Place + Area alignment */
.thing-location-grid{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:16px !important;
  margin-top:17px !important;
  align-items:start !important;
}
.thing-location-field{
  display:grid !important;
  grid-template-rows:24px 50px 22px !important;
  gap:6px !important;
  margin:0 !important;
  align-content:start !important;
}
.thing-location-field .field-title{
  display:flex !important;
  align-items:flex-end !important;
  height:24px !important;
  margin:0 !important;
  line-height:1.15 !important;
  font-size:14px !important;
  font-weight:800 !important;
}
.thing-location-field select{
  box-sizing:border-box !important;
  width:100% !important;
  height:50px !important;
  min-height:50px !important;
  max-height:50px !important;
  margin:0 !important;
  font-size:15px !important;
}
.thing-location-field .location-helper{
  display:block !important;
  height:22px !important;
  min-height:22px !important;
  margin:0 !important;
  padding-top:2px !important;
  line-height:18px !important;
  font-size:12px !important;
}

@media(max-width:760px){
  .account-page > .account-card{
    padding:18px !important;
  }
  .account-card-head,
  .account-danger-card{
    align-items:flex-start !important;
    flex-direction:column !important;
  }
  .account-stats{
    justify-content:flex-start !important;
  }
  .thing-location-grid{
    grid-template-columns:1fr !important;
  }
  .thing-location-field:first-child{
    grid-template-rows:24px 50px !important;
  }
  .thing-location-field:first-child .location-helper{
    display:none !important;
  }
}


/* WTBT Place icon chooser */
.field-label{
  display:block;
  margin:0 0 8px;
  font-size:13px;
  font-weight:900;
}
.icon-chooser{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(92px,1fr));
  gap:8px;
}
.icon-choice{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:54px;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  cursor:pointer;
  transition:.15s ease;
}
.icon-choice:hover{
  border-color:#c8beb2;
  background:#faf8f5;
}
.icon-choice input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.icon-choice:has(input:checked){
  border-color:var(--ink);
  box-shadow:0 0 0 2px var(--ink) inset;
  background:#fffaf0;
}
.icon-choice-emoji{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  flex:0 0 34px;
  border-radius:9px;
  background:var(--soft);
  font-size:20px;
}
.icon-choice small{
  font-size:12px !important;
  font-weight:800;
  color:var(--muted);
}
.icon-chooser.compact{
  grid-template-columns:repeat(6,42px);
  gap:6px;
  margin-top:7px;
}
.icon-chooser.compact .icon-choice{
  width:42px;
  height:42px;
  min-height:42px;
  padding:4px;
  justify-content:center;
}
.icon-chooser.compact .icon-choice-emoji{
  width:30px;
  height:30px;
  font-size:18px;
}
.manage-icon-wrap{
  margin-top:12px;
}
.manage-icon-label{
  display:block;
  font-size:12px;
  font-weight:900;
  margin-bottom:4px;
}
.onboard-icon-row{
  margin:14px 0 18px;
}
@media(max-width:600px){
  .icon-chooser{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .icon-chooser.compact{
    grid-template-columns:repeat(5,42px);
  }
}


/* =========================================================
   WTBT NAVIGATION FINAL
   ========================================================= */
.wtbt-topbar{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:26px !important;
}
.desktop-main-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  margin-left:auto;
}
.desktop-main-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 13px;
  border-radius:11px;
  color:var(--muted);
  text-decoration:none;
  font-size:14px !important;
  font-weight:850;
}
.desktop-main-nav a:hover{
  color:var(--ink);
  background:#f4f0ea;
}
.desktop-main-nav a.active{
  color:var(--ink);
  background:transparent;
  box-shadow:inset 0 -3px 0 var(--brand);
  border-radius:0;
}
.add-thing-action{
  background:var(--brand) !important;
  color:var(--ink) !important;
  border:1px solid #d79a00 !important;
  border-radius:11px !important;
  font-weight:950 !important;
  text-decoration:none !important;
}
.add-thing-action:hover{
  filter:brightness(.98);
  background:var(--brand) !important;
}
.mobile-menu-toggle,
.mobile-main-menu{
  display:none;
}

/* =========================================================
   SMART PLACE ICON PICKER
   ========================================================= */
.field-label{
  display:block;
  margin:0 0 10px;
  font-size:13px !important;
  font-weight:900;
}
.place-icon-picker{
  display:grid;
  gap:10px;
}
.place-icon-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
}
.place-icon-tile{
  position:relative;
  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:94px;
  padding:10px 8px !important;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  cursor:pointer;
  text-align:center;
  transition:.15s ease;
}
.place-icon-tile:hover{
  transform:translateY(-1px);
  border-color:#cfc4b7;
}
.place-icon-tile input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.place-icon-tile:has(input:checked){
  border-color:var(--ink);
  box-shadow:0 0 0 2px var(--ink) inset;
  background:#fff9e8;
}
.place-icon-art{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  margin-bottom:7px;
  border-radius:11px;
  background:#f4f0ea;
}
.place-icon-art img{
  width:32px;
  height:32px;
  object-fit:contain;
}
.place-icon-name{
  color:var(--ink);
  font-size:12px;
  line-height:1.15;
  font-weight:850;
}
.more-icons{
  margin-top:2px;
}
.more-icons > summary{
  list-style:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#faf8f5;
  cursor:pointer;
  font-size:12px;
  font-weight:850;
}
.more-icons > summary::-webkit-details-marker{display:none}
.more-icons .place-icon-grid{
  margin-top:10px;
}
.manage-icon-wrap{
  margin-top:12px;
}
.manage-icon-wrap .place-icon-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.manage-icon-wrap .place-icon-tile{
  min-height:74px;
}
.manage-icon-wrap .place-icon-name{
  display:none;
}
.place-icon-display{
  display:grid !important;
  place-items:center !important;
}
.place-icon-display img{
  width:30px;
  height:30px;
  object-fit:contain;
}
.area-icon.big.place-icon-display img{
  width:48px;
  height:48px;
}
.onboard-icon-row{
  margin:14px 0 18px;
}

/* Mobile hamburger */
@media(max-width:760px){
  .wtbt-topbar{
    padding:14px !important;
  }
  .desktop-main-nav{
    display:none !important;
  }
  .mobile-menu-toggle{
    display:inline-flex !important;
    align-items:center;
    gap:8px;
    min-height:42px;
    padding:0 12px;
    border:1px solid var(--line);
    border-radius:11px;
    background:#fff;
    color:var(--ink);
    font:inherit;
    font-size:13px !important;
    font-weight:900;
    cursor:pointer;
  }
  .hamburger-lines{
    font-size:18px;
    line-height:1;
  }
  .mobile-main-menu{
    display:none;
    margin:0 14px 14px;
    padding:10px;
    border:1px solid var(--line);
    border-radius:16px;
    background:#fff;
    box-shadow:0 18px 45px rgba(23,19,15,.12);
  }
  .mobile-main-menu.open{
    display:grid;
    gap:4px;
  }
  .mobile-main-menu a{
    display:flex;
    align-items:center;
    min-height:44px;
    padding:0 12px;
    border-radius:10px;
    color:var(--ink);
    text-decoration:none;
    font-size:14px !important;
    font-weight:850;
  }
  .mobile-main-menu a.active{
    background:#f4f0ea;
    box-shadow:inset 3px 0 0 var(--brand);
  }
  .mobile-add-thing{
    justify-content:center;
    margin-top:6px;
  }
  .place-icon-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .manage-icon-wrap .place-icon-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}


/* =========================================================
   WTBT SIMPLE EMOJI ICON PICKER
   ========================================================= */
.icon-field{
  margin-top:2px;
}
.field-label{
  display:block;
  margin:0 0 8px;
  font-size:13px !important;
  font-weight:900;
}
.emoji-picker{
  display:grid;
  gap:9px;
}
.emoji-grid{
  display:grid;
  grid-template-columns:repeat(8,minmax(0,1fr));
  gap:8px;
}
.emoji-tile{
  position:relative;
  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:72px;
  padding:7px 5px !important;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  cursor:pointer;
  text-align:center;
}
.emoji-tile:hover{
  background:#faf8f5;
}
.emoji-tile input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.emoji-tile:has(input:checked){
  border-color:var(--brand);
  box-shadow:0 0 0 2px var(--brand) inset;
  background:#fffaf0;
}
.emoji-symbol{
  font-size:25px;
  line-height:1;
}
.emoji-tile small{
  margin-top:5px;
  color:var(--muted);
  font-size:10px !important;
  font-weight:800;
}
.emoji-more > summary{
  list-style:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 9px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#faf8f5;
  cursor:pointer;
  font-size:12px;
  font-weight:850;
}
.emoji-more > summary::-webkit-details-marker{display:none}
.emoji-more .emoji-grid{
  margin-top:9px;
}

/* Place manager stays compact until opened */
.wtbt-manage{
  position:relative;
}
.wtbt-manage-btn{
  min-height:42px !important;
  padding:0 12px !important;
  font-size:13px !important;
}
.wtbt-manage-popover{
  width:310px !important;
  padding:16px !important;
}
.wtbt-manage-form > label{
  display:grid;
  gap:6px;
  font-size:12px !important;
  font-weight:900;
}
.wtbt-manage-form input{
  height:42px;
}
.change-icon-panel{
  margin-top:12px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#faf8f5;
}
.change-icon-panel > summary{
  list-style:none;
  display:flex;
  align-items:center;
  gap:9px;
  min-height:42px;
  padding:0 10px;
  cursor:pointer;
  font-size:12px;
  font-weight:850;
}
.change-icon-panel > summary::-webkit-details-marker{display:none}
.current-place-icon{
  font-size:20px;
}
.change-icon-panel .chev{
  margin-left:auto;
  color:var(--muted);
}
.change-icon-body{
  padding:10px;
  border-top:1px solid var(--line);
  background:#fff;
  border-radius:0 0 11px 11px;
}
.emoji-grid.compact{
  grid-template-columns:repeat(8,1fr);
  gap:5px;
}
.emoji-tile.compact{
  min-height:40px;
  height:40px;
  padding:2px !important;
  border-radius:9px;
}
.emoji-tile.compact .emoji-symbol{
  font-size:20px;
}
.compact-more{
  margin-top:8px;
}
.wtbt-save-btn{
  width:100%;
  margin-top:12px !important;
}
.wtbt-delete-btn{
  width:auto;
}

/* Old custom icon assets no longer used */
.place-icon-display img,
.place-icon-art img{
  display:none !important;
}

@media(max-width:760px){
  .emoji-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .emoji-grid.compact{
    grid-template-columns:repeat(6,1fr);
  }
}


/* CLEAN WTBT icon picker — no browser radio circles */
.clean-icon-picker{
  margin-top:2px;
}
.clean-icon-picker .field-label{
  display:block;
  margin:0 0 9px;
  font-size:13px !important;
  font-weight:900;
}
.clean-icon-grid{
  display:grid;
  grid-template-columns:repeat(8,minmax(0,1fr));
  gap:8px;
}
.clean-icon-tile{
  position:relative;
  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:76px;
  padding:7px 5px !important;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  cursor:pointer;
  text-align:center;
}
.clean-icon-tile:hover{
  background:#faf8f5;
}
.clean-icon-tile input{
  display:none !important;
}
.clean-icon-tile:has(input:checked){
  border-color:var(--brand);
  box-shadow:0 0 0 2px var(--brand) inset;
  background:#fffaf0;
}
.clean-icon-emoji{
  font-size:25px;
  line-height:1;
}
.clean-icon-label{
  margin-top:6px;
  color:var(--muted);
  font-size:10px;
  line-height:1.1;
  font-weight:850;
}
.clean-more-icons{
  margin-top:9px;
}
.clean-more-icons > summary{
  list-style:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#faf8f5;
  cursor:pointer;
  font-size:12px;
  font-weight:850;
}
.clean-more-icons > summary::-webkit-details-marker{
  display:none;
}
.clean-more-icons .clean-icon-grid{
  margin-top:9px;
}

/* Keep Add Place and Add Area visually separate */
.place-create-card,
.quick-area-card{
  margin-top:18px !important;
  display:block !important;
  width:100% !important;
}
.quick-area-card{
  margin-bottom:28px !important;
}

/* Override any earlier broken picker rules */
.emoji-picker,
.place-icon-picker,
.icon-chooser{
  display:none !important;
}

@media(max-width:900px){
  .clean-icon-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
@media(max-width:520px){
  .clean-icon-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}


/* =========================================================
   WTBT COMPACT PLACE ICON PICKER — target design
   ========================================================= */
.wtbt-icon-picker{
  margin-top:8px;
  padding:14px 16px 16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#f7f4ee;
}
.wtbt-icon-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.wtbt-icon-choice{
  position:relative;
  display:grid !important;
  place-items:center;
  width:76px;
  height:76px;
  margin:0 !important;
  padding:0 !important;
  border:1px solid #d6dce4;
  border-radius:14px;
  background:#fff;
  cursor:pointer;
  transition:.15s ease;
}
.wtbt-icon-choice:hover{
  transform:translateY(-1px);
  border-color:#bfc6cf;
}
.wtbt-icon-choice input{
  position:absolute !important;
  opacity:0 !important;
  pointer-events:none !important;
}
.wtbt-icon-choice span{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:10px;
  background:#eee9e2;
  font-size:28px;
  line-height:1;
}
.wtbt-icon-choice:has(input:checked){
  border:2px solid var(--brand);
  background:#fffaf0;
  box-shadow:none;
}
.wtbt-more-icons{
  margin-top:12px;
}
.wtbt-more-icons > summary{
  list-style:none;
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:42px;
  padding:0 16px;
  border:1px solid #d6dce4;
  border-radius:999px;
  background:#fff;
  color:var(--ink);
  cursor:pointer;
  font-size:13px !important;
  font-weight:850;
}
.wtbt-more-icons > summary::-webkit-details-marker{
  display:none;
}
.wtbt-more-icons[open] > summary span{
  transform:rotate(180deg);
}
.wtbt-icon-row-more{
  margin-top:12px;
}
.wtbt-selected-icon{
  margin-top:12px;
  color:var(--muted);
  font-size:12px !important;
}
.wtbt-selected-icon strong{
  color:var(--muted);
}

/* Hide earlier experimental chooser widgets if their CSS survives elsewhere */
.clean-icon-picker,
.emoji-picker,
.place-icon-picker,
.icon-chooser{
  display:none !important;
}

@media(max-width:700px){
  .wtbt-icon-picker{
    padding:12px;
  }
  .wtbt-icon-choice{
    width:62px;
    height:62px;
  }
  .wtbt-icon-choice span{
    width:36px;
    height:36px;
    font-size:24px;
  }
}


/* =========================================================
   WTBT THING PHOTO CARDS — readable text over any image
   ========================================================= */
.thing-card.has-photo,
.recent-card.has-photo,
.photo-thing-card,
.thing-photo-card{
  position:relative;
  overflow:hidden;
}
.thing-card.has-photo::after,
.recent-card.has-photo::after,
.photo-thing-card::after,
.thing-photo-card::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:62%;
  pointer-events:none;
  background:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.72));
}
.thing-card.has-photo .thing-card-body,
.recent-card.has-photo .thing-card-body,
.photo-thing-card .thing-card-body,
.thing-photo-card .thing-card-body,
.thing-card.has-photo .card-copy,
.recent-card.has-photo .card-copy{
  position:absolute;
  z-index:2;
  left:16px;
  right:16px;
  bottom:14px;
}
.thing-card.has-photo h3,
.recent-card.has-photo h3,
.photo-thing-card h3,
.thing-photo-card h3,
.thing-card.has-photo strong,
.recent-card.has-photo strong{
  color:#fff !important;
  text-shadow:0 1px 2px rgba(0,0,0,.3);
}
.thing-card.has-photo p,
.recent-card.has-photo p,
.photo-thing-card p,
.thing-photo-card p,
.thing-card.has-photo small,
.recent-card.has-photo small{
  color:rgba(255,255,255,.88) !important;
  text-shadow:0 1px 2px rgba(0,0,0,.28);
}
.thing-card.has-photo .pill,
.recent-card.has-photo .pill,
.photo-thing-card .pill,
.thing-photo-card .pill{
  position:relative;
  z-index:3;
  background:rgba(255,255,255,.94) !important;
  color:#171717 !important;
  text-shadow:none !important;
}


/* FINAL recent Thing photo readability */
.thing-grid .thing-card.has-photo{
  position:relative !important;
  overflow:hidden !important;
  min-height:290px;
  background:#171717 !important;
}
.thing-grid .thing-card.has-photo .thing-photo{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
}
.thing-grid .thing-card.has-photo .thing-photo img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}
.thing-grid .thing-card.has-photo::after{
  content:"" !important;
  position:absolute !important;
  z-index:1 !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  height:58% !important;
  background:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.82)) !important;
  pointer-events:none !important;
}
.thing-grid .thing-card.has-photo .thing-body{
  position:absolute !important;
  z-index:2 !important;
  left:16px !important;
  right:16px !important;
  bottom:15px !important;
  padding:0 !important;
}
.thing-grid .thing-card.has-photo .thing-body .pill{
  display:inline-flex !important;
  margin-bottom:7px !important;
  background:rgba(255,255,255,.94) !important;
  color:#171717 !important;
  text-shadow:none !important;
}
.thing-grid .thing-card.has-photo .thing-body h3{
  margin:0 0 3px !important;
  color:#fff !important;
  font-size:18px !important;
  text-shadow:0 1px 3px rgba(0,0,0,.45) !important;
}
.thing-grid .thing-card.has-photo .thing-body p{
  margin:0 !important;
  color:rgba(255,255,255,.9) !important;
  font-size:13px !important;
  font-weight:800 !important;
  text-shadow:0 1px 3px rgba(0,0,0,.45) !important;
}


/* =========================================================
   WTBT LANDING PAGE LOGO — FINAL SIZE FIX
   ========================================================= */
.landing-copy .landing-second-logo{
  display:block !important;
  width:330px !important;
  max-width:100% !important;
  height:auto !important;
  max-height:none !important;
  margin:0 0 24px !important;
  object-fit:contain !important;
  object-position:left center !important;
  transform:none !important;
}

/* Stop broad image rules from ever stretching the hero logo */
.landing-hero .landing-second-logo,
.landing-copy img.landing-second-logo{
  inline-size:330px !important;
  block-size:auto !important;
}

@media(max-width:760px){
  .landing-copy .landing-second-logo,
  .landing-hero .landing-second-logo,
  .landing-copy img.landing-second-logo{
    width:250px !important;
    inline-size:250px !important;
    max-width:82vw !important;
    margin-bottom:18px !important;
  }
}

/* =========================================================
   WTBT PUBLIC HEADER — LOG IN / REGISTER
   ========================================================= */
.public-header-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:10px !important;
  margin-left:auto !important;
}
.public-header-actions a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:44px !important;
  padding:0 16px !important;
  border-radius:12px !important;
  font-size:14px !important;
  line-height:1 !important;
  font-weight:900 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
}
.public-login-btn{
  border:1px solid var(--line) !important;
  background:#fff !important;
  color:var(--ink) !important;
}
.public-register-btn{
  border:1px solid #d79a00 !important;
  background:var(--brand) !important;
  color:var(--ink) !important;
}

@media(max-width:700px){
  .wtbt-topbar:has(.public-header-actions){
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
  }
  .public-header-actions{
    gap:7px !important;
  }
  .public-header-actions a{
    min-height:40px !important;
    padding:0 11px !important;
    font-size:12.5px !important;
  }
}
@media(max-width:430px){
  .wtbt-topbar:has(.public-header-actions){
    align-items:flex-start !important;
    flex-direction:column !important;
  }
  .public-header-actions{
    width:100% !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
  }
  .public-header-actions a{
    width:100% !important;
  }
}


/* =========================================================
   WTBT BACK TO TOP — FINAL POSITION/VISIBILITY FIX
   ========================================================= */
#wtbt-back-to-top.wtbt-back-to-top{
  position:fixed !important;
  left:auto !important;
  right:22px !important;
  top:auto !important;
  bottom:22px !important;
  z-index:9999 !important;

  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;

  width:auto !important;
  min-width:0 !important;
  min-height:42px !important;
  margin:0 !important;
  padding:0 14px !important;

  border:1px solid #d8d1c8 !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#171717 !important;
  box-shadow:0 10px 28px rgba(20,16,12,.10) !important;

  text-decoration:none !important;
  font-size:12px !important;
  font-weight:900 !important;
  line-height:1 !important;

  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transform:translateY(8px) !important;

  transition:
    opacity .18s ease,
    transform .18s ease,
    visibility .18s ease !important;
}

#wtbt-back-to-top.wtbt-back-to-top.is-visible{
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  transform:translateY(0) !important;
}

#wtbt-back-to-top .wtbt-top-arrow{
  display:grid !important;
  place-items:center !important;
  width:24px !important;
  height:24px !important;
  flex:0 0 24px !important;
  border-radius:50% !important;
  background:#f2ae00 !important;
  color:#171717 !important;
  font-size:14px !important;
  font-weight:900 !important;
  line-height:1 !important;
}

#wtbt-back-to-top .wtbt-top-label{
  display:inline !important;
}

@media(max-width:700px){
  #wtbt-back-to-top.wtbt-back-to-top{
    right:14px !important;
    bottom:14px !important;
    min-height:40px !important;
    padding:0 12px !important;
  }
}


/* =========================================================
   WTBT PRO HOUSEHOLD SHARING
   ========================================================= */
.sharing-layout{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:16px;
}
.sharing-invite-card,.sharing-members-card{margin:0 !important}
.sharing-two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.sharing-place-picker{
  margin:4px 0 14px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#faf8f5;
}
.sharing-place-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.sharing-place-choice{
  display:flex !important;
  align-items:center;
  gap:8px;
  min-height:44px;
  padding:7px 9px !important;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  font-size:12px !important;
  font-weight:800;
}
.sharing-place-icon{font-size:19px}
.sharing-member-list{display:grid;gap:9px}
.sharing-member{
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
}
.sharing-member > summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:13px;
  cursor:pointer;
}
.sharing-member > summary::-webkit-details-marker{display:none}
.sharing-member > summary div{display:grid;gap:3px}
.sharing-member > summary span{color:var(--muted);font-size:11px}
.sharing-member-body{
  padding:13px;
  border-top:1px solid var(--line);
  background:#faf8f5;
}
.sharing-update-form{display:grid;gap:12px}
.sharing-remove{
  margin-top:12px;
  border:0;
  background:transparent;
  color:#9a342b;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
}
.account-card-actions{display:flex;gap:8px;flex-wrap:wrap}
.sharing-empty{min-height:120px}
@media(max-width:800px){
  .sharing-layout{grid-template-columns:1fr}
}
@media(max-width:560px){
  .sharing-two,.sharing-place-grid{grid-template-columns:1fr}
}


/* =========================================================
   WTBT LANDING — HOUSEHOLD SHARING FEATURE
   ========================================================= */
.landing-sharing-feature{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);
  gap:28px;
  align-items:center;
  margin:52px 0;
  padding:30px;
  border:1px solid var(--line);
  border-radius:24px;
  background:#fff;
  box-shadow:var(--shadow);
}
.landing-sharing-copy h2{
  margin:3px 0 12px;
  font-size:clamp(28px,3.2vw,42px);
  line-height:1.04;
}
.landing-sharing-copy > p:last-of-type{
  max-width:690px;
  margin-bottom:18px;
  color:var(--muted);
  font-size:15px;
}
.landing-sharing-points{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.landing-sharing-points span{
  padding:7px 10px;
  border-radius:999px;
  background:var(--soft);
  font-size:11px;
  font-weight:850;
}
.landing-sharing-demo{
  display:flex;
  align-items:center;
  gap:17px;
  padding:22px;
  border-radius:18px;
  background:#171717;
  color:#fff;
}
.landing-sharing-icon{
  display:grid;
  place-items:center;
  width:62px;
  height:62px;
  flex:0 0 62px;
  border-radius:15px;
  background:var(--accent);
  font-size:30px;
}
.landing-sharing-demo small{
  display:block;
  margin-bottom:4px;
  color:#bdb7b0;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}
.landing-sharing-demo strong{
  display:block;
  font-size:18px;
  line-height:1.2;
}
.landing-sharing-demo p{
  margin:6px 0 0;
  color:#c9c4bd;
  font-size:12px;
}

/* My Account — Pro Sharing / export */
.sharing-account-card{
  position:relative;
}
.sharing-account-card h2{
  margin-bottom:8px;
}
.sharing-account-card > p:not(.eyebrow){
  max-width:760px;
  color:var(--muted);
}
.account-pro-lock{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:14px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:13px;
  background:#faf8f5;
}
.account-pro-lock-icon{
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  flex:0 0 40px;
  border-radius:10px;
  background:#eee9e1;
}
.account-pro-lock strong{
  display:block;
  font-size:13px;
}
.account-pro-lock p{
  margin:3px 0 0;
  color:var(--muted);
  font-size:11px;
}
@media(max-width:760px){
  .landing-sharing-feature{
    grid-template-columns:1fr;
    padding:20px;
  }
}


/* =========================================================
   WTBT HOUSEHOLD SHARING — SLICK MEMBER CARDS
   ========================================================= */
.sharing-layout{
  align-items:start !important;
  gap:24px !important;
}

.sharing-invite-card,
.sharing-members-card{
  border-radius:18px !important;
}

.sharing-members-card{
  margin-top:0 !important;
}

.sharing-member-list{
  display:grid !important;
  gap:12px !important;
  margin-top:16px !important;
}

.sharing-member{
  overflow:hidden !important;
  border:1px solid var(--line) !important;
  border-radius:14px !important;
  background:#fff !important;
}

.sharing-member-summary{
  list-style:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  padding:14px !important;
  cursor:pointer !important;
}

.sharing-member-summary::-webkit-details-marker{
  display:none !important;
}

.sharing-member-main{
  display:flex !important;
  align-items:center !important;
  gap:11px !important;
  min-width:0 !important;
}

.sharing-member-avatar{
  display:grid !important;
  place-items:center !important;
  width:42px !important;
  height:42px !important;
  flex:0 0 42px !important;
  border-radius:11px !important;
  background:var(--soft) !important;
  font-size:20px !important;
}

.sharing-member-copy{
  display:grid !important;
  gap:3px !important;
  min-width:0 !important;
}

.sharing-member-copy strong{
  overflow:hidden !important;
  color:var(--ink) !important;
  font-size:13px !important;
  font-weight:900 !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}

.sharing-member-copy span{
  overflow:hidden !important;
  color:var(--muted) !important;
  font-size:11px !important;
  font-weight:700 !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}

.sharing-member-meta{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:8px !important;
  flex-wrap:wrap !important;
}

.sharing-status,
.sharing-access-summary{
  display:inline-flex !important;
  align-items:center !important;
  min-height:26px !important;
  padding:0 8px !important;
  border-radius:999px !important;
  font-size:10px !important;
  font-weight:900 !important;
}

.sharing-status.connected{
  background:#e5f3e8 !important;
  color:#286139 !important;
}

.sharing-status.pending{
  background:#fff2cd !important;
  color:#745900 !important;
}

.sharing-access-summary{
  background:var(--soft) !important;
  color:var(--muted) !important;
}

.sharing-manage-label{
  display:inline-flex !important;
  align-items:center !important;
  gap:5px !important;
  min-height:32px !important;
  padding:0 10px !important;
  border:1px solid var(--line) !important;
  border-radius:9px !important;
  background:#fff !important;
  color:var(--ink) !important;
  font-size:11px !important;
  font-weight:900 !important;
}

.sharing-member[open] .sharing-chevron{
  transform:rotate(180deg) !important;
}

.sharing-member-body{
  padding:16px !important;
  border-top:1px solid var(--line) !important;
  background:#faf8f5 !important;
}

.sharing-update-form{
  display:grid !important;
  gap:14px !important;
}

.sharing-member-actions{
  display:flex !important;
  justify-content:flex-end !important;
}

.sharing-save-btn{
  min-height:40px !important;
  padding:0 14px !important;
  border:0 !important;
  border-radius:9px !important;
  background:#171717 !important;
  color:#fff !important;
  cursor:pointer !important;
  font-size:12px !important;
  font-weight:900 !important;
}

.sharing-member-divider{
  height:1px !important;
  margin:14px 0 10px !important;
  background:#e7e0d8 !important;
}

.sharing-remove{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:#9a342b !important;
  cursor:pointer !important;
  font-size:11px !important;
  font-weight:900 !important;
}

@media(max-width:700px){
  .sharing-layout{
    gap:18px !important;
  }

  .sharing-member-summary{
    align-items:flex-start !important;
    flex-direction:column !important;
  }

  .sharing-member-meta{
    justify-content:flex-start !important;
  }
}


/* Small breathing room below invite email field */
.sharing-invite-card > form > label:first-of-type{
  margin-bottom:9px !important;
}


/* =========================================================
   WTBT PWA — USER-FRIENDLY INSTALL
   ========================================================= */
.pwa-install-btn{
  appearance:none;
  cursor:pointer;
  gap:8px !important;
}
.pwa-install-btn[hidden]{
  display:none !important;
}
.pwa-install-icon{
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#f2ae00;
  color:#171717;
  font-size:13px;
  font-weight:950;
  line-height:1;
}
.pwa-install-note{
  margin:9px 0 0;
  color:var(--muted);
  font-size:11px;
  font-weight:750;
}
.pwa-install-note[hidden]{
  display:none !important;
}
@media(max-width:700px){
  .cta-row .pwa-install-btn{
    width:100%;
  }
}


/* =========================================================
   WTBT THINGS PAGE — TRUE LEFT ALIGNMENT FIX
   ========================================================= */
.wtbt-things-page{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
}

.wtbt-things-page > *{
  margin-left:0 !important;
  margin-right:0 !important;
}

.wtbt-things-page .section-head,
.wtbt-things-page .mega-search,
.wtbt-things-page .things-grid,
.wtbt-things-page .thing-grid,
.wtbt-things-page .empty,
.wtbt-things-page .wide-empty{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
}

/* Neutralise any accidental inner container offset on Things only */
.wtbt-things-page .wrap,
.wtbt-things-page .container,
.wtbt-things-page .content,
.wtbt-things-page .page-shell{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

/* =========================================================
   MOBILE FOOTER — CENTER EVERYTHING
   ========================================================= */
@media(max-width:700px){
  footer,
  .site-footer,
  .footer,
  .footer-inner,
  .footer-wrap{
    text-align:center !important;
  }

  .site-footer,
  footer{
    width:100% !important;
  }

  .footer-inner,
  .footer-wrap{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:12px !important;
  }

  footer .footer-left,
  footer .footer-right,
  .site-footer .footer-left,
  .site-footer .footer-right{
    width:100% !important;
    text-align:center !important;
  }

  footer nav,
  footer .footer-links,
  .site-footer nav,
  .site-footer .footer-links{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    gap:16px !important;
    width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  footer p,
  footer small,
  footer a,
  .site-footer p,
  .site-footer small,
  .site-footer a{
    text-align:center !important;
  }
}


/* =========================================================
   WTBT DEFINITIVE MERGED FIXES
   ========================================================= */

/* Things uses the shared main.wrap directly, same as other main pages. */
body{
  overflow-x:hidden;
}

main.wrap > .section-head,
main.wrap > .filters,
main.wrap > .attention-banner,
main.wrap > .inventory-list,
main.wrap > .empty,
main.wrap > .wide-empty{
  box-sizing:border-box;
  max-width:100%;
}

.inventory-list,
.inventory-row,
.inventory-head,
.filters{
  min-width:0;
}

@media(max-width:700px){
  .filters{
    width:100% !important;
    grid-template-columns:1fr !important;
  }

  .filters > *{
    width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }

  .inventory-list,
  .inventory-row{
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }

  .inventory-list{
    overflow:hidden !important;
  }

  .inventory-thing,
  .inventory-location{
    min-width:0 !important;
  }

  .inventory-thing strong,
  .inventory-location strong{
    overflow-wrap:anywhere !important;
  }
}

/* Actual current footer centered on mobile. */
@media(max-width:700px){
  footer.site-footer{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:14px !important;
    text-align:center !important;
  }

  footer.site-footer > div{
    width:100% !important;
    text-align:center !important;
  }

  footer.site-footer > div strong,
  footer.site-footer > div span{
    display:block !important;
    width:100% !important;
    text-align:center !important;
  }

  footer.site-footer nav.footer-links{
    display:flex !important;
    width:100% !important;
    align-items:center !important;
    justify-content:center !important;
    flex-wrap:wrap !important;
    gap:16px !important;
    margin:0 !important;
    text-align:center !important;
  }
}

/* Install WTBT */
.pwa-install-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
}
.pwa-install-icon{
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#F2A900;
  color:#111;
  font-size:13px;
  font-weight:950;
}
.pwa-install-note{
  margin:9px 0 0;
  color:var(--muted);
  font-size:11px;
  font-weight:750;
}
.account-pwa-icon{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:10px;
  background:#F2A900;
  color:#111;
  font-size:24px;
  font-weight:950;
}
@media(max-width:700px){
  .cta-row .pwa-install-btn{
    width:100%;
  }
}

/* Thing edit — destructive action kept inside More options */
.thing-more-options{
  position:relative;
  flex:0 0 auto;
}
.thing-more-options > summary{
  list-style:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:42px;
  padding:0 13px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:var(--ink);
  cursor:pointer;
  font-size:12px;
  font-weight:900;
}
.thing-more-options > summary::-webkit-details-marker{
  display:none;
}
.thing-more-options[open] > summary{
  background:#faf8f5;
}
.thing-more-options-menu{
  position:absolute;
  z-index:40;
  top:48px;
  right:0;
  width:180px;
  padding:8px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#fff;
  box-shadow:0 16px 38px rgba(20,16,12,.14);
}
.thing-delete-action{
  display:block;
  padding:10px 11px;
  border-radius:8px;
  background:#fff7f5;
  color:#9a342b;
  text-decoration:none;
  font-size:12px;
  font-weight:900;
}
.thing-delete-action:hover{
  background:#fdeae7;
}
@media(max-width:700px){
  .thing-more-options{
    width:100%;
  }
  .thing-more-options > summary{
    width:100%;
    box-sizing:border-box;
  }
  .thing-more-options-menu{
    left:0;
    right:auto;
    width:min(220px,100%);
    box-sizing:border-box;
  }
}


/* =========================================================
   WTBT THING DELETE — INSIDE MORE DETAILS
   ========================================================= */
.thing-more-options{
  display:none !important;
}

.thing-details-danger{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  grid-column:1 / -1;
  margin-top:6px;
  padding:14px 0 2px;
  border-top:1px solid #eaded9;
}

.thing-details-danger > div{
  display:grid;
  gap:3px;
}

.thing-details-danger strong{
  color:#7f2d26;
  font-size:12px;
  font-weight:900;
}

.thing-details-danger span{
  color:var(--muted);
  font-size:10px;
  font-weight:700;
}

.thing-delete-inside{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 12px;
  border:1px solid #edcbc6;
  border-radius:9px;
  background:#fff7f5;
  color:#98352c;
  text-decoration:none;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}

.thing-delete-inside:hover{
  background:#fdebe8;
}

@media(max-width:700px){
  .thing-details-danger{
    align-items:flex-start;
    flex-direction:column;
  }

  .thing-delete-inside{
    width:100%;
    box-sizing:border-box;
  }
}


/* =========================================================
   THING FORM ACTIONS — SAVE LEFT / DELETE RIGHT
   ========================================================= */
.thing-form-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  width:100%;
  margin-top:14px;
}

.thing-form-actions > button{
  margin:0 !important;
}

.thing-delete-bottom{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 18px;
  border:1px solid #a9271f;
  border-radius:10px;
  background:#b52f26;
  color:#fff !important;
  text-decoration:none !important;
  font-size:11px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
}

.thing-delete-bottom:hover{
  background:#98241d;
  border-color:#98241d;
}

@media(max-width:700px){
  .thing-form-actions{
    align-items:stretch;
  }

  .thing-form-actions > button,
  .thing-delete-bottom{
    width:auto !important;
    min-width:0;
  }
}


/* Household Sharing landing card */
.wtbt-sharing-feature-card{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);
  gap:26px;
  align-items:center;
  width:100%;
  box-sizing:border-box;
  margin:28px 0 54px;
  padding:28px;
  border:1px solid #ddd6cd;
  border-radius:22px;
  background:#fff;
  box-shadow:0 14px 38px rgba(22,18,14,.055);
}
.wtbt-sharing-card-copy h2{
  margin:0 0 13px;
  font-size:clamp(27px,3vw,39px);
  line-height:1.06;
}
.wtbt-sharing-card-copy > p{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.55;
}
.wtbt-sharing-benefits{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.wtbt-sharing-benefits span{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 10px;
  border-radius:999px;
  background:#f0ece6;
  font-size:11px;
  font-weight:850;
}
.wtbt-sharing-card-side{
  display:flex;
  align-items:center;
  gap:15px;
  min-height:126px;
  box-sizing:border-box;
  padding:20px;
  border-radius:17px;
  background:#171717;
  color:#fff;
}
.wtbt-sharing-side-icon{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  flex:0 0 58px;
  border-radius:14px;
  background:#F2A900;
  font-size:28px;
}
.wtbt-sharing-side-label{
  display:block;
  margin-bottom:4px;
  color:#bdb7b0;
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
}
.wtbt-sharing-card-side strong{
  display:block;
  margin-bottom:5px;
  color:#fff;
  font-size:17px;
  line-height:1.2;
}
.wtbt-sharing-card-side p{
  margin:0;
  color:#c8c2ba;
  font-size:11px;
  line-height:1.45;
}
@media(max-width:760px){
  .wtbt-sharing-feature-card{
    grid-template-columns:1fr;
    padding:20px;
  }
}


/* =========================================================
   WTBT MOBILE — LOCK PAGE TO VIEWPORT
   Prevents the site sliding horizontally on iPhone.
   Desktop is untouched.
   ========================================================= */
@media(max-width:760px){
  html,
  body{
    width:100% !important;
    max-width:100% !important;
    overflow-x:hidden !important;
  }

  body{
    position:relative !important;
  }

  .topbar,
  .wtbt-topbar,
  main.wrap,
  .wrap,
  footer,
  footer.site-footer,
  .site-footer{
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }

  .topbar,
  .wtbt-topbar{
    margin-left:auto !important;
    margin-right:auto !important;
  }

  main.wrap,
  .wrap{
    margin-left:auto !important;
    margin-right:auto !important;
  }

  main.wrap > *,
  .wrap > *{
    min-width:0 !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }

  .section-head,
  .area-grid,
  .area-grid.large,
  .area-card,
  .location-grid,
  .location-card,
  .thing-grid,
  .thing-card,
  .form-card,
  .filters,
  .inventory-list,
  .inventory-row,
  .mega-search,
  .quick-actions,
  .pricing-grid,
  .price-card{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }

  .area-card > *,
  .location-card > *,
  .thing-card > *,
  .inventory-row > *{
    min-width:0 !important;
  }

  .area-card h3,
  .area-card p,
  .location-card strong,
  .location-card small,
  .inventory-row strong{
    overflow-wrap:anywhere !important;
  }

  /* Mobile homepage example cards must not create sideways overflow. */
  .question-card,
  .question-card:nth-child(2),
  .question-card:nth-child(3){
    transform:none !important;
    translate:none !important;
    width:100% !important;
    max-width:100% !important;
  }

  /* Keep fixed controls inside the screen edge. */
  #wtbt-back-to-top.wtbt-back-to-top{
    right:12px !important;
    left:auto !important;
  }
}

