/* =====================================================================
   VacancyBoard — design tokens
   Concept: a job/interview notice board. Slab-serif headings read like
   a printed bulletin; each listing is a "posted notice" with a small
   pin-dot marker; the interview date/time is treated as a stamped
   callout since it's the one detail a candidate must act on.
   Palette: red & black, matched to the Kalvi Higher Education and
   Research Institute mark.
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  /* color */
  --ink: #000000;
  --ink-70: rgba(0, 0, 0, 0.72);
  --ink-40: rgba(0, 0, 0, 0.46);
  --ink-12: rgba(0, 0, 0, 0.12);
  --ink-06: rgba(0, 0, 0, 0.06);
  --paper: #F1F1F3;
  --card: #FFFFFF;
  --amber: #E4262D;
  --amber-dark: #B91B21;
  --amber-tint: #FBE8E8;
  --teal: #4A7D53;
  --teal-tint: #E9F2EA;
  --rust: #9E1B1B;
  --rust-tint: #F7E4E2;

  /* type */
  --font-head: 'Zilla Slab', Georgia, serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;

  --radius: 6px;
  --radius-lg: 10px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--sp-3);
  color: var(--ink);
}
h1 { font-size: 2.1rem; font-weight: 700; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 var(--sp-3); max-width: 66ch; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--amber-dark);
  outline-offset: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

/* ---------------------------------------------------------------- nav */
.site-nav {
  background: var(--card);
  border-bottom: 1px solid var(--ink-12);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  padding-top: var(--sp-3);
  padding-bottom: var(--sp-3);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-dot {
  width: 11px; height: 11px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}
.brand-logo {
  height: 38px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.brand-tag {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--ink-40);
  border: 1px solid var(--ink-12);
  border-radius: 20px;
  padding: 2px 9px;
  margin-left: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  list-style: none;
  margin: 0; padding: 0;
  flex-wrap: wrap;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-70);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--ink);
  border-bottom-color: var(--amber);
}
.nav-user {
  font-size: 0.9rem;
  color: var(--ink-40);
  margin-right: var(--sp-2);
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 11px 20px;
  border-radius: var(--radius);
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  line-height: 1.2;
}
.btn:hover { background: #1A1A1A; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-12);
}
.btn-outline:hover { border-color: var(--ink); background: var(--ink-06); }
.btn-amber {
  background: var(--amber);
  border-color: var(--amber);
  color: white;
}
.btn-amber:hover { background: var(--amber-dark); border-color: var(--amber-dark); color: #fff; }
.btn-danger {
  background: transparent;
  border-color: var(--rust);
  color: var(--rust);
}
.btn-danger:hover { background: var(--rust); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 0.83rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------------------------------------------------------------- cards / layout */
.card {
  background: var(--card);
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}
.page-head {
  padding: var(--sp-7) 0 var(--sp-5);
}
.page-head p { color: var(--ink-70); }
.eyebrow-note {
  color: var(--ink-40);
  font-size: 0.88rem;
}

.stack { display: flex; flex-direction: column; gap: var(--sp-4); }

/* ------------------------------------------------------------ auth forms */
.auth-wrap {
  max-width: 440px;
  margin: var(--sp-8) auto;
  padding: 0 var(--sp-5);
}
.auth-wrap .card { padding: var(--sp-6); }
.auth-wrap h1 { font-size: 1.6rem; }
.auth-foot {
  margin-top: var(--sp-5);
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-70);
}
.auth-foot a { color: var(--amber-dark); font-weight: 600; text-decoration: none; }

/* ------------------------------------------------------------ form fields */
.field { margin-bottom: var(--sp-4); }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.field .hint { display: block; font-size: 0.8rem; color: var(--ink-40); margin-top: 5px; }

/* Small right-aligned link under a field — used for "Forgot password?". */
.field-link {
  display: inline-block;
  margin-top: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--amber-dark);
  text-decoration: none;
}
.field-link:hover { text-decoration: underline; }

/* Password input with a Show/Hide button tucked inside the right edge.
   The extra right padding stops long passwords running under the button. */
