/* Match the existing AI service homepage. Local assets only. */
:root{--student-blue:#126dff;--student-ink:#101c45;--student-muted:#647598;--student-line:#e2edfc}
header{background:#fffffff5;border-bottom:1px solid #e4edf9}header nav{max-width:1160px;min-height:76px;padding:14px 24px;gap:22px}
header .brand-logo{display:flex;align-items:center;gap:10px;line-height:1.3;white-space:nowrap;flex:none;color:var(--student-ink)}.brand-book{width:38px;height:35px;flex:none}.brand-wordmark{display:flex;flex-direction:column;gap:3px}header .brand-wordmark strong{font-size:23px;letter-spacing:-.6px}header .brand-wordmark>span{margin:0;font-size:11px;letter-spacing:.3px;color:#647598}
.navlinks{font-size:13px;gap:22px;color:#62708a}.navlinks a.active,.navlinks a:hover{color:var(--student-blue)}.navlinks a[href="/resources"]{color:var(--student-blue)}.brand-credit{font-size:12px;font-weight:600;color:#526b92;margin-top:8px!important}
body:has(.resources-page){color:var(--student-ink);background:#f7faff;font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
main:has(.resources-page){max-width:1160px;padding:26px 24px 42px}.resources-page h1,.resources-page h2,.resources-page h3{color:var(--student-ink)}.resources-page p{color:var(--student-muted)}
.resources-page .pagehead{margin:0 0 30px;padding:26px 30px;background:linear-gradient(115deg,#eaf4ff,#f5f9ff);border:1px solid #dfecff;border-radius:16px}.resources-page .pagehead>.eyebrow{display:none}.resources-page .pagehead h1{font-size:30px;line-height:1.45;letter-spacing:-.8px;margin:0 0 8px}.resources-page .pagehead p{font-size:14px;line-height:1.85;margin:0 0 16px}.resource-test-links{display:flex;gap:10px;flex-wrap:wrap}
.resources-page .button,.resources-page button.primary{color:white;background:var(--student-blue);border:1px solid var(--student-blue);border-radius:9px;padding:10px 20px;font-size:14px;min-height:42px}.resources-page .button:hover{background:#0754db}.resources-page .button.secondary,.resources-page button.secondary{background:white;color:#315c9a;border:1px solid #bcd5f8;border-radius:9px;padding:9px 18px;min-height:42px}.resources-page .button.secondary:hover{background:#f3f8ff}
.resources-page .cloud-resources{margin:0 0 30px}.resources-page .growth-heading .eyebrow{display:none}.resources-page .growth-heading h2,.resources-page>.section>h2{font-size:22px;line-height:1.5;margin-bottom:8px;border-left:4px solid var(--student-blue);padding-left:12px}.resources-page .growth-heading p{font-size:13px;line-height:1.85;margin:0 0 18px}.resources-page>.section>p{font-size:13px;line-height:1.85}
.resources-page .card{background:white;border:1px solid var(--student-line);border-radius:14px;box-shadow:0 5px 20px #2468ad05}.resources-page .cloud-grid{gap:20px}.resources-page .cloud-card{padding:24px}.resources-page .cloud-card-heading{margin-bottom:18px}.resources-page .cloud-card-heading h3{font-size:21px}.resources-page .cloud-mark{background:#edf4ff;color:var(--student-blue);width:46px;height:46px;border-radius:11px;font-size:25px}.resources-page .quark .cloud-mark{background:#f3eefe;color:#8060be}.resources-page .cloud-card-heading .fine{color:#6d7e99}
.resources-page .extraction-code{background:#f4f8fe;border:1px solid #e7eef9;border-radius:8px;min-height:47px;font-size:12px;color:#647598}.resources-page .extraction-code strong{color:#315580;font-size:18px}.resources-page .text-button{color:#3377d2;font-size:12px}.resources-page .cloud-tip{font-size:13px;min-height:47px}.resources-page .cloud-actions{gap:10px;margin-top:18px}.resources-page .cloud-actions .button,.resources-page .cloud-actions button{font-size:13px;padding:9px 16px}
.resources-page .claim-guide{padding:18px 22px;border:1px solid #e1ebf9;background:#f1f7ff;border-radius:12px;margin-top:18px}.resources-page .claim-guide h3{font-size:15px;color:#315580}.resources-page .claim-guide ol{font-size:12px;color:#647598;line-height:1.9}.resources-page .claim-guide .fine{font-size:11px;color:#6b7c96;line-height:1.85}
.resources-page>.section{margin-top:30px}.resources-page .download-grid{gap:18px}.resources-page .download-grid .card{display:flex;flex-direction:column;align-items:flex-start;padding:23px}.resources-page .resource-title{font-size:18px;margin:14px 0 9px}.resources-page .download-grid .card p{font-size:13px;line-height:1.9;flex:1;margin-bottom:18px}.resources-page .download-grid .button{font-size:12px;padding:7px 13px;min-height:36px}.resources-page .number{font-size:11px;letter-spacing:.6px;color:#4d83cf}.resources-page .fine.section{font-size:11px;margin-top:16px;line-height:1.85;color:#6b7c96}
.resources-page .paper-toolbox{padding-top:0}.resources-page .tool-symbol{background:#edf5ff;color:var(--student-blue);width:38px;height:38px;border-radius:9px;font-size:18px}.resources-page .tool-card h3{font-size:17px}.resources-page .tool-link{color:var(--student-blue);font-size:12px}.resources-page .tool-card p{font-size:12px;line-height:1.85}
.resources-page .contact-strip{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:26px;padding:24px 30px;margin-top:24px;background:linear-gradient(115deg,#edf6ff,#f8fbff);border:1px solid #dceaff;border-radius:16px}.resources-page .contact-strip h3{font-size:22px;margin-bottom:8px}.resources-page .contact-strip p{font-size:13px;line-height:1.9;margin-bottom:12px}.resources-page .contact-strip strong{color:var(--student-blue);user-select:all}.resources-page .contact-actions{gap:10px}.resources-page .contact-actions .button{font-size:12px;padding:8px 14px;min-height:38px}.resources-page .contact-qr{flex:none;display:block;text-align:center;font-size:11px;line-height:1.6;color:#6b7c96;max-width:154px}.resources-page .contact-qr img{display:block;width:154px;height:auto;object-fit:contain;border:5px solid white;padding:0;border-radius:9px;background:white;margin-bottom:5px}
.resources-back{text-align:center;margin-top:22px}.resources-page .resources-back .button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:10px 24px;font-size:14px;background:white;color:#315c9a}
body:has(.resources-page) footer{max-width:1112px;border-color:#e0eafa;color:#647598;padding:28px 0}body:has(.resources-page) footer .logo{color:var(--student-ink);font-size:22px}body:has(.resources-page) footer p{color:#647598}body:has(.resources-page) footer>.fine{font-size:11px;max-width:310px;line-height:1.9}
@media(min-width:761px) and (max-width:1100px){.navlinks{gap:15px;font-size:12px}header nav{gap:16px}}
@media(max-width:760px){header nav{padding:12px 18px 9px;min-height:102px;gap:9px}.brand-book{width:32px;height:31px}header .brand-wordmark strong{font-size:21px}header .brand-wordmark>span{font-size:11px}.navlinks{gap:17px;font-size:12px;padding-bottom:2px}.navlinks a[href="/resources"]{order:-1}main:has(.resources-page){padding:18px 16px 32px}.resources-page .pagehead{padding:22px 20px;margin-bottom:25px;border-radius:13px}.resources-page .pagehead h1{font-size:26px;line-height:1.5;letter-spacing:-.6px}.resources-page .keep-line{display:block}.resources-page .pagehead p{font-size:13px;line-height:1.9;margin-bottom:16px}.resource-test-links{gap:9px}.resource-test-links .button.secondary{flex:1;font-size:12px;min-height:42px;padding:10px 11px;white-space:nowrap}.resources-page .growth-heading h2,.resources-page>.section>h2{font-size:20px}.resources-page .growth-heading p{font-size:12px}.resources-page .cloud-grid{gap:14px}.resources-page .cloud-card{padding:21px}.resources-page .cloud-card-heading h3{font-size:20px}.resources-page .cloud-actions{gap:9px}.resources-page .cloud-actions .button,.resources-page .cloud-actions button{font-size:12px;padding:9px 12px}.resources-page .claim-guide{padding:17px 18px;margin-top:14px}.resources-page .claim-guide ol{font-size:12px}.resources-page .claim-guide .fine{font-size:11px}.resources-page>.section{margin-top:27px}.resources-page .download-grid{gap:14px}.resources-page .download-grid .card{padding:21px}.resources-page .contact-strip{padding:22px 20px;gap:20px;flex-direction:column;align-items:flex-start;border-radius:13px}.resources-page .contact-strip h3{font-size:20px}.resources-page .contact-strip p{font-size:12px}.resources-page .contact-actions{width:100%}.resources-page .contact-actions .button{flex:1;padding:9px 10px;font-size:12px;min-height:40px;white-space:nowrap}.resources-page .contact-qr{align-self:center;max-width:170px;font-size:11px}.resources-page .contact-qr img{width:170px}.resources-page .resources-back{margin-top:20px}.resources-page .resources-back .button{width:100%;min-height:44px}body:has(.resources-page) footer{margin:0 16px;padding:24px 0;gap:20px}body:has(.resources-page) footer>.fine{max-width:none;width:100%;font-size:11px}.resources-page .tool-card{padding:21px}}
@media(max-width:360px){.resource-test-links .button.secondary{font-size:11px;padding:10px 8px}.resources-page .contact-actions .button{font-size:11px;padding:9px 8px}}

/* Resource template preview — display only; existing claiming actions stay below. */
.resources-page .resource-preview{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.15fr);align-items:center;position:relative;isolation:isolate;overflow:hidden;margin:0 0 20px;border:1px solid #dceaff;border-radius:16px;background:linear-gradient(110deg,#eaf3ff 0%,#f4f8ff 56%,#f9fbff 100%)}
.resources-page .resource-preview-copy{padding:32px 0 32px 32px;z-index:1;min-width:0}
.resources-page .resource-preview-label{display:block;font-size:12px;font-weight:600;letter-spacing:1.5px;color:#5579aa;margin-bottom:15px}
.resources-page .resource-preview h3{font-size:29px;line-height:1.45;letter-spacing:-.5px;margin:0;color:var(--student-ink)}
.resources-page .resource-preview-count,.resources-page .resource-preview-topic{display:block}
.resources-page .resource-preview-count{color:var(--student-blue)}
.resources-page .resource-preview h3 strong{display:block;font-size:20px;line-height:1.5;color:var(--student-ink);margin-top:14px;letter-spacing:0}
.resources-page .resource-preview-note{font-size:12px;line-height:1.8;color:#6a7f9d;margin:15px 0 0}
.resources-page .resource-preview-visual{min-width:0;height:340px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.resources-page .resource-preview-visual img{display:block;width:100%;height:100%;object-fit:contain}
@media(min-width:761px) and (max-width:1000px){.resources-page .resource-preview-copy{padding:26px 0 26px 24px}.resources-page .resource-preview h3{font-size:25px}.resources-page .resource-preview h3 strong{font-size:18px}.resources-page .resource-preview-visual{height:310px}}
@media(max-width:760px){.resources-page .resource-preview{grid-template-columns:minmax(0,1fr);border-radius:14px;margin-bottom:15px}.resources-page .resource-preview-copy{padding:23px 22px 5px}.resources-page .resource-preview-label{font-size:10px;letter-spacing:1px;margin-bottom:10px}.resources-page .resource-preview h3{font-size:25px;line-height:1.45}.resources-page .resource-preview h3 strong{font-size:18px;margin-top:9px}.resources-page .resource-preview-note{font-size:11px;margin-top:10px}.resources-page .resource-preview-visual{height:clamp(180px,60vw,260px);aspect-ratio:auto;padding:0 5px 7px}.resources-page .resource-preview-visual img{height:100%;max-height:260px}}
@media(max-width:360px){.resources-page .resource-preview-copy{padding:21px 18px 4px}.resources-page .resource-preview h3{font-size:22px}.resources-page .resource-preview h3 strong{font-size:16px}.resources-page .resource-preview-note{font-size:10px}}

/* Shared blue/white palette for all routes. Layout and type artwork stay intact. */
:root{--student-blue:#126dff;--student-ink:#101c45;--student-muted:#647598;--student-line:#e2edfc;--student-page:#f7faff;--student-wash:#edf5ff;--student-hover:#0754d8;--student-track:#e2edfc}
body{color:var(--student-ink);background:var(--student-page)}
h1,h2,h3{color:var(--student-ink)}
p,.fine,.empty,.number,.stats span,.quiztop .row,.crossform label,.crossprofile-title h3,.crossportrait,.claim-steps,.prose ul{color:var(--student-muted)}
.logo{color:var(--student-ink)}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:var(--student-blue)}
.eyebrow{color:#47648e;border-color:var(--student-line);background:#ffffff80}
.hero{border-color:var(--student-line);background:radial-gradient(ellipse at 50% 0%,#e6f1ff,transparent 70%),#ffffffb3;box-shadow:0 18px 45px #2468ad08}
.stats div{border-color:var(--student-line)}
.stats strong,.card .code,.resultcode,.pair-code{color:var(--student-blue)}
.button,button.primary{background:var(--student-blue);border-color:var(--student-blue);color:white}
.button:hover,button.primary:hover{background:var(--student-hover);border-color:var(--student-hover)}
.button.secondary,button.secondary{background:white;color:#315c9a;border-color:#bcd5f8}
.button.secondary:hover,button.secondary:hover{background:#edf5ff;border-color:#8fbaff;color:#174d99}
.card,.faq,.crossresult{border-color:var(--student-line);background:white}
.card[href]:hover{box-shadow:0 10px 22px #2468ad0d}
.banner,.resource-banner{background:#edf5ff;border-color:#dceaff}
.notice{background:#edf5ff;border-color:#dceaff;color:#526989}
.faq details{border-color:var(--student-line)}
.quiztop{background:#f7fafff5}
.progress,.bar{background:var(--student-track)}
.progress span,.bar i{background:var(--student-blue)}
.question legend span{color:var(--student-muted)}
.option{border-color:#dce7f7;background:white;color:var(--student-ink)}
.option:hover{background:#f2f7ff;border-color:#a8c9ff}
.option:has(input:checked),.mbti-options .option:has(input:checked){background:#eaf3ff;border-color:var(--student-blue)}
.option input,.mbti-options input{accent-color:var(--student-blue)}
.badge{background:#eaf3ff;color:#235cb2;border-color:#d4e5ff}
.related,.crossprofile{border-color:var(--student-line)}
label select,.search{border-color:#cddff8;background:white;color:var(--student-ink)}
.search::placeholder{color:var(--student-muted)}
.mbtilist a{border-color:var(--student-line);background:white;color:#315c9a}
footer{border-color:var(--student-line);color:var(--student-muted)}
#toast{background:#173762;color:white}
.breadcrumbs,.breadcrumbs a{color:var(--student-muted)}
.faq-hero{border-color:var(--student-line);background:white;box-shadow:0 15px 35px #2468ad0a}
.faq-hero:after{background:#edf5ff}
.faq-hero p{color:var(--student-muted)}
.faq-jumps a{background:#edf5ff;border-color:#d6e6fc;color:#315c9a}
.faq-jumps a:hover{background:#e3efff;border-color:#9fc3ff}
.faq-group h2{border-color:#9ec3ff}
.faq-entry{border-color:var(--student-line);background:white}
.faq-entry summary{background:#f0f6ff;color:var(--student-ink)}
.faq-entry summary:after{color:var(--student-blue)}
.faq-entry[open] summary{background:#eaf3ff}
.faq-answer,.faq-answer p{color:var(--student-muted)}
.faq-links a{color:#235cb2}
.mbti-card:hover{border-color:var(--student-blue)}
.preference-track{background:#dce8fb}
.preference-track i{background:var(--student-blue)}
.balanced-mark{color:var(--student-muted)}
.contact-qr{color:var(--student-muted)}
.contact-strip .contact-qr img{border-color:var(--student-line)}
.tool-symbol{background:#eaf3ff;color:var(--student-blue)}
.tool-link,.text-button{color:#235cb2}
.contact-strip{border-color:#dceaff;background:#edf5ff}
.share-tools label{color:var(--student-muted)}
.share-tools textarea{border-color:#cddff8;background:#f7faff;color:var(--student-ink)}
.crossportrait .avatar{background:#edf5ff}
.extraction-code{background:#f4f8ff;border-color:var(--student-line);color:var(--student-muted)}
.extraction-code strong{color:#315c9a}
.claim-guide{background:#f0f6ff;border-color:var(--student-line)}
.claim-guide ol{color:var(--student-muted)}
.resources-page .number,.resources-page .fine.section,.resources-page .claim-guide .fine,.resources-page .contact-qr,.resources-page .resource-preview-note{color:var(--student-muted)}
/* Type illustrations and MBTI group tints keep their existing identifying colors.
   Error red and disabled opacity also keep their existing semantic meanings. */
@media print{body{background:white}}
