:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#22221f;background:#f6f5f2;font-synthesis:none;--red:#bc2333;--line:#e4e2dc;--muted:#6c6c64}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;min-height:44px;border:1px solid var(--line);background:#fff;color:inherit;padding:10px 16px;border-radius:9px;font-size:14px;transition:background .15s,transform .15s}button:hover{background:#f1f0ed}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:var(--red);color:#fff;border-color:var(--red);font-weight:600;padding:13px 20px}button.primary:hover{background:#a61d2b}button.quiet{background:transparent;border-color:transparent;color:var(--muted)}button.text-link{border:0;background:none;color:var(--red);text-align:left;padding-left:0}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #1769d2;outline-offset:3px}.brandbar{height:90px;padding:0 42px;display:flex;align-items:center;gap:28px;background:white;border-bottom:1px solid var(--line)}.brand{font-size:27px;letter-spacing:-1.5px;font-weight:850;color:#181818;text-decoration:none}.brand span{color:var(--red)}.brand sup{font-size:9px;vertical-align:top;letter-spacing:0;margin-left:3px;margin-top:8px;display:inline-block}.product-title{border-left:1px solid var(--line);padding-left:25px;font-size:13px}.product-title small{display:block;color:#88877f;font-size:11px;margin-top:5px}.brandbar>button{margin-left:auto}.wrap{max-width:1440px;margin:auto;padding:24px 38px 34px}.steps{display:flex;gap:16px;align-items:center;margin:0 auto 32px;max-width:900px}.step{display:flex;gap:8px;align-items:center;color:#828179;background:transparent;border:none;white-space:nowrap;font-size:12px;padding:0}.step strong{width:25px;height:25px;display:grid;place-items:center;background:#e9e7e1;color:#777;border-radius:50%;font-weight:500}.step.active{color:#222}.step.active strong{background:#222;color:white}.step.done strong{background:#e2e8df;color:#3d5d38}.step-line{height:1px;flex:1;background:#dcd9d1}.eyebrow{font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:2px;color:var(--red);margin-bottom:12px}h1{font-size:clamp(28px,3.4vw,44px);line-height:1.12;letter-spacing:-1.5px;font-weight:650;margin:0 0 16px}h2{font-size:23px;letter-spacing:-.6px;margin:0 0 12px}h3{font-size:17px;line-height:1.4;margin:0 0 12px}p{color:var(--muted);font-size:14px;line-height:1.6;margin:0 0 18px}.landing{display:grid;grid-template-columns:1fr 1.1fr;gap:64px;align-items:center;min-height:570px;max-width:1190px;margin:30px auto}.landing h1{font-size:clamp(40px,4.8vw,66px);max-width:560px;letter-spacing:-2.5px}.landing .lead{font-size:17px;max-width:450px}.pill{display:inline-flex;align-items:center;gap:6px;border:1px solid #ddd9d0;padding:6px 10px;border-radius:30px;font-size:11px;color:#66645b;margin-bottom:20px;background:#fff}.pill:before{content:'';width:6px;height:6px;background:#7a916c;border-radius:50%}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:22px}.minor{font-size:12px;color:#77766e;line-height:1.6}.demo-frame{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:0 20px 55px #29251b08;transform:rotate(-1deg)}.frame-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:12px;color:#666}.frame-head b{color:#222}.mini-total{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:16px;font-size:13px}.mini-total strong{font-size:24px}.center{max-width:760px;margin:50px auto}.surface{background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px}.choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:26px 0}.choice{padding:20px;text-align:left;display:flex;flex-direction:column;gap:16px;font-size:15px;min-height:112px}.choice .symbol{font-size:24px;color:#777}.choice[aria-pressed=true]{border-color:var(--red);background:#fff6f6;color:var(--red)}label{display:flex;flex-direction:column;gap:7px;font-size:13px;margin:14px 0}input,select,textarea{border:1px solid #d9d6cf;border-radius:8px;padding:11px 12px;background:#fff;color:#222;min-width:0;font-size:16px;width:100%}input[type=checkbox]{width:18px;accent-color:var(--red)}.check{flex-direction:row;align-items:flex-start;line-height:1.5;gap:9px}.check input{flex-shrink:0;margin:1px 0}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.upload{border:2px dashed #d8d3c8;border-radius:12px;padding:42px 24px;text-align:center;background:#faf9f6;margin-top:24px}.upload.dragover{background:#fff0ef;border-color:var(--red)}.upload .upload-icon{font-size:32px;color:var(--red);margin-bottom:12px}.preview-image{max-height:240px;max-width:100%;object-fit:contain;display:block;margin:20px auto}.work-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.work-head h1{font-size:30px;letter-spacing:-1px;margin-bottom:8px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 318px;gap:24px;align-items:start}.plan-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.plan-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;border-bottom:1px solid var(--line);font-size:12px;flex-wrap:wrap}.plan-toolbar .row{gap:4px}.plan-toolbar button{min-height:34px;padding:4px 10px;font-size:12px}.plan-toolbar select{width:auto;max-width:190px;padding:6px;font-size:12px}.plan-scroll{overflow:auto;max-height:720px;padding:16px;background:#f4f3ef;touch-action:pan-x pan-y}.plan-stage{position:relative;width:100%;min-width:0;background:#fff;user-select:none;aspect-ratio:1/1;overflow:hidden}.plan-stage.office{aspect-ratio:1724/1310}.plan-image,.demo-svg{width:100%;height:100%;display:block;object-fit:fill}.overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.overlay .path{fill:none;stroke:#438667;stroke-width:.65;stroke-dasharray:2 1.2;opacity:.7}.overlay .wall{stroke:#414141;stroke-width:1.1}.mark,.sign-pin{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;padding:0;z-index:2;min-width:34px;min-height:34px;width:34px;height:34px;border-radius:50%;background:var(--cat);color:#fff;border:2px solid white;box-shadow:0 0 0 1px #2228,0 2px 6px #0002;font-size:10px;font-weight:750;touch-action:none}.mark.light{color:#222}.mark.selected{outline:4px solid #222;outline-offset:3px;z-index:4}.mark.dim{opacity:.22}.mark[data-cat=muro]{border-radius:3px}.sign-pin{width:42px;height:42px;min-height:42px;min-width:42px;border-radius:4px;border:2px solid white;background:#087a3c;box-shadow:0 0 0 1px #3337,0 2px 5px #0002;font-size:12px}.sign-pin:hover{background:#087a3c;filter:brightness(1.08)}.sign-pin.red{background:#cc2632}.sign-pin.yellow{background:#f2ce20;color:#222}.sign-pin.blue{background:#1769d2}.sign-pin.prohibition{background:white;color:#ba2030;border:3px solid #ba2030;border-radius:50%}.sign-pin.selected{outline:4px solid #222;outline-offset:4px;z-index:5}.sign-pin .arrow{font-size:28px;line-height:1;display:block}.sign-id{position:absolute;top:100%;left:50%;transform:translateX(-50%);color:#222;background:white;padding:1px 4px;white-space:nowrap;font-size:9px;font-weight:600;border-radius:2px;box-shadow:0 1px 2px #0002}.plan-caption{padding:10px 15px;color:#777;font-size:11px;border-top:1px solid var(--line);line-height:1.5}.guide{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px}.task-color{display:flex;gap:9px;align-items:center;font-size:12px;font-weight:600;color:#555;margin-bottom:18px}.color-dot{width:15px;height:15px;background:var(--cat);border-radius:50%;display:inline-block;box-shadow:0 0 0 1px #0002;flex-shrink:0}.task-progress{font-size:10px;color:#777;letter-spacing:1px;text-transform:uppercase;margin-bottom:10px}.guide h2{font-size:23px;line-height:1.25;margin-bottom:12px}.guide .primary{width:100%;margin-top:10px}.answer-row{display:flex;gap:8px;margin-top:9px}.answer-row button{flex:1;font-size:12px;padding:8px 5px}.confirmation{font-size:12px;color:#325e35;background:#eef5eb;padding:11px;border-radius:7px;margin:12px 0;line-height:1.5}.warning{background:#fff7e8;border-left:3px solid #bd8626;color:#73551d;padding:12px;font-size:12px;line-height:1.6;margin:12px 0}.marks-panel{border-top:1px solid var(--line);padding-top:16px;margin-top:20px}details>summary{cursor:pointer;min-height:36px;font-size:13px;font-weight:600;list-style:none;display:flex;justify-content:space-between;align-items:center}details>summary:after{content:'＋';font-size:17px;font-weight:400}details[open]>summary:after{content:'−'}.category-row{display:flex;gap:8px;align-items:center;margin-top:5px}.category-row>button:first-child{flex:1;display:flex;align-items:center;gap:8px;text-align:left;padding:8px;border:none;font-size:11px;min-width:0}.category-row .count{margin-left:auto;font-weight:700}.category-row small{display:block;font-size:9px;color:#888;font-weight:400}.category-row .visibility{border:none;padding:5px;font-size:12px}.category-row.active{background:#f0efea;border-radius:7px}.edit-panel{border:1px solid #d7d4ca;border-radius:9px;padding:14px;margin-top:14px;background:#faf9f6}.edit-panel h3{font-size:14px}.edit-panel .row button{font-size:12px;padding:7px 10px}.edit-panel .nudge{display:flex;gap:3px;margin:7px 0}.edit-panel .nudge button{padding:5px;flex:1}.edit-panel label{font-size:11px}.edit-panel input,.edit-panel select{font-size:13px;padding:8px}.route-point{position:absolute;transform:translate(-50%,-50%);background:#fff;border:2px solid #237347;border-radius:50%;width:12px;height:12px;pointer-events:none}.badge{display:inline-block;color:#72591d;background:#f7edcf;border-radius:5px;padding:5px 8px;font-size:10px;margin-bottom:9px}.result-total{font-size:48px;letter-spacing:-2px;line-height:1.1;font-weight:600}.result-label{font-size:13px;color:#666;margin-bottom:10px}.result-group{padding:12px 0;border-top:1px solid var(--line)}.result-group>button{width:100%;border:0;padding:4px 0;display:flex;gap:10px;text-align:left;justify-content:space-between;font-size:13px}.result-group .ids{font-size:11px;color:#888;display:flex;gap:5px;flex-wrap:wrap}.result-group .ids button{min-height:30px;padding:2px 6px;font-size:10px}.result-group .qty{font-weight:700;font-size:17px}.result-detail{font-size:12px;color:#666;padding-top:8px}.download-row{display:flex;gap:8px;margin-top:8px}.download-row button{font-size:11px;flex:1;padding:8px}.pending li{font-size:12px;color:#73551d;line-height:1.5;margin-bottom:8px}.pending{padding-left:18px}.global-footer{border-top:1px solid var(--line);padding:20px 40px;display:flex;justify-content:space-between;gap:16px;color:#929086;font-size:10px;max-width:1500px;margin:auto}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#242620;color:white;padding:12px 20px;border-radius:9px;font-size:13px;z-index:50;display:none;box-shadow:0 4px 24px #0003;max-width:90vw}#toast.show{display:block}dialog{border:1px solid var(--line);border-radius:15px;max-width:700px;width:calc(100% - 32px);padding:30px;color:#222}dialog::backdrop{background:#2229;backdrop-filter:blur(3px)}dialog h2{margin-right:25px}.modal-close{float:right;border:0;background:#f5f4ef}.summary-table{width:100%;border-collapse:collapse;font-size:12px}.summary-table td,.summary-table th{text-align:left;padding:9px 7px;border-bottom:1px solid #ddd;vertical-align:top}.file-error{color:#a41b25;font-size:13px;margin:10px 0}.upload-progress{color:#555;font-size:13px;margin:10px 0}.instruction-stamp{font-size:10px;line-height:1.3;text-transform:uppercase;letter-spacing:.6px;color:#666;max-width:100px}.demo-note{font-size:11px;color:#777;margin-top:12px}.key-list{display:flex;gap:12px;flex-wrap:wrap;font-size:11px;color:#777;padding:10px 0}.key-list span{display:flex;align-items:center;gap:6px}.key-list i{width:10px;height:10px;background:#222;display:inline-block;border-radius:50%}.key-list i.square{background:#087a3c;border-radius:1px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;clip:rect(0,0,0,0);overflow:hidden}.mobile-steps{display:none}button[aria-pressed=true].toggle{border-color:#333;background:#f1f0ea}.busy{pointer-events:none;opacity:.6}@media(max-width:1000px){.workspace{grid-template-columns:minmax(0,1fr) 285px;gap:16px}.wrap{padding:22px}.guide{padding:18px}.landing{gap:30px}.brandbar{padding:0 24px}.global-footer{padding:20px 24px}}@media(max-width:760px){.brandbar{height:auto;min-height:78px;padding:18px;gap:12px;flex-wrap:wrap}.brand{font-size:23px}.product-title{border:0;padding:0;font-size:10px}.product-title small{font-size:9px}.brandbar>button{font-size:11px;padding:5px}.wrap{padding:20px 16px}.steps{display:none}.mobile-steps{display:block;font-size:11px;color:#777;margin-bottom:22px}.landing{grid-template-columns:1fr;margin:16px 0;min-height:0;gap:30px}.landing h1{font-size:43px}.demo-frame{transform:none;padding:16px}.workspace{grid-template-columns:1fr}.work-head{flex-wrap:wrap}.work-head h1{font-size:26px}.guide{padding:22px}.plan-scroll{max-height:560px;padding:10px}.center{margin:16px auto}.surface{padding:20px}.choice-grid{grid-template-columns:repeat(2,1fr)}.choice{min-height:95px;padding:15px}.form-grid{grid-template-columns:1fr}.global-footer{flex-direction:column;padding:20px}.mark{width:36px;height:36px;min-width:36px;min-height:36px}.sign-pin{width:37px;height:37px;min-height:37px;min-width:37px}.plan-toolbar select{max-width:130px}.result-total{font-size:40px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media print{body{background:#fff}.brandbar,#app,.global-footer,#toast{display:none!important}dialog{display:block!important;position:static;border:0;width:100%;max-width:none;padding:0;max-height:none;overflow:visible}dialog::backdrop{display:none}.no-print{display:none!important}.summary-print-plan{max-width:650px;margin:20px auto}.plan-caption{font-size:10px}.summary-table{font-size:11px}.print-notice{display:block;font-size:10px}h2{font-size:22px}}
.mark:hover{background:var(--cat)}
/* Mostrar el plano completo al ajustar: ninguna señal queda recortada al pie. */
.plan-scroll{max-height:none}
/* Categorías: ocho colores funcionales, letras y formas para grupos compartidos. */
.question-symbol{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;background:var(--cat);color:white;font-size:10px;font-weight:750;box-shadow:0 0 0 1px #2223;border:2px solid #fff;border-radius:50%}
.question-symbol.light{color:#171717}
.shape-square{border-radius:5px}.shape-diamond{border-radius:8px 0 8px 0}.shape-hex{border-radius:13px 3px 13px 3px}.question-symbol.shape-line{border-radius:4px;width:38px;height:16px}
.mark.shape-square{border-radius:5px}.mark.shape-diamond{border-radius:10px 0 10px 0}.mark.shape-hex{border-radius:15px 4px 15px 4px}
.overlay .path{stroke:#16A34A;stroke-width:4;stroke-dasharray:none;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round;opacity:1}
.overlay .route-halo{fill:none;stroke:white;stroke-width:8;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.overlay .route-draft{stroke:#2563EB}.overlay .pending-route{stroke:#171717;stroke-dasharray:5 5}.overlay .route-dim{opacity:.2}
.route-point{background:#2563EB;border:2px solid white;box-shadow:0 0 0 1px #2563EB;width:12px;height:12px}
.route-tools{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;margin:5px 0 14px}.route-tools .row{gap:6px;margin-top:10px}.route-tools button{font-size:12px;padding:9px 10px;flex:1}.route-tools>.quiet{width:100%}
.route-demo{display:block;width:100%;height:auto;margin:20px 0}.route-demo .example-track{fill:none;stroke:#dfddd6;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.route-demo .example-draw{fill:none;stroke:#2563EB;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:379;stroke-dashoffset:379;animation:route-example 3.4s linear forwards}
@keyframes route-example{to{stroke-dashoffset:0}}@media(prefers-reduced-motion:reduce){.route-demo .example-draw{animation:none;stroke-dashoffset:0}.route-demo .example-cursor{display:none}}
.mark.current-category{z-index:3}.mark.route-target{z-index:4;outline:3px solid #16A34A;outline-offset:3px}
.mobile-current-question{display:none}
@media(max-width:760px){.mobile-current-question{display:block;margin:0 0 14px}.mobile-current-question h2{font-size:23px;line-height:1.25}.mobile-current-question p{margin-bottom:10px}.is-questions .work-head>div:first-child{display:none}.is-questions .work-head{margin-bottom:12px}.is-questions .guide>h2,.is-questions .guide>p:first-of-type{display:none}}
/* UX 10: identidad oficial, señales pictográficas y controles de dibujo continuo. */
.brand{display:flex;align-items:center;width:184px;flex-shrink:0}.brand img{display:block;width:100%;height:auto;object-fit:contain}
.workspace{grid-template-columns:minmax(0,1fr) 350px}.question-card{border-top:5px solid var(--question-color);padding:24px}.question-card h2{font-size:24px;font-weight:700;line-height:1.25;letter-spacing:-.6px}.question-card>p{font-size:14px;line-height:1.55}.question-card .task-color{margin:18px 0;gap:12px;color:#333}.question-symbol{width:45px;height:45px;border-radius:12px;border:0;box-shadow:none}.question-symbol svg{width:32px;height:32px}.progress-track{display:block;height:4px;background:#eeece7;margin-top:12px;border-radius:9px;overflow:hidden}.progress-track i{display:block;height:100%;background:var(--question-color);border:0}.task-progress{line-height:1.5}.question-primary-actions{padding-top:14px;margin-top:12px;background:#fff}.undo-actions{display:flex;gap:8px}.undo-actions button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;padding:10px;font-size:13px}.undo-actions svg{width:19px;height:19px}.history-scope{display:block;font-size:10px;color:#858278;margin:7px 0 11px}.question-primary-actions .primary{margin-top:0}.question-primary-actions .answer-row{margin-bottom:4px}.subtype-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:18px 0}.subtype-options button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;padding:12px 7px;min-height:88px;font-size:12px;font-weight:600;border-color:#ddd9e6}.subtype-options button svg{width:30px;height:30px;color:#6d37c4}.subtype-options button[aria-pressed=true]{background:#f4edff;border:2px solid #7C3AED;color:#572a9a;padding:11px 6px}.subtype-options.zones{grid-template-columns:1fr}.subtype-options.zones button{flex-direction:row;justify-content:flex-start;min-height:70px;padding:14px;gap:15px;text-align:left}.subtype-options.zones button svg{color:#168548;flex-shrink:0}.subtype-options.zones button[aria-pressed=true]{background:#eef9f1;border-color:#16A34A;color:#166533}.subtype-options.edit-subtypes button{font-size:10px;min-height:65px}.subtype-options.edit-subtypes svg{width:25px;height:25px}.route-modes{display:flex;gap:7px;margin:12px 0}.route-modes button{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;padding:9px;font-size:12px}.route-modes svg{width:19px;height:19px}.route-modes button[aria-pressed=true]{background:#eaf1ff;border-color:#2563EB;color:#17469e}.freehand-active{cursor:crosshair;touch-action:none!important}.category-chip{width:23px;height:23px;display:grid;place-items:center;background:var(--cat);color:white;border-radius:50%;flex-shrink:0}.category-chip svg{width:17px;height:17px}.category-row .category-chip[style*="EAB308"],.category-row .category-chip[style*="EC4899"]{color:#171717}.mark svg{display:block;width:75%;height:75%;pointer-events:none}.mark{overflow:visible}.question-card .mark{color:white}.sign-pin{width:46px;height:46px;min-width:46px;min-height:46px;border:2px solid white;border-radius:4px;background:white;padding:0;box-shadow:0 0 0 1px #3335,0 3px 9px #0002}.sign-pin svg{display:block;width:100%;height:100%;pointer-events:none}.sign-pin:hover{background:white}.sign-pin.restricted-pin{width:75px;height:75px;padding:0 10px 22px}.restricted-caption{position:absolute;bottom:2px;left:2px;right:2px;font-size:8px;line-height:1.1;color:#222;text-align:center;font-weight:600}.sign-pin .sign-id{font-size:9px;line-height:1.3;padding:2px 4px}.signal-card{border:1px solid #e4e2dc;border-left:4px solid var(--family-color);border-radius:10px;background:#fff;margin:12px 0;overflow:hidden;--family-color:#168548}.family-fire,.family-prohibition{--family-color:#DC2626}.family-warning{--family-color:#EAB308}.family-information{--family-color:#2563EB}.family-emergency{--family-color:#168548}.signal-card-main{display:grid;grid-template-columns:48px minmax(0,1fr) 33px;gap:10px;align-items:center;width:100%;border:0;background:white;padding:12px 10px;min-height:78px;text-align:left;border-radius:0}.signal-card-main:hover{background:#faf9f6}.card-pictogram{width:48px;height:48px;display:block}.card-pictogram svg{width:100%;height:100%}.signal-card-main strong{font-size:13px;line-height:1.35;letter-spacing:.15px;text-transform:uppercase}.signal-count{font-size:29px;font-weight:700;line-height:1;text-align:right}.signal-locations{padding:0 10px 7px 69px;display:flex;gap:3px;flex-wrap:wrap}.signal-locations button{font-size:9px;color:#858278;min-height:26px;padding:2px 4px;border-color:transparent}.signal-card details{margin:0 12px 4px 69px}.signal-card details summary{font-size:10px;min-height:27px;font-weight:400;color:#777}.signal-card details p{font-size:11px;margin:5px 0 10px}.result-cards>.primary{font-size:12px}.pdf-download{width:100%;margin-top:9px;min-height:48px;font-weight:600;color:#333}.selected-sign{display:flex;gap:20px}.selected-pictogram{width:76px;height:76px;flex-shrink:0}.selected-pictogram svg{width:100%;height:100%}.route-analysis p{font-size:12px;margin:10px 0}.route-help .example-cursor{filter:drop-shadow(0 0 3px #2563eb)}
@media(max-width:1050px){.workspace{grid-template-columns:minmax(0,1fr) 318px}.question-card{padding:20px}.question-card h2{font-size:22px}}
@media(max-width:760px){.brand{width:150px}.workspace{grid-template-columns:1fr}.question-card{padding:20px}.is-questions .question-primary-actions{position:fixed;bottom:0;left:0;right:0;z-index:20;background:#fff;border-top:1px solid #ddd;box-shadow:0 -5px 15px #00008;padding:9px 16px;display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;margin:0}.is-questions .question-primary-actions .history-scope{display:none}.is-questions .question-primary-actions .undo-actions{grid-column:1}.is-questions .question-primary-actions .primary{grid-column:2;grid-row:1;margin:0;min-width:0}.is-questions .question-primary-actions .answer-row{grid-column:1/-1;margin:0}.is-questions .question-primary-actions .answer-row button{min-height:32px}.is-questions{padding-bottom:135px}.undo-actions button{font-size:11px;padding:8px 5px;min-width:0}.undo-actions svg{width:16px;height:16px}.selected-sign{flex-direction:column}.mark{width:38px;height:38px}.sign-pin{width:41px;height:41px;min-width:41px;min-height:41px}.signal-card-main{grid-template-columns:50px minmax(0,1fr) 40px}.card-pictogram{width:50px;height:50px}.signal-card-main strong{font-size:14px}.question-primary-actions{position:static}.brandbar{column-gap:10px}.route-modes button{min-height:46px}}
.plan-stage{margin-inline:auto}.plan-scroll{min-height:260px}.question-card .task-color{font-size:12px}.mark svg{color:inherit}.question-card .question-primary-actions{position:sticky;bottom:8px;padding-bottom:4px;z-index:9}@media(max-width:760px){.question-card .question-primary-actions{position:fixed;bottom:0;padding-bottom:9px}.plan-scroll{min-height:0}}
/* Encuadre automático según el área visible, sin escalas arbitrarias del archivo. */
.wrap:has(.workspace){max-width:none;padding:12px 22px 24px}.wrap:has(.workspace) .steps{margin-bottom:10px}.wrap:has(.workspace) .work-head{margin-bottom:10px}.wrap:has(.workspace) .eyebrow{margin-bottom:5px}.wrap:has(.workspace) .work-head h1{font-size:26px;margin-bottom:5px}.wrap:has(.workspace) .work-head p{margin-bottom:0}.workspace{grid-template-columns:minmax(0,1fr) 318px;gap:18px}.workspace>section{min-width:0}.plan-scroll{padding:0;min-height:0;max-height:none;position:relative;overscroll-behavior:contain}.plan-frame{max-width:none}.plan-stage{max-width:none}.plan-card{min-width:0}.plan-toolbar{padding:6px 10px}.plan-caption{padding:6px 10px}.brandbar:has(+ #app .workspace){height:68px}.plan-stage .plan-image{max-width:none}
@media(max-width:760px){.wrap:has(.workspace){padding:10px 10px 135px}.workspace{grid-template-columns:minmax(0,1fr);gap:12px}.wrap:has(.workspace) .work-head h1{font-size:22px}.wrap:has(.workspace) .work-head{flex-wrap:wrap;gap:8px}.plan-toolbar select{max-width:140px}.plan-toolbar .row{min-width:0}.plan-caption{font-size:10px}.brandbar{max-width:100%}.workspace .guide{min-width:0}body{overflow-x:clip}}
@media(max-width:760px){.brandbar:has(+ #app .workspace){height:58px;min-height:58px;padding:8px 10px;flex-wrap:nowrap;gap:8px}.brandbar:has(+ #app .workspace) .brand{width:126px;flex-shrink:0}.brandbar:has(+ #app .workspace) .product-title{display:none}.brandbar:has(+ #app .workspace)>button{font-size:10px;min-height:34px}.wrap:has(.workspace) .work-head h1{font-size:20px;line-height:1.1}.wrap:has(.workspace) .work-head p{font-size:11px}.wrap:has(.workspace) .work-head>.quiet{min-height:32px;padding:4px 0}.wrap:has(.workspace) .eyebrow{font-size:9px}.workspace>section>.row{margin-bottom:6px!important}.workspace>section>.row button{min-height:34px;padding:5px 9px;font-size:12px}}
@media(min-width:761px){.wrap:has(.workspace) .work-head h1 br{display:none}.wrap:has(.workspace) .work-head h1{font-size:25px}.wrap:has(.workspace) .steps .step{min-height:32px}}

/* Más superficie para el plano, sin cambiar geometría ni recomendaciones. */
.wrap:has(.workspace) .work-head{margin-bottom:6px;align-items:center}.wrap:has(.workspace) .work-head .eyebrow{display:none}.wrap:has(.workspace) .work-head h1{font-size:18px;margin-bottom:3px}.wrap:has(.workspace) .work-head p{font-size:11px}.wrap:has(.workspace) .live-count{padding:5px 9px;margin:4px 0 7px;font-size:11px}.wrap:has(.workspace) .steps{margin-bottom:6px}.brandbar:has(+ #app .workspace){height:54px;min-height:54px}.plan-toolbar .row{gap:3px}.plan-toolbar button{padding:4px 8px}.plan-card.is-expanded{position:fixed;inset:10px;z-index:100001;border-radius:10px;box-shadow:0 0 0 100vmax #111b}.plan-card.is-expanded .plan-scroll{max-height:none}.plan-card.is-expanded .plan-caption{background:white}.plan-card.is-expanded #plan-expand{background:#242424;color:white;border-color:#242424}
@media(max-width:760px){.wrap.is-questions .work-head{position:absolute;top:62px;right:10px;margin:0}.is-questions .work-head #refresh-proposal{font-size:9px;min-height:24px;padding:3px 5px}.is-questions .mobile-steps{font-size:10px;margin-bottom:8px}.mobile-current-question{margin-bottom:6px}.mobile-current-question .task-progress{font-size:9px;margin-bottom:4px}.mobile-current-question h2{font-size:18px;line-height:1.15;margin-bottom:6px;letter-spacing:-.4px}.mobile-current-question p{font-size:11px;line-height:1.4;margin-bottom:4px}.is-questions .live-count{font-size:10px;padding:4px 6px;margin:4px 0 6px;line-height:1.25}.plan-toolbar{flex-wrap:nowrap;padding:5px;gap:4px}.plan-toolbar .row{gap:2px;flex-wrap:nowrap}.plan-toolbar .minor{display:none}.plan-toolbar select{max-width:90px;font-size:10px;padding:4px}.plan-toolbar button{padding:4px 5px;font-size:10px;min-height:32px}.plan-toolbar #add-level{font-size:0;width:24px;padding:3px}.plan-toolbar #add-level:after{content:'+';font-size:15px}.plan-toolbar #plan-expand{font-size:10px}.plan-caption{font-size:9px;line-height:1.3;padding:4px 6px}.plan-card.is-expanded{inset:4px}}

/* El editor reserva la pantalla al plano y a la pregunta activa. */
@media(min-width:761px){.wrap.is-questions{padding-top:6px}.is-questions .steps{display:none}.is-questions .work-head>div:first-child{display:none}.is-questions .work-head{min-height:0;margin:0 0 5px;justify-content:flex-end}.is-questions #refresh-proposal{font-size:11px;min-height:28px;padding:4px 9px}.is-questions .live-count{font-size:10px;padding:3px 8px;margin:0 0 5px;line-height:1.3}.is-questions .workspace>.guide{max-height:calc(100dvh - 90px);overflow:auto;overscroll-behavior:contain}.is-questions .plan-toolbar{padding:5px 8px}.is-questions .plan-caption{padding:4px 8px;font-size:10px;line-height:1.3}}
@media(max-width:760px){.is-questions .mobile-current-question{margin-bottom:4px}.is-questions .mobile-current-question p{font-size:10px;line-height:1.3}.is-questions .mobile-current-question h2{margin-bottom:4px}.is-questions .mobile-current-question .task-progress{margin-bottom:3px}.is-questions .mobile-steps{margin-bottom:5px}.is-questions .plan-toolbar{min-height:39px}.is-questions .plan-scroll{touch-action:pan-x pan-y}}

/* Cinco correcciones: carga gráfica y acción principal. */
#start-custom{min-height:58px;padding:17px 25px;font-size:15px;font-weight:750;box-shadow:0 7px 22px #bd26352b}.upload-options{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.upload-option{border:1px solid #e3ded8;border-radius:16px;padding:20px;background:#faf9f6;display:flex;flex-direction:column;align-items:center;text-align:center}.upload-option.croquis{background:#fff6f5;border-color:#eac1c2}.upload-option>svg{width:100%;height:145px;color:#303030}.upload-option h2{font-size:18px;letter-spacing:-.4px;margin:12px 0}.upload-option p{font-size:13px;line-height:1.6;max-width:280px}.upload-option b{font-size:13px}.upload-option .primary{margin-top:auto;width:100%;font-size:12px;min-height:48px}.upload-option small{font-size:10px;color:#777;margin-top:10px}.upload-options #upload-status,.upload-options #upload-error{grid-column:1/-1}.quote-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}#quote-status{margin-top:14px;font-size:13px;line-height:1.6}#quote-form .primary{width:100%;min-height:48px}@media(max-width:600px){.upload-options{grid-template-columns:1fr}.upload-option>svg{height:125px}}

/* Equipos: se conserva el pictograma y su color; solo cambia el marco y la etiqueta. */
.establishment-choices{grid-template-columns:1fr 1fr}.establishment-choices .choice{min-height:104px;padding:22px;font-size:17px}.equipment-answers{display:grid;gap:8px;margin:18px 0}.equipment-answers button{text-align:left;font-weight:700;padding:12px}.equipment-answers button[aria-pressed=true]{border-color:#bd2635;box-shadow:inset 3px 0 #bd2635;background:#fff7f7}.equipment-hint{font-size:13px!important;background:#f5f4f0;padding:12px;border-radius:6px}.equipment-badge{display:inline-block;font-size:9px;line-height:1.5;font-weight:700;letter-spacing:.03em;padding:3px 6px;border:1px solid #777;border-radius:3px;color:#333;background:white}.equipment-badge.suggested{border-style:dashed}.equipment-item small{display:block;line-height:1.6;margin-top:5px;color:#616161}.equipment-item{font-size:12px;border-top:1px solid #eee;padding-top:12px}.equipment-summary{margin:18px 0}.equipment-summary h3{font-size:15px}.equipment-summary>p{font-size:12px;line-height:1.6}.signal-card strong .equipment-badge{display:table;margin-top:5px}.sign-pin.equipment-suggested{outline:2px dashed #555;outline-offset:3px}.sign-pin.equipment-existing{outline:1px solid #555;outline-offset:2px}.equipment-pin-label{position:absolute;bottom:calc(100% + 5px);left:50%;transform:translateX(-50%);background:white;color:#333;border:1px solid #999;border-radius:2px;font:600 9px/1.4 Arial;padding:1px 3px;white-space:nowrap}.equipment-suggested .equipment-pin-label{border-style:dashed}@media(max-width:600px){.establishment-choices{grid-template-columns:1fr}}

/* Caja gráfica única por plano; no determina medidas de fabricación. */
.plan-stage .sign-pin,.plan-stage .sign-pin.restricted-pin{width:var(--signal-box,32px);height:var(--signal-box,32px);min-width:var(--signal-box,32px);min-height:var(--signal-box,32px);padding:0;box-sizing:border-box}
.plan-stage .sign-pin svg{width:100%;height:100%;object-fit:contain;aspect-ratio:1;overflow:visible}
.plan-stage .restricted-caption{top:calc(100% + 17px);bottom:auto;left:50%;transform:translateX(-50%);width:max-content;max-width:100px;font-size:8px;line-height:1.2;background:#fff}
.network-path{stroke:#5968b3;stroke-width:3;fill:none;vector-effect:non-scaling-stroke;opacity:.85}.network-path.shared{stroke-width:5}.network-node{fill:white;stroke:#5968b3;stroke-width:.35}.route-network-controls{margin-top:10px;gap:6px}.route-network-controls button{font-size:11px;padding:7px 10px}.route-network-controls button[aria-pressed=true]{border-color:#5968b3;background:#f0f1fb}.route-examples{margin:12px 0}.route-examples button{font-size:12px}.route-facts{background:#f8f7f4;border-radius:7px;padding:12px;margin:14px 0}.route-facts label{font-size:12px}.route-facts .choice{min-height:64px;padding:12px;font-size:13px}
.faces-label{position:absolute;bottom:calc(100% + 3px);left:50%;transform:translateX(-50%);padding:1px 3px;color:#555;background:white;white-space:nowrap;font:600 8px/1.3 Arial;border:1px solid #ccc;border-radius:2px}
