/* ==========================================================================
   SCUBA PLATFORM - TRIBE & PRO DOMAIN UNIFIED CSS SYSTEM (V20 GOLD STANDARD)
   Covers Tribe Member Portal & Pro Instructor Command Center
   ========================================================================== */
/* --------------------------------------------------------------------------
   1. CENTRALIZED TOKENS & ROOT VARIABLES
   -------------------------------------------------------------------------- */
:root {
    --tribe-bg: #0b111e;
    --tribe-card-bg: #111c33;
    --tribe-input-bg: #061224;
    --tribe-border: rgba(245, 158, 11, 0.25);
    --tribe-border-subtle: rgba(255, 255, 255, 0.1);
    --tribe-gold: #f59e0b;
    --tribe-text-main: #ffffff;
    --tribe-text-muted: #cbd5e1;
    --tribe-btn-action: var(--brand_navy);
    --tribe-btn-save: #10b981;
    --tribe-btn-danger: #ef4444;
    --tribe-glass-bg: rgba(6, 18, 36, 0.45);
    --tribe-glass-blur: 16px;
    --tribe-glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --tribe-radius-lg: 12px;
    --tribe-font-2xs: 1rem;
    --tribe-font-xs: 1rem;
    --tribe-font-sm: 1rem;
    --tribe-tier-bronze: #cd7f32;
    --tribe-tier-silver: #cbd5e1;
    --tribe-tier-gold: var(--tribe-gold);
    --tribe-tier-platinum: #38bdf8;
    --tribe-surface-dark: rgba(6, 18, 36, 0.90);
    --tribe-radius-sm: 6px;
    --bs-secondary-color: var(--tribe-text-muted);
    --tribe-info: var(--tribe-tier-platinum);
    --tribe-panel-elevated: #172644;
    --tribe-chip-navy: #1d3054;
}
/* --------------------------------------------------------------------------
   2. SHARED DASHBOARD CANVAS
   -------------------------------------------------------------------------- */
.dashboard_wrapper {
    background: transparent;
    min-height: 100vh;
    color: var(--tribe-text-main);
    display: flex;
    flex-direction: column;
}
.dashboard_wrapper .bg-glass-pane,
.dashboard_wrapper .tribe-glass-pane {
    background: var(--tribe-glass-bg);
    backdrop-filter: blur(var(--tribe-glass-blur));
    -webkit-backdrop-filter: blur(var(--tribe-glass-blur));
    border: 1px solid var(--tribe-border);
    border-radius: var(--tribe-radius-lg);
    box-shadow: var(--tribe-glass-shadow);
    color: var(--tribe-text-main);
}
.dashboard_wrapper .policy_banner_title {
    font-size: var(--tribe-font-sm);
    color: var(--tribe-gold);
}
.dashboard_wrapper .credit_bar_label {
    font-size: var(--tribe-font-2xs);
    color: var(--tribe-gold);
}
.dashboard_wrapper .credit_bar_text {
    font-size: var(--tribe-font-2xs);
    color: var(--tribe-text-main);
}
.dashboard_wrapper .credit_bar_sublabel {
    font-size: var(--tribe-font-xs);
    color: var(--tribe-text-muted);
}
/* --------------------------------------------------------------------------
   3. TRIBE MEMBER PORTAL - CARD GRID & INTERACTIVE DRAWERS
   -------------------------------------------------------------------------- */
.widget_card_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 20px;
    box-sizing: border-box;
}
.widget_card_wrapper {
    position: relative;
    width: 100%;
}
.widget_card_grid .widget_card {
    position: relative;
    height: 180px;
    border-radius: 12px;
    background-color: var(--tribe-card-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--tribe-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease;
}
.widget_card_grid .widget_card:hover {
    transform: translateY(-4px);
    border-color: var(--tribe-gold);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}
.widget_card_bg_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.widget_card_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 18, 36, 0.55);
    z-index: 1;
}
.widget_card_content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}
.widget_card_icon {
    color: var(--tribe-gold);
    font-size: 2rem;
    margin-bottom: 10px;
}
.widget_card_content h5 {
    color: var(--tribe-text-main);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.widget_card_content p {
    color: var(--tribe-text-muted);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}
.widget_expanded_drawer {
    display: none;
    margin-top: 15px;
    width: 100%;
}
.widget_card_wrapper.expanded_active .widget_expanded_drawer {
    display: block;
}
/* --------------------------------------------------------------------------
   4. TRIBE MEMBER STATS, VAULT PANELS & PROFILE HEADER
   -------------------------------------------------------------------------- */
.stat-grid,
.vault-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 15px;
}
.stat-box {
    background: var(--tribe-input-bg);
    border: 1px solid var(--tribe-border);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.stat-box:hover {
    border-color: var(--tribe-gold);
    transform: translateY(-2px);
}
.stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--tribe-text-main);
}
.stat-sub-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    color: var(--tribe-gold);
}
.profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--tribe-border-subtle);
    margin-bottom: 20px;
}
.profile-photo-wrapper {
    position: relative;
    width: 65px;
    height: 65px;
    min-width: 65px;
    min-height: 65px;
    flex-shrink: 0;
}
.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border: 2px solid var(--tribe-gold);
}
.camera-overlay {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: var(--tribe-gold);
    color: #061224;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
}
.vault-inner-card,
.vault-dark-panel,
.vault-sub-panel {
    background: var(--tribe-input-bg);
    border: 1px solid var(--tribe-border-subtle);
    border-radius: 8px;
    padding: 15px;
    color: var(--tribe-text-main);
}
.pro-rank-banner {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    border: 1px solid var(--tribe-gold);
    color: #061224;
    font-weight: 700;
}
/* --------------------------------------------------------------------------
   5. PRO INSTRUCTOR DASHBOARD - MAIN CONTAINER & ACCORDIONS
   -------------------------------------------------------------------------- */
.pro_dashboard_main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
.dashboard_widget {
    background-color: var(--tribe-card-bg);
    border: 1px solid var(--tribe-border);
    border-radius: 8px;
    color: var(--tribe-text-main);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    max-width: 100%;
}
.widget_header_bar {
    background: rgba(6, 18, 36, 0.6);
    border-bottom: 1px solid var(--tribe-border);
}
.pro_compliance_card,
.widget_card {
    background-color: var(--tribe-input-bg);
    border: 1px solid var(--tribe-border);
    border-radius: 6px;
    color: var(--tribe-text-main);
    box-sizing: border-box;
}
/* --------------------------------------------------------------------------
   6. FORM CONTROLS & DARK INPUT LOCKS
   -------------------------------------------------------------------------- */
.widget_input,
.field-box input,
.field-box select,
.field-box textarea,
.dashboard_widget input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.dashboard_widget select,
.dashboard_widget textarea {
    background-color: var(--tribe-input-bg);
    color: #ffffff;
    border: 1px solid var(--tribe-border);
    border-radius: 6px;
    padding: 8px 12px;
    box-sizing: border-box;
    max-width: 100%;
}
.widget_input:focus,
.field-box input:focus,
.field-box select:focus,
.field-box textarea:focus,
.dashboard_widget input:focus,
.dashboard_widget select:focus,
.dashboard_widget textarea:focus {
    background-color: #0b111e;
    color: #ffffff;
    border-color: var(--tribe-gold);
    outline: none;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}
.field-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(6, 18, 36, 0.5);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--tribe-border);
}
.field-box span,
.field-box label {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--tribe-gold);
}
/* --------------------------------------------------------------------------
   7. PRO MEDIA, CONTROL PILLS & DISPATCH RADAR COMPONENTS
   -------------------------------------------------------------------------- */
