:root{font-family:Poppins,Arial,sans-serif;color:#e9e9f7;background:#0b1022;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 10% 5%,#1d2354 0,transparent 35%),radial-gradient(circle at 90% 30%,#172d4d 0,transparent 38%),#0b1022}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.top{max-width:1440px;margin:auto;padding:22px 4%;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{font-weight:800;letter-spacing:.08em;color:#8ee6d1;font-size:20px}.brand small{color:#bbc4d9;display:block;font-weight:400;font-size:11px;letter-spacing:.2em}.top nav{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.top nav a,.top nav button{font-size:13px;color:#d5d8eb;background:transparent;border:0}.top nav a:hover,.top nav button:hover{color:#91f1d9}.wrap{max-width:1440px;margin:auto;padding:28px 4% 65px;min-height:75vh}.hero{margin:5vh auto;max-width:1000px;padding:80px 7%;border:1px solid #ffffff20;border-radius:32px;background:linear-gradient(120deg,#192459e8,#122639d9);box-shadow:0 25px 90px #0006}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.25em;color:#8ce6ce}.hero h1{font-size:clamp(42px,7vw,84px);line-height:1.12;margin:20px 0}.hero em{font-style:normal;color:#98f2d5}.hero p,.intro p{color:#aebbd2;max-width:600px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.button{display:inline-block;border:0;background:linear-gradient(120deg,#8ff1d6,#a8b5ff);color:#10172b!important;font-weight:700;padding:13px 22px;border-radius:14px;box-shadow:0 8px 30px #64cabf35}.button:hover{filter:brightness(1.12)}.button.ghost{color:#dfe5fa!important;background:#ffffff12;box-shadow:none}.intro{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:30px}.intro h1,.panel h1{font-size:clamp(30px,4vw,46px);margin:8px 0}.weekbar{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#ffffff0d;border:1px solid #ffffff17;padding:16px 22px;border-radius:18px;margin-bottom:18px}.weekbar a{color:#92e8d4;font-size:13px}.weekbar strong{text-align:center}.grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}.day{min-height:260px;padding:15px;border-radius:20px;background:#ffffff0d;border:1px solid #ffffff17}.day.current{border-color:#88ebce;box-shadow:0 0 0 1px #88ebce55,inset 0 0 35px #89ead011}.dayhead{display:flex;justify-content:space-between;align-items:center;color:#aebbd4;font-size:12px}.dayhead strong{font-size:23px;color:white}.empty{color:#7988a7;font-size:12px;margin-top:36px}.event{display:flex;flex-direction:column;gap:6px;background:#263765;border-left:3px solid #8fe9d2;padding:11px;border-radius:11px;margin:10px 0;overflow-wrap:anywhere;font-size:12px}.event:hover{background:#354979}.event small{color:#a7d7e1}.pill{align-self:flex-start;color:#a4f2da;font-size:10px;text-transform:uppercase;letter-spacing:.1em}.panel{max-width:680px;margin:25px auto;padding:clamp(24px,5vw,50px);border:1px solid #ffffff20;background:#151f3b;border-radius:26px;box-shadow:0 20px 70px #0005}.panel form{display:grid;gap:18px;margin:25px 0}.panel label{display:grid;gap:7px;color:#d4dbea;font-size:13px;font-weight:600}.panel input,.panel select,.panel textarea{width:100%;background:#0d1630;border:1px solid #4a5573;color:#fff;border-radius:12px;padding:13px;outline:none}.panel input:focus,.panel select:focus,.panel textarea:focus{border-color:#92efd4}.two{display:grid;grid-template-columns:1fr 1fr;gap:15px}.alert,.success{padding:12px 16px;border-radius:12px;background:#85344c;color:#fff}.success{background:#195747}.danger{background:none;border:0;color:#ff9daf;text-align:left}.hint,footer{color:#8492ae;font-size:12px}footer{text-align:center;padding:25px}@media(max-width:1150px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.day{min-height:180px}}@media(max-width:650px){.top{align-items:flex-start;flex-direction:column}.top nav{width:100%;justify-content:space-between;gap:8px}.wrap{padding-top:16px}.grid{grid-template-columns:1fr}.day{min-height:100px}.weekbar{font-size:12px;padding:12px}.weekbar a{font-size:11px}.two{grid-template-columns:1fr}.hero{padding:45px 7%}.panel{margin:10px auto}}
/* Vista mensile */
.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.month-heading{text-align:center;color:#a5b7d4;font-size:12px;font-weight:700;padding:8px}.month-day,.month-blank{min-height:136px;min-width:0;padding:11px;border-radius:16px;background:#ffffff0d;border:1px solid #ffffff17}.month-day.current{border-color:#8fe9d2;box-shadow:inset 0 0 32px #8fe9d015}.month-number{font-size:17px;font-weight:700;margin-bottom:8px}.month-event{display:block;background:#283966;border-left:3px solid #8fe9d2;border-radius:7px;font-size:11px;padding:5px 7px;margin:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.month-event:hover{background:#405480}.month-blank{background:#ffffff05}
/* Salute */
.health-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 26px}.health-tabs a{padding:10px 15px;background:#ffffff12;border-radius:12px;font-size:13px}.health-tabs a.active{background:#8fe9d2;color:#10243a;font-weight:700}.health-grid{display:grid;grid-template-columns:minmax(300px,400px) 1fr;gap:22px;align-items:start}.health-form,.health-list{background:#151f3b;border:1px solid #ffffff20;border-radius:22px;padding:24px}.health-form h2,.health-list h2{margin:0 0 18px;font-size:23px}.health-form form{display:grid;gap:14px}.health-form label{display:grid;gap:6px;font-size:13px}.health-form input,.health-form textarea,.health-form select{width:100%;padding:11px;color:#fff;background:#0d1630;border:1px solid #4a5573;border-radius:11px;font:inherit}.health-form input:focus,.health-form textarea:focus{border-color:#8fe9d2}.health-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.health-item{padding:16px;border:1px solid #ffffff1c;background:#ffffff09;border-radius:14px;margin-bottom:10px;overflow-wrap:anywhere}.health-item strong{display:block;color:#f2f5ff}.health-item small{display:block;color:#aabbd2;margin-top:5px}.health-item p{font-size:13px;color:#d6e2f2;margin:8px 0}.health-item .item-actions{display:flex;gap:14px;margin-top:12px}.health-item .item-actions a,.health-item .item-actions button{color:#99ebd2;font-size:12px;background:none;border:0;padding:0;cursor:pointer}.health-item .item-actions button{color:#ff9daf}.health-item form{display:inline}.weekday-choices{display:flex;gap:7px;flex-wrap:wrap}.weekday-choices label{display:flex;align-items:center;gap:4px;padding:8px;background:#ffffff10;border-radius:9px;font-size:12px}.weekday-choices input{width:auto}.today-meds{margin:20px 0 30px}.today-meds .health-item{border-color:#72d7c060}
@media(max-width:850px){.health-grid{grid-template-columns:1fr}}@media(max-width:650px){.month-grid{gap:3px}.month-heading{font-size:10px}.month-day,.month-blank{min-height:75px;padding:5px;border-radius:8px}.month-number{font-size:13px}.month-event{font-size:9px;padding:3px;margin:3px 0}.health-form,.health-list{padding:18px}.health-row{grid-template-columns:1fr}}
/* Salute · nuova interfaccia */
.health-hero{position:relative;overflow:hidden;padding:clamp(28px,5vw,64px);border-radius:30px;background:radial-gradient(circle at 78% 12%,#478b89aa 0,transparent 29%),linear-gradient(125deg,#243566,#124e56 64%,#122747);border:1px solid #adffe234;box-shadow:0 28px 85px #0409148a;margin-bottom:20px;isolation:isolate}.health-hero:before{content:"";position:absolute;width:400px;height:400px;border-radius:50%;border:1px solid #ffffff22;right:-80px;top:-135px;box-shadow:0 0 0 65px #ffffff08,0 0 0 130px #ffffff05;z-index:-1}.health-hero .hero-deco{position:absolute;right:9%;top:12%;font-size:clamp(80px,12vw,170px);color:#bcffe343;transform:rotate(-18deg);pointer-events:none}.health-hero h1{font-size:clamp(32px,5vw,68px);line-height:1.14;margin:16px 0;letter-spacing:-.04em}.health-hero em{font-style:normal;color:#a7f8de}.health-hero p{max-width:610px;color:#e0f1f2;line-height:1.65}.health-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:25px}.health-hero-actions form{margin:0}.profile-switch{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:22px 0 16px}.profile-switch span{color:#9fb3d0;font-size:13px;margin-right:5px}.profile-switch a{padding:9px 16px;border-radius:999px;background:#ffffff12;border:1px solid #ffffff1c;font-size:13px}.profile-switch a.active{background:#a7f8de;color:#102840;font-weight:700}.profile-switch a.profile-add{border-style:dashed}.health-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0 26px}.health-tabs a{border:1px solid #ffffff24}.health-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:20px 0}.overview-card{min-width:0;padding:22px 24px;display:flex;flex-direction:column;min-height:175px;border-radius:20px;background:linear-gradient(145deg,#1c2b49,#182c48);border:1px solid #ffffff25;box-shadow:0 14px 35px #0309183b;transition:transform .2s,border-color .2s}.overview-card:hover{transform:translateY(-4px);border-color:#a7f8de}.overview-card span{font-size:24px}.overview-card small{color:#a8c3d4;font-size:10px;letter-spacing:.16em;margin-top:8px}.overview-card strong{font-size:34px;line-height:1.2;margin-top:5px}.overview-card em{font-size:12px;color:#a7f8de;font-style:normal;margin-top:auto}.health-dashboard,.charts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.health-dashboard{margin:24px 0}.health-list,.health-form{box-shadow:0 12px 35px #0309162e}.health-list h2,.health-form h2{font-size:21px}.health-form form{margin-top:10px}.health-form textarea{resize:vertical}.health-form .button{justify-self:start}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-title span{color:#9db4cf;font-size:12px}.charts-section{margin:28px 0}.charts-section h2{font-size:24px;margin:7px 0 16px}.chart-card{background:#151f3b;border:1px solid #ffffff20;border-radius:20px;padding:20px;min-width:0}.chart-card h3{margin:0 0 15px;font-size:16px}.chart-card>small{color:#a8b7d0}.health-chart{width:100%;height:auto;min-height:165px;display:block}.chart-legend{font-size:11px;color:#8fe9d2;margin:4px 0 9px}.chart-legend span{color:#a6afff}.dose-card{display:flex;align-items:center;gap:15px;padding:13px 15px;border-radius:14px;background:#233257;border:1px solid #ffffff1c;margin:10px 0}.dose-card.dose-done{background:#1c504b;border-color:#83ecc16b}.dose-time{font-size:19px;font-weight:800;color:#a7f8de;min-width:55px}.dose-info{flex:1;min-width:0}.dose-info strong,.dose-info small{display:block;overflow-wrap:anywhere}.dose-info small{font-size:11px;color:#b8c9d6}.dose-card form{margin:0}.dose-button{border:1px solid #a7f8de;background:#a7f8de;color:#123233;border-radius:10px;padding:9px 11px;font-size:12px;font-weight:700;white-space:nowrap}.dose-button.done{background:transparent;color:#c3f7e1}.today-meds{padding:20px;border:1px solid #ffffff20;background:#151f3b;border-radius:20px}.today-meds .section-title h2{margin:0}.inline-form{display:inline!important;margin:0!important}.text-danger{color:#ff9daf!important;background:none!important;border:0!important;padding:0!important;font-size:12px}.health-item{transition:border-color .2s,transform .2s}.health-item:hover{border-color:#a7f8de66;transform:translateY(-2px)}.health-item a[href^="tel:"]{color:#a7f8de}.health-hero-actions .button.ghost{border:1px solid #ffffff35}.health-form input:focus,.health-form textarea:focus,.health-form select:focus{outline:2px solid #8fe9d2;outline-offset:1px}
@media(max-width:800px){.health-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.health-dashboard,.charts-grid{grid-template-columns:1fr}}@media(max-width:550px){.health-overview{grid-template-columns:1fr}.overview-card{min-height:125px}.dose-card{flex-wrap:wrap}.dose-card form{width:100%}.dose-button{width:100%}.health-hero{border-radius:20px}.health-hero-actions .button{font-size:12px}.health-grid{grid-template-columns:minmax(0,1fr)}}

.chart-filters{display:flex;gap:8px;align-items:center}.chart-filters a{border:1px solid #ffffff28;border-radius:9px;padding:7px 11px;color:#c7d8e6;font-size:12px}.chart-filters a.active{background:#a7f8de;color:#123233;font-weight:700}.medicine-history{margin-top:22px}.health-hero-actions form .button{cursor:pointer}.health-overview a:focus-visible,.health-tabs a:focus-visible,.profile-switch a:focus-visible,.dose-button:focus-visible{outline:3px solid #a7f8de;outline-offset:3px}@media(max-width:560px){.charts-section .section-title{align-items:flex-start;flex-direction:column}}
.allergy-overview{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px 28px;margin:26px 0;border:1px solid #7ee6cb69;background:linear-gradient(120deg,#143e49,#1c3151);border-radius:22px;box-shadow:0 14px 40px #04091448}.allergy-overview h2{font-size:25px;margin:6px 0 12px}.allergy-overview p{margin:0}.allergy-overview .button{flex:none}.allergy-chips{display:flex;gap:8px;flex-wrap:wrap}.allergy-chips span{padding:8px 13px;background:#ffffff19;border:1px solid #ffffff29;border-radius:999px;font-size:13px}.allergy-chips small{color:#c4e5de}.allergy-none{color:#a8f5dc;font-weight:600}.allergy-none small{color:#d0e6e3;font-weight:400}.allergy-confirm{margin:20px 0;padding:21px 25px;border-radius:18px;background:#152a42;border:1px solid #ffffff20}.allergy-confirm h2{margin:0 0 8px}.allergy-confirm p{color:#b9c8da;font-size:14px}.allergy-confirm form{display:inline}.reorder-button{color:#a5f0d7!important;background:#ffffff12!important;border:1px solid #ffffff2d!important;padding:5px 10px!important;border-radius:8px!important;font-size:12px!important}.item-actions{flex-wrap:wrap;align-items:center}@media(max-width:650px){.allergy-overview{align-items:flex-start;flex-direction:column}.allergy-overview .button{font-size:12px}}
/* Navigazione, paginazione e assistente */
.theme-toggle{border:1px solid #a7f8de66!important;color:#b9f6df!important;border-radius:999px;padding:7px 12px;background:#ffffff13!important;font-size:12px!important;white-space:nowrap}.month-number{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px}.month-number:hover,.month-number:focus-visible{background:#8fe9d2;color:#10243a}.month-all{display:block;margin-top:8px;font-size:10px;color:#a7f8de;line-height:1.25}.day-details{display:grid;gap:14px;max-width:850px}.day-detail{padding:22px 28px;border-radius:18px;background:#182640;border:1px solid #ffffff25}.day-detail h2{margin:7px 0}.day-detail p{color:#b9cae0}.day-detail>a{color:#8fe9d2}.pager{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:15px 2px;font-size:12px}.pager span{margin-right:auto;color:#aabbd2}.pager a{padding:7px 12px;border:1px solid #a7f8de61;border-radius:9px;color:#a7f8de}.bp-hint{padding:11px 13px;border-radius:11px;margin-top:11px;border:1px solid transparent;line-height:1.4;font-size:12px}.bp-hint b,.bp-hint small{display:block}.bp-hint small{margin-top:4px}.bp-green{background:#123e36;border-color:#81e1b6;color:#c8f7dc}.bp-yellow{background:#443819;border-color:#e7c979;color:#fff1ba}.bp-red{background:#562329;border-color:#f19399;color:#ffe5e8}.assistant-hero{display:flex;gap:24px;align-items:center;padding:32px;border-radius:24px;background:linear-gradient(120deg,#233866,#15565a);border:1px solid #ffffff2d;margin-bottom:22px}.assistant-avatar{width:100px;height:100px;flex:none;border-radius:30px;display:grid;place-items:center;font-size:60px;background:#a8f6d8;color:#17364c;box-shadow:0 14px 35px #77dcb050;transform:rotate(-5deg)}.assistant-hero h1{font-size:clamp(30px,4vw,48px);margin:5px 0;color:#fff}.assistant-hero p{color:#d8eeeb;max-width:620px}.assistant-panel{max-width:850px;margin:auto;background:#15233e;border:1px solid #ffffff26;padding:clamp(20px,4vw,36px);border-radius:24px;box-shadow:0 20px 55px #0003}.assistant-message{background:#243955;border:1px solid #ffffff16;padding:16px 18px;border-radius:16px;margin:12px 0;line-height:1.6}.assistant-message.mine{background:#275954;margin-left:12%;}.assistant-results{display:grid;gap:8px;margin-top:16px}.assistant-results a{padding:10px 12px;border-radius:10px;background:#ffffff10;color:#aeefd8;overflow-wrap:anywhere}.assistant-form{margin-top:25px}.assistant-form label{display:block;margin-bottom:9px}.assistant-form>div{display:flex;gap:10px}.assistant-form input{flex:1;min-width:0;border:1px solid #64758e;border-radius:12px;background:#0b162b;color:#fff;padding:12px}.assistant-chips{display:flex;gap:8px;margin-top:17px;flex-wrap:wrap}.assistant-chips a{padding:7px 12px;border:1px solid #ffffff2d;border-radius:99px;font-size:12px}.assistant-sitemap{display:flex;justify-content:space-between;gap:16px;align-items:center;max-width:850px;margin:20px auto;padding:20px 25px;border:1px solid #ffffff28;border-radius:18px;background:#182743}.assistant-sitemap h2{margin:0 0 5px}.assistant-sitemap p{margin:0;color:#a9bdd3;font-size:12px}@media(max-width:650px){.assistant-hero{align-items:flex-start;flex-direction:column}.assistant-avatar{width:70px;height:70px;font-size:44px}.assistant-form>div{flex-direction:column}.assistant-sitemap{align-items:flex-start;flex-direction:column}.month-all{font-size:8px;margin-top:3px}.day-detail{padding:18px}}
/* Tema giorno: si applica a tutte le pagine del planning. */
:root[data-theme="day"]{background:#eff7f6;color:#172d42}:root[data-theme="day"] body{background:radial-gradient(circle at 12% 5%,#d3e8fb 0,transparent 33%),radial-gradient(circle at 88% 25%,#cfefe3 0,transparent 37%),#eff7f6}:root[data-theme="day"] .top nav a,:root[data-theme="day"] .top nav button{color:#214257}:root[data-theme="day"] .theme-toggle{color:#17484c!important;background:#e4f8ee!important;border-color:#7ccab3!important}:root[data-theme="day"] .brand{color:#126e68}:root[data-theme="day"] .brand small{color:#466476}:root[data-theme="day"] .panel,:root[data-theme="day"] .day,:root[data-theme="day"] .month-day,:root[data-theme="day"] .weekbar,:root[data-theme="day"] .health-form,:root[data-theme="day"] .health-list,:root[data-theme="day"] .chart-card,:root[data-theme="day"] .today-meds,:root[data-theme="day"] .assistant-panel,:root[data-theme="day"] .assistant-sitemap,:root[data-theme="day"] .day-detail{background:#fff;color:#1a3448;border-color:#bfd9db;box-shadow:0 10px 30px #28547013}:root[data-theme="day"] .month-blank{background:#dcebe98a}:root[data-theme="day"] .dayhead strong,:root[data-theme="day"] .month-number{color:#1d3d4c}:root[data-theme="day"] .event,:root[data-theme="day"] .month-event,:root[data-theme="day"] .dose-card,:root[data-theme="day"] .health-item,:root[data-theme="day"] .assistant-message,:root[data-theme="day"] .assistant-results a{background:#eef6f7;color:#203f54;border-color:#c8dfdd}:root[data-theme="day"] .dose-card.dose-done{background:#daf4e4}:root[data-theme="day"] .assistant-message.mine{background:#def4ea}:root[data-theme="day"] .health-tabs a,:root[data-theme="day"] .profile-switch a,:root[data-theme="day"] .assistant-chips a{background:#e7f2f3;color:#18425a;border-color:#c1dadd}:root[data-theme="day"] .health-tabs a.active,:root[data-theme="day"] .profile-switch a.active{background:#157e72;color:#fff}:root[data-theme="day"] .panel input,:root[data-theme="day"] .panel select,:root[data-theme="day"] .panel textarea,:root[data-theme="day"] .health-form input,:root[data-theme="day"] .health-form select,:root[data-theme="day"] .health-form textarea,:root[data-theme="day"] .assistant-form input{background:#fff;color:#193647;border-color:#9ebfbd}:root[data-theme="day"] .health-form label,:root[data-theme="day"] .panel label,:root[data-theme="day"] .assistant-form label{color:#24435b}:root[data-theme="day"] .hint,:root[data-theme="day"] .empty,:root[data-theme="day"] .intro p,:root[data-theme="day"] .day-detail p,:root[data-theme="day"] .assistant-sitemap p,:root[data-theme="day"] .health-item small,:root[data-theme="day"] .dose-info small,:root[data-theme="day"] .chart-card>small,:root[data-theme="day"] .pager span{color:#42617a}:root[data-theme="day"] .overview-card{background:linear-gradient(145deg,#fff,#e9f7f4);color:#183949;border-color:#bcd9d5}:root[data-theme="day"] .overview-card small{color:#4a6a76}:root[data-theme="day"] .overview-card em,:root[data-theme="day"] .day-detail>a,:root[data-theme="day"] .month-all,:root[data-theme="day"] .health-item a[href^="tel:"],:root[data-theme="day"] .assistant-results a{color:#11695d}:root[data-theme="day"] .allergy-confirm{background:#fff;color:#183949;border-color:#bcd9d5}:root[data-theme="day"] .allergy-confirm p{color:#48677b}:root[data-theme="day"] .bp-green{background:#dcf5e3;color:#176142}:root[data-theme="day"] .bp-yellow{background:#fff2c5;color:#765000}:root[data-theme="day"] .bp-red{background:#ffe2e4;color:#91262f}:root[data-theme="day"] .hero,:root[data-theme="day"] .health-hero,:root[data-theme="day"] .assistant-hero{color:#fff}:root[data-theme="day"] .weekbar a,:root[data-theme="day"] .pager a{color:#0f756b}:root[data-theme="day"] .chart-filters a{color:#2a5762;border-color:#bfd7d8}:root[data-theme="day"] footer{color:#476379}
.assistant-fab{position:fixed;right:20px;bottom:20px;z-index:30;display:flex;align-items:center;gap:8px;background:linear-gradient(120deg,#a8f6d8,#a9bfff);color:#152e3e;padding:12px 18px;border-radius:999px;box-shadow:0 14px 40px #0a314d70;font-size:13px;font-weight:700;border:1px solid #ffffff9e}.assistant-fab:hover{transform:translateY(-3px)}.assistant-fab:focus-visible{outline:3px solid #fff;outline-offset:3px}@media(max-width:550px){.assistant-fab{right:12px;bottom:12px;padding:11px 13px}.assistant-fab span{display:none}}
.month-day{position:relative}.month-number:after{content:"";position:absolute;inset:0}.month-event{position:relative;z-index:1}.month-day:hover{border-color:#82dfc2;box-shadow:0 6px 22px #0002}.month-day:has(.month-number:focus-visible){outline:2px solid #8fe9d2;outline-offset:2px}
/* Dettaglio giorno, moduli e pausa radio */
.dayhead-link{padding:6px;border-radius:10px;transition:background .2s}.dayhead-link:hover,.dayhead-link:focus-visible{background:#2b4965;outline:2px solid #8fe9d2}.dayhead-link span{text-decoration:underline;text-decoration-color:#8fe9d270;text-underline-offset:4px}.dayhead-link strong{color:#a8f6d8}.dayhead-link:focus-visible{outline-offset:2px}.event-hero,.radio-hero{position:relative;overflow:hidden;display:flex;align-items:center;gap:25px;background:radial-gradient(circle at 92% 15%,#45a6a466,transparent 35%),linear-gradient(125deg,#202b55,#113e53);border:1px solid #8cdcc677;border-radius:26px;padding:clamp(28px,5vw,55px);box-shadow:0 22px 65px #0004}.event-hero h1,.radio-hero h1{font-size:clamp(30px,4vw,50px);margin:9px 0}.event-hero p,.radio-hero p{color:#d1e9ee;line-height:1.65;max-width:650px}.event-spark{display:grid;place-items:center;min-width:95px;height:95px;font-size:65px;color:#173b47;background:#a8f6d8;border-radius:30px;transform:rotate(-7deg)}.event-panel{margin:22px auto}.event-panel h2{font-size:23px}.paper-diaries{background:linear-gradient(120deg,#1a3048,#173d4a);border:1px solid #75baa990;padding:24px 28px;border-radius:20px;margin:20px 0 27px}.paper-diaries h2{margin:8px 0}.paper-diaries p{color:#c1dbe4}.paper-diaries .actions{margin-top:18px}.paper-diaries .button.ghost{border:1px solid #8cdcc677}.page-form{display:inline;margin:0}.pager .page-form button{border:1px solid #a7f8de61;border-radius:9px;padding:7px 12px;color:#a7f8de;background:#173348;font-size:12px}.pager .page-form button[aria-current="page"]{background:#a7f8de;color:#123446;font-weight:800}.radio-hero{display:block}.radio-player{display:grid;grid-template-columns:minmax(230px,34%) 1fr;gap:28px;background:#152840;border:1px solid #588783;border-radius:25px;padding:24px;margin:24px 0}.radio-art{min-height:275px;display:grid;place-items:center;border-radius:20px;background:radial-gradient(circle at 42% 35%,#49747f 0,#283b62 48%,#111b39);font-size:125px;color:#d3ebd8;text-shadow:0 0 45px #a1dfd3}.radio-body{padding:15px 10px}.radio-live{color:#9ff2d9;font-size:12px;letter-spacing:.17em;font-weight:700}.radio-body h2{font-size:clamp(25px,4vw,42px);margin:13px 0}.radio-body p{color:#adc8d5}.radio-controls{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin:22px 0}.radio-controls>button{border:0;width:62px;height:62px;border-radius:50%;font-size:25px;background:#a8f6d8;color:#133443}.radio-controls label{display:flex;align-items:center;gap:12px}.radio-controls input{accent-color:#a8f6d8;max-width:140px}.sleep-timer{display:grid;gap:12px}.sleep-timer>div{display:flex;flex-wrap:wrap;gap:8px}.sleep-timer button{border:1px solid #7eacae;background:#1c3c50;color:#e2f2ed;padding:8px 12px;border-radius:10px}.sleep-timer span{font-size:12px;color:#a9c5d2}.weather-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,300px);gap:22px;align-items:center;padding:30px;border:1px solid #6facaa;border-radius:24px;background:linear-gradient(125deg,#172a47,#175359)}.weather-card h2{font-size:28px;margin:8px 0}.weather-card p{color:#d0e6ea;max-width:600px;line-height:1.65}.weather-now{display:grid;gap:5px;justify-items:center;text-align:center;padding:22px;border-radius:18px;background:#102a3f;border:1px solid #ffffff29}.weather-now>span:first-child{font-size:58px}.weather-now strong{font-size:42px}.weather-now small{color:#c3dce0}.weather-card .button{border:1px solid #9ee7d4}.weather-card+.hint{margin:16px 0 32px}@media(max-width:700px){.radio-player,.weather-card{grid-template-columns:1fr}.radio-art{min-height:170px}.event-hero{align-items:flex-start;flex-direction:column}.event-spark{min-width:65px;height:65px;font-size:42px}.radio-player{padding:16px}.weather-card{padding:22px}}
/* Tema diurno più sobrio, senza pannelli bianchi abbaglianti. */
:root[data-theme="day"]{background:#cadbdc;color:#142c3c}:root[data-theme="day"] body{background:radial-gradient(circle at 16% 7%,#b8d6d7,transparent 36%),linear-gradient(145deg,#c9dcdb,#a9c8c9)}:root[data-theme="day"] .panel,:root[data-theme="day"] .day,:root[data-theme="day"] .month-day,:root[data-theme="day"] .weekbar,:root[data-theme="day"] .health-form,:root[data-theme="day"] .health-list,:root[data-theme="day"] .chart-card,:root[data-theme="day"] .today-meds,:root[data-theme="day"] .assistant-panel,:root[data-theme="day"] .assistant-sitemap,:root[data-theme="day"] .day-detail{background:#dce9e8;border-color:#91b7b9;color:#143342}:root[data-theme="day"] .overview-card{background:linear-gradient(145deg,#d7e9e5,#c3ddd8)}:root[data-theme="day"] .panel input,:root[data-theme="day"] .panel select,:root[data-theme="day"] .panel textarea,:root[data-theme="day"] .health-form input,:root[data-theme="day"] .health-form select,:root[data-theme="day"] .health-form textarea,:root[data-theme="day"] .assistant-form input{background:#c7dcd9}:root[data-theme="day"] .event,:root[data-theme="day"] .month-event,:root[data-theme="day"] .dose-card,:root[data-theme="day"] .health-item,:root[data-theme="day"] .assistant-message,:root[data-theme="day"] .assistant-results a{background:#c9dfdd}:root[data-theme="day"] .paper-diaries,:root[data-theme="day"] .event-hero,:root[data-theme="day"] .radio-hero,:root[data-theme="day"] .radio-player,:root[data-theme="day"] .weather-card{background:linear-gradient(125deg,#183e53,#24636a);color:#f5fffb}:root[data-theme="day"] .weather-now{background:#183d51}:root[data-theme="day"] .pager .page-form button{background:#254e60;color:#fff}:root[data-theme="day"] .pager .page-form button[aria-current="page"]{background:#a7f8de;color:#153943}:root[data-theme="day"] .dayhead-link:hover{background:#bbd8d4}:root[data-theme="day"] .dayhead-link strong{color:#15595b}:root[data-theme="day"] .radio-body p,:root[data-theme="day"] .paper-diaries p{color:#d3e7e7}
.day{position:relative}.dayhead-link:after{content:"";position:absolute;inset:0}.day .event{position:relative;z-index:1}.day:hover{border-color:#88ebce}.day:focus-within{outline:2px solid #8fe9d2;outline-offset:2px}
/* Pannelli con la stessa larghezza delle rispettive intestazioni. */
.event-panel{max-width:none;width:100%;margin:20px 0}.event-panel>form:first-of-type{max-width:1000px}.assistant-panel,.assistant-sitemap{max-width:none;width:100%}.assistant-panel>.assistant-message,.assistant-panel>.assistant-form{max-width:none}.delete-profile{background:#39252d;border:1px solid #da8689;border-radius:20px;margin:24px 0;padding:24px}.delete-profile h2{margin:0 0 10px;color:#ffd8d9}.delete-profile p{line-height:1.65;color:#f5c9cd}.delete-profile form{display:grid;gap:14px;max-width:580px}.delete-profile label{display:grid;gap:8px}.delete-profile input:not([type="checkbox"]){padding:11px 13px;border:1px solid #ecb4b4;border-radius:10px;background:#191f2d;color:#fff}.delete-profile .confirm-line{display:flex;align-items:center;gap:9px}.delete-profile .confirm-line input{width:18px;height:18px}.danger-button{border:1px solid #ffaeb2;border-radius:10px;padding:12px 16px;background:#9f3039;color:white;font-weight:700;justify-self:start}.history-summary{margin:22px 0}.history-summary h3{margin:17px 0 9px}.history-chips{display:flex;flex-wrap:wrap;gap:8px}.history-chips span{padding:8px 13px;border:1px solid #8dd9c45c;background:#2b5255;border-radius:999px;font-size:13px}:root[data-theme="day"] .delete-profile{background:#f1d9d9;color:#582b31}:root[data-theme="day"] .delete-profile p,:root[data-theme="day"] .delete-profile h2{color:#6f3439}:root[data-theme="day"] .history-chips span{color:#fff}
/* La copertina segue il brano trasmesso, con un simbolo di riserva. */
.radio-art{position:relative;background-size:cover;background-position:center;background-repeat:no-repeat;transition:background-image .35s ease}.radio-art.has-cover{font-size:0;text-shadow:none}.radio-art.has-cover:after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(180deg,transparent 65%,#07172b4f)}
/* Tema giorno: blu oceano e pannelli scuri ad alto contrasto. */
:root[data-theme="day"]{background:#19384e;color:#f2f8ff}
:root[data-theme="day"] body{background:radial-gradient(circle at 12% 8%,#276579 0,transparent 40%),radial-gradient(circle at 88% 28%,#315578 0,transparent 37%),#19384e;color:#f2f8ff}
:root[data-theme="day"] .brand{color:#b8f5df}:root[data-theme="day"] .brand small{color:#c5dbe9}
:root[data-theme="day"] .top nav a,:root[data-theme="day"] .top nav button{color:#f2fbff}:root[data-theme="day"] .top nav a:hover,:root[data-theme="day"] .top nav button:hover{color:#adf6db}
:root[data-theme="day"] .theme-toggle{background:#28566c!important;color:#fff!important;border-color:#9be5d0!important}
:root[data-theme="day"] .panel,:root[data-theme="day"] .day,:root[data-theme="day"] .month-day,:root[data-theme="day"] .weekbar,:root[data-theme="day"] .health-form,:root[data-theme="day"] .health-list,:root[data-theme="day"] .chart-card,:root[data-theme="day"] .today-meds,:root[data-theme="day"] .assistant-panel,:root[data-theme="day"] .assistant-sitemap,:root[data-theme="day"] .day-detail,:root[data-theme="day"] .allergy-confirm{background:#20475d;color:#f3fbff;border-color:#528194;box-shadow:0 14px 36px #09223550}
:root[data-theme="day"] .month-blank{background:#25465c;color:#d7e9f3;border-color:#4a768a}
:root[data-theme="day"] .overview-card{background:linear-gradient(140deg,#22566a,#205073);color:#fff;border-color:#6aa7a5}
:root[data-theme="day"] .overview-card small,:root[data-theme="day"] .overview-card em,:root[data-theme="day"] .dayhead,:root[data-theme="day"] .dayhead strong,:root[data-theme="day"] .month-number{color:#e6fbf6}
:root[data-theme="day"] .event,:root[data-theme="day"] .month-event,:root[data-theme="day"] .dose-card,:root[data-theme="day"] .health-item,:root[data-theme="day"] .assistant-message,:root[data-theme="day"] .assistant-results a{background:#28566c;color:#f1faff;border-color:#73aab3}
:root[data-theme="day"] .event:hover,:root[data-theme="day"] .month-event:hover,:root[data-theme="day"] .assistant-results a:hover{background:#367187}
:root[data-theme="day"] .dose-card.dose-done,:root[data-theme="day"] .assistant-message.mine{background:#266358;color:#fff}
:root[data-theme="day"] .health-tabs a,:root[data-theme="day"] .profile-switch a,:root[data-theme="day"] .assistant-chips a{background:#234e64;color:#f4fdff;border-color:#74a7b4}
:root[data-theme="day"] .health-tabs a.active,:root[data-theme="day"] .profile-switch a.active{background:#b2f2d7;color:#123746}
:root[data-theme="day"] .panel input,:root[data-theme="day"] .panel select,:root[data-theme="day"] .panel textarea,:root[data-theme="day"] .health-form input,:root[data-theme="day"] .health-form select,:root[data-theme="day"] .health-form textarea,:root[data-theme="day"] .assistant-form input{background:#14354c;color:#fff;border-color:#8cb8c3}
:root[data-theme="day"] .panel input::placeholder,:root[data-theme="day"] .health-form input::placeholder,:root[data-theme="day"] .assistant-form input::placeholder{color:#b7d2df}
:root[data-theme="day"] .panel label,:root[data-theme="day"] .health-form label,:root[data-theme="day"] .assistant-form label{color:#eef9ff}
:root[data-theme="day"] .hint,:root[data-theme="day"] .empty,:root[data-theme="day"] .intro p,:root[data-theme="day"] .day-detail p,:root[data-theme="day"] .assistant-sitemap p,:root[data-theme="day"] .health-item small,:root[data-theme="day"] .dose-info small,:root[data-theme="day"] .chart-card>small,:root[data-theme="day"] .pager span,:root[data-theme="day"] .allergy-confirm p,:root[data-theme="day"] footer{color:#d2e9f0}
:root[data-theme="day"] .pill,:root[data-theme="day"] .day-detail>a,:root[data-theme="day"] .month-all,:root[data-theme="day"] .health-item a[href^="tel:"],:root[data-theme="day"] .assistant-results a,:root[data-theme="day"] .weekbar a,:root[data-theme="day"] .pager a,:root[data-theme="day"] .overview-card em{color:#b5f4dc}
:root[data-theme="day"] .bp-green{background:#153e32;color:#d4ffe4;border-color:#a5e7c4}:root[data-theme="day"] .bp-yellow{background:#514019;color:#fff1bc;border-color:#eacb78}:root[data-theme="day"] .bp-red{background:#632932;color:#ffe3e6;border-color:#f4a1a6}
:root[data-theme="day"] .hero,:root[data-theme="day"] .health-hero,:root[data-theme="day"] .assistant-hero,:root[data-theme="day"] .radio-hero,:root[data-theme="day"] .event-hero,:root[data-theme="day"] .paper-diaries,:root[data-theme="day"] .radio-player,:root[data-theme="day"] .weather-card{background:linear-gradient(125deg,#225170,#1c6b71);color:#fff;border-color:#79b5b4}
:root[data-theme="day"] .allergy-overview{background:linear-gradient(125deg,#225b66,#284970);color:#fff}
:root[data-theme="day"] .chart-filters a{color:#f1faff;border-color:#8cb8c3}:root[data-theme="day"] .chart-filters a.active{color:#123746}
:root[data-theme="day"] .dayhead-link:hover{background:#34768a}:root[data-theme="day"] .dayhead-link strong{color:#ecfff7}
:root[data-theme="day"] .delete-profile{background:#59323d;color:#fff;border-color:#ffb9ba}:root[data-theme="day"] .delete-profile p,:root[data-theme="day"] .delete-profile h2{color:#ffe4e4}
:root[data-theme="day"] .history-chips span{background:#235d5e;border-color:#8edcce;color:#fff}
:root[data-theme="day"] .button.ghost{background:#28536c;color:#fff!important;border:1px solid #8cb9c7}
:root[data-theme="day"] .radio-body p,:root[data-theme="day"] .paper-diaries p{color:#e4f6f7}
:root[data-theme="day"] .weather-now{background:#1c455c;border-color:#91babc}
/* Menu Altro */
.other-menu{position:relative;color:#e9f6ff;font-size:13px}.other-menu summary{cursor:pointer;list-style:none;padding:7px 11px;border:1px solid #9ee4d066;border-radius:10px}.other-menu summary::-webkit-details-marker{display:none}.other-menu[open] summary{background:#295671}.other-menu>div{position:absolute;right:0;top:calc(100% + 7px);z-index:60;min-width:190px;display:grid;padding:9px;border-radius:14px;border:1px solid #6789a7;background:#173149;box-shadow:0 15px 45px #081524a6}.top nav .other-menu>div a{padding:10px;border-radius:8px;color:#fff}.top nav .other-menu>div a:hover{background:#27647b;color:#fff}.extra-hero{background:linear-gradient(125deg,#1d335b,#155a61);border:1px solid #72c5b6;border-radius:28px;padding:clamp(28px,5vw,55px);margin:10px 0 22px;box-shadow:0 22px 60px #07162347}.extra-hero h1{font-size:clamp(32px,5vw,55px);margin:10px 0}.extra-hero p{max-width:700px;color:#d2e6f1;line-height:1.7}.extra-nav{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 23px}.extra-nav a{padding:9px 14px;border-radius:10px;border:1px solid #7391aa;background:#20354b;color:#e6f4ff;font-size:13px}.extra-nav a.active{background:#a8f6d8;color:#10283a;font-weight:700}.extra-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:15px;margin:20px 0 27px}.extra-card{display:flex;flex-direction:column;min-height:175px;padding:23px;border:1px solid #65879f;background:#182a46;border-radius:20px;transition:transform .2s,background .2s}.extra-card:hover{transform:translateY(-4px);background:#234362}.extra-card>span{font-size:32px}.extra-card h2{font-size:20px;margin:8px 0 5px}.extra-card p{font-size:13px;color:#c8d8e7}.extra-card b{margin-top:auto;color:#a8f6d8;font-size:13px}.quote-today{background:linear-gradient(130deg,#215969,#283c6a);border:1px solid #75c7b3;border-radius:20px;padding:28px;margin:20px 0}.quote-today h2{font-size:clamp(19px,3vw,30px);line-height:1.55}.quote-today small{color:#c6e4e2}.extra-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}.extra-panel{min-width:0;padding:24px;border:1px solid #537690;border-radius:20px;background:#162a42;box-shadow:0 12px 30px #0002}.extra-panel h2{margin:0 0 16px;font-size:23px}.extra-panel form{display:grid;gap:13px;margin:16px 0}.extra-panel label{display:grid;gap:6px;font-size:13px;font-weight:600;color:#e4f2fb}.extra-panel input,.extra-panel select,.extra-panel textarea{width:100%;padding:11px 12px;color:#f7fbff;border:1px solid #819bb0;background:#0b2037;border-radius:10px}.extra-panel input[type=radio]{width:auto}.extra-panel .button{justify-self:start}.extra-panel p,.extra-panel small{color:#c5d7e5}.extra-panel small{display:block;font-size:12px}.extra-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 0;border-bottom:1px solid #62859e77;overflow-wrap:anywhere}.extra-row form{margin:0}.extra-row strong,.extra-row small{display:block}.extra-row strong{font-size:14px}.extra-row span{white-space:nowrap}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.metric-grid>div{background:#1e465c;border:1px solid #6aa79f;border-radius:18px;padding:20px}.metric-grid span{display:block;font-size:12px;color:#cce5eb}.metric-grid strong{font-size:26px}.goal-item{border:1px solid #4e8191;padding:15px;border-radius:15px;margin:15px 0;display:grid;gap:9px}.goal-item form{margin:3px 0}.goal-item>a{color:#a8f6d8}.progress-track{background:#0d2438;height:10px;border-radius:30px;overflow:hidden}.progress-track span{display:block;height:100%;background:#9fe6c5}.badge-row,.history-chips{display:flex;flex-wrap:wrap;gap:10px}.badge-row span{padding:9px 14px;border:1px solid #85caba;background:#265265;border-radius:30px}.game-panel{max-width:750px;margin:23px auto}.game-big{font-size:clamp(28px,5vw,55px);font-weight:800;text-align:center;padding:35px 16px;border:1px solid #82a5b8;border-radius:18px;margin:20px 0;background:#263e5a}.game-touch{cursor:pointer;user-select:none;min-height:180px;display:grid;place-items:center}.game-touch.waiting{background:#945b2d}.game-touch.ready{background:#1c815e}.game-option{display:flex!important;flex-direction:row;align-items:center;gap:12px;padding:12px;border:1px solid #6b8b9e;border-radius:10px}.task-action{margin-top:14px}.calm-panel{text-align:center}.breath-circle{width:min(200px,65vw);height:min(200px,65vw);display:grid;place-items:center;border-radius:50%;background:#2f7181;margin:20px auto;font-size:24px;transition:transform 3s,background 1s}.breath-circle.phase-0{transform:scale(1.12);background:#297a70}.breath-circle.phase-2{transform:scale(.9);background:#344f7f}.med-countdown{font-size:clamp(45px,7vw,85px);font-weight:800;margin:20px 0}.calm-panel .button{display:inline-block}
@media(max-width:800px){.extra-columns{grid-template-columns:1fr}.metric-grid{grid-template-columns:1fr 1fr}}@media(max-width:650px){.other-menu>div{left:0;right:auto}.metric-grid{grid-template-columns:1fr}.extra-panel{padding:18px}.extra-row{flex-wrap:wrap}.top nav{align-items:center}}
/* Tema Giorno luminoso: base bianca calda e contrasto elevato. */
:root[data-theme="day"]{background:#f6f8fc;color:#172638}
:root[data-theme="day"] body{background:linear-gradient(145deg,#f8fafc,#edf3f7);color:#172638}
:root[data-theme="day"] .brand{color:#075f64}:root[data-theme="day"] .brand small{color:#345569}
:root[data-theme="day"] .top nav a,:root[data-theme="day"] .top nav button,:root[data-theme="day"] .other-menu{color:#17394a}
:root[data-theme="day"] .top nav a:hover,:root[data-theme="day"] .top nav button:hover{color:#006a6a}
:root[data-theme="day"] .theme-toggle{background:#e8f5f2!important;color:#0a535b!important;border-color:#187784!important}
:root[data-theme="day"] .panel,:root[data-theme="day"] .day,:root[data-theme="day"] .month-day,:root[data-theme="day"] .weekbar,:root[data-theme="day"] .health-form,:root[data-theme="day"] .health-list,:root[data-theme="day"] .chart-card,:root[data-theme="day"] .today-meds,:root[data-theme="day"] .assistant-panel,:root[data-theme="day"] .assistant-sitemap,:root[data-theme="day"] .day-detail,:root[data-theme="day"] .allergy-confirm,:root[data-theme="day"] .extra-panel{background:#fff;color:#172b3e;border-color:#c2d0d9;box-shadow:0 8px 24px #17364a18}
:root[data-theme="day"] .month-blank{background:#e6ebf0;border-color:#c7d3dc}
:root[data-theme="day"] .overview-card,:root[data-theme="day"] .metric-grid>div,:root[data-theme="day"] .extra-card{background:#fff;color:#172b3e;border-color:#bdced8}
:root[data-theme="day"] .extra-card:hover{background:#edf7f5}
:root[data-theme="day"] .overview-card small,:root[data-theme="day"] .metric-grid span,:root[data-theme="day"] .dayhead,:root[data-theme="day"] .dayhead strong,:root[data-theme="day"] .month-number{color:#25495b}
:root[data-theme="day"] .event,:root[data-theme="day"] .month-event,:root[data-theme="day"] .dose-card,:root[data-theme="day"] .health-item,:root[data-theme="day"] .assistant-message,:root[data-theme="day"] .assistant-results a,:root[data-theme="day"] .goal-item{background:#eff4f7;color:#172b3e;border-color:#b9cbd6}
:root[data-theme="day"] .event:hover,:root[data-theme="day"] .month-event:hover,:root[data-theme="day"] .assistant-results a:hover{background:#e1f2ed;color:#103d44}
:root[data-theme="day"] .dose-card.dose-done,:root[data-theme="day"] .assistant-message.mine{background:#e3f5ed;color:#153b36}
:root[data-theme="day"] .health-tabs a,:root[data-theme="day"] .profile-switch a,:root[data-theme="day"] .assistant-chips a,:root[data-theme="day"] .extra-nav a{background:#fff;color:#15384a;border-color:#acbfcc}
:root[data-theme="day"] .health-tabs a.active,:root[data-theme="day"] .profile-switch a.active,:root[data-theme="day"] .extra-nav a.active{background:#075e66;color:#fff;border-color:#075e66}
:root[data-theme="day"] .panel input,:root[data-theme="day"] .panel select,:root[data-theme="day"] .panel textarea,:root[data-theme="day"] .health-form input,:root[data-theme="day"] .health-form select,:root[data-theme="day"] .health-form textarea,:root[data-theme="day"] .assistant-form input,:root[data-theme="day"] .extra-panel input,:root[data-theme="day"] .extra-panel select,:root[data-theme="day"] .extra-panel textarea{background:#fff;color:#172b3e;border-color:#879eae}
:root[data-theme="day"] .panel input::placeholder,:root[data-theme="day"] .health-form input::placeholder,:root[data-theme="day"] .assistant-form input::placeholder,:root[data-theme="day"] .extra-panel input::placeholder{color:#566f7e}
:root[data-theme="day"] .panel label,:root[data-theme="day"] .health-form label,:root[data-theme="day"] .assistant-form label,:root[data-theme="day"] .extra-panel label{color:#203c4d}
:root[data-theme="day"] .hint,:root[data-theme="day"] .empty,:root[data-theme="day"] .intro p,:root[data-theme="day"] .day-detail p,:root[data-theme="day"] .assistant-sitemap p,:root[data-theme="day"] .health-item small,:root[data-theme="day"] .dose-info small,:root[data-theme="day"] .chart-card>small,:root[data-theme="day"] .pager span,:root[data-theme="day"] .allergy-confirm p,:root[data-theme="day"] .extra-panel small,:root[data-theme="day"] .extra-panel p,:root[data-theme="day"] .extra-card p,:root[data-theme="day"] footer{color:#3a5668}
:root[data-theme="day"] .pill,:root[data-theme="day"] .day-detail>a,:root[data-theme="day"] .month-all,:root[data-theme="day"] .health-item a[href^="tel:"],:root[data-theme="day"] .assistant-results a,:root[data-theme="day"] .weekbar a,:root[data-theme="day"] .pager a,:root[data-theme="day"] .overview-card em,:root[data-theme="day"] .goal-item>a,:root[data-theme="day"] .extra-card b{color:#006269}
:root[data-theme="day"] .bp-green{background:#e0f3e7;color:#145337;border-color:#438d68}:root[data-theme="day"] .bp-yellow{background:#fff0c0;color:#654900;border-color:#b88716}:root[data-theme="day"] .bp-red{background:#ffdee1;color:#8f1f32;border-color:#bc5261}
:root[data-theme="day"] .hero,:root[data-theme="day"] .health-hero,:root[data-theme="day"] .assistant-hero,:root[data-theme="day"] .radio-hero,:root[data-theme="day"] .event-hero,:root[data-theme="day"] .extra-hero,:root[data-theme="day"] .paper-diaries,:root[data-theme="day"] .radio-player,:root[data-theme="day"] .weather-card,:root[data-theme="day"] .quote-today{background:linear-gradient(125deg,#174958,#136b6d);color:#fff;border-color:#267782}
:root[data-theme="day"] .quote-today h2,:root[data-theme="day"] .quote-today small,:root[data-theme="day"] .extra-hero p{color:#fff}
:root[data-theme="day"] .allergy-overview{background:linear-gradient(125deg,#174958,#215f6a);color:#fff}
:root[data-theme="day"] .chart-filters a{color:#215267;border-color:#96afba}:root[data-theme="day"] .chart-filters a.active{color:#143d41}
:root[data-theme="day"] .dayhead-link:hover{background:#e5f0f1}:root[data-theme="day"] .dayhead-link strong{color:#115b63}
:root[data-theme="day"] .delete-profile{background:#fff3f3;color:#642b34;border-color:#b95762}:root[data-theme="day"] .delete-profile p,:root[data-theme="day"] .delete-profile h2{color:#642b34}
:root[data-theme="day"] .history-chips span,:root[data-theme="day"] .badge-row span{background:#e3f3f0;border-color:#5d9b94;color:#143e42}
:root[data-theme="day"] .button.ghost{background:#e7f3f1;color:#114b53!important;border:1px solid #4b9191}
:root[data-theme="day"] .radio-body p,:root[data-theme="day"] .paper-diaries p{color:#f1f9fa}
:root[data-theme="day"] .weather-now{background:#18475b;border-color:#91babc}
:root[data-theme="day"] .other-menu>div{background:#fff;border-color:#a7becb}:root[data-theme="day"] .top nav .other-menu>div a{color:#17394a}:root[data-theme="day"] .top nav .other-menu>div a:hover{background:#e4f2ef;color:#07575e}
:root[data-theme="day"] .progress-track{background:#d4e2e7}:root[data-theme="day"] .game-big{background:#edf4f5;color:#17394a;border-color:#82a4af}:root[data-theme="day"] .game-touch.waiting{background:#a05e2d;color:white}:root[data-theme="day"] .game-touch.ready{background:#17734f;color:white}
:root[data-theme="day"] .breath-circle{color:#fff}
.reward-certificate{text-align:center;max-width:850px;margin:25px auto;padding:65px 35px;border:3px double #73ccba;background:linear-gradient(145deg,#1d4663,#165a5d);border-radius:25px}.reward-certificate>span{letter-spacing:.2em;color:#b9f5e0}.reward-certificate h1{font-size:clamp(30px,6vw,58px)}.reward-certificate h2{font-size:clamp(32px,5vw,48px);color:#b9f5e0}.reward-certificate strong{font-size:25px}.reward-certificate p{line-height:1.6}.print-toolbar{display:flex;gap:15px;align-items:center}.print-toolbar>a{color:#a8f6d8}:root[data-theme="day"] .reward-certificate{background:linear-gradient(145deg,#14596a,#116853);color:#fff}:root[data-theme="day"] .reward-certificate h2{color:#fff}:root[data-theme="day"] .print-toolbar>a{color:#075e66}@media print{.top,.other-menu,.print-toolbar,footer,.assistant-fab{display:none!important}.wrap{padding:0;min-height:0}.reward-certificate{color:#17394a!important;background:#fff!important;border-color:#1c7e78;box-shadow:none;margin:0;max-width:none;min-height:80vh}.reward-certificate h2{color:#185e5e!important}}
/* Collezione progressi */
.achievement-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:14px;margin-top:20px}.achievement-card{display:flex;gap:14px;padding:20px;border-radius:18px;border:1px solid #bacbd7;background:#fff;color:#182d40;box-shadow:0 8px 24px rgba(17,41,67,.08)}.achievement-card.achieved{border-color:#1c8b78;background:linear-gradient(145deg,#fff,#e9f7f1)}.achievement-card.locked{opacity:.79}.achievement-card>div{flex:1}.achievement-card strong{font-size:1.08rem}.achievement-card p{font-size:.9rem;margin:.45rem 0}.achievement-card small{font-weight:700}.achievement-icon{font-size:1.8rem}.achievement-card .progress-track{margin-top:10px;height:7px}@media(max-width:600px){.achievement-grid{grid-template-columns:1fr}}

/* Badge leggibili in entrambe le modalita' */
:root[data-theme="night"] .achievement-card{background:#152d40;color:#f3f8fc;border-color:#446579;box-shadow:0 10px 28px rgba(0,0,0,.25)}
:root[data-theme="night"] .achievement-card.achieved{background:linear-gradient(135deg,#154438,#173b52);border-color:#53cba5}
:root[data-theme="night"] .achievement-card p,:root[data-theme="night"] .achievement-card small{color:#d5e8f0}
:root[data-theme="night"] .achievement-card .progress-track{background:#365667}
:root[data-theme="day"] .achievement-card{background:#fff;color:#182d40;border-color:#bacbd7}
:root[data-theme="day"] .achievement-card.achieved{background:linear-gradient(145deg,#fff,#e9f7f1);border-color:#1c8b78}

.memory-symbols{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:clamp(27px,4.2vw,48px);line-height:1.8;letter-spacing:.03em;overflow-wrap:anywhere}.memory-choice{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:2rem;line-height:1}
#memory-question[hidden]{display:none!important}
/* Importi e movimenti: contrasto nei due temi */
.finance-metrics .finance-income{border-color:#4cbb91;background:#123d39}.finance-metrics .finance-expense{border-color:#e78d89;background:#512e40}.finance-metrics .finance-balance{border-color:#8fb5e5;background:#203c62}
.finance-metrics .finance-income strong,.finance-movement.finance-income .finance-amount{color:#9cf2cb}.finance-metrics .finance-expense strong,.finance-movement.finance-expense .finance-amount{color:#ffc4bd}.finance-metrics .finance-balance strong{color:#d5e9ff}
.finance-movement{border-radius:12px;padding:12px;margin:5px 0;border:1px solid transparent;border-left-width:5px;flex-wrap:wrap}.finance-movement.finance-income{background:#173a3b;border-left-color:#5bd3a0}.finance-movement.finance-expense{background:#402d3d;border-left-color:#f39d96}.finance-movement .finance-amount{font-size:1.12rem;white-space:nowrap}
:root[data-theme="day"] .finance-metrics .finance-income{background:#edf9f1;border-color:#27855a}:root[data-theme="day"] .finance-metrics .finance-income strong,:root[data-theme="day"] .finance-movement.finance-income .finance-amount{color:#10663d}
:root[data-theme="day"] .finance-metrics .finance-expense{background:#fff1ef;border-color:#c15e55}:root[data-theme="day"] .finance-metrics .finance-expense strong,:root[data-theme="day"] .finance-movement.finance-expense .finance-amount{color:#a3302b}
:root[data-theme="day"] .finance-metrics .finance-balance{background:#edf4ff;border-color:#4c75b1}:root[data-theme="day"] .finance-metrics .finance-balance strong{color:#244a83}
:root[data-theme="day"] .finance-metrics>div span{color:#294056}:root[data-theme="day"] .finance-movement.finance-income{background:#eef9f2;border-color:#c3e3d0;border-left-color:#26845a}:root[data-theme="day"] .finance-movement.finance-expense{background:#fff2f0;border-color:#efc5c1;border-left-color:#bd544c}
:root[data-theme="night"] .finance-movement strong,:root[data-theme="night"] .finance-movement small{color:#edf7fc}:root[data-theme="day"] .finance-movement strong{color:#173245}:root[data-theme="day"] .finance-movement small{color:#41576a}
/* Giornate del diario */
.journal-history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;border:1px solid #537690;border-radius:12px;margin:10px 0;background:#1d374f}.journal-history-row>a{display:grid;gap:3px;min-width:0;flex:1;color:#eaf9ff}.journal-history-row>a span{font-size:12px;color:#aff0d0}.journal-history-row form,.journal-delete{margin:0!important}.journal-pages{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:18px}.journal-pages a{color:#aff0d0}
:root[data-theme="day"] .journal-history-row{background:#f2f8f9;border-color:#acbfcb}:root[data-theme="day"] .journal-history-row>a{color:#183346}:root[data-theme="day"] .journal-history-row>a span,:root[data-theme="day"] .journal-pages a{color:#096960}
@media(max-width:520px){.journal-history-row{flex-wrap:wrap}.journal-history-row form{width:100%}.journal-pages{flex-wrap:wrap}}
/* Domande rapide di Samanta */
.assistant-quick-title{font-size:1.18rem;margin:25px 0 13px}.assistant-quick-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:10px;margin-bottom:22px}.assistant-quick-grid form{margin:0}.assistant-quick-grid button{display:flex;align-items:center;text-align:left;gap:11px;width:100%;min-height:66px;padding:12px 14px;border:1px solid #6d9caa;border-radius:14px;background:#203d53;color:#f1fbff;font:inherit;cursor:pointer;transition:background .2s,transform .2s}.assistant-quick-grid button:hover,.assistant-quick-grid button:focus-visible{background:#29596b;transform:translateY(-2px);outline:2px solid #9cebd4;outline-offset:2px}.assistant-quick-grid button span{font-size:1.5rem;flex:none}.assistant-quick-grid button b{margin-left:auto;color:#a5f4d5}.assistant-action-link{display:inline-flex;margin-top:16px;text-decoration:none}
:root[data-theme="day"] .assistant-quick-grid button{background:#fff;color:#183a48;border-color:#7aa5ac}:root[data-theme="day"] .assistant-quick-grid button:hover,:root[data-theme="day"] .assistant-quick-grid button:focus-visible{background:#e7f3ef;outline-color:#186e71}:root[data-theme="day"] .assistant-quick-grid button b{color:#135e59}

/* Suggerimenti immediati sotto la ricerca */
.assistant-suggestions{margin-top:16px}.assistant-suggestions>p{margin:0 0 13px;color:#c9e2e9}.assistant-quick-grid a{display:flex;align-items:center;text-align:left;gap:11px;width:100%;min-height:58px;padding:11px 14px;border:1px solid #6d9caa;border-radius:14px;background:#203d53;color:#f1fbff;text-decoration:none;transition:background .2s,transform .2s}.assistant-quick-grid a:hover,.assistant-quick-grid a:focus-visible{background:#29596b;transform:translateY(-2px);outline:2px solid #9cebd4;outline-offset:2px}.assistant-quick-grid a span{font-size:1.5rem;flex:none}.assistant-quick-grid a b{margin-left:auto;color:#a5f4d5}:root[data-theme="day"] .assistant-suggestions>p{color:#28515a}:root[data-theme="day"] .assistant-quick-grid a{background:#fff;color:#183a48;border-color:#7aa5ac}:root[data-theme="day"] .assistant-quick-grid a:hover,:root[data-theme="day"] .assistant-quick-grid a:focus-visible{background:#e7f3ef;outline-color:#186e71}:root[data-theme="day"] .assistant-quick-grid a b{color:#135e59}

/* Collegamento al planning in evidenza prima della sitemap */
.assistant-featured-link{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:16px 0 12px;padding:15px 17px;border:1px solid #78d4af;border-left:5px solid #78d4af;border-radius:12px;background:#183f43;color:#f4fff9!important;text-decoration:none}.assistant-featured-link strong{font-size:1rem}.assistant-featured-link span{font-size:.83rem;color:#bdf4d6}.assistant-featured-link:hover,.assistant-featured-link:focus-visible{background:#205956;outline:2px solid #a5f2d2;outline-offset:2px}:root[data-theme="day"] .assistant-featured-link{background:#e7f7ee;border-color:#248367;color:#174437!important}:root[data-theme="day"] .assistant-featured-link span{color:#195b49}:root[data-theme="day"] .assistant-featured-link:hover,:root[data-theme="day"] .assistant-featured-link:focus-visible{background:#d6efe1;outline-color:#248367}
/* Musica, esportazione calendario: temi giorno e notte */
.music-hub{margin:25px 0;padding:clamp(20px,4vw,34px);border-radius:24px;border:1px solid #618fa2;background:linear-gradient(140deg,#173249,#16464b);color:#f1f8fa}.music-hub-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.music-hub h2{font-size:clamp(24px,3.5vw,35px);margin:8px 0}.music-hub-heading p{color:#d6e8e9}.music-hub-symbol{font-size:65px;color:#a7f0d4}.music-moods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.music-moods article{border:1px solid #76b5ae;border-radius:18px;background:#203e50;padding:20px}.music-moods article>span{font-size:2rem}.music-moods h3{margin:12px 0 5px}.music-moods p{color:#d0e7e8;font-size:.9rem;min-height:40px}.music-moods article div{display:flex;gap:9px;flex-wrap:wrap}.music-service,.music-personal button,.calendar-export-actions a{display:inline-flex;align-items:center;border-radius:10px;border:1px solid #8edbc5;background:#a6edd1;color:#173746!important;text-decoration:none;font-weight:700;padding:9px 12px;cursor:pointer}.music-service:hover,.music-personal button:hover,.calendar-export-actions a:hover{background:#d4ffe9;color:#123a39!important}.music-personal{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:18px;align-items:center;padding:18px;border:1px solid #7da8ab;border-radius:16px;background:#18384a}.music-personal p,.music-disclaimer{color:#d0e7e8;font-size:.88rem}.music-personal form label{display:block;margin-bottom:6px}.music-personal form>div,.music-personal-saved{display:flex;gap:8px}.music-personal input{min-width:0;flex:1;padding:9px;border:1px solid #9dbabc;border-radius:9px;background:#f8fffb;color:#143345}.music-personal-saved button,#music-personal-remove{margin-left:8px}.music-personal small{display:block;margin-top:7px}.music-disclaimer{margin:16px 0 0}.calendar-export{margin:18px 0;padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:15px;border-radius:16px;border:1px solid #73b6ad;background:#1a3e4b}.calendar-export p{margin:6px 0 0;color:#d0e7e8;font-size:.87rem}.calendar-export-actions{display:flex;gap:9px;flex-wrap:wrap;flex:none}
:root[data-theme="day"] .music-hub{background:#fff;border-color:#8dadaf;color:#153747}:root[data-theme="day"] .music-hub-heading p,:root[data-theme="day"] .music-moods p,:root[data-theme="day"] .music-personal p,:root[data-theme="day"] .music-disclaimer{color:#355b65}:root[data-theme="day"] .music-moods article{background:#eef8f5;border-color:#a8c9bf}:root[data-theme="day"] .music-personal{background:#f2f8f6;border-color:#a8c9bf}:root[data-theme="day"] .music-hub-symbol{color:#168067}:root[data-theme="day"] .calendar-export{background:#eef8f5;border-color:#8dafac;color:#183c47}:root[data-theme="day"] .calendar-export p{color:#355b65}
@media(max-width:850px){.music-moods{grid-template-columns:1fr}.music-moods p{min-height:0}.music-personal{grid-template-columns:1fr}.calendar-export{align-items:flex-start;flex-direction:column}.calendar-export-actions{flex:none}}@media(max-width:480px){.music-personal form>div{flex-wrap:wrap}.music-personal input{flex-basis:100%}}
/* Lettore incorporato; week-end e festivita' */
.music-moods .music-pick,.music-personal .music-pick{display:inline-flex;align-items:center;border-radius:10px;border:1px solid #8edbc5;background:#a6edd1;color:#173746;font:inherit;font-weight:700;padding:9px 12px;cursor:pointer}.music-moods .music-secondary{background:#264c58;color:#e9fffc;border-color:#83b8c0}.music-embed-panel{margin:20px 0 0;padding:18px;border-radius:16px;border:1px solid #85bdb3;background:#132c3f}.music-embed-panel[hidden],.music-personal-saved[hidden],#music-personal-saved[hidden]{display:none!important}.music-embed-panel>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:10px}.music-embed-panel h3{margin:5px 0 16px}.music-embed-panel button{padding:9px 12px;border-radius:9px;border:1px solid #93b7b4;background:#245261;color:#f7fffc;cursor:pointer}.music-embed-panel iframe{display:block;width:100%;height:375px;border:0;border-radius:12px;background:#203e4d}.music-embed-panel p{font-size:.85rem;color:#d7e9e8}.music-embed-panel a{color:#aaf1d8}.month-heading.weekend{background:#324a66;color:#e8f2ff}.month-day.weekend,.day.weekend{background:#1e344d;border-color:#608caa}.month-day.holiday,.day.holiday{border-left:4px solid #f0ae75}.holiday-label{display:block;width:fit-content;max-width:100%;padding:4px 7px;margin:4px 0 6px;border-radius:7px;background:#684228;color:#fff2d7;font-size:11px;line-height:1.35;font-weight:700;overflow-wrap:anywhere}.month-day.weekend.current,.day.weekend.current{box-shadow:inset 0 0 0 2px #a4f2d7}
:root[data-theme="day"] .music-moods .music-pick,:root[data-theme="day"] .music-personal .music-pick{background:#c7eedc;color:#164836;border-color:#3a9276}:root[data-theme="day"] .music-moods .music-secondary{background:#e0edf5;color:#23465a;border-color:#7d9eae}:root[data-theme="day"] .music-embed-panel{background:#edf7f5;color:#143643;border-color:#8dafaa}:root[data-theme="day"] .music-embed-panel button{background:#fff;color:#22505c}:root[data-theme="day"] .music-embed-panel p{color:#375b63}:root[data-theme="day"] .music-embed-panel a{color:#086b60}:root[data-theme="day"] .month-heading.weekend{background:#d8e7f4;color:#245073}:root[data-theme="day"] .month-day.weekend,:root[data-theme="day"] .day.weekend{background:#eef5fc;border-color:#9eb9d1}:root[data-theme="day"] .month-day.holiday,:root[data-theme="day"] .day.holiday{border-left-color:#bd6435}:root[data-theme="day"] .holiday-label{background:#fff0de;color:#7b3b17;border:1px solid #d39061}:root[data-theme="day"] .month-day.weekend.current,:root[data-theme="day"] .day.weekend.current{box-shadow:inset 0 0 0 2px #198469}
/* Amministrazione: solo dati aggregati e account */
.admin-hero{padding:clamp(25px,5vw,48px);border:1px solid #77c4b9;border-radius:24px;background:linear-gradient(130deg,#17395a,#125350);color:#f3fffc}.admin-hero h1{font-size:clamp(30px,5vw,48px);margin:8px 0}.admin-hero p{max-width:680px;color:#d2e9e9;line-height:1.65}.admin-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:12px;margin:20px 0}.admin-metrics>div{display:grid;gap:5px;padding:19px;border:1px solid #689fa2;border-radius:17px;background:#1d4051}.admin-metrics span{font-size:.86rem;color:#d2e6e9}.admin-metrics strong{font-size:2rem;color:#b5f2d8}.admin-metrics small{font-size:.76rem;color:#d0e3e8}.admin-panel{margin:20px 0;padding:clamp(18px,3vw,27px);border:1px solid #628b9b;border-radius:20px;background:#193349}.admin-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-section-title h2{margin:6px 0 14px}.admin-chart{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:5px;align-items:end;min-height:155px}.admin-chart-day{display:grid;gap:5px;justify-items:center}.admin-chart-day>div{height:100px;width:100%;display:flex;align-items:end;background:#254657;border-radius:7px 7px 0 0}.admin-chart-day>div span{width:100%;min-height:3px;background:linear-gradient(#9df4c9,#4ab2aa);border-radius:7px 7px 0 0}.admin-chart-day small{font-size:.66rem;color:#c4dce4}.admin-chart-day strong{font-size:.72rem}.admin-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:15px 0}.admin-filters label{display:grid;gap:5px;flex:1;min-width:180px}.admin-filters input,.admin-filters select{padding:10px;background:#0d273b;color:#f5fffc;border:1px solid #789daa;border-radius:8px;width:100%}.admin-filters>a,.admin-pages a{color:#a6f3d7}.admin-user-row{display:grid;grid-template-columns:minmax(0,2fr) auto auto;gap:15px;align-items:center;padding:14px 2px;border-bottom:1px solid #688a9677}.admin-user-row strong,.admin-user-row small{display:block;overflow-wrap:anywhere}.admin-user-row small{font-size:.8rem;color:#cee2e8}.admin-status{padding:6px 10px;border-radius:999px;font-size:.77rem;font-weight:700;white-space:nowrap}.admin-status.verified{background:#164f45;color:#bdf2d8}.admin-status.pending{background:#604620;color:#ffe4a5}.admin-pages{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:17px}
:root[data-theme="day"] .admin-metrics>div,:root[data-theme="day"] .admin-panel{background:#fff;color:#163746;border-color:#abc4cb}:root[data-theme="day"] .admin-metrics span,:root[data-theme="day"] .admin-metrics small,:root[data-theme="day"] .admin-user-row small{color:#365563}:root[data-theme="day"] .admin-metrics strong{color:#10644d}:root[data-theme="day"] .admin-chart-day>div{background:#e5f0f1}:root[data-theme="day"] .admin-chart-day small{color:#355560}:root[data-theme="day"] .admin-filters input,:root[data-theme="day"] .admin-filters select{background:#f8fbfc;color:#163746;border-color:#89aab4}:root[data-theme="day"] .admin-filters>a,:root[data-theme="day"] .admin-pages a{color:#09695a}:root[data-theme="day"] .admin-status.verified{background:#e1f5ea;color:#135b42}:root[data-theme="day"] .admin-status.pending{background:#fff0d3;color:#775016}
@media(max-width:680px){.admin-chart-day small{font-size:.58rem;writing-mode:vertical-rl;transform:rotate(180deg)}.admin-user-row{grid-template-columns:1fr auto}.admin-user-row>small{grid-column:1/-1}.admin-section-title{flex-wrap:wrap}}

.donation-hero{padding:clamp(28px,5vw,55px);border-radius:26px;border:1px solid #80b9ad;background:linear-gradient(120deg,#193b59,#13534f);color:#fff}.donation-hero h1{font-size:clamp(32px,5vw,56px);margin:12px 0}.donation-hero p{max-width:670px;color:#e2f4ef;line-height:1.7}.donation-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:18px;margin-top:20px}.donation-card{padding:clamp(22px,4vw,36px);border:1px solid #64999d;border-radius:22px;background:#193448;color:#f3fffc}.donation-card p{color:#d4e7e9;line-height:1.65}.donation-card h2{margin-top:0}.donation-form{display:grid;justify-items:start;gap:14px;margin:24px 0}.donation-form label{font-weight:700}.donation-form small{color:#bfdde0}.donation-input{display:flex;align-items:center;gap:10px;max-width:220px;padding:0 14px;border-radius:12px;background:#0c263b;border:1px solid #94cbc1;font-size:23px}.donation-input input{width:100%;border:0;background:transparent;color:#fff;font-size:27px;padding:12px 0;outline:none}.donation-aside>span{font-size:50px;color:#8af0c6}.donation-aside a,.supporter-mark a{color:#98f1d1;text-decoration:underline}.supporter-mark{padding:16px 20px;border:1px solid #b9c779;border-radius:13px;background:#405131;color:#f4fbe0}.donation-form button:disabled{opacity:.5;cursor:not-allowed}:root[data-theme="day"] .donation-card{background:#fff;color:#173b46;border-color:#a5c7c7}:root[data-theme="day"] .donation-card p,:root[data-theme="day"] .donation-form small{color:#355763}:root[data-theme="day"] .donation-input{background:#f3faf8;border-color:#568c86}:root[data-theme="day"] .donation-input input{color:#183a42}:root[data-theme="day"] .donation-aside a,:root[data-theme="day"] .supporter-mark a{color:#095d51}:root[data-theme="day"] .supporter-mark{background:#eaf5d9;color:#254d35;border-color:#9bb974}@media(max-width:720px){.donation-layout{grid-template-columns:1fr}}

.admin-user-actions{display:grid;gap:7px;justify-items:end}.admin-user-actions form{margin:0}.admin-action-activate,.admin-action-delete{padding:8px 12px;border-radius:9px;border:1px solid #86c5a9;background:#174a3e;color:#e9fff1;font-weight:700}.admin-delete{max-width:290px;text-align:right}.admin-delete summary{color:#ffbfc7;cursor:pointer;font-size:.83rem}.admin-delete form{display:grid;gap:8px;padding:12px;background:#233a4d;border:1px solid #c88594;border-radius:10px;text-align:left;position:relative;z-index:1}.admin-delete label{display:grid;gap:5px;font-size:.78rem}.admin-delete input{padding:8px;max-width:250px;border-radius:7px;border:1px solid #9ab4bd;background:#102537;color:#fff}.admin-action-delete{background:#882a42;border-color:#dd8da0;color:#fff}:root[data-theme="day"] .admin-delete summary{color:#8b233e}:root[data-theme="day"] .admin-delete form{background:#fff4f3;color:#233941}:root[data-theme="day"] .admin-delete input{background:#fff;color:#173743}@media(max-width:680px){.admin-user-actions{grid-column:1/-1;justify-items:start}.admin-delete{text-align:left}}

.admin-user-row{grid-template-columns:minmax(0,2fr) auto minmax(190px,1fr);align-items:start}.admin-user-actions{justify-items:start;border-left:1px solid #78a6a277;padding-left:15px}.admin-actions-label{color:#b9f1d7!important;font-size:.8rem}.admin-action-activate{cursor:pointer}.admin-delete summary{font-weight:700;color:#ffc2cd}.admin-user-actions small{line-height:1.5}:root[data-theme="day"] .admin-actions-label{color:#146c55!important}@media(max-width:680px){.admin-user-row{grid-template-columns:1fr auto}.admin-user-actions{border-left:0;border-top:1px solid #78a6a277;padding:12px 0 0;width:100%}}
