
/* Codex shokuniku mobile header fit 2026-07-04 */
.sma-skip-link {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sma-skip-link:focus {
  position: fixed !important;
  top: 8px !important;
  left: 8px !important;
  z-index: 10000 !important;
  width: auto !important;
  height: auto !important;
  padding: 8px 12px !important;
  margin: 0 !important;
  clip: auto !important;
  clip-path: none !important;
  background: #fff !important;
  color: #082f4d !important;
  border: 2px solid #082f4d !important;
  border-radius: 6px !important;
}

.sma-head {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  color: #0b2430;
  box-shadow: 0 1px 14px rgba(4, 30, 48, .08);
}

.sma-head,
.sma-head * {
  box-sizing: border-box;
}

.sma-head a {
  color: inherit;
  text-decoration: none;
}

.sma-head-trust {
  display: block;
  background: #082f4d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.sma-head-trust .sma-head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 6px 0;
}

.sma-head-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sma-head-badges span {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  line-height: 1.45;
}

.sma-head-topphone {
  color: #fff !important;
  white-space: nowrap;
}

.sma-head-main {
  background: #fff;
}

.sma-head-main .sma-head-inner {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 12px 0;
}

.sma-head-brand {
  display: flex !important;
  align-items: center;
  width: 300px;
  max-width: 300px;
  line-height: 0;
}

.sma-head-brand img {
  display: block !important;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.sma-head-copy {
  display: grid;
  gap: 2px;
  color: #20394a;
  font-size: 12px;
  line-height: 1.5;
}

.sma-head-copy strong {
  display: block;
  color: #082f4d;
  font-size: 14px;
  line-height: 1.35;
}

.sma-head-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.sma-head-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #082f4d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.sma-head-nav a:hover,
.sma-head-nav a:focus-visible {
  background: #f7f2eb;
}

.sma-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.sma-head-phone {
  display: grid;
  gap: 1px;
  color: #082f4d;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.sma-head-phone strong {
  font-size: 14px;
}

.sma-head-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  background: #a9233d;
  color: #fff !important;
  font-weight: 700;
  white-space: nowrap;
}

.sma-head-mobile {
  display: none;
}

.sma-head details.sma-head-mobile:not([open]) > .sma-head-mobile-panel {
  display: none !important;
}

.sma-head details.sma-head-mobile[open] > .sma-head-mobile-panel {
  position: absolute !important;
  right: 0 !important;
  left: auto !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  width: min(320px, calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px) !important;
  z-index: 50 !important;
}

.sma-head details.sma-head-mobile[open] > .sma-head-mobile-panel a {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

@media (max-width: 960px) {
  .sma-head-trust,
  .sma-head-copy,
  .sma-head-nav,
  .sma-head-actions {
    display: none !important;
  }

  .sma-head-main .sma-head-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
  }

  .sma-head-brand {
    width: min(260px, calc(100vw - 128px));
    max-width: calc(100vw - 128px);
  }

  .sma-head-mobile {
    display: block;
    position: relative;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .sma-head-mobile > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    background: #082f4d;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    list-style: none;
  }

  .sma-head-mobile > summary::-webkit-details-marker {
    display: none;
  }

  .sma-head details.sma-head-mobile[open] > .sma-head-mobile-panel {
    top: calc(100% + 10px);
    padding: 12px !important;
    border: 1px solid rgba(8, 47, 77, .16);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(4, 30, 48, .18);
  }

  .sma-head details.sma-head-mobile[open] > .sma-head-mobile-panel a {
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f7f2eb;
    color: #082f4d !important;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
  }
}

@media (max-width: 340px) {
  .sma-head .sma-head-inner {
    gap: 6px;
  }

  .sma-head .sma-head-brand,
  .sma-head .sma-head-brand img {
    width: 210px !important;
    max-width: 210px !important;
  }

  .sma-head .sma-head-mobile,
  .sma-head .sma-head-mobile > summary {
    width: 70px !important;
  }

  .sma-head .sma-head-mobile > summary {
    padding-inline: 9px !important;
    font-size: 12px !important;
  }

  .l-header__inner.l-container {
    column-gap: 0 !important;
    gap: 0 !important;
  }

  .l-header__logo {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 104px) !important;
    padding-inline: 4px !important;
  }

  .l-header__logo .c-headLogo,
  .l-header__logo .c-headLogo__link {
    width: 100% !important;
    max-width: 100% !important;
  }

  .l-header__customBtn.sp_ {
    display: flex !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    max-width: 44px !important;
    justify-content: center !important;
  }

  .l-header__customBtn.sp_ .c-iconBtn {
    min-width: 44px !important;
    width: 44px !important;
  }
}

