/* AlphaPrime 策略健檢: the site frame (header, intro, FAQ, footer). /style.css (copied from the main site) gives colours,
   type and buttons; /assets/score.css the checker itself. */
.ckHeader .ckNav{display:flex;gap:24px;font-size:14px;position:static;background:none;padding:0;flex-direction:row}
.ckHeader .ckNav a{color:#b8c7cb}
.ckHeader .ckNav a:hover{color:var(--gold)}
.ckHeader .outline{display:inline-flex}
.ckWhat{max-width:1080px}
.ckWhat h2,.ckFaq h2{font-size:clamp(22px,2.4vw,28px);letter-spacing:0;margin:0 0 12px}
.ckWhat p{max-width:820px;font-size:15.5px;line-height:1.8}
.ckFaq{max-width:1080px;padding-bottom:20px}
.ckFaq details{border:1px solid var(--line,#3a5a6b);background:var(--panel,#0e354a);border-radius:10px;padding:16px 20px;margin-bottom:10px}
.ckFaq summary{cursor:pointer;font-weight:600;font-size:16px;list-style:none;display:flex;justify-content:space-between;gap:20px}
.ckFaq summary::-webkit-details-marker{display:none}
.ckFaq summary::after{content:"+";color:var(--gold,#efd49f);font-size:20px;line-height:1}
.ckFaq details[open] summary::after{content:"−"}
.ckFaq details p{font-size:15px;line-height:1.8;margin:10px 0 0;padding:0}
.ckSection{padding:44px 0 0}
.ckFooter .ckLinks{display:flex;flex-wrap:wrap;gap:10px 24px;font-size:13px}
.ckFooter .ckLinks a{color:#9fb5bd}
.ckFooter p{font-size:12.5px;color:#6f8b98;margin:8px 0 0;max-width:1160px}
.ckFooter .ckBrand{color:#9fb6c3}
.ck404{padding:90px 0;text-align:center}
.langMenu{position:absolute;z-index:40;min-width:150px;background:#082330;border:1px solid var(--line,#24414c);border-radius:6px;padding:6px;box-shadow:0 18px 40px #0007;margin-top:6px}
.langMenu a{display:block;padding:9px 14px;border-radius:4px;font-size:14px;color:#c9d6d7}
.langMenu a:hover,.langMenu a[aria-checked="true"]{background:#153c4b;color:var(--gold,#dfc394)}
.navend{position:relative}
@media(max-width:760px){
  .ckHeader .ckNav{display:flex;gap:14px;font-size:13px}
  .ckHeader .ckNav .ckFaqLink{display:none}
  .ckHeader .outline{display:none}
  .brand span:last-child{display:none}
}
/* 策略解讀 (top of the result) and the folded item help. */
.ckReading{border:1px solid #efd49f55;border-radius:10px;padding:16px 20px;margin:0 0 26px;background:linear-gradient(120deg,#efd49f14,transparent 70%)}
.ckReading h2{font-size:clamp(20px,2.2vw,24px)!important;margin:0 0 8px!important}
.ckReading p{margin:6px 0 0;font-size:15.5px;line-height:1.8;color:var(--text,#f7fafb)}
.ckAbout{margin-top:10px;border-top:1px dashed #2c4b58;padding-top:8px}
.ckAbout summary{cursor:pointer;font-size:13.5px;color:var(--gold,#efd49f);list-style:none}
.ckAbout summary::-webkit-details-marker{display:none}
.ckAbout summary::before{content:"＋ ";}
.ckAbout[open] summary::before{content:"－ ";}
.ckAbout p{padding:0;margin:8px 0 0;font-size:14px;line-height:1.75;color:#c2d3dd}
.ckAbout h4{margin:12px 0 4px;font-size:13px;color:#9fb6c3;font-weight:600}
.ckMetrics{margin:0;display:grid;gap:4px 0}
.ckMetrics dt{font-size:13.5px;color:var(--text,#f7fafb);font-weight:600;margin-top:6px}
.ckMetrics dd{margin:0;font-size:13.5px;line-height:1.7;color:#9fb6c3}
/* 健檢包 */
.ckPacks{margin-top:30px;border:1px solid var(--line,#3a5a6b);border-radius:12px;padding:20px 22px;background:#0a2a3a}
.ckPacksHead{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 18px}
.ckPacksHead h3{margin:0;font-size:20px}
.ckPacksHead .textlink{margin:0}
.ckPacksLead{margin:6px 0 14px;font-size:14px;color:#9fb6c3}
.ckPackList{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row dense;gap:12px}
.ckPack.rec{grid-column:span 2}
@media (max-width:760px){.ckPackList{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){.ckPackList{grid-template-columns:1fr}.ckPack.rec{grid-column:auto}}
.ckPack{border:1px solid #24414c;border-radius:10px;padding:14px 14px 16px;display:grid;gap:6px;align-content:start;min-width:0;background:#0c3043}
.ckPack.rec{border-color:var(--gold,#efd49f);background:linear-gradient(160deg,#efd49f1c,#0c3043 60%)}
.ckPackTop{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ckPackTop b{font-size:15.5px;color:var(--text,#f7fafb)}
.ckRec{font-size:12px;padding:1px 9px;border-radius:999px;border:1px solid var(--gold,#efd49f);color:var(--gold,#efd49f);flex:none}
.ckPrice{margin:0;font-size:22px;font-weight:600;color:var(--text,#f7fafb);font-variant-numeric:tabular-nums}
.ckDesc{margin:0;font-size:13.5px;line-height:1.7;color:#c2d3dd}
.ckPack .btn{justify-self:start;margin-top:6px;padding:9px 20px;font-size:14px}
.ckCredit{margin:14px 0 0;font-size:14px;color:var(--gold,#efd49f)}
.ckDialog{border:1px solid var(--line,#3a5a6b);border-radius:12px;background:#0c2533;color:var(--text,#f7fafb);padding:22px 24px;max-width:min(440px,92vw)}
.ckDialog::backdrop{background:#000a}
.ckDialog h3{margin:0 0 8px}
.ckDialog p{font-size:14.5px;color:#c2d3dd}
.ckField{display:grid;gap:6px;margin:10px 0}
.ckField span{font-size:13px;color:var(--gold,#efd49f)}
.ckField input{padding:10px 12px;background:#061c28;border:1px solid #41606c;border-radius:6px;color:#eef3f3}
.ckConsent{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:#9fb6c3;margin:8px 0}
.ckConsent input{margin-top:3px;accent-color:#dfc394}
.ckDialogActions{display:flex;gap:16px;align-items:center;margin:14px 0 0}
/* 報告範例 /zh-tw/sample-report/ (pages/sample-report.*.html) */
.srWrap{padding-top:22px;padding-bottom:48px}
.srBack{margin:0 0 14px;font-size:14px}
.srDoc{border:1px solid var(--line,#3a5a6b);border-radius:12px;background:#0a2a3a;padding:24px clamp(16px,3vw,32px) 28px;min-width:0}
.srDoc section{margin-top:28px;min-width:0}
.srDoc h2{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;font-size:clamp(19px,2.1vw,22px)!important;margin:0 0 12px!important}
.srDoc h2 small{font-size:13px;font-weight:400;color:#9fb6c3}
.srDoc p{font-size:15px;line-height:1.8;color:#c2d3dd;margin:6px 0}
.srDoc b{color:var(--text,#f7fafb)}
.srTop{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px 24px;border-bottom:1px solid #24414c;padding-bottom:16px}
.srTop h1{margin:4px 0 0;font-size:clamp(24px,3vw,30px)}
.srBrand{font-size:14px;color:var(--gold,#efd49f);letter-spacing:.04em}
.srBrand span{color:#9fb6c3;margin-left:6px}
.srMeta{display:grid;justify-items:end;gap:6px}
.srNum{font-variant-numeric:tabular-nums}
.srMeta .srNum{font-size:13px;color:#9fb6c3}
.srStamp{display:inline-block;font-size:12px;font-weight:600;padding:2px 10px;border-radius:999px;border:1px dashed var(--gold,#efd49f);color:var(--gold,#efd49f);white-space:nowrap}
.srSummary{border:1px solid #efd49f55;border-radius:10px;padding:16px 20px;background:linear-gradient(120deg,#efd49f14,transparent 70%)}
.srNote{font-size:13.5px!important;color:#9fb6c3!important}
.srKpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media (max-width:900px){.srKpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
.srKpi{border:1px solid #24414c;border-radius:10px;padding:12px 14px;background:#0c3043;min-width:0}
.srKpi span{font-size:13px;color:#9fb6c3}
.srKpi b{display:block;font-size:22px;margin:2px 0 4px}
.srKpi p{font-size:13px!important;line-height:1.65;margin:0}
.srChart{margin:16px 0 4px;border:1px solid #24414c;border-radius:10px;padding:10px;background:#061c28}
.srChart svg{display:block;width:100%;height:200px}
.srLine{fill:none;stroke:var(--gold,#efd49f);stroke-width:1.8;vector-effect:non-scaling-stroke}
.srAxis{stroke:#24414c;vector-effect:non-scaling-stroke}
.srTable{overflow-x:auto;margin:10px 0;border:1px solid #24414c;border-radius:10px}
.srTable table{width:100%;border-collapse:collapse;font-size:14px}
.srTable th,.srTable td{padding:9px 12px;text-align:left;border-bottom:1px solid #1b3744;white-space:nowrap;color:#c2d3dd}
.srTable th{font-size:13px;font-weight:600;color:#9fb6c3;background:#0c3043}
.srTable tr:last-child td{border-bottom:0}
.srTable .n{text-align:right;font-variant-numeric:tabular-nums}
.srTable .wt{white-space:normal;min-width:200px}
.srTag{display:inline-block;font-size:12px;padding:1px 9px;border-radius:999px;border:1px solid #41606c;white-space:nowrap}
.srTag.ok{border-color:#5fae8f;color:#8fd3b6}
.srTag.warn{border-color:var(--gold,#efd49f);color:var(--gold,#efd49f)}
.srTag.na{color:#9fb6c3}
.srExplain{font-size:14px!important}
.srCta{display:grid;gap:6px;border:1px solid var(--gold,#efd49f);border-radius:10px;padding:16px 20px;background:linear-gradient(160deg,#efd49f1c,#0c3043 60%)}
.srCta span{font-size:14.5px;line-height:1.8;color:#c2d3dd}
.srFoot{margin-top:24px;border-top:1px solid #24414c;padding-top:14px;font-size:13px;line-height:1.75;color:#9fb6c3}
@media (max-width:640px){.srMeta{justify-items:start}.srTable th,.srTable td{padding:8px 10px;font-size:13px}}
@media (max-width:480px){.srKpis{gap:8px}.srKpi{padding:10px 11px}.srKpi b{font-size:19px}}
@media (max-width:340px){.srKpis{grid-template-columns:1fr}}
