@font-face{font-family:Space;src:url(/assets/space.woff2) format('woff2');font-weight:400 700;font-display:swap}
@font-face{font-family:Jet;src:url(/assets/mono.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:StudioCN;src:url(/assets/cn.woff2) format('woff2');font-weight:400 900;font-display:swap}
@font-face{font-family:StudioSerif;src:url(/assets/serif.woff2) format('woff2');font-weight:600 900;font-display:swap}

:root{
  color-scheme:light;
  --bg:#f3f1e9;
  --ink:#191a25;
  --muted:#555764;
  --muted-2:#606172;
  --accent:#303bb5;
  --on-accent:#ffffff;
  --line:#d0cfc8;
  --line-strong:#8b8c9d;
  --surface:#f8f6f0;
  --surface-2:#e7e9ff;
  --art:#eeedf8;
  --art-grid:#d5d6ed;
  --tint:#2937a3;
  --good:#206541;
  --warn:#8b4818;
  --radius:0px;
  --display:Space,StudioSerif,StudioCN,"Songti SC","PingFang SC",serif;
  --body:Space,StudioCN,"PingFang SC","Microsoft YaHei",sans-serif;
  --mono:Jet,"SFMono-Regular",Consolas,StudioCN,monospace;
  --gutter:clamp(20px,5vw,72px);
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body{margin:0;background:var(--bg);color:var(--ink);font:400 15.5px/1.7 var(--body);-webkit-font-smoothing:antialiased;overflow-x:clip}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;border:0;background:none}
h1,h2,h3,p,dl,dd,figure{margin:0}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
::selection{background:var(--accent);color:var(--on-accent)}

.shell{width:min(calc(100% - 2 * var(--gutter)),1280px);margin-inline:auto}
.mono,.eyebrow,.panel-kicker,.section-kicker{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-variant-numeric:tabular-nums}
main,.footer{position:relative;z-index:2}

/* Full-Page Blueprint Canvas, Progress & Aura */
.lp-canvas{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;opacity:.82}
.lp-progress{position:fixed;top:0;left:0;right:0;height:2px;z-index:60;background:var(--accent);transform-origin:0 50%;transform:scaleX(var(--scroll-p,0));pointer-events:none}
.lp-aura{position:fixed;inset:0;z-index:1;pointer-events:none;opacity:0;transition:opacity .35s}
@media(hover:hover) and (pointer:fine){
  .lp-aura.is-active{opacity:1;background:radial-gradient(460px circle at var(--cx,-300px) var(--cy,-300px),rgba(48,59,181,.065),transparent 65%)}
}

@keyframes ed-rise{from{opacity:0;transform:translateY(26px);letter-spacing:.03em;filter:blur(6px)}to{opacity:1;transform:none;letter-spacing:-.06em;filter:none}}
@keyframes ed-fade{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes ed-beam{0%{transform:translateX(-120%)}100%{transform:translateX(520%)}}
@keyframes ed-ticker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes ed-spin{to{transform:rotate(360deg)}}
@keyframes ed-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes ed-ripple{to{transform:scale(2.8);opacity:0}}
@keyframes ed-tab{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes ed-modal{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}
@keyframes ed-pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.35);opacity:.6}}

/* Editorial Masthead Header */
.ed-header{position:sticky;top:0;z-index:45;background:rgba(243,241,233,.88);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.ed-header-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:70px;gap:20px;border-bottom:2px solid var(--ink);position:relative;overflow:hidden}
.ed-header-inner::after{content:"";position:absolute;left:0;bottom:-2px;width:22%;height:2px;background:var(--accent);animation:ed-beam 6.5s cubic-bezier(.4,0,.2,1) infinite;pointer-events:none}
.brand{justify-self:start;display:inline-flex;align-items:center;gap:10px;font:700 20px/1 Space,var(--body);letter-spacing:-.05em;white-space:nowrap}
.brand-mark{display:grid;place-items:center;width:28px;height:28px;background:var(--ink);color:var(--bg);font:800 14px/1 var(--mono);transition:background .25s,transform .35s cubic-bezier(.22,1,.36,1)}
.brand:hover .brand-mark{background:var(--accent);transform:rotate(90deg)}
.brand small{font:400 10px/1 var(--mono);letter-spacing:.12em;color:var(--muted-2)}
.nav-links{display:flex;align-items:center;gap:clamp(16px,2.8vw,38px);font-size:13px;color:var(--muted)}
.nav-links a{position:relative;padding-block:4px;transition:color .2s}
.nav-links a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1.5px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .28s cubic-bezier(.16,1,.3,1)}
.nav-links a:hover{color:var(--accent)}
.nav-links a:hover::after{transform:scaleX(1)}
.nav-actions{justify-self:end;display:flex;align-items:center;gap:16px}
.text-link{font-size:13px;font-weight:700;color:var(--muted);transition:color .2s}
.text-link:hover{color:var(--accent)}

/* Sharp Editorial Buttons */
.button{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:0 20px;background:var(--accent);color:var(--on-accent);border:1px solid var(--accent);font-size:13.5px;font-weight:700;letter-spacing:.01em;transform:translate(var(--mag-x,0px),var(--mag-y,0px));transition:background .2s,color .2s,transform .25s cubic-bezier(.16,1,.3,1)}
.button:hover{background:var(--ink);border-color:var(--ink);transform:translate(var(--mag-x,0px),calc(var(--mag-y,0px) - 2px))}
.button::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 22%,rgba(255,255,255,.32) 50%,transparent 78%);transform:translateX(-125%);transition:transform .6s cubic-bezier(.16,1,.3,1);pointer-events:none}
.button:hover::after{transform:translateX(125%)}
.button-small{min-height:38px;padding:0 15px;font-size:12.5px}
.button-ghost{background:transparent;color:var(--ink);border:1px solid var(--line-strong)}
.button-ghost:hover{background:var(--surface-2);border-color:var(--accent);color:var(--accent)}
.button-full{width:100%}
.lp-ripple{position:absolute;border-radius:50%;background:currentColor;opacity:.22;transform:scale(0);animation:ed-ripple .6s cubic-bezier(.16,1,.3,1) forwards;pointer-events:none}

/* Editorial Hero */
.hero{display:grid;grid-template-columns:1.2fr .9fr;align-items:center;gap:clamp(28px,5vw,64px);padding:clamp(48px,7vw,92px) 0;border-bottom:1px solid var(--line)}
.eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--accent);margin-bottom:18px}
.status-dot{width:7px;height:7px;background:var(--accent);display:inline-block;animation:ed-pulse 2.4s ease-in-out infinite;flex:none}
.hero h1{font-family:var(--display);font-size:clamp(44px,5.6vw,78px);font-weight:800;line-height:1.12;letter-spacing:-.075em;margin-bottom:20px}
.hero h1 em{display:block;font-style:normal;color:var(--accent)}
.hero-lead{max-width:46ch;color:var(--muted);font-size:clamp(15px,1.35vw,17.5px);line-height:1.82}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.hero-proof{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:34px;padding-top:20px;border-top:1px solid var(--line)}
.proof-item strong{display:block;font-family:var(--display);font-size:20px;color:var(--ink)}
.proof-item span{font-size:11.5px;color:var(--muted-2)}

html.lp-motion .hero-copy .eyebrow{animation:ed-fade .6s cubic-bezier(.16,1,.3,1) .04s both}
html.lp-motion .hero-copy h1{animation:ed-rise .85s cubic-bezier(.16,1,.3,1) .08s both}
html.lp-motion .hero-lead{animation:ed-fade .7s cubic-bezier(.16,1,.3,1) .16s both}
html.lp-motion .hero-actions{animation:ed-fade .7s cubic-bezier(.16,1,.3,1) .24s both}
html.lp-motion .hero-proof{animation:ed-fade .7s cubic-bezier(.16,1,.3,1) .3s both}
html.lp-motion .ed-figure{animation:ed-fade .85s cubic-bezier(.16,1,.3,1) .14s both}

/* Editorial Figure (Live Architecture Diagram) */
.ed-figure{perspective:1000px}
.ed-fig-bar{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-block:1px solid var(--line-strong);color:var(--muted-2)}
.ed-fig-bar span:first-child{color:var(--accent);font-weight:700}
.ed-fig-stage{position:relative;aspect-ratio:1.18;background:var(--art);background-image:linear-gradient(var(--art-grid) 1px,transparent 1px),linear-gradient(90deg,var(--art-grid) 1px,transparent 1px);background-size:32px 32px;display:grid;place-items:center;padding:24px;overflow:hidden;transform:rotateX(var(--py,0deg)) rotateY(var(--px,0deg));transition:transform .35s cubic-bezier(.16,1,.3,1)}
.ed-fig-scan{position:absolute;inset:-40%;background:linear-gradient(115deg,transparent 44%,rgba(48,59,181,.11) 50%,transparent 56%);animation:ed-beam 6s cubic-bezier(.4,0,.2,1) infinite;pointer-events:none}
.ed-diagram{position:relative;z-index:1;width:100%;display:grid;gap:14px;animation:ed-float 6s ease-in-out infinite}
.ed-node{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;background:var(--surface);border:1px solid var(--line-strong)}
.ed-node.is-active{border-color:var(--accent);background:var(--surface-2)}
.ed-node strong{display:block;font-size:13.5px}
.ed-node small{display:block;font-size:11px;color:var(--muted-2)}
.ed-node-tag{padding:3px 8px;border:1px solid var(--accent);color:var(--accent);font:700 10px/1.2 var(--mono)}

/* Ticker */
.ticker{border-bottom:1px solid var(--line);background:var(--surface);overflow:hidden}
.ticker-inner{display:flex;align-items:center;gap:28px;height:48px;width:max-content;color:var(--muted-2);font:700 10px/1 var(--mono);letter-spacing:.14em;animation:ed-ticker 28s linear infinite}
.ticker-inner i{width:5px;height:5px;background:var(--accent);display:block}
.ticker:hover .ticker-inner{animation-play-state:paused}

/* Sections & Hairline-Joined Editorial Grids */
.section{padding-top:clamp(56px,7vw,92px)}
.section-kicker{border-top:1px solid var(--line);padding:12px 0;color:var(--accent)}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin:8px 0 28px}
.section-heading h2{font-family:var(--display);font-size:clamp(34px,4.6vw,58px);font-weight:800;line-height:1.1;letter-spacing:-.065em}
.section-heading h2 em{font-style:normal;color:var(--accent)}
.section-heading p{max-width:340px;color:var(--muted);font-size:13.5px;text-align:right}

.ed-grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.ed-cell{position:relative;padding:clamp(18px,2.2vw,28px);background:var(--surface);border:1px solid var(--line);display:flex;flex-direction:column;gap:12px;transition:background .25s}
.ed-cell+.ed-cell{border-left:0}
.ed-cell::before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .32s cubic-bezier(.16,1,.3,1)}
.ed-cell:hover{background:#fff}
.ed-cell:hover::before{transform:scaleX(1)}
.ed-cell-num{color:var(--accent);font:700 11px var(--mono)}
.ed-cell h3{font-family:var(--display);font-size:20px;letter-spacing:-.03em}
.ed-cell p{font-size:13px;color:var(--muted);line-height:1.7;flex:1}
.ed-cell-foot{padding-top:10px;border-top:1px solid var(--line);font:400 10px var(--mono);color:var(--muted-2)}

/* Flow */
.flow-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.flow-step{position:relative;padding:20px;border:1px solid var(--line);background:var(--surface);transition:border-color .25s,transform .25s}
.flow-step:hover{border-color:var(--accent);transform:translateY(-3px)}
.step-index{display:inline-grid;place-items:center;width:32px;height:32px;border:1px solid var(--accent);color:var(--accent);font:700 11px var(--mono);margin-bottom:14px}
.flow-step h3{font-family:var(--display);font-size:18px;margin-bottom:6px}
.flow-step p{font-size:13px;color:var(--muted)}

/* Downloads & Security */
.public-downloads{display:grid;grid-template-columns:.85fr 1.15fr;gap:32px;align-items:start}
.public-download-panel{padding:24px;border:1px solid var(--line-strong);background:var(--surface)}
.public-download-panel-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px;border-bottom:1px solid var(--line)}
.public-download-panel-head span{display:block;font:400 10px var(--mono);color:var(--muted-2)}
.public-download-panel-head strong{font-family:var(--display);font-size:18px}
.public-download-indicator{width:8px;height:8px;background:var(--good)}
.public-release-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}
.public-release-row:last-child{border-bottom:0}
.public-release-main strong{display:block;font-size:17px}
.public-release-main small,.public-release-main code{display:block;font-size:11.5px;color:var(--muted-2);margin-top:4px;overflow-wrap:anywhere}
.public-download-button{padding:10px 16px;border:1px solid var(--accent);color:var(--accent);font-size:12.5px;font-weight:700;white-space:nowrap;transition:background .2s,color .2s}
.public-download-button:hover{background:var(--accent);color:var(--on-accent)}

.security-panel{display:grid;grid-template-columns:1.1fr .9fr;gap:32px;align-items:center;padding:clamp(26px,4vw,48px);background:var(--accent);color:var(--on-accent)}
.security-panel .section-kicker{border-top:0;padding-top:0;color:rgba(255,255,255,.78)}
.security-panel h2{font-family:var(--display);font-size:clamp(30px,3.6vw,44px);margin-bottom:10px}
.security-panel p{color:rgba(255,255,255,.86);font-size:14px}
.security-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.security-points>div{padding:14px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08)}
.security-points span{display:block;font-size:16px;margin-bottom:6px}
.security-points strong{display:block;font-size:13px}
.security-points small{display:block;font-size:11px;color:rgba(255,255,255,.78);margin-top:3px}

.final-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:38px 0;margin-top:56px;border-top:1px solid var(--line)}
.final-cta h2{font-family:var(--display);font-size:clamp(26px,3.2vw,38px);letter-spacing:-.05em}
.footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding:22px 0 32px;border-top:2px solid var(--ink);font-size:12.5px;color:var(--muted)}
.footer>div{justify-self:end;display:flex;gap:18px}

html.lp-motion [data-reveal]{opacity:0;transform:translateY(26px);filter:blur(5px);transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1),filter .7s cubic-bezier(.16,1,.3,1)}
html.lp-motion [data-reveal].is-revealed{opacity:1;transform:none;filter:none}