/* codex-typography-visibility-20260727 */
html{
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  font-kerning:normal;
}

/* Top page: keep the hero hierarchy, open up dense supporting copy. */
#sma-main .sma2-hero-lead{
  font-size:clamp(15px,1.45vw,18px)!important;
  line-height:1.85!important;
  font-weight:600!important;
  letter-spacing:.012em;
}
.sma2-card p,
.sma2-step p,
.sma-insight-card p{
  font-size:15px!important;
  line-height:1.8!important;
  font-weight:600!important;
  letter-spacing:.012em;
}
.sma-foot-cta p{
  color:#f1ece5!important;
}
.sma-foot-main,
.sma-foot-main :where(p,li,a,span,strong,small){
  color:#f1ece5!important;
}
.sma-foot-main h3{
  color:#fff!important;
}

/* Full-width custom subpages. */
.shoku-gov{
  font-size:16px;
  line-height:1.8;
}
.shoku-gov .sg-wrap{
  width:min(1180px,calc(100% - 32px))!important;
}
.shoku-gov .sg-title{
  max-width:30em;
  margin-block:10px 16px!important;
  font-size:clamp(24px,2.1vw,30px)!important;
  line-height:1.4!important;
  letter-spacing:.012em;
  text-wrap:balance!important;
  line-break:strict!important;
}
.shoku-gov .sg-page-body h3{
  margin-block:0 10px!important;
  font-size:clamp(19px,1.6vw,21px)!important;
  line-height:1.5!important;
}
.shoku-gov .sg-page-body :where(p,li,dt,dd,th,td){
  font-size:clamp(16px,1.25vw,17px);
  line-height:1.85;
  letter-spacing:.012em;
  line-break:strict;
  word-break:normal;
  text-wrap:pretty;
}
.shoku-gov .sg-field-note{
  max-width:48em;
  margin-inline:auto;
  font-size:15px!important;
  line-height:1.8!important;
  letter-spacing:.012em;
}
.shoku-gov .sg-mini-table span,
.shoku-gov :where(.sg-note,.sma-form-note){
  font-size:14px!important;
  line-height:1.75!important;
}
.shoku-gov .sg-table :where(th,td){
  font-size:16px!important;
  line-height:1.75!important;
  word-break:normal!important;
  overflow-wrap:anywhere;
}
.shoku-gov .wpcf7 :where(input:not([type=checkbox]):not([type=radio]),select,textarea),
.shoku-gov .sma-field{
  font-size:16px!important;
  line-height:1.6!important;
}
.shoku-gov .wpcf7 textarea{
  height:clamp(180px,18vw,220px)!important;
  min-height:180px!important;
  max-height:420px;
  resize:vertical;
}
.shoku-gov .wpcf7-list-item label{
  min-height:44px;
  align-items:center;
  gap:8px;
}
.shoku-gov :where(.sg-btn,.wpcf7-submit){
  font-size:16px!important;
  line-height:1.45!important;
  text-wrap:balance;
}
.shoku-gov :where(.sma-foot,.sg-footer) :where(h2,h3){
  margin-block:0 12px!important;
  line-height:1.45!important;
}
.shoku-gov :where(.sma-foot,.sg-footer) small{
  font-size:14px!important;
  line-height:1.7!important;
}

