/* USTAZ QALAM — luminous editorial theme, v1 */
:root{--navy:#152d4d;--deep:#233c58;--teal:#087d83;--teal-dark:#086d73;--ink:#263e55;--muted:#5f7287;--line:#e5dfd4;--bg:#faf7f1;--white:#fff;--gold:#bd8732;--vio:#087d83;--pale:#f7f6f0}
html{scroll-behavior:smooth;color-scheme:light}body.uq-theme{background:linear-gradient(145deg,#fffdfa,#f5f1e7 64%,#edf5f5);color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}body.uq-theme a,body.uq-theme button{transition:box-shadow .18s,transform .18s,background-color .18s}body.uq-theme button:focus-visible,body.uq-theme a:focus-visible{outline:3px solid #149397;outline-offset:3px}body.uq-theme button:disabled{cursor:not-allowed;opacity:.55;box-shadow:none}body.uq-theme header{background:#fffdf9f5;border-bottom:1px solid #e5ded0;box-shadow:0 4px 25px #34415a0a;backdrop-filter:blur(14px)}body.uq-theme .brand strong,body.uq-theme .brand b{color:#152d4d}body.uq-theme .brand img{object-fit:contain;background:white;border-radius:10px}body.uq-theme .primary,body.uq-theme .btn:not(.secondary):not(.danger){background:linear-gradient(110deg,#08757c,#159b98);color:#fff;border:1px solid #08757c;box-shadow:0 7px 16px #087d8324}body.uq-theme .primary:not(:disabled):hover,body.uq-theme .btn:not(.secondary):not(.danger):not(:disabled):hover{background:linear-gradient(110deg,#05626a,#087d83);transform:translateY(-1px)}body.uq-theme .secondary,body.uq-theme .outline{background:#fffdfa;color:#19576a;border:1px solid #d4c7aa}body.uq-theme .card,body.uq-theme .stat,body.uq-theme .mod,body.uq-theme .panel{border-color:#e6dfd0;box-shadow:0 10px 28px #34415a0b;border-radius:16px}body.uq-theme h1,body.uq-theme h2,body.uq-theme h3{color:#152d4d}body.uq-theme .notice,body.uq-theme .note{background:#edf7f5;color:#315961;border:1px solid #d8e9e4}body.uq-theme .lesson,body.uq-theme .study-section,body.uq-theme .principles{background:#fffcf6;border-color:#e4dece}body.uq-theme .progress{background:#e5e8e6}body.uq-theme .progress div{background:linear-gradient(90deg,#0d8b87,#41b78b)}body.uq-theme .pill,body.uq-theme .study-overline{background:#e9f5f2;color:#096f73}body.uq-theme .field{border-color:#cdd8d9}body.uq-theme .field:focus{outline:3px solid #b6e5df;border-color:#087d83}body.uq-theme footer,body.uq-theme .footer,body.uq-theme .foot{background:#f3efe4;color:#344b61;border-top:1px solid #e3d6bc}body.uq-theme footer strong,body.uq-theme footer a,body.uq-theme footer p{color:#344b61}body.uq-theme .dialog{border:1px solid #eadfc9;box-shadow:0 30px 90px #11233e44}body.uq-theme .modal{background:#17304499}body.uq-theme .mod.done{background:#f0faf5;border-color:#a9d9c2}body.uq-theme .choice.active{background:#e6f6f1;border-color:#08887c}body.uq-theme .module-icon,body.uq-theme .line-icon{color:#087d83}body.uq-theme .diagram{background:#f1f7f5;border-color:#d9e8e3}body.uq-theme .diagram-step{border-color:#d7e5df}body.uq-theme .stepno,body.uq-theme .course-steps b,body.uq-theme .unit-active{background:#087d83;color:#fff}body.uq-theme .connector{color:#9a733e}body.uq-theme .lesson-nav .secondary{color:#20566a}
/* Light, cinematic front page with warm sunrise and genuine brand artwork. */
body.uq-home .site-header{position:sticky;top:0;z-index:10}body.uq-home .header-in{min-height:84px}body.uq-home .nav{gap:22px;color:#314961}body.uq-home .hero{padding:62px 0 80px;position:relative;color:var(--ink);background:radial-gradient(ellipse at 85% 30%,#f8dfab99 0,transparent 55%),radial-gradient(ellipse at 18% 90%,#dbeeed 0,transparent 46%),linear-gradient(125deg,#fffdf8,#fff2d7 85%);border-bottom:1px solid #e9dbbb;overflow:hidden}body.uq-home .hero:after{opacity:.55;background-image:linear-gradient(#bd87320b 1px,transparent 1px),linear-gradient(90deg,#bd87320b 1px,transparent 1px);mask-image:none}body.uq-home .hero-in{grid-template-columns:minmax(0,1.05fr) minmax(260px,.95fr);gap:45px}body.uq-home .hero .overline{color:#08777e;letter-spacing:.12em;font-weight:800}body.uq-home .overline:before{background:#bd8732}body.uq-home .hero h1{font-family:Georgia,"Times New Roman",serif;color:#152d4d;font-size:clamp(44px,6.2vw,80px);font-weight:700;letter-spacing:-.045em;text-shadow:0 2px 0 #fff;line-height:1.05;margin:20px 0 13px}body.uq-home .hero h2{color:#23626a;font-weight:650;font-size:clamp(21px,2.4vw,30px)}body.uq-home .hero p{color:#41566a;line-height:1.78;font-size:17px}body.uq-home .hero .primary{background:linear-gradient(145deg,#ffe0a0,#e8b74f 58%,#dba74c);border:1px solid #ba8427;color:#243a4b;box-shadow:0 12px 25px #ba84272f,inset 0 1px 0 #fff8;font-weight:800}body.uq-home .hero .primary:hover{background:#edc66e;color:#1f3545}body.uq-home .hero .outline{background:#ffffffa6;border:1px solid #c7b68e;color:#1b5865;box-shadow:0 4px 16px #343b4510}body.uq-home .logo-panel{display:flex;align-items:end;justify-content:end;max-width:none;width:100%;min-height:330px;aspect-ratio:1.2;background:#f5deb9 url('/uq-theme/hero-test.webp') center/cover no-repeat;border:5px solid #fffdf5;border-radius:26px;box-shadow:0 24px 65px #786b4d38,0 0 0 1px #d8c59c;position:relative;padding:19px;isolation:isolate}body.uq-home .logo-panel:before{inset:-11px;border:1px solid #c6a76a70;border-radius:34px}body.uq-home .logo-panel:after{content:"";position:absolute;inset:0;border-radius:19px;background:linear-gradient(145deg,#ffffff03,#f9df9b00 45%,#ffedd94a);pointer-events:none;z-index:-1}body.uq-home .logo-panel img{width:clamp(104px,12vw,164px);height:auto;aspect-ratio:1;object-fit:contain;background:#fff;border:1px solid #e9d7af;border-radius:16px;box-shadow:0 12px 30px #192d4d36;padding:9px;position:relative;z-index:1}body.uq-home .stats{background:linear-gradient(130deg,#fff,#fdf8ec);border:1px solid #e4d4b5;border-radius:18px;box-shadow:0 14px 40px #74603e12;margin-top:-32px}body.uq-home .stats .stat{box-shadow:none;background:transparent;border-radius:0;border-right:1px solid #eadcc0}body.uq-home .stats .stat:last-child{border-right:0}body.uq-home .stat strong{color:#183e5a}body.uq-home .stat span{color:#526477}body.uq-home .section-kicker{color:#946a26;letter-spacing:.14em}body.uq-home .section-title{color:#152d4d;font-family:Georgia,"Times New Roman",serif;font-weight:700;letter-spacing:-.025em}body.uq-home .course-grid{gap:19px}body.uq-home .course-card{padding:0 19px 20px;background:#fff;border:1px solid #e3d7c0;border-top:1px solid #e3d7c0;border-radius:18px;overflow:hidden;box-shadow:0 10px 32px #2a435516;position:relative}body.uq-home .course-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px #2a435523}body.uq-home .uq-art{display:block;width:calc(100% + 38px);height:137px;object-fit:cover;margin:0 -19px 15px;border-bottom:1px solid #e6dfd4}body.uq-home .card-top{margin-top:0}body.uq-home .icon-tile{width:44px;height:44px;border-radius:9px;background:#f1f8f5;color:#087d83;border-color:#d7e8df}body.uq-home .icon-tile svg{width:26px;height:26px}body.uq-home .course-card .eyebrow{color:#946a26;margin:14px 0 6px;font-weight:800}body.uq-home .course-card h3{color:#193754;line-height:1.25}body.uq-home .course-card .desc{color:#52667a}body.uq-home .hours{color:#183e5a;border-top-color:#e5dac3}body.uq-home .card-action.outline{border-color:#d4c4a1}body.uq-home .about{background:linear-gradient(135deg,#f9f3e5,#f3f9f7);border-color:#e9e1d2}body.uq-home .principles{background:#fffdf8;box-shadow:0 12px 30px #4e5a5810;border-color:#e5dbc6}body.uq-home .learn-step{background:#fffdf8;border-left:2px solid #c59a4f}body.uq-home .verification-banner{background:linear-gradient(115deg,#f5fbf8,#fff4db);border-color:#d9dfce;box-shadow:0 12px 35px #2c4c4410}
/* Matching light theme for the actual course, public registry and private admin. */
body.uq-inner .hero{background:radial-gradient(ellipse at 92% 12%,#f6dfaf 0,transparent 55%),linear-gradient(120deg,#fffdf8,#f1f7f3);border-bottom:1px solid #e4d9bd;color:#193754}body.uq-inner .hero h1{color:#193754;text-shadow:none}body.uq-inner .hero p{color:#486176}body.uq-inner .hero-kicker,body.uq-inner .overline{color:#8b6529}body.uq-inner .mod{background:linear-gradient(155deg,#fff,#fffcf6);color:#193754;border-top:3px solid #ba914c}body.uq-inner .mod:hover{border-color:#0d8a84;box-shadow:0 13px 35px #15575816}body.uq-inner .mod p{color:#087d83}body.uq-inner .modgrid{gap:14px}body.uq-inner .stats .stat strong{color:#087d83}body.uq-inner .cert{background:#fff;border-color:#bc944e}body.uq-inner .table th{background:#f3f6f2;color:#34576a}body.uq-inner .result{background:#eef9f4}body.uq-inner .result.bad{background:#fff6ed}body.uq-inner .msg.bad{background:#fff2ed;color:#9f4130}
@media(max-width:1000px){body.uq-home .hero-in{gap:25px}body.uq-home .course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.uq-home .nav{gap:12px;flex-wrap:wrap}body.uq-home .logo-panel{min-height:250px;aspect-ratio:1}}
@media(max-width:680px){body.uq-home .header-in{min-height:auto}body.uq-home .nav{gap:8px 13px;font-size:12px}body.uq-home .hero{padding:33px 0 49px}body.uq-home .hero-in{grid-template-columns:1fr;gap:24px}body.uq-home .hero h1{font-size:clamp(39px,12vw,52px)}body.uq-home .hero h2{font-size:22px}body.uq-home .hero p{font-size:15px;margin-bottom:20px}body.uq-home .logo-panel{display:flex;min-height:0;aspect-ratio:2.15;border-width:3px;border-radius:17px;padding:12px;background-position:center 54%}body.uq-home .logo-panel:before{display:none}body.uq-home .logo-panel img{width:85px;border-radius:11px;padding:5px}body.uq-home .stats{margin-top:-18px;border-radius:13px}body.uq-home .course-grid{gap:12px}body.uq-home .course-card{padding:0 13px 15px;border-radius:13px}body.uq-home .uq-art{width:calc(100% + 26px);height:94px;margin:0 -13px 11px}body.uq-home .icon-tile{width:36px;height:36px}body.uq-home .icon-tile svg{width:22px;height:22px}body.uq-home .course-card h3{font-size:16px}body.uq-home .course-card .desc{font-size:13px}body.uq-home .course-card .eyebrow{font-size:9px}body.uq-home .section-title{font-size:30px}}
@media(max-width:365px){body.uq-home .course-grid{grid-template-columns:1fr}body.uq-home .uq-art{height:124px}}
@media(prefers-reduced-motion:reduce){body.uq-theme *{transition:none!important;scroll-behavior:auto!important}}@media print{body.uq-theme{background:white!important}body.uq-theme .cert{box-shadow:none}}

body.uq-theme, body.uq-theme h1, body.uq-theme h2, body.uq-theme h3, body.uq-theme h4, body.uq-theme button, body.uq-theme input, body.uq-theme select, body.uq-theme textarea {font-family:"Segoe UI",Arial,"Noto Sans",sans-serif; font-style:normal; letter-spacing:normal; text-shadow:none;} body.uq-theme h1, body.uq-theme h2, body.uq-theme h3 {font-weight:700;line-height:1.25;} body.uq-home .hero h1 {font-size:clamp(36px,5.5vw,64px);letter-spacing:normal;} body.uq-theme p {line-height:1.75;} body.uq-theme .course-card h3 {word-break:normal;overflow-wrap:break-word;} body.uq-theme .nav {line-height:1.4;}
