:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#123453;background:#edf3f9;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100dvh;background:radial-gradient(circle at 85% 2%,#d6eafa 0,transparent 40%),#edf3f9}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #2782d0;outline-offset:3px}[hidden]{display:none!important}.app{max-width:580px;min-height:100dvh;margin:auto;padding:env(safe-area-inset-top) 24px calc(24px + env(safe-area-inset-bottom));display:flex;flex-direction:column}.topbar{height:85px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:11px;align-items:center;font-size:1.15rem;font-weight:800;letter-spacing:-.03em}.brand-mark{display:grid;place-items:center;width:31px;height:31px;background:#123453;color:white;border-radius:9px;font-size:1.2rem}.brand-sub{font-weight:500;color:#59738b}.icon-button,.nav-button,.close-button{display:grid;place-items:center;border:0;background:white;color:#123453;box-shadow:0 5px 18px #12345312}.icon-button{width:44px;height:44px;border-radius:13px}.icon-button svg{width:22px}.dashboard{flex:1;display:flex;flex-direction:column;text-align:center;padding-top:19px}.eyebrow,.small-label{font-size:.75rem;font-weight:800;letter-spacing:.11em;color:#54738e}.day-nav{display:grid;grid-template-columns:42px 1fr 42px;gap:6px;align-items:center;margin-top:20px}.nav-button{width:42px;height:42px;border-radius:50%;font-size:2rem;line-height:1}.nav-button:disabled{opacity:.28;cursor:default}h1{font-size:clamp(1.6rem,7vw,2.45rem);letter-spacing:-.055em;margin:0;line-height:1.12}#date{margin:9px 0 0;font-size:.96rem;color:#5b7287}.today-pill{align-self:center;background:#d8eafa;border-radius:999px;padding:7px 13px;margin-top:25px;color:#174f7b;font-size:.73rem;font-weight:800;letter-spacing:.09em}.bag-area{margin-top:20px}.collection-card{min-height:382px;border-radius:27px;background:white;box-shadow:0 18px 60px #1b4b6e16;padding:24px 22px 28px;display:flex;align-items:center;flex-direction:column}.bag-figure{height:157px;width:150px;display:grid;place-items:center;margin:0 auto 3px}.bag-figure svg{width:145px;height:150px;filter:drop-shadow(0 11px 9px #152d4230)}.bag-name{font-size:1.48rem;letter-spacing:-.035em;font-weight:800;margin:5px 0 0}.time-box{width:100%;border-top:1px solid #e5edf4;padding-top:17px;display:flex;flex-direction:column;align-items:center}.time-label{color:#536f86;font-size:.87rem}.time-value{font-size:clamp(2.7rem,11vw,3.9rem);line-height:1.07;font-weight:850;letter-spacing:-.06em;font-variant-numeric:tabular-nums;margin:4px 0}.put-out{font-size:.9rem;color:#526b7e;margin-top:5px}.glass-note{margin-top:13px;padding:9px 12px;border-radius:10px;background:#eef7f9;color:#195969;font-size:.85rem;line-height:1.45}.no-collection{justify-content:center}.rest-icon{font-size:5.4rem;color:#a8bed0}.no-collection .bag-name{margin-top:14px}.swipe-hint{font-size:.77rem;color:#6c8396;margin:21px 0 13px}.location-notice{display:flex;text-align:left;gap:12px;border-radius:15px;background:#fff4f2;border:1px solid #f4c9c5;padding:15px;margin:4px 0 12px;line-height:1.4}.notice-icon{border:2px solid #c8342c;color:#c8342c;clip-path:polygon(50% 0,100% 100%,0 100%);width:27px;height:25px;text-align:center;padding-top:5px;font-size:12px;font-weight:900;flex:none}.location-notice strong{color:#8f2722;font-size:.93rem}.location-notice p{font-size:.82rem;color:#784e4a;margin:4px 0 9px}.switch-button,.save-button{border:0;border-radius:9px;background:#126db2;color:white;font-weight:750;padding:10px 17px}.switch-button{font-size:.86rem}footer{border-top:1px solid #d8e5ee;margin-top:20px;padding-top:17px;color:#7890a1;font-size:.73rem;display:flex;justify-content:space-between;gap:16px;line-height:1.5}footer a{color:#26618d;font-weight:700;text-decoration:none;white-space:nowrap}.overlay{position:fixed;inset:0;z-index:5;background:#12345375;display:flex;align-items:center;justify-content:center;padding:16px}.settings{background:#fff;border-radius:23px;padding:25px;width:min(100%,510px);max-height:min(94dvh,800px);overflow:auto;box-shadow:0 20px 70px #001c3460}.settings-head{display:flex;align-items:center;justify-content:space-between}.close-button{font-size:1.75rem;box-shadow:none;width:35px;height:35px;background:#eff5fa;border-radius:9px}.settings h2{margin:13px 0 10px;font-size:1.85rem;line-height:1.15;letter-spacing:-.04em}.settings h2 span{font-size:1.15rem;font-weight:500;color:#617c91}.gps-status{font-size:.9rem;color:#47708b;min-height:1.4em;margin:10px 0 17px}.settings label{font-size:.9rem;font-weight:750;display:block;margin-bottom:8px}.settings input{width:100%;height:48px;border:1px solid #b9cddb;border-radius:11px;padding:0 14px;background:#fafcfe;color:#123453;font-size:1rem}.locality-list{margin:10px 0 0;border:1px solid #dce7ef;border-radius:12px;overflow:auto;max-height:240px}.locality-option{width:100%;text-align:left;border:0;border-bottom:1px solid #edf2f6;background:white;padding:12px 15px;color:#183c58;font-size:.96rem}.locality-option:last-child{border-bottom:0}.locality-option[aria-selected=true]{background:#dceefd;color:#134d78;font-weight:800}.locality-option:hover{background:#f0f7fc}.empty-list{padding:16px;color:#617c91}.settings-actions{display:flex;gap:10px;margin-top:19px}.cancel-button{border:1px solid #c6d5e0;background:white;color:#375a73;border-radius:9px;padding:10px 16px}.save-button{flex:1}.save-button:disabled{opacity:.45;cursor:default}.settings-note{font-size:.77rem;line-height:1.5;color:#698092;margin:18px 0 0}@media(max-width:440px){.app{padding-left:16px;padding-right:16px}.dashboard{padding-top:5px}.collection-card{min-height:350px}.settings-actions{flex-direction:column-reverse}.settings-actions button{width:100%}footer{flex-wrap:wrap}}@media(prefers-reduced-motion:no-preference){.collection-card{animation:appear .2s ease-out}@keyframes appear{from{opacity:.55;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}
.top-actions{display:flex;align-items:center;gap:6px}.collection-card .bag-name{margin-bottom:16px}.collection-card.no-collection .bag-name{margin-bottom:0}@media(max-width:360px){.brand{font-size:1rem;gap:6px}.top-actions{gap:2px}}
.day-nav{display:block;position:relative}.day-titles{padding:0 46px}.day-nav .nav-button{position:absolute;top:50%;transform:translateY(-50%)}#prevDay{left:0}#nextDay{right:0}#date{width:calc(100% + 92px);margin-left:-46px;font-size:clamp(.86rem,3.6vw,1rem);white-space:nowrap;line-height:1.35}.time-value{display:flex;align-items:baseline;justify-content:center;gap:.4rem;flex-wrap:wrap}.time-period{font-size:clamp(.95rem,3.5vw,1.18rem);font-weight:700;letter-spacing:0;color:#42637d}
.location-notice{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:13px;background:#fff8f7;border-color:#efcbc7;box-shadow:0 8px 24px #773c3210;padding:16px 18px}.notice-icon{width:29px;height:29px;display:block;color:#b33c35;border:0;clip-path:none;padding:0}.notice-copy{min-width:0}.location-notice strong{display:block;color:#8e302b;font-size:.94rem}.location-notice p{margin:4px 0 0;line-height:1.35}.switch-button{align-self:center;min-width:65px;padding:10px 14px}@media(max-width:400px){.location-notice{grid-template-columns:26px minmax(0,1fr) auto;gap:8px;padding:13px 11px}.notice-icon{width:25px;height:25px}.switch-button{min-width:55px;padding:9px 10px}.location-notice strong{font-size:.86rem}}

/* The glass collection card shows both the organic bag and a reusable glass carrier. */
.collection-figures{display:flex;align-items:flex-start;justify-content:center;gap:8px;width:100%;margin:1px 0 14px}
.collection-item{display:flex;flex:1 1 0;min-width:0;max-width:155px;align-items:center;flex-direction:column;text-align:center}
.collection-figures .bag-figure{width:100%;height:145px;margin:0}
.collection-figures .bag-figure svg,.collection-figures .bag-figure img{display:block;width:100%;max-width:135px;height:145px;object-fit:contain;filter:drop-shadow(0 9px 7px #152d4220)}
.collection-item-label{font-size:clamp(.78rem,3.7vw,1rem);font-weight:750;line-height:1.2;color:#123453}

/* Optional current-location mode */
.location-mode-bar{align-self:center;display:flex;align-items:center;gap:8px;margin-top:10px;padding:7px 10px;border-radius:999px;background:#e7f3fb;color:#245c82;font-size:.76rem;line-height:1.2}
.location-mode-bar button{border:0;background:transparent;color:#126db2;font:inherit;font-weight:800;padding:2px 4px;text-decoration:underline;text-underline-offset:2px}
.location-behaviour{border:1px solid #dce7ef;border-radius:13px;padding:12px;margin:2px 0 18px;background:#f9fcfe}
.behaviour-title{display:block;font-size:.85rem;font-weight:800;margin:0 0 9px;color:#345b77}
.behaviour-option{display:flex!important;align-items:flex-start;gap:10px;padding:9px 7px;margin:0!important;border-radius:9px;cursor:pointer}
.behaviour-option:hover{background:#eef6fb}
.behaviour-option input{width:18px!important;height:18px!important;margin:2px 0 0;flex:none}
.behaviour-option span{display:block;min-width:0}
.behaviour-option strong{display:block;font-size:.9rem;color:#173f5c}
.behaviour-option small{display:block;margin-top:2px;color:#688297;font-size:.76rem;line-height:1.35}

/* Remotely configurable support strip. Entire row is one large tap target. */
.donation-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:15px 0 0;padding:13px 15px;border:1px solid #d7e5ee;border-radius:14px;background:#fbfdff;color:#315a76;text-decoration:none;font-size:.83rem;line-height:1.4;box-shadow:0 5px 18px #12345308;transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease}
.donation-card:hover{transform:translateY(-1px);border-color:#aac7da;box-shadow:0 8px 22px #12345312}
.donation-card:active{transform:translateY(0)}
.donation-card #donationText{flex:1}
.donation-arrow{font-size:1.45rem;line-height:1;color:#447897;font-weight:700}


/* v13 mobile settings hardening: keep the dialog usable when the virtual keyboard changes the viewport. */
@media (max-width: 600px), (pointer: coarse) {
  .overlay {
    align-items:flex-start;
    overflow-y:auto;
    padding:max(10px, env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom));
  }
  .settings {
    width:100%;
    max-height:none;
    margin:8px 0 16px;
    padding:22px 18px;
    overflow:visible;
  }
  .settings h2 {font-size:1.72rem;}
  .location-behaviour {padding:10px;margin-bottom:16px;}
  .behaviour-option {
    display:grid!important;
    grid-template-columns:22px minmax(0,1fr);
    align-items:start;
    gap:10px;
    padding:10px 6px;
  }
  .behaviour-option input {
    width:18px!important;
    height:18px!important;
    margin:2px 0 0!important;
    padding:0!important;
  }
  .behaviour-option strong,.behaviour-option small {text-align:left;}
  #localitySearch {font-size:16px;}
}

/* v14: one direct, unobtrusive support link below the timetable. */
.donation-card{min-height:64px;padding:12px 14px;gap:10px}
.donation-copy{flex:1;min-width:0}
.donation-copy #donationText{display:block;font-weight:650;font-size:.85rem}
.donation-copy small{display:block;margin-top:3px;color:#617c91;font-size:.74rem;line-height:1.35}
.donation-button{flex:none;padding:10px 12px;border-radius:10px;background:#123453;color:#fff;font-size:.8rem;font-weight:750;text-align:center;max-width:45%;overflow-wrap:anywhere}
@media(max-width:360px){.donation-card{padding:11px;gap:8px}.donation-button{padding:10px;font-size:.76rem}}

/* v15: optional support panel and per-device visibility preference. */
button.donation-card{width:100%;font-family:inherit;text-align:left;cursor:pointer}
.support-modal{max-height:calc(100dvh - 40px);overflow-y:auto}
.support-modal h2{margin-bottom:12px}
.support-modal p{line-height:1.5}
.support-check{display:flex!important;align-items:flex-start;gap:10px;text-align:left;font-size:.88rem;line-height:1.45;cursor:pointer}
.support-check input{width:18px!important;height:18px!important;flex:none;margin:2px 0 0!important;padding:0!important;accent-color:#123453}
.support-setting{padding:12px 0;border-top:1px solid #dce6ed}
.support-setting small,.support-payment small{display:block;margin-top:8px;line-height:1.45;color:#617c91;font-size:.78rem}
.support-payment{border-top:1px solid #dce6ed;margin-top:18px;padding-top:4px}
#coffeeButton{width:100%;margin-top:16px;min-height:46px}
#coffeeButton:disabled{opacity:.45;cursor:not-allowed}
#dismissSupport{width:100%;margin-top:18px;min-height:44px}
.support-modal button:focus-visible,.support-check input:focus-visible,button.donation-card:focus-visible{outline:3px solid #258ebd;outline-offset:3px}

/* v16: a deliberate arithmetic step before opening checkout. */
.support-math{margin-top:16px}
.support-math p{font-size:.86rem;color:#375a73;margin:0 0 10px}
.support-sum{display:flex;align-items:center;justify-content:center;gap:10px;font-size:1.2rem;font-weight:750}
.sum-number,.support-sum input{width:54px!important;height:48px!important;text-align:center;padding:0!important;border:1px solid #b9cddb;border-radius:10px;background:#eff5fa;display:grid;place-items:center;font-size:1.2rem!important}
.support-sum input{background:#fff}
.support-sum input[aria-invalid="true"]{border-color:#a63b32}
#supportMathStatus{min-height:1.5em}
@media(max-width:360px){.support-sum{gap:7px}.sum-number,.support-sum input{width:46px!important}}

/* v18: settings grouped by purpose, with locality saving scoped to its section. */
.organised-settings .settings-section{border:1px solid #dce7ef;border-radius:15px;padding:16px;margin-top:16px;background:#fbfdff}
.organised-settings h3{font-size:1rem;line-height:1.3;margin:0 0 8px;color:#123453;letter-spacing:-.015em}
.organised-settings .section-help{font-size:.8rem;font-weight:400;color:#617c91;line-height:1.45;margin:0 0 12px}
.organised-settings .saved-home{font-size:.88rem;font-weight:750;padding:10px 12px;background:#e8f2fa;border-radius:9px;margin:12px 0}
.organised-settings .gps-status{font-size:.8rem;min-height:0;margin:10px 0 14px}
.organised-settings .locality-list{max-height:170px;background:white}
.organised-settings .home-save{width:100%;min-height:44px;margin-top:12px}
.organised-settings .settings-note{margin-top:9px}
.organised-settings .location-behaviour{border:0;background:transparent;margin:0;padding:0}
.organised-settings .behaviour-option{margin:0;padding:10px 0}
.organised-settings .behaviour-option+.behaviour-option{border-top:1px solid #e3ecf3}
.organised-settings .support-check{margin:12px 0 8px;font-weight:650}
.organised-settings .section-help:last-child{margin-bottom:0}
.organised-settings .settings-done{width:100%;min-height:44px;margin-top:18px}
@media(max-width:440px){.organised-settings .settings-section{padding:13px}.organised-settings .saved-home{overflow-wrap:anywhere}}

/* v21: one compact native home-locality picker; choices save immediately. */
#homeLocalitySelect{width:100%;min-height:46px;font:inherit;font-size:16px;color:#123453;background:#fff;border:1px solid #b9cddb;border-radius:10px;padding:10px 12px;cursor:pointer}
#homeLocalitySelect:focus-visible{outline:3px solid #2782d0;outline-offset:3px}

/* v22: a short coffee invitation, sum, and optional hide control at the bottom. */
.coffee-invitation{display:flex;align-items:center;justify-content:center;gap:10px;font-weight:650;font-size:1.08rem;margin:18px 0}
.coffee-cup{width:38px;height:38px;flex:none;color:#76522d}
.support-modal .support-hide-bottom{margin:20px 0 0;padding-top:15px;border-top:1px solid #e3ecf3;font-size:.82rem;font-weight:500}
.support-modal .support-math p{text-align:center}
.support-modal #supportMathStatus{display:block;text-align:center;color:#617c91;font-size:.78rem;min-height:1.5em;margin-top:8px}

/* v23: four intentional tip choices, enabled only after solving the sum. */
.tip-amounts{display:flex;align-items:center;justify-content:center;gap:12px;margin:15px 0 0}
.tip-circle{width:58px;height:58px;border-radius:50%;border:0;background:#126db2;color:#fff;font-size:1.06rem;font-weight:750;flex:none;padding:0;transition:background .15s}
.tip-circle:disabled{background:#e2e7ec;color:#8a99a6;cursor:not-allowed}
.tip-circle:not(:disabled):hover{background:#0e568e}
.tip-circle:focus-visible{outline:3px solid #258ebd;outline-offset:3px}
.tip-thanks{text-align:center;font-size:.88rem;color:#617c91;margin:12px 0 0}
@media(max-width:360px){.tip-amounts{gap:9px}.tip-circle{width:50px;height:50px;font-size:.98rem}}

/* v27: introductory splash, with a quiet entrance and fade to the app. */
.splash-screen{position:fixed;inset:0;z-index:100;width:100%;height:100%;border:7px solid #7fbddd;margin:0;padding:32px 24px;background:radial-gradient(ellipse at 50% 35%,#234e6e 0,#102e48 55%,#081b2d 100%);color:#f6fbff;box-shadow:inset 0 0 0 2px #ffffff30,inset 0 0 60px #00000035;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;opacity:1;transition:opacity .6s cubic-bezier(.4,0,.2,1),transform .6s cubic-bezier(.4,0,.2,1),filter .6s ease;cursor:pointer;-webkit-tap-highlight-color:transparent}
.splash-screen.splash-leaving{opacity:0;transform:scale(1.025);filter:blur(3px)}
.splash-content{display:flex;flex-direction:column;align-items:center;max-width:460px;animation:splash-rise .45s ease both}
.splash-bags{display:flex;align-items:flex-end;justify-content:center;gap:5px;margin-bottom:32px}
.splash-bag{width:clamp(70px,22vw,100px);height:auto;filter:drop-shadow(0 9px 8px #00000050);animation:splash-bag-in .6s cubic-bezier(.2,.8,.2,1) both}
.splash-bag-black{animation-delay:.08s}.splash-bag-grey{animation-delay:.16s}
.splash-question{font-size:clamp(2rem,8vw,2.9rem);font-weight:800;letter-spacing:-.045em;line-height:1.18}
.splash-description{font-size:clamp(1.2rem,5vw,1.55rem);font-weight:600;line-height:1.35;color:#d3e5f2;margin-top:17px;max-width:310px}
.splash-brand{font-size:1rem;font-weight:750;margin-top:34px;letter-spacing:-.02em}
.splash-version{font-size:.8rem;font-variant-numeric:tabular-nums;color:#b4d7eb;margin-top:9px}
.splash-hint{position:absolute;bottom:calc(25px + env(safe-area-inset-bottom));font-size:.75rem;color:#b4cddd}
@keyframes splash-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes splash-bag-in{from{opacity:0;transform:translateY(15px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-height:500px){.splash-bags{margin-bottom:12px}.splash-bag{width:60px}.splash-question{font-size:1.9rem}.splash-description{font-size:1.1rem;margin-top:10px}.splash-brand{margin-top:14px}.splash-hint{bottom:10px}}
@media(prefers-reduced-motion:reduce){.splash-content,.splash-bag{animation:none}.splash-screen{transition:none}.splash-screen.splash-leaving{transform:none;filter:none}}

/* v28: illustrated bags and accessible sorting guide. */
.bag-button{border:0;background:transparent;padding:0;border-radius:18px;cursor:pointer;transition:transform .18s ease,background .18s ease}
.bag-button:hover{background:#eef6fa;transform:translateY(-3px)}.bag-button:active{transform:scale(.96)}
.bag-button img{display:block;width:150px;height:165px;object-fit:contain;filter:drop-shadow(0 6px 5px #152d4214)}
.bag-figure.bag-button{height:168px;width:150px;margin-bottom:4px}
.collection-figures .bag-figure.bag-button{height:155px;width:100%}
.collection-figures .bag-button img{height:155px;max-width:135px}
.bag-tap-hint{margin:9px 0 15px;color:#54738e;font-size:.76rem}
.splash-bag{width:clamp(82px,25vw,118px)}.splash-bags{gap:0;margin-bottom:23px}
.waste-overlay{z-index:20;background:#08263b9c;backdrop-filter:blur(4px);animation:waste-backdrop-in .2s ease both}
.waste-dialog{display:flex;flex-direction:column;background:#fff;width:min(100%,480px);max-height:min(88dvh,730px);border:1px solid #dbe8ee;border-radius:25px;overflow:hidden;box-shadow:0 26px 80px #001c3450;animation:waste-panel-in .25s cubic-bezier(.2,.8,.2,1) both}
.waste-head{display:flex;align-items:center;gap:13px;padding:17px 20px;background:#f4f8fb;border-bottom:1px solid #e0eaf0;flex-shrink:0}
.waste-preview{width:57px;flex:none}.waste-preview img{display:block;width:57px;height:68px;object-fit:contain}
.waste-heading{flex:1;min-width:0}.waste-heading .small-label{font-size:.66rem;letter-spacing:.06em}.waste-heading h2{font-size:1.3rem;letter-spacing:-.035em;line-height:1.15;margin:6px 0 0}
.waste-head .close-button{width:42px;height:42px;flex:none;border:1px solid #d6e3eb;background:#fff}
.waste-scroll{overflow-y:auto;overscroll-behavior:contain;padding:20px 24px 24px;-webkit-overflow-scrolling:touch;min-height:0}
.waste-summary{font-size:1.03rem;color:#214961;line-height:1.4;margin:0 0 12px;font-weight:650}
.waste-note{border-radius:11px;background:#eaf5ef;color:#38664d;font-size:.87rem;line-height:1.45;padding:11px 13px;margin:0 0 23px}
.waste-list-label{text-transform:uppercase;letter-spacing:.08em;font-size:.69rem;font-weight:800;color:#617b8e;margin:0 0 12px}
.waste-items section{padding:0 0 13px;margin:0 0 13px;border-bottom:1px solid #e7eef3}
.waste-items h3,.waste-exclusions h3{font-size:.95rem;margin:0 0 10px;font-weight:800}
.waste-items ul{list-style:none;padding:0;margin:0;display:grid;gap:9px}
.waste-items li{position:relative;padding-left:24px;font-size:.93rem;line-height:1.5;color:#375a71}
.waste-items li::before{content:'✓';position:absolute;left:0;top:0;color:#448362;font-weight:800}
.waste-exclusions{border-radius:12px;background:#fff4ee;padding:13px 15px;color:#89523b;margin:5px 0 19px}
.waste-exclusions p{font-size:.87rem;line-height:1.5;margin:0}
.waste-source{font-size:.85rem;font-weight:750;color:#216390;text-decoration:none}.waste-source:hover{text-decoration:underline}
.waste-checked{font-size:.7rem;color:#7890a1;margin:8px 0 0}
.waste-closing{animation:waste-backdrop-out .15s ease both}.waste-closing .waste-dialog{animation:waste-panel-out .15s ease both}
@keyframes waste-backdrop-in{from{opacity:0}to{opacity:1}}@keyframes waste-panel-in{from{opacity:0;transform:translateY(20px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes waste-backdrop-out{to{opacity:0}}@keyframes waste-panel-out{to{opacity:0;transform:translateY(9px) scale(.985)}}
@media(prefers-reduced-motion:reduce){.waste-overlay,.waste-dialog,.waste-closing,.waste-closing .waste-dialog{animation:none}.bag-button{transition:none}}
@media(max-width:360px){.waste-head{padding:14px 15px;gap:9px}.waste-scroll{padding:17px 19px}.waste-heading h2{font-size:1.15rem}}
/* v32: a viewport-sized homepage; details belong in the dialogs. */
html,body{height:100%;overflow:hidden}
#appContent{height:var(--app-height,100dvh)}
.app{height:var(--app-height,100dvh);min-height:0;max-height:var(--app-height,100dvh);padding:calc(10px + env(safe-area-inset-top)) 18px calc(12px + env(safe-area-inset-bottom));gap:10px}
.topbar{height:44px;min-height:44px;flex-shrink:0}.brand{font-size:1.08rem}.brand-mark{width:29px;height:29px}.icon-button{width:40px;height:40px}
.dashboard{min-height:0;flex:1;padding:0;gap:10px}
.overview-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;text-align:left;min-height:32px;flex-shrink:0}
.locality-heading{display:flex;align-items:center;gap:5px;min-width:0}
#title{font-size:1.1rem;line-height:1.25;letter-spacing:-.03em;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;min-width:0}
.mode-chip{border:0;border-radius:7px;background:#dceaf3;color:#436984;font-size:.63rem;font-weight:750;padding:5px 6px;flex:none;line-height:1.1}
.mode-chip[data-mode=auto]{background:#d9eee4;color:#376b51}
.mode-chip[data-mode=away]{background:#fff0d9;color:#866534}
#date{width:auto;margin:0;font-size:.72rem;line-height:1.3;white-space:nowrap;color:#58738a}
.today-pill{align-self:auto;margin:0;font-size:.61rem;line-height:1.2;padding:5px 7px;letter-spacing:.025em;background:#d7eafa;color:#215679;white-space:nowrap}
.collection-stage{position:relative;display:flex;flex:1;min-height:0}
.bag-area{flex:1;width:100%;height:100%;margin:0;min-height:0}
.collection-card{height:100%;min-height:0;max-height:100%;width:100%;padding:12px 20px 10px;border-radius:23px;overflow:visible;animation:none}
.collection-figures{flex:1;display:flex;align-items:stretch;justify-content:center;gap:8px;width:100%;min-height:0;margin:0}
.collection-item{min-height:0;max-width:210px;justify-content:center;flex:1 1 0}
.bag-figure.bag-button,.collection-figures .bag-figure.bag-button{position:relative;width:100%;height:auto;flex:1;min-height:0;max-height:min(300px,48dvh);margin:0;display:flex;align-items:center;justify-content:center;overflow:visible}
.bag-button img,.collection-figures .bag-button img{display:block;width:100%;height:100%;max-height:100%;max-width:185px;min-height:0;object-fit:contain;filter:drop-shadow(0 4px 4px #152d4214)}
.collection-item-label{flex:none;font-size:clamp(.8rem,3.3vw,1rem);line-height:1.25;padding:6px 0 10px;font-weight:750}
.bag-info-badge,.info-circle{display:inline-grid;place-items:center;flex:none;font-family:Georgia,serif;font-weight:700;border:1.6px solid #5d8199;border-radius:50%;color:#426a85;background:#f9fcfe;line-height:1;font-style:normal}
.bag-info-badge{position:absolute;right:3%;top:28%;width:23px;height:23px;font-size:.9rem;box-shadow:0 2px 7px #12345315}
.compact-time-line{display:flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;width:100%;padding:11px 0 2px;border-top:1px solid #e5edf4;white-space:nowrap}
.collection-time-button{border:0;background:transparent;display:flex;align-items:center;gap:6px;color:#153b58;padding:3px 0;border-radius:7px;white-space:nowrap}
.collection-time-button>svg{width:18px;height:18px;stroke:#608299;stroke-width:1.8;fill:none;flex:none}
.collection-time-button>span:first-of-type{font-size:1.6rem;font-weight:800;line-height:1;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.collection-time-button small{font-size:.65rem;font-weight:750;letter-spacing:0;margin-left:4px}
.info-circle{width:18px;height:18px;font-size:.74rem}
.time-divider{font-size:1rem;color:#8aa1b2}
.earliest-time{font-size:.9rem;color:#365c76;font-weight:750;font-variant-numeric:tabular-nums}
.earliest-time small{font-size:.6rem;margin-left:3px}.earliest-label{font-size:.65rem;font-weight:500;color:#698295;margin-right:3px}
.card-prev,.card-next{position:absolute;top:45%;width:30px;height:38px;border-radius:10px;font-size:1.7rem;background:#f0f6fbdd;box-shadow:none;border:1px solid #dae7f0;transform:translateY(-50%);z-index:1}
.card-prev{left:-10px}.card-next{right:-10px}.card-prev:disabled,.card-next:disabled{opacity:.2}
.location-notice{min-height:0;flex:none;padding:8px 10px;margin:0;align-items:center;gap:8px;border-radius:12px}
.location-notice .notice-icon{width:20px;height:20px;flex:none;border:0;padding:0;clip-path:none}
.notice-copy{flex:1;min-width:0}.location-notice strong{display:block;font-size:.75rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.switch-button{font-size:.72rem;padding:7px 10px}
.donation-card{flex:none;min-height:0;margin:0;padding:10px 12px;border-radius:16px;gap:10px}
.donation-copy{min-width:0}.donation-copy #donationText{font-size:.84rem;line-height:1.25}.donation-copy #donationDetail{font-size:.69rem;line-height:1.3;margin-top:3px}.donation-button{font-size:.78rem;padding:9px 12px;border-radius:10px;white-space:nowrap}
.settings-credit{font-size:.73rem;color:#7890a1;text-align:center;margin:22px 0 12px}
.time-info-dialog{max-width:430px}.time-info-dialog .waste-head{justify-content:space-between;gap:10px}.time-info-dialog h2{font-size:1.15rem;letter-spacing:-.03em;margin:0}.time-info-dialog .waste-scroll p{font-size:.9rem;line-height:1.55;color:#45687f}.time-info-dialog .waste-scroll .waste-summary{font-weight:750}
.swipe-nudge{animation:card-nudge .7s ease-in-out both}
@keyframes card-nudge{0%,100%{transform:translateX(0)}25%{transform:translateX(-4px)}65%{transform:translateX(4px)}}
@media(max-width:360px){.app{padding-left:14px;padding-right:14px;gap:8px}.dashboard{gap:8px}.overview-line{gap:5px}#title{font-size:1rem}.mode-chip{font-size:.58rem;padding:4px}#date{font-size:.68rem}.today-pill{font-size:.58rem;padding:4px 5px}.collection-card{padding:9px 14px}.compact-time-line{gap:5px}.collection-time-button{gap:4px}.collection-time-button>span:first-of-type{font-size:1.4rem}.collection-time-button>svg{width:15px;height:15px}.earliest-time{font-size:.8rem}.earliest-label{font-size:.6rem}.bag-info-badge{width:21px;height:21px;font-size:.82rem}}
@media(max-height:550px){.app{gap:7px;padding-top:calc(6px + env(safe-area-inset-top));padding-bottom:calc(7px + env(safe-area-inset-bottom))}.dashboard{gap:7px}.topbar{height:38px;min-height:38px}.icon-button{height:36px;width:36px}.overview-line{min-height:27px}.collection-card{padding-top:6px;padding-bottom:7px}.collection-item-label{font-size:.78rem;padding:3px 0 6px}.compact-time-line{padding-top:7px}.donation-card{padding:8px 11px}.donation-copy #donationDetail{font-size:.62rem}.bag-info-badge{width:20px;height:20px;font-size:.77rem}}
@media(max-height:360px){.topbar{height:30px;min-height:30px}.brand{font-size:.92rem}.brand-mark{width:24px;height:24px}.icon-button{width:29px;height:29px}.app,.dashboard{gap:5px}.overview-line{min-height:23px}.collection-item-label{font-size:.7rem;padding-bottom:4px}.compact-time-line{padding-top:5px}.collection-time-button>span:first-of-type{font-size:1.25rem}.collection-time-button>svg{width:15px;height:15px}.donation-copy #donationDetail{display:none}.donation-card{padding:5px 10px}.donation-button{padding:6px 10px}.location-notice{padding:4px 8px}}
@media(prefers-reduced-motion:reduce){.swipe-nudge{animation:none}.bag-button:hover,.bag-button:active{transform:none}}
/* v33: compact picture groups and direct manipulation. */
.overview-line{gap:9px;min-height:39px}
#title{font-size:clamp(1.2rem,5.2vw,1.55rem)}
.mode-chip{font-size:clamp(.73rem,2.9vw,.86rem);padding:6px 7px}
#date{font-size:clamp(.85rem,3.4vw,1rem)}
.today-pill{font-size:clamp(.76rem,3vw,.9rem);padding:6px 8px}
.collection-stage{overflow:hidden;border-radius:23px;touch-action:none}
.bag-area{will-change:transform}
.collection-card{overflow:hidden}
.collection-item{justify-content:center;gap:0}
.bag-figure.bag-button,.collection-figures .bag-figure.bag-button{flex:0 1 auto;height:min(230px,32dvh);max-height:calc(100% - 54px);min-height:0;aspect-ratio:1/1.1;align-self:center}
.bag-button img,.collection-figures .bag-button img{max-width:210px;height:100%;object-fit:contain}
.bag-click-hint{font-size:clamp(.72rem,2.9vw,.86rem);color:#59778d;line-height:1.3;flex:none;margin:5px 0 3px}
.collection-item-label{padding:0 0 5px;font-size:clamp(.85rem,3.7vw,1.1rem);line-height:1.25}
.tap-hand{position:absolute;bottom:13%;left:58%;width:36px;height:43px;opacity:0;pointer-events:none;filter:drop-shadow(0 3px 3px #12345330);transform:translateY(16px) rotate(-12deg)}
.tap-hand svg{width:100%;height:100%}
.tap-demo .bag-button img{animation:bag-jiggle 1.3s ease both}
.tap-demo .collection-item:first-child .tap-hand{animation:hand-tap 1.8s ease both}
@keyframes bag-jiggle{0%,100%{transform:rotate(0)}25%{transform:rotate(-3deg)}45%{transform:rotate(3deg)}65%{transform:rotate(-2deg)}80%{transform:rotate(1deg)}}
@keyframes hand-tap{0%{opacity:0;transform:translateY(16px) rotate(-12deg)}20%,45%{opacity:1;transform:translateY(0) rotate(-12deg)}32%,60%{opacity:1;transform:translateY(-6px) scale(.92) rotate(-12deg)}75%{opacity:1;transform:translateY(0) rotate(-12deg)}100%{opacity:0;transform:translateY(12px) rotate(-12deg)}}
.settings-pull{position:fixed;left:50%;top:0;z-index:4;display:flex;gap:9px;align-items:center;padding:12px 24px;background:#123453;color:white;box-shadow:0 8px 25px #12345330;border-radius:0 0 19px 19px;font-size:.9rem;font-weight:750;transform:translate(-50%,-45px);opacity:0;pointer-events:none;transition:background .15s}
.settings-pull span{font-size:1.4rem}.settings-pull.pull-ready{background:#126db2}
#settingsOverlay{overflow:hidden;align-items:flex-start;overscroll-behavior:none;padding:12px}
#settingsDialog{max-height:calc(var(--app-height,100dvh) - 24px);overflow-y:auto;overscroll-behavior:none;margin:0 auto;padding-top:12px;will-change:transform;-webkit-overflow-scrolling:touch}
.settings-grip{width:42px;height:5px;border-radius:9px;background:#bccedb;margin:0 auto 14px}
@media(max-width:360px){.overview-line{gap:5px}#title{font-size:1.2rem}.mode-chip{font-size:.68rem;padding:5px}#date{font-size:.8rem}.today-pill{font-size:.7rem;padding:5px}.collection-item-label{font-size:.84rem}.bag-click-hint{font-size:.7rem}}
@media(max-height:550px){.overview-line{min-height:32px}.bag-figure.bag-button,.collection-figures .bag-figure.bag-button{height:min(200px,30dvh)}.bag-click-hint{margin:2px 0;font-size:.69rem}.collection-item-label{font-size:.8rem;padding-bottom:3px}}
@media(max-height:360px){.overview-line{min-height:27px}#title{font-size:1.15rem}.bag-figure.bag-button,.collection-figures .bag-figure.bag-button{height:24dvh}.bag-click-hint{font-size:.61rem;margin:1px 0}.collection-item-label{font-size:.7rem}.collection-card{padding-top:3px}.tap-hand{width:24px;height:29px}}
@media(prefers-reduced-motion:reduce){.tap-demo .bag-button img,.tap-demo .tap-hand{animation:none}.settings-pull{transition:none}}
@media(min-height:551px){.bag-figure.bag-button,.collection-figures .bag-figure.bag-button{height:min(230px,32dvh,calc((100vw - 90px)*.56));width:min(100%,210px)}.collection-item:only-child .bag-figure.bag-button{height:min(230px,32dvh)}}
.dashboard{touch-action:none}
/* v34: monthly support invitation and slide-to-confirm checkout. */
#supportOverlay{align-items:center;overflow:hidden;padding:16px;background:#08263b9c;backdrop-filter:blur(4px);animation:waste-backdrop-in .2s ease both}
#supportDialog{max-height:calc(var(--app-height,100dvh) - 32px);overflow-y:auto;overscroll-behavior:contain;margin:0;width:min(100%,460px);padding:24px;border-radius:25px;animation:waste-panel-in .25s cubic-bezier(.2,.8,.2,1) both}
#supportDialog h2{font-size:clamp(1.65rem,6vw,2rem);line-height:1.18;margin:17px 0 12px}
#supportDialog .coffee-invitation{margin:18px 0;font-size:1.1rem}
.tip-amounts{gap:14px;margin:26px 0 0}.tip-circle{width:64px;height:64px;font-size:1.15rem;box-shadow:0 5px 14px #126db225}
.tip-circle:not(:disabled):active{transform:scale(.96)}
#dismissSupport,#cancelDonation{width:100%;min-height:46px;margin-top:22px;border-radius:12px}
.donation-confirm-amount{font-size:1.7rem;font-weight:800;color:#123453;text-align:center;margin:22px 0 8px}
.donation-confirm-note{font-size:.88rem;line-height:1.45;color:#617c91;text-align:center;margin:0 0 20px}
.donation-slider{--slider-x:0px;--slider-progress:0%;position:relative;height:66px;border-radius:999px;background:#e7eff5;border:1px solid #d5e2ec;box-shadow:inset 0 2px 5px #1234530b;overflow:hidden;user-select:none;-webkit-user-select:none;touch-action:none;cursor:grab}
.slider-fill{position:absolute;inset:0 auto 0 0;width:var(--slider-progress);background:#d0e8dc;transition:width .24s ease}
.slider-thumb{position:absolute;left:6px;top:6px;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#123453;color:white;box-shadow:0 3px 10px #12345330;transform:translateX(var(--slider-x));transition:transform .24s cubic-bezier(.2,.8,.2,1),background .2s}
.slider-thumb svg{width:23px;height:23px;pointer-events:none}
.slider-label{position:absolute;inset:0 10px 0 62px;display:flex;align-items:center;justify-content:center;color:#48677e;font-size:clamp(.76rem,3.1vw,.94rem);font-weight:650;pointer-events:none}
.slider-ready .slider-thumb{background:#28714e}.slider-dragging{cursor:grabbing}.slider-dragging .slider-thumb,.slider-dragging .slider-fill{transition:none}
.slider-status{font-size:.75rem;text-align:center;color:#47708a;line-height:1.4;min-height:1.4em;margin:10px 0 0}
#supportConfirm:not([hidden]){animation:support-confirm-in .2s ease both}
@keyframes support-confirm-in{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.organised-settings .support-preference-help{margin-top:12px}.organised-settings #supportHiddenUntil{font-weight:650;color:#375a73;margin-top:8px}
@media(max-width:360px){#supportDialog{padding:20px 17px}.tip-amounts{gap:10px}.tip-circle{width:53px;height:53px;font-size:1rem}}
@media(max-height:480px){#supportDialog{padding:16px 20px}#supportDialog h2{margin:8px 0;font-size:1.5rem}#supportDialog .coffee-invitation{margin:10px 0}.tip-amounts{margin-top:14px}.donation-confirm-amount{margin-top:10px}.donation-confirm-note{margin-bottom:12px}#dismissSupport,#cancelDonation{margin-top:12px}}
@media(prefers-reduced-motion:reduce){#supportOverlay,#supportDialog,#supportConfirm:not([hidden]){animation:none}.slider-thumb,.slider-fill{transition:none}}

/* v35: centred cross icons and single-line support heading. */
.close-button{padding:0;line-height:1;flex:none}
.close-button svg{display:block;width:20px;height:20px}
.support-brand{display:inline-flex;align-items:center;gap:8px}
.support-brand svg{display:block;width:24px;height:24px;flex:none}
#supportDialog{container-type:inline-size}
#supportDialog h2{white-space:nowrap;font-size:clamp(13px,5.4cqw,24px);letter-spacing:-.04em;line-height:1.25}


/* v36: original ZejtunSoft artwork and centred support heading. */
#supportDialog h2{text-align:center}
.support-brand{gap:9px;font-size:.85rem;letter-spacing:.04em}
.support-brand-logo{position:relative;display:block;width:34px;height:34px;border-radius:10px;overflow:hidden;flex:none;background:#001641}
.support-brand-logo img{position:absolute;display:block;width:200%;height:200%;max-width:none;left:-50%;top:-34%;object-fit:fill}

/* v37: a clear day heading and an explicit put-out window. */
.overview-line{grid-template-columns:minmax(0,1fr)}
.collection-date{position:absolute;top:22px;left:18px;right:18px;z-index:1;display:flex;flex-direction:column;align-items:center;gap:5px;pointer-events:none;text-align:center}
.collection-date .today-pill{background:transparent;padding:0;color:#153b58;font-size:clamp(1.45rem,6vw,1.9rem);font-weight:800;letter-spacing:-.03em;line-height:1.15}
.collection-date #date{font-size:clamp(.95rem,3.8vw,1.15rem);white-space:normal;line-height:1.3;color:#58738a}
.collection-card{padding-top:96px;padding-bottom:16px}
.collection-timing{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;flex:none;border-top:1px solid #e5edf4;padding-top:15px;text-align:center}
.put-out-instruction{display:flex;flex-direction:column;gap:5px;width:100%;padding:12px 5px;border-radius:13px;background:#edf5fb;color:#153b58}
.put-out-instruction>span{font-size:.88rem;color:#45687f;font-weight:600}
.put-out-instruction>strong{font-size:clamp(.87rem,3.6vw,1.1rem);line-height:1.5;font-weight:750}
.time-value{white-space:nowrap;font-variant-numeric:tabular-nums}
.put-out-instruction small{font-size:.78em;margin-left:3px}
.collection-timing .collection-time-button{padding:5px 3px;gap:7px;max-width:100%;white-space:normal}
.collection-timing .collection-start-label{font-size:clamp(.78rem,3.3vw,.98rem);font-weight:500;line-height:1.4;letter-spacing:0;color:#45687f}
.collection-start-label strong{font-weight:800;color:#153b58;white-space:nowrap;font-variant-numeric:tabular-nums}
.collection-start-label small{font-size:.8em;margin-left:3px}
.collection-timing .info-circle{width:21px;height:21px;font-size:.82rem}
.collection-timing .collection-time-button>svg{width:23px;height:23px;stroke:#456f8a}
@media(prefers-reduced-motion:no-preference){.collection-timing{animation:timing-appear .3s ease-out both}@keyframes timing-appear{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}}
@media(max-height:650px){.collection-date{top:11px;gap:3px}.collection-date .today-pill{font-size:1.25rem}.collection-date #date{font-size:.85rem}.collection-card{padding-top:66px;padding-bottom:8px}.collection-timing{padding-top:7px;gap:3px}.put-out-instruction{padding:6px 3px;gap:2px}.put-out-instruction>span{font-size:.75rem}.put-out-instruction>strong{font-size:.86rem}.collection-timing .collection-start-label{font-size:.76rem}.collection-timing .collection-time-button{padding:3px}.bag-figure.bag-button,.collection-figures .bag-figure.bag-button{height:min(140px,24dvh)}}
@media(max-height:360px){.collection-date{top:7px;gap:1px}.collection-date .today-pill{font-size:1rem}.collection-date #date{font-size:.75rem}.collection-card{padding-top:48px}.collection-timing{gap:1px;padding-top:3px}.put-out-instruction{padding:3px;gap:0}.put-out-instruction>span{font-size:.65rem}.put-out-instruction>strong{font-size:.75rem}.collection-timing .collection-start-label{font-size:.65rem}.collection-timing .collection-time-button>svg{width:17px;height:17px}.collection-timing .info-circle{width:17px;height:17px;font-size:.7rem}.bag-figure.bag-button,.collection-figures .bag-figure.bag-button{height:17dvh}}
.put-out-instruction .time-value{display:inline;white-space:nowrap}
.put-out-instruction .time-value{font-size:inherit;line-height:inherit;letter-spacing:0;margin:0;font-weight:800}
.collection-timing .collection-time-button>.collection-start-label{font-size:clamp(.78rem,3.3vw,.98rem);line-height:1.4;font-weight:500;letter-spacing:0}
@media(max-height:650px){.collection-timing .collection-time-button>.collection-start-label{font-size:.76rem}}
@media(max-height:360px){.collection-timing .collection-time-button>.collection-start-label{font-size:.65rem}}

/* v38: locality and date belong to the moving day card. */
.bag-area{position:relative}
.collection-card-body{height:100%;min-height:0}
.collection-date{top:20px;gap:7px}
.collection-date .locality-heading{justify-content:center;width:100%;pointer-events:auto;gap:7px;margin-bottom:2px}
.collection-date #title{font-size:clamp(1.15rem,5vw,1.5rem);line-height:1.3}
.collection-date .mode-chip{font-size:.75rem;padding:5px 7px}
.collection-card{padding-top:134px}
@media(max-height:650px){.collection-date{top:12px;gap:4px}.collection-date .locality-heading{margin-bottom:0}.collection-date #title{font-size:1.12rem}.collection-date .mode-chip{font-size:.67rem;padding:4px 5px}.collection-card{padding-top:98px}}
@media(max-height:360px){.collection-date{top:7px;gap:2px}.collection-date #title{font-size:.95rem}.collection-date .mode-chip{font-size:.6rem;padding:3px 4px}.collection-card{padding-top:74px}}

/* v39: user-selected increases from the v38 font sizes. */
.collection-date #title{font-size:clamp(1.4375rem,6.25vw,1.875rem)}
.collection-date .mode-chip{font-size:.825rem}
.collection-date .today-pill{font-size:clamp(1.595rem,6.6vw,2.09rem)}
.collection-date #date{font-size:clamp(1.045rem,4.18vw,1.265rem)}
.collection-card{padding-top:150px}
.put-out-instruction>span{font-size:.968rem}
.put-out-instruction>strong{font-size:clamp(1.0005rem,4.14vw,1.265rem)}
.collection-timing .collection-time-button>.collection-start-label{font-size:clamp(.858rem,3.63vw,1.078rem)}
.collection-timing .info-circle{width:23.1px;height:23.1px;font-size:.902rem}
@media(max-height:650px){.collection-date #title{font-size:1.4rem}.collection-date .mode-chip{font-size:.737rem}.collection-date .today-pill{font-size:1.375rem}.collection-date #date{font-size:.935rem}.collection-card{padding-top:111px}.put-out-instruction>span{font-size:.825rem}.put-out-instruction>strong{font-size:.989rem}.collection-timing .collection-time-button>.collection-start-label{font-size:.836rem}}
@media(max-height:360px){.collection-date #title{font-size:1.1875rem}.collection-date .mode-chip{font-size:.66rem}.collection-date .today-pill{font-size:1.1rem}.collection-date #date{font-size:.825rem}.collection-card{padding-top:85px}.put-out-instruction>span{font-size:.715rem}.put-out-instruction>strong{font-size:.8625rem}.collection-timing .collection-time-button>.collection-start-label{font-size:.715rem}.collection-timing .info-circle{width:18.7px;height:18.7px;font-size:.77rem}}

/* v41: larger locality names, fitted to the available heading width. */
.collection-date #title{font-size:clamp(1.796875rem,7.8125vw,2.34375rem)}
.collection-card{padding-top:160px}
@media(max-height:650px){.collection-date #title{font-size:1.75rem}.collection-card{padding-top:119px}}
@media(max-height:360px){.collection-date #title{font-size:1.484375rem}.collection-card{padding-top:91px}}

/* First-use welcome wizard */
.welcome-overlay{z-index:25;display:grid;place-items:center;padding:20px;background:#12345375;backdrop-filter:blur(8px);overflow:auto}
.welcome-dialog{width:min(100%,460px);max-height:calc(100dvh - 40px);overflow:auto;background:#fff;border-radius:28px;padding:28px;box-shadow:0 24px 80px #12345338}
.welcome-brand{font-weight:850;font-size:1.05rem}.welcome-brand>span{font-weight:500;color:#59738b}
.welcome-progress{display:flex;align-items:center;justify-content:space-between;margin:22px 0;color:#54738e;font-size:.8rem;font-weight:750}
.welcome-dots{display:flex;gap:7px}.welcome-dots i{width:8px;height:8px;border-radius:99px;background:#dceaf3;transition:background .2s,width .2s}.welcome-dots i.active{background:#126db2;width:24px}.welcome-dots i.done{background:#376b51}
.welcome-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:20px;background:#edf5fc;font-size:2rem;margin-bottom:18px;color:#376b51}
.welcome-dialog h2{font-size:1.8rem;line-height:1.13;letter-spacing:-.035em;margin:0 0 12px}.welcome-dialog p{line-height:1.55;color:#526b7e;margin:0 0 20px}
.welcome-field{display:block;font-size:.84rem;font-weight:750;margin:22px 0 8px}.welcome-dialog select{font:inherit;width:100%;padding:14px 12px;border:1px solid #cbdce9;border-radius:12px;background:#f6f9fc;color:#123453}
.welcome-dialog .welcome-help{font-size:.8rem;margin:14px 0;line-height:1.5}.welcome-help a,.welcome-link{color:#126db2}.welcome-link{border:0;background:transparent;padding:5px 0;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.welcome-navigation{display:flex;gap:12px;margin-top:26px}.welcome-primary,.welcome-secondary,.welcome-consent button{border:1px solid #126db2;border-radius:12px;padding:13px 18px;font-weight:750;min-height:48px}.welcome-primary{background:#126db2;color:#fff;flex:1}.welcome-primary:disabled{opacity:.4;cursor:default}.welcome-secondary{background:white;color:#126db2}
.welcome-modes{display:grid;gap:12px}.welcome-mode{display:flex;align-items:center;gap:14px;text-align:left;border:2px solid #e3edf5;border-radius:16px;padding:16px;background:#f9fbfd;color:#526b7e;font-size:.9rem;line-height:1.4}.welcome-mode[aria-pressed=true]{border-color:#126db2;background:#edf5fc}.welcome-mode .mode-chip{font-size:.825rem;padding:5px 7px}
.welcome-consent{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}.welcome-consent button{background:#edf5fc;color:#126db2}.welcome-dialog #welcomeReady{text-align:center}.welcome-dialog #welcomeReady .welcome-icon{margin:20px auto;background:#d9eee4}
@media(max-width:360px){.welcome-overlay{padding:12px}.welcome-dialog{padding:22px;max-height:calc(100dvh - 24px)}.welcome-dialog h2{font-size:1.6rem}.welcome-mode .mode-chip{font-size:.737rem}.welcome-consent button{padding:12px 8px;font-size:.88rem}}
@media(prefers-reduced-motion:reduce){.welcome-dots i{transition:none}}
.welcome-icon svg{width:30px;height:30px;fill:none;stroke:#436984;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-height:650px){.welcome-dialog{padding:20px}.welcome-progress{margin:14px 0}.welcome-icon{width:44px;height:44px;margin-bottom:12px;border-radius:14px}.welcome-icon svg{width:25px;height:25px}.welcome-dialog h2{font-size:1.45rem}.welcome-dialog p{font-size:.88rem;line-height:1.4;margin-bottom:14px}.welcome-dialog .welcome-help{font-size:.75rem;line-height:1.4;margin:12px 0}.welcome-navigation{margin-top:16px}.welcome-consent{margin-top:16px}.welcome-mode{padding:12px}.welcome-dialog #welcomeReady .welcome-icon{margin-top:12px}}
@media(max-height:600px){#welcomeStep3>.welcome-icon{display:none}}


/* A single date bar with a full-area calendar trigger. */
.collection-date{left:0;right:0;width:100%;padding:0 14px;pointer-events:none}
.day-navigation{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.8fr) minmax(0,1fr);align-items:stretch;gap:4px;margin-top:2px;padding:5px;background:#edf5fc;border:1px solid #dfebf4;border-radius:16px;pointer-events:auto}
.day-navigation .nav-button{position:static;transform:none;display:flex;align-items:center;justify-content:center;gap:4px;width:100%;min-width:0;min-height:50px;height:auto;padding:6px 3px;border:0;border-radius:11px;background:transparent;box-shadow:none;color:#245c82;font-size:.8rem;font-weight:750;line-height:1.2}
.day-navigation .nav-button>span[aria-hidden]{font-size:1.5rem}.day-navigation .nav-button:disabled{opacity:.38}
.date-button{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;border:0;border-radius:10px;padding:7px 3px;background:#ffffff75;color:#436984;min-height:50px;cursor:pointer}
.collection-date .date-button #date{display:block;min-width:0;width:auto;margin:0;font-size:1rem;line-height:1.35;white-space:normal;color:inherit;letter-spacing:0}
.date-button #date>span{display:block}.date-button svg{width:15px;height:15px;flex:none}
.day-navigation-moving .nav-button{visibility:hidden;pointer-events:none}.date-button:disabled{cursor:default}
.collection-card{padding-top:var(--day-card-heading-space,200px)}
@media(max-width:360px){.collection-date{padding:0 10px}.day-navigation{gap:2px;padding:4px}.day-navigation .nav-button{font-size:.69rem;gap:2px}.collection-date .date-button #date{font-size:.85rem}.date-button{gap:3px}.date-button svg{width:12px;height:12px}}
@media(max-height:650px){.collection-date .date-button #date{font-size:.9rem}}
@media(max-height:450px) and (min-width:600px){
  .collection-date{width:53%;right:auto;top:12px;padding:0 10px}.collection-date #title{font-size:1.6rem}.collection-date .today-pill{font-size:1.35rem}.collection-date .date-button #date{font-size:.8rem}.day-navigation .nav-button{font-size:.72rem}
  .collection-card{padding-top:10px}.collection-figures{width:44%;margin-left:auto}.collection-figures .bag-figure.bag-button{height:min(140px,35dvh)}
  .collection-card.no-collection{padding-left:53%}.collection-card.no-collection .rest-icon{font-size:3rem}
}
.calendar-overlay{z-index:20;background:#12345375;backdrop-filter:blur(6px)}
.calendar-dialog{width:min(100%,420px);max-height:calc(100dvh - 32px);overflow:auto;border-radius:24px;background:#fff;padding:24px;box-shadow:0 20px 70px #12345338}
.calendar-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.calendar-head h2{margin:0;font-size:1.4rem;letter-spacing:-.03em}.calendar-head .close-button{font-size:1.7rem}
#calendarHelp{color:#59738b;font-size:.88rem;line-height:1.5;margin:12px 0 20px}
.calendar-month-navigation{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 16px}.calendar-month-navigation h3{margin:0;font-size:1.1rem}.calendar-month-navigation button{border:0;border-radius:10px;background:#edf5fc;color:#245c82;width:44px;height:44px;font-size:1.6rem}.calendar-month-navigation button:disabled{opacity:.3}
.calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.calendar-weekdays{font-size:.72rem;font-weight:750;color:#698092;margin-bottom:8px}
.calendar-days button{border:1px solid transparent;min-height:44px;border-radius:10px;background:#f0f6fb;color:#245c82;font-size:.95rem;font-weight:650;padding:8px 0}.calendar-days button:disabled{background:#f8fafc;color:#bbc7d1;cursor:default}.calendar-days button[aria-current=date]{border-color:#126db2}
.calendar-footer{display:flex;align-items:center;gap:14px;margin-top:20px}.calendar-footer button{border:1px solid #cbdfea;background:#edf5fc;color:#245c82;border-radius:10px;padding:11px 16px;min-height:44px;font-weight:750}.calendar-footer span{font-size:.75rem;line-height:1.4;color:#698092}
@media(max-width:360px){.calendar-dialog{padding:16px}.calendar-days,.calendar-weekdays{gap:2px}.calendar-days button{min-height:40px}}
@media(max-width:360px){.day-navigation{grid-template-columns:minmax(0,1fr) minmax(0,1.65fr) minmax(0,1fr)}.day-navigation .nav-button{flex-direction:column;gap:1px;padding:4px 1px}.day-navigation .nav-button>span[aria-hidden]{order:-1;font-size:1.3rem}}
@media(min-width:361px) and (max-width:480px), (max-height:450px) and (min-width:600px){.day-navigation{grid-template-columns:minmax(0,1.1fr) minmax(0,1.65fr) minmax(0,1.1fr)}.day-navigation .nav-button{flex-direction:column;gap:1px;padding:4px 1px}.day-navigation .nav-button>span[aria-hidden]{order:-1;font-size:1.3rem}}

/* Clearer date controls and softly raised cards. */
.collection-stage{border:1px solid #ccdae6;border-radius:28px;background:#fff;box-shadow:0 8px 28px #12345312,0 2px 5px #12345308}
.collection-card{border-radius:27px;box-shadow:none}
.donation-card{border-color:#d2dfe9;border-radius:20px;box-shadow:0 4px 15px #12345308}
.viewed-day-row{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;pointer-events:auto;flex-wrap:wrap}
.collection-date .today-pill{display:flex;flex-direction:column;gap:2px;align-items:center}

.date-button{border:1px solid #ccdeec;background:#fff;box-shadow:0 1px 3px #12345308;min-height:50px}
.date-button svg{width:18px;height:18px}.collection-date .date-button #date{font-size:1rem;font-weight:650}
.day-navigation{grid-template-columns:minmax(0,1.18fr) minmax(0,1.65fr) minmax(0,1.18fr)}
.day-navigation .nav-button{font-size:.96rem}.day-navigation .nav-button>span[aria-hidden]{font-size:1.5rem}
@media(max-width:480px){.day-navigation .nav-button{font-size:.96rem;flex-direction:column;padding:4px 1px;gap:1px}.day-navigation .nav-button>span[aria-hidden]{order:-1}.date-button{gap:4px;padding:6px 3px}.collection-date .date-button #date{font-size:.95rem}.date-button svg{width:16px;height:16px}}
@media(max-width:360px){.day-navigation .nav-button{font-size:.828rem}.collection-date .date-button #date{font-size:.8rem}.date-button svg{width:14px;height:14px}.viewed-day-row{gap:8px}}
@media(min-height:651px){.collection-item{transform:translateY(-12px)}}
@media(max-height:450px) and (min-width:600px){.day-navigation .nav-button{font-size:.864rem;flex-direction:column;padding:4px 1px}.day-navigation .nav-button>span[aria-hidden]{order:-1}.collection-date .date-button #date{font-size:.8rem}.date-button svg{width:14px;height:14px}.viewed-day-row{gap:6px}.collection-date .today-pill{font-size:1.25rem}}
@media(max-width:360px){.day-navigation{grid-template-columns:minmax(0,1.3fr) minmax(0,1.4fr) minmax(0,1.3fr)}}
@media(max-width:360px){.date-button{flex-direction:column;gap:3px}.collection-date .date-button #date{font-size:.85rem}}
@media(min-width:361px) and (max-width:480px){.day-navigation{grid-template-columns:minmax(0,1.3fr) minmax(0,1.4fr) minmax(0,1.3fr)}}
@media(min-width:361px) and (max-width:480px){.date-button{flex-direction:column;gap:3px}}

/* Centred day heading and the calendar's primary return action. */
.viewed-day-row{justify-content:center;gap:0}.collection-date .today-pill{display:block}
.calendar-footer{flex-direction:column;align-items:stretch;gap:12px}.calendar-footer #calendarToday{width:100%;min-height:50px;background:#126db2;color:#fff;border-color:#126db2;border-radius:13px;font-size:1rem}.calendar-footer span{text-align:center}
/* Explicit wizard choices, with a non-interactive tap demonstration. */
.welcome-dialog .welcome-choice-instruction{font-size:.9rem;font-weight:750;color:#245c82;margin:0 0 12px}
.welcome-modes{position:relative}.welcome-mode{position:relative;align-items:center;gap:14px;background:#fff;border-color:#bdd2e3;box-shadow:0 2px 7px #12345309}
.welcome-mode-copy{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}.welcome-choice-mark{width:26px;height:26px;flex:none;border:2px solid #7b9bb3;border-radius:50%;display:grid;place-items:center;background:#fff}.welcome-choice-mark svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.welcome-mode[aria-pressed=true]{border-color:#126db2;background:#eaf4fc;box-shadow:0 0 0 1px #126db230}.welcome-mode[aria-pressed=true] .welcome-choice-mark{border-color:#126db2;background:#126db2}.welcome-mode[aria-pressed=true] .welcome-choice-mark svg{opacity:1}
.welcome-choice-hand{position:absolute;width:38px;height:46px;z-index:2;pointer-events:none;filter:drop-shadow(0 3px 3px #12345335)}.welcome-choice-hand svg{width:100%;height:100%}.welcome-choice-hand.still-hand{left:calc(100% - 36px);top:-40px;width:30px;height:36px}
@media(max-width:360px){.welcome-mode{padding:12px;gap:10px}.welcome-choice-mark{width:24px;height:24px}}

/* Neighbouring days have distinct button surfaces and interaction states. */
.day-navigation .nav-button{border:1px solid #acc6dc;background:#e4eff9;box-shadow:0 2px 4px #12345316;border-radius:12px;padding:6px 0;color:#245c82}
.day-navigation .nav-button:disabled{opacity:.55;background:#f3f6f9;border-color:#dae4ed;color:#7c94a6;box-shadow:none;cursor:default}
.day-navigation .nav-button:not(:disabled):active{background:#cddfec;box-shadow:inset 0 1px 3px #12345320;transform:translateY(1px)}
@media(hover:hover){.day-navigation .nav-button:not(:disabled):hover{background:#d5e6f5;border-color:#7cabc9}}
@media(max-width:480px){.day-navigation{grid-template-columns:minmax(0,1.35fr) minmax(0,1.3fr) minmax(0,1.35fr)}}
@media(max-width:360px){.date-button{padding-left:1px;padding-right:1px}}
@media(max-width:360px){.collection-date .date-button #date{font-size:.8rem;max-width:100%}}

/* v1.0.27: tap the locality to view another collection schedule. */
#localityButton{display:block;width:100%;min-height:44px;padding:0 2px;border:0;background:transparent;box-shadow:none;font:inherit;letter-spacing:inherit;line-height:inherit;color:inherit;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border-radius:9px}
#localityButton:active{background:#e7f0f8}
#localityButton:focus-visible{outline:3px solid #126db2;outline-offset:-3px}
.locality-overlay{z-index:20;background:#12345375;backdrop-filter:blur(6px)}
.locality-dialog{width:min(440px,100%)}
.locality-dialog h2{font-size:1.6rem;margin-bottom:6px}
.locality-dialog #localitySearch{font-size:16px;margin-bottom:12px}
.locality-choices{max-height:min(350px,45dvh);overflow:auto;border:1px solid #dce7ef;border-radius:14px;overscroll-behavior:contain}
.locality-choice{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:48px;text-align:left;padding:12px 14px;border:0;border-bottom:1px solid #e7eef4;background:white;color:#123453;font:inherit;font-weight:600;box-shadow:none;border-radius:0}
.locality-choice:last-child{border-bottom:0}
.locality-choice[aria-pressed=true]{background:#e8f3fc;box-shadow:inset 4px 0 #126db2}
.locality-choice:hover,.locality-choice:active{background:#f0f6fc}
.locality-choice:focus-visible{outline:3px solid #126db2;outline-offset:-3px}
@media(max-height:450px){.locality-dialog{padding:18px}.locality-dialog h2{margin-top:6px}.locality-choices{max-height:32dvh}}

/* v1.0.28: the surface, border and shadow travel with the entire day card. */
:root{--page:#edf3f9;--page-glow:#d6eafa;--card:#fff;--surface:#edf5fc;--raised:#e4eff9;--border:#ccdae6;--ink:#123453;--secondary:#526f86;--muted:#7890a1;--accent:#126db2;--hover:#d5e6f5;--card-shadow:0 8px 28px #12345312,0 2px 5px #12345308;color-scheme:light;background-color:var(--page)}
:root[data-theme=dark]{--page:#0b1421;--page-glow:#15273b;--card:#1c2a3b;--surface:#24354a;--raised:#2c4158;--border:#3a4b60;--ink:#f3f4f6;--secondary:#b0c3d6;--muted:#91a8be;--accent:#8ac8ff;--hover:#34516b;--card-shadow:0 12px 32px #00000045,0 2px 6px #00000030;color-scheme:dark}
:root{background:var(--page);color:var(--ink)}
body{background:radial-gradient(circle at 85% 2%,var(--page-glow) 0,transparent 40%),var(--page);overflow-x:clip}
.collection-stage{overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}
.bag-area{background:var(--card);border:1px solid var(--border);border-radius:28px;box-shadow:var(--card-shadow);overflow:hidden;isolation:isolate}
.collection-card{background:transparent;border-radius:0;box-shadow:none}
.day-navigation-moving .nav-button{visibility:visible;pointer-events:none}
.day-navigation-moving{pointer-events:none}
#appearanceSelect{width:100%;min-height:46px;font:inherit;font-size:16px;color:var(--ink);background:var(--card);border:1px solid var(--border);border-radius:10px;padding:10px 12px;cursor:pointer}

/* Dark surfaces retain the original waste illustrations and their colours. */
[data-theme=dark] .brand-sub,[data-theme=dark] .welcome-brand>span{color:var(--secondary)}
[data-theme=dark] .brand-mark{background:var(--raised)}
[data-theme=dark] .icon-button,[data-theme=dark] .close-button{background:var(--surface);color:var(--ink);border-color:var(--border)}
[data-theme=dark] .collection-date .today-pill,[data-theme=dark] .collection-time-button,[data-theme=dark] .collection-item-label,[data-theme=dark] .bag-name{color:var(--ink)}
[data-theme=dark] .day-navigation{background:var(--surface);border-color:var(--border)}
[data-theme=dark] .day-navigation .nav-button{background:var(--raised);border-color:#506985;color:var(--ink);box-shadow:0 2px 4px #00000025}
[data-theme=dark] .day-navigation .nav-button:not(:disabled):hover,[data-theme=dark] .day-navigation .nav-button:not(:disabled):active{background:var(--hover);border-color:#7392b3}
[data-theme=dark] .day-navigation .nav-button:disabled{background:var(--surface);border-color:var(--border);color:var(--muted);opacity:.6;box-shadow:none}
[data-theme=dark] .date-button{background:var(--card);border-color:#506985;color:var(--secondary);box-shadow:0 1px 3px #00000025}
[data-theme=dark] .collection-date #date{color:var(--secondary)}
[data-theme=dark] .put-out-instruction{background:var(--surface);color:var(--ink)}
[data-theme=dark] .collection-timing,[data-theme=dark] .compact-time-line{border-color:var(--border)}
[data-theme=dark] .put-out-instruction>span,[data-theme=dark] .collection-timing .collection-time-button>.collection-start-label,[data-theme=dark] .bag-click-hint{color:var(--secondary)}
[data-theme=dark] .collection-time-button>svg{stroke:var(--secondary)}
[data-theme=dark] .info-circle,[data-theme=dark] .bag-info-badge{background:var(--surface);color:var(--secondary);border-color:#839eb8}
[data-theme=dark] .mode-chip{background:#31475d;color:#c6def4}
[data-theme=dark] .mode-chip[data-mode=auto]{background:#214d40;color:#afe1c9}
[data-theme=dark] .mode-chip[data-mode=away]{background:#594423;color:#f7d79b}
[data-theme=dark] #localityButton:active,[data-theme=dark] .bag-button:hover{background:var(--surface)}
[data-theme=dark] .rest-icon{color:var(--muted)}
[data-theme=dark] .donation-card{background:var(--card);border-color:var(--border);color:var(--secondary);box-shadow:var(--card-shadow)}
[data-theme=dark] .donation-card #donationText{color:var(--ink)}
[data-theme=dark] .donation-card #donationDetail{color:var(--secondary)}
[data-theme=dark] .donation-button{background:#285783;color:#fff}
[data-theme=dark] .settings,[data-theme=dark] .calendar-dialog,[data-theme=dark] .welcome-dialog,[data-theme=dark] .waste-dialog{background:var(--card);color:var(--ink);border-color:var(--border)}
[data-theme=dark] .organised-settings .settings-section{background:var(--surface);border-color:var(--border)}
[data-theme=dark] .organised-settings h3,[data-theme=dark] .organised-settings .behaviour-option strong{color:var(--ink)}
[data-theme=dark] .section-help,[data-theme=dark] .organised-settings .section-help,[data-theme=dark] .settings-credit,[data-theme=dark] .small-label,[data-theme=dark] .welcome-progress,[data-theme=dark] .welcome-dialog p{color:var(--secondary)}
[data-theme=dark] #homeLocalitySelect,[data-theme=dark] .settings input[type=search],[data-theme=dark] .welcome-dialog select{background:var(--card);color:var(--ink);border-color:#506985}
[data-theme=dark] .behaviour-option:hover{background:var(--raised)}
[data-theme=dark] .organised-settings .behaviour-option+.behaviour-option{border-color:var(--border)}
[data-theme=dark] .settings-grip{background:#506985}
[data-theme=dark] .cancel-button,[data-theme=dark] .welcome-secondary,[data-theme=dark] .welcome-consent button{background:var(--surface);color:var(--ink);border-color:#506985}
[data-theme=dark] .locality-choices{border-color:var(--border)}
[data-theme=dark] .locality-choice{background:var(--card);color:var(--ink);border-color:var(--border)}
[data-theme=dark] .locality-choice[aria-pressed=true]{background:var(--raised);box-shadow:inset 4px 0 var(--accent)}
[data-theme=dark] .locality-choice:hover,[data-theme=dark] .locality-choice:active{background:var(--hover)}
[data-theme=dark] .calendar-month-navigation button,[data-theme=dark] .calendar-days button{background:var(--surface);color:var(--ink)}
[data-theme=dark] .calendar-days button:disabled{background:#192536;color:#667c92}
[data-theme=dark] .calendar-days button[aria-current=date]{border-color:var(--accent)}
[data-theme=dark] .calendar-weekdays,[data-theme=dark] .calendar-footer span{color:var(--secondary)}
[data-theme=dark] .calendar-footer #calendarToday{background:#1c68aa;border-color:#1c68aa;color:#fff}
[data-theme=dark] .waste-head{background:var(--surface);border-color:var(--border)}
[data-theme=dark] .waste-head .close-button{background:var(--raised);border-color:#506985}
[data-theme=dark] .waste-summary,[data-theme=dark] .time-info-dialog .waste-scroll p,[data-theme=dark] .waste-items li{color:var(--secondary)}
[data-theme=dark] .waste-list-label,[data-theme=dark] .waste-checked{color:var(--muted)}
[data-theme=dark] .waste-items section{border-color:var(--border)}
[data-theme=dark] .waste-note{background:#214437;color:#bfdfce}
[data-theme=dark] .waste-exclusions{background:#473429;color:#f0c8ac}
[data-theme=dark] .waste-items li::before{color:#94d5af}
[data-theme=dark] .waste-source,[data-theme=dark] .settings a,[data-theme=dark] .welcome-help a,[data-theme=dark] .welcome-link{color:var(--accent)}
[data-theme=dark] .support-modal .coffee-invitation,[data-theme=dark] .support-modal .tip-thanks,[data-theme=dark] .donation-confirm-note,[data-theme=dark] .slider-status{color:var(--secondary)}
[data-theme=dark] .donation-confirm-amount{color:var(--ink)}
[data-theme=dark] .donation-slider{background:var(--surface);border-color:#506985}
[data-theme=dark] .slider-label{color:var(--secondary)}
[data-theme=dark] .slider-fill{background:#214d40}
[data-theme=dark] .slider-thumb{background:#285783}
[data-theme=dark] .slider-ready .slider-thumb{background:#28714e}
[data-theme=dark] .welcome-mode{background:var(--surface);border-color:#506985;color:var(--secondary)}
[data-theme=dark] .welcome-mode[aria-pressed=true]{background:var(--raised);border-color:var(--accent)}
[data-theme=dark] .welcome-choice-mark{background:var(--card);border-color:#839eb8}
[data-theme=dark] .welcome-mode[aria-pressed=true] .welcome-choice-mark{background:#1c68aa;border-color:var(--accent)}
[data-theme=dark] .welcome-icon{background:var(--surface);color:#afe1c9}
[data-theme=dark] .welcome-icon svg{stroke:var(--secondary)}
[data-theme=dark] .welcome-dialog #welcomeReady .welcome-icon{background:#214d40}
[data-theme=dark] .welcome-dots i{background:#506985}
[data-theme=dark] .welcome-dots i.active{background:var(--accent)}
[data-theme=dark] .welcome-dots i.done{background:#94d5af}
[data-theme=dark] .welcome-primary,[data-theme=dark] .tip-circle{background:#1c68aa;border-color:#1c68aa;color:#fff}
[data-theme=dark] .tip-circle:not(:disabled):hover{background:#285783}
[data-theme=dark] .location-notice{background:#402b2c;border-color:#805152}
[data-theme=dark] .location-notice strong,[data-theme=dark] .notice-icon{color:#f2b8b5}
[data-theme=dark] .collection-start-label strong{color:var(--ink)}
[data-theme=dark] #calendarHelp{color:var(--secondary)}
[data-theme=dark] input::placeholder{color:var(--secondary);opacity:1}

/* v1.0.29: clearer dark modal surfaces, retaining both existing backdrops and light styling. */
:root[data-theme=dark] .overlay > :is(.settings,.calendar-dialog,.welcome-dialog,.waste-dialog){background:#2a3b50;border:1px solid #637b94;box-shadow:0 24px 72px #00000070,0 6px 18px #00000040}

/* v1.0.30: a concise confirmation step; the amount-selection screen is unchanged. */

#supportConfirm .slider-label{text-align:center;line-height:1.35;padding:6px 5px}

/* Compact settings: one heading, automatic saving, no footer action. */
#settingsDialog{padding:14px 18px;position:relative}#settingsDialog .settings-head{position:absolute;right:14px;top:12px}#settingsDialog h2{margin:8px 50px 12px 0}#settingsDialog .settings-section{margin-top:10px;padding:10px 12px}#settingsDialog h3{margin-bottom:6px}#settingsDialog .behaviour-option{padding:7px 0}#settingsDialog .support-check{margin:6px 0}#settingsDialog .section-help{font-size:.75rem;line-height:1.35}#settingsDialog .settings-credit{margin:12px 0 0}#settingsDialog select{min-height:42px;padding:8px 10px}
@media(max-height:700px){#settingsDialog{padding:10px 14px}#settingsDialog .settings-section{padding:8px 10px;margin-top:7px}#settingsDialog h2{margin-top:4px;margin-bottom:8px}#settingsDialog .settings-grip{margin-bottom:4px}#settingsDialog .behaviour-option{padding:5px 0}}
@media(max-height:700px){#settingsDialog{padding-top:8px;padding-bottom:8px}#settingsDialog .settings-credit{margin-top:6px}}

/* Daily Bag Day usage records, distinct from game records. */
.usage-streak-bar{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;max-width:420px;flex:none;margin:10px auto 0;padding:10px 14px;border-radius:14px;background:linear-gradient(110deg,#d9f3e9,#dcecff);color:#174b53}.usage-streak-bar>div{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}.usage-streak-bar>div+div{border-left:1px solid #174b5330}.usage-streak-bar svg{width:22px;height:22px;flex:none;fill:#cc651e}.usage-streak-bar>div+div svg{fill:none;stroke:#876714;stroke-width:1.8}.usage-streak-bar span{font-size:.75rem;line-height:1.3;text-align:left}.usage-streak-bar strong{display:block;font-size:1rem;font-variant-numeric:tabular-nums;white-space:nowrap}.collection-card.no-collection .usage-streak-bar{margin-top:24px}
[data-theme=dark] .usage-streak-bar{background:linear-gradient(110deg,#204d49,#283f60);color:#eefbf8}[data-theme=dark] .usage-streak-bar>div+div{border-color:#eefbf830}[data-theme=dark] .usage-streak-bar svg{fill:#ffb878}[data-theme=dark] .usage-streak-bar>div+div svg{fill:none;stroke:#ffda83}
@media(max-height:650px){.usage-streak-bar{padding:6px 10px;margin-top:6px;gap:6px}.usage-streak-bar svg{width:19px;height:19px}.usage-streak-bar span{font-size:.7rem}.usage-streak-bar strong{font-size:.9rem}.collection-figures .bag-figure.bag-button{height:min(115px,21dvh)}}
@media(max-width:360px){.usage-streak-bar{padding-left:8px;padding-right:8px}.usage-streak-bar>div{gap:5px}}
@media(max-height:450px) and (min-width:600px){.usage-streak-bar{max-width:44%;margin-left:auto;margin-right:0;margin-top:3px}.usage-streak-bar span{font-size:.65rem}.usage-streak-bar strong{font-size:.8rem}}

/* Collection panels use the same card inset at every portrait width. */
.bag-area{--card-panel-inset:14px}.collection-date{padding-left:var(--card-panel-inset);padding-right:var(--card-panel-inset)}.collection-card{padding-left:var(--card-panel-inset);padding-right:var(--card-panel-inset)}.usage-streak-bar{max-width:none;width:100%;margin-left:0;margin-right:0}.put-out-instruction{width:100%}.collection-card.no-collection{justify-content:flex-start}.no-collection-message{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;transform:translateY(-14px)}.collection-card.no-collection .usage-streak-bar{margin-top:0;margin-bottom:clamp(24px,7dvh,64px)}
@media(max-width:360px){.bag-area{--card-panel-inset:10px}}
@media(max-height:450px) and (min-width:600px){.usage-streak-bar{width:100%;max-width:none;margin-left:0}.collection-card.no-collection{padding-left:var(--card-panel-inset)}.no-collection-message{margin-left:53%;transform:translateY(-4px)}.collection-card.no-collection .usage-streak-bar{margin-bottom:10px}}

/* App usage belongs to the stationary shell, independently of the viewed date. */
#usageStreakArea{flex:none;width:100%;margin-top:12px}
#usageStreakArea .usage-streak-bar{width:100%;max-width:none;margin:0;padding:10px 14px;border-radius:18px;min-height:56px}
#usageStreakArea+.donation-card{margin-top:10px}
@media(max-height:650px){#usageStreakArea{margin-top:8px}#usageStreakArea .usage-streak-bar{min-height:46px;padding:7px 10px}#usageStreakArea+.donation-card{margin-top:8px}}

/* Shared circular close affordance, including information dialogs. */
.close-button{width:44px!important;height:44px!important;min-width:44px;min-height:44px;flex:none;padding:0!important;border-radius:50%!important;display:grid;place-items:center;border:1px solid #a8becf!important;background:#eff5fa;color:#123453}
.close-button svg{display:block;width:22px!important;height:22px!important}
[data-theme=dark] .close-button{background:#233d55;color:#eff6fb;border-color:#567086!important}

/* Consistent title rows and vertically centred collection information. */
#timeOverlay{align-items:center!important;justify-content:center!important}#timeDialog{margin:auto;align-self:center}
.modal-titlebar,.calendar-head,.time-info-dialog .waste-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
#settingsDialog .modal-titlebar{position:static;margin:0 0 12px}#settingsDialog .modal-titlebar h2,.settings .modal-titlebar h2{margin:0;flex:1;min-width:0;font-size:1.3rem;line-height:1.2;letter-spacing:-.025em}
#supportDialog .support-brand{margin-top:14px}#supportDialog .modal-titlebar h2{white-space:normal}#nextDay{overflow:visible}

/* v48: neutralise legacy floating-arrow offsets and centre the settings sheet. */
#dayNavigation #prevDay,#dayNavigation #nextDay{position:relative;inset:auto;top:auto;right:auto;bottom:auto;left:auto;align-self:stretch;transform:none;margin:0}
#settingsOverlay{align-items:center!important;justify-content:center;padding:16px}
#settingsDialog{margin:0 auto;max-height:calc(var(--app-height,100dvh) - 32px);padding:0 18px 16px;align-self:center}
#settingsDialog .settings-grip{display:none}#settingsDialog .modal-titlebar{position:sticky;top:0;z-index:2;margin:0 -18px 14px;padding:14px 18px;background:#233d55;border-bottom:1px solid #63809a;color:white;min-height:72px}
#settingsDialog .modal-titlebar h2{margin:0;color:inherit}#settingsDialog .modal-titlebar .close-button{background:#294b6b;color:white;border-color:#87a3be!important}
.locality-mode-options{border:0;padding:0;margin:14px 0 16px}.locality-mode-options legend{font-size:.8rem;font-weight:750;margin-bottom:8px;color:var(--secondary)}
#localityDialog .locality-mode-radio{display:flex;align-items:center;gap:12px;padding:12px 14px;margin:8px 0;border:1px solid #628bb0;border-radius:14px;background:#285783;color:#fff;cursor:pointer}
#localityDialog .locality-mode-radio input{appearance:auto;width:22px;height:22px;min-width:22px;margin:0;padding:0;accent-color:#126db2;cursor:pointer}#localityDialog .locality-mode-radio small{display:block;margin-top:3px;color:white;font-weight:450;line-height:1.4}#localityDialog .locality-mode-radio:has(input:checked){outline:2px solid #9dcbf2;outline-offset:1px}
[data-theme=light] .modal-titlebar,[data-theme=light] .calendar-head,[data-theme=light] .waste-head{background:#285783;color:#fff;border-color:#628bb0;padding:14px 16px;border-radius:12px}
[data-theme=light] .modal-titlebar h2,[data-theme=light] .calendar-head h2,[data-theme=light] .waste-head h2{color:#fff}
[data-theme=light] .modal-titlebar .close-button,[data-theme=light] .calendar-head .close-button,[data-theme=light] .waste-head .close-button{background:#1c4165;color:white;border-color:#9cb9d3!important}

.sequence-glove{position:fixed;z-index:40;height:auto;pointer-events:none;filter:drop-shadow(0 5px 7px #0006);user-select:none} 

/* v50: both locality radios share one container. */
#localityDialog .locality-mode-options{min-width:0;margin:16px 0 20px;padding:8px 16px;border:1px solid #628bb0;border-radius:16px;background:#285783;color:#fff}
#localityDialog .locality-mode-options legend{padding:0 8px;font-size:15px;font-weight:750;color:var(--ink)}
#localityDialog .locality-mode-radio{gap:14px;padding:16px 0;margin:0;border:0;border-radius:0;background:transparent;color:#fff;box-shadow:none;outline:none}
#localityDialog .locality-mode-radio + .locality-mode-radio{border-top:1px solid #ffffff40}
#localityDialog .locality-mode-radio strong{display:block;font-size:18px;font-weight:750;line-height:1.3}
#localityDialog .locality-mode-radio small{display:block;font-size:15px;line-height:1.45;margin-top:6px;color:#fff;font-weight:450}
#localityDialog .locality-mode-radio input{width:26px;height:26px;min-width:26px;flex:none;accent-color:#126db2}
#localityDialog .locality-mode-radio:has(input:checked){outline:none}
#localityDialog .locality-mode-radio:has(input:focus-visible){outline:3px solid #b6dcff;outline-offset:4px;border-radius:5px}

/* Compact locality mode rows in one shared container. */
#localityDialog .locality-mode-options{margin:12px 0;padding:0 12px}
#localityDialog .locality-mode-radio{min-height:40px;padding:7px 0;gap:10px}
#localityDialog .locality-mode-radio strong{font-size:17px;line-height:1.25}
#localityDialog .locality-mode-radio input{width:22px;height:22px;min-width:22px}

.locality-settings-note{margin:12px 0 16px}.locality-settings-note p{font-size:14px;line-height:1.45;margin:0 0 9px;color:var(--secondary)}#localityOpenSettings{background:#285783;color:white;border:1px solid #628bb0;border-radius:9px;padding:8px 12px;font-size:14px;font-weight:700;min-height:36px}

/* v1.0.92: preserve the bag; scroll when the measured card cannot fit. */
html{height:auto;min-height:100%;overflow-y:auto}
body{height:auto;min-height:var(--app-height,100dvh);overflow-y:visible}
#appContent{height:auto;min-height:var(--app-height,100dvh)}
.app{height:auto;min-height:var(--app-height,100dvh);max-height:none}
.dashboard{touch-action:pan-y}
.collection-stage{min-height:var(--home-card-min-height,520px);touch-action:pan-y}
.collection-card{min-height:var(--home-card-min-height,520px);padding-top:var(--day-card-heading-space,200px)}
.collection-figures{min-height:210px}
.bag-figure.bag-button,.collection-figures .bag-figure.bag-button{min-height:160px;max-height:230px;flex-shrink:0;height:clamp(160px,32dvh,230px)}
@media(max-height:450px) and (min-width:600px){
 .collection-date{width:auto;left:18px;right:18px;padding-left:var(--card-panel-inset);padding-right:var(--card-panel-inset)}
 .collection-figures{width:100%;margin-left:0}
 .collection-card.no-collection{padding-left:var(--card-panel-inset)}
}

/* v1.0.92: fill spare height, preserving the central bag and label. */
.app{height:max(var(--app-height,100dvh),var(--home-min-height,0px));min-height:var(--app-height,100dvh);max-height:none}
.collection-stage{flex:1;min-height:var(--home-card-min-height,560px)}
.collection-card{min-height:var(--home-card-min-height,560px)}
.collection-figures{min-height:240px}
.collection-item{max-width:300px;transform:none}
.bag-figure.bag-button,.collection-figures .bag-figure.bag-button{height:var(--home-bag-height,180px);min-height:180px;max-height:300px;width:min(100%,280px);flex:0 0 auto}
.bag-button img,.collection-figures .bag-button img{max-width:280px}
.collection-item-label{font-size:clamp(18px,4vw,22px);font-weight:800;line-height:1.3}

/* v1.0.92: one-line date controls on screens with limited height. */
@media(max-height:650px){
 .day-navigation{padding:3px;gap:4px}
 .day-navigation .nav-button{flex-direction:row;min-height:44px;height:44px;padding:4px 2px;white-space:nowrap}
 .day-navigation .nav-button>span[aria-hidden]{order:0}
 .date-button{flex-direction:row;min-height:44px;height:44px;padding:4px 2px;gap:4px}
 .collection-date .date-button #date{white-space:nowrap}
 .date-button #date>span{display:inline}
 .date-button #date>span+span::before{content:' '}
}

/* v1.0.92: group the day and put-out instructions below the bag. */
.viewed-day-row{display:none}
.bag-day-label{flex:none;font-size:clamp(18px,4vw,22px);font-weight:800;line-height:1.3;text-align:center;margin:0 0 10px;color:var(--ink)}
.put-out-end{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.put-out-info{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;padding:6px;border:0;background:transparent;color:inherit;border-radius:50%;cursor:pointer}
.put-out-info .info-circle{width:21px;height:21px;font-size:14px}

/* v1.0.92: balanced header with the locality in the centre. */
.topbar{display:grid;grid-template-columns:90px minmax(0,1fr) 90px;gap:6px;height:auto;min-height:60px;align-items:center}
.topbar .brand{gap:5px;font-size:14px;line-height:1.15;letter-spacing:-.03em;min-width:0}
.topbar .brand-mark{width:24px;height:28px;flex:none;font-size:18px}
.brand-copy{display:block;white-space:nowrap}.brand-copy .brand-sub{display:block;font-size:.85em;margin-top:2px}
.topbar .locality-heading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;width:100%;text-align:center}
.topbar #title{width:100%;font-size:clamp(18px,5vw,24px);line-height:1.2;color:var(--ink)}
.topbar #localityButton{min-height:36px;text-align:center}
.topbar .mode-chip{font-size:11px;padding:3px 5px;line-height:1.1}
.topbar .top-actions{justify-self:end;display:flex;gap:6px;align-items:center}
.topbar .icon-button,.topbar #gameModeButton{width:40px;height:40px;min-width:40px;padding:0}
@media(max-width:360px){
 .topbar{grid-template-columns:80px minmax(0,1fr) 80px;gap:4px}
 .topbar .brand{font-size:12px;gap:4px}
 .topbar .icon-button,.topbar #gameModeButton{width:36px;height:36px;min-width:36px}
}

/* v1.0.92: consistent support and confirmation headers and branding. */
#supportDialog .modal-titlebar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:12px 16px;border-radius:12px;background:#233d55;color:white;border:1px solid #63809a}
[data-theme=light] #supportDialog .modal-titlebar{background:#285783;border-color:#628bb0}
#supportDialog .modal-titlebar h2{flex:1;margin:0;color:inherit;text-align:left;font-size:1.3rem;line-height:1.25}
#supportDialog .modal-titlebar .close-button{flex:none;margin-left:auto;background:#294b6b;color:white;border-color:#87a3be!important}
#supportDialog .support-brand{display:flex;width:100%;align-items:center;justify-content:center;margin:14px 0 12px;gap:9px}
#supportCoffee{margin:12px 0 20px}
#supportDialog .donation-confirm-note{margin:12px 0 20px;text-align:center;line-height:1.5;color:var(--secondary)}

/* v1.0.92: compact support headers with shared left-side branding. */
#supportDialog .modal-titlebar{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;gap:10px;min-height:52px;padding:8px 12px}
#supportDialog .modal-titlebar h2{margin:0;text-align:center;font-size:clamp(15px,3.8vw,20px);line-height:1.2}
#supportDialog .support-title-logo{width:32px;height:32px;border-radius:9px;justify-self:start}
#supportDialog .modal-titlebar .close-button{width:38px;height:38px;min-width:38px;justify-self:end;margin:0}
.confirmation-coffee{display:flex;align-items:center;justify-content:center;margin:20px 0 22px}
.confirmation-coffee .coffee-cup{width:64px;height:64px;color:#80562d;filter:drop-shadow(0 3px 3px #12345318)}
[data-theme=dark] .confirmation-coffee .coffee-cup{color:#edc78e}
#supportCoffee{margin:20px 0 22px}

/* v1.0.92: centre no-collection content across the complete card. */
.collection-card.no-collection .no-collection-message{margin-left:0;width:100%;transform:none;padding:24px 0;box-sizing:border-box;text-align:center}
.collection-card.no-collection .bag-name{max-width:100%;overflow-wrap:break-word}
@media(max-height:450px) and (min-width:600px){
 .collection-card.no-collection .no-collection-message{margin-left:0;transform:none}
}

/* v1.0.92: both donation steps use the full-width Settings title bar. */
#supportDialog{padding:0 18px 16px}
#supportDialog .modal-titlebar{
 position:sticky;top:0;z-index:2;
 display:grid;grid-template-columns:32px minmax(0,1fr) 44px;
 align-items:center;gap:14px;
 margin:0 -18px 14px;padding:14px 18px;min-height:72px;
 border:0;border-bottom:1px solid #63809a;border-radius:0;
 background:#233d55;color:white;
}
#supportDialog .modal-titlebar h2{
 margin:0;text-align:left;font-size:1.3rem;line-height:1.2;
 letter-spacing:-.025em;color:inherit;
}
#supportDialog .modal-titlebar .close-button{
 width:44px;height:44px;min-width:44px;min-height:44px;
 margin:0;justify-self:end;
 background:#294b6b;color:white;border-color:#87a3be!important;
}
[data-theme=light] #supportDialog .modal-titlebar{
 background:#233d55;border-color:#63809a;border-radius:12px;
}

/* Collection overview: dates above compact, high-contrast symbols. */
.calendar-dialog{padding:18px;width:min(100%,420px)}
#calendarHelp{margin:10px 0 12px;font-size:.8rem}
.calendar-month-navigation{margin-bottom:10px}
.calendar-days button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:64px;padding:5px 0}
.calendar-day-number{line-height:1.2}
.calendar-collections{display:flex;align-items:center;justify-content:center;gap:1px;height:28px}
.calendar-symbol{display:block;width:19px;height:26px;flex:none;filter:drop-shadow(0 1px 1px #0003)}
.calendar-days button:disabled .calendar-collections{opacity:.28}
.calendar-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 12px;margin-top:13px;color:var(--secondary);font-size:.7rem}
.calendar-legend>span{display:flex;align-items:center;gap:4px}
.calendar-legend .calendar-symbol{width:13px;height:19px}
.calendar-footer{margin-top:13px;gap:8px}
.calendar-footer span{font-size:.7rem}
@media(max-width:360px){.calendar-dialog{padding:12px}.calendar-days button{min-height:60px}.calendar-collections{gap:0}.calendar-symbol{width:17px;height:25px}}

/* Calendar collection colours remain visible in both appearance modes. */
#calendarDays button[data-bag=organic]{--collection-colour:#f5e7af}
#calendarDays button[data-bag=mixed]{--collection-colour:#bbc2c9}
#calendarDays button[data-bag=recycle]{--collection-colour:#c6e8cb}
#calendarDays button[data-bag]:not([data-bag=none]){background:var(--collection-colour);color:#17334b}
#calendarDays button[data-glass=true]{background:linear-gradient(to right,var(--collection-colour) 0 50%,#c5e5f7 50% 100%);color:#17334b}
#calendarDays button[data-bag]:disabled{opacity:.4}
#calendarDays button[data-bag]:disabled .calendar-collections{opacity:1}
#calendarDays button[data-bag][aria-current=date]{border:2px solid #285783}
#calendarDays button[data-bag]:focus-visible{outline:3px solid var(--accent);outline-offset:2px}

/* Today is the only persistently highlighted calendar date. */
#calendarDays button[data-bag][aria-current=date]{border:2px solid #168cff;box-shadow:inset 0 0 0 1px #fff,0 0 0 2px #168cff,0 0 10px 2px #168cff80;position:relative;z-index:1}
.calendar-legend>span{padding:4px 7px;border-radius:7px;color:#17334b}
.calendar-legend [data-bag=organic]{background:#f5e7af}
.calendar-legend [data-bag=mixed]{background:#bbc2c9}
.calendar-legend [data-bag=recycle]{background:#c6e8cb}
.calendar-legend [data-bag=glass]{background:#c5e5f7}

#brandSupportButton{border:0;padding:0;position:relative;cursor:pointer}#brandSupportButton::after{content:"";position:absolute;inset:-8px}

/* v1.0.92: council contacts and compact text sponsorship. */
#usageStreakArea{display:none!important}
.council-panel{flex:none;margin-top:8px;padding:9px 12px;border:1px solid var(--border);border-radius:14px;background:var(--card);display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left}
.council-panel strong{font-size:13px;line-height:1.25;flex:1;overflow-wrap:anywhere}
.council-actions{display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end}
.council-link{display:flex;align-items:center;justify-content:center;min-height:38px;padding:5px 8px;border-radius:9px;background:var(--accent);color:var(--ink);font-size:12px;font-weight:700;text-decoration:none;border:1px solid var(--border)}
.sponsor-panel{flex:none;margin-top:8px;display:flex;flex-direction:column;gap:5px;text-align:left}
.sponsor-heading{font-size:11px;font-weight:700;color:var(--secondary);padding-left:3px}
.sponsor-link{display:flex;align-items:center;min-height:44px;padding:7px 12px;border-radius:10px;color:#142d47;text-decoration:none;font-size:clamp(14px,4vw,18px);font-weight:750;line-height:1.25;overflow-wrap:anywhere}
.sponsor-slot-1{background:#f8dcc1}.sponsor-slot-2{background:#d9edda}.sponsor-slot-3{background:#e2dcf4}
.sponsor-link:hover{filter:brightness(.95)}
.collection-figures{min-height:150px;flex:1}
.bag-figure.bag-button,.collection-figures .bag-figure.bag-button{height:var(--home-bag-height,120px);min-height:120px;max-height:420px;width:min(100%,320px)}
.bag-button img,.collection-figures .bag-button img{max-width:320px}
.council-panel:empty{display:none}
@media(max-width:360px){.council-panel{padding:7px 9px}.council-actions{gap:3px}.council-link{padding:4px 6px;font-size:11px}}

.council-whatsapp-disabled{opacity:.45;cursor:default;background:transparent;color:var(--secondary)}
