.ojf-portal{min-width:0;max-width:100%;box-sizing:border-box}.ojf-portal *,.ojf-register-form *{box-sizing:border-box}
.ojf-portal :is(.ojf-stat,.ojf-panel-section,.ojf-finance-overview,.ojf-manager-launcher>a,.ojf-student-finance-head,.ojf-account-review,.ojf-table-wrap,.ojf-upload-card,.ojf-manager-account-box,.ojf-guardian-fields,.afra-reviews-manager>article){border-radius:18px!important}
.ojf-portal :is(input,textarea,select,button,.ojf-button),.ojf-register-form :is(input,textarea,select,button){font:inherit;max-width:100%;border-radius:10px;min-width:0}
.ojf-portal :is(.ojf-panel-section,.ojf-dashboard-grid,.ojf-two-cols,.ojf-manager-four,.ojf-finance-forms)>*{min-width:0}
.ojf-portal .ojf-portal-nav{max-width:100%;min-width:0;overflow-x:auto;white-space:nowrap;display:flex;gap:8px;padding:12px!important;scrollbar-width:thin;position:static!important;border-radius:14px!important;align-items:stretch;box-sizing:border-box}
.ojf-portal .ojf-portal-nav a{flex:0 0 auto;min-height:44px;padding:10px 14px!important;border-radius:10px!important;display:flex;align-items:center;justify-content:center;font-size:14px!important}
#ojf-manager-content{scroll-margin-top:130px;min-width:0;outline:none}#ojf-manager-content[aria-busy=true]{opacity:.65;pointer-events:none}
.ojf-portal .ojf-stat strong{font-size:clamp(24px,3vw,36px)!important;line-height:1.4!important;overflow-wrap:anywhere}.ojf-portal .ojf-stat{display:flex!important;flex-direction:column!important;align-items:flex-start;gap:10px;min-width:0;height:auto!important;min-height:190px!important;padding:22px!important;grid-column:auto!important;overflow:hidden}
.ojf-portal .ojf-stat::before{width:90px!important;height:90px!important;pointer-events:none}.ojf-portal .ojf-stat small{margin-top:auto;line-height:1.8!important;font-size:12px!important}.ojf-portal .ojf-stat>span{font-size:14px!important;line-height:1.8}.ojf-stat-icon{width:28px!important;height:28px!important;margin:0!important}
.ojf-portal .ojf-dashboard-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;align-items:stretch!important;gap:16px!important}
.ojf-portal .ojf-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior:contain}.ojf-portal .ojf-table{min-width:600px}.ojf-table :is(th,td){vertical-align:top;line-height:1.8}.ojf-portal input[type=file],.ojf-register-form input[type=file]{width:100%;padding:12px;font-size:13px!important;background:#111e28;border:1px dashed #4e5b65;color:#fff}.ojf-portal input[type=file]::file-selector-button,.ojf-register-form input[type=file]::file-selector-button{font:inherit;max-width:100%;margin-inline-end:10px;border:0;border-radius:8px;background:#ff8129;color:#0b1319;padding:10px;cursor:pointer}
.afra-file-list{padding-inline-start:20px;overflow-wrap:anywhere;line-height:2}.afra-member-action{margin-block:10px;border:1px solid #52616b;padding:12px;border-radius:12px;min-width:180px}.afra-member-action summary{cursor:pointer;min-height:32px}.afra-member-action form{display:grid!important;gap:12px!important;white-space:normal}.afra-member-action p{font-size:12px;line-height:1.8}.afra-student-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.afra-rating-input{border:0;margin:0;padding:12px 0}.afra-rating-input>div{display:flex;gap:8px;flex-wrap:wrap}.afra-rating-input label{position:relative;display:grid!important;gap:4px;justify-items:center;border:1px solid #52616b;border-radius:12px;min-width:48px;padding:8px;cursor:pointer}.afra-rating-input input{position:absolute;opacity:0;width:1px;height:1px}.afra-rating-input span{font-size:30px;color:#b6c2cc}.afra-rating-input small{font-size:10px}.afra-rating-input label:has(input:checked){border-color:#ffad50;background:#412b19}.afra-rating-input label:has(input:checked) span{color:#ffb24b}.afra-rating-input label:has(input:focus-visible){outline:3px solid #ffb24b;outline-offset:2px}.afra-stars{color:#ffb24b;letter-spacing:3px;font-size:23px;direction:ltr;display:inline-block}
.afra-reviews-manager{display:grid;gap:20px}.afra-reviews-manager>article{padding:20px;background:#11202a;border:1px solid #40515e}.afra-reviews-manager p{white-space:pre-line;overflow-wrap:anywhere;line-height:2}.afra-reviews-manager form{display:flex;gap:12px;flex-wrap:wrap}
.afra-calendar-wrap{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:8px;min-width:0}.afra-calendar-wrap>input{width:100%!important;direction:ltr;text-align:right}.afra-calendar-button{font:inherit;min-height:44px;padding:8px;background:#192b38;color:#ffad59;border:1px solid #5a6d7d;border-radius:10px;cursor:pointer}.afra-date-dialog{color:#e6edf4;background:#111e28;border:1px solid #5b6c7a;border-radius:18px;padding:18px;width:min(360px,calc(100% - 24px));box-sizing:border-box;font:inherit}.afra-date-dialog::backdrop{background:#0009}.afra-date-dialog header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px}.afra-date-dialog button{font:inherit;color:inherit;min-width:36px;min-height:40px;background:#1c303f;border:1px solid #425968;border-radius:8px;cursor:pointer}.afra-date-title{font-weight:bold;font-size:15px;text-align:center}.afra-date-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;direction:rtl}.afra-date-grid>span{text-align:center;font-size:12px;padding:8px 0}.afra-date-grid button[aria-pressed=true]{background:#fc812d;color:#10171e;border-color:#ffb268}.afra-date-grid button:disabled{opacity:.35;cursor:default}.afra-date-dialog footer{display:flex;gap:8px;margin-top:14px;justify-content:space-between}.afra-date-dialog :focus-visible{outline:2px solid #ffbb69;outline-offset:2px}.afra-field-hint{grid-column:1/-1;font-size:12px;line-height:1.8;display:block;color:#c0cbd5}
@media(max-width:700px){
 .ojf-portal .ojf-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .ojf-portal .ojf-dashboard-grid>.ojf-stat:last-child:nth-child(odd){grid-column:1/-1!important;min-height:150px!important}
 .ojf-portal .ojf-stat{min-height:170px!important;padding:16px!important}.ojf-portal .ojf-stat strong{font-size:27px!important}.ojf-portal .ojf-stat>span{font-size:12px!important}
 .ojf-portal :is(.ojf-two-cols,.ojf-manager-four,.ojf-finance-forms,.ojf-report-filters,.ojf-finance-overview,.ojf-profile-photo-box){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 .ojf-portal .ojf-panel-section{padding:18px!important;margin-block:18px!important}.ojf-portal .ojf-panel-title{flex-wrap:wrap;gap:12px}.ojf-portal .ojf-panel-title h2{font-size:22px!important}
 .ojf-portal{padding-inline:14px!important;padding-bottom:120px!important}.ojf-register-form .ojf-two-cols{grid-template-columns:minmax(0,1fr)!important}.ojf-portal .ojf-form,.ojf-register-form{gap:16px!important}
 .ojf-portal .ojf-manager-launcher{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ojf-manager-launcher>a{padding:16px!important}.ojf-portal .ojf-portal-nav{padding:8px!important}.ojf-portal .ojf-portal-nav a{font-size:12px!important;padding:10px!important}
}

.afra-media-editor{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.afra-media-editor details{border:1px solid #42515f;padding:16px;border-radius:16px}.afra-media-editor summary{min-height:40px;cursor:pointer}.afra-media-editor label{display:grid;gap:8px;margin:12px 0}.afra-media-editor img{max-width:120px;border-radius:14px}.afra-rating-input label:has(~label input:checked) span{color:#ffb24b}
/* Compact, stable panels on touch and desktop screens. */
.ojf-portal{min-width:0;max-width:100%;overflow-wrap:anywhere}
.ojf-portal [hidden]{display:none!important}
.ojf-portal .afra-nav-shell{display:flex;align-items:center;gap:8px;max-width:100%;width:100%;margin:18px auto;min-width:0}
.ojf-portal .afra-nav-shell nav{display:flex!important;flex:1 1 auto;min-width:0;width:auto!important;margin:0!important;padding:8px!important;overflow-x:auto!important;scrollbar-width:none;justify-content:flex-start!important;position:static!important;transform:none!important}
.ojf-portal .afra-nav-shell nav a{flex:0 0 auto;white-space:nowrap;min-height:44px;padding:10px 15px!important}
.afra-nav-shell>button{flex:0 0 40px;min-height:44px;background:#12202c;border:1px solid #34404b;border-radius:12px;color:#fff;font-size:22px;cursor:pointer}
.afra-nav-shell>button:disabled{opacity:.35;cursor:default}
.ojf-portal section[id],.detail-hero{scroll-margin-top:130px}
.afra-panel-back{margin:0 0 12px!important;min-height:42px!important;padding:8px 16px!important}
.ojf-portal .ojf-portal-header{margin-bottom:20px!important;padding:20px!important;gap:16px!important}
.ojf-portal .ojf-portal-header h2{font-size:clamp(20px,3vw,30px)!important;line-height:1.6!important}
.ojf-portal .ojf-inline-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:10px}
.ojf-portal .ojf-inline-actions>.ojf-button{display:inline-flex!important;align-items:center;justify-content:center;min-height:48px;line-height:1.5!important;margin:0!important;box-sizing:border-box}
.ojf-notifications-panel .ojf-notice-list{display:grid;gap:8px!important}
.ojf-notifications-panel details.ojf-notice-item{min-width:0;width:100%!important;margin:0!important;padding:12px 16px!important;border-radius:14px!important;box-sizing:border-box}
.ojf-notice-item summary{display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;list-style:revert}
.ojf-notice-item summary strong{font-size:14px;line-height:1.6}.ojf-notice-item summary time{font-size:11px;white-space:nowrap;direction:ltr}
.ojf-notice-item p{font-size:14px!important;margin:12px 0 0!important;line-height:1.9!important}
.afra-notice-filter{display:flex;gap:10px;align-items:end;margin:12px 0}.afra-notice-filter label{flex:1;min-width:0}.afra-notice-filter select{width:100%}
.afra-notice-pages{display:flex;gap:12px;align-items:center;justify-content:center;margin:14px 0}
.afra-reviews-manager{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
.afra-reviews-manager>article{padding:16px!important;min-height:0!important;border-radius:14px!important;background:#101e28}
.afra-reviews-manager article header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.afra-reviews-manager h3{font-size:16px!important;margin:0!important}.afra-reviews-manager .afra-stars{font-size:18px!important}.afra-reviews-manager p{margin:8px 0!important;font-size:14px!important}
.afra-reviews-manager form{display:flex;gap:10px;flex-wrap:wrap}.afra-reviews-manager button{min-height:44px;padding:8px 16px!important}
.afra-public-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.afra-public-review-grid article{border:1px solid #34404b;border-radius:20px;padding:20px;overflow-wrap:anywhere}.afra-public-reviews nav{display:flex;gap:12px;justify-content:center;margin:24px}
.afra-member-documents,.afra-profile-review,.afra-student-classes{padding:12px;border:1px solid #34404b;border-radius:14px;margin:10px 0}.afra-student-classes article{border-bottom:1px solid #34404b;padding:12px}.afra-account-action{display:inline-block;margin:8px}
.ojf-portal fieldset{min-width:0;padding:16px;border:1px solid #34404b;border-radius:16px;display:grid;gap:12px}.ojf-portal fieldset legend{padding:0 8px}
@media(max-width:600px){.ojf-portal .ojf-portal-header{padding:14px!important}.ojf-portal .afra-nav-shell{gap:5px}.afra-nav-shell>button{flex-basis:34px}.ojf-notice-item summary{align-items:flex-start;flex-direction:column;gap:4px}.afra-public-review-grid{grid-template-columns:1fr}.ojf-portal .ojf-stats{gap:10px!important}.ojf-portal .ojf-stat{padding:16px!important;min-height:150px!important}.ojf-portal .ojf-stat strong{font-size:30px!important}.ojf-portal .ojf-stat-icon{width:30px!important;height:30px!important}.ojf-portal .ojf-stat span{font-size:12px!important}}

.ojf-portal .ojf-portal-header h1{font-size:clamp(20px,3vw,30px)!important;line-height:1.6!important;margin:0!important}.ojf-portal .ojf-portal-header .ojf-avatar{width:68px!important;height:68px!important;flex-shrink:0}

.ojf-portal .ojf-inline-actions>.ojf-button,.ojf-portal .ojf-inline-actions>form{flex:1 1 180px}.ojf-portal .ojf-inline-actions>form>.ojf-button{width:100%;height:100%;min-height:48px;display:flex;align-items:center;justify-content:center}

/* Live QA: keep monetary values readable without breaking their digits. */
.ojf-portal .ojf-finance-summary.ojf-dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.ojf-portal .ojf-finance-summary .ojf-stat strong{font-size:clamp(22px,2.4vw,32px)!important;white-space:nowrap;overflow-wrap:normal;word-break:normal;max-width:100%;overflow-x:auto;line-height:1.5!important}
body a.afra-panel-back.ojf-button{display:inline-flex;align-items:center;justify-content:center;color:#f5f7fa!important;background:#14202b!important;border:1px solid #536373!important;border-radius:12px!important;text-decoration:none}
body a.afra-panel-back.ojf-button:hover{background:#263a4b!important;color:#fff!important}
body a.afra-panel-back.ojf-button:focus-visible{outline:3px solid #ff9c4a;outline-offset:3px}
@media(max-width:900px){.ojf-portal .ojf-finance-summary.ojf-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.ojf-portal .ojf-finance-summary.ojf-dashboard-grid{grid-template-columns:minmax(0,1fr)!important}.ojf-portal .ojf-finance-summary .ojf-stat strong{font-size:clamp(22px,6vw,32px)!important}}

/* 2.10: a single private identity card, scaled for phone and desktop. */
body .ojf-portal .afra-profile-card.ojf-portal-header{display:grid!important;grid-template-columns:144px minmax(0,1fr) auto!important;align-items:center!important;gap:28px!important;position:relative;isolation:isolate;overflow:hidden;padding:30px!important;margin:0 0 24px!important;border:1px solid #62432d!important;border-radius:26px!important;background:linear-gradient(120deg,#0d1923 12%,#172632 60%,#493022 100%)!important;box-shadow:0 12px 30px #0003;text-align:right;color:#f4f6f8!important}
body .ojf-portal .afra-profile-card .ojf-avatar{display:flex!important;align-items:center;justify-content:center;width:144px!important;height:144px!important;min-width:144px!important;aspect-ratio:1!important;border:4px solid #fa9a54!important;border-radius:50%!important;overflow:hidden!important;box-sizing:border-box;box-shadow:0 0 0 7px #f8872820;background:#253540!important;flex-shrink:0;grid-column:1;grid-row:1;transform:none!important}
body .ojf-portal .afra-profile-card .ojf-avatar img{display:block!important;position:static!important;width:100%!important;height:100%!important;max-width:100%!important;aspect-ratio:1;object-fit:cover!important;object-position:center 25%!important;border:0!important;border-radius:50%!important;transform:none!important}
body .ojf-portal .afra-profile-card .ojf-avatar>span{color:#ffb275!important;font-size:44px!important;line-height:1!important}
body .ojf-portal .afra-profile-card__info{min-width:0!important;max-width:none!important;grid-column:2;grid-row:1;flex:initial!important}
body .ojf-portal .afra-profile-card__eyebrow{display:block;color:#f6a76c!important;font-size:12px!important;line-height:1.8!important;margin-bottom:6px}
body .ojf-portal .afra-profile-card .afra-profile-card__name{font-size:clamp(21px,2.5vw,32px)!important;line-height:1.7!important;overflow-wrap:anywhere;margin:0!important;color:#fff!important}
body .ojf-portal .afra-profile-card__role{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#efc3a4!important;font-size:15px!important;line-height:1.9!important;margin:8px 0!important}
body .ojf-portal .afra-profile-card__role span{color:#a9b4bd!important;font-size:inherit!important}
body .ojf-portal .afra-profile-card__facts{display:flex;flex-wrap:wrap;gap:6px 20px;min-width:0}
body .ojf-portal .afra-profile-card__facts>span{display:block;overflow-wrap:anywhere;font-size:13px!important;line-height:1.9!important;color:#d1d9df!important}
body .ojf-portal .afra-profile-card__facts b{font-weight:400;color:#9eb0bc;margin-left:5px}
body .ojf-portal .afra-profile-card__logout{grid-column:3!important;grid-row:1;justify-self:end;min-height:44px!important;width:auto!important;padding:10px 16px!important;color:#f5f7fa!important;border:1px solid #8a6c53!important;border-radius:12px!important;background:#101c28a6!important;font-size:13px!important}
body .ojf-profile-photo-preview{border-radius:22px!important;overflow:hidden!important}
body .ojf-profile-photo-preview img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}
.afra-notice-view-control{margin:0 0 16px}.afra-notice-reader{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 64px);padding:24px;box-sizing:border-box;border:1px solid #c87b40;border-radius:22px;background:#10202b;color:#f3f6f8;direction:rtl;font-family:inherit;text-align:right;overflow:auto}.afra-notice-reader::backdrop{background:#000b}.afra-notice-reader h3{margin:0 0 8px;line-height:1.8;font-size:21px;color:#fff}.afra-notice-reader time{color:#f2b486;font-size:12px}.afra-notice-reader p{line-height:2;overflow-wrap:anywhere}.afra-notice-reader-status{font-size:12px;color:#b7cbd7}.afra-notice-reader .ojf-button{min-height:44px;background:#ff852d!important;color:#101923!important;border:0;border-radius:12px;font:inherit;padding:10px 22px}.afra-notice-reader:not([open]){display:none!important}
@media(max-width:760px){body .ojf-portal .afra-profile-card.ojf-portal-header{grid-template-columns:96px minmax(0,1fr)!important;gap:16px!important;padding:22px 18px!important;border-radius:22px!important}body .ojf-portal .afra-profile-card .ojf-avatar{width:96px!important;height:96px!important;min-width:96px!important;border-width:3px!important}body .ojf-portal .afra-profile-card .afra-profile-card__name{font-size:21px!important;line-height:1.7!important}body .ojf-portal .afra-profile-card__logout{grid-column:1/-1!important;grid-row:2!important;justify-self:end!important;max-width:100%!important}body .ojf-portal .afra-profile-card__facts{gap:4px}body .ojf-portal .afra-profile-card__facts>span{flex-basis:100%;font-size:12px!important}body .ojf-portal .afra-profile-card__role{font-size:13px!important;margin:6px 0!important}}
@media(max-width:380px){body .ojf-portal .afra-profile-card.ojf-portal-header{grid-template-columns:76px minmax(0,1fr)!important;padding:18px 14px!important;gap:12px!important}body .ojf-portal .afra-profile-card .ojf-avatar{width:76px!important;height:76px!important;min-width:76px!important}body .ojf-portal .afra-profile-card .afra-profile-card__name{font-size:18px!important}}

/* 2.11: intrinsic controls, readable cards and normal page scrolling. */
body :is(.ojf-portal,.ojf-auth) :is(form,fieldset,label,.ojf-panel-title,.ojf-manager-form-head){min-width:0;max-width:100%;box-sizing:border-box}
body :is(.ojf-portal,.ojf-auth) .ojf-button{height:auto!important;min-height:44px!important;aspect-ratio:auto!important;padding:10px 16px!important;line-height:1.6!important;font-size:14px!important;align-self:start!important;display:inline-flex!important;align-items:center;justify-content:center;gap:8px;white-space:normal;max-width:100%;box-sizing:border-box}
body .ojf-portal .ojf-inline-actions{align-items:flex-start!important}body .ojf-portal .ojf-inline-actions>form>.ojf-button{height:auto!important}
body .ojf-portal .ojf-manager-form-head{display:flex;gap:16px;align-items:start}body .ojf-manager-form-head h3{flex:1;min-width:0;line-height:1.8}body .ojf-manager-form-head>a{flex:none;white-space:nowrap;padding:8px 12px;border:1px solid #52616b;border-radius:10px}
body .ojf-portal details{border:1px solid #3d4d59;border-radius:12px;padding:12px;margin-block:10px}body .ojf-portal summary{cursor:pointer;line-height:1.8}
body .ojf-portal .ojf-table-wrap{overscroll-behavior:auto;touch-action:pan-x pan-y;max-height:none}
body .ojf-portal .ojf-table{table-layout:auto!important}body .ojf-portal :is(td,th){word-break:normal!important;overflow-wrap:normal!important}
body .ojf-portal :is(input,select,textarea){min-width:0;max-width:100%;font:inherit;box-sizing:border-box}
body .ojf-portal .ojf-message-history{max-height:none!important;overflow:visible!important}body .ojf-message-history article{padding:12px!important}body .ojf-message-history p{margin:6px 0!important}
.afra-field-error{display:block;color:#ffb4a9;font-size:13px;line-height:1.8}.afra-required{color:#ffb37a}.afra-pages{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin-block:16px}.afra-pages button{min-height:44px;padding:8px 14px;background:#172833;color:#fff;border:1px solid #52616b;border-radius:10px}
.afra-date-years{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.afra-date-years select{min-width:85px;color:inherit;background:#1c303f;border:1px solid #425968;padding:8px;border-radius:8px}
@media(max-width:760px){
 body .ojf-portal :is(.ojf-panel-section,.ojf-manager-form,.ojf-list-search){padding:14px!important;min-width:0!important}
 body .ojf-portal :is(.ojf-two-cols,.ojf-manager-four,.ojf-report-filters){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 body .ojf-portal .ojf-table-wrap{overflow:visible!important}body .ojf-portal table.afra-stacked{display:block!important;min-width:0!important;width:100%!important}
 body .ojf-portal table.afra-stacked thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}body .ojf-portal table.afra-stacked tbody{display:grid;gap:12px}
 body .ojf-portal table.afra-stacked tr{display:block;border:1px solid #344651;border-radius:12px;padding:12px;min-width:0}
 body .ojf-portal table.afra-stacked td{display:block!important;width:auto!important;min-width:0!important;max-width:100%;border:0!important;padding:6px 0!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:13px!important}
 body .ojf-portal table.afra-stacked td[data-label]:before{content:attr(data-label);display:block;color:#a7bac8;font-size:11px;margin-bottom:4px}
 body .ojf-portal table.afra-stacked tr[hidden]{display:none!important}body .ojf-portal h2{font-size:22px!important;line-height:1.7!important}body .ojf-portal h3{font-size:18px!important;line-height:1.8!important}
 body .ojf-portal .ojf-panel-title{flex-wrap:wrap;gap:10px}body .ojf-portal .afra-member-action{min-width:0}
}

@media(max-width:760px){body .ojf-portal table.afra-stacked td form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;min-width:0!important;width:100%!important;max-width:100%!important}body .ojf-portal table.afra-stacked td form>*{grid-column:1!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}body .ojf-portal table.afra-stacked input[type=file]{font-size:11px!important;padding:8px!important}body .ojf-portal table.afra-stacked input[type=file]::file-selector-button{padding:8px!important;max-width:100px}}

/* One compact row of five accessible rating choices. */
body .ojf-portal .afra-rating-input>div{display:flex!important;flex-wrap:nowrap!important;gap:2px!important;direction:ltr;justify-content:flex-start}
body .ojf-portal .afra-rating-input{padding:8px 0!important;min-width:0!important;max-width:100%}
body .ojf-portal .afra-rating-input label{flex:1 1 0!important;min-width:0!important;max-width:44px!important;min-height:44px!important;padding:4px 0!important;border:0!important;background:none!important;gap:2px!important}
body .afra-rating-input label span{display:grid;place-items:center;font-size:24px!important}
body .afra-rating-input label svg{width:24px!important;height:24px!important;fill:none}
body .afra-rating-input label:has(input:checked) svg,body .afra-rating-input label:has(~label input:checked) svg{fill:currentColor}
body .afra-rating-input label small{font-size:10px!important;white-space:nowrap}
body .afra-rating-input .afra-required{display:none!important}
.afra-report-date{display:block;direction:rtl;white-space:normal;font-size:12px;line-height:1.8;margin-top:5px}

/* 2.14 inbox states and field errors. */
.afra-inbox-tabs,.afra-history-filter{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin-block:14px}.afra-history-filter label{flex:1 1 140px}.afra-inbox-tabs [aria-current=page]{border-color:#ff7518;background:#26180e}.afra-unread-label,.afra-read-label{display:inline-block;font-size:12px;margin:8px;color:#ffae76}.afra-unread-label:before{content:"";display:inline-block;width:7px;height:7px;background:#ff7518;border-radius:50%;margin-inline-end:5px}.afra-read-label{color:#98a5b0}.afra-read-button{padding:7px 12px!important;min-height:36px!important;height:auto!important}.afra-local-error,[data-inbox-error]{display:block;color:#ffb5a8;font-size:13px}.afra-has-unread{color:#ffab72!important;font-weight:bold}.ojf-message-history .ojf-notice-item{margin-block:12px;padding:16px}.ojf-message-history .is-unread{border-inline-start:3px solid #ff7518}.afra-staff-caption{overflow-wrap:anywhere}

/* Pagination remains authoritative at every viewport size. */
body .ojf-portal table.ojf-table tbody tr[hidden],body .ojf-portal .afra-pages[hidden]{display:none!important}
.afra-pages label{display:flex;align-items:center;gap:8px;font-size:12px}.afra-pages select{min-height:44px;border:1px solid #52616b;border-radius:8px;padding:6px 10px;background:#172833;color:#fff;font:inherit}.afra-pages button:disabled{opacity:.4;cursor:default}.afra-pages span{font-size:12px}.afra-pages{scroll-margin-top:150px}
@media(max-width:600px){.afra-pages{gap:8px}.afra-pages label{flex-basis:100%;justify-content:center}}