/* About page: remove duplicated theme chrome and restore intended heading contrast. */
#body_wrap.id_1114 :where(.p-breadcrumb,.c-pageTitle){
  display:none!important;
}
#sma-about :where(h1,h2,h3,h4){
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
#sma-about :where(h1,h2,h3,h4)::before,
#sma-about :where(h1,h2,h3,h4)::after{
  display:none!important;
  content:none!important;
}
#sma-about{
  font-size:16px!important;
  line-height:1.8!important;
}
#sma-about h1{
  font-size:clamp(30px,4vw,46px)!important;
  line-height:1.32!important;
}
#sma-about h2{
  font-size:clamp(23px,3vw,33px)!important;
  line-height:1.45!important;
  text-wrap:balance!important;
  line-break:strict!important;
}
#sma-about h3{
  font-size:20px!important;
  line-height:1.5!important;
}
#sma-about :where(.sma-lead,.sma-heading p,.sma-text p,.sma-card p,.sma-faq p,.sma-list li){
  font-size:16px!important;
  line-height:1.85!important;
  letter-spacing:.012em;
}
#sma-about .sma-eyebrow{
  font-size:14px!important;
  line-height:1.7!important;
}
#sma-about .sma-card__tag{
  font-size:13px!important;
}
#sma-about .sma-metric small{
  font-size:14px!important;
  line-height:1.6!important;
}
#sma-about .sma-value strong{
  font-size:16px!important;
}
#sma-about .sma-value span{
  font-size:15px!important;
  line-height:1.75!important;
}
#sma-about .sma-button{
  min-height:50px;
  font-size:16px!important;
  line-height:1.4!important;
  text-wrap:balance;
}

/* Standard articles. */
#body_wrap.single-post .c-postTitle__ttl{
  font-size:clamp(24px,2.4vw,32px);
  line-height:1.45;
  letter-spacing:.018em;
  text-wrap:balance;
  line-break:strict;
}
#body_wrap.single-post .post_content :where(p,li,dd){
  font-size:17px;
  line-height:1.9;
  letter-spacing:.018em;
  text-wrap:pretty;
  line-break:strict;
}
#body_wrap.single-post .post_content>:where(p,ul,ol,blockquote){
  max-width:43em;
  margin-inline:auto;
}
#body_wrap.single-post .post_content>p{
  margin-bottom:1.55em;
}
#body_wrap.single-post .post_content>h2{
  margin-top:3em;
  margin-bottom:1.35em;
  font-size:25px;
  line-height:1.45;
  letter-spacing:.018em;
  text-wrap:balance;
  line-break:strict;
}
#body_wrap.single-post .post_content>h3{
  margin-top:2.3em;
  margin-bottom:1em;
  font-size:20px;
  line-height:1.5;
  letter-spacing:.015em;
  text-wrap:balance;
  line-break:strict;
}
#body_wrap.single-post .post_content li{
  margin-block:.35em;
  line-height:1.8;
}
#body_wrap.single-post .p-articleMetas{
  font-size:12.5px;
  line-height:1.6;
  letter-spacing:.01em;
}
#body_wrap.single-post .p-authorBox__desc{
  font-size:clamp(15px,1.3vw,16px);
  line-height:1.75;
  letter-spacing:.012em;
  text-wrap:pretty;
  line-break:strict;
}
#body_wrap.single-post .p-authorBox__name{
  font-size:17px;
  line-height:1.45;
}
#body_wrap.single-post .seo-internal-cta{
  box-sizing:border-box;
  padding:28px 30px;
  background:#f4f8f7;
  border-left:4px solid var(--color_main);
  border-radius:8px;
}
#body_wrap.single-post .seo-internal-cta-title{
  font-size:20px;
  line-height:1.5;
  font-weight:700;
  letter-spacing:.018em;
  text-wrap:balance;
  line-break:strict;
}
#body_wrap.single-post .seo-internal-cta li{
  margin-block:.45em;
  line-height:1.65;
}

/* Column and model-case archives. */
#body_wrap.category .c-pageTitle{
  font-size:28px;
  line-height:1.4;
  letter-spacing:.018em;
  text-wrap:balance;
  line-break:strict;
}
#body_wrap.category .c-pageTitle__subTitle{
  display:none;
}
#body_wrap.category .p-termHead__desc{
  font-size:16px;
  line-height:1.8;
  letter-spacing:.012em;
  text-wrap:pretty;
  line-break:strict;
}
#body_wrap.category .p-postList__title{
  font-size:18px;
  line-height:1.55;
  letter-spacing:.012em;
  text-wrap:balance;
  line-break:strict;
}
#body_wrap.category .p-postList__excerpt{
  display:-webkit-box!important;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4!important;
  font-size:clamp(14px,1.1vw,15px);
  line-height:1.75;
  letter-spacing:.01em;
  text-wrap:pretty;
  line-break:strict;
}
#body_wrap.category :where(.p-postList__times,.p-postList__meta){
  font-size:12px;
  line-height:1.5;
}

