/* Illustrated entrance: existing authentication form and session handling. */
body.auth-entry{background:#350914;min-height:100dvh}
body.auth-entry>.sidebar,body.auth-entry>.app-shell,body.auth-entry>.mobile-dock{visibility:hidden}
body.auth-entry #auth-dialog::backdrop{background:radial-gradient(ellipse at top,#741c2b,#350914 80%);opacity:1;backdrop-filter:none}
body.auth-entry #auth-dialog{width:min(1080px,calc(100% - 64px));max-width:1080px;min-height:740px;max-height:calc(100dvh - 48px);padding:48px 0 0 46%;border:1px solid #D4A437;border-radius:24px;background:#FFF5DF;box-shadow:0 30px 100px #0009;overflow:auto}
body.auth-entry #auth-dialog>.close{display:none}
body.auth-entry .royal-auth-masthead{position:absolute;inset:0 auto 0 0;width:46%;min-height:100%;margin:0;padding:70px 28px 280px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;border-radius:23px 0 0 23px;border-right:1px solid #D4A437;background:linear-gradient(#35091422,#35091400 55%,#35091433),url('heritage/royal-palace.jpg') center/cover no-repeat,#590D18;overflow:hidden}
body.auth-entry .royal-auth-masthead:after{display:none}
body.auth-entry .royal-auth-masthead img{width:92px;height:92px;filter:drop-shadow(0 5px 12px #0005)}
body.auth-entry .royal-auth-masthead>strong{font-size:40px;color:#F1C66A;margin-top:16px;text-shadow:0 3px 16px #0008}
body.auth-entry .royal-auth-masthead>span{font-size:15px;color:#FFF5DF;text-shadow:0 2px 8px #350914}
body.auth-entry .royal-auth-masthead>small{font-size:12px;color:#F1C66A;margin-top:18px}
body.auth-entry #auth-dialog>.eyebrow{margin-top:0;color:#8A5722;font-size:11px}
body.auth-entry #auth-dialog>h2{font-size:30px;line-height:1.8;color:#590D18}
body.auth-entry #auth-dialog>p:not(.auth-operator-notice){font-size:13px;line-height:2;color:#70583F}
body.auth-entry #auth-form label{font-size:13px;color:#593B2C}
body.auth-entry #auth-form input{min-height:52px;background:#FFFCF5;border:1px solid #D8BD86;border-radius:10px;color:#39251C;font-size:16px}
body.auth-entry #auth-form .primary{min-height:54px;border-radius:12px;background:linear-gradient(135deg,#F1C66A,#D4A437);color:#350914;border:1px solid #AE7824;box-shadow:0 5px 16px #B67A2622;font-size:15px}
body.auth-entry #auth-toggle{min-height:48px;color:#590D18;font-size:12px}
body.auth-entry #auth-dialog>.auth-operator-notice{background:#F3E5C7;color:#70583F;font-size:10px;line-height:2}
body.auth-entry #auth-dialog #auth-error{color:#9D2233}
/* Rich architecture kept within decorative surfaces, away from study text. */
.command-art{background-image:url('heritage/royal-palace.jpg');background-size:cover;background-position:center 67%;border-radius:18px;mask-image:linear-gradient(90deg,transparent,#000 40%);opacity:.85}
.feature-card{box-shadow:0 5px 14px #78471512,inset 0 0 0 3px #FFF9EA,inset 0 0 0 4px #D4A43733}
.feature-card:hover{box-shadow:0 12px 26px #78471524,inset 0 0 0 3px #FFF9EA,inset 0 0 0 4px #D4A43788}
.course-card-top,.exam-cover{background-image:linear-gradient(90deg,#350914F2,#590D18C9),url('heritage/royal-palace.jpg');background-size:cover;background-position:center 68%}
@media(max-width:700px){body.auth-entry #auth-dialog{width:100%;max-width:100%;max-height:100dvh;height:100dvh;min-height:100dvh;margin:0;border:0;border-radius:0;padding:0 0 20px}body.auth-entry .royal-auth-masthead{position:relative;width:100%;height:290px;min-height:290px;padding:28px 20px 24px;border-radius:0;border-right:0;border-bottom:2px solid #D4A437;background-position:center 57%;background-image:linear-gradient(90deg,#35091466,#35091422),url('heritage/royal-palace.jpg')}body.auth-entry .royal-auth-masthead img{width:65px;height:65px}body.auth-entry .royal-auth-masthead>strong{font-size:30px;margin-top:8px}body.auth-entry .royal-auth-masthead>span{font-size:12px}body.auth-entry .royal-auth-masthead>small{font-size:10px;margin-top:10px}body.auth-entry #auth-dialog>.eyebrow{margin-top:28px}body.auth-entry #auth-dialog>h2{font-size:25px}body.auth-entry #auth-dialog>.auth-operator-notice{margin-bottom:0}body.auth-entry #auth-form input{min-height:50px}}
