/* TalentPilot Design System
   Light theme, Sora typography
   Refined, professional, enterprise-grade
*/

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&display=swap');

:root {
  /* TalentPilot Brand */
  --brand-primary: #0b64f7;       /* "Pilot" blue */
  --brand-primary-dark: #0a4fc7;
  --brand-primary-light: #e6efff;
  --brand-navy: #072345;          /* "Talent" dark navy */
  --brand-accent: #14a8c8;        /* teal figure */
  --brand-magenta: #e02878;       /* magenta figure */
  --brand-purple: #7867dc;        /* purple figure */
  --brand-green: #64a828;         /* green figure */

  /* Backwards-compatible aliases (the CSS still references --blu-* in places) */
  --blu-primary: var(--brand-primary);
  --blu-primary-dark: var(--brand-primary-dark);
  --blu-primary-light: var(--brand-primary-light);
  --blu-accent: var(--brand-accent);
  --blu-coral: var(--brand-magenta);

  /* Text */
  --text-primary: #0f1230;
  --text-secondary: #535771;
  --text-muted: #888aa0;
  --text-faint: #b6b8c9;

  /* Surface */
  --bg-page: #f6f7fb;
  --bg-surface: #ffffff;
  --bg-subtle: #f4f6ff;
  --bg-hover: #f0f2fa;

  /* Border */
  --border-color: #ececf2;
  --border-strong: #d9dbe6;

  /* Status */
  --success: #1eaa6b;
  --success-bg: #e7f7ee;
  --warning: #f59e0b;
  --warning-bg: #fef4e1;
  --danger: #e74c5b;
  --danger-bg: #fde8ea;
  --info: #3b82f6;
  --info-bg: #e6efff;

  /* Spacing */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(20,30,80,0.04);
  --shadow-md: 0 4px 12px rgba(20,30,80,0.06);
  --shadow-lg: 0 12px 32px rgba(20,30,80,0.08);

  /* Font */
  --font-sans: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

a { color: var(--blu-primary); text-decoration: none; }
a:hover { color: var(--blu-primary-dark); }

img { max-width: 100%; display: block; }

/* ============= LAYOUT ============= */
.app-shell { display: flex; min-height: 100vh; }

.sidebar {
  width: 240px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-color);
  position: fixed; top: 0; left: 0; bottom: 0;
  display: flex; flex-direction: column;
  z-index: 100;
}

.sidebar .brand {
  padding: 22px 20px 16px;
  border-bottom: 1px solid var(--border-color);
}
.sidebar .brand-link { display: block; text-decoration: none; }
.sidebar .brand-logo { display: block; height: 38px; width: auto; }
.sidebar .brand-name {
  font-size: 20px; font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.sidebar .brand-name .blu { color: var(--blu-primary); }
.sidebar .brand-tag {
  font-size: 11px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 8px;
}

.sidebar nav { padding: 12px 0; overflow-y: auto; flex: 1; }
.sidebar .nav-section {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 12px 20px 6px;
  font-weight: 600;
}
.sidebar a.nav-item {
  display: flex; align-items: center;
  gap: 10px;
  padding: 9px 20px;
  color: var(--text-secondary);
  font-size: 13px; font-weight: 500;
  border-left: 3px solid transparent;
  transition: all .15s;
}
.sidebar a.nav-item:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}
.sidebar a.nav-item.active {
  background: var(--blu-primary-light);
  color: var(--blu-primary);
  border-left-color: var(--blu-primary);
}
.sidebar a.nav-item .icon {
  width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-muted);
}

.main {
  margin-left: 240px;
  flex: 1;
  display: flex; flex-direction: column;
  min-width: 0;
}

.topbar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 28px;
  display: flex; align-items: center;
  gap: 16px;
  position: sticky; top: 0; z-index: 50;
}
.topbar h1 {
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.topbar .search {
  flex: 1; max-width: 400px;
  margin-left: auto;
}
.topbar .user-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 6px;
  background: var(--bg-subtle);
  border-radius: 30px;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
  text-decoration: none;
}
.topbar .user-chip .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blu-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
}

.content {
  padding: 28px;
  flex: 1;
}

/* ============= COMPONENTS ============= */

