/* The shared site theme supplies the cream background and lavender palette. */
.boost-grant-study{max-width:1120px;overflow:visible;line-height:1.95}
.boost-grant-study h1{max-width:920px;text-wrap:balance}
.boost-grant-study h2{font-size:clamp(21px,3vw,28px);line-height:1.55;margin:42px 0 14px}
.boost-grant-study h3{font-size:16px;line-height:1.7;margin:0 0 8px}
.boost-grant-study p{margin:16px 0}
.boost-grant-study section{scroll-margin-top:24px;min-width:0}
.boost-grant-study a{text-underline-offset:3px}
.boost-grant-study .boost-meta,.boost-grant-study .boost-small{font-size:12px;color:var(--muted)}
.boost-grant-study .boost-lead{margin:24px 0;padding:4px 22px;background:#f6f0fa;border:1px solid var(--line);border-left:5px solid #af8bcd;border-radius:14px;font-size:15px}
.boost-grant-study .boost-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0}
.boost-grant-study .boost-summary>a{display:block;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fcf9ff;text-decoration:none}
.boost-grant-study .boost-summary>a>span{display:block;font-size:12px;font-weight:600}
.boost-grant-study .boost-summary strong{display:flex;align-items:baseline;gap:6px;font-size:40px;line-height:1.7;font-variant-numeric:tabular-nums}
.boost-grant-study .boost-summary strong small{font-size:12px;font-weight:500}
.boost-grant-study .boost-summary .boost-summary-note{font-size:10px;color:var(--muted);font-weight:400}
.boost-grant-study .boost-scope{background:#fff7df;border:1px solid #e5d7aa;border-radius:14px;padding:16px 20px;font-size:13px}
.boost-grant-study .boost-scope p{margin:8px 0}
.boost-grant-study .boost-scope>strong{color:#795c27}
.boost-grant-study .boost-toc{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:26px 0}
.boost-grant-study .boost-toc a{display:flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid #e2d5ec;border-radius:10px;background:#f6f0fa;font-size:13px;font-weight:600;text-decoration:none;line-height:1.6;overflow-wrap:anywhere}
.boost-grant-study .boost-toc a:hover{background:#eee3f8}
.boost-grant-study .boost-definition-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
.boost-grant-study .boost-definition-grid>div{padding:18px 20px;background:#fcf9ff;border:1px solid var(--line);border-radius:14px}
.boost-grant-study .boost-definition-grid p{margin:8px 0 0;font-size:14px}
.boost-grant-study .boost-section-note{font-size:12px;color:var(--muted)}
.boost-grant-study .boost-section-note>span{display:inline-block;margin-left:8px}
.boost-grant-study .boost-scroll-note{margin:16px 0 6px;font-size:12px;color:var(--muted)}
.boost-grant-study .boost-ranking-scroll{overflow-x:auto;container-type:inline-size;border:1px solid var(--line);border-radius:14px;overscroll-behavior-x:contain;scrollbar-gutter:stable}
.boost-grant-study table{table-layout:auto;border-collapse:collapse;width:100%;font-size:13px}
.boost-grant-study .boost-ranking{min-width:780px}
.boost-grant-study caption{text-align:left;font-weight:700;padding:12px 15px;background:#fcf9ff;font-size:13px;color:var(--theme-purple)}
.boost-grant-study th,.boost-grant-study td{width:auto;min-width:0;padding:12px;white-space:normal;vertical-align:top;line-height:1.7;border-bottom:1px solid var(--line)}
.boost-grant-study thead th{font-size:12px;white-space:nowrap;background:#f2ecf8}
.boost-grant-study .boost-ranking-row>th{width:62px;text-align:center;font-size:19px;font-variant-numeric:tabular-nums;color:var(--theme-purple)}
.boost-grant-study .boost-rank-suffix{font-size:11px;margin-left:2px}
.boost-grant-study:lang(en) .boost-rank-suffix{display:none}
.boost-grant-study .boost-pair-name{min-width:195px;max-width:255px;font-weight:700}
.boost-grant-study .boost-pair-name a{display:flex;align-items:center;gap:10px;overflow-wrap:anywhere}
.boost-grant-study .boost-pair-name a>span{flex:1;min-width:0}
.boost-grant-study .boost-pair-icon{display:block;flex:0 0 56px;width:56px;height:56px;object-fit:contain;border-radius:8px}
.boost-grant-study .boost-total{font-size:29px;font-weight:800;text-align:center;line-height:1.35;font-variant-numeric:tabular-nums;color:var(--theme-purple)}
.boost-grant-study .boost-secondary{min-width:125px;text-align:center;font-variant-numeric:tabular-nums}
.boost-grant-study .boost-secondary>span,.boost-grant-study .boost-secondary>small{display:block;white-space:nowrap;font-size:12px}
.boost-grant-study .boost-secondary>strong{display:block;font-size:19px;font-weight:700;line-height:1.6}
.boost-grant-study .boost-secondary>small{color:var(--muted)}
.boost-grant-study .boost-action-list{min-width:200px;margin:0;padding-left:21px;font-size:12px;line-height:1.8}
.boost-grant-study .boost-ranking-row>td,.boost-grant-study .boost-ranking-row>th{border-bottom:0}
.boost-grant-study .boost-detail-row>td{padding:0 12px 12px;background:#fcf9ff}
.boost-grant-study .boost-detail-row details{margin:0;background:transparent;border:0}
.boost-grant-study .boost-detail-row summary{display:block;position:sticky;left:12px;width:min(100%,calc(100cqi - 28px));min-height:44px;margin:0;padding:10px 12px;border:1px solid #e2d4ed;border-radius:9px;background:#f7f1fb;font-size:12px;line-height:1.8;color:var(--theme-purple);list-style:none;box-sizing:border-box}
.boost-grant-study .boost-detail-row summary::-webkit-details-marker{display:none}
.boost-grant-study .boost-detail-row summary::before{content:'＋';display:inline-block;width:22px;font-weight:700}
.boost-grant-study .boost-detail-row summary::after{content:none}
.boost-grant-study .boost-detail-row details[open]>summary::before{content:'−'}
.boost-grant-study .boost-details-body{position:sticky;left:12px;box-sizing:border-box;width:min(100%,calc(100cqi - 28px));padding:4px 0 8px;overflow-wrap:anywhere}
.boost-grant-study .boost-details-body p{font-size:12px}
.boost-grant-study .boost-grid-link{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin:14px 0}
.boost-grant-study .boost-grid-link a{display:inline-flex;align-items:center;min-height:40px;padding:6px 13px;border:1px solid #d6c2e7;border-radius:9px;background:white;font-size:12px;font-weight:700}
.boost-grant-study .boost-route-notes{font-size:12px;padding-left:23px;margin:12px 0 16px}
.boost-grant-study .boost-route-notes li+li{margin-top:6px}
.boost-grant-study .boost-ledger-scroll{overflow-x:auto;border:1px solid #e6dbed;border-radius:10px;background:white}
.boost-grant-study .boost-ledger{min-width:650px;font-size:12px}
.boost-grant-study .boost-ledger caption{padding:9px 12px;font-size:12px}
.boost-grant-study .boost-ledger td,.boost-grant-study .boost-ledger th{padding:9px 10px;font-size:12px}
.boost-grant-study .boost-ledger td:nth-child(2){min-width:225px;overflow-wrap:anywhere}
.boost-grant-study .boost-ledger td:nth-child(n+3){white-space:nowrap;text-align:center;font-variant-numeric:tabular-nums}
.boost-grant-study .boost-ledger td small{display:block;color:var(--muted);font-size:11px}
.boost-grant-study .boost-conditions{padding-left:25px;font-size:14px}
.boost-grant-study .boost-conditions li+li{margin-top:12px}
.boost-grant-study .boost-scope-note{padding:16px 20px;border:1px solid var(--line);border-radius:12px;background:#faf6fe;font-size:13px}
.boost-grant-study .boost-exclusions{padding:16px 20px;margin:22px 0;background:#fcf9ff;border:1px solid var(--line);border-radius:12px;font-size:13px}
.boost-grant-study .boost-exclusions ul{padding-left:22px;margin:8px 0 0}
.boost-grant-study .boost-conditional-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:12px;overscroll-behavior-x:contain}
.boost-grant-study .boost-conditional{min-width:740px}
.boost-grant-study .boost-conditional tbody th{min-width:210px;white-space:normal;background:#fcf9ff;font-size:13px}
.boost-grant-study .boost-conditional td:nth-child(2){min-width:210px}
.boost-grant-study .boost-conditional td:nth-child(3){min-width:280px}
.boost-grant-study .boost-conditional small{display:block;margin-top:8px;font-size:12px;color:var(--muted)}
.boost-grant-study .boost-next{margin-top:38px;border-top:1px solid var(--line)}
.boost-grant-study .boost-cta{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 8px}
.boost-grant-study .boost-cta a{display:flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid #d5c1e5;background:#f3ebfa;border-radius:11px;font-size:13px;font-weight:700;text-decoration:none}
.boost-grant-study .boost-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.boost-grant-study :focus-visible{outline:3px solid #9b75cd;outline-offset:3px}
@media(max-width:760px){
 .boost-grant-study{margin:14px 10px;padding:22px 16px;font-size:13px}
 .boost-grant-study h1{font-size:23px;line-height:1.6}
 .boost-grant-study h2{margin-top:34px;font-size:21px}
 .boost-grant-study .boost-lead{padding:2px 15px;font-size:14px}
 .boost-grant-study .boost-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .boost-grant-study .boost-summary>a{padding:13px}
 .boost-grant-study .boost-scope{padding:14px 16px}
 .boost-grant-study .boost-toc{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .boost-grant-study .boost-toc a{padding:10px;font-size:12px}
 .boost-grant-study .boost-definition-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 .boost-grant-study .boost-definition-grid>div{padding:16px}
 .boost-grant-study .boost-section-note>span{display:block;margin:4px 0 0}
 .boost-grant-study .boost-ranking{min-width:740px}
 .boost-grant-study th,.boost-grant-study td{padding:10px}
 .boost-grant-study .boost-detail-row>td{padding:0 10px 10px}
 .boost-grant-study .boost-detail-row summary,.boost-grant-study .boost-details-body{left:10px;width:min(100%,calc(100cqi - 24px))}
 .boost-grant-study .boost-cta{display:grid;grid-template-columns:minmax(0,1fr)}
 .boost-grant-study .boost-conditions{font-size:13px;padding-left:22px}
}
@media print{
 .boost-grant-study{max-width:none;margin:0;padding:0;border:0;box-shadow:none}
 .boost-grant-study .boost-toc,.boost-grant-study .boost-cta{display:none}
 .boost-grant-study .boost-ranking-scroll,.boost-grant-study .boost-ledger-scroll{overflow:visible}
 .boost-grant-study table{min-width:0!important;font-size:10px}
 .boost-grant-study .boost-details-body,.boost-grant-study .boost-detail-row summary{position:static;width:100%}
 .boost-grant-study .boost-detail-row summary{background:white}
 .boost-grant-study .boost-ranking-row{break-inside:avoid}
}
