@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&display=swap");
:root {
  font-family:
    "Noto Sans SC",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #0f172a;
  background: #f6f7f9;
  font-synthesis: none;
  font-size: 13px;
  --primary: #4f46e5;
  --muted: #64748b;
  --border: #e8ebf0;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #a5b4fc;
  outline-offset: 3px;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1 {
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -0.8px;
  line-height: 1.5;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 14px;
}
h4 {
  font-size: 13px;
}
p {
  color: var(--muted);
  line-height: 1.9;
  margin-top: 9px;
}
small {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
strong,
b {
  font-weight: 600;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 31px 18px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.8px;
  padding: 0 8px;
}
.brand b {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0;
}
.brand-mark {
  background: var(--primary);
  width: 34px;
  height: 36px;
  border-radius: 10px;
  color: white;
  display: grid;
  place-items: center;
  font-size: 24px;
  position: relative;
}
.brand-mark span {
  font-size: 13px;
  position: absolute;
  right: 4px;
  top: 2px;
}
.workspace {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 33px 0 29px;
  padding: 11px 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 11px;
}
.workspace small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.6px;
}
.workspace-icon {
  width: 28px;
  height: 29px;
  border-radius: 6px;
  background: #edf0f5;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 600;
}
.nav-caption {
  font-size: 10px;
  color: #94a3b8;
  margin: 0 13px 13px;
  letter-spacing: 1px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 13px 12px;
  border-radius: 7px;
  margin-bottom: 6px;
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
}
.nav-item:hover {
  background: #f8f9fc;
}
.nav-item.active {
  background: #eef0ff;
  color: var(--primary);
  font-weight: 600;
}
.nav-icon {
  font-size: 20px;
  width: 20px;
  text-align: center;
  line-height: 1;
}
.count {
  margin-left: auto;
  background: #f0f2f6;
  font-size: 10px;
  border-radius: 4px;
  padding: 1px 5px;
}
.new-dot {
  height: 5px;
  width: 5px;
  background: var(--primary);
  border-radius: 50%;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
}
.pilot-label {
  margin: 25px 7px;
  padding: 18px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 11px;
}
.pilot-label small {
  display: block;
  font-size: 9px;
  margin-top: 7px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  margin-right: 6px;
}
.user {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}
.user small {
  display: block;
  font-size: 9px;
}
.user > .muted {
  margin-left: auto;
}
.avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #ede9e5;
  color: #6b5f54;
  border: 2px solid white;
  border-radius: 50%;
  font-weight: 600;
}
.avatar.small {
  width: 29px;
  height: 29px;
  font-size: 11px;
}
.shell {
  margin-left: 238px;
}
.topbar {
  height: 73px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.slash {
  margin: 0 14px;
  color: #cbd5e1;
}
.top-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.saved {
  font-size: 10px;
  color: var(--muted);
}
main {
  max-width: 1530px;
  margin: auto;
  padding: 33px 36px 40px;
  min-height: calc(100dvh - 126px);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.page-heading p {
  font-size: 12px;
  margin-top: 6px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #8b96aa;
  font-weight: 600;
  margin-bottom: 8px;
}
.btn {
  border: 1px solid #dfe3eb;
  background: #fff;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
  transition:
    background 0.15s,
    transform 0.15s;
}
.btn:hover {
  background: #f4f5fa;
  border-color: #c7cdd9;
}
.btn:active {
  transform: translateY(1px);
}
.btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 2px 3px #4f46e51a;
}
.btn.primary:hover {
  background: #4338ca;
}
.btn.quiet {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}
.btn.danger {
  background: #e11d48;
  color: #fff;
}
.btn.success {
  color: #047857;
  background: #ecfdf5;
  border-color: #bbf7d0;
}
.btn.full {
  width: 100%;
  margin-top: 16px;
}
.pill {
  display: inline-flex;
  align-items: center;
  background: #eef0ff;
  color: #4f46e5;
  border: 1px solid #e3e5ff;
  padding: 3px 8px;
  font-size: 9px;
  border-radius: 5px;
  white-space: nowrap;
  line-height: 1.5;
}
.pill.neutral {
  background: #f8f9fb;
  color: #64748b;
  border-color: #e9ecf1;
}
.pill.green {
  background: #ecfdf5;
  color: #047857;
  border-color: #d1fae5;
}
.pill.amber {
  background: #fffbeb;
  color: #a16207;
  border-color: #fef3c7;
}
.pill.rose {
  background: #fff1f2;
  color: #be123c;
  border-color: #ffe4e6;
}
.workflow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  margin-bottom: 25px;
  padding: 18px 12px;
}
.workflow-step {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
  border: 0;
  color: #94a3b8;
  font-size: 11px;
}
.workflow-step span {
  border: 1px solid #e5e9f0;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  font-size: 10px;
  background: #fafbfc;
}
.workflow-step.current {
  color: var(--primary);
}
.workflow-step.current span {
  color: white;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px #eef0ff;
}
.workflow-step.completed {
  color: #475569;
}
.workflow-step.completed span {
  color: var(--primary);
  background: #eef0ff;
}
.workflow-step:not(:last-child):after {
  content: "›";
  position: absolute;
  right: 0;
  color: #d0d6e1;
}
.sales-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 277px;
  gap: 23px;
  align-items: start;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 3px #0f172a02;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 15px;
  margin-bottom: 24px;
}
.section-top p {
  font-size: 11px;
  margin-top: 6px;
}
.step-label {
  color: #94a3b8;
  font-size: 9px;
  white-space: nowrap;
  letter-spacing: 0.8px;
  padding-top: 5px;
}
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.scenario {
  display: block;
  text-align: left;
  border: 1px solid #e5e8ef;
  border-radius: 8px;
  background: #fff;
  padding: 16px 14px;
  transition: all 0.2s;
  min-width: 0;
}
.scenario.selected {
  border-color: #818cf8;
  background: #fafaff;
  box-shadow: 0 0 0 1px #818cf81a;
}
.scenario:hover {
  border-color: #a5b4fc;
  transform: translateY(-2px);
}
.scenario-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
}
.scenario-avatar {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
}
.peach {
  background: #fff0e5;
  color: #b17448;
}
.lavender {
  background: #edeafd;
  color: #7661ba;
}
.mint {
  background: #e7f3ef;
  color: #43816c;
}
.selection-dot {
  width: 14px;
  height: 14px;
  border: 1px solid #dde2ec;
  border-radius: 50%;
}
.selected .selection-dot {
  border: 4px solid var(--primary);
  background: #fff;
}
.scenario strong {
  display: block;
  font-size: 11px;
  letter-spacing: -0.25px;
  min-height: 34px;
}
.scenario small {
  font-size: 10px;
  display: block;
  margin-top: 1px;
}
.scenario p {
  font-size: 10px;
  margin-top: 10px;
}
.scenario-footer {
  border-top: 1px solid var(--border);
  margin-top: 14px;
  padding-top: 10px;
  font-size: 9px;
  color: #64748b;
  display: flex;
  justify-content: space-between;
}
.scenario-footer span {
  font-size: 13px;
}
.input-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 11px;
  font-size: 11px;
  font-weight: 500;
}
.input-heading span {
  font-size: 9px;
  color: #94a3b8;
  font-weight: 400;
}
textarea,
input,
select {
  border: 1px solid #dfe4ed;
  border-radius: 6px;
  background: #fff;
  color: #334155;
  padding: 10px 12px;
  max-width: 100%;
}
textarea {
  width: 100%;
  resize: vertical;
  font-size: 12px;
  line-height: 1.9;
}
#inquiry {
  min-height: 181px;
  background: #fcfcfe;
  font-size: 11px;
}
input:not([type="range"]):not([type="checkbox"]),
select {
  width: 100%;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
  padding: 0;
  height: 22px;
}
input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.input-footer {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #94a3b8;
  padding: 9px 0 20px;
}
.intake-actions {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.intake-actions > .muted {
  font-size: 9px;
}
.context-card {
  padding: 21px;
}
.context-card .section-top {
  margin-bottom: 15px;
}
.context-card h3 {
  font-size: 12px;
}
.empty-card {
  text-align: center;
  padding: 27px 5px;
}
.empty-card h4 {
  font-size: 11px;
  font-weight: 500;
  margin-top: 18px;
}
.empty-card p {
  font-size: 10px;
  max-width: 190px;
  margin: 10px auto 3px;
}
.document-glyph {
  font-size: 34px;
  color: #b5bdd0;
  background: #f5f6fa;
  width: 59px;
  height: 59px;
  border-radius: 13px;
  margin: auto;
  display: grid;
  place-items: center;
}
.note-card {
  position: relative;
  margin-top: 18px;
  background: #eef0fc;
  border: 1px solid #e4e7f8;
  border-radius: 8px;
  padding: 20px 20px 20px 43px;
}
.note-card > span {
  position: absolute;
  left: 18px;
  top: 19px;
  color: var(--primary);
  font-size: 17px;
}
.note-card h4 {
  font-size: 11px;
  color: #4f46e5;
}
.note-card p {
  font-size: 10px;
  color: #7b82a1;
  line-height: 1.9;
}
.context-foot {
  text-align: center;
  font-size: 9px;
  color: #94a3b8;
  margin-top: 19px;
}
.how-strip {
  display: flex;
  margin-top: 25px;
  gap: 15px;
  justify-content: space-between;
  padding: 0 7px;
}
.how-strip > div {
  position: relative;
  padding-left: 32px;
}
.how-strip span {
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #eceff5;
  color: #8d99ad;
  display: grid;
  place-items: center;
  font-size: 9px;
}
.how-strip b {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: #64748b;
}
.how-strip small {
  display: block;
  font-size: 9px;
  color: #9aa4b5;
  margin-top: 4px;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 18px 36px;
  color: #9aa4b5;
  font-size: 9px;
  border-top: 1px solid var(--border);
}
.muted {
  color: var(--muted);
}
.client-identity {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 12px 0 20px;
  border-bottom: 1px solid var(--border);
}
.client-identity strong {
  font-size: 11px;
  display: block;
}
.client-identity small {
  display: block;
  font-size: 9px;
}
.client-identity .scenario-avatar {
  flex-shrink: 0;
}
dl {
  margin: 16px 0;
}
dl > div {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 7px;
  padding: 7px 0;
  font-size: 10px;
  line-height: 1.8;
}
dt {
  color: #94a3b8;
}
dd {
  margin: 0;
  color: #475569;
}
.mini-progress {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-top: 22px;
}
progress {
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 3px;
  margin-top: 10px;
  accent-color: var(--primary);
}
progress::-webkit-progress-bar {
  background: #f0f1f8;
  border-radius: 3px;
}
progress::-webkit-progress-value {
  background: var(--primary);
  border-radius: 3px;
}
.checklist {
  display: grid;
  gap: 10px;
}
.checklist > label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 7px;
  cursor: pointer;
}
.checklist > label > span:nth-child(2) {
  flex: 1;
}
.checklist strong {
  display: block;
  font-size: 12px;
}
.checklist small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
}
.email-preview {
  background: #f8f9fc;
  border-radius: 8px;
  padding: 20px;
  margin-top: 22px;
}
.email-preview pre {
  white-space: pre-wrap;
  font: 11px/1.9 inherit;
  color: #64748b;
}
.actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 22px;
}
.notice {
  background: #eef2ff;
  color: #5c64a0;
  border: 1px solid #e0e7ff;
  border-radius: 7px;
  padding: 13px 16px;
  font-size: 11px;
  line-height: 1.8;
  margin: 0 0 20px;
}
.notice.amber {
  background: #fffbeb;
  border-color: #fef3c7;
  color: #a16207;
}
.notice.rose {
  background: #fff1f2;
  color: #be123c;
  border-color: #ffe4e6;
}
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.option {
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 0;
}
.option.selected {
  border-color: #818cf8;
  background: #fcfcff;
}
.option .section-top {
  margin-bottom: 0;
}
.option h3 {
  font-size: 12px;
}
.option h4 {
  font-size: 11px;
}
.option p {
  font-size: 10px;
  min-height: 40px;
}
.product-svg {
  width: 100%;
  height: 130px;
  background: #f8f9fc;
  border-radius: 6px;
  margin: 16px 0;
}
.price {
  font-size: 15px;
  font-weight: 600;
  margin: 16px 0 4px;
  white-space: nowrap;
}
.price small {
  font-weight: 400;
  font-size: 9px;
}
.option > small {
  font-size: 9px;
}
.engineering {
  font-size: 9px;
  width: 100%;
  padding: 8px 3px;
  color: #936b2c;
  background: #fffaf0;
  border: 1px solid #f5e5c9;
  border-radius: 5px;
  min-height: 43px;
  margin: 15px 0 10px;
}
.option > .btn {
  width: 100%;
  font-size: 10px;
}
.calculator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 27px;
}
.calculator-controls > label,
.form-grid label,
.stack-form label,
.outcome-form > label {
  display: block;
  font-size: 11px;
  color: #64748b;
}
.calculator-controls input,
.calculator-controls select,
.stack-form input,
.stack-form select,
.outcome-form input,
.outcome-form select {
  margin-top: 9px;
}
.calculator-controls > label {
  margin-bottom: 18px;
}
.calculator-controls > input {
  margin: -8px 0 22px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.quote-total {
  border-radius: 8px;
  background: #f5f6fd;
  padding: 20px;
}
.quote-total > span:first-child {
  font-size: 11px;
  color: #64748b;
  display: block;
}
.quote-total > strong {
  display: block;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 5px 0 10px;
  color: var(--primary);
}
.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  padding: 22px 0 10px;
}
.result-grid span {
  font-size: 10px;
  color: #94a3b8;
  display: block;
  margin-bottom: 4px;
}
.result-grid strong {
  font-size: 14px;
}
.formula {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 17px;
  color: #94a3b8;
  font-size: 10px;
  line-height: 1.9;
}
.confirmation {
  display: block;
  font-size: 10px;
}
.proposal-hero {
  text-align: center;
  padding: 45px 10px;
  background: #fafbfe;
  border-radius: 8px;
}
.proposal-hero h3 {
  margin-top: 20px;
}
.proposal-hero .btn {
  margin-top: 23px;
}
.handoff-tasks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 30px 0;
}
.handoff-tasks > div {
  text-align: center;
  background: #f8f9fc;
  padding: 20px 8px;
  border-radius: 7px;
}
.handoff-tasks strong,
.handoff-tasks small {
  display: block;
}
.handoff-tasks small {
  font-size: 9px;
  margin-top: 7px;
}
.task-symbol {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #eef0ff;
  color: var(--primary);
  border-radius: 7px;
  margin: 0 auto 13px;
}
.summary-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.5fr;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
  margin-bottom: 24px;
  padding: 23px;
}
.summary-row > div {
  padding: 0 22px;
  border-right: 1px solid var(--border);
}
.summary-row > div:first-child {
  padding-left: 0;
}
.summary-row > div:last-child {
  border: 0;
}
.summary-row span {
  display: block;
  font-size: 11px;
  color: #64748b;
}
.summary-row strong {
  display: block;
  font-size: 25px;
  margin-top: 9px;
  letter-spacing: -0.6px;
}
.summary-row small {
  font-size: 13px;
}
.summary-row p {
  font-size: 11px;
}
.opportunity-list {
  display: grid;
  gap: 20px;
}
.opportunity-heading {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 24px;
}
.opportunity-heading > .pill {
  margin-left: auto;
}
.opportunity-heading small {
  font-size: 11px;
}
.opportunity-heading h2 {
  font-size: 17px;
  margin-top: 4px;
}
.opportunity-number {
  font-size: 25px;
  color: #c7cce0;
  font-weight: 500;
}
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27px;
}
.evidence-grid h4 {
  color: #4f46e5;
  font-size: 11px;
  margin-bottom: 12px;
}
.evidence-grid p {
  font-size: 12px;
}
.evidence-grid small {
  font-size: 10px;
}
.profit {
  color: #059669 !important;
  font-weight: 600;
}
.pitch {
  background: #f8f9fc;
  border-radius: 7px;
  padding: 17px;
  margin-top: 24px;
}
.pitch > span {
  font-size: 10px;
  color: #64748b;
}
.pitch p {
  font-size: 12px;
  margin-top: 5px;
}
.pitch small {
  display: block;
  margin-top: 9px;
  font-size: 9px;
  color: #94a3b8;
}
.reason-picker {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 15px;
  margin-top: 15px;
  font-size: 11px;
}
.filter-bar,
.crm-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 21px;
}
.segmented {
  display: flex;
  background: #eceedf00;
  border: 1px solid #e1e5ed;
  padding: 4px;
  border-radius: 7px;
  gap: 3px;
}
.segmented .btn {
  border: 0;
  background: transparent;
  color: #64748b;
  padding: 8px 14px;
}
.segmented .btn.selected {
  background: white;
  box-shadow: 0 1px 4px #0f172a12;
  color: #4f46e5;
}
.filter-bar > label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
  font-size: 11px;
}
.filter-bar input {
  width: 135px;
}
.radar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 17px;
}
.radar-card h2 {
  font-size: 17px;
  margin: 10px 0 22px;
}
.radar-card h4 {
  font-size: 11px;
}
.radar-card p {
  font-size: 11px;
}
.match-score {
  font-size: 26px;
  color: #4f46e5;
  line-height: 1;
}
.match-score small {
  display: block;
  font-size: 8px;
  text-align: center;
  margin-top: 6px;
}
.capability-link {
  background: none;
  border: 0;
  padding: 10px 0;
  color: var(--primary);
  font-size: 10px;
}
.risk {
  border-left: 2px solid #fbbf24;
  padding-left: 12px;
  margin-top: 13px;
}
.risk strong {
  font-size: 10px;
  color: #a16207;
}
.risk p {
  margin-top: 3px;
}
.suggestion {
  margin: 20px 0 10px;
  font-size: 11px;
  color: #94a3b8;
}
.suggestion b {
  color: #475569;
  margin-left: 12px;
}
.radar-card .actions {
  justify-content: space-between;
}
.crm-toolbar .muted {
  font-size: 11px;
}
.board {
  display: grid;
  grid-template-columns: repeat(7, 225px);
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 22px;
  min-height: 500px;
}
.board-column {
  background: #eef0f5;
  padding: 12px;
  border-radius: 8px;
}
.column-title {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 6px 1px 18px;
}
.column-title h3 {
  font-size: 11px;
  flex: 1;
}
.column-title > span:last-child {
  font-size: 10px;
  color: #94a3b8;
}
.stage-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a5b4fc;
}
.stage-0 {
  background: #94a3b8;
}
.stage-4 {
  background: #fbbf24;
}
.stage-6 {
  background: #34d399;
}
.project-card {
  display: block;
  text-align: left;
  width: 100%;
  background: #fff;
  border: 1px solid #e2e7ee;
  border-radius: 7px;
  padding: 15px;
  margin-bottom: 12px;
  box-shadow: 0 2px 3px #0f172a03;
  transition: transform 0.15s;
}
.project-card:hover {
  transform: translateY(-2px);
  border-color: #a5b4fc;
}
.project-card small {
  font-size: 8px;
}
.project-card h4 {
  font-size: 12px;
  margin-top: 10px;
}
.project-card p {
  font-size: 10px;
  min-height: 40px;
  margin: 7px 0 15px;
}
.project-card > strong {
  font-size: 16px;
}
.project-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  margin-top: 15px;
  padding-top: 11px;
  font-size: 8px;
  color: #94a3b8;
}
.project-foot .pill {
  font-size: 8px;
}
.column-empty {
  font-size: 10px;
  color: #a4adbd;
  text-align: center;
  border: 1px dashed #dbe0e9;
  padding: 25px 5px;
  border-radius: 7px;
}
.approved-text {
  color: #059669;
  font-size: 9px;
  margin-top: 12px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  white-space: nowrap;
  font-size: 11px;
}
th {
  text-align: left;
  font-weight: 400;
  font-size: 10px;
  color: #94a3b8;
  background: #f8f9fb;
  padding: 12px;
}
td {
  padding: 19px 12px;
  border-bottom: 1px solid #f0f2f6;
}
tr:last-child td {
  border: 0;
}
.section-heading {
  margin: 30px 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.section-heading p {
  font-size: 11px;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
  margin-bottom: 23px;
}
.kpi h3 {
  font-size: 12px;
}
.kpi-values {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 23px;
}
.kpi-values small {
  display: block;
  font-size: 9px;
}
.kpi-values span:not(.kpi-arrow) {
  font-size: 20px;
  color: #94a3b8;
  display: block;
  margin-top: 7px;
}
.kpi-values strong {
  display: block;
  font-size: 22px;
  color: var(--primary);
  margin-top: 7px;
}
.kpi-arrow {
  color: #cbd5e1;
}
.kpi > p {
  font-size: 9px;
  margin-top: 22px;
}
.backdrop {
  position: fixed;
  inset: 0;
  background: #0f172a55;
  backdrop-filter: blur(3px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  max-width: 760px;
  width: 100%;
  max-height: 90dvh;
  overflow: auto;
  position: relative;
  box-shadow: 0 25px 80px #0f172a22;
  animation: appear 0.2s ease;
}
.modal > p {
  margin-bottom: 20px;
  font-size: 12px;
}
.modal > h2 {
  padding-right: 30px;
}
.close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 0;
  background: #f3f5f8;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 22px;
  color: #64748b;
  line-height: 1;
}
.drawer {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(660px, 100%);
  background: #fff;
  padding: 35px;
  overflow: auto;
  box-shadow: -10px 0 50px #0f172a10;
  animation: slide 0.2s ease;
}
.drawer > h2 {
  padding-right: 30px;
}
.drawer > h3 {
  margin: 28px 0 16px;
}
.drawer-stages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 24px 0;
}
.drawer-stages > div {
  background: #f8f9fc;
  padding: 17px;
  border-radius: 7px;
}
.drawer-stages span {
  color: #94a3b8;
  font-size: 10px;
}
.drawer-stages h3 {
  margin-top: 7px;
}
.tasks {
  display: grid;
  gap: 10px;
}
.task-row {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
}
.task-row > b {
  font-size: 11px;
  align-self: center;
}
.task-row label {
  font-size: 9px;
  color: #94a3b8;
  min-width: 0;
  flex: 1;
}
.task-row input {
  font-size: 10px;
  margin-top: 5px;
  padding: 8px;
}
.task-row .btn {
  font-size: 9px;
  padding: 8px;
}
.approval-panel {
  background: #f5f6ff;
  border: 1px solid #e3e6fc;
  padding: 20px;
  border-radius: 8px;
  margin: 27px 0;
}
.approval-panel p {
  font-size: 10px;
  margin-bottom: 15px;
}
.switch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 12px;
}
.switch-row input {
  appearance: none;
  width: 34px;
  height: 20px;
  border: 0;
  border-radius: 12px;
  background: #cbd5e1;
  padding: 2px;
  position: relative;
  cursor: pointer;
}
.switch-row input:before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform 0.15s;
}
.switch-row input:checked {
  background: var(--primary);
}
.switch-row input:checked:before {
  transform: translateX(14px);
}
.outcome-form,
.stack-form {
  display: grid;
  gap: 17px;
}
.inline-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.inline-check input {
  margin: 0;
}
.audit-log > div {
  border-left: 2px solid #e4e7f0;
  padding: 4px 0 14px 14px;
  font-size: 11px;
}
.audit-log small {
  display: block;
  font-size: 9px;
  margin-top: 5px;
}
.modal-open {
  overflow: hidden;
}
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #0f172a;
  color: #fff;
  border-radius: 8px;
  padding: 13px 22px;
  font-size: 12px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s;
  max-width: 90vw;
  box-shadow: 0 8px 30px #0f172a22;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slide {
  from {
    transform: translateX(25px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@media (min-width: 1600px) {
  .sales-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
  }
  .scenario strong {
    font-size: 13px;
  }
  .scenario {
    padding: 20px;
  }
  .intake {
    padding: 30px;
  }
  #inquiry {
    min-height: 210px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 215px;
    padding: 28px 13px;
  }
  .shell {
    margin-left: 215px;
  }
  main {
    padding: 28px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .sales-layout {
    grid-template-columns: minmax(0, 1fr) 235px;
    gap: 16px;
  }
  .card {
    padding: 20px;
  }
  .scenario {
    padding: 12px 10px;
  }
  .scenario-grid {
    gap: 8px;
  }
  .workflow-step {
    gap: 6px;
    font-size: 10px;
  }
  .saved {
    display: none;
  }
  .options-grid {
    grid-template-columns: 1fr;
  }
  .option {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .option .product-svg {
    grid-column: 2;
    grid-row: 1/5;
    height: 120px;
    margin: 0;
  }
  .option p {
    min-height: auto;
  }
  .option .price {
    margin: 0;
  }
  .option .engineering {
    margin: 0;
  }
  .option > .btn {
    align-self: end;
  }
  .how-strip small {
    font-size: 8px;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 980px) {
  .sales-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .context {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 16px;
  }
  .context-foot {
    display: none;
  }
  .note-card {
    margin-top: 0;
    height: max-content;
  }
  .empty-card {
    padding: 15px;
  }
  .empty-card .document-glyph {
    display: none;
  }
  .empty-card h4 {
    margin-top: 0;
  }
  .scenario strong {
    min-height: 0;
  }
  .top-actions {
    gap: 8px;
  }
  .evidence-grid {
    grid-template-columns: 1fr;
  }
  .radar-grid {
    grid-template-columns: 1fr;
  }
  .summary-row {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .summary-row > div:nth-child(3) {
    padding-left: 0;
  }
  .summary-row > div:nth-child(2) {
    border: 0;
  }
  .filter-bar {
    align-items: start;
    flex-direction: column;
  }
  .task-row {
    gap: 6px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    position: sticky;
    top: 0;
    width: 100%;
    height: auto;
    padding: 13px 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .brand {
    font-size: 19px;
    padding: 0 0 12px;
  }
  .brand-mark {
    width: 28px;
    height: 29px;
    font-size: 20px;
  }
  .workspace,
  .nav-caption,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    gap: 6px;
    margin: 0 -8px;
  }
  .nav-item {
    width: auto;
    flex-shrink: 0;
    padding: 10px 9px;
    margin: 0;
    border-radius: 6px 6px 0 0;
    font-size: 10px;
    gap: 6px;
  }
  .nav-icon {
    font-size: 15px;
    width: 15px;
  }
  .nav-item .count,
  .new-dot {
    display: none;
  }
  .shell {
    margin-left: 0;
  }
  .topbar {
    height: 50px;
    padding: 0 18px;
    font-size: 10px;
  }
  .top-actions .avatar {
    display: none;
  }
  .top-actions .btn {
    font-size: 9px;
    padding: 6px;
  }
  .slash {
    margin: 0 8px;
  }
  main {
    padding: 25px 16px 30px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .page-heading {
    margin-bottom: 23px;
    gap: 10px;
    align-items: start;
  }
  .page-heading > .pill {
    font-size: 7px;
    margin-top: 8px;
  }
  h1 {
    font-size: 23px;
  }
  .page-heading p {
    font-size: 10px;
    max-width: 260px;
  }
  .workflow {
    overflow: auto;
    grid-template-columns: repeat(6, 110px);
    padding: 15px 7px;
    margin-bottom: 18px;
  }
  .workflow-step {
    font-size: 10px;
  }
  .workflow-step span {
    height: 22px;
    width: 22px;
  }
  .card {
    padding: 19px;
    border-radius: 9px;
  }
  .section-top h2 {
    font-size: 16px;
  }
  .section-top p {
    font-size: 10px;
  }
  .step-label {
    display: none;
  }
  .scenario-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 21px;
  }
  .scenario {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    column-gap: 12px;
    padding: 12px;
  }
  .scenario-top {
    grid-row: 1/4;
    margin: 0;
  }
  .scenario-avatar {
    width: 33px;
    height: 33px;
    font-size: 11px;
  }
  .scenario .selection-dot {
    display: none;
  }
  .scenario strong {
    grid-column: 2;
    font-size: 11px;
  }
  .scenario small {
    grid-column: 2;
    font-size: 9px;
  }
  .scenario p {
    grid-column: 2;
    font-size: 9px;
    margin-top: 4px;
  }
  .scenario-footer {
    grid-column: 3;
    grid-row: 1/4;
    border: 0;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 10px;
    font-size: 9px;
  }
  .input-heading {
    font-size: 10px;
  }
  .input-heading span {
    font-size: 8px;
  }
  #inquiry {
    font-size: 11px;
    min-height: 195px;
  }
  .input-footer {
    font-size: 8px;
  }
  .intake-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .intake-actions .btn {
    padding: 12px;
    font-size: 12px;
  }
  .intake-actions > .muted {
    text-align: center;
    order: 2;
    font-size: 8px;
  }
  .how-strip {
    gap: 9px;
    padding: 0;
  }
  .how-strip > div {
    padding-left: 0;
    flex: 1;
  }
  .how-strip span {
    position: static;
    margin-bottom: 8px;
  }
  .how-strip b {
    font-size: 9px;
  }
  .how-strip small {
    font-size: 8px;
    line-height: 1.7;
  }
  .context {
    grid-template-columns: 1fr;
  }
  .context-card {
    padding: 18px;
  }
  .context-card .empty-card {
    padding: 12px;
  }
  .note-card {
    display: none;
  }
  .client-identity {
    padding-bottom: 12px;
  }
  dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
  dl > div {
    grid-template-columns: 55px 1fr;
    padding: 3px 0;
  }
  .mini-progress {
    margin-top: 12px;
  }
  footer {
    padding: 15px 18px;
    font-size: 8px;
    gap: 12px;
  }
  footer span {
    text-align: right;
    max-width: 200px;
  }
  .calculator-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .checklist > label {
    padding: 12px;
    gap: 8px;
  }
  .checklist strong {
    font-size: 11px;
  }
  .checklist small {
    font-size: 9px;
  }
  .checklist .pill {
    font-size: 8px;
  }
  .handoff-tasks {
    grid-template-columns: repeat(2, 1fr);
  }
  .summary-row {
    padding: 18px;
    gap: 22px;
  }
  .summary-row > div {
    padding: 0 10px;
  }
  .summary-row strong {
    font-size: 21px;
  }
  .summary-row p {
    font-size: 9px;
  }
  .summary-row span {
    font-size: 9px;
  }
  .opportunity-heading {
    gap: 10px;
    flex-wrap: wrap;
  }
  .opportunity-heading h2 {
    font-size: 15px;
  }
  .opportunity-heading > .pill {
    margin-left: 36px;
  }
  .opportunity-number {
    font-size: 23px;
  }
  .opportunity-heading > div {
    flex: 1;
  }
  .evidence-grid {
    gap: 19px;
  }
  .evidence-grid p {
    font-size: 11px;
  }
  .pitch p {
    font-size: 11px;
  }
  .actions .btn {
    font-size: 10px;
    padding: 9px 11px;
  }
  .filter-bar .segmented {
    width: 100%;
  }
  .segmented .btn {
    padding: 8px 9px;
    font-size: 10px;
  }
  .crm-toolbar {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .board {
    grid-template-columns: repeat(7, 230px);
    margin-right: -16px;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .section-heading p {
    font-size: 10px;
  }
  .section-heading > .pill {
    font-size: 8px;
  }
  .kpi-grid {
    grid-template-columns: 1fr;
  }
  .kpi {
    padding: 22px;
  }
  .kpi-values {
    justify-content: start;
    gap: 30px;
  }
  .kpi-values strong {
    font-size: 25px;
  }
  .backdrop {
    padding: 12px;
  }
  .modal {
    padding: 25px 20px;
  }
  .drawer {
    padding: 28px 20px;
  }
  .drawer > h2 {
    font-size: 20px;
  }
  .task-row {
    flex-wrap: wrap;
  }
  .task-row > b {
    width: 28px;
  }
  .task-row input {
    padding: 7px 4px;
  }
  .task-row .btn {
    font-size: 8px;
    padding: 8px 5px;
  }
  .task-row label {
    min-width: 80px;
  }
  .drawer-stages {
    gap: 10px;
  }
  .drawer-stages > div {
    padding: 13px;
  }
  .drawer-stages .btn {
    font-size: 9px;
    padding: 8px;
  }
  .modal textarea {
    font-size: 11px;
  }
  #toast {
    width: max-content;
    font-size: 11px;
    bottom: 20px;
  }
  .form-grid {
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