.password-field { position: relative; }
.password-field input[type=password],
.password-field input[type=text] { padding-right: 64px; }
.password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-40);
  padding: 6px 8px;
  border-radius: var(--radius);
}
.password-toggle:hover { color: var(--ink); background: var(--ink-06); }

input[type=text], input[type=email], input[type=password], input[type=tel],
input[type=date], input[type=datetime-local], input[type=search],
select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--ink-12);
  border-radius: var(--radius);
  padding: 11px 13px;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus {
  border-color: var(--ink-40);
  outline: none;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--sp-4);
}
.form-grid .field-full { grid-column: 1 / -1; }
.readonly-box {
  background: var(--ink-06);
  border: 1.5px dashed var(--ink-12);
  border-radius: var(--radius);
  padding: 11px 13px;
  color: var(--ink-70);
  font-size: 0.92rem;
}

/* ------------------------------------------------------------ file upload */
.upload-box {
  border: 1.5px dashed var(--ink-12);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  text-align: center;
  background: var(--ink-06);
}
.upload-preview {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: var(--sp-3);
  background: #fff;
  border: 1px solid var(--ink-12);
  display: none;
}
.upload-preview.has-image { display: block; }
.upload-box input[type=file] {
  width: 100%;
  font-size: 0.85rem;
}

/* ------------------------------------------------------------ flash & alerts */
.flash {
  padding: 13px 18px;
  border-radius: var(--radius);
  margin-bottom: var(--sp-5);
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  animation: flash-in 0.25s ease;
}
.flash-success { background: var(--teal-tint); color: var(--teal); border-color: rgba(31,111,92,0.25); }
.flash-error { background: var(--rust-tint); color: var(--rust); border-color: rgba(194,69,27,0.25); }
.flash-notice {
  background: var(--amber-tint); color: var(--amber-dark); border-color: rgba(228,38,45,0.2);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap;
}
.flash-notice .btn-sm { flex-shrink: 0; }
@keyframes flash-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.field-error { color: var(--rust); font-size: 0.85rem; margin-top: 5px; }

/* ------------------------------------------------------------ tags / badges */
.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 20px;
  background: var(--ink-06);
  color: var(--ink-70);
  white-space: nowrap;
}
.badge-interview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius);
  background: var(--amber-tint);
  color: var(--amber-dark);
  white-space: nowrap;
}
.badge-interview svg { flex-shrink: 0; }

/* ------------------------------------------------------------ filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: end;
  background: var(--card);
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.filter-bar .field { margin-bottom: 0; flex: 1 1 180px; }
.filter-bar .field-search { flex: 2 1 240px; }

/* ------------------------------------------------------------ jobs table */
.table-wrap {
  background: var(--card);
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
table.jobs-table { width: 100%; min-width: 980px; border-collapse: collapse; }
.jobs-table th {
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-40);
  padding: 13px var(--sp-4);
  border-bottom: 1px solid var(--ink-12);
  background: var(--ink-06);
}
.jobs-table td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--ink-12);
  vertical-align: middle;
  font-size: 0.92rem;
}
.jobs-table tbody tr:last-child td { border-bottom: none; }
.jobs-table tbody tr:hover { background: var(--ink-06); }

