/* Uzivatelska zona /user, /user/faktury, /user/udaje, /user/info-email (prototyp servis.html #zona, servis.css .zone-*).
   Vlastnik: balik 5B. Vse pod .rd. Kostru ZoneLayout zalozil balik K5; 5B ji smi upravit. */

/* ---------- K5 – kostra ZoneLayout (hlavicka, navigace, poznamka) ---------- */

.rd .zone-page {
  padding-top: 40px;
  padding-bottom: 32px;
}

.rd .zone-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.rd .zone-head .who {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rd .zone-head .ava {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

.rd .zone-head h1 {
  margin: 0;
  font-size: 30px;
  line-height: 38px;
  font-weight: 600;
  color: var(--navy);
}

.rd .zone-head p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--body-text);
}

.rd .zone-page .privacy-note {
  margin-top: 30px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--light-gray-color);
  font-size: 12.5px;
  line-height: 19px;
  color: var(--body-text);
}

.rd .zone-page .privacy-note b {
  color: var(--navy);
}

@media (max-width: 560px) {
  .rd .zone-page {
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .rd .zone-head h1 {
    font-size: 25px;
    line-height: 33px;
  }
}

/* ---------- 5B – spolecne pro podstranky ---------- */

.rd .zone-page .sub-nav {
  margin-bottom: 26px;
}

.rd .zone-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 18px;
}

.rd .zone-sec-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: var(--navy);
}

.rd .zone-sec-head p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--body-text);
}

.rd .zone-page .dl-list,
.rd .zone-dialog .dl-list {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 8px 18px;
  margin: 0;
  font-size: 14px;
  line-height: 22px;
}

.rd .zone-page .dl-list dt {
  color: var(--muted-text-color);
}

.rd .zone-page .dl-list dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--primary-text-color);
  font-weight: 500;
}

.rd .zone-page .transfer,
.rd .zone-dialog .transfer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px dashed #c9cdd6;
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 20px;
  color: var(--body-text);
}

.rd .zone-page .transfer .ico,
.rd .zone-dialog .transfer .ico {
  flex: none;
  display: flex;
  padding-top: 1px;
  color: var(--navy);
}

.rd .zone-page .transfer b {
  color: var(--navy);
}

.rd .zone-page .transfer .link,
.rd .zone-dialog .transfer .link {
  font-size: inherit;
}

.rd .zone-form-msg {
  margin-top: 10px;
}

/* ---------- 5B – licence ---------- */

.rd .lic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rd .lic-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--c);
  border-radius: var(--radius-lg);
  background: #fff;
}

.rd .lic-card .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 22px 0;
}

.rd .lic-card .top img {
  width: auto;
  height: 40px;
}

.rd .lic-card .body {
  flex: 1;
  padding: 16px 22px 18px;
}

.rd .lic-card .body h3 {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--navy);
}

.rd .lic-card .dl-list {
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 6px 10px;
  font-size: 13px;
}

/* radek pod tlacitkem je vyhrazeny i bez odkazu, aby tlacitka sousednich karet byla ve stejne vysce */
.rd .lic-card .foot {
  display: grid;
  grid-template-rows: 44px minmax(34px, auto);
  align-content: start;
  gap: 10px;
  padding: 16px 22px 20px;
  border-top: 1px solid var(--light-gray-color);
}

.rd .lic-card .foot .btn {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border-color: var(--c);
  background: var(--c);
  color: #fff;
  font-size: 14px;
  white-space: normal;
  text-align: center;
  line-height: 18px;
}

.rd .lic-card.p-fs .foot .btn {
  color: var(--navy);
}

.rd .lic-card .foot .btn:hover {
  filter: brightness(1.07);
}

.rd .lic-card .foot .btn.ghost {
  border-color: var(--border-color);
  background: #fff;
  color: var(--navy);
}

.rd .lic-card .foot .btn.ghost:hover {
  border-color: var(--c);
  filter: none;
}

.rd .lic-card .foot .link {
  justify-self: center;
  font-size: 13.5px;
  color: var(--c-text);
  text-align: center;
}

.rd .lic-card .foot small {
  font-size: 12px;
  line-height: 17px;
  color: var(--muted-text-color);
  text-align: center;
}

.rd .lic-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 200px;
  padding: 24px;
  border: 1.5px dashed var(--border-color);
  border-radius: var(--radius-lg);
  font-size: 13.5px;
  line-height: 20px;
  color: var(--muted-text-color);
  text-align: center;
}

.rd .lic-empty img {
  width: auto;
  height: 34px;
  opacity: .55;
}

.rd .lic-empty a {
  font-weight: 600;
  color: var(--navy);
}

.rd .lic-empty a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rd .zone-lic-note {
  margin-top: 22px;
}

