.kn-housing{border-top:1px solid var(--line);margin-top:18px;padding:17px 0 4px;color:var(--ink)}
.kn-housing h3{font-size:1.05rem;margin:0 0 12px;display:flex;align-items:center;gap:8px}
.kn-housing-badge{font-size:.75rem;letter-spacing:.04em;font-weight:700;color:var(--ink);background:#e6eeec;padding:3px 7px;border-radius:5px}
.kn-housing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.kn-housing-grid>div{min-width:0}.kn-housing-grid span,.kn-rent-grid span{display:block;font-size:.875rem;line-height:1.4;margin-bottom:6px}
.kn-housing-grid strong{display:block;font-size:1.24rem;letter-spacing:-.02em;line-height:1.45}
.kn-housing-grid small{font-size:.8rem;font-weight:400;letter-spacing:0;line-height:1.4}
.kn-housing-grid p{font-size:.875rem;margin:0;line-height:1.45;color:var(--muted)}
.kn-housing .kn-housing-note,.kn-housing-note{font-size:.82rem;line-height:1.5;color:var(--muted);margin:12px 0}
.kn-housing>.text-link{font-size:.875rem;margin:2px 0}
.kn-housing-dialog{width:min(850px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:0;border:1px solid var(--line);border-radius:16px;color:var(--body);background:white;position:fixed;inset:0;margin:auto}
.kn-housing-dialog::backdrop{background:#132e31a6}.kn-housing-dialog .dialog-toolbar{display:flex;justify-content:flex-end;padding:12px 20px;position:sticky;top:0;background:white;z-index:1;border-bottom:1px solid var(--line)}
.kn-housing-dialog .dialog-toolbar button{font:inherit;border:0;background:none;color:var(--ink);cursor:pointer;min-height:32px}
.kn-housing-dialog>h2{font-size:1.8rem;line-height:1.15;letter-spacing:-.035em;color:var(--ink);margin:24px 28px 0}
#kn-housing-body{padding:0 28px 28px}.kn-housing-details p,.kn-housing-details label,.kn-housing-details select{font-size:1rem;line-height:1.55}
.kn-housing-details h3{font-size:1.35rem;color:var(--ink);margin:28px 0 12px}.kn-housing-details h4{font-size:1.05rem;color:var(--ink);margin:14px 0 8px}
.kn-housing-details .kn-housing-note{font-size:.875rem}.kn-housing-intro{color:var(--muted)}
.kn-housing-room{border:1px solid var(--line);border-radius:10px;padding:4px 18px 12px;margin:12px 0 20px;overflow-wrap:anywhere}
.kn-housing-room dl{margin:12px 0}.kn-housing-room dl>div{display:grid;grid-template-columns:145px 1fr;gap:16px;margin:10px 0;font-size:.875rem;line-height:1.5}
.kn-housing-room dt{font-weight:650;color:var(--ink)}.kn-housing-room dd{margin:0}.kn-housing-links{font-size:.875rem!important}
.kn-housing-details a{color:var(--ink);text-underline-offset:3px}.kn-housing-caution{border-left:3px solid #b58c3b;padding:8px 12px;background:#fcf8ee;font-size:.9rem!important}
.kn-housing-more{padding:14px 0;border-top:1px solid var(--line);margin:16px 0}.kn-housing-more summary{cursor:pointer;color:var(--ink);font-size:1rem;font-weight:650}
.kn-rental-section{border-top:1px solid var(--line);margin-top:28px}.kn-rental-section label{display:block;margin-bottom:6px;font-weight:650}
.kn-rental-section select{width:100%;max-width:100%;padding:10px 38px 10px 12px;border:1px solid #829b94;border-radius:8px;background-color:white;color:var(--ink);appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23123c3c' stroke-width='2'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat}
.kn-rent-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}.kn-rent-grid>div{background:var(--soft);border:1px solid var(--line);border-radius:9px;padding:16px}
.kn-rent-grid strong{font-size:1.6rem;color:var(--ink)}.kn-rent-grid strong small{font-size:.875rem;font-weight:400}.kn-rent-grid p{font-size:.875rem;margin:7px 0 0}
.kn-rent-grid>div:only-child{grid-column:1/-1}
.kn-housing-table{overflow-x:auto}.kn-housing-table table{width:100%;border-collapse:collapse;font-size:.875rem}.kn-housing-table th,.kn-housing-table td{text-align:left;padding:12px 8px;border-bottom:1px solid var(--line)}
@media(max-width:600px){.kn-housing-grid{grid-template-columns:1fr 1fr;gap:14px 10px}.kn-housing-grid>div:last-child{grid-column:1/-1;border-top:1px solid var(--line);padding-top:10px}.kn-housing-grid strong{font-size:1.15rem}.kn-housing-dialog>h2{margin:20px 18px 0;font-size:1.55rem}#kn-housing-body{padding:0 18px 22px}.kn-housing-room{padding:4px 12px 12px}.kn-housing-room dl>div{grid-template-columns:1fr;gap:2px}.kn-rent-grid{gap:10px}.kn-rent-grid>div{padding:12px}.kn-rent-grid strong{font-size:1.4rem}}
.kn-student-property-table table{min-width:660px;font-size:1rem}
.kn-student-property-table th{font-size:.875rem;line-height:1.4}
.kn-student-property-table td{vertical-align:top;line-height:1.5}
.kn-student-property-table td:first-child{min-width:180px;max-width:280px;overflow-wrap:anywhere}
.kn-student-property-table small{display:block;margin-top:.35rem;color:#536c60;font-size:.875rem;line-height:1.45}
.kn-rent-cohort{color:#536c60;font-size:.9375rem}
.kn-ons-background{margin-top:1.5rem}
.kn-ons-background>summary{font-size:.9375rem}
.kn-rent-budget{display:grid;gap:.8rem;margin:1.4rem 0;padding:1.1rem;border:1px solid #c5d9cf;border-radius:12px;background:#f3f8f5}
.kn-rent-budget strong,.kn-rent-budget small{display:block}
.kn-rent-budget small{font-size:.875rem;line-height:1.5;color:#536c60;margin-top:.25rem}
.kn-budget-options{display:flex;gap:.6rem;flex-wrap:wrap}
.kn-budget-options button{font:inherit;font-weight:650;background:white;border:1px solid #9ebdaf;border-radius:8px;padding:.65rem .9rem;color:#163f35;cursor:pointer}
.kn-budget-options button[aria-pressed=true]{background:#163f35;color:white}
.kn-rent-budget output{font-size:1.1rem;font-weight:700;line-height:1.45;overflow-wrap:anywhere}
@media(max-width:640px){
 .kn-student-property-table table{display:block;min-width:0;width:100%}
 .kn-student-property-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .kn-student-property-table tbody{display:grid;gap:1rem}
 .kn-student-property-table tr{display:block;border:1px solid #d3e1d9;border-radius:10px;padding:.9rem;background:#fff}
 .kn-student-property-table td{display:block;border:0;padding:.5rem 0;overflow-wrap:anywhere}
 .kn-student-property-table td:first-child{min-width:0;max-width:none;padding-top:0;font-weight:650}
 .kn-student-property-table td:not(:first-child)::before{content:attr(data-label);display:block;font-size:.875rem;font-weight:650;color:#536c60;margin-bottom:.2rem}
 .kn-student-property-table td:last-child{padding-bottom:0}
}
