@font-face{font-family:'SafetyCheck Sans';src:url('DejaVuSans.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:'SafetyCheck Sans';src:url('DejaVuSans-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--ink:#171717;--soft:#626262;--line:#dcdad3;--paper:#f7f6f2;--yellow:#f8a000}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:white;color:var(--ink);font:400 1rem/1.6 'SafetyCheck Sans',Arial,sans-serif}a{color:inherit;text-underline-offset:4px}button,input,select,textarea{font:inherit}button,summary,a{touch-action:manipulation}button,summary{cursor:pointer}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.25;letter-spacing:-.025em}h1{font-size:2rem;margin-bottom:14px}h2{font-size:1.5rem}p{margin-bottom:16px}.wrap{width:min(1150px,calc(100% - 48px));margin:auto}.header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);min-height:100px}.header>a{width:285px;height:98px;display:block}.header img{width:100%;height:100%;object-fit:contain}.free{border:1px solid var(--line);border-radius:24px;font-size:.875rem;padding:6px 14px}.intro{padding:32px 0 22px;max-width:820px}.eyebrow{font-size:.875rem;letter-spacing:.06em;font-weight:700;color:#725018;margin-bottom:14px}.intro>p{max-width:760px}.small,small{font-size:.875rem;line-height:1.6;color:var(--soft)}.layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(310px,1fr);gap:34px;align-items:start}.tools{display:flex;gap:12px;align-items:end}.search{flex:1}.tools button{max-width:180px}label{font-size:.875rem;font-weight:700;display:flex;flex-direction:column;gap:7px;min-width:0}input,select,textarea{width:100%;min-height:46px;padding:9px 10px;background:#fff;border:1px solid #b5b3ab;border-radius:4px;color:var(--ink);font-size:1rem}input[type=number]{font-variant-numeric:tabular-nums}textarea{resize:vertical}.button{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:11px 14px;font-size:.875rem;font-weight:700;line-height:1.4;border:1px solid transparent;border-radius:4px;text-decoration:none}.yellow{background:var(--yellow);color:#111}.yellow:hover{background:#e69500}.outline{background:white;border-color:#bbb8b0}.outline:hover{background:var(--paper)}button:disabled{cursor:default;opacity:.5}.services>p[role=status]{margin:14px 0}.group{border:1px solid var(--line);border-radius:6px;margin-bottom:14px;overflow:hidden}.group>summary{list-style:none;padding:18px;display:flex;align-items:center;gap:12px;font-weight:700;background:var(--paper)}summary::-webkit-details-marker{display:none}.group>summary span:first-child{flex:1}.group>summary small{font-weight:400}.group>summary .plus{color:#885a08;font-size:1.4rem;line-height:1}.group[open]>summary .plus{transform:rotate(45deg)}.service{padding:18px;border-top:1px solid var(--line)}.service.chosen{border-left:4px solid var(--yellow);padding-left:14px;background:#fffdf6}.row-top{display:flex;justify-content:space-between;align-items:start;gap:12px}.choose{display:flex;flex-direction:row;align-items:start;gap:10px;flex:1;cursor:pointer;font-size:1rem;line-height:1.45}.choose input{min-height:0;width:20px;height:20px;flex:0 0 20px;margin:2px 0 0;accent-color:#ad6900}.choose small{display:block;font-weight:400;margin-top:5px}.source-label{font-size:.875rem;color:#705a34;margin:0 0 14px 30px}.row-inputs{display:grid;grid-template-columns:1.5fr 1fr;gap:12px;margin:14px 0 0 30px}.row-inputs input:disabled{background:#f4f3ee;color:#73716b}.plan-select{margin:12px 0 0 30px}.service-more{margin:14px 0 0 30px;font-size:.875rem}.service-more>summary{font-weight:700;list-style:none;display:inline-block;text-decoration:underline;text-underline-offset:3px}.service-more p{margin:12px 0;font-size:.875rem}.references{margin-top:12px}.reference{padding:12px;background:var(--paper);border-radius:4px;margin-top:8px}.reference p{margin:0 0 8px;font-size:.875rem}.reference a{font-weight:700}.item-subtotal{display:flex;justify-content:space-between;gap:12px;font-size:.875rem;margin:12px 0 0 30px}.summary{position:sticky;top:20px;padding:24px;background:var(--paper);border:1px solid var(--line);border-top:4px solid var(--yellow);border-radius:6px}.summary h2{margin-bottom:8px}.summary>.eyebrow{margin-bottom:12px}.selected-items{max-height:230px;overflow:auto;margin-bottom:16px}.selected-line{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line);font-size:.875rem}.selected-line span{flex:1}.selected-line b{white-space:nowrap}.selected-line button{background:transparent;border:0;font-size:1rem;min-width:28px;min-height:28px;align-self:start;color:#6a4820}.net-total{display:flex;flex-direction:column;padding:12px 0 20px;border-bottom:1px solid var(--line);gap:7px}.net-total span{font-size:.875rem}.net-total strong{font-size:2rem;line-height:1.25;overflow-wrap:anywhere}.tax-controls{margin-top:20px}.tax-result{font-size:.875rem;margin:16px 0}.tax-result>div,.payments>div{display:flex;justify-content:space-between;gap:16px;padding:8px 0}.tax-result dt{color:#555}.tax-result dd{margin:0;font-weight:700}.tax-result dd,.payments b{white-space:nowrap}.payments{margin:16px 0;border-left:3px solid var(--yellow);padding-left:12px;font-size:.875rem}.actions{display:grid;gap:10px;margin-top:20px}.reset{border:0;background:transparent;text-decoration:underline;font-size:.875rem;padding:8px;min-height:40px;color:#555}.error{font-size:.875rem;color:#a02620}.formula{border-top:1px solid var(--line);margin-top:18px;padding-top:15px}.formula summary{font-size:.875rem;font-weight:700}.formula p{margin-top:12px}.table-note{padding-top:10px}.more{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.more>summary{font-weight:700;list-style:none;display:flex;justify-content:space-between;gap:15px}.more>div{padding-top:16px;font-size:.875rem}.more a{display:inline-block;margin-bottom:10px}.empty{padding:24px;border:1px solid var(--line);background:var(--paper)}.charge{padding:30px;margin:42px 0 30px;border-left:4px solid var(--yellow);background:var(--paper)}.charge ol{padding-left:22px;margin:0}.charge li{padding-left:5px;margin-top:14px}.charge h2{margin-bottom:18px}.charge .eyebrow{margin-bottom:10px}footer{border-top:1px solid var(--line);padding:24px 0 32px;font-size:.875rem;display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;color:var(--soft)}footer p{margin:0}.mobile-total{display:none}.skip{position:absolute;top:-100px;left:16px;padding:12px;background:var(--yellow);z-index:30}.skip:focus{top:10px}[hidden]{display:none!important}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid #a76300;outline-offset:3px}#copyFallback{margin-top:12px}
@media(max-width:850px){.layout{gap:22px;grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr)}.row-inputs{margin-left:0}.source-label,.service-more,.plan-select,.item-subtotal{margin-left:0}.tools{flex-wrap:wrap}.tools .search{flex-basis:100%}.tools button{max-width:none;width:100%}}
@media(max-width:700px){body{padding-bottom:80px}.wrap{width:calc(100% - 32px)}.header{min-height:90px}.header>a{width:245px;max-width:78%;height:90px}.free{font-size:.875rem;max-width:100px;padding:5px 9px;text-align:center;line-height:1.3}.intro{padding-top:24px}.intro h1{font-size:1.5rem}.intro .eyebrow{letter-spacing:.02em}.intro br{display:none}.layout{display:block}.summary{position:static;margin-top:28px;padding:22px}.group>summary{padding:16px;font-size:1rem}.group>summary small{white-space:nowrap}.service{padding:16px}.service.chosen{padding-left:12px}.choose{font-size:1rem}.source-label{margin-top:8px}.row-inputs{grid-template-columns:1.4fr 1fr}.row-inputs label{font-size:.875rem}.charge{margin-top:28px;padding:22px 18px}.charge h2{font-size:1.25rem}.charge li{font-size:.875rem}.mobile-total{display:flex;justify-content:space-between;align-items:center;gap:12px;position:fixed;bottom:0;left:0;right:0;z-index:20;padding:13px 16px;background:#171717;color:white;font-size:.875rem;text-decoration:none;border-top:3px solid var(--yellow)}.mobile-total strong{color:var(--yellow);overflow-wrap:anywhere}.mobile-total>span:first-child{display:none}footer{display:block}footer p{margin-bottom:12px}h1,h2,h3,p,summary,label,li{overflow-wrap:anywhere}}
@media(max-width:365px){.row-inputs{grid-template-columns:1fr}.free{display:none}.header>a{max-width:100%;margin:auto}.net-total strong{font-size:1.75rem}.tax-result>div,.payments>div{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{.tools,.mobile-total,.actions,.free,.choose input{display:none!important}.wrap{width:100%}.layout{display:block}.summary{position:static;break-inside:avoid}.service:not(.chosen){display:none}.group{border:0}.charge{margin-top:16px}.header{min-height:70px}body{padding-bottom:0}}
.hero-photo{max-width:none;margin:14px 0 0;padding:40px 36px;color:#fff;border-radius:8px;background:linear-gradient(90deg,rgba(17,17,17,.97) 0%,rgba(17,17,17,.89) 46%,rgba(17,17,17,.32) 80%),url('prevencion-terreno.png') center 40%/cover no-repeat;min-height:330px;display:flex;align-items:center}.hero-copy{max-width:690px}.hero-photo .eyebrow{color:var(--yellow);font-size:.875rem}.hero-photo h1{font-size:2.35rem;line-height:1.22;margin-bottom:16px}.hero-photo h1 em{font-style:normal;color:var(--yellow)}.hero-photo p{max-width:600px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 14px}.share-light{background:rgba(0,0,0,.25);color:#fff;border-color:#c8c8c8}.share-light:hover{background:#333}.hero-benefit{font-size:.875rem;color:#eee;margin-bottom:0}.share-status{font-size:.875rem;color:#fff;margin-top:10px;min-height:0}.quick-steps{display:flex;gap:30px;justify-content:space-between;padding:22px 0 28px;font-size:.875rem;font-weight:700;flex-wrap:wrap}.quick-steps b{display:inline-flex;align-items:center;justify-content:center;height:27px;width:27px;border-radius:50%;background:var(--yellow);color:#151515;margin-right:8px}.anonymous-comparison{padding:16px;background:#f4f2e9;border-left:3px solid var(--yellow);margin-top:16px}.anonymous-comparison>p{margin:0 0 12px}.comparison-value{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:12px}.comparison-value>span{font-size:.875rem;max-width:180px}.comparison-value>strong{font-size:1.25rem;white-space:nowrap}.comparison-note{padding:12px;background:var(--paper)}.share-banner{padding:28px;background:#191919;color:white;border-radius:6px;margin-bottom:28px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}.share-banner .eyebrow{color:var(--yellow);letter-spacing:.035em}.share-banner h2{font-size:1.25rem;margin-bottom:8px}.share-banner p{margin-bottom:0}.share-banner .small{color:#eee}.share-banner textarea{flex-basis:100%}.summary{box-shadow:0 6px 20px rgba(0,0,0,.04)}.group>summary{border-left:4px solid var(--yellow)}.header{border-bottom:3px solid var(--yellow)}
@media(max-width:700px){.hero-photo{padding:28px 20px;min-height:355px;background-position:64% center;background-image:linear-gradient(90deg,rgba(17,17,17,.94),rgba(17,17,17,.7)),url('prevencion-terreno.png')}.hero-photo h1{font-size:1.75rem}.hero-copy{width:100%}.hero-actions{display:grid;grid-template-columns:1fr}.hero-actions .button{width:100%}.quick-steps{gap:8px;padding:18px 0 22px}.quick-steps span{font-size:.875rem}.quick-steps b{width:23px;height:23px;margin-right:5px}.comparison-value{align-items:start;flex-wrap:wrap;gap:8px}.share-banner{padding:23px 18px;gap:18px}.share-banner .button{width:100%}.anonymous-comparison{padding:13px}.hero-photo .share-status{font-size:.875rem}}
@media print{.hero-photo{background:#fff!important;color:#111;padding:10px 0}.hero-photo .eyebrow,.hero-photo h1 em,.hero-benefit{color:#111}.hero-actions,.share-banner,.quick-steps{display:none}.hero-photo{min-height:0}}

.context-card{border:1px solid var(--line,#ddd);border-top:4px solid var(--yellow);padding:26px;margin:0 0 28px;border-radius:6px;background:#fff;scroll-margin-top:20px}.context-card h2{font-size:1.45rem;line-height:1.35;max-width:800px}.context-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.context-grid label{min-width:0}.context-grid input,.context-grid select{width:100%;box-sizing:border-box}.scope-guide{background:#fff8dc;border-left:3px solid var(--yellow);padding:16px;line-height:1.6}.context-card details{margin:18px 0}.context-card summary{cursor:pointer;font-weight:700}.scope-breakdown{font-size:.875rem;border-top:1px solid #ddd;margin-top:16px;padding-top:8px}.scope-breakdown p{display:flex;justify-content:space-between;gap:12px}.scope-breakdown b{white-space:nowrap}.context-card .button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:700px){.context-card{padding:20px 16px}.context-grid{grid-template-columns:1fr}.context-card h2{font-size:1.2rem}.context-card .button{width:100%}}

.search-highlight{padding:24px;margin:0 0 20px;background:#fff4d3;border:2px solid var(--yellow);border-radius:8px;box-shadow:0 5px 16px rgba(171,114,0,.08)}.search-highlight .eyebrow{color:#634200;margin-bottom:8px}.search-highlight h2{font-size:1.5rem;margin-bottom:10px}.search-highlight>p{margin-bottom:16px}.search-highlight .search{font-size:1rem}.search-highlight input{min-height:54px;border:2px solid #765000;background:white}.search-highlight input:focus{outline:3px solid var(--yellow);outline-offset:3px}.search-highlight input::placeholder{color:#666;opacity:1;font-weight:400}.search-highlight .outline{border-color:#765000;color:#302000}.search-highlight #searchCount{color:#49402a;margin:16px 0 0;font-weight:700}@media(max-width:700px){.search-highlight{padding:20px 16px}.search-highlight .tools{display:flex;flex-direction:column;align-items:stretch;gap:12px}.search-highlight .tools button{max-width:none;width:100%}.search-highlight h2{font-size:1.35rem}}
[hidden]{display:none!important}.mode-tabs{display:flex;gap:6px;border-bottom:3px solid var(--yellow);margin-bottom:20px}.mode-tabs button{flex:1;min-height:54px;padding:12px 8px;border:1px solid #bbb;background:#f6f5f0;color:#222;font-weight:700;border-radius:5px 5px 0 0}.mode-tabs [aria-selected=true]{background:#171717;color:#fff;border-color:#171717}.mode-tabs button:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}.guide-download{display:flex;gap:24px;align-items:center;justify-content:space-between;padding:22px;background:#171717;color:#fff;border-radius:6px;margin-top:22px}.guide-download>div{flex:1}.guide-download p{color:#ddd;margin:8px 0 0}.guide-download .button{flex-shrink:0}.inline-check{flex-direction:row;align-items:center;margin:20px 0;gap:12px}.inline-check input{width:22px;height:22px;min-height:22px;flex-shrink:0}.modeled-range{font-size:1rem!important;color:#644100!important;font-weight:700}.print-only{display:none}.summary .actions{margin-top:20px}.more>ul{padding:16px 20px 0 35px}.more>ul li{margin-bottom:12px}.context-card>.more{padding:12px;border:1px solid #dedbd3;border-radius:4px}.context-card>.more summary{padding:4px}.service>.reset{margin-bottom:12px}.services{scroll-margin-top:22px}@media(max-width:700px){.guide-download{flex-direction:column;align-items:stretch;padding:20px}.guide-download .button{width:100%}.mode-tabs button{font-size:.875rem}.context-card{margin-top:0}}
@media print{body{font-size:11pt;padding:0}.hero-photo,.quick-steps,.context-card,.services,.charge,.share-banner,.mobile-total,.free,.summary .actions,.summary>label,.summary .formula,.summary>textarea,#copyStatus{display:none!important}.wrap{width:100%;max-width:none}.layout{display:block}.summary{position:static;border:0;box-shadow:none;padding:16px 0;break-inside:auto}.header{min-height:65px}.header>a{height:60px;width:220px}.summary .print-only{display:block;margin-top:20px}.summary .payments{break-inside:avoid}.selected-line{break-inside:avoid}.summary #quoteContext{color:#222}.summary .net-total{margin-top:25px}}
.hero-photo h1{word-break:normal;overflow-wrap:normal;white-space:normal}.hero-photo h1 em{white-space:normal}.pdf-options{border:1px solid #e0ba5b;background:#fff9e9;padding:16px;border-radius:6px;margin-top:14px}.pdf-options .button{margin:4px 6px 4px 0}.pdf-options p{font-size:.875rem;margin-bottom:10px;color:#302714}@media print{.pdf-options{display:none!important}}

.table-scroll{overflow-x:auto;margin:14px 0}.table-scroll table{width:100%;border-collapse:collapse;min-width:660px;font-size:.8rem}.table-scroll th,.table-scroll td{padding:10px;border-bottom:1px solid #ddd;text-align:left}.table-scroll thead{background:#fff0c6}.table-scroll tbody tr:nth-child(even){background:#f7f6f2}.table-scroll td{white-space:nowrap}.additional-services{margin-top:24px}.additional-services h2{font-size:1.25rem}#componentTotals{background:#fff6dc;padding:12px;line-height:1.8}

.reference-banner{padding:26px;margin:24px 0 6px;background:#fff3cb;border:2px solid #f8a000;border-left:8px solid #f8a000;border-radius:7px}.reference-banner h2{font-size:1.5rem;margin-bottom:12px}.reference-banner p:last-child{margin-bottom:0}.risk-pricing{border:1px solid #d7caa3;border-radius:6px;padding:20px;margin:20px 0;background:#fffdf5}.risk-pricing h2{font-size:1.25rem}.risk-pricing .eyebrow{margin-bottom:10px}.risk-pricing .scope-guide{margin-top:16px}@media(max-width:700px){.reference-banner{padding:20px 16px}.reference-banner h2{font-size:1.3rem}.risk-pricing{padding:18px 14px}}@media print{.reference-banner{display:none!important}}

.quote-rationale{margin:20px 0;padding:18px;background:#fff9e9;border:1px solid #e1c982;border-radius:6px}.quote-rationale h3{font-size:1.1rem}.quote-rationale #effortBreakdown p{padding-bottom:10px;border-bottom:1px solid #e7deca;font-size:.875rem}.effort-total{font-weight:700;font-size:1.05rem}.quote-rationale textarea{font-weight:400}.final-guide{margin:30px 0}.final-guide .guide-download{margin-top:8px}@media print{.final-guide,.quote-rationale label,.quote-rationale textarea{display:none!important}.quote-rationale{break-inside:auto;background:white}.quote-rationale h3{font-size:12pt}}

.risk-class{display:block;font-size:1.25rem;padding:12px 16px;background:#171717;color:#ffb52e;border-radius:8px}.reference-banner h2{font-size:clamp(1.7rem,4vw,2.6rem)}#documentPicker{margin:10px 0;font-weight:700}.additional-services>summary{font-size:1.15rem;font-weight:700;cursor:pointer}

/* Criticidad explícita y confirmación visible de selección en móvil. */
[data-risk="low"]{--risk-bg:#e9f6ee;--risk-ink:#175c35;--risk-border:#23804b}
[data-risk="medium"]{--risk-bg:#fff4cc;--risk-ink:#694b00;--risk-border:#ac7d00}
[data-risk="high"]{--risk-bg:#ffeded;--risk-ink:#9b2020;--risk-border:#c33a3a}
[data-risk="unknown"]{--risk-bg:#f1f1f1;--risk-ink:#454545;--risk-border:#777}
#riskClass,#sector,#riskPosition,#riskSelection{background:var(--risk-bg);color:var(--risk-ink);border:2px solid var(--risk-border)}
#riskSelection{padding:10px 12px;border-radius:6px}
#riskPanel{border-left:5px solid var(--risk-border)}
.share-banner .button.outline{color:#171717;background:#fff;border-color:#fff;margin-top:16px}
.share-banner .button.outline:hover{background:#f0ede4;color:#171717}
.selection-status{font-size:.9rem;font-weight:700;color:#254832;margin:12px 0}
.picked-documents{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.picked-documents li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;background:#fff;border:1px solid #76766c;border-left:4px solid #23804b;border-radius:6px}
.picked-documents span{min-width:0;overflow-wrap:anywhere;font-size:.95rem;font-weight:700;color:#171717}
.picked-documents button{min-height:44px;flex-shrink:0;padding:8px;color:#702323;background:#fff;border:1px solid #a77575;border-radius:4px;font-size:.875rem}
#documentPicker{width:100%;max-width:100%;min-width:0;font-size:1rem}
@media(max-width:420px){.picked-documents li{align-items:flex-start;gap:8px;padding:10px}.picked-documents span{font-size:.875rem}}

.generator h3{margin-top:0}.source-highlight{background:#fff0c4;border-left:5px solid #f8a000;padding:14px;font-size:.88rem;line-height:1.6}.services>section{padding:22px 0}.services>section[hidden]{display:none}.services .service details{margin-top:12px}.share-banner .inline-check{background:rgba(255,255,255,.08);padding:12px}.share-banner .inline-check input{min-width:22px;min-height:22px}

.quote-identity{margin-top:24px!important;padding:20px!important}.issuer-logo-preview{display:block;max-width:220px;max-height:110px;object-fit:contain;border:1px solid #ddd;padding:10px;margin-top:12px}.issuer-logo-preview[hidden]{display:none}input[type=file]{width:100%;font:inherit;padding:10px 0}.quote-identity details{margin:16px 0}.quote-identity>p{font-size:.88rem}.quote-identity label{font-size:.88rem}

.manual-other{padding:16px;margin:12px 0;border-left:4px solid #d4a03b;background:#fff9eb;border-radius:5px}.manual-other[hidden]{display:none}
