/* Step22: screen-only layout. Signed publications, print CSS and clinical templates unchanged. */
@media screen {
 #rms-activity-indicator{width:min(232px,calc(100vw - 32px))!important;height:auto!important;border-radius:999px!important;overflow:visible!important}
 #rms-activity-indicator .r12-wait-panel{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:13px!important;aspect-ratio:auto!important;height:auto!important;min-height:66px!important;padding:10px 20px!important;border-radius:999px!important;box-sizing:border-box!important}
 #rms-activity-indicator .r12-wait-spinner{width:44px!important;height:44px!important;flex:none!important}
 #rms-activity-indicator .r12-wait-spinner>.r12-wait-lab-art{width:42px!important;height:42px!important}
 #rms-activity-indicator .rms-wait-text{font-size:17px!important;line-height:1.3!important;white-space:nowrap!important;font-weight:650!important}
 .r12-layout .main,.r12-layout .main>*:not(.preview):not(.paper),#app :is(.rms-module-view,.p4-archive,.p5-hiv-archive,.p6-results,.p2-daily-list,.p2-registered){min-width:0;max-width:100%;box-sizing:border-box}
 #app .r12-layout .main .p21-registration-count{width:min(238px,100%)!important;max-width:238px!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;gap:4px!important;padding:11px 14px!important;margin:0!important;display:flex;align-items:flex-start;justify-content:center}
 #app .p21-registration-count .r12-stat-top{min-height:0;line-height:1;width:100%;gap:8px}
 #app .p21-registration-count .r12-stat-top strong{font-size:29px!important;line-height:1.05}
 #app .p21-registration-count .r12-card-title{font-size:15px!important;line-height:1.3;margin:0}
 #app .p21-registration-count .r12-desc{font-size:12px;line-height:1.3;margin:0}
 #app .p2-registered{margin:0 0 10px}#app .p21-registered-list{margin-top:12px}
 #app :is(.table-wrap,.p6-table-wrap){max-width:100%!important;min-width:0!important;overflow-x:auto!important;overscroll-behavior-x:contain;box-sizing:border-box}
 #app :is(.p6-table,.rms-tb-archive-table,.rms-hiv-archive-table){width:100%!important;min-width:0!important;table-layout:fixed!important}
 #app :is(.p6-table,.rms-tb-archive-table,.rms-hiv-archive-table) :is(th,td){min-width:0!important;max-width:none!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;padding:7px 6px!important;vertical-align:top;line-height:1.4;font-size:13px}
 #app :is(.p6-table,.rms-tb-archive-table,.rms-hiv-archive-table) th{font-size:12.5px}
 #app :is(.p6-table,.rms-tb-archive-table,.rms-hiv-archive-table) :is(td,th) :is(b,small,span){overflow-wrap:anywhere!important;word-break:normal!important;max-width:100%}
 #app :is(.p6-table,.rms-tb-archive-table,.rms-hiv-archive-table) td button{padding:6px 8px!important;font-size:12px!important;white-space:normal!important;min-inline-size:0!important;max-inline-size:100%!important;overflow-wrap:normal!important;word-break:normal!important;line-height:1.35}
 #app .p6-table :is(th,td):nth-child(1){width:11%}#app .p6-table :is(th,td):nth-child(2){width:12%}#app .p6-table :is(th,td):nth-child(3){width:10%}#app .p6-table :is(th,td):nth-child(4){width:15%}#app .p6-table :is(th,td):nth-child(5){width:10%}#app .p6-table :is(th,td):nth-child(6){width:15%}#app .p6-table :is(th,td):nth-child(7){width:10%}#app .p6-table :is(th,td):nth-child(8){width:8%}#app .p6-table :is(th,td):nth-child(9){width:9%}
 #app .rms-tb-archive-table :is(th,td):nth-child(1){width:13%}#app .rms-tb-archive-table :is(th,td):nth-child(2){width:14%}#app .rms-tb-archive-table :is(th,td):nth-child(3){width:16%}#app .rms-tb-archive-table :is(th,td):nth-child(4){width:17%}#app .rms-tb-archive-table :is(th,td):nth-child(5),#app .rms-tb-archive-table :is(th,td):nth-child(6){width:10%}#app .rms-tb-archive-table :is(th,td):nth-child(7){width:12%}#app .rms-tb-archive-table :is(th,td):nth-child(8){width:8%}
 #app .rms-hiv-archive-table :is(th,td):nth-child(1){width:15%}#app .rms-hiv-archive-table :is(th,td):nth-child(2){width:17%}#app .rms-hiv-archive-table :is(th,td):nth-child(3){width:12%}#app .rms-hiv-archive-table :is(th,td):nth-child(4){width:7%}#app .rms-hiv-archive-table :is(th,td):nth-child(5){width:17%}#app .rms-hiv-archive-table :is(th,td):nth-child(6),#app .rms-hiv-archive-table :is(th,td):nth-child(7){width:11%}#app .rms-hiv-archive-table :is(th,td):nth-child(8){width:10%}
 #app .p6-row-actions{display:flex;flex-direction:column;align-items:stretch;white-space:normal;gap:4px;min-width:0}#app .p6-row-menu{min-width:0;width:100%}#app .p6-row-menu summary{padding:4px 6px}#app .p6-row-menu>div{min-width:0;max-width:100%;padding:3px;box-sizing:border-box}
 #app .p22-admin-panel{border:1px solid #c8d9e3;border-radius:10px;background:#fff;padding:10px 12px;margin:8px 0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;box-sizing:border-box;min-width:0;max-width:100%}
 #app .p22-admin-panel>div:first-child{flex:1 1 230px}#app .p22-admin-panel b{font-size:15px;color:#142d4e}#app .p22-admin-panel small{display:block;color:#556a7a;font-size:12px;line-height:1.35}#app .p22-admin-panel>small{flex-basis:100%}
 #app .p22-admin-buttons{display:flex;flex-wrap:wrap;gap:8px;min-width:0}#app .p22-admin-buttons button{font-size:13px;font-weight:650;white-space:normal;padding:8px 11px;min-height:35px;border-radius:7px}
 #app .p22-admin-amend{background:#e5edfc;color:#235bb9;border:1px solid #3264d0}#app .p22-admin-void{background:#fff1d9;color:#916315;border:1px solid #be923f}#app .p22-admin-delete{background:#fce8e8;color:#b53737;border:1px solid #c44d4d}#app .p22-admin-buttons button:disabled{opacity:.55;cursor:not-allowed;background:#edf0f2;color:#607283;border-color:#cbd5df}
 /* Very narrow viewports retain table-local scrolling rather than shrinking controls/text. */
 @media(max-width:1100px){#app :is(.p6-table,.rms-tb-archive-table,.rms-hiv-archive-table){min-width:790px!important}}
}
@media print{.p22-admin-panel{display:none!important}}
