/* Sampurna Nagar — one small stylesheet for the whole site. System fonts only, so nothing extra to download. */
:root{
  --bg:#FFFFFF; --soft:#F1F5EC; --ink:#17210F; --muted:#5F6B58; --line:#E1E7DB;
  --green:#2C6E27; --green-soft:#E4F0DF; --gold:#E2A517; --gold-soft:#FBF1D6; --gold-ink:#6E4B00;
  --red:#B83A27; --red-soft:#F8E2DD; --amber:#B86F00; --amber-soft:#FBEBD0; --wa:#1E8E4E;
  --font:system-ui,-apple-system,"Segoe UI","Noto Sans Devanagari","Noto Sans",Roboto,sans-serif;
  --r:14px; color-scheme:light;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.5;padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
img{max-width:100%;height:auto;display:block}
a{color:var(--green)}
h1,h2,h3,h4{line-height:1.25;margin:0;text-wrap:balance}
p{margin:0}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* top bar */
.bar{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:saturate(1.4) blur(8px);-webkit-backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--line);
  padding:8px max(14px,env(safe-area-inset-right,0px)) 8px max(14px,env(safe-area-inset-left,0px));padding-top:calc(8px + env(safe-area-inset-top,0px))}
.bar-in{max-width:1180px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:1.22rem;color:var(--green);text-decoration:none;line-height:1.05;flex:none}
.logo img{width:38px;height:38px;border-radius:10px;flex:none}
.logo small{display:block;font-weight:700;font-size:.6rem;color:var(--muted);letter-spacing:.09em;margin-top:3px}
.topnav{display:none}
.bar-r{display:flex;gap:8px;align-items:center;flex:none}
.lang{font-size:.8rem;font-weight:700;border:1px solid var(--line);border-radius:999px;padding:5px 11px;color:var(--ink);text-decoration:none}
.ico-btn{width:36px;height:36px;border-radius:50%;background:var(--soft);display:grid;place-items:center;color:var(--ink)}
.ico{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}

.main{max-width:760px;margin:0 auto;padding:14px max(14px,env(safe-area-inset-right,0px)) 24px max(14px,env(safe-area-inset-left,0px));display:flex;flex-direction:column;gap:22px}
.main>*{min-width:0}

/* mill strip on inner pages */
.strip{display:block;padding:8px max(14px,env(safe-area-inset-right,0px)) 8px max(14px,env(safe-area-inset-left,0px));font-size:.86rem;font-weight:600;text-decoration:none;color:var(--ink);border-bottom:1px solid var(--line)}
.strip-in{max-width:1180px;margin:0 auto;display:flex;align-items:center;gap:8px}
.strip[data-s="open"]{background:var(--green-soft)}.strip[data-s="maint"]{background:var(--amber-soft)}.strip[data-s="closed"]{background:var(--red-soft)}
.strip-t{margin-left:auto;color:var(--muted);font-weight:400;font-size:.78rem;white-space:nowrap}

