:root {
  font: 100%/1.5 "Instrument Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #202b25;
  background: #f5f6f1;
  --surface: #fff;
  --border: #dce3d9;
  --muted: #526357;
  --action: #22543b;
  --tint: #e7efe3;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--action); text-underline-offset: .18em; }
:focus-visible { outline: 2px solid #2d7d55; outline-offset: 3px; }
::selection { background: #cfe6bd; }
.top { background: #fff; color: #202b25; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; padding: .75rem max(1rem, calc((100% - 80rem) / 2)); min-height: 4rem; gap: .8rem; }
.brand-link { display: block; width: min(100%, 12rem); min-width: 0; }
.brand-link img { display: block; width: 100%; height: auto; }
.top .brand-link { flex: 0 1 12rem; }
.account, .switch, .panel-heading { display: flex; gap: .8rem; align-items: center; }
.mode { color: var(--muted); font-size: .8rem; }
.workspace { width: min(100% - 2rem, 80rem); margin: 2.25rem auto 4rem; }
.signin { width: min(100% - 2rem, 27rem); padding: 2rem; border: 1px solid var(--border); border-radius: .9rem; background: white; margin: min(11vh, 6rem) auto 2rem; }
.heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
h1, h2, p { margin: 0; }
h1 { font-size: 2.125rem; line-height: 1.15; letter-spacing: -.035em; }
h2 { font-size: 1.125rem; letter-spacing: -.018em; }
.context, .hint, small { color: var(--muted); font-size: .825rem; }
.context { margin-bottom: .3rem; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem); gap: 1.35rem; align-items: start; }
.panel { border: 1px solid var(--border); border-radius: .8rem; background: var(--surface); }
.panel-heading { justify-content: space-between; padding: 1rem 1.25rem; flex-wrap: wrap; }
.intake, .replies, .settings { padding: 1.15rem 1.25rem; }
.replies, .settings { margin-top: 1.15rem; }
.settings .fields { max-width: 32rem; }
.fields { display: grid; gap: .9rem; margin-top: 1rem; }
label { display: grid; gap: .28rem; font-size: .875rem; font-weight: 600; }
.check { display: flex; align-items: start; gap: .6rem; font-size: .8rem; font-weight: 500; }
input, select, textarea, button { font: inherit; border-radius: .38rem; }
input, select, textarea { background: white; color: inherit; border: 1px solid #aebdaf; padding: .52rem .6rem; width: 100%; min-width: 0; caret-color: var(--action); }
input[type="checkbox"] { width: auto; margin-top: .2rem; accent-color: var(--action); }
input[type="file"] { padding: .35rem; font-size: .8rem; }
button { background: var(--action); color: #fff; font-weight: 650; border: 1px solid transparent; padding: .52rem .85rem; cursor: pointer; justify-self: start; }
button:hover { background: #173d2b; }
.quiet { background: #fff; color: var(--action); border-color: #aebdaf; }
.quiet:hover { background: var(--tint); }
.switch { align-items: end; }
summary { cursor: pointer; font-weight: 650; }
.intake details, .replies details { border-top: 1px solid var(--border); margin-top: 1.1rem; padding-top: 1rem; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: .875rem; text-align: left; }
th, td { padding: .7rem 1rem; border-top: 1px solid var(--border); vertical-align: top; }
th { white-space: nowrap; background: #f5f8f2; font-weight: 650; }
td small { display: block; }
.empty { color: var(--muted); padding: .85rem 1rem; }
.replies .empty { padding-left: 0; }
.status { display: inline-block; padding: .1rem .5rem; background: #edf0eb; border-radius: .4rem; white-space: nowrap; }
.capitalize { text-transform: capitalize; }
.status.delivered { color: #205834; background: #e2f1e3; }
.status.failed, .status.uncertain, .status.blocked { color: #812e19; background: #fbeae3; }
.time { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.replies ul { list-style: none; padding: 0; margin: .8rem 0 0; }
.replies li { padding: .6rem 0; border-top: 1px solid var(--border); overflow-wrap: anywhere; }
.replies small { margin-left: .6rem; }
.feedback { margin: 0 0 1rem; background: var(--tint); padding: .75rem 1rem; border-radius: .4rem; }
.error { background: #fbeae3; color: #812e19; }
@media (max-width: 790px) {
  .workspace { margin-top: 1.5rem; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  aside { grid-row: 1; }
  .top { padding-inline: 1rem; }
  h1 { font-size: 1.75rem; }
}

/* Agency workspace */
.agency {
  --ink: #142844;
  --muted: #536580;
  --line: #e1e8f0;
  --blue: #285add;
  --blue-hover: #1947c1;
  color: var(--ink);
  background: #f3f6fa;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 14.5rem minmax(0, 1fr);
}
.agency :focus-visible { outline-color: var(--blue); }
.agency a { color: var(--blue); }
.agency svg { width: 1.15rem; height: 1.15rem; flex: none; }
.agency-sidebar { background: #fff; border-right: 1px solid var(--line); padding: 1.3rem .9rem; display: flex; flex-direction: column; gap: 2rem; position: sticky; top: 0; height: 100vh; }
.agency-sidebar form { margin-top: auto; padding-inline: .45rem; }
.agency-sidebar nav { display: grid; gap: .35rem; }
.agency-sidebar nav a { display: flex; align-items: center; gap: .65rem; padding: .7rem .75rem; border-radius: .5rem; color: #344d69; text-decoration: none; font-size: .9rem; font-weight: 650; }
.agency-sidebar nav a:hover { background: #edf3ff; }
.agency-sidebar nav a.selected { background: var(--blue); color: white; }
.agency-main { min-width: 0; }
.agency-top { height: 4.15rem; padding-inline: 2rem; background: white; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .87rem; font-weight: 650; }
.agency-mode { color: #405779; background: #edf2fa; border-radius: .38rem; padding: .25rem .6rem; font-size: .75rem; }
.agency-content { max-width: 85rem; padding: 2rem; margin: 0 auto; }
/* The right edge catches the amber light from the Limelight wordmark. */
.agency-heading {
  --header-ink: #080b3e;
  --header-light: #f49b04;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  min-height: 9.5rem;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  border-radius: .875rem;
  color: #fff;
  background:
    radial-gradient(ellipse at 100% 100%, #3e284d, transparent 56%),
    linear-gradient(105deg, var(--header-ink) 33%, #151b53 100%);
}
.agency-heading::before, .agency-heading::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.agency-heading::before {
  inset: 0 0 0 38%;
  background:
    linear-gradient(96deg, var(--header-ink), transparent 87%),
    conic-gradient(from 278deg at 100% 100%,
      transparent 0deg 5deg, #f49b0466 5deg 5.35deg,
      #f49b042e 5.35deg 12deg, #ffce745c 12deg 12.35deg,
      #f49b0438 12.35deg 24deg, #ffce747a 24deg 24.35deg,
      #f49b0452 24.35deg 37deg, #ffce746e 37deg 37.35deg,
      transparent 37.35deg);
  mask-image: linear-gradient(to right, transparent, #000 38%);
}
.agency-heading::after {
  width: 38%;
  height: 100%;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 100% 100%, #f49b0459, transparent 68%);
}
.agency-heading > div { min-width: 0; overflow-wrap: anywhere; }
.agency-heading p { color: #e0e5fb; margin-top: .5rem; }
.agency .agency-heading .agency-primary {
  color: var(--header-ink);
  background: var(--header-light);
  border-color: var(--header-light);
}
.agency .agency-heading .agency-primary:hover {
  background: #ffbb47;
  border-color: #ffbb47;
}
.agency-heading a:focus-visible { outline: 2px solid #fff; }
.agency-heading h1 { font-size: 2rem; }
.agency .agency-primary, .agency .agency-secondary { display: inline-flex; gap: .45rem; align-items: center; justify-content: center; min-height: 2.65rem; border-radius: .48rem; padding: .45rem .85rem; border: 1px solid var(--line); font-size: .86rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.agency .agency-primary { background: var(--blue); color: white; border-color: var(--blue); }
.agency .agency-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.agency .agency-secondary { background: #fff; color: #354f72; }
.agency .agency-secondary:hover { background: #edf3ff; }
.agency-back { display: inline-block; margin-bottom: .65rem; font-size: .85rem; }
.agency-totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: .85rem; }
.agency-totals div { padding: 1rem 1.2rem; }
.agency-totals div + div { border-left: 1px solid var(--line); }
.agency-totals dt { font-size: .82rem; color: var(--muted); font-weight: 600; }
.agency-totals dd { margin: .23rem 0 0; font-size: 1.65rem; font-weight: 720; font-variant-numeric: tabular-nums; line-height: 1.15; }
.agency-columns { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(16rem, 1fr); gap: 1.25rem; align-items: start; }
.agency-business-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem);
  gap: 1.25rem;
  align-items: start;
}
.agency-business-layout > div { min-width: 0; }
.agency-business-layout .intake, .agency-business-layout .intake details { border-color: var(--line); }
.agency-business-layout .intake button:not(.quiet) { background: var(--blue); }
.agency-business-layout .intake button:not(.quiet):hover { background: var(--blue-hover); }
.agency-panel { background: white; border-radius: .85rem; border: 1px solid var(--line); min-width: 0; }
.agency-panel + .agency-panel { margin-top: 1.25rem; }
.agency-columns .agency-panel { margin-top: 0; }
.agency-panel-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: 1.15rem 1.2rem; flex-wrap: wrap; }
.agency-panel-head p { color: var(--muted); font-size: .83rem; margin-top: .2rem; }
.agency-search { display: flex; gap: .38rem; min-width: 0; }
.agency-search label { display: flex; align-items: center; position: relative; min-width: 0; }
.agency-search svg { position: absolute; left: .65rem; color: var(--muted); pointer-events: none; }
.agency-search input { padding-left: 2rem; max-width: 14rem; }
.agency input, .agency select { border-color: #bac8da; }
.agency-empty { color: var(--muted); padding: .95rem 1.2rem 1.2rem; border-top: 1px solid var(--line); font-size: .9rem; }
.agency-business { display: flex; align-items: center; gap: .75rem; padding: .82rem 1.2rem; border-top: 1px solid var(--line); text-decoration: none; }
.agency-business:last-child { border-radius: 0 0 .85rem .85rem; }
.agency-business:hover { background: #f4f7ff; }
.agency-avatar { display: grid; place-items: center; width: 2.45rem; height: 2.45rem; border-radius: .58rem; color: var(--blue); background: #eaf0ff; flex: none; }
.agency-business-name { flex: 1; min-width: 0; color: var(--ink); overflow-wrap: anywhere; }
.agency-business-name small, .agency-replies small { display: block; color: var(--muted); }
.agency-business-state { color: var(--muted); font-size: .78rem; text-align: right; }
.agency-business-state.has-issues { color: #993b1b; }
.agency-arrow { display: flex; color: #607695; }
.agency-replies { list-style: none; padding: 0; margin: 0; }
.agency-replies li { padding: .85rem 1.2rem; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.agency-replies p { margin-top: .35rem; }
.agency-form { max-width: 39rem; }
.agency-form .fields, .agency-simulation .fields { margin-top: 0; padding: 0 1.2rem 1.2rem; }
.agency-form-actions { display: flex; gap: .65rem; margin-top: .3rem; }
.agency-simulation summary { padding: .9rem 1.2rem; }
.agency .table-wrap { border-radius: 0 0 .85rem .85rem; }
.agency table th { background: #f4f7fb; }
@media (max-width: 1020px) {
  .agency { grid-template-columns: 12rem minmax(0, 1fr); }
  .agency-columns, .agency-business-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 670px) {
  .agency { display: block; }
  .agency-sidebar { position: static; height: auto; padding: .65rem .8rem; gap: .5rem; flex-direction: row; flex-wrap: wrap; justify-content: space-between; border-right: 0; }
  .agency-sidebar .brand-link { width: min(52%, 12rem); }
  .agency-sidebar nav { display: flex; gap: .2rem; order: 2; width: 100%; flex-wrap: wrap; }
  .agency-sidebar form { margin-top: 0; }
  .agency-sidebar nav a { padding: .56rem .48rem; font-size: .8rem; gap: .3rem; }
  .agency-top { height: 3rem; padding-inline: .9rem; }
  .agency-content { padding: 1.2rem .9rem 2rem; }
  .agency-heading { min-height: 0; padding: 1.25rem; gap: .85rem; }
  .agency-heading::before, .agency-heading::after { opacity: .5; }
  .agency-heading h1 { font-size: 1.7rem; }
  .agency-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agency-totals div:nth-child(3) { border-left: 0; }
  .agency-totals div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Review Flows */
.flow-workspace { --flow-ink: #080b3e; --flow-wire: #aab7cc; }
.flow-toolbar, .flow-draft, .flow-actions { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.flow-toolbar { justify-content: space-between; margin-bottom: 1rem; }
.flow-draft { color: var(--flow-ink); }
.flow-draft > span { width: .55rem; height: .55rem; border-radius: 50%; background: #f49b04; }
.flow-draft[data-status="published"] > span { background: #278450; }
.flow-draft small { color: var(--muted); }
.flow-workspace .agency-primary { background: var(--flow-ink); border-color: var(--flow-ink); }
.flow-workspace .agency-primary:hover { background: #22285b; }
.flow-columns { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(18rem, 1fr); gap: 1rem; align-items: start; }
.flow-canvas, .flow-sidebar { border-radius: .875rem; border: 1px solid var(--line); }
.flow-canvas {
  padding: 1rem 1.25rem 1.25rem;
  background: radial-gradient(ellipse at top right, #eeeaf8, transparent 58%), #eef3f9;
}
.flow-canvas-title { display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: var(--flow-ink); margin-bottom: 1rem; }
.flow-canvas-title span { color: var(--muted); font-weight: 650; font-size: .8125rem; }
.flow-spine { display: grid; justify-items: center; }
.flow-node {
  width: min(100%, 17rem);
  justify-self: center;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem .75rem;
  text-align: left;
  background: #fff;
  color: var(--flow-ink);
  border: 1px solid #b5c1d5;
  border-radius: .65rem;
  font-size: .875rem;
  line-height: 1.35;
  min-width: 0;
}
.flow-node:hover { background: #f8f9ff; border-color: #6476a0; }
.flow-node[aria-expanded="true"] { border-color: #080b3e; box-shadow: 0 0 0 1px #080b3e; }
.flow-node small { display: block; margin-top: .16rem; font-weight: 400; }
.flow-icon { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; color: #22285b; border-radius: .5rem; background: #eef0fa; }
.flow-icon-text { color: #205834; background: #e2f1e3; }
.flow-icon-clock { color: #6c4700; background: #fff0d2; }
.flow-line { height: .9rem; width: 1px; background: var(--flow-wire); }
.flow-split { position: relative; width: calc(50% + .3rem); margin-inline: auto; height: 1rem; border-bottom: 1px solid var(--flow-wire); }
.flow-split::before { content: ""; position: absolute; left: 50%; height: 100%; width: 1px; background: var(--flow-wire); }
.flow-branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.flow-branches > div { display: grid; justify-items: center; align-content: start; }
.flow-branches > div::before { content: ""; height: .55rem; width: 1px; background: var(--flow-wire); }
.flow-branches p { font-size: .8125rem; font-weight: 650; color: var(--flow-ink); margin-bottom: .42rem; }
.flow-optout { display: flex; align-items: center; justify-content: center; gap: .45rem; margin-top: 1.25rem; font-size: .8125rem; color: var(--muted); }
.flow-optout .flow-icon { background: transparent; width: 1.3rem; height: 1.3rem; }
.flow-sidebar { background: #fff; }
.flow-editor, .flow-dialog-body { padding: 1.25rem; display: grid; gap: .85rem; }
.flow-editor[hidden], .flow-feedback[hidden] { display: none; }
.flow-editor p, .flow-dialog-body > p { color: var(--muted); font-size: .875rem; }
.flow-editor textarea, .flow-dialog textarea { resize: vertical; }
.flow-load { display: flex; flex-wrap: wrap; gap: .55rem; align-items: end; }
.flow-load label { flex: 1 1 9rem; min-width: 0; }
.flow-fields { display: flex; flex-wrap: wrap; gap: .35rem; }
.flow-fields button { background: #eef0fa; color: #22285b; padding: .3rem .48rem; font-size: .8125rem; }
.flow-fields button:hover { background: #dfe4fa; }
.flow-save-template { border-top: 1px solid var(--line); padding-top: .75rem; }
.flow-save-template label { margin-block: .65rem; }
.flow-feedback { padding: .65rem .85rem; margin: 0 0 .85rem; background: #eef0fa; color: #22285b; border-radius: .5rem; }
.flow-dialog { width: min(calc(100% - 2rem), 33rem); max-height: calc(100dvh - 2rem); border: 1px solid var(--line); border-radius: .875rem; padding: 0; color: var(--flow-ink); }
.flow-dialog::backdrop { background: #080b3e80; }
.flow-dialog-head { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.flow-preview { margin: 0; padding-left: 1.35rem; }
.flow-preview li + li { margin-top: .75rem; }
.flow-preview li p { font-size: .875rem; color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 840px) {
  .flow-columns { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 430px) {
  .flow-canvas { padding-inline: .65rem; }
  .flow-branches .flow-node { flex-direction: column; align-items: start; }
}
.flow-follow-up { display: grid; justify-items: center; width: 100%; }
.flow-canvas-help { color: var(--muted); font-size: .875rem; margin: -.45rem 0 1rem; }
.flow-timing { display: grid; gap: .35rem; padding: .7rem .8rem; background: #f3f6fa; border-radius: .5rem; }
.flow-timing-anchor { display: inline; }
.flow-timing label { display: block; }
.flow-timing input { display: block; margin-top: .28rem; }

/* Customer conversations */
.agency-heading.inbox-page-heading { min-height: 0; padding-block: 1.2rem; }
.inbox {
  --inbox-line: var(--line, var(--border));
  --inbox-selected: #eef0fa;
  display: grid;
  grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr);
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--inbox-line);
  border-radius: .875rem;
}
.inbox-list { padding: .65rem; min-width: 0; }
.inbox-list h2 { padding: .65rem .65rem .45rem; }
.inbox-list p, .inbox-empty { color: var(--muted); padding: .65rem; }
.inbox-list p { font-size: .9rem; }
.inbox-list ul, .inbox-timeline { list-style: none; margin: 0; padding: 0; }
.inbox-list a {
  display: grid;
  gap: .15rem;
  padding: .6rem .65rem;
  text-decoration: none;
  border-radius: .5rem;
  color: inherit;
  overflow-wrap: anywhere;
}
.inbox-list a:hover { background: #f3f6fa; }
.inbox-list a[aria-current="page"] { background: var(--inbox-selected); color: #080b3e; }
.inbox-empty { padding: 1.3rem; border-inline-start: 1px solid var(--inbox-line); }
.inbox-thread { min-width: 0; border-inline-start: 1px solid var(--inbox-line); }
.inbox-thread-header, .inbox-composer { padding: 1rem 1.25rem; overflow-wrap: anywhere; }
.inbox-thread-header p { color: var(--muted); font-size: .875rem; }
.inbox-sequences { padding: .75rem 1.25rem; border-top: 1px solid var(--inbox-line); }
.inbox-sequences form { display: flex; align-items: center; justify-content: space-between; gap: .45rem 1rem; flex-wrap: wrap; }
.inbox-sequences form + form { margin-top: .65rem; padding-top: .65rem; border-top: 1px solid var(--inbox-line); }
.inbox-sequences p { color: var(--muted); font-size: .825rem; overflow-wrap: anywhere; }
.sequence-alerts { margin-bottom: 1rem; padding: .9rem 1.15rem; background: #fff7e8; border: 1px solid #ead7ae; border-radius: .875rem; }
.sequence-alerts ul { list-style: none; margin: .35rem 0 0; padding: 0; }
.sequence-alerts li { padding-block: .35rem; overflow-wrap: anywhere; }
.sequence-alerts li + li { border-top: 1px solid #ead7ae; }
.sequence-alerts li a { font-weight: 650; }
.sequence-alerts li small { margin-inline-start: .5rem; }
.sequence-alerts li p { font-size: .9rem; }
.inbox-back { display: inline-block; margin-bottom: .45rem; font-size: .875rem; }
.inbox .inbox-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  max-block-size: clamp(13rem, 35vh, 30rem);
  overflow-y: auto;
  background: #f7f9fc;
  border-block: 1px solid var(--inbox-line);
}
.inbox-message { max-width: min(88%, 44ch); min-width: min(100%, 13rem); }
.inbox-outgoing { align-self: end; }
.inbox-incoming { align-self: start; }
.inbox-message-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .15rem .6rem;
  margin-bottom: .2rem;
  font-size: .8rem;
  overflow-wrap: anywhere;
}
.inbox-message-meta time { color: var(--muted); font-variant-numeric: tabular-nums; }
.inbox-message p {
  padding: .65rem .8rem;
  border: 1px solid var(--inbox-line);
  border-radius: .7rem;
  background: white;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.inbox-outgoing p { background: var(--inbox-selected); }
.inbox-message-status { display: block; margin-top: .15rem; text-align: end; }
.inbox-optout { color: #812e19; }
.inbox-missing { color: var(--muted); }
.inbox-composer form { display: grid; gap: .65rem; }
.inbox-composer form > div { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.inbox-composer textarea { resize: vertical; }
@media (max-width: 660px) {
  .inbox { grid-template-columns: minmax(0, 1fr); }
  .inbox-open .inbox-list, .inbox-empty { display: none; }
  .inbox-thread { border-inline-start: 0; }
  .inbox .inbox-timeline, .inbox-thread-header, .inbox-sequences, .inbox-composer { padding: .85rem; }
  .inbox-message { max-width: 94%; }
}

/* Google reviews */
.review-actions, .review-toolbar, .review-filters, .review-byline, .review-meta, .review-pages {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem 1rem;
}
.review-panel, .review-setup {
  max-width: 62rem;
  background: var(--surface);
  border: 1px solid var(--line, var(--border));
  border-radius: .875rem;
}
.review-setup { padding: 1.25rem; }
.review-setup p { color: var(--muted); margin: .35rem 0 1rem; max-width: 60ch; }
.review-setup .fields { max-width: 35rem; }
.review-sample { color: #644713; background: #fff7e8; padding: .55rem 1.25rem; border-radius: .875rem .875rem 0 0; font-size: .85rem; }
.review-summary {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.5rem;
  align-items: stretch;
  padding: 1.25rem;
}
.review-summary h2 { font-size: .85rem; color: var(--muted); }
.review-summary > div + div { padding-inline-start: 1.5rem; border-inline-start: 1px solid var(--line, var(--border)); }
.review-score { display: flex; align-items: baseline; gap: .35rem; }
.review-score svg { align-self: center; }
.review-score strong, .review-count { font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.review-score span { color: var(--muted); font-size: .85rem; }
.review-toolbar { justify-content: space-between; padding: .7rem 1.25rem; border-block: 1px solid var(--line, var(--border)); }
.review-filters { gap: .3rem; }
.review-filters a { color: inherit; text-decoration: none; padding: .5rem .7rem; border-radius: .5rem; font-weight: 650; }
.review-filters a:hover { background: #f3f6fa; }
.review-filters a[aria-current="page"] { color: #080b3e; background: #eef0fa; }
.review-list { list-style: none; margin: 0; padding: 0; }
.review-list li { padding: 1.1rem 1.25rem; overflow-wrap: anywhere; }
.review-list li + li { border-top: 1px solid var(--line, var(--border)); }
.review-byline { justify-content: space-between; }
.review-byline h2 { font-size: 1rem; }
.review-meta { gap: .4rem; color: var(--muted); font-size: .85rem; }
.review-meta time { margin-inline-start: .3rem; }
.review-meta svg { width: .9rem; height: .9rem; }
.review-score svg, .review-meta svg { color: #98620b; }
.review-status { color: #205834; background: #e2f1e3; font-size: .8rem; padding: .2rem .5rem; border-radius: .4rem; }
.review-needs-reply { color: #644713; background: #fff1d5; }
.review-comment { margin-top: .5rem; max-width: 72ch; white-space: pre-wrap; }
.review-response { margin-top: .75rem; border-inline-start: 1px solid var(--line, var(--border)); padding-inline-start: .8rem; max-width: 72ch; font-size: .9rem; }
.review-response p { color: var(--muted); white-space: pre-wrap; }
.review-empty, .review-pages { padding: 1rem 1.25rem; }
.review-pages { border-top: 1px solid var(--line, var(--border)); }
.review-connection { margin-top: .85rem; }
.review-connection .review-actions { margin-top: .7rem; }
