@font-face {
  font-family: Jakarta;
  src: url("assets/jakarta.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #f7f8fa;
  --white: #fff;
  --ink: #182331;
  --muted: #626b78;
  --line: #e4e7ed;
  --red: #bb2633;
  --red-soft: #fff0f0;
  --violet: #6c4bb3;
  --violet-soft: #f2edfb;
  --green: #267150;
  --green-soft: #edf6f0;
  --amber: #8a6016;
  --amber-soft: #fff6e5;
  --blue: #37648b;
  --blue-soft: #eef4fa;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Jakarta, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #8060ba;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.04em;
  line-height: 1.2;
}
h1 {
  font-size: 40px;
  font-weight: 750;
  margin-bottom: 14px;
}
h2 {
  font-size: 23px;
  font-weight: 720;
}
h3 {
  font-size: 17px;
  font-weight: 720;
}
p {
  margin-bottom: 16px;
}
small {
  font-size: 13px;
}
.muted,
.hint {
  color: var(--muted);
}
.hint {
  font-size: 13px;
  line-height: 1.6;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.mono {
  font-variant-numeric: tabular-nums;
}
.skip {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -70px;
  background: var(--ink);
  color: white;
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 224px;
  border-right: 1px solid var(--line);
  background: #fff;
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: 30px 18px 22px;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  margin: 0 10px 35px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.06em;
}
.brand-mark {
  width: 32px;
  height: 35px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  font-size: 17px;
  border-radius: 9px;
  transform: skewY(-5deg);
}
.brand small {
  display: block;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
  margin-top: -4px;
}
.nav-label {
  font-size: 13px;
  color: #7a8290;
  margin: 0 14px 13px;
}
.nav-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 45px;
  border-radius: 9px;
  padding: 10px 14px;
  color: #5a6472;
  font-weight: 550;
  font-size: 13px;
}
.nav-link svg {
  width: 19px;
  height: 19px;
  flex: none;
}
.nav-link:hover {
  background: #f7f8fa;
}
.nav-link.active {
  color: #202b3c;
  background: #eef0f4;
  font-weight: 750;
}
.nav-link.active svg {
  color: var(--red);
}
.nav-footer {
  margin-top: auto;
  padding-top: 22px;
}
.nav-footline {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding: 19px 10px 0;
  display: flex;
  gap: 10px;
  align-items: center;
}
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 750;
  background: #e6e9ef;
  color: #4c5367;
}
.avatar.rose {
  background: #f6e2df;
  color: #935752;
}
.avatar.sage {
  background: #e3ede7;
  color: #40715a;
}
.avatar.violet {
  background: #eee7f7;
  color: #725299;
}
.avatar.blue {
  background: #e3edf7;
  color: #496d93;
}
.person-name {
  font-weight: 700;
}
.nav-footline .hint {
  font-size: 13px;
}
.workspace {
  margin-left: 224px;
}
.topbar {
  height: 84px;
  padding: 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 250, 0.97);
  position: sticky;
  top: 0;
  z-index: 20;
}
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
}
.top-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}
.search-button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 14px;
  font-size: 13px;
  color: #626b78;
}
.search-glyph {
  font-size: 23px;
  line-height: 1;
}
.search-button kbd {
  border: 1px solid #e4e7ed;
  border-radius: 4px;
  font-size: 13px;
  padding: 0 5px;
  margin-left: 35px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  padding: 11px 17px;
  min-height: 44px;
  font-weight: 650;
  line-height: 1.35;
  font-size: 13px;
  color: var(--ink);
  text-align: center;
  max-width: 100%;
}
.button svg {
  height: 17px;
  width: 17px;
  flex: none;
}
.button:hover {
  border-color: #b7beca;
  background: #fafbfc;
}
.button.primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 3px 7px #bb263312;
}
.button.primary:hover {
  background: #a8202d;
}
.button.quiet {
  background: transparent;
  border-color: transparent;
  padding-inline: 10px;
}
.button.quiet:hover {
  background: #eceff3;
}
.button.aria-button {
  color: var(--violet);
  background: var(--violet-soft);
  border-color: transparent;
}
.button.small {
  padding: 8px 11px;
  min-height: 44px;
}
.spark {
  font-size: 19px;
  color: var(--violet);
}
.text-link {
  font-size: 13px;
  font-weight: 700;
  color: #4b5667;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
}
.text-link:hover {
  color: var(--red);
}
.menu-button {
  display: none;
}
.prototype-bar {
  position: fixed;
  z-index: 45;
  bottom: 0;
  left: 224px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 32px;
  padding: 6px 16px;
  border-top: 1px solid #e3e6ec;
  background: #fff;
  font-size: 13px;
  color: #626b78;
}
.prototype-bar span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.prototype-bar i {
  width: 5px;
  height: 5px;
  background: var(--violet);
  border-radius: 50%;
}
.prototype-bar button {
  color: var(--muted);
  background: none;
  border: 0;
  text-decoration: underline;
  padding: 3px;
  font-size: 13px;
}
main {
  padding: 35px 44px 95px;
  max-width: 1520px;
  margin: auto;
  min-height: calc(100vh - 84px);
}
main:focus {
  outline: none;
}
.page-heading {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}
.page-heading .subheading {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  max-width: 630px;
}
.page-heading .button {
  flex: none;
  margin-top: 5px;
}
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 28px;
  padding-bottom: 10px;
}
.subnav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 8px 13px;
  font-size: 13px;
  color: var(--muted);
  border-radius: 7px;
}
.subnav a.active {
  color: var(--ink);
  background: #e9edf2;
  font-weight: 750;
}
.subnav a:hover {
  background: #eceff3;
}
.profile-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 27px;
}
.profile-strip .avatar {
  width: 37px;
  height: 37px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}
