/* ────────────────────────────────────────────────
   Accenture AI Ops Forum — Design System
   Colors: Accenture brand purple palette
   ──────────────────────────────────────────────── */

:root {
  --purple:          #A100FF;
  --purple-dark:     #7500C0;
  --purple-darker:   #460073;
  --purple-light:    #D4A8FF;
  --purple-lightest: #F4EAFF;
  --near-black:      #1C1C1C;
  --dark-gray:       #3C3C3C;
  --mid-gray:        #6B6B6B;
  --light-gray:      #C8C8C8;
  --lightest-gray:   #F5F5F5;
  --white:           #FFFFFF;
  --success:         #008A00;
  --warning:         #E65100;
  --danger:          #E4002B;
  --info:            #0070D1;
  --sidebar-w:       260px;
  --radius:          8px;
  --shadow-sm:       0 1px 4px rgba(0,0,0,.06);
  --shadow:          0 2px 10px rgba(0,0,0,.08);
  --shadow-md:       0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:       0 8px 40px rgba(0,0,0,.18);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--near-black);
  background: #F0EDF5;
}

a { color: inherit; }
button { font-family: inherit; }
textarea { font-family: inherit; }

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

/* ── SIDEBAR ───────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  background: var(--near-black);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  z-index: 200;
  overflow-y: auto;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.brand-title {
  display: block;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -.2px;
}

.brand-subtitle {
  display: block;
  color: rgba(255,255,255,.45);
  font-size: 10.5px;
  letter-spacing: .4px;
  margin-top: 1px;
}

.sidebar-nav {
  flex: 1;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-section {
  color: rgba(255,255,255,.3);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 14px 10px 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius);
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: background .12s, color .12s;
}
.nav-item:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-item.active { background: var(--purple); color: #fff; }
.nav-icon { font-size: 15px; width: 20px; text-align: center; }

.sidebar-user {
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
  flex-shrink: 0;
}

.user-name {
  color: #fff;
  font-weight: 600; font-size: 13px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.user-team {
  color: rgba(255,255,255,.45);
  font-size: 11px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.role-pill {
  display: inline-block;
  font-size: 9px; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase;
  border-radius: 3px;
  padding: 2px 5px;
  margin-top: 2px;
}
.role-poster { background: rgba(161,0,255,.25); color: #D4A8FF; }
.role-sme    { background: rgba(0,138,0,.25);   color: #7BCB7B; }
.role-admin  { background: rgba(228,0,43,.25);  color: #FF8095; }

.logout-btn {
  display: block; text-align: center;
  color: rgba(255,255,255,.4);
  text-decoration: none; font-size: 12px;
  padding: 6px; border-radius: var(--radius);
  transition: all .12s;
}
.logout-btn:hover { background: rgba(255,255,255,.07); color: #fff; }

/* ── MAIN CONTENT ──────────────────── */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
}

.content-wrapper {
  padding: 32px 36px;
  max-width: 1280px;
}

/* ── PAGE HEADER ───────────────────── */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.page-title {
  font-size: 28px; font-weight: 800;
  color: var(--near-black); line-height: 1.15;
  letter-spacing: -.5px;
}

.page-subtitle {
  color: var(--mid-gray); font-size: 14px; margin-top: 4px;
}

/* ── BUTTONS ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 13.5px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  transition: background .14s, box-shadow .14s, transform .1s;
  line-height: 1; white-space: nowrap;
}
.btn:active { transform: scale(.98); }

.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dark); }

.btn-secondary {
  background: #fff; color: var(--near-black);
  border: 1.5px solid var(--light-gray);
}
.btn-secondary:hover { border-color: var(--purple); color: var(--purple); }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #c0001f; }

.btn-outline-purple {
  background: transparent; color: var(--purple);
  border: 1.5px solid var(--purple);
}
.btn-outline-purple:hover { background: var(--purple); color: #fff; }

.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-full { width: 100%; justify-content: center; padding: 11px 18px; }

.link-btn {
  background: none; border: none;
  cursor: pointer; font-family: inherit; font-size: inherit;
  color: var(--purple); text-decoration: underline; padding: 0;
}

/* ── CARDS ─────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-body { padding: 22px; }

.card-header {
  padding: 14px 22px;
  border-bottom: 1px solid var(--lightest-gray);
  font-weight: 700; font-size: 14px;
  color: var(--near-black);
}

/* ── IDEA CARDS ────────────────────── */
.ideas-grid { display: grid; gap: 12px; }

