/* CuencaSolar · Cálculos eléctricos. Todo el CSS va acotado a #cs-elec-root y en px (Genesis fija html{font-size:62.5%}). */
#cs-elec-root{--ink:#10251c;--muted:#56685f;--line:#e1e8e4;--soft:#f3f7f5;--card:#fff;--brand:#17664d;--brand-d:#0d3b2c;--amber:#f2a516;--ok:#137a3e;--okbg:#e8f6ee;--warn:#9a5b06;--warnbg:#fff5e1;--bad:#b42318;--badbg:#fdeceb;--info:#1f56c9;--infobg:#ebf1fd;--r:14px;--sh:0 1px 2px rgba(16,37,28,.06),0 6px 20px rgba(16,37,28,.06);
  color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:16px;line-height:1.55;max-width:1240px;margin:20px auto 40px;padding:0 20px;box-sizing:border-box;text-align:left;-webkit-text-size-adjust:100%}
#cs-elec-root *,#cs-elec-root *::before,#cs-elec-root *::after{box-sizing:border-box}
#cs-elec-root [hidden]{display:none!important}
#cs-elec-root h1,#cs-elec-root h2,#cs-elec-root h3,#cs-elec-root p,#cs-elec-root ul,#cs-elec-root ol,#cs-elec-root dl,#cs-elec-root dd,#cs-elec-root figure{margin:0;padding:0}
#cs-elec-root h1,#cs-elec-root h2,#cs-elec-root h3{color:inherit;font-family:inherit;letter-spacing:-.01em;text-transform:none}
#cs-elec-root a{color:var(--brand)}
#cs-elec-root button{font:inherit;font-size:14px;line-height:1.3;letter-spacing:0;text-transform:none;box-shadow:none;margin:0;border-radius:10px;cursor:pointer;min-height:40px;padding:8px 14px;border:1px solid var(--line);background:#fff;color:var(--ink);white-space:normal;width:auto;height:auto}
#cs-elec-root button:hover{border-color:var(--brand);background:#f0f7f3;color:var(--ink)}
#cs-elec-root input,#cs-elec-root select,#cs-elec-root textarea{font:inherit;font-size:16px;line-height:1.35;color:var(--ink);background:#fff;border:1px solid #c5d3cb;border-radius:10px;padding:10px 12px;min-height:46px;width:100%;max-width:100%;margin:0;box-shadow:none;height:auto}
#cs-elec-root select{padding-right:30px;appearance:auto;-webkit-appearance:auto}
#cs-elec-root input:focus,#cs-elec-root select:focus{border-color:var(--brand);outline:3px solid rgba(23,102,77,.18);outline-offset:0}
#cs-elec-root :is(a,button,summary,[tabindex]):focus-visible{outline:3px solid var(--amber);outline-offset:2px}
#cs-elec-root .cse-ico{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}
#cs-elec-root table{border-collapse:collapse;width:100%;margin:0;border:0}

/* Cabecera */
#cs-elec-root .cse-hero{position:relative;overflow:hidden;border-radius:22px;padding:42px 44px 76px;color:#fff;background:radial-gradient(1200px 400px at 85% -20%,rgba(242,165,22,.35),transparent 60%),linear-gradient(135deg,#0b3326 0%,#125a43 55%,#17664d 100%)}
#cs-elec-root .cse-hero::after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(90deg,transparent,#000 70%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 70%);pointer-events:none}
#cs-elec-root .cse-hero>*{position:relative;z-index:1}
#cs-elec-root .cse-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#ffd27a;margin-bottom:14px}
#cs-elec-root .cse-hero h1{font-size:44px;line-height:1.08;font-weight:800;margin:0 0 14px;max-width:820px;color:#fff}
#cs-elec-root .cse-hero p{font-size:18px;color:#d7ece2;max-width:760px}
#cs-elec-root .cse-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
#cs-elec-root .cse-pills span{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);color:#fff}
#cs-elec-root .cse-pills .cse-ico{width:16px;height:16px;color:#ffd27a}
#cs-elec-root .cse-bolt{position:absolute;right:42px;top:34px;width:150px;height:150px;opacity:.9;z-index:0}