.profile-strip p {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
}
.profile-strip span {
  font-size: 13px;
  color: var(--muted);
}
.profile-strip .profile-link {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
  padding: 10px;
}
.home-heading {
  margin-bottom: 24px;
}
.home-heading h1 {
  font-size: 42px;
}
.home-heading p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}
.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, 1fr);
  gap: 28px;
}
.next-action {
  position: relative;
  border: 1px solid #e2dde9;
  border-radius: 18px;
  background: linear-gradient(125deg, #fff 45%, #f4f0fa);
  padding: 30px;
  overflow: hidden;
}
.next-action:after {
  content: "";
  position: absolute;
  right: -80px;
  top: -95px;
  width: 230px;
  height: 230px;
  border: 1px solid #e7e0f0;
  border-radius: 50%;
  pointer-events: none;
}
.next-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  color: var(--violet);
  margin-bottom: 20px;
}
.next-action h2 {
  font-size: 28px;
  max-width: 440px;
  margin: 0 0 16px;
  line-height: 1.28;
}
.next-action .lede {
  max-width: 420px;
  color: #647083;
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 24px;
}
.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 21px;
}
.contact-line .avatar {
  width: 32px;
  height: 32px;
  font-size: 13px;
}
.contact-line .name {
  font-size: 13px;
  font-weight: 700;
}
.contact-line .hint {
  font-size: 13px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}
