.calendar-page{--tour-bg:#faf9f6;--tour-surface:#fff;--tour-soft:#f4f3ef;--tour-ink:#272b2c;--tour-muted:#62696c;--tour-line:#e4e5e1;--tour-gold:#805713;--tour-accent:#f4a300;--tour-selected:#fff7e5;--tour-focus:#186f82;background:var(--tour-bg);color:var(--tour-ink);text-transform:none;letter-spacing:0;line-height:1.5}
.tour-calendar{max-width:1180px;margin:0 auto;padding:126px 28px 64px}.calendar-page [hidden]{display:none!important}.calendar-page :is(button,input,select){font:inherit}.calendar-page :is(button,a){touch-action:manipulation}.calendar-page :is(button,a,input,select):focus-visible{outline:3px solid var(--tour-focus);outline-offset:3px}
.tour-heading{margin-bottom:34px}.tour-eyebrow{margin:0 0 12px;font-size:.73rem;font-weight:700;color:var(--tour-gold);letter-spacing:.12em;text-transform:uppercase}.tour-heading h1{margin:0;text-align:left;font-size:clamp(2rem,3.6vw,2.8rem);font-weight:600;letter-spacing:-.055em;line-height:1.2}.tour-season{display:inline-block;vertical-align:middle;margin:0 0 7px 12px;padding:6px 10px;border:1px solid #e8d6b3;border-radius:6px;background:var(--tour-selected);color:var(--tour-gold);font-size:.78rem;letter-spacing:.01em;white-space:nowrap}.tour-intro{color:var(--tour-muted);margin-top:15px;font-size:1rem;max-width:700px}
.tour-search{background:var(--tour-surface);border:1px solid var(--tour-line);border-radius:16px;padding:26px;box-shadow:0 4px 20px #252b3003}.tour-show-fieldset{border:0;min-width:0;margin:0 0 24px;padding:0 0 24px;border-bottom:1px solid var(--tour-line)}.tour-show-fieldset legend{padding:0;font-size:1rem;font-weight:600;letter-spacing:-.015em}.tour-filter-help{font-size:.83rem;color:var(--tour-muted);margin:5px 0 16px}.tour-shows{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.tour-show{display:flex;align-items:center;gap:12px;border:1px solid var(--tour-line);border-radius:9px;background:var(--tour-surface);padding:13px 14px;min-height:70px;cursor:pointer;font-size:.89rem;line-height:1.4;font-weight:500;transition:background .15s,border-color .15s}.tour-show span{overflow-wrap:anywhere}
.tour-filters{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;gap:18px;align-items:end}.tour-field{min-width:0}.tour-field label{display:block;font-size:.82rem;font-weight:600;margin-bottom:8px;color:var(--tour-ink)}.tour-field :is(input,select){width:100%;min-width:0;height:48px;padding:0 13px;border:1px solid #d8dcdb;border-radius:8px;background:var(--tour-surface);color:var(--tour-ink);font-size:.9rem;box-shadow:none}.tour-field :is(input,select):disabled{opacity:.55}.tour-input-wrap{position:relative}.tour-input-wrap input{padding-left:42px}.tour-input-wrap svg{position:absolute;width:18px;height:18px;left:14px;top:15px;stroke:var(--tour-muted);stroke-width:1.7;pointer-events:none}.tour-reset{border:0;background:none;color:var(--tour-muted);font-size:.8rem!important;min-height:48px;cursor:pointer;text-decoration:underline;text-underline-offset:3px;padding:0 4px}.tour-reset:disabled{opacity:.45;cursor:default}
.tour-results-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:25px;min-height:46px}.tour-results-bar>p{font-size:.88rem;color:var(--tour-muted);font-variant-numeric:tabular-nums}.tour-tools{display:flex;align-items:center;gap:13px;flex-shrink:0}.tour-text-button,.tour-outline-button,.tour-primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 15px;text-decoration:none;cursor:pointer;font-size:.82rem;font-weight:600;line-height:1.4;border-radius:8px;white-space:normal;text-align:center;transition:background .15s}.tour-text-button{border:0;background:none;color:var(--tour-muted);padding:9px 3px;font-weight:500}.tour-outline-button{border:1px solid var(--tour-line);background:var(--tour-surface);color:var(--tour-ink)}.tour-primary-button{border:1px solid #d9950c;background:var(--tour-accent);color:#29210f}.tour-outline-button:hover,.tour-text-button:hover{background:var(--tour-soft);color:var(--tour-ink)}.tour-primary-button:hover{background:#ffb72a}.calendar-page button:disabled{cursor:default;opacity:.5}.tour-tools svg,.tour-city-download svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 18px}.tour-details-hint{text-align:right;color:var(--tour-muted);font-size:.77rem;margin:15px 0 0}.tour-share-fallback{margin:12px 0;padding:15px;border:1px solid var(--tour-line);border-radius:9px;background:var(--tour-surface);font-size:.85rem}.tour-share-fallback input{width:100%;margin-top:8px;padding:10px;border:1px solid var(--tour-line);background:var(--tour-bg);color:var(--tour-ink)}
.tour-month{margin-top:26px}.tour-month-heading{display:flex;align-items:center;gap:15px;margin-bottom:15px}.tour-month-heading h2{font-size:1.05rem;font-weight:600;letter-spacing:-.02em;margin:0}.tour-month-heading::after{content:"";height:1px;flex:1;background:var(--tour-line)}.tour-day{background:var(--tour-surface);border:1px solid var(--tour-line);border-radius:13px;overflow:hidden;margin-bottom:17px}.tour-day-heading{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:19px;align-items:center;padding:22px 24px;border-bottom:1px solid var(--tour-line)}.tour-date{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:67px;width:64px;background:var(--tour-soft);border-radius:9px;color:var(--tour-ink)}.tour-date strong{font-size:1.7rem;line-height:1.15;font-weight:600;letter-spacing:-.04em}.tour-date span{font-size:.65rem;text-transform:uppercase;letter-spacing:.06em;color:var(--tour-muted);font-weight:600;margin-top:3px}.tour-date.month-only strong{font-size:1.12rem;letter-spacing:0}.tour-place h3{font-size:1.22rem;font-weight:600;letter-spacing:-.025em;line-height:1.3;margin:0 0 6px;overflow-wrap:anywhere}.tour-place p{color:var(--tour-muted);font-size:.8rem;margin:0;overflow-wrap:anywhere}.tour-place p+p{margin-top:4px}.tour-city-download{display:inline-flex;align-items:center;gap:7px;font-size:.77rem;font-weight:500;color:var(--tour-muted);text-decoration:none;padding:10px 0 10px 10px;min-height:44px;white-space:nowrap}.tour-city-download:hover{color:var(--tour-gold);text-decoration:underline;text-underline-offset:3px}
.tour-performance{display:grid;grid-template-columns:68px minmax(0,1fr) auto 18px;align-items:center;gap:19px;width:100%;border:0;border-radius:0;background:var(--tour-surface);color:var(--tour-ink);padding:20px 24px;text-align:left;min-height:82px;cursor:pointer;transition:background .15s}.tour-performance+.tour-performance{border-top:1px solid var(--tour-line)}.tour-performance:hover{background:var(--tour-selected)}.tour-performance:focus-visible{outline-offset:-4px!important}.tour-time{font-size:1rem;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.tour-time-unspecified{font-size:.79rem;font-weight:400;line-height:1.4;color:var(--tour-muted);white-space:normal}.tour-performance-title{font-size:.97rem;line-height:1.45;font-weight:500;overflow-wrap:anywhere}.tour-availability{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:6px;background:#edf6ef;color:#286240;font-size:.75rem;line-height:1.4;font-weight:500;white-space:nowrap}.tour-availability::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;flex:0 0 5px}.tour-availability.limitata{color:#865f0b;background:#fff5d9}.tour-availability.esaurita{color:#a1464a;background:#fbeeee}.tour-availability.verificare{color:#596671;background:#eef1f4}.tour-arrow{width:18px;height:18px;stroke:var(--tour-muted);fill:none;stroke-width:1.6;transition:transform .15s}.tour-performance:hover .tour-arrow{transform:translateX(3px)}
.tour-state{margin-top:24px;padding:44px 24px;border:1px dashed var(--tour-line);border-radius:12px;color:var(--tour-muted);text-align:center;font-size:.95rem}.tour-state h2{color:var(--tour-ink);font-weight:600;font-size:1.2rem;margin:0 0 12px}.tour-state p{max-width:520px;margin:0 auto 18px}.tour-state a{color:var(--tour-gold)}.tour-help{margin-top:40px;padding-top:28px;border-top:1px solid var(--tour-line);display:flex;align-items:center;justify-content:space-between;gap:24px}.tour-help h2{font-size:1.08rem;letter-spacing:-.02em;font-weight:600;margin-bottom:8px}.tour-help p{font-size:.85rem;color:var(--tour-muted)}.tour-help a{flex-shrink:0}
.tour-dialog{position:fixed;inset:0;margin:auto;width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:35px;border:1px solid var(--tour-line);border-radius:18px;background:var(--tour-surface);color:var(--tour-ink);box-shadow:0 25px 85px #0004;text-transform:none;letter-spacing:0;font-family:inherit}.tour-dialog::backdrop{background:#15202bc2;backdrop-filter:blur(3px)}.tour-dialog[open]{animation:tour-dialog-in .15s ease-out}.tour-dialog-close{position:absolute;right:14px;top:12px;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:var(--tour-muted);cursor:pointer}.tour-dialog-close span{font-size:2rem;font-weight:400;line-height:1}.tour-dialog-close:hover{background:var(--tour-soft);color:var(--tour-ink)}.tour-dialog .tour-eyebrow{padding-right:30px;font-size:.7rem;margin-bottom:16px}.tour-dialog h2{font-size:1.6rem;font-weight:600;letter-spacing:-.035em;line-height:1.3;margin:0;padding-right:20px;overflow-wrap:anywhere}.tour-dialog-city{margin:9px 0 25px;font-size:1.1rem;color:var(--tour-muted)}.tour-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px 25px;border-top:1px solid var(--tour-line);padding-top:24px}.tour-fact-wide{grid-column:1/-1}.tour-facts dt{font-size:.77rem;color:var(--tour-muted);margin-bottom:5px}.tour-facts dd{font-size:.95rem;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.tour-detail-note{font-size:.85rem;margin-top:20px;color:var(--tour-muted)}.tour-dialog-contact{border-top:1px solid var(--tour-line);padding-top:22px;margin-top:24px}.tour-dialog-contact p{font-size:.89rem;line-height:1.5;color:var(--tour-muted);margin-bottom:16px}.tour-dialog-actions{display:flex;gap:12px;flex-wrap:wrap}.tour-dialog-actions a{min-height:47px}.tour-dialog-intro{margin:15px 0 25px;color:var(--tour-muted);font-size:.91rem}.tour-download-list{display:grid;gap:10px}.tour-download-link{display:flex;justify-content:space-between;align-items:center;gap:15px;min-height:60px;padding:16px;border:1px solid var(--tour-line);border-radius:9px;text-decoration:none;color:var(--tour-ink);font-weight:500;font-size:.92rem}.tour-download-link:hover{background:var(--tour-selected);border-color:#c69c50}.tour-download-link span:last-child{font-size:.73rem;color:var(--tour-gold);font-weight:600;white-space:nowrap}.tour-download-link.is-empty{opacity:.6}.tour-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@keyframes tour-dialog-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:950px){.tour-shows{grid-template-columns:repeat(2,minmax(0,1fr))}.tour-show{min-height:62px}.tour-filters{grid-template-columns:1.2fr 1fr 1fr}.tour-reset{grid-column:1/-1;justify-self:end;min-height:30px;margin-top:-7px}.tour-results-bar{align-items:flex-start}.tour-tools{gap:8px}.tour-results-bar>p{padding-top:10px}}
@media(max-width:620px){.tour-calendar{padding:109px 16px 42px}.tour-heading{margin-bottom:25px}.tour-heading h1{font-size:1.95rem}.tour-season{display:table;margin:12px 0 0;font-size:.72rem}.tour-eyebrow{font-size:.65rem;letter-spacing:.08em}.tour-intro{font-size:.91rem;margin-top:16px}.tour-search{padding:19px 16px;border-radius:13px}.tour-show-fieldset{margin-bottom:19px;padding-bottom:19px}.tour-show-fieldset legend{font-size:.95rem}.tour-filter-help{font-size:.78rem;margin-bottom:14px}.tour-shows{gap:8px}.tour-show{padding:12px 10px;gap:9px;font-size:.82rem;min-height:77px}.tour-filters{grid-template-columns:1fr 1fr;gap:15px 12px}.tour-field-city{grid-column:1/-1}.tour-field :is(input,select){font-size:16px;padding-right:5px}.tour-field label{font-size:.79rem}.tour-reset{font-size:.77rem!important}.tour-results-bar{margin-top:21px;gap:12px;flex-direction:column;align-items:stretch}.tour-results-bar>p{padding:0;font-size:.81rem}.tour-tools{justify-content:space-between}.tour-tools button{font-size:.79rem}.tour-details-hint{text-align:left;font-size:.74rem;margin:14px 0 0;line-height:1.5}.tour-month{margin-top:24px}.tour-month-heading h2{font-size:1rem}.tour-day-heading{grid-template-columns:52px minmax(0,1fr);gap:13px;padding:18px 16px}.tour-date{width:52px;min-height:62px}.tour-date strong{font-size:1.6rem}.tour-place h3{font-size:1.12rem}.tour-place p{font-size:.76rem}.tour-city-download{grid-column:2;justify-self:start;font-size:.75rem;padding:1px 0;min-height:34px;margin-top:-3px}.tour-performance{grid-template-columns:52px minmax(0,1fr) 18px;gap:9px 13px;padding:18px 16px;min-height:97px}.tour-time{font-size:.95rem}.tour-time-unspecified{font-size:.74rem}.tour-performance-title{font-size:.91rem}.tour-availability{grid-column:2;grid-row:2;justify-self:start;font-size:.7rem;white-space:normal}.tour-arrow{grid-column:3;grid-row:1/3}.tour-help{align-items:flex-start;flex-direction:column;gap:18px}.tour-help h2{font-size:1rem}.tour-dialog{padding:28px 22px;max-height:calc(100dvh - 28px);width:calc(100vw - 24px);border-radius:14px}.tour-dialog h2{font-size:1.4rem}.tour-dialog .tour-eyebrow{font-size:.65rem}.tour-dialog-city{font-size:1rem}.tour-facts{gap:18px}.tour-facts dd{font-size:.9rem}.tour-dialog-actions{gap:9px}.tour-dialog-actions a{font-size:.79rem}.tour-download-link{padding:14px 12px;font-size:.85rem}}
@media(prefers-color-scheme:dark){:where(:root:not([data-theme])) .calendar-page{--tour-bg:#111516;--tour-surface:#1b2022;--tour-soft:#272d2f;--tour-ink:#f0f1ef;--tour-muted:#b0b8b8;--tour-line:#353e3f;--tour-gold:#eab85e;--tour-selected:#302b20;--tour-focus:#72cbdc;color-scheme:dark}:where(:root:not([data-theme])) .tour-season{border-color:#675332}:where(:root:not([data-theme])) .tour-field :is(input,select){border-color:#465151}:where(:root:not([data-theme])) .tour-availability{color:#a7d9b8;background:#253c2e}:where(:root:not([data-theme])) .tour-availability.limitata{color:#eed08c;background:#423720}:where(:root:not([data-theme])) .tour-availability.esaurita{color:#efafb2;background:#422a2d}:where(:root:not([data-theme])) .tour-availability.verificare{color:#c1ced6;background:#303b42}:where(:root:not([data-theme])) .calendar-page #site-logo{filter:brightness(0) invert(1)}}
/* Tema scuro scelto dal visitatore; il sistema resta il fallback senza JavaScript. */
:where(:root[data-theme="dark"]) .calendar-page{--tour-bg:#111516;--tour-surface:#1b2022;--tour-soft:#272d2f;--tour-ink:#f0f1ef;--tour-muted:#b0b8b8;--tour-line:#353e3f;--tour-gold:#eab85e;--tour-selected:#302b20;--tour-focus:#72cbdc;color-scheme:dark}:where(:root[data-theme="dark"]) .tour-season{border-color:#675332}:where(:root[data-theme="dark"]) .tour-field :is(input,select){border-color:#465151}:where(:root[data-theme="dark"]) .tour-availability{color:#a7d9b8;background:#253c2e}:where(:root[data-theme="dark"]) .tour-availability.limitata{color:#eed08c;background:#423720}:where(:root[data-theme="dark"]) .tour-availability.esaurita{color:#efafb2;background:#422a2d}:where(:root[data-theme="dark"]) .tour-availability.verificare{color:#c1ced6;background:#303b42}:where(:root[data-theme="dark"]) .calendar-page #site-logo{filter:brightness(0) invert(1)}

/* Dossier colours: fixed brand backgrounds, accessible foregrounds per title. */
.calendar-page{--tour-bg:#f8f9f7;--tour-line:#dfe6e3;--tour-focus:#176b78}
.tour-heading{position:relative;padding-top:16px;margin-bottom:28px}
.tour-heading::before{content:"";position:absolute;top:0;left:0;width:84px;height:4px;border-radius:9px;background:linear-gradient(to right,#b43d48 0 30%,transparent 30% 35%,#bb830c 35% 65%,transparent 65% 70%,#17766e 70% 100%)}
.tour-search{border-color:#dce6e1;border-radius:20px;padding:24px;box-shadow:0 6px 24px #174c3b08}
.tour-filter-help{margin-bottom:19px}
[data-tone]{--show-solid:#536971;--show-ink:#3f525b;--show-soft:#edf1f3;--show-border:#c9d4d9;--show-on-solid:#fff}
[data-tone="miles"]{--show-solid:#b95e2f;--show-ink:#98451d;--show-soft:#fff3ec;--show-border:#e7c3ac;--show-on-solid:#000000}
[data-tone="lisistrata"]{--show-solid:#094a6f;--show-ink:#094a6f;--show-soft:#edf5fa;--show-border:#b8d3e3;--show-on-solid:#ffffff}
[data-tone="locandiera"]{--show-solid:#f8b3a7;--show-ink:#823e36;--show-soft:#fff3f0;--show-border:#f1c5bb;--show-on-solid:#272b2c}
[data-tone="seipersonaggi"]{--show-solid:#20493c;--show-ink:#20493c;--show-soft:#edf5ef;--show-border:#bfd4c7;--show-on-solid:#ffffff}
.calendar-page .tour-show{position:relative;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:78px;padding:17px 16px;border:1px solid var(--show-border);border-radius:13px;background:var(--show-soft);color:var(--show-ink);font-size:.9rem;font-weight:600;line-height:1.45;text-align:left;box-shadow:0 2px 4px #12281e03;transition:background .18s,color .18s,border-color .18s,box-shadow .18s,transform .18s}
.tour-show .tour-show-name{min-width:0;overflow-wrap:break-word}
.tour-show-toggle{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:50%;background:#ffffffb3;color:inherit;font-family:Arial,sans-serif;font-size:1.2rem;font-weight:400;line-height:1;transition:background .18s}
.calendar-page .tour-show.is-selected{background:var(--show-solid);border-color:var(--show-solid);color:var(--show-on-solid);box-shadow:0 5px 12px #17302c19}
.tour-show.is-selected .tour-show-toggle{background:#ffffff0b}
.calendar-page .tour-show:focus-visible{outline:3px solid var(--show-ink);outline-offset:4px}
.tour-field :is(input,select){border-color:#d5dfda;border-radius:10px;background:#fbfdfb}
.tour-field :is(input,select):focus-visible{border-color:#16766f}
.tour-results-bar>p{color:#33534b;font-weight:500}
.tour-outline-button{border-color:#c7dcd4;color:#155c52}
.tour-tools .tour-outline-button{background:#e9f5ef;border-color:#c0dace}
.tour-month-heading h2{display:flex;align-items:center;gap:10px;font-weight:700}
.tour-month-heading h2::before{content:"";height:9px;width:9px;border-radius:50%;background:#c79731}
.tour-month-heading::after{background:linear-gradient(to right,#c5d7ce,var(--tour-line))}
.tour-day{border-color:#dbe4df;border-radius:17px;box-shadow:0 4px 15px #16382c05}
.tour-day-heading{background:#f3f8f5;border-bottom-color:#dfe9e2}
.tour-date{background:#185e55;color:#fff;border-radius:11px;box-shadow:0 3px 7px #163b3012}
.tour-date span{color:#d5eae3}
.tour-date.month-only{background:#fff0c9;color:#74500c;box-shadow:none}
.tour-date.month-only span{color:#805914}
.tour-city-download{color:#226858}
.calendar-page .tour-performance{position:relative;border-left:4px solid var(--show-solid);padding-left:20px;transition:background .18s}
.tour-performance-title{font-weight:600}
.tour-performance .tour-arrow{color:var(--show-ink);stroke:currentColor}
.tour-dialog[data-tone]{border-top:4px solid var(--show-solid)}
.tour-dialog[data-tone] .tour-eyebrow{color:var(--show-ink)}
.tour-download-link[data-tone]{border-left:4px solid var(--show-solid)}
.tour-download-link[data-tone] span:last-child{color:var(--show-ink)}
.tour-help{border-top-color:#cfded5}
@media(hover:hover){
  .calendar-page .tour-show:hover{background:var(--show-solid);border-color:var(--show-solid);color:var(--show-on-solid);box-shadow:0 7px 16px #17302c20;transform:translateY(-2px)}
  .tour-show:hover .tour-show-toggle{background:#ffffff0b}
  .calendar-page .tour-show.is-selected:hover{box-shadow:0 0 0 2px var(--show-border),0 7px 16px #17302c20}
  .calendar-page .tour-performance:hover{background:var(--show-soft)}
  .tour-performance:hover .tour-performance-title{color:var(--show-ink)}
  .tour-download-link[data-tone]:hover{background:var(--show-soft);border-color:var(--show-border);border-left-color:var(--show-solid)}
}
@media(max-width:950px){.calendar-page .tour-show{min-height:68px}.tour-search{padding:23px}}
@media(max-width:620px){
  .tour-heading{margin-bottom:24px;padding-top:16px}.tour-search{padding:20px 15px;border-radius:16px}
  .calendar-page .tour-show{padding:13px 10px;gap:8px;font-size:.83rem;min-height:86px;border-radius:11px}
  .tour-show-toggle{flex-basis:22px;width:22px;height:22px;font-size:1.05rem}
  .tour-filter-help{margin-bottom:16px}.tour-day{border-radius:14px}
  .calendar-page .tour-performance{padding-left:12px}
}
@media(prefers-color-scheme:dark){
  :where(:root:not([data-theme])) .calendar-page{--tour-bg:#111817;--tour-line:#33443e;--tour-focus:#8cd5c5}
  :where(:root:not([data-theme])) .tour-search{border-color:#354a41;box-shadow:0 8px 26px #0002}
  :where(:root:not([data-theme])) [data-tone]{--show-solid:#718793;--show-ink:#cedfe7;--show-soft:#253139;--show-border:#475b67;--show-on-solid:#fff}
  :where(:root:not([data-theme])) [data-tone="miles"]{--show-solid:#b95e2f;--show-ink:#f3bb99;--show-soft:#36291f;--show-border:#97663e;--show-on-solid:#000000}
  :where(:root:not([data-theme])) [data-tone="lisistrata"]{--show-solid:#094a6f;--show-ink:#afd8ee;--show-soft:#1c2c36;--show-border:#4b718a;--show-on-solid:#ffffff}
  :where(:root:not([data-theme])) [data-tone="locandiera"]{--show-solid:#f8b3a7;--show-ink:#f8b3a7;--show-soft:#382927;--show-border:#a9756c;--show-on-solid:#272b2c}
  :where(:root:not([data-theme])) [data-tone="seipersonaggi"]{--show-solid:#20493c;--show-ink:#b0d8c5;--show-soft:#1e2f27;--show-border:#517763;--show-on-solid:#ffffff}
  :where(:root:not([data-theme])) .tour-show-toggle{background:#ffffff0b}
  :where(:root:not([data-theme])) .calendar-page .tour-show:focus-visible{outline-color:var(--show-ink)}
  :where(:root:not([data-theme])) .tour-field :is(input,select){background:#1b2522;border-color:#455950}
  :where(:root:not([data-theme])) .tour-results-bar>p{color:#c3d9cf}:where(:root:not([data-theme])) .tour-outline-button{color:#c1e1d3;border-color:#466456}
  :where(:root:not([data-theme])) .tour-tools .tour-outline-button{background:#233c30;border-color:#3f6853}
  :where(:root:not([data-theme])) .tour-day{border-color:#35493e}:where(:root:not([data-theme])) .tour-day-heading{background:#1c2a23;border-bottom-color:#35463c}
  :where(:root:not([data-theme])) .tour-date{background:#205e50}:where(:root:not([data-theme])) .tour-date.month-only{background:#493b1e;color:#ffe0a1}:where(:root:not([data-theme])) .tour-date.month-only span{color:#e8cb90}
  :where(:root:not([data-theme])) .tour-city-download{color:#a0d5bd}:where(:root:not([data-theme])) .tour-help{border-top-color:#354c40}
  :where(:root:not([data-theme])) .tour-performance .tour-arrow{color:var(--show-ink)}
}
/* Tema scuro scelto dal visitatore; il sistema resta il fallback senza JavaScript. */

  :where(:root[data-theme="dark"]) .calendar-page{--tour-bg:#111817;--tour-line:#33443e;--tour-focus:#8cd5c5}
  :where(:root[data-theme="dark"]) .tour-search{border-color:#354a41;box-shadow:0 8px 26px #0002}
  :where(:root[data-theme="dark"]) [data-tone]{--show-solid:#718793;--show-ink:#cedfe7;--show-soft:#253139;--show-border:#475b67;--show-on-solid:#fff}
  :where(:root[data-theme="dark"]) [data-tone="miles"]{--show-solid:#b95e2f;--show-ink:#f3bb99;--show-soft:#36291f;--show-border:#97663e;--show-on-solid:#000000}
  :where(:root[data-theme="dark"]) [data-tone="lisistrata"]{--show-solid:#094a6f;--show-ink:#afd8ee;--show-soft:#1c2c36;--show-border:#4b718a;--show-on-solid:#ffffff}
  :where(:root[data-theme="dark"]) [data-tone="locandiera"]{--show-solid:#f8b3a7;--show-ink:#f8b3a7;--show-soft:#382927;--show-border:#a9756c;--show-on-solid:#272b2c}
  :where(:root[data-theme="dark"]) [data-tone="seipersonaggi"]{--show-solid:#20493c;--show-ink:#b0d8c5;--show-soft:#1e2f27;--show-border:#517763;--show-on-solid:#ffffff}
  :where(:root[data-theme="dark"]) .tour-show-toggle{background:#ffffff0b}
  :where(:root[data-theme="dark"]) .calendar-page .tour-show:focus-visible{outline-color:var(--show-ink)}
  :where(:root[data-theme="dark"]) .tour-field :is(input,select){background:#1b2522;border-color:#455950}
  :where(:root[data-theme="dark"]) .tour-results-bar>p{color:#c3d9cf}:where(:root[data-theme="dark"]) .tour-outline-button{color:#c1e1d3;border-color:#466456}
  :where(:root[data-theme="dark"]) .tour-tools .tour-outline-button{background:#233c30;border-color:#3f6853}
  :where(:root[data-theme="dark"]) .tour-day{border-color:#35493e}:where(:root[data-theme="dark"]) .tour-day-heading{background:#1c2a23;border-bottom-color:#35463c}
  :where(:root[data-theme="dark"]) .tour-date{background:#205e50}:where(:root[data-theme="dark"]) .tour-date.month-only{background:#493b1e;color:#ffe0a1}:where(:root[data-theme="dark"]) .tour-date.month-only span{color:#e8cb90}
  :where(:root[data-theme="dark"]) .tour-city-download{color:#a0d5bd}:where(:root[data-theme="dark"]) .tour-help{border-top-color:#354c40}
  :where(:root[data-theme="dark"]) .tour-performance .tour-arrow{color:var(--show-ink)}

@media(max-width:360px){
  .calendar-page .tour-show{padding:13px 10px 32px;align-items:flex-start}
  .tour-show-toggle{position:absolute;right:8px;bottom:8px}
}

/* V5: season is part of the heading; icon-only contact actions. */
.tour-heading .tour-season{display:inline;vertical-align:baseline;margin:0;padding:0;border:0;border-radius:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;white-space:nowrap}
.tour-contact-icons{display:flex;align-items:center;gap:14px;padding-top:3px}
.tour-contact-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:60px;height:60px;flex:0 0 60px;border:1px solid var(--tour-line);border-radius:16px;text-decoration:none;background:var(--tour-soft);color:var(--tour-ink);transition:background .15s,border-color .15s,transform .15s,box-shadow .15s}
.tour-contact-icon svg{width:27px;height:27px;display:block;pointer-events:none}
.tour-contact-phone{color:#315ba7;background:#eef4ff;border-color:#d4dff0}
.tour-contact-whatsapp{color:#14783f;background:#eaf8ee;border-color:#c6e6cf}
.tour-contact-email{background:#fff;border-color:#dee2e6}
.tour-contact-icon::after{content:attr(data-label);position:absolute;bottom:calc(100% + 9px);left:50%;transform:translate(-50%,3px);padding:5px 9px;border-radius:6px;background:#202c28;color:#fff;font-size:.73rem;font-weight:500;line-height:1.5;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .12s,transform .12s}
.tour-contact-icon:focus-visible::after{opacity:1;transform:translate(-50%,0)}
@media(hover:hover){.tour-contact-icon:hover{transform:translateY(-2px);box-shadow:0 5px 12px #183c2614}.tour-contact-icon:hover::after{opacity:1;transform:translate(-50%,0)}}
@media(max-width:620px){.tour-contact-icon{width:56px;height:56px;flex-basis:56px;border-radius:14px}.tour-contact-icon svg{width:26px;height:26px}}
@media(prefers-color-scheme:dark){:where(:root:not([data-theme])) .tour-contact-phone{background:#253245;border-color:#3e526f;color:#b7d0ff}:where(:root:not([data-theme])) .tour-contact-whatsapp{background:#223b2d;border-color:#3d664b;color:#97e5b5}:where(:root:not([data-theme])) .tour-contact-email{background:#262d30;border-color:#475357}:where(:root:not([data-theme])) .tour-contact-icon::after{background:#e6ede9;color:#182a22}}
/* Tema scuro scelto dal visitatore; il sistema resta il fallback senza JavaScript. */
:where(:root[data-theme="dark"]) .tour-contact-phone{background:#253245;border-color:#3e526f;color:#b7d0ff}:where(:root[data-theme="dark"]) .tour-contact-whatsapp{background:#223b2d;border-color:#3d664b;color:#97e5b5}:where(:root[data-theme="dark"]) .tour-contact-email{background:#262d30;border-color:#475357}:where(:root[data-theme="dark"]) .tour-contact-icon::after{background:#e6ede9;color:#182a22}
/* V7: readable type, quiet surfaces, and a clearer hierarchy of actions. */
.tour-calendar{padding-top:108px;max-width:1200px}
.tour-heading{margin-bottom:24px}
.tour-heading h1{font-size:clamp(2rem,3.4vw,2.65rem);line-height:1.2;letter-spacing:-.045em}
.tour-search{padding:22px;border-color:#d7e1db;box-shadow:none;border-radius:18px}
.tour-show-fieldset{margin-bottom:20px;padding-bottom:20px}
.tour-show-fieldset legend{font-size:1.08rem;font-weight:600}
.tour-filter-help{font-size:.9rem;line-height:1.6;margin:6px 0 16px}
.calendar-page .tour-show{font-size:.96rem;line-height:1.4;min-height:76px}
.tour-field label{font-size:.9rem;margin-bottom:7px}
.tour-field :is(input,select){height:50px;border-radius:9px}
.tour-reset{font-size:.88rem!important;min-height:46px;padding:0 8px}
.tour-results-bar{margin-top:20px;gap:16px}
.tour-results-bar>p{font-size:1rem;line-height:1.6}
.tour-tools .tour-outline-button{background:#20493c;border-color:#20493c;color:#fff;padding-inline:17px}
.tour-text-button{padding-inline:9px}
.tour-details-hint{font-size:.875rem;line-height:1.6;margin-top:10px}
.tour-month{margin-top:24px}
.tour-month-heading h2{font-size:1.2rem;font-weight:600}
.tour-day{box-shadow:none;border-color:#d7e1db}
.tour-day-heading{padding:21px 24px}
.tour-place h3{font-size:1.3rem;letter-spacing:-.02em}
.tour-place p{font-size:.9rem;line-height:1.5}
.tour-city-download{font-size:.875rem;min-height:44px;padding:9px 11px;border:1px solid #ccded4;border-radius:8px;gap:8px}
.tour-performance-title{font-size:1.05rem;line-height:1.5}
.tour-time{font-size:1.05rem}.tour-time-unspecified{font-size:.875rem}
.tour-availability{font-size:.83rem;padding:6px 10px}
.tour-help h2{font-size:1.15rem}.tour-help p{font-size:.94rem;line-height:1.6}
.tour-dialog{width:min(680px,calc(100vw - 32px))}
.tour-facts dt{font-size:.875rem}.tour-facts dd{font-size:1rem}
.tour-dialog-contact p,.tour-detail-note,.tour-dialog-intro{font-size:.95rem;line-height:1.6}
.tour-download-link{font-size:1rem}.tour-download-link span:last-child{font-size:.82rem}
@media(hover:hover){.tour-tools .tour-outline-button:hover{background:#173d31;border-color:#173d31;color:#fff}.tour-city-download:hover{background:#e7f2ec}}
@media(max-width:950px){.tour-results-bar{align-items:center}.tour-reset{padding:0 4px;min-height:40px}.calendar-page .tour-show{min-height:72px}}
@media(max-width:620px){
  .tour-calendar{padding:102px 16px 40px}.tour-heading{margin-bottom:22px}
  .tour-heading h1{font-size:2rem}.tour-search{padding:19px 15px}
  .tour-show-fieldset legend{font-size:1rem}.tour-filter-help{font-size:.875rem;line-height:1.55}
  .calendar-page .tour-show{font-size:.9rem;min-height:88px;padding:13px 10px;gap:8px}
  .tour-field label{font-size:.875rem}.tour-reset{font-size:.84rem!important}
  .tour-results-bar{align-items:stretch;gap:12px}.tour-results-bar>p{font-size:.94rem}
  .tour-tools button{font-size:.85rem}.tour-details-hint{font-size:.84rem;line-height:1.6}
  .tour-month-heading h2{font-size:1.12rem}.tour-day-heading{padding:18px 16px;gap:12px}
  .tour-place h3{font-size:1.16rem}.tour-place p{font-size:.86rem}
  .tour-city-download{font-size:.83rem;min-height:44px;padding:8px 9px;margin-top:2px}
  .tour-performance-title{font-size:1rem}.tour-time{font-size:1rem}.tour-time-unspecified{font-size:.82rem}
  .tour-availability{font-size:.79rem;padding:5px 8px}.tour-dialog{width:calc(100vw - 24px)}
  .tour-facts dt{font-size:.85rem}.tour-facts dd{font-size:.98rem}.tour-dialog-contact p,.tour-detail-note{font-size:.92rem}
  .tour-download-link{font-size:.95rem}.tour-download-link span:last-child{font-size:.76rem}
}
@media(max-width:360px){.calendar-page .tour-show{padding-bottom:32px}.tour-filters{grid-template-columns:1fr}.tour-field-city{grid-column:auto}}
@media(prefers-color-scheme:dark){:where(:root:not([data-theme])) .tour-search,:where(:root:not([data-theme])) .tour-day{border-color:#3d4d45}:where(:root:not([data-theme])) .tour-city-download{border-color:#4b6658}:where(:root:not([data-theme])) .tour-tools .tour-outline-button{background:#b6decb;border-color:#b6decb;color:#18392e}@media(hover:hover){:where(:root:not([data-theme])) .tour-tools .tour-outline-button:hover{background:#cce9dc;border-color:#cce9dc;color:#18392e}:where(:root:not([data-theme])) .tour-city-download:hover{background:#2a3b32}}}
/* Tema scuro scelto dal visitatore; il sistema resta il fallback senza JavaScript. */
:where(:root[data-theme="dark"]) .tour-search,:where(:root[data-theme="dark"]) .tour-day{border-color:#3d4d45}:where(:root[data-theme="dark"]) .tour-city-download{border-color:#4b6658}:where(:root[data-theme="dark"]) .tour-tools .tour-outline-button{background:#b6decb;border-color:#b6decb;color:#18392e}@media(hover:hover){:where(:root[data-theme="dark"]) .tour-tools .tour-outline-button:hover{background:#cce9dc;border-color:#cce9dc;color:#18392e}:where(:root[data-theme="dark"]) .tour-city-download:hover{background:#2a3b32}}
@media(prefers-reduced-motion:reduce){.calendar-page *, .calendar-page *::before,.calendar-page *::after{animation:none!important;transition:none!important}}

/* Calendario compatto: una riga per rappresentazione, come nel PDF. */
/* Il menu condiviso gestisce già il logo scuro: non sbiancarlo una seconda volta. */
.calendar-page #site-logo{filter:none}
.calendar-page .tour-search{padding:20px;box-shadow:none}
.calendar-page .tour-show-fieldset{margin-bottom:17px;padding-bottom:17px}
.calendar-page .tour-show{min-height:62px;padding:12px 15px;border-radius:10px}
.calendar-page .tour-filter-help{margin-bottom:13px}
.calendar-page .tour-month{margin-top:28px}
.calendar-page .tour-month-heading{margin-bottom:12px}
.tour-schedule-frame{border:1px solid var(--tour-line);border-radius:12px;background:var(--tour-surface);overflow:hidden}
.tour-schedule{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left;font-size:.94rem;line-height:1.45}
.tour-schedule .tour-col-date{width:13%}
.tour-schedule .tour-col-city{width:21%}
.tour-schedule .tour-col-time{width:8%}
.tour-schedule .tour-col-title{width:34%}
.tour-schedule .tour-col-status{width:16%}
.tour-schedule .tour-col-download{width:8%}
.tour-schedule th{padding:13px 14px;background:var(--tour-soft);color:var(--tour-muted);font-size:.75rem;line-height:1.4;font-weight:600;letter-spacing:.045em;text-transform:uppercase;border-bottom:1px solid var(--tour-line)}
.tour-schedule th:last-child{text-align:center;padding-inline:4px}
.tour-schedule td{padding:6px 14px;height:61px;vertical-align:middle;border-bottom:1px solid var(--tour-line);overflow-wrap:anywhere}
.tour-schedule tbody tr:last-child td{border-bottom:0}
.tour-schedule-row{cursor:pointer;background:var(--tour-surface);transition:background .16s}
.tour-schedule-row:nth-child(even){background:color-mix(in srgb,var(--tour-soft) 34%,var(--tour-surface))}
.tour-row-date{font-size:.875rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.tour-month-pending{font-size:.82rem;color:var(--tour-muted);white-space:normal;display:inline-block;line-height:1.4}
.tour-row-city{font-weight:600;letter-spacing:-.015em}
.tour-row-time{font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}
.tour-row-time-prefix{display:none}
.tour-row-details{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-height:44px;width:100%;padding:6px 0 6px 14px;border:0;border-radius:3px;background:transparent;color:var(--tour-ink);font-size:inherit;font-weight:500;line-height:1.4;text-align:left;cursor:pointer}
.tour-row-details::before{content:"";position:absolute;left:0;top:50%;width:3px;height:22px;max-height:65%;transform:translateY(-50%);border-radius:2px;background:var(--show-solid)}
.tour-row-show-name{overflow-wrap:anywhere}
.tour-row-count{margin-top:3px;color:var(--tour-muted);font-size:.76rem;font-weight:400}
.tour-schedule .tour-availability{padding:0;background:transparent!important;border-radius:0;font-size:.79rem;line-height:1.4;font-weight:500;white-space:normal;gap:7px}
.tour-schedule .tour-row-download{padding:4px 7px;text-align:center}
.tour-row-pdf{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:44px;min-width:44px;padding:5px;border-radius:7px;text-decoration:none;color:var(--tour-muted);font-size:.62rem;font-weight:600;line-height:1.2;letter-spacing:.025em;transition:color .16s,background .16s}
.tour-row-pdf svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.tour-schedule-row:focus-within{background:var(--show-soft)}
.tour-row-details:focus-visible{outline-offset:2px!important}
@media(hover:hover){
  .tour-schedule-row:hover{background:var(--show-soft)}
  .tour-schedule-row:hover .tour-row-show-name{color:var(--show-ink)}
  .tour-row-pdf:hover{color:var(--tour-ink);background:var(--tour-soft)}
}
@media(min-width:781px) and (max-width:1050px){
  .tour-schedule th,.tour-schedule td{padding-inline:10px}
  .tour-schedule{font-size:.875rem}
  .tour-row-date{font-size:.8rem}
  .tour-schedule .tour-availability{font-size:.72rem}
  .tour-schedule th{font-size:.67rem;letter-spacing:.015em}
  .tour-row-details{padding-left:11px}
}
@media(max-width:780px){
  /* Real table semantics remain, while each row reflows into a compact record. */
  .tour-schedule colgroup{display:none}
  .tour-schedule thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .tour-schedule,.tour-schedule tbody{display:block}
  .tour-schedule-row{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;gap:2px 12px;padding:15px 13px;border-bottom:1px solid var(--tour-line);align-items:center}
  .tour-schedule-row:last-child{border-bottom:0}
  .tour-schedule .tour-schedule-row td{display:block;padding:0;height:auto;min-width:0;border:0}
  .tour-row-city{grid-column:1;grid-row:1;font-size:.95rem;line-height:1.45}
  .tour-row-date{grid-column:2;grid-row:1;font-size:.77rem;text-align:right}
  .tour-row-title{grid-column:1/3;grid-row:2}
  .tour-row-details{font-size:.94rem;min-height:44px;padding-top:6px;padding-bottom:6px}
  .tour-row-time{grid-column:1;grid-row:3;font-size:.82rem}
  .tour-row-time-prefix{display:inline;color:var(--tour-muted);font-weight:400}
  .tour-row-status{grid-column:2;grid-row:3;text-align:right}
  .tour-schedule .tour-availability{font-size:.73rem}
  .tour-schedule .tour-row-download{grid-column:3;grid-row:1/4;align-self:center;padding:0}
  .tour-month-pending{font-size:.75rem;max-width:85px}
  .calendar-page .tour-month{margin-top:25px}
}
@media(max-width:620px){
  .calendar-page .tour-search{padding:17px 14px}
  .calendar-page .tour-show{min-height:68px;padding:11px 10px;font-size:.85rem}
  .calendar-page .tour-show-fieldset{margin-bottom:15px;padding-bottom:15px}
}
@media(max-width:360px){
  .calendar-page .tour-show{padding:11px 9px 28px}
  .tour-schedule-row{gap:2px 8px;padding:13px 10px;grid-template-columns:minmax(0,1fr) auto 36px}
  .tour-row-pdf{min-width:36px}
  .tour-row-city{font-size:.875rem}
  .tour-row-date{font-size:.72rem}
  .tour-row-details{font-size:.875rem}
}
