/* EDGE Growth Portal, light theme.
   Literal colours only, so the member-portal generator can produce growth.dark.css from this file.
   Coral is for editable input text, links and call-to-action buttons; never a status colour. */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: #3a4a55;
  background: #f5f2ec;
}
a { color: #fb7e58; }
a:hover { color: #e9663f; }
:focus-visible { outline: 3px solid #7aac33; outline-offset: 2px; }
.boot { padding: 48px 24px; text-align: center; color: #596d7b; }

/* Logos: never a logo in a white box on a dark surface. */
.logo { height: 34px; width: auto; display: block; }
html[data-theme="light"] .logo-for-dark { display: none; }
html[data-theme="dark"] .logo-for-light { display: none; }

/* Header and tab bar */
.hdr {
  background: #ffffff;
  border-bottom: 1px solid #dde3e8;
  position: sticky; top: 0; z-index: 20;
}
.hdr-row {
  max-width: 1180px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.hdr-title { font-weight: 800; color: #3a4a55; font-size: 16px; margin-right: auto; }
.hdr-title span { font-weight: 300; color: #596d7b; }
.hdr-tools { display: flex; align-items: center; gap: 10px; }
.hdr-who { font-size: 13px; color: #596d7b; }
.tabs {
  max-width: 1180px; margin: 0 auto; padding: 0 20px;
  display: flex; gap: 4px; overflow-x: auto;
}
.tab {
  background: none; border: 0; border-bottom: 3px solid transparent;
  padding: 10px 14px; font: inherit; font-weight: 600; color: #596d7b; cursor: pointer;
  white-space: nowrap;
}
.tab:hover { color: #3a4a55; }
.tab.on { color: #3a4a55; border-bottom-color: #7aac33; }

select.theme {
  font: inherit; font-size: 13px; color: #3a4a55; background: #ffffff;
  border: 1px solid #dde3e8; border-radius: 6px; padding: 5px 8px;
}

/* Advisor view banner */
.banner {
  background: #fff6e5; border-bottom: 1px solid #f5a623; color: #3a4a55;
}
.banner-row { max-width: 1180px; margin: 0 auto; padding: 10px 20px; font-size: 14px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.banner strong { font-weight: 700; }

/* Layout */
.main { max-width: 1180px; margin: 0 auto; padding: 28px 20px 64px; }
.page-title { font-weight: 900; font-size: 32px; line-height: 1.15; margin: 0 0 6px; color: #3a4a55; }
.page-lede { margin: 0 0 28px; color: #596d7b; max-width: 70ch; font-weight: 300; font-size: 16px; }
.section { margin: 0 0 40px; }
.section-title { font-weight: 800; font-size: 20px; margin: 0 0 4px; color: #3a4a55; }
.section-lede { margin: 0 0 16px; color: #596d7b; max-width: 72ch; }
.fine { font-size: 13px; color: #596d7b; max-width: 80ch; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Cards */
.card {
  background: #ffffff; border: 1px solid #dde3e8; border-radius: 10px; padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.card h3 { margin: 0; font-weight: 800; font-size: 17px; color: #3a4a55; }
.card p { margin: 0; }
.card .price { font-weight: 900; font-size: 26px; color: #3a4a55; line-height: 1.1; }
.card .terms { font-size: 13px; color: #596d7b; }
.card .spacer { flex: 1; }
.card.mine { border-color: #7aac33; box-shadow: inset 0 0 0 1px #7aac33; }
.feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.feature-list li { font-size: 13px; color: #3a4a55; }
.feature-list li b { display: block; font-weight: 600; color: #596d7b; font-size: 12px; }
.feature-list li.no { color: #8a99a4; }

.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 14px; margin: 0; }
.kv dt { color: #596d7b; font-weight: 600; }
.kv dd { margin: 0; color: #3a4a55; }
.missing { color: #8a99a4; font-style: italic; }

/* Buttons */
.btn {
  font: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
  border-radius: 8px; padding: 10px 16px; border: 1px solid #dde3e8;
  background: #ffffff; color: #3a4a55; text-align: center;
}
.btn:hover { border-color: #596d7b; }
.btn.cta { background: #fb7e58; border-color: #fb7e58; color: #ffffff; }
.btn.cta:hover { background: #e9663f; border-color: #e9663f; }
.btn[disabled] { cursor: not-allowed; background: #eef1f3; border-color: #dde3e8; color: #8a99a4; }
.btn.link { background: none; border: 0; color: #fb7e58; padding: 0; text-decoration: underline; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Status: a separate set from coral */
.pill { display: inline-block; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 2px 10px; }
.pill.wait { background: #fff6e5; color: #9a6200; border: 1px solid #f5a623; }
.pill.pass { background: #f2fce8; color: #4d7a17; border: 1px solid #7aac33; }
.pill.err { background: #fbecec; color: #a32f2f; border: 1px solid #d64545; }

.notice { border-radius: 8px; padding: 12px 16px; margin: 0 0 20px; font-size: 14px; }
.notice.pass { background: #f2fce8; border: 1px solid #7aac33; color: #3a4a55; }
.notice.err { background: #fbecec; border: 1px solid #d64545; color: #3a4a55; }
.notice.wait { background: #fff6e5; border: 1px solid #f5a623; color: #3a4a55; }
.err-inline { background: #fbecec; border: 1px solid #d64545; color: #a32f2f; border-radius: 8px; padding: 8px 12px; font-size: 13px; }

/* Tables */
.table-wrap { overflow-x: auto; background: #ffffff; border: 1px solid #dde3e8; border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid #dde3e8; vertical-align: top; }
th { font-weight: 600; color: #596d7b; font-size: 13px; background: #fafbfc; }
tr:last-child td { border-bottom: 0; }

/* Forms */
label.field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: #596d7b; }
input.inp {
  font: inherit; font-size: 15px; color: #fb7e58; background: #ffffff;
  border: 1px solid #dde3e8; border-radius: 8px; padding: 10px 12px; min-width: 0;
}
input.inp:focus { border-color: #7aac33; outline: none; box-shadow: 0 0 0 3px #e4f2d1; }

/* Sign in */
.signin { max-width: 440px; margin: 64px auto; padding: 0 20px; }
.signin .card { padding: 28px; gap: 14px; }
.signin h1 { font-weight: 900; font-size: 28px; margin: 0; line-height: 1.15; color: #3a4a55; }
.or { text-align: center; font-size: 13px; color: #8a99a4; }

/* Advisor card */
.advisor { display: flex; gap: 14px; align-items: center; }
.advisor img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid #dde3e8; }
.advisor .nm { font-weight: 700; color: #3a4a55; }
.advisor .tt { font-size: 13px; color: #596d7b; }

/* Modal */
.scrim { position: fixed; inset: 0; background: rgba(58, 74, 85, 0.55); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 50; }
.modal { background: #ffffff; border-radius: 12px; max-width: 480px; width: 100%; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.modal h2 { margin: 0; font-weight: 800; font-size: 20px; color: #3a4a55; }

#blueprintHost:empty { display: none; }
#blueprintHost { margin-top: 12px; }

@media (max-width: 640px) {
  .page-title { font-size: 26px; }
  .hdr-who { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