/* Catálogo */
#cs-elec-root .cse-catalog{position:relative;margin-top:-44px}
#cs-elec-root .cse-searchbox{position:relative;display:flex;align-items:center;background:#fff;border-radius:16px;box-shadow:0 10px 30px rgba(11,51,38,.18);padding:6px 16px;margin:0 24px 18px;border:1px solid var(--line)}
#cs-elec-root .cse-searchbox .cse-ico{width:24px;height:24px;color:var(--brand)}
#cs-elec-root .cse-searchbox input{border:0;min-height:58px;font-size:18px;padding:10px 12px;outline:0;background:transparent}
#cs-elec-root .cse-searchbox input:focus{outline:0}
#cs-elec-root .cse-count{font-size:12px;color:var(--muted);white-space:nowrap;background:var(--soft);border-radius:999px;padding:5px 10px}
#cs-elec-root .cse-chips{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 26px}
#cs-elec-root .cse-chips button{display:inline-flex;align-items:center;gap:6px;border-radius:999px;min-height:38px;padding:6px 14px;font-weight:600;font-size:13px;background:#fff}
#cs-elec-root .cse-chips button .cse-ico{width:16px;height:16px;color:var(--c,var(--brand))}
#cs-elec-root .cse-chips button.on{background:var(--brand-d);color:#fff;border-color:var(--brand-d)}
#cs-elec-root .cse-chips button.on .cse-ico{color:#ffd27a}
#cs-elec-root .cse-sec{margin:0 0 34px}
#cs-elec-root .cse-h2{display:flex;align-items:center;gap:8px;font-size:22px;font-weight:800;margin:0 0 4px}
#cs-elec-root .cse-h2 .cse-ico{color:var(--amber)}
#cs-elec-root .cse-n{font-size:12px;font-weight:700;color:var(--muted);background:var(--soft);border-radius:999px;padding:3px 9px}
#cs-elec-root .cse-cathead{display:flex;gap:14px;align-items:flex-start;margin-bottom:14px}
#cs-elec-root .cse-cathead p{color:var(--muted);font-size:15px}
#cs-elec-root .cse-catic{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:color-mix(in srgb,var(--c) 12%,#fff);color:var(--c);flex-shrink:0}
#cs-elec-root .cse-catic .cse-ico{width:24px;height:24px}
#cs-elec-root .cse-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;margin-top:12px}
#cs-elec-root .cse-cards-big{grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px}
#cs-elec-root .cse-card{position:relative;display:flex;flex-direction:column;gap:6px;padding:16px 16px 16px 16px;border-radius:var(--r);background:#fff;border:1px solid var(--line);text-decoration:none;color:var(--ink);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;min-height:100%}
#cs-elec-root .cse-card:hover{transform:translateY(-2px);box-shadow:var(--sh);border-color:color-mix(in srgb,var(--c) 45%,#fff);color:var(--ink)}
#cs-elec-root .cse-card-ic{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:color-mix(in srgb,var(--c) 12%,#fff);color:var(--c)}
#cs-elec-root .cse-card-t{font-weight:700;font-size:16px;line-height:1.3}
#cs-elec-root .cse-card-d{font-size:13.5px;color:var(--muted);line-height:1.45}
#cs-elec-root .cse-card-big{padding:20px;background:linear-gradient(180deg,#fff,color-mix(in srgb,var(--c) 5%,#fff))}
#cs-elec-root .cse-card-big .cse-card-t{font-size:17px}
#cs-elec-root .cse-badge{align-self:flex-start;margin-top:auto;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#7a4a00;background:#fff1d6;border-radius:999px;padding:3px 8px}
#cs-elec-root .cse-badge-easy{color:#0f5132;background:#dff3e8}
#cs-elec-root .cse-star{color:var(--amber)}
#cs-elec-root .cse-muted{color:var(--muted)}

