.student-activity{max-width:1120px;margin:0 auto;color:#1e293b}.student-activity h1{font-size:26px;line-height:1.4;font-weight:700;letter-spacing:-.7px}.student-heading{display:grid;gap:8px;margin-bottom:24px}.student-heading>p:last-child{font-size:14px;color:#64748b}.student-heading .student-back{justify-self:start;padding:0;min-height:32px;font-weight:400}.student-activity .btn{font-size:14px;min-height:36px;border-radius:8px}.student-activity .btn:active{background:#e2e8f0}.student-activity .btn.primary:active{background:#173d6b}.student-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.student-entry{display:grid;justify-items:start;align-content:start;gap:12px;padding:24px;background:#fff;border:1px solid #e2e8f0;border-radius:16px}.student-entry h2{font-size:18px}.student-entry p{font-size:14px;color:#64748b;max-width:380px}.student-entry .btn{margin-top:4px}.student-entry-icon{display:grid;place-items:center;width:40px;height:40px;background:#eff6ff;color:#24538a;border-radius:12px}.student-intro-note{display:flex;align-items:center;gap:12px;padding:20px 0;font-size:13px;color:#64748b}.student-tag{display:inline-flex;align-items:center;flex:none;border-radius:999px;padding:3px 10px;background:#eaf1fa;color:#24538a;font-size:12px;line-height:20px}.student-privacy{font-size:12px;color:#64748b;line-height:1.7;margin-top:24px}.student-steps{list-style:none;display:flex;gap:12px;padding:0;margin:0 0 24px;color:#64748b;font-size:13px}.student-steps li{padding:8px 12px;border-bottom:2px solid #e2e8f0}.student-steps [aria-current]{border-color:#24538a;color:#24538a;font-weight:600}.student-form{display:grid;gap:24px;background:#fff;padding:24px;border:1px solid #e2e8f0;border-radius:16px;max-width:800px}.student-field{display:grid;gap:8px;min-width:0;border:0;padding:0;margin:0}.student-field legend{float:left;width:100%;margin:0 0 8px;padding:0}.student-field label:not(.student-option):not(.student-check),.student-field legend,.student-field h2{font-size:14px;font-weight:500;color:#475569;line-height:20px}.student-field small{font-size:12px;font-weight:400;color:#64748b;margin-left:6px}.student-field>input,.student-field textarea,.student-summary-field textarea,.student-browse-filters select,.student-search input{width:100%;min-width:0;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:9px 12px;font:400 14px/20px var(--font);color:#1e293b}.student-field>input,.student-browse-filters select,.student-search input{height:40px}.student-field textarea{resize:vertical}.student-field input:disabled{background:#f8fafc}.student-options,.student-chips{display:flex;flex-wrap:wrap;gap:8px}.student-option{position:relative;display:flex;min-width:0}.student-option>input{position:absolute;opacity:0;width:1px;height:1px}.student-option>span{display:flex;align-items:center;justify-content:center;min-width:88px;min-height:40px;padding:8px 16px;border:1px solid #cbd5e1;border-radius:8px;color:#1e293b;font-size:14px;background:#fff;cursor:pointer}.student-option>input:checked+span{border-color:#60a5fa;background:#eff6ff}.student-option>input:focus-visible+span{outline:2px solid #2563eb;outline-offset:3px}.student-check{display:flex;align-items:center;gap:8px;font-size:13px;color:#475569;font-weight:400;min-height:32px}.student-check input{accent-color:#24538a;width:15px;height:15px;flex:none}.student-chip{box-sizing:border-box;display:inline-flex;align-items:center;min-height:30px;padding:3px 12px;border:1px solid transparent;border-radius:999px;background:#f1f5f9;color:#1e293b;font-size:13px;line-height:22px;font-weight:400}.student-chip[aria-pressed=true]{background:#dbeafe;border-color:#93c5fd}.student-chip:hover{border-color:#94a3b8}.student-hint{color:#64748b;font-size:13px;font-weight:400}.student-type-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.student-type>span{display:grid;justify-content:stretch;align-content:start;gap:6px;padding:16px;text-align:left}.student-type strong{font-size:14px;font-weight:600}.student-type small{margin:0;line-height:1.6}.student-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.student-actions .btn:first-child{margin-right:auto}.student-samples{display:grid;gap:8px}.student-samples .student-sample{justify-content:flex-start;text-align:left;white-space:normal;font-weight:400}.student-sample[aria-pressed=true]{background:#eff6ff;border-color:#93c5fd}.student-summary-field{display:grid;gap:8px;margin-top:12px}.student-summary-field>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.student-message{padding:12px 16px;background:#eff6ff;border-radius:8px;font-size:14px;margin:12px 0}.student-message.error{background:#fff1f2;color:#b91c1c}.student-tabs{display:flex;gap:4px;border-bottom:1px solid #dce4ed;margin:24px 0 20px;overflow-x:auto}.student-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;flex:none;border:0;border-bottom:2px solid transparent;background:transparent;color:#64748b;padding:10px 16px;font-size:14px}.student-tabs [aria-selected=true]{border-bottom-color:#24538a;color:#24538a;font-weight:600}.student-tab-done{font-size:11px;color:#25755b;background:#e8f5ee;border-radius:999px;padding:1px 6px}.student-program-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.student-program-card{position:relative;display:grid;align-content:start;gap:12px;min-width:0;padding:20px;background:#fff;border:1px solid #dce4ed;border-radius:14px}.student-program-card:has(.student-card-link:hover){border-color:#94a3b8}.student-program-card h3{font-size:16px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.student-card-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.6;color:#475569}.student-tags{display:flex;flex-wrap:wrap;gap:8px}.student-tags span{display:inline-flex;align-items:center;box-sizing:border-box;height:28px;max-width:100%;padding:0 12px;border-radius:999px;background:#f1f5f9;font-size:13px;color:#1e293b;overflow-wrap:anywhere}.student-card-link{border:0;background:none;color:#24538a;padding:0;min-height:32px;display:flex;align-items:center;justify-content:space-between;font-size:13px;text-align:left}.student-card-link::after{content:'';position:absolute;inset:0;border-radius:14px}.student-card-link:focus-visible{outline:none}.student-card-link:focus-visible::after{outline:2px solid #2563eb;outline-offset:3px}.student-state{display:grid;justify-items:center;gap:12px;text-align:center;padding:32px 16px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;color:#64748b;font-size:14px}.student-state h2{font-size:16px;color:#334155}.student-search{display:flex;gap:8px;align-items:center;margin-bottom:16px}.student-search-input{width:min(320px,100%);min-width:0}.student-search .student-icon-button{padding:8px;width:40px;height:40px;flex:none}.student-icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.student-browse-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:16px}.student-browse-filters label{display:grid;gap:8px;min-width:130px;font-size:13px;color:#475569}.student-list-count{font-size:13px;color:#64748b;margin-bottom:12px}.student-program-dialog{padding:0;border:0;border-radius:16px;background:transparent;width:min(680px,calc(100vw - 32px));margin:auto;max-width:calc(100vw - 32px);max-height:85dvh;overflow:hidden;color:#1e293b}.student-program-dialog::backdrop{background:rgba(0,0,0,.35)}.student-program-dialog .program-detail-modal{max-height:85dvh}.student-program-dialog .program-modal-body{word-break:keep-all;overflow-wrap:anywhere;display:grid;align-content:start;gap:24px;overflow-y:auto;overscroll-behavior:contain}.student-program-dialog .program-modal-body>hr{margin:0}.student-program-dialog .program-modal-header h2{font-size:20px;font-weight:600;line-height:28px}.student-program-dialog .program-modal-close{font-size:24px!important;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important}.student-program-dialog .program-modal-footer .btn{width:auto;min-width:64px;white-space:normal;height:auto;min-height:36px;padding:7px 12px}.student-program-dialog .program-modal-primary-actions .btn{min-width:170px}.student-program-dialog .program-modal-primary-actions{min-width:0}.student-detail-section,.student-detail-topics{display:grid;gap:8px;min-width:0;border:0;margin:0;padding:0}.student-detail-section h3,.student-detail-topics h3{font-size:14px;font-weight:600;color:#334155;line-height:20px}.student-detail-section p,.student-detail-topics p{font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.student-topic-list{display:grid;gap:16px;min-width:0}.student-topic-list article{display:grid;gap:8px;min-width:0;padding-left:12px;border-left:2px solid #bfdbfe}.student-detail-topics h3 small{margin-left:4px;font-size:12px;font-weight:400;color:#64748b}.student-topic-list h4,.student-topic-list p{min-width:0;margin:0}.student-topic-list h4{font-size:16px;line-height:1.5;font-weight:600;color:#173d6b}.student-topic-list p{font-weight:400;color:#334155}
@media(max-width:1150px){.student-program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.student-activity h1{font-size:22px}.student-heading{margin-bottom:20px}.student-entry-grid,.student-type-options,.student-program-grid{grid-template-columns:minmax(0,1fr)}.student-entry,.student-form{padding:20px}.student-intro-note{align-items:flex-start}.student-options .student-option{flex:1}.student-options .student-option>span{width:100%;min-width:0;padding:8px 10px}.student-wrap .student-option{flex-basis:100%}.student-browse-filters label{flex:1;min-width:120px}.student-program-dialog .program-modal-primary-actions{min-width:0;flex:1}.student-program-dialog .program-modal-footer{gap:8px}.student-program-dialog .program-modal-primary-actions .btn{width:100%}.student-steps{gap:4px}.student-steps li{padding:8px;font-size:12px}}

.student-activity .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}
@media(max-width:360px){.student-program-dialog .program-modal-primary-actions{flex-basis:100%}.student-program-dialog .program-modal-primary-actions .btn{min-width:0}}