/* Cards */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.card.compact { padding: 14px; }
.card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.card-title {
  font-size: 15px; font-weight: 600;
  color: var(--text-primary);
}
.card-subtle {
  font-size: 12px; color: var(--text-muted);
}

/* Stat tiles */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.stat {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
}
.stat .stat-label {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}
.stat .stat-value {
  font-size: 28px; font-weight: 700;
  color: var(--text-primary);
  margin: 6px 0 4px;
  letter-spacing: -0.02em;
}
.stat .stat-delta {
  font-size: 12px; color: var(--text-secondary);
}
.stat .stat-delta.up { color: var(--success); }
.stat .stat-delta.down { color: var(--danger); }
.stat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--blu-primary);
  opacity: 0.6;
}
.stat.warn::before { background: var(--warning); }
.stat.danger::before { background: var(--danger); }
.stat.success::before { background: var(--success); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  background: var(--blu-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
}
.btn:hover { background: var(--blu-primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn.btn-secondary:hover { background: var(--bg-hover); color: var(--text-primary); transform: none; }
.btn.btn-ghost {
  background: transparent; color: var(--text-secondary);
}
.btn.btn-ghost:hover { background: var(--bg-hover); color: var(--text-primary); }
.btn.btn-danger { background: var(--danger); }
.btn.btn-danger:hover { background: #c8404e; }
.btn.btn-success { background: var(--success); }
.btn.btn-success:hover { background: #178a55; }
.btn.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn.btn-lg { padding: 12px 22px; font-size: 14px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 6px;
}
.form-label .req { color: var(--danger); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-primary);
  transition: border .15s, box-shadow .15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--blu-primary);
  box-shadow: 0 0 0 3px rgba(11,100,247,0.12);
}
.form-textarea { min-height: 90px; resize: vertical; }
.form-help { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

/* Password field with eye icon */
.password-wrap {
  position: relative;
}
.password-wrap input {
  width: 100%;
  padding: 10px 44px 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-primary);
}
.password-wrap input:focus {
  outline: none;
  border-color: var(--blu-primary);
  box-shadow: 0 0 0 3px rgba(11,100,247,0.12);
}
.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.password-toggle:hover { color: var(--text-primary); background: var(--bg-hover); }
.password-toggle svg { width: 18px; height: 18px; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border-color); background: var(--bg-surface); }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
table.data th {
  background: var(--bg-subtle);
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border-color);
}
table.data td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  vertical-align: middle;
}
table.data tr:last-child td { border-bottom: none; }
table.data tr:hover td { background: var(--bg-hover); }

/* Badges / Pills */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 30px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  text-transform: capitalize;
}
.badge.success { background: var(--success-bg); color: var(--success); }
.badge.warn { background: var(--warning-bg); color: var(--warning); }
.badge.danger { background: var(--danger-bg); color: var(--danger); }
.badge.info { background: var(--info-bg); color: var(--info); }
.badge.primary { background: var(--blu-primary-light); color: var(--blu-primary); }