/* Guías «¿Qué quieres hacer?» */
#cs-elec-root .cse-gbtns{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;margin-top:12px}
#cs-elec-root .cse-gbtn{display:flex;align-items:center;gap:10px;text-align:left;font-weight:700;font-size:14.5px;padding:12px 14px;min-height:56px;border-radius:14px;background:#fff}
#cs-elec-root .cse-gbtn .cse-ico{width:22px;height:22px;color:var(--brand)}
#cs-elec-root .cse-gbtn.on,#cs-elec-root .cse-gbtn.on:hover{background:var(--brand-d);border-color:var(--brand-d);color:#fff}
#cs-elec-root .cse-gbtn.on .cse-ico{color:#ffd27a}
#cs-elec-root .cse-guide{margin-top:12px;padding:16px 18px;border:1px solid var(--line);border-radius:var(--r);background:linear-gradient(180deg,#fff,var(--soft))}
#cs-elec-root .cse-guide ol{list-style:none;counter-reset:cseg;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;margin-top:10px}
#cs-elec-root .cse-guide li{counter-increment:cseg;margin:0}
#cs-elec-root .cse-guide a{position:relative;display:flex;flex-direction:column;gap:2px;height:100%;padding:12px 14px 12px 52px;border-radius:12px;background:#fff;border:1px solid var(--line);text-decoration:none;color:var(--ink)}
#cs-elec-root .cse-guide a::before{content:counter(cseg);position:absolute;left:14px;top:12px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--brand);color:#fff;font-weight:800;font-size:13px}
#cs-elec-root .cse-guide a:hover{border-color:var(--brand);box-shadow:var(--sh);color:var(--ink)}
#cs-elec-root .cse-guide strong{font-size:15px;line-height:1.3}
#cs-elec-root .cse-guide a span{font-size:13px;color:var(--muted)}

