/* Radpa superapp — mobile first, burgundy and ink blue. */
:root{--wine:#852b49;--blue:#203e69;--ink:#1d2b43;--muted:#788298;background:#f6f7fb;color:var(--ink)}body{background:#f6f7fb}header{max-width:1240px;margin:auto;padding:22px 30px;border:0}.brand-symbol{width:52px;height:52px}.brand>span{font-size:28px}.brand small{font-size:10px;color:#7c8495}.notice{background:transparent;border:0;color:#7e8495;font-size:11px;padding:0 20px 8px}main{padding:24px 30px 110px;max-width:1240px}.signed-in .notice{display:none}.signed-in main{min-height:75vh}.signed-in footer{display:none}.account-name{font-size:12px;color:#5d6a80}#account{display:flex;align-items:center;gap:12px}.avatar{width:43px;height:43px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#edf0f7;color:var(--blue);padding:10px;box-shadow:none}.avatar.large{width:80px;height:80px;padding:23px;margin-bottom:18px;background:#f4eaf0;color:var(--wine)}.ui-icon{width:23px;height:23px;flex-shrink:0;vertical-align:middle}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:8px 0 27px}.page-heading h1{font-size:29px;letter-spacing:-.6px;margin:7px 0}.page-heading h1:focus{outline:none}.page-heading p{font-size:13px}.eyebrow{font-size:11px}.date-chip{background:#fff;border:1px solid #e7eaf1;border-radius:12px;padding:8px 13px;font-size:11px;white-space:nowrap;color:#66738a}.dashboard-lead{display:grid;grid-template-columns:1.7fr 1fr;gap:22px}.spotlight{background:var(--blue);color:#fff;border-radius:25px;position:relative;overflow:hidden;display:flex;min-height:292px;padding:32px}.spotlight-copy{z-index:1;width:65%}.overline{font-size:10px;letter-spacing:.3px;color:#bfcce1}.spotlight h2{font-size:33px;line-height:1.65;margin:14px 0;color:#fff;font-weight:800}.spotlight p{font-size:12px;line-height:2.1;color:#dce4f1;max-width:360px;margin-bottom:24px}.light-button{background:white;color:var(--blue);font-size:12px;display:inline-flex;gap:16px;align-items:center;padding:10px 15px;box-shadow:none}.light-button:hover{background:#e9eff9}.light-button .ui-icon{width:17px}.path-art{position:absolute;left:0;top:0;width:38%;height:100%;overflow:hidden}.path-art img{position:absolute;width:104px;left:42px;top:77px;filter:drop-shadow(0 10px 18px #06183535);transform:rotate(-9deg);background:#fff;border-radius:26px;padding:9px}.orbit{position:absolute;border:1px solid #ffffff1a;border-radius:50%;width:270px;height:270px;left:-60px;top:23px;transform:rotate(-25deg)}.orbit-b{width:190px;height:190px;left:-20px;top:64px;border-style:dashed;border-color:#ffffff30}.path-dot{position:absolute;width:12px;height:12px;background:#d8b5c4;border:3px solid #ffffff40;border-radius:50%;left:15px;top:51px}.dot-b{left:165px;top:230px;background:#abc4e9}.path-caption{position:absolute;top:208px;left:49px;color:#cad7eb;font-size:10px;text-align:center;line-height:1.9}.path-caption b{font-size:13px;color:white}.today-card{border:1px solid #e6eaf2;border-radius:25px;background:#fff;padding:26px;display:flex;flex-direction:column}.section-label{font-size:12px;color:#6d7a90;display:flex;align-items:center;gap:9px}.section-label .ui-icon{width:19px;color:var(--wine)}.summary-main{display:flex;align-items:baseline;gap:12px;padding:13px 0}.summary-main>b{font-family:Vazirmatn;font-size:44px;color:var(--blue)}.summary-main>span{font-size:12px;color:var(--muted)}.summary-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid #eef0f5;padding:18px 0 10px}.summary-pair>div{display:grid;grid-template-columns:12px 1fr;align-items:center;gap:4px}.summary-pair b{font-size:19px;color:var(--ink)}.summary-pair small{grid-column:1/-1;font-size:10px}.status-dot{display:block;width:7px;height:7px;border-radius:50%}.amber{background:#ce9b54}.green{background:#549b84}.text-button{background:none;color:var(--blue);padding:4px 0;box-shadow:none;font-size:11px;display:inline-flex;align-items:center;gap:9px;font-weight:700}.text-button:hover{color:var(--wine);background:none}.text-button .ui-icon{width:17px}.today-card>.text-button{margin-top:auto;border-top:1px solid #eef0f5;padding-top:12px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:27px 0 16px}.section-title h2{margin:0;font-size:20px}.section-title>span{font-size:11px;color:var(--muted)}.service-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px}.service-tile{position:relative;display:block;text-align:right;background:white;color:var(--ink);border:1px solid #e3e8f1;border-radius:22px;padding:25px;box-shadow:0 4px 18px #203e6903;font-weight:400;transition:transform .18s,border-color .18s}.service-tile:hover{background:#fff;border-color:#c9b1be;transform:translateY(-3px)}.service-icon{width:57px;height:57px;border-radius:17px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:14px}.service-icon .ui-icon{width:28px;height:28px}.wine{background:#f6eaf0;color:var(--wine)}.blue{background:#eaf0fa;color:#3b6097}.gold{background:#faf1e3;color:#a87c3f}.pill{display:inline-block;border-radius:7px;font-size:10px;padding:3px 8px;background:#edf1f7;color:#61718a;font-weight:400}.service-tile>.pill{position:absolute;left:20px;top:28px}.pill.free{background:#eaf5ef;color:#437b62}.pill.soon{background:#f4f1ed;color:#887754}.service-tile h3{font-size:19px;margin:3px 0 10px;font-weight:800}.service-tile p{font-size:12px;color:#788298;line-height:2;min-height:48px}.tile-link{display:flex;justify-content:space-between;align-items:center;margin-top:21px;padding-top:14px;border-top:1px solid #eff1f6;color:var(--blue);font-size:11px;font-weight:700}.tile-link .ui-icon{width:18px}.dashboard-bottom{display:grid;grid-template-columns:1.6fr 1fr;gap:22px;align-items:start}.card{border-radius:22px;border-color:#e4e9f1;box-shadow:none;margin-bottom:22px}.latest-card .section-title{margin-top:0}.latest-row{display:flex;align-items:center;gap:12px;background:none;color:var(--ink);padding:16px 0;border-top:1px solid #eff1f5;width:100%;border-radius:0;text-align:right;box-shadow:none;font-size:12px;font-weight:400}.latest-row:hover{background:#fafbfe}.latest-row>span:nth-child(2){flex:1}.latest-row small{display:block;margin-top:3px;font-size:10px}.latest-row>.ui-icon{width:16px;color:#8895aa}.row-icon{width:40px;height:44px;border-radius:12px;background:#f0f3f9;display:flex;align-items:center;justify-content:center;color:var(--blue)}.row-icon .ui-icon{width:20px}.telegram-card{display:flex;gap:15px;background:#eaf0f8;border:1px solid #e0e7f2;border-radius:22px;padding:25px;margin-bottom:22px}.telegram-card .icon-well{background:#fff;color:var(--blue);border-radius:13px;width:42px;height:42px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.telegram-card h3{margin:0 0 9px;font-size:16px}.telegram-card p{font-size:12px;line-height:2;color:#667994}.telegram-card a{font-size:13px;font-weight:bold;display:inline-block;margin-top:13px;color:var(--blue);text-decoration:none}.empty-state{text-align:center;padding:28px 10px;color:var(--muted)}.empty-state>.ui-icon{width:36px;height:36px;color:#aab7cc}.empty-state h3{font-size:16px;color:var(--ink);margin:12px 0 4px}.empty-state p{font-size:12px;margin:10px auto 20px;max-width:320px}.empty-state button{font-size:11px}.daily-layout,.history-layout{display:grid;grid-template-columns:1.35fr 1fr;gap:24px;align-items:start}.daily-layout h2{font-size:20px}.daily-layout label{line-height:2}.guidance{background:transparent;border:1px dashed #ced7e5}.guidance p{font-size:12px;color:var(--muted)}.info-strip{display:flex;align-items:center;gap:10px;background:#edf1f7;color:#61718b;border-radius:15px;padding:18px 22px;font-size:12px;line-height:2;margin:24px 0}.service-detail{max-width:820px;margin:0 auto 30px;padding:35px}.service-detail>.pill{vertical-align:top;margin:12px}.service-detail h2{font-size:27px}.service-detail>p{font-size:14px;color:var(--muted);line-height:2.2}.feature-list{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:28px 0}.feature-list>div{font-size:12px;display:flex;align-items:center;gap:8px}.feature-list .ui-icon{width:18px;color:#518b72}.profile-grid{display:grid;grid-template-columns:1fr 1.5fr;gap:24px}.profile-card{text-align:center}.profile-card h2{margin-bottom:10px}.profile-card>button{display:flex;margin:20px auto 0;align-items:center;gap:10px}.profile-card .danger{color:#a34b5e}.coin-card{position:relative}.coin-card>.pill{position:absolute;left:25px;top:28px}.coin-card p{font-size:12px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}.quick-action{display:flex;align-items:center;gap:15px;background:#fff;color:var(--blue);border:1px solid #e3e8f1;border-radius:18px;box-shadow:none;padding:22px;text-align:right}.quick-action:hover{background:#f0f3fa}.quick-action>div{flex:1}.quick-action small{display:block;font-size:11px;font-weight:400;margin-top:5px}.counselor-grid .management{background:#fff}.counselor-grid #detail{min-width:0;overflow-wrap:anywhere}#appNav{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:space-around;width:530px;max-width:calc(100% - 32px);background:#fff;border:1px solid #e1e6ef;border-radius:22px;padding:8px 12px;z-index:20;box-shadow:0 8px 40px #14274016}.nav-item{background:none;box-shadow:none;color:#8a94a6;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 18px;font-size:10px;border-radius:13px;font-weight:400;min-width:85px}.nav-item:hover{background:#f6f2f5;color:var(--wine)}.nav-item.active{background:#f6eaf0;color:var(--wine);font-weight:700}.nav-item .ui-icon{width:22px;height:22px}#toast:not(:empty){bottom:110px;z-index:30}.welcome h1{font-size:54px;line-height:1.5;letter-spacing:-1px;margin:20px 0}.welcome>p{font-size:14px;line-height:2.2}.welcome-visual{display:flex;align-items:center;gap:22px;margin:28px 0;background:#eaf0f9;border:1px solid #dde5f2;border-radius:25px;padding:28px}.welcome-visual img{width:84px;height:84px}.welcome-visual span{display:block;font-size:12px;color:#6c7d99}.welcome-visual strong{font-family:Vazirmatn;font-size:23px;color:var(--blue)}.public-features{display:flex;flex-wrap:wrap;gap:14px;font-size:10px;color:#7a8598}.public-features .ui-icon{width:15px;height:15px;margin-left:3px}.login-panel{margin-top:44px;padding:32px}.login-panel h1{font-size:25px}.login-panel>.muted{font-size:12px}.login-help{font-size:11px}button:disabled{cursor:not-allowed}.question-set{margin-bottom:18px}.question-set legend{font-family:Vazirmatn}.consent{font-size:11px;line-height:2.1}.satisfaction-text{font-size:12px}.badge{white-space:nowrap}.history-layout #detail:empty{display:none}
@media(max-width:950px){.dashboard-lead{grid-template-columns:1.5fr 1fr}.spotlight{padding:25px}.spotlight h2{font-size:28px}.path-art img{left:19px;width:85px;top:90px}.path-caption{left:20px}.service-tile{padding:20px}.service-tile>.pill{font-size:9px;left:13px;top:24px}.service-icon{width:48px;height:48px}.dashboard-bottom{grid-template-columns:1.3fr 1fr}.telegram-card{padding:20px}.telegram-card .icon-well{display:none}}
@media(max-width:760px){header{padding:18px 19px 10px}.brand-symbol{width:42px;height:42px}.brand>span{font-size:24px}.brand small{font-size:8px}.account-name{font-size:10px;max-width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.avatar{width:36px;height:36px;padding:9px}.notice{font-size:9px;margin-top:7px}main{padding:15px 18px 110px}.page-heading{margin:8px 0 20px;align-items:flex-start}.page-heading h1{font-size:23px;letter-spacing:-.5px}.page-heading p{font-size:11px;max-width:310px}.date-chip{display:none}.dashboard-lead{grid-template-columns:1fr;gap:16px}.spotlight{min-height:251px;padding:26px 24px;border-radius:23px}.spotlight-copy{width:69%}.spotlight h2{font-size:29px;margin:13px 0}.spotlight p{font-size:11px;margin-bottom:18px;max-width:230px}.overline{font-size:9px}.path-art{width:35%}.path-art img{left:14px;top:72px;width:79px;border-radius:23px}.path-caption{left:14px;top:171px;font-size:8px}.path-caption b{font-size:10px}.orbit{left:-120px;top:4px}.orbit-b{left:-80px;top:45px}.path-dot{left:7px;top:43px}.dot-b{left:82px;top:210px}.today-card{padding:19px 20px;border-radius:20px;display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.section-label{font-size:10px}.summary-main{grid-column:1;grid-row:2;padding:5px 0}.summary-main>b{font-size:31px}.summary-main>span{font-size:10px}.summary-pair{grid-column:2;grid-row:1/3;border-top:0;border-right:1px solid #edf0f5;padding:0 16px 0 0;align-content:center;gap:12px}.summary-pair b{font-size:18px}.summary-pair small{font-size:9px;white-space:nowrap}.today-card>.text-button{grid-column:1/-1;margin-top:9px;justify-content:space-between;font-size:10px}.section-title{margin:24px 0 13px}.section-title h2{font-size:18px}.section-title>span{font-size:9px}.service-tiles{grid-template-columns:1fr 1fr;gap:12px}.service-tile{padding:17px 15px;border-radius:19px}.service-tile:first-child{grid-column:1/-1;display:grid;grid-template-columns:58px 1fr;column-gap:15px}.service-tile:first-child .service-icon{grid-column:1;grid-row:1/4;align-self:center;margin:0}.service-tile:first-child h3{grid-column:2;margin:0 0 5px;padding-top:21px}.service-tile:first-child p{grid-column:2;min-height:0;font-size:10px;margin:0;line-height:1.9}.service-tile:first-child>.pill{right:88px;left:auto;top:13px}.service-tile:first-child .tile-link{grid-column:1/-1;margin-top:15px}.service-tile h3{font-size:17px}.service-tile p{font-size:11px;min-height:44px}.service-tile>.pill{font-size:8px;top:22px;left:11px;padding:2px 6px}.service-icon{width:43px;height:43px;border-radius:13px;margin-bottom:15px}.service-icon .ui-icon{width:24px;height:24px}.tile-link{font-size:9px;margin-top:15px;padding-top:12px}.tile-link .ui-icon{width:15px}.dashboard-bottom{grid-template-columns:1fr;gap:0}.card{padding:21px}.latest-card{margin-bottom:17px}.latest-row{gap:9px}.latest-row>.badge{font-size:9px;padding:3px 7px}.latest-row>.ui-icon{display:none}.telegram-card{padding:21px;gap:14px;border-radius:20px}.telegram-card .icon-well{display:flex}.telegram-card h3{font-size:15px}.telegram-card p{font-size:11px}.telegram-card a{font-size:12px}.daily-layout,.history-layout,.profile-grid{grid-template-columns:1fr;gap:0}.daily-layout>.card{padding:21px 18px}.daily-layout>.card>h2{font-size:18px}.daily-layout>.card>p{font-size:11px}.fields{gap:0 12px}.fields label{font-size:11px}.question-set{padding:10px 12px}.question-set legend{font-size:12px}.jalali-fields{gap:8px}.jalali-fields input,.jalali-fields select{padding:9px 6px}.satisfaction{gap:7px}.satisfaction label{padding:10px 4px}.feature-list{grid-template-columns:1fr;gap:14px}.service-detail{padding:24px}.service-detail h2{font-size:23px}.service-detail>p{font-size:12px}.info-strip{font-size:11px;padding:16px}.quick-grid{grid-template-columns:1fr;gap:12px}.quick-action{padding:18px}.counselor-grid{gap:0}.counselor-grid .management{padding:21px 18px}.counselor-grid h2{font-size:18px}#appNav{bottom:0;width:100%;max-width:none;border-radius:20px 20px 0 0;border-bottom:0;padding:8px 10px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -5px 25px #14274008}.nav-item{min-width:64px;padding:7px 17px;font-size:10px}.nav-item .ui-icon{width:22px;height:22px}#toast:not(:empty){bottom:95px;font-size:12px}.welcome{padding:10px 4px}.welcome h1{font-size:37px;margin:14px 0}.welcome>p{font-size:12px;line-height:2}.welcome-visual{padding:19px;margin:22px 0 15px;gap:18px;border-radius:20px}.welcome-visual img{width:57px;height:57px}.welcome-visual strong{font-size:21px}.welcome-visual span{font-size:10px}.public-features{gap:11px;font-size:9px}.public-features span:last-child{display:none}.login-panel{margin:25px 0 0;padding:24px}.login-panel h1{font-size:23px}.login-panel label{font-size:12px}main:has(.welcome){padding:15px 20px 25px}.login-panel>.eyebrow{font-size:10px}footer{font-size:10px;padding:20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.service-tile:hover{transform:none}}

@media(max-width:760px){.spotlight h2{font-size:25px}.spotlight-copy{width:72%}.path-art{width:29%}.path-art img{width:65px;left:10px;top:74px;border-radius:19px}.path-caption{left:10px;top:158px}.path-caption b{font-size:9px}.spotlight{min-height:260px}.spotlight p{max-width:240px}}
.students-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;align-items:start}.students-layout .management{grid-column:auto}.students-layout .section-title{margin-top:0}@media(max-width:760px){.students-layout{grid-template-columns:1fr;gap:0}}
/* Installation, student profile, precise study time and feedback ratings. */
.brand small{max-width:290px;font-size:9px;line-height:1.9}.install-guide{grid-column:1/-1;background:white;border:1px solid #e3e8f1;border-radius:22px;padding:23px;margin-bottom:8px}.install-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}.install-heading h2{font-size:18px;margin:0}.install-heading>.eyebrow{font-size:10px}.install-options{display:grid;grid-template-columns:1fr 1fr;gap:16px}.install-options details{margin:0;border:1px solid #e3e8f1;border-radius:15px;background:#fafbfe}.install-options summary{display:flex;align-items:center;gap:12px;padding:13px 15px;list-style:none;font-size:13px;font-weight:700;color:var(--blue)}.install-options summary::-webkit-details-marker{display:none}.install-options summary>.ui-icon{margin-right:auto;width:17px}.install-options summary small{display:block;font-size:10px;font-weight:400}.os-mark{width:37px;height:37px;background:#eaf3ed;color:#478666;border-radius:11px;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:bold}.os-mark.ios{background:#edf0f6;color:var(--blue);font-size:14px}.install-steps{padding:0 16px 15px;font-size:11px;color:var(--muted);line-height:2}.install-steps button{font-size:10px;margin-top:10px}.signed-in footer,footer{display:flex;max-width:1180px;margin:15px auto 0;padding:25px 24px 120px;gap:25px;justify-content:space-between;align-items:center;border-top:1px solid #e0e5ee}.footer-brand{display:flex;align-items:center;gap:12px}.footer-brand img{width:40px;height:40px}.footer-brand b{font-family:Vazirmatn;font-size:20px;color:var(--blue)}.footer-brand small{display:block;font-size:9px}.footer-social{display:flex;gap:24px}.footer-social a{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--blue);font-size:10px}.footer-social .ui-icon{color:white;background:var(--blue);padding:7px;border-radius:50%;width:33px;height:33px}.footer-social bdi{display:block;font-size:11px;font-weight:700}.signed-in main{padding-bottom:25px}.wallet-panel{display:flex;align-items:center;gap:16px;border:1px solid #e7dfd1;border-radius:19px;padding:17px 21px;margin-bottom:23px;background:#fcfaf7}.wallet-panel .service-icon{margin:0;width:43px;height:43px}.wallet-panel>div{flex:1}.wallet-panel h3{font-size:16px;margin:0}.wallet-panel p{font-size:11px;color:var(--muted);margin:3px 0}.wallet-panel button{font-size:10px}.coin-card button:disabled,.wallet-panel button:disabled{cursor:not-allowed;opacity:.65}.study-picker{font-size:12px;color:#344664;margin:14px 0}.time-selectors{display:grid;grid-template-columns:1fr 14px 1fr;align-items:end;gap:5px}.time-selectors label{margin:5px 0;font-size:11px;text-align:center}.time-selectors b{padding-bottom:16px;text-align:center}.time-selectors select{text-align:center;direction:ltr}.study-picker>small{font-size:9px}.success-dialog{max-width:440px;width:calc(100% - 36px);border:1px solid #e4e8f0;border-radius:25px;padding:30px;text-align:center;color:var(--ink);font:inherit;box-shadow:0 20px 80px #12233838}.success-dialog::backdrop{background:#14274085;backdrop-filter:blur(3px)}.success-symbol{font-size:43px}.success-dialog h2{font-size:22px;margin:12px 0}.success-dialog p{font-size:13px;color:var(--muted);line-height:2.1;margin-bottom:25px}.success-dialog button{display:block;width:100%;margin-top:10px}.profile-editor{max-width:760px;margin:0 auto 30px}.profile-editor>.muted{font-size:12px}.feedback-rating{border:1px solid #e8d8ba;border-radius:17px;background:#fdfbf6;padding:20px;margin-top:24px}.feedback-rating h3{margin:0;font-size:16px}.feedback-rating p{font-size:12px;color:var(--muted)}.rating-stars{display:flex;border:0;gap:10px;margin:15px 0;padding:0;justify-content:space-around}.rating-stars legend{font-size:11px;color:var(--muted);margin-bottom:10px}.rating-stars label{position:relative;text-align:center;margin:0;cursor:pointer;flex:1;border:1px solid #e5dfd3;border-radius:12px;background:white;padding:5px}.rating-stars input{position:absolute;opacity:0;width:1px;height:1px}.rating-stars label>span:not(.sr-only){font-size:27px;color:#b6ac99}.rating-stars label>small{display:block;font-size:10px}.rating-stars label:has(input:checked){border-color:#b38848;background:#fff6e3}.rating-stars label:has(input:checked)>span{color:#b3843c}.rating-stars label:has(input:focus-visible){outline:3px solid #b4c5df}.rating-summary{font-size:11px;color:#8c6a32}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){.brand small{font-size:7px;max-width:210px}.install-guide{padding:18px;margin:0 0 7px}.install-heading{display:block}.install-heading h2{font-size:18px;margin-top:6px}.install-options{gap:9px}.install-options summary{padding:12px 9px;gap:8px;font-size:11px;flex-wrap:wrap}.install-options summary small{font-size:9px}.os-mark{width:29px;height:29px;font-size:16px}.os-mark.ios{font-size:11px}.install-options summary>.ui-icon{width:13px}.install-options:has(details[open]){grid-template-columns:1fr}.install-steps{font-size:11px}.welcome h1{font-size:36px}.footer-social{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:15px}.signed-in footer,footer{margin:0 18px;padding:24px 0 115px;gap:20px}.footer-social a{font-size:9px;gap:8px}.footer-social bdi{font-size:10px}.footer-social .ui-icon{width:29px;height:29px;padding:6px}.footer-brand small{font-size:8px}.wallet-panel{padding:15px;gap:12px}.wallet-panel h3{font-size:15px}.wallet-panel p{font-size:10px}.wallet-panel button{padding:7px 10px;font-size:9px}.study-picker{font-size:11px}.time-selectors select{padding:10px 3px}.success-dialog{padding:25px 22px}.success-dialog h2{font-size:20px}.rating-stars{gap:6px}.rating-stars label>span:not(.sr-only){font-size:24px}.feedback-rating{padding:16px}}
.guidance{max-width:none;margin-bottom:22px;background:#f1f4f9;border-style:solid}.guidance p{font-size:12px}.archive-note{background:#edf1f8;border-radius:14px;padding:15px 20px;font-size:12px;color:#61718a;margin-bottom:22px}.removed-students{grid-column:1/-1}.removed-students summary{font-weight:bold;color:var(--blue)}.students-layout .danger{color:#a34b5e}.push-settings{max-width:760px;margin:0 auto 25px}.push-settings .muted{font-size:12px;line-height:2}.push-settings button{margin:12px 0 0}.push-settings button[hidden]{display:none}.push-settings [role=status]{font-size:12px;color:var(--blue);margin-top:14px}.reminder-shortcut{display:flex;align-items:center;gap:12px;background:#edf1f8;color:var(--blue);width:100%;padding:17px 21px;border-radius:17px;margin:0 0 23px;box-shadow:none;text-align:right;font-size:12px}.reminder-shortcut:hover{background:#e1e9f6}.reminder-shortcut span{margin-right:auto;font-size:10px}@media(max-width:760px){.reminder-shortcut{font-size:11px;padding:16px}.reminder-shortcut span{font-size:9px}.archive-note{font-size:11px;padding:14px}.students-layout .row{align-items:flex-start}.students-layout .danger{font-size:10px;white-space:nowrap}}
/* Readable Persian interface, 2026-10. */
:root{--muted:#596a81}body{font-family:Estedad,sans-serif;font-size:16px;line-height:1.95}h1,h2,h3,h4,legend{font-family:Vazirmatn,sans-serif}input,select,textarea,button{font-family:Estedad,sans-serif}button,input,select,textarea{font-size:16px}input,select{min-height:48px}textarea{line-height:1.9}button{min-height:44px}.account-name{font-size:15px;color:#344764}.brand small{font-size:12px}.page-heading h1{font-size:34px}.page-heading p,.spotlight p,.service-tile p,.telegram-card p,.guidance p,.service-detail>p,.login-panel>.muted,.login-help,.profile-editor p,.info-strip,.feature-list>div,.consent,.row,.latest-row{font-size:15px}.eyebrow,.overline,.section-label,.date-chip,.section-title>span,.text-button,.tile-link,.pill,.badge,.service-no,.quick-action small,.latest-row small,.summary-pair small,.summary-main>span,.public-features,.time-selectors label,.study-picker,.study-picker>small,.wallet-panel p{font-size:13px}.service-tile h3,.section-title h2,.daily-layout h2{font-size:23px}.telegram-card h3,.guidance h3,.wallet-panel h3{font-size:20px}.fields label,.daily-layout label,.login-panel label,.question-set legend{font-size:15px}.install-guide{padding:24px;margin-bottom:24px}.install-heading h2{font-size:22px}.install-heading>.eyebrow{font-size:13px}.install-options{align-items:start}.install-options details{align-self:start;overflow:hidden}.install-options summary{min-height:80px;font-size:16px;cursor:pointer}.install-options summary small{font-size:13px}.install-options details[open]{border-color:#bca1af;background:#fff}.install-options details[open] summary{border-bottom:1px solid #e4e9f1}.install-options details[open] summary>.ui-icon{transform:rotate(45deg)}.install-steps{font-size:15px;padding-top:10px}.install-steps button{font-size:14px}.radpa-footer,.signed-in .radpa-footer{display:grid;grid-template-columns:1.4fr 1fr 1fr;align-items:start;gap:32px;background:#172f4a;color:#e6edf6;max-width:none;margin:40px 0 0;padding:44px max(24px,calc((100% - 1180px)/2)) 30px;border:0;border-top:4px solid #852b49}.radpa-footer .footer-brand b{font-size:30px;color:#fff}.radpa-footer .footer-brand small{font-size:13px;color:#c1cedf}.radpa-footer .footer-brand img{width:52px;height:52px;background:#fff;border-radius:14px;padding:5px}.footer-intro{max-width:390px;font-size:14px;color:#c1cedf;margin-top:18px}.footer-column{display:flex;flex-direction:column;gap:12px;min-width:0}.footer-column h3{font-size:18px;color:#fff;margin:0 0 6px}.footer-column>a,.footer-column>.text-button{font-size:14px;color:#e6edf6;text-decoration:none}.footer-column>a:hover{color:#f1c6d7}.social-link{display:flex;align-items:center;gap:10px}.social-link .ui-icon{width:23px;height:23px;color:#c9a5b6}.social-link bdi{display:block;font-size:13px;color:#b9c8db}.footer-bottom{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:space-between;gap:15px;border-top:1px solid #ffffff26;padding-top:24px;font-size:13px;color:#b9c8db}.signed-in main{padding-bottom:24px}.avatar:focus-visible{outline:3px solid #852b49;outline-offset:3px}
@media(min-width:761px){header{min-height:98px;padding-block:20px}.signed-in #appNav{position:sticky;top:0;left:auto;bottom:auto;transform:none;width:100%;max-width:none;justify-content:center;gap:10px;margin:0;padding:10px 24px;border:0;border-block:1px solid #e1e6ef;border-radius:0;box-shadow:0 7px 22px #172f4a06;background:#ffffffed;backdrop-filter:blur(12px);z-index:25}.signed-in #appNav .nav-item{flex-direction:row;gap:10px;min-width:140px;font-size:15px;padding:12px 20px;border-radius:10px}.signed-in #appNav .nav-item.active{box-shadow:inset 0 -3px #852b49}.signed-in main{padding-top:30px}#toast:not(:empty){bottom:26px}}
@media(max-width:760px){body{font-size:15px}header{padding:18px}.brand small{font-size:10px;max-width:180px}.account-name{font-size:13px;max-width:120px}.avatar{width:44px;height:44px}.page-heading h1{font-size:28px}.page-heading p,.spotlight p,.service-tile p,.telegram-card p,.guidance p,.service-detail>p,.login-panel>.muted,.login-help,.info-strip,.consent,.feature-list>div{font-size:14px}.spotlight h2{font-size:29px}.spotlight-copy{width:75%}.service-tiles{grid-template-columns:1fr}.service-tile:first-child{display:block;grid-column:auto}.service-tile:first-child h3{padding-top:0}.service-tile:first-child .service-icon{margin:0 0 15px}.service-tile:first-child>.pill{right:auto;left:17px;top:23px}.service-tile:first-child p{font-size:14px}.service-tile>.pill{font-size:12px;max-width:65%}.service-tile h3{font-size:22px}.tile-link,.text-button,.date-chip,.latest-row small,.summary-pair small,.quick-action small{font-size:12px}.section-title h2{font-size:22px}.install-heading{display:block}.install-heading h2{font-size:21px;margin-top:8px}.install-options{grid-template-columns:1fr;gap:12px}.install-options summary{font-size:16px}.install-steps{font-size:14px}.fields label,.login-panel label,.question-set legend{font-size:15px}.nav-item{padding:8px 6px;min-width:0;flex:1;font-size:12px}.signed-in .radpa-footer,.radpa-footer{grid-template-columns:1fr 1fr;padding:32px 22px 110px;gap:26px 20px}.footer-main{grid-column:1/-1}.footer-column h3{font-size:17px}.footer-column>a,.footer-column>.text-button{font-size:13px}.footer-bottom{font-size:12px;display:block}.footer-bottom>span{display:block;margin-top:8px}.signed-in #appNav{padding-bottom:calc(8px + env(safe-area-inset-bottom))}.section-title{flex-wrap:wrap}.satisfaction-text{font-size:12px}.summary-main>span{font-size:12px}.wallet-panel p{font-size:13px}.welcome>p{font-size:15px}.welcome h1{font-size:40px}}
/* Approved v20: readable paired report fields and a quiet personal home. */
.student-panel{font-size:17px}.student-panel p,.student-panel .muted,.student-panel label,.student-panel input,.student-panel select,.student-panel textarea{font-size:16px}.student-panel h1{font-size:32px}.student-panel h2{font-size:25px}.student-panel h3{font-size:21px}.student-panel .page-heading p{font-size:16px}.student-panel small{font-size:14px}.student-panel .daily-layout{grid-template-columns:minmax(0,1fr) 290px}.student-panel .daily-layout .fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}.student-panel .fields>*{min-width:0}.student-panel .study-picker{grid-column:auto}.student-panel .time-selectors{gap:5px}.student-panel .time-selectors label{min-width:0;flex:1}.student-panel .time-selectors select{width:100%;min-width:0}.report-today{padding:18px;border:1px solid #d7e0e9;background:#f2f6fa;border-radius:16px;display:grid;gap:5px;margin:18px 0}.report-today strong{font:700 22px Vazirmatn,sans-serif;color:#19344f}.report-today small{line-height:1.9;color:#637487}.exam-switch{display:flex;align-items:center;gap:10px}.exam-switch input{width:22px;height:22px}.timed-exam-fields[hidden]{display:none}.exam-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.exam-numbers input{width:100%;min-width:0}.exam-result{display:flex;justify-content:space-between;align-items:center;padding:16px;background:#f1f5fa;border-radius:12px;margin:14px 0}.exam-result output{font:700 25px Vazirmatn;color:#852b49}.timed-summary{border:1px solid #dce4ed;padding:20px;border-radius:16px;margin-top:20px}.student-home-lead{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(125deg,#eaf0f7,#faf2f5);border:1px solid #dee5ee;border-radius:28px;padding:32px;gap:20px}.student-home-lead h2{font:800 34px/1.55 Vazirmatn;color:#19344f;margin:14px 0 22px}.student-home-lead img{width:150px;filter:drop-shadow(0 16px 18px #18354d18)}.student-home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:24px}.student-home-grid button{background:#fff;color:#19344f;border:1px solid #dee5ed;box-shadow:0 8px 22px #18354d05;border-radius:20px;padding:24px;text-align:right;display:flex;flex-direction:column;align-items:start;gap:12px}.student-home-grid .ui-icon{color:#852b49;width:29px;height:29px}.student-home-grid b{font:700 21px Vazirmatn}.student-home-grid small{color:#617287;line-height:1.8}.student-panel .dashboard-bottom:empty{display:none}.student-panel .wallet-panel{margin-top:22px}.plan-row{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid #e0e6ef;padding:20px 0}.plan-row h3{margin:0 0 8px}.plan-row .button{white-space:nowrap}.planning-manager{margin-top:28px}.planning-roster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.planning-access{display:flex;align-items:center;gap:12px;padding:16px;background:#f4f7fb;border-radius:14px}.planning-access span{flex:1}.planning-access input{width:22px;height:22px}.planning-access small{color:#5c6d80}.planning-access bdi,.student-code bdi{font-family:Estedad,sans-serif;color:#852b49}.planning-shortcut{width:100%;display:flex;align-items:center;gap:12px;color:#19344f}#planUpload{max-width:650px}
@media(min-width:761px){.signed-in #appNav{justify-content:center}.student-panel #appNav .center-home{transform:none;box-shadow:none}.student-panel #appNav .nav-item{min-width:120px}.student-panel .student-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.student-panel{font-size:16px}.student-panel h1{font-size:28px}.student-panel h2{font-size:23px}.student-panel .daily-layout{grid-template-columns:1fr}.student-panel .daily-layout .fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.student-panel .fields label,.student-panel .study-picker>span{font-size:15px}.student-panel .fields input,.student-panel .fields select{padding:12px 8px;font-size:16px}.student-panel .study-picker small{font-size:11px}.student-home-lead{padding:24px 20px;border-radius:22px}.student-home-lead h2{font-size:27px}.student-home-lead img{width:90px}.student-home-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.student-home-grid button{padding:20px 14px}.student-home-grid b{font-size:19px}.student-home-grid small{font-size:13px}.student-panel #appNav{position:fixed;bottom:calc(12px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 28px);max-width:510px;display:flex;background:#f9fbfbd9;backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%);border:1px solid #ffffffee;border-radius:25px;box-shadow:0 12px 35px #19344f25;padding:9px 6px;overflow:visible}.student-panel #appNav .nav-item{flex:1;padding:8px 2px;font-size:11px;gap:5px}.student-panel #appNav .center-home{transform:translateY(-16px);background:#19344f;color:#fff;border:5px solid #f4f6fa;border-radius:23px;padding:12px 4px;box-shadow:0 8px 18px #19344f25;margin-bottom:-12px}.student-panel #appNav .center-home .ui-icon{width:25px;height:25px}.planning-roster{grid-template-columns:1fr}.exam-numbers{gap:8px}.plan-row{align-items:start}.student-panel .satisfaction-text{font-size:13px}.student-panel .radpa-footer{padding-bottom:135px}}
#studentsList{max-height:660px;overflow:auto;padding-left:8px}.planning-roster{max-height:320px;overflow:auto;padding:4px}.planning-roster .planning-access{margin:0}
/* v21: align control edges, independently of wrapped Persian labels. */
.student-panel #report .paired-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px;align-items:start}.student-panel #report .paired-metrics>.metric-field{display:grid;grid-template-rows:64px 56px;gap:8px;margin:0;min-width:0;align-content:start;align-items:stretch}.student-panel #report .metric-label{display:flex;align-items:flex-end;line-height:1.65;font-size:15px;margin:0;padding:0;min-width:0}.student-panel #report .metric-field>input,.student-panel #report .metric-field>select{height:56px;box-sizing:border-box;width:100%;margin:0;padding:10px;min-width:0}.student-panel #report .metric-field>.time-selectors{display:flex;align-items:center;gap:4px;height:56px;min-width:0;margin:0}.student-panel #report .time-selectors label{display:block;flex:1;min-width:0;height:56px;font-size:0;margin:0;padding:0}.student-panel #report .time-selectors select{height:56px;font-size:16px;padding:8px 3px;width:100%;min-width:0;margin:0;box-sizing:border-box}.student-panel #report .time-selectors b{font-size:18px;align-self:center}.exam-entry{position:relative;border:1px solid #dce4ee;border-radius:16px;padding:18px;margin-bottom:18px}.exam-entry>[data-remove-exam]{margin-top:4px;font-size:24px;min-height:44px;min-width:44px;padding:0;color:#852b49}.panel-back{display:flex;align-items:center;gap:10px;background:transparent;color:#203e69;box-shadow:none;padding:8px 0;margin:0 0 18px;font:600 16px Estedad,sans-serif;min-height:44px}.panel-back span{font-size:25px}.panel-back:hover{background:transparent;color:#852b49}.panel-swipe-in{animation:panel-enter .22s ease-out}@keyframes panel-enter{from{opacity:.55;transform:translateX(16px)}to{opacity:1;transform:none}}
@media(max-width:760px){.student-panel #appNav{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.72);backdrop-filter:blur(26px) saturate(160%);-webkit-backdrop-filter:blur(26px) saturate(160%);box-shadow:0 10px 35px #19344f25,inset 0 1px 0 #ffffffa0;touch-action:pan-y;user-select:none;-webkit-user-select:none}.student-panel #appNav .nav-item,.student-panel #appNav .nav-item:hover{background:transparent;color:#53647c}.student-panel #appNav .nav-item.active{background:rgba(133,43,73,.1);color:#852b49}.student-panel #appNav .center-home,.student-panel #appNav .center-home.active{background:rgba(255,255,255,.2);color:#19344f;border:1px solid rgba(255,255,255,.8);box-shadow:0 4px 16px #19344f15;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);padding:14px 4px}.student-panel #report .paired-metrics{gap:20px 12px}.student-panel #report .metric-label{font-size:15px}.student-panel #report .paired-metrics>.metric-field{grid-template-rows:64px 56px}.exam-entry{padding:14px}.student-panel #report .exam-numbers label{font-size:14px}.student-panel #report .exam-numbers input{padding:10px 5px}}
@media(prefers-reduced-motion:reduce){.panel-swipe-in{animation:none}}

/* RADPA UI upgrade 2026-10-23. Presentation only; native components retained. */
:root {
 --radpa-navy:#172f4a; --radpa-wine:#852b49; --radpa-wine-deep:#692039;
 --radpa-paper:#faf8f5; --radpa-white:#ffffff; --radpa-slate:#52647a;
 --radpa-line:#d9dfe5; --radpa-rose:#f3e9ed; --radpa-blue-tint:#eef2f6;
 --radpa-positive:#25634f; --radpa-positive-tint:#e8f3ed;
 --radpa-warning:#78531b; --radpa-warning-tint:#faf0dc; --radpa-danger:#a12846;
 --radpa-space-2:.5rem; --radpa-space-4:1rem; --radpa-space-6:1.5rem; --radpa-space-8:2rem;
 --radpa-background:var(--radpa-paper); --radpa-surface:var(--radpa-white);
 --radpa-text:var(--radpa-navy); --radpa-muted:var(--radpa-slate); --radpa-action:var(--radpa-wine);
 --radpa-control-radius:12px; --radpa-panel-radius:20px; --radpa-control-height:52px;
 --radpa-border:1px solid var(--radpa-line); --radpa-ease:cubic-bezier(.2,.8,.2,1);
 --wine:var(--radpa-action); --blue:var(--radpa-navy); --ink:var(--radpa-text); --muted:var(--radpa-muted);
 color:var(--radpa-text); background:var(--radpa-background); font-size:16px;
}
body{background:var(--radpa-background);color:var(--radpa-text);line-height:1.95}
body :is(h1,h2,h3,h4,legend){color:var(--radpa-text);letter-spacing:0}
body :is(p,small,.muted){overflow-wrap:break-word}
body .muted,body small{color:var(--radpa-muted)}
body :is(button,.button,input,select,textarea){font-size:16px}
body :is(button,.button){min-height:46px;border-radius:var(--radpa-control-radius);box-shadow:none;line-height:1.8;padding:11px 19px}
body button{transition:background-color 180ms var(--radpa-ease),color 180ms var(--radpa-ease),border-color 180ms var(--radpa-ease)}
body button:disabled{cursor:not-allowed;opacity:.62}
body :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--radpa-navy);outline-offset:4px}
body :is(input,select,textarea){border:var(--radpa-border);background:var(--radpa-surface);color:var(--radpa-text);border-radius:var(--radpa-control-radius);padding:12px 14px;box-shadow:none;max-width:100%}
body :is(input:not([type=radio],[type=checkbox]),select){min-height:var(--radpa-control-height)}
body :is(input,select,textarea):focus{border-color:var(--radpa-wine);outline:2px solid var(--radpa-wine);outline-offset:2px}
body input::placeholder,body textarea::placeholder{color:var(--radpa-muted);opacity:1}
body :is(input[type=checkbox],input[type=radio]){accent-color:var(--radpa-wine)}
body label{font-size:15px;line-height:1.9;color:var(--radpa-text)}
body .secondary{background:var(--radpa-blue-tint);color:var(--radpa-navy);border:1px solid transparent}
body .secondary:hover{background:var(--radpa-surface);border-color:var(--radpa-line)}
body .text-button,body .panel-back{background:transparent;box-shadow:none;color:var(--radpa-navy)}
body .text-button:hover,body .panel-back:hover{background:var(--radpa-blue-tint);color:var(--radpa-wine)}
body .danger,body .error{color:var(--radpa-danger)}
body .error:not(:empty){background:var(--radpa-rose);border-inline-start:3px solid var(--radpa-danger);border-radius:8px;padding:12px 16px;font-size:15px;line-height:1.9}
body .card{border:var(--radpa-border);border-radius:var(--radpa-panel-radius);box-shadow:none;background:var(--radpa-surface);padding:clamp(20px,2.3vw,32px)}
body .card h2{font-size:clamp(22px,2vw,26px);line-height:1.7}
body .card h3{font-size:20px;line-height:1.7}
body .eyebrow{color:var(--radpa-wine);font-size:13px;line-height:1.9}
body .badge,body .pill{font-size:13px;padding:5px 11px;border-radius:8px;line-height:1.8}
body .badge.pending{color:var(--radpa-warning);background:var(--radpa-warning-tint)}
body .badge.approved,body .pill.free{color:var(--radpa-positive);background:var(--radpa-positive-tint)}
body .badge.revision,body .pill.soon{color:var(--radpa-wine);background:var(--radpa-rose)}
body>header{max-width:1320px;padding:22px 36px;min-height:96px;gap:24px}
body .brand{gap:12px}body .brand-symbol{width:48px;height:48px}
body .brand small{font-size:12px;line-height:1.9}
body .account-name{font-size:15px;color:var(--radpa-text)}
body .avatar{border:var(--radpa-border);background:var(--radpa-surface);color:var(--radpa-navy);width:46px;height:46px;padding:11px}
body .avatar:hover{background:var(--radpa-rose);color:var(--radpa-wine)}
body>main{max-width:1280px;padding:32px 36px 72px}
body .page-heading{margin:6px 0 32px;align-items:center}
body .page-heading h1{font-size:clamp(28px,2.9vw,38px);line-height:1.65;margin:8px 0}
body .page-heading p{font-size:16px;max-width:65ch}
body .date-chip{font-size:13px;background:transparent;border:var(--radpa-border);padding:8px 14px}
body .panel-back{font-size:15px;min-height:44px;padding-inline:10px;margin:0 0 12px;width:fit-content}
body .section-title{gap:16px;align-items:center}body .section-title h2{font-size:24px}
body .section-title>span{color:var(--radpa-muted);font-size:14px}
body .student-home-lead{background:var(--radpa-navy);border:0;color:var(--radpa-white);border-radius:var(--radpa-panel-radius);padding:clamp(26px,3.5vw,48px);min-height:280px}
body .student-home-lead h2{color:var(--radpa-white);font-size:clamp(29px,3.2vw,40px);line-height:1.65;margin:16px 0 26px}
body .student-home-lead .eyebrow{color:#ead0da}
body .student-home-lead img{width:136px;filter:none;background:var(--radpa-surface);border-radius:28px;padding:13px;margin-inline:24px;transform:rotate(-5deg)}
body .student-home-lead button{background:var(--radpa-white);color:var(--radpa-navy)}
body .student-home-lead button:hover{background:var(--radpa-rose);color:var(--radpa-wine)}
body .student-home-grid{gap:20px;margin-top:24px}
body .student-home-grid button{padding:24px;border:var(--radpa-border);border-radius:var(--radpa-panel-radius);gap:12px;background:var(--radpa-surface);color:var(--radpa-text);box-shadow:none}
body .student-home-grid button:hover{border-color:var(--radpa-wine);background:var(--radpa-surface)}
body .student-home-grid b{font-size:22px}body .student-home-grid small{font-size:15px;font-weight:400}
body .spotlight{background:var(--radpa-navy);border-radius:var(--radpa-panel-radius);padding:32px}
body .spotlight :is(h2,p){color:var(--radpa-white)}body .spotlight h2{font-size:33px}body .spotlight p{font-size:15px}
body .spotlight .overline{font-size:12px;color:#d9e3ef}
body .today-card{border:var(--radpa-border);border-radius:var(--radpa-panel-radius);padding:28px}
body .today-card .section-label,body .summary-main>span{font-size:15px;color:var(--radpa-muted)}body .summary-pair small{font-size:13px}
body .quick-action{border:var(--radpa-border);border-radius:16px;background:var(--radpa-surface);padding:22px}
body .quick-action b{font-size:19px}body .quick-action small{font-size:14px}
body .service-tiles{gap:20px}
body .service-tile{border:var(--radpa-border);border-radius:var(--radpa-panel-radius);background:var(--radpa-surface);padding:26px;box-shadow:none;min-width:0}
body .service-tile h3{font-size:24px}body .service-tile p{font-size:15px;line-height:2}
body .service-tile>.pill{position:static;display:inline-block;margin:16px 0 6px;font-size:12px}
body .service-tile .tile-link{margin-top:24px;font-size:15px}
body .service-tile:hover{transform:none;border-color:var(--radpa-wine);box-shadow:none}
body .service-icon{border-radius:14px;width:52px;height:52px}
body .service-detail>p{font-size:17px;line-height:2.1}body .feature-list>div{font-size:16px;line-height:2}
body .info-strip{background:var(--radpa-blue-tint);border:var(--radpa-border);border-radius:12px;font-size:15px;line-height:2}
body .telegram-card{background:var(--radpa-blue-tint);border:var(--radpa-border);border-radius:var(--radpa-panel-radius);padding:26px}
body .telegram-card h3{font-size:21px}body .telegram-card p{color:var(--radpa-muted);font-size:15px}
body .telegram-card a{color:var(--radpa-wine);font-size:16px;text-underline-offset:5px}
body .row{padding-block:21px;border-bottom:1px solid var(--radpa-line);gap:16px}body .row b{font-size:17px}
body .row button{min-height:44px;padding:8px 16px;flex-shrink:0}
body .latest-row{border-bottom:1px solid var(--radpa-line);padding:18px 0}body .latest-row small{font-size:14px}
body .empty-state{padding:36px 22px;border-radius:14px;background:var(--radpa-background)}
body .empty-state h3{font-size:22px}body .empty-state p{font-size:15px;max-width:48ch;margin-inline:auto;color:var(--radpa-muted)}
body :is(.history-layout,.daily-layout,.counselor-grid,.students-layout,.profile-grid)>*{min-width:0}
body .queue{scrollbar-width:thin;scrollbar-color:var(--radpa-line) transparent;padding-inline-end:6px}
body .tabs{gap:6px;padding:6px;background:var(--radpa-background);border:var(--radpa-border);border-radius:12px}
body .tabs button{min-height:44px;font-size:14px;padding:9px 14px;background:transparent;color:var(--radpa-muted)}
body .tabs button.selected{background:var(--radpa-surface);color:var(--radpa-wine);box-shadow:0 1px 3px #172f4a12}
body .management{border-top:3px solid var(--radpa-wine)}body .management summary{min-height:48px;padding:6px 0;font-size:16px}
body .question-set{border:var(--radpa-border);border-radius:14px;padding:16px 20px;margin-top:28px}
body .question-set legend{color:var(--radpa-wine);font-size:18px;padding-inline:10px}
body .question-set>p{color:var(--radpa-muted);font-size:15px}
body .report-today{border:var(--radpa-border);border-inline-start:3px solid var(--radpa-wine);background:var(--radpa-background);padding:18px 20px;border-radius:12px}body .report-today small{font-size:14px}
body .exam-entry{border:var(--radpa-border);background:var(--radpa-background);border-radius:12px;padding:18px}
body .exam-result{background:var(--radpa-surface);border:var(--radpa-border)}
body .exam-result output{color:var(--radpa-wine);font-variant-numeric:tabular-nums}
body .satisfaction{gap:10px}body .satisfaction label{background:var(--radpa-background);border:1px solid var(--radpa-line);border-radius:12px;margin-block:8px}
body .satisfaction label:has(input:checked){border:2px solid var(--radpa-wine);background:var(--radpa-rose);padding:11px 4px}
body .satisfaction .satisfaction-text{font-size:13px}
body .upload{background:var(--radpa-background);border:1px dashed var(--radpa-wine);padding:22px 16px;border-radius:14px}
body input[type=file]{font-size:14px;white-space:normal;width:100%}
body input[type=file]::file-selector-button{background:var(--radpa-blue-tint);color:var(--radpa-navy);border:0;border-radius:8px;padding:10px 12px;margin-inline-end:12px;font:inherit;cursor:pointer}
body .consent{font-size:15px;background:var(--radpa-background);border:var(--radpa-border);padding:16px;border-radius:12px}
body .feedback{background:var(--radpa-background);border-color:var(--radpa-wine);padding:20px;color:var(--radpa-text)}
body .wallet-panel{background:var(--radpa-surface);border:var(--radpa-border);border-inline-start:3px solid var(--radpa-wine);border-radius:16px;padding:24px;gap:18px}
body .wallet-panel h3{font-size:21px}body .wallet-panel p{font-size:15px;color:var(--radpa-muted)}
body .wallet-hero{background:var(--radpa-navy);border-radius:var(--radpa-panel-radius);padding:36px}
body .wallet-hero .eyebrow{color:#ead0da}body .wallet-hero strong{font-size:56px;font-variant-numeric:tabular-nums}
body .wallet-stats section{border:var(--radpa-border);border-radius:14px;padding:22px}
body .wallet-stats small,body .coin-event small,body .payment-event small{color:var(--radpa-muted);font-size:13px}
body .wallet-stats span{color:var(--radpa-muted)}body .wallet-history-grid{gap:24px}body .wallet-history-grid h2{font-size:24px}
body .coin-event b{font-size:17px}body .student-identity dt{color:var(--radpa-muted);font-size:14px}body .student-identity dd{font-size:16px;line-height:1.8}
body .student-manage-actions button{font-size:14px}
body .mission-file{border-color:var(--radpa-line);border-radius:14px;overflow:hidden}body .mission-file-body{padding:26px}body .mission-file h2{font-size:26px}
body .mission-brief,body .mission-criterion p,body .mission-workspace label{font-size:16px;line-height:2}
body :is(.mission-file-meta,.mission-dates,.mission-form-note,.mission-rule p,.mission-workspace button,.mission-empty p){font-size:14px;line-height:1.9}
body .mission-tabs button{min-height:44px;font-size:14px}body .mission-wallet{border-radius:16px;background:var(--radpa-navy)}
body .mission-empty{border:var(--radpa-border);border-radius:16px;background:var(--radpa-surface)}
body .success-dialog{background:var(--radpa-surface);color:var(--radpa-text);border:var(--radpa-border);border-radius:24px;padding:32px;max-width:min(540px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow-y:auto}
body .success-dialog::backdrop{background:#172f4a80}body .success-dialog h2{font-size:26px;line-height:1.7}body .success-dialog p{font-size:16px}
body #toast:not(:empty){background:var(--radpa-navy);border:1px solid #ffffff40;border-radius:14px;box-shadow:0 12px 36px #172f4a26;bottom:calc(100px + env(safe-area-inset-bottom));padding:16px 22px;line-height:1.9;z-index:100}
body #walletLoading{border-inline-start:3px solid var(--radpa-wine);color:var(--radpa-muted)}

/* Login, enrollment, footer and responsive composition. */
body main:has(.welcome){gap:clamp(32px,5vw,80px);align-items:center;padding-block:48px 64px}
body .welcome{padding:20px 0 20px 28px;max-width:none}
body .welcome h2{font-size:clamp(36px,4.3vw,56px);line-height:1.6;font-weight:800;margin:16px 0 24px;color:var(--radpa-navy)}
body .welcome>p{font-size:17px;line-height:2.1;color:var(--radpa-muted)}
body .welcome-visual{border:0;border-inline-start:3px solid var(--radpa-wine);background:var(--radpa-blue-tint);border-radius:16px;padding:24px;margin:28px 0;gap:20px}
body .welcome-visual img{width:72px;height:72px}body .welcome-visual span{font-size:15px;color:var(--radpa-muted)}body .welcome-visual strong{font-size:25px;color:var(--radpa-navy)}
body .public-features{gap:14px}body .public-features span{font-size:14px;line-height:1.9;color:var(--radpa-muted)}
body .login-panel{padding:34px;border:var(--radpa-border);border-top:3px solid var(--radpa-wine);border-radius:var(--radpa-panel-radius);margin:0;max-width:490px}
body .login-panel h1{font-size:28px;line-height:1.7}body .login-panel>.muted,body .login-help{font-size:15px;line-height:2}
body .login-panel form{margin-top:24px}body .login-panel label{margin-block:18px}body .login-panel label input{margin-top:8px}
body .login-panel button[type=submit]{margin-top:12px;min-height:52px}body .login-panel #join{font-size:15px;border:1px solid var(--radpa-line);min-height:52px}
body .login-help{border-top:1px solid var(--radpa-line);margin-top:24px;padding-top:20px}body .login-help a{color:var(--radpa-wine);text-decoration-thickness:1px;text-underline-offset:4px}
body .notice{font-size:13px;color:var(--radpa-muted)}body .enrollment{max-width:820px}
body .radpa-footer{background:var(--radpa-navy);color:var(--radpa-white);border:0;border-radius:24px 24px 0 0;padding:40px 36px 24px;gap:28px;margin-inline:auto}
body .radpa-footer :is(h3,b){color:var(--radpa-white)}body .radpa-footer :is(p,small,a,button,.footer-bottom){color:#d9e3ef;font-size:14px}
body .radpa-footer a{width:fit-content;text-underline-offset:5px}body .radpa-footer a:hover{color:var(--radpa-white);text-decoration:underline}
body .radpa-footer .footer-brand img{background:var(--radpa-surface);border-radius:12px;padding:5px}body .radpa-footer .footer-bottom{border-top-color:#ffffff30}
body .radpa-footer :is(a,button):focus-visible{outline-color:var(--radpa-white)}
@media(min-width:761px){
 body.signed-in #appNav{top:12px;max-width:1080px;width:calc(100% - 72px);margin:0 auto;padding:7px;border:var(--radpa-border);border-radius:16px;box-shadow:0 6px 18px #172f4a08;background:var(--radpa-surface);backdrop-filter:none;gap:4px}
 body.signed-in #appNav .nav-item{flex:1;min-width:0;padding:10px 14px;min-height:48px;border-radius:10px;font-size:15px;color:var(--radpa-muted)}
 body.signed-in #appNav .nav-item.active{background:var(--radpa-rose);color:var(--radpa-wine);box-shadow:none}
 body.signed-in #appNav .nav-item:hover{background:var(--radpa-blue-tint);color:var(--radpa-navy)}body.signed-in #appNav .nav-item.active:hover{background:var(--radpa-rose);color:var(--radpa-wine)}
 body .history-layout,body .counselor-grid{align-items:start;gap:24px}
}
@media(max-width:1000px) and (min-width:761px){
 body>header,body>main{padding-inline:24px}body .dashboard-lead{grid-template-columns:1.3fr 1fr}
 body .service-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
 body .daily-layout,body.student-panel .daily-layout,body .history-layout,body .counselor-grid{grid-template-columns:minmax(0,1fr)}
 body .spotlight h2{font-size:29px}body .spotlight-copy{width:78%}
}
@media(max-width:760px){
 body>header{padding:18px 20px;gap:12px;min-height:86px}body .brand small{max-width:176px;font-size:10px}body .brand-symbol{width:42px;height:42px}
 body .account-name{font-size:13px;max-width:94px}body>main{padding:22px 18px 140px}
 body .page-heading{align-items:start;gap:14px;margin-bottom:24px;flex-wrap:wrap}body .page-heading h1{font-size:28px}body .page-heading p{font-size:15px}body .date-chip{font-size:12px;padding:6px 10px}
 body .student-home-lead{padding:28px 22px;min-height:256px}body .student-home-lead h2{font-size:29px;line-height:1.7}body .student-home-lead img{width:78px;padding:7px;border-radius:18px;margin:0}
 body .student-home-grid{gap:12px}body .student-home-grid button{padding:20px 16px;gap:10px}body .student-home-grid b{font-size:20px}body .student-home-grid small{font-size:14px}
 body .service-tiles{grid-template-columns:minmax(0,1fr)}body .service-tile{padding:24px}
 body .wallet-panel{flex-wrap:wrap;padding:22px}body .wallet-panel>div{flex:1;min-width:180px}body .wallet-panel>button{width:100%}
 body .wallet-hero{padding:28px 24px}body .wallet-hero strong{font-size:48px}body .wallet-history-grid{gap:0}body .wallet-stats{gap:12px}body .wallet-stats section{padding:18px 14px}
 body .question-set{padding:14px}body .question-set legend{font-size:17px}
 body .satisfaction{grid-template-columns:repeat(2,minmax(0,1fr))}body .satisfaction label{flex-direction:row;justify-content:center;min-height:70px;gap:9px;padding:12px}body .satisfaction label:has(input:checked){padding:11px}
 body .satisfaction .emoji{font-size:27px}body .satisfaction .satisfaction-text{font-size:14px}
 body .tabs button{font-size:13px;flex:1;padding:8px}body .mission-file-body{padding:20px 16px}body .mission-file h2{font-size:23px}
 body .mission-file-meta,body .mission-dates,body .mission-workspace button{font-size:13px}
 body .student-manage-actions{gap:8px}body .student-manage-actions button{padding-inline:10px}
 body .row{align-items:start}body .row .badge{margin-top:6px}body .success-dialog{padding:26px 22px}body .success-dialog h2{font-size:24px}
 body main:has(.welcome){padding:24px 20px 48px}body .welcome{padding:0 0 28px}body .welcome h2{font-size:37px;margin:12px 0 20px}body .welcome>p{font-size:16px}
 body .welcome-visual{padding:20px;margin:24px 0}body .welcome-visual strong{font-size:23px}body .public-features span{font-size:13px}
 body .login-panel{max-width:none;padding:26px 22px}body .login-panel h1{font-size:25px}body .login-panel>.muted{font-size:15px}
 body .radpa-footer{padding:32px 24px 24px;border-radius:20px 20px 0 0}
 body.signed-in #appNav{background:#faf8f5c4;border:1px solid #ffffffdc;box-shadow:0 8px 28px #172f4a20;backdrop-filter:blur(24px) saturate(125%);-webkit-backdrop-filter:blur(24px) saturate(125%);border-radius:23px;padding:8px 5px}
 body.signed-in #appNav .nav-item{color:var(--radpa-navy);font-size:12px;min-height:55px;padding:8px 3px;gap:5px}body.signed-in #appNav .nav-item span{font-size:12px}
 body.signed-in #appNav .nav-item.active{background:var(--radpa-rose);color:var(--radpa-wine);border-radius:14px}
 body.signed-in #appNav .center-home,body.signed-in #appNav .center-home.active{background:#faf8f5db;color:var(--radpa-navy);border:1px solid var(--radpa-line)}
}
@media(max-width:360px){
 body>header{padding-inline:16px}body>main{padding-inline:14px}body .account-name{max-width:66px}body .brand small{max-width:150px}
 body .student-home-lead{padding:24px 18px}body .student-home-lead h2{font-size:26px}body .student-home-lead img{width:60px}body .student-home-grid button{padding:18px 12px}body .student-home-grid b{font-size:18px}
 body .satisfaction label{padding-inline:7px;gap:5px}body .satisfaction .satisfaction-text{font-size:13px}body.signed-in #appNav .nav-item span{font-size:11px}
}
@media(prefers-reduced-motion:reduce){body :is(button,.button,.card,.service-tile,.nav-item){transition:none;animation:none}body .panel-swipe-in{animation:none}}

/* Compact navigation labels remain on one line at 320px. */
@media(max-width:760px){body.signed-in #appNav .nav-item span{white-space:nowrap}}
body .radpa-footer .footer-column a{min-height:44px;display:inline-flex;align-items:center}

/* Full-width reading on the compact personal lead; logo stays decorative. */
@media(max-width:760px){
 body .student-home-lead{display:block;position:relative;min-height:0}
 body .student-home-lead>div{position:relative;z-index:1}
 body .student-home-lead h2{font-size:28px;line-height:1.7}
 body .student-home-lead img{position:absolute;top:24px;inset-inline-end:22px;width:48px;margin:0;padding:5px;border-radius:12px}
 body .student-home-lead .eyebrow{display:block;padding-inline-end:46px}
}
@media(max-width:360px){body .student-home-lead h2{font-size:25px}body .student-home-lead img{width:42px;inset-inline-end:18px}}

body .mission-entry small,body .mission-workspace small,body .mission-manual-note{font-size:14px;line-height:1.9}
body .mission-entry strong{font-size:22px}
body .mission-file .mission-reward{font-size:15px}

/* Narrow-screen QA: preserve every footer label and give the counselor lead full reading width. */
body .radpa-footer .footer-column,body .radpa-footer .social-link span{min-width:0}
body .radpa-footer .social-link bdi{overflow-wrap:anywhere}
@media(max-width:760px){
 body .spotlight{display:block;padding:26px 22px;min-height:0}
 body .spotlight-copy{width:100%}
 body .spotlight h2{font-size:29px}
 body .spotlight .path-art{position:relative;left:auto;top:auto;width:100%;height:82px;margin-top:20px;border-top:1px solid #ffffff30;overflow:hidden}
 body .spotlight .path-art img{width:48px;left:0;top:18px;padding:5px;border-radius:12px;transform:none;filter:none}
 body .spotlight .path-caption{top:23px;left:65px;font-size:12px;text-align:right}
 body .spotlight .path-caption b{font-size:15px;white-space:nowrap}
 body .mission-entry{display:grid;grid-template-columns:24px minmax(0,1fr) 24px;gap:12px;align-items:center}
 body .mission-entry>div{min-width:0}
 body .mission-entry strong{font-size:19px}
}
@media(max-width:500px){body .radpa-footer{grid-template-columns:minmax(0,1fr)}body .radpa-footer .footer-column{grid-column:1/-1}}
@media(max-width:360px){body .spotlight h2{font-size:25px}}

@media(max-width:500px){body.signed-in .radpa-footer{grid-template-columns:minmax(0,1fr)}body.signed-in .radpa-footer .footer-column{grid-column:1/-1}}

@media(max-width:760px){
 body .today-card{display:flex;flex-direction:column;padding:24px}
 body .summary-pair{grid-template-columns:repeat(2,minmax(0,1fr));border-right:0;border-top:1px solid var(--radpa-line);padding:18px 0 10px;gap:12px}
 body .summary-pair>div{min-width:0}
 body .summary-pair small{white-space:normal;line-height:1.9}
 body .today-card>.text-button{font-size:14px;min-height:44px}
}

@media(max-width:760px){body .mission-entry{grid-template-columns:44px minmax(0,1fr) 24px}}
/* the Telegram logo on support links (tgLogo() in superapp.js) */
.tg-logo{width:1.25em;height:1.25em;flex-shrink:0;vertical-align:-.28em;margin-left:.4em}
body .telegram-card .icon-well{background:#fff}body .telegram-card .icon-well .tg-logo{width:30px;height:30px;margin:0}
.social-link .tg-logo{width:30px;height:30px;margin:0}.telegram-link{display:inline-flex;align-items:center;gap:6px}.telegram-link .tg-logo{margin:0}
.lg-forgot .tg-logo{margin-left:.45em}

/* ===== Panel shell (panels-ux): one menu per screen size, back button, homes, lists, student files ===== */
body.signed-in #appNav .nav-phone,body.signed-in #appNav .nav-wide{display:flex;align-items:center;width:100%;gap:4px}
body.signed-in #appNav .nav-phone>.nav-item{flex:1;min-width:0}
@media(max-width:760px){body.signed-in #appNav .nav-wide{display:none}}
@media(min-width:761px){
 body.signed-in #appNav .nav-phone{display:none}
 body.signed-in #appNav,body.signed-in.student-panel #appNav{position:sticky;top:10px;bottom:auto;left:auto;transform:none;width:calc(100% - 48px);max-width:1180px;margin:0 auto 22px;padding:6px;display:flex;justify-content:stretch;border:var(--radpa-border);border-radius:16px;background:#ffffffeb;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 6px 18px #172f4a0a;z-index:30;touch-action:auto;user-select:auto}
 body.signed-in #appNav .nav-wide>.nav-item,body.signed-in #appNav .nav-group{flex:1 1 0;min-width:0}
 body.signed-in #appNav .nav-item,body.signed-in.student-panel #appNav .nav-item{flex-direction:row;justify-content:center;gap:8px;min-width:0;width:100%;min-height:46px;padding:8px 10px;border-radius:11px;font-size:15px;color:var(--radpa-slate);background:transparent;box-shadow:none;transform:none;border:0;margin:0}
 body.signed-in #appNav .nav-item span{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body.signed-in #appNav .nav-item.active,body.signed-in.student-panel #appNav .nav-item.active{background:var(--radpa-rose);color:var(--radpa-wine)}
 body.signed-in #appNav .nav-item:hover{background:var(--radpa-blue-tint);color:var(--radpa-navy)}
 body.signed-in #appNav .nav-item.active:hover{background:var(--radpa-rose);color:var(--radpa-wine)}
 body.signed-in #appNav .nav-caret{font-size:11px;opacity:.7}
}
@media(min-width:761px) and (max-width:900px){body.signed-in #appNav .nav-item .ui-icon{display:none}body.signed-in #appNav .nav-item span{font-size:14px}}
body.signed-in #appNav .nav-group{position:relative}
body.signed-in #appNav .nav-menu{position:absolute;top:calc(100% + 8px);inset-inline-start:0;min-width:220px;background:var(--radpa-surface);border:var(--radpa-border);border-radius:14px;box-shadow:0 14px 34px #172f4a1f;padding:6px;display:grid;gap:2px;z-index:40}
body.signed-in #appNav .nav-menu[hidden]{display:none}
body.signed-in #appNav .nav-menu button{justify-content:flex-start;text-align:right;background:transparent;color:var(--radpa-navy);font-size:15px;min-height:44px;padding:8px 14px;border-radius:10px;box-shadow:none;border:0}
body.signed-in #appNav .nav-menu button:hover,body.signed-in #appNav .nav-menu button:focus-visible{background:var(--radpa-blue-tint)}
body.signed-in #appNav .nav-menu button.active{background:var(--radpa-rose);color:var(--radpa-wine);font-weight:700}
body #openAccount[aria-current]{outline:2px solid var(--radpa-wine);outline-offset:2px}
#app h1[tabindex="-1"]:focus,#app h2[tabindex="-1"]:focus{outline:none}
body .panel-back{display:inline-flex;align-items:center;gap:8px;font-weight:700}
body .panel-back small{font-weight:400;color:var(--radpa-slate);font-size:14px}
@media(max-width:760px){body.signed-in #app{padding-bottom:calc(112px + env(safe-area-inset-bottom))}}

/* homes */
body .home-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:4px 0 22px}
body .home-head h1{margin:2px 0 0;font-size:32px;line-height:1.4}
body .home-head p{margin:2px 0 0}
body .home-id{display:grid;justify-items:center;gap:0;min-width:96px;padding:8px 14px;border:var(--radpa-border);border-radius:14px;background:var(--radpa-surface)}
body .home-id span{font-size:12px;color:var(--radpa-slate)}
body .home-id bdi,body .home-id b{font-size:20px;font-weight:700;color:var(--radpa-navy);font-family:Vazirmatn,sans-serif}
body .home-slot:empty{display:none}
body .home-slot{display:grid;gap:14px;margin-bottom:16px}
body .home-slot>*{margin:0}
body .home-primary{position:relative;background:var(--radpa-navy);color:#fff;border-radius:var(--radpa-panel-radius);padding:24px 26px;margin-bottom:16px;display:grid;gap:6px;justify-items:start}
body .home-primary h2{color:#fff;margin:0;font-size:24px;line-height:1.5}
body .home-primary p{color:#e3e9f0;margin:0 0 10px;max-width:60ch}
body .home-primary-state{font-size:13px;padding:3px 10px;border-radius:8px;background:#ffffff1f;color:#fff}
body .home-primary.warn{background:var(--radpa-wine)}
body .home-primary .home-latest{color:#fff;font-size:14px;padding-inline:0;min-height:40px}
body .home-primary .home-latest:hover{background:transparent;text-decoration:underline}
body .home-status{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin-bottom:22px}
body .home-status .home-slot{margin:0}
body .home-stat{display:flex;align-items:center;gap:14px;text-align:right;justify-content:flex-start;background:var(--radpa-surface);color:var(--radpa-navy);border:var(--radpa-border);border-radius:var(--radpa-panel-radius);padding:18px 20px;box-shadow:none;min-height:0}
body .home-stat:hover{background:var(--radpa-blue-tint);color:var(--radpa-navy)}
body .home-stat span{display:grid;gap:2px}
body .home-stat small{font-size:13px;color:var(--radpa-slate)}
body .home-stat b{font-size:20px}
body .home-stat em{font-style:normal;font-size:13px;color:var(--radpa-warning)}
body .home-stat .ui-icon{width:30px;height:30px;color:var(--radpa-wine);flex-shrink:0}
body .home-status #plEntry{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:18px 20px;border:var(--radpa-border);border-radius:var(--radpa-panel-radius);background:var(--radpa-surface);height:100%}
body .home-status #plEntry h2{font-size:18px;margin:0}
body .home-status #plEntry p{font-size:13px;margin:2px 0 0}
body .home-status #plEntry button{white-space:nowrap;flex-shrink:0;width:auto}
body .home-section-title{font-size:19px;margin:6px 0 12px}
body .home-link-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body .home-link{display:flex;align-items:center;gap:12px;justify-content:flex-start;text-align:right;background:var(--radpa-surface);color:var(--radpa-navy);border:var(--radpa-border);border-radius:16px;padding:14px 16px;box-shadow:none;min-height:72px}
body .home-link:hover{background:var(--radpa-blue-tint);color:var(--radpa-navy)}
body .home-link span{display:grid;gap:0}
body .home-link b{font-size:16px}
body .home-link small{font-size:13px;color:var(--radpa-slate)}
body .home-link .ui-icon{width:24px;height:24px;color:var(--radpa-wine);flex-shrink:0}
body .home-support{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:22px 0 8px;font-size:15px;color:var(--radpa-slate)}
body .home-support .tg-logo{width:22px;height:22px}
body .home-support a{color:var(--radpa-wine);font-weight:700}
body .desk{margin-bottom:20px}
body .desk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body .desk-grid.desk-list{grid-template-columns:minmax(0,1fr)}
body .desk-tile{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;text-align:right;background:var(--radpa-surface);color:var(--radpa-navy);border:var(--radpa-border);border-radius:16px;padding:16px 18px;box-shadow:none;min-height:84px}
body .desk-tile:hover{background:var(--radpa-blue-tint);color:var(--radpa-navy)}
body .desk-count{min-width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:var(--radpa-blue-tint);font-family:Vazirmatn,sans-serif;font-size:22px;font-weight:700;color:var(--radpa-slate)}
body .desk-tile.has-work{border-color:#d9b7c4}
body .desk-tile.has-work .desk-count{background:var(--radpa-rose);color:var(--radpa-wine)}
body .desk-text{display:grid;gap:2px}
body .desk-text b{font-size:16px;line-height:1.6}
body .desk-text small{font-size:13px;color:var(--radpa-slate);line-height:1.7}
body .desk-recent .latest-row{width:100%}
/* services, grouped */
body .service-group{margin-bottom:26px}
body .service-group .service-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
body .service-group .service-tile h3{margin-top:10px}
/* lists, tabs, pages */
body .seg-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 16px}
body .seg-tabs button{background:var(--radpa-surface);color:var(--radpa-navy);border:var(--radpa-border);border-radius:11px;min-height:44px;padding:6px 14px;box-shadow:none;font-size:15px}
body .seg-tabs button.selected{background:var(--radpa-rose);border-color:#e3c9d3;color:var(--radpa-wine);font-weight:700}
body .list-toolbar{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px;align-items:end}
body .list-toolbar label{margin:0}
body .list-count{margin:10px 0 6px;font-size:14px}
body .person-list{display:grid}
body .person-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:12px 2px;border-bottom:1px solid var(--radpa-line)}
body .person-row:last-child{border-bottom:0}
body .person-row div{display:grid}
body .person-row b{font-size:16px}
body .person-row small{font-size:13px;color:var(--radpa-slate)}
body .pill.quiet{background:var(--radpa-blue-tint);color:var(--radpa-slate)}
body .pager{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:14px}
body .pager span{font-size:14px;color:var(--radpa-slate)}
body .queue-settings{margin-top:20px}
body .queue-settings summary{cursor:pointer;font-weight:700}
/* a report and its list: side by side on wide screens, one at a time on a phone */
@media(max-width:760px){
 body .history-layout:not(.has-detail) #detail,body .counselor-grid:not(.has-detail) #detail{display:none}
 body .history-layout.has-detail>section:first-child,body .counselor-grid.has-detail>section:first-child{display:none}
}
/* a student's file */
body .file-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
body .file-section h2{font-size:19px;margin:0 0 8px}
body .file-section h3{font-size:16px;margin:16px 0 4px}
body .file-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--radpa-line);flex-wrap:wrap}
body .file-row:last-of-type{border-bottom:0}
body .file-row div{display:grid}
body .file-row small{font-size:13px;color:var(--radpa-slate)}
body .file-switch{display:flex;align-items:center;gap:8px;margin:0;font-size:14px}
body .file-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
body .danger-zone{border-color:#e6c3cd}
body .nav-missing .actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:900px){body .home-link-grid,body .desk-grid,body .service-group .service-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 body .home-head h1{font-size:26px}
 body .home-status,body .file-grid,body .list-toolbar{grid-template-columns:minmax(0,1fr)}
 body .home-link-grid,body .service-group .service-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body .desk-grid{grid-template-columns:minmax(0,1fr)}
 body .home-link{flex-direction:column;align-items:flex-start;gap:6px;padding:14px;min-height:96px}
 body .home-primary{padding:20px}
 body .home-primary h2{font-size:21px}
 body .person-row{grid-template-columns:minmax(0,1fr) auto}
 body .person-row .pill{grid-column:1;justify-self:start;grid-row:2}
 body .person-row button{grid-row:1/3;grid-column:2}
}
@media(max-width:380px){body .home-link-grid,body .service-group .service-tiles{grid-template-columns:minmax(0,1fr)}body .home-link{flex-direction:row;min-height:64px}}
@media(prefers-reduced-motion:reduce){body .home-link,body .desk-tile,body .home-stat{transition:none}}
