/* Answers for Families — interface draft 4 (live build, Nov 23 2026).
   Inter, navy #0F2540, gold #F0B23E, page gray #F2F4F8, white cards, soft shadows. */
:root{
  --navy:#0F2540; --navy-deep:#0A1B30; --gold:#F0B23E;
  --bg:#F2F4F8; --white:#FFFFFF; --tint:#EDF1F6; --line:#E1E6ED; --line-strong:#C9D1DC;
  --blue:#1B56B3; --green:#1F7A57; --green-soft:#E6F4EE; --amber:#8A5A00;
  --ink:#17253A; --mute:#5A6675; --faint:#8A93A0;
  --sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
}
body{background:var(--bg);color:var(--ink);font-family:var(--sans)}
h1,h2,h3{letter-spacing:-.02em;color:var(--navy)}
a{color:var(--blue)}
.wrap{max-width:1060px}

/* ---------- top bar / navy head ---------- */
.d4-top{position:relative;color:#fff;overflow:hidden;border-radius:0 0 34px 34px;
  background:radial-gradient(120% 90% at 100% 0%,rgba(56,128,255,.62),transparent 58%),radial-gradient(90% 70% at 0% 100%,rgba(240,178,62,.20),transparent 55%),linear-gradient(165deg,#0A1B30 0%,#0F2540 50%,#15346A 100%)}
.d4-top::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.11) 1px,transparent 1.3px);background-size:18px 18px;-webkit-mask-image:linear-gradient(180deg,#000,transparent 88%);mask-image:linear-gradient(180deg,#000,transparent 88%)}
.d4-top>*{position:relative}
.d4-top-in{max-width:1060px;margin:0 auto;padding:0 20px 30px}
.d4-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 0 6px}
.d4-mark{font-weight:700;font-size:18px;color:#fff;text-decoration:none;letter-spacing:-.015em;white-space:nowrap}
.d4-bar-r{display:flex;gap:6px;align-items:center}
.d4-pill{display:inline-flex;align-items:center;gap:7px;min-height:48px;padding:0 14px;border-radius:24px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);color:#fff;font:600 15px var(--sans);text-decoration:none;cursor:pointer}
.d4-pill svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.d4-count{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--gold);color:var(--navy-deep);font:700 12px/20px var(--sans);text-align:center}
.d4-back{display:inline-flex;align-items:center;gap:4px;min-height:48px;color:#fff;font:600 15px var(--sans);text-decoration:none}
.d4-back svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.d4-where{display:flex;gap:8px;flex-wrap:wrap;padding:8px 0 2px}
.d4-glass{display:inline-flex;align-items:center;gap:7px;min-height:48px;padding:0 14px;border-radius:24px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);font:500 14.5px var(--sans);color:#fff;cursor:pointer;text-decoration:none}
.d4-glass svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.d4-glass .dn{width:14px;height:14px;opacity:.7}
.d4-title{font:700 30px/1.13 var(--sans);color:#fff;margin:14px 0 0;letter-spacing:-.02em}
.d4-q{font:700 30px/1.13 var(--sans);color:#fff;margin:16px 0 0;letter-spacing:-.02em}
.d4-top .where-line{color:rgba(255,255,255,.82);font-size:14.5px;margin-top:8px}

/* ---------- menu overlay ---------- */
.d4-menu{position:fixed;inset:0;z-index:90;color:#fff;overflow-y:auto;padding:0 24px 40px;
  background:radial-gradient(95% 34% at 50% 110%,rgba(246,194,83,.25),transparent 64%),radial-gradient(120% 60% at 100% 0%,rgba(56,128,255,.55),transparent 58%),linear-gradient(165deg,#0A1B30 0%,#0F2540 50%,#15346A 100%)}
.d4-menu::after{content:"";position:absolute;left:0;right:0;bottom:0;height:150px;z-index:0;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 110' preserveAspectRatio='none'%3E%3Cdefs%3E%3CradialGradient id='g'%3E%3Cstop offset='0' stop-color='%23FFDC92' stop-opacity='.9'/%3E%3Cstop offset='.45' stop-color='%23F6C253' stop-opacity='.38'/%3E%3Cstop offset='1' stop-color='%23F6C253' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cellipse cx='205' cy='72' rx='205' ry='54' fill='url(%23g)'/%3E%3Cpath d='M0 70C50 50 100 48 150 62S250 80 300 58 360 44 390 52V110H0Z' fill='%23234E96' fill-opacity='.8'/%3E%3Cpath d='M0 94C60 76 120 78 180 90S300 100 390 80V110H0Z' fill='%230B1D36' fill-opacity='.85'/%3E%3C/svg%3E") bottom center/100% 100% no-repeat}
.d4-menu[hidden]{display:none}
.d4-menu-in{max-width:640px;margin:0 auto;position:relative;z-index:1;display:flex;flex-direction:column;min-height:100%}
.d4-menu .d4-bar{padding-top:20px}
.d4-menu .d4-mark{color:rgba(255,255,255,.78);font-size:16.5px}
.d4-menu .d4-pill{color:rgba(255,255,255,.78)}
.d4-menu .m-main,.d4-menu .m-card{position:relative;z-index:1;display:flex;align-items:center;text-decoration:none}
.d4-menu .m-main{gap:14px;min-height:82px;margin:4px 0;padding:0 16px;border-radius:22px;background:#fff;color:var(--navy-deep);box-shadow:0 0 0 2px #F6C253,0 0 0 7px rgba(246,194,83,.2),0 22px 40px -14px rgba(120,170,255,.55)}
.d4-menu .m-card{gap:13px;min-height:62px;margin:8px 0 0;padding:0 14px 0 11px;border-radius:18px;background:#fff;color:var(--navy-deep);box-shadow:0 14px 26px -16px rgba(120,170,255,.55)}
.d4-menu .m-ic{display:grid;place-items:center;flex:none}
.d4-menu .m-main .m-ic{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,#F8CB63,#F0A92B);color:var(--navy-deep)}
.d4-menu .m-card .m-ic{width:40px;height:40px;border-radius:13px;background:linear-gradient(135deg,#F8CB63,#F0A92B);color:var(--navy-deep)}
.d4-menu .m-ic svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
.d4-menu .m-main .m-ic svg{width:24px;height:24px;stroke-width:2.2}
.d4-menu .m-card .m-ic svg{width:20px;height:20px;stroke-width:2}
.d4-menu .m-tx{display:flex;flex-direction:column;gap:3px;min-width:0}
.d4-menu .m-card .m-tx{gap:2px}
.d4-menu .m-tx b{font:700 19.5px/1.18 var(--sans);letter-spacing:-.02em}
.d4-menu .m-main .m-tx b{font-size:19px}
.d4-menu .m-card .m-tx b{display:flex;align-items:center;gap:8px;font:700 17px/1.2 var(--sans);letter-spacing:-.015em;color:var(--navy-deep)}
.d4-menu .m-tx small{font-size:13px;line-height:1.25}
.d4-menu .m-main small{color:#3D5273;font-weight:500}
.d4-menu .m-card small{color:#4A5E7C;font-size:12.5px}
.d4-menu svg.go{margin-left:auto;flex:none;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
.d4-menu .m-main svg.go{width:20px;height:20px;stroke-width:2.2}
.d4-menu .m-card svg.go{width:18px;height:18px;color:#7C8AA0;stroke-width:2.2}
.d4-menu .d4-biz{margin-top:14px;padding:12px 16px;color:#0F2540;background:#F0B23E;border-color:#F0B23E}
.d4-menu .d4-biz b{color:#0F2540}
.d4-menu .d4-menu-foot{margin-top:auto;padding-top:26px;position:relative;z-index:2}
.d4-biz{display:block;margin-top:22px;padding:15px 16px;background:#F0B23E;border:1px solid #F0B23E;border-radius:20px;color:#0F2540;text-decoration:none;font-size:15px;line-height:1.45}
.d4-biz b{display:block;color:#0F2540;font:600 17px/1.3 var(--sans);margin-bottom:2px}
.d4-menu-foot{margin-top:26px;font-size:13.5px;color:rgba(255,255,255,.6)}

/* ---------- buttons, fields ---------- */
.d4-btn{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:56px;padding:10px 16px;border-radius:16px;background:var(--navy);color:#fff;font:600 17px var(--sans);border:0;text-decoration:none;cursor:pointer;text-align:center}
.d4-btn.gold{background:var(--gold);color:var(--navy-deep);box-shadow:0 16px 30px -16px rgba(15,37,64,.55)}
.d4-btn.ghost{background:#fff;color:var(--navy);box-shadow:0 1px 2px rgba(15,37,64,.08),0 6px 14px -8px rgba(15,37,64,.25)}
.d4-btn.sm{min-height:48px;font-size:16px;border-radius:14px}
.d4-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.d4-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.d4-stack{display:grid;gap:10px;margin-top:18px}
.d4-stack.lift{position:relative;margin:-30px 0 0}
.d4-label{display:block;font:600 14.5px var(--sans);color:var(--navy);margin-bottom:8px}
.d4-field{display:flex;align-items:center;gap:10px;min-height:58px;padding:0 7px 0 16px;border-radius:14px;background:var(--tint);color:var(--faint);font-size:17px}
.d4-field svg{width:22px;height:22px;color:var(--navy);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.d4-field input{flex:1;min-width:0;border:0;background:transparent;font:17px var(--sans);color:var(--ink);height:56px;outline:none}
.d4-field .go{margin-left:auto;width:48px;height:48px;border-radius:14px;background:var(--navy);display:grid;place-items:center;border:0;cursor:pointer;flex:none}
.d4-field .go svg{color:#fff;width:20px;height:20px}

/* ---------- landing ---------- */
.d4-hero{position:relative;border-radius:0 0 34px 34px;overflow:hidden;background:#A6CBEF}
.d4-hero svg.scene{display:block;width:100%;height:auto;min-height:340px;object-fit:cover}
.d4-hero .d4-bar{position:absolute;top:0;left:0;right:0;padding:18px 20px 0;max-width:1060px;margin:0 auto}
.d4-hero .d4-mark{color:var(--navy)}
.d4-hero .d4-pill{background:rgba(255,255,255,.78);border-color:rgba(255,255,255,.6);color:var(--navy)}
.d4-sheet{position:relative;background:#fff;border-radius:30px;padding:28px 24px;margin:-56px auto 0;max-width:640px;box-shadow:0 -22px 44px -22px rgba(10,27,48,.5),0 12px 26px -18px rgba(15,37,64,.35)}
.d4-sheet h1{font:700 29px/1.18 var(--sans);color:var(--navy);margin:0}
.d4-sheet .sub{margin-top:10px;font-size:16.5px;color:var(--mute)}
.d4-sheet form{margin-top:20px}
.d4-sheet .d4-btn{margin-top:12px}
.d4-ticks{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 14px;margin-top:16px;font-size:13.5px;color:var(--mute)}
.d4-ticks span{display:inline-flex;align-items:center;gap:5px}
.d4-ticks svg{width:15px;height:15px;color:var(--green);fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.d4-under{max-width:640px;margin:16px auto 0;text-align:center;font-size:15px}

/* ---------- directory ---------- */
.d4-find{position:relative;margin:-30px 0 0;min-height:60px;border-radius:19px;background:#fff;display:flex;align-items:center;gap:11px;padding:6px 8px 6px 18px;color:var(--faint);font-size:16.5px;box-shadow:0 1px 2px rgba(15,37,64,.08),0 18px 36px -14px rgba(15,37,64,.45)}
.d4-find svg{width:22px;height:22px;color:var(--navy);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.d4-find input{flex:1;min-width:0;border:0;outline:none;font:16.5px var(--sans);color:var(--ink);height:48px;background:transparent}
.d4-find .go{margin-left:auto;width:48px;height:48px;border-radius:14px;background:var(--navy);display:grid;place-items:center;border:0;cursor:pointer;flex:none}
.d4-find .go svg{color:#fff;width:20px;height:20px}
.d4-searchres{margin-top:10px;background:#fff;border-radius:16px;box-shadow:0 12px 26px -18px rgba(15,37,64,.35);overflow:hidden}
.d4-searchres a{display:flex;justify-content:space-between;gap:10px;padding:13px 16px;min-height:48px;align-items:center;color:var(--ink);text-decoration:none;border-top:1px solid #EDF0F5;font-size:15px}
.d4-searchres a:first-child{border-top:0}
.d4-searchres a small{color:var(--mute)}
.d4-chips{display:flex;gap:8px;margin-top:16px;padding-bottom:6px;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}
.d4-chip{display:inline-flex;align-items:center;gap:6px;min-height:48px;padding:0 15px;border-radius:24px;background:#fff;border:0;color:var(--navy);font:500 15px var(--sans);flex:none;box-shadow:0 1px 2px rgba(15,37,64,.08),0 6px 14px -8px rgba(15,37,64,.25);cursor:pointer;text-decoration:none}
.d4-chip.on{background:var(--navy);color:#fff}
.d4-chip i{font-style:normal;font-weight:600;color:var(--mute)}
.d4-chip .cnt{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--navy);color:#fff;font-size:12px;line-height:20px;text-align:center;font-style:normal;font-weight:700}
.d4-chip.on .cnt{background:var(--gold);color:var(--navy-deep)}
.d4-bento{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.d4-cell{position:relative;display:flex;flex-direction:column;align-items:flex-start;background:#fff;border-radius:22px;padding:16px;box-shadow:0 1px 2px rgba(15,37,64,.06),0 12px 26px -18px rgba(15,37,64,.35);text-decoration:none;color:var(--ink)}
.d4-ic{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;color:#fff;flex:none}
.d4-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.d4-ic.blue{background:linear-gradient(140deg,#2A62F0,#5C92FF)}
.d4-ic.violet{background:linear-gradient(140deg,#6449D8,#9480F2)}
.d4-ic.teal{background:linear-gradient(140deg,#0B9A8A,#30C9B4)}
.d4-ic.gold{background:linear-gradient(140deg,#F0A92B,#F8CB63);color:var(--navy-deep)}
.d4-cell .go{position:absolute;top:16px;right:14px;width:30px;height:30px;border-radius:50%;background:var(--tint);display:grid;place-items:center;color:var(--navy)}
.d4-cell .go svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.d4-cell h3{font:600 16.5px/1.2 var(--sans);color:var(--navy);margin:14px 0 0;letter-spacing:-.015em}
.d4-cell p{font-size:13px;line-height:1.35;color:var(--mute);margin:3px 0 0;min-height:35px}
.d4-num{display:flex;align-items:baseline;gap:6px;margin-top:auto;padding-top:10px;font:700 26px/1 var(--sans);color:var(--navy);letter-spacing:-.03em}
.d4-num small{font:500 12.5px var(--sans);color:var(--mute);letter-spacing:0}
.d4-cell.nocost{grid-column:1/-1;flex-direction:row;align-items:center;gap:14px;background:linear-gradient(120deg,#12694A,#1F9469 70%,#36B685)}
.d4-cell.nocost .d4-ic{background:rgba(255,255,255,.2)}
.d4-cell.nocost h3{color:#fff;margin-top:0;font-size:17px}
.d4-cell.nocost p{color:rgba(255,255,255,.88);min-height:0}
.d4-cell.nocost .d4-num{margin:0 0 0 auto;padding-top:0;white-space:nowrap;color:#fff;flex-direction:column;align-items:flex-end;gap:5px}
.d4-cell.nocost .d4-num small{color:rgba(255,255,255,.85)}
.d4-all{display:block;margin-top:16px;font-weight:600;font-size:15.5px}
.d4-trustline{margin-top:10px;font-size:13.5px;color:var(--mute)}

/* ---------- list of places ---------- */
.d4-seg{display:grid;grid-template-columns:1fr 1fr;position:relative;margin:-27px 0 0;padding:5px;background:#fff;border-radius:18px;box-shadow:0 1px 2px rgba(15,37,64,.08),0 18px 36px -14px rgba(15,37,64,.45)}
.d4-seg span,.d4-seg button{min-height:48px;border-radius:13px;display:flex;align-items:center;justify-content:center;gap:7px;font:600 15px var(--sans);color:var(--mute);background:transparent;border:0;cursor:pointer}
.d4-seg .on{background:var(--navy);color:#fff}
.d4-seg.three{grid-template-columns:1fr 1fr 1fr}
.d4-seg i{font-style:normal;font-weight:500;opacity:.65}
.d4-tally{margin:16px 0 0;font-size:15px;color:var(--ink)}
.d4-tally b{color:var(--navy)}
.d4-tally .subline{display:block;color:var(--mute);font-size:13.5px;margin-top:1px}
.d4-tally a{font-weight:600;margin-left:4px}
.d4-free{margin-top:14px;padding:14px 16px;background:linear-gradient(120deg,#FDF6E0,#FAEBC8);color:#0F2540;border-radius:18px;font-size:14.5px;line-height:1.45}
.d4-free b{display:block;color:#0F2540;font-size:15.5px}
.d4-free a{color:#0F2540;font-weight:600}
.d4-cards{display:grid;grid-template-columns:1fr;gap:14px;margin-top:14px}
@media(min-width:900px){.d4-cards{grid-template-columns:1fr 1fr}}
.d4-card{background:#fff;border-radius:22px;padding:16px 16px 14px;box-shadow:0 1px 2px rgba(15,37,64,.06),0 12px 26px -18px rgba(15,37,64,.35)}
.d4-card-top{display:flex;gap:10px;align-items:flex-start}
.d4-card h3{font:600 19px/1.25 var(--sans);color:var(--navy);margin:0}
.d4-card h3 a{color:inherit;text-decoration:none}
.d4-where{font-size:14.5px;color:var(--mute);margin-top:3px}
.d4-save{margin-left:auto;width:48px;height:48px;border-radius:24px;border:0;background:var(--tint);display:grid;place-items:center;color:var(--navy);flex:none;cursor:pointer}
.d4-save svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.d4-save.on{background:var(--navy);color:var(--gold)}
.d4-save.on svg{fill:var(--gold);stroke:var(--gold)}
.d4-facts{margin-top:12px;border-top:1px solid #EDF0F5}
.d4-facts>div{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:8px 0;border-bottom:1px solid #EDF0F5}
.d4-facts dt{font-size:14.5px;color:var(--mute)}
.d4-facts dd{font:600 14.5px/1.35 var(--sans);color:var(--ink);text-align:right;margin:0;padding:5px 11px;border-radius:13px}
.d4-facts dd.plain{background:transparent;padding-right:0}
.d4-yes{background:var(--green-soft);color:var(--green)}
.d4-waitb{background:#FFF1CF;color:#7A5200}
.d4-noneb{background:var(--tint);color:var(--mute);font-weight:500}
.d4-acts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.d4-acts .d4-btn{min-height:48px;font-size:16px;border-radius:14px}
.d4-acts .ghost{background:var(--tint);box-shadow:none}
.d4-read{margin-top:10px;font-size:12.5px;color:var(--faint);display:flex;align-items:center;gap:7px}
.d4-read .dot{width:7px;height:7px;border-radius:50%;background:#2BB673;flex:none}
.d4-read svg{width:13px;height:13px;color:var(--green);fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
.d4-more{margin-top:14px;padding:18px 16px 16px;border:1.5px dashed var(--line-strong);border-radius:22px;text-align:center;font-size:15px;color:var(--ink)}
.d4-more b{color:var(--navy)}
.d4-more .d4-btn{margin-top:12px;background:#fff;color:var(--navy);box-shadow:0 1px 2px rgba(15,37,64,.08),0 6px 14px -8px rgba(15,37,64,.25)}

/* ---------- one place ---------- */
.d4-name{font:700 28px/1.18 var(--sans);color:#fff;margin:8px 0 0;letter-spacing:-.02em}
.d4-h2{font:600 20px/1.25 var(--sans);color:var(--navy);margin:30px 0 0;letter-spacing:-.015em}
.d4-h2+.small{font-size:13.5px;color:var(--mute);margin-top:3px}
.d4-freshcard{margin-top:12px;background:#fff;border-radius:22px;padding:6px 16px;box-shadow:0 1px 2px rgba(15,37,64,.06),0 12px 26px -18px rgba(15,37,64,.35)}
.d4-freshcard div{display:flex;align-items:center;gap:10px;padding:11px 0;border-top:1px solid #EDF0F5;font-size:14.5px;color:var(--ink)}
.d4-freshcard div:first-child{border-top:0}
.d4-freshcard svg{width:18px;height:18px;color:var(--green);fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.d4-freshcard b{margin-left:auto;font-weight:600;color:var(--navy);white-space:nowrap}
.d4-says{margin-top:12px;background:#fff;border-radius:22px;padding:2px 16px;box-shadow:0 1px 2px rgba(15,37,64,.06),0 12px 26px -18px rgba(15,37,64,.35)}
.d4-says>div{padding:13px 0;border-top:1px solid #EDF0F5}
.d4-says>div:first-child{border-top:0}
.d4-says .row{display:flex;justify-content:space-between;align-items:center;gap:14px}
.d4-says dt{font-size:15px;color:var(--ink);font-weight:500}
.d4-says dt small{display:block;font-size:12.5px;line-height:1.4;color:var(--mute);font-weight:400;margin-top:2px;max-width:230px}
.d4-says dd{font:600 15px/1.35 var(--sans);text-align:right;color:var(--ink);margin:0;padding:5px 11px;border-radius:13px}
.d4-says dd.plain{background:transparent;padding-right:0}
.d4-says q{display:block;margin-top:7px;padding-left:11px;border-left:2px solid var(--gold);font:400 14.5px/1.45 var(--sans);color:var(--mute);quotes:"\201C" "\201D"}
.d4-step{margin-top:10px;font-size:15.5px;color:var(--ink)}
.d4-script{margin-top:12px;color:#fff;border-radius:22px;padding:18px 18px 14px;background:radial-gradient(120% 90% at 100% 0%,rgba(56,128,255,.5),transparent 60%),linear-gradient(165deg,#0A1B30 0%,#0F2540 55%,#15346A 100%)}
.d4-script p{font:500 16.5px/1.5 var(--sans);margin:0}
.d4-script p+p{margin-top:9px}
.d4-script .blank{display:inline-block;width:34px;border-bottom:1.5px solid var(--gold);transform:translateY(-2px)}
.d4-script button{margin-top:14px;background:transparent;border:0;color:var(--gold);font:600 14.5px var(--sans);cursor:pointer;padding:6px 0;min-height:48px;text-decoration:underline;text-underline-offset:3px}
.d4-honest{margin-top:26px;padding:14px 16px;background:#E8ECF2;border-radius:18px;font-size:14.5px;color:var(--ink)}
.d4-wrong{display:flex;align-items:center;min-height:48px;margin-top:14px;font-size:14.5px;font-weight:600}

/* ---------- my list ---------- */
.d4-item{margin-top:14px;background:#fff;border-radius:22px;padding:16px;box-shadow:0 1px 2px rgba(15,37,64,.06),0 12px 26px -18px rgba(15,37,64,.35)}
.d4-item h3{font:600 18px/1.25 var(--sans);color:var(--navy);margin:0}
.d4-item h3 a{color:inherit;text-decoration:none}
.d4-ask{margin-top:12px;font-size:13.5px;color:var(--mute)}
.d4-status{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.d4-status .d4-chip{background:var(--tint);box-shadow:none;min-height:48px;font-size:14px;padding:0 13px}
.d4-status .d4-chip.on{background:var(--navy);color:#fff}
.d4-note{margin-top:12px;padding:11px 13px;background:var(--tint);border-radius:12px;font-size:14.5px;color:var(--ink);width:100%;border:0;font-family:var(--sans);resize:vertical;min-height:48px;box-sizing:border-box}
.d4-note.empty{color:var(--faint);background:#fff;border:1.5px dashed var(--line-strong)}
.d4-item .d4-btn{margin-top:14px}
.d4-rightq{margin-top:14px;padding-top:12px;border-top:1px solid #EDF0F5}
.d4-share{margin-top:18px}
.d4-kept{margin-top:12px;text-align:center;font-size:13.5px;color:var(--mute)}
.d4-remove{margin-top:10px;background:none;border:0;color:var(--mute);font:600 13.5px var(--sans);cursor:pointer;min-height:48px;text-decoration:underline;text-underline-offset:3px}
.d4-empty{margin-top:14px;background:#fff;border-radius:22px;padding:22px 18px;text-align:center;font-size:15.5px;color:var(--mute);box-shadow:0 1px 2px rgba(15,37,64,.06),0 12px 26px -18px rgba(15,37,64,.35)}
.d4-empty b{display:block;color:var(--navy);font-size:17px;margin-bottom:6px}

/* ---------- legacy pages under the new skin ---------- */
footer{background:var(--navy-deep);color:#fff}
footer a{color:var(--gold)}
footer .indep,footer p{color:#fff}
.fp-card{border:0;border-radius:22px;box-shadow:0 1px 2px rgba(15,37,64,.06),0 12px 26px -18px rgba(15,37,64,.35)}
.fp-card h3 a{color:var(--navy)}
.fp-call{background:var(--navy);border-radius:14px}
h2.fp-county{color:var(--navy)}
.kv th,.kv td{border-bottom-color:#EDF0F5}
.section h2{color:var(--navy)}
.disclosure{border-radius:18px}
.near-line{font-size:14px;color:var(--mute)}
@media print{
  .d4-top,.d4-menu,.d4-share,.d4-status,.d4-rightq,.d4-remove,footer{display:none!important}
  body{background:#fff}
}

/* Google review-count line on listing cards (Fix 3) */
.d4-grev{margin:2px 0 0}
.d4-grev a{display:inline-flex;align-items:center;min-height:48px;color:#0F2540;font-weight:600}
.d4-photo{height:150px;margin:-16px -16px 12px;border-radius:22px 22px 0 0;overflow:hidden;background:#0F2540}
.d4-photo img{width:100%;height:100%;object-fit:cover;display:block}

/* ---------- farm to table (harvest) ---------- */
:root{--harvest:#256F46;--harvest-deep:#174D30;--harvest-soft:#E9F5EE}
.d4-chip.food-chip{background:var(--harvest-soft);color:var(--harvest-deep);border:1px solid rgba(31,122,87,.28)}
.d4-cell.food-hero{grid-column:1/-1;flex-direction:row;align-items:center;gap:12px;background:radial-gradient(90% 120% at 100% 0%,rgba(248,203,99,.28),transparent 58%),linear-gradient(125deg,#164E35 0%,#1F7A57 62%,#2E9469 100%);border:1px solid rgba(246,194,83,.55);color:#fff}
.d4-cell.food-hero .d4-ic{background:linear-gradient(140deg,#F8CB63,#F0A92B);color:var(--harvest-deep)}
.d4-cell.food-hero h3{color:#fff;margin-top:0;font-size:17px}
.d4-cell.food-hero p{color:rgba(255,255,255,.88);min-height:0}
.d4-cell.food-hero .d4-num{margin:0 0 0 auto;padding-top:0;white-space:nowrap;color:#FFE49C;flex-direction:column;align-items:flex-end;gap:5px}
.d4-cell.food-hero .d4-num small{color:rgba(255,255,255,.85)}
.d4-searchres a small.sug-kind{padding:3px 9px;border-radius:999px;font-weight:600;flex:none}
.d4-searchres a small.sug-kind.food{background:var(--harvest-soft);color:var(--harvest-deep)}
.lane-seg{display:flex;gap:5px;position:relative;margin:-27px 0 0;padding:5px;background:#fff;border-radius:18px;box-shadow:0 1px 2px rgba(15,37,64,.08),0 18px 36px -14px rgba(15,37,64,.45)}
.lane-seg button{flex:1 1 auto;min-width:0;height:35px;padding:0 5px;border-radius:999px;font:600 11.5px/1 var(--sans);letter-spacing:-.01em;color:var(--mute);background:transparent;border:0;cursor:pointer;white-space:nowrap}
.lane-seg button.on{background:var(--harvest);color:#fff}
.food-free{margin-top:14px;padding:14px 16px;background:var(--harvest-soft);border:1px solid rgba(31,122,87,.28);border-radius:18px;font-size:14.5px;line-height:1.45;color:var(--harvest-deep)}
.food-free b{display:block;font-size:15.5px;color:var(--harvest-deep);margin-bottom:2px}
.food-free a{color:var(--harvest-deep);font-weight:600}
