.wisc-embed{
  --bg:#f5f4f0;
  --paper:#fff;
  --ink:#17383a;
  --muted:#667477;
  --teal:#154f4b;
  --teal-soft:#e4f0ed;
  --coral:#bd725c;
  --line:#d8dfdc;
  --danger:#a94339;
  --radius:14px;
  --shadow:0 8px 24px rgba(25,58,57,.07)}

.wisc-embed *{
  box-sizing:border-box}
.wisc-embed,.wisc-embed{
  margin:0;
  min-height:100%;
  font-family:"BIZ UDPGothic","Yu Gothic UI","Hiragino Sans",sans-serif;
  color:var(--ink);
  background:var(--bg)}
.wisc-embed{
  min-height:100vh}
.wisc-embed .page{
  width:min(1540px,calc(100% - 36px));
  min-height:100vh;
  margin:auto;
  padding:22px 0;
  display:flex;
  flex-direction:column}
.wisc-embed .topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px}
.wisc-embed .product-heading{
  display:flex;
  align-items:center;
  gap:12px}
.wisc-embed .brand-mark{
  width:34px;
  height:34px;
  flex:0 0 auto}
.wisc-embed .page-title{
  margin:0;
  font-size:25px;
  letter-spacing:.04em}
.wisc-embed .page-subtitle{
  margin:3px 0 0;
  color:var(--muted);
  font-size:12px}
.wisc-embed .page-note{
  margin:0;
  color:var(--muted);
  font-size:12px}
.wisc-embed .version-tabs{
  display:inline-grid;
  grid-template-columns:1fr 1fr;
  gap:3px;
  padding:3px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff}
.wisc-embed .version-tab,.wisc-embed .chart-tab,.wisc-embed .input-tab{
  min-height:38px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:var(--muted);
  font-weight:800;
  cursor:pointer;
  padding:0 14px}
.wisc-embed .version-tab[aria-selected=true],.wisc-embed .input-tab[aria-selected=true]{
  background:var(--teal);
  color:#fff}
.wisc-embed .layout{
  flex:1;
  min-height:0;
  display:grid;
  grid-template-columns:minmax(390px,416px) minmax(0,1fr);
  gap:22px}
.wisc-embed .panel{
  min-height:0;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow)}
.wisc-embed .controls{
  padding:20px;
  overflow:auto}
.wisc-embed .viewer{
  padding:22px;
  display:flex;
  flex-direction:column;
  overflow:hidden}
.wisc-embed .panel-head h2{
  margin:0;
  font-size:19px}
.wisc-embed .panel-head p{
  margin:6px 0 14px;
  color:var(--muted);
  font-size:12px;
  line-height:1.7}
.wisc-embed .panel-head a{
  color:var(--teal)}
.wisc-embed .quick-actions,.wisc-embed .toolbar{
  display:flex;
  flex-wrap:wrap;
  gap:8px}
.wisc-embed .button{
  min-height:40px;
  padding:0 13px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
  color:var(--ink);
  font-weight:700;
  cursor:pointer}
.wisc-embed .button-primary{
  background:var(--teal);
  border-color:var(--teal);
  color:#fff}
.wisc-embed .button-danger-subtle{
  color:var(--danger)}
.wisc-embed .section{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--line)}
.wisc-embed .section:first-of-type{
  margin-top:0;
  padding-top:0;
  border-top:0}
.wisc-embed .section-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px}
.wisc-embed .section-title{
  margin:0;
  font-size:14px}
.wisc-embed .section-note{
  color:var(--muted);
  font-size:11px}
.wisc-embed .collapsible-section>summary{
  cursor:pointer;
  font-weight:800;
  font-size:13px}
.wisc-embed .collapsible-section>summary .section-note{
  float:right;
  font-weight:500}
.wisc-embed .details-body{
  margin-top:12px}
.wisc-embed .meta-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px}
.wisc-embed .field{
  display:grid;
  gap:6px}
