:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#172e2b;background:#f5f7f6;--green:#087654;--muted:#657570;--line:#dce4e0;--mint:#78edb8;--gold:#ffc66c;--purple:#b5a2ff}
*{box-sizing:border-box}
body,h1,p,h2{margin:0}body{padding-bottom:34px}button,select,input{font:inherit;color:inherit;background:transparent;border:0;outline-offset:3px}button,select,summary,input[type=range],input[type=checkbox]{cursor:pointer}button{font-weight:550;padding:0}button:focus-visible,select:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #61b99d}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.wrap{width:min(1080px,91%);margin:auto}header{border-bottom:1px solid #e2e8e4;background:#fff}.nav,.brand,.actions,.language,#share,.line,.heading,summary,.more,#reset,.privacy,.foot,.year,.check{display:flex;align-items:center}.nav,.line,.more,.foot{justify-content:space-between}.nav{height:76px}.brand{font-size:1.55rem;font-weight:730;letter-spacing:-1.1px;gap:10px}.actions{gap:24px;font-size:.9rem}.language{position:relative;gap:7px}.language select{appearance:none;padding:8px 18px 8px 27px;font-weight:600}.language svg{position:absolute;pointer-events:none;width:18px}.language .chev{right:0;width:14px}#share{border:1px solid #d3ddd8;border-radius:11px;padding:11px 16px;gap:8px}#share:hover,#reset:hover,.more summary:hover{color:var(--green)}#share svg{width:17px;height:17px}.heading{gap:16px;margin:44px 0 28px}h1{font-size:clamp(2rem,3.4vw,2.7rem);letter-spacing:-.045em;line-height:1.12;font-weight:670}.year{gap:7px;padding:6px 10px;font-size:.88rem;font-weight:550;letter-spacing:.01em;border:1px solid var(--line);background:#fff;border-radius:9px}.year i{width:20px;height:14px;border-radius:3px;background:linear-gradient(#e23b3b 25%,#ffce45 25% 75%,#e23b3b 75%)}
.grid{display:grid;grid-template-columns: .86fr 1.14fr;gap:24px;align-items:start}.card{border-radius:24px;box-shadow:0 3px 9px #16392d06,0 1px 2px #16392d07;min-width:0}.controls{padding:28px 30px 0;background:white;border:1px solid #e1e7e3}.switch{display:flex;background:#eff3f1;border-radius:13px;padding:5px;gap:4px}.switch button{flex:1;min-height:42px;font-size:.96rem;color:#5a6a64;border-radius:9px;transition:background .15s}.switch button[aria-pressed=true]{background:var(--green);color:#fff;box-shadow:0 2px 4px #204c381a}.switch button:hover:not([aria-pressed=true]){background:#e4ebe7}
.field{margin-top:24px}label,.caption,summary{font-size:.94rem;font-weight:550;letter-spacing:-.012em}.period{display:flex;gap:14px;font-size:.875rem}.period button{color:var(--muted);padding:5px 0;border-bottom:2px solid transparent}.period button[aria-pressed=true]{color:var(--green);border-color:currentColor}.inputbox,.select select,.special select,#url{border:1px solid #d4ddd8;border-radius:12px;width:100%;background:#fff}.inputbox{display:flex;align-items:center;margin-top:10px;padding:0 16px;gap:8px;height:65px;font-size:1.65rem;color:#71807a}.inputbox:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #0a80551a}.inputbox input{width:100%;min-width:0;outline:none;color:#162d27;font-size:1.9rem;letter-spacing:-.035em;font-weight:600;padding:0}#slider{appearance:none;width:100%;height:5px;border-radius:5px;margin:21px 0 0;display:block;background:linear-gradient(to right,var(--green) var(--pos),#e2e9e5 var(--pos))}#slider::-webkit-slider-thumb{appearance:none;width:19px;height:19px;border:3px solid #fff;box-shadow:0 0 0 1.5px var(--green),0 2px 5px #134c3c24;border-radius:100%;background:var(--green)}#slider::-moz-range-thumb{background:var(--green);border:3px solid white;box-shadow:0 0 0 1px var(--green);border-radius:50%;width:14px;height:14px}.ends{display:flex;justify-content:space-between;margin-top:13px;color:var(--muted);font-size:.81rem}.count{margin-top:10px;gap:10px;background:none;padding:0}.count button{min-height:46px;background:#fff;border:1px solid #d6ded9;border-radius:11px;font-size:1rem}.count button[aria-pressed=true]{box-shadow:inset 0 0 0 .5px var(--green);border-color:var(--green);background:#eaf8f1;color:var(--green)}.select,.special select{margin-top:10px;position:relative}.select select,.special select,#url{height:48px;padding:0 38px 0 14px;appearance:none;font-size:1rem;font-weight:400}.select svg{position:absolute;right:14px;top:14px;pointer-events:none;width:17px}.special select{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23243f34' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center no-repeat}.special label{display:block;min-width:0}.special{display:grid;gap:17px;padding-bottom:24px}.pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.check input{accent-color:var(--green);margin:0 8px 0 0;width:16px;height:16px;vertical-align:middle}#options{margin-top:24px;border-top:1px solid var(--line)}summary{list-style:none;gap:10px}summary::-webkit-details-marker{display:none}#options summary{min-height:69px}summary svg:first-child{color:var(--green)}.chev{width:17px;height:17px}#options .chev{margin-left:auto}details[open] summary .chev{transform:rotate(180deg)}.special p,.privacy,#hint,#error{font-size:.875rem;color:var(--muted);line-height:1.5}
.result{background:#103934;color:white;padding:32px 35px 29px;min-height:536px;display:flex;flex-direction:column;align-self:stretch;font-variant-numeric:tabular-nums}.grid:has(#options[open]) .result{align-self:start;position:sticky;top:20px}.hero{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:191px}.headline{min-width:0;flex:1}#headline{font-weight:500;font-size:1.05rem;color:#dbebe6}#big{display:block;margin:12px 0 11px;font-size:clamp(2.15rem,3.9vw,3.3rem);font-weight:600;letter-spacing:-.052em;line-height:1.1;white-space:nowrap}#annual{font-size:1.06rem;color:#b0cfc5}.chart{position:relative;width:37%;max-width:195px;aspect-ratio:1;flex-shrink:0}.chart svg{width:100%;height:100%;stroke-width:22;stroke-linecap:butt;overflow:visible;display:block}#track{stroke:#275049}[data-k=net]{--c:var(--mint)}[data-k=irpf]{--c:var(--gold)}[data-k=ss]{--c:var(--purple)}circle[data-k]{stroke:var(--c);transition:stroke-width .16s,opacity .16s;cursor:pointer}circle.active{stroke-width:26}.chart:has(.active) circle[data-k]:not(.active){opacity:.5}.center{position:absolute;inset:0;display:grid;place-content:center;text-align:center;pointer-events:none;gap:3px}.center b{font-size:clamp(1.3rem,2.35vw,2rem);letter-spacing:-.045em;font-weight:600}.center span{font-size:.88rem;color:#c6ded6}
.rows{margin:26px 0 0}.row{display:grid;grid-template-columns:1.3fr 1fr 1.06fr;align-items:center;text-align:right;gap:5px;min-height:49px;font-size:1rem;width:100%;letter-spacing:-.016em;font-weight:450}.row>span:first-child{text-align:left;display:flex;align-items:center;gap:9px}.row.heads{color:#accbc3;font-size:.88rem;min-height:36px;padding-bottom:12px;border-bottom:1px solid #ffffff30}.row[data-k] i{width:10px;height:10px;border-radius:50%;background:var(--c);flex-shrink:0}.row small{font-size:.8rem;color:#bbd3cd;font-weight:400}.row[data-k]:hover,.row.highlight{background:#ffffff09;border-radius:8px;box-shadow:0 0 0 5px #ffffff09}.row[data-k=net]{color:var(--mint);font-weight:620}.foot{margin-top:auto;border-top:1px solid #ffffff30;padding-top:21px;font-size:.96rem;color:#c2dbd4;gap:6px}.foot b{font-weight:550;color:#fff;text-align:right}#extra{color:#c6ded6;line-height:1.5;font-size:.91rem;padding:8px 0 20px}.more{margin-top:22px;align-items:flex-start;gap:12px}.more summary,#reset{padding:9px 0;gap:8px;font-size:.94rem}#reset{color:#576d65;flex-shrink:0;font-weight:450}#reset svg,.more svg{width:18px;height:18px}.privacy{margin-top:18px;padding-top:20px;border-top:1px solid var(--line);gap:7px;font-size:.84rem}.privacy svg{width:16px;height:16px}#explain{max-width:800px;line-height:1.6;color:#485e56}#explain p{margin:13px 0}a{color:var(--green);text-underline-offset:3px}#hint{margin-top:16px}#error{color:#a42c27;margin-top:8px}dialog{padding:28px;border:0;border-radius:20px;width:min(90%,440px);color:inherit}dialog::backdrop{background:#092e2666}dialog p{margin:14px 0;color:var(--muted);line-height:1.5}.x{float:right;font-size:1.5rem}#copy{color:white;background:var(--green);width:100%;border-radius:12px;padding:14px;margin-top:12px}[hidden]{display:none!important}
@media(max-width:1050px){.wrap{width:94%}.grid{gap:16px;grid-template-columns: .82fr 1.18fr}.controls{padding:22px 21px 0}.result{padding:27px 24px}.row{font-size:.94rem}.row>span:first-child{gap:6px}.row small{font-size:.75rem}.pair{grid-template-columns:1fr}.line{flex-wrap:wrap}.period{gap:9px}}
@media(max-width:850px){.wrap{width:min(92%,610px)}.nav{height:66px}.heading{margin:30px 0 22px}.grid{grid-template-columns:100%}.result,.grid:has(#options[open]) .result{position:static;min-height:0}.hero{min-height:0}.foot{margin-top:12px}.pair{grid-template-columns:1fr 1fr}.chart{max-width:175px}#big{font-size:clamp(2rem,7.2vw,3rem)}.center b{font-size:clamp(1.2rem,4.8vw,1.85rem)}.field{margin-top:18px}#options{margin-top:20px}#options summary{min-height:58px}.actions{gap:16px}}
@media(max-width:540px){.wrap{width:calc(100% - 32px)}.brand{font-size:1.3rem;gap:7px}.brand img{width:29px;height:29px}#share{padding:9px 10px;font-size:.83rem}.heading{gap:9px;justify-content:space-between}h1{font-size:clamp(1.36rem,6.3vw,1.9rem)}.year{font-size:.79rem;padding:5px 7px;gap:5px}.year i{width:17px;height:12px}.card{border-radius:19px}.controls{padding:16px 17px 0}.result{padding:21px 17px}.inputbox{height:55px}.inputbox input{font-size:1.65rem}.switch button{min-height:40px}.row{font-size:clamp(.78rem,3.45vw,.96rem);grid-template-columns:1.12fr 1fr 1.1fr;min-height:50px}.row>span:first-child{display:grid;grid-template-columns:9px auto;gap:2px 6px}.row small{grid-column:2}.row.heads>span:first-child,.gross>span:first-child{display:block}.chart{width:36%}.center span{font-size:.74rem}#headline,#annual,.row.heads,.foot{font-size:.84rem}#big{margin:8px 0}.rows{margin-top:18px}.actions{gap:12px}.privacy{align-items:flex-start}.more{margin-top:12px}#method[open]+#reset{display:none}.foot b{font-size:.81rem}.row[data-k] i{width:8px;height:8px}.special label,label,.caption,summary,.period{font-size:.86rem}}
@media(max-width:395px){#share span{position:absolute;clip-path:inset(100%)}.pair{grid-template-columns:1fr}.row{font-size:.75rem}.row.heads,.foot,.foot b{font-size:.76rem}.center b{font-size:1.03rem}.center span{font-size:.68rem}.period{font-size:.79rem}.more summary,#reset{font-size:.85rem}}
#credits{margin-top:22px;border-top:1px solid var(--line)}#credits:not([hidden])+#options{margin-top:0}
#credits summary{min-height:59px}#credits .chev,#detail .chev{margin-left:auto}
.special input:not([type=checkbox]){display:block;margin-top:9px;padding:0 12px;height:45px;background:#fff;border:1px solid #d4ddd8;border-radius:10px;width:100%;font-size:1rem;font-weight:400}
#ageHelp{font-weight:400;margin-top:6px}#source{font-size:.88rem}
#rentHelp,#otherHelp,#regionNote,#rentStatus{font-size:.86rem;line-height:1.45;color:#536c62}#regionNote:not(:empty){margin-top:8px}#rentStatus{color:#08634a;font-weight:550}#rentStatus:empty{display:none}#creditError{color:#a42c27}
#reportLabel{color:var(--mint);font-size:.94rem;font-weight:570;margin-bottom:11px}
#reconcile{border-top:1px solid #ffffff30;margin-top:19px;padding-top:10px}
.compare{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:7px 0;line-height:1.4;color:#dcece6;font-size:.92rem}
.compare b{font-weight:550;color:white;text-align:right}
#balance{color:var(--mint)}#balance.due{color:var(--gold)}
#detail summary{color:#bfe4d8;font-size:.9rem;padding:13px 0 0}#taxRows{margin-top:15px;border-top:1px solid #ffffff20;padding-top:8px}
#taxRows .compare{font-size:.86rem}#taxRows .compare:last-child{border-top:1px solid #ffffff30;margin-top:6px;padding-top:14px}
.result:has(#reportLabel:not([hidden])) .hero{min-height:0}.result:has(#reportLabel:not([hidden])) .rows{margin-top:16px}
.grid:has(#credits[open]) .result,.grid:has(#detail[open]) .controls{align-self:start;position:sticky;top:18px}
@media(max-width:850px){.grid:has(#credits[open]) .result,.grid:has(#detail[open]) .controls{position:static}.compare,#reportLabel{font-size:.86rem}#reportLabel{margin-bottom:16px}}
@media(max-width:420px){.compare,#taxRows .compare{font-size:.8rem}#reportLabel{font-size:.82rem}.row{grid-template-columns:1fr 1fr 1.17fr}.row>span:not(:first-child){white-space:nowrap}.center b{font-size:clamp(.91rem,4.3vw,1.12rem)}}
#bands{margin-top:20px;background:white;border:1px solid var(--line);border-radius:18px}
#bands summary{padding:21px 26px;font-size:1.06rem}
#bands summary svg:first-child{width:23px;height:23px}
.bandStats{display:flex;gap:24px;margin-left:auto;margin-right:10px;font-weight:450;color:#50655f;font-size:.94rem}
#topTax{color:var(--green);font-weight:550}.bandBody{padding:0 27px 22px}#bandsIntro{font-size:.95rem;line-height:1.55;color:#526760;max-width:900px}
#bandTables{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,405px),1fr));gap:30px;margin:23px 0}
#bands h3{margin:0 0 14px;font-size:1.07rem;letter-spacing:-.02em}.bandBar{display:flex;gap:2px;height:9px;border-radius:4px;overflow:hidden}
#bands table{border-collapse:collapse;width:100%;margin:12px 0;font-size:.9rem;text-align:right;font-variant-numeric:tabular-nums}
#bands th,#bands td{padding:10px 3px;border-bottom:1px solid #e3e9e6}
#bands th{font-size:.84rem;font-weight:450;color:#536c62}
#bands tr>:first-child{text-align:left;padding-left:0}#bands td i{display:inline-block;border-radius:3px;width:9px;height:9px;margin-right:7px}
#bands .activeBand{color:#096c50;font-weight:550}
.bandLine{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:6px 0;font-size:.9rem;color:#51635d}
.bandLine b{font-weight:500;white-space:nowrap}.bandLine.strong,.bandLine.strong b{font-weight:600;color:#193c32}
#bandTotal{border-radius:12px;background:#edf6f1;padding:12px 18px}
#bandTotal .strong{font-size:1.02rem;color:var(--green)}
@media(max-width:670px){#bands summary{padding:17px;display:grid;grid-template-columns:auto 1fr auto;gap:10px}#bands summary .chev{grid-row:1;grid-column:3}.bandStats{grid-column:1/-1;justify-content:space-between;width:100%;font-size:.82rem;gap:4px}.bandBody{padding:0 14px 16px}#bands table,#bands th,.bandLine{font-size:clamp(.74rem,3.2vw,.87rem)}#bands td i{display:none}#bands th,#bands td{padding:9px 2px}#bandsIntro{font-size:.88rem}#bandTotal{padding:9px 10px}#bandTables article{min-width:0}#bands td:first-child{max-width:27vw}#bands td:last-child{white-space:nowrap}}
