:root{
  --blue:#0b66ff;
  --blue2:#287fff;
  --blue3:#80b5ff;
  --ink:#071332;
  --muted:#536784;
  --line:#dbe7f8;
  --soft:#f3f8ff;
  --card:#ffffff;
  --pink:#f242a8;
  --green:#24a66a;
  --warn:#f59b22;
  --danger:#e34558;
  --shadow:0 18px 50px rgba(18,70,140,.13);
  --shadow2:0 8px 24px rgba(39,92,160,.12);
  --radius:16px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:linear-gradient(180deg,#f4f9ff 0,#f8fbff 48%,#fff 100%);min-width:320px}
body.contrast{--ink:#031021;--muted:#314a6e;--line:#bad3f4;--soft:#e8f3ff;--shadow:0 20px 60px rgba(0,48,120,.2);--shadow2:0 10px 28px rgba(0,60,150,.16)}
a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,label[for]{cursor:pointer}svg{display:block;fill:currentColor}.site-header{height:73px;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);border-bottom:1px solid #dbe8fb;position:sticky;top:0;z-index:50}.header-inner{height:100%;max-width:1510px;margin:0 auto;display:flex;align-items:center;gap:28px;padding:0 28px}.brand{display:flex;align-items:center;gap:14px;min-width:300px}.brand-mark{width:60px;height:60px;filter:drop-shadow(0 8px 12px rgba(0,90,255,.22))}.brand-copy{display:flex;flex-direction:column;line-height:1}.brand-copy strong{font-size:27px;letter-spacing:.25em}.brand-copy small{margin-top:7px;color:#8a9cb8;font-size:12px;font-weight:900;letter-spacing:.34em}.top-nav{display:flex;align-items:center;gap:34px;margin-left:auto;font-weight:900;color:#071332}.top-nav a{white-space:nowrap}.header-actions{display:flex;align-items:center;gap:18px;border-left:1px solid #d6e2f2;padding-left:28px}.icon-btn{width:34px;height:34px;border:0;background:transparent;color:#0b1738;display:grid;place-items:center}.icon-btn svg{width:25px}.sell-btn{height:45px;padding:0 24px;border-radius:12px;background:linear-gradient(135deg,#0c63ff,#0754ef);color:#fff;font-weight:950;display:flex;align-items:center;gap:10px;box-shadow:0 12px 24px rgba(0,84,239,.26)}.sell-btn svg{width:19px}.hero{position:relative;min-height:390px;overflow:hidden;border-bottom:1px solid #dce9f9;background:linear-gradient(180deg,#ddecff 0%,#f3f8ff 100%)}.hero-sky{position:absolute;inset:0;background:radial-gradient(circle at 16% 20%,rgba(255,255,255,.95) 0 11%,transparent 28%),radial-gradient(circle at 80% 92%,rgba(255,255,255,.85) 0 13%,transparent 25%),linear-gradient(180deg,#bddcff 0,#eef7ff 79%,#e9f4ff 100%)}.hero-sky:after{content:"";position:absolute;left:-2%;right:-2%;bottom:-2px;height:92px;background:radial-gradient(ellipse at 7% 82%,rgba(255,255,255,.95) 0 15%,transparent 34%),radial-gradient(ellipse at 22% 70%,rgba(255,255,255,.9) 0 13%,transparent 31%),radial-gradient(ellipse at 43% 78%,rgba(255,255,255,.95) 0 18%,transparent 35%),radial-gradient(ellipse at 68% 70%,rgba(255,255,255,.9) 0 18%,transparent 35%),radial-gradient(ellipse at 91% 74%,rgba(255,255,255,.95) 0 16%,transparent 34%)}.blueprint-ring{position:absolute;right:230px;top:-126px;width:520px;height:520px;border-radius:50%;opacity:.38;background:repeating-conic-gradient(from 0deg,rgba(255,255,255,.45) 0deg 1deg,transparent 1deg 4deg);mask:radial-gradient(circle,transparent 0 40%,#000 41% 42%,transparent 43% 51%,#000 52% 53%,transparent 54% 59%,#000 60% 61%,transparent 62%)}.hero-inner{position:relative;max-width:1510px;margin:0 auto;min-height:390px;padding:39px 28px 0}.hero-copy{position:relative;z-index:3;width:min(620px,100%)}.eyebrow,.section-kicker{display:inline-flex;align-items:center;gap:8px;text-transform:uppercase;letter-spacing:.02em;color:#0863ff;font-size:13px;font-weight:1000}.eyebrow{height:31px;padding:0 16px;border-radius:18px;background:rgba(255,255,255,.76);box-shadow:0 4px 18px rgba(39,98,178,.11);border:1px solid #d7e8ff}.eyebrow svg,.section-kicker svg{width:16px}.hero h1{font-size:58px;line-height:.96;margin:16px 0 13px;letter-spacing:-.045em;font-weight:1000;color:#071435}.hero p{font-size:18px;line-height:1.45;margin:0;color:#071435;font-weight:650;letter-spacing:.01em;max-width:580px}.hero-buttons{display:flex;gap:18px;margin-top:23px;flex-wrap:wrap}.primary-btn,.secondary-btn,.outline-btn,.mini-btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;border-radius:10px;font-weight:950;white-space:nowrap;border:0}.primary-btn{min-height:47px;padding:0 24px;background:linear-gradient(135deg,#0e6aff,#0556f0);color:#fff;box-shadow:0 13px 24px rgba(0,90,255,.25)}.primary-btn span{font-size:25px;line-height:0}.secondary-btn{min-height:47px;padding:0 22px;color:#075dff;background:rgba(255,255,255,.72);border:1px solid #cadcf3;box-shadow:0 9px 18px rgba(33,82,149,.08)}.secondary-btn svg{width:18px}.outline-btn{min-height:40px;padding:0 19px;background:#fff;border:1px solid #ccdff6;color:#075dff;box-shadow:0 6px 16px rgba(52,100,170,.07);font-size:13px}.hero-card{position:absolute;z-index:4;right:32px;top:58px;width:222px;padding:18px;border-radius:17px;background:rgba(255,255,255,.72);border:1px solid rgba(188,210,238,.88);box-shadow:0 20px 48px rgba(48,95,160,.18);backdrop-filter:blur(18px);display:grid;gap:22px}.hero-card-row{display:flex;align-items:center;gap:12px}.round-icon{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#4ea1ff,#0b62ff);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 6px 12px rgba(0,90,255,.24);flex:0 0 auto}.round-icon svg{width:17px}.hero-card strong{display:block;font-size:13px;font-weight:950}.hero-card small{display:block;margin-top:3px;color:#416084;font-size:11px;font-weight:700}.category-strip{position:relative;z-index:5;max-width:1482px;min-height:82px;margin:-48px auto 22px;padding:0 18px;background:rgba(255,255,255,.84);border:1px solid #d6e3f5;border-radius:14px;box-shadow:var(--shadow2);display:grid;grid-template-columns:repeat(5,1fr);align-items:center;backdrop-filter:blur(18px)}.category{height:62px;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#071638;position:relative;cursor:pointer}.category:not(:last-child)::after{content:"";position:absolute;right:0;height:48px;width:1px;background:#dce7f6}.category b{font-size:13px}.cat-icon{width:35px;height:35px;color:#0f68ff;display:grid;place-items:center;filter:drop-shadow(0 5px 8px rgba(0,91,255,.2))}.cat-icon svg{width:30px}.category.active .cat-icon{background:linear-gradient(180deg,#ecf5ff,#dfeeff);border-radius:11px;box-shadow:inset 0 1px 0 #fff}.content-zone{max-width:1510px;margin:0 auto;padding:0 28px}.workspace{display:grid;grid-template-columns:294px minmax(420px,1fr) 354px;gap:18px;align-items:start}.panel,.report-card,.export-card{background:rgba(255,255,255,.9);border:1px solid #d8e5f6;border-radius:16px;box-shadow:0 7px 22px rgba(43,91,154,.09)}.left-panel,.inspector-panel{padding:14px;display:grid;gap:14px}.drop-zone{min-height:218px;border:1px dashed #accaf0;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#eef6ff);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:18px;color:#31506f}.drop-zone.dragover{border-color:var(--blue);background:#eaf4ff;box-shadow:inset 0 0 0 2px rgba(11,102,255,.12)}.drop-zone>svg{width:55px;color:#0b66ff;filter:drop-shadow(0 10px 12px rgba(0,90,255,.2))}.drop-zone strong{font-size:18px;color:#071332}.drop-zone span{font-size:12px;font-weight:750;line-height:1.45;max-width:220px;color:#5b7192}.control-card{border:1px solid #dbe7f8;border-radius:14px;background:#fff;padding:14px;box-shadow:0 5px 16px rgba(62,107,168,.06)}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.section-kicker.dark{color:#0a1d3f}.mini-text{border:0;background:#edf6ff;color:#075dff;border-radius:9px;padding:6px 10px;font-size:12px;font-weight:950}.select-input,.field input,.field select{width:100%;height:42px;border:1px solid #cbdcf2;border-radius:11px;background:#fff;padding:0 12px;color:#163059;font-weight:750;outline:0}.select-input:focus,.field input:focus,.field select:focus{border-color:#7bb1ff;box-shadow:0 0 0 4px rgba(11,102,255,.11)}.help-text{font-size:12px;color:#59718f;font-weight:650;line-height:1.45;margin:10px 0 0}.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.stat{background:#fff;border:1px solid #d8e5f6;border-radius:14px;padding:13px;display:flex;flex-direction:column;gap:4px;box-shadow:0 6px 18px rgba(43,91,154,.07)}.stat strong{font-size:22px;font-weight:1000;letter-spacing:-.03em}.stat span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#6780a6;font-weight:900}.stat.mini strong{font-size:17px}.badge-soft{min-width:28px;text-align:center;background:#f2f7ff;border:1px solid #d5e5fa;color:#075dff;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:950}.issue-list{display:grid;gap:8px;max-height:270px;overflow:auto;padding-right:2px}.issue{border:1px solid #dce8f7;border-radius:11px;padding:10px;background:#f9fcff}.issue strong{display:flex;align-items:center;gap:6px;font-size:12px}.issue strong:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--blue)}.issue.warn strong:before{background:var(--warn)}.issue.danger strong:before{background:var(--danger)}.issue.good strong:before{background:var(--green)}.issue p{font-size:12px;line-height:1.45;color:#536784;font-weight:650;margin:5px 0 0}.empty-state{color:#7186a8;font-size:13px;font-weight:750;line-height:1.45;margin:0}.viewport-panel{overflow:hidden}.viewport-toolbar{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;border-bottom:1px solid #dce8f7;background:linear-gradient(180deg,#fff,#f8fbff)}.viewport-toolbar h2{margin:5px 0 0;font-size:22px;letter-spacing:-.02em}.toolbar-actions,.button-row,.filter-pills,.export-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.tool-btn,.pill{height:36px;border:1px solid #cbdcf2;background:#fff;color:#244466;border-radius:10px;font-size:12px;font-weight:950;padding:0 12px;box-shadow:0 5px 13px rgba(52,100,170,.06)}.tool-btn.active,.pill.active{background:linear-gradient(135deg,#0d66ff,#0755ef);color:#fff;border-color:#0755ef}.viewport-wrap{position:relative;height:690px;min-height:460px;background:radial-gradient(circle at 50% 46%,#f7fbff 0 18%,#e4f0ff 55%,#cfe4ff 100%);overflow:hidden}#viewer{display:block;width:100%;height:100%}.viewport-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#58708f;pointer-events:none;padding:32px}.viewport-empty img{width:102px;filter:drop-shadow(0 18px 24px rgba(0,90,255,.18));opacity:.88}.viewport-empty strong{font-size:28px;color:#071332;margin-top:12px;font-weight:1000}.viewport-empty span{max-width:430px;line-height:1.5;font-weight:750;margin-top:8px}.hud-panel{position:absolute;left:14px;bottom:14px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.78);backdrop-filter:blur(16px);border:1px solid rgba(188,210,238,.88);box-shadow:0 12px 26px rgba(48,95,160,.16);display:grid;gap:3px;min-width:170px}.hud-panel span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#075dff;font-weight:1000}.hud-panel b{font-size:17px}.hud-panel small{font-weight:800;color:#607995}.tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;background:#eef6ff;border:1px solid #d8e5f6;border-radius:14px;padding:6px}.tab{height:36px;border:0;border-radius:10px;background:transparent;color:#536784;font-size:12px;font-weight:950}.tab.active{background:#fff;color:#075dff;box-shadow:0 5px 13px rgba(52,100,170,.08)}.tab-panel{display:none}.tab-panel.active{display:grid;gap:13px}.field{display:grid;gap:7px}.field span,.check span{font-size:12px;color:#244466;font-weight:900}.field em{font-style:normal;font-size:12px;color:#075dff;font-weight:950}.field input[type=range]{height:auto;padding:0;border:0;box-shadow:none}.field:has(input[type=range]){grid-template-columns:1fr 52px;align-items:center}.field:has(input[type=range]) span{grid-column:1/-1}.button-row.compact .tool-btn{flex:1;min-width:92px}.check{display:flex;align-items:flex-start;gap:10px;padding:10px;border:1px solid #dce8f7;border-radius:12px;background:#fbfdff}.check input{margin-top:2px}.full{width:100%;justify-self:stretch}.material-list{display:grid;gap:9px;max-height:220px;overflow:auto}.material-item{border:1px solid #dce8f7;border-radius:12px;background:#fbfdff;padding:10px}.material-item strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.material-item span{display:block;margin-top:5px;font-size:11px;color:#607995;font-weight:750}.trust-rail{max-width:1510px;margin:24px auto 0;padding:0 28px;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.trust-item{min-height:86px;background:#fff;border:1px solid #d8e5f6;border-radius:14px;box-shadow:var(--shadow2);padding:17px;display:flex;align-items:center;gap:14px}.trust-item svg{width:31px;color:#0b66ff;flex:0 0 auto}.trust-item strong{display:block;font-size:14px}.trust-item small{display:block;margin-top:4px;color:#6780a6;font-weight:750}.analysis-zone,.export-zone{max-width:1510px;margin:26px auto 0;padding:0 28px}.assets-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:15px}.assets-head h2{font-size:29px;margin:8px 0 0;letter-spacing:-.03em}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.report-card{padding:17px}.report-card.wide{grid-column:1/-1}.report-card h3{margin:0 0 12px;font-size:18px}.kv-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kv{border:1px solid #dce8f7;border-radius:12px;padding:10px;background:#fbfdff}.kv span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#6780a6;font-weight:900}.kv strong{display:block;margin-top:4px;font-size:16px}.hierarchy-list{max-height:260px;overflow:auto;border:1px solid #dce8f7;border-radius:12px;background:#fbfdff;padding:10px}.node-row{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:750;color:#244466;line-height:1.8;white-space:nowrap}.node-row b{font-weight:1000;color:#071332}.node-row .type{font-size:10px;color:#075dff;background:#edf6ff;border:1px solid #d5e5fa;border-radius:7px;padding:2px 5px}.export-card{padding:22px;display:flex;align-items:center;justify-content:space-between;gap:22px;background:linear-gradient(135deg,#ffffff 0,#f4f9ff 100%)}.export-card h2{font-size:30px;line-height:1;margin:10px 0}.export-card p{margin:0;max-width:650px;color:#536784;font-weight:750;line-height:1.5}.site-footer{margin-top:42px;background:#071332;color:#d8e9ff}.footer-inner{max-width:1510px;margin:0 auto;padding:36px 28px;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:28px}.footer-brand img{width:56px;filter:drop-shadow(0 8px 13px rgba(0,90,255,.35))}.footer-brand strong{display:block;margin-top:10px;font-size:25px;letter-spacing:.22em}.footer-brand p{max-width:370px;color:#8fa9ce;font-weight:650;line-height:1.5}.site-footer h4{margin:0 0 14px;color:white}.site-footer a{display:block;margin:9px 0;color:#9bb3d3;font-weight:750}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);max-width:1510px;margin:0 auto;padding:16px 28px;display:flex;justify-content:space-between;gap:18px;color:#829cc0;font-weight:750;font-size:13px}.toast{position:fixed;right:24px;bottom:24px;z-index:80;max-width:380px;background:#071332;color:white;border-radius:14px;padding:13px 15px;box-shadow:0 18px 40px rgba(7,19,50,.22);transform:translateY(120px);opacity:0;transition:.25s ease;font-weight:800}.toast.show{transform:translateY(0);opacity:1}.toast.good{background:#0b7c58}.toast.warn{background:#9b6110}.toast.danger{background:#a61f35}@media(max-width:1200px){.workspace{grid-template-columns:280px minmax(360px,1fr)}.inspector-panel{grid-column:1/-1;grid-template-columns:260px 1fr}.inspector-panel .tabs{align-self:start}.tab-panel.active{grid-column:2}.hero-card{right:28px}.trust-rail{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){.site-header{height:auto}.header-inner{min-height:73px;flex-wrap:wrap;padding:10px 18px}.brand{min-width:auto}.top-nav{order:3;width:100%;justify-content:space-between;margin:0;gap:10px;font-size:13px}.header-actions{margin-left:auto}.hero h1{font-size:43px}.hero-card{position:relative;right:auto;top:auto;width:auto;margin:24px 0 0}.category-strip{grid-template-columns:repeat(2,1fr);margin:16px 18px}.category:nth-child(2n)::after{display:none}.workspace{grid-template-columns:1fr;padding:0 18px}.viewport-wrap{height:520px}.inspector-panel{grid-template-columns:1fr}.tab-panel.active{grid-column:auto}.trust-rail,.report-grid{grid-template-columns:1fr;padding:0 18px}.analysis-zone,.export-zone{padding:0 18px}.export-card,.assets-head{align-items:flex-start;flex-direction:column}.footer-inner{grid-template-columns:1fr 1fr}.footer-bottom{flex-direction:column}.hero-inner{padding:34px 18px 28px}.content-zone{padding:0 18px}}@media(max-width:560px){.brand-copy strong{font-size:20px}.brand-mark{width:48px;height:48px}.header-actions{border-left:0;padding-left:0}.sell-btn{padding:0 14px}.hero h1{font-size:36px}.hero p{font-size:16px}.primary-btn,.secondary-btn{width:100%}.category-strip{grid-template-columns:1fr}.category::after{display:none!important}.viewport-toolbar{align-items:flex-start;flex-direction:column}.viewport-wrap{height:430px}.stats-grid,.kv-list,.footer-inner{grid-template-columns:1fr}.trust-rail{gap:10px}.export-actions{width:100%}.export-actions>*{width:100%}}


/* --------------------------------------------------------------------------
   TitanForge Compact Workspace Fix
   Purpose: remove marketing header/hero bulk and keep the editor in view.
   -------------------------------------------------------------------------- */
html,
body {
  height: 100%;
  overflow: hidden;
}
body {
  background: linear-gradient(180deg, #eef7ff 0, #f7fbff 52%, #eef6ff 100%);
}
body.dark {
  background: #071332;
}
.site-header {
  height: 50px;
  min-height: 50px;
  box-shadow: 0 1px 0 rgba(188, 210, 238, .72);
}
.header-inner {
  min-height: 50px;
  padding: 0 14px;
  gap: 10px;
  max-width: none;
}
.brand {
  gap: 8px;
  min-width: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
}
.brand-copy strong {
  font-size: 20px;
  letter-spacing: .18em;
  line-height: 1;
}
.brand-copy small {
  margin-top: 1px;
  font-size: 8px;
  letter-spacing: .28em;
}
.top-nav {
  display: none;
}
.header-actions {
  margin-left: auto;
  padding-left: 10px;
  gap: 8px;
}
.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 12px;
}
.sell-btn {
  height: 36px;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  font-size: 13px;
  cursor: pointer;
}
.sell-btn svg {
  width: 17px;
}
main {
  height: calc(100dvh - 50px);
  overflow: hidden;
}
.hero,
.trust-rail,
.analysis-zone,
.export-zone,
.site-footer {
  display: none !important;
}
.category-strip {
  position: relative;
  z-index: 10;
  height: 42px;
  max-width: none;
  margin: 8px 10px 0;
  padding: 3px;
  grid-template-columns: repeat(5, minmax(96px, 1fr));
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(48, 95, 160, .10);
}
.category {
  height: 34px;
  min-height: 34px;
  gap: 6px;
  border-radius: 10px;
  font-size: 12px;
}
.category::after {
  display: none;
}
.cat-icon {
  width: 19px;
  height: 19px;
  box-shadow: none;
}
.cat-icon svg {
  width: 13px;
}
.category.active {
  background: linear-gradient(135deg, #0d66ff, #0755ef);
  color: #fff;
  box-shadow: 0 5px 13px rgba(11, 102, 255, .22);
}
.category.active .cat-icon {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.content-zone.workspace {
  max-width: none;
  height: calc(100dvh - 100px);
  min-height: 0;
  margin: 0;
  padding: 10px;
  display: grid;
  grid-template-columns: 260px minmax(360px, 1fr) 330px;
  gap: 10px;
  align-items: stretch;
  overflow: hidden;
}
.panel {
  min-height: 0;
  border-radius: 14px;
  box-shadow: 0 9px 22px rgba(48, 95, 160, .10);
}
.left-panel,
.inspector-panel {
  padding: 10px;
  gap: 10px;
  overflow: auto;
}
.left-panel {
  align-content: start;
}
.drop-zone {
  min-height: 112px;
  padding: 12px;
  gap: 6px;
  border-radius: 12px;
}
.drop-zone svg {
  width: 34px;
  height: 34px;
  margin-bottom: 0;
}
.drop-zone strong {
  font-size: 17px;
}
.drop-zone span {
  font-size: 11px;
  line-height: 1.25;
}
.drop-zone .outline-btn {
  min-height: 30px;
  padding: 0 12px;
  font-size: 11px;
  border-radius: 9px;
  margin-top: 2px;
}
.control-card,
.issue-card {
  padding: 10px;
  border-radius: 12px;
}
.card-head {
  margin-bottom: 8px;
}
.section-kicker {
  font-size: 10px;
  letter-spacing: .08em;
}
.select-input,
input,
select,
textarea {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 12px;
}
.help-text {
  display: none;
}
.stats-grid {
  gap: 8px;
}
.stat.mini {
  min-height: 58px;
  padding: 9px 10px;
  border-radius: 12px;
}
.stat.mini strong {
  font-size: 18px;
}
.stat.mini span {
  margin-top: 3px;
  font-size: 10px;
}
.issue-list {
  max-height: calc(100dvh - 496px);
  min-height: 74px;
}
.issue {
  padding: 8px;
  border-radius: 10px;
}
.issue p {
  font-size: 11px;
}
.viewport-panel {
  display: grid;
  grid-template-rows: 56px minmax(0, 1fr);
}
.viewport-toolbar {
  min-height: 56px;
  padding: 9px 12px;
}
.viewport-toolbar h2 {
  margin: 2px 0 0;
  font-size: 18px;
}
.toolbar-actions,
.button-row,
.filter-pills,
.export-actions {
  gap: 6px;
}
.tool-btn,
.pill {
  height: 32px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 11px;
}
.viewport-wrap {
  height: auto;
  min-height: 0;
}
.viewport-empty img {
  width: 78px;
}
.viewport-empty strong {
  font-size: 22px;
}
.viewport-empty span {
  font-size: 13px;
  max-width: 360px;
}
.hud-panel {
  left: 10px;
  bottom: 10px;
  padding: 9px 10px;
  border-radius: 12px;
  min-width: 148px;
}
.hud-panel b {
  font-size: 14px;
}
.hud-panel small,
.hud-panel span {
  font-size: 10px;
}
.tabs {
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  position: sticky;
  top: 0;
  z-index: 2;
}
.tab {
  height: 31px;
  border-radius: 9px;
  font-size: 11px;
}
.tab-panel.active {
  gap: 10px;
}
.field,
.check {
  gap: 5px;
}
.field span,
.check span {
  font-size: 11px;
}
.button-row.compact .tool-btn {
  min-width: 0;
  flex: 1 1 80px;
}
.primary-btn,
.secondary-btn,
.outline-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12px;
}
.check {
  padding: 8px;
  border-radius: 10px;
}
.material-list {
  max-height: 170px;
}
.toast {
  right: 14px;
  bottom: 14px;
}
@media (max-width: 1200px) {
  html,
  body,
  main {
    overflow: auto;
  }
  .content-zone.workspace {
    height: auto;
    min-height: calc(100dvh - 100px);
    grid-template-columns: 230px minmax(320px, 1fr);
    overflow: visible;
  }
  .inspector-panel {
    grid-column: 1 / -1;
    grid-template-columns: 220px 1fr;
  }
  .tab-panel.active {
    grid-column: 2;
  }
  .viewport-wrap {
    height: 560px;
  }
}
@media (max-width: 860px) {
  .site-header,
  .header-inner {
    height: 48px;
    min-height: 48px;
  }
  .brand-copy strong {
    font-size: 17px;
  }
  .brand-copy small {
    display: none;
  }
  .category-strip {
    grid-template-columns: repeat(5, minmax(62px, 1fr));
    overflow-x: auto;
  }
  .category b {
    display: none;
  }
  .content-zone.workspace {
    grid-template-columns: 1fr;
    padding: 8px;
  }
  .left-panel,
  .inspector-panel {
    overflow: visible;
  }
  .inspector-panel {
    grid-template-columns: 1fr;
  }
  .tab-panel.active {
    grid-column: auto;
  }
  .viewport-wrap {
    height: 500px;
  }
}
@media (max-width: 560px) {
  .sell-btn {
    padding: 0 10px;
    font-size: 0;
  }
  .sell-btn svg {
    margin: 0;
  }
  .viewport-toolbar {
    min-height: auto;
    align-items: flex-start;
  }
  .viewport-wrap {
    height: 420px;
  }
}

/* --------------------------------------------------------------------------
   TitanForge Compact Profile Rail Icon Fix
   Purpose: keep Web Game / Mobile / Desktop / Marketplace / Preserve icons
   visible by placing each icon inline to the left of its label.
   -------------------------------------------------------------------------- */
.category-strip {
  height: 44px;
  min-height: 44px;
  margin: 6px 10px 0;
  padding: 4px;
  align-items: center;
  overflow: visible;
}
.category {
  height: 36px;
  min-height: 36px;
  padding: 0 12px;
  display: flex;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  overflow: visible;
}
.category b {
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}
.cat-icon {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  filter: none;
  transform: none;
  overflow: visible;
}
.cat-icon svg {
  width: 14px !important;
  height: 14px !important;
}
.category.active .cat-icon {
  background: rgba(255, 255, 255, .18);
  color: #fff;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28);
}
@media (max-width: 860px) {
  .category-strip {
    grid-template-columns: repeat(5, minmax(116px, 1fr));
    overflow-x: auto;
    overflow-y: visible;
  }
  .category b {
    display: inline-block;
  }
}
@media (max-width: 560px) {
  .category-strip {
    grid-template-columns: repeat(5, minmax(118px, 1fr));
  }
  .category::after {
    display: none !important;
  }
}
