/* Public website. Only loaded on website pages.
   Design language: Microsoft Fluent / microsoft.com, with EasyUC teal instead of Microsoft blue.
   Base tokens and fonts come from base.css, form controls and flash messages from app.css;
   everything the website needs differently is overridden here. */

/* ---------- tokens (defined once) ---------- */
body.site {
  --f: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", "Source Sans 3", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --f-display: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", "Source Sans 3", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --text: #1b1b1b;
  --text-2: #616161;
  --text-strong: #262626;
  --link: var(--teal-ink);
  --link-hover: #095a56;
  --border: #e6e6e6;
  --border-strong: #d1d1d1;

  --bg-tint: #eef6f5;       /* light teal band, counterpart to Microsoft's light blue */
  --bg-tint-2: #e1efed;
  --bg-warm: #f3f2ee;
  --bg-grey: #f7f7f7;
  --bg-footer: #f2f2f2;

  --r-card: 12px;
  --r-media: 8px;
  --r-sheet: 8px;
  --r-tile: 8px;
  --r-btn: 5px;
  --r-pill: 4px;

  --shadow-card: none;
  --shadow-card-hover: 0 2px 8px rgba(15, 38, 41, 0.05);
  --shadow-float: 0 3px 14px rgba(15, 38, 41, 0.08);
  --shadow-menu: 0 8px 28px rgba(0, 0, 0, 0.14);

  --wrap: 1400px;
  --gutter: 40px;
  --sec-y: 80px;
  --header-h: 56px;
  --subnav-h: 56px;
  --ease: cubic-bezier(0.33, 0, 0.1, 1);

  background: #fff;
  color: var(--text);
  font-family: var(--f);
  font-size: 16px;
  line-height: 24px;
}

body.menu-open { overflow: hidden; }
/* Safety net against stray pixels of sideways scrolling; clip keeps position: sticky working. */
body.site { overflow-x: clip; }
.site [hidden] { display: none !important; }
.site main:focus { outline: none; }
.site .skip-link { z-index: 100; }