.action-foot {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 0;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: 19px;
  margin: 0;
}
.section-head .hint {
  font-size: 13px;
}
.section {
  margin-top: 29px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  min-width: 0;
}
.panel.flush {
  padding: 0;
  overflow: hidden;
}
.panel.soft {
  background: #f0f3f6;
}
.panel.aria-panel {
  background: var(--violet-soft);
  border-color: #e5dcf4;
}
.panel.aria-support {
  background: #fdfcff;
  align-self: start;
}
.aria-support .next-label {
  margin-bottom: 12px;
}
.aria-support .focus-origin {
  margin-bottom: 16px;
}
.aria-support p {
  font-size: 16px;
}
.panel h2 {
  font-size: 20px;
  margin-bottom: 13px;
}
.panel p:last-child {
  margin-bottom: 0;
}
.work-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.work-row:last-child {
  border-bottom: 0;
}
.work-row:first-child {
  padding-top: 0;
}
.work-row .grow {
  flex: 1;
  min-width: 0;
}
.work-row strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}
.work-row p {
  font-size: 13px;
  color: var(--muted);
  margin: 5px 0 0;
  line-height: 1.55;
}
.work-row .button {
  flex: none;
}
.work-icon {
  height: 34px;
  width: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f0f3f7;
  color: #60738b;
  flex: none;
}
.work-icon svg {
  width: 17px;
  height: 17px;
}
.work-icon.violet {
  background: var(--violet-soft);
  color: var(--violet);
}
.work-icon.green {
  background: var(--green-soft);
  color: var(--green);
}
.work-icon.amber {
  background: var(--amber-soft);
  color: var(--amber);
}
.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
  white-space: normal;
}
.tag.violet {
  background: var(--violet-soft);
  color: #6b4e9a;
}
.tag.green {
  background: var(--green-soft);
  color: var(--green);
}
.tag.amber {
  background: var(--amber-soft);
  color: var(--amber);
}
.tag.blue {
  background: var(--blue-soft);
  color: var(--blue);
}
.tag.red {
  background: var(--red-soft);
  color: var(--red);
}
.tag.gray {
  background: #eef1f4;
  color: #5f6775;
}
.agenda {
  padding: 22px 0 0 22px;
  border-left: 1px solid var(--line);
}
.agenda .section-head {
  margin-bottom: 22px;
}
.agenda-item {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
}
.time {
  font-size: 13px;
  color: var(--muted);
  width: 42px;
  flex: none;
  padding-top: 2px;
}
.agenda-item .event {
  border-left: 2px solid #d3dbe5;
  padding-left: 17px;
}
.agenda-item h3 {
  font-size: 13px;
  margin: 0 0 5px;
  letter-spacing: -0.02em;
}
.agenda-item p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.quiet-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 22px;
}
.mini-rule {
  height: 1px;
  background: var(--line);
  margin: 23px 0;
}
.home-work {
  padding-top: 25px;
}
.home-work .work-row {
  padding-block: 15px;
}
.work-summary {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
  margin: 18px 0 8px;
}
.work-summary b {
  color: var(--ink);
  font-weight: 700;
}
.onboarding-note {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  padding: 15px 19px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  margin-top: 27px;
  font-size: 13px;
}
.onboarding-note .grow {
  flex: 1;
}
.onboarding-note strong {
  display: block;
  font-size: 13px;
}
.onboarding-note p {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 0;
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
  gap: 24px;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.space-top {
  margin-top: 24px;
}
.stat-line {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  padding: 21px 0 29px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.stat-line .number {
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -0.05em;
}
.stat-line .hint {
  font-size: 13px;
}
.list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.list-toolbar input {
  flex: 1;
  min-width: 180px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.field label {
  font-size: 13px;
  font-weight: 700;
}
.field .hint {
  margin-top: -3px;
  font-size: 13px;
}
input,
textarea,
select {
  min-height: 44px;
  border: 1px solid #d9dee6;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  max-width: 100%;
  min-width: 0;
}
input[type="checkbox"] {
  min-height: 20px;
  width: 20px;
  accent-color: var(--violet);
}
textarea {
  width: 100%;
  min-height: 125px;
  resize: vertical;
  line-height: 1.7;
}
input::placeholder,
textarea::placeholder {
  color: #8b939f;
}
select {
  cursor: pointer;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.check-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 44px;
  padding: 7px 0;
  font-size: 13px;
}
.check-label input {
  flex: none;
  margin-top: 0;
}
.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.table th {
  font-size: 13px;
  color: var(--muted);
  font-weight: 650;
  background: #fafbfd;
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
}
.table td {
  font-size: 13px;
  padding: 17px;
  border-bottom: 1px solid var(--line);
}
.table tr:last-child td {
  border-bottom: 0;
}
.table .person-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.person-cell .avatar {
  width: 35px;
  height: 35px;
  font-size: 13px;
}
.person-cell strong {
  font-size: 13px;
}
.person-cell small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}
.table-link:hover strong {
  text-decoration: underline;
}
.score {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.score small {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0;
}
.score.hot {
  color: var(--red);
}
.score.warm {
  color: var(--amber);
}
.score.cool {
  color: var(--blue);
}
.empty {
  padding: 30px;
  text-align: center;
  border: 1px dashed #d5dbe4;
  border-radius: 12px;
  color: var(--muted);
}
.empty strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}
.empty p {
  font-size: 13px;
}
.detail-heading {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 0 0 23px;
}
.detail-heading .avatar {
  width: 60px;
  height: 60px;
  font-size: 18px;
}
.detail-heading h1 {
  font-size: 32px;
  margin-bottom: 7px;
}
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
}
.detail-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}
.detail-value {
  font-size: 13px;
  font-weight: 600;
}
.message {
  padding: 15px 19px;
  border-radius: 12px;
  background: #f0f2f6;
  max-width: 85%;
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.7;
}
.message.outgoing {
  margin-left: auto;
  background: #eee8f8;
}
.message time {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}
.conversation-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 460px;
}
.conversation-list {
  border-right: 1px solid var(--line);
  padding: 15px;
}
.conversation-item {
  display: block;
  padding: 16px 12px;
  border-radius: 9px;
  margin-bottom: 5px;
}
.conversation-item.active {
  background: var(--violet-soft);
}
.conversation-item strong {
  display: block;
  font-size: 13px;
}
.conversation-item p {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 0;
}
.conversation-body {
  padding: 25px;
}
.conversation-body .thread {
  max-height: 340px;
  overflow: auto;
  margin-bottom: 24px;
}
.call-script {
  border-left: 2px solid var(--violet);
  padding: 8px 0 8px 20px;
  font-size: 19px;
  line-height: 1.6;
  letter-spacing: -0.025em;
  margin: 24px 0;
  color: #44405b;
}
.note {
  border-radius: 9px;
  background: var(--blue-soft);
  color: #405f7b;
  font-size: 13px;
  padding: 14px 16px;
}
.note.warning {
  background: var(--amber-soft);
  color: var(--amber);
}
.note.success {
  background: var(--green-soft);
  color: var(--green);
}
.note.danger {
  background: var(--red-soft);
  color: #8d2430;
}
.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.lane {
  border-radius: 12px;
  background: #edf0f4;
  padding: 15px;
  min-width: 0;
}
.lane-head {
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  margin: 0 0 15px;
  font-weight: 700;
}
.lead-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding: 17px;
  margin: 0 0 12px;
}
.lead-card:hover {
  border-color: #bbc4d3;
}
.lead-card h3 {
  font-size: 13px;
  margin: 0 0 7px;
}
.lead-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 15px;
}
.calendar-day {
  display: grid;
  grid-template-columns: 78px 1fr;
  border-bottom: 1px solid var(--line);
  min-height: 85px;
}
.calendar-day > time {
  padding: 19px;
  color: var(--muted);
  font-size: 13px;
}
.calendar-slot {
  margin: 10px 15px 10px 0;
  border-left: 3px solid #bca5dc;
  background: #f4f0fa;
  padding: 13px 17px;
  border-radius: 5px;
}
.calendar-slot strong {
  font-size: 13px;
}
.calendar-slot p {
  font-size: 13px;
  margin: 4px 0 0;
  color: var(--muted);
}
.step {
  display: flex;
  gap: 13px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child {
  border-bottom: 0;
}
.step strong {
  display: block;
  font-size: 13px;
}
.step p {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 0;
}
.step-number {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--violet-soft);
  color: var(--violet);
  font-size: 13px;
  font-weight: 700;
  flex: none;
}
.progress {
  height: 5px;
  border-radius: 8px;
  background: #e8edf2;
  overflow: hidden;
  margin: 14px 0;
}
.progress > i {
  display: block;
  height: 100%;
  background: #8062b5;
  border-radius: 8px;
}
.progress.p0 > i {
  width: 0;
}
.progress.p25 > i {
  width: 25%;
}
.progress.p50 > i {
  width: 50%;
}
.progress.p75 > i {
  width: 75%;
}
.progress.p100 > i {
  width: 100%;
}
.property-art {
  border-radius: 12px;
  overflow: hidden;
  min-height: 200px;
  background: #e6e9e8;
  display: grid;
  place-items: center;
}
.property-art svg {
  width: 100%;
  max-height: 270px;
  display: block;
}
.post-preview {
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
}
.post-preview .caption {
  padding: 20px;
  font-size: 13px;
  line-height: 1.8;
}
.post-preview .post-top {
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}
.lesson {
  padding: 35px;
  max-width: 760px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
}
.lesson p,
.lesson li {
  font-size: 15px;
  line-height: 1.85;
}
.lesson h2 {
  font-size: 27px;
}
.lesson blockquote {
  font-size: 20px;
  line-height: 1.7;
  margin: 25px 0;
  padding-left: 22px;
  border-left: 2px solid var(--violet);
  color: #60516f;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  height: 150px;
  padding-top: 15px;
}
.bar-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  gap: 9px;
}
.bar-wrap i {
  display: block;
  width: 100%;
  max-width: 75px;
  background: #d8cbee;
  border-radius: 5px 5px 0 0;
}
.bar-wrap:nth-child(2) i {
  height: 65%;
}
.bar-wrap:nth-child(3) i {
  height: 45%;
}
.bar-wrap:nth-child(4) i {
  height: 85%;
}
.bar-wrap:first-child i {
  height: 35%;
}
.bar-wrap span {
  font-size: 13px;
  color: var(--muted);
}
.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.setting-row:last-child {
  border: 0;
}
.setting-row strong {
  font-size: 13px;
}
.setting-row p {
  font-size: 13px;
  color: var(--muted);
  margin: 5px 0 0;
}
.switch {
  border: 1px solid #cdd4df;
  background: #e6eaf0;
  border-radius: 20px;
  min-width: 63px;
  min-height: 44px;
  padding: 8px;
  color: #58687b;
  font-size: 13px;
  font-weight: 750;
}
.switch.on {
  background: var(--green-soft);
  color: var(--green);
  border-color: #bcdecc;
}
details {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}
summary {
  cursor: pointer;
  min-height: 40px;
  font-size: 13px;
  font-weight: 650;
  list-style-position: inside;
}
details .hint {
  margin-top: 12px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 0;
  width: 570px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  color: var(--ink);
  box-shadow: 0 25px 90px #18233125;
}
dialog::backdrop {
  background: #13213355;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: white;
  z-index: 2;
}
.dialog-head h2 {
  font-size: 21px;
  margin: 0;
}
.dialog-head button {
  border: 0;
  background: transparent;
  min-width: 44px;
  min-height: 44px;
  font-size: 25px;
  color: var(--muted);
}
.dialog-body {
  padding: 25px;
}
.dialog-body h3 {
  margin-top: 25px;
}
.dialog-body .actions {
  margin-top: 22px;
}
.dialog-body .sample-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}
.search-results a {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 13px;
}
.search-results a small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.toast {
  position: fixed;
  bottom: 51px;
  left: calc(50% + 112px);
  transform: translateX(-50%);
  z-index: 70;
  max-width: calc(100vw - 35px);
  background: #243044;
  color: white;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: 13px;
  box-shadow: 0 10px 30px #18233125;
  display: flex;
  gap: 20px;
  align-items: center;
}
.toast button {
  color: #fff;
  background: transparent;
  border: 0;
  font-weight: 750;
  min-height: 32px;
  text-decoration: underline;
}
.shade {
  position: fixed;
  inset: 0;
  background: #18233166;
  z-index: 35;
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 23px 0;
}
.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.help-grid a {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.help-grid strong {
  display: block;
  margin-bottom: 8px;
}
.help-grid p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.timeline-entry {
  border-left: 1px solid #d8dfeb;
  padding: 0 0 22px 19px;
  margin-left: 4px;
  font-size: 13px;
}
.timeline-entry strong {
  display: block;
}
.timeline-entry time {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 4px;
}
.timeline-entry p {
  font-size: 13px;
  color: var(--muted);
  margin: 5px 0 0;
}
.row-end {
  margin-left: auto;
}
.callout-link {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}
.callout-link .grow {
  flex: 1;
}
.callout-link h3 {
  font-size: 14px;
  margin: 0 0 5px;
}
.callout-link p {
  font-size: 13px;
  margin: 0;
  color: var(--muted);
}
.callout-link svg {
  width: 19px;
  height: 19px;
}
.check-success {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 25px;
  margin-bottom: 20px;
}
.score-breakdown {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.nowrap {
  white-space: nowrap;
}
.error-text {
  color: var(--red);
  font-size: 13px;
}
.hidden {
  display: none !important;
}
@media (min-width: 1500px) {
  main {
    padding: 40px 64px 95px;
  }
  .topbar {
    padding-inline: 64px;
  }
  .next-action {
    padding: 37px;
  }
  .next-action h2 {
    font-size: 32px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 198px;
    padding-inline: 12px;
  }
  .workspace {
    margin-left: 198px;
  }
  .prototype-bar {
    left: 198px;
  }
  .topbar {
    padding-inline: 28px;
  }
  main {
    padding-inline: 28px;
  }
  .home-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr);
    gap: 21px;
  }
  .next-action {
    padding: 24px;
  }
  .next-action h2 {
    font-size: 26px;
  }
  .three-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .board {
    grid-template-columns: 1fr 1fr;
  }
  .table .optional {
    display: none;
  }
  .toast {
    left: calc(50% + 99px);
  }
}
@media (max-width: 850px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.18s ease;
    width: 250px;
    padding-top: 25px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .workspace {
    margin-left: 0;
  }
  .prototype-bar {
    left: 0;
  }
  .menu-button {
    display: inline-flex;
  }
  .topbar {
    height: 68px;
    padding: 0 20px;
  }
  .breadcrumb {
    display: none;
  }
  .top-actions {
    gap: 7px;
  }
  .search-button kbd {
    display: none;
  }
  .search-button {
    padding: 0 10px;
    min-height: 44px;
  }
  .home-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(210px, 1fr);
  }
  .toast {
    left: 50%;
  }
  main {
    padding-top: 26px;
  }
  .conversation-layout {
    grid-template-columns: 215px minmax(0, 1fr);
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .nav-footer {
    margin-top: 20px;
  }
  .sidebar {
    overflow-y: auto;
  }
  .table th,
  .table td {
    padding: 14px;
  }
}
@media (max-width: 640px) {
  main {
    padding: 22px 20px 90px;
  }
  .topbar {
    padding-inline: 12px;
    gap: 5px;
  }
  .top-actions {
    gap: 2px;
  }
  .topbar .button {
    font-size: 13px;
    padding-inline: 11px;
  }
  .search-button {
    border: 0;
    background: transparent;
    font-size: 0;
    gap: 0;
    min-width: 42px;
    justify-content: center;
  }
  .search-button .search-glyph {
    font-size: 27px;
  }
  .topbar .aria-button {
    font-size: 13px;
    gap: 6px;
  }
  .page-heading {
    display: block;
    margin-bottom: 20px;
  }
  .page-heading h1 {
    font-size: 31px;
  }
  .page-heading .button {
    margin-top: 17px;
  }
  .page-heading .subheading {
    font-size: 13px;
  }
  .subnav {
    gap: 3px;
    margin-bottom: 22px;
    padding-bottom: 10px;
  }
  .subnav a {
    font-size: 13px;
    padding: 8px 10px;
    min-height: 44px;
  }
  .profile-strip {
    margin-bottom: 20px;
  }
  .profile-strip .profile-link {
    font-size: 13px;
  }
  .home-heading {
    margin-bottom: 21px;
  }
  .home-heading h1 {
    font-size: 30px;
    letter-spacing: -0.05em;
    margin-bottom: 9px;
  }
  .home-heading p {
    font-size: 13px;
  }
  .home-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .next-action {
    padding: 23px 22px;
    border-radius: 14px;
  }
  .next-label {
    margin-bottom: 16px;
    font-size: 13px;
  }
  .next-action h2 {
    font-size: 25px;
    margin-bottom: 13px;
  }
  .next-action .lede {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 19px;
  }
  .contact-line {
    margin-bottom: 17px;
  }
  .next-action .actions .button.primary {
    flex: 1;
  }
  .next-action .actions .button {
    font-size: 13px;
  }
  .action-foot {
    font-size: 13px;
  }
  .home-work {
    padding-top: 23px;
  }
  .section-head h2 {
    font-size: 18px;
  }
  .section-head .text-link {
    font-size: 13px;
  }
  .home-work .work-row {
    gap: 10px;
    align-items: flex-start;
  }
  .work-row strong {
    font-size: 13px;
  }
  .work-row p {
    font-size: 13px;
  }
  .work-row .button {
    font-size: 13px;
    padding: 9px 10px;
  }
  .work-row .work-icon {
    width: 29px;
    height: 29px;
  }
  .agenda {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px 0 0;
  }
  .agenda-item {
    margin-bottom: 20px;
  }
  .onboarding-note {
    padding: 14px;
    font-size: 13px;
  }
  .onboarding-note .button {
    font-size: 13px;
    flex: none;
    padding: 8px;
  }
  .prototype-bar {
    justify-content: space-between;
    gap: 5px;
    padding: 7px 10px;
    font-size: 13px;
    min-height: 33px;
  }
  .prototype-bar button {
    font-size: 13px;
    min-height: 28px;
  }
  .prototype-bar span {
    gap: 4px;
  }
  .three-col,
  .help-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .table th,
  .table td {
    padding: 13px 11px;
  }
  .table .desktop {
    display: none;
  }
  .table .person-cell {
    gap: 8px;
  }
  .person-cell .avatar {
    width: 29px;
    height: 29px;
    font-size: 13px;
  }
  .person-cell strong {
    font-size: 13px;
  }
  .table td {
    font-size: 13px;
  }
  .table th {
    font-size: 13px;
  }
  .score {
    font-size: 16px;
  }
  .score small {
    font-size: 13px;
  }
  .list-toolbar {
    gap: 8px;
  }
  .list-toolbar input {
    width: 100%;
    flex-basis: 100%;
  }
  .list-toolbar select {
    flex: 1;
  }
  .detail-heading h1 {
    font-size: 26px;
  }
  .detail-heading .avatar {
    width: 47px;
    height: 47px;
    font-size: 15px;
  }
  .details-grid {
    gap: 16px;
  }
  .detail-value {
    font-size: 13px;
  }
  .conversation-layout {
    display: block;
  }
  .conversation-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 10px;
  }
  .conversation-item {
    padding: 11px;
    margin: 0;
  }
  .conversation-item p {
    font-size: 13px;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .conversation-body {
    padding: 19px;
  }
  .message {
    font-size: 13px;
    max-width: 94%;
    padding: 13px;
  }
  .board {
    grid-template-columns: 1fr;
  }
  .lane {
    padding: 15px;
  }
  .calendar-day {
    grid-template-columns: 61px 1fr;
  }
  .calendar-day > time {
    padding: 17px 10px;
  }
  .calendar-slot {
    padding: 12px;
    margin-right: 10px;
  }
  .calendar-slot strong {
    font-size: 13px;
  }
  .lesson {
    padding: 23px;
  }
  .lesson h2 {
    font-size: 24px;
  }
  .lesson p,
  .lesson li {
    font-size: 13px;
  }
  .lesson blockquote {
    font-size: 17px;
  }
  .stat-line {
    gap: 23px;
  }
  .stat-line .number {
    font-size: 27px;
  }
  .stat-line .hint {
    font-size: 13px;
  }
  .dialog-head {
    padding: 14px 19px;
  }
  .dialog-head h2 {
    font-size: 19px;
  }
  .dialog-body {
    padding: 20px;
  }
  .actions {
    gap: 8px;
  }
  .actions .button {
    font-size: 13px;
  }
  .call-script {
    font-size: 17px;
  }
  .setting-row {
    gap: 13px;
  }
  .setting-row p {
    font-size: 13px;
  }
  .setting-row .button {
    font-size: 13px;
    padding: 9px 11px;
  }
  .toast {
    font-size: 13px;
    bottom: 48px;
    width: max-content;
  }
  .work-row.wrap {
    flex-wrap: wrap;
  }
  .work-row.wrap .row-end {
    margin-left: 48px;
  }
  .profile-strip .hint {
    font-size: 13px;
  }
  dialog {
    max-height: calc(100dvh - 24px);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
[hidden] {
  display: none !important;
}
.lead-mobile-list {
  display: none;
}
.search-result {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 14px;
}
.search-result:hover {
  color: var(--violet);
}
.search-result small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.lead-mobile-item {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.lead-mobile-item .section-head {
  margin-bottom: 8px;
}
.lead-mobile-item .contact-line {
  margin: 0;
}
.lead-mobile-item p {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 5px;
}
.lead-mobile-item strong {
  font-size: 15px;
}
.lead-mobile-item .score {
  font-size: 18px;
}
@media (max-width: 640px) {
  .lead-mobile-list {
    display: block;
  }
  .lead-desktop-table {
    display: none;
  }
  .topbar .search-button span:not(.search-glyph),
  .topbar .search-button kbd {
    display: none;
  }
  .topbar .search-button {
    width: 44px;
    min-width: 44px;
    padding: 0;
  }
  .work-stage li {
    font-size: 13px;
  }
  .work-stage li:not(:last-child):after {
    margin: 0 5px;
  }
  .home-heading h1 {
    font-size: 28px;
  }
}
.work-stage {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  gap: 0;
  align-items: center;
}
.work-stage li {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  position: relative;
  min-width: 0;
}
.work-stage li:not(:last-child):after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
  margin: 0 9px;
}
.work-stage li span {
  width: 23px;
  height: 23px;
  border: 1px solid #ccd2df;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex: none;
}
.work-stage li.complete span {
  background: #f0edf6;
  border-color: #d5c9e7;
  color: var(--violet);
}
.work-stage li.current {
  color: var(--violet);
  font-weight: 700;
}
.work-stage li.current span {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px #6c4bb30b;
}
.next-action {
  background: #fdfcff;
}
.next-action:after {
  display: none;
}
.next-action .contact-line {
  border-left: 2px solid #b19ad0;
  padding-left: 12px;
}
.prepared-context {
  border-left: 2px solid var(--violet);
}
.home-heading h1 {
  font-size: 34px;
}
.spark svg {
  width: 19px;
  height: 19px;
  vertical-align: middle;
}
.prepared-context {
  border-left: 2px solid var(--violet);
  padding: 10px 0 10px 14px;
  margin: 0 0 20px;
}
.prepared-context strong {
  display: block;
  font-size: 14px;
}
.prepared-context p {
  font-size: 14px;
  margin: 5px 0 0;
  color: var(--muted);
}
.search-button {
  min-width: 44px;
}
.profile-strip .profile-link {
  white-space: nowrap;
}
.calendar-date {
  font-size: 16px;
  margin: 24px 0 10px;
}
.calendar-date:first-child {
  margin-top: 0;
}
.grow {
  flex: 1;
  min-width: 0;
}
.sidebar {
  overflow-y: auto;
  padding-bottom: 68px;
}
.brand {
  margin-bottom: 22px;
}
.brand small {
  font-size: 9px;
}
.nav-label {
  display: none;
}
.nav-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
}
.nav-main:has(.nav-link:only-child) {
  grid-template-columns: 1fr;
}
.nav-main .nav-link {
  padding: 10px 8px;
  gap: 9px;
  font-size: 14px;
}
.nav-expand {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
}
.nav-expand:hover {
  background: #eef0f4;
}
.nav-expand[aria-expanded="true"] {
  transform: rotate(180deg);
}
.nav-children {
  display: flex;
  flex-direction: column;
  margin: 2px 0 8px 20px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.nav-children a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px;
  font-size: 14px;
  border-radius: 7px;
  color: var(--muted);
}
.nav-children a:hover,
.nav-children a[aria-current="page"] {
  background: #f1f3f6;
  color: var(--ink);
}
.nav-footer {
  padding-top: 14px;
}
.nav-footline {
  margin-top: 12px;
}
.nav-footline .hint {
  font-size: 13px;
}
.text-link svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.button,
.subnav a,
.nav-link,
.search-button,
.field label,
.check-label,
.switch,
summary {
  font-size: 14px;
  min-height: 44px;
}
.profile-strip .profile-link {
  font-size: 13px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.work-row strong,
.person-cell strong {
  font-size: 15px;
}
.work-row p,
.empty p,
.note,
.setting-row p,
.conversation-item p {
  font-size: 14px;
}
.table td,
.detail-value,
.message,
.post-preview .caption,
.lesson p,
.lesson li {
  font-size: 14px;
}
.next-action .lede,
.page-heading .subheading,
.home-heading p {
  font-size: 15px;
}
.next-label,
.action-foot,
.contact-line .name,
.contact-line .hint,
.tag {
  font-size: 13px;
}
.prototype-bar {
  min-height: 52px;
  font-size: 13px;
  padding: 4px 16px;
  gap: 16px;
}
.prototype-bar button {
  font-size: 13px;
  min-height: 44px;
  flex: none;
  padding: 8px;
}
.prototype-bar span {
  line-height: 1.4;
}
.toast {
  bottom: 70px;
  font-size: 14px;
}
.toast button {
  min-height: 44px;
}
.section-head .text-link {
  font-size: 14px;
}
.conversation-item {
  min-width: 0;
}
.conversation-item strong {
  font-size: 14px;
}
.conversation-item p {
  overflow-wrap: anywhere;
}
.onboarding-note p {
  font-size: 14px;
}
.onboarding-note strong {
  font-size: 15px;
}
.timeline-entry p {
  font-size: 14px;
}
.search-results a {
  font-size: 14px;
}
.help-grid p {
  font-size: 14px;
}
@media (max-width: 640px) {
  .topbar .button,
  .topbar .aria-button,
  .next-action .actions .button,
  .work-row .button,
  .onboarding-note .button,
  .actions .button,
  .setting-row .button {
    font-size: 14px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .home-heading h1 {
    font-size: 29px;
  }
  .next-action {
    padding: 20px;
  }
  .next-action h2 {
    font-size: 25px;
  }
  .next-action .lede {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
  }
  .next-label {
    margin-bottom: 12px;
  }
  .profile-strip {
    gap: 9px;
  }
  .profile-strip .profile-link {
    padding: 8px 0 8px 6px;
  }
  .profile-strip span {
    font-size: 13px;
  }
  .work-row {
    flex-wrap: wrap;
  }
  .work-row .grow {
    flex-basis: calc(100% - 48px);
  }
  .work-row > .button {
    margin-left: 39px;
  }
  .work-row strong {
    font-size: 15px;
  }
  .work-row p {
    font-size: 14px;
  }
  .subnav a {
    font-size: 14px;
  }
  .conversation-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .conversation-item p {
    white-space: normal;
    font-size: 13px;
  }
  .conversation-body {
    padding: 17px;
  }
  .table td {
    font-size: 14px;
  }
  .person-cell strong {
    font-size: 14px;
  }
  .prototype-bar {
    padding: 4px 10px;
    gap: 8px;
  }
  .prototype-bar span {
    display: block;
  }
  .prototype-bar i {
    display: none;
  }
  .toast {
    bottom: 80px;
  }
  .home-heading {
    margin-bottom: 18px;
  }
  .profile-strip {
    margin-bottom: 16px;
  }
  .onboarding-note {
    flex-wrap: wrap;
  }
  .onboarding-note .button {
    margin-left: 48px;
  }
}
/* Reviewed R2 composition: one work surface, clear context, one human action. */
.close-menu,
.search-short {
  display: none;
}
.home-heading h1 {
  font-size: 28px;
  line-height: 1.2;
}
.home-heading {
  margin-bottom: 20px;
}
.profile-strip {
  min-height: 52px;
  margin-bottom: 16px;
}
.next-action {
  padding: 24px;
  border-radius: 14px;
  background: #fdfcff;
}
.next-action h2 {
  font-size: 27px;
  line-height: 1.22;
  margin-bottom: 12px;
}
.next-action .lede {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.next-action .contact-line {
  border: 0;
  padding: 0;
  margin-bottom: 20px;
}
.next-action .contact-line strong {
  font-size: 16px;
}
.focus-origin {
  border-left: 2px solid #a890c9;
  padding-left: 16px;
}
.next-label {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.work-stage {
  margin: 20px 0;
}
.work-stage li {
  font-size: 13px;
}
.work-stage li span {
  width: 18px;
  height: 18px;
}
.button.primary {
  min-height: 48px;
}
.action-foot {
  font-size: 14px;
  line-height: 1.5;
}
.recorded-event {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.recorded-event strong {
  font-size: 15px;
}
.recorded-event p {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 0;
}
.agenda-button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 0;
}
.agenda .text-link {
  display: flex;
}
.review-surface {
  max-width: 760px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  padding: 24px;
}
.review-surface textarea {
  font-size: 16px;
  line-height: 1.65;
  min-height: 230px;
}
.review-message {
  white-space: pre-wrap;
  font-size: 16px;
  line-height: 1.65;
  margin: 22px 0;
}
.review-evidence {
  margin-top: 24px;
}
.review-evidence p,
.recorded-time {
  font-size: 14px;
}
.review-evidence summary {
  font-size: 14px;
}
.review-surface .next-label {
  border-left: 2px solid var(--violet);
  padding-left: 12px;
}
.sample-note,
.dialog-body .sample-note {
  font-size: 14px;
  line-height: 1.5;
}
.dialog-body .message {
  max-width: 100%;
  font-size: 16px;
  white-space: pre-wrap;
}
body.menu-open {
  overflow: hidden;
}
@media (max-width: 850px) {
  .close-menu {
    display: flex;
    align-self: flex-end;
    margin-bottom: 16px;
  }
  .sidebar {
    padding-top: 16px;
  }
  .brand {
    margin-bottom: 18px;
  }
}
@media (max-width: 640px) {
  main {
    padding-inline: 16px;
  }
  .home-heading h1 {
    font-size: 24px;
  }
  .home-heading {
    margin-bottom: 18px;
  }
  .profile-strip {
    min-height: 64px;
    gap: 10px;
    margin-bottom: 12px;
  }
  .profile-strip .avatar {
    width: 36px;
    height: 36px;
  }
  .profile-strip p {
    font-size: 14px;
  }
  .next-action {
    padding: 18px;
  }
  .next-action h2 {
    font-size: 23px;
    line-height: 1.25;
  }
  .next-action .lede {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 14px;
  }
  .next-action .contact-line {
    margin-bottom: 16px;
  }
  .next-action .actions .primary {
    flex: 1 1 100%;
    font-size: 14px;
  }
  .next-action .actions .quiet {
    min-height: 44px;
    padding-block: 6px;
  }
  .focus-origin {
    padding-left: 12px;
  }
  .next-label {
    margin-bottom: 14px;
  }
  .work-stage {
    margin: 14px 0;
  }
  .work-stage li:not(.current) {
    display: none;
  }
  .work-stage li.current:after {
    display: none;
  }
  .work-stage li.current {
    font-size: 14px;
  }
  .action-foot {
    font-size: 14px;
    margin-top: 8px;
  }
  .review-surface {
    padding: 18px;
  }
  .topbar .search-button {
    width: auto;
    gap: 4px;
    padding: 0 5px;
  }
  .topbar .search-button .search-short {
    display: inline;
    font-size: 14px;
  }
  .topbar .search-button .search-long {
    display: none;
  }
  .topbar .search-button .search-glyph {
    font-size: 22px;
  }
  .topbar .button {
    padding-inline: 9px;
  }
  .topbar .aria-button {
    gap: 5px;
  }
  .dialog-body {
    padding: 18px;
  }
  dialog {
    max-width: 100vw;
    width: 100%;
    max-height: 100dvh;
    border-radius: 14px 14px 0 0;
    margin: auto 0 0;
  }
  .dialog-head {
    padding: 14px 18px;
  }
  .dialog-body .sample-note {
    font-size: 14px;
  }
}
h1 {
  font-size: 32px;
}
.review-surface {
  margin-top: 12px;
  padding-top: 20px;
}
.review-surface textarea {
  min-height: 180px;
}
.review-surface .next-label {
  margin-bottom: 16px;
}
.page-heading {
  margin-bottom: 18px;
}
.document-excerpt {
  white-space: pre-wrap;
  margin: 20px 0;
  padding: 16px;
  border-left: 2px solid var(--violet);
  background: #f8f7fb;
  font-size: 16px;
  line-height: 1.6;
}
.subnav .button.active {
  background: #e9edf2;
  font-weight: 750;
}
@media (max-width: 640px) {
  .next-action .actions .button.primary {
    flex: 1 1 100%;
  }
  .review-surface {
    margin-top: 12px;
  }
  .review-surface textarea {
    min-height: 180px;
  }
  .topbar .search-button {
    min-width: 80px;
  }
  .topbar .search-button .search-short {
    display: inline !important;
  }
}
textarea {
  font-size: 16px;
  line-height: 1.6;
}
.prepared-context p,
.review-surface > p,
.focus-origin > p:not(.hint) {
  font-size: 16px;
  line-height: 1.6;
}
#practice-feedback {
  scroll-margin-top: 105px;
  scroll-margin-bottom: 90px;
}
.calendar-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 20px;
}
.calendar-controls .field {
  margin: 0;
  min-width: 165px;
}
@media (max-width: 640px) {
  .calendar-controls .field {
    flex: 1;
    min-width: 130px;
  }
  .calendar-controls .actions {
    flex-basis: 100%;
  }
}

/* R3: action-first layouts on the reviewed secondary workspaces. */
.text-link,
.hint,
.quiet-note,
.contact-options,
.profile-strip .profile-link,
.prototype-bar button,
.next-label {
  font-size: 14px;
}
.text-link {
  min-height: 44px;
  padding-block: 8px;
}
.text-link + .text-link {
  margin-left: 16px;
}
.agenda .text-link + .text-link,
.action-links .text-link + .text-link {
  margin-left: 0;
}
.action-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
  margin-top: 12px;
}
.time {
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 80px;
}
.agenda-item {
  grid-template-columns: 80px minmax(0, 1fr);
}
.saved-result {
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  background: #fff;
}
.saved-result h2 {
  margin-bottom: 10px;
  font-size: 20px;
}
.contact-options {
  margin: 14px 0;
}
main[data-page="deals"][data-section="listing"] .property-art,
.property-support .property-art {
  max-width: 280px;
  margin-inline: auto;
}
main[data-page="deals"][data-section="listing"] .two-col {
  align-items: start;
}
.listing-checklist {
  margin-bottom: 20px;
}
.deal-overview {
  align-items: start;
}
.social-editor {
  grid-template-columns: minmax(0, 1.8fr) minmax(240px, 1fr);
  align-items: start;
}
.social-editor .property-art {
  max-height: 170px;
}
.social-editor .work-stage {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px 20px;
  margin: 12px 0 20px;
}
.social-editor .work-stage li {
  flex: none;
  font-size: 14px;
  gap: 7px;
}
.social-editor .work-stage li:after {
  display: none;
}
.social-editor textarea {
  min-height: 160px;
  font-size: 16px;
}
.social-editor .field {
  margin-bottom: 12px;
}
.social-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 16px;
}
.social-editor .field label {
  min-height: 0;
}
.social-editor .next-label {
  margin-bottom: 10px;
}
main[data-page="aria"][data-section="compliance"] .page-heading,
main[data-page="leads"][data-section="overview"] .page-heading {
  margin-bottom: 16px;
}
main[data-page="aria"][data-section="compliance"] .subnav {
  margin-bottom: 18px;
}
main[data-page="reports"] .stat-line {
  gap: 24px;
  padding-block: 8px 16px;
  margin-bottom: 20px;
}
main[data-page="reports"] .stat-line .number {
  font-size: 26px;
}
main[data-section="call"] .call-script {
  margin-block: 16px;
  font-size: 18px;
}
main[data-section="call"] .panel > .contact-line {
  margin-bottom: 12px;
}
.conversation-body .thread {
  margin-bottom: 16px;
}
.conversation-body .field {
  margin-bottom: 14px;
}
@media (max-width: 850px) {
  .social-editor {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .social-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .next-label,
  .hint,
  .quiet-note,
  .text-link,
  .profile-strip .profile-link {
    font-size: 14px;
  }
  .conversation-item {
    padding: 10px;
  }
  .conversation-item p {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.4;
  }
  .conversation-body {
    padding: 14px;
  }
  .conversation-body .section-head {
    gap: 8px;
    margin-bottom: 12px;
  }
  .conversation-body .thread {
    max-height: 240px;
    margin-bottom: 14px;
  }
  .conversation-body textarea {
    min-height: 120px;
  }
  .conversation-body .field label {
    min-height: 0;
  }
  .conversation-body .field select {
    min-height: 44px;
  }
  main[data-page="leads"][data-section="overview"] .page-heading {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  main[data-page="leads"][data-section="overview"] .page-heading .subheading {
    margin-bottom: 0;
  }
  main[data-page="leads"][data-section="overview"] .page-heading > .button {
    flex-shrink: 0;
  }
  main[data-page="leads"][data-section="overview"] .subnav {
    margin-bottom: 12px;
    gap: 4px 8px;
  }
  .social-editor .work-stage li:not(.current) {
    display: none;
  }
  .action-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .text-link + .text-link {
    margin-left: 0;
    margin-right: 16px;
  }
}

/* R4: compact task entry without hiding destinations or shrinking controls. */
.settings-chooser {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 20px;
}
.settings-chooser label {
  font-size: 14px;
  font-weight: 650;
}
.settings-chooser select {
  min-height: 44px;
  width: min(100%, 330px);
  font-size: 16px;
}
main[data-page="settings"] .field {
  margin-bottom: 14px;
}
main[data-page="settings"] .field label {
  min-height: 0;
  margin-bottom: 6px;
}
main[data-page="settings"] .setting-row {
  padding-block: 14px;
}
main[data-page="settings"] .panel h2 {
  margin-bottom: 16px;
}
main[data-page="reports"] .stat-line .hint,
main[data-page="leads"] .table th {
  font-size: 14px;
}
.reports-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  margin-bottom: 20px;
}
.reports-next .next-label {
  grid-column: 1 / -1;
}
.reports-next .focus-origin {
  margin-bottom: 0;
}
.reports-next .action-links {
  margin: 0;
  align-self: center;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.reports-next h2 {
  font-size: 20px;
}
main[data-page="reports"][data-section="overview"] .stat-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-block: 8px 16px;
  margin-bottom: 16px;
}
.report-stages .panel {
  padding-block: 20px;
}
.report-stages .work-row {
  padding-block: 10px;
}
.report-stages .work-row p {
  margin-top: 2px;
}
@media (max-width: 640px) {
  main[data-page="leads"][data-section="overview"] .page-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    margin-bottom: 12px;
  }
  main[data-page="leads"][data-section="overview"] .page-heading > div {
    display: contents;
  }
  main[data-page="leads"][data-section="overview"] .page-heading h1 {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }
  main[data-page="leads"][data-section="overview"] .page-heading > .button {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }
  main[data-page="leads"][data-section="overview"] .page-heading .subheading {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
  }
  main[data-page="leads"][data-section="overview"] .subnav {
    padding-bottom: 4px;
    margin-bottom: 8px;
  }
  main[data-page="leads"][data-section="overview"] .list-toolbar {
    margin-bottom: 8px;
  }
  #lead-results > .hint {
    margin: 4px 0;
  }
  .lead-mobile-item {
    padding-block: 14px;
  }
  .settings-chooser {
    display: block;
    margin-bottom: 16px;
  }
  .settings-chooser label {
    display: block;
    margin-bottom: 6px;
  }
  .settings-chooser select {
    width: 100%;
  }
  .reports-next {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }
  .reports-next .next-label {
    margin-bottom: 0;
  }
  main[data-page="reports"][data-section="overview"] .stat-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}