/* Vista de herramienta */
#cs-elec-root.cse-tool-open .cse-hero{padding:22px 30px 26px;border-radius:18px}
#cs-elec-root.cse-tool-open .cse-hero h1{font-size:24px;margin:0}
#cs-elec-root.cse-tool-open .cse-hero p,#cs-elec-root.cse-tool-open .cse-pills,#cs-elec-root.cse-tool-open .cse-bolt,#cs-elec-root.cse-tool-open .cse-eyebrow{display:none}
#cs-elec-root .cse-tool{margin-top:18px}
#cs-elec-root .cse-crumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px;margin-bottom:14px;color:var(--muted)}
#cs-elec-root .cse-crumb a{text-decoration:none;font-weight:600}
#cs-elec-root .cse-back{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:var(--soft);border:1px solid var(--line)}
#cs-elec-root .cse-thead{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:start;margin-bottom:18px}
#cs-elec-root .cse-tic{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:color-mix(in srgb,var(--c) 13%,#fff);color:var(--c)}
#cs-elec-root .cse-tic .cse-ico{width:28px;height:28px}
#cs-elec-root .cse-title{font-size:30px;line-height:1.15;font-weight:800;outline:0}
#cs-elec-root .cse-sum{color:var(--muted);font-size:16px;margin-top:6px;max-width:760px}
#cs-elec-root .cse-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
#cs-elec-root .cse-act{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;padding:7px 11px;min-height:38px}
#cs-elec-root .cse-act .cse-ico{width:17px;height:17px}
#cs-elec-root .cse-act.on{background:#fff6e0;border-color:#f2c46b}
#cs-elec-root .cse-act.on .cse-ico{fill:var(--amber);color:var(--amber)}
#cs-elec-root .cse-intro{background:var(--soft);border-radius:12px;padding:14px 16px;margin-bottom:16px;font-size:15px}
#cs-elec-root .cse-work{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:18px;align-items:start}
#cs-elec-root .cse-card-box{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:var(--sh);min-width:0}
#cs-elec-root .cse-result,#cs-elec-root .cse-fields,#cs-elec-root .cse-learn,#cs-elec-root .cse-acc-b{min-width:0;max-width:100%}
#cs-elec-root .cse-out{position:sticky;top:110px;border-top:4px solid var(--c,var(--brand))}
#cs-elec-root .cse-h3{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:800;margin:0 0 16px}
#cs-elec-root .cse-num{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--c,var(--brand));color:#fff;font-size:14px}
#cs-elec-root .cse-examples{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:-4px 0 16px;font-size:13px;color:var(--muted)}
#cs-elec-root .cse-examples button{font-size:13px;min-height:32px;padding:4px 10px;border-radius:999px;background:var(--soft)}
#cs-elec-root .cse-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
#cs-elec-root .cse-field{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0;font-weight:400}
#cs-elec-root .cse-wide{grid-column:1/-1}
#cs-elec-root .cse-lab{font-size:14px;font-weight:700;color:var(--ink)}
#cs-elec-root .cse-lab em{font-weight:400;color:var(--muted);font-style:normal}
#cs-elec-root .cse-ig{display:flex;align-items:stretch;border:1px solid #c5d3cb;border-radius:10px;background:#fff;overflow:hidden}
#cs-elec-root .cse-ig:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px rgba(23,102,77,.16)}
#cs-elec-root .cse-ig input{border:0;border-radius:0;min-width:0;flex:1;outline:0}
#cs-elec-root .cse-ig input:focus{outline:0}
#cs-elec-root .cse-ig .cse-unit{border:0;border-left:1px solid var(--line);border-radius:0;width:auto;min-width:74px;flex:0 0 auto;background:var(--soft);font-size:14px;font-weight:600;padding:8px 26px 8px 10px}
#cs-elec-root .cse-unit-fixed{display:flex;align-items:center;padding:0 12px;background:var(--soft);border-left:1px solid var(--line);font-size:14px;font-weight:600;color:var(--muted);white-space:nowrap}
#cs-elec-root .cse-help{font-size:12.5px;color:var(--muted);line-height:1.4}
#cs-elec-root .cse-err{font-size:12.5px;color:var(--bad);font-weight:600}
#cs-elec-root .cse-err:empty{display:none}
#cs-elec-root .cse-bad .cse-ig,#cs-elec-root .cse-bad input{border-color:var(--bad)}
#cs-elec-root .cse-badin{border-color:var(--bad)!important;background:#fff7f6!important}
#cs-elec-root .cse-seg{display:flex;flex-wrap:wrap;gap:6px}
#cs-elec-root .cse-seg button{flex:1 1 auto;min-height:42px;border-radius:10px;font-weight:600;background:#fff}
#cs-elec-root .cse-seg button.on{background:var(--brand-d);border-color:var(--brand-d);color:#fff}
#cs-elec-root .cse-chk{flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px;font-weight:600;font-size:14px;cursor:pointer}
#cs-elec-root .cse-chk input{width:20px;height:20px;min-height:0;accent-color:var(--brand);margin:0}
#cs-elec-root .cse-chk .cse-help{flex-basis:100%;font-weight:400}
#cs-elec-root .cse-note{font-size:13.5px;background:var(--infobg);color:#1b3d86;border-radius:10px;padding:10px 12px}
#cs-elec-root .cse-fhead{font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:6px;margin-top:6px}
#cs-elec-root .cse-adv{margin-top:18px;border-top:1px dashed var(--line);padding-top:12px}
#cs-elec-root .cse-adv>summary{cursor:pointer;font-weight:700;font-size:14px;color:var(--brand);margin-bottom:12px;list-style-position:inside}
#cs-elec-root .cse-list{display:flex;flex-direction:column;gap:8px}
#cs-elec-root .cse-rows{display:flex;flex-direction:column;gap:8px}
#cs-elec-root .cse-row{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap;background:var(--soft);border-radius:12px;padding:10px}
#cs-elec-root .cse-rown{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#fff;font-size:12px;font-weight:700;color:var(--muted);margin-bottom:10px}
#cs-elec-root .cse-sub{display:flex;flex-direction:column;gap:4px;flex:1 1 110px;min-width:0;font-size:12px;font-weight:600;color:var(--muted)}
#cs-elec-root .cse-subtxt{flex:2 1 170px}
#cs-elec-root .cse-sub input,#cs-elec-root .cse-sub select{min-height:42px;font-size:15px;padding:8px 10px}
#cs-elec-root .cse-rm{min-height:42px;padding:6px 10px;background:#fff;color:var(--bad)}
#cs-elec-root .cse-add{align-self:flex-start;font-weight:700;color:var(--brand);border-style:dashed}

