@import url("/fonts/fonts.css");
:root {
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  color: #172b3c;
  background: #f5f7fa;
  --ink: #172b3c;
  --muted: #6c7c8b;
  --line: #e1e7ec;
  --teal: #087f89;
  --green: #2a8065;
  --purple: #735cc5;
  --amber: #ab7324;
  --red: #b94f58;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #46aab2;
  outline-offset: 3px;
}
.skip {
  position: fixed;
  top: -70px;
  left: 10px;
  background: white;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 0;
}
.demo-banner {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  background: #173633;
  color: #d1dfd9;
  font-size: 10px;
  letter-spacing: 0.1px;
}
.demo-banner b {
  font-size: 9px;
  letter-spacing: 1px;
  color: #dbf7a7;
  margin-right: 14px;
}
.demo-banner a {
  color: #dbf7a7;
}
.portal-shell {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: calc(100vh - 34px);
}
.sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 29px 16px 20px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: calc(100dvh - 34px);
  overflow: auto;
}
.portal-brand {
  font: 800 34px/1 Manrope;
  letter-spacing: -1.6px;
  display: block;
  padding: 0 15px 26px;
}
.portal-brand > span {
  font: 400 10px "DM Sans";
  letter-spacing: 0;
  display: block;
  margin-top: 7px;
  color: var(--muted);
}
.company {
  display: flex;
  gap: 9px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 9px;
  margin-bottom: 24px;
}
.company-mark {
  background: #e8eddf;
  border-radius: 6px;
  font: 700 16px Manrope;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  position: relative;
}
.company-mark > span {
  position: absolute;
  top: -3px;
  right: 0;
  font-size: 9px;
}
.company strong {
  font-size: 11px;
  display: block;
}
.company small {
  font-size: 8px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.sidebar nav {
  display: grid;
  gap: 4px;
}
.sidebar nav > a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 11px;
  border-radius: 6px;
  color: #647786;
  font-size: 12px;
  font-weight: 500;
}
.sidebar nav > a:hover {
  background: #f4f8f8;
}
.sidebar nav > a.active {
  background: #e6f3f3;
  color: #087f89;
}
.sidebar nav i {
  font-size: 18px;
  font-style: normal;
  width: 20px;
  display: inline-flex;
  justify-content: center;
}
.nav-label {
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #8b99a4;
  padding: 24px 12px 8px;
  font-weight: 600;
}
.nav-count,
#request-count:not(:empty) {
  font-size: 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 5px;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.consultant {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.consultant > span,
.avatar {
  background: #dbeaea;
  color: #376873;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-weight: 600;
  font-size: 10px;
  flex-shrink: 0;
}
.consultant strong {
  font-size: 9px;
  display: block;
}
.consultant small {
  font-size: 8px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.text-button {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 11px;
  padding: 7px;
}
.portal-main {
  min-width: 0;
}
.portal-top {
  height: 76px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 35px;
  gap: 22px;
}
.breadcrumb {
  font-size: 9px;
  letter-spacing: 1.3px;
  white-space: nowrap;
}
.breadcrumb > span {
  color: var(--muted);
  margin-left: 10px;
}
#crumb {
  letter-spacing: 0;
}
.search-trigger {
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 10px 13px;
  color: #87939e;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  min-width: 250px;
}
.search-trigger kbd {
  font: 9px "DM Sans";
  margin-left: auto;
  color: #9aa4ae;
}
.demo-date {
  font-size: 9px;
  letter-spacing: 0.6px;
  color: var(--muted);
}
#portal-menu {
  display: none;
  background: white;
  border: 1px solid var(--line);
  padding: 7px;
  border-radius: 5px;
}
#main {
  padding: 35px 36px 20px;
  max-width: 1500px;
  margin: auto;
  min-height: calc(100dvh - 160px);
  outline: none;
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: #82929b;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.page-heading h1 {
  font: 700 32px/1.15 Manrope;
  letter-spacing: -1.3px;
  margin: 0 0 10px;
}
.page-heading p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.heading-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font-weight: 600;
  font-size: 11px;
  padding: 11px 15px;
  line-height: 1.4;
}
.btn:hover {
  border-color: #7aa9ae;
}
.btn.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}
.btn.purple {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}
.btn.small {
  padding: 8px 11px;
  font-size: 10px;
}
.btn.ghost {
  background: transparent;
  color: var(--teal);
  border-color: transparent;
  padding-left: 0;
}
.welcome-note {
  background: #e8f1eb;
  border: 1px solid #d9e6dc;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.welcome-note > div {
  display: flex;
  align-items: center;
  gap: 13px;
}
.welcome-note .note-icon {
  background: #d0e3ce;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: #437043;
  flex-shrink: 0;
}
.welcome-note strong {
  font-size: 12px;
}
.welcome-note p {
  font-size: 10px;
  color: #6b8271;
  margin: 5px 0 0;
  line-height: 1.7;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.metric {
  padding: 21px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
}
.metric-label {
  font-size: 9px;
  letter-spacing: 0.4px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.metric-value {
  font: 700 28px Manrope;
  letter-spacing: -1px;
  margin: 13px 0 6px;
  white-space: nowrap;
}
.metric-note {
  font-size: 9px;
  line-height: 1.7;
  color: var(--muted);
}
.metric-note .positive {
  color: var(--green);
}
.metric-note .caution {
  color: var(--amber);
}
.metric .spark {
  width: 67px;
  height: 25px;
  float: right;
  margin-top: -33px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  min-width: 0;
  overflow: hidden;
  margin-bottom: 22px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 21px 23px 0;
}
.panel-head h2 {
  font: 700 14px Manrope;
  margin: 0;
}
.panel-head p {
  font-size: 10px;
  color: var(--muted);
  margin: 5px 0 0;
  line-height: 1.7;
}
.panel-body {
  padding: 20px 23px;
}
.panel-foot {
  padding: 12px 23px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: var(--muted);
  line-height: 1.7;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr);
  gap: 22px;
}
.equal-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.chart text {
  font: 9px "DM Sans";
  fill: #8694a0;
}
.chart-grid {
  stroke: #edf0f3;
  stroke-width: 1;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 15px;
}
.legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 2px;
}
.channel-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 10px;
  margin: 18px 0;
}
.channel-row:first-child {
  margin-top: 0;
}
.channel-row:last-child {
  margin-bottom: 0;
}
.channel-row label {
  font-size: 11px;
}
.channel-row strong {
  font-size: 11px;
}
.channel-row small {
  font-size: 9px;
  color: var(--muted);
  grid-column: 1/-1;
}
.channel-track {
  grid-column: 1/-1;
  height: 5px;
  background: #f0f3f5;
  border-radius: 4px;
  margin-top: 4px;
  overflow: hidden;
}
.channel-track > div {
  height: 100%;
  background: #26858b;
  border-radius: 4px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 8px 0 15px;
}
.section-title h2 {
  font: 700 16px Manrope;
  margin: 0;
}
.section-title span,
.section-title p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.brief-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.brief-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brief-card .category {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: var(--teal);
  font-weight: 600;
  display: block;
}
.brief-card h3 {
  font: 700 15px/1.5 Manrope;
  margin: 15px 0 10px;
  letter-spacing: -0.3px;
}
.brief-card p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 18px;
}
.brief-card .brief-bottom {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.brief-bottom small {
  font-size: 9px;
  color: var(--muted);
}
.brief-bottom button {
  border: 0;
  background: transparent;
  color: var(--teal);
  font-size: 10px;
  font-weight: 600;
  padding: 0;
}
.deliver-row {
  padding: 18px 23px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}
.deliver-row:last-child {
  border-bottom: 0;
}
.doc-icon {
  background: #edf3f5;
  border: 1px solid #e0e9ec;
  border-radius: 7px;
  width: 37px;
  height: 43px;
  display: grid;
  place-items: center;
  color: var(--teal);
  font-size: 20px;
  flex-shrink: 0;
}
.deliver-row h3 {
  font-size: 11px;
  margin: 0 0 5px;
}
.deliver-row p {
  font-size: 9px;
  color: var(--muted);
  margin: 0;
}
.deliver-row .btn {
  margin-left: auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
  background: #edf2f5;
  color: #6a7d8d;
}
.badge.green {
  background: #e8f4ec;
  color: #3a825c;
}
.badge.amber {
  background: #fff2dc;
  color: #a3742f;
}
.badge.red {
  background: #fbedee;
  color: #b15660;
}
.badge.purple {
  background: #f0ecfa;
  color: #7761ad;
}
.inline-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 16px 0;
  font-size: 10px;
  color: var(--muted);
  flex-wrap: wrap;
}
.custom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 25px;
}
.custom-link {
  border: 1px solid var(--line);
  background: white;
  padding: 17px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
}
.custom-link > span {
  display: grid;
  place-items: center;
  border-radius: 8px;
  width: 33px;
  height: 33px;
  background: #edf0f8;
  color: var(--purple);
  font-size: 13px;
}
.portal-footer {
  max-width: 1500px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 36px 25px;
  font-size: 9px;
  color: #90a0a9;
}
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.toolbar input {
  min-width: 200px;
  flex: 1;
  max-width: 330px;
}
.toolbar input,
.toolbar select,
.heading-actions select,
.form-field input,
.form-field textarea,
.form-field select {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 11px;
  background: white;
  color: var(--ink);
  max-width: 100%;
}
.pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pills button {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 9px 13px;
  font-size: 10px;
  color: var(--muted);
  background: white;
}
.pills button.active {
  border-color: var(--teal);
  background: #e7f3f4;
  color: var(--teal);
}
.ads .pills button.active {
  border-color: var(--purple);
  background: #f0ecfa;
  color: var(--purple);
}
.table-wrap {
  overflow: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 10px;
}
.data-table th {
  text-align: left;
  padding: 13px 19px;
  background: #f8fafb;
  border-bottom: 1px solid var(--line);
  color: #8a99a5;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.data-table td {
  padding: 16px 19px;
  border-bottom: 1px solid #edf0f2;
  color: #5c7080;
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.data-table td strong {
  color: var(--ink);
  font-weight: 500;
  display: block;
}
.data-table small {
  color: #8a99a5;
  font-size: 8px;
  display: block;
  margin-top: 5px;
}
.data-table .row-button {
  border: 0;
  background: transparent;
  color: var(--teal);
  font-size: 10px;
  padding: 0;
  text-align: left;
  font-weight: 600;
}
.data-table tbody tr:hover {
  background: #fbfcfd;
}
.data-table .number {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.alert-box {
  border: 1px solid #eddbb9;
  background: #fff9ef;
  color: #92713d;
  border-radius: 7px;
  padding: 15px 18px;
  font-size: 11px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.alert-box strong {
  color: #7c5a26;
}
.info-box {
  padding: 15px 18px;
  background: #eff5f7;
  border: 1px solid #e1ebef;
  border-radius: 7px;
  font-size: 10px;
  color: #68808b;
  line-height: 1.8;
  margin-bottom: 20px;
}
.recommendation {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.recommendation:first-child {
  padding-top: 0;
}
.recommendation:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.recommendation h3 {
  font-size: 12px;
  margin: 9px 0;
}
.recommendation p {
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
  margin: 8px 0 12px;
}
.ring {
  width: 160px;
  height: 160px;
  position: relative;
  margin: 10px auto 25px;
}
.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.ring .ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ring-label strong {
  font: 700 29px Manrope;
}
.ring-label small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 6px;
}
.planner {
  padding: 22px;
  border-radius: 8px;
  background: #f7f9fb;
  border: 1px solid var(--line);
}
.planner label {
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
}
.planner input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
  margin: 10px 0 20px;
}
.planning-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.planning-breakdown > div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 15px;
}
.planning-breakdown small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  line-height: 1.7;
}
.planning-breakdown strong {
  display: block;
  font: 700 20px Manrope;
  margin-top: 8px;
}
.capacity-bar {
  display: flex;
  gap: 2px;
  height: 11px;
  border-radius: 5px;
  overflow: hidden;
  margin: 17px 0;
}
.capacity-bar > span {
  height: 100%;
  min-width: 0;
}
.report-hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
  margin-bottom: 25px;
}
.report-hero h2 {
  font: 700 28px/1.3 Manrope;
  letter-spacing: -1px;
  margin: 12px 0;
}
.report-hero > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.report-section {
  margin: 25px 0;
}
.report-section h3 {
  font: 700 16px Manrope;
  margin: 0 0 13px;
}
.report-section p,
.report-section li {
  font-size: 12px;
  line-height: 1.9;
  color: #617584;
}
.report-section li {
  margin: 7px 0;
}
.report-section ul,
.report-section ol {
  padding-left: 20px;
}
.evidence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 23px 0;
}
.evidence > div {
  background: #f5f8fa;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px;
}
.evidence small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  line-height: 1.7;
}
.evidence strong {
  font: 700 21px Manrope;
  display: block;
  margin-top: 8px;
}
.timeline {
  border-left: 1px solid #d7e2e6;
  padding-left: 24px;
  margin-left: 5px;
}
.timeline > div {
  position: relative;
  margin: 22px 0;
}
.timeline > div:before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  left: -28px;
  top: 4px;
}
.timeline strong {
  font-size: 11px;
}
.timeline p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 5px;
}
.checklist label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
}
.checklist label:last-child {
  border-bottom: 0;
}
.checklist input {
  accent-color: var(--teal);
  margin-top: 4px;
}
.checklist small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.creative-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.creative {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.creative-image {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5eadf;
  position: relative;
  overflow: hidden;
}
.creative-image svg {
  height: 130px;
  width: 150px;
}
.creative-copy {
  padding: 18px;
}
.creative-copy h3 {
  font: 600 14px Manrope;
  margin: 0 0 10px;
}
.creative-copy p {
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
}
.connection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.connection-tile {
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
  padding: 23px;
}
.connection-tile h2 {
  font: 700 16px Manrope;
  margin: 22px 0 12px;
}
.connection-tile p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.connection-tile .badge {
  margin: 5px 0;
}
.connection-tile .connection-symbol {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 9px;
  background: #eaf1ee;
  font: 700 15px Manrope;
  color: var(--teal);
}
.empty {
  text-align: center;
  border: 1px dashed #ccd9df;
  border-radius: 9px;
  padding: 50px 25px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.empty h2 {
  font: 700 20px Manrope;
  color: var(--ink);
}
.form-field {
  display: grid;
  gap: 9px;
  margin: 19px 0;
  font-size: 11px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  font-size: 12px;
}
.form-field textarea {
  min-height: 100px;
  resize: vertical;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.icon-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 25px;
  line-height: 1;
  padding: 3px 8px;
}
dialog {
  border: 1px solid #d6e0e5;
  border-radius: 12px;
  width: min(820px, calc(100vw - 30px));
  max-height: 90dvh;
  padding: 0;
  color: var(--ink);
  box-shadow: 0 30px 120px #0c203544;
}
dialog::backdrop {
  background: #172b3c66;
  backdrop-filter: blur(4px);
}
.dialog-header {
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 28px;
  border-bottom: 1px solid var(--line);
}
.dialog-header > span {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}
#dialog-content {
  padding: 28px 32px 32px;
}
#dialog-title {
  font: 700 25px/1.3 Manrope;
  letter-spacing: -0.8px;
  margin: 5px 0 15px;
}
.dialog-lead {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  opacity: 0;
  pointer-events: none;
  background: #183e3e;
  color: white;
  box-shadow: 0 8px 30px #172b3c33;
  padding: 15px 22px;
  border-radius: 8px;
  font-size: 12px;
  max-width: calc(100vw - 30px);
  width: max-content;
  z-index: 70;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
#toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.search-results {
  display: grid;
  gap: 8px;
}
.search-results a,
.search-results button {
  display: block;
  text-align: left;
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  color: var(--ink);
}
.search-results small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 5px;
}
.search-results a:hover,
.search-results button:hover {
  background: #f4f8f9;
}
.mini-note {
  font-size: 9px;
  line-height: 1.8;
  color: var(--muted);
  margin: 12px 0;
}
.complete-stamp {
  border: 1px solid #b9d8c5;
  background: #f1f8f3;
  border-radius: 8px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  color: #43795a;
}
.complete-stamp small {
  display: block;
  font-size: 10px;
  color: #769782;
  margin-top: 4px;
}
.stat-pair {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.stat-pair:last-child {
  border-bottom: 0;
}
.stat-pair span {
  color: var(--muted);
}
.budget-range {
  width: 100%;
  accent-color: var(--purple);
}
[hidden] {
  display: none !important;
}
@media (min-width: 1700px) {
  #main {
    padding-top: 48px;
  }
  .page-heading h1 {
    font-size: 37px;
  }
  .metric-value {
    font-size: 33px;
  }
}
@media (max-width: 1150px) {
  .portal-shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .sidebar {
    padding-inline: 12px;
  }
  .company strong {
    font-size: 10px;
  }
  .portal-top {
    padding-inline: 24px;
    gap: 15px;
  }
  .demo-date {
    display: none;
  }
  #main {
    padding: 28px 24px;
  }
  .metric-grid {
    gap: 12px;
  }
  .metric {
    padding: 17px;
  }
  .metric-value {
    font-size: 25px;
  }
  .two-col {
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
  }
  .brief-grid {
    gap: 12px;
  }
  .brief-card {
    padding: 18px;
  }
  .custom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .connection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .breadcrumb {
    display: none;
  }
}
@media (max-width: 900px) {
  .portal-shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col,
  .equal-col {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .brief-grid {
    grid-template-columns: 1fr;
  }
  .brief-card h3 {
    margin-top: 11px;
  }
  .brief-card p {
    max-width: 600px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .creative-grid {
    grid-template-columns: 1fr;
  }
  .creative-image {
    height: 150px;
  }
  .panel-head {
    padding-inline: 18px;
  }
  .panel-body {
    padding-inline: 18px;
  }
  .sidebar nav > a {
    font-size: 11px;
    gap: 7px;
  }
  .company {
    padding: 9px 7px;
  }
  .company-mark {
    display: none;
  }
}
@media (max-width: 650px) {
  .demo-banner {
    height: auto;
    min-height: 40px;
    padding: 9px 15px;
    font-size: 8px;
    gap: 12px;
    line-height: 1.7;
  }
  .demo-banner b {
    display: block;
    margin: 0;
    font-size: 8px;
  }
  .demo-banner a {
    flex-shrink: 0;
    font-size: 9px;
  }
  .portal-shell {
    display: block;
  }
  .sidebar {
    display: none;
    position: fixed;
    z-index: 40;
    top: 0;
    bottom: 0;
    left: 0;
    width: 245px;
    height: 100dvh;
    box-shadow: 10px 0 60px #12233433;
  }
  .sidebar.open {
    display: flex;
  }
  .sidebar nav > a {
    font-size: 12px;
    padding: 13px;
  }
  .company-mark {
    display: grid;
  }
  .portal-top {
    height: 65px;
    padding: 0 16px;
    gap: 13px;
  }
  #portal-menu {
    display: block;
  }
  .search-trigger {
    min-width: 0;
    flex: 1;
    font-size: 11px;
    gap: 8px;
    padding: 9px 10px;
  }
  .search-trigger kbd {
    display: none;
  }
  .search-trigger span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .avatar {
    width: 27px;
    height: 27px;
    font-size: 9px;
  }
  #main {
    padding: 26px 16px 16px;
  }
  .page-heading {
    display: block;
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .heading-actions {
    margin-top: 18px;
    flex-wrap: wrap;
  }
  .page-heading p {
    font-size: 11px;
  }
  .welcome-note {
    display: block;
    padding: 16px;
  }
  .welcome-note .btn {
    margin-top: 12px;
    margin-left: 43px;
  }
  .metric {
    padding: 15px;
  }
  .metric-value {
    font-size: 25px;
  }
  .metric-label {
    font-size: 8px;
    line-height: 1.6;
  }
  .metric-note {
    font-size: 8px;
  }
  .metric .spark {
    width: 45px;
  }
  .panel-head {
    padding: 18px 17px 0;
  }
  .panel-body {
    padding: 18px 17px;
  }
  .panel-foot {
    padding: 12px 17px;
    flex-wrap: wrap;
  }
  .panel-head h2 {
    font-size: 13px;
  }
  .custom-grid {
    gap: 10px;
  }
  .custom-link {
    padding: 14px 12px;
    font-size: 10px;
    gap: 9px;
  }
  .custom-link > span {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
  .portal-footer {
    padding: 10px 17px 20px;
    font-size: 8px;
    line-height: 1.8;
  }
  .toolbar input {
    max-width: none;
    min-width: 0;
    width: 100%;
  }
  .toolbar input,
  .toolbar select {
    font-size: 11px;
  }
  .pills {
    gap: 5px;
  }
  .pills button {
    padding: 8px 10px;
    font-size: 9px;
  }
  .connection-grid {
    grid-template-columns: 1fr;
  }
  .evidence {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .evidence > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .evidence strong {
    margin: 0;
  }
  .planning-breakdown {
    gap: 7px;
  }
  .planning-breakdown > div {
    padding: 10px;
  }
  .planning-breakdown strong {
    font-size: 17px;
  }
  .planning-breakdown small {
    font-size: 8px;
  }
  .deliver-row {
    padding: 16px;
    gap: 10px;
  }
  .deliver-row h3 {
    line-height: 1.7;
    font-size: 10px;
  }
  .deliver-row .btn {
    padding: 8px;
    font-size: 9px;
  }
  .doc-icon {
    width: 29px;
    height: 35px;
  }
  .deliver-row .badge {
    display: none;
  }
  .section-title {
    align-items: flex-start;
  }
  .section-title h2 {
    font-size: 15px;
  }
  .section-title > span {
    font-size: 9px;
    max-width: 125px;
    text-align: right;
  }
  .dialog-header {
    padding: 16px 20px;
  }
  #dialog-content {
    padding: 22px 20px;
  }
  #dialog-title {
    font-size: 23px;
  }
  .dialog-actions .btn {
    flex: 1;
  }
  .report-hero h2 {
    font-size: 24px;
  }
  .data-table td,
  .data-table th {
    padding-inline: 15px;
  }
  .planner {
    padding: 17px;
  }
  .info-box {
    font-size: 9px;
  }
  .mini-note {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.delivery-custom {
  grid-template-columns: 1fr 1fr;
  margin: 20px 0;
}
.custom-context {
  font-size: 12px;
  line-height: 1.7;
  padding: 14px 18px;
  margin-bottom: 26px;
  background: #e7eee3;
  border: 1px solid #d8e3d2;
  border-radius: 8px;
  color: #3c5e51;
}
.custom-context span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.custom-context a {
  margin-left: 8px;
  font-weight: 700;
}
.story-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  margin: 25px 0;
}
.story-steps button {
  padding: 17px 10px;
  border: 1px solid #dce5e5;
  border-radius: 9px;
  background: white;
  color: #667982;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}
.story-steps span {
  display: block;
  font-size: 11px;
  margin-bottom: 8px;
}
.story-steps button.active {
  background: #143c3d;
  color: #d8f78a;
  border-color: #143c3d;
}
.story-panel {
  padding: 35px;
  max-width: 960px;
}
.story-panel h2 {
  font-size: 30px;
  line-height: 1.2;
  margin: 16px 0;
}
.story-panel .dialog-lead {
  font-size: 18px;
  max-width: 760px;
}
.story-eyebrow {
  font-size: 11px;
  color: #16838b;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.story-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
}
.story-panel .notice {
  padding: 24px;
  margin: 25px 0;
}
.story-panel .notice p {
  margin-bottom: 0;
}
@media (max-width: 650px) {
  .story-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .story-panel {
    padding: 22px;
  }
  .story-panel h2 {
    font-size: 25px;
  }
  .delivery-custom {
    grid-template-columns: 1fr;
  }
  .story-controls {
    flex-wrap: wrap;
  }
}
