:root {
  color-scheme: dark;
  --bg: #0c0d0e;
  --surface: #171818;
  --surface-2: #1d1e20;
  --surface-3: #232426;
  --line: #323437;
  --line-soft: rgba(255,255,255,.075);
  --ink: #f5f5f4;
  --muted: #95979b;
  --muted-2: #65676c;
  --green: #48d47b;
  --cyan: #4fc8dd;
  --purple: #8b6cff;
  --orange: #f0a45c;
  --rose: #e8759c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--ink); background: var(--bg); font-family: Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif; }
button,input,select,textarea { font: inherit; }
button,a { color: inherit; }
button { cursor: pointer; }
a { text-decoration: none; }

.canvas-app { min-height: 100vh; background-color: #0d0e0e; background-image: linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px); background-size: 28px 28px; }
.site-nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 28px; min-height: 59px; padding: 0 28px; border-bottom: 1px solid rgba(255,255,255,.09); background: rgba(7,8,8,.94); backdrop-filter: blur(16px); }
.site-brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-logo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: linear-gradient(140deg,#6d5df4,#27c1de); box-shadow: 0 8px 22px rgba(80,95,236,.28); font-size: 19px; font-weight: 900; }
.brand-copy { display: grid; gap: 3px; line-height: 1; }
.brand-copy strong { font-size: 15px; letter-spacing: .05em; }
.brand-copy small { color: var(--muted); font-size: 8px; letter-spacing: .12em; }
.site-links { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.site-links a { position: relative; padding: 20px 13px 18px; color: #aaa; font-size: 12px; font-weight: 700; white-space: nowrap; }
.site-links a::after { content: ""; position: absolute; right: 13px; bottom: 10px; left: 13px; height: 2px; border-radius: 99px; background: var(--green); opacity: 0; transform: scaleX(.35); transition: .18s; }
.site-links a:hover,.site-links a.is-active { color: #f3f3f2; }
.site-links a:hover::after,.site-links a.is-active::after { opacity: 1; transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-login { min-height: 37px; padding: 0 17px; border: 1px solid #34383c; border-radius: 0; color: #e8e8e7; background: #111314; font-size: 12px; font-weight: 800; }
.nav-login:hover { border-color: #646a70; background: #191b1c; }
.account-menu { position: relative; z-index: 60; display: inline-flex; }
.account-popover { position: absolute; top: calc(100% + 9px); right: 0; display: grid; min-width: 170px; padding: 7px; border: 1px solid #3a4247; border-radius: 10px; background: #111617; box-shadow: 0 18px 42px rgba(0,0,0,.34); }
.account-popover[hidden] { display: none; }
.account-popover a, .account-popover button { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 7px; color: #dfe5e7; background: transparent; font-size: 11px; text-align: left; text-decoration: none; }
.account-popover a:hover, .account-popover button:hover { color: #fff; background: #253033; }
.account-summary { display: grid; gap: 4px; padding: 9px 12px 11px; margin: 0 0 4px; border-bottom: 1px solid rgba(220,230,230,.18); }
.account-summary strong { color: #fff; font-size: 12px; }
.account-summary span { color: #a9b4b6; font-size: 10px; }
.account-summary b { color: #54df92; font-weight: 800; }
.nav-menu { display: none; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.canvas-home { width: min(1180px,calc(100% - 42px)); min-height: calc(100vh - 145px); margin: 53px auto 35px; }
.benefit-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 129px; padding: 23px 18px; border: 1px solid #303234; border-radius: 10px; background: rgba(23,24,24,.94); }
.eyebrow { color: #aaaeb2; font-size: 10px; }
.benefit-card h1 { margin: 7px 0 4px; font-size: 23px; letter-spacing: -.02em; }
.benefit-card p { margin: 0; color: #a2a4a6; font-size: 11px; }
.white-button { min-height: 31px; padding: 0 13px; border: 0; border-radius: 5px; color: #161616; background: #f1f1f0; font-size: 10px; font-weight: 850; }
.white-button:hover { background: #fff; transform: translateY(-1px); }
.benefit-card > button { margin-right: 273px; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.benefit-small { position: relative; display: grid; gap: 5px; min-height: 113px; padding: 15px 145px 13px 13px; border: 1px solid #303234; border-radius: 8px; color: #eee; background: rgba(23,24,24,.95); text-align: left; }
.benefit-small:hover { border-color: #55595c; background: #1a1b1b; }
.benefit-small strong { font-size: 11px; line-height: 1.45; }
.benefit-small span,.benefit-small em { color: #929496; font-size: 9px; font-style: normal; }
.benefit-small b { position: absolute; right: 13px; bottom: 13px; padding: 6px 10px; border-radius: 5px; color: #121212; background: #f1f1f0; font-size: 9px; }
.benefit-small em { align-self: end; }
.canvas-library { margin-top: 20px; }
.library-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.library-head h2 { margin: 0; font-size: 24px; }
.library-head p { margin: 6px 0 0; color: #8e9092; font-size: 11px; }
.library-actions { display: flex; gap: 8px; }
.library-actions button { min-width: 0; min-height: 31px; padding: 0 13px; border: 1px solid #3a3c3e; border-radius: 6px; color: #dedede; background: #191a1a; font-size: 10px; font-weight: 750; }
.library-actions button:hover { border-color: #686c6f; }
.library-actions .primary { color: #151515; background: #f0f0ef; }
.library-tabs { display: flex; gap: 22px; margin-top: 22px; border-bottom: 1px solid #3a3b3c; }
.library-tabs button { position: relative; padding: 0 0 12px; border: 0; color: #8f9194; background: transparent; font-size: 11px; font-weight: 800; }
.library-tabs button::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #f2f2f1; opacity: 0; }
.library-tabs button.is-active { color: #f2f2f1; }
.library-tabs button.is-active::after { opacity: 1; }
.canvas-list { min-height: 310px; margin-top: 16px; padding: 15px; border: 1px solid #3b3d3f; border-radius: 11px; background: rgba(23,24,24,.97); }
.list-error { display: grid; place-items: center; align-content: center; min-height: 278px; text-align: center; }
.list-error h3 { margin: 0; font-size: 19px; }
.list-error p { margin: 10px 0 14px; color: #939597; font-size: 11px; }
.canvas-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.canvas-card { min-width: 0; overflow: hidden; border: 1px solid #373a3d; border-radius: 9px; background: #111313; text-align: left; }
.canvas-card:hover { border-color: #5d6266; transform: translateY(-2px); }
.canvas-thumb { position: relative; height: 140px; overflow: hidden; background-color: #111314; background-image: linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size: 17px 17px; }
.thumb-node { position: absolute; width: 88px; height: 53px; border: 1px solid #4d5155; border-radius: 6px; background: #1b1d1e; box-shadow: 0 6px 12px rgba(0,0,0,.22); }
.thumb-node::before { content: ""; display: block; width: 24px; height: 5px; margin: 9px; border-radius: 3px; background: var(--cyan); }
.thumb-node.a { left: 25px; top: 48px; }.thumb-node.b { left: 132px; top: 21px; }.thumb-node.c { right: 24px; top: 68px; }
.thumb-line { position: absolute; height: 1px; background: #4d7983; transform-origin: left center; }.thumb-line.one { left: 103px; top: 65px; width: 56px; transform: rotate(-23deg); }.thumb-line.two { left: 214px; top: 67px; width: 65px; transform: rotate(22deg); }
.canvas-card-copy { padding: 12px; }
.canvas-card-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.canvas-card-copy span { display: block; margin-top: 5px; color: #797c80; font-size: 9px; }
.site-footer { display: flex; justify-content: space-between; width: min(1180px,calc(100% - 42px)); margin: 0 auto; padding: 16px 0 25px; border-top: 1px solid rgba(255,255,255,.08); color: #65676a; font-size: 9px; }

/* Studio */
.studio-body { width: 100vw; height: 100vh; overflow: hidden; background: #111417; }
.studio-app { width: 100%; height: 100%; overflow: hidden; color: #eef0f2; background: #111417; }
.studio-topbar { position: relative; z-index: 50; display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 14px; border-bottom: 1px solid #303439; background: rgba(18,21,24,.96); box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.studio-brand { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; font-size: 13px; font-weight: 850; }
.studio-brand .brand-logo { width: 32px; height: 32px; font-size: 17px; }
.top-divider { width: 1px; height: 25px; background: #34383c; }
.canvas-title-wrap { display: grid; gap: 2px; min-width: 160px; }
.canvas-title-wrap input { width: min(280px,22vw); height: 26px; padding: 0 6px; border: 1px solid transparent; border-radius: 5px; outline: 0; color: #f0f2f4; background: transparent; font-size: 12px; font-weight: 750; }
.canvas-title-wrap input:hover,.canvas-title-wrap input:focus { border-color: #41464b; background: #191d20; }
.canvas-title-wrap span { padding-left: 6px; color: #72777c; font-size: 8px; }
.canvas-title-wrap i { display: inline-block; width: 5px; height: 5px; margin-right: 3px; border-radius: 50%; background: #4bd486; }
.top-history { display: flex; gap: 3px; }
.top-history button,.studio-mobile-menu { width: 30px; height: 30px; border: 1px solid transparent; border-radius: 6px; color: #9ca1a6; background: transparent; font-size: 18px; }
.top-history button:hover { border-color: #353a3f; color: #fff; background: #1c2023; }
.studio-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.balance { display: grid; grid-template-columns: 18px auto; grid-template-rows: 10px 11px; column-gap: 5px; min-width: 65px; padding: 5px 7px; border: 1px solid #32373b; border-radius: 7px; background: #171b1e; }
.balance i { grid-row: 1 / 3; align-self: center; color: #ae98ff; font-size: 12px; font-style: normal; }
.balance small { color: #777c81; font-size: 7px; line-height: 1; }.balance b { font-size: 9px; line-height: 1; }
.studio-actions > button { height: 32px; padding: 0 11px; border: 1px solid #34393e; border-radius: 7px; color: #cfd3d6; background: #191d20; font-size: 10px; font-weight: 750; }
.studio-actions > button:hover { border-color: #5b6369; color: #fff; }
.studio-actions .save-button { border-color: #556878; color: #11191d; background: #dbe8ee; }
.studio-actions .user-button { width: 31px; padding: 0; border-radius: 50%; color: #dcd4ff; background: #342d58; }
.studio-mobile-menu { display: none; margin-left: auto; border-color: #34393e; }
.studio-shell { display: grid; grid-template-columns: 58px 248px minmax(0,1fr) 286px; width: 100%; height: calc(100% - 58px); min-width: 0; min-height: 0; }
.tool-rail { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 9px 6px; border-right: 1px solid #303439; background: #15191c; }
.tool-rail button { display: grid; place-items: center; gap: 3px; min-height: 47px; padding: 5px 1px; border: 1px solid transparent; border-radius: 8px; color: #747a7f; background: transparent; }
.tool-rail button:hover,.tool-rail button.is-active { border-color: #374249; color: #eff5f7; background: #20272b; }
.tool-rail button.is-active { color: #7bdaeb; }
.tool-rail span { font-size: 18px; line-height: 1; }.tool-rail small { font-size: 8px; }.rail-spacer { flex: 1; }
.node-panel { min-width: 0; overflow: hidden; border-right: 1px solid #303439; background: #181c1f; transition: width .2s,transform .2s; }
.node-panel.is-collapsed { width: 0; border-right: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 11px 0 15px; border-bottom: 1px solid #2d3236; }
.panel-kicker { color: #617078; font-size: 7px; letter-spacing: .15em; }.panel-head h2 { margin: 4px 0 0; font-size: 15px; }.panel-head button { width: 27px; height: 27px; border: 1px solid #30363a; border-radius: 6px; color: #8b9297; background: #161a1d; font-size: 20px; }
.panel-body { height: calc(100% - 64px); padding: 12px 10px 30px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3a4247 transparent; }
.panel-search { display: flex; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid #31373b; border-radius: 8px; color: #737a7f; background: #14181a; }
.panel-search input { width: 100%; height: 34px; border: 0; outline: 0; color: #e8ebed; background: transparent; font-size: 10px; }.panel-search input::placeholder { color: #656b70; }
.tool-group { margin-top: 17px; }.tool-group h3 { margin: 0 0 8px; color: #81878c; font-size: 9px; font-weight: 700; }
.featured-tool { display: grid; grid-template-columns: 33px minmax(0,1fr) auto; align-items: center; gap: 8px; width: 100%; min-height: 55px; padding: 8px; border: 1px solid #41515a; border-radius: 10px; color: #e8f7fa; background: linear-gradient(120deg,rgba(59,94,108,.33),rgba(40,51,73,.34)); text-align: left; }
.featured-tool > span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; color: #86e5f2; background: #243b42; }.featured-tool div { display: grid; gap: 3px; }.featured-tool strong { font-size: 10px; }.featured-tool small { color: #7f929a; font-size: 8px; }.featured-tool em { padding: 3px 5px; border-radius: 4px; color: #b9f1d0; background: rgba(71,195,122,.13); font-size: 7px; font-style: normal; }
.tool-grid { display: grid; gap: 6px; }.tool-grid button { display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: center; gap: 8px; width: 100%; min-height: 49px; padding: 7px; border: 1px solid #2f3539; border-radius: 8px; color: #d8dcde; background: #1b2023; text-align: left; }
.tool-grid button:hover { border-color: #52636c; background: #20272a; transform: translateX(2px); }.tool-grid i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: #83d8e6; background: #24343a; font-size: 9px; font-style: normal; font-weight: 850; }.tool-grid span { display: grid; gap: 3px; min-width: 0; }.tool-grid strong { font-size: 9px; }.tool-grid small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #71787d; font-size: 7px; }
.canvas-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; outline: 0; cursor: grab; background-color: #101417; background-image: radial-gradient(circle,#3a4247 1px,transparent 1px); background-size: 22px 22px; }
.canvas-stage.is-panning { cursor: grabbing; }.canvas-world { position: absolute; left: 0; top: 0; width: 2200px; height: 1400px; transform-origin: 0 0; }
.edge-layer { position: absolute; inset: 0; overflow: visible; pointer-events: none; }.edge-path { fill: none; stroke: #527c86; stroke-width: 2; marker-end: url(#arrow); opacity: .78; }.edge-path.glow { stroke: rgba(88,194,214,.13); stroke-width: 8; marker-end: none; }
.canvas-node { position: absolute; z-index: 3; overflow: visible; border: 1px solid #454c51; border-radius: 10px; color: #e8ebed; background: #1b2023; box-shadow: 0 15px 33px rgba(0,0,0,.27); cursor: default; user-select: none; }
.canvas-node:hover { border-color: #68747b; }.canvas-node.is-selected { border-color: #5bbfd1; box-shadow: 0 0 0 2px rgba(85,193,211,.16),0 18px 40px rgba(0,0,0,.3); }
.canvas-node header { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; align-items: center; gap: 8px; min-height: 52px; padding: 8px 9px; border-bottom: 1px solid #30363a; cursor: move; }
.node-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: #9fe6d0; background: #233832; font-size: 10px; font-weight: 900; }.node-image .node-icon { color: #ffacd0; background: #452a38; }.node-video .node-icon { color: #ffc08b; background: #443425; }
.canvas-node header div { display: grid; gap: 3px; min-width: 0; }.canvas-node header strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }.canvas-node header small { color: #777f84; font-size: 7px; }.canvas-node header button { align-self: start; width: 25px; height: 24px; border: 0; border-radius: 5px; color: #697177; background: transparent; font-size: 9px; letter-spacing: 0; }.canvas-node header button:hover { color: #fff; background: #2b3236; }
.node-content { min-height: 91px; padding: 13px; color: #aeb4b8; font-size: 10px; line-height: 1.65; }.node-content p { margin: 0; }.node-content.compact { min-height: 67px; }
.node-result { display: grid; gap: 6px; margin-top: 9px; }.node-result img,.node-result video { display: block; width: 100%; max-height: 132px; border-radius: 5px; object-fit: cover; background: #101417; }.node-result audio { display: block; width: 100%; height: 28px; }
.canvas-node footer { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-height: 41px; padding: 7px 9px; border-top: 1px solid #30363a; color: #717a7f; font-size: 7px; }.canvas-node footer button { min-height: 25px; padding: 0 9px; border: 1px solid #415158; border-radius: 6px; color: #96dce7; background: #202d32; font-size: 8px; font-weight: 750; }.canvas-node footer button:hover { background: #263b42; }
.port { position: absolute; z-index: 5; top: 50%; width: 11px; height: 11px; border: 2px solid #1b2023; border-radius: 50%; background: #6ac7d7; box-shadow: 0 0 0 1px #4d8791; }.input-port { left: -6px; }.output-port { right: -6px; }
.node-visual { position: relative; height: 180px; overflow: hidden; background: #1a1e21; }.poster-one { display: grid; place-items: center; background: linear-gradient(145deg,#e9f1f3 0 34%,#d1e9ef 34% 48%,#25333a 48% 100%); }.poster-one::after { content: ""; position: absolute; width: 105px; height: 105px; right: 18px; bottom: -22px; border: 17px solid rgba(68,210,217,.56); border-radius: 50%; }.poster-one div { z-index: 1; width: 100%; padding: 15px; color: #142027; }.poster-one span { font-size: 7px; letter-spacing: .22em; }.poster-one strong { display: block; margin-top: 8px; font: 900 25px/1.02 Inter,sans-serif; }
.poster-two { background: radial-gradient(circle at 50% 30%,rgba(62,190,223,.35),transparent 35%),linear-gradient(155deg,#17262b,#182029); }.poster-two .screen { position: absolute; left: 44px; top: 27px; width: 205px; height: 90px; border: 4px solid #42565f; background: linear-gradient(135deg,#3fd1dc,#7065e6); box-shadow: 0 0 31px rgba(55,194,215,.22); transform: perspective(300px) rotateX(-5deg); }.poster-two .desk { position: absolute; left: 26px; right: 26px; bottom: 23px; height: 31px; border-radius: 50% 50% 4px 4px; background: #303b40; }.poster-two > span { position: absolute; top: 61px; left: 97px; color: #fff; font: 800 12px/1 Inter,sans-serif; letter-spacing: .16em; }
.video-preview { position: relative; display: grid; place-items: center; height: 151px; overflow: hidden; background: radial-gradient(circle at 65% 35%,#29536a,transparent 29%),linear-gradient(145deg,#18262d,#342b44); }.video-preview::before { content: ""; position: absolute; left: 22px; bottom: 0; width: 92px; height: 124px; border-radius: 48% 48% 13px 13px; background: linear-gradient(180deg,#9898a5,#343847); opacity: .55; }.play-button { z-index: 2; display: grid; place-items: center; width: 43px; height: 43px; padding-left: 3px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: #fff; background: rgba(14,19,23,.45); backdrop-filter: blur(8px); }.video-preview div { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 8px; padding: 5px 7px; border-radius: 5px; color: #dfe9ed; background: rgba(8,12,14,.68); }.video-preview small,.video-preview strong { font-size: 7px; }
.canvas-hint { position: absolute; z-index: 8; top: 16px; left: 50%; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #344249; border-radius: 8px; color: #aab3b8; background: rgba(23,29,32,.9); box-shadow: 0 8px 18px rgba(0,0,0,.2); transform: translateX(-50%); font-size: 8px; pointer-events: auto; }.canvas-hint b { color: #d9e4e7; font-size: 9px; }.canvas-hint button { width: 18px; height: 18px; padding: 0; border: 0; color: #727a7f; background: transparent; }
.zoom-controls { position: absolute; z-index: 8; bottom: 19px; left: 17px; display: flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid #343a3e; border-radius: 8px; background: rgba(22,27,30,.94); box-shadow: 0 8px 22px rgba(0,0,0,.25); }.zoom-controls button { width: 29px; height: 28px; border: 0; border-radius: 5px; color: #abb2b6; background: transparent; font-size: 15px; }.zoom-controls button:hover { color: #fff; background: #272f33; }.zoom-controls .zoom-value { width: 44px; font-size: 8px; }.zoom-controls span { width: 1px; height: 18px; margin: 0 3px; background: #394045; }
.canvas-status { position: absolute; z-index: 8; right: 151px; bottom: 19px; display: flex; align-items: center; gap: 11px; padding: 8px 10px; border: 1px solid #343a3e; border-radius: 7px; color: #757d82; background: rgba(22,27,30,.9); font-size: 8px; }.canvas-status span { color: #93a2a8; }.canvas-status i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #4bd486; }.canvas-status em { font-style: normal; }
.minimap { position: absolute; z-index: 8; right: 14px; bottom: 14px; width: 123px; height: 82px; overflow: hidden; border: 1px solid #394146; border-radius: 8px; background: rgba(17,22,25,.93); }.minimap::before { content: ""; position: absolute; inset: 0; opacity: .3; background-image: radial-gradient(circle,#6e7b81 1px,transparent 1px); background-size: 8px 8px; }.mini-node { position: absolute; z-index: 1; width: 18px; height: 12px; border-radius: 2px; background: #6e7a7f; }.mini-node.a { left: 15px; top: 34px; }.mini-node.b { left: 50px; top: 18px; background: #a75f7e; }.mini-node.c { left: 51px; top: 52px; background: #a75f7e; }.mini-node.d { right: 15px; top: 34px; background: #a77a52; }.minimap span { position: absolute; z-index: 2; left: 7px; top: 8px; width: 107px; height: 65px; border: 1px solid #65b9c8; border-radius: 3px; }
.inspector { min-width: 0; overflow: hidden; border-left: 1px solid #303439; background: #181c1f; }.inspector-head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 13px 0 15px; border-bottom: 1px solid #2d3236; }.inspector-head span { color: #617078; font-size: 7px; letter-spacing: .14em; }.inspector-head h2 { margin: 4px 0 0; font-size: 15px; }.inspector-head button { width: 27px; height: 27px; border: 1px solid #30363a; border-radius: 6px; color: #899095; background: #161a1d; font-size: 18px; }
.inspector-empty { display: grid; justify-items: center; align-content: center; height: calc(100% - 64px); padding: 24px; text-align: center; }.inspector-empty > span { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 13px; border: 1px solid #354146; border-radius: 15px; color: #73c5d3; background: #202a2e; font-size: 21px; }.inspector-empty strong { font-size: 11px; }.inspector-empty p { margin: 8px 0 0; color: #737a7f; font-size: 9px; line-height: 1.6; }
.inspector-form { height: calc(100% - 64px); padding: 15px; overflow-y: auto; }.inspector-form label { display: grid; gap: 6px; margin-bottom: 13px; color: #a8aeb2; font-size: 9px; font-weight: 750; }.inspector-form input,.inspector-form select,.inspector-form textarea { width: 100%; border: 1px solid #343b40; border-radius: 7px; outline: 0; color: #e9ecee; background: #14181b; font-size: 9px; }.inspector-form input,.inspector-form select { height: 36px; padding: 0 9px; }.inspector-form textarea { min-height: 115px; padding: 9px; resize: vertical; line-height: 1.6; }.inspector-form input:focus,.inspector-form select:focus,.inspector-form textarea:focus { border-color: #4e8b96; }.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.run-button { width: 100%; height: 40px; border: 0; border-radius: 8px; color: #0c1b1e; background: linear-gradient(120deg,#80cbd7,#67d6c1); font-size: 10px; font-weight: 900; }.run-button:hover { filter: brightness(1.08); }.inspector-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 9px; }.inspector-actions button { height: 34px; border: 1px solid #343b40; border-radius: 7px; color: #a8afb3; background: #191e21; font-size: 9px; }.inspector-actions .danger { color: #e89696; border-color: #563b3b; }
.node-menu { position: fixed; z-index: 80; display: grid; min-width: 130px; padding: 5px; border: 1px solid #394045; border-radius: 8px; background: #1c2124; box-shadow: 0 13px 35px rgba(0,0,0,.35); }.node-menu[hidden] { display: none; }.node-menu button { padding: 8px 10px; border: 0; border-radius: 5px; color: #c2c7ca; background: transparent; font-size: 9px; text-align: left; }.node-menu button:hover { color: #fff; background: #293136; }.node-menu .danger { color: #e99090; }
.toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; max-width: 340px; padding: 10px 14px; border: 1px solid #40565e; border-radius: 8px; color: #e4f3f6; background: #202a2e; box-shadow: 0 14px 36px rgba(0,0,0,.36); font-size: 10px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s; }.toast.is-visible { opacity: 1; transform: translateY(0); }
.modal-backdrop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.68); backdrop-filter: blur(8px); }.modal-backdrop[hidden] { display: none; }.auth-modal { position: relative; width: min(410px,100%); padding: 29px 27px 25px; border: 1px solid #393d40; border-radius: 12px; background: #171919; box-shadow: 0 24px 70px rgba(0,0,0,.55); }.modal-close { position: absolute; top: 11px; right: 12px; width: 29px; height: 29px; border: 0; color: #8e9294; background: transparent; font-size: 21px; }.auth-logo { display: grid; place-items: center; width: 41px; height: 41px; margin-bottom: 13px; border-radius: 11px; color: #fff; background: linear-gradient(135deg,#6d5df4,#28c2df); font-size: 20px; font-weight: 900; }.modal-kicker { color: #8e86c9; font-size: 8px; font-weight: 850; letter-spacing: .16em; }.auth-modal h2 { margin: 8px 0; font-size: 22px; }.auth-modal > p { margin: 0 0 18px; color: #8d9092; font-size: 11px; }.auth-modal form { display: grid; gap: 12px; }.auth-modal label { display: grid; gap: 6px; color: #bcbebe; font-size: 10px; }.auth-modal input { width: 100%; height: 40px; padding: 0 11px; border: 1px solid #343738; border-radius: 7px; outline: 0; color: #fff; background: #111313; font-size: 11px; }.auth-modal input:focus { border-color: #5b7982; }.auth-submit { height: 41px; border: 0; border-radius: 7px; color: #13191b; background: #f0f1f1; font-size: 11px; font-weight: 900; }

@media(max-width:1080px){.site-nav{gap:12px;padding-inline:16px}.site-links a{padding-inline:7px;font-size:10px}.benefit-card>button{margin-right:170px}.studio-shell{grid-template-columns:54px 220px minmax(0,1fr)}.inspector{position:absolute;z-index:30;right:0;top:58px;bottom:0;width:286px;box-shadow:-15px 0 35px rgba(0,0,0,.25)}.inspector.is-hidden{transform:translateX(103%)}.canvas-status{display:none}}
@media(max-width:800px){.site-links{display:none}.nav-menu{display:block}.site-nav.nav-open .site-links{position:absolute;top:58px;right:12px;left:12px;display:grid;padding:7px;border:1px solid #343738;background:#131515;box-shadow:0 18px 35px rgba(0,0,0,.4)}.site-nav.nav-open .site-links a{padding:11px}.canvas-home{width:calc(100% - 24px);margin-top:25px}.benefit-card>button{margin-right:0}.benefit-grid{grid-template-columns:1fr}.canvas-card-grid{grid-template-columns:1fr 1fr}.studio-actions,.top-history,.top-divider{display:none}.studio-mobile-menu{display:block}.canvas-title-wrap{min-width:0}.canvas-title-wrap input{width:min(190px,43vw)}.studio-shell{grid-template-columns:51px minmax(0,1fr)}.node-panel{position:absolute;z-index:35;top:58px;bottom:0;left:51px;width:248px;box-shadow:15px 0 35px rgba(0,0,0,.3);transform:translateX(-125%)}.node-panel.is-mobile-open{transform:translateX(0)}.inspector{top:58px}.minimap{display:none}}
@media(max-width:520px){.brand-copy small{display:none}.nav-login{padding-inline:10px;font-size:10px}.benefit-card{align-items:flex-start;flex-direction:column}.benefit-small{padding-right:105px}.canvas-library .library-head{align-items:flex-start;flex-direction:column}.library-actions{width:100%}.library-actions button{flex:1}.canvas-card-grid{grid-template-columns:1fr}.studio-brand>span:last-child{display:none}.canvas-title-wrap input{width:45vw}.inspector{width:min(286px,calc(100vw - 51px))}.canvas-hint{display:none}}
