.gbh-login-prompt {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
}
.gbh-login-prompt a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
}

#gbh-artist-app, #gbh-admin-app {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    min-height: 200px;
}

/* Artist Submit Form */
#gbh-artist-app .form-group { margin-bottom: 15px; }
#gbh-artist-app .form-group label { display: block; font-weight: 600; margin-bottom: 5px; }
#gbh-artist-app .form-group input[type="text"], 
#gbh-artist-app .form-group input[type="url"], 
#gbh-artist-app .form-group textarea { width: 100%; padding: 8px; border: 1px solid #ddd; border-radius: 4px; }
#gbh-artist-app .gbh-inline-checkbox { display: flex; align-items: center; gap: 8px; font-weight: 400; margin-bottom: 12px; }
#gbh-artist-app .gbh-inline-checkbox input { width: auto; margin: 0; }
#gbh-artist-app select#genre { padding: 8px; border: 1px solid #ddd; border-radius: 4px; width: 100%; max-width: 260px; }
#gbh-artist-app input#genre-other { max-width: 260px; margin-top: 8px; }
#gbh-artist-app .rights-agreement { padding: 15px; background: #f5f5f5; border-radius: 4px; border-left: 4px solid #0073aa; }
#gbh-artist-app .rights-agreement h3 { margin-top: 0; }
#gbh-artist-app .rights-agreement label { font-weight: normal; }
#gbh-artist-app #submit-btn { background: #0073aa; color: #fff; padding: 10px 30px; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; }
#gbh-artist-app #submit-btn:disabled { background: #ccc; cursor: not-allowed; }
#gbh-artist-app .success { padding: 15px; background: #d4edda; border: 1px solid #c3e6cb; border-radius: 4px; color: #155724; margin: 10px 0; }
#gbh-artist-app .error { padding: 15px; background: #f8d7da; border: 1px solid #f5c6cb; border-radius: 4px; color: #721c24; margin: 10px 0; }

/* Completion notice fade-out (artist submit form + admin review console) */
#submission-result,
#gbh-decision-notice { transition: opacity 0.4s ease; opacity: 1; }
#submission-result.gbh-fade-out,
#gbh-decision-notice.gbh-fade-out { opacity: 0; }
#gbh-artist-app table { width: 100%; border-collapse: collapse; margin: 10px 0; }
#gbh-artist-app table th { background: #f1f1f1; padding: 8px; text-align: left; border-bottom: 2px solid #ddd; }
#gbh-artist-app table td { padding: 8px; border-bottom: 1px solid #eee; }

/* Progress Bar */
.progress-container {
    background: #f0f0f0;
    border-radius: 6px;
    padding: 4px;
    margin: 10px 0;
    overflow: hidden;
}
.progress-bar {
    height: 24px;
    background: #0073aa;
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}
.progress-label {
    font-size: 14px;
    color: #333;
    margin-top: 5px;
    text-align: center;
}

/* ============================================================
   ADMIN REVIEW — STATIC SIDEBAR + MAIN LAYOUT
   Page size is fixed. Nothing here ever toggles `display` — every
   element is always rendered; JS only ever disables/enables controls
   or swaps text/opacity, so nothing moves or resizes as data comes in.
   Muted, configurable palette via CSS custom properties.
   ============================================================ */
.gbh-review-shell {
    /* Theme applies a heavy text-shadow (inherited) to text throughout
       the page; reset it for this whole form rather than patching
       individual elements one at a time. */
    text-shadow: none;
}
.gbh-review-shell * {
    text-shadow: none;
}
.gbh-review-shell {
    --gbh-approve-color: #4a7c59;
    --gbh-approve-color-hover: #3d6849;
    --gbh-reject-color: #a85751;
    --gbh-reject-color-hover: #8f4742;
    --gbh-delete-color: #6b2c2c;
    --gbh-delete-fill-color: rgba(255,255,255,0.28);
    --gbh-subtle-color: #4a5568;
    --gbh-subtle-color-hover: #3a4657;
    --gbh-border-color: #dde1e6;
    --gbh-muted-text: #6c757d;
    --gbh-heading-text: #1e293b;
    /* Height of the information strip along the bottom of the console
       (audio analysis + unused submission data, side by side). Raise this
       if the right-hand panel is clipping lines; lower it to give the
       review list and player more room. */
    --gbh-bottom-height: 220px;

    /* Column: [ review list | tools + player + actions ] on top,
       [ audio analysis | unused submission data ] underneath.
       Total height follows the top row's content (the 16:9 player sets
       it), so nothing in the main column ever needs to scroll. */
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: auto;
    background: #fff;
    border: 1px solid var(--gbh-border-color);
    border-radius: 6px;
    overflow: hidden;
    font-size: 13px;
    color: var(--gbh-heading-text);
}

