.sleepCalc{background:linear-gradient(135deg,#fffffff2,#eef2ffe6);border:1px solid #4f46e51a;border-radius:16px;padding:24px;box-shadow:0 4px 8px #c1b9b966}@media (max-width:640px){.sleepCalc{padding:18px 14px}}.sleepCalc .sleepCalc-head{text-align:center;justify-content:center;align-items:center;gap:16px;margin-bottom:22px;display:flex}.sleepCalc .sleepCalc-head span{color:#666}.sleepCalc .sleepCalc-head .sleepCalc-head-icon{color:#fff;background:linear-gradient(135deg,#818cf8,#4f46e5);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:56px;height:56px;font-size:2rem;display:flex;box-shadow:0 4px 12px #4f46e54d}.sleepCalc .sleepCalc-head .sleepCalc-head-icon .svg-inline--fa{vertical-align:-.125em;height:1.3em;overflow:visible}@media (max-width:640px){.sleepCalc .sleepCalc-head .sleepCalc-head-icon{width:48px;height:48px;font-size:1.6rem}}.sleepCalc .sleepCalc-head hgroup{text-align:left;min-width:0}.sleepCalc .sleepCalc-head .sleepCalc-head-title{color:#060d17;overflow-wrap:break-word;margin:0;font-size:1.6rem;font-weight:700}@media (max-width:840px){.sleepCalc .sleepCalc-head .sleepCalc-head-title{font-size:1.4rem}}@media (max-width:640px){.sleepCalc .sleepCalc-head .sleepCalc-head-title{font-size:1.2rem}}.sleepCalc .sleepCalc-tabs{background:#4f46e514;border-radius:12px;gap:4px;margin-bottom:20px;padding:4px;display:flex}.sleepCalc .sleepCalc-tabs button{color:#4338ca;cursor:pointer;background:0 0;border:none;border-radius:9px;flex:1 1 0;min-width:0;padding:10px 6px;font-size:.85rem;font-weight:700;transition:all .2s}@media (max-width:480px){.sleepCalc .sleepCalc-tabs button{font-size:.74rem}}.sleepCalc .sleepCalc-tabs button.active{background:#fff;box-shadow:0 2px 8px #4f46e540}.sleepCalc form label{color:#555;margin-bottom:8px;font-size:.95rem;font-weight:600;display:block}.sleepCalc form label strong{color:#4338ca}.sleepCalc form select,.sleepCalc form .sleepCalc-select{color:#333;background:#fff;border:2px solid #4f46e533;border-radius:12px;width:100%;margin-bottom:18px;padding:14px 16px;font-family:inherit;font-size:1rem;transition:all .3s cubic-bezier(.4,0,.2,1);display:block}.sleepCalc form select:focus,.sleepCalc form .sleepCalc-select:focus{border-color:#4f46e5;outline:none;box-shadow:0 0 0 3px #4f46e51a}.sleepCalc form input[type=range]{accent-color:#4f46e5;width:100%;margin:4px 0 6px}.sleepCalc .sleepCalc-time{align-items:flex-start;gap:10px;display:flex}.sleepCalc .sleepCalc-time span{color:#4338ca;font-size:1.6rem;font-weight:800;line-height:1.5}.sleepCalc .sleepCalc-now{color:#4338ca;background:#4f46e512;border-radius:10px;margin:0 0 18px;padding:12px 14px;font-size:.9rem}.sleepCalc .sleepCalc-hint{color:#777;margin:0 0 18px;font-size:.8rem;line-height:1.45}.sleepCalc .sleepCalc-advanced{margin-bottom:18px}.sleepCalc .sleepCalc-advanced summary{cursor:pointer;color:#4338ca;margin-bottom:12px;font-weight:700}.sleepCalc .sleepCalc-submit{color:#fff;cursor:pointer;background:linear-gradient(135deg,#818cf8,#4f46e5);border:none;border-radius:12px;width:100%;padding:16px;font-size:1.1rem;font-weight:700;transition:all .3s;display:block;box-shadow:0 4px 12px #4f46e54d}.sleepCalc .sleepCalc-submit:hover{transform:translateY(-2px);box-shadow:0 12px 32px #4f46e566}.sleepCalc .sleepCalc-submit:active{transform:translateY(0)}.sleepCalc .sleepCalc-info{background:#4f46e50f;border-radius:10px;gap:12px;margin-top:24px;padding:14px 16px;display:flex}.sleepCalc .sleepCalc-info .sleepCalc-info-icon{color:#4f46e5;flex-shrink:0;font-size:1.1rem}.sleepCalc .sleepCalc-info .sleepCalc-info-content{color:#555;font-size:.85rem;line-height:1.5}@keyframes sleepCalcSlideInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes sleepCalcDraw{0%{stroke-dashoffset:6000px}to{stroke-dashoffset:0}}@keyframes sleepCalcTravel{0%{left:0}to{left:100%}}@keyframes sleepCalcMoonOut{0%,85%{opacity:1}to{opacity:0}}@keyframes sleepCalcSunIn{0%,85%{opacity:0}to{opacity:1}}@keyframes sleepCalcPulse{0%{opacity:.8;transform:scale(.6)}to{opacity:0;transform:scale(2.2)}}.sleepCalc-result{margin-top:32px;animation:.5s ease-out sleepCalcSlideInUp}.sleepCalc-result .sleepCalc-result-title{text-align:center;color:#1e1b4b;margin:0 0 14px;font-weight:700}.sleepCalc-result .sleepCalc-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.sleepCalc-result .sleepCalc-card{cursor:pointer;background:#fff;border:2px solid #e2e8f0;border-radius:14px;flex-direction:column;align-items:center;gap:6px;min-width:0;min-height:150px;padding:22px 8px 14px;font-family:inherit;transition:border-color .2s,box-shadow .2s;display:flex;position:relative}.sleepCalc-result .sleepCalc-card.best{border-color:#4f46e5}.sleepCalc-result .sleepCalc-card.active{border-color:#4f46e5;box-shadow:0 8px 20px #4f46e540}.sleepCalc-result .sleepCalc-card .sleepCalc-card-best{white-space:nowrap;color:#fff;background:#4f46e5;border-radius:999px;padding:2px 10px;font-size:.7rem;font-weight:700;position:absolute;top:-10px;left:50%;transform:translate(-50%)}.sleepCalc-result .sleepCalc-card .sleepCalc-card-time{color:#312e81;font-variant-numeric:tabular-nums;text-align:center;font-size:2.1rem;font-weight:800;line-height:1.1}@media (max-width:640px){.sleepCalc-result .sleepCalc-card .sleepCalc-card-time{font-size:1.8rem}}.sleepCalc-result .sleepCalc-card .sleepCalc-card-time em{color:#6366f1;font-size:.72rem;font-style:normal;font-weight:700;display:block}.sleepCalc-result .sleepCalc-card .sleepCalc-card-sub{color:#666;text-align:center;font-size:.78rem}.sleepCalc-result .sleepCalc-badge{border-radius:999px;margin-top:auto;padding:3px 12px;font-size:.75rem;font-weight:700}.sleepCalc-result .sleepCalc-badge.sleepCalc-badge-recommended{color:#15803d;background:#16a34a1f}.sleepCalc-result .sleepCalc-badge.sleepCalc-badge-acceptable{color:#a16207;background:#eab30826}.sleepCalc-result .sleepCalc-badge.sleepCalc-badge-low{color:#475569;background:#64748b26}.sleepCalc-result .sleepCalc-remember{text-align:center;color:#333;margin:16px 0 0;font-size:.9rem}.sleepCalc-result .sleepCalc-disclaimer{color:#666;text-align:left;background:#00000008;border-radius:10px;margin:18px 0 0;padding:10px 14px;font-size:.78rem;line-height:1.5}.sleepCalc-result .sleepCalc-actions{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.sleepCalc-result .sleepCalc-actions button{cursor:pointer;color:#4338ca;background:#4f46e514;border:2px solid #4f46e533;border-radius:12px;flex:160px;min-width:0;padding:13px 14px;font-size:.9rem;font-weight:700;transition:all .2s}.sleepCalc-result .sleepCalc-actions button:hover{background:#4f46e524}.sleepCalc-night{color:#e0e7ff;background:linear-gradient(#1e1b4b,#312e81);border-radius:14px;margin-top:22px;padding:14px 12px 12px}.sleepCalc-night .sleepCalc-night-sky{height:26px;margin-bottom:4px;position:relative}.sleepCalc-night .sleepCalc-night-traveler{width:0;height:26px;animation:2.4s ease-in-out forwards sleepCalcTravel;position:absolute;top:0;left:0}.sleepCalc-night .sleepCalc-night-traveler svg{width:18px;height:18px;position:absolute;top:3px;left:-9px}.sleepCalc-night .sleepCalc-night-traveler .sleepCalc-night-moon{color:#fde68a;animation:2.4s linear forwards sleepCalcMoonOut}.sleepCalc-night .sleepCalc-night-traveler .sleepCalc-night-sun{color:#fbbf24;opacity:0;animation:2.4s linear forwards sleepCalcSunIn}.sleepCalc-night .sleepCalc-night-plot{height:120px;position:relative}@media (max-width:480px){.sleepCalc-night .sleepCalc-night-plot{height:100px}}.sleepCalc-night .sleepCalc-night-plot svg{width:100%;height:100%;display:block;overflow:visible}.sleepCalc-night .sleepCalc-night-latency{fill:#fbbf2438}.sleepCalc-night .sleepCalc-night-band{fill:#ffffff0d}.sleepCalc-night .sleepCalc-night-divider{stroke:#ffffff40;stroke-width:1px;stroke-dasharray:3 4}.sleepCalc-night .sleepCalc-night-curve{fill:none;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:6000;stroke-dashoffset:6000px;animation:1.2s ease-out forwards sleepCalcDraw}.sleepCalc-night .sleepCalc-night-nums{height:14px;position:absolute;inset:auto 0 2px}.sleepCalc-night .sleepCalc-night-nums span{color:#e0e7ffb3;font-size:.62rem;font-weight:700;position:absolute;transform:translate(-50%)}.sleepCalc-night .sleepCalc-night-wake{width:12px;height:12px;margin-right:-6px;position:absolute;top:8px}.sleepCalc-night .sleepCalc-night-wake .sleepCalc-night-dot{background:#fbbf24;border-radius:50%;position:absolute;inset:0}.sleepCalc-night .sleepCalc-night-wake .sleepCalc-night-ring{border:2px solid #fbbf24;border-radius:50%;animation:1.8s ease-out infinite sleepCalcPulse;position:absolute;inset:0}.sleepCalc-night .sleepCalc-night-times{height:18px;margin-top:6px;position:relative}.sleepCalc-night .sleepCalc-night-times span{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.68rem;position:absolute;transform:translate(-50%)}.sleepCalc-night .sleepCalc-night-times span:first-child{transform:translate(0)}.sleepCalc-night .sleepCalc-night-times span:last-child{transform:translate(-100%)}@media (max-width:480px){.sleepCalc-night .sleepCalc-night-times span{font-size:.58rem}.sleepCalc-night .sleepCalc-night-times span.sleepCalc-night-time-alt{display:none}}.sleepCalc-night .sleepCalc-night-caption{text-align:center;color:#e0e7ff;margin:10px 0 8px;font-size:.8rem}.sleepCalc-night .sleepCalc-night-caption strong{color:#fde68a}.sleepCalc-night .sleepCalc-night-dotinline{background:#fbbf24;border-radius:50%;width:8px;height:8px;margin-right:4px;display:inline-block}.sleepCalc-night .sleepCalc-legend{flex-wrap:wrap;justify-content:center;gap:6px 14px;font-size:.72rem;display:flex}.sleepCalc-night .sleepCalc-legend i{border-radius:3px;width:10px;height:10px;margin-right:4px;display:inline-block}.sleepCalc-night .sleepCalc-legend .sleepCalc-legend-light{background:#38bdf8}.sleepCalc-night .sleepCalc-legend .sleepCalc-legend-deep{background:#3730a3;box-shadow:0 0 0 1px #818cf8}.sleepCalc-night .sleepCalc-legend .sleepCalc-legend-rem{background:#d946ef}.sleepCalc-night .sleepCalc-legend .sleepCalc-legend-latency{background:#fbbf2480}@media (prefers-reduced-motion:reduce){.sleepCalc-result,.sleepCalc-night .sleepCalc-night-traveler,.sleepCalc-night .sleepCalc-night-moon,.sleepCalc-night .sleepCalc-night-sun,.sleepCalc-night .sleepCalc-night-curve,.sleepCalc-night .sleepCalc-night-ring{animation:none}.sleepCalc-night .sleepCalc-night-curve{stroke-dashoffset:0}.sleepCalc-night .sleepCalc-night-traveler{left:100%}.sleepCalc-night .sleepCalc-night-moon{opacity:0}.sleepCalc-night .sleepCalc-night-sun{opacity:1}}