.widget_headshot_preview {
    width: 110px;
    height: 110px;
    min-width: 110px;
    min-height: 110px;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border: 3px solid var(--tribe-gold);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.widget_headshot_preview:hover {
    transform: scale(1.03);
    border-color: #ffffff;
}
.widget_camera_overlay {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: var(--tribe-gold);
    color: #061224;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.widget_portfolio_box {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--tribe-border);
    background: var(--tribe-input-bg);
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.widget_portfolio_box:hover {
    border-color: var(--tribe-gold);
    transform: scale(1.03);
}
.widget_portfolio_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}
.widget_yt_preview {
    max-width: 480px;
    height: 270px;
    border-radius: 8px;
    border: 1px solid var(--tribe-border);
    background: var(--tribe-input-bg);
}
.widget_award_card {
    position: relative;
    width: 110px;
    padding: 8px;
    background: var(--tribe-input-bg);
    border: 1px solid var(--tribe-border);
    border-radius: 8px;
    text-align: center;
    box-sizing: border-box;
}
.widget_award_card img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 6px;
}
.widget_award_card .cross-delete-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    line-height: 1;
}
.bitmask_container .bit_day_pill {
    padding: 8px 12px;
    background: var(--tribe-input-bg);
    border: 1px solid var(--tribe-border);
    border-radius: 6px;
    color: var(--tribe-text-muted);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
    user-select: none;
    transition: all 0.2s ease;
}
.bitmask_container .bit_day_pill.active {
    background: var(--tribe-gold);
    color: #061224;
    border-color: var(--tribe-gold);
}
.service_pill {
    padding: 10px;
    background: var(--tribe-input-bg);
    border: 1px solid var(--tribe-border);
    border-radius: 6px;
    color: var(--tribe-text-muted);
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.service_pill.active {
    border-color: var(--tribe-gold);
    color: var(--tribe-gold);
    background: rgba(245, 158, 11, 0.1);
}
.radar_widget_wrapper {
    width: 100%;
    padding: 5px;
}
.radar_iframe {
    width: 100%;
    height: 420px;
    border: none;
    border-radius: 8px;
}
#digital_logbook_card .logbook-scroll-tray {
    max-height: 380px;
    overflow-y: auto;
    overflow-x: hidden;
}
/* --------------------------------------------------------------------------
   8. SHARED 10% FROSTED GLASS & MODAL BACKDROP ENGINE
   -------------------------------------------------------------------------- */
.dashboard_wrapper .modal-content,
.widget_modal .modal-content,
#studentFolderModal .modal-content,
#insuranceUpdateModal .modal-content,
#entityModal .modal-content,
#financialModal .modal-content {
    background-color: rgba(6, 18, 36, 0.10);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--tribe-border);
    border-radius: 12px;
    color: var(--tribe-text-main);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
.dashboard_wrapper .modal-header,
.widget_modal .modal-header {
    background-color: rgba(6, 18, 36, 0.20);
    border-bottom: 1px solid var(--tribe-border);
}
.dashboard_wrapper .modal-footer,
.widget_modal .modal-footer {
    background-color: rgba(6, 18, 36, 0.20);
    border-top: 1px solid var(--tribe-border);
}
.widget_modal .waiver-pdf-frame {
    width: 100%;
    height: 550px;
    border: 0;
    display: block;
}
.modal-backdrop,
.modal-backdrop.show {
    background-color: rgba(2, 10, 22, 0.50);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
/* --------------------------------------------------------------------------
   9. ACTION BUTTONS, TABLES & FLOATING CONTROLS DOCK
   -------------------------------------------------------------------------- */
.widget_table {
    width: 100%;
    border-collapse: collapse;
    color: var(--tribe-text-main);
}
.widget_table th {
    background-color: var(--tribe-input-bg);
    color: var(--tribe-gold);
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 10px 12px;
    border-bottom: 1px solid var(--tribe-border);
}
.widget_table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* Purged bare .tribe-portal .tribe_cta_btn override from tribe.css */
.hero-floating-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.hero-floating-btn {
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 30px;
    text-decoration: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-floating-btn-admin { background: rgba(245, 158, 11, 0.25); color: var(--tribe-gold); border-color: rgba(245, 158, 11, 0.5); }
.hero-floating-btn-tribe { background: rgba(59, 130, 246, 0.25); color: #3b82f6; border-color: rgba(59, 130, 246, 0.5); }
.hero-floating-btn-pro { background: rgba(16, 185, 129, 0.25); color: #10b981; border-color: rgba(16, 185, 129, 0.5); }
.hero-floating-btn-crew { background: linear-gradient(135deg, #0284c7, #0369a1); color: #ffffff; border: 1px solid rgba(56, 189, 248, 0.55); }

/* --------------------------------------------------------------------------
   10. V20 CERTIFICATION VAULT - OVERVIEW, EDIT FORMS & MEDIA BOUNDING ENGINE
   -------------------------------------------------------------------------- */
body .dashboard_wrapper .main-vault {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}
/* Page 1 & Page 2 Container (Uniform 10% Frosted Glass Engine) */
body .dashboard_wrapper .main-vault .dashboard_widget {
    background-color: rgba(6, 18, 36, 0.10);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--tribe-border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    color: var(--tribe-text-main);
    box-sizing: border-box;
}
/* Page 1: Overview Entry Row */
body .dashboard_wrapper .main-vault .address-entry-card {
    background-color: var(--tribe-input-bg);
    border: 1px solid var(--tribe-border);
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--tribe-text-main);
    box-sizing: border-box;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
body .dashboard_wrapper .main-vault .address-entry-card:hover {
    border-color: var(--tribe-gold);
    transform: translateY(-2px);
}
/* Page 1: Rectangular C-Card Viewport (72px x 45px - 1.6:1 Aspect Ratio) */
body .dashboard_wrapper .main-vault .vault-thumb-box {
    width: 72px;
    height: 45px;
    min-width: 72px;
    min-height: 45px;
    max-width: 72px;
    max-height: 45px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid var(--tribe-border-subtle);
    background-color: var(--tribe-input-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}
body .dashboard_wrapper .main-vault .vault-thumb-box img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
/* Page 2 & 3: Edit/Add Form Grids */
body .dashboard_wrapper .main-vault .edit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 850px) {
    body .dashboard_wrapper .main-vault .edit-grid {
        grid-template-columns: 1fr;
    }
}
body .dashboard_wrapper .main-vault .form-column,
body .dashboard_wrapper .main-vault .image-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    min-width: 0;
}
body .dashboard_wrapper .main-vault .image-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
/* Page 2: Bounded Media Preview Viewport (Max 140px Height) */
body .dashboard_wrapper .main-vault .vault-media-box {
    background-color: var(--tribe-input-bg);
    border: 1px solid var(--tribe-border-subtle);
    border-radius: 8px;
    height: 140px;
    max-height: 140px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 6px;
}
body .dashboard_wrapper .main-vault .vault-media-box img,
body .dashboard_wrapper .main-vault .img-preview,
body .dashboard_wrapper .main-vault .img-preview-conf {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}
/* Page 2 & 3: Form Field Boxes & Dark Input Locks */
body .dashboard_wrapper .main-vault .field-box {
    background-color: var(--tribe-input-bg);
    border: 1px solid var(--tribe-border-subtle);
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
body .dashboard_wrapper .main-vault .field-box label,
body .dashboard_wrapper .main-vault .field-box span {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--tribe-gold);
    letter-spacing: 0.5px;
    margin: 0;
}
body .dashboard_wrapper .main-vault .vault-select,
body .dashboard_wrapper .main-vault .field-box input[type="text"],
body .dashboard_wrapper .main-vault .field-box input[type="date"],
body .dashboard_wrapper .main-vault .field-box input[type="file"],
body .dashboard_wrapper .main-vault .field-box select {
    background-color: var(--tribe-input-bg);
    color: var(--tribe-text-main);
    border: 1px solid var(--tribe-border-subtle);
    border-radius: 6px;
    padding: 8px 12px;
    width: 100%;
    box-sizing: border-box;
    font-size: 0.9rem;
}
body .dashboard_wrapper .main-vault select option,
body .dashboard_wrapper .main-vault .vault-select option {
    background-color: var(--tribe-input-bg);
    color: var(--tribe-text-main);
}
body .dashboard_wrapper .main-vault .vault-select:focus,
body .dashboard_wrapper .main-vault .field-box input:focus,
body .dashboard_wrapper .main-vault .field-box select:focus {
    background-color: #0b111e;
    color: #ffffff;
    border-color: var(--tribe-gold);
    outline: none;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}
body .dashboard_wrapper .main-vault .vault_actions_row {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    width: 100%;
}
body .dashboard_wrapper .main-vault .vault_cancel_btn {
    background-color: var(--tribe-card-bg);
    color: var(--tribe-text-muted);
    border: 1px solid var(--tribe-border-subtle);
    flex: 1;
    text-align: center;
    text-decoration: none;
}


/* V20 TRIBE GHOST & TOGGLE BUTTON STANDARD */
.tribe-portal .btn-action-ghost,
.btn-tribe-toggle {
    background: transparent;
    border: 1px solid var(--tribe-border);
    color: var(--tribe-gold);
    transition: all 0.3s ease;
}
.tribe-portal .btn-action-ghost:hover,
.btn-tribe-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--tribe-text-main);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   11. INSTRUCTOR & GUIDE COMMUNICATIONS (UNIFIED CUSTOMER & PRO INBOX)
   -------------------------------------------------------------------------- */
#widget_customer_communications .comm-scroll-tray,
#widget-pro-communications .comm-scroll-tray {
    max-height: 480px;
    overflow-y: auto;
}

#widget_customer_communications .comm_message_card,
#widget-pro-communications .comm_message_card {
    background-color: var(--tribe-input-bg);
    border: 1px solid var(--tribe-border);
    border-radius: 8px;
    height: auto;
    min-height: auto;
    overflow: visible;
}

#widget_customer_communications .comm-details-container,
#widget-pro-communications .comm-details-container {
    background-color: var(--tribe-card-bg);
    border: 1px solid var(--tribe-border-subtle);
    border-radius: 6px;
    word-break: break-word;
}

#widget_customer_communications .comm-details-text,
#widget-pro-communications .comm-details-text {
    white-space: pre-line;
    word-break: break-word;
}