/* ---------- 5B – faktury ---------- */

.rd .zone-invoices {
  max-width: 620px;
}

.rd .zone-invoices .tbl tr.clickable {
  cursor: pointer;
}

.rd .zone-invoices .tbl tbody tr.clickable:hover td {
  background: var(--light-gray-color);
}

.rd .zone-invoices .tbl tbody tr.clickable:hover td:first-child {
  box-shadow: inset 3px 0 0 var(--navy);
}

.rd .zone-invoices .tbl tr.clickable:hover .t-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rd .zone-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.rd .zone-icon-btn:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.rd .zone-icon-btn::after {
  content: attr(data-hint);
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  z-index: 5;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.rd .zone-icon-btn:hover::after,
.rd .zone-icon-btn:focus-visible::after {
  opacity: 1;
  visibility: visible;
}

.rd .zone-invoices .tbl .num {
  width: 1%;
  white-space: nowrap;
}

.rd .zone-invoices .empty p {
  margin: 0;
}

.rd .zone-note {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 19px;
  color: var(--muted-text-color);
}

/* ---------- 5B – moje udaje ---------- */

.rd .zone-saved {
  margin-bottom: 20px;
}

.rd .zone-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  align-items: start;
}

.rd .zone-cols .info-card .card-head {
  flex-wrap: wrap;
  gap: 10px 16px;
}

.rd .zone-page .dl-list.login-list {
  grid-template-columns: 110px minmax(0, 1fr);
  margin-bottom: 16px;
}

/* ---------- 5B – INFO e-mail ---------- */

.rd .zone-info-email {
  max-width: 720px;
}

.rd .email-rows {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin-top: 16px;
}

.rd .email-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.rd .email-row .rm {
  width: 46px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #fff;
  font-family: inherit;
  font-size: 18px;
  color: var(--body-text);
  cursor: pointer;
}

.rd .email-row .rm:hover:not(:disabled) {
  border-color: var(--err);
  color: var(--err);
}

.rd .email-row .rm:disabled {
  opacity: .45;
  cursor: default;
}

.rd .zone-email-actions {
  margin-top: 16px;
}

.rd .zone-email-actions .grow {
  flex: 1;
}

.rd .zone-email-actions .muted {
  font-size: 13px;
}

/* ---------- 5B – dialogy zony (historie licenci, faktura, zmena udaju, heslo, prevod) ---------- */

.rd .zone-dialog .opt-group-title {
  margin: 14px 0 6px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--muted-text-color);
}

.rd .zone-dialog .opt-group-title:first-child {
  margin-top: 0;
}

.rd .history-list {
  display: grid;
  gap: 10px;
}

.rd .history-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}

.rd .history-item img {
  justify-self: center;
  width: 22px;
  height: 22px;
}

.rd .history-item b {
  display: block;
  font-size: 14px;
  line-height: 21px;
  color: var(--navy);
}

.rd .history-item small {
  display: block;
  overflow-wrap: anywhere;
  font-size: 12.5px;
  line-height: 19px;
  color: var(--body-text);
}

.rd .history-item.old {
  background: #fafbfc;
}

.rd .history-item.old b {
  color: var(--body-text);
}

.rd .zone-pdf {
  display: grid;
  place-items: center;
  height: min(70vh, 620px);
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #525659;
}

.rd .zone-pdf.loading {
  background: var(--light-gray-color);
}

.rd .zone-pdf embed {
  display: block;
  width: 100%;
  height: 100%;
}

.rd .zone-pdf .loader {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: rd-spin .9s linear infinite;
}

.rd .zone-dialog .form-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px 12px;
}

.rd .zone-dialog .form-grid .c2 {
  grid-column: span 2;
}

.rd .zone-dialog .form-grid .c3 {
  grid-column: span 3;
}

.rd .zone-dialog .form-grid .c4 {
  grid-column: span 4;
}

.rd .zone-dialog .form-grid .c6 {
  grid-column: 1 / -1;
}

.rd .zone-dialog .stack.zone-form {
  gap: 10px;
}

.rd .zone-dialog .input-wrap {
  position: relative;
}

.rd .zone-dialog .input-wrap .input {
  width: 100%;
  padding-right: 46px;
}

.rd .zone-dialog .input-wrap .eye {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--body-text);
  cursor: pointer;
  transform: translateY(-50%);
}

.rd .zone-dialog .input-wrap .eye:hover,
.rd .zone-dialog .input-wrap .eye[aria-pressed="true"] {
  background: var(--light-gray-color);
  color: var(--navy);
}

.rd .zone-dialog .next-steps {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
  counter-reset: zone-step;
}

.rd .zone-dialog .next-steps li {
  position: relative;
  padding-left: 40px;
  font-size: 14px;
  line-height: 21px;
  counter-increment: zone-step;
}

