*{box-sizing:border-box}body{font:16px/1.55 Georgia,serif;margin:0;color:#1d1d1f;background:#fff}
nav.top{font:14px system-ui,sans-serif;display:flex;gap:1rem;align-items:center;padding:.6rem 1.2rem;border-bottom:1px solid #e5e5e5;position:sticky;top:0;background:#fff;z-index:2;white-space:nowrap;overflow-x:auto;scrollbar-width:none}
nav.top .home{font-weight:600;color:#000;text-decoration:none}
form.search{display:flex;gap:.5rem;margin:0 0 1.2rem}form.search input{flex:1;min-width:0;font:16px system-ui,sans-serif;padding:.55rem .75rem;border:1px solid #bbb;border-radius:8px}nav.pages{font:14px system-ui,sans-serif;display:flex;gap:1.2rem;align-items:center;margin:1.2rem 0}
main{max-width:52rem;margin:1.5rem auto;padding:0 1.2rem}main.wide{max-width:68rem}
.meta{font:13px/1.6 system-ui,sans-serif;color:#555;border:1px solid #eee;border-radius:8px;padding:.6rem .8rem;margin-bottom:1.2rem}
.meta a{margin-right:.5rem}.meta .current{font-weight:600;color:#000}
h1{font-size:1.3rem;line-height:1.3}h2{font-size:1.1rem;text-align:center;margin:2rem 0 0}p.name{text-align:center;font-weight:bold;margin:.2rem 0 1rem}
h3{font-size:1rem;text-align:center}h4{font-size:1rem;margin:1.4rem 0 .4rem}
p.note{font:13px/1.4 system-ui,sans-serif;color:#2557a7;margin:.1rem 0 .6rem 1.5rem}
p.letter,p.subpoint{margin-left:1.5rem}p.indent{margin-left:3rem}p.letter+p.subpoint,p.subpoint~p.letter{margin-left:3rem}
p.signature{font:14px/1.5 system-ui,sans-serif;color:#444;margin:.1rem 0}p.text+p.signature,p.point+p.signature,p.para+p.signature{margin-top:1.5rem}
section.annex{border-top:2px solid #ddd;margin-top:2.5rem;padding-top:1rem}section.annex.nested{border-top:1px dashed #ddd;margin-top:1.5rem}
p.annex-label{text-align:right;font:13px/1.4 system-ui,sans-serif;color:#555;margin:0 0 .6rem}section.annex>p.name{font-size:1.1rem;margin:.4rem 0 1rem}
details.toc{font:14px/1.5 system-ui,sans-serif;background:#f7f7f7;border-radius:8px;padding:.6rem 1rem;margin-bottom:1.2rem}details.toc summary{cursor:pointer;font-weight:600}details.toc ul{margin:.3rem 0 0;padding-left:1.2rem}details.toc span{color:#666}
tr:target,tr.hl{background:#fff3b0}
a.ref{color:#0b7a4b;text-decoration:none;border-bottom:1px solid #9fd8bd}a.ref:hover{background:#eafaf1}
a.ref-article{color:#9a5b00;border-color:#f0cf9a}a.ref-article:hover{background:#fff6e5}:target,.hl{background:#fff3b0}
a.ref-file::after,a.ref-part::after{content:" ↗";font:12px system-ui;color:#666}
a.ref-file:is(:not([href^="http"]),[href$=".doc" i],[href$=".docx" i],[href$=".xls" i],[href$=".xlsx" i],[href$=".pdf" i],[href$=".rtf" i],[href$=".rar" i],[href$=".zip" i])::after{content:" ⤓"}
a.ref-file[href^="/fisiere/"]:is([href$=".html"],[href$="/"])::after{content:none}
a.ref-slip{--k:#5f6b7a;border-bottom-style:dotted}span.ref-slip{--k:#5f6b7a;border-bottom:1px dotted var(--k)}a.ref-slip:focus-visible{outline:2px solid var(--k);outline-offset:1px}.checks .k-slip{--k:#5f6b7a}.checks summary .k-slip{color:#4a5563}
span.ref-open,span.ref-none,a.ref-warn{cursor:pointer;border-radius:3px}span.ref-open{--k:#c62f2f;background:#fdeded;text-decoration:underline dashed #d23b3b;text-underline-offset:3px}span.ref-none{--k:#7c7c7c;background:#f1f1f1;text-decoration:underline dotted #8a8a8a;text-underline-offset:3px}a.ref-warn{--k:#c27a00;background:#fff3d9;border-bottom-color:#e0a63e}
span.ref-open:hover{background:#fbdada}span.ref-none:hover{background:#e7e7e7}a.ref-warn:hover{background:#ffe9b8}
span.ref-open:focus,span.ref-none:focus,a.ref-warn:focus-visible{outline:2px solid var(--k);outline-offset:1px}
span.ref-open[data-tip]::before,span.ref-none[data-tip]::before,span.ref-out[data-tip]::before,a.ref-warn::before,.checks .k::before{display:inline-block;width:13px;height:13px;margin:0 2px 0 1px;border-radius:50%;background:var(--k);color:#fff;font:700 9px/13px system-ui,sans-serif;text-align:center;vertical-align:.45em;text-decoration:none}
span.ref-open[data-tip]::before,.checks .k.k-open::before{content:"?";content:"?" / ""}span.ref-none[data-tip]::before,.checks .k.k-none::before{content:"i";content:"i" / ""}a.ref-warn::before,.checks .k.k-warn::before{content:"!";content:"!" / ""}
a.ref-part{--k:#0b7a4b;color:#0b7a4b;text-decoration:none;border-bottom:1px solid #9fd8bd}a.ref-part:hover{background:#eafaf1}span.ref-out{--k:#3f5aa8;cursor:pointer;border-radius:3px;background:#edf1fb;text-decoration:underline dotted #6f86c9;text-underline-offset:3px}span.ref-out:hover{background:#e1e8f8}span.ref-out:focus{outline:2px solid var(--k);outline-offset:1px}
span.ref-out[data-tip]::before,.checks .k.k-out::before,.checks .k.k-part::before{content:"↗";content:"↗" / ""}.checks .k-out{--k:#3f5aa8}.checks .k-part{--k:#0b7a4b}.checks .out{display:block}.checks summary .k-out{color:#2f478f}
span.ref-mo{--k:#5b6b8c;cursor:help;text-decoration:underline dotted #9aa6bf;text-underline-offset:3px}span.ref-mo:focus{outline:2px solid var(--k);outline-offset:1px}.checks .k-mo{--k:#5b6b8c}.checks .mo{display:block}
.checks{font:14px/1.5 system-ui,sans-serif;color:#444;border:1px solid #eee;border-radius:8px;padding:.45rem .8rem;margin:-.6rem 0 1.2rem}details.checks summary{cursor:pointer}
.checks .k-open{--k:#c62f2f}.checks .k-warn{--k:#c27a00}.checks .k-none{--k:#7c7c7c}.checks summary .k-open{color:#b02222;font-weight:600}.checks summary .k-warn{color:#8a5600;font-weight:600}
.checks .read{display:block;font-size:13px;color:#555}.checks p.legend{font-size:13px;color:#555;margin:.5rem 0}.checks p.legend span{display:block}.checks h5{font-size:13px;margin:.8rem 0 .2rem}.checks ul{margin:0;padding-left:1.2rem}.checks li{margin:.35rem 0}.checks li span{display:block;font-size:13px;color:#666}.checks li.more{list-style:none;color:#666}
p,li,td,th,h1,h2,h3,h4{position:relative}
[data-tip]:hover::after,[data-tip]:focus::after{content:attr(data-tip);display:block;position:absolute;left:0;z-index:1;box-sizing:border-box;width:max-content;max-width:100%;margin-top:2px;padding:.35rem .6rem;border:1px solid #d6d6d6;border-left:3px solid var(--k,#888);border-radius:6px;background:#fff;color:#1d1d1f;box-shadow:0 2px 8px rgba(0,0,0,.14);font:400 13px/1.4 system-ui,sans-serif;text-align:left;text-indent:0;white-space:normal;pointer-events:none}
a.ref-file[href="https://legis.tsx.md/anexe/cod-fiscal-titlul-iv-2"]::after{content:none}
.banner{font:14px system-ui,sans-serif;background:#fff4d6;border:1px solid #f0d58a;border-radius:8px;padding:.5rem .8rem;margin-bottom:.8rem}
.meta a.future{color:#999}
table{border-collapse:collapse;font-size:14px;margin:.6rem 0}td,th{border:1px solid #ccc;padding:.2rem .45rem;vertical-align:top}
.list{font:14px/1.45 system-ui,sans-serif;border-collapse:collapse;width:100%}.list td{border:0;border-bottom:1px solid #f0f0f0;padding:.45rem .4rem}
.list a{color:#0b57d0;text-decoration:none}.list .n{color:#666}@media (min-width:40rem){.list .n{white-space:nowrap}}
.kind{display:inline-block;font:600 11px/1.7 system-ui,sans-serif;letter-spacing:.03em;padding:0 .45em;border-radius:4px;background:#ececec;color:#333}
.repealed{display:inline-block;font:600 11px/1.5 system-ui,sans-serif;letter-spacing:.03em;padding:0 .45em;border:1px solid #dba5a5;border-radius:4px;color:#b00;white-space:nowrap}.list tr.gone a{color:#666}
.kind.con{background:#fde8e8;color:#9b1c1c}.kind.cod{background:#efe8fa;color:#4a2a8a}.kind.lege{background:#e3eefc;color:#0b4fa8}
.kind.hot{background:#e6f4ea;color:#1e6b34}.kind.dec{background:#fff1e0;color:#8a4b00}.years a,.kinds a{display:inline-block;margin:.15rem .5rem .15rem 0;font:14px system-ui;color:#0b57d0;text-decoration:none}
.years a.on{font-weight:700;color:#000}.kinds{columns:3;font:14px system-ui}.kinds div{break-inside:avoid;padding:.1rem 0}.kinds span{color:#888}
nav.filter,nav.filter details div{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin:0 0 1rem}nav.filter details[open]{flex-basis:100%}nav.filter summary,nav.filter a.clear{font:14px/1.2 system-ui,sans-serif;color:#0b57d0;cursor:pointer;padding:.45rem .4rem}
nav.filter .kind{display:inline-flex;max-width:100%;padding:0;font-size:13px;border:2px solid transparent;border-radius:6px}nav.filter a{display:inline-flex;align-items:center;gap:.35em;min-height:2rem;min-width:0;padding:0 .3rem 0 .6rem;color:inherit;text-decoration:none}nav.filter a span{font-weight:400}
nav.filter a+a{justify-content:center;min-width:2rem;padding:0;font-size:16px;border-left:1px solid rgba(0,0,0,.12)}nav.filter .on{background:#0b57d0;border-color:#0b57d0;color:#fff}nav.filter .on a+a{border-left-color:rgba(255,255,255,.4)}nav.filter .on>a:first-child::before{content:"✓";content:"✓" / ""}
nav.filter .out{border-style:dashed;border-color:currentColor}nav.filter .out>a:first-child{text-decoration:line-through;opacity:.6}
.hint{font:13px system-ui;color:#666}.about{margin-top:2.5rem}
details.more{margin:.4rem 0 1.2rem}details.more summary{cursor:pointer;font:14px system-ui,sans-serif;color:#0b57d0;padding:.3rem 0}h2:target{background:none}
.list .read{display:block;font-size:13px;color:#888}.list .loud{color:#444}.bad{color:#b02222}.list .warn{color:#8a5600}
details.why{font:14px/1.5 system-ui,sans-serif;margin:.2rem 0 .6rem}details.why summary{cursor:pointer;color:#0b57d0}details.why h4{margin:.5rem 0 .2rem}details.why ul{margin:0;padding-left:1.2rem}
p[id],p[data-para],h2[id],h3[id],h4[id],section[id]>*:first-child{position:relative}
a.pl{position:absolute;left:-1.1em;top:0;width:1em;text-align:center;color:#999;text-decoration:none;font:600 14px/inherit system-ui,sans-serif;opacity:0}
p[id]:hover>a.pl,p[data-para]:hover>a.pl,h4[id]:hover>a.pl,h2[id]:hover>a.pl,h3[id]:hover>a.pl,section[id]>*:first-child:hover>a.pl,a.pl:focus{opacity:1}
@media (hover:none){a.pl{opacity:.35}}
:target,.hl{background:#fff3b0}[id]{scroll-margin-top:4rem}
.toast{position:fixed;bottom:1.5rem;left:50%;transform:translateX(-50%);background:#222;color:#fff;font:14px system-ui,sans-serif;padding:.5rem .9rem;border-radius:6px;z-index:3}