#widget_customer_communications .comm-textarea,
#widget-pro-communications .comm-textarea {
    background-color: var(--tribe-card-bg);
    border: 1px solid var(--tribe-border-subtle);
    color: var(--tribe-text-main);
}

#widget_customer_communications .comm-textarea:focus,
#widget-pro-communications .comm-textarea:focus {
    background-color: var(--tribe-bg);
    border-color: var(--tribe-gold);
    color: var(--tribe-text-main);
    outline: none;
}

#widget_customer_communications .badge-comm-alert,
#widget-pro-communications .badge-comm-alert {
    background-color: var(--tribe-gold);
    color: var(--tribe-bg);
}

#widget_customer_communications .badge-comm-total,
#widget-pro-communications .badge-comm-total {
    background: transparent;
    border: 1px solid var(--tribe-gold);
    color: var(--tribe-gold);
}

#widget_customer_communications .badge-comm-vip,
#widget-pro-communications .badge-comm-vip {
    background-color: var(--tribe-gold);
    color: var(--tribe-bg);
}

#widget_customer_communications .badge-comm-direct,
#widget-pro-communications .badge-comm-direct {
    background-color: var(--tribe-border);
    color: var(--tribe-text-main);
}

#widget_customer_communications .badge-comm-pending,
#widget-pro-communications .badge-comm-pending {
    background-color: var(--tribe-gold);
    color: var(--tribe-bg);
}

#widget_customer_communications .badge-comm-answered,
#widget-pro-communications .badge-comm-answered {
    background-color: var(--tribe-btn-save);
    color: var(--tribe-text-main);
}
/* --------------------------------------------------------------------------
   12. ACTIVE BUDDY RADAR WIDGET (V20 SCOPED TOKENS)
   -------------------------------------------------------------------------- */
#buddy_radar_card {
    position: relative;
}

#buddy_radar_card .radar-scroll-tray {
    max-height: 360px;
    overflow-y: auto;
}

#buddy_radar_card .radar-search-dropdown {
    max-height: 220px;
    overflow-y: auto;
    z-index: 5;
    background-color: var(--tribe-input-bg);
    border: 1px solid var(--tribe-border-subtle);
}

#buddy_radar_card .radar-avatar-sm {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    object-fit: cover;
}

#buddy_radar_card .radar-avatar-md {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    object-fit: cover;
}

#buddy_radar_card .radar-qr-overlay {
    z-index: 10;
    background-color: var(--tribe-bg);
}

#buddy_radar_card .radar-qr-img {
    display: block;
    width: 150px;
    height: 150px;
}

#buddy_radar_card .btn-radar-disconnect {
    background: transparent;
    border: 1px solid var(--tribe-border-subtle);
    color: var(--tribe-text-main);
    transition: border-color 0.2s ease, color 0.2s ease;
}

#buddy_radar_card .btn-radar-disconnect:hover {
    border-color: var(--tribe-btn-danger);
    color: var(--tribe-btn-danger);
}
#buddy_radar_card .btn-radar-visibility .radar-state-hover {
    display: none;
}

#buddy_radar_card .btn-radar-visibility:hover .radar-state-default {
    display: none;
}

