@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
/* Download stays in the header's normal flow on desktop and mobile. */
.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.plugin-download{display:inline-flex;justify-content:center;align-items:center;min-height:40px;padding:10px 18px;background:#a8ed19;color:#15210f;font-size:13px;font-weight:700;text-decoration:none;border-radius:8px}.plugin-download:hover{background:#c7fa59}.plugin-popup{padding:0;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #658a38;border-radius:16px;background:#102119;color:#f1f5e9;box-shadow:0 24px 90px #0008}.plugin-popup::backdrop{background:#020905ad;backdrop-filter:blur(3px)}.plugin-popup>img{display:block;width:100%;height:185px;object-fit:cover}.popup-copy{padding:24px;display:grid;gap:14px}.popup-copy h2{font-size:24px}.popup-copy p{font-size:14px}.plugin-kicker{color:#b7ed64;font-size:10px;letter-spacing:1.6px;font-weight:700}.popup-copy .plugin-authors{font-size:12px}.popup-close{position:absolute;right:10px;top:10px;width:38px;background:#102119e8;font-size:25px}.popup-later{width:100%}@media(max-width:650px){body header{height:auto;min-height:86px;flex-wrap:wrap;padding:12px 14px;gap:12px}.header-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.header-actions #export{max-width:none}.plugin-download{font-size:12px}}
:root{font-family:'DM Sans',sans-serif;color:#f1f5e9;background:#08120f;color-scheme:dark;--line:#2b4038;--muted:#a1b5ac;--green:#a8ed19}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);background:#1b302a;color:#f1f5e9;border-radius:8px;min-height:38px}button:hover{background:#2b4638}button:disabled{opacity:.3;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--green);outline-offset:3px}header{height:84px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 3.5%;gap:20px}.brand{font-family:'Space Grotesk',sans-serif;display:flex;align-items:center;gap:10px;font-size:26px;font-weight:700;color:inherit;text-decoration:none}.brandmark{color:var(--green);font-size:36px}.beta{font:500 11px 'DM Sans',sans-serif;letter-spacing:2px;color:var(--muted);margin-left:10px}.header-note{font-size:14px;color:var(--muted)}.outline{padding:0 16px;background:transparent}main{max-width:1700px;margin:auto;padding:36px 3.5% 0}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.eyebrow,.mini-label{font-size:12px;font-weight:600;letter-spacing:1.5px;color:var(--muted)}.eyebrow{color:var(--green);font-size:11px}h1{font:500 clamp(28px,3vw,40px) 'Space Grotesk',sans-serif;letter-spacing:-1.5px;margin:10px 0}h1 span{color:var(--green)}p{color:var(--muted);font-size:15px;line-height:1.6;margin:0}.live{color:var(--muted);font-size:13px;display:flex;align-items:center;gap:8px}.live span{width:6px;height:6px;border-radius:50%;background:var(--green)}.workspace{display:grid;grid-template-columns:255px minmax(320px,1fr) 290px;gap:18px;align-items:start}.panel{border:1px solid var(--line);border-radius:14px;background:#11221e;overflow:hidden}.settings{padding:22px}.section-title{display:flex;gap:10px;align-items:center}h2{font-size:15px;margin:0;font-weight:600}.step{font:12px 'Space Grotesk',sans-serif;color:#9aa2b1;border:1px solid #395347;border-radius:5px;padding:4px}.shapes{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:22px 0 26px}.shape{height:78px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:13px;background:#172c25}.shape svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.5}.shape.active{color:var(--green);border-color:#9fda31;background:#223c1c}.field-title{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin:22px 0 12px}.field-title span{font-size:12px;color:var(--muted)}.number-row{display:flex;gap:8px}.number-row input{min-width:0;width:100%;text-align:center;font:24px 'Space Grotesk',sans-serif}.number-row button{width:38px;flex-shrink:0}input[type=number],select{border:1px solid #365044;border-radius:8px;padding:10px;background:#0b1915;color:#eff3f7;width:100%}input[type=number]::-webkit-inner-spin-button{appearance:none}input[type=range]{accent-color:var(--green);width:100%;cursor:pointer;margin:18px 0 6px}input[type=checkbox]{accent-color:var(--green)}.range-labels{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}select{font-size:13px;padding:12px 6px}.info{font-size:12px;color:#a2aab7;line-height:1.6;margin-top:16px}.settings-bottom{border-top:1px solid var(--line);margin-top:26px;padding-top:22px}.settings-bottom strong{display:block;font:22px 'Space Grotesk',sans-serif;margin-top:10px}.plan-head{display:flex;justify-content:space-between;align-items:center;padding:21px 22px;border-bottom:1px solid var(--line);gap:10px}.chip,.tag{font-size:12px;color:var(--green);padding:5px 9px;background:#263d1b;border-radius:5px;white-space:nowrap}.plan-tools{display:flex;align-items:center;gap:16px;padding:12px 18px;font-size:12px;color:#b2bac7;flex-wrap:wrap}.plan-tools label{display:flex;gap:5px;align-items:center}.zoom{margin-left:auto;display:flex;align-items:center;gap:7px}.zoom button{width:28px;min-height:28px;background:transparent}.zoom span{font-size:11px;min-width:35px;text-align:center}#canvasWrap{height:432px;position:relative;background:#0a1713;overflow:auto}#grid{display:block;width:100%;height:100%;touch-action:pan-x pan-y}.compass{position:absolute;left:18px;bottom:20px;font:12px monospace;color:#8992a0;pointer-events:none}.compass span{padding-left:12px}#coordinate{position:sticky;bottom:12px;width:max-content;max-width:80%;margin:-36px auto 0;background:#202630e8;padding:7px 10px;border:1px solid var(--line);border-radius:5px;font:11px monospace;pointer-events:none;color:#bac4d1}.legend{padding:16px;display:flex;gap:18px;justify-content:center;font-size:11px;color:var(--muted);flex-wrap:wrap}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:9px;height:9px;display:inline-block;border-radius:2px}.current{background:var(--green)}.prev{background:#475362}.origin{border:1px solid #fff}.layer-control{border-top:1px solid var(--line);padding:20px 22px}.layer-top{display:flex;justify-content:space-between;align-items:center}.layer-top strong{font:26px 'Space Grotesk',sans-serif;display:block;margin-top:7px}.layer-top small{font-size:16px;color:var(--muted)}.layer-arrows{display:flex;gap:7px}.layer-arrows button{width:38px}.details{display:grid;gap:18px}.volume-panel{padding:20px}.volume-panel .section-title{justify-content:space-between}.tag{color:var(--muted);background:#1f352c}#volume{display:block;width:100%;height:212px}.volume-footer{display:flex;flex-direction:column;gap:6px;text-align:center;font-size:12px}.volume-footer span:last-child{font-size:11px;color:var(--muted)}.materials{padding:22px}.total{font:500 38px 'Space Grotesk',sans-serif;margin:10px 0 0}.total small{font:14px 'DM Sans',sans-serif;color:var(--muted);margin-left:6px}.materials>p{font-size:12px}.stat-line{display:flex;justify-content:space-between;font-size:13px;margin-top:20px;color:var(--muted)}.stat-line strong{color:#e9edf4}.progress{height:4px;border-radius:3px;background:#343b44;margin:16px 0 20px}.progress>div{height:100%;background:var(--green)}.primary{background:var(--green);border:0;color:#182013;font-size:13px;font-weight:700;width:100%;padding:12px 6px}.primary:hover{background:#c3ff52}.hint{text-align:center;margin-top:12px}.tip{padding:0 8px}.tip span{font-size:10px;letter-spacing:1.5px;color:var(--green)}.tip p{font-size:12px;margin-top:8px}footer{display:flex;justify-content:space-between;gap:20px;padding:26px 0;color:#727b89;font-size:10px;letter-spacing:1px}@media(min-width:1450px){#canvasWrap{height:495px}}@media(max-width:1150px){.workspace{grid-template-columns:220px minmax(320px,1fr)}.details{grid-column:1/-1;grid-template-columns:1fr 1fr 1fr}.header-note{display:none}.live{display:none}}@media(max-width:650px){header{height:70px;padding:0 18px}.brand{font-size:22px}.beta{display:none}.outline{font-size:12px;padding:0 10px}main{padding:26px 16px 0}.intro{margin-bottom:22px}.intro p{font-size:14px}.workspace{display:flex;flex-direction:column;gap:16px}.settings,.blueprint,.details{width:100%}.settings{padding:18px}.shapes{grid-template-columns:repeat(3,1fr);margin:16px 0}.shape{height:65px}.settings-bottom{margin-top:16px;padding-top:16px}.details{display:grid;grid-template-columns:1fr}.tip{display:none}.plan-head{padding:18px 12px}.plan-head h2{font-size:14px}.plan-tools{padding:10px;gap:8px}.legend{gap:10px}#canvasWrap{height:360px}footer span:last-child{display:none}}

#grid{touch-action:none;cursor:grab}#grid:active{cursor:grabbing}.zoom span{min-width:48px}

.mode-switch{display:flex;gap:5px;margin-top:20px;background:#0b1915;padding:4px;border-radius:9px}.mode-switch button{flex:1;padding:8px 3px;border:0;background:transparent;font-size:13px}.mode-switch button[aria-pressed=true]{background:#2a451e;color:var(--green)}.done-color{background:#60baff}.chip.done,.primary.done{background:#60baff;color:#0f2535}.progress>div{background:#60baff}.next-pending{width:100%;margin-top:10px;font-size:13px;padding:8px}#layerMap{display:block;width:100%;height:24px;margin:18px 0 0;cursor:pointer;border-radius:4px}.legend{gap:12px}.legend span{font-size:12px}

/* NovaCraft identity: lime, forest green and the supplied network artwork. */
body{background:radial-gradient(ellipse at 10% 0%,#183022 0,transparent 42%),#08120f}header{height:104px;background:#0a1713e8;border-bottom:1px solid #35492c;box-shadow:0 1px 0 #a8ed1910}.brand{gap:16px}.network-logo{display:block;position:relative;width:112px;height:84px;overflow:hidden;border-radius:9px;background:#142f22;flex-shrink:0;border:1px solid #49652c}.network-logo img{position:absolute;width:245%;height:auto;max-width:none;left:50%;top:50%;transform:translate(-50%,-46%)}.brand-type{display:flex;flex-direction:column;gap:8px}.brand-type>strong{font:700 26px 'Space Grotesk',sans-serif;letter-spacing:1px;line-height:1}.brand-type>strong>span{color:#a8ed19}.brand-product{font:600 10px 'DM Sans',sans-serif;letter-spacing:1.6px;color:#b4c1af}.brand-product span{color:#72905a;margin:0 5px}.header-note{display:flex;flex-direction:column;gap:6px;font-size:13px;text-align:center}.network-label{font-size:10px;letter-spacing:2px;color:#b1cb8c}header .outline{border-color:#48603b;color:#e8f2d9;font-weight:600;background:#19291c}.intro{position:relative;min-height:154px;padding:24px 28px;border:1px solid #304b31;background:linear-gradient(110deg,#192e21,#102119);border-radius:12px;overflow:hidden;margin-bottom:24px}.intro>div:first-child{position:relative;z-index:1}.intro h1{font-weight:600}.intro p{color:#bacabf}.eyebrow{letter-spacing:2px}.network-art{position:absolute;right:0;top:0;bottom:0;width:360px;background:linear-gradient(90deg,#102119 0%,transparent 27%),url('novacraft.png') center 44%/cover no-repeat}.intro:after{content:'';position:absolute;left:0;top:24px;bottom:24px;width:3px;background:#a8ed19}.panel{box-shadow:0 10px 28px #00000018;border-radius:12px}.plan-head{background:#172b23}.step{color:#c5d5b9;background:#1b3225}.shape{transition:background .15s,border-color .15s,transform .15s}.shape:hover{border-color:#658348;background:#23412d}.shape.active{box-shadow:inset 0 0 0 1px #a8ed191a}.primary{box-shadow:0 4px 14px #8ddd1014}.volume-panel{background:radial-gradient(ellipse at 50% 50%,#203b29,#11221e 72%)}.tip{border-left:2px solid #719e2d;padding-left:14px;margin-left:4px}.info{color:#adc0b3}.plan-tools{color:#c0d0c6}.stat-line{font-size:14px}.field-title{font-size:14px}.shape{font-size:14px}footer{border-top:1px solid #2b4038;margin-top:26px;padding:22px 0;color:#a4b69e}footer strong{color:#cbe9a3;letter-spacing:1.5px}.footer-divider{margin:0 9px;color:#6e9643}
@media(max-width:1150px){.header-note{display:none}.network-art{width:280px;opacity:.65}.intro>div:first-child{max-width:65%}.intro h1{font-size:32px}}
@media(max-width:650px){header{height:86px;gap:8px;padding:0 14px}.brand{gap:9px}.network-logo{width:66px;height:56px;border-radius:6px}.brand-type>strong{font-size:19px;letter-spacing:.5px}.brand-product{font-size:8px;letter-spacing:.6px}.brand-product span{margin:0 2px}header .outline{font-size:11px;padding:0 9px;max-width:95px}.intro{padding:23px 20px;min-height:168px}.intro>div:first-child{max-width:100%}.intro h1{font-size:29px}.intro p{max-width:240px}.network-art{width:180px;opacity:.16}.intro .eyebrow{font-size:10px}.shape{font-size:13px}.tip{display:none}}

#volume{height:248px;touch-action:none;cursor:grab}#volume:active{cursor:grabbing}#volume:focus-visible{outline:2px solid var(--green);outline-offset:3px}.view-toolbar{display:flex;justify-content:flex-end;margin-top:14px}.view-toolbar button{font-size:12px;min-height:32px}.volume-footer{margin-top:12px}#viewHelp{font-size:12px;line-height:1.5}.reset-progress{width:100%;margin-top:12px;font-size:12px;padding:8px}#resetConfirm{margin-top:12px;padding:12px;border:1px solid #89723e;border-radius:8px}#resetConfirm p{font-size:13px;color:#e7d7b5}.reset-actions{display:flex;gap:8px;margin-top:12px}.reset-actions button{flex:1;font-size:12px}#confirmReset{background:#694427}

/* Configurador: un flujo legible en cuatro pasos. La estructura se agrupa al cargar
   para conservar los mismos controles, identificadores y automatizaciones existentes. */
.settings{padding:0;background:linear-gradient(180deg,#152b21,#10201b)}.builder-head{padding:22px 22px 19px;margin:0!important;border-bottom:1px solid #39513e;background:linear-gradient(110deg,#203c25,#14281e)}.builder-head .mini-label{display:block;color:#a8ed19;font-size:9px;letter-spacing:1.8px;margin-bottom:5px}.builder-head h2{font:600 17px 'Space Grotesk',sans-serif}.builder-head .step{margin-right:2px}.control-group{position:relative;padding:18px 20px 20px;border-bottom:1px solid #2a4033}.control-group:last-of-type{border-bottom:0}.control-heading{display:flex;align-items:center;gap:10px;margin-bottom:14px}.control-heading>div{display:grid;gap:2px}.control-heading strong{font:600 14px 'Space Grotesk',sans-serif;color:#f0f6e9}.control-heading small{font-size:11px;color:#96aa9c}.control-number{width:25px;height:25px;display:grid;place-items:center;border:1px solid #507041;border-radius:7px;background:#1c3524;color:#b5ed62;font:600 12px 'Space Grotesk',sans-serif}.settings .mode-switch{margin:0;padding:5px;gap:5px;border:1px solid #314a38;background:#0a1813;border-radius:10px}.settings .mode-switch button{min-height:52px;display:grid;place-content:center;gap:2px;border-radius:7px;color:#9bad9f}.settings .mode-switch button b{font:600 16px 'Space Grotesk',sans-serif}.settings .mode-switch button span{font-size:10px}.settings .mode-switch button[aria-pressed=true]{background:linear-gradient(135deg,#3e6524,#29491e);color:#dcf5ae;box-shadow:0 2px 8px #0006}.settings .shapes{margin:0;grid-template-columns:repeat(2,1fr);gap:7px}.settings .shape{height:68px;gap:5px;border-radius:8px;font-size:12px;background:#10231b}.settings .shape svg{width:22px;height:22px}.settings .shape.active{background:linear-gradient(135deg,#2c4d1f,#223b1d);border-color:#a8ed19;color:#d9fa9d;box-shadow:inset 0 0 0 1px #b6f33a55}.settings .field-title{margin:14px 0 9px;font-size:12px;color:#c8d9ca}.settings .number-row input{background:#08140f;border-color:#476241}.settings .number-row button{background:#1c3828;border-color:#41633f}.settings input[type=range]{margin:14px 0 5px}.settings .range-labels{font-size:10px}.settings #heightField[hidden],.settings #sidesField[hidden]{display:none}.settings .control-group select{background:#0a1813;border-color:#476241;padding:11px 9px}.settings .info{margin:18px 20px 0;padding:11px 12px;border-radius:8px;background:#17291f;border:1px solid #304c36;font-size:11px;color:#b8cbbd}.settings-bottom{margin:18px 20px 20px;padding:16px 0 0;border-top:1px solid #365044}.settings-bottom strong{font-size:19px;margin-top:6px}@media(max-width:650px){.control-group{padding:16px}.builder-head{padding:18px 16px}.settings .shape{height:63px}.settings .info{margin:16px}.settings-bottom{margin:16px}.settings .shapes{grid-template-columns:repeat(3,1fr)}}


.settings .builder-head{display:grid;grid-template-columns:28px 1fr;gap:5px 10px}.builder-head .step{grid-row:1/3}.builder-head h2{grid-column:2;min-width:0;overflow-wrap:anywhere}.builder-head .mini-label{margin:0}

.manual-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 18px;border:1px solid #b3e66d;border-radius:8px;background:#23432e;color:#e9fbd8;font-size:14px;font-weight:750;text-decoration:none;white-space:nowrap}.manual-link:hover{background:#365b39;color:#fff}.manual-link:focus-visible{outline:3px solid #b3e66d;outline-offset:3px}.header-actions{flex-wrap:wrap}body header{height:auto;min-height:86px;flex-wrap:wrap;gap:16px;padding-top:12px;padding-bottom:12px}@media(max-width:650px){.header-actions .manual-link{grid-column:1/-1}}
