:root {
  color-scheme: light;
  --bg: #fff;
  --card: #fff;
  --surface: #f7f7f5;
  --hover: #efefed;
  --fg: #24282e;
  --soft: #62666d;
  --dim: #787d85;
  --line: #eaeae7;
  --strong: #d8dadd;
  --accent: #4b66df;
  --accent-bg: #eef1ff;
  --green: #27815c;
  --green-bg: #eff8f3;
  --red: #b83f3f;
  --inverse: #fff;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font: 13px/1.5 var(--font);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--strong);
  border-radius: 8px;
  background: var(--card);
  color: var(--fg);
  cursor: pointer;
  white-space: nowrap;
}
button:hover {
  background: var(--hover);
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
input,
select,
textarea {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--strong);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--card);
  color: var(--fg);
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: var(--dim);
}
label {
  display: block;
  font-size: 11px;
  color: var(--soft);
}
label input,
label select,
label textarea {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: -0.035em;
}
h1 {
  font-size: 28px;
  line-height: 1.25;
}
h2 {
  font-size: 23px;
}
h3 {
  font-size: 14px;
}
.primary {
  background: var(--accent);
  color: var(--inverse);
  border-color: var(--accent);
}
.primary:hover {
  background: #4059cb;
  border-color: #4059cb;
}
.eyebrow,
.nav-label {
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.09em;
  color: var(--dim);
}
.tag {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 6px;
  font: 10px/1.4 var(--mono);
  color: var(--soft);
  white-space: nowrap;
}
.hint {
  font-size: 12px;
  line-height: 1.7;
  color: var(--dim);
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.brand img {
  display: block;
}
.brand .tag {
  margin-left: auto;
  letter-spacing: 0;
}
.skip {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 10;
  padding: 10px;
  background: var(--fg);
  color: var(--inverse);
}
.skip:focus {
  top: 12px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.message:empty {
  display: none;
}
.message {
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid var(--strong);
  border-radius: 8px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.message.error {
  color: var(--red);
  border-color: var(--red);
}
.gate {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 100dvh;
}
.gate-story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
  padding: 48px 60px;
  background: var(--surface);
  border-right: 1px solid var(--line);
}
.gate-story .brand {
  max-width: 220px;
}
.gate-story h1 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.06em;
  margin: 20px 0 24px;
}
.lede {
  font-size: 15px;
  line-height: 1.8;
  color: var(--soft);
}
.gate-access {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.gate-access > div {
  width: 100%;
  max-width: 340px;
}
.gate-access h2 {
  margin: 14px 0 10px;
}
.gate-access p {
  color: var(--dim);
  line-height: 1.7;
}
.gate-access .primary {
  width: 100%;
  justify-content: space-between;
  margin: 28px 0 16px;
  height: 43px;
}
.workspace {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  padding: 26px 16px 18px;
  background: var(--surface);
}
.sidebar .brand {
  padding: 0 10px;
}
.workspace-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--soft);
  margin: 22px 10px 28px;
}
.nav-label {
  display: block;
  padding: 0 12px;
  margin-bottom: 10px;
  font-size: 9px;
}
.section-label {
  margin-top: 18px;
}
.sidebar nav button {
  justify-content: flex-start;
  width: 100%;
  padding: 9px 11px;
  margin: 2px 0;
  border-color: transparent;
  background: transparent;
  color: var(--soft);
  font-size: 12px;
}
.sidebar nav button > span,
.settings-nav summary > span {
  width: 18px;
  font-size: 15px;
  color: var(--dim);
}
.sidebar nav button[aria-current="page"] {
  background: var(--card);
  color: var(--fg);
  border-color: var(--line);
  box-shadow: 0 1px 2px #1e241b0a;
}
.sidebar nav button:hover {
  background: var(--hover);
}
.settings-nav {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.settings-nav summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--soft);
  font-size: 12px;
  cursor: pointer;
  list-style: none;
}
.settings-nav summary::-webkit-details-marker {
  display: none;
}
.settings-nav summary:hover {
  background: var(--hover);
}
.settings-nav summary:after {
  content: "+";
  margin-left: auto;
  color: var(--dim);
}
.settings-nav[open] summary:after {
  content: "−";
}
.settings-links {
  margin: 7px 0 0 18px;
  padding-left: 8px;
  border-left: 1px solid var(--line);
}
.settings-links .nav-label {
  padding: 7px 10px 3px;
  margin: 0;
}
.settings-links button {
  font-size: 11px !important;
  padding: 7px 10px !important;
}
.sidebar-foot {
  margin-top: auto;
  padding: 20px 10px 0;
}
.sidebar-foot p {
  font: 10px var(--mono);
  overflow-wrap: anywhere;
  color: var(--dim);
  margin-bottom: 16px;
}
.sidebar-foot button {
  border: 0;
  background: none;
  padding: 0;
  justify-content: space-between;
  width: 100%;
  font-size: 11px;
  color: var(--soft);
}
main {
  min-width: 0;
  padding: 0 34px;
  max-width: 1540px;
  width: 100%;
  margin: 0 auto;
}
.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--dim);
}
.private-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font: 10px var(--mono);
}
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 22px;
}
.page-header .eyebrow {
  margin-bottom: 10px;
  color: var(--accent);
}
.page-header p:last-child {
  color: var(--dim);
  font-size: 12px;
  margin-top: 9px;
}
.actions,
.tool-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.workspace-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--card);
  box-shadow: 0 1px 2px #1e241b08;
}
.scope-control {
  display: flex;
  align-items: center;
  gap: 12px;
}
.scope-control > span {
  font: 9px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.scope-control .segmented {
  border: 0;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--card);
  padding: 14px;
  margin-top: 10px;
}
.filters > label {
  flex: 1 1 105px;
  min-width: 0;
}
.filters .search-label {
  flex: 2 1 190px;
}
.filters .check-label {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  min-height: 36px;
}
.check-label input {
  width: 14px;
  min-height: 14px;
  margin: 0;
}
.filters button {
  height: 36px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 2px 0;
}
.toolbar select {
  width: auto;
  max-width: 220px;
  font-size: 12px;
}
.segmented {
  display: flex;
  gap: 2px;
  padding: 2px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.segmented button {
  border-color: transparent;
  background: transparent;
  min-height: 29px;
  padding: 4px 11px;
  font-size: 11px;
}
.segmented button[aria-pressed="true"] {
  background: var(--card);
  border-color: var(--line);
  box-shadow: 0 1px 2px #1e241b0d;
}
.scope-control .segmented button[aria-pressed="true"] {
  color: var(--accent);
  border-color: #dce2ff;
  background: var(--accent-bg);
}
.freshness {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 2px;
  font: 10px/1.5 var(--mono);
  color: var(--dim);
}
.main-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 0 20px;
  font: 9px var(--mono);
  color: var(--dim);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}
