/* Shared page edges and readable navigation for public pages. */
:root { --sk-frame: 1080px; --sk-frame-gutter: clamp(16px, 4vw, 32px); }
body header.nav > .nav-in,
body footer.sk-footer216 > .sf-wrap216 {
  box-sizing: border-box;
  width: min(calc(100% - 2 * var(--sk-frame-gutter)), var(--sk-frame)) !important;
  max-width: none !important;
  padding-inline: 0 !important;
  margin-inline: auto !important;
}
body .nav > .nav-in { min-height: 64px; gap: clamp(8px, 1vw, 14px); }
body .nav .nav-tab, body .nav .nav-burger span { font-size: .875rem; }
body .nav .nav-tabs .nav-tab { padding-inline: 7px; }
body .nav .nav-tab { color: #dedbe9; }
body .nav .nav-tab.active { color: white; }
body .nav .nav-burger { min-height: 44px; padding-inline: 7px; }
body .nav .sk-nav-search { width: 44px; height: 44px; }
body :is(.nav,.drawer,.sk-footer216) :is(a,button,summary):focus-visible { outline: 2px solid #d8c8ff; outline-offset: 3px; }
body .sk-footer216 { background: #151528 !important; padding-block: clamp(34px, 5vw, 60px) 24px; }
body .sk-footer216 .sf-top216 { margin-bottom: 24px; }
body .sk-footer216 .sf-brand216 p { max-width: 60ch; color: #d5d2e5; font-size: .9375rem; line-height: 1.55; }
body .sk-footer216 .sf-columns216 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
body .sk-footer216 .sf-columns216 h3 { font-size: 1rem; color: #fff; margin-block: 0 8px; }
body .sk-footer216 :is(.sf-columns216 a,.sf-tools216 a,.sf-bottom216 nav a,.sf-cookie238) {
  font-size: .875rem; color: #d9d6e9; line-height: 1.45; overflow-wrap: anywhere; text-decoration-thickness: 1px; text-underline-offset: .2em;
}
body .sk-footer216 .sf-columns216 a { display: flex; align-items: center; min-height: 32px; padding-block: 3px; }
body .sk-footer216 :is(a,.sf-cookie238):hover { color: #fff; text-decoration: underline; }
body .sk-footer216 .sf-directory216 { margin-top: 22px; }
body .sk-footer216 .sf-directory216 summary { min-height: 48px; color: #f4f1ff; font-size: .9375rem; }
body .sk-footer216 .sf-bottom216 { align-items: start; row-gap: 12px; }
body .sk-footer216 .sf-bottom216 nav { flex-wrap: wrap; gap: 10px 14px; }

/* Legacy guide templates have their own section names. Use the same edge for each. */
body.sk-editorial-layout .sk-editorial-intro > :is(.wrap,.wg-wrap),
body.sk-editorial-layout .sk-editorial-content > :is(.wrap,.wg-wrap),
body.sk-editorial-layout main#content .sp-wrap,
body.sk-editorial-layout main#content .ar-prose,
body[data-platform]:not(.sk-tool-layout) main#content > .sec > .wrap,
body .sk-help-example > .wrap {
  box-sizing: border-box; width: min(calc(100% - 2 * var(--sk-frame-gutter)), var(--sk-frame)) !important;
  max-width: none !important; margin-inline: auto !important; padding-inline: 0 !important;
}
body.sk-editorial-layout .sk-editorial-intro { padding-inline: 0 !important; }
body.sk-editorial-layout .sk-editorial-intro > .wrap { text-align: start !important; }
body.sk-editorial-layout .sk-editorial-content :is(.aw-layout,.rg-layout,.tp-layout,.cg-layout,.gg-layout,.gr-layout),
body.sk-editorial-layout main#content .sp-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
body.sk-editorial-layout main#content :is(.aw-article,.rg-article,.tp-main,.cg-art,.gg-article,.sp-article,.fq-wrap,.prose,.pcontent) { min-width: 0; max-width: none !important; }
body.sk-editorial-layout main#content :is(.aw-side,.rg-side,.tp-side,.cg-toc,.gg-toc,.sp-toc) { position: static; width: auto; }
body.sk-editorial-layout .sk-editorial-content :is(p,li) { line-height: 1.66; }
body.sk-editorial-layout :is(.pcontent,.prose,.aw-article,.rg-article,.cg-art,.gg-article,.sp-article,.fq-wrap,.tp-main,.wg-help,.mt-body) :is(p,li) { overflow-wrap: anywhere; }
body.sk-editorial-layout :is(.pcontent,.prose,.aw-article,.rg-article,.cg-art,.gg-article,.sp-article,.fq-wrap,.tp-main,.wg-help,.ar-prose) > :is(p,ul,ol) { max-width: 92ch; }
body.sk-editorial-layout main#content :is(.gf-guide-note,.gf-guide-section) {
  box-sizing: border-box; width: min(calc(100% - 2 * var(--sk-frame-gutter)), var(--sk-frame)); max-width: none;
  margin: 0 auto clamp(30px,5vw,56px); padding: clamp(16px,3vw,28px);
  border: 1px solid #dddff0; border-radius: 16px; background: #f6f7fc; overflow-wrap: anywhere;
}
body.sk-editorial-layout main#content :is(.gf-guide-note,.gf-guide-section) :is(h2,h3) { margin-block: 0 8px; }
body.sk-editorial-layout main#content :is(.gf-guide-note,.gf-guide-section) p { max-width: 92ch; margin-block: 0 14px; }
.sk-help-example { padding-block: clamp(28px,5vw,50px); background: #f6f7fc; }
.sk-help-example article { padding: clamp(18px,3vw,30px); border: 1px solid #dddff0; border-radius: 18px; background: #fff; overflow-wrap: anywhere; }
.sk-help-example h2 { margin: 0 0 12px; }
.sk-help-example :is(p,li) { max-width: 90ch; line-height: 1.65; }
.sk-help-example ul,.sk-help-example ol { padding-inline-start: 1.3em; }
.sk-help-example a { color: #4c30aa; text-decoration: underline; text-underline-offset: .2em; }
.sk-help-example code { padding: .16em .35em; border-radius: 5px; background: #f1edf9; }
body.sk-tool-layout .sk-profile-guide .profile-guide { box-sizing: border-box; width: min(calc(100% - 2 * var(--sk-frame-gutter)),var(--sk-frame)); max-width: none; padding-inline: 0; }

@media (max-width: 820px) {
  body .sk-footer216 .sf-columns216 { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 440px) {
  body header.nav > .nav-in { width: calc(100% - 20px) !important; gap: 5px !important; }
  body .nav .nav-burger { padding-inline: 4px; }
  body .nav-in .brand { gap: 6px; white-space: nowrap; }
  body .sk-footer216 .sf-columns216 a { min-height: 38px; }
}
@media (max-width: 360px) {
  body .nav .nav-burger { width: 44px; justify-content: center; }
  body .nav .nav-burger span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  body .nav-in .logo-text { font-size: 1rem; }
}
@media print { body .sk-footer216, .sk-help-example { display: none !important; } }

/* ===== v254 polish: stronger header/footer, one content edge everywhere ===== */
body .nav .nav-tabs .nav-tab { font-size: .9375rem; font-weight: 600; letter-spacing: -.005em; }
body .nav .nav-in .logo-text { font-size: 1.22rem; }
body .nav { box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px -18px rgba(0,0,0,.6); }
body .sk-footer216 { border-top: 1px solid #2c2a48; background: radial-gradient(900px 300px at 85% 0%, rgba(108,76,241,.16), transparent 60%), #141427 !important; }
body .sk-footer216 .sf-brand216 p { font-size: 1rem; color: #e2dff0; }
body .sk-footer216 .sf-columns216 { gap: 22px; }
body .sk-footer216 .sf-columns216 h3 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; padding-bottom: 8px; margin-bottom: 6px !important; border-bottom: 1px solid #2d2b49; }
body .sk-footer216 :is(.sf-columns216 a,.sf-tools216 a) { font-size: .9375rem; color: #e1deef; }
body .sk-footer216 :is(.sf-bottom216 nav a,.sf-cookie238) { font-size: .875rem !important; color: #cfcbe2; }
body .sk-footer216 .sf-cookie238 { font: inherit; font-size: .875rem !important; background: none; border: 0; padding: 0; cursor: pointer; }
body .sk-footer216 .sf-directory216 { background: #1b1a33; border-color: #34315a; }
body .sk-footer216 .sf-directory216 summary span:first-child { font-size: 1rem; font-weight: 700; }

/* every guide / info page body uses the same 1080 frame and the same text measure (≈ tool guides) */
body.sk-editorial-layout main#content article.wg-wrap.wg-help,
body.sk-editorial-layout main#content .wg-help { box-sizing: border-box; width: min(calc(100% - 2 * var(--sk-frame-gutter)), var(--sk-frame)) !important; max-width: none !important; margin-inline: auto !important; }
body.sk-editorial-layout main#content .wg-help .wg-panel { max-width: none; }
body.sk-editorial-layout :is(.pcontent,.prose,.aw-article,.rg-article,.cg-art,.gg-article,.sp-article,.fq-wrap,.tp-main,.wg-help,.ar-prose,.mt-body) > :is(p,ul,ol),
body.sk-editorial-layout .prose :is(p,ul,ol) { max-width: 94ch; }
body.sk-editorial-layout :is(.pcontent,.prose) :is(h2) { margin-top: 1.6em; }
/* v254 added content blocks */
.sk-more254 { margin: clamp(26px,4vw,40px) 0 0; padding: clamp(18px,3vw,28px); border: 1px solid #e0e2f0; border-radius: 18px; background: #f8f8fd; }
.sk-more254 > h2 { margin-top: 0 !important; }
.sk-more254 h3 { margin: 1.2em 0 .4em; font-size: 1.12rem; }
.sk-more254 :is(p,li) { max-width: 94ch; line-height: 1.7; }
.sk-more254 table { width: 100%; border-collapse: collapse; margin: 12px 0 16px; font-size: .95rem; background: #fff; }
.sk-more254 th, .sk-more254 td { text-align: left; padding: 10px 12px; border: 1px solid #e3e5f1; vertical-align: top; }
.sk-more254 th { background: #f1effc; }
@media (max-width: 640px) { .sk-more254 table { display: block; overflow-x: auto; } .sk-more254 table tbody, .sk-more254 table thead { display: table; width: 100%; min-width: 560px; } }
body.sk-editorial-layout main.wg-app article.wg-help { box-sizing: border-box; width: min(calc(100% - 2 * var(--sk-frame-gutter)), var(--sk-frame)) !important; max-width: none !important; margin-inline: auto !important; padding-inline: 0 !important; }
body.sk-editorial-layout main.wg-app article.wg-help .wg-panel { max-width: none !important; margin-inline: 0 !important; }
body.sk-editorial-layout main.wg-app > :is(section,div) > .wg-wrap:not(.wg-help) { width: min(calc(100% - 2 * var(--sk-frame-gutter)), var(--sk-frame)) !important; max-width: none !important; }
body.sk-tool-layout main .sec > .wrap.ar-prose { box-sizing: border-box; width: min(calc(100% - 2 * var(--sk-frame-gutter)), var(--sk-frame)) !important; max-width: none !important; margin-inline: auto !important; }