/* Resultados */
#cs-elec-root .cse-result{display:flex;flex-direction:column;gap:14px}
#cs-elec-root .cse-verdict{display:flex;gap:12px;align-items:flex-start;border-radius:12px;padding:12px 14px;font-size:14.5px}
#cs-elec-root .cse-verdict .cse-ico{width:24px;height:24px;margin-top:1px}
#cs-elec-root .cse-verdict strong{display:block;font-size:15.5px}
#cs-elec-root .cse-verdict p{margin-top:2px}
#cs-elec-root .cse-verdict.cse-ok{background:var(--okbg);color:#0c5a2c}
#cs-elec-root .cse-verdict.cse-warn{background:var(--warnbg);color:#7a4705}
#cs-elec-root .cse-verdict.cse-bad{background:var(--badbg);color:#8f1c13}
#cs-elec-root .cse-verdict.cse-info{background:var(--infobg);color:#173f93}
#cs-elec-root .cse-main{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
#cs-elec-root .cse-kpi{border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:linear-gradient(180deg,#fff,var(--soft));min-width:0}
#cs-elec-root .cse-kpi span{display:block;font-size:12.5px;font-weight:700;color:var(--muted);text-transform:none}
#cs-elec-root .cse-kpi strong{display:block;font-size:26px;line-height:1.15;font-weight:800;margin-top:4px;overflow-wrap:anywhere;color:var(--ink)}
#cs-elec-root .cse-kpi strong small{font-size:15px;font-weight:700;color:var(--muted)}
#cs-elec-root .cse-kpi em{display:block;font-style:normal;font-size:12.5px;color:var(--muted);margin-top:4px}
#cs-elec-root .cse-kpi.cse-ok{border-color:#a8dcbc;background:linear-gradient(180deg,#fff,var(--okbg))}
#cs-elec-root .cse-kpi.cse-warn{border-color:#f1cf8e;background:linear-gradient(180deg,#fff,var(--warnbg))}
#cs-elec-root .cse-kpi.cse-bad{border-color:#f0b3ae;background:linear-gradient(180deg,#fff,var(--badbg))}
#cs-elec-root .cse-rows-out{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;overflow:hidden}
#cs-elec-root .cse-rows-out>div{display:flex;justify-content:space-between;gap:12px;padding:9px 14px;border-bottom:1px solid var(--line);font-size:14.5px}
#cs-elec-root .cse-rows-out>div:last-child{border-bottom:0}
#cs-elec-root .cse-rows-out>div:nth-child(even){background:var(--soft)}
#cs-elec-root .cse-rows-out dt{color:var(--muted)}
#cs-elec-root .cse-rows-out dd{font-weight:700;text-align:right;overflow-wrap:anywhere}
#cs-elec-root .cse-rows-out dd small{color:var(--muted);font-weight:600}
#cs-elec-root .cse-rows-out dd .cse-muted{font-weight:500}
#cs-elec-root .cse-shop{display:inline-flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
#cs-elec-root .cse-shop a{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;background:var(--okbg);border:1px solid #a8dcbc;font-size:13px;font-weight:700;text-decoration:none;color:var(--brand-d)}
#cs-elec-root .cse-shop a:hover{background:#d6efe1}
#cs-elec-root .cse-notes{font-size:13.5px;color:var(--muted);padding-left:18px;display:flex;flex-direction:column;gap:4px}
#cs-elec-root .cse-extra svg{max-width:100%;height:auto;display:block;margin:0 auto}
#cs-elec-root .cse-tw{overflow-x:auto;border:1px solid var(--line);border-radius:12px;-webkit-overflow-scrolling:touch;max-width:100%}
#cs-elec-root .cse-table{font-size:14px}
#cs-elec-root .cse-table caption{caption-side:top;text-align:left;font-weight:700;padding:10px 12px 0;color:var(--ink)}
#cs-elec-root .cse-table th,#cs-elec-root .cse-table td{padding:8px 10px;border:0;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;line-height:1.4}
#cs-elec-root .cse-table thead th{background:#eaf3ee;font-size:12.5px;font-weight:800;color:#24463a;white-space:nowrap;position:sticky;top:0}
#cs-elec-root .cse-table thead th small{display:block;min-width:130px;white-space:normal;font-size:11.5px;font-weight:600;color:var(--muted)}
#cs-elec-root .cse-table tbody th{font-weight:700;background:#fbfcfb}
#cs-elec-root .cse-table tbody tr:hover td,#cs-elec-root .cse-table tbody tr:hover th{background:#f5faf7}
#cs-elec-root .cse-table tr.cse-hl td,#cs-elec-root .cse-table tr.cse-hl th{background:#fff4d8}
#cs-elec-root .cse-compact th,#cs-elec-root .cse-compact td{padding:6px 8px;font-size:13px}
#cs-elec-root .cse-yes{color:var(--ok);font-weight:700}
#cs-elec-root .cse-no{color:var(--bad);font-weight:700}
#cs-elec-root .cse-sw{display:inline-block;width:14px;height:14px;border-radius:4px;border:1px solid rgba(0,0,0,.25);vertical-align:-2px;margin-right:6px}

