/* Nessun font remoto: solo font di sistema. */
:root{color-scheme:light;--forest:#173b3c;--ink:#203e3e;--paper:#fffaf0;--cream:#f6ecda;--pale:#e8eddf;--coral:#a65644;--gold:#dcb97b;--line:#ddd4c2;--shadow:0 16px 45px rgba(36,53,45,.11);font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);line-height:1.5}button,input,select{font:inherit}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d39f51;outline-offset:3px}a{color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.15}h1,h2{font-family:Georgia,"Times New Roman",serif;letter-spacing:-.025em}.wrap{width:min(1120px,calc(100% - 40px));margin:auto}
.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{text-decoration:none;font-family:Georgia,serif;font-size:22px;font-weight:700;letter-spacing:-.03em}.brand-icon{color:var(--coral);font-family:system-ui;font-size:29px;vertical-align:-2px}.quiet-link{font-size:14px;font-weight:650;text-underline-offset:5px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.17em;color:var(--coral)}h1{font-size:clamp(2.75rem,5.4vw,5.2rem)}h1 em{font-weight:400;color:var(--coral)}h2{font-size:clamp(2rem,3vw,3rem)}h3{font-size:1.15rem}
.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;text-align:center;min-height:48px;padding:12px 22px;border-radius:999px;border:1px solid transparent;text-decoration:none;font-size:14px;font-weight:750;transition:transform .18s,background-color .18s,color .18s;max-width:100%}.button:hover{transform:translateY(-2px)}.button-primary{background:var(--forest);color:#fff}.button-primary:hover{background:#2a5d54}.button-outline{background:transparent;color:var(--forest);border-color:#99aca0}.button-outline:hover{background:#edf0e8}.button:disabled{opacity:.5}.full{display:flex;width:100%}
.hero{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:55px;padding:45px 0 100px}.hero-copy h1{margin-bottom:25px}.lead{font-size:clamp(1.06rem,1.5vw,1.28rem);line-height:1.65;color:#586965;max-width:560px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0 18px}.micro{font-size:12px;color:#6f817b}
.hero-art{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:end;isolation:isolate;min-height:495px;padding:18px;border-radius:34px;background:radial-gradient(circle at 30% 10%,#557b75,transparent 42%),linear-gradient(155deg,#23525a,#102c38 85%);box-shadow:var(--shadow);color:#ffefc9}.hero-art:before,.hero-art:after{content:"";position:absolute;bottom:-30px;border-radius:50% 50% 0 0;background:#e2ede4;width:115%;height:94px;z-index:2}.hero-art:after{height:56px;background:#f8f6e9;bottom:-45px;left:-30px}.hero-art p{font-family:Georgia,serif;text-align:center;position:relative;z-index:3;font-size:17px;margin:18px 0 30px}.art-moon{font-size:72px;position:absolute;top:36px;right:48px;color:#ffde9c}.art-star{position:absolute;color:#f8e3ab}.art-star.s1{top:70px;left:55px;font-size:26px}.art-star.s2{top:175px;right:45px;font-size:40px}.art-star.s3{top:130px;left:130px;font-size:15px}
.art-house{position:relative;margin-top:110px;width:min(270px,72%);height:255px;background:#a9604c;border:10px solid #eacba5;border-bottom:0;border-radius:13px 13px 0 0;box-shadow:20px 15px 0 rgba(0,0,0,.1)}.art-roof{position:absolute;z-index:2;top:-90px;left:-43px;width:calc(100% + 86px);height:120px;clip-path:polygon(50% 0,100% 83%,96% 100%,50% 23%,4% 100%,0 83%);background:#fbecce}.art-window-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;padding:30px 17px 6px;height:100%;background:repeating-linear-gradient(90deg,transparent 0 45px,rgba(70,35,27,.12) 46px 48px)}.art-window-grid:before{content:"1  ✦  3  4  ✧  6  ✦  8  9  10  ✦  12  13  ✦  15  16  17  ✧  19  20  ✦  22  23  24";white-space:pre-wrap;word-spacing:9px;line-height:2.65;color:#fbe4ac;text-shadow:0 0 12px #f2e4a5}
.steps{padding:45px 0 100px}.section-head{text-align:center;margin-bottom:34px}.step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.step-grid article{background:white;border:1px solid #eee1cd;border-radius:24px;padding:28px}.step-grid span{font-family:Georgia,serif;font-size:34px;color:var(--coral)}.step-grid h3{margin-top:14px}.step-grid p{color:#6a7772;font-size:14px;margin-bottom:0}
.builder-section{background:var(--cream);padding:100px 0}.builder-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:start}.builder-aside{padding-top:30px}.builder-aside p:not(.eyebrow){color:#64736b;font-size:17px}.mini-snow{font-size:35px;color:#ba9d6e;letter-spacing:.25em;margin-top:60px}.builder-card{background:#fff;border:1px solid #ebe0d3;box-shadow:var(--shadow);border-radius:26px;padding:32px}.builder-card h3:not(:first-child){margin-top:28px}.field{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:700;margin-top:14px}.field input,.field select{min-height:45px;padding:9px 13px;border:1px solid #d0d6cf;border-radius:12px;background:#fff;color:var(--ink);min-width:0;width:100%}.field input:focus,.field select:focus{border-color:#a3a45a}.person-fields{border:1px solid #e5ddcd;border-radius:16px;margin:22px 0 0;padding:16px}.person-fields legend{padding:0 7px;font-size:14px;font-weight:800;color:var(--coral)}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.style-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.style-grid label{position:relative;display:block}.style-grid input{position:absolute;opacity:0;inset:0}.style-grid span{display:flex;flex-direction:column;gap:4px;min-height:104px;padding:16px;border-radius:16px;border:2px solid #e4e5df;background:#fff;cursor:pointer}.style-grid small{display:block;color:#65716b;font-size:12px}.style-grid input:checked+span{background:#f2f6ea;border-color:#557b66}.style-grid input:focus-visible+span{outline:3px solid #d39f51;outline-offset:3px}.disclosure{font-size:12px;color:#687571;line-height:1.6;margin:21px 0}.feedback{font-size:14px;font-weight:600;color:#5a6f5c;margin:18px 0 0}.created{margin-top:24px;padding:22px;border-radius:18px;background:#f0f5eb}.created .button{margin-top:9px}.created p{font-size:13px;color:#5e6c65}
.support{padding:62px 0;text-align:center}.support p{color:#60746c}.donation-links{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:22px auto}.support small{color:#697a72}.footer{border-top:1px solid #e6e1d5;display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:24px 0 45px;color:#65746c;font-size:12px}
.calendar-main{padding-top:54px;min-height:70vh}.calendar-main>h1{font-size:clamp(2.5rem,4.5vw,4.2rem);margin-bottom:14px}.calendar-intro{color:#688078}.person-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0 22px}.tab{border:1px solid #b3c4b9;border-radius:999px;background:white;padding:11px 18px;font-weight:700;color:#31574e}.tab.selected{background:var(--forest);color:#fff}.calendar-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:15px;margin-bottom:35px}.day-tile{min-width:0;aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #b5c6b4;border-radius:19px;background:#eff3e8;color:#183e3d;box-shadow:0 5px 14px rgba(20,60,50,.07);transition:transform .18s,background .18s}.day-tile.ready:hover{transform:translateY(-4px);background:#fff5dc}.day-tile.ready{background:#fff0d8;border-color:#dfba7c}.day-tile.locked{opacity:.5;background:#e3e6e1}.day-number{font-family:Georgia,serif;font-size:clamp(24px,3vw,39px);line-height:1.1}.day-symbol{font-size:24px}.day-tile small{font-size:10px;margin-top:5px;font-weight:700}.countdown{display:inline-flex;min-height:38px;align-items:center;background:#e5eee2;border-radius:99px;padding:8px 16px;font-size:13px;font-weight:700}.demo-banner,.creator-panel{padding:20px;border-radius:18px;background:#e8f0e6;margin:20px 0}.creator-panel h2{font-size:21px}.creator-panel .field{max-width:670px}.creator-panel .button{margin-top:11px}.compact{padding:38px 0}
.letter-dialog{width:min(590px,calc(100vw - 22px));max-height:calc(100dvh - 28px);border:0;border-radius:26px;padding:0;background:var(--paper);color:var(--ink);box-shadow:0 22px 80px #132a29a0}.letter-dialog::backdrop{background:rgba(12,28,29,.72)}.letter-inner{position:relative;padding:30px;max-height:calc(100dvh - 28px);overflow-y:auto;text-align:center}.dialog-close{position:absolute;right:16px;top:16px;border:0;border-radius:50%;background:#ece7dc;width:39px;height:39px}.letter-art-icon{font-size:56px;margin:22px auto 14px}.letter-inner h2{font-size:clamp(26px,5vw,37px)}.letter-copy{font-size:17px;line-height:1.8}.mission-box{padding:20px;text-align:left;border-radius:17px;background:#e8eee4;margin:22px 0}.mission-box p{margin-bottom:9px}.mission-box .question{font-size:13px;color:#5c6e62;border-top:1px solid #bacabe;padding-top:12px}.letter-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
@media(max-width:900px){.hero,.builder-layout{grid-template-columns:1fr;gap:38px}.hero{padding-top:20px}.hero-art{max-width:600px;min-height:380px}.art-house{margin-top:105px}.builder-section{padding:60px 0}.builder-aside{padding-top:0}.mini-snow{display:none}.calendar-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:560px){.wrap{width:min(100% - 28px,1120px)}.topbar{height:66px}.brand{font-size:18px}.hero{gap:22px;padding:25px 0 65px}.hero-art{min-height:330px;border-radius:20px}.art-house{transform:scale(.82);transform-origin:bottom;margin-top:45px;margin-bottom:-24px}.hero-art p{font-size:14px}.hero-actions .button{flex:1 1 100%}.step-grid{grid-template-columns:1fr}.steps{padding-bottom:60px}.builder-card{padding:19px;border-radius:20px}.field-grid{grid-template-columns:1fr}.style-grid span{min-height:115px;padding:12px}.calendar-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.day-tile{border-radius:15px}.day-tile small{font-size:9px}.day-symbol{font-size:18px}.calendar-main{padding-top:25px}.letter-inner{padding:25px 18px}.letter-actions .button{flex:1 1 auto}.footer{flex-direction:column}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* Edizione illustrata: scene originali riutilizzabili senza dati personali. */
.hero-art{justify-content:center;padding:18px;gap:0}
.hero-art .hero-illustration{display:block;width:100%;max-width:550px;max-height:385px;object-fit:contain;position:relative;z-index:3;filter:drop-shadow(0 9px 16px rgba(9,26,25,.15))}
.hero-art .art-house,.hero-art .art-moon,.hero-art .art-star{display:none}
.hero-art p{margin:6px 0 20px;color:#fff1cb}
.letter-scene{display:block;width:100%;max-width:420px;height:auto;aspect-ratio:640/390;margin:4px auto 20px;object-fit:contain;border-radius:18px}
.letter-navigation{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:22px;padding-top:16px;border-top:1px solid #dfdbc9}
.letter-navigation .button{min-height:43px;flex:1 1 0;padding:8px 9px;font-size:12px}
.day-tile.favorite.ready{border-color:#c47f68;box-shadow:0 0 0 2px #edc9bd inset}
.day-tile.favorite .day-symbol{color:#a94354}
.day-tile.today.ready{background:#e7f2dc;border-color:#94b18f}
.day-tile:disabled{color:#647973}
.letter-dialog[open]{overscroll-behavior:contain}
.letter-actions{position:sticky;bottom:-30px;background:linear-gradient(to bottom,rgba(255,250,240,.95),#fffaf0);padding:12px 0;z-index:3}
@media(max-width:560px){
 .hero-art{min-height:300px}
 .hero-art .hero-illustration{max-height:260px}
 .hero-art p{margin:0 0 15px}
 .letter-scene{max-height:205px}
 .letter-navigation{gap:6px}
 .letter-actions .button{font-size:13px;padding:10px 12px}
}

.creator-danger{margin-top:24px;padding-top:15px;border-top:1px solid #ccdbc9}
.creator-danger p{color:#6d5c5e;font-size:13px}
.button-danger{border-color:#b98782;color:#913e3e;background:transparent}
.button-danger:hover{background:#fae7e5}

/* Atmosfera scelta: palette tematica con contrasti leggibili. */
body[data-style="sorrisi"]{--forest:#684235;--ink:#543c34;--coral:#a44c3e;--paper:#fff9e9;--cream:#fbeacb;--pale:#faedd3}
body[data-style="emozioni"]{--forest:#484c70;--ink:#353f60;--coral:#886098;--paper:#faf7fd;--cream:#eee6f7;--pale:#ede9f6}
body[data-style="avventura"]{--forest:#214b62;--ink:#1c4256;--coral:#9a663a;--paper:#f5faff;--cream:#e5f1ed;--pale:#e9f2fb}
.day-tile.completed.ready:not(.favorite){border-color:#95a77f}
.letter-actions{gap:8px}
.letter-actions .button{min-height:42px;padding:9px 12px;font-size:13px}
@media(max-width:560px){.letter-actions .button{flex:1 1 42%;min-width:0}}


/* ==========================================
   Edizione atelier 2026 — un regalo, non un formulario.
   Zero asset remoti e movimento disattivabile.
   ========================================== */
[hidden]{display:none!important}
:root{
 --shadow:0 24px 70px rgba(24,50,44,.12);
 --focus-ring:#a26b32;
}
::selection{background:#efdfbb;color:#21433f}
body[data-page="home"]{
 background:
  radial-gradient(ellipse 38% 22% at 99% 1%,rgba(213,174,114,.16),transparent 86%),
  radial-gradient(ellipse 40% 16% at 0% 17%,rgba(137,173,157,.13),transparent 86%),
  var(--paper);
}
body[data-page="home"] .topbar{position:relative;z-index:3}
.brand{display:inline-flex;align-items:center;gap:7px;letter-spacing:-.035em}
.brand-icon{display:inline-grid;place-items:center;width:38px;height:38px;border:1px solid #e6d8ba;border-radius:13px;background:#fff9ed;box-shadow:0 5px 13px rgba(24,50,44,.08);font-size:24px}
.quiet-link{position:relative;font-weight:750}
.quiet-link:hover{color:var(--coral)}
.hero{position:relative;isolation:isolate;padding-top:40px;padding-bottom:106px;gap:clamp(26px,5vw,70px)}
.hero::before{content:"✦";position:absolute;top:15px;left:53%;font-size:22px;color:#d9b47b;opacity:.6;pointer-events:none}
.hero-copy h1{max-width:730px;font-size:clamp(3.1rem,5.8vw,6rem);letter-spacing:-.055em;line-height:1.04}
.hero-copy h1 em{font-style:italic;font-weight:400;color:var(--coral)}
.hero-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:8px 13px;border:1px solid #e7d5bc;border-radius:999px;background:rgba(255,250,239,.92);letter-spacing:.095em;font-size:11px}
.hero-eyebrow span{font-size:16px;color:#c19a54}
.hero-copy .lead{max-width:575px;color:#52665e;line-height:1.7}
.hero-points{display:flex;flex-wrap:wrap;gap:9px 17px;margin:20px 0;font-size:12px;color:#3c6155;font-weight:750}
.hero-points span{display:inline-flex;align-items:center;gap:4px}
.button{transition:transform .22s ease,box-shadow .22s ease,background-color .22s ease,color .22s ease,border-color .22s ease}
.button-primary{background:linear-gradient(125deg,#245b50,#163e3b);box-shadow:0 11px 24px rgba(21,66,56,.19)}
.button-primary:hover{background:linear-gradient(125deg,#307064,#1b5048);box-shadow:0 17px 32px rgba(21,66,56,.25)}
.button-outline{background:rgba(255,255,255,.74);border-color:#adc1b0}
.button-outline:hover{border-color:#7c9f8f;background:#f4f7ed}
.hero-art{min-height:465px;overflow:visible;border-radius:34px;background:
 radial-gradient(circle at 32% 11%,#739e9a 0%,transparent 38%),
 linear-gradient(151deg,#2c6970,#112d43 78%);box-shadow:0 34px 70px rgba(19,56,55,.22);transform:rotate(1deg);transition:transform .35s ease}
.hero-art:hover{transform:rotate(0deg) translateY(-3px)}
.hero-art .hero-illustration{max-height:340px;filter:drop-shadow(0 18px 15px rgba(8,22,31,.25));transform:rotate(-1deg)}
/* Keep decorative snow within the scene so it cannot widen the page. */
.hero-art::before,.hero-art::after{width:100%;left:0}
.hero-art::before{background:#dae5e0;height:72px;bottom:-17px;z-index:1}
.hero-art::after{background:#f4f0e8;bottom:-31px;z-index:1}
.hero-art p{max-width:75%;margin:6px 0 26px;font-size:18px;line-height:1.35;font-weight:600;text-shadow:0 1px 2px #163a42}
.hero-art-badge{position:absolute;top:-16px;left:23px;z-index:4;display:inline-flex;gap:6px;align-items:center;border-radius:999px;padding:11px 16px;background:#fff8e9;border:1px solid #edd7b8;box-shadow:0 10px 24px rgba(20,41,39,.18);font-size:12px;font-weight:800;color:#31564e;transform:rotate(-4deg)}
.hero-art-orbit{position:absolute;z-index:4;pointer-events:none;font-size:28px;color:#ffe9aa;text-shadow:0 0 17px #f7eab5;animation:gentle-twinkle 5s ease-in-out infinite}
.orbit-one{right:-11px;top:65px}
.orbit-two{left:-12px;bottom:86px;animation-delay:-2s;font-size:20px}
@keyframes gentle-twinkle{0%,100%{opacity:.55;transform:translateY(0) scale(.94)}50%{opacity:1;transform:translateY(-7px) scale(1.08)}}

.steps{padding-top:22px}
.section-head .eyebrow{margin-bottom:12px}
.step-grid{gap:18px}
.step-grid article{position:relative;overflow:hidden;border-radius:26px;padding:28px 27px 31px;border:1px solid #ebe1d3;background:linear-gradient(145deg,#fff,#fffaf1);box-shadow:0 11px 32px rgba(27,45,37,.055);transition:transform .2s ease,box-shadow .2s ease}
.step-grid article:hover{transform:translateY(-5px);box-shadow:0 18px 42px rgba(27,45,37,.11)}
.step-grid .step-icon{display:inline-grid;place-items:center;width:51px;height:51px;border-radius:17px;background:#f3ecdd;font-size:24px;color:#3d5c51}
.step-grid .step-number{position:absolute;right:20px;top:14px;font-family:Georgia,serif;font-size:52px;letter-spacing:-.07em;color:#e5dbc6;opacity:.6}
.step-grid h3{margin-top:20px;color:#24483f}
.step-grid p{line-height:1.75}

.builder-section{position:relative;overflow:hidden;background:linear-gradient(143deg,#f3e8d5 0%,#edf1e7 48%,#f9f0e3 100%);padding:100px 0 112px}
.builder-section::before{content:"✧";position:absolute;left:-13px;top:12px;font-size:150px;color:#d4c6a7;opacity:.17;pointer-events:none}
.builder-section::after{content:"✦";position:absolute;right:2%;bottom:6px;font-size:86px;color:#d0b8a0;opacity:.19;pointer-events:none}
.builder-layout{position:relative;z-index:1;gap:clamp(30px,5vw,78px)}
.builder-aside{position:sticky;top:30px}
.builder-aside h2 em{font-style:italic;color:#a45e48;font-weight:400}
.builder-aside>p:not(.eyebrow){line-height:1.75}
.builder-perks{display:flex;flex-direction:column;gap:16px;margin:33px 0 8px;font-size:14px;font-weight:700;color:#386357}
.builder-perks span{border-bottom:1px solid rgba(51,99,78,.12);padding-bottom:12px}
.builder-card{border:1px solid rgba(255,255,255,.94);border-radius:30px;padding:clamp(20px,3vw,36px);box-shadow:0 26px 68px rgba(49,64,49,.14);background:rgba(255,255,253,.95)}
.person-fields{border-radius:20px;background:#fcfbf7;border-color:#e6e0d3}
.person-fields legend{font-size:14px}
.field input,.field select{border-radius:13px;min-height:49px;transition:border-color .2s,box-shadow .2s}
.field input:focus,.field select:focus{border-color:#557e6c;box-shadow:0 0 0 3px rgba(85,126,108,.1);outline:none}
.field input:focus-visible,.field select:focus-visible{outline:2px solid #b39161;outline-offset:2px}
.style-grid{gap:12px}
.style-grid span{border-radius:18px;background:#fbfaf7;border-color:#e9e7df;transition:transform .18s,border-color .18s,background-color .18s,box-shadow .18s}
.style-grid label:hover span{transform:translateY(-2px);box-shadow:0 7px 18px rgba(41,65,49,.07)}
.style-grid input:checked+span{border-color:#377d6a;background:#edf5ee;box-shadow:inset 0 0 0 1px #377d6a}
.disclosure{margin:24px 0;line-height:1.75}
#submit-calendar{min-height:55px;font-size:15px}
.created{position:relative;overflow:hidden;margin-top:26px;padding:26px 23px;border-radius:23px;border:1px solid #d7e5d2;background:linear-gradient(145deg,#f4f9ef,#fffaf0);box-shadow:0 10px 26px rgba(47,89,61,.09);animation:gift-reveal .55s ease both}
.created::before{content:"";position:absolute;right:-47px;top:-52px;width:155px;height:155px;border-radius:50%;background:radial-gradient(circle,#eed6a5,transparent 70%);opacity:.65;pointer-events:none}
.created-celebration{font-size:36px;letter-spacing:.12em;margin-bottom:10px;line-height:1.3}
.created-celebration span{color:#bd8b48}
.created .eyebrow{margin-bottom:6px}
.created h3{font-family:Georgia,serif;font-size:clamp(26px,3vw,34px);margin-bottom:12px;line-height:1.15;letter-spacing:-.025em}
.created>p:not(.eyebrow){font-size:14px;line-height:1.7}
.created label{position:relative}
.created label input{background:#fff}
.created .button{margin-top:12px}
@keyframes gift-reveal{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}

.post-create-support{position:relative;display:grid;grid-template-columns:auto 1fr;align-items:start;gap:19px;margin-top:28px;padding:23px;border:1px solid #e9d5af;border-radius:22px;background:linear-gradient(125deg,#fffaf2,#f6eada);box-shadow:inset 0 1px 0 #fff8e9}
.post-create-support::after{content:"✧";position:absolute;top:4px;right:15px;font-size:28px;color:#dab27a;opacity:.6;pointer-events:none}
.support-icon{width:53px;height:53px;display:grid;place-items:center;border-radius:18px;background:#fff;border:1px solid #eadbbd;font-size:28px;box-shadow:0 6px 15px rgba(52,57,38,.075)}
.support-content{min-width:0}
.support-content .eyebrow{font-size:10px;margin:0 0 7px;color:#955e3e}
.support-content h4,.support-content h2{margin-bottom:10px;font-family:Georgia,serif;font-size:clamp(21px,2.6vw,29px);letter-spacing:-.025em;color:#334f44}
.support-content>p:not(.eyebrow){line-height:1.65;color:#5a6d61;font-size:13px}
.post-create-support .donation-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:19px 0 11px}
.donation-choice{display:inline-flex;align-items:center;justify-content:center;min-height:47px;border:1px solid #c1cbb7;border-radius:13px;background:#fffefa;white-space:nowrap;text-align:center;padding:9px 8px;color:#24544a;text-decoration:none;font-size:13px;font-weight:800;transition:transform .17s,background-color .17s,border-color .17s,box-shadow .17s}
.donation-choice:hover{transform:translateY(-2px);background:#eef4e8;border-color:#659280;box-shadow:0 7px 15px rgba(44,81,56,.1)}
.donation-choice:focus-visible{outline:3px solid #b39161;outline-offset:2px}
.donation-choice.donation-featured{background:#245a4e;color:white;border-color:#245a4e;box-shadow:0 5px 13px rgba(33,78,68,.17)}
.donation-choice.donation-featured:hover{background:#367464}
.post-create-support .support-fineprint{font-size:11px;color:#6d756a;margin:0 0 8px}
.support-dismiss{border:0;background:none;color:#696f66;text-decoration:underline;text-underline-offset:3px;font-size:12px;padding:4px 0}
.support-dismiss:hover{color:#315a4b}
.calendar-support{max-width:820px;margin:42px auto 50px;text-align:left}
.calendar-support .donation-links{justify-content:start}
.calendar-support .support-content h2{font-size:clamp(21px,3vw,29px)}

.footer{padding-top:30px;padding-bottom:40px;align-items:center;gap:16px;border-top:1px solid #e3ddcd}
.footer-credit{font-size:13px;font-weight:650}
.footer-credit a{display:inline-flex;align-items:center;gap:3px;text-decoration:none;color:#245d50;font-size:14px;font-weight:850;text-underline-offset:4px;border-bottom:1px solid rgba(36,93,80,.25);transition:color .2s,border-color .2s}
.footer-credit a:hover{color:#a65644;border-color:#a65644}

body[data-page="calendar"]{background:radial-gradient(ellipse 60% 14% at 50% 0%,rgba(215,190,146,.16),transparent 100%),var(--paper)}
.calendar-main{padding-top:36px}
.calendar-main>h1{letter-spacing:-.043em}
.calendar-storyline{display:inline-flex;gap:9px;align-items:center;margin:6px 0 6px;font-family:Georgia,serif;font-size:13px;color:#977e62}
.calendar-storyline span{color:#c7a16f}
.day-tile{box-shadow:0 10px 22px rgba(26,58,45,.07);position:relative;overflow:hidden;transition:transform .23s ease,box-shadow .23s ease,border-color .23s}
.day-tile.ready{background:linear-gradient(145deg,#fff3dd,#f6e0bb)}
.day-tile.ready:hover{transform:translateY(-5px) rotate(-1deg);box-shadow:0 17px 32px rgba(40,59,40,.13)}
.day-tile.ready::after{content:"✦";position:absolute;top:7px;right:10px;font-size:10px;color:#cea574;opacity:.52}
.day-tile.locked{background:linear-gradient(145deg,#eaf0e9,#dce3dc);opacity:.66}
.tab{transition:background .2s,transform .2s}
.tab:hover{transform:translateY(-2px)}
.letter-dialog{border:1px solid #eee6d9}
.letter-scene{box-shadow:0 8px 23px rgba(36,54,43,.08)}

@media(max-width:900px){
 .builder-aside{position:static}
 .hero-art{max-width:620px;margin:auto;transform:none;min-height:390px}
 .hero-art:hover{transform:translateY(-3px)}
 .hero{gap:28px}
 .builder-section{padding:75px 0}
}
@media(max-width:560px){
 .hero{padding:22px 0 62px;gap:27px}
 .hero-copy h1{font-size:clamp(2.6rem,11vw,3.8rem)}
 .hero-art{min-height:285px}
 .hero-art .hero-illustration{max-height:240px}
 .hero-art-badge{left:11px;top:-14px;padding:9px 12px;font-size:11px}
 .hero-points{gap:7px 13px}
 .hero-points span{font-size:11px}
 .steps{padding-top:10px;padding-bottom:72px}
 .step-grid article{padding:23px}
 .builder-section{padding:64px 0 72px}
 .builder-perks{margin-top:18px}
 .builder-card{padding:19px;border-radius:23px}
 .created{padding:22px 16px}
 .post-create-support{grid-template-columns:1fr;gap:13px;padding:19px 14px}
 .support-icon{width:44px;height:44px;font-size:24px}
 .post-create-support .donation-links{grid-template-columns:repeat(2,minmax(0,1fr))}
 .donation-choice{font-size:12px;min-height:45px}
 .footer{padding:26px 0 35px}
 .calendar-storyline{margin-bottom:9px}
 .calendar-support{padding:19px}
}
@media(prefers-reduced-motion:reduce){
 .hero-art,.hero-art:hover{transform:none}
 .hero-art-orbit{animation:none}
 .created{animation:none}
 .step-grid article:hover,.day-tile.ready:hover{transform:none}
}


/* Anteprima immediata dell'atmosfera scelta, senza generazioni esterne. */
.tone-preview{display:grid;grid-template-columns:40px minmax(0,1fr);gap:13px;align-items:start;padding:16px 17px;margin-top:17px;background:linear-gradient(120deg,#f5f8f1,#fffaf0);border:1px solid #d8e4d4;border-radius:18px;min-height:110px}
.tone-preview-icon{display:grid;place-items:center;border-radius:12px;background:#fff;border:1px solid #e5decf;font-size:21px;min-height:40px}
.tone-preview .tone-preview-label{margin:3px 0 6px;font-size:10px;font-weight:850;letter-spacing:.1em;color:#7b6b4f}
.tone-preview #tone-preview-text{font-size:13px;line-height:1.6;font-weight:550;color:#425e51;margin:0}
body[data-style="sorrisi"] .tone-preview{background:linear-gradient(120deg,#fff4df,#fbeadc);border-color:#efd9af}
body[data-style="emozioni"] .tone-preview{background:linear-gradient(120deg,#f3ebf7,#fff9fc);border-color:#e5d9ef}
body[data-style="avventura"] .tone-preview{background:linear-gradient(120deg,#e7f2f3,#f5f9f4);border-color:#c4dedb}
body[data-style="sorrisi"] .tone-preview #tone-preview-text{color:#664737}
body[data-style="emozioni"] .tone-preview #tone-preview-text{color:#4f4b6c}
body[data-style="avventura"] .tone-preview #tone-preview-text{color:#285669}


/* Locale switcher and independent creative direction for each recipient. */
.topbar{gap:14px}
.language-picker{display:inline-flex;align-items:center;gap:8px;margin-left:auto;font-size:12px;font-weight:750;color:#57756b}
.language-picker select{border:1px solid #bed0c5;border-radius:999px;background:#fffef9;min-height:38px;padding:8px 30px 8px 11px;color:#234d43;cursor:pointer;font-size:13px;font-weight:750}
.language-picker select:focus-visible{outline:3px solid #b39161;outline-offset:2px}
.person-style-field{margin-top:19px;padding-top:18px;border-top:1px solid #e4e5dd}
.person-style-field select{font-weight:700}
.person-tone-note{padding:9px 12px;margin:8px 0 0;border-radius:12px;background:#f0f6e8;font-size:12px;font-weight:700;color:#3f695b}
.person-fields[data-style="sorrisi"] .person-tone-note{background:#fff1dd;color:#835539}
.person-fields[data-style="emozioni"] .person-tone-note{background:#f2eaf7;color:#68577e}
.person-fields[data-style="avventura"] .person-tone-note{background:#e6f1f6;color:#35687b}
.style-hint{font-size:13px;color:#51675d;line-height:1.65;background:#f4f7ef;border-left:3px solid #cbaa6d;padding:12px 14px;margin:25px 0 10px;border-radius:0 12px 12px 0}
@media(max-width:580px){
 .topbar{gap:7px}
 .topbar .brand{font-size:16px}
 .language-picker{gap:3px}
 .language-picker>span{display:none}
 .language-picker select{padding:7px 24px 7px 7px;min-height:36px;font-size:12px}
 .topbar .quiet-link{font-size:12px;white-space:normal;min-width:0;text-align:right;line-height:1.15}
}


/* Personal story mode: progressive enhancement, no login and no external API. */
.personal-touch{margin:18px 0 6px;padding:18px;border:1px solid #d9e0d9;border-radius:18px;background:linear-gradient(150deg,#fffefb,#f6f8f1)}
.personal-title{font-size:17px;line-height:1.35;margin:0 0 12px;color:#214940}
.personal-touch .field select{font-size:14px}
.personal-details{padding-top:14px}
.personal-details[hidden],.personal-preview[hidden]{display:none!important}
.personal-details .special-field{display:flex;flex-direction:column;margin-bottom:12px;gap:6px}
.personal-details .special-field textarea{resize:vertical;min-height:72px;font-family:inherit;line-height:1.5}
.personal-details .special-field input,.personal-details .special-field select,.personal-details .special-field textarea{width:100%;min-width:0}
.special-help{display:block;color:#60746b;font-size:12px;line-height:1.45;font-weight:400}
.special-privacy{font-size:12px;color:#577064;line-height:1.55;padding:8px 11px;background:#eff5ec;border-radius:9px}
.personal-preview-button{margin:10px 0 5px;width:100%}
.personal-preview{margin:14px 0 0;display:grid;gap:12px}
.personal-preview h5{font-size:15px;margin:0}
.personal-preview-card{border:1px solid #dde1d9;border-radius:14px;padding:14px;background:#fff;box-shadow:0 4px 14px #17433509}
.personal-preview-card strong{display:block;color:#1e5349;font-size:13px;margin-bottom:7px}
.personal-preview-card p{font-size:14px;line-height:1.65;white-space:pre-line;margin:0;color:#36544a;overflow-wrap:anywhere}
@media(max-width:580px){.personal-touch{padding:14px}.personal-preview-card{padding:12px}}

/* Preserve line breaks in the sender's original December 24 dedication. */
#letter-text{white-space:pre-line;overflow-wrap:anywhere}


/* Business support link: a lone CTA must never occupy one quarter of
   the former four-amount grid. Keep it readable at narrow mobile widths. */
.post-create-support .donation-links[data-layout="single"],
.calendar-support .donation-links[data-layout="single"]{
 display:flex;
 flex-wrap:wrap;
 align-items:stretch;
 justify-content:flex-start;
 gap:10px;
 margin:20px 0 14px;
}
.post-create-support .donation-links[data-layout="single"] .donation-choice,
.calendar-support .donation-links[data-layout="single"] .donation-choice{
 display:inline-flex;
 box-sizing:border-box;
 width:min(100%,330px);
 max-width:100%;
 min-width:0;
 min-height:52px;
 padding:13px 20px;
 font-size:14px;
 line-height:1.4;
 white-space:normal;
 overflow-wrap:anywhere;
 text-align:center;
}
@media(max-width:520px){
 .post-create-support .donation-links[data-layout="single"] .donation-choice,
 .calendar-support .donation-links[data-layout="single"] .donation-choice{
  width:100%;
  padding:14px 16px;
 }
}


/* One-time, creator-only support invitation: native modal accessibility and
   a mobile bottom sheet. No checkout or account is required to dismiss it. */
.support-dialog:not([open]){display:none}
.support-dialog[open]{
 box-sizing:border-box;
 position:fixed;
 inset:auto 0 0;
 margin:0 auto;
 width:min(100%,540px);
 max-width:100%;
 max-height:min(84dvh,720px);
 max-height:min(84svh,720px);
 overflow-x:hidden;
 overflow-y:auto;
 overscroll-behavior:contain;
 padding:0;
 border:0;
 border-radius:26px 26px 0 0;
 background:#fffaf1;
 color:#294d40;
 box-shadow:0 -18px 65px rgba(9,37,31,.23);
}
.support-dialog::backdrop{background:rgba(8,31,30,.57);backdrop-filter:blur(2px)}
.support-grip{width:44px;height:5px;border-radius:6px;margin:12px auto 3px;background:#d7c9b4}
.support-dialog-close{
 position:absolute;
 z-index:3;
 top:15px;
 right:16px;
 display:grid;
 place-items:center;
 width:42px;
 height:42px;
 padding:0;
 border:1px solid #d7c9b4;
 border-radius:50%;
 background:#fff;
 color:#355347;
 font-size:19px;
 cursor:pointer;
}
.support-dialog-close:hover{background:#f5ebdf}
.support-dialog-close:focus-visible{outline:3px solid #bf935e;outline-offset:3px}
.support-sheet-content.post-create-support{
 margin:0;
 padding:12px 25px max(25px,env(safe-area-inset-bottom));
 display:grid;
 grid-template-columns:1fr;
 gap:8px;
 background:transparent;
 border:0;
 box-shadow:none;
}
.support-sheet-content.post-create-support::after{top:4px;right:78px}
.support-sheet-content .support-icon{width:44px;height:44px;font-size:21px}
.support-sheet-content .support-content h4{max-width:380px;font-size:clamp(24px,6vw,30px);line-height:1.15;margin:7px 0 11px}
.support-sheet-content .support-content>p:not(.eyebrow){font-size:14px;line-height:1.55}
.support-sheet-content .donation-links[data-layout="multiple"]{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:10px;
 margin:18px 0 14px;
}
.support-sheet-content .donation-choice{
 box-sizing:border-box;
 width:100%;
 min-width:0;
 min-height:55px;
 padding:12px;
 font-size:15px;
 white-space:normal;
 overflow-wrap:anywhere;
}
.support-sheet-content .support-fineprint{
 color:#69786a;
 font-size:11px;
 line-height:1.5;
 text-align:center;
}
.support-sheet-content .support-dismiss{
 display:block;
 width:100%;
 padding:12px 6px;
 margin-top:5px;
 color:#41594f;
 font-size:14px;
 font-weight:700;
 text-align:center;
}
.support-sheet-content .donation-links[data-layout="single"] .donation-choice{width:100%}
@media(min-width:700px){
 .support-dialog[open]{inset:0;margin:auto;max-height:min(84vh,740px);border-radius:26px;box-shadow:0 25px 95px rgba(9,37,31,.24)}
 .support-grip{display:none}
 .support-sheet-content.post-create-support{padding:32px}
 .support-dialog-close{top:13px}
}
@media(max-width:399px){
 .support-sheet-content.post-create-support{padding:10px 17px max(18px,env(safe-area-inset-bottom))}
 .support-sheet-content .support-content h4{font-size:24px}
}

/* Compact opt-in support inside the private creator tools, not after 24 doors. */
.creator-support-details{
 margin:20px 0;
 padding:0;
 border:1px solid #c7d8c8;
 border-radius:17px;
 background:#fcfdf7;
 text-align:left;
 overflow:hidden;
}
.creator-support-details[hidden]{display:none}
.creator-support-details>summary{
 display:flex;
 align-items:center;
 gap:12px;
 padding:15px 14px;
 cursor:pointer;
 list-style:none;
 color:#28554b;
}
.creator-support-details>summary::-webkit-details-marker{display:none}
.creator-support-details>summary:focus-visible{outline:3px solid #a58457;outline-offset:-3px}
.creator-support-icon{
 width:42px;
 height:42px;
 flex:none;
 display:grid;
 place-items:center;
 border-radius:13px;
 background:#f8ead6;
 font-size:21px;
}
.creator-support-summary-text{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}
.creator-support-summary-text strong{font-size:14px;line-height:1.4}
.creator-support-summary-text small{font-size:12px;font-weight:400;line-height:1.5;color:#668079}
.creator-support-arrow{font-size:20px;line-height:1;transition:transform .16s}
.creator-support-details[open] .creator-support-arrow{transform:rotate(180deg)}
.creator-support-details .calendar-support.post-create-support{
 margin:0;
 padding:18px 14px 16px;
 display:block;
 border:0;
 border-top:1px solid #e3e9d9;
 border-radius:0;
 background:transparent;
 box-shadow:none;
}
.creator-support-details .calendar-support.post-create-support::after{display:none}
.creator-support-details .calendar-support .donation-links{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:9px;
 margin:16px 0 12px;
}
.creator-support-details .calendar-support .donation-links[data-layout="single"]{display:flex}
.creator-support-details .calendar-support .donation-choice{
 min-width:0;
 min-height:51px;
 font-size:13px;
 padding:10px 6px;
 white-space:normal;
}
.creator-support-details .calendar-support .support-content h2{font-size:20px;line-height:1.3}
@media(prefers-reduced-motion:reduce){
 .creator-support-arrow{transition:none}
 .support-dialog::backdrop{backdrop-filter:none}
}


/* A gift-like, one-question-at-a-time journey on touch devices only.
   Desktop and keyboard-only narrow browsers retain the familiar full form. */
.wizard-chrome,.wizard-actions,.wizard-choices{display:none}
@media (max-width:700px) and (pointer:coarse){
 .wizard-active [data-wizard-hidden="1"],.wizard-finished [data-wizard-hidden="1"]{display:none!important}
 .wizard-active .wizard-chrome{display:block;margin:-4px 0 25px}
 .wizard-topline{display:flex;align-items:center;gap:10px;color:#547164;font-size:12px;font-weight:800;letter-spacing:.045em}
 .wizard-sparkle{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;color:#8e5d30;background:#f6e6c8;font-size:20px}
 .wizard-progress{height:8px;border-radius:20px;overflow:hidden;background:#e4e8de;margin:15px 0 26px}
 .wizard-progress>span{display:block;height:100%;border-radius:20px;background:linear-gradient(100deg,#c9a46b,#548977);transition:width .28s ease}
 .wizard-person{font-size:12px;font-weight:800;color:#9b7350;letter-spacing:.08em;text-transform:uppercase;margin:0 0 9px}
 .wizard-question{font-family:Georgia,serif;font-weight:600;font-size:clamp(27px,8vw,36px);line-height:1.18;letter-spacing:-.025em;color:#254b41;margin:0}
 .wizard-question:focus-visible{outline:3px solid #c29c5b;outline-offset:4px;border-radius:4px}
 .wizard-helper{min-height:16px;margin:9px 0 0;color:#697970;font-size:13px}
 .wizard-active .person-fields{margin:0;padding:5px 0 0;border:0;background:transparent}
 .wizard-active .person-fields>legend{display:none}
 .wizard-active .person-fields .field,.wizard-active>.field{font-size:14px;font-weight:750;color:#36584b;margin:8px 0 0}
 .wizard-active .field input,.wizard-active .field textarea{min-height:56px;font-size:17px;padding:14px;border:1.5px solid #c7d7cb;background:#fffefb;border-radius:17px}
 .wizard-active .field textarea{min-height:125px;line-height:1.6}
 .wizard-active .wizard-native-select{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;min-width:1px!important;height:1px!important;min-height:1px!important;padding:0!important;border:0!important}
 .wizard-active .wizard-choices:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 0}
 .wizard-option{min-width:0;min-height:65px;border:1.5px solid #e4d9ca;border-radius:17px;padding:13px 12px;text-align:left;background:linear-gradient(135deg,#fffdf8,#f9f6f0);color:#2d5349;font-size:14px;line-height:1.4;font-weight:700;font-family:inherit;cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s;overflow-wrap:anywhere}
 .wizard-option.selected{border-color:#4b806d;background:linear-gradient(135deg,#e6f2e7,#f7f4e3);box-shadow:0 5px 18px rgba(31,80,58,.1)}
 .wizard-option.selected::after{content:" ✓";color:#246b50;font-weight:900}
 .wizard-option:focus-visible,.wizard-actions button:focus-visible,.wizard-edit:focus-visible{outline:3px solid #c29c5b;outline-offset:3px}
 .wizard-option:active{transform:scale(.98)}
 .wizard-active .person-tone-note{margin:12px 0 0}
 .wizard-active .style-hint{margin:14px 0 0}
 .wizard-active .personal-touch{background:transparent;border:0;padding:0;margin:6px 0}
 .wizard-active .personal-touch .personal-title{font-size:13px;font-weight:700;color:#81664c;margin-bottom:10px}
 .wizard-active .wizard-actions{display:flex;align-items:center;gap:10px;position:sticky;bottom:0;z-index:8;margin:26px -19px -19px;padding:14px 19px max(17px,env(safe-area-inset-bottom));background:rgba(255,254,251,.97);backdrop-filter:blur(14px);border-top:1px solid #e9e0d5;border-radius:0 0 22px 22px}
 .wizard-actions button{min-height:54px;border-radius:15px;font-size:15px;font-weight:850;cursor:pointer}
 .wizard-back{background:#fff;color:#486c60;border:1px solid #cbd8d0;padding:10px 16px}
 .wizard-next{background:#24594b;color:#fff;border:0;flex:1;padding:10px 18px;box-shadow:0 7px 20px rgba(25,84,61,.18)}
 .wizard-back[hidden],.wizard-next[hidden]{display:none!important}
 .wizard-review:not([hidden]){display:block;margin:15px 0 8px}
 .wizard-review-lead{font-size:14px;line-height:1.6;color:#5b7769}
 .wizard-person-summary{padding:16px;margin:12px 0;background:#f7f7ef;border:1px solid #e2e8dc;border-radius:18px;overflow-wrap:anywhere}
 .wizard-summary-head{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#2c5a4d}
 .wizard-person-summary p{font-size:13px;line-height:1.6;color:#5b7067;margin:7px 0 0}
 .wizard-person-summary small{display:block;margin-top:7px}
 .wizard-edit{border:1px solid #bed1c5;background:#fff;color:#326f5a;border-radius:999px;min-height:38px;padding:7px 13px;font-weight:750}
 .wizard-active #submit-calendar:not([data-wizard-hidden]){display:block!important;margin-top:18px;min-height:57px}
 .wizard-active .disclosure{margin:19px 0 10px}
 .wizard-finished .wizard-chrome,.wizard-finished .wizard-actions,.wizard-finished .wizard-choices,.wizard-finished .wizard-review{display:none!important}
}
@media (prefers-reduced-motion:reduce){.wizard-progress>span,.wizard-option{transition:none!important}}


/* Immersive mobile creation: the landing remains light and the existing
   accessible form becomes a true full-viewport experience on touch devices. */
.wizard-open-trigger,.wizard-full-toolbar{display:none}
@media (max-width:700px) and (pointer:coarse){
 .builder-card[data-wizard-pending="1"]{display:none!important}
 .wizard-open-trigger{display:block;width:100%;min-height:64px;padding:16px 20px;border:0;border-radius:20px;background:linear-gradient(115deg,#205a4a,#337e66);color:#fff;font-family:inherit;font-size:17px;line-height:1.3;font-weight:800;box-shadow:0 14px 25px rgba(19,83,62,.22);cursor:pointer}
 .wizard-open-trigger:focus-visible{outline:3px solid #c6984c;outline-offset:4px}
 html.wizard-page-locked{overflow:hidden!important;overscroll-behavior:none}
 body.wizard-page-locked{position:fixed;left:0;right:0;width:100%;overflow:hidden!important}
 form.builder-card.wizard-overlay{
   box-sizing:border-box;display:flex!important;flex-direction:column;
   position:fixed!important;inset:0!important;z-index:9999;
   width:100%;height:100vh;height:100dvh;max-width:none;max-height:none;
   margin:0!important;padding:0 20px calc(108px + env(safe-area-inset-bottom))!important;
   overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;
   border:0;border-radius:0;box-shadow:none;
   background:radial-gradient(circle at 88% 13%,rgba(248,223,179,.65),transparent 36%),linear-gradient(150deg,#fffbf3,#f1f6ed 60%,#eaf4ec);
   -webkit-overflow-scrolling:touch;
 }
 .wizard-overlay .wizard-full-toolbar{
   display:flex;align-items:center;justify-content:space-between;gap:9px;
   position:sticky;top:0;z-index:12;min-height:66px;
   margin:0 -20px 0;padding:calc(9px + env(safe-area-inset-top)) 18px 9px;
   background:rgba(255,251,245,.95);border-bottom:1px solid rgba(99,111,84,.12);
   backdrop-filter:blur(15px);
 }
 .wizard-full-brand{flex:1;min-width:0;font-weight:850;font-size:14px;letter-spacing:-.025em;color:#275a4a}
 .wizard-full-language{font-size:12px;font-weight:800;color:#376456;background:#f6f9f2;border:1px solid #cbdbce;border-radius:11px;padding:9px;min-height:41px}
 .wizard-full-close{width:43px;height:43px;display:grid;place-items:center;border-radius:15px;border:1px solid #decfc0;background:#fffaf1;color:#5e695e;font-size:20px;cursor:pointer}
 .wizard-overlay .wizard-chrome{
   display:block;position:relative;z-index:1;
   margin:clamp(23px,5dvh,43px) 0 18px;padding:0;background:transparent;
 }
 .wizard-overlay .wizard-topline{font-size:13px;gap:12px}
 .wizard-overlay .wizard-sparkle{width:42px;height:42px;border-radius:15px;background:#f3dfbc;font-size:25px}
 .wizard-overlay .wizard-progress{height:7px;margin:19px 0 28px}
 .wizard-overlay .wizard-person{font-size:12px;margin-bottom:12px;color:#b17c50}
 .wizard-overlay .wizard-question{font-size:clamp(30px,8.5vw,43px);max-width:560px;line-height:1.16;letter-spacing:-.035em}
 .wizard-overlay .wizard-helper{font-size:13px;margin-top:12px}
 .wizard-overlay .wizard-choices:not([hidden]){gap:12px;margin:16px 0 9px}
 .wizard-overlay .wizard-option{
   min-height:70px;border-radius:19px;font-size:15px;
   padding:13px 14px;background:#fffdfa;
   box-shadow:0 7px 20px rgba(33,65,49,.035);
 }
 .wizard-overlay .wizard-option.selected{background:linear-gradient(150deg,#e5f3e5,#f9f5e8);box-shadow:0 8px 18px rgba(43,99,73,.09)}
 .wizard-overlay .person-fields,.wizard-overlay #people-forms{flex-shrink:0}
 .wizard-overlay .field input,.wizard-overlay .field textarea{background:#fffefb;font-size:17px}
 .wizard-overlay .wizard-review{max-width:620px;width:100%;margin:4px auto}
 .wizard-overlay .wizard-person-summary{background:#fffefa;box-shadow:0 7px 18px rgba(43,99,73,.04)}
 .wizard-overlay .wizard-actions{
   display:flex;position:fixed!important;left:0;right:0;bottom:0;z-index:25;
   max-width:none;margin:0!important;padding:13px 20px calc(16px + env(safe-area-inset-bottom))!important;
   background:rgba(255,253,246,.96);border-top:1px solid #dde7dc;border-radius:0;
   box-shadow:0 -12px 30px rgba(31,66,52,.06);
   backdrop-filter:blur(15px)
 }
 .wizard-overlay .wizard-actions .wizard-next{background:linear-gradient(115deg,#22654e,#34876b);min-height:55px;border-radius:16px;font-size:16px}
 .wizard-overlay .wizard-actions .wizard-back{min-height:55px;border-radius:16px}
 .wizard-overlay .wizard-actions #submit-calendar:not([data-wizard-hidden]){flex:1;margin:0!important;min-height:55px!important;font-size:15px!important}
 .wizard-overlay.wizard-finished{padding-bottom:calc(35px + env(safe-area-inset-bottom))!important}
 .wizard-overlay.wizard-finished #created{flex-shrink:0;margin-top:28px;border-radius:25px;background:#fffdf8;box-shadow:0 15px 45px rgba(40,90,65,.08)}
 .wizard-overlay.wizard-finished .wizard-chrome,.wizard-overlay.wizard-finished .wizard-actions{display:none!important}
 .wizard-overlay .wizard-choices,.wizard-overlay .wizard-review{animation:wizard-enter .23s ease both}
 @keyframes wizard-enter{from{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
}
@media (max-width:700px) and (pointer:coarse) and (max-height:710px){
 .wizard-overlay .wizard-full-toolbar{min-height:51px;padding-top:5px;padding-bottom:5px}
 .wizard-overlay .wizard-chrome{margin:15px 0 8px}
 .wizard-overlay .wizard-progress{margin:11px 0 14px}
 .wizard-overlay .wizard-question{font-size:clamp(26px,7.6vw,36px)}
 .wizard-overlay .wizard-option{min-height:54px;padding:9px 13px}
 .wizard-overlay .wizard-choices:not([hidden]){gap:8px;margin:11px 0}
 .wizard-overlay .wizard-actions{padding-top:8px!important;padding-bottom:calc(8px + env(safe-area-inset-bottom))!important}
}
@media (prefers-reduced-motion:reduce){
 .wizard-overlay .wizard-choices,.wizard-overlay .wizard-review{animation:none!important}
}
/* Keep larger choice sets clear of the fixed navigation on short screens. */
@media (max-width:700px) and (pointer:coarse) and (max-height:600px){
 .wizard-overlay .wizard-full-toolbar{min-height:46px}
 .wizard-overlay .wizard-chrome{margin:2px 0 2px}
 .wizard-overlay .wizard-progress{margin:6px 0 8px}
 .wizard-overlay .wizard-person{margin-bottom:5px}
 .wizard-overlay .wizard-helper{margin-top:5px}
 .wizard-overlay .wizard-sparkle{display:none}
 .wizard-overlay .wizard-topline{min-height:16px}
 .wizard-overlay .wizard-question{font-size:25px;line-height:1.12}
 .wizard-overlay .wizard-choices:not([hidden]){gap:5px;margin:6px 0}
 .wizard-overlay .wizard-option{min-height:44px;padding:7px 9px;font-size:14px}
}