.wisc-embed .field--wide{
  grid-column:1/-1}
.wisc-embed .field label{
  font-size:11px;
  color:var(--muted)}
.wisc-embed input,.wisc-embed textarea,.wisc-embed select,.wisc-embed button{
  font:inherit}
.wisc-embed input[type=text],.wisc-embed input[type=date],.wisc-embed input[type=number],.wisc-embed textarea,.wisc-embed select{
  width:100%;
  padding:9px 10px;
  border:1px solid #bdcbc7;
  border-radius:8px;
  background:#fff;
  color:var(--ink)}
.wisc-embed textarea{
  min-height:104px;
  resize:vertical}
.wisc-embed .input-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4px;
  padding:4px;
  margin-bottom:12px;
  background:#edf2ef;
  border-radius:10px}
.wisc-embed .input-panel[hidden]{
  display:none}
.wisc-embed .composite-score-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px}
.wisc-embed .score-field{
  display:grid;
  gap:5px;
  padding:10px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fbfcfa}
.wisc-embed .score-field .field-short{
  font-size:12px;
  font-weight:800}
.wisc-embed .field-code{
  color:var(--muted);
  font-size:10px;
  margin-left:4px}
.wisc-embed .score-field input{
  text-align:center;
  font-weight:800}
.wisc-embed .field-error{
  min-height:15px;
  color:var(--danger);
  font-size:10px}
.wisc-embed .score-group-panel{
  border:1px solid var(--line);
  border-radius:11px;
  margin:8px 0;
  background:#fbfcfa}
.wisc-embed .score-group-panel>summary{
  padding:11px 12px;
  cursor:pointer;
  font-weight:800;
  font-size:13px}
.wisc-embed .score-group-content{
  padding:0 12px 12px}
.wisc-embed .group-subtest-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px}
.wisc-embed .score-grid .field{
  display:grid;
  grid-template-columns:1fr;
  gap:5px;
  padding:8px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff}
.wisc-embed .score-grid input{
  min-height:36px;
  text-align:center;
  font-weight:800}
.wisc-embed .kind-chip{
  display:inline-block;
  padding:2px 6px;
  margin-left:5px;
  border-radius:99px;
  background:var(--teal-soft);
  color:var(--teal);
  font-size:10px}
.wisc-embed .kind-secondary{
  background:#fae9e2;
  color:#8e503f}
.wisc-embed .viewer-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px}
.wisc-embed .report-title{
  margin:0;
  font-size:21px}
.wisc-embed .report-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:7px}
.wisc-embed .meta-pill{
  padding:4px 8px;
  border-radius:99px;
  background:#f0f3f1;
  color:var(--muted);
  font-size:11px}
.wisc-embed .live-badge{
  padding:5px 8px;
  border-radius:99px;
  background:var(--teal-soft);
  color:var(--teal);
  font-size:11px;
  font-weight:800}
.wisc-embed .status-box{
  min-height:35px;
  margin-bottom:11px;
  padding:8px 10px;
  border-left:3px solid var(--line);
  background:#f7f8f6;
  color:var(--muted);
  font-size:12px}
.wisc-embed .status-box.is-error{
  border-color:var(--danger);
  background:#fff2ef;
  color:var(--danger)}
.wisc-embed .viewer-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:11px}
.wisc-embed .chart-tabs{
  display:inline-grid;
  grid-template-columns:1fr 1fr;
  gap:4px;
  padding:4px;
  background:#edf2ef;
  border-radius:10px}
.wisc-embed .chart-tab{
  min-width:132px}