.poster-thumb {
  width: 52px; height: 52px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--ink-12);
  display: block;
  background: var(--ink-06);
}
.poster-thumb-fallback {
  width: 52px; height: 52px;
  border-radius: 8px;
  border: 1px solid var(--ink-12);
  background: var(--ink-06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-40);
  flex-shrink: 0;
}
.job-title-cell { font-weight: 600; color: var(--ink); }
.job-desc-cell {
  color: var(--ink-70);
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.location-cell { display: flex; align-items: center; gap: 6px; color: var(--ink-70); }
.posted-cell .posted-ago { display: block; font-size: 0.78rem; color: var(--ink-40); }
.row-actions { display: flex; gap: 8px; white-space: nowrap; }
.jobs-table td:last-child, .jobs-table th:last-child { white-space: nowrap; }
.pin-cell { display: flex; align-items: center; gap: 12px; }

.empty-state {
  text-align: center;
  padding: var(--sp-8) var(--sp-5);
  color: var(--ink-40);
}
.empty-state h3 { color: var(--ink-70); }

/* mobile: table becomes stacked notice cards */
@media (max-width: 800px) {
  .table-wrap { overflow-x: visible; }
  .jobs-table { min-width: 0; }
  .jobs-table thead { display: none; }
  .jobs-table, .jobs-table tbody, .jobs-table tr, .jobs-table td { display: block; width: 100%; }
  .jobs-table tr {
    padding: var(--sp-4);
    border-bottom: 8px solid var(--paper);
  }
  .jobs-table td {
    border: none;
    padding: 6px 0;
  }
  .jobs-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink-40);
    margin-bottom: 3px;
  }
  .job-desc-cell { max-width: none; white-space: normal; }
  .row-actions { padding-top: 6px; white-space: normal; }
  .jobs-table td:last-child, .jobs-table th:last-child { white-space: normal; }
}

/* ------------------------------------------------------------ dashboard stat cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  position: relative;
}
.stat-card .stat-num {
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
}
.stat-card .stat-label { color: var(--ink-70); font-size: 0.88rem; }
.stat-card .stat-dot {
  position: absolute; top: var(--sp-5); right: var(--sp-5);
  width: 9px; height: 9px; border-radius: 50%;
}
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stat-grid { grid-template-columns: 1fr; } }

.quick-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-6); }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: var(--sp-4); flex-wrap: wrap; gap: var(--sp-2);
}
.section-head h2 { margin-bottom: 0; }
.section-head a { color: var(--amber-dark); font-weight: 600; text-decoration: none; font-size: 0.92rem; }

/* ------------------------------------------------------------ preview grid (user dashboard) */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.preview-card {
  background: var(--card);
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}
.preview-card .preview-img {
  width: 100%; height: 140px; object-fit: cover;
  border-bottom: 1px solid var(--ink-12);
  background: var(--ink-06);
}
.preview-card .preview-body { padding: var(--sp-4); }
.preview-card h3 { font-size: 1rem; margin-bottom: 4px; }
.preview-card .preview-meta { font-size: 0.82rem; color: var(--ink-40); }
@media (max-width: 900px) { .preview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .preview-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ dashboard layout / Recent Institute Update */
.dashboard-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--sp-6);
  align-items: start;
}
.dashboard-side { position: sticky; top: 90px; }
.institute-card {
  background: var(--card);
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.institute-card-head { padding: var(--sp-4) var(--sp-4) 0; }
.institute-card-head h2 { font-size: 1.05rem; margin: 0 0 var(--sp-3); }
.institute-poster {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
  background: var(--ink-06);
  border-top: 1px solid var(--ink-12);
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}
.institute-poster:hover, .institute-poster:focus { opacity: 0.9; outline: none; }
.institute-poster-empty {
  padding: var(--sp-6) var(--sp-4);
  text-align: center;
  color: var(--ink-40);
  border-top: 1px solid var(--ink-12);
  font-size: 0.9rem;
}
.institute-card-foot {
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.8rem;
  color: var(--ink-40);
  border-top: 1px solid var(--ink-12);
}
@media (max-width: 900px) {
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-side { position: static; }
}

/* ------------------------------------------------------------ poster lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox-img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.lightbox-close {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.3); }

/* ------------------------------------------------------------ misc table helpers */
.text-truncate {
  display: inline-block;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

/* ------------------------------------------------------------ job detail page */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-70);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  margin-bottom: var(--sp-5);
}
.back-link:hover { color: var(--ink); }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--sp-6);
  align-items: start;
}
.detail-poster-wrap {
  position: sticky;
  top: 90px;
}
.detail-poster {
  width: 100%;
  max-height: 78vh;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-12);
  display: block;
  object-fit: contain;
  background: var(--ink-06);
}
.detail-poster-fallback {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  border: 1.5px dashed var(--ink-12);
  background: var(--ink-06);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-40);
  flex-direction: column;
  gap: 8px;
}