.idea-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0,0,0,.05);
  transition: box-shadow .18s, transform .18s;
}
.idea-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.idea-card-stripe { width: 5px; flex-shrink: 0; }
.stripe-agent                { background: var(--purple); }
.stripe-tool                 { background: var(--info); }
.stripe-automation           { background: var(--success); }
.stripe-process_improvement  { background: #00897B; }
.stripe-application          { background: #3F51B5; }
.stripe-other                { background: var(--mid-gray); }

.idea-card-body {
  flex: 1; padding: 16px 20px;
  display: flex; flex-direction: column; gap: 6px;
}

.idea-card-main-link { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }

.idea-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.idea-card-title  { font-size: 15px; font-weight: 700; color: var(--near-black); line-height: 1.3; }
.idea-card-meta   { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--mid-gray); font-size: 11.5px; }
.idea-card-desc   {
  color: var(--dark-gray); font-size: 13px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.idea-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.idea-stats       { display: flex; gap: 14px; align-items: center; }
.idea-stat        { display: flex; align-items: center; gap: 4px; color: var(--mid-gray); font-size: 12px; }

/* ── BADGES ────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 9px; border-radius: 20px;
  font-size: 11px; font-weight: 700; white-space: nowrap;
}

/* Status */
.badge-draft        { background: var(--lightest-gray); color: var(--mid-gray); }
.badge-submitted    { background: #E3F2FD; color: #0D47A1; }
.badge-under_review { background: #FFF3E0; color: #BF360C; }
.badge-in_progress  { background: #EDE7F6; color: #4A148C; }
.badge-implemented  { background: #E8F5E9; color: #1B5E20; }
.badge-declined     { background: #FFEBEE; color: #B71C1C; }
.badge-on_hold      { background: #FFF8E1; color: #E65100; }

/* Category */
.badge-agent                { background: var(--purple-lightest); color: var(--purple-dark); }
.badge-tool                 { background: #E3F2FD; color: #0D47A1; }
.badge-automation           { background: #E8F5E9; color: #1B5E20; }
.badge-process_improvement  { background: #E0F2F1; color: #004D40; }
.badge-application          { background: #E8EAF6; color: #1A237E; }
.badge-other                { background: var(--lightest-gray); color: var(--mid-gray); }

/* ── FILTER BAR ────────────────────── */
.filter-bar {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.05);
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end;
}

.filter-group { display: flex; flex-direction: column; gap: 4px; }

.filter-group label {
  font-size: 10px; font-weight: 700;
  color: var(--mid-gray); text-transform: uppercase; letter-spacing: .6px;
}

.filter-group select,
.filter-group input {
  padding: 7px 10px;
  border: 1.5px solid var(--light-gray);
  border-radius: 6px;
  font-size: 13px; color: var(--near-black);
  background: #fff; min-width: 130px;
  font-family: inherit;
}
.filter-group select:focus, .filter-group input:focus {
  outline: none; border-color: var(--purple);
}
.search-input { min-width: 210px !important; }

/* ── FORMS ─────────────────────────── */
.form-group { margin-bottom: 18px; }

.form-group label {
  display: block; font-weight: 600; font-size: 13px;
  color: var(--dark-gray); margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  font-size: 14px; color: var(--near-black);
  font-family: inherit; transition: border-color .14s;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(161,0,255,.1);
}
.form-group textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-hint { font-size: 12px; color: var(--mid-gray); margin-top: 5px; }

/* ── FILE UPLOAD ───────────────────── */
.file-upload-area {
  border: 2px dashed var(--light-gray);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  cursor: pointer;
  transition: border-color .14s, background .14s;
}
.file-upload-area:hover, .file-upload-area.dragover {
  border-color: var(--purple); background: var(--purple-lightest);
}
.file-upload-area input[type="file"] { display: none; }
.file-upload-icon { font-size: 28px; margin-bottom: 8px; }
.file-upload-text { color: var(--mid-gray); font-size: 13px; }
.file-upload-text strong { color: var(--purple); }
.file-upload-label { cursor: pointer; }

/* ── ATTACHMENTS ───────────────────── */
.attachment-list { display: flex; flex-direction: column; gap: 6px; }

.attachment-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 13px;
  background: var(--lightest-gray);
  border-radius: 6px;
}
.attachment-icon { font-size: 16px; flex-shrink: 0; }
.attachment-name { flex: 1; font-size: 13px; color: var(--info); word-break: break-all; }
.attachment-name:hover { text-decoration: underline; }
.attachment-size { color: var(--mid-gray); font-size: 11.5px; white-space: nowrap; }

/* ── COMMENTS ──────────────────────── */
.comment-list { display: flex; flex-direction: column; gap: 18px; }

.comment { display: flex; gap: 12px; }

.comment-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--purple); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; flex-shrink: 0;
}
.comment-avatar.sme   { background: var(--success); }
.comment-avatar.admin { background: var(--danger); }

.comment-body { flex: 1; }
.comment-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.comment-author { font-weight: 700; font-size: 13px; }
.comment-time { color: var(--mid-gray); font-size: 11px; }
.comment-text { font-size: 13.5px; line-height: 1.55; color: var(--dark-gray); }
.comment-form { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--lightest-gray); }

/* ── VOTE BUTTON ───────────────────── */
.vote-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: 24px;
  border: 2px solid var(--light-gray);
  background: #fff; cursor: pointer;
  font-size: 14px; font-weight: 700; color: var(--mid-gray);
  transition: all .18s; white-space: nowrap;
}
.vote-btn:hover { border-color: var(--purple); color: var(--purple); }
.vote-btn.voted { background: var(--purple); border-color: var(--purple); color: #fff; }

.vote-btn--sm { padding: 4px 12px; font-size: 12px; gap: 4px; border-width: 1.5px; }

/* ── IDEA DETAIL ───────────────────── */
.idea-detail-title { font-size: 22px; font-weight: 800; line-height: 1.3; letter-spacing: -.3px; }

.idea-detail-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.meta-item { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--mid-gray); }
.meta-item strong { color: var(--dark-gray); }

.idea-description { font-size: 14.5px; line-height: 1.75; color: var(--dark-gray); }
.idea-description > :first-child { margin-top: 0; }
.idea-description > :last-child { margin-bottom: 0; }
.idea-description h1, .idea-description h2, .idea-description h3,
.idea-description h4, .idea-description h5, .idea-description h6 {
  margin: 1em 0 .5em; font-weight: 700; color: var(--near-black); line-height: 1.3;
}
.idea-description p { margin: 0 0 .75em; }
.idea-description ul, .idea-description ol { margin: 0 0 .75em 1.25em; }
.idea-description li { margin-bottom: .25em; }
.idea-description blockquote {
  margin: 0 0 .75em; padding-left: 12px; border-left: 3px solid var(--purple); color: var(--mid-gray);
}
.idea-description code {
  background: var(--lightest-gray); padding: 2px 5px; border-radius: 4px; font-size: .9em;
}
.idea-description pre {
  background: var(--lightest-gray); padding: 12px 14px; border-radius: 8px;
  overflow-x: auto; margin: 0 0 .75em;
}
.idea-description pre code { background: none; padding: 0; }
.idea-description a { color: var(--purple); }

.benefit-box {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px 16px;
  background: #F4EAFF;
  border-left: 3px solid var(--purple);
  border-radius: 6px;
  font-size: 14px; color: var(--dark-gray); line-height: 1.6;
}
.benefit-icon { font-size: 18px; flex-shrink: 0; }

/* ── STATUS TIMELINE ───────────────── */
.status-timeline { display: flex; flex-direction: column; }

.timeline-item { display: flex; gap: 12px; position: relative; }
.timeline-item:not(:last-child)::before {
  content: ''; position: absolute;
  left: 11px; top: 24px; width: 2px;
  height: calc(100% + 4px);
  background: var(--lightest-gray);
}

.timeline-dot {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--purple); flex-shrink: 0; margin-top: 2px; z-index: 1;
}

.timeline-content { flex: 1; padding-bottom: 14px; }
.timeline-title   { font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.timeline-meta    { font-size: 11px; color: var(--mid-gray); margin-top: 2px; }
.timeline-note    { font-size: 12px; color: var(--dark-gray); margin-top: 4px; font-style: italic; }

/* ── SME PANEL ─────────────────────── */
.sme-panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.sme-panel-header {
  padding: 12px 18px;
  background: linear-gradient(90deg, var(--purple-darker), var(--purple-dark));
  color: #fff; font-weight: 700; font-size: 13.5px;
}
.sme-panel-body { padding: 16px 18px; }

.claim-section {
  padding: 11px 14px;
  background: var(--purple-lightest);
  border-radius: var(--radius);
  border: 1px solid rgba(161,0,255,.2);
}
.claim-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--purple-dark); }
.claim-name  { font-weight: 700; color: var(--purple); font-size: 14px; margin-top: 3px; }
.claim-badge { padding: 10px 14px; background: var(--purple-lightest); border-radius: 6px; }

/* ── STATS CARDS ───────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.04);
  padding: 18px;
  display: flex; align-items: flex-start; gap: 14px;
}

.stat-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.stat-icon-purple { background: var(--purple-lightest); }
.stat-icon-green  { background: #E8F5E9; }
.stat-icon-blue   { background: #E3F2FD; }
.stat-icon-orange { background: #FFF3E0; }

.stat-value { font-size: 30px; font-weight: 800; line-height: 1; color: var(--near-black); letter-spacing: -1px; }
.stat-label { font-size: 12px; color: var(--mid-gray); margin-top: 4px; }

/* ── TABLES ────────────────────────── */
.table-wrapper {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.04);
  /* overflow-x MUST be `auto`, not `hidden`. With `hidden`, a table wider than
     this wrapper has its right-hand columns clipped with no way to reach them —
     on /admin/users that silently hid the entire Actions column (Edit / Reset /
     Delete), which read as "the edit option disappeared". A single long cell
     value is enough to trigger it: a 68-character team name created through the
     `new_team` field did it in Aug 2026.
     overflow-y stays hidden so border-radius still clips the corners (any
     non-`visible` value clips); the wrapper sizes to the table's height, so
     nothing is ever cut off vertically. */
  overflow-x: auto;
  overflow-y: hidden;
  margin-bottom: 22px;
}

.table-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--lightest-gray);
}
.table-title { font-size: 15px; font-weight: 700; }

table { width: 100%; border-collapse: collapse; }

th {
  text-align: left;
  padding: 10px 16px;
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .6px;
  color: var(--mid-gray);
  background: var(--lightest-gray);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

td {
  padding: 12px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--lightest-gray);
  vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: #FBFAFF; }

.rank-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  font-weight: 800; font-size: 13px;
}
.rank-1     { background: #FFD700; color: #6B4800; }
.rank-2     { background: #C0C0C0; color: #333; }
.rank-3     { background: #CD7F32; color: #fff; }
.rank-other { background: var(--lightest-gray); color: var(--mid-gray); }

/* ── ALERTS ────────────────────────── */
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 13.5px; }
.alert-error   { background: #FFEBEE; color: #B71C1C; border: 1px solid #FFCDD2; }
.alert-success { background: #E8F5E9; color: #1B5E20; border: 1px solid #C8E6C9; }
.alert-info    { background: #E3F2FD; color: #0D47A1; border: 1px solid #BBDEFB; }

/* ── SECTION TITLE ─────────────────── */
.section-title {
  font-size: 15px; font-weight: 700;
  color: var(--near-black); margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--purple-lightest);
}

/* ── BACK LINK ─────────────────────── */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--mid-gray); text-decoration: none;
  font-size: 13px; margin-bottom: 18px;
  transition: color .12s;
}
.back-link:hover { color: var(--purple); }

/* ── EMPTY STATE ───────────────────── */
.empty-state {
  text-align: center; padding: 64px 24px; color: var(--mid-gray);
}
.empty-state-icon { font-size: 52px; margin-bottom: 16px; }
.empty-state h3   { font-size: 18px; font-weight: 700; color: var(--dark-gray); margin-bottom: 8px; }
.empty-state p    { font-size: 14px; margin-bottom: 20px; }

/* ── ERROR PAGE ────────────────────── */
.error-page {
  text-align: center; padding: 80px 24px;
}
.error-icon  { font-size: 64px; margin-bottom: 16px; }
.error-title { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.error-message { color: var(--mid-gray); font-size: 15px; margin-bottom: 24px; }

/* ── LOGIN PAGE ────────────────────── */
.login-page {
  min-height: 100vh;
  background: var(--near-black);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; position: relative; overflow: hidden;
}

.login-bg-pattern {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(161,0,255,.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(117,0,192,.15) 0%, transparent 50%);
  pointer-events: none;
}

.login-container {
  background: #fff;
  border-radius: 16px;
  padding: 40px 44px;
  width: 100%; max-width: 500px;
  box-shadow: var(--shadow-lg);
  position: relative; z-index: 1;
}

.login-brand { text-align: center; margin-bottom: 30px; }
.login-brand svg { margin-bottom: 14px; }
.login-brand h1 {
  font-size: 26px; font-weight: 800;
  color: var(--near-black); letter-spacing: -.5px; margin-bottom: 6px;
}
.login-brand p { color: var(--mid-gray); font-size: 14px; }

.role-prompt { font-size: 13px; font-weight: 600; color: var(--mid-gray); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .5px; }

.role-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 26px;
}

.role-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 8px; border-radius: var(--radius);
  border: 2px solid var(--light-gray);
  background: #fff; cursor: pointer; text-align: center;
  transition: border-color .14s, background .14s, box-shadow .14s;
}
.role-card:hover { border-color: var(--purple); background: var(--purple-lightest); }
.role-card.selected {
  border-color: var(--purple); background: var(--purple-lightest);
  box-shadow: 0 0 0 3px rgba(161,0,255,.15);
}
.role-icon { font-size: 26px; }
.role-name { font-weight: 800; font-size: 13px; color: var(--near-black); }
.role-desc { font-size: 10.5px; color: var(--mid-gray); line-height: 1.3; }

/* ── EXISTING PROFILES ─────────────── */
.profiles-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .6px;
  color: var(--mid-gray); margin-bottom: 10px;
}

.profile-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }

.profile-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  background: #fff; cursor: pointer; width: 100%;
  text-align: left; font-family: inherit;
  transition: border-color .14s, background .14s, box-shadow .14s;
}
.profile-btn:hover {
  border-color: var(--purple); background: var(--purple-lightest);
  box-shadow: 0 0 0 3px rgba(161,0,255,.08);
}

.profile-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--purple); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; flex-shrink: 0;
}

.profile-info { flex: 1; min-width: 0; }
.profile-name { font-weight: 700; font-size: 13.5px; color: var(--near-black); }
.profile-team { font-size: 11.5px; color: var(--mid-gray); margin-top: 1px; }
.profile-arrow { color: var(--purple); font-size: 16px; flex-shrink: 0; }

.profiles-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--mid-gray); font-size: 12px; margin: 16px 0;
}
.profiles-divider::before,
.profiles-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--light-gray);
}

.new-team-row { margin-top: 7px; }
.new-team-row button {
  background: none; border: none;
  color: var(--purple); cursor: pointer; font-size: 12.5px;
  font-weight: 600; padding: 0; text-decoration: underline;
  font-family: inherit;
}

.login-note {
  text-align: center; font-size: 11.5px;
  color: var(--light-gray); margin-top: 20px;
}

/* ── HOURS PILL (on idea cards) ────── */
.hours-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: #FFF3E0;
  border: 1px solid #FFE0B2;
  border-radius: 20px;
  font-size: 12px; color: #BF360C;
  margin-top: 2px;
}
.hours-pill span { color: var(--mid-gray); }

