/* ==================================================================
   AURELIUS PROTECTIVE SERVICES | PERTH
   OFFICER ONBOARDING & COMPLIANCE PORTAL - DESIGN SYSTEM (WHITE THEME)
=================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Saira+Condensed:wght@600;700;800&family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-page: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-raised: #F1F5F9;
  --bg-accent-gold: #FFF9EB;
  
  --ink: #0D1527;
  --navy-dark: #0B132B;
  --navy-mid: #1E293B;
  --slate-700: #334155;
  --paper: #0D1527;
  --muted: #64748B;
  --light-muted: #94A3B8;
  
  --brass: #C59A45;
  --brass-hover: #B38633;
  --brass-dark: #8F661B;
  --brass-dim: #D9B76A;
  --brass-light: #FFF8E7;
  --brass-border: #EEDBB2;
  
  --line: #E2E8F0;
  --line-soft: #F1F5F9;
  --line-gold: #F3DFC0;
  
  --duty: #059669;
  --duty-light: #ECFDF5;
  --duty-border: #A7F3D0;
  
  --warn: #D97706;
  --warn-light: #FFFBEB;
  --warn-border: #FDE68A;
  
  --danger: #DC2626;
  --danger-light: #FEF2F2;
  --danger-border: #FECACA;
  
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.03);
  --shadow-gold: 0 4px 14px rgba(197, 154, 69, 0.18);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

body.gp {
  background-color: var(--bg-page);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(197, 154, 69, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(13, 21, 39, 0.02) 0%, transparent 40%);
}

.gp *,
.gp *::before,
.gp *::after {
  box-sizing: border-box;
}

/* ---------------- HEADER ---------------- */
.gp-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  z-index: 40;
  box-shadow: var(--shadow-sm);
}

.gp-brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.gp-logo-badge {
  width: 38px;
  height: 38px;
  background: linear-gradient(145deg, #0D1527, #1E293B);
  border: 1px solid var(--brass-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass);
  font-size: 19px;
  box-shadow: 0 2px 8px rgba(13, 21, 39, 0.12);
  flex-shrink: 0;
}

.gp-brand-text {
  display: flex;
  flex-direction: column;
}

.gp-mark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--navy-dark);
  margin: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.gp-mark-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--brass-dark);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2px;
}

.gp-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 14px;
  font-weight: 500;
}

@media (max-width: 820px) {
  .gp-tag { display: none; }
  .gp-top { padding: 12px 18px; }
}

.gp-switch {
  margin-left: auto;
  display: flex;
  gap: 3px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
}

.gp-switch button,
.gp-switch a {
  background: none;
  border: none;
  color: var(--muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  padding: 7px 16px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gp-switch button:hover,
.gp-switch a:hover {
  color: var(--ink);
}

.gp-switch a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
}

.gp-switch button[data-on="true"],
.gp-switch a[data-on="true"] {
  background: var(--navy-dark);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(11, 19, 43, 0.15);
}

/* ---------------- WRAPPERS ---------------- */
.gp-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 34px 24px 80px;
}

.gp-narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 22px 90px;
}

/* ---------------- TYPOGRAPHY ---------------- */
.gp-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gp-h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--navy-dark);
  margin: 0 0 10px;
}

.gp-h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--navy-dark);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gp-sub {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.gp-mono {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.04em;
}

.gp-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------------- STATS GRID (ADMIN) ---------------- */
.gp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0 28px;
}

@media (max-width: 760px) {
  .gp-stats { grid-template-columns: repeat(2, 1fr); }
}

.gp-stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.gp-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.gp-stat::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--acc, var(--line));
}

.gp-stat dt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
  font-weight: 500;
}

.gp-stat dd {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
}

/* ---------------- CARDS & PANELS ---------------- */
.gp-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.gp-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-subtle);
  flex-wrap: wrap;
}

.gp-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 14px;
  flex: 1;
  max-width: 320px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.gp-search input {
  background: none;
  border: none;
  color: var(--ink);
  font-size: 13.5px;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.gp-search input:focus {
  outline: none;
}

.gp-rowbtn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  background: #FFFFFF;
  border: none;
  border-top: 1px solid var(--line-soft);
  padding: 15px 20px;
  cursor: pointer;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  transition: background-color 0.15s ease;
}

.gp-rowbtn:hover {
  background: #F8FAFC;
}

.gp-avatar {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0D1527, #1E293B);
  border: 1px solid var(--brass-border);
  display: grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--brass);
  box-shadow: 0 2px 6px rgba(13, 21, 39, 0.1);
  overflow: hidden;
}

.gp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gp-name {
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 2px;
  color: var(--navy-dark);
}

