
:root{--bg:#061722;--panel:#0a202c;--soft:#102a34;--line:#bda88040;--text:#f3e7cf;--muted:#baae99;--accent:#53d9d0;--button:#102833;--sand:#dcc69e;--coral:#e2947c}.light{--bg:#f5efe3;--panel:#fffaf0;--soft:#ece3d1;--line:#a18c6955;--text:#253a43;--muted:#655f54;--accent:#087d79;--button:#f5edde;--sand:#775d32;--coral:#a7442d}header{background:var(--bg);border-bottom:1px solid var(--line)}header h1{color:var(--text);letter-spacing:0}header .brand-logo{border-radius:0;filter:drop-shadow(0 0 4px #53d9d040)}.view-tabs{background:var(--bg);box-shadow:none}.view-tabs button{border-radius:5px;background:transparent;color:var(--sand)}.view-tabs button[aria-selected="true"]{background:transparent;color:var(--accent);border-color:transparent;border-bottom:3px solid var(--accent)}.view-tabs #new{color:var(--accent);border-color:var(--accent);background:transparent}.panel,.report{border-radius:9px;box-shadow:none}.metric{background:transparent;border-radius:0;border-inline-start:1px solid var(--line);color:var(--sand)}.metric:first-child{border-inline-start:0}.metric-icon{color:var(--sand)}.metric-icon.wind-arrow{color:var(--coral)}.club-icon{width:24px;height:24px;vertical-align:middle;flex-shrink:0}.metric-icon .club-icon{width:44px;height:42px}.badge,.chip{color:var(--sand);background:transparent;border-color:var(--line);border-radius:5px}.jelly-graphic,.jelly-icons>.active,.jelly-none .jelly-icons>span,.light .jelly-graphic,.light .jelly-icons>.active,.light .jelly-none .jelly-icons>span{color:var(--sand)}.jelly-graphic,.crowdgraphic{background:transparent;border-top:1px solid var(--line);border-radius:0}.jelly-swarm{border-color:var(--sand)}[data-verdict="confirm"]{color:var(--sand)}[data-verdict="dispute"]{color:var(--coral)}[data-verdict][aria-pressed="true"]{border-color:currentColor;background:var(--soft)}.validity,.list-summary>small,.favorite-card>small{color:var(--coral)}.tube-badge{background:transparent;color:#ffe29b;border-color:#f8cf6a}.report:has(.tube-badge),.favorite-card:has(.tube-badge),.beach-list-card:has(.tube-badge){border:1px solid #f8d079;box-shadow:0 0 5px #ffdb8f,0 0 19px #ffcf7060,inset 0 0 14px #f5ba3818}.report-sheet:has(.tube-badge){box-shadow:0 0 26px #ffcf7066}.light .tube-badge{color:#80530a}.compact-view #favoritesList{grid-template-columns:1fr;gap:2px}.compact-view .list-summary{padding:0}.compact-view .panel .club-action:before{content:none}.compact-view .club-action .action-label{display:none}.compact-view .club-action .club-icon{width:20px;height:20px}.club-action{display:inline-flex;align-items:center;justify-content:center;gap:6px}.compact-view .favorite-card,.compact-view .beach-list-card{background:transparent}.compact-view .view-heading{min-height:54px}.view-heading button{color:var(--sand);border-color:var(--sand);background:transparent}.surfers .active{color:var(--sand)}.bars i.on,.dots i.on{background:var(--sand)}

.favorite-on{color:#f7cf77!important}.favorite-on .club-icon{fill:#f7cf77;stroke:#f7cf77}.condition-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:0;align-items:center;padding:8px 0;color:var(--sand)}.condition-cell{display:flex;align-items:center;justify-content:center;gap:6px;padding:0 8px;border-inline-start:1px solid var(--line);font-size:12px;line-height:1.2;min-width:0}.condition-cell:first-child{border:0}.condition-cell>span{display:flex;flex-direction:column;gap:2px}.condition-cell small{font-size:10px;color:var(--muted)}.condition-cell .club-icon{width:30px;height:30px}.wind-cell .club-icon{color:var(--coral)}.row-votes{display:flex;gap:2px;padding-inline-start:5px;border-inline-start:1px solid var(--line)}.row-votes button{display:flex;align-items:center;gap:3px;padding:3px 5px;min-height:34px;background:transparent;font-size:12px}.row-votes .club-icon{width:21px;height:21px}.row-time{color:var(--coral)}.favorite-compact-summary{display:none}.compact-view .condition-row{grid-column:1;padding:1px 0;grid-template-columns:repeat(4,minmax(0,1fr)) auto;margin:0;gap:0}.compact-view .condition-cell{padding:0 5px;font-size:11px;gap:4px}.compact-view .condition-cell .club-icon{width:25px;height:25px}.compact-view .row-votes button{width:auto;min-width:30px;font-size:11px;padding:1px 3px;min-height:30px;height:30px}.compact-view .condition-row.favorite-compact-summary{display:grid}.compact-view .row-time{grid-column:1}.compact-view .panel>.row{grid-row:1 / span 5}.compact-view .panel:has(.condition-row){grid-template-columns:minmax(0,1fr) auto}.compact-view .surface-cell{display:none}.compact-view .condition-row{grid-template-columns:repeat(3,minmax(0,1fr)) auto}@media(max-width:600px){.condition-row{grid-template-columns:repeat(3,minmax(0,1fr)) auto}.condition-row .surface-cell{display:none}.condition-cell{flex-direction:column;gap:2px;padding:0 4px;text-align:center;font-size:11px}.compact-view .condition-cell{gap:1px;padding:0 2px}.compact-view .condition-cell small{font-size:9px}.compact-view .row-votes{flex-direction:column;gap:0;padding-inline-start:2px}.compact-view .row-votes button{height:25px;min-height:25px;padding:0 2px}.compact-view .panel>.row{flex-direction:column;gap:1px}.compact-view .panel>.row button{height:25px;min-height:25px;width:26px;min-width:26px}.compact-view .condition-cell .club-icon{width:24px;height:24px}.compact-view .condition-row{padding:1px 0}.compact-view .condition-cell .tube-badge{font-size:9px}.compact-view .favorite-card>small{font-size:9px}}
.compact-view .surface-cell,.condition-row .surface-cell{display:flex}.compact-view .condition-row{grid-template-columns:repeat(4,minmax(0,1fr)) auto}@media(max-width:600px){.condition-row{grid-template-columns:repeat(4,minmax(0,1fr)) auto}.compact-view .condition-cell{font-size:10px}.condition-cell>span{overflow-wrap:anywhere}.compact-view .row-votes .club-icon{width:17px;height:17px}}

.clickable-beach{cursor:pointer}.beach-title,.compact-view .panel .beach-title{font:inherit;color:var(--text);padding:0;border:0;background:transparent;width:auto;min-width:0;height:auto;min-height:26px;line-height:1.1;text-align:start;display:inline-block}.compact-view .panel .beach-title:before{content:none}.beach-title:hover{color:var(--accent)}.compact-view .condition-cell,.condition-cell{flex-direction:row;text-align:start}.compact-view .row-votes,.row-votes,.compact-view .panel>.row{flex-direction:row;gap:2px}.compact-view .row-votes button{height:30px;min-height:30px}.compact-view .panel>.row button{width:28px;min-width:28px;height:30px;min-height:30px}.compact-view .condition-cell>span{font-size:10px}.compact-view .condition-row{overflow-x:auto;grid-template-columns:repeat(4,minmax(62px,1fr)) auto}.compact-view .panel:has(.condition-row){grid-template-columns:minmax(0,1fr) auto}.compact-view .condition-row{grid-column:1 / -1}.compact-view .panel>.row{grid-column:2;grid-row:1 / span 2}.condition-row .club-icon{flex-shrink:0}.members-dialog{width:min(650px,96vw);max-height:85dvh;padding:12px}.members-heading{justify-content:space-between;margin:0}.members-heading h2{font-size:18px;margin:0}#memberAdmin{margin:0}#memberAdmin h3{font-size:13px;margin:6px 0}#memberActionStatus{font-size:12px;margin:4px 0}#memberActionStatus:empty{display:none}.member-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:1px 4px;padding:4px 6px;margin:2px 0;border-radius:5px;box-shadow:none;font-size:11px;line-height:1.1}.member-row>b{grid-column:1;font-size:12px}.member-row>p:first-of-type{grid-column:1;margin:0;overflow-wrap:anywhere;font-size:10px;line-height:1.15}.member-row>button{grid-row:1 / span 2;min-height:28px;height:28px;padding:2px 7px;font-size:11px;align-self:center}.member-row>button:first-of-type{grid-column:2}.member-row>button:last-of-type{grid-column:3}.member-row>p[role="status"]{grid-column:1 / -1;font-size:10px;margin:1px 0}.member-row>p[role="status"]:empty{display:none}#memberArchive{margin-top:8px;border-top:1px solid var(--line);padding-top:6px}#memberArchive summary{font-size:12px;cursor:pointer}#openMenu{position:relative}#openMenu.has-pending:after{content:'';position:absolute;top:4px;right:4px;width:9px;height:9px;background:#ec944c;border-radius:50%;border:2px solid var(--bg)}#openMembers{margin:10px 0;width:100%;text-align:start}#pendingMemberCount{color:#ec944c}@media(max-width:600px){.condition-cell,.compact-view .condition-cell{flex-direction:row}.compact-view .row-votes{flex-direction:row}.compact-view .condition-cell{padding:0 4px;gap:3px}.compact-view .panel>.row{flex-direction:row}.compact-view .condition-row{grid-template-columns:repeat(4,minmax(65px,1fr)) auto}}

#beachAdmin h3{font-size:13px;margin:6px 0}#beachActionStatus{font-size:12px;margin:4px 0}#beachActionStatus:empty{display:none}#beachArchive{margin-top:8px;border-top:1px solid var(--line);padding-top:6px}#beachArchive summary{font-size:12px;cursor:pointer}#openBeachRequests{margin:10px 0;width:100%;text-align:start}#pendingBeachCount{color:#ec944c}.beach-request-row>b{font-size:12px}.beach-request-row p{font-variant-numeric:tabular-nums}

:root{--favorite-gold:#f7cf77;--tube-text:#ffe29b;--tube-border:#f8cf6a;--success:#59dfb7;--error:#ffb59b;--pending:#ec944c;--map-beach:#ffc75e;--map-pending:#f6ba59;--map-selection:#80cfff}.light{--favorite-gold:#8b640e;--tube-text:#80530a;--tube-border:#976915;--success:#146c4c;--error:#a33422;--pending:#a45112;--map-beach:#855700;--map-pending:#ae5915;--map-selection:#12618b;--line:#8b785e80}.favorite-on{color:var(--favorite-gold)!important}.favorite-on .club-icon{fill:var(--favorite-gold);stroke:var(--favorite-gold)}.tube-badge,.light .tube-badge{color:var(--tube-text);border-color:var(--tube-border)}.light header .brand-logo{filter:brightness(.32) saturate(1.35);opacity:1}.light .report:has(.tube-badge),.light .favorite-card:has(.tube-badge),.light .beach-list-card:has(.tube-badge){border-color:var(--tube-border);background:#f7ebcd;box-shadow:0 0 0 1px #97691550,0 0 15px #ad741c40,inset 0 0 12px #d4a34320}.light .report-sheet:has(.tube-badge){border-color:var(--tube-border);box-shadow:0 0 24px #ad741c55}.light .report-sheet .report:has(.tube-badge){background:#f7ebcd}.light #openMenu.has-pending:after{background:var(--pending)}#pendingMemberCount,#pendingBeachCount{color:var(--pending)}.light #error,.light #beachError{color:var(--error)}.light .jelly-icons>span,.light .surfers span{color:#85765e}.light .bars i,.light .dots i{background:#b9ac97}.light .bars i.on,.light .dots i.on{background:var(--sand)}.light .report-dot{background:var(--accent);color:#fff;border-color:#fffaf0;box-shadow:0 0 0 4px #087d7922,0 3px 9px #0002}.light .leaflet-control-zoom a{color:var(--text);background:var(--panel)}.light input::placeholder,.light textarea::placeholder{color:var(--muted);opacity:1}.light button:disabled{opacity:.6}.status-success{color:var(--success)}.status-error{color:var(--error)}
.light .surfers .active{color:var(--sand)}

.club-action[data-fav] .action-label,.club-action[data-remove] .action-label{display:none}.club-action[data-fav],.club-action[data-remove]{width:40px;min-width:40px;padding:4px}.club-action:before{content:none!important}.leaflet-tooltip.beach-name-label{background:var(--panel);color:var(--text);border:1px solid var(--line);box-shadow:none;font-size:11px;padding:2px 5px;direction:rtl;white-space:nowrap}.leaflet-tooltip.beach-name-label:before{display:none}@media(min-width:751px){header{justify-content:flex-start;gap:12px}header #openMenu{order:-1;margin:0}header>div{order:0}}

#manageBeaches{margin:10px 0;width:100%;text-align:start}#manageBeachStatus,#editBeachStatus{font-size:12px;margin:5px 0}

.beach-tag-host{background:none;border:0}.beach-map-tag{position:absolute;right:0;top:0;display:block;white-space:nowrap;border-radius:999px;background:#bd614d;color:#fff;padding:4px 10px;font-size:12px;font-weight:bold;line-height:20px;direction:rtl;border:1px solid #a64b39;box-shadow:0 1px 4px #0003;cursor:pointer}.beach-management-map{width:min(1000px,96vw);max-width:96vw;max-height:94dvh;padding:12px}#manageBeachMap{height:55dvh;min-height:280px;direction:ltr;border-radius:10px;margin:8px 0}#mapBeachEditor{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 10px;align-items:center}#mapBeachEditor label{margin:0}#mapBeachEditor input{margin:0}#mapBeachCoords,#mapBeachEditor>.row{grid-column:1 / -1}.management-help{font-size:12px;margin:6px 0}#manageBeachStatus{font-size:12px;margin:5px 0}@media(max-width:600px){.beach-management-map{padding:9px}.beach-management-map .members-heading{flex-wrap:wrap;gap:5px}.beach-management-map .members-heading h2{font-size:16px}.beach-management-map button{font-size:12px;padding:6px 9px}#manageBeachMap{height:52dvh}.beach-map-tag{font-size:11px;padding:3px 8px}}

.beach-map-tag{display:flex;align-items:center;gap:5px}.beach-map-tag.tag-active{outline:2px solid #087d79;outline-offset:1px}.beach-map-tag.tag-selected{outline:3px solid var(--text);outline-offset:2px}.beach-map-tag.tag-tubes{border-color:#ffe29b;box-shadow:0 0 6px #ffd778,0 0 16px #f7cf7770}.tag-count{display:inline-flex;align-items:center;gap:2px;border-inline-start:1px solid #ffffff70;padding-inline-start:4px;font-size:11px}.tag-count .club-icon{width:17px;height:17px}.sea-entries summary>.club-icon{width:20px;height:20px}.cluster-beach-list{display:grid;gap:4px;max-height:250px;overflow:auto}.cluster-beach-list button{font-size:12px;min-height:34px}

.report-share-dialog{width:min(620px,94vw);max-height:90dvh;padding:16px}.report-share-dialog textarea{width:100%;box-sizing:border-box;font-size:13px;line-height:1.4}.report-share-dialog .row{flex-wrap:wrap;gap:6px;margin:8px 0}.share-platforms .link{padding:8px 12px;text-decoration:none;display:inline-flex;align-items:center}.report-share-dialog small{display:block;font-size:11px;margin-top:8px}

.share-image-preview canvas{width:100%;height:auto;display:block;border-radius:8px}.report-share-dialog [data-status]{font-size:12px}

#favoritesView .view-heading{grid-template-columns:minmax(0,1fr) auto 140px}#favoriteOrderToggle{width:auto;white-space:nowrap;font-size:12px}.favorite-order-controls{display:flex;gap:4px;align-items:center;margin-top:5px}.favorite-order-controls button,.compact-view .panel .favorite-order-controls button{font-size:18px;width:32px;min-width:32px;height:32px;min-height:32px;padding:0}.favorite-order-controls span{font-size:12px;color:var(--muted)}.compact-view .favorite-order-controls{grid-column:1 / -1;grid-row:auto}.favorite-order-controls button:before{content:none!important}@media(max-width:600px){#favoritesView .view-heading{grid-template-columns:minmax(0,1fr) 140px}#favoritesView .view-heading h2{grid-column:1}#favoritesDensity{grid-column:2;grid-row:1}#favoriteOrderToggle{grid-column:1 / -1;grid-row:2;justify-self:start;height:32px;min-height:32px}}

.beach-map-tag,.beach-map-tag.tag-active,.beach-map-tag.tag-selected{border:0;outline:none;outline-offset:0}.beach-map-tag.tag-selected{background:#087d79;color:#fff}.beach-map-tag.tag-tubes{border:0;outline:none;box-shadow:0 0 6px #ffd778,0 0 16px #f7cf7770}.beach-map-tag.tag-selected.tag-tubes{background:#087d79}.tag-count{border:0}#infoDialog{max-width:650px}#infoDialog p{font-size:13px;line-height:1.5}@media(min-width:751px){#mapView{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#mapView>aside,#mapView>.mapwrap{min-width:0}#mapView>aside{padding:20px}}

.forecast-wind-arrow{display:inline-block;color:var(--coral);font-size:19px}.forecast-degrees{display:block;font-size:10px}#forecast table{width:100%;table-layout:fixed;font-size:12px}#forecast td,#forecast th{padding:6px 3px;overflow-wrap:anywhere}

.point-pin-host{background:none;border:0}.point-actions{display:grid;gap:5px;min-width:180px;direction:rtl}.point-actions p{font-size:11px;margin:2px 0}.point-actions button{font-size:13px;padding:7px;min-height:36px}.surf-rating-button{display:block;width:100%;padding:4px 1px;min-height:0;background:transparent;border:0;text-align:center}.rating-ducks{display:flex;direction:ltr;justify-content:center;gap:1px}.rating-duck{position:relative;display:block;width:19px;height:19px;flex-shrink:0}.rating-duck>svg{width:19px;height:19px;fill:#29434d;stroke:#647d88;stroke-width:.7}.duck-fill{position:absolute;top:0;left:0;height:19px;overflow:hidden}.duck-fill svg{display:block;width:19px;height:19px;max-width:none;fill:#ffd34f;stroke:#b98416;stroke-width:.7}.light .rating-duck>svg{fill:#5a666b;stroke:#31454c}.surf-rating-button small{display:block;font-size:10px;line-height:1.2;margin-top:3px}.rating-partial{color:var(--coral)}.surf-profile-editor{grid-column:1 / -1;font-size:12px}.surf-profile-editor input{max-width:200px}.surf-profile-editor label{display:block;margin-top:5px}

#forecast th:first-child,#forecast td:first-child{width:112px}.forecast-time-rating{display:grid;grid-template-columns:minmax(0,1fr) 18px;grid-template-rows:auto 1fr;gap:3px 5px;align-items:center;text-align:center}.forecast-time-rating time{font-size:13px;font-weight:700;direction:ltr}.forecast-time-rating .surf-rating-button{grid-column:2;grid-row:1 / 3;width:18px;padding:2px 0;min-height:0}.forecast-time-rating .rating-ducks{flex-direction:column-reverse;gap:0}.forecast-time-rating .rating-duck,.forecast-time-rating .rating-duck>svg,.forecast-time-rating .duck-fill svg{width:15px;height:15px}.forecast-time-rating .duck-fill{height:15px}.forecast-rating-note{font-size:10px;line-height:1.35;align-self:start}.forecast-time-rating .surf-rating-button:hover{background:var(--soft)}

/* Readable typography and whole-word wrapping, including narrow screens. */
body{font-size:16px;line-height:1.45;word-break:normal;overflow-wrap:break-word;hyphens:none}
button,.link{font-weight:600;white-space:normal;word-break:normal;overflow-wrap:break-word}
input,select,textarea{font-size:16px;min-width:0;max-width:100%}
.panel,.report,.grid>div,.report-head>*,.condition-cell>span,.member-row>*{min-width:0}
p,label,small,summary,.badge,.chip,.beach-title,.condition-cell>span{word-break:normal;overflow-wrap:break-word;hyphens:none}
label,.choices legend{font-size:14px}small,.source-label,.validity,.fact,.report-more summary,#preferenceStatus,.management-help,#infoDialog p{font-size:13px;font-weight:500}
.condition-cell{font-size:14px;font-weight:600;line-height:1.35}.condition-cell small{font-size:12px}
.compact-view h3{font-size:15px}.compact-view .panel>small,.compact-view .condition-cell>span,.compact-view .condition-cell small,.compact-view .favorite-card>small,.compact-view .list-summary small{font-size:12px;line-height:1.25}.compact-view .panel>p,.compact-view .list-summary{font-size:12px}
.member-row{font-size:12px;line-height:1.25}.member-row>b,.beach-request-row>b{font-size:13px}.member-row>p:first-of-type,.member-row>p[role="status"]{font-size:12px;line-height:1.3}.member-row>button{font-size:12px;height:auto}
.report-share-dialog small,.point-actions p{font-size:13px}.view-tabs button{font-size:14px}.view-heading button{font-weight:600;white-space:normal;line-height:1.2}
.maptag{max-width:calc(100% - 28px);font-size:13px;line-height:1.4;white-space:normal}
.forecast-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
#forecast table{width:100%;min-width:540px;table-layout:auto;font-size:15px;line-height:1.45;font-weight:600}
#forecast td,#forecast th{text-align:center;vertical-align:middle;padding:10px 8px;word-break:normal;overflow-wrap:normal;white-space:normal;hyphens:none}
#forecast th{font-size:15px;font-weight:700}#forecast th small{font-size:12px;font-weight:600}
#forecast th:first-child,#forecast td:first-child{width:145px;min-width:145px}
#forecast .forecast-time-rating{grid-template-columns:minmax(0,1fr) 18px;grid-template-rows:auto auto;align-items:center;justify-content:center;width:100%;gap:5px}
#forecast .forecast-time-rating time{font-size:16px;font-weight:700;align-self:end}
#forecast .forecast-rating-note{font-size:12px;font-weight:600;line-height:1.4;align-self:start}
#forecast .forecast-degrees{font-size:13px;font-weight:600}#forecast .forecast-wind-arrow{font-size:22px}
@media(max-width:600px){.condition-cell{font-size:13px}.compact-view .condition-row{grid-template-columns:repeat(4,minmax(78px,1fr)) auto}.view-tabs{flex-wrap:wrap}.view-tabs button{font-size:14px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.forecast-wind-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.forecast-wind-cell>b{font-size:17px;direction:ltr}.forecast-wind-cell>span{font-size:13px}.forecast-weather-icon{display:block;width:38px;height:40px;margin:auto}#forecast th:nth-child(4),#forecast td:nth-child(4){min-width:105px}#forecast th:last-child,#forecast td:last-child{min-width:65px}

.report-location-row{display:flex;align-items:center;gap:8px}.report-location-row select{flex:1;min-width:0;margin:6px 0 12px}.report-location-row button{flex:0 0 auto;margin-bottom:6px;max-width:45%}#reportLocationDialog{width:min(800px,96vw);max-height:94dvh}#reportLocationMap{height:52dvh;min-height:260px;direction:ltr;border-radius:10px}#reportLocationCoords{direction:ltr;text-align:center;font-size:13px}.water-temperature{display:inline-flex;align-items:center;gap:4px;margin-inline-start:6px;color:var(--accent);font-size:13px;font-weight:600;white-space:nowrap;vertical-align:middle}.water-temperature>span,.forecast-air-temperature{direction:ltr}.forecast-air-temperature{display:block;margin-top:5px;font-size:14px;font-weight:700}h3:has(.water-temperature){line-height:1.45}.point-pin-host{background:none;border:0}