@supports (word-break:auto-phrase){
  .shoku-gov :where(h1,h2,h3,h4,p,li,dt,dd,th,td),
  #sma-about :where(h1,h2,h3,h4,p,li),
  #body_wrap.single-post .post_content :where(h2,h3,p,li,dd),
  #body_wrap.category :where(.c-pageTitle,.p-termHead__desc,.p-postList__title,.p-postList__excerpt){
    word-break:auto-phrase!important;
  }
}

@media (min-width:1080px){
  .shoku-gov .sma-head-nav a{
    padding:6px 8px;
    font-size:13px;
    line-height:1.35;
  }
}

@media (max-width:767px){
  .shoku-gov .sg-page-body{
    padding-block:48px!important;
  }
  .shoku-gov .sg-page-hero h1{
    font-size:clamp(28px,8vw,32px)!important;
    line-height:1.35!important;
  }
  #sma-about h1{
    font-size:30px!important;
  }
  #sma-about h2{
    font-size:23px!important;
  }
  #sma-about h3{
    font-size:18px!important;
  }
  #sma-about .sma-section{
    padding-block:48px!important;
  }
  #body_wrap.single-post .post_content :where(p,li,dd){
    font-size:16px;
    line-height:1.85;
    letter-spacing:.012em;
  }
  #body_wrap.single-post .post_content>p{
    margin-bottom:1.5em;
  }
  #body_wrap.single-post .post_content>h2{
    margin-top:2.5em;
    margin-bottom:1.2em;
    font-size:20px;
    line-height:1.45;
  }
  #body_wrap.single-post .post_content>h3{
    font-size:18px;
  }
  #body_wrap.single-post .seo-internal-cta{
    padding:20px;
  }
  #body_wrap.single-post .seo-internal-cta-title{
    font-size:18px;
  }
  #body_wrap.category .c-pageTitle{
    font-size:22px;
  }
  #body_wrap.category .p-termHead__desc{
    font-size:15.5px;
    line-height:1.8;
  }
  #body_wrap.category .p-postList__title{
    font-size:16px;
    line-height:1.55;
  }
  #body_wrap.category .p-postList__excerpt{
    -webkit-line-clamp:3!important;
    font-size:14px;
    line-height:1.7;
  }
  #body_wrap.category .p-postList__item{
    margin-bottom:28px;
  }
}

/* codex-typography-visibility-final-20260727 */
.shoku-gov .sma-foot-main{
  background:linear-gradient(#202727 0%,#171c1c 100%)!important;
}
.shoku-gov .sma-foot-cta{
  background:linear-gradient(135deg,#202727 0%,#3d3133 58%,#742c39 100%)!important;
}
.shoku-gov label.sma-field>br{
  display:none!important;
}
#body_wrap.single-post .post_content .seo-internal-cta-title{
  line-height:1.5!important;
}

/* codex-footer-cta-visibility-20260727 */
.sma-foot-cta .sma-foot-eyebrow{
  color:#f1ece5!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.5!important;
  letter-spacing:.14em!important;
}
.sma-foot-cta .sma-foot-cta-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  margin-top:22px!important;
}
.sma-foot-cta .sma-foot-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:50px!important;
  padding:12px 24px!important;
  border-radius:999px!important;
  font-size:16px!important;
  font-weight:700!important;
  line-height:1.4!important;
  text-align:center!important;
  text-decoration:none!important;
}
.sma-foot-cta .sma-foot-btn-primary{
  color:#0b2430!important;
  background:#fff!important;
  border:1px solid #fff!important;
  box-shadow:0 8px 22px rgba(0,0,0,.16)!important;
}
.sma-foot-cta .sma-foot-btn-light{
  color:#fff!important;
  background:rgba(255,255,255,.12)!important;
  border:1px solid rgba(255,255,255,.72)!important;
}
@media (max-width:640px){
  .sma-foot-cta .sma-foot-cta-actions{
    flex-direction:column!important;
    align-items:stretch!important;
    margin-top:18px!important;
  }
  .sma-foot-cta .sma-foot-btn{
    width:100%!important;
  }
}

