.jo-page {
  --jo-ink: #173352;
  --jo-text: #425c73;
  --jo-rule: #d6e2eb;
  --jo-a: #225f9d;
  --jo-b: #087771;
  background: #f4f8fb;
}
.jo-shell { width: min(1160px, calc(100% - 44px)); margin: 0 auto 52px; color: var(--jo-ink); }
.jo-shell [hidden] { display: none !important; }
.jo-shell :where(h1,h2,h3,p,figure) { margin: 0; }
.jo-shell :where(h1,h2,h3) { line-height: 1.22; letter-spacing: -.027em; }
.jo-shell h2 { font-size: clamp(22px, 2.3vw, 29px); }
.jo-shell :where(a, button, input, summary):focus-visible { outline: 3px solid #1878c2; outline-offset: 3px; }
.jo-shell a { color: #125f9d; text-underline-offset: 3px; }
.jo-shell [id] { scroll-margin-top: 94px; }
.jo-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 22px; color: var(--jo-text); font-size: 13px; }
.jo-crumbs a { text-decoration: none; }
.jo-hero { padding: 27px 0 25px; }
.jo-kicker { color: var(--jo-b); font-size: 12px; line-height: 1.45; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; margin: 0 0 9px; }
.jo-kicker span { padding: 0 2px; }
.jo-hero h1 { font-size: clamp(32px, 4.4vw, 49px); line-height: 1.11; letter-spacing: -.046em; }
.jo-hero > p:not(.jo-kicker) { margin-top: 12px; max-width: 75ch; font-size: 17px; line-height: 1.62; color: var(--jo-text); }
.jo-links { display: flex; gap: 8px 22px; flex-wrap: wrap; margin-top: 10px; }
.jo-links a, .jo-formfoot a { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; font-weight: 650; }
.jo-workspace, .jo-detail { display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.jo-card, .jo-verdict { min-width: 0; padding: clamp(18px, 2.3vw, 28px); border-radius: 14px; border: 1px solid var(--jo-rule); background: white; }
.jo-intro, .jo-chart figcaption p, .jo-negotiation p:not(.jo-kicker), .jo-method p:not(.jo-kicker), #jo-problem {
  margin: 8px 0 0; color: var(--jo-text); font-size: 15px; line-height: 1.65;
}
.jo-right { min-width: 0; }
.jo-headrow, .jo-row { display: grid; grid-template-columns: minmax(0, 1.48fr) repeat(2, minmax(0, 1fr)); gap: 9px; align-items: center; }
.jo-headrow { margin-top: 22px; padding-bottom: 8px; }
.jo-headrow span { font-size: 12px; color: var(--jo-text); }
.jo-headrow b { border-radius: 6px; padding: 6px 4px; text-align: center; font-size: 13px; }
.jo-a { color: #215990; background: #e8f1fb; }
.jo-b { color: #086a65; background: #e1f4f0; }
.jo-row { padding: 13px 0; border-top: 1px solid #e4ebf1; }
.jo-label strong { display: block; font-size: 14px; line-height: 1.35; }
.jo-label small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.45; color: var(--jo-text); }
.jo-cell { min-width: 0; align-self: start; }
.jo-control { position: relative; }
.jo-control input { width: 100%; min-height: 46px; min-width: 0; padding: 8px 31px 8px 10px; background: #fff; border: 1px solid #9cb2c5; border-radius: 7px; color: #193b59; font: inherit; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.jo-control input[aria-invalid="true"] { border-color: #aa392a; background: #fff8f6; }
.jo-control span { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 11px; color: #50697b; pointer-events: none; }
.jo-error { display: block; color: #973122; font-size: 12px; line-height: 1.45; padding-top: 4px; }
.jo-extra { margin: 7px 0; border-block: 1px solid var(--jo-rule); }
.jo-extra summary, .jo-method summary { color: #17557e; cursor: pointer; font-size: 14px; font-weight: 700; line-height: 1.5; padding: 13px 0; }
.jo-extra .jo-headrow { margin-top: 0; }
.jo-formfoot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.jo-formfoot button { min-height: 42px; padding: 5px 0 5px 10px; border: 0; background: transparent; color: #4a6175; text-decoration: underline; text-underline-offset: 3px; font: inherit; font-size: 13px; cursor: pointer; }
.jo-verdict { color: #fff; background: #153e58; border-color: #153e58; }
.jo-verdict .jo-kicker { color: #a2e4d7; font-size: 11px; }
.jo-verdict h2 { font-size: clamp(25px, 3vw, 35px); line-height: 1.2; color: #fff; }
.jo-verdict > p:not(.jo-kicker) { margin-top: 12px; color: #e0eef4; font-size: 15px; line-height: 1.6; }
.jo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border-top: 1px solid #527285; margin-top: 18px; padding-top: 14px; }
.jo-pair span, .jo-pair strong { display: block; }
.jo-pair span { font-size: 12px; color: #d1e4ed; }
.jo-pair strong { font-size: clamp(17px, 2.2vw, 23px); line-height: 1.4; overflow-wrap: anywhere; }
.jo-chart { margin: 14px 0 0; }
.jo-chart h3, .jo-explain h3, .jo-negotiation h3 { font-size: 18px; }
.jo-chart figcaption p { font-size: 13px; margin: 6px 0 15px; }
.jo-bar-row { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 9px; align-items: center; margin: 9px 0; font-size: 14px; }
.jo-bar-row strong { min-width: 50px; text-align: right; }
.jo-track { height: 10px; overflow: hidden; background: #edf2f6; border-radius: 3px; }
.jo-track i { display: block; height: 100%; border-radius: 3px; background: var(--jo-a); }
#bar-b { background: var(--jo-b); }
#jo-time-note { margin: 15px 0 0; font-size: 14px; line-height: 1.5; color: var(--jo-text); }
.jo-detail { margin-top: 20px; }
.jo-breakdown table { width: 100%; margin-top: 15px; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.jo-breakdown th, .jo-breakdown td { border-bottom: 1px solid #e2eaf1; padding: 9px 6px; text-align: right; font-variant-numeric: tabular-nums; }
.jo-breakdown th:first-child { text-align: left; padding-left: 0; }
.jo-breakdown thead th { color: var(--jo-text); font-size: 12px; }
.jo-breakdown tbody th { font-weight: 500; }
.jo-highlight :is(th,td) { color: #0a625e; font-weight: 700 !important; }
.jo-negotiation > div { margin-top: 18px; padding-left: 14px; border-left: 3px solid #b6cfdf; }
.jo-negotiation > div:nth-of-type(2) { border-color: #8acce0; }
.jo-negotiation h3 { font-size: 14px; letter-spacing: 0; }
.jo-negotiation strong { display: block; margin-top: 4px; font-size: 21px; line-height: 1.3; }
.jo-negotiation p:not(.jo-kicker) { font-size: 13px; }
.jo-negotiation .jo-note { padding-top: 12px; }
.jo-method, .jo-partners { margin-top: 20px; }
.jo-partner-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; margin: 18px 0; }
.jo-partner-groups h3 { margin-bottom: 8px; font-size: 16px; }
.jo-partner-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.jo-partner { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.jo-partner .jo-partner-cta { display: flex; justify-content: center; align-items: center; min-height: 46px; padding: 6px 10px; border-radius: 8px; background: #185c93; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
.jo-partner .jo-partner-cta:hover { background: #10456f; text-decoration: underline; }
.jo-partner-review { display: inline-flex; align-self: center; align-items: center; min-height: 44px; font-size: 14px; text-decoration: underline; }
.jo-partners .jo-disclosure { margin-top: 8px; color: var(--jo-text); font-size: 14px; line-height: 1.55; }
@media (max-width: 760px) {
  .jo-partner-groups { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .jo-partner-buttons { grid-template-columns: 1fr; }
}
.jo-explain { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-block: 19px; }
.jo-example { padding: 15px 18px; background: #f0f7fa; border-left: 3px solid #4d899c; }
.jo-example p { margin-top: 4px !important; }
.jo-method details { border-bottom: 1px solid var(--jo-rule); }
.jo-method details p { margin: 0 0 13px !important; }
.jo-method .jo-links { margin-top: 16px; }
@media (min-width: 1050px) and (min-height: 740px) {
  .jo-right { position: sticky; top: 92px; }
}
@media (max-width: 900px) {
  .jo-workspace, .jo-detail { grid-template-columns: 1fr; }
  .jo-card, .jo-verdict { padding: 21px; }
}
@media (max-width: 570px) {
  .jo-shell { width: calc(100% - 24px); }
  .jo-hero { padding: 20px 2px; }
  .jo-hero > p:not(.jo-kicker) { font-size: 15px; }
  .jo-card, .jo-verdict { padding: 17px; }
  .jo-headrow, .jo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 10px; }
  .jo-headrow { margin-top: 12px; }
  .jo-headrow > span { display: none; }
  .jo-label { grid-column: 1 / -1; }
  .jo-row { padding: 9px 0; }
  .jo-label small { margin-top: 1px; }
  .jo-explain { grid-template-columns: 1fr; gap: 16px; }
  .jo-breakdown table { table-layout: fixed; font-size: 12px; }
  .jo-breakdown th, .jo-breakdown td { padding: 8px 3px; overflow-wrap: anywhere; }
  .jo-breakdown th:first-child { width: 40%; }
  .jo-pair strong { font-size: 18px; }
}
