:root {
  --ink: #19333d;
  --muted: #74858c;
  --teal: #147d73;
  --teal-dark: #0e655d;
  --teal-soft: #e9f5f0;
  --navy: #15323c;
  --page: #f4f6f5;
  --line: #e5ebe9;
  --white: #fff;
  --danger: #b64d4d;
  --amber: #ad7623;
  --shadow: 0 16px 50px #173a4112;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--page);
  font-size: 14px;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
input,
select {
  color: var(--ink);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #49a8986b;
  outline-offset: 3px;
}
input,
select {
  width: 100%;
  border: 1px solid #d9e2de;
  border-radius: 9px;
  background: #fff;
  padding: 11px 13px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
input:focus,
select:focus {
  outline: none;
  border-color: #5ba99b;
  box-shadow: 0 0 0 3px #167d7310;
}
input::placeholder {
  color: #9ba8ab;
}
input[readonly] {
  background: #f6f8f7;
  color: #63767e;
}
label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin: 17px 0 7px;
}
.optional {
  float: right;
  color: var(--muted);
  font-weight: 400;
  font-size: 11px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  letter-spacing: -1px;
  font-weight: 650;
  line-height: 1.25;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.35px;
  font-weight: 650;
}
h3 {
  font-size: 13px;
  font-weight: 650;
}
.icon {
  display: inline-block;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: #76918f;
  margin-bottom: 10px;
}
.button {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  min-height: 42px;
  padding: 10px 16px;
  line-height: 1.4;
  white-space: nowrap;
  transition:
    background 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
}
.button:active:not(:disabled) {
  transform: translateY(1px);
}
.primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 3px 8px #0c615c12;
}
.primary:hover:not(:disabled) {
  background: var(--teal-dark);
}
.secondary {
  background: #fff;
  border-color: #dfe6e3;
  color: #46616a;
}
.secondary:hover:not(:disabled) {
  background: #f3f7f5;
}
.soft {
  background: var(--teal-soft);
  color: var(--teal);
  border-color: #dbeee5;
}
.soft:hover:not(:disabled) {
  background: #daede4;
}
.danger {
  background: var(--danger);
  color: #fff;
}
.danger:hover:not(:disabled) {
  background: #a24040;
}
.small {
  padding: 7px 11px;
  min-height: 34px;
  font-size: 12px;
  gap: 6px;
}
.wide {
  width: 100%;
}
.text-button {
  border: 0;
  background: none;
  color: var(--teal);
  padding: 3px 0;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.text-button:hover {
  text-decoration: underline;
}
.danger-text {
  color: var(--danger);
}
.icon-button {
  border: 1px solid transparent;
  background: transparent;
  color: #809297;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}
.icon-button:hover {
  background: #eff4f2;
  color: var(--ink);
}
.icon-button .icon {
  width: 18px;
  height: 18px;
}
.button.is-busy:before {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.button.is-busy > .icon {
  display: none;
}
[hidden] {
  display: none !important;
}
.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 9px);
  grid-template-rows: repeat(2, 9px);
  gap: 3px;
  padding: 10px;
  border: 1px solid #ffffff22;
  border-radius: 11px;
  background: #ffffff09;
  flex-shrink: 0;
}
.brand-mark span {
  background: #72bfb0;
  border-radius: 2px;
}
.brand-mark span:nth-child(2) {
  background: #e6f7f1;
}
.brand-mark span:nth-child(3) {
  background: #d0e3dc;
}
.brand-mark span:last-child {
  background: #469b8b;
}
.brand-mark.large {
  grid-template-columns: repeat(2, 12px);
  grid-template-rows: repeat(2, 12px);
  padding: 13px;
  background: var(--navy);
  width: max-content;
  margin-bottom: 26px;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.session-loading {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--page);
  color: var(--muted);
  font-size: 12px;
}
.session-loading .brand-mark {
  margin-bottom: 18px;
}
.sidebar {
  width: 236px;
  background: var(--navy);
  color: #a0b9be;
  display: flex;
  flex-direction: column;
  padding: 31px 18px 17px;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 10;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  margin: 0 9px 44px;
}
.brand strong {
  display: block;
  color: #f0f7f4;
  font-size: 17px;
  letter-spacing: -0.35px;
  font-weight: 650;
  line-height: 1.3;
}
.brand > div > span {
  font-size: 10px;
  color: #91adb2;
  display: block;
  margin-top: 5px;
  letter-spacing: 0.3px;
}
.nav-label {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.3px;
  color: #668c94;
  margin: 0 14px 13px;
}
.nav-item {
  width: 100%;
  border: none;
  background: transparent;
  color: #a6bdc0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 5px;
  min-height: 45px;
  white-space: nowrap;
}
.nav-item:hover {
  background: #ffffff07;
  color: #ecf6f1;
}
.nav-item.active {
  background: #ffffff10;
  color: #e6f4ef;
}
.nav-item.active > .icon {
  color: #78c7b4;
}
.nav-count {
  margin-left: auto;
  font-size: 10px;
  background: #ffffff14;
  line-height: 21px;
  padding: 0 6px;
  border-radius: 5px;
  color: #afccc5;
}
.sidebar-note {
  margin: 36px 11px 25px;
  padding: 19px 15px 17px;
  border: 1px solid #41616b59;
  border-radius: 10px;
  position: relative;
  margin-top: auto;
  background: #213e470f;
}
.sidebar-note-icon {
  width: 28px;
  height: 28px;
  background: #284e55;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #83c5b5;
  margin-bottom: 11px;
}
.sidebar-note strong {
  font-size: 11px;
  color: #bfd2d1;
  font-weight: 550;
}
.sidebar-note p {
  font-size: 10px;
  line-height: 1.8;
  color: #819fa6;
  margin-top: 6px;
}
.sidebar-footer {
  border-top: 1px solid #ffffff0d;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 18px 6px 0;
}
.workspace-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2b4b55;
  color: #b3cec8;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #57747b45;
}
.sidebar-footer strong {
  font-size: 10px;
  font-weight: 550;
  color: #c7d9d6;
  display: block;
}
.sidebar-footer span {
  font-size: 9px;
  color: #78979d;
  display: block;
  margin-top: 1px;
}
.sidebar-footer > .icon-button {
  margin-left: auto;
  color: #8aa6ad;
  width: 25px;
}
.sidebar-footer > .icon-button:hover {
  background: #ffffff0b;
  color: white;
}
.main-content {
  margin-left: 236px;
  padding: 0 43px;
  width: calc(100% - 236px);
  max-width: 1800px;
}
.topbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5ebe7;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94a3a7;
  font-size: 11px;
}
.breadcrumb .icon {
  width: 10px;
  height: 10px;
  color: #aebbb9;
}
.breadcrumb > span {
  color: #637980;
}
.connection-state {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #81938f;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b4c2bf;
}
.connection-state.connected .live-dot {
  background: #59a58e;
  box-shadow: 0 0 0 3px #e8f2ed;
}
.connection-state.error .live-dot {
  background: #c58170;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 34px 0 26px;
}
.page-heading .eyebrow {
  font-size: 9px;
  letter-spacing: 1.6px;
  margin-bottom: 9px;
}
.page-heading > div > p:last-child {
  font-size: 12px;
  color: #81918e;
  margin-top: 10px;
}
.page-heading > .button {
  margin-top: 17px;
  box-shadow: 0 6px 14px #147d7312;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 27px;
}
.summary-card {
  background: #fff;
  border: 1px solid #e5ebe7;
  border-radius: 11px;
  min-height: 126px;
  display: flex;
  justify-content: space-between;
  padding: 21px 20px;
  gap: 8px;
  box-shadow: 0 2px 3px #173a4101;
}
.summary-label {
  font-size: 11px;
  font-weight: 550;
  color: #7f928f;
}
.summary-card strong {
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.25;
  display: block;
  font-weight: 600;
  color: #26464a;
  margin: 7px 0 6px;
}
.summary-caption {
  font-size: 9px;
  color: #a0adaa;
  white-space: nowrap;
}
.stat-icon {
  height: 34px;
  width: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon .icon {
  height: 17px;
  width: 17px;
  stroke-width: 1.6;
}
.stat-icon.neutral {
  background: #eff3f4;
  color: #81959d;
}
.stat-icon.success {
  background: #ebf7ee;
  color: #5e9b75;
}
.stat-icon.teal {
  background: #eaf5f4;
  color: #4c9990;
}
.stat-icon.warning {
  background: #fcf4e8;
  color: #bd9452;
}
.accounts-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 3px 7px #153b4302;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 25px 19px;
}
.panel-header h2 {
  font-size: 14px;
  letter-spacing: -0.15px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.panel-header p {
  font-size: 10px;
  color: #9aa7a5;
  margin-top: 6px;
}
.count-tag {
  background: #f0f4f2;
  color: #7f948d;
  font-size: 9px;
  min-width: 22px;
  border-radius: 5px;
  padding: 2px 6px;
  text-align: center;
  font-weight: 500;
}
.refresh-button {
  border-color: #e5ece8;
  width: 31px;
  height: 31px;
}
.refresh-button > .icon {
  width: 15px;
  height: 15px;
}
.refresh-button.is-refreshing .icon {
  animation: spin 1s linear infinite;
}
.table-toolbar {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 25px 21px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid #e4eae6;
  border-radius: 8px;
  max-width: 400px;
  width: 100%;
  height: 37px;
}
.search-field > .icon {
  width: 15px;
  height: 15px;
  color: #a1afab;
}
.search-field input {
  border: none;
  padding: 0;
  font-size: 11px;
  background: none;
  min-width: 0;
}
.search-field input:focus {
  box-shadow: none;
}
.search-field:focus-within {
  border-color: #75b5a5;
  box-shadow: 0 0 0 2px #147d7310;
}
.search-field kbd {
  font-family: inherit;
  color: #a8b5b0;
  border: 1px solid #e4ebe6;
  font-size: 10px;
  line-height: 16px;
  min-width: 17px;
  text-align: center;
  border-radius: 4px;
}
.status-select {
  margin: 0 0 0 auto;
  min-width: 172px;
}
.status-select select {
  font-size: 11px;
  height: 37px;
  padding: 7px 10px;
  background: #fff;
  border-color: #e4eae6;
  border-radius: 8px;
  font-weight: 450;
}
.account-table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}
.account-table thead {
  background: #f8faf9;
  border-block: 1px solid #edf1ed;
}
.account-table th {
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.65px;
  font-size: 9px;
  font-weight: 600;
  color: #8b9f96;
  padding: 12px 20px;
  white-space: nowrap;
}
.account-table td {
  padding: 19px 20px;
  border-bottom: 1px solid #eef2ef;
  vertical-align: middle;
  font-size: 11px;
}
.account-table th:first-child,
.account-table td:first-child {
  padding-left: 25px;
  width: 29%;
}
.account-table th:nth-child(2) {
  width: 21%;
}
.account-table th:nth-child(3) {
  width: 18%;
}
.account-table th:nth-child(4) {
  width: 13%;
}
.account-table th:last-child {
  width: 19%;
  text-align: right;
  padding-right: 25px;
}
.account-table td:last-child {
  padding-right: 25px;
}
.account-table tbody tr:hover {
  background: #fcfefd;
}
.account-table tbody tr:last-child td {
  border-bottom: none;
}
.account-cell {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.account-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef3ed;
  color: #6e8b6e;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  border: 1px solid #e8eee5;
}
.account-avatar.tone-1 {
  background: #eff2f6;
  border-color: #e7ebf2;
  color: #6a7e9c;
}
.account-avatar.tone-2 {
  background: #f8f1e9;
  border-color: #f0e8de;
  color: #ad8e65;
}
.account-avatar.tone-3 {
  background: #f1eff6;
  border-color: #eae7ef;
  color: #9080a5;
}
.account-name-wrap {
  min-width: 0;
  flex: 1;
}
.account-name {
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: #3e5c61;
  max-width: 100%;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-name:hover {
  color: var(--teal);
  text-decoration: underline;
}
.account-email {
  display: block;
  font-size: 10px;
  color: #9baba5;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 9px;
  line-height: 1.5;
  font-weight: 500;
  white-space: nowrap;
}
.badge > span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.badge.ready {
  background: #edf7ef;
  border-color: #e1f0e4;
  color: #629b74;
}
.badge.awaiting_otp {
  background: #fdf4e5;
  border-color: #f4e7ca;
  color: #b2853a;
}
.badge.working {
  background: #edf5f7;
  border-color: #e0edf2;
  color: #6d98a7;
}
.badge.error {
  background: #fcf0ed;
  border-color: #f7e2da;
  color: #c07a63;
}
.badge.paused,
.badge.new {
  background: #f2f4f3;
  border-color: #e8eeea;
  color: #94a39a;
}
.row-error {
  font-size: 9px;
  color: #b58878;
  display: block;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 5px;
}
.link-button {
  background: none;
  border: 0;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #6b9a8c;
  padding: 4px 0;
  font-size: 10px;
}
.link-button:hover {
  color: var(--teal);
}
.link-button .icon {
  width: 13px;
  height: 13px;
}
.no-link {
  color: #b4c0b9;
  font-size: 10px;
}
.updated-time {
  color: #879c91;
  font-size: 10px;
  white-space: nowrap;
}
.updated-date {
  display: block;
  color: #b0bdb5;
  font-size: 9px;
  margin-top: 3px;
}
.row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  position: relative;
}
.row-actions .button {
  font-size: 10px;
  padding: 6px 9px;
  min-height: 30px;
  border-radius: 6px;
}
.row-actions .button > .icon {
  width: 12px;
  height: 12px;
}
.row-actions > .icon-button {
  width: 25px;
  height: 29px;
}
.row-menu {
  position: absolute;
  right: 0;
  top: 34px;
  width: 186px;
  background: white;
  border: 1px solid #e3eae5;
  border-radius: 9px;
  padding: 5px;
  box-shadow: 0 12px 30px #183d4524;
  z-index: 20;
  text-align: left;
}
.row-menu button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  background: none;
  border: 0;
  border-radius: 5px;
  text-align: left;
  padding: 9px 8px;
  color: #617b71;
  font-size: 11px;
}
.row-menu button:hover {
  background: #f4f8f5;
  color: var(--ink);
}
.row-menu button .icon {
  width: 14px;
  height: 14px;
}
.row-menu button.danger-text {
  color: #b36f5f;
}
.row-menu .menu-divider {
  border-top: 1px solid #edf1ed;
  margin: 4px 1px;
}
.panel-footer {
  min-height: 49px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 25px;
  border-top: 1px solid #edf1ed;
  font-size: 9px;
  color: #a2b1a8;
}
.last-updated {
  display: flex;
  align-items: center;
  gap: 5px;
}
.last-updated:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9bc3ae;
}
.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 1px;
  font-size: 9px;
  color: #aab6b0;
}
.page-footer > span:first-child {
  font-weight: 600;
  letter-spacing: 0.3px;
}
.empty-state {
  padding: 56px 20px 59px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-top: 1px solid #edf1ed;
}
.empty-symbol {
  width: 66px;
  height: 66px;
  border: 1px solid #e2ece5;
  background: #f3f8f4;
  border-radius: 20px;
  color: #87ad95;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 19px;
  box-shadow: 0 0 0 8px #f8faf8;
}
.empty-symbol .icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.25;
}
.empty-state h3 {
  font-size: 14px;
  color: #587668;
}
.empty-state p {
  color: #a4b2aa;
  font-size: 11px;
  margin: 8px 0 20px;
  max-width: 310px;
}
.empty-state .button {
  min-height: 36px;
  font-size: 11px;
}
.skeleton-row {
  display: flex;
  gap: 20px;
  padding: 23px 25px;
  border-top: 1px solid #eff3ef;
  align-items: center;
}
.skeleton-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eef3ef;
  flex-shrink: 0;
}
.skeleton-lines {
  width: 28%;
  display: grid;
  gap: 7px;
}
.skeleton-lines > i,
.skeleton-line {
  height: 8px;
  display: block;
  border-radius: 5px;
  background: linear-gradient(90deg, #eef3ef, #f9fbf9, #eef3ef);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.skeleton-lines > i:nth-child(2) {
  width: 70%;
  height: 6px;
}
.skeleton-line {
  width: 13%;
  margin-left: auto;
}
.inline-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #eff6f3;
  border: 1px solid #deebe3;
  padding: 13px 14px;
  border-radius: 8px;
  color: #668675;
  font-size: 11px;
  line-height: 1.65;
}
.inline-notice .icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}
.error-notice {
  margin-bottom: 18px;
  background: #fff7f0;
  border-color: #f1e2d3;
  color: #a18061;
  align-items: center;
}
.error-notice > span {
  flex: 1;
}
.error-notice > .text-button {
  color: #9d7c58;
}
.auth-screen {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 75px;
  background:
    radial-gradient(ellipse at 20% 10%, #e5eeea 0, transparent 50%), #f3f6f3;
  position: relative;
  overflow: hidden;
}
.auth-card {
  width: 435px;
  max-width: 100%;
  background: #fff;
  padding: 39px 42px 28px;
  border: 1px solid #dfe8e1;
  border-radius: 16px;
  box-shadow: 0 22px 80px #224c4610;
  z-index: 1;
}
.auth-card > .eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
  margin-bottom: 11px;
}
.auth-card h1 {
  font-size: 31px;
  line-height: 1.3;
  color: #244b4b;
  font-weight: 600;
}
.auth-description {
  font-size: 12px;
  color: #91a198;
  margin: 15px 0 24px;
  line-height: 1.8;
}
.auth-card label {
  font-size: 11px;
  color: #6d877a;
}
.auth-card input {
  font-size: 12px;
  height: 43px;
}
.auth-card .button {
  margin-top: 17px;
  font-size: 12px;
  justify-content: space-between;
  padding: 12px 16px;
}
.auth-security {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #edf1eb;
  font-size: 9px;
  color: #a2b2a6;
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
}
.auth-security .icon {
  width: 12px;
  height: 12px;
}
.auth-note {
  font-size: 10px;
  color: #93a79a;
  margin-top: 14px;
  text-align: center;
}
.auth-footer {
  position: absolute;
  bottom: 25px;
  font-size: 10px;
  letter-spacing: 0.2px;
  color: #9caf9f;
}
.auth-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.auth-decoration > span {
  position: absolute;
  border: 1px solid #d9e5dc;
  border-radius: 30px;
  transform: rotate(-24deg);
  width: 160px;
  height: 160px;
  left: calc(50% - 440px);
  top: calc(50% - 215px);
  background: #edf3ed55;
}
.auth-decoration > span:nth-child(2) {
  width: 87px;
  height: 87px;
  left: calc(50% + 308px);
  top: calc(50% + 110px);
  transform: rotate(17deg);
  border-radius: 20px;
}
.auth-decoration > span:nth-child(3) {
  width: 24px;
  height: 24px;
  left: calc(50% + 277px);
  top: calc(50% - 184px);
  border-radius: 7px;
  transform: rotate(-11deg);
  background: #dfebe1;
}
.modal,
.drawer {
  border: 1px solid #e0e8e2;
  color: var(--ink);
  padding: 0;
  background: white;
  box-shadow: 0 24px 100px #132e3c30;
  overflow: auto;
}
.modal {
  border-radius: 15px;
  width: 470px;
  max-width: calc(100% - 32px);
  max-height: calc(100dvh - 48px);
  margin: auto;
}
.modal::backdrop,
.drawer::backdrop {
  background: #112e3e66;
  backdrop-filter: blur(2px);
}
.modal-inner {
  padding: 26px 30px 27px;
}
.modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}
.modal-symbol {
  width: 41px;
  height: 41px;
  border: 1px solid #e0eee4;
  border-radius: 12px;
  background: #f0f7f2;
  color: #6a9e7f;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-symbol.amber {
  background: #fdf5e9;
  border-color: #f5e7ca;
  color: #bd9554;
}
.modal-symbol.danger-symbol {
  background: #fcf0eb;
  border-color: #f1ded2;
  color: #b47f63;
}
.modal h2 {
  color: #32594f;
  font-size: 22px;
  letter-spacing: -0.6px;
}
.modal-description {
  font-size: 12px;
  color: #92a499;
  line-height: 1.8;
  margin-top: 8px;
}
.modal input {
  font-size: 12px;
  height: 43px;
}
.modal label {
  font-size: 11px;
  color: #708b7a;
  margin-top: 19px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #eef2ec;
}
.modal-actions .button {
  min-height: 39px;
  font-size: 12px;
}
.field-note {
  font-size: 10px;
  color: #9aad9c;
  display: flex;
  gap: 6px;
  align-items: flex-start;
  line-height: 1.65;
  margin-top: 10px;
}
.field-note > .icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}
.form-error {
  font-size: 11px;
  color: #b37a63;
  background: #fcf4ee;
  border: 1px solid #f3e4d7;
  border-radius: 7px;
  padding: 10px 12px;
  margin-top: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.account-reference {
  font-size: 12px;
  color: #6b8775;
  padding: 12px 14px;
  background: #f5f8f3;
  border: 1px solid #e8eee3;
  border-radius: 8px;
  margin-top: 18px;
  overflow-wrap: anywhere;
}
.otp-modal .eyebrow {
  font-size: 9px;
  margin-top: 4px;
  margin-bottom: 8px;
}
.otp-input {
  text-align: center;
  font-size: 28px !important;
  letter-spacing: 13px;
  padding-left: 25px !important;
  height: 62px !important;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: #456b57;
  background: #fafcf9;
}
.otp-input::placeholder {
  color: #d8e2d4;
}
.compact-modal {
  width: 420px;
}
.code-modal {
  width: 440px;
}
.code-value {
  height: 108px;
  border-radius: 11px;
  border: 1px solid #e1ecdf;
  background: #f5f9f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 43px;
  font-weight: 550;
  letter-spacing: 9px;
  color: #3f7757;
  margin-top: 23px;
  font-variant-numeric: tabular-nums;
  padding-left: 9px;
}
.code-value.loading-code {
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 400;
  color: #8ea68e;
}
.code-value.is-error {
  font-size: 15px;
  letter-spacing: 0;
  font-weight: 450;
  color: #b28a73;
  background: #fbf7f0;
  border-color: #efe4d6;
}
.centered {
  display: block;
  text-align: center;
}
.code-actions {
  display: flex;
  gap: 9px;
  margin-top: 23px;
}
.code-actions .button {
  flex: 1;
  font-size: 12px;
}
.code-note {
  font-size: 10px;
  color: #a4b4a4;
  text-align: center;
  margin-top: 19px;
}
.drawer {
  margin: 0 0 0 auto;
  width: 440px;
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  border-radius: 0;
  border-block: 0;
  border-right: 0;
  position: fixed;
  right: 0;
  top: 0;
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 25px;
  border-bottom: 1px solid #edf1e9;
  position: sticky;
  top: 0;
  background: #fffffffa;
  z-index: 2;
}
.drawer-header .eyebrow {
  margin: 0;
  font-size: 9px;
}
.drawer-body {
  padding: 26px;
}
.detail-heading {
  text-align: center;
  padding: 5px 0 25px;
}
.large-avatar {
  width: 55px;
  height: 55px;
  margin: 0 auto 15px;
  font-size: 21px;
  border-radius: 16px;
}
.detail-heading h2 {
  font-size: 21px;
  color: #426447;
  overflow-wrap: anywhere;
  letter-spacing: -0.5px;
}
.detail-heading > p {
  font-size: 12px;
  color: #99ad96;
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.detail-heading > div:last-child {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.detail-section {
  padding: 24px 0;
  border-top: 1px solid #eaf0e5;
}
.detail-section h3 {
  color: #6d8868;
  font-size: 12px;
}
.detail-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.detail-fields {
  font-size: 11px;
  margin: 16px 0 0;
}
.detail-fields > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 12px 0;
}
.detail-fields dt {
  color: #9bad93;
}
.detail-fields dd {
  color: #6c8865;
  text-align: right;
  margin: 0;
  overflow-wrap: anywhere;
}
.detail-link {
  border: 1px solid #e4ecdb;
  background: #f8faf3;
  border-radius: 7px;
  padding: 12px;
  margin: 15px 0 12px;
  color: #8aa078;
  font-size: 10px;
  word-break: break-all;
  line-height: 1.8;
}
.detail-section > .button {
  font-size: 12px;
}
.job-summary {
  font-size: 11px;
  color: #95a98b;
  margin-top: 14px;
  line-height: 1.8;
}
.timeline {
  padding: 0;
  list-style: none;
  margin: 19px 0 0;
}
.timeline li {
  position: relative;
  padding: 0 0 22px 23px;
  border-left: 1px solid #e3ecd7;
  margin-left: 5px;
}
.timeline li:before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  background: #b1c69c;
  border: 3px solid #f6f9ef;
  box-sizing: content-box;
  border-radius: 50%;
  left: -7px;
  top: 2px;
}
.timeline li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}
.timeline p {
  font-size: 11px;
  color: #7f9870;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.timeline time {
  font-size: 9px;
  color: #adbd9e;
  margin-top: 4px;
  display: block;
}
.drawer-footer {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 17px 25px;
  border-top: 1px solid #eaf0e1;
  font-size: 9px;
  color: #a4b695;
}
.drawer-footer > .icon {
  width: 12px;
  height: 12px;
}
.setting-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf1e7;
  padding: 20px 0;
}
.setting-row strong {
  font-size: 12px;
  color: #6b8767;
  font-weight: 600;
}
.setting-row p {
  font-size: 10px;
  color: #9fb295;
  max-width: 230px;
  margin-top: 5px;
  line-height: 1.8;
}
.setting-row + .inline-notice {
  margin-top: 21px;
}
.help-steps {
  list-style: none;
  padding: 0;
  margin: 26px 0;
}
.help-steps li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin: 22px 0;
}
.help-steps li > span {
  height: 29px;
  width: 29px;
  border: 1px solid #e0ead8;
  border-radius: 9px;
  background: #f4f8ed;
  color: #92ac80;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.help-steps strong {
  font-size: 12px;
  color: #728f66;
  font-weight: 600;
}
.help-steps p {
  font-size: 11px;
  color: #a0b492;
  margin-top: 5px;
  line-height: 1.8;
}
.toast-region {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 200;
  display: grid;
  gap: 9px;
  width: 350px;
  max-width: calc(100% - 32px);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border: 1px solid #dfe8d7;
  box-shadow: 0 8px 40px #223b4020;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 12px;
  color: #6f8f60;
  animation: toast-in 0.2s ease;
  pointer-events: auto;
}
.toast.error-toast {
  color: #b77e5e;
  border-color: #eedfcd;
}
.toast > .icon {
  width: 17px;
  height: 17px;
  margin-top: 1px;
}
.toast > span {
  flex: 1;
  overflow-wrap: anywhere;
}
.toast > .icon-button {
  width: 20px;
  height: 20px;
  color: inherit;
  margin: -1px -5px 0 0;
}
.toast > .icon-button > .icon {
  width: 13px;
  height: 13px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1550px) {
  .main-content {
    padding-inline: 55px;
  }
  .summary-grid {
    gap: 20px;
  }
  .account-table th,
  .account-table td {
    padding-block: 22px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 215px;
  }
  .main-content {
    margin-left: 215px;
    width: calc(100% - 215px);
    padding-inline: 28px;
  }
  .summary-grid {
    gap: 10px;
  }
  .summary-card {
    padding: 17px 15px;
  }
  .summary-caption {
    font-size: 8px;
  }
  .account-table th,
  .account-table td {
    padding-inline: 13px;
  }
  .account-table th:first-child,
  .account-table td:first-child {
    padding-left: 20px;
  }
  .account-table td:last-child {
    padding-right: 20px;
  }
  .updated-date {
    display: none;
  }
  .account-table th:nth-child(4) {
    width: 11%;
  }
  .account-table th:last-child {
    width: 21%;
  }
  .account-table .row-actions .button > .icon {
    display: none;
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 82px;
    padding: 25px 12px 17px;
  }
  .brand {
    margin: 0 auto 39px;
    display: block;
    width: max-content;
  }
  .brand > div:last-child,
  .nav-label,
  .nav-item .nav-count,
  .sidebar-note,
  .sidebar-footer > div:nth-child(2) {
    display: none;
  }
  .nav-item {
    font-size: 0;
    padding: 12px 17px;
    gap: 0;
  }
  .nav-item .icon {
    width: 21px;
    height: 21px;
  }
  .sidebar-footer {
    margin-top: auto;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0 0;
    gap: 10px;
  }
  .sidebar-footer > .icon-button {
    margin: 0;
    width: 32px;
  }
  .main-content {
    margin-left: 82px;
    width: calc(100% - 82px);
    padding: 0 26px;
  }
  .summary-card {
    padding: 16px 14px;
  }
  .summary-card .stat-icon {
    height: 29px;
    width: 29px;
  }
  .summary-label {
    font-size: 10px;
  }
  .summary-card strong {
    font-size: 27px;
  }
  .summary-caption {
    white-space: normal;
    font-size: 8px;
  }
  .account-table th:nth-child(4),
  .account-table td:nth-child(4) {
    display: none;
  }
  .account-table th:first-child {
    width: 32%;
  }
  .account-table th:nth-child(2) {
    width: 24%;
  }
  .account-table th:nth-child(3) {
    width: 19%;
  }
  .account-table th:last-child {
    width: 25%;
  }
}
@media (max-width: 720px) {
  h1 {
    font-size: 28px;
  }
  .sidebar {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 69px;
    flex-direction: row;
    padding: 12px 18px;
    align-items: center;
    gap: 14px;
  }
  .brand {
    margin: 0;
    display: flex;
    gap: 9px;
    width: auto;
  }
  .brand-mark {
    grid-template-columns: repeat(2, 7px);
    grid-template-rows: repeat(2, 7px);
    padding: 8px;
    gap: 2px;
    border-radius: 9px;
  }
  .brand > div:last-child {
    display: block;
  }
  .brand strong {
    font-size: 14px;
  }
  .brand > div > span {
    font-size: 8px;
    margin-top: 3px;
  }
  .sidebar nav {
    display: flex;
    gap: 3px;
    margin-left: auto;
  }
  .nav-item {
    width: 34px;
    height: 34px;
    min-height: 0;
    padding: 8px;
    margin: 0;
    border-radius: 7px;
  }
  .nav-item .icon {
    width: 17px;
    height: 17px;
  }
  .nav-item.active {
    box-shadow: none;
  }
  .sidebar-footer {
    display: none;
  }
  .app-shell {
    display: block;
  }
  .main-content {
    margin: 0;
    width: 100%;
    padding: 0 18px;
  }
  .topbar {
    height: 52px;
  }
  .breadcrumb {
    font-size: 9px;
    gap: 8px;
  }
  .breadcrumb > .icon {
    width: 8px;
  }
  .connection-state {
    font-size: 8px;
  }
  .page-heading {
    margin: 25px 0 20px;
    gap: 10px;
    align-items: flex-start;
  }
  .page-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .page-heading > div > p:last-child {
    font-size: 10px;
    max-width: 210px;
    line-height: 1.8;
    margin-top: 8px;
  }
  .page-heading > .button {
    font-size: 10px;
    gap: 5px;
    padding: 9px 10px;
    min-height: 35px;
    margin-top: 28px;
  }
  .page-heading > .button > .icon {
    width: 13px;
    height: 13px;
  }
  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
  }
  .summary-card {
    padding: 14px 15px;
    min-height: 110px;
  }
  .summary-label {
    font-size: 10px;
  }
  .summary-card strong {
    font-size: 28px;
    margin: 5px 0;
  }
  .summary-caption {
    font-size: 8px;
  }
  .panel-header {
    padding: 20px 17px 17px;
  }
  .panel-header h2 {
    font-size: 13px;
  }
  .panel-header p {
    font-size: 9px;
  }
  .table-toolbar {
    padding: 0 17px 16px;
    gap: 9px;
    flex-wrap: wrap;
  }
  .search-field {
    max-width: none;
  }
  .search-field input {
    font-size: 10px;
  }
  .status-select {
    width: 100%;
    min-width: 0;
  }
  .status-select select {
    font-size: 10px;
  }
  .accounts-content {
    padding: 0 13px;
    background: #f8faf6;
    border-top: 1px solid #e9f0e1;
  }
  .account-table,
  .account-table tbody {
    display: block;
    width: 100%;
  }
  .account-table thead {
    display: none;
  }
  .account-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 13px;
    margin: 13px 0;
    padding: 15px 13px;
    background: #fff;
    border: 1px solid #e5eddb;
    border-radius: 9px;
    position: relative;
  }
  .account-table td,
  .account-table td:first-child,
  .account-table td:last-child {
    display: block;
    border: none;
    padding: 0;
    min-width: 0;
  }
  .account-table td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  .account-table td:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    padding-top: 3px;
  }
  .account-table td:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
  }
  .account-table td:nth-child(4) {
    display: none;
  }
  .account-table td:last-child {
    grid-column: 2;
    grid-row: 2;
  }
  .account-cell {
    gap: 9px;
  }
  .account-avatar {
    width: 30px;
    height: 30px;
    font-size: 10px;
    border-radius: 8px;
  }
  .account-name {
    font-size: 10px;
  }
  .account-email {
    font-size: 9px;
    max-width: 170px;
  }
  .badge {
    font-size: 8px;
    padding: 3px 5px;
    gap: 4px;
  }
  .row-error {
    max-width: 100px;
    font-size: 8px;
  }
  .row-actions .button {
    font-size: 9px;
    min-height: 28px;
    padding: 6px 8px;
  }
  .row-actions > .icon-button {
    width: 22px;
  }
  .link-button {
    font-size: 9px;
    gap: 5px;
  }
  .link-button .icon {
    width: 12px;
    height: 12px;
  }
  .row-menu {
    width: 177px;
  }
  .row-menu button {
    font-size: 10px;
  }
  .panel-footer {
    padding: 11px 17px;
    font-size: 8px;
    align-items: flex-start;
  }
  .last-updated {
    font-size: 8px;
    white-space: nowrap;
  }
  .page-footer {
    padding: 20px 1px;
    font-size: 8px;
  }
  .page-footer > span:last-child {
    max-width: 150px;
    text-align: right;
  }
  .empty-state {
    border: none;
    padding: 44px 15px;
  }
  .empty-state p {
    font-size: 10px;
  }
  .skeleton-row {
    padding: 20px 5px;
    border-color: #e7eedf;
  }
  .skeleton-line:nth-last-child(-n + 2) {
    display: none;
  }
  .skeleton-lines {
    width: 45%;
  }
  .skeleton-line {
    width: 20%;
  }
  .drawer {
    width: 100%;
  }
  .drawer-body {
    padding: 22px;
  }
  .modal-inner {
    padding: 22px;
  }
  .modal h2 {
    font-size: 21px;
  }
  .modal-description {
    font-size: 11px;
  }
  .modal {
    max-height: calc(100dvh - 26px);
  }
  .modal-actions .button {
    font-size: 11px;
  }
  .auth-card {
    padding: 30px 27px 24px;
    border-radius: 13px;
    max-width: 400px;
  }
  .auth-description {
    font-size: 11px;
  }
  .auth-card h1 {
    font-size: 29px;
  }
  .auth-security {
    font-size: 8px;
    gap: 5px;
  }
  .auth-decoration {
    display: none;
  }
  .toast-region {
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
  }
  .code-value {
    font-size: 38px;
    letter-spacing: 8px;
  }
  .inline-notice {
    font-size: 10px;
  }
  .error-notice > .text-button {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Server-side account pagination; controls stay outside the re-rendered table. */
.panel-footer-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-button {
  min-height: 28px;
  padding: 5px 8px;
  font-size: 10px;
  gap: 4px;
  border-radius: 6px;
}
.page-button .icon {
  width: 11px;
  height: 11px;
}
.previous-icon {
  transform: rotate(180deg);
}
.page-status {
  min-width: 73px;
  text-align: center;
  font-size: 9px;
  color: #8c9f94;
  white-space: nowrap;
}
.page-button:disabled {
  opacity: 0.4;
}
@media (max-width: 1000px) {
  .panel-footer-tools {
    gap: 10px;
  }
  .panel-footer-tools .last-updated {
    display: none;
  }
}
@media (max-width: 720px) {
  .panel-footer {
    flex-wrap: wrap;
    gap: 10px;
  }
  .panel-footer-tools {
    width: 100%;
    justify-content: flex-end;
  }
  .pagination {
    gap: 9px;
  }
  .page-button {
    min-height: 29px;
    font-size: 10px;
  }
}

/* Delivery controls stay mounted while job polling updates their status. */
.otp-delivery {
  margin-top: 17px;
  padding: 15px;
  border: 1px solid #e4ece4;
  border-radius: 10px;
  background: #f9fbf8;
}
.otp-delivery-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.otp-delivery h3 {
  margin: 0;
  color: #527260;
  font-size: 12px;
  font-weight: 650;
}
.otp-delivery label {
  margin-top: 11px;
  margin-bottom: 5px;
  font-size: 10px;
}
.otp-delivery select {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 11px;
  background-color: #fff;
}
.otp-delivery select:disabled {
  background-color: #f1f5f0;
  color: #8b9c8e;
  cursor: wait;
}
.otp-delivery-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.otp-delivery-actions .button {
  min-height: 32px;
  padding: 7px 11px;
  font-size: 11px;
}
.otp-delivery-actions .text-button {
  font-size: 10px;
  line-height: 1.5;
  text-align: left;
}
.delivery-busy {
  color: #8a947f;
  font-size: 10px;
}
.delivery-busy::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border: 1px solid #b7cabb;
  border-top-color: #66896f;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.delivery-status,
.delivery-error {
  margin: 9px 0 0;
  font-size: 10px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.delivery-status {
  color: #688772;
}
.delivery-error {
  color: #ac735d;
}
.otp-delivery .field-note {
  margin-bottom: 0;
  font-size: 9px;
}
.otp-delivery p:empty {
  display: none;
}
@media (max-width: 420px) {
  .otp-delivery {
    padding: 12px;
  }
  .otp-delivery-heading {
    align-items: flex-start;
  }
  .delivery-busy {
    max-width: 115px;
    text-align: right;
  }
}

/* Sign-in and personal account preferences. */
.auth-screen {
  padding-bottom: 40px;
}
.auth-tabs {
  display: flex;
  gap: 5px;
  padding: 4px;
  background: #f1f5f1;
  border: 1px solid #e4ebe3;
  border-radius: 9px;
  margin: 20px 0 10px;
}
.auth-tabs button {
  flex: 1;
  border: 0;
  border-radius: 6px;
  background: transparent;
  padding: 9px 13px;
  color: #83988a;
  font-size: 11px;
  font-weight: 600;
}
.auth-tabs button.active {
  background: white;
  color: #3f6d57;
  box-shadow: 0 1px 4px #2449320d;
}
.auth-card .button {
  justify-content: center;
}
.auth-card .inline-notice {
  font-size: 11px;
  line-height: 1.7;
  padding: 12px;
  margin-top: 16px;
}
.quota-note {
  color: #8fa18f;
  font-size: 10px;
  margin: -12px 0 20px;
}
.quota-note:empty {
  display: none;
}
@media (max-width: 720px) {
  .quota-note {
    margin-top: -5px;
    font-size: 9px;
    line-height: 1.7;
  }
}

.account-proxy {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #e5ece1;
  background: #fafcf8;
  border-radius: 9px;
}
.proxy-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.proxy-heading h3 {
  margin: 0;
  color: #607e67;
  font-size: 11px;
  font-weight: 600;
}
.proxy-heading .text-button {
  font-size: 10px;
}
.account-proxy fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.proxy-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.account-proxy label {
  margin-top: 10px;
  font-size: 10px;
}
.account-proxy select {
  font-size: 11px;
  padding: 8px 9px;
}
.account-proxy textarea {
  width: 100%;
  min-height: 80px;
  resize: vertical;
  border: 1px solid #d9e2de;
  border-radius: 8px;
  padding: 9px;
  color: var(--ink);
  background: white;
  font:
    10px/1.7 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.account-proxy textarea:focus {
  outline: 2px solid #49a89855;
  outline-offset: 2px;
}
.account-proxy .field-note {
  font-size: 9px;
  margin-bottom: 0;
  white-space: pre-line;
}
@media (max-width: 420px) {
  .proxy-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.account-heading-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
}
.bulk-input-fields textarea {
  width: 100%;
  min-height: 170px;
  resize: vertical;
  border: 1px solid #d9e2de;
  border-radius: 9px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  font:
    11px/1.8 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.bulk-input-fields textarea:focus {
  outline: 2px solid #49a89855;
  outline-offset: 2px;
}
.bulk-format {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid #e7ecdf;
  border-radius: 8px;
  background: #fafcf7;
  font-size: 10px;
  color: #8a9f83;
}
.bulk-format summary {
  cursor: pointer;
  color: #688568;
  font-weight: 600;
}
.bulk-format p {
  line-height: 1.8;
  margin: 8px 0 0;
}
.bulk-preview-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.bulk-preview-heading .button {
  font-size: 11px;
  min-height: 33px;
}
.bulk-preview-heading .field-note {
  margin: 0;
}
.bulk-preview-content {
  margin-top: 13px;
  max-height: 230px;
  overflow: auto;
  border: 1px solid #e4ebdf;
  border-radius: 8px;
}
.bulk-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 10px;
}
.bulk-table th {
  position: sticky;
  top: 0;
  background: #f6f9f2;
  color: #95a58b;
  font-size: 9px;
  font-weight: 500;
  padding: 10px 11px;
  border-bottom: 1px solid #e4ebdf;
  white-space: nowrap;
}
.bulk-table td {
  color: #7d9476;
  padding: 11px;
  border-bottom: 1px solid #edf2e7;
  vertical-align: top;
}
.bulk-table tr:last-child td {
  border-bottom: 0;
}
.bulk-table .bulk-email {
  color: #597951;
  overflow-wrap: anywhere;
  max-width: 220px;
}
.bulk-table .bulk-line {
  color: #a0b095;
  font-variant-numeric: tabular-nums;
}
.bulk-row-note {
  display: block;
  color: #a1ae98;
  font-size: 9px;
  margin-top: 5px;
  line-height: 1.65;
}
.bulk-row-invalid td {
  background: #fdf7f1;
}
.bulk-row-invalid .bulk-row-note {
  color: #b48468;
}
.modal.bulk-modal {
  width: 650px;
}
.bulk-panel {
  margin-top: 22px;
}
.bulk-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 25px;
  border-top: 1px solid #edf2e7;
}
.bulk-toolbar select {
  min-width: 0;
  flex: 1;
  max-width: 430px;
  font-size: 11px;
  padding: 9px 12px;
}
.bulk-toolbar .text-button {
  margin-left: auto;
  font-size: 10px;
  white-space: nowrap;
}
.bulk-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 25px 16px;
}
.bulk-count-chip {
  padding: 5px 9px;
  border-radius: 6px;
  background: #f3f7ef;
  color: #93a484;
  font-size: 10px;
}
.bulk-count-chip strong {
  color: #628158;
  margin-left: 5px;
  font-variant-numeric: tabular-nums;
}
.bulk-rows {
  max-height: 380px;
  overflow: auto;
  padding: 0 14px;
}
.bulk-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bulk-row-actions .text-button {
  font-size: 10px;
  white-space: nowrap;
}
.bulk-panel > .form-error {
  margin: 0 25px 15px;
}
.otp-automation {
  margin-top: 15px;
  padding: 13px 14px;
  border: 1px solid #deeadb;
  border-radius: 9px;
  background: #f6faf2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.otp-automation h3 {
  color: #64805b;
  font-size: 11px;
  margin: 0;
  font-weight: 600;
}
.otp-automation .field-note {
  margin-top: 6px;
  font-size: 10px;
}
.otp-automation .text-button {
  font-size: 10px;
  white-space: nowrap;
  margin-top: 2px;
}
@media (max-width: 1000px) {
  .account-heading-actions {
    max-width: 240px;
    gap: 7px;
  }
  .account-heading-actions .button {
    font-size: 10px;
    padding: 9px 12px;
  }
}
@media (max-width: 720px) {
  .account-heading-actions {
    max-width: 155px;
    gap: 6px;
  }
  .account-heading-actions .button {
    min-height: 32px;
    margin: 0;
    padding: 7px 9px;
    font-size: 9px;
    gap: 5px;
  }
  .account-heading-actions .icon {
    width: 12px;
    height: 12px;
  }
  .bulk-toolbar {
    flex-wrap: wrap;
    padding: 13px 16px;
    gap: 10px;
  }
  .bulk-toolbar select {
    width: 100%;
    max-width: none;
    flex: auto;
  }
  .bulk-counts {
    padding: 0 16px 14px;
    gap: 6px;
  }
  .bulk-count-chip {
    font-size: 9px;
    padding: 4px 7px;
  }
  .bulk-rows {
    padding: 0 5px;
  }
  .bulk-table td,
  .bulk-table th {
    padding: 9px 8px;
  }
  .bulk-preview-content .bulk-table {
    min-width: 500px;
  }
  .bulk-row-actions {
    gap: 7px;
  }
  .bulk-row-actions .text-button {
    font-size: 9px;
  }
  .bulk-table .bulk-email {
    max-width: 150px;
  }
  .otp-automation {
    flex-wrap: wrap;
  }
}
