:root {
  color-scheme: dark;
  --bg: #0b1421;
  --surface: #111e2e;
  --raised: #17273a;
  --border: #27374a;
  --muted: #93a6b9;
  --text: #edf3f7;
  --teal: #59d8c3;
  --gold: #e0bc77;
  --error: #f7a3a3;
  --money-syp: #ffd54f;
  --money-usd: #65e6a4;
  --money-agent: #ff7979;
  --radius: 18px;
  --sans: "Segoe UI", Tahoma, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 80% 0, #152d3b 0, transparent 45%), var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  font-size: 15px;
  min-width: 320px;
}
button,
input,
textarea,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
bdi {
  font-variant-numeric: tabular-nums;
}
.skip-link {
  position: fixed;
  top: -100px;
  right: 20px;
  background: var(--teal);
  color: var(--bg);
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 8px;
}
.topbar {
  max-width: 1500px;
  margin: auto;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.brand strong {
  font-size: 24px;
  letter-spacing: -1px;
  display: block;
  line-height: 1.1;
  direction: ltr;
  text-align: right;
}
.brand small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.brand-dot {
  color: var(--teal);
}
.brand-mark {
  width: 42px;
  height: 44px;
  border: 1px solid #3a6c70;
  border-radius: 12px 12px 12px 2px;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: var(--teal);
  font-weight: 700;
  direction: ltr;
  position: relative;
}
.brand-mark span {
  position: absolute;
  width: 7px;
  height: 7px;
  bottom: 5px;
  left: 7px;
  background: var(--gold);
  border-radius: 2px;
}
.private-badge {
  color: var(--muted);
  font-size: 12px;
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 24px;
}
.session-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}
.session-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.live-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 100%;
  background: var(--teal);
  box-shadow: 0 0 0 4px #59d8c314;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  padding: 9px 17px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.button-primary {
  background: var(--teal);
  color: #072b2c;
  box-shadow: 0 5px 20px #0002;
}
.button-primary:hover:not(:disabled) {
  background: #8ce9d9;
}
.button-outline {
  background: transparent;
  border-color: #35575f;
  color: #b3e7dc;
}
.button-outline:hover:not(:disabled) {
  background: #173c3f;
  border-color: var(--teal);
}
.button-quiet {
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
}
.button-quiet:hover:not(:disabled) {
  background: var(--raised);
  color: var(--text);
}
.icon-button {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 22px;
  color: var(--muted);
  flex-shrink: 0;
}
.icon-button:hover:not(:disabled) {
  border-color: var(--teal);
  color: var(--teal);
}
main {
  max-width: 1500px;
  padding: 0 48px;
  margin: auto;
  min-height: calc(100vh - 185px);
}
.boot-state {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 60vh;
  color: var(--muted);
}
.spinner {
  width: 20px;
  height: 20px;
  border-radius: 100%;
  border: 2px solid var(--border);
  border-top-color: var(--teal);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.eyebrow {
  color: var(--teal);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}
.login-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 100px;
  max-width: 1140px;
  margin: 70px auto 85px;
}
.login-story h1 {
  font-size: clamp(35px, 3.8vw, 57px);
  line-height: 1.55;
  font-weight: 750;
  letter-spacing: -1.8px;
  margin: 22px 0;
}
.login-story h1 span {
  color: var(--teal);
}
.login-story > p {
  color: var(--muted);
  font-size: 16px;
  max-width: 460px;
  line-height: 1.9;
}
.login-facts {
  display: flex;
  gap: 42px;
  margin-top: 37px;
}
.login-facts strong {
  font-size: 28px;
  color: var(--gold);
  font-weight: 500;
  display: block;
}
.login-facts span {
  font-size: 11px;
  color: var(--muted);
}
.story-note {
  margin-top: 45px;
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  max-width: 430px;
}
.story-note > span {
  color: var(--gold);
  font-size: 21px;
}
.login-card {
  background: linear-gradient(145deg, #192b3f, #101d2e);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px;
  box-shadow: 0 24px 60px #0003;
  position: relative;
}
.section-index {
  font-size: 9px;
  letter-spacing: 2px;
  color: #77909e;
  direction: ltr;
  display: block;
  text-align: left;
}
.lock-symbol {
  color: var(--gold);
  font-size: 32px;
  margin: 4px 0 9px;
}
.login-card h2 {
  font-size: 26px;
  letter-spacing: -0.5px;
}
.login-card > p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}
.login-card form {
  margin-top: 27px;
}
label {
  display: block;
  margin: 17px 0 7px;
  font-size: 12px;
  font-weight: 600;
  color: #cfdae5;
}
input,
select,
textarea {
  width: 100%;
  background: #0d1826;
  color: var(--text);
  border: 1px solid #334356;
  border-radius: 9px;
  min-height: 44px;
  padding: 10px 12px;
  box-shadow: none;
}
textarea {
  resize: vertical;
}
input[readonly] {
  color: var(--muted);
  background: #172435;
}
input::placeholder,
textarea::placeholder {
  color: #718396;
}
.login-submit {
  width: 100%;
  margin-top: 25px;
  justify-content: space-between;
}
.secure-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 16px;
  text-align: center;
}
.form-error {
  font-size: 12px;
  color: var(--error);
  margin-top: 14px;
}
.dashboard {
  padding-top: 38px;
  padding-bottom: 35px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.page-heading h1 {
  font-size: 34px;
  letter-spacing: -1px;
  margin: 6px 0;
}
.page-heading h1 span {
  color: var(--teal);
}
.page-heading p {
  font-size: 13px;
  color: var(--muted);
}
.heading-actions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 10px;
}
.timestamp {
  font-size: 11px;
  color: var(--muted);
}
.notice {
  border: 1px solid #34535d;
  border-radius: 10px;
  background: #12323a;
  padding: 12px 16px;
  font-size: 12px;
  color: #c2e8e5;
  margin-bottom: 18px;
  line-height: 1.8;
}
.notice.error {
  background: #321f29;
  color: #f2b8b8;
  border-color: #623943;
}
.notice.success {
  background: #163932;
  color: #b1ebd0;
  border-color: #346653;
}
.balance-summary {
  margin-bottom: 24px;
}
.summary-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.summary-heading h2 {
  font-size: 17px;
}
.summary-heading > span,
.summary-note {
  color: var(--muted);
  font-size: 10px;
}
.balance-totals {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.summary-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.summary-card[data-summary-kind="sham"] {
  grid-column: span 2;
}
.summary-card > h3 {
  padding: 12px 14px 0;
  font-size: 13px;
}
.summary-values {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.summary-card[data-summary-kind="sham"] .summary-values {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.summary-values .metric {
  border: 0;
  background: transparent;
  padding: 10px 14px 14px;
}
.summary-values .metric + .metric {
  border-inline-start: 1px solid var(--border);
  border-radius: 0;
}
.summary-values .metric-amount {
  font-size: 25px;
}
.summary-coverage {
  font-size: 9px;
  color: var(--muted);
}
.summary-note {
  margin-top: 8px;
}
.overview-strip {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 19px 23px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #14233699;
  margin-bottom: 32px;
}
.overview-strip > div {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.overview-strip strong {
  font-size: 22px;
  font-weight: 600;
}
.overview-strip > div > span:last-child {
  font-size: 11px;
  color: var(--muted);
}
.overview-symbol {
  color: var(--muted);
  font-size: 22px;
}
.overview-symbol.teal {
  color: var(--teal);
}
.overview-symbol.gold {
  color: var(--gold);
}
.overview-strip > p {
  margin-right: auto;
  font-size: 11px;
  color: var(--muted);
  border-right: 1px solid var(--border);
  padding-right: 22px;
  max-width: 230px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.section-heading h2 {
  font-size: 17px;
  font-weight: 600;
}
.count-badge {
  font-size: 11px;
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 7px;
  margin-right: 7px;
  color: var(--muted);
}
.filters {
  display: flex;
  gap: 3px;
  background: #101c2a;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.filter-button {
  font-size: 11px;
  padding: 6px 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
}
.filter-button.selected {
  background: #25394a;
  color: var(--text);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}
.bot-card {
  border: 1px solid var(--border);
  background: linear-gradient(150deg, #172739, #111e2d 70%);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px #0001;
  min-width: 0;
  --accent: var(--teal);
}
.platform-texas {
  --accent: var(--gold);
}
.platform-aura {
  --accent: #b8a1ed;
}
.grouped-card {
  grid-column: span 2;
}
.group-header {
  border-bottom: 1px solid var(--border);
}
.group-description {
  color: var(--muted);
  font-size: 10px;
}
.group-members {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.group-member {
  min-width: 0;
}
.group-member + .group-member {
  border-inline-start: 1px solid var(--border);
}
.group-member .bot-avatar {
  display: none;
}
.group-member .bot-identity h4 {
  font-size: 15px;
}
.card-header {
  padding: 20px 20px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bot-avatar {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 65%);
  background: color-mix(in srgb, var(--accent), transparent 90%);
  color: var(--accent);
  font-size: 23px;
  font-weight: 500;
  border-radius: 12px;
}
.bot-identity {
  min-width: 0;
}
.bot-identity h3 {
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.bot-username {
  display: block;
  font-size: 10px;
  color: var(--muted);
  text-align: right;
  overflow-wrap: anywhere;
}
.bot-username:hover {
  color: var(--teal);
}
.card-refresh {
  margin-right: auto;
  width: 31px;
  height: 31px;
  font-size: 21px;
}
.card-health {
  margin: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}
.card-health > span:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #a3a399;
  border-radius: 50%;
  margin-left: 6px;
}
.card-health.healthy > span:before {
  background: var(--teal);
}
.card-health time {
  font-size: 9px;
  text-align: left;
}
.card-section {
  padding: 16px 20px;
}
.card-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.card-section-heading h4 {
  font-size: 12px;
  font-weight: 600;
}
.shared-badge {
  font-size: 9px;
  color: var(--gold);
  border: 1px solid #6a5533;
  border-radius: 5px;
  padding: 2px 6px;
}
.balance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.metric {
  background: #0d1927aa;
  border: 1px solid #253549;
  border-radius: 10px;
  padding: 11px 10px;
  min-width: 0;
}
.metric-label {
  font-size: 10px;
  color: var(--muted);
}
.metric-amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
  margin: 5px 0;
  font-size: 22px;
  font-weight: 600;
  direction: ltr;
  justify-content: flex-end;
  line-height: 1.5;
}
.metric-amount bdi {
  overflow-wrap: anywhere;
}
.metric-amount small {
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
}
.metric-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  justify-content: space-between;
}
.state-tag {
  font-size: 8px;
  border-radius: 4px;
  padding: 1px 5px;
  background: #253444;
  color: #a5b6c6;
}
.state-tag.fresh {
  background: #183a36;
  color: #86d9c1;
}
.state-tag.stale {
  background: #423820;
  color: #e0bc77;
}
.state-tag.unavailable {
  background: #3e2931;
  color: #e4afb3;
}
.metric-time {
  font-size: 8px;
  color: #8b9eb1;
}
.metric-stale .metric-amount {
  color: var(--gold);
}
.metric-unavailable .metric-amount,
.metric-not_configured .metric-amount {
  color: #7c8fa3;
}
.money-syp .metric-amount {
  color: var(--money-syp);
}
.money-usd .metric-amount {
  color: var(--money-usd);
}
.money-agent .metric-amount {
  color: var(--money-agent);
}
.transfer-button {
  width: 100%;
  margin-top: 12px;
  min-height: 35px;
  font-size: 11px;
  background: #1a363b44;
}
.syriatel-details {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #0d192433;
}
.syriatel-details summary {
  padding: 13px 20px;
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  user-select: none;
}
.syriatel-details summary::-webkit-details-marker {
  display: none;
}
.number-count {
  color: var(--muted);
  font-size: 10px;
}
.chevron {
  margin-right: auto;
  color: var(--muted);
  font-size: 18px;
  transition: transform 0.2s;
}
.syriatel-details[open] .chevron {
  transform: rotate(180deg);
}
.number-row {
  margin: 0 20px;
  padding: 13px 0;
  border-top: 1px solid var(--border);
}
.number-label {
  font-size: 14px;
  letter-spacing: 0.5px;
}
.number-badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 4px;
  font-size: 8px;
}
.number-badges span {
  padding: 1px 6px;
  border-radius: 4px;
}
.number-active {
  background: #163e35;
  color: #8fd8b8;
}
.number-paused {
  background: #263441;
  color: #9eb0c0;
}
.number-outbound {
  background: #433a26;
  color: var(--gold);
}
.number-values {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.compact-metric .metric-amount {
  font-size: 18px;
  margin: 2px 0;
  direction: ltr;
  justify-content: flex-end;
}
.compact-metric .metric-label {
  font-size: 10px;
}
.compact-metric .metric-meta {
  gap: 4px;
}
.agent-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
}
.agent-section .compact-metric .metric-amount {
  justify-content: flex-end;
  direction: ltr;
  display: inline-flex;
  margin-right: 8px;
}
.agent-section .compact-metric .metric-meta {
  justify-content: flex-start;
  margin-top: 4px;
}
.agent-section .metric-time {
  display: none;
}
.panel-link {
  color: var(--accent);
  font-size: 10px;
  white-space: nowrap;
}
.panel-link:hover {
  text-decoration: underline;
}
.card-error {
  font-size: 10px;
  color: var(--gold);
  padding: 0 20px 14px;
}
.dashboard-footnote {
  color: var(--muted);
  font-size: 11px;
  margin-top: 23px;
  display: flex;
  gap: 8px;
}
.empty-state {
  padding: 55px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.empty-numbers {
  padding: 0 20px 14px;
  font-size: 11px;
  color: var(--muted);
}
.page-footer {
  padding: 22px 48px;
  max-width: 1500px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #75899b;
  border-top: 1px solid var(--border);
}
.page-footer > span:first-child {
  direction: ltr;
  letter-spacing: 1px;
}
.transfer-dialog {
  width: min(570px, calc(100% - 28px));
  max-height: calc(100dvh - 40px);
  background: var(--surface);
  border: 1px solid #3a5164;
  border-radius: 20px;
  padding: 0;
  color: var(--text);
  box-shadow: 0 30px 100px #0008;
}
.transfer-dialog::backdrop {
  background: #040c16c9;
  backdrop-filter: blur(5px);
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
}
.dialog-header h2 {
  font-size: 23px;
  margin-top: 2px;
}
.dialog-header .eyebrow {
  font-size: 10px;
}
.dialog-body {
  padding: 22px 26px 26px;
}
.sender-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #1b2d3d;
  padding: 12px 15px;
  margin-bottom: 20px;
}
.sender-strip > span {
  font-size: 10px;
  color: var(--muted);
}
.sender-strip strong {
  font-size: 14px;
}
.sender-strip small {
  width: 100%;
  color: var(--muted);
  font-size: 10px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-grid label {
  margin-top: 0;
}
.amount-input {
  display: flex;
  border: 1px solid #334356;
  border-radius: 9px;
  background: #0d1826;
  direction: ltr;
  overflow: hidden;
}
.amount-input input {
  border: 0;
  border-radius: 0;
  min-width: 0;
}
.amount-input button {
  border: 0;
  border-left: 1px solid var(--border);
  background: #1d383c;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  padding: 0 13px;
}
.field-hint {
  color: var(--muted);
  font-size: 10px;
  margin-top: 7px;
  line-height: 1.8;
}
.optional {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  margin-right: 5px;
}
.favorite-row {
  display: flex;
  gap: 8px;
}
.favorite-row select {
  min-width: 0;
}
.favorite-row button {
  flex-shrink: 0;
}
.full-width {
  width: 100%;
  margin-top: 20px;
}
.operation-banner {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px;
  border: 1px solid #35595f;
  border-radius: 12px;
  background: #19363c;
}
.operation-banner > span {
  width: 30px;
  height: 30px;
  border: 1px solid #6da5a3;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--teal);
  font-size: 19px;
  flex-shrink: 0;
}
.operation-banner h3 {
  font-size: 16px;
  line-height: 1.9;
}
.operation-banner p {
  font-size: 11px;
  color: #b8cfd1;
  line-height: 1.8;
  margin-top: 4px;
}
.operation-banner.unknown,
.operation-banner.needs_reconciliation,
.operation-banner.pending_external {
  border-color: #6b5939;
  background: #383021;
}
.operation-banner.unknown > span,
.operation-banner.needs_reconciliation > span,
.operation-banner.pending_external > span {
  border-color: var(--gold);
  color: var(--gold);
}
.operation-banner.rejected {
  border-color: #6d3b43;
  background: #35232c;
}
.operation-banner.rejected > span {
  border-color: var(--error);
  color: var(--error);
}
.operation-details {
  margin: 19px 0 0;
  border-bottom: 1px solid var(--border);
}
.operation-details > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding: 12px 0;
  font-size: 12px;
}
.operation-details dt {
  color: var(--muted);
  flex-shrink: 0;
}
.operation-details dd {
  margin: 0;
  text-align: left;
  overflow-wrap: anywhere;
  font-weight: 600;
}
.operation-details dd.mono {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  word-break: break-all;
  user-select: all;
}
.dialog-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.dialog-action-row .button {
  font-size: 12px;
}
.operation-reference {
  text-align: center;
  color: var(--muted);
  font-size: 9px;
  margin-top: 17px;
  overflow-wrap: anywhere;
  direction: ltr;
}
.panel-help-link {
  display: block;
  font-size: 11px;
  color: var(--gold);
  text-align: center;
  margin-top: 20px;
}
@media (min-width: 1500px) {
  .cards {
    gap: 24px;
  }
  .card-header,
  .card-section {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 1190px) {
  .balance-totals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .topbar,
  main,
  .page-footer {
    padding-left: 30px;
    padding-right: 30px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .login-layout {
    gap: 50px;
    margin-top: 60px;
  }
  .overview-strip {
    gap: 24px;
  }
  .overview-strip > p {
    display: none;
  }
  .overview-strip > div {
    flex: 1;
  }
  .login-card {
    padding: 28px;
  }
  .login-facts {
    gap: 26px;
  }
}
@media (max-width: 760px) {
  .balance-totals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .summary-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .topbar {
    padding: 18px 20px;
  }
  .brand strong {
    font-size: 22px;
  }
  .brand-mark {
    width: 36px;
    height: 39px;
  }
  .private-badge {
    font-size: 10px;
    padding: 6px 10px;
  }
  main {
    padding: 0 20px;
  }
  .login-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    margin: 37px auto 50px;
    max-width: 460px;
  }
  .login-story h1 {
    font-size: 38px;
    margin: 14px 0;
  }
  .login-story > p {
    font-size: 13px;
  }
  .login-facts {
    margin-top: 20px;
    gap: 35px;
  }
  .login-facts strong {
    font-size: 24px;
  }
  .story-note {
    display: none;
  }
  .login-card {
    padding: 26px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .page-heading p {
    max-width: 250px;
    font-size: 11px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .heading-actions .button {
    font-size: 11px;
    min-height: 39px;
    padding: 8px 13px;
  }
  .timestamp {
    font-size: 9px;
  }
  .dashboard {
    padding-top: 28px;
  }
  .overview-strip {
    gap: 12px;
    padding: 13px;
    margin-bottom: 25px;
  }
  .overview-strip > div {
    flex-wrap: wrap;
    gap: 4px 7px;
  }
  .overview-strip > div > span:last-child {
    width: 100%;
    font-size: 9px;
  }
  .overview-strip strong {
    font-size: 20px;
  }
  .overview-symbol {
    font-size: 18px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }
  .filters {
    width: 100%;
    justify-content: space-between;
  }
  .filter-button {
    flex: 1;
    padding: 6px 8px;
  }
  .cards {
    gap: 16px;
  }
  .card-header {
    padding: 17px 14px 13px;
    gap: 9px;
  }
  .bot-avatar {
    width: 35px;
    height: 35px;
    font-size: 19px;
    border-radius: 10px;
  }
  .bot-identity h3 {
    font-size: 14px;
  }
  .bot-username {
    font-size: 9px;
  }
  .card-health {
    margin: 0 14px;
  }
  .card-section {
    padding: 14px;
  }
  .metric {
    padding: 9px;
  }
  .metric-amount {
    font-size: 20px;
  }
  .syriatel-details summary {
    padding: 12px 14px;
  }
  .agent-section {
    padding: 14px;
  }
  .number-row {
    margin: 0 14px;
  }
  .page-footer {
    padding: 20px;
    font-size: 9px;
  }
  .dashboard-footnote {
    font-size: 10px;
  }
}
@media (max-width: 550px) {
  .balance-totals {
    grid-template-columns: 1fr;
  }
  .summary-card[data-summary-kind="sham"] {
    grid-column: auto;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .grouped-card {
    grid-column: auto;
  }
  .group-members {
    grid-template-columns: 1fr;
  }
  .group-member + .group-member {
    border-inline-start: 0;
    border-top: 1px solid var(--border);
  }
  .card-header {
    padding: 20px 20px 15px;
  }
  .card-section {
    padding: 16px 20px;
  }
  .card-health {
    margin: 0 20px;
  }
  .bot-identity h3 {
    font-size: 17px;
  }
  .bot-username {
    font-size: 11px;
  }
  .bot-avatar {
    width: 43px;
    height: 43px;
    font-size: 23px;
  }
  .metric {
    padding: 13px;
  }
  .metric-amount {
    font-size: 25px;
  }
  .metric-time {
    font-size: 9px;
  }
  .metric-label {
    font-size: 11px;
  }
  .state-tag {
    font-size: 9px;
  }
  .syriatel-details summary {
    padding: 14px 20px;
  }
  .agent-section {
    padding: 17px 20px;
  }
  .number-row {
    margin: 0 20px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading p {
    max-width: 200px;
  }
  .session-controls {
    gap: 10px;
  }
  .session-chip {
    font-size: 11px;
  }
  .session-controls .button {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 11px;
  }
  .dialog-header {
    padding: 20px;
  }
  .dialog-body {
    padding: 20px;
  }
  .transfer-dialog {
    max-height: calc(100dvh - 20px);
  }
  .operation-details > div {
    gap: 10px;
  }
  .operation-details dt {
    font-size: 11px;
  }
  .operation-details dd.mono {
    font-size: 10px;
  }
  .form-grid {
    gap: 10px;
  }
  .dialog-action-row {
    gap: 8px;
  }
  .dialog-action-row .button {
    font-size: 11px;
    padding: 9px;
  }
  .page-footer {
    gap: 10px;
  }
  .page-footer > span:last-child {
    text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
