@font-face{font-family:CoastalSerif;src:local("Georgia")}*{box-sizing:border-box}:root{--paper:#f6f4ee;--ink:#1c3534;--muted:#75817a;--sea:#163c3a;--pale:#e5ebdf;--line:#dedfd5;--serif:CoastalSerif,Georgia,"Times New Roman",serif;--sans:"Segoe UI",Arial,sans-serif}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b77935;outline-offset:4px}button:disabled{opacity:.45;cursor:default}button,select{touch-action:manipulation}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.app-shell{max-width:1680px;margin:auto;padding:27px 42px 15px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:25px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:15px}.brand-mark{display:grid;place-items:center;width:49px;height:49px;background:var(--sea);border-radius:50%;color:#e8eadc}.brand-mark svg{width:30px;height:30px}.brand-name{font-family:var(--serif);font-size:29px;letter-spacing:-.8px}.brand-sub{font-size:9px;letter-spacing:2.25px;color:#788179;margin-top:5px;font-weight:600}.header-right{display:flex;align-items:center;gap:25px}.clock{display:flex;flex-direction:column;text-align:right;gap:2px}.clock time{font-size:30px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-1px}.clock>span{font-size:11px;color:var(--muted)}.icon-button{background:none;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;width:42px;height:42px;flex-shrink:0}.fullscreen{border:0}.location-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:22px 0}.day-switch{display:flex;border:1px solid var(--line);padding:4px;border-radius:23px;gap:3px}.day-switch button{border:0;background:transparent;font-size:12px;padding:9px 15px;color:#6c786e;border-radius:20px}.day-switch button.active{background:var(--sea);color:white}.main-view{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:0;min-height:454px;border-radius:19px;overflow:hidden;background:var(--sea)}.photo-panel{position:relative;min-height:454px;overflow:hidden;background:#576c62}.photo-panel>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:opacity .35s ease}.photo-panel>img.changing{opacity:.2}.photo-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,28,24,.22) 0%,transparent 32%,rgba(6,26,24,.15) 50%,rgba(7,29,26,.76) 100%)}.photo-top{position:absolute;top:23px;left:28px;right:25px;display:flex;align-items:center;justify-content:space-between;gap:10px}.photo-eyebrow{color:white;font-size:9px;font-weight:600;letter-spacing:1.8px;display:flex;align-items:center;gap:8px;text-shadow:0 1px 8px #243d35}.small-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}.glass-button{display:grid;place-items:center;border-radius:50%;width:35px;height:35px;background:#fff2;border:1px solid #fff5;color:white;backdrop-filter:blur(6px)}.glass-button svg{width:17px;height:17px}.photo-caption{position:absolute;left:32px;right:28px;bottom:35px;color:white}.photo-caption>p{font-size:11px;letter-spacing:1.3px;margin:0 0 10px;color:#f0f3e9}.photo-caption h1{font-family:var(--serif);font-size:clamp(32px,3.1vw,51px);font-weight:400;line-height:1.12;letter-spacing:-1.4px;margin:0 0 19px}.photo-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.photo-bottom>span{font-size:12px;color:#e9eade}.photo-controls{display:flex;align-items:center;gap:12px}.photo-controls>span{font-size:10px;letter-spacing:1px;white-space:nowrap}.generated-credit{position:absolute;bottom:11px;left:32px;color:#e2e5d8a8;font-size:9px;letter-spacing:.3px}.flip{transform:rotate(180deg)}.rotate{transform:rotate(180deg)}.tide-panel{background:var(--sea);padding:27px 32px 20px;color:#f4f4e9;display:flex;flex-direction:column;justify-content:space-between;gap:19px}.tide-location{display:flex;justify-content:space-between;gap:12px;align-items:center}.eyebrow{display:block;font-size:9px;letter-spacing:1.7px;font-weight:600;color:var(--muted)}.tide-panel .eyebrow{color:#a4bbb0}.location-caption{font-size:11px;color:#d6e0d7}.tide-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.tide-direction{font-size:9px;letter-spacing:2px;color:#acbfaf}.tide-heading h2{font-family:var(--serif);font-size:clamp(31px,2.9vw,46px);font-weight:400;line-height:1.18;letter-spacing:-1px;margin:8px 0 10px}.tide-heading p{font-size:12px;color:#c2d0c5;margin:0}.direction-symbol{display:flex;flex-direction:column;align-items:center;color:#bbc9b6;gap:6px;padding-right:7px}.direction-symbol svg:first-child{width:33px;height:41px;stroke-width:1}.direction-symbol svg:last-child{width:45px;height:27px;stroke-width:1}.direction-symbol.rising svg:first-child{transform:rotate(180deg)}.next-tides{display:grid;grid-template-columns:1fr 1fr;gap:13px}.tide-event{text-align:left;display:flex;flex-direction:column;border:1px solid #78968b55;border-radius:10px;background:#ffffff04;color:#f7f6e9;padding:15px 18px 13px;gap:5px}.tide-event:hover{background:#ffffff0a}.event-label{font-size:11px;color:#c8d4c9;display:flex;align-items:center;gap:5px}.event-label svg{width:13px;height:15px}.tide-event strong{font-size:35px;font-weight:400;letter-spacing:-1px;font-variant-numeric:tabular-nums;line-height:1.25}.tide-event>span:last-child{font-size:10px;color:#a4bbb0}.coefficient{display:flex;align-items:center;gap:18px;text-align:left;background:var(--pale);padding:16px 19px;border:0;border-radius:10px;color:var(--sea)}.coefficient-number{font-family:var(--serif);font-size:53px;line-height:1;letter-spacing:-2px}.coefficient>.coefficient-number+span{display:flex;flex-direction:column;gap:6px;flex:1}.coefficient .eyebrow{color:#6b8073;font-size:8px;letter-spacing:1.3px}.coefficient strong{font-size:13px;font-weight:500}.coefficient-scale{display:flex;gap:4px;margin-top:2px}.coefficient-scale i{width:14px;height:4px;background:#c3cfbe;border-radius:2px}.coefficient-scale i.active{background:#557d69}.day-panel{border:1px solid var(--line);border-radius:14px;padding:19px 26px 10px;margin-top:18px;background:#faf9f4}.day-title{display:flex;align-items:center;justify-content:space-between}.day-title h2{font-family:var(--serif);font-weight:400;font-size:21px;margin:6px 0 0;letter-spacing:-.3px}.text-button{border:0;background:none;display:inline-flex;align-items:center;gap:7px;font-size:11px;padding:10px 0;text-decoration:none;white-space:nowrap}.text-button svg{width:15px;height:15px}.chart-button{display:block;width:100%;background:transparent;border:0;padding:0;margin-top:7px;height:101px}.chart-button>svg{width:100%;height:100%;overflow:visible;stroke:none}.chart-hours{position:relative;min-height:13px;font-size:9px;color:#8c9489;padding:0 1px}.chart-hours>span{position:absolute;top:0;white-space:nowrap;transform:translateX(-50%)}.chart-hours>span:first-child{transform:none}.chart-hours>span:last-child{transform:translateX(-100%)}.chart-event-label{font-size:12px;font-family:var(--sans);font-weight:500}.chart-event-time{font-size:13px;font-family:var(--sans);font-weight:600}.now-label{font-size:10px;font-family:var(--sans);font-weight:600}footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px}.footer-actions{display:flex;align-items:center;gap:24px}.settings-button{border:1px solid #d5dbce;background:transparent;border-radius:22px;padding:10px 16px;display:flex;align-items:center;gap:8px;font-size:11px}.settings-button svg{width:15px;height:15px}.modal{background:#f8f7f1;color:var(--ink);border:1px solid #d4dacd;border-radius:20px;max-width:min(94vw,530px);width:100%;padding:30px;box-shadow:0 20px 100px #0d2d2a55;max-height:90dvh;overflow:auto}.modal::backdrop{background:#0c2425a6;backdrop-filter:blur(7px)}.dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px}.dialog-header h2{font-family:var(--serif);font-weight:400;font-size:31px;margin:8px 0 0;line-height:1.1;letter-spacing:-.7px}.modal>p{font-size:14px;line-height:1.7;color:#627369}.primary-button{display:inline-flex;justify-content:center;align-items:center;gap:9px;border:0;border-radius:25px;background:var(--sea);color:#fffdf0;padding:14px 21px;font-size:13px;text-decoration:none;cursor:pointer;min-height:45px}.information{background:#eeefe5;border-radius:12px;padding:15px}.source-links{display:flex;flex-direction:column;gap:12px;font-size:13px;margin-top:25px}.source-links a{color:var(--sea)}.details-events{display:grid;gap:8px;margin:20px 0}.detail-event{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);border-radius:10px;padding:15px}.detail-event span{display:flex;align-items:center;gap:10px;font-size:14px}.detail-event strong{font-size:23px;font-weight:500;font-variant-numeric:tabular-nums}.settings-modal{max-width:min(94vw,570px)}.field{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:14px;margin:17px 0}.field select,.field input{max-width:190px;border:1px solid #d3dacd;border-radius:8px;background:#fffef8;padding:10px;color:var(--sea)}.check-field{display:flex;align-items:center;justify-content:space-between;gap:25px;font-size:13px;margin:23px 0}.check-field small{display:block;font-size:11px;font-weight:400;color:#738174;line-height:1.5;margin-top:5px}.check-field strong{font-weight:500}.check-field input{accent-color:var(--sea);width:21px;height:21px;flex-shrink:0}.settings-section{border-top:1px solid var(--line);margin-top:24px;padding-top:4px}.settings-section h3{font-family:var(--serif);font-weight:400;font-size:24px}.time-fields{display:flex;gap:25px}.time-fields .field{display:flex;flex-direction:column;align-items:flex-start;flex:1;gap:7px;font-size:12px}.time-fields input{width:100%;max-width:none}.small-info{font-size:11px!important;color:#788273;line-height:1.6}.dialog-actions{display:flex;justify-content:flex-end;margin-top:24px}.wide-modal{max-width:min(94vw,800px)}.upload-button input{display:none}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:20px}.photo-tile{position:relative}.photo-tile>button:first-child{display:block;border:2px solid transparent;padding:0;background:transparent;border-radius:10px;overflow:hidden;width:100%}.photo-tile>button.selected:first-child{border-color:#48725f}.photo-tile img{width:100%;height:115px;object-fit:cover;display:block}.photo-tile .photo-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;margin:6px 0;color:#778272}.delete-photo{position:absolute;top:6px;right:6px;border:0;border-radius:50%;background:#163c3aeb;color:white;font-size:19px;width:26px;height:26px;line-height:1}.night-overlay{position:fixed;inset:0;background:#020504;color:#65736a;z-index:200;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;text-align:center;padding:25px}.night-overlay[hidden]{display:none}.night-overlay h2{font-family:var(--serif);font-weight:400;font-size:34px;margin:0}.night-overlay time{font-size:65px;font-weight:300;font-variant-numeric:tabular-nums}.night-overlay p{font-size:13px}.night-overlay button{border:1px solid #29372f;background:transparent;color:#839186;border-radius:25px;padding:12px 22px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:var(--sea);color:#fffdf1;padding:14px 24px;border-radius:14px;box-shadow:0 4px 24px #0003;z-index:500;font-size:13px;text-align:center;max-width:90vw;pointer-events:none}.large-text .tide-event strong{font-size:44px}.large-text .tide-heading h2{font-size:47px}.large-text .tide-heading p,.large-text .location-caption,.large-text .event-label{font-size:16px}.large-text .tide-event>span:last-child,.large-text .coefficient strong{font-size:14px}.large-text .tide-panel{gap:20px}.large-text .photo-panel,.large-text .main-view{min-height:515px}
@media(min-width:1450px){.app-shell{padding:30px 55px 18px}.main-view,.photo-panel{min-height:525px}.tide-panel{padding:33px 40px 26px;gap:22px}.tide-heading h2{font-size:49px}.tide-event strong{font-size:41px}.tide-event{padding:20px}.coefficient{padding:19px 23px}.chart-button{height:117px}.photo-caption h1{font-size:56px}.brand-name{font-size:32px}.photo-caption{left:38px;bottom:40px}.photo-top{left:38px;top:29px}.generated-credit{left:38px}}
@media(max-width:1100px){.app-shell{padding:20px 24px 12px}.header-right{gap:15px}.brand-name{font-size:25px}.brand-sub{font-size:8px;letter-spacing:1.5px}.tide-panel{padding:24px;gap:17px}.photo-caption{left:25px;right:23px}.photo-top{left:25px}.photo-eyebrow{font-size:8px;letter-spacing:1px}.location-caption{font-size:10px}.tide-event{padding:13px}.tide-heading h2{font-size:33px}.tide-heading p{font-size:11px}.photo-bottom>span{max-width:170px;line-height:1.5}.coefficient{padding:14px}.main-view,.photo-panel{min-height:440px}.footer-actions{gap:16px}.large-text .tide-heading h2{font-size:37px}}
@media(max-width:800px){.header-right{gap:10px}.clock time{font-size:26px}.clock>span{font-size:9px}.brand-name{font-size:22px}.brand-mark{width:41px;height:41px}.brand{gap:10px}.main-view{grid-template-columns:1.1fr 1fr}.tide-panel{padding:22px 20px}.eyebrow{font-size:8px;letter-spacing:1px}.location-caption{max-width:95px;text-align:right}.tide-heading h2{font-size:30px}.tide-event strong{font-size:30px}.tide-event{padding:11px}.coefficient-number{font-size:43px}.coefficient strong{font-size:11px}.coefficient{gap:12px}.coefficient .eyebrow{font-size:7px}.coefficient-scale{gap:3px}.coefficient-scale i{width:10px}.photo-caption h1{font-size:34px}.photo-bottom{align-items:flex-end}.photo-bottom>span{font-size:10px;max-width:130px}.photo-controls{gap:7px}.photo-top{top:18px;left:21px;right:17px}.photo-caption{left:21px;right:17px}.photo-eyebrow{font-size:7px;letter-spacing:.6px}.glass-button{width:30px;height:30px}.generated-credit{left:21px}.footer-actions .text-button{font-size:10px}.settings-button{padding:10px 13px;font-size:10px}.footer-actions{gap:12px}.day-switch button{font-size:11px;padding:8px 12px}.large-text .tide-heading h2{font-size:31px}.large-text .tide-event strong{font-size:36px}}
@media(max-width:620px){.app-shell{padding:18px 16px 12px}.topbar{gap:12px;flex-wrap:wrap;padding-bottom:18px}.brand-name{font-size:24px}.brand-sub{font-size:8px}.header-right{justify-content:space-between;width:100%;flex-direction:row-reverse}.clock{flex-direction:row;align-items:center;gap:9px;text-align:left}.clock time{font-size:23px}.clock>span{font-size:11px}.location-bar{flex-direction:column;align-items:stretch;margin:16px 0;gap:12px}.day-switch{align-self:flex-end}.main-view{grid-template-columns:1fr;min-height:0}.photo-panel{min-height:310px}.photo-caption h1{font-size:39px}.photo-bottom>span{max-width:none;font-size:11px}.photo-top{top:20px}.photo-eyebrow{font-size:8px;letter-spacing:1px}.tide-panel{padding:25px;gap:21px}.tide-heading h2{font-size:39px}.tide-heading p{font-size:12px}.location-caption{max-width:none;font-size:12px}.eyebrow{font-size:9px;letter-spacing:1.4px}.event-label{font-size:13px}.tide-event{padding:17px}.tide-event strong{font-size:38px}.coefficient{gap:20px;padding:20px}.coefficient-number{font-size:53px}.coefficient .eyebrow{font-size:8px}.coefficient strong{font-size:14px}.coefficient-scale i{width:14px}.day-panel{padding:17px 15px 11px}.day-title h2{font-size:20px}.day-title .text-button{font-size:10px}.day-title .eyebrow{font-size:8px}.chart-button{height:92px}footer{flex-wrap:wrap;justify-content:center;gap:15px}.footer-actions{width:100%;justify-content:space-between}.settings-button,.footer-actions .text-button{font-size:12px}.modal{padding:23px}.dialog-header h2{font-size:28px}.photo-grid{grid-template-columns:repeat(2,1fr)}.large-text .tide-heading h2{font-size:42px}.large-text .tide-event strong{font-size:46px}.large-text .photo-panel{min-height:310px}.large-text .main-view{min-height:0}}.photo-panel,.tide-panel{min-width:0}
@media(max-width:620px){.main-view{grid-template-columns:minmax(0,1fr)}.photo-bottom{flex-wrap:wrap;align-items:center}.photo-controls{margin-left:auto}.photo-caption h1{font-size:clamp(30px,9.5vw,39px)}}
@media(min-width:760px) and (max-height:850px){.app-shell{padding:17px 28px 11px}.topbar{padding-bottom:15px}.location-bar{margin:14px 0}.main-view,.photo-panel{min-height:350px}.tide-panel{padding:19px 26px 15px;gap:11px}.tide-heading h2{font-size:35px;margin:5px 0 7px}.tide-event{padding:11px 15px}.tide-event strong{font-size:32px}.coefficient{padding:11px 16px}.coefficient-number{font-size:43px}.photo-caption h1{font-size:40px}.day-panel{margin-top:14px;padding:13px 22px 9px}.chart-button{height:76px}.day-title h2{font-size:19px}footer{margin-top:14px}.large-text .main-view,.large-text .photo-panel{min-height:420px}}
@media(min-width:760px) and (max-height:760px){.main-view,.photo-panel{min-height:380px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}/* Local harmonic model: loading,failure and provenance without fake values. */
.model-message{font-size:10px!important;line-height:1.5!important;color:#aebfb1!important;margin-top:8px!important;max-width:280px}.model-message:empty{display:none}.model-retry{display:inline-flex;align-items:center;justify-content:center;margin-top:10px;border:1px solid #b9cabc66;border-radius:20px;background:#ffffff08;color:#f4f4e9;padding:9px 14px;font-size:11px}.model-retry[hidden]{display:none}.detail-copy{display:flex;flex-direction:column;gap:5px}.detail-meta{font-size:12px;color:#718174;line-height:1.45}.model-credits{background:#eeefe5;border-radius:12px;padding:13px 16px;margin:18px 0}.model-credits p{font-size:11px;line-height:1.75;color:#637368;margin:0}.model-credits a{color:var(--sea)}.coefficient>.coefficient-number+span strong{line-height:1.4}.detail-event>strong{margin-left:15px;flex-shrink:0}.detail-event{gap:12px}
@media(min-width:760px) and (max-height:850px){.model-message{font-size:9px!important;margin-top:5px!important}.tide-heading h2{font-size:33px}.tide-panel{gap:10px}}
@media(max-width:620px){.model-message{font-size:11px!important;max-width:none}.model-retry{font-size:12px}.detail-meta{font-size:11px}}

/* One permanent Santec view, with personal controls kept at the edge. */
.fixed-location{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:600;color:var(--sea)}
.fixed-location svg{width:17px;height:20px}
footer{justify-content:flex-end}
.source-credits{border-top:1px solid var(--line);margin-top:26px;padding-top:4px}
.source-credits summary{cursor:pointer;padding:16px 0 10px;font-size:12px;color:#718174}
.source-credits p{font-size:11px;line-height:1.75;color:#718174;margin:12px 0;overflow-wrap:anywhere}
.source-credits a{color:var(--sea)}
summary:focus-visible{outline:3px solid #b77935;outline-offset:4px}
.model-message[hidden]{display:none}
@media(max-width:620px){.location-bar{flex-direction:row;align-items:center;gap:12px}.day-switch{align-self:auto}.fixed-location{font-size:14px}.fullscreen{display:grid}.header-right{flex-direction:row}.clock{margin-right:auto}.source-credits summary{font-size:13px}}
@media(min-width:760px) and (max-height:760px){.main-view,.photo-panel{min-height:320px}.tide-panel{padding-top:17px;padding-bottom:17px}.day-panel{margin-top:12px}.chart-button{height:72px}footer{margin-top:12px}}

/* Album connection controls stay inside the existing photo/settings dialogs. */
.remote-album-panel,.local-album-panel{padding:18px 0 23px;border-bottom:1px solid var(--line)}
.remote-album-panel{padding:19px;background:#eeefe5;border:1px solid #dde2d5;border-radius:12px}
.remote-album-panel h3,.local-album-panel h3,.album-gallery-title{font-family:var(--serif);font-size:23px;font-weight:400;margin:0 0 12px}
.remote-album-panel .small-info,.local-album-panel .small-info{font-size:12px!important;line-height:1.7}
.remote-pair-form{margin:17px 0 0}.remote-pair-form[hidden],.remote-actions [hidden]{display:none}
.remote-pair-form>label{display:block;font-size:13px;margin-bottom:9px}
.remote-input-row{display:flex;gap:10px;align-items:stretch}
.remote-input-row input{min-width:0;flex:1;width:100%;padding:12px;border:1px solid #bac8b5;border-radius:9px;background:#fffef8;color:var(--sea);letter-spacing:1px}
.remote-input-row .primary-button{white-space:nowrap;font-size:12px}
.remote-actions{display:flex;align-items:center;gap:17px;flex-wrap:wrap;margin-top:17px}
.remote-actions .primary-button{font-size:12px;padding:12px 17px}.remote-actions .text-button{white-space:normal;text-align:left}
.remote-login-error{font-size:12px;color:#8a3428;background:#f5e6dd;border-radius:8px;padding:12px;line-height:1.6}
.local-album-panel{margin-top:20px}.album-gallery-title{margin-top:23px;font-size:22px}
@media(max-width:620px){.remote-album-panel{padding:16px}.remote-input-row{flex-direction:column}.remote-actions{gap:13px}.remote-actions .primary-button{width:100%}.remote-album-panel h3,.local-album-panel h3{font-size:23px}}
/* Unobstructed photos, fitted above their own blurred extensions. */
.brand-name{font-weight:400;margin:0}
.main-view{margin-top:22px}
.photo-panel>#main-photo{object-fit:contain;z-index:1}
.photo-panel>.photo-backdrop{object-fit:cover;filter:blur(24px);transform:scale(1.12);opacity:.8;z-index:0;pointer-events:none}
.photo-panel>.photo-backdrop.changing{opacity:.2}
.photo-shade{z-index:2;top:auto;height:76px;background:linear-gradient(transparent,#071d1a66);pointer-events:none}
.photo-top{z-index:3;justify-content:flex-end}
.photo-panel>.photo-controls{position:absolute;z-index:3;right:24px;bottom:20px;color:#fff;text-shadow:0 1px 6px #0009;margin:0}
.generated-credit{z-index:3;max-width:55%}
.photo-error{position:absolute;z-index:3;bottom:62px;left:20px;right:20px;background:#102b27d9;color:#fff;padding:12px;border-radius:10px;font-size:12px}
.photo-error[hidden]{display:none}
.tide-location{align-items:center;gap:12px}
.tide-label{font-size:12px;line-height:1.5;color:#d3e1d6;flex:1;min-width:0}
.tide-location .day-switch{flex-shrink:0;align-self:auto;border-color:#a7bcb155;background:#ffffff05;padding:3px;gap:1px}
.tide-location .day-switch button{color:#d3ded3;font-size:11px;padding:8px 11px;min-height:32px}
.tide-location .day-switch button.active{background:#edf0e6;color:#163c3a}
.time-fields[hidden],.sun-info[hidden]{display:none}
.settings-section .mode-field{align-items:flex-start;flex-direction:column;gap:10px}
.settings-section .field select{max-width:none;width:100%;font-size:13px}
.sun-info{border-left:2px solid #9fb49b;padding-left:12px}
body.dark-mode{--paper:#101e1d;--ink:#e5eae2;--muted:#a9b9ae;--pale:#2b433a;--line:#34483f;color-scheme:dark}
.dark-mode .day-panel,.dark-mode .modal{background:#182a26;border-color:var(--line)}
.dark-mode .brand-sub,.dark-mode .chart-hours,.dark-mode .small-info,.dark-mode .modal>p,.dark-mode .source-credits p,.dark-mode .source-credits summary,.dark-mode .detail-meta,.dark-mode .photo-name{color:var(--muted)}
.dark-mode .field input,.dark-mode .field select,.dark-mode .remote-input-row input{background:#14231f;border-color:#456052;color:#e5eae2}
.dark-mode .information,.dark-mode .remote-album-panel{background:#223a30;color:#d0ddce;border-color:#3d5547}
.dark-mode .primary-button,.dark-mode .toast{background:#315a4b;color:#f4f6ee}
.dark-mode .settings-button{border-color:var(--line)}
.dark-mode .coefficient,.dark-mode .coefficient strong{color:#e2ebdb}
.dark-mode .coefficient-scale i{background:#465e4d}.dark-mode .coefficient-scale i.active{background:#a4c69d}
.dark-mode .chart-event-label{fill:#b1c4b0}.dark-mode .chart-event-time{fill:#e0e8da}
.dark-mode #tide-chart line[stroke="#e1e5d9"]{stroke:#354b3e}
.dark-mode .source-credits a{color:#b1d1b5}
.dark-mode .remote-login-error{background:#4c3028;color:#f1c9b9}
@media(max-width:800px){.tide-location{gap:9px}.tide-label{font-size:11px}.tide-location .day-switch button{font-size:10px;padding:7px 8px}.photo-panel>.photo-controls{right:17px;bottom:17px}}
@media(max-width:620px){.main-view{margin-top:17px}.tide-label{font-size:12px}.tide-location .day-switch button{font-size:11px;padding:8px 10px}.photo-panel{min-height:330px}.generated-credit{left:21px}}
/* A quiet monthly scale, in the frame's sand, sage and coastal green. */
.coefficient{position:relative;width:100%;cursor:pointer;transition:background .2s,box-shadow .2s}
.coefficient:hover:not(:disabled){box-shadow:inset 0 0 0 1px #557d6955;background:#dbe6d5}
.coefficient-open{position:absolute;right:11px;top:11px;width:13px;height:13px;opacity:.55}
.coefficient-modal{max-width:min(94vw,710px);padding:25px 28px}
.coefficient-modal .dialog-header{align-items:flex-start;margin-bottom:13px}
.coefficient-modal .dialog-header h2{font-size:30px;line-height:1.15}
.coefficient-month-nav{display:flex;align-items:center;justify-content:space-between;gap:14px}
.coefficient-month-nav h3{font-family:var(--serif);font-size:25px;font-weight:400;margin:0;text-transform:capitalize}
.coefficient-month-nav .icon-button{width:36px;height:36px}
.coefficient-calendar-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:8px 0 10px}
.coefficient-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:11px;color:var(--muted)}
.coefficient-legend>span{display:flex;align-items:center;gap:5px}
.coefficient-legend i{display:block;width:11px;height:11px;border-radius:4px;border:1px solid #35594c13}
.coefficient-low{--coefficient-fill:#f0eee4;--coefficient-ink:#626c5f}
.coefficient-medium{--coefficient-fill:#e3ebdf;--coefficient-ink:#3f624c}
.coefficient-high{--coefficient-fill:#cbded0;--coefficient-ink:#204f40}
.coefficient-legend i,.coefficient-day,.coefficient-detail-value{background:var(--coefficient-fill);color:var(--coefficient-ink)}
.coefficient-weekdays,.coefficient-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.coefficient-weekdays{font-size:10px;color:var(--muted);text-align:center;margin-bottom:7px}
.coefficient-day{border:1px solid transparent;border-radius:9px;min-width:0;min-height:56px;padding:7px 4px;display:flex;flex-direction:column;align-items:center;gap:6px}
.coefficient-day:hover:not(:disabled){box-shadow:inset 0 0 0 1px #557d6955}
.coefficient-day.selected{border-color:#3b6551;box-shadow:inset 0 0 0 1px #3b6551}
.coefficient-day[aria-current="date"] .coefficient-date{position:relative}
.coefficient-day[aria-current="date"] .coefficient-date::after{content:'';position:absolute;right:-7px;top:2px;width:4px;height:4px;border-radius:50%;background:#ad8b42}
.coefficient-date{font-size:11px;font-weight:500;line-height:1.2}
.coefficient-values{display:flex;align-items:center;justify-content:center;gap:5px;font-size:16px;font-weight:600;letter-spacing:-.3px;font-variant-numeric:tabular-nums}
.coefficient-values span+span::before{content:'·';margin-right:5px;font-size:11px;font-weight:400;opacity:.55}
.coefficient-day:disabled{background:#efefe9;color:#879186;opacity:.7}
.coefficient-day-detail{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.coefficient-day-detail h3{font-family:var(--serif);font-size:21px;font-weight:400;margin:0 0 10px;text-transform:none}
#coefficient-selected-events{display:flex;gap:12px;flex-wrap:wrap}
.coefficient-detail-event{display:flex;align-items:center;gap:10px;font-size:12px;flex:1;min-width:170px}
.coefficient-detail-event time{font-weight:600;font-variant-numeric:tabular-nums}
.coefficient-detail-value{margin-left:auto;border-radius:9px;padding:7px 10px;font-size:18px;font-weight:600;min-width:42px;text-align:center}
.dark-mode .coefficient:hover:not(:disabled){background:#344f41}
.dark-mode .coefficient-low{--coefficient-fill:#28342e;--coefficient-ink:#c6cebd}
.dark-mode .coefficient-medium{--coefficient-fill:#2d4437;--coefficient-ink:#d2e1c7}
.dark-mode .coefficient-high{--coefficient-fill:#3b5b48;--coefficient-ink:#e1eed4}
.dark-mode .coefficient-day.selected{border-color:#bed2ac;box-shadow:inset 0 0 0 1px #bed2ac}
.dark-mode .coefficient-day:disabled{background:#26332d;color:#99aa99}
@media(max-width:620px){.coefficient-modal{padding:20px 16px}.coefficient-modal .dialog-header h2{font-size:25px}.coefficient-modal .eyebrow{font-size:8px;letter-spacing:1px}.coefficient-month-nav h3{font-size:23px}.coefficient-legend{gap:8px;font-size:10px}.coefficient-calendar-tools{gap:7px}.coefficient-calendar-grid,.coefficient-weekdays{gap:4px}.coefficient-day{min-height:59px;padding:7px 2px;gap:7px;border-radius:7px}.coefficient-values{font-size:13px;gap:2px}.coefficient-values span+span::before{margin-right:2px;font-size:9px}.coefficient-day-detail h3{font-size:20px}.coefficient-detail-event{min-width:130px;font-size:11px;gap:7px}.coefficient-detail-value{font-size:16px;padding:7px;min-width:35px}}

@media(max-width:620px){.coefficient-values{flex-direction:column;gap:1px;line-height:1.05}.coefficient-values span+span::before{display:none}.coefficient-day{gap:5px;min-height:62px}}

.coefficient-day-detail h3::first-letter{text-transform:uppercase}
/* The current landscape album is 4:3 (height = 75% of width). */
.main-view{--photo-height-budget:max(380px,calc(100vh - 350px));--photo-height-budget:max(380px,calc(100dvh - 350px));grid-template-columns:minmax(0,min(57.5%,calc(var(--photo-height-budget)*4/3))) minmax(0,1fr);min-height:0;align-items:stretch}
.large-text .main-view{--photo-height-budget:max(460px,calc(100vh - 300px));--photo-height-budget:max(460px,calc(100dvh - 300px));min-height:0}
.main-view>.photo-panel,.large-text .main-view>.photo-panel{aspect-ratio:4/3;width:100%;height:auto;min-height:0;align-self:start}
.main-view>.tide-panel{height:auto;min-height:0;align-self:stretch}
@media(max-width:960px){.main-view,.large-text .main-view{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1100px){.large-text .main-view{grid-template-columns:minmax(0,1fr)}}
/* Playback controls use filled vector shapes, independent of text fonts. */
#pause-slideshow{background:#163c3a66;border-color:#ffffff80}
#pause-slideshow:hover{background:#163c3a99}
#pause-slideshow svg{width:20px;height:20px}