/* ── HOURS BREAKDOWN (idea detail) ─── */
.hours-breakdown {
  display: flex; align-items: center; gap: 0;
  background: linear-gradient(90deg, var(--purple-lightest), #FFF3E0);
  border-radius: var(--radius);
  border: 1px solid rgba(161,0,255,.15);
  padding: 16px 20px;
  flex-wrap: wrap; gap: 0;
}
.hours-breakdown-item {
  text-align: center; padding: 0 20px;
}
.hours-breakdown-item--highlight .hours-value { color: #E65100; }
.hours-breakdown-arrow {
  color: var(--light-gray); font-size: 20px; padding: 0 4px;
}
.hours-value { font-size: 28px; font-weight: 800; color: var(--purple); line-height: 1; letter-spacing: -1px; }
.hours-label { font-size: 11px; font-weight: 600; color: var(--mid-gray); text-transform: uppercase; letter-spacing: .5px; margin-top: 4px; }

/* ── HOURS BANNER (leaderboard/admin) ── */
.hours-banner {
  background: linear-gradient(135deg, #460073 0%, #7500C0 100%);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 24px;
  color: #fff;
}
.hours-banner-title {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: rgba(255,255,255,.6); margin-bottom: 16px;
}
.hours-banner-grid {
  display: flex; align-items: stretch; gap: 0; flex-wrap: wrap;
}
.hours-banner-block { flex: 1; min-width: 260px; }
.hours-banner-block--saved { padding-left: 32px; }
.hours-banner-block-label { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.9); margin-bottom: 2px; }
.hours-banner-block-sub { font-size: 10px; color: rgba(255,255,255,.45); letter-spacing: .3px; margin-bottom: 12px; }
.hours-banner-row { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.hours-banner-divider { width: 1px; background: rgba(255,255,255,.15); margin: 0 28px; flex-shrink: 0; }
.hours-banner-item { text-align: center; padding: 0 12px; }
.hours-banner-item--big .hours-banner-value { font-size: 38px; color: #FFD700; }
.hours-banner-value { font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -1.5px; }
.hours-banner-label { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .5px; margin-top: 4px; }
.hours-banner-sep { font-size: 18px; color: rgba(255,255,255,.3); padding: 0 4px; }

/* ── LEADERBOARD HERO ──────────────── */
.leaderboard-hero {
  background: linear-gradient(135deg, var(--near-black) 0%, var(--purple-darker) 100%);
  border-radius: var(--radius);
  padding: 30px 32px;
  margin-bottom: 26px;
  color: #fff;
  display: flex; align-items: center; justify-content: space-between;
}
.leaderboard-title    { font-size: 30px; font-weight: 800; margin-bottom: 6px; letter-spacing: -.5px; }
.leaderboard-subtitle { color: rgba(255,255,255,.65); font-size: 15px; }

/* ── UTILS ─────────────────────────── */
.divider { border: none; border-top: 1px solid var(--lightest-gray); margin: 18px 0; }
.text-muted  { color: var(--mid-gray); }
.text-sm     { font-size: 12px; }
.text-purple { color: var(--purple); }
.font-bold   { font-weight: 700; }

/* ── SCROLLBAR ─────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--light-gray); border-radius: 3px; }

/* ── RESPONSIVE ────────────────────── */
@media (max-width: 900px) {
  .content-wrapper { padding: 20px; }
  .two-col, [style*="grid-template-columns:1fr 340px"],
  [style*="grid-template-columns:1fr 260px"],
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .role-cards { grid-template-columns: 1fr; }
}

/* ── AUTH TYPE BADGES ───────────────── */
.auth-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.auth-badge--local {
  background: #EEF2FF;
  color: #3730A3;
  border: 1px solid #C7D2FE;
}
.auth-badge--sso {
  background: #FFF7ED;
  color: #9A3412;
  border: 1px solid #FED7AA;
}
.auth-badge--ad {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}
tr.row-ad {
  background: #F5F9FF;
}

/* SSO table row subtle tint */
tr.row-sso { background: #FFFBF7; }

/* SSO info list on login panel */
.sso-info-list {
  text-align: left;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sso-info-item {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--mid-gray);
}
.sso-info-item span {
  color: var(--purple);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── SMTP ADMIN PAGE ────────────────── */
.smtp-status-banner {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 14px;
}
.smtp-on  { background: #E6F9E6; color: #006600; border: 1.5px solid #B2DFB2; }
.smtp-off { background: #F5F5F5; color: var(--mid-gray); border: 1.5px solid var(--light-gray); }
.smtp-status-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.smtp-on  .smtp-status-dot { background: #008A00; box-shadow: 0 0 0 3px #B2DFB2; }
.smtp-off .smtp-status-dot { background: var(--light-gray); }

/* Toggle switch */
.toggle-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}
.toggle-switch--sm {
  width: 36px;
  height: 20px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--light-gray);
  border-radius: 26px;
  cursor: pointer;
  transition: background .2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.toggle-switch--sm .toggle-slider::before { width: 14px; height: 14px; }
.toggle-switch input:checked + .toggle-slider { background: var(--purple); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); }
.toggle-switch--sm input:checked + .toggle-slider::before { transform: translateX(16px); }

/* Security rules list */
.security-rule {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.security-rule-icon {
  width: 20px; height: 20px;
  background: #E6F9E6;
  color: #008A00;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.security-rule-title { font-weight: 600; font-size: 13px; }

/* ── AUTH PAGES ─────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1C1C1C 0%, #2D0054 100%);
  padding: 32px 16px;
}

.auth-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}

.auth-card--wide {
  max-width: 560px;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.auth-brand h1 {
  font-size: 20px;
  font-weight: 800;
  color: var(--near-black);
  margin: 0;
}

.auth-brand p {
  font-size: 13px;
  color: var(--mid-gray);
  margin: 2px 0 0;
}

/* Login tabs */
.auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--lightest-gray);
  margin-bottom: 24px;
  gap: 0;
}

.auth-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mid-gray);
  cursor: pointer;
  transition: color .15s, border-color .15s;
}

.auth-tab:hover { color: var(--near-black); }
.auth-tab.active {
  color: var(--purple);
  border-bottom-color: var(--purple);
}

/* SSO placeholder */
.sso-placeholder {
  text-align: center;
  padding: 32px 16px;
  color: var(--mid-gray);
}
.sso-placeholder .sso-icon { font-size: 40px; margin-bottom: 12px; }
.sso-placeholder h3 { color: var(--near-black); margin-bottom: 8px; }

/* Password strength indicators */
.pwd-requirements {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.req {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 20px;
  background: var(--lightest-gray);
  color: var(--mid-gray);
  transition: background .2s, color .2s;
}

.req.req-ok {
  background: #E6F9E6;
  color: #008A00;
}

/* Input with show/hide toggle */
.input-with-toggle {
  position: relative;
  display: flex;
}

.input-with-toggle input {
  flex: 1;
  padding-right: 64px;
}

.toggle-pwd {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
  cursor: pointer;
  padding: 0;
}

/* Label link (e.g. Forgot password?) */
.label-link {
  float: right;
  font-size: 12px;
  font-weight: 500;
  color: var(--purple);
  text-decoration: none;
}
.label-link:hover { text-decoration: underline; }

/* Auth footnotes */
.auth-footer-link {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--mid-gray);
}
.auth-footer-link a { color: var(--purple); text-decoration: none; font-weight: 600; }
.auth-footer-link a:hover { text-decoration: underline; }

.auth-note {
  text-align: center;
  margin-top: 20px;
  font-size: 11px;
  color: var(--light-gray);
}

.auth-description {
  color: var(--mid-gray);
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* First-run setup */
.auth-setup-intro {
  margin-bottom: 24px;
}
.setup-step-badge {
  display: inline-block;
  background: var(--purple-lightest);
  color: var(--purple);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.auth-setup-intro h2 { font-size: 18px; margin-bottom: 6px; }
.auth-setup-intro p  { font-size: 13px; color: var(--mid-gray); }

/* Alert variants */
.alert-success {
  background: #E6F9E6;
  color: #006600;
  border-left-color: #008A00;
}
.alert-warning {
  background: #FFF8E1;
  color: #7A4000;
  border-left-color: #E65100;
}

/* Role pill for superadmin */
.role-pill.role-superadmin {
  background: linear-gradient(90deg, var(--purple-darker), var(--purple));
  color: #fff;
}

/* Badge warning */
.badge-warning {
  background: #FFF3CD;
  color: #856404;
  border: 1px solid #FFECB5;
}

/* ── Process Page ────────────────────────────────────────────────────────── */

.process-hero {
  background: linear-gradient(135deg, var(--purple-darker) 0%, var(--purple) 60%, #C850FF 100%);
  border-radius: 14px;
  padding: 48px 52px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.process-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.process-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; right: 120px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.process-hero-title {
  font-size: 34px; font-weight: 800;
  color: #fff; letter-spacing: -.6px;
  line-height: 1.15; margin-bottom: 10px;
  position: relative; z-index: 1;
}
.process-hero-sub {
  color: rgba(255,255,255,.78);
  font-size: 15px; line-height: 1.6;
  max-width: 600px; position: relative; z-index: 1;
}

/* Legend */
.process-legend {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.legend-chip {
  display: flex; align-items: center; gap: 8px;
  background: #fff;
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 12.5px; font-weight: 600;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid transparent;
}
.legend-dot {
  width: 10px; height: 10px;
  border-radius: 50%; flex-shrink: 0;
}
.legend-chip--poster { border-color: #0070D1; color: #0070D1; }
.legend-chip--poster .legend-dot { background: #0070D1; }
.legend-chip--sme    { border-color: var(--purple); color: var(--purple); }
.legend-chip--sme    .legend-dot { background: var(--purple); }
.legend-chip--joint  { border-color: #6B3FA0; color: #6B3FA0; }
.legend-chip--joint  .legend-dot { background: linear-gradient(135deg,#0070D1,var(--purple)); }
.legend-chip--done   { border-color: var(--success); color: var(--success); }
.legend-chip--done   .legend-dot { background: var(--success); }

/* Flowchart track */
.flow-track-wrap {
  background: #fff;
  border-radius: 14px;
  padding: 40px 36px 36px;
  margin-bottom: 36px;
  box-shadow: var(--shadow);
  overflow-x: auto;
}
.flow-track-title {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--mid-gray);
  margin-bottom: 32px;
}
.flow-track {
  display: flex; align-items: flex-start;
  min-width: 680px;
}
.flow-step {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; flex: 0 0 auto; width: 110px; text-align: center;
}
.flow-circle {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
  position: relative; z-index: 1;
  flex-shrink: 0;
}
.flow-circle--poster { background: #0070D1; }
.flow-circle--sme    { background: var(--purple); }
.flow-circle--joint  { background: linear-gradient(135deg, #0070D1 0%, var(--purple) 100%); }
.flow-circle--done   { background: var(--success); }

.flow-step-num {
  position: absolute; top: -3px; right: -3px;
  width: 18px; height: 18px;
  border-radius: 50%; background: var(--near-black);
  color: #fff; font-size: 9px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.flow-step-title {
  font-size: 12px; font-weight: 700;
  color: var(--near-black); line-height: 1.3;
}
.flow-step-sub {
  font-size: 10.5px; color: var(--mid-gray);
  line-height: 1.3; margin-top: -4px;
}
.flow-step-badge {
  display: inline-block;
  font-size: 9px; font-weight: 700;
  letter-spacing: .4px; text-transform: uppercase;
  border-radius: 3px; padding: 2px 6px;
}
.flow-step-badge--poster { background: #E8F3FF; color: #0070D1; }
.flow-step-badge--sme    { background: var(--purple-lightest); color: var(--purple); }
.flow-step-badge--joint  { background: #f0e8ff; color: #6B3FA0; }
.flow-step-badge--done   { background: #E8F5E9; color: var(--success); }

.flow-connector {
  flex: 1; position: relative;
  height: 2px; margin-top: 29px; /* center to circle */
  background: linear-gradient(to right, #ddd 0%, #ddd 100%);
  min-width: 20px;
}
.flow-connector::after {
  content: '';
  position: absolute;
  right: -1px; top: -5px;
  border: 6px solid transparent;
  border-left: 9px solid #C8C8C8;
}

/* Status flow strip */
.status-flow-strip {
  display: flex; align-items: center; gap: 0;
  background: var(--lightest-gray);
  border-radius: 10px; padding: 14px 20px;
  margin-top: 28px; flex-wrap: wrap; gap: 4px;
}
.status-flow-label {
  font-size: 11px; font-weight: 700; color: var(--mid-gray);
  margin-right: 8px; white-space: nowrap;
  letter-spacing: .6px; text-transform: uppercase;
}
.status-flow-arrow {
  font-size: 13px; color: var(--light-gray); margin: 0 4px;
}

/* Collapsible sections (How It Works — detail / alternate paths) */
.process-collapsible {
  margin-top: 20px;
  border: 1.5px solid var(--lightest-gray);
  border-radius: 10px;
  overflow: hidden;
}
.process-collapsible + .process-collapsible { margin-top: 12px; }
.process-collapsible summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--near-black);
  background: var(--lightest-gray);
  user-select: none;
}
.process-collapsible summary::-webkit-details-marker { display: none; }
.process-collapsible summary::before {
  content: '▸';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--purple);
  color: var(--purple);
  font-size: 15px;
  line-height: 1;
  transition: transform .15s;
  flex-shrink: 0;
}
.process-collapsible[open] summary::before { transform: rotate(90deg); }
.process-collapsible-sub {
  font-weight: 400;
  color: var(--mid-gray);
  font-size: 12px;
}
.process-collapsible-body { padding: 20px; }

/* Detailed step cards */
.process-steps { display: flex; flex-direction: column; gap: 20px; }

.process-step-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid #ece8f4;
  overflow: hidden;
  transition: box-shadow .15s;
}
.process-step-card:hover { box-shadow: var(--shadow-md); }

.step-card-header {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 28px;
  border-bottom: 1.5px solid #f0ecf8;
}
.step-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.step-card-icon--poster { background: #E8F3FF; }
.step-card-icon--sme    { background: var(--purple-lightest); }
.step-card-icon--joint  { background: #f0e8ff; }
.step-card-icon--done   { background: #E8F5E9; }

.step-card-meta { flex: 1; }
.step-card-num {
  font-size: 10.5px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--mid-gray); margin-bottom: 3px;
}
.step-card-title {
  font-size: 18px; font-weight: 800;
  color: var(--near-black); letter-spacing: -.2px;
}
.step-card-badges {
  display: flex; gap: 6px; flex-wrap: wrap; margin-top: 5px;
}
.step-card-body {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; padding: 0;
}
@media (max-width: 780px) {
  .step-card-body { grid-template-columns: 1fr; }
}
.step-card-desc {
  padding: 22px 28px;
  border-right: 1.5px solid #f0ecf8;
  font-size: 13.5px; line-height: 1.7; color: #444;
}
.step-card-desc p { margin-bottom: 10px; }
.step-card-desc p:last-child { margin-bottom: 0; }
.step-card-side { padding: 22px 28px; background: #faf8ff; }

.step-detail-block { margin-bottom: 16px; }
.step-detail-block:last-child { margin-bottom: 0; }
.step-detail-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: var(--mid-gray); margin-bottom: 6px;
}
.step-actions-list {
  list-style: none; display: flex; flex-direction: column; gap: 5px;
}
.step-actions-list li {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 12.5px; color: var(--near-black); line-height: 1.5;
}
.step-actions-list li::before {
  content: '→';
  color: var(--purple); font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}
.step-tip {
  background: #fff8e1;
  border-left: 3px solid #FFB300;
  border-radius: 0 6px 6px 0;
  padding: 10px 14px;
  font-size: 12px; color: #5a4000; line-height: 1.6;
}
.step-tip strong { color: #8a6000; }

.step-duration-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--lightest-gray);
  border-radius: 6px; padding: 5px 10px;
  font-size: 12px; font-weight: 600; color: var(--dark-gray);
}

/* ── Dev Role Switcher ───────────────────────────────────────────────────── */
.dev-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 24px;
  background: #f8f4ff;
  border-bottom: 1px solid #e0d0f8;
  font-size: 12px;
  flex-shrink: 0;
}
.dev-bar--active {
  background: #fff8e1;
  border-bottom-color: #ffe082;
}
.dev-bar-label {
  font-weight: 600;
  color: var(--mid-gray);
  white-space: nowrap;
}
.dev-bar-pills {
  display: flex;
  gap: 5px;
}
.dev-pill {
  padding: 3px 11px;
  border-radius: 20px;
  border: 1.5px solid var(--light-gray);
  background: transparent;
  color: var(--mid-gray);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  line-height: 1.5;
}
.dev-pill:hover { border-color: var(--purple); color: var(--purple); }
.dev-pill--superadmin.active { border-color: var(--purple); background: var(--purple); color: #fff; }
.dev-pill--poster.active    { border-color: #0070D1; background: #0070D1; color: #fff; }
.dev-pill--sme.active       { border-color: #E65100; background: #E65100; color: #fff; }
.dev-bar-notice {
  margin-left: 6px;
  font-weight: 600;
  color: #856404;
}

/* ═══════════════════════════════════════════════════════════════
   TEAM ROADMAP
   ═══════════════════════════════════════════════════════════════ */

/* ── Page header ─────────────────────────────────────────────── */
.roadmap-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.roadmap-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.roadmap-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--near-black);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.roadmap-subtitle {
  font-size: 13px;
  color: var(--mid-gray);
}
.roadmap-team-badge {
  font-size: 13px;
  font-weight: 600;
  background: var(--purple-lightest);
  color: var(--purple-dark);
  border: 1px solid var(--purple-light);
  border-radius: 20px;
  padding: 2px 12px;
}
.roadmap-team-badge--all {
  background: var(--lightest-gray);
  color: var(--mid-gray);
  border-color: var(--light-gray);
}
.roadmap-team-select {
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  font-family: inherit;
  background: #fff;
  color: var(--near-black);
  cursor: pointer;
}
.roadmap-view-toggle {
  display: flex;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  overflow: hidden;
}
.roadmap-view-btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mid-gray);
  text-decoration: none;
  background: #fff;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.roadmap-view-btn + .roadmap-view-btn { border-left: 1px solid var(--light-gray); }
.roadmap-view-btn.active,
.roadmap-view-btn:hover { background: var(--purple-lightest); color: var(--purple-dark); }

/* ── Stats strip ─────────────────────────────────────────────── */
.roadmap-stats {
  display: flex;
  gap: 2px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #ece8f4;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.roadmap-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  border-right: 1px solid #ece8f4;
  min-width: 0;
}
.roadmap-stat:last-child { border-right: none; }
.roadmap-stat-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--near-black);
  line-height: 1;
}
.roadmap-stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--mid-gray);
  margin-top: 4px;
}
.roadmap-stat--exploring .roadmap-stat-num { color: #0070D1; }
.roadmap-stat--scoping   .roadmap-stat-num { color: var(--purple); }
.roadmap-stat--ready     .roadmap-stat-num { color: #E65100; }
.roadmap-stat--converted .roadmap-stat-num { color: var(--success); }

/* ── Pipeline / Kanban ───────────────────────────────────────── */
.roadmap-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: start;
  min-width: 0;
}
.roadmap-pipeline--3col {
  grid-template-columns: 2fr 1fr 1fr;
}
@media (max-width: 1100px) { .roadmap-pipeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .roadmap-pipeline { grid-template-columns: 1fr; } }

.pipeline-col {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ece8f4;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.pipeline-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 8px;
  border-bottom: 2px solid;
}
.pipeline-col--exploring .pipeline-col-header { border-color: #0070D1; background: #e8f4ff; }
.pipeline-col--scoping   .pipeline-col-header { border-color: var(--purple); background: var(--purple-lightest); }
.pipeline-col--ready     .pipeline-col-header { border-color: #E65100; background: #fff3e0; }
.pipeline-col--converted .pipeline-col-header { border-color: var(--success); background: #e8f5e9; }

.pipeline-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--near-black);
}
.pipeline-col-count {
  font-size: 13px;
  font-weight: 700;
  background: rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 1px 8px;
  color: var(--dark-gray);
}
.pipeline-col-tip {
  font-size: 11px;
  color: var(--mid-gray);
  padding: 5px 14px 8px;
  border-bottom: 1px solid #f0edf5;
}
.pipeline-cards {
  padding: 10px 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 80px;
}
.pipeline-empty {
  font-size: 12px;
  color: var(--light-gray);
  text-align: center;
  padding: 20px 0;
  font-style: italic;
}

/* ── Roadmap card (compact — click to open detail) ───────────── */
.roadmap-card {
  background: #fff;
  border: 1px solid #e8e4f2;
  border-radius: 8px;
  padding: 10px 12px 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: box-shadow .15s, transform .1s;
  position: relative;
}
.roadmap-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.roadmap-card--high   { border-left: 3px solid var(--danger); }
.roadmap-card--medium { border-left: 3px solid #E65100; }
.roadmap-card--low    { border-left: 3px solid #0070D1; }

/* Stage pill — top of card */
.card-stage-pill {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  border-radius: 20px;
  padding: 2px 8px;
  margin-bottom: 2px;
  width: fit-content;
}
.card-stage-pill--scoping   { background: var(--purple-lightest); color: var(--purple-dark); }
.card-stage-pill--ready     { background: #fff3e0; color: #bf5000; }
.card-stage-pill--converted { background: #e8f5e9; color: #2e7d32; }

/* Compact title */
.card-title--compact {
  font-weight: 700;
  font-size: 13px;
  color: var(--near-black);
  line-height: 1.35;
}

/* Bottom meta row */
.card-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.card-priority-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.card-priority-dot--high   { background: var(--danger); }
.card-priority-dot--medium { background: #E65100; }
.card-priority-dot--low    { background: #0070D1; }
.card-meta-owner, .card-meta-team {
  font-size: 11px;
  color: var(--mid-gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}
.card-meta-spacer { flex: 1; }
.card-eta {
  font-size: 10.5px;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.card-eta--overdue { color: var(--danger); font-weight: 700; }
.card-eta--soon    { color: #E65100; font-weight: 600; }
.card-eta--medium  { color: var(--dark-gray); }
.card-eta--future  { color: var(--mid-gray); }
.card-eta--none    { color: var(--light-gray); font-style: italic; }
.eta-tag {
  font-size: 9px;
  font-weight: 700;
  background: var(--danger);
  color: #fff;
  border-radius: 3px;
  padding: 0px 4px;
}
.card-converted-note {
  font-size: 11px;
  color: var(--success);
  font-weight: 600;
  margin-top: 2px;
}
.card-idea-link {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--purple);
  text-decoration: none;
  background: var(--purple-lightest);
  border-radius: 5px;
  padding: 3px 8px;
  display: inline-block;
}
.card-idea-link:hover { text-decoration: underline; }

/* Shared button style (used in detail modal too) */
.card-btn {
  font-size: 11px;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  padding: 4px 9px;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .15s;
  white-space: nowrap;
}
.card-btn:hover { opacity: .8; }
.card-btn--edit    { background: var(--lightest-gray); color: var(--dark-gray); }
.card-btn--delete  { background: #fff0f0; color: var(--danger); }
.card-btn--promote { background: var(--purple-lightest); color: var(--purple-dark); }

/* ── Detail modal content ────────────────────────────────────── */
.rm-modal--detail { max-width: 560px; }
.detail-text-block {
  font-size: 13px;
  color: var(--dark-gray);
  line-height: 1.6;
  background: var(--lightest-gray);
  border-radius: 6px;
  padding: 10px 14px;
  white-space: pre-wrap;
}
.detail-text-block--amber {
  background: #fffaf0;
  border-left: 3px solid #FFB300;
}
.badge-priority, .badge-stage, .badge-eta {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  padding: 3px 10px;
}
.badge-priority--high   { background: #ffebee; color: var(--danger); }
.badge-priority--medium { background: #fff3e0; color: #bf5000; }
.badge-priority--low    { background: #e8f4ff; color: #0058a8; }
.badge-stage { background: var(--lightest-gray); color: var(--dark-gray); }
.badge-stage-exploring  { background: #e8f4ff; color: #0058a8; }
.badge-stage-scoping    { background: var(--purple-lightest); color: var(--purple-dark); }
.badge-stage-ready      { background: #fff3e0; color: #bf5000; }
.badge-stage-converted  { background: #e8f5e9; color: #2e7d32; }
.badge-eta { background: var(--lightest-gray); color: var(--dark-gray); }
.badge-eta--overdue { background: #ffebee; color: var(--danger); }
.badge-eta--soon    { background: #fff3e0; color: #bf5000; }

/* ── Timeline view ───────────────────────────────────────────── */
.roadmap-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.timeline-group {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ece8f4;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.timeline-group--past { opacity: .75; }
.timeline-group--noeta .timeline-month-header { background: var(--lightest-gray); }

.timeline-month-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--purple-lightest);
  border-bottom: 1px solid #e0d8f4;
}
.timeline-month-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-darker);
  display: flex;
  align-items: center;
  gap: 8px;
}
.timeline-past-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--mid-gray);
  color: #fff;
  border-radius: 4px;
  padding: 1px 6px;
}
.timeline-month-count {
  font-size: 12px;
  color: var(--mid-gray);
  font-weight: 600;
}
.timeline-items {
  padding: 8px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 4px;
  border-bottom: 1px solid #f5f3fa;
}
.timeline-item:last-child { border-bottom: none; }
.timeline-item-left { padding-top: 4px; }
.timeline-priority-dot {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.timeline-priority-dot--high   { background: var(--danger); }
.timeline-priority-dot--medium { background: #E65100; }
.timeline-priority-dot--low    { background: #0070D1; }

.timeline-item-body { flex: 1; min-width: 0; }
.timeline-item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 3px;
}
.timeline-item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--mid-gray);
  margin-bottom: 4px;
}
.timeline-status-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 4px;
}
.timeline-status-badge--exploring { background: #e8f4ff; color: #0070D1; }
.timeline-status-badge--scoping   { background: var(--purple-lightest); color: var(--purple-dark); }
.timeline-status-badge--ready     { background: #fff3e0; color: #E65100; }

.timeline-item-desc {
  font-size: 11.5px;
  color: var(--dark-gray);
  line-height: 1.45;
}
.timeline-item-actions { flex-shrink: 0; }

/* ── Flash message ───────────────────────────────────────────── */
.flash { padding: 10px 16px; border-radius: 8px; font-size: 13px; font-weight: 500; margin-bottom: 16px; }
.flash-ok  { background: #e8f5e9; color: #1b5e20; border: 1px solid #c8e6c9; }
.flash-err { background: #ffebee; color: #7f1d1d; border: 1px solid #ffcdd2; }

/* ── Empty state ─────────────────────────────────────────────── */
.roadmap-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--mid-gray);
  background: #fff;
  border-radius: 10px;
  border: 1px dashed var(--light-gray);
}

/* ── Create / Edit Modal ─────────────────────────────────────── */
.rm-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 900;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.rm-modal-overlay.open { display: flex; }

.rm-modal {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}
.rm-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: 1px solid #f0edf5;
}
.rm-modal-title { font-size: 17px; font-weight: 700; }
.rm-modal-close {
  background: none;
  border: none;
  font-size: 16px;
  color: var(--mid-gray);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}
.rm-modal-close:hover { background: var(--lightest-gray); }
.rm-modal-body { padding: 18px 22px; display: flex; flex-direction: column; gap: 14px; }
.rm-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 22px 18px;
  border-top: 1px solid #f0edf5;
}

.rm-field { display: flex; flex-direction: column; gap: 5px; }
.rm-field--grow { flex: 1; }
.rm-field-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.rm-label { font-size: 12px; font-weight: 600; color: var(--dark-gray); }
.rm-required { color: var(--danger); }
.rm-input {
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
  color: var(--near-black);
  background: #fff;
  transition: border-color .15s;
  width: 100%;
}
.rm-input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(161,0,255,.08); }
.rm-textarea { resize: vertical; min-height: 72px; }

/* ── Calendar view ───────────────────────────────────────────── */
.roadmap-calendar { display: flex; flex-direction: column; gap: 28px; }

.cal-month-block {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ece8f4;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cal-month-block--past { opacity: .8; }
.cal-month-block--noeta .cal-month-header { background: var(--lightest-gray); }

.cal-month-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--purple-lightest);
  border-bottom: 1px solid #e0d8f4;
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-darker);
}
.cal-month-count { font-size: 12px; font-weight: 600; color: var(--mid-gray); }
.cal-past-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--mid-gray);
  color: #fff;
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}
.cal-dow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--mid-gray);
  text-align: center;
  padding: 8px 4px 6px;
  background: #faf8ff;
  border-bottom: 1px solid #ece8f4;
}
.cal-cell {
  min-height: 72px;
  padding: 5px 6px 6px;
  border-right: 1px solid #f0edf5;
  border-bottom: 1px solid #f0edf5;
  vertical-align: top;
  position: relative;
}
.cal-cell:nth-child(7n) { border-right: none; }
.cal-cell--empty { background: #fafafa; }
.cal-cell--today { background: #fdf5ff; }
.cal-cell--has-items { background: #fff; }

.cal-day-num {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--mid-gray);
  margin-bottom: 3px;
  text-align: right;
}
.cal-day-num--today {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 11px;
  float: right;
}

.cal-chip {
  font-size: 10.5px;
  font-weight: 600;
  border-radius: 4px;
  padding: 2px 5px;
  margin-bottom: 2px;
  cursor: pointer;
  line-height: 1.35;
  word-break: break-word;
  transition: opacity .12s;
  display: block;
}
.cal-chip:hover { opacity: .8; }
.cal-chip--high   { background: #ffe8e8; color: #b00; border-left: 2px solid var(--danger); }
.cal-chip--medium { background: #fff3e0; color: #7a3000; border-left: 2px solid #E65100; }
.cal-chip--low    { background: #e8f4ff; color: #003b8a; border-left: 2px solid #0070D1; }
.cal-chip--scoping   { border-style: dashed; }
.cal-chip--converted { opacity: .55; }

/* No-ETA list */
.cal-noeta-list { padding: 8px 14px 12px; display: flex; flex-direction: column; gap: 0; }
.cal-noeta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  border-bottom: 1px solid #f5f3fa;
  cursor: pointer;
  flex-wrap: wrap;
}
.cal-noeta-item:last-child { border-bottom: none; }
.cal-noeta-item:hover { background: #faf8ff; }
.cal-noeta-title { font-size: 13px; font-weight: 600; flex: 1; min-width: 120px; }
.cal-noeta-owner { font-size: 11.5px; color: var(--mid-gray); }

/* ── Detail modal — wider, scrollable ───────────────────────── */
.rm-modal--detail { max-width: 620px; }
.detail-loading, .detail-error {
  padding: 32px;
  text-align: center;
  color: var(--mid-gray);
  font-size: 14px;
}

.detail-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.badge-owner {
  font-size: 12px;
  font-weight: 600;
  background: var(--lightest-gray);
  color: var(--dark-gray);
  border-radius: 6px;
  padding: 3px 10px;
}

.detail-section { display: flex; flex-direction: column; gap: 6px; }
.detail-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--mid-gray);
  display: flex;
  align-items: center;
  gap: 6px;
}
.detail-meta {
  font-size: 11px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* Status history */
.detail-history { display: flex; flex-direction: column; gap: 4px; }
.history-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  flex-wrap: wrap;
}
.history-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.history-dot--exploring  { background: #0070D1; }
.history-dot--scoping    { background: var(--purple); }
.history-dot--ready      { background: #E65100; }
.history-dot--converted  { background: var(--success); }
.history-text { flex: 1; color: var(--dark-gray); }
.history-meta { font-size: 11px; color: var(--mid-gray); white-space: nowrap; }

/* Comments */
.comment-count {
  background: var(--purple-lightest);
  color: var(--purple-dark);
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
  padding: 1px 7px;
}
.detail-comments { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.comment-empty {
  font-size: 12px;
  color: var(--light-gray);
  font-style: italic;
  padding: 8px 0;
}
.detail-comment {
  background: var(--lightest-gray);
  border-radius: 8px;
  padding: 9px 12px;
  border-left: 3px solid var(--purple-light);
}
.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  flex-wrap: wrap;
  gap: 4px;
}
.comment-author { font-size: 12px; font-weight: 700; color: var(--purple-dark); }
.comment-date   { font-size: 11px; color: var(--mid-gray); }
.comment-body   { font-size: 12.5px; color: var(--dark-gray); line-height: 1.5; white-space: pre-wrap; }

.comment-form { border-top: 1px solid #f0edf5; padding-top: 10px; }

/* Idea-fields row in detail modal */
.detail-idea-fields {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.detail-idea-chip {
  font-size: 11.5px;
  font-weight: 600;
  background: #f0ecff;
  color: var(--purple-dark);
  border-radius: 20px;
  padding: 3px 10px;
}
.detail-idea-chip--hours {
  background: #e8f5e9;
  color: #2e7d32;
}