/* Explicaciones */
#cs-elec-root .cse-learn{margin-top:18px;display:flex;flex-direction:column;gap:10px}
#cs-elec-root .cse-acc{background:#fff;border:1px solid var(--line);border-radius:14px}
#cs-elec-root .cse-acc>summary{display:flex;align-items:center;gap:10px;cursor:pointer;padding:14px 18px;font-weight:800;font-size:16px;list-style:none}
#cs-elec-root .cse-acc>summary::-webkit-details-marker{display:none}
#cs-elec-root .cse-acc>summary::after{content:"+";margin-left:auto;font-size:22px;font-weight:400;color:var(--muted)}
#cs-elec-root .cse-acc[open]>summary::after{content:"−"}
#cs-elec-root .cse-acc>summary .cse-ico{color:var(--c,var(--brand))}
#cs-elec-root .cse-acc-b{padding:0 18px 18px;font-size:15px}
#cs-elec-root .cse-formulas{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
#cs-elec-root .cse-formulas code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px;background:#0d3b2c;color:#e9fff4;padding:7px 11px;border-radius:9px;white-space:pre-wrap}
#cs-elec-root .cse-steps ol{padding-left:22px;display:flex;flex-direction:column;gap:6px}
#cs-elec-root .cse-steps li{padding-left:2px}
#cs-elec-root .cse-prose p{margin:0 0 10px}
#cs-elec-root .cse-prose ul,#cs-elec-root .cse-prose ol{padding-left:22px;margin:0 0 10px}
#cs-elec-root .cse-prose li{margin:3px 0}
#cs-elec-root .cse-prose strong{color:var(--ink)}
#cs-elec-root .cse-related{margin-top:10px}
#cs-elec-root .cse-disclaimer{margin-top:20px;font-size:12.5px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px}
#cs-elec-root .cse-refbody{display:flex;flex-direction:column;gap:16px}
#cs-elec-root .cse-refbody h3{font-size:18px;font-weight:800;margin:6px 0 0}
#cs-elec-root .cse-refbody p{font-size:15px}
#cs-elec-root .cse-filter{max-width:420px}
#cs-elec-root .cse-figs{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
#cs-elec-root .cse-fig{border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff;text-align:center;font-size:13.5px}
#cs-elec-root .cse-fig svg{width:100%;height:auto;max-height:170px;display:block;margin:0 auto 8px}
#cs-elec-root .cse-fig strong{display:block;font-size:15px;margin-bottom:2px}
#cs-elec-root .cse-pin{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:700}

