/* Samodzielny arkusz nowych widgetów; NIE zmienia istniejących stron SEO. */
:root{color-scheme:light;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#17243a;background:#f4f7fb}
*{box-sizing:border-box}body{margin:0;line-height:1.48;background:#f4f7fb}a{color:#155eef}
.widget-shell{max-width:1120px;margin:0 auto;padding:16px}.widget-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0 16px}.widget-brand{text-decoration:none;color:#18263e;font-weight:900;font-size:1.27rem}.widget-brand span{color:#155eef}.widget-tag{font-size:.8rem;color:#49607d;border:1px solid #d4e0f3;background:#fff;padding:5px 9px;border-radius:50px}
h1{font-size:clamp(1.35rem,3.2vw,1.85rem);line-height:1.2;margin:0 0 7px}.widget-intro{color:#5d6a80;font-size:.86rem;margin:0 0 16px}
.widget-shell .calculator,.widget-shell .grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);gap:16px;align-items:start;margin:0;padding:0;width:100%;max-width:none}
.widget-shell .panel{background:#fff;border:1px solid #dce4f0;box-shadow:0 6px 21px rgba(30,45,80,.05);border-radius:14px;padding:19px;min-width:0}
.widget-shell .fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.widget-shell .field{display:flex;flex-direction:column;gap:5px;min-width:0}.widget-shell .field.full{grid-column:1/-1}
.widget-shell label{font-size:.83rem;font-weight:750;color:#27364e}.widget-shell input,.widget-shell select{width:100%;min-width:0;min-height:41px;border:1px solid #cbd6e6;background:#fff;color:#17243a;border-radius:9px;padding:8px 10px;font:inherit;font-size:.92rem}
.widget-shell input:focus,.widget-shell select:focus{outline:2px solid #9ebfff;border-color:#155eef}
.widget-shell h2{font-size:1.03rem;line-height:1.3;margin:0 0 11px}.widget-shell .input-section+.input-section,.widget-shell .group+.group{margin-top:21px;padding-top:16px;border-top:1px solid #e2e8f2}
.widget-shell .help,.widget-shell .note,.widget-shell .intro{font-size:.79rem;color:#687990;margin:3px 0}.widget-shell .hidden{display:none!important}
.widget-shell button{min-height:40px;padding:8px 14px;border:0;border-radius:9px;background:#155eef;color:white;font-weight:700;cursor:pointer;font:inherit}.widget-shell .secondary,.widget-shell .reset-button{background:#edf2fa;color:#253953}.widget-shell .actions{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0 8px}
.widget-shell .results{position:static;top:auto}.widget-shell .result-main,.widget-shell .heroresult{margin:8px 0 13px;border:1px solid #d5e1ff;background:#edf4ff;border-radius:11px;padding:16px}.widget-shell .result-main .result-value,.widget-shell .heroresult .v{color:#124cbb;font-size:clamp(1.3rem,3vw,1.8rem);font-weight:850;overflow-wrap:anywhere}
.widget-shell .result-label,.widget-shell .heroresult .l,.widget-shell .kicker{font-size:.82rem;color:#526783}.widget-shell .cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.widget-shell .card{border:1px solid #e3e8f1;border-radius:9px;padding:10px;background:#f8faff}.widget-shell .card .l{font-size:.76rem;color:#586b87}.widget-shell .card .v{font-weight:800;overflow-wrap:anywhere}
.widget-shell table{width:100%;border-collapse:collapse;font-size:.82rem}.widget-shell td,.widget-shell th{padding:7px 3px;border-bottom:1px solid #e7edf5}.widget-shell td:last-child,.widget-shell th:last-child{text-align:right;font-weight:750}.widget-shell .breakdown{width:100%}.widget-shell .secondary-result,.widget-shell .formula{background:#f5f8fc;padding:10px;border-radius:9px;color:#48617e;font-size:.82rem;margin-top:10px}
.widget-shell .error{display:none;padding:10px;border:1px solid #e6b3b3;color:#a22b2b;background:#fff1f1;border-radius:9px;font-size:.83rem;margin-bottom:12px}.widget-footer{text-align:center;color:#6a7b90;font-size:.8rem;padding:17px 0 6px}
.widget-shell .result-value,.widget-shell .v{max-width:100%;overflow-wrap:anywhere}
@media(max-width:780px){.widget-shell .calculator,.widget-shell .grid{grid-template-columns:1fr}.widget-shell .panel{padding:16px}.widget-shell .results{position:static}}
@media(max-width:390px){.widget-shell{padding:9px}.widget-shell .fields,.widget-shell .cards{grid-template-columns:1fr}.widget-tag{display:none}}
