/* VYBE NGMC CMS — staff panel & staff login */

body.vybe-app { margin: 0; background: #f3f5f9; }
body.vybe-app.vybe-panel-page--login { background: #0b2c4f; }

.vp-root {
  --vp-brand: #0b3d6e;
  --vp-accent: #f2a900;
  --vp-ink: #17212e;
  --vp-muted: #5a6677;
  --vp-line: #e2e7ee;
  --vp-soft: #f3f5f9;
  --vp-card: #fff;
  --vp-ok: #157347;
  --vp-ok-bg: #e8f5ee;
  --vp-warn: #9a5b00;
  --vp-warn-bg: #fff4dc;
  --vp-err: #b42318;
  --vp-err-bg: #fdecea;
  --vp-info: #1f5fa8;
  --vp-info-bg: #e9f1fb;
  --vp-radius: 10px;
  --vp-side: 252px;
  --vp-top: 60px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--vp-ink);
  -webkit-font-smoothing: antialiased;
}
.vp-root *, .vp-root *::before, .vp-root *::after { box-sizing: border-box; }
.vp-root a { color: var(--vp-brand); text-decoration: none; }
.vp-root a:hover { text-decoration: underline; }
.vp-root a.vp-btn:hover, .vp-root .vp-side a:hover, .vp-root a.vp-tile:hover, .vp-root .vp-tabs a:hover, .vp-root .vp-top a:hover { text-decoration: none; }
.vp-root h1, .vp-root h2, .vp-root h3 { font-family: inherit; color: var(--vp-ink); letter-spacing: -0.01em; }
.vp-root img { max-width: 100%; height: auto; }
.vp-root .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.vp-root :focus-visible { outline: 3px solid color-mix(in srgb, var(--vp-accent) 70%, transparent); outline-offset: 2px; }

/* ---------- buttons, links, chips ---------- */
.vp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border: 1px solid var(--vp-brand); border-radius: 8px; background: var(--vp-brand); color: #fff !important; font: 600 14px/1.2 inherit; font-family: inherit; text-decoration: none; cursor: pointer; white-space: nowrap; transition: filter .15s, background .15s; }
.vp-btn:hover { filter: brightness(1.12); }
.vp-btn .dashicons { font-size: 17px; width: 17px; height: 17px; }
.vp-btn--ghost { background: #fff; color: var(--vp-brand) !important; border-color: var(--vp-line); }
.vp-btn--ghost:hover { background: var(--vp-soft); filter: none; }
.vp-btn--sm { padding: 5px 11px; font-size: 13px; }
.vp-btn--block { width: 100%; padding: 12px 16px; font-size: 15px; }
.vp-link { background: none; border: 0; padding: 0; color: var(--vp-brand); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.vp-link:hover { text-decoration: underline; }
.vp-link--danger { color: var(--vp-err); font-weight: 500; }
.vp-inline { display: inline; margin: 0; }
.vp-strong { font-weight: 600; color: var(--vp-ink); text-decoration: none; }
a.vp-strong:hover { color: var(--vp-brand); text-decoration: underline; }
.vp-chip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--vp-soft); color: var(--vp-muted); white-space: nowrap; }
.vp-chip--publish { background: var(--vp-ok-bg); color: var(--vp-ok); }
.vp-chip--pending { background: var(--vp-warn-bg); color: var(--vp-warn); }
.vp-chip--draft { background: #eef0f3; color: #4a5565; }
.vp-chip--private { background: #efe9fb; color: #5b3aa8; }
.vp-chip--revision { background: var(--vp-err-bg); color: var(--vp-err); }
.vp-table code { white-space: nowrap; font-size: 12px; background: var(--vp-soft); padding: 2px 5px; border-radius: 4px; }
.vp-badge { margin-left: auto; min-width: 20px; padding: 1px 7px; border-radius: 999px; background: var(--vp-accent); color: #2b1d00; font-size: 12px; font-weight: 700; text-align: center; }
.vp-ok { color: var(--vp-ok); font-weight: 600; }
.vp-warn { color: var(--vp-warn); }

/* ---------- alerts, hints, empty ---------- */
.vp-alert { margin: 0 0 16px; padding: 11px 14px; border-radius: 8px; border: 1px solid var(--vp-line); border-left-width: 4px; background: #fff; }
.vp-alert ul { margin: 6px 0 0 18px; padding: 0; }
.vp-alert.is-ok { border-color: #b7dfc8; border-left-color: var(--vp-ok); background: var(--vp-ok-bg); }
.vp-alert.is-warn { border-color: #f1d79c; border-left-color: var(--vp-warn); background: var(--vp-warn-bg); }
.vp-alert.is-error { border-color: #f3c0bb; border-left-color: var(--vp-err); background: var(--vp-err-bg); }
.vp-alert.is-info { border-color: #c5d9f1; border-left-color: var(--vp-info); background: var(--vp-info-bg); }
.vp-hint { color: var(--vp-muted); font-size: 14px; margin: 0 0 14px; }
.vp-hint--inline { margin: 0; display: inline-flex; gap: 8px; align-items: center; }
.vp-empty { padding: 36px 20px; border: 1px dashed #cfd6e0; border-radius: var(--vp-radius); background: #fff; color: var(--vp-muted); text-align: center; }
.vp-h2 { font-size: 17px; margin: 22px 0 12px; }
.vp-card .vp-h2:first-child, .vp-card > .vp-h2:first-of-type { margin-top: 0; }

/* ---------- app shell ---------- */
.vp-app { min-height: 100vh; }
.vp-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px; height: var(--vp-top); padding: 0 18px; background: #fff; border-bottom: 1px solid var(--vp-line); }
.vp-top__menu { display: none; border: 0; background: none; padding: 6px; margin-left: -6px; color: var(--vp-ink); cursor: pointer; border-radius: 6px; }
.vp-top__menu .dashicons { font-size: 24px; width: 24px; height: 24px; }
.vp-top__brand { display: flex; align-items: center; gap: 10px; min-width: 0; width: calc(var(--vp-side) - 18px); text-decoration: none; color: var(--vp-ink) !important; }
.vp-top__brand img { width: auto; height: 38px; max-width: 120px; object-fit: contain; }
.vp-top__brand span { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.vp-top__brand strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-top__brand small { font-size: 12px; color: var(--vp-muted); text-transform: uppercase; letter-spacing: .06em; }
.vp-top__dept { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; margin: 0; color: var(--vp-muted); }
.vp-top__dept .dashicons { color: var(--vp-brand); }
.vp-top__dept select { min-width: 0; max-width: 460px; width: 100%; padding: 7px 34px 7px 10px; border: 1px solid var(--vp-line); border-radius: 8px; background-color: var(--vp-soft); font: 600 14px/1.3 inherit; font-family: inherit; color: var(--vp-ink); }
.vp-top__deptname { font-weight: 600; color: var(--vp-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-top__user { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.vp-top__who { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; margin-right: 8px; }
.vp-top__who strong { font-size: 14px; }
.vp-top__who small { font-size: 12px; color: var(--vp-muted); }
.vp-top__icon { display: inline-flex; padding: 8px; border-radius: 8px; color: var(--vp-muted) !important; }
.vp-top__icon:hover { background: var(--vp-soft); color: var(--vp-brand) !important; }

.vp-side { position: fixed; top: var(--vp-top); bottom: 0; left: 0; z-index: 20; width: var(--vp-side); overflow-y: auto; padding: 18px 12px 30px; background: var(--vp-brand); background: linear-gradient(180deg, var(--vp-brand), color-mix(in srgb, var(--vp-brand) 82%, #000)); color: #dbe6f3; }
.vp-side__group + .vp-side__group { margin-top: 18px; }
.vp-side__label { display: block; padding: 0 10px 6px; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: color-mix(in srgb, #fff 55%, var(--vp-brand)); }
.vp-side ul { list-style: none; margin: 0; padding: 0; }
.vp-side a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 1px 0; border-radius: 8px; color: #e6eef8 !important; text-decoration: none; font-size: 14px; font-weight: 500; }
.vp-side a .dashicons { font-size: 18px; width: 18px; height: 18px; opacity: .8; }
.vp-side a:hover { background: rgba(255, 255, 255, .09); }
.vp-side a.is-active { background: #fff; color: var(--vp-brand) !important; font-weight: 600; box-shadow: inset 3px 0 0 var(--vp-accent); }
.vp-side a.is-active .dashicons { opacity: 1; }
.vp-scrim { position: fixed; inset: 0; z-index: 15; background: rgba(10, 20, 35, .45); }

.vp-main { margin-left: var(--vp-side); padding: 26px 32px 60px; max-width: calc(1240px + var(--vp-side)); }
.vp-main__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.vp-main__head h1 { margin: 0; font-size: 26px; line-height: 1.2; }
.vp-main__sub { margin: 4px 0 0; color: var(--vp-muted); font-size: 14px; }

/* ---------- building blocks ---------- */
.vp-card { background: var(--vp-card); border: 1px solid var(--vp-line); border-radius: var(--vp-radius); padding: 20px 22px; margin-bottom: 18px; }
.vp-grid2 { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 18px; align-items: start; }
.vp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 18px; }
.vp-tile { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: #fff; border: 1px solid var(--vp-line); border-radius: var(--vp-radius); text-decoration: none; color: var(--vp-ink) !important; }
a.vp-tile:hover { border-color: color-mix(in srgb, var(--vp-brand) 40%, var(--vp-line)); box-shadow: 0 2px 10px rgba(16, 38, 66, .06); }
.vp-tile strong { font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.vp-tile span { font-size: 13px; color: var(--vp-muted); }
.vp-tile { min-width: 0; }
.vp-tile--text strong { font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
.vp-tile.is-warn { border-color: #f1d79c; background: #fffaf0; }
.vp-tile.is-warn strong { color: var(--vp-warn); }
.vp-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.vp-toolbar > .vp-btn:last-child { margin-left: auto; }
.vp-search { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; flex: 1; min-width: 240px; }
.vp-search input[type=search], .vp-filter { flex: 1; min-width: 160px; max-width: 360px; padding: 8px 11px; border: 1px solid var(--vp-line); border-radius: 8px; font: inherit; background: #fff; }
.vp-search select { padding: 8px 10px; border: 1px solid var(--vp-line); border-radius: 8px; font: inherit; background: #fff; }
.vp-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 16px; border-bottom: 1px solid var(--vp-line); }
.vp-tabs a { padding: 9px 14px; margin-bottom: -1px; border-bottom: 3px solid transparent; color: var(--vp-muted) !important; text-decoration: none; font-weight: 600; font-size: 14px; }
.vp-tabs a:hover { color: var(--vp-ink) !important; }
.vp-tabs a.is-active { color: var(--vp-brand) !important; border-bottom-color: var(--vp-accent); }
.vp-list { list-style: none; margin: 0 0 12px; padding: 0; }
.vp-list li { display: flex; gap: 8px; align-items: flex-start; padding: 7px 0; border-bottom: 1px solid var(--vp-soft); }
.vp-list .dashicons { color: var(--vp-brand); }

/* ---------- tables ---------- */
.vp-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--vp-line); border-radius: var(--vp-radius); margin-bottom: 16px; }
.vp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.vp-table th { padding: 10px 14px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--vp-muted); background: #f8f9fb; border-bottom: 1px solid var(--vp-line); white-space: nowrap; }
.vp-table td { padding: 11px 14px; border-bottom: 1px solid var(--vp-line); vertical-align: middle; }
.vp-table tbody tr:last-child td { border-bottom: 0; }
.vp-table tbody tr:hover td { background: #fbfcfd; }
.vp-table small { color: var(--vp-muted); }
.vp-acts { white-space: nowrap; text-align: right; }
.vp-acts > * + * { margin-left: 12px; }
.vp-col-check { width: 36px; }
.vp-docbtns .ngmdm-btn { padding: 4px 9px; font-size: 12px; }
.vp-pages { display: flex; gap: 4px; flex-wrap: wrap; }
.vp-pages a, .vp-pages span { padding: 5px 11px; border: 1px solid var(--vp-line); border-radius: 6px; background: #fff; text-decoration: none; font-size: 14px; }
.vp-pages .current { background: var(--vp-brand); border-color: var(--vp-brand); color: #fff; }
.vp-meter { display: inline-block; width: 90px; height: 7px; border-radius: 99px; background: #e8ecf1; overflow: hidden; vertical-align: middle; }
.vp-meter span { display: block; width: var(--p); height: 100%; background: var(--vp-ok); }
.vp-meter.is-mid span { background: #d39200; }
.vp-meter.is-low span { background: var(--vp-err); }

/* ---------- the same lists drawn by a JetEngine Listing Grid (VYBE CMS > JetEngine > Staff panel) ----------
   The heading row and every row are CSS table rows of one CSS table, so the columns are sized and lined up exactly like
   the table's. The wrappers JetEngine and Elementor put around each row are flattened with display: contents. */
.vp-jtable { display: table; width: 100%; border-collapse: collapse; font-size: 14px; }
/* Elementor gives its own wrappers display: flex with more weight than a plain rule, hence the !important. */
.vp-jtable :has(.vp-jrow) { display: contents !important; }
.vp-jhead, .vp-jrow { display: table-row; }
.vp-jcell { display: table-cell; padding: 11px 14px; border-bottom: 1px solid var(--vp-line); vertical-align: middle; }
.vp-jcell--head { padding: 10px 14px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--vp-muted); background: #f8f9fb; white-space: nowrap; }
.vp-jrow:hover > .vp-jcell { background: #fbfcfd; }
.vp-jrow.is-last > .vp-jcell { border-bottom: 0; }
.vp-jtable small { color: var(--vp-muted); }
.vp-jtable code { white-space: nowrap; font-size: 12px; background: var(--vp-soft); padding: 2px 5px; border-radius: 4px; }
@supports not selector(:has(*)) {
  .vp-jtable { display: block; }
  .vp-jhead, .vp-jrow { display: flex; flex-wrap: wrap; }
  .vp-jcell { display: block; flex: 1 1 120px; }
}

/* ---------- forms (panel editor + embedded field renderer) ---------- */
.vp-form__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.vp-form__head h2 { margin: 0; font-size: 20px; }
.vp-form__links { display: flex; gap: 16px; font-size: 14px; }
.vp-form .ngm-fce-wrap, .vp-root form.vp-form > .ngm-fce-wrap { margin: 0; padding: 22px; background: #fff; border: 1px solid var(--vp-line); border-radius: var(--vp-radius); font-size: 15px; }
.vp-root .ngm-fce-field { margin: 0 0 18px; }
.vp-root .ngm-fce-field > label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; color: var(--vp-ink); }
.vp-root .ngm-fce-help { margin: -2px 0 6px; font-size: 13px; color: var(--vp-muted); }
.vp-root .ngm-fce-field input[type=text], .vp-root .ngm-fce-field input[type=email], .vp-root .ngm-fce-field input[type=url], .vp-root .ngm-fce-field input[type=number], .vp-root .ngm-fce-field input[type=date], .vp-root .ngm-fce-field input[type=datetime-local], .vp-root .ngm-fce-field input[type=time], .vp-root .ngm-fce-field input[type=password], .vp-root .ngm-fce-field select, .vp-root .ngm-fce-field textarea {
  width: 100%; max-width: 720px; padding: 9px 11px; border: 1px solid #cfd6e0; border-radius: 8px; background: #fff; font: inherit; font-size: 15px; color: var(--vp-ink); box-shadow: none;
}
.vp-root .ngm-fce-field input:focus, .vp-root .ngm-fce-field select:focus, .vp-root .ngm-fce-field textarea:focus { border-color: var(--vp-brand); outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--vp-brand) 18%, transparent); }
.vp-root .ngm-fce-field input[disabled] { background: var(--vp-soft); color: var(--vp-muted); }
.vp-root .ngm-fce-field select[multiple] { min-height: 120px; }
.vp-root .ngm-fce-acf-group { margin: 22px 0 0; padding: 18px 18px 4px; border: 1px solid var(--vp-line); border-radius: var(--vp-radius); background: #fcfcfd; }
.vp-root .ngm-fce-acf-group > legend { padding: 0 8px; font-weight: 700; font-size: 15px; color: var(--vp-brand); }
.vp-root .ngm-fce-options { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.vp-root .ngm-fce-option, .vp-root .ngm-fce-check, .vp-check { display: inline-flex; align-items: center; gap: 7px; font-weight: 400; font-size: 14px; }
.vp-root .vp-scroll { max-height: 190px; overflow-y: auto; padding: 10px 12px; border: 1px solid var(--vp-line); border-radius: 8px; background: #fff; max-width: 720px; }
.vp-root .ngm-fce-link { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; max-width: 720px; }
.vp-root .ngm-fce-link .ngm-fce-check { grid-column: 1 / -1; }
.vp-root .ngm-req { color: var(--vp-err); }
.vp-root .ngm-media-actions .ngm-fce-btn, .vp-root .ngm-rep-add, .vp-root .ngm-fce-btn-light { display: inline-flex; align-items: center; padding: 7px 13px; border: 1px solid #cfd6e0; border-radius: 8px; background: #fff; color: var(--vp-brand); font-weight: 600; font-size: 14px; cursor: pointer; }
.vp-root .ngm-rep-row { border: 1px solid var(--vp-line); border-radius: 8px; background: #fff; }
.vp-root .wp-editor-wrap { max-width: 900px; }
.vp-form__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.vp-form .vp-form__buttons { padding-top: 16px; border-top: 1px solid var(--vp-line); }

/* ---------- embedded module screens ---------- */
.vp-dp .ngm-dp-dash { max-width: none; margin: 0; padding: 0; }
.vp-dp .ngm-dp-dash__head, .vp-dp .ngm-dp-dash__nav { display: none !important; }
.vp-dp .ngm-dp-dash__stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 18px; }
.vp-dp .ngm-dp-card { border-radius: var(--vp-radius); box-shadow: none; border-color: var(--vp-line); }
.vp-dp .ngm-dp-dash__stat { padding: 14px 16px; margin: 0; }
.vp-dp .ngm-dp-dash__stat strong { font-size: 26px; line-height: 1.1; }
.vp-dp .ngm-dp-dash__stat span { font-size: 13px; }
.vp-iqac.ngm-fd { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; max-width: none; }
.vp-iqac .ngm-fd-panel { padding: 0; }
.vp-root .ngmdm-upload { margin: 0; }
.vp-root .ngmdm-upload select, .vp-root .ngmdm-upload input[type=text], .vp-root .ngmdm-upload input[type=date] { width: 100%; padding: 8px 10px; border: 1px solid #cfd6e0; border-radius: 8px; background: #fff; font: inherit; font-size: 14px; color: var(--vp-ink); }
.vp-root .ngmdm-upload label { font-weight: 600; font-size: 14px; }
.vp-root .ngmdm-upload__foot { display: none; }

/* ---------- login screen ---------- */
.vp-login-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 16px; background: radial-gradient(1200px 600px at 10% -10%, color-mix(in srgb, var(--vp-accent) 22%, transparent), transparent 60%), linear-gradient(160deg, var(--vp-brand), color-mix(in srgb, var(--vp-brand) 60%, #000)); }
.vp-login { width: 100%; max-width: 430px; }
.vp-login__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; color: #fff; }
.vp-login__logo { height: 58px; width: auto; max-width: 140px; padding: 6px; border-radius: 10px; background: #fff; }
.vp-login__brand div { display: flex; flex-direction: column; line-height: 1.25; }
.vp-login__brand strong { font-size: 17px; }
.vp-login__brand span { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: color-mix(in srgb, #fff 70%, var(--vp-accent)); }
.vp-login__card { padding: 28px 28px 22px; background: #fff; border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.vp-login__card h1 { margin: 0 0 6px; font-size: 24px; }
.vp-login__lead { margin: 0 0 18px; color: var(--vp-muted); font-size: 14px; }
.vp-login__form label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.vp-login__form input[type=text], .vp-login__form input[type=password] { width: 100%; margin-bottom: 14px; padding: 11px 12px; border: 1px solid #cfd6e0; border-radius: 9px; font: inherit; font-size: 16px; }
.vp-login__form input:focus { border-color: var(--vp-brand); outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--vp-brand) 18%, transparent); }
.vp-pass { position: relative; }
.vp-pass input { padding-right: 46px !important; }
.vp-pass__toggle { position: absolute; top: 6px; right: 6px; padding: 6px; border: 0; border-radius: 6px; background: none; color: var(--vp-muted); cursor: pointer; }
.vp-login__form .vp-check { margin: 0 0 16px; font-weight: 400; }
.vp-login__links { margin: 16px 0 0; text-align: center; font-size: 14px; color: var(--vp-muted); }
.vp-login__foot { margin: 16px 0 0; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .75); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .vp-grid2 { grid-template-columns: 1fr; }
  .vp-top__who { display: none; }
}
@media (max-width: 960px) {
  .vp-top { gap: 10px; padding: 0 12px; }
  .vp-top__menu { display: inline-flex; }
  .vp-top__brand { width: auto; }
  .vp-top__brand span { display: none; }
  .vp-side { transform: translateX(-105%); transition: transform .2s ease; box-shadow: 0 0 40px rgba(0, 0, 0, .3); }
  .vp-app.is-menu-open .vp-side { transform: none; }
  .vp-main { margin-left: 0; padding: 20px 16px 50px; }
}
@media (max-width: 720px) {
  .vp-main__head h1 { font-size: 22px; }
  .vp-table thead { display: none; }
  .vp-table, .vp-table tbody, .vp-table tr, .vp-table td { display: block; width: 100%; }
  .vp-table tr { padding: 10px 14px; border-bottom: 1px solid var(--vp-line); }
  .vp-table td { display: flex; gap: 10px; justify-content: space-between; padding: 4px 0; border: 0; text-align: right; }
  .vp-table td[data-label]::before { content: attr(data-label); flex: none; font-size: 12px; font-weight: 700; color: var(--vp-muted); text-align: left; }
  .vp-table td > span { min-width: 0; }
  .vp-table td:first-child[data-label] { text-align: left; }
  .vp-acts { justify-content: flex-start !important; padding-top: 8px !important; }
  .vp-col-check { width: auto; }
  .vp-jtable { display: block; }
  .vp-jhead { display: none; }
  .vp-jrow { display: block; padding: 10px 14px; border-bottom: 1px solid var(--vp-line); }
  .vp-jrow.is-last { border-bottom: 0; }
  .vp-jcell { display: flex; gap: 10px; justify-content: space-between; padding: 4px 0; border: 0; text-align: right; }
  .vp-jrow:hover > .vp-jcell { background: none; }
  .vp-jcell > span { min-width: 0; }
  .vp-jcell[data-label]::before { content: attr(data-label); flex: none; font-size: 12px; font-weight: 700; color: var(--vp-muted); text-align: left; }
  .vp-jcell:first-child[data-label] { text-align: left; }
  .vp-toolbar > .vp-btn:last-child { margin-left: 0; }
  .vp-form .ngm-fce-wrap { padding: 16px; }
  .vp-top__dept select { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .vp-side { transition: none; } }

/* ---- Club desk (My club) ---- */
.vp-club-head { display: flex; gap: 18px; align-items: flex-start; }
.vp-club-head__logo { width: 72px; height: 72px; border-radius: 12px; object-fit: contain; background: var(--vp-soft); border: 1px solid var(--vp-line); flex: none; }
.vp-club-head__logo--empty.dashicons { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; font-size: 36px; line-height: 1; color: var(--vp-muted); }
.vp-club-head__body { min-width: 0; flex: 1; }
.vp-club-head__body h2 { margin: 0 0 4px; font-size: 20px; }
.vp-club-head__tag { margin: 0 0 8px; color: var(--vp-muted); }
.vp-club-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.vp-chip--role { background: color-mix(in srgb, var(--vp-brand) 10%, #fff); color: var(--vp-brand); }
.vp-club-head__links { display: flex; flex-wrap: wrap; gap: 8px; }
.vp-meter--wide { display: block; width: 100%; height: 9px; margin: 4px 0 14px; }
.vp-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 18px; }
.vp-checklist li { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.vp-checklist .dashicons { width: 18px; height: 18px; font-size: 18px; flex: none; }
.vp-checklist li.is-done { color: var(--vp-muted); }
.vp-checklist li.is-done .dashicons { color: var(--vp-ok); }
.vp-checklist li.is-todo .dashicons { color: var(--vp-warn); }
.vp-inline { display: inline; margin: 0; }
.vp-ig .vp-toolbar { margin: 10px 0 4px; }
.vp-ig__token { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--vp-line); }
.vp-ig__token label { display: block; font-weight: 600; margin-bottom: 6px; }
.vp-ig__row { display: flex; flex-wrap: wrap; gap: 8px; }
.vp-ig__row input { flex: 1 1 260px; min-width: 0; padding: 9px 10px; border: 1px solid #cfd6e0; border-radius: 8px; font: inherit; }

/* Office bearers and other coordinators: one row per person */
.vp-rows { margin: 4px 0 2px; }
.vp-rows__head { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 8px; padding-right: 44px; margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--vp-muted); }
.vp-rows__row { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.vp-rows__cells { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 8px; }
.vp-rows__cells input { width: 100%; box-sizing: border-box; padding: 9px 10px; border: 1px solid #cfd6e0; border-radius: 8px; background: #fff; font: inherit; }
.vp-rows__rm { flex: none; width: 36px; height: 38px; border: 1px solid var(--vp-line); border-radius: 8px; background: #fff; color: var(--vp-err); font-size: 20px; line-height: 1; cursor: pointer; }
.vp-rows__rm:hover { background: var(--vp-err-bg); }
.vp-rows__add { margin-top: 2px; }
@media (max-width: 720px) {
  .vp-club-head { flex-direction: column; gap: 12px; }
  .vp-rows__head { display: none; }
  .vp-rows__row { padding: 10px; border: 1px solid var(--vp-line); border-radius: 10px; background: var(--vp-soft); }
  .vp-rows__row { flex-direction: column; align-items: stretch; }
  .vp-rows__cells { grid-template-columns: 1fr; }
  .vp-rows__rm { width: 100%; height: 36px; font-size: 14px; }
  .vp-rows__rm::after { content: " " attr(title); }
}

/* Newsletters: the issue form and the focus mode that frames the designer */
.vp-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 16px; max-width: 760px; }
.vp-grid3 .vp-filter { width: 100%; max-width: none; }
.vp-form__links { flex-wrap: wrap; align-items: center; }
.vp-starters { margin: 6px 0 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; max-width: 820px; }
.vp-starters legend { padding: 0; margin-bottom: 8px; }
.vp-starter { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--vp-line); border-radius: var(--vp-radius); background: #fff; cursor: pointer; }
.vp-starter:hover { background: var(--vp-soft); }
.vp-starter input { margin: 3px 0 0; flex: none; }
.vp-starter span { display: grid; gap: 2px; min-width: 0; }
.vp-starter small { color: var(--vp-muted); font-size: 13px; }
.vp-starter:has(input:checked) { border-color: var(--vp-brand); box-shadow: 0 0 0 2px color-mix(in srgb, var(--vp-brand) 22%, transparent); background: color-mix(in srgb, var(--vp-brand) 5%, #fff); }
.vp-acts > * + .vp-inline { margin-left: 12px; }
.vp-focus .vp-top, .vp-focus .vp-side, .vp-focus .vp-scrim, .vp-focus .vp-main__head { display: none; }
.vp-focus .vp-main { margin: 0; padding: 0; max-width: none; }
@media (max-width: 720px) { .vp-grid3 { grid-template-columns: 1fr; } }

/* 1.12: a note under a field label (e.g. where the text in the biography box came from) */
.vp-root .ngm-fce-note { margin: 0 0 8px; padding: 8px 10px; border-left: 3px solid var(--vp-info, #2f6fb5); background: var(--vp-info-bg, #eef4fb); border-radius: 4px; color: inherit; }

/* 1.14: Club desk — Members (joining, list, add people) and IQAC record */
.vp-join-set { display: grid; gap: 12px; max-width: 760px; }
.vp-join-set .vp-check { align-items: flex-start; }
.vp-join-set .vp-check input { margin-top: 3px; flex: none; }
.vp-join-set textarea, .vp-add textarea { width: 100%; box-sizing: border-box; padding: 9px 10px; border: 1px solid #cfd6e0; border-radius: 8px; background: #fff; font: inherit; }
.vp-join-set textarea:focus, .vp-add textarea:focus { border-color: var(--vp-brand); outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--vp-brand) 18%, transparent); }
.vp-join-card .vp-h2 .vp-chip, .vp-iqac-card .vp-h2 .vp-chip { vertical-align: middle; margin-left: 6px; }
.vp-add .vp-hint { max-width: 760px; }
.vp-cell { display: block; min-width: 0; } /* a cell with several lines: stays one block beside its label on a phone */
.vp-members .vp-contact a { display: block; overflow-wrap: anywhere; }
.vp-members td small.vp-why { display: block; margin-top: 4px; max-width: 360px; font-style: italic; overflow-wrap: anywhere; }
.vp-iqac-year { flex: none; min-width: 0; align-items: center; }
.vp-iqac-year select { min-width: 150px; }
.vp-iqac-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 12px; padding: 0; font-size: 14px; }
.vp-iqac-facts li::before { content: "\2022"; margin-right: 6px; color: var(--vp-muted); }
.vp-iqac-ref { margin: 0 0 12px; font-size: 14px; color: var(--vp-muted); }
.vp-iqac-ref code, .vp-iqac-table code { white-space: nowrap; font-size: 12px; background: var(--vp-soft); padding: 2px 5px; border-radius: 4px; }
.vp-iqac-table small.vp-iqac-why { display: block; margin-top: 4px; max-width: 340px; color: var(--vp-err); overflow-wrap: anywhere; }
.vp-iqac-card .vp-form__buttons { align-items: center; }
.vp-iqac-card .vp-alert { max-width: 760px; }
@media (max-width: 720px) {
  .vp-members td small.vp-why, .vp-iqac-table small.vp-iqac-why { max-width: none; text-align: right; }
  .vp-iqac-year { width: 100%; }
}

/* 1.15: profile completeness and citation figures on a staff profile's form */
.vp-complete .vp-h2 .vp-chip { vertical-align: middle; margin-left: 6px; }
.vp-meter { height: 8px; margin: 2px 0 10px; border-radius: 999px; background: var(--vp-soft); overflow: hidden; }
.vp-meter span { display: block; height: 100%; border-radius: 999px; background: var(--vp-brand, #0b3d6e); }
.vp-complete .vp-hint, .vp-cite .vp-hint { margin-bottom: 0; }
.vp-cite .vp-inline { margin-top: 10px; display: inline-block; }

/* 1.16: MOOC record */
.vp-root .vp-muted { color: var(--vp-muted); }
.vp-root .vp-mooc-import code { display: inline-block; padding: 6px 10px; background: #f3f5f9; border-radius: 8px; font-size: 13px; overflow-wrap: anywhere; }
.vp-root .vp-mooc-table small { color: var(--vp-muted); }
/* 1.18 AQAR figures in the panel */
.vybe-aqar .vybe-aqar__fig{font-weight:600}
.vybe-aqar .vybe-aqar__actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:14px 0}
.vybe-aqar .vybe-aqar__make{display:inline-flex;gap:6px;align-items:center;font-weight:400}
.vybe-aqar .vybe-aqar__lead{max-width:860px}
.vybe-aqar .vybe-aqar__table .check-column{width:34px}
.vybe-aqar .vybe-aqar__table code{font-size:13px;background:#eef2f7;padding:2px 6px;border-radius:4px}
.vybe-aqar .button-link{background:none;border:0;padding:0;color:#0b3e6b;text-decoration:underline;cursor:pointer;font:inherit}
.vybe-aqar .notice p{margin:0}
.vybe-aqar__gap summary{cursor:pointer;font-weight:600;padding:8px 0}
.vybe-aqar__gap ul{margin:4px 0 12px 20px}
.vybe-aqar__count{display:inline-block;background:#b42318;color:#fff;border-radius:999px;font-size:12px;padding:2px 8px;margin-left:6px}
.vybe-aqar__tiles .vp-tile span{font-size:13px;line-height:1.35}
.vybe-aqar .vp-btn{white-space:normal;max-width:100%;text-align:center;min-height:44px}
