/* Alumni Portal — unified task-board style (single system: maroon primary, rounded, system font). */
:root {
  --alup-ink: #1c1a15;
  --alup-paper: #faf8f1;
  --alup-accent: #6b1e2a;
  --alup-accent-dark: #521624;
  --alup-accent-ink: #fff;
  --alup-line: #e8e5e0;
  --alup-line-soft: #f0ede6;
  --alup-muted: #6b6353;
  --alup-faint: #8a8172;
}
.alup-wrap { max-width: 1100px; margin-inline: auto; }
@media (min-width: 720px) {
  .wp-block-post-content > .alup-wrap {
    position: relative;
    left: 50%;
    width: min(1100px, calc(100vw - 64px));
    max-width: none;
    transform: translateX(-50%);
  }
}
/* Base type */
.alup-wrap, .alup-form, .alup-notice, .alup-panel { font-family: -apple-system, "Segoe UI", Arial, sans-serif; color: var(--alup-ink); font-size: 15px; }
.muted { color: var(--alup-faint); font-size: 13px; }
/* Forms */
.alup-form { background: #fff; border: 1px solid var(--alup-line); border-radius: 14px; padding: 20px 22px; max-width: 560px; margin-inline: auto; }
.alup-form p { margin: 14px 0; }
.alup-form label { display: block; font-weight: 700; font-size: 14px; color: #3d382e; }
.alup-form input[type="text"],
.alup-form input[type="email"],
.alup-form input[type="password"],
.alup-form input[type="number"],.alup-form input[type="tel"],
.alup-form input[type="search"],
.alup-form input[type="url"],
.alup-form select,
.alup-form textarea { width: 100%; padding: 12px; margin-top: 6px; border: 1px solid #e0dcd2; border-radius: 10px; background: var(--alup-paper); font-size: 16px; }
.alup-form input:focus, .alup-form select:focus, .alup-form textarea:focus { border-color: var(--alup-accent); outline: 2px solid var(--alup-accent); outline-offset: 2px; }
.alup-form button[type="submit"], .alup-form button { display: inline-block; min-height: 44px; line-height: 44px; padding: 0 22px; background: var(--alup-accent); color: #fff; border: 0; border-radius: 10px; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; margin-top: 6px; }
.alup-form button:hover { background: var(--alup-accent-dark); color: #fff; }
.alup-form input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--alup-accent); vertical-align: middle; }
/* Portal-wide controls: forms outside .alup-form (manager rows, votes, requests) share the same look */
.alup-wrap button[type="submit"]:not(.alup-btn):not(.button) { display: inline-block; min-height: 44px; line-height: 44px; padding: 0 22px; background: var(--alup-accent); color: #fff; border: 0; border-radius: 10px; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; }
.alup-wrap button[type="submit"]:not(.alup-btn):not(.button):hover { background: var(--alup-accent-dark); color: #fff; }
.alup-wrap input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="submit"]):not([type="button"]), .alup-wrap select, .alup-wrap textarea { padding: 12px; border: 1px solid #e0dcd2; border-radius: 10px; background: var(--alup-paper); font-size: 16px; }
.alup-wrap input[type="radio"], .alup-wrap input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--alup-accent); vertical-align: middle; }
.alup-wrap input[type="file"]::file-selector-button { min-height: 44px; padding: 0 18px; background: transparent; color: var(--alup-ink); border: 2px solid var(--alup-ink); border-radius: 10px; font-weight: 700; font-size: 13px; text-transform: uppercase; cursor: pointer; margin-right: 12px; }
.alup-wrap input:focus-visible, .alup-wrap select:focus-visible, .alup-wrap textarea:focus-visible, .alup-wrap button[type="submit"]:focus-visible { outline: 2px solid var(--alup-accent); outline-offset: 2px; }
/* Ghost buttons keep their look everywhere (guard against the base submit rule) */
button.alup-btn.ghost { background: #fff; color: var(--alup-ink) !important; border: 1px solid #d8d2c2; }
/* Mobile sticky bottom nav (phone only; rendered for logged-in approved members) */
.alup-tabbar { display: none; }
.alup-topbar { display: none; }
@media (min-width: 761px) {
  .alup-topbar { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; background: #fff; border-bottom: 1px solid var(--alup-line); padding: 8px 12px; }
  .alup-topbar a { padding: 8px 16px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--alup-muted); text-decoration: none; border-radius: 999px; white-space: nowrap; }
  .alup-topbar a:hover { color: var(--alup-accent); background: var(--alup-paper); }
  .alup-topbar a.on { color: #fff; background: var(--alup-accent); }
}
@media (max-width: 760px) {
  body { padding-bottom: 84px; }
  .alup-tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--alup-line); padding-bottom: env(safe-area-inset-bottom); }
  .alup-tabbar a { position: relative; flex: 1 1 0; text-align: center; padding: 10px 2px 12px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--alup-muted); text-decoration: none; min-height: 56px; display: flex; align-items: center; justify-content: center; }
  .alup-tabbar a.on { color: var(--alup-accent); }
  .alup-tabbar .alup-dot { top: 8px; right: calc(50% - 22px); }
}
.alup-form input[type="file"] { width: 100%; margin-top: 8px; font-size: 15px; }
.alup-form input[type="file"]::file-selector-button { min-height: 44px; padding: 0 18px; background: transparent; color: var(--alup-ink); border: 2px solid var(--alup-ink); border-radius: 10px; font-weight: 700; font-size: 13px; text-transform: uppercase; cursor: pointer; margin-right: 12px; }
/* Filters */
.alup-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin: 14px 0; padding: 18px 20px; background: #fff; border: 1px solid var(--alup-line); border-radius: 14px; }
.alup-filters input[type="search"] { grid-column: 1 / -1; width: 100%; padding: 12px; border: 1px solid #e0dcd2; border-radius: 10px; background: var(--alup-paper); font-size: 16px; }
.alup-filters label { display: grid; gap: 4px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--alup-muted); }
.alup-filters select { width: 100%; padding: 12px; border: 1px solid #e0dcd2; border-radius: 10px; background: #fff; font-size: 15px; }
.alup-filters button { grid-column: 1 / -1; min-height: 48px; background: var(--alup-accent); color: #fff; border: 0; border-radius: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; }
.alup-filters button:hover { background: var(--alup-accent-dark); }
.alup-filters input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--alup-accent); }
/* Notices */
.alup-notice { border: 0; border-left: 6px solid var(--alup-ink); background: var(--alup-paper); padding: 12px 14px; margin: 14px 0; border-radius: 10px; }
.alup-notice.success { border-left-color: var(--alup-accent); }
.alup-notice.error { border: 1px solid #f0c9c9; background: #fdf1f1; color: #9c1f1f; }
.alup-notice.error a { color: #9c1f1f; font-weight: 700; }
/* Progress */
.alup-progress { background: var(--alup-line-soft); border-radius: 999px; height: 8px; overflow: hidden; max-width: 520px; }
.alup-progress-bar { background: var(--alup-accent); height: 8px; }
/* Buttons / pills / chips */
.alup-btn { display: inline-block; min-height: 44px; line-height: 44px; padding: 0 20px; background: var(--alup-accent); color: #fff !important; border-radius: 10px; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; border: 0; cursor: pointer; }
.alup-btn:hover { background: var(--alup-accent-dark); color: #fff !important; }
.alup-btn.ghost { background: #fff; color: var(--alup-ink) !important; border: 1px solid #d8d2c2; }
.alup-btn-ghost { background: transparent !important; color: var(--alup-ink) !important; border: 2px solid var(--alup-ink) !important; border-radius: 10px; }
.button { display: inline-block; min-height: 44px; line-height: 44px; padding: 0 22px; background: var(--alup-accent); color: #fff !important; border: 0; border-radius: 10px; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--alup-accent-dark); color: #fff !important; }
.alup-pill { display: inline-block; border-radius: 999px; padding: 5px 14px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.alup-pill.green { background: #d9f2e3; color: #1c7a3d; }
.alup-pill.gray { background: #eceae6; color: var(--alup-muted); }
.alup-pill.amber { background: #f7e8c9; color: #8a5a12; }
.alup-chip { font-size: 12px; border: 1px solid var(--alup-line); border-radius: 8px; padding: 4px 10px; color: var(--alup-muted); background: var(--alup-paper); }
.alup-seeall { margin-left: auto; background: #f1efeb; border-radius: 999px; padding: 8px 18px; font-size: 13px; font-weight: 700; color: var(--alup-ink) !important; text-decoration: none; white-space: nowrap; }
.alup-kicker { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--alup-accent); font-weight: 700; }
.alup-empty { color: var(--alup-faint); }
/* Panels / tables */
.alup-panel { background: #fff; border: 1px solid var(--alup-line); border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; }
.alup-panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.alup-panel-head h2 { font-size: 19px; margin: 0; font-weight: 800; }
.alup-table-scroll { overflow-x: auto; }
.alup-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.alup-table th { text-align: left; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--alup-faint); font-weight: 700; padding: 10px 8px; border-bottom: 1px solid var(--alup-line); }
.alup-table td { padding: 14px 8px; border-bottom: 1px solid var(--alup-line-soft); vertical-align: middle; }
.alup-table tr:last-child td { border-bottom: 0; }
.alup-table td .muted { color: var(--alup-faint); font-size: 13px; }
.alup-pagination { margin-top: 16px; }
.alup-pagination a, .alup-pagination .current { display: inline-block; min-width: 44px; min-height: 44px; line-height: 44px; text-align: center; background: #fff; border: 1px solid var(--alup-line); border-radius: 10px; text-decoration: none; margin-right: 8px; color: var(--alup-ink); }
.alup-pagination .current { background: var(--alup-accent); color: #fff; border-color: var(--alup-accent); font-weight: 700; }
/* Lists: directory / events / announcements */
.alup-grid, .alup-events, .alup-announcements { background: #fff; border: 1px solid var(--alup-line); border-radius: 14px; padding: 18px 20px; display: block; }
.alup-card { border: 0; border-bottom: 1px solid var(--alup-line-soft); background: transparent; text-align: left; padding: 16px 0; display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; }
.alup-card:first-child { padding-top: 4px; }
.alup-card:last-child { border-bottom: 0; }
.alup-card-photo img, .alup-card img { border-radius: 50%; width: 56px; height: 56px; object-fit: contain; background: var(--alup-paper); }
.alup-card h3 { font-size: 17px; margin: 0 0 2px; font-weight: 800; }
.alup-card .muted { color: var(--alup-muted); }
.alup-event-card, .alup-ann { border: 0; border-bottom: 1px solid var(--alup-line-soft); background: transparent; padding: 18px 0; }
.alup-event-card:last-child, .alup-ann:last-child { border-bottom: 0; }
.alup-event-card h3, .alup-ann h3 { font-size: 19px; font-weight: 800; margin: 0 0 6px; line-height: 1.35; }
.alup-ann h3 a { color: inherit; text-decoration: none; }
.alup-ann h3 a:hover { color: var(--alup-accent); text-decoration: underline; text-underline-offset: 3px; }
.alup-ann.pinned { border-left: 6px solid var(--alup-accent); padding-left: 14px; background: linear-gradient(to right, var(--alup-paper), transparent 60%); border-radius: 0 10px 10px 0; }
.alup-ann .alup-kicker { margin: 0 0 6px; display: flex; gap: 8px; flex-wrap: wrap; }
.alup-ann-body { margin: 8px 0; line-height: 1.65; overflow-wrap: break-word; }
.alup-ann-body p:first-child { margin-top: 0; }
.alup-ann-single { background: #fff; border: 1px solid var(--alup-line); border-radius: 14px; padding: 22px 24px; }
.alup-ann-single h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 6px 0; font-weight: 800; letter-spacing: -0.01em; }
.alup-meta { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.alup-meta .alup-sep { margin: 0 8px; color: var(--alup-line); }
.alup-who { display: flex; align-items: center; gap: 12px; }
.alup-who img { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; background: var(--alup-paper); flex: none; }
a.alup-rowlink { text-decoration: none; color: inherit; display: block; }
a.alup-rowlink:hover strong { color: var(--alup-accent); text-decoration: underline; text-underline-offset: 3px; }
/* Directory: borderless list, no table outline */
.alup-directory { background: transparent; border: 0; padding-left: 0; padding-right: 0; }
.alup-directory .alup-table th { border-bottom: 0; }
.alup-directory .alup-table td { border-bottom: 0; }
.alup-directory .alup-table tbody tr:hover { background: var(--alup-paper); }
/* Profiles / singles — single alumni view is centered */
.alup-profile { text-align: center; max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.alup-profile h2 { font-size: clamp(28px, 4vw, 40px); margin: 10px 0 6px; font-weight: 800; text-align: center; }
.alup-profile > img, .alup-profile img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; background: var(--alup-paper); border: 1px solid var(--alup-line); display: block; margin: 0 auto; }
.alup-profile .muted { color: var(--alup-muted); }
.alup-profile p { text-align: center; width: 100%; margin: 6px 0; overflow-wrap: break-word; }
.alup-profile-single .alup-back { text-align: left; }
.alup-profile-actions { text-align: center; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.alup-event-single h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 6px 0; font-weight: 800; }
/* Threads / feed / badges / connect */
.alup-thread { display: grid; gap: 12px; margin: 12px 0; }
.alup-msg { background: #fff; border: 1px solid var(--alup-line); border-radius: 14px; padding: 12px 14px; max-width: 85%; }
.alup-msg.mine { background: var(--alup-paper); margin-left: auto; border-color: var(--alup-accent); }
.alup-msg:not(.mine) { margin-right: auto; }
.alup-msg .muted { color: var(--alup-faint); font-size: 13px; }
/* Base element rhythm inside panels */
.alup-panel h3, .alup-wrap h3 { font-size: 17px; margin: 14px 0 8px; font-weight: 800; }
.alup-panel hr, .alup-wrap hr { border: 0; border-top: 1px solid var(--alup-line); margin: 16px 0; }
.alup-panel blockquote, .alup-wrap blockquote { border-left: 4px solid var(--alup-accent); margin: 12px 0; padding: 8px 14px; background: var(--alup-paper); border-radius: 0 10px 10px 0; }
.alup-panel code, .alup-wrap code { font-size: 1.1em; background: var(--alup-paper); border: 1px solid var(--alup-line); border-radius: 8px; padding: 2px 8px; }
/* Chat interface: list rows, bubbles, receipts */
.alup-chat-list { display: grid; background: #fff; border: 1px solid var(--alup-line); border-radius: 14px; overflow: hidden; }
.alup-chat-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--alup-line-soft); }
.alup-chat-row:last-child { border-bottom: 0; }
.alup-chat-row:hover { background: var(--alup-paper); }
.alup-chat-row.new { font-weight: 700; }
.alup-chat-ava { position: relative; width: 48px; height: 48px; flex: none; }
.alup-chat-ava img { width: 48px; height: 48px; border-radius: 50%; object-fit: contain; background: var(--alup-paper); }
.alup-chat-ava.group { background: var(--alup-accent); color: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; }
.alup-chatbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; line-height: 44px; padding: 0 22px; background: var(--alup-accent); color: #fff !important; border-radius: 10px; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }
.alup-chatbtn:hover { background: var(--alup-accent-dark); color: #fff !important; }
.alup-chatbtn svg { flex: none; }
.alup-chat-main { min-width: 0; }
.alup-dot { position: absolute; top: 0; right: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--alup-accent); border: 2px solid #fff; }
.alup-chat-head { display: flex; gap: 12px; align-items: center; margin: 8px 0 12px; }
.alup-chat-head h1 { font-size: 22px; margin: 0; }
.alup-chat-head .muted { margin: 0; }
.alup-msg-meta { margin: 6px 0 0; display: flex; gap: 8px; align-items: center; }
.alup-seen { font-size: 12px; font-weight: 700; color: #1c7a3d; }
.alup-msg.deleted { background: transparent; border-style: dashed; }
.alup-linkbtn { background: none; border: 0; padding: 0; color: var(--alup-faint); font-size: 12.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.alup-composer { position: sticky; bottom: 0; background: #fff; z-index: 5; padding-top: 12px; border-top: 1px solid var(--alup-line); }
/* Messages tab: compact density */
.alup-chat-list .alup-chat-row { padding: 10px 12px; gap: 10px; grid-template-columns: 40px 1fr auto; }
.alup-chat-list .alup-chat-ava, .alup-chat-list .alup-chat-ava img { width: 40px; height: 40px; }
.alup-chat-list .alup-chat-main strong { font-size: 14px; }
.alup-chat-list .alup-chat-main .muted, .alup-chat-list > a > .muted, .alup-chat-row > .muted { font-size: 12px; }
.alup-chat-list .alup-dot { width: 10px; height: 10px; }
.alup-chat-head .alup-chat-ava, .alup-chat-head .alup-chat-ava img { width: 36px; height: 36px; }
.alup-chat-head h1 { font-size: 19px; }
.alup-thread .alup-msg { padding: 10px 12px; font-size: 14px; }
.alup-thread .alup-msg .muted, .alup-msg-meta .muted { font-size: 12px; }
.alup-seen { font-size: 11.5px; }
.alup-linkbtn { font-size: 12px; }
/* Jobs board: compact listing */
.alup-jobs .alup-table td { padding: 10px 6px; font-size: 14px; }
.alup-jobs .alup-table td strong { font-size: 14px; }
.alup-jobs .alup-table td .muted { font-size: 12px; }
/* Silent system notices (WhatsApp-style join lines) */
.alup-sys { text-align: center; color: var(--alup-muted); font-size: 13.5px; background: var(--alup-paper); border: 1px solid var(--alup-line); border-radius: 999px; padding: 6px 16px; margin: 8px auto; width: fit-content; max-width: 100%; }
.alup-feed { list-style: none; margin: 0; padding: 0; display: grid; }
.alup-feed li { padding: 10px 0; border-bottom: 1px solid var(--alup-line-soft); }
.alup-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.alup-connect { display: inline-flex; gap: 8px; flex-wrap: wrap; }
/* Dashboard task-board */
.alup-task { font-size: 15px; }
.alup-task-date { color: var(--alup-faint); margin: 0 0 4px; }
.alup-task-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.alup-task-top h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; margin: 0; font-weight: 800; }
.alup-task-sub { color: var(--alup-muted); margin: 4px 0 0; }
.alup-task-topside { display: flex; align-items: center; gap: 10px; flex: none; }
.alup-task-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; background: #fff; }
.alup-stats-pill { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--alup-line); border-radius: 999px; background: #fff; padding: 12px 8px; margin: 0 0 18px; width: fit-content; max-width: 100%; }
.alup-stats-pill span { padding: 0 22px; }
.alup-stats-pill span + span { border-left: 1px solid var(--alup-line); }
.alup-stats-pill strong { font-size: 18px; }
.alup-bottom { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.alup-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 8px 0 12px; }
.alup-day { text-align: center; padding: 8px 2px; border-radius: 10px; color: var(--alup-muted); }
.alup-day span { display: block; font-size: 11px; }
.alup-day strong { font-size: 15px; }
.alup-day.today { background: var(--alup-accent); color: #fff; }
.alup-day.has-event strong { text-decoration: underline; text-underline-offset: 3px; }
.alup-sched { border-left: 4px solid var(--alup-accent); padding: 8px 0 8px 12px; margin: 0 0 12px 2px; }
.alup-sched.bar-gold { border-color: #b98a2f; }
.alup-sched.bar-green { border-color: #1c7a3d; }
.alup-sched .muted { color: var(--alup-faint); font-size: 13px; }
.alup-notes { list-style: none; margin: 0; padding: 0; }
.alup-notes li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dotted #d8d2c2; }
.alup-notes li:last-child { border-bottom: 0; }
.alup-check { flex: none; width: 22px; height: 22px; border: 1.5px solid #c9c2b2; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; margin-top: 2px; }
.alup-check.on { background: var(--alup-accent); border-color: var(--alup-accent); }
.alup-notes .muted { color: var(--alup-faint); font-size: 13.5px; }
/* Utilities (replace inline styles) */
.alup-full { width: 100%; }
.alup-inline { display: inline; }
.alup-flex { display: flex; gap: 12px; flex-wrap: wrap; }
.alup-flex-8 { display: flex; gap: 8px; flex-wrap: wrap; }
.alup-code { font-size: 1.4em; }
.alup-check-label { margin-right: 8px; }
.alup-ml-12 { margin-left: 12px; }
.alup-min240 { min-width: 240px; }
.alup-ccode { max-width: 110px; }
.alup-card-sm { min-width: 200px; max-width: 240px; }
.alup-story-card { min-width: 220px; max-width: 260px; }
.alup-photo-sm { width: 120px; height: 120px; object-fit: contain; background: var(--alup-paper); border-radius: 50%; }
.alup-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.alup-rsvp { display: flex; flex-wrap: wrap; gap: 10px; }
/* Nav */
.wp-block-navigation .wp-block-navigation-item__content { font-size: 13px !important; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700 !important; }
.wp-block-navigation-item.alup-nav-login .wp-block-navigation-item__content,
.menu-item.alup-nav-login a { background: var(--alup-accent) !important; color: #fff !important; border-radius: 10px; padding: 8px 18px !important; text-decoration: none !important; }
@media (max-width: 760px) {
  .alup-task-top { flex-direction: column; }
  .alup-bottom { grid-template-columns: 1fr; }
  .alup-stats-pill { border-radius: 14px; }
  .alup-filters { grid-template-columns: 1fr; }
  .alup-form button { width: 100%; }
}
@media (max-width: 640px) {
  .alup-chat-row { grid-template-columns: 48px 1fr; }
  .alup-chat-row > .muted { display: none; }
  .alup-msg { max-width: 95%; }
  .alup-card { grid-template-columns: 56px 1fr; gap: 12px; }
  .alup-filters input[type="search"], .alup-filters select, .alup-filters button { width: 100%; }
  /* Any table without a scroll wrapper still scrolls instead of breaking layout */
  table.alup-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .alup-task-topside { flex-wrap: wrap; }
  .alup-task-topside .alup-btn { flex: 1 1 140px; text-align: center; }
  .alup-panel { min-width: 0; overflow-wrap: break-word; }
  /* Directory: compact listing */
  .alup-directory .alup-table td { padding: 10px 6px; font-size: 14px; }
  .alup-directory .alup-who { gap: 8px; }
  .alup-directory .alup-who img { width: 32px; height: 32px; }
  .alup-directory .alup-who strong { font-size: 15px; }
}
@media (pointer: coarse) {
  .alup-wrap input[type="radio"], .alup-wrap input[type="checkbox"] { width: 24px; height: 24px; }
}
