:root{--ink:#18324d;--deep:#14395b;--green:#126f83;--mint:#ddf2ee;--pale:#edf7f7;--gold:#ffc66e;--paper:#fff;--line:#d8e4eb;--muted:#526879;--white:#fff;--shadow:0 16px 38px rgba(25,63,91,.10)}
body{background:linear-gradient(135deg,#f1f8fb 0,#f8fbfb 45%,#fff8f1 100%);color:var(--ink)}
.topbar{min-height:82px;background:rgba(255,255,255,.97);color:var(--ink);border-bottom:1px solid #dce8ee;box-shadow:0 5px 24px rgba(22,60,83,.07);gap:18px}
.brand{color:var(--deep)}.brand-mark{width:45px;height:45px;border-radius:15px;background:linear-gradient(145deg,#ffce74,#f58e71);color:#17364f;box-shadow:0 5px 12px rgba(223,114,79,.2);transform:rotate(-5deg)}.brand small{color:var(--green)}
.nav-link{color:#465f71;border-bottom-width:0;position:relative;padding:0 10px;font-size:.85rem}.nav-link:after{content:"";position:absolute;bottom:12px;left:10px;right:10px;height:3px;border-radius:9px;background:transparent}.nav-link:hover,.nav-link.active{color:var(--green);border-color:transparent}.nav-link.active:after{background:#ff9c72}.update-badge{background:#e6f6f5;border-color:#bcdedc;color:#126579;font-weight:750}
main{padding-top:32px}.workspace-head{align-items:center}.workspace-head:not(.compact){background:linear-gradient(115deg,#e3f4f5 0%,#f7fbfb 56%,#fff0dc 100%);border:1px solid #d9e9e8;border-radius:28px;padding:30px 34px;position:relative;overflow:hidden}.workspace-head:not(.compact):before{content:"";position:absolute;width:190px;height:190px;border:30px solid rgba(255,159,114,.16);border-radius:50%;right:-85px;top:-110px;pointer-events:none}.workspace-head:not(.compact)>*{position:relative}.workspace-head.compact{border-left:6px solid #f79872;padding:8px 0 8px 20px;margin-bottom:28px}
.eyebrow,.step-label{color:#087789}.workspace-head h1{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:clamp(2rem,3.65vw,3.7rem);line-height:1.08;letter-spacing:-.055em;max-width:790px}.workspace-head h1::first-letter{color:#e27b5d}.lede{color:#4c6576}.notice{background:white;border:1px solid #f7d6ae;border-left:5px solid #f39973;border-radius:15px;box-shadow:0 10px 24px rgba(72,86,95,.06);max-width:360px}
.command-card{border-radius:23px;border-color:#cbdfe8;box-shadow:0 18px 42px rgba(24,73,101,.09);padding:28px}.assistant-avatar{background:linear-gradient(145deg,#147993,#1b466d);color:white;border-radius:17px;box-shadow:5px 5px 0 #f8ca84}.question-row input{border-radius:12px}.primary{background:#176f88;border-color:#176f88;border-radius:12px;box-shadow:0 5px 0 #0c4e66}.primary:hover{background:#0e5c75;transform:translateY(-2px);box-shadow:0 7px 0 #0c4e66}.primary:active{transform:translateY(3px);box-shadow:0 2px 0 #0c4e66}.secondary{border-radius:12px;color:var(--green)}.quick-prompts button{background:#f1f9fa;border-color:#cfe4e9;color:#21576d;font-size:.86rem}.quick-prompts button:hover{background:#dff2f4;border-color:#90c9d4}.assistant-answer{background:#eff8f6;border-left-color:#30a4a1;border-radius:12px}
.section-title h2{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-weight:850;letter-spacing:-.035em}.tool-grid{gap:16px}.tool-card{border-radius:20px;min-height:210px;position:relative;overflow:hidden;padding:22px;box-shadow:0 7px 20px rgba(31,74,98,.05)}.tool-card:before{content:"";position:absolute;inset:0 0 auto;height:6px;background:#4bb9b3}.tool-card:nth-child(4n+2):before{background:#ff9d79}.tool-card:nth-child(4n+3):before{background:#f3bc56}.tool-card:nth-child(4n+4):before{background:#6f99d3}.tool-card:hover{transform:translateY(-5px);border-color:#9ecbd3;box-shadow:0 18px 36px rgba(27,81,106,.14)}.tool-number{display:grid;place-items:center;width:39px;height:39px;background:#e8f5f5;border-radius:12px;color:#176f88;font:850 .92rem Inter,system-ui,sans-serif}.tool-card:nth-child(4n+2) .tool-number{background:#fff0e8;color:#ba5b3d}.tool-card:nth-child(4n+3) .tool-number{background:#fff5da;color:#8c6716}.tool-card:nth-child(4n+4) .tool-number{background:#ecf1fb;color:#3f66a0}.tool-card h3{margin:17px 0 6px}.text-link{color:#126f83}
.panel,.sim-step,.status-panel,.fiscal-tab,.dian-sources a,.validation-grid article{border-radius:18px;box-shadow:0 7px 24px rgba(21,64,93,.045)}.panel h2,.sim-step h2{letter-spacing:-.025em}.form-panel input,.form-panel select,.sim-fields input,.venture-annual input,.venture-ciiu input{border-color:#bed4df;border-radius:11px}.form-panel input:focus,.form-panel select:focus,.sim-fields input:focus{outline:3px solid #b8e8e7;border-color:#168099}.count-pill,.manual-badge{border-radius:99px}.source-strip{background:rgba(255,255,255,.68);border:1px solid var(--line);border-radius:13px;padding:16px 18px;line-height:1.65}.status-panel.dark,.program-guide,.difference-card,.simple-highlight,.hr-total,.dian-status>div,.fiscal-summary{background:linear-gradient(135deg,#153e61,#126f83)}.status-panel.dark .eyebrow,.program-guide .eyebrow{color:#ffcf77}.status-panel.dark small,.program-guide li span,.dian-status small{color:#d3e8ea}.status-dot{background:#3ebdad}
.sim-step-head>span,.fiscal-tab.active>span,.result-symbol{background:#ffbf70;color:#18324d}.hr-reference>div{background:linear-gradient(145deg,#17496b,#1a8191);border-radius:17px}.hr-reference strong,.uvt-card strong,.dian-status span{color:#ffcd77}.method-card,.simple-example,.venture-detail,.evidence-grid article{background:#e8f6f4}.beta-ribbon{background:#fff2d5;border:1px solid #f3d596;border-left:5px solid #ed9c6c;color:#4f493f}.simple-table thead{background:#174967}footer{background:#14395b}footer p{color:#d0e0e6}.footer-links a{color:#ffce78}
@media(max-width:1100px){.topbar nav{top:82px;background:white;box-shadow:0 15px 25px rgba(20,57,91,.15)}.nav-link{border:0;text-align:left}.nav-link.active{border:0;background:#e8f6f4;border-radius:9px}.nav-link:after{display:none}.mobile-menu{border-color:#a9cad7;color:var(--deep);background:#edf8f9}}
@media(max-width:620px){main{padding-top:20px}.workspace-head:not(.compact){padding:24px 20px;border-radius:21px}.workspace-head h1{font-size:clamp(2rem,9vw,2.7rem)}.notice{margin-top:20px;max-width:none}.tool-card{min-height:180px}.command-card{padding:21px}.section-title{align-items:flex-start;gap:8px}.section-title span{text-align:right}.brand-mark{width:39px;height:39px}}
@media(prefers-reduced-motion:reduce){.primary:hover,.tool-card:hover{transform:none}}

.exo-panel{margin-top:1.5rem}.exo-scroll{overflow-x:auto}.exo-table{width:100%;border-collapse:collapse;font-size:1rem}.exo-table th,.exo-table td{text-align:left;padding:1rem .8rem;border-bottom:1px solid #d4dfeb;vertical-align:top}.exo-table th{background:#edf3fb;color:#17314f}.exo-table td:nth-child(2){white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:600}.exo-panel p{line-height:1.65}#exoStatus{font-weight:700}@media(max-width:700px){.exo-table{min-width:640px}.exo-panel{padding:1rem}}
.document-workspace{margin-bottom:24px}.document-workspace>label{display:block;margin:14px 0}.document-workspace select,.document-workspace input:not([type=checkbox]){max-width:100%;padding:10px;border:1px solid #bbc8c3;border-radius:8px}.document-item{padding:16px 0;border-bottom:1px solid #dce4df;overflow-wrap:anywhere}.document-item label{display:block;margin:10px 0}.doc-result{margin-top:20px}.doc-list{margin-bottom:20px}
.hr-commercial{background:linear-gradient(125deg,#dff3f2 0%,#f5fbfb 55%,#fff2e2 100%);border:1px solid #c7e5e6;border-radius:24px;padding:26px;margin:0 0 22px}.hr-commercial-intro{max-width:780px}.hr-commercial-intro h2{font-size:clamp(1.5rem,2.5vw,2.2rem);margin:4px 0 8px}.hr-commercial-intro p{color:var(--muted);margin:0 0 18px}.hr-offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hr-offers article{background:white;border:1px solid #cfe1e6;border-radius:17px;padding:21px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 8px 22px rgba(25,63,91,.06)}.hr-offers article.featured{border:2px solid #16849a;box-shadow:0 12px 26px rgba(22,111,136,.14)}.hr-offer-tag{font-size:.75rem;font-weight:850;letter-spacing:.04em;color:#0e7188;background:#e8f7f7;border-radius:999px;padding:5px 10px}.hr-offers h3{font-size:1.35rem;margin:16px 0 7px}.hr-offers p{color:var(--muted);font-size:.9rem;margin:0 0 22px}.hr-offers a{margin-top:auto}.hr-commercial-note{color:#4e6471;font-size:.83rem;margin:17px 0 0;line-height:1.55}@media(max-width:900px){.hr-offers{grid-template-columns:1fr}}@media(max-width:620px){.hr-commercial{padding:19px}.hr-offers a{width:100%}}
/* Normativa aplicable y catálogo completo */
.regulatory-panel{margin-top:28px;padding:26px}.regulatory-date{font-size:.8rem;color:var(--muted,#5c6876);margin:8px 0 20px}.regulatory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.regulatory-grid h3{font-size:1rem;margin:0 0 10px}.regulatory-grid p{font-size:.9rem;line-height:1.65;margin:0}.regulatory-panel .source-strip{margin-top:22px;line-height:2}.ciiu-pagination{display:flex;gap:12px;margin:16px 0}.venture-ciiu-results>div{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px}.venture-ciiu-results button{font-size:.76rem;padding:6px 10px}#ciiuSelected{padding:14px;background:#edf5f2;border-radius:10px}#ciiuCount{font-size:.82rem;color:#536578}#simTaxYear{max-width:300px;margin-bottom:18px}.regulatory-panel select{max-width:100%}@media(max-width:820px){.regulatory-grid{grid-template-columns:1fr}.regulatory-panel{padding:20px}.venture-ciiu-results>div{grid-template-columns:48px minmax(0,1fr)}.venture-ciiu-results button{grid-column:2;justify-self:start}}
.project-criterion{border-top:2px solid #cde0dc;margin-top:24px;padding-top:24px}.project-criterion .lede{font-size:1rem;line-height:1.7}.project-criterion .source-strip small{display:block;line-height:1.6}.project-criterion details{margin-top:22px}.project-criterion summary{cursor:pointer;font-weight:700;padding:14px 0}.project-compact{display:block!important;margin:20px 0!important}.project-compact p{margin:8px 0 0!important;line-height:1.6}.criteria-options{border:1px solid #ccd9df;border-radius:12px;padding:16px;margin:18px 0}.criteria-options legend{font-weight:700;padding:0 6px}.criteria-options .task{padding:12px 0}.criteria-options small{display:block}#serviceCriterionResult{padding:18px;border-radius:12px;background:#f1f7f5}#assistantAnswer a{display:inline-block;margin:5px 0}#assistantAnswer button{margin-top:12px}