/* SEO / contenido estático */
#cs-elec-root .cse-static,#cs-elec-root .cse-seo{margin-top:34px}
#cs-elec-root .cse-seo h2{font-size:24px;font-weight:800;margin:0 0 10px}
#cs-elec-root .cse-seo h3{font-size:17px;font-weight:800;margin:16px 0 6px}
#cs-elec-root .cse-seo p{margin:0 0 10px;font-size:15.5px;color:#2b3e35}
#cs-elec-root .cse-seo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:14px 0 6px}
#cs-elec-root .cse-seo-grid>div{background:var(--soft);border-radius:14px;padding:16px}
#cs-elec-root .cse-seo-grid strong{display:block;margin-bottom:4px}
#cs-elec-root .cse-faq details{border-bottom:1px solid var(--line);padding:4px 0}
#cs-elec-root .cse-faq summary{cursor:pointer;font-weight:700;padding:10px 0;font-size:16px}
#cs-elec-root .cse-faq details p{padding:0 0 10px}
#cs-elec-root .cse-static ul{columns:3 240px;padding-left:18px;font-size:14px}
#cs-elec-root .cse-static li{margin:3px 0;break-inside:avoid}
#cs-elec-root .cse-foot{margin-top:28px;font-size:13px;color:var(--muted);border-top:1px solid var(--line);padding-top:14px}

/* Avisos */
#cs-elec-root .cse-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,30px);opacity:0;pointer-events:none;background:#0d3b2c;color:#fff;padding:11px 18px;border-radius:12px;font-size:14px;font-weight:600;box-shadow:0 10px 30px rgba(0,0,0,.25);transition:all .2s ease;z-index:99999;max-width:calc(100vw - 32px);text-align:center}
#cs-elec-root .cse-toast.on{opacity:1;transform:translate(-50%,0)}
#cs-elec-root .cse-mini{display:none}

