.student-detail-dialog{width:min(980px,calc(100% - 24px));max-height:calc(100vh - 24px);border:0;border-radius:24px;padding:0;box-shadow:0 28px 90px rgba(32,18,28,.28);overflow:hidden;color:#372730}
.student-detail-dialog::backdrop{background:rgba(35,25,31,.58);backdrop-filter:blur(8px)}
.student-detail-shell{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);background:#fff;max-height:calc(100vh - 24px)}
.student-detail-media{background:#211925;padding:14px;display:grid;grid-template-rows:minmax(260px,1fr) auto auto;gap:10px;min-width:0}
.student-detail-main{width:100%;height:100%;min-height:360px;object-fit:contain;border-radius:18px;background:#30232a}
.student-detail-caption{margin:0;color:#fff;font-size:14px;line-height:1.4}
.student-detail-thumbs{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
.student-detail-thumbs::-webkit-scrollbar{display:none}
.student-detail-thumb{flex:0 0 78px;width:78px;height:58px;border:2px solid transparent;border-radius:11px;padding:0;overflow:hidden;background:#fff;opacity:.75;cursor:pointer}
.student-detail-thumb img{width:100%;height:100%;object-fit:cover}
.student-detail-thumb.active{border-color:#ff385c;opacity:1}
.student-detail-copy{padding:30px;overflow:auto}
.student-detail-close{float:right;width:38px;height:38px;border:0;border-radius:50%;background:#fff1f4;color:#372730;font-size:26px;line-height:1;cursor:pointer}
.student-detail-copy small{display:block;color:#ff385c;font-weight:850;text-transform:uppercase;letter-spacing:.1em}
.student-detail-copy h2{font-family:Georgia,serif;font-size:clamp(30px,4vw,44px);line-height:1.08;margin:8px 46px 10px 0;letter-spacing:-.03em}
.student-detail-copy p{color:#71636a;margin:0 0 18px}
.student-detail-price{display:inline-flex;align-items:center;border-radius:999px;background:#fff7f9;border:1px solid #efdee4;padding:9px 13px;margin-bottom:18px;font-weight:850}
.student-detail-facts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
.student-detail-facts span{border-radius:999px;background:#fff7f9;border:1px solid #efdee4;padding:8px 11px;font-size:12px;font-weight:760}
.student-detail-copy h3{font-size:18px;margin:22px 0 10px}
.student-detail-list{display:grid;gap:9px;margin:0 0 24px;padding:0;list-style:none;color:#55464d}
.student-detail-list li{padding-bottom:9px;border-bottom:1px solid #f2e5ea}
.student-detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.student-detail-actions .btn{width:auto}
.card[data-student-id],.card[data-stay-name]{cursor:pointer}
.card[data-student-id]:focus-visible,.card[data-stay-name]:focus-visible{outline:3px solid rgba(255,56,92,.35);outline-offset:4px}
@media(max-width:820px){.student-detail-shell{grid-template-columns:1fr}.student-detail-media{grid-template-rows:auto auto}.student-detail-main{min-height:280px;max-height:48vh}.student-detail-copy{padding:24px}.student-detail-dialog{border-radius:20px}.student-detail-dialog,.student-detail-shell{max-height:calc(100vh - 12px)}}
@media(max-width:540px){.student-detail-dialog{width:calc(100% - 10px);border-radius:18px}.student-detail-media{padding:10px}.student-detail-main{min-height:240px}.student-detail-thumb{flex-basis:68px;width:68px;height:52px}.student-detail-copy{padding:22px 18px}.student-detail-actions .btn{width:100%}}
