
.sleep-hero{position:relative;isolation:isolate;overflow:hidden;border:1px solid #2b434f;border-radius:28px;padding:32px;background:#101e2a;color:#eeeadd}.sleep-hero .sc-sky{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 90% 0%,rgba(120,158,157,.12),transparent 60%)}.sc-sky:before,.sc-sky:after{content:"";position:absolute;border:1px solid rgba(156,197,195,.12);border-radius:50%;width:700px;height:370px;right:-210px;top:-230px;transform:rotate(-24deg)}.sc-sky:after{width:820px;height:490px;right:-270px;top:-290px}.sleep-hero .tool-intro{text-align:left;padding:0 0 24px;max-width:650px}.sleep-hero .tool-intro h1{font-size:44px;margin:8px 0 12px;color:#f0e8d9;letter-spacing:-.5px}.sleep-hero .tool-intro .eyebrow{color:#a9c7be;font-size:14px;letter-spacing:.5px}.sleep-hero .tool-intro p{color:#b4c3c7;font-size:18px;max-width:54ch;margin:0}.sc-nightdesk{font-family:Nunito,system-ui,sans-serif;color:#eeeadd;max-width:none;margin:0}.sc-nightdesk button,.sc-nightdesk input,.sc-nightdesk select{font:inherit}.sc-nightdesk [hidden]{display:none!important}.sc-desk{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,1fr);gap:32px;align-items:center}.sc-launch{margin:0;text-align:left;padding:24px;border:1px solid #34505b;border-radius:20px;background:#142632}.sc-mode{border:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 20px}.sc-mode button{min-height:52px;border:1px solid #3d5861;border-radius:12px;background:transparent;color:#b9cbd0;padding:8px 12px;display:flex;align-items:center;gap:8px;justify-content:center;font-size:16px;font-weight:700;cursor:pointer}.sc-mode button svg{width:24px;height:24px;flex-shrink:0}.sc-mode button[aria-pressed=true]{background:#2b4249;border-color:#b3c9bc;color:#f3edde}.sc-mode button:hover{border-color:#c7d2c7}.sc-time-well{border:1px solid #2c4652;border-radius:16px;background:#0b1a25;padding:16px}.sc-time-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.sc-time-top>label{font-size:14px;color:#b4c6ca}.sc-format{padding:0;margin:0;border:0;display:flex;gap:4px}.sc-format button{padding:4px 8px;border:0;border-radius:8px;background:transparent;color:#aabfc6;font-size:14px;min-width:44px;min-height:44px;cursor:pointer}.sc-format button[aria-pressed=true]{background:#29414c;color:#f1ebde}.sc-clock{display:flex;align-items:center;gap:12px;margin:8px 0 16px;max-width:none}.sc-time-pair{display:flex;align-items:center;flex:1;min-width:0}.sc-clock label{min-width:0;flex:1}.sc-clock select{width:100%;height:64px;appearance:none;border:0;border-radius:8px;background:transparent;color:#f3edde;font-family:Fredoka,Nunito,sans-serif;font-size:44px;font-weight:600;line-height:1.2;padding:4px;text-align:center;cursor:pointer}.sc-clock select:hover{background:#152b37}.sc-time-pair>span{font-size:32px;color:#718d99;padding:0 4px}.sc-period{flex:0 0 72px!important;border-left:1px solid #34505b;padding-left:12px}.sc-period select{font:700 22px Nunito,sans-serif;height:48px}.sc-latency-row{display:flex;align-items:center;gap:12px;justify-content:space-between;padding-top:16px;border-top:1px solid #2c4652}.sc-latency-row>div:first-child{min-width:0}.sc-latency-row label{display:block;font-size:16px;font-weight:700}.sc-latency-row>div>span{display:block;font-size:12px;color:#9db4bc;margin-top:4px}.sc-stepper{display:flex;gap:4px;align-items:center;flex-shrink:0}.sc-stepper button{width:36px;min-height:44px;padding:4px;border:0;border-radius:8px;background:#1b323f;color:#d4e2df;font-size:22px;cursor:pointer}.sc-stepper button:hover{background:#304b55}.sc-stepper input{width:44px;min-height:44px;padding:4px 0;border:0;border-bottom:1px solid #617e87;border-radius:0;background:transparent;color:#f1eadb;text-align:center;font-size:18px;font-weight:700;appearance:textfield;-moz-appearance:textfield}.sc-stepper input::-webkit-inner-spin-button,.sc-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.sc-stepper>span{font-size:14px;color:#b4c6ca;margin:0 4px}.sc-actions{display:grid;grid-template-columns:1.1fr 1fr;gap:8px;margin:20px 0 0}.sc-actions button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 12px;border-radius:12px;font-size:16px;line-height:1.4;font-weight:700;cursor:pointer}.sc-calculate{background:#f0c19e;border:1px solid #f0c19e;color:#192a32}.sc-calculate:hover{background:#f6d0b4;border-color:#f6d0b4}.sc-sleep-now{background:transparent;border:1px solid #72968f;color:#d5e6db}.sc-sleep-now:hover{background:#29434a}.sc-sleep-now svg{width:24px;height:24px;flex-shrink:0}.sc-private{margin:12px 0 0;text-align:center;font-size:12px;line-height:1.6;color:#a6bec4}.sc-window-scene{position:relative;text-align:center;max-width:300px;width:100%;justify-self:center}.sc-dream-window{display:block;width:100%;max-height:320px}.sc-window-note>span{color:#a7c2c1;font-size:12px;letter-spacing:.4px}.sc-window-note p{font:600 24px/1.2 Fredoka,Nunito,sans-serif;color:#e3dbcb;margin:8px 0 0}.sc-error{font-size:14px;color:#ffc5cd;margin:12px 0 0}.sc-nightdesk :focus-visible{outline:3px solid #edc7a5;outline-offset:3px}
.sc-results{padding:28px 0 0;scroll-margin-top:24px;margin-top:32px;text-align:center;border-top:1px solid #34505b;animation:sc-reveal .25s ease-out}.sc-results h2{font-size:32px;margin:0 0 12px;letter-spacing:0}.sc-context{color:#a9c1c7;font-size:16px;margin-bottom:24px}.sc-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;background:#2a4350;border:4px solid #2a4350;border-radius:28px;overflow:hidden}.sc-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px;min-height:200px;padding:20px 8px;background:#10222e;color:#d5e3e0;border:0;position:relative}.sc-choice:hover{background:#1b3440}.sc-choice.recommended{background:#17272c;color:#ecfff8}.sc-choice.recommended:hover{background:#1d3437}.sc-choice[aria-pressed=true]{box-shadow:inset 0 0 0 2px #edc7a5}.sc-face{width:36px;height:36px;display:block;margin-bottom:8px;flex-shrink:0}.sc-choice strong{font-family:Fredoka,Nunito,sans-serif;font-weight:600;font-size:28px;line-height:1.2;white-space:nowrap;letter-spacing:0}.sc-cycles{font-size:18px;font-weight:700}.sc-duration{font-size:16px;color:#a9c1c7}.sc-choice.recommended .sc-duration{color:#addbca}.sc-day{font-size:12px;color:#a9c1c7}.sc-badge{display:flex;align-items:center;justify-content:center;max-width:100%;min-height:3.2em;font-size:12px;line-height:1.6;color:#a9c1c7;margin:0 0 4px;padding:0 4px;text-align:center}:lang(ko) .sc-badge{word-break:keep-all}.sc-choice.recommended .sc-badge{color:#9de8c9}.sc-companion{max-width:520px;margin:24px auto 8px;display:flex;align-items:center;justify-content:center;gap:12px;text-align:left}.sc-companion svg{width:72px;flex-shrink:0}.sc-companion p{font-size:16px;line-height:1.6;color:#c7dbdb;margin:0}.sc-result-note,.sc-small{max-width:65ch;margin:12px auto 0;color:#a9c1c7;font-size:14px;line-height:1.6}.sc-cycle-details{margin-top:16px}.sc-cycle-details>summary{font-size:14px}.sc-timeline{padding:16px;text-align:left;background:#122a36;border:1px solid #3a5962;border-radius:16px;margin-top:8px}.sc-timeline-top{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}.sc-timeline h3{font-size:18px;margin:0}.sc-timeline-top>span{font-size:14px;color:#a9c1c7}.sc-track{display:flex;gap:4px;height:40px;margin:16px 0 8px}.sc-buffer-block{background:repeating-linear-gradient(135deg,#52717b 0,#52717b 3px,#10222e 3px,#10222e 7px);min-width:4px;border-radius:8px}.sc-cycle-block{flex:90;background:#426765;border-radius:8px;display:grid;place-items:center;color:#edf2e4;font-size:12px}.sc-cycle-block:nth-child(odd){background:#577d75}.sc-timeline-times{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:14px;color:#c7dbdb;margin:0}.sc-disclaimer{color:#a9c1c7;font-size:12px;margin:24px 0 0}.sc-error{color:#ffb6c6;font-size:14px;margin-top:12px}.sc-simple :focus-visible{outline:3px solid #edc7a5;outline-offset:3px}.sc-results h2:focus{outline:0}:lang(ko) .sc-simple{font-family:Nunito,system-ui,sans-serif}:lang(ko) .sc-sleep-now,:lang(ko) .sc-results h2,:lang(ko) .sc-choice strong{font-family:Jua,Nunito,sans-serif;font-weight:400}@keyframes sc-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}:lang(ko) .sc-nightdesk{font-family:Nunito,system-ui,sans-serif}:lang(ko) .sc-sleep-now,:lang(ko) .sc-calculate{font-family:Nunito,system-ui,sans-serif;font-weight:700}@media(max-width:960px){.sc-desk{grid-template-columns:minmax(0,1.5fr) minmax(180px,1fr);gap:16px}.sc-launch{padding:20px}.sc-latency-row{flex-wrap:wrap}.sc-window-note p{font-size:22px}}@media(max-width:720px){.sleep-hero{padding:24px;border-radius:24px}.sleep-hero .tool-intro h1{font-size:36px}.sc-desk{display:block}.sc-window-scene{display:none}.sc-launch{max-width:520px;margin:auto}.sc-latency-row{flex-wrap:nowrap}.sc-results{margin-top:24px}.sc-cards{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:20px}.sc-choice{min-height:176px;padding:16px 4px}.sc-choice strong{font-size:24px}.sc-cycles{font-size:16px}.sc-face{width:32px;height:32px}}@media(max-width:480px){.sleep-hero{padding:16px;border-radius:20px}.sleep-hero .tool-intro{padding-bottom:20px}.sleep-hero .tool-intro h1{font-size:32px;margin-top:8px}.sleep-hero .tool-intro p{font-size:16px}.sc-launch{padding:16px}.sc-mode{gap:6px;margin-bottom:16px}.sc-mode button{padding:8px;font-size:14px;gap:6px;min-height:48px}.sc-mode button svg{width:20px;height:20px}.sc-time-well{padding:12px}.sc-clock select{font-size:36px;height:60px}.sc-period{flex-basis:64px!important;padding-left:8px}.sc-period select{font-size:18px;height:44px}.sc-time-pair>span{font-size:28px;padding:0}.sc-time-top{align-items:center}.sc-time-top>label{font-size:12px;max-width:110px}.sc-format button{min-width:36px;font-size:12px;padding:4px}.sc-latency-row{flex-wrap:wrap;gap:8px;padding-top:12px}.sc-latency-row label{font-size:14px}.sc-latency-row>div>span{font-size:12px}.sc-stepper{width:100%;justify-content:space-between;gap:4px}.sc-stepper input{flex:1;max-width:64px}.sc-stepper button{width:40px}.sc-actions{margin-top:16px;gap:8px}.sc-actions button{font-size:14px;padding:8px;gap:6px}.sc-sleep-now svg{width:20px;height:20px}.sc-results h2{font-size:26px}.sc-context{font-size:14px}.sc-companion{gap:8px}.sc-companion svg{width:56px}.sc-companion p{font-size:14px}.sc-timeline-times{font-size:12px}.sc-result-note{font-size:12px}}@media(prefers-reduced-motion:reduce){.sc-results{animation:none}}