/* Split Editorial Auth (Login & Register) */
.auth-page{min-height:100dvh;display:grid;place-items:center;padding:24px}
.auth-split{position:relative;z-index:2;width:min(1020px,100%);display:grid;grid-template-columns:1.05fr .95fr;border:2px solid var(--ink);background:var(--surface)}
.auth-showcase{padding:clamp(28px,4vw,46px);background:var(--accent);color:var(--on-accent);display:flex;flex-direction:column;justify-content:space-between;gap:28px}
.auth-showcase .brand-mark{background:var(--on-accent);color:var(--accent)}
.auth-showcase .eyebrow{color:rgba(255,255,255,.8);margin-bottom:10px}
.auth-showcase .status-dot{background:var(--on-accent)}
.auth-back{font:700 12px var(--mono);color:rgba(255,255,255,.85);width:fit-content}
.auth-back:hover{color:#fff}
.auth-hero-copy h2{font-family:var(--display);font-size:clamp(26px,3vw,36px);line-height:1.18;margin-bottom:10px}
.auth-hero-copy p{color:rgba(255,255,255,.84);font-size:13.5px}
.auth-feature-pills{display:grid;gap:10px}
.auth-feature-pills>div{display:flex;justify-content:space-between;gap:12px;padding:11px 14px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);font-size:12px}
.auth-panel{padding:clamp(28px,4vw,46px);display:flex;flex-direction:column;justify-content:center;background:var(--surface)}
.auth-card-top{display:flex;justify-content:space-between;align-items:center}
.auth-lock{font-size:16px;color:var(--accent)}
.auth-panel h1{font-family:var(--display);font-size:32px;letter-spacing:-.05em;margin:14px 0 6px}
.auth-panel>section>p{color:var(--muted);font-size:13px;margin-bottom:22px}
.auth-panel label{display:grid;gap:6px;margin-bottom:15px;font-size:12.5px;font-weight:700}
.auth-panel input,.modal-form input,.modal-form textarea,.modal-form select{width:100%;min-height:44px;padding:0 12px;border:1px solid var(--line-strong);background:#fff;color:var(--ink)}
.auth-panel input:focus,.modal-form input:focus,.modal-form textarea:focus{outline:none;border-color:var(--accent)}
.auth-switch{display:flex;gap:6px;justify-content:center;margin-top:18px;font-size:12.5px;color:var(--muted)}
.auth-switch button{color:var(--accent);font-weight:700}
.auth-note{margin-top:20px;font-size:11.5px;color:var(--muted-2)}
.form-error{margin-bottom:14px;padding:10px 12px;border:1px solid #b43e57;background:#fff1f4;color:#a02f49;font-size:12.5px}

/* Editorial Pro Workspace Dashboard */
.dash-layout{position:relative;z-index:2;display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100dvh}
.dash-sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;justify-content:space-between;padding:20px 16px;background:var(--surface);border-right:1px solid var(--line-strong)}
.sidebar-top{display:flex;align-items:center;justify-content:space-between;padding-bottom:16px;border-bottom:2px solid var(--ink)}
.sidebar-badge{padding:3px 6px;background:var(--surface-2);color:var(--accent);font:700 9px var(--mono)}
.sidebar-nav.tabs{display:flex;flex-direction:column;gap:4px;margin-top:18px;flex:1;border:0}
.sidebar-nav .tab{display:flex;align-items:center;gap:10px;width:100%;padding:11px 12px;text-align:left;font-size:13.5px;font-weight:700;color:var(--muted);border:1px solid transparent;transition:background .2s,color .2s,border-color .2s}
.sidebar-nav .tab:hover{background:var(--bg);color:var(--accent)}
.sidebar-nav .tab.active{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
.tab-ico{font-family:var(--mono);font-size:13px}
.sidebar-foot{display:grid;gap:12px;padding-top:14px;border-top:1px solid var(--line)}
.sidebar-links{display:flex;justify-content:space-between;font-size:11.5px;color:var(--muted)}
.sidebar-links a:hover{color:var(--accent)}
.sidebar-user{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid var(--line);background:var(--bg)}
.user-chip{font-size:11.5px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:140px}
.icon-button{padding:4px 8px;border:1px solid var(--line-strong);font-size:11px;font-weight:700}
.icon-button:hover{border-color:var(--accent);color:var(--accent)}

.dash-main{min-width:0;display:flex;flex-direction:column}
.dash-topbar{position:sticky;top:0;z-index:25;min-height:66px;padding:10px clamp(18px,3vw,36px);display:flex;align-items:center;justify-content:space-between;gap:14px;background:rgba(243,241,233,.9);backdrop-filter:blur(12px);border-bottom:2px solid var(--ink)}
.topbar-status{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700}
.welcome-actions{display:flex;gap:10px;flex-wrap:wrap}
.dashboard-shell{width:min(1140px,100%);padding:26px clamp(18px,3vw,36px) 56px;margin:0 auto}
.dash-hero-bar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 26px;border:1px solid var(--line-strong);background:var(--surface);margin-bottom:20px}
.dash-hero-bar h1{font-family:var(--display);font-size:clamp(24px,3vw,32px);letter-spacing:-.04em;margin-bottom:6px}
.dash-hero-bar p{color:var(--muted);font-size:13.5px}
.dash-kpis{display:grid;grid-template-columns:repeat(3,minmax(100px,1fr));gap:0}
.kpi-card{padding:12px 14px;border:1px solid var(--line);background:var(--bg)}
.kpi-card+.kpi-card{border-left:0}
.kpi-card span{display:block;font-size:10.5px;color:var(--muted-2)}
.kpi-val{font-family:var(--display);font-size:18px;color:var(--accent)}

.tab-panel{display:none}.tab-panel.active{display:block;animation:ed-tab .32s cubic-bezier(.16,1,.3,1)}
.overview-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:16px}
.panel{border:1px solid var(--line-strong);background:var(--surface);padding:22px}
.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}
.panel-head h2{font-family:var(--display);font-size:22px;margin-top:4px}
.panel-subtitle{font-size:12.5px;color:var(--muted);margin-top:4px}
.device-selection-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--line);background:var(--bg);margin-bottom:14px}
.selected-device-count{font-size:12px;font-weight:700;margin-right:auto}
.mini-button{padding:6px 10px;border:1px solid var(--line-strong);background:#fff;font-size:11.5px;font-weight:700}
.mini-button:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}
.mini-button:disabled{opacity:.45;cursor:not-allowed}
.primary-control{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.primary-control:hover:not(:disabled){background:var(--ink);border-color:var(--ink);color:#fff}
.dash-device{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--line);flex-wrap:wrap}
.dash-device:first-child{border-top:0}
.device-meta{flex:1;min-width:160px}
.device-meta strong{display:block;font-size:13.5px}
.device-meta span{display:block;font-size:11.5px;color:var(--muted-2)}
.dash-device-actions{display:flex;gap:8px;flex-wrap:wrap}
.online-dot{width:8px;height:8px;background:var(--good);display:inline-block}
.offline-dot{width:8px;height:8px;background:var(--line-strong);display:inline-block}
.quick-card{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--line)}
.quick-icon{width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--accent);color:var(--accent);font:700 11px var(--mono);flex:none}
.quick-card div{flex:1}.quick-card strong{font-size:13px}.quick-card p{font-size:11.5px;color:var(--muted)}
.round-button{width:32px;height:32px;border:1px solid var(--line-strong);display:grid;place-items:center}
.round-button:hover{border-color:var(--accent);color:var(--accent)}
.info-callout{margin-top:16px;padding:14px;border-left:3px solid var(--accent);background:var(--surface-2);font-size:12px}
.script-list,.release-list,.key-list,.admin-users{display:grid;gap:10px}
.script-item,.release-item,.key-item,.user-item{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid var(--line);background:#fff}
.script-item>div:nth-child(2),.key-item>div:nth-child(2){flex:1}
.code-badge{padding:6px 10px;background:var(--ink);color:#fff;font:700 12px var(--mono);letter-spacing:.12em}
.toast{position:fixed;right:20px;bottom:20px;z-index:50;padding:10px 16px;background:var(--ink);color:#fff;font-size:12.5px}
.modal-backdrop{position:fixed;inset:0;z-index:45;display:grid;place-items:center;padding:20px;background:rgba(25,26,37,.45);backdrop-filter:blur(6px)}
.modal{width:min(100%,480px);border:2px solid var(--ink);background:var(--surface);padding:26px;animation:ed-modal .3s cubic-bezier(.16,1,.3,1)}
.workbench-footer{margin-top:26px;padding-top:16px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}

@media(max-width:980px){
  .nav-links{display:none}
  .hero,.public-downloads,.security-panel,.auth-split,.overview-grid,.dash-layout{grid-template-columns:1fr}
  .ed-grid-4,.flow-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ed-cell:nth-child(odd){border-left:1px solid var(--line)}
  .ed-cell:nth-child(n+3){border-top:0}
  .section-heading{display:block}.section-heading p{text-align:left;margin-top:10px}
  .dash-sidebar{position:static;height:auto;border-right:0;border-bottom:2px solid var(--ink)}
  .sidebar-nav.tabs{flex-direction:row;overflow-x:auto;margin-top:12px}
  .sidebar-nav .tab{width:auto;white-space:nowrap}
  .dash-hero-bar{flex-direction:column;align-items:flex-start}
}
@media(max-width:600px){
  .ed-grid-4,.flow-steps,.security-points,.dash-kpis{grid-template-columns:1fr}
  .ed-cell+.ed-cell,.kpi-card+.kpi-card{border-left:1px solid var(--line);border-top:0}
  .final-cta,.footer{display:grid;grid-template-columns:1fr;gap:14px}
  .footer>div{justify-self:start}
}
@media(prefers-reduced-motion:reduce){
  .lp-canvas,.lp-progress,.lp-aura,.ed-header-inner::after,.ed-fig-scan{display:none!important}
  *{animation:none!important;transition:none!important}
  html.lp-motion [data-reveal]{opacity:1;transform:none;filter:none}
}

/* Editorial Docs, Portrait Mobile Overflow Fix & 60FPS GPU Performance */
html,body{overflow-x:clip;max-width:100%}
.shell,.hero,.hero-copy,.ed-figure,.ed-fig-stage,.ticker,.ed-grid-4,.flow-steps,.public-downloads,.public-download-panel,.security-panel,.dash-layout,.dash-main,.dashboard-shell,.overview-grid,.panel,.docs-grid,.docs-content,.code-card{min-width:0;max-width:100%}

/* Remove expensive offscreen blur animations for locked 60fps */
@keyframes ed-rise{from{opacity:0;transform:translateY(22px);letter-spacing:.03em}to{opacity:1;transform:none;letter-spacing:-.06em}}
html.lp-motion [data-reveal]{filter:none!important;will-change:transform,opacity}
html.lp-motion [data-reveal].is-revealed{will-change:auto}

/* Docs Layout */
.docs-shell{padding:clamp(36px,5vw,64px) 0 80px}
.docs-hero{padding-bottom:32px;border-bottom:1px solid var(--line);margin-bottom:36px}
.docs-hero h1{font-family:var(--display);font-size:clamp(38px,5vw,62px);font-weight:800;letter-spacing:-.065em;line-height:1.1;margin-bottom:14px}
.docs-hero h1 em{font-style:normal;color:var(--accent)}
.docs-lead{max-width:58ch;color:var(--muted);font-size:15px;line-height:1.8}
.docs-lead code,.docs-content code{padding:2px 6px;background:var(--surface-2);color:var(--accent);font:700 12px var(--mono)}
.docs-grid{display:grid;grid-template-columns:190px minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:start}
.docs-aside{position:sticky;top:92px;display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid var(--line);background:var(--surface)}
.docs-nav{padding:7px 10px;font:700 12px var(--mono);color:var(--muted);border-left:2px solid transparent;transition:color .2s,border-color .2s,background .2s}
.docs-nav:hover,.docs-nav.active{color:var(--accent);border-left-color:var(--accent);background:var(--bg)}
.docs-content section{padding:0 0 36px;margin:0 0 36px;border-bottom:1px solid var(--line)}
.docs-content section:last-child{border-bottom:0;margin-bottom:0}
.docs-index{display:block;color:var(--accent);margin-bottom:8px}
.docs-content h2{font-family:var(--display);font-size:clamp(24px,3vw,32px);letter-spacing:-.04em;margin-bottom:14px}
.docs-content p{color:var(--muted);font-size:14.5px;line-height:1.85;margin-bottom:12px}
.code-card{margin:16px 0;padding:16px 18px;border:1px solid var(--line-strong);background:var(--surface);overflow-x:auto}
.code-card code{background:none;padding:0;font:400 12.5px/1.8 var(--mono);color:var(--ink)}

@media(max-width:980px){
  .docs-grid{grid-template-columns:1fr}
  .docs-aside{position:static;flex-direction:row;overflow-x:auto;white-space:nowrap}
  .docs-nav{border-left:0;border-bottom:2px solid transparent}
  .docs-nav:hover,.docs-nav.active{border-left-color:transparent;border-bottom-color:var(--accent)}
}
@media(max-width:760px){
  .ed-header-inner{grid-template-columns:1fr auto;min-height:60px}
  .hero h1{font-size:clamp(34px,10.5vw,56px)}
  .hero-proof{gap:10px}
}

/* V3 / PORTRAIT MOBILE ZERO-CLIPPING & RESERVED INTERFACES UI */
.ed-fig-stage{position:relative}
.ed-fig-cross{position:absolute;font:400 13px/1 var(--mono);color:var(--accent);z-index:2;pointer-events:none;background:var(--art);padding:1px 3px}
.ed-fig-cross.tl{top:4px;left:6px}.ed-fig-cross.tr{top:4px;right:6px}.ed-fig-cross.bl{bottom:4px;left:6px}.ed-fig-cross.br{bottom:4px;right:6px}

/* Quick Copy & Reserved Extension Interfaces Panel */
.reserved-panel{margin-top:16px}
.quick-copy-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}
.copy-pill{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--line-strong);background:var(--bg);text-align:left;transition:border-color .2s,background .2s}
.copy-pill:hover{border-color:var(--accent);background:#fff}
.copy-pill div{min-width:0}
.copy-pill span{display:block;font:700 10px var(--mono);color:var(--muted-2)}
.copy-pill code{display:block;font:700 11.5px var(--mono);color:var(--accent);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.copy-pill b{font:700 11px var(--mono);color:var(--ink);flex:none}

.reserved-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.reserved-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border:1px solid var(--line);background:#fff;transition:border-color .2s}
.reserved-item:hover{border-color:var(--accent)}
.reserved-item>div{min-width:0}
.reserved-item strong{display:block;font-size:13px}
.reserved-item code{display:block;font:400 10.5px var(--mono);color:var(--muted-2);overflow-wrap:anywhere;margin-top:2px}
.reserved-switch{position:relative;width:40px;height:22px;flex:none;border:1px solid var(--line-strong);background:var(--bg);transition:background .25s,border-color .25s}
.reserved-switch::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;background:var(--muted-2);transition:transform .25s cubic-bezier(.34,1.56,.64,1),background .25s}
.reserved-switch[aria-checked=true]{background:var(--surface-2);border-color:var(--accent)}
.reserved-switch[aria-checked=true]::after{transform:translateX(18px);background:var(--accent)}

/* Strict Portrait Mobile Adaptation (320px - 760px) */
@media(max-width:760px){
  :root{--gutter:16px}
  .ed-header-inner{gap:10px;min-height:56px}
  .brand{font-size:17px;gap:8px}
  .brand small{display:none}
  .nav-actions{gap:8px}
  .nav-actions .button-small{min-height:34px;padding:0 10px;font-size:11.5px}
  .hero{padding:32px 0 44px;gap:24px}
  .hero h1{font-size:clamp(32px,9.8vw,48px);margin-bottom:14px}
  .hero-lead{font-size:14px;line-height:1.7}
  .hero-actions .button{width:100%}
  .hero-proof{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:24px;padding-top:14px}
  .proof-item strong{font-size:15px}
  .proof-item span{font-size:10px}
  .ed-fig-stage{aspect-ratio:auto;min-height:240px;padding:18px 12px}
  .ed-node{padding:10px 12px}
  .ed-node strong{font-size:12.5px}
  .section{padding-top:44px}
  .section-heading h2{font-size:clamp(28px,8.5vw,40px)}
  .ed-grid-4,.flow-steps,.security-points,.quick-copy-row,.reserved-grid{grid-template-columns:1fr}
  .public-release-row{flex-direction:column;align-items:flex-start}
  .public-download-button{width:100%;text-align:center}
  .security-panel{padding:22px 18px;gap:20px}
  .final-cta{padding:28px 0;margin-top:36px}
  .final-cta .button{width:100%}

  /* Auth & Dashboard Portrait Mobile Fixes */
  .auth-page{padding:12px}
  .auth-showcase,.auth-panel{padding:20px 16px}
  .auth-feature-pills>div{flex-direction:column;align-items:flex-start;gap:4px}
  .dash-sidebar{padding:14px 12px}
  .dash-topbar{padding:10px 14px;gap:10px}
  .welcome-actions{width:100%}
  .welcome-actions .button{flex:1}
  .dashboard-shell{padding:16px 14px 44px}
  .dash-hero-bar{padding:18px 16px;gap:16px}
  .dash-kpis{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
  .kpi-card{padding:10px 8px}
  .kpi-val{font-size:14px}
  .panel{padding:16px 14px}
  .panel-head{flex-direction:column;align-items:stretch}
  .panel-head .button{width:100%}
  .dash-device-actions{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .dash-device-actions .mini-button{width:100%;text-align:center;padding:8px 4px}
  .script-item,.release-item,.key-item,.user-item{flex-wrap:wrap;padding:12px}
}

/* V4 / RICH MULTI-TONE EDITORIAL TEXTURE & STRICT MOBILE ZERO-CLIPPING */
:root{
  --amber:#b45309;
  --amber-soft:#fef3c7;
  --teal:#0f766e;
  --teal-soft:#ccfbf1;
  --indigo:#4f46e5;
  --card-grad:linear-gradient(160deg,#ffffff 0%,#f8f6f0 100%);
  --card-shadow:0 14px 34px -14px rgba(25,26,37,.1),0 2px 8px rgba(48,59,181,.05),inset 0 1px 0 rgba(255,255,255,.92);
}
body{
  background:
    radial-gradient(ellipse at 10% 0%,rgba(48,59,181,.09),transparent 48%),
    radial-gradient(ellipse at 92% 8%,rgba(180,83,9,.065),transparent 42%),
    radial-gradient(ellipse at 50% 95%,rgba(15,118,110,.055),transparent 50%),
    var(--bg);
}

/* Tactile Multi-Tone Surfaces & Depth */
.ed-cell,.flow-step,.public-download-panel,.panel,.dash-hero-bar,.auth-split,.reserved-item,.kpi-card{
  background:var(--card-grad);
  box-shadow:var(--card-shadow);
}
.ed-cell:hover,.flow-step:hover,.panel:hover,.reserved-item:hover{
  box-shadow:0 20px 44px -14px rgba(48,59,181,.15),0 4px 12px rgba(25,26,37,.06),inset 0 1px 0 #fff;
}
.ed-cell:nth-child(2) .ed-cell-num,.flow-step:nth-child(2) .step-index{color:var(--indigo);border-color:var(--indigo)}
.ed-cell:nth-child(3) .ed-cell-num,.flow-step:nth-child(3) .step-index{color:var(--teal);border-color:var(--teal)}
.ed-cell:nth-child(4) .ed-cell-num,.flow-step:nth-child(4) .step-index{color:var(--amber);border-color:var(--amber)}

.ed-fig-stage{
  background:
    radial-gradient(ellipse at 80% 20%,rgba(48,59,181,.13),transparent 58%),
    radial-gradient(ellipse at 20% 85%,rgba(180,83,9,.08),transparent 52%),
    var(--art);
  background-image:
    radial-gradient(ellipse at 80% 20%,rgba(48,59,181,.13),transparent 58%),
    linear-gradient(var(--art-grid) 1px,transparent 1px),
    linear-gradient(90deg,var(--art-grid) 1px,transparent 1px);
  background-size:auto,32px 32px,32px 32px;
  box-shadow:inset 0 0 40px rgba(48,59,181,.06);
}
.ed-node{box-shadow:0 6px 18px -8px rgba(25,26,37,.12)}
.ed-node:nth-child(2) .ed-node-tag{border-color:var(--indigo);color:var(--indigo);background:rgba(79,70,229,.06)}
.ed-node:nth-child(3) .ed-node-tag{border-color:var(--teal);color:var(--teal);background:var(--teal-soft)}

.security-panel,.auth-showcase{
  background:linear-gradient(135deg,#192064 0%,#303bb5 54%,#4654d8 100%);
  box-shadow:0 24px 54px -18px rgba(29,38,125,.42);
}
.dash-hero-bar{
  background:linear-gradient(125deg,#ffffff 0%,#f5f3eb 58%,#eaedff 100%);
  border-top:3px solid var(--accent);
}
.kpi-card:nth-child(2) .kpi-val{color:var(--teal)}
.kpi-card:nth-child(3) .kpi-val{color:var(--amber)}
.button{background:linear-gradient(110deg,#2833a6,#3b49cc);box-shadow:0 10px 24px -10px rgba(48,59,181,.48)}
.button:hover{background:linear-gradient(110deg,#191a25,#2a2d42);box-shadow:0 14px 28px -10px rgba(25,26,37,.4)}

/* Bulletproof Dashboard & Mobile Zero-Clipping */
.dash-layout,.dash-sidebar,.dash-main,.dashboard-shell,.dash-topbar,.dash-hero-bar,.overview-grid,.panel,.reserved-panel,.device-selection-toolbar,.device-list,.dash-device{
  min-width:0!important;
  max-width:100%!important;
}
@media(max-width:980px){
  .dash-layout{display:block!important;width:100%!important;overflow-x:clip}
  .dash-sidebar{width:100%!important;overflow:hidden}
  .sidebar-nav.tabs{display:flex!important;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:6px;gap:6px}
  .sidebar-nav .tab{flex:0 0 auto;width:auto!important;padding:8px 12px!important;font-size:12.5px}
}
@media(max-width:760px){
  .dashboard-shell{width:100%!important;padding:14px 12px 44px!important;margin:0!important}
  .dash-topbar{flex-direction:column;align-items:stretch;padding:10px 12px!important}
  .topbar-status{justify-content:center;font-size:11.5px;flex-wrap:wrap}
  .welcome-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;width:100%}
  .welcome-actions .button{width:100%!important;min-height:38px;padding:0 10px;font-size:12px}
  .dash-hero-bar{padding:16px 14px!important}
  .dash-kpis{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%}
  .kpi-card{padding:8px 6px!important;text-align:center}
  .kpi-card span{font-size:9.5px}
  .kpi-val{font-size:13px!important}
  .panel{padding:14px 12px!important}
  .device-selection-toolbar{padding:8px 10px!important;gap:6px!important}
  .selected-device-count{width:100%;margin-bottom:2px}
  .copy-pill{padding:10px}
  .copy-pill code{font-size:10.5px}
  .reserved-item{padding:10px}
  .sidebar-links{flex-wrap:wrap;gap:10px}
  .sidebar-user{padding:6px 8px}
}

/* V5 / HERO VISUAL PHONE STAGE + DASHBOARD SOFT ROUNDED Q-BOUNCE UI + DYNAMIC INTERFACE MANAGER */
.ed-visual-stage{position:relative;display:grid;place-items:center;padding:24px}
.ed-orbit-ring{position:absolute;border-radius:50%;border:1px dashed rgba(48,59,181,.28);pointer-events:none}
.ed-orbit-ring.r1{width:230px;height:230px;animation:ed-spin 22s linear infinite}
.ed-orbit-ring.r2{width:290px;height:290px;border-style:solid;border-color:rgba(15,118,110,.16);animation:ed-spin 30s linear infinite reverse}
.ed-phone-mock{position:relative;z-index:2;width:154px;height:236px;border-radius:24px;padding:10px;background:linear-gradient(155deg,#191a25,#2b3158);box-shadow:0 24px 44px -14px rgba(25,26,37,.35),0 0 0 2px rgba(255,255,255,.75);animation:ed-float 5.5s ease-in-out infinite}
.ed-phone-notch{width:46px;height:6px;border-radius:99px;background:#0e101c;margin:0 auto 8px}
.ed-phone-screen{position:relative;height:calc(100% - 14px);border-radius:16px;background:linear-gradient(180deg,#f8f6f0,#e7e9ff);padding:12px 10px;display:grid;gap:10px;overflow:hidden}
.ed-ocr-box{height:38px;border-radius:8px;background:#fff;border:1.5px solid rgba(48,59,181,.25);box-shadow:0 4px 10px rgba(48,59,181,.06);transition:border-color .3s,transform .3s}
.ed-ocr-box.b2{height:58px}
.ed-ocr-box.b3{height:32px;background:rgba(48,59,181,.12);border-color:var(--accent)}
.ed-scan-line{position:absolute;left:0;right:0;height:24px;background:linear-gradient(180deg,transparent,rgba(48,59,181,.24),transparent);border-bottom:1.5px solid var(--accent);animation:ed-scan-y 3.2s ease-in-out infinite;pointer-events:none}
@keyframes ed-scan-y{0%{top:-24px}50%{top:calc(100% - 6px)}100%{top:-24px}}
.ed-tap-dot{position:absolute;left:50%;top:76%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:var(--amber);box-shadow:0 0 0 6px rgba(180,83,9,.22);animation:ed-pulse 1.8s ease-in-out infinite}
.ed-chip{position:absolute;z-index:3;padding:6px 12px;border-radius:99px;background:#fff;border:1px solid rgba(48,59,181,.25);box-shadow:0 10px 24px -8px rgba(25,26,37,.18);font-weight:700;font-size:10px;color:var(--accent)}
.ed-chip.c1{top:22px;left:18px;animation:ed-float 4.5s ease-in-out infinite}
.ed-chip.c2{bottom:26px;left:22px;color:var(--teal);border-color:rgba(15,118,110,.3);animation:ed-float 5.2s ease-in-out infinite .8s}
.ed-chip.c3{top:48%;right:16px;color:var(--amber);border-color:rgba(180,83,9,.3);animation:ed-float 4.8s ease-in-out infinite .4s}

/* V6 / KINETIC TYPOGRAPHY & COHESIVE EDITORIAL WORKSPACE */
.hero h1 em,.section-heading h2 em{
  font-family:StudioSerif,StudioCN,serif;
  background:linear-gradient(105deg,#303bb5 0%,#4f46e5 48%,#0f766e 82%,#303bb5 100%);
  background-size:220% auto;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  animation:ed-ink-flow 7s ease-in-out infinite;
}
@keyframes ed-ink-flow{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}

/* Typographic Distinction & Motion Integration */
.hero-lead{letter-spacing:.01em;transition:letter-spacing .4s ease}
.ed-cell h3,.flow-step h3{transition:color .25s,letter-spacing .35s cubic-bezier(.22,1,.36,1)}
.ed-cell:hover h3,.flow-step:hover h3{color:var(--accent);letter-spacing:-.01em}
.ed-cell-num,.step-index{transition:transform .35s cubic-bezier(.22,1,.36,1),background .25s,color .25s}
.ed-cell:hover .ed-cell-num,.flow-step:hover .step-index{transform:translateX(3px);color:var(--ink)}
.section-kicker{position:relative;overflow:hidden}
.section-kicker::after{content:"";position:absolute;top:0;left:0;width:24%;height:1px;background:linear-gradient(90deg,transparent,var(--accent),transparent);animation:ed-beam 5.5s cubic-bezier(.4,0,.2,1) infinite;pointer-events:none}

/* Harmonious Editorial Workspace (Subtle 4px Architectural Radius, Natural Motion) */
.dashboard-page{--ease:cubic-bezier(.22,1,.36,1)}
.dashboard-page .dash-hero-bar,.dashboard-page .panel,.dashboard-page .modal{border-radius:6px}
.dashboard-page .kpi-card,.dashboard-page .reserved-item,.dashboard-page .copy-pill,.dashboard-page .script-item,.dashboard-page .key-item,.dashboard-page .release-item,.dashboard-page .user-item,.dashboard-page .info-callout,.dashboard-page .device-selection-toolbar,.dashboard-page .template-bar{border-radius:4px}
.dashboard-page .kpi-card+.kpi-card{border-left:1px solid var(--line)}
.dashboard-page .dash-kpis{gap:10px}
.dashboard-page .button,.dashboard-page .mini-button,.dashboard-page .sidebar-nav .tab,.dashboard-page .icon-button,.dashboard-page .round-button,.dashboard-page .modal-form input,.dashboard-page .modal-form select,.dashboard-page .modal-form textarea{border-radius:4px;transition:transform .28s var(--ease),background .22s,border-color .22s,box-shadow .28s}
.dashboard-page .button:active,.dashboard-page .mini-button:active,.dashboard-page .tab:active,.dashboard-page .tpl-chip:active,.dashboard-page .copy-pill:active{transform:scale(.975)}
.dashboard-page .panel:hover,.dashboard-page .kpi-card:hover,.dashboard-page .reserved-item:hover,.dashboard-page .copy-pill:hover{transform:translateY(-2px);transition:transform .3s var(--ease),box-shadow .3s,border-color .25s}
.dashboard-page .sidebar-badge,.dashboard-page .topbar-status,.dashboard-page .sidebar-user{border-radius:4px}
.dashboard-page .reserved-switch,.dashboard-page .reserved-switch::after{border-radius:99px}
.dashboard-page .modal{border:1.5px solid var(--ink);box-shadow:0 24px 60px -16px rgba(25,26,37,.24)}

/* Dynamic Template & Custom Interface Manager */
.iface-head-actions{display:flex;gap:8px;flex-wrap:wrap}
.template-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;padding:10px 12px;background:var(--bg);border:1px dashed var(--line-strong)}
.tpl-label{font-size:10.5px;color:var(--muted-2)}
.tpl-chip{padding:5px 10px;border-radius:4px;border:1px solid var(--line-strong);background:#fff;font-size:11.5px;font-weight:700;color:var(--accent);transition:transform .25s var(--ease),background .2s,border-color .2s}
.tpl-chip:hover{background:var(--surface-2);border-color:var(--accent);transform:translateY(-1px)}
.iface-card{flex-direction:column;align-items:stretch!important;gap:10px;padding:14px!important}
.iface-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.iface-badges{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:4px}
.iface-badge{padding:2px 7px;border-radius:3px;font:700 9.5px/1.3 var(--mono);background:var(--surface-2);color:var(--accent)}
.iface-badge.cat{background:var(--bg);color:var(--muted)}
.iface-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:8px;border-top:1px solid var(--line);flex-wrap:wrap}
.iface-status{font:400 10.5px var(--mono);color:var(--muted-2)}
.iface-status.ok{color:var(--good)}
.iface-card-actions{display:flex;gap:6px;flex-wrap:wrap}
.iface-form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}

@media(max-width:760px){
  .ed-phone-mock{width:136px;height:208px}
  .ed-orbit-ring.r1{width:190px;height:190px}
  .ed-orbit-ring.r2{width:240px;height:240px}
  .iface-form-row{grid-template-columns:1fr}
  .dashboard-page .dash-kpis{gap:6px}
}

/* V7 / RICH HERO VISUAL TELEMETRY & ADMIN DATA VISUALIZATIONS */
.ed-svg-arcs{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
.ed-svg-arcs path{fill:none;stroke-width:1.6;stroke-linecap:round}
.ed-svg-arcs .arc-bg{stroke:rgba(48,59,181,.16);stroke-dasharray:4 4}
.ed-svg-arcs .arc-pulse{stroke:var(--accent);stroke-dasharray:38 220;animation:arc-travel 2.8s linear infinite}
.ed-svg-arcs .arc-pulse.d2{stroke:var(--teal);animation-delay:1.4s;animation-direction:reverse}
@keyframes arc-travel{from{stroke-dashoffset:258}to{stroke-dashoffset:0}}

.ed-ocr-box{display:flex;align-items:center;padding-inline:8px;font:700 8.5px/1 var(--mono);color:var(--accent);letter-spacing:.06em}
.ed-chip{display:inline-flex;align-items:center;gap:6px}
.chip-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);animation:ed-pulse 2s ease-in-out infinite}
.chip-dot.teal{background:var(--teal)}.chip-dot.amber{background:var(--amber)}
.ed-mini-bars{position:absolute;right:14px;bottom:14px;z-index:3;display:flex;align-items:end;gap:3px;padding:6px 9px;background:rgba(255,255,255,.92);border:1px solid var(--line-strong);font:700 9.5px/1 var(--mono);color:var(--ink)}
.ed-mini-bars i{width:3px;height:12px;background:var(--accent);transform-origin:bottom;animation:ed-bar-wave 1.4s ease-in-out infinite}
.ed-mini-bars i:nth-child(2){height:16px;animation-delay:.15s}.ed-mini-bars i:nth-child(3){height:9px;animation-delay:.3s}
.ed-mini-bars i:nth-child(4){height:18px;animation-delay:.45s;background:var(--teal)}.ed-mini-bars i:nth-child(5){height:13px;animation-delay:.6s}
.ed-mini-bars span{margin-left:4px;color:var(--muted)}
@keyframes ed-bar-wave{0%,100%{transform:scaleY(.45)}50%{transform:scaleY(1)}}

/* Workflow Animated Beam Track */
.flow-steps{position:relative}
.flow-beam-track{position:absolute;top:36px;left:24px;right:24px;height:1px;background:var(--line);overflow:hidden;pointer-events:none;z-index:0}
.flow-beam-track span{position:absolute;top:0;left:0;width:28%;height:100%;background:linear-gradient(90deg,transparent,var(--accent),var(--teal),transparent);animation:ed-beam 3.6s cubic-bezier(.4,0,.2,1) infinite}
.flow-step{z-index:1}

/* Admin Data Visualizations */
.admin-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}
.admin-kpi{padding:14px;border:1px solid var(--line);border-radius:4px;background:var(--bg);display:grid;gap:4px;transition:transform .25s var(--ease),border-color .25s}
.admin-kpi:hover{transform:translateY(-2px);border-color:var(--accent)}
.admin-kpi span{font-size:11px;color:var(--muted)}
.admin-kpi strong{font-family:var(--display);font-size:24px;color:var(--ink);line-height:1.15}
.admin-kpi small{font-size:9.5px;color:var(--accent)}
.admin-kpi:nth-child(2) small{color:var(--indigo)}.admin-kpi:nth-child(3) small{color:var(--teal)}.admin-kpi:nth-child(4) small{color:var(--amber)}

.admin-charts-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:14px}
.chart-card{padding:16px;border:1px solid var(--line);border-radius:4px;background:#fff;display:grid;gap:14px}
.chart-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.chart-head strong{font-size:13.5px}
.chart-head span{font-size:10px;color:var(--muted-2)}

.bar-chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;height:132px;align-items:end;padding-top:10px;border-bottom:1px solid var(--line)}
.bar-col{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:6px}
.bar-col i{display:block;width:min(24px,100%);height:var(--h,50%);background:linear-gradient(180deg,var(--accent),var(--indigo));border-radius:3px 3px 0 0;transform-origin:bottom;animation:bar-grow .8s cubic-bezier(.22,1,.36,1) both;transition:filter .2s,transform .2s}
.bar-col:hover i{filter:brightness(1.15);transform:scaleY(1.06)}
.bar-col span{font:700 9.5px var(--mono);color:var(--muted-2);padding-bottom:6px}
@keyframes bar-grow{from{transform:scaleY(0)}to{transform:scaleY(1)}}

.donut-wrap{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.donut-svg{width:116px;height:116px;transform:rotate(-90deg);flex:none}
.donut-bg{fill:none;stroke:var(--bg);stroke-width:14}
.donut-seg{fill:none;stroke-width:14;stroke-linecap:butt;transition:stroke-width .2s}
.donut-seg.s1{stroke:var(--accent)}.donut-seg.s2{stroke:var(--teal)}.donut-seg.s3{stroke:var(--amber)}
.donut-legend{display:grid;gap:8px;flex:1;min-width:130px}
.donut-legend>div{display:flex;align-items:center;gap:8px;font-size:12px}
.donut-legend .lg{width:8px;height:8px;border-radius:2px;flex:none}
.lg.c1{background:var(--accent)}.lg.c2{background:var(--teal)}.lg.c3{background:var(--amber)}
.donut-legend b{margin-left:auto;font:700 11.5px var(--mono)}

@media(max-width:980px){
  .flow-beam-track{display:none}
  .admin-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-charts-grid{grid-template-columns:1fr}
}
@media(max-width:480px){
  .admin-kpi-grid{grid-template-columns:1fr}
}

/* V8 / PURE EDITORIAL GEOMETRIC DIAGRAM, DISTRIBUTED GLYPH MOTION & ADMIN CATEGORY MANAGER */
.ed-geo-svg{position:relative;z-index:1;width:min(100%,350px);height:auto}
.geo-ring{fill:none;stroke:rgba(48,59,181,.24);stroke-width:1.2}
.geo-ring.r-out{stroke-dasharray:6 5;transform-origin:190px 140px;animation:ed-spin 38s linear infinite}
.geo-ring.r-mid{stroke:rgba(15,118,110,.3);transform-origin:190px 140px;animation:ed-spin 26s linear infinite reverse}
.geo-ring.r-in{stroke:var(--accent);stroke-width:1.6}
.geo-axis{stroke:rgba(48,59,181,.16);stroke-width:1}
.geo-arc{fill:none;stroke:var(--accent);stroke-width:2;stroke-dasharray:64 280;stroke-linecap:round;animation:arc-travel 3.4s linear infinite}
.geo-arc.a2{stroke:var(--teal);animation-delay:1.7s}
.geo-sat{fill:var(--accent)}
.geo-sat.s2{fill:var(--teal)}.geo-sat.s3{fill:var(--amber)}

/* Distributed Cell Glyphs & Security Rings */
.ed-cell-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ed-cell-glyph{width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--line);background:var(--bg);color:var(--accent);font-size:15px;transition:transform .35s var(--ease),border-color .25s,background .25s,color .25s}
.ed-cell:nth-child(2) .ed-cell-glyph{color:var(--indigo)}
.ed-cell:nth-child(3) .ed-cell-glyph{color:var(--teal)}
.ed-cell:nth-child(4) .ed-cell-glyph{color:var(--amber)}
.ed-cell:hover .ed-cell-glyph{transform:rotate(-8deg) scale(1.1);border-color:currentColor;background:#fff}

.security-panel{position:relative;overflow:hidden}
.sec-rings{position:absolute;right:-60px;top:50%;width:320px;height:320px;transform:translateY(-50%);pointer-events:none}
.sec-rings i{position:absolute;inset:0;border-radius:50%;border:1px solid rgba(255,255,255,.22);animation:sec-ping 5s cubic-bezier(.16,1,.3,1) infinite}
.sec-rings i:nth-child(2){animation-delay:2.5s}
@keyframes sec-ping{0%{transform:scale(.5);opacity:.8}100%{transform:scale(1.35);opacity:0}}

/* Admin Category Bar, User Search & Category CRUD */
.admin-cat-bar{display:flex;flex-wrap:wrap;gap:8px;padding:10px 12px;border:1px solid var(--line-strong);border-radius:6px;background:var(--surface)}
.admin-cat-btn{padding:7px 14px;border-radius:4px;font-size:12.5px;font-weight:700;color:var(--muted);border:1px solid transparent;transition:background .2s,color .2s,border-color .2s}
.admin-cat-btn:hover{background:var(--bg);color:var(--accent)}
.admin-cat-btn.active{background:var(--accent);color:var(--on-accent)}

.admin-filter-row{display:flex;gap:8px;flex-wrap:wrap}
.admin-search,.admin-select{min-height:36px;padding:0 10px;border:1px solid var(--line-strong);border-radius:4px;background:#fff;font-size:12.5px}
.admin-search:focus,.admin-select:focus{outline:none;border-color:var(--accent)}

.admin-cat-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cat-item{display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid var(--line);border-radius:4px;background:#fff;transition:border-color .2s,transform .25s var(--ease)}
.cat-item:hover{border-color:var(--accent);transform:translateY(-2px)}
.cat-item-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cat-item-title{display:flex;align-items:center;gap:8px}
.cat-dot{width:9px;height:9px;border-radius:2px;flex:none}
.cat-dot.cobalt{background:var(--accent)}.cat-dot.teal{background:var(--teal)}.cat-dot.amber{background:var(--amber)}.cat-dot.indigo{background:var(--indigo)}
.cat-item-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:8px;border-top:1px solid var(--line);flex-wrap:wrap}
.cat-scope{padding:2px 6px;border-radius:3px;font:700 9.5px var(--mono);background:var(--bg);color:var(--muted)}

@media(max-width:760px){
  .admin-cat-list{grid-template-columns:1fr}
  .admin-filter-row,.admin-search,.admin-select{width:100%}
}

/* V9 / GRAND HERO VISUAL PROPORTIONS & FOCUSED ADMIN COUNTS */
.hero{grid-template-columns:1fr 1.08fr}
.ed-fig-stage{min-height:380px;aspect-ratio:1.32;width:100%}
.ed-geo-svg{width:94%;max-width:480px}
.geo-ring.r-out,.geo-ring.r-mid{transform-origin:230px 160px}
.cat-cnt{display:inline-block;margin-left:4px;padding:1px 5px;border-radius:3px;font:700 10px/1.2 var(--mono);background:rgba(48,59,181,.12);color:var(--accent)}
.admin-cat-btn.active .cat-cnt{background:rgba(255,255,255,.24);color:#fff}
@media(max-width:980px){
  .hero{grid-template-columns:1fr}
  .ed-fig-stage{min-height:280px;aspect-ratio:1.35}
}

/* V10 / FULL-BLEED TELEMETRY STAGE, RICH WORKSPACE BACKDROP & LINKED CATEGORY VIEW */
.ed-visual-stage{padding:18px;display:grid;place-items:center}
.ed-visual-stage .ed-geo-svg{position:absolute;inset:0;margin:auto;width:96%;height:96%;opacity:.55;pointer-events:none}
.ed-stage-grid{position:relative;z-index:2;width:100%;height:100%;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:14px;align-content:space-between}
.ed-tile{padding:16px;background:rgba(255,255,255,.92);border:1px solid var(--line-strong);display:flex;flex-direction:column;justify-content:space-between;gap:10px;box-shadow:0 12px 28px -12px rgba(25,26,37,.12);transition:transform .3s var(--ease),border-color .25s,box-shadow .3s}
.ed-tile:hover{transform:translateY(-3px);border-color:var(--accent);box-shadow:0 18px 36px -12px rgba(48,59,181,.18)}
.ed-tile-head{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted-2)}
.ed-tile-head b{margin-left:auto;color:var(--accent)}
.ed-tile strong{font-family:var(--display);font-size:17px;letter-spacing:-.02em}
.ed-tile small{font-size:9.5px;color:var(--muted-2)}
.ed-tile-bar{height:5px;background:var(--bg);border:1px solid var(--line);overflow:hidden}
.ed-tile-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--accent),var(--indigo));animation:bar-grow 1s cubic-bezier(.22,1,.36,1) both}
.ed-tile-bar.teal i{background:linear-gradient(90deg,var(--teal),#14b8a6)}
.ed-mini-bars.inline{position:static;padding:0;border:0;background:none;justify-content:flex-start}

/* Rich Workspace Top Backdrop */
.dash-hero-bar{position:relative;overflow:hidden}
.hero-bg-art{position:absolute;inset:0;pointer-events:none;z-index:0}
.hero-bg-art .bg-ring{position:absolute;border-radius:50%;border:1px dashed rgba(48,59,181,.18);right:-60px;top:50%;width:320px;height:320px;transform:translateY(-50%);animation:ed-spin 42s linear infinite}
.hero-bg-art .bg-ring.r2{right:40px;width:210px;height:210px;border-style:solid;border-color:rgba(15,118,110,.14);animation-direction:reverse;animation-duration:28s}
.dash-hero-left,.dash-kpis{position:relative;z-index:1}
.dash-hero-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.dash-hero-tags span{padding:3px 9px;border:1px solid var(--line-strong);border-radius:4px;background:rgba(255,255,255,.8);font-size:10px;color:var(--muted)}
.kpi-card small{font-size:9px;color:var(--muted-2)}

/* Interactive Linked Category View */
.cat-item{cursor:pointer}
.cat-item.is-selected{border-color:var(--accent);background:var(--surface-2);box-shadow:0 10px 24px -12px rgba(48,59,181,.24)}
.cat-linked-box{margin-top:14px;padding:16px;border:1px solid var(--line-strong);border-radius:4px;background:var(--bg);animation:ed-tab .28s var(--ease)}
.cat-linked-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:12px;border-bottom:1px solid var(--line);margin-bottom:12px}
.cat-linked-head h3{font-family:var(--display);font-size:18px;margin-top:2px}
.cat-linked-items{display:grid;gap:8px}
.cat-linked-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:4px;background:#fff;font-size:13px}
.cat-linked-row small{color:var(--muted-2);font-size:11.5px}

@media(max-width:600px){
  .ed-stage-grid{gap:8px}
  .ed-tile{padding:10px}
  .ed-tile strong{font-size:14px}
}

/* V11 / FIGURE RESET & ZERO-CLIPPING MOBILE STAGE GRID */
figure,.ed-figure,.ed-fig-stage,.ed-stage-grid,.ed-tile,.ed-tile-head{min-width:0;max-width:100%}
.ed-tile{overflow:hidden}
@media(max-width:600px){
  .ed-fig-stage{aspect-ratio:auto!important;min-height:0!important;height:auto!important;padding:14px 12px!important}
  .ed-stage-grid{grid-template-columns:1fr!important;grid-template-rows:auto!important;gap:10px!important}
  .ed-tile{padding:12px!important}
  .ed-tile strong{font-size:15px!important}
}

/* V12 / HOMEPAGE IOS FROSTED GLASS, BLUR MOTION & CURVES + DASHBOARD SLIDE-OVER SIDEBAR DRAWER */
.ios-orb{position:fixed;border-radius:50%;pointer-events:none;z-index:0;filter:blur(72px);will-change:transform;opacity:.55}
.ios-orb-a{width:44vw;height:44vw;max-width:540px;max-height:540px;top:-8%;left:-6%;background:radial-gradient(circle,rgba(48,59,181,.26),rgba(79,70,229,.08) 65%,transparent);animation:ios-drift-a 16s ease-in-out infinite alternate}
.ios-orb-b{width:40vw;height:40vw;max-width:480px;max-height:480px;bottom:-8%;right:-6%;background:radial-gradient(circle,rgba(15,118,110,.22),rgba(180,83,9,.1) 65%,transparent);animation:ios-drift-b 20s ease-in-out infinite alternate}
@keyframes ios-drift-a{0%{transform:translate(0,0) scale(1)}100%{transform:translate(8vw,10vh) scale(1.14)}}
@keyframes ios-drift-b{0%{transform:translate(0,0) scale(1.06)}100%{transform:translate(-10vw,-8vh) scale(.92)}}

.ios-wave-divider{display:block;width:100%;height:56px;margin-bottom:-1px;pointer-events:none}
.ios-wave-divider .w1{fill:rgba(255,255,255,.72)}
.ios-wave-divider .w2{fill:none;stroke:rgba(48,59,181,.32);stroke-width:1.8;stroke-dasharray:12 8;animation:arc-travel 18s linear infinite}

/* Homepage iOS Frosted Glass Curves & Blur-to-Focus Motion */
.editorial-page .ed-header{top:10px;padding:0 14px;background:transparent;backdrop-filter:none}
.editorial-page .ed-header-inner{border:1px solid rgba(255,255,255,.85);border-radius:20px;padding:0 20px;background:rgba(248,246,240,.72);backdrop-filter:blur(22px) saturate(160%);-webkit-backdrop-filter:blur(22px) saturate(160%);box-shadow:0 12px 32px -12px rgba(25,26,37,.12)}
.editorial-page .button,.editorial-page .public-download-button{border-radius:14px}
.editorial-page .ed-fig-stage,.editorial-page .ed-tile,.editorial-page .ed-cell,.editorial-page .flow-step,.editorial-page .public-download-panel,.editorial-page .security-panel{
  border-radius:22px;
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(18px) saturate(150%);
  -webkit-backdrop-filter:blur(18px) saturate(150%);
  border:1px solid rgba(255,255,255,.88);
  box-shadow:0 16px 40px -16px rgba(25,26,37,.12),0 2px 10px rgba(48,59,181,.05);
}
.editorial-page .ed-tile,.editorial-page .ed-cell,.editorial-page .flow-step{border-radius:18px}
.editorial-page .ed-grid-4{gap:14px}
.editorial-page .ed-cell+.ed-cell{border-left:1px solid rgba(255,255,255,.88)}
.editorial-page .security-panel{background:linear-gradient(135deg,rgba(25,32,100,.92),rgba(48,59,181,.9));border-color:rgba(255,255,255,.25)}
.editorial-page .security-points>div{border-radius:14px}
.editorial-page .ed-chip,.editorial-page .ed-mini-bars,.editorial-page .ed-cell-glyph{border-radius:99px}

/* Blur-to-Focus Entrance & Exit Motion on Homepage */
html.lp-motion .editorial-page [data-reveal]{opacity:0;transform:translateY(28px) scale(.95);filter:blur(12px);transition:opacity .8s cubic-bezier(.22,1,.36,1),transform .8s cubic-bezier(.22,1,.36,1),filter .8s cubic-bezier(.22,1,.36,1)}
html.lp-motion .editorial-page [data-reveal].is-revealed{opacity:1;transform:none;filter:blur(0)}

/* Dashboard Slide-Over Sidebar Drawer on Mobile/Tablet */
.drawer-toggle{display:none;align-items:center;gap:6px;padding:7px 12px;border:1px solid var(--line-strong);border-radius:4px;background:#fff;font-size:12.5px;font-weight:700;color:var(--ink)}
.drawer-toggle:hover{border-color:var(--accent);color:var(--accent)}
.drawer-backdrop{position:fixed;inset:0;z-index:48;background:rgba(25,26,37,.42);backdrop-filter:blur(4px)}

@media(max-width:980px){
  .drawer-toggle{display:inline-flex}
  .dash-layout{display:block!important}
  .dash-sidebar{
    position:fixed!important;
    top:0;left:0;bottom:0;
    width:268px!important;
    height:100dvh!important;
    z-index:50!important;
    transform:translateX(-105%);
    transition:transform .34s cubic-bezier(.22,1,.36,1);
    box-shadow:18px 0 48px rgba(25,26,37,.18);
    border-right:1px solid var(--line-strong)!important;
    border-bottom:0!important;
  }
  body.drawer-open .dash-sidebar{transform:translateX(0)}
  .sidebar-nav.tabs{flex-direction:column!important;overflow-y:auto!important;overflow-x:hidden!important}
  .sidebar-nav .tab{width:100%!important}
}
@media(max-width:760px){
  .editorial-page .ed-header-inner{padding:0 12px;border-radius:16px}
  .dash-topbar{flex-direction:row!important;flex-wrap:wrap;align-items:center!important;justify-content:space-between!important}
  .topbar-status{flex:1;justify-content:flex-end!important}
}

/* V13 / ZERO-LAG PERFORMANCE, COHESIVE 10PX DESIGN, ANIMATED TELEMETRY BARS & DRAWER Z-INDEX FIX */
/* 1. Eliminate GPU/VRAM lag: remove filter:blur(72px) and multi-card backdrop-filter */
.ios-orb{filter:none!important;opacity:.85}
.ios-orb-a{background:radial-gradient(circle,rgba(48,59,181,.12),rgba(79,70,229,.04) 45%,transparent 70%)}
.ios-orb-b{background:radial-gradient(circle,rgba(15,118,110,.1),rgba(180,83,9,.04) 45%,transparent 70%)}
html.lp-motion .editorial-page [data-reveal]{filter:none!important;will-change:transform,opacity}
html.lp-motion .editorial-page [data-reveal].is-revealed{will-change:auto}

/* 2. Cohesive, harmonious Homepage styling (clean 10-12px architectural radius, zero blobby mismatch) */
.editorial-page .ed-header-inner{border-radius:12px;border:1px solid var(--line-strong);background:rgba(248,246,240,.88);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.editorial-page .button,.editorial-page .public-download-button{border-radius:8px}
.editorial-page .ed-fig-stage,.editorial-page .public-download-panel,.editorial-page .security-panel{
  border-radius:12px;
  backdrop-filter:none;-webkit-backdrop-filter:none;
  background:var(--card-grad);
  border:1px solid var(--line-strong);
}
.editorial-page .security-panel{background:linear-gradient(135deg,#192064 0%,#303bb5 54%,#4654d8 100%);border-color:rgba(255,255,255,.2)}
.editorial-page .ed-tile,.editorial-page .ed-cell,.editorial-page .flow-step,.editorial-page .security-points>div{
  border-radius:10px;
  backdrop-filter:none;-webkit-backdrop-filter:none;
  background:#fff;
  border:1px solid var(--line);
}
.editorial-page .security-points>div{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.22)}
.editorial-page .ed-cell-glyph{border-radius:8px}

/* 3. Animated Telemetry Bars & Staggered Tile Entrance */
.ed-tile{animation:ed-fade .65s cubic-bezier(.22,1,.36,1) both}
.ed-tile.t1{animation-delay:.08s}.ed-tile.t2{animation-delay:.16s}.ed-tile.t3{animation-delay:.24s}.ed-tile.t4{animation-delay:.32s}
.ed-tile-bar{position:relative;height:6px;border-radius:99px;background:var(--bg);border:1px solid var(--line);overflow:hidden}
.ed-tile-bar i{position:relative;display:block;height:100%;border-radius:99px;transform-origin:left;animation:bar-grow .9s cubic-bezier(.22,1,.36,1) .25s both,bar-breathe 3.2s ease-in-out 1.2s infinite}
.ed-tile-bar i::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);transform:translateX(-100%);animation:ed-beam 2.6s ease-in-out infinite}
@keyframes bar-breathe{0%,100%{opacity:.88}50%{opacity:1;filter:brightness(1.1)}}

/* 4. Fix Drawer Stacking Context & Backdrop Blur Trap */
.dash-layout{z-index:auto!important}
.drawer-backdrop{z-index:48!important;backdrop-filter:none!important;background:rgba(25,26,37,.45)}
.dash-sidebar{z-index:60!important}
.drawer-close{display:none;width:30px;height:30px;place-items:center;border:1px solid var(--line-strong);border-radius:4px;font-size:14px;color:var(--muted)}
.drawer-close:hover{border-color:var(--accent);color:var(--accent)}
@media(max-width:980px){
  .drawer-close{display:grid}
}

/* V14 / BUTTER-SMOOTH 60FPS SCROLL FLY-IN & FLY-OUT CHOREOGRAPHY + SINGLE CLEAN DASHBOARD HEADER */
/* 1. Stop heavy infinite idle animations & sticky backdrop-filter for zero-lag mobile scrolling */
.ed-header,.ed-header-inner,.dash-topbar,.dash-sidebar{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:rgba(248,246,240,.96)!important}
.ed-header-inner::after,.ed-fig-scan,.section-kicker::after,.flow-beam-track span,.ed-tile-bar i::after,.sec-rings{display:none!important}
.geo-ring.r-out,.geo-ring.r-mid,.geo-arc,.ed-mini-bars i,.hero h1 em,.section-heading h2 em{animation:none!important}
.hero h1 em,.section-heading h2 em{color:var(--accent);-webkit-text-fill-color:var(--accent)}
.lp-canvas{opacity:.45}

/* 2. Crisp Bidirectional Scroll Fly-In & Fly-Out (GPU transform + opacity only) */
html.lp-motion [data-fly]{
  opacity:0;
  transition:transform .58s cubic-bezier(.22,1,.36,1),opacity .48s cubic-bezier(.22,1,.36,1);
  will-change:transform,opacity;
}
html.lp-motion [data-fly=left]{transform:translate3d(-34px,0,0)}
html.lp-motion [data-fly=right]{transform:translate3d(34px,0,0)}
html.lp-motion [data-fly=up]{transform:translate3d(0,28px,0) scale(.97)}
html.lp-motion [data-fly].is-in{opacity:1;transform:translate3d(0,0,0) scale(1)}

/* Horizontal progress bars smoothly expand on scroll-in and retract on scroll-out */
.ed-tile{animation:none!important}
.ed-tile-bar i{transform:scaleX(0);transform-origin:left;transition:transform .72s cubic-bezier(.22,1,.36,1) .12s;animation:none!important}
.ed-tile.is-in .ed-tile-bar i{transform:scaleX(1)}
.ed-mini-bars.inline i{transform:scaleY(.25);transform-origin:bottom;transition:transform .55s cubic-bezier(.22,1,.36,1)}
.ed-tile.is-in .ed-mini-bars.inline i{transform:scaleY(1)}
.ed-tile.is-in .ed-mini-bars.inline i:nth-child(2){transition-delay:.06s}
.ed-tile.is-in .ed-mini-bars.inline i:nth-child(3){transition-delay:.12s}
.ed-tile.is-in .ed-mini-bars.inline i:nth-child(4){transition-delay:.18s}
.ed-tile.is-in .ed-mini-bars.inline i:nth-child(5){transition-delay:.24s}
.ed-tile.is-in .ed-mini-bars.inline i:nth-child(6){transition-delay:.3s}

/* 3. Streamlined Single-Header Dashboard & Compact KPI Strip */
.dash-kpi-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}
.dash-kpi-strip .kpi-card{padding:12px 14px;border-radius:6px;display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.dash-topbar{min-height:58px;padding:8px clamp(14px,3vw,32px)!important;border-bottom:1px solid var(--line-strong)!important}
@media(max-width:760px){
  .dash-kpi-strip{gap:6px;margin-bottom:12px}
  .dash-kpi-strip .kpi-card{flex-direction:column;align-items:center;padding:8px 6px;gap:2px}
  .dash-topbar{gap:8px!important}
  .topbar-status{font-size:11px}
  .welcome-actions{width:auto!important;display:flex!important;gap:6px}
  .welcome-actions .button{width:auto!important;min-height:34px;padding:0 10px;font-size:11.5px}
}
@media(prefers-reduced-motion:reduce){
  html.lp-motion [data-fly]{opacity:1!important;transform:none!important}
  .ed-tile-bar i,.ed-mini-bars.inline i{transform:none!important}
}

/* V15 / FIX BUTTON-GHOST CASCADE, CLEAN SINGLE-BORDER HEADER & 2-ROW MOBILE DASHBOARD TOPBAR */
/* 1. Fix .button-ghost overridden by V4 .button gradient (unreadable black-on-blue bug) */
.button.button-ghost{
  background:#ffffff!important;
  color:var(--ink)!important;
  border:1px solid var(--line-strong)!important;
  box-shadow:0 2px 8px rgba(25,26,37,.05)!important;
}
.button.button-ghost:hover{
  background:var(--surface-2)!important;
  border-color:var(--accent)!important;
  color:var(--accent)!important;
}

/* 2. Remove awkward double-box floating header on Homepage -> crisp full-width editorial masthead */
.editorial-page .ed-header{
  top:0!important;
  padding:0!important;
  background:rgba(243,241,233,.96)!important;
  border-bottom:1.5px solid var(--ink);
}
.editorial-page .ed-header-inner{
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.editorial-page .nav-actions .button-small{white-space:nowrap}

/* 3. Clean 2-column side-by-side Hero CTAs on Mobile */
@media(max-width:760px){
  .editorial-page .hero{padding:24px 0 36px;gap:20px}
  .editorial-page .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
  .editorial-page .hero-actions .button{width:100%;min-height:42px;padding:0 12px;font-size:13px;white-space:nowrap}

  /* 4. Fix squished Dashboard Topbar into clean 2-row grid */
  .dash-topbar{
    display:grid!important;
    grid-template-columns:auto 1fr!important;
    align-items:center!important;
    gap:10px 12px!important;
    padding:10px 14px!important;
  }
  .drawer-toggle{grid-column:1;grid-row:1;white-space:nowrap}
  .topbar-status{
    grid-column:2;grid-row:1;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    font-size:11.5px!important;
    gap:6px;
  }
  .welcome-actions{
    grid-column:1 / -1;grid-row:2;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    width:100%!important;
  }
  .welcome-actions .button{
    width:100%!important;
    min-height:38px!important;
    padding:0 12px!important;
    font-size:12.5px!important;
    white-space:nowrap!important;
  }
}

/* V16 / UNIFIED SHOWCASE PANEL, MINIMALIST BOTTOM TAB BAR & COHESIVE EDITORIAL POLISH */
/* Subtle dot-grid paper texture on editorial background */
body{
  background-image:
    radial-gradient(rgba(48,59,181,.09) 1px,transparent 1px),
    radial-gradient(ellipse at 12% 0%,rgba(48,59,181,.08),transparent 48%),
    radial-gradient(ellipse at 92% 10%,rgba(15,118,110,.055),transparent 42%);
  background-size:24px 24px,auto,auto;
}

/* Unified High-Craft Showcase Panel (Replaces FIG. 01 + 4 Crosses) */
.lp-showcase{
  width:100%;
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--line-strong);
  background:#fff;
  box-shadow:0 22px 52px -18px rgba(25,26,37,.16),0 4px 14px rgba(48,59,181,.08);
  transition:transform .35s var(--ease),box-shadow .35s;
}
.lp-showcase:hover{transform:translateY(-3px);box-shadow:0 28px 60px -18px rgba(48,59,181,.2)}
.sc-head{
  display:flex;align-items:center;gap:10px;
  padding:12px 16px;
  background:linear-gradient(120deg,#191a25 0%,#29338a 60%,#303bb5 100%);
  color:#fff;
}
.sc-dots{display:flex;gap:5px}
.sc-dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.32);display:block}
.sc-dots i:first-child{background:#f59e0b}.sc-dots i:nth-child(2){background:#14b8a6}.sc-dots i:last-child{background:#818cf8}
.sc-title{font-size:10px;opacity:.85;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sc-live{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:99px;background:rgba(255,255,255,.14);font-size:9.5px;font-weight:700}

.sc-pipeline{
  display:grid;
  grid-template-columns:1fr 22px 1fr 22px 1fr;
  align-items:center;
  gap:6px;
  padding:20px 16px 16px;
  background:linear-gradient(180deg,#f8f6f0 0%,#ffffff 100%);
}
.sc-step{
  padding:12px 10px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#fff;
  text-align:center;
  transition:border-color .3s,background .3s,transform .3s var(--ease),box-shadow .3s;
}
.sc-step.is-lit{
  border-color:var(--accent);
  background:var(--surface-2);
  transform:translateY(-3px);
  box-shadow:0 10px 22px -10px rgba(48,59,181,.32);
}
.sc-ico{display:inline-block;padding:2px 6px;border-radius:4px;background:var(--bg);color:var(--accent);font:700 9.5px var(--mono);margin-bottom:6px}
.sc-step.is-lit .sc-ico{background:var(--accent);color:#fff}
.sc-step strong{display:block;font-size:13px;color:var(--ink)}
.sc-step small{display:block;font-size:10px;color:var(--muted-2);margin-top:2px}
.sc-line{height:2px;background:var(--line);position:relative;overflow:hidden;border-radius:2px}
.sc-line i{position:absolute;inset:0;width:55%;background:var(--accent);animation:ed-beam 2.4s linear infinite}

.sc-bars{display:grid;gap:12px;padding:12px 16px 16px;border-top:1px solid var(--line)}
.sc-bar-meta{display:flex;justify-content:space-between;font-size:10.5px;color:var(--muted);margin-bottom:6px}
.sc-bar-meta b{color:var(--ink)}
.lp-showcase.is-in .ed-tile-bar i{transform:scaleX(1)}

.sc-log{
  display:flex;align-items:center;gap:10px;
  padding:11px 16px;
  background:#191a25;color:#e2e8f0;
  font-size:11px;
}
.sc-log-tag{padding:2px 6px;border-radius:3px;background:var(--teal);color:#fff;font-size:9px;font-weight:700;flex:none}
.sc-log code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a5b4fc}

/* Minimalist Floating Bottom Dock for Mobile Homepage */
.mobile-bottom-dock{display:none}
@media(max-width:760px){
  .editorial-page .footer{padding-bottom:84px}
  .mobile-bottom-dock.home-dock{
    position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));
    z-index:55;
    display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;
    padding:6px;
    border-radius:16px;
    background:rgba(255,255,255,.96);
    border:1px solid var(--line-strong);
    box-shadow:0 12px 32px -6px rgba(25,26,37,.22);
  }
  .home-dock a{
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
    padding:6px 4px;border-radius:11px;
    font-size:10.5px;font-weight:700;color:var(--muted);
    transition:background .2s,color .2s,transform .2s;
  }
  .home-dock a i{font-style:normal;font-size:14px;line-height:1}
  .home-dock a:active{transform:scale(.94)}
  .home-dock a.dock-primary{background:var(--accent);color:#fff}
}

/* Dashboard Mobile Fixed Bottom Tab Bar (Zero extra clicks, always at thumb reach) */
.topbar-brand{display:none}
@media(max-width:980px){
  .topbar-brand{display:inline-flex;font-size:16px;gap:7px}
  .topbar-brand .brand-mark{width:24px;height:24px;font-size:12px}
  .dash-sidebar{
    position:fixed!important;
    top:auto!important;left:0!important;right:0!important;bottom:0!important;
    width:100%!important;height:auto!important;
    transform:none!important;
    padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px))!important;
    background:rgba(255,255,255,.97)!important;
    border-right:0!important;
    border-top:1px solid var(--line-strong)!important;
    box-shadow:0 -8px 28px rgba(25,26,37,.1)!important;
    z-index:55!important;
  }
  .dash-sidebar .sidebar-top,.dash-sidebar .sidebar-foot{display:none!important}
  .sidebar-nav.tabs{
    display:grid!important;
    grid-auto-flow:column;
    grid-auto-columns:minmax(0,1fr);
    gap:4px!important;
    margin:0!important;padding:0!important;
    overflow:visible!important;
  }
  .sidebar-nav .tab{
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:2px!important;
    padding:7px 4px!important;
    border-radius:10px!important;
    font-size:10.5px!important;
    text-align:center!important;
  }
  .sidebar-nav .tab .tab-ico{font-size:15px;line-height:1}
  .dashboard-shell{padding-bottom:92px!important}
}
@media(max-width:600px){
  .sc-pipeline{grid-template-columns:1fr;gap:8px;padding:14px}
  .sc-line{display:none}
  .sc-step{display:flex;align-items:center;justify-content:space-between;text-align:left;padding:10px 12px}
  .sc-ico{margin-bottom:0}
}

/* V17 / SEAMLESS FROSTED-GLASS FLOATING DOCK, TOPBAR & SCROLL-SPY POLISH */
/* 1. Warm Frosted-Glass Sticky Topbars (Harmonious with #f3f1e9 paper, zero harsh black cut) */
.editorial-page .ed-header,
.dashboard-page .dash-topbar{
  background:rgba(243,241,233,.74)!important;
  backdrop-filter:blur(20px) saturate(170%)!important;
  -webkit-backdrop-filter:blur(20px) saturate(170%)!important;
  border-bottom:1px solid rgba(25,26,37,.1)!important;
  box-shadow:0 4px 20px -10px rgba(25,26,37,.08);
}

/* 2. Seamless Floating Frosted-Glass Capsule Dock (Homepage Mobile) */
@media(max-width:760px){
  .mobile-bottom-dock.home-dock{
    left:14px;right:14px;
    bottom:calc(12px + env(safe-area-inset-bottom,0px));
    padding:6px;
    border-radius:22px;
    background:rgba(248,246,240,.72)!important;
    backdrop-filter:blur(24px) saturate(185%)!important;
    -webkit-backdrop-filter:blur(24px) saturate(185%)!important;
    border:1px solid rgba(255,255,255,.85)!important;
    box-shadow:0 14px 36px -8px rgba(25,26,37,.18),0 2px 8px rgba(48,59,181,.08),inset 0 1px 0 rgba(255,255,255,.92)!important;
  }
  .home-dock a{
    position:relative;
    padding:7px 4px;
    border-radius:16px;
    color:var(--muted);
    transition:background .28s cubic-bezier(.22,1,.36,1),color .25s,transform .32s cubic-bezier(.34,1.56,.64,1);
  }
  .home-dock a i{font-size:15px;transition:transform .3s cubic-bezier(.34,1.56,.64,1)}
  .home-dock a.is-current{
    background:rgba(48,59,181,.11);
    color:var(--accent);
  }
  .home-dock a.is-current i{transform:translateY(-1px) scale(1.1)}
  .home-dock a.is-current::after{
    content:"";position:absolute;bottom:2px;left:50%;width:14px;height:2.5px;
    margin-left:-7px;border-radius:99px;background:var(--accent);
  }
  .home-dock a.dock-primary{
    background:linear-gradient(125deg,#2a35a8,#404fd4);
    color:#fff;
    box-shadow:0 6px 16px -4px rgba(48,59,181,.48);
  }
  .home-dock a.dock-primary::after{display:none}
  .home-dock a:active{transform:scale(.92)}
}

/* 3. Seamless Floating Frosted-Glass Bottom Navigation (Dashboard Mobile <= 980px) */
@media(max-width:980px){
  .dash-sidebar{
    left:14px!important;right:14px!important;
    bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;
    width:auto!important;
    padding:6px!important;
    border-radius:22px!important;
    background:rgba(248,246,240,.72)!important;
    backdrop-filter:blur(24px) saturate(185%)!important;
    -webkit-backdrop-filter:blur(24px) saturate(185%)!important;
    border:1px solid rgba(255,255,255,.85)!important;
    box-shadow:0 14px 36px -8px rgba(25,26,37,.18),0 2px 8px rgba(48,59,181,.08),inset 0 1px 0 rgba(255,255,255,.92)!important;
  }
  .sidebar-nav .tab{
    position:relative;
    border-radius:16px!important;
    padding:8px 4px!important;
    color:var(--muted)!important;
    border:0!important;
    transition:background .28s cubic-bezier(.22,1,.36,1),color .25s,transform .32s cubic-bezier(.34,1.56,.64,1)!important;
  }
  .sidebar-nav .tab .tab-ico{transition:transform .32s cubic-bezier(.34,1.56,.64,1)}
  .sidebar-nav .tab.active{
    background:linear-gradient(125deg,#2a35a8,#404fd4)!important;
    color:#fff!important;
    box-shadow:0 6px 16px -4px rgba(48,59,181,.45);
  }
  .sidebar-nav .tab.active .tab-ico{transform:translateY(-1px) scale(1.1)}
  .sidebar-nav .tab:active{transform:scale(.92)!important}
  .dashboard-shell{padding-bottom:104px!important}
}

/* 4. Subtle Soft Bottom Gradient Fade so Content Glides Smoothly Under the Floating Dock */
@media(max-width:980px){
  body.editorial-page::after,body.dashboard-page::after{
    content:"";position:fixed;left:0;right:0;bottom:0;height:86px;z-index:44;pointer-events:none;
    background:linear-gradient(180deg,transparent,rgba(243,241,233,.72) 78%,rgba(243,241,233,.92));
  }
}

/* V17.1 / AUDIT POLISH: TOPBAR-BRAND GRID ALIGNMENT & SCOPED BOTTOM FADE */
@media(min-width:761px){
  body.editorial-page::after{display:none!important}
}
@media(max-width:760px){
  .topbar-brand{grid-column:1;grid-row:1;white-space:nowrap}
}

/* V18 / CRYSTAL LIQUID-GLASS BLUR, HIGH TRANSPARENCY & PRECISION SVG DOCK ICONS */
.dock-svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;display:block;flex:none}
.sidebar-nav .tab .tab-ico{display:grid;place-items:center}

/* Remove opaque bottom cream wash so scrolled content visibly blurs through the glass dock */
body.editorial-page::after,body.dashboard-page::after{display:none!important}

/* Ultra-Translucent High-Blur Frosted Topbars */
.editorial-page .ed-header,
.dashboard-page .dash-topbar{
  background:rgba(243,241,233,.38)!important;
  backdrop-filter:blur(32px) saturate(200%)!important;
  -webkit-backdrop-filter:blur(32px) saturate(200%)!important;
  border-bottom:1px solid rgba(255,255,255,.55)!important;
  box-shadow:0 4px 24px -10px rgba(25,26,37,.1),inset 0 -1px 0 rgba(25,26,37,.06)!important;
}

/* Crystal-Clear Liquid-Glass Floating Capsule Docks */
@media(max-width:760px){
  .mobile-bottom-dock.home-dock{
    background:rgba(255,255,255,.32)!important;
    backdrop-filter:blur(36px) saturate(215%)!important;
    -webkit-backdrop-filter:blur(36px) saturate(215%)!important;
    border:1px solid rgba(255,255,255,.68)!important;
    box-shadow:0 18px 44px -10px rgba(25,26,37,.22),0 2px 10px rgba(48,59,181,.08),inset 0 1.5px 0 rgba(255,255,255,.88),inset 0 -1px 0 rgba(25,26,37,.06)!important;
  }
  .home-dock a{gap:4px;padding:7px 4px;color:#2b2e3d}
  .home-dock a .dock-svg{transition:transform .32s cubic-bezier(.34,1.56,.64,1)}
  .home-dock a.is-current .dock-svg{transform:translateY(-1px) scale(1.08)}
  .home-dock a.is-current{background:rgba(48,59,181,.15);color:var(--accent)}
  .home-dock a.dock-primary{
    background:linear-gradient(135deg,rgba(42,53,168,.92),rgba(64,79,212,.92));
    color:#fff;
  }
}

@media(max-width:980px){
  .dash-sidebar{
    background:rgba(255,255,255,.32)!important;
    backdrop-filter:blur(36px) saturate(215%)!important;
    -webkit-backdrop-filter:blur(36px) saturate(215%)!important;
    border:1px solid rgba(255,255,255,.68)!important;
    box-shadow:0 18px 44px -10px rgba(25,26,37,.22),0 2px 10px rgba(48,59,181,.08),inset 0 1.5px 0 rgba(255,255,255,.88),inset 0 -1px 0 rgba(25,26,37,.06)!important;
  }
  .sidebar-nav .tab{gap:4px!important;padding:7px 4px!important;color:#2b2e3d!important}
  .sidebar-nav .tab .dock-svg{width:19px;height:19px;transition:transform .32s cubic-bezier(.34,1.56,.64,1)}
  .sidebar-nav .tab.active{
    background:linear-gradient(135deg,rgba(42,53,168,.92),rgba(64,79,212,.92))!important;
    color:#fff!important;
  }
  .sidebar-nav .tab.active .dock-svg{transform:translateY(-1px) scale(1.08)}
}

/* V19 / LIVING CONTINUOUS HOMEPAGE MOTION (100% GPU TRANSFORM & OPACITY, ZERO LAG) */
/* 1. Living Flowing Ink Gradient on All Headlines & Eyebrow Dots */
.editorial-page .hero h1 em,
.editorial-page .section-heading h2 em{
  background:linear-gradient(105deg,#303bb5 0%,#4f46e5 35%,#0f766e 68%,#303bb5 100%)!important;
  background-size:240% auto!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  animation:ed-ink-flow 5.5s ease-in-out infinite!important;
}

/* 2. Travelling Light Beams on Every Section Kicker Hairline */
.editorial-page .section-kicker::after{
  display:block!important;
  content:"";position:absolute;top:0;left:0;width:28%;height:1.5px;
  background:linear-gradient(90deg,transparent,#303bb5,#0f766e,transparent);
  animation:ed-beam 4.8s cubic-bezier(.4,0,.2,1) infinite!important;
  pointer-events:none;
}

/* 3. Showcase Progress Bars Travelling Specular Sheen */
.editorial-page .ed-tile-bar i::after{
  display:block!important;
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent);
  animation:ed-beam 2.8s ease-in-out infinite!important;
}

/* 4. Capabilities Section: Staggered Floating Glyphs & Sequential Top Accent Pulse */
@keyframes ed-glyph-float{
  0%,100%{transform:translate3d(0,0,0)}
  50%{transform:translate3d(0,-5px,0)}
}
@keyframes ed-cell-bar{
  0%,70%,100%{transform:scaleX(0);opacity:0}
  18%,42%{transform:scaleX(1);opacity:1}
}
.editorial-page .ed-cell-glyph{animation:ed-glyph-float 3.6s ease-in-out infinite}
.editorial-page .ed-cell:nth-child(2) .ed-cell-glyph{animation-delay:.7s}
.editorial-page .ed-cell:nth-child(3) .ed-cell-glyph{animation-delay:1.4s}
.editorial-page .ed-cell:nth-child(4) .ed-cell-glyph{animation-delay:2.1s}
.editorial-page .ed-cell::before{
  transform-origin:left;
  animation:ed-cell-bar 8s cubic-bezier(.22,1,.36,1) infinite;
}
.editorial-page .ed-cell:nth-child(2)::before{animation-delay:2s;background:var(--indigo)}
.editorial-page .ed-cell:nth-child(3)::before{animation-delay:4s;background:var(--teal)}
.editorial-page .ed-cell:nth-child(4)::before{animation-delay:6s;background:var(--amber)}

/* 5. Workflow Section: Sequential 1 -> 2 -> 3 -> 4 Step Badge Illumination */
@keyframes ed-step-glow{
  0%,65%,100%{transform:scale(1);background:transparent;color:var(--accent);box-shadow:none}
  15%,35%{transform:scale(1.1);background:var(--accent);color:#fff;box-shadow:0 6px 16px -4px rgba(48,59,181,.48)}
}
.editorial-page .flow-step .step-index{animation:ed-step-glow 6.4s ease-in-out infinite}
.editorial-page .flow-step:nth-child(2) .step-index{animation-delay:1.6s}
.editorial-page .flow-step:nth-child(3) .step-index{animation-delay:3.2s}
.editorial-page .flow-step:nth-child(4) .step-index{animation-delay:4.8s}

/* 6. Downloads Radar Ping & Security Panel Living Rings + Glass Glint */
@keyframes ed-radar{
  0%{transform:scale(.8);opacity:.85}
  100%{transform:scale(2.8);opacity:0}
}
.editorial-page .public-download-indicator{position:relative;border-radius:50%}
.editorial-page .public-download-indicator::after{
  content:"";position:absolute;inset:-2px;border-radius:50%;border:1.5px solid var(--good);
  animation:ed-radar 2.2s cubic-bezier(0,0,.2,1) infinite;
}
.editorial-page .sec-rings{display:block!important}
@keyframes ed-cta-glint{
  0%,68%{transform:translate3d(-135%,0,0)}
  100%{transform:translate3d(135%,0,0)}
}
.editorial-page .button:not(.button-ghost)::after{
  animation:ed-cta-glint 4.4s cubic-bezier(.22,1,.36,1) infinite;
}

@media(prefers-reduced-motion:reduce){
  .editorial-page .hero h1 em,.editorial-page .section-heading h2 em,
  .editorial-page .section-kicker::after,.editorial-page .ed-tile-bar i::after,
  .editorial-page .ed-cell-glyph,.editorial-page .ed-cell::before,
  .editorial-page .flow-step .step-index,.editorial-page .public-download-indicator::after,
  .editorial-page .button::after,.editorial-page .sec-rings i{animation:none!important}
}

/* V20 FINAL / SAFE-AREA SCROLL PADDING, FOCUS RING & TACTILE FINISH */
@media(max-width:980px){
  html{scroll-padding-bottom:96px}
}
.editorial-page .ed-cell,.editorial-page .flow-step,.lp-showcase,.dashboard-page .panel{
  transition:transform .32s cubic-bezier(.22,1,.36,1),box-shadow .32s,border-color .25s;
}
.sc-log{border-top:1px solid rgba(255,255,255,.08)}
.home-dock a:focus-visible,.sidebar-nav .tab:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.dash-device:hover .online-dot{box-shadow:0 0 0 4px rgba(32,101,65,.18)}

/* V21 / UNIFIED CROSS-PAGE POLISH FOR LOGIN & DOCS */
.auth-split{border-radius:14px;overflow:hidden;border:1px solid var(--line-strong);box-shadow:0 24px 60px -18px rgba(25,26,37,.18)}
.auth-panel input,.auth-panel .button{border-radius:8px}
.auth-feature-pills>div{border-radius:10px;transition:transform .25s var(--ease),background .25s}
.auth-feature-pills>div:hover{transform:translateX(3px);background:rgba(255,255,255,.14)}

.docs-page .ed-header{
  background:rgba(243,241,233,.42)!important;
  backdrop-filter:blur(32px) saturate(195%)!important;
  -webkit-backdrop-filter:blur(32px) saturate(195%)!important;
  border-bottom:1px solid rgba(255,255,255,.6)!important;
}
.docs-page .ed-header-inner{border-bottom:0!important}
.docs-hero h1 em{
  background:linear-gradient(105deg,#303bb5 0%,#4f46e5 45%,#0f766e 80%,#303bb5 100%);
  background-size:220% auto;-webkit-background-clip:text;background-clip:text;color:transparent;
  animation:ed-ink-flow 6s ease-in-out infinite;
}
.docs-aside,.code-card{border-radius:10px;box-shadow:var(--card-shadow)}
.docs-nav{border-radius:6px}
.docs-page .button{border-radius:8px}
@media(max-width:760px){
  .auth-split{border-radius:12px}
  .docs-shell{padding:24px 0 64px}
}

/* V22 / MINIMAL FOCUSED LOGIN & REFINED EDITORIAL DOCS LAYOUT */
.auth-single{position:relative;z-index:2;width:min(420px,100%);display:grid;gap:18px}
.auth-top-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.auth-card-clean{
  padding:clamp(24px,4vw,34px);
  border-radius:14px;
  border:1px solid var(--line-strong);
  background:var(--card-grad);
  box-shadow:0 22px 54px -18px rgba(25,26,37,.15),0 2px 10px rgba(48,59,181,.06);
}
.auth-card-clean h1{font-family:var(--display);font-size:30px;letter-spacing:-.05em;margin:10px 0 6px}
.auth-card-clean>p{color:var(--muted);font-size:13.5px;margin-bottom:20px}
.auth-card-clean label{display:grid;gap:6px;margin-bottom:14px;font-size:12.5px;font-weight:700}
.auth-card-clean input{width:100%;min-height:44px;padding:0 12px;border:1px solid var(--line-strong);border-radius:8px;background:#fff;color:var(--ink)}
.auth-card-clean input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(48,59,181,.12)}
.auth-card-clean .button{border-radius:8px;margin-top:4px}
.auth-minimal .auth-note{text-align:center;margin:0}

/* Refined Docs Layout */
.docs-hero{display:grid;grid-template-columns:1.25fr .75fr;align-items:end;gap:28px;padding-bottom:28px;margin-bottom:32px}
.docs-quick-box{padding:18px;border-radius:12px;border:1px solid var(--line-strong);background:var(--card-grad);box-shadow:var(--card-shadow);display:grid;gap:10px}
.docs-quick-box>span{font-size:10px;color:var(--accent);font-weight:700}
.docs-quick-box>code{padding:8px 10px;border-radius:6px;background:var(--bg);border:1px solid var(--line);font:700 12px var(--mono);color:var(--ink);overflow-wrap:anywhere}
.docs-quick-links{display:flex;gap:8px;flex-wrap:wrap}
.docs-quick-links .mini-button{border-radius:6px}
.docs-quick-links b{font-weight:700}

.docs-grid{grid-template-columns:220px minmax(0,1fr);gap:28px}
.docs-aside{padding:16px;border-radius:12px;background:var(--card-grad)}
.docs-aside-title{font-size:10px;color:var(--muted-2);padding:0 8px 8px;border-bottom:1px solid var(--line);margin-bottom:4px}
.docs-content{display:grid;gap:18px}
.doc-card{padding:clamp(20px,3vw,30px)!important;margin:0!important;border:1px solid var(--line)!important;border-radius:12px;background:#fff;box-shadow:0 10px 28px -14px rgba(25,26,37,.08)}
.doc-card h2{margin-bottom:12px}
.doc-card p:last-child{margin-bottom:0}

.code-dark{background:#191a25!important;border-color:#2c3048!important;padding:0!important;overflow:hidden;border-radius:10px}
.code-head{display:flex;align-items:center;justify-content:space-between;padding:8px 14px;background:rgba(255,255,255,.05);border-bottom:1px solid rgba(255,255,255,.08);color:#94a3b8;font-size:10px}
.code-copy{padding:3px 9px;border-radius:5px;border:1px solid rgba(255,255,255,.18);color:#e2e8f0;font-size:10.5px}
.code-copy:hover{border-color:#818cf8;color:#fff}
.code-dark pre{margin:0;padding:14px 16px;overflow-x:auto}
.code-dark code{color:#c7d2fe!important;font:400 12.5px/1.75 var(--mono)!important;white-space:pre}

@media(max-width:980px){
  .docs-hero{grid-template-columns:1fr;gap:18px}
  .docs-grid{grid-template-columns:1fr;gap:16px}
  .docs-aside-title{display:none}
  .docs-aside{padding:10px;gap:6px}
}

/* V23 / STRICT PORTRAIT MOBILE ZERO-CLIPPING FOR DOCS PAGE */
.docs-page,.docs-shell,.docs-hero,.docs-hero-main,.docs-quick-box,.docs-grid,.docs-aside,.docs-content,.doc-card,.code-dark,.code-dark pre{
  min-width:0!important;
  max-width:100%!important;
}
.docs-content,.doc-card,.docs-quick-box{overflow:hidden}
.docs-lead code,.docs-content code,.docs-content p{overflow-wrap:anywhere;word-break:break-word}
@media(max-width:760px){
  .docs-page .shell{width:calc(100% - 28px)!important}
  .docs-page .ed-header-inner{grid-template-columns:1fr auto!important;gap:10px}
  .docs-hero h1{font-size:clamp(30px,9vw,44px)}
  .docs-quick-box{padding:14px}
  .docs-quick-box>code{font-size:11px}
  .docs-aside{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch;padding:8px!important;gap:6px!important}
  .docs-nav{flex:0 0 auto;white-space:nowrap;padding:6px 10px!important;font-size:11.5px!important}
  .doc-card{padding:16px 14px!important}
  .doc-card h2{font-size:21px}
  .doc-card p{font-size:13.5px;line-height:1.75}
  .code-dark pre{padding:12px!important;overflow-x:auto!important}
  .code-dark code{font-size:11.5px!important;white-space:pre-wrap!important;word-break:break-all!important}
}

/* V24 / FLUSH BOTTOM NAV, MODAL Z-INDEX FIX & CLEAN REAL-DOM DEVICE CARDS */
/* 1. Modal always above bottom nav + refined card styling */
.modal-backdrop{z-index:120!important;background:rgba(25,26,37,.48)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important}
.dashboard-page .modal,.modal{border:1px solid var(--line-strong)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 24px 60px rgba(25,26,37,.24)!important;padding:22px!important}
.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.modal-actions .button{min-width:96px;border-radius:8px}

/* 2. Real app-v2.js .dash-device card polish (status-pill pinned top-right, clean 3-col action buttons) */
.device-list{display:grid;gap:12px}
.dash-device{
  position:relative!important;
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;
  padding:14px!important;
  border:1px solid var(--line)!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 4px 14px -8px rgba(25,26,37,.08);
  transition:border-color .2s,box-shadow .2s;
}
.dash-device:hover{border-color:var(--accent)!important;box-shadow:0 10px 24px -12px rgba(48,59,181,.16)}
.device-select{display:inline-flex!important;align-items:center;gap:6px;padding:4px 8px;border-radius:6px;border:1px solid var(--line);background:var(--bg);font-size:11.5px;font-weight:700;color:var(--muted);cursor:pointer}
.device-select input{width:15px!important;height:15px!important;margin:0!important;accent-color:var(--accent)}
.dash-device .device-icon.small{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;font-size:15px;flex:none;background:var(--surface-2);color:var(--accent)}
.dash-device .device-icon.small.gray{background:var(--bg);color:var(--muted-2)}
.dash-device .device-meta{flex:1;min-width:130px;padding-right:58px}
.dash-device .device-meta strong{font-size:15px;color:var(--ink)}
.dash-device .device-meta span{font-size:12px;color:var(--muted-2);margin-top:2px}

.dash-device-actions{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  padding-top:12px!important;
  border-top:1px solid var(--line)!important;
  margin-top:4px!important;
}
.dash-device-actions .status-pill{
  position:absolute!important;top:14px!important;right:14px!important;
  padding:3px 9px!important;border-radius:99px!important;
  font:700 11px/1.3 var(--body)!important;
  background:var(--bg)!important;color:var(--muted)!important;border:1px solid var(--line)!important;
}
.dash-device-actions .status-pill.online{background:#e6f6ee!important;color:var(--good)!important;border-color:#a7dfc3!important}
.dash-device-actions .mini-button{
  width:100%!important;min-height:38px!important;padding:6px 8px!important;
  border-radius:8px!important;font-size:12px!important;font-weight:700!important;
  text-align:center!important;justify-content:center!important;
}
.dash-device-actions .device-capability{grid-column:1 / -1;font-size:11.5px;color:var(--amber);padding:4px 0}

/* 3. Flush-Docked Frosted Bottom Navigation (No gap peeking underneath, no double border) */
@media(max-width:980px){
  .dash-sidebar{
    left:0!important;right:0!important;bottom:0!important;
    width:100%!important;
    border-radius:0!important;
    border:0!important;
    border-top:1px solid rgba(25,26,37,.12)!important;
    padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px))!important;
    background:rgba(248,246,240,.82)!important;
    backdrop-filter:blur(28px) saturate(195%)!important;
    -webkit-backdrop-filter:blur(28px) saturate(195%)!important;
    box-shadow:0 -6px 24px rgba(25,26,37,.08)!important;
    z-index:55!important;
  }
  .dash-sidebar .sidebar-nav.tabs{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    border-radius:0!important;
  }
  .sidebar-nav .tab{border-radius:10px!important;padding:6px 4px!important}
  .dashboard-shell{padding-bottom:84px!important}
}
@media(max-width:760px){
  .mobile-bottom-dock.home-dock{
    left:0!important;right:0!important;bottom:0!important;
    width:100%!important;
    border-radius:0!important;
    border:0!important;
    border-top:1px solid rgba(25,26,37,.12)!important;
    padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px))!important;
    background:rgba(248,246,240,.82)!important;
    backdrop-filter:blur(28px) saturate(195%)!important;
    -webkit-backdrop-filter:blur(28px) saturate(195%)!important;
    box-shadow:0 -6px 24px rgba(25,26,37,.08)!important;
  }
  .home-dock a{border-radius:10px!important;padding:6px 4px!important}
  .editorial-page .footer{padding-bottom:76px!important}
}

/* V24.1 / SYMMETRIC 3x2 ACTION GRID */
.dash-device-actions .mini-button.primary-control{
  grid-column:span 2!important;
  background:var(--accent-grad)!important;
  color:#fff!important;
  border-color:var(--accent)!important;
  box-shadow:0 6px 16px -6px rgba(48,59,181,.45)!important;
}
.dashboard-page .device-selection-toolbar{
  border-radius:10px!important;
  background:rgba(243,241,233,.72)!important;
  border:1px solid var(--line)!important;
  padding:8px 10px!important;
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important;
}
.dashboard-page .selected-device-count{
  font:700 12px var(--body)!important;color:var(--ink)!important;margin-right:auto!important;padding-left:2px;
}

/* V25 / ULTRA-GLASS FLUSH NAV, DUOTONE ICONS, OCR FIX & VISUAL DASHBOARD */

/* 1. Duotone Micro-SVG Icon System */
.dock-svg{
  width:21px!important;height:21px!important;
  fill:none;stroke:currentColor;stroke-width:1.68;stroke-linecap:round;stroke-linejoin:round;
  transition:transform .28s cubic-bezier(.22,1,.36,1),color .2s;
}
.dock-svg .ico-tint{
  fill:currentColor!important;fill-opacity:.13!important;stroke:none!important;
  transition:fill-opacity .25s;
}
.sidebar-nav .tab.active .dock-svg,
.home-dock a.active .dock-svg{transform:translateY(-1.5px) scale(1.06)}
.sidebar-nav .tab.active .dock-svg .ico-tint,
.home-dock a.active .dock-svg .ico-tint{fill-opacity:.22!important}

/* 2. Ultra-Translucent Liquid Glass Flush-Docked Bottom Navigation */
@media(max-width:980px){
  .dash-sidebar{
    left:0!important;right:0!important;bottom:0!important;width:100%!important;
    border-radius:0!important;border:0!important;
    border-top:1px solid rgba(255,255,255,.78)!important;
    padding:7px 10px calc(7px + env(safe-area-inset-bottom,0px))!important;
    background:linear-gradient(180deg,rgba(248,246,240,.58),rgba(243,241,233,.48))!important;
    backdrop-filter:blur(36px) saturate(225%)!important;
    -webkit-backdrop-filter:blur(36px) saturate(225%)!important;
    box-shadow:0 -1px 0 rgba(25,26,37,.08),0 -10px 28px -8px rgba(25,26,37,.12),inset 0 1px 0 rgba(255,255,255,.85)!important;
    z-index:55!important;
  }
  .dash-sidebar .sidebar-nav.tabs{
    gap:4px!important;
    background:transparent!important;border:0!important;box-shadow:none!important;
  }
  .sidebar-nav .tab{
    position:relative!important;
    flex-direction:column!important;gap:3px!important;
    padding:7px 4px 6px!important;
    border-radius:12px!important;
    border:1px solid transparent!important;
    background:transparent!important;
    color:rgba(25,26,37,.64)!important;
    font-size:10.5px!important;font-weight:700!important;letter-spacing:.02em;
    transition:all .26s cubic-bezier(.22,1,.36,1)!important;
  }
  .sidebar-nav .tab.active{
    background:linear-gradient(135deg,rgba(48,59,181,.16),rgba(79,70,229,.10))!important;
    border-color:rgba(48,59,181,.24)!important;
    color:var(--accent)!important;
    box-shadow:0 4px 14px -4px rgba(48,59,181,.22),inset 0 1px 0 rgba(255,255,255,.75)!important;
  }
  .sidebar-nav .tab.active::before{
    content:"";position:absolute;top:2px;left:50%;transform:translateX(-50%);
    width:18px;height:2.5px;border-radius:99px;background:var(--accent);
  }
  .dashboard-shell{padding-bottom:92px!important}
}

@media(max-width:760px){
  .mobile-bottom-dock.home-dock{
    left:0!important;right:0!important;bottom:0!important;width:100%!important;
    border-radius:0!important;border:0!important;
    border-top:1px solid rgba(255,255,255,.78)!important;
    padding:7px 10px calc(7px + env(safe-area-inset-bottom,0px))!important;
    background:linear-gradient(180deg,rgba(248,246,240,.58),rgba(243,241,233,.48))!important;
    backdrop-filter:blur(36px) saturate(225%)!important;
    -webkit-backdrop-filter:blur(36px) saturate(225%)!important;
    box-shadow:0 -1px 0 rgba(25,26,37,.08),0 -10px 28px -8px rgba(25,26,37,.12),inset 0 1px 0 rgba(255,255,255,.85)!important;
    gap:4px!important;
  }
  .home-dock a{
    position:relative!important;
    border-radius:12px!important;padding:7px 4px 6px!important;
    border:1px solid transparent!important;
    color:rgba(25,26,37,.64)!important;font-size:10.5px!important;font-weight:700!important;
  }
  .home-dock a.active{
    background:linear-gradient(135deg,rgba(48,59,181,.16),rgba(79,70,229,.10))!important;
    border-color:rgba(48,59,181,.24)!important;
    color:var(--accent)!important;
    box-shadow:0 4px 14px -4px rgba(48,59,181,.22),inset 0 1px 0 rgba(255,255,255,.75)!important;
  }
  .home-dock a.active::before{
    content:"";position:absolute;top:2px;left:50%;transform:translateX(-50%);
    width:18px;height:2.5px;border-radius:99px;background:var(--accent);
  }
}

/* 3. OCR & Observation Modal Fix (No more blank hole or squeezed 480px modal) */
.modal.simple-invoke-modal,
.modal.control-modal{
  width:min(860px,100%)!important;
  max-height:calc(100dvh - 32px)!important;
  overflow-y:auto!important;
}
.invoke-preview,
.observation-preview,
.control-preview{
  margin:14px 0!important;
  min-width:0!important;width:100%!important;
}
.invoke-preview:empty,
.observation-preview:empty{
  display:flex!important;align-items:center!important;gap:12px!important;
  padding:18px 16px!important;border-radius:12px!important;
  border:1.5px dashed rgba(48,59,181,.28)!important;
  background:linear-gradient(135deg,rgba(48,59,181,.05),rgba(15,118,110,.03))!important;
  color:var(--accent)!important;font:700 13px/1.5 var(--body)!important;
}
.invoke-preview:empty::before,
.observation-preview:empty::before{
  content:"";width:16px;height:16px;border-radius:50%;flex:none;
  border:2.2px solid rgba(48,59,181,.25);border-top-color:var(--accent);
  animation:ed-spin .85s linear infinite;
}
.invoke-preview:empty::after{content:"正在连接设备并读取屏幕画面与结构化 OCR 文字…"}
.observation-preview:empty::after{content:"正在加载最近一次屏幕观察与 OCR 记录…"}
@keyframes ed-spin{to{transform:rotate(360deg)}}

.control-preview-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)!important;
  gap:14px!important;align-items:start!important;
}
@media(max-width:720px){
  .control-preview-grid{grid-template-columns:1fr!important}
}
.control-media,
.control-text-panel{
  border:1px solid var(--line-strong)!important;
  border-radius:12px!important;
  background:#fbfaf6!important;
  padding:14px!important;
  color:var(--ink)!important;
  min-width:0!important;
}
.control-media h3,
.control-text-panel h3{
  display:flex!important;align-items:center!important;gap:8px!important;
  margin:0 0 10px!important;font:700 13px/1.3 var(--body)!important;
  color:var(--ink)!important;letter-spacing:.01em;
}
.control-media h3::before,
.control-text-panel h3::before{
  content:"";width:7px;height:7px;border-radius:50%;background:var(--accent);flex:none;
}
.control-text-panel h3::before{background:var(--teal,#0f766e)}
.control-screen{
  display:block!important;width:100%!important;max-height:46dvh!important;
  object-fit:contain!important;border-radius:10px!important;
  border:1px solid var(--line-strong)!important;background:#131622!important;
}
.control-empty{
  margin:0!important;padding:18px 14px!important;border-radius:10px!important;
  background:#fff!important;border:1px dashed var(--line-strong)!important;
  color:var(--muted)!important;font-size:12.5px!important;line-height:1.7!important;
  text-align:center!important;
}
.control-text-panel{max-height:46dvh!important;overflow-y:auto!important}
.control-text-meta,.control-observed-at,.control-frame-info{
  margin:0 0 10px!important;padding:6px 10px!important;border-radius:8px!important;
  background:rgba(48,59,181,.06)!important;color:var(--accent)!important;
  font:700 11.5px/1.5 var(--body)!important;
}
.control-text-list{
  margin:0!important;padding:0!important;list-style:none!important;
  display:grid!important;gap:7px!important;counter-reset:ocr-idx;
}
.control-text-list li{
  counter-increment:ocr-idx;
  position:relative;padding:9px 11px 9px 34px!important;
  border-radius:9px!important;background:#fff!important;
  border:1px solid var(--line)!important;
  color:var(--ink)!important;font-size:13px!important;line-height:1.55!important;
}
.control-text-list li::before{
  content:counter(ocr-idx);position:absolute;left:10px;top:10px;
  width:18px;height:18px;border-radius:5px;display:grid;place-items:center;
  background:var(--bg);color:var(--accent);font:700 10.5px var(--mono);
}
.control-text-line{display:block!important;color:var(--ink)!important;font-weight:600;word-break:break-word}
.control-text-confidence{
  display:inline-block!important;margin-top:4px!important;padding:1px 7px!important;
  border-radius:99px!important;background:#e6f6ee!important;color:#0f766e!important;
  font:700 10.5px var(--mono)!important;
}
.modal details{
  margin:12px 0!important;border:1px solid var(--line)!important;
  border-radius:10px!important;background:var(--bg)!important;overflow:hidden;
}
.modal details summary{
  padding:10px 14px!important;font:700 12px var(--body)!important;
  color:var(--ink)!important;cursor:pointer;user-select:none;
}
.invoke-detail,.observation-detail,.control-detail{
  margin:0!important;padding:12px 14px!important;
  background:#191a25!important;color:#c7d2fe!important;
  font:400 11.5px/1.65 var(--mono)!important;
  max-height:240px!important;overflow:auto!important;
  white-space:pre-wrap!important;word-break:break-all!important;
}
.invoke-state{
  margin:10px 0 4px!important;padding:8px 12px!important;border-radius:8px!important;
  background:rgba(48,59,181,.08)!important;color:var(--accent)!important;
  font:700 12.5px/1.5 var(--body)!important;
}
.invoke-caveat{margin:4px 0!important;color:var(--muted-2)!important;font-size:12px!important}
.invoke-error{
  margin:8px 0!important;padding:10px 12px!important;border-radius:8px!important;
  background:#fff1f4!important;border:1px solid #fecdd3!important;
  color:#be123c!important;font:700 12.5px/1.5 var(--body)!important;
}

/* 4. High-Visual Dashboard & Admin Polish Across All Tabs */
.dash-kpi-strip{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;margin-bottom:18px!important;
}
.dash-kpi-strip .kpi-card{
  position:relative!important;overflow:hidden!important;
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:6px!important;
  padding:14px 16px!important;border-radius:12px!important;
  background:#fff!important;border:1px solid var(--line)!important;
  box-shadow:0 8px 22px -14px rgba(25,26,37,.12)!important;
}
.dash-kpi-strip .kpi-card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--accent);
}
.dash-kpi-strip .kpi-card.kpi-teal::before{background:#0f766e}
.dash-kpi-strip .kpi-card.kpi-indigo::before{background:#4f46e5}
.kpi-top{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:var(--muted)}
.kpi-ico{
  width:24px;height:24px;border-radius:7px;display:grid;place-items:center;
  background:rgba(48,59,181,.10);color:var(--accent);flex:none;
}
.kpi-teal .kpi-ico{background:rgba(15,118,110,.10);color:#0f766e}
.kpi-indigo .kpi-ico{background:rgba(79,70,229,.10);color:#4f46e5}
.kpi-ico svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dash-kpi-strip .kpi-val{font:800 clamp(20px,2.4vw,26px)/1.1 var(--display)!important;color:var(--ink)!important}
.kpi-sub{font:700 10px/1 var(--mono);color:var(--muted-2);letter-spacing:.08em;text-transform:uppercase}

@media(max-width:640px){
  .dash-kpi-strip{gap:8px!important;margin-bottom:14px!important}
  .dash-kpi-strip .kpi-card{padding:11px 10px!important;gap:4px!important;border-radius:10px!important}
  .kpi-top{font-size:11px;gap:5px}
  .kpi-ico{width:20px;height:20px;border-radius:6px}
  .kpi-ico svg{width:12px;height:12px}
  .dash-kpi-strip .kpi-val{font-size:17px!important}
  .kpi-sub{font-size:9px}
}

/* Unified Editorial Bento Cards for Scripts, Releases, Keys, Users & Panels */
.dashboard-page .panel{
  border-radius:14px!important;
  border:1px solid var(--line)!important;
  background:#fff!important;
  box-shadow:0 10px 28px -18px rgba(25,26,37,.12)!important;
  padding:clamp(16px,2.2vw,24px)!important;
}
.panel-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
  padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid var(--line);
}
.panel-head h2{font-size:clamp(18px,2vw,22px)!important;margin:3px 0 2px!important}
.panel-subtitle{font-size:12.5px!important;color:var(--muted)!important;margin:0!important}

.script-list,.release-list,.key-list,.admin-users{display:grid!important;gap:10px!important}
.dashboard-page .script-item,
.dashboard-page .release-item,
.dashboard-page .key-item,
.dashboard-page .user-item{
  position:relative;
  border-radius:11px!important;
  border:1px solid var(--line)!important;
  border-left:3.5px solid var(--accent)!important;
  background:#fbfaf6!important;
  padding:14px!important;
  transition:border-color .2s,box-shadow .2s,transform .2s;
}
.dashboard-page .release-item{border-left-color:#0f766e!important}
.dashboard-page .key-item{border-left-color:#4f46e5!important}
.dashboard-page .user-item{border-left-color:#b45309!important}
.dashboard-page .script-item:hover,
.dashboard-page .release-item:hover,
.dashboard-page .key-item:hover,
.dashboard-page .user-item:hover{
  background:#fff!important;
  box-shadow:0 8px 20px -12px rgba(48,59,181,.18);
  transform:translateY(-1px);
}

/* Compact Visual Quick-Start Launchpad */
.panel-activity .quick-card{
  display:flex!important;align-items:center!important;gap:12px!important;
  padding:12px!important;border-radius:10px!important;
  border:1px solid var(--line)!important;background:#fbfaf6!important;
  margin-bottom:9px!important;
  transition:border-color .2s,background .2s,transform .2s;
}
.panel-activity .quick-card:hover{border-color:var(--accent)!important;background:#fff!important;transform:translateX(2px)}
.panel-activity .quick-icon{
  width:34px!important;height:34px!important;border-radius:9px!important;flex:none;
  display:grid!important;place-items:center!important;
  background:linear-gradient(135deg,rgba(48,59,181,.14),rgba(79,70,229,.08))!important;
  color:var(--accent)!important;font:800 12px var(--mono)!important;
}
.panel-activity .quick-card strong{display:block;font-size:13.5px;color:var(--ink)}
.panel-activity .quick-card p{margin:2px 0 0;font-size:12px;color:var(--muted);line-height:1.45}
.panel-activity .round-button{
  margin-left:auto;width:32px!important;height:32px!important;border-radius:8px!important;flex:none;
  display:grid;place-items:center;border:1px solid var(--line-strong);background:#fff;color:var(--accent);font-weight:700;
}

/* Admin Category Bar & Charts Visual Boost */
.admin-cat-bar{
  display:flex!important;gap:6px!important;overflow-x:auto!important;
  padding:5px!important;border-radius:12px!important;
  background:rgba(248,246,240,.85)!important;border:1px solid var(--line)!important;
  -webkit-overflow-scrolling:touch;
}
.admin-cat-btn{
  flex:0 0 auto!important;white-space:nowrap!important;
  padding:8px 13px!important;border-radius:9px!important;border:1px solid transparent!important;
  background:transparent!important;font:700 12.5px var(--body)!important;color:var(--muted)!important;
}
.admin-cat-btn.active{
  background:#fff!important;color:var(--accent)!important;
  border-color:rgba(48,59,181,.22)!important;
  box-shadow:0 4px 12px -4px rgba(48,59,181,.18)!important;
}
.admin-kpi-grid{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin-bottom:16px!important;
}
@media(max-width:720px){
  .admin-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
.admin-kpi{
  position:relative;overflow:hidden;
  padding:14px!important;border-radius:11px!important;
  background:#fbfaf6!important;border:1px solid var(--line)!important;
}
.admin-kpi::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--accent)}
.admin-kpi:nth-child(2)::before{background:#0f766e}
.admin-kpi:nth-child(3)::before{background:#4f46e5}
.admin-kpi:nth-child(4)::before{background:#b45309}
.admin-kpi strong{display:block;margin:4px 0 2px;font:800 24px/1.1 var(--display);color:var(--ink)}
.chart-card{
  padding:16px!important;border-radius:12px!important;
  background:#fbfaf6!important;border:1px solid var(--line)!important;
}

/* V26 / BUGFIX: OCR BUTTON GRADIENT, HORIZONTAL SELECT, COMPACT TOOLBAR, ZERO OVERFLOW LIST CARDS */
:root{
  --accent-grad:linear-gradient(135deg,#303bb5,#4338ca);
}

/* 1. Fix OCR 读屏 button blank white-on-white bug */
.dash-device-actions .mini-button.primary-control{
  grid-column:span 2!important;
  background:linear-gradient(135deg,#303bb5,#4338ca)!important;
  color:#ffffff!important;
  border:1px solid #303bb5!important;
  box-shadow:0 6px 16px -6px rgba(48,59,181,.48)!important;
}
.dash-device-actions .mini-button.primary-control:hover{
  background:linear-gradient(135deg,#252e96,#3730a3)!important;
  color:#ffffff!important;
}

/* 2. Fix .device-select vertical stacking ("选 / 择") -> crisp horizontal pill */
.dash-device .device-select{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
  width:auto!important;
  min-width:0!important;
  gap:5px!important;
  padding:4px 9px!important;
  border-radius:7px!important;
  background:var(--bg)!important;
  border:1px solid var(--line)!important;
  font-size:11.5px!important;font-weight:700!important;color:var(--muted)!important;
  line-height:1!important;
}
.dash-device .device-select span{display:inline!important;white-space:nowrap!important;line-height:1!important}
.dash-device .device-select input{width:14px!important;height:14px!important;margin:0!important;flex:none!important}

/* 3. Sleek inline device count pill (replacing the 3 clunky KPI squares) */
.panel-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.inline-count-pill{
  display:inline-flex;align-items:center;gap:3px;
  padding:3px 10px;border-radius:99px;
  background:rgba(48,59,181,.10);border:1px solid rgba(48,59,181,.20);
  color:var(--accent);font:700 12px/1.2 var(--mono);
}
.inline-count-pill b{font-weight:800}

/* 4. Compact, calm batch-selection toolbar (no giant 2x2 stacked blocks) */
.dashboard-page .device-selection-toolbar{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:6px!important;
  padding:10px!important;
  border-radius:10px!important;
  background:#f7f5ee!important;
  border:1px solid var(--line)!important;
  margin-bottom:14px!important;
}
.dashboard-page .selected-device-count{
  grid-column:1 / -1!important;
  margin:0 0 2px!important;
  font:700 11.5px/1.2 var(--body)!important;
  color:var(--muted)!important;
}
.dashboard-page .device-selection-toolbar .mini-button{
  width:100%!important;min-height:33px!important;height:33px!important;
  padding:0 4px!important;border-radius:7px!important;
  font-size:11.5px!important;font-weight:700!important;
  justify-content:center!important;text-align:center!important;
  background:#fff!important;
}
.dashboard-page .device-selection-toolbar .mini-button:disabled{opacity:.48}

/* 5. Clean balanced panel-head button (compact on mobile instead of giant full-width slab) */
.dashboard-page .panel-head{
  display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
  align-items:center!important;justify-content:space-between!important;gap:10px!important;
}
.dashboard-page .panel-head > div{flex:1 1 200px;min-width:0}
.dashboard-page .panel-head > .button{
  width:auto!important;flex:0 0 auto!important;
  min-height:36px!important;padding:0 14px!important;
  border-radius:9px!important;font-size:12.5px!important;
}

/* 6. Zero-Overflow Bento List Cards (Scripts, Releases, Keys, Users) */
.dashboard-page .script-item,
.dashboard-page .release-item,
.dashboard-page .key-item,
.dashboard-page .user-item{
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:12px!important;
  width:100%!important;max-width:100%!important;box-sizing:border-box!important;
  overflow:hidden!important;
}
.dashboard-page .script-symbol,
.dashboard-page .release-symbol,
.dashboard-page .user-item .avatar{
  width:34px!important;height:34px!important;border-radius:9px!important;flex:none!important;
  display:grid!important;place-items:center!important;
  background:rgba(48,59,181,.10)!important;color:var(--accent)!important;
  font:800 13px/1 var(--mono)!important;
}
.dashboard-page .release-symbol{background:rgba(15,118,110,.10)!important;color:#0f766e!important}
.dashboard-page .user-item .avatar{background:rgba(180,83,9,.12)!important;color:#b45309!important}
.dashboard-page .script-item > div:not(.list-actions),
.dashboard-page .release-item > div:not(.list-actions),
.dashboard-page .key-item > div:not(.list-actions),
.dashboard-page .user-item > div:not(.list-actions){
  flex:1 1 180px!important;min-width:0!important;
}
.dashboard-page .script-item strong,
.dashboard-page .release-item strong,
.dashboard-page .key-item strong,
.dashboard-page .user-item strong{
  display:block!important;font-size:14.5px!important;color:var(--ink)!important;
  word-break:break-word!important;line-height:1.35!important;
}
.dashboard-page .script-item small,
.dashboard-page .release-item small,
.dashboard-page .key-item small,
.dashboard-page .user-item small{
  display:block!important;margin-top:3px!important;
  font-size:12px!important;color:var(--muted)!important;
  line-height:1.5!important;word-break:break-word!important;overflow-wrap:anywhere!important;
}
.dashboard-page .list-actions{
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;
  margin-left:auto!important;flex:0 0 auto!important;
}
.dashboard-page .list-actions .mini-button{
  min-height:34px!important;padding:0 12px!important;border-radius:8px!important;
  font-size:12px!important;font-weight:700!important;white-space:nowrap!important;
  background:#fff!important;
}
.dashboard-page .list-actions .mini-button.danger-button{
  color:#be123c!important;border-color:#fecdd3!important;background:#fff1f4!important;
}
@media(max-width:680px){
  .dashboard-page .list-actions{
    width:100%!important;margin-left:0!important;
    padding-top:10px!important;border-top:1px solid var(--line)!important;
    display:grid!important;grid-template-columns:repeat(auto-fit,minmax(110px,1fr))!important;
  }
  .dashboard-page .list-actions .mini-button{width:100%!important;justify-content:center!important;text-align:center!important}
}

/* 7. Clean Release Settings Stack (Updates tab) */
.dashboard-page .release-settings{
  padding:14px!important;border-radius:12px!important;
  background:#f7f5ee!important;border:1px solid var(--line)!important;
  margin-bottom:14px!important;
}
.dashboard-page .release-settings-copy strong{display:block;font-size:14px;color:var(--ink)}
.dashboard-page .release-settings-copy p{margin:4px 0 0;font-size:12px;color:var(--muted);line-height:1.6}
.dashboard-page .release-settings-controls{
  display:grid!important;gap:10px!important;margin-top:12px!important;
}
.dashboard-page .release-setting{
  display:flex!important;align-items:center!important;gap:8px!important;
  font-size:13px!important;color:var(--ink)!important;line-height:1.45!important;
  cursor:pointer;
}
.dashboard-page .release-setting input{width:16px!important;height:16px!important;margin:0!important;flex:none!important;accent-color:var(--accent)}
.dashboard-page .release-settings-actions{margin-top:2px}
.dashboard-page .release-settings-actions .mini-button{
  min-height:36px!important;padding:0 16px!important;border-radius:8px!important;background:#fff!important;
}
.dashboard-page .release-admin-controls{
 display:grid;gap:10px;margin:14px 0;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fbfaf6;
}
.dashboard-page .release-admin-control-copy strong{display:block;font-size:13px;color:var(--ink)}
.dashboard-page .release-admin-control-copy p{margin:4px 0 0;font-size:12px;color:var(--muted);line-height:1.55}
.dashboard-page .release-admin-control-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--ink)}
.dashboard-page .release-admin-control-row label{display:inline-flex;align-items:center;gap:6px;min-height:30px}
.dashboard-page .release-admin-control-row input{accent-color:var(--accent)}
.dashboard-page .release-admin-control-row select{min-height:30px;padding:0 8px;border:1px solid var(--line-strong);border-radius:6px;background:#fff;color:var(--ink)}
.dashboard-page .release-cleanup-preview{margin:0;font-size:12px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}

/* V27 / PRECISION ALIGNMENT: DEVICE-SELECT PILL, SYMMETRIC TEMPLATE GRID, COMPACT ACTIONS */

/* 1. Fix .device-select pill width clipping (override mobile.css fixed width/height) */
.dash-device .device-select{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  width:max-content!important;
  min-width:60px!important;
  max-width:none!important;
  height:30px!important;
  min-height:30px!important;
  padding:0 10px!important;
  margin:0!important;
  gap:6px!important;
  border-radius:8px!important;
  background:#f4f2ea!important;
  border:1px solid rgba(25,26,37,.12)!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.dash-device .device-select input{
  width:14px!important;height:14px!important;min-width:14px!important;min-height:14px!important;
  margin:0!important;padding:0!important;flex:none!important;
}
.dash-device .device-select span{
  display:inline-block!important;white-space:nowrap!important;
  font:700 11.5px/1 var(--body)!important;color:var(--muted)!important;
}

/* 2. Keys tab: compact side-by-side header actions (no giant full-width + 新增接口 bar) */
.dashboard-page .iface-head-actions{
  display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
  align-items:center!important;gap:8px!important;
  width:auto!important;flex:0 0 auto!important;
}
.dashboard-page .iface-head-actions .mini-button,
.dashboard-page .iface-head-actions .button{
  width:auto!important;flex:0 0 auto!important;
  min-height:34px!important;height:34px!important;
  padding:0 12px!important;border-radius:8px!important;
  font-size:12px!important;white-space:nowrap!important;
}

/* 3. Keys tab: Copy pills subtle badge styling */
.dashboard-page .quick-copy-row{display:grid!important;gap:8px!important;margin-bottom:14px!important}
.dashboard-page .copy-pill{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
  width:100%!important;padding:11px 13px!important;border-radius:10px!important;
  background:#fbfaf6!important;border:1px solid var(--line)!important;text-align:left!important;
}
.dashboard-page .copy-pill > div{min-width:0;flex:1}
.dashboard-page .copy-pill span{display:block;font-size:11.5px;color:var(--muted);margin-bottom:2px}
.dashboard-page .copy-pill code{display:block;font:700 12px/1.4 var(--mono);color:var(--accent);overflow-wrap:anywhere}
.dashboard-page .copy-pill b{
  flex:none!important;padding:4px 10px!important;border-radius:6px!important;
  background:rgba(48,59,181,.09)!important;color:var(--accent)!important;
  font:700 11.5px/1.2 var(--body)!important;white-space:nowrap!important;
}

/* 4. Keys tab: Symmetric 2-column 3x2 template grid (zero ragged orphan buttons) */
.dashboard-page .template-bar{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  padding:12px!important;
  border-radius:11px!important;
  background:#f7f5ee!important;
  border:1px dashed rgba(25,26,37,.18)!important;
}
@media(min-width:720px){
  .dashboard-page .template-bar{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
.dashboard-page .template-bar .tpl-label{
  grid-column:1 / -1!important;
  display:block!important;
  font:700 11px/1.3 var(--mono)!important;
  color:var(--muted)!important;
  margin-bottom:2px!important;
}
.dashboard-page .template-bar .tpl-chip{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-height:36px!important;padding:6px 8px!important;
  border-radius:8px!important;border:1px solid rgba(48,59,181,.20)!important;
  background:#fff!important;color:var(--accent)!important;
  font:700 12px/1.2 var(--body)!important;text-align:center!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
.dashboard-page .template-bar .tpl-chip:hover{
  background:rgba(48,59,181,.07)!important;border-color:var(--accent)!important;
}

/* 5. Admin filter row clean alignment on mobile */
.dashboard-page .admin-filter-row{
  display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;width:100%!important;
}
.dashboard-page .admin-search,.dashboard-page .admin-select{
  min-height:36px!important;border-radius:8px!important;padding:0 10px!important;
  border:1px solid var(--line-strong)!important;background:#fff!important;font-size:12.5px!important;
}

/* V28 / FULL-WIDTH DEVICE META ROW & ZERO-CLIPPING COPY-PILL GRID */

/* 1. Device card: Clean top bar ([选择] ... [在线]) + full-width title/subtitle (zero squeezed wrapping) */
.dash-device .device-icon.small{display:none!important}
.dash-device .device-select{order:1}
.dash-device .device-meta{
  order:2;
  flex:1 0 100%!important;
  width:100%!important;
  min-width:0!important;
  padding-right:0!important;
  margin-top:2px!important;
}
.dash-device .device-meta strong{
  display:block!important;
  font-size:15.5px!important;line-height:1.35!important;
  color:var(--ink)!important;word-break:break-word!important;
}
.dash-device .device-meta span{
  display:block!important;margin-top:3px!important;
  font-size:12.5px!important;line-height:1.45!important;
  color:var(--muted-2)!important;
}
.dash-device-actions{order:3}
.dash-device-actions .status-pill{top:14px!important;right:14px!important}

/* 2. Keys tab: Strictly constrain .quick-copy-row & .copy-pill inside panel width (zero right clipping) */
.dashboard-page .reserved-panel,
.dashboard-page .quick-copy-row,
.dashboard-page .copy-pill,
.dashboard-page .copy-pill > div{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.dashboard-page .quick-copy-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;
  gap:8px!important;
  margin-bottom:14px!important;
}
.dashboard-page .copy-pill{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
  width:100%!important;padding:11px 12px!important;overflow:hidden!important;
}
.dashboard-page .copy-pill code{
  display:block!important;font:700 11.5px/1.45 var(--mono)!important;
  color:var(--accent)!important;word-break:break-all!important;overflow-wrap:anywhere!important;
}
.dashboard-page .copy-pill b{
  flex:0 0 auto!important;padding:5px 10px!important;border-radius:6px!important;
  background:rgba(48,59,181,.09)!important;color:var(--accent)!important;
  font:700 11.5px/1.2 var(--body)!important;white-space:nowrap!important;
}
