/* Scoped to the 32 verified Sanmeigaku paths. Native calculation IDs and inputs stay intact. */
.knb-sanmei-page{background:var(--kb-brand-paper,#f7f5f0)}
.knb-sanmei-page #content,.knb-sanmei-page #content-in,.knb-sanmei-page .content-in{max-width:none;width:100%;padding:0;margin-top:0}
.knb-sanmei-page #main.main{width:100%;max-width:none;padding:0;border:0;background:transparent}
.knb-sanmei-page .sidebar{display:none}
.knb-sanmei-page #footer-in.wrap{width:100%;max-width:1180px;padding:0 18px}
.knb-sanmei-page .article{max-width:1180px;width:calc(100% - 64px);margin:0 auto;padding:0}
.knb-sanmei-page .article .entry-title{font-size:13px;line-height:1.8;font-weight:400;margin:24px 0 18px;padding:0;border:0;color:#5b665f}
.knb-sanmei-page .article-header .date-tags,.knb-sanmei-page .eye-catch-wrap,.knb-sanmei-page .article-header .sns-share{display:none}
.knb-sanmei-page .entry-content{margin:0}
.knb-sanmei-page .sg{--sg-ink:#202923;--sg-muted:#59655e;--sg-green:#28594e;--sg-line:#c7d0c8;--sg-paper:#f7f5f0;--sg-white:#fdfcf8;color:var(--sg-ink);font-family:var(--kb-brand-body,'Hiragino Kaku Gothic ProN',sans-serif);font-size:15px;line-height:1.9;overflow-wrap:anywhere;font-synthesis:none}
.knb-sanmei-page .sg *{box-sizing:border-box}
.knb-sanmei-page .sg [hidden],html[data-sg-device=android] .sg-app{display:none!important}
.knb-sanmei-page .sg h2,.knb-sanmei-page .sg h3,.knb-sanmei-page .sg h4{margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--sg-ink);font-weight:500}
.knb-sanmei-page .sg p{margin:0}
.knb-sanmei-page .sg a{color:var(--sg-green);text-decoration-thickness:1px;text-underline-offset:5px}
.knb-sanmei-page .sg button,.knb-sanmei-page .sg input,.knb-sanmei-page .sg select{font:inherit}
.knb-sanmei-page .sg button{cursor:pointer}
.knb-sanmei-page .sg :focus-visible{outline:3px solid var(--sg-green);outline-offset:4px}
.knb-sanmei-page .sg .sg-button{display:inline-flex;justify-content:center;align-items:center;min-height:50px;padding:13px 26px;background:var(--sg-green);border:1px solid var(--sg-green);border-radius:2px;color:#fff;text-decoration:none;font-size:14px;line-height:1.7}
.knb-sanmei-page .sg .sg-button:hover{background:#173f35;border-color:#173f35}
.knb-sanmei-page .sg-kicker{font-size:11px;letter-spacing:.075em;color:var(--sg-muted);line-height:1.8}
.knb-sanmei-page .sg-lead{color:var(--sg-muted);line-height:2.1;font-size:15px}
.knb-sanmei-page.knb-sanmei-tool .sg-intro{display:grid;grid-template-columns:1fr 1fr;gap:12px 8%;padding:32px 0 28px}
.knb-sanmei-page.knb-sanmei-tool .sg-intro>.sg-kicker{grid-column:1/-1}
.knb-sanmei-page.knb-sanmei-tool .sg-intro h2{font-size:44px;margin:0;line-height:1.65}
.knb-sanmei-page.knb-sanmei-tool .sg-intro>.sg-lead{align-self:center;max-width:520px}
.knb-sanmei-page .sg-star-intro>.sg-kicker{font-size:13px}
.knb-sanmei-page .sg-fine{font-size:12px;line-height:1.9;color:var(--sg-muted);margin-top:18px!important}
.knb-sanmei-page .sg-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;border-block:1px solid var(--sg-line);padding:10px 0;font-size:12px}
.knb-sanmei-page .sg-nav>a{color:var(--sg-ink);text-decoration:none;font-size:15px}
.knb-sanmei-page .sg-nav>div{display:flex;gap:28px;align-items:center}
.knb-sanmei-page .sg-nav a{display:inline-flex;align-items:center;min-height:44px}
.knb-sanmei-page .sg-nav a[aria-current=page]{font-weight:600}
.knb-sanmei-page .sg-hero{display:grid;grid-template-columns:1.04fr 1fr;align-items:center;gap:8%;padding:64px 0 80px}
.knb-sanmei-page .sg-hero h2,.knb-sanmei-page .sg-intro h2{font-family:'Hiragino Mincho ProN','Yu Mincho','YuMincho',serif;font-size:clamp(34px,4.7vw,58px);font-weight:500;line-height:1.65;letter-spacing:-.045em;margin:17px 0 24px}
.knb-sanmei-page .sg-hero .sg-button{margin-top:27px}
.knb-sanmei-page .sg-atlas{border-block:1px solid var(--sg-line);padding:24px 0}
.knb-sanmei-page .sg-atlas-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:25px}
.knb-sanmei-page .sg-atlas-heading>span{font-size:11px;color:var(--sg-muted)}
.knb-sanmei-page .sg-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(85px,auto));gap:7px;align-self:start}
.knb-sanmei-page .sg-board-cell{border:1px solid var(--sg-line);border-radius:2px;background:var(--sg-white);padding:13px 6px;text-align:center;min-width:0;color:var(--sg-ink);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;line-height:1.7}
.knb-sanmei-page .sg-board-cell>span{font-size:10px;color:var(--sg-muted)}
.knb-sanmei-page .sg-board-cell>strong{font-size:15px;font-weight:500;color:var(--sg-ink)}
.knb-sanmei-page .sg-board-cell>small{font-size:10px;color:var(--sg-muted)}
.knb-sanmei-page .sg-board-cell:hover{border-color:var(--sg-green)}
.knb-sanmei-page .sg-board-cell[aria-pressed=true]{border:1px solid var(--sg-green);background:var(--sg-green);color:#fff}
.knb-sanmei-page .sg-board-cell[aria-pressed=true]>span,.knb-sanmei-page .sg-board-cell[aria-pressed=true]>strong,.knb-sanmei-page .sg-board-cell[aria-pressed=true]>small{color:#fff}
.knb-sanmei-page .sg-board-north{grid-area:1/2}
.knb-sanmei-page .sg-board-early{grid-area:1/3}
.knb-sanmei-page .sg-board-west{grid-area:2/1}
.knb-sanmei-page .sg-board-center{grid-area:2/2}
.knb-sanmei-page .sg-board-east{grid-area:2/3}
.knb-sanmei-page .sg-board-late{grid-area:3/1}
.knb-sanmei-page .sg-board-south{grid-area:3/2}
.knb-sanmei-page .sg-board-middle{grid-area:3/3}
.knb-sanmei-page .sg-board-context{background:transparent;border-style:dashed}
.knb-sanmei-page .sg-atlas-note{border-top:1px solid var(--sg-line);margin-top:20px;padding-top:17px;min-height:130px}
.knb-sanmei-page .sg-atlas-note strong{font-size:13px;font-weight:500}
.knb-sanmei-page .sg-atlas-note p{font-size:12px;color:var(--sg-muted);line-height:1.9;margin-top:8px}
.knb-sanmei-page .sg-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6%;border-top:1px solid var(--sg-line);padding:34px 0 45px}
.knb-sanmei-page .sg-steps h3{font-size:20px;margin:13px 0 12px;letter-spacing:-.02em}
.knb-sanmei-page .sg-steps article>p:last-child{font-size:13px;line-height:2;color:var(--sg-muted)}
.knb-sanmei-page .sg-section-head{margin-bottom:30px}
.knb-sanmei-page .sg-section-head h2{font-family:'Hiragino Mincho ProN','Yu Mincho',serif;font-size:clamp(25px,3vw,35px);line-height:1.7;margin:11px 0 12px;letter-spacing:-.025em}
.knb-sanmei-page .sg-section-head>p:last-child:not(.sg-kicker){font-size:13px;color:var(--sg-muted)}
.knb-sanmei-page .sg-directory,.knb-sanmei-page .sg-learn{padding:40px 0 60px;border-top:1px solid var(--sg-line)}
.knb-sanmei-page .sg-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 8%}
.knb-sanmei-page .sg-directory-item{display:flex;flex-direction:column;align-items:start;text-decoration:none;border-top:1px solid var(--sg-line);padding-top:21px}
.knb-sanmei-page .sg-directory-item h3{font-size:22px;margin-bottom:15px}
.knb-sanmei-page .sg-directory-item p{font-size:13px;color:var(--sg-muted);margin-bottom:15px}
.knb-sanmei-page .sg-directory-item span{margin-top:auto;font-size:12px;text-decoration:underline;text-underline-offset:5px}
.knb-sanmei-page .sg-learn-link{min-height:44px;display:inline-flex;align-items:center;font-size:14px}
.knb-sanmei-page .sg-app{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:50px;background:#ecefe7;border:1px solid #bdc9bd;padding:36px 40px;margin:30px 0 60px}
.knb-sanmei-page .sg-app-identity{display:flex;align-items:center;gap:15px;margin-bottom:22px}
.knb-sanmei-page .sg-app-identity img{border-radius:11px;flex:none}
.knb-sanmei-page .sg-app-name{font-size:15px;margin-top:2px!important}
.knb-sanmei-page .sg-app h2{font-family:'Hiragino Mincho ProN','Yu Mincho',serif;font-size:clamp(25px,2.5vw,33px);line-height:1.7;letter-spacing:-.03em;margin-bottom:16px}
.knb-sanmei-page .sg-app-copy>p{font-size:13px;color:var(--sg-muted)}
.knb-sanmei-page .sg-app-features{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:12px;padding:0;margin:18px 0 23px;list-style:none;color:var(--sg-ink)}
.knb-sanmei-page .sg-app-features li{border-bottom:1px solid #aebdab;padding-bottom:4px}
.knb-sanmei-page .sg-app-price{font-size:12px!important;margin-top:14px!important;max-width:580px;line-height:1.9}
.knb-sanmei-page .sg-app-plan{font-size:12px;color:var(--sg-muted);margin-top:15px}
.knb-sanmei-page .sg-app-plan summary{min-height:44px;display:list-item;align-content:center;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.knb-sanmei-page .sg-app-plan p{margin-top:8px;max-width:580px}
.knb-sanmei-page .sg-app-desktop{align-self:center;text-align:center;font-size:11px;color:var(--sg-muted);line-height:1.8}
.knb-sanmei-page .sg-app-desktop .sg-qr{display:inline-flex;padding:8px;background:#fff;margin-bottom:13px;min-height:140px}
.knb-sanmei-page .sg-qr img{display:block;width:124px;height:124px}
html[data-sg-device=iphone] .sg-app-desktop,html[data-sg-device=ipad] .sg-app-desktop{display:none}
html[data-sg-device=iphone] .sg-app,html[data-sg-device=ipad] .sg-app{grid-template-columns:1fr}
.knb-sanmei-page .sg-intro{max-width:900px;padding:46px 0 40px}
.knb-sanmei-page .sg-intro .sg-lead{max-width:780px}
.knb-sanmei-page .sg-intro-links{display:flex;gap:25px;flex-wrap:wrap;margin-top:23px;font-size:13px}
.knb-sanmei-page .sg-context{padding:15px 20px;background:#ecefe7;border-left:2px solid var(--sg-green);margin-top:24px;font-size:13px}
.knb-sanmei-page .sg-context a{display:inline-flex;align-items:center;min-height:44px;font-size:12px}
.knb-sanmei-page .sg-calculator .katonobo-sanmeigaku{color:var(--sg-ink);font-size:14px;font-family:inherit;line-height:1.9;max-width:none;margin:0}
.knb-sanmei-page .sg-calculator .katonobo-sanmeigaku__panel{border:1px solid var(--sg-line);border-top:2px solid var(--sg-green);border-radius:2px;padding:28px 32px;background:var(--sg-white);margin:0}
.knb-sanmei-page .sg-calculator .katonobo-sanmeigaku__panel-title{font-size:21px;line-height:1.8;margin-bottom:22px}
.knb-sanmei-page .sg-calculator .katonobo-sanmeigaku__form{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);gap:25px;align-items:end}
.knb-sanmei-page .sg-calculator .katonobo-sanmeigaku__field{min-width:0}
.knb-sanmei-page .sg-calculator label{display:block;font-size:12px;font-weight:500;margin-bottom:8px}
.knb-sanmei-page .sg-calculator input,.knb-sanmei-page .sg-calculator select{min-width:0;width:100%;min-height:50px;border:1px solid #7f9185;background:var(--sg-paper);padding:10px 12px;font-size:16px;color:var(--sg-ink);border-radius:2px;box-shadow:none}
.knb-sanmei-page .sg-calculator button.katonobo-sanmeigaku__submit{background:var(--sg-green);border:1px solid var(--sg-green);color:#fff;min-height:50px;border-radius:2px;font-size:14px;padding:12px 18px}
.knb-sanmei-page .sg-calculator .katonobo-sanmeigaku__privacy{font-size:12px;color:var(--sg-muted);margin:18px 0 0}
.knb-sanmei-page .sg-calculator .katonobo-sanmeigaku__status{font-size:13px;min-height:24px;margin-top:12px}
.knb-sanmei-page .sg-calculator .katonobo-sanmeigaku__status.is-error{color:#a13427}
.knb-sanmei-page .sg-session{margin:16px 0 35px;font-size:12px;color:var(--sg-muted);display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.knb-sanmei-page .sg-session label{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin:0;cursor:pointer;font-weight:400}
.knb-sanmei-page .sg-session input{accent-color:var(--sg-green);width:18px;min-height:18px;height:18px;margin:0}
.knb-sanmei-page .sg-session span{font-size:11px}
.knb-sanmei-page #sg-result{scroll-margin-top:26px}
.knb-sanmei-page .sg-result-heading{padding:40px 0 30px;border-top:1px solid var(--sg-line);margin-top:35px}
.knb-sanmei-page .sg-result-heading h2{font-family:'Hiragino Mincho ProN','Yu Mincho',serif;font-size:clamp(30px,4vw,46px);line-height:1.7;letter-spacing:-.035em;margin:12px 0 15px}
.knb-sanmei-page .sg-result-heading .sg-lead{max-width:820px}
.knb-sanmei-page .sg-chart-instruction{font-size:13px;color:var(--sg-muted);margin-bottom:22px!important}
.knb-sanmei-page .sg-position-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.1fr);gap:7%;align-items:start}
.knb-sanmei-page .sg-result-reading .sg-board{grid-template-rows:repeat(3,minmax(105px,auto))}
.knb-sanmei-page .sg-result-reading .sg-board-cell>strong{font-size:21px;font-family:'Hiragino Mincho ProN','Yu Mincho',serif}
.knb-sanmei-page .sg-result-panel{min-height:480px;border-left:1px solid var(--sg-line);padding-left:30px}
.knb-sanmei-page .sg-result-panel h3,.knb-sanmei-page .sg-position-panel h3{font-size:23px;line-height:1.8;margin:12px 0 16px}
.knb-sanmei-page .sg-position-specific{font-size:14px;line-height:2.1}
.knb-sanmei-page .sg-result-question,.knb-sanmei-page .sg-result-action{margin-top:23px}
.knb-sanmei-page .sg-result-panel h4{font-size:12px;color:var(--sg-green);margin-bottom:7px}
.knb-sanmei-page .sg-result-panel .sg-result-question p,.knb-sanmei-page .sg-result-panel .sg-result-action p{font-size:13px;line-height:2}
.knb-sanmei-page .sg .sg-copy{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #7e9182;color:var(--sg-green);background:transparent;font-size:12px;border-radius:2px;padding:9px 14px;margin-top:23px}
.knb-sanmei-page .sg .sg-copy:disabled,.knb-sanmei-page .sg .sg-board-cell:disabled{cursor:default;opacity:.5}
.knb-sanmei-page .sg-copy-status{display:block;min-height:22px;font-size:11px;color:var(--sg-green);margin-top:7px}
.knb-sanmei-page .sg-result-panel>.sg-text-link{display:inline-flex;align-items:center;min-height:44px;margin-top:15px;font-size:13px}
.knb-sanmei-page .sg-raw{border-block:1px solid var(--sg-line);margin:30px 0;padding:7px 0}
.knb-sanmei-page .sg-raw>summary{min-height:52px;align-content:center;cursor:pointer;font-size:13px}
.knb-sanmei-page .sg-raw .katonobo-sanmeigaku__result-section{border:0;border-top:1px solid var(--sg-line);background:transparent;padding:25px 0;margin:20px 0;border-radius:0}
.knb-sanmei-page .sg-raw .katonobo-sanmeigaku__result-title{font-size:23px;margin-bottom:17px}
.knb-sanmei-page .sg-stale [data-sg-result]{opacity:.65}
.knb-sanmei-page .sg-stale [data-sg-result] .sg-caution{opacity:1}
.knb-sanmei-page .sg-result-next{display:flex;flex-wrap:wrap;gap:25px;font-size:13px;margin-bottom:40px}
.knb-sanmei-page .sg-result-next a{min-height:44px;display:inline-flex;align-items:center}
.knb-sanmei-page .sg-position-reading{border-block:1px solid var(--sg-line);padding:40px 0;margin:25px 0 35px}
.knb-sanmei-page .sg-position-panel{padding-left:30px;border-left:1px solid var(--sg-line);min-height:300px}
.knb-sanmei-page .sg-position-panel>p:not(.sg-kicker){font-size:13px;line-height:2.1;margin-top:14px}
.knb-sanmei-page .sg-position-panels>[data-sg-panel]{margin-bottom:24px}
.knb-sanmei-page .sg-enhanced [data-sg-panel][hidden]{display:none}
.knb-sanmei-page .sg-reading-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 7%;padding:18px 0 35px}
.knb-sanmei-page .sg-reading-block{border-top:1px solid var(--sg-line);padding-top:23px}
.knb-sanmei-page .sg-reading-block h3{font-size:20px;margin-bottom:14px}
.knb-sanmei-page .sg-reading-block p{font-size:14px;line-height:2.1;color:var(--sg-muted)}
.knb-sanmei-page .sg-example{padding:30px 35px;margin:25px 0 35px;border:1px solid var(--sg-line);background:#edf0e8}
.knb-sanmei-page .sg-example>h2{font-family:'Hiragino Mincho ProN','Yu Mincho',serif;font-size:30px;margin:10px 0 18px}
.knb-sanmei-page .sg-example>p:not(.sg-kicker){font-size:14px;max-width:850px}
.knb-sanmei-page .sg-reflection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:35px;margin-top:25px;padding-top:25px;border-top:1px solid var(--sg-line)}
.knb-sanmei-page .sg-reflection h3{font-size:13px;color:var(--sg-green);margin-bottom:10px}
.knb-sanmei-page .sg-reflection p{font-size:14px;line-height:2.1}
.knb-sanmei-page .sg-caution{border-left:2px solid #8e7755;background:#eeece3;padding:14px 20px;font-size:13px;line-height:2;margin:20px 0!important}
.knb-sanmei-page .sg-pair-link{font-size:13px;margin:0 0 25px!important}
.knb-sanmei-page .sg-pair-link a{min-height:44px;display:inline-flex;align-items:center}
.knb-sanmei-page .sg-editorial{font-size:12px;line-height:2;color:var(--sg-muted);padding:20px 0;border-top:1px solid var(--sg-line);margin-bottom:35px}
.knb-sanmei-page .sg-editorial details{margin-top:12px}
.knb-sanmei-page .sg-editorial summary{cursor:pointer;min-height:44px;align-content:center}
.knb-sanmei-page .sg-editorial ul{padding-left:20px}
.knb-sanmei-page .sg-star-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 7%;margin-bottom:40px}
.knb-sanmei-page .sg-star-card{display:flex;flex-direction:column;text-decoration:none;border-top:1px solid var(--sg-line);padding:25px 0;min-width:0}
.knb-sanmei-page .sg-star-card h3{font-family:'Hiragino Mincho ProN','Yu Mincho',serif;font-size:32px;margin:12px 0 17px}
.knb-sanmei-page .sg-star-card h3 small{font:400 11px/1.8 sans-serif;display:inline-block;margin-left:16px;color:var(--sg-muted)}
.knb-sanmei-page .sg-star-card>p:not(.sg-kicker){font-size:13px;color:var(--sg-muted);margin-bottom:18px}
.knb-sanmei-page .sg-star-card>span{font-size:12px;margin-top:auto;text-decoration:underline;text-underline-offset:5px}
.knb-sanmei-page .sg-reference{padding:35px 0;border-top:1px solid var(--sg-line);max-width:900px;margin:30px 0}
.knb-sanmei-page .sg-reference .katonobo-sanmeigaku__section-nav{display:none}
.knb-sanmei-page .sg-reference h2{font-size:22px;margin:32px 0 18px;line-height:1.9}
.knb-sanmei-page .sg-reference h3{font-size:18px;margin:25px 0 14px}
.knb-sanmei-page .sg-reference p{font-size:14px;margin:16px 0;line-height:2.1}
.knb-sanmei-page .sg-reference .ad-area{margin:28px 0}
.knb-sanmei-page .sg-reference .toc{font-size:12px}
.knb-sanmei-page .sg-related{padding:35px 0 55px;border-top:1px solid var(--sg-line)}
.knb-sanmei-page .sg-related h2{font-family:'Hiragino Mincho ProN','Yu Mincho',serif;font-size:29px;margin:12px 0 20px}
.knb-sanmei-page .sg-related>div{display:flex;gap:10px 28px;flex-wrap:wrap;font-size:13px}
.knb-sanmei-page .sg-related a{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:850px){
  .knb-sanmei-page .article{width:calc(100% - 40px)}
  .knb-sanmei-page .sg-hero{gap:5%;padding:42px 0 55px}
  .knb-sanmei-page .sg-position-layout{gap:5%}
  .knb-sanmei-page .sg-result-panel,.knb-sanmei-page .sg-position-panel{padding-left:20px}
  .knb-sanmei-page .sg-app{gap:25px;grid-template-columns:minmax(0,1fr) 155px;padding:28px}
  .knb-sanmei-page .sg-calculator .katonobo-sanmeigaku__form{gap:16px}
}
@media(max-width:650px){
  .knb-sanmei-page.knb-sanmei-tool .sg-intro{grid-template-columns:1fr;padding:26px 0;gap:15px}
  .knb-sanmei-page.knb-sanmei-tool .sg-intro h2{font-size:32px}
  .knb-sanmei-page .article{width:calc(100% - 36px)}
  .knb-sanmei-page .article .entry-title{font-size:11px;margin:17px 0 15px}
  .knb-sanmei-page .sg-nav{gap:10px;font-size:11px;padding:5px 0}
  .knb-sanmei-page .sg-nav>a{font-size:13px;flex:none}
  .knb-sanmei-page .sg-nav>div{gap:13px}
  .knb-sanmei-page .sg-hero{grid-template-columns:1fr;gap:38px;padding:35px 0 40px}
  .knb-sanmei-page .sg-hero h2,.knb-sanmei-page .sg-intro h2{font-size:clamp(30px,8.6vw,42px);margin:14px 0 20px;line-height:1.65}
  .knb-sanmei-page .sg-lead{font-size:14px;line-height:2}
  .knb-sanmei-page .sg-kicker{font-size:10px}
  .knb-sanmei-page .sg-hero .sg-button{margin-top:23px}
  .knb-sanmei-page .sg-board{gap:5px;grid-template-rows:repeat(3,minmax(86px,auto))}
  .knb-sanmei-page .sg-board-cell{padding:10px 3px;gap:5px}
  .knb-sanmei-page .sg-board-cell>span,.knb-sanmei-page .sg-board-cell>small{font-size:10px}
  .knb-sanmei-page .sg-board-cell>strong{font-size:13px}
  .knb-sanmei-page .sg-atlas-heading>span{font-size:10px}
  .knb-sanmei-page .sg-atlas-note{min-height:118px}
  .knb-sanmei-page .sg-steps{grid-template-columns:1fr;gap:24px;padding:28px 0 35px}
  .knb-sanmei-page .sg-steps article{display:grid;grid-template-columns:62px minmax(0,1fr);gap:5px 14px}
  .knb-sanmei-page .sg-steps .sg-kicker{grid-row:1/3;font-size:9px;line-height:2.1}
  .knb-sanmei-page .sg-steps h3{font-size:18px;margin:0 0 5px}
  .knb-sanmei-page .sg-steps article>p:last-child{font-size:12px}
  .knb-sanmei-page .sg-directory-grid,.knb-sanmei-page .sg-reading-grid,.knb-sanmei-page .sg-star-directory,.knb-sanmei-page .sg-reflection{grid-template-columns:1fr;gap:25px}
  .knb-sanmei-page .sg-directory,.knb-sanmei-page .sg-learn{padding:32px 0 40px}
  .knb-sanmei-page .sg-app{grid-template-columns:1fr;padding:25px 22px;gap:25px;margin:25px 0 40px}
  .knb-sanmei-page .sg-app h2{font-size:26px}
  .knb-sanmei-page .sg-app-desktop{display:grid;grid-template-columns:140px minmax(0,1fr);gap:15px;align-items:center;text-align:left}
  .knb-sanmei-page .sg-app-desktop .sg-qr{margin:0}
  .knb-sanmei-page .sg-app .sg-button{width:100%;font-size:13px;padding-inline:10px}
  .knb-sanmei-page .sg-intro{padding:32px 0 28px}
  .knb-sanmei-page .sg-intro-links{gap:10px 20px;font-size:12px}
  .knb-sanmei-page .sg-intro-links a{min-height:44px;display:inline-flex;align-items:center}
  .knb-sanmei-page .sg-calculator .katonobo-sanmeigaku__panel{padding:23px 20px}
  .knb-sanmei-page .sg-calculator .katonobo-sanmeigaku__panel-title{font-size:19px;margin-bottom:19px}
  .knb-sanmei-page .sg-calculator .katonobo-sanmeigaku__form{grid-template-columns:1fr;gap:18px}
  .knb-sanmei-page .sg-calculator input,.knb-sanmei-page .sg-calculator select{font-size:16px;max-width:100%}
  .knb-sanmei-page .sg-session{gap:3px;margin-bottom:28px}
  .knb-sanmei-page .sg-session span{display:block;padding-left:28px}
  .knb-sanmei-page .sg-position-layout{grid-template-columns:1fr;gap:28px}
  .knb-sanmei-page .sg-result-reading .sg-board{grid-template-rows:repeat(3,minmax(95px,auto))}
  .knb-sanmei-page .sg-result-reading .sg-board-cell>strong{font-size:19px}
  .knb-sanmei-page .sg-result-panel,.knb-sanmei-page .sg-position-panel{padding:24px 0 0;border-left:0;border-top:1px solid var(--sg-line);min-height:0}
  .knb-sanmei-page .sg-result-panel h3,.knb-sanmei-page .sg-position-panel h3{font-size:22px}
  .knb-sanmei-page .sg-result-heading{padding:30px 0 23px}
  .knb-sanmei-page .sg-result-heading h2{font-size:31px}
  .knb-sanmei-page .sg-position-reading{padding:30px 0;margin-top:18px}
  .knb-sanmei-page .sg-example{padding:24px 20px;margin:20px 0 25px}
  .knb-sanmei-page .sg-example>h2{font-size:27px}
  .knb-sanmei-page .sg-reference{padding-top:25px}
  .knb-sanmei-page .sg-raw .katonobo-sanmeigaku__pillar-grid{grid-template-columns:1fr}
  .knb-sanmei-page .sg-raw .katonobo-sanmeigaku__human-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){.knb-sanmei-page .sg *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