@media (max-width:980px){
  #cs-elec-root .cse-work{grid-template-columns:minmax(0,1fr)}
  #cs-elec-root .cse-out{position:static}
  #cs-elec-root .cse-thead{grid-template-columns:auto 1fr}
  #cs-elec-root .cse-actions{grid-column:1/-1;justify-content:flex-start}
  #cs-elec-root .cse-seo-grid{grid-template-columns:1fr}
  #cs-elec-root .cse-bolt{display:none}
}
@media (max-width:760px){
  #cs-elec-root{padding:0 12px;margin-top:12px}
  #cs-elec-root .cse-hero{padding:28px 20px 64px;border-radius:18px}
  #cs-elec-root .cse-hero h1{font-size:29px}
  #cs-elec-root .cse-hero p{font-size:15px}
  #cs-elec-root .cse-pills{gap:6px;margin-top:16px}
  #cs-elec-root .cse-pills span{font-size:12px;padding:5px 9px}
  #cs-elec-root .cse-pills span:nth-child(n+4){display:none}
  #cs-elec-root .cse-searchbox{margin:0 8px 14px;padding:4px 12px}
  #cs-elec-root .cse-searchbox input{font-size:16px;min-height:52px}
  #cs-elec-root .cse-count{display:none}
  #cs-elec-root .cse-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;margin-right:-12px;-webkit-overflow-scrolling:touch}
  #cs-elec-root .cse-chips button{flex:0 0 auto}
  #cs-elec-root .cse-cards,#cs-elec-root .cse-cards-big{grid-template-columns:1fr}
  #cs-elec-root .cse-grid{grid-template-columns:1fr}
  #cs-elec-root .cse-card-box{padding:16px;border-radius:16px}
  #cs-elec-root .cse-title{font-size:24px}
  #cs-elec-root .cse-tic{width:46px;height:46px}
  #cs-elec-root .cse-act span{display:none}
  #cs-elec-root .cse-act{padding:8px 10px}
  #cs-elec-root .cse-kpi strong{font-size:23px}
  #cs-elec-root.cse-tool-open .cse-mini.cse-has:not(.cse-hide){display:flex;position:fixed;left:10px;right:10px;bottom:10px;z-index:9990;align-items:center;gap:10px;padding:10px 14px;border-radius:14px;background:#0d3b2c;color:#fff;text-decoration:none;box-shadow:0 10px 30px rgba(0,0,0,.3)}
  #cs-elec-root .cse-mini-l{font-size:12px;opacity:.8;flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #cs-elec-root .cse-mini-v{font-weight:800;font-size:17px;white-space:nowrap}
  #cs-elec-root .cse-mini-v small{font-size:13px;color:#cfe8dc}
  #cs-elec-root .cse-mini-go{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;color:#ffd27a}
  #cs-elec-root .cse-mini-go .cse-ico{width:14px;height:14px}
  #cs-elec-root .cse-rows-out>div{flex-direction:column;gap:2px}
  #cs-elec-root .cse-rows-out dd{text-align:left}
  #cs-elec-root .cse-shop{justify-content:flex-start}
  #cs-elec-root .cse-gbtns{grid-template-columns:1fr 1fr;gap:8px}
  #cs-elec-root .cse-gbtn{font-size:13.5px;padding:10px 12px;min-height:52px}
  #cs-elec-root .cse-guide{padding:14px 12px}
  #cs-elec-root .cse-guide ol{grid-template-columns:1fr}
}

/* Impresión / PDF: solo la calculadora abierta, con los datos introducidos. */
#cs-elec-root .cse-printmeta{display:none}
@media print{
  body *{visibility:hidden}
  #cs-elec-root,#cs-elec-root *{visibility:visible}
  #cs-elec-root{position:absolute;left:0;top:0;width:100%;max-width:none;margin:0;padding:0 8mm}
  #cs-elec-root .cse-hero,#cs-elec-root .cse-crumb,#cs-elec-root .cse-actions,#cs-elec-root .cse-examples,#cs-elec-root .cse-related,#cs-elec-root .cse-mini,#cs-elec-root .cse-toast,#cs-elec-root .cse-seo,#cs-elec-root .cse-static,#cs-elec-root .cse-foot,#cs-elec-root .cse-form{display:none!important}
  #cs-elec-root .cse-printmeta{display:block;margin-bottom:10px}
  #cs-elec-root .cse-pm-head{display:flex;justify-content:space-between;gap:10px;border-bottom:2px solid #17664d;padding-bottom:6px;margin-bottom:10px;font-size:11px}
  #cs-elec-root .cse-pm-in{font-size:11px;margin-bottom:10px}
  #cs-elec-root .cse-pm-in caption{text-align:left;font-weight:700;padding:4px 0}
  #cs-elec-root .cse-pm-in th,#cs-elec-root .cse-pm-in td{border:1px solid #ccc;padding:3px 6px;text-align:left}
  #cs-elec-root .cse-work{display:block}
  #cs-elec-root .cse-card-box{box-shadow:none;border:1px solid #ccc;padding:10px;break-inside:avoid}
  #cs-elec-root .cse-out{position:static}
  #cs-elec-root .cse-acc{border:0}
  #cs-elec-root .cse-acc>summary::after{content:""}
  #cs-elec-root details:not([open])>*:not(summary){display:block}
  #cs-elec-root .cse-kpi strong{font-size:18px}
  #cs-elec-root .cse-tw{overflow:visible}
  #cs-elec-root .cse-table thead th{position:static}
  #cs-elec-root a{color:#000;text-decoration:none}
}
