/* Member booking page */
body.ribster-page { margin:0; background:white; }
.ribster[data-ribster] {
    --navy:#051e35; --ink:#112137; --muted:#475b72; --line:#dce4e9; --blue:#0078ad;
    background:#fff; color:var(--ink); font:15px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    width:100%; max-width:none; margin:0; text-align:left; letter-spacing:normal;
}
.ribster[data-ribster] * { box-sizing:border-box; }
.ribster[data-ribster] :where(h1,h2,p,ul,figure,table,button,form) { margin:0; }
.ribster[data-ribster] :where(h1,h2) { font-family:Georgia,"Times New Roman",serif; color:var(--ink); text-transform:none; }
.ribster[data-ribster] p { color:var(--muted); }
.ribster[data-ribster] :where(a) { color:inherit; text-decoration:none; }
.ribster[data-ribster] :where(button) { cursor:pointer; color:inherit; font:inherit; text-transform:none; letter-spacing:normal; box-shadow:none; min-height:0; }
.ribster[data-ribster] [hidden] { display:none!important; }
.ribster[data-ribster] :focus-visible { outline:3px solid #068fb9; outline-offset:3px; }
.ribster .rb-bar { background:white; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:6px clamp(18px,3.8vw,70px); min-height:64px; }
.rb-logo img { display:block; width:clamp(160px,19vw,255px); height:auto; }
.rb-nav,.rb-nav ul,.rb-actions { display:flex; align-items:center; gap:clamp(14px,2.1vw,34px); }
.rb-nav ul { list-style:none; padding:0; }
.rb-nav a,.rb-member-link,.rb-outline,.ribster .rb-button { font:600 11px/1.25 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; letter-spacing:.065em; text-transform:uppercase; }
.rb-nav a:hover { text-decoration:underline; text-underline-offset:4px; }
.rb-actions { gap:12px; }
.rb-member-actions { justify-content:flex-end; min-width:0; }
.ribster .rb-member-link,.ribster .rb-button,.ribster .rb-outline { display:inline-flex; justify-content:center; align-items:center; gap:7px; padding:10px 17px; border-radius:5px; white-space:nowrap; text-decoration:none; }
.ribster .rb-member-link { background:#f1f5f7; }
.ribster[data-ribster] .rb-button { background:var(--navy); border:1px solid var(--navy); color:white; min-height:34px; }
.ribster .rb-button:hover,.ribster .rb-button:focus-visible { background:#125171; color:white; }
.ribster .rb-outline { background:transparent; border:1px solid #8396a5; color:var(--ink); }
.rb-actions .dashicons { font-size:16px; width:16px; height:16px; }
.rb-hero,.rb-footer { overflow:hidden; }
.rb-hero img,.rb-footer img { display:block; width:100%; height:auto; max-width:none; }
.rb-hero { background:#07566b; }
.rb-shell { max-width:1700px; margin:auto; padding:20px clamp(18px,4vw,72px) 24px; }
.rb-intro { margin-bottom:15px; }
.ribster .rb-kicker { text-transform:uppercase; color:#086287; font-size:12px; line-height:1.3; font-weight:700; letter-spacing:.18em; }
.ribster .rb-intro h1 { font-size:clamp(44px,4.65vw,72px); font-weight:600; letter-spacing:-.048em; line-height:1.01; margin:0 0 3px; }
.rb-account { display:flex; align-items:center; gap:10px; min-width:0; padding:6px 8px 6px 11px; border-radius:8px; background:#f1f5f7; }
.rb-account-profile { min-width:0; overflow-wrap:anywhere; }
.rb-account strong,.rb-account small { display:block; }
.rb-account strong { font-size:14px; } .rb-account small { color:var(--muted); font-size:12px; }
.rb-account .rb-password-link { display:inline-block; color:#075d83; font-size:12px; font-weight:650; text-decoration:underline; text-underline-offset:2px; }
.ribster .rb-member-actions .rb-button,.ribster .rb-account .rb-outline { min-height:40px; padding-inline:12px; }
.ribster .rb-account .rb-outline:hover { background:#e1ebf0; }
.rb-password-page { max-width:550px; margin:36px auto; padding-inline:18px; }
.ribster .rb-password-page h1 { font-size:clamp(32px, 6vw, 44px); line-height:1.08; margin-bottom:12px; }
.ribster :is(.rb-password-page,.rb-password-dialog) p { margin-bottom:14px; }
.ribster[data-ribster] :is(.rb-password-error,.rb-fuel-error) { color:#942337; font-weight:650; }
.rb-password-form { display:grid; gap:14px; }
.rb-password-form label { display:grid; gap:4px; font-weight:650; }
.rb-password-form input { width:100%; min-height:44px; padding:8px 10px; border:1px solid #8396a5; border-radius:5px; font:inherit; }
.rb-password-buttons { display:flex; flex-wrap:wrap; gap:8px; }
.ribster[data-ribster] :is(.rb-password-page,.rb-password-dialog) :is(.rb-button,.rb-outline) { min-height:44px; }
.rb-password-dialog { width:min(520px, calc(100% - 32px)); max-height:calc(100dvh - 32px); overflow:auto; padding:clamp(18px,4vw,30px); border:1px solid var(--line); border-radius:10px; color:var(--ink); background:#fff; }
.rb-password-dialog[open]:not(:modal) { position:static; margin:0 auto 20px; }
.rb-password-dialog::backdrop { background:rgba(5,30,53,.62); }
.ribster .rb-password-dialog h2 { font-size:clamp(25px,5vw,34px); line-height:1.08; margin-bottom:12px; }
.rb-layout { display:grid; grid-template-columns:minmax(0,3.65fr) minmax(220px,1fr); gap:18px; align-items:start; }
.rb-primary,.rb-aside,.rb-card { min-width:0; }
.rb-boats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.rb-card,.rb-sidecard,.rb-gridwrap { border:1px solid var(--line); border-radius:8px; background:white; }
.rb-card { overflow:hidden; display:flex; flex-direction:column; }
.ribster .boat-photo { display:block; width:100%; height:auto; aspect-ratio:2.5/1; object-fit:cover; }
.rb-card-body { flex:1; display:flex; flex-direction:column; align-items:flex-start; padding:8px clamp(14px,1.85vw,32px) 13px; }
.ribster .rb-card h2 { font-size:clamp(30px,3vw,48px); font-weight:600; text-transform:uppercase; line-height:1; letter-spacing:-.035em; }
.rb-card-body p { margin:9px 0; font-size:14px; line-height:1.35; }
.rb-card-body .rb-location { display:flex; gap:6px; align-items:center; margin:3px 0; }
.rb-location .dashicons { font-size:17px; color:#0070a1; }
.rb-location.maya .dashicons { color:#b52732; }
.rb-card-body .rb-button { margin-top:auto; }
.rb-aside { display:grid; gap:12px; }
.rb-sidecard { padding:15px 17px; }
.ribster .rb-sidecard h2 { display:flex; align-items:center; gap:10px; font-size:18px; line-height:1.3; font-weight:600; margin:0 0 13px; }
.rb-sidecard p,.rb-history li { font-size:13px; line-height:1.4; }
.rb-next { display:grid; gap:8px; padding:13px 12px; text-align:center; background:#f3f6f8; border-radius:6px; }
.rb-next strong { font-size:14px; }
.rb-next .rb-button,.rb-sidecard form .rb-button { width:100%; margin-top:6px; }
.rb-sidecard .rb-guide { display:block; width:100%; height:auto; border-radius:5px; margin:8px 0; }
.rb-sidecard .rb-caption { font-size:12px; }
.rb-fuel-check { margin-block:10px; padding:10px 0; border-top:1px solid var(--line); }
.rb-fuel-check h3 { margin:0 0 7px; font-size:.88rem; }
.rb-fuel-form input[type=number] { width:100%; min-height:40px; padding:7px 9px; border:1px solid #8396a5; border-radius:5px; font:inherit; }
.rb-fuel-form .rb-button { white-space:normal; }
.rb-fuel-booking { padding:7px 9px; background:#f1f5f7; border-radius:5px; }
.rb-meter-dialog { width:min(560px, calc(100% - 24px)); max-height:calc(100dvh - 24px); overflow:auto; padding:clamp(14px,4vw,24px); border:1px solid var(--line); border-radius:10px; color:var(--ink); background:#fff; }
.rb-meter-dialog::backdrop { background:rgba(5,30,53,.62); }
.rb-meter-dialog h3 { margin:0 0 6px; font:600 1.5rem/1.12 Georgia,serif; }
.rb-meter-image { display:block; width:auto; height:auto; max-width:100%; max-height:52dvh; margin:10px auto; background:#f1f5f7; border-radius:4px; cursor:crosshair; touch-action:none; }
.ribster .rb-meter-dialog .rb-button { width:auto; margin-top:0; }
.rb-history { margin-top:12px; }
.rb-history summary { cursor:pointer; font-weight:600; }
.rb-history ul { padding-left:18px; } .rb-history li { margin:8px 0; }
.rb-login-menu { position:relative; }
.rb-login-menu summary { list-style:none; cursor:pointer; }
.rb-login-menu summary::-webkit-details-marker { display:none; }
.rb-login-menu[open] > summary { background:#125171; }
.rb-login {
    position:absolute; z-index:5; top:calc(100% + 8px); right:0;
    width:min(330px,calc(100vw - 2 * clamp(18px,3.8vw,70px)));
    max-height:calc(100dvh - 72px); overflow:auto;
    display:grid; gap:12px; padding:18px;
    background:white; border:1px solid var(--line); border-radius:8px;
    box-shadow:0 8px 26px rgba(5,30,53,.15);
}
.rb-login h2 { font-size:20px; line-height:1.2; }
.rb-login label,.rb-sidecard form label { display:grid; gap:4px; font-size:13px; font-weight:600; }
.rb-login input:not([type=checkbox]) { width:100%; min-width:0; height:40px; padding:7px 10px; font:inherit; font-size:16px; border:1px solid #9aabb6; border-radius:4px; margin:0; }
.rb-login .rb-remember { display:flex; align-items:center; gap:7px; }
.rb-login .rb-remember input { margin:0; }
.rb-login [data-login-message]:empty { display:none; }
.rb-login [data-login-message] { font-size:13px; }
.rb-sidecard input[type=file] { max-width:100%; font-size:12px; }
.rb-schedule { margin-top:18px; scroll-margin:24px; }
.rb-toolbar { display:flex; flex-wrap:wrap; gap:7px 12px; align-items:center; justify-content:space-between; }
.rb-tabs,.rb-week { display:flex; align-items:center; }
.rb-tabs button,.rb-week button { border:0; background:transparent; }
.ribster .rb-tabs button { color:var(--muted); border-bottom:3px solid transparent; border-radius:5px 5px 0 0; padding:9px 18px 7px; line-height:1.25; }
.rb-tabs b,.rb-tabs small { display:block; }
.rb-tabs b { text-transform:uppercase; letter-spacing:.08em; font-size:13px; }
.rb-tabs small { font-size:12px; }
.ribster .rb-tabs button[aria-selected=true] { color:#005d8d; background:#f1f5f7; border-bottom-color:#0089c4; }
.rb-week { border:1px solid var(--line); border-radius:5px; gap:7px; padding-left:10px; }
.rb-week .dashicons { font-size:16px; height:16px; width:16px; }
.rb-week strong { font-size:12px; font-weight:500; }
.ribster .rb-week button { font-size:23px; line-height:1; min-width:34px; height:33px; border-left:1px solid var(--line); }
.rb-gridwrap { overflow-x:auto; margin-top:4px; }
.rb-gridwrap p { padding:16px; }
.ribster .rb-gridwrap table { border-collapse:collapse; table-layout:fixed; width:100%; min-width:620px; color:var(--ink); }
.rb-gridwrap th,.rb-gridwrap td { border:1px solid #edf0f3; padding:4px 5px; text-align:center; line-height:1.2; text-transform:none; letter-spacing:normal; }
.rb-gridwrap th { font-size:12px; font-weight:600; }
.rb-gridwrap thead th { padding:7px 3px; }
.rb-gridwrap th:first-child { width:92px; }
.rb-gridwrap small { display:block; font-size:10px; font-weight:400; }
.ribster .rb-gridwrap .slot { display:block; width:100%; padding:6px 2px; border:0; border-radius:20px; min-height:28px; font-size:11px; font-weight:600; }
.rb-gridwrap .available { color:#135430; background:#dcf1e4; }
.rb-gridwrap .available:hover { background:#b0e3c5; }
.rb-gridwrap .booked { background:#fbd8db; color:#8b2432; }
.rb-gridwrap .blocked { background:#edeff2; color:#465465; }
.ribster button:disabled { cursor:default; }
.rb-gridwrap .slot:disabled { opacity:1; }
.rb-schedule [data-message]:not(:empty),.rb-login [role=status]:not(:empty),.rb-sidecard [role=status]:not(:empty) { padding:9px 0; font-weight:600; }
.rb-footer { background:#314b67; }
@media (max-width:970px) {
    .rb-bar { flex-wrap:wrap; }
    .rb-nav { order:3; flex:1 0 100%; justify-content:center; flex-wrap:wrap; }
    .ribster .rb-bar { gap:7px 16px; padding-block:8px; }
    .rb-shell { padding-inline:20px; }
    .rb-layout { grid-template-columns:minmax(0,1fr) 215px; }
    .rb-week { margin:4px 0; }
}
@media (max-width:760px) {
    .rb-layout { grid-template-columns:1fr; }
    .rb-aside { grid-template-columns:1fr 1fr; }
    .rb-shell { padding:17px 15px; }
    .rb-hero img { height:clamp(125px,29vw,210px); object-fit:cover; object-position:24% center; }
    .rb-boats { gap:10px; }
    .rb-nav,.rb-nav ul { gap:14px; }
    .rb-nav a,.rb-actions a,.rb-actions button { font-size:10px; }
    .rb-actions { gap:5px; }
    .ribster .rb-actions .rb-member-link { display:none; }
    .rb-schedule { margin-bottom:6px; }
    .rb-gridwrap tbody th { position:sticky; left:0; z-index:1; background:white; }
}
@media (max-width:620px) {
    .rb-member-actions { flex:1 0 100%; gap:8px; }
}
@media (max-width:460px) {
    .rb-account { display:grid; grid-template-columns:auto minmax(0,1fr); gap:4px 8px; }
    .rb-account .rb-outline { grid-column:2; justify-self:start; }
}
@media(max-width:520px) {
    .rb-boats,.rb-aside { grid-template-columns:1fr; }
    .rb-aside .rb-guide { max-height:170px; object-fit:cover; }
    .rb-card-body { padding:10px 15px 14px; }
    .rb-card-body p { font-size:14px; }
    .rb-tabs button { min-width:105px; }
    .rb-week { margin-left:auto; }
    .rb-intro h1 { font-size:44px; }
    .rb-footer img { width:190%; max-width:none; }
    .rb-nav ul { flex-wrap:wrap; justify-content:center; }
}
/* Existing WordPress administration screen */
.ribster-admin .table-scroll { overflow:auto; }
.ribster-admin [data-block],.ribster-admin .ribster-photos { display:flex; flex-wrap:wrap; gap:15px; align-items:end; padding:20px; background:white; border:1px solid #ddd; margin:20px 0; }
.ribster-admin form h2,.ribster-admin .ribster-photos p { width:100%; margin:0; }
.ribster-admin label { display:grid; gap:4px; }

.ribster .rb-hero-copy { display:none; }
@media(max-width:520px) {
    .rb-hero { position:relative; }
    .rb-hero img { width:100%; height:175px; object-fit:cover; object-position:55% 54%; }
    .ribster .rb-hero-copy {
        display:block; position:absolute; inset:auto 0 0; margin:0; padding:22px 14px 10px;
        background:linear-gradient(transparent,rgba(0,22,36,.8)); color:white;
        font-size:12px; font-weight:600; letter-spacing:.065em;
    }
}
body {margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#112137}
.rb-tools {background:#f3f6f7;min-height:100vh;padding:30px 16px;box-sizing:border-box}
.rb-tools main {max-width:900px;margin:auto}
.rb-tools img {width:195px;display:block;margin-bottom:16px}
.rb-tools section {background:white;border:1px solid #dae3e9;border-radius:8px;padding:20px;margin:12px 0}
.rb-tools form,.rb-sidecard form {display:grid;gap:12px}
.rb-tools label {display:grid;gap:4px;font-size:.9rem}
.rb-tools input,.rb-tools select,.rb-tools button {font:inherit;padding:9px;border:1px solid #9caeb9;border-radius:4px;max-width:100%;box-sizing:border-box}
.rb-tools button {background:#051e35;color:#fff;cursor:pointer;justify-self:start}
.rb-tools h1,.rb-tools h2 {font-family:Georgia,serif}
.rb-tools .scroll {overflow-x:auto}
.rb-tools table {border-collapse:collapse;width:100%}
.rb-tools th,.rb-tools td {padding:8px;border-bottom:1px solid #e0e7eb;text-align:left;font-size:14px}
.rb-tools nav,.rb-tools .row {display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.rb-tools a {color:#005e83}
.rb-tools .feedback {background:#fff2d3;padding:12px;border-radius:5px}
.rb-tools code {overflow-wrap:anywhere}
.rb-icon {width:1.05em;height:1.05em;vertical-align:middle;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rb-location .rb-icon {color:#0070a1}.rb-location.maya .rb-icon {color:#b52732}

/* Public club homepage */
.ribster.rb-public {
    --landing-space:clamp(20px,5.1vw,84px);
    background:#f8fbfb;
    font-size:1rem;
}
.rb-public .rb-bar { padding-inline:var(--landing-space); min-height:76px; }
.rb-public .rb-nav a,.rb-public .rb-actions .rb-button { font-size:.78rem; }
.rb-public .rb-actions .rb-button,.rb-public .rb-outline,.rb-public .rb-contact-actions .rb-button { min-height:44px; }
.rb-public .rb-login label { font-size:.875rem; }
.rb-public .rb-login [role=alert] { color:#902c36; font-size:.875rem; }
.rb-landing-hero {
    display:grid;
    grid-template-columns:minmax(0, 44fr) minmax(0, 56fr);
    background:var(--navy);
    color:#fff;
}
.rb-landing-intro {
    align-self:center;
    padding:clamp(48px,6vw,94px) clamp(22px,4vw,64px) clamp(48px,6vw,94px) var(--landing-space);
}
.rb-public .rb-landing-intro h1 {
    color:#fff;
    font-size:clamp(3.1rem,4.7vw,5.3rem);
    line-height:.97;
    font-weight:600;
    letter-spacing:-.045em;
}
.rb-public .rb-landing-intro p { color:#d7e8ed; margin:25px 0 22px; max-width:36ch; font-size:1.06rem; line-height:1.6; }
.rb-public .rb-landing-intro .rb-outline { color:#fff; border-color:#a6c0cb; }
.rb-public .rb-landing-intro .rb-outline:hover { background:#123d50; }
.rb-landing-hero > img {
    display:block;
    width:100%;
    height:100%;
    min-height:0;
    object-fit:cover;
    object-position:5% center;
}
.rb-landing-shell { max-width:1410px; margin:auto; padding-inline:var(--landing-space); }
.rb-landing-section { padding-block:clamp(40px,5.8vw,84px); scroll-margin-top:12px; }
.rb-public :where(.rb-landing-section,.rb-membership,.rb-landing-contact) h2 {
    font-size:clamp(2.15rem,4vw,4rem);
    line-height:1.05;
    letter-spacing:-.035em;
    font-weight:600;
}
.rb-landing-section > p { margin-top:12px; max-width:62ch; }
.rb-public .rb-boats { margin-top:26px; gap:clamp(14px,2.3vw,34px); }
.rb-public .rb-card { box-shadow:0 5px 24px rgb(5 30 53 / .05); border-radius:10px; }
.rb-public .boat-photo { aspect-ratio:2.25/1; }
.rb-public .rb-card-body { padding:20px clamp(18px,2vw,30px) 22px; }
.rb-public .rb-card h3 { margin:0; font:600 clamp(1.85rem,3vw,2.55rem)/1 Georgia,"Times New Roman",serif; letter-spacing:-.03em; }
.rb-public .rb-card-body p { font-size:1rem; line-height:1.5; }
.rb-public .rb-card-body .rb-location { color:#075771; margin:8px 0 0; font-size:.94rem; font-weight:600; }
.rb-public .rb-card-body p:last-child { margin-bottom:0; }
.rb-membership {
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
    gap:clamp(24px,5vw,82px);
    padding:clamp(26px,4vw,56px);
    border:1px solid #dce7e9;
    border-radius:10px;
    background:#edf5f6;
    scroll-margin-top:12px;
}
.rb-membership-intro > p { margin-top:15px; max-width:46ch; line-height:1.65; }
.rb-membership dl,.rb-membership dd { margin:0; }
.rb-membership dl > div + div { margin-top:14px; padding-top:14px; border-top:1px solid #d2e2e5; }
.rb-membership dt { font-weight:700; margin-bottom:4px; }
.rb-membership dd { color:var(--muted); }
.rb-landing-contact {
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:22px;
    padding-block:clamp(38px,6vw,80px);
}
.rb-landing-contact > div:first-child { flex:1 1 21rem; }
.rb-landing-contact p { margin-top:10px; }
.rb-contact-actions { display:flex; flex-wrap:wrap; gap:10px; }
.rb-public .rb-contact-actions .rb-outline,.rb-public .rb-contact-actions .rb-button { font-size:.8rem; }
@media (max-width:760px) {
    .rb-public .rb-bar { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px 8px; }
    .rb-public .rb-nav { grid-column:1/-1; gap:4px 10px; padding-block:4px; }
    .rb-public .rb-nav a { font-size:.7rem; padding-block:7px; letter-spacing:.035em; }
    .rb-public .rb-logo img { width:clamp(128px,41vw,165px); }
    .rb-public .rb-actions .rb-button { padding-inline:12px; font-size:.73rem; }
    .rb-landing-hero,.rb-membership { grid-template-columns:1fr; }
    .rb-landing-intro { padding:40px var(--landing-space) 34px; }
    .rb-public .rb-landing-intro h1 { font-size:clamp(3.1rem,10vw,4.85rem); }
    .rb-public .rb-landing-intro p { margin-top:17px; }
    .rb-landing-hero > img { height:clamp(188px,46vw,320px); object-position:10% center; }
}
