/* Expert articles and practical tools: the same white editorial workshop. */
.ex-wrap {
  --ex-ink: #202027;
  --ex-muted: #666474;
  --ex-purple: #6951d8;
  --ex-line: #e8e5ef;
  --ex-paper: #f7f4ff;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
  color: var(--ex-ink);
  font-family: 'IBM Plex Sans', Arial, sans-serif;
}
.ex-wrap *, .ex-wrap *::before, .ex-wrap *::after { box-sizing: border-box; }
.ex-wrap a { text-underline-offset: 4px; }
.ex-wrap :is(button, input, select, textarea) { font: inherit; }
.ex-wrap :is(a, button, input, select, summary):focus-visible {
  outline: 3px solid #b6a5ef;
  outline-offset: 4px;
}
.ex-breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px;
  padding-top: 29px; font-size: 13px; line-height: 1.6; color: #777482;
}
.ex-breadcrumbs a { color: #666474; text-decoration: none; }
.ex-breadcrumbs a:hover { color: #6951d8; }
.ex-breadcrumbs :is(span, a) { overflow-wrap: anywhere; }
.ex-hero { padding: 44px 0 45px; max-width: 1060px; }
.ex-eyebrow {
  margin: 0 0 20px; color: #6951d8; font-size: 12px;
  font-weight: 600; line-height: 1.5; letter-spacing: .11em; text-transform: uppercase;
}
.ex-hero h1 {
  margin: 0 0 25px; max-width: 1000px;
  font: 500 clamp(36px, 4.7vw, 64px)/1.1 'IBM Plex Sans', Arial, sans-serif;
  letter-spacing: -.04em; text-wrap: balance; overflow-wrap: break-word;
}
.ex-lead { max-width: 790px; margin: 0; font-size: 20px; line-height: 1.75; color: #666474; }
.ex-meta {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 25px; font-size: 12px; line-height: 1.7; color: #777482;
}
.ex-meta a { color: #6951d8; }
.ex-answer {
  margin: 4px 0 39px; padding: 28px 31px; border: 1px solid #e6def8;
  border-left: 3px solid #b6a4ea; border-radius: 0 21px 21px 0;
  background: #f7f4ff; font-size: 18px; line-height: 1.8;
}
.ex-answer :is(h2, h3, strong) { color: #453571; }
.ex-answer :is(h2, h3) { margin: 0 0 12px; font-size: 23px; font-weight: 500; letter-spacing: -.025em; }
.ex-answer p { margin: 0; }
.ex-answer p + p { margin-top: 12px; }
.ex-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 62px; align-items: start; padding-bottom: 72px; }
.ex-layout > * { min-width: 0; }
.ex-layout > aside { position: sticky; top: 112px; align-self: start; }
.ex-article { min-width: 0; font-size: 17px; line-height: 1.85; }
.ex-article > :first-child { margin-top: 0; }
.ex-article h2 {
  margin: 49px 0 19px; font-size: clamp(29px, 3vw, 39px);
  font-weight: 500; line-height: 1.2; letter-spacing: -.035em;
  scroll-margin-top: 112px; overflow-wrap: break-word;
}
.ex-article h3 { margin: 29px 0 12px; font-size: 23px; font-weight: 500; line-height: 1.35; letter-spacing: -.02em; }
.ex-article p { margin: 0 0 20px; color: #50505e; }
.ex-article :is(ul, ol) { margin: 15px 0 25px; padding-left: 25px; color: #50505e; }
.ex-article li { padding-left: 4px; margin-bottom: 10px; }
.ex-article li::marker { color: #6951d8; }
.ex-article strong { font-weight: 600; color: #202027; }
.ex-article a { color: #6951d8; overflow-wrap: anywhere; }
.ex-article :is(img, svg) { max-width: 100%; height: auto; }
.ex-article hr { border: 0; border-top: 1px solid #e8e5ef; margin: 37px 0; }
.ex-article blockquote { margin: 27px 0; padding: 2px 0 2px 23px; border-left: 2px solid #c5b4ed; color: #666474; }
.ex-article blockquote p:last-child { margin-bottom: 0; }
.ex-toc { background: #faf9fc; border: 1px solid #ece8f2; border-radius: 20px; padding: 24px; }
.ex-toc :is(h2, h3) { font-size: 15px; line-height: 1.5; margin: 0 0 14px; font-weight: 600; letter-spacing: 0; }
.ex-toc :is(ol, ul) { list-style: none; padding: 0; margin: 0; }
.ex-toc li { margin: 0; }
.ex-toc a { display: block; color: #666474; font-size: 14px; line-height: 1.55; text-decoration: none; padding: 8px 0; }
.ex-toc a:hover, .ex-toc a[aria-current] { color: #6951d8; }
.ex-toc > a { border-bottom: 1px solid #eeeaf4; }
.ex-toc > a:last-child { border-bottom: 0; }
.ex-note { margin: 26px 0; padding: 22px 25px; background: #fff8f1; border: 1px solid #f0e5da; border-radius: 18px; font-size: 15px; line-height: 1.85; color: #666474; }
.ex-note :is(p, ul, ol):last-child { margin-bottom: 0; }
.ex-note strong { color: #6c5442; }
.ex-sources { margin: 43px 0 0; padding-top: 27px; border-top: 1px solid #e8e5ef; font-size: 14px; line-height: 1.8; color: #666474; }
.ex-sources h2, .ex-sources h3 { font-size: 22px; margin: 0 0 16px; }
.ex-sources :is(ul, ol) { margin: 0; padding-left: 21px; }
.ex-sources li { margin-bottom: 13px; overflow-wrap: anywhere; }
.ex-sources a { color: #6951d8; }
.ex-sources small { color: #777482; display: block; font-size: 12px; }
.ex-related { margin-top: 49px; padding-top: 32px; border-top: 1px solid #e8e5ef; }
.ex-related h2 { font-size: 30px; margin: 0 0 23px; }
.ex-related > a { display: inline-block; margin: 0 20px 12px 0; color: #6951d8; line-height: 1.6; }
.ex-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 30px 0 44px; }
.ex-card {
  display: flex; flex-direction: column; min-width: 0; padding: 29px;
  background: #fff; border: 1px solid #e8e5ef; border-radius: 22px;
  text-decoration: none; color: #202027;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.ex-card :is(.category, .ex-category, .ex-card-category, .ex-eyebrow) { margin: 0 0 19px; color: #6951d8; font-size: 11px; line-height: 1.5; letter-spacing: .09em; font-weight: 500; text-transform: uppercase; }
.ex-card :is(h2, h3, .ex-card-title) { margin: 0 0 15px; font-size: 25px; line-height: 1.23; font-weight: 500; letter-spacing: -.025em; overflow-wrap: break-word; }
.ex-card :is(p, .ex-card-description) { margin: 0 0 22px; color: #666474; font-size: 15px; line-height: 1.75; }
.ex-card :is(a, .ex-card-link) { color: #6951d8; text-decoration: none; }
.ex-card > :is(a, .ex-card-link):last-child { margin-top: auto; padding-top: 7px; font-size: 14px; font-weight: 500; }
.ex-card > span:last-child { margin-top: auto; }
.ex-related .ex-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }
.ex-tools { margin: 30px 0 39px; padding: 30px; border: 1px solid #e4dcf4; border-radius: 24px; background: #f8f5ff; }
.ex-tools > :is(h2, h3) { margin-top: 0; }
.ex-tools > p { color: #666474; line-height: 1.75; }
.ex-picker { display: grid; gap: 20px; }
.ex-picker fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.ex-picker legend { padding: 0; font-weight: 500; margin-bottom: 10px; font-size: 15px; }
.ex-picker label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 500; line-height: 1.6; }
.ex-picker select, .ex-picker input:not([type=checkbox]):not([type=radio]) {
  width: 100%; min-width: 0; min-height: 49px; padding: 12px 14px;
  border: 1px solid #dcd5e9; border-radius: 11px; background: #fff; color: #202027; font-size: 16px;
}
.ex-picker label:has(input[type=radio]), .ex-picker label:has(input[type=checkbox]) { display: flex; align-items: start; gap: 10px; font-weight: 400; padding-block: 6px; }
.ex-picker input:is([type=radio], [type=checkbox]) { width: 18px; height: 18px; flex: 0 0 18px; margin: 3px 0 0; accent-color: #6951d8; }
.ex-picker button {
  display: inline-flex; align-items: center; justify-content: center; gap: 15px;
  justify-self: start; padding: 14px 22px; min-height: 50px;
  border: 1px solid transparent; border-radius: 12px; background: #6951d8;
  color: #fff; cursor: pointer; font-weight: 500; line-height: 1.4; white-space: normal;
}
.ex-picker button:disabled { opacity: .65; cursor: default; }
.ex-picker-result { margin-top: 25px; padding: 25px; border: 1px solid #e6dfef; border-radius: 18px; background: #fff; }
.ex-picker-result > :first-child { margin-top: 0; }
.ex-picker-result > :last-child { margin-bottom: 0; }
.ex-picker-result h3 { font-size: 25px; margin: 0 0 14px; }
.ex-picker-result p { color: #666474; font-size: 15px; line-height: 1.75; }
.ex-model { min-width: 0; padding: 18px 0; border-top: 1px solid #e8e5ef; font-size: 15px; line-height: 1.7; }
.ex-model:first-child { border-top: 0; padding-top: 0; }
.ex-model:last-child { padding-bottom: 0; }
.ex-model h3, .ex-model h4 { font-size: 21px; margin: 0 0 8px; font-weight: 500; line-height: 1.35; }
.ex-model p { margin: 6px 0 13px; }
.ex-model a { color: #6951d8; font-weight: 500; }
.ex-model img { max-width: 120px; height: auto; object-fit: contain; border-radius: 12px; }
.ex-table-wrap { max-width: 100%; overflow-x: auto; margin: 25px 0 30px; border: 1px solid #e8e5ef; border-radius: 17px; -webkit-overflow-scrolling: touch; }
.ex-article table, .ex-tools table { width: 100%; border-collapse: collapse; text-align: left; font-size: 15px; line-height: 1.6; }
.ex-table-wrap table { min-width: 560px; }
.ex-article :is(th, td), .ex-tools :is(th, td) { padding: 16px 18px; vertical-align: top; border-bottom: 1px solid #e8e5ef; }
.ex-article th, .ex-tools th { background: #f6f2fc; font-weight: 500; color: #453571; }
.ex-article tr:last-child td, .ex-tools tr:last-child td { border-bottom: 0; }
.ex-article td, .ex-tools td { color: #50505e; }
.ex-checklist { display: grid; gap: 11px; padding: 0; margin: 23px 0; list-style: none; }
.ex-checklist label {
  display: flex; align-items: start; gap: 14px; margin: 0; padding: 18px 20px;
  background: #fff; border: 1px solid #e8e5ef; border-radius: 14px;
  font-size: 16px; line-height: 1.7; font-weight: 400; cursor: pointer;
}
.ex-checklist input[type=checkbox] { flex: 0 0 19px; width: 19px; height: 19px; margin: 4px 0 0; accent-color: #6951d8; }
.ex-checklist label:has(input:checked) { background: #f8f5ff; border-color: #d9cff0; }
.ex-checklist label > :not(input) { min-width: 0; }
.ex-checklist small { display: block; color: #777482; font-size: 13px; }
.ex-filter { display: flex; gap: 9px; flex-wrap: wrap; margin: 23px 0 28px; }
.ex-filter button { padding: 9px 17px; min-height: 43px; border: 1px solid #e2dbea; border-radius: 25px; background: #fff; color: #666474; font: 500 13px/1.5 'IBM Plex Sans', Arial, sans-serif; cursor: pointer; }
.ex-filter button:is([aria-pressed=true], .active) { background: #f1ebff; color: #6951d8; border-color: #cbbcec; }
.ex-home { background: #fff; padding-block: 80px; border-top: 1px solid #f0edf5; }
.ex-home .ex-wrap > h2 { margin: 0 0 22px; font-size: clamp(34px, 4vw, 54px); line-height: 1.12; letter-spacing: -.035em; font-weight: 500; }
.ex-home .ex-lead { font-size: 18px; max-width: 680px; }
.ex-home .ex-card:first-child { background: #faf7ff; border-color: #e8e0f7; }
.ex-home .ex-cards { margin-bottom: 25px; }
.ex-home .ex-wrap > a { color: #6951d8; font-size: 15px; font-weight: 500; }

/* A readable form beside a clearly illustrative, paper-like preview. */
.ex-constructor { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; align-items: start; margin-block: 30px 42px; }
.ex-constructor > * { min-width: 0; }
.ex-constructor-fields { display: grid; gap: 17px; }
.ex-constructor-fields label { display: grid; gap: 9px; color: #282433; font-size: 14px; line-height: 1.55; font-weight: 500; }
.ex-constructor-fields :is(input:not([type=checkbox]):not([type=radio]), select, textarea) { display: block; box-sizing: border-box; width: 100%; min-width: 0; padding: 13px 15px; border: 1px solid #ded9e9; border-radius: 11px; background: #fff; color: #17191c; font: 400 16px/1.5 'IBM Plex Sans', Arial, sans-serif; }
.ex-constructor-fields textarea { min-height: 105px; resize: vertical; }
.ex-constructor-fields :is(input, select, textarea):focus-visible { outline: 3px solid #e6dcff; outline-offset: 2px; border-color: #8d75df; }
.ex-constructor-fields :is(input, textarea)::placeholder { color: #96919f; }
.ex-seal-preview { display: grid; justify-items: center; align-content: start; gap: 17px; min-width: 0; padding: 28px; border: 1px solid #e8e0f5; border-radius: 24px; background: #faf8ff; color: #365399; text-align: center; }
.ex-seal-paper { display: grid; place-items: center; box-sizing: border-box; width: min(100%, 368px); min-width: 0; padding: 23px; border: 1px solid #f0edeb; border-radius: 12px; background: #fff; box-shadow: 0 9px 25px rgba(56, 47, 36, .07), 0 2px 4px rgba(56, 47, 36, .025); }
.ex-seal-preview svg { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 1; color: #365399; }
.ex-constructor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 7px; }
.ex-constructor-actions :is(button, a) { display: inline-flex; justify-content: center; align-items: center; gap: 8px; box-sizing: border-box; max-width: 100%; min-height: 46px; padding: 12px 20px; border: 1px solid #6951d8; border-radius: 10px; background: #6951d8; color: #fff; font: 500 14px/1.5 'IBM Plex Sans', Arial, sans-serif; text-decoration: none; text-align: center; cursor: pointer; }
.ex-constructor-actions :is(.secondary, .ex-secondary, [data-variant=secondary]) { background: #fff; color: #6951d8; border-color: #d9cfef; }
.ex-constructor-actions :is(button, a):focus-visible { outline: 3px solid #cab9f2; outline-offset: 3px; }
.ex-constructor-actions button:disabled { opacity: .55; cursor: not-allowed; }
.ex-helper { margin: 0; color: #777181; font-size: 12px; line-height: 1.7; font-weight: 400; }
.ex-seal-preview > .ex-helper { max-width: 330px; }
.ex-constructor-intro h2 { margin: 0 0 10px; font-size: 26px; line-height: 1.25; font-weight: 500; letter-spacing: -.025em; }
.ex-field-help { margin-top: -10px; }
.ex-constructor-fields .ex-guides-toggle { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 0; font-weight: 400; }
.ex-guides-toggle input { width: 18px; height: 18px; flex: 0 0 18px; margin: 0; accent-color: #6951d8; }
.ex-guides-toggle span { min-width: 0; overflow-wrap: anywhere; }
.ex-label-optional { margin-left: 7px; color: #8c839b; font-size: 12px; font-weight: 400; }
.ex-sample-chooser { min-width: 0; border: 1px solid #e5ddef; border-radius: 15px; background: #fff; }
.ex-sample-chooser > summary { padding: 16px 18px; color: #493b65; cursor: pointer; font-size: 15px; font-weight: 500; line-height: 1.6; }
.ex-sample-chooser > summary span { float: right; color: #857892; font-size: 12px; font-weight: 400; }
.ex-sample-chooser > .ex-helper { padding: 0 17px 15px; }
.ex-constructor-samples { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; max-height: 300px; margin: 0 8px 15px; padding: 5px 9px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.ex-sample-choice { display: grid; gap: 4px; min-width: 0; padding: 7px; border: 1px solid #eee9f3; border-radius: 11px; background: #fff; color: #81768e; cursor: pointer; font-size: 12px; line-height: 1.4; }
.ex-sample-choice img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 5px; }
.ex-sample-choice[aria-pressed=true] { border: 2px solid #6951d8; padding: 6px; background: #f3eeff; color: #5b42be; font-weight: 600; }
.ex-sample-choice:hover { border-color: #ad98e5; }
.ex-sample-navigation { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 10px; width: min(100%, 368px); min-width: 0; }
.ex-sample-navigation :is(button, select) { box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; margin: 0; border: 1px solid #d9cfef; border-radius: 12px; background: #fff; color: #5842b2; font: 500 16px/1.3 'IBM Plex Sans', Arial, sans-serif; cursor: pointer; }
.ex-sample-navigation button { display: grid; place-items: center; padding: 8px; font-size: 25px; line-height: 1; touch-action: manipulation; }
.ex-sample-navigation select { padding: 10px 8px; text-align: center; text-align-last: center; }
.ex-sample-navigation button:hover { background: #eee8fd; border-color: #9b83d9; }
.ex-sample-navigation :is(button, select):focus-visible { outline: 3px solid #aa92e3; outline-offset: 3px; }
.ex-seal-preview > .ex-sample-chooser { box-sizing: border-box; width: 100%; text-align: left; }
.ex-seal-preview .ex-sample-chooser > summary { padding-block: 12px; }
.ex-constructor-jump { display: none; }
@media (min-width: 821px) { .ex-constructor-page .ex-seal-paper { width: min(100%, 368px, max(200px, calc(100dvh - 400px))); } }
@media (max-width: 600px) {
  .ex-constructor-jump { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; color: #6951d8; font-size: 14px; text-underline-offset: 4px; }
  .ex-constructor-fields, .ex-seal-preview { scroll-margin-top: 90px; }
}
.ex-preview-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; width: 100%; gap: 10px; }
.ex-preview-heading .ex-eyebrow { margin: 0; font-size: 10px; }
.ex-preview-heading strong { color: #4f3d76; font-size: 14px; font-weight: 500; }
.ex-seal-art { width: 100%; min-width: 0; }
.ex-seal-diameter { margin: 0; max-width: 100%; color: #655777; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.ex-print-caption { display: none; }
.ex-print-controls { display: grid; justify-items: center; gap: 8px; width: 100%; min-width: 0; }
.ex-print-controls button { max-width: 100%; min-height: 44px; padding: 10px 18px; border: 1px solid #d9cfef; border-radius: 10px; background: #fff; color: #6951d8; font-size: 14px; line-height: 1.5; cursor: pointer; white-space: normal; }
.ex-seal-preview :is(.ex-preview-heading, .ex-seal-original, .ex-constructor-actions) { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.ex-seal-original { width: 100%; padding-top: 2px; color: #6951d8; font-size: 13px; }
.ex-seal-original summary { cursor: pointer; line-height: 1.7; }
.ex-seal-original img { display: block; width: min(100%, 280px); height: auto; margin: 17px auto 0; border: 1px solid #ebe6f1; border-radius: 12px; background: #fff; }
.ex-preview-order { width: 100%; margin: 0; }
.ex-preview-order a { width: 100%; }
.ex-export-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; min-width: 0; gap: 10px; margin: 0; }
.ex-export-actions :is(button, a) { width: 100%; min-width: 0; min-height: 48px; padding: 11px 12px; white-space: normal; overflow-wrap: anywhere; }
.ex-export-tools { width: 100%; min-width: 0; justify-content: center; gap: 8px; margin: -5px 0 0; }
.ex-export-tools button, .ex-brief-tools button { min-width: 0; min-height: 40px; padding: 8px 12px; font-size: 12px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.ex-brief-tools { gap: 8px; margin-top: 3px; }
.ex-share-help { max-width: 100%; overflow-wrap: anywhere; }
.ex-constructor-fields .ex-field-error { margin: -10px 0 0; color: #a43243; font-size: 13px; line-height: 1.6; }
.ex-constructor-fields .ex-field-error[hidden] { display: none; }
.ex-page .ex-constructor-fields input[aria-invalid=true] { border-color: #b94759; background: #fff6f7; box-shadow: 0 0 0 3px #b9475926; }
.ex-page .ex-constructor-fields input[aria-invalid=true]:focus-visible { outline-color: #f4c5ce; border-color: #b94759; }
.ex-label-required { color: #625d6e; font-size: 16px; font-weight: 400; }
.ex-identifier-count { margin: -12px 0 0; color: #625d6e; font-size: 16px; line-height: 1.5; font-variant-numeric: tabular-nums; }
#seal-identifier { letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.ex-location-picker { position: relative; min-width: 0; }
.ex-location-input { position: relative; margin-top: 9px; }
.ex-constructor-fields .ex-location-input input { padding-right: 92px; }
.ex-location-input button { position: absolute; top: 5px; bottom: 5px; width: 38px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #625d6e; font: 400 24px/1 Arial, sans-serif; cursor: pointer; }
.ex-location-input button:hover { background: #f1edfb; color: #49338e; }
.ex-location-input button:focus-visible { outline: 2px solid #6951d8; outline-offset: -2px; }
.ex-location-toggle { right: 5px; }
.ex-location-clear { right: 44px; }
.ex-location-panel { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 10; padding: 8px; border: 1px solid #d8ceee; border-radius: 14px; background: #fff; box-shadow: 0 12px 32px #34205224; }
.ex-location-status { margin: 0; padding: 8px 10px 12px; font-size: 14px; line-height: 1.5; color: #625d6e; }
.ex-location-list { position: relative; max-height: min(300px, 45vh); overflow-y: auto; overscroll-behavior: contain; scroll-behavior: auto; }
.ex-location-option { display: grid; gap: 2px; padding: 10px; border-radius: 8px; color: #282433; cursor: pointer; overflow-wrap: anywhere; }
.ex-location-option strong { font-size: 16px; line-height: 1.5; font-weight: 500; }
.ex-location-option span { font-size: 14px; line-height: 1.5; color: #625d6e; }
.ex-location-option:hover, .ex-location-option[aria-selected=true] { background: #f1edfb; }
.ex-location-help { margin: 9px 0 0; color: #625d6e; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.ex-action-status { box-sizing: border-box; width: 100%; margin: 0; color: #4f3d76; font-size: 13px; line-height: 1.65; text-align: left; overflow-wrap: anywhere; }
.ex-action-status:not(:empty) { padding: 10px 12px; border-left: 3px solid #a992e7; border-radius: 0 8px 8px 0; background: #fff; }
.ex-action-status:empty { height: 0; margin-block: -8px; }
.ex-constructor-more { box-sizing: border-box; width: 100%; min-width: 0; border: 1px solid #e5ddef; border-radius: 14px; background: #fff; color: #493b65; text-align: left; }
.ex-constructor-more > summary { box-sizing: border-box; min-height: 46px; padding: 12px 15px; font-size: 14px; font-weight: 500; line-height: 1.6; cursor: pointer; }
.ex-constructor-more summary:focus-visible { outline: 3px solid #cab9f2; outline-offset: 3px; border-radius: 9px; }
.ex-more-content { display: grid; gap: 16px; min-width: 0; padding: 2px 14px 16px; }
.ex-more-content :is(.ex-export-tools, .ex-brief-tools) { margin: 0; }
.ex-more-content .ex-constructor-actions button { flex: 1 1 130px; min-height: 44px; }
.ex-more-content .ex-print-controls { box-sizing: border-box; padding-top: 16px; border-top: 1px solid #eee9f3; text-align: center; }
.ex-more-content .ex-seal-original summary { box-sizing: border-box; min-height: 44px; padding-block: 11px; }
.ex-preview-order a.ex-secondary { background: transparent; font-size: 13px; }
@media (max-width: 500px) {
  .ex-export-actions { grid-template-columns: minmax(0, 1fr); }
  .ex-export-tools :is(button, a), .ex-brief-tools :is(button, a) { flex: 1 1 130px; }
}
@media (min-width: 821px) { .ex-constructor > .ex-seal-preview { position: sticky; top: 106px; max-height: calc(100dvh - 128px); overflow-y: auto; overscroll-behavior: contain; } }
@media (max-width: 600px) { .ex-constructor-samples { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ex-tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-block: 28px; }
.ex-tool-grid > * { min-width: 0; }

@media (hover: hover) and (pointer: fine) {
  .ex-card:hover { border-color: #cfc0ed; box-shadow: 0 8px 24px rgba(50, 31, 85, .035); }
  .ex-picker button:not(:disabled):hover { background: #5840bd; }
  .ex-filter button:hover { border-color: #cbbcec; color: #6951d8; }
  .ex-constructor-actions :is(button, a):not(:disabled):hover { box-shadow: 0 5px 16px rgba(105, 81, 216, .13); }
}
@media (max-width: 1050px) {
  .ex-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 35px; }
  .ex-toc { padding: 21px; }
  .ex-card { padding: 25px; }
  .ex-card :is(h2, h3, .ex-card-title) { font-size: 23px; }
}
@media (max-width: 820px) {
  .ex-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .ex-layout > aside { position: static; }
  .ex-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .ex-hero { padding-top: 35px; }
  .ex-hero h1 { font-size: clamp(36px, 6vw, 52px); }
  .ex-lead { font-size: 18px; }
  .ex-constructor { gap: 24px; }
  .ex-seal-preview { padding: 22px; }
  .ex-seal-paper { padding: 17px; }
}
@media (max-width: 600px) {
  .ex-wrap { padding-inline: 18px; }
  .ex-breadcrumbs { padding-top: 21px; font-size: 11px; gap: 5px 8px; }
  .ex-hero { padding: 29px 0 30px; }
  .ex-eyebrow { font-size: 10px; letter-spacing: .09em; margin-bottom: 17px; }
  .ex-hero h1 { font-size: clamp(32px, 8vw, 44px); line-height: 1.12; margin-bottom: 21px; }
  .ex-lead { font-size: 16px; line-height: 1.75; }
  .ex-meta { font-size: 11px; gap: 6px 17px; margin-top: 20px; }
  .ex-answer { padding: 22px 21px; font-size: 16px; margin-bottom: 29px; border-radius: 0 17px 17px 0; }
  .ex-answer :is(h2, h3) { font-size: 22px; }
  .ex-layout { padding-bottom: 45px; }
  .ex-article { font-size: 16px; line-height: 1.85; }
  .ex-article h2 { font-size: 29px; margin: 36px 0 17px; }
  .ex-article h3 { font-size: 22px; margin-top: 26px; }
  .ex-article p { margin-bottom: 18px; }
  .ex-article :is(ul, ol) { padding-left: 21px; }
  .ex-cards, .ex-related .ex-cards { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 24px; }
  .ex-card { padding: 25px; border-radius: 19px; }
  .ex-card :is(h2, h3, .ex-card-title) { font-size: 25px; }
  .ex-card :is(p, .ex-card-description) { font-size: 14px; }
  .ex-card :is(.category, .ex-category, .ex-card-category, .ex-eyebrow) { margin-bottom: 15px; }
  .ex-tools { padding: 23px 20px; border-radius: 21px; }
  .ex-picker { gap: 18px; }
  .ex-picker-result { padding: 21px 18px; }
  .ex-picker-result h3 { font-size: 23px; }
  .ex-picker button { width: 100%; justify-self: stretch; }
  .ex-note { padding: 20px; font-size: 14px; }
  .ex-article :is(th, td), .ex-tools :is(th, td) { padding: 14px; font-size: 14px; }
  .ex-table-wrap { margin-block: 22px; }
  .ex-checklist label { padding: 16px; gap: 12px; font-size: 15px; }
  .ex-filter { gap: 7px; }
  .ex-filter button { font-size: 12px; padding: 8px 14px; }
  .ex-sources { margin-top: 34px; font-size: 13px; }
  .ex-sources :is(h2, h3) { font-size: 23px; }
  .ex-related h2 { font-size: 28px; }
  .ex-home { padding-block: 49px; }
  .ex-home .ex-wrap > h2 { font-size: 36px; }
  .ex-home .ex-lead { font-size: 16px; }
  .ex-constructor, .ex-tool-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .ex-constructor { margin-block: 25px 30px; }
  .ex-seal-preview { padding: 20px; border-radius: 19px; }
  .ex-seal-paper { padding: 16px; }
  .ex-constructor-actions { align-items: stretch; }
  .ex-constructor-actions :is(button, a) { flex: 1 1 175px; }
}
@media (prefers-reduced-motion: reduce) {
  .ex-card, .ex-picker *, .ex-filter *, .ex-constructor * { transition: none; animation: none; }
}
@media print {
  .ex-wrap { max-width: none; padding: 0; color: #111; }
  .ex-hero { padding: 12pt 0 16pt; }
  .ex-hero h1 { font-size: 25pt; }
  .ex-eyebrow, .ex-meta { color: #555; }
  .ex-lead { font-size: 12pt; }
  .ex-layout { display: block; padding: 0; }
  .ex-layout > aside { position: static; margin-top: 20pt; }
  .ex-article { font-size: 11pt; line-height: 1.55; }
  .ex-article :is(h2, h3) { break-after: avoid; color: #111; }
  .ex-article h2 { font-size: 18pt; margin-top: 22pt; }
  .ex-article h3 { font-size: 14pt; }
  .ex-article p, .ex-article li { orphans: 3; widows: 3; }
  .ex-answer, .ex-note, .ex-tools, .ex-picker-result, .ex-toc { background: #fff; border-color: #ccc; box-shadow: none; }
  .ex-answer, .ex-note, .ex-checklist label, .ex-model { break-inside: avoid; }
  .ex-checklist label { color: #111; border-color: #bbb; background: #fff; padding: 9pt; font-size: 11pt; }
  .ex-checklist input[type=checkbox] { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .ex-table-wrap { overflow: visible; border-color: #bbb; }
  .ex-table-wrap table { min-width: 0; table-layout: auto; font-size: 9pt; }
  .ex-article :is(th, td), .ex-tools :is(th, td) { padding: 7pt; background: #fff; font-size: 9pt; color: #111; }
  .ex-article tr { break-inside: avoid; }
  .ex-sources a, .ex-article a { color: #111; }
  .ex-sources a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; overflow-wrap: anywhere; }
  .ex-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12pt; }
  .ex-card { box-shadow: none; break-inside: avoid; border-color: #ccc; }
  .ex-constructor { grid-template-columns: 1fr 1fr; gap: 16pt; }
  .ex-seal-preview, .ex-seal-paper { background: #fff; border-color: #ddd; box-shadow: none; break-inside: avoid; }
  .ex-seal-preview svg { color: #365399; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .ex-constructor-actions :is(button, a) { background: #fff; color: #333; border-color: #aaa; box-shadow: none; }
}

/* Integration details shared by the generated pages. */
.ex-skip{position:absolute;left:16px;top:-80px;padding:12px 18px;background:#fff;z-index:100;color:#5840bd;border:2px solid #6951d8;border-radius:10px}
.ex-skip:focus{top:8px}
.ex-page main{padding-bottom:70px}
.ex-toc .pa-action{padding:12px 16px;margin-top:20px;text-align:center}
.ex-article section{scroll-margin-top:110px}
.ex-home-more a{color:#6951d8;font-size:16px;font-weight:500;text-underline-offset:5px}
.ex-constructor-fields .ex-check{display:flex;align-items:center;gap:10px}
.ex-check input{width:18px;height:18px;accent-color:#6951d8}
.ex-seal-paper>p{font-size:10px;letter-spacing:.09em;color:#777181}
.ex-picker fieldset{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:28px;border:1px solid #e8e0f7;border-radius:22px;background:#faf8ff}
.ex-picker legend{padding-inline:8px}
.ex-picker label{display:grid;gap:8px}
.ex-picker button{grid-column:1/-1}
.ex-picker-result:empty{display:none}
@media(max-width:820px){.ex-layout>.ex-toc{grid-row:1}.ex-toc ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px}}
@media(max-width:600px){.ex-picker fieldset{grid-template-columns:1fr;padding:20px}.ex-toc ol{grid-template-columns:1fr}.ex-constructor>.ex-seal-preview{grid-row:1}.ex-page main{padding-bottom:40px}}
@media print{.ex-skip,.ex-page .pa-header,.ex-page .pa-footer,.ex-toc,.ex-related,.ex-constructor-actions{display:none!important}.ex-page main{padding:0}}
.ex-wrap [hidden]{display:none!important}
.picker-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:22px 0}
.picker-card{min-width:0;padding:24px;border:1px solid #e8e5ef;border-radius:19px;background:#fcfbff}
.picker-card__image{display:block;width:150px;height:130px;object-fit:contain;margin:0 auto 20px;border-radius:12px}
.ex-picker-result .picker-card h3{font-size:23px;line-height:1.25;margin-bottom:13px}
.ex-picker-result .picker-card__price{font-size:25px;color:#6951d8;font-weight:600;margin-block:10px}
.picker-card a{color:#6951d8;font-size:14px}
@media(max-width:820px){.picker-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.picker-results{grid-template-columns:1fr}.picker-card{padding:22px}.picker-card__image{height:120px}}

/* The constructor prints a physical proof, not the surrounding web page. */
@page seal-proof { size: auto; margin: 15mm; }
@media print {
  body.ex-constructor-page { page: seal-proof; margin: 0 !important; padding: 0 !important; background: #fff !important; }
  body.ex-constructor-page > :not(main),
  .ex-constructor-page #main > .ex-wrap > :not([data-seal-constructor]),
  .ex-constructor-page [data-seal-constructor] > :not(.ex-seal-preview),
  .ex-constructor-page .ex-seal-preview > :not(.ex-seal-paper):not(.ex-print-caption),
  .ex-constructor-page .ex-seal-paper > :not([data-seal-art]) { display: none !important; }
  .ex-constructor-page :is(#main, #main > .ex-wrap, [data-seal-constructor], .ex-seal-preview, .ex-seal-paper) {
    display: block !important; position: static !important; inset: auto !important;
    width: 40mm !important; min-width: 0 !important; max-width: 40mm !important;
    height: auto !important; min-height: 0 !important; max-height: none !important;
    margin: 0 !important; padding: 0 !important; gap: 0 !important;
    border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
    background: transparent !important; overflow: visible !important; transform: none !important;
  }
  .ex-constructor-page [data-seal-art], .ex-constructor-page [data-seal-art] > svg {
    display: block !important; width: 40mm !important; height: 40mm !important;
    min-width: 40mm !important; max-width: 40mm !important;
    min-height: 40mm !important; max-height: 40mm !important;
    margin: 0 !important; padding: 0 !important; border: 0 !important;
    box-sizing: content-box !important; transform: none !important;
    print-color-adjust: exact; -webkit-print-color-adjust: exact;
  }
  .ex-constructor-page [data-seal-guides] { display: none !important; }
  .ex-constructor-page .ex-print-caption {
    display: block !important; width: 40mm; margin: 2mm 0 0 !important;
    color: #333; font: 8pt/1.3 Arial, sans-serif; text-align: center;
  }
}

/* Home sections use the home grid; article pages retain their reading layout. */
@media screen {
  .ex-home > .ex-wrap { max-width: none; padding-inline: 0; }
  .pa-inner .ex-wrap { padding-inline: 32px; }
}
@media screen and (max-width: 700px) {
  .pa-inner .ex-wrap { padding-inline: 20px; }
}
@media screen and (max-width: 370px) {
  .pa-inner .ex-wrap { padding-inline: 16px; }
}

/* Screen-only reading sizes, separate from the physical 40 mm proof. */
@media screen {
  .ex-page .ex-breadcrumbs { font-size: 14px; line-height: 1.6; color: #625d6e; }
  .ex-page .ex-meta { font-size: 14px; line-height: 1.7; color: #625d6e; }
  .ex-page .ex-eyebrow { font-size: 12px; line-height: 1.5; }
  .ex-page .ex-article { font-size: 18px; line-height: 1.8; }
  .ex-page .ex-lead { font-size: clamp(18px, 2vw, 20px); line-height: 1.75; }
  .ex-page .ex-answer { font-size: 18px; line-height: 1.75; }
  :is(.ex-page, .ex-home) .ex-card :is(p, .ex-card-description),
  .ex-page .ex-picker-result p:not(.picker-card__price),
  .ex-page .ex-model,
  .ex-page .ex-note {
    font-size: 18px;
    line-height: 1.75;
  }
  :is(.ex-page, .ex-home) .ex-card :is(.category, .ex-category, .ex-card-category) {
    font-size: 14px;
    line-height: 1.5;
  }
  :is(.ex-page, .ex-home) .ex-card .ex-eyebrow { font-size: 12px; line-height: 1.5; }
  :is(.ex-page, .ex-home) .ex-card > :is(a, .ex-card-link):last-child,
  .ex-page .picker-card a,
  .ex-page .ex-constructor-jump { font-size: 16px; line-height: 1.5; }
  .ex-page .ex-picker label,
  .ex-page .ex-constructor-fields label { font-size: 16px; line-height: 1.6; }
  .ex-page .ex-picker legend { font-size: 16px; line-height: 1.6; }
  .ex-page .ex-picker button { font-size: 16px; line-height: 1.5; }
  .ex-page .ex-checklist label { font-size: 18px; line-height: 1.7; }
  .ex-page .ex-article table,
  .ex-page .ex-tools table,
  .ex-page .ex-article :is(th, td),
  .ex-page .ex-tools :is(th, td) { font-size: 17px; line-height: 1.6; }
  .ex-page .ex-sources,
  .ex-page .ex-checklist small,
  .ex-page .ex-helper,
  .ex-page .ex-label-optional,
  .ex-page .ex-seal-diameter,
  .ex-page .ex-seal-original,
  .ex-page .ex-constructor-fields .ex-field-error,
  .ex-page .ex-action-status {
    font-size: 16px;
    line-height: 1.7;
  }
  .ex-page .ex-helper,
  .ex-page .ex-label-optional,
  .ex-page .ex-checklist small { color: #625d6e; }
  .ex-page .ex-constructor-fields :is(input, textarea)::placeholder { color: #625d6e; opacity: 1; }
  .ex-page .ex-sources small { font-size: 14px; line-height: 1.6; color: #625d6e; }
  .ex-page .ex-toc a { font-size: 16px; line-height: 1.6; }
  .ex-page .ex-filter button { font-size: 16px; line-height: 1.5; }
  .ex-page .ex-preview-heading .ex-eyebrow,
  .ex-page .ex-seal-paper > p { font-size: 12px; line-height: 1.5; }
  .ex-page .ex-preview-heading strong { font-size: 16px; line-height: 1.5; }
  .ex-page .ex-sample-chooser > summary { font-size: 16px; line-height: 1.6; }
  .ex-page .ex-sample-chooser > summary span { font-size: 14px; line-height: 1.6; color: #625d6e; }
  .ex-page .ex-sample-choice { font-size: 14px; line-height: 1.5; }
  .ex-page .ex-sample-choice:not([aria-pressed=true]) { color: #625d6e; }
  .ex-page .ex-constructor-actions :is(button, a) { font-size: 16px; line-height: 1.5; }
  .ex-page .ex-export-tools button,
  .ex-page .ex-brief-tools button,
  .ex-page .ex-preview-order a.ex-secondary,
  .ex-page .ex-print-controls button { font-size: 16px; line-height: 1.5; }
  .ex-page .ex-constructor-more > summary { font-size: 16px; line-height: 1.6; }
}

/* General sharing stays separate from contacting the workshop. */
@media screen {
  .ex-constructor-page .ex-share-button { display: flex; align-items: center; justify-content: center; gap: 9px; }
  .ex-constructor-page .ex-share-button svg { flex: 0 0 20px; width: 20px; height: 20px; }
  .ex-constructor-page .ex-share-button span { min-width: 0; }
  .ex-constructor-page .ex-master-actions { width: 100%; margin: 0; }
  .ex-constructor-page .ex-master-actions a { width: 100%; min-width: 0; white-space: normal; }
  .ex-constructor-page .ex-share-link-fallback { width: 100%; min-width: 0; padding: 14px; box-sizing: border-box; border: 1px solid #d8ceee; border-radius: 12px; background: #fff; text-align: left; }
  .ex-constructor-page .ex-share-link-fallback[hidden] { display: none; }
  .ex-constructor-page .ex-share-link-fallback label { display: block; margin-bottom: 8px; color: #493b65; font-size: 16px; line-height: 1.5; }
  .ex-constructor-page .ex-share-link-fallback input { box-sizing: border-box; display: block; width: 100%; min-width: 0; min-height: 48px; padding: 10px; border: 1px solid #b5a5d2; border-radius: 8px; background: #fff; color: #282433; font-family: inherit; font-size: 16px; line-height: 1.5; }
  .ex-constructor-page .ex-share-link-fallback input:focus-visible { outline: 3px solid #cab9f2; outline-offset: 2px; }
  .ex-constructor-page .ex-share-link-fallback .ex-helper { margin: 9px 0 0; }
}

@media screen {
  .ex-constructor-page .ex-share-options { display: grid; width: 100%; min-width: 0; gap: 10px; margin: 0; padding: 12px; box-sizing: border-box; border: 1px solid #d8ceee; border-radius: 14px; background: #fff; text-align: left; }
  .ex-constructor-page .ex-share-options[hidden] { display: none; }
  .ex-constructor-page .ex-share-options-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
  .ex-constructor-page .ex-share-options-header strong { font-size: 16px; line-height: 1.5; font-weight: 500; color: #493b65; }
  .ex-constructor-page .ex-share-options-header button { flex: 0 0 40px; min-height: 40px; padding: 4px; font-size: 24px; line-height: 1; }
  .ex-constructor-page .ex-share-channels, .ex-constructor-page .ex-share-alternatives { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
  .ex-constructor-page .ex-share-options :is(.ex-share-channels, .ex-share-alternatives) > * { flex: 1 1 110px; min-width: 0; min-height: 44px; padding: 10px 12px; white-space: normal; overflow-wrap: anywhere; text-align: center; }
  .ex-constructor-page .ex-share-options .ex-picture-share { width: 100%; min-width: 0; min-height: 48px; font-size: 16px; background: #6951d8; color: #fff; }
  .ex-constructor-page .ex-picture-share svg { color: inherit; }
  .ex-constructor-page .ex-share-options svg { flex: 0 0 20px; width: 20px; height: 20px; }
  .ex-constructor-page .ex-share-options .ex-helper { margin: 0; }
  .ex-constructor-page .ex-share-label { margin: 4px 0 0; font-size: 16px; line-height: 1.5; color: #625d6e; }
  .ex-constructor-page .ex-channel-whatsapp { color: #16834a; }
  .ex-constructor-page .ex-channel-telegram { color: #1686b5; }
}
