/* ZabSys Cloud — Developer SDK pages (/sdk/). Loaded after vps.css, email.css and cloud.css. */

.sdk-chip { display: inline-block; margin-top: 4px; }
.sdk-chip--soon { background: #FFF4E5; color: #9A5B00; }
.sdk-chip--beta { background: #E8F0FE; color: #1A56C4; }
.sdk-chip--live { background: #E6F4EC; color: #16794C; }
.sdk-cat { margin-top: 10px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.co-svc .sdk-chip { margin-top: 2px; }
.co-ico.co-ico--logo { padding: 0; background: none; overflow: hidden; }
.co-ico.co-ico--logo img { display: block; width: 100%; height: 100%; object-fit: contain; }

.sdk-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.sdk-split h2 { margin-bottom: 14px; font-size: 22px; }
.sdk-split > :only-child { grid-column: 1 / -1; }
.sdk-lead { font-size: 16px; color: var(--text); }
.sdk-list { display: grid; gap: 10px; margin-top: 18px; }
.sdk-list li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--text); }
.sdk-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.sdk-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 0; }
.sdk-facts > div { padding: 12px 14px; border-radius: var(--radius); background: var(--gray); }
.sdk-facts dt { font-size: 12.5px; color: var(--muted); }
.sdk-facts dd { margin: 2px 0 0; font-size: 14.5px; font-weight: 600; color: var(--ink); }

.sdk-code-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; background: var(--gray); font-size: 13.5px; color: var(--muted); }
.sdk-code { margin: 0; padding: 18px 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); background: #fff; font-family: var(--mono); font-size: 13.5px; line-height: 1.65; color: var(--ink); tab-size: 2; }
.sdk-note { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

.sdk-wait { max-width: 560px; }
.sdk-wait h2 { margin-bottom: 8px; font-size: 22px; }
.sdk-wait .field + .field { margin-top: 16px; }
.sdk-wait .btn { margin-top: 20px; }
.sdk-done { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.sdk-done h3 { font-size: 20px; }
.sdk-done h3:focus { outline: none; }
.sdk-done p { margin-top: 8px; color: var(--text); }
.sdk-steps { counter-reset: s; }
[hidden] { display: none !important; }

@media (max-width: 860px) { .sdk-split { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 520px) { .sdk-facts { grid-template-columns: 1fr; } }
.sdk-table { margin-top: 28px; }

/* Voice, video and streaming */
.vc-feature { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 32px; border: 1px solid var(--line); border-radius: 12px; background: var(--gray); }
.vc-feature h2 { margin: 10px 0 8px; font-size: 26px; }
.vc-feature p { color: var(--text); }
.vc-feature__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.co-ico--lg { width: 56px; height: 56px; border-radius: 14px; }
.co-ico--lg svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .vc-feature { grid-template-columns: 1fr; padding: 24px; } }

/* SDK hub: filters, platform chips, install and tables */
.sdk-filters { display: grid; gap: 4px; margin-bottom: 8px; }
.sdk-filters .st-types { margin: 0; }
.sdk-filters .em-pills { margin-top: 12px; }
.sdk-plat { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.sdk-plat span { padding: 2px 8px; border-radius: 4px; background: var(--gray); font-size: 12.5px; font-weight: 500; color: var(--text); }
.sdk-plat--inline { margin: 0; justify-content: flex-end; }
.sdk-plat span.sdk-plat__soon { background: #FFF4E5; color: #9A5B00; }
.sdk-matrix th, .sdk-matrix td { text-align: center; }
.sdk-matrix th:first-child, .sdk-matrix tbody th { text-align: left; }
.sdk-soon { font-size: 12.5px; font-weight: 600; color: #9A5B00; }
.sdk-unit { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.sdk-code--short { min-height: 0; }
.sdk-h2-gap { margin-top: 28px; }
.sdk-split .em-pills.st-types { margin: 0 0 12px; }

/* Digital marketing: goal cards */
.mk-goals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mk-goal { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.mk-goal:hover { border-color: var(--red); box-shadow: 0 16px 30px -22px rgba(22, 24, 29, .35); }
.mk-goal strong { font-size: 16px; line-height: 1.35; color: var(--ink); }
.mk-goal .co-ico { flex: none; }
.mk-goal strong { min-height: 2.7em; }
.mk-goal__go { margin-top: auto; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--red); }
@media (max-width: 960px) { .mk-goals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mk-goals { grid-template-columns: 1fr; } }

/* Development and managed IT pages: our promise band */
.dv-pledge-wrap { padding-bottom: 0; }
.dv-ico { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dv-two { margin-top: 28px; }
.mk-talk { margin-top: 24px; }
.included.mk-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .included.mk-three { grid-template-columns: 1fr; } }
.included.dv-six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .included.dv-six { grid-template-columns: 1fr; } }
#focus .co-card { scroll-margin-top: 90px; }
.dv-pledge { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.dv-pledge li { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: var(--radius); background: #fff; }
.dv-pledge strong { font-size: 16px; line-height: 1.35; color: var(--ink); }
.dv-pledge span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.sdk-plat--left { justify-content: flex-start; margin-top: 0; }
@media (max-width: 960px) { .dv-pledge { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .dv-pledge { grid-template-columns: 1fr; } }

.sdk-code-head--next { margin-top: 16px; }

/* product screenshots: phone screens in a row, one wide picture below */
.shots__title { margin: 26px 0 14px; font-size: 17px; }
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.shots li { text-align: center; }
.shots a { display: block; max-width: 240px; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 18px 32px -26px rgba(22, 24, 29, .45); transition: transform .25s var(--ease), border-color .2s; }
.shots a:hover { border-color: var(--red); transform: translateY(-4px); }
.shots img { display: block; width: 100%; height: auto; }
.shots span { display: block; margin-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.shots-wide { max-width: 820px; margin: 0; }
.shots-wide a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.shots-wide a:hover { border-color: var(--red); }
.shots-wide img { display: block; width: 100%; height: auto; }
.shots-wide figcaption { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 760px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; } }
@media (prefers-reduced-motion: reduce) { .shots a:hover { transform: none; } }

/* wide screenshots of a web app, two in a row with a short text under each */
.shots-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 26px 22px; }
.shots-grid figure { margin: 0; }
.shots-grid a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s; }
.shots-grid a:hover { border-color: var(--red); }
.shots-grid img { display: block; width: 100%; height: auto; }
.shots-grid figcaption { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.shots-grid figcaption strong { display: block; color: var(--ink); }
.shots-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; }
@media (max-width: 760px) { .shots-grid { grid-template-columns: minmax(0, 1fr); } }
/* product logo used as a section heading, and a call to action under a card grid */
.vm-logo { margin: 10px 0 14px; }
.vm-logo img { display: block; width: 320px; max-width: 100%; height: auto; }
.vm-cta { margin-top: 28px; background: #fff; }

/* supported countries and documents: heading with totals, then one data table with its search, filters, sorting and pages */
.cov__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.cov__head h2 { font-size: clamp(24px, 3vw, 32px); }
.cov__head p { margin-top: 6px; color: var(--muted); }
.cov__totals { display: flex; gap: 12px; margin: 0; }
.cov__totals div { display: flex; flex-direction: column-reverse; min-width: 118px; padding: 12px 18px; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--radius); background: #fff; }
.cov__totals dt { font-size: 13px; color: var(--muted); }
.cov__totals dd { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.15; color: var(--ink); }
.cov__search { display: flex; gap: 10px; }
.cov__input { flex: 1; min-width: 0; height: 52px; padding: 0 16px 0 46px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6675' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E") 15px center / 20px no-repeat; font: inherit; font-size: 16px; color: var(--ink); }
.cov__input:focus { border-color: var(--red); outline: 3px solid rgba(231, 25, 38, .16); outline-offset: 0; }
.cov__btn { flex: none; height: 52px; min-width: 120px; justify-content: center; }
.cov__filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.cov__label { width: 82px; font-size: 13px; font-weight: 600; color: var(--muted); }
.cov__pill { padding: 7px 13px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.cov__pill:hover { border-color: var(--red); }
.cov__pill small { margin-left: 3px; font-weight: 500; color: var(--muted); }
.cov__pill[aria-pressed="true"] { border-color: var(--red); background: var(--red); color: #fff; }
.cov__pill[aria-pressed="true"] small { color: #fff; }
.dt { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 24px 40px -34px rgba(22, 24, 29, .5); }
.dt__tools { padding: 18px; border-bottom: 1px solid var(--line); }
.dt__table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.dt__table thead th { position: sticky; top: 71px; z-index: 2; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--gray); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-align: left; color: var(--muted); white-space: nowrap; }
.dt__table thead th.dt__kind { text-align: center; white-space: normal; }
.dt__table thead th.dt__num, .dt__table td.dt__num { text-align: right; }
.dt__sort { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: inherit; text-transform: inherit; letter-spacing: inherit; color: inherit; cursor: pointer; }
.dt__sort::after { content: "\2195"; font-size: 13px; opacity: .45; }
.dt__sort:hover { color: var(--red); }
th[aria-sort="ascending"] .dt__sort, th[aria-sort="descending"] .dt__sort { color: var(--red); }
th[aria-sort="ascending"] .dt__sort::after { content: "\2191"; opacity: 1; }
th[aria-sort="descending"] .dt__sort::after { content: "\2193"; opacity: 1; }
.dt__row { cursor: pointer; }
.dt__row > th, .dt__row > td { padding: 10px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; transition: background-color .15s; }
.dt__group:nth-of-type(even) .dt__row > * { background: #FCFCFD; }
.dt__group .dt__row:hover > *, .dt__group.is-open .dt__row > * { background: #FFF5F5; }
.dt__row > td.dt__kind { text-align: center; }
.dt__open { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0; border: 0; background: none; font: inherit; text-align: left; color: var(--ink); cursor: pointer; }
.dt__flag { width: 34px; font-size: 30px; text-align: center; }
.dt__cc { margin-left: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.dt__name { flex: 1; min-width: 0; font-weight: 600; line-height: 1.35; }
.dt__match { display: block; font-size: 12.5px; font-weight: 600; color: var(--red); }
.dt__chev { flex: none; color: var(--muted); transition: transform .2s var(--ease); }
.dt__group.is-open .dt__chev { transform: rotate(180deg); color: var(--red); }
.dt__region { color: var(--muted); white-space: nowrap; }
.dt__yes { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #E6F4EC; color: #16794C; font-size: 14px; font-weight: 700; }
.dt__no { color: #B6BAC1; }
.dt__table td.is-picked.is-yes .dt__yes { background: var(--red); color: #fff; }
.dt__table thead th.is-picked { color: var(--red); }
.dt__num span { display: inline-block; min-width: 30px; padding: 3px 8px; border-radius: 6px; background: var(--gray); font-weight: 700; font-size: 13.5px; text-align: center; color: var(--ink); }
.dt__detail > td { padding: 14px 16px 18px 64px; border-bottom: 1px solid var(--line); background: #FFFBFB; }
.dt__docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.dt__docs li { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.dt__docs strong { font-size: 14px; font-weight: 600; color: var(--ink); }
.dt__docs code { font-family: var(--mono); font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.dt__docs li.is-hit { border-color: var(--red); background: #FFF1F2; }
.dt__docs li.is-hit strong { color: var(--red); }
.dt__table[hidden], .dt__group[hidden], .dt__detail[hidden], .dt__match[hidden] { display: none; }
/* before the script runs only the first rows show; the full list is also in the developer docs */
.cov:not(.is-ready) .dt__group:nth-of-type(n+11) { display: none; }
.dt__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 14px 18px; }
.dt__count { margin: 0; font-size: 14px; color: var(--muted); }
.dt__size { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 14px; color: var(--muted); }
.dt__size select { height: 36px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font: inherit; font-size: 14px; color: var(--ink); }
.dt__pages { display: flex; align-items: center; gap: 4px; }
.dt__page { min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.dt__page:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.dt__page[aria-current="page"], .dt__page[aria-current="page"]:hover { border-color: var(--red); background: var(--red); color: #fff; }
.dt__page:disabled { opacity: .4; cursor: default; }
.dt__gap { padding: 0 4px; color: var(--muted); }
.cov__none { padding: 40px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.cov__none p { margin-top: 6px; color: var(--muted); }
.cov__more { margin-top: 16px; }
.cov__note { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
/* narrower screens: the region is dropped first, then each row becomes a small block */
@media (max-width: 960px) { .dt__table thead th:nth-child(2), .dt__region { display: none; } .dt__row > th, .dt__row > td, .dt__table thead th { padding-left: 10px; padding-right: 10px; } .dt__table thead th { top: 62px; } }
@media (max-width: 720px) {
  .dt__table, .dt__group { display: block; }
  .dt__table thead { display: block; }
  .dt__table thead tr { display: flex; gap: 18px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--gray); }
  .dt__table thead th { position: static; display: none; padding: 0; border: 0; }
  .dt__table thead th:first-child { display: block; }
  .dt__table thead th.dt__num { display: block; margin-left: auto; }
  .dt__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); }
  .dt__row > th, .dt__row > td, .dt__group:nth-of-type(even) .dt__row > *, .dt__group .dt__row:hover > *, .dt__group.is-open .dt__row > * { padding: 0; border: 0; background: none; }
  .dt__group.is-open .dt__row, .dt__group:hover .dt__row { background: #FFF5F5; }
  .dt__row > th { grid-column: 1 / 5; }
  .dt__row > td.dt__num { grid-column: 5; grid-row: 1; }
  .dt__row > td.dt__kind { grid-row: 2; display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 10px; }
  .dt__row > td.dt__kind::before { content: attr(data-label); font-size: 11px; line-height: 1.2; text-align: center; color: var(--muted); }
  .dt__detail { display: block; }
  .dt__detail > td { display: block; padding: 12px 14px 16px; }
  .dt__docs { grid-template-columns: minmax(0, 1fr); }
  .dt__size { margin-left: 0; }
  .dt__pages { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .cov__search { flex-direction: column; }
  .cov__input { flex: none; width: 100%; }
  .cov__btn { width: 100%; }
  .cov__label { width: 100%; }
  .cov__totals { width: 100%; }
  .cov__totals div { flex: 1; }
}