/* Student program catalogue */
.student-browse{container:student-browse / inline-size;min-width:0}
.student-browse>.student-back{min-height:32px;padding:0;margin-bottom:8px}
.student-browse-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:start;gap:12px 20px}
.student-browse-heading>div{min-width:0}
.student-browse-heading p{margin-top:8px;font-size:14px;color:#64748b}
.student-browse-recommend{display:inline-flex;align-items:center;gap:8px;padding:5px 0;color:#24538a;font-size:14px;font-weight:600}
.student-browse-recommend:hover{text-decoration:underline}
.student-browse .student-tabs{flex-wrap:wrap;overflow:visible;margin:16px 0 12px}
.student-browse .student-tabs button{padding:8px clamp(8px,2.5cqi,16px)}
.student-browse .student-search{flex-wrap:wrap;margin-bottom:12px}
.student-browse-search-fields{display:grid;grid-template-columns:minmax(0,280px) max-content;align-items:center;gap:8px;flex:0 1 420px;min-width:0;max-width:100%}
.student-browse-searchbox{position:relative;min-width:0}
.student-browse .student-search input,.student-browse .student-search select{display:block;height:40px;min-height:40px;margin:0}
.student-browse .student-search input{padding-right:42px}
.student-browse-search-submit{position:absolute;right:4px;top:4px;width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:6px;background:transparent;color:#24538a}
.student-browse-search-submit:hover{background:#eff6ff}
.student-browse-search-submit svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.student-browse select{min-height:40px;max-width:100%;padding:6px 8px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#1e293b;font-size:14px}
.student-grade-select{position:relative;width:116px;font-size:14px}
#student-grade-trigger{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  box-sizing:border-box;width:100%;height:40px;padding:0 12px;
  border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#1e293b;
  font:inherit;white-space:nowrap;cursor:pointer;
}
#student-grade-trigger svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
#student-grade-options{
  position:absolute;z-index:5;top:calc(100% + 6px);left:0;
  box-sizing:border-box;width:100%;padding:4px;
  border:1px solid #e2e8f0;border-radius:10px;background:#fff;
  box-shadow:0 6px 16px #2032481f;
}
#student-grade-options[hidden]{display:none}
#student-grade-options [role="option"]{display:flex;align-items:center;height:36px;padding:0 8px;border-radius:6px;text-align:left;cursor:pointer}
.student-browse .student-search > [data-student-action="filters"]{box-sizing:border-box;height:40px;min-height:40px;padding-block:0}
.student-browse-filters[hidden]{display:none}
.student-browse .student-program-grid{grid-template-columns:minmax(0,1fr)}
.student-browse-card{grid-template-rows:auto auto 1fr auto;gap:8px;width:100%;padding:16px 18px;text-align:left;color:#1e293b;font:inherit;cursor:pointer}
.student-browse-card:hover{border-color:#94a3b8}
.student-browse-card:focus-visible{outline:2px solid #2563eb;outline-offset:3px}
.student-browse-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;font-size:12px;color:#64748b}
.student-area-badge{border-radius:999px;padding:2px 8px;background:#dbeafe;color:#1d4ed8;font-weight:600}
.student-area-badge[data-area="CAREER"]{background:#ede9fe;color:#6d28d9}
.student-area-badge[data-area="CLUB"]{background:#ccfbf1;color:#0f766e}
.student-area-badge[data-area="VOLUNTEER"]{background:#ffedd5;color:#c2410c}
.student-browse-name,.student-browse-card .student-card-description{overflow-wrap:anywhere}
.student-browse-name{font-size:16px;font-weight:600;line-height:1.45}
.student-browse-arrow{justify-self:end;color:#24538a;font-size:18px;line-height:1}
@container student-browse (min-width:456px){.student-browse .student-program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container student-browse (min-width:692px){.student-browse .student-program-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Recommendation step one */
.student-activity .student-form{container:student-form / inline-size}
#student-interest-form .student-field legend{float:none;width:auto;max-width:100%}
#student-interest-form .student-field>label>small,
#student-interest-form legend>small{vertical-align:baseline}
#student-interest-form .student-field>.student-check,
#student-interest-form .student-field>.student-hint{margin-top:4px}
#student-interest-form .student-check{
 display:flex;align-items:flex-start;justify-self:start;gap:8px;
 min-height:20px;max-width:100%;line-height:20px;cursor:pointer
}
#student-interest-form .student-check input{width:16px;height:16px;min-height:0;margin:2px 0 0;padding:0;flex:none;cursor:pointer}
#student-interest-form .student-check:has(input:focus-visible){outline:2px solid #2563eb;outline-offset:3px;border-radius:4px}
#student-interest-form .student-check input:focus-visible{outline:none}
#student-interest-form .student-grade-options{display:grid;grid-template-columns:repeat(3,minmax(0,88px))}
#student-interest-form .student-grade-options .student-option>span{width:100%;min-width:0;height:40px;padding:8px 4px;white-space:nowrap}
.student-activity .student-form .student-type-options{grid-template-columns:repeat(2,minmax(0,1fr))}
.student-activity .student-form .student-type>span{width:100%;min-width:0;align-items:start;align-content:start}
#student-interest-form .student-actions .btn{height:40px;min-height:40px}
@container student-form (max-width:420px){
 .student-activity .student-form .student-type-options{grid-template-columns:minmax(0,1fr)}
}
.student-record{gap:12px}
.student-record-preview{display:block;max-width:100%;max-height:360px;object-fit:contain;object-position:left center;border:1px solid #e2e8f0;border-radius:8px}
.student-record-actions{display:flex;flex-wrap:wrap;gap:8px}
.student-record textarea{display:block;margin:0}

.student-program-dialog .program-modal-footer{justify-content:flex-end}

.student-activity .student-result-tools{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin-bottom:16px;border-bottom:1px solid #dce4ed}
.student-result-tools .student-tabs{flex:1 0 auto;max-width:100%;min-width:0;margin:0;border-bottom:0}
.student-activity .student-result-tools .student-edit-input{margin-left:auto;padding:0 4px;min-height:32px;border:0;border-radius:0;background:transparent;font:inherit;font-size:14px;font-weight:400;color:var(--primary);white-space:nowrap;cursor:pointer}
.student-edit-input:focus-visible{outline:2px solid var(--primary);outline-offset:2px}

.student-selection{
 background:#fff;border:1px solid #dce4ed;border-radius:14px;padding:16px;
 margin-top:24px;display:grid;gap:12px;min-width:0;
}
.student-selection>h2{display:flex;align-items:baseline;gap:8px;font-size:17px}
.student-selection-count{font-size:12px;font-weight:400;color:#64748b}
.student-selection-grid{display:grid;gap:8px}
.student-selection-grid>section{display:grid;grid-template-columns:3rem minmax(0,1fr);align-items:center;gap:8px}
.student-selection-grid h3{font-size:13px;font-weight:500;color:#475569}
.student-selection-grid strong,.student-selection-grid p{min-width:0;overflow-wrap:anywhere;font-size:14px}
.student-selection-grid strong{font-weight:500}
.student-selection-footer{justify-self:end;margin-top:4px}
.student-activity .student-selection-footer .btn{
 box-sizing:border-box;width:auto;min-width:0;height:36px;min-height:36px;
 padding:0 12px;font-size:14px;
}

.student-result-layout{container:student-results / inline-size}
.student-result-columns>.student-selection{
 margin-top:0;padding:16px 0 0;background:none;border:0;border-top:1px solid #dce4ed;
 border-radius:0;box-shadow:none;gap:8px;
}
.student-result-layout>.student-result-columns{display:grid;gap:16px;align-items:start}
.student-result-list{container:student-result-list / inline-size;min-width:0}
.student-result-list .student-program-grid{grid-template-columns:minmax(0,1fr)}
@container student-result-list (min-width:456px){
 .student-result-list .student-program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container student-result-list (min-width:692px){
 .student-result-list .student-program-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@container student-results (min-width:760px){
 .student-result-layout>.student-result-columns{grid-template-columns:minmax(0,1fr) 280px}
 .student-result-columns>.student-selection{
  position:sticky;top:16px;padding:8px 0 0 22px;border-top:0;border-left:1px solid #dce4ed;
 }
}

.student-recommendation-card{grid-template-rows:auto auto auto 1fr}
.student-recommendation-card.selected{border-color:#25755b}
.student-recommendation-header{display:flex;align-items:start;justify-content:space-between;gap:8px;min-width:0}
.student-recommendation-header h3{min-width:0}
.student-recommendation-header .student-tab-done{flex:none;white-space:nowrap}
.student-recommendation-preview{display:grid;gap:4px;min-width:0}
.student-recommendation-preview h4{font-size:12px;font-weight:600;color:#475569}
.student-recommendation-preview>div{height:40px}
.student-recommendation-preview p{
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
 overflow-wrap:anywhere;font-size:13px;line-height:20px;color:#475569;
}
.student-recommendation-card .student-card-link{align-self:end}

.student-detail-topics h3{color:var(--primary)}
.student-detail-context{display:grid;gap:16px;min-width:0}
.student-activity a.student-back{display:inline-block;justify-self:start;margin-bottom:12px;padding:0;min-height:0;color:var(--primary);font-size:14px;font-weight:400;border:0;background:transparent;border-radius:0}

.student-browse{min-width:0}
.student-browse .student-search{position:relative;display:flex;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-bottom:10px}
.student-browse .student-browse-searchbox{flex:0 1 260px;width:260px;min-width:0;height:36px;margin-right:4px}
.student-browse .student-browse-searchbox input{height:36px;min-height:36px;padding:7px 36px 7px 10px;font-size:14px}
.student-browse .student-browse-search-submit{top:2px;width:32px;height:32px;min-height:0}
.student-filter-trigger,.student-filter-reset{display:grid;place-items:center;flex:none;width:32px;height:32px;padding:0;border:0;background:transparent;border-radius:6px;color:#64748b;cursor:pointer}
.student-filter-trigger:hover,.student-filter-reset:hover{background:#eef0f3}
.student-filter-trigger.is-selected{color:var(--primary)}
.student-filter-trigger svg,.student-filter-reset svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.student-filter-popover{position:absolute;top:calc(100% + 6px);left:0;z-index:20;box-sizing:border-box;width:240px;max-width:100%;padding:12px;display:grid;gap:12px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 6px 20px #0f172a14}
.student-filter-label{display:grid;gap:4px;min-width:0;font-size:12px;color:#64748b}
.student-filter{position:relative;font-size:13px}
.student-filter>summary{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;gap:5px;height:32px;padding:0 8px;cursor:pointer;list-style:none;border:1px solid #e2e8f0;background:#fff;border-radius:6px;color:#475569;white-space:nowrap}
.student-filter>summary::-webkit-details-marker{display:none}
.student-filter>summary{position:relative;padding-right:36px;list-style:none}
.student-filter>summary::marker{content:''}
.student-filter-chevron{position:absolute;right:12px;top:50%;display:block;width:16px;height:16px;transform:translateY(-50%);pointer-events:none}
.student-filter-chevron svg{display:block;width:16px;height:16px;stroke:#64748b;stroke-width:1.75;transition:transform 150ms ease}
.student-filter[open] .student-filter-chevron svg{transform:rotate(180deg)}
.student-filter-menu{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:21;max-height:180px;overflow-y:auto;padding:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 6px 20px #0f172a14}
.student-filter-menu button{display:block;box-sizing:border-box;width:100%;height:32px;padding:0 8px;border:0;border-radius:4px;background:transparent;text-align:left;font:inherit;color:#475569;white-space:nowrap;cursor:pointer}
.student-filter-menu button:hover{background:#f1f5f9}
.student-filter-menu button[aria-pressed="true"]{background:#eff6ff;color:var(--primary)}
.student-filter summary:focus-visible,.student-filter-popover button:focus-visible,.student-filter-reset:focus-visible,.student-filter-trigger:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.student-filter-footer{display:flex;justify-content:flex-end}
.student-filter-footer .btn{height:32px;min-height:32px;padding:0 12px;font-size:13px}
.student-browse .student-list-count{font-size:12px}
.student-filter-trigger,.student-filter-reset{box-sizing:border-box}
.student-activity a.student-back,.student-activity .student-result-tools .student-edit-input{text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:1px;text-underline-offset:4px;transition:color 150ms ease,text-decoration-color 150ms ease}
.student-activity a.student-back:hover,.student-activity .student-result-tools .student-edit-input:hover{color:#1d4ed8;text-decoration-color:currentColor}
@media (prefers-reduced-motion:reduce){.student-activity a.student-back,.student-activity .student-result-tools .student-edit-input{transition:none}}
.student-topic-book{display:grid;gap:4px;margin-bottom:4px}
.student-topic-book h4 small{font-size:13px;font-weight:400;color:#64748b}
.student-topic-book{display:flex;align-items:flex-start;gap:14px}
.student-book-info{display:grid;gap:4px;min-width:0}
.student-book-cover{display:grid;place-items:center;flex:none;width:68px;min-height:96px;background:#f1f5f9;border-radius:4px;overflow:hidden}
.student-book-cover img{display:block;width:68px;height:96px;object-fit:contain}
.student-book-cover img[hidden],.student-book-cover-fallback[hidden]{display:none}
.student-book-cover-fallback{padding:8px;color:#64748b;font-size:12px;text-align:center}
.student-back-links{display:flex;align-items:center;flex-wrap:wrap;gap:20px}

.footer-note .student-footer-privacy{margin:0 0 12px;padding:0;font-size:12px;line-height:1.6;color:#64748b;text-align:center;overflow-wrap:anywhere}
/* The intro uses the space between its heading and the shared footer. */
#main:has(.student-intro){display:flex;flex-direction:column}
#main:has(.student-intro)>.student-activity{display:flex;flex:1;width:100%}
.student-intro{display:flex;flex:1;flex-direction:column;min-width:0}
.student-intro>.student-heading{margin-bottom:0}
.student-entry-placement{display:grid;flex:1;grid-template-rows:minmax(24px,.8fr) auto minmax(0,1.2fr)}
.student-entry-placement>.student-entry-grid{grid-row:2}
@media(max-height:650px),(max-width:760px){
 .student-entry-placement{display:block;flex:none;padding-top:24px}
}
.student-entry-placement>.student-entry-grid{width:100%;max-width:960px;justify-self:center;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.student-intro .student-entry{min-width:0;grid-template-rows:auto auto 1fr auto;align-content:stretch}
.student-intro .student-entry>.btn{align-self:end}
@media(max-width:760px){.student-entry-placement>.student-entry-grid{grid-template-columns:minmax(0,1fr)}}
.student-intro .student-entry{display:flex;flex-direction:column;align-items:flex-start;min-height:0;padding:24px;gap:0}
.student-intro .student-entry>.btn{align-self:flex-end;margin-top:auto}
.student-intro .student-entry-icon{margin-bottom:16px}
.student-intro .student-entry>h2{margin-bottom:12px}
.student-intro .student-entry>p{margin-bottom:36px}
