:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#111514;--panel:#1b211e;--ink:#f1f1e9;--muted:#b4bdb5;--line:#35413a;--gold:#e6c879;--dark:#202519;--error:#ffb8a4;--margin:clamp(1rem, 2.2vw, 2rem);--gutter:clamp(1rem, 2.2vw, 2rem);--size-small:.875rem;--size-body:1.0625rem;--size-lead:clamp(1.125rem, 1.7vw, 1.5rem);--size-head:clamp(1.5rem, 3vw, 2.75rem);--size-display:clamp(2rem, 7.4vw, 7rem);--ease-out:cubic-bezier(.16, 1, .3, 1);font-family:var(--font-manrope), Arial, Helvetica, sans-serif;font-synthesis:none}*{box-sizing:border-box}html{background:var(--bg);scroll-behavior:smooth;scroll-padding-top:2rem}body{background:var(--bg);color:var(--ink);font:var(--size-body)/1.6 var(--font-manrope), Arial, Helvetica, sans-serif;margin:0}button,input,select{font:inherit}a{color:inherit;text-underline-offset:.22em;text-decoration-thickness:.07em}:lang(fr) a{text-wrap:pretty}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:44px}button:disabled{cursor:wait}:where(button,a,summary,input,select,[tabindex]):focus-visible{outline:3px solid var(--gold);outline-offset:5px}::selection{color:var(--bg);background:var(--gold)}p,h1,h2,h3,figure{margin:0}h1,h2,h3{letter-spacing:-.035em;text-wrap:balance;-webkit-hyphens:none;hyphens:none;font-weight:500;line-height:1.08}h1{font-size:var(--size-display)}h2{font-size:var(--size-head)}h3{font-size:var(--size-lead)}p{max-width:70ch}p+p{margin-top:1em}img{max-width:100%;height:auto;display:block}input,select{width:100%;min-width:0;min-height:48px;color:var(--ink);background:var(--bg);border:1px solid #616c62;border-radius:0;padding:.6rem .75rem}input[type=checkbox]{width:22px;min-height:22px;accent-color:var(--gold);flex-shrink:0}input[type=date],input[type=time],time{font-variant-numeric:tabular-nums}label{color:var(--ink);font-size:var(--size-small);display:block}label input,label select{margin-top:.35rem}button,summary,a{transition:color .18s ease, background-color .18s ease, transform .18s var(--ease-out)}button:active,summary:active{transform:translateY(2px)}.topbar,.page-content,.footer,.privacy-access{width:100%;max-width:1920px;padding-inline:var(--margin);margin-inline:auto}.topbar{justify-content:space-between;align-items:center;gap:1rem;min-height:80px;display:flex}.brand{letter-spacing:-.045em;white-space:nowrap;align-items:center;gap:.15rem;font-size:1.5rem;font-weight:600;text-decoration:none;display:inline-flex}.brand-mark{color:var(--gold);margin-right:.45rem;font-size:2rem;line-height:1;transform:rotate(-35deg)}.brand-dot{color:var(--gold)}.topbar nav{font-size:var(--size-small);align-items:center;gap:clamp(1rem,3vw,3rem);display:flex}.topbar nav a{align-items:center;min-height:44px;text-decoration:none;display:inline-flex}.language-switcher{position:relative}.language-switcher summary{cursor:pointer;align-items:center;gap:.35rem;min-height:44px;list-style:none;display:flex}.language-switcher summary:after{content:"⌄"}.language-switcher summary::-webkit-details-marker{display:none}.language-switcher ul{z-index:5;background:#303b32;width:230px;max-width:calc(100vw - 2rem);margin:0;padding:.75rem 1.25rem;list-style:none;position:absolute;top:100%;right:0}.language-switcher li a{width:100%}.language-switcher a[aria-current=page]{font-weight:700}.skip-link{z-index:10;background:var(--gold);color:var(--dark);padding:.6rem 1rem;position:fixed;top:-100px;left:1rem}.skip-link:focus{top:1rem}.page-content{padding-block:2.5rem 0}.page-intro{margin-bottom:3rem}.page-intro h1{max-width:24ch}.page-intro>.intro-text{font-size:var(--size-lead);margin-top:2rem;line-height:1.5}.heading-tail{font-size:var(--size-lead);margin-top:1.5rem}.heading-tail+.intro-text{margin-top:1rem}.byline,.breadcrumb{font-size:var(--size-small);color:var(--muted)}.byline{margin-top:1.5rem}.breadcrumb{flex-wrap:wrap;gap:.6rem;margin-top:1.5rem;display:flex}.page-tool .page-intro{align-items:start;column-gap:var(--gutter);grid-template-columns:1fr 1fr;row-gap:.75rem;margin-bottom:1.5rem;display:grid}.page-tool .page-intro h1{max-width:none;font-size:clamp(2rem,3vw,2.75rem)}.page-tool .page-intro>.intro-text{font-size:var(--size-body);max-width:66ch;margin:0}.page-tool .breadcrumb{grid-column:1/-1;margin-top:0}.night-window{vertical-align:baseline;background:var(--panel);flex-shrink:0;width:2.6em;height:1.12em;display:inline-block;overflow:clip}.night-window img{object-fit:cover;object-position:center 60%;width:100%;height:100%}.night-panorama{background:var(--panel);width:100%;height:clamp(240px,27vw,440px);margin-top:2.5rem;display:block;overflow:clip}.night-panorama img{object-fit:cover;object-position:center 82%;width:100%;height:100%}.calculator{min-width:0}.mode-grid{flex-wrap:wrap;align-items:stretch;gap:.5rem;margin-bottom:1.25rem;display:flex}.mode-grid button{color:var(--ink);background:var(--panel);font-size:var(--size-small);border:0;flex:0 auto;padding:.65rem 1.25rem;line-height:1.4}.mode-grid button[aria-pressed=true]{color:var(--bg);background:var(--ink)}.sleep-sentence{font-size:var(--size-display);letter-spacing:-.05em;font-weight:500;line-height:1.1}.sentence-start,.sentence-finish{align-items:center;gap:.2em;min-width:0;display:flex}.sentence-start{margin-bottom:.15em}.sentence-start label,.sentence-end{font-size:inherit;line-height:inherit;letter-spacing:inherit;white-space:nowrap}.sleep-sentence input[type=time]{width:4.6em;height:1.2em;min-height:44px;font-size:inherit;font-weight:inherit;letter-spacing:-.05em;background:var(--panel);border:0;margin:0;padding:0 .1em;line-height:1}.sleep-sentence input::-webkit-calendar-picker-indicator{opacity:.65;width:.18em;height:.18em;margin:0;padding:.04em}.sleep-sentence input::-webkit-datetime-edit-ampm-field{letter-spacing:0;font-size:.3em}.sleep-sentence input::-webkit-datetime-edit{padding:0}.sentence-end time{white-space:nowrap}.sentence-end time small{letter-spacing:0;font-size:max(13px,.55em)}.sentence-finish,.sentence-window .sentence-finish{font-size:.8em}.sentence-window .sentence-end{align-items:center;gap:.2em;display:flex}.sentence-arrow{font-weight:400}.sentence-caption{font-size:var(--size-small);color:var(--muted);margin-top:1rem}.calculator-controls{gap:var(--gutter);grid-template-columns:1fr 1fr;align-items:start;margin-top:2.5rem;display:grid}.calculator-question{font-size:var(--size-lead);margin-bottom:1rem;line-height:1.3}.planning-date-fields{gap:1.5rem;display:flex}.date-time-field{border:0;width:min(100%,20rem);min-width:0;margin:0;padding:0}.date-time-field legend{font-size:var(--size-small);margin-bottom:.35rem}.date-time-inputs{grid-template-columns:1fr;display:grid}.date-time-field>label{margin-top:1rem}.settings{margin:0 0 .75rem}.settings summary{cursor:pointer;min-height:44px;font-size:var(--size-small);justify-content:space-between;align-items:center;list-style:none;display:flex}.settings summary::-webkit-details-marker{display:none}.settings[open] summary span{transform:rotate(45deg)}.settings-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;padding-block:.75rem;display:grid}.calculate-button{background:var(--gold);width:100%;min-height:56px;color:var(--dark);border:0;border-radius:0;justify-content:space-between;align-items:center;padding:.8rem 1.1rem;font-weight:600;text-decoration:none;display:flex}.guide-action{gap:3rem;width:fit-content;max-width:100%;margin-top:2rem}.calculator svg{flex-shrink:0;width:20px;height:20px}.calculation-note,.timezone,.reminder-note,.status-message,.field-error{font-size:var(--size-small)}.calculation-note{max-width:90ch;margin-top:1.5rem}.timezone{color:var(--muted);overflow-wrap:anywhere;margin-top:.35rem}.status-message{margin-top:.75rem}.status-message:empty{display:none}.results-preview{gap:1.25rem var(--gutter);background:var(--panel);grid-template-columns:1fr 1fr;margin-top:3rem;padding:2rem;display:grid}.results-preview h2{max-width:20ch}.results-preview>p{max-width:48ch}.estimate-summary{align-items:end;gap:3rem;margin:0;display:flex}.estimate-summary div{flex-direction:column-reverse;display:flex}.estimate-summary dt{font-size:var(--size-small)}.estimate-summary dd{font-size:var(--size-head);font-variant-numeric:tabular-nums;margin:0;line-height:1.3}.estimate-summary dd span{font-size:var(--size-small)}.results-preview .preview-footnote{font-size:var(--size-small);align-self:end}.results{min-width:0;margin-top:3rem}.results-heading{margin-bottom:2rem}.results-title-row{justify-content:space-between;align-items:baseline;gap:1rem;display:flex}.results-heading p{font-size:var(--size-small);color:var(--muted);margin-top:.75rem}.edit-calculation{min-height:44px;font-size:var(--size-small);align-items:center;display:inline-flex}.results-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:0 0 1.5rem;padding:0;list-style:none;display:grid}.result{background:var(--panel);min-width:0;padding:1.5rem}.result-short{background:#171c19}.result-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:.3rem 1.5rem;display:grid}.result-label,.result-time,.result-date{grid-column:1}.result-label{font-size:var(--size-small);grid-row:1}.result-time{font-size:var(--size-head);letter-spacing:-.045em;white-space:nowrap;grid-row:2;font-weight:500;line-height:1.2;display:block}.result-time small{font-size:var(--size-small);letter-spacing:0;line-height:1.5;display:block}.result-date{font-size:var(--size-small);grid-row:3}.result-duration{font-size:var(--size-small);grid-area:1/2/span 2}.result-duration>span{visibility:hidden;height:0;display:block}.result-interval{font-size:var(--size-small);grid-area:3/2}.result-tag,.short-sleep{font-size:var(--size-small);grid-column:1/-1;margin-top:.75rem}.short-sleep,.field-error{color:var(--error)}.text-button{color:var(--ink);text-align:left;text-underline-offset:.22em;font-size:var(--size-small);background:0 0;border:0;padding:.5rem 0;text-decoration:underline}.result .text-button{grid-column:1/-1;justify-content:space-between;align-items:center;gap:.5rem;width:100%;margin-top:.75rem;display:flex}.result .text-button svg{order:1;width:16px;height:16px}.reminder-note{margin-top:.5rem}.share-actions{flex-wrap:wrap;gap:1rem;margin-top:1.5rem;display:flex}.share-actions button,.secondary-button,.stale-note button{background:var(--panel);color:var(--ink);font-size:var(--size-small);border:0;border-radius:0;padding:.65rem 1rem}.field-error{margin-top:.75rem}.stale-note{background:var(--panel);margin-bottom:1.5rem;padding:1.25rem}.now-note{max-width:48ch}.home-resources{gap:var(--gutter);grid-template-columns:1fr 1fr;margin-block:6rem;display:grid}.home-resources>div{flex-direction:column;align-items:start;gap:.35rem;display:flex}.home-resources a{align-items:center;min-height:44px;display:inline-flex}.editorial{width:100%;max-width:70ch;margin-inline:auto}.page-tool .editorial{margin-top:7rem}.contents{background:var(--panel);flex-direction:column;gap:.55rem;margin-bottom:4rem;padding:2rem;display:flex}.contents strong{font-size:var(--size-lead);margin-bottom:.5rem;font-weight:500}.contents a{font-size:var(--size-body)}.content-section{margin-bottom:4.5rem;scroll-margin-top:2rem}.content-section h2{margin-bottom:1.5rem}.content-section h2.heading-long{font-size:clamp(1.25rem,2.5vw,2.25rem)}.content-section h2.heading-very-long{font-size:clamp(1.125rem,2vw,2rem)}.content-section p,.content-section li{color:var(--ink);line-height:1.75}.content-section ul{margin-block:1.25rem;padding-left:1.25rem}.content-section li{margin-bottom:.7rem}.table-scroll{margin-block:1.75rem;overflow:auto}table{border-collapse:collapse;width:100%;font-size:var(--size-small);text-align:left;min-width:360px}#seven-am-example table{min-width:0}th{font-weight:600}td,th{vertical-align:top;border-bottom:1px solid var(--line);padding:.8rem}.sources{background:var(--panel);margin-top:4.5rem;padding:2rem}.sources h2{margin-bottom:1.5rem}.sources ul{margin:0 0 1.5rem;padding:0;list-style:none}.sources li{margin-bottom:.9rem}.sources p{font-size:var(--size-small)}.related{max-width:70ch;margin:5rem auto 0}.related h2{margin-bottom:1.5rem}.related>div{gap:1rem;display:grid}.related a{justify-content:space-between;align-items:baseline;gap:1rem;min-height:44px;padding-block:.5rem;display:flex}.public-share{background:var(--panel);max-width:70ch;margin:4rem auto 0;padding:2rem}.public-share p{margin-bottom:1rem}.public-share button{min-height:44px}.public-share input{width:100%}.guide-examples{margin-bottom:4.5rem}.guide-examples h2{margin-bottom:1.5rem;font-size:clamp(1.25rem,2.5vw,2.25rem)}.guide-examples-list{gap:1.5rem;margin:1.5rem 0 0;padding:0;list-style:none;display:grid}.guide-example{background:var(--panel);flex-direction:column;gap:1rem;min-width:0;padding:2rem;display:flex}.guide-example h3{font-size:var(--size-lead)}.guide-example>p{margin:0}.guide-example dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:0;display:grid}.guide-example dt{font-size:var(--size-small);color:var(--muted)}.guide-example dd{font-size:var(--size-lead);font-variant-numeric:tabular-nums;margin:.25rem 0 0}.guide-example a{align-items:center;gap:.45rem;min-height:44px;display:inline-flex}.guide-examples-note{font-size:var(--size-small);margin-top:1.5rem}.footer{margin-top:7rem;padding-block:0 2.5rem}.night-atlas{margin-bottom:5rem}.night-atlas h2{max-width:28ch;margin-bottom:2rem}.night-atlas-pictures{gap:var(--gutter);grid-template-columns:1.3fr 1fr .8fr;align-items:stretch;display:grid}.night-atlas-pictures img{object-fit:cover;width:100%;height:clamp(200px,28vw,440px)}.night-atlas-pictures img:nth-child(2){object-position:32% 58%}.resource-directory{gap:var(--gutter);grid-template-columns:1fr 1fr;margin-bottom:5rem;scroll-margin-top:2rem;display:grid}.resource-directory h2{margin-bottom:1.25rem}.resource-directory a{align-items:center;width:fit-content;max-width:100%;min-height:44px;display:flex}.footer-close{column-gap:var(--gutter);grid-template-columns:1fr 1fr;align-items:end;row-gap:1rem;display:grid}.footer-contact{letter-spacing:-.055em;grid-column:1/-1;justify-content:space-between;align-items:baseline;min-height:44px;margin-bottom:2rem;font-size:clamp(3rem,9vw,9rem);line-height:1.1;text-decoration:none;display:flex}.footer-information{flex-wrap:wrap;gap:.5rem 2rem;margin-top:2rem;display:flex}.footer-information a{align-items:center;min-height:44px;display:inline-flex}.photo-credits{gap:.75rem var(--gutter);grid-template-columns:1fr 1fr;margin-top:3rem;display:grid}.photo-credits p{font-size:var(--size-body);max-width:100%}.footer-credit{font-size:var(--size-small)}.photo-credits>p:first-child{grid-column:1/-1}.photo-credits p+p{margin:0}.photo-credits>p:nth-child(odd):not(:first-child){text-align:right;justify-self:end}.footer-credit{margin-top:2rem}.privacy-access{padding-bottom:2rem}.privacy-panel{background:var(--panel);max-width:70ch;margin:0 auto 2rem;padding:2rem}.privacy-panel h2{font-size:var(--size-head);margin-bottom:1rem}.privacy-panel p{margin-bottom:1rem}.privacy-panel button{margin-top:.75rem;margin-right:.75rem}.check-label{align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.ad-slot{min-height:300px;margin-block:2rem;position:relative}.ad-slot .adsbygoogle{width:100%;min-height:280px;display:block}.ad-label{font-size:var(--size-small);color:var(--muted);display:block}.not-found{padding-top:4rem}.not-found h1{max-width:22ch}.not-found p{margin-top:1.5rem}.not-found .night-panorama{margin-top:3rem}@media (hover:hover){a:hover,.text-button:hover{color:var(--gold)}.calculate-button:hover{background:var(--ink);color:var(--dark)}.mode-grid button:hover,.secondary-button:hover,.share-actions button:hover{color:var(--ink);background:#303b32}}@media (min-width:1600px){.sleep-sentence{font-size:7rem}}@media (max-width:1023px){.sleep-sentence{font-size:clamp(2rem,7.4vw,5rem)}.settings-grid{grid-template-columns:1fr}.result-body{column-gap:1rem}.result{padding:1.25rem}}@media (max-width:639px){.topbar{gap:.6rem;min-height:64px}.brand{font-size:1.25rem}.brand-mark{margin-right:.2rem;font-size:1.6rem}.topbar nav{gap:.75rem}.page-content{padding-top:1.25rem}.page-intro{margin-bottom:2.5rem}.page-intro h1{font-size:2.25rem}.page-intro h1.heading-long{font-size:1.75rem}.page-intro>.intro-text{margin-top:1.5rem}.page-tool .page-intro{grid-template-columns:1fr;row-gap:.65rem;margin-bottom:1rem}.page-tool .page-intro h1{font-size:1.75rem}.page-tool .page-intro>.intro-text{font-size:1rem;line-height:1.5}.page-tool .breadcrumb,.breadcrumb>span{display:none}.night-panorama{height:250px;margin-top:2rem}.mode-grid{flex-wrap:nowrap;gap:.25rem;margin-bottom:1rem}.mode-grid button{flex:1 1 0;min-height:48px;padding:.45rem .25rem;font-size:.8125rem}.sleep-sentence{font-size:clamp(1.6rem,8vw,2.25rem);line-height:1.15}.sentence-start{margin-bottom:.35em}.sentence-finish{gap:.16em;font-size:.78em}.night-window{width:2em;height:1.1em}.sentence-start input[type=time]{width:4.7em}.sentence-caption{margin-top:.75rem}.calculator-controls{grid-template-columns:1fr;gap:.5rem;margin-top:1.5rem}.calculator-question{margin-bottom:.65rem;font-size:1.125rem}.planning-date-fields{gap:1rem}.date-time-field{width:100%}.planning-actions{margin-top:.25rem}.settings{margin-bottom:.5rem}.settings-grid{grid-template-columns:1fr}.calculate-button{min-height:52px}.calculation-note{margin-top:1.25rem}.results-preview{grid-template-columns:1fr;margin-top:3rem;padding:1.5rem}.results-preview h2{max-width:none}.estimate-summary{gap:2.5rem}.results{margin-top:3rem}.results-title-row{align-items:start}.results-title-row h2{max-width:15ch}.edit-calculation{text-align:right;justify-content:end;min-width:6rem}.results-list{grid-template-columns:1fr}.result{padding:1.25rem}.result-time{font-size:2rem}.result-body{gap:.35rem .75rem}.result-date,.result-interval{line-height:1.55}.share-actions{grid-template-columns:1fr 1fr;display:grid}.home-resources{grid-template-columns:1fr;gap:1.25rem;margin-block:4rem}.page-tool .editorial{margin-top:4.5rem}.content-section{margin-bottom:3.5rem}.content-section h2{margin-bottom:1.25rem}.contents,.sources,.public-share,.guide-example{padding:1.25rem}.contents{margin-bottom:3.5rem}.related{margin-top:3.5rem}.guide-examples{margin-bottom:3.5rem}.guide-example dl{gap:1rem .75rem}.guide-example dd{font-size:1.125rem}.night-atlas{margin-bottom:3.5rem}.night-atlas h2{margin-bottom:1.5rem}.night-atlas-pictures{grid-template-columns:1fr 1fr}.night-atlas-pictures img{height:200px}.night-atlas-pictures img:first-child{grid-column:1/-1;height:260px}.footer{margin-top:5rem}.resource-directory{grid-template-columns:1fr;gap:2.5rem;margin-bottom:3.5rem}.footer-close{grid-template-columns:1fr}.footer-contact{margin-bottom:1rem;font-size:14vw}.footer-information{gap:.5rem 1.5rem}.photo-credits{grid-template-columns:1fr;margin-top:2.5rem}.photo-credits>p:nth-child(odd):not(:first-child){text-align:left;justify-self:start}.privacy-panel{margin-inline:var(--margin);padding:1.25rem}.not-found{padding-top:2.5rem}.not-found h1{font-size:2.25rem}}@media (max-width:374px){.topbar nav{gap:.5rem;font-size:.8125rem}.brand{font-size:1.125rem}.brand-mark{margin-right:.1rem}.sleep-sentence{font-size:8vw}.sentence-finish{font-size:.78em}.result{padding:1rem}.result-time{font-size:1.75rem}}@media (prefers-reduced-motion:no-preference){[data-shutter]{animation:1.1s cubic-bezier(.76,0,.24,1) both night-open}[data-shutter] img{animation:night-settle 1.2s var(--ease-out) both, night-drift 3.5s ease-in-out 1.2s 1 both}.results{animation:results-enter .35s var(--ease-out)}}@keyframes night-open{0%{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}@keyframes night-settle{0%{transform:scale(1.12)}to{transform:scale(1)}}@keyframes night-drift{0%{transform:scale(1)}to{transform:scale(1.06)translate(-1%)}}@keyframes results-enter{0%{transform:translateY(12px)}to{transform:translateY(0)}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{transition:none!important;animation:none!important}}
@font-face{font-family:manrope;src:url(../media/manrope_latin_wght_normal-s.p.1p_a2k8qd5zhp.woff2?dpl=dpl_55qHyaaXpKHiVSLmW6SjeHai8KuB)format("woff2");font-display:swap;font-weight:200 800}@font-face{font-family:manrope Fallback;src:local(Arial);ascent-override:106.45%;descent-override:29.96%;line-gap-override:0.0%;size-adjust:100.14%}.manrope_83572819-module__-9NNEG__className{font-family:manrope,manrope Fallback}.manrope_83572819-module__-9NNEG__variable{--font-manrope:"manrope", "manrope Fallback"}
