/* Neutral surfaces and typography; green is reserved for brand artwork and interactive accents. */
* {
  box-sizing: border-box;
}
html {
  font-family:
    Talle,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #000000;
  background: #ffffff;
  color-scheme: light dark;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.48;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #639e15;
  outline-offset: 3px;
}
button {
  border: 0;
  background: transparent;
  color: inherit;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -1.2px;
  line-height: 1.18;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
}
h3 {
  font-size: 16px;
  letter-spacing: -0.2px;
}
p {
  line-height: 1.55;
}
small,
.muted {
  color: #666666;
}
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-weight: 750;
  color: #666666;
}
.brand {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  text-decoration: none;
}
.brand-art {
  display: block;
  width: 139px;
  height: 40px;
  object-fit: contain;
}
.brand-dark {
  display: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 11px 17px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 650;
  text-decoration: none;
  min-height: 42px;
  white-space: normal;
}
.primary {
  background: #000000;
  color: #fff;
}
.apple-signin {
  background: #000000;
  color: #ffffff;
}
.lime {
  background: #b4f666;
  color: #192210;
}
.secondary {
  background: #fcfcfc;
  color: #333333;
}
.quiet {
  border: 1px solid #dddddd;
  background: transparent;
}
.danger {
  color: #a0392d;
  background: #fcfcfc;
}
.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.spread {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tight {
  gap: 9px;
}
.gap {
  gap: 24px;
}
.grow {
  flex: 1;
  min-width: 0;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 30px;
  padding: 5px 10px;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
  background: #fcfcfc;
  color: #333333;
}
.pill.positive {
  background: #fafafa;
  color: #333333;
}
.pill.pending {
  background: #fafafa;
  color: #404040;
}
.pill.warning {
  background: #fafafa;
  color: #a0392d;
}
.pill.line-status.pending {
  background: #ffdf99;
  color: #6b3d00;
}
.pill.line-status.positive {
  background: #89ff00;
  color: #122000;
}
.shell {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 30px 22px 22px;
  background: #fcfcfc;
  border-right: 1px solid #dddddd;
  gap: 26px;
}
.product-label {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 550;
  color: #666666;
}
.org-label {
  font-size: 11px;
  font-weight: 650;
  color: #666666;
  margin-bottom: 8px;
  display: block;
}
.org-picker {
  width: 100%;
  padding: 12px 30px 12px 12px;
  border: 1px solid #dddddd;
  background: #fff;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav button {
  text-align: left;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 580;
  color: #666666;
}
.nav-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 18px;
  width: 18px;
}
.nav-label {
  min-width: 0;
}
.nav button[aria-current="page"] {
  background: #f5f5f5;
  color: #000000;
  font-weight: 750;
}
.sidebar-foot {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
}
.account-email {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.sidebar-foot .btn {
  font-size: 12px;
  justify-content: flex-start;
  padding: 7px 0;
}
.content {
  min-width: 0;
  padding: 30px 36px 48px;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
}
.topbar {
  padding-bottom: 25px;
  border-bottom: 1px solid #dddddd;
  margin-bottom: 28px;
  min-height: 74px;
}
.topbar h1 {
  font-size: 28px;
}
.subline {
  margin-top: 7px;
  font-size: 13px;
  color: #666666;
}
.credit-block {
  text-align: right;
  padding-right: 16px;
  margin-right: 4px;
  border-right: 1px solid #dddddd;
}
.credit-block strong {
  display: block;
  font-size: 18px;
  font-weight: 750;
}
.credit-block span {
  font-size: 11px;
  color: #666666;
}
.notice {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  background: #fdfdfd;
  border: 1px solid #dddddd;
  border-radius: 15px;
  padding: 16px 18px;
  margin-bottom: 25px;
  font-size: 13px;
}
.notice p {
  margin-top: 3px;
  color: #666666;
}
.notice .btn {
  flex-shrink: 0;
}
.toolbar {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.segments {
  display: flex;
  gap: 4px;
  border: 1px solid #dddddd;
  border-radius: 11px;
  background: #fcfcfc;
  padding: 4px;
}
.segments button {
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 650;
  color: #666666;
}
.segments button[aria-pressed="true"] {
  background: #fff;
  color: #202020;
  box-shadow: 0 1px 3px #0000000d;
}
.search {
  max-width: 265px;
  width: 100%;
  position: relative;
}
.search input,
input.search {
  width: 100%;
  border: 1px solid #dddddd;
  border-radius: 11px;
  padding: 10px 13px;
  background: transparent;
  font-size: 13px;
  color: inherit;
}
.small-note {
  font-size: 11px;
  margin-top: 5px;
  color: #666666;
}
.split {
  display: grid;
  grid-template-columns: minmax(270px, 0.95fr) minmax(320px, 1.2fr);
  gap: 20px;
  align-items: start;
}
.list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.list-card {
  padding: 18px;
  background: #fff;
  border: 1px solid #dddddd;
  border-radius: 15px;
  text-align: left;
  width: 100%;
  transition:
    border-color 0.12s,
    background 0.12s;
}
.list-card[aria-selected="true"] {
  border-color: #999999;
  background: #fdfdfd;
  box-shadow: inset 3px 0 0 #99c958;
}
.list-card h3 {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  margin: 11px 0 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-card .meta {
  font-size: 11px;
  color: #666666;
}
.panel {
  background: #fff;
  border: 1px solid #dddddd;
  border-radius: 19px;
  padding: 25px;
  min-width: 0;
}
.detail {
  position: sticky;
  top: 24px;
}
.detail p.message-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 17px;
  line-height: 1.65;
  margin: 23px 0;
}
.detail .facts {
  border-top: 1px solid #f0f0f0;
  padding-top: 17px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.facts div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.facts dt {
  font-size: 11px;
  color: #666666;
}
.facts dd {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
}
.empty {
  padding: 50px 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border: 1px dashed #dddddd;
  border-radius: 19px;
  color: #333333;
  background: #fdfdfd;
}
.empty .empty-icon {
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #f8f8f8;
  width: 56px;
  height: 56px;
}
.empty p {
  font-size: 14px;
  max-width: 370px;
  color: #666666;
}
.empty .icon {
  width: 26px;
  height: 26px;
}
.section-heading {
  margin: 28px 0 16px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.metric strong {
  font-size: 30px;
  letter-spacing: -1px;
  display: block;
  margin: 14px 0 7px;
}
.metric p {
  font-size: 12px;
  color: #666666;
}
.table-wrap {
  overflow: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.table th {
  text-align: left;
  font-size: 11px;
  font-weight: 650;
  color: #666666;
  padding: 12px;
  border-bottom: 1px solid #dddddd;
  white-space: nowrap;
}
.table td {
  padding: 15px 12px;
  border-bottom: 1px solid #f0f0f0;
}
.table tr:last-child td {
  border-bottom: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.full {
  grid-column: 1/-1;
}
label.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 650;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #dddddd;
  border-radius: 10px;
  padding: 11px 12px;
  background: #fff;
  color: inherit;
  font-weight: 400;
  font-size: 14px;
  min-height: 43px;
}
.field textarea {
  resize: vertical;
  line-height: 1.6;
}
.field small {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 450;
}
.check input {
  width: 17px;
  height: 17px;
  accent-color: #567d29;
  flex: none;
  margin: 2px 0 0;
}
.error {
  color: #a94132;
  font-size: 13px;
  line-height: 1.5;
  background: #fcfcfc;
  border-radius: 10px;
  padding: 12px 14px;
  overflow-wrap: anywhere;
}
.error:empty {
  display: none;
}
.success {
  color: #333333;
  font-size: 13px;
  background: #fcfcfc;
  border-radius: 10px;
  padding: 12px 14px;
}
.loading {
  padding: 40px;
  text-align: center;
  color: #666666;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.step-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  background: #fcfcfc;
  color: #666666;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
}
.step.done .step-mark {
  background: #f8f8f8;
  color: #333333;
}
.step p {
  font-size: 12px;
  color: #666666;
  margin-top: 4px;
}
.rule {
  height: 1px;
  background: #f8f8f8;
  margin: 4px 0;
}
.thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 440px;
  overflow: auto;
  margin: 24px 0;
  padding: 4px;
}
.bubble {
  padding: 12px 15px;
  background: #fcfcfc;
  border-radius: 14px 14px 14px 3px;
  max-width: 90%;
  align-self: flex-start;
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.bubble.outgoing {
  align-self: flex-end;
  background: #f8f8f8;
  border-radius: 14px 14px 3px 14px;
}
.bubble small {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  opacity: 0.7;
}
.dialog {
  width: min(760px, calc(100% - 28px));
  border: 1px solid #dddddd;
  border-radius: 23px;
  background: #fcfcfc;
  color: inherit;
  box-shadow: 0 24px 120px #00000040;
  padding: 0;
  max-height: calc(100dvh - 32px);
}
.dialog::backdrop {
  background: #00000060;
  backdrop-filter: blur(5px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 23px 25px;
  border-bottom: 1px solid #dddddd;
  position: sticky;
  top: 0;
  background: #fcfcfc;
  z-index: 2;
}
.dialog-head h2 {
  font-size: 21px;
}
.dialog-body {
  padding: 24px 25px;
  display: flex;
  flex-direction: column;
  gap: 21px;
}
.dialog-foot {
  position: sticky;
  bottom: 0;
  border-top: 1px solid #dddddd;
  padding: 17px 25px;
  background: #fcfcfc;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.audience {
  max-height: 220px;
  overflow: auto;
  border: 1px solid #dddddd;
  border-radius: 13px;
  padding: 5px 13px;
}
.person-choice {
  padding: 11px 0;
  border-bottom: 1px solid #dddddd;
  display: flex;
  gap: 10px;
  align-items: center;
}
.person-choice:last-child {
  border: 0;
}
.person-choice input {
  width: 17px;
  height: 17px;
  accent-color: #567d29;
}
.person-choice span {
  font-size: 12px;
  display: block;
}
.person-choice small {
  font-size: 10px;
  margin-top: 3px;
  display: block;
}
.preview-bubble {
  background: #f8f8f8;
  border-radius: 15px;
  padding: 18px;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.quote {
  font-size: 12px;
  color: #666666;
  line-height: 1.6;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100dvh;
}
.auth-intro {
  background: #fcfcfc;
  display: flex;
  flex-direction: column;
  padding: 50px max(40px, 9vw);
  justify-content: space-between;
  gap: 50px;
}
.auth-copy h1 {
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.04;
  letter-spacing: -3px;
  margin: 20px 0;
}
.auth-copy p {
  font-size: 16px;
  color: #666666;
  max-width: 360px;
}
.auth-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 430px;
  width: 100%;
  padding: 45px 30px;
  margin: auto;
  gap: 22px;
}
.auth-card h2 {
  font-size: 29px;
}
.auth-card .btn {
  width: 100%;
}
.auth-art {
  background: #fff;
  border: 1px solid #dddddd;
  padding: 22px;
  border-radius: 20px;
  box-shadow: 0 14px 40px #00000010;
  max-width: 360px;
  transform: rotate(-2deg);
}
.auth-art p {
  font-size: 14px;
  margin: 14px 0 18px;
  line-height: 1.6;
}
.auth-footer {
  font-size: 11px;
  line-height: 1.65;
  color: #666666;
}
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #666666;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: #dddddd;
  flex: 1;
}
.boot {
  min-height: 90dvh;
  display: grid;
  align-content: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  color: #666666;
}
.skip {
  position: fixed;
  top: -80px;
  left: 15px;
  padding: 12px;
  background: #fff;
  z-index: 99;
}
.skip:focus {
  top: 15px;
}
#announcements {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 12px;
  background: #202020;
  color: white;
  font-size: 13px;
  padding: 13px 18px;
  max-width: min(90%, 600px);
  box-shadow: 0 7px 35px #0002;
  z-index: 100;
  pointer-events: none;
}
#announcements:empty {
  display: none;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.text-link {
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prewrap {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.pill-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mobile-back {
  display: none;
}
@media (min-width: 1500px) {
  .content {
    padding: 40px 55px;
  }
  .sidebar {
    padding: 38px 26px;
  }
  .shell {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 224px minmax(0, 1fr);
  }
  .sidebar {
    padding: 24px 16px;
  }
  .content {
    padding: 25px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .detail {
    position: static;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metric-grid > .metric:last-child {
    grid-column: 1/-1;
  }
  .auth-intro {
    padding: 40px;
  }
}
@media (max-width: 700px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 20px 18px 12px;
    gap: 16px;
    border-right: 0;
    border-bottom: 1px solid #dddddd;
  }
  .sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .product-label {
    margin: 0;
  }
  .org-label {
    display: none;
  }
  .org-picker {
    padding: 9px 12px;
  }
  .nav {
    flex-direction: row;
    gap: 3px;
    overflow-x: auto;
  }
  .nav button {
    padding: 10px 12px;
    flex: 0 0 auto;
    gap: 7px;
    font-size: 12px;
  }
  .nav .icon {
    width: 16px;
  }
  .sidebar-foot {
    margin: 0;
    padding: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .account-email {
    max-width: 220px;
    font-size: 10px;
  }
  .sidebar-foot .btn {
    min-height: 30px;
    padding: 2px 6px;
  }
  .sidebar-foot .help-link {
    display: none;
  }
  .content {
    padding: 23px 17px 35px;
  }
  .topbar {
    margin-bottom: 20px;
    padding-bottom: 20px;
    gap: 10px;
  }
  .topbar h1 {
    font-size: 25px;
  }
  .credit-block {
    display: none;
  }
  .notice {
    align-items: flex-start;
    padding: 14px;
    gap: 10px;
  }
  .notice p {
    font-size: 12px;
  }
  .notice .btn {
    font-size: 11px;
    min-height: 35px;
    padding: 8px;
  }
  .toolbar {
    gap: 12px;
  }
  .search {
    max-width: 100%;
  }
  .split {
    gap: 15px;
  }
  .panel {
    padding: 20px;
  }
  .metric-grid {
    gap: 10px;
  }
  .metric {
    padding: 16px;
  }
  .metric strong {
    font-size: 27px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .dialog {
    max-height: calc(100dvh - 18px);
    width: calc(100% - 18px);
    border-radius: 18px;
  }
  .dialog-head,
  .dialog-body {
    padding: 19px;
  }
  .dialog-foot {
    padding: 15px 19px;
    flex-wrap: wrap;
  }
  .dialog-foot .btn {
    flex: 1;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-intro {
    padding: 27px 27px 32px;
    gap: 20px;
  }
  .auth-copy h1 {
    font-size: 40px;
    letter-spacing: -2px;
    max-width: 380px;
    margin: 12px 0;
  }
  .auth-copy p {
    font-size: 14px;
  }
  .auth-art {
    display: none;
  }
  .auth-intro > .auth-footer {
    display: none;
  }
  .auth-card {
    padding-top: 35px;
    max-width: 470px;
  }
  .mobile-back {
    display: inline-flex;
  }
  .segments button {
    padding: 8px 12px;
  }
  .table td {
    padding: 12px 8px;
  }
  .brand {
    font-size: 25px;
  }
}
@media (prefers-color-scheme: dark) {
  html {
    background: #000000;
    color: #ffffff;
  }
  .sidebar,
  .auth-intro {
    background: #1b1b1b;
    border-color: #383838;
  }
  .brand-light { display: none; }
  .brand-dark { display: block; }
  .muted,
  small,
  .subline,
  .eyebrow,
  .product-label,
  .auth-copy p,
  .auth-footer,
  .org-label,
  .table th,
  .loading,
  .divider,
  .boot {
    color: #b3b3b3;
  }
  .org-picker,
  .panel,
  .list-card,
  .field input,
  .field textarea,
  .field select,
  .auth-art {
    background: #242424;
    border-color: #383838;
    color: #f3f3f3;
  }
  .apple-signin {
    background: #ffffff;
    color: #202020;
  }
  .primary {
    background: #b4ec74;
    color: #21300f;
  }
  .secondary,
  .segments,
  .bubble {
    background: #2c2c2c;
    color: #dedede;
  }
  .quiet {
    border-color: #505050;
  }
  .nav button {
    color: #b3b3b3;
  }
  .nav button[aria-current="page"],
  .list-card[aria-selected="true"],
  .segments button[aria-pressed="true"] {
    background: #393939;
    color: #f3f3f3;
  }
  .list-card[aria-selected="true"] {
    border-color: #505050;
  }
  .notice,
  .empty {
    color: #f3f3f3;
    background: #242424;
    border-color: #383838;
  }
  .notice p,
  .empty p,
  .quote {
    color: #b3b3b3;
  }
  .pill {
    background: #393939;
    color: #c4c4c4;
  }
  .pill.positive {
    background: #393939;
    color: #dedede;
  }
  .pill.pending {
    background: #393939;
    color: #dedede;
  }
  .pill.line-status.pending {
    background: #5a3a0a;
    color: #ffd58a;
  }
  .pill.warning {
    background: #393939;
    color: #f3b6a7;
  }
  .table th,
  .table td,
  .topbar,
  .credit-block,
  .segments,
  .detail .facts,
  .rule,
  .dialog-head,
  .dialog-foot,
  .person-choice {
    border-color: #383838;
  }
  .rule,
  .divider:before,
  .divider:after {
    background: #383838;
  }
  .search input,
  input.search,
  .audience {
    border-color: #383838;
  }
  .empty .empty-icon,
  .preview-bubble,
  .bubble.outgoing {
    background: #393939;
    color: #f3f3f3;
  }
  .dialog,
  .dialog-head,
  .dialog-foot {
    background: #242424;
    color: #f3f3f3;
    border-color: #383838;
  }
  .error,
  .danger {
    background: #2c2c2c;
    color: #f3b6a7;
  }
  .success {
    background: #2c2c2c;
    color: #dedede;
  }
  .dialog::backdrop {
    background: #000000b0;
  }
  .facts dt,
  .small-note,
  .list-card .meta,
  .metric p,
  .step p {
    color: #b3b3b3;
  }
  .step-mark {
    background: #393939;
    color: #c4c4c4;
  }
  .step.done .step-mark {
    background: #393939;
    color: #dedede;
  }
  .skip {
    background: #242424;
  }
  .secondary {
    color: #dedede;
  }
  .search input,
  input.search {
    color: #f3f3f3;
  }
  .field small {
    color: #b3b3b3;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .auth-art {
    transform: none;
  }
}
.break {
  overflow-wrap: anywhere;
}
.dialog.wide {
  max-width: 800px;
}
.dialog .dialog-body {
  max-height: 72vh;
  overflow-y: auto;
}
.checkout-target {
  min-height: 420px;
  background: white;
  color: #202020;
  border-radius: 16px;
}
.step-mark.done {
  background: #f8f8f8;
  color: #333333;
}
.auth-copy h1 {
  white-space: pre-line;
}
.nav .active {
  background: #f5f5f5;
  color: #000000;
  font-weight: 700;
}
.list-card.selected {
  border-color: #999999;
  background: #fdfdfd;
}
.check input,
.person-choice input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: #476f24;
}
.metric strong {
  overflow-wrap: anywhere;
}
dialog form input,
dialog form select,
dialog form textarea {
  max-width: 100%;
}
dialog form h3 {
  margin-top: 16px;
}
#announcements:empty {
  display: none;
}
#announcements:not(:empty) {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  max-width: min(580px, 90vw);
  background: #202020;
  color: white;
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: 0 8px 32px #0002;
  font-size: 14px;
}
@media (prefers-color-scheme: dark) {
  .nav .active {
    background: #393939;
    color: #f3f3f3;
  }
  .list-card.selected {
    background: #2c2c2c;
  }
  .step-mark.done {
    background: #393939;
    color: #dedede;
  }
}

/* Shared controls match the actual semantic elements used by the workspace. */
.sidebar {
  overflow-y: auto;
}
.nav .quiet,
.sidebar-foot .quiet {
  border-color: transparent;
}
.segments .selected {
  background: #fff;
  color: #202020;
  box-shadow: 0 1px 3px #0000000d;
}
.small-note {
  font-size: 13px;
}
label.field {
  font-size: 14px;
}
.check,
.table {
  font-size: 14px;
}
.bubble {
  font-size: 14px;
}
.bubble small {
  font-size: 12px;
}
.pill {
  font-size: 12px;
}
.metric {
  background: #fff;
  border: 1px solid #dddddd;
  border-radius: 16px;
  padding: 20px;
}
.sidebar-foot .btn {
  padding: 8px;
}
@media (min-width: 701px) {
  .sidebar {
    --row-inset: 12px;
    --label-inset: 42px;
  }
  .nav button,
  .sidebar-foot .btn {
    width: 100%;
    min-height: 42px;
    border: 1px solid transparent;
    text-align: left;
  }
  .nav button {
    padding: 10px var(--row-inset);
  }
  .nav .row {
    width: 100%;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    text-align: left;
  }
  .sidebar-foot {
    gap: 4px;
  }
  .sidebar-foot .btn {
    padding: 10px var(--row-inset) 10px var(--label-inset);
    font-size: 12px;
    line-height: 1.4;
  }
  .sidebar-foot .account-email {
    margin-top: 8px;
    padding: 16px var(--row-inset) 0 calc(var(--label-inset) + 1px);
    border-top: 1px solid #e5e5e5;
    font-size: 12px;
    line-height: 1.5;
    color: #666666;
    font-weight: 500;
  }
}
@media (min-width: 701px) and (prefers-color-scheme: dark) {
  .sidebar-foot .account-email {
    border-color: #383838;
    color: #b3b3b3;
  }
}
@media (min-width: 701px) and (max-height: 800px) {
  .sidebar {
    gap: 18px;
    padding-top: 22px;
    padding-bottom: 16px;
  }
  .nav button {
    min-height: 40px;
    padding-top: 9px;
    padding-bottom: 9px;
  }
  .sidebar-foot {
    padding-top: 12px;
  }
  .sidebar-foot .btn {
    min-height: 36px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .sidebar-foot .account-email {
    padding-top: 12px;
  }
}
.search {
  min-height: 42px;
}
.dialog {
  overflow: auto;
}
@media (max-width: 700px) {
  .sidebar-foot {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
  }
  .sidebar-foot .account-email {
    flex-basis: 100%;
    max-width: 100%;
    order: 1;
  }
  .nav .row {
    gap: 6px;
  }
  .metric strong {
    font-size: 23px;
  }
  .table {
    min-width: 520px;
  }
  .auth-copy h1 {
    font-size: 34px;
  }
}
@media (prefers-color-scheme: dark) {
  .segments .selected {
    background: #393939;
    color: #f3f3f3;
  }
  .metric {
    background: #242424;
    border-color: #383838;
  }
}
@media (max-width: 700px) {
  .sidebar-brand {
    justify-content: flex-start;
  }
  .nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }
  .nav button {
    justify-content: center;
    padding: 10px 5px;
    font-size: 12px;
  }
  .nav button .row {
    gap: 5px;
  }
}
/* Keep every form section intact inside the scrolling dialog. */
.dialog-body > * {
  flex-shrink: 0;
}
.dialog-body .audience {
  flex: none;
  min-height: 90px;
}
.dialog-body input[type="search"],
.dialog-body select {
  border: 1px solid #dddddd;
  border-radius: 10px;
  padding: 11px 12px;
  background: #fff;
  color: inherit;
  font-size: 14px;
  min-height: 43px;
  max-width: 100%;
}
.dialog-body input[type="search"] {
  flex: 1;
  min-width: 180px;
}
/* Mouse/trackpad feedback stays subtle and does not linger after touch taps. */
@media (hover: hover) and (pointer: fine) {
  a[href],
  button {
    transition:
      background-color 140ms ease,
      border-color 140ms ease,
      color 140ms ease,
      opacity 140ms ease;
  }
  :where(.btn, .segments button):not(:disabled):not([aria-disabled="true"]):hover {
    background-color: #f5f5f5;
  }
  :is(.nav .active, .segments .selected):not(:disabled):not([aria-disabled="true"]):hover {
    background-color: #efefef;
  }
  :is(.primary, .apple-signin):not(:disabled):not([aria-disabled="true"]):hover {
    background-color: #242424;
  }
  .lime:not(:disabled):not([aria-disabled="true"]):hover {
    background-color: #a9e85c;
  }
  .list-card:not(:disabled):not([aria-disabled="true"]):hover {
    background-color: #fafafa;
    border-color: #bbbbbb;
  }
  a.brand[href]:not([aria-disabled="true"]):hover {
    opacity: 0.82;
  }
  a[href]:not(.btn):not(.brand):not([aria-disabled="true"]):hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  @media (prefers-color-scheme: dark) {
    :where(.btn, .segments button):not(:disabled):not([aria-disabled="true"]):hover {
      background-color: #343434;
    }
    :is(.nav .active, .segments .selected):not(:disabled):not([aria-disabled="true"]):hover {
      background-color: #454545;
    }
    :is(.primary, .lime):not(:disabled):not([aria-disabled="true"]):hover {
      background-color: #c2f38c;
    }
    .apple-signin:not(:disabled):not([aria-disabled="true"]):hover {
      background-color: #eaeaea;
    }
    .list-card:not(:disabled):not([aria-disabled="true"]):hover {
      background-color: #2c2c2c;
      border-color: #666666;
    }
  }
}
@media (prefers-color-scheme: dark) {
  .dialog-body input[type="search"],
  .dialog-body select {
    background: #242424;
    border-color: #383838;
    color: #f3f3f3;
  }
}
