:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f4f5fb;
  background: #0a0c12;
  font-synthesis: none;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --surface: #11141d;
  --surface-raised: #171a25;
  --line: rgba(255, 255, 255, .08);
  --muted: #9198a9;
  --accent: #9094ff;
  --accent-strong: #7379fa;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 75% 14%, rgba(87, 91, 214, .15), transparent 30rem),
    radial-gradient(ellipse at 12% 65%, rgba(51, 61, 120, .09), transparent 34rem),
    #0a0c12;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 76%);
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
.shell { max-width: 1180px; margin: 0 auto; padding: 0 34px; }
.topbar {
  display: flex;
  height: 82px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .065);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid rgba(145, 149, 255, .26); border-radius: 11px; color: #a4a8ff; background: linear-gradient(145deg, rgba(114, 120, 255, .2), rgba(114, 120, 255, .04)); }
.brand-mark svg { width: 21px; height: 21px; }
.brand-name { font-size: 16px; font-weight: 780; letter-spacing: -.5px; }
.brand-name > span { color: #a2a5ff; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.secure-label { display: inline-flex; align-items: center; gap: 8px; color: #a1a7b6; font-size: 11px; font-weight: 570; }
.status-dot, .caption-dot { width: 7px; height: 7px; border-radius: 50%; background: #67d6a5; box-shadow: 0 0 12px rgba(103, 214, 165, .62); }
.hero { padding: 92px 0 58px; }
.loading-state { display: flex; min-height: calc(100vh - 155px); align-items: center; justify-content: center; gap: 12px; color: #9ba2b4; font-size: 12px; }
.loading-spinner { width: 18px; height: 18px; border: 2px solid rgba(148, 153, 255, .18); border-top-color: #9b9fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-grid { display: grid; min-height: 390px; align-items: center; grid-template-columns: 1.03fr .97fr; gap: 58px; }
.hero-copy { padding: 5px 0 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #a6a8ff; font-size: 10px; font-weight: 800; letter-spacing: 1.8px; }
.eyebrow-line { display: inline-block; width: 19px; height: 1px; background: #858aff; }
h1 { margin: 22px 0 20px; font-size: clamp(42px, 5.3vw, 65px); font-weight: 730; line-height: 1.045; letter-spacing: -3.2px; }
.hero h1 span { color: #979bff; }
.hero-description { max-width: 480px; margin: 0 0 28px; color: #a5abba; font-size: 15px; line-height: 1.8; }
.privacy-consent { display: flex; max-width: 480px; align-items: flex-start; gap: 10px; margin: -8px 0 16px; padding: 12px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 9px; color: #9299ab; background: rgba(255, 255, 255, .025); font-size: 10px; line-height: 1.6; cursor: pointer; }
.privacy-consent input { width: 15px; height: 15px; flex: 0 0 15px; margin: 2px 0 0; accent-color: #858aff; }
.verify-consent-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; }
.verify-consent-panel { width: min(100%, 650px); }
.verify-consent-panel h1 { margin: 14px 0; font-size: 28px; letter-spacing: -.7px; }
.verify-consent-panel p { color: #a4abbb; font-size: 13px; line-height: 1.7; }
.verify-consent-panel form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 9px; padding: 0 15px; border: 1px solid transparent; border-radius: 9px; font-size: 12px; font-weight: 720; cursor: pointer; transition: background .18s, border-color .18s, box-shadow .18s, transform .18s; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .control:focus-visible { outline: 2px solid #aeb1ff; outline-offset: 3px; }
.button-primary { color: #fff; background: linear-gradient(110deg, #7076f2, #6269e4); box-shadow: 0 8px 24px rgba(88, 97, 234, .2), inset 0 1px rgba(255, 255, 255, .18); }
.button-primary:hover { background: linear-gradient(110deg, #8187ff, #7077f0); box-shadow: 0 11px 30px rgba(88, 97, 234, .3); }
.button-primary svg { width: 17px; height: 17px; }
.button-large { min-height: 48px; padding: 0 17px; font-size: 13px; }
.button-arrow { margin-left: 9px; font-size: 17px; font-weight: 400; }
.button-secondary { color: #d7d9ff; border-color: rgba(135, 140, 255, .18); background: rgba(105, 110, 211, .11); }
.button-secondary:hover { border-color: rgba(135, 140, 255, .36); background: rgba(105, 110, 211, .18); }
.button-quiet { color: #c5c9d6; border-color: var(--line); background: rgba(255, 255, 255, .035); }
.button-quiet:hover { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); }
.privacy-note { display: flex; align-items: center; gap: 9px; margin-top: 21px; color: #80889b; font-size: 10px; }
.privacy-note i, footer i { display: inline-block; width: 3px; height: 3px; margin: 0 6px 2px; border-radius: 50%; background: #72798a; }
.privacy-icon { display: grid; width: 17px; height: 17px; place-items: center; border: 1px solid rgba(92, 207, 151, .35); border-radius: 50%; color: #75daa9; font-size: 10px; }
.preview-message { max-width: 465px; margin-top: 18px; padding: 11px 13px; border: 1px solid rgba(255, 191, 108, .22); border-radius: 9px; color: #f1c888; background: rgba(180, 122, 39, .09); font-size: 12px; line-height: 1.55; }
.hero-art { position: relative; display: grid; min-height: 390px; place-items: center; }
.glow { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.glow-one { top: 12%; right: 12%; width: 170px; height: 170px; background: rgba(99, 101, 240, .13); filter: blur(44px); }
.glow-two { bottom: 8%; left: 10%; width: 120px; height: 120px; background: rgba(76, 182, 199, .08); filter: blur(38px); }
.preview-card { position: relative; width: min(100%, 440px); padding: 16px 16px 13px; border: 1px solid rgba(255, 255, 255, .105); border-radius: 16px; background: linear-gradient(145deg, rgba(28, 31, 45, .97), rgba(18, 20, 30, .98)); box-shadow: 0 32px 85px rgba(0, 0, 0, .4), 0 0 60px rgba(84, 88, 211, .09), inset 0 1px rgba(255, 255, 255, .06); transform: rotate(1deg); }
.preview-card-top { display: flex; align-items: center; gap: 10px; padding: 0 3px 15px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.preview-logo { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(146, 151, 255, .2); border-radius: 9px; color: #b7baff; background: rgba(118, 124, 255, .13); font-size: 20px; }
.preview-card-top b { display: block; color: #e7e9f2; font-size: 10px; font-weight: 690; }
.preview-card-top small { display: block; margin-top: 3px; color: #737b8f; font-size: 7px; font-weight: 720; letter-spacing: .9px; }
.preview-menu { margin-left: auto; color: #8a91a2; font-size: 11px; letter-spacing: 2px; }
.discord-message { display: flex; gap: 11px; padding: 18px 4px 11px; }
.bot-avatar { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; border-radius: 50%; color: #b3b6ff; background: linear-gradient(145deg, #555bc0, #31365d); }
.bot-avatar svg { width: 19px; height: 19px; }
.message-content { min-width: 0; flex: 1; }
.message-author { display: flex; align-items: center; gap: 6px; margin: 1px 0 9px; color: #e3e5ee; font-size: 9px; font-weight: 700; }
.message-author > span { padding: 2px 3px; border-radius: 3px; color: white; background: #6269e8; font-size: 6px; letter-spacing: .4px; }
.message-author time { margin-left: 2px; color: #737b8c; font-size: 8px; font-weight: 450; }
.embed-preview { padding: 14px 14px 13px; border-left: 2px solid #7d82fc; border-radius: 0 7px 7px 0; background: rgba(7, 9, 15, .55); }
.embed-title { margin-bottom: 6px; color: #f1f2f7; font-size: 11px; font-weight: 720; }
.embed-preview p { max-width: 290px; margin: 0; color: #a5abba; font-size: 9px; line-height: 1.65; }
.fake-verify { display: inline-flex; min-height: 30px; align-items: center; margin-top: 14px; padding: 0 11px; border: 1px solid rgba(168, 172, 255, .18); border-radius: 6px; color: #f3f3ff; background: #6269df; box-shadow: 0 4px 12px rgba(82, 88, 218, .19); font-size: 8px; font-weight: 700; }
.floating-badge { position: absolute; right: -15px; bottom: 72px; display: flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 11px; background: rgba(29, 34, 44, .96); box-shadow: 0 14px 35px rgba(0, 0, 0, .34); transform: rotate(-1deg); }
.floating-badge > span { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; color: #9af0c1; background: rgba(75, 181, 125, .16); font-size: 12px; }
.floating-badge b, .floating-badge small { display: block; }
.floating-badge b { color: #e2e8e7; font-size: 9px; }
.floating-badge small { margin-top: 3px; color: #849092; font-size: 8px; }
.preview-caption { display: flex; align-items: center; gap: 7px; padding: 12px 4px 0; color: #727a8c; font-size: 8px; letter-spacing: .1px; }
.caption-dot { width: 5px; height: 5px; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 42px; padding: 24px 0 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.feature { display: flex; align-items: center; gap: 12px; padding: 0 24px; border-right: 1px solid rgba(255, 255, 255, .075); }
.feature:first-child { padding-left: 0; }
.feature:last-child { border-right: 0; }
.feature-icon { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border: 1px solid rgba(147, 151, 255, .19); border-radius: 9px; color: #aeb1ff; background: rgba(119, 124, 245, .08); font-size: 9px; font-weight: 750; }
.feature b, .feature small { display: block; }
.feature b { color: #d9dce6; font-size: 10px; font-weight: 690; }
.feature small { margin-top: 5px; color: #7e8698; font-size: 9px; }
.dashboard { max-width: 1120px; min-height: calc(100vh - 154px); margin: 0 auto; padding: 65px 0 75px; }
.dashboard-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.dashboard-heading h1 { margin: 13px 0 8px; font-size: 42px; letter-spacing: -1.8px; }
.muted { margin: 0; color: #a3aabc; font-size: 14px; }
.add-icon { font-size: 17px; font-weight: 400; }
.dashboard-navigation { margin: 0 0 17px; padding: 0 0 13px; border-bottom: 1px solid rgba(255, 255, 255, .075); }
.dashboard-tabs { display: flex; align-items: center; gap: 7px; }
.dashboard-tab { display: inline-flex; min-height: 39px; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid transparent; border-radius: 8px; color: #9299ab; background: transparent; font-size: 11px; font-weight: 650; cursor: pointer; transition: color .18s, border-color .18s, background .18s; }
.dashboard-tab:hover { color: #d7d9e5; background: rgba(255, 255, 255, .035); }
.dashboard-tab[aria-selected="true"] { color: #dcdfff; border-color: rgba(145, 149, 255, .2); background: rgba(119, 124, 245, .1); }
.dashboard-tab:focus-visible { outline: 2px solid #aeb1ff; outline-offset: 3px; }
.dashboard-tab svg { width: 16px; height: 16px; }
.tab-count { display: inline-grid; min-width: 20px; height: 19px; padding: 0 5px; place-items: center; border-radius: 6px; color: #aeb2c2; background: rgba(255, 255, 255, .07); font-size: 9px; }
.dashboard-tab[aria-selected="true"] .tab-count { color: #c3c5ff; background: rgba(145, 149, 255, .15); }
.tab-description { margin: 9px 0 0; color: #858da0; font-size: 10px; line-height: 1.5; }
.tab-panel:focus-visible { outline: 2px solid rgba(145, 149, 255, .55); outline-offset: 4px; }
.setup-wizard { margin-bottom: 22px; padding: 18px; border: 1px solid rgba(145, 149, 255, .16); border-radius: 12px; background: linear-gradient(145deg, rgba(119, 124, 245, .075), rgba(255, 255, 255, .012)); }
.setup-wizard-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.setup-wizard-heading h2 { margin: 8px 0 0; color: #e8eaf2; font-size: 15px; letter-spacing: -.3px; }
.wizard-progress-label { color: #aeb2ff; font-size: 9px; font-weight: 650; white-space: nowrap; }
.wizard-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; margin: 17px 0 0; padding: 0; list-style: none; }
.wizard-step-button { display: flex; width: 100%; min-height: 48px; align-items: center; gap: 7px; padding: 7px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 8px; color: #8e96a9; background: rgba(0, 0, 0, .13); text-align: left; cursor: pointer; }
.wizard-step-button:hover:not(:disabled) { border-color: rgba(145, 149, 255, .28); }
.wizard-step-button[data-state="current"] { border-color: rgba(145, 149, 255, .45); color: #e1e3ff; background: rgba(119, 124, 245, .12); }
.wizard-step-button[data-state="complete"] .wizard-step-number { color: #9af0c1; border-color: rgba(103, 214, 165, .3); background: rgba(103, 214, 165, .09); }
.wizard-step-button:disabled { opacity: .48; cursor: not-allowed; }
.wizard-step-button:focus-visible { outline: 2px solid #aeb1ff; outline-offset: 2px; }
.wizard-step-number { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border: 1px solid rgba(255, 255, 255, .11); border-radius: 7px; color: #aeb2c2; font-size: 9px; font-weight: 800; }
.wizard-step-button b, .wizard-step-button small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wizard-step-button b { color: inherit; font-size: 8px; font-weight: 700; }
.wizard-step-button small { margin-top: 3px; color: #798194; font-size: 7px; }
.wizard-status { min-height: 14px; margin: 11px 0 0; color: #959daf; font-size: 9px; }
.wizard-navigation { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; }
.wizard-navigation .button { min-height: 34px; font-size: 9px; }
.wizard-navigation .button:disabled { cursor: not-allowed; }
.wizard-content { min-height: 70px; }
.setup-instructions { display: grid; gap: 7px; margin: 14px 0; padding-left: 20px; color: #a1a8b8; font-size: 10px; line-height: 1.55; }
.setup-instructions a { color: #b4b8ff; text-decoration: underline; text-underline-offset: 2px; }
.wizard-status-card { margin: 20px 0 0 40px; padding: 15px; border: 1px solid rgba(103, 214, 165, .18); border-radius: 9px; background: rgba(103, 214, 165, .035); }
.wizard-status-card b { color: #dce5e2; font-size: 11px; }
.wizard-status-card p { margin: 6px 0 0; color: #939bad; font-size: 10px; line-height: 1.6; }
.wizard-status-card .button { margin-top: 12px; }
.wizard-help { margin: 14px 0 0 40px; color: #858da0; font-size: 9px; line-height: 1.6; }
.wizard-publish-card { border-color: rgba(145, 149, 255, .2); background: rgba(119, 124, 245, .04); }
.wizard-published-message { color: #9ae6b8 !important; }
.dashboard-grid { display: grid; align-items: start; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .75fr); gap: 18px; }
.panel { overflow: hidden; padding: 30px 32px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 17px; background: linear-gradient(145deg, rgba(23, 26, 38, .98), rgba(16, 18, 27, .98)); box-shadow: 0 20px 55px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .035); }
.panel-heading, .section-divider { display: flex; align-items: flex-start; gap: 13px; }
.step-number { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border: 1px solid rgba(144, 148, 255, .23); border-radius: 8px; color: #aaaefe; background: rgba(121, 126, 244, .1); font-size: 9px; font-weight: 800; }
.panel-heading h2, .section-divider h2 { margin: 2px 0 6px; color: #e9eaf1; font-size: 16px; font-weight: 720; letter-spacing: -.2px; }
.panel-heading p, .section-divider p { margin: 0; color: #9aa2b5; font-size: 12px; line-height: 1.65; }
.server-select-wrap { max-width: 480px; margin: 26px 0 0 40px; }
.field-label { display: block; margin: 0 0 8px; color: #d3d7e3; font-size: 12px; font-weight: 690; }
.select-frame { position: relative; display: flex; align-items: center; }
.control { width: 100%; min-height: 45px; padding: 0 37px 0 37px; appearance: none; color: #e8eaf2; border: 1px solid rgba(255, 255, 255, .12); border-radius: 9px; outline: none; background: #12151e; font-size: 12px; transition: border-color .18s, background .18s; }
.control:hover { border-color: rgba(255, 255, 255, .17); }
.control:focus { border-color: rgba(145, 149, 255, .62); background: #151823; }
.control option { color: #eceef6; background: #171a24; }
.server-select-icon, .channel-hash, .role-dot, .select-chevron { position: absolute; z-index: 1; pointer-events: none; }
.server-select-icon { left: 13px; color: #999eff; font-size: 11px; }
.channel-hash { left: 13px; color: #858d9f; font-size: 15px; }
.role-dot { left: 14px; width: 9px; height: 9px; border-radius: 50%; background: #9196ff; box-shadow: 0 0 10px rgba(145, 150, 255, .45); }
.select-chevron { right: 13px; top: 10px; color: #81899a; font-size: 14px; }
.invite { display: flex; align-items: center; gap: 13px; margin: 22px 0 0 40px; padding: 15px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; background: rgba(255, 255, 255, .025); }
.invite-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border: 1px solid rgba(144, 148, 255, .2); border-radius: 10px; color: #a9adff; background: rgba(114, 120, 240, .1); font-size: 18px; }
.invite-copy { flex: 1; }
.invite-copy b { display: block; color: #e5e7ee; font-size: 11px; }
.invite-copy p { margin: 5px 0 0; color: #8c94a7; font-size: 10px; }
.bot-setup { margin: 25px 0 0 40px; padding-top: 23px; border-top: 1px solid rgba(255, 255, 255, .07); }
.bot-credentials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 18px; }
.bot-credentials-grid .control { padding: 0 11px; }
.bot-secret-card { grid-column: 1 / -1; }
.bot-setup-note { margin: 15px 0 7px; color: #9aa2b5; font-size: 10px; line-height: 1.6; }
.callback-uri { display: block; overflow-wrap: anywhere; padding: 9px 11px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 7px; color: #b7baff; background: rgba(0, 0, 0, .18); font-size: 10px; }
.bot-setup .actions { margin: 16px 0 0; }
.server-panel > #change-bot, .server-panel > #remove-bot { margin: 20px 8px 0 40px; }
.empty-state { display: grid; justify-items: center; margin: 23px 0 0 40px; padding: 25px 18px; border: 1px dashed rgba(255, 255, 255, .1); border-radius: 10px; text-align: center; background: rgba(255, 255, 255, .015); }
.empty-icon { display: grid; width: 34px; height: 34px; margin-bottom: 11px; place-items: center; border: 1px solid rgba(145, 149, 255, .2); border-radius: 11px; color: #a7abff; background: rgba(114, 120, 240, .08); font-size: 20px; }
.empty-state b { color: #dfe1ea; font-size: 11px; }
.empty-state p { max-width: 265px; margin: 7px 0 0; color: #868ea1; font-size: 10px; line-height: 1.6; }
.dashboard-aside { display: grid; gap: 13px; }
.side-card { padding: 20px; border: 1px solid rgba(255, 255, 255, .095); border-radius: 15px; background: linear-gradient(145deg, rgba(23, 26, 38, .97), rgba(16, 18, 27, .98)); box-shadow: 0 15px 40px rgba(0, 0, 0, .17); }
.side-card-heading { display: flex; align-items: center; justify-content: space-between; color: #8c94a8; font-size: 8px; font-weight: 800; letter-spacing: 1.1px; }
.status-pulse { width: 6px; height: 6px; border-radius: 50%; background: #8086f2; box-shadow: 0 0 9px rgba(128, 134, 242, .55); }
.status-summary { display: flex; align-items: center; gap: 10px; margin: 19px 0 17px; }
.setup-indicator { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #9096a8; box-shadow: 0 0 10px rgba(144, 150, 168, .18); }
.setup-indicator[data-state="ready"] { background: #66d6a1; box-shadow: 0 0 11px rgba(102, 214, 161, .45); }
.setup-indicator[data-state="missing"], .setup-indicator[data-state="setup"], .setup-indicator[data-state="unsaved"] { background: #edbd6c; box-shadow: 0 0 10px rgba(237, 189, 108, .35); }
.setup-indicator[data-state="error"] { background: #f27b8b; box-shadow: 0 0 10px rgba(242, 123, 139, .35); }
.setup-indicator[data-state="loading"] { background: #9298ff; animation: pulse 1s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: .35; } }
.status-summary b { display: block; color: #e4e6ef; font-size: 11px; font-weight: 700; }
.status-summary p { margin: 4px 0 0; color: #858da0; font-size: 9px; line-height: 1.5; }
.summary-list { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .065); }
.summary-list > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; }
.summary-list span { color: #7f8799; font-size: 9px; }
.summary-list b { overflow: hidden; max-width: 62%; color: #cbd0dc; font-size: 9px; font-weight: 600; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.preview-live { display: inline-flex; align-items: center; gap: 5px; color: #7bd5a5; font-size: 7px; letter-spacing: .6px; }
.preview-live i { width: 5px; height: 5px; border-radius: 50%; background: #71d6a3; }
.mini-discord { display: flex; gap: 9px; margin-top: 15px; }
.mini-bot-avatar { display: grid; width: 25px; height: 25px; flex: 0 0 25px; place-items: center; border-radius: 50%; color: #c4c6ff; background: linear-gradient(145deg, #555bc0, #31365d); font-size: 11px; }
.mini-message { min-width: 0; flex: 1; }
.mini-author { display: flex; align-items: center; gap: 5px; margin: 2px 0 7px; color: #dfe1e9; font-size: 9px; font-weight: 700; }
.mini-author span { padding: 2px 3px; border-radius: 3px; color: white; background: #6269e8; font-size: 6px; letter-spacing: .3px; }
.mini-embed { padding: 11px; border-left: 2px solid #7d82fc; border-radius: 0 6px 6px 0; background: rgba(7, 9, 15, .55); }
.mini-embed b { color: #e9eaf2; font-size: 9px; }
.mini-embed p { margin: 5px 0 9px; color: #969daf; font-size: 8px; line-height: 1.5; }
.mini-button { display: inline-flex; min-height: 25px; align-items: center; padding: 0 8px; border-radius: 5px; color: #fff; background: #6269df; font-size: 7px; font-weight: 700; }
.mini-message > small { display: block; overflow: hidden; margin-top: 9px; color: #727a8d; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.preview-footer { display: block; overflow-wrap: anywhere; padding-top: 7px; border-top: 1px solid rgba(255, 255, 255, .06); color: #7e8699 !important; font-size: 7px !important; }
.privacy-card { display: flex; align-items: flex-start; gap: 9px; padding: 12px; border: 1px solid rgba(119, 124, 245, .12); border-radius: 10px; background: rgba(113, 119, 238, .055); }
.privacy-card > span { color: #a8adff; font-size: 13px; }
.privacy-card p { margin: 0; color: #9097a9; font-size: 9px; line-height: 1.55; }
.privacy-card b { color: #d3d5e0; font-weight: 650; }
.settings-form { margin-top: 31px; padding-top: 27px; border-top: 1px solid rgba(255, 255, 255, .07); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 21px 0 0 40px; }
.field-card { padding: 15px; border: 1px solid rgba(255, 255, 255, .065); border-radius: 10px; background: rgba(255, 255, 255, .018); }
.field-description { min-height: 16px; margin: -3px 0 12px; color: #969eb0; font-size: 10px; line-height: 1.5; }
.embed-section { margin: 25px 0 0 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .065); }
.embed-editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin: 18px 0 0 40px; }
.embed-editor-grid .control { padding: 0 11px; }
.embed-description-card { grid-column: 1 / -1; }
.textarea-control { min-height: 102px; padding: 10px 11px !important; resize: vertical; line-height: 1.55; }
.optional-label { margin-left: 5px; color: #7d8597; font-size: 9px; font-weight: 450; }
.color-control { display: flex; min-height: 43px; align-items: center; gap: 10px; color: #969daf; font-size: 10px; }
.color-control input { width: 35px; height: 33px; padding: 3px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 7px; background: #12151e; cursor: pointer; }
.character-count { display: block; margin-top: 5px; color: #71798c; font-size: 8px; text-align: right; }
.members-panel { margin-top: 16px; }
.analytics-panel { margin-top: 16px; }
.analytics-actions { display: flex; align-items: center; gap: 8px; }
.analytics-actions .button { min-height: 38px; font-size: 9px; }
.analytics-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 11px; }
.analytics-count-card { display: grid; min-height: 82px; align-content: space-between; gap: 10px; padding: 13px; border: 1px solid rgba(255, 255, 255, .075); border-radius: 9px; background: rgba(255, 255, 255, .02); }
.analytics-count-card span { color: #858da0; font-size: 8px; font-weight: 750; letter-spacing: .55px; line-height: 1.4; }
.analytics-count-card b { color: #e2e4ed; font-size: 22px; }
.analytics-count-card:nth-child(3) b { color: #f0c482; }
.analytics-count-card:nth-child(4) b { color: #a9b0c1; }
.analytics-tracking-note { margin: 0 0 15px; color: #7f8799; font-size: 9px; line-height: 1.6; }
.analytics-table { min-width: 720px; }
.analytics-presence { display: inline-flex; padding: 4px 7px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 6px; color: #aab1c1; background: rgba(255, 255, 255, .025); font-size: 8px; white-space: nowrap; }
.analytics-presence[data-state="present"] { color: #9ae6b8; border-color: rgba(103, 214, 165, .16); background: rgba(103, 214, 165, .045); }
.analytics-presence[data-state="absent"] { color: #f0c482; border-color: rgba(237, 189, 108, .18); background: rgba(237, 189, 108, .045); }
.analytics-presence[data-state="unknown"] { color: #a1a8b8; }
.pool-panel { margin-top: 16px; }
.pool-consent-note { display: flex; align-items: flex-start; gap: 11px; margin: 0 0 19px; padding: 14px; border: 1px solid rgba(145, 149, 255, .16); border-radius: 10px; color: #aeb2ff; background: rgba(119, 124, 245, .055); }
.pool-consent-note > span { flex: 0 0 auto; font-size: 15px; }
.pool-consent-note p { margin: 0; color: #a0a7b8; font-size: 10px; line-height: 1.65; }
.pool-consent-note b { color: #d7d9ff; }
.pool-server-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.pool-server-card { min-width: 0; padding: 16px; border: 1px solid rgba(255, 255, 255, .075); border-radius: 10px; background: rgba(255, 255, 255, .018); }
.pool-server-card h3, .pool-results-heading h3, .pool-links-results h3 { display: flex; align-items: center; gap: 8px; margin: 0; color: #e2e4ed; font-size: 12px; }
.pool-server-card > p, .pool-links-results > p { margin: 6px 0 12px; color: #8991a4; font-size: 9px; line-height: 1.5; }
.pool-selection-count { margin-left: auto; color: #9da4b6; font-size: 8px; font-weight: 500; }
.pool-server-list { display: grid; max-height: 230px; gap: 6px; overflow-y: auto; }
.pool-server-empty { margin: 0; padding: 10px; color: #7e8698; font-size: 9px; }
.pool-server-choice { display: flex; min-height: 42px; align-items: center; gap: 9px; padding: 7px 9px; border: 1px solid rgba(255, 255, 255, .055); border-radius: 7px; background: rgba(0, 0, 0, .12); cursor: pointer; }
.pool-server-choice:has(input:checked) { border-color: rgba(145, 149, 255, .32); background: rgba(119, 124, 245, .075); }
.pool-server-choice input { width: 14px; height: 14px; flex: 0 0 14px; accent-color: #858aff; }
.pool-server-choice input:disabled { cursor: not-allowed; }
.pool-server-choice-copy { min-width: 0; }
.pool-server-choice-copy b, .pool-server-choice-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pool-server-choice-copy b { color: #d9dce6; font-size: 9px; font-weight: 650; }
.pool-server-choice-copy small { margin-top: 3px; color: #7e8698; font-size: 8px; }
.pool-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 14px 0 17px; }
.pool-actions .button { font-size: 10px; }
.pool-results { margin-top: 18px; }
.pool-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pool-page-info { color: #81899b; font-size: 9px; }
.pool-table { min-width: 530px; }
.pool-links-results { margin-top: 22px; padding-top: 19px; border-top: 1px solid rgba(255, 255, 255, .07); }
.pool-links-results > p { margin: 7px 0 12px; }
.pool-links-list { display: grid; gap: 8px; }
.pool-link-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 8px; background: rgba(255, 255, 255, .018); }
.pool-link-details { display: grid; min-width: 0; gap: 5px; }
.pool-link-details b { color: #e0e3ec; font-size: 10px; }
.pool-link-details a { color: #adb1ff; font-size: 9px; }
.pool-link-details code { overflow-wrap: anywhere; color: #7f8799; font-size: 8px; }
.pool-copy-button { min-height: 33px; flex: 0 0 auto; font-size: 9px; }
.members-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.members-heading h2 { display: flex; align-items: center; gap: 9px; margin: 11px 0 5px; color: #e8eaf2; font-size: 19px; letter-spacing: -.5px; }
.members-heading p { margin: 0; color: #8991a4; font-size: 10px; }
.member-count { display: inline-grid; min-width: 24px; height: 21px; padding: 0 6px; place-items: center; border: 1px solid rgba(145, 149, 255, .18); border-radius: 7px; color: #b7baff; background: rgba(119, 124, 245, .09); font-size: 9px; letter-spacing: 0; }
.member-search { display: flex; width: min(100%, 260px); min-height: 38px; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 8px; color: #848c9f; background: #12151e; }
.member-search > span { font-size: 18px; line-height: 1; }
.member-search input { width: 100%; padding: 0; color: #e8eaf2; border: 0; outline: 0; background: transparent; font: inherit; font-size: 10px; }
.member-search input::placeholder { color: #737b8f; }
.member-search:focus-within { border-color: rgba(145, 149, 255, .55); }
.member-state { display: flex; min-height: 80px; align-items: center; justify-content: center; gap: 10px; padding: 20px; border: 1px dashed rgba(255, 255, 255, .09); border-radius: 9px; color: #8991a4; font-size: 10px; text-align: center; }
.member-state .loading-spinner { width: 15px; height: 15px; }
.members-table-wrap { overflow-x: auto; border: 1px solid rgba(255, 255, 255, .065); border-radius: 9px; }
.members-table { width: 100%; min-width: 590px; border-collapse: collapse; text-align: left; }
.members-table th { padding: 11px 13px; color: #7f8799; background: rgba(255, 255, 255, .025); font-size: 8px; font-weight: 750; letter-spacing: .7px; text-transform: uppercase; }
.members-table td { padding: 11px 13px; border-top: 1px solid rgba(255, 255, 255, .055); color: #aab1c1; font-size: 9px; }
.members-table tbody tr:hover { background: rgba(255, 255, 255, .018); }
.member-profile { display: flex; min-width: 170px; align-items: center; gap: 9px; }
.member-avatar, .member-avatar-fallback { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 50%; color: #c4c6ff; background: #34395f; font-size: 10px; font-weight: 700; }
.member-avatar { object-fit: cover; }
.member-identity { min-width: 0; }
.member-display-name, .member-username { display: block; overflow: hidden; max-width: 190px; text-overflow: ellipsis; white-space: nowrap; }
.member-display-name { color: #e0e3ec; font-size: 10px; font-weight: 650; }
.member-username { margin-top: 3px; color: #7e8698; font-size: 8px; }
.member-id { color: #9da5b5 !important; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px !important; }
.owner-panel { margin-top: 16px; }
.owner-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.owner-count-card { display: grid; gap: 8px; padding: 14px; border: 1px solid rgba(255, 255, 255, .075); border-radius: 9px; background: rgba(255, 255, 255, .02); }
.owner-count-card span { color: #7f8799; font-size: 8px; font-weight: 750; letter-spacing: .7px; }
.owner-count-card b { color: #dfe1ea; font-size: 21px; }
.owner-privacy-note { margin: 0 0 20px; color: #9299ab; font-size: 10px; line-height: 1.6; }
.owner-data-section { margin-top: 23px; }
.owner-data-section h3 { margin: 0 0 10px; color: #e0e3ec; font-size: 12px; }
.owner-table { min-width: 1220px; }
.owner-bot-cell b, .owner-bot-cell span { display: block; }
.owner-bot-cell b { margin-bottom: 5px; color: #e0e3ec; font-size: 10px; }
.owner-details-button { display: inline-flex; margin-top: 5px; padding: 0; color: #aeb2ff; border: 0; background: transparent; font-size: 8px; cursor: pointer; }
.owner-details-button:hover { color: #d3d5ff; text-decoration: underline; }
.member-detail-dialog { width: min(620px, calc(100vw - 28px)); max-height: min(82vh, 760px); overflow-y: auto; padding: 23px; color: #e7e9f1; border: 1px solid rgba(255, 255, 255, .13); border-radius: 15px; background: #171a24; box-shadow: 0 25px 90px rgba(0, 0, 0, .55); }
.member-detail-dialog::backdrop { background: rgba(3, 5, 10, .76); backdrop-filter: blur(4px); }
.member-detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.member-detail-heading h2 { margin: 11px 0 0; font-size: 19px; }
.member-detail-profile { margin: 18px 0; padding-bottom: 15px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.member-detail-fields { display: grid; grid-template-columns: minmax(140px, .7fr) minmax(0, 1.3fr); gap: 11px 16px; margin: 0; }
.member-detail-fields dt { color: #8991a4; font-size: 10px; }
.member-detail-fields dd { overflow-wrap: anywhere; margin: 0; color: #d8dbe5; font-size: 10px; }
.member-detail-location-note { margin: 17px 0 0; color: #9299ab; font-size: 9px; line-height: 1.5; }
.members-pagination { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; color: #7e8698; font-size: 9px; }
.members-pagination > div { display: flex; gap: 6px; }
.page-button { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid rgba(255, 255, 255, .09); border-radius: 7px; color: #c4c9d6; background: rgba(255, 255, 255, .025); cursor: pointer; }
.page-button:hover:not(:disabled) { border-color: rgba(145, 149, 255, .35); background: rgba(119, 124, 245, .08); }
.page-button:disabled { opacity: .35; cursor: not-allowed; }
.history-note { margin: 13px 0 0; color: #737b8e; font-size: 8px; }
.hint { display: flex; align-items: center; gap: 9px; margin: 15px 0 19px 40px; color: #898fa1; font-size: 10px; line-height: 1.5; }
.hint-icon { display: grid; width: 15px; height: 15px; flex: 0 0 15px; place-items: center; border: 1px solid rgba(142, 147, 255, .3); border-radius: 50%; color: #a2a6ff; font-size: 9px; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; margin-left: 40px; }
.notice { margin: 0 0 15px; padding: 12px 15px; border: 1px solid rgba(91, 207, 151, .22); border-radius: 9px; color: #a9efc8; background: rgba(35, 122, 82, .1); font-size: 11px; line-height: 1.5; }
.notice.error { border-color: rgba(255, 119, 137, .24); color: #ffc0ca; background: rgba(150, 49, 66, .12); }
.button:disabled { opacity: .62; cursor: wait; transform: none; }
.hidden { display: none !important; }
footer { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid rgba(255, 255, 255, .06); color: #697184; font-size: 9px; }
.footer-brand { color: #a1a6b5; font-size: 10px; font-weight: 750; }

@media (max-width: 850px) {
  .shell { padding: 0 23px; }
  .hero { padding-top: 70px; }
  .hero-grid { gap: 24px; }
  h1 { font-size: clamp(42px, 6vw, 56px); }
  .floating-badge { right: -8px; }
}
@media (max-width: 900px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-aside { grid-template-columns: 1fr 1fr; }
  .privacy-card { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  .shell { padding: 0 17px; }
  .topbar { height: 68px; }
  .secure-label { display: none; }
  .hero { padding: 58px 0 42px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  h1 { margin: 18px 0 15px; font-size: clamp(39px, 11vw, 52px); letter-spacing: -2.6px; }
  .hero-description { font-size: 13px; }
  .hero-art { min-height: 285px; }
  .preview-card { width: calc(100% - 13px); padding: 13px 12px 11px; }
  .floating-badge { right: -7px; bottom: 57px; padding: 8px 10px; }
  .feature-row { grid-template-columns: 1fr; gap: 14px; margin-top: 29px; padding-top: 20px; }
  .feature, .feature:first-child { padding: 0; border-right: 0; }
  .dashboard { min-height: calc(100vh - 130px); padding: 48px 0 55px; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; margin-bottom: 20px; }
  .dashboard-heading h1 { font-size: 33px; }
  .dashboard-aside { grid-template-columns: 1fr; }
  .analytics-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .analytics-actions { align-items: stretch; flex-direction: column; }
  .analytics-actions .member-search { width: 100%; }
  .privacy-card { grid-column: auto; }
  .panel { padding: 20px 16px; }
  .server-select-wrap, .invite, .bot-setup, .form-grid, .embed-section, .embed-editor-grid, .hint, .actions, .server-panel > #change-bot, .server-panel > #remove-bot { margin-left: 0; }
  .empty-state { margin-left: 0; }
  .invite { align-items: flex-start; flex-wrap: wrap; }
  .invite-copy { min-width: calc(100% - 54px); }
  .invite .button { margin-left: 47px; }
  .form-grid { grid-template-columns: 1fr; gap: 10px; }
  .bot-credentials-grid { grid-template-columns: 1fr; gap: 10px; }
  .bot-secret-card { grid-column: auto; }
  .embed-editor-grid { grid-template-columns: 1fr; gap: 10px; }
  .embed-description-card { grid-column: auto; }
  .settings-form { margin-top: 25px; padding-top: 22px; }
  .section-divider { gap: 10px; }
  .actions { align-items: stretch; flex-direction: column; }
  .actions .button { width: 100%; }
  .dashboard-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .dashboard-tab { justify-content: center; gap: 6px; padding: 0 8px; font-size: 10px; }
  .setup-wizard { padding: 13px; }
  .wizard-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wizard-step-button { min-height: 42px; }
  .wizard-status-card, .wizard-help { margin-left: 0; }
  .wizard-navigation .button { flex: 1; }
  .pool-server-grid { grid-template-columns: 1fr; }
  .pool-actions { align-items: stretch; flex-direction: column; }
  .pool-actions .button { width: 100%; }
  .pool-link-row { align-items: flex-start; flex-direction: column; }
  .pool-copy-button { width: 100%; }
  .members-heading { align-items: stretch; flex-direction: column; }
  .member-search { width: 100%; }
  .owner-counts { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; padding: 16px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  background:
    radial-gradient(ellipse at 82% 8%, rgba(116, 121, 255, .18), transparent 34rem),
    radial-gradient(ellipse at 5% 85%, rgba(72, 179, 201, .09), transparent 32rem),
    #090b12;
}
.dashboard-layout { display: grid; align-items: start; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
.dashboard-navigation {
  position: sticky;
  top: 18px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(37, 41, 58, .72), rgba(17, 20, 31, .68));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .11);
  backdrop-filter: blur(24px) saturate(155%);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
}
.dashboard-tabs { align-items: stretch; flex-direction: column; gap: 5px; }
.dashboard-tab {
  width: 100%;
  min-height: 43px;
  justify-content: flex-start;
  padding: 0 11px;
  border-radius: 13px;
  text-align: left;
}
.dashboard-tab[aria-selected="true"] {
  border-color: rgba(165, 169, 255, .24);
  background: linear-gradient(110deg, rgba(128, 134, 255, .23), rgba(112, 121, 219, .09));
  box-shadow: inset 0 1px rgba(255, 255, 255, .1), 0 7px 20px rgba(82, 88, 218, .11);
}
.tab-description { margin: 13px 4px 3px; padding-top: 11px; border-top: 1px solid rgba(255, 255, 255, .08); }
.dashboard-content { min-width: 0; }
.dashboard-content > .tab-panel { margin-top: 0; }
.dashboard-content > .tab-panel + .tab-panel { margin-top: 15px; }
.dashboard-content .panel,
.dashboard-aside .side-card {
  border-color: rgba(255, 255, 255, .12);
  background: linear-gradient(145deg, rgba(29, 33, 48, .82), rgba(16, 19, 29, .78));
  box-shadow: 0 20px 55px rgba(0, 0, 0, .25), inset 0 1px rgba(255, 255, 255, .075);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
}
.backup-warning { display: flex; align-items: flex-start; gap: 11px; margin: 0 0 16px; padding: 14px; border: 1px solid rgba(237, 189, 108, .19); border-radius: 13px; color: #f0c482; background: rgba(181, 125, 43, .075); }
.backup-warning > span { flex: 0 0 auto; font-size: 15px; }
.backup-warning p { margin: 0; color: #a7adbc; font-size: 10px; line-height: 1.65; }
.backup-warning b { color: #f2d5a5; }
.backup-permission-status { justify-content: space-between; gap: 12px; text-align: left; }
.backup-permission-status p { margin: 0; }
.backup-permission-status .button { flex: 0 0 auto; font-size: 9px; }
.backup-permission-status.error, .backup-status.error { border-color: rgba(255, 119, 137, .24); color: #ffc0ca; background: rgba(150, 49, 66, .12); }
.backup-schedule { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin: 15px 0 7px; padding: 14px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 13px; background: rgba(255, 255, 255, .025); }
.backup-schedule b { color: #e2e4ed; font-size: 11px; }
.backup-schedule p, .backup-retention-note { margin: 5px 0 0; color: #939bad; font-size: 9px; line-height: 1.55; }
.backup-schedule-frequency { width: min(230px, 42%); }
.backup-schedule-frequency .field-label { margin-bottom: 5px; font-size: 9px; }
.backup-schedule-frequency .control { min-height: 36px; padding: 0 10px; font-size: 10px; }
.backup-retention-note { margin: 0 0 13px; }
.backup-metadata-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.backup-metadata-grid .control { min-height: 38px; padding: 0 10px; font-size: 10px; }
.backup-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 14px 0 20px; }
.backup-actions .button, .backup-import-label { min-height: 39px; font-size: 10px; }
.backup-import-label { cursor: pointer; }
.backup-import-label.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.backup-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 10px; }
.backup-list-heading h3 { margin: 0; color: #e2e4ed; font-size: 12px; }
.backup-list { display: grid; gap: 8px; }
.backup-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 13px; background: rgba(255, 255, 255, .025); }
.backup-item-details { display: grid; min-width: 0; gap: 5px; }
.backup-item-details b { color: #dfe1ea; font-size: 10px; }
.backup-item-note { color: #a4abba; font-size: 9px; }
.backup-pinned-label { width: fit-content; color: #f0c482; font-size: 8px; }
.backup-item-details code { overflow: hidden; color: #838b9e; font-size: 8px; text-overflow: ellipsis; }
.backup-item-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.backup-item-actions .button { min-height: 32px; padding: 0 9px; font-size: 8px; }
.backup-list-empty { margin: 0; padding: 17px; border: 1px dashed rgba(255, 255, 255, .1); border-radius: 12px; color: #8991a4; font-size: 10px; text-align: center; }
.backup-preview { margin-top: 20px; padding: 16px; border: 1px solid rgba(145, 149, 255, .19); border-radius: 15px; background: rgba(119, 124, 245, .045); }
.backup-preview > p, .backup-preview li { color: #a6adbd; font-size: 10px; line-height: 1.6; }
.backup-preview ul { display: grid; gap: 5px; padding-left: 18px; }
.backup-confirmation { max-width: 420px; margin-bottom: 12px; padding: 0 11px; }
.bots-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-bottom: 15px; }
.bot-inventory-card { display: grid; align-content: start; gap: 13px; padding: 16px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 15px; background: rgba(255, 255, 255, .025); }
.bot-inventory-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.bot-inventory-heading h3 { margin: 0 0 5px; color: #e2e4ed; font-size: 12px; }
.bot-inventory-heading code { color: #858da0; font-size: 8px; overflow-wrap: anywhere; }
.bot-inventory-status { padding: 5px 8px; border: 1px solid rgba(255, 119, 137, .2); border-radius: 8px; color: #ffb1bf; background: rgba(150, 49, 66, .09); font-size: 8px; white-space: nowrap; }
.bot-inventory-status[data-connected="true"] { border-color: rgba(103, 214, 165, .2); color: #9ae6b8; background: rgba(35, 122, 82, .09); }
.bot-inventory-servers { margin: 0; color: #969eb0; font-size: 9px; line-height: 1.6; }
.bot-inventory-card .button { justify-self: start; min-height: 34px; font-size: 9px; }

@media (max-width: 900px) {
  .dashboard-layout { grid-template-columns: 185px minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 650px) {
  .dashboard-layout { grid-template-columns: 1fr; gap: 13px; }
  .dashboard-navigation { position: static; padding: 9px; border-radius: 16px; }
  .dashboard-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-tab { justify-content: center; gap: 6px; padding: 0 8px; font-size: 9px; }
  .tab-description { margin: 9px 3px 1px; }
  .bots-list { grid-template-columns: 1fr; }
  .backup-item { align-items: flex-start; flex-direction: column; }
  .backup-schedule { align-items: stretch; flex-direction: column; }
  .backup-schedule-frequency { width: 100%; }
  .backup-metadata-grid { grid-template-columns: 1fr; }
  .backup-item-actions { width: 100%; justify-content: flex-start; }
  .backup-item-actions .button { flex: 1; }
  .backup-permission-status { align-items: stretch; flex-direction: column; }
}
