/* AUTO-GENERATED by scripts/build_platform_css.py. Do not edit directly. */
/* One versioned request replaces the former chain of blocking stylesheets. */

/* ===== BEGIN platform.css ===== */
:root{--ink:#10121a;--muted:#737987;--subtle:#a2a8b5;--line:#e6e8ed;--paper:#fff;--wash:#f8f9fc;--blue:#5567ff;--violet:#8b75ff;--deep:#141a39;--green:#26a76a;--red:#e05b5b;--shadow:0 16px 48px rgba(25,32,64,.08);--shadow-soft:0 10px 28px rgba(29,37,72,.055);--max:1440px;font-family:Inter,"PingFang SC","Microsoft YaHei",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html{background:#fff;scroll-behavior:smooth}body{margin:0;background:linear-gradient(180deg,#fff 0,#fcfcff 65%,#f7f8ff 100%);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}.app-loading,.fatal{min-height:100vh;display:grid;place-items:center;background:#fff}.boot{display:flex;gap:12px;align-items:center;color:#606878;font-size:14px}.boot-mark{width:38px;height:38px;border-radius:13px;background:linear-gradient(135deg,#25315e,#7f88ff);display:grid;place-items:center;color:#fff;font-weight:800}.fatal>div{max-width:520px;text-align:center;padding:34px}.fatal .brand-symbol{margin:auto}.fatal h1{margin:18px 0 8px;font-size:29px}.fatal p{color:#767d89;line-height:1.7;margin:0 0 20px}.shell{min-height:100vh;overflow:hidden}.site-head{height:84px;border-bottom:1px solid rgba(20,25,38,.08);background:rgba(255,255,255,.84);backdrop-filter:blur(18px);position:sticky;top:0;z-index:20}.nav-shell{width:min(var(--max),calc(100% - 96px));height:100%;margin:auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:28px}.brand{display:inline-flex;gap:10px;align-items:center;width:max-content}.brand-symbol{width:34px;height:34px;border-radius:11px;display:inline-grid;place-items:center;position:relative;background:linear-gradient(135deg,#3346ee 0,#876df1 100%);box-shadow:0 8px 22px rgba(84,97,255,.24);overflow:hidden}.brand-symbol:before{content:"";width:17px;height:17px;border:3px solid #fff;border-radius:5px;transform:rotate(30deg);opacity:.98}.brand-symbol i{position:absolute;width:8px;height:8px;background:#a4aeff;top:4px;right:4px;border-radius:3px}.brand-symbol b{position:absolute;width:10px;height:10px;background:#1d2d7e;left:0;bottom:0;border-radius:0 8px 0 0}.brand-copy{display:grid;gap:1px}.brand-copy strong{letter-spacing:-.06em;font-size:18px}.brand-copy small{font-size:8px;letter-spacing:.19em;color:#8590a2;font-weight:700}.top-nav{display:flex;align-items:center;gap:0}.top-nav a{position:relative;padding:30px 24px;color:#6d7481;font-size:14px;font-weight:660;letter-spacing:-.02em}.top-nav a:first-child:after{content:"";position:absolute;right:0;top:31px;width:1px;height:22px;background:#e5e7ee}.top-nav a.active{color:#151826}.top-nav a.active:before{content:"";position:absolute;height:2px;left:27px;right:27px;bottom:0;border-radius:10px;background:var(--blue)}.account-menu{justify-self:end;position:relative}.account-toggle{border:1px solid #edf0f5;background:#fff;box-shadow:0 6px 20px rgba(28,35,61,.055);border-radius:999px;padding:5px 11px 5px 5px;display:flex;align-items:center;gap:8px;color:#2e3442}.avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#151c46,#7584f5);color:#fff;font-weight:800;font-size:12px}.account-name{font-size:12px;font-weight:700;max-width:86px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-caret{font-size:16px;color:#778090;margin-left:1px;transform:translateY(-1px)}.account-popover{position:absolute;right:0;top:calc(100% + 9px);z-index:30;width:150px;padding:7px;border:1px solid #e7eaf0;background:#fff;border-radius:14px;box-shadow:0 15px 44px rgba(25,31,61,.15);display:none}.account-popover.open{display:grid}.account-popover a,.account-popover button{border:0;background:transparent;text-align:left;display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:9px;font-size:12px;color:#4d5562}.account-popover a:hover,.account-popover button:hover{background:#f4f5ff;color:#4356ef}.account-popover .icon{width:14px;height:14px}.site-footer{width:min(var(--max),calc(100% - 96px));margin:0 auto;padding:28px 0 46px;border-top:1px solid #eaecf1;display:flex;justify-content:space-between;gap:18px;color:#868c99;font-size:11px}.site-footer b{color:#3a4050}.button{border:1px solid transparent;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;font-size:12px;font-weight:760;line-height:1;color:#161a27;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.button:hover{transform:translateY(-1px)}.button .icon{width:16px;height:16px}.button.dark{color:#fff;background:linear-gradient(135deg,#11172e,#262d5c);box-shadow:0 10px 22px rgba(17,23,46,.17)}.button.blue{color:#fff;background:linear-gradient(135deg,#5368f6,#7e68f3);box-shadow:0 10px 20px rgba(93,98,245,.22)}.button.ghost{background:#fff;border-color:#e2e6ee;color:#293143;box-shadow:var(--shadow-soft)}.button.outline{background:#fff;border-color:#8a83ff;color:#5359ec}.button.large{padding:14px 20px;font-size:13px}.toast{position:fixed;left:50%;bottom:26px;z-index:80;transform:translate(-50%,18px);opacity:0;pointer-events:none;background:#1e2648;color:#fff;padding:11px 15px;border-radius:12px;font-size:12px;box-shadow:0 14px 40px rgba(18,23,56,.25);transition:.22s ease}.toast.show{opacity:1;transform:translate(-50%,0)}.icon{width:16px;height:16px;display:inline-block;flex:0 0 auto}.eyebrow{font-size:10px;letter-spacing:.15em;color:#7984a0;font-weight:820}.eyebrow-chip{display:inline-flex;padding:7px 11px;border-radius:9px;background:#f0f2ff;color:#5666e7;font-size:11px;font-weight:780}.hero-home{width:min(1220px,calc(100% - 96px));margin:0 auto;display:grid;grid-template-columns:1fr 1.02fr;gap:66px;align-items:center;padding:84px 0 60px}.hero-copy h1{font-size:clamp(54px,5.2vw,82px);letter-spacing:-.09em;line-height:1.02;margin:22px 0 22px;font-weight:800}.hero-copy h1 span{background:linear-gradient(95deg,#5365fa,#8c76f5);-webkit-background-clip:text;background-clip:text;color:transparent}.hero-copy p{max-width:520px;font-size:14px;line-height:1.9;color:#737a88;margin:0}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.hero-art{position:relative}.engine-visual{height:310px;position:relative;border-radius:22px;overflow:hidden;background:radial-gradient(circle at 51% 47%,rgba(103,117,255,.38),transparent 34%),linear-gradient(135deg,#10152b 0,#171c42 55%,#0c1024 100%);box-shadow:0 20px 44px rgba(21,25,57,.2);isolation:isolate}.engine-grid{position:absolute;inset:0;opacity:.2;background-image:linear-gradient(rgba(255,255,255,.11) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.11) 1px,transparent 1px);background-size:26px 26px}.engine-title{position:absolute;top:21px;left:24px;letter-spacing:.15em;font-size:10px;color:#c5cbeb;font-weight:770}.engine-online{position:absolute;right:22px;top:21px;color:#d8e9df;font-size:10px;letter-spacing:.09em}.engine-online i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#51d68f;margin-right:6px;box-shadow:0 0 10px #51d68f}.orbit{position:absolute;left:50%;top:52%;width:280px;height:124px;border:1px solid rgba(129,145,255,.34);border-radius:50%;transform:translate(-50%,-50%) rotate(12deg)}.orbit-b{width:360px;height:160px;transform:translate(-50%,-50%) rotate(-21deg);opacity:.8}.orbit-c{width:420px;height:190px;transform:translate(-50%,-50%) rotate(34deg);opacity:.55}.orbit-node{position:absolute;width:9px;height:9px;border-radius:50%;background:#f6f7ff;box-shadow:0 0 0 7px rgba(134,146,255,.16),0 0 20px rgba(164,177,255,.8)}.node-a{top:73px;left:54%}.node-b{left:27%;top:144px}.node-c{right:24%;top:98px}.node-d{right:34%;bottom:58px}.engine-core{position:absolute;left:50%;top:52%;width:72px;height:72px;transform:translate(-50%,-50%) rotate(30deg);border:2px solid rgba(162,174,255,.85);border-radius:17px;background:linear-gradient(135deg,rgba(120,137,255,.86),rgba(54,63,189,.28));box-shadow:inset 0 0 24px rgba(255,255,255,.24),0 0 32px rgba(107,126,255,.6)}.engine-core i{position:absolute;inset:15px;border-radius:8px;border:7px solid #f2f4ff}.engine-core b{position:absolute;width:20px;height:20px;right:-6px;bottom:-6px;border-radius:6px;background:#8692ff}.engine-core em{position:absolute;width:16px;height:16px;left:-6px;top:-6px;border-radius:5px;background:#d0d6ff}.engine-tag{position:absolute;display:flex;align-items:center;gap:7px;color:#edf0ff;font-size:10px}.engine-tag .icon{padding:7px;width:29px;height:29px;border-radius:50%;background:rgba(124,137,255,.15);border:1px solid rgba(142,154,255,.25)}.engine-tag span{display:grid;gap:3px}.engine-tag small{font-size:8px;color:#aeb6de}.tag-top{left:51%;top:33px;transform:translateX(-50%)}.tag-left{left:44px;top:132px}.tag-right{right:37px;top:136px}.tag-bottom{left:51%;bottom:23px;transform:translateX(-50%)}.home-tools{width:min(1220px,calc(100% - 96px));margin:0 auto;padding:10px 0 25px}.section-intro{display:flex;justify-content:space-between;gap:28px;align-items:end;margin-bottom:23px}.section-intro h2{font-size:27px;letter-spacing:-.06em;margin:8px 0 0}.section-intro p{margin:0;max-width:450px;color:#818896;font-size:12px;line-height:1.75}.feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.feature-card{display:grid;grid-template-columns:42% 1fr;min-height:318px;border:1px solid #e9ebf0;border-radius:20px;background:linear-gradient(135deg,#fff 0,#fafbff 100%);padding:22px;box-shadow:var(--shadow-soft);overflow:hidden}.feature-art{min-height:210px;display:grid;place-items:center}.feature-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding:8px 0}.feature-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tool-overline{font-size:9px;letter-spacing:.12em;color:#7d88a5;font-weight:820;display:block;width:100%;margin-bottom:7px}.feature-title h3{margin:0;font-size:23px;letter-spacing:-.06em}.feature-copy>p{font-size:12px;line-height:1.75;color:#77808e;margin:12px 0}.feature-copy ul{list-style:none;padding:0;margin:0;display:grid;gap:7px}.feature-copy li{display:flex;align-items:center;gap:7px;color:#69717f;font-size:11px}.feature-copy li .icon{color:#6978ef;width:13px;height:13px}.feature-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:auto;padding-top:15px}.api-use{display:inline-flex;align-items:center;gap:5px;color:#81899a;font-size:10px}.api-use .icon{width:13px;height:13px;color:#6b79ee}.status-tag{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:760;white-space:nowrap}.status-tag i{width:6px;height:6px;border-radius:50%;background:currentColor}.status-tag.connected{color:#2c9a5c;background:#edf9f2}.status-tag.beta{color:#8463e8;background:#f0ebff}.status-tag.muted{color:#7e8795;background:#f1f3f6}.status-tag.error{color:#c84b51;background:#fff0f0}.status-tag.running{color:#4b68e5;background:#eff2ff}.tool-visual{position:relative;width:166px;height:166px;display:grid;place-items:center}.tool-visual.compact{width:54px;height:54px;flex:0 0 auto}.orbital{position:relative;width:144px;height:144px}.risk .radar{border-radius:50%;background:radial-gradient(circle,#7f8eff 0 5%,#d5d9ff 6% 8%,transparent 9%),linear-gradient(145deg,#daddff,#f6f7ff);box-shadow:inset 0 0 32px rgba(85,101,255,.22),0 18px 32px rgba(90,105,255,.14)}.radar-ring{position:absolute;border:1px solid rgba(98,113,238,.47);border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}.radar-ring.r1{width:38px;height:38px}.radar-ring.r2{width:80px;height:80px}.radar-ring.r3{width:120px;height:120px}.radar-sweep{position:absolute;left:50%;top:50%;width:58px;height:58px;transform-origin:0 0;background:linear-gradient(125deg,rgba(78,94,246,.45),transparent 70%);clip-path:polygon(0 0,100% 12%,0 100%)}.radar b,.radar em{position:absolute;width:10px;height:10px;border-radius:50%;background:#6d7fff;box-shadow:0 0 0 7px rgba(110,126,255,.14)}.radar b{right:27px;top:38px}.radar em{left:25px;bottom:29px}.directory .papers{transform:rotate(-5deg)}.paper{position:absolute;border:1px solid rgba(117,128,255,.38);border-radius:12px;background:linear-gradient(155deg,rgba(255,255,255,.98),rgba(224,227,255,.8));box-shadow:0 18px 26px rgba(100,112,255,.14)}.paper-a{left:21px;top:12px;width:92px;height:120px;transform:rotate(-5deg)}.paper-b{left:45px;top:26px;width:96px;height:124px;transform:rotate(5deg);background:rgba(245,247,255,.92)}.paper-c{left:6px;top:75px;width:72px;height:48px;transform:rotate(5deg);background:#f8f8ff}.paper-lines{position:absolute;left:65px;top:50px;width:48px;height:44px;background:repeating-linear-gradient(to bottom,rgba(101,113,243,.55) 0 3px,transparent 3px 11px);border-radius:4px}.paper + .paper{}.papers .node{position:absolute;width:8px;height:8px;background:#6273f2;border-radius:50%;box-shadow:0 0 0 6px rgba(98,115,242,.14)}.papers .n1{right:8px;top:29px}.papers .n2{right:0;bottom:38px}.papers .n3{right:36px;bottom:10px}.mini-tool-icon{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#f1edff,#dee5ff);color:#715ee9}.mini-tool-icon .icon{width:26px;height:26px}.mini-tool-icon.agents{background:linear-gradient(145deg,#f2efff,#e1e8ff);color:#6b6bfa}.compact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.compact-tool{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;border:1px solid #eaecf1;border-radius:17px;padding:17px 20px;background:#fff;box-shadow:var(--shadow-soft)}.compact-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.compact-title h3{margin:0;font-size:16px;letter-spacing:-.04em}.compact-tool p{font-size:11px;color:#7c8493;margin:7px 0 0;line-height:1.6}.round-arrow{width:34px;height:34px;border:1px solid #e3e6ef;border-radius:50%;background:#fafbff;color:#333b55;display:grid;place-items:center}.round-arrow .icon{width:16px}.metric-strip{width:min(1220px,calc(100% - 96px));margin:20px auto 22px;border:1px solid #e7eaf0;background:#fff;border-radius:18px;padding:0 20px;display:grid;grid-template-columns:repeat(3,1fr);box-shadow:var(--shadow-soft)}.metric-strip>div{display:grid;grid-template-columns:35px 1fr;grid-template-rows:auto auto;column-gap:10px;padding:19px 24px;border-right:1px solid #edf0f3}.metric-strip>div:last-child{border-right:0}.metric-strip .icon{grid-row:1/3;align-self:center;color:#6977f6;width:24px;height:24px;padding:5px;border-radius:8px;background:#eff1ff}.metric-strip>div:last-child .icon{color:#3ba673;background:#edf9f1}.metric-strip span{font-size:10px;color:#878e9b}.metric-strip b{font-size:23px;letter-spacing:-.06em;margin-top:3px}.home-note{width:min(1220px,calc(100% - 96px));margin:0 auto 48px;border:1px solid #e7e9f1;border-radius:15px;background:#f8f9ff;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px}.home-note>div{display:flex;gap:10px;align-items:flex-start}.home-note .icon{color:#6574ef;width:19px;height:19px;margin-top:1px}.home-note p{margin:0;display:grid;gap:4px}.home-note b{font-size:11px}.home-note span{font-size:10px;color:#7f8795;line-height:1.6}.home-note a{display:inline-flex;gap:7px;align-items:center;color:#5966ed;font-size:11px;font-weight:760;white-space:nowrap}.home-note a .icon{margin:0;width:15px;height:15px}.page-main{width:min(1220px,calc(100% - 96px));margin:0 auto;padding:60px 0 42px}.page-heading{max-width:670px}.page-heading h1,.api-heading h1,.task-heading h1{font-size:clamp(46px,5vw,70px);letter-spacing:-.09em;margin:17px 0 12px;line-height:1.02}.page-heading p,.api-heading p,.task-heading p{color:#7b8391;font-size:13px;line-height:1.8;margin:0}.tool-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:42px 0 20px}.filter-pills{display:flex;align-items:center;gap:5px;background:#f5f6fa;padding:4px;border-radius:12px}.filter-pills button{border:0;border-radius:9px;background:transparent;color:#7b8391;padding:10px 18px;font-size:12px;font-weight:740}.filter-pills button.active{color:#fff;background:linear-gradient(135deg,#3341a4,#5d69f4);box-shadow:0 6px 14px rgba(74,83,207,.18)}.search-box{min-width:300px;border:1px solid #e5e8f0;background:#fff;border-radius:13px;padding:0 13px;display:flex;align-items:center;gap:8px;color:#7f89a0}.search-box .icon{width:16px;height:16px}.search-box input{width:100%;border:0;outline:0;padding:12px 0;background:transparent;font-size:12px;color:#293143}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.catalog-card{border:1px solid #e7e9f0;border-radius:20px;background:linear-gradient(135deg,#fff,#fbfcff);padding:21px;display:grid;grid-template-columns:190px 1fr;grid-template-rows:auto auto;gap:7px 20px;min-height:298px;box-shadow:var(--shadow-soft)}.catalog-art{display:grid;place-items:center;grid-row:1/3}.catalog-main{min-width:0}.catalog-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.catalog-title .tool-overline{width:100%}.catalog-title h3{font-size:22px;letter-spacing:-.06em;margin:0}.catalog-main p{font-size:12px;color:#7a8290;line-height:1.7;margin:12px 0}.catalog-main ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}.catalog-main li{font-size:11px;color:#687181;display:flex;gap:7px;align-items:center}.catalog-main li .icon{width:13px;color:#6d7bef}.catalog-main .api-use{margin-top:13px}.catalog-action{grid-column:2;align-self:end}.tools-note{margin-top:20px;border:1px solid #e7e9f0;border-radius:14px;background:#f9faff;padding:15px;display:flex;align-items:center;gap:10px;color:#747d8d}.tools-note>.icon{color:#6774ee}.tools-note p{margin:0;font-size:11px;line-height:1.65;flex:1}.tools-note a{font-size:11px;color:#5a65e9;font-weight:750;display:inline-flex;gap:7px;white-space:nowrap}.empty-state{grid-column:1/-1;min-height:220px;border:1px dashed #d9ddea;border-radius:18px;display:grid;place-items:center;align-content:center;gap:8px;color:#778091;text-align:center}.empty-state .icon{width:31px;height:31px;color:#8f9aee}.empty-state b{font-size:14px}.empty-state p{font-size:11px;margin:0}.api-heading,.task-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:28px}.api-heading>div,.task-heading>div{max-width:720px}.task-link{white-space:nowrap}.api-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.api-card{border:1px solid #e7eaf0;border-radius:18px;background:#fff;box-shadow:var(--shadow-soft);overflow:hidden}.card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:13px;padding:21px 22px 15px}.card-top h2{font-size:18px;letter-spacing:-.055em;margin:0}.card-top p{font-size:11px;color:#858d9a;line-height:1.6;margin:7px 0 0}.provider-form{padding:0 22px 21px}.provider-row{display:grid;grid-template-columns:130px 1fr;align-items:center;gap:14px;border-top:1px solid #eef0f5;padding:15px 0}.provider-row>span,.inline-field>span,.mode-field>span{font-size:11px;color:#7a8290}.provider-brand{display:flex;align-items:center;gap:9px;border:1px solid #e8ebf1;border-radius:11px;padding:9px 10px;background:#fbfcff}.provider-logo{width:25px;height:25px;border-radius:8px;background:linear-gradient(135deg,#5468ff,#7688e9);display:grid;place-items:center;color:#fff;font-weight:900;font-size:11px}.provider-brand b{font-size:12px;display:block}.provider-brand small{font-size:9px;color:#8a91a0;display:block;margin-top:2px}.provider-brand em{margin-left:auto;font-style:normal;color:#5b6ce9;background:#eef0ff;border-radius:5px;padding:3px 5px;font-size:9px}.inline-field{display:grid;grid-template-columns:130px 1fr;align-items:center;gap:14px;padding:7px 0}.inline-field>div{position:relative}.inline-field input,.inline-field select,.mode-field select{height:38px;border:1px solid #e3e6ed;border-radius:10px;width:100%;padding:0 11px;color:#30384a;font-size:11px;outline:0;background:#fff}.inline-field>div .icon{position:absolute;right:10px;top:11px;width:15px;color:#8a91a0}.mode-field{display:grid;grid-template-columns:130px 1fr;align-items:center;gap:14px;padding:7px 0}.provider-bottom{padding-top:16px;display:flex;align-items:center;gap:12px}.provider-bottom>span{font-size:10px;color:#77828f;display:flex;align-items:center;gap:5px}.provider-bottom .icon{width:14px;color:#4b8f6a}.key-table{padding:0 22px}.key-head,.key-row{display:grid;grid-template-columns:1.35fr .92fr .64fr .7fr;gap:10px;align-items:center}.key-head{padding:9px 0;color:#8a91a0;font-size:10px;border-bottom:1px solid #e9ecf1}.key-row{min-height:66px;border-bottom:1px solid #edf0f4}.key-row b{display:block;font-size:11px}.key-row code{display:block;font-size:9px;color:#6975de;margin-top:5px}.key-row>span{font-size:10px;color:#7b8391}.key-actions{display:flex;gap:8px;justify-content:flex-end}.key-actions button{border:0;background:none;padding:0;color:#5968ed;font-size:10px}.key-actions button.danger{color:#e25959}.new-key-form{display:none;grid-template-columns:1fr auto;gap:10px;align-items:end;margin:15px 22px 21px;padding:13px;background:#f8f9ff;border-radius:12px}.new-key-form.open{display:grid}.new-key-form label{display:grid;gap:6px;color:#79818f;font-size:10px}.new-key-form input{height:38px;border:1px solid #e3e6ed;border-radius:9px;background:#fff;padding:0 10px;outline:0}.key-empty{padding:22px 0;color:#858d9a;font-size:11px;line-height:1.65}.key-reveal{margin:0 22px 20px;padding:13px;border:1px solid #cfd6ff;border-radius:12px;background:#f4f6ff;display:flex;align-items:center;justify-content:space-between;gap:12px}.key-reveal b{font-size:11px;display:block}.key-reveal code{display:block;color:#4b5bdd;font-size:10px;margin:6px 0;overflow-wrap:anywhere}.key-reveal span{font-size:9px;color:#7f8794}.key-reveal button{border:0;background:#fff;color:#5262e9;border-radius:8px;padding:8px 10px;font-size:10px;white-space:nowrap}.bottom-grid{margin-top:16px}.usage-overview .card-top,.tool-usage .card-top{padding-bottom:14px}.date-caption{font-size:10px;color:#7e8693;padding:6px 8px;background:#f5f6fa;border-radius:8px}.usage-metrics{display:grid;grid-template-columns:repeat(4,1fr);padding:0 18px;gap:8px}.usage-metrics>div{border:1px solid #edf0f5;border-radius:12px;padding:13px;display:grid;gap:7px}.usage-metrics .icon{width:21px;height:21px;padding:4px;border-radius:7px;background:#eff1ff;color:#5969ec}.usage-metrics>div:nth-child(2) .icon{background:#edf9f2;color:#35a268}.usage-metrics>div:nth-child(3) .icon{background:#eef4ff;color:#4b73ee}.usage-metrics>div:nth-child(4) .icon{background:#fff0f0;color:#da5d5f}.usage-metrics span{font-size:10px;color:#838b98}.usage-metrics b{font-size:20px;letter-spacing:-.055em}.usage-metrics small{font-size:9px;color:#748093}.usage-chart{margin:18px 20px 20px;display:grid;gap:8px}.chart-line{height:46px;color:#5d6eff;background:linear-gradient(180deg,transparent,#f5f6ff);border-radius:9px;overflow:hidden}.sparkline{width:100%;height:100%}.sparkline polyline{filter:drop-shadow(0 2px 4px rgba(84,99,245,.22))}.sparkline.empty{display:flex;align-items:end;gap:6px;padding:10px}.sparkline.empty i{display:block;width:10%;height:10px;border-radius:8px;background:#e9ebff}.sparkline.empty i:nth-child(2){height:19px}.sparkline.empty i:nth-child(4){height:27px}.sparkline.empty i:nth-child(5){height:15px}.sparkline.empty i:nth-child(7){height:23px}.usage-chart span{font-size:9px;color:#878f9b}.usage-table{padding:0 22px 18px}.usage-table-head,.tool-usage-row{display:grid;grid-template-columns:1.35fr .62fr 1.25fr .35fr;gap:10px;align-items:center}.usage-table-head{color:#8b92a0;font-size:9px;padding:9px 0;border-bottom:1px solid #e8ebf1}.tool-usage-row{min-height:42px;border-bottom:1px solid #f0f2f5;font-size:10px;color:#586173}.tool-usage-row:last-child{border-bottom:0}.usage-tool{display:flex;align-items:center;gap:7px;min-width:0}.usage-tool .icon{width:17px;height:17px;padding:3px;border-radius:5px;background:#f0f2ff;color:#5e6eed}.usage-tool span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bar-cell{display:flex;align-items:center;gap:7px}.bar-cell i{display:block;flex:1;height:5px;border-radius:99px;background:#ecedf1;overflow:hidden}.bar-cell em{height:100%;display:block;background:linear-gradient(90deg,#5e70f6,#9c86fa);border-radius:inherit}.bar-cell b{font-size:9px;color:#596371}.api-info{margin-top:18px;border:1px solid #e7eafd;background:#f8f9ff;border-radius:13px;padding:13px 15px;display:flex;gap:9px;align-items:flex-start;color:#717a8a}.api-info .icon{color:#6473ed}.api-info p{margin:0;font-size:10px;line-height:1.65}.api-info b{color:#535d6d}.breadcrumbs{display:flex;align-items:center;gap:7px;color:#8b93a0;font-size:11px}.breadcrumbs i{font-style:normal;color:#b5bac6}.task-filters{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:42px 0 22px}.task-filter-pills button{display:flex;gap:7px;align-items:center}.task-filter-pills button:not(.active) i{width:6px;height:6px;border-radius:50%;background:#7d8bff}.task-filter-pills button:nth-child(3):not(.active) i{background:#35a166}.task-filter-pills button:nth-child(4):not(.active) i{background:#e25858}.task-searches{display:flex;align-items:center;gap:10px}.date-filter,.select-filter{height:42px;border:1px solid #e5e8ef;background:#fff;border-radius:11px;padding:0 12px;display:flex;align-items:center;gap:8px;font-size:11px;color:#606a79}.date-filter .icon{width:15px;color:#6877ec}.date-filter b,.select-filter b{font-size:14px;color:#9098a5;margin-left:6px}.task-searches .search-box{min-width:250px;height:42px}.task-table{border:1px solid #e7e9ef;background:#fff;border-radius:18px;box-shadow:var(--shadow-soft);overflow:hidden}.task-head,.task-record{display:grid;grid-template-columns:1.4fr 1fr .65fr 1.1fr .55fr .75fr 1.1fr;gap:12px;align-items:center}.task-head{padding:16px 20px;background:#fbfcfe;border-bottom:1px solid #eaedf2;color:#8b93a1;font-size:10px}.task-record{min-height:70px;padding:10px 20px;border-bottom:1px solid #edf0f4;color:#5e6776;font-size:11px}.task-record:last-child{border-bottom:0}.task-name{display:flex;align-items:center;gap:10px;min-width:0}.task-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#eff1ff;color:#5c6bef}.task-icon.success{background:#effaf3;color:#33a265}.task-icon.error{background:#fff0f0;color:#dc5b5d}.task-icon.running{background:#eef2ff;color:#5870f0}.task-icon .icon{width:17px;height:17px}.task-name b{display:block;font-size:11px;color:#303848;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-name small{font-size:9px;color:#949ba8;display:block;margin-top:4px}.task-tool{display:flex;align-items:center;gap:7px;min-width:0}.task-tool .icon{width:16px;height:16px;padding:3px;background:#f0f2ff;border-radius:5px;color:#6675ed}.task-tool span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-record time{font-size:10px;color:#7d8694}.token-cell{font-size:11px;color:#586ae9}.task-result{display:flex;align-items:center;gap:7px;min-width:0}.task-result .icon{width:15px;height:15px}.task-result span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-result.success{color:#319b5f}.task-result.running{color:#5670ef}.task-result.error{color:#cf5458}.task-footer{padding:15px 20px;display:flex;align-items:center;justify-content:space-between;color:#8a92a0;font-size:10px;background:#fcfdff}.task-footer>div{display:flex;align-items:center;gap:8px}.task-footer button,.page-size{min-width:31px;height:30px;border:1px solid #e9ecf2;background:#fff;border-radius:8px;color:#75808e}.task-footer button.current{color:#fff;background:#232a55;border-color:#232a55}.task-footer button:disabled{opacity:.6}.page-size{padding:8px 10px;width:auto}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:#fff}.auth-story{min-height:100vh;background:radial-gradient(circle at 62% 44%,rgba(93,106,248,.36),transparent 25%),linear-gradient(145deg,#11162c,#171d47 62%,#131832);padding:60px max(55px,calc((100vw - 1220px)/2));padding-right:50px;display:flex;flex-direction:column;color:#fff}.brand.light .brand-copy strong{color:#fff}.brand.light .brand-copy small{color:#aeb7d8}.auth-copy{margin:auto 0}.auth-copy>span{font-size:10px;letter-spacing:.17em;color:#b4c0e9}.auth-copy h1{font-size:clamp(48px,5vw,78px);letter-spacing:-.085em;line-height:1.02;margin:18px 0}.auth-copy h1 em{font-style:normal;color:#aeb8ff}.auth-copy p{max-width:500px;color:#bac3db;font-size:15px;line-height:1.8}.auth-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:auto;padding-top:50px}.auth-steps>div{padding-top:11px;border-top:1px solid rgba(255,255,255,.18);display:grid;gap:5px}.auth-steps b{font-size:11px;color:#fff}.auth-steps span{font-size:10px;color:#aeb7d0}.auth-panel{display:grid;place-items:center;padding:40px}.auth-card{width:min(408px,100%)}.auth-card .brand{margin-bottom:42px}.auth-card h2{font-size:31px;letter-spacing:-.065em;margin:0}.auth-card>p{font-size:12px;color:#7d8591;line-height:1.7;margin:11px 0 20px}.auth-tabs{display:flex;gap:5px;border-bottom:1px solid #e6e9ef;margin-bottom:16px}.auth-tabs button{position:relative;border:0;background:transparent;color:#8a92a0;padding:10px 13px;font-size:12px}.auth-tabs button.active{color:#252b3c;font-weight:760}.auth-tabs button.active:after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:2px;background:#5668f5}.field{display:grid;gap:7px;color:#66707f;font-size:11px;margin-top:13px}.field input,.field textarea{border:1px solid #e3e6ec;border-radius:10px;outline:0;padding:11px 12px;background:#fff;color:#283145;font-size:12px}.field input:focus{border-color:#7784f4;box-shadow:0 0 0 3px rgba(103,120,245,.12)}.field.is-hidden{display:none}.auth-submit{width:100%;margin-top:20px}.auth-foot{font-size:10px;color:#9299a5;line-height:1.7;margin-top:16px}.error-box{display:none;margin-top:14px;border-radius:9px;padding:10px;background:#fff0f0;color:#bc4c4f;font-size:11px;line-height:1.55}.error-box.show{display:block}@media(max-width:1100px){.nav-shell,.hero-home,.home-tools,.metric-strip,.home-note,.page-main,.site-footer{width:calc(100% - 56px)}.hero-home{grid-template-columns:1fr;gap:38px}.hero-art{max-width:680px}.api-grid{grid-template-columns:1fr}.catalog-grid{grid-template-columns:1fr}.task-filters{align-items:flex-start;flex-direction:column}.task-searches{width:100%}.task-searches .search-box{flex:1}.task-head,.task-record{grid-template-columns:1.45fr 1fr .7fr 1fr .8fr}.task-head span:nth-child(5),.task-record>span:nth-child(5),.task-head span:nth-child(7),.task-record>.task-result{display:none}}@media(max-width:760px){.site-head{height:72px}.nav-shell{width:calc(100% - 32px);grid-template-columns:1fr auto;gap:10px}.top-nav{display:none}.account-name{display:none}.brand-copy strong{font-size:16px}.hero-home,.home-tools,.metric-strip,.home-note,.page-main,.site-footer{width:calc(100% - 32px)}.hero-home{padding:55px 0 35px}.hero-copy h1{font-size:52px}.engine-visual{height:278px}.engine-tag{display:none}.feature-grid,.compact-grid{grid-template-columns:1fr}.feature-card{grid-template-columns:38% 1fr;min-height:270px;padding:15px}.tool-visual{width:120px;height:120px;transform:scale(.85)}.feature-title h3{font-size:19px}.feature-copy ul{display:none}.feature-copy>p{font-size:11px}.metric-strip{grid-template-columns:1fr;padding:0}.metric-strip>div{border-right:0;border-bottom:1px solid #edf0f4}.metric-strip>div:last-child{border-bottom:0}.home-note{align-items:flex-start;flex-direction:column}.section-intro{display:block}.section-intro p{margin-top:10px}.tool-controls{align-items:stretch;flex-direction:column}.search-box{min-width:0}.catalog-card{grid-template-columns:130px 1fr;padding:15px;min-height:240px}.catalog-main ul{display:none}.catalog-action{grid-column:2}.api-heading,.task-heading{display:block}.task-link{margin-top:18px}.provider-row,.inline-field,.mode-field{grid-template-columns:1fr;gap:7px}.provider-bottom{align-items:flex-start;flex-direction:column}.key-head{display:none}.key-row{grid-template-columns:1fr auto;gap:6px;padding:13px 0}.key-row>span:nth-child(2),.key-row>span:nth-child(3){display:none}.key-actions{grid-column:2}.new-key-form{grid-template-columns:1fr}.usage-metrics{grid-template-columns:repeat(2,1fr)}.usage-table-head,.tool-usage-row{grid-template-columns:1.3fr .55fr .9fr}.usage-table-head span:last-child,.tool-usage-row>span:last-child{display:none}.task-searches{display:grid;grid-template-columns:1fr 1fr}.task-searches .search-box{grid-column:1/-1;min-width:0}.task-head,.task-record{grid-template-columns:1.5fr .9fr .7fr}.task-head span:nth-child(4),.task-record time,.task-head span:nth-child(6),.task-record .token-cell{display:none}.task-table{overflow:auto}.task-footer{gap:8px}.auth-shell{grid-template-columns:1fr}.auth-story{min-height:420px;padding:38px 24px}.auth-panel{padding:42px 24px}.auth-steps{margin-top:35px}.auth-copy h1{font-size:52px}.site-footer{display:grid;gap:8px;line-height:1.7}}


/* V0.7 administrator console: operations metadata only, no raw user materials */
.admin-shell{background:linear-gradient(180deg,#fbfcff 0,#f7f8fc 100%)}.admin-layout{min-height:calc(100vh - 84px);display:grid;grid-template-columns:238px minmax(0,1fr);max-width:var(--max);margin:0 auto;padding:28px 0 54px;gap:28px}.admin-sidebar{position:sticky;top:104px;align-self:start;border:1px solid #e6e9f0;border-radius:18px;background:#fff;padding:14px;box-shadow:var(--shadow-soft)}.admin-back{display:flex;align-items:center;gap:7px;padding:8px 9px;color:#818998;font-size:11px}.admin-back .icon{width:14px;transform:rotate(180deg)}.admin-side-brand{display:flex;align-items:center;gap:10px;padding:18px 9px 17px;border-bottom:1px solid #edf0f4}.admin-lock{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#20295a,#6c77ef);box-shadow:0 7px 16px rgba(74,86,218,.18)}.admin-lock .icon{width:17px}.admin-side-brand b{display:block;font-size:14px;letter-spacing:-.04em}.admin-side-brand small{display:block;margin-top:3px;color:#9aa1af;font-size:8px;letter-spacing:.11em}.admin-sidebar nav{display:grid;gap:3px;padding:12px 0}.admin-nav-item{border:0;background:transparent;color:#77808e;display:flex;align-items:center;gap:9px;padding:10px;border-radius:10px;font-size:12px;text-align:left}.admin-nav-item .icon{width:16px;height:16px}.admin-nav-item:hover{background:#f4f5ff;color:#4d60de}.admin-nav-item.active{color:#fff;background:linear-gradient(135deg,#252e6b,#5f6ff1);box-shadow:0 8px 16px rgba(71,83,211,.18)}.admin-side-note{display:flex;align-items:flex-start;gap:7px;margin-top:10px;padding:12px 9px;border-top:1px solid #edf0f4;color:#939aa6}.admin-side-note .icon{width:14px;height:14px}.admin-side-note p{font-size:9px;line-height:1.6;margin:0}.admin-content{min-width:0}.admin-panel{min-width:0}.admin-page-title,.admin-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:6px 0 24px}.admin-page-title h1{font-size:43px;letter-spacing:-.08em;margin:14px 0 10px}.admin-page-title p,.admin-section-head p{max-width:650px;font-size:12px;color:#7e8694;line-height:1.75;margin:0}.admin-scope,.admin-window{border:1px solid #dfe4f4;background:#fff;border-radius:999px;padding:7px 10px;color:#5b69e8;font-size:9px;font-weight:800;letter-spacing:.07em;white-space:nowrap}.admin-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.admin-metric-grid article{position:relative;border:1px solid #e6e9f0;border-radius:16px;background:#fff;padding:17px;box-shadow:var(--shadow-soft);display:grid;gap:6px;overflow:hidden}.admin-metric-grid article:after{content:"";position:absolute;width:78px;height:78px;right:-28px;bottom:-36px;border-radius:50%;background:radial-gradient(circle,rgba(105,117,255,.14),transparent 70%)}.admin-metric-grid .icon{width:20px;height:20px;padding:4px;border-radius:7px;background:#eff1ff;color:#5f6feb}.admin-metric-grid article:nth-child(2) .icon{background:#eef9f2;color:#32a267}.admin-metric-grid article:nth-child(3) .icon{background:#f1efff;color:#7a64e8}.admin-metric-grid article:nth-child(4) .icon{background:#fff3ed;color:#db7255}.admin-metric-grid span{font-size:10px;color:#858d9a}.admin-metric-grid b{font-size:25px;letter-spacing:-.065em;position:relative;z-index:1}.admin-metric-grid small{color:#8a92a0;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-overview-grid{display:grid;grid-template-columns:1.03fr .97fr;gap:14px;margin-top:14px}.admin-card{border:1px solid #e7eaf0;border-radius:17px;background:#fff;box-shadow:var(--shadow-soft);overflow:hidden}.admin-card-head{padding:18px 19px 12px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.admin-card-head h2,.admin-section-head h2{font-size:18px;letter-spacing:-.055em;margin:0}.admin-card-head p{margin:6px 0 0;color:#8a919e;font-size:10px;line-height:1.55}.text-link{border:0;background:transparent;color:#5c6eea;font-size:10px;display:flex;align-items:center;gap:5px;white-space:nowrap}.text-link .icon{width:13px}.health-list{padding:0 19px 10px}.health-row{min-height:60px;border-top:1px solid #edf0f4;display:flex;align-items:center;justify-content:space-between;gap:9px}.health-row>div{display:flex;align-items:center;gap:9px;min-width:0}.health-row .icon{width:25px;height:25px;padding:5px;border-radius:8px;background:#eef0ff;color:#5c6eeb}.health-row b{display:block;font-size:11px}.health-row small{display:block;color:#8a929f;font-size:9px;margin-top:4px}.admin-failure-list{padding:0 19px 12px}.admin-failure{padding:12px 0;border-top:1px solid #edf0f4;display:flex;align-items:flex-start;gap:9px}.failure-dot{width:7px;height:7px;flex:0 0 auto;border-radius:50%;margin-top:5px;background:#e65d5f;box-shadow:0 0 0 4px #fff0f0}.admin-failure b{font-size:11px}.admin-failure small{display:block;color:#8c94a0;font-size:9px;margin-top:3px}.admin-failure p{margin:6px 0 0;font-size:10px;line-height:1.5;color:#8a5960;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.admin-empty{min-height:105px;padding:20px;color:#8b93a0;display:grid;place-items:center;text-align:center;font-size:11px}.success-empty{color:#49976b}.admin-privacy-note{margin-top:14px;border:1px solid #e5e8f4;border-radius:13px;background:#f8f9ff;padding:13px 15px;display:flex;gap:9px;color:#778091}.admin-privacy-note .icon{width:17px;height:17px;color:#6374ee}.admin-privacy-note p{margin:0;font-size:10px;line-height:1.65}.admin-privacy-note b{color:#515a6c}.admin-section-head{margin:4px 0 20px}.admin-section-head>.search-box{width:290px;min-width:0}.admin-table{border:1px solid #e6e9f0;border-radius:17px;background:#fff;box-shadow:var(--shadow-soft);overflow:hidden}.admin-table-head,.admin-user-row,.admin-api-row,.admin-task-row,.admin-audit-row{display:grid;align-items:center;gap:12px}.admin-table-head{padding:14px 17px;background:#fbfcfe;border-bottom:1px solid #e8ebf1;color:#8b93a0;font-size:9px}.users-table .admin-table-head,.admin-user-row{grid-template-columns:1.22fr .58fr 1.05fr 1.1fr 1fr .78fr .85fr}.admin-user-row{min-height:76px;padding:10px 17px;border-bottom:1px solid #eef0f4;font-size:10px}.admin-user-row:last-child{border-bottom:0}.admin-user{display:flex;align-items:center;gap:9px;min-width:0}.admin-user .avatar{width:31px;height:31px;font-size:11px;flex:0 0 auto}.admin-user b{font-size:11px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-user small{display:block;color:#8b93a0;font-size:9px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-user em{display:inline-block;margin-top:4px;font-style:normal;font-size:8px;color:#6874df;background:#eef0ff;padding:2px 5px;border-radius:4px}.meta-stack{display:grid;gap:4px;min-width:0}.meta-stack span,.meta-stack b{font-size:10px;color:#5e6878;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta-stack small{font-size:9px;color:#949ba7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resource-mini{display:grid;gap:4px;color:#6c76da;font-size:9px}.admin-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}.admin-actions button{border:0;background:#f2f4ff;color:#596ae9;border-radius:7px;padding:6px 7px;font-size:9px}.admin-actions button.danger{background:#fff0f0;color:#c64d51}.admin-actions button.success{background:#eef9f2;color:#319d61}.admin-usage-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:15px}.admin-usage-summary>div{border:1px solid #e7eaf0;border-radius:13px;background:#fff;padding:14px;box-shadow:var(--shadow-soft);display:grid;gap:5px}.admin-usage-summary span{font-size:10px;color:#89909d}.admin-usage-summary b{font-size:20px;letter-spacing:-.055em}.api-admin-table .admin-table-head,.admin-api-row{grid-template-columns:1.3fr .75fr .65fr 1.1fr .7fr .8fr}.admin-api-row{min-height:60px;padding:10px 17px;border-bottom:1px solid #eef0f4;font-size:10px;color:#626b7a}.admin-api-row:last-child{border-bottom:0}.admin-api-row b{font-size:11px;color:#384150;display:block}.admin-api-row small{display:block;margin-top:3px;color:#8c94a1;font-size:9px}.admin-token{color:#5a69e8!important}.admin-task-table .admin-table-head,.admin-task-row{grid-template-columns:1.2fr .95fr .86fr .62fr .9fr 1.4fr}.admin-task-row{min-height:68px;padding:10px 17px;border-bottom:1px solid #eef0f4;font-size:10px;color:#606a79}.admin-task-row:last-child{border-bottom:0}.admin-task-row b{font-size:10px;color:#3e4755;display:block}.admin-task-row small{display:block;margin-top:4px;font-size:8px;color:#959ca8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-task-row time,.admin-audit-row time{font-size:9px;color:#7f8896}.admin-task-row p{margin:0;color:#8d6670;font-size:9px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.system-health-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.system-status-card{border:1px solid #e7eaf0;border-radius:15px;background:#fff;padding:16px;box-shadow:var(--shadow-soft);display:flex;align-items:center;justify-content:space-between;gap:12px}.system-status-card>div{display:flex;align-items:center;gap:10px}.system-status-card .icon{width:27px;height:27px;padding:5px;border-radius:9px;background:#eef1ff;color:#5d6def}.system-status-card b{display:block;font-size:12px}.system-status-card small{display:block;font-size:9px;color:#8b93a0;margin-top:4px}.admin-tool-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:14px}.admin-tool-health-grid>article{border:1px solid #e7eaf0;border-radius:15px;background:#fff;padding:16px;box-shadow:var(--shadow-soft)}.admin-tool-health-grid>article>div:first-child{display:flex;gap:10px;align-items:center;justify-content:flex-start}.tool-health-icon{width:30px;height:30px;display:grid;place-items:center;color:#5e70e9;background:#eef1ff;border-radius:9px}.tool-health-icon .icon{width:16px}.admin-tool-health-grid h3{margin:0;font-size:13px;letter-spacing:-.04em}.admin-tool-health-grid p{margin:4px 0 0;color:#8b93a0;font-size:9px}.admin-tool-health-grid>article>.status-tag{margin-top:12px}.admin-tool-health-grid dl{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:14px 0 0;padding-top:12px;border-top:1px solid #edf0f4}.admin-tool-health-grid dl div{display:grid;gap:3px}.admin-tool-health-grid dt{font-size:9px;color:#9097a4}.admin-tool-health-grid dd{margin:0;font-size:15px;font-weight:760;letter-spacing:-.05em}.admin-audit-table .admin-table-head,.admin-audit-row{grid-template-columns:1.2fr 1.1fr 1fr 1.35fr .8fr}.admin-audit-row{min-height:65px;padding:10px 17px;border-bottom:1px solid #eef0f4;font-size:10px;color:#626b79}.admin-audit-row:last-child{border-bottom:0}.admin-audit-row b{display:block;font-size:10px;color:#404a58}.admin-audit-row small{display:block;margin-top:4px;color:#949ba7;font-size:8px}.admin-audit-row p{margin:0;color:#7e6870;font-size:9px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}@media(max-width:1180px){.admin-layout{width:calc(100% - 56px);grid-template-columns:1fr;padding-top:20px}.admin-sidebar{position:static;display:flex;align-items:center;gap:12px;padding:10px}.admin-back,.admin-side-note{display:none}.admin-side-brand{border:0;padding:0 8px;white-space:nowrap}.admin-sidebar nav{display:flex;overflow:auto;padding:0;gap:4px}.admin-nav-item{white-space:nowrap}.admin-metric-grid{grid-template-columns:repeat(2,1fr)}.admin-overview-grid{grid-template-columns:1fr}.users-table,.api-admin-table,.admin-task-table,.admin-audit-table{overflow:auto}.admin-table-head,.admin-user-row,.admin-api-row,.admin-task-row,.admin-audit-row{min-width:880px}}@media(max-width:760px){.admin-layout{width:calc(100% - 32px)}.admin-sidebar{display:block}.admin-side-brand{padding:6px 8px 12px}.admin-sidebar nav{flex-wrap:wrap}.admin-page-title,.admin-section-head{display:block}.admin-page-title h1{font-size:37px}.admin-scope,.admin-window{display:inline-block;margin-top:14px}.admin-section-head>.search-box{width:100%;margin-top:14px}.admin-metric-grid,.admin-usage-summary,.system-health-grid,.admin-tool-health-grid{grid-template-columns:1fr}.admin-overview-grid{grid-template-columns:1fr}.admin-table{overflow:auto}.admin-table-head,.admin-user-row,.admin-api-row,.admin-task-row,.admin-audit-row{min-width:850px}.admin-privacy-note{align-items:flex-start}}

/* ==========================================================================
   智研网 · 平台服务化与合规体验 v12
   仅增加服务边界、规则确认、反馈处理与AI辅助提示组件；不改变研究工具算法。
   ========================================================================== */
.service-footer{align-items:flex-start;padding-top:24px;padding-bottom:40px}.service-footer>div{display:grid;gap:5px}.service-footer small{color:#9299a6}.service-footer nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.service-footer button{border:0;background:transparent;color:#687182;font-size:11px;padding:4px 5px;border-radius:7px}.service-footer button:hover{background:#f0f2ff;color:#5366e8}.site-modal-layer{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:28px;background:rgba(18,23,47,.44);backdrop-filter:blur(5px)}.site-modal{width:min(720px,100%);max-height:min(82vh,780px);overflow:auto;border:1px solid #e8ebf2;border-radius:22px;background:linear-gradient(145deg,#fff,#fbfcff);box-shadow:0 28px 80px rgba(18,25,59,.28)}.site-modal header{display:flex;justify-content:space-between;gap:18px;padding:24px 26px 18px;border-bottom:1px solid #edf0f5}.site-modal header h2{margin:6px 0 5px;font-size:22px;letter-spacing:-.055em}.site-modal header p{margin:0;color:#7b8493;font-size:12px;line-height:1.7}.site-modal header>button{width:30px;height:30px;flex:0 0 auto;border:0;border-radius:9px;background:#f0f2f8;color:#6f7888;font-size:20px;line-height:1}.site-modal header>button:hover{background:#e7eaff;color:#5367ea}.policy-body{display:grid;gap:17px;padding:22px 26px}.policy-body section{padding:14px 15px;border:1px solid #edf0f5;border-radius:13px;background:#fff}.policy-body h3{margin:0 0 7px;color:#30384b;font-size:13px}.policy-body p{margin:0;color:#70798a;font-size:12px;line-height:1.8}.site-modal footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 26px 22px;border-top:1px solid #edf0f5;color:#8b93a0;font-size:11px}.feedback-modal{padding:0}.feedback-modal>label{display:grid;gap:7px;padding:0 26px 20px}.feedback-modal label>span{font-size:11px;color:#616b7d;font-weight:700}.feedback-modal input,.feedback-modal select,.feedback-modal textarea{width:100%;border:1px solid #dfe4ee;border-radius:11px;background:#fff;color:#2d3648;padding:11px 12px;outline:0}.feedback-modal input:focus,.feedback-modal select:focus,.feedback-modal textarea:focus{border-color:#7380f4;box-shadow:0 0 0 4px rgba(88,104,246,.11)}.feedback-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:20px 26px}.feedback-grid label{display:grid;gap:7px}.feedback-modal footer button:not(.button){border:0;background:transparent;color:#687182;font-size:12px}.service-consent-card{position:relative;display:grid;gap:17px;margin:0 0 18px;padding:22px;border:1px solid #e1e5ff;border-radius:18px;background:radial-gradient(circle at 88% 15%,rgba(121,111,255,.16),transparent 15rem),linear-gradient(145deg,#f8f9ff,#fff);box-shadow:var(--shadow-soft)}.service-consent-card.accepted{border-color:#d8efdf;background:linear-gradient(145deg,#f7fffa,#fff)}.consent-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.consent-heading h2{margin:6px 0 5px;font-size:20px;letter-spacing:-.055em}.consent-heading p{margin:0;color:#747e90;font-size:12px;line-height:1.7;max-width:680px}.consent-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.consent-check{display:flex;align-items:flex-start;gap:8px;padding:11px 12px;border:1px solid #e7eaf4;border-radius:11px;background:#fff;color:#586274;font-size:11px;line-height:1.55}.consent-check input{margin:2px 0 0;accent-color:#5e6ef0}.consent-check button{display:block;border:0;background:transparent;color:#5668e8;font-size:11px;padding:0;margin-top:3px;text-align:left;text-decoration:underline;text-underline-offset:2px}.consent-action-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:3px}.consent-action-row small{color:#8790a0;font-size:10px;line-height:1.6}.consent-accepted-note{display:flex;align-items:center;gap:10px;padding:12px 13px;border:1px solid #dcefe4;border-radius:11px;background:#f4fbf6;color:#4c7560;font-size:11px;line-height:1.55}.consent-accepted-note .icon{color:#2e9a5f}.model-choice-disabled{opacity:.58;pointer-events:none;filter:grayscale(.18)}.service-disclosure{display:flex;gap:8px;align-items:flex-start;margin-top:12px;padding:10px 12px;border:1px solid #e1e5f6;border-radius:10px;background:#f8f9ff;color:#6f7889;font-size:10px;line-height:1.6}.service-disclosure .icon{color:#6677ee;margin-top:1px}.compliance-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 16px}.compliance-check-grid article{display:flex;gap:11px;padding:16px;border:1px solid #e7eaf1;border-radius:15px;background:#fff;box-shadow:var(--shadow-soft)}.compliance-check-grid article>.icon{width:28px;height:28px;padding:6px;border-radius:9px;background:#eef0ff;color:#5e6ff1}.compliance-check-grid b{display:block;font-size:12px;color:#313a4b}.compliance-check-grid p{margin:5px 0 7px;color:#818997;font-size:10px;line-height:1.6}.compliance-check-grid button{border:0;background:transparent;padding:0;color:#5c6fe9;font-size:10px}.admin-feedback-section{margin-top:16px;border:1px solid #e6e9f0;border-radius:17px;background:#fff;box-shadow:var(--shadow-soft);overflow:hidden}.admin-feedback-section>.admin-subhead{padding:18px 19px 14px;border-bottom:1px solid #edf0f5}.admin-feedback-list{display:grid}.admin-feedback-card{padding:16px 19px;border-bottom:1px solid #edf0f5}.admin-feedback-card:last-child{border-bottom:0}.admin-feedback-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.admin-feedback-head b{font-size:12px;color:#374052}.admin-feedback-head small{display:block;margin-top:4px;color:#9097a3;font-size:9px}.admin-feedback-card>p{margin:11px 0;color:#626c7b;font-size:11px;line-height:1.65;white-space:pre-wrap}.admin-feedback-form{display:grid;grid-template-columns:150px 1fr auto;gap:8px;margin-top:10px}.admin-feedback-form select,.admin-feedback-form input{min-width:0;border:1px solid #dfe4ed;border-radius:9px;padding:8px 9px;color:#4b5567;font-size:10px;background:#fff}.admin-feedback-form button{padding:9px 12px;white-space:nowrap}.admin-feedback-empty{padding:22px;color:#8b93a0;font-size:11px;text-align:center}.ai-label{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid #dbe1ff;border-radius:999px;background:#f3f5ff;color:#5c6eea;font-size:9px;font-weight:760;line-height:1.2}.ai-label .icon{width:12px;height:12px}.billing-foot .ai-label{margin-right:7px}
@media(max-width:760px){.site-modal-layer{padding:14px}.site-modal header{padding:19px 18px 15px}.policy-body{padding:17px 18px}.site-modal footer{padding:13px 18px 17px}.feedback-grid{grid-template-columns:1fr;padding:17px 18px}.feedback-modal>label{padding:0 18px 16px}.consent-heading,.consent-action-row{display:grid}.consent-checklist,.compliance-check-grid{grid-template-columns:1fr}.admin-feedback-form{grid-template-columns:1fr}.service-footer{display:grid}.service-footer nav{justify-content:flex-start}.site-footer{width:calc(100% - 32px)}}

/* --------------------------------------------------------------------------
   R12 compute cards and ledger
   User-facing unit is Zhiyan compute; provider cost stays server-side only.
   -------------------------------------------------------------------------- */
.compute-balance-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);gap:26px;align-items:center;margin:0 0 18px;padding:24px 26px;border:1px solid #dfe4ff;border-radius:20px;background:radial-gradient(circle at 12% 12%,rgba(114,116,255,.18),transparent 13rem),linear-gradient(135deg,#f8f9ff 0,#fff 58%,#fbfaff 100%);box-shadow:var(--shadow-soft)}
.compute-balance-main{min-width:0}.compute-balance-main h2{display:flex;align-items:baseline;gap:9px;margin:9px 0 8px;font-size:40px;letter-spacing:-.07em;color:#20264b}.compute-balance-main h2 small{font-size:14px;letter-spacing:-.03em;color:#69748d}.compute-balance-main p{margin:0;color:#788297;font-size:12px;line-height:1.7}.compute-redeem-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;padding:14px;border:1px solid #e1e5f3;border-radius:15px;background:rgba(255,255,255,.86)}.compute-redeem-form label{display:grid;gap:6px;min-width:0}.compute-redeem-form label span{font-size:11px;color:#5c6679;font-weight:760}.compute-redeem-form input{width:100%;min-width:0;border:1px solid #dfe4ee;border-radius:10px;background:#fff;color:#2b3447;padding:10px 11px;font-size:12px;outline:0}.compute-redeem-form input:focus{border-color:#7480f3;box-shadow:0 0 0 4px rgba(92,105,244,.1)}.compute-redeem-form button{margin-bottom:0}.compute-redeem-form small{grid-column:1/-1;color:#8c95a5;font-size:10px;line-height:1.55}.compute-rule-card .date-caption{display:inline-flex;align-items:center;justify-content:center;min-width:48px;padding:5px 8px;border-radius:999px;background:#eef0ff;color:#5f6ff0;font-size:10px;font-weight:760}.compute-rule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:17px 0}.compute-rule-grid>div{display:grid;gap:5px;padding:13px 12px;border:1px solid #e9ecf3;border-radius:12px;background:#fbfcff}.compute-rule-grid span{color:#8790a2;font-size:10px}.compute-rule-grid b{color:#2d3852;font-size:13px;letter-spacing:-.035em}.compute-ledger-card{min-height:360px}.compute-ledger-list{display:grid;margin-top:10px;border-top:1px solid #edf0f5}.compute-ledger-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid #edf0f5}.compute-ledger-row:last-child{border-bottom:0}.compute-ledger-row>div:first-child{display:grid;gap:4px;min-width:0}.compute-ledger-row b{font-size:12px;color:#3d4659}.compute-ledger-row small{font-size:10px;line-height:1.45;color:#8a93a2}.compute-ledger-value{display:grid;justify-items:end;gap:4px;white-space:nowrap;font-size:14px;font-weight:800}.compute-ledger-value.positive{color:#26975c}.compute-ledger-value.negative{color:#d95f67}.compute-ledger-value small{color:#949ca9;font-size:9px;font-weight:600}.compute-policy-note{display:flex;gap:11px;align-items:flex-start;margin:0 0 17px;padding:14px 15px;border:1px solid #e0e5f8;border-radius:14px;background:#f8f9ff;color:#667185}.compute-policy-note>.icon{color:#5e6fe8;margin-top:2px}.compute-policy-note b{display:block;color:#3b4559;font-size:12px}.compute-policy-note p{margin:4px 0 0;font-size:11px;line-height:1.65}.compute-admin-list,.compute-account-list{display:grid;max-height:380px;overflow:auto}.compute-admin-batch,.compute-account-row{display:grid;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid #edf0f5}.compute-admin-batch:last-child,.compute-account-row:last-child{border-bottom:0}.compute-admin-batch{grid-template-columns:minmax(0,1fr) auto}.compute-admin-batch>div:first-child,.compute-account-row>div:first-child{display:grid;gap:4px;min-width:0}.compute-admin-batch b,.compute-account-row b{color:#3b4559;font-size:12px}.compute-admin-batch small,.compute-account-row small{color:#8b94a3;font-size:10px;line-height:1.45}.compute-admin-batch>div:last-child{display:grid;justify-items:end;gap:5px}.compute-account-row{grid-template-columns:minmax(150px,1.3fr) auto auto auto auto}.compute-account-row>span{color:#7b8594;font-size:10px;white-space:nowrap}.compute-account-row>button{border:1px solid #dce1fb;border-radius:9px;background:#f7f8ff;color:#5969e9;padding:7px 10px;font-size:10px;font-weight:760}.compute-account-row>button:hover{background:#eef0ff}.compute-admin-ledger{margin-top:17px}.compute-admin-ledger-row{display:grid;grid-template-columns:minmax(220px,1.2fr) 110px minmax(0,1.6fr);gap:16px;align-items:center;padding:12px 0;border-bottom:1px solid #edf0f5}.compute-admin-ledger-row:last-child{border-bottom:0}.compute-admin-ledger-row>div:first-child{display:grid;gap:4px}.compute-admin-ledger-row b{font-size:11px;color:#3d4659}.compute-admin-ledger-row small{font-size:9px;line-height:1.5;color:#8790a0}.compute-admin-ledger-row>div:nth-child(2){display:grid;justify-items:end;gap:4px;font-size:13px;font-weight:800}.compute-admin-ledger-row>div:nth-child(2).positive{color:#2a9660}.compute-admin-ledger-row>div:nth-child(2).negative{color:#d95f67}.compute-codes-modal textarea{display:block;width:calc(100% - 44px);margin:20px 22px;border:1px solid #dfe4ee;border-radius:12px;padding:12px;background:#fbfcff;color:#364056;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.6;resize:vertical}.compute-codes-modal .admin-modal-actions{padding:0 22px 22px}.admin-modal label.admin-modal-check{display:flex;align-items:center;gap:9px}.admin-modal label.admin-modal-check input{width:auto}.admin-modal label.admin-modal-check span{font-size:12px;color:#596477}.consent-accepted-actions{display:flex;gap:9px;flex-wrap:wrap}.support-button{border:1px solid #dde2ee;border-radius:999px;background:#fff;color:#526076;padding:9px 12px;font-size:11px;font-weight:720}.support-button:hover{border-color:#bbc4ff;color:#5268e8;background:#f8f9ff}
@media(max-width:980px){.compute-balance-card{grid-template-columns:1fr}.compute-rule-grid{grid-template-columns:1fr}.compute-account-row{grid-template-columns:minmax(150px,1fr) auto auto}.compute-account-row>span:nth-of-type(2){display:none}.compute-admin-ledger-row{grid-template-columns:1fr auto}.compute-admin-ledger-row>div:last-child{grid-column:1/-1}.compute-redeem-form{grid-template-columns:1fr}.compute-redeem-form button{width:100%}}
@media(max-width:620px){.compute-balance-card{padding:19px 17px}.compute-balance-main h2{font-size:32px}.compute-account-row{grid-template-columns:1fr auto}.compute-account-row>span{display:none}.compute-admin-batch{grid-template-columns:1fr}.compute-admin-batch>div:last-child{justify-items:start}.compute-admin-ledger-row{gap:10px}.compute-rule-grid{gap:8px}}
.compute-code-audit{margin-top:17px}.compute-code-list{display:grid;max-height:430px;overflow:auto}.compute-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid #edf0f5}.compute-code-row:last-child{border-bottom:0}.compute-code-row>div:first-child{display:grid;gap:4px;min-width:0}.compute-code-row b{font-size:11px;color:#3d4659}.compute-code-row small{font-size:9px;line-height:1.5;color:#8790a0}.compute-code-row>div:nth-child(2){display:grid;justify-items:end;gap:5px}.compute-code-row>button{border:1px solid #f0c5c8;border-radius:9px;background:#fff7f7;color:#c65861;padding:7px 10px;font-size:10px;font-weight:760}.compute-code-row>button:hover{background:#fff0f0;border-color:#e79da3}@media(max-width:620px){.compute-code-row{grid-template-columns:1fr auto}.compute-code-row>div:nth-child(2){justify-items:start}.compute-code-row>button{grid-column:1/-1;width:100%}}

/* R13.1 billing/task readability */
.token-cell{display:grid;gap:3px;align-content:center;line-height:1.15}
.token-cell small{display:block;color:#8b93a2;font-size:9px;font-weight:600;white-space:normal}
.admin-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}

/* R13.5.8 account email verification */
.email-binding-card{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:28px;padding:28px;border:1px solid rgba(19,32,54,.1);border-radius:24px;background:linear-gradient(135deg,#fff 0%,#f7f9fc 100%);box-shadow:0 18px 50px rgba(24,39,75,.06)}
.email-binding-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-top:6px}.email-binding-title h2{margin:0 0 8px;font-size:25px}.email-binding-title p{margin:0;color:var(--muted,#667085);line-height:1.7}.email-current{display:grid;gap:5px;margin-top:24px;padding:18px 20px;border-radius:18px;background:#fff;border:1px solid rgba(19,32,54,.08)}.email-current span,.email-current small{color:var(--muted,#667085)}.email-current b{font-size:17px;overflow-wrap:anywhere}.email-service-warning{display:flex;gap:10px;align-items:flex-start;margin-top:14px;padding:13px 15px;border-radius:14px;background:#fff6e8;color:#8a5215;font-size:13px;line-height:1.6}.email-service-warning .icon{width:18px;flex:0 0 auto;margin-top:2px}.email-binding-forms{display:grid;gap:14px}.email-binding-forms form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;padding:17px;border-radius:18px;background:#fff;border:1px solid rgba(19,32,54,.08)}.email-binding-forms form:last-child{grid-template-columns:minmax(0,.65fr) minmax(0,1fr) auto}.email-binding-forms label{display:grid;gap:7px}.email-binding-forms label span{font-size:12px;font-weight:700;color:#475467}.email-binding-forms input{width:100%;min-height:44px;padding:0 13px;border:1px solid #d7dce5;border-radius:12px;background:#fff;font:inherit}.email-binding-forms small{grid-column:1/-1;color:#7b8494;line-height:1.5}.email-binding-forms .button{min-height:44px;white-space:nowrap}
@media(max-width:900px){.email-binding-card{grid-template-columns:1fr}.email-binding-forms form,.email-binding-forms form:last-child{grid-template-columns:1fr}.email-binding-forms .button{width:100%}}

/* ZHIYAN_AUTH_FULL_BLEED_BEGIN */

/*
 * 登录和注册页面必须真正铺满整个浏览器视口，
 * 不受平台通用 max-width、居中容器和左右留白影响。
 */
.auth-shell {
  width: 100vw !important;
  max-width: none !important;
  min-height: 100vh !important;
  margin-top: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.auth-shell > .auth-story,
.auth-shell > .auth-panel {
  min-height: 100vh !important;
  border-radius: 0 !important;
}

@supports (min-height: 100dvh) {
  .auth-shell,
  .auth-shell > .auth-story,
  .auth-shell > .auth-panel {
    min-height: 100dvh !important;
  }
}

@media (max-width: 900px) {
  .auth-shell {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
  }

  .auth-shell > .auth-story,
  .auth-shell > .auth-panel {
    min-height: auto !important;
  }
}

/* ZHIYAN_AUTH_FULL_BLEED_END */

/* R13.6.3 platform release, verified registration and shared attribution */
body.auth-page{overflow:hidden;background:#fff}
body.auth-page #app{position:fixed!important;inset:0!important;overflow:auto!important;background:#fff}
.auth-tabs button.is-disabled{cursor:not-allowed;color:#b0b5c0;opacity:.72}
.auth-tabs button.is-disabled:hover{background:transparent}
.registration-disabled-note{margin:0 0 14px;padding:10px 12px;border:1px solid #eceef3;border-radius:10px;background:#f8f9fb;color:#7c8491;font-size:11px;line-height:1.6}
.email-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:end}
.email-code-row .field{margin-top:13px}
.email-code-row>button{height:39px;margin-bottom:0;white-space:nowrap}
.email-binding-note{margin:7px 0 0;color:#7d8591;font-size:10px;line-height:1.6}
.service-footer .footer-attribution{display:grid;gap:5px}
.service-footer .footer-attribution strong{color:#2c3445;font-size:12px;letter-spacing:-.02em}
.service-footer .footer-attribution span{color:#9299a6;font-size:10px;line-height:1.65}
.service-footer .footer-attribution a{color:inherit;text-decoration:none;border-bottom:1px solid rgba(146,153,166,.35)}
.service-footer .footer-attribution a:hover{color:#596274;border-bottom-color:currentColor}
@media(max-width:760px){body.auth-page{overflow:auto}.email-code-row{grid-template-columns:1fr}.email-code-row>button{width:100%}}
/* v3.5.0 unified research-space lifecycle */
.spaces-main>zhiyan-tool-hero{display:block;margin-bottom:24px}.spaces-heading--compact{margin-top:0}.space-filter-tabs{display:flex;gap:8px;margin:0 0 22px;padding:6px;border:1px solid #e5e8f0;border-radius:16px;background:#fff;width:max-content}.space-filter-tabs button{height:38px;padding:0 15px;border:0;border-radius:11px;background:transparent;color:#697388;font:700 12px var(--zy-wb-font,"Microsoft YaHei",sans-serif);cursor:pointer}.space-filter-tabs button.active{background:#eef0ff;color:#5058db;box-shadow:inset 0 0 0 1px #d9ddff}.space-filter-tabs b{margin-left:6px}.research-space-card__top-actions{display:flex;align-items:center;gap:8px}.research-space-card .zy-project-menu{z-index:4}.research-space-card .zy-project-menu>button{width:32px;height:32px}.research-space-card:has(.zy-project-menu-panel:not([hidden])){z-index:20}.space-hero-actions .zy-project-menu>button{border-color:rgba(255,255,255,.23);background:rgba(255,255,255,.1);color:#fff}

/* ===== BEGIN ui-home-tools-split-r26.css ===== */
/* ==========================================================================
   智研网 r27：主页研究流程 + 精选工具横向预览
   ========================================================================== */
.home-workflow,
.home-featured-tools {
  width: min(1220px, calc(100% - 96px));
  margin: 0 auto;
}
.home-workflow { padding: 18px 0 30px; }
.home-featured-tools { padding: 34px 0 34px; }
.home-section-head,
.home-featured-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 22px;
}
.home-section-head h2,
.home-featured-head h2 {
  margin: 8px 0 0;
  color: #151a28;
  font-size: 28px;
  line-height: 1.14;
  letter-spacing: -.055em;
}
.home-section-head > p,
.home-featured-head > div > p {
  max-width: 520px;
  margin: 0;
  color: #7a8291;
  font-size: 12px;
  line-height: 1.75;
}
.home-featured-head > div > p { margin-top: 8px; }
.home-featured-head .button { flex: 0 0 auto; }

.home-workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #e7eaf1;
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 40px rgba(32,42,78,.045);
}
.home-workflow-grid article {
  position: relative;
  min-height: 190px;
  padding: 24px 22px;
  border-right: 1px solid #eceef4;
}
.home-workflow-grid article:last-child { border-right: 0; }
.home-workflow-grid article > b {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #d7dbea;
  font-size: 12px;
  letter-spacing: .08em;
}
.home-workflow-grid article > span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(83,101,238,.12);
  border-radius: 14px;
  background: linear-gradient(145deg,#f4f5ff,#edf0ff);
  color: #5868ee;
}
.home-workflow-grid article > span .icon { width: 21px; height: 21px; }
.home-workflow-grid h3 {
  margin: 18px 0 7px;
  color: #1a2030;
  font-size: 17px;
  letter-spacing: -.035em;
}
.home-workflow-grid p {
  margin: 0;
  color: #788194;
  font-size: 12px;
  line-height: 1.7;
}

.home-featured-tools {
  position: relative;
  border-top: 1px solid rgba(229,232,241,.78);
}
.home-carousel { position: relative; }
.home-featured-track {
  display: flex;
  gap: 16px;
  width: 100%;
  padding: 5px 4px 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  touch-action: pan-y pinch-zoom;
}
.home-featured-track::-webkit-scrollbar { display: none; }
.home-featured-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}
.home-tool-card {
  display: flex;
  flex: 0 0 calc((100% - 48px) / 4.15);
  min-width: 270px;
  min-height: 382px;
  flex-direction: column;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid #e4e8f0;
  border-radius: 20px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 12px 34px rgba(34,44,80,.055);
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.home-tool-card:hover,
.home-tool-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(83,101,238,.30);
  box-shadow: 0 20px 44px rgba(34,44,80,.10);
  outline: 0;
}
.home-tool-card__visual {
  position: relative;
  height: 174px;
  overflow: hidden;
  border-bottom: 1px solid #eceff5;
  background: linear-gradient(145deg,#f8f9ff,#f2f4ff);
}
.home-tool-card__visual > .status-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  min-height: 23px;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 7px 18px rgba(50,60,110,.10);
  font-size: 9px;
  backdrop-filter: blur(8px);
}
.home-tool-preview { width: 100%; height: 100%; color: #5b63ef; }
.home-tool-preview__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 28px;
  padding: 0 11px;
  border-bottom: 1px solid rgba(225,229,241,.88);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(8px);
}
.home-tool-preview__bar > span { display: flex; gap: 4px; }
.home-tool-preview__bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d6daea;
}
.home-tool-preview__bar i:first-child { background: #aab2ff; }
.home-tool-preview__bar b {
  max-width: 128px;
  overflow: hidden;
  color: #8a92a8;
  font-size: 8px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-tool-preview__canvas {
  position: absolute;
  inset: 16px 0 0;
  display: grid;
  place-items: center;
}
.home-tool-preview__canvas svg { width: 100%; height: 100%; }
.home-tool-preview svg .panel { fill: #fff; stroke: #dfe4f0; stroke-width: 1; }
.home-tool-preview svg .panel.dark { fill: #131a38; stroke: #252e5b; }
.home-tool-preview svg .soft { fill: #edf0ff; }
.home-tool-preview svg .row { fill: #fafbff; stroke: #ebedf5; stroke-width: 1; }
.home-tool-preview svg .ink { fill: #8b95b3; }
.home-tool-preview svg .muted { fill: #c9cede; }
.home-tool-preview svg .accent { fill: #5c62ef; }
.home-tool-preview svg .accent-stroke { fill: none; stroke: #5c62ef; stroke-width: 2; stroke-linecap: round; }
.home-tool-preview svg .graph-lines,
.home-tool-preview svg .graph-lines path { fill: none; stroke: #a8b0e9; stroke-width: 1.3; }
.home-tool-preview svg .graph-nodes { fill: #6570f2; }
.home-tool-preview svg .graph-nodes circle:nth-child(3n) { fill: #9aa4ff; }
.home-tool-preview svg .ring { fill: none; stroke: #dde2f3; stroke-width: 12; }
.home-tool-preview svg .ring-accent { fill: none; stroke: #626af0; stroke-width: 12; stroke-linecap: round; }
.home-tool-preview svg .bars rect { fill: #7680f1; }
.home-tool-preview svg .bars rect:nth-child(even) { fill: #adb5ff; }
.home-tool-preview svg .sim-orbits { fill: none; stroke: #354275; stroke-width: 1; }
.home-tool-preview svg .sim-links { fill: none; stroke: #5e71c7; stroke-width: 1.2; }
.home-tool-preview svg .sim-nodes { fill: #8392ff; }
.home-tool-preview svg .sim-nodes circle:first-child { fill: #eef0ff; filter: drop-shadow(0 0 8px #8d98ff); }
.home-tool-preview svg .axis { fill: none; stroke: #d5daea; stroke-width: 1.2; }
.home-tool-preview svg .chart-line { fill: none; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.home-tool-preview svg .chart-line.one { stroke: #5f67ef; }
.home-tool-preview svg .chart-line.two { stroke: #a46be5; }
.home-tool-preview svg .chart-dots { fill: #5f67ef; }
.home-tool-preview svg .chart-bars { fill: #dfe3ff; }
.home-tool-preview svg .tag-card { fill: #f5f6ff; stroke: #dde2f3; stroke-width: 1; }
.home-tool-preview svg .tag-link { fill: none; stroke: #7e87ef; stroke-width: 1.2; stroke-dasharray: 3 3; }
.home-tool-preview svg .radar-grid { fill: none; stroke: #d9deed; stroke-width: 1; }
.home-tool-preview svg .radar-fill { fill: rgba(96,104,239,.14); }
.home-tool-preview svg .radar-line { fill: none; stroke: #626af0; stroke-width: 2; }
.home-tool-preview svg .risk-bar { fill: #676ff0; }
.home-tool-preview svg .risk-bar.light { fill: #c4c9fa; }
.home-tool-preview--social-lab { background: linear-gradient(145deg,#171d3f,#10162f); }
.home-tool-preview--social-lab .home-tool-preview__bar { border-color: rgba(255,255,255,.07); background: rgba(17,23,50,.72); }
.home-tool-preview--social-lab .home-tool-preview__bar b { color: #9ea9da; }
.home-tool-preview--social-lab .home-tool-preview__bar i { background: #445080; }
.home-tool-preview--social-lab .home-tool-preview__bar i:first-child { background: #7987ff; }

.home-tool-card__body {
  display: flex;
  min-height: 207px;
  flex: 1;
  flex-direction: column;
  padding: 17px 18px 18px;
}
.home-tool-card__body > small {
  display: block;
  margin-bottom: 7px;
  color: #6873e8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}
.home-tool-card h3 {
  margin: 0 0 8px;
  color: #171c29;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -.04em;
}
.home-tool-card p {
  display: -webkit-box;
  min-height: 42px;
  margin: 0;
  overflow: hidden;
  color: #737d8f;
  font-size: 11px;
  line-height: 1.72;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.home-tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.home-tool-tags span {
  max-width: 100%;
  padding: 5px 7px;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f5fa;
  color: #687287;
  font-size: 9px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-tool-tags span:nth-child(n+3) { display: none; }
.home-tool-open,
.tool-square-open {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
  color: #4053df;
  font-size: 11px;
  font-weight: 780;
}
.home-tool-open .icon,
.tool-square-open .icon {
  width: 15px;
  height: 15px;
  transition: transform .18s ease;
}
.home-tool-card:hover .home-tool-open .icon,
.tool-square-card:hover .tool-square-open .icon { transform: translateX(3px); }
.home-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid #e1e5ef;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: #4454df;
  box-shadow: 0 10px 28px rgba(34,44,80,.10);
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease;
}
.home-carousel-arrow:hover:not(:disabled) { transform: translateY(-50%) scale(1.04); border-color: rgba(83,101,238,.34); }
.home-carousel-arrow:disabled { opacity: .25; cursor: default; }
.home-carousel-arrow .icon { width: 18px; height: 18px; }
.home-carousel-arrow.is-prev { left: -21px; }
.home-carousel-arrow.is-prev .icon { transform: rotate(180deg); }
.home-carousel-arrow.is-next { right: -21px; }
.home-carousel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 24px;
  padding: 0 4px;
}
.home-carousel-meta > span { color: #9aa1af; font-size: 10px; }
.home-carousel-dots { display: flex; align-items: center; gap: 6px; }
.home-carousel-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #dfe3ef;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.home-carousel-dots button.is-active { width: 22px; background: #5964ec; }

.tool-square-card[data-tool-launch] { cursor: pointer; }
.tool-square-card[data-tool-launch]:focus-visible {
  border-color: rgba(83,101,238,.38);
  box-shadow: 0 0 0 4px rgba(83,101,238,.09), 0 16px 34px rgba(35,45,83,.075);
  outline: 0;
}
.tool-square-open.is-muted { color: #8b94a4; }
.tool-square-card footer { width: 100%; border-top: 1px solid #eef1f5; }
.tools-page-grid { padding-top: 42px; }
.tools-grid-heading { margin-bottom: 24px; }
.tools-grid-heading h1 { font-size: clamp(38px, 4.2vw, 54px); }

@media (max-width: 1080px) {
  .home-workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-workflow-grid article:nth-child(2) { border-right: 0; }
  .home-workflow-grid article:nth-child(-n+2) { border-bottom: 1px solid #eceef4; }
  .home-tool-card { flex-basis: calc((100% - 32px) / 3.25); }
}
@media (max-width: 760px) {
  .home-workflow,
  .home-featured-tools { width: calc(100% - 32px); }
  .home-section-head,
  .home-featured-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .home-featured-head .button { width: 100%; justify-content: center; }
  .home-workflow-grid { grid-template-columns: 1fr; }
  .home-workflow-grid article { min-height: 158px; border-right: 0; border-bottom: 1px solid #eceef4; }
  .home-workflow-grid article:last-child { border-bottom: 0; }
  .home-workflow-grid article:nth-child(2) { border-bottom: 1px solid #eceef4; }
  .home-featured-tools { padding-top: 28px; }
  .home-featured-track { margin-inline: -4px; padding-inline: 4px; }
  .home-tool-card { flex-basis: min(84vw, 326px); min-width: min(84vw, 326px); }
  .home-carousel-arrow { display: none; }
  .home-carousel-meta > span { display: none; }
  .home-carousel-meta { justify-content: center; }
  .tools-page-grid { padding-top: 30px; }
  .tools-grid-heading h1 { font-size: 42px; }
}

/* 常用工具保持单行四列，并确保隐藏的空状态不会被基础 display 规则覆盖。 */
.common-tools-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tools-page-grid > .tool-empty[hidden] { display: none !important; }
@media (max-width: 1180px) { .common-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 780px) { .common-tools-grid { grid-template-columns: 1fr; } }
/* ===== END ui-home-tools-split-r26.css ===== */

/* r26.1：常用工具保持单行四列，并确保隐藏的空状态不会被基础 display 规则覆盖。 */
.common-tools-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tools-page-grid > .tool-empty[hidden] { display: none !important; }
@media (max-width: 1180px) { .common-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 780px) { .common-tools-grid { grid-template-columns: 1fr; } }

/* R17: ledger content must never touch the card edge. */
.admin-shell .compute-admin-ledger-list{box-sizing:border-box;width:100%;padding:0 26px 12px!important;overflow:hidden}
.admin-shell .compute-admin-ledger-row{box-sizing:border-box;padding:15px 2px!important;min-width:0}
.admin-shell .compute-admin-ledger-row>div{min-width:0}
.admin-shell .compute-admin-ledger-row>div:last-child small{display:block;overflow-wrap:anywhere;line-height:1.65}
@media(max-width:980px){.admin-shell .compute-admin-ledger-list{padding-inline:20px!important}}
@media(max-width:620px){.admin-shell .compute-admin-ledger-list{padding-inline:16px!important}}
.space-field-error {
  display: block;
  margin-top: 7px;
  color: #b42318;
  font-size: 12px;
  font-weight: 650;
}
.space-field-error[hidden] { display: none; }
.space-form-modal input[aria-invalid="true"] {
  border-color: #d92d20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, .10);
}

/* 2026-08-13 product-level pricing */
.tool-price-pill{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:650;letter-spacing:.01em;background:rgba(15,23,42,.06);color:#334155;white-space:nowrap}
.tool-price-pill--free{background:rgba(16,185,129,.10);color:#047857}
.tool-price-pill--fixed{background:rgba(37,99,235,.10);color:#1d4ed8}
.tool-price-pill--metered{background:rgba(100,116,139,.10);color:#475569}
.home-tool-price-overlay{position:absolute;left:14px;top:14px;z-index:3}
.home-tool-card__visual{position:relative}
.product-pricing-admin{margin-bottom:18px}
.product-pricing-admin-list{display:grid;gap:9px;margin-top:14px}
.product-pricing-admin-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(110px,auto) auto;gap:14px;align-items:center;padding:12px 14px;border:1px solid rgba(148,163,184,.24);border-radius:14px;background:rgba(255,255,255,.72)}
.product-pricing-admin-row div{display:grid;gap:3px}.product-pricing-admin-row small{color:#64748b}
@media(max-width:760px){.product-pricing-admin-row{grid-template-columns:1fr auto}.product-pricing-admin-row button{grid-column:1/-1;width:100%}}


/* ===== BEGIN ui-admin-compute-cost-polish-r31.css ===== */
/* ============================================================================
   智研网 · 管理后台新增模块视觉统一 r31
   2026-08-13
   目标：
   1. 产品独立定价、算力运营、AI 成本中心统一回智研网后台既有字号与密度；
   2. 去掉“卡片套卡片”的大圆角列表，恢复单卡片 + 分隔行；
   3. 新增模块只继承既有字体体系，不引入额外字体；
   4. 不修改任何计费、成本、账号或任务逻辑。
   ============================================================================ */

/* --- 新增后台模块统一字体契约 --- */
.admin-shell .admin-compute-panel,
.admin-shell .admin-cost-center {
  font-family: inherit;
  color: #3b4559;
  font-variant-numeric: tabular-nums;
}

.admin-shell .admin-compute-panel .admin-section-head h2,
.admin-shell .admin-cost-center .admin-section-head h2,
.admin-shell .admin-compute-panel .admin-card-head h2,
.admin-shell .admin-cost-center .admin-card-head h2 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 720;
  letter-spacing: -.04em;
  color: #242c3d;
}

.admin-shell .admin-compute-panel .admin-section-head p,
.admin-shell .admin-cost-center .admin-section-head p {
  font-size: 11px;
  line-height: 1.72;
  color: #7e8796;
}

.admin-shell .admin-compute-panel .admin-card-head,
.admin-shell .admin-cost-center .admin-card-head {
  padding: 18px 20px 13px;
}
.admin-shell .admin-compute-panel .admin-card-head p,
.admin-shell .admin-cost-center .admin-card-head p {
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.6;
  color: #8a92a1;
}

.admin-shell .admin-card-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid #e4e8ef;
  border-radius: 999px;
  background: #f8f9fc;
  color: #727c8d;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
}

/* --- 产品独立定价：改为后台原生的“单卡片 + 分隔行” --- */
.admin-shell .product-pricing-admin {
  margin-bottom: 18px;
}
.admin-shell .product-pricing-admin .admin-card-head {
  border-bottom: 1px solid #edf0f4;
}
.admin-shell .product-pricing-admin-list {
  display: block;
  margin: 0;
  padding: 0 20px 8px;
}
.admin-shell .product-pricing-admin-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(112px, auto) 86px;
  align-items: center;
  gap: 16px;
  min-height: 63px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #edf0f5;
  border-radius: 0;
  background: transparent;
}
.admin-shell .product-pricing-admin-row:last-child { border-bottom: 0; }
.admin-shell .product-pricing-admin-row > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.admin-shell .product-pricing-admin-row b {
  display: block;
  overflow: hidden;
  color: #3b4559;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 720;
  letter-spacing: -.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-shell .product-pricing-admin-row small {
  display: block;
  overflow: hidden;
  color: #8b94a3;
  font-size: 9px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: .01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-shell .product-pricing-admin-state {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid #e4e8ef;
  border-radius: 999px;
  background: #f6f7fb;
  color: #596477;
  font-size: 10px;
  line-height: 1;
  font-weight: 650;
  white-space: nowrap;
}
.admin-shell .product-pricing-admin-row > .button {
  width: 86px;
  min-width: 86px;
  height: 34px;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 10px;
  box-shadow: none;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

/* --- 算力运营：指标、规则提示与运营列表统一字号层级 --- */
.admin-shell .admin-compute-panel .admin-metric-grid {
  gap: 12px;
  margin-top: 0;
}
.admin-shell .admin-compute-panel .admin-metric-grid article {
  min-height: 108px;
  padding: 16px;
}
.admin-shell .admin-compute-panel .admin-metric-grid span { font-size: 10px; }
.admin-shell .admin-compute-panel .admin-metric-grid b {
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -.045em;
}
.admin-shell .admin-compute-panel .admin-metric-grid small { font-size: 9px; }

.admin-shell .admin-compute-panel .compute-policy-note {
  margin: 14px 0;
  padding: 13px 15px;
  border-radius: 13px;
}
.admin-shell .admin-compute-panel .compute-policy-note b {
  font-size: 11px;
  font-weight: 720;
  color: #515a6c;
}
.admin-shell .admin-compute-panel .compute-policy-note p {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.65;
  color: #778091;
}

.admin-shell .admin-compute-panel .compute-admin-list,
.admin-shell .admin-compute-panel .compute-account-list,
.admin-shell .admin-compute-panel .compute-code-list {
  padding-inline: 20px;
}
.admin-shell .admin-compute-panel .compute-admin-batch,
.admin-shell .admin-compute-panel .compute-account-row,
.admin-shell .admin-compute-panel .compute-code-row {
  min-height: 61px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.admin-shell .admin-compute-panel .compute-admin-batch b,
.admin-shell .admin-compute-panel .compute-account-row b,
.admin-shell .admin-compute-panel .compute-code-row b,
.admin-shell .admin-compute-panel .compute-admin-ledger-row b {
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  color: #3d4659;
}
.admin-shell .admin-compute-panel .compute-admin-batch small,
.admin-shell .admin-compute-panel .compute-account-row small,
.admin-shell .admin-compute-panel .compute-code-row small,
.admin-shell .admin-compute-panel .compute-admin-ledger-row small {
  font-size: 9px;
  line-height: 1.5;
  color: #8992a1;
}
.admin-shell .admin-compute-panel .compute-account-row > span {
  font-size: 10px;
  color: #778191;
}
.admin-shell .admin-compute-panel .compute-account-row > b {
  font-size: 11px;
  font-weight: 760;
  color: #465066;
}
.admin-shell .admin-compute-panel .compute-account-row > button,
.admin-shell .admin-compute-panel .compute-code-row > button {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
}
.admin-shell .admin-compute-panel .compute-admin-ledger-row > div:nth-child(2) {
  font-size: 12px;
  font-weight: 760;
}

/* --- AI 成本中心：回收到与后台总览/用量统计相同的字号密度 --- */
.admin-shell .admin-cost-summary {
  gap: 12px;
  margin: 14px 0 18px;
}
.admin-shell .admin-cost-summary article {
  min-height: 104px;
  padding: 15px 16px;
  gap: 5px;
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
}
.admin-shell .admin-cost-summary span { font-size: 10px; color: #858d9a; }
.admin-shell .admin-cost-summary b {
  font-size: 21px;
  line-height: 1.15;
  font-weight: 760;
  letter-spacing: -.045em;
}
.admin-shell .admin-cost-summary small { font-size: 9px; color: #8a92a0; }

.admin-shell .admin-cost-tool-head,
.admin-shell .admin-cost-model-head,
.admin-shell .admin-cost-trend-head {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #8b93a0;
}
.admin-shell .admin-cost-tool-row,
.admin-shell .admin-cost-model-row,
.admin-shell .admin-cost-event-row,
.admin-shell .admin-cost-price-row,
.admin-shell .admin-cost-trend-row {
  font-size: 10px;
  color: #626b7a;
}
.admin-shell .admin-cost-tool-row,
.admin-shell .admin-cost-model-row,
.admin-shell .admin-cost-price-row {
  padding-top: 11px;
  padding-bottom: 11px;
}
.admin-shell .admin-cost-event-row { padding-top: 11px; padding-bottom: 11px; }
.admin-shell .admin-cost-tool-row b,
.admin-shell .admin-cost-model-row b,
.admin-shell .admin-cost-price-row b {
  font-size: 11px;
  font-weight: 700;
  color: #384150;
}
.admin-shell .admin-cost-tool-row small,
.admin-shell .admin-cost-model-row small,
.admin-shell .admin-cost-event-row small,
.admin-shell .admin-cost-price-row small {
  font-size: 9px;
  line-height: 1.45;
  color: #8c94a1;
}
.admin-shell .admin-cost-tool-row em,
.admin-shell .admin-cost-model-row em,
.admin-shell .admin-cost-event-row em,
.admin-shell .admin-cost-price-row em {
  font-size: 9px;
  color: #7f8897;
}
.admin-shell .admin-cost-event-row time { font-size: 9px; color: #8791a0; }

.admin-shell .admin-cost-range {
  gap: 3px;
  padding: 3px;
  border-radius: 10px;
}
.admin-shell .admin-cost-range button {
  padding: 6px 9px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 650;
}

.admin-shell .admin-cost-price-form {
  margin: 14px 14px 6px;
  padding: 16px;
  border-radius: 14px;
}
.admin-shell .admin-cost-price-fields {
  gap: 10px;
  margin-top: 12px;
}
.admin-shell .admin-cost-price-fields label {
  gap: 5px;
  font-size: 10px;
  color: #788291;
}
.admin-shell .admin-cost-price-fields input,
.admin-shell .admin-cost-price-fields select {
  min-height: 38px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 11px;
  color: #354059;
}
.admin-shell .admin-cost-trends h3 {
  margin: 6px 0 9px;
  font-size: 12px;
  font-weight: 720;
  color: #3d4659;
}
.admin-shell .admin-cost-trend-row { font-size: 10px; }

/* --- 相关弹窗继承后台表单尺寸，避免列表缩小后弹窗仍显得“另一套 UI” --- */
.admin-modal#admin-product-pricing-form label,
.admin-modal#admin-compute-policy-form label,
.admin-modal#admin-compute-adjust-form label {
  font-size: 10px;
  color: #788291;
}
.admin-modal#admin-product-pricing-form input,
.admin-modal#admin-product-pricing-form select,
.admin-modal#admin-compute-policy-form input,
.admin-modal#admin-compute-adjust-form input,
.admin-modal#admin-compute-adjust-form select,
.admin-modal#admin-compute-adjust-form textarea {
  font-size: 11px;
}

@media (max-width: 760px) {
  .admin-shell .product-pricing-admin-list { padding-inline: 16px; }
  .admin-shell .product-pricing-admin-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
  }
  .admin-shell .product-pricing-admin-state { justify-self: end; }
  .admin-shell .product-pricing-admin-row > .button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }
  .admin-shell .admin-compute-panel .compute-admin-list,
  .admin-shell .admin-compute-panel .compute-account-list,
  .admin-shell .admin-compute-panel .compute-code-list { padding-inline: 16px; }
}

/* ===== END ui-admin-compute-cost-polish-r31.css ===== */
/* ===== END platform.css ===== */

/* ===== BEGIN admin-theme-v2.css ===== */
/* 智研网管理后台 UI v2：独立样式层，不影响首页与工具页面 */
.admin-shell {
  --admin-ink: #182033;
  --admin-muted: #788197;
  --admin-line: #e8ebf3;
  --admin-surface: rgba(255,255,255,.94);
  --admin-soft: #f6f7ff;
  --admin-indigo: #5a68f2;
  --admin-purple: #8d73f5;
  --admin-green: #19a76a;
  --admin-red: #df5a65;
  background:
    radial-gradient(circle at 82% 4%, rgba(119,104,255,.13), transparent 30%),
    radial-gradient(circle at 8% 13%, rgba(86,106,255,.08), transparent 26%),
    linear-gradient(180deg, #fbfcff 0%, #f8f9ff 46%, #f7f8fc 100%);
}
.admin-shell .site-head { background: rgba(255,255,255,.78); border-bottom-color: rgba(31,42,77,.08); }
.admin-shell .site-head:after { content:""; display:block; height:1px; background:linear-gradient(90deg,transparent,rgba(102,114,247,.3),transparent); }
.admin-layout {
  width: min(1440px, calc(100% - 88px));
  min-height: calc(100vh - 84px);
  display:grid;
  grid-template-columns: 236px minmax(0,1fr);
  gap: 30px;
  margin: 0 auto;
  padding: 32px 0 62px;
}
.admin-sidebar {
  position: sticky;
  top: 106px;
  align-self: start;
  border: 1px solid rgba(225,229,240,.92);
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 46px rgba(38,45,86,.08), inset 0 1px 0 rgba(255,255,255,.95);
  overflow: hidden;
  backdrop-filter: blur(18px);
}
.admin-back { display:flex; align-items:center; gap:8px; padding:15px 16px 12px; color:#7d8597; font-size:11px; transition:.2s ease; }
.admin-back:hover { color:var(--admin-indigo); transform:translateX(-2px); }
.admin-back .icon { width:14px; transform:rotate(180deg); }
.admin-side-brand { display:flex; align-items:center; gap:11px; margin:0 12px; padding:16px 5px 17px; border-bottom:1px solid var(--admin-line); }
.admin-lock { width:38px; height:38px; display:grid; place-items:center; border-radius:13px; color:#fff; background:linear-gradient(135deg,#303a87 0%,#6875f4 58%,#9b7af4 100%); box-shadow:0 11px 22px rgba(94,104,237,.26); }
.admin-lock .icon { width:18px; height:18px; }
.admin-side-brand b { display:block; color:#222a3b; font-size:14px; font-weight:780; letter-spacing:-.05em; }
.admin-side-brand small { display:block; margin-top:4px; color:#9aa2b4; font-size:8px; font-weight:750; letter-spacing:.13em; }
.admin-sidebar nav { display:grid; gap:4px; padding:14px 12px 12px; }
.admin-nav-item { width:100%; border:0; border-radius:12px; background:transparent; color:#798296; display:flex; align-items:center; gap:10px; padding:11px 11px; font-size:12px; font-weight:650; text-align:left; transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease; }
.admin-nav-item .icon { width:16px; height:16px; opacity:.9; }
.admin-nav-item:hover { color:#4e60db; background:#f2f4ff; transform:translateX(2px); }
.admin-nav-item.active { color:#fff; background:linear-gradient(135deg,#303a8a 0%,#5e70ef 58%,#7c78ef 100%); box-shadow:0 9px 18px rgba(73,87,218,.23); }
.admin-nav-item.active .icon { opacity:1; }
.admin-side-note { display:flex; align-items:flex-start; gap:8px; margin:0 12px 13px; padding:12px 5px 2px; border-top:1px solid var(--admin-line); color:#9aa2b1; }
.admin-side-note .icon { width:14px; height:14px; flex:0 0 auto; margin-top:1px; color:#7380e8; }
.admin-side-note p { margin:0; font-size:9px; line-height:1.65; }
.admin-content { min-width:0; }
.admin-panel { min-width:0; animation:admin-enter .34s ease both; }
@keyframes admin-enter { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }
.admin-page-title,.admin-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:22px; margin:4px 0 25px; }
.admin-page-title .eyebrow-chip { display:inline-flex; align-items:center; gap:7px; padding:7px 10px; border-radius:999px; color:#5969e9; background:rgba(239,241,255,.85); border:1px solid rgba(216,221,255,.9); font-size:9px; font-weight:800; letter-spacing:.06em; }
.admin-page-title .eyebrow-chip:before { content:""; width:6px; height:6px; border-radius:50%; background:#6271ef; box-shadow:0 0 0 4px rgba(98,113,239,.11); }
.admin-page-title h1 { margin:13px 0 8px; color:#182033; font-size:40px; font-weight:790; letter-spacing:-.085em; line-height:1; }
.admin-page-title p,.admin-section-head p { max-width:660px; margin:0; color:#7c8494; font-size:12px; line-height:1.75; }
.admin-scope,.admin-window { display:inline-flex; align-items:center; padding:8px 11px; border:1px solid rgba(220,225,242,.95); border-radius:999px; color:#6674e8; background:rgba(255,255,255,.82); box-shadow:0 7px 18px rgba(39,47,93,.04); font-size:9px; font-weight:800; letter-spacing:.08em; white-space:nowrap; }
.admin-metric-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.admin-metric-grid article { position:relative; isolation:isolate; min-height:140px; display:grid; align-content:start; gap:8px; padding:18px; border:1px solid rgba(229,232,241,.96); border-radius:20px; background:linear-gradient(150deg,rgba(255,255,255,.98),rgba(250,251,255,.94)); box-shadow:0 15px 36px rgba(38,45,86,.065), inset 0 1px 0 rgba(255,255,255,.9); overflow:hidden; }
.admin-metric-grid article:before { content:""; position:absolute; z-index:-1; right:-35px; top:-35px; width:118px; height:118px; border-radius:50%; background:radial-gradient(circle,rgba(111,122,255,.20),transparent 69%); }
.admin-metric-grid article:after { content:""; position:absolute; right:17px; top:18px; width:6px; height:6px; border-radius:50%; background:#a6afff; box-shadow:0 0 0 5px rgba(166,175,255,.13); }
.admin-metric-grid article:nth-child(2):before { background:radial-gradient(circle,rgba(53,189,124,.18),transparent 69%); }.admin-metric-grid article:nth-child(2):after{background:#48bd7e;box-shadow:0 0 0 5px rgba(72,189,126,.12)}
.admin-metric-grid article:nth-child(3):before { background:radial-gradient(circle,rgba(143,111,247,.18),transparent 69%); }.admin-metric-grid article:nth-child(3):after{background:#916ff1;box-shadow:0 0 0 5px rgba(145,111,241,.12)}
.admin-metric-grid article:nth-child(4):before { background:radial-gradient(circle,rgba(240,135,95,.19),transparent 69%); }.admin-metric-grid article:nth-child(4):after{background:#ee9266;box-shadow:0 0 0 5px rgba(238,146,102,.12)}
.admin-metric-grid .icon { width:28px; height:28px; padding:6px; border-radius:9px; color:#5c6eef; background:#edf0ff; }.admin-metric-grid article:nth-child(2) .icon{color:#2b9f67;background:#edfaf3}.admin-metric-grid article:nth-child(3) .icon{color:#7b60e3;background:#f2efff}.admin-metric-grid article:nth-child(4) .icon{color:#d57351;background:#fff2ec}
.admin-metric-grid span { margin-top:1px; color:#8991a1; font-size:10px; font-weight:650; }.admin-metric-grid b { color:#222a3b; font-size:29px; font-weight:800; letter-spacing:-.075em; line-height:1.05; }.admin-metric-grid small { color:#969daa; font-size:9px; line-height:1.4; }
.admin-overview-grid { display:grid; grid-template-columns:1.03fr .97fr; gap:15px; margin-top:15px; }.admin-card { border:1px solid rgba(229,232,241,.96); border-radius:20px; background:rgba(255,255,255,.94); box-shadow:0 15px 36px rgba(38,45,86,.06); overflow:hidden; }.admin-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding:21px 21px 14px; }.admin-card-head h2,.admin-section-head h2 { margin:0; color:#242c3d; font-size:18px; font-weight:760; letter-spacing:-.06em; }.admin-card-head p { margin:6px 0 0; color:#8a92a1; font-size:10px; line-height:1.6; }.text-link { border:0; display:inline-flex; align-items:center; gap:5px; padding:7px 0; color:#5c6eef; background:transparent; font-size:10px; font-weight:730; white-space:nowrap; }.text-link:hover { color:#3e51dd; }.text-link .icon{width:13px;transition:.18s ease}.text-link:hover .icon{transform:translateX(2px)}
.health-list,.admin-failure-list { padding:0 21px 12px; }.health-row { min-height:66px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-top:1px solid #eef0f5; }.health-row>div { display:flex; align-items:center; min-width:0; gap:10px; }.health-row .icon { width:28px; height:28px; flex:0 0 auto; padding:6px; border-radius:9px; color:#5e70ec; background:#eef0ff; }.health-row b { display:block; color:#3b4353; font-size:11px; }.health-row small { display:block; margin-top:4px; color:#969daa; font-size:9px; }.admin-failure { display:flex; align-items:flex-start; gap:10px; padding:14px 0; border-top:1px solid #eef0f5; }.failure-dot { width:7px; height:7px; flex:0 0 auto; margin-top:5px; border-radius:50%; background:#e86a6e; box-shadow:0 0 0 5px #fff1f1; }.admin-failure b { color:#4b3d44; font-size:11px; }.admin-failure small { display:block; margin-top:4px; color:#9996a0; font-size:9px; }.admin-failure p { margin:7px 0 0; color:#a26c72; font-size:10px; line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.admin-empty { min-height:126px; display:grid; place-items:center; padding:20px; color:#939ba9; font-size:11px; text-align:center; }.success-empty{color:#3b9c68}.admin-privacy-note { display:flex; align-items:flex-start; gap:10px; margin-top:15px; padding:15px 17px; border:1px solid rgba(220,225,248,.9); border-radius:16px; background:linear-gradient(110deg,rgba(244,246,255,.96),rgba(250,250,255,.88)); color:#7a8394; box-shadow:inset 0 1px 0 #fff; }.admin-privacy-note .icon { width:18px; height:18px; flex:0 0 auto; color:#6373ed; }.admin-privacy-note p { margin:0; font-size:10px; line-height:1.7; }.admin-privacy-note b { color:#515a6d; }
.admin-section-head { margin-bottom:20px; }.admin-section-head .eyebrow { display:block; margin-bottom:8px; color:#6876e8; font-size:9px; font-weight:830; letter-spacing:.12em; }.admin-section-head>.search-box { min-width:300px; height:42px; border-color:#e3e6f1; background:rgba(255,255,255,.9); box-shadow:0 9px 20px rgba(37,45,90,.04); }.admin-section-head>.search-box:focus-within { border-color:#9ba5f5; box-shadow:0 0 0 4px rgba(99,114,239,.10); }
.admin-table { overflow:hidden; border:1px solid rgba(229,232,241,.96); border-radius:20px; background:rgba(255,255,255,.95); box-shadow:0 15px 36px rgba(38,45,86,.055); }.admin-table-head,.admin-user-row,.admin-api-row,.admin-task-row,.admin-audit-row { display:grid; align-items:center; gap:13px; }.admin-table-head { padding:14px 18px; color:#9aa1ae; border-bottom:1px solid #edf0f5; background:#fbfcff; font-size:9px; font-weight:750; letter-spacing:.02em; }.users-table .admin-table-head,.admin-user-row{grid-template-columns:1.22fr .58fr 1.05fr 1.1fr 1fr .78fr .88fr}.admin-user-row { min-height:80px; padding:10px 18px; border-bottom:1px solid #f0f1f5; color:#687181; font-size:10px; transition:background .15s ease; }.admin-user-row:hover,.admin-api-row:hover,.admin-task-row:hover,.admin-audit-row:hover{background:#fbfcff}.admin-user-row:last-child,.admin-api-row:last-child,.admin-task-row:last-child,.admin-audit-row:last-child{border-bottom:0}.admin-user{display:flex;align-items:center;gap:10px;min-width:0}.admin-user .avatar{width:32px;height:32px;flex:0 0 auto;font-size:11px;box-shadow:0 5px 12px rgba(95,108,238,.17)}.admin-user b{display:block;color:#394253;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-user small{display:block;margin-top:3px;color:#929aa8;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-user em{display:inline-block;margin-top:4px;padding:2px 5px;border-radius:4px;background:#eef0ff;color:#6875e8;font-size:8px;font-style:normal;font-weight:700}.meta-stack{display:grid;gap:4px;min-width:0}.meta-stack span,.meta-stack b{overflow:hidden;color:#5d6877;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.meta-stack small{overflow:hidden;color:#999fab;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.resource-mini{display:grid;gap:4px;color:#6775e5;font-size:9px;font-weight:650}.admin-actions{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap}.admin-actions button{border:1px solid #e2e6fb;border-radius:8px;background:#f2f4ff;color:#596be4;padding:6px 8px;font-size:9px;font-weight:700;transition:.16s ease}.admin-actions button:hover{border-color:#c8d0ff;background:#e9edff;transform:translateY(-1px)}.admin-actions button.danger{border-color:#ffe0e2;background:#fff1f1;color:#c45a60}.admin-actions button.success{border-color:#d8f2e2;background:#effaf3;color:#309664}
.admin-usage-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:15px}.admin-usage-summary>div{display:grid;gap:6px;padding:16px;border:1px solid rgba(229,232,241,.96);border-radius:16px;background:rgba(255,255,255,.92);box-shadow:0 10px 25px rgba(38,45,86,.045)}.admin-usage-summary span{color:#8c94a2;font-size:10px}.admin-usage-summary b{color:#2d3547;font-size:22px;font-weight:780;letter-spacing:-.065em}.api-admin-table .admin-table-head,.admin-api-row{grid-template-columns:1.3fr .75fr .65fr 1.1fr .7fr .8fr}.admin-api-row{min-height:63px;padding:10px 18px;border-bottom:1px solid #f0f1f5;color:#657080;font-size:10px;transition:.15s ease}.admin-api-row b{display:block;color:#3e4757;font-size:11px}.admin-api-row small{display:block;margin-top:3px;color:#949ba7;font-size:9px}.admin-token{color:#596be8!important}.admin-task-table .admin-table-head,.admin-task-row{grid-template-columns:1.2fr .95fr .86fr .62fr .9fr 1.4fr}.admin-task-row{min-height:70px;padding:10px 18px;border-bottom:1px solid #f0f1f5;color:#626d7d;font-size:10px;transition:.15s ease}.admin-task-row b{display:block;color:#414b5b;font-size:10px}.admin-task-row small{display:block;overflow:hidden;margin-top:4px;color:#959ca9;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.admin-task-row time,.admin-audit-row time{color:#848d9b;font-size:9px}.admin-task-row p{display:-webkit-box;overflow:hidden;margin:0;color:#8d6870;font-size:9px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.system-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.system-status-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px;border:1px solid rgba(229,232,241,.96);border-radius:17px;background:rgba(255,255,255,.94);box-shadow:0 12px 28px rgba(38,45,86,.05)}.system-status-card>div{display:flex;align-items:center;gap:10px}.system-status-card .icon{width:29px;height:29px;padding:6px;border-radius:9px;background:#eef1ff;color:#5c6deb}.system-status-card b{display:block;color:#384151;font-size:12px}.system-status-card small{display:block;margin-top:4px;color:#8f97a4;font-size:9px}.admin-tool-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:15px}.admin-tool-health-grid>article{padding:17px;border:1px solid rgba(229,232,241,.96);border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 12px 28px rgba(38,45,86,.05)}.admin-tool-health-grid>article>div:first-child{display:flex;align-items:center;gap:10px}.tool-health-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#eef1ff;color:#5d70e9}.tool-health-icon .icon{width:16px}.admin-tool-health-grid h3{margin:0;color:#384151;font-size:13px;letter-spacing:-.04em}.admin-tool-health-grid p{margin:4px 0 0;color:#8e96a4;font-size:9px}.admin-tool-health-grid>article>.status-tag{margin-top:13px}.admin-tool-health-grid dl{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:14px 0 0;padding-top:13px;border-top:1px solid #edf0f5}.admin-tool-health-grid dl div{display:grid;gap:3px}.admin-tool-health-grid dt{color:#9299a6;font-size:9px}.admin-tool-health-grid dd{margin:0;color:#3d4656;font-size:16px;font-weight:780;letter-spacing:-.06em}.admin-audit-table .admin-table-head,.admin-audit-row{grid-template-columns:1.2fr 1.1fr 1fr 1.35fr .8fr}.admin-audit-row{min-height:67px;padding:10px 18px;border-bottom:1px solid #f0f1f5;color:#626d7d;font-size:10px;transition:.15s ease}.admin-audit-row b{display:block;color:#404a59;font-size:10px}.admin-audit-row small{display:block;margin-top:4px;color:#949ba7;font-size:8px}.admin-audit-row p{display:-webkit-box;overflow:hidden;margin:0;color:#7d6b71;font-size:9px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.admin-shell .status-tag{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid transparent;border-radius:999px;font-size:9px;font-weight:750;white-space:nowrap}.admin-shell .status-tag:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.admin-shell .status-tag.connected,.admin-shell .status-tag.success{color:#24965f;background:#eef9f2;border-color:#d6f0e0}.admin-shell .status-tag.error{color:#ca5b64;background:#fff1f1;border-color:#ffe0e1}.admin-shell .status-tag.running{color:#5670df;background:#eff2ff;border-color:#dfe4ff}.admin-shell .status-tag.muted{color:#8991a0;background:#f3f5f8;border-color:#e9ecf0}
@media (max-width:1180px){.admin-layout{width:calc(100% - 56px);grid-template-columns:1fr;padding-top:22px}.admin-sidebar{position:static;display:flex;align-items:center;gap:12px;padding:10px 12px}.admin-back,.admin-side-note{display:none}.admin-side-brand{flex:0 0 auto;margin:0;padding:0 8px;border:0}.admin-sidebar nav{display:flex;overflow:auto;flex:1;padding:0;gap:4px}.admin-nav-item{width:auto;white-space:nowrap}.admin-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-overview-grid{grid-template-columns:1fr}.admin-table{overflow:auto}.admin-table-head,.admin-user-row,.admin-api-row,.admin-task-row,.admin-audit-row{min-width:880px}}
@media (max-width:760px){.admin-layout{width:calc(100% - 32px);padding:18px 0 40px}.admin-sidebar{display:block}.admin-side-brand{padding:4px 8px 12px}.admin-sidebar nav{flex-wrap:wrap;padding:0 0 5px}.admin-nav-item{flex:0 0 auto}.admin-page-title,.admin-section-head{display:block}.admin-page-title h1{font-size:35px}.admin-scope,.admin-window{margin-top:14px}.admin-section-head>.search-box{width:100%;min-width:0;margin-top:14px}.admin-metric-grid,.admin-usage-summary,.system-health-grid,.admin-tool-health-grid{grid-template-columns:1fr}.admin-overview-grid{grid-template-columns:1fr}.admin-table-head,.admin-user-row,.admin-api-row,.admin-task-row,.admin-audit-row{min-width:850px}}
/* ===== END admin-theme-v2.css ===== */

/* ===== BEGIN zhiyan-ui-system-v5.css ===== */
/*
  智研网 · 统一页面框架 v5
  -----------------------------------------------------------------------
  目的：建立一个有限度自适应的全站 layout contract。
  首页、工具、账户与用量、任务记录、管理后台使用同一条内容左边线、
  同一套 Header 位置和同一套桌面 / 平板 / 手机断点。

  设计规则：
  1. 桌面端最大内容宽度固定在 1280px；大屏不无限横向拉伸。
  2. 宽度不足时先缩小左右留白，再让表格横向滚动；不压缩中文状态文字。
  3. 页面骨架统一，首页 / 工作台只允许内容层不同。
  4. 该文件替代 V3 / V4 的响应式布局层；V2 仅保留后台卡片视觉层。
*/

:root {
  --zy-frame-max: 1280px;
  --zy-frame-gutter: clamp(24px, 3.25vw, 48px);
  --zy-frame: min(var(--zy-frame-max), calc(100% - var(--zy-frame-gutter) - var(--zy-frame-gutter)));
  --zy-section-gap: clamp(28px, 4vw, 56px);
  --zy-card-radius: 18px;
}

/* ---------- Single site frame: header / footer / every page begins here ---------- */
.site-head .nav-shell,
.site-footer,
.home-shell .hero-home,
.home-shell .home-tools,
.home-shell .metric-strip,
.home-shell .home-note,
.tools-shell .page-main,
.api-shell .page-main,
.task-shell .page-main,
.admin-shell .admin-layout {
  width: var(--zy-frame);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

/* Header is deliberately identical on all pages. */
.site-head { height: 84px; }
.site-head .nav-shell { grid-template-columns: 1fr auto 1fr; }
.site-footer { padding-top: 30px; padding-bottom: 48px; }

/* Every content page follows the same first baseline beneath the header. */
.page-main { padding-top: clamp(48px, 5vw, 76px); padding-bottom: clamp(52px, 6vw, 86px); }
.tools-shell .page-heading,
.api-shell .api-heading,
.task-shell .task-heading,
.admin-shell .admin-page-title,
.admin-shell .admin-section-head { margin-top: 0; }

/* ---------- Home: same frame, presentation content remains intentionally distinct ---------- */
.home-shell .hero-home { padding-top: clamp(64px, 6vw, 94px); padding-bottom: clamp(42px, 4.5vw, 68px); }
.home-shell .home-tools { padding-top: 20px; }
.home-shell .metric-strip { margin-top: 34px; }
.home-shell .home-note { margin-top: 22px; margin-bottom: 58px; }

/* ---------- Admin: page-internal horizontal subnavigation, not a second website shell ---------- */
.admin-shell .admin-layout {
  display: block;
  min-height: calc(100vh - 84px);
  padding-top: clamp(28px, 3.5vw, 46px);
  padding-bottom: clamp(52px, 6vw, 86px);
}

.admin-shell .admin-sidebar {
  position: static;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  width: 100%;
  margin: 0 0 34px;
  padding: 12px 16px;
  border-radius: var(--zy-card-radius);
  overflow: hidden;
}

.admin-shell .admin-back,
.admin-shell .admin-side-note { display: none; }

.admin-shell .admin-side-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 176px;
  margin: 0;
  padding: 0 18px 0 0;
  border: 0;
  border-right: 1px solid var(--admin-line, #e8ebf3);
}

.admin-shell .admin-sidebar nav {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  overflow-x: auto;
  padding: 0;
  scrollbar-width: none;
}
.admin-shell .admin-sidebar nav::-webkit-scrollbar { display: none; }

.admin-shell .admin-nav-item {
  width: auto;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 12px;
  white-space: nowrap;
  word-break: keep-all;
}
.admin-shell .admin-nav-item:hover { transform: none; }

.admin-shell .admin-content { min-width: 0; }
.admin-shell .admin-page-title,
.admin-shell .admin-section-head {
  align-items: flex-end;
  margin-bottom: 30px;
}
.admin-shell .admin-page-title h1 { font-size: clamp(34px, 3vw, 46px); }

/* Admin tables use scroll rather than squeezing important operation data. */
.admin-shell .admin-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-shell .users-table .admin-table-head,
.admin-shell .users-table .admin-user-row { min-width: 1120px; }
.admin-shell .api-admin-table .admin-table-head,
.admin-shell .api-admin-table .admin-api-row { min-width: 940px; }
.admin-shell .admin-task-table .admin-table-head,
.admin-shell .admin-task-table .admin-task-row { min-width: 1040px; }
.admin-shell .admin-audit-table .admin-table-head,
.admin-shell .admin-audit-table .admin-audit-row { min-width: 980px; }

/* ---------- Task records: a proper workbench, not a compressed marketing form ---------- */
.task-shell .task-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 22px;
  margin-bottom: 28px;
}
.task-shell .task-heading > div { min-width: 0; }
.task-shell .task-heading .button { white-space: nowrap; }

/* Information hierarchy: status first; filters and search second. */
.task-shell .task-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 22px;
  padding: 13px;
  border: 1px solid #e6e9f1;
  border-radius: var(--zy-card-radius);
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 30px rgba(30,38,82,.045);
}

.task-shell .task-filter-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  padding: 4px;
  border-radius: 13px;
  background: #f3f5fb;
  scrollbar-width: none;
}
.task-shell .task-filter-pills::-webkit-scrollbar { display: none; }
.task-shell .task-filter-pills button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 94px;
  height: 42px;
  margin: 0;
  padding: 0 16px;
  border-radius: 10px;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  line-height: 1;
}
.task-shell .task-filter-pills button i {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #8992a2;
}
.task-shell .task-filter-pills button:nth-child(2) i { background: #6c7df1; }
.task-shell .task-filter-pills button:nth-child(3) i { background: #28ad70; }
.task-shell .task-filter-pills button:nth-child(4) i { background: #e16066; }
.task-shell .task-filter-pills button.active i { background: #fff; }

.task-shell .task-searches {
  display: grid;
  grid-template-columns: minmax(150px, .56fr) minmax(150px, .56fr) minmax(280px, 1.7fr);
  gap: 10px;
  width: 100%;
  min-width: 0;
}
.task-shell .task-searches > * { min-width: 0; }
.task-shell .date-filter,
.task-shell .select-filter,
.task-shell .task-searches .search-box {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  height: 44px;
  border-radius: 12px;
}
.task-shell .task-searches .search-box { padding-left: 13px; padding-right: 13px; }
.task-shell .task-searches .search-box input { min-width: 0; }

/* Table fields keep their semantic width; horizontal scrolling is intentional. */
.task-shell .task-table { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.task-shell .task-head,
.task-shell .task-record,
.task-shell .task-footer {
  min-width: 1120px;
}
.task-shell .task-head,
.task-shell .task-record {
  grid-template-columns: minmax(235px,1.45fr) minmax(150px,1fr) minmax(92px,.65fr) minmax(150px,1.05fr) minmax(74px,.55fr) minmax(110px,.76fr) minmax(180px,1.15fr);
}
.task-shell .task-head span,
.task-shell .task-record span,
.task-shell .task-record time,
.task-shell .task-record .task-result { min-width: 0; }

/* Ensure the original medium breakpoint never hides fields for a desktop worktable. */
@media (min-width: 761px) {
  .task-shell .task-head span:nth-child(5),
  .task-shell .task-head span:nth-child(7),
  .task-shell .task-record > span:nth-child(5),
  .task-shell .task-record > .task-result { display: flex; }
}

/* ---------- Finite responsive contract ---------- */
@media (max-width: 1100px) {
  :root { --zy-frame-gutter: 28px; }
  .admin-shell .admin-sidebar {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 11px;
  }
  .admin-shell .admin-side-brand {
    min-width: 0;
    padding: 0 0 11px;
    border-right: 0;
    border-bottom: 1px solid var(--admin-line, #e8ebf3);
  }
  .admin-shell .admin-sidebar nav { width: 100%; }
  .admin-shell .admin-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-shell .admin-overview-grid { grid-template-columns: minmax(0, 1fr); }
  .task-shell .task-searches { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .task-shell .task-searches .search-box { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --zy-frame-gutter: 16px; }
  .site-head { height: 72px; }
  .site-head .nav-shell { grid-template-columns: 1fr auto; gap: 10px; }
  .site-head .top-nav { display: none; }
  .site-head .account-name { display: none; }
  .site-head .brand-copy strong { font-size: 16px; }
  .page-main { padding-top: 34px; padding-bottom: 58px; }
  .home-shell .hero-home { padding-top: 52px; }
  .admin-shell .admin-layout { padding-top: 22px; }
  .admin-shell .admin-sidebar { margin-bottom: 26px; padding: 11px; }
  .admin-shell .admin-nav-item { min-height: 40px; padding: 0 10px; }
  .admin-shell .admin-page-title,
  .admin-shell .admin-section-head { display: block; }
  .admin-shell .admin-scope,
  .admin-shell .admin-window,
  .admin-shell .admin-search { display: inline-flex; margin-top: 14px; }
  .admin-shell .admin-search { width: 100%; }
  .admin-shell .admin-metric-grid,
  .admin-shell .system-health-grid,
  .admin-shell .admin-tool-health-grid,
  .admin-shell .admin-usage-summary { grid-template-columns: minmax(0, 1fr); }
  .task-shell .task-heading { display: block; }
  .task-shell .task-heading .button { width: 100%; margin-top: 18px; }
  .task-shell .task-filter-pills { width: 100%; }
  .task-shell .task-filter-pills button { min-width: 88px; padding: 0 13px; }
  .task-shell .task-searches { grid-template-columns: minmax(0, 1fr); }
  .task-shell .task-searches .search-box { grid-column: auto; }
  .task-shell .task-head,
  .task-shell .task-record,
  .task-shell .task-footer { min-width: 1020px; }
}


/* ---------- v6 interaction completion: filters, modals and no-fake-controls ---------- */
.task-shell .task-control {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #e1e5ef;
}
.task-shell .task-control select,
.task-shell .page-size select {
  appearance: none;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.task-shell .task-control svg { flex: 0 0 auto; color: #6f798a; }
.task-shell .page-size { display: inline-flex; align-items: center; min-height: 34px; }
.task-shell .page-size select { padding: 0 8px; }
.task-shell .task-footer button:disabled { opacity: .42; cursor: not-allowed; }

.api-key-visibility {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6a7484;
}
.api-key-visibility:hover { color: #244f76; }
.api-key-visibility .icon { width: 18px; height: 18px; }

.admin-user-row[hidden] { display: none !important; }
.admin-loading {
  display: grid;
  gap: 12px;
  min-height: 280px;
  align-content: center;
}
.admin-loading i {
  display: block;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #eef1f6, #f9fafc, #eef1f6);
  background-size: 220% 100%;
  animation: zyPulse 1.2s ease-in-out infinite;
}
.admin-loading i:nth-child(1) { width: 38%; }
.admin-loading i:nth-child(2) { width: 72%; }
.admin-loading i:nth-child(3) { width: 54%; }
@keyframes zyPulse { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

.admin-modal-layer {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, .40);
  backdrop-filter: blur(5px);
}
.admin-modal {
  width: min(570px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  padding: 24px;
  border: 1px solid #e5e9f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .25);
}
.admin-modal > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}
.admin-modal > header h2 { margin: 0; font-size: 22px; color: #1b2738; }
.admin-modal > header button {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #f2f4f8;
  color: #5f6a7a;
  font-size: 20px;
}
.admin-modal label { display: grid; gap: 8px; margin: 14px 0; color: #374356; font-size: 13px; font-weight: 650; }
.admin-modal input,
.admin-modal textarea {
  width: 100%;
  border: 1px solid #dce2eb;
  border-radius: 10px;
  padding: 10px 11px;
  outline: 0;
  background: #fff;
  color: #243143;
}
.admin-modal input:focus,
.admin-modal textarea:focus { border-color: #668db8; box-shadow: 0 0 0 3px rgba(66, 117, 168, .12); }
.admin-detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.admin-detail-list > div { padding: 11px 12px; border: 1px solid #edf0f5; border-radius: 11px; background: #fafbfc; }
.admin-detail-list dt { margin: 0 0 4px; color: #7a8595; font-size: 11px; }
.admin-detail-list dd { margin: 0; color: #2d3c50; font-size: 13px; overflow-wrap: anywhere; }
.admin-modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }
.admin-modal-actions > button:not(.button) { min-height: 40px; padding: 0 14px; border: 1px solid #dfe4ec; border-radius: 10px; background: #fff; color: #4b596c; }

@media (max-width: 760px) {
  .admin-modal-layer { padding: 14px; }
  .admin-modal { padding: 18px; border-radius: 16px; }
  .admin-detail-list { grid-template-columns: 1fr; }
}


/* ==========================================================================\n   智研网 · 运营管理统一工作台 v7\n   六个后台栏目固定在同一内容舞台：标题区、内容边界、卡片节奏和表格承载一致。\n   ========================================================================== */
:root { --zy-admin-stage: 1180px; }
.admin-shell .admin-layout {
  width: var(--zy-frame);
  max-width: none;
  margin-inline: auto;
  padding-top: clamp(30px, 3.5vw, 48px);
}
.admin-shell .admin-sidebar {
  width: 100%;
  max-width: none;
  min-height: 70px;
  margin-bottom: 26px;
  border: 1px solid #e6e9f1;
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 30px rgba(30,38,82,.045);
}
.admin-shell .admin-content {
  width: min(100%, var(--zy-admin-stage));
  max-width: none;
  min-width: 0;
  margin-inline: auto;
  display: grid;
  gap: 22px;
}
.admin-shell .admin-content > * {
  width: 100%;
  max-width: none;
  min-width: 0;
}
.admin-shell .admin-page-title,
.admin-shell .admin-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: 132px;
  margin: 0 !important;
  padding: 28px 30px;
  border: 1px solid #e6e9f1;
  border-radius: 22px;
  background:
    radial-gradient(circle at 91% 10%, rgba(124,111,242,.13), transparent 15rem),
    linear-gradient(145deg, #fff 0%, #fbfbff 100%);
  box-shadow: 0 14px 34px rgba(30,38,82,.05);
}
.admin-shell .admin-page-title > *,
.admin-shell .admin-section-head > * { min-width: 0; }
.admin-shell .admin-page-title h1,
.admin-shell .admin-section-head h1,
.admin-shell .admin-section-head h2 { color: #1b2141; letter-spacing: -.06em; }
.admin-shell .admin-page-title p,
.admin-shell .admin-section-head p { max-width: 660px; }
.admin-shell .admin-section-head > .search-box { flex: 0 1 310px; min-width: 260px; }
.admin-shell .admin-metric-grid,
.admin-shell .admin-overview-grid,
.admin-shell .admin-usage-summary,
.admin-shell .system-health-grid,
.admin-shell .admin-tool-health-grid,
.admin-shell .admin-table,
.admin-shell .admin-privacy-note {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.admin-shell .admin-table {
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 15px 36px rgba(38,45,86,.055);
}
.admin-shell .users-table .admin-table-head,
.admin-shell .users-table .admin-user-row,
.admin-shell .api-admin-table .admin-table-head,
.admin-shell .api-admin-table .admin-api-row,
.admin-shell .admin-task-table .admin-table-head,
.admin-shell .admin-task-table .admin-task-row,
.admin-shell .admin-audit-table .admin-table-head,
.admin-shell .admin-audit-table .admin-audit-row { min-width: 1080px; }
.admin-shell .admin-metric-grid > *,
.admin-shell .admin-overview-grid > *,
.admin-shell .admin-usage-summary > *,
.admin-shell .system-health-grid > *,
.admin-shell .admin-tool-health-grid > * { min-width: 0; }

@media (max-width: 1210px) {
  :root { --zy-admin-stage: 100%; }
  .admin-shell .admin-content { width: 100%; }
}
@media (max-width: 760px) {
  .admin-shell .admin-sidebar { margin-bottom: 18px; border-radius: 16px; }
  .admin-shell .admin-content { gap: 16px; }
  .admin-shell .admin-page-title,
  .admin-shell .admin-section-head {
    display: block;
    min-height: 0;
    padding: 22px 18px;
    border-radius: 18px;
  }
  .admin-shell .admin-section-head > .search-box { width: 100%; min-width: 0; }
  .admin-shell .users-table .admin-table-head,
  .admin-shell .users-table .admin-user-row,
  .admin-shell .api-admin-table .admin-table-head,
  .admin-shell .api-admin-table .admin-api-row,
  .admin-shell .admin-task-table .admin-table-head,
  .admin-shell .admin-task-table .admin-task-row,
  .admin-shell .admin-audit-table .admin-table-head,
  .admin-shell .admin-audit-table .admin-audit-row { min-width: 960px; }
}


/* ===========================================================================
   智研网 · 全页画布修正 v8
   目的：后台不再拥有一个独立、可见边界的“窄页面”。背景铺满浏览器，
   Logo、运营管理导航、栏目标题与数据承载统一落在一条 1080px 栅格上。
   此段必须位于旧规则之后，以消除旧版不同栏目之间的宽度继承。
   =========================================================================== */
:root {
  --zy-admin-content-max: 1080px;
  --zy-admin-gutter: 32px;
}
html,
body,
#app {
  width: 100%;
  min-width: 0;
  min-height: 100%;
}
body {
  background:
    radial-gradient(circle at 92% 5%, rgba(139,117,255,.10), transparent 30rem),
    linear-gradient(180deg,#fff 0,#fcfcff 60%,#f7f8ff 100%);
}
.shell,
.admin-shell {
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 100vh;
}
.admin-shell {
  overflow-x: clip;
  background:
    radial-gradient(circle at 92% 4%, rgba(139,117,255,.13), transparent 30rem),
    radial-gradient(circle at 8% 16%, rgba(86,106,255,.08), transparent 27rem),
    linear-gradient(180deg,#fbfcff 0%,#f8f9ff 46%,#f7f8fc 100%);
}
.admin-shell .site-head {
  width: 100%;
  max-width: none;
  background: rgba(255,255,255,.84);
}
.admin-shell .site-head .nav-shell,
.admin-shell .admin-layout,
.admin-shell .site-footer {
  width: min(var(--zy-admin-content-max), calc(100% - var(--zy-admin-gutter) - var(--zy-admin-gutter)));
  max-width: none;
  margin-inline: auto;
}
.admin-shell .site-head .nav-shell {
  grid-template-columns: 1fr auto 1fr;
}
.admin-shell .admin-layout {
  display: block;
  min-width: 0;
  padding-top: 42px;
  padding-bottom: 80px;
}
.admin-shell .admin-sidebar,
.admin-shell .admin-content,
.admin-shell .admin-content > *,
.admin-shell .admin-panel,
.admin-shell .admin-table,
.admin-shell .admin-metric-grid,
.admin-shell .admin-overview-grid,
.admin-shell .admin-usage-summary,
.admin-shell .system-health-grid,
.admin-shell .admin-tool-health-grid,
.admin-shell .admin-privacy-note {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
}
.admin-shell .admin-sidebar {
  margin-bottom: 28px;
}
.admin-shell .admin-content {
  display: grid;
  gap: 22px;
}
/* Content stays at one constant stage; wide tables scroll inside their own card only. */
.admin-shell .admin-table {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable both-edges;
}
.admin-shell .admin-page-title,
.admin-shell .admin-section-head {
  width: 100%;
  min-height: 132px;
}
.admin-shell [hidden] { display: none !important; }

@media (max-width: 760px) {
  :root { --zy-admin-gutter: 16px; }
  .admin-shell .admin-layout { padding-top: 22px; padding-bottom: 54px; }
  .admin-shell .site-head .nav-shell,
  .admin-shell .admin-layout,
  .admin-shell .site-footer {
    width: calc(100% - var(--zy-admin-gutter) - var(--zy-admin-gutter));
  }
}


/* ===========================================================================
   智研网 · 公共页头坐标修正 v9
   后台业务舞台仍保持固定宽度；公共品牌头不再继承后台 1080px 业务舞台。
   这样首页、运营管理、文献专题地图、MS-MR 的 Logo 都落在同一条全站坐标线上。
   =========================================================================== */
.admin-shell .site-head .nav-shell {
  width: min(var(--max), calc(100% - 96px));
  max-width: none;
  margin-inline: auto;
}
@media (max-width: 760px) {
  .admin-shell .site-head .nav-shell { width: calc(100% - 32px); }
}

/* ========================================================================
   智研网 v10 · 长条工具入口 + 平台模型服务与计费
   ======================================================================== */
.home-shell .feature-grid,
.tools-shell .catalog-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 16px;
}
.home-shell .feature-card {
  grid-template-columns: 196px minmax(0, 1fr) !important;
  min-height: 232px;
  padding: 20px 24px;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}
.home-shell .feature-card::after,
.tools-shell .catalog-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #5267f6, #9678f5);
  opacity: .96;
}
.home-shell .feature-art {
  min-height: 188px;
  margin: 0;
  border-radius: 16px;
  background: linear-gradient(145deg, #f4f5ff, #fbfaff);
}
.home-shell .feature-copy {
  padding: 12px 8px 10px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr auto;
  column-gap: 22px;
  align-items: start;
}
.home-shell .feature-title,
.home-shell .feature-copy > p,
.home-shell .feature-copy > ul { grid-column: 1; }
.home-shell .feature-copy > p { max-width: 720px; margin: 10px 0 12px; }
.home-shell .feature-copy > ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 16px;
  width: 100%;
  align-self: center;
}
.home-shell .feature-actions {
  grid-column: 1 / -1;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #edf0f6;
}
.tools-shell .catalog-card {
  position: relative;
  grid-template-columns: 174px minmax(0, 1fr) auto !important;
  grid-template-rows: 1fr !important;
  min-height: 205px;
  gap: 20px;
  padding: 19px 22px;
  align-items: center;
}
.tools-shell .catalog-art {
  grid-row: 1 !important;
  align-self: stretch;
  border-radius: 15px;
  background: linear-gradient(145deg, #f4f5ff, #fbfaff);
}
.tools-shell .catalog-main { padding: 4px 0; }
.tools-shell .catalog-main p { max-width: 760px; margin: 9px 0 10px; }
.tools-shell .catalog-main ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px 14px;
}
.tools-shell .catalog-main .api-use { margin-top: 11px; }
.tools-shell .catalog-action {
  grid-column: auto !important;
  align-self: center !important;
  padding-left: 10px;
  white-space: nowrap;
}
.tools-shell .catalog-action .button { min-width: 104px; }

/* Account page is a platform model center rather than a user-credential form. */
.api-shell .top-grid { grid-template-columns: 1.12fr .88fr; }
.api-shell .provider-card,
.api-shell .billing-card { min-height: 330px; }
.platform-model-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 12px 0 0 144px;
  padding: 11px 12px;
  border: 1px solid #e3e7fb;
  border-radius: 11px;
  background: linear-gradient(135deg, #f7f8ff, #fbfaff);
  color: #707a91;
  font-size: 10px;
  line-height: 1.7;
}
.platform-model-note .icon { width: 15px; color: #596cef; margin-top: 1px; }
.platform-model-note b { color: #3f4cb8; }
.billing-summary { padding: 4px 22px 20px; }
.billing-summary > div {
  padding: 18px;
  border: 1px solid #e3e7fa;
  border-radius: 14px;
  background: radial-gradient(circle at 100% 0, rgba(129,112,245,.18), transparent 9rem), linear-gradient(135deg,#f8f9ff,#fff);
}
.billing-summary > div > span { display: block; color: #778199; font-size: 10px; }
.billing-summary > div > b { display: block; margin-top: 7px; color: #202852; font-size: 32px; letter-spacing: -.065em; }
.billing-summary > div > small { display: block; margin-top: 7px; color: #7f88a2; font-size: 10px; }
.billing-summary dl { margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; }
.billing-summary dl div { min-width: 0; padding: 10px 0; border-top: 1px solid #edf0f5; }
.billing-summary dt { color: #8a92a0; font-size: 9px; }
.billing-summary dd { margin: 5px 0 0; color: #44506a; font-size: 11px; font-weight: 760; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.billing-foot { display: flex; gap: 8px; align-items: flex-start; padding: 13px 22px 20px; color: #778197; font-size: 10px; line-height: 1.65; }
.billing-foot .icon { color: #586aef; width: 15px; }

/* Operator-only model service panel. */
.admin-provider-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 16px; }
.admin-provider-card { display: flex; align-items: center; gap: 13px; padding: 17px 18px; border: 1px solid #e5e8f1; border-radius: 16px; background: linear-gradient(135deg,#fff,#fbfcff); box-shadow: var(--shadow-soft); }
.admin-provider-card .provider-logo { flex: 0 0 auto; width: 34px; height: 34px; }
.admin-provider-card > div { min-width: 0; flex: 1; }
.admin-provider-card b { display: block; color: #28324a; font-size: 13px; }
.admin-provider-card p { margin: 5px 0 0; color: #7c8595; font-size: 10px; line-height: 1.6; }
.admin-model-service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.admin-model-service { min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px; border: 1px solid #e4e8f1; border-radius: 16px; background: #fff; box-shadow: var(--shadow-soft); }
.admin-model-service-head { grid-column: 1 / -1; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #edf0f5; }
.admin-model-service-head h3 { margin: 5px 0 3px; color: #26304a; font-size: 16px; letter-spacing: -.045em; }
.admin-model-service-head small { color: #858e9d; font-size: 9px; }
.admin-model-service label { display: grid; min-width: 0; gap: 6px; color: #788291; font-size: 10px; }
.admin-model-service label.wide { grid-column: 1 / -1; }
.admin-model-service input:not([type="checkbox"]) { width: 100%; height: 38px; padding: 0 10px; border: 1px solid #e1e5ed; border-radius: 10px; outline: 0; background: #fff; color: #354059; font-size: 11px; }
.admin-model-service input:focus { border-color: #7884f4; box-shadow: 0 0 0 3px rgba(98,112,244,.11); }
.admin-model-service .model-enabled { display: flex; align-items: center; gap: 8px; padding-top: 15px; }
.admin-model-service .model-enabled input { accent-color: #5e70f5; }
.admin-model-service-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 13px; border-top: 1px solid #edf0f5; }
.admin-model-service-foot p { margin: 0; max-width: 420px; color: #7d8795; font-size: 10px; line-height: 1.6; }

@media (max-width: 900px) {
  .home-shell .feature-card { grid-template-columns: 154px minmax(0, 1fr) !important; }
  .home-shell .feature-copy > ul,
  .tools-shell .catalog-main ul { grid-template-columns: 1fr 1fr; }
  .tools-shell .catalog-card { grid-template-columns: 145px minmax(0, 1fr) !important; }
  .tools-shell .catalog-action { grid-column: 2 !important; align-self: end !important; }
  .api-shell .top-grid { grid-template-columns: 1fr; }
  .admin-model-service-list { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .home-shell .feature-card,
  .tools-shell .catalog-card { grid-template-columns: 1fr !important; }
  .home-shell .feature-art { min-height: 128px; }
  .tools-shell .catalog-art { min-height: 118px; grid-row: auto !important; }
  .home-shell .feature-copy { padding: 16px 2px 3px; display: flex; }
  .home-shell .feature-copy > ul,
  .tools-shell .catalog-main ul { grid-template-columns: 1fr; }
  .tools-shell .catalog-action { grid-column: auto !important; padding: 4px 0 0; }
  .platform-model-note { margin-left: 0; }
  .billing-summary dl { grid-template-columns: 1fr; }
  .admin-model-service { grid-template-columns: 1fr; }
  .admin-model-service label.wide,
  .admin-model-service-head,
  .admin-model-service-foot { grid-column: auto; }
  .admin-model-service-foot { align-items: flex-start; flex-direction: column; }
}

/* v11: multi-provider model service console. Provider keys remain write-only in the UI. */
.model-service-panel { display: grid; gap: 18px; }
.admin-service-onboarding { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.admin-service-create,
.admin-provider-config-card,
.admin-provider-model-group {
  min-width: 0;
  padding: 18px;
  border: 1px solid #e3e7f1;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(250,251,255,.96));
  box-shadow: var(--shadow-soft);
}
.admin-service-create { display: grid; gap: 14px; align-content: start; }
.admin-form-title { display: flex; align-items: flex-start; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #edf0f5; }
.admin-form-title > span { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(135deg,#4654d9,#7c70f5); box-shadow: 0 10px 20px rgba(84,98,232,.22); }
.admin-form-title .icon { width: 16px; height: 16px; }
.admin-form-title b { display:block; color:#29334e; font-size:14px; }
.admin-form-title small { display:block; margin-top:4px; color:#818a9a; font-size:10px; line-height:1.55; }
.admin-service-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
.admin-service-form-grid label { display:grid; min-width:0; gap:6px; color:#788291; font-size:10px; }
.admin-service-form-grid label.wide { grid-column:1 / -1; }
.admin-service-form-grid input:not([type="checkbox"]),
.admin-service-form-grid select {
  width:100%; height:38px; min-width:0; padding:0 10px; border:1px solid #e0e5ee; border-radius:10px; outline:0; background:#fff; color:#354059; font-size:11px;
}
.admin-service-form-grid input:focus,
.admin-service-form-grid select:focus { border-color:#7884f4; box-shadow:0 0 0 3px rgba(98,112,244,.11); }
.admin-service-form-grid .model-enabled { display:flex; align-items:center; gap:8px; padding-top:15px; }
.admin-service-form-grid .model-enabled input { accent-color:#5e70f5; }
.admin-service-form-grid .model-enabled.destructive { color:#a66b72; }
.admin-provider-config,
.admin-model-catalog { display:grid; gap:14px; }
.admin-subhead { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; padding:0 3px; }
.admin-subhead .eyebrow { display:block; margin-bottom:7px; color:#6b78e8; font-size:9px; font-weight:800; letter-spacing:.12em; }
.admin-subhead h3 { margin:0; color:#26304a; font-size:18px; letter-spacing:-.055em; }
.admin-subhead p { margin:6px 0 0; color:#838c9c; font-size:10px; line-height:1.65; }
.admin-subhead > span { flex:0 0 auto; padding:7px 9px; border-radius:999px; color:#6070df; background:#f0f2ff; font-size:10px; font-weight:750; }
.admin-provider-config-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.admin-provider-config-card { display:grid; gap:13px; }
.admin-provider-card-top { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; padding-bottom:12px; border-bottom:1px solid #edf0f5; }
.admin-provider-card-top > div { display:flex; gap:10px; min-width:0; align-items:center; }
.admin-provider-card-top .provider-logo { width:34px; height:34px; flex:0 0 auto; display:grid; place-items:center; border-radius:11px; color:#fff; background:linear-gradient(135deg,#4f5ce2,#8374f5); font-size:13px; font-weight:800; }
.admin-provider-card-top b { display:block; color:#2b354d; font-size:13px; }
.admin-provider-card-top small { display:block; margin-top:4px; color:#8d95a2; font-size:9px; }
.admin-provider-model-group { display:grid; gap:14px; }
.admin-provider-model-group > header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:13px; border-bottom:1px solid #e9edf5; }
.admin-provider-model-group > header > div { display:flex; align-items:center; gap:10px; min-width:0; }
.admin-provider-model-group > header .provider-logo { width:32px; height:32px; display:grid; place-items:center; border-radius:10px; color:#5d6dec; background:#eef0ff; font-size:12px; font-weight:800; }
.admin-provider-model-group > header b { display:block; color:#2b354d; font-size:13px; }
.admin-provider-model-group > header small { display:block; margin-top:4px; color:#9098a6; font-size:9px; }
.model-service-panel .admin-model-service-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
.model-service-panel .admin-model-service { background:linear-gradient(145deg,#fff,#fcfcff); }
@media (max-width: 1100px) {
  .admin-service-onboarding,
  .admin-provider-config-list,
  .model-service-panel .admin-model-service-list { grid-template-columns:1fr; }
}
@media (max-width: 650px) {
  .admin-service-form-grid { grid-template-columns:1fr; }
  .admin-service-form-grid label.wide { grid-column:auto; }
  .admin-subhead { display:block; }
  .admin-subhead > span { display:inline-flex; margin-top:10px; }
}

/* R34_GENERATED_UI_APPLY: tool catalog accent bar unification */
.home-shell .feature-card,
.tools-shell .catalog-card {
  position: relative;
  overflow: hidden;
}
.home-shell .feature-card::after,
.tools-shell .catalog-card::after {
  inset: 18px auto 18px 18px !important;
  width: 7px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #5368f7 0%, #7b73ff 48%, #8d70f4 100%) !important;
  opacity: .98 !important;
  box-shadow: 0 0 0 1px rgba(90, 101, 245, .04), 0 10px 18px rgba(90, 101, 245, .18) !important;
}
.home-shell .feature-card {
  padding-left: 34px !important;
}
.tools-shell .catalog-card {
  padding-left: 38px !important;
  border-color: #e7eaf1 !important;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(252,253,255,.98)) !important;
}
.home-shell .feature-art,
.tools-shell .catalog-art {
  margin-left: 0 !important;
  border-radius: 17px !important;
}
.tools-shell .catalog-card .catalog-art {
  box-shadow: inset 0 0 0 1px rgba(93, 103, 246, .055);
}
.tools-shell .catalog-main {
  padding-left: 2px !important;
}
.tools-shell .catalog-wrap + .catalog-wrap,
.home-shell .feature-card + .feature-card {
  margin-top: 0;
}
@media (max-width: 650px) {
  .home-shell .feature-card::after,
  .tools-shell .catalog-card::after {
    inset: 14px auto 14px 14px !important;
  }
  .home-shell .feature-card,
  .tools-shell .catalog-card {
    padding-left: 30px !important;
  }
}

/* R35_AIGC_UPLOAD_UI_REBUILD: tool catalog accent bar unification */
.home-shell .feature-card,
.tools-shell .catalog-card {
  position: relative;
  overflow: hidden;
}
.home-shell .feature-card::after,
.tools-shell .catalog-card::after {
  inset: 18px auto 18px 18px !important;
  width: 7px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #5368f7 0%, #7b73ff 48%, #8d70f4 100%) !important;
  opacity: .98 !important;
  box-shadow: 0 0 0 1px rgba(90, 101, 245, .04), 0 10px 18px rgba(90, 101, 245, .18) !important;
}
.home-shell .feature-card {
  padding-left: 34px !important;
}
.tools-shell .catalog-card {
  padding-left: 38px !important;
  border-color: #e7eaf1 !important;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(252,253,255,.98)) !important;
}
.home-shell .feature-art,
.tools-shell .catalog-art {
  margin-left: 0 !important;
  border-radius: 17px !important;
}
.tools-shell .catalog-card .catalog-art {
  box-shadow: inset 0 0 0 1px rgba(93, 103, 246, .055);
}
.tools-shell .catalog-main {
  padding-left: 2px !important;
}
.tools-shell .catalog-wrap + .catalog-wrap,
.home-shell .feature-card + .feature-card {
  margin-top: 0;
}
@media (max-width: 650px) {
  .home-shell .feature-card::after,
  .tools-shell .catalog-card::after {
    inset: 14px auto 14px 14px !important;
  }
  .home-shell .feature-card,
  .tools-shell .catalog-card {
    padding-left: 30px !important;
  }
}


/* R13.4.9 OpenAlex public-key / BYOK account control */
.openalex-account-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 34px;
  padding: 30px;
  border: 1px solid rgba(20, 28, 56, .08);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(246,248,255,.96));
  box-shadow: 0 24px 70px rgba(32, 43, 90, .08);
}
.openalex-account-card h2 { margin: 6px 0 8px; font-size: 26px; }
.openalex-account-card p { margin: 0; color: #737d94; line-height: 1.7; }
.openalex-title-row { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.openalex-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:24px; }
.openalex-stats > div { padding:14px 16px; border:1px solid rgba(40,52,94,.07); border-radius:16px; background:rgba(255,255,255,.78); }
.openalex-stats span { display:block; color:#8a93a9; font-size:12px; margin-bottom:6px; }
.openalex-stats b { font-size:15px; color:#171d30; }
.openalex-warm-note { display:flex; gap:12px; margin-top:18px; padding:14px 16px; border-radius:16px; background:#f2f4ff; color:#59637f; }
.openalex-warm-note svg { flex:0 0 auto; width:20px; height:20px; color:#5d67f6; }
.openalex-warm-note p { font-size:13px; }
.openalex-account-form { display:flex; flex-direction:column; gap:16px; padding:22px; border:1px solid rgba(40,52,94,.08); border-radius:20px; background:#fff; }
.openalex-account-form label { display:grid; gap:8px; }
.openalex-account-form label > span { font-size:13px; font-weight:700; color:#3e465b; }
.openalex-account-form input,
.openalex-account-form select { width:100%; min-height:48px; border:1px solid #e2e6f0; border-radius:14px; padding:0 14px; background:#fff; color:#171d30; }
.openalex-account-form > small { color:#8a93a9; line-height:1.6; }
.openalex-form-actions { display:flex; flex-wrap:wrap; gap:10px; }
.button.danger-lite { color:#c84343; border-color:#f1caca; background:#fff7f7; }
@media (max-width: 980px) {
  .openalex-account-card { grid-template-columns:1fr; }
}
@media (max-width: 650px) {
  .openalex-account-card { padding:20px; border-radius:22px; }
  .openalex-stats { grid-template-columns:1fr; }
  .openalex-title-row { flex-direction:column; }
}

/* R13.4.9 admin OpenAlex service */
.openalex-admin-config { grid-column: 1 / -1; }
.openalex-admin-config .admin-form-title { display:flex; align-items:center; gap:14px; }
.openalex-admin-config .admin-form-title > .status-tag { margin-left:auto; }
.admin-openalex-metrics { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; margin:18px 0; }
.admin-openalex-metrics > div { padding:14px; border:1px solid rgba(30,42,82,.07); border-radius:14px; background:#f8f9fc; }
.admin-openalex-metrics span { display:block; font-size:11px; color:#8992a6; margin-bottom:6px; }
.admin-openalex-metrics b { font-size:18px; color:#171d30; }
.admin-openalex-actions { display:flex; gap:10px; flex-wrap:wrap; }
@media (max-width: 1100px) { .admin-openalex-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width: 650px) { .admin-openalex-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } }


/* v2.7.0 literature source editor: prevent form/select overlays and horizontal overflow */
.admin-provider-config-list.literature-source-list { grid-template-columns: minmax(0, 1fr); }
.literature-source-list .admin-provider-config-card { width: 100%; min-width: 0; overflow: visible; }
.literature-source-list .admin-service-form-grid { width: 100%; min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.literature-source-list .admin-service-form-grid label,
.literature-source-list .admin-service-form-grid input,
.literature-source-list .admin-service-form-grid select,
.literature-source-list .admin-service-form-grid textarea { min-width: 0; max-width: 100%; }
.literature-source-list .admin-service-form-grid textarea { width: 100%; resize: vertical; overflow-wrap: anywhere; white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; line-height: 1.55; }
.literature-source-list select[data-native-select] { appearance: auto; position: static; opacity: 1; pointer-events: auto; }
.literature-source-list .admin-model-service-foot { min-width: 0; }
.literature-source-list .admin-model-service-foot p { min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
@media (max-width: 1180px) { .literature-source-list .admin-service-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .literature-source-list .admin-service-form-grid { grid-template-columns: minmax(0, 1fr); } .literature-source-list .admin-service-form-grid label.wide { grid-column: auto; } }
/* ===== END zhiyan-ui-system-v5.css ===== */

/* ===== BEGIN ui-audit-v13.css ===== */

/* ===========================================================================
   智研网 UI 审计组件样式
   目标：让服务规则、反馈、空状态与后台动作进入同一套按钮、弹层和栅格系统。
   本文件在 v5 系统样式之后加载，专门覆盖旧规则造成的原生按钮回退。
   =========================================================================== */
:root {
  --ui13-ink:#171b2c;
  --ui13-muted:#737d91;
  --ui13-line:#e2e6f0;
  --ui13-soft:#f7f8fe;
  --ui13-primary:#5a69f4;
  --ui13-violet:#806ff0;
  --ui13-shadow:0 18px 46px rgba(28,36,80,.08);
}
button,
input,
select,
textarea { font:inherit; }
button { -webkit-appearance:none; appearance:none; }
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible { outline:3px solid rgba(90,105,244,.24); outline-offset:3px; }
.button:disabled,
.footer-link-button:disabled,
.support-button:disabled { opacity:.52; cursor:not-allowed; transform:none; box-shadow:none; }

/* Header navigation uses the original coordinate system. */
.top-nav a { padding-left:19px; padding-right:19px; }
.top-nav a.active:before { left:21px; right:21px; }

/* Footer links and all policy actions are explicit components, never browser-default buttons. */
.service-footer nav { align-items:center; }
.service-footer .footer-link-button {
  display:inline-flex; align-items:center; justify-content:center; min-height:28px;
  border:1px solid transparent; border-radius:9px; background:transparent; color:#6e788b;
  padding:6px 8px; font-size:11px; font-weight:680; line-height:1; text-decoration:none;
  transition:background .16s ease,color .16s ease,border-color .16s ease;
}
.service-footer .footer-link-button:hover { color:#4f60e3; background:#f1f3ff; border-color:#e1e4ff; }

/* Service-rule confirmation state */
.service-consent-card { gap:18px; padding:24px; border-radius:20px; }
.service-consent-card.accepted { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.consent-copy { display:flex; align-items:flex-start; gap:13px; }
.consent-copy > .icon { width:30px; height:30px; padding:7px; border-radius:10px; background:#eef1ff; color:#5b6cf1; }
.consent-copy h2 { margin:7px 0 7px; }
.consent-check { min-height:114px; padding:14px 15px; }
.policy-inline-link {
  display:inline-flex; align-items:center; min-height:24px; border:0; border-radius:7px;
  background:transparent; color:#5367e9; padding:2px 4px; margin:2px 0 0 -4px;
  font-size:11px; font-weight:760; text-decoration:underline; text-underline-offset:3px;
}
.policy-inline-link:hover { background:#f0f2ff; color:#4355dc; }
.consent-action-row { padding-top:6px; }
.consent-action-buttons,
.consent-accepted-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; flex-wrap:wrap; }
.consent-confirm-button { min-width:210px; min-height:44px; }
.support-button {
  display:inline-flex; align-items:center; justify-content:center; min-height:42px;
  padding:10px 14px; border:1px solid #dfe4ef; border-radius:999px; background:#fff;
  color:#526075; font-size:12px; font-weight:720; line-height:1; box-shadow:0 7px 17px rgba(35,43,78,.045);
  transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease;
}
.support-button:hover { border-color:#c8d0f8; background:#f6f7ff; color:#4c5fe0; transform:translateY(-1px); }
.consent-accepted-note { flex:1; min-width:0; padding:14px 15px; }
.consent-accepted-note > .icon { flex:0 0 auto; width:24px; height:24px; }
.consent-accepted-note b { display:block; color:#296849; font-size:13px; }
.consent-accepted-note p { margin:4px 0 0; }
.consent-status-label { display:inline-flex; margin:0 0 5px; color:#268352; font-size:10px; font-weight:800; letter-spacing:.11em; }
.consent-rules-button { min-height:38px; }

/* Site dialog: visual hierarchy, Escape close behavior and correct scroll boundary. */
body.site-modal-open { overflow:hidden; }
.site-modal-layer { z-index:1000; padding:24px; overflow-y:auto; align-items:center; }
.site-modal { width:min(740px,100%); max-height:calc(100dvh - 48px); overscroll-behavior:contain; }
.site-modal header { padding:25px 28px 19px; }
.site-modal header h2 { color:var(--ui13-ink); }
.modal-icon-button {
  display:grid; place-items:center; width:34px!important; height:34px!important; border:1px solid #e5e9f2!important;
  border-radius:10px!important; background:#f8f9fd!important; color:#68738a!important; font-size:20px!important;
}
.modal-icon-button:hover { background:#f0f2ff!important; color:#5265e8!important; border-color:#dbe0fb!important; }
.site-modal footer { padding:16px 28px 23px; }
.site-modal footer .modal-cancel-button { min-height:38px; }
.feedback-modal > label { padding-left:28px; padding-right:28px; }
.feedback-grid { padding-left:28px; padding-right:28px; }

/* The legacy pricing page has been removed. The account page keeps its existing action layout. */
.api-heading-actions { display:flex; align-items:center; gap:9px; flex-wrap:wrap; justify-content:flex-end; }
@media (max-width:760px) {
  .top-nav a { padding-left:10px; padding-right:10px; font-size:12px; }
  .top-nav a.active:before { left:11px; right:11px; }
  .service-consent-card { padding:18px; }
  .service-consent-card.accepted { display:grid; }
  .consent-check { min-height:0; }
  .consent-action-row { gap:13px; }
  .consent-action-buttons { justify-content:stretch; }
  .consent-action-buttons .button { width:100%; }
  .site-modal-layer { padding:12px; }
  .site-modal { max-height:calc(100dvh - 24px); }
  .site-modal header { padding:19px 18px 15px; }
  .site-modal footer { padding:13px 18px 18px; }
  .feedback-modal > label { padding-left:18px; padding-right:18px; }
  .feedback-grid { padding-left:18px; padding-right:18px; }
  .api-heading-actions { justify-content:flex-start; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior:auto!important; transition-duration:.01ms!important; animation-duration:.01ms!important; }
}

/* Remaining utility actions that existed before v12 also receive explicit component treatment. */
.api-info .api-support-button { flex:0 0 auto; min-height:36px; padding:8px 12px; }
.compliance-check-grid .policy-inline-link { margin-top:1px; font-size:10px; }
.admin-modal-icon-button {
  display:grid; place-items:center; width:32px; height:32px; border:1px solid #e3e7f0;
  border-radius:10px; background:#f8f9fc; color:#657087; font-size:19px; line-height:1;
}
.admin-modal-icon-button:hover { border-color:#d6dcfa; background:#f0f2ff; color:#5165e6; }
.admin-modal-actions .admin-modal-cancel { min-height:38px; }
@media(max-width:760px){
  .api-shell,
  .api-page { overflow-x:hidden; }
  .api-info {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    min-width:0;
    max-width:100%;
    overflow:hidden;
  }
  .api-info > *,
  .api-info p,
  .api-info span {
    min-width:0;
    max-width:100%;
    white-space:normal;
    overflow-wrap:anywhere;
    word-break:normal;
  }
  .api-info .api-support-button { width:100%; justify-content:center; }
  .task-table,
  .task-filter-pills {
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
}


/* R6: small additions inside the existing admin visual system. */
.admin-provider-model-group > header { gap: 12px; }
.admin-provider-api-button { margin-left: auto; white-space: nowrap; }
.admin-role-note { margin: 0 0 12px; color: #6f7b8c; font-size: 12px; line-height: 1.6; }
.admin-role-limit { margin: -2px 0 0; color: #7d8796; font-size: 12px; }
.admin-modal-check { display: flex !important; align-items: center; gap: 9px; font-weight: 600 !important; }
.admin-modal-check input { width: 16px; height: 16px; accent-color: #6067f6; }
@media (max-width: 760px) { .admin-provider-model-group > header { align-items: flex-start; flex-wrap: wrap; } .admin-provider-api-button { margin-left: 0; } }

/* ===========================================================================
   R12 · Account & compute center refinement
   Scope: restores a predictable interior safe area and replaces the browser
   native model select with a platform-level model picker.
   =========================================================================== */
:root {
  --zy-account-safe: clamp(20px, 2.15vw, 30px);
  --zy-account-section-gap: clamp(16px, 1.6vw, 22px);
}

html { scroll-padding-top: calc(var(--zy-shell-height, 84px) + 26px); }

/* The account page uses one vertical rhythm. Cards no longer depend on mixed
   bottom margins, so the content never visually presses against the next block. */
.api-shell .page-main.api-page {
  display: grid;
  gap: var(--zy-account-section-gap);
  padding-top: clamp(64px, 6.25vw, 92px);
  padding-bottom: clamp(58px, 6vw, 88px);
}
.api-shell .api-heading,
.api-shell .service-consent-card,
.api-shell .compute-balance-card,
.api-shell .api-grid { margin: 0; min-width: 0; }
.api-shell .api-heading {
  padding: 0 4px 2px;
  scroll-margin-top: calc(var(--zy-shell-height, 84px) + 28px);
}
.api-shell .api-heading h1 {
  margin-top: 14px;
  margin-bottom: 14px;
  line-height: 1.08;
}
.api-shell .api-heading p { max-width: 760px; padding-right: 14px; }

/* All content-bearing cards retain a deliberate inner edge. */
.api-shell .service-consent-card { padding: var(--zy-account-safe); }
.api-shell .compute-balance-card {
  gap: clamp(22px, 2.4vw, 34px);
  padding: var(--zy-account-safe);
}
.api-shell .compute-balance-main { padding-left: 2px; }
.api-shell .api-card { overflow: visible; }
.api-shell .card-top { padding: var(--zy-account-safe) var(--zy-account-safe) 16px; }
.api-shell .provider-form { padding: 0 var(--zy-account-safe) var(--zy-account-safe); }
.api-shell .compute-rule-card .compute-rule-grid {
  margin: 3px var(--zy-account-safe) 18px;
  gap: 10px;
}
.api-shell .compute-rule-card .compute-rule-grid > div {
  min-height: 70px;
  padding: 14px 13px;
}
.api-shell .compute-rule-card .billing-foot {
  padding: 13px var(--zy-account-safe) calc(var(--zy-account-safe) - 2px);
}
.api-shell .compute-ledger-list { margin-left: var(--zy-account-safe); margin-right: var(--zy-account-safe); }
.api-shell .usage-metrics { padding-left: var(--zy-account-safe); padding-right: var(--zy-account-safe); }
.api-shell .usage-chart { margin-left: var(--zy-account-safe); margin-right: var(--zy-account-safe); }

/* The redemption area also follows the same safe edge on every breakpoint. */
.api-shell .compute-redeem-form {
  gap: 11px;
  padding: 15px;
  border-radius: 16px;
}
.api-shell .compute-redeem-form input {
  min-height: 40px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 11px;
}

/* ---------------------------------------------------------------------------
   Platform model picker
   This is intentionally not a styled native <select>: browser option menus
   ignore the visual language of the platform and vary by OS.
   --------------------------------------------------------------------------- */
.api-shell .inline-field.model-field {
  align-items: start;
  padding: 10px 0 4px;
}
.api-shell .inline-field.model-field > span { padding-top: 13px; }
.model-picker { position: relative; min-width: 0; }
.model-picker-trigger {
  width: 100%; min-height: 58px; border: 1px solid #dfe4ef; border-radius: 14px;
  display: flex; align-items: stretch; justify-content: space-between; gap: 12px;
  padding: 0 0 0 14px; overflow: hidden; color: #303a52; background: linear-gradient(135deg,#fff,#fbfcff);
  text-align: left; box-shadow: 0 3px 10px rgba(31,40,80,.025);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.model-picker-trigger:hover { border-color: #bcc5ed; background: #fff; }
.model-picker-trigger:focus-visible,
.model-picker.open .model-picker-trigger {
  border-color: #7381f2;
  box-shadow: 0 0 0 4px rgba(94,108,239,.11), 0 10px 22px rgba(47,57,117,.06);
}
.model-picker-trigger:disabled { cursor: not-allowed; opacity: .62; }
.model-picker-trigger-copy {
  min-width: 0; flex: 1; display: grid; align-content: center; gap: 3px; padding: 9px 0;
}
.model-picker-kicker { color: #8a93a4; font-size: 9px; font-weight: 760; letter-spacing: .08em; }
.model-picker-trigger strong {
  min-width: 0; overflow: hidden; color: #2e3851; font-size: 12px; font-weight: 780;
  line-height: 1.25; text-overflow: ellipsis; white-space: nowrap;
}
.model-picker-trigger small {
  min-width: 0; overflow: hidden; color: #788397; font-size: 10px; line-height: 1.25;
  text-overflow: ellipsis; white-space: nowrap;
}
.model-picker-chevron {
  width: 42px; flex: 0 0 42px; display: grid; place-items: center; color: #6976a5;
  border-left: 1px solid #edf0f6; background: rgba(246,248,255,.76);
}
.model-picker-chevron .icon { width: 16px; transition: transform .18s ease; transform: rotate(90deg); }
.model-picker.open .model-picker-chevron .icon { transform: rotate(-90deg); }
.model-picker-popover {
  position: absolute; inset: calc(100% + 8px) 0 auto; z-index: 70; max-height: 324px;
  overflow: auto; padding: 8px; border: 1px solid #dbe0ee; border-radius: 16px;
  background: rgba(255,255,255,.98); box-shadow: 0 20px 52px rgba(26,35,75,.17);
  opacity: 0; pointer-events: none; transform: translateY(-5px); visibility: hidden;
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}
.model-picker.open .model-picker-popover {
  opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible;
}
.model-picker-group { display: grid; gap: 3px; padding: 4px 0; }
.model-picker-group + .model-picker-group { margin-top: 4px; padding-top: 9px; border-top: 1px solid #edf0f6; }
.model-picker-group-label {
  display: block; padding: 0 9px 4px; color: #8993a5; font-size: 9px; font-weight: 820; letter-spacing: .11em;
}
.model-picker-option {
  width: 100%; display: grid; grid-template-columns: 25px minmax(0,1fr); gap: 8px; align-items: center;
  border: 1px solid transparent; border-radius: 11px; padding: 10px 9px; color: #364057; background: transparent; text-align: left;
  transition: background .14s ease, border-color .14s ease, transform .14s ease;
}
.model-picker-option:hover { border-color: #e1e5fb; background: #f6f7ff; }
.model-picker-option:focus-visible { outline: 0; border-color: #aab4fa; background: #f4f6ff; }
.model-picker-option.is-selected { border-color: #dbe1ff; background: linear-gradient(135deg,#eff2ff,#faf9ff); }
.model-picker-option-mark {
  width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #e0e4ef; border-radius: 8px; color: transparent; background: #fff;
}
.model-picker-option-mark .icon { width: 13px; }
.model-picker-option.is-selected .model-picker-option-mark {
  border-color: #6070ed; color: #fff; background: linear-gradient(135deg,#5569f4,#826ef0);
  box-shadow: 0 5px 11px rgba(91,104,240,.2);
}
.model-picker-option-copy { min-width: 0; display: grid; gap: 3px; }
.model-picker-option-copy b { overflow: hidden; color: #313b55; font-size: 11px; font-weight: 770; text-overflow: ellipsis; white-space: nowrap; }
.model-picker-option-copy small { overflow: hidden; color: #7e889b; font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.model-picker.is-disabled .model-picker-chevron { opacity: .55; }

.api-shell .platform-model-note {
  margin-left: 144px;
  margin-top: 13px;
  padding: 12px 13px;
  border-radius: 12px;
}
.api-shell .provider-bottom { padding-top: 18px; }

@media (max-width: 980px) {
  .api-shell .compute-rule-card .compute-rule-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  :root { --zy-account-safe: 18px; --zy-account-section-gap: 14px; }
  .api-shell .page-main.api-page { padding-top: 42px; padding-bottom: 62px; }
  .api-shell .api-heading { padding-left: 1px; padding-right: 1px; }
  .api-shell .api-heading h1 { margin-top: 12px; font-size: clamp(38px, 12vw, 52px); }
  .api-shell .api-heading p { padding-right: 0; }
  .api-shell .compute-rule-card .compute-rule-grid { grid-template-columns: 1fr; margin-top: 2px; }
  .api-shell .inline-field.model-field { gap: 7px; }
  .api-shell .inline-field.model-field > span { padding-top: 0; }
  .api-shell .platform-model-note { margin-left: 0; margin-top: 12px; }
  .model-picker-popover { max-height: min(292px, 48vh); }
}

/* R17 research lab card */
.tool-visual.topic .topic-orbit{position:relative;width:128px;height:128px;border-radius:28px;background:linear-gradient(135deg,#f1f3ff,#fff);box-shadow:inset 0 0 0 1px #e1e6ff;overflow:hidden;display:grid;place-items:center}.topic-orbit:before{content:"";position:absolute;inset:20px;border:1px solid rgba(92,105,244,.28);border-radius:50%}.topic-orbit:after{content:"";position:absolute;left:22px;right:22px;top:63px;height:1px;background:rgba(92,105,244,.22);transform:rotate(-18deg)}.topic-orbit b{width:30px;height:30px;border-radius:12px;background:linear-gradient(135deg,#5368f6,#8b75ff);box-shadow:0 12px 24px rgba(83,104,246,.24)}.topic-ring{position:absolute;border:1px solid rgba(92,105,244,.28);border-radius:50%}.topic-ring.a{inset:32px}.topic-ring.b{inset:20px}.topic-ring.c{inset:8px}.topic-node{position:absolute;width:12px;height:12px;border-radius:50%;background:#6d7cff;box-shadow:0 0 0 6px rgba(109,124,255,.13)}.topic-node.n1{left:28px;bottom:32px}.topic-node.n2{right:30px;top:40px}.topic-node.n3{left:58px;top:58px}
.catalog-card.topic,.feature-card.topic{--tool-accent:#6675f1}
.catalog-card.topic{border-left:6px solid var(--tool-accent)}
/* Sentiment dual-model routing */
.admin-route-row-dual{grid-template-columns:minmax(230px,1.4fr) minmax(170px,1fr) minmax(170px,1fr) minmax(180px,1fr) auto minmax(92px,auto)}
.admin-dual-route-block{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.85fr);gap:14px 18px;align-items:end;margin:0 0 16px;padding:18px;border:1px solid #e5e8f1;border-radius:16px;background:linear-gradient(145deg,#fbfcff,#f6f7ff)}

@media(max-width:1180px){.admin-route-row-dual{grid-template-columns:minmax(210px,1.4fr) minmax(150px,1fr) minmax(150px,1fr) auto minmax(90px,auto)}.admin-route-row-dual .admin-service-cell:nth-of-type(3){display:none}}
@media(max-width:760px){.admin-dual-route-block{grid-template-columns:1fr}.admin-dual-route-block>div{grid-row:auto}.admin-route-row-dual{grid-template-columns:1fr auto}}
/* ===== END ui-audit-v13.css ===== */

/* ===== BEGIN ui-full-audit-v14.css ===== */
/* ============================================================================
   智研网 · 全量 UI 审查与布局收口 v14
   设计范围：平台首页 / 工具中心 / 账户与算力 / 任务记录 / 管理后台。
   这是一层最后加载的“布局合同”，只修正结构、可用性与响应式边界，
   不改变任务、账户、算力和后台接口逻辑。
   ============================================================================ */

:root {
  --zy-audit-edge: clamp(16px, 3vw, 48px);
  --zy-audit-content: min(1280px, calc(100% - var(--zy-audit-edge) - var(--zy-audit-edge)));
  --zy-audit-line: #e4e8f1;
  --zy-audit-focus: rgba(91, 106, 241, .18);
}

html, body, #app {
  width: 100%;
  min-width: 0;
}
body { overflow-x: clip; }
.shell { overflow: visible; }
.page-main,
.api-page,
.task-page,
.admin-content,
.admin-panel,
.api-grid,
.api-card,
.provider-form,
.compute-balance-card,
.task-filters,
.task-searches,
.task-table,
.admin-table,
.admin-card,
.admin-overview-grid,
.admin-usage-summary,
.admin-metric-grid,
.compute-admin-list,
.compute-account-list,
.compute-code-list,
.compute-ledger-list {
  min-width: 0;
}

/* ---- Unified custom select: removes the browser-default menus everywhere in platform ---- */
.zy-select {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}
.zy-select > select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.zy-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid #7d879f;
  border-bottom: 2px solid #7d879f;
  transform: rotate(45deg);
  pointer-events: none;
  transition: transform .16s ease, border-color .16s ease;
}
.zy-select.open::after {
  margin-top: -1px;
  transform: rotate(-135deg);
  border-color: #5869e8;
}
.zy-select-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 40px 10px 13px;
  border: 1px solid #dfe4ee;
  border-radius: 12px;
  background: #fff;
  color: #2c3548;
  box-shadow: 0 6px 16px rgba(27, 35, 72, .025);
  text-align: left;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.zy-select-trigger:hover { border-color: #cfd7ed; background: #fcfcff; }
.zy-select.open .zy-select-trigger,
.zy-select-trigger:focus-visible {
  border-color: #7381f2;
  box-shadow: 0 0 0 4px var(--zy-audit-focus);
  outline: 0;
}
.zy-select.is-disabled::after { opacity: .42; }
.zy-select.is-disabled .zy-select-trigger {
  background: #f7f8fb;
  color: #9aa2b2;
  cursor: not-allowed;
  box-shadow: none;
}
.zy-select-trigger-label {
  display: block;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.zy-select-menu {
  position: absolute;
  z-index: 160;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: none;
  max-height: min(300px, 42vh);
  overflow: auto;
  padding: 8px;
  border: 1px solid #dce2ef;
  border-radius: 14px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 48px rgba(28, 36, 79, .16);
  backdrop-filter: blur(14px);
}
.zy-select.open .zy-select-menu { display: grid; gap: 4px; }
.zy-select-group { display: grid; gap: 4px; }
.zy-select-group + .zy-select-group {
  margin-top: 4px;
  padding-top: 7px;
  border-top: 1px solid #eff2f7;
}
.zy-select-group-label {
  padding: 5px 8px 2px;
  color: #8a94aa;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
}
.zy-select-option {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #344057;
  padding: 10px 11px;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}
.zy-select-option:hover,
.zy-select-option:focus-visible {
  background: #f2f4ff;
  color: #485ade;
  outline: 0;
}
.zy-select-option.is-selected {
  background: #eef1ff;
  color: #4f62e5;
  font-weight: 760;
}
.zy-select-option:disabled { opacity: .45; cursor: not-allowed; }
.task-control .zy-select { flex: 1; }
.task-control .zy-select-trigger { min-height: 42px; border: 0; box-shadow: none; background: transparent; }
.page-size .zy-select { min-width: 112px; }
.page-size .zy-select-trigger { min-height: 34px; padding-top: 7px; padding-bottom: 7px; border: 0; box-shadow: none; background: transparent; }
.admin-service-form-grid .zy-select-trigger { min-height: 38px; padding-top: 8px; padding-bottom: 8px; font-size: 11px; border-radius: 10px; }
.admin-modal .zy-select-trigger { min-height: 42px; }

/* ---- Shared header: never clip primary navigation on medium desktop widths ---- */
.site-head .nav-shell { min-width: 0; }
.top-nav { min-width: 0; }
@media (max-width: 1060px) {
  .site-head .nav-shell { grid-template-columns: minmax(0,1fr) auto; }
  .site-head .top-nav { display: none; }
}
@media (max-width: 760px) {
  .site-head .nav-shell { width: calc(100% - 32px); }
}

/* ---- Account & compute: stable title safety zone, no compressed grid children ---- */
.api-shell .page-main {
  width: var(--zy-audit-content);
  padding-top: clamp(46px, 5vw, 72px);
}
.api-shell .api-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  margin-bottom: 26px;
}
.api-shell .api-heading > div { min-width: 0; }
.api-shell .api-heading h1 { margin-top: 16px; }
.api-shell .api-heading p { max-width: 760px; }
.api-shell .compute-balance-card,
.api-shell .api-grid,
.api-shell .api-info { width: 100%; }
.api-shell .provider-row,
.api-shell .inline-field,
.api-shell .provider-bottom,
.api-shell .platform-model-note { min-width: 0; }
.api-shell .platform-model-note { margin-left: 0; }
.api-shell .usage-metrics > div,
.api-shell .compute-rule-grid > div { min-width: 0; }

/* ---- Admin: content never overlays title areas and navigation remains reachable ---- */
.admin-shell .admin-sidebar {
  overflow: visible;
}
.admin-shell .admin-sidebar nav {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.admin-shell .admin-sidebar nav::-webkit-scrollbar { display: none; }
.admin-shell .admin-nav-item { flex: 0 0 auto; min-width: max-content; }
.admin-shell .admin-content > .admin-panel {
  display: grid;
  gap: 16px;
}
.admin-shell .admin-page-title,
.admin-shell .admin-section-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: start;
  gap: 18px;
  min-height: 0;
  margin: 0 !important;
  padding: 26px 28px;
}
.admin-shell .admin-page-title > div,
.admin-shell .admin-section-head > div { min-width: 0; }
.admin-shell .admin-section-head p,
.admin-shell .admin-page-title p { max-width: 720px; }
.admin-shell .admin-inline-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-shell .admin-metric-grid,
.admin-shell .admin-overview-grid,
.admin-shell .admin-usage-summary { margin-top: 0; }
.admin-shell .compute-code-audit,
.admin-shell .compute-admin-ledger { margin-top: 0; }
.admin-shell .admin-table {
  overscroll-behavior-inline: contain;
}
/* Six columns fit cleanly on standard desktop; scroll begins only when actual space runs out. */
.admin-shell .api-admin-table .admin-table-head,
.admin-shell .api-admin-table .admin-api-row {
  min-width: 0 !important;
  grid-template-columns: minmax(178px,1.3fr) minmax(92px,.72fr) minmax(82px,.62fr) minmax(150px,1.05fr) minmax(88px,.68fr) minmax(118px,.84fr);
}
.admin-shell .admin-api-row > * { min-width: 0; }
.admin-shell .admin-api-row b,
.admin-shell .admin-api-row small,
.admin-shell .admin-api-row time,
.admin-shell .admin-api-row > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.admin-shell .compute-admin-list,
.admin-shell .compute-account-list,
.admin-shell .compute-code-list { scrollbar-gutter: stable; }

/* ---- Tool catalog: artwork supports content; it no longer consumes a quarter of every card ---- */
.tools-shell .page-main { width: var(--zy-audit-content); }
.tools-shell .catalog-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 18px; }
.tools-shell .catalog-card {
  grid-template-columns: 144px minmax(0,1fr) auto !important;
  grid-template-rows: auto !important;
  min-height: 242px;
  gap: 16px 18px;
  padding: 20px 22px;
}
.tools-shell .catalog-art {
  width: 144px;
  min-width: 144px;
  min-height: 0;
  grid-row: auto !important;
}
.tools-shell .catalog-card .tool-visual { width: 118px; height: 118px; }
.tools-shell .catalog-card .orbital { width: 104px; height: 104px; }
.tools-shell .catalog-main { min-width: 0; }
.tools-shell .catalog-main p { margin: 8px 0 10px; }
.tools-shell .catalog-main ul { gap: 8px 12px; }
.tools-shell .catalog-action { min-width: 104px; padding-left: 0; }

/* ---- Intentional table scrolling only where columns cannot remain readable ---- */
.task-shell .task-table,
.admin-shell .users-table,
.admin-shell .admin-task-table,
.admin-shell .admin-audit-table { scrollbar-gutter: stable both-edges; }
.task-shell .task-table::-webkit-scrollbar,
.admin-shell .admin-table::-webkit-scrollbar { height: 9px; }
.task-shell .task-table::-webkit-scrollbar-thumb,
.admin-shell .admin-table::-webkit-scrollbar-thumb { background: #bcc3d2; border-radius: 999px; }

@media (max-width: 1180px) {
  .tools-shell .catalog-grid { grid-template-columns: minmax(0,1fr) !important; }
  .admin-shell .api-admin-table .admin-table-head,
  .admin-shell .api-admin-table .admin-api-row { min-width: 760px !important; }
}
@media (max-width: 900px) {
  .api-shell .api-heading { grid-template-columns: 1fr; }
  .api-shell .api-heading-actions { justify-content: flex-start; }
  .admin-shell .admin-page-title,
  .admin-shell .admin-section-head { grid-template-columns: 1fr; }
  .admin-shell .admin-inline-actions { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .api-shell .page-main,
  .tools-shell .page-main { width: calc(100% - 32px); }
  .api-shell .page-main { padding-top: 34px; }
  .api-shell .api-heading { margin-bottom: 20px; }
  .admin-shell .admin-page-title,
  .admin-shell .admin-section-head { padding: 22px 18px; border-radius: 18px; }
  .admin-shell .admin-inline-actions .button { flex: 1 1 auto; }
  .tools-shell .catalog-card { grid-template-columns: 1fr !important; min-height: 0; }
  .tools-shell .catalog-art { width: auto; min-width: 0; justify-self: start; }
  .tools-shell .catalog-card .tool-visual { width: 104px; height: 104px; }
  .tools-shell .catalog-card .orbital { width: 90px; height: 90px; }
  .tools-shell .catalog-action { width: 100%; }
  .tools-shell .catalog-action .button { width: 100%; }
  .zy-select-menu { max-height: 230px; }
}

/* Keep the existing compact row rhythm where a select sits inside a dense inline form. */
.inline-field .zy-select-trigger,
.mode-field .zy-select-trigger,
.admin-feedback-form .zy-select-trigger {
  min-height: 38px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 11px;
}
.task-control .zy-select {
  flex: 1 1 auto;
  min-width: 0;
}
.task-control .zy-select-trigger {
  min-height: 40px;
  border: 0;
  padding: 8px 28px 8px 0;
  box-shadow: none;
  background: transparent;
  font-size: 11px;
}
.task-control .zy-select::after { right: 3px; }
.provider-form,
.admin-service-create,
.admin-provider-config-card,
.admin-feedback-card,
.feedback-modal,
.admin-modal,
.api-card { overflow: visible; }
.provider-form .zy-select-menu,
.admin-service-create .zy-select-menu,
.admin-provider-config-card .zy-select-menu,
.admin-feedback-card .zy-select-menu,
.feedback-modal .zy-select-menu,
.admin-modal .zy-select-menu { z-index: 240; }

.admin-section-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-section-actions .admin-search { min-width: min(360px, 70vw); }
@media (max-width: 760px) {
  .admin-section-actions { width: 100%; justify-content: flex-start; }
  .admin-section-actions .button,
  .admin-section-actions .admin-search { width: 100%; min-width: 0; }
}
/* ===== END ui-full-audit-v14.css ===== */

/* ===== BEGIN ui-catalog-list-v15.css ===== */
/* ============================================================================
   智研网 · 工具列表与运营记录修正 v15
   目标：
   1. 工具中心恢复为“一行一个工具”的稳定横向卡片；
   2. 左侧插画和紫蓝竖线都被明确约束在卡片内部；
   3. 充值批次、用户余额、兑换码记录统一补齐左右安全边距；
   4. 移除兑换码区的内层滚动，避免与页面滚动条双重竞争。
   本文件必须在 ui-full-audit-v14.css 之后加载。
   ============================================================================ */

/* --------------------------------------------------------------------------
   A. 研究工具：一行一个，左图 / 中文案 / 右操作。
   卡片自身负责裁切和定位，视觉元素不允许越过卡片边界。
   -------------------------------------------------------------------------- */
.tools-shell .catalog-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 16px;
}

.tools-shell .catalog-wrap {
  min-width: 0;
}

.tools-shell .catalog-card {
  position: relative;
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr) auto !important;
  grid-template-rows: minmax(0, 1fr) !important;
  align-items: center;
  gap: 24px;
  min-height: 222px;
  padding: 20px 24px 20px 34px;
  overflow: hidden;
}

/* 原 v10 竖线贴在卡片边缘；现在收进卡片内部，形成可见安全距离。 */
.tools-shell .catalog-card::after {
  inset: 18px auto 18px 14px;
  width: 4px;
  border-radius: 999px;
  z-index: 0;
}

.tools-shell .catalog-art,
.tools-shell .catalog-main,
.tools-shell .catalog-action {
  position: relative;
  z-index: 1;
}

.tools-shell .catalog-art {
  grid-row: 1 !important;
  width: 184px;
  min-width: 184px;
  min-height: 180px;
  height: 180px;
  padding: 12px;
  display: grid;
  place-items: center;
  align-self: stretch;
  overflow: hidden;
  border-radius: 16px;
}

/* 文献专题地图的文献画布最宽约 150px；这里给足 160px 视觉画布与边缘余量，避免飘到文案区。 */
.tools-shell .catalog-card .tool-visual {
  width: 154px;
  height: 154px;
  transform: none;
}

.tools-shell .catalog-card .orbital {
  width: 144px;
  height: 144px;
}

.tools-shell .catalog-main {
  align-self: center;
  min-width: 0;
  padding: 4px 0;
}

.tools-shell .catalog-main p {
  max-width: 760px;
  margin: 9px 0 10px;
}

.tools-shell .catalog-main ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px 14px;
}

.tools-shell .catalog-action {
  grid-column: 3 !important;
  align-self: center !important;
  justify-self: end;
  min-width: 104px;
  padding-left: 0;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .tools-shell .catalog-card {
    grid-template-columns: 158px minmax(0, 1fr) !important;
    gap: 18px;
    min-height: 206px;
    padding-right: 22px;
  }
  .tools-shell .catalog-art {
    width: 158px;
    min-width: 158px;
    height: 162px;
    min-height: 162px;
  }
  .tools-shell .catalog-card .tool-visual {
    width: 136px;
    height: 136px;
  }
  .tools-shell .catalog-card .orbital {
    width: 126px;
    height: 126px;
  }
  .tools-shell .catalog-main ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tools-shell .catalog-action {
    grid-column: 2 !important;
    justify-self: start;
    align-self: end !important;
  }
}

@media (max-width: 650px) {
  .tools-shell .catalog-card {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    min-height: 0;
    gap: 14px;
    padding: 18px 18px 18px 28px;
  }
  .tools-shell .catalog-card::after {
    inset: 14px auto 14px 10px;
  }
  .tools-shell .catalog-art {
    width: 100%;
    min-width: 0;
    height: 136px;
    min-height: 136px;
    justify-self: stretch;
  }
  .tools-shell .catalog-card .tool-visual {
    width: 116px;
    height: 116px;
  }
  .tools-shell .catalog-card .orbital {
    width: 108px;
    height: 108px;
  }
  .tools-shell .catalog-main ul {
    grid-template-columns: minmax(0, 1fr);
  }
  .tools-shell .catalog-action {
    grid-column: auto !important;
    width: 100%;
    justify-self: stretch;
  }
  .tools-shell .catalog-action .button {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   B. 算力运营记录：标题与每一条数据使用同一条左右对齐线。
   -------------------------------------------------------------------------- */
.admin-shell .compute-admin-list,
.admin-shell .compute-account-list,
.admin-shell .compute-code-list {
  max-height: none;
  overflow: visible;
  padding: 0 20px;
  scrollbar-gutter: auto;
}

.admin-shell .compute-admin-batch,
.admin-shell .compute-account-row,
.admin-shell .compute-code-row {
  padding-top: 14px;
  padding-bottom: 14px;
}

/* 兑换记录较多时仍沿页面自然向下阅读，不出现页面滚动 + 记录区滚动的双滚动。 */
.admin-shell .compute-code-audit {
  overflow: hidden;
}

@media (max-width: 650px) {
  .admin-shell .compute-admin-list,
  .admin-shell .compute-account-list,
  .admin-shell .compute-code-list {
    padding-right: 16px;
    padding-left: 16px;
  }
}

/* --------------------------------------------------------------------------
   C. 研究工具卡片二次收口 v16
   目标：压缩左图占比、增强卡片层次与留白，让工具列表更像产品卡片而不是“大图 + 一块空白”。
   -------------------------------------------------------------------------- */
.tools-shell .catalog-card {
  grid-template-columns: 132px minmax(0, 1fr) auto !important;
  min-height: 188px;
  gap: 20px;
  padding: 18px 22px 18px 30px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,250,255,.98) 100%);
  box-shadow: 0 12px 30px rgba(53, 71, 105, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tools-shell .catalog-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(53, 71, 105, .09);
  border-color: #d7deef;
}
.tools-shell .catalog-card::after {
  inset: 20px auto 20px 12px;
  width: 5px;
  background: linear-gradient(180deg, #6475ff 0%, #4a58ea 55%, #3341bd 100%);
  box-shadow: 0 0 0 1px rgba(90, 102, 227, .08);
}
.tools-shell .catalog-art {
  width: 132px;
  min-width: 132px;
  height: 132px;
  min-height: 132px;
  padding: 10px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f7f8ff 0%, #f0f2ff 100%);
  border: 1px solid #eaecfb;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.tools-shell .catalog-card .tool-visual {
  width: 112px;
  height: 112px;
}
.tools-shell .catalog-card .orbital {
  width: 104px;
  height: 104px;
}
.tools-shell .catalog-main {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 0;
}
.tools-shell .catalog-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.tools-shell .catalog-title h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -.2px;
}
.tools-shell .catalog-main p {
  max-width: 820px;
  margin: 0;
  line-height: 1.72;
  color: #64748a;
}
.tools-shell .catalog-main ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
}
.tools-shell .catalog-main li {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f5f7fc;
  border: 1px solid #e6ebf4;
  color: #516579;
  font-size: 12px;
  font-weight: 600;
}
.tools-shell .catalog-main li .icon {
  width: 14px;
  height: 14px;
  color: #5966e9;
}
.tools-shell .catalog-main .api-use {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  color: #738297;
  font-size: 12px;
}
.tools-shell .catalog-action {
  min-width: 116px;
  align-self: center !important;
}
.tools-shell .catalog-action .button {
  min-width: 116px;
  height: 42px;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(35, 44, 122, .12);
}
@media (max-width: 900px) {
  .tools-shell .catalog-card {
    grid-template-columns: 116px minmax(0, 1fr) !important;
    gap: 16px;
    min-height: 176px;
    padding: 18px 18px 18px 28px;
  }
  .tools-shell .catalog-art {
    width: 116px;
    min-width: 116px;
    height: 116px;
    min-height: 116px;
  }
  .tools-shell .catalog-card .tool-visual {
    width: 96px;
    height: 96px;
  }
  .tools-shell .catalog-card .orbital {
    width: 88px;
    height: 88px;
  }
}
@media (max-width: 650px) {
  .tools-shell .catalog-card {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px;
    padding: 16px 16px 16px 24px;
  }
  .tools-shell .catalog-art {
    width: 100%;
    min-width: 0;
    height: 124px;
    min-height: 124px;
  }
  .tools-shell .catalog-card .tool-visual {
    width: 100px;
    height: 100px;
  }
  .tools-shell .catalog-card .orbital {
    width: 92px;
    height: 92px;
  }
  .tools-shell .catalog-main li {
    width: 100%;
    justify-content: flex-start;
  }
}

/* --------------------------------------------------------------------------
   D. 研究工具页插画替换 v17
   使用用户确认的极简静态插画，替换原 CSS 程序化图形。
   -------------------------------------------------------------------------- */
.tools-shell .catalog-art {
  overflow: hidden;
}
.tools-shell .tool-visual.image-tool {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.tools-shell .tool-visual.image-tool img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  filter: saturate(.98) contrast(1.01);
}
.tools-shell .catalog-card .tool-visual.image-tool,
.tools-shell .catalog-card .tool-visual.image-tool img {
  width: 112px;
  height: 164px;
}
@media (max-width: 900px) {
  .tools-shell .catalog-card .tool-visual.image-tool,
  .tools-shell .catalog-card .tool-visual.image-tool img {
    width: 96px;
    height: 142px;
  }
}
@media (max-width: 650px) {
  .tools-shell .catalog-card .tool-visual.image-tool,
  .tools-shell .catalog-card .tool-visual.image-tool img {
    width: 100%;
    height: 124px;
  }
}

/* --------------------------------------------------------------------------
   E. 工具插画尺寸匹配修正 v18
   同时修正 home-shell feature-card 与 tools-shell catalog-card 的插画适配。
   -------------------------------------------------------------------------- */
.home-shell .feature-art,
.tools-shell .catalog-art {
  overflow: hidden;
}
.home-shell .feature-art .tool-visual.image-tool,
.tools-shell .catalog-art .tool-visual.image-tool {
  width: 100% !important;
  height: 100% !important;
  padding: 10px !important;
  box-sizing: border-box;
  display: grid;
  place-items: center;
}
.home-shell .feature-art .tool-visual.image-tool img,
.tools-shell .catalog-art .tool-visual.image-tool img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block;
  border-radius: 14px;
}
/* ===== END ui-catalog-list-v15.css ===== */

/* ===== BEGIN ui-ledger-r16.css ===== */
/* ============================================================================
   智研网 · R16 算力账本审计对齐修正
   仅修正“算力账本审计”这一张卡片的内容安全边距与行布局。
   充值批次 / 用户余额 / 兑换记录已由 R15 处理，本文件补齐账本审计这个独立 DOM 容器。
   ============================================================================ */

/* 标题区已有 20px 左右边距；账本正文也必须使用同一条内容对齐线。 */
.admin-shell .compute-admin-ledger > div:last-child {
  padding: 0 20px;
}

/* 单条账本记录使用稳定的三列：事件、金额 / 余额、说明。 */
.admin-shell .compute-admin-ledger-row {
  grid-template-columns: minmax(260px, 1.3fr) 112px minmax(180px, 1.1fr);
  column-gap: 18px;
  min-height: 72px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.admin-shell .compute-admin-ledger-row > div {
  min-width: 0;
}

.admin-shell .compute-admin-ledger-row > div:nth-child(2) {
  white-space: nowrap;
}

.admin-shell .compute-admin-ledger-row > div:last-child {
  min-width: 0;
}

.admin-shell .compute-admin-ledger-row > div:last-child small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 980px) {
  .admin-shell .compute-admin-ledger > div:last-child {
    padding-right: 18px;
    padding-left: 18px;
  }
  .admin-shell .compute-admin-ledger-row {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 14px;
  }
  .admin-shell .compute-admin-ledger-row > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  .admin-shell .compute-admin-ledger > div:last-child {
    padding-right: 16px;
    padding-left: 16px;
  }
  .admin-shell .compute-admin-ledger-row {
    min-height: 0;
    padding-top: 13px;
    padding-bottom: 13px;
  }
}

/* R17: ledger content must never touch the card edge. */
.admin-shell .compute-admin-ledger-list{box-sizing:border-box;width:100%;padding:0 26px 12px!important;overflow:hidden}
.admin-shell .compute-admin-ledger-row{box-sizing:border-box;padding:15px 2px!important;min-width:0}
.admin-shell .compute-admin-ledger-row>div{min-width:0}
.admin-shell .compute-admin-ledger-row>div:last-child small{display:block;overflow-wrap:anywhere;line-height:1.65}
@media(max-width:980px){.admin-shell .compute-admin-ledger-list{padding-inline:20px!important}}
@media(max-width:620px){.admin-shell .compute-admin-ledger-list{padding-inline:16px!important}}
/* ===== END ui-ledger-r16.css ===== */

/* ===== BEGIN ui-unification-r19.css ===== */
/* R19: canonical shared shell and final admin spacing fixes. */

.admin-shell .admin-sidebar {
  overflow: visible;
}

.admin-shell .admin-sidebar nav {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-right: 22px;
  scrollbar-width: thin;
  scroll-padding-inline: 14px;
  -webkit-overflow-scrolling: touch;
}

.admin-shell .admin-nav-item {
  flex: 0 0 auto;
  min-width: max-content;
  white-space: nowrap;
}

.admin-shell .admin-nav-item:last-child {
  margin-right: 6px;
}

.admin-shell .admin-section-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-shell .users-table .admin-table-head,
.admin-shell .users-table .admin-user-row {
  grid-template-columns: 1.22fr .58fr 1.05fr 1.1fr 1fr .78fr 1.05fr;
  padding-left: 22px;
  padding-right: 28px;
}

.admin-shell .users-table .admin-actions {
  justify-content: flex-end;
  padding-right: 4px;
}

@media (max-width: 1180px) {
  .admin-shell .admin-sidebar nav { padding-right: 16px; }
  .admin-shell .users-table .admin-table-head,
  .admin-shell .users-table .admin-user-row { padding-right: 24px; }
}
/* ===== END ui-unification-r19.css ===== */

/* ===== BEGIN ui-tool-cards-r20.css ===== */
/* 智研网研究工具卡片 r20：取消独立插画面板，改为融入卡片的低对比度主题纹理。 */
.home-shell .feature-grid,
.tools-shell .catalog-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 16px !important;
}
.home-shell .feature-grid,
.tools-shell .catalog-grid,
.home-shell .compact-grid {
  align-items: stretch;
}
.home-shell .feature-grid > .tool-row-card,
.tools-shell .catalog-wrap,
.tools-shell .catalog-wrap > .tool-row-card {
  width: 100%;
}
.tool-row-card {
  --tool-color: #5968ef;
  --tool-color-rgb: 89,104,239;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  min-height: 184px;
  padding: 25px 28px 24px 30px;
  overflow: hidden;
  border: 1px solid #e6e9f0;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 18%, rgba(var(--tool-color-rgb),.07), transparent 31%),
    linear-gradient(135deg, rgba(255,255,255,.99), rgba(250,251,255,.98));
  box-shadow: 0 14px 40px rgba(25,35,72,.055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tool-row-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--tool-color-rgb),.22);
  box-shadow: 0 20px 48px rgba(25,35,72,.085);
}
.tool-row-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, rgba(var(--tool-color-rgb),.98), rgba(var(--tool-color-rgb),.48));
}
.tool-row-card--aigc-risk {
  --tool-color: #6573e8;
  --tool-color-rgb: 101,115,232;
}
.tool-row-card--research-lab {
  --tool-color: #7a67df;
  --tool-color-rgb: 122,103,223;
}
.tool-row-content {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 850px;
}
.tool-row-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: #7c86a0;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .14em;
}
.tool-row-accent {
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--tool-color);
  box-shadow: 0 4px 12px rgba(var(--tool-color-rgb),.22);
}
.tool-row-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.tool-row-heading h3 {
  margin: 0;
  color: #151824;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.045em;
}
.tool-row-heading .status-tag {
  transform: translateY(1px);
}
.tool-row-content > p {
  max-width: 760px;
  margin: 10px 0 14px;
  color: #697385;
  font-size: 12.5px;
  line-height: 1.78;
}
.tool-row-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tool-row-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(var(--tool-color-rgb),.11);
  border-radius: 999px;
  background: rgba(var(--tool-color-rgb),.045);
  color: #526176;
  font-size: 11px;
  font-weight: 670;
}
.tool-row-chip .icon {
  width: 13px;
  height: 13px;
  color: var(--tool-color);
}
.tool-row-service {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: #8a93a3;
  font-size: 10.5px;
}
.tool-row-service .icon {
  width: 13px;
  height: 13px;
  color: var(--tool-color);
}
.tool-row-cta {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 128px;
  padding-left: 28px;
}
.tool-row-action {
  min-width: 118px;
  height: 42px;
  padding-inline: 18px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(24,31,72,.15);
}
.tool-row-motif {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 118px;
  width: min(34%, 420px);
  height: 100%;
  transform: translateY(-50%);
  color: var(--tool-color);
  opacity: .16;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
}
.tool-row-motif svg {
  width: 100%;
  height: 100%;
}
.tool-row-card.is-compact {
  min-height: 152px;
}
.home-shell .compact-grid .tool-row-card {
  min-height: 152px;
}
.tools-shell .catalog-wrap[hidden] {
  display: none !important;
}
@media (max-width: 920px) {
  .tool-row-card {
    min-height: 172px;
    padding: 22px 22px 22px 26px;
  }
  .tool-row-motif {
    right: 84px;
    width: 40%;
    opacity: .12;
  }
  .tool-row-cta {
    min-width: 112px;
    padding-left: 18px;
  }
}
@media (max-width: 700px) {
  .tool-row-card {
    grid-template-columns: minmax(0,1fr);
    gap: 18px;
    min-height: 0;
    padding: 22px 20px 20px 24px;
  }
  .tool-row-motif {
    right: -80px;
    top: 35%;
    width: 76%;
    opacity: .09;
  }
  .tool-row-heading h3 {
    font-size: 20px;
  }
  .tool-row-cta {
    justify-content: flex-start;
    min-width: 0;
    padding: 0;
  }
  .tool-row-chip {
    width: auto;
  }
}

/* 智研网研究工具中心 r21：Apple 风方格卡片与可折叠任务分组。 */
.tools-shell--grid {
  background:
    radial-gradient(circle at 82% 9%, rgba(91,106,241,.045), transparent 25%),
    #fbfcfe;
}
.tools-page-grid {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding-top: 58px;
  padding-bottom: 88px;
}
.tools-grid-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: 36px;
  margin-bottom: 30px;
}
.tools-grid-heading h1 {
  margin: 12px 0 8px;
  color: #111522;
  font-size: clamp(42px, 5vw, 68px);
  line-height: .98;
  letter-spacing: -.07em;
}
.tools-grid-heading p {
  max-width: 620px;
  margin: 0;
  color: #727b8d;
  font-size: 14px;
  line-height: 1.7;
}
.tools-grid-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 17px;
  border: 1px solid #e2e6ee;
  border-radius: 15px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 30px rgba(31,41,79,.045);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.tools-grid-search:focus-within {
  border-color: rgba(83,101,241,.42);
  box-shadow: 0 0 0 4px rgba(83,101,241,.08);
}
.tools-grid-search .icon {
  width: 18px;
  height: 18px;
  color: #8d96a7;
}
.tools-grid-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1d2433;
  font: inherit;
  font-size: 13px;
}
.tools-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}
.tools-category-tabs button {
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid #e3e7ef;
  border-radius: 12px;
  background: rgba(255,255,255,.88);
  color: #4f596d;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.tools-category-tabs button:hover {
  transform: translateY(-1px);
  border-color: #cfd5e3;
}
.tools-category-tabs button.active {
  border-color: #5a68ee;
  background: #5666ed;
  color: #fff;
  box-shadow: 0 8px 20px rgba(75,89,224,.18);
}
.tool-category-list {
  display: grid;
  gap: 15px;
}
.tool-category-panel {
  overflow: hidden;
  border: 1px solid #e4e8f0;
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 38px rgba(32,43,82,.04);
}
.tool-category-panel[hidden] {
  display: none !important;
}
.tool-category-panel > summary {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto 24px;
  align-items: center;
  gap: 15px;
  min-height: 82px;
  padding: 15px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.tool-category-panel > summary::-webkit-details-marker { display: none; }
.tool-category-panel > summary:hover {
  background: rgba(247,249,253,.82);
}
.tool-category-icon,
.tool-square-icon {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(82,99,236,.10);
  background: linear-gradient(145deg, #f4f5ff, #eef1ff);
  color: #5767ee;
}
.tool-category-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}
.tool-category-icon .icon {
  width: 20px;
  height: 20px;
}
.tool-category-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.tool-category-copy b {
  color: #171c29;
  font-size: 18px;
  letter-spacing: -.025em;
}
.tool-category-copy small {
  overflow: hidden;
  color: #7c8596;
  font-size: 12px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tool-category-count {
  color: #7b8496;
  font-size: 12px;
  font-weight: 700;
}
.tool-category-chevron {
  display: inline-grid;
  place-items: center;
  color: #778196;
  transition: transform .2s ease;
}
.tool-category-chevron .icon {
  width: 17px;
  height: 17px;
  transform: rotate(90deg);
}
.tool-category-panel[open] .tool-category-chevron {
  transform: rotate(180deg);
}
.tool-category-panel[open] > summary {
  border-bottom: 1px solid #edf0f5;
}
.tool-square-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  background: #fafbfe;
}
.tool-square-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 258px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #e4e8f0;
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 8px 26px rgba(35,45,83,.035);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tool-square-card:hover {
  transform: translateY(-2px);
  border-color: rgba(86,103,237,.28);
  box-shadow: 0 16px 34px rgba(35,45,83,.075);
}
.tool-square-card[hidden] { display: none !important; }
.tool-square-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.tool-square-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
}
.tool-square-icon .icon {
  width: 25px;
  height: 25px;
}
.tool-square-card .status-tag {
  min-height: 24px;
  padding: 4px 8px;
  font-size: 10px;
}
.tool-square-card__body h3 {
  margin: 0 0 8px;
  color: #161b27;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.035em;
}
.tool-square-card__body p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  color: #737d8f;
  font-size: 12.5px;
  line-height: 1.72;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.tool-square-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}
.tool-square-tags span {
  padding: 5px 8px;
  border-radius: 8px;
  background: #f3f5fa;
  color: #687287;
  font-size: 10px;
  font-weight: 650;
}
.tool-square-card footer {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
}
.tool-square-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid #dfe4ee;
  border-radius: 11px;
  background: #fff;
  color: #3347d9;
  font-size: 11px;
  font-weight: 760;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.tool-square-action:hover {
  transform: translateY(-1px);
  border-color: rgba(73,91,224,.35);
  background: #f7f8ff;
}
.tool-square-action .icon {
  width: 14px;
  height: 14px;
}
.tool-square-action.is-muted {
  color: #8b94a4;
  cursor: default;
}
.tools-page-grid > .tool-empty {
  margin-top: 24px;
  border: 1px dashed #dfe4ec;
  border-radius: 18px;
  background: rgba(255,255,255,.8);
}
@media (max-width: 1080px) {
  .tool-square-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .tools-page-grid {
    width: min(100% - 28px, 1240px);
    padding-top: 34px;
  }
  .tools-grid-heading {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 22px;
  }
  .tools-grid-heading h1 { font-size: 44px; }
  .tools-grid-search { max-width: none; }
  .tool-category-panel > summary {
    grid-template-columns: 40px minmax(0,1fr) auto;
    gap: 12px;
  }
  .tool-category-count { display: none; }
  .tool-category-chevron { grid-column: 3; }
  .tool-square-grid { grid-template-columns: 1fr; padding: 12px; }
  .tool-square-card { min-height: 230px; }
}
@media (max-width: 480px) {
  .tools-category-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .tools-category-tabs::-webkit-scrollbar { display: none; }
  .tools-category-tabs button { flex: 0 0 auto; }
  .tool-category-copy small { white-space: normal; }
  .tool-category-panel > summary { min-height: 76px; padding: 13px 14px; }
  .tool-square-card { padding: 18px; border-radius: 16px; }
}

/* 智研网研究工具中心 r22：常用工具、收藏与最近使用。 */
.common-tools-section {
  margin: 4px 0 34px;
  padding: 22px;
  border: 1px solid #e3e7ef;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(247,249,253,.96));
  box-shadow: 0 18px 44px rgba(34,44,79,.045);
}
.common-tools-section[hidden] { display: none !important; }
.common-tools-head,
.all-tools-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.common-tools-head { margin-bottom: 18px; }
.common-tools-head h2,
.all-tools-head h2 {
  margin: 4px 0 0;
  color: #171c29;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.common-tools-head p {
  margin: 6px 0 0;
  color: #7a8496;
  font-size: 12px;
}
.common-tools-head > span {
  color: #8b94a5;
  font-size: 11px;
  font-weight: 700;
}
.common-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.tool-square-card--common {
  min-height: 244px;
  background: #fff;
}
.tool-card-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.tool-favorite-button {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #e2e6ee;
  border-radius: 10px;
  background: #fff;
  color: #98a0af;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.tool-favorite-button:hover {
  transform: translateY(-1px);
  border-color: rgba(84,101,237,.35);
  color: #5a68ec;
  background: #f7f8ff;
}
.tool-favorite-button.is-active {
  border-color: rgba(84,101,237,.24);
  background: #eef1ff;
  color: #5263eb;
}
.tool-favorite-button.is-active .icon { fill: currentColor; }
.tool-favorite-button .icon {
  width: 15px;
  height: 15px;
}
.tool-common-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 18px;
  margin-top: 13px;
  color: #8790a2;
  font-size: 10.5px;
  font-weight: 650;
}
.tool-common-meta .icon {
  width: 13px;
  height: 13px;
}
.all-tools-head {
  margin: 0 0 16px;
}
.all-tools-head .tools-category-tabs {
  justify-content: flex-end;
  margin: 0;
}
@media (max-width: 1080px) {
  .common-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .common-tools-section { padding: 16px; border-radius: 20px; }
  .common-tools-grid { grid-template-columns: 1fr; }
  .all-tools-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .all-tools-head .tools-category-tabs { justify-content: flex-start; width: 100%; }
}
/* ===== END ui-tool-cards-r20.css ===== */

/* ===== BEGIN ui-research-spaces-r21.css ===== */
/* R13.4 research-space UI. Keeps the R13.3.14 tool-card design unchanged. */
.spaces-main,.space-main{padding-top:52px;padding-bottom:90px}.spaces-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;padding:18px 0 38px}.spaces-heading h1,.space-hero h1{margin:13px 0 0;color:#171923;font-size:clamp(42px,5vw,68px);line-height:1;letter-spacing:-.065em}.spaces-heading p{max-width:720px;margin:17px 0 0;color:#737a89;font-size:16px;line-height:1.8}.spaces-heading .button svg,.spaces-empty .button svg{width:18px;height:18px}.spaces-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:52px}.spaces-overview article{min-height:105px;display:flex;align-items:center;gap:15px;padding:20px 22px;border:1px solid rgba(28,34,54,.075);border-radius:21px;background:rgba(255,255,255,.88);box-shadow:0 13px 34px rgba(25,32,53,.045)}.spaces-overview article>span{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#f1f3ff;color:#5969ef}.spaces-overview article>span svg{width:19px;height:19px}.spaces-overview small{display:block;color:#8a909d;font-size:11px;font-weight:680}.spaces-overview b{display:block;margin-top:4px;color:#20232d;font-size:24px;letter-spacing:-.04em}.spaces-section{margin-top:4px}.research-space-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.research-space-card{min-height:330px;display:flex;flex-direction:column;padding:24px;border:1px solid rgba(24,30,48,.08);border-radius:26px;background:linear-gradient(155deg,#fff 0%,#fcfcfe 100%);box-shadow:0 17px 48px rgba(26,32,51,.06);outline:0;cursor:pointer;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.research-space-card:hover,.research-space-card:focus-visible{transform:translateY(-3px);border-color:rgba(85,103,239,.23);box-shadow:0 24px 60px rgba(26,32,51,.1)}.research-space-card__top{display:flex;align-items:center;justify-content:space-between}.space-folder-mark{width:45px;height:45px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(145deg,#edf0ff,#f7f6ff);color:#5666ef}.space-folder-mark svg{width:21px;height:21px}.research-space-card__body{flex:1;padding:25px 1px 17px}.research-space-card__body h3{margin:0;color:#1b1e28;font-size:22px;line-height:1.25;letter-spacing:-.035em}.research-space-card__body p{display:-webkit-box;max-width:95%;margin:12px 0 0;overflow:hidden;color:#737a88;font-size:13px;line-height:1.75;-webkit-box-orient:vertical;-webkit-line-clamp:3}.space-tags,.space-hero-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:17px}.space-tags span,.space-hero-tags span{min-height:25px;display:inline-flex;align-items:center;padding:0 9px;border-radius:999px;background:#f3f4f7;color:#69707d;font-size:10px;font-weight:680}.research-space-card__metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:15px 0;border-top:1px solid rgba(26,31,43,.07);border-bottom:1px solid rgba(26,31,43,.07)}.research-space-card__metrics span{color:#9297a1;font-size:10px;white-space:nowrap}.research-space-card__metrics b{color:#3b404b;font-size:13px}.research-space-card__footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:17px}.research-space-card__footer small{color:#9a9faa;font-size:10px}.research-space-card__footer button{display:inline-flex;align-items:center;gap:7px;padding:0;border:0;background:transparent;color:#4260e8;font-size:12px;font-weight:720;cursor:pointer}.research-space-card__footer svg{width:14px;height:14px}.spaces-empty{min-height:350px;display:grid;place-items:center;align-content:center;padding:50px;border:1px dashed #daddE6;border-radius:28px;background:rgba(255,255,255,.6);text-align:center}.spaces-empty>svg{width:38px;height:38px;color:#7581dc}.spaces-empty h2{margin:18px 0 0;font-size:24px;letter-spacing:-.035em}.spaces-empty p{max-width:530px;margin:11px auto 21px;color:#7a818e;line-height:1.75}.spaces-empty.error>svg{color:#d26b6b}.space-principle{min-height:100px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;margin-top:28px;padding:22px 25px;border-radius:22px;background:#171a24;color:#fff}.space-principle>span{width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:rgba(255,255,255,.1)}.space-principle>span svg{width:20px}.space-principle b{font-size:14px}.space-principle p{margin:5px 0 0;color:#b9becb;font-size:12px;line-height:1.65}.space-principle a{display:inline-flex;align-items:center;gap:7px;color:#dce2ff;font-size:12px;font-weight:700}.space-principle a svg{width:14px}
.space-breadcrumb{display:flex;align-items:center;gap:8px;margin:3px 0 28px;color:#8a909b;font-size:12px}.space-breadcrumb a{color:#4b61e8;font-weight:680}.space-breadcrumb svg{width:13px}.space-hero{min-height:260px;display:flex;align-items:flex-end;justify-content:space-between;gap:40px;padding:42px 45px;border:1px solid rgba(31,37,57,.07);border-radius:32px;background:radial-gradient(circle at 82% 20%,rgba(117,130,245,.13),transparent 29%),linear-gradient(145deg,#fff,#f7f8fc);box-shadow:0 20px 65px rgba(28,34,54,.07)}.space-hero>div:first-child{max-width:820px}.space-hero h1{font-size:clamp(38px,4.4vw,62px)}.space-hero p{max-width:780px;margin:17px 0 0;color:#6d7482;font-size:15px;line-height:1.8}.space-hero-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}.space-hero-actions .button{white-space:nowrap}.space-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:18px 0 50px}.space-metric-grid article{min-height:112px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:13px;align-content:center;padding:20px 22px;border:1px solid rgba(28,34,54,.075);border-radius:20px;background:#fff}.space-metric-grid article>span{grid-row:1/3;width:39px;height:39px;display:grid;place-items:center;border-radius:13px;background:#f2f4ff;color:#5969ef}.space-metric-grid article>span svg{width:18px}.space-metric-grid small{align-self:end;color:#8a909b;font-size:11px;font-weight:680}.space-metric-grid b{align-self:start;margin-top:3px;font-size:23px;letter-spacing:-.04em}.space-section{margin-top:0}.space-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:20px}.space-section-head h2{margin:8px 0 0;font-size:30px;letter-spacing:-.045em}.space-section-head p{margin:8px 0 0;color:#7a808d;font-size:13px}.space-section-head>a,.space-panel header>a{display:inline-flex;align-items:center;gap:7px;color:#4860e7;font-size:12px;font-weight:700}.space-section-head>a svg{width:14px}.space-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.space-tool-card{min-height:170px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:23px 24px;border:1px solid rgba(27,33,51,.08);border-radius:23px;background:#fff;box-shadow:0 13px 36px rgba(27,33,51,.045)}.space-tool-card__icon{width:48px;height:48px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(145deg,#edf0ff,#f8f7ff);color:#5968ed}.space-tool-card__icon svg{width:22px}.space-tool-card span{color:#989daa;font-size:9px;font-weight:780;letter-spacing:.14em}.space-tool-card h3{margin:6px 0 0;font-size:19px;letter-spacing:-.03em}.space-tool-card p{margin:8px 0 0;color:#737a87;font-size:12px;line-height:1.65}.space-tool-card button{display:inline-flex;align-items:center;gap:7px;padding:8px 0;border:0;background:transparent;color:#405be5;font-size:12px;font-weight:720;white-space:nowrap;cursor:pointer}.space-tool-card button svg{width:14px}.space-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:42px}.space-panel{overflow:hidden;border:1px solid rgba(27,33,51,.08);border-radius:24px;background:#fff;box-shadow:0 14px 42px rgba(27,33,51,.05)}.space-panel>header{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 22px;border-bottom:1px solid rgba(27,33,51,.07)}.space-panel>header h2{margin:0;font-size:18px;letter-spacing:-.03em}.space-panel>header p{margin:6px 0 0;color:#888e99;font-size:11px;line-height:1.5}.space-panel>header>span{min-width:35px;height:28px;display:grid;place-items:center;border-radius:999px;background:#f1f3f7;color:#686f7c;font-size:11px;font-weight:720}.space-list{display:grid}.space-list-row{min-height:68px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 20px;border-bottom:1px solid rgba(27,33,51,.06)}.space-list-row:last-child{border-bottom:0}.space-list-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#f2f4fb;color:#6672c6}.space-list-icon svg{width:16px}.space-list-icon.success{background:#ecf8f2;color:#148152}.space-list-icon.error{background:#fff0f0;color:#ca5757}.space-list-row b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.space-list-row small{display:block;margin-top:4px;overflow:hidden;color:#8d929d;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.space-list-row>span:last-child{color:#858b96;font-size:9px;white-space:nowrap}.space-panel-empty{padding:40px 22px;color:#888e99;font-size:12px;line-height:1.7;text-align:center}.space-artifacts{margin-top:16px}.space-loading{min-height:55vh;display:grid;place-items:center;align-content:center;gap:13px;color:#808692}.space-loading i{width:32px;height:32px;border:3px solid #e4e7ef;border-top-color:#5f6fee;border-radius:50%;animation:space-spin .8s linear infinite}.space-form-fields{display:grid;gap:18px;padding:24px 28px 26px}.space-form-modal label{display:grid;gap:9px;margin:0}.space-form-modal label>span{color:#5f6571;font-size:12px;font-weight:680;line-height:1.4}.space-form-modal input,.space-form-modal textarea{width:100%;padding:13px 15px;border:1px solid #dfe3eb;border-radius:13px;background:#fff;color:#242832;font:inherit;line-height:1.55;outline:0;resize:vertical}.space-form-modal textarea{min-height:112px}.space-form-modal input:focus,.space-form-modal textarea:focus{border-color:#91a0f2;box-shadow:0 0 0 4px rgba(91,108,238,.09)}@keyframes space-spin{to{transform:rotate(360deg)}}
@media(max-width:1100px){.research-space-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.space-tool-grid{grid-template-columns:1fr}.spaces-overview,.space-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.space-hero{align-items:flex-start;flex-direction:column}.space-hero-actions{width:100%}}
@media(max-width:720px){.spaces-main,.space-main{padding-top:30px}.spaces-heading{align-items:flex-start;flex-direction:column}.spaces-heading .button{width:100%;justify-content:center}.research-space-grid,.spaces-overview,.space-metric-grid,.space-dashboard-grid{grid-template-columns:1fr}.research-space-card{min-height:300px}.space-principle{grid-template-columns:auto 1fr}.space-principle a{grid-column:2}.space-hero{padding:28px 24px;border-radius:25px}.space-hero-actions{align-items:stretch;flex-direction:column}.space-hero-actions .button{justify-content:center}.space-tool-card{grid-template-columns:auto 1fr}.space-tool-card button{grid-column:2}.space-section-head{align-items:flex-start;flex-direction:column}.space-breadcrumb{margin-bottom:18px}.space-form-fields{gap:16px;padding:20px 18px 22px}.space-form-modal textarea{min-height:104px}}
/* ===== END ui-research-spaces-r21.css ===== */

/* ===== BEGIN ui-research-studio-r22.css ===== */
/* R13.4.3 · Research space studio
   A research space should read as an inhabited workspace, not a stack of cards. */
.space-studio-main{width:min(1380px,calc(100% - 96px));padding-top:34px;padding-bottom:96px}
.space-studio-main .space-breadcrumb{margin:0 0 18px;padding:0 4px}
.space-studio-hero{position:relative;min-height:430px;display:grid;grid-template-columns:minmax(0,1.04fr) minmax(480px,.96fr);align-items:stretch;gap:26px;padding:26px;border:1px solid rgba(24,31,52,.08);border-radius:34px;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(247,249,255,.95));box-shadow:0 26px 80px rgba(35,43,76,.09);overflow:hidden;isolation:isolate}
.space-studio-hero:before{content:"";position:absolute;inset:-35% 42% 40% -12%;z-index:-1;background:radial-gradient(circle,rgba(98,111,244,.12),transparent 68%);pointer-events:none}
.space-studio-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:38px 18px 36px 24px}
.space-studio-kicker{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.space-live{display:inline-flex;align-items:center;gap:7px;min-height:29px;padding:0 10px;border:1px solid rgba(36,152,95,.13);border-radius:999px;background:rgba(235,249,242,.88);color:#257d55;font-size:10px;font-weight:760}
.space-live i{width:7px;height:7px;border-radius:50%;background:#2fba75;box-shadow:0 0 0 5px rgba(47,186,117,.1)}
.space-studio-copy h1{max-width:760px;margin:23px 0 0;color:#141721;font-size:clamp(46px,5vw,76px);line-height:.99;letter-spacing:-.075em;text-wrap:balance}
.space-studio-copy>p{max-width:690px;margin:23px 0 0;color:#6e7584;font-size:15px;line-height:1.9;text-wrap:pretty}
.space-studio-copy .space-hero-tags{margin-top:20px}
.space-studio-copy .space-hero-tags span{min-height:28px;padding:0 11px;border:1px solid rgba(76,91,181,.08);background:rgba(245,246,250,.9);font-size:10px}
.space-studio-copy .space-hero-actions{display:flex;align-items:center;gap:11px;margin-top:30px}
.space-studio-copy .space-hero-actions .button{min-height:44px;padding-inline:18px}
.space-constellation{position:relative;min-height:378px;border:1px solid rgba(130,141,194,.16);border-radius:27px;background:radial-gradient(circle at 50% 49%,rgba(115,127,241,.18),transparent 26%),linear-gradient(148deg,#151b38 0%,#1c234a 50%,#11172f 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 22px 55px rgba(27,34,73,.2);overflow:hidden;isolation:isolate}
.space-constellation:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 14% 14%,rgba(131,149,255,.18),transparent 24%),radial-gradient(circle at 88% 86%,rgba(136,104,255,.16),transparent 28%)}
.space-constellation__grid{position:absolute;inset:0;opacity:.18;background-image:linear-gradient(rgba(255,255,255,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.09) 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(to bottom,transparent 0,#000 14%,#000 86%,transparent 100%)}
.space-orbit{position:absolute;left:50%;top:50%;border:1px solid rgba(148,163,255,.28);border-radius:50%;transform:translate(-50%,-50%) rotate(12deg)}
.space-orbit--one{width:290px;height:126px}
.space-orbit--two{width:385px;height:174px;transform:translate(-50%,-50%) rotate(-23deg);opacity:.75}
.space-orbit--three{width:480px;height:216px;transform:translate(-50%,-50%) rotate(34deg);opacity:.42}
.space-hub{position:absolute;left:50%;top:50%;width:176px;min-height:132px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px 18px;border:1px solid rgba(185,194,255,.38);border-radius:29px;background:linear-gradient(145deg,rgba(112,128,255,.9),rgba(83,74,198,.58));box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 0 0 10px rgba(116,131,255,.07),0 20px 48px rgba(28,34,101,.42);color:#fff;text-align:center;transform:translate(-50%,-50%);backdrop-filter:blur(14px)}
.space-hub>span{font-size:8px;font-weight:820;letter-spacing:.17em;color:#dbe0ff}
.space-hub>b{display:-webkit-box;max-width:100%;margin-top:10px;overflow:hidden;font-size:15px;line-height:1.35;letter-spacing:-.025em;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.space-hub>small{display:flex;align-items:center;gap:6px;margin-top:12px;color:#d5dbff;font-size:8px;font-weight:720;letter-spacing:.12em}
.space-hub>small i{width:6px;height:6px;border-radius:50%;background:#66e3a0;box-shadow:0 0 10px rgba(102,227,160,.9)}
.space-node{position:absolute;min-width:136px;display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid rgba(172,183,255,.18);border-radius:16px;background:rgba(24,31,68,.72);box-shadow:0 12px 35px rgba(5,8,24,.24);color:#fff;backdrop-filter:blur(12px)}
.space-node>span{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:rgba(132,146,255,.14);color:#cfd5ff}
.space-node>span svg{width:16px;height:16px}
.space-node b{display:block;font-size:16px;line-height:1}
.space-node small{display:block;margin-top:5px;color:#aeb7da;font-size:9px;white-space:nowrap}
.space-node--resource{left:28px;top:36px}
.space-node--search{right:26px;top:72px}
.space-node--run{left:40px;bottom:42px}
.space-node--artifact{right:34px;bottom:35px}
.space-dock{position:relative;margin-top:22px;padding:25px;border:1px solid rgba(28,34,54,.075);border-radius:28px;background:rgba(255,255,255,.9);box-shadow:0 18px 54px rgba(28,34,54,.06);backdrop-filter:blur(16px)}
.space-dock__head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:18px;padding:0 2px}
.space-dock__head h2{margin:8px 0 0;font-size:27px;letter-spacing:-.055em}
.space-dock__head p{max-width:520px;margin:0;color:#7a818f;font-size:12px;line-height:1.7;text-align:right}
.space-dock__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.space-dock-tool{min-width:0;min-height:124px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:17px 15px;border:1px solid rgba(29,36,56,.075);border-radius:20px;background:linear-gradient(150deg,#fff,#fafbff);color:#20242e;text-align:left;box-shadow:0 10px 28px rgba(26,32,53,.035);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.space-dock-tool:hover{transform:translateY(-2px);border-color:rgba(89,105,232,.22);box-shadow:0 17px 38px rgba(26,32,53,.075)}
.space-dock-tool__icon{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#edf0ff,#f7f6ff);color:#5668ee}
.space-dock-tool__icon svg{width:19px;height:19px}
.space-dock-tool__copy{min-width:0;display:block}
.space-dock-tool__copy small{display:block;overflow:hidden;color:#9aa0ae;font-size:8px;font-weight:780;letter-spacing:.12em;text-overflow:ellipsis;white-space:nowrap}
.space-dock-tool__copy b{display:block;margin-top:7px;overflow:hidden;font-size:14px;letter-spacing:-.025em;text-overflow:ellipsis;white-space:nowrap}
.space-dock-tool__copy em{display:-webkit-box;margin-top:6px;overflow:hidden;color:#7b8290;font-size:10px;font-style:normal;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.space-dock-tool__arrow{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#f3f5fb;color:#5b68d4}
.space-dock-tool__arrow svg{width:13px;height:13px}
.space-presence{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}
.space-presence article{min-height:96px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:13px;padding:17px 18px;border:1px solid rgba(28,34,54,.07);border-radius:20px;background:rgba(255,255,255,.76)}
.space-presence article>span{width:39px;height:39px;display:grid;place-items:center;border-radius:13px;background:#f2f4ff;color:#5f6feb}
.space-presence article>span svg{width:17px;height:17px}
.space-presence small{display:block;color:#9a9faa;font-size:9px;font-weight:720}
.space-presence b{display:block;margin-top:4px;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.space-presence em{display:block;margin-top:5px;overflow:hidden;color:#858b97;font-size:9px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.space-workspace{margin-top:54px}
.space-workspace__head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:20px;padding:0 4px}
.space-workspace__head h2{margin:8px 0 0;font-size:32px;letter-spacing:-.06em}
.space-workspace__head p{margin:9px 0 0;color:#7a818f;font-size:13px}
.space-workspace__head>a{display:inline-flex;align-items:center;gap:7px;color:#4e62df;font-size:12px;font-weight:720}
.space-workspace__head>a svg{width:14px;height:14px}
.space-workspace-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:16px}
.space-workspace-grid .space-panel{margin:0;border-radius:25px;box-shadow:0 16px 48px rgba(27,33,51,.055)}
.space-workspace-grid .space-panel--materials{grid-row:span 2}
.space-workspace-grid .space-panel--artifacts{grid-column:2}
.space-workspace-grid .space-panel>header{min-height:94px;padding:20px 23px}
.space-workspace-grid .space-panel>header h2{font-size:18px}
.space-workspace-grid .space-list-row{min-height:72px;padding-inline:22px}
.space-workspace-grid .space-panel-empty{min-height:190px;display:grid;place-items:center;padding:36px 28px}
@media(max-width:1180px){.space-studio-hero{grid-template-columns:1fr;min-height:auto}.space-constellation{min-height:360px}.space-dock__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.space-presence{grid-template-columns:1fr}.space-workspace-grid{grid-template-columns:1fr}.space-workspace-grid .space-panel--materials,.space-workspace-grid .space-panel--artifacts{grid-row:auto;grid-column:auto}}
@media(max-width:820px){.space-studio-main{width:calc(100% - 32px);padding-top:24px}.space-studio-hero{padding:16px;border-radius:26px}.space-studio-copy{padding:24px 10px 18px}.space-studio-copy h1{font-size:clamp(40px,12vw,58px)}.space-studio-copy>p{font-size:13px}.space-constellation{min-height:330px}.space-node{min-width:116px;padding:9px}.space-node--resource{left:14px;top:20px}.space-node--search{right:14px;top:48px}.space-node--run{left:18px;bottom:24px}.space-node--artifact{right:16px;bottom:22px}.space-hub{width:150px;min-height:118px}.space-orbit--three{width:390px}.space-dock{padding:20px 16px}.space-dock__head,.space-workspace__head{align-items:flex-start;flex-direction:column}.space-dock__head p{text-align:left}.space-presence{margin-top:14px}.space-workspace{margin-top:42px}}
@media(max-width:620px){.space-studio-copy .space-hero-actions{align-items:stretch;flex-direction:column}.space-studio-copy .space-hero-actions .button{justify-content:center}.space-constellation{min-height:390px}.space-orbit--one{width:220px;height:120px}.space-orbit--two{width:295px;height:160px}.space-orbit--three{width:350px;height:200px}.space-hub{top:50%;width:142px}.space-node{min-width:108px}.space-node b{font-size:14px}.space-node small{font-size:8px}.space-node--resource{left:10px;top:18px}.space-node--search{right:10px;top:72px}.space-node--run{left:10px;bottom:62px}.space-node--artifact{right:10px;bottom:18px}.space-dock__grid{grid-template-columns:1fr}.space-dock-tool{min-height:108px}.space-workspace__head h2{font-size:28px}}
/* ===== END ui-research-studio-r22.css ===== */

/* ===== BEGIN ui-research-depth-r23.css ===== */
/* R13.4.4 · Research space depth + knowledge-first layout */
.space-depth-main{width:min(1420px,calc(100% - 88px));padding-top:34px;padding-bottom:108px}
.space-depth-main .space-breadcrumb{margin:0 0 18px;padding:0 4px}
.space-depth-hero{position:relative;display:grid;grid-template-columns:minmax(0,.82fr) minmax(620px,1.18fr);gap:34px;min-height:520px;padding:34px;border:1px solid rgba(25,32,54,.08);border-radius:38px;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(244,247,255,.93));box-shadow:0 34px 100px rgba(26,34,66,.11);overflow:hidden;isolation:isolate}
.space-depth-hero:before,.space-depth-hero:after{content:"";position:absolute;border-radius:50%;filter:blur(22px);pointer-events:none;z-index:-1}
.space-depth-hero:before{width:420px;height:420px;left:-150px;top:-190px;background:rgba(104,116,244,.14)}
.space-depth-hero:after{width:360px;height:360px;right:-120px;bottom:-170px;background:rgba(126,94,232,.12)}
.space-depth-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:34px 10px 30px 18px}
.space-depth-copy h1{max-width:720px;margin:24px 0 0;color:#12151e;font-size:clamp(44px,4.7vw,72px);line-height:1.01;letter-spacing:-.072em;text-wrap:balance}
.space-depth-copy>p{max-width:680px;margin:22px 0 0;color:#6f7685;font-size:15px;line-height:1.9;text-wrap:pretty}
.space-depth-copy .space-hero-tags{margin-top:18px}
.space-depth-copy .space-hero-tags span{min-height:28px;padding:0 11px;border:1px solid rgba(76,91,181,.08);background:rgba(245,246,250,.92);font-size:10px}
.space-depth-copy .space-hero-actions{display:flex;gap:11px;margin-top:30px}
.space-depth-copy .space-hero-actions .button{min-height:44px;padding-inline:18px}
.space-depth-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:30px}
.space-depth-metrics span{min-width:0;padding:15px 14px;border:1px solid rgba(29,36,60,.07);border-radius:18px;background:rgba(255,255,255,.7);box-shadow:0 12px 28px rgba(25,31,55,.035)}
.space-depth-metrics b{display:block;color:#171b25;font-size:21px;letter-spacing:-.045em}
.space-depth-metrics small{display:block;margin-top:5px;color:#8a909d;font-size:9px}
.space-depth-stage{position:relative;min-height:450px;perspective:1400px;transform-style:preserve-3d;border:1px solid rgba(108,122,201,.18);border-radius:30px;background:linear-gradient(160deg,#12172f 0%,#1b2347 48%,#11162d 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 28px 68px rgba(21,28,62,.24);overflow:hidden;isolation:isolate}
.space-depth-stage:before{content:"";position:absolute;inset:0;background:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:32px 32px;opacity:.35;mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 82%,transparent);z-index:-2}
.space-depth-stage__glow{position:absolute;border-radius:50%;filter:blur(36px);opacity:.58;z-index:-1}
.space-depth-stage__glow.glow-one{width:260px;height:260px;left:18%;top:14%;background:rgba(111,128,255,.26)}
.space-depth-stage__glow.glow-two{width:240px;height:240px;right:4%;bottom:4%;background:rgba(133,89,244,.22)}
.space-depth-stage__backplane{position:absolute;inset:40px 58px auto 58px;min-height:112px;padding:22px 24px;border:1px solid rgba(185,194,255,.12);border-radius:25px;background:rgba(29,36,78,.48);color:#e8ebff;transform:translateZ(-120px) scale(1.08);filter:blur(.45px);opacity:.58;box-shadow:0 24px 55px rgba(3,6,19,.2)}
.space-depth-stage__backplane span{display:block;color:#8f9bcc;font-size:8px;font-weight:800;letter-spacing:.18em}
.space-depth-stage__backplane b{display:block;margin-top:12px;font-size:23px;letter-spacing:-.035em}
.space-depth-stage__backplane small{display:block;margin-top:8px;color:#9ea8d1;font-size:9px;letter-spacing:.08em}
.depth-literature-shelf,.depth-outcome-shelf{position:absolute;border:1px solid rgba(188,196,255,.18);border-radius:24px;background:linear-gradient(145deg,rgba(41,49,96,.9),rgba(22,28,62,.82));box-shadow:0 28px 70px rgba(3,6,20,.34);backdrop-filter:blur(16px);transform-style:preserve-3d}
.depth-literature-shelf{left:34px;top:118px;width:62%;min-height:278px;padding:19px;transform:translateZ(78px) rotateY(-5deg) rotateX(1deg)}
.depth-outcome-shelf{right:26px;bottom:30px;width:42%;min-height:218px;padding:17px;transform:translateZ(128px) rotateY(7deg) rotateX(-1deg)}
.depth-literature-shelf header,.depth-outcome-shelf header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px;color:#fff}
.depth-literature-shelf header small,.depth-outcome-shelf header small{display:block;color:#98a3d2;font-size:7px;font-weight:800;letter-spacing:.15em}
.depth-literature-shelf header h3,.depth-outcome-shelf header h3{margin:6px 0 0;font-size:15px;letter-spacing:-.03em}
.depth-literature-shelf header>span,.depth-outcome-shelf header>span{min-width:32px;height:32px;display:grid;place-items:center;border-radius:11px;background:rgba(124,139,255,.13);color:#cfd5ff;font-size:11px;font-weight:800}
.depth-paper-stack,.depth-outcome-stack{display:grid;gap:9px;transform-style:preserve-3d}
.space-literature-tile{position:relative;min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:13px;padding:15px;border:1px solid rgba(28,35,58,.07);border-radius:18px;background:linear-gradient(145deg,#fff,#fafbff);box-shadow:0 12px 28px rgba(28,35,58,.045)}
.space-literature-tile.is-compact{padding:11px 12px;border-color:rgba(185,194,255,.12);background:rgba(26,33,72,.86);box-shadow:0 16px 34px rgba(2,5,18,.22);transform:translate3d(calc(var(--tile-index) * 5px),0,calc(var(--tile-index) * 18px))}
.space-literature-tile__mark{width:39px;height:46px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,#eef1ff,#f8f7ff);color:#596cef}
.space-literature-tile.is-compact .space-literature-tile__mark{width:34px;height:40px;background:rgba(126,141,255,.14);color:#c8d0ff}
.space-literature-tile__mark svg{width:17px;height:17px}
.space-literature-tile small{display:block;color:#9a9fac;font-size:8px;font-weight:780;letter-spacing:.08em}
.space-literature-tile b{display:block;margin-top:5px;overflow:hidden;color:#20242e;font-size:12px;line-height:1.42;text-overflow:ellipsis;white-space:nowrap}
.space-literature-tile em{display:block;margin-top:5px;overflow:hidden;color:#858b97;font-size:9px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.space-literature-tile.is-compact b{color:#fff;font-size:10px}
.space-literature-tile.is-compact em{color:#9fa8cf;font-size:8px}
.space-artifact-tile{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;padding:15px;border:1px solid rgba(30,37,59,.07);border-radius:18px;background:linear-gradient(145deg,#fff,#fbfaff);box-shadow:0 12px 28px rgba(28,35,58,.045)}
.space-artifact-tile>span{width:39px;height:39px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#f0efff,#f8f7ff);color:#6c5ee9}
.space-artifact-tile>span svg{width:17px;height:17px}
.space-artifact-tile small{display:block;color:#989eaa;font-size:8px;font-weight:780;letter-spacing:.06em}
.space-artifact-tile b{display:block;margin-top:5px;color:#1f232d;font-size:12px;line-height:1.4}
.space-artifact-tile p{display:-webkit-box;margin:6px 0 0;overflow:hidden;color:#7c838f;font-size:9px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.space-artifact-tile em{display:block;margin-top:7px;color:#9aa0aa;font-size:8px;font-style:normal}
.space-artifact-tile.is-compact{padding:10px 11px;border-color:rgba(188,196,255,.12);background:rgba(31,37,78,.86);box-shadow:0 16px 34px rgba(2,5,18,.2);transform:translate3d(calc(var(--tile-index) * -4px),0,calc(var(--tile-index) * 20px))}
.space-artifact-tile.is-compact>span{width:32px;height:32px;background:rgba(136,111,255,.15);color:#d8d0ff}
.space-artifact-tile.is-compact b{color:#fff;font-size:10px}
.space-artifact-tile.is-compact p{color:#a6aed0;font-size:8px;-webkit-line-clamp:1}
.space-artifact-tile.is-compact em{display:none}
.depth-empty{min-height:118px;display:flex;flex-direction:column;justify-content:center;padding:18px;border:1px dashed rgba(174,185,245,.18);border-radius:16px;color:#fff;background:rgba(17,23,55,.42)}
.depth-empty b{font-size:11px}
.depth-empty span{margin-top:7px;color:#9ea8ce;font-size:8px;line-height:1.55}
.space-depth-stage__floor{position:absolute;left:8%;right:8%;bottom:-26px;height:100px;transform:rotateX(68deg);transform-origin:center bottom;border-top:1px solid rgba(177,188,255,.12);background:linear-gradient(to bottom,rgba(115,130,255,.06),transparent)}
.space-depth-stage__floor i{position:absolute;top:0;bottom:0;width:1px;background:rgba(177,188,255,.08)}
.space-depth-stage__floor i:nth-child(1){left:25%}.space-depth-stage__floor i:nth-child(2){left:50%}.space-depth-stage__floor i:nth-child(3){left:75%}
.space-knowledge{margin-top:58px}
.space-knowledge__head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:20px;padding:0 4px}
.space-knowledge__head h2{margin:8px 0 0;font-size:34px;letter-spacing:-.06em}
.space-knowledge__head p{margin:9px 0 0;color:#7c8391;font-size:13px}
.space-knowledge-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(360px,.7fr);gap:18px;align-items:start}
.space-literature-vault,.space-outcome-vault{border:1px solid rgba(28,35,56,.075);border-radius:28px;background:rgba(255,255,255,.92);box-shadow:0 20px 58px rgba(27,33,51,.065);overflow:hidden}
.space-literature-vault>header,.space-outcome-vault>header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px 25px 20px;border-bottom:1px solid rgba(27,34,54,.06)}
.space-literature-vault header small,.space-outcome-vault header small{display:block;color:#8c93a1;font-size:8px;font-weight:800;letter-spacing:.15em}
.space-literature-vault header h3,.space-outcome-vault header h3{margin:8px 0 0;font-size:20px;letter-spacing:-.045em}
.space-literature-vault header p,.space-outcome-vault header p{margin:8px 0 0;color:#8a909c;font-size:11px}
.space-literature-vault header>span,.space-outcome-vault header>span{min-width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#f0f2ff;color:#5c6deb;font-size:13px;font-weight:800}
.space-literature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:18px}
.space-artifact-gallery{display:grid;gap:10px;padding:18px}
.space-vault-empty{grid-column:1/-1;min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:36px;text-align:center;color:#7f8694}
.space-vault-empty>svg{width:30px;height:30px;color:#6575ec}
.space-vault-empty h3{margin:15px 0 0;color:#20242e;font-size:17px}
.space-vault-empty p{max-width:460px;margin:9px 0 0;font-size:11px;line-height:1.7}
.space-vault-empty .button{margin-top:18px}
.space-vault-empty.compact{min-height:240px}
.space-dock--secondary{margin-top:42px}
.space-progress-zone{margin-top:44px;border:1px solid rgba(28,35,56,.07);border-radius:26px;background:rgba(255,255,255,.82);box-shadow:0 16px 46px rgba(27,33,51,.05);overflow:hidden}
.space-progress-zone__head{display:flex;align-items:flex-end;justify-content:space-between;gap:26px;padding:23px 25px;border-bottom:1px solid rgba(27,34,54,.06)}
.space-progress-zone__head h2{margin:8px 0 0;font-size:24px;letter-spacing:-.05em}
.space-progress-zone__head p{margin:8px 0 0;color:#858c99;font-size:11px}
.space-progress-zone__head>a{display:flex;align-items:center;gap:7px;color:#4e62df;font-size:11px;font-weight:720}
.space-progress-list .space-list-row{min-height:72px;padding-inline:24px}
@media(max-width:1240px){.space-depth-hero{grid-template-columns:1fr;min-height:auto}.space-depth-stage{min-height:460px}.space-knowledge-grid{grid-template-columns:1fr}.space-outcome-vault{max-width:none}}
@media(max-width:860px){.space-depth-main{width:calc(100% - 30px);padding-top:24px}.space-depth-hero{padding:18px;border-radius:28px}.space-depth-copy{padding:24px 10px 16px}.space-depth-copy h1{font-size:clamp(40px,11vw,58px)}.space-depth-metrics{grid-template-columns:1fr}.space-depth-stage{min-height:520px}.depth-literature-shelf{left:18px;top:104px;width:78%;transform:translateZ(40px) rotateY(-3deg)}.depth-outcome-shelf{right:16px;bottom:24px;width:58%;transform:translateZ(70px) rotateY(4deg)}.space-knowledge__head,.space-progress-zone__head{align-items:flex-start;flex-direction:column}.space-literature-grid{grid-template-columns:1fr}}
@media(max-width:620px){.space-depth-copy .space-hero-actions{align-items:stretch;flex-direction:column}.space-depth-copy .space-hero-actions .button{justify-content:center}.space-depth-stage{min-height:590px;perspective:none}.space-depth-stage__backplane{inset:28px 22px auto;transform:none}.depth-literature-shelf{left:12px;right:12px;top:124px;width:auto;transform:none}.depth-outcome-shelf{left:34px;right:12px;bottom:18px;width:auto;transform:none}.space-knowledge{margin-top:42px}.space-knowledge__head h2{font-size:28px}.space-literature-vault>header,.space-outcome-vault>header{padding:21px 18px}.space-literature-grid,.space-artifact-gallery{padding:14px}.space-literature-tile{padding:13px}.space-depth-metrics span{padding:13px}}

/* v3.3 independent-tool architecture: research-space overview is a bounded window, not an unbounded database view. */
.space-literature-vault,.space-outcome-vault{display:grid;grid-template-rows:auto minmax(0,1fr);height:520px;min-height:520px;align-self:stretch}
.space-vault-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0;background:linear-gradient(180deg,rgba(250,251,255,.35),rgba(255,255,255,.96))}
.space-vault-scroll::-webkit-scrollbar{width:9px}.space-vault-scroll::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:rgba(112,123,160,.22);background-clip:padding-box}.space-vault-scroll::-webkit-scrollbar-track{background:transparent}
.space-literature-grid,.space-artifact-gallery{align-content:start}
.space-literature-vault>header,.space-outcome-vault>header{position:relative;z-index:2;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
@media(max-width:1240px){.space-literature-vault,.space-outcome-vault{height:500px;min-height:500px}}
@media(max-width:620px){.space-literature-vault,.space-outcome-vault{height:440px;min-height:440px}}
/* ===== END ui-research-depth-r23.css ===== */

/* ===== BEGIN ui-space-content-management-r24.css ===== */
/* R13.4.6 · Research-space content workbench
   Adds explicit editing, organization and export controls without changing
   the research-space visual hierarchy. */
.space-knowledge-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.space-knowledge-actions .button{min-height:40px;padding-inline:15px}
.space-tile-copy{min-width:0}
.space-literature-tile:not(.is-compact),.space-artifact-tile:not(.is-compact){grid-template-columns:auto minmax(0,1fr) auto}
.space-tile-actions{align-self:center;display:flex;align-items:center;gap:5px;opacity:.2;transform:translateX(4px);transition:opacity .18s ease,transform .18s ease}
.space-literature-tile:hover .space-tile-actions,.space-literature-tile:focus-within .space-tile-actions,.space-artifact-tile:hover .space-tile-actions,.space-artifact-tile:focus-within .space-tile-actions{opacity:1;transform:none}
.space-tile-actions button{width:30px;height:30px;display:grid;place-items:center;border:1px solid rgba(28,35,56,.08);border-radius:9px;background:rgba(255,255,255,.9);color:#677080;cursor:pointer;transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease}
.space-tile-actions button:hover{border-color:rgba(76,94,220,.2);background:#f4f6ff;color:#4e62df;transform:translateY(-1px)}
.space-tile-actions button.danger:hover{border-color:rgba(205,77,77,.18);background:#fff3f3;color:#c64f4f}
.space-tile-actions svg{width:14px;height:14px}

.site-modal.space-content-modal{width:min(1080px,calc(100vw - 34px));max-height:min(880px,calc(100vh - 34px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}
.space-content-modal>header{padding:25px 28px 22px}
.space-content-modal>footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 28px}
.space-content-manager{min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);background:#f8f9fc}
.space-content-tabs{display:flex;gap:5px;padding:11px 28px 0;border-top:1px solid rgba(27,34,54,.055);background:#fff}
.space-content-tabs button{position:relative;min-height:44px;display:flex;align-items:center;gap:8px;padding:0 15px;border:0;border-radius:12px 12px 0 0;background:transparent;color:#777f8e;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.space-content-tabs button:after{content:"";position:absolute;left:15px;right:15px;bottom:0;height:2px;border-radius:999px;background:#5f6fee;opacity:0;transform:scaleX(.3);transition:.18s ease}
.space-content-tabs button.active{color:#232834;background:linear-gradient(to bottom,#f7f8ff,rgba(247,248,255,0))}
.space-content-tabs button.active:after{opacity:1;transform:scaleX(1)}
.space-content-tabs button span{min-width:25px;height:22px;display:grid;place-items:center;border-radius:999px;background:#eef1f7;color:#6d7481;font-size:9px}
.space-content-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 28px;border-top:1px solid rgba(27,34,54,.055);border-bottom:1px solid rgba(27,34,54,.055);background:#fff}
.space-content-toolbar>label{min-width:260px;max-width:500px;flex:1;display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid #e0e4ec;border-radius:12px;background:#fbfcfe;color:#89909c}
.space-content-toolbar>label svg{width:16px;height:16px}
.space-content-toolbar input{width:100%;height:40px;border:0;background:transparent;color:#252a34;font:inherit;font-size:12px;outline:0}
.space-content-toolbar>div{display:flex;align-items:center;justify-content:flex-end;gap:9px}
.button.small{min-height:38px;padding:0 13px;font-size:11px}
.space-content-list{min-height:0;overflow:auto;padding:12px 18px 18px}
.space-manager-row{min-height:72px;display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 12px;border:1px solid transparent;border-radius:15px;background:#fff;box-shadow:0 4px 16px rgba(27,33,51,.025);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.space-manager-row+.space-manager-row{margin-top:8px}
.space-manager-row:hover{border-color:rgba(83,99,210,.12);box-shadow:0 10px 28px rgba(27,33,51,.055);transform:translateY(-1px)}
.space-manager-check{width:22px;height:22px;display:grid;place-items:center;cursor:pointer}
.space-manager-check input{position:absolute;opacity:0;pointer-events:none}
.space-manager-check span{width:17px;height:17px;border:1px solid #ccd2de;border-radius:5px;background:#fff}
.space-manager-check input:checked+span{border-color:#6172ed;background:#6172ed;box-shadow:inset 0 0 0 4px #fff}
.space-manager-check.placeholder{display:block}
.space-manager-icon{width:39px;height:43px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,#eef1ff,#fafaff);color:#5b6cf0}
.space-manager-icon.artifact{height:39px;background:linear-gradient(145deg,#f0efff,#faf8ff);color:#6d5dea}
.space-manager-icon svg{width:17px;height:17px}
.space-manager-copy{min-width:0}
.space-manager-copy b{display:block;overflow:hidden;color:#242832;font-size:12px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}
.space-manager-copy small{display:block;margin-top:5px;overflow:hidden;color:#8b929e;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.space-manager-copy p{display:-webkit-box;margin:6px 0 0;overflow:hidden;color:#7c838f;font-size:10px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.space-manager-links{display:flex;align-items:center;justify-content:flex-end;gap:3px;white-space:nowrap}
.space-manager-links a,.space-manager-links button{padding:7px 8px;border:0;border-radius:8px;background:transparent;color:#5968d9;font:inherit;font-size:10px;font-weight:680;cursor:pointer;text-decoration:none}
.space-manager-links a:hover,.space-manager-links button:hover{background:#f1f3ff}
.space-manager-links .danger{color:#c65353}
.space-manager-links .danger:hover{background:#fff1f1}
.space-manager-empty{min-height:340px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:34px;text-align:center;color:#7f8693}
.space-manager-empty>svg{width:32px;height:32px;color:#6474eb}
.space-manager-empty b{margin-top:14px;color:#252a34;font-size:16px}
.space-manager-empty p{max-width:420px;margin:8px 0 0;font-size:11px;line-height:1.65}
.space-manager-empty .button{margin-top:17px}

.site-modal.space-item-modal{width:min(760px,calc(100vw - 34px));max-height:min(880px,calc(100vh - 34px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}
.space-item-modal>header{padding:25px 28px 22px}
.space-item-fields{min-height:0;display:grid;gap:17px;overflow:auto;padding:22px 28px 26px;border-top:1px solid rgba(27,34,54,.055);background:#fbfcfe}
.space-item-fields label{display:grid;gap:8px}
.space-item-fields label>span{color:#5d6471;font-size:11px;font-weight:720}
.space-item-fields input,.space-item-fields textarea,.space-item-fields select{width:100%;padding:12px 14px;border:1px solid #dfe3eb;border-radius:12px;background:#fff;color:#242832;font:inherit;font-size:12px;line-height:1.55;outline:0;resize:vertical}
.space-item-fields input:focus,.space-item-fields textarea:focus,.space-item-fields select:focus{border-color:#8e9cf0;box-shadow:0 0 0 4px rgba(91,108,238,.085)}
.space-item-fields textarea{min-height:120px}
.space-file-field{padding:16px;border:1px dashed #ccd4ee;border-radius:14px;background:#f7f8ff}
.space-file-field input{padding:9px;background:#fff}
.space-file-field small{color:#8a919e;font-size:9px;line-height:1.55}
.space-item-modal>footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 28px}
.space-item-modal>footer>div{display:flex;align-items:center;gap:9px}

@media(max-width:860px){
  .space-knowledge-actions{width:100%;justify-content:flex-start}
  .space-content-toolbar{align-items:stretch;flex-direction:column}
  .space-content-toolbar>label{min-width:0;max-width:none;width:100%}
  .space-content-toolbar>div{justify-content:flex-start}
  .space-manager-row{grid-template-columns:auto auto minmax(0,1fr)}
  .space-manager-links{grid-column:2/-1;justify-content:flex-start;padding-top:3px}
}
@media(max-width:620px){
  .space-tile-actions{opacity:1;transform:none}
  .space-knowledge-actions{display:grid;grid-template-columns:1fr 1fr}
  .space-knowledge-actions .button:last-child{grid-column:1/-1}
  .space-content-modal>header,.space-item-modal>header{padding:21px 18px 18px}
  .space-content-tabs{padding-inline:14px}
  .space-content-toolbar{padding:12px 14px}
  .space-content-list{padding:10px}
  .space-content-modal>footer,.space-item-modal>footer{align-items:stretch;flex-direction:column;padding:14px 18px}
  .space-content-modal>footer .button,.space-item-modal>footer .button{justify-content:center}
  .space-item-fields{padding:18px}
  .space-item-modal>footer>div{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .space-manager-check.placeholder{display:none}
  .space-manager-row{grid-template-columns:auto minmax(0,1fr)}
  .space-manager-row .space-manager-check:not(.placeholder){grid-row:1/3}
  .space-manager-icon{display:none}
  .space-manager-links{grid-column:2;overflow:auto;justify-content:flex-start}
}
.space-vault-header-actions{display:flex;align-items:center;gap:8px}
.space-vault-header-actions>span{min-width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#f0f2ff;color:#5c6deb;font-size:13px;font-weight:800}
.space-vault-header-actions>button{min-height:34px;padding:0 10px;border:1px solid rgba(28,35,56,.08);border-radius:10px;background:#fff;color:#5968d9;font:inherit;font-size:10px;font-weight:700;cursor:pointer}
.space-vault-header-actions>button:hover{background:#f3f5ff;border-color:rgba(82,98,214,.16)}

/* R13.4.6 · Direct content workbench
   The manager is now a two-pane editor: the selected item is editable in place. */
.site-modal.space-content-workbench-modal{width:min(1240px,calc(100vw - 34px));max-height:min(900px,calc(100vh - 34px))}
.space-content-workbench-modal>header{padding:24px 28px 21px}
.space-content-workbench-modal>footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 28px}
.space-content-workbench-modal>footer>div{display:flex;align-items:center;gap:14px}
.space-content-workbench-modal>footer small{color:#8a919e;font-size:10px}
.space-content-workbench{min-height:0;display:grid;grid-template-columns:minmax(350px,42%) minmax(0,1fr);border-top:1px solid rgba(27,34,54,.055);background:#f5f7fb}
.space-content-browser{min-width:0;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);border-right:1px solid rgba(27,34,54,.07);background:#f8f9fc}
.space-content-workbench .space-content-tabs{border-top:0;padding-top:10px}
.space-content-workbench .space-content-toolbar{padding:13px 18px}
.space-content-workbench .space-content-toolbar>label{min-width:0}
.space-content-workbench .space-content-list{padding:10px 12px 16px}
.space-content-workbench .space-manager-row{grid-template-columns:auto auto minmax(0,1fr) auto;min-height:76px;padding:11px 12px;cursor:pointer}
.space-content-workbench .space-manager-row.selected{border-color:rgba(87,104,229,.25);background:linear-gradient(145deg,#f6f7ff,#fff);box-shadow:0 12px 28px rgba(45,58,138,.09)}
.space-manager-chevron{display:grid;place-items:center;color:#a2a8b3;transition:transform .16s ease,color .16s ease}
.space-manager-row.selected .space-manager-chevron{color:#5f70ec;transform:translateX(2px)}
.space-manager-chevron svg{width:15px;height:15px}
.space-content-editor{min-width:0;min-height:0;overflow:auto;background:linear-gradient(145deg,#fff,#fbfcff)}
.space-editor-empty{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px;text-align:center;color:#858c98}
.space-editor-empty>svg{width:38px;height:38px;color:#6879ed}
.space-editor-empty h3{margin:17px 0 6px;color:#252a34;font-size:18px}
.space-editor-empty p{max-width:360px;margin:0;font-size:11px;line-height:1.7}
.space-editor-form{min-height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.space-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 24px 18px;border-bottom:1px solid rgba(27,34,54,.055);background:rgba(255,255,255,.76);backdrop-filter:blur(12px)}
.space-editor-heading h3{margin:5px 0 5px;color:#202631;font-size:19px;letter-spacing:-.035em}
.space-editor-heading p{margin:0;color:#858d9a;font-size:10px;line-height:1.55}
.space-editor-fields{min-height:0;display:grid;align-content:start;gap:16px;padding:20px 24px 24px;overflow:auto}
.space-editor-fields label{display:grid;gap:8px}
.space-editor-fields label>span{color:#5d6572;font-size:10px;font-weight:750}
.space-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.55fr);gap:13px}
.space-editor-fields input,.space-editor-fields textarea,.space-editor-fields select{width:100%;padding:12px 13px;border:1px solid #dfe4ec;border-radius:12px;background:#fff;color:#242a35;font:inherit;font-size:12px;line-height:1.55;outline:0;resize:vertical}
.space-editor-fields input:focus,.space-editor-fields textarea:focus,.space-editor-fields select:focus{border-color:#8d9af0;box-shadow:0 0 0 4px rgba(91,108,238,.085)}
.space-editor-text textarea{min-height:280px}
.space-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 24px 18px;border-top:1px solid rgba(27,34,54,.06);background:#fff}
.space-editor-actions>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.button.danger{border-color:rgba(197,72,72,.16);background:#fff5f5;color:#bd4d4d}
.button.danger:hover{background:#ffeded}
.space-content-workbench-modal .space-manager-empty{min-height:280px}

@media(max-width:980px){
  .space-content-workbench{grid-template-columns:minmax(300px,40%) minmax(0,1fr)}
  .space-editor-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .site-modal.space-content-workbench-modal{width:min(100%,calc(100vw - 20px));max-height:calc(100vh - 20px)}
  .space-content-workbench{grid-template-columns:1fr;grid-template-rows:minmax(260px,42vh) minmax(360px,1fr)}
  .space-content-browser{border-right:0;border-bottom:1px solid rgba(27,34,54,.07)}
  .space-content-workbench-modal>header{padding:20px 18px 17px}
  .space-content-workbench-modal>footer{align-items:stretch;flex-direction:column;padding:13px 18px}
  .space-content-workbench-modal>footer>div{justify-content:space-between}
  .space-editor-heading{padding:18px}
  .space-editor-fields{padding:17px 18px 20px}
  .space-editor-actions{align-items:stretch;flex-direction:column;padding:13px 18px 16px}
  .space-editor-actions>div{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .space-editor-actions .button{justify-content:center}
  .space-editor-text textarea{min-height:220px}
}

/* R13.4.7 · selection and nested delete confirmation */
.space-manager-check{appearance:none;border:0;padding:0;background:transparent;position:relative;z-index:2}
.space-manager-check span{display:block;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease}
.space-manager-check:hover span{border-color:#8c98e8;transform:scale(1.04)}
.space-manager-check[aria-pressed="true"] span{border-color:#6172ed;background:#6172ed;box-shadow:inset 0 0 0 4px #fff,0 0 0 3px rgba(97,114,237,.12)}
.site-confirm-layer{position:fixed;inset:0;z-index:1400;display:grid;place-items:center;padding:24px;background:rgba(16,21,42,.28);backdrop-filter:blur(3px)}
.site-confirm-dialog{width:min(420px,calc(100vw - 32px));display:grid;grid-template-columns:auto minmax(0,1fr);gap:15px;padding:22px;border:1px solid rgba(222,226,237,.95);border-radius:20px;background:linear-gradient(145deg,#fff,#fbfcff);box-shadow:0 30px 90px rgba(18,25,59,.34)}
.site-confirm-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#eef1ff;color:#596bea}
.site-confirm-icon.danger{background:#fff0f0;color:#c65353}
.site-confirm-icon svg{width:20px;height:20px}
.site-confirm-dialog h3{margin:1px 0 7px;color:#202634;font-size:17px;letter-spacing:-.035em}
.site-confirm-dialog p{margin:0;color:#737c8b;font-size:12px;line-height:1.7}
.site-confirm-dialog footer{grid-column:1/-1;display:flex;justify-content:flex-end;gap:9px;margin-top:5px;padding:0;border:0}
.button.danger.solid{border-color:#c94f4f;background:#c94f4f;color:#fff}
.button.danger.solid:hover{background:#b84444}
@media(max-width:760px){.site-confirm-layer{padding:16px}.site-confirm-dialog{padding:19px}.site-confirm-dialog footer{display:grid;grid-template-columns:1fr 1fr}.site-confirm-dialog footer .button{justify-content:center}}
/* ===== END ui-space-content-management-r24.css ===== */

/* ===== BEGIN ui-release-overrides-v25.css ===== */
/* v3.4.24 compact accordion administration */
.admin-config-accordion{border:1px solid rgba(212,218,230,.92);border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(31,39,70,.045);overflow:hidden;margin:0}
.admin-config-accordion>summary{list-style:none;display:flex;align-items:center;gap:14px;min-height:74px;padding:15px 18px;cursor:pointer;user-select:none;background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)}
.admin-config-accordion>summary::-webkit-details-marker{display:none}
.admin-config-accordion>summary:hover{background:#f8f9ff}
.admin-config-accordion-copy{display:grid;gap:4px;min-width:0;flex:1}
.admin-config-accordion-copy b{font-size:15px;color:#20283c;line-height:1.25}
.admin-config-accordion-copy small{font-size:11px;color:#7d8799;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-config-accordion>summary em{font-style:normal;font-size:11px;font-weight:700;color:#687386;background:#f2f4f8;border-radius:999px;padding:5px 9px;white-space:nowrap}
.admin-config-accordion>summary i{width:10px;height:10px;border-right:2px solid #8c96aa;border-bottom:2px solid #8c96aa;transform:rotate(45deg);transition:transform .18s ease;margin-right:4px}
.admin-config-accordion[open]>summary i{transform:rotate(225deg);margin-top:7px}
.admin-config-accordion[open]>summary{border-bottom:1px solid #e8ebf2}
.admin-config-accordion-body{padding:14px;background:#fafbfe}
.admin-config-accordion-body>.admin-service-create,.admin-config-accordion-body>.admin-provider-config-card,.admin-config-accordion-body>.admin-model-service{margin:0;box-shadow:none;border:0;border-radius:14px;background:#fff}
.admin-config-accordion-body .admin-form-title,.admin-config-accordion-body .admin-provider-card-top,.admin-config-accordion-body .admin-model-service-head{display:none}
.admin-service-onboarding,.admin-provider-config-list,.admin-model-service-list{gap:12px!important}
@media(max-width:900px){.admin-config-accordion>summary{padding:13px 14px;min-height:66px}.admin-config-accordion-copy small{white-space:normal}.admin-config-accordion>summary em{display:none}.admin-config-accordion-body{padding:10px}}
/* v3.5.0 unified research-space lifecycle */
.spaces-main>zhiyan-tool-hero{display:block;margin-bottom:24px}.spaces-heading--compact{margin-top:0}.space-filter-tabs{display:flex;gap:8px;margin:0 0 22px;padding:6px;border:1px solid #e5e8f0;border-radius:16px;background:#fff;width:max-content}.space-filter-tabs button{height:38px;padding:0 15px;border:0;border-radius:11px;background:transparent;color:#697388;font:700 12px var(--zy-wb-font,"Microsoft YaHei",sans-serif);cursor:pointer}.space-filter-tabs button.active{background:#eef0ff;color:#5058db;box-shadow:inset 0 0 0 1px #d9ddff}.space-filter-tabs b{margin-left:6px}.research-space-card__top-actions{display:flex;align-items:center;gap:8px}.research-space-card .zy-project-menu{z-index:4}.research-space-card .zy-project-menu>button{width:32px;height:32px}.research-space-card:has(.zy-project-menu-panel:not([hidden])){z-index:20}.space-hero-actions .zy-project-menu>button{border-color:rgba(255,255,255,.23);background:rgba(255,255,255,.1);color:#fff}
/* ===== END ui-release-overrides-v25.css ===== */

/* ===== BEGIN ui-account-billing-v26.css ===== */
/* Account database connections and complete compute-ledger UI. */
.literature-connections-card{
  margin:20px 0 0;padding:26px 28px;border:1px solid #e2e6f1;border-radius:24px;
  background:rgba(255,255,255,.96);box-shadow:0 18px 54px rgba(31,42,90,.06)
}
.literature-connections-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid #eceff5}
.literature-connections-head h2{margin:6px 0 7px;font-size:27px;letter-spacing:-.05em;color:#202640}
.literature-connections-head p{max-width:760px;margin:0;color:#737d92;font-size:13px;line-height:1.7}
.database-count{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:7px 11px;border-radius:999px;background:#eef8f1;color:#2b9660;font-size:11px;font-weight:760}
.literature-source-list{display:grid;gap:12px;padding-top:18px}
.literature-source-item{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(360px,1.2fr);gap:18px;align-items:start;padding:18px;border:1px solid #e6e9f2;border-radius:17px;background:#fbfcff}
.literature-source-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.literature-source-summary h3{margin:0 0 6px;color:#2a3247;font-size:17px;letter-spacing:-.025em}
.literature-source-summary p{margin:0;color:#8590a4;font-size:11px;line-height:1.55}
.literature-source-meta{display:flex;flex-wrap:wrap;gap:8px 14px;grid-column:1;color:#7b8598;font-size:10px}
.literature-source-form{grid-column:2;grid-row:1/span 2;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:11px 12px;padding:14px;border:1px solid #e1e5f0;border-radius:14px;background:#fff}
.literature-source-form label{display:grid;gap:6px;min-width:0}.literature-source-form label span{color:#5f697d;font-size:10px;font-weight:760}
.literature-source-form input,.literature-source-form select{width:100%;min-width:0;padding:10px 11px;border:1px solid #dde2ec;border-radius:10px;background:#fff;color:#344058;outline:0}
.literature-source-form input:focus,.literature-source-form select:focus{border-color:#6c79ef;box-shadow:0 0 0 4px rgba(92,105,244,.1)}
.literature-source-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.literature-platform-managed{grid-column:2;grid-row:1/span 2;display:flex;gap:11px;align-items:flex-start;padding:15px;border:1px solid #e3e8f3;border-radius:14px;background:#fff;color:#657189}
.literature-platform-managed>.icon{color:#5f6fe5;flex:0 0 auto}.literature-platform-managed div{display:grid;gap:4px}
.literature-platform-managed b{color:#35405a;font-size:12px}.literature-platform-managed span{font-size:11px;line-height:1.6}
.account-usage-summary{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);gap:16px;margin:20px 0 0;padding:22px;border:1px solid #e3e7f0;border-radius:22px;background:#fff;box-shadow:0 16px 44px rgba(31,42,90,.05)}
.account-usage-main{min-width:0}.account-usage-summary .usage-metrics{margin-top:15px}.account-usage-summary .usage-chart{margin-top:14px}
.account-tool-usage{padding:15px;border:1px solid #e8ebf2;border-radius:15px;background:#fafbfe}.account-tool-usage h3{margin:0 0 11px;color:#30394f;font-size:13px}
.account-tool-usage-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(72px,.6fr) 42px;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #edf0f5}.account-tool-usage-row:last-child{border-bottom:0}
.account-tool-usage-row>div{display:grid;gap:2px}.account-tool-usage-row b{font-size:11px;color:#424b5f}.account-tool-usage-row span{font-size:9px;color:#8b94a3}.account-tool-usage-row i{height:5px;overflow:hidden;border-radius:999px;background:#e8ebf5}.account-tool-usage-row i span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#5e6ff0,#8f7bf7)}.account-tool-usage-row strong{text-align:right;color:#606c84;font-size:10px}
.account-ledger-full{margin-top:16px;min-height:0;padding:22px 24px}.account-ledger-full .card-top{align-items:center}.account-ledger-full .compute-ledger-list{margin-top:12px}
.compute-ledger-modal{width:min(920px,calc(100vw - 36px));max-height:min(86vh,900px);display:flex;flex-direction:column}
.compute-ledger-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px 22px 0}.compute-ledger-filters label{display:grid;gap:6px}.compute-ledger-filters label span{font-size:10px;font-weight:760;color:#5e687b}.compute-ledger-filters select{width:100%;padding:10px 11px;border:1px solid #dfe4ee;border-radius:10px;background:#fff;color:#35405a}
.compute-ledger-modal-summary{padding:12px 22px 8px;color:#778196;font-size:11px}
.compute-ledger-modal-list{min-height:240px;overflow:auto;padding:0 22px 12px}.compute-ledger-modal .compute-ledger-row{padding:14px 0}.ledger-modal-row em{color:#a0a7b4;font-size:9px;font-style:normal}.compute-ledger-modal footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:15px 22px;border-top:1px solid #e9edf4}.compute-ledger-modal footer span{margin-right:auto;color:#667186;font-size:11px}
.admin-empty.compact{padding:12px 0}.admin-empty.error{color:#bd4d58}
@media(max-width:980px){.literature-source-item{grid-template-columns:1fr}.literature-source-form,.literature-platform-managed{grid-column:1;grid-row:auto}.account-usage-summary{grid-template-columns:1fr}}
@media(max-width:680px){.literature-connections-card{padding:20px 16px;border-radius:20px}.literature-connections-head{display:grid}.literature-source-item{padding:14px}.literature-source-form{grid-template-columns:1fr}.account-usage-summary{padding:16px}.compute-ledger-filters{grid-template-columns:1fr}.compute-ledger-modal footer{flex-wrap:wrap}.compute-ledger-modal footer span{width:100%;margin:0 0 4px;text-align:center}}
/* ===== END ui-account-billing-v26.css ===== */

/* ===== BEGIN ui-home-promotion-r27.css ===== */
/* 智研网首页宣传区 r27
   仅作用于平台首页；全局页眉继续由 <zhiyan-site-header> 提供。 */

.home-promo-main {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 2%, rgba(112, 99, 235, .10), transparent 27%),
    radial-gradient(circle at 91% 4%, rgba(72, 182, 215, .10), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8f9fd 44%, #ffffff 100%);
}
.home-promo-main::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: .24;
  background-image:
    linear-gradient(rgba(88, 104, 145, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 104, 145, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 35%);
}
.home-promo-main > section,
.home-promo-main > .home-featured-tools,
.home-promo-main > .metric-strip,
.home-promo-main > .home-note { position: relative; z-index: 1; }

.home-promo-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(560px, 1.12fr);
  align-items: center;
  gap: clamp(42px, 6vw, 84px);
  width: min(1320px, calc(100% - 96px));
  min-height: 720px;
  margin: 0 auto;
  padding: 72px 0 78px;
}
.home-promo-copy { max-width: 610px; }
.home-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 31px;
  padding: 7px 12px;
  border: 1px solid rgba(83, 101, 238, .15);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 8px 24px rgba(41, 51, 90, .05);
  color: #5261c9;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .12em;
}
.home-promo-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2eaa7e;
  box-shadow: 0 0 0 5px rgba(46, 170, 126, .11);
}
.home-promo-copy h1 {
  max-width: 650px;
  margin: 24px 0 22px;
  color: #151b2b;
  font-size: clamp(52px, 5.3vw, 78px);
  font-weight: 820;
  line-height: 1.07;
  letter-spacing: -.075em;
}
.home-promo-copy h1 span {
  display: block;
  background: linear-gradient(104deg, #263a89 2%, #5266ef 45%, #806de5 86%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.home-promo-copy > p {
  max-width: 585px;
  margin: 0;
  color: #68758a;
  font-size: 16px;
  line-height: 1.9;
}
.home-promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.home-promo-actions .button.large { min-height: 48px; padding-inline: 21px; }
.home-promo-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 19px;
  margin-top: 28px;
  color: #6f7b8e;
  font-size: 11px;
  font-weight: 650;
}
.home-promo-trust span { display: inline-flex; align-items: center; gap: 7px; }
.home-promo-trust .icon { width: 15px; height: 15px; color: #5365ed; }

.home-demo-wrap { position: relative; perspective: 1500px; }
.home-demo-glow {
  position: absolute;
  inset: 8% 7% -5%;
  z-index: -1;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(83,101,238,.20), rgba(74,185,211,.13));
  filter: blur(70px);
}
.home-demo-window {
  min-height: 568px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 27px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 30px 78px rgba(40, 53, 91, .17);
  backdrop-filter: blur(18px);
  transform: rotateY(-2.3deg) rotateX(.8deg);
  transform-origin: 48% 50%;
}
.home-demo-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 52px;
  padding: 0 17px;
  border-bottom: 1px solid #e8ebf2;
  background: rgba(249,251,254,.92);
}
.home-demo-dots { display: flex; gap: 6px; }
.home-demo-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d7dce7; }
.home-demo-title { color: #748096; font-size: 10px; font-weight: 720; }
.home-demo-live { justify-self: end; display: flex; align-items: center; gap: 6px; color: #278c69; font-size: 9px; font-weight: 760; }
.home-demo-live::before { width: 6px; height: 6px; border-radius: 50%; background: #2eaa7e; content: ""; }
.home-demo-body { display: grid; grid-template-columns: 68px 1fr; min-height: 516px; }
.home-demo-rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 10px;
  border-right: 1px solid #e8ebf2;
  background: #f6f8fb;
}
.home-demo-rail span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #8b95a6;
}
.home-demo-rail span:first-child { color: #5364ec; background: #e9edff; }
.home-demo-rail .icon { width: 17px; height: 17px; }
.home-demo-rail .rail-spacer { flex: 1; }
.home-demo-canvas {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  min-width: 0;
  padding: 20px;
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
}
.home-demo-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.home-demo-heading h2 { margin: 0 0 4px; color: #1c2434; font-size: 17px; letter-spacing: -.035em; }
.home-demo-heading p { margin: 0; color: #8792a4; font-size: 10px; }
.home-demo-heading button {
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid #e0e5ef;
  border-radius: 9px;
  background: #fff;
  color: #4e5bd2;
  font-size: 9px;
  font-weight: 770;
}
.home-demo-query {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid rgba(83,101,238,.16);
  border-radius: 14px;
  background: #f7f9ff;
}
.home-demo-query > span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: #e6ebff;
  color: #5365ef;
}
.home-demo-query .icon { width: 16px; height: 16px; }
.home-demo-query strong { min-width: 0; overflow: hidden; color: #516077; font-size: 11px; font-weight: 680; text-overflow: ellipsis; white-space: nowrap; }
.home-demo-run {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: #18223a;
  color: #fff;
  font-size: 9px;
  font-weight: 760;
}
.home-demo-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 12px; min-height: 0; }
.home-demo-flow,
.home-demo-insight {
  min-width: 0;
  padding: 14px;
  border: 1px solid #e8ebf1;
  border-radius: 16px;
  background: rgba(255,255,255,.94);
}
.home-demo-label { margin-bottom: 10px; color: #7b8799; font-size: 8px; font-weight: 820; letter-spacing: .12em; }
.home-demo-steps { display: flex; flex-direction: column; gap: 7px; }
.home-demo-step {
  display: grid;
  grid-template-columns: 31px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 49px;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: inherit;
  text-align: left;
  transition: .22s ease;
}
.home-demo-step:hover { background: #f7f8fc; }
.home-demo-step.is-active {
  border-color: #dde3ff;
  background: #f3f5ff;
  box-shadow: 0 7px 17px rgba(83,101,238,.07);
}
.home-demo-step > span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  background: #eff2f7;
  color: #758197;
}
.home-demo-step.is-active > span { color: #fff; background: linear-gradient(135deg,#5265ef,#7c6be4); }
.home-demo-step .icon { width: 14px; height: 14px; }
.home-demo-step b { display: block; margin-bottom: 2px; color: #2a3345; font-size: 10px; }
.home-demo-step small { display: block; color: #8a95a6; font-size: 8px; }
.home-demo-step em { color: #98a1af; font-size: 8px; font-style: normal; }
.home-demo-step.is-active em { color: #278c69; font-weight: 760; }
.home-demo-insight { display: flex; flex-direction: column; }
.home-demo-chart {
  position: relative;
  height: 141px;
  overflow: hidden;
  border: 1px solid #edf0f5;
  border-radius: 12px;
  background:
    linear-gradient(rgba(93,109,151,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93,109,151,.07) 1px, transparent 1px),
    linear-gradient(180deg,#f8faff,#fff);
  background-size: 28px 28px, 28px 28px, auto;
}
.home-demo-chart svg { position: absolute; inset: 16px 9px 10px; width: calc(100% - 18px); height: calc(100% - 26px); }
.home-demo-insight h3 { margin: 11px 0 4px; color: #2d3647; font-size: 12px; }
.home-demo-insight > p { min-height: 31px; margin: 0; color: #7f8b9c; font-size: 9px; line-height: 1.65; }
.home-demo-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin-top: 10px; }
.home-demo-metric { padding: 8px; border: 1px solid #edf0f4; border-radius: 10px; background: #f8fafc; }
.home-demo-metric b { display: block; margin-bottom: 2px; color: #263149; font-size: 13px; }
.home-demo-metric span { color: #8b95a5; font-size: 8px; }
.home-demo-progress { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; color: #7a8799; font-size: 8px; }
.home-demo-progress > i { flex: 1; height: 4px; overflow: hidden; border-radius: 99px; background: #edf0f5; }
.home-demo-progress > i::after { display: block; width: var(--home-demo-progress, 20%); height: 100%; border-radius: inherit; background: linear-gradient(90deg,#2da77d,#54b8d4); content: ""; transition: width .35s ease; }
.home-demo-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.home-demo-shortcuts button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 29px;
  padding: 0 9px;
  border: 1px solid #e4e8f0;
  border-radius: 9px;
  background: #fff;
  color: #5d687b;
  font-size: 8px;
  font-weight: 690;
}
.home-demo-shortcuts button:hover { border-color: rgba(83,101,238,.30); color: #4d5edc; }
.home-demo-shortcuts .icon { width: 12px; height: 12px; }

.home-promo-section {
  width: min(1240px, calc(100% - 96px));
  margin: 0 auto;
  padding: 98px 0;
}
.home-promo-section-head { max-width: 780px; margin-bottom: 44px; }
.home-promo-kicker { display: block; margin-bottom: 12px; color: #5666e7; font-size: 10px; font-weight: 840; letter-spacing: .14em; }
.home-promo-section h2 {
  margin: 0 0 15px;
  color: #191f2e;
  font-size: clamp(36px, 4vw, 55px);
  line-height: 1.13;
  letter-spacing: -.055em;
}
.home-promo-section-head p { max-width: 710px; margin: 0; color: #707c8f; font-size: 15px; line-height: 1.85; }

.home-journey-layout { display: grid; grid-template-columns: minmax(310px, .78fr) minmax(0, 1.22fr); gap: 27px; align-items: stretch; }
.home-journey-nav { display: flex; flex-direction: column; gap: 9px; }
.home-journey-step {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 83px;
  padding: 14px 15px;
  border: 1px solid #e6e9f0;
  border-radius: 17px;
  background: rgba(255,255,255,.67);
  color: inherit;
  text-align: left;
  transition: .24s ease;
}
.home-journey-step:hover,
.home-journey-step.is-active {
  transform: translateX(4px);
  border-color: rgba(83,101,238,.25);
  background: #fff;
  box-shadow: 0 15px 34px rgba(37,48,85,.08);
}
.home-journey-step > b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #edf0f6;
  color: #737f91;
  font-size: 9px;
}
.home-journey-step.is-active > b { color: #fff; background: #5466ec; }
.home-journey-step strong { display: block; margin-bottom: 4px; color: #263043; font-size: 13px; }
.home-journey-step span { display: block; color: #7c8899; font-size: 10px; line-height: 1.55; }
.home-journey-step > .icon { width: 15px; height: 15px; color: #a0a8b7; }
.home-journey-step.is-active > .icon { color: #5364e7; }
.home-journey-stage {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  padding: 23px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 9%, rgba(116,131,255,.28), transparent 30%),
    linear-gradient(145deg,#17233d,#263d61);
  box-shadow: 0 26px 62px rgba(30,45,75,.20);
}
.home-journey-stage::before {
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle, rgba(94,111,255,.18), transparent 48%);
  content: "";
  animation: homeJourneyGlow 9s ease-in-out infinite;
}
@keyframes homeJourneyGlow { 50% { transform: translate(7%,6%) scale(1.05); } }
.home-journey-browser {
  position: relative;
  min-height: 464px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: #f7f9fc;
}
.home-journey-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 43px;
  padding: 0 14px;
  border-bottom: 1px solid #dfe4eb;
  background: #edf1f6;
}
.home-journey-browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #c8d0dc; }
.home-journey-browser-body { display: grid; grid-template-columns: 158px 1fr; min-height: 421px; }
.home-journey-sidebar { padding: 14px; border-right: 1px solid #e0e5ec; background: #f0f3f8; }
.home-journey-sidebar span,
.home-journey-result span {
  display: block;
  border-radius: 7px;
  background: linear-gradient(90deg,#e8ecf2,#f5f7fa,#e8ecf2);
  background-size: 200% 100%;
  animation: homeShimmer 2.2s linear infinite;
}
@keyframes homeShimmer { to { background-position: -200% 0; } }
.home-journey-sidebar span:first-child { height: 34px; margin-bottom: 13px; }
.home-journey-sidebar span:not(:first-child) { height: 25px; margin-bottom: 8px; }
.home-journey-content { padding: 20px; }
.home-journey-content-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.home-journey-content-head span:first-child { width: 38%; height: 22px; }
.home-journey-content-head span:last-child { width: 84px; height: 28px; }
.home-journey-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.home-journey-result { min-height: 103px; padding: 13px; border: 1px solid #e3e7ee; border-radius: 13px; background: #fff; }
.home-journey-result span:nth-child(1) { width: 68%; height: 10px; margin-bottom: 10px; }
.home-journey-result span:nth-child(2) { width: 100%; height: 7px; margin-bottom: 7px; }
.home-journey-result span:nth-child(3) { width: 83%; height: 7px; }
.home-journey-result span:nth-child(4) { width: 48%; height: 20px; margin-top: 14px; }
.home-journey-focus {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 6%;
  display: grid;
  grid-template-columns: 43px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 17px;
  background: rgba(29,43,70,.94);
  box-shadow: 0 18px 42px rgba(15,25,44,.27);
  color: #fff;
  backdrop-filter: blur(17px);
}
.home-journey-focus > span {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  background: linear-gradient(135deg,#5265ef,#7f6de5);
}
.home-journey-focus .icon { width: 18px; height: 18px; }
.home-journey-focus h3 { margin: 0 0 5px; font-size: 13px; }
.home-journey-focus p { margin: 0; color: #c5cfdd; font-size: 9px; line-height: 1.6; }
.home-journey-focus button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 9px;
  font-weight: 740;
}
.home-journey-focus button:hover { background: rgba(255,255,255,.14); }
.home-journey-progress { position: absolute; left: 7%; right: 7%; bottom: 2.7%; height: 3px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.13); }
.home-journey-progress i { display: block; width: var(--journey-progress,20%); height: 100%; border-radius: inherit; background: #90a0ff; transition: width .35s ease; }

.home-featured-tools.home-promo-featured {
  width: min(1240px, calc(100% - 96px));
  padding: 94px 0 70px;
  border-top: 1px solid rgba(226,230,239,.80);
}
.home-promo-featured .home-featured-head h2 { font-size: clamp(34px, 3.4vw, 48px); }

.home-promo-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.home-promo-pillar {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid #e5e8ef;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 17px 41px rgba(40,52,88,.07);
}
.home-promo-pillar::after {
  position: absolute;
  right: -65px;
  bottom: -75px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(83,101,238,.15),transparent 68%);
  content: "";
}
.home-promo-pillar > span { color: #5666e5; font-size: 9px; font-weight: 830; letter-spacing: .12em; }
.home-promo-pillar-graphic {
  position: absolute;
  top: 23px;
  right: 23px;
  width: 106px;
  height: 72px;
  padding: 10px;
  border: 1px solid #e6eaf0;
  border-radius: 15px;
  background: #f5f7fa;
  transform: rotate(3deg);
}
.home-promo-pillar-graphic i { display: block; height: 7px; margin-bottom: 7px; border-radius: 99px; background: #e0e5ed; }
.home-promo-pillar-graphic i:first-child { width: 64%; background: #cfd7ff; }
.home-promo-pillar-graphic i:nth-child(2) { width: 91%; }
.home-promo-pillar-graphic i:nth-child(3) { width: 48%; }
.home-promo-pillar-graphic i:nth-child(4) { width: 75%; }
.home-promo-pillar h3 { max-width: 235px; margin: 72px 0 13px; color: #222a3a; font-size: 22px; line-height: 1.24; letter-spacing: -.04em; }
.home-promo-pillar p { max-width: 280px; margin: 0; color: #748195; font-size: 12px; line-height: 1.78; }

.home-promo-cta {
  width: min(1240px, calc(100% - 96px));
  margin: 0 auto;
  padding: 32px 0 108px;
}
.home-promo-cta-inner {
  position: relative;
  overflow: hidden;
  padding: 68px 65px;
  border-radius: 31px;
  background: linear-gradient(135deg,#192741 0%,#29436c 50%,#3d50ad 100%);
  box-shadow: 0 27px 66px rgba(27,42,73,.23);
  color: #fff;
}
.home-promo-cta-inner::after {
  position: absolute;
  top: -175px;
  right: -100px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(255,255,255,.03), 0 0 0 116px rgba(255,255,255,.02);
  content: "";
}
.home-promo-cta h2 { position: relative; z-index: 1; max-width: 720px; margin: 0 0 14px; font-size: clamp(37px, 4vw, 55px); line-height: 1.09; letter-spacing: -.055em; }
.home-promo-cta p { position: relative; z-index: 1; max-width: 650px; margin: 0 0 25px; color: #c8d3e3; font-size: 14px; line-height: 1.75; }
.home-promo-cta .home-promo-actions { position: relative; z-index: 1; margin-top: 0; }
.home-promo-cta .button.ghost { border-color: transparent; background: #fff; }

.home-promo-reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.home-promo-reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .home-promo-hero { grid-template-columns: 1fr; width: min(900px, calc(100% - 64px)); padding-top: 64px; }
  .home-promo-copy { max-width: 760px; margin: 0 auto; text-align: center; }
  .home-promo-copy > p { margin-inline: auto; }
  .home-promo-actions,
  .home-promo-trust { justify-content: center; }
  .home-demo-window { max-width: 820px; margin: 0 auto; transform: none; }
  .home-journey-layout { grid-template-columns: 1fr; }
  .home-journey-nav { display: grid; grid-template-columns: repeat(2, 1fr); }
  .home-promo-pillars { grid-template-columns: 1fr; }
  .home-promo-pillar { min-height: 245px; }
  .home-promo-pillar h3 { margin-top: 55px; }
}

@media (max-width: 760px) {
  .home-promo-hero,
  .home-promo-section,
  .home-featured-tools.home-promo-featured,
  .home-promo-cta { width: calc(100% - 28px); }
  .home-promo-hero { min-height: auto; padding: 46px 0 54px; }
  .home-promo-copy h1 { font-size: 44px; letter-spacing: -.065em; }
  .home-promo-copy > p { font-size: 14px; }
  .home-promo-actions .button { width: 100%; }
  .home-demo-window { min-height: 505px; border-radius: 21px; }
  .home-demo-topbar { grid-template-columns: 1fr auto; }
  .home-demo-title { display: none; }
  .home-demo-body { grid-template-columns: 49px 1fr; min-height: 453px; }
  .home-demo-rail { padding: 12px 5px; }
  .home-demo-rail span { width: 37px; height: 37px; }
  .home-demo-canvas { padding: 12px; }
  .home-demo-heading button { display: none; }
  .home-demo-grid { grid-template-columns: 1fr; }
  .home-demo-insight { display: none; }
  .home-demo-query { grid-template-columns: auto 1fr; }
  .home-demo-query .home-demo-run { grid-column: 1 / -1; }
  .home-promo-section { padding: 76px 0; }
  .home-promo-section h2 { font-size: 37px; }
  .home-journey-nav { grid-template-columns: 1fr; }
  .home-journey-stage { min-height: 475px; padding: 11px; border-radius: 22px; }
  .home-journey-browser { min-height: 452px; }
  .home-journey-browser-body { grid-template-columns: 90px 1fr; min-height: 409px; }
  .home-journey-sidebar { padding: 9px; }
  .home-journey-content { padding: 11px; }
  .home-journey-results { grid-template-columns: 1fr; }
  .home-journey-result:nth-child(n+3) { display: none; }
  .home-journey-focus { left: 4%; right: 4%; bottom: 5%; grid-template-columns: 39px 1fr; }
  .home-journey-focus > span { width: 39px; height: 39px; }
  .home-journey-focus button { grid-column: 1 / -1; justify-content: center; }
  .home-journey-progress { left: 4%; right: 4%; bottom: 2.2%; }
  .home-promo-pillar { padding: 22px; }
  .home-promo-cta-inner { padding: 52px 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-journey-stage::before,
  .home-journey-sidebar span,
  .home-journey-result span { animation: none !important; }
  .home-promo-reveal { opacity: 1; transform: none; transition: none; }
}
.home-demo-runtime {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  color: #8a95a6;
  font-size: 8px;
  line-height: 29px;
}
@media (max-width: 760px) {
  .home-demo-runtime { width: 100%; margin-left: 0; line-height: 1.5; }
}

/* ==========================================================================
   r28 · 首页真实工具静态预览
   预览只展示预设研究内容；整块点击后进入对应真实工具。
   ========================================================================== */
.home-real-hero-preview {
  position: relative;
  display: block;
  min-height: 568px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 30px 78px rgba(40,53,91,.18);
  cursor: pointer;
  transform: rotateY(-1.4deg) rotateX(.45deg);
  transition: transform .22s ease, box-shadow .22s ease;
}
.home-real-hero-preview:hover,
.home-real-hero-preview:focus-visible {
  outline: 0;
  transform: rotateY(0) translateY(-3px);
  box-shadow: 0 36px 88px rgba(40,53,91,.23);
}
.home-real-preview-head {
  position: absolute;
  inset: 0 0 auto;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid #e7eaf1;
  background: rgba(249,251,254,.96);
  backdrop-filter: blur(14px);
}
.home-real-preview-head > span { display: inline-flex; align-items: center; gap: 7px; color: #6875d8; font-size: 9px; font-weight: 820; letter-spacing: .08em; }
.home-real-preview-head > span i { width: 7px; height: 7px; border-radius: 50%; background: #2fac7f; box-shadow: 0 0 0 4px rgba(47,172,127,.10); }
.home-real-preview-head b { color: #30394c; font-size: 10px; }
.home-real-preview-head em { display: inline-flex; align-items: center; gap: 6px; color: #4f5fdb; font-size: 9px; font-style: normal; font-weight: 790; }
.home-real-preview-head .icon { width: 14px; height: 14px; }
.home-real-hero-preview > .home-real-tool { min-height: 568px; padding-top: 48px; }

.home-real-tool {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 510px;
  overflow: hidden;
  background: #f7f9fc;
  color: #1a2233;
  font-family: Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  pointer-events: none;
}
.home-real-tool * { box-sizing: border-box; }
.home-real-tool__chrome {
  position: absolute;
  top: 48px;
  right: 0;
  left: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 34px;
  padding: 0 13px;
  border-bottom: 1px solid #e2e6ee;
  background: #f0f3f7;
}
.home-real-tool.is-compact .home-real-tool__chrome { top: 0; }
.home-real-tool__chrome > span { display: flex; gap: 5px; }
.home-real-tool__chrome i { width: 7px; height: 7px; border-radius: 50%; background: #cbd2de; }
.home-real-tool__chrome b { color: #667286; font-size: 9px; }
.home-real-tool__chrome em { justify-self: end; color: #9aa3b2; font-size: 7px; font-style: normal; font-weight: 780; letter-spacing: .08em; }
.home-real-tool > div:last-child { position: absolute; inset: 82px 0 0; }
.home-real-tool.is-compact > div:last-child { inset: 34px 0 0; }
.home-real-tool small { color: #8994a6; font-size: 8px; font-weight: 750; letter-spacing: .06em; }
.home-real-tool h3,.home-real-tool h4,.home-real-tool p { margin: 0; }
.home-real-tool svg { display: block; width: 100%; height: 100%; }

/* 文献检索 */
.real-lit-page { padding: 18px 20px 16px; background: linear-gradient(180deg,#fff,#f8f9fc); }
.real-lit-page > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.real-lit-page header h3 { margin-top: 3px; font-size: 18px; letter-spacing: -.04em; }
.real-status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; background: #edf8f2; color: #27815b; font-size: 8px; font-weight: 760; }
.real-status i { width: 6px; height: 6px; border-radius: 50%; background: #28a671; }
.real-search-box { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; min-height: 45px; padding: 0 9px 0 12px; border: 1px solid #dce2ec; border-radius: 13px; background: #fff; box-shadow: 0 7px 20px rgba(36,47,75,.05); }
.real-search-box > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #eef2ff; color: #5365eb; }
.real-search-box .icon { width: 13px; height: 13px; }
.real-search-box b { overflow: hidden; color: #384358; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.real-search-box em { padding: 8px 11px; border-radius: 9px; background: #171c29; color: #fff; font-size: 8px; font-style: normal; font-weight: 760; }
.real-lit-grid { display: grid; grid-template-columns: minmax(0,1fr) 150px; gap: 13px; margin-top: 13px; }
.real-lit-results,.real-side-card { border: 1px solid #e3e7ee; border-radius: 13px; background: #fff; }
.real-panel-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; padding: 0 12px; border-bottom: 1px solid #edf0f4; }
.real-panel-title b { font-size: 10px; }
.real-panel-title span { color: #8791a1; font-size: 7px; }
.real-lit-results article { display: grid; grid-template-columns: 13px 1fr; gap: 9px; padding: 10px 12px; border-bottom: 1px solid #eef0f4; }
.real-lit-results article:last-child { border-bottom: 0; }
.real-lit-results article > i { width: 11px; height: 11px; margin-top: 2px; border: 1px solid #cfd6e2; border-radius: 3px; }
.real-lit-results h4 { overflow: hidden; color: #263044; font-size: 9px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.real-lit-results p { display: -webkit-box; margin-top: 4px; overflow: hidden; color: #6f7b8d; font-size: 7px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.real-lit-results article span { display: block; margin-top: 5px; color: #5470d8; font-size: 6.5px; }
.real-lit-grid > aside { display: grid; align-content: start; gap: 10px; }
.real-side-card { padding: 12px; }
.real-side-card b { display: block; margin: 7px 0 5px; font-size: 12px; }
.real-side-card span { display: block; color: #7c8798; font-size: 7px; line-height: 1.55; }

/* 文献专题地图 */
.real-map-page { display: grid; grid-template-columns: 128px minmax(0,1fr) 150px; background: #f6f8fb; }
.real-map-sources,.real-map-evidence { padding: 16px 13px; background: #fff; }
.real-map-sources { border-right: 1px solid #e3e7ed; }
.real-map-sources b { display: block; margin: 5px 0 14px; font-size: 11px; }
.real-map-sources > span { display: block; margin-bottom: 6px; padding: 8px 9px; border-radius: 8px; color: #6f7a8c; font-size: 8px; }
.real-map-sources > span.is-active { background: #edf1ff; color: #5364df; font-weight: 770; }
.real-map-page > main { padding: 15px; }
.real-map-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.real-map-title h3 { margin-top: 3px; font-size: 14px; }
.real-map-title > span { padding: 6px 8px; border-radius: 999px; background: #eaf7f0; color: #2b8a63; font-size: 7px; font-weight: 770; }
.real-network { height: calc(100% - 45px); min-height: 300px; margin-top: 8px; border: 1px solid #e1e6ee; border-radius: 13px; background: radial-gradient(circle at 50% 48%,#f6f7ff,#fff 70%); }
.real-network .links { fill: none; stroke: #a6b1db; stroke-width: 2; }
.real-network .nodes { fill: #6673ec; }
.real-network .nodes circle:first-child { fill: #344bc7; filter: drop-shadow(0 4px 8px rgba(60,77,190,.28)); }
.real-network .labels { fill: #48546b; font-size: 11px; font-weight: 700; }
.real-map-evidence { border-left: 1px solid #e3e7ed; }
.real-map-evidence h4 { margin: 7px 0 10px; font-size: 14px; }
.real-map-evidence p { color: #667286; font-size: 8px; line-height: 1.65; }
.real-map-evidence > div { display: flex; align-items: baseline; justify-content: space-between; margin-top: 12px; padding: 9px; border-radius: 9px; background: #f5f7fb; }
.real-map-evidence > div b { font-size: 14px; }
.real-map-evidence > div span { color: #8993a4; font-size: 7px; }

/* BERTopic */
.real-ber-page { display: grid; grid-template-columns: 142px minmax(0,1fr); background: #f5f7fb; }
.real-ber-projects { display: flex; flex-direction: column; gap: 6px; padding: 14px 11px; border-right: 1px solid #e1e6ee; background: #fff; }
.real-ber-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.real-ber-brand > i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #5667ed; color: #fff; font-size: 10px; font-style: normal; font-weight: 800; }
.real-ber-brand span { display: grid; gap: 2px; }
.real-ber-brand b { font-size: 9px; }
.real-ber-brand small { font-size: 6px; }
.real-ber-projects > em { margin: 6px 5px 3px; color: #929baa; font-size: 7px; font-style: normal; font-weight: 770; }
.real-ber-projects > span { padding: 8px 9px; overflow: hidden; border-radius: 8px; color: #6e798c; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.real-ber-projects > span.is-active { background: #eef1ff; color: #4f60d8; font-weight: 760; }
.real-ber-projects > div:last-child { display: flex; align-items: center; gap: 6px; margin-top: auto; color: #738095; font-size: 7px; }
.real-ber-projects > div:last-child i { width: 6px; height: 6px; border-radius: 50%; background: #2daa7b; }
.real-ber-page > main { padding: 0 16px 14px; }
.real-ber-page nav { display: flex; gap: 17px; height: 39px; align-items: center; border-bottom: 1px solid #e2e6ed; }
.real-ber-page nav span { position: relative; color: #7b8698; font-size: 7px; }
.real-ber-page nav span.is-active { color: #4c5ed9; font-weight: 770; }
.real-ber-page nav span.is-active::after { position: absolute; right: 0; bottom: -13px; left: 0; height: 2px; border-radius: 4px; background: #5b6bed; content: ""; }
.real-ber-page header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 12px 0 10px; }
.real-ber-page header h3 { margin-top: 3px; font-size: 15px; }
.real-ber-page header > span { padding: 6px 8px; border-radius: 999px; background: #eaf8f1; color: #25835c; font-size: 7px; font-weight: 770; }
.real-ber-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; }
.real-ber-metrics > div { padding: 9px; border: 1px solid #e4e8ef; border-radius: 10px; background: #fff; }
.real-ber-metrics b { display: block; margin-bottom: 3px; font-size: 13px; }
.real-ber-metrics span { color: #8792a3; font-size: 6.5px; }
.real-ber-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 9px; margin-top: 9px; }
.real-ber-grid > section,.real-ber-grid > aside { overflow: hidden; border: 1px solid #e3e7ee; border-radius: 11px; background: #fff; }
.real-ber-grid article { display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 8px; padding: 9px 10px; border-bottom: 1px solid #edf0f4; }
.real-ber-grid article:last-child { border-bottom: 0; }
.real-ber-grid article em { display: grid; place-items: center; width: 28px; height: 24px; border-radius: 7px; background: #edf1ff; color: #5666df; font-size: 7px; font-style: normal; font-weight: 780; }
.real-ber-grid article b { display: block; overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.real-ber-grid article span { display: block; margin-top: 3px; overflow: hidden; color: #8a94a4; font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
.real-ber-grid article strong { color: #4e5ed2; font-size: 8px; }
.real-ber-bars { display: grid; gap: 8px; padding: 12px; }
.real-ber-bars > span { position: relative; display: block; width: var(--v); height: 15px; border-radius: 5px; background: linear-gradient(90deg,#5a6bed,#9a8cf5); }
.real-ber-bars i { position: absolute; left: 6px; top: 3px; color: #fff; font-size: 6px; font-style: normal; font-weight: 770; }

/* 多agent社会模拟 */
.real-social-page { display: grid; grid-template-columns: 135px minmax(0,1fr); background: #f5f7fb; }
.real-social-page > aside { display: flex; flex-direction: column; gap: 6px; padding: 15px 11px; border-right: 1px solid #e1e5ec; background: #151b34; color: #cbd2e7; }
.real-social-brand { margin-bottom: 12px; color: #fff; font-size: 10px; font-weight: 800; }
.real-social-page > aside span { padding: 8px 9px; border-radius: 8px; font-size: 7px; }
.real-social-page > aside span.is-active { background: rgba(111,127,255,.20); color: #fff; }
.real-social-page > main { padding: 15px 17px; }
.real-social-page header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.real-social-page header h3 { margin-top: 3px; font-size: 15px; }
.real-social-page header em { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 999px; background: #eaf8f1; color: #2b865f; font-size: 7px; font-style: normal; font-weight: 760; }
.real-social-page header em i { width: 6px; height: 6px; border-radius: 50%; background: #2eaa7e; }
.real-social-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin-top: 11px; }
.real-social-metrics > div { padding: 9px; border: 1px solid #e2e6ee; border-radius: 10px; background: #fff; }
.real-social-metrics b { display: block; margin-bottom: 3px; font-size: 13px; }
.real-social-metrics span { color: #8791a1; font-size: 6.5px; }
.real-world-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 9px; }
.real-world-grid article { padding: 10px; border: 1px solid #e1e5ed; border-radius: 10px; background: #fff; }
.real-world-grid span { display: block; color: #7d8798; font-size: 6.5px; }
.real-world-grid b { display: block; margin: 5px 0 8px; font-size: 8px; }
.real-world-grid i { display: block; width: 100%; height: 4px; overflow: hidden; border-radius: 99px; background: #edf0f5; }
.real-world-grid i::after { display: block; width: var(--w); height: 100%; border-radius: inherit; background: #6371ec; content: ""; }
.real-social-chart { position: relative; height: 145px; margin-top: 9px; overflow: hidden; border: 1px solid #e1e6ed; border-radius: 11px; background: #fff; }
.real-social-chart > div { position: absolute; top: 10px; left: 12px; z-index: 2; }
.real-social-chart > div b { display: block; margin-top: 3px; font-size: 8px; }
.real-social-chart svg { position: absolute; inset: 24px 9px 5px; width: calc(100% - 18px); height: calc(100% - 29px); }
.real-social-chart path { fill: none; stroke: #5b6beb; stroke-width: 3; }
.real-social-chart path.area { fill: rgba(91,107,235,.12); stroke: none; }

/* 科研绘图 */
.real-figure-page { display: grid; grid-template-columns: 125px minmax(0,1fr) 145px; background: #f6f8fb; }
.real-figure-data,.real-figure-style { padding: 14px 11px; background: #fff; }
.real-figure-data { border-right: 1px solid #e1e6ed; }
.real-figure-data b { display: block; margin: 5px 0 11px; overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.real-figure-data > span { display: block; margin-bottom: 5px; padding: 7px 8px; border-radius: 7px; color: #748094; font-size: 7px; }
.real-figure-data > span.is-active { background: #eef1ff; color: #5364de; font-weight: 770; }
.real-figure-data > div { margin-top: 13px; padding: 9px; border-radius: 9px; background: #f5f7fb; }
.real-figure-data em { display: block; color: #8b95a5; font-size: 6px; font-style: normal; }
.real-figure-data strong { display: block; margin-top: 4px; font-size: 8px; }
.real-figure-page > main { padding: 14px; }
.real-figure-page main header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.real-figure-page main h3 { margin-top: 3px; font-size: 13px; }
.real-figure-page main header > span { padding: 6px 8px; border-radius: 999px; background: #edf8f3; color: #27825c; font-size: 7px; font-weight: 760; }
.real-figure-canvas { position: relative; height: calc(100% - 44px); min-height: 310px; margin-top: 9px; padding: 10px; border: 1px solid #dde3ec; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 8px #f8f9fb; }
.real-figure-canvas .grid { fill: none; stroke: #e7eaf0; stroke-width: 1; }
.real-figure-canvas .bars { fill: #dfe3ff; }
.real-figure-canvas .line-a,.real-figure-canvas .line-b { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.real-figure-canvas .line-a { stroke: #5968ec; }
.real-figure-canvas .line-b { stroke: #a56ae3; }
.real-figure-canvas .dots { fill: #5968ec; }
.real-figure-legend { position: absolute; right: 20px; bottom: 18px; display: flex; gap: 11px; color: #707b8d; font-size: 6px; }
.real-figure-legend span { display: inline-flex; align-items: center; gap: 4px; }
.real-figure-legend i { width: 9px; height: 3px; border-radius: 3px; background: #5968ec; }
.real-figure-legend span:last-child i { background: #a56ae3; }
.real-figure-style { border-left: 1px solid #e1e6ed; }
.real-figure-style label { display: grid; gap: 3px; margin-top: 10px; padding-bottom: 8px; border-bottom: 1px solid #edf0f4; color: #8993a4; font-size: 6px; }
.real-figure-style label b { color: #3b4659; font-size: 8px; }
.real-style-swatches { display: flex; gap: 5px; margin-top: 13px; }
.real-style-swatches i { width: 17px; height: 17px; border-radius: 5px; background: #5968ec; }
.real-style-swatches i:nth-child(2) { background: #a56ae3; }
.real-style-swatches i:nth-child(3) { background: #4db4c8; }
.real-style-swatches i:nth-child(4) { background: #232a3b; }

/* 连续研究区：真实静态工具页面 */
.home-journey-stage {
  min-height: 535px;
  padding: 18px 18px 93px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.home-journey-stage:hover,.home-journey-stage:focus-visible { outline: 0; transform: translateY(-2px); box-shadow: 0 31px 72px rgba(30,45,75,.25); }
.home-journey-preview { position: relative; z-index: 1; height: 424px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: #f7f9fc; box-shadow: 0 15px 36px rgba(10,18,34,.17); }
.home-journey-preview .home-real-tool { min-height: 424px; }
.home-journey-focus { left: 5.5%; right: 5.5%; bottom: 5.5%; z-index: 3; grid-template-columns: 43px minmax(0,1fr) auto; }
.home-journey-open { display: inline-flex!important; align-items: center; gap: 7px; width: auto!important; height: 34px!important; padding: 0 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px!important; background: rgba(255,255,255,.08)!important; color: #fff!important; font-size: 9px!important; font-weight: 760; }
.home-journey-open .icon { width: 14px; height: 14px; }
.home-journey-progress { left: 5.5%; right: 5.5%; bottom: 2.6%; z-index: 4; }

/* 精选工具：整卡与明确按钮均可点击 */
.home-tool-open {
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.home-tool-open:hover { color: #2f43dc; }
.home-tool-card[data-home-tool-launch] { cursor: pointer; }

@media (max-width: 1120px) {
  .home-real-hero-preview { min-height: 560px; transform: none; }
  .home-real-preview-head { grid-template-columns: 1fr auto; }
  .home-real-preview-head b { display: none; }
  .home-journey-preview { height: 440px; }
}
@media (max-width: 760px) {
  .home-real-hero-preview { min-height: 500px; border-radius: 21px; }
  .home-real-preview-head { grid-template-columns: 1fr; padding-inline: 12px; }
  .home-real-preview-head em { display: none; }
  .home-real-hero-preview > .home-real-tool { min-height: 500px; }
  .home-real-tool__chrome { top: 48px; }
  .home-real-tool.is-compact .home-real-tool__chrome { top: 0; }
  .real-map-page { grid-template-columns: 92px 1fr; }
  .real-map-evidence { display: none; }
  .real-figure-page { grid-template-columns: 90px 1fr; }
  .real-figure-style { display: none; }
  .real-lit-grid { grid-template-columns: 1fr; }
  .real-lit-grid > aside { display: none; }
  .real-ber-page { grid-template-columns: 92px 1fr; }
  .real-ber-page nav span:nth-child(2),.real-ber-page nav span:nth-child(4) { display: none; }
  .real-social-page { grid-template-columns: 90px 1fr; }
  .home-journey-stage { min-height: 500px; padding: 11px 11px 103px; }
  .home-journey-preview { height: 380px; }
  .home-journey-preview .home-real-tool { min-height: 380px; }
  .home-journey-focus { left: 4%; right: 4%; bottom: 6%; grid-template-columns: 39px minmax(0,1fr); }
  .home-journey-open { grid-column: 1 / -1; justify-content: center; width: 100%!important; }
  .home-journey-progress { left: 4%; right: 4%; bottom: 2.6%; }
}

/* v3.6.8.8 — show featured tools before research infrastructure and normalize section rhythm. */
.home-featured-tools.home-promo-featured {
  padding: 62px 0 48px;
  border-top: 0;
}
.home-infrastructure-section {
  padding: 48px 0 72px;
  border-top: 1px solid rgba(226,230,239,.80);
}
.home-infrastructure-section .home-promo-section-head {
  margin-bottom: 38px;
}
.home-promo-cta {
  padding-top: 28px;
  padding-bottom: 96px;
}
@media (min-width:1241px) {
  .home-orbit-hero { padding-bottom: 30px; }
}
@media (max-width:760px) {
  .home-featured-tools.home-promo-featured { padding: 46px 0 36px; }
  .home-infrastructure-section { padding: 38px 0 54px; }
  .home-infrastructure-section .home-promo-section-head { margin-bottom: 28px; }
  .home-promo-cta { padding-top: 18px; padding-bottom: 68px; }
}


/* v3.6.8.9 — remove stacked whitespace between hero and featured tools. */
.home-featured-tools.home-promo-featured{
  padding:38px 0 46px;
}
@media (max-width:760px){
  .home-featured-tools.home-promo-featured{padding:30px 0 34px}
}
/* ===== END ui-home-promotion-r27.css ===== */

/* ===== BEGIN ui-integrated-r29.css ===== */


/* r28 — homepage orbit hero integrated from the approved standalone composition. */
.home-promo-main{background:radial-gradient(circle at 13% 12%,rgba(90,99,247,.055),transparent 23%),radial-gradient(circle at 87% 10%,rgba(71,216,203,.045),transparent 22%),#fff}
.home-orbit-hero{width:100%;max-width:1510px;margin:0 auto;padding:42px clamp(30px,4vw,64px) 54px;min-height:clamp(650px,calc(100svh - 132px),740px);display:flex;align-items:center;position:relative;overflow:hidden}
.home-orbit-grid{width:100%;display:grid;grid-template-columns:minmax(0,.92fr) minmax(620px,1.08fr);gap:56px;align-items:center}
.home-orbit-copy{min-width:0}
.home-orbit-eyebrow{display:inline-flex;align-items:center;gap:9px;padding:8px 12px;border:1px solid #e6e6ff;border-radius:999px;background:#f2f2ff;color:#5761df;font-size:11px;font-weight:850;margin-bottom:22px}
.home-orbit-eyebrow i{width:7px;height:7px;border-radius:50%;background:#39c9a6;box-shadow:0 0 0 5px rgba(57,201,166,.12)}
.home-orbit-slogan-stage{display:grid;position:relative;transition:height .52s cubic-bezier(.22,1,.36,1)}
.home-orbit-slogan{grid-area:1/1;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(24px);clip-path:inset(100% 0 0 0);transition:opacity .52s ease,transform .68s cubic-bezier(.16,1,.3,1),clip-path .72s cubic-bezier(.16,1,.3,1),visibility 0s linear .72s}
.home-orbit-slogan.is-active{opacity:1;visibility:visible;pointer-events:auto;transform:none;clip-path:inset(0);transition-delay:0s}
.home-orbit-slogan.is-leaving{opacity:0;transform:translateY(-20px);clip-path:inset(0 0 100% 0)}
.home-orbit-slogan h1{margin:0;max-width:650px;font-size:clamp(50px,4.1vw,64px);line-height:1.065;letter-spacing:-.058em;font-weight:900;color:#111522}
.home-orbit-slogan h1 span,.home-orbit-slogan h1 strong{display:block;padding-bottom:.04em}
.home-orbit-slogan h1 strong{position:relative;color:transparent;background:linear-gradient(104deg,#4e5ce5 0%,#5e69ff 48%,#8870ff 100%);background-clip:text;-webkit-background-clip:text}
.home-orbit-slogan h1 strong:after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 20%,rgba(255,255,255,.75) 48%,transparent 76%);transform:translateX(-130%);mix-blend-mode:screen;pointer-events:none}
.home-orbit-slogan.is-active h1 strong:after{animation:homeOrbitSweep 1.15s .36s ease forwards}
@keyframes homeOrbitSweep{to{transform:translateX(130%)}}
.home-orbit-slogan p{margin:22px 0 0;max-width:590px;color:#737f91;font-size:15px;line-height:1.78}
.home-orbit-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:27px}
.home-orbit-actions .button{min-height:50px;padding:0 21px;border-radius:14px;font-size:14px;font-weight:800}
.home-orbit-tabs{display:flex;align-items:center;gap:13px;margin-top:24px}
.home-orbit-tabs button{appearance:none;border:0;background:transparent;padding:8px 0;cursor:pointer;display:flex;align-items:center;gap:8px;color:#9aa4b4;font-size:11px;font-weight:850;letter-spacing:.06em}
.home-orbit-tabs button:before{content:"";width:24px;height:3px;border-radius:99px;background:#dfe3ea;transition:width .25s ease,background .25s ease}
.home-orbit-tabs button.is-active{color:#414ed5}
.home-orbit-tabs button.is-active:before{width:44px;background:linear-gradient(90deg,#5663f7,#806aff)}
.home-orbit-visual-wrap{position:relative;perspective:1400px;margin-left:-8px;transform:translateY(-4px)}
.home-orbit-shadow{position:absolute;left:9%;right:9%;bottom:-10px;height:62px;background:linear-gradient(90deg,rgba(75,85,246,.20),rgba(75,210,209,.12));filter:blur(48px);border-radius:50%}
.home-orbit-card{position:relative;width:100%;aspect-ratio:2.02/1;border-radius:24px;overflow:hidden;background:radial-gradient(circle at 50% 51%,rgba(98,96,255,.26),transparent 17%),radial-gradient(circle at 78% 22%,rgba(73,214,205,.085),transparent 18%),linear-gradient(145deg,#0f1630 0%,#172147 58%,#111832 100%);border:1px solid rgba(255,255,255,.10);box-shadow:0 24px 64px rgba(31,43,86,.20);isolation:isolate;transform:rotateY(-.5deg);transition:transform .3s ease}
.home-orbit-card:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.033) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.033) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(180deg,rgba(0,0,0,.9),rgba(0,0,0,.35))}
.home-orbit-card:after{content:"";position:absolute;inset:-30%;background:conic-gradient(from 75deg,transparent,rgba(95,88,255,.07),transparent 36%,rgba(68,211,207,.045),transparent 73%);animation:homeOrbitAmbient 22s linear infinite;pointer-events:none}
@keyframes homeOrbitAmbient{to{transform:rotate(360deg)}}
.home-orbit-card>header{position:absolute;z-index:6;left:26px;right:26px;top:20px;display:flex;justify-content:space-between;align-items:center;color:#dce2f8;font-size:10.5px;letter-spacing:.16em;font-weight:850}
.home-orbit-card>header b{display:flex;align-items:center;gap:8px;color:#77e7ca;letter-spacing:.05em;font-weight:850}
.home-orbit-card>header b i{width:7px;height:7px;border-radius:50%;background:#43d9b2;box-shadow:0 0 13px #43d9b2}
.home-orbit-scene{position:absolute;inset:44px 24px 18px;z-index:3}
.home-orbit-scene>svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.home-orbit-scene>svg ellipse{fill:none;stroke:rgba(139,149,255,.25);stroke-width:1.2;vector-effect:non-scaling-stroke}
.home-orbit-scene>svg .is-glow{stroke:url(#homeOrbitGradient);stroke-width:1.65;stroke-dasharray:4 9;opacity:.75;animation:homeOrbitDash 13s linear infinite}
.home-orbit-rings-a{transform-origin:400px 170px;animation:homeOrbitSpinA 24s linear infinite}
.home-orbit-rings-b{transform-origin:400px 170px;animation:homeOrbitSpinB 32s linear infinite reverse}
@keyframes homeOrbitSpinA{to{transform:rotate(360deg)}}
@keyframes homeOrbitSpinB{to{transform:rotate(360deg)}}
@keyframes homeOrbitDash{to{stroke-dashoffset:-135}}
.home-orbit-core{position:absolute;z-index:5;left:50%;top:51%;transform:translate(-50%,-50%);width:118px;height:118px;display:grid;place-items:center;overflow:visible}
.home-orbit-core-glow{position:absolute;inset:-42px;border-radius:50%;background:radial-gradient(circle,rgba(110,104,255,.30) 0%,rgba(110,104,255,.14) 34%,rgba(75,216,203,.08) 54%,transparent 74%);filter:blur(3px);animation:homeOrbitBreathe 3.2s ease-in-out infinite}
.home-orbit-core>span{position:relative;width:76px;height:76px;border-radius:17px;display:grid;place-items:center;transform:rotate(35deg);background:linear-gradient(145deg,#5660ee 0%,#6f6fff 42%,#8773ff 72%,#57d7ce 100%);background-size:180% 180%;border:1px solid rgba(255,255,255,.32);box-shadow:0 0 0 1px rgba(255,255,255,.10) inset,0 16px 34px rgba(45,42,151,.32),0 0 26px rgba(98,94,255,.34);animation:homeOrbitFloatCore 5.2s ease-in-out infinite,homeOrbitCoreGradient 3.8s ease-in-out infinite,homeOrbitCorePulse 3.2s ease-in-out infinite}
.home-orbit-core>span:before{content:"";width:34px;height:34px;border:5px solid white;border-radius:8px;transform:rotate(-35deg)}
.home-orbit-core>span:after{content:"";position:absolute;inset:-10px;border-radius:22px;z-index:-1;background:radial-gradient(circle at 50% 45%,rgba(255,255,255,.28),rgba(111,107,255,.16) 42%,rgba(76,214,203,.10) 62%,transparent 76%);filter:blur(12px);animation:homeOrbitAura 3.2s ease-in-out infinite}
.home-orbit-core>b,.home-orbit-core>em{position:absolute;width:16px;height:16px;border-radius:6px;background:linear-gradient(145deg,#d7dbff,#9297ff);box-shadow:0 0 18px rgba(141,146,255,.58);animation:homeOrbitPin 4.8s linear infinite}
.home-orbit-core>b{left:1px;top:4px}.home-orbit-core>em{right:1px;bottom:5px;animation-direction:reverse}
@keyframes homeOrbitBreathe{0%,100%{transform:scale(.95);opacity:.48}50%{transform:scale(1.12);opacity:.92}}
@keyframes homeOrbitFloatCore{50%{transform:rotate(39deg) translateY(-5px)}}
@keyframes homeOrbitCoreGradient{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}
@keyframes homeOrbitCorePulse{0%,100%{box-shadow:0 0 0 1px rgba(255,255,255,.10) inset,0 16px 34px rgba(45,42,151,.32),0 0 26px rgba(98,94,255,.34)}50%{box-shadow:0 0 0 1px rgba(255,255,255,.16) inset,0 18px 40px rgba(45,42,151,.42),0 0 48px rgba(102,124,255,.52),0 0 22px rgba(75,216,203,.24)}}
@keyframes homeOrbitAura{0%,100%{transform:scale(.94);opacity:.44}50%{transform:scale(1.1);opacity:.92}}
@keyframes homeOrbitPin{50%{transform:translateY(-7px) scale(1.12)}}
.home-orbit-cap{position:absolute;z-index:6;display:flex;align-items:center;gap:10px;color:#e7ebfb;transition:transform .25s ease}
.home-orbit-cap:hover{transform:translateY(-3px)}
.home-orbit-cap>i{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(181,190,255,.25);background:rgba(67,78,132,.45);color:#cfd5ff;font-size:12px;font-style:normal;backdrop-filter:blur(9px)}
.home-orbit-cap span{display:block;min-width:0}.home-orbit-cap b{display:block;font-size:12px;margin-bottom:3px;white-space:nowrap}.home-orbit-cap small{display:block;color:#9da9c9;font-size:9.5px;white-space:nowrap}
.home-orbit-cap-1{left:5%;top:48%}.home-orbit-cap-2{left:45%;top:7%}.home-orbit-cap-3{right:4%;top:48%}.home-orbit-cap-4{left:47%;bottom:4%}
.home-orbit-dot{position:absolute;z-index:4;width:9px;height:9px;border-radius:50%;background:#d9ddff;box-shadow:0 0 16px rgba(154,163,255,.95);animation:homeOrbitDot 3.6s ease-in-out infinite}.home-orbit-dot.d1{left:27%;top:49%}.home-orbit-dot.d2{right:25%;top:34%;animation-delay:-1.4s}.home-orbit-dot.d3{right:34%;bottom:20%;animation-delay:-2.1s}@keyframes homeOrbitDot{50%{transform:translateY(-7px) scale(1.15);opacity:.72}}
@media(max-width:1240px){.home-orbit-hero{padding-top:58px}.home-orbit-grid{grid-template-columns:1fr;gap:42px}.home-orbit-copy{text-align:center;display:flex;flex-direction:column;align-items:center}.home-orbit-slogan h1{max-width:850px}.home-orbit-slogan p{margin-left:auto;margin-right:auto}.home-orbit-actions,.home-orbit-tabs{justify-content:center}.home-orbit-visual-wrap{width:100%;max-width:900px;margin:0 auto;transform:none}.home-orbit-card{transform:none}}
@media(max-width:760px){.home-orbit-hero{min-height:auto;padding:36px 18px 48px}.home-orbit-eyebrow{margin-bottom:21px}.home-orbit-slogan h1{font-size:42px;line-height:1.07}.home-orbit-slogan p{font-size:14px;line-height:1.72;margin-top:18px}.home-orbit-actions{margin-top:24px}.home-orbit-actions .button{min-height:48px;padding:0 17px}.home-orbit-tabs{justify-content:flex-start;max-width:100%;overflow-x:auto;padding-bottom:4px}.home-orbit-tabs button{white-space:nowrap}.home-orbit-card{aspect-ratio:1.48/1;border-radius:23px}.home-orbit-card>header{left:18px;right:18px;top:15px;font-size:8px}.home-orbit-scene{inset:35px 8px 10px}.home-orbit-core{width:94px;height:94px}.home-orbit-core>span{width:61px;height:61px}.home-orbit-core>span:before{width:27px;height:27px;border-width:4px}.home-orbit-cap>i{width:29px;height:29px}.home-orbit-cap b{font-size:9.5px}.home-orbit-cap small{display:none}.home-orbit-cap-1{left:2%;top:48%}.home-orbit-cap-2{left:40%;top:7%}.home-orbit-cap-3{right:1%;top:48%}.home-orbit-cap-4{left:42%;bottom:3%}}
@media(max-width:480px){.home-orbit-slogan h1{font-size:36px}.home-orbit-card{aspect-ratio:1.25/1}.home-orbit-cap-2{left:34%}.home-orbit-cap-4{left:36%}.home-orbit-cap b{font-size:8.5px}.home-orbit-cap>i{width:26px;height:26px}}
@media(prefers-reduced-motion:reduce){.home-orbit-hero *,.home-orbit-hero *:before,.home-orbit-hero *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}}

/* v3.6.8.2 — AI 与数据服务后台重构：三页签、紧凑目录、弹窗配置。 */
.admin-ai-data-services{gap:18px}
.admin-service-tabs{display:flex;align-items:center;gap:8px;padding:7px;border:1px solid #e4e8f2;border-radius:16px;background:#f7f8fc;width:max-content;max-width:100%;overflow:auto}
.admin-service-tabs button{appearance:none;border:0;border-radius:11px;background:transparent;color:#687387;padding:11px 17px;font-size:11px;font-weight:780;white-space:nowrap;cursor:pointer;transition:.18s ease}
.admin-service-tabs button:hover{color:#4652c8;background:#fff}
.admin-service-tabs button.active{color:#fff;background:linear-gradient(135deg,#5664ed,#7667ec);box-shadow:0 8px 19px rgba(77,91,220,.2)}
.admin-service-tab-panel{display:none;gap:16px}.admin-service-tab-panel.active{display:grid}
.admin-service-highlight{display:grid;grid-template-columns:auto minmax(220px,1.25fr) minmax(200px,.8fr) auto auto;gap:15px;align-items:center;padding:19px 20px;border:1px solid #dfe4f4;border-radius:18px;background:linear-gradient(125deg,#fbfcff,#f4f6ff);box-shadow:0 9px 28px rgba(48,60,118,.045)}
.admin-service-highlight.literature{background:linear-gradient(125deg,#fbfffe,#f3faf8)}
.admin-service-highlight-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#5968ee,#7d6df0);color:#fff;font-size:13px;font-weight:850;box-shadow:0 10px 24px rgba(83,98,225,.2)}
.admin-service-highlight.literature .admin-service-highlight-icon{background:linear-gradient(145deg,#3d9e83,#5fbca2)}
.admin-service-highlight-copy span,.admin-service-block-head span{display:block;color:#6877df;font-size:8px;font-weight:850;letter-spacing:.13em;margin-bottom:6px}
.admin-service-highlight-copy h3,.admin-service-block-head h3{margin:0;color:#263047;font-size:17px;letter-spacing:-.035em}
.admin-service-highlight-copy p,.admin-service-block-head p{margin:5px 0 0;color:#808a9b;font-size:9.5px;line-height:1.6}
.admin-service-highlight-value{display:grid;gap:5px;min-width:0}.admin-service-highlight-value b{color:#303a50;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-service-highlight-value small{color:#8992a2;font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-service-block{display:grid;gap:12px;padding:18px;border:1px solid #e3e7ef;border-radius:18px;background:#fff;box-shadow:0 7px 22px rgba(37,48,83,.025)}
.admin-service-block.compact{padding:0;overflow:hidden}
.admin-service-block-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:0 2px 3px}
.admin-service-count{padding:7px 10px;border-radius:999px;background:#f0f2ff;color:#6472dc;font-size:9px;font-weight:780}
.admin-service-table{display:grid;border:1px solid #e8ebf1;border-radius:14px;overflow:hidden;background:#fff}
.admin-service-row{display:grid;grid-template-columns:minmax(210px,1.35fr) minmax(145px,.85fr) minmax(145px,.9fr) auto minmax(120px,auto);gap:16px;align-items:center;min-width:0;padding:14px 15px;border-bottom:1px solid #edf0f4}
.admin-service-row:last-child{border-bottom:0}.admin-service-row:hover{background:#fafbff}
.admin-model-row{grid-template-columns:minmax(220px,1.4fr) minmax(105px,.65fr) minmax(150px,.95fr) 80px auto minmax(76px,auto)}
.admin-route-row{grid-template-columns:minmax(210px,1.25fr) minmax(150px,.95fr) minmax(130px,.75fr) minmax(100px,.6fr) auto minmax(70px,auto)}
.admin-literature-row{grid-template-columns:minmax(220px,1.2fr) minmax(135px,.7fr) minmax(230px,1.25fr) auto minmax(215px,auto)}
.admin-service-identity{display:flex;align-items:center;gap:11px;min-width:0}.admin-service-identity>div{display:grid;gap:4px;min-width:0}.admin-service-identity b{color:#2b3448;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-service-identity small{color:#8a93a2;font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-service-cell{display:grid;gap:5px;min-width:0}.admin-service-cell span{color:#98a0ad;font-size:8px}.admin-service-cell b{color:#596478;font-size:9.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-service-actions{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap}.admin-service-actions .button{min-height:31px;padding:0 10px;font-size:8.5px;border-radius:9px}.admin-service-actions .danger-lite{color:#ad5760;border-color:#efd8dc;background:#fff8f9}
.provider-logo.model{border-radius:10px;width:38px;height:38px;font-size:9px}
.admin-service-config-modal{width:min(720px,94vw);max-height:88vh;overflow:auto}
.admin-model-config-modal,.admin-literature-config-modal{width:min(820px,95vw)}
.admin-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.admin-modal-grid .wide{grid-column:1/-1}
.admin-modal-grid label{min-width:0}.admin-modal select{width:100%;min-height:42px;border:1px solid #dfe4ec;border-radius:10px;background:#fff;color:#334055;padding:0 11px;outline:0}
.admin-modal select:focus{border-color:#7884f4;box-shadow:0 0 0 3px rgba(98,112,244,.11)}
.admin-modal-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 14px;margin-top:6px}.admin-modal-check.danger{color:#a65a63!important}
.admin-modal-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:13px 0}.admin-modal-metrics>div{padding:12px;border:1px solid #e5e8f0;border-radius:11px;background:#f8f9fc;display:grid;gap:5px}.admin-modal-metrics span{color:#8992a0;font-size:8px}.admin-modal-metrics b{color:#2e384c;font-size:15px}
[data-admin-route-model-field][hidden]{display:none!important}
@media(max-width:1180px){.admin-service-highlight{grid-template-columns:auto 1fr auto}.admin-service-highlight-value{grid-column:2}.admin-service-highlight>.status-tag,.admin-service-highlight>.button,.admin-service-highlight>.admin-scope{grid-row:1;grid-column:auto}.admin-service-row,.admin-model-row,.admin-route-row,.admin-literature-row{grid-template-columns:minmax(210px,1.4fr) minmax(130px,.8fr) auto minmax(80px,auto)}.admin-service-row .admin-service-cell:nth-of-type(n+3){display:none}}
@media(max-width:760px){.admin-service-tabs{width:100%}.admin-service-tabs button{flex:1}.admin-service-highlight{grid-template-columns:auto 1fr;align-items:start}.admin-service-highlight-value{grid-column:1/-1}.admin-service-highlight>.status-tag,.admin-service-highlight>.button,.admin-service-highlight>.admin-scope{grid-row:auto;grid-column:auto}.admin-service-block{padding:13px}.admin-service-block-head{align-items:flex-start;flex-direction:column}.admin-service-row,.admin-model-row,.admin-route-row,.admin-literature-row{grid-template-columns:1fr auto;gap:10px}.admin-service-row .admin-service-cell{display:none}.admin-service-actions{grid-column:1/-1;justify-content:flex-start}.admin-modal-grid,.admin-modal-check-grid{grid-template-columns:1fr}.admin-modal-grid .wide{grid-column:auto}.admin-modal-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v3.6.8.3 — 登录前服务确认、后台工具分类与首页资讯配置。 */
.auth-service-consent{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:start;margin:3px 0 2px;padding:12px 13px;border:1px solid #e2e6ef;border-radius:12px;background:#f8f9fc;color:#667286;font-size:10px;line-height:1.7;cursor:pointer}
.auth-service-consent input{width:16px;height:16px;margin:2px 0 0;accent-color:#5967eb}
.auth-service-consent button{appearance:none;border:0;background:transparent;padding:0;color:#4e5edb;font:inherit;font-weight:760;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.auth-service-consent button:hover{color:#293bc4}
.auth-service-consent:has(input:focus-visible){border-color:#8792ef;box-shadow:0 0 0 3px rgba(88,103,235,.1)}


.admin-content-config{display:grid;gap:18px}
.admin-content-list{display:grid;border:1px solid #e7eaf1;border-radius:14px;overflow:hidden;background:#fff}
.admin-content-row{display:grid;grid-template-columns:auto minmax(240px,1.3fr) auto 86px minmax(125px,auto);gap:14px;align-items:center;padding:14px 15px;border-bottom:1px solid #edf0f4}
.admin-content-row:last-child{border-bottom:0}.admin-content-row:hover{background:#fafbff}
.admin-content-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#eef1ff;color:#5867e8}.admin-content-icon .icon{width:18px;height:18px}
.admin-content-row>div:nth-child(2){display:grid;gap:4px;min-width:0}.admin-content-row>div:nth-child(2)>b{color:#2c3549;font-size:11px}.admin-content-row>div:nth-child(2)>small{color:#838d9e;font-size:8.8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-content-row>div:nth-child(2)>em{color:#6672a1;font-size:8px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-content-row>span{color:#8e97a6;font-size:8.5px;white-space:nowrap}
.admin-content-actions{display:flex;justify-content:flex-end;gap:6px}.admin-content-actions button{appearance:none;border:1px solid #dfe3eb;border-radius:9px;background:#fff;color:#596579;padding:8px 10px;font-size:8.5px;font-weight:750;cursor:pointer}.admin-content-actions button:hover{border-color:#aeb7d8;color:#4655ce}.admin-content-actions button.danger{border-color:#efd9dc;background:#fff8f9;color:#a8525c}
.admin-tool-selector{display:grid;gap:10px;margin-top:12px;padding:14px;border:1px solid #e3e7ef;border-radius:13px;background:#f8f9fc}.admin-tool-selector>b{color:#4d586d;font-size:9px}.admin-tool-selector>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.admin-check-line{display:grid;grid-template-columns:17px minmax(0,1fr);gap:9px;align-items:center;padding:10px;border:1px solid #e4e7ee;border-radius:10px;background:#fff;cursor:pointer}.admin-check-line:hover{border-color:#b7bfeb}.admin-check-line input{width:15px;height:15px;accent-color:#5967e9}.admin-check-line span{display:grid;gap:2px;min-width:0}.admin-check-line b{color:#3d475b;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-check-line small{color:#949caa;font-size:7.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-modal label.check-line{display:flex;align-items:center;gap:8px;padding-top:27px;color:#596579;font-size:9px}.admin-modal label.check-line input{width:16px;height:16px;accent-color:#5967e9}
@media(max-width:900px){.admin-content-row{grid-template-columns:auto minmax(0,1fr) auto}.admin-content-row>span{display:none}.admin-content-actions{grid-column:2/-1;justify-content:flex-start}.admin-tool-selector>div{grid-template-columns:1fr}}
@media(max-width:760px){.auth-service-consent{font-size:9px}.admin-content-row{grid-template-columns:auto minmax(0,1fr)}.admin-content-row>.status-tag{grid-column:2}.admin-content-actions{grid-column:1/-1}}

/* v3.6.8.5 — reference-matched homepage left composition; current right visual retained. */
@media (min-width:1241px){
  .home-orbit-hero{min-height:clamp(720px,calc(100svh - 306px),780px);padding-top:40px;padding-bottom:42px}
  .home-orbit-copy-reference{position:relative;top:-20px}
  .home-orbit-static-stage{display:block;height:auto!important;transition:none}
  .home-orbit-slogan.home-orbit-static{position:relative;display:block;opacity:1;visibility:visible;transform:none;clip-path:none}
  .home-orbit-slogan.home-orbit-static h1{max-width:640px;font-size:clamp(62px,4.65vw,72px);line-height:1.025;letter-spacing:-.075em;font-weight:900}
  .home-orbit-slogan.home-orbit-static h1>span{margin-bottom:2px}
  .home-orbit-slogan.home-orbit-static h1 strong{display:block}
  .home-orbit-slogan.home-orbit-static h1 strong>span{display:block}
  .home-orbit-slogan.home-orbit-static p{max-width:575px;margin-top:27px;font-size:15.5px;line-height:1.9;color:#737f91}
  .home-orbit-reference-actions{margin-top:30px;gap:13px}
  .home-orbit-reference-actions .button{min-height:56px;padding:0 25px;border-radius:999px;font-size:14px}
  .home-orbit-benefits{display:flex;align-items:center;gap:23px;margin-top:31px;white-space:nowrap;color:#657188;font-size:11px;font-weight:720}
  .home-orbit-benefits span{display:inline-flex;align-items:center;gap:7px}
  .home-orbit-benefits .icon{width:15px;height:15px;color:#5c6bf1}
}
@media (max-width:1240px){
  .home-orbit-copy-reference{position:relative;top:0}
  .home-orbit-static-stage{display:block;height:auto!important}
  .home-orbit-slogan.home-orbit-static{position:relative;display:block;opacity:1;visibility:visible;transform:none;clip-path:none}
  .home-orbit-benefits{display:flex;justify-content:center;align-items:center;gap:18px;flex-wrap:wrap;margin-top:25px;color:#657188;font-size:11px;font-weight:720}
  .home-orbit-benefits span{display:inline-flex;align-items:center;gap:7px}
  .home-orbit-benefits .icon{width:15px;height:15px;color:#5c6bf1}
}
@media (max-width:760px){
  .home-orbit-slogan.home-orbit-static h1 strong>span{display:block}
  .home-orbit-slogan.home-orbit-static p{max-width:560px}
  .home-orbit-reference-actions .button{border-radius:999px}
  .home-orbit-benefits{justify-content:flex-start;gap:10px 18px}
}

/* v3.6.8.7 — enlarge homepage left typography by about 10% and restore the soft hero wash. */
.home-orbit-hero{
  background:
    radial-gradient(ellipse 46% 82% at 5% 46%,rgba(91,96,241,.105) 0%,rgba(112,102,245,.055) 42%,transparent 75%),
    radial-gradient(ellipse 48% 78% at 94% 42%,rgba(63,190,205,.105) 0%,rgba(83,205,206,.045) 45%,transparent 76%),
    linear-gradient(90deg,rgba(250,249,255,.82) 0%,rgba(255,255,255,.74) 50%,rgba(247,253,253,.82) 100%);
}
@media (min-width:1241px){
  .home-orbit-eyebrow{font-size:12.1px;padding:8.8px 13.2px;margin-bottom:24px}
  .home-orbit-eyebrow i{width:7.7px;height:7.7px}
  .home-orbit-slogan.home-orbit-static h1{max-width:700px;font-size:clamp(68px,5.1vw,79px);line-height:1.02}
  .home-orbit-slogan.home-orbit-static p{max-width:620px;margin-top:29px;font-size:17px;line-height:1.86}
  .home-orbit-reference-actions{margin-top:32px;gap:14px}
  .home-orbit-reference-actions .button{min-height:59px;padding:0 27px;font-size:15.4px}
  .home-orbit-benefits{gap:24px;margin-top:32px;font-size:12.1px}
  .home-orbit-benefits .icon{width:16.5px;height:16.5px}
}

/* v3.6.8.8 — show featured tools before research infrastructure and normalize section rhythm. */
.home-featured-tools.home-promo-featured {
  padding: 62px 0 48px;
  border-top: 0;
}
.home-infrastructure-section {
  padding: 48px 0 72px;
  border-top: 1px solid rgba(226,230,239,.80);
}
.home-infrastructure-section .home-promo-section-head {
  margin-bottom: 38px;
}
.home-promo-cta {
  padding-top: 28px;
  padding-bottom: 96px;
}
@media (min-width:1241px) {
  .home-orbit-hero { padding-bottom: 30px; }
}
@media (max-width:760px) {
  .home-featured-tools.home-promo-featured { padding: 46px 0 36px; }
  .home-infrastructure-section { padding: 38px 0 54px; }
  .home-infrastructure-section .home-promo-section-head { margin-bottom: 28px; }
  .home-promo-cta { padding-top: 18px; padding-bottom: 68px; }
}

/* v3.6.8.9 — full-bleed hero wash and tighter transition into featured tools. */
.home-promo-main{
  background:#fff;
}
.home-promo-main::before{display:none}
.home-orbit-hero{
  min-height:clamp(620px,calc(100svh - 400px),680px);
  padding-top:40px;
  padding-bottom:18px;
  overflow:visible;
  isolation:isolate;
  background:none;
}
.home-orbit-hero::before{
  content:"";
  position:absolute;
  z-index:0;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  pointer-events:none;
  background:
    radial-gradient(ellipse 42% 78% at 6% 42%,rgba(91,96,241,.105) 0%,rgba(112,102,245,.052) 43%,transparent 76%),
    radial-gradient(ellipse 44% 74% at 94% 39%,rgba(63,190,205,.105) 0%,rgba(83,205,206,.044) 46%,transparent 77%),
    linear-gradient(180deg,rgba(251,250,255,.94) 0%,rgba(255,255,255,.78) 57%,rgba(249,253,253,.66) 76%,rgba(255,255,255,.95) 92%,#fff 100%);
}
.home-orbit-grid{
  position:relative;
  z-index:1;
}
@media (min-width:1241px){
  .home-orbit-hero{min-height:clamp(620px,calc(100svh - 400px),680px);padding-top:40px;padding-bottom:18px}
}
@media (max-width:1240px){
  .home-orbit-hero{overflow:hidden}
}
@media (max-width:760px){
  .home-orbit-hero{min-height:auto;padding-top:32px;padding-bottom:28px}
}

/* v3.6.8.9 — remove stacked whitespace between hero and featured tools. */
.home-featured-tools.home-promo-featured{
  padding:38px 0 46px;
}
@media (max-width:760px){
  .home-featured-tools.home-promo-featured{padding:30px 0 34px}
}

/* R17: ledger content must never touch the card edge. */
.admin-shell .compute-admin-ledger-list{box-sizing:border-box;width:100%;padding:0 26px 12px!important;overflow:hidden}
.admin-shell .compute-admin-ledger-row{box-sizing:border-box;padding:15px 2px!important;min-width:0}
.admin-shell .compute-admin-ledger-row>div{min-width:0}
.admin-shell .compute-admin-ledger-row>div:last-child small{display:block;overflow-wrap:anywhere;line-height:1.65}
@media(max-width:980px){.admin-shell .compute-admin-ledger-list{padding-inline:20px!important}}
@media(max-width:620px){.admin-shell .compute-admin-ledger-list{padding-inline:16px!important}}
.space-field-error {
  display: block;
  margin-top: 7px;
  color: #b42318;
  font-size: 12px;
  font-weight: 650;
}
.space-field-error[hidden] { display: none; }
.space-form-modal input[aria-invalid="true"] {
  border-color: #d92d20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, .10);
}

/* Sentiment dual-model routing: Embedding API + LLM API */
.admin-route-row-dual{grid-template-columns:minmax(230px,1.4fr) minmax(170px,1fr) minmax(170px,1fr) minmax(180px,1fr) auto minmax(92px,auto)}
.admin-dual-route-block{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.85fr);gap:14px 18px;align-items:end;margin:0 0 16px;padding:18px;border:1px solid #e5e8f1;border-radius:16px;background:linear-gradient(145deg,#fbfcff,#f6f7ff)}
.admin-dual-route-block>div{grid-row:1 / span 2}.admin-dual-route-block>div span{display:block;margin-bottom:5px;color:#6674e8;font-size:10px;font-weight:800;letter-spacing:.12em}.admin-dual-route-block h3{margin:0 0 5px;color:#202a44;font-size:17px}.admin-dual-route-block p{margin:0;color:#727b8f;font-size:12px;line-height:1.6}.admin-dual-route-block label{margin:0}.admin-dual-route-block>small{grid-column:1/-1;color:#7d879a;font-size:11px}
@media(max-width:1180px){.admin-route-row-dual{grid-template-columns:minmax(210px,1.4fr) minmax(150px,1fr) minmax(150px,1fr) auto minmax(90px,auto)}.admin-route-row-dual .admin-service-cell:nth-of-type(3){display:none}}
@media(max-width:760px){.admin-dual-route-block{grid-template-columns:1fr}.admin-dual-route-block>div{grid-row:auto}.admin-route-row-dual{grid-template-columns:1fr auto}}
/* ===== END ui-integrated-r29.css ===== */

/* ===== BEGIN ui-ai-cost-center-r30.css ===== */
/* AI Cost Center — additive admin-only styles. */
.admin-cost-center .positive{color:#16794c}.admin-cost-center .negative{color:#b42318}.admin-cost-center .warning{color:#b54708}
.admin-cost-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0}
.admin-cost-summary article{display:flex;flex-direction:column;gap:6px;min-height:118px;padding:18px;border:1px solid #e7eaf1;border-radius:16px;background:#fff}
.admin-cost-summary span{font-size:12px;color:#697386}.admin-cost-summary b{font-size:25px;letter-spacing:-.03em}.admin-cost-summary small{font-size:12px;color:#8a93a4}
.admin-cost-block{margin-top:16px}.admin-cost-table{overflow:auto}.admin-cost-tool-head,.admin-cost-tool-row{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(5,minmax(110px,.75fr));gap:14px;align-items:center;min-width:860px;padding:12px 14px}
.admin-cost-tool-head,.admin-cost-model-head{font-size:11px;font-weight:700;color:#8791a5;text-transform:uppercase;border-bottom:1px solid #eceef3}
.admin-cost-tool-row{border-bottom:1px solid #f0f2f6}.admin-cost-tool-row:last-child{border-bottom:0}.admin-cost-tool-row div,.admin-cost-model-row div{display:flex;flex-direction:column;gap:3px}.admin-cost-tool-row small,.admin-cost-model-row small{color:#8a93a4;font-size:11px}.admin-cost-tool-row em,.admin-cost-model-row em{font-style:normal;color:#7a8498;font-size:11px}
.admin-cost-model-head,.admin-cost-model-row{display:grid;grid-template-columns:minmax(220px,1.4fr) 90px 160px 130px 120px 90px;gap:14px;align-items:center;min-width:850px;padding:12px 14px}.admin-cost-model-row{border-bottom:1px solid #f0f2f6}.admin-cost-model-row:last-child{border-bottom:0}
.admin-cost-events{overflow:auto}.admin-cost-event-row{display:grid;grid-template-columns:145px minmax(260px,1fr) 190px 110px 90px;gap:14px;align-items:center;min-width:920px;padding:12px 14px;border-bottom:1px solid #f0f2f6}.admin-cost-event-row:last-child{border-bottom:0}.admin-cost-event-row time{font-size:11px;color:#8791a5}.admin-cost-event-row div,.admin-cost-event-row span{display:flex;flex-direction:column;gap:3px}.admin-cost-event-row small{font-size:11px;color:#8a93a4}.admin-cost-event-row em{font-style:normal;font-size:11px;color:#667085}
.admin-cost-price-list{overflow:auto}.admin-cost-price-row{display:grid;grid-template-columns:minmax(220px,1.4fr) 130px 130px 130px 100px minmax(160px,1fr);gap:12px;align-items:center;min-width:920px;padding:12px 14px;border-bottom:1px solid #f0f2f6}.admin-cost-price-row div{display:flex;flex-direction:column;gap:3px}.admin-cost-price-row small{font-size:11px;color:#8a93a4}.admin-cost-price-row em{font-style:normal}
.admin-cost-price-form{margin:18px 14px 6px;padding:18px;border:1px solid #e5e9f2;border-radius:16px;background:#fafbfe}.admin-cost-price-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}.admin-cost-price-fields label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#667085}.admin-cost-price-fields input,.admin-cost-price-fields select{width:100%;min-height:40px;padding:8px 10px;border:1px solid #dfe3eb;border-radius:10px;background:#fff;color:#202939}.admin-cost-price-fields .wide{grid-column:span 2}
@media(max-width:1180px){.admin-cost-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-cost-price-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.admin-cost-summary{grid-template-columns:1fr 1fr}.admin-cost-price-fields{grid-template-columns:1fr}.admin-cost-price-fields .wide{grid-column:auto}}
.admin-cost-range{display:flex;align-items:center;gap:4px;padding:3px;border:1px solid #e3e7ef;border-radius:10px;background:#f7f8fb}.admin-cost-range button{border:0;background:transparent;color:#667085;font-size:12px;padding:7px 10px;border-radius:8px;cursor:pointer}.admin-cost-range button.active{background:#fff;color:#202939;box-shadow:0 1px 3px rgba(16,24,40,.08)}
.admin-cost-trends{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:0 14px 14px;overflow:auto}.admin-cost-trends>div{min-width:650px}.admin-cost-trends h3{margin:6px 0 10px;font-size:13px}.admin-cost-trend-head,.admin-cost-trend-row{display:grid;grid-template-columns:90px 80px 110px 100px 100px 100px 80px;gap:10px;align-items:center;padding:10px 8px;border-bottom:1px solid #eef1f5;font-size:12px}.admin-cost-trend-head{color:#8791a5;font-size:11px;font-weight:700}.admin-cost-trend-row em{font-style:normal;color:#667085}
@media(max-width:1200px){.admin-cost-trends{grid-template-columns:1fr}.admin-cost-trends>div{min-width:680px}}
/* ===== END ui-ai-cost-center-r30.css ===== */

/* ===== BEGIN ui-admin-compute-cost-polish-r31.css ===== */
/* ============================================================================
   智研网 · 管理后台新增模块视觉统一 r31
   2026-08-13
   目标：
   1. 产品独立定价、算力运营、AI 成本中心统一回智研网后台既有字号与密度；
   2. 去掉“卡片套卡片”的大圆角列表，恢复单卡片 + 分隔行；
   3. 新增模块只继承既有字体体系，不引入额外字体；
   4. 不修改任何计费、成本、账号或任务逻辑。
   ============================================================================ */

/* --- 新增后台模块统一字体契约 --- */
.admin-shell .admin-compute-panel,
.admin-shell .admin-cost-center {
  font-family: inherit;
  color: #3b4559;
  font-variant-numeric: tabular-nums;
}

.admin-shell .admin-compute-panel .admin-section-head h2,
.admin-shell .admin-cost-center .admin-section-head h2,
.admin-shell .admin-compute-panel .admin-card-head h2,
.admin-shell .admin-cost-center .admin-card-head h2 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 720;
  letter-spacing: -.04em;
  color: #242c3d;
}

.admin-shell .admin-compute-panel .admin-section-head p,
.admin-shell .admin-cost-center .admin-section-head p {
  font-size: 11px;
  line-height: 1.72;
  color: #7e8796;
}

.admin-shell .admin-compute-panel .admin-card-head,
.admin-shell .admin-cost-center .admin-card-head {
  padding: 18px 20px 13px;
}
.admin-shell .admin-compute-panel .admin-card-head p,
.admin-shell .admin-cost-center .admin-card-head p {
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.6;
  color: #8a92a1;
}

.admin-shell .admin-card-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid #e4e8ef;
  border-radius: 999px;
  background: #f8f9fc;
  color: #727c8d;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
}

/* --- 产品独立定价：改为后台原生的“单卡片 + 分隔行” --- */
.admin-shell .product-pricing-admin {
  margin-bottom: 18px;
}
.admin-shell .product-pricing-admin .admin-card-head {
  border-bottom: 1px solid #edf0f4;
}
.admin-shell .product-pricing-admin-list {
  display: block;
  margin: 0;
  padding: 0 20px 8px;
}
.admin-shell .product-pricing-admin-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(112px, auto) 86px;
  align-items: center;
  gap: 16px;
  min-height: 63px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #edf0f5;
  border-radius: 0;
  background: transparent;
}
.admin-shell .product-pricing-admin-row:last-child { border-bottom: 0; }
.admin-shell .product-pricing-admin-row > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.admin-shell .product-pricing-admin-row b {
  display: block;
  overflow: hidden;
  color: #3b4559;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 720;
  letter-spacing: -.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-shell .product-pricing-admin-row small {
  display: block;
  overflow: hidden;
  color: #8b94a3;
  font-size: 9px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: .01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-shell .product-pricing-admin-state {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid #e4e8ef;
  border-radius: 999px;
  background: #f6f7fb;
  color: #596477;
  font-size: 10px;
  line-height: 1;
  font-weight: 650;
  white-space: nowrap;
}
.admin-shell .product-pricing-admin-row > .button {
  width: 86px;
  min-width: 86px;
  height: 34px;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 10px;
  box-shadow: none;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

/* --- 算力运营：指标、规则提示与运营列表统一字号层级 --- */
.admin-shell .admin-compute-panel .admin-metric-grid {
  gap: 12px;
  margin-top: 0;
}
.admin-shell .admin-compute-panel .admin-metric-grid article {
  min-height: 108px;
  padding: 16px;
}
.admin-shell .admin-compute-panel .admin-metric-grid span { font-size: 10px; }
.admin-shell .admin-compute-panel .admin-metric-grid b {
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -.045em;
}
.admin-shell .admin-compute-panel .admin-metric-grid small { font-size: 9px; }

.admin-shell .admin-compute-panel .compute-policy-note {
  margin: 14px 0;
  padding: 13px 15px;
  border-radius: 13px;
}
.admin-shell .admin-compute-panel .compute-policy-note b {
  font-size: 11px;
  font-weight: 720;
  color: #515a6c;
}
.admin-shell .admin-compute-panel .compute-policy-note p {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.65;
  color: #778091;
}

.admin-shell .admin-compute-panel .compute-admin-list,
.admin-shell .admin-compute-panel .compute-account-list,
.admin-shell .admin-compute-panel .compute-code-list {
  padding-inline: 20px;
}
.admin-shell .admin-compute-panel .compute-admin-batch,
.admin-shell .admin-compute-panel .compute-account-row,
.admin-shell .admin-compute-panel .compute-code-row {
  min-height: 61px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.admin-shell .admin-compute-panel .compute-admin-batch b,
.admin-shell .admin-compute-panel .compute-account-row b,
.admin-shell .admin-compute-panel .compute-code-row b,
.admin-shell .admin-compute-panel .compute-admin-ledger-row b {
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  color: #3d4659;
}
.admin-shell .admin-compute-panel .compute-admin-batch small,
.admin-shell .admin-compute-panel .compute-account-row small,
.admin-shell .admin-compute-panel .compute-code-row small,
.admin-shell .admin-compute-panel .compute-admin-ledger-row small {
  font-size: 9px;
  line-height: 1.5;
  color: #8992a1;
}
.admin-shell .admin-compute-panel .compute-account-row > span {
  font-size: 10px;
  color: #778191;
}
.admin-shell .admin-compute-panel .compute-account-row > b {
  font-size: 11px;
  font-weight: 760;
  color: #465066;
}
.admin-shell .admin-compute-panel .compute-account-row > button,
.admin-shell .admin-compute-panel .compute-code-row > button {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
}
.admin-shell .admin-compute-panel .compute-admin-ledger-row > div:nth-child(2) {
  font-size: 12px;
  font-weight: 760;
}

/* --- AI 成本中心：回收到与后台总览/用量统计相同的字号密度 --- */
.admin-shell .admin-cost-summary {
  gap: 12px;
  margin: 14px 0 18px;
}
.admin-shell .admin-cost-summary article {
  min-height: 104px;
  padding: 15px 16px;
  gap: 5px;
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
}
.admin-shell .admin-cost-summary span { font-size: 10px; color: #858d9a; }
.admin-shell .admin-cost-summary b {
  font-size: 21px;
  line-height: 1.15;
  font-weight: 760;
  letter-spacing: -.045em;
}
.admin-shell .admin-cost-summary small { font-size: 9px; color: #8a92a0; }

.admin-shell .admin-cost-tool-head,
.admin-shell .admin-cost-model-head,
.admin-shell .admin-cost-trend-head {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #8b93a0;
}
.admin-shell .admin-cost-tool-row,
.admin-shell .admin-cost-model-row,
.admin-shell .admin-cost-event-row,
.admin-shell .admin-cost-price-row,
.admin-shell .admin-cost-trend-row {
  font-size: 10px;
  color: #626b7a;
}
.admin-shell .admin-cost-tool-row,
.admin-shell .admin-cost-model-row,
.admin-shell .admin-cost-price-row {
  padding-top: 11px;
  padding-bottom: 11px;
}
.admin-shell .admin-cost-event-row { padding-top: 11px; padding-bottom: 11px; }
.admin-shell .admin-cost-tool-row b,
.admin-shell .admin-cost-model-row b,
.admin-shell .admin-cost-price-row b {
  font-size: 11px;
  font-weight: 700;
  color: #384150;
}
.admin-shell .admin-cost-tool-row small,
.admin-shell .admin-cost-model-row small,
.admin-shell .admin-cost-event-row small,
.admin-shell .admin-cost-price-row small {
  font-size: 9px;
  line-height: 1.45;
  color: #8c94a1;
}
.admin-shell .admin-cost-tool-row em,
.admin-shell .admin-cost-model-row em,
.admin-shell .admin-cost-event-row em,
.admin-shell .admin-cost-price-row em {
  font-size: 9px;
  color: #7f8897;
}
.admin-shell .admin-cost-event-row time { font-size: 9px; color: #8791a0; }

.admin-shell .admin-cost-range {
  gap: 3px;
  padding: 3px;
  border-radius: 10px;
}
.admin-shell .admin-cost-range button {
  padding: 6px 9px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 650;
}

.admin-shell .admin-cost-price-form {
  margin: 14px 14px 6px;
  padding: 16px;
  border-radius: 14px;
}
.admin-shell .admin-cost-price-fields {
  gap: 10px;
  margin-top: 12px;
}
.admin-shell .admin-cost-price-fields label {
  gap: 5px;
  font-size: 10px;
  color: #788291;
}
.admin-shell .admin-cost-price-fields input,
.admin-shell .admin-cost-price-fields select {
  min-height: 38px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 11px;
  color: #354059;
}
.admin-shell .admin-cost-trends h3 {
  margin: 6px 0 9px;
  font-size: 12px;
  font-weight: 720;
  color: #3d4659;
}
.admin-shell .admin-cost-trend-row { font-size: 10px; }

/* --- 相关弹窗继承后台表单尺寸，避免列表缩小后弹窗仍显得“另一套 UI” --- */
.admin-modal#admin-product-pricing-form label,
.admin-modal#admin-compute-policy-form label,
.admin-modal#admin-compute-adjust-form label {
  font-size: 10px;
  color: #788291;
}
.admin-modal#admin-product-pricing-form input,
.admin-modal#admin-product-pricing-form select,
.admin-modal#admin-compute-policy-form input,
.admin-modal#admin-compute-adjust-form input,
.admin-modal#admin-compute-adjust-form select,
.admin-modal#admin-compute-adjust-form textarea {
  font-size: 11px;
}

@media (max-width: 760px) {
  .admin-shell .product-pricing-admin-list { padding-inline: 16px; }
  .admin-shell .product-pricing-admin-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
  }
  .admin-shell .product-pricing-admin-state { justify-self: end; }
  .admin-shell .product-pricing-admin-row > .button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }
  .admin-shell .admin-compute-panel .compute-admin-list,
  .admin-shell .admin-compute-panel .compute-account-list,
  .admin-shell .admin-compute-panel .compute-code-list { padding-inline: 16px; }
}
/* ===== END ui-admin-compute-cost-polish-r31.css ===== */

/* ===== BEGIN ui-ai-cost-products-r32.css ===== */
/* AI 成本中心：动态产品 × 每日/每月两级页面 */
.admin-shell .admin-cost-navigation {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
}

.admin-shell .admin-cost-product-tabs,
.admin-shell .admin-cost-period-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-shell .admin-cost-product-tabs {
  padding: 5px;
  border: 1px solid var(--line, #e7ebf2);
  border-radius: 12px;
  background: rgba(248, 250, 253, .88);
}

.admin-shell .admin-cost-product-tabs button,
.admin-shell .admin-cost-period-tabs button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted, #667085);
  cursor: pointer;
  font: inherit;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.admin-shell .admin-cost-product-tabs button {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.admin-shell .admin-cost-product-tabs button b {
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
}

.admin-shell .admin-cost-product-tabs button small {
  font-size: 9px;
  font-weight: 500;
  color: #77839a;
}

.admin-shell .admin-cost-product-tabs button.active {
  background: #fff;
  color: var(--ink, #14213d);
  box-shadow: 0 1px 4px rgba(29, 45, 82, .08);
}

.admin-shell .admin-cost-product-tabs button.active small { color: #5367d8; }

.admin-shell .admin-cost-period-tabs {
  width: fit-content;
  padding: 3px;
  border-radius: 9px;
  background: #eef2f7;
}

.admin-shell .admin-cost-period-tabs button {
  min-width: 64px;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 650;
}

.admin-shell .admin-cost-period-tabs button.active {
  background: #fff;
  color: var(--ink, #14213d);
  box-shadow: 0 1px 3px rgba(29, 45, 82, .08);
}

.admin-shell .admin-cost-trend-single {
  overflow-x: auto;
}

@media (max-width: 760px) {
  .admin-shell .admin-cost-product-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .admin-shell .admin-cost-product-tabs button { flex: 0 0 auto; }
}
/* ===== END ui-ai-cost-products-r32.css ===== */