/* Codex: 100vw scrollbar offset fix for custom full-width pages 2026-07-27 */
#body_wrap .post_content > .shoku-gov {
  width: calc(100% + var(--swl-pad_post_content, 0px) + var(--swl-pad_post_content, 0px)) !important;
  margin-left: calc(0px - var(--swl-pad_post_content, 0px)) !important;
}


/* Codex white brand system 2026-08-23
 * Keep the non-transparent official logo visually continuous with the page.
 */
html:root {
  --sma-ink: #1f2937 !important;
  --sma-navy: #002060 !important;
  --sma-blue: #174a7a !important;
  --sma-red: #872a3a !important;
  --sma-green: #335f48 !important;
  --sma-gold: #a6762a !important;
  --sma-paper: #ffffff !important;
  --sma-soft: #f7f9fc !important;
  --sma-mint: #f4f8fb !important;
}

html,
body,
#body_wrap,
.l-content,
.l-mainContent,
.l-mainContent__inner,
.post_content,
.sma-site,
.sma-home-bright {
  background-color: #ffffff !important;
}

/* SWELL header used by pages, posts and category archives. */
html body .l-header,
html body .l-header__inner,
html body .l-header__logo,
html body .c-headLogo,
html body .c-headLogo__link {
  background: #ffffff !important;
}

html body .l-header {
  color: #112a52 !important;
  border-bottom: 1px solid #e4eaf1 !important;
  box-shadow: none !important;
}

html body .l-header__bar {
  color: #ffffff !important;
  background: #002060 !important;
  border: 0 !important;
}

html body .c-headLogo__link img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body .c-gnav > li > a,
html body .c-gnav .ttl {
  color: #112a52 !important;
  font-weight: 700 !important;
}

html body .c-gnav > li > a::after {
  background: #002060 !important;
}

/* Custom header used on the front page and consultation pages. */
html body .sma-head {
  color: #112a52 !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e4eaf1 !important;
  box-shadow: none !important;
}

html body .sma-head-trust {
  color: #ffffff !important;
  background: #002060 !important;
}

html body .sma-head-main,
html body .sma-head-main > .sma-head-inner,
html body .sma-head-brand,
html body .sma-head-brand a {
  background: #ffffff !important;
}

