/* Canada-only integration. The existing finder owns its controls and result rows. */
.up-canada-finder{color:#292733;background:#fff;font-family:"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif;font-size:16px;line-height:1.75;padding:44px 0 52px;--upcaf-offset:180px}
.up-canada-finder,.up-canada-finder *{box-sizing:border-box}
.up-canada-finder #ca-school-finder{padding:0;background:#fff;scroll-margin-top:var(--upcaf-offset)}
.up-canada-finder .up-container,.upcaf-full-wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 20px}
.upcaf-full-wrap{text-align:right;margin-bottom:16px}
.upcaf-anchor{display:block;scroll-margin-top:var(--upcaf-offset)}
.up-canada-finder .up-table-section-title{font-size:28px;font-weight:700;line-height:1.4;margin:0 0 24px;letter-spacing:-.035em;text-align:left}
.up-canada-finder .upfd-name{font-size:16px;line-height:1.5}
.up-canada-finder .upfd-full-schools{white-space:nowrap}
.upcj .upcj-choice-section{padding:44px 0 36px}
.upcj .upcj-choice-section .upcj-section-head{margin-bottom:22px}
.upcj .upcj-choice-section h2{font-size:28px;line-height:1.4}
.upcj .upcj-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.upcj .upcj-choice-card{display:flex;flex-direction:column;min-width:0;padding:24px 22px;border:1px solid #a495b4;border-radius:8px;background:#fff}
.upcj .upcj-choice-card h3{font-size:20px;font-weight:700;line-height:1.4;margin:0 0 12px}
.upcj .upcj-choice-card p{font-size:16px;line-height:1.7;margin:0 0 22px}
.upcj .upcj-choice-card a{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;min-height:44px;padding:10px 12px;border:1px solid #65408a;border-radius:4px;background:#65408a;color:#fff;font-size:14px;font-weight:700;line-height:1.5}
.upcj .upcj-choice-card a:hover{background:#4f2e70;color:#fff}
.upcj .upcj-choice-card:focus-within{outline:2px solid #65408a;outline-offset:3px}
@media(max-width:1000px){.upcj .upcj-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.up-canada-finder{padding:32px 0 40px}.up-canada-finder .up-container,.upcaf-full-wrap{padding:0 18px}.up-canada-finder .up-table-section-title,.upcj .upcj-choice-section h2{font-size:24px}.upcj .upcj-choice-section{padding:32px 0 24px}.upcj .upcj-choice-grid{grid-template-columns:1fr;gap:12px}.upcj .upcj-choice-card{padding:20px}.upcj .upcj-choice-card h3{font-size:18px}.upcj .upcj-choice-card p{margin-bottom:16px}.upcj .upcj-choice-card a{font-size:16px}}
@media print{.up-canada-finder,.upcj-choice-card a{display:none!important}}

#canada-junior-guide .upcj{--upcj-header:inherit}
