/* RMS Nursing Launch v2: compact monochrome folders, private PDF/tutor tools. */
.rms-extra-section{margin:26px 0 32px}.rms-extra-section h2{margin:0}.rms-small-label{font-size:11px;color:#555;border:1px solid #ddd;border-radius:22px;padding:6px 10px;white-space:nowrap}.rms-subtle{font-size:13px;color:#777;line-height:1.6;margin:8px 0 15px}
.rms-folder{border:1px solid #e5e5e5;border-radius:15px;background:#fff;margin:10px 0;overflow:hidden}.rms-folder summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;font-weight:750}.rms-folder summary::-webkit-details-marker{display:none}.rms-folder summary small{font-size:10px;color:#666;font-weight:700;text-align:right;white-space:nowrap}.rms-folder[open]>summary{border-bottom:1px solid #eee}.rms-folder-body{padding:16px 19px 18px}.rms-folder-body>p{font-size:13px;color:#666;line-height:1.6}.rms-subfolder{margin:10px 0;background:#fafafa}.rms-subfolder summary{font-size:13px;padding:13px 16px}.rms-subfolder .rms-folder-body{padding:10px 12px}.rms-test-day{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 0;border-bottom:1px solid #eee}.rms-test-day:last-child{border-bottom:0}.rms-test-day b{font-size:13px;line-height:1.5;display:block}.rms-test-day small{color:#666;font-size:11px;display:block;margin-top:4px}.rms-test-actions,.rms-mini-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;flex-shrink:0}.rms-test-actions .btn{padding:10px 12px;font-size:11px;white-space:nowrap}.rms-help-panel{border:1px solid #ddd;border-radius:15px;padding:18px 22px;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:12px}.rms-help-panel b{font-size:16px}.rms-help-panel p{font-size:12px;color:#777;line-height:1.5;margin:8px 0 0}.rms-help-panel .btn{white-space:nowrap}.rms-tutor-folder{width:100%;box-sizing:border-box}
.rms-chat-list{max-height:380px;overflow:auto;display:grid;gap:10px;background:#f8f8f8;padding:14px;border-radius:12px;margin:12px 0 16px}.rms-chat-line{padding:10px 14px;border-radius:10px;max-width:96%;overflow-wrap:anywhere;border:1px solid #ececec;background:#fff}.rms-chat-line.from-student{margin-left:12%;background:#222;color:#fff;border-color:#222}.rms-chat-line.from-tutor{margin-right:12%}.rms-chat-line small{font-size:10px;opacity:.73;display:block}.rms-chat-line p{font-size:13px;margin:6px 0 0;white-space:pre-wrap;line-height:1.5}.rms-tutor-form textarea,#rmsTutorReplyText{box-sizing:border-box;width:100%;min-height:80px;border:1px solid #ddd;border-radius:11px;padding:12px;font:inherit;margin:4px 0 12px}.rms-tutor-form .actions-row{justify-content:space-between}.rms-extra-admin{padding:0}.rms-extra-pad{padding:20px}.rms-extra-pad>input{width:100%;max-width:550px}.rms-user-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0;border-bottom:1px solid #ececec}.rms-user-row:last-child{border-bottom:0}.rms-user-row b{font-size:13px;display:block}.rms-user-row small{font-size:11px;display:block;color:#777;margin-top:6px;overflow-wrap:anywhere}.rms-user-row p{font-size:12px;line-height:1.6;margin:7px 0}.rms-student-details{padding:20px;border-bottom:1px solid #ddd;background:#f8f8f8}.rms-student-details h3{margin-top:0}.rms-student-details p{font-size:12px;overflow-wrap:anywhere}.rms-extra-admin .secondary,.rms-extra-admin .primary{min-height:38px;font-size:11px}.rms-extra-admin .rms-chat-list{max-height:420px}
/* Screenshot policy: watermark/deterrence only. A PWA CANNOT block OS screenshots. */
.modal-root .question-stem,.modal-root .choice-list,#modalRoot .question-stem,#modalRoot .choice-list{user-select:none;-webkit-user-select:none}.modal-root .question-stem,#modalRoot .question-stem{position:relative;isolation:isolate}.modal-root .question-stem::after,#modalRoot .question-stem::after{content:attr(data-watermark);position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;opacity:.11;transform:rotate(-8deg);font-size:12px;font-weight:800;letter-spacing:1px;white-space:pre-wrap;text-align:center}
@media print{#modalRoot,.modal-root,#rmsSyllabusLibrary{display:none!important}}
@media(max-width:650px){.rms-help-panel,.rms-test-day,.rms-user-row{flex-direction:column;align-items:stretch}.rms-help-panel .btn{width:100%}.rms-folder summary{padding:14px 13px;font-size:13px}.rms-folder summary small{font-size:9px}.rms-folder-body{padding:12px}.rms-test-actions .btn{flex:1}.rms-extra-pad{padding:14px}}
/* Release view shows only the real Admin-published exam/day tests, not the old local demo launcher. */
#testsExamList,#testTypes,#testResultCount{display:none!important}

.rms-shared-highlight{background:#f1f1f1;border:1px solid #111!important;border-radius:11px;padding:12px!important}

/* RMS Users v2: familiar student directory, black & white RMS brand */
#screen-students .page-top h1{font-size:34px}
.rms-users-app{padding:0 18px 18px}.rms-users-toolbar{display:flex;gap:10px;align-items:center;padding:20px 0 12px;max-width:960px}.rms-search-wrap{flex:1;display:flex;align-items:center;position:relative;max-width:520px}.rms-search-wrap>span{font-size:30px;position:absolute;left:15px;color:#777;pointer-events:none}.rms-search-wrap input{padding:13px 16px 13px 43px;border-radius:12px;min-height:48px}.rms-filter-wrap{display:flex;align-items:center;gap:9px;border:1px solid #ddd;border-radius:12px;padding:0 12px;background:#fff}.rms-filter-wrap>span{color:#666;font-size:12px}.rms-filter-wrap select{border:0;padding:12px 2px;min-width:155px;min-height:46px;font-weight:600;box-shadow:none!important}.rms-users-refresh{white-space:nowrap;min-height:48px}.rms-users-status{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:8px 0 17px;color:#7d7d7d;font-size:11px}.rms-users-status>span:first-child{color:#161616;font-size:12px;font-weight:700}
.rms-users-list{border:1px solid #eee;border-radius:16px;overflow:visible;background:#fff}.rms-users-list-head,.rms-users-list-row{display:grid;grid-template-columns:33px minmax(230px,3fr) minmax(132px,1.12fr) minmax(130px,1.13fr) 74px;align-items:center;gap:13px;padding:0 16px;min-height:72px;border-bottom:1px solid #eee}.rms-users-list-head{min-height:48px;background:#fafafa;color:#777;font-size:11px;font-weight:750;border-radius:16px 16px 0 0}.rms-users-list-row:last-child{border-bottom:0}.rms-users-list-row:hover{background:#fbfbfb}.rms-users-check input{width:16px;height:16px;accent-color:#111;cursor:pointer}.rms-user-identity{display:flex;align-items:center;gap:13px;min-width:0;padding:10px 0}.rms-user-avatar{width:40px;height:40px;border-radius:11px;background:#ededed;color:#333;font-weight:800;display:grid;place-items:center;flex:none;font-size:14px}.rms-user-identity>div{display:flex;flex-direction:column;gap:2px;min-width:0}.rms-user-name{border:0;background:transparent;color:#151515;font-weight:750;text-align:left;font-size:13px;padding:0;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rms-user-name:hover{text-decoration:underline}.rms-user-phone{color:#646464;font-size:12px}.rms-user-mail{font-size:10px;color:#929292;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rms-user-date{font-size:12px;color:#363636}.rms-user-device{display:flex;flex-direction:column;gap:4px}.rms-device-pill{font-size:10px;font-weight:800;padding:4px 8px;border-radius:20px;width:max-content;background:#efefef;color:#444}.rms-device-locked{background:#181818;color:#fff}.rms-device-available{border:1px solid #dcdcdc}.rms-user-device small{font-size:10px;color:#999;max-width:155px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.rms-user-actions{position:relative;display:flex;justify-content:center}.rms-user-more{height:34px;width:34px;background:#fff;border:1px solid transparent;border-radius:10px;color:#5b5b5b;font-size:24px;line-height:1}.rms-user-more:hover,.rms-user-more[aria-expanded=true]{background:#f0f0f0;border-color:#ddd}.rms-user-popmenu{position:absolute;right:0;top:38px;width:250px;background:#fff;border:1px solid #ddd;z-index:35;border-radius:12px;box-shadow:0 12px 35px #0002;padding:6px}.rms-user-popmenu button{display:block;text-align:left;width:100%;padding:11px 10px;border:0;background:transparent;border-radius:7px;color:#222;font-size:12px}.rms-user-popmenu button:hover{background:#f4f4f4}.rms-user-popmenu button:disabled{color:#aaa}.rms-users-list-row:nth-last-child(-n+3) .rms-user-popmenu{top:auto;bottom:38px}.rms-users-empty{padding:48px;text-align:center;color:#777}.rms-users-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px;margin-top:17px}.rms-user-selected,.rms-page-nav{display:flex;gap:10px;align-items:center}.rms-user-selected span,.rms-page-nav span{font-size:12px;color:#777}.rms-users-footer button{font-size:11px;min-height:35px;padding:8px 12px}
.rms-user-modal-open{overflow:hidden}.rms-user-modal-backdrop{position:fixed;inset:0;background:#0008;z-index:510;display:flex;align-items:center;justify-content:center;padding:20px;overflow-y:auto}.rms-user-modal{background:#fff;width:min(620px,100%);max-height:min(94vh,950px);display:flex;flex-direction:column;border-radius:18px;box-shadow:0 24px 90px #0004;overflow:hidden}.rms-user-modal-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee;padding:24px 28px}.rms-user-modal-tag{letter-spacing:1.6px;color:#999;font-weight:750;font-size:10px}.rms-user-modal-head h2{font-size:24px;line-height:1.3;letter-spacing:-.5px;margin:7px 0 0;overflow-wrap:anywhere}.rms-user-close{width:38px;height:38px;border:0;background:#f4f4f4;border-radius:10px;font-size:25px;color:#555;flex:none}.rms-user-modal-body{padding:16px 28px 28px;overflow:auto;min-height:0}.rms-user-modal-body h3{margin:20px 0 12px;font-size:15px}.rms-user-info-card,.rms-user-purchases,.rms-user-device-card{background:#f7f7f7;border-radius:12px;padding:17px}.rms-user-info-card>div{display:flex;gap:9px;align-items:center;padding:4px 0;line-height:1.6;font-size:12px}.rms-user-info-card>div>b{color:#737373;font-weight:600;min-width:120px}.rms-user-info-card>div>span:last-child{overflow-wrap:anywhere;min-width:0}.rms-user-info-card>div>span:first-child{width:15px;color:#999}.rms-user-purchases>p{margin:0;font-size:12px;color:#888}.rms-user-purchase{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid #e5e5e5}.rms-user-purchase:last-child{border-bottom:0}.rms-user-purchase strong{display:block;font-size:12px}.rms-user-purchase small{display:block;font-size:11px;color:#777;margin-top:3px}.rms-user-purchase>span{font-size:11px;font-weight:750}.rms-user-device-card{display:flex;align-items:center;gap:13px}.rms-user-device-symbol{font-size:25px}.rms-user-device-details{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.rms-user-device-details strong{font-size:12px}.rms-user-device-details small{font-size:11px;color:#888}.rms-user-device-details .rms-device-pill{margin-top:4px}.rms-user-device-card button{font-size:11px;padding:8px 11px;min-height:36px;white-space:nowrap}.rms-user-important{font-size:11px;color:#888;line-height:1.65;padding:2px 0}.rms-user-id{font-size:10px}.rms-user-modal-footer{border-top:1px solid #eee;padding:16px 28px;display:flex;justify-content:flex-end;gap:10px}.rms-user-modal-footer button{min-height:40px;font-size:12px}
@media(max-width:1080px){.rms-users-list-head,.rms-users-list-row{grid-template-columns:28px minmax(175px,2fr) minmax(100px,1fr) 74px}.rms-users-list-head>div:nth-child(4),.rms-user-device{display:none}}
@media(max-width:720px){.rms-users-toolbar{flex-wrap:wrap}.rms-search-wrap{flex-basis:100%;max-width:none}.rms-filter-wrap{flex:1;min-width:0}.rms-filter-wrap select{min-width:0;flex:1}.rms-users-refresh{flex:none}.rms-users-app{padding:0 10px 14px}.rms-users-list-head,.rms-users-list-row{grid-template-columns:22px minmax(120px,1fr) 64px;gap:7px;padding:0 8px}.rms-users-list-head>div:nth-child(3),.rms-user-date{display:none}.rms-user-avatar{width:34px;height:34px}.rms-user-identity{gap:8px}.rms-user-identity .rms-user-name{font-size:12px}.rms-users-list-head{font-size:10px}.rms-users-footer{align-items:stretch}.rms-user-modal-backdrop{padding:5px}.rms-user-modal{max-height:98vh;border-radius:12px}.rms-user-modal-head,.rms-user-modal-body{padding-left:17px;padding-right:17px}.rms-user-device-card{flex-wrap:wrap}.rms-user-device-card button{flex:1}.rms-user-info-card>div{flex-wrap:wrap}.rms-user-info-card>div>b{min-width:100px}}