.wisc-embed .chart-tab[aria-selected=true]{
  background:#fff;
  color:var(--teal);
  box-shadow:0 1px 5px #0001}
.wisc-embed .chart-workspace{
  flex:1;
  min-height:500px;
  display:flex}
.wisc-embed .chart-card{
  width:100%;
  min-height:500px;
  padding:17px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#fff}
.wisc-embed .chart-panel{
  display:flex;
  flex-direction:column}
.wisc-embed .chart-panel[hidden]{
  display:none}
.wisc-embed .chart-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px}
.wisc-embed .chart-title{
  margin:0;
  font-size:18px}
.wisc-embed .chart-note,.wisc-embed .footnote{
  margin:4px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.6}
.wisc-embed .score-scale,.wisc-embed .legend{
  padding:6px 9px;
  border-radius:8px;
  background:var(--teal-soft);
  color:var(--teal);
  font-size:11px;
  font-weight:800}
.wisc-embed .legend{
  margin:5px 0 8px;
  display:inline-block}
.wisc-embed .chart-wrap{
  flex:1;
  min-height:0;
  overflow:auto;
  display:flex;
  align-items:center}
.wisc-embed .chart-wrap svg{
  display:block;
  width:100%;
  height:auto;
  max-height:100%}
.wisc-embed #indexChart{
  min-width:620px}
.wisc-embed #subtestChart{
  min-width:1120px}
.wisc-embed .footnote{
  margin-top:9px}
.wisc-embed .hidden{
  display:none!important}
.wisc-embed input:focus-visible,.wisc-embed textarea:focus-visible,.wisc-embed select:focus-visible,.wisc-embed button:focus-visible,.wisc-embed summary:focus-visible,.wisc-embed a:focus-visible{
  outline:3px solid #8bbab0;
  outline-offset:2px}
@media(max-width:1100px){
  .wisc-embed .page{
  height:auto}
.wisc-embed .layout{
  grid-template-columns:1fr}
.wisc-embed .controls,.wisc-embed .viewer{
  height:auto;
  overflow:visible}
.wisc-embed .chart-workspace{
  min-height:520px}
}
@media(max-width:700px){
  .wisc-embed .page{
  width:calc(100% - 18px);
  padding:12px 0 18px}
.wisc-embed .topbar,.wisc-embed .viewer-toolbar,.wisc-embed .chart-head{
  align-items:stretch;
  flex-direction:column}
.wisc-embed .product-heading{
  align-items:flex-start;
  flex-wrap:wrap}
.wisc-embed .page-note{
  margin-left:46px}
.wisc-embed .version-tabs{
  width:100%}
.wisc-embed .version-tab,.wisc-embed .chart-tab{
  min-height:44px}
.wisc-embed .meta-grid{
  grid-template-columns:1fr}
.wisc-embed .quick-actions .button,.wisc-embed .viewer-toolbar .button,.wisc-embed .export-controls,.wisc-embed .export-controls select{
  flex:1;
  width:100%}
.wisc-embed .controls,.wisc-embed .viewer,.wisc-embed .chart-card{
  padding:14px}
}
@media(prefers-reduced-motion:no-preference){
  .wisc-embed .panel{
  animation:fade-in .22s ease-out}
@keyframes fade-in{
  from{
  opacity:.6;
  transform:translateY(4px)}
to{
  opacity:1;
  transform:none}
}
}

/* Workspace proportions and compact, legible score entry. */
.wisc-embed [hidden]{
  display:none!important}

.wisc-embed .page{
  height:100dvh;
  min-height:850px}

.wisc-embed .product-heading{
  gap:16px}