#buddy_radar_card .btn-radar-visibility:hover .radar-state-hover {
    display: inline;
}/* V20 PRO TRAINING RESOURCES MAP CONTAINER */
.pro_resource_list_scroll {
    max-height: 240px;
    overflow-y: auto;
}
.pro_resource_map_viewport {
    height: 400px;
    min-height: 400px;
    width: 100%;
    display: block;
    position: relative;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    transition: height 0.2s ease-in-out;
}
.pro_resource_map_viewport.map_expanded {
    height: 580px;
}
.pro_lat_lng_input {
    width: 85px;
}
.pro_resource_hero_preview {
    max-height: 160px;
    object-fit: cover;
    border: 1px solid rgba(212, 175, 55, 0.35);
}
/* V20 PRO & TRIBE ROSTER EQUIPMENT & MESSAGING TOKENS (100% :root DRIVEN) */
html body.tribe-portal .badge-roster-count,
html body .badge-roster-count {
    background-color: var(--tribe-input-bg);
    border: 1px solid var(--tribe-gold);
    color: var(--tribe-gold);
}
html body.tribe-portal .badge-rental-gear-item,
html body .badge-rental-gear-item {
    background-color: var(--tribe-input-bg);
    border: 1px solid var(--tribe-border-subtle);
    color: var(--tribe-text-main);
    font-size: var(--tribe-font-sm);
    font-weight: 400;
}
html body.tribe-portal .roster-chat-tray,
html body .roster-chat-tray {
    max-height: 180px;
    overflow-y: auto;
    background-color: var(--tribe-input-bg);
    border: 1px solid var(--tribe-border-subtle);
}
html body.tribe-portal .roster-chat-bubble-pro,
html body .roster-chat-bubble-pro {
    max-width: 88%;
    background-color: var(--tribe-card-bg);
    border: 1px solid var(--tribe-gold);
}
html body.tribe-portal .roster-chat-bubble-diver,
html body .roster-chat-bubble-diver {
    max-width: 88%;
    background-color: var(--tribe-card-bg);
    border: 1px solid var(--tribe-border-subtle);
}
html body.tribe-portal .roster-chat-timestamp,
html body .roster-chat-timestamp {
    font-size: var(--tribe-font-2xs);
    color: var(--tribe-text-muted);
}
html body.tribe-portal .widget_diver_avatar_icon,
html body .widget_diver_avatar_icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--tribe-input-bg);
    border: 1px solid var(--tribe-gold);
    color: var(--tribe-gold);
}
/* V20 UPCOMING CHARTERS & MODAL TOKENS (100% :root DRIVEN) */
html body.tribe-portal .charter-ext-link-icon,
html body .charter-ext-link-icon {
    font-size: var(--tribe-font-xs);
    color: var(--tribe-gold);
}
html body.tribe-portal .charter-action-btn-sm,
html body .charter-action-btn-sm {
    font-size: var(--tribe-font-xs);
    letter-spacing: 0.5px;
}
html body.tribe-portal .charter-waiver-row-box,
html body .charter-waiver-row-box {
    background-color: var(--tribe-glass-bg);
    border: 1px solid var(--tribe-border);
}
html body.tribe-portal .charter-guide-alert-box,
html body .charter-guide-alert-box {
    background-color: var(--tribe-glass-bg);
    border: 1px solid var(--tribe-border);
}
html body.tribe-portal .charter-guide-chat-drawer,
html body .charter-guide-chat-drawer {
    background-color: var(--tribe-input-bg);
    border: 1px solid var(--tribe-border-subtle);
}
html body.tribe-portal .cust-charter-chat-tray,
html body .cust-charter-chat-tray {
    max-height: 200px;
    overflow-y: auto;
}
html body.tribe-portal .charter-modal-shell,
html body .charter-modal-shell {
    background-color: var(--tribe-card-bg);
    border: 2px solid var(--tribe-gold);
    color: var(--tribe-text-main);
}
html body.tribe-portal .charter-modal-header-bar,
html body .charter-modal-header-bar {
    background-color: var(--tribe-input-bg);
    border-bottom: 1px solid var(--tribe-border-subtle);
}
html body.tribe-portal .charter-pdf-viewport-body,
html body .charter-pdf-viewport-body {
    background-color: var(--tribe-bg);
}
html body.tribe-portal .charter-pdf-iframe,
html body .charter-pdf-iframe {
    height: 550px;
    border: 0;
}
html body.tribe-portal .charter-file-input,
html body .charter-file-input {
    background-color: var(--tribe-input-bg);
    color: var(--tribe-text-main);
    border: 1px solid var(--tribe-border-subtle);
}
html body.tribe-portal .charter-legal-affirmation,
html body .charter-legal-affirmation {
    font-size: var(--tribe-font-2xs);
    line-height: 1.3;
    font-style: italic;
}
/* --------------------------------------------------------------------------
   V20 Scoped Pro Course Scheduler & Suggestion Overlay
   -------------------------------------------------------------------------- */
.dashboard_wrapper .pos-rel {
    position: relative;
}
.dashboard_wrapper .suggestion-overlay,
.dashboard_wrapper .smart-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background-color: var(--tribe-input-bg);
    border: 1px solid var(--tribe-gold);
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.85);
    z-index: 3000;
    display: none;
    max-height: 240px;
    overflow-y: auto;
}
.dashboard_wrapper .suggestion-item,
.dashboard_wrapper .smart-item {
    padding: 10px 12px;
    color: var(--tribe-text-main);
    font-size: 0.82rem;
    cursor: pointer;
    border-bottom: 1px solid var(--tribe-border-subtle);
    transition: background-color 0.15s ease, color 0.15s ease;
}
.dashboard_wrapper .suggestion-item:last-child,
.dashboard_wrapper .smart-item:last-child {
    border-bottom: none;
}
.dashboard_wrapper .suggestion-item:hover,
.dashboard_wrapper .smart-item:hover {
    background-color: var(--tribe-card-bg);
    color: var(--tribe-gold);
}
.dashboard_wrapper .lane-btn {
    background-color: var(--tribe-input-bg);
    color: var(--tribe-text-muted);
    border: 1px solid var(--tribe-border-subtle);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}
.dashboard_wrapper .lane-btn.active,
.dashboard_wrapper .lane-btn:hover {
    background-color: rgba(245, 158, 11, 0.2);
    color: var(--tribe-gold);
    border-color: var(--tribe-gold);
}
.dashboard_wrapper .experience-slot {
    background-color: rgba(6, 18, 36, 0.55);
    border: 1px solid var(--tribe-border-subtle);
    border-radius: 8px;
}
.dashboard_wrapper .experience-slot.slot-active-gold {
    border: 2px solid var(--tribe-gold);
}
.dashboard_wrapper .slot-disabled-pane {
    opacity: 0.55;
    pointer-events: none;
}
/* --------------------------------------------------------------------------
   TRIBE MEMBERSHIP TIERS & LOYALTY REWARDS (100% TOKEN-DRIVEN & SKINNABLE)
   -------------------------------------------------------------------------- */
.dashboard_wrapper .tier-card-current {
    border-color: var(--tribe-gold);
}
.dashboard_wrapper .tier-card-bronze {
    border-top: 4px solid var(--tribe-tier-bronze);
}
.dashboard_wrapper .text-tier-bronze {
    color: var(--tribe-tier-bronze);
}
.dashboard_wrapper .tier-card-silver {
    border-top: 4px solid var(--tribe-tier-silver);
}
.dashboard_wrapper .text-tier-silver {
    color: var(--tribe-tier-silver);
}
.dashboard_wrapper .tier-card-gold {
    border-top: 4px solid var(--tribe-tier-gold);
}
.dashboard_wrapper .text-tier-gold {
    color: var(--tribe-tier-gold);
}
.dashboard_wrapper .tier-card-platinum {
    border-top: 4px solid var(--tribe-tier-platinum);
}
.dashboard_wrapper .text-tier-platinum {
    color: var(--tribe-tier-platinum);
}
.dashboard_wrapper .badge-tribe-status {
    background: var(--tribe-input-bg);
    border: 1px solid var(--tribe-btn-save);
    color: var(--tribe-btn-save);
    font-size: var(--tribe-font-xs);
}
.dashboard_wrapper .loyalty-points-pill {
    background: var(--tribe-input-bg);
    border: 1px solid var(--tribe-gold);
    color: var(--tribe-gold);
    font-size: var(--tribe-font-sm);
}
.dashboard_wrapper .membership-intro-copy {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--tribe-text-main);
}
.dashboard_wrapper .membership-tier-list {
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--tribe-text-main);
}
.dashboard_wrapper .membership-policy-links a {
    color: var(--tribe-text-muted);
    text-decoration: none;
    font-size: var(--tribe-font-sm);
    transition: color 0.15s ease;
}
.dashboard_wrapper .membership-policy-links a:hover {
    color: var(--tribe-gold);
    text-decoration: underline;
}
.dashboard_wrapper .membership-agreement-modal-body {
    max-height: 70vh;
    overflow-y: auto;
    font-size: 0.98rem;
    line-height: 1.65;
}

