.rs{--rs-gap:32px;--rs-max-width:1280px;--rs-avatar-size:80px;--rs-certificate-height:200px;--rs-icon-size:16px;box-sizing:border-box;max-width:var(--rs-max-width);margin:auto;padding:26px;background:#fbf9f5;color:#625e55;font-family:Arial,sans-serif}.rs *{box-sizing:border-box}.rs-icon{display:inline-flex;flex:none;width:var(--rs-icon-size);height:var(--rs-icon-size);align-items:center;justify-content:center}.rs-icon svg,.rs-icon i{width:100%;height:100%;font-size:var(--rs-icon-size)}.rs-header-badge{display:flex;gap:8px;align-items:center;color:#b78a36;font-size:12px;letter-spacing:1.4px;font-weight:600}.rs-heading{font-family:Georgia,serif;font-size:32px;line-height:1.25;font-weight:400;color:#9d782f;margin:14px 0}.rs-description{font-size:15px;line-height:1.7;max-width:780px;margin:0 0 24px}.rs-toolbar,.rs-tabs{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.rs-toolbar{margin-bottom:26px;justify-content:space-between}.rs .rs-tab{border:1px solid #e7e3db;background:#f1eee8;color:#666156;border-radius:30px;padding:10px 17px;font-size:13px;cursor:pointer;line-height:1.3}.rs .rs-tab[aria-selected=true]{background:#796222;color:#fff;border-color:#796222}.rs-search{padding:11px 14px;border:1px solid #ded8cb;border-radius:8px;max-width:100%;background:white;color:#534c40}.rs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--rs-gap)}.rs-card{min-width:0;display:flex;flex-direction:column;padding:28px;background:var(--rs-card-background,#fffdf8);border:1px solid #eee3cd;border-radius:16px;box-shadow:0 3px 8px #654e1610}.rs-card[hidden],.rs-empty[hidden]{display:none!important}.rs-student-head{display:flex;gap:14px;align-items:center;position:relative}.rs-avatar{width:var(--rs-avatar-size);height:var(--rs-avatar-size);flex:none;position:relative}.rs-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.rs-photo-badge{position:absolute;bottom:0;right:0;background:#b78a36;color:white;border-radius:50%;padding:3px;display:flex}.rs-person{min-width:0;flex:1}.rs-name-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.rs-name{font-family:Georgia,serif;color:#977128;font-size:18px;line-height:1.3;margin:0}.rs-detail{font-size:11px;background:#f3ecd9;padding:4px 7px;border-radius:4px}.rs-location{display:flex;align-items:center;gap:5px;font-size:12px;margin-top:8px}.rs-location .rs-icon{color:#b48a37}.rs-honor{background:var(--rs-badge-background,#fff1bd);color:var(--rs-badge-color,#997520);font-size:10px;border-radius:5px;padding:5px 8px;max-width:110px;text-align:center}.rs-pathway{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.rs-course,.rs-milestone{font-size:11px;padding:6px 9px;border-radius:5px;background:#f0efeb;color:#666256}.rs-milestone{background:var(--rs-milestone-background,#fff4d1);color:var(--rs-milestone-color,#a6842b)}.rs-bio{font-size:13px;line-height:1.7;margin:14px 0 18px}.rs-video{position:relative;aspect-ratio:16/9;background:#e9e5dc;border-radius:11px;overflow:hidden}.rs .rs-video-poster{display:block;position:relative;width:100%;height:100%;padding:0;border:0;border-radius:0;background:#e9e5dc;color:white;overflow:hidden}.rs-play{cursor:pointer}.rs-video-poster>img{width:100%;height:100%;object-fit:cover}.rs-video-label{position:absolute;top:10px;left:10px;background:#6254a1;color:white;font-size:10px;padding:6px 8px;border-radius:4px;display:flex;gap:5px;align-items:center}.rs-live-dot{width:5px;height:5px;background:#ee7381;border-radius:50%}.rs-play-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:#b78e3a;color:white;border:2px solid #ffffff60;border-radius:50%}.rs-play-icon .rs-icon{width:23px;height:23px}.rs-duration{position:absolute;bottom:8px;right:10px;background:#0008;color:white;font-size:10px;padding:4px 6px;border-radius:4px}.rs-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.rs-certificate{background:#fff9e7;border:1px solid #f0e5c6;border-radius:11px;padding:13px;margin-top:16px}.rs-certificate-head{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:11px}.rs-certificate-title{display:flex;gap:7px;align-items:center;color:#a98434;font-size:14px;font-family:Georgia,serif}.rs-grade{font-size:10px;color:#a08035;background:#f7edce;border-radius:4px;padding:4px 6px}.rs-certificate-image{background:white;height:var(--rs-certificate-height);overflow:hidden;border-radius:4px}.rs-certificate-image img{width:100%;height:100%;object-fit:contain}.rs-quote{margin:22px 0 18px;padding:12px 15px;border-inline-start:3px solid #b58b31;background:#f6f5f1;font-size:12px;font-style:italic;line-height:1.7;color:#6a675f}.rs-card-bottom{display:flex;justify-content:space-between;gap:8px;align-items:center;border-top:1px solid #f0eadb;padding-top:14px;margin-top:auto}.rs-tags{display:flex;flex-wrap:wrap;gap:6px}.rs-tag{background:#f6edcf;color:#9e7d2c;padding:5px 7px;border-radius:4px;font-size:10px}.rs-tag:first-child{background:#efebfb;color:#7a67b0}.rs .rs-congratulate{display:inline-flex;align-items:center;gap:5px;color:#7b9841;background:transparent;border:0;padding:0;font-size:10px;text-decoration:none}.rs-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:17px}.rs .rs-download,.rs .rs-chat{display:flex;align-items:center;justify-content:center;gap:7px;padding:11px 8px;border-radius:7px;border:1px solid #dfc370;background:#f3d366;color:#5a481c;text-decoration:none;font-size:12px;text-align:center;line-height:1.4}.rs .rs-chat{background:#edf4dd;border-color:#bdcd97;color:#617e30}.rs button:disabled{cursor:default;opacity:.6}.rs button:focus-visible,.rs a:focus-visible,.rs input:focus-visible{outline:2px solid #786021;outline-offset:3px}.rs-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.rs-empty{text-align:center;padding:24px}@media(max-width:767px){.rs{padding:18px}.rs-grid{grid-template-columns:minmax(0,1fr)}.rs-heading{font-size:27px}.rs-card{padding:20px}.rs-student-head{gap:10px;flex-wrap:wrap}.rs-honor{margin-inline-start:auto}.rs-toolbar{gap:16px}.rs-tabs{gap:7px}.rs .rs-tab{padding:9px 12px;font-size:12px}.rs-search{width:100%}.rs-certificate-head{flex-wrap:wrap}}

.rs-description,.rs-bio,.rs-quote{white-space:pre-line;overflow-wrap:anywhere}.rs-name,.rs-certificate-title,.rs-detail,.rs-honor,.rs-course,.rs-milestone{overflow-wrap:anywhere}.rs-certificate-title{min-width:0}.rs-grade{flex:none}.rs[data-equal-height=yes] .rs-grid{grid-auto-rows:auto!important;align-items:stretch}

/* Independent block layout protects identity rows from legacy flex/grid rules. */
.rs .rs-student-header-v2{display:block;width:100%;min-width:0;isolation:isolate}
.rs .rs-student-header-v2 .rs-avatar{display:block;position:relative;float:none;width:var(--rs-avatar-size,80px);height:var(--rs-avatar-size,80px);max-width:100%;margin:0 0 12px;flex:none}
.rs .rs-student-header-v2 .rs-avatar>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.rs .rs-student-header-v2 .rs-identity-v2,.rs .rs-student-header-v2 .rs-name-line{display:block;width:100%;min-width:0;max-width:100%;flex:none}
.rs .rs-student-header-v2 .rs-name{display:block;width:100%;max-width:100%;height:auto;min-height:0;max-height:none;margin:0 0 6px;overflow:visible;overflow-wrap:break-word;word-break:normal;white-space:normal;line-height:1.4}
.rs .rs-student-header-v2 .rs-location{display:block;width:100%;max-width:100%;min-width:0;height:auto;margin:0 0 12px;overflow-wrap:break-word;white-space:normal;line-height:1.6}
.rs .rs-student-header-v2 .rs-location .rs-icon{display:inline-flex;vertical-align:middle;margin-inline-end:6px}
.rs .rs-student-header-v2 .rs-detail,.rs .rs-student-header-v2 .rs-honor{display:block;width:100%;max-width:100%;height:auto;min-height:0;max-height:none;margin:12px 0 0;padding:10px 12px;border-radius:6px;text-align:start;white-space:normal;overflow:visible;overflow-wrap:break-word;font-size:12px;line-height:1.6}
.rs .rs-student-header-v2 .rs-detail{background:#f3ecd9}
.rs .rs-pathway{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;max-width:100%;margin-top:18px}
.rs .rs-course,.rs .rs-milestone{display:block;width:100%;min-width:0;max-width:100%;white-space:normal;overflow-wrap:break-word;line-height:1.6}

/* Content-driven height; equalise only siblings in the same grid row. */
.rs .rs-grid{grid-auto-rows:auto!important;align-items:start}
.rs[data-equal-height=yes] .rs-grid{align-items:stretch}
.rs .rs-card{height:auto;min-height:0;max-height:none;align-self:auto}
.rs .rs-card-bottom{margin-top:auto;padding-top:14px}