html body .sma-head-brand img {
  display: block !important;
  width: min(300px, 100%) !important;
  max-width: 100% !important;
  height: auto !important;
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body .sma-head-nav a,
html body .sma-head-phone,
html body .sma-head-phone strong {
  color: #112a52 !important;
}

html body .sma-head-nav a:hover,
html body .sma-head-nav a:focus-visible {
  color: #002060 !important;
}

html body .sma-head-cta,
html body .sma2-btn-primary,
html body .sma2-actions .sma2-btn-primary {
  color: #ffffff !important;
  background: #872a3a !important;
  border-color: #872a3a !important;
  box-shadow: 0 8px 20px rgba(135, 42, 58, 0.16) !important;
}

/* Front-page palette: white canvas, cool neutrals and logo navy. */
html body .sma-site {
  color: #1f2937 !important;
}

html body .sma-site :where(h1, h2, h3, h4, strong) {
  color: #17243b;
}

html body .sma-site .sma2-hero {
  background: #ffffff !important;
  border-bottom: 1px solid #edf1f5 !important;
}

html body .sma-site .sma2-hero-panel,
html body .sma-site .sma2-card,
html body .sma-site .sma2-fee-card,
html body .sma-site .sma2-step,
html body .sma-site .sma-insight-card,
html body .sma-site .sma3-value-chain,
html body .sma-site .sma3-value-cards > *,
html body .sma-site .sma2-faq details {
  background: #ffffff !important;
  border-color: #dfe6ee !important;
  box-shadow: 0 10px 30px rgba(0, 32, 96, 0.06) !important;
}

html body .sma-site .sma2-section {
  background: #ffffff !important;
}

html body .sma-site .sma2-section-warm,
html body .sma-site .sma2-section-soft,
html body .sma-site .sma2-section-mint,
html body .sma-site .sma-insights-section {
  background: #f7f9fc !important;
}

html body .sma-site .sma-photo-strip-section {
  background: #ffffff !important;
  border-top: 1px solid #edf1f5 !important;
  border-bottom: 1px solid #edf1f5 !important;
}

html body .sma-site .sma-photo-tile {
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid #dfe6ee !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(0, 32, 96, 0.06) !important;
}

html body .sma-site .sma-photo-caption {
  color: #112a52 !important;
  background: #ffffff !important;
}

html body .sma-site .sma2-kicker,
html body .sma-site .sma2-eyebrow,
html body .sma-site .sma2-panel-kicker {
  color: #872a3a !important;
}

html body .sma-site .sma3-process-side,
html body .sma-site .sma2-cta {
  color: #ffffff !important;
  background: #002060 !important;
}

html body .sma-site .sma3-process-side :where(h2, h3, strong, p, li),
html body .sma-site .sma2-cta :where(h2, h3, strong, p) {
  color: #ffffff !important;
}

/* White-based section variants used by the other landing pages. */
html body .post_content .sma-section {
  color: #1f2937 !important;
}

html body .post_content .sma-section--soft,
html body .post_content .sma-section--mint,
html body .post_content .sma-section--warm {
  background: #f7f9fc !important;
}

/* The official logo also appears in custom footers; keep that area white. */
html body .sma-foot,
html body .sma-foot-main,
html body .sma-foot-brand,
html body .sma-foot-contact,
html body .sma-foot-links,
html body .sma-foot-bottom {
  color: #1f2937 !important;
  background: #ffffff !important;
}

html body .sma-foot-main {
  border-top: 1px solid #e4eaf1 !important;
}

html body .sma-foot :where(h2, h3, strong, p, li, small, a),
html body .sma-foot-main :where(h2, h3, strong, p, li, small, a) {
  color: #1f2937 !important;
}

html body .sma-foot a:hover,
html body .sma-foot a:focus-visible {
  color: #002060 !important;
}

html body .sma-foot-logo,
html body .sma-foot-logo-link {
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body .sma-foot-contact {
  border-color: #dfe6ee !important;
  box-shadow: 0 10px 30px rgba(0, 32, 96, 0.06) !important;
}

html body .sma-foot-bottom {
  border-top: 1px solid #e4eaf1 !important;
}

html body .l-footer {
  color: #1f2937 !important;
  background: #ffffff !important;
  border-top: 1px solid #e4eaf1 !important;
}

html body .l-footer :where(a, p, small) {
  color: #1f2937 !important;
}

@media (max-width: 959px) {
  html body .sma-head-trust {
    display: none !important;
  }

  html body .sma-head-main > .sma-head-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 72px !important;
    height: 72px !important;
    padding-inline: 16px !important;
  }

  html body .sma-head-brand {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    max-width: calc(100% - 58px) !important;
  }

  html body .sma-head-brand img {
    width: min(250px, 100%) !important;
    max-height: 52px !important;
    object-fit: contain !important;
  }

  html body .sma-head-nav,
  html body .sma-head-actions {
    display: none !important;
  }

  html body .sma-head-mobile {
    position: static !important;
    display: block !important;
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 46px !important;
    margin-left: 10px !important;
  }

  html body .sma-head-mobile > summary {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    color: #002060 !important;
    background: #ffffff !important;
    border: 1px solid #cfd9e5 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
  }

  html body .sma-head-mobile-panel {
    top: 72px !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-width: none !important;
    padding: 12px !important;
    background: #ffffff !important;
    border: 1px solid #dfe6ee !important;
    border-radius: 12px !important;
    box-shadow: 0 18px 42px rgba(0, 32, 96, 0.14) !important;
  }

  html body .sma-head-mobile-panel a {
    color: #112a52 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #edf1f5 !important;
  }
}

@media (max-width: 640px) {
  html body {
    overflow-x: clip !important;
  }

  html body .sma2-hero,
  html body .sma2-section,
  html body .sma-foot,
  html body .sma-head {
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  html body .sma-mobile-bar {
    position: fixed !important;
    z-index: 9999 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)) !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, 0.97) !important;
    border-top: 1px solid #dfe6ee !important;
    box-shadow: 0 -8px 24px rgba(0, 32, 96, 0.1) !important;
  }

  html body .sma-mobile-bar a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 10px 8px !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    background: #002060 !important;
    border: 1px solid #002060 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
  }

  html body .sma-mobile-bar a:last-child {
    background: #872a3a !important;
    border-color: #872a3a !important;
  }

  html body:has(.sma-mobile-bar) {
    padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important;
  }
}