/* photos */
.hero{position:relative;border-radius:18px;overflow:hidden;background:#3E5A2E}
.hero img{width:100%;aspect-ratio:686/312;object-fit:cover}
.hero-t{position:absolute;inset:auto 0 0 0;padding:28px 16px 14px;background:linear-gradient(to top,rgba(10,18,6,.82),rgba(10,18,6,0));color:#fff;display:flex;flex-direction:column;gap:2px}
.hero-t h1{font-size:1.7rem;font-weight:800;text-shadow:0 1px 6px rgba(0,0,0,.4)}
.hero-t p{font-size:.88rem;opacity:.95}
.pics{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pics a{position:relative;border-radius:var(--r);overflow:hidden;color:#fff;text-decoration:none;background:var(--soft)}
.pics img{width:100%;aspect-ratio:4/3;object-fit:cover}
.pics span{position:absolute;left:0;right:0;bottom:0;padding:18px 10px 8px;font-weight:700;font-size:.86rem;background:linear-gradient(to top,rgba(0,0,0,.7),rgba(0,0,0,0))}
.banner{width:100%;border-radius:var(--r);aspect-ratio:900/346;object-fit:cover;background:var(--soft)}
figure.fig{margin:0;display:flex;flex-direction:column;gap:6px}

/* status card */
.status{border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:4px;border:1.5px solid;text-decoration:none;color:var(--ink)}
.status[data-s="open"]{background:var(--green-soft);border-color:var(--green)}
.status[data-s="maint"]{background:var(--amber-soft);border-color:var(--amber)}
.status[data-s="closed"]{background:var(--red-soft);border-color:var(--red)}
.status[data-s="none"]{background:var(--soft);border-color:var(--line)}
.st-row{display:flex;align-items:center;gap:9px}
.dot{width:11px;height:11px;border-radius:50%;flex:none;background:var(--muted)}
[data-s="open"] .dot{background:var(--green);box-shadow:0 0 0 4px rgba(44,110,39,.18)}
[data-s="maint"] .dot{background:var(--amber)}
[data-s="closed"] .dot{background:var(--red)}
.st-title{font-weight:800;font-size:1.12rem}
.st-sub{font-size:.88rem;color:var(--muted)}
.st-note{font-size:.95rem}
.stale{font-size:.8rem;color:var(--amber);font-weight:700}

/* tiles */
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:10px 8px}
.tile{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:.8rem;font-weight:600;color:var(--ink);text-decoration:none}
.tile i{width:56px;height:56px;border-radius:16px;display:grid;place-items:center;background:var(--soft);color:var(--green)}
.tile i .ico{width:26px;height:26px}
.tile.hot i{background:var(--gold-soft);color:var(--gold-ink)}

/* blocks */
.blk{display:flex;flex-direction:column;gap:10px}
.blk-h{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.blk-h h2{font-size:1.12rem;font-weight:800}
.more{font-size:.86rem;font-weight:700;color:var(--green);text-decoration:none;white-space:nowrap}
.pg-h{display:flex;flex-direction:column;gap:4px}
.pg-h h1{font-size:1.5rem;font-weight:800}
.pg-h p{color:var(--muted)}
.meta{font-size:.8rem;color:var(--muted)}
.empty{background:var(--soft);border-radius:var(--r);padding:16px;text-align:center;color:var(--muted);display:flex;flex-direction:column;gap:10px;align-items:center}

/* news */
.news{display:flex;gap:12px;align-items:flex-start;text-decoration:none;color:var(--ink)}
.thumb{width:84px;height:64px;border-radius:10px;flex:none;object-fit:cover;background:var(--soft)}
.thumb.ph{display:grid;place-items:center;color:#9DB38F}
.thumb.ph .ico{width:26px;height:26px}
.news b{display:block;font-size:.98rem;line-height:1.35}
.article{display:flex;flex-direction:column;gap:12px}
.article h1{font-size:1.45rem;font-weight:800}
.article .hero{width:100%;border-radius:var(--r);background:var(--soft)}
.prose{display:flex;flex-direction:column;gap:12px;font-size:1.05rem;line-height:1.7}

/* cards */
.card{border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;display:flex;flex-direction:column;gap:7px;background:var(--bg);color:var(--ink);text-decoration:none}
.card b,.card h3{font-size:1rem;font-weight:700}
a.card:hover{border-color:var(--green)}
.list{display:flex;flex-direction:column;gap:10px}
.grid2{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.chips{display:flex;gap:6px;flex-wrap:wrap}
.chip{font-size:.8rem;background:var(--soft);border-radius:999px;padding:3px 10px;color:var(--ink);text-decoration:none;white-space:nowrap}
.chip.g{background:var(--green-soft);color:var(--green);font-weight:700}
a.chip.on{background:var(--green);color:#fff;font-weight:700}
.chips.scroll{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
.feat{font-size:.72rem;font-weight:800;color:var(--gold-ink);background:var(--gold-soft);border-radius:6px;padding:1px 7px;width:fit-content}

.acts{display:flex;gap:8px;flex-wrap:wrap}
.btn{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;text-align:center;border-radius:12px;padding:9px 12px;font-weight:700;font-size:.92rem;border:1.5px solid var(--green);color:var(--green);background:var(--bg);cursor:pointer;text-decoration:none;min-height:42px}
.btn.wa{background:var(--wa);border-color:var(--wa);color:#fff}
.btn.solid{background:var(--green);color:#fff}
.btn.gold{background:var(--gold);border-color:var(--gold);color:#2F2100}
.btn.no{border-color:var(--red);color:var(--red)}
.btn.small{flex:none;min-height:34px;padding:5px 10px;font-size:.82rem}
.btn.block{width:100%;flex:none}
.btn[disabled]{opacity:.6}

/* property */
.prop{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;color:var(--ink);text-decoration:none;background:var(--bg)}
.prop .img{aspect-ratio:16/9;width:100%;object-fit:cover;background:linear-gradient(160deg,#C9DDB0 0%,#7DA75E 55%,#4F7E3A 100%)}
.prop .bd{padding:10px 12px;display:flex;flex-direction:column;gap:5px}
.price{font-weight:800;color:var(--green);font-size:1.08rem}
.gallery{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory}
.gallery img{flex:none;width:100%;max-width:100%;border-radius:var(--r);scroll-snap-align:start;aspect-ratio:4/3;object-fit:cover;background:var(--soft)}
.warn{background:var(--gold-soft);border:1px solid var(--gold);border-radius:var(--r);padding:12px 14px;font-size:.9rem;display:flex;flex-direction:column;gap:4px}

/* creators */
.creators{display:flex;gap:12px;overflow-x:auto;padding-bottom:4px}
.cr{flex:none;width:84px;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;font-size:.78rem;color:var(--ink);text-decoration:none}
.av{width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,var(--gold),#D8572F);display:grid;place-items:center;color:#fff;font-weight:800;font-size:1.2rem;object-fit:cover;flex:none}
.cr-row{display:flex;gap:12px;align-items:center}

/* tables & facts */
.tbl-wrap{overflow-x:auto}
table.rates{width:100%;border-collapse:collapse;font-size:.94rem;font-variant-numeric:tabular-nums}
.rates td,.rates th{padding:9px 6px;border-bottom:1px solid var(--line);text-align:left}
.rates th{font-size:.78rem;color:var(--muted);font-weight:600}
.rates td.n,.rates th.n{text-align:right;white-space:nowrap}
.up{color:var(--green);font-weight:700}.down{color:var(--red);font-weight:700}
.facts{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r)}
.facts>div{display:flex;justify-content:space-between;gap:12px;padding:10px 14px;border-bottom:1px solid var(--line);font-size:.94rem}
.facts>div:last-child{border-bottom:0}
.facts b{text-align:right}
.info{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.info>*{background:var(--soft);border-radius:12px;padding:10px 12px;font-size:.84rem;color:var(--ink);text-decoration:none}
.info b{display:block;font-size:1rem;font-variant-numeric:tabular-nums}

/* crop prices */
.crop-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.crop-card h3{font-size:1.05rem}
.crop-card .rates td{padding:7px 4px}
.rates tr.best td{background:var(--gold-soft)}
.rates td.low{color:var(--red);font-weight:700}
.low-note{color:var(--red)}
.star{font-size:.8rem}
.steps ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}
.only-desk{display:none}
.matrix{width:100%;border-collapse:separate;border-spacing:0;font-size:.95rem;font-variant-numeric:tabular-nums;border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.matrix th,.matrix td{padding:11px 10px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}
.matrix thead th{background:var(--soft);font-size:.82rem;color:var(--muted);font-weight:700}
.matrix tbody th{font-weight:700}
.matrix tbody tr:last-child>*{border-bottom:0}
.matrix tbody tr:hover>*{background:#FAFCF7}
.matrix .n{text-align:right}
.matrix .msp-col{background:var(--green-soft);color:var(--green);font-weight:700}
.matrix thead .msp-col{color:var(--green)}
.matrix td.none{color:#C3CCBD}
.matrix td.best{background:var(--gold-soft);font-weight:800}
.matrix td.low{color:var(--red);font-weight:700}
.legend{line-height:1.6}
.msp-table tr.grp th{background:var(--soft);font-size:.8rem;color:var(--muted);font-weight:700;padding:8px 10px;text-align:left}
.msp-table td:first-child{padding-left:10px}
.msp-table td.n{padding-right:10px}
.mandi-lower{display:flex;flex-direction:column;gap:22px}
.mandi-lower>*{min-width:0}
.proc-cards{display:grid;grid-template-columns:1fr;gap:12px}
@media (min-width:1000px){
  .only-desk{display:block}
  .only-phone{display:none}
  .mandi-lower{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:36px;align-items:start}
}

/* mill page */
.photo{width:100%;border-radius:var(--r);aspect-ratio:4/3;object-fit:cover;background:var(--soft)}
.meter{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
.meter i{height:10px;border-radius:5px;background:var(--line)}
.meter[data-c="low"] i:nth-child(1){background:var(--green)}
.meter[data-c="med"] i:nth-child(-n+2){background:var(--amber)}
.meter[data-c="high"] i{background:var(--red)}
.meter-l{display:flex;justify-content:space-between;font-size:.76rem;color:var(--muted)}
.tl{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.tl li{display:grid;grid-template-columns:20px 1fr;gap:12px;position:relative;padding-bottom:14px}
.tl li::before{content:"";position:absolute;left:9px;top:18px;bottom:0;width:2px;background:var(--line)}
.tl li:last-child::before{display:none}
.tl .k{width:20px;height:20px;border-radius:50%;border:2px solid var(--line);background:var(--bg)}
.tl li.done .k{background:var(--green);border-color:var(--green)}
.tl li.now .k{background:var(--gold);border-color:var(--gold);box-shadow:0 0 0 4px var(--gold-soft)}
.tl b{display:block}
.hist{display:flex;flex-direction:column;gap:0;border-left:2px solid var(--line);padding-left:12px}
.hist>div{padding:6px 0;font-size:.9rem}

/* send strip */
.send{background:var(--green);color:#fff;border-radius:var(--r);padding:14px;display:flex;flex-direction:column;gap:8px}
.send .btn{background:#fff;border-color:#fff;color:var(--green)}

/* forms */
.form{display:flex;flex-direction:column;gap:14px}
.field{display:flex;flex-direction:column;gap:5px}
.field label,.lbl{font-size:.88rem;font-weight:700}
.req{color:var(--red)}
.hint{font-size:.8rem;color:var(--muted)}
.inp,select.inp,textarea.inp{width:100%;border:2px solid var(--line);border-radius:12px;padding:11px 12px;background:var(--bg);font-size:1rem;min-height:46px}
textarea.inp{min-height:110px;resize:vertical}
.inp:focus{outline:none;border-color:var(--green)}
.seg{display:grid;grid-template-columns:1fr 1fr;background:var(--soft);border-radius:12px;padding:4px;gap:4px}
.seg a{border-radius:9px;padding:9px;font-weight:700;font-size:.92rem;color:var(--muted);text-align:center;text-decoration:none}
.seg a.on{background:var(--bg);color:var(--green);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.flash{border-radius:12px;padding:12px 14px;font-weight:600}
.flash.ok{background:var(--green-soft);color:var(--green)}
.flash.err{background:var(--red-soft);color:var(--red)}
.search{display:flex;gap:8px}
.search .inp{flex:1}
.search .btn{flex:none}

/* fab + pager */
.fab{position:fixed;right:max(16px,env(safe-area-inset-right,0px));bottom:calc(76px + env(safe-area-inset-bottom,0px));background:var(--gold);color:#2F2100;font-weight:800;border-radius:999px;padding:12px 18px;box-shadow:0 6px 16px -6px rgba(0,0,0,.45);text-decoration:none;z-index:15;display:flex;gap:6px;align-items:center}
.pager{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pager .btn{flex:none}

/* footer + bottom nav */
.foot{background:var(--soft);border-top:1px solid var(--line);padding:22px max(16px,env(safe-area-inset-right,0px)) 26px max(16px,env(safe-area-inset-left,0px));font-size:.84rem;color:var(--muted)}
.foot-in{max-width:1180px;margin:0 auto;display:flex;flex-direction:column;gap:16px;align-items:center;text-align:center}
.foot-about{display:flex;flex-direction:column;gap:8px;align-items:center}
.foot-links{display:flex;gap:6px 16px;justify-content:center;flex-wrap:wrap}
.foot a{color:var(--muted)}
.foot .logo{color:var(--green)}
.nav{position:fixed;left:0;right:0;bottom:0;background:var(--bg);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);padding:6px max(4px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(4px,env(safe-area-inset-left,0px));z-index:20}
.nav a{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:.72rem;font-weight:600;color:var(--muted);text-decoration:none;padding:2px 0}
.nav a.on{color:var(--green)}
.nav .ico{width:22px;height:22px}

/* more page */
.menu{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r)}
.menu a{display:flex;align-items:center;gap:12px;padding:14px;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;font-weight:600}
.menu a:last-child{border-bottom:0}
.menu a i{width:40px;height:40px;border-radius:12px;background:var(--soft);display:grid;place-items:center;color:var(--green)}

/* home page building blocks (one column on phones) */
.top-grid,.top-side,.home-grid,.col{display:flex;flex-direction:column;gap:22px;min-width:0}
.col>*{min-width:0}

@media (min-width:700px){
  .tiles{grid-template-columns:repeat(6,1fr)}
  .main{padding-top:22px}
  .pics img{aspect-ratio:16/10}
}

/* ---------- Desktop ---------- */
@media (min-width:1000px){
  body{padding-bottom:0}
  .nav{display:none}
  .fab{bottom:28px}
  .bar{padding-top:10px;padding-bottom:10px}
  .topnav{display:flex;gap:2px;flex:1;justify-content:center;min-width:0}
  .topnav a{padding:8px 11px;border-radius:10px;color:var(--ink);text-decoration:none;font-weight:600;font-size:.95rem;white-space:nowrap}
  .topnav a:hover{background:var(--soft)}
  .topnav a.on{background:var(--green-soft);color:var(--green)}
  .main{max-width:860px;padding-top:28px;padding-bottom:40px;gap:26px}
  .main.wide{max-width:1180px}
  .pg-h h1{font-size:1.9rem}
  .article h1{font-size:2rem}

  /* home: photo + mill status side by side, then two columns */
  .top-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:22px;align-items:stretch}
  .top-grid .hero{height:100%}
  .top-grid .hero img{height:100%;aspect-ratio:auto;min-height:300px}
  .top-side{display:flex;flex-direction:column;gap:18px;justify-content:space-between;min-width:0}
  .top-side .tiles{grid-template-columns:repeat(4,1fr)}
  .hero-t h1{font-size:2.4rem}
  .hero-t p{font-size:1rem}
  .home-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:32px;align-items:start}
  .home-grid .col-side{position:sticky;top:84px}

  /* lists become card grids */
  .main.wide .list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
  .grid2{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
  .news-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 28px}
  .thumb{width:120px;height:84px}
  .banner{max-height:300px}

  .foot-in{flex-direction:row;justify-content:space-between;align-items:flex-start;text-align:left}
  .foot-about{align-items:flex-start;max-width:300px}
  .foot-links{flex-direction:column;justify-content:flex-start;gap:8px}
}
@media (min-width:1000px) and (max-width:1180px){
  .topnav a{padding:8px 7px;font-size:.88rem}
  .logo small{display:none}
}
@media (prefers-reduced-motion:no-preference){.btn,.card,.chip{transition:background-color .15s,border-color .15s}}

/* consent bar (until the visitor agrees) and footer note */
.consent{position:fixed;left:0;right:0;bottom:calc(64px + env(safe-area-inset-bottom,0px));z-index:30;background:var(--ink);color:#fff;
  padding:12px max(14px,env(safe-area-inset-right,0px)) 12px max(14px,env(safe-area-inset-left,0px));display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;box-shadow:0 -6px 20px -8px rgba(0,0,0,.4)}
.consent p{margin:0;font-size:.86rem;line-height:1.45;max-width:760px;flex:1 1 260px}
.consent a{color:#CFE7C4}
.consent .btn{flex:none;min-width:130px;background:var(--gold);border-color:var(--gold);color:#2F2100}
.foot-note{max-width:1180px;margin:16px auto 0;font-size:.78rem;line-height:1.5;color:var(--muted);text-align:center}
.disc{background:var(--soft);border-left:4px solid var(--amber);border-radius:10px;padding:10px 12px;font-size:.86rem;display:flex;flex-direction:column;gap:4px}
.disc b{color:var(--ink)}
.disc a{font-weight:700}
.legal{display:flex;flex-direction:column;gap:14px;line-height:1.7;max-width:760px}
.legal h2{font-size:1.15rem;margin-top:8px}
.legal ul,.legal ol{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:6px}
.legal .updated{font-size:.82rem;color:var(--muted)}
.agree{display:flex;gap:10px;align-items:flex-start;background:var(--gold-soft);border:1px solid var(--gold);border-radius:12px;padding:12px;font-size:.9rem;line-height:1.45}
.agree input{width:22px;height:22px;flex:none;margin-top:1px;accent-color:var(--green)}
@media (min-width:1000px){.consent{bottom:0}}
.chip.r{background:var(--red-soft);color:var(--red);font-weight:700}
.guide-card{flex-direction:row;align-items:flex-start;gap:12px}
.guide-card i{width:42px;height:42px;border-radius:12px;background:var(--soft);display:grid;place-items:center;color:var(--green);flex:none}
.guide-card>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.answer{background:var(--green-soft);border:1px solid var(--green);border-radius:var(--r);padding:12px 14px;font-size:1.02rem}
.answer b{color:var(--green)}
.guide .tbl-wrap table{width:100%}

/* Photos: places nearby, guide covers, credits */
.gthumb{width:84px;height:64px;border-radius:10px;object-fit:cover;flex:none;background:var(--soft)}
img.cover{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--r);background:var(--soft)}
.hscroll{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;margin:0 -2px;-webkit-overflow-scrolling:touch}
.pcard{flex:0 0 62%;max-width:240px;scroll-snap-align:start;display:flex;flex-direction:column;gap:2px;color:var(--ink);text-decoration:none}
.pcard img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;background:var(--soft);margin-bottom:4px}
.pcard b{font-size:.92rem}
.places{display:flex;flex-direction:column;gap:14px}
.place{gap:9px;padding:12px}
.place h2{font-size:1.2rem;font-weight:800}
.place-img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;background:var(--soft)}
.place .chip svg{width:14px;height:14px;vertical-align:-2px}
.strip-pics{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}
.strip-pics figure{margin:0;display:flex;flex-direction:column;gap:4px}
.strip-pics img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;background:var(--soft)}
.btn-row{display:flex;gap:8px;flex-wrap:wrap}
.credit{flex-direction:row;align-items:center;gap:12px}
.credit img{width:96px;height:72px;border-radius:10px;object-fit:cover;flex:none}
.credit>div{display:flex;flex-direction:column;gap:2px;min-width:0}
figcaption a,.credit a{color:var(--muted)}
@media (min-width:700px){.pcard{flex-basis:30%}.places{display:grid;grid-template-columns:1fr 1fr;align-items:start}}

/* Pictures on listing cards: a photo, or a category tile */
.lpic{position:relative;flex:none;width:56px;height:56px;border-radius:14px;overflow:hidden;background:var(--soft);display:block}
.lpic.lg{width:72px;height:72px}
.lpic img,.prop .img img{width:100%;height:100%;object-fit:cover;display:block}
.lpic.art,.prop .img.art{display:grid;place-items:center;font-size:1.7rem;line-height:1}
.lpic.lg.art{font-size:2.1rem}
.prop .img{position:relative;display:block;overflow:hidden}
.prop .img.art{font-size:3.4rem}
.pcount{position:absolute;right:6px;bottom:6px;display:inline-flex;align-items:center;gap:3px;background:rgba(0,0,0,.6);color:#fff;border-radius:999px;padding:2px 7px;font-size:.72rem;font-weight:700}
.pcount .ico{width:12px;height:12px}
.lpic .pcount{right:3px;bottom:3px;padding:1px 5px}
.gallery img{width:88%}
.gallery img:only-child{width:100%}
.pick{display:flex;gap:8px;flex-wrap:wrap}
.pick img{width:72px;height:72px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}
.prop .img.art{aspect-ratio:16/6}

/* Live mill reading */
.live-tag{display:inline-block;font-size:.66rem;font-weight:800;letter-spacing:.04em;color:#fff;background:#C62828;border-radius:4px;padding:1px 5px;vertical-align:1px}
.rpm{display:flex;align-items:flex-end;gap:3px;height:64px;padding:6px 8px;background:var(--soft);border-radius:12px}
.rpm i{flex:1;background:var(--green);border-radius:3px 3px 0 0;min-height:3px}
.rpm i.low{background:var(--red)}

/* Event date tile */
.cal{flex:none;width:72px;height:72px;border-radius:14px;background:var(--gold-soft);color:var(--gold-ink);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.1}
.cal b{font-size:1.7rem;font-weight:800}
.cal span{font-size:.78rem;font-weight:700}

/* Cane payment tracker */
.pay{display:flex;flex-direction:column;gap:6px;border:1.5px solid var(--gold);background:var(--gold-soft);border-radius:16px;padding:14px 16px;color:var(--ink);text-decoration:none}
.pay-h{font-size:1.02rem;font-weight:800}
.pay .pbar{height:10px;border-radius:5px;background:rgba(0,0,0,.08);overflow:hidden}
.pay .pbar i{display:block;height:100%;background:var(--green);border-radius:5px}
.pay-row{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:.92rem}
.pay-row .due b{color:var(--red)}

/* Emergency numbers */
.sos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.sos-b{display:flex;flex-direction:column;gap:1px;border:1px solid var(--line);border-radius:12px;padding:8px 12px;text-decoration:none;color:var(--ink);background:var(--bg)}
.sos-b b{font-size:1.2rem;font-weight:800;color:var(--red)}
.sos-b span{font-size:.8rem;color:var(--muted);line-height:1.25}
.sos-b.hot{background:var(--red-soft);border-color:var(--red)}

/* Today strip */
.today{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 0}
.today::-webkit-scrollbar{display:none}
.today>*{flex:none;display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:6px 12px;font-size:.86rem;color:var(--ink);text-decoration:none;background:var(--bg);white-space:nowrap}
.today b{font-weight:800}
.today .tw{font-size:1.15rem}
.card.cr-row{flex-direction:row;align-items:center}

/* Listen button and WhatsApp box */
.listen{display:inline-flex;align-items:center;gap:6px;width:fit-content;border:1.5px solid var(--green);color:var(--green);background:var(--bg);border-radius:999px;padding:6px 14px;font:inherit;font-weight:700;font-size:.9rem;cursor:pointer}
.listen.on{background:var(--green);color:#fff}
.wa-box{display:flex;flex-direction:column;gap:8px;background:var(--green-soft);border-radius:var(--r);padding:12px 14px;font-size:.92rem}
