#porovnanie-profilov {
  --ink: #20342b;
  --rule: #cbd3cb;
  color: var(--ink);
  background: #f4f5f0;
  scroll-margin-top: 65px;
}
#porovnanie-profilov .section-pad {
  width: min(100%, 1410px);
  max-width: none;
  margin: auto;
  padding: clamp(34px,5.2vw,82px) clamp(16px,5.5vw,84px);
}
#porovnanie-profilov .section-head {
  display: grid;
  grid-template-columns: minmax(0,1.53fr) minmax(210px,.77fr);
  align-items: end;
  column-gap: clamp(32px,6vw,98px);
  margin: 0 0 clamp(24px,2.45vw,38px);
  text-align: left;
}
#porovnanie-profilov .label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 14px;
  padding: 0;
  color: #006034;
  background: none;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .13em;
}
#porovnanie-profilov .label::before {content:"";width:30px;height:2px;background:#006034}
#porovnanie-profilov .heading {
  max-width: 22ch;
  margin: 0;
  color: var(--ink);
  font: inherit;
  font-weight: 720;
  font-size: clamp(33px,3.65vw,61px);
  letter-spacing: -.048em;
  line-height: 1.045;
  text-wrap: balance;
}
#porovnanie-profilov .subheading {
  margin: 0 0 .16em;
  font: inherit;
  font-size: clamp(.93rem,1.03vw,1.09rem);
  line-height: 1.53;
  color: #4a584e;
}
#porovnanie-profilov .avo-tablewrap {position:relative;max-width:none;overflow:visible;margin:0;border:0;border-radius:0}
#porovnanie-profilov .avo-table, #porovnanie-profilov .avo-table thead,
#porovnanie-profilov .avo-table tbody {display:block;width:100%;min-width:0;background:transparent;border:0;border-spacing:0}
#porovnanie-profilov .avo-table thead tr {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:3px}
#porovnanie-profilov .avo-table thead th {display:block;border:0;padding:0;min-width:0;text-align:left}
#porovnanie-profilov thead .avo-alu,#porovnanie-profilov thead .avo-steel {grid-row:1;position:relative;isolation:isolate;overflow:hidden;color:#1b3024;background:#c6cbc4}
#porovnanie-profilov thead .avo-alu {grid-column:1;border-radius:7px 0 0 7px}
#porovnanie-profilov thead .avo-steel {grid-column:2;border-radius:0 7px 7px 0;color:#2a3336;background:#c7c8c5}
#porovnanie-profilov .ms-name {position:absolute;z-index:1;left:clamp(12px,1.6vw,24px);top:clamp(12px,1.4vw,22px);font:inherit;font-weight:680;letter-spacing:-.045em;font-size:clamp(20px,2vw,32px);line-height:1.04;color:inherit}
#porovnanie-profilov .ms-name span {display:block;font-size:9px;font-weight:700;line-height:1.2;color:#205f42;opacity:1;letter-spacing:.1em;margin:5px 0 0}
#porovnanie-profilov .ms-visual {display:block;width:100%;aspect-ratio:800 / 506;background-size:100% 100%;background-position:center;background-repeat:no-repeat}
.ms-visual[data-material="al"] {background-image:url("al-poster.webp")}
.ms-visual[data-material="oc"] {background-image:url("oc-poster.webp")}
.ms-visual canvas {display:block;width:100%;height:100%;pointer-events:none}
#porovnanie-profilov thead th.avo-crit {grid-column:1/-1;grid-row:2;display:flex;align-items:center;gap:13px;margin:clamp(22px,2.3vw,34px) 0 0;padding:0 0 10px;color:#46594a;font-weight:650;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;border-bottom:1px solid #79917e}
#porovnanie-profilov .avo-table tbody tr {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 3px;
  padding:8px 0 15px;
}
#porovnanie-profilov .avo-table tbody th[scope="row"] {
  grid-column:1 / -1;
  width:auto;
  padding:7px 12px;
  border:0;
  border-inline-start:4px solid #006034;
  background:#e3ece4;
  color:#193e2b;
  font-size:clamp(1.15rem,1.5vw,1.45rem);
  font-weight:750;
  line-height:1.25;
  letter-spacing:-.015em;
  text-align:start;
}
#porovnanie-profilov .avo-table tbody td {display:flex;align-items:flex-start;gap:9px;min-width:0;padding:0 clamp(12px,2vw,26px) 0 0;border:0;background:transparent;font-size:clamp(.87rem,1.03vw,1.02rem);line-height:1.5}
#porovnanie-profilov .avo-table tbody td.avo-alu {font-weight:550;color:#15472f}
#porovnanie-profilov .avo-table tbody td.avo-steel {font-weight:450;color:#454e49}
#porovnanie-profilov .avo-ic {width:16px;height:16px;line-height:1;flex:0 0 16px;margin:.20em 0 0;font-size:10px}
#porovnanie-profilov .avo-ic--yes {color:#086338;background:#dceadf}
#porovnanie-profilov .avo-ic--no {color:#b4232b;background:#fbe6e6}
#porovnanie-profilov .avo-note {max-width:80ch;margin:clamp(18px,2vw,28px) 0 0;border-left:2px solid #7c9984;padding:1px 0 1px 15px;text-align:left;font-size:.9rem;line-height:1.6;color:#4a594e}
.ms-tools {position:absolute;z-index:2;top:clamp(10px,1.25vw,18px);right:clamp(10px,1.25vw,18px);display:flex;gap:5px}
.ms-tools button,.ms-dialog button {display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;border:1px solid #49604e3d;border-radius:50%;background:#f7f9f3ed;color:#243c2c;cursor:pointer;font:inherit}
.ms-tools button:hover,.ms-dialog button:hover {background:#fff;color:#006034}
.ms-tools button:focus-visible,.ms-dialog button:focus-visible {outline:2px solid #006034;outline-offset:2px}
.ms-tools svg,.ms-dialog svg {width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.ms-dialog {position:fixed;inset:0;margin:auto;width:min(94vw,1180px);max-width:94vw;max-height:95svh;padding:0;border:0;border-radius:8px;background:#f5f6f2;color:#22362a;box-shadow:0 14px 75px #15251759}
.ms-dialog::backdrop {background:#102016b8}
.ms-dialog img {display:block;width:100%;height:min(72svh,760px);object-fit:contain;background:#c9cdca}
.ms-dialog .ms-bar {display:flex;gap:6px;align-items:center;padding:8px 12px}
.ms-dialog .ms-choice {font:inherit;padding:0 14px;font-weight:600;font-size:.9rem;border-radius:30px;min-height:40px}
.ms-dialog .ms-choice[aria-pressed="true"] {color:white;background:#006034;border-color:#006034}
.ms-dialog .ms-angle {margin-left:auto}.ms-dialog .ms-close {position:absolute;right:10px;top:10px}
@media(max-width:720px) {
  #porovnanie-profilov .section-head {grid-template-columns:1fr;gap:12px}
  #porovnanie-profilov .label {margin:0}
  #porovnanie-profilov .subheading {max-width:56ch}
}
@media(max-width:580px) {
  #porovnanie-profilov .section-pad {padding-inline:14px}
  #porovnanie-profilov .heading {font-size:clamp(32px,7.6vw,41px)}
  #porovnanie-profilov .ms-name {position:static;display:block;min-height:54px;padding:10px 10px 4px;font-size:20px}
  #porovnanie-profilov .ms-name span {font-size:8px;margin-top:3px}
  #porovnanie-profilov thead .avo-alu,#porovnanie-profilov thead .avo-steel {background:#e6eae2}
  #porovnanie-profilov thead .avo-steel {background:#e6e7e2}
  #porovnanie-profilov .avo-table tbody td {font-size:14px;line-height:1.44;gap:5px;padding-right:6px;overflow-wrap:anywhere;hyphens:auto}
  .ms-tools {position:static;justify-content:flex-end;margin:-4px 0 5px}
  .ms-tools button {width:44px;height:44px}
  .ms-dialog {width:96vw;max-width:96vw}
  .ms-dialog img {height:auto;aspect-ratio:3/2}
  .ms-dialog .ms-bar {padding:6px}
}
@media print {.ms-tools,.ms-dialog,.ms-visual canvas{display:none!important}}
html:has(#porovnanie-profilov:target) {scroll-behavior:auto!important;scroll-padding-top:0}
#porovnanie-profilov .avo-table thead .ms-name {text-transform:none;opacity:1;margin:0}
@media(max-width:767px) {#porovnanie-profilov {scroll-margin-top:0}}
#porovnanie-profilov .avo-table .ms-visual {opacity:1;margin:0}
