.trial-period {
  padding: .6rem clamp(1rem,3vw,2.5rem);
  color: #204e45;
  background: #eaf3ed;
  font-size: .88rem;
  line-height: 1.55;
}
.trial-period a { color: inherit; text-decoration: underline; }

html:is([data-sidekick-demo],[data-sidekick-trial]) {
  --ink: #24262b;
  --ink-soft: #48535c;
  --muted: #59636c;
  --paper: #faf9f6;
  --line: #dad7df;
  --green: #22636b;
  --green-dark: #214f60;
  --green-light: #e8f1f1;
  --mint: #dbece9;
  --focus-ring: #5d42ab55;
}
html:is([data-sidekick-demo],[data-sidekick-trial]) .sidebar { background: #faf9f6; }
html:is([data-sidekick-demo],[data-sidekick-trial]) .nav-item.active { background: #eae5f2; color: #4d3372; }
html:is([data-sidekick-demo],[data-sidekick-trial]) .login-art {
  background: linear-gradient(142deg,#143c46,#263b62 62%,#4b326f);
}
[data-sidekick-demo] .page-header { border-block-start: 3px solid transparent; border-image: linear-gradient(90deg,#22636b,#5146ae,#92285e) 1; padding-block-start: 1.1rem; }
.demo-banner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .4rem 1.2rem;
  padding: .65rem clamp(1rem,3vw,2.5rem);
  color: #4d3372;
  background: #eee9f4;
  font-size: .85rem;
}
.demo-banner a { color: #3b2961; text-underline-offset: .2em; }
[data-sidekick-demo] .page-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.demo-review {
  scroll-margin-block-start: 5rem;
  margin-block: 1.3rem;
  padding: clamp(1rem,3vw,1.8rem);
  border: 1px solid #d8cfe1;
  border-radius: 16px;
  background: #fff;
}
.demo-review h2 { margin: .3rem 0; color: #4d3372; font: 600 clamp(1.45rem,3vw,2rem)/1.3 system-ui,sans-serif; }
.demo-review p { margin: .4rem 0 .8rem; }
.demo-review small { color: #59636c; }
.demo-sources { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; margin: 1rem 0; }
.demo-sources div { padding: .8rem; border-block-start: 2px solid #4d629f; border-radius: 6px; background: #f0edf5; }
.demo-sources dt { color: #4d3372; font-weight: 680; font-size: .9rem; }
.demo-sources dd { margin: .3rem 0 0; }
.demo-finding { padding: .85rem; border-inline-start: 3px solid #22636b; background: #eaf3f2; }
.demo-review-status:empty { display: none; }
.demo-review-status { color: #214f60; font-weight: 650; }
.demo-review .button { margin-block-end: .65rem; }
.demo-review > small { display: block; }
.demo-prompts { display:flex; flex-wrap:wrap; gap:.5rem; margin:.75rem 0; }
.demo-prompts .button { text-align:start; line-height:1.35; margin:0; }
.demo-question-input { display:flex; flex-wrap:wrap; gap:.55rem; margin:.35rem 0; }
.demo-question-input input { flex:1 1 15rem; min-width:0; padding:.55rem .8rem; border:1px solid #b9aec8; border-radius:.45rem; font:inherit; }
.demo-question-input .button { margin:0; }
.demo-questions label { font-weight:650; }
.demo-chat-header { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:.5rem 1rem; }
.demo-thread {
  display:flex; flex-direction:column; align-items:stretch; gap:.75rem;
  min-height:4rem; max-height:min(56vh,36rem); overflow:auto; scrollbar-gutter:stable;
  padding:.8rem; background:#f6f3f8; border:1px solid #e2dae9; border-radius:.7rem;
}
.demo-thread .demo-thread-intro { margin:0; color:#59636c; }
.demo-message { max-width:90%; padding:.7rem .95rem; border-radius:.65rem; overflow-wrap:anywhere; }
.demo-message p { margin:.35rem 0; white-space:pre-line; }
.demo-message small { margin-inline-start:.5rem; }
.demo-user { align-self:flex-end; color:#372958; background:#ede3f6; }
.demo-assistant { align-self:flex-start; background:#fff; border-inline-start:3px solid #22636b; }
.demo-assistant > strong { color:#214f60; }
.demo-assistant .demo-prompts { margin-block:.6rem 0; }
.demo-report { margin:.7rem 0; padding:.75rem; border:1px solid #d2dfdf; border-radius:.55rem; background:#f4f9f8; }
.demo-report figcaption { display:flex; flex-wrap:wrap; gap:.25rem .7rem; }
.demo-report figcaption small { margin:0; }
.demo-chart { margin:.6rem 0; padding:0; list-style:none; }
.demo-chart li { display:grid; grid-template-columns:minmax(5rem,.9fr) minmax(2rem,1.3fr) minmax(2ch,max-content); align-items:center; gap:.6rem; margin-block:.3rem; }
.demo-chart meter { width:100%; height:1.1rem; accent-color:#22636b; }
.demo-chart meter::-webkit-meter-optimum-value { background:#22636b; }
.demo-chart meter::-moz-meter-bar { background:#22636b; }
.demo-report summary { cursor:pointer; color:#4d3372; font-weight:650; padding-block:.35rem; }
.demo-table-scroll { overflow:auto; }
.demo-report table { width:100%; border-collapse:collapse; font-size:.88rem; }
.demo-report th, .demo-report td { padding:.38rem .55rem; text-align:start; border-block-end:1px solid #d2dfdf; }
#demo-answer-status:empty { display:none; }
@media (max-width: 650px) {
  .demo-sources { grid-template-columns: 1fr; }
  .demo-thread { padding:.55rem; }
  .demo-message { max-width:100%; padding:.55rem .7rem; }
  .demo-user { max-width:90%; }
}

/* The public demo is a product experience, so give its content room to read. */
[data-sidekick-demo] .main-content {
  width: 100%;
  max-width: 1760px;
  padding: clamp(1.6rem,3.4vw,3.8rem) clamp(1.2rem,3.5vw,4rem) 5rem;
  font-size: 16px;
}
[data-sidekick-demo] .page-header { gap: 2rem; margin-block-end: 2rem; padding-block-start: 1.3rem; }
[data-sidekick-demo] .page-header h1 { max-width: 22ch; font-size: clamp(2rem,3vw,3.1rem); line-height: 1.12; }
[data-sidekick-demo] .page-header p { max-width: 66ch; font-size: 1rem; line-height: 1.65; }
[data-sidekick-demo] .page-kicker { font-size: .78rem; letter-spacing: .08em; }
[data-sidekick-demo] .breadcrumb { font-size: .85rem; }
[data-sidekick-demo] .metric-head { font-size: .8rem; }
[data-sidekick-demo] .metric-value { font-size: 1.8rem; }
[data-sidekick-demo] .metric-caption { font-size: .76rem; }
[data-sidekick-demo] .map-node small { font-size: .7rem; }
[data-sidekick-demo] .org-stat { font-size: .8rem; }
[data-sidekick-demo] .process-row-main strong { font-size: .94rem; }
[data-sidekick-demo] .process-row-main small,
[data-sidekick-demo] .process-row-meta,
[data-sidekick-demo] .process-detail-title p,
[data-sidekick-demo] .detail-summary { font-size: .8rem; line-height: 1.55; }
[data-sidekick-demo] .status-pill { font-size: .73rem; }
[data-sidekick-demo] .step-index,
[data-sidekick-demo] .step-summary-copy small,
[data-sidekick-demo] .step-owner { font-size: .73rem; }
[data-sidekick-demo] .step-summary-copy strong { font-size: .9rem; }
[data-sidekick-demo] .demo-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem 2rem;
  min-height: 82px;
  padding: .85rem clamp(1.2rem,4vw,4rem);
  color: #30313a;
  background: linear-gradient(105deg,#faf9f6 0%,#f1eff6 58%,#f8eff3 100%);
  font-size: 1rem;
}
[data-sidekick-demo] .demo-banner::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg,#343635 0%,#425b61 32%,#088b99 57%,#7852aa 78%,#cb4f88 100%);
  content: "";
}
[data-sidekick-demo] .demo-banner-brand,
[data-sidekick-demo] .demo-banner-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem; }
[data-sidekick-demo] .demo-banner-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
[data-sidekick-demo] .demo-banner-logo img { display: block; width: clamp(9.5rem,13vw,12.5rem); height: auto; }
[data-sidekick-demo] .demo-banner-copy { display: grid; gap: .15rem; color: #60636b; font-size: .82rem; line-height: 1.4; }
[data-sidekick-demo] .demo-banner-kicker { color: #29383b; font-size: .96rem; font-weight: 750; }
[data-sidekick-demo] .demo-banner a { color: #28575c; text-underline-offset: .22em; }
[data-sidekick-demo] .demo-banner-learn { font-weight: 650; }
[data-sidekick-demo] .demo-banner-trial { display: inline-flex; min-height: 44px; align-items: center; padding: .55rem 1rem; border-radius: 999px; color: #fff !important; background: #204f56; text-decoration: none; font-weight: 700; }
[data-sidekick-demo] .demo-banner-trial:hover { background: #183e45; }
[data-sidekick-demo] .demo-review { margin-block: 2rem; padding: clamp(1.25rem,3vw,2.25rem); }
[data-sidekick-demo] .demo-review p,
[data-sidekick-demo] .demo-thread-intro,
[data-sidekick-demo] .demo-message { font-size: 1rem; line-height: 1.65; }
[data-sidekick-demo] .demo-sources dt,
[data-sidekick-demo] .demo-question-input input,
[data-sidekick-demo] .demo-report table { font-size: .95rem; }
[data-sidekick-demo] .demo-message { max-width: min(82%,72ch); padding: .9rem 1.1rem; }
[data-sidekick-demo] .demo-thread { gap: 1rem; padding: 1rem; }
[data-sidekick-demo] .demo-prompts .button,
[data-sidekick-demo] .demo-question-input .button { min-height: 44px; font-size: .92rem; }
@media (max-width: 900px) {
  [data-sidekick-demo] .main-content { padding: 1.5rem 1.2rem 3rem; }
  [data-sidekick-demo] .demo-banner { align-items: flex-start; }
  [data-sidekick-demo] .demo-banner-brand { gap: .45rem 1rem; }
}
@media (max-width: 650px) {
  [data-sidekick-demo] .main-content { padding: 1.25rem 1rem 2.5rem; }
  [data-sidekick-demo] .page-header { margin-block-end: 1.25rem; }
  [data-sidekick-demo] .page-header h1 { font-size: clamp(1.8rem,8vw,2.4rem); }
  [data-sidekick-demo] .demo-banner { min-height: 0; padding: 1.05rem 1rem; }
  [data-sidekick-demo] .demo-banner-brand,
  [data-sidekick-demo] .demo-banner-actions { width: 100%; justify-content: space-between; }
  [data-sidekick-demo] .demo-banner-logo img { width: 9.5rem; }
  [data-sidekick-demo] .demo-banner-copy { flex: 1 1 10rem; }
  [data-sidekick-demo] .demo-banner-actions { gap: .7rem; }
  [data-sidekick-demo] .demo-review { padding: 1rem; }
  [data-sidekick-demo] .demo-message { max-width: 100%; padding: .75rem .85rem; }
  [data-sidekick-demo] .demo-table-scroll table { min-width: 34rem; }
  [data-sidekick-demo] .demo-table-scroll th,
  [data-sidekick-demo] .demo-table-scroll td { white-space: nowrap; }
}