/* Alert */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-size: 13px;
  border: 1px solid transparent;
}
.alert.info { background: var(--info-bg); color: #1d4ed8; border-color: #b8cdff; }
.alert.success { background: var(--success-bg); color: #0f7a48; border-color: #b1e8c9; }
.alert.warning { background: var(--warning-bg); color: #92590b; border-color: #f3d287; }
.alert.danger { background: var(--danger-bg); color: #a72c3a; border-color: #f4b1b9; }

/* Tabs */
.tabs {
  display: flex; gap: 2px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}
.tabs a {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tabs a:hover { color: var(--text-primary); }
.tabs a.active {
  color: var(--blu-primary);
  border-bottom-color: var(--blu-primary);
  font-weight: 600;
}

/* Pipeline (Kanban) */
.pipeline {
  display: flex; gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  min-height: 480px;
}
.pipe-col {
  min-width: 240px; max-width: 260px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
}
.pipe-col-head {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  display: flex; justify-content: space-between; align-items: center;
}
.pipe-col-title { font-size: 12px; font-weight: 600; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.06em; }
.pipe-col-count {
  font-size: 11px; padding: 2px 8px;
  border-radius: 10px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-weight: 600;
}
.pipe-col-body { padding: 10px; min-height: 100px; flex: 1; overflow-y: auto; }
.pipe-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: 12px;
  cursor: grab;
  transition: all .15s;
}
.pipe-card:hover { box-shadow: var(--shadow-sm); border-color: var(--blu-primary); }
.pipe-card.dragging { opacity: 0.5; }
.pipe-card .name { font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.pipe-card .meta { font-size: 11px; color: var(--text-muted); display: flex; justify-content: space-between; }

/* Login */
.login-page {
  min-height: 100vh;
  display: flex;
  background: linear-gradient(135deg, #f6f7fb 0%, #eef0ff 100%);
}
.login-left {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.login-left::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,100,247,0.08) 0%, transparent 70%);
  top: -200px; right: -200px;
}
.login-card {
  background: var(--bg-surface);
  width: 100%; max-width: 420px;
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.login-brand {
  margin-bottom: 16px;
}
.login-brand img { display: block; height: 44px; width: auto; }
.login-brand .blu { color: var(--blu-primary); }
.login-tag { color: var(--text-muted); font-size: 13px; margin-bottom: 32px; }
.login-right {
  flex: 1;
  background: var(--blu-primary);
  background: linear-gradient(135deg, #0b64f7 0%, #0a4fc7 60%, #072345 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.login-right::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
  bottom: -300px; left: -200px;
}
.login-right .promo {
  max-width: 440px;
  position: relative; z-index: 1;
}
.login-right .promo h2 {
  font-size: 36px; font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.login-right .promo p { font-size: 15px; opacity: 0.85; line-height: 1.6; }
.login-right .features {
  margin-top: 32px;
  display: grid; gap: 10px;
}
.login-right .features div {
  font-size: 13px; opacity: 0.85;
  display: flex; gap: 8px;
}

@media (max-width: 900px) {
  .login-right { display: none; }
  .sidebar { transform: translateX(-100%); transition: transform .2s; }
  .sidebar.open { transform: translateX(0); }
  .main { margin-left: 0; }
}

/* Utils */
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-end { display: flex; justify-content: flex-end; align-items: center; }
.gap-sm { gap: 8px; } .gap-md { gap: 14px; } .gap-lg { gap: 20px; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 12px; }
.text-xs { font-size: 11px; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 24px; }
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.w-full { width: 100%; }

/* Funnel */
.funnel { display: flex; flex-direction: column; gap: 4px; }
.funnel-row {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex; justify-content: space-between; align-items: center;
  position: relative;
  overflow: hidden;
}
.funnel-row::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(11,100,247,0.15), rgba(11,100,247,0.05));
  width: var(--pct, 100%);
}
.funnel-row > * { position: relative; z-index: 1; }
.funnel-stage { font-weight: 600; font-size: 13px; color: var(--text-primary); }
.funnel-meta { display: flex; gap: 14px; font-size: 12px; color: var(--text-secondary); }

/* Approval timeline */
.approval-timeline { display: flex; flex-direction: column; gap: 10px; }
.appr-step {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}
.appr-step.approved { border-left: 3px solid var(--success); }
.appr-step.pending { border-left: 3px solid var(--warning); }
.appr-step.rejected { border-left: 3px solid var(--danger); }
.appr-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-subtle);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.appr-step.approved .appr-step-num { background: var(--success-bg); color: var(--success); }
.appr-step.pending .appr-step-num { background: var(--warning-bg); color: var(--warning); }
.appr-step.rejected .appr-step-num { background: var(--danger-bg); color: var(--danger); }
.appr-step-body { flex: 1; }
.appr-step-title { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.appr-step-meta { font-size: 11px; color: var(--text-muted); }
.appr-step-comment { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--border-color); font-size: 12px; color: var(--text-secondary); }

/* Modal */
.modal-bg {
  position: fixed; inset: 0; background: rgba(15,18,48,0.5);
  display: none; align-items: center; justify-content: center;
  z-index: 200; padding: 20px;
}
.modal-bg.show { display: flex; }
.modal {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 600px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-head { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
.modal-head h3 { font-size: 16px; font-weight: 600; }
.modal-body { padding: 20px; }
.modal-foot { padding: 14px 20px; border-top: 1px solid var(--border-color); display: flex; justify-content: flex-end; gap: 10px; }

/* Public careers page */
.careers-hero {
  background: linear-gradient(135deg, #0b64f7 0%, #0a4fc7 100%);
  color: #fff;
  padding: 64px 28px;
  text-align: center;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  margin-bottom: 28px;
}
.careers-hero h1 { font-size: 42px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.careers-hero p { font-size: 16px; opacity: 0.9; }
.careers-search {
  max-width: 700px; margin: 24px auto 0;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 8px;
  display: flex; gap: 8px;
}
.careers-search input { flex: 1; border: none; padding: 12px; font-size: 14px; color: var(--text-primary); font-family: var(--font-sans); }
.careers-search input:focus { outline: none; }
.careers-jobs {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px 60px;
}
.job-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 14px;
  transition: all .2s;
}
.job-card:hover { border-color: var(--blu-primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.job-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.job-card .job-meta { display: flex; gap: 14px; font-size: 12px; color: var(--text-muted); margin-bottom: 12px; flex-wrap: wrap; }
.job-card .job-desc { color: var(--text-secondary); font-size: 13px; line-height: 1.6; }

/* Empty state */
.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty .icon { font-size: 48px; opacity: 0.3; margin-bottom: 12px; }
.empty h3 { font-size: 16px; color: var(--text-secondary); margin-bottom: 6px; }

/* Page header */
.page-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap; gap: 12px;
}
.page-head h1 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.page-head p { color: var(--text-muted); font-size: 13px; margin-top: 2px; }

/* Two column layout */
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
@media (max-width: 1100px) { .two-col { grid-template-columns: 1fr; } }
.three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }

/* Print friendly */
@media print {
  .sidebar, .topbar { display: none; }
  .main { margin: 0; }
  .content { padding: 0; }
}

/* ============ PUBLIC (non-authenticated) PAGES ============ */
.public-body { background: #f6f7fb; min-height: 100vh; display: flex; flex-direction: column; }
.public-header { background: #fff; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 50; }
.public-header-inner { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; }
.public-brand img { display: block; height: 36px; width: auto; }
.public-nav { display: flex; align-items: center; gap: 16px; }
.public-nav a { color: var(--text-primary); text-decoration: none; font-weight: 500; font-size: 14px; }
.public-nav a:hover { color: var(--blu-primary); }
.public-main { flex: 1; max-width: 1200px; margin: 0 auto; padding: 32px 24px; width: 100%; }
.public-footer { background: #fff; border-top: 1px solid var(--border-color); }
.public-footer-inner { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }

.public-card { max-width: 640px; margin: 32px auto; background: #fff; border: 1px solid var(--border-color); border-radius: 14px; padding: 32px; box-shadow: var(--shadow-sm); }
.public-card h1 { font-size: 28px; margin: 0 0 8px; letter-spacing: -0.02em; }
.public-card h2 { font-size: 20px; margin: 16px 0 4px; color: var(--text-primary); }

/* Approval action buttons */
.approve-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.btn-approve { background: #1aa86b; color: #fff; border: 1px solid #1aa86b; padding: 12px 28px; border-radius: 10px; font-weight: 600; font-size: 15px; cursor: pointer; }
.btn-approve:hover { background: #168a57; }
.btn-reject { background: #d94560; color: #fff; border: 1px solid #d94560; padding: 12px 28px; border-radius: 10px; font-weight: 600; font-size: 15px; cursor: pointer; }
.btn-reject:hover { background: #b83a51; }

/* Careers portal */
.careers-hero { background: linear-gradient(135deg, #0b64f7 0%, #14a8c8 120%); color: #fff; border-radius: 16px; padding: 56px 32px; text-align: center; margin-bottom: 32px; }
.careers-hero h1 { font-size: 38px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; }
.careers-hero p { font-size: 17px; opacity: 0.95; margin: 0 0 24px; max-width: 620px; margin-left: auto; margin-right: auto; }
.careers-search { max-width: 720px; margin: 0 auto; display: flex; gap: 8px; background: #fff; padding: 8px; border-radius: 12px; }
.careers-search input { flex: 1; border: 0; padding: 12px 16px; font-size: 15px; border-radius: 8px; outline: none; color: var(--text-primary); }
.careers-search button { background: var(--blu-primary); color: #fff; border: 0; padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; }
.careers-filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; padding: 16px; background: #fff; border-radius: 12px; border: 1px solid var(--border-color); }
.careers-filters select { padding: 8px 12px; border: 1px solid var(--border-color); border-radius: 8px; font-family: inherit; }
.job-list { display: grid; gap: 12px; }
.job-card { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 20px 24px; transition: all 0.15s; cursor: pointer; }
.job-card:hover { border-color: var(--blu-primary); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.job-card a { color: inherit; text-decoration: none; display: block; }
.job-card-title { font-size: 18px; font-weight: 600; margin: 0 0 6px; color: var(--text-primary); }
.job-card-meta { display: flex; gap: 12px; flex-wrap: wrap; color: var(--text-muted); font-size: 13px; }
.job-card-meta span::before { content: "·"; margin-right: 12px; color: var(--border-color); }
.job-card-meta span:first-child::before { content: ""; margin-right: 0; }

/* Pipeline kanban */
.pipeline-board { display: flex; gap: 12px; overflow-x: auto; padding: 8px 4px 16px; }
.pipeline-col { min-width: 240px; max-width: 240px; background: #f6f7fb; border-radius: 12px; padding: 12px; }
.pipeline-col-head { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pipeline-col-head .count { background: #fff; color: var(--text-primary); padding: 2px 8px; border-radius: 10px; font-size: 11px; }
.pipeline-card { background: #fff; border: 1px solid var(--border-color); border-radius: 10px; padding: 12px; margin-bottom: 8px; cursor: grab; }
.pipeline-card:active { cursor: grabbing; }
.pipeline-card.drag-over { border-color: var(--blu-primary); }
.pipeline-card strong { display: block; font-size: 14px; }
.pipeline-card .meta { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.pipeline-card .match-bar { height: 4px; background: #eef0f6; border-radius: 2px; margin-top: 8px; overflow: hidden; }
.pipeline-card .match-fill { height: 100%; background: linear-gradient(90deg, #0b64f7, #14a8c8); }

/* Approval timeline (in vacancy view) */
.approval-timeline { display: flex; flex-direction: column; gap: 10px; }
.approval-step { padding: 12px; border: 1px solid var(--border-color); border-radius: 10px; border-left: 3px solid var(--text-muted); }
.approval-step.approval-pending { border-left-color: #f0a338; background: #fffaf0; }
.approval-step.approval-approved { border-left-color: #1aa86b; }
.approval-step.approval-rejected { border-left-color: #d94560; background: #fff5f7; }
.approval-step-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.approval-comment { margin-top: 8px; padding: 8px 12px; background: #f6f7fb; border-radius: 6px; font-style: italic; font-size: 13px; }

/* Activity feed */
.activity { list-style: none; margin: 0; padding: 0; }
.activity li { padding: 10px 0; border-bottom: 1px solid var(--border-color); }
.activity li:last-child { border-bottom: 0; }

/* KV (key-value) display in vacancy detail */
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kv > div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border-color); font-size: 14px; }
.kv > div:last-child, .kv > div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }

/* Match breakdown */
.match-breakdown { display: flex; flex-direction: column; gap: 8px; }
.match-row { display: flex; justify-content: space-between; padding: 8px 12px; background: #f6f7fb; border-radius: 6px; font-size: 13px; }
.match-row.matched { border-left: 3px solid #1aa86b; }
.match-row.partial { border-left: 3px solid #f0a338; }
.match-row.missing { border-left: 3px solid #d94560; }

/* Scorecard form */
.scorecard-criterion { padding: 12px; border: 1px solid var(--border-color); border-radius: 10px; margin-bottom: 12px; }
.scorecard-criterion h4 { margin: 0 0 8px; font-size: 14px; }
.rating-buttons { display: flex; gap: 6px; }
.rating-buttons input[type=radio] { display: none; }
.rating-buttons label { padding: 6px 12px; border: 1px solid var(--border-color); border-radius: 6px; cursor: pointer; font-size: 13px; flex: 1; text-align: center; }
.rating-buttons input[type=radio]:checked + label { background: var(--blu-primary); color: #fff; border-color: var(--blu-primary); }

/* Toast */
.toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast { background: #1a1c2c; color: #fff; padding: 12px 18px; border-radius: 8px; font-size: 14px; box-shadow: var(--shadow-lg); animation: toast-in 0.2s ease; }
.toast.toast-success { background: #1aa86b; }
.toast.toast-error { background: #d94560; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Empty state */
.empty { padding: 32px; text-align: center; color: var(--text-muted); font-size: 14px; }
.prose { white-space: pre-wrap; line-height: 1.6; }

/* Mobile sidebar */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); transition: transform 0.2s; }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .kv { grid-template-columns: 1fr; }
}

/* ============================================================
 * v1.1 — Universal form styling, panel spacing, admin tiles
 * ============================================================ */

/* Make every native input / select / textarea look like vacancy_new's
   rounded fields. This is GLOBAL so newer modules inherit the same look
   without needing class names. */
.app-shell input[type="text"],
.app-shell input[type="email"],
.app-shell input[type="password"],
.app-shell input[type="number"],
.app-shell input[type="tel"],
.app-shell input[type="url"],
.app-shell input[type="date"],
.app-shell input[type="datetime-local"],
.app-shell input[type="search"],
.app-shell input[type="time"],
.app-shell input[type="file"],
.app-shell select,
.app-shell textarea,
.public-body input[type="text"],
.public-body input[type="email"],
.public-body input[type="password"],
.public-body input[type="number"],
.public-body input[type="tel"],
.public-body input[type="url"],
.public-body input[type="date"],
.public-body input[type="datetime-local"],
.public-body input[type="search"],
.public-body input[type="time"],
.public-body input[type="file"],
.public-body select,
.public-body textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-primary);
  transition: border .15s, box-shadow .15s;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
.app-shell select,
.public-body select {
  /* Custom dropdown chevron so the rounded box is preserved */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23606984' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.app-shell select[multiple],
.public-body select[multiple] {
  background-image: none;
  padding-right: 14px;
}
.app-shell input[type="checkbox"],
.app-shell input[type="radio"],
.public-body input[type="checkbox"],
.public-body input[type="radio"] {
  width: auto;
  margin-right: 6px;
  vertical-align: middle;
}
.app-shell input:focus,
.app-shell select:focus,
.app-shell textarea:focus,
.public-body input:focus,
.public-body select:focus,
.public-body textarea:focus {
  outline: none;
  border-color: var(--blu-primary);
  box-shadow: 0 0 0 3px rgba(11,100,247,0.12);
}
.app-shell textarea,
.public-body textarea {
  min-height: 80px;
  resize: vertical;
  line-height: 1.5;
}
.app-shell input[disabled],
.app-shell select[disabled],
.app-shell textarea[disabled] {
  background: #f0f1f6;
  color: var(--text-muted);
  cursor: not-allowed;
}
/* Inputs shouldn't expand to 100% inside flex filter rows */
.filter-row input,
.filter-row select,
.filter-row textarea {
  width: auto;
  flex: 1 1 auto;
  min-width: 140px;
  max-width: 280px;
}
.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}

/* Form layouts — give plenty of breathing room */
.form-card,
form.form-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg, 14px);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.form-card .form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-card .form-row label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-card h3 {
  margin: 24px 0 14px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
}
.form-card h3:first-of-type {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-bottom: 16px;
}
.form-grid .form-row { margin-bottom: 0; }
.form-actions {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Panel grids — proper breathing room */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 1100px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Make sibling cards always have spacing between them */
.card + .card { margin-top: 20px; }
.card { margin-bottom: 0; }
.grid-2 > .card, .grid-3 > .card, .grid-4 > .card { margin-top: 0; margin-bottom: 0; }

/* Stat cards (dashboard / reports) */
.stat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-big {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1;
  margin-top: 4px;
}
.stat-card.is-link,
a.stat-card,
a.card {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
a.card:hover, a.stat-card:hover, .stat-card.is-link:hover {
  border-color: var(--blu-primary);
  box-shadow: var(--shadow-md, 0 4px 12px rgba(0,0,0,0.08));
  transform: translateY(-1px);
}

/* Admin landing tiles — replace the broken emoji-as-image look
   with proper inline SVG icons coloured with the brand. */
.admin-tile {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  padding: 22px;
  min-height: 130px;
}
.admin-tile h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--text-primary);
}
.admin-tile .tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(11,100,247,0.12), rgba(0,194,168,0.12));
  color: var(--blu-primary);
  flex: 0 0 40px;
}
.admin-tile .tile-icon svg { width: 22px; height: 22px; }
.admin-tile p { margin: 0; }
.admin-tile:hover { border-color: var(--blu-primary); }

/* Tables — uniform spacing and styling everywhere */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}
.data-table thead th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  background: #fafbfd;
}
.data-table tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: #fafbfd; }
.data-table .empty {
  text-align: center;
  color: var(--text-muted);
  padding: 28px 14px;
  font-style: italic;
}
/* Make a card-wrapped table sit flush */
.card > .data-table:first-child,
.card > .data-table:last-child { margin: 0; }
.card .data-table { margin-top: 8px; }
.card.no-pad { padding: 0; }
.card.no-pad .data-table thead th { padding-left: 22px; padding-right: 22px; }
.card.no-pad .data-table tbody td { padding-left: 22px; padding-right: 22px; }

/* Tabs */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}
.tabs .tab {
  background: none;
  border: 0;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: inherit;
}
.tabs .tab:hover { color: var(--text-primary); }
.tabs .tab.active {
  color: var(--blu-primary);
  border-bottom-color: var(--blu-primary);
}

/* Modal */
.modal {
  position: fixed; inset: 0;
  background: rgba(20,22,40,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal[style*="flex"] { display: flex !important; }
.modal-content {
  background: #fff;
  border-radius: var(--radius-lg, 14px);
  padding: 24px;
  width: 92%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-content h2 { margin: 0 0 16px; font-size: 18px; }

/* Page header consistent spacing */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.page-header h1 { margin: 4px 0 0; font-size: 26px; letter-spacing: -0.02em; }
.page-header .page-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Status / approval status badge variants */
.badge.approved, .badge-approved { background: #e7f7ee; color: #18794e; }
.badge.rejected, .badge-rejected { background: #fde7eb; color: #b3243a; }
.badge.pending, .badge-pending { background: #fff3df; color: #8a5500; }
.badge.draft, .badge-draft { background: #eef0f6; color: #5a6377; }
.badge.open { background: #e3ebff; color: #1d3fbe; }
.badge.closed, .badge-closed { background: #eef0f6; color: #5a6377; }
.badge.active, .badge-active { background: #e7f7ee; color: #18794e; }
.badge.disabled, .badge-disabled, .badge.suspended { background: #fde7eb; color: #b3243a; }

/* Inputs inside .filter-row should also have rounded look */
.filter-row .btn { white-space: nowrap; }

/* Misc layout polish */
.card h3 { margin-top: 0; margin-bottom: 14px; }
.card h3 + .filter-row { margin-top: -4px; }
.alert + .alert { margin-top: 10px; }
.empty-state, .empty {
  text-align: center;
  color: var(--text-muted);
  padding: 28px 14px;
  font-style: italic;
}

/* Dashboard stat tiles — clickable variant */
.stat.is-link,
a.stat {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
a.stat:hover, .stat.is-link:hover {
  border-color: var(--blu-primary);
  box-shadow: 0 4px 14px rgba(11,100,247,0.15);
  transform: translateY(-1px);
}
a.stat .stat-delta { color: var(--blu-primary); font-weight: 500; }
.stat-grid { gap: 18px; margin-bottom: 24px; }

/* v2.0.0 refinements */
.pipeline-board { display:grid !important; grid-template-columns:repeat(5, minmax(190px, 1fr)); gap:14px; overflow-x:visible !important; align-items:start; }
.pipeline-col { min-width:0 !important; max-width:none !important; }
@media (max-width: 1300px) { .pipeline-board { grid-template-columns:repeat(3, minmax(210px,1fr)); } }
@media (max-width: 800px) { .pipeline-board { grid-template-columns:1fr; } }
.application-card { max-width:1040px !important; padding:38px !important; }
.application-card .form-row { margin-bottom:18px; }
.application-card h3 { margin-top:24px; margin-bottom:12px; }
.application-card .muted.small { display:block; max-width:100%; line-height:1.7; }
.wide-form { max-width:980px; margin:0 auto; }
.form-stack .form-row, .form-card-inner .form-row { margin-bottom:16px; }
.ai-card { border-color:rgba(11,100,247,.22); background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%); }
.ai-score-row { display:flex; gap:16px; align-items:center; margin:12px 0; padding:12px; background:#fff; border:1px solid var(--border-color); border-radius:12px; }
.clean-list { margin:8px 0 0 18px; padding:0; }
.clean-list li { margin:6px 0; }
.clean-list.ordered { margin-left:22px; }
.funnel-chart { display:flex; flex-direction:column; gap:10px; margin:14px 0 18px; }
.funnel-row { display:grid; grid-template-columns:130px 1fr 42px; gap:10px; align-items:center; font-size:12px; }
.funnel-track { height:18px; background:#eef0f6; border-radius:999px; overflow:hidden; border:1px solid var(--border-color); }
.funnel-fill { height:100%; background:linear-gradient(90deg, var(--brand-primary), var(--brand-accent)); border-radius:999px; min-width:2px; }
.modal-content { max-width:760px !important; width:min(760px, calc(100vw - 40px)) !important; }
.modal-content .form-row { margin-bottom:16px; }

/* v2.0.1 refinements: rounded native fields, wider apply page, AI settings */
.app-shell input:not([type]),
.public-body input:not([type]) {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-primary);
  transition: border .15s, box-shadow .15s;
  box-sizing: border-box;
}
.app-shell input:not([type]):focus,
.public-body input:not([type]):focus {
  outline: none;
  border-color: var(--blu-primary);
  box-shadow: 0 0 0 3px rgba(11,100,247,0.12);
}

.public-main { max-width: 1440px; }
.public-card.application-card {
  max-width: 1280px !important;
  width: min(1280px, calc(100vw - 48px));
  padding: 44px 52px !important;
  line-height: 1.75;
}
.application-card form { line-height: 1.72; }
.application-card .form-grid { gap: 22px 26px; }
.application-card .form-row {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.application-card .form-row label { line-height: 1.55; }
.application-card h3 {
  margin-top: 34px;
  margin-bottom: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}
.application-card h3:first-of-type { border-top: 0; padding-top: 0; }
.application-card .consent-row,
.application-card .consent-text {
  display: block !important;
  width: 100%;
  max-width: 100%;
  grid-column: 1 / -1;
}
.application-card .consent-row label { display: block; width: 100%; }
.application-card .muted.small.consent-text {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 4px;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.provider-card {
  border: 1px solid var(--border-color);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.provider-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}
.provider-card .form-row { margin-bottom: 12px; }
.switch-line, .check-card {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.55;
}
.check-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  background: #fff;
  font-weight: 500;
}
.ai-settings-form input[type="password"] { letter-spacing: .02em; }
@media (max-width: 900px) {
  .provider-grid { grid-template-columns: 1fr; }
  .public-card.application-card { width: calc(100vw - 28px); padding: 28px 22px !important; }
}

/* v2.0.3 — final global rounded form control standardisation.
   Keeps every normal text/select/textarea/file field visually aligned,
   including fields added later without explicit utility classes. */
.app-shell input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
.app-shell select,
.app-shell textarea,
.public-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
.public-body select,
.public-body textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--border-strong) !important;
  border-radius: var(--radius-md) !important;
  background-color: var(--bg-surface);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-primary);
  box-sizing: border-box;
  box-shadow: none;
}
.app-shell textarea,
.public-body textarea {
  min-height: 90px;
  line-height: 1.55;
}
.app-shell input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):focus,
.app-shell select:focus,
.app-shell textarea:focus,
.public-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):focus,
.public-body select:focus,
.public-body textarea:focus {
  outline: none;
  border-color: var(--blu-primary) !important;
  box-shadow: 0 0 0 3px rgba(11,100,247,0.12);
}
