/* Sueldo Claro dark mode — clean, green-led and accessible */
.theme-toggle{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:38px;height:34px;padding:0 10px;border:1px solid #d7dfda;border-radius:999px;background:#fff;color:#4e5a54;font:650 10px/1 Inter,"Segoe UI",Arial,sans-serif;cursor:pointer;transition:color .18s,background .18s,border-color .18s,box-shadow .18s}
.theme-toggle:hover{border-color:#9fc9b8;background:#f1f8f4;color:#167a5b}.theme-toggle:focus-visible{outline:2px solid #45c99c;outline-offset:2px}.theme-toggle-icon{display:grid;place-items:center;width:15px;height:15px;font-size:14px;line-height:1}.theme-toggle-label{white-space:nowrap}
html[data-theme="dark"]{color-scheme:dark;--sc-green:#45c99c;--sc-ink:#edf4f0;--sc-muted:#a3b1aa;--sc-line:#2b3932;--sc-paper:#111713;--sc-wash:#0b100d;--sc-soft:#153126;--accent:#45c99c;--accent-strong:#2fac82;--accent2:#153126;--ink:#edf4f0;--muted:#a3b1aa;--line:#2b3932;--surface:#111713;--surface2:#151c18;--shadow:0 18px 48px rgba(0,0,0,.34)}
html[data-theme="dark"] body{background:linear-gradient(180deg,#0b100d 0,#0d1410 42%,#0a0f0c 100%)!important;color:var(--sc-ink)!important}
html[data-theme="dark"] ::selection{background:#23684f;color:#fff}
html[data-theme="dark"] .topbar{background:rgba(11,16,13,.9)!important;border-color:#26342d!important;box-shadow:0 8px 28px rgba(0,0,0,.16)}
html[data-theme="dark"] .brand-word,html[data-theme="dark"] .toplinks a{color:#dce7e1!important}
html[data-theme="dark"] .brand-word strong,html[data-theme="dark"] .home-copy em,html[data-theme="dark"] a:hover{color:var(--sc-green)!important}
html[data-theme="dark"] .theme-toggle{border-color:#31423a;background:#151d18;color:#bfd0c7;box-shadow:0 4px 14px rgba(0,0,0,.16)}
html[data-theme="dark"] .theme-toggle:hover{border-color:#4b806b;background:#19251f;color:#62d9af}
html[data-theme="dark"] .marketbar,html[data-theme="dark"] .market-strip{background:#0e1b26!important;border-color:#22313d!important}
html[data-theme="dark"] .home-hero{background:radial-gradient(circle at 78% 38%,rgba(41,128,95,.19),transparent 34%),linear-gradient(135deg,#0d1511,#101b16)!important;border-color:#25332c!important}
html[data-theme="dark"] .home-copy h1,html[data-theme="dark"] .page-hero h1,html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] h4{color:#edf4f0!important}
html[data-theme="dark"] p,html[data-theme="dark"] .section-head p,html[data-theme="dark"] .home-copy>p{color:#a3b1aa}
html[data-theme="dark"] .home-feature,html[data-theme="dark"] .hub-card,html[data-theme="dark"] .feature-card,html[data-theme="dark"] .source-card,html[data-theme="dark"] .source-card:not([data-href]),html[data-theme="dark"] .why-grid article,html[data-theme="dark"] .faq-list,html[data-theme="dark"] .guide-banner,html[data-theme="dark"] .about-shell{background:#111713!important;border-color:#2b3932!important;color:#e8f1ec!important;box-shadow:none!important}
html[data-theme="dark"] .home-feature:hover,html[data-theme="dark"] .hub-card:hover,html[data-theme="dark"] .feature-card:hover,html[data-theme="dark"] .source-card:hover,html[data-theme="dark"] .why-grid article:hover{background:#141d18!important;border-color:#3d6f5b!important}
html[data-theme="dark"] .source-card:not([data-href]):hover{background:#111713!important;border-color:#4c816b!important}
html[data-theme="dark"] .hub-card p,html[data-theme="dark"] .feature-card p,html[data-theme="dark"] .source-card p,html[data-theme="dark"] .why-grid p{color:#99a9a1!important}
html[data-theme="dark"] .feature-intro{background:linear-gradient(145deg,#15352a,#11271f)!important;color:#e7f4ed!important}
html[data-theme="dark"] .feature-intro h2{color:#edf7f2!important}html[data-theme="dark"] .feature-intro p,html[data-theme="dark"] .feature-stat span{color:#a9c3b7!important}
html[data-theme="dark"] .feature-num.clean-icon,html[data-theme="dark"] .clean-source-icon,html[data-theme="dark"] .why-grid i{background:#173328!important;border-color:#315444!important;color:var(--sc-green)!important}
html[data-theme="dark"] .why-grid{background:#2b3932!important;border-color:#2b3932!important}
html[data-theme="dark"] .why-section,html[data-theme="dark"] .faq-home,html[data-theme="dark"] .sources-section,html[data-theme="dark"] .calculator-related{background:transparent!important;border-color:#26342d!important}
html[data-theme="dark"] .faq-list details+details,html[data-theme="dark"] .seo-faq details,html[data-theme="dark"] .faq-list{border-color:#2b3932!important}html[data-theme="dark"] .faq-list details:hover{background:#141d18!important}
html[data-theme="dark"] .calculator{background:#111713!important;border-color:#304039!important;box-shadow:0 20px 58px rgba(0,0,0,.26)!important}
html[data-theme="dark"] .calculator>.panel{background:linear-gradient(180deg,#121914,#101612)!important}
html[data-theme="dark"] .calculator>.result{background:linear-gradient(155deg,#143127,#10251d)!important;border-color:#315042!important}
html[data-theme="dark"] .panel h3,html[data-theme="dark"] .field label,html[data-theme="dark"] .result-label,html[data-theme="dark"] .breakdown b,html[data-theme="dark"] .breakdown strong{color:#e7f0eb!important}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea,html[data-theme="dark"] .field input,html[data-theme="dark"] .field select,html[data-theme="dark"] .field textarea{background:#0c120f!important;border-color:#33433b!important;color:#e8f1ec!important;caret-color:#62d9af}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#728179!important}
html[data-theme="dark"] input:hover,html[data-theme="dark"] select:hover,html[data-theme="dark"] textarea:hover{border-color:#4b6e5e!important}
html[data-theme="dark"] .calc-reset,html[data-theme="dark"] .result-copy{background:#18221d!important;border-color:#385044!important;color:#b7d8c9!important}
html[data-theme="dark"] .calc-reset:hover,html[data-theme="dark"] .result-copy:hover,html[data-theme="dark"] .result-copy.is-copied{background:#1d3027!important;border-color:#4e8e73!important;color:#62d9af!important}
html[data-theme="dark"] .breakdown>div,html[data-theme="dark"] .liq-line,html[data-theme="dark"] .liq-summary>div,html[data-theme="dark"] .net-why,html[data-theme="dark"] .net-advanced-body{border-color:#315042!important}
html[data-theme="dark"] .notice,html[data-theme="dark"] .seo-example,html[data-theme="dark"] .methodology-note,html[data-theme="dark"] .info-privacy-note{background:#121c17!important;border-color:#345244!important;color:#9fb0a7!important}
html[data-theme="dark"] .net-advanced{background:#0f1612!important;border-color:#304039!important}html[data-theme="dark"] .net-advanced>summary{color:#dce8e2!important}html[data-theme="dark"] .net-advanced>summary:after{background:#173328!important;color:#62d9af!important}
html[data-theme="dark"] .tooltab,html[data-theme="dark"] .toolroute,html[data-theme="dark"] .calculator-top-actions a,html[data-theme="dark"] .calculator-nav-compact{background:#121914!important;border-color:#304039!important;color:#b4c2bb!important}
html[data-theme="dark"] .calculator-nav-compact>.calculator-home,html[data-theme="dark"] .calculator-visible-pills>a,html[data-theme="dark"] .calculator-more>summary{background:transparent!important;color:#aebdb5!important}
html[data-theme="dark"] .calculator-nav-compact>.calculator-home{background:#1a241f!important;color:#d1ddd7!important}
html[data-theme="dark"] .calculator-nav-compact a:hover,html[data-theme="dark"] .calculator-more>summary:hover{background:#1a2821!important;color:#e8f1ec!important}
html[data-theme="dark"] .calculator-more-menu{background:#121914!important;border-color:#32423a!important;box-shadow:0 18px 48px rgba(0,0,0,.38)!important}
html[data-theme="dark"] .calculator-more-list>a{color:#afbeb6!important}html[data-theme="dark"] .calculator-more-list>a:hover{background:#1a2721!important;color:#eef5f1!important}html[data-theme="dark"] .calculator-more-title{color:#84948c!important}
html[data-theme="dark"] .calculator-related-pills a{background:#121914!important;border-color:#304039!important;color:#aebdb5!important}
html[data-theme="dark"] .calculator-top-actions .calculator-back{background:#173328!important;border-color:#3c705a!important;color:#62d9af!important}
html[data-theme="dark"] .seo-guide,html[data-theme="dark"] .liquidacion-guide{background:#0d1410!important;border-color:#26342d!important}html[data-theme="dark"] .seo-guide article,html[data-theme="dark"] .seo-guide aside,html[data-theme="dark"] .guide-box{color:#dce7e1!important}
html[data-theme="dark"] .source-link,html[data-theme="dark"] .source-card .source-link,html[data-theme="dark"] .source-card a.source-link{color:#cfe0d7!important;border-color:#3a4c43!important}
html[data-theme="dark"] .official-badge,html[data-theme="dark"] .method-badge,html[data-theme="dark"] .home-feature-foot span,html[data-theme="dark"] .privacy-row small{background:#173328!important;border-color:#315444!important;color:#62d9af!important}
html[data-theme="dark"] .footer{background:#0e1411!important;border-color:#26342d!important}html[data-theme="dark"] .footer .footer-logo span.footer-brand-word,html[data-theme="dark"] .footer-brand-word,html[data-theme="dark"] .footer-brandline strong{color:#e3ede8!important}html[data-theme="dark"] .footer-tagline,html[data-theme="dark"] .footer-links a{color:#8e9e96!important}
html[data-theme="dark"] .info-minimal,html[data-theme="dark"] .privacy-minimal{background:#0b100d!important}
html[data-theme="dark"] .info-minimal-hero,html[data-theme="dark"] .privacy-hero{background:linear-gradient(135deg,#101813,#122019)!important;border-color:#29372f!important}
html[data-theme="dark"] .info-minimal-card,html[data-theme="dark"] .privacy-panel,html[data-theme="dark"] .privacy-measure{background:#111713!important;border-color:#2b3932!important}
html[data-theme="dark"] .info-minimal-card:hover{background:#141d18!important;border-color:#3d6f5b!important}
html[data-theme="dark"] .info-contact-card,html[data-theme="dark"] .privacy-contact{background:#143127!important;border-color:#345946!important}
html[data-theme="dark"] .privacy-row+.privacy-row{border-color:#2b3932!important}html[data-theme="dark"] .privacy-row-icon{background:#173328!important;border-color:#315444!important}
html[data-theme="dark"] .chat-panel{background:#101612!important;border-color:#304039!important;box-shadow:0 34px 100px rgba(0,0,0,.5),0 5px 18px rgba(0,0,0,.25)!important}
html[data-theme="dark"] .chat-head{background:#141e19!important;border-color:#2d3d35!important}html[data-theme="dark"] .chat-title strong,html[data-theme="dark"] .chat-welcome h3{color:#edf4f0!important}html[data-theme="dark"] .chat-close{color:#9aaba2!important}html[data-theme="dark"] .chat-close:hover{background:#1b2821!important;color:#fff!important}
html[data-theme="dark"] .chat-messages{background:#101612!important}html[data-theme="dark"] .chat-welcome{background:radial-gradient(circle at 50% -10%,rgba(69,201,156,.13),transparent 68%)!important}
html[data-theme="dark"] .chat-message.bot{color:#dce7e1!important}html[data-theme="dark"] .chat-message.bot:before{background:#173328!important;color:#62d9af!important}html[data-theme="dark"] .chat-message.ai{background:#14221b!important;border-color:#315444!important;color:#dfeae4!important;padding:11px 13px 11px 40px!important;border-radius:15px!important}
html[data-theme="dark"] .chat-message.user{background:#1d5f49!important;color:#fff!important}html[data-theme="dark"] .chat-message small,html[data-theme="dark"] .chat-source,html[data-theme="dark"] .chat-privacy{color:#899a91!important}
html[data-theme="dark"] .chat-chip,html[data-theme="dark"] .chat-action{background:#141d18!important;border-color:#304039!important;color:#c5d2cb!important}html[data-theme="dark"] .chat-chip:hover,html[data-theme="dark"] .chat-action:hover{background:#183126!important;border-color:#477460!important;color:#62d9af!important}
html[data-theme="dark"] .chat-compose{background:linear-gradient(transparent,#101612 24%)!important}html[data-theme="dark"] .chat-form{background:#0c120f!important;border-color:#33433b!important;box-shadow:0 8px 25px rgba(0,0,0,.24)!important}html[data-theme="dark"] .chat-input{background:transparent!important;color:#e8f1ec!important}html[data-theme="dark"] .chat-input:disabled{background:#121914!important;color:#75857d!important}
html[data-theme="dark"] .chat-launch:after{background:#151d18!important;border-color:#31423a!important;color:#dce7e1!important}
html[data-theme="dark"] .liq-receipt-top,html[data-theme="dark"] .liq-total,html[data-theme="dark"] .liq-source{border-color:#315042!important}html[data-theme="dark"] .liq-status{background:#173328!important;color:#62d9af!important}
html[data-theme="dark"] *{scrollbar-color:#3a5145 #0d1410}
@media(max-width:700px){.theme-toggle{margin-left:auto;width:34px;min-width:34px;padding:0}.theme-toggle-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}}
/* Neutral dark refinement — black/gray canvas with green only as identity */
.theme-toggle{width:32px;min-width:32px;height:32px;padding:0;border-color:#d9dfdb;background:transparent;box-shadow:none}
.theme-toggle-label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.theme-toggle-icon{width:14px;height:14px;color:#66716b;font-family:"Segoe UI Symbol","Arial Unicode MS",sans-serif;font-size:13px}
.theme-toggle:hover{background:#f3f5f3;border-color:#cbd3ce;color:#167a5b}
html[data-theme="dark"]{--sc-ink:#f0f2f1;--sc-muted:#a7adaa;--sc-line:#2b2f2c;--sc-paper:#151716;--sc-wash:#0d0f0e;--sc-soft:#18201c;--ink:#f0f2f1;--muted:#a7adaa;--line:#2b2f2c;--surface:#151716;--surface2:#191b1a}
html[data-theme="dark"] body{background:#0d0f0e!important;color:#f0f2f1!important}
html[data-theme="dark"] .topbar{background:rgba(11,13,12,.94)!important;border-color:#272b28!important;box-shadow:none!important}
html[data-theme="dark"] .theme-toggle{background:transparent!important;border-color:#303632!important;color:#aab1ad!important;box-shadow:none!important}
html[data-theme="dark"] .theme-toggle:hover{background:#171a18!important;border-color:#414844!important;color:#45c99c!important}
html[data-theme="dark"] .home-hero{background:radial-gradient(circle at 78% 38%,rgba(69,201,156,.07),transparent 31%),#101311!important;border-color:#292d2a!important}
html[data-theme="dark"] .home-feature,html[data-theme="dark"] .hub-card,html[data-theme="dark"] .feature-card,html[data-theme="dark"] .source-card,html[data-theme="dark"] .source-card:not([data-href]),html[data-theme="dark"] .why-grid article,html[data-theme="dark"] .faq-list,html[data-theme="dark"] .guide-banner,html[data-theme="dark"] .about-shell{background:#141715!important;border-color:#2c312e!important}
html[data-theme="dark"] .home-feature:hover,html[data-theme="dark"] .hub-card:hover,html[data-theme="dark"] .feature-card:hover,html[data-theme="dark"] .source-card:hover,html[data-theme="dark"] .why-grid article:hover{background:#181b19!important;border-color:#3d5b4e!important}
html[data-theme="dark"] .feature-intro{background:#171b19!important;border-color:#2c312e!important}
html[data-theme="dark"] .why-section,html[data-theme="dark"] .faq-home,html[data-theme="dark"] .sources-section,html[data-theme="dark"] .about-section,html[data-theme="dark"] .feature-section,html[data-theme="dark"] .calculator-related{background:#0d0f0e!important}
html[data-theme="dark"] .about-values span{background:#191c1a!important;border-color:#343936!important;color:#c5cbc8!important;box-shadow:none!important;animation:none!important}
html[data-theme="dark"] .about-values span:hover{background:#1d211f!important;border-color:#445149!important;color:#e5e9e7!important;transform:none!important;box-shadow:none!important}
html[data-theme="dark"] .faq-list details,html[data-theme="dark"] .seo-faq details{background:#141715!important;border-color:#2c312e!important;color:#eef1ef!important}
html[data-theme="dark"] .faq-list summary,html[data-theme="dark"] .seo-faq summary,html[data-theme="dark"] .faq-list details[open]>summary,html[data-theme="dark"] .seo-faq details[open]>summary{background:#141715!important;color:#eef1ef!important;border-color:#2c312e!important}
html[data-theme="dark"] .faq-list details[open]>summary,html[data-theme="dark"] .seo-faq details[open]>summary{background:#191c1a!important;color:#eaf0ed!important}
html[data-theme="dark"] .faq-list details p,html[data-theme="dark"] .seo-faq details p{background:#141715!important;color:#aeb6b2!important;border-color:#2c312e!important}
html[data-theme="dark"] .methodology-note,html[data-theme="dark"] .info-privacy-note{background:#151817!important;border:1px solid #2d322f!important;border-left:2px solid #34765d!important;color:#adb5b1!important;box-shadow:none!important}
html[data-theme="dark"] .methodology-note p,html[data-theme="dark"] .info-privacy-note p{color:#9ea6a2!important}
html[data-theme="dark"] .calculator{background:#141715!important;border-color:#303532!important;box-shadow:0 18px 50px rgba(0,0,0,.22)!important}
html[data-theme="dark"] .calculator>.panel{background:#151817!important}
html[data-theme="dark"] .calculator>.result{background:#171c19!important;border-color:#303a34!important}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea,html[data-theme="dark"] .field input,html[data-theme="dark"] .field select,html[data-theme="dark"] .field textarea{background:#101211!important;border-color:#343a36!important}
html[data-theme="dark"] .net-advanced,html[data-theme="dark"] .calculator-nav-compact,html[data-theme="dark"] .calculator-more-menu,html[data-theme="dark"] .tooltab,html[data-theme="dark"] .toolroute{background:#161917!important;border-color:#303532!important}
html[data-theme="dark"] .info-minimal,html[data-theme="dark"] .privacy-minimal,html[data-theme="dark"] .seo-guide,html[data-theme="dark"] .liquidacion-guide{background:#0d0f0e!important}
html[data-theme="dark"] .info-minimal-hero,html[data-theme="dark"] .privacy-hero{background:#121513!important;border-color:#2b2f2c!important}
html[data-theme="dark"] .info-minimal-card,html[data-theme="dark"] .privacy-panel,html[data-theme="dark"] .privacy-measure{background:#151716!important;border-color:#2c312e!important}
html[data-theme="dark"] .info-contact-card,html[data-theme="dark"] .privacy-contact{background:#181d1a!important;border-color:#334139!important}
html[data-theme="dark"] .chat-panel,html[data-theme="dark"] .chat-messages{background:#151716!important}
html[data-theme="dark"] .chat-head{background:#191c1a!important;border-color:#303532!important}
html[data-theme="dark"] .chat-welcome{background:radial-gradient(circle at 50% -10%,rgba(69,201,156,.065),transparent 68%)!important}
html[data-theme="dark"] .chat-message.ai{background:#1a1e1c!important;border-color:#343b37!important}
html[data-theme="dark"] .chat-chip,html[data-theme="dark"] .chat-action{background:#1a1d1b!important;border-color:#343936!important}
html[data-theme="dark"] .chat-form{background:#101211!important;border-color:#343a36!important}
html[data-theme="dark"] .chat-compose{background:linear-gradient(transparent,#151716 24%)!important}
html[data-theme="dark"] .footer{background:#101211!important;border-color:#292d2a!important}
/* Dark detail polish — softer type, quiet cards and open content spacing */
html[data-theme="dark"]{--sc-ink:#d9dedb;--sc-muted:#9ba39f;--ink:#d9dedb;--muted:#9ba39f}
html[data-theme="dark"] body{color:#d9dedb!important}
html[data-theme="dark"] .brand-word,html[data-theme="dark"] .toplinks a{color:#cfd5d2!important}
html[data-theme="dark"] .home-copy h1,html[data-theme="dark"] .page-hero h1,html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] h4{color:#d9dedb!important}
html[data-theme="dark"] p,html[data-theme="dark"] .section-head p,html[data-theme="dark"] .home-copy>p,html[data-theme="dark"] .hub-card p,html[data-theme="dark"] .feature-card p,html[data-theme="dark"] .source-card p{color:#9ba39f!important}
html[data-theme="dark"] .home-primary,html[data-theme="dark"] .home-feature>a,html[data-theme="dark"] .calculator .button,html[data-theme="dark"] .chat-send{color:#f0f3f1!important}
html[data-theme="dark"] .home-secondary{background:#1a1d1b!important;border-color:#353a37!important;color:#bdc4c0!important;box-shadow:none!important}
html[data-theme="dark"] .home-secondary:hover{background:#1e2220!important;border-color:#454c48!important;color:#d5dad7!important;transform:none!important;box-shadow:none!important}
html[data-theme="dark"] .hub-card,html[data-theme="dark"] .hub-card:hover,html[data-theme="dark"] .hub-card:focus-visible{background:#141715!important;border-color:#2c312e!important;transform:none!important;animation:none!important;box-shadow:none!important}
html[data-theme="dark"] .hub-card:hover,html[data-theme="dark"] .hub-card:focus-visible{border-color:#3b5147!important}
html[data-theme="dark"] .hub-card .hub-icon,html[data-theme="dark"] .hub-card:hover .hub-icon,html[data-theme="dark"] .hub-card:focus-visible .hub-icon{background:#173328!important;color:#45c99c!important;transform:none!important;animation:none!important;box-shadow:none!important}
html[data-theme="dark"] .hub-card b{color:#d6dcd9!important}html[data-theme="dark"] .hub-card:hover b,html[data-theme="dark"] .hub-card:focus-visible b{color:#d6dcd9!important}
html[data-theme="dark"] .faq-list details p,html[data-theme="dark"] .seo-faq details p,html[data-theme="dark"] .faq-list details[open]>p,html[data-theme="dark"] .seo-faq details[open]>p{margin:0!important;padding-top:14px!important;padding-bottom:20px!important;color:#a6aeaa!important}
html[data-theme="dark"] .faq-list details p{padding-left:24px!important;padding-right:24px!important}
html[data-theme="dark"] .seo-faq details p{padding-left:20px!important;padding-right:20px!important}
html[data-theme="dark"] .methodology-note{display:block!important;margin-top:20px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html[data-theme="dark"] .methodology-note .methodology-icon{display:none!important}
html[data-theme="dark"] .methodology-note strong{display:block!important;color:#cbd1ce!important;font-size:12px!important}
html[data-theme="dark"] .methodology-note p{margin-top:6px!important;color:#929b96!important;font-size:11px!important;line-height:1.65!important}
/* Dark accent softening — restrained brand, CTAs and assistant */
html[data-theme="dark"] .brand-mark{background:#18352a!important;border:1px solid #315444!important;color:#6fd5b0!important;box-shadow:none!important}
html[data-theme="dark"] .home-primary,html[data-theme="dark"] .home-feature>a{background:#1b5b45!important;border:1px solid #2f755a!important;color:#c8e4d8!important;box-shadow:none!important;transform:none!important}
html[data-theme="dark"] .home-primary:hover,html[data-theme="dark"] .home-primary:focus-visible,html[data-theme="dark"] .home-feature>a:hover,html[data-theme="dark"] .home-feature>a:focus-visible{background:#20664e!important;border-color:#3a8266!important;color:#d8ebe3!important;box-shadow:none!important;transform:none!important}
html[data-theme="dark"] .home-feature-icon{background:#18392d!important;border:1px solid #315947!important;color:#70d7b2!important;box-shadow:none!important}
html[data-theme="dark"] .home-feature-icon img{opacity:.82!important;filter:brightness(0) saturate(100%) invert(76%) sepia(24%) saturate(880%) hue-rotate(104deg) brightness(96%) contrast(88%)!important}
html[data-theme="dark"] .chat-launch{background:#18392d!important;border-color:#315947!important;color:#70d7b2!important;box-shadow:0 10px 24px rgba(0,0,0,.24)!important}
html[data-theme="dark"] .chat-launch:hover,html[data-theme="dark"] .chat-launch:focus-visible{background:#1d4435!important;border-color:#3c6d57!important;color:#83dfbd!important;box-shadow:0 12px 27px rgba(0,0,0,.28)!important}
html[data-theme="dark"] .chat-launch-icon,html[data-theme="dark"] .chat-spark{color:#70d7b2!important}
html[data-theme="dark"] .chat-spark{background:#182a22!important;border:1px solid #304a3d!important;box-shadow:none!important}
/* Dark calculator controls — subdued badges, actions and selected labels */
html[data-theme="dark"] .net-mode-label{background:#19231e!important;border:1px solid #30433a!important;color:#82bca4!important;box-shadow:none!important}
html[data-theme="dark"] .calculator .button,html[data-theme="dark"] #calculadoras button.button{background:#1b5b45!important;border-color:#2f755a!important;color:#c7ddd4!important;box-shadow:none!important;text-shadow:none!important}
html[data-theme="dark"] .calculator .button:hover,html[data-theme="dark"] .calculator .button:focus-visible,html[data-theme="dark"] #calculadoras button.button:hover,html[data-theme="dark"] #calculadoras button.button:focus-visible{background:#20634c!important;border-color:#397c61!important;color:#d6e6df!important;box-shadow:none!important;transform:none!important}
html[data-theme="dark"] .tooltab[aria-selected="true"],html[data-theme="dark"] .tooltab.active,html[data-theme="dark"] #calculadoras button.active,html[data-theme="dark"] #calculadoras [aria-selected="true"],html[data-theme="dark"] .sac-method.active{background:#1a4939!important;border-color:#2e6652!important;color:#9cd2bc!important;box-shadow:none!important;text-shadow:none!important}
html[data-theme="dark"] .tooltab[aria-selected="true"]:hover,html[data-theme="dark"] .tooltab.active:hover,html[data-theme="dark"] #calculadoras button.active:hover,html[data-theme="dark"] #calculadoras [aria-selected="true"]:hover,html[data-theme="dark"] .sac-method.active:hover{background:#1d513f!important;border-color:#36735b!important;color:#abdac7!important;box-shadow:none!important}
html[data-theme="dark"] .calculator-nav-compact .calculator-visible-pills>a.is-active,html[data-theme="dark"] .calculator-more-list>a.is-active,html[data-theme="dark"] .calculator-more[open]>summary{background:#1a4939!important;border-color:#2e6652!important;color:#9cd2bc!important;box-shadow:none!important;text-shadow:none!important}
html[data-theme="dark"] .calculator-nav-compact .calculator-visible-pills>a.is-active:hover,html[data-theme="dark"] .calculator-more-list>a.is-active:hover,html[data-theme="dark"] .calculator-more[open]>summary:hover{background:#1d513f!important;color:#abdac7!important}
/* About contact handle — quiet in dark mode */
html[data-theme="dark"] .info-contact-card a{background:#1a4b3a!important;border:1px solid #2d6551!important;color:#afd3c3!important;box-shadow:none!important;text-shadow:none!important;transform:none!important}
html[data-theme="dark"] .info-contact-card a:hover,html[data-theme="dark"] .info-contact-card a:focus-visible{background:#1e5541!important;border-color:#36725b!important;color:#c1ded2!important;box-shadow:none!important;transform:none!important}
/* Theme toggle — compact text pill */
.theme-toggle{width:auto!important;min-width:62px!important;height:32px!important;padding:0 12px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:0!important;border-radius:999px!important;font-family:inherit!important;font-size:11px!important;font-weight:750!important;line-height:1!important;letter-spacing:.01em!important;text-transform:none!important;box-shadow:none!important;transform:none!important}
.theme-toggle-icon{display:none!important}
.theme-toggle-label{position:static!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important;clip:auto!important;clip-path:none!important;white-space:nowrap!important;border:0!important;font:inherit!important;color:inherit!important}
html[data-theme="light"] .theme-toggle{background:#f7f9f8!important;border-color:#d8dedb!important;color:#4c5953!important}
html[data-theme="light"] .theme-toggle:hover,html[data-theme="light"] .theme-toggle:focus-visible{background:#edf3f0!important;border-color:#b9c8c1!important;color:#276c53!important}
html[data-theme="dark"] .theme-toggle{background:#121513!important;border-color:#303632!important;color:#9fa8a3!important}
html[data-theme="dark"] .theme-toggle:hover,html[data-theme="dark"] .theme-toggle:focus-visible{background:#181d1a!important;border-color:#3d4943!important;color:#b9c7c0!important}
/* Dark chat refinements: muted send arrow, neutral focus and green SC */
html[data-theme="dark"] .chat-form:focus-within{border-color:#343a36!important;box-shadow:0 8px 25px rgba(0,0,0,.24)!important}
html[data-theme="dark"] .chat-send{color:#1f6b52!important}
html[data-theme="dark"] .chat-avatar{background:#1f8a64!important;border:1px solid #3caf86!important;color:#f2fff9!important;box-shadow:0 7px 17px rgba(0,0,0,.22)!important}
/* Mobile interface refinement */
@media(max-width:700px){
  html[data-theme="dark"] .calc-actions{background:rgba(18,25,21,.96)!important;border-color:#32423a!important;box-shadow:0 10px 28px rgba(0,0,0,.24)!important}
  html[data-theme="dark"] .chat-panel{border-color:#304039!important;box-shadow:0 24px 70px rgba(0,0,0,.48)!important}
}

/* Dark calculator hub emphasis */
html[data-theme="dark"] body:not(.calculator-detail-page) #calculadoras .hub-card,
html[data-theme="dark"] body:not(.calculator-detail-page) #calculadoras .hub-card:hover,
html[data-theme="dark"] body:not(.calculator-detail-page) #calculadoras .hub-card:focus-visible{position:relative!important;overflow:hidden!important;background:linear-gradient(180deg,#17201c 0%,#121714 100%)!important;border-color:#33433b!important;box-shadow:inset 0 1px 0 rgba(112,215,178,.07)!important}

html[data-theme="dark"] body:not(.calculator-detail-page) #calculadoras .hub-card:hover,
html[data-theme="dark"] body:not(.calculator-detail-page) #calculadoras .hub-card:focus-visible{background:linear-gradient(180deg,#19241f 0%,#141a17 100%)!important;border-color:#456052!important}
html[data-theme="dark"] body:not(.calculator-detail-page) #calculadoras .hub-card .hub-icon,
html[data-theme="dark"] body:not(.calculator-detail-page) #calculadoras .hub-card:hover .hub-icon,
html[data-theme="dark"] body:not(.calculator-detail-page) #calculadoras .hub-card:focus-visible .hub-icon{background:#183b2e!important;border:1px solid #315d4b!important;color:#70d7b2!important}
html[data-theme="dark"] body:not(.calculator-detail-page) #calculadoras .hub-card b{color:#e9efec!important}
html[data-theme="dark"] body:not(.calculator-detail-page) #calculadoras .hub-card p{color:#a0aaa5!important}
