:root{font-family:Manrope,Arial,sans-serif;color:#f5f7f9;background:#101c2a;font-synthesis:none}*{box-sizing:border-box}button,input{font:inherit}button{cursor:pointer}a{color:inherit}.app-shell{max-width:1440px;margin:auto;padding:0 54px}.topbar{height:94px;display:flex;align-items:center;gap:22px;border-bottom:1px solid #ffffff22}.brand{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:500;letter-spacing:.09em;text-decoration:none;white-space:nowrap}.brand b{font-weight:800}.brand-icon{width:35px;height:35px;display:grid;place-items:center;background:#ffc45c;color:#142332;border-radius:50%;font-size:29px;line-height:1}.top-caption{font-size:12px;color:#aab6c1;margin-left:auto}.ghost{border:1px solid #ffffff38;border-radius:100px;background:transparent;color:inherit;padding:11px 18px;font-size:12px}.intro{padding:61px 0 31px}.intro h1{font-size:clamp(38px,5.1vw,75px);line-height:1.1;letter-spacing:-.055em;margin:13px 0 14px;font-weight:700}.intro h1 em{font-style:normal;color:#ffc45c}.intro>p:last-child{color:#abb9c6;font-size:14px}.eyebrow{color:#ffc45c;font-size:10px;font-weight:800;letter-spacing:.2em;margin:0}.template-switch{display:flex;gap:9px;margin:18px 0 22px}.template-switch button{background:transparent;border:1px solid #ffffff30;border-radius:13px;padding:13px 19px;color:#dce5ec;text-align:left;min-width:170px;font-weight:700}.template-switch button span{color:#e4ac48;margin-right:11px;font-size:11px}.template-switch button small{display:block;font-size:10px;font-weight:500;color:#a9b4c1;margin-left:27px;margin-top:2px}.template-switch button[aria-pressed=true]{background:#fff;color:#172737;border-color:#fff}.template-switch button[aria-pressed=true] small{color:#6b7782}.controls{position:relative;display:flex;align-items:flex-end;gap:14px;padding:18px;border-radius:19px;background:#223345;margin-bottom:21px}.controls label{font-size:9px;letter-spacing:.17em;font-weight:800;color:#aab8c7;display:block;margin-bottom:7px}.search-field{position:relative;flex:1;min-width:0}.date-field{width:205px}.controls input{width:100%;border:1px solid #ffffff30;background:#142536;border-radius:10px;padding:12px 14px;color:#fff;outline:none;height:46px}.controls input:focus{border-color:#ffc45c}.controls input[type=date]{color-scheme:dark}.field-hint{color:#a9b7c4;font-size:10px;margin-top:6px}.today-button{height:46px;background:#ffc45c;border:0;border-radius:10px;padding:0 20px;color:#142332;font-weight:800}.suggestions{position:absolute;z-index:10;top:75px;left:0;right:0;background:#fff;color:#24384a;border-radius:12px;box-shadow:0 20px 45px #0005;max-height:245px;overflow:auto}.suggestions button{display:block;width:100%;text-align:left;padding:12px 14px;background:none;border:0;border-bottom:1px solid #e9edf0;color:#213447}.suggestions button:hover,.suggestions button:focus{background:#f2f6f8}.suggestions small{display:block;color:#687884}.status{min-height:18px;color:#ffd584;font-size:12px;margin:0 0 8px}.layout{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;padding-bottom:43px}.card{border:1px solid #ffffff19;background:#1d3041;border-radius:20px;overflow:hidden}.hero{min-height:417px;padding:31px 31px 23px;position:relative;background:linear-gradient(150deg,#284558 0%,#214256 43%,#395e67 100%)}.hero-head,.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.hero h2,.section-head h2{margin:7px 0 3px;letter-spacing:-.04em}.hero h2{font-size:32px}.hero-head span:not(.pill){font-size:12px;color:#d4e0e4}.pill{background:#ffe9b9;color:#80510d;border-radius:50px;padding:8px 12px;font-size:11px;font-weight:800}.sun-visual{height:197px;position:relative;overflow:hidden}.sun-disc{position:absolute;left:50%;bottom:9px;transform:translateX(-50%);width:155px;height:155px;border-radius:50%;background:#ffd074;box-shadow:0 0 75px 20px #f5ad5780}.sun-horizon{position:absolute;bottom:25px;left:-10%;width:120%;height:44px;background:#284f60;border-top:2px solid #e4b97c;border-radius:50% 50% 0 0}.hero-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:30px}.hero-bottom small,.metric-grid small{display:block;font-size:10px;font-weight:800;letter-spacing:.14em;color:#c8d4dc}.hero-bottom strong{display:block;font-size:40px;line-height:1.12;letter-spacing:-.05em}.hero-bottom span:not(.light-meter){font-size:11px;color:#d5e5e7}.light-meter{height:8px;width:38%;background:#ffffff40;border-radius:20px;margin-bottom:18px}.light-meter span{display:block;height:100%;background:#ffc45c;border-radius:20px}.metrics,.year,.comparison{padding:31px}.section-head h2{font-size:22px}.section-head>span{font-size:11px;color:#b1c2ce}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:32px}.metric-grid article{border:1px solid #ffffff18;border-radius:13px;padding:15px;min-height:120px;background:#ffffff08}.metric-symbol{font-size:17px;color:#ffc45c;float:right}.metric-grid strong{display:block;font-size:26px;margin:8px 0 2px;letter-spacing:-.04em}.metric-grid p,.subtle{font-size:11px;color:#a9b9c5;margin:3px 0}.year{min-height:342px}.chart-wrap{width:100%;margin-top:20px;overflow:hidden}.chart-wrap svg{display:block;width:100%;height:auto}.chart-legend{display:flex;justify-content:space-between;color:#b4c3cc;font-size:11px;margin-top:4px}.chart-legend i{display:inline-block;width:9px;height:9px;border-radius:50%;background:#ffc45c;margin-right:6px}.comparison{min-height:342px}.compare-row{padding:23px 0;display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #ffffff22;font-size:12px}.compare-row:first-of-type{margin-top:24px}.compare-row strong{color:#ffd073;text-align:right}.small{margin-top:20px;line-height:1.6}footer{border-top:1px solid #ffffff22;padding:24px 0 35px;color:#9aabb7;font-size:10px;line-height:1.7}footer a{text-decoration:underline;text-underline-offset:3px}
body[data-template=atlante]{background:#f4f0e8;color:#213247}body[data-template=atlante] .topbar{border-color:#24384922}body[data-template=atlante] .intro h1 em,body[data-template=atlante] .eyebrow{color:#ca6c3b}body[data-template=atlante] .ghost,body[data-template=atlante] .template-switch button{border-color:#223e4b33;color:#213247}body[data-template=atlante] .top-caption,body[data-template=atlante] .intro>p:last-child{color:#687887}body[data-template=atlante] .template-switch button small{color:#6f7b83}body[data-template=atlante] .template-switch button[aria-pressed=true]{background:#213b4b;color:white}body[data-template=atlante] .template-switch button[aria-pressed=true] small{color:#d8e2e6}body[data-template=atlante] .controls{background:#e8e4da}body[data-template=atlante] .controls label{color:#5a6d79}body[data-template=atlante] .controls input{background:#fff;color:#233646;border-color:#cbd2d1}body[data-template=atlante] .controls input[type=date]{color-scheme:light}body[data-template=atlante] .field-hint{color:#6d7a83}body[data-template=atlante] .today-button{background:#ca6c3b;color:white}body[data-template=atlante] .layout{grid-template-columns:.9fr 1.1fr}body[data-template=atlante] .year{grid-column:1/-1;grid-row:1;min-height:360px}body[data-template=atlante] .hero{grid-column:1;grid-row:2;background:linear-gradient(135deg,#234a5a,#50716e);color:white}body[data-template=atlante] .metrics{grid-column:2;grid-row:2}body[data-template=atlante] .comparison{grid-column:1/-1;min-height:0}body[data-template=atlante] .card:not(.hero){background:#fff;color:#233646;border-color:#dbe0dd}body[data-template=atlante] .metric-grid article{background:#f5f5f0;border-color:#e0e4e0}body[data-template=atlante] .metric-grid small{color:#667784}body[data-template=atlante] .metric-grid p,body[data-template=atlante] .subtle,body[data-template=atlante] .section-head>span{color:#667784}body[data-template=atlante] .compare-row{border-color:#e0e4e0}body[data-template=atlante] .compare-row strong{color:#ba6235}body[data-template=atlante] footer{border-color:#24384922;color:#6a7883}
body[data-template=essenziale]{background:#faf9f5;color:#17242b;font-family:'DM Sans',Arial,sans-serif}body[data-template=essenziale] .app-shell{max-width:1120px}body[data-template=essenziale] .topbar,body[data-template=essenziale] footer{border-color:#1b2b3326}body[data-template=essenziale] .top-caption,body[data-template=essenziale] .intro>p:last-child{color:#5f7078}body[data-template=essenziale] .brand-icon,body[data-template=essenziale] .today-button{background:#e3aa47;color:#17242b}body[data-template=essenziale] .intro{padding:40px 0 18px}body[data-template=essenziale] .intro h1{font-size:46px}body[data-template=essenziale] .intro h1 br{display:none}body[data-template=essenziale] .intro h1 em{color:#bd7a27}body[data-template=essenziale] .eyebrow{color:#ad742d}body[data-template=essenziale] .ghost,body[data-template=essenziale] .template-switch button{border-color:#cbd2d2;color:#17242b}body[data-template=essenziale] .template-switch button[aria-pressed=true]{background:#172b36;color:white}body[data-template=essenziale] .template-switch button[aria-pressed=true] small{color:#c4d0d2}body[data-template=essenziale] .template-switch button small{color:#6b767d}body[data-template=essenziale] .controls{background:#f0eee8;border:1px solid #deded7}body[data-template=essenziale] .controls label{color:#65757c}body[data-template=essenziale] .controls input{background:#fff;color:#17242b;border-color:#ccd1d1}body[data-template=essenziale] .controls input[type=date]{color-scheme:light}body[data-template=essenziale] .field-hint{color:#68767c}body[data-template=essenziale] .layout{display:flex;flex-direction:column;gap:0;border-top:1px solid #ccd2d2}body[data-template=essenziale] .card{border:0;border-bottom:1px solid #ccd2d2;border-radius:0;background:transparent;color:#17242b;padding:27px 0;min-height:0}body[data-template=essenziale] .hero{display:flex;gap:25px;align-items:center;justify-content:space-between}body[data-template=essenziale] .hero h2{font-size:34px}body[data-template=essenziale] .hero-head{min-width:30%}body[data-template=essenziale] .hero-head span:not(.pill){color:#53646e}body[data-template=essenziale] .pill{display:none}body[data-template=essenziale] .sun-visual{height:94px;min-width:160px;width:160px}body[data-template=essenziale] .sun-disc{width:70px;height:70px;bottom:6px;box-shadow:0 0 36px 5px #e5a84a77}body[data-template=essenziale] .sun-horizon{bottom:7px;background:#faf9f5;border-color:#a77d44}body[data-template=essenziale] .hero-bottom{min-width:30%}body[data-template=essenziale] .hero-bottom small,body[data-template=essenziale] .metric-grid small{color:#657078}body[data-template=essenziale] .hero-bottom strong{font-size:34px}body[data-template=essenziale] .hero-bottom span:not(.light-meter){color:#5b6c75}body[data-template=essenziale] .light-meter{display:none}body[data-template=essenziale] .metric-grid{grid-template-columns:repeat(4,1fr);margin-top:18px}body[data-template=essenziale] .metric-grid article{border:0;border-left:1px solid #d7d9d5;border-radius:0;background:transparent;padding:7px 16px;min-height:0}body[data-template=essenziale] .metric-grid article:first-child{border-left:0;padding-left:0}body[data-template=essenziale] .metric-symbol{color:#a16d2c}body[data-template=essenziale] .metric-grid p,body[data-template=essenziale] .subtle{color:#65737c}body[data-template=essenziale] .year{display:none}body[data-template=essenziale] .comparison .compare-row{display:inline-flex;width:49%;border-color:#ddd;vertical-align:top}body[data-template=essenziale] .compare-row strong{color:#a16d2c}body[data-template=essenziale] footer{color:#66747c}
@media(max-width:800px){.app-shell{padding:0 22px}.topbar{height:70px}.top-caption{display:none}.ghost{margin-left:auto}.intro{padding-top:39px}.template-switch{overflow-x:auto;scrollbar-width:none}.template-switch button{min-width:145px;flex:1}.controls{flex-wrap:wrap}.search-field{flex-basis:100%}.date-field{flex:1}.layout,body[data-template=atlante] .layout{display:flex;flex-direction:column}.hero,.metrics,.year,.comparison{min-height:0}body[data-template=atlante] .year{order:0}body[data-template=atlante] .hero{order:1}body[data-template=atlante] .metrics{order:2}body[data-template=atlante] .comparison{order:3}body[data-template=essenziale] .hero{flex-wrap:wrap}body[data-template=essenziale] .metric-grid{grid-template-columns:1fr 1fr}body[data-template=essenziale] .metric-grid article:nth-child(3){border-left:0;padding-left:0}body[data-template=essenziale] .comparison .compare-row{width:100%}}@media(max-width:520px){.app-shell{padding:0 16px}.brand{font-size:16px}.ghost{padding:9px 11px}.ghost span{display:none}.intro h1{font-size:43px}.template-switch button{min-width:137px;padding:10px}.template-switch button small{margin-left:0}.controls{padding:13px}.hero,.metrics,.year,.comparison{padding:22px}.hero{min-height:380px}.sun-visual{height:174px}.sun-disc{width:145px;height:145px}.hero-bottom strong{font-size:35px}.metric-grid{gap:7px}.metric-grid article{padding:11px;min-height:110px}.metric-grid strong{font-size:23px}body[data-template=essenziale] .intro h1{font-size:36px}body[data-template=essenziale] .hero{display:block}body[data-template=essenziale] .sun-visual{display:none}body[data-template=essenziale] .hero-bottom{margin-top:20px}body[data-template=essenziale] .card{padding:22px 0}body[data-template=essenziale] .metric-grid article{padding:9px;border-left:0;border-top:1px solid #ddd}body[data-template=essenziale] .metric-grid article:nth-child(2n){padding-left:11px;border-left:1px solid #ddd}}

/* Quadrante delle fasce di luce: un giro equivale alle 24 ore locali. */
.hero{min-height:586px;background:linear-gradient(155deg,#234357,#25495d 63%,#2d5263)}
.light-clock{width:min(100%,310px);aspect-ratio:1;margin:11px auto 0;position:relative}
.light-clock svg{width:100%;height:100%;display:block;overflow:visible}
.dial-center{position:absolute;inset:25%;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;pointer-events:none}
.dial-center small{font-size:9px;letter-spacing:.13em;font-weight:800;color:#d7e5eb;white-space:nowrap}
.dial-center strong{font-size:29px;letter-spacing:-.06em;line-height:1.25;white-space:nowrap}
.dial-center span{font-size:10px;color:#d5e3e8;line-height:1.35;max-width:130px}
.dial-events{display:flex;justify-content:space-between;gap:14px;margin:2px 0 21px;font-size:12px;color:#c6d7df}
.dial-events strong{color:#fff;margin-left:6px;font-size:16px}
.light-legend{display:flex;flex-wrap:wrap;gap:9px 13px;padding-top:17px;border-top:1px solid #ffffff2b}
.light-legend span{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:#d9e5e9;white-space:nowrap}
.light-legend i{width:9px;height:9px;border-radius:3px;display:inline-block}
.phase-night{background:#142c47}.phase-astro{background:#486ba5}.phase-nautical{background:#7796c6}.phase-civil{background:#f19b75}.phase-day{background:#ffd475}
body[data-template=atlante] .hero{min-height:586px}
body[data-template=essenziale] .hero{display:block;background:#faf9f5;min-height:0}
body[data-template=essenziale] .light-clock{width:min(100%,250px);margin:0 auto}
body[data-template=essenziale] #light-dial text{fill:#536879}
body[data-template=essenziale] .dial-center small,body[data-template=essenziale] .dial-center span{color:#697b82}
body[data-template=essenziale] .dial-events,body[data-template=essenziale] .light-legend span{color:#536879}
body[data-template=essenziale] .dial-events strong{color:#19323e}
body[data-template=essenziale] .light-legend{border-color:#ccd2d2}
@media(max-width:520px){.hero,body[data-template=atlante] .hero{min-height:0}.light-clock{max-width:270px}.dial-center strong{font-size:25px}.light-legend{gap:7px 10px}}

/* Aurora: doppio quadrante solare ispirato al riferimento fornito. */
body[data-template=aurora] .intro{padding-bottom:20px}
body[data-template=aurora] .hero{min-height:835px;background:linear-gradient(168deg,#1748a5 0%,#256dc1 50%,#68b4d8 100%)}
body[data-template=aurora] .light-clock{width:min(100%,445px);margin:16px auto 15px}
body[data-template=aurora] .dial-center{inset:30.5%;background:#ffe36e;border:2px solid #fff2a3;color:#f36a00;box-shadow:0 0 28px #fff2a37a}
body[data-template=aurora] .dial-center small{color:#ed6c0d;font-size:11px;letter-spacing:.05em}
body[data-template=aurora] .dial-center strong{font-size:32px;color:#f66805}
body[data-template=aurora] .dial-center span{color:#ec6e17;font-size:11px;max-width:135px;font-weight:700}
.dial-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 12px}
.dial-stats>div{min-width:0;min-height:92px;padding:15px;border:1px solid #d4f3ff8c;border-radius:16px;background:#ffffff22;display:flex;flex-direction:column}
.dial-stats small{font-size:10px;font-weight:800;letter-spacing:.14em;color:#d8f2ff}
.dial-stats strong{font-size:24px;color:#fff;line-height:1.35;margin-top:8px}
.dial-stats span{font-size:11px;color:#d7f0ff;margin-top:auto}
.dial-events{border:1px solid #d4f3ff8c;background:#ffffff1d;padding:16px;border-radius:16px;margin:0 0 11px}
.dial-events span{color:#e5f4ff}.dial-events strong{font-size:18px}
.day-total{font-size:12px;color:#e3f5ff;margin:8px 0 12px}.day-total strong{font-size:15px;color:#fff}
body[data-template=aurora] .light-legend{border-color:#d4f3ff77;padding-top:13px}
body[data-template=aurora] .light-legend span{color:#edf8ff}
body[data-template=essenziale] .dial-stats>div{background:#f1eee7;border-color:#cbd2d2}
body[data-template=essenziale] .dial-stats small,body[data-template=essenziale] .dial-stats span,body[data-template=essenziale] .day-total{color:#5e737c}
body[data-template=essenziale] .dial-stats strong,body[data-template=essenziale] .day-total strong{color:#19323e}
@media(max-width:520px){body[data-template=aurora] .hero{min-height:0}body[data-template=aurora] .light-clock{width:min(100%,355px);max-width:none}body[data-template=aurora] .dial-center strong{font-size:24px}body[data-template=aurora] .dial-center small,body[data-template=aurora] .dial-center span{font-size:9px}.dial-stats strong{font-size:19px}.dial-events{padding:12px}.dial-events strong{font-size:15px}}
.source-compare{grid-column:1/-1;padding:31px}.source-compare .subtle{font-size:13px;margin:10px 0 18px}.comparison-scroll{overflow-x:auto}.source-compare table{width:100%;border-collapse:collapse;font-size:13px;min-width:550px}.source-compare th{text-align:left;color:#a9bbc9;font-size:11px;letter-spacing:.08em;padding:10px 12px;border-bottom:1px solid #ffffff44}.source-compare td{padding:10px 12px;border-bottom:1px solid #ffffff16}.source-compare td:first-child{font-weight:700}.source-compare td:last-child{color:#ffd475}.metrics .metric-grid article p span{color:#e6f1f5;font-weight:700}.metrics .metric-grid article p{font-size:12px}
@media(max-width:800px){.source-compare{padding:23px}}
.controls{align-items:flex-start}.today-button{margin-top:18px}
.hero-head .day-total{margin:0;text-align:right;line-height:1.55;max-width:210px}
.hero-head .day-total strong{font-size:19px}.hero-head .day-total span{font-size:11px}
.dial-events{align-items:center}.dial-events b{color:#fff7d7;text-transform:uppercase;letter-spacing:.12em;font-size:11px;white-space:nowrap}
@media(min-width:901px){
  .layout{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);grid-template-rows:auto auto auto auto}
  .hero{grid-column:1;grid-row:1 / 3}
  .metrics{grid-column:2;grid-row:1;min-height:0}
  .comparison{grid-column:2;grid-row:2;min-height:0}
  .year{grid-column:1 / -1;grid-row:3;min-height:0}
  .source-compare{grid-column:1 / -1;grid-row:4}
  .metrics .metric-grid{margin-top:20px}
  .metrics .metric-grid article{min-height:94px;padding:12px}
  .comparison .compare-row{padding:13px 0}
  .comparison .compare-row:first-of-type{margin-top:12px}
  .comparison .small{margin-top:12px}
}
.year-actions{display:flex;align-items:center;gap:14px}
.year-actions button,.compare-city button,#close-chart{background:#ffc45c;color:#172b40;border:0;border-radius:9px;padding:10px 13px;font-size:12px;font-weight:800}
.compare-city{position:relative;display:flex;align-items:center;gap:12px;margin-top:20px;flex-wrap:wrap}
.compare-city label{font-size:12px;font-weight:700;color:#d4e4ef}
.compare-city input{min-width:200px;max-width:340px;width:100%;background:#142536;color:white;border:1px solid #ffffff55;border-radius:9px;padding:10px 12px;font:inherit;font-size:13px}
.compare-city button{padding:9px 11px;background:#38576c;color:white}
.compare-suggestions{position:absolute;top:100%;left:90px;z-index:5;width:min(340px,90vw);max-height:220px;overflow:auto;background:#f7fbff;color:#183047;border-radius:9px;box-shadow:0 14px 35px #0007}
.compare-suggestions button{display:block;width:100%;text-align:left;background:none;color:#183047;border-radius:0;border-bottom:1px solid #d7e0e8;font-weight:600}
.compare-suggestions button:hover{background:#dceefa}
.chart-legend i.secondary-dot,.dialog-legend i.secondary-dot{background:#9adf8f}
dialog#chart-dialog{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:clamp(18px,4vw,56px);border:0;background:#102438;color:#f5faff;overflow:auto}
dialog#chart-dialog::backdrop{background:#000b}
.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.dialog-head h2{font-size:clamp(27px,4vw,48px);margin:8px 0}.dialog-head p:not(.eyebrow){color:#b4cbdc;margin:0}
.dialog-chart{background:#1a354b;border:1px solid #ffffff28;border-radius:18px;margin:24px 0 15px;padding:15px;min-height:290px;display:grid;place-items:center}
.dialog-chart svg{display:block;width:100%;height:350px;max-height:none}
.dialog-legend{display:flex;gap:26px;flex-wrap:wrap}.dialog-legend i{display:inline-block;width:10px;height:10px;background:#ff9f28;border-radius:50%;margin-right:7px}
.dialog-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:25px 0}
.dialog-details article{padding:18px;border:1px solid #ffffff25;background:#ffffff0a;border-radius:13px}.dialog-details small{display:block;color:#acc8d8;font-size:12px;margin-bottom:9px}.dialog-details strong{font-size:17px}
.dialog-details table{grid-column:1 / -1;width:100%;border-collapse:collapse;font-size:13px}.dialog-details th,.dialog-details td{padding:9px 12px;border-bottom:1px solid #ffffff25;text-align:left}.dialog-details th{color:#fbd17c}
@media(max-width:900px){.layout{display:flex;flex-direction:column}.metrics,.comparison,.year{min-height:0}.dialog-details{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hero-head .day-total{max-width:140px}.hero-head .day-total strong{font-size:16px}.hero-head .day-total span{font-size:10px}.dial-events{gap:5px}.dial-events b{font-size:9px}.year-actions{align-items:flex-end;flex-direction:column}.year-actions button{font-size:11px}.compare-suggestions{left:0}.dialog-details{grid-template-columns:1fr}.dialog-chart{min-height:180px}.dialog-head{gap:6px}}
body[data-template=aurora] .hero{padding-top:23px;transition:background .8s ease}
.hero h2{margin:0 0 5px;line-height:1.1}
.hero .hero-head{align-items:flex-start}
.now-top{text-align:right;display:flex;flex-direction:column;gap:3px;color:#eff8ff}
.now-top small{font-size:10px;letter-spacing:.12em;font-weight:800;color:#dcefff}
.now-top strong{font-size:24px;line-height:1.15}
.now-top span{font-size:11px;color:#def1ff}
.dial-stats .day-total{margin:0}
.dial-stats .day-total span{font-size:11px}
.dial-events{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}
.dial-events>span{display:flex;flex-direction:column;text-align:center;align-items:center;gap:4px}
.dial-events>span small{font-size:11px;color:#e5f4ff}
.dial-events strong{margin:0}
.dial-events b{text-align:center;min-width:50px}
.metrics-date{margin:6px 0 0;color:#b8cbd9;font-size:12px;text-transform:capitalize}
.year-actions button#expand-chart{width:auto;height:36px;display:flex;align-items:center;gap:8px;padding:0 10px}
.expand-glyph{position:relative;width:20px;height:16px;display:block}
.expand-glyph::before,.expand-glyph::after{content:"";position:absolute;top:1px;width:7px;height:7px;border-top:2px solid currentColor}
.expand-glyph::before{left:0;border-left:2px solid currentColor}
.expand-glyph::after{right:0;border-right:2px solid currentColor}
body[data-template=aurora] .dial-center{
  background:radial-gradient(circle at 33% 24%,#fff8ba 0%,#ffdc72 25%,#ffb52d 58%,#fa8212 83%,#d94a06 100%);
  border:2px solid #ffe9a4;
  box-shadow:0 0 17px 5px #ffe099b8,0 0 45px 13px #ffae3599,0 0 84px 20px #ff6e174d,inset 9px 10px 16px #fff9b1b3,inset -15px -17px 25px #bc39066b;
  animation:sun-glow 7s ease-in-out infinite alternate
}
body[data-template=aurora] .dial-center small{color:#7c2a03}
body[data-template=aurora] .dial-center strong{color:#9a2b00;text-shadow:0 1px 0 #ffe7a5}
body[data-template=aurora] .dial-center span{color:#793206}
@keyframes sun-glow{to{filter:brightness(1.07);box-shadow:0 0 24px 8px #ffe3a4c4,0 0 58px 20px #ffab2eaa,0 0 96px 26px #ff731b55,inset 9px 10px 16px #fff9b1b3,inset -15px -17px 25px #bc39066b}}
body[data-template=aurora] .hero[data-sky=night]{background:radial-gradient(ellipse at 77% 5%,#304877 0%,transparent 50%),linear-gradient(165deg,#081529 2%,#10264a 54%,#163452 100%)}
body[data-template=aurora] .hero[data-sky=dawn]{background:radial-gradient(ellipse at 14% 75%,#ffb66a99,transparent 54%),linear-gradient(160deg,#142a5e,#835173 60%,#ef9e67)}
body[data-template=aurora] .hero[data-sky=dusk]{background:radial-gradient(ellipse at 82% 70%,#ffad6499,transparent 55%),linear-gradient(165deg,#24366b,#8b536b 57%,#d68458)}
body[data-template=aurora] .hero[data-sky=night]::before,body[data-template=aurora] .hero[data-sky=dawn]::before,body[data-template=aurora] .hero[data-sky=dusk]::before{
 content:"";position:absolute;inset:0;pointer-events:none;opacity:.8;
 background:
 radial-gradient(circle at 8% 13%,#fff 0 1px,transparent 2px),
 radial-gradient(circle at 19% 33%,#fff9 0 .8px,transparent 2px),
 radial-gradient(circle at 27% 9%,#fff 0 1.2px,transparent 2.3px),
 radial-gradient(circle at 41% 27%,#fff9 0 .7px,transparent 2px),
 radial-gradient(circle at 56% 12%,#fff 0 1px,transparent 2px),
 radial-gradient(circle at 73% 21%,#fff 0 1.1px,transparent 2.3px),
 radial-gradient(circle at 88% 12%,#fff9 0 .7px,transparent 2px),
 radial-gradient(circle at 94% 39%,#fff 0 1.2px,transparent 2.4px),
 radial-gradient(circle at 13% 62%,#fff7 0 .6px,transparent 2px),
 radial-gradient(circle at 32% 56%,#fff 0 1px,transparent 2px),
 radial-gradient(circle at 52% 68%,#fff8 0 .7px,transparent 2px),
 radial-gradient(circle at 79% 59%,#fff 0 1px,transparent 2px),
 radial-gradient(circle at 91% 78%,#fff9 0 .8px,transparent 2px),
 radial-gradient(circle at 23% 87%,#fff8 0 .7px,transparent 2px),
 radial-gradient(ellipse at 55% 30%,#b7d6ff13 0%,transparent 55%);
}
body[data-template=aurora] .hero[data-sky=dawn]::before,body[data-template=aurora] .hero[data-sky=dusk]::before{opacity:.22}
body[data-template=aurora] .hero>*{position:relative;z-index:1}
@media(max-width:400px){.now-top strong{font-size:18px}.now-top span{font-size:9px}.dial-events{padding:9px 5px;gap:2px}.dial-events>span small{font-size:10px}.dial-events strong{font-size:14px}.dial-events b{font-size:8px;letter-spacing:0;min-width:32px}}
.dial-stats .day-total strong{font-size:24px;line-height:1.35;margin-top:8px;letter-spacing:normal}
.dial-stats .day-total span{margin-top:auto}
.dial-events{padding:9px 7px;margin-bottom:9px}
.dial-events>span:first-child{align-items:flex-start;text-align:left}
.dial-events>span:last-child{align-items:flex-end;text-align:right}
.event-today{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:72px}
.event-today b{font-size:11px;letter-spacing:.08em;color:#fff7d7;text-transform:uppercase}
.event-today small{font-size:10px;color:#e2f3ff;white-space:nowrap}
.expand-glyph{width:18px;height:18px}
.expand-glyph::before,.expand-glyph::after{width:7px;height:7px}
.expand-glyph::before{top:0;right:0;left:auto;border:0;border-top:2px solid currentColor;border-right:2px solid currentColor}
.expand-glyph::after{bottom:0;left:0;top:auto;border:0;border-bottom:2px solid currentColor;border-left:2px solid currentColor}
@media(min-width:801px){
  .compare-city{justify-content:flex-end;margin-top:-18px;margin-bottom:6px;gap:9px}
  .compare-city input{min-width:0;width:245px;max-width:245px}
  .compare-suggestions{left:auto;right:0;width:245px}
}
body[data-template=aurora] .hero[data-sky=night]{background:radial-gradient(ellipse at 75% 5%,#142444 0%,transparent 48%),linear-gradient(165deg,#020713 0%,#071329 58%,#0b1d36 100%)}
.starfield{position:absolute!important;inset:0;pointer-events:none;z-index:0!important;opacity:0;transition:opacity 1.2s ease;overflow:hidden}
.hero[data-sky=night] .starfield{opacity:1}
.hero[data-sky=dawn] .starfield,.hero[data-sky=dusk] .starfield{opacity:.22}
.starfield i{position:absolute;display:block;border-radius:50%;background:#f6fbff;box-shadow:0 0 3px 1px #dcf1ff8c,0 0 8px 2px #a2ceff3d}
.starfield i.spark{box-shadow:0 0 5px 2px #e9f6ffcc,0 0 14px 4px #9fc7ff75}
.starfield i.spark::before,.starfield i.spark::after{content:"";position:absolute;left:50%;top:50%;background:#e8f5ff8c;transform:translate(-50%,-50%);border-radius:100%}
.starfield i.spark::before{width:10px;height:1px;filter:blur(.5px)}
.starfield i.spark::after{width:1px;height:10px;filter:blur(.5px)}
@media(max-width:600px){
  .dial-stats .day-total strong{font-size:19px}
  .dial-events{padding:8px 6px}
  .event-today{min-width:61px}
  .event-today b{font-size:9px}
  .event-today small{font-size:8px}
  .compare-city{justify-content:flex-start;margin-top:12px}
}
@media(max-width:390px){.dial-events>span small{font-size:9px}.dial-events strong{font-size:13px}.event-today{min-width:52px}.event-today small{font-size:7px}}

/* Refinements to the dial, information cards and chart. */
.controls{padding-left:24px;padding-right:10px}
.today-target{font-family:Arial,sans-serif;font-size:19px;font-weight:400;line-height:0;vertical-align:-1px;margin-left:3px}
.clock-colon{display:inline-block;animation:clock-blink 1s steps(1,end) infinite}
@keyframes clock-blink{50%{opacity:0}}
@media(prefers-reduced-motion:reduce){.clock-colon{animation:none}}
.dial-events{padding-left:15px;padding-right:15px;margin-bottom:10px}
.dial-stats{margin-bottom:11px}
.dial-stats>div,.dial-events{border:0;background:linear-gradient(110deg,#ffffff28 0%,#ffffff16 56%,#ffffff0a 100%);backdrop-filter:blur(5px)}
.starfield{mask-image:linear-gradient(to bottom,#000 0 61%,#0004 73%,#0004 100%)}
body[data-template=aurora] .hero[data-sky=night]::before{mask-image:linear-gradient(to bottom,#000 0 61%,#0004 73%,#0004 100%)}
.year-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:14px 0 0}
#year-label{font-size:15px;line-height:1.3;font-weight:400;color:#ffce72}
.year .chart-legend{justify-content:flex-start}
.year-tools .compare-city{margin:0;justify-content:flex-end;gap:9px}
.year .chart-wrap{margin-top:5px}
.year .chart-wrap svg{height:250px}
@media(min-width:1061px){
  .layout{grid-template-columns:minmax(510px,1fr) minmax(0,430px)}
  .metrics{display:flex;flex-direction:column}
  .metrics .metric-grid{flex:1;grid-template-rows:repeat(2,minmax(0,1fr))}
  .metrics .metric-grid article{min-height:0;display:flex;flex-direction:column;justify-content:center}
}
@media(max-width:1060px){.layout{display:flex;flex-direction:column}.metrics,.comparison,.year{min-height:0}}
@media(max-width:600px){.year-tools{flex-wrap:wrap}.year-tools .compare-city{margin:0;justify-content:flex-start}.dial-events{padding-left:11px;padding-right:11px}}
@media(max-width:390px){.dial-events{padding-left:7px;padding-right:7px}}

.brand-name{display:flex;flex-direction:column;gap:1px;line-height:1.05;letter-spacing:.09em}
.brand-name b{font-size:20px}.brand-name small{font-size:10px;font-weight:500;letter-spacing:.14em;color:#c7d5df}
.clock-colon{display:inline-flex;align-items:center;justify-content:center;width:.33em;height:1em;font-size:1.15em;line-height:1;vertical-align:-.09em;margin:0 .005em}
.intro-row{display:grid;grid-template-columns:minmax(0,1fr) 480px;align-items:center;gap:18px;padding:39px 0 10px}
body[data-template=aurora] .intro{padding:0}
.intro-row .intro h1{font-size:clamp(42px,4.5vw,67px)}
.intro-row .controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 11px;padding:16px 18px;margin:0;align-items:end}
.intro-row .search-field{grid-column:1/-1;flex-basis:auto}
.intro-row .date-field{width:auto;min-width:0}
.intro-row .today-button{margin:0;padding:0 15px;white-space:nowrap}
.intro-row .suggestions{top:68px}
body[data-template=aurora] .hero{min-height:0;padding-bottom:16px}
body[data-template=aurora] .light-clock{margin:10px auto 8px}
.light-legend{padding-top:11px}
.comparison-subhead{font-size:22px;letter-spacing:-.04em;margin:15px 0 4px;line-height:1.2}
.comparison-subhead+.compare-row{margin-top:0!important}
.year-edit{display:inline-flex;align-items:center;gap:4px;flex:none;color:#aabcca}
.year-edit input{width:65px;appearance:textfield;-moz-appearance:textfield;border:1px solid transparent;border-radius:7px;background:transparent;color:#f5f9ff;font:800 21px/1.2 Manrope,Arial,sans-serif;padding:3px 0;outline:none}
.year-edit input:hover,.year-edit input:focus-visible{border-color:#ffffff65;background:#ffffff0c}
.year-edit input::-webkit-inner-spin-button,.year-edit input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.year-edit .edit-mark{display:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.source-compare td:last-child{color:inherit}
.source-compare .comparison-scroll{overflow:visible}
.source-compare table{min-width:0}
.source-compare .group-heading th{padding:18px 12px 6px;border:0;color:#b7d3e8;font-size:11px;letter-spacing:.16em;text-transform:uppercase}
.source-compare .group-heading:first-child th{padding-top:8px}
.source-compare tr[data-tone] td:first-child{padding-left:22px;font-weight:600}
.source-compare tr[data-tone=rise] td{color:#ffd273}
.source-compare tr[data-tone=set] td{color:#ffa474}
.source-compare tr[data-tone=duration] td{color:#fff0ae;font:700 13px/1.45 Manrope,Arial,sans-serif}
.source-compare tr[data-tone=civil] td:first-child{border-left:3px solid #ffb686}
.source-compare tr[data-tone=nautical] td:first-child{border-left:3px solid #79b2d0}
.source-compare tr[data-tone=astronomical] td:first-child{border-left:3px solid #8297d2}
.source-compare td{font-variant-numeric:tabular-nums}
#close-chart{width:38px;height:38px;display:grid;place-items:center;padding:0;flex:none;font-size:19px}
.dialog-compare{display:flex;justify-content:flex-end;margin:12px 0 0}.dialog-compare .compare-city{margin:0}
.date-field{position:relative}.date-trigger{width:100%;height:46px;border:1px solid #ffffff30;border-radius:10px;background:#142536;color:#fff;text-align:left;padding:0 14px;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:space-between}.date-trigger:focus-visible{outline:2px solid #ffc45c}.date-trigger svg{width:16px;height:16px;opacity:.85}
.calendar-popover{position:absolute;z-index:30;top:calc(100% + 8px);right:0;width:306px;padding:15px;background:#1a3044;border:1px solid #67849b;border-radius:15px;box-shadow:0 22px 52px #020b17bb;color:#f5f9ff}
.calendar-popover[hidden]{display:none}.calendar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.calendar-head strong{font-size:15px;text-transform:capitalize}.calendar-head button{border:1px solid #ffffff35;background:#ffffff10;color:#fff;border-radius:8px;width:32px;height:32px}.calendar-week,.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}.calendar-week{font-size:10px;color:#acc3d3;font-weight:800;margin-bottom:7px}.calendar-days button{width:34px;height:34px;border:0;border-radius:9px;color:#e7f3fb;background:transparent;font-size:12px}.calendar-days button:hover,.calendar-days button:focus-visible{background:#ffffff2e}.calendar-days button.is-today{background:#ffc45c;color:#142332;font-weight:800}.calendar-days button.is-selected:not(.is-today){outline:2px solid #ffc45c;outline-offset:-2px}.calendar-days button:disabled{opacity:.25;cursor:default}.calendar-footer{display:flex;justify-content:flex-end;margin-top:12px}.calendar-footer button{border:0;border-radius:8px;background:#ffc45c;color:#142332;font-size:12px;font-weight:800;padding:8px 12px}
body[data-template=atlante] .date-trigger,body[data-template=essenziale] .date-trigger{background:#fff;color:#233646;border-color:#cbd2d1}
@media(min-width:1061px){
  .metrics,.comparison{padding:24px}
  .metrics .metric-grid{margin-top:14px}
  .metrics .metric-grid article{padding:10px 12px}
  .comparison .compare-row{padding:9px 0}
  .comparison .compare-row:first-of-type{margin-top:6px}
  .comparison .small{margin-top:8px}
}
@media(max-width:1060px){.intro-row{display:flex;flex-direction:column;align-items:stretch;gap:17px;padding-top:35px}.intro-row .intro h1{font-size:clamp(43px,6vw,66px)}.intro-row .controls{grid-template-columns:minmax(0,1fr) 205px auto}.intro-row .search-field{grid-column:auto}}
@media(max-width:650px){.intro-row .controls{grid-template-columns:minmax(0,1fr) auto}.intro-row .search-field{grid-column:1/-1}.intro-row .date-field{width:auto}.intro-row .today-button{padding:0 14px}}
@media(max-width:520px){.brand-name b{font-size:17px}.brand-name small{font-size:9px}.intro-row{padding-top:31px}.intro-row .intro h1{font-size:43px}.intro-row .controls{padding:14px}}

.month-study{margin:30px 0 24px;padding:26px;border:1px solid #ffffff26;border-radius:20px;background:linear-gradient(155deg,#1a344b,#142a40)}
.month-study-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}
.month-study-head h3{font-size:clamp(21px,2.5vw,30px);letter-spacing:-.04em;margin:7px 0}
.month-study-head p:not(.eyebrow){font-size:13px;color:#b8cbd9;margin:0;line-height:1.5}
.month-study-head>span{font-size:16px;font-weight:400;color:#ffce72;white-space:nowrap}
.month-study-scroll{overflow-x:auto;scrollbar-color:#627f9b transparent}
.month-strips{min-width:810px}
.month-row{display:grid;grid-template-columns:165px minmax(0,1fr);gap:22px;align-items:center;padding:9px 2px;border-bottom:1px solid #ffffff1c}
.month-row:last-child{border-bottom:0}
.month-label strong{display:block;font-size:21px;font-weight:750;letter-spacing:-.04em;line-height:1.15;text-transform:lowercase}
.month-label small{display:block;margin-top:6px;color:#a9c0d3;font-size:11px;white-space:nowrap}
.month-track{height:19px;position:relative;overflow:hidden;border-radius:100px;background:linear-gradient(90deg,#301456 0%,#4e4d9a 20%,#6fc3eb 50%,#5077bd 79%,#311755 100%);box-shadow:inset 0 0 10px #19124477}
.month-daylight{position:absolute;top:0;bottom:0;border-radius:100px;background:linear-gradient(90deg,#ffb73c,#ffd475 25%,#ffe2a0 50%,#ffd475 75%,#ffb73c);box-shadow:0 0 18px #ffc5574a,inset 0 0 14px #ffab2d80}
.month-hours{display:flex;justify-content:space-between;gap:0;margin-top:5px;color:#9fb6c8;font-size:10px;font-variant-numeric:tabular-nums}
.month-hours span{width:20px;text-align:center;flex:none}
@media(max-width:650px){.month-study{padding:19px 14px}.month-study-head{display:block}.month-study-head>span{display:block;margin-top:9px}.month-strips{min-width:740px}.month-row{grid-template-columns:140px minmax(0,1fr);gap:12px}.month-label strong{font-size:18px}}
body[data-template=aurora] .dial-center{border:0}
.event-today small{font-size:11px}
.now-top #local-clock{display:inline-flex;align-items:center;align-self:flex-end;font-variant-numeric:tabular-nums}
.clock-colon{position:static;display:inline-block;width:.35em;height:auto;color:inherit;text-align:center;vertical-align:baseline;font-size:1em;line-height:inherit;margin:0}
.clock-colon::before,.clock-colon::after{content:none}
.dialog-compare .compare-city{justify-content:flex-end}
@media(max-width:650px){.calendar-popover{right:auto;left:0;max-width:calc(100vw - 32px)}.dialog-compare .compare-city{justify-content:flex-start}}
.brand-icon{background:transparent;border-radius:0}.brand-icon svg{width:35px;height:35px;display:block}
.top-caption{max-width:min(58vw,500px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.intro-row .controls{padding-left:24px}.intro-row .controls label{padding-left:5px}
.intro-row .search-field{padding-bottom:1px}.intro-row .suggestions{top:64px}
.year{min-height:0}
body[data-template=aurora] .year{padding:24px 30px}.year .section-head{align-items:center}
.dialog-place-date{display:flex;align-items:center;gap:9px;margin-top:10px;flex-wrap:wrap}.dialog-place-date button{border:1px solid #ffffff50;border-radius:9px;background:#ffffff0b;color:#ffdd91;font-weight:800;padding:8px 11px}.dialog-city-control,.dialog-year-control{position:relative}.dialog-city-editor{position:absolute;z-index:20;top:calc(100% + 7px);left:0;width:300px;padding:8px;background:#1c3449;border:1px solid #698399;border-radius:11px;box-shadow:0 18px 40px #0008}.dialog-city-editor[hidden]{display:none}.dialog-city-editor input{width:100%;height:38px;border:1px solid #ffffff55;border-radius:7px;background:#11263a;color:white;padding:9px}.dialog-city-editor .suggestions{top:51px}.dialog-year-control .calendar-popover{left:0;right:auto}.dialog-year-control .calendar-popover[hidden]{display:none}
.dialog-year-control .calendar-head{gap:3px}.dialog-year-control .calendar-head strong{flex:1;text-align:center;font-size:13px}
.dialog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin:14px 0 0}.dialog-toolbar .dialog-place-date{margin:0}.dialog-toolbar .dialog-compare{margin:0;min-width:280px}.dialog-toolbar .compare-city{justify-content:flex-end;align-items:center;flex-wrap:nowrap}.dialog-toolbar .compare-city input{min-width:170px;width:230px}.dialog-toolbar .compare-city button{white-space:nowrap}.dialog-place-date button#dialog-city-trigger,.dialog-place-date button#dialog-year-trigger{height:38px;display:inline-flex;align-items:center;gap:9px;border:1px solid #648296;border-radius:10px;background:#1b3449;color:#eaf4fa;font-size:13px;font-weight:600;padding:0 12px;transition:background .2s,border-color .2s}.dialog-place-date button:hover{background:#28465c;border-color:#ffc45c}.dialog-place-date button:focus-visible{outline:2px solid #ffc45c;outline-offset:2px}.dialog-place-date button svg{width:15px;height:15px;flex:none;stroke:#ffcf78;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.dialog-place-date #dialog-year-trigger{font-variant-numeric:tabular-nums}
.month-dst-control{display:inline-flex;align-items:center;gap:8px;margin-top:11px;color:#f5d68b;font-size:12px;font-weight:700;cursor:pointer}.month-dst-control input{accent-color:#ffc45c;width:16px;height:16px;cursor:pointer}.month-dst-control[hidden]{display:none}
.chart-interaction{margin:8px 0 19px;padding:13px 17px;border:1px solid #ffffff25;border-radius:13px;background:#ffffff08;display:flex;align-items:center;gap:18px}.chart-interaction>span{font-size:12px;font-weight:800;color:#bed1de}.chart-readout-date{font-weight:800;color:#eaf5fb;font-size:13px;white-space:nowrap}.chart-readout-values{display:flex;gap:18px;flex-wrap:wrap;margin-top:3px;font-size:12px}.chart-readout-values span{white-space:nowrap}.chart-readout-values i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#ffae37;margin-right:5px}.chart-readout-values .secondary i{background:#9adf8f}
#expanded-chart{touch-action:none;cursor:crosshair}#expanded-chart .dial-hour{paint-order:normal}
#light-dial .dial-hour{filter:drop-shadow(1px 1px 0 #8a4a14a8)}
@media(max-width:700px){.chart-interaction{flex-wrap:wrap;gap:7px}.dialog-city-editor{width:min(300px,80vw)}.dialog-year-control .calendar-popover{left:auto;right:0}.dialog-toolbar .dialog-compare{width:100%}.dialog-toolbar .compare-city{justify-content:flex-start;flex-wrap:wrap}.dialog-toolbar .compare-city input{width:min(230px,100%)}}
@media(max-width:800px){.topbar{height:auto;min-height:70px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand locate" "location location";padding:12px 0;gap:8px 14px}.topbar .brand{grid-area:brand}.topbar #locate{grid-area:locate;justify-self:end;margin:0}.topbar #location-label{display:block;grid-area:location;justify-self:end;text-align:right;max-width:100%;margin:0;font-size:10px}}
.topbar #locate{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.topbar #locate svg{width:18px;height:18px;flex:none;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.today-button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.today-button svg{width:19px;height:19px;flex:none;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:520px){.topbar #locate span{display:inline}.topbar #locate{font-size:11px;padding:9px 10px}.topbar #locate svg{width:17px;height:17px}}
.comparison .compare-row{padding:12px 0}.comparison .compare-row:first-of-type{margin-top:10px}.comparison .comparison-subhead{margin-top:13px}.comparison .small{margin-top:10px}
@media(min-width:1061px){.comparison .compare-row{padding:9px 0}.comparison .compare-row:first-of-type{margin-top:6px}.comparison .small{margin-top:8px}}


.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.dialog-year-control .annual-calendar{position:fixed;left:50%;right:auto;top:clamp(70px,10vh,120px);transform:translateX(-50%);width:min(810px,calc(100vw - 36px));max-height:min(82vh,800px);overflow:auto;scrollbar-color:#7893a8 #1a3044;z-index:50;padding:20px 22px;background:#1a3044;border:1px solid #67849b;border-radius:17px;box-shadow:0 25px 60px #020b17dc}
.annual-calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.annual-calendar-head strong{color:#f6f9ff;font-size:20px;font-variant-numeric:tabular-nums}.dialog-place-date .annual-calendar-head button{width:32px;height:32px;padding:0;border:1px solid #ffffff35;background:#ffffff10;color:#f5f9ff;border-radius:8px;font-size:22px;font-weight:400}.annual-calendar-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.annual-calendar-month{padding:11px;background:#ffffff08;border:1px solid #ffffff1c;border-radius:12px;min-width:0}.annual-calendar-month h4{font-size:12px;font-weight:750;margin:0 0 10px;color:#ffce72;text-transform:capitalize}.annual-calendar-month .calendar-week,.annual-calendar-month .calendar-days{gap:2px}.annual-calendar-month .calendar-week{margin-bottom:3px}.dialog-place-date .annual-calendar-month .calendar-days button{width:100%;height:27px;font-size:11px;padding:0;border:0;background:transparent;color:#e7f3fb;font-weight:500}.dialog-place-date .annual-calendar-month .calendar-days button:hover,.dialog-place-date .annual-calendar-month .calendar-days button:focus-visible{background:#ffffff2e}.dialog-place-date .annual-calendar-month .calendar-days button.is-selected{outline:2px solid #ffc45c;outline-offset:-2px}.dialog-place-date .annual-calendar-month .calendar-days button.is-today{background:#ffc45c;color:#142332;font-weight:800}.dialog-place-date .annual-calendar .calendar-footer button{background:#ffc45c;color:#142332;border:0;font-weight:800}
.dialog-city-editor .suggestions,.dialog-compare .compare-suggestions{background:#203b52;color:#f3f8fb;border:1px solid #67849b;border-radius:11px;box-shadow:0 18px 40px #020b17bb;overflow:auto;scrollbar-color:#7794a8 #203b52;z-index:45}.dialog-city-editor .suggestions{left:0;right:0;width:100%;top:51px}.dialog-compare .compare-suggestions{left:auto;right:0;width:290px;top:calc(100% + 6px)}.dialog-city-editor .suggestions button,.dialog-compare .compare-suggestions button{background:transparent;color:#edf7fb;border:0;border-bottom:1px solid #ffffff1c;border-radius:0;font-size:12px;font-weight:600;line-height:1.35;padding:10px 12px;text-align:left;white-space:normal}.dialog-city-editor .suggestions button:hover,.dialog-city-editor .suggestions button:focus-visible,.dialog-compare .compare-suggestions button:hover,.dialog-compare .compare-suggestions button:focus-visible{background:#31536b;color:#fff;outline:none}
@media(max-width:720px){.annual-calendar-months{grid-template-columns:repeat(2,minmax(0,1fr))}.dialog-year-control .annual-calendar{padding:15px}}
@media(max-width:440px){.annual-calendar-months{grid-template-columns:1fr}.dialog-year-control .annual-calendar{max-height:75vh}}

/* Responsive annual detail and borderless controls. */
.month-study-scroll{overflow-x:hidden}.month-strips{min-width:0;width:100%}.month-row{grid-template-columns:clamp(76px,18%,165px) minmax(0,1fr);gap:clamp(7px,2vw,18px)}.month-timeline{min-width:0}.month-hours span{width:4%;min-width:0;flex:1;font-size:clamp(6px,.85vw,10px)}.month-name-short{display:none}
.dialog-toolbar .dialog-compare{flex:1;min-width:0;width:auto}.dialog-toolbar .compare-city{width:100%;justify-content:flex-end;flex-wrap:nowrap;gap:8px}.dialog-toolbar .compare-city label{white-space:nowrap}.dialog-toolbar .compare-city input{min-width:0;width:auto;max-width:230px;flex:1;border:0}.dialog-toolbar .compare-city button{padding:8px;font-size:11px}.dialog-place-date button#dialog-city-trigger,.dialog-place-date button#dialog-year-trigger{border:0}.dialog-toolbar .compare-city input:focus-visible{outline:2px solid #ffc45c;outline-offset:2px}
.dialog-toolbar .compare-city input{height:38px;background:#1b3449;border:0;border-radius:10px;color:#eaf4fa;font-size:13px;font-weight:600;padding:0 12px;box-shadow:none}.dialog-toolbar .compare-city input::placeholder{color:#a9c3d2;font-weight:500;opacity:1}
.chart-series-controls{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:17px 2px -9px;color:#dceaf2;font-size:12px;font-weight:700}.chart-series-controls label{display:inline-flex;align-items:center;gap:7px;cursor:pointer}.chart-series-controls input{width:15px;height:15px;margin:0;cursor:pointer;accent-color:#ffc45c}.chart-series-controls i{width:11px;height:3px;border-radius:3px;background:linear-gradient(90deg,#67d0f5 50%,#ff9e77 50%)}
#expanded-chart{pointer-events:all}#expanded-chart .chart-pointer{opacity:0;pointer-events:none}#expanded-chart:hover .chart-pointer{opacity:1}
.dialog-place-date .month-dst-control{margin:0 0 0 4px;padding:8px 10px;min-height:38px;background:#1b3449;border-radius:10px;white-space:nowrap}
.dialog-year-control .annual-calendar{position:absolute;left:0;right:auto;top:calc(100% + 8px);transform:none;width:min(350px,calc(100vw - 42px));max-height:none;overflow:visible;padding:14px}
.annual-year-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.dialog-place-date .annual-year-grid button{height:39px;width:100%;padding:0;border:0;border-radius:8px;background:#ffffff12;color:#eaf5fb;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}.dialog-place-date .annual-year-grid button:hover,.dialog-place-date .annual-year-grid button:focus-visible{background:#ffffff2a;outline:2px solid #ffc45c;outline-offset:-2px}.dialog-place-date .annual-year-grid button.is-selected{background:#ffc45c;color:#132a3d}
.dialog-details .detail-time{display:block;margin-top:7px;color:#b9d4e2;font-size:12px;font-variant-numeric:tabular-nums}
@media(max-width:560px){.dialog-year-control .annual-calendar{left:auto;right:0}}
@media(max-width:600px){.dialog-toolbar:has(#month-dst-wrap:not([hidden])) .dialog-compare{flex-basis:100%;width:100%}.dialog-toolbar:has(#month-dst-wrap:not([hidden])) .compare-city{justify-content:flex-start}}
@media(max-width:720px){.month-name-full,.month-label small{display:none}.month-name-short{display:inline}.month-label strong{font-size:clamp(13px,2.5vw,18px)}.month-row{grid-template-columns:50px minmax(0,1fr);gap:6px}.month-study-head{gap:8px}.month-hours span:nth-child(even){visibility:hidden}}
@media(max-width:580px){.dialog-toolbar:has(#clear-compare:not([hidden])) .dialog-compare{flex-basis:100%;width:100%}}
@media(max-width:475px){.dialog-toolbar .dialog-compare{flex-basis:100%;width:100%}}
@media(max-width:580px){.dialog-toolbar:has(#clear-compare:not([hidden])) .compare-city{justify-content:flex-start}.month-hours span:not(:nth-child(4n+1)){visibility:hidden}}
@media(max-width:475px){.dialog-toolbar .compare-city{justify-content:flex-start}.dialog-toolbar .compare-city input{max-width:none}.month-row{grid-template-columns:38px minmax(0,1fr);gap:5px}}
.dialog-toolbar .compare-city input{min-width:120px}.dialog-toolbar .compare-city button#clear-compare{width:38px;height:38px;display:grid;place-items:center;flex:none;padding:0;border-radius:10px}.dialog-toolbar .compare-city button#clear-compare[hidden]{display:none}.dialog-toolbar #clear-compare svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:800px){.month-study-head{flex-direction:column;align-items:flex-start;gap:5px}.month-study-head>span{margin-top:0;text-align:left}}


@media(min-width:1061px) and (max-width:1200px){.intro-row .intro h1{font-size:clamp(36px,4vw,48px)}.intro-row .intro .eyebrow{font-size:9px}}
.month-daylight{display:flex;align-items:center;justify-content:center;color:#593707;font-size:10px;font-weight:800;white-space:nowrap}.month-duration{padding:0 3px;line-height:19px}
.light-clock{container-type:inline-size}body[data-template=aurora] .dial-center small{font-size:2.5cqw;color:#e66308}body[data-template=aurora] .dial-center strong{font-size:7.2cqw;color:#e85f06;text-shadow:0 1px 0 #fff1b4}body[data-template=aurora] .dial-center span{font-size:2.5cqw;color:#df610c;max-width:31cqw}#light-dial .dial-hour{font-family:Manrope,Arial,sans-serif;font-variant-numeric:tabular-nums;filter:none}.extreme-times{display:block;margin-top:5px;font-weight:400;color:#bccdd9;font-size:11px;line-height:1.4}
.dialog-chart{padding:5px 3px 0;min-height:0;margin-bottom:10px}.detail-city-secondary{border-top:1px solid #ffffff28;margin-top:14px;padding-top:12px}.detail-city-name{display:block;color:#ffc45c;font-size:11px;margin-top:6px}.detail-city-secondary .detail-city-name{color:#9adf8f}
body[data-template=aurora] .year{padding:24px 12px 6px}.year .section-head,.year>.subtle,.year-tools{margin-left:12px;margin-right:12px}.year .chart-wrap{margin-bottom:0}
@media(min-width:521px) and (max-width:1060px){body[data-template=aurora] .year{padding-top:31px}.year .section-head,.year>.subtle,.year-tools{margin-left:19px;margin-right:19px}}@media(max-width:520px){body[data-template=aurora] .year{padding-top:22px}.year .section-head,.year>.subtle,.year-tools{margin-left:10px;margin-right:10px}}
.year .year-tools{margin-top:2px;margin-bottom:9px}.year #year-label{font-size:12px;color:#dce5ec}.year .year-tools i{width:8px;height:8px;margin-right:6px}
