:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #263c36;
  background: #edf3f0;
  font-size: 14px;
  line-height: 1.65;
  font-synthesis: none;
  --accent: #277c65;
  --accent-dark: #1d604f;
  --border: #dbe6df;
  --muted: #657b71;
  --glass: rgba(255, 255, 255, .68);
  --shadow: 0 8px 32px #355a4510, inset 0 1px 0 #ffffffe0;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(ellipse at 75% 5%, #e1e7f180, transparent 46%), radial-gradient(ellipse at 10% 35%, #d6e8dd99, transparent 50%), radial-gradient(ellipse at 90% 90%, #f5e9da80, transparent 42%), #edf3f0; background-attachment: fixed; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #408e75; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 29px; letter-spacing: -.8px; line-height: 1.4; font-weight: 650; }
h2 { font-size: 18px; font-weight: 620; line-height: 1.5; }
h3 { font-size: 14px; font-weight: 600; }
small { font-size: 12px; }
code, pre, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
code { font-size: 12px; padding: 3px 6px; background: #e8eeea; border-radius: 5px; }
.muted { color: var(--muted); }
.icon { display: block; width: 20px; height: 20px; flex-shrink: 0; }
.eyebrow, .section-kicker { font-size: 10px; letter-spacing: 1.8px; font-weight: 650; color: #6c897b; margin-bottom: 7px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 25px; top: -100px; background: #fff; border-radius: 10px; padding: 12px 20px; z-index: 200; }
.skip-link:focus { top: 16px; }
.app-shell { display: flex; min-height: 100dvh; }
.workspace-pending .app-shell { visibility: hidden; }
.sidebar { position: fixed; inset: 18px auto 18px 18px; width: 230px; border: 1px solid #ffffffb3; border-radius: 24px; background: #ffffff80; box-shadow: var(--shadow); padding: 26px 16px 18px; display: flex; flex-direction: column; z-index: 30; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.brand-row { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 8px; font-size: 21px; font-weight: 700; letter-spacing: -.6px; }
.brand img { filter: drop-shadow(0 3px 5px #397b5920); }
.brand > span { line-height: 1.3; }
.brand small { display: block; margin-top: 6px; color: #73867b; font-size: 10px; font-weight: 400; letter-spacing: .2px; }
.menu-toggle { display: none !important; }
.sidebar nav { min-height: 0; overflow-y: auto; margin-top: 35px; scrollbar-width: thin; scrollbar-color: #bacfc1 transparent; }
.nav-caption { font-size: 10px; color: #819488; letter-spacing: 1px; padding: 0 16px; margin-bottom: 15px; }
.sidebar nav a, .nav-tools > summary { display: flex; align-items: center; gap: 13px; padding: 12px 15px; min-height: 46px; margin: 4px 0; color: #647c6e; font-size: 13px; border-radius: 12px; transition: background .18s, color .18s; }
.sidebar nav a > span, .nav-tools > summary > span { flex-shrink: 0; }
.sidebar nav a:hover, .nav-tools > summary:hover { background: #ffffffb3; color: #275a44; }
.sidebar nav a.active { background: #d9e9dfbb; color: #24694f; font-weight: 650; box-shadow: inset 0 1px 0 #ffffff99; }
.sidebar nav a.active::after { content: ""; width: 5px; height: 5px; background: #3b8764; border-radius: 50%; margin-left: auto; }
.nav-divider { height: 1px; background: #c8d9cd80; margin: 20px 14px 15px; }
.nav-tools > summary { list-style: none; font-size: 12px; }
.nav-tools > summary::-webkit-details-marker { display: none; }
.nav-chevron { margin-left: auto; transition: transform .2s; }
.nav-chevron .icon { width: 14px; height: 14px; }
.nav-tools[open] .nav-chevron { transform: rotate(180deg); }
.nav-tools-list { padding-left: 9px; }
.nav-tools-list a { font-size: 12px !important; }
.nav-tools-list .icon { width: 17px; height: 17px; }
.sidebar-bottom { margin-top: auto; padding-top: 30px; }
.sidebar-help { display: flex; align-items: center; gap: 10px; padding: 15px 12px; border: 1px solid #d7e4d7; background: #e8efe3b3; border-radius: 14px; font-size: 12px; color: #4d7258; }
.sidebar-help small { display: block; font-size: 10px; color: #7a8e7c; margin-top: 4px; }
.sidebar-help > .icon:last-child { width: 14px; margin-left: auto; }
.sidebar-footer { margin: 18px 10px 0; padding-top: 18px; border-top: 1px solid #cbd9ce80; font-size: 11px; color: #687f70; }
.sidebar-footer small { display: block; margin-top: 5px; font-size: 10px; color: #89998c; }
.network-dot, .network-label i, .good-dot { display: inline-block; width: 6px; height: 6px; background: #4d9a74; border-radius: 50%; flex-shrink: 0; }
.network-dot, .network-label i { margin-right: 7px; }
.workspace { margin-left: 266px; min-width: 0; flex: 1; display: flex; flex-direction: column; }
.topbar { min-height: 85px; padding: 0 39px 0 23px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #d7e1da80; }
.breadcrumb { font-size: 11px; color: #849489; white-space: nowrap; }
.breadcrumb > span { margin: 0 12px; color: #adbaaf; }
.breadcrumb strong { color: #52695b; font-weight: 500; }
.top-actions { display: flex; align-items: center; gap: 16px; }
.account-picker { display: flex; align-items: center; gap: 8px; min-width: 0; }
.account-picker > span { color: #6f8e7a; }
.account-picker .icon { width: 16px; height: 16px; }
.account-picker select { background: #ffffff80; max-width: 190px; padding: 7px 28px 7px 10px; min-height: 35px; border-color: #d5dfd5; font-size: 12px; }
.network-label { white-space: nowrap; font-size: 10px; color: #627d69; }
.signout-button { border-left: 1px solid #cbd9cf !important; border-radius: 0 !important; padding-left: 16px !important; }
main { padding: 28px 39px 30px 23px; flex: 1; max-width: 1430px; width: 100%; margin: 0 auto; min-width: 0; }
#content { outline: none; min-width: 0; }
.page-footer { display: flex; justify-content: space-between; gap: 16px; margin: 0 39px 0 23px; padding: 20px 0; border-top: 1px solid #d3ded680; color: #87988c; font-size: 10px; }
.page-footer b { font-weight: 400; margin-left: 6px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.page-heading p { color: var(--muted); font-size: 13px; margin-top: 9px; }
.heading-actions { display: flex; gap: 10px; flex-shrink: 0; }
.button { border: 1px solid #cfddd3; border-radius: 10px; background: #ffffffb3; color: #476454; padding: 10px 16px; min-height: 41px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 12px; line-height: 1.6; font-weight: 550; transition: background .18s, border-color .18s, box-shadow .18s; }
.button .icon { width: 16px; height: 16px; }
.button:hover { background: #fff; border-color: #9bbca6; box-shadow: 0 3px 10px #3659470a; }
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 4px 10px #1c68431a, inset 0 1px 0 #ffffff14; }
.button.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.button.danger { color: #ad4b49; border-color: #e5c9c3; background: #fff5f0cc; }
.button.small { min-height: 34px; padding: 6px 11px; font-size: 11px; }
.text-button, .icon-button { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 7px; background: transparent; color: #657f6d; padding: 5px; font-size: 12px; }
.text-button:hover, .icon-button:hover { color: var(--accent-dark); background: #ffffff66; }
.icon-button { justify-content: center; min-width: 34px; min-height: 34px; font-size: 26px; line-height: 1; }
input, select, textarea { border: 1px solid #ceddd2; border-radius: 10px; padding: 10px 12px; background: #ffffffb3; color: #314d3b; min-width: 0; min-height: 41px; font-size: 13px; }
input::placeholder, textarea::placeholder { color: #879a8c; }
input:focus, select:focus, textarea:focus { border-color: #599b76; }
input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; min-height: 0; padding: 0; flex-shrink: 0; }
.auth-banner { display: flex; align-items: center; justify-content: space-between; gap: 22px; border: 1px solid #cadfd0; border-radius: 16px; background: #f6fbf4d9; padding: 20px; margin-bottom: 26px; }
.auth-banner strong { font-size: 14px; color: #3a6446; }
.auth-banner p { font-size: 12px; color: #67836c; margin-top: 6px; }
.auth-banner form { display: flex; gap: 8px; flex-shrink: 0; }
.auth-banner input { width: 190px; }
.auth-banner code { font-size: 10px; }
.overview-top { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 17px; }
.overview-top .eyebrow { margin: 0; font-size: 11px; letter-spacing: 1px; }
.overview-top time { color: #7a8c7f; font-size: 11px; }
.welcome-panel { position: relative; min-height: 275px; padding: 31px 35px; border: 1px solid #ffffffe0; border-radius: 24px; background: linear-gradient(110deg, #ffffffa6 8%, #e6f1e3b3 70%, #dcecdf80); box-shadow: var(--shadow); overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.welcome-copy { z-index: 1; flex-shrink: 0; max-width: 57%; }
.welcome-label { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #6f8873; margin-bottom: 13px; letter-spacing: .7px; }
.welcome-copy h1 { font-size: clamp(28px, 2.6vw, 37px); font-weight: 620; line-height: 1.4; letter-spacing: .2px; }
.welcome-copy h1 > span { color: #6e9c6d; }
.welcome-copy > p { color: #6b8070; font-size: 12px; line-height: 1.9; margin-top: 13px; max-width: 370px; }
.welcome-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.welcome-actions .text-button { font-size: 11px; }
.welcome-actions .text-button .icon { width: 13px; height: 13px; }
.workspace-visual { width: 320px; height: 225px; position: relative; flex-shrink: 0; margin-right: 20px; }
.visual-orbit { position: absolute; width: 222px; height: 222px; border: 1px solid #a7c5a747; border-radius: 50%; top: 0; left: 45px; }
.visual-orbit::before { content: ""; position: absolute; inset: -24px; border: 1px dashed #a7c5a740; border-radius: 50%; }
.visual-orbit::after { content: ""; position: absolute; inset: 27px; background: #c6dfbd40; border: 1px solid #a7c5a726; border-radius: 50%; }
.visual-core { display: flex; align-items: center; flex-direction: column; justify-content: center; position: absolute; left: 74px; top: 37px; width: 165px; height: 155px; border-radius: 25px; border: 1px solid #ffffffed; background: linear-gradient(140deg, #ffffffb3, #ffffff66); box-shadow: 0 12px 25px #4a6d4310, inset 0 1px 0 #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transform: rotate(-7deg); }
.visual-core img { box-shadow: 0 7px 12px #4b765117; border-radius: 14px; margin-bottom: 12px; }
.visual-core strong { font-size: 12px; color: #4b7050; font-weight: 550; }
.visual-core > span { font-size: 8px; color: #829680; letter-spacing: .6px; margin-top: 4px; }
.floating-tile { position: absolute; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 12px 15px; border: 1px solid #ffffffed; border-radius: 13px; background: #ffffffe0; box-shadow: 0 7px 20px #42623e0d; font-size: 10px; color: #59775d; }
.floating-tile .icon { width: 17px; height: 17px; }
.tile-account { left: 8px; top: 15px; transform: rotate(-9deg); }
.tile-room { right: -2px; top: 81px; transform: rotate(8deg); color: #71819f; }
.tile-bot { left: 30px; bottom: 0; transform: rotate(5deg); color: #8c7c9a; }
.visual-spark { position: absolute; color: #95ae84; font-size: 19px; }
.spark-one { right: 45px; top: -3px; }.spark-two { right: 28px; bottom: 6px; font-size: 12px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 27px 2px 14px; }
.section-heading h2 { font-size: 15px; }
.section-heading > span { font-size: 10px; color: #7f9183; }
.update-note::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #80a68a; margin-right: 6px; vertical-align: middle; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 24px; }
.stat-card { display: block; min-height: 140px; border: 1px solid #ffffffd9; border-radius: 18px; background: var(--glass); box-shadow: var(--shadow); padding: 19px 20px; transition: border-color .2s, background .2s; }
.stat-card:hover { background: #ffffffd9; border-color: #b0cdb8; }
.stat-label { display: flex; align-items: center; justify-content: space-between; gap: 5px; color: #728677; font-size: 11px; }
.stat-icon, .quick-icon, .bot-icon { width: 33px; height: 33px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #e6f0e6; color: #6c956a; flex-shrink: 0; }
.stat-icon .icon { width: 18px; height: 18px; }
.blue { background: #e8eef6; color: #7a90b0; }.purple { background: #eee9f3; color: #9380aa; }.peach { background: #f4ebe1; color: #ba9575; }
.stat-value { font-size: 25px; line-height: 1.3; font-weight: 620; letter-spacing: -.8px; margin-top: 11px; }
.stat-foot { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #788c7c; margin-top: 8px; line-height: 1.6; overflow-wrap: anywhere; }
.panel { background: var(--glass); border: 1px solid #ffffffe0; border-radius: 19px; box-shadow: var(--shadow); overflow: hidden; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 21px 25px; border-bottom: 1px solid #d9e4da99; }
.panel-head p { font-size: 12px; color: #7b8e7e; margin-top: 5px; }
.panel-body { padding: 25px; font-size: 13px; line-height: 1.85; }
.panel-body > p + p { margin-top: 10px; }
.panel + .panel { margin-top: 22px; }
.two-columns, .account-layout, .docs-grid { display: grid; gap: 23px; grid-template-columns: minmax(0, 1.3fr) minmax(290px, 1fr); align-items: start; }
.two-columns > .panel + .panel, .account-layout > .panel + .panel, .bot-catalog > .panel + .panel { margin-top: 0; }
.badge { display: inline-flex; align-items: center; font-size: 10px; padding: 4px 10px; border: 1px solid #d5dfd499; border-radius: 7px; background: #edf2ea; color: #6b806d; font-weight: 500; line-height: 1.6; white-space: nowrap; }
.badge.green { background: #e5f1e4; color: #4c8154; border-color: #cbe0ca99; }
.badge.amber { background: #f9f0df; color: #9c7935; border-color: #ecddba99; }
.badge.red { background: #faebe8; color: #a55e56; border-color: #eacac499; }
.badge.blue { background: #e8eff9; color: #5c7eaa; border-color: #cbd9e899; }
.badge.purple { background: #eee9f5; color: #8c73a4; border-color: #d9cde799; }
.setup-panel { scroll-margin-top: 30px; }
.setup-panel .panel-head { border: 0; padding-bottom: 19px; }
.setup-panel .section-kicker { font-size: 9px; margin-bottom: 3px; }
.setup-panel h2 { font-size: 18px; }
.setup-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 25px 25px; gap: 0; }
.setup-step { display: flex; align-items: flex-start; gap: 13px; padding: 17px 20px; border: 1px solid #dde6dc; background: #ffffff4d; transition: background .18s; }
.setup-step:hover { background: #ffffffd9; }
.setup-step:first-child { border-radius: 12px 0 0 12px; }
.setup-step:last-child { border-radius: 0 12px 12px 0; }
.setup-step + .setup-step { border-left: 0; }
.step-number { border: 1px solid #ccdccb; color: #7b957b; background: #eef4eacc; width: 28px; height: 28px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; }
.step-number .icon { width: 15px; height: 15px; }
.step-content { display: grid; gap: 7px; min-width: 0; }
.step-content > strong { font-size: 12px; font-weight: 580; }
.step-content > span { font-size: 10px; color: #80907e; }
.step-content .step-link { margin-top: 4px; color: #527a52; display: flex; align-items: center; gap: 6px; }
.step-link .icon { width: 12px; height: 12px; }
.optional-label { font-size: 9px; font-weight: 400; color: #8a9985; margin-left: 5px; }
.is-complete .step-number { color: #fff; background: #72a17a; border-color: #72a17a; }
.quick-heading { margin-top: 25px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.quick-card { display: flex; align-items: center; gap: 13px; border: 1px solid #ffffffd9; border-radius: 16px; background: #ffffff80; padding: 20px 18px; transition: background .18s, border-color .18s; }
.quick-card:hover { background: #ffffffdf; border-color: #b2cdb6; }
.quick-card h3 { font-size: 12px; }
.quick-card p { font-size: 10px; color: #7c8f7d; margin-top: 5px; }
.quick-icon { width: 37px; height: 37px; border-radius: 12px; }
.quick-icon .icon { width: 19px; height: 19px; }
.quick-card > .icon { width: 14px; height: 14px; margin-left: auto; color: #9cafa0; }
.section-note { display: flex; align-items: flex-start; gap: 8px; font-size: 11px; color: #7b8d7d; margin-top: 23px; }
.section-note > .icon { width: 14px; height: 14px; margin-top: 2px; color: #7f9c82; }
.target-banner { display: inline-flex; max-width: 100%; font-size: 11px; color: #657d65; border: 1px solid #d2e1cf; border-radius: 7px; background: #eaf3e5a6; padding: 5px 10px; margin-bottom: 20px; overflow-wrap: anywhere; }
.account-status { display: flex; align-items: center; gap: 17px; margin-bottom: 24px; }
.account-avatar { width: 58px; height: 58px; border-radius: 17px; background: #e4eee1; color: #6c9570; display: grid; place-items: center; font-size: 28px; }
.account-avatar .icon { width: 27px; height: 27px; }
.account-status h2 { font-size: 20px; }
.account-status p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.account-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 21px; }
.qr-box { display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 25px; min-height: 270px; border: 1px dashed #b9ceb9; border-radius: 15px; background: #f9fcf6a6; text-align: center; }
.qr-box img { width: 210px; max-width: 100%; border-radius: 10px; }
.qr-box p { font-size: 12px; color: #7e947e; margin-top: 12px; }
.qr-box.login-ready { gap: 7px; border-style: solid; background: #edf6e6b3; }
.qr-box.login-ready .success-symbol { margin: 0 0 6px; }.qr-box.login-ready p { margin: 0 0 14px; }
.qr-placeholder { font-size: 40px; color: #8fab8e; margin-bottom: 15px; }
.info-list { display: grid; gap: 21px; }
.info-list > div { border-bottom: 1px solid #dce6db; padding-bottom: 18px; }
.info-list > div:last-child { border: 0; padding-bottom: 0; }
.info-list h3 { font-size: 13px; margin-bottom: 7px; }
.info-list p { font-size: 12px; color: #70866f; line-height: 1.9; }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.toolbar select { min-width: 180px; }
.toolbar .spacer { flex: 1; }
.stream { height: 360px; overflow-y: auto; padding: 7px 25px; background: #ffffff38; }
.message { display: grid; grid-template-columns: 62px minmax(80px, 125px) minmax(0, 1fr); gap: 13px; font-size: 12px; padding: 14px 0; border-bottom: 1px solid #dce6db; }
.message time { font-size: 10px; color: #7e917f; padding-top: 2px; }
.message .sender { color: #4b8b65; font-weight: 500; overflow-wrap: anywhere; }
.message-text { color: #4d6851; overflow-wrap: anywhere; }
.send-bar { display: flex; gap: 10px; padding: 18px 25px; border-top: 1px solid var(--border); }
.send-bar input { flex: 1; width: 0; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 23px 25px; }
.settings-row p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.switch-label { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; white-space: nowrap; color: #59785c; }
.send-limit-field { display: grid; gap: 9px; padding: 0 25px 25px; }
.send-limit-field > label { font-size: 12px; color: #59705b; }
.send-limit-field > input { width: 170px; max-width: 100%; }
.send-limit-field > .hint { margin: 0; }
.inline-form { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.inline-form input { flex: 1; min-width: 150px; }
.table-wrap { overflow-x: auto; width: 100%; }
.table-wrap table { min-width: 600px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
th { font-size: 11px; font-weight: 500; color: #768d79; background: #f2f6ef99; white-space: nowrap; }
th, td { padding: 16px 23px; border-bottom: 1px solid #dce6db; }
td { vertical-align: middle; overflow-wrap: anywhere; }
tr:last-child td { border: 0; }
.plugin-name { font-weight: 600; color: #3c5a40; overflow-wrap: anywhere; }
.plugin-name small { display: block; color: #788d77; font-size: 10px; font-weight: 400; margin-top: 5px; max-width: 240px; }
.permission-chips { display: flex; flex-wrap: wrap; gap: 4px; max-width: 270px; }
.permission-chips .badge { font-size: 9px; padding: 3px 6px; background: #f2f5ee; }
.table-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.table-actions button { font-size: 11px; }
.catalog-heading { margin-top: 30px; }
.catalog-heading .section-kicker { margin-bottom: 5px; font-size: 9px; }
.catalog-heading h2 { font-size: 18px; }
.bot-catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.bot-card { position: relative; padding: 23px; }
.bot-icon { width: 43px; height: 43px; border-radius: 14px; margin-bottom: 21px; }
.bot-card > .badge { position: absolute; top: 26px; right: 20px; font-size: 9px; }
.bot-card h3 { font-size: 15px; }
.bot-card > p { font-size: 12px; line-height: 1.9; color: #74876e; min-height: 68px; margin: 10px 0 14px; }
.bot-card > .button { width: 100%; margin-top: 20px; justify-content: space-between; }
.bot-card details { font-size: 11px; color: #7d8e76; }
.bot-card summary { font-size: 11px; color: #68825d; }
.bot-card details p { margin-top: 10px; line-height: 1.9; }
.empty { text-align: center; color: #6c846c; padding: 43px 22px; font-size: 14px; }
.empty-symbol { display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-size: 32px; color: #89a585; }
.empty-symbol > .icon { width: 35px; height: 35px; }
.empty p { font-size: 12px; margin-top: 9px; color: #81927c; }
.empty .button { margin-top: 21px; }
.docs-grid > div { min-width: 0; }
.docs-grid { grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); }
.code-panel { background: #253c33; color: #cbe2cf; border: 1px solid #3c5545; border-radius: 13px; padding: 21px; font-size: 11px; line-height: 1.9; white-space: pre; overflow-x: auto; }
.endpoint { padding: 17px 0; border-bottom: 1px solid #dce6db; font-size: 11px; display: flex; align-items: flex-start; gap: 11px; }
.endpoint:first-child { padding-top: 0; }.endpoint:last-child { border: 0; padding-bottom: 0; }
.endpoint code { font-size: 10px; overflow-wrap: anywhere; word-break: break-all; }
.endpoint p { color: #7d9178; margin-top: 7px; font-size: 11px; }
.method { font-size: 9px; font-weight: 700; color: #528264; background: #e8f0e2; min-width: 43px; text-align: center; border-radius: 5px; padding: 3px 5px; }
.method.post { color: #7b7bb0; background: #efedf9; }
.method.put, .method.patch { color: #9b7c33; background: #f9f0dc; }
.method.delete { color: #a35c66; background: #fae9ec; }
#api-search { width: 100%; margin-bottom: 18px; }
#endpoint-list { max-height: 650px; overflow-y: auto; padding-right: 6px; }
.audit-action { color: #3a6143; }
.hint { font-size: 12px; color: #7b8f77; line-height: 1.85; margin-top: 14px; overflow-wrap: anywhere; }
.warning-note { color: #936b25; background: #fff6e4; border: 1px solid #ecdfbd; border-radius: 10px; padding: 13px; margin-top: 12px; font-size: 12px; }
dialog { border: 1px solid #fffffff2; border-radius: 23px; box-shadow: 0 30px 110px #1c3b2c40, inset 0 1px 0 #fff; padding: 0; width: 520px; max-width: calc(100vw - 32px); max-height: 88dvh; overflow: auto; color: inherit; background: #f6faf4f5; backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); }
dialog::backdrop { background: #18372d40; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.dialog-body { padding: 29px; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.dialog-body > p { font-size: 12px; margin-top: 10px; margin-bottom: 19px; line-height: 1.9; }
.dialog-body > label { display: block; font-size: 12px; color: #597154; margin-top: 18px; margin-bottom: 8px; }
.dialog-body > input, .dialog-body > select { width: 100%; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
fieldset { border: 0; padding: 0; margin: 22px 0 0; }
legend { font-size: 12px; color: #546f50; margin-bottom: 10px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; font-size: 12px; color: #546d4f; cursor: pointer; }
.check-row input { margin-top: 3px; }
.check-row small { display: block; font-size: 10px; color: #7e9275; margin-top: 4px; }
.permission-details { margin-top: 22px; padding: 13px 15px; border: 1px solid #d6e2cf; border-radius: 11px; background: #ffffff66; }
.permission-details summary { font-size: 12px; color: #506e4b; }
.permission-details summary .muted { display: block; margin: 5px 0 0 14px; font-size: 10px; }
.token-field { display: flex; gap: 8px; }.token-field input { flex: 1; font-family: ui-monospace, monospace; font-size: 11px; }
.success-symbol { color: #fff; width: 43px; height: 43px; border-radius: 15px; display: grid; place-items: center; background: #63956b; font-size: 21px; margin-bottom: 18px; }
#toast { position: fixed; bottom: 27px; left: calc(50% + 124px); transform: translateX(-50%) translateY(16px); background: #314f3fef; color: #fff; padding: 13px 21px; border: 1px solid #ffffff33; border-radius: 13px; box-shadow: 0 8px 30px #16352225; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 36px); z-index: 100; overflow-wrap: anywhere; backdrop-filter: blur(12px); }
#toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.console-form { display: grid; gap: 17px; }
.console-form .console-field { display: grid; gap: 8px; font-size: 12px; color: #597155; }
.console-form .console-field input, .console-form .console-field select { width: 100%; min-width: 0; }
.console-form > button { justify-self: start; }
.console-form fieldset { margin: 0; }
.console-form .check-row input { width: auto; }
.console-actions { display: flex; gap: 13px; align-items: center; flex-wrap: wrap; }
.console-error { color: #a8463d; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.console-error:empty { display: none; }
.console-panel { padding: 25px; margin-bottom: 22px; }
.console-panel > .console-actions { margin-top: 19px; }
.console-user-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.console-user-row:last-child { border: 0; }
.console-user-row > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.console-user-row .hint { margin-top: 6px; }
.console-user-row .console-actions { flex-shrink: 0; }
.console-secret { display: block; width: 100%; padding: 13px; background: #eaf1e5; border: 1px solid var(--border); border-radius: 10px; overflow-wrap: anywhere; font: 12px/1.9 ui-monospace, monospace; resize: vertical; margin: 16px 0; }
.console-qr { display: block; max-width: 100%; height: auto; margin: 16px auto; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .sidebar, .panel, .stat-card, .quick-card, .welcome-panel { background: #f7faf5; }
}
@media (min-width: 1600px) {
  main { padding-top: 35px; }.welcome-panel { padding: 38px 42px; min-height: 295px; }.workspace-visual { margin-right: 55px; }.stat-card { padding: 22px; }
}
@media (max-width: 1200px) {
  .sidebar { width: 208px; inset: 14px auto 14px 14px; padding: 24px 12px 16px; }.workspace { margin-left: 238px; }.brand { font-size: 19px; gap: 9px; }.brand img { width: 34px; height: 34px; }.brand small { font-size: 9px; }
  main { padding: 26px 27px 28px 12px; }.topbar { padding: 0 27px 0 12px; }.page-footer { margin: 0 27px 0 12px; }.top-actions { gap: 11px; }.network-label { display: none; }
  .welcome-panel { padding: 29px; }.workspace-visual { transform: scale(.87); transform-origin: right center; margin-left: -30px; margin-right: 0; width: 290px; }.welcome-copy { max-width: 62%; }.welcome-copy h1 { font-size: 30px; }
  .stat-grid { gap: 12px; }.stat-card { padding: 17px; }.stat-value { font-size: 23px; }.stat-foot { font-size: 9px; }
  .setup-step { gap: 10px; padding: 16px 13px; }.setup-steps { padding: 0 20px 20px; }.step-content > span { font-size: 9px; }.step-content > strong { font-size: 11px; }
  .quick-card { padding: 17px 13px; gap: 10px; }.quick-card > .icon { display: none; }.quick-card p { font-size: 9px; }
  .auth-banner { flex-direction: column; align-items: flex-start; }.auth-banner form { width: 100%; }.auth-banner input { flex: 1; width: auto; }
  .docs-grid { grid-template-columns: 1fr; }.bot-card { padding: 21px 18px; }.bot-card > .badge { right: 15px; }.bot-catalog { gap: 13px; }
  #toast { left: calc(50% + 112px); }
}
@media (max-width: 1000px) {
  .topbar { padding-top: 15px; padding-bottom: 15px; flex-wrap: wrap; gap: 12px; }.top-actions { gap: 12px; flex-wrap: wrap; }
  .welcome-copy { max-width: 64%; }.workspace-visual { width: 230px; margin-left: -75px; transform: scale(.74); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.stat-card { min-height: 133px; }.stat-foot { font-size: 10px; }
  .setup-steps { grid-template-columns: 1fr; }.setup-step { padding: 16px 18px; gap: 15px; }.setup-step:first-child { border-radius: 12px 12px 0 0; }.setup-step:last-child { border-radius: 0 0 12px 12px; }.setup-step + .setup-step { border-left: 1px solid #dde6dc; border-top: 0; }.step-content { width: 100%; grid-template-columns: 1fr auto; gap: 4px 10px; }.step-content > strong { font-size: 12px; }.step-content > span { font-size: 11px; }.step-content > .step-link { grid-column: 2; grid-row: 1 / 3; align-self: center; margin: 0; }
  .quick-grid { grid-template-columns: 1fr; gap: 10px; }.quick-card { padding: 16px 20px; gap: 15px; }.quick-card p { font-size: 11px; margin-top: 3px; }.quick-card > .icon { display: block; }
  .account-layout, .two-columns { grid-template-columns: 1fr; gap: 22px; }.bot-catalog { grid-template-columns: 1fr; gap: 16px; }.bot-card { padding: 24px; }.bot-card > p { min-height: 0; }.bot-card > .button { width: auto; min-width: 190px; }.bot-card > .badge { right: 24px; }
  .settings-row { flex-wrap: wrap; }.settings-row > div { flex-basis: 100%; }.page-heading { align-items: flex-start; }.heading-actions { flex-direction: column; }
}
@media (max-width: 760px) {
  body { background: radial-gradient(ellipse at 95% 8%, #dce9dc99, transparent 50%), radial-gradient(ellipse at 2% 55%, #e4e8f099, transparent 55%), #edf3f0; }
  .app-shell { display: block; }.sidebar { position: sticky; inset: 0; width: 100%; border: 0; border-bottom: 1px solid #ffffffcc; border-radius: 0; padding: 15px 20px; box-shadow: 0 2px 12px #36553905; background: #edf3f0d9; }.brand { padding: 0; font-size: 19px; }.brand img { width: 33px; height: 33px; }.brand small { font-size: 9px; margin-top: 3px; }.menu-toggle { display: inline-flex !important; color: #54735d; }.sidebar-bottom { display: none; }
  .sidebar nav { display: none; margin: 20px 0 0; max-height: calc(100dvh - 120px); }.sidebar.nav-open nav { display: block; }.sidebar nav a { min-height: 46px; font-size: 14px; }.sidebar.nav-open { box-shadow: 0 12px 25px #32593817; }.nav-caption { font-size: 11px; }.nav-tools > summary { font-size: 13px; }
  .workspace { margin-left: 0; }.topbar { min-height: 58px; padding: 13px 20px; gap: 10px; }.breadcrumb { display: none; }.top-actions { width: 100%; gap: 12px; }.account-picker { margin-right: auto; }.account-picker select { max-width: 160px; }.top-actions .text-button { font-size: 11px; }.signout-button { padding-left: 12px !important; }
  main { padding: 21px 20px 26px; }.page-footer { margin: 0 20px; font-size: 9px; }.page-footer > span:last-child { display: none; }
  .overview-top { margin-bottom: 15px; }.overview-top .eyebrow { font-size: 10px; }.overview-top time { font-size: 10px; }
  .welcome-panel { min-height: 278px; padding: 27px 25px; border-radius: 21px; }.welcome-copy { max-width: 100%; }.welcome-copy h1 { font-size: clamp(24px, 7.4vw, 29px); }.welcome-copy > p { max-width: 240px; font-size: 11px; }.welcome-label { font-size: 10px; }.workspace-visual { position: absolute; right: -110px; top: 38px; transform: scale(.66); opacity: .46; pointer-events: none; }.welcome-actions { gap: 10px; margin-top: 21px; }.welcome-actions .button { padding: 10px 13px; font-size: 11px; }.welcome-actions .text-button { font-size: 10px; }.welcome-copy > p { position: relative; z-index: 2; }.desktop-break { display: none; }
  .section-heading { margin-top: 23px; }.section-heading h2 { font-size: 14px; }.section-heading > span { font-size: 9px; }
  .stat-grid { gap: 12px; margin-bottom: 21px; }.stat-card { padding: 17px 16px; min-height: 140px; border-radius: 16px; }.stat-label { font-size: 11px; }.stat-value { font-size: 23px; margin-top: 12px; }.stat-icon { width: 28px; height: 28px; border-radius: 9px; }.stat-icon .icon { width: 16px; height: 16px; }.stat-foot { font-size: 10px; }
  .panel { border-radius: 17px; }.panel-head, .panel-body { padding: 21px; }.panel-head p { font-size: 11px; }.panel-head h2 { font-size: 17px; }.setup-panel .panel-head { padding: 22px 20px 19px; }.setup-panel .panel-head p { max-width: 195px; }.setup-panel .badge { font-size: 9px; padding: 4px 7px; }.setup-steps { padding: 0 18px 20px; }.setup-step { padding: 16px 12px; gap: 12px; }.step-content { gap: 5px 8px; }.step-content > strong { font-size: 12px; }.step-content > span { font-size: 10px; }.step-number { width: 26px; height: 26px; }.optional-label { font-size: 8px; margin-left: 3px; }
  .quick-card { border-radius: 14px; padding: 17px; }.quick-card h3 { font-size: 13px; }.quick-card p { font-size: 10px; }.section-note { font-size: 10px; line-height: 1.9; margin-top: 20px; }
  .page-heading { margin-bottom: 22px; gap: 12px; }.page-heading h1 { font-size: 26px; }.page-heading p { font-size: 12px; }.page-heading .eyebrow { font-size: 9px; }.heading-actions .button { font-size: 11px; padding: 8px 11px; }
  input, select, textarea { font-size: 16px; }.account-picker select { font-size: 12px; }.auth-banner { padding: 18px; }.auth-banner form { flex-direction: column; }.auth-banner .button { width: 100%; }.auth-banner input { width: 100%; }
  .target-banner { margin-bottom: 17px; }.account-actions { gap: 8px; }.account-actions .button { padding: 9px 12px; font-size: 11px; }.qr-box { padding: 20px; min-height: 250px; }.info-list p { font-size: 12px; }
  .toolbar { gap: 9px; }.toolbar select { flex-basis: 100%; min-width: 0; }.toolbar .button { flex: 1; }.toolbar .spacer { display: none; }.toolbar > .badge { order: -1; }.toolbar > .badge::before { content: "连接状态："; }
  .stream { height: 340px; padding: 5px 18px; }.message { grid-template-columns: 53px minmax(50px, 75px) minmax(0, 1fr); gap: 8px; font-size: 11px; }.message time { font-size: 9px; }.send-bar { gap: 8px; padding: 15px; }.send-bar input { font-size: 14px; }.send-bar .button { font-size: 11px; padding: 9px 11px; }
  .settings-row { padding: 21px; gap: 15px; }.settings-row > div { flex-basis: 100%; }.settings-row p { font-size: 11px; }.send-limit-field { padding: 0 21px 21px; }.send-limit-field .hint { font-size: 11px; }
  .inline-form { gap: 9px; }.inline-form .button { flex-shrink: 0; }.inline-form input { min-width: 140px; }
  th, td { padding: 15px 18px; }.table-wrap table { min-width: 570px; }
  #plugin-list table { display: block; min-width: 0; }#plugin-list thead { display: none; }#plugin-list tbody { display: block; }#plugin-list tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 13px; padding: 21px; border-bottom: 1px solid var(--border); }#plugin-list tr:last-child { border: 0; }#plugin-list td { padding: 0; border: 0; min-width: 0; }#plugin-list td:nth-child(1) { grid-column: 1; grid-row: 1; }#plugin-list td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }#plugin-list td:nth-child(3) { grid-column: 2; grid-row: 1; }#plugin-list td:nth-child(4) { grid-column: 1 / -1; grid-row: 3; font-size: 10px; }#plugin-list td:nth-child(4)::before { content: "有效期："; }#plugin-list td:nth-child(5) { grid-column: 1 / -1; grid-row: 4; }#plugin-list .table-actions { border-top: 1px solid #dce6db; padding-top: 10px; gap: 16px; }#plugin-list .plugin-name { font-size: 13px; }#plugin-list .plugin-name small { max-width: none; font-size: 11px; }
  .catalog-heading { margin-top: 29px; }.catalog-heading > span { display: none; }.catalog-heading h2 { font-size: 18px; }.bot-card { padding: 24px; }.bot-card > .button { width: 100%; }
  .empty { padding: 35px 20px; }.empty p { font-size: 11px; }.code-panel { padding: 17px; font-size: 10px; }.docs-grid { gap: 20px; }.endpoint { gap: 8px; }
  dialog { border-radius: 19px; max-height: 90dvh; }.dialog-body { padding: 24px 21px; }.dialog-body h2 { font-size: 19px; }.dialog-actions .button { font-size: 11px; padding: 9px 13px; }.token-field { flex-wrap: wrap; }.token-field input { flex-basis: 100%; }
  .console-user-row { flex-direction: column; align-items: flex-start; gap: 13px; }.console-panel { padding: 21px; }.console-actions { gap: 10px; }
  #toast { left: 50%; bottom: 20px; width: max-content; max-width: calc(100vw - 34px); text-align: center; font-size: 11px; }
}
@media (max-width: 380px) {
  main { padding-left: 15px; padding-right: 15px; }.topbar { padding-left: 15px; padding-right: 15px; }.top-actions { gap: 8px; }.top-actions .text-button { font-size: 10px; }.account-picker select { max-width: 130px; }.account-picker > span { display: none; }.welcome-panel { padding: 25px 21px; }.workspace-visual { opacity: .22; }.welcome-actions { gap: 8px; }.welcome-actions .button { font-size: 10px; padding: 9px 11px; }.welcome-actions .text-button { font-size: 9px; }.stat-grid { gap: 10px; }.stat-card { padding: 16px 13px; }.stat-label { font-size: 10px; }.stat-value { font-size: 22px; }.stat-foot { font-size: 9px; }.setup-step { gap: 9px; padding-left: 10px; padding-right: 10px; }.step-content > strong { font-size: 11px; }.step-content > span { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