/* Codex white brand polish 2026-08-23 */
@media (min-width: 960px) {
  html body .l-header__logo {
    flex: 0 0 240px !important;
    width: 240px !important;
    max-width: 240px !important;
  }
  html body .c-headLogo__link,
  html body .c-headLogo__link img {
    width: 240px !important;
    max-width: 240px !important;
  }
  html body .l-header__gnav {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  html body .c-gnav {
    justify-content: flex-end !important;
  }
  html body .c-gnav > li > a {
    padding-right: 13px !important;
    padding-left: 13px !important;
    font-size: 14px !important;
  }
}

html body .sma-head-phone {
  background: #f7f9fc !important;
  border-color: #dfe6ee !important;
  box-shadow: none !important;
}

html body .sma-foot-main :where(h2, h3, strong, p, li, span, small, a) {
  color: #1f2937 !important;
}
html body .sma-foot-trust,
html body .sma-foot-trust * {
  color: #526173 !important;
}

@media (max-width: 959px) {
  html body .l-header__logo {
    flex: 0 1 230px !important;
    width: min(230px, calc(100vw - 116px)) !important;
    max-width: min(230px, calc(100vw - 116px)) !important;
  }
  html body .c-headLogo__link,
  html body .c-headLogo__link img {
    width: 100% !important;
    max-width: 100% !important;
  }
}



/* Codex white brand safeguards 2026-08-23 */
html body .sma-site .sma3-value-chain {
  color: #ffffff !important;
  background: #002060 !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
}
html body .sma-site .sma3-value-chain :where(h2, h3, h4, p, span, strong, small, li) {
  color: #ffffff !important;
}
html body .shoku-gov .sma-foot-main {
  color: #1f2937 !important;
  background: #ffffff !important;
}
html body .sma-foot-cta,
html body .sma-foot-cta :where(h2, h3, strong, p, span) {
  color: #ffffff !important;
}
html body .sma-foot-cta .sma-foot-btn-light:hover,
html body .sma-foot-cta .sma-foot-btn-light:focus-visible {
  color: #ffffff !important;
}
html body .sma-foot-links section {
  border-color: #dfe6ee !important;
}
html body .sma-head details.sma-head-mobile[open] > .sma-head-mobile-panel {
  top: 72px !important;
  right: 12px !important;
  left: 12px !important;
  width: auto !important;
  max-width: none !important;
}
html body .sma-head-mobile > summary:focus-visible,
html body .sma-head-nav a:focus-visible,
html body .c-gnav a:focus-visible,
html body .sma-mobile-bar a:focus-visible {
  outline: 3px solid #174a7a !important;
  outline-offset: 3px !important;
}
@media (max-width: 640px) {
  html body .sma-site {
    padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important;
  }
}
@media (min-width: 960px) {
  html body .shoku-gov .sma-head-main > .sma-head-inner {
    grid-template-columns: 300px minmax(0, 1fr) auto !important;
    gap: 24px !important;
  }
  html body .shoku-gov .sma-head-copy {
    display: none !important;
  }
  html body .shoku-gov .sma-head-nav {
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  html body .shoku-gov .sma-head-nav > a:nth-child(1),
  html body .shoku-gov .sma-head-nav > a:nth-child(5) {
    display: none !important;
  }
}

/* Codex responsive navigation fixes 2026-08-26 */
@media (max-width: 959px) {
  html body .sma-head .sma-head-mobile {
    flex: 0 0 52px !important;
    width: 52px !important;
    height: 46px !important;
    margin-left: 8px !important;
  }

  html body .sma-head .sma-head-mobile > summary {
    width: 52px !important;
    min-width: 52px !important;
    height: 46px !important;
    padding-inline: 2px !important;
  }

  html body .sma-head-mobile-panel a,
  html body .p-spMenu__nav a {
    min-height: 44px !important;
  }
}

@media (max-width: 340px) {
  html body .sma-head-main > .sma-head-inner {
    width: calc(100% - 16px) !important;
    padding-inline: 8px !important;
    gap: 6px !important;
  }

  html body .sma-head .sma-head-brand {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: calc(100% - 58px) !important;
    min-width: 0 !important;
  }

  html body .sma-head .sma-head-brand img {
    width: 100% !important;
    max-width: 210px !important;
    height: auto !important;
  }

  html body .sma-head .sma-head-mobile {
    flex-basis: 52px !important;
    width: 52px !important;
    margin-left: 0 !important;
  }

  html body .l-header__spNav {
    display: none !important;
  }
}

@media (max-width: 640px) {
  html body:has(.sma-mobile-bar) .p-fixBtnWrap,
  html body:has(.sg-mobile-bar) .p-fixBtnWrap {
    bottom: calc(74px + env(safe-area-inset-bottom)) !important;
  }
}

/* Readable heading on the existing pale owner guide panel. */
html body.home .smr-home-guide > h2 {
  color: #182f43 !important;
  -webkit-text-fill-color: #182f43 !important;
}

/* Readable heading on the existing pale owner guide panel. */
html body #body_wrap.home .smr-home-guide > h2 {
  color: #182f43 !important;
  -webkit-text-fill-color: #182f43 !important;
}

#main_content#main_content#main_content#main_content#main_content header.aj-head a.aj-phone[href='tel:0345600084'] { background:#FFFFFF !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content header.aj-head a.aj-phone[href='tel:0345600084']:hover { background:#F3F6F8 !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content header.aj-head a.aj-phone[href='tel:0345600084']:focus-visible { background:#F3F6F8 !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content header.aj-head a.aj-phone[href='tel:0345600084'] > strong { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content header.aj-head a.aj-phone[href='tel:0345600084']:hover > strong { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content header.aj-head a.aj-phone[href='tel:0345600084']:focus-visible > strong { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }

/* Append after the existing common voices stylesheet. Color roles only. */
html body #ma-owner-voices#ma-owner-voices {
  --voice-ink: #132c46;
  --voice-muted: #526171;
  --voice-line: #d6dde5;
  --voice-paper: #f3f5f7;
  color: #223247 !important;
  -webkit-text-fill-color: #223247 !important;
  background-color: #f3f5f7 !important;
}

