.dd-dash { padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 88px); }
  .dd-dash-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(20px, 3vw, 32px); }
  .dd-dash-head-text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
  .dd-dash-head-end { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  .dd-dash-chip { display: inline-flex; align-items: baseline; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--dd-r-pill); box-sizing: border-box;
    border: 1px solid var(--dd-coral-border); background: var(--dd-coral-tint); align-items: center; }
  .dd-dash-chip svg { width: 16px; height: 16px; color: var(--dd-coral-text); }
  .dd-dash-chip [data-dash-chip-usd] { font-weight: 700; color: #fff; }
  .dd-dash-chip-sub { font-size: 12px; color: var(--dd-text-3); }

  .dd-dash-loading { display: flex; align-items: center; gap: 12px; padding: 40px 0; color: var(--dd-text-3); }
  .dd-dash-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--dd-control-strong); border-top-color: var(--dd-coral); animation: dd-dash-spin 800ms linear infinite; }
  @keyframes dd-dash-spin { to { transform: rotate(360deg); } }

  /* sign-in */
  .dd-dash-signin { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: clamp(24px, 4vw, 48px); max-width: 760px;
    background: radial-gradient(120% 140% at 100% 0%, rgba(255,111,97,0.14), transparent 55%), var(--dd-surface-2); }
  .dd-dash-signin-mark { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--dd-coral-tint); border: 1px solid var(--dd-coral-border); color: var(--dd-coral-text); }
  .dd-dash-signin-mark svg { width: 24px; height: 24px; }
  .dd-dash-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  .dd-dash-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--dd-text-2); }
  .dd-dash-points svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--dd-coral-text); }

  /* alerts, toast */
  .dd-dash-alert { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; margin-bottom: 18px; border-radius: var(--dd-r-card);
    border: 1px solid var(--dd-hairline); background: var(--dd-surface-2); }
  .dd-dash-alert > svg, .dd-dash-alert [data-dash-notice-icon] svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
  .dd-dash-alert p { margin: 0; }
  .dd-dash-alert > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .dd-dash-alert-title { font-weight: 700; }
  .dd-dash-alert-x { width: 32px; min-height: 32px; flex: none; }
  .dd-dash-alert[data-tone="success"] { border-color: rgba(52,199,89,0.45); background: rgba(52,199,89,0.08); }
  .dd-dash-alert[data-tone="success"] [data-dash-notice-icon] { color: var(--dd-success); }
  .dd-dash-alert[data-tone="warn"], .dd-dash-alert-error { border-color: rgba(255,149,0,0.45); background: rgba(255,149,0,0.08); }
  .dd-dash-alert[data-tone="warn"] [data-dash-notice-icon], .dd-dash-alert-error > svg { color: var(--dd-warning); }
  .dd-dash-alert-error { align-items: center; }
  .dd-dash-alert-error p { flex: 1; }
  .dd-dash-toast { position: fixed; z-index: var(--dd-z-toast); inset-inline-start: 50%; bottom: 24px; transform: translateX(-50%); max-width: calc(100vw - 32px); box-sizing: border-box;
    padding: 12px 18px; border-radius: var(--dd-r-pill); background: #fff; color: #0A080C; font-weight: 600; box-shadow: var(--dd-shadow-modal); }
  [dir="rtl"] ~ .dd-dash-toast, html[dir="rtl"] .dd-dash-toast { transform: translateX(50%); }
  .dd-dash-toast[data-tone="error"] { background: #FFE1DE; }

  /* tabs */
  .dd-dash-tabs { position: sticky; top: var(--dd-topbar-h); z-index: 5; display: flex; gap: 4px; margin: 0 0 24px; padding: 6px; border-radius: var(--dd-r-panel);
    background: rgba(13,10,17,0.86); border: 1px solid var(--dd-hairline); overflow-x: auto; scrollbar-width: none; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .dd-dash-tabs::-webkit-scrollbar { display: none; }
  .dd-dash-tab { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 14px;
    border: 1px solid transparent; background: transparent; color: var(--dd-text-3); font: 600 14px/1 var(--dd-font-body); cursor: pointer; white-space: nowrap;
    transition: color var(--dd-t-hover) var(--dd-ease), background var(--dd-t-hover) var(--dd-ease); }
  .dd-dash-tab svg { width: 18px; height: 18px; }
  .dd-dash-tab:hover { color: #fff; background: rgba(255,255,255,0.04); }
  .dd-dash-tab[aria-selected="true"] { color: #fff; background: var(--dd-violet-tint); border-color: var(--dd-violet-border); }
  .dd-dash-panel:focus-visible { outline-offset: 6px; border-radius: 8px; }

  /* balance */
  .dd-dash-balance { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 1024px) { .dd-dash-balance { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
  .dd-dash-hero { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 6px;
    background: radial-gradient(140% 120% at 0% 0%, rgba(255,111,97,0.16), transparent 60%), var(--dd-surface-2); }
  .dd-dash-hero p { margin: 0; }
  .dd-dash-big { font-family: var(--dd-font-display) !important; font-weight: 800; font-size: clamp(40px, 6vw, 68px); line-height: 1.05; letter-spacing: -0.03em; overflow-wrap: anywhere; }
  .dd-dash-bal-sub { color: var(--dd-text-2); font-size: 14px; }
  .dd-dash-warn { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 0; color: #FFC46B; font-size: 14px; }
  .dd-dash-warn svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
  .dd-dash-storage { margin-top: 20px; padding: clamp(20px, 3vw, 32px); }
  .dd-dash-storage > p { margin: 12px 0 0; }
  .dd-dash-storage-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-start; justify-content: space-between; }
  .dd-dash-storage-text { min-width: 0; flex: 1 1 260px; }
  .dd-dash-storage-price { margin: 6px 0 0; font-size: 15px; font-weight: 600; color: var(--dd-text); }
  .dd-dash-storage-rub { margin-inline-start: 8px; font-weight: 400; color: var(--dd-text-3); }
  .dd-dash-storage-switch { font-size: 14px; font-weight: 600; }
  .dd-dash-storage .dd-dash-stats { max-width: 520px; }
  .dd-dash-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0 4px; }
  .dd-dash-stats > div { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--dd-hairline); min-width: 0; }
  .dd-dash-stats dt { font-size: 12px; color: var(--dd-text-3); }
  .dd-dash-stats dd { margin: 4px 0 0; font-weight: 700; font-size: 18px; }
  .dd-dash-facts { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 13px; color: var(--dd-text-3); }
  .dd-dash-facts li { padding-inline-start: 14px; position: relative; }
  .dd-dash-facts li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--dd-coral); }
  .dd-dash-facts [data-dash-rub-rate] { margin-inline-start: 6px; }

  .dd-dash-topup { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
  .dd-dash-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
  .dd-dash-fieldset legend { padding: 0; margin-bottom: 8px; }
  .dd-dash-seg { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
  .dd-dash-seg-stack { grid-template-columns: minmax(0, 1fr); }
  .dd-dash-seg-opt, .dd-dash-pack { position: relative; display: block; cursor: pointer; min-width: 0; }
  .dd-dash-seg-opt input, .dd-dash-pack input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .dd-dash-seg-opt > span { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--dd-control); background: rgba(255,255,255,0.03);
    transition: border-color var(--dd-t-hover) var(--dd-ease), background var(--dd-t-hover) var(--dd-ease); }
  .dd-dash-seg-opt strong { font-size: 14px; }
  .dd-dash-seg-opt small { font-size: 12px; color: var(--dd-text-3); overflow-wrap: anywhere; }
  .dd-dash-seg-opt:hover > span, .dd-dash-pack:hover .dd-dash-pack-in { border-color: var(--dd-control-hover); }
  .dd-dash-seg-opt input:checked + span, .dd-dash-pack input:checked + .dd-dash-pack-in { border-color: var(--dd-violet-border); background: var(--dd-violet-tint); }
  .dd-dash-seg-opt input:focus-visible + span, .dd-dash-pack input:focus-visible + .dd-dash-pack-in { outline: 2px solid var(--dd-violet); outline-offset: 2px; }
  .dd-dash-seg-opt input:disabled + span { opacity: 0.45; cursor: not-allowed; }
  .dd-dash-packs { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr)); }
  .dd-dash-pack-in { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 92px; justify-content: center; padding: 14px; box-sizing: border-box;
    border-radius: 14px; border: 1px solid var(--dd-control); background: rgba(255,255,255,0.03); transition: border-color var(--dd-t-hover) var(--dd-ease), background var(--dd-t-hover) var(--dd-ease); }
  .dd-dash-pack-price { font: 800 22px/1.1 var(--dd-font-display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
  .dd-dash-pack-price svg { width: 22px; height: 22px; color: var(--dd-text-2); }
  .dd-dash-pack-credits { font-size: 12px; color: var(--dd-text-3); }
  .dd-dash-pack-pop { position: absolute; top: -9px; inset-inline-end: 10px; }
  .dd-dash-pack-custom { grid-column: 1 / -1; }
  .dd-dash-pack-custom .dd-dash-pack-in { min-height: 52px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; }
  .dd-dash-pack-custom .dd-dash-pack-price svg { width: 18px; height: 18px; display: block; }
  .dd-dash-pack-custom .dd-dash-pack-credits { font-size: 14px; color: var(--dd-text-2); }
  .dd-dash-amount { position: relative; }
  .dd-dash-amount-sym { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--dd-text-3); font-weight: 600; pointer-events: none; }
  .dd-dash-amount .dd-control { padding-inline-start: 34px; min-height: 48px; font-size: 18px; }
  .dd-dash-get { margin: 0; font-weight: 700; color: var(--dd-coral-text); min-height: 1.5em; }
  .dd-dash-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--dd-text-2); cursor: pointer; }
  .dd-dash-consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--dd-coral); flex: none; }
  .dd-dash-consent a { color: var(--dd-coral-text); }
  .dd-dash-pay { width: 100%; }
  .dd-dash-secure { display: flex; gap: 6px; align-items: center; justify-content: center; margin: 0; text-align: center; }
  .dd-dash-secure svg { width: 14px; height: 14px; flex: none; }
  .dd-dash-error { margin: 0; color: #FF8A80; font-size: 13px; }

  /* keys */
  .dd-dash-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
  .dd-dash-bar h2 { display: flex; align-items: center; gap: 10px; }
  .dd-dash-switch { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--dd-text-2); cursor: pointer; position: relative; min-height: 32px; }
  .dd-dash-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .dd-dash-switch-track { width: 36px; height: 20px; flex: none; border-radius: 999px; background: rgba(255,255,255,0.14); position: relative; transition: background var(--dd-t-hover) var(--dd-ease); }
  .dd-dash-switch-track::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform var(--dd-t-hover) var(--dd-ease); }
  .dd-dash-switch input:checked + .dd-dash-switch-track { background: var(--dd-violet); }
  .dd-dash-switch input:checked + .dd-dash-switch-track::after { transform: translateX(16px); }
  [dir="rtl"] .dd-dash-switch input:checked + .dd-dash-switch-track::after { transform: translateX(-16px); }
  .dd-dash-back-ico { width: 16px; height: 16px; transform: scaleX(-1); }
  [dir="rtl"] .dd-dash-back-ico { transform: none; }
  .dd-dash-switch input:focus-visible + .dd-dash-switch-track { outline: 2px solid var(--dd-violet); outline-offset: 2px; }
  .dd-dash-form { padding: clamp(16px, 2.4vw, 24px); margin-bottom: 18px; display: flex; flex-direction: column; gap: 16px; }
  .dd-dash-form-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 760px) { .dd-dash-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .dd-dash-form p { margin: 0; }
  .dd-dash-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
  .dd-dash-btn-danger { border-color: rgba(255,59,48,0.55) !important; background: rgba(255,59,48,0.14) !important; }
  .dd-dash-btn-danger:hover { background: rgba(255,59,48,0.24) !important; }

  .dd-dash-reveal { margin-bottom: 18px; padding: clamp(16px, 2.4vw, 24px); border-radius: var(--dd-r-card); border: 1px solid var(--dd-coral-border);
    background: linear-gradient(180deg, rgba(255,111,97,0.12), rgba(255,111,97,0.04)); display: flex; flex-direction: column; gap: 14px; }
  .dd-dash-reveal-head { display: flex; gap: 12px; align-items: flex-start; }
  .dd-dash-reveal-head > svg { width: 24px; height: 24px; flex: none; color: var(--dd-coral-text); margin-top: 2px; }
  .dd-dash-reveal-head p { margin: 4px 0 0; }
  .dd-dash-secret { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 12px; background: var(--dd-surface-1); border: 1px solid var(--dd-control); min-width: 0; }
  .dd-dash-secret-code { flex: 1; min-width: 0; font-size: 13px !important; color: #fff !important; background: none !important; border: 0 !important; padding: 0 !important; overflow-wrap: anywhere; user-select: all; }

  .dd-dash-keys { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 760px) { .dd-dash-keys { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .dd-dash-key { display: flex; flex-direction: column; gap: 14px; padding: 18px; }
  .dd-dash-key.dd-is-off { opacity: 0.62; }
  .dd-dash-key-head { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
  .dd-dash-key-head > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
  .dd-dash-key-name { margin: 0; font: 700 16px/1.3 var(--dd-font-body); overflow-wrap: anywhere; }
  .dd-dash-key-prefix { font: 12px/1.4 var(--dd-font-mono); color: var(--dd-text-3); }
  .dd-dash-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font: 600 11px/1.4 var(--dd-font-body); white-space: nowrap;
    border: 1px solid var(--dd-hairline); color: var(--dd-text-2); }
  .dd-dash-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
  .dd-dash-status[data-s="active"] { color: #7EE2A0; border-color: rgba(52,199,89,0.4); background: rgba(52,199,89,0.08); }
  .dd-dash-status[data-s="expired"] { color: #FFC46B; border-color: rgba(255,149,0,0.4); }
  .dd-dash-status[data-s="revoked"] { color: #FF8A80; border-color: rgba(255,59,48,0.4); }
  .dd-dash-key dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
  .dd-dash-key dt { font-size: 12px; color: var(--dd-text-3); }
  .dd-dash-key dd { margin: 2px 0 0; font-size: 13px; overflow-wrap: anywhere; }
  .dd-dash-meter { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; margin-top: 6px; }
  .dd-dash-meter i { display: block; height: 100%; border-radius: inherit; background: var(--dd-cta); }
  .dd-dash-meter[data-hot] i { background: linear-gradient(90deg, #FF9500, #FF3B30); }
  .dd-dash-key-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
  .dd-dash-edit { padding: 14px 0 0; margin: 0; border-top: 1px solid var(--dd-hairline); }
  .dd-dash-edit-title { margin: 0; font-size: 14px; }
  .dd-dash-empty { display: flex; gap: 10px; align-items: center; padding: 24px; margin: 0; border-radius: var(--dd-r-card); border: 1px dashed var(--dd-control-strong); color: var(--dd-text-3); }
  .dd-dash-empty svg { width: 20px; height: 20px; flex: none; }

  /* usage */
  .dd-dash-tiles { margin: 0 0 18px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
  .dd-dash-tiles > div { padding: 18px; }
  .dd-dash-tiles dt { font-size: 12px; color: var(--dd-text-3); }
  .dd-dash-tiles dd { margin: 6px 0 0; font: 800 26px/1.1 var(--dd-font-display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
  .dd-dash-tiles .dd-dash-tile-sub { margin-top: 4px; font: 500 12px/1.3 var(--dd-font-mono); color: var(--dd-text-3); letter-spacing: 0; }
  .dd-dash-perkey { margin-bottom: 18px; display: flex; flex-direction: column; gap: 14px; }
  .dd-dash-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
  .dd-dash-bars li { display: grid; gap: 6px; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; }
  .dd-dash-bars .dd-dash-bar-name { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dd-dash-bars .dd-dash-bar-val { font: 600 13px/1.3 var(--dd-font-mono); color: var(--dd-coral-text); }
  .dd-dash-bars .dd-dash-bar-sub { grid-column: 1 / -1; font-size: 12px; color: var(--dd-text-3); }
  .dd-dash-bars .dd-dash-meter { grid-column: 1 / -1; margin: 0; height: 8px; }
  .dd-dash-history { overflow: hidden; }
  .dd-dash-history-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 18px; border-bottom: 1px solid var(--dd-hairline); }
  .dd-dash-history-head h2 { margin-inline-end: auto; }
  .dd-dash-history-tools { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; align-items: center; }
  .dd-dash-search { position: relative; flex: 1 1 220px; min-width: 0; }
  .dd-dash-search svg { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--dd-text-3); }
  .dd-dash-search .dd-control { padding-inline-start: 36px; }
  .dd-dash-table-wrap { overflow-x: auto; }
  .dd-dash-table { width: 100%; border-collapse: collapse; font-size: 13px; }
  .dd-dash-table th { text-align: start; font-weight: 600; font-size: 12px; color: var(--dd-text-3); padding: 10px 18px; border-bottom: 1px solid var(--dd-hairline); white-space: nowrap; }
  .dd-dash-table td { padding: 12px 18px; border-bottom: 1px solid var(--dd-hairline); vertical-align: top; }
  .dd-dash-table tr:last-child td { border-bottom: 0; }
  .dd-dash-table .dd-dash-num { text-align: end; white-space: nowrap; font-family: var(--dd-font-mono); }
  .dd-dash-table td.dd-dash-date { white-space: nowrap; color: var(--dd-text-2); }
  .dd-dash-amt-pos { color: #7EE2A0; }
  .dd-dash-amt-neg { color: var(--dd-text); }
  .dd-dash-amt-sub { display: block; font-size: 11px; color: var(--dd-text-3); }
  .dd-dash-detail { display: flex; flex-direction: column; gap: 3px; min-width: 180px; }
  .dd-dash-detail code { font-size: 11px !important; }
  .dd-dash-detail a { text-decoration: none; }
  .dd-dash-reqcopy { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--dd-text-3); font: 11px/1.4 var(--dd-font-mono); cursor: pointer; text-align: start; }
  .dd-dash-reqcopy svg { width: 13px; height: 13px; }
  .dd-dash-reqcopy:hover { color: #fff; }
  .dd-dash-kind { display: inline-flex; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; border: 1px solid var(--dd-hairline); background: rgba(255,255,255,0.05); white-space: nowrap; }
  .dd-dash-kind[data-k="topup"], .dd-dash-kind[data-k="refund"], .dd-dash-kind[data-k="bonus"] { color: #7EE2A0; border-color: rgba(52,199,89,0.35); }
  .dd-dash-history .dd-dash-empty { margin: 18px; }
  .dd-dash-more { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 14px; }
  .dd-dash-more:empty { display: none; }

  /* connect */
  .dd-dash-connect { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 1024px) { .dd-dash-connect { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: start; } }
  .dd-dash-connect-main, .dd-dash-connect-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
  .dd-dash-connect-main p, .dd-dash-connect-side p { margin: 0; }
  .dd-dash-connect h3 { margin: 0; }
  .dd-dash-files code { font-size: 11px !important; }
  .dd-dash-tip { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--dd-text-2); margin-bottom: 14px !important; }
  .dd-dash-tip svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--dd-coral-text); }
  .dd-dash-connect-side .dd-dash-actions { justify-content: flex-start; }
  .dd-dash-prompt { display: flex; flex-direction: column; gap: 8px; }
  .dd-dash-promptbox { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 14px; background: var(--dd-surface-1); border: 1px solid rgba(255,255,255,0.09); }
  .dd-dash-prompt-text { font: 12px/1.6 var(--dd-font-mono); color: var(--dd-text-2); overflow-wrap: anywhere; }

  /* confirm dialog */
  .dd-dash-dialog { padding: 0; border: 1px solid var(--dd-hairline); border-radius: var(--dd-r-panel); background: var(--dd-surface-2); color: var(--dd-text);
    box-shadow: var(--dd-shadow-modal); width: min(440px, calc(100vw - 32px)); }
  .dd-dash-dialog::backdrop { background: rgba(5,4,8,0.72); }
  .dd-dash-dialog-in { padding: 24px; display: flex; flex-direction: column; gap: 12px; margin: 0; }
  .dd-dash-dialog-in p { margin: 0; }

  @media (max-width: 560px) {
    .dd-dash-tab span { font-size: 13px; }
    .dd-dash-tab { padding: 0 12px; }
    .dd-dash-key dl { grid-template-columns: minmax(0, 1fr); }
    .dd-dash-secret { flex-wrap: wrap; }
    .dd-dash-actions { justify-content: stretch; }
    .dd-dash-actions .dd-btn { flex: 1 1 auto; }
  }
  @media (prefers-reduced-motion: reduce) { .dd-dash-spinner { animation: none; } }