/* Customer support entry shared by the commercial workspace. */
.v3-sidebar-support {
  display: none;
}

@media (min-width: 821px) {
  .v3-shell .v3-sidebar .sidebar-support-label {
    max-width: 168px;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    white-space: nowrap;
    transition:
      max-width .18s cubic-bezier(.2, .72, .2, 1) .075s,
      opacity .13s ease .08s,
      visibility 0s linear .075s;
  }

  .v3-sidebar-support {
    width: 100%;
    min-height: 42px;
    margin-top: auto;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #52647e;
    background: transparent;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    transition: color .16s ease, border-color .16s ease, background .16s ease;
  }

  .v3-sidebar-support + .v3-sidebar-toggle { margin-top: 6px; }

  .v3-sidebar-support:hover {
    border-color: #dce7f8;
    color: var(--v3-primary);
    background: #f3f7fd;
  }

  .v3-sidebar-support:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .16);
    outline-offset: 2px;
  }

  .v3-sidebar-support .nav-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
  }

  .v3-sidebar-support .sidebar-support-label {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
  }

  .v3-shell.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar .sidebar-support-label {
    max-width: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .v3-shell.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar-support {
    width: 40px;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    flex: 0 0 40px;
    padding: 0;
    align-self: center;
    justify-content: center;
  }
}