.metric {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 17px;
  background: var(--card);
}
.metric-label {
  font-size: 11px;
  color: var(--soft);
}
.metric-value {
  font-size: 29px;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  margin: 13px 0 7px;
}
.metric-note {
  font: 10px/1.6 var(--mono);
  color: var(--dim);
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--card);
}
.action-panel {
  box-shadow: inset 3px 0 var(--accent);
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 17px 19px;
  border-bottom: 1px solid var(--line);
}
.panel-heading h2 {
  font-size: 15px;
}
.panel-heading p {
  font-size: 11px;
  color: var(--dim);
  margin-top: 4px;
}
.panel-foot {
  padding: 12px 20px;
  font-size: 11px;
  color: var(--dim);
}
.empty {
  padding: 35px 22px;
  color: var(--dim);
  font-size: 12px;
  text-align: center;
}
.today-operations:empty {
  display: none;
}
.reporting {
  margin-top: 2px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.reporting > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 8px 2px 18px;
  font-size: 12px;
  font-weight: 500;
  list-style: none;
}
.reporting > summary::-webkit-details-marker {
  display: none;
}
.reporting > summary:before {
  content: "+";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--card);
  color: var(--accent);
}
.reporting[open] > summary:before {
  content: "−";
}
.reporting > summary span {
  margin-left: auto;
  font: 10px var(--mono);
  color: var(--dim);
}
.report-panel {
  margin-bottom: 0;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  font-size: 12px;
}
th {
  font: 9px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.055em;
  color: var(--dim);
  background: var(--surface);
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
}
tbody tr:last-child td {
  border-bottom: 0;
}
td:first-child {
  color: var(--fg);
}
tr:hover td {
  background: var(--surface);
}
.numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-family: var(--mono);
}
.text-button {
  border: 0;
  background: none;
  padding: 0;
  min-height: 0;
  font-size: 12px;
  white-space: normal;
  text-align: left;
  justify-content: flex-start;
}
.text-button:hover {
  text-decoration: underline;
  background: none;
}
.subtext {
  display: block;
  color: var(--dim);
  font-size: 10px;
  margin-top: 4px;
}
.task-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}
.task-row:last-child {
  border-bottom: 0;
}
.task-row > div {
  flex: 1;
  min-width: 0;
}
.task-row strong {
  font-weight: 500;
}
.task-row .due {
  font: 10px var(--mono);
  color: var(--dim);
}
.task-row .overdue {
  color: var(--red);
}
.task-complete {
  width: 25px;
  min-height: 25px;
  padding: 0;
}
.board {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  align-items: flex-start;
  padding: 0 0 18px;
  min-height: 400px;
}
.column {
  flex: 0 0 258px;
  min-height: 360px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 12px;
}
.column-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 3px 13px;
  font-size: 12px;
}
.column-heading span {
  font: 10px var(--mono);
  color: var(--dim);
}
.deal-card {
  width: 100%;
  display: block;
  text-align: left;
  padding: 15px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  white-space: normal;
}
.deal-card:hover {
  border-color: var(--strong);
  background: var(--card);
  box-shadow: 0 3px 12px #1e241b0a;
}
.deal-card h3 {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.deal-card p {
  color: var(--dim);
  font-size: 11px;
  margin: 7px 0 15px;
  overflow-wrap: anywhere;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  color: var(--soft);
  font: 10px var(--mono);
}
.card-note {
  font-size: 10px;
  color: var(--dim);
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}
.card-note.overdue {
  color: var(--red);
}
.column .empty {
  font-size: 11px;
  padding: 35px 8px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  font-size: 11px;
  color: var(--dim);
}
dialog {
  border: 1px solid var(--strong);
  border-radius: 10px;
  background: var(--bg);
  color: var(--fg);
  width: min(920px, 94vw);
  max-height: 90dvh;
  padding: 26px;
  overflow: auto;
}
dialog::backdrop {
  background: #0006;
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}
.dialog-heading .eyebrow {
  margin-bottom: 6px;
}
.dialog-heading > button {
  font-size: 22px;
  min-height: 30px;
  padding: 0 9px;
  border: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .wide {
  grid-column: 1/-1;
}
.form-grid fieldset {
  grid-column: 1/-1;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 16px;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-grid legend {
  padding: 0 7px;
  color: var(--soft);
  font-size: 12px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 22px 0 8px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 25px 0 15px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.activity-form {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 22px;
}
.activity-form label:first-child {
  width: 120px;
}
.grow {
  flex: 1;
}
.activity {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  margin: 0 0 20px;
}
.activity-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 11px;
  color: var(--dim);
}
.activity-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 6px 0;
  font-size: 12px;
}
.activity-meta {
  font: 10px/1.7 var(--mono);
  color: var(--dim);
}
.activity details {
  font-size: 11px;
  color: var(--dim);
  margin-top: 7px;
}
.activity details p {
  margin-top: 6px;
}
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
#import-dialog,
#view-dialog {
  width: min(540px, 94vw);
}
#import-dialog label,
#view-dialog label {
  margin: 20px 0 10px;
}
#template {
  margin: 15px 0;
}
#activity-more {
  margin-top: 6px;
}
.sidebar nav {
  overflow-y: auto;
}
.outreach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 16px;
  margin: 18px 0;
}
.outreach-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  min-width: 0;
  overflow: hidden;
}
.outreach-card-heading,
.outreach-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  padding: 16px 18px;
}
.outreach-card-heading {
  border-bottom: 1px solid var(--line);
}
.outreach-card-foot {
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.mail-preview {
  padding: 18px;
  overflow-wrap: anywhere;
}
.mail-preview h3 {
  margin: 14px 0;
  font-size: 15px;
}
.mail-preview pre {
  font: 12px/1.8 var(--font);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0 0 18px;
}
.mail-preview .hint {
  font-size: 10px;
}
.outreach-archive {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 16px 18px;
  margin: 16px 0;
}
.outreach-archive summary,
.preview-recipient summary {
  cursor: pointer;
  font-weight: 500;
}
.outreach-note {
  margin: 18px 0;
}
.choice-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  font-size: 12px;
}
.choice-row input {
  flex: 0 0 16px;
  width: 16px;
  min-height: 16px;
  margin: 0;
}
.choice-row > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.choice-row > .tag {
  margin-left: auto;
}
.audience-list {
  max-height: 45vh;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
}
.preview-recipient {
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 14px 0;
}
.preview-recipient summary {
  padding: 14px 18px;
  overflow-wrap: anywhere;
}
.preview-recipient .mail-preview {
  border-top: 1px solid var(--line);
}
.sequence-step {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--line);
  padding: 16px;
  margin: 12px 0;
}
.sequence-step legend {
  padding: 0 7px;
}
.form-grid #sequence-steps fieldset {
  margin: 12px 0;
}
#outreach-filters {
  margin-top: 10px;
}
#outreach-form .table-scroll {
  margin-top: 18px;
}
#outreach-dialog {
  width: min(1050px, 94vw);
}
#outreach-actions {
  flex-wrap: wrap;
}
#outreach-form > .mail-preview {
  padding: 18px 0;
}
#outreach-form input[type="checkbox"] {
  cursor: pointer;
}
button[data-locked] {
  cursor: not-allowed;
}
@media (max-width: 1150px) {
  .workspace {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  main {
    padding: 0 24px;
  }
  .sidebar {
    padding: 25px 12px 18px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .tool-group {
    flex-wrap: wrap;
  }
}
@media (max-width: 700px) {
  .gate {
    display: block;
  }
  .gate-story {
    padding: 26px;
    gap: 35px;
  }
  .gate-story h1 {
    font-size: 43px;
  }
  .gate-story > .hint {
    display: none;
  }
  .gate-access {
    padding: 35px 26px;
  }
  .gate-access > div {
    max-width: none;
  }
  .workspace {
    display: block;
  }
  .sidebar {
    position: relative;
    height: auto;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    max-width: 190px;
    padding: 0;
  }
  .workspace-label,
  .nav-label,
  .sidebar-foot p {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 5px;
    overflow: auto;
    margin-top: 15px;
    align-items: flex-start;
  }
  .sidebar nav > button {
    width: auto;
    min-width: max-content;
    padding: 8px;
    font-size: 11px;
  }
  .sidebar nav button > span {
    display: none;
  }
  .settings-nav {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: max-content;
  }
  .settings-nav summary {
    min-height: 34px;
    padding: 8px;
  }
  .settings-nav[open] {
    position: absolute;
    z-index: 4;
    top: 112px;
    left: 18px;
    right: 18px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 12px 35px #0002;
  }
  .settings-nav[open] summary {
    margin-bottom: 4px;
  }
  .settings-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border: 0;
  }
  .settings-links button {
    width: 100% !important;
  }
  .sidebar-foot {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 0;
  }
  .sidebar-foot button {
    width: auto;
  }
  .topline {
    height: 43px;
  }
  main {
    padding: 0 18px;
  }
  .page-header {
    padding: 23px 0 18px;
    align-items: flex-start;
  }
  .page-header h1 {
    font-size: 24px;
  }
  .page-header .eyebrow {
    font-size: 8px;
  }
  .page-header .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .actions button {
    font-size: 11px;
    padding: 6px 9px;
  }
  .workspace-controls {
    padding: 8px;
    align-items: stretch;
  }
  .scope-control {
    gap: 7px;
    min-width: 0;
  }
  .scope-control > span {
    display: none;
  }
  .scope-control .segmented {
    overflow: auto;
  }
  .filters {
    gap: 10px;
    padding: 12px;
  }
  .filters > label {
    flex: 1 1 42%;
  }
  .filters .search-label {
    flex-basis: 100%;
  }
  .filters .check-label {
    flex: 1 1 42%;
  }
  .filters > button {
    width: 100%;
  }
  .toolbar .tool-group {
    gap: 7px;
  }
  .toolbar button {
    font-size: 11px;
  }
  .toolbar select {
    max-width: 160px;
  }
  .freshness {
    flex-wrap: wrap;
    font-size: 9px;
  }
  .metric {
    padding: 14px;
  }
  .metric-value {
    font-size: 27px;
  }
  .reporting > summary span {
    display: none;
  }
  .column {
    flex-basis: 245px;
  }
  dialog {
    padding: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid fieldset {
    grid-template-columns: 1fr;
  }
  .activity-form {
    flex-wrap: wrap;
  }
  .activity-form .grow {
    flex-basis: 100%;
  }
  .activity-form button {
    margin-left: auto;
  }
  .task-row {
    padding: 14px;
  }
  .task-row .due {
    max-width: 80px;
    text-align: right;
  }
  .main-foot {
    font-size: 8px;
  }
}
#outreach-form th,
#outreach-form td {
  padding-left: 12px;
  padding-right: 12px;
}
.operations-section {
  margin-bottom: 20px;
}
.operations-list {
  display: grid;
  gap: 14px;
}
.operations-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}
.operations-card-heading,
.operations-card-foot,
.operations-review {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
}
.operations-card-heading {
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.operations-card-foot {
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--dim);
}
.operations-card > .activity-body {
  padding: 0 18px;
}
.operations-review {
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.operations-review select {
  width: 150px;
}
.operations-review input {
  flex: 1;
}
.operations-actions {
  display: flex;
  gap: 7px;
}
.notice {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--soft);
  font-size: 11px;
}
.notice strong {
  color: var(--fg);
  font-weight: 500;
}
.notice.success {
  border-color: #cde6d7;
  background: var(--green-bg);
}
.panel-heading.plain {
  padding: 0 2px 13px;
  border: 0;
}
.section-heading.compact {
  margin: 0 0 13px;
  padding: 0;
  border: 0;
}
.field-hint {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.55;
  color: var(--dim);
}
.mailbox-panel {
  margin-bottom: 14px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--card);
}
.mailbox-panel.compact {
  padding: 10px 14px;
}
.mailbox-list {
  display: grid;
  gap: 9px;
}
.mailbox-list.padded {
  padding: 17px;
}
.mailbox-row,
.mailbox-connect {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}
.mailbox-row > div {
  display: grid;
  gap: 2px;
}
.mailbox-row span {
  font-size: 10px;
  color: var(--dim);
}
.mailbox-connect label {
  flex: 1;
}
.mailbox-connect.hero {
  align-items: center;
  padding: 18px;
  border: 1px dashed var(--strong);
  border-radius: 10px;
  background: var(--surface);
}
.mailbox-connect.hero > div {
  display: grid;
  gap: 6px;
  flex: 1;
}
.mailbox-connect.hero h3 {
  font-size: 18px;
}
.mailbox-connect.hero .primary,
.mailbox-connect.hero button {
  min-width: 180px;
}
.mailbox-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.mailbox-strip > div:first-child {
  display: grid;
  gap: 2px;
}
.mailbox-strip span {
  font-size: 10px;
  color: var(--dim);
}
.mailbox-strip .actions {
  display: flex;
  gap: 7px;
}
.conversation-layout {
  display: grid;
  grid-template-columns: minmax(220px, 30%) minmax(0, 1fr);
  height: min(720px, calc(100dvh - 230px));
  min-height: 540px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  background: var(--card);
}
.conversation-list {
  border-right: 1px solid var(--line);
  background: var(--surface);
  overflow: auto;
}
.conversation-row {
  display: grid;
  width: 100%;
  gap: 4px;
  min-height: 0;
  padding: 14px 15px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  text-align: left;
  white-space: normal;
}
.conversation-row[aria-pressed="true"] {
  background: var(--card);
  box-shadow: inset 3px 0 var(--accent);
}
.conversation-from {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 500;
}
.conversation-row small {
  color: var(--dim);
}
.conversation-pane {
  min-width: 0;
  padding: 23px;
  overflow: auto;
}
.conversation-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.conversation-heading h2 {
  margin: 4px 0;
  font-size: 20px;
}
.conversation-heading p:last-child {
  font-size: 11px;
  color: var(--dim);
}
.relationship-context {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 0;
  color: var(--soft);
  font-size: 11px;
}
.inbox-next-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 3px 0 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}
.inbox-next-action strong {
  display: block;
  margin-top: 3px;
  font-weight: 500;
}
.reply-evidence {
  margin: 0 0 13px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--soft);
  font-size: 11px;
}
.reply-evidence summary {
  cursor: pointer;
  color: var(--fg);
  font-weight: 500;
}
.reply-evidence div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}
.reply-evidence p {
  flex: 1;
}
.reply-evidence span {
  color: var(--dim);
}
.reply-evidence a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--accent);
}
.conversation-message {
  margin: 12px 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
}
.conversation-message > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
}
.conversation-message > div span {
  color: var(--dim);
}
.conversation-message p {
  margin-top: 11px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.pane-note {
  margin: 15px 0;
  color: var(--dim);
  font-size: 10px;
}
.classification {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.autopilot-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 23px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--card);
  box-shadow: inset 3px 0 var(--accent);
}
.autopilot-control h2 {
  margin: 3px 0;
  font-size: 20px;
}
.autopilot-control p:last-child {
  font-size: 11px;
  color: var(--dim);
}
.operations-section {
  margin-bottom: 25px;
}
.source-list {
  display: grid;
  gap: 9px;
}
.source-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
}
.source-card > div:first-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.source-card small {
  display: block;
  color: var(--dim);
  overflow-wrap: anywhere;
}
.source-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
.candidate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 11px;
}
.candidate-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
}
.candidate-heading,
.candidate-source,
.candidate-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
}
.candidate-heading p {
  margin-top: 3px;
  font-size: 10px;
  color: var(--dim);
  overflow-wrap: anywhere;
}
.candidate-source {
  justify-content: flex-start;
  margin: 13px 0 0;
  font-size: 10px;
  color: var(--dim);
}
.candidate-source a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--accent);
}
.candidate-trigger {
  margin: 13px 0;
  line-height: 1.65;
}
.candidate-evidence {
  margin: 0 0 14px;
  color: var(--soft);
  font-size: 11px;
}
.candidate-evidence summary {
  cursor: pointer;
}
.evidence-list {
  display: grid;
  gap: 7px;
  margin-top: 9px;
}
.evidence-list blockquote {
  margin: 0;
  padding: 9px 11px;
  border-left: 2px solid var(--accent);
  background: var(--surface);
  font-size: 11px;
}
.evidence-list blockquote span {
  display: block;
  margin-bottom: 3px;
  font: 9px var(--mono);
  color: var(--dim);
  text-transform: uppercase;
}
.candidate-foot {
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--dim);
}
.batch-item {
  margin: 11px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
}
.batch-item h3 {
  margin: 5px 0 11px;
}
.batch-item > p:not(.eyebrow) {
  white-space: pre-wrap;
}
.batch-item dl {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
}
.batch-item dl div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
}
.batch-item dt {
  font-size: 10px;
  color: var(--dim);
}
.batch-item dd {
  margin: 0;
  overflow-wrap: anywhere;
}
#agent-batch-dialog {
  width: min(760px, 94vw);
  overflow: hidden;
}
#agent-batch-dialog[open] {
  display: flex;
  flex-direction: column;
}
#agent-batch-dialog .dialog-heading,
#agent-batch-dialog > .hint,
#agent-batch-dialog > .message,
#agent-batch-dialog .form-actions {
  flex-shrink: 0;
}
#agent-batch-content {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
#agent-batch-dialog .form-actions {
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
}
.batch-item .batch-addresses {
  margin: 0 0 20px;
}
.batch-email-body {
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.batch-evidence {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 16px;
}
.batch-evidence summary {
  color: var(--soft);
  cursor: pointer;
}
.batch-scoring {
  margin-top: 18px;
}
.today-review {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin: 18px 0;
}
.today-card {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
}
.today-card p,
.today-card span {
  font-size: 10px;
  color: var(--dim);
}
.today-card strong {
  font-size: 17px;
  font-weight: 500;
}
.today-card button {
  justify-self: start;
  margin-top: 5px;
}
.today-card.unavailable {
  border-color: var(--strong);
}
#record-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(720px, 94vw);
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  border-width: 0 0 0 1px;
  border-radius: 0;
  padding: 28px 31px;
  box-shadow: -18px 0 55px #0002;
}
@media (max-width: 700px) {
  .conversation-layout {
    display: block;
    height: auto;
    min-height: 0;
  }
  .conversation-list {
    max-height: 245px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .conversation-pane {
    max-height: 70dvh;
    padding: 17px;
  }
  .conversation-heading,
  .source-card,
  .autopilot-control,
  .candidate-foot {
    align-items: flex-start;
    flex-direction: column;
  }
  .classification {
    grid-template-columns: 1fr;
  }
  .mailbox-row,
  .mailbox-connect {
    align-items: stretch;
    flex-direction: column;
  }
  .mailbox-row button,
  .mailbox-connect button {
    align-self: flex-start;
  }
  .today-review {
    grid-template-columns: 1fr;
  }
  .candidate-grid {
    grid-template-columns: 1fr;
  }
  #record-dialog {
    width: 100vw;
    padding: 20px;
    border-left: 0;
  }
  .operations-actions {
    flex-wrap: wrap;
  }
  .batch-panel .table-scroll {
    overflow: visible;
  }
  .batch-panel table,
  .batch-panel tbody,
  .batch-panel tr,
  .batch-panel td {
    display: block;
    width: 100%;
  }
  .batch-panel thead {
    display: none;
  }
  .batch-panel tr {
    padding: 11px 16px;
  }
  .batch-panel td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 5px 0;
    border: 0;
    text-align: right;
  }
  .batch-panel td:before {
    content: attr(data-label);
    font: 9px var(--mono);
    letter-spacing: 0.055em;
    text-transform: uppercase;
    color: var(--dim);
  }
  .batch-panel td:last-child button {
    width: 100%;
    margin-top: 7px;
  }
}
.candidate-blocked {
  max-width: 190px;
  color: var(--red);
  text-align: right;
}