.dashboard_wrapper .comm-details-text {
    white-space: pre-wrap;
}
/* Pro Dispatch Radar Partner Affinity Matrix */
.dashboard_wrapper .radar-partner-drawer {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.dashboard_wrapper .radar-partner-row {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.dashboard_wrapper .radar-partner-row.is-blocked {
    border-color: rgba(220, 53, 69, 0.45);
    background: rgba(220, 53, 69, 0.08);
}/* Pro Dispatch Radar Partner Visibility & Reviews Matrix */
#widget-pro-duty-status .radar-partner-drawer {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
}
#widget-pro-duty-status .radar-partner-scroll-list {
    max-height: 360px;
    overflow-y: auto;
    padding-right: 4px;
}
#widget-pro-duty-status .radar-partner-row {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
}
#widget-pro-duty-status .radar-partner-row.is-blocked {
    border-color: rgba(220, 53, 69, 0.55);
    background: rgba(220, 53, 69, 0.10);
}
#widget-pro-duty-status .radar-status-pill-open {
    background: rgba(25, 135, 84, 0.25);
    border: 1px solid #2ecc71;
    color: #2ecc71;
}
#widget-pro-duty-status .radar-status-pill-hidden {
    background: rgba(220, 53, 69, 0.25);
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
}
#widget-pro-duty-status .radar-btn-yes.is-active {
    background: #198754;
    border: 1px solid #2ecc71;
    color: #ffffff;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.35);
}
#widget-pro-duty-status .radar-btn-no.is-active {
    background: #dc3545;
    border: 1px solid #ff6b6b;
    color: #ffffff;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.35);
}
#widget-pro-duty-status .radar-btn-review {
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.55);
    color: #f5c542;
}
#widget-pro-duty-status .radar-btn-review:hover,
#widget-pro-duty-status .radar-btn-review.is-open {
    background: rgba(212, 175, 55, 0.32);
    border-color: #f5c542;
    color: #ffffff;
}
#widget-pro-duty-status .partner-review-header-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #f5c542;
    text-transform: uppercase;
}
#widget-pro-duty-status .partner-reason-select optgroup {
    font-weight: 700;
    color: #f5c542;
    background: #111822;
}
#widget-pro-duty-status .partner-reason-select option {
    font-weight: 400;
    color: #ffffff;
    background: #16202c;
}
#widget-pro-duty-status .partner-feedback-textarea {
    width: 100%;
    display: block;
    min-height: 80px;
    resize: vertical;
}

/* =========================================================================
   CAPTAIN & DIVEMASTER VERTICAL PHONE DECK HUB (BIG TOUCH TARGETS)
   ========================================================================= */
.crew_phone_container {
    max-width: 580px;
    margin: 0 auto;
}
.crew_phone_stage_btn {
    display: block;
    width: 100%;
    padding: 1.15rem 1rem;
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 12px;
    border: 2px solid var(--tribe-gold);
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #061224;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
    text-align: center;
}
.crew_phone_confirm_btn {
    display: block;
    width: 100%;
    padding: 0.95rem 0.75rem;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 10px;
    text-align: center;
}
.crew_phone_green_banner {
    background: rgba(16, 185, 129, 0.22);
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}
.crew_face_card {
    background: rgba(6, 18, 36, 0.78);
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 0.75rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.crew_face_card_onboard {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.14);
}
.crew_face_card_inwater {
    border-color: #38bdf8;
    background: rgba(14, 165, 233, 0.22);
}
.crew_face_card_stayed {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.15);
}
.crew_face_card_hold {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.18);
}
.crew_face_avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--tribe-gold);
    margin: 0 auto 0.5rem auto;
    display: block;
}
.crew_face_avatar_placeholder {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 3px solid var(--tribe-gold);
    margin: 0 auto 0.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--tribe-gold);
}
.crew_tap_btn {
    display: block;
    width: 100%;
    padding: 0.75rem 0.5rem;
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 10px;
    margin-top: 0.4rem;
}
html body.tribe-portal .badge-tribe-status {
    background: var(--tribe-surface-dark);
    color: var(--brand-gold);
    border: 1px solid var(--brand-gold);
    letter-spacing: 0.4px;
}
html body.tribe-portal .tribe-affiliation-row {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.65rem;
    border-radius: var(--tribe-radius-sm);
    background: var(--tribe-surface-dark);
    border: 1px solid var(--tribe-border);
}
html body.tribe-portal .tribe-affiliation-logo {
    height: 26px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
    display: block;
}

/* Tribe Membership Status Pill & Affiliation Badge */
.badge-tribe-status,
.dashboard_widget .badge-tribe-status {
    background-color: #081830 !important;
    color: #f59e0b !important;
    border: 1px solid #f59e0b !important;
    letter-spacing: 0.4px;
}
.tribe-affiliation-row,
.dashboard_widget .tribe-affiliation-row {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    background-color: #081830;
    border: 1px solid rgba(245, 158, 11, 0.45);
}
.tribe-affiliation-logo,
.dashboard_widget img.tribe-affiliation-logo {
    height: 28px !important;
    max-height: 28px !important;
    width: auto !important;
    max-width: 110px !important;
    object-fit: contain !important;
    display: block;
}

/* Tribe Membership Status Pill & Affiliation Badge */
.badge-tribe-status,
.dashboard_widget .badge-tribe-status {
    background-color: #081830 !important;
    color: #f59e0b !important;
    border: 1px solid #f59e0b !important;
    letter-spacing: 0.4px;
}
.tribe-affiliation-row,
.dashboard_widget .tribe-affiliation-row {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    background-color: #081830;
    border: 1px solid rgba(245, 158, 11, 0.45);
}
.tribe-affiliation-logo,
.dashboard_widget img.tribe-affiliation-logo {
    height: 28px !important;
    max-height: 28px !important;
    width: auto !important;
    max-width: 110px !important;
    object-fit: contain !important;
    display: block;
}

/* High-Visibility Onboarding Check Icons & Item Pills */
.onboarding-check-done {
    color: #22c55e !important;
    font-size: 1rem !important;
    filter: drop-shadow(0 0 4px rgba(34, 197, 94, 0.35));
}
.onboarding-check-warn {
    color: #f59e0b !important;
    font-size: 1rem !important;
}
.onboarding-check-req {
    color: #ef4444 !important;
    font-size: 0.9rem !important;
}
.onboarding-subpill-ok {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(34, 197, 94, 0.16);
    border: 1px solid #22c55e;
    color: #4ade80;
    font-size: 0.7rem;
    font-weight: 700;
}
.onboarding-subpill-missing {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.6);
    color: #fca5a5;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Larger Tribe Affiliation Badge & Logo in Annual Membership Widget */
.tribe-affiliation-row,
.dashboard_widget .tribe-affiliation-row {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.4rem 0.9rem !important;
    border-radius: 8px !important;
    background-color: #081830 !important;
    border: 1px solid #f59e0b !important;
}
.tribe-affiliation-logo,
.dashboard_widget img.tribe-affiliation-logo {
    height: 44px !important;
    max-height: 44px !important;
    width: auto !important;
    max-width: 165px !important;
    object-fit: contain !important;
    display: block !important;
}
.tribe-affiliation-title {
    font-size: 1rem !important;
    letter-spacing: 0.6px !important;
}