.gp-meta {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  font-family: 'IBM Plex Mono', monospace;
}

.gp-hide-sm {
  display: block;
}
@media (max-width: 640px) {
  .gp-hide-sm { display: none; }
}

/* ---------------- PILLS & BADGES ---------------- */
.gp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 100px;
  padding: 4px 11px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid;
}

.gp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.gp-badge-gold {
  background: var(--brass-light);
  color: var(--brass-dark);
  border: 1px solid var(--brass-border);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ---------------- DOCUMENT LIST ITEMS ---------------- */
.gp-doc {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-top: 1px solid var(--line-soft);
  background: #FFFFFF;
}

.gp-doc:first-child {
  border-top: none;
}

.gp-doc-t {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 3px;
  color: var(--navy-dark);
}

.gp-doc-d {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: var(--muted);
  margin: 0;
}

.gp-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--bg-subtle);
  color: var(--navy-dark);
}

/* ---------------- BUTTONS ---------------- */
.gp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
}

.gp-btn:active {
  transform: scale(0.98);
}

.gp-btn:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.gp-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

.gp-primary {
  background: var(--navy-dark);
  color: #FFFFFF;
  border: 1px solid var(--navy-dark);
  box-shadow: 0 2px 8px rgba(13, 21, 39, 0.15);
}

.gp-primary:hover {
  background: #1A2644;
  border-color: #1A2644;
}

.gp-gold {
  background: var(--brass);
  color: #0D1527;
  border: 1px solid var(--brass);
  box-shadow: var(--shadow-gold);
}

.gp-gold:hover {
  background: var(--brass-hover);
}

.gp-ghost {
  background: #FFFFFF;
  color: var(--navy-dark);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.gp-ghost:hover {
  background: var(--bg-subtle);
  border-color: #CBD5E1;
}

.gp-full {
  width: 100%;
}

.gp-btn-sm {
  padding: 7px 12px;
  font-size: 12.5px;
  border-radius: 8px;
}

.gp-danger {
  background: var(--danger-light);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}
.gp-danger:hover {
  background: #FEE2E2;
}

.gp-ok {
  background: var(--duty-light);
  color: var(--duty);
  border: 1px solid var(--duty-border);
}
.gp-ok:hover {
  background: #D1FAE5;
}

/* ---------------- PROGRESS BAR & RAIL ---------------- */
.gp-prog {
  height: 6px;
  background: var(--bg-raised);
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

.gp-prog span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brass), #E5B869);
  border-radius: 100px;
  transition: width 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.gp-rail {
  display: flex;
  gap: 6px;
  margin: 20px 0 26px;
}

.gp-rail div {
  flex: 1;
  height: 4px;
  border-radius: 100px;
  background: var(--bg-raised);
  transition: background-color 0.25s ease;
}

.gp-rail div[data-on="true"] {
  background: var(--brass);
}

/* ---------------- FORM FIELDS & VALIDATION ---------------- */
.gp-field {
  margin-top: 18px;
}

.gp-field + .gp-field {
  margin-top: 18px;
}

.gp-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-700);
  font-weight: 600;
  margin: 0 0 7px;
}

.gp-inwrap {
  position: relative;
}

.gp-input,
.gp-select {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 38px 12px 14px;
  color: var(--navy-dark);
  font-size: 14.5px;
  font-family: 'Inter', sans-serif;
  transition: all 0.18s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.gp-input:focus,
.gp-select:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(197, 154, 69, 0.15);
}

.gp-input[data-state="bad"] {
  border-color: var(--danger);
  background: var(--danger-light);
}

.gp-input[data-state="good"] {
  border-color: var(--duty);
}

.gp-input::placeholder {
  color: #94A3B8;
}

.gp-mark-ok {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--duty);
  pointer-events: none;
}

.gp-mark-bad {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--danger);
  pointer-events: none;
}

.gp-err {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: var(--danger);
  margin: 6px 0 0;
  line-height: 1.45;
  font-weight: 500;
}

.gp-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0;
  line-height: 1.45;
}

.gp-warn {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: var(--warn);
  margin: 6px 0 0;
  line-height: 1.45;
  font-weight: 500;
}

.gp-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 540px) {
  .gp-two { grid-template-columns: 1fr; }
}

/* ---------------- CALLOUT BANNERS ---------------- */
.gp-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--danger-light);
  border: 1px solid var(--danger-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-top: 20px;
}

.gp-banner p {
  margin: 0;
  font-size: 13.5px;
  color: #991B1B;
  line-height: 1.5;
  font-weight: 500;
}

.gp-secure {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--bg-accent-gold);
  border: 1px solid var(--brass-border);
  border-radius: var(--radius-md);
  padding: 13px 15px;
}