.record-preparation {
  margin-bottom: 1rem;
}
.weekday-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.weekday-options label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.weekday-options input {
  width: auto;
}
.proposal-details,
.calendar-evidence {
  margin: 1rem 0;
  overflow-wrap: anywhere;
}
.calendar-evidence p,
.calendar-evidence blockquote {
  white-space: pre-wrap;
}
.proposal-details li {
  margin: 0.5rem 0;
}
#calendar-review-form {
  display: grid;
  gap: 1rem;
}
#calendar-review-form[hidden],
#draft-meeting-fields[hidden] {
  display: none;
}

.notice {
  flex-wrap: wrap;
}
.notice button {
  margin-left: auto;
}
.email-funnel {
  margin: 14px 0 0;
}
.candidate-group {
  margin: 0 0 22px;
}
.candidate-group h3 {
  margin: 0 0 10px;
  font-size: 14px;
}
.candidate-group > .hint {
  margin: 0 0 12px;
}
.candidate-card.org-only {
  opacity: 0.88;
}
.candidate-card.email-ready {
  box-shadow: inset 3px 0 var(--accent);
}
.candidate-blocked {
  max-width: 100%;
  text-align: left;
  margin: 0 0 10px;
}

/* Shared application design: quiet chrome, clear records and actionable states. */
:root {
  --bg: #f7f8fa;
  --card: #fff;
  --surface: #f3f5f7;
  --hover: #eef1f4;
  --fg: #18232d;
  --soft: #52616d;
  --dim: #65727e;
  --line: #e1e6eb;
  --strong: #cdd3ca;
  --accent: #315e49;
  --accent-bg: #e9f1e9;
  --green: #276543;
  --green-bg: #eef5ed;
  --red: #a33b32;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
body {
  font-size: 14px;
  line-height: 1.55;
}
button {
  min-height: 36px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 550;
}
button:disabled {
  cursor: default;
}
.primary {
  background: var(--fg);
  border-color: var(--fg);
}
.primary:hover {
  background: #374b3e;
  border-color: #374b3e;
}
h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
}
.eyebrow,
.nav-label {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.tag {
  font: 11px/1.4 var(--font);
  border-radius: 5px;
  background: var(--surface);
}
.subtext {
  font-size: 11px;
}
.hint {
  color: var(--soft);
}
.workspace {
  grid-template-columns: 212px minmax(0, 1fr);
}
.sidebar {
  background: #fff;
  padding: 24px 12px 18px;
}
.sidebar .brand {
  font-size: 23px;
  font-weight: 650;
  padding: 0 12px;
  gap: 10px;
}
.sidebar .brand img {
  width: 27px;
  height: 27px;
}
.brand .tag {
  font-size: 9px;
  letter-spacing: 0.05em;
  background: transparent;
}
.workspace-label {
  margin: 18px 12px 28px;
  font-size: 10px;
  gap: 5px;
  justify-content: space-between;
}
.workspace-team {
  font-size: 9px;
  border: 1px solid var(--strong);
  padding: 2px 4px;
  border-radius: 4px;
  white-space: nowrap;
}
.sidebar nav {
  display: block;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  margin: 0;
}
.primary-nav {
  display: grid;
  gap: 3px;
}
.nav-label {
  padding: 0 12px;
  margin: 0 0 5px;
  font-size: 9px;
  color: #687365;
}
.section-label {
  margin-top: 20px;
}
.sidebar nav button {
  display: flex;
  width: 100%;
  min-height: 36px;
  padding: 8px 12px;
  margin: 0;
  gap: 11px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
}
.sidebar nav button > span {
  width: 17px;
  height: 18px;
  display: flex;
  align-items: center;
  color: inherit;
  opacity: 0.8;
}
.sidebar nav svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar nav button[aria-current="page"] {
  background: #eaf1ec;
  color: #243f2d;
  border-color: transparent;
  box-shadow: none;
  font-weight: 600;
}
.settings-nav {
  margin-top: 19px;
  padding-top: 12px;
}
.settings-nav summary {
  font-size: 12px;
  padding: 8px 12px;
  gap: 11px;
}
.settings-nav summary > span {
  width: 17px;
  color: inherit;
}
.settings-links {
  margin: 6px 0 0 20px;
}
.settings-links button {
  font-size: 11px !important;
}
.sidebar-foot {
  margin: 18px 0 0;
  padding: 17px 12px 0;
  border-top: 1px solid var(--line);
}
.sidebar-foot p {
  font: 10px/1.5 var(--font);
  color: var(--soft);
  margin-bottom: 8px;
}
.sidebar-foot button {
  min-height: 26px;
  font-size: 11px;
}
.nav-toggle {
  display: none;
}
main {
  padding: 0 28px;
  max-width: 1500px;
}
.topline {
  height: 44px;
  font-size: 11px;
}
.private-label {
  font: 10px var(--font);
  gap: 10px;
}
.private-label .tag {
  font-size: 9px;
  background: transparent;
}
.page-header {
  padding: 20px 0 16px;
}
.page-header .eyebrow {
  display: none;
}
.page-header h1 {
  font-size: 28px;
  letter-spacing: -0.035em;
}
.page-header p:last-child {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 7px;
  color: var(--soft);
}
.page-header #refresh {
  background: var(--card);
  color: var(--soft);
}
.page-header #refresh span {
  font-size: 17px;
  line-height: 1;
}
.freshness {
  font: 10px/1.5 var(--font);
  margin: 0 0 12px;
  min-height: 16px;
}
.freshness:has(#result-count:empty):has(#updated-at:empty) {
  visibility: hidden;
}
.main-foot {
  font: 10px var(--font);
  color: var(--dim);
  padding: 30px 0 20px;
}
.workspace-controls {
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.scope-control > span {
  font: 11px var(--font);
  letter-spacing: 0;
  text-transform: none;
}
.scope-control .segmented {
  border: 1px solid var(--line);
  padding: 3px;
}
.scope-control .segmented button[aria-pressed="true"] {
  color: var(--fg);
  background: var(--card);
  border-color: var(--strong);
}
.toolbar {
  padding: 14px 0 0;
  flex-wrap: wrap;
}
.tool-group {
  flex-wrap: wrap;
}
.filters {
  border-radius: 7px;
  background: var(--surface);
}
.panel,
.outreach-card,
.operations-card {
  border-radius: 9px;
  box-shadow: none;
}
.panel-heading {
  padding: 17px 20px;
  align-items: center;
}
.panel-heading h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.panel-heading p,
.panel-foot {
  font-size: 11px;
  line-height: 1.65;
}
.panel-heading .text-button {
  font-size: 11px;
  color: var(--accent);
}
.panel-foot {
  padding: 14px 20px;
}
.action-panel {
  box-shadow: none;
}
.empty {
  padding: 40px 24px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--soft);
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--accent);
  background: var(--surface);
  font-size: 19px;
  margin: 0 auto 12px;
}
th {
  font: 500 11px/1.5 var(--font);
  text-transform: none;
  letter-spacing: 0;
  padding: 13px 18px;
}
td {
  padding: 16px 18px;
  font-size: 12px;
}
.numeric {
  font-family: var(--font);
}
.metric {
  padding: 20px;
  border-radius: 8px;
}
.metric-value {
  font-size: 30px;
  font-weight: 550;
  margin: 10px 0 6px;
}
.metric-note {
  font: 11px/1.6 var(--font);
}
.notice {
  font-size: 12px;
  background: #faf9f4;
  border-color: #e8e3d0;
  border-radius: 7px;
  padding: 13px 16px;
}
.notice strong {
  font-weight: 600;
}
.autopilot-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 168px;
  border: 1px solid #dbe4d5;
  background: #eef2e8;
  border-radius: 10px;
  padding: 26px 28px;
}
.autopilot-hero h2 {
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -0.04em;
  line-height: 1.3;
}
.autopilot-hero p {
  margin-top: 9px;
  color: #566550;
  font-size: 12px;
  line-height: 1.8;
  max-width: 610px;
}
.autopilot-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.autopilot-hero-actions .text-button {
  padding: 8px;
  color: var(--soft);
}
.status-pill,
.autopilot-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 550 10px/1.5 var(--font);
  border: 1px solid #d1ddc9;
  border-radius: 5px;
  padding: 4px 8px;
  color: #46533f;
  background: #ffffffa8;
  white-space: nowrap;
  margin-bottom: 12px;
}
.status-pill:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status-pill[data-status="Running"] {
  color: var(--green);
}
.status-pill[data-status="Needs attention"] {
  color: #966135;
  border-color: #e7ccac;
}
.section-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 24px 0 11px;
}
.section-caption h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.section-caption p {
  font-size: 10px;
  color: var(--dim);
}
.autopilot-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}
.autopilot-stat {
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}
.autopilot-stat p {
  font-size: 11px;
  color: var(--soft);
}
.autopilot-stat strong {
  display: block;
  font-size: 30px;
  font-weight: 550;
  letter-spacing: -0.04em;
  margin-top: 6px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.autopilot-stat:nth-child(3) {
  background: #f1f5ed;
  border-color: #dde7d5;
}
.autopilot-stat:nth-child(4) {
  background: #fbf5e8;
  border-color: #ece2ca;
}
.autopilot-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  padding: 20px;
  margin: 0 0 22px;
  gap: 20px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 8px;
  counter-reset: stage;
}
.autopilot-flow li {
  position: relative;
  counter-increment: stage;
  padding-left: 31px;
  min-width: 0;
}
.autopilot-flow li:before {
  content: counter(stage);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 1px solid var(--strong);
  border-radius: 6px;
  font-size: 10px;
  color: var(--soft);
  background: var(--surface);
}
.autopilot-flow strong {
  display: block;
  font-size: 11px;
  font-weight: 550;
}
.autopilot-flow span {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--soft);
  overflow-wrap: anywhere;
}
.autopilot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
  align-items: start;
}
.autopilot-queue {
  min-width: 0;
  margin: 0;
}
.autopilot-queue .panel-heading {
  min-height: 60px;
}
.autopilot-queue .empty {
  min-height: 155px;
  padding: 27px 25px;
}
.activity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.activity-row:last-child {
  border-bottom: 0;
}
.activity-row > div {
  min-width: 0;
  flex: 1;
}
.activity-row strong {
  font-size: 12px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.activity-row > div > span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--dim);
  overflow-wrap: anywhere;
}
.activity-row > span {
  font-size: 10px;
  color: var(--dim);
}
.activity-row button {
  min-height: 30px;
  padding: 5px 10px;
  font-size: 11px;
  flex-shrink: 0;
}
.conversation-preview {
  width: 100%;
  min-height: 76px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--card);
  text-align: left;
  white-space: normal;
}
.conversation-preview > span:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1;
  color: var(--fg);
}
.conversation-preview > span:first-child > span {
  font-size: 11px;
  color: var(--dim);
  overflow-wrap: anywhere;
}
.conversation-preview > span:last-child {
  max-width: 110px;
  text-align: right;
  font-size: 10px;
  font-weight: 400;
}
.founder-mailboxes {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.founder-mailbox {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1 1 260px;
  padding: 14px 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  min-width: 0;
}
.founder-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border-radius: 9px;
  background: #e7eddf;
  color: #526347;
  font-size: 11px;
  font-weight: 600;
}
.founder-mailbox:nth-child(2) .founder-avatar {
  background: #efe7de;
  color: #805e3d;
}
.founder-mailbox > div {
  flex: 1;
  min-width: 0;
}
.founder-mailbox strong {
  display: block;
  font-size: 11px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.founder-mailbox small {
  display: block;
  font-size: 10px;
  color: var(--dim);
  margin-top: 3px;
}
.founder-mailbox .tag {
  font-size: 9px;
}
.advanced-settings {
  border-top: 1px solid var(--line);
  padding-top: 4px;
  margin-top: 23px;
}
.advanced-settings > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 17px 0;
  list-style: none;
  cursor: pointer;
  font-size: 12px;
  color: var(--soft);
}
.advanced-settings > summary::-webkit-details-marker {
  display: none;
}
.advanced-settings > summary:before {
  content: "+";
  font-size: 15px;
}
.advanced-settings[open] > summary:before {
  content: "−";
}
.advanced-settings .operations-section {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}
.advanced-settings details > summary {
  cursor: pointer;
}
.autopilot-control {
  background: var(--green-bg);
  padding: 23px;
  border-color: #dde7d5;
}
.candidate-grid {
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card);
}
.candidate-card {
  padding: 22px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.candidate-card:last-child {
  border-bottom: 0;
}
.candidate-card.email-ready {
  box-shadow: none;
}
.candidate-heading h3 {
  font-size: 15px;
}
.candidate-source,
.candidate-foot {
  font-size: 11px;
}
.candidate-trigger {
  font-size: 12px;
  line-height: 1.75;
}
.source-card {
  padding: 18px;
  background: var(--card);
}
.conversation-layout {
  grid-template-columns: minmax(245px, 30%) minmax(0, 1fr);
  border-radius: 9px;
  min-height: 600px;
  background: var(--card);
}
.conversation-list {
  background: #f8f9f6;
  max-height: 75vh;
  overflow-y: auto;
}
.conversation-row {
  padding: 19px;
  gap: 6px;
  min-height: 98px;
  font-weight: 400;
}
.conversation-row[aria-pressed="true"] {
  background: #eaf0e5;
  box-shadow: inset 3px 0 var(--accent);
}
.conversation-from {
  font-size: 12px;
  font-weight: 600;
}
.conversation-row small {
  font-size: 10px;
}
.conversation-pane {
  padding: 25px;
  min-width: 0;
}
.conversation-heading h2 {
  font-size: 21px;
  line-height: 1.4;
}
.conversation-heading {
  align-items: flex-start;
  flex-wrap: wrap;
}
.conversation-heading p {
  line-height: 1.7;
}
.conversation-message {
  background: #fafbf8;
  border-color: var(--line);
  padding: 20px;
  font-size: 12px;
  line-height: 1.8;
}
.conversation-message > div {
  gap: 10px;
  flex-wrap: wrap;
}
.conversation-message p {
  font-size: 12px;
}
.mailbox-panel.compact {
  padding: 12px 17px;
  background: var(--card);
  border-radius: 7px;
}
.mailbox-strip span {
  font-size: 11px;
}
.mailbox-connect.hero {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--green-bg);
}
.mailbox-connect.hero h3 {
  font-size: 19px;
}
.mailbox-row {
  gap: 14px;
  flex-wrap: wrap;
}
.mailbox-row .actions {
  flex-wrap: wrap;
}
.classification {
  flex-wrap: wrap;
}
.classification label {
  min-width: 0;
}
.view-loading {
  min-height: 460px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 9px;
  padding: 28px;
}
.view-loading p {
  font-size: 12px;
  color: var(--soft);
  margin-bottom: 28px;
}
.skeleton-row {
  height: 64px;
  margin: 15px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.view-error {
  min-height: 360px;
  padding: 65px 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
}
.view-error h2 {
  font-size: 20px;
}
.view-error p {
  font-size: 12px;
  color: var(--soft);
  margin: 10px 0 20px;
}
dialog {
  border-radius: 12px;
  border-color: var(--line);
  background: var(--card);
  box-shadow: 0 20px 80px #20292320;
  padding: 30px;
}
dialog::backdrop {
  background: #20292350;
}
.dialog-heading h2 {
  font-size: 24px;
}
.form-grid {
  gap: 19px;
}
.form-grid label {
  font-size: 12px;
  line-height: 1.6;
}
.form-actions {
  margin-top: 26px;
}
.gate-story {
  background: #eaf0e3;
  border-color: #dce4d5;
}
.gate-story h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(44px, 5vw, 70px);
  letter-spacing: -0.055em;
  line-height: 1.08;
}
.gate-story h1 em {
  font-weight: 400;
  color: #556f46;
}
.gate-access h2 {
  font-size: 27px;
}
@media (max-width: 1150px) {
  .workspace {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  main {
    padding: 0 25px;
  }
  .sidebar {
    padding: 25px 12px 18px;
  }
  .workspace-team {
    display: none;
  }
  .autopilot-hero {
    padding: 25px;
    gap: 18px;
  }
  .autopilot-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .autopilot-grid {
    gap: 14px;
  }
  .autopilot-flow {
    gap: 12px;
    padding: 18px;
  }
  .autopilot-stat {
    padding: 16px;
  }
  .conversation-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .autopilot-grid {
    grid-template-columns: 1fr;
  }
  .autopilot-hero {
    align-items: flex-start;
  }
  .autopilot-flow {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .conversation-layout {
    display: block;
  }
  .conversation-list {
    max-height: 280px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .autopilot-stats {
    grid-template-columns: 1fr 1fr;
  }
  .panel-heading {
    flex-wrap: wrap;
  }
}
@media (max-width: 700px) {
  .workspace {
    display: block;
  }
  .sidebar {
    position: relative;
    height: auto;
    padding: 17px 18px;
    background: #f3f4f0;
  }
  .sidebar .brand {
    padding: 0;
    max-width: 175px;
    font-size: 22px;
  }
  .sidebar .brand img {
    width: 26px;
    height: 26px;
  }
  .workspace-label {
    display: none;
  }
  .workspace[data-navigation-ready] .nav-toggle {
    display: inline-flex;
    position: absolute;
    right: 18px;
    top: 16px;
    gap: 14px;
    background: transparent;
    font-size: 11px;
  }
  .workspace[data-navigation-ready]:not(.navigation-open) .sidebar nav,
  .workspace[data-navigation-ready]:not(.navigation-open) .sidebar-foot {
    display: none;
  }
  .sidebar nav {
    padding-top: 24px;
  }
  .sidebar-foot {
    position: static;
    margin-top: 20px;
    padding: 16px 12px 0;
  }
  .navigation-open .sidebar nav {
    display: block;
    padding-top: 24px;
    overflow: visible;
  }
  .navigation-open .sidebar-foot {
    display: block;
    position: static;
    margin-top: 20px;
    padding: 16px 12px 0;
  }
  .sidebar-foot p {
    display: block;
  }
  .sidebar-foot button {
    width: 100%;
  }
  .primary-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .sidebar .nav-label {
    display: block;
    grid-column: 1/-1;
    margin: 0 0 5px;
  }
  .sidebar .section-label {
    margin-top: 13px;
  }
  .sidebar nav button {
    width: 100%;
    min-width: 0;
    padding: 10px;
    min-height: 42px;
    font-size: 12px;
  }
  .sidebar nav button > span {
    display: flex;
  }
  .settings-nav,
  .settings-nav[open] {
    position: static;
    margin-top: 15px;
    padding: 12px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .settings-nav summary {
    padding: 9px 10px;
  }
  .settings-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    margin: 10px 0 0;
    border: 0;
  }
  main {
    padding: 0 18px;
  }
  .topline {
    height: 44px;
    font-size: 10px;
  }
  .private-label {
    font-size: 0;
    gap: 0;
  }
  .page-header {
    padding: 23px 0 19px;
    align-items: flex-start;
    gap: 12px;
  }
  .page-header h1 {
    font-size: 27px;
  }
  .page-header p:last-child {
    font-size: 11px;
  }
  .page-header .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .actions button {
    min-height: 36px;
    font-size: 11px;
  }
  .freshness {
    font-size: 9px;
  }
  .scope-control > span {
    display: none;
  }
  .autopilot-hero {
    padding: 22px;
    min-height: 0;
    flex-direction: column;
    gap: 17px;
  }
  .autopilot-hero h2 {
    font-size: 25px;
  }
  .autopilot-hero p {
    font-size: 12px;
  }
  .autopilot-hero-actions {
    flex-direction: row;
    align-items: center;
    width: 100%;
  }
  .autopilot-hero-actions .primary {
    flex: 1;
  }
  .autopilot-stats {
    gap: 10px;
  }
  .autopilot-stat {
    padding: 15px;
  }
  .autopilot-stat strong {
    font-size: 27px;
    overflow-wrap: anywhere;
  }
  .section-caption {
    align-items: flex-start;
  }
  .section-caption p {
    font-size: 9px;
    text-align: right;
  }
  .autopilot-flow {
    padding: 17px;
    gap: 20px 12px;
  }
  .autopilot-flow li {
    padding-left: 27px;
  }
  .autopilot-flow span {
    font-size: 10px;
  }
  .panel-heading {
    padding: 16px;
    gap: 10px;
  }
  .panel-heading h2 {
    font-size: 13px;
  }
  .activity-row {
    padding: 16px;
  }
  .autopilot-queue .empty {
    min-height: 145px;
    padding: 25px 18px;
  }
  .candidate-card {
    padding: 18px;
  }
  .candidate-heading {
    flex-wrap: wrap;
  }
  .candidate-foot {
    gap: 12px;
  }
  .founder-mailbox {
    padding: 13px;
  }
  .founder-mailbox .tag {
    font-size: 9px;
  }
  .advanced-settings .operations-section {
    padding: 16px;
  }
  .conversation-pane {
    padding: 18px;
  }
  .conversation-heading h2 {
    font-size: 19px;
  }
  .conversation-message {
    padding: 16px;
  }
  .mailbox-strip {
    align-items: flex-start;
    gap: 12px;
  }
  .mailbox-strip .actions {
    flex-wrap: wrap;
  }
  .main-foot {
    font-size: 9px;
    padding: 25px 0 20px;
  }
  dialog {
    padding: 22px;
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }
  .dialog-heading h2 {
    font-size: 22px;
  }
  .notice {
    font-size: 11px;
  }
  .notice button {
    margin-left: 0;
    white-space: normal;
  }
  .gate-story {
    padding: 28px;
    gap: 32px;
  }
  .gate-story h1 {
    font-size: 47px;
  }
  .gate-access {
    padding: 35px 28px;
  }
}
/* The daily dashboard keeps configuration and diagnostics behind disclosures. */
.tools-nav + .settings-nav {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 0;
}
/* Dashboard information is compact enough to keep conversations in view. */
.dashboard .autopilot-hero {
  min-height: 0;
  margin-bottom: 18px;
  padding: 14px 16px;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 8px;
}
.dashboard .autopilot-hero h2 {
  display: inline;
  margin-left: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.dashboard .autopilot-status { margin-bottom: 0; vertical-align: middle; }
.dashboard .autopilot-hero p { margin-top: 6px; line-height: 1.5; color: var(--soft); }
.dashboard .autopilot-hero:not([data-status="Running"]) { border-left-color: var(--strong); }
.dashboard .autopilot-hero[data-status="Needs attention"] { border-left-color: #b87925; }
.dashboard-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
.dashboard-section-heading h2 { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.dashboard-section-heading .text-button { font-size: 12px; }
.dashboard .autopilot-stats {
  grid-template-columns: 1.65fr 1fr 1fr;
  gap: 0;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  overflow: hidden;
}
.dashboard .autopilot-stat {
  min-width: 0;
  padding: 18px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.dashboard .autopilot-stat + .autopilot-stat { border-left: 1px solid var(--line); }
.dashboard .autopilot-stat > p:first-child { font-size: 12px; font-weight: 550; color: var(--fg); }
.dashboard .autopilot-stat > strong { font-size: 32px; margin: 8px 0; max-width: 100%; overflow-wrap: anywhere; letter-spacing: -0.035em; }
.dashboard .autopilot-stat > .text-button { margin-top: auto; padding: 12px 0 0; font-size: 12px; }
.dashboard-progress-count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 8px 0 10px; }
.dashboard-progress-count strong { font-size: 32px; line-height: 1.3; max-width: 100%; overflow-wrap: anywhere; }
.dashboard-progress-count span { color: var(--soft); font-size: 12px; }
.dashboard .metric-unavailable { font-size: 20px !important; line-height: 1.7; color: var(--soft); }
.dashboard-progress progress { appearance: none; display: block; width: 100%; height: 5px; border: 0; border-radius: 8px; overflow: hidden; background: #e8eeea; color: var(--green); accent-color: var(--green); }
.dashboard-progress progress::-webkit-progress-bar { background: #e8eeea; }
.dashboard-progress progress::-webkit-progress-value { background: var(--green); border-radius: 8px; }
.dashboard-progress progress::-moz-progress-bar { background: var(--green); border-radius: 8px; }
.dashboard-progress .dashboard-progress-note { margin: 6px 0; color: var(--fg); font-size: 12px; }
.dashboard-progress .hint { font-size: 11px; line-height: 1.5; }
.dashboard-progress .dashboard-schedule { margin-top: 8px; color: var(--soft); font-size: 11px; }
.dashboard .autopilot-grid { gap: 16px; margin-bottom: 16px; }
.dashboard .autopilot-queue .panel-heading { min-height: 0; padding: 14px 16px; }
.dashboard .panel-heading h2 { font-size: 14px; }
.dashboard .panel-heading p { font-size: 11px; line-height: 1.5; margin-top: 3px; }
.dashboard .activity-row { padding: 12px 16px; }
.dashboard .activity-row strong { font-size: 13px; font-weight: 550; }
.dashboard .conversation-preview > span:last-child { text-align: right; line-height: 1.6; font-size: 11px; }
.dashboard .autopilot-queue .empty { min-height: 110px; padding: 24px 16px; }
.dashboard-reviews { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; background: var(--card); }
.dashboard-reviews > summary { padding: 13px 16px; cursor: pointer; font-size: 13px; font-weight: 550; }
.dashboard-reviews > summary span { margin-left: 8px; font-size: 12px; color: var(--soft); }
.dashboard-reviews[open] > summary { border-bottom: 1px solid var(--line); }
.dashboard-alert { align-items: center; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 16px; background: #fffaf0; border-color: #eee0be; border-radius: 8px; gap: 10px; }
.dashboard-alert strong { font-size: 12px; color: #76531c; }
.dashboard-alert button { margin-left: auto; }
.dashboard-alert p { margin-top: 3px; color: #765c32; font-size: 12px; }
.dashboard-freshness { border-bottom: 1px solid var(--line); margin-bottom: 0; }
.dashboard-freshness > summary { padding: 12px 0; cursor: pointer; font-size: 12px; color: var(--soft); }
.dashboard-freshness-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; padding: 0 0 14px; }
.dashboard-freshness .hint { margin: 0; font-size: 11px; }
.dashboard .advanced-settings { margin-top: 0; border-top: 0; }
@media (max-width: 1000px) {
  .dashboard .autopilot-stats { grid-template-columns: 1fr 1fr; }
  .dashboard .dashboard-progress { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .dashboard .dashboard-progress + .autopilot-stat { border-left: 0; }
  .dashboard .autopilot-hero { align-items: flex-start; flex-direction: column; }
  .dashboard .autopilot-hero-actions { align-self: stretch; justify-content: flex-end; }
}
@media (max-width: 700px) {
  .dashboard .autopilot-hero { padding: 12px; gap: 10px; }
  .dashboard .autopilot-hero h2 { display: block; margin: 6px 0 0; font-size: 15px; }
  .dashboard .autopilot-stat { padding: 14px; }
  .dashboard .autopilot-stat > strong, .dashboard-progress-count strong { font-size: 30px; }
  .dashboard .autopilot-stat > .text-button { white-space: normal; text-align: left; justify-content: flex-start; }
  .dashboard-section-heading h2 { font-size: 13px; }
  .dashboard-section-heading .text-button { font-size: 11px; }
  .dashboard-freshness-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.ui-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.conversation-row {
  align-items: stretch;
  text-align: left;
}


#sales-milestone-dialog {
  width: min(560px, calc(100vw - 32px));
}
#sales-milestone-form {
  display: grid;
  gap: 16px;
}
#sales-milestone-form input:not([type="checkbox"]),
#sales-milestone-form select {
  width: 100%;
}
#sales-milestone-form .dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

[aria-label="Review calibration"] pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 24rem; overflow: auto; font: inherit; padding: 1rem; background: var(--surface, #f5f6f3); }
[aria-label="Review calibration"] form { display: grid; gap: .75rem; max-width: 48rem; }
[aria-label="Review calibration"] label { display: grid; gap: .35rem; }

[aria-label="Writing trials"] form { display: grid; gap: .75rem; max-width: 48rem; }
[aria-label="Writing trials"] label { display: grid; gap: .35rem; }
