*{box-sizing:border-box}
:root{--bg:#f5f7fb;--card:#fff;--dark:#101728;--muted:#8994a7;--text:#1d2940;--border:#e8edf4;--accent:#6a5ce8;--accent-light:#efedff;--good:#20bd92;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft Yahei",sans-serif}
html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-size:13px;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}h1,h2,h3,p{margin:0}h1{letter-spacing:-1.2px;font-size:clamp(28px,3.4vw,40px);line-height:1.25;font-weight:790}h2{letter-spacing:-.4px;font-size:17px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4;transform:none!important}
:focus-visible{outline:3px solid #b8b2fb;outline-offset:3px}
.eyebrow{color:#7569ea;letter-spacing:2px;font-size:10px;font-weight:850}.eyebrow.light{color:#a8a6ff}
.shell{min-height:100vh;display:flex}
.sidebar{background:#101728;color:#bdc5d6;width:250px;flex:none;height:100vh;position:sticky;top:0;padding:29px 16px 23px;display:flex;flex-direction:column;z-index:10}
.wordmark{display:flex;align-items:center;gap:11px;padding:0 10px;margin-bottom:39px;font-size:22px;font-weight:850;letter-spacing:1.1px;color:white}
.wordmark small{display:block;font-size:9px;letter-spacing:2.5px;color:#a1aac0;margin-top:2px}
.wordmark-icon{width:40px;height:40px;display:grid;place-items:center;color:white;font-size:26px;border-radius:13px;background:linear-gradient(140deg,#b8a5ff,#6558e4);box-shadow:0 12px 28px #675ce83f}
.scope{border:1px solid #313b51;background:#202a3c;border-radius:15px;padding:19px 17px;margin-bottom:26px;display:flex;flex-direction:column;gap:8px;min-width:0}
.scope span,.scope small{font-size:9px;color:#939fb3;letter-spacing:1.6px;font-weight:760}
.scope strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px;color:white}
.nav{display:flex;flex-direction:column;gap:5px}
.nav a{display:flex;gap:14px;align-items:center;padding:13px 14px;color:#a9b4c7;border-radius:11px;font-size:13px;font-weight:580;transition:.18s}
.nav a:hover{color:#fff;background:#283248}
.nav a.active{background:linear-gradient(90deg,#6559e3,#7d6bf1);color:white;box-shadow:0 10px 25px #29257677}
.nav-symbol{font-size:21px;width:21px;text-align:center;font-weight:400}
.sidebar-foot{border-top:1px solid #30394a;margin-top:auto;padding:22px 10px 0;font-size:11px}
.sidebar-foot small{display:block;color:#7787a0;margin:8px 0 0 13px;line-height:1.6}.status-dot{width:7px;height:7px;border-radius:50%;background:#47c4a3;display:inline-block;margin-right:5px}
.main{width:calc(100% - 250px);min-width:0}
.topbar{background:#fff;height:76px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 42px}
.crumb{font-size:12px;color:#a1aabb}.crumb b{color:#324158}
.account{display:flex;align-items:center;gap:15px}.now{white-space:nowrap;color:#9aa4b3;font-size:11px}.avatar{border-radius:10px;background:#efedff;width:34px;height:34px;display:grid;place-items:center;color:#6156cf;font-weight:800}.signout{border:0;background:none;color:#8190a5;padding:5px}
.content{margin:auto;max-width:1500px;padding:38px 40px 0}
.heading{margin-bottom:29px}.heading .eyebrow{display:block;margin-bottom:13px}.heading p{font-size:13px;color:#7d899d;margin-top:11px;line-height:1.85;max-width:900px}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}.stat{min-height:145px;border-radius:17px;padding:24px;background:var(--card);border:1px solid var(--border);box-shadow:0 10px 32px #1b274409;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.stat span{color:#8793a5;font-size:12px}.stat strong{font-size:30px;font-weight:780;line-height:1.25;letter-spacing:-1px;overflow-wrap:anywhere}.stat small{color:#a0aabc;font-size:11px;line-height:1.5}
.layout-2{display:grid;grid-template-columns:1fr .95fr;gap:19px;align-items:start}.layout-2.wide-left{grid-template-columns:1.22fr .78fr}
.panel{background:white;border:1px solid var(--border);border-radius:19px;padding:25px;min-width:0;margin-bottom:20px;box-shadow:0 9px 32px #1a284209}
.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:23px}.panel-head p,.panel>p{font-size:12px;color:#909bac;line-height:1.7;margin-top:7px}.panel-head .text-link{white-space:nowrap}.text-link{font-size:11px;color:#6a59e4;font-weight:750}.text-link:hover{text-decoration:underline}.text-link.standalone{display:inline-block;margin-top:24px}
.onboard-steps{display:flex;flex-direction:column;gap:0}.onboard-steps>div{display:flex;gap:15px;padding:15px 0;border-bottom:1px solid #eef1f6}.onboard-steps>div:last-child{border:0}.onboard-steps>div>span{width:42px;height:42px;border-radius:11px;flex:none;background:#f1efff;color:#675ae0;font-size:12px;font-weight:820;display:grid;place-items:center}.onboard-steps strong{font-size:13px;display:block;margin:2px 0 6px}.onboard-steps small{font-size:11px;color:#96a0b0;line-height:1.6}
.dark-panel{background:radial-gradient(ellipse at 92% 5%,#45457f 0%,#222943 43%,#151d30 100%);color:#fff;min-height:315px;padding:34px;overflow:hidden;position:relative}
.dark-panel:after{content:"";width:220px;height:220px;border:1px solid #ffffff20;box-shadow:0 0 0 46px #ffffff08,0 0 0 92px #ffffff05;border-radius:50%;position:absolute;bottom:-126px;right:-85px}
.dark-panel h2{font-size:25px;line-height:1.4;margin:20px 0;max-width:350px}
.dark-panel p{color:#b9c3d3;font-size:13px;line-height:1.85;max-width:385px}
.dark-pill{display:inline-flex;margin-top:30px;border:1px solid #6e6c9d;background:#ffffff0b;color:#d0c9ff;border-radius:9px;font-size:10px;padding:11px 14px;font-weight:700}
.health-list{display:flex;flex-direction:column}.health-list>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid #eef1f6;font-size:12px}.health-list>div:last-child{border:0}.health-list span{color:#8e9bad}.health-list strong{text-align:right;font-size:11px;font-weight:700;overflow-wrap:anywhere}
.shortcut-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.shortcut-grid a{border:1px solid #ecedf6;border-radius:14px;padding:20px 17px;display:flex;flex-direction:column;gap:10px;transition:.15s;min-width:0}.shortcut-grid a:hover{border-color:#bbb6ff;transform:translateY(-2px);box-shadow:0 12px 28px #6058dd13}.shortcut-grid span{font-size:22px;color:#6a5fe6}.shortcut-grid strong{font-size:13px}.shortcut-grid small{font-size:11px;color:#9aabc0}
.form-grid{display:flex;flex-direction:column;gap:17px}.form-grid label,.campaign-schedule label:not(.check-line){display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:710;color:#4c5a70}
.form-grid input:not([type=checkbox]),.form-grid textarea,.form-grid select,.campaign-schedule input:not([type=checkbox]),.workspace-controls select{border:1px solid #e2e8f0;background:#fcfdff;border-radius:11px;padding:13px 14px;width:100%;min-height:45px;color:#25344b;outline:none;transition:.15s}
.form-grid input:focus,.form-grid textarea:focus,.workspace-controls select:focus{border-color:#a9a1ff;box-shadow:0 0 0 3px #f0eeff;background:white}
.form-grid input::placeholder,.form-grid textarea::placeholder{color:#abb5c3}
.form-grid textarea{line-height:1.8;resize:vertical}
.primary,.secondary{width:100%;border:0;padding:14px 17px;min-height:48px;border-radius:11px;font-size:12px;font-weight:790;display:flex;align-items:center;justify-content:space-between;gap:10px;transition:.14s}
.primary{color:white;background:linear-gradient(110deg,#6559e6,#8071ed);box-shadow:0 10px 23px #645ae333}.primary:hover,.secondary:hover{transform:translateY(-1px)}
.primary span{font-size:21px}.secondary{background:#f0eeff;color:#6255d2}
.small-primary,.small-outline,.small-danger{border-radius:9px;font-size:11px;font-weight:750;padding:10px 12px;border:0;white-space:nowrap}.small-primary{background:#6659e7;color:white}.small-outline{background:#f0eeff;color:#6155d5}.small-danger{background:#fff0f0;color:#b24a57;border:1px solid #ffe3e4}
.pill{border-radius:18px;background:#f0eeff;color:#675bd7;display:inline-flex;align-items:center;padding:7px 10px;font-size:10px;font-weight:770;white-space:nowrap}
.tiny-count{border-radius:8px;background:#eeecff;color:#695be1;font-size:11px;padding:3px 8px}.pill-group{display:flex;flex-wrap:wrap;gap:10px}.muted{font-size:12px;color:#98a3b2}
.notice{font-size:11px;color:#676b8c;background:#f8f7ff;border-left:3px solid #aaa2ff;line-height:1.8;padding:12px 14px;border-radius:0 9px 9px 0}
.check-line{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:9px!important;line-height:1.65!important;font-size:11px!important;color:#616f85!important;font-weight:500!important}
.check-line input{flex:none;margin:2px 0;accent-color:#6c5ce6}
.workspace-item{display:flex;align-items:flex-start;gap:13px;border-bottom:1px solid #edf0f6;padding:16px 0}
.workspace-item:last-child{border-bottom:0}.workspace-avatar{flex:none;width:43px;height:43px;display:grid;place-items:center;background:#efedff;color:#6a59e3;border-radius:13px;font-weight:800;font-size:19px}
.workspace-info{flex:1;min-width:0}.workspace-info strong{display:block;font-size:13px}.workspace-info small{display:block;margin:7px 0;color:#929caf;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.workspace-controls{display:flex;flex-direction:column;gap:9px;align-items:flex-end}.workspace-controls select{min-height:37px;padding:8px 9px;font-size:11px;width:115px}.toggle-form{display:flex;align-items:flex-end;gap:5px;flex-direction:column}
.confirm-mini{display:flex;gap:5px;font-size:10px;color:#7f8999}.confirm-mini input{accent-color:#6e5ff0}
.empty{min-height:215px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:25px 10px;gap:10px}.empty>span{font-size:35px;color:#8b80ee}.empty strong{font-size:14px;color:#3b4a62}.empty p{font-size:12px;color:#97a0b1;line-height:1.65}
.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:11px}td,th{text-align:left;padding:15px 12px;border-bottom:1px solid #edf0f6}th{color:#96a0af;font-weight:700}td{color:#425168}tr:last-child td{border:0}
.bot-identity{display:flex;gap:15px;align-items:center;margin-bottom:20px}.bot-identity strong{font-size:17px;display:block}.bot-identity small{display:block;color:#929bab;margin-top:7px}.large-bot-icon{width:54px;height:54px;display:grid;place-items:center;color:white;background:#7465e8;font-size:30px;border-radius:18px}
.section-break{border-top:1px solid #edf0f6;margin-top:24px;padding-top:21px}.section-break p{font-size:11px;color:#8a94a6;margin:6px 0 20px}
.command-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.command-grid>div{border:1px solid #e9edf5;border-radius:14px;padding:18px}.command-grid code{border-radius:7px;padding:6px 8px;background:#eeecff;color:#6455dc;font-size:12px;display:inline-block;margin-bottom:16px}.command-grid strong{display:block;font-size:12px}.command-grid p{font-size:11px;line-height:1.7;color:#93a0b0;margin-top:7px}
.campaign{border-bottom:1px solid #edf0f6;padding:19px 0}.campaign:last-child{border:0}.campaign-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.campaign-top strong{font-size:13px}.campaign p{color:#708094;font-size:12px;margin:12px 0;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.campaign-meta{font-size:10px;line-height:1.75;color:#98a4b2;margin-bottom:10px}.campaign-schedule{border:1px solid #edeafb;border-radius:12px;padding:14px;margin:14px 0;background:#fbfbff;display:flex;flex-direction:column;align-items:flex-start;gap:11px}.campaign-schedule label{font-size:11px}.campaign-schedule input{max-width:310px}.campaign-schedule .small-primary{margin:0}.campaign>form>.small-danger{margin-top:7px}
.flash{padding:13px 17px;border-radius:11px;color:#198769;background:#e9f8f2;margin-bottom:21px;font-size:12px;font-weight:700}.flash.error{color:#ab4f58;background:#fff0f0}
.security-panel{max-width:590px}.footer{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#a6b0bf;padding:30px 0 25px;font-size:10px}
.login{display:grid;grid-template-columns:1.04fr .96fr;min-height:100vh;background:white}.login-visual{background:radial-gradient(ellipse at 28% 15%,#424480 0%,#1c2741 50%,#10192b 100%);color:white;display:flex;flex-direction:column;position:relative;overflow:hidden;padding:44px 10%}.login-brand{color:white;font-size:22px;font-weight:900;letter-spacing:1px}.login-brand>span{font-size:27px;margin-right:7px;color:#bcb2ff}.login-brand small{font-size:9px;letter-spacing:2.3px;color:#a3afd0;margin-left:6px}
.login-visual-inner{margin:auto 0;position:relative;z-index:1}.login-visual-inner h1{font-size:clamp(42px,5vw,72px);line-height:1.22;letter-spacing:-2.5px;margin:14px 0 23px}.login-visual-inner p{font-size:14px;color:#b6c2d6;line-height:2;max-width:440px}.login-footer{font-size:10px;letter-spacing:1.1px;color:#8395b3}.login-footer span{margin:0 12px}.orbit{height:150px;position:relative}.orb{border-radius:50%;position:absolute;border:1px solid #b2a9ff44}.orb-a{width:135px;height:135px;left:40px;top:9px;box-shadow:0 0 0 23px #ffffff06,0 0 0 48px #ffffff06,0 0 0 74px #ffffff03}.orb-b{width:55px;height:55px;left:183px;top:5px;background:linear-gradient(135deg,#a7a3ff,#7160d2);box-shadow:0 10px 28px #6752d855}.orbit-logo{left:88px;top:48px;position:absolute;z-index:1;font-size:33px;color:white}
.login-form-pane{display:grid;place-items:center;padding:42px}.login-form-wrap{width:min(400px,100%)}.login-form-icon{width:44px;height:44px;background:#efedff;color:#6459d4;border-radius:14px;display:grid;place-items:center;font-size:25px;margin-bottom:36px}.login-form-wrap h2{font-size:30px;letter-spacing:-1px;margin:12px 0}.login-form-wrap>p{font-size:13px;color:#909aaa;margin-bottom:35px;line-height:1.8}.login-form-wrap .form-grid{gap:20px}.login-form-wrap .primary{margin-top:8px}.login-caption{font-size:11px;color:#a6afbd;margin-top:27px}
@media(max-width:1280px){.sidebar{width:218px}.main{width:calc(100% - 218px)}.topbar{padding:0 25px}.content{padding:33px 25px 0}.shortcut-grid,.command-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.sidebar{width:76px;padding:22px 8px}.wordmark{justify-content:center;margin:0 0 40px;padding:0}.wordmark>span:last-child,.scope,.nav a span:last-child,.sidebar-foot{display:none}.nav a{justify-content:center;padding:12px 0}.nav-symbol{font-size:23px;width:26px}.main{width:calc(100% - 76px)}.layout-2,.layout-2.wide-left{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.workspace-controls{min-width:120px}}
@media(max-width:650px){.shell{display:block}.sidebar{width:100%;height:61px;position:sticky;top:0;flex-direction:row;justify-content:space-between;align-items:center;overflow:auto;padding:7px 12px}.wordmark{margin:0}.wordmark-icon{width:38px;height:38px}.nav{flex-direction:row;align-items:center;gap:2px}.nav a{padding:7px 9px}.nav-symbol{font-size:20px}.main{width:100%}.topbar{height:57px;padding:0 15px}.now{display:none}.account{gap:9px}.content{padding:25px 14px 0}.heading{margin-bottom:22px}.heading h1{font-size:30px}.panel{padding:20px 16px;border-radius:15px}.stat{padding:17px;border-radius:14px;min-height:123px}.stats{gap:10px}.stat strong{font-size:27px}.shortcut-grid,.command-grid{grid-template-columns:1fr 1fr;gap:9px}.command-grid>div,.shortcut-grid a{padding:15px}.workspace-item{flex-wrap:wrap}.workspace-controls{width:100%;margin-left:57px;flex-direction:row;justify-content:space-between;align-items:center}.toggle-form{flex-direction:row;align-items:center}.footer{flex-direction:column;align-items:flex-start}.panel-head{flex-wrap:wrap}.login{display:block;min-height:100vh}.login-visual{min-height:270px;padding:30px 28px}.login-visual-inner h1{font-size:34px;letter-spacing:-1.2px;margin:12px 0}.login-visual-inner p{font-size:11px;line-height:1.8}.orbit{display:none}.login-brand{font-size:18px;margin-bottom:30px}.login-footer{display:none}.login-form-pane{padding:33px 27px 60px}.login-form-icon{display:none}.login-form-wrap h2{font-size:25px}.health-list>div{align-items:flex-start}.campaign-schedule input{max-width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

/* Internal system login: compact, centered, no marketing split-screen. */
.simple-login{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:28px 18px;background:#f5f7fb;gap:27px}
.login-card{width:100%;max-width:440px;padding:42px 41px 38px;border:1px solid #e4e9f1;border-radius:16px;background:#fff;box-shadow:0 16px 55px rgba(21,36,68,.06)}
.login-card-brand{display:flex;align-items:center;gap:12px}.login-card-brand strong{display:block;font-size:15px;letter-spacing:-.2px;color:#1d2940}.login-card-brand span{display:block;font-size:11px;color:#929eaf;letter-spacing:.15px;margin-top:4px}
.login-symbol{width:39px;height:39px;border-radius:10px;background:#6259d7;color:white;display:grid;place-items:center;font-size:22px}
.login-card-heading{margin:36px 0 30px}.login-card-heading h1{font-size:25px;letter-spacing:-.5px}.login-card-heading p{margin-top:9px;color:#8a96a8;line-height:1.75;font-size:12px}
.login-fields{gap:19px}.login-fields label{font-size:12px}.login-fields input:not([type=checkbox]){height:47px;border-radius:9px;background:#fcfdff}
.login-button{margin-top:5px;justify-content:center;position:relative;box-shadow:none;background:#655cde;border-radius:9px;font-size:13px;min-height:47px}.login-button span{position:absolute;right:18px;font-size:21px}
.login-bottom{font-size:11px;color:#a1abba;text-align:center}
.domain-item{padding:16px 0;border-bottom:1px solid #edf0f6;display:flex;align-items:flex-start;gap:12px}.domain-item:last-child{border-bottom:none}
.domain-dot{width:35px;height:35px;flex:none;display:grid;place-items:center;background:#f0eeff;color:#6c60d5;border-radius:11px;font-weight:800}
.domain-info{flex:1;min-width:0}.domain-info>strong{display:block;overflow-wrap:anywhere;font-size:13px}.domain-info>small{display:block;color:#929eaf;margin:7px 0;font-size:11px;line-height:1.55}.domain-info .text-link{display:inline-block;margin-top:4px}
.dns-guide{margin-top:12px;padding:11px 13px;border-radius:9px;background:#f6f8fc;line-height:1.85;font-size:11px;color:#78849b;overflow-wrap:anywhere}
.dns-guide code{color:#465d9c;font-size:10px}.domain-info .domain-error{color:#ad5959}
@media(max-width:650px){.simple-login{padding:20px 14px}.login-card{padding:32px 24px;border-radius:14px}.login-card-heading{margin:30px 0 25px}.domain-item{flex-wrap:wrap}.domain-info{min-width:calc(100% - 50px)}}


/* TYPOGRAPHY V4 — legible admin UI, Chinese-first, no presentation cards */
:root {
  font-family: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --text:#202c41;
  --muted:#63738a;
  --bg:#f6f8fc;
}
html { font-size:16px; }
body { font-family:inherit; font-size:16px; line-height:1.65; color:var(--text); }
button,input,select,textarea { font-family:inherit; font-size:15px; }
button, a { -webkit-tap-highlight-color:transparent; }
h1 { font-size:clamp(29px,3vw,36px); font-weight:750; letter-spacing:-.75px; line-height:1.35; }
h2 { font-size:20px; font-weight:720; letter-spacing:-.25px; line-height:1.4; }
.eyebrow { font-size:12px; letter-spacing:1.05px; font-weight:720; }
.wordmark { font-size:23px; letter-spacing:.35px; }
.wordmark small { font-size:11px; letter-spacing:1.15px; }
.scope span,.scope small { font-size:12px; letter-spacing:.45px; }
.scope strong { font-size:16px; }
.nav a { font-size:15px; font-weight:600; min-height:48px; gap:13px; }
.nav-symbol { font-size:22px; }
.sidebar-foot { font-size:12px; }
.sidebar-foot small { font-size:12px; color:#a0adc0; }
.crumb { font-size:14px; }
.now,.signout { font-size:13px; }
.signout { font-weight:600; }
.heading { margin-bottom:26px; }
.heading .eyebrow { margin-bottom:10px; }
.heading p { font-size:15px; color:#64738a; line-height:1.75; max-width:1000px; }
.stats { gap:16px; margin-bottom:22px; }
.stat { padding:23px 24px; min-height:146px; gap:8px; }
.stat span { font-size:14px; color:#64748b; font-weight:550; }
.stat strong { font-size:32px; font-weight:760; letter-spacing:-.7px; }
.stat small { font-size:13px; color:#78879b; line-height:1.65; }
.panel { padding:26px 28px; margin-bottom:21px; }
.panel-head { margin-bottom:19px; }
.panel-head p,.panel>p { font-size:14px; line-height:1.7; color:#75849a; }
.text-link { font-size:14px; font-weight:650; }
.onboard-steps strong { font-size:16px; }
.onboard-steps small { font-size:13px; color:#6c7a8f; line-height:1.6; }
.onboard-steps>div>span { font-size:14px; width:44px; height:44px; }
.setup-panel .onboard-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.setup-panel .onboard-steps>div {
  border:1px solid #e8edf5; border-radius:12px; padding:18px; gap:12px; align-items:flex-start;
  min-width:0; background:#fbfcff;
}
.setup-panel .onboard-steps>div:last-child { border:1px solid #e8edf5; }
.setup-panel .onboard-steps>div>div { min-width:0; }
.health-list>div { padding:16px 0; font-size:14px; }
.health-list span { font-size:14px; color:#66768b; }
.health-list strong { font-size:14px; font-weight:620; }
.shortcut-grid strong { font-size:15px; }
.shortcut-grid small { font-size:13px; color:#6d7c91; }
.shortcut-grid a { padding:22px 18px; }
.form-grid label,.campaign-schedule label:not(.check-line) { font-size:14px; gap:9px; font-weight:640; }
.form-grid input:not([type=checkbox]),.form-grid textarea,.form-grid select,
.campaign-schedule input:not([type=checkbox]),.workspace-controls select {
  font-size:16px; min-height:48px; color:#27364c; background:#fff;
}
.form-grid input::placeholder,.form-grid textarea::placeholder { color:#8797ac; }
.form-grid textarea { line-height:1.75; }
.primary,.secondary { font-size:15px; min-height:49px; font-weight:700; }
.small-primary,.small-outline,.small-danger { font-size:13px; padding:11px 14px; }
.pill { font-size:12px; padding:7px 11px; }
.tiny-count,.muted { font-size:13px; }
.notice { font-size:13px; line-height:1.85; color:#5f6986; }
.check-line { font-size:13px!important; }
.workspace-info strong { font-size:15px; }
.workspace-info small { font-size:13px; color:#78879b; }
.workspace-controls select { font-size:14px; min-height:42px; width:130px; }
.confirm-mini { font-size:12px; }
.empty strong { font-size:16px; }
.empty p { font-size:14px; color:#75849b; }
table { font-size:14px; line-height:1.55; }
td,th { padding:16px 14px; }
th { font-size:13px; color:#6d7e92; font-weight:710; }
td { color:#38475e; }
.bot-identity strong { font-size:19px; }
.bot-identity small { font-size:13px; }
.section-break p { font-size:14px; }
.command-grid code { font-size:14px; }
.command-grid strong { font-size:15px; }
.command-grid p { font-size:13px; }
.campaign-top strong { font-size:15px; }
.campaign p { font-size:14px; }
.campaign-meta,.campaign-schedule label { font-size:13px; }
.login-card { max-width:460px; padding:41px 40px 39px; }
.login-card-brand strong { font-size:17px; }
.login-card-brand span { font-size:13px; }
.login-card-heading h1 { font-size:28px; }
.login-card-heading p { font-size:14px; color:#68778c; }
.login-fields label { font-size:14px; }
.login-fields input:not([type=checkbox]) { min-height:51px; font-size:16px; }
.login-button { font-size:16px; min-height:51px; }
.login-bottom { font-size:13px; }
.domain-info>strong { font-size:15px; }
.domain-info>small { font-size:13px; }
.dns-guide { font-size:13px; }
.dns-guide code { font-size:12px; }

@media (max-width:1100px) {
  .setup-panel .onboard-steps { grid-template-columns:1fr; gap:0; }
  .setup-panel .onboard-steps>div { background:transparent; border:0; border-radius:0; padding:16px 0; border-bottom:1px solid #e8edf5; }
  .setup-panel .onboard-steps>div:last-child { border:0; }
}
@media (max-width:650px) {
  html,body { font-size:15px; }
  .heading h1 { font-size:28px; }
  .heading p { font-size:14px; }
  h2 { font-size:18px; }
  .panel { padding:20px 17px; }
  .stats { gap:10px; }
  .stat { padding:17px; min-height:133px; }
  .stat span { font-size:13px; }
  .stat strong { font-size:27px; }
  .stat small { font-size:12px; }
  .sidebar .nav a { min-height:42px; padding:8px 9px; }
  .nav-symbol { font-size:21px; }
  .topbar .crumb { font-size:12px; }
  .onboard-steps strong { font-size:15px; }
  .onboard-steps small { font-size:13px; }
  .setup-panel .onboard-steps>div { gap:12px; }
  .health-list span,.health-list strong { font-size:13px; }
  .form-grid input:not([type=checkbox]),.form-grid textarea,.form-grid select { font-size:16px; }
  .shortcut-grid strong { font-size:14px; }
  .shortcut-grid small { font-size:12px; }
  .login-card { padding:33px 26px; }
  .login-card-heading h1 { font-size:26px; }
}

/* Telegram feature modules: larger readable controls */
.template-record{padding:19px 0;border-bottom:1px solid #edf1f7}
.template-record:last-child{border-bottom:0}
.template-record p{margin:10px 0;color:#5d7087;font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.template-extra{font-size:12px!important;overflow-wrap:anywhere;color:#7e88aa!important}
.telegram-buttons-preview{background:#f2f5fb;border:1px solid #e4e9f5;border-radius:10px;padding:13px 15px;white-space:pre-wrap;overflow-wrap:anywhere;color:#43536a;font-size:13px;line-height:1.8;margin:12px 0}
.template-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:13px}
.template-actions form{margin:0}
.button-record{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 0;border-bottom:1px solid #e9edf3}
.button-record:last-child{border-bottom:0}
.button-record strong{font-size:15px}
.button-record p,.button-record small{font-size:13px;color:#738199;margin:6px 0;line-height:1.6}
.button-record code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;color:#5f56ae;background:#f1efff;padding:8px 10px;border-radius:7px;margin-top:9px;font-size:12px}
.button-record form{max-width:190px;flex:none}
.miniuser-edit{min-width:230px;margin:13px 0;background:#f8faff;border-radius:12px;padding:14px}
.miniuser-edit input{width:100%}
.user-search{display:flex;gap:12px;margin-bottom:16px}
.user-search input{min-height:48px;flex:1;min-width:0;border-radius:10px;border:1px solid #e0e6f0;padding:12px 14px;font-size:15px}
.user-search button{width:auto;padding:0 28px}
.table-sub{margin-top:6px;font-size:13px;color:#77859a}
table details{max-width:240px}
table summary{cursor:pointer;color:#5d5bc6;font-size:13px}
.pager{display:flex;gap:14px;align-items:center;justify-content:center;margin-top:23px;font-size:14px}
.pager a{color:#6e58dc;font-weight:700}
.template-chooser{padding:14px;background:#f6f7ff;border-radius:12px;margin:18px 0}
@media(max-width:650px){
 .user-search{flex-direction:column}
 .user-search button{width:100%}
 .button-record{flex-wrap:wrap}
 .button-record form{margin-left:auto}
 .miniuser-edit{min-width:220px}
 .template-actions .small-primary,.template-actions .small-outline,.template-actions .small-danger{white-space:normal}
}

/* Uploaded media tools: customer site only */
.upload-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px}
.upload-row select,.upload-row input{border:1px solid #dfe5ee;border-radius:9px;padding:11px 12px;font-size:14px;min-height:45px;max-width:100%}
.upload-row input{flex:1;min-width:180px}
.media-copy-url{font-size:15px;width:100%;padding:12px;border:1px solid #dfe5ee;border-radius:8px;margin-top:10px;background:#fbfcff}
@media(max-width:650px){.upload-row{flex-direction:column;align-items:stretch}}