.customer-support-modal {
  width: min(620px, calc(100vw - 28px));
  border-radius: 22px;
}
.customer-support-modal .modal-body {
  padding: 0;
  background: #f6f8fc;
}
.customer-support-panel {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 22px;
}
.customer-support-panel > img {
  width: 100%;
  max-height: 334px;
  border: 1px solid #e1e7f0;
  border-radius: 17px;
  object-fit: contain;
  background: #fff;
}
.customer-support-panel > section {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.customer-support-panel > section > span {
  color: var(--v3-primary);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}
.customer-support-panel h3 {
  margin: 0;
  color: var(--v3-ink);
  font-size: 22px;
  letter-spacing: -.03em;
}
.customer-support-panel p {
  margin: 0;
  color: var(--v3-muted);
  font-size: 12px;
  line-height: 1.75;
}
.customer-support-wechat {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid #dce7fa;
  border-radius: 13px;
  background: #edf4ff;
}
.customer-support-wechat small {
  color: #75849a;
  font-size: 10px;
}
.customer-support-wechat strong {
  color: #17335d;
  font-size: 18px;
  letter-spacing: .04em;
}
.customer-support-panel .v3-btn {
  width: 100%;
  justify-content: center;
}
.customer-support-panel em {
  color: #8995a5;
  font-size: 10px;
  font-style: normal;
  line-height: 1.6;
}

@media (max-width: 620px) {
  .customer-support-modal {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 17px;
  }
  .customer-support-panel {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .customer-support-panel > img {
    width: min(230px, 100%);
    justify-self: center;
  }
}

/* Shared WeChat support surface. Keep original QR pixels on plain white. */
.customer-support-modal,
.customer-support-dialog {
  width: min(600px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  border: 1px solid #e1e7f1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(26, 42, 79, .18);
  overflow: hidden;
}
.customer-support-modal > header,
.customer-support-dialog header {
  padding: 17px 24px;
  border-bottom: 1px solid #edf0f6;
  background: #fff;
  color: #1d2e4a;
}
.customer-support-modal > header strong { font-size: 14px; font-weight: 600; }
.customer-support-modal > header button,
.customer-support-close {
  min-height: 32px; padding: 5px 12px; border: 1px solid #e6ebf4;
  border-radius: 9px; background: #f7f9fc; color: #61718a;
  font-size: 12px; font-weight: 500; cursor: pointer;
}
.customer-support-modal > header button:hover,
.customer-support-close:hover { background: #edf1ff; color: #4e5cc7; }
.customer-support-modal .modal-body { padding: 0; background: #fff; min-height: 0; overflow-y: auto; }
.customer-support-panel,
.customer-support-content {
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: start;
  padding: 24px; gap: 22px; min-height: 0;
  background: linear-gradient(145deg, #f6f8ff 0%, #fff 48%);
}
.customer-support-panel > .support-intro { display: flex; align-items: center; gap: 14px; }
.support-brand-icon {
  display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px;
  background: #fff; border: 1px solid #e7ebf7; border-radius: 14px;
  box-shadow: 0 4px 12px #3545a308;
}
.support-brand-icon img { width: 34px; height: 34px; object-fit: contain; }
.support-brand-icon .support-brand-dark { display: none; }
html[data-theme="dark"][data-theme-page] .customer-support-panel .support-brand-icon {
  background: linear-gradient(145deg,#24262c,#17181d);
  border-color: rgba(255,255,255,.12);
  box-shadow: inset 0 1px rgba(255,255,255,.045),0 4px 14px rgba(0,0,0,.18);
}
html[data-theme="dark"] .support-brand-icon .support-brand-light { display: none; }
html[data-theme="dark"] .support-brand-icon .support-brand-dark { display: block; filter: brightness(1.2); }
.support-intro-copy { min-width: 0; }
.support-intro-copy > span { display: block; margin-bottom: 5px; font-size: 11px; font-weight: 600; color: #6c73bc; }
.customer-support-panel .support-intro h3 { margin: 0; color: #1d2e4a; font-size: 21px; line-height: 1.45; font-weight: 650; letter-spacing: -.02em; }
.customer-support-panel .support-intro p,
.customer-support-details > p { margin: 7px 0 0; color: #7b879b; font-size: 12px; line-height: 1.7; }
.customer-support-qrs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.customer-support-qrs figure {
  margin: 0; min-width: 0; width: min(260px, 100%); justify-self: center; box-sizing: border-box; padding: 18px 16px 16px;
  border: 1px solid #e4e9f3; border-radius: 16px; background: #fff; text-align: center;
  box-shadow: 0 4px 16px #34487804;
}
.customer-support-qrs img { display: block; width: 100%; max-width: 200px; height: auto; aspect-ratio: 1; margin: 0 auto; object-fit: contain; background: #fff; }
.customer-support-qrs figcaption { margin: 12px 0 8px; color: #263957; font-size: 14px; font-weight: 600; }
.support-save-qr { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 4px 14px; border: 1px solid #e7eafa; border-radius: 8px; color: #5c66ba; background: #f7f8ff; font-size: 12px; text-decoration: none; }
.support-save-qr:hover { color: #414fa9; background: #edf0ff; border-color: #d6ddf8; }
.support-save-qr:focus-visible { outline: 2px solid #7c87dd; outline-offset: 3px; }
.customer-support-panel .support-contact-hint,
.customer-support-content .support-contact-hint { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding-top: 16px; border-top: 1px solid #edf0f6; color: #8a95a7; font-size: 11px; line-height: 1.7; }
.support-contact-hint > span { display: inline-grid; place-items: center; width: 15px; height: 15px; flex: 0 0 15px; margin-top: 2px; border: 1px solid #bdc7d8; border-radius: 50%; font-size: 10px; font-style: normal; }
.customer-support-dialog-inner { display: grid; max-height: calc(100dvh - 34px); grid-template-rows: auto minmax(0, 1fr); }
.customer-support-content { overflow-y: auto; }
.customer-support-dialog header span { color: #6c73bc; font-weight: 600; }
.customer-support-dialog h2 { color: #1d2e4a; font-weight: 650; }
@media (max-width: 520px) {
  .customer-support-modal,.customer-support-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 18px; }
  .customer-support-modal > header,.customer-support-dialog header { padding: 14px 18px; }
  .customer-support-panel,.customer-support-content { padding: 20px 18px; gap: 18px; }
  .customer-support-panel .support-intro h3 { font-size: 19px; }
  .support-brand-icon { width: 42px; height: 42px; flex-basis: 42px; }
  .customer-support-panel > .support-intro { gap: 11px; }
  .customer-support-qrs { grid-template-columns: minmax(0, 1fr); }
  .customer-support-qrs figure { width: min(260px, 100%); justify-self: center; box-sizing: border-box; }
  .customer-support-qrs img { max-width: 188px; }
}

/* Personal space uses the workbench's blue, white and quiet borders. */
.content.route-personal { width:100%; max-width:1440px; margin:0 auto; padding:28px 32px 44px; }
.personal-center { color:#1c2e50; }
.personal-center [hidden] { display:none!important; }
.pc-page-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 24px; }
.pc-page-heading h1 { margin:0; font-size:25px; font-weight:700; letter-spacing:-.6px; }
.pc-page-heading p { margin:7px 0 0; color:#8795ae; font-size:12px; }
.pc-layout { display:grid; grid-template-columns:330px minmax(0,1fr); align-items:start; gap:22px; }
.pc-sidebar { display:grid; min-width:0; gap:20px; }
.pc-card { min-width:0; border:1px solid #e1e8f3; border-radius:18px; background:#fff; box-shadow:0 7px 24px #23416e05; }
.pc-profile { padding:23px 22px 13px; }
.pc-profile > header { display:flex; align-items:center; gap:13px; padding-bottom:21px; }
.pc-profile > header img { width:50px; height:50px; flex:none; padding:8px; background:#f0f4ff; border-radius:15px; }
.pc-profile > header div { min-width:0; }
.pc-profile h2 { margin:0 0 6px; font-size:17px; font-weight:650; overflow-wrap:anywhere; }
.pc-profile > header span { font-size:10px; color:#8292af; }
.pc-profile dl { display:grid; gap:17px; margin:0; padding:20px 0; border-block:1px solid #edf1f7; }
.pc-profile dl > div { display:flex; justify-content:space-between; align-items:center; gap:14px; }
.pc-profile dt { display:flex; align-items:center; gap:7px; white-space:nowrap; color:#8a98ad; font-size:11px; }
.pc-profile dt svg { width:15px; height:15px; }
.pc-profile dd { margin:0; min-width:0; color:#50617b; font-size:11px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pc-profile-edit { border:0; }
.pc-profile-edit + .pc-profile-edit { border-top:1px solid #f0f3f8; }
.pc-profile-edit summary { display:flex; align-items:center; gap:8px; min-height:43px; cursor:pointer; color:#5c7197; font-size:11px; list-style:none; }
.pc-profile-edit summary::-webkit-details-marker,.pc-resources summary::-webkit-details-marker { display:none; }
.pc-profile-edit summary svg { width:15px; height:15px; }
.pc-profile-edit summary svg:last-child { margin-left:auto; width:13px; transition:transform .2s; }
.pc-profile-edit[open] summary svg:last-child { transform:rotate(180deg); }
.pc-profile-edit form { display:grid; gap:13px; padding:5px 0 17px; }
.pc-profile-edit label { display:grid; gap:6px; font-size:11px; color:#71819b; }
.pc-profile-edit input { min-width:0; width:100%; min-height:39px; padding:9px 11px; border:1px solid #dfe6f2; border-radius:9px; color:#263b61; background:#fbfcff; font-size:12px; }
.pc-profile-edit input:focus { outline:0; border-color:#829bf4; box-shadow:0 0 0 3px #4368e710; }
.pc-profile-edit small { font-size:10px; color:#90a0b6; }
.pc-binding-actions { display:flex; flex-wrap:wrap; gap:8px; margin:10px 0 8px; }
.pc-binding-actions:empty { display:none; }
.pc-binding-note { display:block; margin:8px 0 12px; font-size:10px; color:#71819b; }
.personal-center .v3-btn { display:inline-flex; align-items:center; justify-content:center; gap:7px; border-radius:9px; font-size:11px; min-height:36px; }
.personal-center .v3-btn.primary { background:linear-gradient(110deg,#3967f0,#5864ed); border-color:transparent; box-shadow:0 5px 12px #4769e319; }
.pc-wallet { padding:22px; }
.pc-wallet-heading { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.pc-wallet-heading > span { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:650; }
.pc-wallet-heading svg { width:18px; height:18px; color:#5275e9; }
.pc-wallet-heading b { padding:4px 8px; border-radius:6px; background:#eef3ff; font-size:10px; color:#5574c2; font-weight:500; }
.pc-balance { display:grid; gap:6px; padding-top:24px; }
.pc-balance > span { display:flex; gap:8px; color:#8696b1; font-size:11px; }
.pc-balance small { font-size:10px; }
.pc-balance > strong { color:#3d63e8; font-size:36px; font-weight:650; line-height:1.2; letter-spacing:-1px; font-variant-numeric:tabular-nums; }
.pc-balance-track { height:4px; margin:16px 0 21px; background:#edf1fa; border-radius:4px; overflow:hidden; }
.pc-balance-track i { display:block; height:100%; background:linear-gradient(90deg,#426cf3,#8b9dff); border-radius:inherit; transition:width .45s ease; }
.pc-wallet-facts { display:grid; grid-template-columns:1fr 1fr; gap:14px 12px; }
.pc-wallet-facts > div { display:grid; gap:7px; }
.pc-wallet-facts > div:last-child { grid-column:1/-1; padding-top:12px; border-top:1px solid #eef2f8; display:flex; justify-content:space-between; }
.pc-wallet-facts span { font-size:10px; color:#8a99b1; }
.pc-wallet-facts strong { font-size:16px; font-weight:600; font-variant-numeric:tabular-nums; }
.pc-wallet-facts small { margin-left:4px; color:#94a0b4; font-size:10px; font-weight:400; }
.pc-wallet-facts > div:last-child strong { font-size:12px; }
.pc-wallet-period { display:grid; gap:5px; margin:19px 0 17px; font-size:10px; color:#8c9ab1; line-height:1.6; }
.pc-wallet-actions { display:flex; gap:8px; }
.pc-wallet-actions > button:first-child { flex:1; }
.pc-plan-expiry { margin:12px 0 0; text-align:center; font-size:9px; color:#95a2b7; line-height:1.7; }
.pc-resources { border-top:1px solid #edf1f7; margin-top:17px; padding-top:12px; }
.pc-resources summary { display:flex; justify-content:space-between; align-items:center; cursor:pointer; list-style:none; color:#7184a3; font-size:11px; }
.pc-resources summary svg { width:13px; height:13px; }
.pc-resources > div { display:grid; gap:13px; margin-top:17px; }
.pc-resources > div span { display:flex; justify-content:space-between; color:#8e9cb0; font-size:11px; }
.pc-resources b { color:#647896; font-weight:500; }
.pc-activity { padding:25px 26px; min-height:635px; container-type:inline-size; }
.pc-activity-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.pc-activity-heading > div { display:flex; align-items:center; gap:9px; }
.pc-activity-heading svg { width:19px; height:19px; color:#647feb; }
.pc-activity-heading h2 { margin:0; font-size:15px; font-weight:650; }
.pc-activity-heading > span { font-size:10px; color:#9aa7ba; }
.pc-tabs { display:flex; gap:8px; margin:24px 0 22px; border-bottom:1px solid #edf1f7; }
.pc-tabs button { position:relative; padding:0 12px 13px; border:0; background:transparent; color:#8b98ac; font-size:12px; }
.pc-tabs button[aria-pressed=true] { color:#3963df; font-weight:600; }
.pc-tabs button[aria-pressed=true]::after { content:''; position:absolute; bottom:-1px; height:2px; background:#5277ef; left:12px; right:12px; border-radius:2px; }
.personal-ledger .cl-overview { display:none; }
.personal-ledger .cl-record-heading { margin:0 0 15px; }
.personal-ledger .cl-record-heading h3 { font-size:12px; color:#7889a3; font-weight:500; }
.personal-ledger .cl-record-heading > small { font-size:10px; }
.personal-ledger .cl-filters { gap:10px; padding:14px; background:#f7f9fd; }
.personal-ledger .cl-filters label { flex-basis:calc(50% - 10px); }
.personal-ledger .cl-filters .cl-button { align-self:end; }
.personal-ledger .cl-table-wrap { overflow-x:auto; }
.personal-ledger .cl-table { width:100%; border-collapse:collapse; text-align:left; }
.personal-ledger .cl-button { display:inline-flex; align-items:center; justify-content:center; min-height:34px; padding:7px 13px; border:1px solid #dfe7f4; border-radius:8px; background:#fff; color:#677d9f; font:inherit; font-size:11px; cursor:pointer; transition:background .2s,border-color .2s; }
.personal-ledger .cl-button:hover:not(:disabled) { border-color:#acc0f3; background:#eef3ff; color:#3d64cf; }
.personal-ledger .cl-button:disabled { opacity:.45; cursor:default; }
.personal-ledger .cl-primary { border-color:transparent; background:#466de8; color:#fff; }
.personal-ledger .cl-table th { font-size:10px; white-space:nowrap; padding:13px 10px; }
.personal-ledger .cl-table td { padding:15px 10px; font-size:11px; }
.personal-ledger .cl-purpose strong { font-size:11px; }
.personal-ledger .cl-row-icon { display:none; }
.personal-ledger .cl-time { white-space:nowrap; }
.personal-ledger .cl-empty { min-height:220px; align-content:center; }
.personal-ledger .cl-rate-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.personal-ledger .cl-footnote { line-height:1.8; }
.personal-ledger[aria-busy=true] .cl-ledger { opacity:.55; pointer-events:none; }
.pc-loading { display:grid; justify-items:center; align-content:center; gap:14px; min-height:220px; padding:25px; color:#8997ae; font-size:12px; }
.pc-loading p { margin:0; font-size:11px; }
.personal-center .tenant-device-panel { margin:0; padding:0; border:0; box-shadow:none; }
.pc-session-footer { display:flex; align-items:center; justify-content:space-between; gap:14px; padding-top:22px; border-top:1px solid #edf1f7; margin-top:24px; }
.pc-session-footer span { font-size:11px; color:#93a0b5; }
.pc-session-footer button { color:#ac6672; }
.personal-center :is(button,summary):focus-visible { outline:2px solid #8199f2; outline-offset:3px; }
@container(min-width:740px) {
 .personal-ledger .cl-filters { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)) auto; align-items:end; }
 .personal-ledger .cl-filters label { min-width:0; }
 .personal-ledger .cl-clear { grid-column:5; }
 .personal-ledger .cl-filter-error { grid-column:1/-1; }
}
@media(max-width:1180px) { .content.route-personal { padding:24px 22px 36px; } .pc-layout { grid-template-columns:290px minmax(0,1fr); gap:18px; } .pc-activity { padding:22px 18px; } }
@media(max-width:960px) { .pc-layout { grid-template-columns:1fr; } .pc-sidebar { grid-template-columns:1fr 1fr; align-items:start; } .pc-activity { min-height:480px; } }
@media(max-width:600px) { .content.route-personal { padding:20px 14px 30px; } .pc-page-heading h1 { font-size:22px; } .pc-page-heading p { font-size:11px; } .pc-sidebar { grid-template-columns:1fr; } .pc-card { border-radius:14px; } .pc-activity { padding:21px 15px; } .pc-activity-heading > span { display:none; } .personal-ledger .cl-record-heading { flex-wrap:wrap; } .personal-ledger .cl-table td { padding:0; } .personal-ledger .cl-account { padding-left:0!important; } .personal-ledger .cl-rate-grid { grid-template-columns:1fr; } .pc-session-footer { flex-wrap:wrap; } }
@media(prefers-reduced-motion:reduce) { .personal-center * { transition:none!important; } }

.account-connection-notice { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 24px; margin-bottom:20px; }
.account-connection-notice p,.account-connection-guide p { color:#64748b; line-height:1.7; margin:8px 0; }
.account-connection-notice .v3-card-actions { flex-shrink:0; }
@media(max-width:820px) { .account-connection-notice { flex-direction:column; align-items:stretch; padding:16px; gap:10px; } .account-connection-notice .v3-card-actions { display:flex; flex-wrap:wrap; } }

.connection-reminder-banner { position:fixed; z-index:980; top:88px; right:24px; display:grid; grid-template-columns:32px minmax(0,1fr) 24px; align-items:start; gap:10px 12px; width:min(420px,calc(100vw - 48px)); padding:16px; margin:0; box-sizing:border-box; border:1px solid rgba(226,194,135,.72); background:rgba(255,250,239,.96); border-radius:16px; color:#73501c; box-shadow:0 12px 38px rgba(58,46,22,.16),inset 0 1px #fff; backdrop-filter:blur(18px); animation:connection-reminder-enter .22s ease-out; transition:opacity .18s ease,transform .18s ease; }
.connection-reminder-banner > span,.connection-reminder-symbol { display:grid; place-items:center; width:38px; height:38px; flex-shrink:0; border-radius:12px; background:#fff0d2; }
.connection-reminder-banner svg,.connection-reminder-symbol svg { width:22px; height:22px; }
.connection-reminder-banner > span { width:32px; height:32px; border-radius:10px; }
.connection-reminder-banner > span svg { width:19px; height:19px; }
.connection-reminder-banner > div { min-width:0; }
.connection-reminder-banner small { display:block; margin-bottom:4px; font-size:11px; color:#9b7740; overflow-wrap:anywhere; }
.connection-reminder-banner strong { display:block; font-size:13px; line-height:1.5; }
.connection-reminder-banner p { margin:5px 0 0; font-size:11px; line-height:1.5; overflow-wrap:anywhere; }
.connection-reminder-banner > .v3-btn { grid-column:2 / -1; justify-self:end; min-height:32px; padding:6px 12px; border:1px solid #e7d4b2; border-radius:9px; background:#fff; color:#73501c; font-size:12px; cursor:pointer; }
.connection-reminder-collapse { display:grid; place-items:center; width:24px; height:24px; padding:3px; border:0; border-radius:6px; background:transparent; color:#9b7740; cursor:pointer; }
.connection-reminder-collapse svg { width:16px; height:16px; }
.connection-reminder-collapse:hover { background:#f6e8cb; }
.connection-reminder-banner button:focus-visible { outline:2px solid #b98936; outline-offset:3px; }
@keyframes connection-reminder-enter { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
@media(max-width:820px) { .connection-reminder-banner { top:auto; bottom:calc(82px + env(safe-area-inset-bottom,0px)); right:12px; width:min(420px,calc(100% - 24px)); padding:13px; } }
@media(prefers-reduced-motion:reduce) { .connection-reminder-banner { animation:none; } }
.connection-reminder-backdrop { position:fixed; inset:0; z-index:12000; display:grid; place-items:center; padding:20px; background:rgba(15,23,42,.48); overflow:auto; }
.connection-reminder-dialog { width:min(100%,520px); max-height:calc(100dvh - 40px); overflow:auto; background:var(--v3-surface,#fff); color:var(--text,#18243a); border-radius:22px; padding:26px; box-shadow:0 24px 80px #0f172a33; }
.connection-reminder-dialog header { display:flex; justify-content:space-between; align-items:center; }
.connection-reminder-symbol { color:#a96d14; }
.connection-reminder-dialog h2 { font-size:22px; margin:18px 0; line-height:1.4; }
.connection-reminder-dialog dl { margin:0; padding:14px 16px; border-radius:12px; background:#f3f6fc; color:#273c58; }
.connection-reminder-dialog dl > div { display:flex; gap:16px; margin:6px 0; }
.connection-reminder-dialog dt { color:#60718c; flex-shrink:0; }
.connection-reminder-dialog dd { margin:0; overflow-wrap:anywhere; }
.connection-reminder-dialog p,.connection-reminder-dialog li { font-size:14px; line-height:1.8; }
.connection-reminder-reassurance { padding:12px 14px; border-radius:12px; background:#f0f7f5; color:#365e55; }
.connection-reminder-dialog summary,.connection-email-settings summary { cursor:pointer; font-size:13px; }
.connection-reminder-dialog footer { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.connection-email-settings { padding:22px; margin-top:20px; }
.connection-email-settings h3 { margin:0 0 10px; }
.connection-email-settings p,.connection-email-settings li { font-size:13px; line-height:1.8; color:var(--muted,#64748b); }
.connection-email-toggle { display:flex; align-items:center; gap:10px; padding:10px 0; }
.connection-email-verify { display:flex; flex-wrap:wrap; gap:8px; }
.connection-email-verify input { width:160px; padding:9px 12px; border:1px solid #d6dfef; border-radius:9px; }
@media(max-width:600px) { .connection-reminder-dialog { padding:20px; }.connection-reminder-dialog h2 { font-size:20px; }.connection-reminder-dialog dl > div { flex-direction:column; gap:2px; } }

/* Referral center and the compact "more services" launcher. */
.v3-sidebar-services { display: none; }

@media (min-width: 821px) {
  .v3-sidebar-services {
    position: relative;
    width: 100%;
    margin-top: auto;
    display: block;
  }
  .v3-sidebar-services .v3-sidebar-support { margin-top: 0; }
  .v3-sidebar-services + .v3-sidebar-toggle { margin-top: 6px; }
  .v3-sidebar-services-menu {
    position: absolute;
    z-index: 45;
    left: 0;
    bottom: calc(100% + 8px);
    width: 232px;
    padding: 7px;
    border: 1px solid #dce5f2;
    border-radius: 15px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 45px rgba(18, 42, 76, .16);
    opacity: 0;
    transform: translateY(5px) scale(.98);
    transform-origin: left bottom;
    transition: opacity .15s ease, transform .15s ease;
  }
  .v3-sidebar-services-menu.is-open { opacity: 1; transform: none; }
  .v3-sidebar-services-menu button {
    width: 100%;
    min-height: 58px;
    padding: 10px;
    border: 0;
    border-radius: 11px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    color: #1a2d49;
    background: transparent;
    text-align: left;
    cursor: pointer;
  }
  .v3-sidebar-services-menu button:hover,
  .v3-sidebar-services-menu button:focus-visible { outline: 0; background: #f1f6ff; }
  .v3-sidebar-services-menu svg { width: 19px; height: 19px; color: var(--v3-primary); }
  .v3-sidebar-services-menu span { min-width: 0; display: grid; gap: 3px; }
  .v3-sidebar-services-menu strong { font-size: 12px; }
  .v3-sidebar-services-menu em { color: #7b899d; font-size: 9px; font-style: normal; white-space: nowrap; }
  .v3-shell.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar-services {
    width: 40px;
    align-self: center;
  }
  .v3-shell.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar-services-menu {
    left: 48px;
    bottom: 0;
  }
}

.referral-page {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 8px 0 36px;
  display: grid;
  gap: 18px;
}
.referral-hero {
  min-height: 326px;
  padding: 34px 40px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 232px;
  align-items: center;
  gap: 42px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(91, 164, 255, .65), transparent 31%),
    linear-gradient(135deg, #0b50c9 0%, #165fd7 48%, #143db8 100%);
  box-shadow: 0 18px 45px rgba(14, 76, 183, .2);
}
.referral-hero-copy { min-width: 0; display: grid; gap: 14px; }
.referral-kicker { font-size: 11px; font-weight: 800; letter-spacing: .09em; opacity: .82; }
.referral-hero h2 { max-width: 680px; margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.16; letter-spacing: -.045em; }
.referral-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.75; }
.referral-cocreator-progress { max-width: 700px; padding: 11px 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; display: grid; gap: 9px; background: rgba(3,31,104,.18); }
.referral-cocreator-progress > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.referral-cocreator-progress strong { color: #fff; font-size: 12px; }
.referral-cocreator-progress span { color: rgba(255,255,255,.76); font-size: 10px; white-space: nowrap; }
.referral-progress-track { height: 7px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.2); }
.referral-progress-track i { min-width: 0; height: 100%; display: block; border-radius: inherit; background: #fff; transition: width .25s ease; }
.referral-cocreator-progress.is-qualified .referral-progress-track i { background: #62e5b0; }
.referral-link-box { max-width: 700px; padding: 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; background: rgba(255,255,255,.1); backdrop-filter: blur(12px); }
.referral-link-box label { display: block; margin: 0 0 7px; color: rgba(255,255,255,.75); font-size: 10px; }
.referral-link-box > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.referral-link-box input { min-width: 0; height: 42px; padding: 0 13px; border: 0; border-radius: 10px; color: #27405f; background: #fff; font-size: 12px; }
.referral-link-box .v3-btn { min-height: 42px; padding: 0 16px; color: #114fbd; background: #fff; }
.referral-link-box .v3-btn svg { width: 15px; height: 15px; }
.referral-code { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.72); font-size: 11px; }
.referral-code strong { color: #fff; font-size: 14px; letter-spacing: .1em; }
.referral-code button { padding: 4px 8px; border: 0; border-radius: 7px; color: #fff; background: rgba(255,255,255,.14); cursor: pointer; }
.referral-qr-card { padding: 16px; border: 1px solid rgba(255,255,255,.26); border-radius: 20px; display: grid; justify-items: center; gap: 8px; background: rgba(255,255,255,.13); backdrop-filter: blur(16px); }
.referral-qr-card > div { width: 176px; height: 176px; padding: 8px; border-radius: 15px; background: #fff; }
.referral-qr-card img { width: 100%; height: 100%; display: block; object-fit: contain; }
.referral-qr-card strong { font-size: 13px; }
.referral-qr-card span { color: rgba(255,255,255,.7); font-size: 10px; }
.referral-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.referral-stats article { min-height: 112px; padding: 20px 22px; border: 1px solid var(--v3-line); border-radius: 18px; display: grid; grid-template-columns: 1fr auto; align-content: center; gap: 7px 12px; background: #fff; }
.referral-stats span { color: #596b83; font-size: 11px; font-weight: 700; }
.referral-stats strong { grid-row: span 2; align-self: center; color: var(--v3-primary); font-size: 32px; letter-spacing: -.04em; }
.referral-stats em { color: #95a0af; font-size: 9px; font-style: normal; }
.referral-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 14px; align-items: start; }
.referral-grid .v3-card { border-radius: 19px; }
.referral-records { min-height: 292px; padding: 22px; }
.referral-records > header { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.referral-records header div { display: grid; gap: 4px; }
.referral-records header span, .referral-rules > span { color: var(--v3-primary); font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.referral-records h3, .referral-rules h3 { margin: 0; color: var(--v3-ink); font-size: 19px; }
.referral-records header > em { color: #97a3b2; font-size: 9px; font-style: normal; }
.referral-record-list { margin-top: 16px; display: grid; }
.referral-record-list article { min-height: 62px; padding: 10px 4px; border-top: 1px solid #edf1f6; display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 10px; }
.referral-record-avatar { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: #165bd0; background: #eaf2ff; font-size: 13px; font-weight: 900; }
.referral-record-list article div { min-width: 0; display: grid; gap: 3px; }
.referral-record-list article strong { overflow: hidden; color: #1b2b43; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.referral-record-list article em { color: #8d99aa; font-size: 9px; font-style: normal; }
.referral-status { padding: 6px 9px; border-radius: 999px; color: #7c6224; background: #fff5d9; font-size: 9px; font-weight: 700; }
.referral-status.is-qualified { color: #18754d; background: #e9f8f1; }
.referral-empty { min-height: 210px; display: grid; place-content: center; justify-items: center; gap: 8px; color: #8b99aa; text-align: center; }
.referral-empty svg { width: 28px; height: 28px; color: #7ca5e7; }
.referral-empty strong { color: #3d4d65; font-size: 13px; }
.referral-empty p { max-width: 300px; margin: 0; font-size: 10px; line-height: 1.65; }
.referral-rules { padding: 22px; display: grid; gap: 10px; }
.referral-rules p { margin: 0; color: #6f7d90; font-size: 11px; line-height: 1.7; }
.referral-benefits { margin: 3px 0 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.referral-benefits li { display: grid; grid-template-columns: 20px minmax(0,1fr); align-items: center; gap: 7px; color: #344862; font-size: 10px; line-height: 1.5; }
.referral-benefits svg { width: 20px; height: 20px; padding: 4px; border-radius: 50%; color: #167350; background: #e7f7ef; }
.referral-rules details { margin-top: 4px; padding: 12px 0; border-top: 1px solid #edf1f6; border-bottom: 1px solid #edf1f6; }
.referral-rules summary { color: #31445e; font-size: 11px; font-weight: 750; cursor: pointer; }
.referral-rules ol { margin: 10px 0 0; padding-left: 17px; color: #748196; font-size: 10px; line-height: 1.75; }
.referral-rules > button { min-height: 38px; border: 1px solid #dce7f8; border-radius: 10px; color: #1f5fc1; background: #f3f7fd; font-weight: 700; cursor: pointer; }
.referral-loading { min-height: 360px; display: grid; place-content: center; justify-items: center; gap: 14px; color: #52647c; }
.referral-spinner { width: 28px; height: 28px; border: 3px solid #dbe7fa; border-top-color: var(--v3-primary); border-radius: 50%; animation: referral-spin .7s linear infinite; }
@keyframes referral-spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .referral-hero { grid-template-columns: minmax(0, 1fr) 205px; gap: 24px; padding: 28px; }
  .referral-qr-card > div { width: 154px; height: 154px; }
  .referral-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .referral-page { padding: 4px 0 96px; gap: 12px; }
  .referral-hero { min-height: 0; padding: 24px 18px; border-radius: 20px; grid-template-columns: 1fr; gap: 20px; }
  .referral-hero h2 { font-size: 28px; }
  .referral-link-box > div { grid-template-columns: 1fr; }
  .referral-cocreator-progress > div:first-child { align-items: start; flex-direction: column; gap: 3px; }
  .referral-link-box .v3-btn { justify-content: center; }
  .referral-qr-card { width: 100%; grid-template-columns: 132px minmax(0, 1fr); justify-items: start; align-items: center; }
  .referral-qr-card > div { width: 132px; height: 132px; grid-row: span 2; }
  .referral-stats { grid-template-columns: 1fr; gap: 9px; }
  .referral-stats article { min-height: 88px; }
  .referral-records, .referral-rules { padding: 18px; }
}

@media (max-width: 430px) {
  .referral-qr-card { grid-template-columns: 112px minmax(0, 1fr); }
  .referral-qr-card > div { width: 112px; height: 112px; }
}

/* Distribution center: a compact sharing entry and three distinct business states. */
.is-workspace-chrome .dashboard-chrome-distribution {
  min-height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #d7e4f8;
  border-radius: 10px;
  color: #2458ad;
  background: #f4f8ff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.is-workspace-chrome .dashboard-chrome-distribution:hover,
.is-workspace-chrome .dashboard-chrome-distribution.is-active { border-color: #a7c5f5; background: #e7f1ff; }
.is-workspace-chrome .dashboard-chrome-distribution:hover { transform: translateY(-1px); }
.is-workspace-chrome .dashboard-chrome-distribution svg { width: 16px; height: 16px; }

.referral-page { width: min(1220px, 100%); gap: 20px; }
.distribution-intro { padding: 8px 2px 2px; }
.distribution-intro .referral-kicker { color: #4775ca; opacity: 1; font-size: 10px; letter-spacing: .16em; }
.distribution-intro h2 { margin: 8px 0 7px; color: #142d52; font-size: clamp(25px, 2.4vw, 35px); line-height: 1.24; letter-spacing: -.035em; }
.distribution-intro p { margin: 0; color: #657994; font-size: 13px; line-height: 1.7; }
.distribution-share { min-width: 0; padding: 25px 30px; display: grid; grid-template-columns: minmax(0, 1fr) 170px; align-items: center; gap: 30px; border: 1px solid #dce8fa; border-radius: 22px; background: linear-gradient(115deg, #f8fbff, #edf5ff 76%, #e5f0ff); }
.distribution-share-main { min-width: 0; }
.distribution-eyebrow { color: #3470ce; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.distribution-share h3 { margin: 7px 0 6px; color: #172f54; font-size: 22px; }
.distribution-share p { margin: 0 0 18px; color: #677c99; font-size: 12px; line-height: 1.6; }
.distribution-share .referral-link-box { max-width: none; padding: 0; border: 0; background: transparent; backdrop-filter: none; }
.distribution-share .referral-link-box label { color: #536d91; font-size: 11px; font-weight: 700; }
.distribution-share .referral-link-box input { height: 43px; border: 1px solid #d9e5f5; font-size: 12px; }
.distribution-share .referral-link-box .v3-btn { color: #fff; background: #2d67d5; }
.distribution-share .referral-code { margin-top: 10px; color: #6d809a; }
.distribution-share .referral-code strong { color: #2457ae; }
.distribution-share .referral-code button { color: #2460ba; background: #e2edfd; }
.distribution-share .referral-qr-card { padding: 10px; border-color: #dce8fa; border-radius: 17px; background: #fff; backdrop-filter: none; }
.distribution-share .referral-qr-card > div { width: 132px; height: 132px; padding: 0; }
.distribution-share .referral-qr-card strong { color: #526b8c; font-size: 10px; }
.distribution-sections { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.distribution-panel { min-width: 0; padding: 23px; border: 1px solid #e2e9f4; border-radius: 19px; background: #fff; }
.distribution-panel-heading h3 { margin: 7px 0 5px; color: #1a3357; font-size: 19px; }
.distribution-panel-heading p, .distribution-commission p { margin: 0; color: #71839b; font-size: 11px; line-height: 1.7; }
.distribution-overview .referral-stats { margin: 20px 0 15px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.distribution-overview .referral-stats article { min-height: 96px; padding: 12px; display: flex; flex-direction: column; justify-content: center; gap: 4px; border: 1px solid #e8eef7; border-radius: 13px; background: #f8fbff; }
.distribution-overview .referral-stats span { font-size: 10px; }
.distribution-overview .referral-stats strong { align-self: start; font-size: 27px; }
.distribution-overview .referral-stats em { font-size: 9px; line-height: 1.4; }
.distribution-text-action { padding: 0; display: inline-flex; align-items: center; gap: 5px; border: 0; color: #2c64bf; background: transparent; cursor: pointer; font-size: 11px; font-weight: 750; }
.distribution-text-action svg { width: 13px; height: 13px; }
.distribution-rewards .referral-cocreator-progress { margin-top: 19px; border-color: #e2eaf6; background: #f5f9ff; }
.distribution-rewards .referral-cocreator-progress strong { color: #294669; }
.distribution-rewards .referral-cocreator-progress span { color: #657c99; }
.distribution-rewards .referral-progress-track { background: #dfe9f8; }
.distribution-rewards .referral-progress-track i { background: #3d80ed; }
.distribution-rewards .referral-cocreator-progress.is-qualified .referral-progress-track i { background: #27ac7b; }
.distribution-rewards .referral-reward-action { margin: 15px 0 0; color: #71839b; }
.distribution-rewards .referral-reward-action .v3-btn { min-height: 39px; padding: 8px 13px; color: #fff; background: #326bd6; font-size: 11px; }
.distribution-rewards .referral-reward-action .v3-btn:disabled { color: #6c829f; background: #e9eff7; opacity: 1; }
.distribution-rewards .referral-reward-action span { font-size: 10px; }
.distribution-unavailable { margin-top: 19px; padding: 13px; border: 1px solid #e2eaf6; border-radius: 13px; color: #627995; background: #f5f9ff; font-size: 11px; }
.distribution-commission { display: flex; flex-direction: column; align-items: start; }
.distribution-pending { margin: 22px 0 11px; padding: 6px 10px; border-radius: 999px; color: #677b9b; background: #eef3fa; font-size: 10px; font-weight: 750; }
.distribution-commission .distribution-verified-orders { margin-top: 12px; color: #42638f; }
.distribution-commission-footnote { margin-top: auto; padding-top: 18px; color: #8798ae; font-size: 10px; line-height: 1.6; }
.referral-grid { grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); }

@media (max-width: 1120px) {
  .distribution-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .distribution-commission { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .distribution-share { padding: 20px; grid-template-columns: minmax(0, 1fr) 140px; gap: 15px; }
  .distribution-share .referral-qr-card { display: grid; width: auto; grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .distribution-share .referral-qr-card > div { width: 112px; height: 112px; grid-row: auto; }
  .distribution-sections { grid-template-columns: 1fr; }
  .distribution-commission { grid-column: auto; }
  .referral-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .distribution-intro h2 { font-size: 25px; }
  .distribution-share { grid-template-columns: 1fr; }
  .distribution-share .referral-qr-card { grid-template-columns: 76px minmax(0, 1fr); text-align: left; justify-items: start; }
  .distribution-share .referral-qr-card > div { width: 76px; height: 76px; }
  .distribution-overview .referral-stats { grid-template-columns: 1fr; }
  .distribution-overview .referral-stats article { min-height: 70px; display: grid; grid-template-columns: 1fr auto; }
  .distribution-overview .referral-stats strong { grid-row: span 2; }
}
@media (prefers-reduced-motion: reduce) {
  .is-workspace-chrome .dashboard-chrome-distribution { transition: none; }
  .is-workspace-chrome .dashboard-chrome-distribution:hover { transform: none; }
}
/* Distribution v2 — scoped to keep the workspace chrome untouched. */
.referral-page.dist-v2 { width:100%; max-width:1440px; margin:0 auto; padding:2px 0 32px; gap:20px; color:#223452; --dist-muted:#7d8ba4; }
.dist-v2 *, .dist-v2 *::before, .dist-v2 *::after { box-sizing:border-box; }
.dist-v2 svg { width:18px; height:18px; flex-shrink:0; }
.dist-v2 button, .dist-v2 input { font:inherit; }
.dist-v2 button { cursor:pointer; }
.dist-v2 button:disabled { cursor:default; }
.dist-v2 button:focus-visible,.dist-v2 summary:focus-visible,.dist-v2 input:focus-visible { outline:3px solid #8eaaff80; outline-offset:3px; }
.dist-v2 .dist-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:0 0 3px; }
.dist-v2 .dist-eyebrow { font-size:11px; color:#667ce0; font-weight:600; }
.dist-v2 h2 { margin:6px 0; font-size:27px; line-height:1.3; letter-spacing:-.035em; font-weight:650; color:#1a2c50; }
.dist-v2 .dist-heading p { margin:0; color:var(--dist-muted); font-size:13px; }
.dist-v2 .dist-preview,.dist-v2 .dist-live { padding:7px 11px; border:1px solid #e1e7f2; border-radius:8px; background:#f7f9fd; color:#8491a8; font-size:11px; }
.dist-v2 .dist-top { display:grid; grid-template-columns:minmax(0,1.9fr) minmax(290px,1fr); gap:18px; }
.dist-v2 .dist-share { position:relative; isolation:isolate; overflow:hidden; display:grid; grid-template-columns:minmax(0,1fr) 152px; gap:28px; align-items:center; padding:29px 30px; border:1px solid #334984; border-radius:18px; background:radial-gradient(ellipse at 102% 2%,#7476db9c,transparent 55%),linear-gradient(120deg,#182e66,#243d80 65%,#384b93); box-shadow:0 8px 24px #20366914; color:#fff; }
.dist-v2 .dist-share::before,.dist-v2 .dist-share::after { content:""; position:absolute; z-index:-1; width:400px; height:400px; border:1px solid #ffffff12; border-radius:50%; right:-190px; top:-200px; pointer-events:none; }
.dist-v2 .dist-share::after { width:520px; height:520px; top:-260px; right:-250px; }
.dist-v2 .dist-share-copy { min-width:0; }
.dist-v2 .dist-hero-tag { display:inline-block; color:#b2c5f5; font-size:11px; letter-spacing:.08em; }
.dist-v2 .dist-share h3 { margin:13px 0 8px; color:#fff; font-size:25px; letter-spacing:-.025em; line-height:1.4; font-weight:600; }
.dist-v2 .dist-share p { margin:0 0 25px; color:#b1c1e7; font-size:12px; line-height:1.7; }
.dist-v2 .dist-link label { display:block; color:#c0ceec; font-size:11px; margin-bottom:8px; }
.dist-v2 .dist-link>div { display:flex; gap:6px; padding:5px; background:#ffffff12; border:1px solid #ffffff26; border-radius:10px; }
.dist-v2 .dist-link input { flex:1; min-width:0; width:0; height:34px; padding:0 9px; border:0; background:transparent; color:#eef3ff; font-size:12px; }
.dist-v2 .dist-link input::placeholder { color:#b5c3e2; }
.dist-v2 .dist-link button { display:flex; align-items:center; gap:7px; padding:8px 12px; border:0; border-radius:7px; background:#fff; color:#304991; white-space:nowrap; font-size:12px; font-weight:600; transition:transform .2s,box-shadow .2s; }
.dist-v2 .dist-link button:disabled { background:#ffffffaa; color:#4d6092; }
.dist-v2 .dist-code { display:flex; align-items:center; gap:10px; margin-top:12px; color:#aabce4; font-size:11px; }
.dist-v2 .dist-code strong { color:#e0e8ff; font-size:12px; letter-spacing:.09em; }
.dist-v2 .dist-code button { display:flex; align-items:center; gap:5px; margin-left:auto; border:0; padding:3px 0; color:#c7d4f4; background:transparent; font-size:11px; }
.dist-v2 .dist-code svg { width:12px; height:12px; }
.dist-v2 .dist-code button:disabled { color:#879cc7; }
.dist-v2 .dist-qr { display:grid; justify-items:center; gap:12px; font-size:10px; color:#c7d3ed; }
.dist-v2 .dist-qr-frame { padding:10px; width:142px; height:142px; border-radius:13px; background:#f7f9ff; box-shadow:0 5px 18px #09194420; }
.dist-v2 .dist-qr-frame img { display:block; width:100%; height:100%; object-fit:contain; }
.dist-v2 .dist-qr-placeholder { height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; border:1px dashed #d5dff2; border-radius:7px; color:#7489b7; font-size:11px; }
.dist-v2 .dist-qr-placeholder svg { width:31px; height:31px; margin-bottom:6px; color:#9cadcf; }
.dist-v2 .dist-qr-placeholder small { font-size:10px; color:#9aa7be; }
.dist-v2 .dist-reward,.dist-v2 .dist-overview,.dist-v2 .dist-records,.dist-v2 .dist-commission,.dist-v2 .dist-rules { border:1px solid #e0e6f1; border-radius:16px; background:#fff; box-shadow:0 4px 14px #23396904; }
.dist-v2 .dist-reward { padding:22px 24px; background:radial-gradient(ellipse at 100% 0,#efedff,transparent 68%),#fff; }
.dist-v2 .dist-card-title { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.dist-v2 h3 { margin:0; font-size:15px; line-height:1.5; color:#263955; font-weight:650; }
.dist-v2 .dist-pro { padding:3px 7px; background:#e7e6fc; border:1px solid #d9d6f8; border-radius:5px; color:#7168b8; font-size:10px; font-weight:750; letter-spacing:.09em; }
.dist-v2 .dist-reward-value { display:flex; align-items:center; gap:17px; margin:13px 0 17px; }
.dist-v2 .dist-reward-value>strong { font-size:49px; line-height:1; font-weight:600; letter-spacing:-.06em; color:#4d55a1; }
.dist-v2 .dist-reward-value>strong>span { font-size:14px; margin-left:5px; font-weight:500; }
.dist-v2 .dist-reward-value>div { font-size:13px; color:#4e5886; }
.dist-v2 .dist-reward-value small { display:block; font-size:11px; color:#9098b1; margin-top:5px; }
.dist-v2 .dist-reward-value>svg { margin-left:auto; width:37px; height:37px; color:#c2bfe9; }
.dist-v2 .dist-progress-label { display:flex; justify-content:space-between; font-size:11px; color:#8993ac; }
.dist-v2 .dist-progress { margin-top:9px; height:5px; overflow:hidden; border-radius:8px; background:#edf0f8; }
.dist-v2 .dist-progress i { display:block; height:100%; border-radius:8px; background:linear-gradient(90deg,#5576e2,#9d8ada); transition:width .6s cubic-bezier(.22,1,.36,1); }
.dist-v2 .dist-reward-reason { min-height:17px; margin:9px 0 15px; color:#8290a7; font-size:11px; line-height:1.6; }
.dist-v2 .dist-claim-row { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.dist-v2 .dist-primary { display:flex; align-items:center; gap:10px; padding:10px 13px; border:0; border-radius:8px; background:#4b65df; color:#fff; font-size:12px; transition:transform .2s,background .2s; }
.dist-v2 .dist-primary:disabled { background:#edf0f8; color:#929eb5; }
.dist-v2 .dist-claim-row>span { font-size:10px; color:#8e98ad; }
.dist-v2 .dist-claim-row b { font-size:13px; color:#626e8e; font-weight:500; }
.dist-v2 .dist-overview { padding:18px 24px 22px; }
.dist-v2 .dist-overview-heading { display:flex; align-items:center; gap:10px; }
.dist-v2 .dist-overview-heading>span { color:#9aa6ba; font-size:10px; }
.dist-v2 .dist-overview-heading button { margin-left:auto; display:flex; align-items:center; gap:5px; padding:5px 8px; border:0; background:transparent; color:#7284a8; font-size:11px; border-radius:6px; }
.dist-v2 .dist-overview-heading button svg { width:13px; height:13px; }
.dist-v2 .dist-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px 0; margin-top:19px; }
.dist-v2 .dist-stats article { min-width:0; padding:10px 25px; border-left:1px solid #edf0f6; }
.dist-v2 .dist-stats article:nth-child(3n+1) { border-left:0; padding-left:0; }
.dist-v2 .dist-stats article:nth-child(3n) { padding-right:0; }
.dist-v2 .dist-stat-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:12px; background:#f0f4fe; color:#7087d5; }
.dist-v2 .dist-stats article:nth-child(2) .dist-stat-icon { background:#f2effc; color:#9585c7; }
.dist-v2 .dist-stats article:nth-child(3) .dist-stat-icon { background:#edf6f7; color:#74a1ad; }
.dist-v2 .dist-stats article>div>span { display:block; color:#7e8ca3; font-size:12px; white-space:nowrap; }
.dist-v2 .dist-stats strong { display:block; color:#2b426b; font-size:28px; line-height:1.3; font-weight:550; margin-top:2px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.dist-v2 .dist-stats small { color:#a0aabd; font-size:10px; }
.dist-v2 .dist-bottom { display:grid; grid-template-columns:minmax(0,1.9fr) minmax(290px,1fr); gap:18px; align-items:start; }
.dist-v2 .dist-records { padding:22px 24px; min-height:289px; }
.dist-v2 .dist-card-title>div>span { display:block; margin-top:4px; color:#9ca7b9; font-size:11px; }
.dist-v2 .dist-count,.dist-v2 .dist-soon { font-size:10px; padding:4px 8px; border-radius:6px; color:#8a97b0; background:#f4f6fa; }
.dist-v2 .dist-empty { min-height:198px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.dist-v2 .dist-empty-art { position:relative; display:grid; place-items:center; width:65px; height:65px; background:radial-gradient(circle,#eaf0fe,#f8faff 68%); border-radius:50%; margin-bottom:9px; }
.dist-v2 .dist-empty-art>svg { color:#829bdd; width:26px; height:26px; transform:rotate(-7deg); }
.dist-v2 .dist-empty-art i { position:absolute; width:5px; height:5px; background:#b7c8ed; border-radius:50%; top:9px; right:5px; }
.dist-v2 .dist-empty-art i:last-child { width:3px; height:3px; left:3px; top:40px; }
.dist-v2 .dist-empty strong { font-size:13px; font-weight:500; color:#647896; }
.dist-v2 .dist-empty p { margin:7px 0 0; color:#9aa7ba; font-size:11px; line-height:1.7; }
.dist-v2 .dist-side { display:grid; gap:14px; }
.dist-v2 .dist-commission { padding:20px 23px; }
.dist-v2 .dist-commission>p { font-size:12px; color:#8c98ae; margin:8px 0 16px; }
.dist-v2 .dist-commission-note { display:flex; gap:12px; align-items:center; padding:12px; background:#f7f9fc; border-radius:9px; color:#6f83a6; font-size:11px; }
.dist-v2 .dist-commission-note small { display:block; color:#a0abbb; font-size:10px; margin-top:4px; }
.dist-v2 details summary { list-style:none; display:flex; align-items:center; justify-content:space-between; gap:12px; cursor:pointer; color:#7386a6; font-size:11px; }
.dist-v2 details summary::-webkit-details-marker { display:none; }
.dist-v2 details summary>svg { width:14px; height:14px; transition:transform .25s; }
.dist-v2 details[open] summary>svg { transform:rotate(180deg); }
.dist-v2 .dist-commission details { margin-top:14px; }
.dist-v2 details p,.dist-v2 details li { color:#8391a9; font-size:11px; line-height:1.8; }
.dist-v2 .dist-rules { padding:16px 23px; }
.dist-v2 .dist-rules summary>span { display:flex; gap:8px; align-items:center; color:#536988; font-size:12px; }
.dist-v2 .dist-rules-content { padding:6px 0; }
.dist-v2 .dist-rules-content ul { margin:8px 0; padding-left:17px; }
.dist-v2 .dist-rules-content h4 { font-size:12px; margin:13px 0 4px; color:#627492; }
.dist-v2 .dist-rules>button { display:flex; align-items:center; gap:7px; padding:0; margin-top:14px; border:0; background:transparent; color:#8a99b1; font-size:11px; }
.dist-v2 .dist-rules>button svg { width:12px; height:12px; }
.dist-v2 .dist-table-head,.dist-v2 .dist-record-list article { display:grid; grid-template-columns:minmax(0,1fr) 160px 100px; gap:12px; align-items:center; }
.dist-v2 .dist-table-head { padding:13px 0 10px; margin-top:17px; border-bottom:1px solid #edf1f7; font-size:10px; color:#9ca8bb; }
.dist-v2 .dist-record-list { max-height:330px; overflow:auto; }
.dist-v2 .dist-record-list article { padding:13px 0; border-bottom:1px solid #f0f3f8; transition:background .2s; }
.dist-v2 .dist-friend { display:flex; gap:9px; align-items:center; min-width:0; }
.dist-v2 .dist-avatar { display:grid; place-items:center; width:30px; height:30px; flex-shrink:0; border-radius:10px; background:#eff3fd; color:#7690c8; font-size:11px; }
.dist-v2 .dist-friend strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; font-weight:500; }
.dist-v2 .dist-record-list time { font-size:10px; color:#94a1b7; }
.dist-v2 .dist-record-status { justify-self:start; color:#9c865a; background:#fcf6e9; border-radius:5px; padding:4px 7px; font-size:10px; }
.dist-v2 .dist-record-status.is-qualified { background:#eef7f3; color:#659784; }
.dist-v2 .dist-record-limit { font-size:10px; color:#a5afbf; margin:12px 0 0; }
@media(hover:hover) {
 .dist-v2 button:not(:disabled):hover { filter:brightness(1.04); }
 .dist-v2 .dist-primary:not(:disabled):hover,.dist-v2 .dist-link button:not(:disabled):hover { transform:translateY(-2px); box-shadow:0 5px 14px #1b337820; }
 .dist-v2 .dist-overview-heading button:hover { background:#f1f5fd; color:#4b6bc4; }
 .dist-v2 .dist-overview-heading button:hover svg { transform:rotate(40deg); transition:transform .3s; }
 .dist-v2 .dist-record-list article:hover { background:#f8faff; }
 .dist-v2 .dist-rules>button:hover { color:#4d6ece; }
}
.dist-v2 button:not(:disabled):active { transform:scale(.97); }
@keyframes dist-enter { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
@keyframes dist-detail { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }
.dist-v2 .dist-top,.dist-v2 .dist-overview,.dist-v2 .dist-bottom { animation:dist-enter .5s cubic-bezier(.22,1,.36,1) both; }
.dist-v2 .dist-overview { animation-delay:.06s; }
.dist-v2 .dist-bottom { animation-delay:.12s; }
.dist-v2 details[open]>*:not(summary) { animation:dist-detail .24s ease-out; }
@media(max-width:1350px) { .dist-v2 .dist-share { padding:25px; gap:18px; grid-template-columns:minmax(0,1fr) 128px; } .dist-v2 .dist-qr-frame { width:126px; height:126px; } .dist-v2 .dist-stats small { display:none; } }
@media(max-width:1100px) { .dist-v2 .dist-top { grid-template-columns:1fr; } .dist-v2 .dist-reward { display:grid; grid-template-columns:1fr 1fr; column-gap:28px; } .dist-v2 .dist-reward .dist-card-title { grid-column:1/-1; } .dist-v2 .dist-reward-value { grid-row:2/5; } .dist-v2 .dist-progress-label { margin-top:15px; } .dist-v2 .dist-claim-row { grid-column:1/-1; } .dist-v2 .dist-bottom { grid-template-columns:1fr; } .dist-v2 .dist-side { grid-template-columns:1fr 1fr; align-items:start; } }
@media(max-width:600px) { .referral-page.dist-v2 { gap:14px; padding-bottom:80px; } .dist-v2 .dist-heading { align-items:start; flex-direction:column; gap:10px; } .dist-v2 h2 { font-size:24px; } .dist-v2 .dist-share { padding:22px; grid-template-columns:1fr; gap:20px; } .dist-v2 .dist-share h3 { font-size:23px; } .dist-v2 .dist-qr { grid-template-columns:84px 1fr; justify-items:start; align-items:center; border-top:1px solid #ffffff18; padding-top:16px; } .dist-v2 .dist-qr-frame { width:84px; height:84px; padding:5px; border-radius:9px; } .dist-v2 .dist-qr-placeholder { gap:2px; font-size:9px; } .dist-v2 .dist-qr-placeholder svg { width:21px; height:21px; margin-bottom:1px; } .dist-v2 .dist-qr-placeholder small { font-size:8px; } .dist-v2 .dist-link>div { flex-wrap:wrap; } .dist-v2 .dist-link input { width:100%; flex-basis:100%; } .dist-v2 .dist-link button { width:100%; justify-content:center; } .dist-v2 .dist-reward { display:block; padding:21px; } .dist-v2 .dist-overview { padding:18px; } .dist-v2 .dist-stats article { padding:0 12px; display:block; } .dist-v2 .dist-stat-icon { width:30px; height:30px; border-radius:9px; margin-bottom:10px; } .dist-v2 .dist-stats article>div>span { font-size:10px; white-space:nowrap; } .dist-v2 .dist-stats strong { font-size:24px; } .dist-v2 .dist-side { grid-template-columns:1fr; } .dist-v2 .dist-records { padding:20px; } .dist-v2 .dist-table-head { display:none; } .dist-v2 .dist-record-list article { grid-template-columns:minmax(0,1fr) auto; gap:4px 8px; } .dist-v2 .dist-record-list time { grid-column:1; padding-left:39px; } .dist-v2 .dist-record-status { grid-column:2; grid-row:1/3; } }
@media(max-width:600px) { .dist-v2 .dist-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } .dist-v2 .dist-stats article:nth-child(3n+1), .dist-v2 .dist-stats article:nth-child(3n) { padding:8px 12px; border-left:1px solid #edf0f6; } .dist-v2 .dist-stats article:nth-child(2n+1) { padding-left:0; border-left:0; } }
@media(prefers-reduced-motion:reduce) { .dist-v2 *, .dist-v2 *::before, .dist-v2 *::after { animation:none!important; transition:none!important; } }
.referral-page.dist-v2 { padding-top:18px; }
.dist-v2 .dist-invite-summary { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:32px; margin-top:18px; align-items:center; }
.dist-v2 .dist-invite-summary strong { color:var(--theme-primary,#3868ed); font-size:38px; line-height:1.2; font-weight:650; font-variant-numeric:tabular-nums; }
.dist-v2 .dist-invite-summary strong small { margin-left:9px; color:var(--theme-muted,#78859c); font-size:13px; font-weight:400; }
.dist-v2 .dist-invite-summary p,.dist-v2 .dist-invite-note { font-size:12px; line-height:1.8; color:var(--theme-muted,#78859c); margin:9px 0 0; }
.dist-v2 .dist-invite-cycle>span { font-size:13px; color:var(--theme-muted,#78859c); }
.dist-v2 .dist-invite-cycle b { color:var(--theme-primary,#3868ed); }
.dist-v2 .dist-invite-cycle progress { display:block; width:100%; height:6px; margin:12px 0; accent-color:var(--theme-primary,#3868ed); border:0; border-radius:6px; overflow:hidden; }
.dist-v2 .dist-invite-cycle progress::-webkit-progress-bar { background:var(--theme-border,#edf0f6); }
.dist-v2 .dist-invite-cycle progress::-webkit-progress-value { background:var(--theme-primary,#3868ed); }
.dist-v2 .dist-invite-cycle>small { font-size:11px; color:var(--theme-muted,#78859c); }
.dist-v2 .dist-invite-note { padding-top:15px; margin-top:18px; border-top:1px solid var(--theme-border,#edf0f6); }
@media(max-width:600px) { .dist-v2 .dist-invite-summary { grid-template-columns:1fr; gap:20px; } }

.dist-v2 .dist-share p.dist-share-code { margin:12px 0 0; font-size:11px; }

/* Account landing page uses the same compact type and surface rhythm as other workspace pages. */
.v3-shell .content.route-research { width: min(calc(100% - 72px), 1520px); max-width: none; }
.v3-main:has(.content.route-research:not([hidden])) .v3-scroll-region { background: #f8faff; }

.route-research .research-hub-intro {
  min-height: 0; margin: 0 0 17px; padding: 21px 0 17px;
  display: flex; align-items: end; justify-content: space-between; gap: 20px;
  border: 0; border-bottom: 1px solid #e3eaf4; border-radius: 0;
  background: transparent;
}
.route-research .research-hub-intro .v3-eyebrow,
.route-research .research-home-card .v3-eyebrow,
.route-research .research-home-tools .v3-eyebrow {
  color: #4168c7; font-size: 11px; font-weight: 760; letter-spacing: .025em;
}
.route-research .research-hub-intro .v3-eyebrow::before,
.route-research .research-home-card .v3-eyebrow::before,
.route-research .research-home-tools .v3-eyebrow::before { display: none; }
.route-research .research-hub-intro h1 {
  max-width: none; margin: 7px 0 4px; color: #172953;
  font-size: clamp(26px, 1.9vw, 29px); font-weight: 760;
  line-height: 1.28; letter-spacing: -.035em;
}
.route-research .research-hub-intro p { max-width: none; margin: 0; color: #7585a0; font-size: 13px; line-height: 1.55; }
.route-research .research-hub-intro .v3-card-actions { flex: 0 0 auto; }
.route-research .research-hub-intro .v3-btn { min-height: 40px; padding: 0 16px; border-radius: 9px; font-size: 13px; }

.route-research .research-home-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.v3-shell .content.route-research .v3-card.research-home-card {
  min-width: 0; min-height: 270px; padding: 19px;
  border: 1px solid #e2e8f2; border-radius: 14px; background: #fff;
  box-shadow: 0 5px 17px rgba(36, 55, 105, .035);
}
.route-research .research-home-card.is-primary { grid-column: auto; }
.v3-shell .content.route-research .v3-card.research-home-card.is-primary { background: linear-gradient(145deg, #fff, #fbfcff); }
.v3-shell .content.route-research .v3-card.research-benchmark-card { border-color: #c9d7f5; }
.route-research .research-home-card > header { min-height: 50px; margin-bottom: 6px; align-items: flex-start; gap: 8px; }
.route-research .research-home-card > header > div { min-width: 0; }
.route-research .research-home-card h2 {
  margin: 6px 0 0; color: #192a50; font-size: clamp(17px, 1.08vw, 19px);
  font-weight: 740; line-height: 1.32; letter-spacing: -.02em;
}
.route-research .research-home-card > p { min-height: 20px; margin: 0 0 8px; color: #7585a0; font-size: 12px; line-height: 1.5; }
.route-research .research-home-card .v3-count-chip {
  padding: 6px 9px; flex: 0 0 auto; background: #f2f5fa;
  color: #607495; font-size: 11px; white-space: nowrap;
}
.route-research .research-home-card .v3-text-link { color: #4168c7; font-size: 12px; white-space: nowrap; }
.route-research .research-home-card .v3-text-link svg { width: 16px; height: 16px; }
.route-research .research-home-card .v3-account-kpis {
  min-height: 70px; margin: 0 0 8px; padding: 10px 2px;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  border-radius: 10px; background: #f6f8fc;
}
.route-research .research-home-card .v3-account-kpis span {
  min-width: 0; padding: 0 11px; border-right: 1px solid #dfe6f1;
  border-radius: 0; background: transparent; color: #7c8ba4; font-size: 11px;
}
.route-research .research-home-card .v3-account-kpis span:last-child { border-right: 0; }
.route-research .research-home-card .v3-account-kpis small { display: block; font-size: 11px; }
.route-research .research-home-card .v3-account-kpis strong {
  margin-top: 4px; color: #192a50; font-size: 19px; font-weight: 760; line-height: 1.1;
}
.route-research .research-home-card .v3-card-actions { margin-top: auto; align-items: center; gap: 8px; flex-wrap: wrap; }
.route-research .research-home-card .v3-btn {
  min-height: 38px; padding: 0 13px; border-color: #d4deed;
  border-radius: 8px; color: #304366; font-size: 12px;
  font-weight: 720; white-space: nowrap;
}
.route-research .research-home-card .v3-btn.primary,
.route-research .research-hub-intro .v3-btn.primary {
  border-color: #3b61d6; background: #3b61d6; color: #fff;
}
.route-research .research-home-card .v3-account-mini-list { margin: 0 0 9px; }
.route-research .research-home-card .v3-account-mini-list:not(:has(button)) { display: flex; flex: 1; }
.route-research .research-card-empty {
  min-height: 84px; padding: 10px 2px; display: flex; align-items: center; gap: 10px;
  border: 0; border-top: 1px solid #edf1f7; border-radius: 0; background: transparent; color: #7585a0;
  font-size: 12px; line-height: 1.5;
}
.route-research .research-card-empty-icon {
  width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 11px; background: #edf3ff; color: #4168c7;
}
.route-research .research-card-empty-icon svg { width: 20px; height: 20px; }
.route-research .research-benchmark-card .research-card-empty { flex: 1; }
.route-research .research-monitor-card > .research-card-empty { flex: 1; margin-bottom: 9px; }
.route-research .research-home-card .v3-latest-event { min-height: 84px; margin: 0 0 9px; background: #f8fafd; }
.route-research .hot-radar-entry .hot-radar-pulse {
  width: 7px; height: 7px; margin: 7px 6px 0 0; background: #4168c7; box-shadow: 0 0 0 5px #edf2ff;
}
.route-research .hot-radar-entry-visual {
  min-height: 88px; margin: 0 0 6px; padding: 3px 10px; gap: 0;
  border-color: #e5ebf5; border-radius: 10px; background: #fbfcff;
}
.route-research .hot-radar-entry-visual span {
  min-height: 27px; grid-template-columns: 23px minmax(0, 1fr); gap: 5px;
  border-bottom: 1px solid #e8edf5; color: #7182a0; font-size: 12px;
}
.route-research .hot-radar-entry-visual span:last-child { border-bottom: 0; }
.route-research .hot-radar-entry-visual svg { width: 17px; height: 17px; color: #4168c7; }
.route-research .hot-radar-entry > p { min-height: 0; margin: 0 0 8px; font-size: 11px; line-height: 1.45; }

.v3-shell .content.route-research .v3-card.research-home-tools {
  min-height: 0; margin-top: 13px; padding: 0; display: block; overflow: hidden;
  border: 1px solid #e2e8f2; border-radius: 14px; background: #fff;
  box-shadow: 0 5px 17px rgba(36, 55, 105, .035);
}
.route-research .research-tools-disclosure {
  width: 100%; min-height: 62px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  border: 0; background: transparent; color: #192a50; text-align: left; cursor: pointer;
  transition: background .24s ease;
}
.route-research .research-tools-disclosure:hover { background: #fbfcff; }
.route-research .research-home-tools.is-expanded .research-tools-disclosure { background: linear-gradient(90deg, #fff, #fbfcff); }
.route-research .research-tools-disclosure:focus-visible { outline: 2px solid #4168c7; outline-offset: -3px; }
.route-research .research-tools-heading { min-width: 0; display: flex; align-items: baseline; gap: 12px; }
.route-research .research-tools-heading strong { font-size: 14px; font-weight: 750; white-space: nowrap; }
.route-research .research-tools-heading small { color: #7585a0; font-size: 12px; font-weight: 500; }
.route-research .research-tools-disclosure-end { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.route-research .research-home-tools .v3-count-chip {
  padding: 5px 9px; background: #f2f5fa; color: #607495; font-size: 11px;
  transition: background .28s ease, color .28s ease;
}
.route-research .research-home-tools.is-expanded .v3-count-chip { background: #eaf1ff; color: #315bd2; }
.route-research .research-tools-chevron {
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid #e0e8f3; border-radius: 8px; background: #fbfcff; color: #4168c7;
  transition: border-color .25s ease, background .25s ease;
}
.route-research .research-tools-disclosure:hover .research-tools-chevron { border-color: #bfd0ee; background: #f2f6ff; }
.route-research .research-tools-chevron svg { width: 16px; height: 16px; transition: transform .34s cubic-bezier(.22,.75,.2,1); }
.route-research .research-tools-disclosure[aria-expanded="true"] .research-tools-chevron svg { transform: rotate(180deg); }
.route-research .research-home-tools .account-tools-body {
  display: block; overflow: hidden;
}
.route-research .research-home-tools .account-tools-body[hidden] { display: none; }
.route-research .research-home-tools .account-tools-inner { padding: 16px 18px 19px; border-top: 1px solid #e8edf5; }
.route-research .research-home-tools .account-tool-filters {
  width: fit-content; margin-bottom: 18px; padding: 3px; display: flex; gap: 2px;
  border: 1px solid #e7edf6; border-radius: 9px; background: #f6f8fc;
}
.route-research .research-home-tools .account-tool-filters button {
  min-height: 28px; padding: 0 12px; border: 0; border-radius: 6px;
  background: transparent; color: #6f809b; font-size: 11px; font-weight: 650;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.route-research .research-home-tools .account-tool-filters button:hover { color: #315bd2; background: #eaf1ff; }
.route-research .research-home-tools .account-tool-filters button:active { transform: scale(.95); }
.route-research .research-home-tools .account-tool-filters button.is-active {
  background: #fff; color: #315bd2; box-shadow: 0 1px 4px rgba(38, 65, 115, .11);
}
.route-research .research-tool-groups { display: grid; gap: 20px; overflow: hidden; }
.route-research .research-tool-group[hidden] { display: none; }
.route-research .research-tool-group-heading { margin-bottom: 10px; display: flex; align-items: baseline; gap: 8px; }
.route-research .research-tool-group-heading h3 { margin: 0; color: #26395d; font-size: 12px; font-weight: 750; }
.route-research .research-tool-group-heading span { color: #91a0b6; font-size: 11px; }
.route-research .research-home-tools .account-all-tools-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.route-research .research-home-tools .account-tool-card {
  min-height: 91px; padding: 13px; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: start; gap: 10px; border-color: #e7edf5; border-radius: 10px;
  background: #fff; box-shadow: none;
  transition: transform .22s cubic-bezier(.2,.75,.25,1), border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.route-research .research-home-tools .account-tool-card:hover {
  transform: translateY(-3px); border-color: #b9ccef; background: #fbfcff;
  box-shadow: 0 10px 22px rgba(41, 73, 132, .085);
}
.route-research .research-home-tools .account-tool-card:active { transform: translateY(-1px) scale(.99); }
.route-research .research-home-tools .account-tool-icon {
  width: 34px; height: 34px; border-radius: 9px; background: #eff4ff;
  transition: transform .24s cubic-bezier(.2,.75,.25,1), background .24s ease;
}
.route-research .research-home-tools .account-tool-card:hover .account-tool-icon { transform: scale(1.08); background: #e5efff; }
.route-research .research-home-tools .account-tool-icon svg { width: 17px; height: 17px; }
.route-research .account-tool-copy { min-width: 0; display: grid; gap: 4px; }
.route-research .account-tool-copy strong { overflow: hidden; color: #1c3054; font-size: 13px; font-weight: 740; text-overflow: ellipsis; white-space: nowrap; }
.route-research .research-home-tools .account-tool-description {
  min-height: 0; overflow: hidden; color: #7b89a0; font-size: 11px; line-height: 1.45;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.route-research .account-tool-end { max-width: 110px; display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.route-research .research-home-tools .account-tool-state {
  position: static; max-width: 98px; padding: 4px 6px; flex: 0 1 auto; font-size: 10px;
}
.route-research .account-tool-count { overflow: hidden; color: #7485a0; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.route-research .account-tool-arrow { color: #a5b5d1; font-size: 15px; line-height: 1; transition: color .22s ease, transform .22s ease; }
.route-research .account-tool-card:hover .account-tool-arrow { color: #315bd2; transform: translateX(3px); }

@media (max-width: 1600px) {
  .route-research .research-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-research .research-home-tools .account-all-tools-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .route-research .research-home-tools .account-all-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .v3-shell .content.route-research { width: 100%; }
  .route-research .research-hub-intro { padding: 16px; flex-direction: column; align-items: stretch; gap: 14px; }
  .route-research .research-hub-intro h1 { font-size: 24px; }
  .route-research .research-hub-intro .v3-card-actions,
  .route-research .research-hub-intro .v3-btn { width: 100%; }
  .route-research .research-home-grid { grid-template-columns: 1fr; }
  .v3-shell .content.route-research .v3-card.research-home-card { min-height: 226px; padding: 16px; }
  .route-research .research-home-card h2 { font-size: 18px; }
  .route-research .research-home-card .v3-btn { min-height: 40px; }
  .route-research .research-tools-disclosure { min-height: 64px; padding: 0 14px; }
  .route-research .research-tools-heading { display: grid; gap: 2px; }
  .route-research .research-home-tools .account-tools-inner { padding: 14px; }
  .route-research .research-home-tools .account-all-tools-grid { grid-template-columns: 1fr; }
  .route-research .research-home-tools .account-tool-card { min-height: 76px; }
}
@media (max-width: 400px) {
  .route-research .research-home-card .v3-account-kpis span { padding: 0 7px; }
  .route-research .research-home-card .v3-card-actions { gap: 6px; }
  .route-research .research-home-card .v3-btn { padding: 0 10px; }
  .route-research .research-tools-heading small { font-size: 11px; }
}
:root[data-theme="dark"] .v3-main:has(.content.route-research:not([hidden])) .v3-scroll-region { background: #0b1427; }
:root[data-theme="dark"] .route-research .research-hub-intro { background: transparent; border-color: #344e76; }
:root[data-theme="dark"] .v3-shell .content.route-research .v3-card.research-home-card,
:root[data-theme="dark"] .v3-shell .content.route-research .v3-card.research-home-tools { background: #14213a; border-color: #344e76; }
:root[data-theme="dark"] .route-research .research-hub-intro h1,
:root[data-theme="dark"] .route-research .research-home-card h2,
:root[data-theme="dark"] .route-research .research-tools-heading strong,
:root[data-theme="dark"] .route-research .research-tool-group-heading h3,
:root[data-theme="dark"] .route-research .account-tool-copy strong { color: #f3f7ff; }
:root[data-theme="dark"] .route-research .research-hub-intro p,
:root[data-theme="dark"] .route-research .research-home-card > p,
:root[data-theme="dark"] .route-research .research-card-empty { color: #a9b9d1; }
:root[data-theme="dark"] .route-research .research-card-empty { border-top-color: #344e76; }
:root[data-theme="dark"] .route-research .research-home-card .v3-account-kpis strong { color: #f3f7ff; }
:root[data-theme="dark"] .route-research .research-home-card .v3-btn:not(.primary) {
  border-color: #405978; background: #1b2c49; color: #e5edff;
}
:root[data-theme="dark"] .route-research .research-home-card .v3-count-chip,
:root[data-theme="dark"] .route-research .research-home-tools .v3-count-chip,
:root[data-theme="dark"] .route-research .research-tools-chevron {
  border-color: #405978; background: #213554; color: #c0cde3;
}
:root[data-theme="dark"] .route-research .research-tools-disclosure { color: #f3f7ff; }
:root[data-theme="dark"] .route-research .research-home-tools.is-expanded .research-tools-disclosure { background: linear-gradient(90deg, #14213a, #192943); }
:root[data-theme="dark"] .route-research .research-tools-disclosure:hover,
:root[data-theme="dark"] .route-research .research-home-tools .account-tool-card:hover { background: #1b2c49; }
:root[data-theme="dark"] .route-research .research-home-tools .account-tools-inner { border-color: #344e76; }
:root[data-theme="dark"] .route-research .research-home-tools .account-tool-filters { border-color: #344e76; background: #1a2b47; }
:root[data-theme="dark"] .route-research .research-home-tools .account-tool-filters button.is-active { background: #294166; color: #dce7ff; }
:root[data-theme="dark"] .route-research .research-home-tools .account-tool-card { border-color: #344e76; background: #14213a; }
:root[data-theme="dark"] .route-research .research-home-tools .account-tool-icon { background: #213a60; }
@media (prefers-reduced-motion: reduce) {
  .route-research .research-home-tools *,
  .route-research .research-home-tools *::before,
  .route-research .research-home-tools *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
:root[data-theme="dark"] .route-research .hot-radar-entry-visual,
:root[data-theme="dark"] .route-research .research-home-card .v3-account-kpis { background: #1c2d4a; }

/* The footer shares the active account page gutter, including retained routes. */
.v3-shell .v3-scroll-region:has(> .content.route-research:not([hidden])) > .v3-icp-footer { width: min(calc(100% - 72px), 1520px); margin-top: 0; }
@media (max-width: 760px) {
  .v3-shell .v3-scroll-region:has(> .content.route-research:not([hidden])) > .v3-icp-footer { width: calc(100% - 28px); }
}

/* Selected horizontal overview; scoped to this landing section only. */
html:root .v3-shell .content.route-research .research-overview {
  --research-ink: #192e57;
  --research-muted: #788ba8;
  --research-blue: #3868dc;
  --research-line: #e0e8f6;
  --research-surface: #fff;
  --research-icon: #eaf1ff;
  position: relative; padding-bottom: 10px;
}

html:root .route-research .research-overview .research-hub-intro {
  align-items: center; margin: 0 0 20px; padding: 20px 0 0;
  border: 0; background: transparent;
}
html:root .route-research .research-overview .research-hub-intro h1 {
  margin: 0 0 5px; color: var(--research-ink); font-size: 24px;
  line-height: 1.3; letter-spacing: -.025em; font-weight: 750;
}
html:root .route-research .research-overview .research-hub-intro p {
  color: var(--research-muted); font-size: 13px;
}
html:root .route-research .research-overview .v3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 38px; padding: 0 14px; border: 1px solid var(--research-line);
  border-radius: 8px; background: var(--research-surface); color: var(--research-ink);
  font-size: 12px; line-height: 1.4; font-weight: 600; box-shadow: none;
}
html:root .route-research .research-overview .v3-btn.primary {
  border-color: var(--research-blue); background: var(--research-blue); color: #fff;
}
html:root .route-research .research-overview .v3-btn:hover:not(:disabled) { filter: brightness(.96); }
html:root .route-research .research-overview .v3-btn:focus-visible { outline: 2px solid #83a8f8; outline-offset: 3px; }
html:root .route-research .research-overview .v3-btn:disabled { opacity: .45; cursor: not-allowed; }
html:root .route-research .research-overview .v3-btn svg { width: 15px; height: 15px; }
html:root .route-research .research-overview .research-home-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 0;
}
html:root .route-research .research-account-summary {
  grid-column: 1 / -1; display: grid;
  grid-template-columns: minmax(220px, .85fr) minmax(320px, 2.5fr) auto;
  align-items: center; gap: 16px; min-width: 0; min-height: 88px; padding: 16px 20px;
  border: 0; border-radius: 12px; background: var(--research-surface);
  box-shadow: none;
}
html:root .route-research .research-account-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
html:root .route-research .research-account-identity > div { min-width: 0; }
html:root .route-research .research-account-avatar {
  display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px;
  border-radius: 50%; background: var(--research-icon);
}
html:root .route-research .research-account-avatar img { display: block; width: 28px; height: 28px; }
html:root .route-research .research-account-identity h2 {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0;
  color: var(--research-ink); font-size: 17px; font-weight: 700; line-height: 1.45;
}
html:root .route-research .research-account-identity p { margin: 3px 0 0; color: var(--research-muted); font-size: 12px; }
html:root .route-research .research-account-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-width: 0; }
html:root .route-research .research-account-metrics > span { min-width: 0; border-left: 1px solid var(--research-line); padding: 0 20px; }
html:root .route-research .research-account-metrics small { display: block; color: var(--research-muted); font-size: 12px; line-height: 1.5; }
html:root .route-research .research-account-metrics strong { display: block; margin-top: 4px; color: var(--research-ink); font-size: 20px; font-weight: 700; line-height: 1.25; font-variant-numeric: tabular-nums; white-space: nowrap; }
html:root .route-research .research-account-summary .v3-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
html:root .v3-shell .content.route-research .research-overview .research-home-card {
  display: flex; flex-direction: column; min-width: 0; min-height: 180px;
  margin: 0; padding: 0 24px; border: 0; border-left: 1px solid var(--research-line);
  border-radius: 0; background: transparent; box-shadow: none;
}
html:root .v3-shell .content.route-research .research-overview .research-benchmark-card { padding-left: 0; border-left: 0; }
html:root .v3-shell .content.route-research .research-overview .hot-radar-entry { padding-right: 0; }
html:root .route-research .research-overview .research-home-card > header { display: block; min-height: 0; margin: 0 0 14px; padding: 0; border: 0; background: transparent; }
html:root .route-research .research-overview .research-home-card .v3-eyebrow { color: var(--research-blue); font-size: 12px; font-weight: 500; letter-spacing: 0; }
html:root .route-research .research-overview .research-home-card h2 { margin: 7px 0 0; color: var(--research-ink); font-size: 18px; line-height: 1.4; font-weight: 700; }
html:root .route-research .research-overview .research-card-empty {
  flex: 0 0 auto; min-height: 40px; padding: 0; margin: 0 0 18px; gap: 10px;
  border: 0; color: var(--research-muted); font-size: 13px; line-height: 1.6;
}
html:root .route-research .research-overview .research-card-empty-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--research-icon); color: var(--research-blue); }
html:root .route-research .research-overview .research-card-empty-icon svg { width: 20px; height: 20px; }
html:root .route-research .research-overview .v3-account-mini-list:not(:has(button)) { flex: 0; margin: 0; }
html:root .route-research .research-overview .research-home-card .v3-card-actions { margin-top: auto; padding-top: 8px; }
html:root .route-research .research-overview .hot-radar-pulse { display: none; }
html:root .route-research .research-overview .hot-radar-entry-visual {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0;
  min-height: 36px; margin: 0 0 12px; padding: 0; border: 0; background: transparent; box-shadow: none;
}
html:root .route-research .research-overview .hot-radar-entry-visual span {
  display: flex; align-items: center; gap: 8px; min-height: 30px;
  padding: 0 12px; border: 0; border-left: 1px solid var(--research-line);
  color: var(--research-ink); font-size: 12px; white-space: nowrap;
}
html:root .route-research .research-overview .hot-radar-entry-visual span:first-child { padding-left: 0; border-left: 0; }
html:root .route-research .research-overview .hot-radar-entry-visual span:last-child { padding-right: 0; }
html:root .route-research .research-overview .hot-radar-entry-visual svg { box-sizing: content-box; flex: 0 0 auto; width: 17px; height: 17px; padding: 7px; border-radius: 50%; background: var(--research-icon); color: var(--research-blue); }
html:root .route-research .research-overview .hot-radar-entry-visual b { font-weight: 500; }
html:root .route-research .research-overview .hot-radar-entry > p { margin: 0 0 12px; color: var(--research-muted); font-size: 12px; line-height: 1.6; }
html:root[data-theme="dark"] .v3-shell .content.route-research .research-overview {
  --research-ink: #edf3ff; --research-muted: #a7b8d2; --research-blue: #729eff;
  --research-line: #304563; --research-surface: #15243c; --research-icon: #233959;
}

@media (max-width: 1400px) {
  html:root .route-research .research-account-summary { grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.5fr); }
  html:root .route-research .research-account-summary .v3-card-actions { grid-column: 1 / -1; justify-content: flex-end; }
  html:root .route-research .research-account-metrics > span { padding: 0 12px; }
  html:root .v3-shell .content.route-research .research-overview .research-home-card { padding-left: 20px; padding-right: 20px; }
  html:root .v3-shell .content.route-research .research-overview .research-benchmark-card { padding-left: 0; }
  html:root .v3-shell .content.route-research .research-overview .hot-radar-entry { padding-right: 0; }
  html:root .route-research .research-overview .research-home-card h2 { font-size: 18px; }
}
@media (max-width: 1100px) {
  html:root .route-research .research-overview .research-home-grid { grid-template-columns: 1fr; gap: 20px; }
  html:root .v3-shell .content.route-research .research-overview .research-home-card { min-height: 0; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--research-line); }
  html:root .route-research .research-overview .research-home-card > header { margin-bottom: 16px; }
  html:root .route-research .research-overview .research-card-empty { margin-bottom: 14px; }
}
@media (max-width: 760px) {
  html:root .v3-shell .content.route-research .research-overview { padding: 0 16px 12px; }
  
  html:root .route-research .research-overview .research-hub-intro { padding: 20px 0 0; margin-bottom: 20px; align-items: stretch; }
  html:root .route-research .research-overview .research-hub-intro h1 { font-size: 22px; }
  html:root .route-research .research-overview .research-hub-intro p { font-size: 13px; }
  html:root .route-research .research-account-summary { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 16px; }
  html:root .route-research .research-account-avatar { width: 44px; height: 44px; flex-basis: 44px; }
  html:root .route-research .research-account-avatar img { width: 26px; height: 26px; }
  html:root .route-research .research-account-identity h2 { font-size: 17px; }
  html:root .route-research .research-account-metrics > span { padding: 0 10px; }
  html:root .route-research .research-account-metrics > span:first-child { padding-left: 0; border-left: 0; }
  html:root .route-research .research-account-metrics strong { font-size: 20px; }
  html:root .route-research .research-account-summary .v3-card-actions { justify-content: flex-start; }
}
/* Keep the open-column layout when global dark card rules are active. */
html:root[data-theme="dark"] .v3-shell .content.route-research .research-overview .research-home-card {
  background: transparent !important; border: 0 !important;
  border-left: 1px solid var(--research-line) !important;
}
html:root[data-theme="dark"] .v3-shell .content.route-research .research-overview .research-benchmark-card { border-left: 0 !important; }
html:root[data-theme="dark"] .route-research .research-overview :is(.research-hub-intro, .research-card-empty, .research-home-card > header, .hot-radar-entry-visual) {
  border: 0 !important; background: transparent !important;
}
@media (max-width: 1100px) {
  html:root[data-theme="dark"] .v3-shell .content.route-research .research-overview .research-home-card {
    border-left: 0 !important; border-bottom: 1px solid var(--research-line) !important;
  }
}

/* Account tracking has its own quiet observation surface within the Linsi visual system. */
.v3-shell .content.route-monitor { width: 100%; max-width: none; margin: 0; padding: 0 0 64px; gap: 0; }
.v3-main:has(.content.route-monitor) .v3-scroll-region { background: #f7f9fc; }
.route-monitor .monitor-stage { background: radial-gradient(circle at 89% 4%, rgba(200,231,238,.3), transparent 24%), linear-gradient(180deg,#fcfdff 0%,#f7f9fc 100%); }
.route-monitor .monitor-stage-inner,
.route-monitor .monitor-workspace { width: min(calc(100% - 68px), 1380px); margin: 0 auto; }
.route-monitor .monitor-stage-inner { padding: 27px 0 0; }
.route-monitor .monitor-stage-grid { display: grid; grid-template-columns: minmax(0,2.22fr) minmax(275px,.88fr); gap: 20px; align-items: stretch; }
.v3-shell .content.route-monitor .v3-card.monitor-add-card { position: relative; min-width: 0; padding: 29px 31px 27px; overflow: hidden; border: 1px solid #dce5ef; border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(31,52,87,.055); transition: border-color .22s ease,box-shadow .22s ease; }
.v3-shell .content.route-monitor .v3-card.monitor-add-card::before { position: absolute; top: 0; left: 27px; width: 70px; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg,#1698aa,#4f75e2); content: ""; }
.v3-shell .content.route-monitor .v3-card.monitor-add-card:focus-within { border-color: #accbd9; box-shadow: 0 15px 34px rgba(24,73,118,.09); }
.route-monitor .monitor-add-card > header { margin: 0 0 22px; align-items: flex-start; gap: 16px; }
.route-monitor .monitor-add-card > header .v3-eyebrow { color: #138699; font-size: 12px; letter-spacing: .04em; }
.route-monitor .monitor-add-card > header .v3-eyebrow::before { display: none; }
.route-monitor .monitor-add-card > header h2 { margin: 7px 0 5px; color: #1a2a4c; font-size: clamp(22px,1.28vw,25px); font-weight: 770; letter-spacing: -.028em; }
.route-monitor .monitor-add-card > header p { margin: 0; color: #74839a; font-size: 14px; line-height: 1.55; }
.route-monitor .monitor-safe-note { padding: 7px 11px; background: #eff8f4; color: #38866b; font-size: 11px; white-space: nowrap; }
.route-monitor .monitor-account-source { margin-top: 0; }
.route-monitor .monitor-account-source label { gap: 9px; }
.route-monitor .monitor-account-source label > span { color: #536781; font-size: 13px; font-weight: 710; }
.route-monitor .monitor-account-source input { height: 50px; padding: 0 16px; border-color: #dce5ef; border-radius: 10px; background: #fcfdff; color: #20375d; font-size: 14px; transition: border-color .2s ease,box-shadow .2s ease; }
.route-monitor .monitor-account-source input:focus { border-color: #62aabb; box-shadow: 0 0 0 4px rgba(32,152,172,.11); }
.route-monitor .monitor-input-wide > div { gap: 9px; }
.route-monitor .monitor-input-wide .v3-btn.primary { min-width: 117px; min-height: 50px; border: 0; border-radius: 10px; background: #315ad2; box-shadow: 0 7px 15px rgba(49,90,210,.17); color: #fff; font-size: 14px; font-weight: 750; transition: background .18s ease,transform .18s ease,box-shadow .18s ease; }
.route-monitor .monitor-input-wide .v3-btn.primary:hover { transform: translateY(-2px); background: #274fc3; box-shadow: 0 10px 20px rgba(49,90,210,.23); }
.route-monitor .monitor-config-panel.is-compact { display: block; margin-top: 22px; padding: 17px 0 0; border: 0; border-top: 1px solid #e8edf4; border-radius: 0; background: transparent; box-shadow: none; }
.route-monitor .monitor-config-panel.is-compact.is-editing { border-top-color: #b7d6df; }
.route-monitor .monitor-config-panel.is-compact .monitor-config-head { display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 12px; }
.route-monitor .monitor-config-panel.is-compact .monitor-config-head > div { display: flex; align-items: baseline; gap: 9px; }
.route-monitor .monitor-config-panel.is-compact .monitor-config-head > div > span { color: #188397; font-size: 13px; }
.route-monitor .monitor-config-panel.is-compact .monitor-config-head > div > strong { display: block; color: #98a5b6; font-size: 11px; font-weight: 500; }
.route-monitor .monitor-config-panel.is-compact .monitor-config-head .v3-btn { min-height: 34px; height: 34px; padding: 0 11px; border-radius: 8px; font-size: 12px; }
.route-monitor .monitor-config-panel.is-compact .monitor-config-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 21px; margin-top: 13px; border: 0; border-radius: 0; background: transparent; }
.route-monitor .monitor-config-panel.is-compact .monitor-config-item,
.route-monitor .monitor-config-panel.is-compact .monitor-config-item:nth-child(2),
.route-monitor .monitor-config-panel.is-compact .monitor-config-item:nth-child(-n+2) { min-height: 49px; padding: 4px 0; display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 10px; border: 0; background: transparent; }
.route-monitor .monitor-config-panel.is-compact .monitor-config-item:hover { background: transparent; }
.route-monitor .monitor-config-panel.is-compact .monitor-config-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: #eef7f8; color: #188b9b; }
.route-monitor .monitor-config-panel.is-compact .monitor-config-icon svg { width: 17px; height: 17px; }
.route-monitor .monitor-config-copy em { color: #8191a5; font-size: 12px; }
.route-monitor .monitor-config-copy strong { color: #263956; font-size: 13px; font-weight: 720; }
.route-monitor .monitor-config-copy :is(input,select) { min-width: 0; border-color: #dce5ef; }
.route-monitor .monitor-parse-hint { margin-top: 13px; padding: 0; border-radius: 0; background: transparent; color: #798ba1; font-size: 12px; }
.route-monitor .monitor-preview { margin-top: 15px; padding: 14px; border-color: #dce9ee; border-radius: 10px; background: #f9fcfd; }
.route-monitor .monitor-stage-guide { position: relative; min-width: 0; padding: 28px 27px 24px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #d8e9ed; border-radius: 16px; background: linear-gradient(150deg,#f2fafb,#eaf5f7); color: #213b56; }
.route-monitor .monitor-stage-guide::after { position: absolute; top: -94px; right: -101px; width: 230px; height: 230px; border: 1px solid rgba(30,139,153,.12); border-radius: 50%; box-shadow: 0 0 0 30px rgba(30,139,153,.035),0 0 0 69px rgba(30,139,153,.025); content: ""; pointer-events: none; }
.route-monitor .monitor-guide-heading { display: flex; align-items: center; justify-content: space-between; }
.route-monitor .monitor-guide-kicker { color: #14879a; font-size: 12px; font-weight: 760; letter-spacing: .05em; }
.route-monitor .monitor-guide-radar { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #d2e9ed; border-radius: 50%; background: #fff; color: #218e9d; }
.route-monitor .monitor-guide-radar svg { width: 18px; height: 18px; }
.route-monitor .monitor-stage-guide h2 { position: relative; margin: 16px 0 19px; color: #1c3855; font-size: clamp(20px,1.14vw,22px); font-weight: 770; line-height: 1.42; letter-spacing: -.028em; }
.route-monitor .monitor-stage-guide ol { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.route-monitor .monitor-stage-guide li { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 11px; padding: 12px 0; border-top: 1px solid #dcebed; }
.route-monitor .monitor-stage-guide li > span { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid #d0e4e9; border-radius: 7px; background: #fff; color: #178d9c; font-size: 11px; font-weight: 750; }
.route-monitor .monitor-stage-guide li strong { display: block; color: #27415d; font-size: 13px; font-weight: 760; }
.route-monitor .monitor-stage-guide li small { display: block; margin-top: 4px; color: #6c8792; font-size: 12px; line-height: 1.5; }
.route-monitor .monitor-stage-guide > p { position: relative; margin: auto 0 0; padding-top: 12px; color: #64858f; font-size: 12px; }
.route-monitor .monitor-workspace { margin-top: 22px; grid-template-columns: minmax(230px,.67fr) minmax(0,2.1fr); gap: 15px; }
.route-monitor .monitor-workspace .v3-card { border: 1px solid #e0e8f1; border-radius: 15px; background: #fff; box-shadow: 0 8px 22px rgba(31,52,87,.04); }
.route-monitor .monitor-list-card { top: 18px; padding: 18px; }
.route-monitor .monitor-list-card .v3-eyebrow { color: #168596; font-size: 12px; }
.route-monitor .monitor-list-card h2 { color: #1d2d4d; font-size: 20px; }
.route-monitor .monitor-account-item { transition: transform .2s ease,border-color .2s ease,background .2s ease; }
.route-monitor .monitor-account-item:hover { transform: translateX(3px); border-color: #c3dce2; background: #f8fcfd; }
.route-monitor .monitor-account-item.active { border-color: #a9d1d9; background: #eff8fa; }
.route-monitor .monitor-profile-card,.route-monitor .monitor-inspiration-card,.route-monitor .monitor-timeline-card { padding: 20px; }
.route-monitor .monitor-profile-main h2 { color: #1c2d4f; font-size: 20px; }
.route-monitor .monitor-profile-metrics > div { border-color: #e4edf2; background: #f8fbfc; }
.route-monitor .monitor-inspiration-item { border-color: #e0ebef; background: #fbfdfd; }
.route-monitor .monitor-event-filters button { transition: border-color .18s ease,background .18s ease,color .18s ease; }
.route-monitor .monitor-workspace.is-empty { display: block; }
.route-monitor .monitor-workspace.is-empty .monitor-list-card { display: none; }
.route-monitor .monitor-workspace.is-empty .monitor-main-column { display: block; }
.v3-shell .content.route-monitor .v3-card.monitor-empty-state { min-height: 153px; padding: 25px 29px; display: grid; grid-template-columns: 60px minmax(0,1fr) auto; grid-template-rows: auto auto auto; align-content: center; align-items: center; column-gap: 18px; border-style: dashed; border-color: #cbdce5; border-radius: 15px; background: #fcfefe; box-shadow: none; }
.route-monitor .monitor-empty-symbol { width: 58px; height: 58px; grid-column: 1; grid-row: 1 / 4; display: grid; place-items: center; border: 1px solid #d3e8eb; border-radius: 14px; background: #eef8fa; color: #238c9d; }
.route-monitor .monitor-empty-symbol svg { width: 27px; height: 27px; }
.route-monitor .monitor-empty-state .v3-eyebrow { grid-column: 2; color: #168698; font-size: 12px; }
.route-monitor .monitor-empty-state .v3-eyebrow::before { display: none; }
.route-monitor .monitor-empty-state h2 { grid-column: 2; margin: 6px 0 3px; color: #203253; font-size: 22px; font-weight: 760; }
.route-monitor .monitor-empty-state p { grid-column: 2; margin: 0; color: #75879d; font-size: 13px; line-height: 1.55; }
.route-monitor .monitor-empty-state .v3-btn { min-height: 43px; grid-column: 3; grid-row: 1 / 4; display: inline-flex; align-items: center; gap: 8px; padding: 0 17px; border-radius: 9px; background: #315ad2; color: #fff; font-size: 13px; white-space: nowrap; }
.route-monitor .monitor-empty-state .v3-btn svg { width: 14px; height: 14px; transition: transform .2s ease; }
.route-monitor .monitor-empty-state .v3-btn:hover svg { transform: translateX(3px); }
@media (max-width: 1050px) {
  .route-monitor .monitor-stage-inner,.route-monitor .monitor-workspace { width: min(calc(100% - 44px),1380px); }
  .route-monitor .monitor-stage-grid { grid-template-columns: 1fr; }
  .route-monitor .monitor-stage-guide { display: none; }
}
@media (max-width: 760px) {
  .route-monitor .mobile-account-tabs { width: 100%; margin: 0 0 2px; padding: 7px 14px; box-sizing: border-box; }
  .route-monitor .monitor-stage-inner,.route-monitor .monitor-workspace { width: calc(100% - 28px); }
  .route-monitor .monitor-stage-inner { padding-top: 17px; }
  .v3-shell .content.route-monitor .v3-card.monitor-add-card { padding: 20px 17px; }
  .route-monitor .monitor-add-card > header { flex-direction: column; gap: 9px; }
  .route-monitor .monitor-add-card > header h2 { font-size: 21px; }
  .route-monitor .monitor-add-card > header p { font-size: 13px; }
  .route-monitor .monitor-safe-note { align-self: flex-start; }
  .route-monitor .monitor-input-wide > div { grid-template-columns: 1fr; }
  .route-monitor .monitor-account-source input { font-size: 16px; }
  .route-monitor .monitor-input-wide .v3-btn.primary { width: 100%; }
  .route-monitor .monitor-config-panel.is-compact .monitor-config-head > div > strong { display: none; }
  .route-monitor .monitor-config-panel.is-compact .monitor-config-grid { grid-template-columns: 1fr; gap: 3px; }
  .route-monitor .monitor-config-panel.is-compact .monitor-config-grid > .monitor-config-item { min-height: 44px; grid-template-columns: 30px minmax(0,1fr); gap: 9px; }
  .route-monitor .monitor-workspace { margin-top: 15px; grid-template-columns: 1fr; }
  .v3-shell .content.route-monitor .v3-card.monitor-empty-state { padding: 19px; grid-template-columns: 46px minmax(0,1fr); column-gap: 12px; }
  .route-monitor .monitor-empty-symbol { width: 45px; height: 45px; border-radius: 12px; }
  .route-monitor .monitor-empty-state h2 { font-size: 19px; }
  .route-monitor .monitor-empty-state .v3-btn { grid-column: 1 / -1; grid-row: 4; justify-content: center; margin-top: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .route-monitor :is(.monitor-add-card,.monitor-account-item,.monitor-empty-state .v3-btn svg) { transition: none !important; }
}

/* Keep the default state focused on the single action: identify an account. */
.route-monitor .monitor-stage-inner { padding-top: 30px; }
.route-monitor .monitor-stage-grid { display: block; }
.v3-shell .content.route-monitor .v3-card.monitor-add-card { min-height: 272px; padding: 36px 42px; display: flex; align-items: center; border-color: #dfe8f1; background: linear-gradient(112deg,#fff 0%,#fff 62%,#f4fafc 100%); }
.v3-shell .content.route-monitor .v3-card.monitor-add-card::before { left: 42px; width: 56px; }
.route-monitor .monitor-entry { position: relative; z-index: 1; width: min(100%,800px); }
.route-monitor .monitor-add-card > .monitor-entry > header { display: block; margin-bottom: 25px; }
.route-monitor .monitor-add-card > .monitor-entry > header .v3-eyebrow { font-size: 11px; font-weight: 760; }
.route-monitor .monitor-add-card > .monitor-entry > header h2 { margin: 8px 0 0; font-size: 25px; letter-spacing: -.025em; }
.route-monitor .monitor-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.route-monitor .monitor-input-wide > div { gap: 10px; }
.route-monitor .monitor-account-source input { height: 52px; background: #fff; }
.route-monitor .monitor-input-wide .v3-btn.primary { min-height: 52px; }
.route-monitor .monitor-config-panel.is-compact { margin-top: 18px; padding: 12px 0 0; }
.route-monitor .monitor-config-panel.is-compact .monitor-config-head { min-height: 34px; }
.route-monitor .monitor-config-panel.is-compact .monitor-config-head > div { min-width: 0; }
.route-monitor .monitor-config-summary { display: block; overflow: hidden; color: #60748e !important; font-size: 12px !important; font-weight: 560; text-overflow: ellipsis; white-space: nowrap; }
.route-monitor .monitor-config-summary i { margin: 0 5px; color: #a9b8ca; font-style: normal; }
.route-monitor .monitor-config-panel.is-compact .monitor-config-head .v3-btn { flex: none; border-color: #dce5ef; background: #fff; color: #3a608b; }
.route-monitor .monitor-config-panel.is-compact.is-editing .monitor-config-head .v3-btn { background: #315ad2; color: #fff; }
.route-monitor .monitor-config-panel.is-compact .monitor-config-grid { margin-top: 18px; padding-top: 14px; border-top: 1px solid #e8edf4; }
.route-monitor .monitor-preview { margin-top: 18px; }
.route-monitor .monitor-stage-art { position: absolute; top: 0; right: 0; width: min(33%,370px); height: 100%; overflow: hidden; pointer-events: none; }
.route-monitor .monitor-stage-art::before { position: absolute; inset: 0; background: radial-gradient(circle at 48% 49%,rgba(60,137,174,.12),transparent 58%); content: ""; }
.route-monitor .monitor-radar { position: absolute; top: 50%; left: 50%; width: 164px; height: 164px; transform: translate(-50%,-50%); border: 1px solid rgba(59,143,177,.2); border-radius: 50%; box-shadow: 0 0 0 40px rgba(83,174,192,.055),0 0 0 79px rgba(83,174,192,.035); }
.route-monitor .monitor-radar::before,.route-monitor .monitor-radar::after { position: absolute; inset: 39px; border: 1px solid rgba(59,143,177,.24); border-radius: 50%; content: ""; }
.route-monitor .monitor-radar::after { inset: 73px; background: #318aa9; box-shadow: 0 0 0 8px rgba(49,138,169,.12); }
.route-monitor .monitor-radar span,.route-monitor .monitor-radar i,.route-monitor .monitor-radar b { position: absolute; z-index: 1; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: #4aa9bb; box-shadow: 0 2px 8px rgba(44,132,165,.2); }
.route-monitor .monitor-radar span { top: 16px; right: 17px; }.route-monitor .monitor-radar i { right: 34px; bottom: 25px; }.route-monitor .monitor-radar b { top: 58px; left: 35px; }
.route-monitor .monitor-art-lines { position: absolute; right: 8px; bottom: 26px; left: 8px; height: 22px; display: flex; align-items: end; justify-content: center; gap: 7px; opacity: .42; }
.route-monitor .monitor-art-lines span { width: 7px; height: 6px; border-radius: 3px; background: #64a9ba; }.route-monitor .monitor-art-lines span:nth-child(2),.route-monitor .monitor-art-lines span:nth-child(6) { height: 12px; }.route-monitor .monitor-art-lines span:nth-child(3),.route-monitor .monitor-art-lines span:nth-child(5) { height: 18px; }.route-monitor .monitor-art-lines span:nth-child(4) { height: 10px; }
.route-monitor .monitor-workspace { margin-top: 16px; }
.v3-shell .content.route-monitor .v3-card.monitor-empty-state { min-height: 106px; padding: 20px 27px; display: flex; align-items: center; gap: 17px; border-style: solid; border-color: #e4ebf3; background: #fff; }
.route-monitor .monitor-empty-symbol { width: 46px; height: 46px; flex: none; border-radius: 12px; }.route-monitor .monitor-empty-symbol svg { width: 22px; height: 22px; }
.route-monitor .monitor-empty-state h2 { margin: 0 0 5px; font-size: 16px; }.route-monitor .monitor-empty-state p { margin: 0; font-size: 12px; }
@media (max-width: 1100px) {
  .route-monitor .monitor-stage-art { width: 26%; opacity: .55; }
  .route-monitor .monitor-entry { width: min(100%,720px); }
}
@media (max-width: 850px) {
  .route-monitor .monitor-stage-art { display: none; }
  .route-monitor .monitor-entry { width: 100%; }
}
@media (max-width: 760px) {
  .route-monitor .monitor-stage-inner { padding-top: 16px; }
  .v3-shell .content.route-monitor .v3-card.monitor-add-card { min-height: 0; padding: 24px 19px; }
  .v3-shell .content.route-monitor .v3-card.monitor-add-card::before { left: 19px; }
  .route-monitor .monitor-add-card > .monitor-entry > header { margin-bottom: 19px; }
  .route-monitor .monitor-add-card > .monitor-entry > header h2 { font-size: 22px; }
  .route-monitor .monitor-config-summary { max-width: 225px; }
  .v3-shell .content.route-monitor .v3-card.monitor-empty-state { min-height: 82px; padding: 16px; }
  .route-monitor .monitor-empty-state p { line-height: 1.45; }
}

/* A useful visual explanation replaces the decorative radar. */
.v3-shell .content.route-monitor .v3-card.monitor-add-card { min-height: 330px; background: linear-gradient(115deg,#fff 0%,#fff 58%,#eef5ff 100%); }
.route-monitor .monitor-entry { width: min(800px,calc(100% - 370px)); }
.route-monitor .monitor-add-card > .monitor-entry > header { margin-bottom: 25px; }
.route-monitor .monitor-add-card > .monitor-entry > header h2 { max-width: 780px; font-size: clamp(23px,1.42vw,27px); }
.route-monitor .monitor-add-card > .monitor-entry > header p { margin: 8px 0 0; color: #6d7f98; font-size: 14px; line-height: 1.55; }
.route-monitor .monitor-account-source label { gap: 9px; }
.route-monitor .monitor-account-source label > span:not(.monitor-visually-hidden) { color: #385376; font-size: 13px; font-weight: 730; }
.route-monitor .monitor-input-wide .v3-btn.primary { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 129px; }
.route-monitor .monitor-input-wide .v3-btn.primary svg { width: 15px; height: 15px; transition: transform .2s ease; }
.route-monitor .monitor-input-wide .v3-btn.primary:hover svg { transform: translateX(3px); }
.route-monitor .monitor-config-summary b { color: #2d4f7d; font-weight: 760; }
.route-monitor .monitor-benefits { position: absolute; top: 15px; right: 15px; bottom: 15px; width: 324px; padding: 25px 23px; display: flex; flex-direction: column; justify-content: center; gap: 10px; overflow: hidden; border: 1px solid #345e98; border-radius: 15px; background: radial-gradient(circle at 92% 2%,rgba(65,174,227,.28),transparent 40%),linear-gradient(155deg,#173c73,#142a55); box-shadow: 0 13px 24px rgba(23,52,105,.16); color: #fff; }
.route-monitor .monitor-benefits::before { position: absolute; top: -70px; right: -75px; width: 200px; height: 200px; border: 1px solid rgba(160,221,255,.12); border-radius: 50%; box-shadow: 0 0 0 30px rgba(160,221,255,.035),0 0 0 65px rgba(160,221,255,.025); content: ""; }
.route-monitor .monitor-benefits-title { position: relative; display: flex; align-items: center; gap: 9px; margin-bottom: 6px; color: #d6ebff; font-size: 13px; letter-spacing: .02em; }
.route-monitor .monitor-benefits-pulse { width: 8px; height: 8px; border-radius: 50%; background: #60dec9; box-shadow: 0 0 0 5px rgba(96,222,201,.15); }
.route-monitor .monitor-benefit { position: relative; min-height: 56px; padding: 9px 11px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(184,219,255,.15); border-radius: 10px; background: rgba(255,255,255,.065); }
.route-monitor .monitor-benefit-icon { width: 35px; height: 35px; flex: none; display: grid; place-items: center; border-radius: 9px; }
.route-monitor .monitor-benefit-icon svg { width: 17px; height: 17px; }.route-monitor .monitor-benefit-icon.is-blue { background: rgba(108,154,255,.19); color: #a8c5ff; }.route-monitor .monitor-benefit-icon.is-cyan { background: rgba(75,204,211,.17); color: #84e1e0; }.route-monitor .monitor-benefit-icon.is-amber { background: rgba(250,190,93,.17); color: #ffd293; }
.route-monitor .monitor-benefit strong { display: block; font-size: 13px; font-weight: 760; }.route-monitor .monitor-benefit small { display: block; margin-top: 3px; color: #afc3e0; font-size: 11px; line-height: 1.35; }
.v3-shell .content.route-monitor .v3-card.monitor-add-card.is-editing { min-height: 0; background: #fff; }
.route-monitor .monitor-add-card.is-editing .monitor-entry { width: 100%; max-width: none; }
.route-monitor .monitor-add-card.is-editing .monitor-benefits { display: none; }
@media (max-width: 980px) {
  .v3-shell .content.route-monitor .v3-card.monitor-add-card { display: block; }
  .route-monitor .monitor-entry { width: 100%; max-width: none; }
  .route-monitor .monitor-benefits { position: relative; inset: auto; width: auto; margin-top: 22px; padding: 18px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
  .route-monitor .monitor-benefits-title { grid-column: 1 / -1; margin-bottom: 1px; }
}
@media (max-width: 760px) {
  .v3-shell .content.route-monitor .v3-card.monitor-add-card { padding: 24px 19px 18px; }
  .route-monitor .monitor-add-card > .monitor-entry > header h2 { font-size: 21px; line-height: 1.35; }
  .route-monitor .monitor-add-card > .monitor-entry > header p { font-size: 13px; }
  .route-monitor .monitor-benefits { margin-top: 18px; padding: 15px; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
  .route-monitor .monitor-benefits-title { font-size: 12px; }
  .route-monitor .monitor-benefit { min-height: 82px; padding: 10px 6px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; }
  .route-monitor .monitor-benefit-icon { width: 28px; height: 28px; border-radius: 7px; }.route-monitor .monitor-benefit-icon svg { width: 15px; height: 15px; }
  .route-monitor .monitor-benefit strong { font-size: 12px; }.route-monitor .monitor-benefit small { display: none; }
  .route-monitor .monitor-config-summary { max-width: 205px; }
  .route-monitor .monitor-config-extra { display: none; }
}
@media (prefers-reduced-motion: reduce) { .route-monitor .monitor-input-wide .v3-btn.primary svg { transition: none; } }

/* Interaction and populated tracking states. */
.route-monitor .monitor-add-card { view-transition-name: monitor-setup; }
.route-monitor .monitor-main-column { view-transition-name: monitor-results; }
::view-transition-old(monitor-setup),::view-transition-old(monitor-results) { animation: .2s ease-in both monitor-fade-out; }
::view-transition-new(monitor-setup),::view-transition-new(monitor-results) { animation: .3s cubic-bezier(.2,.8,.2,1) both monitor-fade-in; }
@keyframes monitor-fade-out { to { opacity: 0; transform: translateY(-5px); } }
@keyframes monitor-fade-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes monitor-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes monitor-soft-enter { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes monitor-pulse { 50% { box-shadow: 0 0 0 9px rgba(96,222,201,.04); } }
.route-monitor .monitor-stage.is-entering .monitor-stage-inner { animation: monitor-enter .45s cubic-bezier(.2,.8,.2,1) both; }
.route-monitor .monitor-workspace.is-entering { animation: monitor-soft-enter .45s .09s cubic-bezier(.2,.8,.2,1) both; }
.route-monitor.monitor-motion-setup .monitor-add-card,.route-monitor.monitor-motion-results .monitor-main-column { animation: monitor-soft-enter .3s cubic-bezier(.2,.8,.2,1) both; }
.route-monitor .monitor-benefit { transition: transform .22s ease,background-color .22s ease,border-color .22s ease; }
.route-monitor .monitor-benefits-pulse { animation: monitor-pulse 2.8s ease-in-out infinite; }
.route-monitor .monitor-benefit:hover { transform: translateX(4px); border-color: rgba(184,219,255,.32); background: rgba(255,255,255,.105); }
.route-monitor :is(.monitor-input-wide .v3-btn,.monitor-config-head .v3-btn,.monitor-profile-actions .v3-btn,.monitor-inspiration-actions .v3-btn,.monitor-section-actions button,.monitor-event-filters button) { transition: transform .2s ease,box-shadow .2s ease,background-color .2s ease,border-color .2s ease,color .2s ease; }
.route-monitor :is(.monitor-input-wide .v3-btn,.monitor-config-head .v3-btn,.monitor-profile-actions .v3-btn,.monitor-inspiration-actions .v3-btn,.monitor-section-actions button,.monitor-event-filters button):active { transform: scale(.96); }
.route-monitor :is(button,a,select,input):focus-visible { outline: 3px solid rgba(57,111,213,.25); outline-offset: 3px; }
.route-monitor .monitor-account-item { transition: transform .22s ease,border-color .22s ease,background-color .22s ease,box-shadow .22s ease; }
.route-monitor .monitor-account-item:hover { transform: translateX(4px); box-shadow: 0 7px 16px rgba(35,70,113,.07); }
.route-monitor .monitor-account-item:active { transform: scale(.985); }
.route-monitor .monitor-event-filters button:hover:not(.active) { transform: translateY(-2px); border-color: #adc6e9; background: #f1f6ff; color: #315ad2; }
.route-monitor .monitor-event-filters button.active { border-color: #315ad2; background: #315ad2; box-shadow: 0 4px 11px rgba(49,90,210,.18); color: #fff; }
.route-monitor .monitor-section-actions .section-collapse-toggle:hover { transform: translateY(-2px) rotate(4deg); }
.route-monitor .monitor-inspiration-actions .v3-btn:hover { transform: translateY(-2px); }

.route-monitor .monitor-stage.is-populated .monitor-stage-inner { padding-top: 17px; }
.v3-shell .content.route-monitor .v3-card.monitor-add-card.has-monitors { min-height: 0; padding: 22px 28px 21px; background: #fff; }
.route-monitor .monitor-add-card.has-monitors .monitor-entry { width: 100%; max-width: none; }
.route-monitor .monitor-add-card.has-monitors .monitor-benefits { display: none; }
.route-monitor .monitor-add-card.has-monitors > .monitor-entry > header { margin-bottom: 15px; }
.route-monitor .monitor-add-card.has-monitors > .monitor-entry > header h2 { margin-top: 5px; font-size: 20px; }
.route-monitor .monitor-add-card.has-monitors .monitor-account-source { max-width: 850px; }
.route-monitor .monitor-add-card.has-monitors .monitor-config-panel { margin-top: 14px; }
.route-monitor .monitor-workspace:not(.is-empty) { margin-top: 17px; }

.route-monitor .monitor-list-card { padding: 20px; }
.route-monitor .monitor-account-item.active { border-color: #8db7dc; background: #eef5ff; box-shadow: inset 3px 0 #315ad2; }
.route-monitor .monitor-account-item strong { color: #1d3052; font-size: 13px; }
.route-monitor .monitor-account-item small { font-size: 10px; }
.route-monitor .monitor-profile-card { position: relative; overflow: hidden; }
.route-monitor .monitor-profile-card::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg,#315ad2,#49b6be 55%,transparent); content: ""; }
.route-monitor .monitor-profile-main p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.route-monitor .monitor-profile-metrics > div { min-width: 0; transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.route-monitor .monitor-profile-metrics > div:hover { transform: translateY(-2px); border-color: #c8d9ed; box-shadow: 0 7px 15px rgba(37,75,120,.055); }
.route-monitor .monitor-profile-metrics strong { overflow-wrap: anywhere; }
.route-monitor .monitor-profile-metrics em.is-negative { color: #bf5860; }.route-monitor .monitor-profile-metrics em.is-neutral { color: #8090a6; }

.route-monitor .monitor-timeline-card > header { margin-bottom: 17px; gap: 14px; }
.route-monitor .monitor-timeline { gap: 17px; }
.route-monitor .monitor-event-dot { background: #6790d8; box-shadow: 0 0 0 3px #e9f0fb; }
.route-monitor .monitor-event-publish .monitor-event-dot { background: #4268dc; box-shadow: 0 0 0 3px #e8edff; }
.route-monitor .monitor-event-profile_change .monitor-event-dot { background: #29a6b3; box-shadow: 0 0 0 3px #e4f7f8; }
.route-monitor .monitor-event-milestone .monitor-event-dot { background: #df9b41; box-shadow: 0 0 0 3px #fff2dc; }
.route-monitor .monitor-event-body { min-width: 0; border-color: #e1e9f3; background: #fff; box-shadow: 0 5px 14px rgba(32,65,110,.035); transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease; }
.route-monitor .monitor-event-body:hover { transform: translateY(-2px); border-color: #c9d9ed; box-shadow: 0 9px 20px rgba(32,65,110,.07); }
.route-monitor .monitor-event-publish .monitor-event-body { border-left: 3px solid #829aec; }
.route-monitor .monitor-event-profile_change .monitor-event-body { border-left: 3px solid #6ec9ca; }
.route-monitor .monitor-event-body h3 { color: #1d3152; overflow-wrap: anywhere; }
.route-monitor .monitor-event-body > p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.route-monitor .monitor-event-head em { background: #eaf0ff; color: #315ad2; font-size: 10px; }
.route-monitor .monitor-event-profile_change .monitor-event-head em { background: #e8f8f8; color: #168491; }
.route-monitor .monitor-post-snapshot { min-width: 0; padding: 10px; gap: 12px; border: 1px solid #e9eff7; border-radius: 11px; background: #f8faff; }
.route-monitor .monitor-post-cover { position: relative; width: 60px; height: 80px; flex: 0 0 60px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; background: linear-gradient(145deg,#dce9f8,#eef6fb); color: #537dbc; }
.route-monitor .monitor-post-cover > svg { width: 24px; height: 24px; }.route-monitor .monitor-post-cover img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.route-monitor .monitor-post-snapshot > div { min-width: 0; }.route-monitor .monitor-post-snapshot strong { display: -webkit-box; overflow: hidden; white-space: normal; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.route-monitor .monitor-post-snapshot span:not(.monitor-post-cover) { line-height: 1.5; }
.route-monitor .monitor-post-snapshot a { width: fit-content; display: inline-flex; align-items: center; gap: 3px; font-size: 11px; transition: gap .2s ease,color .2s ease; }
.route-monitor .monitor-post-snapshot a svg { width: 13px; height: 13px; }.route-monitor .monitor-post-snapshot a:hover { gap: 7px; color: #173da8; }
.route-monitor .monitor-diff-list > div { grid-template-columns: 72px minmax(0,1fr) 18px minmax(0,1fr); align-items: center; }
.route-monitor .monitor-diff-list > div::before { grid-column: 3; grid-row: 1; color: #91a4bd; content: "→"; text-align: center; }
.route-monitor .monitor-diff-list > div > span { grid-column: 1; grid-row: 1; }.route-monitor .monitor-diff-list > div > del { grid-column: 2; grid-row: 1; }.route-monitor .monitor-diff-list > div > ins { grid-column: 4; grid-row: 1; }
.route-monitor .monitor-diff-list > div :is(del,ins) { min-width: 0; overflow-wrap: anywhere; }
.route-monitor .monitor-diff-list del { background: #fff1f1; }.route-monitor .monitor-diff-list ins { background: #eaf8f6; color: #20776e; }

.route-monitor .monitor-inspiration-item { grid-template-columns: 66px minmax(0,1fr); align-items: start; gap: 12px; padding: 13px; background: #fff; transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease; }
.route-monitor .monitor-inspiration-item:hover { transform: translateY(-2px); border-color: #bcd0e9; box-shadow: 0 9px 20px rgba(32,65,110,.06); }
.route-monitor .monitor-inspiration-cover { width: 66px; height: 88px; }
.route-monitor .monitor-inspiration-heading { flex-wrap: wrap; }
.route-monitor .monitor-inspiration-body > strong { display: -webkit-box; overflow: hidden; white-space: normal; overflow-wrap: anywhere; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.route-monitor .monitor-inspiration-body > p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.route-monitor .monitor-inspiration-body > small { line-height: 1.5; }
.route-monitor .monitor-inspiration-actions { grid-column: 2; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 7px; }
.route-monitor .monitor-inspiration-actions .v3-btn { min-height: 32px; padding: 0 10px; font-size: 11px; }
@media (max-width: 900px) {
  .route-monitor .monitor-list-card { position: static; }
  .route-monitor .monitor-account-list { display: flex; gap: 9px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .route-monitor .monitor-account-item { flex: 0 0 min(70vw,275px); scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .v3-shell .content.route-monitor .v3-card.monitor-add-card.has-monitors { padding: 20px 18px; }
  .route-monitor .monitor-add-card.has-monitors > .monitor-entry > header h2 { font-size: 19px; }
  .route-monitor .monitor-workspace:not(.is-empty) { margin-top: 14px; }
  .route-monitor .monitor-profile-card,.route-monitor .monitor-timeline-card,.route-monitor .monitor-inspiration-card { padding: 16px; }
  .route-monitor .monitor-profile-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .route-monitor .monitor-profile-metrics > div { padding: 10px 8px; }
  .route-monitor .monitor-profile-metrics strong { font-size: 18px; }
  .route-monitor .monitor-event { padding-left: 22px; }
  .route-monitor .monitor-event-body { padding: 13px; }
  .route-monitor .monitor-diff-list > div { grid-template-columns: minmax(0,1fr) 18px minmax(0,1fr); gap: 6px; }
  .route-monitor .monitor-diff-list > div > span { grid-column: 1 / -1; grid-row: 1; font-weight: 750; }
  .route-monitor .monitor-diff-list > div > del { grid-column: 1; grid-row: 2; }.route-monitor .monitor-diff-list > div > ins { grid-column: 3; grid-row: 2; }
  .route-monitor .monitor-diff-list > div::before { grid-column: 2; grid-row: 2; }
  .route-monitor .monitor-post-snapshot { align-items: flex-start; }
  .route-monitor .monitor-post-cover { width: 52px; height: 70px; flex-basis: 52px; }
  .route-monitor .monitor-inspiration-item { grid-template-columns: 58px minmax(0,1fr); }
  .route-monitor .monitor-inspiration-cover { width: 58px; height: 78px; }
  .route-monitor .monitor-inspiration-actions { grid-column: 1 / -1; }
  .route-monitor .monitor-inspiration-actions .v3-btn { width: auto; flex: 1 1 auto; }
}
@media (max-width: 390px) {
  .route-monitor .monitor-profile-metrics strong { font-size: 16px; }
  .route-monitor .monitor-diff-list > div { grid-template-columns: 1fr; }
  .route-monitor .monitor-diff-list > div::before { display: none; }
  .route-monitor .monitor-diff-list > div > span { grid-column: 1; }.route-monitor .monitor-diff-list > div > del { grid-column: 1; grid-row: 2; }.route-monitor .monitor-diff-list > div > ins { grid-column: 1; grid-row: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .route-monitor .monitor-stage.is-entering .monitor-stage-inner,.route-monitor .monitor-workspace.is-entering,.route-monitor.monitor-motion-setup .monitor-add-card,.route-monitor.monitor-motion-results .monitor-main-column { animation: none; }
  .route-monitor :is(.monitor-benefit,.monitor-account-item,.monitor-profile-metrics > div,.monitor-event-body,.monitor-inspiration-item,.monitor-post-snapshot a,.monitor-input-wide .v3-btn,.monitor-config-head .v3-btn,.monitor-profile-actions .v3-btn,.monitor-inspiration-actions .v3-btn,.monitor-section-actions button,.monitor-event-filters button) { transition: none !important; }
  .route-monitor .monitor-benefits-pulse { animation: none; }
  ::view-transition-old(monitor-setup),::view-transition-new(monitor-setup),::view-transition-old(monitor-results),::view-transition-new(monitor-results) { animation-duration: .01ms; }
}

/* The benchmark library shares tracking's calm spacing and motion, with a warmer research identity. */
.v3-shell .content.route-benchmarks { width: min(calc(100% - 68px), 1380px); max-width: none; margin: 0 auto; padding: 26px 0 64px; gap: 17px; }
.v3-main:has(.content.route-benchmarks) .v3-scroll-region { background: #f7f9fc; }
.route-benchmarks .benchmark-stage { position: relative; min-height: 235px; padding: 31px 38px; display: flex; align-items: center; overflow: hidden; isolation: isolate; border: 1px solid #dce6f1; border-radius: 17px; background: radial-gradient(circle at 83% 20%,#eaf3ff 0,transparent 28%),linear-gradient(108deg,#fff 0%,#fff 57%,#f4f8ff 100%); box-shadow: 0 12px 30px rgba(31,52,87,.052); }
.route-benchmarks .benchmark-stage::before { position: absolute; top: 0; left: 38px; width: 63px; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg,#5672dc,#57aab9); content: ""; }
.route-benchmarks .benchmark-stage-copy { position: relative; z-index: 1; max-width: 800px; }
.route-benchmarks .benchmark-kicker { display: inline-flex; align-items: center; gap: 9px; color: #426ab9; font-size: 12px; font-weight: 760; }
.route-benchmarks .benchmark-kicker i { width: 3px; height: 3px; border-radius: 50%; background: #a9bad4; }
.route-benchmarks .benchmark-stage h1 { margin: 10px 0 6px; color: #192b4b; font-size: clamp(24px,1.7vw,30px); line-height: 1.24; letter-spacing: -.035em; font-weight: 770; }
.route-benchmarks .benchmark-stage p { margin: 0; color: #6e809b; font-size: 13px; line-height: 1.6; }
.route-benchmarks .benchmark-stage-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.route-benchmarks .benchmark-stage-actions .v3-btn { min-height: 43px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9px; border-color: #d4e0f0; background: #fff; color: #315482; font-size: 13px; font-weight: 730; box-shadow: 0 3px 8px rgba(35,65,114,.035); transition: transform .2s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease; }
.route-benchmarks .benchmark-stage-actions .v3-btn.primary { border-color: #315ad2; background: #315ad2; color: #fff; box-shadow: 0 7px 16px rgba(49,90,210,.18); }
.route-benchmarks .benchmark-stage-actions .v3-btn:hover { transform: translateY(-2px); border-color: #9dbce3; box-shadow: 0 9px 17px rgba(35,65,114,.11); }
.route-benchmarks .benchmark-stage-actions .v3-btn.primary:hover { border-color: #274fc3; background: #274fc3; }
.route-benchmarks .benchmark-stage-actions .v3-btn:active { transform: translateY(0) scale(.98); }
.route-benchmarks .benchmark-stage-actions svg { width: 16px; height: 16px; }
.route-benchmarks .benchmark-stage-actions .v3-btn:not(.primary) svg { width: 14px; transition: transform .2s ease; }
.route-benchmarks .benchmark-stage-actions .v3-btn:not(.primary):hover svg { transform: translateX(3px); }
.route-benchmarks .benchmark-stage-art { position: absolute; top: 0; right: 2%; width: 330px; height: 100%; opacity: .86; pointer-events: none; }
.route-benchmarks .benchmark-art-orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(90,136,200,.16); border-radius: 50%; transform: translate(-50%,-50%); }
.route-benchmarks .orbit-one { width: 140px; height: 140px; }
.route-benchmarks .orbit-two { width: 245px; height: 245px; border-color: rgba(90,136,200,.1); }
.route-benchmarks .benchmark-art-center,.route-benchmarks .benchmark-art-node { position: absolute; display: grid; place-items: center; border: 1px solid #d7e7f4; background: #fff; color: #4c7dc6; box-shadow: 0 12px 22px rgba(46,91,150,.1); }
.route-benchmarks .benchmark-art-center { top: 50%; left: 50%; width: 66px; height: 66px; border-radius: 19px; transform: translate(-50%,-50%); color: #315ad2; }
.route-benchmarks .benchmark-art-center svg { width: 29px; height: 29px; }
.route-benchmarks .benchmark-art-node { width: 35px; height: 35px; border-radius: 11px; }
.route-benchmarks .benchmark-art-node svg { width: 17px; height: 17px; }
.route-benchmarks .node-one { top: 17%; left: 20%; }.route-benchmarks .node-two { right: 13%; top: 26%; }.route-benchmarks .node-three { right: 24%; bottom: 14%; }
.v3-shell .content.route-benchmarks .v3-card.benchmark-directory-card { min-width: 0; padding: 23px 25px 26px; gap: 18px; border: 1px solid #e0e8f1; border-radius: 16px; background: #fff; box-shadow: 0 8px 22px rgba(31,52,87,.04); }
.route-benchmarks .benchmark-directory-head { min-height: 44px; margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.route-benchmarks .benchmark-section-kicker { display: block; color: #448496; font-size: 11px; font-weight: 780; letter-spacing: .035em; }
.route-benchmarks .benchmark-directory-head h2 { margin: 5px 0 0; color: #1f3252; font-size: 19px; letter-spacing: -.02em; }
.route-benchmarks .benchmark-directory-tools { display: flex; align-items: center; gap: 12px; }
.route-benchmarks .benchmark-count { color: #7d8da4; font-size: 11px; white-space: nowrap; }
.route-benchmarks .benchmark-directory-tools .v3-btn { min-height: 34px; padding: 0 11px; border-radius: 8px; background: #fff; color: #456489; font-size: 12px; }
.route-benchmarks .benchmark-empty { min-height: 187px; padding: 19px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #d9e4ef; border-radius: 12px; background: radial-gradient(circle at 50% 0,#f4f8ff,#fbfdff 63%); text-align: center; }
.route-benchmarks .benchmark-empty-symbol { position: relative; width: 47px; height: 47px; margin-bottom: 11px; display: grid; place-items: center; border: 1px solid #d8e6f4; border-radius: 14px; background: #fff; color: #4a77ce; box-shadow: 0 6px 16px rgba(61,105,172,.08); }
.route-benchmarks .benchmark-empty-symbol > svg { width: 24px; height: 24px; }
.route-benchmarks .benchmark-empty-symbol > span { position: absolute; right: -7px; bottom: -5px; width: 20px; height: 20px; display: grid; place-items: center; border: 2px solid #f8fbff; border-radius: 50%; background: #e1f4f3; color: #2098a3; }
.route-benchmarks .benchmark-empty-symbol > span svg { width: 12px; height: 12px; }
.route-benchmarks .benchmark-empty strong { color: #233856; font-size: 15px; }
.route-benchmarks .benchmark-empty p { margin: 5px 0 0; color: #74859c; font-size: 12px; line-height: 1.55; }
.route-benchmarks .benchmark-empty-path { display: flex; align-items: center; gap: 12px; margin-top: 17px; color: #6f829c; font-size: 11px; font-weight: 650; }
.route-benchmarks .benchmark-empty-path span { display: inline-flex; align-items: center; gap: 5px; }
.route-benchmarks .benchmark-empty-path b { color: #4377bf; font-size: 10px; }
.route-benchmarks .benchmark-empty-path i { width: 22px; height: 1px; background: #d5e2ef; }
.route-benchmarks .benchmark-directory-grid { gap: 14px; }
.route-benchmarks .benchmark-directory-item { min-height: 255px; padding: 19px; grid-template-columns: minmax(0,1fr) auto; align-content: start; gap: 0 10px; border-color: #e1e9f2; border-radius: 13px; background: #fff; transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease; }
.route-benchmarks .benchmark-directory-item:hover { transform: translateY(-3px); border-color: #bfcfe8; box-shadow: 0 13px 25px rgba(35,67,113,.09); }
.route-benchmarks .benchmark-directory-item.is-bulk-mode { padding-top: 55px; }
.route-benchmarks .benchmark-directory-item.is-bulk-selected { border-color: #6591da; background: #f8fbff; }
.route-benchmarks .benchmark-directory-main { grid-column: 1; align-items: flex-start; gap: 11px; }
.route-benchmarks .benchmark-directory-main .avatar { width: 45px; height: 45px; border: 1px solid #e0e7f0; }
.route-benchmarks .benchmark-directory-main > div { gap: 2px; }
.route-benchmarks .benchmark-directory-main strong { color: #203454; font-size: 15px; }
.route-benchmarks .benchmark-directory-main span { color: #6284a9; font-size: 11px; }
.route-benchmarks .benchmark-directory-main em { max-width: 410px; color: #8492a6; font-size: 11px; }
.route-benchmarks .benchmark-track-status { grid-column: 2; align-self: start; padding: 5px 8px; border-radius: 6px; background: #f2f5f9; color: #8b98aa; font-size: 10px; font-weight: 730; white-space: nowrap; }
.route-benchmarks .benchmark-track-status.is-active { background: #e7f5f2; color: #228b74; }
.route-benchmarks .benchmark-directory-metrics { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin-top: 14px; padding: 10px 0; border-top: 1px solid #edf1f6; border-bottom: 1px solid #edf1f6; }
.route-benchmarks .benchmark-directory-metrics span { min-width: 0; padding: 0 12px; display: flex; flex-direction: column; gap: 3px; border-right: 1px solid #e8eef6; border-radius: 0; background: transparent; color: #8a98aa; font-size: 10px; }
.route-benchmarks .benchmark-directory-metrics span:first-child { padding-left: 0; }.route-benchmarks .benchmark-directory-metrics span:last-child { border: 0; }
.route-benchmarks .benchmark-directory-metrics b { margin: 0; color: #203454; font-size: 15px; font-weight: 770; }
.route-benchmarks .benchmark-directory-insight { min-width: 0; grid-column: 1 / -1; display: flex; align-items: baseline; gap: 9px; margin-top: 11px; }
.route-benchmarks .benchmark-directory-insight span { flex: none; color: #7890a8; font-size: 11px; }
.route-benchmarks .benchmark-directory-insight strong { min-width: 0; overflow: hidden; color: #354b67; font-size: 12px; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.route-benchmarks .benchmark-research-state { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; margin-top: 7px; color: #61748e; font-size: 11px; }
.route-benchmarks .benchmark-state-dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: #9db0c6; }
.route-benchmarks .benchmark-state-dot.is-running { background: #40aaa0; box-shadow: 0 0 0 4px rgba(64,170,160,.12); animation: benchmark-pulse 2s ease-in-out infinite; }
.route-benchmarks .benchmark-research-state em { margin-left: auto; color: #9ba9b9; font-style: normal; }
.route-benchmarks .benchmark-directory-item > .empty,.route-benchmarks .benchmark-directory-item > .benchmark-research-progress { grid-column: 1 / -1; margin-top: 9px; }
.route-benchmarks .benchmark-directory-item > .v3-card-actions { grid-column: 1 / -1; align-self: end; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.route-benchmarks .benchmark-directory-item .v3-btn { min-height: 34px; padding: 0 12px; border-radius: 8px; font-size: 11px; font-weight: 730; transition: transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease; }
.route-benchmarks .benchmark-directory-item .v3-btn.primary { background: #315ad2; }
.route-benchmarks .benchmark-directory-item .v3-btn:not([disabled]):hover { transform: translateY(-2px); box-shadow: 0 6px 13px rgba(31,69,124,.12); }
.route-benchmarks .benchmark-directory-item .v3-btn:not([disabled]):active { transform: translateY(0) scale(.98); }
.route-benchmarks .benchmark-directory-item .v3-btn svg { width: 13px; height: 13px; margin-left: 2px; }
.route-benchmarks .benchmark-directory-item .benchmark-remove { margin-left: auto; border-color: transparent; background: transparent; color: #9aa7b8; }
.route-benchmarks .benchmark-directory-item .benchmark-remove:hover { border-color: #f0c8c8; background: #fff7f7; color: #b44f55; box-shadow: none !important; }
.route-benchmarks .benchmark-bulk-check { z-index: 2; }
.route-benchmarks .benchmark-bulk-toolbar { border-color: #d5e3f3; background: #f6faff; }
@keyframes benchmark-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes benchmark-pulse { 50% { box-shadow: 0 0 0 7px rgba(64,170,160,.04); } }
.route-benchmarks .benchmark-stage { animation: benchmark-enter .4s cubic-bezier(.2,.8,.2,1) both; }
.route-benchmarks .benchmark-directory-card { animation: benchmark-enter .42s .07s cubic-bezier(.2,.8,.2,1) both; }
.route-benchmarks .benchmark-directory-item { animation: benchmark-enter .33s cubic-bezier(.2,.8,.2,1) both; }
.route-benchmarks .benchmark-directory-item:nth-child(2n) { animation-delay: .05s; }
@media (max-width: 1100px) { .route-benchmarks .benchmark-stage-art { right: -4%; opacity: .47; }.route-benchmarks .benchmark-stage-copy { max-width: 660px; } }
@media (max-width: 760px) {
  .v3-shell .content.route-benchmarks { width: calc(100% - 28px); padding-top: 16px; gap: 13px; }
  .route-benchmarks .benchmark-stage { min-height: 0; padding: 24px 19px; }
  .route-benchmarks .benchmark-stage::before { left: 19px; }
  .route-benchmarks .benchmark-stage-art { display: none; }
  .route-benchmarks .benchmark-stage h1 { font-size: 23px; }
  .route-benchmarks .benchmark-stage p { font-size: 12px; }
  .route-benchmarks .benchmark-stage-actions { margin-top: 19px; }
  .route-benchmarks .benchmark-stage-actions .v3-btn { flex: 1 1 145px; min-height: 42px; padding: 0 11px; font-size: 12px; }
  .v3-shell .content.route-benchmarks .v3-card.benchmark-directory-card { padding: 19px 15px; gap: 13px; }
  .route-benchmarks .benchmark-directory-head { align-items: center; flex-direction: row; }
  .route-benchmarks .benchmark-directory-head h2 { font-size: 17px; }
  .route-benchmarks .benchmark-directory-tools { flex-direction: row; align-items: center; }
  .route-benchmarks .benchmark-count { display: none; }
  .route-benchmarks .benchmark-empty { min-height: 190px; padding: 16px 10px; }
  .route-benchmarks .benchmark-empty-path { gap: 6px; font-size: 10px; }
  .route-benchmarks .benchmark-empty-path i { width: 9px; }
  .route-benchmarks .benchmark-directory-grid { grid-template-columns: 1fr; }
  .route-benchmarks .benchmark-directory-item { padding: 15px; }
  .route-benchmarks .benchmark-directory-main em { max-width: 190px; }
  .route-benchmarks .benchmark-directory-item > .v3-card-actions { width: 100%; }
  .route-benchmarks .benchmark-directory-item .v3-btn { min-height: 36px; }
}
@media (max-width: 390px) { .route-benchmarks .benchmark-track-status { max-width: 69px; white-space: normal; text-align: center; }.route-benchmarks .benchmark-stage-actions .v3-btn { flex-basis: 100%; }.route-benchmarks .benchmark-directory-item .benchmark-remove { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .route-benchmarks :is(.benchmark-stage,.benchmark-directory-card,.benchmark-directory-item,.benchmark-state-dot) { animation: none !important; }.route-benchmarks :is(.benchmark-stage-actions .v3-btn,.benchmark-directory-item,.benchmark-directory-item .v3-btn) { transition: none !important; } }

/* A quiet workspace rail with one clear current page. */
.v3-shell .v3-sidebar .nav button .nav-icon,
.v3-shell .v3-sidebar .nav-item .nav-icon,
:root[data-theme="light"] .v3-shell .v3-sidebar .nav button .nav-icon,
.v3-shell .v3-sidebar .nav button.active .nav-icon,
:root[data-theme="light"] .v3-shell .v3-sidebar .nav button.active .nav-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #68758b;
}
.v3-shell .v3-sidebar .nav button .nav-icon .ui-icon,
.v3-shell .v3-sidebar .nav-item .nav-icon .ui-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.v3-shell .v3-sidebar .nav button:hover .nav-icon,
.v3-shell .v3-sidebar .nav button.active .nav-icon,
.v3-shell .v3-sidebar .nav-item:hover .nav-icon,
.v3-shell .v3-sidebar .nav-item.active .nav-icon,
:root[data-theme="light"] .v3-shell .v3-sidebar .nav button.active .nav-icon {
  background: transparent;
  color: #245fe5;
}
:root .v3-shell.is-workspace-chrome:is(.is-sidebar-expanded, .is-sidebar-collapsed) .v3-sidebar .nav button.active .nav-icon,
:root .v3-shell.is-workspace-chrome:is(.is-sidebar-expanded, .is-sidebar-collapsed) .v3-sidebar .nav button.active:hover .nav-icon {
  border: 0;
  border-radius: 0;
  background: transparent;
  background-image: none;
  box-shadow: none;
  color: #245fe5;
}
:root[data-theme="dark"] .v3-shell .v3-sidebar .nav button .nav-icon,
:root[data-theme="dark"] .v3-shell .v3-sidebar .nav-item .nav-icon { color: #a5b4ca; }
:root[data-theme="dark"] .v3-shell .v3-sidebar .nav button.active .nav-icon,
:root[data-theme="dark"] .v3-shell .v3-sidebar .nav button:hover .nav-icon { color: #82acff; }

@media (min-width: 821px) {
  :root .v3-shell.is-workspace-chrome:is(.is-sidebar-expanded, .is-sidebar-temporary) .v3-sidebar .nav {
    gap: 22px;
  }

  :root .v3-shell.is-workspace-chrome .v3-sidebar .nav-section {
    gap: 5px;
  }

  :root .v3-shell.is-workspace-chrome:is(.is-sidebar-expanded, .is-sidebar-temporary) .v3-sidebar .nav-section-title {
    padding: 0 12px 8px;
    color: #8998b0;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .06em;
  }

  :root .v3-shell.is-workspace-chrome:is(.is-sidebar-expanded, .is-sidebar-temporary, .is-sidebar-collapsed) .v3-sidebar .nav button {
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    flex-basis: 52px;
    border-color: transparent;
    border-radius: 13px;
    box-shadow: none;
  }

  :root .v3-shell.is-workspace-chrome:is(.is-sidebar-expanded, .is-sidebar-temporary) .v3-sidebar .nav button {
    gap: 8px;
    padding: 0 15px;
  }

  :root .v3-shell.is-workspace-chrome .v3-sidebar .nav button:not(.active) {
    background: transparent;
    color: #586a86;
  }

  :root .v3-shell.is-workspace-chrome .v3-sidebar .nav button:not(.active):hover {
    background: #eef3fa;
    color: #38516f;
    box-shadow: none;
    transform: none;
  }

  :root .v3-shell.is-workspace-chrome .v3-sidebar .nav button.active,
  :root .v3-shell.is-workspace-chrome .v3-sidebar .nav button.active:hover {
    border-color: transparent;
    background: #eaf1ff;
    color: #2059c8;
    box-shadow: none;
    transform: none;
  }

  :root .v3-shell.is-workspace-chrome .v3-sidebar .nav button.active::before {
    content: none;
  }

  :root .v3-shell.is-workspace-chrome:is(.is-sidebar-expanded, .is-sidebar-temporary, .is-sidebar-collapsed) .v3-sidebar .nav .nav-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border: 0;
    border-radius: 0;
    background: transparent;
    background-image: none;
    box-shadow: none;
    color: #708098;
    transform: none;
  }

  :root .v3-shell.is-workspace-chrome .v3-sidebar .nav .nav-icon .ui-icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
  }

  :root .v3-shell.is-workspace-chrome .v3-sidebar .nav button:not(.active):hover .nav-icon {
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #516988;
    transform: none;
  }

  :root .v3-shell.is-workspace-chrome .v3-sidebar .nav button.active .nav-icon,
  :root .v3-shell.is-workspace-chrome .v3-sidebar .nav button.active:hover .nav-icon {
    border: 0;
    background: transparent;
    background-image: none;
    box-shadow: none;
    color: #205fda;
    transform: none;
  }

  :root .v3-shell.is-workspace-chrome:is(.is-sidebar-expanded, .is-sidebar-temporary) .v3-sidebar .nav .nav-item-text strong {
    font-size: 14px;
    font-weight: 580;
    letter-spacing: 0;
  }

  :root .v3-shell.is-workspace-chrome:is(.is-sidebar-expanded, .is-sidebar-temporary) .v3-sidebar .nav button.active .nav-item-text strong {
    font-weight: 650;
  }

  :root .v3-shell.is-workspace-chrome .v3-sidebar .nav button:focus:not(:focus-visible) {
    outline: none;
  }

  :root .v3-shell.is-workspace-chrome .v3-sidebar .nav button:focus-visible {
    outline: 2px solid #75a0ed;
    outline-offset: -2px;
  }
}

@media (min-width: 821px) {
  :root[data-theme="dark"] .v3-shell.is-workspace-chrome .v3-sidebar .nav button:not(.active) { color: #b4bfd0; }
  :root[data-theme="dark"] .v3-shell.is-workspace-chrome .v3-sidebar .nav button:not(.active):hover { background: #243148; color: #e5ecf8; }
  :root[data-theme="dark"] .v3-shell.is-workspace-chrome .v3-sidebar .nav button.active,
  :root[data-theme="dark"] .v3-shell.is-workspace-chrome .v3-sidebar .nav button.active:hover { background: #233b66; color: #c6d9ff; }
  :root[data-theme="dark"] .v3-shell.is-workspace-chrome .v3-sidebar .nav button.active .nav-icon,
  :root[data-theme="dark"] .v3-shell.is-workspace-chrome .v3-sidebar .nav button.active:hover .nav-icon { color: #8db6ff; }
}

/* The official logo PNG has opaque white pixels. Multiply blends only that white
   into the light sidebar while preserving the exact blue-purple logo artwork. */
:root:not([data-theme="dark"]) .v3-shell.is-workspace-chrome .v3-sidebar .v3-brand-mark {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

:root:not([data-theme="dark"]) .v3-shell.is-workspace-chrome .v3-sidebar .v3-brand-mark img {
  mix-blend-mode: multiply;
}

@media (min-width: 821px) {
  :root:not([data-theme="dark"]) .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar .v3-brand-mark {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
}

/* Collapsed rail: fit every entry to the viewport instead of scrolling icons. */
@media (min-width: 821px) {
  :root .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar {
    --rail-button-height: clamp(28px, calc((100dvh - 248px) / 8), 48px);
    --rail-item-gap: 6px;
    padding: 16px 10px 12px;
    gap: 12px;
  }
  :root .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar .brand {
    flex: 0 0 44px;
    min-height: 0;
    margin: 0;
  }
  :root .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar .nav {
    flex: 1 1 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    gap: 12px;
    overflow: clip;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  :root .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar .nav-section {
    flex: 0 0 auto;
    gap: var(--rail-item-gap);
    grid-auto-rows: var(--rail-button-height);
  }
  :root .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar .nav-section-title {
    display: none;
  }
  :root .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar .nav button {
    width: 100%;
    height: var(--rail-button-height);
    min-height: var(--rail-button-height);
    max-height: var(--rail-button-height);
    flex-basis: var(--rail-button-height);
    padding: 0;
    gap: 0;
    justify-content: center;
    border-radius: 12px;
  }
  :root .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar .nav .nav-item-text {
    display: none;
  }
  :root .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar .v3-account-switcher {
    flex: 0 0 52px;
    margin: 0;
  }
  :root .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar-toggle {
    margin: 0;
  }
}
@media (min-width: 821px) and (max-height: 640px) {
  :root .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar {
    --rail-button-height: clamp(24px, calc((100dvh - 200px) / 8), 40px);
    --rail-item-gap: 4px;
    padding: 12px 10px;
    gap: 8px;
  }
  :root .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar .nav { gap: 8px; }
  :root .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar .brand { flex-basis: 36px; }
  :root .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar .v3-brand-mark,
  :root .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar .v3-brand-mark img { width: 32px; height: 32px; }
  :root .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar .v3-account-switcher { flex-basis: 40px; min-height: 40px; height: 40px; }
  :root .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar .v3-account-mini { min-height: 40px; height: 40px; }
  :root .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar-toggle { flex-basis: 32px; min-height: 32px; max-height: 32px; height: 32px; }
}

@media (min-width: 821px) and (max-height: 640px) {
  :root .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar .nav .nav-icon { height: min(32px, var(--rail-button-height)); }
}

/* Keep icon centers fixed while bringing labels closer to the visible glyph. */
@media (min-width: 821px) {
  :root .v3-shell.is-workspace-chrome:is(.is-sidebar-expanded, .is-sidebar-temporary) .v3-sidebar .nav button:is(.active, :not(.active)) .nav-icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
  }
  :root .v3-shell.is-workspace-chrome .v3-sidebar .nav .nav-icon .ui-icon { display: block; }
}

/* One selection surface per row, including the generated dark theme. */
@media (min-width: 821px) {
  html:root[data-theme][data-theme-page="workspace"] .v3-shell.is-workspace-chrome:is(.is-sidebar-expanded, .is-sidebar-temporary, .is-sidebar-collapsed) .v3-sidebar .nav button:is(.active, :not(.active), :hover, :focus-visible) .nav-icon {
    border: 0;
    background: transparent;
    background-image: none;
    box-shadow: none;
  }

  /* The button owns the hover/focus surface; its glyph has no second tile. */
  html:root[data-theme-page="workspace"] .v3-sidebar #sidebar-toggle .nav-icon {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
  }
  html:root[data-theme-page="workspace"] .v3-sidebar #sidebar-toggle .ui-icon {
    display: block;
    width: 20px;
    height: 20px;
  }
  html:root[data-theme-page="workspace"] .v3-sidebar #sidebar-toggle:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
  }
  html:root[data-theme-page="workspace"] .v3-sidebar #sidebar-toggle:focus-visible {
    outline: 2px solid #7397ff;
    outline-offset: -2px;
    box-shadow: none;
  }
  html:root[data-theme-page="workspace"] .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar #sidebar-toggle {
    gap: 0;
  }
  html:root[data-theme-page="workspace"] .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar #sidebar-toggle .sidebar-toggle-label {
    display: none;
  }
  /* Two utility buttons need their full height above the collapse control. */
  html:root[data-theme-page="workspace"] .v3-shell.is-workspace-chrome.is-sidebar-collapsed:not(.is-sidebar-temporary):not(.is-onboarding-active) .v3-sidebar .sidebar-account-card.is-utilities-only {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    max-height: none;
  }
}

/* Script creation owns the optional conversation view. */
#view.route-review .director-return-script{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;min-height:34px;padding:6px 12px;border:1px solid #dbe6f8;border-radius:9px;background:#f8fbff;color:#3565b8;font:inherit;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}
#view.route-review .director-return-script .ui-icon{width:16px;height:16px}
#view.route-review .director-return-script:hover{border-color:#afc8f3;background:#edf4ff;color:#2356be}
#view.route-review .director-return-script:focus-visible{outline:2px solid #356cf1;outline-offset:3px}
#view.route-review.is-agent-workspace .review-control-row{gap:18px}
#view.route-review.is-agent-workspace .agent-view-tabs{margin-right:auto;min-width:0}
@media(max-width:820px){
  #view.route-review.is-agent-workspace .review-control-row{flex-wrap:wrap;gap:4px 12px;padding-top:8px}
  #view.route-review.is-agent-workspace .director-return-script{margin-right:calc(100% - 140px);font-size:12px}
  #view.route-review.is-agent-workspace .agent-view-tabs{flex:1;gap:14px}
}
@media(min-width:821px) {
  #view.route-review .agent-view-tabs button[data-review-mode="script"],
  #view.route-review .agent-view-tabs button[data-review-mode="publication"] { display:none!important; }
  #view.route-review:is([data-review-mode="script"],[data-review-mode="publication"]) .review-control-row { display:none!important; }
}
@media(max-width:820px) {
  #view.route-review .review-control-row { display:flex; }
  #view.route-review .agent-view-tabs { overflow-x:auto; flex-wrap:nowrap; }
}

/* Account reviews belong to the current owned account. */
#view.route-review .account-review-heading{display:flex;align-items:center;gap:20px;margin:4px 0 24px;padding:16px 0 20px;border-bottom:1px solid #e1e9f6}
#view.route-review .account-review-heading .v3-btn{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;background:#fff}
#view.route-review .account-review-heading .ui-icon{width:16px;height:16px}
#view.route-review .account-review-heading>div{display:flex;flex-direction:column;gap:5px}
#view.route-review .account-review-heading strong{font-size:20px;color:#1d355c;line-height:1.4}
#view.route-review .account-review-heading span{font-size:12px;color:#7e93b6}
@media(max-width:600px){#view.route-review .account-review-heading{flex-wrap:wrap;gap:14px;margin-bottom:18px}#view.route-review .account-review-heading>div{flex-basis:100%}}

.director-setup{width:calc(100% - 48px);box-sizing:border-box;max-width:1060px;margin:24px auto 64px;color:#1c345b;animation:director-setup-in .24s ease-out}.director-setup-steps{display:flex;list-style:none;padding:0;margin:0 0 28px;gap:20px;counter-reset:step}.director-setup-steps li{flex:1;display:flex;align-items:center;gap:10px;white-space:nowrap;color:#8a9bb9;font-size:13px;font-weight:600}.director-setup-steps li:not(:last-child):after{content:"";height:1px;flex:1;margin-left:8px;background:#dfe7f5}.director-setup-steps li>span{display:grid;place-items:center;width:28px;height:28px;flex:none;border:1px solid #dde6f5;border-radius:50%;background:#fff;font-size:12px}.director-setup-steps .is-current{color:#3063ed}.director-setup-steps .is-current>span{background:#386cf3;border-color:#386cf3;color:#fff;box-shadow:0 3px 10px #386cf326}.director-setup-steps .is-done{color:#537aca}.director-setup-card{border:1px solid #dde6fa;border-radius:22px;padding:42px 48px;background:radial-gradient(ellipse at 100% 0,#f0f3ff 0,transparent 48%),#fff;box-shadow:0 12px 36px #203b7005}.director-setup-card>.v3-eyebrow{display:block;margin-bottom:26px;font-size:12px;font-weight:650;color:#5074c2}.director-setup-card h2{font-size:28px;letter-spacing:-.6px;line-height:1.35;margin:16px 0 12px;color:#1b3157}.director-setup-card p{font-size:14px;line-height:1.8;color:#7485a5;margin:0 0 22px}.director-setup-symbol{display:grid;place-items:center;width:58px;height:58px;border-radius:17px;background:#edf2ff;color:#376bf0;font-size:32px}.director-setup-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:24px 0 30px;margin:4px 0 26px;border-bottom:1px solid #e8edf8}.director-setup-benefits>span{font-size:12px;color:#7893cc}.director-setup-benefits b{display:block;color:#35527d;font-size:14px;margin:8px 0}.director-setup-benefits small{font-size:12px;color:#8a99b3}.director-setup .v3-btn.primary{background:#396bf0;color:white;border:1px solid #396bf0;border-radius:10px;padding:12px 22px;gap:18px;box-shadow:0 5px 14px #376bef1c}.director-setup .v3-btn:focus-visible,.director-setup-later:focus-visible{outline:3px solid #acbfff;outline-offset:3px}.director-setup .v3-btn:disabled{opacity:.55;cursor:wait}.director-setup-later{border:0;background:none;padding:12px 18px;color:#7587a8;cursor:pointer}.director-setup-card p.director-setup-note{font-size:12px;color:#96a3b9;margin:18px 0 0}.director-setup-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.director-setup-account{display:flex;align-items:center;gap:14px;padding:16px 20px;background:#f6f8ff;border:1px solid #e5ebf9;border-radius:12px;margin:20px 0 26px}.director-setup-avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#e5edff;color:#4674d8;font-weight:600}.director-setup-account strong{font-size:15px}.director-setup-account small{display:block;color:#8796af;margin-top:5px;font-size:12px}.director-setup-connected{margin-left:auto;font-size:12px;color:#497c78}.director-setup-form{display:grid;grid-template-columns:1fr 1fr;gap:20px}.director-setup-form label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600}.director-setup-form input,.director-setup-form textarea,.director-setup-form select{width:100%;box-sizing:border-box;background:#fbfcff;border:1px solid #dce5f5;border-radius:9px;padding:11px 12px;font:inherit;font-weight:400;color:#233c66}.director-setup-form input::placeholder,.director-setup-form textarea::placeholder{color:#a1adc2}.director-setup-form textarea{min-height:84px;resize:vertical}.director-setup-form :is(input,textarea,select):focus{outline:2px solid #c2d1ff;border-color:#7195f1}.director-setup-form .is-wide{grid-column:1/-1}.director-setup-form .director-setup-error{color:#b74b57;margin:0}.director-setup-account-list{display:flex;flex-direction:column;gap:12px}.director-setup-connection{padding:22px 26px;margin-bottom:22px;background:#fff;border:1px solid #dce6fa;border-radius:16px}.director-setup-connection .director-setup-steps{margin-bottom:18px}.director-setup-connection>div{display:flex;justify-content:space-between;gap:16px;align-items:center;font-size:13px;color:#6e83a7}.director-setup-device{background:#f0f4ff;padding:14px;border-radius:10px}@keyframes director-setup-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.director-setup{animation:none}}@media(max-width:700px){.director-setup{width:calc(100% - 24px);margin:8px auto 24px}.director-setup-card{padding:26px 22px}.director-setup-card h2{font-size:23px}.director-setup-steps{gap:8px}.director-setup-steps li{flex-direction:column;text-align:center;font-size:11px;gap:6px}.director-setup-steps li:after{display:none}.director-setup-benefits{grid-template-columns:1fr;gap:18px}.director-setup-benefits b{display:inline;margin-left:10px}.director-setup-benefits small{display:block;margin:5px 0 0 27px}.director-setup-form{grid-template-columns:1fr}.director-setup-connection>div{flex-direction:column;align-items:flex-start}}
.director-setup-avatar{position:relative;overflow:hidden;flex:none}.director-setup-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