/* ---------------- UPLOAD CARDS (11 DOCS) ---------------- */
.gp-up {
  background: #FFFFFF;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  transition: all 0.2s ease;
}

.gp-up[data-done="true"] {
  border-style: solid;
  border-color: var(--duty-border);
  background: #FBFDFB;
}

.gp-up[data-bad="true"] {
  border-style: solid;
  border-color: var(--danger-border);
  background: var(--danger-light);
}

.gp-up + .gp-up {
  margin-top: 12px;
}

.gp-up-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.gp-req {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
  font-weight: 600;
}

.gp-req[data-req="true"] {
  color: var(--brass-dark);
  border-color: var(--brass-border);
  background: var(--brass-light);
}

/* ---------------- PHOTO UPLOAD (STEP 1) ---------------- */
.gp-photo {
  width: 108px;
  height: 108px;
  border-radius: 20px;
  border: 2px dashed var(--line);
  background: var(--bg-subtle);
  display: grid;
  place-items: center;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.gp-photo:hover {
  border-color: var(--brass);
  background: var(--brass-light);
  color: var(--brass-dark);
}

.gp-photo[data-done="true"] {
  border-style: solid;
  border-color: var(--brass);
  background: linear-gradient(145deg, #0D1527, #1E293B);
  color: var(--brass);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 32px;
  box-shadow: 0 4px 14px rgba(13, 21, 39, 0.12);
}

.gp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

/* ---------------- AGREEMENTS (STEP 6) ---------------- */
.gp-agree-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  background: #FFFFFF;
  margin-bottom: 12px;
  transition: border-color 0.18s ease;
}

.gp-agree-card:hover {
  border-color: #CBD5E1;
}

.gp-agree-card[data-uploaded="true"] {
  border-color: var(--duty-border);
  background: #FBFDFB;
}

.gp-agree-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.gp-agree-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  flex-wrap: wrap;
}

.gp-box {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  margin-top: 1px;
  background: #FFFFFF;
  transition: all 0.15s ease;
}

.gp-box[data-on="true"] {
  background: var(--duty);
  border-color: var(--duty);
  color: #FFFFFF;
}

/* ---------------- SLIDE-OVER DRAWER & SCRIM ---------------- */
.gp-scrim {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 43, 0.45);
  backdrop-filter: blur(4px);
  z-index: 50;
  animation: gp-fade 0.18s ease;
}

.gp-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(520px, 100%);
  background: #FFFFFF;
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  z-index: 51;
  display: flex;
  flex-direction: column;
  animation: gp-slide 0.24s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes gp-slide {
  from { transform: translateX(100%); }
  to { transform: none; }
}

@keyframes gp-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.gp-drawer-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-subtle);
}

.gp-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.gp-x {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  margin-left: auto;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.gp-x:hover {
  color: var(--navy-dark);
  background: var(--bg-raised);
}

/* ---------------- TOAST ---------------- */
.gp-toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 28px;
  z-index: 90;
  background: var(--navy-dark);
  color: #FFFFFF;
  border: 1px solid var(--brass-border);
  border-radius: 12px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 10px 25px rgba(11, 19, 43, 0.25);
  animation: gp-fade 0.2s ease;
}

.gp-div {
  height: 1px;
  background: var(--line);
  margin: 26px 0;
}

.gp-mt {
  margin-top: 26px;
}

@media (prefers-reduced-motion: reduce) {
  .gp-drawer, .gp-scrim, .gp-toast { animation: none; }
  .gp-prog span { transition: none; }
  .gp-btn { transition: none; }
}
/* ---------------- ONBOARDING TIER BADGE ---------------- */
/* Distinguishes Onboard Core from Onboard Plus in the console. Without it,
   payroll details absent from a subcontractor's file read as incomplete
   rather than as never having been asked for. */

.gp-tier {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gp-tier-core {
  color: var(--navy-mid);
  border-color: var(--line);
  background: var(--bg-raised);
}

.gp-tier-plus {
  color: var(--brass-dark);
  border-color: var(--brass-border);
  background: var(--brass-light);
}

.gp-tier-none {
  color: var(--muted);
  border-color: var(--line);
  background: var(--bg-subtle);
}

.gp-tier-note {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}

/* ---------------- CONFIRMATION MODAL ---------------- */
/* Used before actions that leave the building. Sending an email cannot be
   undone, and the reminder button sits in a list an admin scans quickly. */

.gp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 21, 39, 0.45);
  z-index: 90;
}

.gp-modal {
  position: fixed;
  z-index: 91;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  max-width: 420px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: 0 18px 48px rgba(13, 21, 39, 0.22);
}

.gp-modal-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.gp-modal-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate-700);
}

.gp-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