.wisc-embed .brand-mark{
  width:46px;
  height:46px;
  padding:7px;
  border-radius:13px;
  background:#e8efea}

.wisc-embed .page-title{
  font-size:25px;
  font-weight:800;
  letter-spacing:.02em}

.wisc-embed .page-subtitle{
  font-size:12px;
  letter-spacing:.08em}

.wisc-embed .version-tabs{
  margin-left:16px}

.wisc-embed .page-note{
  display:flex;
  align-items:center;
  gap:7px;
  white-space:nowrap}

.wisc-embed .page-note::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:#619389}

.wisc-embed .controls,.wisc-embed .viewer{
  min-width:0;
  height:100%}

.wisc-embed .controls{
  scrollbar-gutter:stable;
  scrollbar-width:thin;
  scrollbar-color:#cad7d1 transparent}

.wisc-embed .panel-head{
  margin-bottom:20px}

.wisc-embed .panel-head h2{
  font-size:20px;
  letter-spacing:.03em}

.wisc-embed .panel-head p{
  margin:7px 0 14px}

.wisc-embed .section:first-of-type{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--line)}

.wisc-embed .scope-help{
  font-size:11px;
  line-height:1.8;
  color:var(--muted);
  margin-top:14px}

.wisc-embed .scope-help p{
  margin:0 0 4px}

.wisc-embed .scope-help a{
  color:var(--teal);
  text-underline-offset:3px}

.wisc-embed .local-note{
  font-size:10px;
  color:var(--muted);
  line-height:1.75;
  margin:12px 0 0}

.wisc-embed .input-tabs{
  margin-bottom:15px}

.wisc-embed .input-hint{
  margin:0 0 12px;
  font-size:11px;
  color:var(--muted);
  line-height:1.7}

.wisc-embed .composite-score-grid{
  gap:10px}

.wisc-embed .score-field{
  padding:12px;
  background:#fcfcfa;
  align-content:start}

.wisc-embed .score-field label{
  min-height:30px;
  display:flex;
  align-items:center}

.wisc-embed .field-line{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:3px;
  line-height:1.5}

.wisc-embed .field-code{
  letter-spacing:.02em;
  font-weight:600}

.wisc-embed .score-field input{
  min-height:44px;
  font-size:20px;
  font-variant-numeric:tabular-nums;
  border-color:#d3ddd7;
  border-radius:7px}

.wisc-embed .score-field input::placeholder{
  font-size:12px;
  font-weight:400;
  color:#89928c}

.wisc-embed .score-field-fsiq{
  border-color:#bad0c8;
  background:#f0f7f3}

.wisc-embed .score-field-fsiq input{
  border-color:#bad0c8;
  color:var(--teal)}

.wisc-embed .score-field input.invalid{
  border-color:var(--danger);
  background:#fff3ef}

.wisc-embed .field-error{
  font-size:10px;
  line-height:1.65;
  min-height:0}

.wisc-embed .score-group-summary::marker{
  color:#83a297}

.wisc-embed .score-group-range{
  float:right;
  color:var(--muted);
  font-size:10px;
  font-weight:600;
  margin-top:2px}

.wisc-embed .score-group-panel[open]{
  background:#fff;
  border-color:#bdcdc6}

.wisc-embed .score-group-content{
  padding:2px 10px 10px}

.wisc-embed .group-subtest-grid .score-field{
  padding:8px}

.wisc-embed .group-subtest-grid .score-field input{
  font-size:17px;
  min-height:40px}

.wisc-embed .kind-chip{
  font-size:9px;
  line-height:1.5;
  margin-left:1px}

.wisc-embed .button{
  font-size:12px;
  transition:background .15s,border-color .15s}

.wisc-embed .button:hover{
  background:#f0f5f1;
  border-color:#a8beb2}

.wisc-embed .button-primary:hover{
  background:#0d3f3c;
  color:#fff;
  border-color:#0d3f3c}

.wisc-embed .button:disabled{
  opacity:.42;
  cursor:not-allowed}

.wisc-embed .button:disabled:hover{
  background:inherit;
  border-color:var(--line)}

.wisc-embed .button-primary:disabled:hover{
  background:var(--teal);
  border-color:var(--teal)}

.wisc-embed .quick-actions{
  gap:8px}

.wisc-embed .quick-actions .button{
  flex:1;
  padding:0 8px;
  white-space:nowrap}

.wisc-embed .details-body>.toolbar{
  margin-top:10px}

.wisc-embed .data-actions .button{
  flex:1}

.wisc-embed .viewer-head{
  margin-bottom:16px}

.wisc-embed .viewer-head>div{
  min-width:0}

.wisc-embed .report-title{
  font-size:22px;
  overflow-wrap:anywhere;
  line-height:1.5}

.wisc-embed .report-meta{
  max-height:78px;
  overflow:auto}

.wisc-embed .meta-pill{
  overflow-wrap:anywhere;
  max-width:100%;
  border-radius:6px}

.wisc-embed .live-badge{
  white-space:nowrap;
  margin-top:4px}

.wisc-embed .live-badge.is-error{
  color:var(--danger);
  background:#fff2ef}

.wisc-embed .status-box{
  flex:0 0 auto;
  border-radius:0 6px 6px 0;
  line-height:1.6;
  max-height:95px;
  overflow:auto}

.wisc-embed .viewer-toolbar{
  flex-wrap:wrap;
  row-gap:10px}

.wisc-embed .chart-tabs{
  flex:0 0 auto}

.wisc-embed .chart-tab{
  min-width:104px;
  font-size:12px;
  padding:0 15px}

.wisc-embed .export-controls{
  display:flex;
  align-items:center;
  gap:7px;
  margin-left:auto}

.wisc-embed .export-label{
  font-size:11px;
  color:var(--muted)}

.wisc-embed .export-controls select{
  width:auto;
  min-width:85px;
  min-height:40px;
  font-size:12px;
  padding:7px 9px}

.wisc-embed .export-controls .button{
  white-space:nowrap}

.wisc-embed .chart-workspace,.wisc-embed .chart-card{
  min-height:0}

.wisc-embed .chart-card{
  padding:20px 0 0;
  border:0;
  border-radius:0;
  border-top:1px solid #e6ebe6}

.wisc-embed .chart-head{
  align-items:flex-start;
  flex-wrap:wrap}

.wisc-embed .chart-title{
  font-size:16px;
  line-height:1.6}

.wisc-embed .chart-note{
  font-size:11px}

.wisc-embed .score-scale{
  font-size:10px;
  line-height:1.6;
  white-space:normal;
  max-width:100%;
  background:#f3f5f1;
  color:#697870;
  padding:5px 8px}

.wisc-embed .legend{
  background:transparent;
  padding:0;
  font-size:10px;
  color:#758178;
  font-weight:500;
  margin-top:8px;
  line-height:1.6}

.wisc-embed .legend::before{
  content:"";
  display:inline-block;
  width:12px;
  height:8px;
  background:#e9eeea;
  border:1px solid #d4dfd5;
  margin-right:6px}

.wisc-embed .chart-wrap{
  scrollbar-width:thin;
  scrollbar-color:#c6d3cb transparent}

.wisc-embed .chart-wrap svg{
  flex:0 0 auto;
  max-height:none}

.wisc-embed .footnote{
  font-size:10px;
  line-height:1.75;
  border-top:1px solid #e6ebe6;
  padding-top:12px}

@media(max-width:1100px){
  
  .wisc-embed .page{
  height:auto;
  min-height:100dvh}

  .wisc-embed .controls,.wisc-embed .viewer{
  height:auto;
  overflow:visible}

  .wisc-embed .layout{
  gap:18px}

  .wisc-embed .viewer{
  min-height:680px}

  .wisc-embed .chart-workspace{
  min-height:460px}

  .wisc-embed .chart-wrap{
  min-height:380px}

  .wisc-embed .composite-score-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))}

  .wisc-embed .group-subtest-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))}

  .wisc-embed .version-tabs{
  margin-left:10px}

}

@media(max-width:700px){
  
  .wisc-embed .page-title{
  font-size:23px}

  .wisc-embed .product-heading{
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  gap:12px}

  .wisc-embed .brand-mark{
  width:44px;
  height:44px}

  .wisc-embed .version-tabs{
  grid-column:1/-1;
  margin-left:0;
  margin-top:2px}

  .wisc-embed .page-note{
  margin:0;
  font-size:10px;
  align-self:flex-end}

  .wisc-embed .topbar{
  gap:9px;
  margin-bottom:14px}

  .wisc-embed .layout{
  display:flex;
  flex-direction:column}

  .wisc-embed .controls,.wisc-embed .viewer{
  width:100%}

  .wisc-embed .composite-score-grid,.wisc-embed .group-subtest-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))}

  .wisc-embed .score-field{
  padding:10px}

  .wisc-embed .score-field .field-short{
  font-size:11px}

  .wisc-embed .report-title{
  font-size:19px}

  .wisc-embed .live-badge{
  font-size:9px;
  padding:4px 6px}

  .wisc-embed .viewer-toolbar{
  gap:10px}

  .wisc-embed .chart-tabs{
  width:100%}

  .wisc-embed .chart-tab{
  min-width:0;
  padding:0 10px}

  .wisc-embed .export-controls{
  width:100%;
  margin:0;
  flex:0 0 auto}

  .wisc-embed .export-controls select{
  width:auto;
  flex:1}

  .wisc-embed .export-controls .button{
  width:auto;
  flex:1;
  min-height:44px}

  .wisc-embed .viewer{
  min-height:670px}

  .wisc-embed .chart-card{
  padding-top:16px}

  .wisc-embed .chart-head{
  gap:6px}

  .wisc-embed .chart-wrap{
  min-height:370px}

  .wisc-embed .chart-note{
  font-size:11px}

  .wisc-embed .footnote{
  font-size:10px}

}

@media(prefers-reduced-motion:reduce){
  .wisc-embed *,.wisc-embed *::before,.wisc-embed *::after{
  animation:none!important;
  transition:none!important;
  scroll-behavior:auto!important}
}


    
.wisc-embed{width:100%;}
.wisc-embed .page{width:min(1540px,calc(100% - 36px));}

.wisc-embed .layout > p:empty{display:none;}
body:has(.wisc-embed) #body_wrap .l-content{max-width:100%;padding-left:24px;padding-right:24px;}
body:has(.wisc-embed) #body_wrap .l-mainContent.l-article{max-width:100%;width:100%;}
body:has(.wisc-embed) #body_wrap .post_content{max-width:100%;padding-left:0;padding-right:0;}

body:has(.wisc-embed) #body_wrap .c-pageTitle{display:none;}

/* Keep the chart visible when the value table is inserted below it. */
.wisc-embed .page{
  height:auto;
  min-height:0}

.wisc-embed .layout{
  flex:0 0 auto;
  align-items:start}

.wisc-embed .controls,.wisc-embed .viewer{
  height:auto;
  overflow:visible}

.wisc-embed .chart-workspace{
  flex:0 0 auto;
  min-height:500px}

.wisc-embed .chart-card{
  min-height:500px}

.wisc-embed .chart-wrap{
  min-height:360px}

@media(max-width:1100px){
  .wisc-embed .page{min-height:0}
  .wisc-embed .chart-workspace{min-height:460px}
  .wisc-embed .chart-card{min-height:460px}
  .wisc-embed .chart-wrap{min-height:380px}
}

@media(max-width:700px){
  .wisc-embed .chart-workspace{min-height:440px}
  .wisc-embed .chart-card{min-height:440px}
  .wisc-embed .chart-wrap{min-height:370px}
}

/* Keep WordPress auto-paragraph markup out of the mobile title grid. */
.wisc-embed .product-heading > p:empty{display:none!important;}

@media (max-width:900px){
  .wisc-embed .page-title{
    word-break:keep-all;
    overflow-wrap:normal;
    line-height:1.35;
  }
  .wisc-embed .version-tab{
    white-space:nowrap;
    padding-inline:10px;
  }
}
