@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 400 750;
  font-display: swap;
}

.extension-frame {
  --app-ink: #142436;
  --app-muted: #536477;
  --app-label: #41566d;
  --app-blue: #124987;
  --app-border: #dbe4ee;
  --app-section-gap: 12px;
  --app-row-gap: 8px;
  color-scheme: light;
  width: 100%;
  height: min(100%, 614px);
  max-height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 1px solid #fff;
  border-radius: 23px;
  background: #f4f7fb;
  color: var(--app-ink);
  box-shadow:
    0 28px 85px #050b155f,
    0 0 0 7px #e9f2ff19;
  overflow: hidden;
}
.extension-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 19px;
  background: #ffffffed;
  border-bottom: 1px solid var(--app-border);
}
.extension-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--brand-font);
  font-weight: 700;
  letter-spacing: -0.045em;
}
.extension-content {
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #b4c6d9 transparent;
}
.app-panel {
  padding: 20px 21px;
}
.app-heading {
  margin-bottom: 14px;
}
.app-eyebrow,
.section-label {
  color: var(--app-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}
.app-heading h2 {
  font-family: "Bricolage Grotesque", Geist, var(--brand-font);
  font-weight: 725;
  letter-spacing: -0.04em;
  margin-top: 6px;
  color: var(--app-ink);
  font-size: 28px;
  line-height: 1.07;
}
.app-heading h2:first-child {
  margin-top: 0;
}
.app-heading h2:focus {
  outline: none;
}
.app-heading > p:last-child:not(.app-eyebrow) {
  margin-top: 7px;
  color: var(--app-muted);
  font-size: 13px;
  line-height: 1.45;
}
.role-tile,
.contact-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #cbdff3;
  border-radius: 13px;
  background: linear-gradient(125deg, #eaf3ff, #f4f8ff);
}
.role-tile strong {
  display: block;
  margin: 3px 0;
  font-size: 17px;
  letter-spacing: -0.027em;
}
.role-tile small {
  display: block;
  color: #3d6088;
  font-size: 11px;
  font-weight: 700;
}
.role-tile div > span {
  display: block;
  color: var(--app-muted);
  font-size: 12px;
}
.tile-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
}
.tile-icon .icon {
  width: 18px;
  height: 18px;
}
.tone-blue {
  background: #e1eefc;
  color: #17599a;
}
.tone-green {
  background: #e1f2e9;
  color: #24684b;
}
.tone-violet {
  background: #ede7f9;
  color: #5a4291;
}
.tone-amber {
  background: #f7ead0;
  color: #78551e;
}
.start-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--app-row-gap);
  margin-top: var(--app-section-gap);
}
.start-actions .action-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 8px;
}
.start-actions .tile-icon {
  width: 30px;
  height: 30px;
}
.start-actions .row-arrow {
  width: 13px;
  height: 13px;
}
.action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--app-border);
  border-radius: 11px;
  background: #fff;
}
.action-row:hover {
  background: #f0f7ff;
  border-color: #abc8e8;
}
.action-row strong,
.contact-tile strong {
  display: block;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
}
.action-row small,
.contact-tile small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--app-muted);
}
.row-arrow {
  margin-left: auto;
  width: 15px;
  height: 15px;
  color: #2e649c;
}
.contact-evidence,
.composer,
.email-preview,
.reply-card {
  padding: 14px;
  border: 1px solid var(--app-border);
  border-radius: 12px;
  background: #fff;
}
.scan-label {
  margin-bottom: 8px;
  color: var(--app-label);
  font-size: 13px;
}
.scan-requirements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--app-row-gap);
  margin: 0 0 var(--app-section-gap);
}
.scan-requirements > div {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--app-border);
  border-radius: 11px;
  background: #fff;
}
.scan-requirements > div:first-child {
  grid-column: 1 / -1;
  border-color: #cae4df;
  background: #eaf6f3;
}
.scan-requirements dd {
  margin: 4px 0 0;
}
.scan-requirements strong {
  display: block;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.scan-requirements dd span {
  display: block;
  margin-top: 3px;
  color: var(--app-label);
  font-size: 12px;
  line-height: 1.35;
}
.scan-requirements > div:first-child dd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.scan-requirements > div:first-child strong {
  color: #194c49;
  font-size: 30px;
  white-space: nowrap;
}
.scan-requirements > div:first-child dd span {
  max-width: 18ch;
  margin: 0;
}
.scan-source {
  margin-bottom: var(--app-section-gap);
  padding: 7px 10px;
  color: var(--app-blue);
}
.scan-source .tile-icon {
  width: 28px;
  height: 28px;
}
.contact-evidence {
  margin-bottom: var(--app-section-gap);
  background: linear-gradient(#f0faf5, #fff 58%);
}
.contact-evidence-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-evidence-header h3 {
  margin-top: 3px;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.contact-checks {
  margin: 10px 0 0;
}
.contact-checks > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3px 12px;
  padding: 8px 0;
  border-top: 1px solid var(--app-border);
  font-size: 12px;
  line-height: 1.35;
}
.contact-checks > div:last-child {
  padding-bottom: 0;
}
.contact-checks dt {
  color: var(--app-label);
}
.contact-checks dd {
  margin: 0;
  color: var(--app-ink);
  font-weight: 700;
}
.contact-checks dd[data-kind="checked"],
.contact-checks dd[data-kind="pending"] {
  padding-inline: 6px;
  border-radius: 4px;
  background: #e1f2e9;
  color: #246047;
}
.contact-checks dd[data-kind="pending"] {
  background: #f7ead0;
  color: #78551e;
}
.outreach-routes {
  margin-bottom: var(--app-section-gap);
}
.outreach-routes h3 {
  margin-bottom: 6px;
  color: var(--app-label);
  font-size: 12px;
  font-weight: 700;
}
.outreach-routes ol {
  list-style: none;
  margin: 0;
  padding: 0 10px;
  border: 1px solid var(--app-border);
  border-radius: 10px;
  background: #fff;
}
.outreach-routes li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-block: 7px;
  font-size: 13px;
}
.outreach-routes li + li {
  border-top: 1px solid var(--app-border);
}
.route-rank {
  min-width: 22px;
  color: var(--app-blue);
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  font-size: 11px;
}
.contact-tile {
  margin-bottom: var(--app-section-gap);
  background: #fff;
  border-color: var(--app-border);
}
.tight-tile {
  padding: 8px 10px;
}
.app-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #123f74;
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
}
.app-button .icon {
  width: 16px;
  height: 16px;
}
.app-button:hover {
  background: #0a2f59;
}
.app-button.secondary {
  background: #fff;
  border-color: #cbd8e7;
  color: #20466f;
}
.app-button.secondary:hover {
  background: #ebf4ff;
}
.app-button:disabled {
  opacity: 0.62;
  cursor: wait;
}
.compact-heading {
  margin-bottom: var(--app-section-gap);
}
.composer {
  padding: 0;
  margin-bottom: 10px;
  overflow: hidden;
}
.composer label:not(.sr-only) {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--app-border);
}
.composer label span {
  color: var(--app-label);
  font-size: 11px;
  font-weight: 700;
}
.composer input,
.composer textarea {
  border: 0;
  background: #fff;
  color: var(--app-ink);
  width: 100%;
  min-width: 0;
  font-size: 13px;
  line-height: 1.45;
}
.composer input {
  padding: 4px 3px;
}
.composer textarea {
  display: block;
  resize: vertical;
  min-height: 95px;
  max-height: 360px;
  height: clamp(124px, calc(100svh - 540px), 270px);
  overscroll-behavior-y: contain;
  padding: 10px;
}
.composer :is(input, textarea):focus-visible {
  outline-offset: -2px;
}
.email-preview {
  margin-bottom: var(--app-section-gap);
  padding: 12px;
  font-size: 13px;
  line-height: 1.42;
  overflow-wrap: anywhere;
}
.email-preview p {
  white-space: pre-wrap;
  margin-top: 7px;
  max-height: clamp(86px, 21svh, 190px);
  overflow: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.helper-text {
  margin-top: 9px;
  color: var(--app-muted);
  font-size: 11px;
  line-height: 1.45;
}
.helper-text[data-error] {
  color: #9f201b;
}
.helper-text:empty {
  margin: 0;
}
.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 3px;
  margin-bottom: 10px;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: #eaf0f7;
}
.segmented button {
  flex: 1 1 auto;
  border: 1px solid transparent;
  background: transparent;
  color: #38516b;
  border-radius: 5px;
  padding: 6px 4px;
  font-size: 11px;
  font-weight: 700;
}
.segmented button[aria-pressed="true"],
.segmented button[aria-selected="true"] {
  background: #fff;
  border-color: #cbd8e7;
  color: #113e73;
}
.activity-filters {
  gap: 5px;
  padding: 0;
  margin-bottom: var(--app-section-gap);
  border: 0;
  background: transparent;
}
.activity-filters button {
  min-height: 33px;
  padding-inline: 8px;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: #fff;
  color: var(--app-label);
  white-space: nowrap;
}
.activity-filters button:hover {
  border-color: #aebbc9;
}
.activity-filters button[aria-pressed="true"] {
  border-color: var(--app-blue);
  background: var(--app-blue);
  color: #fff;
}
.activity-list {
  display: grid;
  gap: 6px;
  margin-bottom: var(--app-section-gap);
}
.activity-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid var(--app-border);
  border-radius: 9px;
  background: #fff;
}
a.activity-item:hover {
  border-color: #aebbc9;
}
.activity-copy {
  min-width: 0;
}
.activity-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 7px;
  margin-top: 3px;
}
.activity-category {
  color: var(--app-muted);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.activity-title {
  font-family: "Bricolage Grotesque", Geist, var(--brand-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.026em;
}
.activity-detail {
  color: var(--app-label);
  font-size: 12px;
  line-height: 1.32;
}
.activity-item .tile-icon {
  width: 29px;
  height: 29px;
  background: #eff2f5;
  color: var(--app-label);
}
.activity-item .tile-icon .icon {
  width: 15px;
  height: 15px;
}
.activity-item .row-arrow {
  color: var(--app-label);
}
.reply-card {
  --reply-padding: 15px;
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
}
.reply-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px var(--reply-padding);
  border-bottom: 1px solid var(--app-border);
  background: #f8faff;
}
.reply-meta .tile-icon {
  width: 32px;
  height: 32px;
}
.reply-meta .icon {
  width: 17px;
  height: 17px;
}
.reply-sender {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}
.reply-channel {
  margin-inline-start: auto;
  color: var(--app-label);
  font-size: 11px;
  font-weight: 600;
}
.reply-context {
  margin-top: 2px;
  color: var(--app-muted);
  font-size: 12px;
  line-height: 1.3;
}
.reply-message {
  margin: 0;
  padding: 16px var(--reply-padding);
  font-size: 15px;
  line-height: 1.5;
}
.reply-message p + p {
  margin-top: 7px;
}
.reply-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 12px;
  margin: 9px 0 0;
  padding-inline-start: 16px;
  color: var(--app-label);
  font-size: 12px;
}
.reply-fields li::marker {
  color: #759bc4;
}
.reply-next {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px var(--reply-padding);
  border-top: 1px solid var(--app-border);
  background: #f4f8fc;
  color: var(--app-label);
  font-size: 12px;
  line-height: 1.4;
}
.reply-next .icon {
  width: 15px;
  height: 15px;
  color: var(--app-blue);
}
.reply-next strong {
  margin-inline-end: 5px;
  color: var(--app-blue);
}
.mobile-beta-back {
  display: none;
}
.beta-form {
  display: grid;
  gap: 8px;
}
.beta-form > label {
  color: var(--app-label);
  font-size: 12px;
  font-weight: 700;
}
.beta-form > input {
  min-height: 39px;
  padding: 8px 10px;
  border: 1px solid #c7d5e6;
  border-radius: 8px;
  background: #fff;
  color: var(--app-ink);
  font-size: 13px;
}
.beta-form > button {
  justify-self: start;
}
.faq-drawer {
  margin-top: 14px;
  padding: 9px 10px;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: #fff;
  color: #284667;
  font-size: 12px;
  line-height: 1.4;
}
.faq-drawer summary {
  cursor: pointer;
  padding-block: 3px;
  font-weight: 700;
}
.faq-drawer details {
  padding-top: 6px;
}
.faq-drawer p {
  padding: 4px 0;
  color: var(--app-muted);
}
.extension-controls {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-top: 1px solid var(--app-border);
  background: #ffffffed;
}
.extension-position {
  color: #365275;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.extension-direction {
  display: grid;
  place-items: center;
  min-height: 33px;
  border: 1px solid #d4dfeb;
  border-radius: 7px;
  background: #f4f8fd;
  color: #174f8a;
}
.extension-direction:hover {
  border-color: #8cacd2;
  background: #e7f1fd;
}
.extension-direction .icon {
  width: 16px;
  height: 16px;
}
.extension-direction.previous .icon {
  transform: rotate(180deg);
}
.extension-direction[aria-disabled="true"] {
  opacity: 0.36;
  pointer-events: none;
}