.rd .zone-dialog .next-steps li::before {
  content: counter(zone-step);
  position: absolute;
  top: -2px;
  left: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 10%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 45%, transparent);
  font-size: 13px;
  font-weight: 600;
  line-height: 26px;
  color: var(--accent-link);
  text-align: center;
}

.rd .zone-dialog .next-steps b {
  color: var(--navy);
}

.rd .zone-dialog p.muted {
  font-size: 13px;
  line-height: 20px;
}

/* ---------- 5B – sirky ---------- */

@media (max-width: 1100px) {
  .rd .zone-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1000px) {
  .rd .lic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .rd .lic-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rd .lic-empty {
    min-height: 0;
  }

  .rd .lic-card .foot .link {
    display: inline-block;
    padding: 10px 0;
  }

  .rd .zone-page .dl-list,
  .rd .zone-page .dl-list.login-list,
  .rd .lic-card .dl-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .rd .zone-page .dl-list dd {
    margin-bottom: 8px;
  }

  .rd .zone-sec-head > .btn {
    width: 100%;
  }

  .rd .zone-dialog .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rd .zone-dialog .form-grid > *,
  .rd .zone-dialog .form-grid .c2,
  .rd .zone-dialog .form-grid .c3,
  .rd .zone-dialog .form-grid .c4 {
    grid-column: 1 / -1;
  }

  .rd .zone-dialog .input-wrap .eye {
    right: 3px;
    width: 40px;
    height: 40px;
  }

  .rd .zone-pdf {
    height: 420px;
  }

  .rd .zone-email-actions .grow {
    display: none;
  }

  .rd .zone-email-actions > .btn {
    flex: 1 1 auto;
  }

  .rd .zone-invoices .tbl .num {
    width: auto;
  }
}

/* ---------- 6C – slovenska zona /sk/user (jedna stranka, stejna mrizka jako CZ) ---------- */

/* ---------- zona na jedne strance (prototyp servis.css .zone-one) ---------- */

.rd .zone-page.pg-tight {
  --zone-change-w: 100px;
  --zone-card-pad-x: 20px;
  --zone-card-border: 1px;
  padding-top: 24px;
}

.rd .zone-page.pg-tight .zone-head {
  margin-bottom: 18px;
}

.rd .zone-page.pg-tight .zone-head h1 {
  font-size: 26px;
  line-height: 34px;
}

.rd .zone-page.pg-tight .zone-head .ava {
  width: 44px;
  height: 44px;
  font-size: 15px;
}

.rd .zone-page.pg-tight .privacy-note {
  margin-top: 22px;
}

/* Zmenit v karte Moje udaje a Odhlasit v hlavicce: levy okraj tlacitek na stejne care (jen desktop, pravy sloupec 360px). */
.rd .zone-page.pg-tight .zone-card .card-head .btn {
  width: var(--zone-change-w);
  flex: none;
}

@media (min-width: 1101px) {
  .rd .zone-page.pg-tight .zone-head > .btn {
    width: calc(var(--zone-change-w) + var(--zone-card-pad-x) + var(--zone-card-border));
    flex: none;
  }
}

.rd .zone-one {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  grid-template-areas: "lic side" "inv side";
  grid-template-rows: auto 1fr;
  gap: 18px 22px;
  align-items: start;
}

.rd .zone-one #z-licence {
  grid-area: lic;
  min-width: 0;
  scroll-margin-top: 88px;
}

.rd .zone-one .zone-side {
  grid-area: side;
  display: grid;
  gap: 18px;
  min-width: 0;
}

.rd .zone-one #z-faktury {
  grid-area: inv;
  min-width: 0;
  scroll-margin-top: 88px;
}

.rd .zone-one #z-udaje,
.rd .zone-one #z-info {
  scroll-margin-top: 88px;
}

.rd .zone-one .zone-sec-head {
  align-items: center;
  margin-bottom: 10px;
}

.rd .zone-one .zone-sec-head h2,
.rd .zone-card h2 {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  color: var(--navy);
}

.rd .zone-one .zone-sec-head .link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 13.5px;
}

.rd .lic-rows {
  display: grid;
  gap: 10px;
}

.rd .lic-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 214px;
  gap: 18px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--c);
  border-radius: var(--radius-lg);
  background: #fff;
}

.rd .lic-row .brand {
  display: flex;
  align-items: center;
}

.rd .lic-row .brand img {
  width: auto;
  height: 34px;
}

.rd .lic-row .ttl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-bottom: 4px;
}

.rd .lic-row h3 {
  margin: 0;
  font-size: 15.5px;
  line-height: 22px;
  font-weight: 600;
  color: var(--navy);
}

