/*
 * KidHeroArt shared informational-page layout — 2026
 * Page names: Terms, Privacy, Guide, FAQ, Contact, About Us and future help pages.
 * Independent of gallery CSS; never modifies global site navigation or galleries.
 * Reference width: the gallery's 1320px section-shell with 28px side gutters.
 */
body.khp-page-body{
  --khp-ink:#10264a;
  --khp-muted:#687b98;
  --khp-navy:#071934;
  --khp-gold:#ffd267;
  --khp-edge:#dde7f3;
  background:#f7f9fd;
  color:var(--khp-ink);
}
body.khp-page-body.kh-has-bottom-nav{
  padding-bottom:calc(88px + env(safe-area-inset-bottom,0px));
}
.khp-main{min-width:0;overflow:clip;}
.khp-main a:focus-visible{outline:3px solid #ffd267;outline-offset:4px}
.khp-shell{width:100%;max-width:1320px;margin-inline:auto;padding-inline:28px;}
.khp-hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:radial-gradient(circle at 81% 16%,rgba(59,118,249,.32),transparent 29%),
    radial-gradient(circle at 12% 100%,rgba(255,209,99,.095),transparent 35%),
    linear-gradient(123deg,#06152f 0%,#0b2553 55%,#173a76 100%);
  color:#fff;
}
.khp-hero-pattern{
  position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.038) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.038) 1px,transparent 1px);
  background-size:60px 60px;
  mask-image:linear-gradient(90deg,transparent 0%,#000 38%,#000 100%);
}
.khp-hero-shell{padding-top:11.2px;padding-bottom:22.4px;}
.khp-crumbs{display:flex;align-items:center;gap:12px;color:#c0d4f6;font-size:12px;font-weight:700;}
.khp-crumbs a{color:#d7e5fb;transition:color .2s ease;}
.khp-crumbs a:hover{color:#ffdd85;}
.khp-crumbs span[aria-current="page"]{color:#fff;}
.khp-crumb-divider{color:#ffd267;opacity:.85;}
.khp-hero-columns{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(255px,338px);
  align-items:center;gap:54px;min-height:340px;
}
.khp-hero-copy{max-width:840px;min-width:0;padding-top:12px;}
.khp-eyebrow,.khp-section-eyebrow,.khp-card-kicker,.khp-endcard-eyebrow{
  margin:0;font-size:11px;letter-spacing:.15em;font-weight:850;line-height:1.5;
}
.khp-eyebrow{display:flex;align-items:center;gap:10px;color:#ffd267;}
.khp-eyebrow-star{font-size:17px;line-height:1;}
.khp-hero h1{
  margin:15px 0 18px;font-weight:920;letter-spacing:-.052em;
  font-size:clamp(48px,5.25vw,74px);line-height:1.04;color:#fff;
}
.khp-hero-lead{font-size:clamp(16px,1.35vw,18px);line-height:1.7;max-width:720px;color:#cbdaf2;margin:0;}
.khp-hero-actions{margin-top:29px;display:flex;gap:20px;align-items:center;flex-wrap:wrap;}
.khp-button{
  appearance:none;display:inline-flex;align-items:center;justify-content:center;
  gap:18px;min-height:50px;padding:8px 9px 8px 22px;border-radius:14px;
  border:1px solid transparent;text-decoration:none;font-size:13px;line-height:1.2;font-weight:850;
  transition:transform .2s ease,box-shadow .2s ease;
}
.khp-button:hover{transform:translateY(-2px);}
.khp-button-gold{background:linear-gradient(135deg,#ffe19a,#ffd267);color:#102346;box-shadow:0 12px 25px rgba(8,17,37,.13)}
.khp-button-gold:hover{box-shadow:0 18px 28px rgba(8,17,37,.20)}
.khp-button-icon{
  width:35px;height:35px;display:grid;place-items:center;
  border-radius:10px;background:rgba(9,37,89,.10);color:#13336a;
}
.khp-button-icon svg{width:17px;height:17px;transition:transform .2s ease;}
.khp-button:hover .khp-button-icon svg{transform:translateX(3px);}
.khp-hero-link{font-size:13px;font-weight:800;color:#e7efff;display:inline-flex;gap:7px;align-items:center;}
.khp-hero-link span{color:#ffda78;}
.khp-hero-link:hover{text-decoration:underline;text-underline-offset:5px;}
.khp-hero-graphic{position:relative;min-height:310px;display:grid;place-items:center;}
.khp-hero-graphic::before{
  content:"";position:absolute;inset:7% 3%;border:1px solid rgba(255,255,255,.10);border-radius:50%;
  box-shadow:0 0 0 35px rgba(255,255,255,.015),0 0 0 70px rgba(255,255,255,.009);
}
.khp-graphic-card{
  position:relative;width:265px;height:290px;overflow:hidden;
  border-radius:22px;background:#fff;color:#153666;
  border:1px solid rgba(255,255,255,.45);
  transform:rotate(5deg);box-shadow:0 24px 52px rgba(0,7,25,.25),0 0 0 8px rgba(255,255,255,.045);
  padding:18px 22px;
}
.khp-graphic-card-top{display:flex;align-items:center;gap:5px;border-bottom:1px solid #e7edf7;padding-bottom:14px;}
.khp-graphic-card-top span{width:6px;height:6px;border-radius:50%;background:#e2e8f2}
.khp-graphic-card-top span:first-child{background:#ffd267}
.khp-graphic-card-top i{margin-left:auto;font-size:8px;letter-spacing:.09em;font-style:normal;font-weight:900;color:#8190ac}
.khp-graphic-paper-mark{width:47px;height:47px;border-radius:14px;display:grid;place-items:center;background:#eaf2ff;color:#2a61b6;margin-top:20px;}
.khp-graphic-paper-mark svg{width:24px;height:24px;}
.khp-graphic-bar{height:9px;background:#e7edf7;border-radius:10px;margin-top:12px}
.khp-graphic-bar-head{margin-top:18px;width:80%;height:12px;background:#294c83}
.khp-graphic-bar-a{width:100%}.khp-graphic-bar-b{width:89%}.khp-graphic-bar-c{width:66%}
.khp-graphic-rule{height:1px;background:#e7edf7;margin-top:19px}
.khp-graphic-checks{display:flex;gap:11px;margin-top:18px}
.khp-graphic-checks span{width:32px;height:32px;border-radius:10px;background:#f0f7ff;color:#2765ba;display:grid;place-items:center}
.khp-graphic-checks svg{width:16px;height:16px}
.khp-graphic-spark{position:absolute;z-index:2;color:#ffd267;font-size:27px;text-shadow:0 0 30px rgba(255,214,110,.35)}
.khp-spark-a{top:16%;right:1%;}.khp-spark-b{bottom:16%;left:3%;font-size:19px;}
.khp-graphic-float{
  position:absolute;right:0;bottom:24px;z-index:2;display:flex;align-items:center;gap:7px;
  font-size:12px;border-radius:15px;border:1px solid rgba(255,255,255,.24);
  background:rgba(17,52,109,.90);color:#fff;padding:12px 15px;
  box-shadow:0 14px 28px rgba(0,0,0,.13);transform:rotate(-5deg);
}
.khp-graphic-float span{color:#ffdd83}
.khp-document{background:linear-gradient(180deg,#f7f9fd 0%,#fff 85%);padding:54px 0 80px;}
.khp-preview-note{
  display:flex;align-items:center;gap:14px;
  padding:16px 20px;background:#fff8e6;border:1px solid #edd8a7;
  box-shadow:0 7px 30px rgba(116,90,37,.055);border-radius:17px;color:#614e22;
  margin-bottom:42px;
}
.khp-preview-dot{width:11px;height:11px;flex:0 0 11px;border-radius:50%;background:#d69c30;box-shadow:0 0 0 5px rgba(255,205,96,.23)}
.khp-preview-note div{flex:1;min-width:0;}
.khp-preview-note strong{font-size:13px;display:block}
.khp-preview-note p{margin:4px 0 0;font-size:12px;line-height:1.5;color:#7a653c;}
.khp-preview-pill{font-size:10px;font-weight:900;letter-spacing:.09em;padding:7px 10px;background:#ffe6ac;border-radius:8px;color:#674712;}
.khp-section-heading{display:grid;grid-template-columns:minmax(0,1fr) 410px;align-items:end;gap:34px;margin-bottom:28px;}
.khp-section-eyebrow{color:#597baa;}
.khp-section-heading h2{font-size:clamp(26px,3vw,38px);letter-spacing:-.035em;line-height:1.14;font-weight:900;color:#0f2c54;margin:8px 0 0;}
.khp-section-heading>p{margin:0;color:#657993;font-size:14px;line-height:1.7;}
.khp-document-grid{display:grid;grid-template-columns:290px minmax(0,1fr);gap:24px;align-items:start;}
.khp-aside{min-width:0;}
.khp-aside-inner{
  position:sticky;top:116px;overflow:hidden;
  padding:22px 15px 18px;background:#fff;
  border:1px solid #e0e8f4;border-radius:22px;
  box-shadow:0 15px 44px rgba(18,44,86,.07);
}
.khp-aside-title{display:flex;justify-content:space-between;align-items:center;padding:0 9px 14px;color:#46668e;font-size:10px;font-weight:900;letter-spacing:.16em;}
.khp-aside-title-icon{color:#dba440;font-size:17px;}
.khp-toc{display:flex;flex-direction:column;gap:5px;}
.khp-toc-link{display:flex;align-items:center;gap:10px;padding:13px 10px;min-height:46px;border-radius:12px;color:#4a6081;font-size:13px;font-weight:740;line-height:1.3;transition:background .2s ease,color .2s ease;}
.khp-toc-link span{color:#90a0b8;font-size:10px;font-weight:900;letter-spacing:.02em;}
.khp-toc-link:hover,.khp-toc-link:focus-visible{color:#0b3c88;background:#eef4ff;}
.khp-aside-bottom{display:flex;gap:10px;align-items:center;margin:18px 8px 0;padding-top:15px;border-top:1px solid #e5edf6;color:#8a98ab;font-size:11px;}
.khp-aside-bottom-icon{color:#dca63b;font-size:15px;}
.khp-article{min-width:0;display:flex;flex-direction:column;gap:18px;}
.khp-preview-switch{padding:17px 20px;background:#fff;border:1px solid #e1e9f4;border-radius:19px;box-shadow:0 8px 30px rgba(13,45,89,.04);}
.khp-preview-switch>span{display:block;color:#8494a9;font-size:10px;letter-spacing:.13em;font-weight:850;margin-bottom:12px;}
.khp-preview-switch nav{display:flex;flex-wrap:wrap;gap:7px;}
.khp-preview-switch a{padding:8px 13px;font-size:12px;font-weight:800;color:#526987;background:#f1f5fb;border:1px solid #e2eaf5;border-radius:10px;white-space:nowrap;}
.khp-preview-switch a:hover{background:#e6effe;color:#173e85;}
.khp-preview-switch a.is-active{background:#102e63;color:#fff;border-color:#102e63;}
.khp-card{
  background:#fff;border:1px solid #e1e9f3;border-radius:23px;
  padding:29px 33px 31px;box-shadow:0 13px 35px rgba(25,53,96,.057);
  scroll-margin-top:130px;min-width:0;
}
.khp-card-heading{display:flex;align-items:center;gap:18px;min-width:0;}
.khp-card-number{display:grid;place-items:center;flex:0 0 45px;width:45px;height:45px;border:1px solid #e1eaf8;border-radius:14px;background:#edf4ff;color:#2a61ac;font-weight:900;font-size:15px;}
.khp-card-heading-copy{flex:1;min-width:0;}
.khp-card-kicker{color:#8b9ab1;font-size:9px;letter-spacing:.12em;}
.khp-card h2{margin:3px 0 0;font-size:clamp(20px,2vw,25px);line-height:1.24;color:#172e55;letter-spacing:-.025em;font-weight:900;}
.khp-card-status{font-size:9px;font-weight:900;letter-spacing:.04em;padding:9px 10px;border-radius:999px;white-space:nowrap;border:1px solid #dfe9f8;background:#f4f8ff;color:#7d91b0;}
.khp-card-intro{font-size:15px;line-height:1.78;color:#617490;margin:22px 0 0;}
.khp-placeholder{display:flex;flex-direction:column;gap:9px;max-width:710px;margin-top:20px;padding-bottom:2px;}
.khp-placeholder-line{height:9px;border-radius:10px;background:linear-gradient(90deg,#edf1f7,#f4f7fb);}
.khp-example-note{display:flex;gap:14px;background:#f1f6ff;border:1px solid #dce7fa;border-radius:15px;padding:16px 18px;margin-top:24px;align-items:flex-start;}
.khp-note-icon{display:grid;place-items:center;width:33px;height:33px;flex:0 0 33px;color:#bd8b20;background:#fff2ce;border-radius:10px;}
.khp-example-note p{margin:0;color:#60748d;line-height:1.5;font-size:12px;}
.khp-example-note strong{display:block;color:#183b6f;font-size:13px;margin-bottom:3px;}
.khp-example-note span:not(.khp-note-icon){display:block;}
.khp-example-points{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px;}
.khp-example-points div{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:750;color:#567399;}
.khp-example-points span{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#eaf4ff;color:#2d68aa;font-size:12px;}
.khp-endcard{
  display:flex;justify-content:space-between;gap:30px;align-items:center;
  margin-top:38px;padding:30px 35px;overflow:hidden;
  background:radial-gradient(circle at 80% 10%,rgba(76,128,227,.28),transparent 40%),linear-gradient(130deg,#071935,#123875);
  border-radius:24px;color:#fff;box-shadow:0 22px 48px rgba(9,33,80,.15);
}
.khp-endcard-eyebrow{color:#ffda81;}
.khp-endcard h2{font-weight:900;letter-spacing:-.03em;line-height:1.13;font-size:clamp(22px,2vw,30px);margin:9px 0 9px;color:#fff;}
.khp-endcard p:not(.khp-endcard-eyebrow){margin:0;color:#c2d3ed;font-size:13px;line-height:1.65;}
.khp-endcard-actions{display:flex;flex-direction:column;align-items:center;gap:12px;flex:0 0 auto;}
.khp-return-link{display:inline-flex;gap:8px;align-items:center;font-size:12px;font-weight:800;color:#e5efff;}
.khp-return-link svg{width:15px;height:15px;}
.khp-return-link:hover{text-decoration:underline;text-underline-offset:4px;}
@media(max-width:1050px){
  .khp-hero-columns{gap:22px;grid-template-columns:minmax(0,1fr) 280px;}
  .khp-graphic-card{transform:rotate(4deg) scale(.88);}
  .khp-document-grid{grid-template-columns:248px minmax(0,1fr);gap:17px;}
  .khp-card{padding:25px;}
  .khp-section-heading{grid-template-columns:minmax(0,1fr) 350px;}
}
@media(max-width:790px){
  .khp-shell{padding-inline:20px;}
  .khp-hero-shell{padding-top:8.8px;padding-bottom:18.4px;}
  .khp-hero-columns{grid-template-columns:minmax(0,1fr);min-height:0;gap:0;}
  .khp-hero-copy{padding-top:10px;max-width:750px;}
  .khp-hero h1{font-size:clamp(41px,7.5vw,60px);}
  .khp-hero-graphic{display:none;}
  .khp-document{padding-top:40px;}
  .khp-section-heading{grid-template-columns:minmax(0,1fr);gap:8px;}
  .khp-section-heading>p{max-width:650px;}
  .khp-document-grid{display:block;}
  .khp-aside{margin-bottom:20px;}
  .khp-aside-inner{position:relative;top:auto;padding:13px;display:block;}
  .khp-aside-title{padding:0 5px 11px;}
  .khp-toc{display:flex;flex-direction:row;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding-bottom:2px;scrollbar-width:thin;}
  .khp-toc-link{flex:0 0 auto;scroll-snap-align:start;min-height:39px;padding:10px 13px;white-space:nowrap;background:#f2f6fb;border:1px solid #e8eef8;}
  .khp-aside-bottom{display:none;}
  .khp-card{scroll-margin-top:20px;}
  .khp-endcard{align-items:flex-start;flex-direction:column;gap:22px;}
  .khp-endcard-actions{flex-direction:row;align-items:center;justify-content:space-between;width:100%;}
}
@media(max-width:540px){
  body.khp-page-body.kh-has-bottom-nav{padding-bottom:calc(82px + env(safe-area-inset-bottom,0px));}
  .khp-shell{padding-inline:16px;}
  .khp-hero-shell{padding-top:6.4px;padding-bottom:14.4px;}
  .khp-crumbs{font-size:11px;gap:10px;}
  .khp-hero-copy{padding-top:10px;}
  .khp-eyebrow{font-size:9px;letter-spacing:.095em;}
  .khp-hero h1{font-size:clamp(39px,10.4vw,50px);letter-spacing:-.048em;margin:13px 0;}
  .khp-hero-lead{font-size:14px;line-height:1.65;}
  .khp-hero-actions{gap:16px;margin-top:24px;}
  .khp-button{min-height:47px;font-size:12px;padding-left:17px;gap:10px;}
  .khp-button-icon{height:32px;width:32px;}
  .khp-hero-link{font-size:12px;}
  .khp-document{padding:27px 0 38px;}
  .khp-preview-note{padding:13px 15px;gap:10px;align-items:flex-start;margin-bottom:27px;}
  .khp-preview-note strong{font-size:12px;}
  .khp-preview-note p{font-size:11px;}
  .khp-preview-pill{display:none;}
  .khp-section-heading{margin-bottom:20px;}
  .khp-section-heading h2{font-size:26px;}
  .khp-section-heading>p{font-size:12px;line-height:1.65;}
  .khp-aside-inner{border-radius:15px;padding:11px 10px;}
  .khp-aside-title{font-size:9px;}
  .khp-toc-link{font-size:11px;min-height:37px;}
  .khp-article{gap:13px;}
  .khp-preview-switch{padding:13px;border-radius:16px;}
  .khp-preview-switch nav{flex-wrap:nowrap;overflow-x:auto;padding:2px 0 4px;scrollbar-width:thin;}
  .khp-preview-switch a{font-size:11px;}
  .khp-card{padding:19px 17px 22px;border-radius:17px;}
  .khp-card-heading{gap:12px;flex-wrap:wrap;}
  .khp-card-number{width:37px;height:37px;flex-basis:37px;border-radius:11px;font-size:12px;}
  .khp-card h2{font-size:19px;}
  .khp-card-status{margin-left:48px;padding:5px 8px;font-size:8px;}
  .khp-card-intro{font-size:13px;line-height:1.7;margin-top:14px;}
  .khp-placeholder{gap:8px;margin-top:15px;}
  .khp-placeholder-line{height:8px;}
  .khp-example-note{padding:12px;gap:10px;}
  .khp-endcard{margin-top:24px;padding:25px 19px;border-radius:19px;}
  .khp-endcard h2{font-size:24px;}
  .khp-endcard-actions{display:flex;flex-direction:column;align-items:stretch;}
  .khp-return-link{justify-content:center;padding:8px;}
}
@media(prefers-reduced-motion:reduce){
  .khp-main a,.khp-button,.khp-button-icon svg{transition:none!important;}
}

/* Optional content components supported by the same reusable shell. */
.khp-faq-demo{display:flex;flex-direction:column;gap:9px;margin-top:25px;}
.khp-faq-demo details{border:1px solid #e1eaf5;border-radius:13px;background:#f9fbff;padding:14px 16px;color:#20416e;}
.khp-faq-demo summary{cursor:pointer;font-size:13px;font-weight:800;}
.khp-faq-demo summary:focus-visible{outline:2px solid #407acf;outline-offset:4px;}
.khp-faq-demo p{font-size:12px;color:#677b94;line-height:1.7;margin:12px 0 0;}
.khp-contact-demo{margin-top:23px;border:1px solid #dfe8f4;background:#fbfcff;padding:16px;border-radius:16px;display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0;}
.khp-contact-demo legend{color:#7d91aa;font-size:9px;font-weight:900;letter-spacing:.1em;padding-inline:5px;}
.khp-contact-demo>div{min-width:0;}
.khp-contact-demo label{display:block;color:#415d82;font-weight:800;font-size:11px;margin-bottom:8px;}
.khp-contact-demo input,.khp-contact-demo textarea{width:100%;padding:11px;border:1px solid #dde7f4;border-radius:11px;background:#fff;color:#7f92ac;font-size:12px;resize:none;}
.khp-steps-demo{display:flex;gap:10px;margin-top:23px;}
.khp-steps-demo>span{display:flex;align-items:center;gap:8px;flex:1;min-width:0;font-size:12px;font-weight:800;color:#516b91;background:#f4f8ff;border-radius:12px;padding:12px 10px;}
.khp-steps-demo b{font-size:10px;display:grid;place-items:center;background:#fff;color:#2b64b0;border-radius:9px;height:28px;width:28px;flex:0 0 28px;}
@media(max-width:540px){
  .khp-contact-demo{grid-template-columns:1fr;}
  .khp-steps-demo{flex-direction:column;}
}

/* KidHeroArt — Approved layout extended for real informational copy. */
.khp-info-index{padding:18px 20px;background:linear-gradient(145deg,#fff,#f8fbff);border:1px solid #dce7f7;border-radius:18px;box-shadow:0 8px 28px rgba(16,45,83,.04)}
.khp-info-index>p{margin:0 0 12px;color:#244c87;font-size:10px;font-weight:900;letter-spacing:.13em}
.khp-info-index>p span{color:#8b9fb8}
.khp-info-index-links{display:flex;flex-wrap:wrap;gap:8px}
.khp-info-index-links a{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border:1px solid #e0e9f6;border-radius:10px;font-size:12px;font-weight:820;color:#345880;background:#f2f6ff;transition:background .18s,transform .18s}
.khp-info-index-links a:hover{background:#e5efff;transform:translateY(-2px)}
.khp-info-index-links a.khp-info-current{color:#fff;background:#143d78;border-color:#143d78}
.khp-draft-legal{display:flex;gap:13px;align-items:flex-start;background:#fff8e9;border:1px solid #f0dba9;padding:18px 21px;border-radius:17px;color:#664b1b}
.khp-draft-legal>span{color:#c3932d;font-size:25px;line-height:1}
.khp-draft-legal strong{font-size:14px;color:#72500b}
.khp-draft-legal p{font-size:12px;margin:4px 0 0;line-height:1.6;color:#7c6541}
.khp-rich-card{scroll-margin-top:110px}
.khp-rich-body{margin:19px 0 0;font-size:14px;line-height:1.8;color:#506584}
.khp-rich-body>p:first-child{margin-top:0}
.khp-rich-body p{margin:12px 0;line-height:1.78}
.khp-rich-body strong{color:#244878}
.khp-rich-body a{color:#245fba;text-decoration:underline;text-underline-offset:3px;font-weight:800}
.khp-rich-body a:hover{color:#0e3977}
.khp-rich-body ul{padding-left:22px}
.khp-rule-note{margin-top:18px;background:#eef5ff;border:1px solid #d4e5fb;border-radius:15px;padding:14px 18px;color:#365b8a}
.khp-rule-note strong{color:#214b86;font-size:13px}
.khp-rule-note p{font-size:12px;margin:6px 0 0;line-height:1.7}
.khp-rule-note-pending{background:#fff8eb;border-color:#f1dfb7}
.khp-rule-note-pending strong{color:#82621b}
.khp-rule-note-pending p{color:#7b6438}
.khp-step-feature{display:grid;grid-template-columns:53px minmax(0,1fr);gap:15px;align-items:start;background:#f3f7fd;border:1px solid #e1eaf8;border-radius:17px;padding:19px;margin:10px 0 18px}
.khp-step-feature>b{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#153b77;color:#f7d17b;font-size:18px}
.khp-step-feature strong{display:block;font-size:17px;line-height:1.35;color:#203e70}
.khp-step-feature p{margin:4px 0 0}
.khp-tip-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.khp-tip-grid>div{background:#fbfdff;border:1px solid #dfe9f8;border-radius:14px;padding:13px}
.khp-tip-grid strong{display:block;color:#285189;font-size:12px}
.khp-tip-grid span{display:block;margin-top:4px;font-size:11px;line-height:1.5}
.khp-mini-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:19px 0}
.khp-mini-gallery>div{padding:17px 9px;background:linear-gradient(145deg,#153e7c,#102d5b);border-radius:15px;color:#fff;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.khp-mini-gallery b{color:#ffdd84;font-size:23px}.khp-mini-gallery span{font-size:11px;font-weight:750;line-height:1.4}
.khp-rich-body .khp-inline-cta{display:inline-flex;padding:12px 17px;border-radius:12px;color:#102c58;background:#ffdc8e;text-decoration:none}
.khp-search-panel{background:#fff;border:1px solid #d9e6f6;padding:22px;border-radius:20px;box-shadow:0 14px 35px rgba(17,45,83,.07)}
.khp-search-panel>label{display:block;color:#56769e;font-weight:900;letter-spacing:.1em;font-size:10px;margin-bottom:9px}
.khp-faq-search-wrap{display:flex;gap:12px;align-items:center;border:1px solid #cbdcf2;background:#f7faff;border-radius:12px;padding:0 16px;color:#3e65a0}
.khp-faq-search-wrap:focus-within{border-color:#2859af;box-shadow:0 0 0 3px rgba(47,103,196,.11)}
.khp-faq-search-wrap input{flex:1;min-width:0;border:0;outline:0;background:transparent;min-height:50px;font:inherit;color:#183b73;font-size:14px}
.khp-search-count{margin:9px 0 0;font-size:12px;color:#6d83a1}
.khp-faq-item{background:#f8fbff;border:1px solid #dee9f7;border-radius:13px;margin:9px 0 0;overflow:hidden}
.khp-faq-item summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:16px;padding:15px 18px;color:#1d3d70;font-weight:850;font-size:13px;line-height:1.45}
.khp-faq-item summary::-webkit-details-marker{display:none}
.khp-faq-item summary::after{content:'+';margin-left:auto;font-size:21px;color:#4474bc;font-weight:600;line-height:1}
.khp-faq-item[open] summary::after{content:'−'}
.khp-faq-item[open] summary{background:#f0f6ff}
.khp-faq-item summary:focus-visible{outline:3px solid #5b88ca;outline-offset:-3px}
.khp-faq-answer{padding:2px 18px 14px;font-size:13px}
.khp-no-results{padding:20px;background:#fff;border-radius:15px;border:1px solid #deebfa}
.khp-no-results[hidden]{display:none}
.khp-no-results p{color:#73839b;font-size:13px}
.khp-no-results button{border:1px solid #c4d7f0;background:#f2f7ff;color:#234a86;padding:10px 15px;border-radius:12px;font-weight:850;cursor:pointer}
.khp-contact-form{display:flex;flex-direction:column;gap:17px;margin-top:5px}
.khp-contact-form label:not(.khp-form-consent){display:block;color:#345a8c;font-weight:850;font-size:12px}
.khp-form-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.khp-contact-form input:not([type=checkbox]),.khp-contact-form textarea,.khp-contact-form select{width:100%;display:block;background:#fff;border:1px solid #cadaef;border-radius:12px;color:#102f5b;padding:13px 14px;min-height:48px;font-size:13px;margin-top:7px;font-family:inherit;font-weight:550;transition:border-color .18s,box-shadow .18s}
.khp-contact-form textarea{resize:vertical;min-height:130px}
.khp-contact-form :is(input,textarea,select):focus-visible{outline:0;border-color:#275ab5;box-shadow:0 0 0 3px rgba(40,97,189,.14)}
.khp-contact-form label em{font-style:normal;font-weight:500;color:#8295ae}
.khp-form-consent{display:flex;align-items:flex-start;gap:11px;color:#627b98;line-height:1.55;font-size:12px}
.khp-form-consent input{margin-top:4px;width:17px;height:17px;accent-color:#265bb0;flex:0 0 17px}
.khp-contact-form button{align-self:flex-start;cursor:pointer;border:0;font-family:inherit;font-size:12px;font-weight:900}
.khp-contact-clarity{font-size:11px;color:#788ba4;margin:-4px 0 0!important}
.khp-direct-email{font-size:12px;margin-top:18px!important}.khp-direct-email span{display:block;font-size:11px;color:#8697aa}
@media(max-width:700px){.khp-form-two{grid-template-columns:1fr}.khp-tip-grid{grid-template-columns:1fr}.khp-mini-gallery{grid-template-columns:1fr 1fr 1fr}.khp-info-index{padding:15px}.khp-info-index-links a{font-size:11px;padding:8px 10px}.khp-contact-form button{width:100%;justify-content:center}}
@media(max-width:450px){.khp-mini-gallery{grid-template-columns:1fr}.khp-step-feature{grid-template-columns:40px minmax(0,1fr);gap:12px;padding:14px}.khp-step-feature>b{height:38px;width:38px;font-size:14px}}
.khp-rich-card[hidden],.khp-faq-item[hidden]{display:none!important}
.khp-preview-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px}
.khp-preview-tile{position:relative;display:flex;flex-direction:column;gap:8px;min-height:150px;padding:18px;background:linear-gradient(155deg,#f7fbff,#eef4ff);border:1px solid #dce8f8;border-radius:17px;color:#123967;transition:transform .18s,box-shadow .18s,border-color .18s}
.khp-preview-tile:hover{transform:translateY(-3px);border-color:#8cb3ee;box-shadow:0 11px 22px rgba(30,65,118,.11)}
.khp-preview-tile>span{font-size:9px;letter-spacing:.1em;font-weight:900;color:#6380a5}
.khp-preview-tile>strong{font-size:19px;line-height:1.2;color:#153969}
.khp-preview-tile>p{font-size:12px;line-height:1.6;color:#6c809f;margin:0;flex:1}
.khp-preview-tile>b{align-self:flex-end;color:#205ab5;font-size:18px}
@media(max-width:580px){.khp-preview-tiles{grid-template-columns:1fr}}

/* Hide the section navigation only on phone-size screens. Desktop layout remains unchanged. */
@media(max-width:540px){.khp-aside{display:none!important;}}

/* Guide: hide the introductory reading heading on phones only. */
@media (max-width:540px){
  .khp-guide-section-heading{display:none;}
}

/* All six informational pages: compact, fixed three-column navigation on phones. */
@media (max-width:540px){
  .khp-info-index{padding:12px!important;border-radius:15px;}
  .khp-info-index>p{font-size:9px;margin-bottom:10px;}
  .khp-info-index-links{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px;
  }
  .khp-info-index-links a{
    box-sizing:border-box;
    display:flex;
    width:100%;min-width:0;
    align-items:center;justify-content:center;
    padding:10px 3px!important;
    min-height:39px;
    border-radius:10px;
    white-space:nowrap;
    font-size:clamp(10px,2.65vw,12px)!important;
    line-height:1.2;
    letter-spacing:-.012em;
    text-align:center;
  }
}

/* Informational pages: no decorative hero card on desktop. */
.khp-hero-columns{grid-template-columns:minmax(0,1fr);gap:0;min-height:0;}

/* Terms: keep introductory heading on desktop, hide it on phones only. */
@media (max-width: 540px) {
  .khp-section-heading.khp-terms-section-heading { display: none !important; }
}

/* Option 3: alternative one-line hero titles for mobile, original desktop titles retained. */
.khp-title-mobile{display:none;}
@media(max-width:540px){
  .khp-title-desktop{display:none;}
  .khp-title-mobile{display:block;white-space:nowrap;}
  .khp-hero h1{font-size:clamp(26px,8vw,40px);letter-spacing:-.045em;}
}

/* Privacy uses the exact shared heading typography and spacing.
   Desktop heading gets its own full-width row; no font-size or tracking overrides. */
@media (min-width: 791px) {
  .khp-section-heading.khp-privacy-section-heading {
    grid-template-columns: minmax(0, 1fr);
  }
}

.khp-privacy-section-heading>p:empty{display:none!important;}

/* Consistent alternative headings across mobile/portrait tablet widths.
   Keep the full original page title on desktop. */
@media (min-width: 541px) and (max-width: 790px) {
  body.khp-page-body .khp-hero h1 .khp-title-desktop { display:none; }
  body.khp-page-body .khp-hero h1 .khp-title-mobile { display:block; white-space:nowrap; }
  body.khp-page-body .khp-hero h1 {font-size:clamp(27px,5.5vw,43px);letter-spacing:-.045em;}
}
@media (max-width: 540px) {
  body.khp-page-body .khp-hero h1 .khp-title-desktop { display:none; }
  body.khp-page-body .khp-hero h1 .khp-title-mobile { display:block; white-space:nowrap; }
}

/* Contact: use the available row for the complete, unbroken conversation heading. */
.khp-section-heading.khp-contact-section-heading{
  grid-template-columns:minmax(0,1fr);
  container-type:inline-size;
}
.khp-contact-section-heading>div{min-width:0;}
.khp-contact-section-heading h2{
  white-space:nowrap;
  font-size:min(38px,calc(3.8vw - 2.128px));
  font-size:min(38px,3.8cqw);
}

/* Privacy: hide the reading introduction on phones, matching Terms and Guide. */
@media (max-width:540px){
  .khp-section-heading.khp-privacy-section-heading{display:none!important;}
}

/* FAQ, Contact and About: hide only the reading introduction on phones. */
@media (max-width:540px){
  .khp-section-heading.khp-mobile-hide-intro{display:none!important;}
}

/* Contact: larger form text on desktop only. */
@media (min-width:791px){
  .khp-contact-form input:not([type=checkbox]):not(#khpMathAnswer),
  .khp-contact-form select,
  .khp-contact-form textarea{font-size:16px;}
}

/* Informational pages: keyboard-accessible back-to-top control above the fixed menu. */
.khp-back-to-top{
  position:fixed;right:max(16px,env(safe-area-inset-right,0px));
  bottom:calc(100px + env(safe-area-inset-bottom,0px));
  z-index:1700;box-sizing:border-box;width:44px;height:44px;border-radius:50%;
  display:grid;place-items:center;border:1px solid #c9d9ed;
  background:#fff;color:#173f91;text-decoration:none;
  box-shadow:0 4px 16px rgba(7,22,48,.18);
}
.khp-back-to-top:hover{background:#edf4ff;}
.khp-back-to-top:focus-visible{outline:3px solid #d89e24;outline-offset:3px;}
.khp-back-to-top[hidden]{display:none!important;}
@media(prefers-reduced-motion:reduce){
  html:has(body.khp-page-body){scroll-behavior:auto!important;}
}

/* Contact-only button labels and final action placement. */
.khp-contact-page button,
.khp-contact-page .khp-button,
.khp-contact-page .khp-info-index-links a{text-transform:uppercase;}
.khp-contact-page .khp-contact-form button[type=submit]{align-self:flex-end;width:auto;}

/* All informational pages: uppercase button labels, including future/dynamic buttons.
   Keep prose, form values, placeholders, and FAQ question sentences unchanged. */
body.khp-page-body button,
body.khp-page-body input[type=button],
body.khp-page-body input[type=submit],
body.khp-page-body input[type=reset],
body.khp-page-body [role=button],
body.khp-page-body .khp-button,
body.khp-page-body .khp-info-index-links a,
body.khp-page-body .khp-toc-link,
body.khp-page-body .khp-inline-cta,
body.khp-page-body .khp-hero-link,
body.khp-page-body .khp-return-link,
body.khp-page-body .khp-preview-switch a,
body.khp-page-body .kh-global-menu-link-main>b{text-transform:uppercase!important;}

/* Readable information pages: rem-based text respects the reader's font setting.
   Scoped to this shell; galleries, checkout and Studio are not affected.
   Hero typography keeps the original responsive rules above. */
body.khp-page-body{--khp-reading-size:1.125rem;--khp-support-size:1rem;}
body.khp-page-body .khp-main{font-size:var(--khp-reading-size);line-height:1.6;}
body.khp-page-body .khp-main{overflow:visible;overflow-wrap:anywhere;}
body.khp-page-body :is(.khp-rich-body,.khp-card-intro,.khp-faq-answer,.khp-faq-demo p){font-size:var(--khp-reading-size);line-height:1.6;}
body.khp-page-body .khp-rich-body p{line-height:1.6;}
body.khp-page-body :is(.khp-section-heading>p,.khp-endcard p:not(.khp-endcard-eyebrow),.khp-preview-tile>p,.khp-tip-grid span,.khp-rule-note p,.khp-example-note p,.khp-draft-legal p,.khp-no-results p){font-size:var(--khp-support-size);line-height:1.6;}
body.khp-page-body :is(.khp-faq-item summary,.khp-faq-demo summary){font-size:var(--khp-reading-size);line-height:1.45;}
body.khp-page-body :is(.khp-step-feature strong,.khp-preview-tile>strong){font-size:1.1875rem;line-height:1.4;}
body.khp-page-body :is(.khp-tip-grid strong,.khp-rule-note strong,.khp-example-note strong,.khp-draft-legal strong){font-size:1rem;line-height:1.5;}
body.khp-page-body :is(.khp-section-eyebrow,.khp-card-kicker,.khp-endcard-eyebrow,.khp-info-index>p,.khp-aside-title,.khp-aside-bottom,.khp-card-status,.khp-preview-switch>span,.khp-preview-tile>span){font-size:.875rem;letter-spacing:.06em;line-height:1.5;}
body.khp-page-body :is(.khp-mini-gallery span,.khp-example-points div,.khp-search-count,.khp-contact-clarity,.khp-direct-email,.khp-direct-email span,.khp-preview-note p,.khp-preview-note strong){font-size:.875rem;line-height:1.6;}
body.khp-page-body .khp-card-number{font-size:.875rem;}
body.khp-page-body :is(.khp-contact-form label:not(.khp-form-consent),.khp-form-consent,.khp-search-panel>label){font-size:1rem;line-height:1.55;}
body.khp-page-body .khp-contact-form input:not([type=checkbox]),
body.khp-page-body .khp-contact-form select,
body.khp-page-body .khp-contact-form textarea,
body.khp-page-body .khp-faq-search-wrap input{font-size:1rem;line-height:1.5;}
body.khp-page-body #khpMathAnswer{font-size:1rem!important;height:auto!important;min-height:45px!important;line-height:1.5!important;}
body.khp-page-body #khpMathError{font-size:.875rem!important;line-height:1.5;}
body.khp-page-body .khp-math-check{display:block;}
body.khp-page-body .khp-math-row{display:flex;align-items:center;justify-content:flex-start;gap:10px;}
body.khp-page-body .khp-math-row label{flex:0 1 auto;min-width:0;}
body.khp-page-body .khp-math-row #khpMathAnswer{flex:0 0 auto;}
body.khp-page-body .khp-math-check label{white-space:normal!important;max-width:100%;}
body.khp-page-body .khp-contact-form :is(input,textarea)::placeholder{color:#526784;opacity:1;}
body.khp-page-body .khp-card h2{font-size:1.5rem;line-height:1.3;}
body.khp-page-body .khp-section-heading h2{font-size:2rem;line-height:1.25;}
body.khp-page-body .khp-contact-section-heading h2{font-size:2rem;white-space:normal;text-wrap:balance;}
body.khp-page-body .khp-endcard h2{font-size:1.75rem;line-height:1.3;}
body.khp-page-body .khp-info-index-links a{min-height:44px;}
body.khp-page-body .khp-toc-link{min-height:44px;}
body.khp-page-body .khp-info-index-links{align-items:stretch;}
body.khp-page-body .khp-button{flex-wrap:wrap;}
body.khp-page-body .khp-button-icon{flex-shrink:0;}
@media(min-width:791px){
  body.khp-page-body .khp-contact-form input:not([type=checkbox]):not(#khpMathAnswer),
  body.khp-page-body .khp-contact-form select,
  body.khp-page-body .khp-contact-form textarea{font-size:1.125rem;}
}
@media(max-width:790px){
  body.khp-page-body{--khp-reading-size:1rem;--khp-support-size:1rem;}
  body.khp-page-body .khp-card h2{font-size:1.25rem;}
  body.khp-page-body .khp-section-heading h2{font-size:1.75rem;}
  body.khp-page-body .khp-contact-section-heading h2{font-size:1.5rem;}
  body.khp-page-body .khp-endcard h2{font-size:1.5rem;}
  body.khp-page-body .khp-toc-link{white-space:normal;max-width:85vw;}
}
/* Very narrow or enlarged-text layouts prefer reflow over cutting off text. */
@media(max-width:24rem){
  body.khp-page-body .khp-math-check{padding:12px!important;}
}

/* Supporting information must remain legible on the white/light cards. */
body.khp-page-body :is(.khp-card-kicker,.khp-aside-bottom,.khp-search-count,.khp-contact-clarity,.khp-direct-email span,.khp-contact-form label em,.khp-toc-link span,.khp-info-index>p span){color:#526784;}

/* Guide reference-photo illustrations, shared with the photo upload step. */
body.khp-page-body .khp-guide-photo-tips>div{min-width:0;}
body.khp-page-body .khp-guide-photo-tips img{display:block;width:100%;max-width:140px;height:auto;aspect-ratio:1;object-fit:contain;margin:0 auto 12px;border-radius:12px;}
body.khp-page-body .khp-guide-photo-copy{min-width:0;}
@media(max-width:700px){body.khp-page-body .khp-guide-photo-tips>div{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;align-items:start;}body.khp-page-body .khp-guide-photo-tips img{width:88px;max-width:100%;margin:0;}}
@media(max-width:360px){body.khp-page-body .khp-guide-photo-tips>div{grid-template-columns:64px minmax(0,1fr);gap:10px;}body.khp-page-body .khp-guide-photo-tips img{width:64px;}}

/* Section index: keep each two-digit number intact beside a readable label. */
body.khp-page-body .khp-toc-link{
  display:grid;
  grid-template-columns:1.75rem minmax(0,1fr);
  align-items:center;
  column-gap:10px;
  padding:9px 8px;
  min-width:0;
  min-height:44px;
  line-height:1.4;
  white-space:normal;
  word-break:normal;
  overflow-wrap:normal;
}
body.khp-page-body .khp-toc-link>span:first-child{
  display:grid;
  place-items:center;
  width:1.75rem;
  min-width:1.75rem;
  height:1.75rem;
  padding:0;
  border-radius:8px;
  background:#edf4ff;
  color:#315a91;
  font-variant-numeric:tabular-nums;
  letter-spacing:0;
  line-height:1;
  white-space:nowrap;
  word-break:normal;
  overflow-wrap:normal;
}
@media(max-width:790px){
  body.khp-page-body .khp-toc-link{
    flex:0 0 auto;
    width:max-content;
    max-width:min(18rem,85vw);
    padding:8px 10px;
  }
}

/* Keep navigation at its original compact scale; larger article text stays intact. */
body.khp-page-body .khp-rich-body .khp-inline-cta{font-size:14px;}
/* Bottom navigation follows the title-case labels shared across the app. */
body.khp-page-body .kh-bottom-nav .kh-bottom-nav-label,
body.khp-page-body .kh-bottom-nav.kh-digital-nav .kh-bottom-nav-label{text-transform:none!important;}

/* Shared navigation keeps the app typography; reading size belongs to main only.
   Explicit sizes also override earlier info-page styles cached in an open tab. */
body.khp-page-body :is(.kh-global-header,.kh-global-drawer,.kh-bottom-nav){
  font-size:1rem;line-height:normal;
}
body.khp-page-body .kh-global-menu-link-main b{
  font-size:var(--kh-type-help,14px)!important;line-height:1.3;
}
body.khp-page-body .kh-global-menu-link-main small{
  font-size:var(--kh-type-secondary,12px)!important;line-height:1.45;
}
body.khp-page-body .kh-bottom-nav .kh-bottom-nav-label{
  font-size:var(--kh-type-eyebrow,11px)!important;line-height:1.25;
}
body.khp-page-body .khp-info-index-links a{font-size:12px;line-height:normal;}
@media(max-width:620px){
  body.khp-page-body .kh-bottom-nav.kh-has-product-cart .kh-bottom-nav-label{font-size:10px!important;}
}

/* Keep the final card 1px above the fixed navigation at the end of the page.
   The measured value includes borders and the device safe area. */
body.khp-page-body.kh-has-bottom-nav{
  padding-bottom:var(--kh-info-bottom-nav-height,max(88px,calc(85px + env(safe-area-inset-bottom,0px))));
}
body.khp-page-body .khp-document{padding-bottom:1px;}
@media screen and (min-width:791px){
  body.khp-page-body .khp-document{padding-bottom:10px;}
}
body.khp-page-body .khp-endcard{margin-bottom:0;}
@media(max-width:620px){
  body.khp-page-body.kh-has-bottom-nav{
    padding-bottom:var(--kh-info-bottom-nav-height,max(82px,calc(80px + env(safe-area-inset-bottom,0px))));
  }
}
@media print{
  body.khp-page-body.kh-has-bottom-nav{padding-bottom:0;}
}
