/* CP28.21: panel mapy jest ciemną wyspą w obu trybach — to celowe, bo globus jest nocną kulą ziemską
   i jasny wariant zniszczyłby jego czytelność. W trybie jasnym brakowało jednak prześwitu między ciemnym
   nagłówkiem serwisu a ciemnym panelem: oba stykały się krawędziami i strona czytała się jako jedna ciemna
   masa, a nie jako jasna strona z ciemnym panelem pokazowym. Margines górny i dolny przywraca ramę. */
/* JTWPOLAND — mapa podatków (strona z globusem) */
.taxmap{position:relative;margin:clamp(1.75rem,4vw,3.25rem) auto clamp(2rem,5vw,4rem);padding:clamp(1.5rem,4vw,3.5rem) clamp(1rem,4vw,3rem) 3rem;max-width:1240px;color:#eef3f8;background:radial-gradient(1200px 600px at 20% 0%,#12395a 0%,#071828 55%,#040d17 100%);border-radius:28px;overflow:hidden;box-shadow:0 30px 80px rgba(4,13,23,.35)}
.taxmap *{box-sizing:border-box}
.tm-eyebrow,.tm-card-eyebrow{margin:0 0 .5rem;font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;color:#e1c38d}
.taxmap h1{margin:0 0 .6rem;font-size:clamp(1.9rem,4.4vw,3.3rem);line-height:1.08;color:#fff;max-width:18ch}
.tm-lead{margin:0 0 1.5rem;max-width:60ch;font-size:1.08rem;line-height:1.6;color:#c9d6e2}
.tm-stage{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.9fr);gap:clamp(1rem,3vw,2.5rem);align-items:center}
.tm-globe{position:relative;display:grid;justify-items:center}
.tm-globe canvas{display:block;max-width:100%;touch-action:none;cursor:grab;border-radius:50%;outline:none}
.tm-globe canvas.grabbing{cursor:grabbing}.tm-globe canvas.pointer{cursor:pointer}
.tm-globe canvas:focus-visible{box-shadow:0 0 0 3px #e1c38d}
.tm-hint{margin:.4rem 0 0;font-size:.85rem;color:#9fb3c6;text-align:center}
.tm-tip{position:absolute;z-index:2;pointer-events:none;padding:.3rem .6rem;border-radius:8px;background:rgba(4,13,23,.92);border:1px solid rgba(225,195,141,.5);color:#fff;font-size:.82rem;white-space:nowrap}
.tm-card{padding:1.4rem 1.5rem;border-radius:20px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);min-height:19rem}
.tm-card h2{margin:0 0 1rem;font-size:1.7rem;line-height:1.15;color:#fff}
.tm-card-text{margin:0 0 1rem;line-height:1.6;color:#c9d6e2}
.tm-rates{display:grid;gap:.9rem;margin:0 0 .8rem}
.tm-rates dt{font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;color:#9fb3c6}
.tm-rates dd{margin:.1rem 0 0;font-size:2.1rem;font-weight:700;line-height:1.1;color:#f0d9a8;font-variant-numeric:tabular-nums}
.tm-note{margin:.25rem 0 0;font-size:.9rem;line-height:1.45;color:#c9d6e2}
.tm-asof{margin:0 0 1rem;font-size:.8rem;color:#9fb3c6}
.tm-actions{display:flex;flex-wrap:wrap;gap:.6rem}
.tm-btn{display:inline-block;padding:.7rem 1.1rem;border-radius:999px;background:linear-gradient(180deg,#e9cf9f,#c7a76b);color:#071828;font-weight:700;text-decoration:none}
.tm-btn-ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.4)}
.tm-btn:focus-visible,.tm-chips button:focus-visible{outline:3px solid #fff;outline-offset:2px}
.tm-chips{display:flex;flex-wrap:wrap;gap:.45rem;margin:1.6rem 0 1.2rem}
.tm-chips button{padding:.4rem .85rem;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.05);color:#eef3f8;font:inherit;font-size:.9rem;cursor:pointer}
.tm-chips button[aria-pressed="true"]{background:#e1c38d;border-color:#e1c38d;color:#071828;font-weight:700}
.tm-table{margin:0 0 1rem;border-top:1px solid rgba(255,255,255,.14);padding-top:1rem}
.tm-table summary{cursor:pointer;color:#e1c38d;font-weight:600}
.tm-table table{width:100%;margin-top:.8rem;border-collapse:collapse;font-size:.93rem}
.tm-table th,.tm-table td{padding:.5rem .6rem;text-align:left;border-bottom:1px solid rgba(255,255,255,.1);vertical-align:top}
.tm-table th{color:#9fb3c6;font-weight:600}
.tm-table small{display:block;color:#9fb3c6}
.tm-disc{margin:0;font-size:.85rem;line-height:1.5;color:#9fb3c6;max-width:90ch}
@media (max-width:820px){.tm-stage{grid-template-columns:1fr}.tm-card{min-height:0}.taxmap{border-radius:0;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}}
.tm-tools{position:absolute;left:.4rem;bottom:2.2rem;display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}
.tm-tools button{min-width:2.3rem;height:2.3rem;padding:0 .6rem;border-radius:999px;border:1px solid rgba(255,255,255,.3);background:rgba(4,13,23,.72);color:#fff;font:inherit;font-size:1.05rem;cursor:pointer}
.tm-tools button:hover{background:rgba(225,195,141,.25)}
.tm-tools button:focus-visible{outline:3px solid #fff;outline-offset:2px}
.tm-tools .tm-pbtn{font-size:.85rem;border-color:#7fe0d0;color:#7fe0d0}
.tm-tools .tm-pbtn[aria-pressed="true"]{background:#7fe0d0;color:#04131f;font-weight:700}
.tm-zl{min-width:3.2rem;font-size:.8rem;color:#9fb3c6;font-variant-numeric:tabular-nums}
.tm-teal{color:#7fe0d0}
.tm-partner{padding:.2rem 0 1rem;margin-bottom:1rem;border-bottom:1px solid rgba(255,255,255,.12)}
.tm-partner:last-child{border-bottom:0;margin-bottom:0}
.tm-partner h2{font-size:1.25rem;margin:0 0 .3rem}
.tm-join{margin:0 0 1rem;color:#c9d6e2}
.tm-join a{color:#7fe0d0}
.tm-verified{margin:0 0 .5rem;font-size:.85rem;color:#f0d9a8}
/* CP29 — warstwy kartogramu, legenda, wyszukiwanie jurysdykcji, kosz porównania */
.tm-layers{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;margin:1.4rem 0 .9rem}
.tm-layers button{padding:.42rem .85rem;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.05);color:#eef3f8;font:inherit;font-size:.88rem;cursor:pointer}
.tm-layers button:hover{background:rgba(225,195,141,.18)}
.tm-layers button[aria-pressed="true"]{background:#e1c38d;border-color:#e1c38d;color:#071828;font-weight:700}
.tm-layers button:focus-visible,.tm-legend button:focus-visible,.tm-s-in:focus-visible,.tm-s-list button:focus-visible,.tm-b-item:focus-visible{outline:3px solid #fff;outline-offset:2px}
.tm-l-lab{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:#9fb3c6;margin-right:.2rem}
.tm-legend{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .9rem;margin:0 0 1.2rem;font-size:.84rem;color:#c9d6e2}
.tm-l-i{display:inline-flex;align-items:center;gap:.35rem;white-space:nowrap;font-variant-numeric:tabular-nums}
.tm-sw{width:1rem;height:1rem;border-radius:4px;border:1px solid rgba(6,20,34,.6);display:inline-block}
.tm-l-met{flex:1 1 100%;margin:.25rem 0 0;font-size:.82rem;line-height:1.45;color:#9fb3c6;max-width:95ch}
.tm-search{position:relative;max-width:22rem;margin:0 0 1rem}
.tm-s-in{width:100%;padding:.6rem .9rem;border-radius:999px;border:1px solid rgba(255,255,255,.28);background:rgba(4,13,23,.55);color:#eef3f8;font:inherit;font-size:.95rem}
.tm-s-in::placeholder{color:#8ea2b6}
.tm-s-list{position:absolute;z-index:3;left:0;right:0;top:calc(100% + .3rem);margin:0;padding:.25rem;list-style:none;border-radius:14px;background:rgba(6,20,34,.97);border:1px solid rgba(255,255,255,.2);box-shadow:0 18px 40px rgba(4,13,23,.5)}
.tm-s-list li{margin:0}
.tm-s-list button{display:block;width:100%;text-align:left;padding:.45rem .7rem;border:0;border-radius:10px;background:transparent;color:#eef3f8;font:inherit;font-size:.92rem;cursor:pointer}
.tm-s-list button:hover{background:rgba(225,195,141,.2)}
.tm-basket{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;margin:0 0 1.4rem;padding:.7rem .9rem;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.14)}
.tm-b-item{padding:.35rem .7rem .35rem .8rem;border-radius:999px;border:1px solid rgba(225,195,141,.6);background:rgba(225,195,141,.14);color:#f2e6cd;font:inherit;font-size:.86rem;cursor:pointer}
.tm-b-item::after{content:" ×";font-weight:700}
.tm-b-go{padding:.5rem 1rem;font-size:.9rem}
.tm-b-go[aria-disabled="true"]{opacity:.55}
.tm-b-msg{font-size:.84rem;color:#f0d9a8;flex:1 1 100%}
.tm-big{display:flex;align-items:baseline;gap:.6rem;flex-wrap:wrap;margin:0 0 1rem;padding-bottom:.9rem;border-bottom:1px solid rgba(255,255,255,.14)}
.tm-big-v{font-size:2.9rem;font-weight:700;line-height:1;color:#f0d9a8;font-variant-numeric:tabular-nums}
.tm-big-l{font-size:.86rem;line-height:1.35;color:#9fb3c6;max-width:16ch}
.tm-rates dd{font-size:1.5rem}
.tm-src{margin:0 0 .3rem;font-size:.78rem;color:#8ea2b6}
@media (max-width:820px){.tm-layers{overflow-x:auto;flex-wrap:nowrap;padding-bottom:.3rem;-webkit-overflow-scrolling:touch}
 .tm-layers button{flex:0 0 auto}.tm-search{max-width:none}.tm-big-v{font-size:2.3rem}}
.tm-pl-h{margin:1.2rem 0 .6rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.14);font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:#e1c38d;font-weight:600}
.tm-pl dd{font-size:1.3rem}
.tm-wyk{margin:.5rem 0 0;padding:.5rem .7rem;border-radius:10px;background:rgba(225,150,107,.16);border:1px solid rgba(225,150,107,.4);font-size:.85rem;line-height:1.45;color:#f0d2b4}