.rd .lic-row .ttl .badge {
  font-size: 11.5px;
  white-space: nowrap;
}

.rd .lic-row .dl-list {
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 1px 10px;
  font-size: 13px;
  line-height: 20px;
}

.rd .lic-row .acts {
  display: grid;
  gap: 6px;
  justify-items: stretch;
  text-align: center;
}

.rd .lic-row .acts .btn {
  min-width: 0;
  height: auto;
  min-height: 40px;
  padding: 6px 12px;
  border-color: var(--c);
  background: var(--c);
  color: #fff;
  font-size: 13px;
  line-height: 18px;
  white-space: normal;
}

.rd .lic-row.p-fs .acts .btn {
  color: var(--navy);
}

.rd .lic-row .acts .btn.ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--border-color);
}

.rd .lic-row .acts .btn.ghost:hover {
  border-color: var(--c);
}

.rd .lic-row .acts .link {
  color: var(--c-text);
  font-size: 13px;
}

.rd .lic-row .acts small {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted-text-color);
}

.rd .zone-tip {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 18px;
  color: var(--muted-text-color);
}

.rd .zone-tip svg {
  flex: none;
  margin-top: 1px;
  color: var(--info, #2b7bb9);
}

.rd .zone-sec.info-card,
.rd .zone-card {
  padding: 18px var(--zone-card-pad-x, 20px);
}

.rd .zone-card .card-head,
.rd .zone-sec .card-head {
  align-items: center;
  margin-bottom: 10px;
}

.rd .zone-sec .card-head .link,
.rd .zone-card .card-head .link {
  font-size: 12.5px;
  text-align: right;
}

.rd .zone-card .dl-list {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 2px 10px;
  font-size: 13px;
  line-height: 20px;
}

.rd .zone-card .zone-mini {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 18px;
  color: var(--muted-text-color);
}

.rd .zone-card .zone-mini svg {
  flex: none;
  margin-top: 2px;
  color: var(--navy);
}

.rd .zone-card .zone-mini.plain {
  margin: -4px 0 10px;
}

.rd .zone-card .zone-mini .link {
  font-size: 12.5px;
}

.rd .zone-card .zone-ok {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: -2px 0 10px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  background: #eaf6ee;
  font-size: 12.5px;
  line-height: 18px;
  color: var(--ok);
}

.rd .zone-card .zone-ok svg {
  flex: none;
  margin-top: 2px;
}

.rd .zone-card .zone-ok b {
  font-weight: 600;
}

.rd .zone-login {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--light-gray-color);
  font-size: 13px;
}

.rd .zone-login b {
  color: var(--navy);
}

.rd .zone-login .link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 13px;
}

.rd .zone-card .email-rows {
  gap: 6px;
  max-width: none;
  margin-top: 0;
}

.rd .zone-card .email-row .input {
  height: 36px;
  padding: 0 10px;
  font-size: 13px;
}

.rd .zone-card .email-row .rm {
  width: 36px;
}

.rd .zone-card .btn-row {
  margin-top: 10px;
  align-items: center;
}

.rd .zone-card .btn-row .link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 13px;
}

.rd .zone-card.zone-info-email {
  max-width: none;
}

.rd .inv-list {
  box-sizing: border-box;
  max-height: 98px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
  border: 1px solid var(--light-gray-color);
  border-radius: var(--radius-md);
}

.rd .inv-row {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-top: 1px solid var(--light-gray-color);
  font-size: 13.5px;
  cursor: pointer;
}

.rd .inv-row:first-child {
  border-top: 0;
}

.rd .inv-row:hover {
  background: #fafbfc;
}

.rd .inv-row .d {
  color: var(--body-text);
}

.rd .inv-row .n {
  overflow: hidden;
  font-weight: 600;
  color: var(--navy);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rd .inv-row .actions {
  display: flex;
  gap: 16px;
}

.rd .inv-row .actions .link {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  font-size: 12.5px;
}

.rd .inv-row .actions .link[disabled] {
  opacity: .5;
  cursor: default;
}

@media (max-width: 1100px) {
  .rd .zone-one {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "lic" "side" "inv";
    grid-template-rows: auto;
  }

  .rd .zone-one .zone-side {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 760px) {
  .rd .zone-one .zone-side {
    grid-template-columns: minmax(0, 1fr);
  }

  .rd .lic-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .rd .inv-row {
    grid-template-columns: 90px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 0 10px;
  }

  .rd .zone-sec .card-head {
    flex-wrap: wrap;
  }

  .rd .zone-page .lic-row .dl-list,
  .rd .zone-page .zone-card .dl-list {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 1px 10px;
  }

  .rd .zone-page .lic-row .dl-list dd,
  .rd .zone-page .zone-card .dl-list dd {
    margin-bottom: 0;
  }
}