.detail-title { font-size: 2rem; margin-bottom: var(--sp-2); }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--sp-5); }

.interview-callout {
  background: var(--amber-tint);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-5);
}
.interview-callout .label {
  font-size: 0.78rem; font-weight: 600; color: var(--amber-dark);
  margin-bottom: 4px; display:block;
}
.interview-callout .value {
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--ink);
}

.detail-fact-row {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--ink-12);
  font-size: 0.95rem;
}
.detail-fact-row:last-child { border-bottom: none; }
.detail-fact-row .fact-label { width: 150px; flex-shrink: 0; color: var(--ink-40); font-weight: 600; font-size: 0.85rem; }
.detail-fact-row .fact-value { color: var(--ink); }

.detail-desc h3 { margin-top: var(--sp-5); }
.detail-desc p { white-space: pre-line; color: var(--ink-70); max-width: none; }

@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-poster-wrap { position: static; }
}

/* ------------------------------------------------------------ hero (landing) */
.hero {
  padding: var(--sp-8) 0 var(--sp-7);
  border-bottom: 1px solid var(--ink-12);
  background: var(--card);
}
.hero .container { max-width: 760px; text-align: left; }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--amber-dark); font-weight: 600; font-size: 0.88rem;
  margin-bottom: var(--sp-3);
}
.hero h1 { font-size: 2.6rem; max-width: 16ch; }
.hero p { font-size: 1.1rem; color: var(--ink-70); max-width: 50ch; }
.hero .hero-actions { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); flex-wrap: wrap; }

/* ------------------------------------------------------------ footer */
.site-footer {
  border-top: 1px solid var(--ink-12);
  margin-top: var(--sp-8);
  padding: var(--sp-5) 0;
  color: black;
  font-size: 0.85rem;
}
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-2); }

/* ------------------------------------------------------------ misc */
.text-muted { color: var(--ink-40); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.divider { height: 1px; background: var(--ink-12); border: none; margin: var(--sp-5) 0; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .container { padding: 0 var(--sp-4); }
}









.logout-btn {
    display: inline-block;
    padding: 10px 16px;
    background: #ff0000;
    color: #fff !important;
    border: 1px solid #000;
    border-radius: 6px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
}

.logout-btn:hover {
    background: #e4262d;
    border-color: #e4262d;
    color: #fff !important;
}

/* ------------------------------------------------------------ captcha */
/* Reserve the widget's height so the form doesn't jump when Google's script loads. */
.captcha-field { min-height: 78px; margin-bottom: var(--sp-4); }

/* Admin -> Captcha settings */
.check-row {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
}
.check-row input[type=checkbox] { width: 18px; height: 18px; margin: 0; flex-shrink: 0; }

/* Persistent status boxes (unlike .flash these never auto-dismiss). */
.callout {
  padding: 13px 18px;
  border-radius: var(--radius);
  margin-bottom: var(--sp-4);
  font-size: 0.92rem;
  border: 1px solid transparent;
}
.callout-ok    { background: var(--teal-tint);  color: var(--teal);       border-color: rgba(31,111,92,0.25); }
.callout-warn  { background: var(--amber-tint); color: var(--amber-dark); border-color: rgba(228,38,45,0.2); }
.callout-error { background: var(--rust-tint);  color: var(--rust);       border-color: rgba(194,69,27,0.25); }
.callout-off   { background: var(--ink-06);     color: var(--ink-70);     border-color: var(--ink-12); }
.callout a { color: inherit; font-weight: 600; }

.hint-inline { font-size: 0.82rem; color: var(--ink-40); margin-left: var(--sp-2); }

.steps-list { padding-left: 1.2rem; margin: 0 0 var(--sp-3); }
.steps-list li { margin-bottom: var(--sp-2); line-height: 1.55; }
.steps-list code, .callout code, .hint code {
  background: var(--ink-06);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}
