.sun-study{color-scheme:light;--ink:#203b35;--muted:#65736d;--line:#dce2dc;--paper:#f6f7f2;--gold:#b37d2c;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-size:16px;line-height:normal}.sun-study *{box-sizing:border-box}.sun-study a{color:inherit;text-underline-offset:4px}.sun-study button, .sun-study input{font:inherit}.sun-study button, .sun-study a, .sun-study input{-webkit-tap-highlight-color:transparent}.sun-study button{cursor:pointer}.sun-study button:disabled{cursor:default}.sun-study button:focus-visible, .sun-study a:focus-visible, .sun-study input:focus-visible, .sun-study canvas:focus-visible{outline:3px solid #2457a7;outline-offset:4px}.sun-study [hidden]{display:none!important}.sun-study .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.sun-study .back-link{display:inline-block;font-size:12px;text-decoration:none;color:var(--muted);margin-bottom:20px}.sun-study .back-link:hover{text-decoration:underline}.sun-study{max-width:1680px;margin:auto;padding:34px 4vw 24px}.sun-study .study-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:20px}.sun-study .eyebrow{font-size:10px;font-weight:800;letter-spacing:2.4px;color:var(--gold);margin:0 0 10px}.sun-study h1{color:var(--ink);line-height:1.2;font-family:Georgia,serif;font-weight:400;font-size:44px;letter-spacing:-1.5px;margin:0 0 8px}.sun-study .intro{font-size:14px;line-height:1.6;color:var(--muted);margin:0;max-width:720px}.sun-study .study-workspace{display:grid;grid-template-columns:285px minmax(0,1fr);border:1px solid #d6ded4;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 12px 45px #203b3508}.sun-study .controls-panel{padding:24px;border-right:1px solid var(--line)}.sun-study fieldset{border:0;padding:0;margin:0;min-width:0}.sun-study .time-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 10px}.sun-study #play-day{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border:0;border-radius:10px;background:var(--ink);color:#fff;padding:10px}.sun-study #play-day svg{width:18px;height:18px;fill:currentColor}.sun-study #play-day .pause-icon, .sun-study #play-day[aria-pressed=true] .play-icon{display:none}.sun-study #play-day[aria-pressed=true] .pause-icon{display:block}.sun-study #time-readout{display:block;font-size:44px;font-weight:500;letter-spacing:-2px;margin:0;font-variant-numeric:tabular-nums;white-space:nowrap}.sun-study #study-time{width:100%;margin:8px 0;accent-color:#b37d2c;cursor:pointer}.sun-study .range-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:10px}.sun-study .date-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600;gap:8px}.sun-study .date-presets{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0}.sun-study .day-times-heading{font-size:9px;letter-spacing:1.3px;color:#8b968f;margin:24px 0 8px}.sun-study #custom-date{margin:10px 0 24px}.sun-study .date-presets button{flex:1;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--muted);padding:10px 3px;font-size:12px;min-height:42px}.sun-study .date-presets button[aria-pressed=true]{background:#eaf0e7;border-color:#81967f;color:var(--ink)}.sun-study .day-times{display:flex;justify-content:space-between;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0;font-size:11px}.sun-study .day-times span, .sun-study .day-times strong{display:block}.sun-study .day-times span{color:var(--muted);font-size:10px;margin-bottom:6px}.sun-study .day-times strong{font-weight:600}.sun-study .view-buttons{display:flex;gap:8px;margin-top:24px}.sun-study .view-buttons button{flex:1;border:1px solid #becabe;border-radius:6px;padding:10px 5px;background:#fff;color:var(--ink);font-size:11px}.sun-study .view-buttons button:hover, .sun-study .date-presets button:hover{background:#edf1e8}.sun-study .scene-panel{position:relative;min-width:0;background:#eef1ed;min-height:630px;overflow:hidden}.sun-study #scene{position:absolute;inset:0 0 82px;overflow:hidden}.sun-study #scene canvas{display:block;width:100%;height:100%;touch-action:none}.sun-study .fallback-plan{width:100%;height:100%;object-fit:contain;opacity:.7}.sun-study .ready .fallback-plan{display:none}.sun-study #viewer-status{position:absolute;inset:40% 10% auto;text-align:center;z-index:3;font-size:14px;background:#fffffff2;border:1px solid var(--line);border-radius:8px;padding:20px;line-height:1.6}.sun-study .scene-top{position:absolute;top:24px;left:24px;right:24px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.sun-study .scene-tag{font-size:9px;font-weight:700;letter-spacing:1.8px;color:#66766c}.sun-study .scene-help{position:absolute;bottom:98px;left:0;right:0;text-align:center;font-size:10px;color:#66766c;pointer-events:none}.sun-study .scene-help span{display:none}.sun-study .scene-metrics{position:absolute;bottom:0;left:0;right:0;height:82px;display:flex;align-items:center;background:#f9faf7;border-top:1px solid #d9e0d5}.sun-study .scene-metrics>div{padding:0 24px;flex:1;border-right:1px solid var(--line)}.sun-study .scene-metrics>div:last-child{border:0}.sun-study .scene-metrics span{display:block;color:var(--muted);font-size:10px;margin-bottom:7px}.sun-study .scene-metrics strong{font-size:17px;font-weight:500}.sun-study .ready .block-label{display:block}.sun-study .block-label{position:absolute;transform:translate(-50%,-100%);display:none;z-index:2;pointer-events:none;border:1px solid #bec9be;border-radius:15px;background:#fffffff2;box-shadow:0 2px 6px #00000010;color:var(--ink);font-size:10px;font-weight:600;padding:5px 8px;white-space:nowrap}
@media(min-width:1500px){.sun-study .scene-panel{min-height:720px}}
@media(max-width:850px){.sun-study{padding:24px 20px}.sun-study .study-workspace{grid-template-columns:240px minmax(0,1fr)}.sun-study .controls-panel{padding:20px 16px}.sun-study .scene-top{left:15px;right:15px}.sun-study .scene-metrics>div{padding:0 12px}.sun-study .scene-help{font-size:9px}.sun-study .scene-metrics strong{font-size:14px}.sun-study #time-readout{font-size:36px}.sun-study h1{font-size:37px}}
@media(max-width:650px){.sun-study .back-link{font-size:11px;margin-bottom:18px}.sun-study{padding:23px 12px 24px}.sun-study .study-heading{padding:0 4px;margin-bottom:20px;align-items:flex-start}.sun-study .eyebrow{font-size:8px;letter-spacing:1.5px}.sun-study h1{font-size:29px;letter-spacing:-1px}.sun-study .intro{font-size:12px}.sun-study .study-workspace{display:flex;flex-direction:column}.sun-study .scene-panel{order:-1;min-height:410px}.sun-study .controls-panel{border-right:0;border-top:1px solid var(--line);padding:20px}.sun-study #scene{bottom:70px}.sun-study .scene-metrics{height:70px}.sun-study .scene-metrics>div{padding:0 13px}.sun-study .scene-help{bottom:82px;font-size:0}.sun-study .scene-help span{display:block;font-size:9px}.sun-study .scene-top{top:17px}.sun-study .scene-tag{font-size:8px}.sun-study .time-heading{margin:5px 0}.sun-study #play-day{width:42px;height:42px}.sun-study #time-readout{font-size:38px}.sun-study #study-time{margin:12px 0}.sun-study .day-times{justify-content:space-around}.sun-study .date-presets button{padding:10px 3px;font-size:11px}.sun-study .view-buttons button{min-height:42px}.sun-study .block-label{font-size:9px;padding:4px 7px}}.sun-study .compass{width:72px;height:72px;overflow:visible;color:var(--ink)}.sun-study .compass circle{fill:#ffffffb0;stroke:currentColor;stroke-width:1.6}.sun-study .compass line{stroke:currentColor;stroke-width:2;stroke-linecap:round}.sun-study .compass text{fill:currentColor;font-size:11px;font-weight:600}
@media(max-width:650px){.sun-study .compass{width:64px;height:64px}}

.sun-study label{margin-bottom:0}.sun-study .sr-only{padding:0;border:0}

.sun-study.sun-study-preview{padding:0;background:none;margin:40px 0}.sun-study-preview .preview-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.sun-study-preview .preview-heading h2{font-size:24px;margin:0;color:var(--ink)}.sun-study-preview .preview-heading a{font-size:12px;white-space:nowrap}.sun-study-preview .study-workspace{display:block}.sun-study-preview .scene-panel{min-height:0;height:380px}.sun-study-preview #scene{inset:0}.sun-study-preview #study-controls{display:flex;align-items:center;gap:20px;padding:16px 20px;border-top:1px solid var(--line)}.sun-study-preview #study-time{flex:1;min-width:0}.sun-study-preview #time-readout{font-size:18px;letter-spacing:0;min-width:80px;text-align:right}.sun-study-preview .fallback-plan{margin:0}.sun-study-preview #viewer-status{font-size:12px}
@media(max-width:650px){.sun-study-preview .scene-panel{height:280px}.sun-study-preview .preview-heading h2{font-size:21px}.sun-study-preview .preview-heading a{font-size:11px}.sun-study-preview #study-controls{padding:12px 16px;gap:12px}.sun-study-preview #time-readout{font-size:16px;min-width:72px}}

.sun-study .heat-panel{margin-top:24px;padding:28px;border:1px solid var(--line);border-radius:18px;background:#fff}.sun-study .heat-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}.sun-study .heat-heading h2{font:400 28px Georgia,serif;color:var(--ink);margin:0}.sun-study .heat-heading .eyebrow{letter-spacing:1.5px;font-size:9px;margin-bottom:8px}.sun-study .heat-legend{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted);width:240px;max-width:100%}.sun-study .heat-legend i{flex:1;height:5px;border-radius:5px;background:linear-gradient(90deg,#245f99 0%,#245f99 33%,#80612f 66%,#a02b2d 100%)}.sun-study .heat-note{font-size:11px;color:var(--muted);line-height:1.6;margin:8px 0 0}.sun-study .heat-comparison{display:grid;grid-template-columns:280px minmax(0,1fr);gap:32px}.sun-study .heat-table-wrap{max-height:470px;overflow:auto;border:1px solid var(--line);border-radius:10px;scrollbar-width:none}.sun-study .heat-table{border-collapse:separate;border-spacing:0;margin:0;width:100%;font-size:12px}.sun-study .heat-table th,.sun-study .heat-table td{padding:0;border:0;text-align:left;vertical-align:middle}.sun-study .heat-table thead th{position:sticky;top:0;background:#f2f5ef;z-index:1;border-bottom:1px solid var(--line)}.sun-study .heat-table thead th:first-child{width:48%}.sun-study .heat-table button{font:inherit;border:0;background:none;color:var(--ink);text-align:left;width:100%;padding:13px 16px;min-height:44px}.sun-study .heat-table thead button{font-size:11px;font-weight:600;white-space:nowrap;padding:14px 12px}.sun-study .heat-table thead button:disabled{opacity:.65}.sun-study .heat-table tbody th{font-weight:400}.sun-study .heat-table tbody td{font-variant-numeric:tabular-nums}.sun-study .heat-table tbody tr:nth-child(even){background:#fafbf8}.sun-study .heat-table tbody tr:hover{background:#f0f4ed}.sun-study .heat-table tbody tr.selected{background:#e8efe5}.sun-study .heat-table tr.selected button{font-weight:700;box-shadow:inset 3px 0 var(--ink)}.sun-study .heat-score-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin:0 12px;vertical-align:middle;background:#dce2dc}.sun-study .heat-detail-area{min-width:0}.sun-study #heat-empty{display:flex;align-items:center;justify-content:center;min-height:330px;margin:0;padding:24px;font-size:13px;color:var(--muted);text-align:center;background:#fafbf8;border-radius:10px}.sun-study .heat-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.sun-study .heat-detail-heading h3{font:400 25px Georgia,serif;color:var(--ink);margin:0}.sun-study .heat-scores{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:24px}.sun-study .heat-scores>div{padding:14px 12px;background:#f5f7f2;border:1px solid var(--line);border-radius:10px}.sun-study .heat-scores>div>div{white-space:nowrap;margin-top:5px}.sun-study .heat-scores>div>span{font-size:11px;color:var(--muted)}.sun-study .heat-scores output{display:inline;font-size:30px;font-weight:500;letter-spacing:-1px;font-variant-numeric:tabular-nums}.sun-study .heat-scores small{font-size:11px;color:var(--muted);margin-left:6px}.sun-study .heat-chart-heading{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:0}.sun-study #heat-chart{display:block;width:100%;height:250px;overflow:visible;touch-action:pan-y;cursor:crosshair}.sun-study #heat-chart text{font:10px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:var(--muted)}.sun-study .heat-grid{stroke:#e3e8e0;stroke-width:1}.sun-study .heat-curve{stroke:#2c6658;stroke-width:2.5;fill:none;stroke-linejoin:round;stroke-linecap:round}.sun-study .heat-area{fill:#2c66580c}.sun-study #heat-chart-cursor{stroke:#6c7c72;stroke-width:1;stroke-dasharray:4 4}.sun-study .heat-chart-point{stroke:#fff;stroke-width:2}.sun-study .heat-table-wrap:focus-visible,.sun-study #heat-chart:focus-visible{outline:3px solid #2457a7;outline-offset:3px}.sun-study .stack-label{border:2px solid #fff;background:#203b35;color:#fff;font-size:12px;font-weight:800;padding:7px 11px;box-shadow:0 2px 8px #0004;z-index:3}.sun-study .stack-label:after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);border:6px solid transparent;border-top-color:#203b35}
@media(max-width:850px){.sun-study .heat-panel{padding:22px}.sun-study .heat-comparison{grid-template-columns:230px minmax(0,1fr);gap:22px}.sun-study .heat-legend{width:200px}.sun-study .heat-table thead button{padding:14px 8px}}
@media(max-width:650px){.sun-study .heat-panel{padding:20px;margin-top:18px}.sun-study .heat-heading{display:block}.sun-study .heat-heading h2{font-size:25px}.sun-study .heat-legend{margin-top:18px;width:240px}.sun-study .heat-comparison{display:block}.sun-study .heat-table-wrap{max-height:310px}.sun-study #heat-empty{display:none}.sun-study #heat-detail{margin-top:28px}.sun-study .heat-detail-heading h3{font-size:23px}.sun-study .heat-table button{min-height:46px}.sun-study .heat-scores{gap:10px;margin-bottom:20px}.sun-study .heat-chart-heading{font-size:11px}}

@media(max-width:1100px){.sun-study .heat-scores{grid-template-columns:repeat(2,minmax(0,1fr))}.sun-study .heat-scores>div:first-child{grid-column:1/-1}}

.sun-study #heat-chart-tooltip{pointer-events:none}.sun-study #heat-chart-tooltip rect{fill:#203b35}.sun-study #heat-chart-tooltip text{fill:#fff;font-size:11px;font-weight:500}

 .sun-study .heat-table-column{min-width:0}.sun-study #heat-chart-mode{appearance:none;width:116px;height:32px;min-height:32px;margin:0;padding:6px 28px 6px 10px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);font:inherit;font-size:12px;cursor:pointer}.sun-study #heat-period-status{margin:0 0 10px}.sun-study #heat-chart-mode:focus-visible{outline:3px solid #2457a7;outline-offset:3px}.sun-study .heat-chart-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin:12px 0 8px;font-size:10px;color:var(--muted)}.sun-study .heat-chart-legend span{display:flex;align-items:center;gap:6px}.sun-study .heat-chart-legend svg{width:24px;height:8px}

.sun-study .heat-mode-control{position:relative;flex-shrink:0}.sun-study .heat-mode-control>svg{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:12px;height:12px;fill:none;stroke:var(--ink);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}

.sun-study .heat-table tbody tr{cursor:pointer}.sun-study .heat-table tbody tr:focus-within{background:#f0f4ed}

.sun-study .heat-table-wrap::-webkit-scrollbar{display:none}
