    .hero-banner-wrap {
      position: relative;
      width: min(1120px, 94vw);
      margin: 0 auto;
      aspect-ratio: 16 / 6;
      overflow: hidden;
      border-radius: 18px;
    }

    .hero-banner-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
      display: block;
    }

    #splash-logo,
    #transition-logo {
      width: min(340px, 80vw) !important;
      height: auto !important;
    }

    .hero-cta {
      position: absolute;
      left: 50%;
      bottom: 20px;
      transform: translateX(-50%);
      padding: 13px 26px;
      border-radius: 999px;
      border: 2px solid #0A56A7;
      background: #0A56A7;
      color: #ffffff;
      font-weight: 700;
      font-size: 14px;
      letter-spacing: 0.02em;
      text-decoration: none;
      box-shadow: 0 10px 22px rgba(10, 86, 167, 0.24);
      z-index: 5;
      transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
    }

    .hero-cta:hover,
    .hero-cta:focus-visible {
      background: #ffffff;
      color: #0A56A7;
      transform: translateX(-50%) translateY(-2px);
      box-shadow: 0 16px 28px rgba(10, 86, 167, 0.22);
    }

    .hero-cta:active {
      background: #ffffff;
      color: #0A56A7;
      transform: translateX(-50%) scale(0.97);
      box-shadow: 0 8px 16px rgba(10, 86, 167, 0.2);
    }

    @media (max-width: 640px) {
      .hero-cta {
        width: calc(100% - 24px);
        text-align: center;
        bottom: 14px;
      }
    }

    /* ── Hub Section ── */
    #hub-section {
      width: min(1120px, 94vw);
      margin: 28px auto 0;
      opacity: 1;
    }
    .hub-teaser {
      background: linear-gradient(135deg, #0A56A7, #1a73e8);
      border-radius: 18px;
      padding: 32px 28px;
      text-align: center;
      color: #fff;
    }
    .hub-teaser-eyebrow {
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      opacity: 0.8;
      margin-bottom: 8px;
    }
    .hub-teaser-title { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
    .hub-teaser-subtitle { font-size: 13px; opacity: 0.85; margin-bottom: 24px; }
    .hub-teaser-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
    .hub-btn-primary {
      background: #fff;
      color: #0A56A7;
      border: none;
      border-radius: 999px;
      padding: 10px 24px;
      font-size: 13px;
      font-weight: 800;
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s;
      font-family: inherit;
    }
    .hub-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
    .hub-btn-secondary {
      background: transparent;
      color: #fff;
      border: 1.5px solid rgba(255,255,255,0.7);
      border-radius: 999px;
      padding: 10px 24px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s;
      font-family: inherit;
    }
    .hub-btn-secondary:hover { background: rgba(255,255,255,0.1); }
    .hub-teaser-preview {
      display: flex;
      gap: 12px;
      margin-top: 20px;
      filter: blur(4px);
      opacity: 0.4;
      pointer-events: none;
    }
    .hub-preview-card { flex: 1; background: #fff; border-radius: 12px; padding: 14px; text-align: left; }
    .hub-preview-label { font-size: 10px; font-weight: 800; color: #0A56A7; letter-spacing: 0.08em; margin-bottom: 8px; }
    .hub-preview-line { background: #e2e8f0; border-radius: 4px; height: 8px; margin-bottom: 6px; }

    /* ── Hub Content (logged in) ── */
    #hub-content { display: none; }
    .hub-content-header {
      background: linear-gradient(135deg, #0A56A7, #1a73e8);
      border-radius: 18px 18px 0 0;
      padding: 16px 22px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #fff;
    }
    .hub-content-title {
      font-size: 16px;
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .hub-content-title-icon {
      width: 28px;
      height: 28px;
      display: block;
      flex-shrink: 0;
    }
    .hub-content-welcome { font-size: 11px; opacity: 0.8; margin-top: 2px; }
    .hub-signout-btn {
      font-size: 11px;
      opacity: 0.75;
      text-decoration: underline;
      cursor: pointer;
      background: none;
      border: none;
      color: #fff;
      font-family: inherit;
    }
    .hub-signout-btn:hover { opacity: 1; }
    .hub-cards {
      background: #F8F6F2;
      border-radius: 0 0 18px 18px;
      border: 1px solid #e2e8f0;
      border-top: none;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .hub-card { background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
    .hub-card-label { font-size: 10px; font-weight: 800; color: #0A56A7; letter-spacing: 0.1em; margin-bottom: 12px; }
    .hub-card-feed { border-top: 3px solid #f59e0b; }
    .hub-card-feed .hub-card-label { color: #f59e0b; }
    .hub-card-study-notes { border-top: 3px solid #0A56A7; }
    .hub-card-subtitle { font-size: 12px; color: #465364; margin: -6px 0 12px; }
    .hub-announcement-item { border-left: 3px solid #0A56A7; padding-left: 10px; margin-bottom: 10px; }
    .hub-announcement-item:last-child { margin-bottom: 0; }
    .hub-announcement-title { font-size: 13px; font-weight: 700; color: #1A1A1A; }
    .hub-announcement-meta { font-size: 11px; color: #465364; margin-top: 2px; }
    .hub-note-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 0;
      border-bottom: 1px solid #f1f5f9;
    }
    .hub-note-item:last-child { border-bottom: none; }
    .hub-note-name { font-size: 13px; font-weight: 600; color: #1A1A1A; }
    .hub-note-meta { font-size: 11px; color: #465364; margin-top: 2px; }
    .hub-download-btn {
      background: #0A56A7;
      color: #fff;
      border-radius: 8px;
      padding: 6px 14px;
      font-size: 11px;
      font-weight: 700;
      text-decoration: none;
      white-space: nowrap;
      transition: background 0.2s;
    }
    .hub-download-btn:hover { background: #084a90; }
    .hub-note-actions {
      display: flex;
      gap: 8px;
      align-items: center;
    }
    .hub-preview-btn {
      border: 1px solid #0A56A7;
      color: #0A56A7;
      background: #fff;
      border-radius: 8px;
      padding: 6px 14px;
      font-size: 11px;
      font-weight: 700;
      text-decoration: none;
      white-space: nowrap;
      transition: background 0.2s, color 0.2s;
    }
    .hub-preview-btn:hover {
      background: #0A56A7;
      color: #fff;
    }
    .hub-empty { font-size: 13px; color: #465364; text-align: center; padding: 12px 0; }
    .hub-dashboard-tabs {
      display: flex;
      gap: 8px;
      margin-bottom: 12px;
    }
    .hub-tab-btn {
      border: 1px solid #d1d5db;
      border-radius: 999px;
      padding: 7px 14px;
      font-size: 12px;
      font-weight: 700;
      background: #fff;
      color: #1A1A1A;
      font-family: inherit;
      cursor: pointer;
    }
    .hub-tab-btn-content {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .hub-tab-btn-icon-chip {
      width: 20px;
      height: 20px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #e7f0fd;
      border: 1px solid #c5daf3;
      flex-shrink: 0;
    }
    .hub-tab-btn-icon {
      width: 13px;
      height: 13px;
      display: block;
    }
    .hub-tab-btn.active {
      background: #0A56A7;
      color: #fff;
      border-color: #0A56A7;
    }
    .hub-tab-btn.active .hub-tab-btn-icon-chip {
      background: #ffffff;
      border-color: rgba(255, 255, 255, 0.9);
    }
    #hub-preview-modal-backdrop {
      position: fixed;
      inset: 0;
      z-index: 70;
      background: rgba(15, 23, 42, 0.7);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 16px;
    }
    #hub-preview-modal-backdrop.open { display: flex; }
    .hub-preview-modal {
      width: min(980px, 100%);
      height: min(88vh, 900px);
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 24px 56px rgba(0,0,0,0.24);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .hub-preview-modal-header {
      padding: 10px 12px;
      border-bottom: 1px solid #e2e8f0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    .hub-preview-modal-title {
      font-size: 12px;
      font-weight: 700;
      color: #1A1A1A;
    }
    .hub-preview-modal-close {
      border: 1px solid #d1d5db;
      background: #fff;
      color: #1A1A1A;
      border-radius: 999px;
      width: 30px;
      height: 30px;
      font-size: 18px;
      line-height: 1;
      font-family: inherit;
      cursor: pointer;
    }
    .hub-preview-modal-close:hover {
      border-color: #0A56A7;
      color: #0A56A7;
    }
    #hub-preview-iframe {
      width: 100%;
      height: 100%;
      border: 0;
      background: #f8fafc;
      flex: 1;
    }
    .hub-panel-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
    }
    .hub-card-tight { padding: 14px; }
    .hub-upload-form {
      display: grid;
      gap: 10px;
    }
    .hub-upload-input {
      width: 100%;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 10px 12px;
      font-size: 13px;
      box-sizing: border-box;
      font-family: inherit;
      background: #fff;
    }
    .hub-upload-submit {
      border: none;
      border-radius: 999px;
      background: #16a34a;
      color: #fff;
      padding: 10px 14px;
      font-size: 12px;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
      justify-self: start;
    }
    .hub-upload-submit:disabled {
      background: #94a3b8;
      cursor: not-allowed;
    }
    .hub-profile-grid {
      display: grid;
      gap: 8px;
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hub-profile-grid .hub-upload-input[readonly] {
      background: #f8fafc;
      color: #64748b;
    }
    .hub-profile-grid .full-span {
      grid-column: 1 / -1;
    }
    .hub-error {
      font-size: 12px;
      color: #dc2626;
      min-height: 14px;
    }
    .hub-inline-badges {
      display: flex;
      gap: 6px;
      margin-top: 6px;
      flex-wrap: wrap;
    }
    .hub-badge {
      font-size: 10px;
      border-radius: 999px;
      padding: 3px 8px;
      font-weight: 700;
      letter-spacing: 0.01em;
    }
    .hub-badge-pending { background: #fff7ed; color: #b45309; }
    .hub-badge-approved { background: #ecfdf5; color: #166534; }
    .hub-badge-rejected { background: #fef2f2; color: #b91c1c; }
    .hub-badge-featured { background: #fef3c7; color: #92400e; }
    .hub-badge-pinned { background: #eff6ff; color: #1d4ed8; }
    .hub-action-btn {
      border: 1px solid #dbe3ef;
      background: #fff;
      color: #1A1A1A;
      border-radius: 8px;
      padding: 5px 10px;
      font-size: 11px;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
    }
    .hub-action-btn:hover {
      border-color: #0A56A7;
      color: #0A56A7;
    }
    .hub-message-list {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      padding: 10px;
      min-height: 120px;
      max-height: 220px;
      overflow-y: auto;
    }
    .hub-message-item + .hub-message-item { margin-top: 10px; }
    .hub-message-meta {
      font-size: 10px;
      color: #64748b;
      margin-bottom: 4px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    .hub-message-body {
      font-size: 13px;
      color: #1A1A1A;
      line-height: 1.4;
    }
    .hub-message-form {
      display: flex;
      gap: 8px;
      margin-top: 8px;
    }
    .hub-message-input {
      flex: 1;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 9px 10px;
      font-size: 12px;
      font-family: inherit;
    }
    .hub-thread-item {
      width: 100%;
      text-align: left;
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      padding: 9px 10px;
      font-size: 12px;
      background: #fff;
      margin-bottom: 8px;
      font-family: inherit;
    }
    .hub-thread-item.active {
      border-color: #0A56A7;
      background: #eff6ff;
    }
    @media (max-width: 768px) {
      .hub-dashboard-tabs {
        gap: 6px;
        flex-wrap: wrap;
      }
      .hub-tab-btn {
        padding: 6px 10px;
        font-size: 11px;
      }
      .hub-tab-btn-content {
        gap: 6px;
      }
      .hub-tab-btn-icon-chip {
        width: 17px;
        height: 17px;
      }
      .hub-tab-btn-icon {
        width: 11px;
        height: 11px;
      }
      .hub-note-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
      }
      .hub-preview-modal {
        height: min(92vh, 1000px);
      }
      .hub-note-actions {
        flex-wrap: wrap;
      }
      .hub-message-form {
        flex-direction: column;
      }
      .hub-profile-grid {
        grid-template-columns: 1fr;
      }
    }

    /* ── Auth Modal ── */
    #auth-modal-backdrop {
      position: fixed;
      inset: 0;
      z-index: 60;
      background: rgba(0,0,0,0.5);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 16px;
    }
    #auth-modal-backdrop.open { display: flex; }
    .auth-modal {
      background: #F8F6F2;
      border-radius: 18px;
      padding: 28px 24px;
      width: 100%;
      max-width: 360px;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 24px 56px rgba(0,0,0,0.22);
      position: relative;
    }
    .auth-modal-icon { font-size: 28px; text-align: center; margin-bottom: 6px; }
    .auth-modal-title { font-size: 16px; font-weight: 800; color: #1A1A1A; text-align: center; }
    .auth-modal-subtitle { font-size: 12px; color: #465364; text-align: center; margin-top: 4px; margin-bottom: 20px; }
    .auth-tabs {
      display: flex;
      background: #e2e8f0;
      border-radius: 10px;
      padding: 4px;
      gap: 4px;
      margin-bottom: 20px;
    }
    .auth-tab {
      flex: 1;
      padding: 8px;
      border-radius: 7px;
      text-align: center;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      border: none;
      background: none;
      color: #465364;
      transition: background 0.2s, color 0.2s;
      font-family: inherit;
    }
    .auth-tab.active { background: #0A56A7; color: #fff; font-weight: 700; }
    .auth-field-label { font-size: 10px; font-weight: 700; color: #465364; letter-spacing: 0.06em; margin-bottom: 4px; }
    .auth-input-wrap { position: relative; margin-bottom: 14px; }
    .auth-input {
      width: 100%;
      box-sizing: border-box;
      background: #fff;
      border: 1.5px solid #e2e8f0;
      border-radius: 10px;
      padding: 10px 36px 10px 12px;
      font-size: 13px;
      color: #1A1A1A;
      outline: none;
      transition: border-color 0.2s;
      font-family: inherit;
    }
    .auth-input:focus { border-color: #0A56A7; }
    .auth-input.valid { border-color: #16a34a; }
    .auth-check {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: #16a34a;
      font-size: 14px;
      display: none;
      pointer-events: none;
    }
    .auth-input.valid ~ .auth-check { display: block; }
    .auth-forgot {
      text-align: right;
      font-size: 11px;
      color: #0A56A7;
      font-weight: 600;
      cursor: pointer;
      margin-top: -10px;
      margin-bottom: 14px;
      background: none;
      border: none;
      display: block;
      width: 100%;
      font-family: inherit;
    }
    .auth-submit {
      width: 100%;
      border: none;
      border-radius: 999px;
      padding: 12px;
      font-size: 14px;
      font-weight: 800;
      cursor: not-allowed;
      background: #cbd5e1;
      color: #94a3b8;
      transition: background 0.25s, color 0.25s, box-shadow 0.25s;
      font-family: inherit;
    }
    .auth-submit.ready {
      background: #16a34a;
      color: #fff;
      cursor: pointer;
      box-shadow: 0 4px 14px rgba(22,163,74,0.35);
    }
    .auth-switch { text-align: center; font-size: 11px; color: #465364; margin-top: 14px; }
    .auth-switch-link {
      color: #0A56A7;
      font-weight: 700;
      cursor: pointer;
      background: none;
      border: none;
      font-family: inherit;
      font-size: inherit;
    }
    .auth-error { font-size: 12px; color: #dc2626; text-align: center; margin-top: 10px; min-height: 16px; }
    .auth-close {
      position: absolute;
      top: 14px;
      right: 16px;
      background: none;
      border: none;
      font-size: 20px;
      color: #465364;
      cursor: pointer;
      line-height: 1;
    }
    .auth-close:hover { color: #1A1A1A; }

    /* ── Avatar ── */
    .avatar {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
      color: #fff;
      font-weight: 800;
      flex-shrink: 0;
      user-select: none;
    }
    .avatar-lg { width: 56px; height: 56px; font-size: 24px; }
    .avatar-md { width: 32px; height: 32px; font-size: 13px; }
    .avatar-sm { width: 28px; height: 28px; font-size: 11px; }

    /* ── Avatar color picker ── */
    .color-swatches { display: flex; gap: 8px; margin-top: 8px; }
    .color-swatch {
      width: 28px; height: 28px;
      border-radius: 8px;
      border: 2px solid transparent;
      cursor: pointer;
      position: relative;
      flex-shrink: 0;
      transition: border-color 0.15s;
    }
    .color-swatch.selected { border-color: #1A1A1A; }
    .color-swatch.selected::after {
      content: '✓';
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 12px;
      font-weight: 900;
    }
    .avatar-preview-row {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 0 4px;
    }
    .avatar-preview-label { font-size: 11px; color: #465364; }

    /* ── Feed stream ── */
    .feed-stream {
      display: flex;
      flex-direction: column;
      gap: 2px;
      max-height: 380px;
      overflow-y: auto;
      padding: 8px 0;
      scroll-behavior: smooth;
    }
    .feed-msg {
      display: flex;
      gap: 10px;
      padding: 8px 4px;
    }
    .feed-msg-avatar { flex-shrink: 0; margin-top: 2px; }
    .feed-msg-body { flex: 1; min-width: 0; }
    .feed-msg-header { display: flex; align-items: baseline; gap: 6px; margin-bottom: 3px; }
    .feed-msg-name { font-size: 12px; font-weight: 700; color: #1A1A1A; }
    .feed-msg-name.admin-name { color: #0A56A7; }
    .feed-msg-time { font-size: 10px; color: #94a3b8; }
    .feed-msg-text { font-size: 12px; color: #1A1A1A; line-height: 1.5; }
    .feed-file-card {
      margin-top: 8px;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 10px 12px;
      background: #f8fafc;
      font-size: 12px;
    }
    .feed-file-card.dimmed { opacity: 0.55; }
    .feed-file-title { font-weight: 700; color: #1A1A1A; margin-bottom: 2px; font-size: 12px; }
    .feed-file-meta { font-size: 11px; color: #465364; margin-bottom: 8px; }
    .feed-file-actions { display: flex; gap: 8px; }
    .feed-pending-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      margin-top: 6px;
      font-size: 10px;
      font-weight: 700;
      color: #b45309;
      background: #fff7ed;
      border-radius: 999px;
      padding: 3px 8px;
    }
    .feed-admin-actions { display: flex; gap: 6px; margin-top: 6px; }
    .feed-delete-btn, .feed-approve-btn {
      font-size: 10px;
      font-weight: 700;
      border-radius: 6px;
      padding: 3px 8px;
      cursor: pointer;
      border: 1px solid;
      font-family: inherit;
      background: #fff;
    }
    .feed-delete-btn { color: #b91c1c; border-color: #fca5a5; }
    .feed-delete-btn:hover { background: #fef2f2; }
    .feed-approve-btn { color: #166534; border-color: #86efac; }
    .feed-approve-btn:hover { background: #f0fdf4; }

    /* ── Compose bar ── */
    .compose-bar {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      position: relative;
      padding: 10px 0 0;
      border-top: 1px solid #f1f5f9;
      margin-top: 6px;
    }
    .compose-bar-input {
      flex: 1;
      border: 1px solid #e2e8f0;
      border-radius: 20px;
      padding: 8px 14px;
      font-size: 12px;
      font-family: inherit;
      outline: none;
      transition: border-color 0.15s;
      background: #f8fafc;
    }
    .compose-bar-input:focus { border-color: #0A56A7; background: #fff; }
    .compose-bar-attach {
      --upload-blue-1: #0A56A7;
      --upload-blue-2: #1173d2;
      width: 34px;
      height: 34px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(145deg, #ffffff 0%, #f6f9ff 100%);
      border: 1px solid #d8e2f0;
      border-radius: 10px;
      cursor: pointer;
      padding: 0;
      line-height: 1;
      box-shadow: 0 1px 2px rgba(10, 86, 167, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
      transition: transform 0.22s cubic-bezier(.2,.85,.3,1), box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
    }
    .compose-bar-attach:hover {
      transform: translateY(-1px) scale(1.03);
      border-color: #b9cde7;
      box-shadow: 0 6px 14px rgba(10, 86, 167, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.98);
      background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
    }
    .compose-bar-attach:active {
      transform: translateY(0) scale(0.96);
      box-shadow: 0 2px 6px rgba(10, 86, 167, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    }
    .compose-bar-attach:focus-visible {
      outline: none;
      box-shadow: 0 0 0 3px rgba(17, 115, 210, 0.24), 0 6px 14px rgba(10, 86, 167, 0.2);
      border-color: #8db4df;
    }
    .compose-bar-attach svg {
      width: 22px;
      height: 22px;
      display: block;
      overflow: visible;
    }
    .compose-bar-attach .upload-icon-doc {
      transition: transform 0.26s cubic-bezier(.2,.85,.3,1), filter 0.24s ease;
      filter: drop-shadow(0 1px 2px rgba(10, 86, 167, 0.22));
      transform-origin: 50% 50%;
    }
    .compose-bar-attach .upload-icon-arrow {
      transition: transform 0.24s cubic-bezier(.2,.85,.3,1), opacity 0.2s ease;
      transform-origin: 50% 65%;
    }
    .compose-bar-attach:hover .upload-icon-doc {
      transform: translateY(-0.35px);
    }
    .compose-bar-attach:hover .upload-icon-arrow {
      transform: translateY(-1.1px);
    }
    .compose-bar-attach:active .upload-icon-arrow {
      transform: translateY(0);
      opacity: 0.92;
    }
    @media (prefers-reduced-motion: reduce) {
      .compose-bar-attach,
      .compose-bar-attach .upload-icon-doc,
      .compose-bar-attach .upload-icon-arrow {
        transition: none;
      }
    }
    .compose-bar-post {
      background: #0A56A7;
      color: #fff;
      border: none;
      border-radius: 16px;
      padding: 7px 14px;
      font-size: 11px;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
      white-space: nowrap;
    }
    .compose-bar-post:disabled { background: #94a3b8; cursor: not-allowed; }
    .compose-bar-post:hover:not(:disabled) { background: #084a90; }
    .compose-attach-filename {
      font-size: 10px;
      color: #465364;
      margin-top: 4px;
      padding-left: 40px;
    }

    /* ── Feed-First academic panel ── */
    .hub-academic-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    @media (max-width: 640px) {
      .hub-academic-grid { grid-template-columns: 1fr; }
    }
.goodwill-logo-fixed {
  width: 340px;
  height: auto;
}

.opacity-zero {
  opacity: 0;
}

.hidden-element {
  display: none;
}

.panel-hidden {
  display: none;
}

.hub-preview-label-feed {
  color: #f59e0b;
}

.hub-preview-line-wide {
  width: 70%;
}

.hub-preview-line-mid {
  width: 55%;
}

.hub-header-user-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.swatch-blue {
  background: #0A56A7;
}

.swatch-amber {
  background: #d97706;
}

.swatch-emerald {
  background: #16a34a;
}

.swatch-rose {
  background: #be123c;
}

.swatch-lavender {
  background: #8b5cf6;
}

.textarea-resize-vertical {
  resize: vertical;
}

.hub-card-feed-pad {
  padding-bottom: 12px;
}

.hub-note-info-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.hub-note-info {
  min-width: 0;
}

.hub-compose-error {
  font-size: 11px;
  color: #dc2626;
  padding: 4px 0 0 40px;
}

.hub-course-rooms-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hub-room-card {
  border: 1px solid #dbe3ef;
  background: #fff;
  border-radius: 10px;
  text-align: left;
  padding: 10px;
  cursor: pointer;
  font-family: inherit;
}

.hub-room-card.active {
  border-color: #0A56A7;
  background: #eff6ff;
}

.hub-room-card-title {
  font-size: 12px;
  font-weight: 700;
  color: #1A1A1A;
}

.hub-room-card-meta {
  font-size: 11px;
  color: #465364;
  margin-top: 4px;
}

.hub-room-panel-head {
  margin: -4px 0 10px;
}

.hub-room-title {
  font-size: 16px;
  font-weight: 800;
  color: #1A1A1A;
}

.hub-room-subtitle {
  font-size: 12px;
  color: #465364;
  margin-top: 3px;
}

.hub-room-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.hub-room-compose-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.hub-room-request-flow {
  width: 100%;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: linear-gradient(180deg, #fcfdff 0%, #f8fbff 100%);
  padding: 10px;
}

.hub-request-flow-heading {
  font-size: 11px;
  font-weight: 700;
  color: #0A56A7;
  margin-bottom: 8px;
}

.hub-request-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hub-request-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hub-request-choice {
  border: 1px solid #d8e2f0;
  border-radius: 12px;
  background: #fff;
  color: #1A1A1A;
  font-size: 11px;
  font-weight: 700;
  padding: 10px 8px;
  cursor: pointer;
  text-align: center;
}

.hub-request-choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-right: 7px;
}

.hub-quiz-brain-icon {
  width: 18px;
  height: 18px;
  color: #0A56A7;
  display: block;
}

.hub-request-choice-icon-quiz .hub-quiz-brain-icon {
  color: #0A56A7;
}

.hub-request-choice-icon-notes .hub-quiz-brain-icon {
  color: #16a34a;
}

.hub-request-choice:hover {
  border-color: #0A56A7;
  background: #eff6ff;
}

.hub-request-preview {
  border: 1px solid #d8e2f0;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  font-size: 12px;
  color: #1f2937;
}

.hub-request-undo {
  margin-top: 8px;
  border: 1px solid #d8e2f0;
  background: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
  color: #465364;
  cursor: pointer;
}

.hub-request-undo:hover {
  border-color: #0A56A7;
  color: #0A56A7;
}

.hub-room-action-btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(145deg, #ffffff 0%, #f6f9ff 100%);
  border: 1px solid #d8e2f0;
  color: #0A56A7;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(10, 86, 167, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.22s cubic-bezier(.2,.85,.3,1), box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.hub-room-action-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.hub-room-action-btn:hover {
  transform: translateY(-1px) scale(1.03);
  border-color: #b9cde7;
  box-shadow: 0 6px 14px rgba(10, 86, 167, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.98);
  background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
}

.hub-room-action-btn.active {
  border-color: #0A56A7;
  background: linear-gradient(145deg, #f8fbff 0%, #e9f3ff 100%);
  color: #0A56A7;
}

.hub-room-action-btn:active {
  transform: translateY(0) scale(0.96);
}

.hub-room-compose-subject {
  max-width: 100%;
}

.hub-request-card {
  border: 1px solid #b9d4ef;
  border-radius: 14px;
  background: linear-gradient(160deg, #f3f9ff 0%, #eaf4ff 55%, #e4f9f3 100%);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hub-request-card-visual {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #c6dbf2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.hub-request-card-content {
  min-width: 0;
  flex: 1;
}

.hub-request-card-title {
  font-size: 11px;
  font-weight: 800;
  color: #0A56A7;
}

.hub-request-card-meta {
  font-size: 10px;
  color: #2b5a86;
  margin-top: 2px;
}

.hub-request-card-topic {
  margin-top: 4px;
  font-size: 10px;
  color: #0f766e;
  font-weight: 700;
}

.hub-request-card-text {
  font-size: 11px;
  color: #1f2937;
  margin-top: 5px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #d5e3f1;
  border-radius: 9px;
  padding: 6px 8px;
}

.hub-request-card-sticker {
  display: inline-flex;
  align-items: center;
  margin-top: 7px;
  padding: 4px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hub-room-tag-row {
  border-bottom: 1px solid #f1f5f9;
  padding: 10px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.hub-room-tag-row:last-child {
  border-bottom: none;
}

.hub-room-tag-user {
  min-width: 0;
}

.hub-room-tags-input {
  min-width: 160px;
}

.hub-admin-room-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.hub-admin-room-tabs .hub-action-btn.active {
  border-color: #0A56A7;
  color: #0A56A7;
  background: #eff6ff;
}

.hub-chip-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 4px 0 6px;
}

.hub-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hub-chip-type {
  background: #eff6ff;
  color: #1d4ed8;
}

.hub-chip-subject {
  background: #f8fafc;
  color: #334155;
}

@media (max-width: 768px) {
  .hub-course-rooms-list {
    grid-template-columns: 1fr;
  }

  .hub-room-compose-subject {
    max-width: none;
  }

  .hub-request-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-room-tag-row {
    grid-template-columns: 1fr;
  }
}
