/* =====================================================================
   EDVEXA - Branding, stage 2 (docs/BRANDING.md). Loaded after branding.css.
   Styles for: the "Wording, documents and contact" panel, the sign-in links,
   and the "Help & policies" box. Nothing here changes how the portal looks
   until an institute sets something. Undo = remove this file's line from index.html.
   ===================================================================== */

/* ---------- sign-in page: website, hours, terms, privacy ---------- */
.auth-card .bd2-legal { margin: 12px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--slate); }
.auth-card .bd2-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.auth-card .bd2-legal a { color: var(--brand-text, var(--brand)); font-weight: 600; }

/* ---------- Help & policies box ---------- */
.bd2-rows { display: grid; gap: 0; }
.bd2-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.bd2-row:last-child { border-bottom: 0; }
.bd2-row > span:first-child { color: var(--slate); font-size: 14px; flex: none; }
.bd2-row a { color: var(--brand-text, var(--brand)); font-weight: 600; word-break: break-all; text-align: right; }
.bd2-row > span:last-child { text-align: right; }

/* ---------- admin panel ---------- */
.bd2-panel h3 { margin: 24px 0 8px; font-size: 15px; }
.bd2-panel h3:first-of-type { margin-top: 18px; }
.bd2-words { display: grid; gap: 8px; margin: 12px 0 4px; }
.bd2-word { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(0, 1.3fr) minmax(0, 1.3fr); gap: 12px; align-items: end; padding: 10px 12px; border: 1px solid var(--rule); border-radius: var(--radius-sm); }
.bd2-word label { display: grid; gap: 4px; margin: 0; min-width: 0; }
.bd2-word input { width: 100%; min-width: 0; }
.bd2-std { display: grid; gap: 2px; align-self: center; min-width: 0; }
.bd2-shown { display: block; }
.bd2-cap { font-size: 12px; color: var(--slate); font-weight: 600; }
div.bd2-cap { align-self: center; }
@media (max-width: 700px) {
  .bd2-word { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bd2-std { grid-column: 1 / -1; }
}
.bd2-doc { display: flex; gap: 12px; align-items: flex-start; margin: 10px 0; padding: 10px 12px; border: 1px solid var(--rule); border-radius: var(--radius-sm); }
.bd2-doc .hint, .bd2-doc strong { display: block; }
.bd2-panel .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 10px; }
