:root{
  --bg:#f8f6f1;--surface:#fff;--surface-soft:#fbfaf7;--ink:#17352f;--ink-2:#3f554f;--muted:#79867f;
  --green:#0f7a67;--green-dark:#0b5e51;--green-soft:#e7f5f0;--teal:#12a48a;--blue:#3478f6;--blue-soft:#eaf2ff;
  --orange:#ff9f2e;--orange-soft:#fff2df;--pink:#ef5a76;--pink-soft:#fdebf0;--purple:#7f64e8;--purple-soft:#f0edff;
  --yellow:#f6b83c;--line:#e7ebe7;--shadow-sm:0 6px 20px rgba(19,55,46,.07);--shadow:0 18px 46px rgba(19,55,46,.12);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
*{box-sizing:border-box}html,body{margin:0;height:100%;background:#ece9e2;color:var(--ink)}body{overflow:hidden}
button,input,select,textarea{font:inherit}.app{height:100dvh;max-width:760px;margin:auto;background:var(--bg);position:relative;overflow:hidden;box-shadow:0 0 70px rgba(25,40,35,.08)}
.view{display:none;height:calc(100dvh - 86px);overflow:auto;padding:24px 18px 120px;scrollbar-width:thin}.view.active{display:block}
.map-view{padding:0;overflow:hidden;position:relative;height:calc(100dvh - 86px)}.map{height:100%;width:100%;background:#dce8d9}
.map-brand{position:absolute;z-index:540;left:18px;top:calc(16px + env(safe-area-inset-top));font-size:21px;font-weight:900;letter-spacing:-.05em;background:rgba(255,255,255,.93);padding:9px 12px;border-radius:15px;box-shadow:var(--shadow-sm)}.brand-dog{color:var(--teal)}
.top-pill{position:absolute;top:calc(72px + env(safe-area-inset-top));left:18px;z-index:540;border:0;background:rgba(255,255,255,.97);box-shadow:var(--shadow-sm);border-radius:999px;padding:11px 15px;font-weight:800;color:var(--ink);max-width:62%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.header-icon{position:absolute;z-index:540;right:18px;top:calc(17px + env(safe-area-inset-top));width:44px;height:44px;border:0;border-radius:15px;background:rgba(255,255,255,.96);box-shadow:var(--shadow-sm);font-size:20px}.notify-dot{position:absolute;width:8px;height:8px;border-radius:50%;background:#f44362;right:9px;top:8px;border:2px solid white}
.map-locate{position:absolute;right:18px;bottom:116px;z-index:540;width:52px;height:52px;border-radius:18px;border:0;background:white;box-shadow:var(--shadow);font-size:25px;color:var(--ink)}
.map-card{position:absolute;left:18px;right:18px;bottom:118px;z-index:530;background:white;border:1px solid var(--line);border-radius:22px;padding:14px;box-shadow:var(--shadow)}.hidden{display:none!important}
.app-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.app-header h1{font-size:31px;line-height:1;margin:4px 0 8px;letter-spacing:-.045em}.app-header p{margin:0;color:var(--muted);font-size:14px;line-height:1.45;max-width:520px}
.eyebrow,.section-kicker{font-size:10px;letter-spacing:.16em;font-weight:900;color:var(--green);text-transform:uppercase}.header-badge{width:54px;height:54px;border-radius:18px;background:white;box-shadow:var(--shadow-sm);display:grid;place-items:center;font-size:25px;flex:none}.icon-bell{background:var(--blue-soft)}.icon-profile{background:var(--green-soft)}.icon-safe{background:var(--purple-soft)}
.header-add{border:0;background:linear-gradient(135deg,#14a27f,#0f7a67);color:white;border-radius:15px;padding:12px 14px;font-weight:850;box-shadow:0 9px 25px rgba(15,122,103,.22);white-space:nowrap}
.segmented{display:grid;grid-template-columns:1fr 1fr;background:#eeeee9;border-radius:17px;padding:4px;margin-bottom:14px}.segmented button{border:0;background:transparent;border-radius:13px;padding:11px;font-weight:800;color:var(--muted)}.segmented button.active{background:white;color:var(--green);box-shadow:0 4px 12px rgba(25,55,46,.08)}
.card,.modern-card{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:16px;box-shadow:var(--shadow-sm);margin-bottom:13px}.modern-card{padding:17px}.card-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:13px}.card-head h2,.section-title h2{font-size:19px;margin:2px 0 0;letter-spacing:-.02em}.value-pill{padding:6px 10px;background:var(--green-soft);color:var(--green-dark);border-radius:999px;font-size:12px;font-weight:900}
.feature-card{display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#f5fbf8,#eef8f4);border:1px solid #d9ede5;border-radius:22px;padding:15px;margin-bottom:13px}.feature-icon{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;font-size:22px;flex:none}.feature-icon.aqua{background:#dff5ef}.feature-copy{min-width:0;flex:1}.feature-copy b{display:block;font-size:15px}.feature-copy span{display:block;color:var(--muted);font-size:12px;margin-top:4px;line-height:1.35}
.toggle{appearance:none;width:50px;height:30px;border-radius:999px;background:#cfd6d2;position:relative;transition:.2s;flex:none}.toggle:after{content:"";position:absolute;width:24px;height:24px;border-radius:50%;background:white;top:3px;left:3px;transition:.2s;box-shadow:0 2px 5px rgba(0,0,0,.18)}.toggle:checked{background:var(--green)}.toggle:checked:after{transform:translateX(20px)}
input[type=range]{appearance:none;width:100%;height:6px;background:#e5e9e5;border-radius:999px;outline:none;margin:8px 0 16px}input[type=range]::-webkit-slider-thumb{appearance:none;width:22px;height:22px;border-radius:50%;background:var(--green);box-shadow:0 2px 8px rgba(15,122,103,.25)}
.setting-link{width:100%;border:0;background:#fafbf9;border-radius:17px;padding:11px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;text-align:left;color:var(--ink)}.setting-link b,.setting-link small{display:block}.setting-link small{color:var(--muted);margin-top:2px}.mini-icon,.menu-icon,.summary-icon,.info-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;flex:none;font-size:20px}.green{background:var(--green-soft)}.blue{background:var(--blue-soft)}.orange{background:var(--orange-soft)}.yellow{background:#fff5da}.teal{background:#e4f7f3}.purple{background:var(--purple-soft)}
.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.category-card{position:relative;border-radius:17px;padding:12px 8px;text-align:center;border:1px solid var(--line);background:#fff}.category-card input{position:absolute;right:8px;top:8px;width:17px;height:17px;accent-color:var(--green)}.category-card b,.category-card small{display:block}.category-card small{font-size:10px;color:var(--muted);margin-top:3px}.category-icon{font-size:25px;display:block;margin:4px 0 6px}.c-orange{background:#fffaf2}.c-pink{background:#fff7f9}.c-blue{background:#f7faff}
.section-title{display:flex;justify-content:space-between;align-items:flex-end;margin:21px 2px 10px}.activity-list{display:grid;gap:9px}.alert-item{display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:center;background:white;border:1px solid var(--line);border-radius:18px;padding:12px;box-shadow:0 5px 16px rgba(19,55,46,.04);text-align:left;width:100%;color:var(--ink)}.alert-item .alert-dot{width:43px;height:43px;border-radius:14px;display:grid;place-items:center;font-size:20px}.alert-item b,.alert-item small{display:block}.alert-item small{font-size:11px;color:var(--muted);margin-top:3px}.alert-item time{font-size:10px;color:var(--muted)}
.give-hero{background:linear-gradient(135deg,#fff7e9,#fef2df);border:1px solid #f5e1be;border-radius:24px;padding:17px;display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:center;margin-bottom:12px}.give-hero-icon{width:60px;height:60px;border-radius:18px;background:white;display:grid;place-items:center;font-size:31px;box-shadow:var(--shadow-sm)}.give-hero h2{margin:3px 0 5px;font-size:21px}.give-hero p{margin:0;color:var(--ink-2);font-size:13px;line-height:1.4}
.contact-banner{background:#eef6ff;border:1px solid #dcecff;border-radius:20px;padding:13px;display:grid;grid-template-columns:auto 1fr;gap:11px;align-items:center;margin-bottom:15px}.contact-icon{width:44px;height:44px;border-radius:14px;background:white;display:grid;place-items:center;font-size:22px}.contact-banner b,.contact-banner span{display:block}.contact-banner span{font-size:12px;color:#52667a;margin-top:3px}
.give-list.modern-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.give-card{background:white;border-radius:19px;overflow:hidden;border:1px solid var(--line);box-shadow:0 5px 18px rgba(19,55,46,.05)}.give-card img,.give-card>div:first-child{width:100%;height:145px;object-fit:cover;background:#ece9e0}.give-body{padding:12px}.give-card h3{font-size:15px;margin:7px 0 5px}.give-card p{font-size:12px;line-height:1.4;margin:0 0 7px}.badge{display:inline-flex;border-radius:999px;padding:5px 8px;background:var(--green-soft);color:var(--green-dark);font-weight:850;font-size:10px}.give-card .primary{min-height:40px;font-size:12px;border-radius:13px}
.profile-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;background:white;border:1px solid var(--line);border-radius:22px;padding:14px;box-shadow:var(--shadow-sm);margin-bottom:17px}.profile-avatar{width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,#eaf6e8,#fff2de);display:grid;place-items:center;font-size:30px}.profile-main b,.profile-main span{display:block}.profile-main b{font-size:17px}.profile-main span{font-size:12px;color:var(--muted);margin-top:4px}.chevron-btn,.mini-close{border:0;background:#f1f3ef;color:var(--ink);width:36px;height:36px;border-radius:12px;font-size:22px}.activity-summary{width:100%;display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:11px;border:1px solid var(--line);background:white;border-radius:20px;padding:13px;margin-bottom:9px;text-align:left;color:var(--ink);box-shadow:0 5px 16px rgba(19,55,46,.04)}.summary-copy b,.summary-copy small{display:block}.summary-copy small{font-size:11px;color:var(--muted);margin-top:3px}.summary-count{font-size:20px;font-weight:900;color:var(--green)}.chevron{font-size:23px;color:#9ba59f}.my-items{display:grid;gap:7px;margin:-2px 5px 10px}.my-item{background:#fcfcfa;border:1px solid var(--line);border-radius:15px;padding:11px}.my-item b{font-size:13px}.menu-card{background:white;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow-sm);margin-bottom:14px}.menu-card button{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;width:100%;border:0;border-bottom:1px solid var(--line);background:white;padding:12px;text-align:left;color:var(--ink)}.menu-card button:last-child{border-bottom:0}.menu-card b,.menu-card small{display:block}.menu-card small{font-size:11px;color:var(--muted);margin-top:3px}
.info-tiles{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-bottom:13px}.info-tile{background:white;border:1px solid var(--line);border-radius:20px;padding:14px;box-shadow:var(--shadow-sm)}.info-tile .info-icon{margin-bottom:10px}.info-tile b{font-size:15px}.info-tile p{font-size:12px;color:var(--muted);line-height:1.45;margin:6px 0 0}.soft-button{margin-top:10px;border:0;background:var(--blue-soft);color:#2359b8;font-weight:850;border-radius:12px;padding:10px 12px}.howto-row{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}.howto-row:last-child{border-bottom:0}.howto-row>span{font-size:24px}.howto-row b,.howto-row small{display:block}.howto-row small{color:var(--muted);margin-top:3px}.safety-callout{display:grid;grid-template-columns:auto 1fr;gap:10px;background:#fff8e8;border:1px solid #f4e5b9;border-radius:18px;padding:13px;color:#695b35}.safety-callout p{font-size:12px;line-height:1.5;margin:0}
.nav{position:absolute;left:0;right:0;bottom:0;z-index:650;height:86px;background:rgba(255,255,255,.97);backdrop-filter:blur(20px);border-top:1px solid #e6e9e5;display:grid;grid-template-columns:repeat(5,1fr);padding:4px 4px calc(4px + env(safe-area-inset-bottom))}.nav button{border:0;background:transparent;color:#7b8781;font-weight:800;font-size:10px;display:grid;place-items:center;align-content:center;gap:3px;min-width:0}.nav button b{white-space:nowrap;font-size:10px}.nav-icon{font-size:23px;line-height:1;filter:saturate(.75)}.nav button.active{color:var(--green)}.nav button.active .nav-icon{transform:translateY(-1px);filter:saturate(1.25)}
.paw-fab{position:absolute;left:50%;bottom:98px;transform:translateX(-50%);z-index:640;width:82px;height:82px;border-radius:26px;border:6px solid rgba(255,255,255,.95);background:linear-gradient(145deg,#119379,#0b6a59);color:white;box-shadow:0 15px 34px rgba(10,109,91,.28);display:grid;place-items:center;align-content:center;gap:0}.paw-fab span{font-size:26px;line-height:1}.paw-fab small{font-size:9px;font-weight:900;margin-top:3px}
button{cursor:pointer}.primary,.secondary,.danger{border:0;border-radius:15px;min-height:48px;padding:0 16px;font-weight:850}.primary{background:linear-gradient(135deg,#12937a,#0d745f);color:white}.secondary{background:#eef0eb;color:var(--ink)}.danger{background:#fee9e5;color:#a83a29}.wide{width:100%}.small{font-size:11px;min-height:34px}.muted{color:var(--muted)}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}
label{display:block;font-weight:750;font-size:12px;margin:12px 0 6px;color:var(--ink-2)}input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select{width:100%;border:1px solid #dde3df;background:white;color:var(--ink);border-radius:14px;padding:13px;font:inherit;outline:none;box-shadow:inset 0 1px 0 rgba(0,0,0,.01)}input:focus,textarea:focus,select:focus{border-color:#9bd3c6;box-shadow:0 0 0 3px #e7f6f1}textarea{resize:vertical}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.optional{font-weight:500;color:var(--muted)}.check-row{display:flex;gap:9px;align-items:center;background:#f7f9f6;border-radius:14px;padding:11px;margin:12px 0}.check-row input{width:18px;height:18px;accent-color:var(--green)}
.chipset{display:flex;gap:8px;flex-wrap:wrap}.chip{border:1px solid var(--line);background:white;border-radius:999px;padding:9px 12px;font-weight:800;color:var(--ink);font-size:12px}.chip.active{background:var(--green);color:white;border-color:var(--green)}
dialog{border:0;padding:0;background:transparent}.sheet{width:min(620px,100vw);max-height:92dvh;background:var(--bg);border-radius:30px 30px 0 0;box-shadow:0 -22px 70px rgba(0,0,0,.22);padding:20px 17px calc(24px + env(safe-area-inset-bottom));overflow:auto;margin:auto 0 0}dialog::backdrop{background:rgba(12,31,27,.42);backdrop-filter:blur(6px)}.sheet h2{font-size:27px;margin:3px 0 6px;letter-spacing:-.035em}.sheet p{line-height:1.45}.sheet .handle{width:42px;height:5px;border-radius:5px;background:#cacfc9;margin:0 auto 17px}.close{float:right;border:0;background:#e9ece8;border-radius:13px;width:38px;height:38px;font-size:20px}.sheet-title{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center}.paw-title-icon{width:52px;height:52px;border-radius:17px;background:var(--green-soft);display:grid;place-items:center;font-size:25px}.sheet-title h2{margin:2px 0}.sheet-title p{margin:0;color:var(--muted);font-size:12px}
.wheel{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:18px}.wheel button{min-height:105px;border:1px solid var(--line);border-radius:21px;background:white;box-shadow:var(--shadow-sm);font-weight:850;color:var(--ink);font-size:13px;display:grid;place-items:center;align-content:center}.wheel button strong{font-size:28px;display:block;margin-bottom:5px}.wheel button small{font-size:10px;font-weight:600;opacity:.78;margin-top:4px}.wheel .hero{grid-column:1/-1;background:linear-gradient(135deg,#ff795c,#ff9a46);color:white;border:0;min-height:116px}
.report-types{display:grid;gap:9px;margin:15px 0}.report-type{border:1px solid var(--line);background:white;border-radius:19px;padding:12px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;text-align:left;color:var(--ink);box-shadow:0 4px 14px rgba(19,55,46,.03)}.report-type i{font-style:normal;width:45px;height:45px;border-radius:15px;display:grid;place-items:center;font-size:21px}.report-type span b,.report-type span small{display:block}.report-type small{color:var(--muted);margin-top:3px}.report-type em{font-style:normal;font-size:22px;color:#aab2ad}.type-danger i{background:var(--orange-soft)}.type-animal i{background:#edf8ea}.type-handy i{background:var(--blue-soft)}.type-fun i{background:var(--pink-soft)}
.detail-copy{background:white;border:1px solid var(--line);border-radius:17px;padding:15px;line-height:1.5;margin:12px 0}.form-note,.security-note{display:flex;align-items:flex-start;gap:8px;background:#edf7f4;border:1px solid #d8ede7;border-radius:14px;padding:11px;color:#48615a;font-size:12px;margin-top:8px}.security-note{margin:14px 0 0}
.onboard{width:min(620px,100vw);min-height:100dvh;background:var(--bg);padding:24px 18px;overflow:auto}.onboard-mark{font-size:20px;font-weight:900;letter-spacing:-.04em}.onboard-mark b{color:var(--teal)}.onboard-visual{height:195px;border-radius:28px;background:linear-gradient(145deg,#dff2e6,#fff4de);display:grid;place-items:center;font-size:76px;margin:18px 0;position:relative;overflow:hidden}.bubble{position:absolute;width:46px;height:46px;border-radius:15px;background:white;display:grid;place-items:center;font-size:21px;box-shadow:var(--shadow-sm)}.b1{left:24px;top:24px}.b2{right:24px;top:52px}.b3{right:70px;bottom:20px}.onboard h1{font-size:32px;line-height:1.05;letter-spacing:-.05em;margin:12px 0 10px}.species-choice{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.species-choice label{margin:0}.species-choice input{position:absolute;opacity:0}.species-choice label>span,.species-choice label>b{display:block;text-align:center}.species-choice label{background:white;border:1px solid var(--line);border-radius:17px;padding:12px}.species-choice label:has(input:checked){border-color:#81cbb8;background:var(--green-soft)}.species-choice span{font-size:27px}.species-choice b{font-size:11px;margin-top:4px}
.empty{text-align:center;color:var(--muted);padding:24px 8px;font-size:12px}.toast{position:fixed;left:50%;bottom:102px;transform:translateX(-50%) translateY(14px);background:#173c34;color:white;padding:11px 15px;border-radius:999px;opacity:0;pointer-events:none;transition:.2s;z-index:2200;font-weight:750;max-width:90vw;text-align:center;font-size:12px}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.leaflet-control-attribution{font-size:8px}.marker{width:37px;height:37px;border-radius:50% 50% 50% 10%;transform:rotate(-45deg);display:grid;place-items:center;color:white;border:3px solid white;box-shadow:0 6px 12px rgba(0,0,0,.16)}.marker span{transform:rotate(45deg);font-size:16px}
@media(max-width:430px){.app-header h1{font-size:29px}.view{padding-left:14px;padding-right:14px}.info-tiles{grid-template-columns:1fr}.give-list.modern-grid{gap:8px}.give-card img,.give-card>div:first-child{height:125px}.nav button b{font-size:9px}.paw-fab{width:76px;height:76px}.category-card{padding-left:5px;padding-right:5px}.category-card b{font-size:11px}}
@media(min-width:680px){.app{border-left:1px solid #ddd;border-right:1px solid #ddd}.give-list.modern-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.view{padding-left:24px;padding-right:24px}}


/* V3.2 consistency + mobile sheet fixes */
:root{
  --radius-ui:20px;
  --radius-control:16px;
  --radius-sheet:22px;
}

.card,.modern-card,.feature-card,.profile-card,.activity-summary,.menu-card,.give-hero,
.contact-banner,.give-card,.info-tile,.safety-callout,.setting-link,.alert-item,.my-item,
.form-note,.security-note,.category-card,.report-type,.detail-copy{
  border-radius:var(--radius-ui);
}

button,input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select,
.primary,.secondary,.danger,.soft-button,.header-add,.chevron-btn,.mini-close,.close{
  border-radius:var(--radius-control);
}

.contact-banner{
  padding:15px 16px;
  grid-template-columns:58px minmax(0,1fr);
  gap:13px;
  min-height:84px;
}
.contact-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  background:linear-gradient(145deg,#fff,#f4f8ff);
  display:grid;
  place-items:center;
  font-size:30px;
  line-height:1;
  box-shadow:0 5px 16px rgba(31,72,130,.08);
}
.contact-banner b{font-size:15px;line-height:1.25}
.contact-banner span{font-size:12px;line-height:1.35}

.feature-icon{
  width:56px;
  height:56px;
  border-radius:18px;
  font-size:27px;
}
.push-status{
  display:block;
  margin-top:7px;
  font-size:11px;
  font-weight:850;
  color:var(--muted);
}
.push-status.on{color:var(--green-dark)}
.push-status.warn{color:#b26b00}
.push-status.error{color:#b8404d}
.push-help{
  margin:-3px 0 13px;
  padding:12px 14px;
  background:#fff7e8;
  border:1px solid #f0dfb8;
  border-radius:var(--radius-ui);
  color:#6b5b33;
  font-size:12px;
  line-height:1.45;
}
.push-test{
  width:100%;
  margin:-3px 0 13px;
  min-height:44px;
}

dialog{
  width:100vw;
  max-width:none;
  height:100dvh;
  max-height:none;
  margin:0;
  padding:0;
  background:transparent;
  overflow:hidden;
}
dialog[open]{
  display:flex;
  align-items:flex-end;
  justify-content:center;
}
.sheet{
  width:min(620px,calc(100vw - 16px));
  max-width:calc(100vw - 16px);
  max-height:calc(100dvh - 16px);
  margin:0 8px 8px;
  border-radius:var(--radius-sheet);
  padding:20px 17px calc(24px + env(safe-area-inset-bottom));
  overflow:auto;
  overscroll-behavior:contain;
}
.onboard{
  width:min(620px,calc(100vw - 16px));
  max-width:calc(100vw - 16px);
  min-height:0;
  max-height:calc(100dvh - 16px);
  margin:0 8px 8px;
  border-radius:var(--radius-sheet);
  padding:20px 17px calc(24px + env(safe-area-inset-bottom));
  overflow:auto;
}
.close{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  line-height:1;
  flex:none;
}

@media(max-width:430px){
  .sheet,.onboard{
    width:calc(100vw - 12px);
    max-width:calc(100vw - 12px);
    max-height:calc(100dvh - 12px);
    margin:0 6px 6px;
    padding:18px 14px calc(22px + env(safe-area-inset-bottom));
  }
  .sheet h2{font-size:24px}
  .contact-banner{
    grid-template-columns:54px minmax(0,1fr);
    padding:13px;
  }
  .contact-icon{
    width:54px;
    height:54px;
    font-size:28px;
  }
  .feature-icon{
    width:52px;
    height:52px;
    font-size:25px;
  }
}

.owner-actions{display:grid;gap:9px;margin-top:12px}
.cleanup-note{margin:10px 4px 0;color:var(--muted);font-size:11px;line-height:1.45}
.status-active{color:var(--green-dark);font-weight:850}
.status-resolved{color:#426b5f;font-weight:850}
.status-expired{color:#8a8178;font-weight:850}
.status-hidden{color:#8a8178;font-weight:850}

.rules-list{display:grid;gap:2px}
.rule-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:11px;align-items:flex-start;padding:11px 0;border-bottom:1px solid var(--line)}
.rule-row:last-child{border-bottom:0;padding-bottom:0}
.rule-row b,.rule-row small{display:block}
.rule-row b{font-size:13px;line-height:1.3}
.rule-row small{color:var(--muted);font-size:11px;line-height:1.45;margin-top:4px}
.rule-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;font-size:17px;font-weight:900;flex:none}
.rule-icon.red{background:#fdecef;color:#b43e59}


/* V3.5 Weggeefhoek as one visual series */
.give-hero,
.contact-banner{
  min-height:112px;
  padding:18px;
  display:grid;
  grid-template-columns:60px minmax(0,1fr);
  gap:14px;
  align-items:center;
  border-radius:22px;
  box-shadow:0 8px 24px rgba(19,55,46,.06);
}

.give-hero{
  background:linear-gradient(135deg,#fff7e9,#fef2df);
  border:1px solid #f3dfba;
  margin-bottom:12px;
}

.contact-banner{
  background:linear-gradient(135deg,#eef6ff,#e9f2ff);
  border:1px solid #d6e5fb;
  margin-bottom:12px;
}

.give-hero-icon,
.contact-icon{
  width:60px;
  height:60px;
  border-radius:18px;
  background:#fff;
  display:grid;
  place-items:center;
  font-size:31px;
  line-height:1;
  box-shadow:0 6px 18px rgba(25,55,46,.08);
}

.give-hero h2,
.contact-banner b{
  margin:3px 0 5px;
  font-size:18px;
  line-height:1.22;
  color:var(--ink);
  font-weight:850;
}

.give-hero p,
.contact-banner span{
  margin:0;
  font-size:13px;
  line-height:1.42;
  color:var(--ink-2);
}

.contact-banner span{color:#52667a}

.giveaway-list-title{
  margin-top:18px;
  margin-bottom:10px;
}

.give-list.modern-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.give-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(19,55,46,.06);
  display:flex;
  flex-direction:column;
  min-width:0;
}

.give-card-media{
  width:100%;
  height:150px;
  object-fit:cover;
  background:linear-gradient(135deg,#f5f2ea,#ebe7de);
  display:grid;
  place-items:center;
  font-size:44px;
}

.give-card img.give-card-media{
  display:block;
}

.give-body{
  padding:14px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.give-card h3{
  font-size:16px;
  line-height:1.25;
  margin:9px 0 6px;
  color:var(--ink);
}

.give-card p{
  font-size:12px;
  line-height:1.45;
  margin:0 0 8px;
}

.give-card .location{
  margin-top:auto;
  padding-top:2px;
}

.give-card .badge{
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:6px 9px;
  background:var(--green-soft);
  color:var(--green-dark);
  font-weight:850;
  font-size:10px;
}

.give-card .primary{
  min-height:42px;
  border-radius:16px;
  font-size:12px;
  margin-top:8px;
}

@media(max-width:430px){
  .give-hero,.contact-banner{
    grid-template-columns:56px minmax(0,1fr);
    min-height:104px;
    padding:15px;
    gap:12px;
  }
  .give-hero-icon,.contact-icon{
    width:56px;
    height:56px;
    font-size:29px;
  }
  .give-hero h2,.contact-banner b{font-size:16px}
  .give-hero p,.contact-banner span{font-size:12px}
  .give-list.modern-grid{grid-template-columns:1fr;gap:10px}
  .give-card{display:grid;grid-template-columns:108px minmax(0,1fr)}
  .give-card-media{height:100%;min-height:142px}
  .give-card .give-body{padding:12px}
}

@media(min-width:680px){
  .give-list.modern-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}


/* V3.6 Losloopgebieden kaartlaag */
.offleash-control{
  position:absolute;
  z-index:545;
  right:18px;
  top:calc(72px + env(safe-area-inset-top));
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  min-width:214px;
  max-width:calc(100vw - 36px);
  padding:10px 11px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(19,55,46,.08);
  border-radius:18px;
  box-shadow:var(--shadow-sm);
  backdrop-filter:blur(16px);
}
.offleash-icon{
  width:40px;height:40px;border-radius:13px;
  display:grid;place-items:center;
  background:#e8f6ef;font-size:21px;
}
.offleash-copy{display:grid;line-height:1.05;min-width:0}
.offleash-copy b{font-size:12px;color:var(--ink);white-space:nowrap}
.offleash-copy small{font-size:9px;color:var(--muted);margin-top:4px}
.offleash-control .toggle{width:46px;height:28px}
.offleash-control .toggle:after{width:22px;height:22px}
.offleash-control .toggle:checked:after{transform:translateX(18px)}

.offleash-popup b{display:block;margin-bottom:4px}
.offleash-popup small{color:#6b7772;line-height:1.35}

@media(max-width:430px){
  .offleash-control{
    right:12px;
    top:calc(72px + env(safe-area-inset-top));
    min-width:0;
    width:auto;
    max-width:calc(100vw - 24px);
    padding:8px 9px;
    gap:8px;
  }
  .offleash-icon{width:36px;height:36px;font-size:19px}
  .offleash-copy b{font-size:11px}
  .offleash-copy small{font-size:8px}
}


/* V3.7 PWA update experience */
.version-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  margin-top:14px;
}
.version-icon{
  width:46px;height:46px;border-radius:15px;
  display:grid;place-items:center;
  background:var(--green-soft);
  font-size:22px;
}
.version-copy{display:grid;gap:2px}
.version-copy b{font-size:14px;color:var(--ink)}
.version-copy small{font-size:11px;color:var(--muted)}
.version-check{margin:0;white-space:nowrap}

.update-banner{
  position:fixed;
  left:50%;
  bottom:calc(98px + env(safe-area-inset-bottom));
  transform:translateX(-50%);
  z-index:2600;
  width:min(680px,calc(100vw - 24px));
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:13px;
  background:rgba(255,255,255,.98);
  border:1px solid #dbe7e1;
  border-radius:20px;
  box-shadow:0 18px 46px rgba(19,55,46,.20);
  backdrop-filter:blur(18px);
}
.update-banner.hidden{display:none}
.update-mark{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,#e8f6ef,#fff2df);
  font-size:22px;
}
.update-copy b,.update-copy span{display:block}
.update-copy b{font-size:13px;color:var(--ink)}
.update-copy span{font-size:11px;color:var(--muted);margin-top:3px;line-height:1.35}
.update-banner button{
  border:0;
  border-radius:14px;
  background:var(--green);
  color:#fff;
  min-height:42px;
  padding:0 14px;
  font-weight:850;
  white-space:nowrap;
}

@media(max-width:520px){
  .update-banner{
    grid-template-columns:auto minmax(0,1fr);
    bottom:calc(94px + env(safe-area-inset-bottom));
  }
  .update-banner button{
    grid-column:1/-1;
    width:100%;
  }
  .version-card{grid-template-columns:auto minmax(0,1fr)}
  .version-check{grid-column:1/-1;width:100%}
}


/* V3.8 Fix giveaway e-mail icon: deterministic SVG, no emoji scaling */
.contact-icon{
  width:60px !important;
  height:60px !important;
  min-width:60px;
  min-height:60px;
  border-radius:18px;
  background:#fff;
  display:grid;
  place-items:center;
  color:#4f7fd7;
  font-size:0 !important;
  line-height:1;
  overflow:hidden;
}
.contact-icon-svg{
  width:34px;
  height:34px;
  display:block;
  overflow:visible;
}
@media(max-width:430px){
  .contact-banner{
    grid-template-columns:60px minmax(0,1fr);
  }
  .contact-icon{
    width:60px !important;
    height:60px !important;
    min-width:60px;
    min-height:60px;
  }
  .contact-icon-svg{
    width:34px;
    height:34px;
  }
}


/* V4.0 report location picker + distinct report icons */
.report-location-block{
  margin-top:14px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fafbf9;
}
.report-location-block>label{
  display:block;
  margin:0 0 9px;
  font-weight:850;
  color:var(--ink);
}
.report-location-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.location-choice{
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  border-radius:14px;
  padding:11px 10px;
  font-weight:850;
}
.location-choice.active{
  border-color:#82cdbc;
  background:var(--green-soft);
  color:var(--green-dark);
  box-shadow:0 4px 12px rgba(15,122,103,.08);
}
.report-location-status{
  margin-top:9px;
  font-size:11px;
  color:var(--muted);
  line-height:1.35;
}
.report-location-map-wrap{
  margin-top:10px;
}
.report-location-map{
  width:100%;
  height:220px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#ecefe9;
}
.report-location-map-wrap small{
  display:block;
  margin-top:7px;
  color:var(--muted);
  font-size:10px;
}
.chip .chip-icon{
  display:inline-block;
  margin-right:5px;
  font-size:14px;
  vertical-align:-1px;
}
.marker span{
  font-size:17px;
  line-height:1;
}
@media(max-width:430px){
  .report-location-map{height:200px}
  .report-location-actions{grid-template-columns:1fr}
}


/* V4.1 own report state + delete actions */
.report-status-row{
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.report-own-actions{
  display:flex;
  gap:8px;
  margin-left:auto;
  flex-wrap:wrap;
}
.status-active{
  color:var(--green-dark);
  font-weight:850;
}
.status-resolved{
  color:var(--muted);
  font-weight:800;
}
@media(max-width:430px){
  .report-own-actions{
    width:100%;
    margin-left:0;
  }
  .report-own-actions .small{
    flex:1 1 auto;
  }
}


/* V4.2: report markers always visible above area overlays */
.wd-report-marker-icon{
  background:transparent !important;
  border:0 !important;
  overflow:visible !important;
}
.wd-report-marker-icon .marker{
  width:42px;
  height:42px;
  position:relative;
  z-index:2;
  box-shadow:0 7px 16px rgba(0,0,0,.24);
}
.wd-report-marker-icon .marker span{
  font-size:18px;
}


/* V4.3 optical centering for giveaway e-mail icon */
.contact-icon{
  position:relative;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.contact-icon-svg{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  margin:0 !important;
}