html body #ma-owner-voices#ma-owner-voices h2,
html body #ma-owner-voices#ma-owner-voices h3 {
  color: #132c46 !important;
  -webkit-text-fill-color: #132c46 !important;
}

html body #ma-owner-voices#ma-owner-voices .ma-voices-kicker,
html body #ma-owner-voices#ma-owner-voices .ma-voices-intro,
html body #ma-owner-voices#ma-owner-voices .ma-voice-topic,
html body #ma-owner-voices#ma-owner-voices .ma-voices-note {
  color: #526171 !important;
  -webkit-text-fill-color: #526171 !important;
}

html body #ma-owner-voices#ma-owner-voices .ma-voice-card {
  color: #223247 !important;
  -webkit-text-fill-color: #223247 !important;
  background-color: #ffffff !important;
  border-color: #d6dde5 !important;
}

html body #ma-owner-voices#ma-owner-voices blockquote,
html body #ma-owner-voices#ma-owner-voices blockquote p {
  color: #223247 !important;
  -webkit-text-fill-color: #223247 !important;
}

html body #ma-owner-voices#ma-owner-voices .ma-voices-consult {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: #132c46 !important;
  border-color: #132c46 !important;
}

html body #ma-owner-voices#ma-owner-voices .ma-voices-consult:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: #1e4264 !important;
  border-color: #1e4264 !important;
}

html body #ma-owner-voices#ma-owner-voices .ma-voices-consult:focus-visible {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  outline-color: #8a631f;
}


/* Logo surroundings: white footer surfaces, 2026-10-09. */
html body footer.aj-foot,html body footer.ajc-site-footer{background:#fff!important;color:#193a50!important}
html body footer.aj-foot :is(p,a,h2,h3,span,small,strong,.aj-copy),html body footer.ajc-site-footer :is(.ajc-footer-main,.ajc-footer-bottom) :is(p,a,h3,small){color:#193a50!important;-webkit-text-fill-color:#193a50!important;text-shadow:none!important}
html body footer.aj-foot img.aj-foot-logo,html body footer.ajc-site-footer .ajc-footer-logo,html body footer.ajc-site-footer .ajc-footer-logo img{background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;filter:none!important}
html body footer.aj-foot .aj-foot-contact{background:#f2f6f8!important;border-color:#dbe5e9!important}
html body footer.ajc-site-footer .ajc-footer-bottom{background:#fff!important;border-color:#dbe5e9!important}
html body footer.aj-foot .aj-copy{border-color:#dbe5e9!important}

