/* Detailed coastal exploration; source evidence stays next to each value. */
.workspace { grid-template-columns: 306px minmax(0,1fr) 400px; }
.sidebar-heading h1 { font-size:32px; line-height:1.08; }
.sidebar-heading .eyebrow { font-size:8px; letter-spacing:1.4px; }
.scope-tabs { display:flex; margin:14px 0; padding:3px; background:#e8eee4; border-radius:8px; }
.scope-tabs button { flex:1; padding:8px 4px; color:#7b8c74; font-size:11px; border-radius:6px; }
.scope-tabs button.active { background:#fffdf5; box-shadow:0 1px 4px #254c4010; color:#315b4d; font-weight:600; }
.region-filter { margin:0 0 15px; }
.region-filter select { width:100%; }
.timing-options { margin-top:0; border-top:0; }
.timing-options summary { font-size:11px; }
.timing-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:12px; }
.timing-grid select { width:100%; font-size:10px; }
.temperature-limit { display:flex; justify-content:space-between; gap:10px; align-items:center; color:#65765e; font-size:11px; margin:10px 0; }
.temperature-limit span { white-space:nowrap; }
.temperature-limit input { width:52px; padding:5px; background:#fffdf5; border:1px solid #d5dfce; border-radius:5px; }
.spot-card-facts { display:flex; justify-content:space-between; gap:8px; font-size:10px; color:#557d74; padding:7px 0 2px; }
.spot-card-facts span:last-child { font-variant-numeric:tabular-nums; color:#89978a; font-size:9px; }
.area-number { font-size:8px; letter-spacing:1px; width:auto; min-width:33px; padding:0 4px; }
.area-description { -webkit-line-clamp:2; display:-webkit-box; -webkit-box-orient:vertical; overflow:hidden; }
.area-meta { gap:12px; }
.detail-map { position:absolute; inset:0; z-index:0; background:#d9eaec; }
.leaflet-container { font:inherit; }
.leaflet-control-attribution { font-size:8px!important; background:rgba(253,254,247,.94)!important; }
.leaflet-bottom.leaflet-left { bottom:215px; }
.leaflet-control-scale-line { background:#fffdf4e8; border-color:#527a77; color:#365f5c; font-size:10px; }
.map-topbar,.map-zoom,.timeline-card,.map-attribution,.map-instruction,.depth-legend,.north-arrow,.mobile-detail-peek { z-index:5; }
.map-topbar { top:16px; left:18px; right:18px; }
.map-title { background:#fffdf5ef; border-color:#fffdf5; box-shadow:0 3px 15px #244b4512; }
.map-title small { font-size:9px; }
.map-tools { align-items:center; }
.map-tool-button,.map-filter-button { background:#fffdf5f5; }
.layers-menu { z-index:15; width:265px; }
.map-instruction { position:absolute; top:83px; left:18px; padding:7px 10px; border-radius:6px; background:#fffdf1ef; font-size:10px; color:#5e7771; display:flex; gap:7px; align-items:center; box-shadow:0 2px 10px #234d4710; max-width:calc(100% - 65px); }
.inspection-dot { width:6px; height:6px; border-radius:50%; background:#b75f44; box-shadow:0 0 0 3px #edddcf; }
.north-arrow { display:none; }
.depth-legend { position:absolute; left:18px; bottom:235px; width:172px; background:#fffdf4ef; border:1px solid #ffffffbd; border-radius:7px; padding:9px 10px 7px; color:#53776c; box-shadow:0 2px 10px #234d4710; }
.depth-legend strong { display:block; margin-bottom:6px; font-size:9px; font-weight:500; }
.depth-ramp { display:block; height:7px; border-radius:3px; background:linear-gradient(90deg,#ddf1e0,#bae1d2,#92d0c6,#67b9b9,#268096,#123551); }
.depth-legend div { display:flex; justify-content:space-between; margin-top:3px; font-size:8px; }
.map-zoom { right:18px; bottom:236px; }
.map-zoom button { width:32px; height:32px; }
.map-attribution { bottom:18px; left:18px; right:auto; padding:2px 5px; border-radius:3px; background:#fffdf3d9; font-size:8px; }
.map-spot-icon { background:none; border:0; }
.map-spot-dot { display:grid; place-items:center; width:16px; height:16px; margin:5px; background:#376e60; border:2px solid #fffdf0; border-radius:50%; box-shadow:0 2px 5px #0d49484a; }
.map-spot-dot.selected { width:26px; height:26px; margin:0; background:#b95f43; border:3px solid #fff9e8; box-shadow:0 0 0 5px #b95f432b,0 3px 10px #18464235; }
.map-spot-dot.selected span { width:4px; height:4px; background:#fff; border-radius:50%; }
.map-spot-dot.protected { background:#f2d6bb; border:2px solid #b65b43; color:#a04e38; font-size:14px; width:22px; height:22px; margin:2px; border-radius:5px; }
.map-spot-dot.area-dot { background:#7f9f82; }
.selected-spot-label.leaflet-tooltip,.spot-label.leaflet-tooltip,.terrain-tooltip.leaflet-tooltip { background:#fffdf5; border:1px solid #e2e7d9; box-shadow:0 3px 12px #21483f12; color:#355c4f; border-radius:5px; padding:6px 9px; font-size:10px; }
.selected-spot-label.leaflet-tooltip { font-weight:600; }
.terrain-tooltip.leaflet-tooltip { font-size:10px; color:#267785; }
.timeline-card { bottom:42px; left:18px; right:18px; padding:12px 14px 11px; border-color:#fffef6; box-shadow:0 5px 25px #244e4420; }
.timeline-top strong { font-size:11px; }
.timeline-top .demo-chip { background:#e8efdf; color:#6f886a; font-size:9px; }
.timeline-tide { height:55px; margin:5px 0 0; }
.tide-plot { display:block; width:100%; height:auto; }
.tide-plot.compact { height:55px; }
.tide-plot text,.temperature-chart text,.depth-profile text { fill:#728b80; font-size:10px; font-family:inherit; }
.tide-plot [data-hour] { cursor:pointer; }
#timeSlider { margin-top:5px; margin-bottom:2px; }
.timeline-labels { font-size:8px; }
.timeline-summary { margin-top:9px; padding-top:8px; gap:7px 12px; font-size:10px; }
.timeline-summary .icon { width:13px; height:13px; }
.timeline-context { margin-left:auto; color:#577c66; font-size:10px; }
.timeline-time { font-size:12px; }
.chart-unavailable { min-height:44px; display:flex; align-items:center; justify-content:center; color:#8b9989; font-size:11px; }
.spot-detail-hero { padding:15px 22px 12px; position:relative; background:linear-gradient(110deg,#e7eadd,#f2f0e0); border-bottom:1px solid #e0e6d5; }
.spot-detail-hero .detail-eyebrow { color:#7b906a; font-size:9px; margin-bottom:11px; }
.spot-coordinate { display:flex; align-items:center; justify-content:space-between; font:11px ui-monospace,SFMono-Regular,Consolas,monospace; color:#4d7563; }
.spot-coordinate button { display:inline-flex; align-items:center; gap:4px; font-size:10px; }
.spot-coordinate .icon { height:11px; width:11px; }
.detail-panel>.detail-heading { padding:18px 22px 0; }
.detail-title { font-size:27px; line-height:1.1; margin:7px 0 13px; }
.detail-heading .eyebrow { letter-spacing:1px; font-size:8px; }
.detail-tabs { padding:0 21px; gap:13px; overflow-x:auto; flex-shrink:0; }
.detail-tabs>button { font-size:11px; white-space:nowrap; padding-top:12px; padding-bottom:12px; }
.detail-scroll { padding:0 22px; }
.detail-section { padding-top:21px; padding-bottom:20px; }
.detail-section h3 { font-size:13px; margin-bottom:12px; }
.detail-section h4 { margin:15px 0 8px; font-size:12px; font-weight:600; color:#4d725b; }
.detail-section p { font-size:12px; }
.detail-section .conditions-caption { font-size:10px!important; line-height:1.65; margin-bottom:10px; }
.spot-summary { padding-top:16px; padding-bottom:12px; }
.spot-environment { display:grid; grid-template-columns:1fr 1fr 1fr; gap:7px; }
.spot-environment button { padding:10px 7px; border:1px solid #dce4d7; border-radius:7px; background:#f1f5eb; text-align:left; }
.spot-environment button:hover { background:#e8f0e2; }
.spot-environment span,.spot-environment small { display:block; color:#7e8f73; font-size:9px; }
.spot-environment strong { display:block; color:#386951; font-size:19px; font-weight:500; margin:7px 0; }
.spot-environment .sun-small { font-size:14px; line-height:1.9; margin:2px 0; }
.spot-environment small { font-size:8px; }
.terrain-metrics { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.terrain-metrics>div { min-width:0; }
.terrain-metrics span { display:block; color:#7e9079; font-size:10px; }
.terrain-metrics strong { display:block; font-size:26px; font-weight:450; color:#276c71; margin:4px 0; font-variant-numeric:tabular-nums; white-space:nowrap; }
.terrain-metrics strong small { font-size:12px; }
.terrain-metrics em { color:#7c8e7c; font-size:9px; font-style:normal; display:block; }
.terrain-resolution { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; padding:6px 8px; background:#eaf2ec; border-radius:4px; color:#5c8474; font-size:9px; }
.profile-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:18px 0 9px; }
.profile-heading h4 { margin:0; }
.profile-directions { display:flex; gap:4px; }
.profile-directions button { padding:5px 6px; border:1px solid #e0e6d8; border-radius:4px; font-size:9px; color:#74876d; }
.profile-directions button.active { background:#e3eee7; border-color:#98b8a6; color:#46745d; }
.depth-profile { width:100%; background:#eef4ef; border-radius:7px; padding:7px 5px; margin-bottom:10px; }
.evidence-card { border-left:2px solid #86a392; padding:9px 12px; background:#eef3e8; margin:13px 0; }
.evidence-card strong { color:#53755e; font-size:10px; }
.evidence-card p { font-size:11px; line-height:1.6; margin:5px 0 0; }
.window-grid { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin-bottom:10px; }
.window-card { display:block; padding:10px; border:1px solid #dce5d4; background:#f1f5e9; border-radius:6px; text-align:left; }
.window-card:hover { border-color:#9bb397; }
.window-card strong { font-size:13px; color:#41694b; display:block; margin-bottom:4px; }
.window-card span { font-size:10px; color:#6e865f; display:block; }
.window-card small { font-size:9px; color:#839575; display:block; margin-top:5px; }
.habitat-record { border:1px solid #d8e2cb; background:#f0f4e7; border-radius:7px; padding:14px; margin-bottom:13px; }
.habitat-record span { display:block; font:20px Georgia,serif; color:#4c7454; }
.habitat-record strong { font-size:12px; font-weight:400; display:block; color:#9a8151; margin:4px 0; }
.habitat-record p { font-size:10px; margin:8px 0 0; }
.nearby-spot { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 0; border-bottom:1px solid #e3e8dc; text-align:left; width:100%; font-size:12px; color:#4f775d; }
.nearby-spot strong { display:block; font-size:11px; font-weight:500; }
.nearby-spot small { display:block; font-size:9px; color:#8a9b7d; margin-top:4px; }
.nearby-spot .icon { width:14px; height:14px; }
.tide-now { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:14px 0; align-items:center; }
.tide-now span { display:block; font-size:9px; color:#84967a; }
.tide-now>div:first-child strong { display:block; font-size:29px; font-weight:450; color:#287a83; line-height:1.4; margin:4px 0; }
.tide-now strong small { font-size:10px; font-weight:400; }
.tide-now>div:last-child strong { display:block; font-size:13px; color:#487d72; margin-bottom:5px; }
.tide-events { gap:6px; }
.tide-event { min-width:0; flex:1 1 65px; padding:8px 6px; text-align:left; border-radius:5px; }
.tide-event span { font-size:9px; }
.tide-event strong { font-size:12px; margin:2px 0; }
.tide-event small { font-size:9px; }
.chart-key { display:flex; align-items:center; gap:6px; font-size:9px!important; margin:10px 0; }
.chart-key i { height:7px; width:13px; background:#fff1cd; border:1px solid #e6d4a5; }
.forecast-date-tabs { display:flex; gap:5px; overflow:auto; padding:0 0 10px; margin:0 0 12px; }
.forecast-date-tabs button { flex:0 0 auto; border:1px solid #e1e7d8; border-radius:5px; padding:6px 8px; font-size:10px; color:#849674; }
.forecast-date-tabs button.active { background:#e9f0df; color:#496f46; border-color:#a7bb98; }
.sun-events { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.sun-events span { display:block; font-size:9px; color:#9b946d; }
.sun-events strong { display:block; color:#8f793f; font-size:12px; margin-top:5px; font-weight:500; }
.daylight-track { position:relative; height:9px; background:#dfe7e3; border-radius:5px; margin:18px 0 9px; }
.daylight-track span { position:absolute; top:0; height:9px; background:#edcd77; }
.daylight-track i { position:absolute; top:-4px; height:17px; width:2px; background:#a46440; }
.sun-detail { display:flex; justify-content:space-between; gap:8px; font-size:9px; color:#899477; margin-bottom:15px; }
.lowlight-windows { display:grid; grid-template-columns:1fr 1fr; gap:5px; padding:10px; background:#f7f0dc; border:1px solid #ece0c0; border-radius:5px; margin-bottom:10px; color:#978155; }
.lowlight-windows strong { grid-column:1/-1; font-size:10px; font-weight:500; }
.lowlight-windows span { font-size:10px; }
.temperature-summary { border-top:1px solid #e4e6d6; padding-top:15px; margin-top:18px; }
.temperature-summary strong { display:block; color:#a16c41; font-size:23px; font-weight:450; }
.temperature-summary strong small { font-size:10px; }
.temperature-summary span { display:block; font-size:10px; color:#9e987c; margin-top:4px; }
.temperature-chart { width:100%; margin:8px 0; }
.forecast-temp { font-size:10px; color:#a18358; }
.source-empty { padding:12px; border:1px dashed #ccd9c7; border-radius:7px; color:#74826c; }
.source-empty h4 { margin:0 0 8px; font-size:12px; }
.source-empty p { font-size:11px; }
.source-empty a { font-size:11px; color:#4c7b63; }
.point-rule { padding:12px; background:#f6f1e3; border:1px solid #e8debe; border-radius:6px; margin-bottom:8px; }
.point-rule strong { color:#8c723d; font-size:12px; }
.point-rule p { margin:5px 0; font-size:10px; }
.point-rule small { display:block; color:#a18e61; font-size:9px; margin-top:7px; }
.access-coordinate { font:10px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace!important; }
.detail-footer { padding:14px 22px; }
.detail-footer .primary-button { min-height:42px; font-size:12px; }
.detail-footer>small { font-size:8px; }

@media(min-width:1500px) { .workspace { grid-template-columns:320px minmax(0,1fr) 420px; } }
@media(max-width:1299px) and (min-width:1200px) { .workspace { grid-template-columns:280px minmax(0,1fr) 370px; } .sidebar-inner { padding-left:18px; padding-right:18px; } .timeline-top .demo-chip { display:none; } .timeline-context { display:none; } }
@media(max-width:1199px) and (min-width:761px) { .workspace { grid-template-columns:300px minmax(0,1fr); } .detail-panel { width:410px; } .mobile-detail-peek { bottom:315px; z-index:5; } }
@media(max-width:760px) {
 .workspace { display:block; }
 .detail-panel { width:100%; max-width:100%; }
 .detail-title { font-size:27px; }
 .detail-scroll { padding:0 20px; }
 .detail-tabs { padding:0 20px; justify-content:space-between; gap:10px; }
 .detail-tabs>button { font-size:11px; }
 .detail-hero { min-height:0; }
 .spot-detail-hero { padding:14px 20px 12px; }
 .spot-coordinate { padding-right:0; font-size:10px; }
 .spot-detail-hero .detail-close { right:12px; top:9px; }
 .map-topbar { top:12px; left:12px; right:12px; }
 .map-title small { max-width:135px; font-size:8px; }
 .map-title>span { font-size:15px; }
 .map-instruction { top:70px; left:12px; font-size:9px; }
 .depth-legend { left:12px; bottom:253px; width:145px; padding:7px 9px; }
 .depth-legend strong { font-size:8px; }
 .map-zoom { right:12px; bottom:257px; }
 .timeline-card { left:12px; right:12px; bottom:38px; padding:11px 12px 9px; }
 .timeline-tide,.tide-plot.compact { height:48px; }
 .timeline-top .demo-chip { font-size:8px; }
 .timeline-time { font-size:11px; }
 .timeline-summary { font-size:9px; gap:5px 8px; }
 .timeline-summary .icon { width:11px; height:11px; }
 .timeline-context { font-size:9px; }
 .timeline-labels { font-size:8px; }
 .mobile-detail-peek { bottom:189px; left:12px; max-width:calc(100% - 24px); width:calc(100% - 24px); padding:9px 12px; z-index:5; }
 .mobile-detail-peek>.icon { margin-left:auto; }
 .mobile-detail-peek .peek-number { width:26px; min-width:26px; height:26px; }
 .mobile-detail-peek strong { font-size:11px; }
 .mobile-detail-peek small { font-size:9px; }
 .leaflet-bottom.leaflet-left { bottom:238px; }
 .leaflet-control-scale { margin-left:13px!important; }
 .map-attribution { bottom:16px; left:12px; font-size:7px; }
 .leaflet-control-attribution { font-size:6px!important; }
 .layers-menu { top:61px; right:12px; }
 .spot-environment strong { font-size:21px; }
}
@media(max-height:750px) and (min-width:761px) { .sidebar-heading h1 { font-size:29px; } .sidebar-inner { padding-top:20px; } .field-label { margin-top:12px; } .mode-button { height:55px; } }

.sidebar-inner { padding-top:20px; }
.sidebar-heading h1 { margin-bottom:15px; font-size:29px; }
.scope-tabs { margin:10px 0; }
.region-filter { margin-bottom:10px; }
.field-label { margin-top:11px; margin-bottom:7px; }
.mode-button { height:50px; gap:4px; padding:5px 2px; }
.mode-button .icon { width:18px; height:18px; }
.water-tabs { margin:12px 0; }
.water-tabs button { min-height:26px; font-size:11px; }
.select-field { gap:5px; }
.select-field>span { font-size:10px; }
.planning-options { margin-top:12px; }
.timing-options { margin-top:0; }
.planning-options summary { padding:10px 18px 10px 0; font-size:11px; }
.results-heading { margin-top:15px; padding-top:13px; }
.area-description { margin:6px 0; }
