@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  color-scheme: dark;
  --bg: #08090a;
  --surface: #101113;
  --surface2: #171719;
  --surface3: #1d1b19;
  --line: rgba(235, 209, 156, 0.125);
  --line-bright: rgba(243, 197, 103, 0.38);
  --gold: #edc579;
  --gold2: #bb8845;
  --gold3: #fff0c2;
  --text: #f7f5ef;
  --muted: #959595;
  --muted2: #c8c3ba;
  --green: #6fd9a8;
  --red: #f29186;
  --radius: 18px;
  --shadow: 0 14px 56px rgba(0, 0, 0, 0.24);
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}
svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  flex-shrink: 0;
}
a {
  color: var(--gold);
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
::selection {
  background: #edc57950;
  color: #fff;
}
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-thumb {
  background: #3b3325;
  border-radius: 12px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
.ambient {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  width: 600px;
  height: 600px;
  filter: blur(120px);
  opacity: 0.14;
  border-radius: 50%;
  background: #a66e2a;
}
.ambient-one {
  right: -360px;
  top: -330px;
}
.ambient-two {
  left: 7%;
  bottom: -510px;
  opacity: 0.07;
}
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
}
.stage {
  min-width: 0;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 30;
  background: linear-gradient(160deg, #0b0b0c 0%, #0d0c0b 76%, #17100b 100%);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 20px 13px 18px;
  overflow-y: auto;
}
.sidebar:after {
  content: "";
  pointer-events: none;
  position: absolute;
  bottom: -145px;
  left: -100px;
  width: 330px;
  height: 220px;
  border-top: 1px solid #d9a14d66;
  border-radius: 50%;
  transform: rotate(-24deg);
  box-shadow: 0 -15px 65px #c48b3220;
}
.brand {
  display: block;
  padding: 0 8px 15px;
  text-align: center;
  cursor: pointer;
}
.brand img {
  width: 215px;
  max-width: 100%;
  height: 87px;
  object-fit: contain;
  filter: drop-shadow(0 3px 18px #e2a94d1c);
}
.brand-caption {
  font-size: 8px;
  letter-spacing: 3px;
  white-space: nowrap;
  color: #b6a17e;
  margin-top: -9px;
}
.side-group-label {
  font-size: 9px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: #b5a078;
  font-weight: 800;
  margin: 22px 15px 12px;
}
.navbtn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b8b7b5;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  text-align: left;
  padding: 10px 13px;
  margin: 2px 0;
  min-height: 42px;
  transition: all 0.18s;
}
.navbtn:hover {
  background: #e9be6e0d;
  color: #fff;
  border-color: #e9be6e2d;
}
.navbtn.active {
  background: linear-gradient(90deg, #e3ac4a35, #ad772016);
  border-color: #d5a45a81;
  color: #ffedc6;
  box-shadow:
    inset 3px 0 0 #efbf65,
    0 1px 14px #c48b3212;
}
.navbtn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.side-bottom {
  margin-top: auto;
  padding: 16px 10px 0;
  position: relative;
  z-index: 1;
}
.side-mini-card {
  border: 1px solid var(--line-bright);
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(135deg, #2f2315, #121111 65%);
}
.side-mini-card strong {
  font-size: 12px;
}
.side-mini-card p {
  font-size: 11px;
  color: var(--muted2);
  margin: 5px 0 9px;
}
.side-small {
  border: 0;
  background: none;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  padding: 0;
}
.sidebar-overlay {
  display: none;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 37px;
  gap: 15px;
  background: rgba(10, 10, 10, 0.74);
  backdrop-filter: blur(22px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.top-left,
.top-right,
.flex,
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-left {
  min-width: 0;
}
.top-right {
  gap: 15px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 3.2px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
}
.crumb {
  font-size: 12px;
  color: #a29c92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.crumb strong {
  font-weight: 600;
  color: var(--text);
}
.slash {
  opacity: 0.4;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 11px #66deb765;
}
.status-dot.offline {
  background: #dbad5a;
  box-shadow: 0 0 11px #e8ba4c44;
}
.system-status {
  font-size: 11px;
  color: #bbb6ab;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}
.avatar {
  width: 35px;
  height: 35px;
  border: 1px solid #eac16d9c;
  box-shadow: 0 0 0 3px #d49d3830;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  color: #ffe7bb;
}
.mobile-menu {
  display: none !important;
}
.icon-button {
  border: 1px solid var(--line);
  background: #131313;
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
}
.icon-button:hover {
  border-color: var(--line-bright);
}
.icon-button svg {
  width: 17px;
  height: 17px;
}
.main {
  padding: 30px 36px 85px;
  max-width: 1700px;
  margin: auto;
}
.page-head {
  margin-bottom: 26px;
}
.page-head h1 {
  font-family: Manrope, sans-serif;
  font-size: clamp(29px, 3vw, 45px);
  font-weight: 500;
  line-height: 1.19;
  letter-spacing: -1.9px;
  margin: 9px 0;
}
.page-head h1 em,
.grad {
  font-style: normal;
  background: linear-gradient(115deg, #ffecb7, #dda74f 50%, #ffdc9a 100%);
  color: transparent;
  background-clip: text;
}
.page-head p {
  margin: 0;
  color: var(--muted2);
  font-size: 13px;
  max-width: 700px;
}
.page-head.flex-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.page-head.flex-head h1 {
  margin-bottom: 0;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: Manrope, sans-serif;
  font-size: 16px;
  letter-spacing: -0.3px;
  line-height: 1.4;
  margin: 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-head h2 svg,
.section-head .goldicon {
  color: var(--gold);
}
.section-head small {
  color: var(--muted);
  font-weight: 400;
  font-size: 11px;
}
.ghost-link {
  background: none;
  border: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 0;
  white-space: nowrap;
}
.ghost-link:hover {
  text-decoration: underline;
}
.card {
  position: relative;
  background: linear-gradient(145deg, rgba(26, 25, 23, 0.92), rgba(13, 14, 15, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 20px;
}
.card.glow:before {
  content: "";
  height: 1px;
  position: absolute;
  left: 7%;
  right: 7%;
  top: 0;
  background: linear-gradient(90deg, transparent, #f0c4798a, transparent);
}
.card.goldborder {
  border-color: #e1b36967;
  background: linear-gradient(145deg, #292014e0, #141313 60%);
}
.muted {
  color: var(--muted);
}
.muted2 {
  color: var(--muted2);
}
.small {
  font-size: 12px;
}
.tiny {
  font-size: 11px;
}
.bold {
  font-weight: 800;
}
.gold {
  color: var(--gold);
}
.green {
  color: var(--green);
}
.red {
  color: var(--red);
}
.line {
  height: 1px;
  background: var(--line);
  margin: 16px 0;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 6px 10px;
  color: #c8c4b9;
  background: #ffffff08;
}
.pill svg {
  width: 13px;
  height: 13px;
}
.pill.gold-pill {
  color: #ffdd99;
  background: #e8ac4831;
  border-color: #ebbf7266;
}
.pill.green-pill {
  color: #94f1c4;
  background: #1556374e;
  border-color: #2d8b587e;
}
.pill.dim {
  color: #aaa;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 11px;
  border: 1px solid var(--line-bright);
  background: #1e1b16;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    background 0.18s;
}
.button:hover {
  transform: translateY(-1px);
  border-color: #f7c979;
}
.button svg {
  width: 16px;
  height: 16px;
}
.button.primary {
  color: #211508;
  background: linear-gradient(110deg, #c59242, #ffe19c 42%, #dcab5b);
  border-color: #f2cb84;
  box-shadow:
    inset 0 1px 0 #fff5d4a8,
    0 4px 22px #e7a13c25;
}
.button.primary:hover {
  box-shadow: 0 5px 28px #f1b65455;
}
.button.secondary {
  background: #141414;
  border: 1px solid #caa56a65;
}
.button.quiet {
  background: transparent;
  border-color: var(--line);
  color: var(--muted2);
}
.button.danger {
  border-color: #f07e7655;
  color: #f3a3a0;
}
.button.full {
  width: 100%;
}
.button.sm {
  padding: 8px 11px;
  font-size: 11px;
}
.input,
.textarea,
.select {
  background: #141415;
  border: 1px solid #ffffff21;
  color: var(--text);
  border-radius: 10px;
  padding: 12px 13px;
  width: 100%;
  outline: 0;
}
.textarea {
  min-height: 145px;
  resize: vertical;
  line-height: 1.65;
}
.input::placeholder,
.textarea::placeholder {
  color: #88837c;
}
.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--gold);
}
.label {
  font-size: 11px;
  font-weight: 800;
  color: #d8d1c2;
  display: block;
  margin: 0 0 8px;
}
.tag {
  font-size: 10px;
  background: #e4b7651c;
  color: #e9bd6e;
  border-radius: 6px;
  padding: 3px 7px;
  font-weight: 800;
}
.feature-count {
  font-size: 10px;
  border: 1px solid var(--line-bright);
  color: var(--gold);
  padding: 4px 8px;
  border-radius: 50px;
}
.hero {
  border-radius: 22px;
  border: 1px solid var(--line);
  min-height: 363px;
  background: radial-gradient(ellipse at 72% 38%, #79501f3d, transparent 46%),
    linear-gradient(130deg, #171513, #101011 60%, #17110d);
  position: relative;
  overflow: hidden;
  padding: 34px 36px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 15px;
}
.hero:before {
  position: absolute;
  content: "";
  width: 680px;
  height: 680px;
  border: 1px solid #c9984426;
  border-radius: 50%;
  right: -160px;
  top: -350px;
  pointer-events: none;
}
.hero:after {
  position: absolute;
  content: "";
  height: 1px;
  left: 10%;
  right: 10%;
  bottom: 0;
  background: linear-gradient(90deg, transparent, #dfaa57, transparent);
  opacity: 0.6;
}
.hero-content {
  position: relative;
  z-index: 3;
  align-self: center;
}
.hero h1 {
  font:
    500 clamp(34px, 3.6vw, 56px) / 1.13 Manrope,
    sans-serif;
  letter-spacing: -2.5px;
  margin: 15px 0 15px;
  max-width: 625px;
}
.hero p {
  font-size: 13px;
  line-height: 1.75;
  color: #b8b6b0;
  max-width: 530px;
  margin: 0 0 21px;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-art {
  min-height: 292px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
}
.hero-orb {
  position: relative;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #fbd489a3;
  background: radial-gradient(circle at 29% 22%, #f4daa17b, transparent 22%),
    radial-gradient(circle at 63% 80%, #e5a64a2b, transparent 58%),
    radial-gradient(circle at 50% 45%, #2a1e10, #050606 72%);
  box-shadow:
    0 0 0 9px #d7a35309,
    inset -20px -22px 40px #000,
    0 0 78px #d59c3e43;
  animation: float 6s ease-in-out infinite;
}
.hero-orb:before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border-top: 2px solid #fff5d69e;
  transform: rotate(-32deg);
}
.hero-orb svg {
  width: 108px;
  height: 108px;
  color: #ffd17a;
  filter: drop-shadow(0 0 16px #ffc052);
}
.ring {
  position: absolute;
  border: 2px solid #cf933c;
  box-shadow: 0 0 12px #cb99445c;
  pointer-events: none;
  border-radius: 50%;
  width: 360px;
  height: 120px;
  transform: rotate(-23deg);
  z-index: 2;
}
.ring.r2 {
  transform: rotate(26deg);
  height: 95px;
  width: 370px;
  opacity: 0.5;
}
.ring.r3 {
  transform: rotate(-70deg);
  height: 180px;
  width: 310px;
  opacity: 0.24;
}
.star {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #ffe0a3;
  border-radius: 50%;
  box-shadow: 0 0 16px 3px #e2b65b;
  z-index: 4;
}
.star.a {
  top: 18%;
  left: 13%;
}
.star.b {
  top: 72%;
  right: 12%;
}
.star.c {
  bottom: 13%;
  left: 35%;
}
@keyframes float {
  50% {
    transform: translateY(-13px);
  }
}
.quick-input {
  padding: 16px 18px;
  margin: 18px 0 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.upload-tile {
  border: 1px dashed #d2a96085;
  border-radius: 12px;
  background: radial-gradient(circle at 40% 0%, #d9a6501a, transparent 65%), #131211;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 245px;
  flex: 0 0 31%;
  text-align: left;
  color: var(--text);
}
.upload-tile:hover {
  border-color: var(--gold);
  background: #33271940;
}
.upload-tile svg {
  color: var(--gold);
  width: 23px;
  height: 23px;
}
.quick-input .or {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1.4px;
}
.quick-input .idea-short {
  flex: 1;
  min-width: 190px;
  display: flex;
  background: #121212;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 4px;
}
.quick-input .idea-short input {
  background: transparent;
  border: 0;
  outline: 0;
  padding: 9px;
  width: 100%;
  min-width: 0;
  color: var(--text);
}
.quick-input .idea-short button {
  width: 37px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: none;
}
.quick-input .idea-short button svg {
  width: 17px;
  height: 17px;
}
.inline-note {
  font-size: 10px;
  color: #8e8a81;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 0.97fr;
  gap: 16px;
  margin-top: 16px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 22px;
}
.stat {
  background: #171617;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px;
}
.stat .num {
  font-size: 27px;
  font-family: Manrope;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.4;
}
.stat .desc {
  color: var(--muted);
  font-size: 11px;
}
.stat svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  margin-bottom: 7px;
}
.mini-desc {
  font-size: 11px;
  color: #aba59b;
  line-height: 1.65;
  margin: 5px 0 14px;
}
.expansion-dial {
  width: 190px;
  height: 105px;
  margin: 17px auto 14px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.expansion-dial:before {
  content: "";
  width: 166px;
  height: 166px;
  position: absolute;
  top: 7px;
  left: 12px;
  border: 13px solid #363028;
  border-radius: 50%;
  box-shadow: inset 0 0 15px #0a0a0a;
}
.expansion-dial:after {
  content: "";
  width: 166px;
  height: 166px;
  position: absolute;
  top: 7px;
  left: 12px;
  border: 13px solid #d7a14d;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(44deg);
  filter: drop-shadow(0 0 7px #e7b45470);
}
.dial-center {
  position: relative;
  z-index: 1;
  text-align: center;
}
.dial-center strong {
  font: 700 38px/1 Manrope;
}
.dial-center span {
  display: block;
  font-size: 10px;
  color: #c6bba8;
}
.segmented {
  display: flex;
  gap: 6px;
  background: #090909a6;
  border-radius: 11px;
  padding: 4px;
}
.segmented button {
  flex: 1;
  min-width: 0;
  border: 1px solid transparent;
  background: #242321;
  color: #bbb5aa;
  border-radius: 9px;
  padding: 10px 5px;
  font-size: 11px;
  font-weight: 800;
}
.segmented button.active {
  background: linear-gradient(125deg, #e9b55f, #ffe8a3);
  color: #211508;
  box-shadow: 0 0 18px #e9ac4730;
}
.stack-art {
  position: relative;
  height: 104px;
  margin: 3px auto;
  display: grid;
  place-items: center;
}
.stack-art div {
  width: 125px;
  height: 52px;
  border: 1px solid #e9af56;
  position: absolute;
  transform: rotate(-29deg) skew(17deg);
  background: linear-gradient(130deg, #f6c976aa, #7f491749);
  box-shadow:
    0 10px 12px #0009,
    0 0 16px #e9bd6659;
}
.stack-art div:nth-child(1) {
  top: 11px;
}
.stack-art div:nth-child(2) {
  top: 33px;
  opacity: 0.75;
}
.stack-art div:nth-child(3) {
  top: 55px;
  opacity: 0.45;
}
.council-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 16px 0;
}
.council-list div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c2beb4;
  font-size: 11px;
}
.council-list svg {
  color: var(--gold);
  width: 14px;
  height: 14px;
}
.constellation {
  position: relative;
  height: 206px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.constellation:before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px dashed #e8ad5370;
  border-radius: 50%;
  animation: spin 24s linear infinite;
}
.constellation:after {
  content: "";
  position: absolute;
  width: 235px;
  height: 95px;
  border: 1px solid #d5ab617c;
  border-radius: 50%;
  transform: rotate(-30deg);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.const-center {
  z-index: 3;
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px solid #f1c77c77;
  background: radial-gradient(circle at 32% 29%, #eeb65a4a, #281b0b 50%, #0b0b0b);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  box-shadow: 0 0 35px #e4ad5640;
  text-align: center;
}
.const-center svg {
  color: var(--gold);
  width: 24px;
  height: 24px;
}
.const-center strong {
  font-size: 11px;
}
.node {
  position: absolute;
  z-index: 4;
  background: #211c14;
  border: 1px solid #c28a3a7a;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 19px #c18a2c20;
}
.node svg {
  color: var(--gold);
  width: 19px;
  height: 19px;
}
.node.n1 {
  left: 15%;
  top: 20%;
}
.node.n2 {
  right: 13%;
  top: 23%;
}
.node.n3 {
  left: 20%;
  bottom: 16%;
}
.node.n4 {
  right: 18%;
  bottom: 15%;
}
.const-key {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  color: #afa69a;
  font-size: 10px;
  margin-top: 6px;
}
.const-key span:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 7px;
}
.framework-minis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 14px 0;
}
.framework-mini {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #171616;
  color: #dfd8c9;
  text-align: left;
  padding: 12px 10px;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.framework-mini:hover {
  border-color: var(--gold);
}
.framework-mini svg {
  color: var(--gold);
  width: 19px;
  height: 19px;
}
.framework-mini strong {
  font-size: 11px;
}
.task-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.task-mini:last-child {
  border: 0;
}
.task-mini input[type="checkbox"],
.task-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border: 1px solid #b1a28e;
  border-radius: 4px;
  display: inline-grid;
  place-items: center;
  flex: none;
  cursor: pointer;
  background: #151515;
}
.task-mini input:checked,
.task-row input:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.task-mini input:checked:after,
.task-row input:checked:after {
  content: "✓";
  color: #1a160f;
  font-size: 12px;
  font-weight: 900;
}
.task-mini span {
  flex: 1;
  font-size: 11px;
  color: #ddd7ca;
}
.task-mini span.done {
  text-decoration: line-through;
  color: #797776;
}
.project-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 8px;
  border-radius: 9px;
  border: 1px solid transparent;
  cursor: pointer;
}
.project-row:hover {
  background: #f9e6bb0a;
  border-color: var(--line);
}
.project-icon {
  height: 34px;
  width: 34px;
  background: #eaba5f1c;
  border: 1px solid #eaba5f3a;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--gold);
  flex: none;
}
.project-icon svg {
  width: 17px;
  height: 17px;
}
.project-name {
  font-size: 12px;
  font-weight: 800;
}
.project-meta {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
.project-row .endicon {
  margin-left: auto;
  color: var(--gold);
}
.mini-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.mini-strip span {
  background: #1b1a17;
  border: 1px solid var(--line);
  color: #d3cec3;
  border-radius: 50px;
  font-size: 10px;
  padding: 7px 10px;
}
.library-tools {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 18px 0;
  flex-wrap: wrap;
}
.library-search {
  flex: 1;
  min-width: 220px;
  position: relative;
}
.library-search svg {
  position: absolute;
  top: 13px;
  left: 13px;
  color: var(--muted);
  width: 17px;
  height: 17px;
}
.library-search input {
  padding-left: 40px;
}
.filter-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 14px 0 20px;
}
.chip {
  border: 1px solid var(--line);
  background: #171718;
  color: #bcb8ae;
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 800;
}
.chip:hover {
  border-color: var(--line-bright);
}
.chip.active {
  background: #e4b35d;
  color: #211709;
  border-color: #ffdf9d;
}
.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.framework-card {
  min-height: 189px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition:
    transform 0.18s,
    border-color 0.18s;
  position: relative;
}
.framework-card:hover {
  transform: translateY(-3px);
  border-color: #e2b36d75;
}
.fw-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fw-symbol {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 40% 20%, #eac46f35, #171411 70%);
  border: 1px solid #b48a4b3c;
  color: #f0bb65;
}
.fw-symbol svg {
  width: 25px;
  height: 25px;
}
.framework-card h3 {
  font-size: 14px;
  margin: 4px 0 0;
  line-height: 1.35;
}
.framework-card p {
  font-size: 11px;
  color: #aba49a;
  margin: 0;
  line-height: 1.6;
  flex: 1;
}
.framework-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.fw-name {
  font-size: 10px;
  color: var(--muted);
}
.framework-card .select-dot {
  height: 22px;
  width: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #a89163;
  color: #a89163;
  position: absolute;
  top: 17px;
  right: 17px;
  background: #131211;
}
.framework-card .select-dot.selected {
  background: var(--gold);
  color: #19130e;
}
.detail-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 20px;
}
.detail-icon {
  width: 75px;
  height: 75px;
  border-radius: 20px;
  background: #e8b86120;
  border: 1px solid var(--line-bright);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.detail-icon svg {
  width: 39px;
  height: 39px;
  color: var(--gold);
}
.detail-list {
  display: grid;
  gap: 10px;
}
.detail-list div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: #ddd6c9;
}
.detail-list svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--gold);
  margin-top: 2px;
}
.lab-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(310px, 0.74fr);
  gap: 18px;
}
.form-field {
  margin-bottom: 17px;
}
.framework-picker {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  max-height: 180px;
  overflow: auto;
}
.framework-picker .chip {
  padding: 7px 9px;
  border-radius: 7px;
}
.form-note {
  font-size: 11px;
  color: #8f8b83;
  margin-top: 8px;
}
.drop-zone {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px dashed #b48b536b;
  background: #171410;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
}
.drop-zone:hover,
.drop-zone.dragging {
  border-color: var(--gold);
  background: #221b10;
}
.drop-zone svg {
  color: var(--gold);
}
.drop-zone .file-body {
  flex: 1;
  min-width: 0;
}
.drop-zone strong {
  font-size: 12px;
}
.drop-zone span {
  color: var(--muted);
  display: block;
  font-size: 10px;
}
.slim-progress {
  height: 5px;
  border-radius: 10px;
  background: #34302a;
  overflow: hidden;
}
.slim-progress b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #bd8744, #ffdf9c);
  border-radius: 10px;
}
.mock-step {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 16px 0;
}
.step-num {
  height: 27px;
  width: 27px;
  flex: none;
  border: 1px solid #d6a15388;
  color: var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}
.mock-step strong {
  display: block;
  font-size: 12px;
}
.mock-step span {
  color: var(--muted);
  display: block;
  font-size: 11px;
  margin-top: 2px;
}
.result-hero {
  padding: 27px;
  background: radial-gradient(circle at 100% 0%, #b8802822, transparent 48%), linear-gradient(140deg, #231d16, #121212);
  border-color: #dab26860;
}
.result-hero h2 {
  font:
    600 clamp(22px, 2.4vw, 34px) / 1.27 Manrope,
    sans-serif;
  margin: 15px 0 10px;
  letter-spacing: -0.8px;
}
.result-hero p {
  font-size: 13px;
  color: #c7beae;
  max-width: 1000px;
  line-height: 1.75;
}
.result-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}
.tabs {
  display: flex;
  background: #151514;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
  gap: 3px;
  overflow-x: auto;
  max-width: 100%;
}
.tabs button {
  white-space: nowrap;
  flex: none;
  border: 0;
  background: transparent;
  color: #a5a099;
  border-radius: 9px;
  padding: 9px 13px;
  font-size: 11px;
  font-weight: 800;
}
.tabs button.active {
  background: #e6b86e;
  color: #18140e;
}
.insight-box {
  padding: 17px;
  border: 1px solid var(--line);
  background: #161514;
  border-radius: 12px;
}
.insight-box h3 {
  font-size: 13px;
  margin: 0 0 7px;
}
.insight-box p {
  color: #b7afa2;
  font-size: 11px;
  margin: 0;
  line-height: 1.7;
}
.insight-box .mini-index {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1.5px;
  margin: 0 0 10px;
}
.analysis-bullets {
  padding-left: 18px;
  color: #c3bcad;
  font-size: 12px;
  line-height: 1.8;
}
.analysis-bullets li {
  margin-bottom: 9px;
}
.output-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.output-grid .insight-box {
  min-height: 135px;
}
.council-card {
  display: flex;
  gap: 12px;
  padding: 13px;
  border-bottom: 1px solid var(--line);
}
.council-card:last-child {
  border-bottom: 0;
}
.council-badge {
  height: 33px;
  width: 33px;
  border: 1px solid #cba56265;
  border-radius: 10px;
  background: #e6b55f14;
  display: grid;
  place-items: center;
  color: var(--gold);
  flex: none;
}
.council-card strong {
  font-size: 12px;
}
.council-card p {
  margin: 5px 0 0;
  font-size: 11px;
  color: #b8b0a3;
}
.score-list {
  display: grid;
  gap: 16px;
  margin: 15px 0;
}
.score-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 11px;
  color: #cfc7b9;
}
.score-top strong {
  color: var(--gold);
}
.empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--muted2);
}
.empty svg {
  width: 42px;
  height: 42px;
  color: var(--gold);
  margin-bottom: 12px;
}
.empty h3 {
  font-size: 16px;
  color: var(--text);
  margin: 0 0 6px;
}
.empty p {
  font-size: 12px;
  max-width: 430px;
  margin: 0 auto 18px;
  color: var(--muted);
}
.project-card {
  min-height: 171px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
}
.project-card:hover {
  border-color: var(--line-bright);
}
.project-card h3 {
  font-size: 15px;
  margin: 0;
}
.project-card p {
  font-size: 11px;
  color: #aaa;
  margin: 0;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.task-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.task-row:last-child {
  border-bottom: 0;
}
.task-row .task-body {
  flex: 1;
  min-width: 0;
}
.task-row h3 {
  font-size: 13px;
  margin: 0 0 5px;
}
.task-row h3.done {
  text-decoration: line-through;
  color: #888;
}
.task-row p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.task-row .task-date {
  font-size: 10px;
  color: var(--gold);
  white-space: nowrap;
}
.roadmap-steps {
  position: relative;
  padding-left: 10px;
}
.roadmap-steps:before {
  content: "";
  position: absolute;
  width: 1px;
  background: linear-gradient(#d6ad67, transparent);
  left: 22px;
  top: 17px;
  bottom: 10px;
}
.roadmap-step {
  display: flex;
  gap: 17px;
  position: relative;
  margin: 0 0 19px;
}
.roadmap-step .step-num {
  background: #20190f;
  z-index: 1;
}
.roadmap-step h3 {
  font-size: 13px;
  margin: 2px 0 5px;
}
.roadmap-step p {
  font-size: 11px;
  color: #aaa;
  margin: 0;
}
.report {
  line-height: 1.75;
  color: #bcb5a9;
}
.report h2 {
  font: 600 19px Manrope;
  color: var(--text);
  margin: 20px 0 8px;
}
.report p,
.report li {
  font-size: 12px;
}
.proj-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.proj-head p {
  color: var(--muted2);
  font-size: 12px;
  max-width: 740px;
}
.h-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 22px 0;
}
.big-number {
  font: 600 34px Manrope;
  color: var(--gold);
  letter-spacing: -0.8px;
}
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.kpi {
  background: #1c1915;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}
.kpi strong {
  display: block;
  font-size: 20px;
  color: var(--gold);
}
.kpi span {
  font-size: 11px;
  color: #b6ab9a;
}
.idea-chip {
  color: #afada6;
  font-size: 11px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 50px;
}
.callout {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #dfa85652;
  background: #e4b35d0c;
  color: #d1c0a1;
  font-size: 11px;
  line-height: 1.7;
}
.callout strong {
  color: var(--gold);
}
.intelligence-item {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #161514;
}
.intelligence-item strong {
  font-size: 12px;
}
.intelligence-item p {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0 0;
}
.workmode {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0 0;
}
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  margin: 12px 0;
  color: #bfb8ad;
}
.checklist li svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--gold);
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: #050505c9;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  backdrop-filter: blur(7px);
}
.modal {
  position: relative;
  background: linear-gradient(145deg, #1e1b17, #101010 70%);
  border: 1px solid #edbf7570;
  border-radius: 21px;
  padding: 27px;
  max-width: 740px;
  width: 100%;
  max-height: min(85vh, 900px);
  overflow-y: auto;
  box-shadow: 0 30px 100px #000c;
}
.modal h2 {
  font: 600 26px Manrope;
  letter-spacing: -0.8px;
  margin: 8px 0 9px;
}
.modal p {
  color: #bcb4a5;
  font-size: 12px;
  line-height: 1.7;
}
.modal-close {
  position: absolute;
  right: 20px;
  top: 19px;
}
.toast {
  background: #1c211a;
  border: 1px solid #d5b27190;
  border-radius: 12px;
  padding: 13px 17px;
  box-shadow: 0 12px 45px #000a;
  color: #f5e9d1;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 240px;
  max-width: 400px;
  animation: toastin 0.2s ease;
}
#toast-root {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: grid;
  gap: 7px;
}
@keyframes toastin {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.loading-cards {
  display: grid;
  gap: 11px;
}
.skeleton {
  height: 15px;
  background: linear-gradient(90deg, #24211c, #3e3123, #24211c);
  background-size: 200%;
  animation: shine 1.5s linear infinite;
  border-radius: 8px;
}
@keyframes shine {
  to {
    background-position-x: -200%;
  }
}
.switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}
.switcher input {
  accent-color: #edc579;
}
.footer-note {
  padding: 32px 5px 0;
  text-align: center;
  color: #706b61;
  font-size: 10px;
  letter-spacing: 0.2px;
}
@media (max-width: 1320px) {
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-grid > .card:last-child {
    grid-column: 1/-1;
  }
  .framework-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero h1 {
    font-size: 43px;
  }
  .main {
    padding: 28px 24px 60px;
  }
  .topbar {
    padding: 0 25px;
  }
}
@media (max-width: 1060px) {
  .shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .sidebar {
    padding: 17px 10px;
  }
  .brand img {
    width: 180px;
  }
  .brand-caption {
    letter-spacing: 1.8px;
  }
  .navbtn {
    font-size: 12px;
    gap: 8px;
  }
  .hero {
    padding: 29px;
    grid-template-columns: 1fr 0.75fr;
  }
  .hero-art {
    min-height: 260px;
  }
  .hero-orb {
    width: 160px;
    height: 160px;
  }
  .ring {
    width: 270px;
    height: 90px;
  }
  .ring.r2 {
    width: 280px;
  }
  .ring.r3 {
    width: 250px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .lab-layout {
    grid-template-columns: 1fr;
  }
  .framework-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    height: 100dvh;
    transform: translateX(-105%);
    transition: transform 0.25s;
    box-shadow: 15px 0 50px #000a;
  }
  .shell.sidebar-open .sidebar {
    transform: translateX(0);
  }
  .shell.sidebar-open .sidebar-overlay {
    position: fixed;
    display: block;
    inset: 0;
    background: #000a;
    z-index: 29;
  }
  .topbar {
    height: 62px;
    padding: 0 17px;
  }
  .mobile-menu {
    display: inline-grid !important;
  }
  .topbar .crumb {
    font-size: 11px;
  }
  .system-status {
    display: none;
  }
  .main {
    padding: 20px 14px 70px;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: unset;
    padding: 29px 23px;
  }
  .hero-art {
    position: absolute;
    right: -95px;
    top: 12px;
    opacity: 0.24;
    width: 340px;
    height: 300px;
    pointer-events: none;
  }
  .hero-content {
    padding-right: 5px;
  }
  .hero h1 {
    font-size: clamp(34px, 8vw, 48px);
  }
  .hero p {
    max-width: 470px;
  }
  .quick-input {
    padding: 13px;
  }
  .upload-tile {
    flex: 1 1 100%;
    min-width: 0;
  }
  .quick-input .or {
    display: none;
  }
  .quick-input .idea-short {
    flex: 1 1 100%;
  }
  .dashboard-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .dashboard-grid > .card:last-child {
    grid-column: auto;
  }
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .framework-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-head h1 {
    font-size: 32px;
  }
  .page-head.flex-head {
    align-items: start;
    flex-direction: column;
  }
  .output-grid {
    grid-template-columns: 1fr;
  }
  .detail-panel {
    grid-template-columns: 1fr;
  }
  .kpi-strip {
    grid-template-columns: 1fr 1fr;
  }
  .result-controls {
    align-items: start;
    flex-direction: column;
  }
  .section-head h2 {
    font-size: 15px;
  }
  .modal {
    padding: 22px;
  }
  .constellation {
    height: 210px;
  }
}
@media (max-width: 440px) {
  .framework-grid {
    grid-template-columns: 1fr;
  }
  .framework-card {
    min-height: 140px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-actions .button {
    flex: 1;
  }
  .topbar .avatar {
    width: 31px;
    height: 31px;
  }
  .top-right {
    gap: 8px;
  }
  .top-left {
    gap: 7px;
  }
  .stage {
    width: 100%;
  }
  .main {
    padding-left: 12px;
    padding-right: 12px;
  }
  .kpi-strip {
    grid-template-columns: 1fr;
  }
  .stat-grid {
    gap: 8px;
  }
  .stat {
    padding: 12px;
  }
  .framework-minis {
    grid-template-columns: 1fr 1fr;
  }
  .lab-layout {
    gap: 13px;
  }
  .card {
    padding: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.tasks-layout {
  grid-template-columns: 1.4fr 0.6fr;
}
@media (max-width: 760px) {
  .tasks-layout {
    grid-template-columns: 1fr;
  }
}

/* ===== Live features (numbers, research, council, share, handoff) ===== */
.main:focus { outline: none; }
.footer-note a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line-bright); }
.red { color: var(--red); }
.next-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.next-tile { display: grid; gap: 6px; text-align: left; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; transition: border-color 0.2s, transform 0.16s cubic-bezier(0.23, 1, 0.32, 1); }
.next-tile svg { width: 20px; height: 20px; color: var(--gold); }
.next-tile strong { font: 700 14px Manrope, sans-serif; }
.next-tile span { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.next-tile:active { transform: scale(0.98); }
@media (hover: hover) { .next-tile:hover { border-color: var(--line-bright); } }
.next-tile:last-child { border-color: var(--line-bright); background: linear-gradient(160deg, rgba(237, 197, 121, 0.1), var(--surface)); }
.num-inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; margin-bottom: 6px; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.num-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.num-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.num-table th, .num-table td { text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--line); vertical-align: top; font-variant-numeric: tabular-nums; }
.num-table th { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; white-space: nowrap; }
.num-table tr:last-child td { border-bottom: 0; }
.num-table tr.is-pick td { background: rgba(237, 197, 121, 0.08); }
.num-table tr.is-pick td:first-child strong { color: var(--gold); }
.comp-table td:first-child { min-width: 160px; }
.comp-table td a { color: var(--gold); text-decoration: none; font-weight: 600; }
.comp-table td .tiny { display: block; margin-top: 4px; }
a.src { color: var(--gold); font-size: 12px; text-decoration: none; white-space: nowrap; }
.sources { margin-top: 16px; font-size: 13px; color: var(--muted2); }
.sources summary { cursor: pointer; color: var(--gold); font-weight: 600; }
.sources ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 5px; }
.sources a { color: var(--muted2); }
.research-wait { display: flex; align-items: center; gap: 14px; padding: 18px 0 4px; color: var(--muted2); font-size: 14px; }
.dot-pulse { display: inline-block; width: 34px; height: 8px; background: radial-gradient(circle, var(--gold) 3px, transparent 3.5px) 0 0 / 12px 8px repeat-x; animation: tb-pulse 1.1s ease-in-out infinite; flex: none; }
@keyframes tb-pulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .dot-pulse { animation: none; } }
.chat { display: grid; gap: 12px; max-height: 520px; overflow-y: auto; padding: 4px 2px 14px; }
.bubble { max-width: 86%; padding: 12px 15px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface2); font-size: 14px; line-height: 1.6; }
.bubble.user { justify-self: end; background: rgba(237, 197, 121, 0.1); border-color: var(--line-bright); }
.bubble .who { display: block; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.bubble p { margin: 0 0 8px; } .bubble p:last-child { margin: 0; }
.bubble ul { margin: 0 0 8px; padding-left: 18px; }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; }
.suggest .chip { text-align: left; }
.chat-form { display: flex; gap: 10px; align-items: flex-end; border-top: 1px solid var(--line); padding-top: 14px; }
.chat-form .textarea { min-height: 52px; flex: 1; resize: vertical; }
.chat-form .button { height: 52px; width: 52px; padding: 0; justify-content: center; }
@media (max-width: 1100px) { .next-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .num-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .num-inputs { grid-template-columns: 1fr 1fr; } .bubble { max-width: 100%; } }
@media (max-width: 460px) { .next-tiles, .num-inputs { grid-template-columns: 1fr; } }

/* Powered by Vision Farm credit */
.footer-note a.vf-credit { display: inline-block; padding: 6px 0; border: 0; color: #706b61; letter-spacing: 1.6px; transition: color .25s ease; }
.footer-note a.vf-credit b { background: linear-gradient(90deg, var(--gold2), var(--gold), var(--gold3), var(--gold)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; transition: background-position .8s cubic-bezier(.23,1,.32,1); }
.footer-note a.vf-credit:hover, .footer-note a.vf-credit:focus-visible { color: var(--muted2); }
.footer-note a.vf-credit:hover b, .footer-note a.vf-credit:focus-visible b { background-position: 100% 0; }