/* Ensure Pro Course Scheduler dropdowns (.smart-list / .suggestion-overlay) never clip behind session rows or buttons */
html body.tribe-portal .dashboard_wrapper #widget-pro-course-scheduler,
html body.tribe-portal .dashboard_wrapper #widget-pro-course-scheduler .widget_form_scroll,
html body.tribe-portal .dashboard_wrapper .experience-slot,
html body.tribe-portal .dashboard_wrapper .session-row,
.dashboard_wrapper #widget-pro-course-scheduler,
.dashboard_wrapper #widget-pro-course-scheduler .widget_form_scroll,
.dashboard_wrapper .experience-slot,
.dashboard_wrapper .session-row {
    overflow: visible;
}
html body.tribe-portal .dashboard_wrapper .session-row:focus-within,
html body.tribe-portal .dashboard_wrapper .pos-rel:focus-within,
.dashboard_wrapper .session-row:focus-within,
.dashboard_wrapper .pos-rel:focus-within {
    z-index: 3500;
    position: relative;
}
/* v2-weight-select-fit */
select.vault-select, #weight_type, .guest-weight-type {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    text-overflow: ellipsis;
}
#rental_matrix_wrapper > div, #rental_matrix_wrapper .col-md-6 {
    min-width: 0;
}
/* === V20 PRO COURSE MANAGEMENT HUB & TAB TOKENS === */
html body.tribe-portal .dashboard_wrapper .widget_tab_nav.nav-tabs,
.dashboard_wrapper .widget_tab_nav.nav-tabs {
    border-bottom: 1px solid var(--tribe-border);
    background-color: var(--tribe-input-bg);
    padding: 6px 12px 0;
    gap: 6px;
}
html body.tribe-portal .dashboard_wrapper .widget_tab_nav.nav-tabs .nav-link.pro-tab-link,
.dashboard_wrapper .widget_tab_nav.nav-tabs .nav-link.pro-tab-link {
    background-color: transparent;
    color: var(--tribe-text-muted);
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
html body.tribe-portal .dashboard_wrapper .widget_tab_nav.nav-tabs .nav-link.pro-tab-link:hover,
.dashboard_wrapper .widget_tab_nav.nav-tabs .nav-link.pro-tab-link:hover {
    background-color: var(--tribe-card-bg);
    color: var(--tribe-text-main);
    border-color: var(--tribe-border);
}
html body.tribe-portal .dashboard_wrapper .widget_tab_nav.nav-tabs .nav-link.pro-tab-link.active,
.dashboard_wrapper .widget_tab_nav.nav-tabs .nav-link.pro-tab-link.active {
    background-color: var(--tribe-btn-action);
    color: var(--tribe-text-main);
    border: 1px solid var(--tribe-gold);
    border-bottom-color: var(--tribe-btn-action);
    font-weight: 800;
}
html body.tribe-portal .dashboard_wrapper #widget-pro-course-scheduler .experience-slot .field-box > span,
html body.tribe-portal .dashboard_wrapper #widget-pro-course-scheduler .experience-slot label,
html body.tribe-portal .dashboard_wrapper #widget-pro-course-scheduler .session-row label,
.dashboard_wrapper #widget-pro-course-scheduler .experience-slot .field-box > span,
.dashboard_wrapper #widget-pro-course-scheduler .experience-slot label,
.dashboard_wrapper #widget-pro-course-scheduler .session-row label {
    color: var(--tribe-text-main);
    font-weight: 700;
}
/* V20 PRO ACTIVE STUDENTS FLAT SUBPANELS, BADGES & BOAT CHIPS (LOCK 9, 10, 14) */
html body.tribe-portal .pro-flat-subpanel {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--tribe-border-subtle);
    border-radius: var(--tribe-radius-sm);
    color: var(--tribe-text-main);
}
html body.tribe-portal .pro-flat-subpanel-locked {
    border-color: var(--tribe-btn-save);
}
html body.tribe-portal .pro-flat-subpanel-full {
    border-color: var(--tribe-btn-danger);
}
html body.tribe-portal .pro-flat-subpanel-pending {
    border-color: var(--tribe-gold);
}
html body.tribe-portal .pro-hairline-bottom {
    border-bottom: 1px solid var(--tribe-border-subtle);
}
html body.tribe-portal .pro-hairline-top {
    border-top: 1px solid var(--tribe-border-subtle);
}
html body.tribe-portal .badge-pro-slot {
    background-color: var(--tribe-input-bg);
    border: 1px solid var(--tribe-border-subtle);
    color: var(--tribe-text-main);
}
html body.tribe-portal .badge-pro-open {
    background-color: var(--tribe-input-bg);
    border: 1px solid var(--tribe-info);
    color: var(--tribe-info);
}
html body.tribe-portal .pro-boat-option-chip {
    background-color: var(--tribe-input-bg);
    border: 1px solid var(--tribe-border-subtle);
    border-radius: var(--tribe-radius-sm);
    color: var(--tribe-text-main);
}
html body.tribe-portal .pro-boat-option-chip-tentative {
    border-color: var(--tribe-gold);
}
html body.tribe-portal .pro-muted-city {
    color: var(--tribe-text-muted);
}
/* V20 TRIBE ONBOARDING CHECKLIST CALLOUT & COMPLETION BANNER (LOCK 9, 10, 14) */
html body.tribe-portal .tribe-onboard-callout {
    background-color: var(--tribe-input-bg);
    border: 1px solid var(--tribe-gold);
    border-radius: var(--tribe-radius-sm);
    color: var(--tribe-text-main);
}
html body.tribe-portal .tribe-onboard-congrats-banner {
    background-color: var(--tribe-surface-dark);
    border: 1px solid var(--tribe-btn-save);
}
html body.tribe-portal .tribe-muted-note {
    color: var(--tribe-text-muted);
}
/* V20 PRO ACTIVE STUDENTS CLASS-GROUPED 2-COLUMN LAYOUT & GREEN ACTIVE BADGE (LOCK 9, 10, 14) */
html body.tribe-portal .badge-pro-active-green {
    background-color: var(--tribe-btn-save);
    color: var(--tribe-text-main);
    border: 1px solid var(--tribe-btn-save);
}
html body.tribe-portal .pro-class-group-card {
    background-color: var(--tribe-card-bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--tribe-border);
    border-radius: var(--tribe-radius-lg);
    color: var(--tribe-text-main);
}
html body.tribe-portal .pro-student-subcard {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--tribe-border-subtle);
    border-radius: var(--tribe-radius-sm);
    color: var(--tribe-text-main);
}
html body.tribe-portal .pro-boat-column-panel {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--tribe-border);
    border-radius: var(--tribe-radius-sm);
    color: var(--tribe-text-main);
}
html body.tribe-portal .pro-broadcast-drawer {
    background-color: var(--tribe-surface-dark);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--tribe-gold);
    border-radius: var(--tribe-radius-sm);
    color: var(--tribe-text-main);
}
/* V20 PRO ACTIVE STUDENTS OCEAN-NAVY ELEVATION & AVATAR (ZERO BLACK BACKGROUNDS) */
html body.tribe-portal #widget-pro-active-students .pro-class-group-card {
    background-color: var(--tribe-card-bg);
    border: 1px solid var(--tribe-border);
}
html body.tribe-portal #widget-pro-active-students .pro-student-subcard,
html body.tribe-portal #widget-pro-active-students .pro-boat-column-panel {
    background-color: var(--tribe-panel-elevated);
    border: 1px solid var(--tribe-border-subtle);
}
html body.tribe-portal #widget-pro-active-students .pro-flat-subpanel {
    background-color: var(--tribe-card-bg);
    border: 1px solid var(--tribe-border-subtle);
}
html body.tribe-portal #widget-pro-active-students .pro-boat-option-chip {
    background-color: var(--tribe-chip-navy);
    border: 1px solid var(--tribe-border-subtle);
    border-radius: var(--tribe-radius-sm);
}
html body.tribe-portal #widget-pro-active-students .pro-boat-option-chip-tentative {
    border-color: var(--tribe-gold);
}
html body.tribe-portal #widget-pro-active-students .roster-chat-tray,
html body.tribe-portal #widget-pro-active-students .pro-broadcast-drawer {
    background-color: var(--tribe-card-bg);
    border: 1px solid var(--tribe-border);
}
html body.tribe-portal .pro-student-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--tribe-gold);
    flex-shrink: 0;
}
html body.tribe-portal .pro-student-avatar-fallback {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--tribe-chip-navy);
    border: 2px solid var(--tribe-gold);
    color: var(--tribe-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--tribe-font-sm);
    flex-shrink: 0;
}
html body.tribe-portal #widget-pro-active-students .comm-textarea {
    background-color: var(--tribe-chip-navy);
    border: 1px solid var(--tribe-border-subtle);
    color: var(--tribe-text-main);
}
/* V20 STUDENT RECORD FOLDER MODAL & WORKSPACE (OCEAN-NAVY, ZERO BLACK) */
html body.tribe-portal #studentFolderModal .modal-content {
    background-color: var(--tribe-card-bg);
    border: 1px solid var(--tribe-border);
    color: var(--tribe-text-main);
}
html body.tribe-portal #studentFolderModal .modal-header {
    background-color: var(--tribe-panel-elevated);
    border-bottom: 1px solid var(--tribe-border-subtle);
}
html body.tribe-portal .pro-folder-workspace .nav-tabs {
    border-bottom: 1px solid var(--tribe-border-subtle);
}
html body.tribe-portal .pro-folder-workspace .nav-tabs .nav-link.active {
    background-color: var(--tribe-panel-elevated);
    border-bottom: 2px solid var(--tribe-gold);
    color: var(--tribe-gold);
}
html body.tribe-portal .pro-folder-card {
    background-color: var(--tribe-panel-elevated);
    border: 1px solid var(--tribe-border-subtle);
    border-radius: var(--tribe-radius-sm);
}
html body.tribe-portal .pro-folder-card-gold {
    background-color: var(--tribe-panel-elevated);
    border: 1px solid var(--tribe-border);
    border-radius: var(--tribe-radius-sm);
}
html body.tribe-portal .pro-folder-subcard {
    background-color: var(--tribe-chip-navy);
    border: 1px solid var(--tribe-border-subtle);
    border-radius: var(--tribe-radius-sm);
}
html body.tribe-portal .pro-folder-subcard-passed {
    background-color: var(--tribe-chip-navy);
    border: 1px solid var(--tribe-btn-save);
    border-radius: var(--tribe-radius-sm);
}
html body.tribe-portal .pro-folder-input {
    background-color: var(--tribe-chip-navy);
    border: 1px solid var(--tribe-border-subtle);
    color: var(--tribe-text-main);
}
html body.tribe-portal .pro-folder-table {
    color: var(--tribe-text-main);
    font-size: var(--tribe-font-sm);
}
html body.tribe-portal .pro-folder-table th,
html body.tribe-portal .pro-folder-table td {
    background-color: transparent;
    color: var(--tribe-text-main);
    border-bottom: 1px solid var(--tribe-border-subtle);
}
html body.tribe-portal .pro-folder-skills-scroll {
    max-height: 300px;
    overflow-y: auto;
}
html body.tribe-portal .pro-pointer {
    cursor: pointer;
}
html body.tribe-portal .pro-cert-input-min {
    min-width: 240px;
}
/* V20 CUSTOMER BOOKINGS HUB: COURSE CARD & RECEIPT MODAL (OCEAN-NAVY) */
html body .course-hub-subbox {
    background-color: var(--tribe-chip-navy);
    border: 1px solid var(--tribe-border-subtle);
    border-radius: var(--tribe-radius-sm);
}
html body .course-hub-divider {
    border-top: 1px solid var(--tribe-border-subtle);
}
html body .course-hub-modal .modal-content {
    background-color: var(--tribe-card-bg);
    border: 1px solid var(--tribe-border);
    color: var(--tribe-text-main);
}
html body .course-hub-modal .modal-header,
html body .course-hub-modal .modal-footer {
    background-color: var(--tribe-panel-elevated);
    border-color: var(--tribe-border-subtle);
}
/* V20 Dark Input for Course Hub & Quick Instructor Messenger */
.course-hub-input,
.course-hub-input:focus {
    background-color: rgba(8, 20, 38, 0.88);
    color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.45);
    box-shadow: none;
}
.course-hub-input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}
/* V20 ON-HOLD COURSE ACTION BANNER & PAYMENT / CANCEL MODALS (100% ROOT VARIABLE DRIVEN) */
html body.tribe-portal .tribe-top-alert-slot,
html body .dashboard_wrapper .tribe-top-alert-slot {
    margin-bottom: 1.5rem;
}
html body.tribe-portal .tribe-hold-banner,
html body .dashboard_wrapper .tribe-hold-banner {
    background: var(--tribe-glass-bg);
    backdrop-filter: blur(var(--tribe-glass-blur));
    -webkit-backdrop-filter: blur(var(--tribe-glass-blur));
    border: 1px solid var(--tribe-border);
    border-left: 4px solid var(--tribe-gold);
    border-radius: var(--tribe-radius-lg);
    box-shadow: var(--tribe-glass-shadow);
    color: var(--tribe-text-main);
}
html body.tribe-portal .tribe-hold-banner-cleared,
html body .dashboard_wrapper .tribe-hold-banner-cleared {
    border-left-color: var(--tribe-btn-save);
}
html body.tribe-portal .tribe-hold-status-pending,
html body .dashboard_wrapper .tribe-hold-status-pending {
    background-color: var(--tribe-panel-elevated);
    border: 1px solid var(--tribe-gold);
    border-radius: var(--tribe-radius-sm);
    color: var(--tribe-text-main);
}
html body.tribe-portal .tribe-hold-status-cleared,
html body .dashboard_wrapper .tribe-hold-status-cleared {
    background-color: var(--tribe-chip-navy);
    border: 1px solid var(--tribe-btn-save);
    border-radius: var(--tribe-radius-sm);
    color: var(--tribe-text-main);
}
html body.tribe-portal .tribe-hold-progress-chip,
html body .dashboard_wrapper .tribe-hold-progress-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    background-color: var(--tribe-chip-navy);
    border: 1px solid var(--tribe-border-subtle);
    border-radius: var(--tribe-radius-sm);
    color: var(--tribe-text-main);
    font-size: var(--tribe-font-xs);
}
html body.tribe-portal .tribe-hold-muted,
html body .dashboard_wrapper .tribe-hold-muted,
html body .course-hub-modal .tribe-hold-muted {
    color: var(--tribe-text-muted);
}
html body.tribe-portal .tribe-hold-amount-lg,
html body .dashboard_wrapper .tribe-hold-amount-lg,
html body .course-hub-modal .tribe-hold-amount-lg {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--tribe-gold);
}
html body.tribe-portal .tribe-hold-btn-pay,
html body .dashboard_wrapper .tribe-hold-btn-pay,
html body .course-hub-modal .tribe-hold-btn-pay {
    background-color: var(--tribe-gold);
    border: 1px solid var(--tribe-gold);
    color: var(--tribe-bg);
    font-weight: 800;
    border-radius: var(--tribe-radius-sm);
}
html body.tribe-portal .tribe-hold-btn-cleared,
html body .dashboard_wrapper .tribe-hold-btn-cleared {
    background-color: var(--tribe-btn-save);
    border: 1px solid var(--tribe-btn-save);
    color: var(--tribe-text-main);
    font-weight: 700;
    border-radius: var(--tribe-radius-sm);
}
html body.tribe-portal .tribe-hold-btn-cancel,
html body .dashboard_wrapper .tribe-hold-btn-cancel,
html body .course-hub-modal .tribe-hold-btn-cancel {
    background-color: transparent;
    border: 1px solid var(--tribe-btn-danger);
    color: var(--tribe-btn-danger);
    font-weight: 700;
    border-radius: var(--tribe-radius-sm);
}
html body .course-hub-modal .tribe-hold-cancel-warning {
    background-color: var(--tribe-panel-elevated);
    border: 1px solid var(--tribe-btn-danger);
    border-radius: var(--tribe-radius-sm);
    color: var(--tribe-text-main);
}
html body .course-hub-modal .tribe-hold-pay-option {
    background-color: var(--tribe-chip-navy);
    border: 1px solid var(--tribe-border-subtle);
    border-radius: var(--tribe-radius-sm);
    color: var(--tribe-text-main);
}
html body .course-hub-modal .tribe-hold-sandbox-bar {
    background-color: var(--tribe-panel-elevated);
    border: 1px dashed var(--tribe-gold);
    border-radius: var(--tribe-radius-sm);
    color: var(--tribe-text-main);
}
html body .course-hub-modal .tribe-stripe-vault-mount {
    background-color: var(--tribe-input-bg);
    border: 1px solid var(--tribe-border-subtle);
    border-radius: var(--tribe-radius-sm);
    color: var(--tribe-text-main);
    padding: 10px 12px;
}
html body .course-hub-modal .tribe-hold-modal-input {
    background-color: var(--tribe-input-bg);
    border: 1px solid var(--tribe-border-subtle);
    border-radius: var(--tribe-radius-sm);
    color: var(--tribe-text-main);
}
html body.tribe-portal .hero_video_box iframe,
html body .dashboard_wrapper .hero_video_box iframe {
    border: 0;
}
html body.tribe-portal .tribe-widget-empty-viewport,
html body .dashboard_wrapper .tribe-widget-empty-viewport {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--tribe-card-bg);
    color: var(--tribe-text-muted);
}
/* V20 PRO STUDENT FOLDER INLINE FEEDBACK & CONFIRMATION BARS (ZERO NATIVE BROWSER POPUPS) */
html body.tribe-portal .pro-folder-inline-banner {
    background-color: var(--tribe-panel-elevated);
    border: 1px solid var(--tribe-border);
    border-left: 4px solid var(--tribe-gold);
    border-radius: var(--tribe-radius-sm);
    color: var(--tribe-text-main);
}
html body.tribe-portal .pro-folder-inline-banner-success {
    border-color: var(--tribe-btn-save);
    border-left: 4px solid var(--tribe-btn-save);
}
html body.tribe-portal .pro-folder-inline-banner-error {
    border-color: var(--tribe-btn-danger);
    border-left: 4px solid var(--tribe-btn-danger);
}
html body.tribe-portal .pro-folder-inline-dialog {
    background-color: var(--tribe-panel-elevated);
    border: 1px solid var(--tribe-gold);
    border-radius: var(--tribe-radius-sm);
    box-shadow: var(--tribe-glass-shadow);
    color: var(--tribe-text-main);
}
html body.tribe-portal .pro-folder-btn-confirm {
    background-color: var(--tribe-gold);
    border: 1px solid var(--tribe-gold);
    color: var(--tribe-bg);
    font-weight: 800;
    border-radius: var(--tribe-radius-sm);
}
/* V20 SCOPED TRIBE & PRO 12PT (1REM) READABILITY FLOOR & E-LEARNING CODE PILL */
html body.tribe-portal small,
html body.tribe-portal .small,
html body.tribe-portal .extra-small,
html body.tribe-portal .badge,
html body.tribe-portal .btn-sm,
html body.tribe-portal .btn-xs,
html body.tribe-portal .form-control-sm,
html body.tribe-portal .form-select-sm,
html body .dashboard_wrapper small,
html body .dashboard_wrapper .small,
html body .dashboard_wrapper .extra-small,
html body .dashboard_wrapper .badge,
html body .dashboard_wrapper .btn-sm,
html body .dashboard_wrapper .btn-xs,
html body .dashboard_wrapper .form-control-sm,
html body .dashboard_wrapper .form-select-sm,
html body #studentFolderModal small,
html body #studentFolderModal .small,
html body #studentFolderModal .extra-small,
html body #studentFolderModal .badge,
html body #studentFolderModal .btn-sm,
html body #studentFolderModal .form-control-sm,
html body #studentFolderModal .form-select-sm {
    font-size: 1rem;
}
html body.tribe-portal .tribe-course-slot-pill,
html body .dashboard_wrapper .tribe-course-slot-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    background-color: var(--tribe-chip-navy);
    border: 1px solid var(--tribe-border);
    border-radius: var(--tribe-radius-sm);
    color: var(--tribe-text-main);
    font-size: 1rem;
    font-weight: 700;
}
html body.tribe-portal .tribe-elearning-code-pill,
html body .dashboard_wrapper .tribe-elearning-code-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.65rem;
    background-color: var(--tribe-panel-elevated);
    border: 1px solid var(--tribe-gold);
    border-radius: var(--tribe-radius-sm);
    color: var(--tribe-gold);
    font-size: 1rem;
    font-weight: 800;
}
/* V20 BOOKING HUB DARK NAVY SUBBOX */
html body #customer-courses-hub-section .course-hub-subbox {
    background-color: var(--tribe-panel-elevated);
    border: 1px solid var(--tribe-border);
    border-radius: var(--tribe-radius-sm);
}
/* V20 PRO STUDENT HUB TABS */
html body .pro-student-hub-tabs {
    --bs-nav-pills-link-active-bg: rgba(212, 175, 55, 0.18);
    --bs-nav-pills-link-active-color: var(--tribe-gold, #d4af37);
    --bs-nav-link-color: var(--tribe-text-muted, #cbd5e1);
    --bs-nav-link-hover-color: var(--tribe-text-main, #ffffff);
}
html body .pro-student-hub-tabs .nav-link {
    background-color: var(--tribe-panel-elevated, rgba(10, 25, 47, 0.78));
    border: 1px solid var(--tribe-border, rgba(212, 175, 55, 0.28));
    color: var(--tribe-text-muted, #cbd5e1);
    border-radius: var(--tribe-radius-sm, 6px);
}
html body .pro-student-hub-tabs .nav-link:hover,
html body .pro-student-hub-tabs .nav-link:focus {
    background-color: var(--tribe-panel-elevated, rgba(10, 25, 47, 0.92));
    border-color: var(--tribe-gold, #d4af37);
    color: var(--tribe-text-main, #ffffff);
}
html body .pro-student-hub-tabs .nav-link.active,
html body .pro-student-hub-tabs .show > .nav-link {
    background-color: rgba(212, 175, 55, 0.18);
    border-color: var(--tribe-gold, #d4af37);
    color: var(--tribe-gold, #d4af37);
}
/* V20 ACTIVE COURSE RESERVATION HELPERS */
.course-res-kicker { letter-spacing: 0.5px; }
.course-res-title { font-size: 1.4rem; }
.course-res-timeline-dot { left: -6px; top: 5px; width: 10px; height: 10px; }
.course-res-muted-line { opacity: 0.8; }
.course-res-meet-note { opacity: 0.8; line-height: 1.4; }
.course-res-waiver-title { line-height: 1.3; }
.course-res-modal-heading { letter-spacing: 2px; }
.course-res-pdf-frame { height: 550px; }
/* V20 DIVE WALLET & DARK GIFT CARD INPUT */
.tribe-wallet-stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}
.tribe-wallet-stat-value {
    font-size: 1.1rem;
    font-weight: 800;
}
.tribe-wallet-gift-box {
    background-color: rgba(10, 25, 47, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.25);
}
html body input.tribe-wallet-dark-input {
    background-color: #060f1e !important;
    color: #ffffff !important;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 6px;
    outline: none;
}
html body input.tribe-wallet-dark-input::placeholder {
    color: #94a3b8;
}
html body input.tribe-wallet-dark-input:focus {
    background-color: #09172e !important;
    color: #ffffff !important;
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}
.tribe-wallet-bookings-link {
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    border: 1px solid rgba(212, 175, 55, 0.28);
    padding: 12px 14px;
    border-radius: 8px;
    transition: border-color 0.2s ease;
}
.tribe-wallet-bookings-link:hover {
    border-color: #d4af37;
}
/* V20 FULL-PAGE DIGITAL LOGBOOK */
.tribe-logbook-gallery-tile {
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: transform 0.18s ease, border-color 0.18s ease;
}
.tribe-logbook-gallery-tile:hover {
    transform: translateY(-2px);
    border-color: #d4af37;
}
.tribe-logbook-gallery-img {
    height: 165px;
    object-fit: cover;
    display: block;
}
.tribe-logbook-photo-frame {
    border: 1px solid rgba(212, 175, 55, 0.45);
}
.tribe-logbook-entry-img {
    max-height: 230px;
    object-fit: cover;
    display: block;
}