/* Folder confirmation gate — covers the whole console until local
   filing folders are verified writable for this session. Sits above
   everything else in the shell (sidebar, player, action buttons are
   all still present underneath but visually and functionally blocked). */
.gbh-folder-gate {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 41, 59, 0.85);
}
.gbh-folder-gate-box {
    width: 90%;
    max-width: 440px;
    background: #fff;
    border-radius: 6px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
.gbh-folder-gate-title {
    margin: 0 0 8px;
    font-size: 15px;
    color: var(--gbh-heading-text);
}
.gbh-folder-gate-copy {
    margin: 0 0 16px;
    font-size: 12.5px;
    color: var(--gbh-muted-text);
    line-height: 1.5;
}
.gbh-folder-gate-rows {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.gbh-folder-gate-row {
    font-size: 12.5px;
    padding: 6px 10px;
    border: 1px solid var(--gbh-border-color);
    border-radius: 4px;
}
.gbh-folder-gate-row-contents {
    margin-top: 4px;
    font-size: 11.5px;
    color: var(--gbh-muted-text, #6c757d);
    word-break: break-word;
}
/* The clickable status line itself, in both the startup gate and the
   persistent Local Filing panel — no separate button, this line IS the
   control. Underline on the folder name only hints it's interactive
   without turning the whole row into something that looks like a link. */
.gbh-folder-clickable {
    cursor: pointer;
    display: inline-block;
}
.gbh-folder-clickable:hover strong {
    text-decoration: underline;
}
.gbh-folder-clickable:hover {
    opacity: 0.85;
}
.gbh-btn-link {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    color: var(--gbh-approve-color, #2f7a4f);
    text-decoration: underline;
    cursor: pointer;
}
.gbh-btn-link:hover {
    opacity: 0.8;
}
.gbh-lf-contents {
    margin-top: 2px;
    font-size: 11px;
    color: var(--gbh-muted-text, #6c757d);
    word-break: break-word;
}
.gbh-folder-gate-box .gbh-btn {
    width: 100%;
}

/* Top row — review list on the left, tools/player/actions on the right.
   Its height comes from the main column (the 16:9 player sets it); the
   review list stretches to match and scrolls internally. */
.gbh-review-top {
    display: flex;
    flex: 1 1 auto;
    min-height: 420px;
    min-width: 0;
}

/* Sidebar — no more than 30% width, spreadsheet-like. It is position:
   relative with an absolutely-filled inner box so a long queue can never
   make the top row taller; the list scrolls inside whatever height the
   main column gives it. */
.gbh-sidebar {
    flex: 0 0 30%;
    max-width: 30%;
    position: relative;
    background: #f7f8fa;
    border-right: 1px solid var(--gbh-border-color);
    min-width: 0;
}
.gbh-sidebar-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
}
.gbh-sidebar-header {
    flex-shrink: 0;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gbh-muted-text);
    border-bottom: 1px solid var(--gbh-border-color);
    background: #eef0f3;
}
.gbh-sidebar-list {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}
.gbh-sidebar-ul { list-style: none; margin: 0; padding: 0; }
.gbh-sidebar-item {
    display: flex;
    flex-direction: column;
    padding: 7px 14px;
    border-left: 3px solid transparent;
    border-bottom: 1px solid #eceef1;
    cursor: pointer;
}
.gbh-sidebar-item:hover { background: #eef0f3; }
.gbh-sidebar-item-active { background: #e2e8f0; border-left-color: var(--gbh-subtle-color); }
.gbh-sidebar-artist { font-weight: 600; font-size: 12.5px; color: var(--gbh-heading-text); }
.gbh-sidebar-song { font-size: 12px; color: var(--gbh-muted-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gbh-sidebar-detail { font-size: 10.5px; color: var(--gbh-muted-text); opacity: 0.85; }
.gbh-sidebar-rights { font-style: italic; }

/* Main column — remaining 70% */
.gbh-main {
    flex: 1 1 70%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 12px 14px;
    overflow-y: auto;
}

/* Tools strip — fixed-size, grouped into columns, compact */
.gbh-tools-strip {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}
.gbh-tools-col {
    border: 1px solid var(--gbh-border-color);
    border-radius: 4px;
    background: #f7f8fa;
    padding: 6px 8px;
    min-width: 0;
}
.gbh-tools-label {
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--gbh-muted-text);
    margin-bottom: 3px;
}
.gbh-tools-body { display: flex; flex-direction: column; gap: 2px; }
.gbh-tools-row { font-size: 11.5px; line-height: 1.5; }
.gbh-repair-row { display: flex; justify-content: space-between; align-items: center; gap: 6px; }

/* Player — locked to 16:9 (1920x1080 ratio) at whatever width it has */
.gbh-player-wrap {
    flex-shrink: 0;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}
.gbh-player-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}
.gbh-player-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.gbh-player-placeholder.gbh-hidden { opacity: 0; }
.gbh-player-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 13px;
    background: rgba(0,0,0,0.55);
    padding: 10px 18px;
    border-radius: 4px;
    text-align: center;
    pointer-events: none;
    max-width: 80%;
}
.gbh-player-overlay-text:empty { display: none; }
.gbh-player-progress {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 12px;
    background: rgba(0,0,0,0.5);
    padding: 3px 12px;
    border-radius: 3px;
    pointer-events: none;
}
.gbh-player-progress:empty { display: none; }
.gbh-player-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 5px 0;
    background: rgba(0,0,0,0.35);
}
.gbh-ctl-btn {
    width: 26px;
    height: 22px;
    font-size: 18px !important;
    line-height: 1;
    border: none;
    border-radius: 3px;
    background: rgba(255,255,255,0.85);
    color: #222;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gbh-ctl-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.gbh-ctl-btn:hover:not(:disabled) { background: #fff; }

/* Action row — Load/Approve/Reject grouped tightly on the left (used
   constantly, so kept close together); Delete is deliberately set apart
   on the right, since it's a different, higher-consequence action.
   Buttons match the same small/compact style as the local-filing grant
   buttons — not meant to fill the reserved row height. */
.gbh-action-row {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 30px;
    max-height: 38px;
    padding: 6px 4px;
}
.gbh-btn-group { display: flex; gap: 6px; }
.gbh-btn {
    padding: 2px 8px !important;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 10.5px !important;
    font-weight: 500;
    cursor: pointer;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.gbh-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.gbh-btn-subtle { background: var(--gbh-subtle-color); }
.gbh-btn-subtle:hover:not(:disabled) { background: var(--gbh-subtle-color-hover); }
.gbh-btn-approve { background: var(--gbh-approve-color); }
.gbh-btn-approve:hover:not(:disabled) { background: var(--gbh-approve-color-hover); }
.gbh-btn-reject { background: var(--gbh-reject-color); }
.gbh-btn-reject:hover:not(:disabled) { background: var(--gbh-reject-color-hover); }
.gbh-btn-delete { background: var(--gbh-delete-color); }
.gbh-delete-fill {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 0%;
    background: var(--gbh-delete-fill-color);
    pointer-events: none;
}
.gbh-delete-label { position: relative; }

/* Bottom information strip — spans the full width of the console, below
   both the review list and the player. Two panels side by side, fixed
   height (see --gbh-bottom-height on .gbh-review-shell). */
.gbh-review-bottom {
    flex: 0 0 var(--gbh-bottom-height, 220px);
    box-sizing: border-box;
    height: var(--gbh-bottom-height, 220px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 14px;
    border-top: 1px solid var(--gbh-border-color);
    background: #fff;
}
.gbh-review-bottom > * { min-height: 0; min-width: 0; }

/* Feedback panel — fixed height, overflow hidden by design (content
   pushed off the top is gone, not scrollable, not persisted) */
.gbh-feedback-panel {
    min-height: 0;
    min-width: 0;
    border: 1px solid var(--gbh-border-color);
    border-radius: 4px;
    background: #f7f8fa;
    padding: 6px 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.gbh-feedback-body { overflow: hidden; display: flex; flex-direction: column; gap: 1px; }
.gbh-feedback-line { font-size: 11.5px; color: var(--gbh-heading-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Audio analysis panel — review-time peak / -3 dBFS adjustment record.
   Deliberately compact: one or two lines for the measurement, one for
   the clip verdict, plus an optional retry button on save failure. */
.gbh-audio-panel {
    border: 1px solid var(--gbh-border-color);
    border-radius: 4px;
    background: #f7f8fa;
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-height: 0;
    min-width: 0;
    overflow-y: auto;
}
.gbh-audio-body { display: flex; flex-direction: column; gap: 2px; }
.gbh-audio-line { font-size: 11.5px; color: var(--gbh-heading-text); }
.gbh-audio-ok { color: var(--gbh-approve-color, #2f7a4f); }
.gbh-audio-warn { color: #9a6b00; font-weight: 600; }
.gbh-audio-warn-heavy { color: var(--gbh-reject-color, #a85751); font-weight: 700; }
.gbh-audio-retry { font-size: 10.5px !important; padding: 2px 8px !important; align-self: flex-start; }

.gbh-muted { color: var(--gbh-muted-text, #6c757d); font-style: italic; }
.gbh-error { color: #a85751; }
.gbh-status-line { font-size: 11.5px; color: var(--gbh-muted-text); }
.gbh-decision-notice { font-size: 12px; color: var(--gbh-heading-text); min-height: 16px; padding: 0 4px; }
.gbh-lf-grant, .gbh-lf-reconfirm, .gbh-repair-delete { font-size: 10.5px !important; padding: 2px 8px !important; }

@media (max-width: 900px) {
    .gbh-review-top { flex-direction: column; min-height: 0; }
    .gbh-sidebar { flex: none; max-width: 100%; height: 220px; border-right: none; border-bottom: 1px solid var(--gbh-border-color); }
    .gbh-tools-strip { grid-template-columns: 1fr; }
    .gbh-review-bottom { grid-template-columns: 1fr; flex: none; height: auto; }
    .gbh-feedback-panel { max-height: 260px; }
}

/* ============================================================
   ARTIST LOBBY — POSTS
   ============================================================ */
.gbh-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.gbh-post-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s;
}
.gbh-post-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.gbh-post-title { margin: 0 0 10px 0; font-size: 18px; color: #1e293b; }
.gbh-post-content { font-size: 14px; color: #334155; line-height: 1.6; }
.gbh-post-content p { margin: 0 0 10px 0; }
.gbh-post-meta { margin-top: 12px; font-size: 12px; color: #6c757d; border-top: 1px solid #eee; padding-top: 10px; }
.gbh-empty { text-align: center; color: #6c757d; font-style: italic; padding: 40px 0; grid-column: 1 / -1; }

/* Admin Posts */
.gbh-posts-admin .gbh-posts-header { margin: 20px 0; }
.gbh-posts-admin .gbh-post-form {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
}
.gbh-posts-admin .gbh-post-form .form-group { margin-bottom: 12px; }
.gbh-posts-admin .gbh-post-form .form-group label { display: block; font-weight: 600; margin-bottom: 4px; }
.gbh-posts-admin .gbh-form-actions { display: flex; gap: 10px; margin-top: 12px; }
.gbh-posts-admin .gbh-status-draft { color: #856404; background: #fff3cd; padding: 2px 8px; border-radius: 3px; font-size: 12px; }
.gbh-posts-admin .gbh-status-published { color: #155724; background: #d4edda; padding: 2px 8px; border-radius: 3px; font-size: 12px; }
.gbh-posts-admin .gbh-status-archived { color: #6c757d; background: #e2e3e5; padding: 2px 8px; border-radius: 3px; font-size: 12px; }

/* Agreement acceptance block — embedded in UM's registration form */
.gbh-agreement-block { max-width: 700px; border: 1px solid #dde1e6; border-radius: 6px; padding: 18px 20px; margin: 16px 0; background: #fafbfc; }
.gbh-agreement-text { max-height: 340px; overflow-y: auto; padding-right: 8px; font-size: 13.5px; line-height: 1.6; color: #1e293b; border-bottom: 1px solid #dde1e6; margin-bottom: 14px; }
.gbh-agreement-checkbox-row { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #1e293b; cursor: pointer; margin: 10px 0 18px 0; }
.gbh-agreement-checkbox-row input { margin-top: 3px; }
.gbh-agreement-checkbox-row.gbh-agreement-missing { color: #a85751; }
.gbh-agreement-reminder { margin-top: 10px; font-size: 12.5px; color: #a85751; font-style: italic; }
.gbh-quota-banner { font-size: 12.5px; color: #4a5568; background: #f1f3f5; border-radius: 4px; padding: 6px 12px; margin-bottom: 14px; }

/* Responsive */
@media (max-width: 768px) {
    .gbh-posts-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .gbh-posts-grid { grid-template-columns: 1fr; }
}
/* ============================================================
   LOBBIES — Artist Lobby & Reviewer Lobby
   Shared shell, stat strip, status pills and queue table used by
   [gbh_artist_lobby] and [gbh_reviewer_lobby]. Both are rendered
   server-side; nothing here depends on JS.
   ============================================================ */
.gbh-lobby { max-width: 1000px; margin: 0 auto 30px auto; font-size: 14px; color: #1e293b; }
.gbh-lobby * { text-shadow: none; }

.gbh-lobby-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
    padding-bottom: 10px; margin-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}
.gbh-lobby-title { margin: 0; font-size: 20px; color: #1e293b; }
.gbh-lobby-cta {
    display: inline-block; padding: 8px 18px; border-radius: 4px;
    background: #0073aa; color: #fff !important; text-decoration: none;
    font-size: 13px; font-weight: 600; white-space: nowrap;
}
.gbh-lobby-cta:hover { background: #005d8a; }

.gbh-lobby-line { font-size: 13px; color: #475569; margin: 0 0 14px 0; }
.gbh-lobby-notice {
    background: #fff8e6; border-left: 3px solid #d9a441;
    padding: 10px 14px; border-radius: 3px; margin-top: 16px;
}
.gbh-lobby-more { font-size: 12.5px; color: #6c757d; font-style: italic; margin: 10px 0 0 0; }
.gbh-lobby-empty {
    text-align: center; padding: 36px 20px; color: #6c757d;
    background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 6px;
}
.gbh-lobby-empty p { margin: 0 0 14px 0; }

/* Stat strip */
.gbh-stat-strip { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.gbh-stat {
    flex: 1 1 130px; min-width: 120px;
    padding: 14px 16px; border-radius: 6px;
    background: #f8fafc; border: 1px solid #e2e8f0;
}
.gbh-stat-num { display: block; font-size: 26px; font-weight: 700; line-height: 1.1; color: #1e293b; }
.gbh-stat-label { display: block; margin-top: 4px; font-size: 12px; color: #64748b; }
.gbh-stat-wait { border-color: #bcd7e8; background: #f2f8fc; }
.gbh-stat-flag { border-color: #e6cf9a; background: #fffaf0; }
.gbh-stat-flag .gbh-stat-num { color: #8a6318; }

/* Status pills */
.gbh-pill {
    display: inline-block; padding: 2px 10px; border-radius: 11px;
    font-size: 11.5px; font-weight: 600; white-space: nowrap; line-height: 1.6;
}
.gbh-pill-wait { background: #e3f0f8; color: #1d5a7a; }
.gbh-pill-good { background: #ddeedd; color: #1c6b3a; }
.gbh-pill-bad  { background: #f6dedc; color: #8a3b34; }
.gbh-pill-flag { background: #fbf0d8; color: #8a6318; }
.gbh-pill-idle { background: #e8eaed; color: #5b6570; }

/* Artist: submission rows */
.gbh-sub-list { list-style: none; margin: 0 0 18px 0; padding: 0; }
.gbh-sub-row {
    padding: 13px 16px; margin-bottom: 8px;
    background: #fff; border: 1px solid #e2e8f0;
    border-left: 3px solid #cbd5e1; border-radius: 5px;
    display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: start;
}
.gbh-sub-row.gbh-tone-wait { border-left-color: #6fa8c9; }
.gbh-sub-row.gbh-tone-good { border-left-color: #5ca36f; }
.gbh-sub-row.gbh-tone-bad  { border-left-color: #c07b74; }
.gbh-sub-row.gbh-tone-flag { border-left-color: #d9a441; }
.gbh-sub-row.gbh-tone-idle { border-left-color: #cbd5e1; opacity: 0.85; }

.gbh-sub-main { min-width: 0; }
.gbh-sub-title { display: block; font-weight: 600; font-size: 14.5px; color: #1e293b; }
.gbh-sub-meta { font-size: 12px; color: #64748b; margin-left: 8px; font-weight: 400; }
.gbh-sub-state { text-align: right; white-space: nowrap; }
.gbh-sub-when { display: block; margin-top: 4px; font-size: 11.5px; color: #64748b; }
.gbh-sub-note { grid-column: 1 / -1; margin: 6px 0 0 0; font-size: 12.5px; color: #475569; line-height: 1.5; }
.gbh-sub-action { grid-column: 1 / -1; margin: 6px 0 0 0; font-size: 12.5px; }
.gbh-sub-action a { color: #0073aa; text-decoration: none; font-weight: 600; }
.gbh-sub-action a:hover { text-decoration: underline; }

.gbh-sub-history { margin-top: 6px; }
.gbh-sub-history summary {
    cursor: pointer; font-size: 13px; color: #475569;
    padding: 8px 0; font-weight: 600; user-select: none;
}
.gbh-sub-history[open] summary { margin-bottom: 10px; }

/* Reviewer: queue table */
.gbh-queue-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.gbh-queue-table th {
    text-align: left; padding: 8px 10px; font-size: 11.5px;
    text-transform: uppercase; letter-spacing: 0.04em;
    color: #64748b; border-bottom: 2px solid #e2e8f0; font-weight: 600;
}
.gbh-queue-table td { padding: 10px; border-bottom: 1px solid #eef1f4; vertical-align: middle; }
.gbh-queue-table tbody tr:hover { background: #f8fafc; }
.gbh-queue-table tr.gbh-tone-flag td { background: #fffdf6; }
.gbh-queue-table tr.gbh-tone-bad  td { background: #fdf7f6; }
.gbh-queue-title { font-weight: 600; color: #1e293b; }

.gbh-tag {
    display: inline-block; margin-left: 6px; padding: 1px 7px;
    border-radius: 3px; font-size: 10.5px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.03em; vertical-align: middle;
}
.gbh-tag-ai   { background: #e8e4f5; color: #4b3b78; }
.gbh-tag-warn { background: #f6dedc; color: #8a3b34; }

@media (max-width: 640px) {
    .gbh-stat { flex: 1 1 100%; }
    .gbh-sub-row { grid-template-columns: 1fr; }
    .gbh-sub-state { text-align: left; }
    .gbh-queue-table thead { display: none; }
    .gbh-queue-table tr { display: block; padding: 10px 0; border-bottom: 1px solid #eef1f4; }
    .gbh-queue-table td { display: inline-block; border: none; padding: 2px 10px 2px 0; }
}

/* ============================================================
   GlobalBeats Hub Dashboard (wp-admin, admin-dashboard.js)
   Literal colors here, not the --gbh-* custom properties used
   above — those are scoped to .gbh-review-shell, which this page
   is never nested inside. Same palette, kept consistent by hand.
   ============================================================ */
.gbh-dash-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
}
.gbh-dash-summary-item {
    flex: 1 1 140px;
    background: #fff;
    border: 1px solid #dde1e6;
    border-radius: 6px;
    padding: 12px 16px;
    text-align: center;
}
.gbh-dash-summary-item strong {
    display: block;
    font-size: 20px;
    color: #1e293b;
}
.gbh-dash-summary-item span {
    font-size: 12px;
    color: #6c757d;
}
.gbh-dash-issues {
    margin: 16px 0;
    padding: 14px 16px;
    border: 1px solid #dde1e6;
    border-radius: 6px;
    background: #fff8f7;
}
.gbh-dash-issues h2 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #1e293b;
}
.gbh-dash-issues-clear {
    background: #f4faf6;
    color: #4a7c59;
    font-weight: 600;
}
.gbh-dash-issue-row {
    font-size: 13px;
    padding: 4px 0;
    color: #1e293b;
}
.gbh-dash-activity {
    margin: 16px 0;
}
.gbh-dash-activity h2 {
    font-size: 15px;
    color: #1e293b;
}
.gbh-dash-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #dde1e6;
    border-radius: 6px;
    overflow: hidden;
    font-size: 13px;
}
.gbh-dash-table th, .gbh-dash-table td {
    text-align: left;
    padding: 8px 12px;
    border-bottom: 1px solid #eef1f4;
}
.gbh-dash-table th {
    background: #f8f9fb;
    color: #6c757d;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.gbh-dash-row {
    cursor: pointer;
}
.gbh-dash-row:hover {
    background: #f4f6f8;
}
.gbh-dash-detail-row td {
    background: #fafbfc;
}
.gbh-dash-detail {
    font-size: 13px;
    color: #1e293b;
}
.gbh-dash-trail {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-left: 2px solid #dde1e6;
    padding-left: 10px;
}
.gbh-dash-trail-item {
    display: flex;
    gap: 10px;
    font-size: 12.5px;
}
.gbh-dash-trail-time {
    color: #6c757d;
    min-width: 140px;
}
.gbh-dash-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 10px;
    font-size: 12.5px;
    color: #6c757d;
}
.gbh-dash-pager button {
    padding: 4px 10px;
    border: 1px solid #dde1e6;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}
.gbh-dash-pager button:disabled {
    opacity: 0.4;
    cursor: default;
}