.site .wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.site h1, .site h2, .site h3, .site h4 { font-family: var(--f-display); font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.site h1 { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.17; letter-spacing: -0.02em; margin: 0 0 16px; text-wrap: balance; }
.site h2 { font-size: clamp(26px, 2.3vw, 32px); line-height: 1.25; letter-spacing: -0.015em; margin: 0 0 12px; text-wrap: balance; }
.site h3 { font-size: 20px; line-height: 1.3; margin: 0 0 8px; }
.site h4 { font-size: 17px; line-height: 1.35; margin: 0 0 6px; }
.site p { text-wrap: pretty; }
.site a { color: var(--link); }
.site a:hover { color: var(--link-hover); }
.site code { font-family: var(--font-mono); font-size: 0.84em; background: #f0f2f2; color: var(--text); padding: 1px 5px; border-radius: 4px; white-space: nowrap; }
.site :focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

.site .eyebrow { font: 600 14px/20px var(--f); color: var(--teal-ink); margin: 0 0 12px; letter-spacing: 0; }

/* ---------- buttons and links ---------- */
.site .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 18px;
  font: 600 15px/20px var(--f); text-decoration: none; white-space: nowrap;
  color: var(--text); background: #fff; border: 1px solid var(--border-strong); border-radius: var(--r-btn);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.site .btn:hover { background: #f5f5f5; border-color: #bdbdbd; color: var(--text); }
.site .btn:active { background: #ebebeb; }
.site .btn--primary { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
.site .btn--primary:hover { background: #095a56; border-color: #095a56; color: #fff; }
.site .btn--primary:active { background: #074a47; border-color: #074a47; }
.site .btn--secondary { background: #fff; border-color: var(--border-strong); color: var(--text); }
.site .btn--light { background: #fff; border-color: #fff; color: var(--petrol); }
.site .btn--light:hover { background: #e6f1f0; border-color: #e6f1f0; color: var(--petrol); }
.site .btn--lg { min-height: 46px; padding: 12px 20px; font-size: 15px; }
.site .btn--sm { min-height: 36px; padding: 7px 14px; font-size: 14px; }
.site .btn--block { width: 100%; }
.site .btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

.site .more {
  display: inline-flex; align-items: center; gap: 2px;
  font: 600 16px/24px var(--f); color: var(--link); text-decoration: none;
}
.site .more .icon { transition: transform 0.15s ease; }
.site .more:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 3px; }
.site .more:hover .icon { transform: translateX(2px); }

.site .pill {
  align-self: flex-start; display: inline-block;
  font: 600 12px/16px var(--f); color: var(--text); background: var(--orange);
  padding: 3px 8px; border-radius: var(--r-pill); margin: 0 0 12px;
}
.site .pill--quiet { background: var(--bg-tint-2); color: var(--teal-ink); font-family: var(--font-mono); font-weight: 500; }

.site .chip { display: inline-block; font: 500 12.5px/1 var(--font-mono); color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 7px 11px; white-space: nowrap; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- header ---------- */
.sh { position: sticky; top: 0; z-index: 60; background: #fff; transition: box-shadow 0.2s ease; }
.sh.is-scrolled { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 14px rgba(0, 0, 0, 0.07); }
.sh__inner { display: flex; align-items: center; height: var(--header-h); }
.sh__brand {
  position: relative; display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0;
  padding: 0 20px 0 0; margin-right: 10px;
  font: 600 20px/1 var(--f-display); letter-spacing: -0.02em; color: var(--text); text-decoration: none;
}
.sh__brand:hover { color: var(--text); }
.sh__brand img { width: 26px; height: 26px; }
.sh__brand::after { content: ''; position: absolute; right: 0; top: 50%; width: 1px; height: 24px; margin-top: -12px; background: var(--border-strong); }
.sh__menu { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; }
.sh__nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.sh__nav a, .sh__link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px;
  font: 400 14px/20px var(--f); color: var(--text-strong); text-decoration: none; white-space: nowrap; cursor: pointer;
}
.sh__nav a:hover, .sh__link:hover { color: var(--text-strong); text-decoration: underline; text-underline-offset: 4px; }
.sh__nav a.is-current, .sh__link.is-current { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--teal-ink); text-underline-offset: 6px; }
.sh__aside { display: flex; align-items: center; gap: 2px; }
.sh__account { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 0 0 10px; font-size: 14px; color: var(--text-strong); text-decoration: none; white-space: nowrap; }
.sh__account:hover { color: var(--text-strong); }
.sh__account:hover > span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.sh__avatar { display: inline-grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: #f0f0f0; color: var(--text-strong); }
.sh__avatar--lg { width: 48px; height: 48px; background: var(--bg-tint-2); color: var(--teal-ink); }
.sh__toggle { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; border-radius: var(--r-btn); background: transparent; cursor: pointer; place-items: center; }
.sh__toggle:hover { background: #f2f2f2; }
.sh__toggle-bars, .sh__toggle-bars::before, .sh__toggle-bars::after { display: block; width: 18px; height: 1.5px; background: var(--text); position: relative; transition: transform 0.15s ease; }
.sh__toggle-bars::before, .sh__toggle-bars::after { content: ''; position: absolute; left: 0; }
.sh__toggle-bars::before { top: -6px; }
.sh__toggle-bars::after { top: 6px; }
.sh.is-open .sh__toggle-bars { background: transparent; }
.sh.is-open .sh__toggle-bars::before { top: 0; transform: rotate(45deg); }
.sh.is-open .sh__toggle-bars::after { top: 0; transform: rotate(-45deg); }

.langs { position: relative; }
.langs summary { list-style: none; }
.langs summary::-webkit-details-marker { display: none; }
.langs[open] summary { text-decoration: underline; text-underline-offset: 4px; }
.langs__list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; list-style: none; margin: 0; padding: 6px; min-width: 200px; background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow-menu); }
.langs__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 4px; color: var(--text-strong); text-decoration: none; font-size: 14px; }
.langs__list a:hover { background: #f5f5f5; color: var(--text-strong); }
.langs__list a[aria-current] { font-weight: 600; }
.langs__list a .icon { color: var(--teal-ink); }

/* ---------- promo strip ---------- */
.promo { background: var(--teal-ink); color: #fff; }
.site .promo__inner { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
.promo p { margin: 0; padding: 0 40px; font-size: 14px; line-height: 20px; text-align: center; }
.site .promo a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.site .promo a:hover { color: #fff; text-decoration-thickness: 2px; }
.promo__close { position: absolute; right: calc(var(--gutter) - 8px); top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.promo__close:hover { background: rgba(255, 255, 255, 0.16); }
.site .promo :focus-visible { outline-color: #fff; }

/* ---------- sections ---------- */
.sec { padding: var(--sec-y) 0; }
.sec--tint { background: var(--bg-tint); }
.sec--flush-top { padding-top: 0; }
.sec[id] { scroll-margin-top: calc(var(--header-h) + var(--subnav-h) + 8px); }
.sec > .wrap:not(.contact):not(.faq-layout) > * + * { margin-top: 32px; }
.sec > .wrap > .shead + * { margin-top: 24px; }
.sec > .wrap > .cards + .feature { margin-top: 48px; }
.sec > .wrap > .sub { margin-top: 56px; }
.sec > .wrap > .sub + * { margin-top: 20px; }
.sec > .wrap > .fig-note { margin-top: 12px; }

.shead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; }
.shead__text { max-width: 860px; }
.shead h2 { margin: 0; }
.shead__lead { margin: 12px 0 0; font-size: 17px; line-height: 26px; color: var(--text-2); }
.shead .more { margin-bottom: 2px; }
.sub { font-size: 22px !important; margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 72px; align-items: start; }
.split--center { align-items: center; }
.site .split__title { margin: 0 0 16px; }
.copy p { font-size: 17px; line-height: 28px; color: var(--text-2); max-width: 68ch; }
.copy p:last-child { margin-bottom: 0; }
.copy--cols { max-width: 900px; }

.fig { margin: 0; }
.fig figcaption, .fig-note { margin: 12px 0 0; font-size: 14px; line-height: 20px; color: var(--text-2); max-width: 90ch; }

/* ---------- media boxes (product imagery) ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--r-media); background: var(--bg-tint-2); }
.media--teal { background: #e8f0ee; }
.media--warm { background: #f0eee8; }
.media--mist { background: #eaf0f3; }
.media--petrol { background: #173b3d; }
.media--white { background: #fff; border: 1px solid var(--border); }
.media .ui { border-radius: 10px; border-color: rgba(15, 38, 41, 0.1); box-shadow: var(--shadow-float); }
.media--petrol .ui { border-color: rgba(255, 255, 255, 0.12); }

/* the mock-up starts inside the box and runs off its right and bottom edge */
.media--bleed { padding: 40px 0 0 40px; }
.media--bleed > * { width: calc(100% + 24px); min-width: 600px; }
.media--bleed > .ui { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.media--wide.media--bleed > * { min-width: 980px; }

/* the mock-up is centred with air around it */
.media--fit { display: flex; align-items: center; justify-content: center; padding: 40px; }
.media--fit > * { width: 100%; }
.media--fit .diagram-scroll { background: #fff; border: 0; border-radius: 12px; padding: 14px; box-shadow: var(--shadow-float); overflow: hidden; }
.media--fit .diagram { min-width: 0; }
.media--fit .code { box-shadow: var(--shadow-float); max-width: 560px; }
.media--fit .phones { max-width: 640px; }
.media--fit .stack { max-width: 620px; }

/* full-width figure: wide mock-ups scroll inside their own box on small screens */
.media--frame { padding: 32px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.media--frame > .ui { min-width: 760px; }
.media--diagram .diagram-scroll { background: #fff; border: 0; border-radius: 12px; overflow: visible; padding: 16px; box-shadow: var(--shadow-float); min-width: 852px; }
.media--diagram .diagram { min-width: 820px; }

/* ---------- home hero carousel ---------- */
.hc__band { background: var(--bg-tint); }
.hc__track { display: grid; }
.hc__slide { display: grid; grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); align-items: center; gap: 32px 56px; min-height: 520px; padding: 40px 0; }
.hc__text { max-width: 580px; }
.site .hc__title { font-size: clamp(34px, 3.3vw, 48px); line-height: 1.17; letter-spacing: -0.02em; margin: 0 0 16px; }
.hc__lead { margin: 0 0 28px; font-size: 18px; line-height: 28px; color: #3d3d3d; max-width: 52ch; }
.hc__media { height: 440px; }
.hc__media.media--fit { padding: 32px; }

/* without JavaScript all slides are listed one below the other */
.hc:not(.is-ready) .hc__slide + .hc__slide { border-top: 1px solid rgba(11, 108, 103, 0.16); }
.hc.is-ready .hc__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s; }
.hc.is-ready .hc__slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.45s var(--ease), visibility 0s; }

.site .hc__controls { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 16px; padding-bottom: 4px; }
.hc__btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--border-strong); border-radius: 50%; background: #fff; color: var(--text-strong); cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease; }
.hc__btn:hover { background: #f5f5f5; border-color: #adadad; }
.hc__btn svg.hc__i-play { display: none; }
.hc__btn--toggle.is-paused svg.hc__i-pause { display: none; }
.hc__btn--toggle.is-paused svg.hc__i-play { display: block; }
.hc__dots { display: flex; align-items: center; }
.hc__dot { display: grid; place-items: center; width: 22px; height: 40px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hc__dot span { position: relative; display: block; width: 8px; height: 8px; border-radius: 4px; background: #8a8a8a; overflow: hidden; transition: width 0.3s var(--ease), background-color 0.3s ease; }
.hc__dot:hover span { background: #4d4d4d; }
.hc__dot.is-active { width: 48px; }
.hc__dot.is-active span { width: 36px; background: #c9c9c9; }
.hc__dot.is-active span::after { content: ''; position: absolute; inset: 0; background: var(--text-strong); transform-origin: left center; }
.hc.is-cycling .hc__dot.is-active span::after { animation: hc-fill var(--hc-interval, 8s) linear forwards; animation-play-state: paused; }
.hc.is-cycling.is-playing .hc__dot.is-active span::after { animation-play-state: running; }
.hc.is-user-paused .hc__dot.is-active span::after { animation: none; transform: none; }
@keyframes hc-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- quick links ---------- */
.qlinks { padding: 28px 0 8px; }
.qlinks__list { list-style: none; margin-top: 0; margin-bottom: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 56px; }
.qlinks a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 8px; min-width: 104px; text-decoration: none; }
.qlinks a .icon { color: var(--text-strong); stroke-width: 1.25; }
.qlinks a span { font: 600 15px/20px var(--f); color: var(--link); text-decoration: underline; text-underline-offset: 4px; text-align: center; }
.qlinks a:hover span { color: var(--link-hover); text-decoration-thickness: 2px; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 24px; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-card); overflow: hidden; transition: box-shadow 0.2s var(--ease); }
.card:hover { box-shadow: var(--shadow-card-hover); }
.card__media { position: relative; display: flex; align-items: center; justify-content: center; height: 204px; margin: 8px 8px 0; padding: 20px; border-radius: var(--r-media); overflow: hidden; background: #f0f5f3; }
.card:nth-child(4n + 2) .card__media { background: #f3f2ee; }
.card:nth-child(4n + 3) .card__media { background: #edf1f3; }
.card:nth-child(4n + 4) .card__media { background: #f0f4f1; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 24px; }
.site .card__title { font-size: 20px; line-height: 26px; margin: 0 0 8px; }
.card__text { margin: 0 0 20px; font-size: 15px; line-height: 22px; color: var(--text-2); }
.card__foot { margin-top: auto; }

/* small product details inside card media */
.mini { width: 100%; max-width: 300px; padding: 8px 14px; background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(15, 38, 41, 0.06), 0 10px 24px rgba(15, 38, 41, 0.1); font-size: 13px; line-height: 18px; color: var(--text); }
.mini__row { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 7px 0; border-top: 1px solid #f0f1f1; }
.mini__row:first-child { border-top: 0; }
.mini__row--tight { padding: 5px 0; }
.mini__row strong { font-weight: 600; white-space: nowrap; }
.mini__avatar { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-ink); font: 600 11px/28px var(--f); text-align: center; }
.mini__main { display: grid; min-width: 0; }
.mini__main small { font-size: 12px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini__end { margin-left: auto; font-size: 12px; color: var(--text-2); white-space: nowrap; }
.mini__grow { flex: 1; min-width: 0; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini__state { display: inline-flex; align-items: center; font-size: 12px; white-space: nowrap; }
.mini--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 8px; }
.mini--grid .uv__lamp { background: #fff; }
.mini__stat { padding: 7px 0; }
.mini__stat-head { display: flex; justify-content: space-between; gap: 8px; }
.mini__bar { display: block; height: 6px; margin-top: 6px; border-radius: 3px; background: #edf0ef; overflow: hidden; }
.mini__bar span { display: block; height: 100%; border-radius: 3px; background: var(--teal); }
.mini--ladder { position: relative; padding: 8px 14px 10px; }
.mini--ladder::before, .mini--ladder::after { content: ''; position: absolute; top: 34px; bottom: 10px; width: 1px; background: #c9d1d0; }
.mini--ladder::before { left: 22%; }
.mini--ladder::after { right: 22%; }
.mini__lanes { display: flex; justify-content: space-between; padding: 0 4% 6px; margin-bottom: 2px; border-bottom: 1px solid #f0f1f1; font-size: 11px; color: var(--text-2); }
.mini__msg { position: relative; height: 26px; margin: 0 22%; }
.mini__msg > span { position: absolute; left: 0; right: 0; bottom: 5px; padding-bottom: 2px; border-bottom: 1.2px solid #3a4246; text-align: center; font-size: 11px; line-height: 14px; white-space: nowrap; }
.mini__msg > span::after { content: ''; position: absolute; bottom: -4.5px; border: 4px solid transparent; }
.mini__msg--in > span::after { right: -1px; border-left: 7px solid #3a4246; border-right: 0; }
.mini__msg--out > span::after { left: -1px; border-right: 7px solid #3a4246; border-left: 0; }
.mini__msg.is-selected > span { color: var(--teal-ink); font-weight: 600; border-bottom-color: var(--teal-ink); }
.mini__msg--in.is-selected > span::after { border-left-color: var(--teal-ink); }
.mini--code { max-width: 300px; padding: 14px 16px; background: var(--petrol); color: #d3dfdf; }
.mini--code pre { margin: 0; font: 12px/1.7 var(--font-mono); white-space: pre; overflow: hidden; }
.mini--code .c-d { color: #7e9899; }
.mini--code .c-k { color: #7fe0d8; }
.mini--wave { padding: 14px 16px 10px; }
.mini--wave svg { width: 100%; height: auto; }
.mini--wave .w-l { fill: var(--teal); }
.mini--wave .w-r { fill: var(--petrol-3); }
.mini__caption { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 11px; color: var(--text-2); }
.mini-icon { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mini-icon__glyph { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 20px; background: #fff; color: var(--teal-ink); box-shadow: 0 1px 3px rgba(15, 38, 41, 0.06), 0 10px 24px rgba(15, 38, 41, 0.1); }
.mini-icon__glyph .icon { stroke-width: 1.3; }
.mini-icon__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }

/* ---------- feature panel ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-card); overflow: hidden; }
.feature__text { display: flex; flex-direction: column; padding: 48px; }
.site .feature__title { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.25; margin: 0 0 16px; }
.feature__text p { font-size: 16px; line-height: 26px; color: var(--text-2); }
.feature__text .ticks { margin-top: 8px; }
.feature__foot { margin-top: auto; padding-top: 24px; }
.feature__media { margin: 8px; min-height: 440px; }
.feature--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature--reverse .feature__text { order: 2; }
.feature--stacked { grid-template-columns: minmax(0, 1fr); }
.feature--stacked .feature__text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 56px; padding: 40px 48px 32px; }
.feature--stacked .feature__title { margin: 0; }
.feature--stacked .feature__text p { margin: 0; }
.feature--stacked .feature__foot { padding-top: 20px; }
.feature--stacked .feature__media { height: 500px; min-height: 0; margin-top: 0; }

.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 8px 0 0; }
.specs > div { min-width: 0; padding: 10px 0; border-top: 1px solid var(--border); }
.specs dt { font-size: 13px; line-height: 18px; color: var(--text-2); }
.specs dd { margin: 2px 0 0; font-size: 15px; line-height: 22px; font-weight: 600; overflow-wrap: anywhere; }
.specs code { font-weight: 500; white-space: normal; }

/* ---------- dark banner (data sovereignty) ---------- */
.banner {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: center;
  padding: 56px; border-radius: var(--r-card); color: #c9d8d8;
  background: #143638;
}
.site .banner h2, .site .banner h3 { color: #fff; }
.banner__main p { margin: 0 0 28px; font-size: 17px; line-height: 27px; color: #c3d4d4; }
.banner__main p:last-child { margin-bottom: 0; }
.banner__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; }
.banner__facts li { display: flex; gap: 14px; }
.banner__facts .icon { flex-shrink: 0; margin-top: 3px; color: #7fe0d8; }
.site .banner__facts h3 { font-size: 17px; line-height: 24px; margin: 0 0 4px; }
.banner__facts p { margin: 0; font-size: 15px; line-height: 23px; color: #b3c6c7; }
.banner--stacked { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.banner--stacked .banner__main { max-width: 780px; }
.banner__facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.banner__table { padding: 8px 28px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--r-sheet); background: rgba(255, 255, 255, 0.04); }
.site .banner code { background: rgba(255, 255, 255, 0.1); color: #fff; }
.site .banner :focus-visible { outline-color: #fff; }

/* ---------- sheets, tiles, lists ---------- */
.sheet { background: #fff; border: 1px solid var(--border); border-radius: var(--r-sheet); padding: 28px 32px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); }
.sheet--flush { padding: 6px 28px; }
.site .sheet__title { font-size: 18px; margin: 0 0 12px; }
.sheet__note { margin: 16px 0 0; font-size: 14px; line-height: 20px; color: var(--text-2); }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { min-width: 0; padding: 24px; background: var(--bg-grey); border: 1px solid transparent; border-radius: var(--r-tile); }
.sec--tint .tile { background: #fff; border-color: var(--border); }
.tile--sm { padding: 18px 20px; }
.tile--lg { padding: 28px; }
.site .tile h4, .site .tile__title { font-size: 17px; line-height: 24px; margin: 0 0 6px; }
.tile p { margin: 0; font-size: 15px; line-height: 22px; color: var(--text-2); }
.tile .pill { margin-bottom: 14px; }
.tile--icon { display: flex; gap: 20px; }
.tile--icon .copy p { font-size: 16px; line-height: 26px; }
.tile__glyph { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--bg-tint-2); color: var(--teal-ink); }
.tile--note { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 15px; line-height: 22px; color: var(--text-2); }
.tile--note .icon { flex-shrink: 0; margin-top: 1px; color: var(--teal-ink); }
.tile--note strong { color: var(--text); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps__n { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 16px; border-radius: 50%; background: var(--teal-ink); color: #fff; font: 600 14px/1 var(--f); }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 11px 0 11px 34px; border-top: 1px solid var(--border); font-size: 16px; line-height: 24px; color: var(--text); }
.ticks li:first-child { border-top: 0; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230b6c67' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ticks--plain li { padding: 6px 0 6px 30px; border: 0; font-size: 15px; line-height: 22px; color: var(--text-2); }
.ticks--plain li::before { top: 7px; }

.states { list-style: none; margin: 0; padding: 6px 28px; }
.states li { display: grid; grid-template-columns: 14px minmax(120px, 170px) minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--border); }
.states li:first-child { border-top: 0; }
.states strong { font-weight: 600; }
.states span { color: var(--text-2); font-size: 15px; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.checklist li { display: flex; gap: 16px; }
.checklist__box { display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; margin-top: 1px; border-radius: 6px; background: var(--teal-ink); color: #fff; }
.checklist__box .icon { stroke-width: 2.4; }
.site .checklist h3 { font-size: 17px; line-height: 24px; margin: 0 0 4px; }

.note { max-width: 900px; padding: 14px 18px; border-radius: 12px; background: var(--orange-soft); color: #5b3a0e; font-size: 15px; line-height: 22px; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.spec caption { text-align: left; padding: 16px 0 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 13px 20px 13px 0; border-top: 1px solid var(--border); overflow-wrap: anywhere; }
.spec th:last-child, .spec td:last-child { padding-right: 0; }
.spec tbody tr:first-child th, .spec tbody tr:first-child td { border-top: 0; }
.spec thead + tbody tr:first-child th, .spec thead + tbody tr:first-child td { border-top: 1px solid var(--border); }
.spec thead th { border-top: 0; padding-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.spec tbody th { width: 32%; font-weight: 600; color: var(--text); }
.spec td { color: var(--text-2); }
.spec--dark thead th { color: #8fa9aa; }
.spec--dark th, .spec--dark td { border-color: rgba(255, 255, 255, 0.12) !important; }
.spec--dark tbody th { color: #fff; width: 30%; }
.spec--dark td { color: #c9d7d7; }

.code { background: var(--petrol); color: #d3dfdf; border-radius: var(--r-sheet); overflow: hidden; }
.code__label { margin: 0; padding: 16px 22px 0; font: 500 12px/1.4 var(--font-mono); color: #7e9899; }
.code pre { margin: 0; padding: 12px 22px 20px; font: 13px/1.7 var(--font-mono); overflow-x: auto; }
.site .code code { background: none; padding: 0; color: inherit; white-space: pre; font-size: inherit; }
.code .c-k { color: #7fe0d8; }

/* ---------- product page hero and in-page navigation ---------- */
.ph { background: var(--bg-tint); }
/* .ph__grid, .hc__controls and .promo__inner are also .wrap, so they need `.site` to keep their vertical padding */
.site .ph__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 40px 64px; min-height: 520px; padding-top: 48px; padding-bottom: 48px; }
.ph__text { max-width: 620px; }
.ph__lead { margin: 0 0 28px; font-size: 18px; line-height: 28px; color: #3d3d3d; max-width: 60ch; }
.ph__media { height: 440px; }
.site .ph--plain .ph__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 64px; padding-bottom: 56px; }
.ph--plain .ph__text { max-width: 880px; }
.ph--plain .ph__lead { margin-bottom: 0; }
.site .ph--compact .ph__grid { padding-top: 56px; padding-bottom: 40px; }

.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--border); }
.subnav__inner { display: flex; align-items: center; gap: 24px; height: var(--subnav-h); }
.subnav__list { list-style: none; margin: 0; padding: 0; display: flex; align-self: stretch; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list li { display: flex; }
.subnav__list a { display: flex; align-items: center; padding: 0 12px; font-size: 14px; color: var(--text-strong); text-decoration: none; white-space: nowrap; box-shadow: inset 0 -3px 0 transparent; transition: box-shadow 0.15s ease; }
.subnav__list li:first-child a { padding-left: 0; }
.subnav__list a:hover { color: var(--text-strong); text-decoration: underline; text-underline-offset: 4px; }
.subnav__list a.is-active { color: var(--text); box-shadow: inset 0 -3px 0 var(--teal-ink); }
.subnav__list a:focus-visible { outline-offset: -3px; }
.subnav__cta { flex-shrink: 0; }

/* ---------- closing call to action ---------- */
.sec--cta { background: var(--bg-warm); }
.cta { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px; }
.cta__main, .cta__side { background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.cta__main { padding: 48px; }
.cta__main h2 { max-width: 24ch; }
.cta__main p { margin: 0 0 28px; max-width: 62ch; font-size: 17px; line-height: 27px; color: var(--text-2); }
.cta__side { display: flex; flex-direction: column; align-items: flex-start; padding: 40px; }
.site .cta__side h3 { margin: 16px 0 8px; }
.cta__side p { color: var(--text-2); font-size: 15px; line-height: 23px; }
.cta__side .more { margin-top: auto; }

/* ---------- pricing ---------- */
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sec > .wrap > .notes + * { margin-top: 64px; }
.sec > .wrap > .price-group + .price-group { margin-top: 72px; }
.price-group { scroll-margin-top: calc(var(--header-h) + 16px); }
.price-group > .shead + .cards { margin-top: 24px; }
.pcard .card__body { padding: 28px; }
.pcard__module { margin: 0 0 8px; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--teal-ink); }
.pcard__meta { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pcard__meta li { padding: 3px 8px; border-radius: 4px; background: #f3f3f3; font-size: 12.5px; line-height: 18px; color: var(--text-2); }
.pcard__meta li.mono { font-size: 11.5px; }
.pcard__price { margin: auto 0 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.pcard__amount { display: block; font: 600 32px/40px var(--f-display); letter-spacing: -0.02em; color: var(--text); }
.pcard__unit { display: block; margin-top: 2px; font-size: 14px; line-height: 20px; color: var(--text-2); }
.pcard .card__foot { margin-top: 0; }

.order-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; padding: 40px 48px; border-radius: var(--r-card); background: var(--bg-tint); }
.sec > .wrap > .order-box { margin-top: 72px; }
.order-box h2 { margin-bottom: 8px; }
.order-box p { margin: 0; max-width: 64ch; color: var(--text-2); }

.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; align-items: start; }
.faq { padding: 4px 32px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.faq details + details { border-top: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; list-style: none; cursor: pointer; font: 600 18px/26px var(--f); color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover span { text-decoration: underline; text-underline-offset: 4px; }
.faq summary .icon { flex-shrink: 0; color: var(--text-2); transition: transform 0.2s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq summary:focus-visible { outline-offset: 4px; border-radius: 4px; }
.faq__a p { margin: 0; padding: 0 40px 22px 0; max-width: 72ch; color: var(--text-2); font-size: 16px; line-height: 26px; }

/* ---------- contact ---------- */
.site--contact .ph .ph__grid { padding-bottom: 120px; }
.sec--contact { display: flow-root; padding-top: 0; }
.contact { position: relative; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px; align-items: start; }
.site .wrap.contact { margin-top: -72px; }
.contact__main { padding: 48px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.contact-form { gap: 20px; }
.site .field > label, .site .label { font-size: 14px; color: var(--text); }
.site .input, .site .select, .site .textarea { min-height: 44px; padding: 10px 12px; font-size: 16px; border-color: var(--border-strong); border-radius: 6px; }
.site .input:focus, .site .select:focus, .site .textarea:focus { border-color: var(--teal-ink); box-shadow: 0 0 0 1px var(--teal-ink); }
.contact-form .textarea { min-height: 180px; }
.contact-form .check { font-size: 15px; line-height: 22px; color: var(--text-2); }
.site .flash, .site .notice { border-radius: 8px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact__side { display: grid; gap: 16px; }
.side-card { padding: 28px; background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-card); }
.site .side-card h2 { font-size: 20px; line-height: 26px; margin: 0 0 16px; }
.side-card p { color: var(--text-2); font-size: 15px; line-height: 23px; }
.side-card--tint { background: var(--bg-tint); border-color: transparent; box-shadow: none; }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-lines li { display: flex; gap: 12px; font-size: 15px; line-height: 22px; }
.contact-lines .icon { flex-shrink: 0; margin-top: 2px; color: var(--teal-ink); }
.contact-lines li > span { display: grid; min-width: 0; overflow-wrap: anywhere; }
.contact-lines .muted { font-size: 13px; line-height: 18px; }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mini-steps li { display: flex; gap: 12px; font-size: 15px; line-height: 22px; color: var(--text-2); }
.mini-steps__n { display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--bg-tint-2); color: var(--teal-ink); font-size: 13px; font-weight: 600; }
.sent { display: flex; gap: 20px; align-items: flex-start; }
.sent__icon { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.sent p { color: var(--text-2); }

/* ---------- legal ---------- */
.sec--legal { padding-top: 48px; }
.legal__body { max-width: 76ch; }
.site .legal__body h2 { font-size: 22px; margin: 40px 0 10px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: var(--text-2); }
.legal__body .notice { margin-bottom: 8px; font-size: 15px; }
.legal__kv { margin: 16px 0 0; }
.site address { font-style: normal; }

/* ---------- footer ---------- */
.sf { background: var(--bg-footer); color: var(--text-2); padding: 48px 0 28px; font-size: 13px; line-height: 20px; }
.sf__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.5fr); gap: 32px; }
.site .sf h2 { font: 600 15px/20px var(--f); color: var(--text-strong); margin: 0 0 12px; letter-spacing: 0; }
.sf ul { list-style: none; margin: 0; padding: 0; }
.sf__col li { margin: 0 0 10px; }
.site .sf a { color: var(--text-2); text-decoration: none; }
.site .sf a:hover { color: var(--text-strong); text-decoration: underline; }
.sf address { line-height: 22px; }
.sf__statement { display: flex; gap: 12px; align-items: flex-start; }
.sf__statement img { flex-shrink: 0; margin-top: 2px; }
.sf__statement p { margin: 0; font-size: 14px; line-height: 21px; color: var(--text-strong); max-width: 42ch; }
.sf__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: 40px; }
.sf__lang { display: flex; align-items: center; gap: 10px; color: var(--text-strong); }
.sf__langs { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.site .sf__langs a[aria-current] { color: var(--text-strong); font-weight: 600; }
.sf__legal { display: flex; flex-wrap: wrap; gap: 4px 24px; }

/* ---------- product mock-ups (HTML/SVG, demo data) ---------- */
.ui { background: #fff; border: 1px solid #cdd4d3; border-radius: 6px; overflow: hidden; font-family: var(--font-body); font-size: 13px; line-height: 1.4; color: var(--ink); text-align: left; }
.ui .mono { font-size: 0.95em; }
.ui h4 { font: 600 11px/1.3 var(--font-body); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); margin: 0 0 10px; }
.ui h4 small { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; margin-left: 6px; }
.ui__bar { display: flex; align-items: center; gap: 14px; height: 34px; padding: 0 12px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.ui__dots { display: flex; gap: 6px; }
.ui__dots i { width: 9px; height: 9px; border-radius: 50%; background: #d3d9d8; }
.ui__url { font: 11.5px/1 var(--font-mono); color: var(--ink-3); background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 5px 10px; flex: 0 1 380px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ua__btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border: 1px solid #cdd4d3; border-radius: 4px; background: #fff; font-weight: 600; font-size: 12.5px; white-space: nowrap; color: var(--ink); }
.ua__btn--ok { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; background: #a9b2b4; vertical-align: 0; flex-shrink: 0; }
.dot--available { background: #2f8f55; }
.dot--busy { background: var(--red); }
.dot--away { background: #d49a2a; }
.dot--wrapup { background: var(--violet); }
.dot--offline { background: #b0b8ba; }

/* agent workplace */
.ua { display: grid; grid-template-columns: 188px minmax(0, 1fr); min-height: 410px; }
.ua__side { background: var(--petrol); color: #c4d2d2; padding: 14px 12px; }
.ua__brand { display: flex; align-items: center; gap: 7px; font: 600 13px/1 var(--font-body); color: #fff; margin-bottom: 20px; }
.ua__me { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.ua__me strong { display: block; color: #fff; font-size: 13px; }
.ua__me small { display: block; color: #86a0a1; font-size: 11.5px; }
.ua__avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--petrol-3); color: #fff; display: grid; place-items: center; font: 600 11px/1 var(--font-body); }
.ua__status small { display: block; color: #86a0a1; font-size: 11px; margin-bottom: 4px; }
.ua__select { display: flex; align-items: center; border: 1px solid var(--petrol-3); border-radius: 4px; padding: 6px 8px; color: #fff; }
.ua__select .icon { margin-left: auto; color: #86a0a1; }
.ua__nav { list-style: none; margin: 18px 0 0; padding: 0; }
.ua__nav li { display: flex; align-items: center; padding: 7px 8px; border-radius: 4px; margin-bottom: 1px; }
.ua__nav li.is-active { background: var(--petrol-2); color: #fff; }
.ua__nav b { margin-left: auto; background: var(--orange); color: var(--ink); border-radius: 8px; font: 600 10px/16px var(--font-mono); padding: 0 5px; }
.ua__main { background: #f6f7f6; padding: 14px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 12px; }
.ua__offer { background: #fff; border: 1px solid var(--teal); border-radius: 5px; overflow: hidden; }
.ua__offer-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--teal-soft); color: var(--teal-ink); border-bottom: 1px solid #bfe3df; }
.ua__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(18, 161, 154, 0.22); }
.ua__timer { margin-left: auto; }
.ua__offer-body { padding: 12px; }
.ua__number { display: block; font: 500 17px/1.3 var(--font-mono); }
.ua__name { display: block; font-weight: 600; margin-top: 2px; }
.ua__name small { font-weight: 500; color: var(--ink-3); font-size: 10.5px; border: 1px solid var(--line); border-radius: 3px; padding: 0 4px; margin-left: 6px; }
.ua__kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 12px 0 14px; }
.ua__kv dt { color: var(--ink-3); font-size: 11.5px; }
.ua__kv dd { margin: 0; font-weight: 500; }
.ua__actions { display: flex; gap: 8px; }
.ua__panel { background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 11px 12px; }
.ua__queues table { width: 100%; border-collapse: collapse; }
.ua__queues th { font-size: 11px; font-weight: 500; color: var(--ink-3); text-align: right; padding: 0 0 6px 8px; }
.ua__queues td { padding: 6px 0 6px 8px; border-top: 1px solid var(--line-2); text-align: right; }
.ua__queues th:first-child, .ua__queues td:first-child { text-align: left; padding-left: 0; }
.ua__queues tr.is-hot td:nth-child(2) { color: var(--red); font-weight: 600; }
.ua__team { grid-column: 2; grid-row: 1 / span 2; }
.ua__team ul { list-style: none; margin: 0; padding: 0; }
.ua__team li { display: grid; grid-template-columns: minmax(0, 1fr) auto 46px; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-2); }
.ua__team li.is-me { background: var(--teal-soft); margin: 0 -12px; padding: 8px 12px; border-top-color: transparent; }
.ua__agent small { color: var(--ink-3); margin-left: 4px; }
.ua__state { white-space: nowrap; }
.ua__time { text-align: right; color: var(--ink-2); }

/* flow editor */
.uf__toolbar { display: flex; align-items: center; gap: 14px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.uf__saved { margin-left: auto; color: var(--ink-3); font-size: 11.5px; }
.uf { display: grid; grid-template-columns: 168px minmax(0, 1fr) 236px; min-height: 430px; }
.uf__palette { border-right: 1px solid var(--line); padding: 12px; background: #fafbfa; }
.uf__palette ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.uf__palette li { padding: 5px 8px; border: 1px solid var(--line); border-left: 3px solid #b9c1c0; border-radius: 3px; background: #fff; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uf__canvas { display: flex; align-items: center; justify-content: center; padding: 6px; overflow-x: auto; }
.uf__canvas svg { width: 100%; height: auto; max-width: 640px; min-width: 520px; }
.uf__node rect:first-child { fill: #fff; stroke: #aeb7b6; stroke-width: 1; }
.uf__node-tab { fill: var(--ink-3); }
.uf__node--start .uf__node-tab, .uf__node--queue .uf__node-tab, .uf__node--skill .uf__node-tab, .uf__node--numbers .uf__node-tab { fill: var(--teal); }
.uf__node--weekday .uf__node-tab, .uf__node--time .uf__node-tab, .uf__node--menu .uf__node-tab { fill: var(--orange); }
.uf__node--announce .uf__node-tab { fill: var(--violet); }
.uf__node.is-selected rect:first-child { stroke: var(--teal-ink); stroke-width: 2; fill: #f1faf9; }
.uf__node-type { font: 500 9px var(--font-mono); fill: var(--ink-3); letter-spacing: 0.04em; }
.uf__node-label { font: 600 12.5px var(--font-body); fill: var(--ink); }
.uf__edge text { font: 500 10px var(--font-mono); fill: var(--ink-3); }
.uf__props { border-left: 1px solid var(--line); padding: 12px; background: #fafbfa; }
.uf__field { margin-bottom: 10px; min-width: 0; }
.uf__field small { display: block; font-size: 11px; color: var(--ink-3); margin-bottom: 3px; }
.uf__input, .uf__textarea { display: block; border: 1px solid #cdd4d3; border-radius: 4px; background: #fff; padding: 6px 8px; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uf__textarea { white-space: normal; min-height: 92px; line-height: 1.45; }
.uf__note { font-size: 11.5px; color: var(--teal-ink); margin: 8px 0 0; }

/* architecture diagram */
.diagram-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 16px; -webkit-overflow-scrolling: touch; }
.diagram { width: 100%; height: auto; min-width: 820px; }
.dg-zone { fill: var(--paper-2); stroke: var(--line); }
.dg-zone--app { fill: #fff; stroke: #b9c1c0; }
.dg-zone-label { font: 500 11px var(--font-mono); fill: var(--ink-3); letter-spacing: 0.06em; }
.dg-box { fill: #fff; stroke: #aeb7b6; }
.dg-box--key { stroke: var(--ink-3); }
.dg-h { font: 600 14px var(--font-body); fill: var(--ink); }
.dg-h--sm { font-size: 13px; }
.dg-s { font: 400 11.5px var(--font-body); fill: var(--ink-2); }
.dg-m { font: 400 11px var(--font-mono); fill: var(--ink-2); }
.dg-teal { fill: var(--teal-ink); font-weight: 500; }
.dg-muted { fill: #98a2a5; }
.dg-line { stroke: var(--ink-2); stroke-width: 1.2; fill: none; }
.dg-line--strong { stroke: var(--teal-ink); stroke-width: 1.6; }
.dg-boundary { fill: none; stroke: var(--teal-ink); stroke-width: 1.5; stroke-dasharray: 7 5; }
.dg-boundary-label { font: 600 12px var(--font-mono); fill: var(--teal-ink); letter-spacing: 0.08em; }
.dg-fw { stroke: var(--orange); stroke-width: 2; stroke-dasharray: 2 3; }
.dg-accent-teal { fill: var(--teal); }
.dg-accent-violet { fill: var(--violet); }
.dg-accent-orange { fill: var(--orange); }
.dg-note { font-style: italic; fill: var(--ink-3); }

/* SIP trace */
.ut__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.ut__tenant { color: var(--ink-3); margin-left: 8px; font-size: 11.5px; }
.ut__live { font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.ut__tools { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ut__filter { border: 1px solid #cdd4d3; border-radius: 4px; padding: 4px 8px; font-size: 11.5px; white-space: nowrap; }
.ut__filter small { font-family: var(--font-body); color: var(--ink-3); margin-right: 3px; }
.ut__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
.ut__ladder { border-right: 1px solid var(--line); padding: 10px 12px 14px; }
.ut__lanes { display: grid; grid-template-columns: 86px 1fr 1fr; font-size: 10.5px; text-align: center; padding-bottom: 8px; }
.ut__lanes small { display: block; font-family: var(--font-body); font-size: 11px; color: var(--ink-3); }
.ut__ladder ol { list-style: none; margin: 0; padding: 0; }
.ut__row { display: grid; grid-template-columns: 86px 1fr; align-items: center; border-radius: 3px; }
.ut__ts { font-size: 10.5px; color: var(--ink-3); padding-left: 4px; }
.ut__arrow { position: relative; height: 32px; }
.ut__arrow::before, .ut__arrow::after { content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: #c6cecd; }
.ut__arrow::before { left: 25%; }
.ut__arrow::after { left: 75%; }
.ut__arrow > span { position: absolute; left: 25%; right: 25%; bottom: 9px; border-bottom: 1.2px solid var(--ink-2); text-align: center; font-size: 11px; line-height: 1.2; padding-bottom: 2px; white-space: nowrap; }
.ut__arrow > span::after { content: ''; position: absolute; bottom: -4.5px; border: 4px solid transparent; }
.ut__row--in .ut__arrow > span::after { right: -1px; border-left: 7px solid var(--ink-2); border-right: 0; }
.ut__row--out .ut__arrow > span::after { left: -1px; border-right: 7px solid var(--ink-2); border-left: 0; }
.ut__arrow em { font-style: normal; font-size: 9px; color: var(--violet-ink); border: 1px solid #d6c6e0; border-radius: 3px; padding: 0 3px; margin-left: 3px; }
.ut__row.is-selected { background: var(--teal-soft); }
.ut__row.is-selected .ut__arrow > span { color: var(--teal-ink); font-weight: 500; border-bottom-color: var(--teal-ink); }
.ut__row--in.is-selected .ut__arrow > span::after { border-left-color: var(--teal-ink); }
.ut__raw { margin: 0; padding: 12px 14px; font: 11.5px/1.65 var(--font-mono); background: #fbfbfa; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.ut__k { color: var(--violet-ink); }
.ut__raw mark { background: var(--orange-soft); color: var(--ink); padding: 0 2px; }
.ut__mask { color: var(--ink-3); }
.ut__c { color: #2f7a4f; }

/* attendant console */
.uv__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.uv__modes { display: inline-flex; border: 1px solid #cdd4d3; border-radius: 4px; overflow: hidden; }
.uv__modes span { padding: 4px 11px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.uv__modes span + span { border-left: 1px solid #cdd4d3; }
.uv__modes .is-on { background: var(--petrol); color: #fff; }
.uv__search { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #cdd4d3; border-radius: 4px; padding: 4px 10px; color: var(--ink-3); min-width: 190px; }
.uv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.25fr); min-height: 320px; }
.uv > section { padding: 12px; }
.uv > section + section { border-left: 1px solid var(--line); }
.uv__queue ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.uv__queue li { display: grid; grid-template-columns: 62px minmax(0, 1fr) 40px; grid-template-areas: 'field num time' 'field who time'; column-gap: 8px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 4px; }
.uv__field { grid-area: field; align-self: center; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-3); }
.uv__num { grid-area: num; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uv__who { grid-area: who; color: var(--ink-2); font-size: 12px; }
.uv__time { grid-area: time; align-self: center; text-align: right; }
.uv__queue li.is-vip { border-color: #f0c48f; background: var(--orange-soft); }
.uv__queue li.is-vip .uv__field { color: var(--orange-ink); }
.uv__queue li.is-recall { border-left: 3px solid var(--violet); }
.uv__party { display: grid; gap: 2px; border: 1px solid var(--teal); border-radius: 5px; padding: 10px; }
.uv__party strong { font-size: 15px; }
.uv__tag { justify-self: start; font: 600 10px/1.5 var(--font-mono); background: var(--orange-ink); color: #fff; padding: 0 5px; border-radius: 3px; }
.uv__target { margin: 12px 0; }
.uv__target small { display: block; color: var(--ink-3); font-size: 11px; }
.uv__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.uv__overflow { font-size: 11.5px; color: var(--ink-3); margin: 14px 0 0; padding-top: 8px; border-top: 1px dashed var(--line); }
.uv__blf ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.uv__lamp { position: relative; border: 1px solid var(--line); border-radius: 4px; padding: 6px 8px 6px 12px; overflow: hidden; min-width: 0; }
.uv__lamp::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #2f8f55; }
.uv__lamp--busy::before { background: var(--red); }
.uv__lamp--ringing::before { background: var(--orange); }
.uv__lamp-name { display: block; font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uv__lamp-ext { display: block; font-size: 10.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uv__teams { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--ink-2); margin-top: 2px; white-space: nowrap; overflow: hidden; }
.tp { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: #2f8f55; }
.tp--in_call, .tp--meeting { background: var(--red); }
.tp--away { background: #d49a2a; }
.tp--dnd { background: #fff; box-shadow: inset 0 0 0 2px var(--red); }

/* supervisor, reports, live calls, log, forms */
.us { padding: 12px 14px; }
.us__table { width: 100%; border-collapse: collapse; }
.us__table th { text-align: left; font-size: 11px; font-weight: 500; color: var(--ink-3); padding: 0 8px 6px 0; }
.us__table td { padding: 7px 8px 7px 0; border-top: 1px solid var(--line-2); white-space: nowrap; }
.us__broadcast { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.us__broadcast small { display: block; color: var(--ink-3); font-size: 11px; margin-bottom: 4px; }
.us__broadcast .uf__textarea { min-height: 0; }
.us__send { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; font-size: 11.5px; }

.ur__filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.ur__chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #cdd4d3; border-radius: 4px; padding: 3px 8px; font-size: 12px; white-space: nowrap; }
.ur__chip small { color: var(--ink-3); }
.ur__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.ur__stats > div { padding: 10px 12px; }
.ur__stats > div + div { border-left: 1px solid var(--line-2); }
.ur__stats small { display: block; color: var(--ink-3); font-size: 11px; }
.ur__stats span { font: 500 20px/1.3 var(--font-mono); }
.ur__stats em { font-style: normal; color: var(--ink-3); font-size: 11.5px; margin-left: 6px; }
.ur__table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.ur__table th { text-align: left; font-weight: 500; font-size: 11px; color: var(--ink-3); padding: 8px 12px; background: #fafbfa; border-bottom: 1px solid var(--line); }
.ur__table td { padding: 7px 12px; border-bottom: 1px solid var(--line-2); }
.ur__table tr:last-child td { border-bottom: 0; }
.ur__dev { color: var(--ink-2); font-size: 11.5px; }
.ur__tabs { display: flex; align-items: center; gap: 2px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.ur__tabs > span { padding: 9px 10px; font-weight: 600; font-size: 12.5px; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.ur__tabs .is-active { color: var(--ink); border-bottom-color: var(--ink); }
.ur__tabs b { font-size: 10.5px; font-weight: 500; background: var(--paper-3); border-radius: 8px; padding: 1px 6px; margin-left: 4px; }
.ur__tabs .ur__tabs-right { margin-left: auto; font-weight: 400; font-size: 11px; }

.ul__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.ul__ok { font-size: 12px; color: #2f7a4f; white-space: nowrap; }
.ul__log { margin: 0; padding: 14px; background: var(--petrol); color: #c4d2d2; font: 11.5px/1.8 var(--font-mono); overflow-x: auto; white-space: pre; }
.ul__t { color: #7e9899; }
.ul__g { color: #7fe0d8; }
.ul__c { color: #f6b46d; }

.um { padding: 14px; }
.um__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.um__progress { height: 5px; background: var(--paper-3); border-radius: 3px; overflow: hidden; margin: 12px 0 6px; }
.um__progress span { display: block; height: 100%; width: 38%; background: var(--teal); }
.um__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; font-size: 11.5px; }
.um__legal { border: 1px solid #ecd8a9; background: var(--amber-soft); border-radius: 4px; padding: 10px 12px; color: #6b4709; margin-top: 2px; }
.um__legal strong { font-size: 12.5px; }
.um__legal p { margin: 3px 0 8px; font-size: 12px; }
.um__check { display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 600; }
.um__check i { position: relative; width: 14px; height: 14px; border-radius: 3px; background: var(--teal-ink); flex-shrink: 0; }
.um__check i::after { content: ''; position: absolute; left: 4.5px; top: 1.5px; width: 3.5px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.media .ui--form { max-width: 560px; }

/* phone display & blocklist */
.phones { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; align-items: start; }
.phone { background: #262b2d; border-radius: 14px; padding: 14px; box-shadow: var(--shadow-float); }
.phone__screen { background: #edf1f0; border-radius: 4px; overflow: hidden; font-size: 13px; }
.phone__top { display: flex; justify-content: space-between; gap: 8px; padding: 5px 10px; background: #d5dddc; font-size: 11.5px; }
.phone__call { display: grid; gap: 2px; padding: 18px 14px; }
.phone__call small { color: var(--ink-3); font-size: 11.5px; }
.phone__call strong { font: 600 17px/1.25 var(--font-body); }
.phone__call em { font-style: normal; color: var(--teal-ink); font-size: 11.5px; margin-top: 6px; }
.phone__keys { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #c9d1d0; }
.phone__keys span { text-align: center; padding: 6px 4px; font-size: 11.5px; font-weight: 600; }
.phone__keys span + span { border-left: 1px solid #c9d1d0; }
.ub__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 11.5px; }
.ub__head strong { font-size: 13px; }
.ui--blacklist ul { list-style: none; margin: 0; padding: 0; }
.ui--blacklist li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 32px; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--line-2); }
.ui--blacklist li:first-child { border-top: 0; }
.ub__hits { text-align: right; color: var(--red); }

/* appliance stack */
.stack { display: grid; gap: 6px; }
.stack__layer { display: grid; grid-template-columns: 116px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(15, 38, 41, 0.05); }
.stack__name { display: flex; align-items: center; padding: 10px 12px; border-right: 1px solid var(--line); background: var(--paper-2); font: 500 12px/1.3 var(--font-mono); color: var(--ink-2); }
.stack__layer ul { list-style: none; margin: 0; padding: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.stack__layer li { border: 1px solid var(--line); border-radius: 4px; padding: 4px 9px; font-size: 14px; background: #fff; }
.stack__layer--apps { border-color: #9fd6d1; }
.stack__layer--apps .stack__name { background: var(--teal-soft); color: var(--teal-ink); border-right-color: #9fd6d1; }
.stack__layer--apps li { border-color: #bfe3df; }
.stack__layer--k3s .stack__name { color: var(--violet-ink); background: var(--violet-soft); }
.stack__layer--host { background: var(--paper-3); }
.stack__layer--host li { background: transparent; }

/* ---------- download page (/:lang/download) ---------- */
.dlp-hero__note { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; font-size: 14px; line-height: 20px; color: var(--text-2); }
.dlp-hero__note .icon { flex-shrink: 0; color: var(--teal-ink); }
.dlp-card { max-width: 460px; padding: 28px 28px 22px; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-float); }
.dlp-card__head { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.dlp-card__head .pill { margin: 0; align-self: center; }
.dlp-card__product { margin: 0; font-size: 14px; line-height: 20px; color: var(--text-2); }
.dlp-card__version { margin: 2px 0 0; font-size: 30px; line-height: 36px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.dlp-card__spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; }
.dlp-card__spec > div { min-width: 0; padding: 12px 0; border-bottom: 1px solid var(--border); }
.dlp-card__spec dt { font-size: 13px; line-height: 18px; color: var(--text-2); }
.dlp-card__spec dd { margin: 2px 0 0; font-size: 15px; line-height: 22px; font-weight: 600; overflow-wrap: anywhere; }
.dlp-card__foot { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 13.5px; line-height: 20px; color: var(--text-2); }
.dlp-card__foot .icon { flex-shrink: 0; color: var(--teal-ink); }
.dlp-summary { margin-bottom: 16px; }
.dlp-summary p { color: var(--text); }
.dlp-files th .dlp-files__name { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--text-2); overflow-wrap: anywhere; }
.dlp-files tbody th { width: auto; }
.dlp-files td { width: 1%; white-space: nowrap; text-align: right; }
.dlp-files thead th:last-child { text-align: right; }
.order-box p.dlp-get__more { margin-top: 12px; }
@media (max-width: 1023px) {
  .dlp-hero .ph__media { height: auto; }
}
/* requirements: rendered from the release notes (lists, paragraphs, inline code, rarely a code block) */
.dlp-req > p { margin: 14px 0; font-size: 16px; line-height: 24px; color: var(--text-2); }
.dlp-req > ul, .dlp-req > ol { margin: 0; padding: 0; list-style: none; counter-reset: dlp-req; }
.dlp-req > ul > li, .dlp-req > ol > li { position: relative; padding: 13px 0 13px 30px; border-bottom: 1px solid var(--border); font-size: 16px; line-height: 24px; color: var(--text); }
.dlp-req > ul > li:last-child, .dlp-req > ol > li:last-child { border-bottom: 0; }
.dlp-req > ul > li::before { content: ""; position: absolute; left: 0; top: 17px; width: 16px; height: 16px; box-sizing: border-box; border: 1.5px solid var(--teal-ink); border-radius: 4px; }
.dlp-req > ol > li { counter-increment: dlp-req; }
.dlp-req > ol > li::before { content: counter(dlp-req); position: absolute; left: 0; top: 13px; font: 600 13px/24px var(--font-mono); color: var(--teal-ink); }
.dlp-req li p { margin: 0 0 8px; }
.dlp-req li p:last-child { margin-bottom: 0; }
.dlp-req h4, .dlp-req h5, .dlp-req h6 { margin: 18px 0 6px; font-size: 16px; line-height: 24px; }
.dlp-req pre { margin: 8px 0 0; padding: 12px 16px; background: var(--petrol); color: #d3dfdf; border-radius: var(--r-sheet); font: 13px/1.7 var(--font-mono); overflow-x: auto; }
.dlp-req pre code { padding: 0; background: none; color: inherit; font-size: inherit; white-space: pre; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .sh__nav a, .sh__link { padding: 0 8px; }
  .sh__brand { padding-right: 16px; margin-right: 6px; }
  .sf__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sf__statement { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid #dedede; }
}

/* Nine navigation items (Download added 2026-10): tighter spacing until the menu button takes over,
   so the longest language (es) still fits in one row. */
@media (min-width: 1181px) and (max-width: 1365px) {
  .sh__nav a, .sh__link { padding: 0 6px; font-size: 13.5px; }
  .sh__brand { padding-right: 12px; margin-right: 4px; }
  .sh__menu { gap: 8px; }
  .sh__account { gap: 8px; padding-left: 6px; font-size: 13.5px; }
}
@media (min-width: 1181px) and (max-width: 1260px) {
  .sh__nav a, .sh__link, .sh__account { font-size: 13px; }
  .sh__nav a, .sh__link { padding: 0 5px; }
}

@media (max-width: 1180px) {
  .sh__toggle { display: grid; }
  .sh__brand::after { display: none; }
  .sh__menu { display: none; }
  .sh.is-open .sh__menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 8px;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: 4px var(--gutter) 24px; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  }
  .sh.is-open .sh__nav ul { flex-direction: column; }
  .sh.is-open .sh__nav a { display: flex; height: 52px; padding: 0; font-size: 17px; border-bottom: 1px solid var(--border); }
  .sh.is-open .sh__aside { flex-direction: column; align-items: stretch; gap: 0; }
  .sh.is-open .sh__aside > .sh__link, .sh.is-open .langs summary { display: flex; height: 52px; padding: 0; font-size: 16px; border-bottom: 1px solid var(--border); }
  .sh.is-open .langs__list { position: static; box-shadow: none; border: 0; padding: 0 0 8px 26px; min-width: 0; }
  .sh.is-open .sh__account { height: 60px; padding: 0; font-size: 16px; justify-content: space-between; }

  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles--4, .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner__facts--3 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 1023px) {
  body.site { --sec-y: 64px; --gutter: 32px; }
  .hc__slide { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 40px 0 44px; }
  .hc__text { max-width: 720px; }
  .hc__media { height: 380px; }
  .site .ph__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 44px; padding-bottom: 44px; }
  .ph__text { max-width: 720px; }
  .ph__media { height: 380px; }
  .feature, .feature--reverse { grid-template-columns: minmax(0, 1fr); }
  .feature--reverse .feature__text { order: 0; }
  .feature__text { padding: 36px; }
  .feature__media { margin-top: 0; min-height: 360px; }
  .feature--stacked .feature__text { grid-template-columns: minmax(0, 1fr); padding: 36px 36px 24px; }
  .feature--stacked .feature__media { height: 400px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .banner { grid-template-columns: minmax(0, 1fr); padding: 44px; }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__side .side-card:last-child { grid-column: 1 / -1; }
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .cards--3, .tiles--3, .steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qlinks__list { gap: 4px 28px; }

  .uf { grid-template-columns: minmax(0, 1fr); }
  .uf__palette { border-right: 0; border-bottom: 1px solid var(--line); }
  .uf__palette ul { display: flex; flex-wrap: wrap; }
  .uf__canvas { justify-content: flex-start; }
  .uf__props { border-left: 0; border-top: 1px solid var(--line); }
  .media--wide.media--bleed .uf { grid-template-columns: 168px minmax(0, 1fr) 236px; }
  .media--wide.media--bleed .uf__palette { border-right: 1px solid var(--line); border-bottom: 0; }
  .media--wide.media--bleed .uf__palette ul { display: grid; }
  .media--wide.media--bleed .uf__props { border-left: 1px solid var(--line); border-top: 0; }
  .media--frame .uf { grid-template-columns: 168px minmax(0, 1fr) 236px; }
  .media--frame .uf__palette { border-right: 1px solid var(--line); border-bottom: 0; }
  .media--frame .uf__palette ul { display: grid; }
  .media--frame .uf__props { border-left: 1px solid var(--line); border-top: 0; }
  .media--frame > .ui--flow { min-width: 940px; }
}

@media (max-width: 767px) {
  body.site { --sec-y: 56px; --gutter: 20px; }
  .site h1, .site .hc__title { font-size: 34px; line-height: 42px; }
  .site h2 { font-size: 26px; line-height: 33px; }
  .site .btn { white-space: normal; text-align: center; }
  .hc__lead, .ph__lead { font-size: 17px; line-height: 26px; }
  .hc__slide { padding: 32px 0 36px; gap: 28px; }
  .hc__media, .ph__media { height: 300px; }
  .media--bleed { padding: 20px 0 0 20px; }
  .media--bleed > * { min-width: 0; width: calc(100% + 12px); }
  .media--wide.media--bleed > * { min-width: 900px; }
  .media--fit, .hc__media.media--fit { padding: 20px; }
  .media--frame { padding: 16px; }
  .promo p { padding: 0 32px 0 0; text-align: left; }
  .site .promo__inner { justify-content: flex-start; }
  .qlinks__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 8px; }
  .qlinks a { min-width: 0; padding: 12px 0; }
  .qlinks a span { font-size: 14px; }
  .shead { align-items: flex-start; flex-direction: column; }
  .cards--4, .cards--3, .tiles--4, .tiles--3, .tiles--2, .steps--3, .steps--4, .checklist, .notes { grid-template-columns: minmax(0, 1fr); }
  .card__media { height: 196px; }
  .feature__text { padding: 28px 24px; }
  .feature__media { min-height: 300px; }
  .feature--stacked .feature__text { padding: 28px 24px 16px; }
  .feature--stacked .feature__media { height: 320px; }
  .banner { padding: 32px 24px; gap: 32px; }
  .banner__facts { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .banner__table { padding: 4px 16px; }
  .sheet { padding: 20px 22px; }
  .sheet--flush { padding: 4px 20px; }
  .states { padding: 4px 20px; }
  .states li { grid-template-columns: 14px minmax(0, 1fr); }
  .states li span { grid-column: 2; }
  .spec tbody th { width: 40%; }
  .tile--icon { flex-direction: column; gap: 16px; }
  .cta__main, .cta__side { padding: 28px 24px; }
  .subnav__cta { display: none; }
  .subnav__list li:first-child a { padding-left: 0; }
  .order-box { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; }
  .faq { padding: 4px 20px; }
  .faq summary { font-size: 17px; }
  .faq__a p { padding-right: 0; }
  .site .wrap.contact { margin-top: -56px; }
  .site--contact .ph .ph__grid { padding-bottom: 96px; }
  .contact__main { padding: 28px 20px; }
  .contact__side { grid-template-columns: minmax(0, 1fr); }
  .site .form-row { grid-template-columns: minmax(0, 1fr); }
  .sf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .dlp-card { padding: 22px 20px 18px; }
  .dlp-card__version { font-size: 26px; line-height: 32px; }
  .sf__base { flex-direction: column; align-items: flex-start; }

  .us__table th:nth-child(2), .us__table td:nth-child(2) { display: none; }
  .ua { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ua__side { display: none; }
  .ua__main { grid-template-columns: minmax(0, 1fr); }
  .ua__team { grid-column: auto; grid-row: auto; }
  .ut__body { grid-template-columns: minmax(0, 1fr); }
  .ut__ladder { border-right: 0; border-bottom: 1px solid var(--line); }
  .ut__tools { margin-left: 0; }
  .ut__lanes { grid-template-columns: 70px 1fr 1fr; font-size: 9.5px; }
  .ut__row { grid-template-columns: 70px 1fr; }
  .ut__ts { font-size: 9.5px; padding-left: 0; }
  .uv { grid-template-columns: minmax(0, 1fr); }
  .uv > section + section { border-left: 0; border-top: 1px solid var(--line); }
  .uv__search { margin-left: 0; min-width: 0; }
  .ur__tabs .ur__tabs-right { display: none; }
  .um__row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .phones { grid-template-columns: minmax(0, 1fr); }
  .media--fit .phones .ui--blacklist { display: none; }
  .stack__layer { grid-template-columns: 92px minmax(0, 1fr); }
  .stack__layer li { font-size: 13px; }
  .media--frame > .ui { min-width: 640px; }
  .media--frame > .ui--attendant, .media--frame > .ui--live { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .site *, .site *::before, .site *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .hc.is-cycling .hc__dot.is-active span::after { animation: none; transform: none; }
}

/* ==========================================================================================
   Platform docs (/:lang/platform/*)
   Microsoft Learn style documentation inside the site layout: breadcrumb bar, navigation tree,
   article, "In diesem Artikel" rail. All classes start with pd-. Reuses the tokens above and the
   .dg-* diagram classes. Markup: views/partials/site/docs-*.ejs, behaviour: public/js/site.js.
   ========================================================================================== */

/* breadcrumb bar */
.pd-bar { background: #fff; border-bottom: 1px solid var(--border); }
.site .pd-bar__inner { display: flex; align-items: center; min-height: 48px; padding-top: 8px; padding-bottom: 8px; }
.pd-crumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; row-gap: 2px; font-size: 14px; line-height: 20px; }
.pd-crumbs li { display: inline-flex; align-items: center; color: var(--text-2); }
.pd-crumbs li + li::before { content: '›'; margin: 0 8px; color: var(--text-2); }
.site .pd-crumbs a { color: var(--link); text-decoration: none; }
.site .pd-crumbs a:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 3px; }
.pd-crumbs [aria-current] { color: var(--text); }

/* three-column layout */
.site .pd-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr) 216px; gap: 0 48px; align-items: start; padding-top: 32px; padding-bottom: 80px; }
.site .pd-layout--hub { grid-template-columns: 248px minmax(0, 1fr); }

/* left navigation tree */
.pd-tree { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 0 6px 16px 0; scrollbar-width: thin; }
.pd-tree__title { margin: 0 0 6px; padding: 0 12px; font: 600 15px/22px var(--f); color: var(--text); }
.pd-tree__group { margin: 18px 0 4px; padding: 0 12px; font: 600 12px/16px var(--f); color: var(--text-2); }
.pd-tree ul { list-style: none; margin: 0; padding: 0; }
.site .pd-tree__link { position: relative; display: block; padding: 6px 12px; border-radius: 4px; font-size: 14px; line-height: 20px; color: var(--text-strong); text-decoration: none; }
.site .pd-tree__link:hover { background: #f5f5f5; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.site .pd-tree__link[aria-current="page"] { background: var(--bg-tint); color: var(--text); font-weight: 600; }
.pd-tree__link[aria-current="page"]::before { content: ''; position: absolute; left: 0; top: 5px; bottom: 5px; width: 3px; border-radius: 2px; background: var(--teal-ink); }
.pd-tree__link:focus-visible { outline-offset: -2px; }
.pd-tree__toggle { display: none; }

/* article */
.pd-article { min-width: 0; max-width: 780px; }
.pd-layout--hub .pd-article { max-width: 1000px; }
.pd-head { padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.site .pd-head h1 { font-size: 40px; line-height: 48px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 12px; }
.pd-summary { margin: 0 0 12px; font-size: 18px; line-height: 28px; color: #3d3d3d; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 0; font-size: 14px; line-height: 20px; color: var(--text-2); }

.pd-body { padding-top: 8px; }
.pd-body > p, .pd-body > .pd-list, .pd-body > .pd-olist { margin: 0 0 16px; font-size: 16px; line-height: 26px; color: var(--text); }
.site .pd-body h2 { font-size: 28px; line-height: 36px; letter-spacing: -0.01em; margin: 44px 0 12px; scroll-margin-top: calc(var(--header-h) + 24px); }
.site .pd-body h3 { font-size: 20px; line-height: 28px; margin: 28px 0 8px; }
.site .pd-body code { white-space: normal; overflow-wrap: break-word; }
.pd-body strong { font-weight: 600; }
.pd-part { margin: 48px 0 -36px !important; font: 600 13px/18px var(--f) !important; color: var(--teal-ink) !important; }
.pd-part + h2 { margin-top: 40px; }

.pd-list, .pd-olist { padding-left: 24px; }
.pd-list li, .pd-olist li { margin: 0; font-size: 16px; line-height: 26px; color: var(--text); }
.pd-list li + li, .pd-olist li + li { margin-top: 6px; }
.pd-list li::marker, .pd-olist li::marker { color: var(--text-2); }
.pd-olist li { padding-left: 4px; }

/* alerts (Hinweis / Tipp / Wichtig / Warnung) */
.pd-alert { margin: 20px 0; padding: 12px 16px 14px; border-left: 4px solid var(--teal-ink); border-radius: 8px; background: var(--bg-tint); }
.site .pd-alert p { margin: 0; font-size: 15px; line-height: 24px; color: var(--text); }
.site .pd-alert p + p { margin-top: 8px; }
.site .pd-alert .pd-alert__label { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-weight: 600; color: var(--teal-ink); }
.pd-alert__label .icon { flex-shrink: 0; }
.pd-alert--tip { border-left-color: var(--green); background: var(--green-soft); }
.site .pd-alert--tip .pd-alert__label { color: var(--green); }
.pd-alert--important { border-left-color: var(--violet); background: var(--violet-soft); }
.site .pd-alert--important .pd-alert__label { color: var(--violet-ink); }
.pd-alert--warning { border-left-color: var(--orange-ink); background: var(--orange-soft); }
.site .pd-alert--warning .pd-alert__label { color: var(--orange-ink); }

/* numbered procedures */
.pd-steps { list-style: none; margin: 20px 0 24px; padding: 0; }
.pd-steps > li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 0 16px; padding-bottom: 20px; }
.pd-steps > li:last-child { padding-bottom: 0; }
.pd-steps > li:not(:last-child)::after { content: ''; position: absolute; left: 15.5px; top: 38px; bottom: 4px; width: 1px; background: var(--border-strong); }
.pd-steps__n { display: grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid var(--teal-ink); border-radius: 50%; background: #fff; color: var(--teal-ink); font: 600 14px/1 var(--f); }
.pd-steps__body { min-width: 0; padding-top: 4px; }
.site .pd-steps__body p { margin: 0; font-size: 16px; line-height: 26px; color: var(--text); }
.site .pd-steps__body p + p { margin-top: 4px; }
.site .pd-steps__body .pd-steps__title { font-weight: 600; }

/* checklist */
.pd-checklist { list-style: none; margin: 16px 0 20px; padding: 0; border-top: 1px solid var(--border); }
.pd-checklist li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 16px; line-height: 24px; }
.pd-checklist__box { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; border: 1.5px solid var(--teal-ink); border-radius: 4px; }

/* tables */
.pd-table { margin: 20px 0 24px; }
.pd-table__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pd-table__scroll:focus-visible { outline-offset: 2px; }
.pd-tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 22px; }
.pd-tbl caption { caption-side: top; text-align: left; padding: 0 0 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text-2); }
.pd-tbl th, .pd-tbl td { text-align: left; vertical-align: top; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--border); overflow-wrap: break-word; }
.pd-tbl th:last-child, .pd-tbl td:last-child { padding-right: 0; }
.pd-tbl thead th { padding-top: 6px; padding-bottom: 8px; background: #fff; border-bottom-color: var(--border-strong); font-size: 13px; line-height: 18px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.pd-tbl tbody th { font-weight: 600; color: var(--text); }
.pd-tbl td { color: var(--text); }
.pd-tbl .pd-mono, .pd-mono { font-family: var(--font-mono); font-size: 13.5px; }
.pd-tbl td.pd-mono { white-space: nowrap; }
.pd-tbl--ports { min-width: 720px; }
.pd-tbl--ports tbody th { white-space: nowrap; }
.pd-port { font-weight: 500; }
.pd-port__note { display: block; margin-top: 2px; max-width: 150px; font-size: 12.5px; line-height: 17px; font-weight: 400; color: var(--text-2); white-space: normal; }
.pd-tbl--matrix { min-width: 620px; }
.pd-tbl .pd-c { text-align: center; width: 64px; }
.pd-yes { display: inline-grid; place-items: center; color: var(--teal-ink); }
.pd-yes .icon { stroke-width: 2.4; }
.pd-no { color: #a3a3a3; }
.pd-row-hl th, .pd-row-hl td { background: var(--bg-tint); }
.pd-row-empty td { color: var(--text-2); font-style: italic; }
.pd-dots { display: inline-flex; gap: 4px; margin-left: 10px; vertical-align: 1px; }
.pd-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--teal-ink); }
.pd-dots i.is-spare { background: #fff; box-shadow: inset 0 0 0 1.5px var(--teal-ink); }

.pd-pill { display: inline-block; margin: 0 4px 4px 0; padding: 1px 7px; border-radius: 4px; background: #efefef; font: 600 12px/18px var(--f); color: var(--text-strong); white-space: nowrap; }
.pd-pill--cucm { background: var(--orange-soft); color: var(--orange-ink); }
.pd-pill--acd { background: var(--violet-soft); color: var(--violet-ink); }
.pd-pill--teams { background: var(--teal-soft); color: var(--teal-ink); }
.pd-pill--optional, .pd-pill--std { background: #fff; box-shadow: inset 0 0 0 1px var(--border-strong); color: var(--text-2); font-weight: 500; }
.pd-pill--std { margin: 0 0 0 6px; vertical-align: 1px; }

/* module filter (ports) */
.pd-filter { margin: 24px 0 8px; padding: 16px 18px; border-radius: 8px; background: var(--bg-grey); }
.site .pd-filter p { margin: 0; }
.site .pd-filter .pd-filter__label { margin-bottom: 10px; font-size: 14px; line-height: 20px; font-weight: 600; }
.pd-filter__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-chip { min-height: 32px; padding: 5px 14px; border: 1px solid var(--border-strong); border-radius: 999px; background: #fff; font: 400 14px/20px var(--f); color: var(--text-strong); cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease; }
.pd-chip:hover { border-color: #8f8f8f; }
.pd-chip[aria-pressed="true"] { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; font-weight: 600; }
.site .pd-filter .pd-filter__hint { margin-top: 10px; font-size: 13px; line-height: 18px; color: var(--text-2); }
.site .pd-filter .pd-filter__status { margin-top: 4px; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--text-strong); }

/* value/code blocks */
.pd-code { margin: 16px 0 24px; border: 1px solid var(--border); border-radius: 8px; background: #f7f7f7; overflow: hidden; }
.pd-code__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 4px 6px 4px 16px; border-bottom: 1px solid var(--border); font-size: 13px; line-height: 18px; color: var(--text-2); }
.pd-code__copy { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 10px; border: 0; border-radius: 4px; background: transparent; font: 400 13px/18px var(--f); color: var(--text-strong); cursor: pointer; }
.pd-code__copy:hover { background: #e9e9e9; }
.pd-code__copy.is-done { color: var(--green); }
.pd-code pre { margin: 0; padding: 14px 16px; overflow-x: auto; font: 13.5px/1.65 var(--font-mono); color: var(--text); }
.site .pd-code pre code { padding: 0; background: none; white-space: pre; font-size: inherit; overflow-wrap: normal; }

/* figures and diagrams */
.pd-fig { margin: 24px 0; }
.pd-fig__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 20px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.pd-fig figcaption { margin: 8px 0 0; font-size: 14px; line-height: 20px; color: var(--text-2); }
.pd-dg { display: block; width: 100%; height: auto; min-width: 640px; }
.pd-dg .b { fill: #fff; stroke: #c5cdcc; }
.pd-dg .b-app { fill: #f1faf9; stroke: #9fd6d1; }
.pd-dg .b-ext { fill: #f5f6f4; stroke: #c5cdcc; }
.pd-dg .b-dash { stroke-dasharray: 5 4; }
.pd-dg .b-warn { fill: var(--orange-soft); stroke: #f0c48f; }
.pd-dg .nc { fill: #fff; stroke: var(--teal-ink); stroke-width: 1.2; }
.pd-dg .n { font: 600 11px var(--font-mono); fill: var(--teal-ink); }
.pd-dg .ctr { text-anchor: middle; }
.pd-dg .life { fill: none; stroke: #b9c1c0; stroke-dasharray: 4 4; }
.pd-dg .m-fail { fill: var(--red); }
.pd-dg .m-step { fill: #fff; stroke: var(--teal-ink); stroke-width: 2; }
.pd-dg .m-ok { fill: var(--teal-ink); }

/* hub: facts, topic cards, grouped lists */
.pd-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; margin: 20px 0; }
.pd-facts > div { min-width: 0; padding: 10px 0; border-top: 1px solid var(--border); }
.pd-facts dt { font-size: 13px; line-height: 18px; color: var(--text-2); }
.pd-facts dd { margin: 2px 0 0; font-size: 15px; line-height: 22px; font-weight: 600; }
.pd-cards { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pd-card { position: relative; display: flex; gap: 16px; min-width: 0; padding: 20px; background: #fff; border: 1px solid var(--border); border-radius: 12px; transition: box-shadow 0.2s var(--ease), border-color 0.2s ease; }
.pd-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-card); }
.pd-card:focus-within { outline: 2px solid var(--text); outline-offset: 2px; }
.pd-card__icon { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 8px; background: var(--bg-tint-2); color: var(--teal-ink); }
.site .pd-card__title { margin: 0 0 4px; font: 600 17px/24px var(--f); letter-spacing: 0; }
.site .pd-card__title a { color: var(--text); text-decoration: none; }
.site .pd-card__title a::after { content: ''; position: absolute; inset: 0; border-radius: 12px; }
.site .pd-card__title a:focus-visible { outline: none; }
.site .pd-card:hover .pd-card__title a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.site .pd-card p { margin: 0; font-size: 15px; line-height: 22px; color: var(--text-2); }
.pd-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.pd-group { min-width: 0; padding: 18px 20px; border: 1px solid var(--border); border-radius: 8px; }
.site .pd-group h3 { margin: 0 0 8px; font-size: 16px; line-height: 22px; }
.pd-group .pd-list { margin: 0; padding-left: 20px; }
.pd-group .pd-list li { font-size: 15px; line-height: 23px; }

/* previous / next, feedback */
.pd-foot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); }
.pd-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.site .pd-pager a { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 14px 18px; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; transition: border-color 0.15s ease; }
.site .pd-pager a:hover { border-color: var(--teal-ink); }
.pd-pager small { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; color: var(--text-2); }
.pd-pager a > span { font-size: 16px; line-height: 22px; font-weight: 600; color: var(--link); }
.site .pd-pager a:hover > span { text-decoration: underline; text-underline-offset: 3px; }
.site .pd-pager .pd-pager__next { grid-column: 2; align-items: flex-end; text-align: right; }
.site .pd-foot .pd-feedback { margin: 20px 0 0; font-size: 14px; line-height: 20px; color: var(--text-2); }

/* right rail: in this article */
.pd-rail { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; scrollbar-width: thin; }
.pd-toc__title { margin: 0 0 8px; font: 600 14px/20px var(--f); color: var(--text); }
.pd-toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.site .pd-toc a { display: block; margin-left: -1px; padding: 5px 0 5px 14px; border-left: 2px solid transparent; font-size: 13px; line-height: 18px; color: var(--text-2); text-decoration: none; }
.site .pd-toc a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.site .pd-toc a.is-active { border-left-color: var(--teal-ink); color: var(--text); font-weight: 600; }
.pd-toc a:focus-visible { outline-offset: -2px; }

@media (max-width: 1100px) {
  .site .pd-layout { grid-template-columns: 224px minmax(0, 1fr); gap: 0 40px; }
  .pd-rail { display: none; }
  .pd-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .site .pd-layout, .site .pd-layout--hub { grid-template-columns: minmax(0, 1fr); padding-top: 20px; }
  .pd-tree { position: static; max-height: none; overflow: visible; margin-bottom: 28px; padding: 0; }
  .pd-tree__toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: 8px; background: #fff; font: 600 15px/20px var(--f); color: var(--text); cursor: pointer; }
  .pd-tree__toggle > span { display: inline-flex; align-items: center; gap: 10px; }
  .pd-tree__toggle > .icon { transition: transform 0.2s var(--ease); }
  .pd-tree__toggle[aria-expanded="true"] > .icon { transform: rotate(180deg); }
  .pd-tree__panel { padding: 8px 0; border-bottom: 1px solid var(--border); }
  .pd.is-js .pd-tree__panel { display: none; margin-top: 8px; padding: 8px; border: 1px solid var(--border); border-radius: 8px; }
  .pd.is-js .pd-tree.is-open .pd-tree__panel { display: block; }
  .pd-article, .pd-layout--hub .pd-article { max-width: none; }
  .pd-cards, .pd-groups { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
  .site .pd-head h1 { font-size: 32px; line-height: 40px; }
  .pd-summary { font-size: 17px; line-height: 26px; }
  .site .pd-body h2 { font-size: 24px; line-height: 32px; margin-top: 40px; }
  .pd-table__scroll { max-height: 70vh; overflow: auto; }
  .pd-tbl thead th { position: sticky; top: 0; z-index: 1; }
  .pd-pager { grid-template-columns: minmax(0, 1fr); }
  .site .pd-pager .pd-pager__next { grid-column: auto; }
  .pd-fig__scroll { padding: 12px; }
  .pd-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media print {
  .site .sh, .site .promo, .site .sf, .site .skip-link, .pd-bar, .pd-tree, .pd-rail, .pd-filter__chips, .pd-code__copy, .pd-pager { display: none !important; }
  body.site { font-size: 11pt; }
  .site .pd-layout { display: block; max-width: none; padding: 0; }
  .pd-article, .pd-layout--hub .pd-article { max-width: none; }
  .pd-table__scroll, .pd-fig__scroll { overflow: visible; max-height: none; }
  .pd-tbl, .pd-tbl--ports, .pd-tbl--matrix { min-width: 0; width: 100%; font-size: 9.5pt; line-height: 1.35; }
  .pd-tbl thead { display: table-header-group; }
  .pd-tbl thead th { position: static; }
  .pd-tbl tr, .pd-alert, .pd-code, .pd-fig { break-inside: avoid; }
  .site .pd-body h2 { break-after: avoid; margin-top: 24px; }
  .pd-dg { min-width: 0; }
  .pd-filter { padding: 0; background: none; }
  .site .pd-article a { color: inherit; text-decoration: none; }
}

/* Editorial refinement: quieter surfaces and fewer repeated card layouts. */
.site .shead__lead { max-width: 72ch; }
.site .hc__text { max-width: 600px; }
.site .hc__title { max-width: 20ch; }
.site .hc__controls { justify-content: flex-start; gap: 8px; padding-top: 18px; padding-bottom: 14px; }
.hc__dots { flex-wrap: wrap; gap: 4px; }
.hc__dot, .hc__dot.is-active { display: inline-flex; width: auto; padding: 9px 13px; height: auto; min-height: 40px; border-radius: 4px; font: 600 14px/20px var(--f); color: var(--text-2); }
.hc__dot.is-active { color: var(--teal-ink); background: var(--bg-tint); }
.hc__dot:hover { background: var(--bg-grey); color: var(--text); }
.qlinks { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 10px 0; }
.qlinks__list { justify-content: space-between; gap: 10px 20px; }
.qlinks a { flex-direction: row; min-width: 0; gap: 12px; }
.qlinks a .icon { width: 22px; height: 22px; }
.qlinks a span { text-decoration: none; }
.site .home-index { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 48px; margin-top: 28px; }
.home-index__item { padding: 26px 0; border-top: 1px solid var(--border-strong); }
.home-index__item p { max-width: 58ch; margin: 8px 0 14px; color: var(--text-2); }
.home-index__item .more { font-size: 14px; }
.site .home-index--cucm { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; }
.home-index--cucm .home-index__item { border-top: 2px solid var(--teal-ink); }
.site .card__media .mini { border: 1px solid var(--border); border-radius: 5px; box-shadow: none; }
.site .cta__side .sh__avatar { display: none; }
.site .promo { background: #f6f7f6; color: var(--text-2); border-bottom: 1px solid var(--border); }
.site .promo a, .site .promo a:hover { color: var(--teal-ink); }
.site .promo__inner { justify-content: flex-start; }
.site .promo p { padding-left: 0; text-align: left; }
.site .promo :focus-visible { outline-color: var(--teal-ink); }
@media(max-width: 900px) { .site .home-index--cucm { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 600px) {
  .site .home-index, .site .home-index--cucm { grid-template-columns: minmax(0,1fr); }
  .hc__btn { width: 32px; height: 32px; flex-shrink: 0; }
  .site .hc__controls { flex-wrap: wrap; gap: 4px; }
  .hc__dots { gap: 0; }
  .hc__dot, .hc__dot.is-active { padding: 8px; font-size: 13px; }
  .qlinks__list { justify-content: flex-start; gap: 0 18px; }
  .qlinks a { padding: 10px 0; }
}

.site .promo__close { color: var(--text-2); }
.site .promo__close:hover { background: #e8edeb; }

.site .home-index__item h3 .more { font: inherit; gap: 8px; }

/* ---------- Presence Sync page, call diagnostics and call analysis (2026-10) ---------- */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; align-items: start; }
.tiles--after, .fig--after, .sheet--after, .split--after { margin-top: 32px; }
.steps + .fig--after { margin-top: 40px; }
.spec--states thead th { padding-top: 4px; }
.spec--states tbody th { width: 44%; font-weight: 500; }
.site .tile__more { margin-top: 12px; }
.ticks--dash li::before { content: ''; left: 4px; top: 22px; width: 12px; height: 2px; border: 0; border-radius: 1px; background: var(--text-2); transform: none; -webkit-mask: none; mask: none; }
.feature__also { display: flex; width: fit-content; margin: 14px 0 0; }
.doclinks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 24px 56px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border-strong); }
.site .doclinks__head h3 { margin: 0 0 8px; }
.doclinks__head p { margin: 0; color: var(--text-2); max-width: 36ch; }
.doclinks__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; }
.doclinks__list p { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--text-2); }
.doclinks-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin: 20px 0 0; font-size: 14px; line-height: 20px; }
.doclinks-inline span { color: var(--text-2); }
.doclinks-inline .more { font-size: 14px; }

/* presence mock-ups */
.up__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.up__head strong { font-size: 13.5px; }
.up__head > div { margin-right: auto; }
.up__sub { margin-left: 8px; color: var(--ink-3); font-size: 11.5px; }
.up__badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 10px; background: var(--paper-3); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.up__badge--ok { background: var(--teal-soft); color: var(--teal-ink); }
.up__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.up__stats > div { padding: 9px 12px; min-width: 0; }
.up__stats > div + div { border-left: 1px solid var(--line-2); }
.up__stats small { display: block; color: var(--ink-3); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up__stats span { font: 500 18px/1.3 var(--font-mono); }
.up__stats--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.up__stats .is-ok span { color: #2f7a4f; }
.up__stats .is-warn span { color: var(--orange-ink); }
.up__switches { list-style: none; margin: 0; padding: 4px 12px; }
.up__switches li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-2); }
.up__switches li:first-child { border-top: 0; }
.up__switches li.is-main { padding-bottom: 10px; }
.up__switch { position: relative; flex-shrink: 0; width: 30px; height: 17px; border-radius: 9px; background: #c3cbca; }
.up__switch i { position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.up__switch.is-on { background: var(--teal-ink); }
.up__switch.is-on i { left: 15px; }
.up__switch-text { min-width: 0; }
.up__switch-text strong { display: block; font-size: 12.5px; }
.up__switch-text small { display: block; color: var(--ink-3); font-size: 11.5px; }
.up__fields { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 10px; padding: 10px 12px 2px; border-top: 1px solid var(--line); }
.up__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; padding: 8px 12px 12px; }
.up__pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: end; padding: 12px 12px 2px; }
.up__link { padding-bottom: 16px; color: var(--ink-3); font: 500 14px/1 var(--font-mono); }
.up__table td strong { font-weight: 600; }
.up__pick { margin-left: 6px; padding: 1px 6px; border: 1px solid #cdd4d3; border-radius: 3px; font: 11px/1.5 var(--font-body); color: var(--ink-2); }
.up__res { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: var(--paper-3); color: var(--ink-2); }
.up__res--matched, .up__res--success { background: #e3f1e8; color: #23683f; }
.up__res--missing, .up__res--ambiguous { background: var(--orange-soft); color: var(--orange-ink); }
.up__res--skipped { background: var(--paper-3); color: var(--ink-2); }
.up__res--observed { background: var(--violet-soft); color: var(--violet-ink); }
.up__hint { margin: 0; padding: 8px 12px 10px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 11.5px; }
.up__flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fafbfa; }
.up__prov { min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.up__prov small { display: block; font: 500 9.5px/1.4 var(--font-mono); letter-spacing: 0.06em; color: var(--ink-3); }
.up__prov strong { display: block; font-size: 13px; }
.up__prov span { display: block; font-size: 11.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up__bridge { display: grid; justify-items: center; gap: 4px; font-size: 10.5px; color: var(--ink-3); }
.up__filter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.up__filter strong { margin-right: auto; font-size: 12.5px; }
.up__filter b { margin-left: 4px; padding: 1px 6px; border-radius: 8px; background: var(--paper-3); font-size: 10.5px; font-weight: 500; }
.up__events { list-style: none; margin: 0; padding: 0; }
.up__event { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 9px 12px; border-top: 1px solid var(--line-2); border-left: 3px solid #2f8f55; }
.up__event:first-child { border-top: 0; }
.up__event--skipped { border-left-color: #b0b8ba; }
.up__event--observed { border-left-color: var(--violet); }
.up__time span { display: block; font-size: 12px; }
.up__time small { display: block; font-size: 10px; color: var(--ink-3); }
.up__body { display: grid; gap: 4px; min-width: 0; }
.up__who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.up__who strong { font-size: 12.5px; }
.up__who .mono { color: var(--ink-3); font-size: 11px; }
.up__transfer { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 11.5px; }
.up__transfer small { color: var(--ink-3); font-size: 11px; }
.up__dir { padding: 1px 7px; border-radius: 3px; background: var(--teal-soft); color: var(--teal-ink); font-weight: 600; white-space: nowrap; }
.up__dir--teams { background: var(--violet-soft); color: var(--violet-ink); }
.up__state { padding: 1px 7px; border: 1px solid var(--line); border-radius: 3px; background: #fff; white-space: nowrap; }
.up__state--now { border-color: #aeb7b6; font-weight: 600; }
.up__state--target { border-style: dashed; color: var(--ink-2); }
.up__arrow { color: var(--ink-3); }
.up__msg { color: var(--ink-3); font-size: 11.5px; }
.ph__media .ui--presence { max-width: 620px; }

/* CUCM call flow (call diagnostics) */
.ui--callflow { --cf-req: #2c6aa8; --cf-ok: #2f8f55; }
.uc__status { font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.uc__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.uc__bar > small { color: var(--ink-3); font-size: 11px; margin-right: 2px; }
.uc__chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border: 1px solid #cdd4d3; border-radius: 12px; font-size: 10.5px; white-space: nowrap; }
.uc__chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.uc__chip--1 i { background: var(--violet); }
.uc__chip--2 i { background: var(--orange); }
.uc__chip em { font-style: normal; font-family: var(--font-body); color: var(--ink-3); }
.uc__toggle { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 11.5px; color: var(--ink-2); white-space: nowrap; }
.uc__toggle i { width: 12px; height: 12px; border: 1px solid #aeb7b6; border-radius: 2px; background: #fff; }
.uc__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.uc__lanes { display: grid; grid-template-columns: 14.21% repeat(4, minmax(0, 1fr)); min-width: 700px; align-items: end; padding: 10px 0 6px; border-bottom: 1px solid var(--line-2); background: #fafbfa; }
.uc__lane-time { padding-left: 8px; font-size: 11px; color: var(--ink-3); }
.uc__lane { display: grid; justify-items: center; text-align: center; min-width: 0; }
.uc__lane strong { font-size: 10.5px; font-weight: 500; }
.uc__lane small { font-size: 10.5px; color: var(--ink-3); }
.uc__svg { display: block; width: 100%; height: auto; min-width: 700px; }
.media--frame > .ui--callflow { max-width: 860px; margin: 0 auto; }
.uc__life { stroke: #c6cecd; stroke-width: 1; }
.uc__sel { fill: var(--teal-soft); }
.uc__t { font: 400 10.5px var(--font-mono); fill: var(--ink-2); }
.uc__d { font: 400 9px var(--font-mono); fill: var(--ink-3); }
.uc__line { stroke-width: 1.4; }
.uc__label { font: 500 10.5px var(--font-mono); }
.uc__row--req .uc__line { stroke: var(--cf-req); }
.uc__row--req .uc__head, .uc__row--req .uc__label { fill: var(--cf-req); }
.uc__row--prov .uc__line { stroke: var(--ink-3); }
.uc__row--prov .uc__head, .uc__row--prov .uc__label { fill: var(--ink-3); }
.uc__row--err .uc__line { stroke: var(--red); }
.uc__row--err .uc__head, .uc__row--err .uc__label { fill: var(--red); }
.uc__dlg--0 { fill: var(--teal); }
.uc__dlg--1 { fill: var(--violet); }
.uc__dlg--2 { fill: var(--orange); }
.uc__sdp { fill: #fff; stroke: #d6c6e0; }
.uc__sdp-t { font: 500 8px var(--font-mono); fill: var(--violet-ink); }
.uc__msg { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fbfbfa; }
.uc__kv { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.uc__kv small { display: block; font-size: 10.5px; color: var(--ink-3); }
.uc__kv b { font-size: 12px; font-weight: 600; }
.uc__err { color: var(--red); }
.uc__legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11px; color: var(--ink-2); }
.uc__lg { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.uc__lg i { width: 16px; height: 2px; background: var(--ink-3); }
.uc__lg--req i { background: var(--cf-req); }
.uc__lg--ok i { background: var(--cf-ok); }
.uc__lg--redir i { background: var(--orange); }
.uc__lg--err i { background: var(--red); }

/* call analysis */
.un__chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 1px solid #cdd4d3; border-radius: 12px; font-size: 11.5px; white-space: nowrap; }
.un__chip b { font-size: 10.5px; font-weight: 500; color: var(--ink-3); }
.un__chip.is-active { border-color: var(--teal-ink); background: var(--teal-soft); color: var(--teal-ink); font-weight: 600; }
.un__table td, .un__table th { padding-left: 10px; padding-right: 10px; }
.un__table tr.is-open > td { background: var(--teal-soft); border-bottom-color: transparent; }
.un__out { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12px; white-space: nowrap; }
.un__out::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #a9b2b4; }
.un__out--ok::before { background: #2f8f55; }
.un__out--warn::before { background: #d49a2a; }
.un__out--err::before { background: var(--red); }
.un__flag { padding: 1px 7px; border: 1px solid var(--line); border-radius: 3px; font-size: 11px; color: var(--ink-2); background: #fff; white-space: nowrap; }
.un__q { font-size: 12px; color: var(--ink-3); }
.un__q--good { color: #23683f; font-weight: 600; }
.un__q--fair { color: var(--orange-ink); font-weight: 600; }
.un__flow { display: inline-block; width: 14px; height: 10px; border: 1.5px solid #c3cbca; border-top: 0; border-bottom: 0; position: relative; }
.un__flow::after { content: ''; position: absolute; left: 0; right: 0; top: 4px; height: 1.5px; background: #c3cbca; }
.un__flow.is-on { border-color: var(--teal-ink); }
.un__flow.is-on::after { background: var(--teal-ink); }
.un__table tr.un__detail > td { padding: 0 10px 12px; background: var(--teal-soft); white-space: normal; }
.un__tabs { display: flex; align-items: center; gap: 2px; padding: 0 10px; border: 1px solid var(--line); border-bottom: 0; border-radius: 5px 5px 0 0; background: #fff; }
.un__tabs > span { padding: 8px 9px; font-size: 12px; font-weight: 600; color: var(--ink-3); border-bottom: 2px solid transparent; white-space: nowrap; }
.un__tabs > .is-active { color: var(--ink); border-bottom-color: var(--ink); }
.un__tabs > .un__tabs-right { margin-left: auto; padding: 4px 10px; border-bottom: 1px solid #cdd4d3; color: var(--ink); }
.un__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 0 0 5px 5px; background: #fff; }
.un__kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 0; padding: 12px 14px; }
.un__kv > div { min-width: 0; }
.un__kv-wide { grid-column: 1 / -1; }
.un__kv dt { font-size: 11px; color: var(--ink-3); }
.un__kv dd { margin: 1px 0 0; font-size: 12.5px; font-weight: 600; }
.un__raw { margin-left: 6px; color: var(--ink-3); font-weight: 400; font-size: 11px; }
.un__flowbox { padding: 12px 14px; border-left: 1px solid var(--line); background: #fbfbfa; }
.un__flowbox > small { display: block; margin-bottom: 6px; font-size: 11px; color: var(--ink-3); }
.un__flowbox ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.un__fl { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 0 10px; font-size: 10.5px; color: var(--ink-3); }
.un__fl b { font-weight: 500; color: #2c6aa8; }
.un__fl span:last-child { grid-column: 2; }
.un__fl--prov b { color: var(--ink-3); }
.un__fl--err b { color: var(--red); }

@media (max-width: 1023px) {
  .pair { grid-template-columns: minmax(0, 1fr); }
  .doclinks { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .doclinks__list { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .doclinks { margin-top: 36px; padding-top: 24px; }
  .spec--states tbody th { width: 46%; }
  .media--frame > .ui--presence { min-width: 560px; }
  .media--frame > .ui--callflow, .media--frame > .ui--analysis { min-width: 760px; }
  .tiles--after, .fig--after, .sheet--after, .split--after { margin-top: 24px; }
}
.spec td code { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .qlinks__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .qlinks a span { text-align: left; }
}
