:root {
  --green: #60b84a;
  --green-dark: #418f31;
  --green-pale: #eef8eb;
  --purple: #b74ab8;
  --purple-pale: #f8ecf8;
  --charcoal: #30343b;
  --text: #3c4148;
  --muted: #707780;
  --line: #e4e7ea;
  --soft: #f5f7f8;
  --white: #ffffff;
  --amber: #d9921e;
  --amber-pale: #fff7e8;
  --red: #c84e4e;
  --red-pale: #fff0f0;
  --blue: #4d7cbf;
  --blue-pale: #eef4fd;
  --shadow: 0 12px 32px rgba(42, 50, 56, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #f2f4f5;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 252px minmax(0, 1fr); }
.sidebar {
  position: sticky; top: 0; height: 100vh; background: #252a31; color: #fff;
  display: flex; flex-direction: column; padding: 24px 18px; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 24px; cursor: pointer; }
.brand-mark { width: 40px; height: 40px; color: var(--green); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { font-size: 21px; font-weight: 800; letter-spacing: -.5px; }
.brand-subtitle { color: #aeb5bd; font-size: 12px; margin-top: 2px; }
.nav-list { display: grid; gap: 7px; }
.nav-item {
  border: 0; color: #c7cdd3; background: transparent; border-radius: 11px;
  padding: 12px 13px; display: flex; align-items: center; gap: 12px; text-align: left;
}
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.active { background: rgba(96,184,74,.18); color: #fff; }
.nav-icon { width: 21px; text-align: center; font-size: 18px; }
.nav-count { margin-left: auto; min-width: 24px; padding: 2px 6px; border-radius: 10px; background: var(--green); color: #fff; text-align: center; font-size: 11px; font-weight: 800; }
.sidebar-footer { margin-top: auto; padding: 18px 8px 0; border-top: 1px solid rgba(255,255,255,.08); }
.coverage-mini__label { color: #aeb5bd; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.coverage-mini__bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); margin: 9px 0 7px; overflow: hidden; }
.coverage-mini__bar span { display:block; height:100%; width:0; background: var(--green); border-radius: inherit; transition: width .3s ease; }
.coverage-mini__value { font-size: 12px; color: #e5e9ed; }
.secondary-link { border: 0; padding: 18px 0 0; background: transparent; color: #aeb5bd; font-size: 12px; }
.secondary-link:hover { color: #fff; }

.main-content { min-width: 0; }
.topbar {
  height: 72px; padding: 0 34px; background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 15;
}
.topbar-title { font-weight: 760; color: var(--charcoal); }
.topbar-actions { display:flex; gap: 12px; align-items:center; }
.icon-button { border: 1px solid var(--line); background:#fff; border-radius: 10px; width:38px; height:38px; }
.user-pill { display:flex; align-items:center; gap:9px; font-size:13px; font-weight:650; }
.avatar { width:34px; height:34px; border-radius:50%; background:var(--green-pale); color:var(--green-dark); display:grid; place-items:center; font-size:12px; font-weight:800; }
.mobile-menu { display:none; border:0; background:transparent; font-size:22px; }

.view { display:none; padding: 30px 34px 60px; animation: fade .18s ease; }
.view.active { display:block; }
@keyframes fade { from { opacity:0; transform: translateY(3px); } to { opacity:1; transform:none; } }

h1,h2,h3,p { margin-top:0; }
h1 { font-size: clamp(30px, 3.2vw, 48px); line-height:1.08; letter-spacing:-1.5px; color:var(--charcoal); margin-bottom:16px; }
h2 { color:var(--charcoal); }
p { color: var(--muted); line-height:1.6; }
.eyebrow { font-size: 11px; font-weight:800; color:var(--green-dark); letter-spacing:.13em; margin-bottom:10px; }

.hero-card {
  min-height: 330px; border-radius: 24px; padding: 44px 48px; background: linear-gradient(135deg, #fff 0%, #f4f8f2 100%);
  display:grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap:32px; box-shadow: var(--shadow); overflow:hidden; position:relative;
}
.hero-copy { max-width: 700px; position:relative; z-index:2; }
.hero-copy p { font-size: 17px; max-width: 640px; }
.hero-actions, .results-actions { display:flex; flex-wrap:wrap; gap:11px; }
.btn { border-radius: 10px; padding: 11px 17px; font-weight:750; border:1px solid transparent; transition:.18s ease; }
.btn-primary { background:var(--green); color:#fff; box-shadow: 0 6px 16px rgba(96,184,74,.2); }
.btn-primary:hover { background:var(--green-dark); transform: translateY(-1px); }
.btn-secondary { background:#fff; border-color:#d8dde1; color:var(--charcoal); }
.btn-secondary:hover { border-color:#b9c0c6; }
.btn-ghost { background:transparent; color:var(--muted); }
.btn:disabled { opacity:.5; cursor:not-allowed; transform:none; }
.text-button { border:0; background:transparent; color:var(--green-dark); font-weight:750; }

.hero-visual { position:relative; min-height: 240px; }
.orbit { position:absolute; border:1px solid rgba(96,184,74,.25); border-radius:50%; }
.orbit-one { width:250px; height:250px; right:10px; top:-3px; }
.orbit-two { width:180px; height:180px; right:45px; top:32px; border-color:rgba(183,74,184,.22); }
.visual-node { position:absolute; display:grid; place-items:center; border-radius:50%; box-shadow:0 10px 28px rgba(42,50,56,.14); font-weight:800; background:#fff; }
.main-node { width:86px; height:86px; right:93px; top:78px; background:var(--green); color:#fff; font-size:25px; }
.node-a { width:54px; height:54px; right:30px; top:36px; color:var(--purple); }
.node-b { width:66px; height:66px; right:170px; top:28px; color:var(--green-dark); font-size:12px; }
.node-c { width:48px; height:48px; right:34px; top:162px; color:var(--blue); }
.node-d { width:62px; height:62px; right:186px; top:170px; color:var(--amber); font-size:11px; }

.entry-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:18px; margin-top:22px; }
.entry-card, .panel, .wizard-card, .guidance-card, .monitor-card, .group-section, .coverage-banner {
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow: 0 4px 16px rgba(42,50,56,.035);
}
.entry-card { padding:23px; position:relative; cursor:pointer; transition:.18s ease; }
.entry-card:hover { transform:translateY(-3px); box-shadow:var(--shadow); border-color:#d4d8db; }
.entry-card.recommended { border:1px solid rgba(96,184,74,.48); }
.entry-badge { position:absolute; right:14px; top:14px; color:var(--green-dark); background:var(--green-pale); padding:5px 8px; border-radius:12px; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.entry-icon { width:46px; height:46px; border-radius:13px; display:grid; place-items:center; font-size:22px; margin-bottom:16px; }
.entry-icon.green { background:var(--green-pale); color:var(--green-dark); }
.entry-icon.purple { background:var(--purple-pale); color:var(--purple); }
.entry-icon.charcoal { background:#edf0f2; color:var(--charcoal); }
.entry-card h2 { font-size:18px; margin-bottom:8px; }
.entry-card p { font-size:13px; min-height:62px; }
.entry-meta { color:var(--green-dark); font-size:12px; font-weight:750; display:flex; justify-content:space-between; }

.dashboard-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:18px; margin-top:18px; }
.panel { padding:24px; }
.panel-header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.panel-header h2 { font-size:19px; margin-bottom:0; }
.readiness-row { display:flex; gap:22px; align-items:center; margin-top:24px; }
.readiness-ring { --p:0; width:112px; height:112px; border-radius:50%; display:grid; place-items:center; background:conic-gradient(var(--green) calc(var(--p)*1%), #edf0f1 0); position:relative; flex:0 0 auto; }
.readiness-ring::after { content:""; width:78px; height:78px; border-radius:50%; background:#fff; position:absolute; }
.readiness-ring span { position:relative; z-index:1; font-weight:850; color:var(--charcoal); }
.readiness-copy h3 { margin-bottom:5px; font-size:17px; }
.readiness-copy p { font-size:13px; margin-bottom:12px; }
.profile-tags, .tag-row { display:flex; gap:7px; flex-wrap:wrap; }
.tag { padding:5px 8px; border-radius:12px; background:#eff2f3; color:#596069; font-size:10px; font-weight:700; }
.metric-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:24px; }
.metric-card { border-radius:13px; background:var(--green-pale); padding:16px; }
.metric-card.warning { background:var(--amber-pale); }
.metric-card span { display:block; font-size:26px; font-weight:850; color:var(--charcoal); }
.metric-card small { color:var(--muted); line-height:1.3; display:block; margin-top:4px; }

.builder-layout { display:grid; grid-template-columns:minmax(0, 1fr) 290px; gap:20px; align-items:start; }
.wizard-card { padding:28px; min-height: 680px; display:flex; flex-direction:column; }
.wizard-header { display:flex; justify-content:space-between; gap:20px; }
.wizard-header h1 { font-size:32px; margin-bottom:8px; }
.wizard-header p { font-size:13px; margin-bottom:0; }
.step-counter { white-space:nowrap; font-size:12px; color:var(--muted); font-weight:700; }
.progress-track { height:7px; background:#edf0f1; border-radius:8px; overflow:hidden; margin:22px 0 12px; }
.progress-track span { display:block; height:100%; width:20%; background:var(--green); transition:width .25s ease; }
.step-tabs { display:grid; grid-template-columns:repeat(5,1fr); gap:6px; margin-bottom:28px; }
.step-tab { font-size:10px; color:#8a9198; text-align:center; padding:8px 4px; border-radius:8px; }
.step-tab.active { color:var(--green-dark); background:var(--green-pale); font-weight:800; }
.step-tab.complete { color:var(--charcoal); }
.wizard-step { display:none; }
.wizard-step.active { display:block; }
.question-block { margin-bottom:26px; }
.question-block.compact { margin-top:4px; }
.question-title { display:block; font-size:19px; font-weight:800; color:var(--charcoal); margin-bottom:5px; }
.question-help { font-size:13px; margin-bottom:15px; }
.choice-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.choice-grid.activities { grid-template-columns:repeat(2,minmax(0,1fr)); }
.choice-card { border:1px solid var(--line); background:#fff; border-radius:12px; padding:14px; text-align:left; min-height:86px; position:relative; }
.choice-card:hover { border-color:#bdc4c9; }
.choice-card.selected { border-color:var(--green); background:var(--green-pale); box-shadow: inset 0 0 0 1px var(--green); }
.choice-card strong { display:block; color:var(--charcoal); margin-bottom:5px; font-size:13px; }
.choice-card small { display:block; color:var(--muted); line-height:1.35; }
.choice-check { position:absolute; right:10px; top:10px; width:19px; height:19px; border-radius:50%; border:1px solid #cfd4d8; display:grid; place-items:center; color:#fff; font-size:11px; }
.choice-card.selected .choice-check { background:var(--green); border-color:var(--green); }
.two-column-form { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.field-group { display:grid; gap:7px; }
.field-group label { font-size:12px; font-weight:750; color:var(--charcoal); }
.field-group input, .field-group select, .field-group textarea, .location-picker input, .search-field input, .library-toolbar select {
  width:100%; border:1px solid #d8dde1; border-radius:10px; background:#fff; padding:11px 12px; color:var(--charcoal); outline:none;
}
.field-group input:focus, .field-group select:focus, .field-group textarea:focus, .location-picker input:focus, .search-field input:focus, .library-toolbar select:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(96,184,74,.12); }
.full-width { margin-top:10px; }
.location-picker { border:1px solid var(--line); background:#fafbfb; border-radius:13px; padding:14px; }
.selected-summary { font-size:12px; color:var(--muted); margin:10px 0; }
.state-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:7px; max-height:240px; overflow:auto; }
.state-chip { border:1px solid var(--line); background:#fff; border-radius:8px; padding:7px 5px; font-size:11px; }
.state-chip.selected { background:var(--green-pale); color:var(--green-dark); border-color:var(--green); font-weight:800; }
.check-card { display:flex; gap:12px; border:1px solid var(--line); border-radius:12px; padding:15px; align-items:flex-start; }
.check-card input { margin-top:3px; accent-color:var(--green); }
.check-card strong, .check-card small { display:block; }
.check-card strong { font-size:13px; margin-bottom:4px; }
.check-card small { color:var(--muted); line-height:1.4; }
.wizard-footer { margin-top:auto; padding-top:24px; display:flex; align-items:center; border-top:1px solid var(--line); }
.footer-spacer { flex:1; }
.guidance-card { padding:24px; position:sticky; top:96px; }
.guidance-icon { width:44px; height:44px; border-radius:14px; background:var(--green-pale); color:var(--green-dark); display:grid; place-items:center; font-size:22px; font-weight:800; }
.guidance-card h3 { margin-top:15px; margin-bottom:8px; }
.guidance-card p { font-size:13px; }
.privacy-note { border-top:1px solid var(--line); padding-top:16px; margin-top:18px; }
.privacy-note strong, .privacy-note span { display:block; font-size:12px; }
.privacy-note span { color:var(--muted); margin-top:4px; line-height:1.4; }

.results-header, .page-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:20px; }
.results-header h1, .page-heading h1 { font-size:34px; margin-bottom:8px; }
.results-header p, .page-heading p { margin-bottom:0; }
.results-scorecard { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:18px; }
.score-card { background:#fff; border:1px solid var(--line); border-radius:14px; padding:17px; }
.score-card .score-label { font-size:11px; text-transform:uppercase; letter-spacing:.08em; font-weight:850; }
.score-card strong { display:block; font-size:27px; color:var(--charcoal); margin-top:6px; }
.score-card small { color:var(--muted); }
.score-card.essential .score-label { color:var(--red); }
.score-card.recommended .score-label { color:var(--green-dark); }
.score-card.consider .score-label { color:var(--amber); }
.score-card.emerging .score-label { color:var(--purple); }
.results-toolbar { display:flex; gap:15px; justify-content:space-between; align-items:center; margin:18px 0; }
.filter-pills, .industry-chips { display:flex; gap:8px; flex-wrap:wrap; }
.filter-pill, .industry-chip { border:1px solid var(--line); background:#fff; border-radius:18px; padding:7px 11px; color:var(--muted); font-size:11px; font-weight:750; }
.filter-pill.active, .industry-chip.active { color:#fff; background:var(--charcoal); border-color:var(--charcoal); }
.search-field { display:flex; align-items:center; gap:8px; border:1px solid #d8dde1; background:#fff; border-radius:10px; padding:0 11px; }
.search-field input { border:0; box-shadow:none; padding-left:0; }
.compact-search { width:260px; }
.group-section { margin-bottom:16px; overflow:hidden; }
.group-header { display:flex; justify-content:space-between; gap:16px; align-items:center; padding:18px 20px; border-bottom:1px solid var(--line); }
.group-header h2 { font-size:18px; margin:0; }
.group-header span { color:var(--muted); font-size:12px; }
.recommendation-list { display:grid; }
.recommendation-card { padding:19px 20px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px; border-bottom:1px solid var(--line); }
.recommendation-card:last-child { border-bottom:0; }
.recommendation-main { display:grid; gap:8px; }
.rec-title-row { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.rec-title-row h3 { font-size:15px; margin:0; }
.tier-badge { padding:4px 7px; border-radius:10px; font-size:9px; font-weight:900; text-transform:uppercase; letter-spacing:.06em; }
.tier-Essential { background:var(--red-pale); color:var(--red); }
.tier-Recommended { background:var(--green-pale); color:var(--green-dark); }
.tier-Consider { background:var(--amber-pale); color:var(--amber); }
.tier-Emerging { background:var(--purple-pale); color:var(--purple); }
.rec-description { font-size:12px; color:var(--muted); line-height:1.5; }
.why-box { background:#f7f9fa; border-radius:9px; padding:10px 12px; font-size:11px; color:#596069; }
.why-box strong { color:var(--charcoal); }
.rec-actions { display:flex; flex-direction:column; justify-content:center; gap:7px; min-width:120px; }
.small-btn { border-radius:9px; padding:8px 11px; font-size:11px; font-weight:800; border:1px solid #d7dce0; background:#fff; color:var(--charcoal); }
.small-btn.added { background:var(--green-pale); border-color:var(--green); color:var(--green-dark); }
.small-btn.dismiss { color:var(--muted); border-color:transparent; background:transparent; }

.library-toolbar { display:grid; grid-template-columns:minmax(300px,1fr) 210px 210px; gap:12px; margin-bottom:14px; }
.large-search { min-height:44px; }
.industry-chips { margin:16px 0; }
.library-meta { color:var(--muted); font-size:12px; margin-bottom:10px; }
.monitor-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.monitor-card { padding:18px; display:flex; flex-direction:column; min-height:260px; }
.monitor-card h3 { font-size:15px; margin:8px 0; }
.monitor-card p { font-size:12px; flex:1; }
.monitor-meta { display:flex; justify-content:space-between; color:var(--muted); font-size:10px; margin-top:12px; padding-top:12px; border-top:1px solid var(--line); }
.monitor-card .small-btn { margin-top:12px; width:100%; }

.coverage-banner { padding:20px; display:flex; justify-content:space-between; gap:20px; align-items:center; margin-bottom:18px; }
.coverage-banner h3 { margin-bottom:4px; }
.coverage-banner p { margin-bottom:0; font-size:13px; }
.coverage-number { font-size:32px; font-weight:900; color:var(--green-dark); white-space:nowrap; }
.empty-state { background:#fff; border:1px dashed #ccd2d6; border-radius:16px; padding:50px 24px; text-align:center; }
.empty-state .entry-icon { margin:0 auto 16px; }
.watchlist-table { width:100%; border-collapse:collapse; background:#fff; border:1px solid var(--line); border-radius:15px; overflow:hidden; }
.watchlist-table th, .watchlist-table td { padding:14px 15px; text-align:left; border-bottom:1px solid var(--line); vertical-align:top; }
.watchlist-table th { background:#f7f9fa; color:#69717a; font-size:10px; text-transform:uppercase; letter-spacing:.07em; }
.watchlist-table td { font-size:12px; }
.watchlist-table tr:last-child td { border-bottom:0; }
.remove-btn { border:0; background:transparent; color:var(--red); font-weight:750; }

.toast { position:fixed; right:22px; bottom:22px; background:var(--charcoal); color:#fff; padding:12px 16px; border-radius:10px; box-shadow:var(--shadow); opacity:0; transform:translateY(10px); pointer-events:none; transition:.2s ease; z-index:50; font-size:12px; }
.toast.show { opacity:1; transform:none; }

@media (max-width: 1100px) {
  .entry-grid, .monitor-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .builder-layout { grid-template-columns:1fr; }
  .guidance-card { position:static; }
  .dashboard-grid { grid-template-columns:1fr; }
  .hero-card { grid-template-columns:1fr; }
  .hero-visual { display:none; }
  .library-toolbar { grid-template-columns:1fr 1fr; }
  .large-search { grid-column:1/-1; }
}
@media (max-width: 780px) {
  .app-shell { grid-template-columns:1fr; }
  .sidebar { position:fixed; left:-270px; transition:left .2s ease; }
  .sidebar.open { left:0; }
  .mobile-menu { display:block; }
  .topbar { padding:0 18px; }
  .user-pill span:last-child { display:none; }
  .view { padding:22px 16px 50px; }
  .entry-grid, .monitor-grid, .choice-grid, .choice-grid.activities, .results-scorecard, .metric-grid { grid-template-columns:1fr; }
  .hero-card { padding:30px 24px; }
  .two-column-form, .library-toolbar { grid-template-columns:1fr; }
  .state-grid { grid-template-columns:repeat(3,1fr); }
  .results-header, .page-heading { align-items:flex-start; flex-direction:column; }
  .results-toolbar { flex-direction:column; align-items:stretch; }
  .compact-search { width:100%; }
  .recommendation-card { grid-template-columns:1fr; }
  .rec-actions { flex-direction:row; }
  .wizard-card { padding:20px; }
  .step-tab { font-size:0; }
  .step-tab::after { content:"•"; font-size:18px; }
  .coverage-banner { align-items:flex-start; flex-direction:column; }
  .watchlist-table, .watchlist-table tbody, .watchlist-table tr, .watchlist-table td { display:block; width:100%; }
  .watchlist-table thead { display:none; }
  .watchlist-table tr { border-bottom:1px solid var(--line); padding:10px 0; }
  .watchlist-table td { border:0; padding:7px 14px; }
}

/* ==========================================================
   RegWatch current application visual theme
   Blends the Guided Watchlist MVP with the existing dashboard
   ========================================================== */
:root {
  --green: #55b96b;
  --green-dark: #23856a;
  --green-pale: #e8f8ea;
  --purple: #9b69dc;
  --purple-pale: #f1e8ff;
  --charcoal: #403933;
  --text: #4f596d;
  --muted: #65728b;
  --line: #e3e8f2;
  --soft: #f5f8fc;
  --white: #ffffff;
  --amber: #f0ad4e;
  --amber-pale: #fff3dd;
  --red: #cf3559;
  --red-pale: #fde8ed;
  --blue: #5e75e6;
  --blue-dark: #4962d4;
  --blue-pale: #eaf0ff;
  --teal: #2d7f88;
  --cyan: #5caabd;
  --shadow: 0 9px 22px rgba(48, 65, 95, 0.08);
  --shadow-soft: 0 5px 15px rgba(48, 65, 95, 0.055);
  --radius: 27px;
}

body {
  font-family: Arial, Roboto, "Segoe UI", sans-serif;
  color: var(--text);
  background: #f5f8fc;
}

.app-shell {
  display: block;
  min-height: 100vh;
}

/* Desktop masthead: the old sidebar becomes a light horizontal header. */
.sidebar {
  position: sticky;
  top: 0;
  width: 100%;
  height: 78px;
  padding: 17px 30px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  background: rgba(245, 248, 252, .96);
  color: var(--charcoal);
  border-bottom: 1px solid rgba(220, 228, 241, .82);
  backdrop-filter: blur(12px);
  z-index: 30;
}
.brand {
  flex: 0 0 auto;
  padding: 0;
  gap: 9px;
}
.brand-mark {
  width: 36px;
  height: 36px;
  color: #4f92d2;
}
.brand-name {
  color: #050505;
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -1.5px;
}
.brand-subtitle {
  display: none;
}
.nav-list {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  gap: 9px;
}
.nav-item {
  width: auto;
  min-height: 38px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 22px;
  color: #5d6980;
  background: transparent;
  gap: 8px;
  font-size: 12px;
  font-weight: 750;
}
.nav-item:hover {
  color: var(--teal);
  background: #fff;
  border-color: var(--line);
}
.nav-item.active {
  color: #fff;
  background: linear-gradient(135deg, #6078e9, #5670dc);
  box-shadow: 0 6px 14px rgba(86, 112, 220, .22);
}
.nav-icon {
  width: auto;
  font-size: 14px;
}
.nav-count {
  margin-left: 2px;
  min-width: 20px;
  padding: 2px 6px;
  background: rgba(255,255,255,.22);
  color: inherit;
}
.sidebar-footer {
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
}
.coverage-mini { display: none; }
.secondary-link {
  padding: 8px 0;
  color: #7a8498;
  font-size: 11px;
}
.secondary-link:hover { color: var(--teal); }

.main-content { min-width: 0; }
.topbar { display: none; }
.view {
  max-width: 1480px;
  margin: 0 auto;
  padding: 12px 30px 62px;
}

h1 {
  color: var(--charcoal);
  letter-spacing: -.9px;
}
h2, .panel-header h2, .group-header h2 {
  color: var(--teal);
}
.eyebrow {
  color: var(--teal);
  letter-spacing: .02em;
  font-size: 12px;
  font-weight: 800;
}
p { color: var(--muted); }

.hero-card {
  min-height: 365px;
  padding: 38px 28px 28px;
  border: 1px solid #e1e7f0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 22%, rgba(182, 229, 225, .52), transparent 27%),
    linear-gradient(102deg, #ffffff 0%, #ffffff 53%, #eef7f8 100%);
  box-shadow: none;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, .42fr);
  align-items: start;
}
.hero-copy { max-width: 820px; }
.hero-copy h1 {
  max-width: 780px;
  margin-bottom: 13px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 780;
}
.hero-copy p {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.42;
}
.hero-actions {
  margin-top: 27px;
  gap: 24px;
}
.hero-actions .btn {
  min-width: 200px;
  min-height: 44px;
  border: 0;
  border-radius: 26px;
  padding: 12px 24px;
  text-transform: uppercase;
  font-size: 12px;
  box-shadow: none;
}
.hero-actions .btn-primary {
  background: linear-gradient(135deg, #52bd6e, #47ad62);
}
.hero-actions .btn-secondary {
  color: #fff;
  background: linear-gradient(135deg, #65a9ba, #6079e7);
}
.hero-visual {
  min-height: 190px;
  display: grid;
  place-items: start end;
}
.hero-document-icon {
  width: 150px;
  height: 150px;
  margin: -2px 4px 0 0;
}
.hero-document-icon svg { width: 100%; height: 100%; }
.orbit, .visual-node { display: none; }

.btn {
  border-radius: 24px;
  padding: 11px 18px;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
}
.btn-primary {
  background: linear-gradient(135deg, #6379e6, #5770df);
  box-shadow: none;
}
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary {
  color: #54627c;
  background: #fff;
  border-color: #dce3ef;
}
.btn-secondary:hover { border-color: #bfc9db; }
.btn-ghost { color: #6b778d; }
.text-button { color: var(--blue); }

.entry-grid {
  gap: 12px;
  margin-top: 14px;
}
.entry-card, .panel, .wizard-card, .guidance-card, .monitor-card, .group-section, .coverage-banner {
  border: 1px solid #e1e7f0;
  border-radius: 27px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.entry-card {
  min-height: 197px;
  padding: 15px 28px 14px;
}
.entry-card:hover {
  transform: translateY(-2px);
  border-color: #ced7e7;
  box-shadow: var(--shadow);
}
.entry-card.recommended { border-color: #dce6ef; }
.entry-badge {
  top: 16px;
  right: 18px;
  color: var(--teal);
  background: #edf8f7;
}
.entry-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  border-radius: 8px;
  font-size: 22px;
}
.entry-icon.green { color: #22904c; background: #e7f8e8; }
.entry-icon.purple { color: #6076e5; background: #eee7ff; }
.entry-icon.amber { color: #c98029; background: #fff1db; }
.entry-icon.charcoal { color: #6076e5; background: #e9efff; }
.entry-card h2 {
  margin-bottom: 8px;
  color: #332f2b;
  font-size: 16px;
}
.entry-card p {
  min-height: 48px;
  margin-bottom: 11px;
  font-size: 13px;
  line-height: 1.45;
}
.entry-meta {
  justify-content: flex-start;
  width: fit-content;
  padding: 10px 17px;
  border-radius: 22px;
  color: #fff;
  background: var(--blue);
  text-transform: uppercase;
  font-size: 11px;
  gap: 9px;
}

.dashboard-grid { gap: 12px; margin-top: 14px; }
.panel { padding: 22px 28px; }
.panel-header h2 { font-size: 21px; }
.readiness-ring {
  width: 108px;
  height: 108px;
  background: conic-gradient(#55ba6d calc(var(--p)*1%), #e7ecf4 0);
}
.metric-card {
  border: 1px solid #edf0f5;
  border-radius: 19px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.metric-card.warning { background: #fff; }
.metric-card span { color: #0a0a0a; }

/* Guided builder */
.builder-layout { gap: 12px; }
.wizard-card {
  min-height: 690px;
  padding: 27px 30px;
}
.wizard-header h1, .results-header h1, .page-heading h1 {
  color: var(--charcoal);
  font-size: 36px;
}
.step-counter {
  color: var(--teal);
  background: #eff8f8;
  border-radius: 18px;
  padding: 8px 13px;
}
.progress-track {
  height: 9px;
  background: #e7ecf4;
}
.progress-track span {
  background: linear-gradient(90deg, #55ba6d, #6177e6);
}
.step-tab {
  border: 1px solid transparent;
  color: #738097;
  background: #f6f8fb;
  border-radius: 18px;
}
.step-tab.active {
  color: #fff;
  background: var(--blue);
}
.step-tab.complete {
  color: #228753;
  background: #e8f8ec;
}
.question-title { color: #3e3833; }
.choice-grid { gap: 12px; }
.choice-card {
  min-height: 94px;
  border-color: #e0e6f0;
  border-radius: 19px;
  padding: 16px;
  box-shadow: 0 3px 10px rgba(57, 75, 106, .025);
}
.choice-card:hover { border-color: #aebce1; }
.choice-card.selected {
  border-color: #667be5;
  background: #f0f3ff;
  box-shadow: inset 0 0 0 1px #667be5;
}
.choice-card.selected .choice-check {
  background: #55ba6d;
  border-color: #55ba6d;
}
.field-group input, .field-group select, .field-group textarea,
.location-picker input, .search-field input, .library-toolbar select {
  min-height: 43px;
  border-color: #dbe2ed;
  border-radius: 14px;
  background: #fbfcfe;
}
.field-group input:focus, .field-group select:focus, .field-group textarea:focus,
.location-picker input:focus, .search-field input:focus, .library-toolbar select:focus {
  border-color: #6b7ee2;
  box-shadow: 0 0 0 3px rgba(94,117,230,.12);
}
.location-picker {
  border-color: #e0e6f0;
  background: #f8fafd;
  border-radius: 19px;
}
.state-chip {
  border-radius: 15px;
  border-color: #dfe5ef;
}
.state-chip.selected {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}
.check-card {
  border-color: #e0e6f0;
  border-radius: 18px;
  background: #fbfcfe;
}
.check-card input { accent-color: var(--blue); }
.guidance-card {
  padding: 26px;
  top: 96px;
  background: linear-gradient(145deg, #ffffff, #f0f8f8);
}
.guidance-icon {
  border-radius: 9px;
  background: #e6f8e9;
  color: #279350;
}
.guidance-card h3 { color: var(--teal); }

/* Recommendation results and library */
.results-scorecard { gap: 12px; }
.score-card {
  border-color: #e1e7f0;
  border-radius: 23px;
  box-shadow: var(--shadow-soft);
}
.score-card strong { color: #0b0b0b; }
.filter-pill, .industry-chip {
  border-radius: 22px;
  border-color: #dfe5ef;
  padding: 9px 15px;
}
.filter-pill.active, .industry-chip.active {
  background: var(--blue);
  border-color: var(--blue);
}
.search-field {
  border-radius: 20px;
  border-color: #dfe5ef;
  background: #fff;
}
.group-section { overflow: hidden; }
.group-header {
  background: #fbfcfe;
}
.recommendation-card { padding: 21px 23px; }
.rec-title-row h3 { color: #38332f; }
.why-box {
  color: #536078;
  background: #f1f5fb;
  border-left: 4px solid #64aaba;
  border-radius: 10px;
}
.small-btn {
  border-radius: 20px;
  padding: 9px 14px;
  border-color: #dce3ef;
}
.small-btn:not(.dismiss):not(.added) {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}
.small-btn.added {
  color: #258553;
  border-color: #a8dab7;
  background: #e8f8ec;
}
.monitor-grid { gap: 12px; }
.monitor-card { min-height: 270px; padding: 20px; }
.monitor-card h3 { color: #37322f; }
.monitor-meta { border-color: #e7ebf2; }
.coverage-banner {
  background: linear-gradient(110deg, #fff, #ecf8f7);
}
.coverage-number { color: var(--teal); }
.watchlist-table {
  border-color: #e1e7f0;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}
.watchlist-table th { color: #3d3935; background: #f7f9fc; }
.toast { background: #3e3935; border-radius: 18px; }

@media (max-width: 1100px) {
  .sidebar { gap: 14px; }
  .nav-item { padding: 9px 11px; }
  .nav-item span:not(.nav-icon):not(.nav-count) { display: none; }
  .sidebar-footer { display: none; }
  .hero-card { grid-template-columns: 1fr 180px; }
  .hero-visual { display: grid; }
}

@media (max-width: 780px) {
  .sidebar {
    position: fixed;
    left: -292px;
    top: 0;
    width: 280px;
    height: 100vh;
    padding: 24px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    color: var(--charcoal);
    background: #fff;
    border-right: 1px solid var(--line);
    box-shadow: 14px 0 35px rgba(45, 62, 90, .18);
    transition: left .2s ease;
  }
  .sidebar.open { left: 0; }
  .brand { padding: 0 6px 18px; }
  .brand-subtitle { display: block; color: #7b8597; }
  .brand-name { font-size: 26px; }
  .nav-list {
    display: grid;
    justify-content: stretch;
    gap: 8px;
  }
  .nav-item {
    width: 100%;
    justify-content: flex-start;
    border-radius: 15px;
    padding: 12px 14px;
  }
  .nav-item span:not(.nav-icon):not(.nav-count) { display: inline; }
  .sidebar-footer {
    display: block;
    margin: auto 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }
  .coverage-mini { display: block; }
  .coverage-mini__label, .coverage-mini__value { color: #69758a; }
  .coverage-mini__bar { background: #e8edf5; }
  .topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    height: 62px;
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.96);
  }
  .mobile-menu { display: block; color: var(--teal); }
  .view { padding: 18px 15px 50px; }
  .hero-card {
    min-height: auto;
    padding: 28px 23px;
    grid-template-columns: 1fr;
  }
  .hero-visual { display: none; }
  .hero-copy h1 { font-size: 35px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; min-width: 0; }
  .entry-card { padding: 20px 23px; }
}
