@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=Tajawal:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#080e1b;--panel:#111b2e;--line:#26334a;--cyan:#4de3d1;--muted:#9aaac1}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 85% 0,#123c4440,transparent 50%),radial-gradient(ellipse at 0 70%,#53339625,transparent 45%),var(--bg);color:#edf2fa;font-family:Cairo,system-ui,sans-serif;line-height:1.8;min-height:100vh}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,.button{cursor:pointer;background:var(--cyan);border:0;border-radius:10px;padding:11px 20px;color:#072521;font-weight:800;display:inline-block}button:hover,.button:hover{filter:brightness(1.1)}.secondary{background:#1e2b43;color:#d8e4f4;border:1px solid var(--line)}input,select{width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#0a1424;color:#fff;margin:6px 0 16px}input:focus,select:focus{outline:2px solid #4de3d170}label{display:block;font-size:13px;color:#bac9df}.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 5%;border-bottom:1px solid var(--line);background:#101827e8;flex-wrap:wrap}.brand{display:flex;gap:12px;align-items:center;font-weight:900;font-size:21px}.brand b{color:var(--cyan)}.brand small{display:block;font-size:10px;color:var(--muted);font-weight:400}.brand-icon{display:grid;place-items:center;background:linear-gradient(135deg,#7555ed,#303690);width:43px;height:43px;border-radius:12px;font-size:30px}.topbar nav{display:flex;gap:22px;font-size:13px}.user-pill{font-size:12px;display:flex;align-items:center;gap:12px}.user-pill form{margin:0}.user-pill button{padding:6px 12px;background:#402034;color:#ffb5c7}.container{max-width:1240px;margin:auto;padding:40px 24px 70px}.eyebrow{color:var(--cyan);letter-spacing:3px;font-size:12px}h1{font-size:36px;margin:8px 0}h2{font-size:22px}.muted,p{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.card{background:linear-gradient(145deg,#152238,#101827);border:1px solid var(--line);border-radius:18px;padding:25px}.metric{font-size:34px;color:var(--cyan);font-weight:900}.hero{display:grid;grid-template-columns:1.4fr 1fr;gap:40px;align-items:center;padding:24px 0 50px}.hero h1{font-size:48px;line-height:1.5}.hero .button{margin-top:15px}.terminal{background:#060d18;border:1px solid #2b4053;padding:28px;border-radius:18px;direction:ltr;color:var(--cyan);font-family:monospace;box-shadow:0 20px 80px #00e6b510}.terminal p{color:#a2bec0}.tag{display:inline-block;padding:4px 11px;border:1px solid #2f6965;border-radius:30px;color:var(--cyan);font-size:11px}.site-footer{display:flex;justify-content:space-between;padding:22px 5%;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.notice{padding:15px;background:#18392f;border:1px solid #337a60;border-radius:12px;margin-bottom:18px}.error{background:#3d1d2d;border-color:#934058}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.auth-story{padding:70px 12%;display:flex;flex-direction:column;justify-content:center;border-left:1px solid var(--line);position:relative;background:linear-gradient(150deg,#13434825,#0b142b)}.auth-story h1{font-size:52px;line-height:1.5}.auth-story strong{color:var(--cyan)}.auth-form{display:flex;align-items:center;justify-content:center;padding:40px}.auth-box{width:100%;max-width:420px}.auth-box h2{font-size:30px}.auth-box button{width:100%;margin-top:10px}.auth-box .secondary{display:block;width:100%;text-align:center}.divider{border-top:1px solid var(--line);margin:26px 0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}td,th{text-align:right;padding:14px;border-bottom:1px solid var(--line)}th{color:var(--muted)}.inline{display:flex;gap:8px;align-items:center}.inline input,.inline select{margin:0;min-width:120px}.inline button{white-space:nowrap}details{margin-bottom:20px}summary{cursor:pointer;font-weight:bold}.resource{display:flex;flex-direction:column;gap:10px}.resource .button{margin-top:auto}.section{margin-top:35px}@media(max-width:850px){.auth-layout,.hero{grid-template-columns:1fr}.auth-story{padding:35px}.auth-story h1,.hero h1{font-size:34px}.grid{grid-template-columns:1fr}.topbar nav{flex-wrap:wrap;gap:12px}.auth-form{padding:25px}.site-footer{gap:10px;flex-wrap:wrap}h1{font-size:28px}}

@media(max-width:500px){.unified-header{padding-inline:12px}.unified-header .brand{font-size:15px}.unified-header .brand-icon{width:36px;height:36px}.unified-header .header-identity{max-width:145px;padding:4px 7px;font-size:10px}.unified-header .header-identity strong{max-width:78px}.unified-header .header-identity .reference-role{display:none}.unified-header .score-pill{padding:5px 8px;gap:6px}.unified-header .score-pill strong{font-size:13px}.unified-header .reference-actions{gap:4px}.unified-header .reference-actions .reference-screen,.unified-header .reference-actions .reference-files{display:none}.unified-header .reference-actions a,.unified-header .reference-actions button{padding:5px 7px;font-size:10px}.unified-header .reference-actions .reference-logout span{display:none}.unified-footer{padding-inline:16px}.unified-footer-main{grid-template-columns:1fr;gap:21px;padding:25px 0 20px}.footer-team-block{grid-column:auto;grid-template-columns:1fr}.footer-team-block h2,.footer-social{grid-column:auto}.unified-footer-progress{align-items:stretch;flex-direction:column;gap:9px;padding:12px}.footer-progress-copy{justify-content:space-between;gap:7px}.unified-footer .reference-battery{width:100%}.unified-footer-legal{align-items:flex-start;flex-direction:column;gap:5px;padding:12px 0 16px}}
.unified-footer{padding:0 clamp(14px,3vw,36px);background:linear-gradient(100deg,#0c1522f5,#101a28f5);border-top:1px solid #8297ad22}
.quiet-footer-row{display:flex;align-items:center;justify-content:space-between;gap:14px;max-width:1500px;min-height:66px;margin:auto;color:#91a3b8;font-size:10px}
.quiet-footer-brand{display:inline-flex;align-items:center;gap:7px;flex:none;color:#e1ebf5;font-size:13px;font-weight:800}
.quiet-footer-brand .brand-icon{display:grid;place-items:center;width:29px;height:29px;border:1px solid #70d9d249;border-radius:9px;background:linear-gradient(145deg,#147c8b,#304b78);color:#e4ffff;box-shadow:inset 0 1px #ffffff33,0 4px 10px #0004}
.quiet-footer-brand .brand-icon .shell-icon{width:17px;height:17px}.quiet-footer-brand b{color:#6ddbd3}
.quiet-footer-credit,.quiet-footer-owner{white-space:nowrap}.quiet-footer-credit strong{color:#c7d4e2;font-weight:600}.quiet-footer-contact{display:flex;align-items:center;gap:11px}.quiet-footer-contact a{display:inline-flex;align-items:center;gap:5px;color:#a7b8ca;white-space:nowrap}.quiet-footer-contact a:hover,.quiet-footer-guide:hover{color:#77e0d9}.quiet-footer-contact .shell-icon{width:14px;height:14px;color:#72d9d4}
.quiet-footer-guide{color:#78dccc;white-space:nowrap}.quiet-footer-progress{display:flex;align-items:center;gap:7px;white-space:nowrap;color:#95a8bc;font-size:10px}.quiet-footer-progress b{color:#efd17d;font-weight:600}.quiet-footer-progress .reference-battery{width:90px;height:8px;padding:1px;border-color:#71839a55}.quiet-footer-progress .reference-battery>span{display:none}.quiet-footer-rights{color:#73869c;white-space:nowrap}
@media(max-width:1050px){body:has(.reference-header){--fixed-footer-space:120px}.quiet-footer-row{flex-wrap:wrap;justify-content:center;padding-block:12px}.quiet-footer-owner{display:inline}}
@media(max-width:650px){.quiet-footer-row{justify-content:flex-start;gap:9px 14px;min-height:0;padding-block:12px}.quiet-footer-brand{margin-inline-end:auto}.quiet-footer-credit{order:3;width:100%;font-size:10px}.quiet-footer-contact{order:4;flex-wrap:wrap;gap:8px 12px}.quiet-footer-guide{order:5}.quiet-footer-progress{order:2}.quiet-footer-rights{order:6;margin-inline-start:auto}}

/* Resource library: editorial catalogue with practical search and filters. */
.resources-page{max-width:1480px}
.resources-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) 250px;align-items:center;gap:24px;min-height:235px;margin:4px 0 25px;padding:30px clamp(22px,4vw,48px);overflow:hidden;border:1px solid #56dce33b;border-radius:23px;background:linear-gradient(100deg,#08131bea 0%,#0d1a2adf 58%,#11182a9c 100%),url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1500&q=85') center/cover;box-shadow:0 22px 50px #0005,inset 0 1px #ffffff10}
.resources-hero:before{content:'';position:absolute;z-index:-1;left:4%;top:-42px;width:260px;height:260px;border:1px solid #64e3e22a;border-radius:50%;box-shadow:0 0 0 35px #64e3e20c,0 0 0 72px #a88cff09}
.resources-hero-copy{position:relative;z-index:2;max-width:760px}.resources-hero-copy .eyebrow{color:#7de7e5;font-size:10px;letter-spacing:1px}.resources-hero h1{margin:6px 0 5px;color:#f3f7ff;font-size:clamp(29px,3vw,40px);text-shadow:0 4px 22px #0008}.resources-hero p{max-width:690px;margin:0;color:#c0ccdb;font-size:15px;line-height:1.9}.resources-hero-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.resources-hero-meta span{padding:5px 10px;border:1px solid #77b8d13b;border-radius:999px;background:#0c1a2abf;color:#bfd0df;font-size:11px}.resources-hero-meta span:first-child{border-color:#55ddd853;color:#81ebe4}
.resources-hero-art{position:relative;display:grid;place-items:center;min-width:0}.resources-hero-art .portal-scene{width:260px;max-width:100%;height:auto;filter:drop-shadow(0 18px 22px #0008)}
.resources-toolbar{position:sticky;top:130px;z-index:20;display:grid;grid-template-columns:minmax(220px,1fr) 190px auto;align-items:center;gap:12px;margin:0 0 25px;padding:12px;border:1px solid #7189a638;border-radius:13px;background:#0d1726eb;box-shadow:0 12px 28px #0003;backdrop-filter:blur(14px)}
.resource-search{display:flex;align-items:center;gap:10px;min-width:0;margin:0;padding:0 11px;border:1px solid #6f859d49;border-radius:9px;background:#09121e;color:#7fa5c2}.resource-search .shell-icon{width:17px;height:17px;flex:none}.resource-search input{min-width:0;margin:0;padding:9px 0;border:0;background:transparent;box-shadow:none;color:#eef4fa;font-size:13px}.resource-search input:focus{outline:none;box-shadow:none}.resource-search input::placeholder{color:#778ba2}
.resource-filter{display:flex;align-items:center;gap:8px;margin:0;color:#8ea4ba;font-size:11px;white-space:nowrap}.resource-filter select{margin:0;padding:8px 10px;border-color:#64799355;border-radius:8px;background:#111d2c;color:#e2ebf5;font-size:12px}.resources-result-count{justify-self:end;color:#91a8bd;font-size:11px;white-space:nowrap}
.resources-page .resource-upload{margin:0 0 23px;padding:16px 20px;border-color:#69dcd33b;border-radius:15px;background:linear-gradient(120deg,#132430,#111b2a)}.resources-page .resource-upload summary{display:flex;align-items:center;gap:10px;color:#84e5dc;font-size:14px}.resources-page .resource-upload summary:before{content:'+';display:grid;place-items:center;width:28px;height:28px;border:1px solid #6bdad34b;border-radius:9px;background:#1b4947;color:#84eee2;font-size:19px}.resources-page .resource-upload form{margin-top:16px}.resources-page .resource-upload form>.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.resources-page .resource-upload label{min-width:0}.resources-page .resource-upload input,.resources-page .resource-upload select{margin-bottom:10px}
.resource-folder{margin:0 0 32px}.resource-folder-title{display:flex;align-items:center;gap:9px;margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid #7890aa2a;color:#dce7f2;font-size:19px}.resource-folder-title>.shell-icon{width:21px;height:21px;color:#79ded6}.resource-folder-title>span{margin-inline-start:auto;padding:3px 8px;border:1px solid #7188a42b;border-radius:999px;color:#8fa3b9;font-size:10px;font-weight:400}
.resource-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr));gap:17px}.resource-card{position:relative;isolation:isolate;display:flex;min-width:0;min-height:305px;flex-direction:column;overflow:hidden;padding:0 18px 17px;border:1px solid #7890aa35;border-radius:16px;background:linear-gradient(145deg,#142236,#0f1927);box-shadow:0 13px 30px #0003;transition:transform .2s,border-color .2s,box-shadow .2s}.resource-card:hover{transform:translateY(-4px);border-color:#61d9d577;box-shadow:0 20px 38px #0005,0 0 22px #45d9d315}
.resource-art{position:relative;display:grid;place-items:center;height:112px;margin:0 -18px 14px;overflow:hidden;border-bottom:1px solid #879db521;background:radial-gradient(ellipse at 50% 75%,#44dfe32a,transparent 68%),linear-gradient(125deg,#172e42,#151c31)}.resource-art:before,.resource-art:after{position:absolute;content:'';border:1px solid #73dae21c;transform:rotate(-28deg)}.resource-art:before{width:190px;height:75px;border-radius:20px;box-shadow:0 0 0 12px #73dae208,0 0 0 25px #73dae205}.resource-art:after{width:110px;height:50px;border-radius:14px;transform:translate(24px,-10px) rotate(28deg)}.resource-art .shell-icon{position:relative;z-index:1;width:43px;height:43px;padding:9px;border:1px solid #83e4dc55;border-radius:14px;background:linear-gradient(145deg,#1b555b,#182b43);color:#89eee2;box-shadow:inset 1px 1px #ffffff35,0 6px 0 #09111b,0 13px 22px #0007;transform:perspective(80px) rotateX(5deg) rotateY(-8deg)}
.resource-art-program{background:radial-gradient(ellipse at 50% 75%,#bd8aff30,transparent 68%),linear-gradient(125deg,#211a39,#151c31)}.resource-art-program .shell-icon{border-color:#c396ff66;background:linear-gradient(145deg,#5c3a82,#252341);color:#d1aaff}.resource-art-link{background:radial-gradient(ellipse at 50% 75%,#ffd16627,transparent 68%),linear-gradient(125deg,#30281e,#151c31)}.resource-art-link .shell-icon{border-color:#ffdb8066;background:linear-gradient(145deg,#6e5630,#322b32);color:#ffdc80}
.resource-card>.tag{align-self:flex-start;margin:0 0 7px;border-color:#64dcd448;background:#153239;color:#7de4dc}.resource-card>h3{display:-webkit-box;overflow:hidden;margin:0 0 6px;color:#e8eff8;font-size:17px;line-height:1.65;-webkit-line-clamp:2;-webkit-box-orient:vertical}.resource-card>p{display:-webkit-box;overflow:hidden;min-height:41px;margin:0 0 13px;color:#9eafc2;font-size:12px;line-height:1.7;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical}.resource-card>.button{width:100%;margin-top:auto;text-align:center;border-color:#5cbcc14a;background:#183b45;color:#a8f0e5}.resource-card form{margin:8px 0 0}.resource-card form button{width:100%;padding:7px 10px;font-size:11px}
.resources-empty{margin:12px 0 28px;padding:24px;border:1px dashed #728ba744;border-radius:13px;color:#a9bacd;text-align:center}.resources-empty[hidden],.resource-card[hidden],.resource-folder[hidden]{display:none!important}
@media(max-width:780px){.resources-hero{grid-template-columns:minmax(0,1fr) 150px;min-height:195px;padding:24px}.resources-hero-art .portal-scene{width:160px}.resources-toolbar{top:10px;grid-template-columns:minmax(0,1fr) 160px}.resources-result-count{grid-column:1/-1;justify-self:start}.resources-page .resource-upload form>.grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.resources-page{padding-inline:14px}.resources-hero{grid-template-columns:1fr;min-height:0;padding:22px 18px;background-position:58% center}.resources-hero-art{position:absolute;left:-14px;bottom:-35px;opacity:.22;pointer-events:none}.resources-hero-art .portal-scene{width:190px}.resources-hero h1{font-size:28px}.resources-hero p{max-width:100%;font-size:13px}.resources-toolbar{position:relative;top:auto;grid-template-columns:minmax(0,1fr) 112px;gap:8px;padding:9px}.resource-search{gap:7px;padding-inline:8px}.resource-search input{font-size:11px}.resource-filter{display:grid;gap:3px;font-size:9px}.resource-filter select{max-width:100%;padding:7px 5px;font-size:10px}.resources-page .resource-upload{padding:13px}.resources-page .resource-upload form>.grid{grid-template-columns:1fr}.resource-grid{grid-template-columns:1fr}.resource-card{min-height:285px}.resources-result-count{grid-column:1/-1}}
body:has(.reference-header){--fixed-footer-space:78px;padding-bottom:calc(var(--fixed-footer-space) + env(safe-area-inset-bottom))}
.unified-footer{position:fixed;inset-inline:0;bottom:0;z-index:55;width:100%;padding-bottom:env(safe-area-inset-bottom);backdrop-filter:blur(16px);box-shadow:0 -10px 28px #0004}
.quiet-footer-row{min-height:66px}
@media(max-width:1050px){body:has(.reference-header){--fixed-footer-space:94px}.quiet-footer-row{min-height:0;padding-block:9px}}
@media(max-width:650px){body:has(.reference-header){--fixed-footer-space:180px}.quiet-footer-row{display:grid;grid-template-columns:minmax(0,1fr) auto;justify-content:initial;gap:6px 10px;padding-block:8px}.quiet-footer-brand{grid-column:1;grid-row:1;margin:0}.quiet-footer-progress{grid-column:2;grid-row:1;justify-content:flex-end}.quiet-footer-credit{grid-column:1/-1;grid-row:2;width:auto;white-space:normal}.quiet-footer-owner{display:block;grid-column:1/-1;grid-row:3;white-space:normal}.quiet-footer-contact{grid-column:1/-1;grid-row:4;gap:7px 11px}.quiet-footer-guide{grid-column:1;grid-row:5}.quiet-footer-rights{grid-column:2;grid-row:5;margin:0}.quiet-footer-contact a{font-size:9px}}
@media(max-width:850px){.auth-form{grid-row:1;padding-top:40px}.auth-story{grid-row:2}.auth-story h1{font-size:30px}}
.ctf-layout{min-width:0}.ctf-layout main{min-width:0}.topbar{width:100%}

.admin-link{color:var(--cyan);border:1px solid #326762;padding:5px 12px;border-radius:9px}.admin-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}textarea{width:100%;background:#0a1424;color:#fff;border:1px solid var(--line);border-radius:10px;padding:14px;font:14px monospace;margin:8px 0 20px}input[type=checkbox]{width:20px;height:20px;accent-color:var(--cyan)}.inline input[type=hidden]{display:none}
/* Shared identity and mission design */
.topbar{display:block;position:sticky;top:0;z-index:60;padding:12px 3%;background:#0e172bea;backdrop-filter:blur(22px);box-shadow:0 12px 30px #0003}.header-primary{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.header-identity{display:flex;align-items:center;gap:10px}.header-identity small,.score-pill small{display:block;font-size:10px;color:#9aabc6}.avatar3d{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;color:#fff;background:linear-gradient(135deg,#996cff,#44399b);box-shadow:inset 2px 2px 2px #ffffff40,4px 5px 0 #242050;font-size:20px}.header-nav{display:flex!important;gap:14px!important;flex-wrap:wrap;margin-top:14px;padding-top:11px;border-top:1px solid #ffffff0b;align-items:center}.header-nav a{font-size:11px;color:#c1cee3}.header-nav a:hover{color:#4de3d1}.score-pill{display:flex;gap:15px;align-items:center;background:#0c2630;padding:7px 18px;border:1px solid #25626a;border-radius:12px}.score-pill strong{font-size:22px;color:#4de3d1}.score-pill>span{font-size:24px}.team-score{border-right:1px solid #32666e;padding-right:15px}.alltraining-footer{background:#0e1729;gap:35px;align-items:center}.alltraining-footer p{font-size:11px}.alltraining-footer strong{color:#cbd8ec}.footer-progress{min-width:220px}.energy-shell{width:220px;height:19px;border:2px solid #435271;padding:3px;border-radius:5px;position:relative}.energy-shell:after{content:'';position:absolute;left:-6px;top:4px;width:4px;height:8px;background:#435271}.energy-shell div{height:100%;background:linear-gradient(90deg,#7765ff,#4de3d1);border-radius:2px;box-shadow:0 0 16px #4de3d140}.page-hero{position:relative;padding:32px 0 40px}.page-hero h1{font-size:44px;line-height:1.5;max-width:900px}.page-hero:before{content:'';position:absolute;width:220px;height:220px;left:5%;top:0;border:1px solid #4de3d116;border-radius:50%;box-shadow:0 0 0 28px #4de3d105,0 0 0 60px #4de3d103;pointer-events:none}.tilt-card{position:relative;transform-style:preserve-3d;transition:transform .25s,box-shadow .25s,border-color .25s;overflow:hidden;box-shadow:0 8px 0 #080e1b,0 22px 30px #0003;background:linear-gradient(140deg,#1a2944,#101729);display:flex;flex-direction:column;align-items:flex-start}.tilt-card:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 80% 0,#9284ff16,transparent 60%);pointer-events:none}.tilt-card:hover{transform:perspective(1000px) rotateX(3deg) rotateY(-3deg) translateY(-7px);border-color:#547b92;box-shadow:0 14px 0 #070c16,0 28px 45px #0005}.tilt-card .button{margin-top:auto}.icon3d{width:66px;height:66px;display:grid;place-items:center;font-size:30px;color:#b8fff2;margin:4px 0 24px;border-radius:20px;background:linear-gradient(135deg,#286e73,#233b62);border:1px solid #72e9d950;box-shadow:inset 3px 3px 5px #ffffff1c,inset -3px -3px 6px #0003,6px 7px 0 #0c182d,8px 12px 18px #0005;transform:rotate(-6deg);text-shadow:1px 2px 0 #16324a}.tilt-card:nth-child(3n+2) .icon3d{background:linear-gradient(135deg,#7865bc,#34345f);color:#e5d8ff}.tilt-card:nth-child(3n+3) .icon3d{background:linear-gradient(135deg,#927340,#443750);color:#ffe5a2}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:45px 0 22px;gap:20px}.section-heading small{color:#4de3d1}.steps{counter-reset:step;padding:0;list-style:none}.steps li{counter-increment:step;display:flex;gap:12px;align-items:flex-start;margin:12px 0;color:#b5c6dd;font-size:13px}.steps li:before{content:counter(step,decimal-leading-zero);color:#4de3d1;font-family:monospace;font-weight:bold}.metrics-four{grid-template-columns:repeat(4,1fr)}.metrics-four .metric{font-size:28px}.member-picker{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;max-height:340px;overflow:auto;margin-bottom:25px}.member-picker label{padding:12px;background:#0a1424;border:1px solid #27334b;border-radius:10px}.member-picker small{display:block;padding-right:28px;color:#899db8}.video-shell{width:100%;border:1px solid #344461;border-radius:18px;background:#000;max-height:70vh}.workshop-pending{padding:60px 25px;border:1px dashed #525580;background:linear-gradient(120deg,#242440,#142535);border-radius:15px;text-align:center}.lesson-number{font-size:11px;color:#56e4d1;letter-spacing:3px}.topic-card h2{margin-top:0}.topic-card .path-preview{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.path-preview span{background:#ffffff08;padding:4px 8px;border-radius:6px;font-size:10px;color:#bccde6}.explore-note{padding:10px 4%;background:#0e303a;font-size:12px;color:#79e5d8}.guide-cover{aspect-ratio:1.6;display:grid;place-items:center;width:100%;border-radius:13px;background:linear-gradient(135deg,#273e65,#484076);margin-bottom:20px;position:relative;overflow:hidden}.guide-cover .icon3d{margin:0;transform:rotate(-12deg) scale(1.2)}.guide-cover:before{content:'OMAN CTF';position:absolute;font-size:50px;font-weight:900;opacity:.05;transform:rotate(-20deg)}.muted-note{font-size:12px}.guide-card h2{font-size:19px}.small-credit{font-size:11px;color:#d6bbf4}.empty-state{padding:45px;text-align:center}.tab-links{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:30px}.breadcrumb{font-size:12px;color:#94a9c4;margin:10px 0 20px}.highlight{color:#4de3d1}.lesson-hero{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center}.lesson-hero .icon3d{width:120px;height:120px;font-size:56px;margin-left:30px}.course-strip{display:flex;align-items:center;gap:15px;border-right:3px solid #4de3d1;padding:15px 20px;background:#102330;border-radius:10px;margin:20px 0}@media(max-width:850px){.topbar{position:relative}.header-primary{gap:12px}.header-nav{gap:12px!important}.header-identity{order:3}.score-pill{padding:6px 12px}.page-hero h1{font-size:32px}.page-hero:before{display:none}.metrics-four{grid-template-columns:repeat(2,1fr)}.member-picker{grid-template-columns:1fr}.lesson-hero{grid-template-columns:1fr}.lesson-hero .icon3d{display:none}.alltraining-footer{align-items:flex-start}.section-heading{align-items:flex-start;flex-direction:column}.tilt-card:hover{transform:translateY(-4px)}}@media(prefers-reduced-motion:reduce){.tilt-card{transition:none}.tilt-card:hover{transform:none}}
.challenge-card{display:flex;flex-direction:column;padding:22px;background:linear-gradient(145deg,#14243c,#101727);box-shadow:0 7px 0 #060c15}.challenge-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.challenge-top .icon3d{width:47px;height:47px;font-size:22px;margin-bottom:20px}.challenge-card h2{font-size:17px;line-height:1.8}.challenge-desc{font-size:13px;color:#bfcee3;line-height:2;flex:1}.challenge-meta{display:flex;justify-content:space-between;gap:10px;margin-top:20px;font-size:11px;color:#9aaec9}.challenge-meta strong{color:#4de3d1}.flag-form{display:flex;gap:8px;align-items:center;margin-top:12px}.flag-form input{margin:0;min-width:0;font:12px monospace}.flag-form button{padding:9px 16px}.flag-form button:disabled{opacity:.4;cursor:default}.challenge-solved{border-color:#398676;background:linear-gradient(145deg,#14372f,#101c29)}.hint{font-size:12px;color:#d8caff;margin:15px 0 0}.hint p{margin:8px 0}.filter-active{background:#4de3d1!important;color:#09231e!important;border-color:#4de3d1!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}pre{white-space:pre-wrap;overflow-wrap:anywhere}.svg-emblem{max-width:100%}

.icon3d{direction:ltr;unicode-bidi:isolate}html{scroll-padding-top:190px}.two-column{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:850px){.grid[style*="repeat(2"],.grid[style*="1fr 1fr"]{grid-template-columns:1fr!important}html{scroll-padding-top:20px}}

.activity-chart{display:flex;gap:15px;justify-content:space-around;align-items:flex-end;min-height:185px;padding:20px 0 5px;direction:ltr}.activity-chart>div{display:flex;flex-direction:column;align-items:center;gap:8px;flex:1}.chart-bar{display:block;width:70%;max-width:80px;background:linear-gradient(0deg,#3b648e,#4de3d1);border-radius:8px 8px 0 0;box-shadow:0 0 18px #4de3d115}.activity-chart strong{color:#7eeadd;font-size:12px}.activity-chart small{color:#8ca4c2;font:11px monospace}
.authority-ladder{position:relative;display:grid;gap:18px;margin:20px 0 35px}.authority-ladder:before{content:'';position:absolute;right:76px;top:30px;bottom:30px;width:2px;background:linear-gradient(#e1bc70,#8d76f0,#4de3d1)}.authority-tier{position:relative;display:flex;align-items:center;gap:30px;padding:25px 30px;background:linear-gradient(120deg,#132239,#171e34);margin-left:calc(var(--indent,0)*25px)}.authority-tier:nth-child(2){--indent:1}.authority-tier:nth-child(3){--indent:2}.authority-tier:nth-child(4){--indent:3}.authority-tier .icon3d{flex-shrink:0;margin:0}.authority-tier h2{margin:0}.authority-tier p{margin:8px 0 0;font-size:13px}.rank-code{position:absolute;left:24px;top:14px;color:#ffffff10;font:bold 40px monospace}.branch-panel{margin:25px 0;border-top:3px solid #8473d2}.branch-head{display:flex;align-items:center;gap:20px;margin:0 0 25px}.branch-head .icon3d{margin:0}.branch-group{display:flex;justify-content:space-between;gap:15px;width:100%;background:#ffffff06;border:1px solid #ffffff0b;padding:12px;border-radius:8px;margin-top:10px;font-size:12px}.branch-group strong{color:#4de3d1}@media(max-width:850px){.authority-tier{gap:18px;margin-left:0;padding:22px 18px}.authority-ladder:before{display:none}.authority-tier .icon3d{width:48px;height:48px;font-size:24px}.rank-code{font-size:28px}.header-nav{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:thin}.header-nav a{white-space:nowrap;flex-shrink:0}}
/* Shared shell follows AllTraining/worksheets/header.php and footer.php. */
body:has(.reference-header){display:flex;flex-direction:column}.container{width:100%}.reference-header{padding:0 28px;position:sticky;top:0;z-index:100;background:#0f172aeF;backdrop-filter:blur(20px);border-bottom:1px solid #33415580;box-shadow:0 4px 12px #0003;gap:0}.reference-header .header-primary{max-width:1600px;min-height:64px;margin:auto;width:100%;gap:14px;flex-wrap:wrap}.reference-header .brand{font-size:18px;white-space:nowrap}.reference-header .brand-icon{width:40px;height:40px;background:linear-gradient(135deg,#7c3aed,#4f46e5);border:1px solid #a78bfa4d;box-shadow:0 5px 14px #0004}.shell-icon{width:19px;height:19px;flex-shrink:0;vertical-align:middle}.brand-icon .shell-icon{width:24px;height:24px}.reference-status{display:flex;align-items:center;gap:8px;border:1px solid #33415580;border-radius:12px;background:#1e293b80;padding:6px 12px;font-size:11px;font-weight:700;color:#94a3b8}.connection-dot{width:7px;height:7px;border-radius:100%;background:#34d399}.reference-status>span:nth-child(2){color:#34d399}.clock-divider{height:20px;width:1px;background:#475569}.reference-status .shell-icon,#header-live-time{color:#7dd3fc}#header-live-date{white-space:nowrap}.reference-header .header-identity{background:#1e293bcc;border:1px solid #334155;border-radius:999px;padding:5px 12px;gap:7px;font-size:11px}.header-identity>.shell-icon{color:#a78bfa}.reference-header .header-identity small{margin:0}.reference-role{color:#c4b5fd;border-right:1px solid #475569;padding-right:7px}.reference-header .score-pill{padding:5px 10px;gap:7px;border-radius:9px;background:#f59e0b12;border-color:#f59e0b40;align-items:center}.reference-header .score-pill strong{font-size:14px;color:#fcd34d}.reference-header .score-pill small{font-size:10px;color:#fcd34d}.reference-actions{display:flex;gap:7px;align-items:center}.reference-actions a,.reference-actions button{display:flex;align-items:center;justify-content:center;gap:6px;padding:6px 10px;background:#1e293b;color:#cbd5e1;border:1px solid #475569;border-radius:8px;font-size:11px;white-space:nowrap}.reference-actions #globalThemeToggle{width:34px;height:34px;padding:7px}.reference-actions form{margin:0}.reference-actions .reference-screen{background:#0ea5e919;color:#7dd3fc;border-color:#0ea5e94d}.reference-actions .reference-files{background:#10b98119;color:#6ee7b7;border-color:#10b9814d}.reference-actions .reference-logout{background:#f43f5e19;color:#fb7185;border-color:#f43f5e4d}.reference-header .header-nav{width:100%;max-width:1600px;margin:auto;padding:8px 0;border-top:1px solid #33415550;gap:18px;font-size:11px;overflow-x:auto;flex-wrap:nowrap}.reference-header .header-nav a{white-space:nowrap}.reference-footer{margin-top:auto;padding:0 24px}.reference-footer-glass{max-width:1240px;margin:auto;background:#0f172acc;backdrop-filter:blur(16px);border:1px solid #33415580;border-bottom:0;border-radius:24px 24px 0 0;padding:18px 24px;box-shadow:0 -8px 40px #0002}.reference-footer-row{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:11px}.reference-authors,.reference-contact,.reference-contact a{display:flex;align-items:center;gap:8px}.reference-authors strong{font-weight:900}.code-badge{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#10b98133;border:1px solid #10b9814d;color:#34d399}.code-badge .shell-icon{width:15px;height:15px}.reference-contact{color:#94a3b8;font:11px monospace;flex-wrap:wrap}.reference-contact a:first-child .shell-icon{color:#38bdf8}.reference-contact a:last-child .shell-icon{color:#ec4899}.reference-rights{color:#64748b;font-size:10px}.reference-footer-bottom{border-top:1px solid #33415555;margin-top:15px;padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;flex-wrap:wrap}.reference-footer-bottom p{margin:0}.reference-footer-bottom strong{color:#e2e8f0}.reference-battery-panel{display:flex;align-items:center;gap:16px;border:1px solid #a5b4fc33;border-radius:14px;background:#02061755;padding:8px 12px}.reference-battery-panel strong{font-size:11px}.reference-battery-panel small{display:block;font-size:10px;color:#94a3b8}.reference-battery{position:relative;width:130px;height:32px;border:1px solid #e2e8f047;border-radius:12px;background:#0f172a;direction:ltr}.reference-battery:after{content:'';position:absolute;right:-6px;top:9px;width:5px;height:12px;border-radius:0 4px 4px 0;background:#e2e8f0aa}.reference-battery>div{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#38bdf8,#6366f1);border-radius:11px;transition:width .8s}.reference-battery>span{position:relative;display:grid;place-items:center;height:100%;font-weight:900;color:white}.reference-footer a:hover{color:#fff}@media(max-width:1450px){.reference-status{display:none}.reference-header .header-primary{justify-content:space-between}}@media(max-width:850px){.reference-header{position:relative;padding:8px 16px}.reference-header .header-primary{gap:10px;justify-content:center}.reference-header .header-identity{order:0;flex-wrap:wrap;justify-content:center}.reference-actions{flex-wrap:wrap;justify-content:center}.reference-header .header-nav{margin-top:8px}.reference-footer{padding:0 12px}.reference-footer-glass{padding:18px}.reference-footer-row,.reference-footer-bottom{flex-direction:column;align-items:center;text-align:center}.reference-authors{flex-wrap:wrap;justify-content:center}.reference-contact{justify-content:center}.reference-battery-panel{width:100%;justify-content:space-between}}
html[data-theme=light]{color-scheme:light;--bg:#f1f5f9;--panel:#fff;--line:#cbd5e1;--muted:#475569;--cyan:#0f766e}html[data-theme=light] body{color:#0f172a;background:#f1f5f9}html[data-theme=light] .card{background:linear-gradient(145deg,#fff,#f8fafc)}html[data-theme=light] .card p,html[data-theme=light] .challenge-desc{color:#475569}html[data-theme=light] input,html[data-theme=light] select{background:#fff;color:#0f172a}html[data-theme=light] .reference-header,html[data-theme=light] .reference-footer{color:#edf2fa}html[data-theme=light] .page-hero h1{color:#0f172a}
@media(min-width:1151px) and (max-width:1450px){.reference-status{display:flex}.reference-status #header-live-date,.reference-status .clock-divider:last-of-type{display:none}}@media(max-width:1150px){.reference-status{display:none}}
/* Calm typography and card-first navigation, inspired by the training dashboard. */
body{font-family:Tajawal,system-ui,sans-serif;font-size:16px;line-height:1.85;background:radial-gradient(ellipse at 85% 0,#17344355,transparent 45%),#080f1e;-webkit-font-smoothing:antialiased}h1,h2,h3{font-weight:700;letter-spacing:0;line-height:1.5;text-wrap:balance}h1,.hero h1,.page-hero h1{font-size:clamp(28px,3vw,40px);max-width:760px}.page-hero{padding:24px 0 32px}.page-hero:before{opacity:.35}.eyebrow,.lesson-number,.section-heading small{letter-spacing:.6px;font-size:11px;font-weight:500;color:#83a9bd}.card p{font-size:15px;line-height:1.95;margin:10px 0 18px;color:#aab9cb}.card h2{font-size:21px}.card h3{font-size:18px}.card{border:1px solid #829bb31f;border-radius:22px;padding:26px;background:linear-gradient(145deg,#152238db,#101a2cd9);box-shadow:0 12px 35px #00000018}.tilt-card{box-shadow:0 8px 24px #0002;transform:none}.tilt-card:hover{transform:translateY(-4px);box-shadow:0 18px 32px #0003}.icon3d{width:58px;height:58px;border-radius:18px;transform:rotate(-4deg);box-shadow:inset 1px 1px 0 #fff2,4px 5px 0 #080e1b,0 12px 24px #0003;margin-bottom:20px}.icon3d svg{width:30px;height:30px}.challenge-desc{font-size:15px;line-height:1.95}.challenge-card h2{font-size:19px}.challenge-meta{font-size:12px}.button,button{font-weight:600;letter-spacing:0}.metric{font-weight:700;font-size:32px}.reference-header{background:#101a2beF;border-bottom:1px solid #a3bdd31a;padding:0 24px}.reference-header .header-primary{min-height:72px}.reference-header .header-nav.portal-nav{border:0;overflow:visible;justify-content:center;gap:8px;padding:10px 0 14px;flex-wrap:wrap;scrollbar-width:none}.portal-nav>a{display:flex;align-items:center;gap:10px;min-height:45px;padding:7px 16px;border:1px solid transparent;border-radius:13px;color:#a4b5ca;font-size:14px;font-weight:500;transition:background .2s,color .2s}.portal-nav .nav-icon{display:grid;place-items:center;width:28px;height:28px;color:#8ca7bd}.portal-nav .shell-icon{width:21px;height:21px}.portal-nav>a:hover{color:#f1f5f9;background:#ffffff06;border-color:#ffffff0c}.portal-nav>a.nav-active{background:linear-gradient(120deg,#154a4b80,#1d354d90);border-color:#60ddcb40;color:#95f5e3;box-shadow:inset 0 1px 0 #ffffff12,0 5px 14px #0002}.portal-nav>a.nav-active .nav-icon{color:#7ce9d3}.nav-more{position:relative;align-self:center}.nav-more summary{display:flex;align-items:center;gap:9px;color:#a4b5ca;padding:9px 16px;border:1px solid #839bb322;border-radius:13px;cursor:pointer;font-size:14px;list-style:none}.nav-more summary::-webkit-details-marker{display:none}.nav-chevron{font-size:16px}.nav-more-panel{position:absolute;top:54px;left:0;width:260px;background:#111c30fF;border:1px solid #56708955;border-radius:17px;padding:8px;box-shadow:0 20px 50px #0007;z-index:110}.nav-more-panel a{display:flex;align-items:center;gap:12px;padding:12px;border-radius:10px;color:#b9c8dc;font-size:14px}.nav-more-panel a:hover{background:#294b5b55;color:#9ef2df}.welcome-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(115deg,#132b3e,#172039);padding:32px;border:1px solid #6da2bb26;border-radius:26px}.welcome-panel h1{margin:8px 0}.welcome-panel p{margin:0;max-width:600px}.welcome-score{display:flex;flex-direction:column;align-items:center;gap:3px;padding:14px 28px;border:1px solid #78d6c430;border-radius:20px;background:#0d2b3555;min-width:140px}.welcome-score strong{font-size:36px;color:#87ecd6}.welcome-score small{color:#93aabc;font-size:12px}.portal-card{display:flex;flex-direction:column;padding:0;overflow:hidden;transition:transform .25s,border-color .25s}.portal-card:hover{transform:translateY(-5px);border-color:#68acbd66}.portal-art{position:relative;height:148px;display:grid;place-items:center;background:radial-gradient(ellipse at center,#3a91a221,transparent 68%),linear-gradient(135deg,#18334b99,#13203a66);overflow:hidden}.portal-card:nth-child(3n+2) .portal-art{background:radial-gradient(ellipse at center,#8668cb30,transparent 68%),#1b203a}.portal-card:nth-child(3n) .portal-art{background:radial-gradient(ellipse at center,#b48c5330,transparent 68%),#1a2634}.art-orbit{position:absolute;width:140px;height:140px;border:1px solid #9eccda18;border-radius:50%;transform:rotateX(55deg) rotate(-20deg)}.art-orbit:after{content:'';position:absolute;inset:20px;border:1px solid #9eccda22;border-radius:50%}.art-icon{display:grid;place-items:center;width:72px;height:72px;color:#a8f0e5;background:linear-gradient(135deg,#357486,#24415c);border:1px solid #9bdad144;border-radius:22px;transform:rotate(-8deg);box-shadow:inset 2px 2px 0 #fff2,6px 7px 0 #080e1b66,0 15px 35px #0004}.art-icon svg{width:38px;height:38px}.portal-card:nth-child(3n+2) .art-icon{color:#ded0ff;background:linear-gradient(135deg,#7060a6,#3b365e)}.portal-card:nth-child(3n) .art-icon{color:#ffe1b3;background:linear-gradient(135deg,#8d754d,#47435c)}.art-dot{position:absolute;right:22%;top:24%;width:5px;height:5px;border-radius:50%;background:#9bdfcf;box-shadow:0 0 18px #9bdfcf66}.portal-copy{padding:23px;display:flex;flex-direction:column;flex:1}.portal-copy h2{margin:0;font-size:22px}.portal-copy p{font-size:14px;min-height:56px}.portal-link{display:flex;align-items:center;justify-content:space-between;color:#91d9ce;font-size:13px;font-weight:600;margin-top:auto}.portal-link>span{display:grid;place-items:center;width:29px;height:29px;border-radius:10px;background:#5cd6c014}.portal-card:focus-visible,.portal-nav a:focus-visible{outline:2px solid #93e6d5;outline-offset:4px}.notes-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}textarea{width:100%;background:#0b1525;color:#dfebf8;border:1px solid var(--line);border-radius:13px;padding:15px;font:inherit;resize:vertical;line-height:1.9;min-height:160px}.check-label{display:flex;align-items:center;gap:10px;margin:16px 0;color:#bccddd}.check-label input{width:19px;height:19px;margin:0;accent-color:#4de3d1}.conduct-notice{font-size:13px;line-height:1.9;border-right:3px solid #b8955f;background:#b8955f12;padding:14px;border-radius:9px;margin-top:20px;color:#d5be96}.note-card{margin-bottom:16px}.note-body{white-space:normal;overflow-wrap:anywhere}.filter-panel{display:grid;grid-template-columns:2fr repeat(3,1fr) auto;gap:12px;align-items:end;padding:20px}.filter-panel input,.filter-panel select{margin-bottom:0}.filter-panel button{margin-bottom:0}.table-wrap th{font-size:13px;color:#a9bed4;font-weight:600;white-space:nowrap}.table-wrap td{font-size:14px}.table-wrap tr:nth-child(even){background:#ffffff02}.table-wrap input[type=checkbox]{width:18px}.report-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0}.print-only{display:none}@media(max-width:850px){.reference-header .header-nav.portal-nav{flex-wrap:wrap!important;gap:4px;justify-content:center;overflow:visible}.portal-nav>a{font-size:12px;padding:6px 8px;gap:5px;min-height:40px}.portal-nav .nav-icon{width:23px}.portal-nav .shell-icon{width:18px;height:18px}.nav-more summary{padding:8px;font-size:12px}.portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.notes-layout{grid-template-columns:1fr}.filter-panel{grid-template-columns:1fr 1fr}.filter-panel>label:first-child{grid-column:1/-1}.welcome-panel{padding:24px}.welcome-score{padding:12px 16px}}@media(max-width:550px){.portal-grid{grid-template-columns:1fr}.portal-card{display:grid;grid-template-columns:100px 1fr}.portal-art{height:100%;min-height:160px}.art-icon{width:55px;height:55px;border-radius:17px}.art-icon svg{width:29px;height:29px}.portal-copy{padding:19px}.portal-copy h2{font-size:20px}.portal-copy p{min-height:0}.welcome-panel{flex-direction:column;align-items:flex-start}.welcome-score{flex-direction:row;flex-wrap:wrap;width:100%;justify-content:space-between}.welcome-score strong{font-size:28px}.page-hero h1{font-size:28px}.reference-actions .reference-back{display:none}.nav-more-panel{left:0;width:240px}.filter-panel{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.portal-card,.portal-nav>a{transition:none}.portal-card:hover{transform:none}}@media print{.reference-header,.reference-footer,.report-toolbar,.filter-panel,.admin-actions,button,.button{display:none!important}body{background:white!important;color:black!important}.container{padding:0;max-width:none}.card,.table-wrap{background:white!important;border:1px solid #aaa!important;box-shadow:none!important;break-inside:avoid;color:black!important}p,small,h1,h2,td,th,.metric{color:black!important}.print-only{display:block}.grid{grid-template-columns:repeat(3,1fr)}.page-hero:before{display:none}}
.group-create summary{display:flex;align-items:center;gap:16px;font-size:20px;font-weight:600;cursor:pointer;padding:10px;list-style:none}.create-icon{display:grid;place-items:center;width:48px;height:48px;background:linear-gradient(135deg,#4d598b,#234457);border:1px solid #9fc4de33;border-radius:15px;color:#cbdcf4}.create-icon svg{width:25px;height:25px}.podium-card{position:relative;overflow:hidden;border-top:2px solid #bda56880;background:radial-gradient(circle at 90% 0,#bfa86418,transparent 70%),#111c30}.podium-card:nth-child(2){border-top-color:#8baac380}.podium-card:nth-child(3){border-top-color:#b6867180}.podium-rank{position:absolute;left:24px;top:15px;font-size:60px;font-weight:700;color:#a6bdd515;line-height:1}.rank-chart-row{display:grid;grid-template-columns:150px 1fr 60px;gap:18px;align-items:center;margin:20px 0;font-size:14px}.rank-chart-row>div{height:10px;background:#8fa9c512;border-radius:20px;overflow:hidden}.rank-chart-row>div>span{display:block;height:100%;background:linear-gradient(90deg,#6482b7,#64cbb7);border-radius:20px}.rank-chart-row strong{color:#a2e2d6}.rank-badge{display:inline-grid;place-items:center;min-width:30px;height:30px;border-radius:10px;background:#849abc14;color:#c5d1e1}.small-progress{width:100px;height:6px;background:#849abc18;border-radius:10px;overflow:hidden}.small-progress span{height:100%;display:block;background:#62c9b5}.filter-panel{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.filter-panel label:first-child{grid-column:auto}@media(max-width:550px){.rank-chart-row{grid-template-columns:80px 1fr 40px;gap:10px}.filter-panel{grid-template-columns:1fr}}
.category-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:32px}.category-card{display:flex;flex-direction:column;align-items:flex-start;text-align:right;gap:14px;color:#dce6f2;transition:transform .2s,border-color .2s;cursor:pointer;min-width:0}.category-card strong{font-size:21px;font-weight:600}.category-card>span:not(.art-icon){font-size:14px;color:#a6b8cb;font-weight:400}.category-card small{font-size:12px;color:#81cdbf;font-weight:500}.category-card .art-icon{width:52px;height:52px;border-radius:16px;transform:rotate(-5deg);margin-bottom:6px}.category-card .art-icon svg{width:28px;height:28px}.category-card:hover{transform:translateY(-3px);border-color:#74ccb455}.category-card.filter-active{background:linear-gradient(140deg,#183e4380,#172b4280)!important;color:#e6fff6!important;border-color:#63beaa70!important}.category-card:focus-visible{outline:2px solid #92e8d2;outline-offset:4px}.challenge-grid:empty{display:none}@media(max-width:850px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-card{padding:20px}.category-card strong{font-size:19px}}@media(max-width:500px){.category-grid{grid-template-columns:1fr 1fr;gap:12px}.category-card{padding:16px;gap:10px}.category-card>span:not(.art-icon){font-size:12px}.category-card strong{font-size:18px}.category-card small{font-size:11px}}
@media(max-width:550px){.reference-header{padding:8px 14px}.reference-header .header-primary{display:grid;grid-template-columns:1fr auto;gap:10px;min-height:0}.reference-header .brand{font-size:15px;gap:8px}.reference-header .brand-icon{width:33px;height:33px;border-radius:10px}.reference-header .brand-icon svg{width:20px;height:20px}.reference-header .header-identity{padding:4px 8px;font-size:10px}.reference-header .header-identity .shell-icon{width:15px;height:15px}.reference-header .header-identity small{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reference-header .score-pill{justify-self:start;font-size:10px}.reference-actions{justify-content:flex-end;flex-wrap:nowrap;gap:5px}.reference-actions .reference-screen,.reference-actions .reference-files{display:none}.reference-actions a,.reference-actions button{padding:6px;font-size:10px}.reference-actions .shell-icon{width:15px;height:15px}.reference-actions #globalThemeToggle{width:29px;height:29px}.reference-header .header-nav.portal-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding-bottom:8px}.portal-nav>a{justify-content:center;padding:4px;gap:7px;font-size:12px}.nav-more{grid-column:1/-1;justify-self:center}.nav-more summary{font-size:11px;padding:5px 13px;border-color:transparent}.nav-more-panel{left:50%;transform:translateX(-50%);top:38px}.page-hero{padding:16px 0 24px}.section-heading{margin-top:28px}.container{padding-top:26px}}
.report-section{border:1px solid #849db32b;border-radius:20px;background:#101b2a55;overflow:hidden}.report-section>summary{display:flex;align-items:center;gap:16px;padding:20px;font-size:20px;font-weight:600;cursor:pointer;list-style:none}.report-section>summary::-webkit-details-marker{display:none}.report-section>summary small{margin-right:auto;font-size:12px;font-weight:400;color:#8fa8bf}.report-section .table-wrap{border-radius:0;border:0;border-top:1px solid #849db31c}.report-section .create-icon{width:38px;height:38px;border-radius:12px}.report-section .create-icon svg{width:20px;height:20px}@media(max-width:550px){.report-section>summary{padding:16px;font-size:17px;gap:10px}.report-section>summary small{font-size:10px}.report-section .create-icon{width:30px;height:30px;flex-shrink:0}}
/* Premium finish: restrained depth, architectural SVG artwork and clear contrast. */
:root{--cyan:#76d7c4;--muted:#a0b2c7;--line:#40567055}body{background:radial-gradient(ellipse at 100% 0,#18485b28,transparent 45%),radial-gradient(ellipse at 0 45%,#47407215,transparent 38%),#080f1d}.reference-header{background:linear-gradient(100deg,#101829f5,#101e2ef5);border-bottom-color:#87b6bf1b;box-shadow:0 8px 32px #0002}.reference-header .brand-icon{background:linear-gradient(145deg,#7d6bba,#423d75);box-shadow:inset 0 1px 0 #ddd8ff44,0 5px 15px #0003}.reference-header .header-nav.portal-nav{gap:10px}.portal-nav>a.nav-active{background:linear-gradient(115deg,#285b5c70,#263b5560);border-color:#8edcc63d;box-shadow:inset 0 1px 0 #fff1,0 5px 20px #04101966}.welcome-panel{position:relative;isolation:isolate;overflow:hidden;min-height:275px;padding:35px 40px;border-radius:30px;background:radial-gradient(ellipse at 15% 40%,#557b9820,transparent 58%),linear-gradient(125deg,#162a3e,#171e35);border-color:#b8cddd28;box-shadow:inset 0 1px 0 #ffffff0b,0 20px 50px #02071433}.welcome-panel:before{content:'';position:absolute;width:360px;height:360px;border:1px solid #9ed5d418;border-radius:50%;left:-55px;top:-30px;z-index:-1;box-shadow:0 0 0 38px #9ed5d406,0 0 0 76px #9ed5d404}.welcome-panel h1{font-size:clamp(28px,3.4vw,43px);margin-top:12px}.welcome-panel .eyebrow{color:#9dd7c9;font-size:12px}.welcome-panel>div:first-child{max-width:650px}.welcome-panel p{font-size:16px;line-height:2}.welcome-cta{margin-top:22px;background:linear-gradient(110deg,#9ce4cf,#6bbdb5);border:1px solid #c9f6e040;border-radius:13px;padding:11px 21px;font-size:14px;box-shadow:0 7px 22px #49ae9318;display:inline-flex;align-items:center;gap:25px}.welcome-visual{position:relative;width:310px;flex-shrink:0;align-self:stretch;display:flex;align-items:center;justify-content:center}.welcome-visual>.portal-scene{width:330px;max-width:110%;transform:translateY(-15px);filter:drop-shadow(0 12px 18px #02071466)}.welcome-visual .welcome-score{position:absolute;left:24px;bottom:0;right:24px;min-width:0;flex-direction:row;justify-content:center;gap:10px;padding:7px 12px;background:#0e1b2eaa;border-color:#8bc9c02b;border-radius:13px;backdrop-filter:blur(10px)}.welcome-visual .welcome-score strong{font-size:25px}.welcome-visual .welcome-score span{font-size:12px;color:#c6d5df}.welcome-visual .welcome-score small{border-right:1px solid #b8cad322;padding-right:12px;margin-right:4px}.section-heading h2{font-size:24px}.section-heading .muted{font-size:13px;color:#8ca4ba}.portal-grid{gap:24px}.portal-card{border-color:#9bb3ca22;background:linear-gradient(140deg,#152237,#111a2b);box-shadow:inset 0 1px 0 #ffffff08,0 13px 28px #0002;border-radius:25px}.portal-art{height:172px;background:radial-gradient(ellipse at 50% 40%,#629abd14,transparent 72%),linear-gradient(140deg,#192c4055,#13203955);border-bottom:1px solid #c4d8e808}.portal-card:nth-child(3n+2) .portal-art{background:radial-gradient(ellipse at 50% 40%,#9b82d31b,transparent 72%),linear-gradient(140deg,#28283c66,#1b223866)}.portal-card:nth-child(3n) .portal-art{background:radial-gradient(ellipse at 50% 40%,#ddbe8416,transparent 72%),linear-gradient(140deg,#2c2d3655,#17243755)}.portal-scene{width:100%;height:100%;max-width:360px;overflow:visible;pointer-events:none}.scene-float{transition:transform .35s ease}.portal-card:hover .scene-float{transform:translateY(-5px)}.portal-card:hover{border-color:#90c9bd50;box-shadow:inset 0 1px 0 #fff1,0 18px 38px #0003}.portal-copy{padding:25px 26px 22px}.portal-copy h2{font-size:23px;color:#e3edf6;font-weight:700}.portal-copy p{color:#a7b8cb;line-height:1.95;font-size:15px;margin-bottom:23px}.portal-link{padding-top:16px;border-top:1px solid #b6cee411;color:#a4d8cc;font-size:13px}.portal-link>span{border:1px solid #93cdb51f;background:#83cfb914;border-radius:9px;color:#b2e8d8}.page-hero{padding-bottom:35px}.page-hero h1{color:#e5edf8}.page-hero p{font-size:16px;max-width:780px;line-height:2}.tag{border-color:#9fb2cb33;background:#b6cce606;color:#a6d5ca;font-size:12px}.category-card{background:linear-gradient(145deg,#19293d,#111c2e);border-color:#afc7d323}.card:not(.portal-card):not(.category-card){box-shadow:inset 0 1px 0 #ffffff07,0 12px 28px #02071420}.metric{color:#93dfca}.notice{border-radius:14px;line-height:1.9}.reference-footer-glass{background:linear-gradient(135deg,#152035da,#101a2dda);border-color:#9eb9c825;box-shadow:0 -10px 35px #02071425}.reference-footer-bottom{border-color:#99b6c41a}.reference-contact a{transition:color .2s}.reference-battery>div{background:linear-gradient(90deg,#688aad,#83caba)}html[data-theme=light] .portal-card{background:#fff;border-color:#c9d7e2;box-shadow:0 12px 24px #1830470b}html[data-theme=light] .portal-copy h2{color:#182b42}html[data-theme=light] .portal-copy p{color:#53687d}html[data-theme=light] .portal-link{color:#287869;border-top-color:#cddce5}html[data-theme=light] .welcome-panel{background:linear-gradient(125deg,#e4edf4,#e9e7f1);border-color:#bccedb}html[data-theme=light] .welcome-panel h1{color:#172b42}html[data-theme=light] .welcome-panel p{color:#526579}html[data-theme=light] .welcome-panel .eyebrow{color:#397b70}html[data-theme=light] .welcome-visual .welcome-score{background:#f5faf4df}html[data-theme=light] .welcome-score strong{color:#257969}html[data-theme=light] .welcome-score span,html[data-theme=light] .welcome-score small{color:#435f70}html[data-theme=light] .page-hero h1{color:#182b42}html[data-theme=light] .category-card{background:#fff;color:#20374d}html[data-theme=light] .category-card>span:not(.art-icon){color:#52687a}html[data-theme=light] .category-card.filter-active{background:#e1f3ed!important;color:#173f35!important}@media(max-width:900px){.welcome-panel{padding:30px}.welcome-visual{width:240px}.welcome-visual .welcome-score{left:0;right:0}.portal-grid{gap:18px}.portal-copy{padding:23px}}@media(max-width:550px){.welcome-panel{min-height:0;padding:25px;border-radius:23px;gap:22px}.welcome-panel h1{font-size:30px}.welcome-panel p{font-size:15px}.welcome-visual{width:100%;height:165px;align-self:center}.welcome-visual>.portal-scene{max-width:240px;transform:translateY(-15px)}.welcome-visual .welcome-score{left:14px;right:14px;bottom:-2px;padding:5px 10px;justify-content:center;gap:8px}.welcome-visual .welcome-score small{padding-right:8px;font-size:11px}.welcome-cta{margin-top:16px;width:100%;justify-content:space-between}.portal-card{grid-template-columns:104px 1fr;border-radius:21px}.portal-art{height:100%;min-height:190px;display:grid;align-items:center;border:0;border-left:1px solid #c4d8e808}.portal-art .portal-scene{width:185px;max-width:none;height:auto;position:absolute;left:50%;transform:translateX(-50%)}.portal-copy{padding:20px 18px}.portal-copy h2{font-size:21px}.portal-copy p{font-size:14px;margin-bottom:15px}.portal-link{font-size:12px;padding-top:12px}.section-heading h2{font-size:21px}.page-hero p{font-size:15px}}@media(prefers-reduced-motion:reduce){.scene-float{transition:none}.portal-card:hover .scene-float{transform:none}}@media print{.welcome-visual,.portal-art{display:none}.welcome-panel{min-height:0;background:white!important;border:1px solid #aaa}.welcome-panel:before{display:none}}

.systems-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.systems-detail-grid li{margin-block:12px;line-height:1.9}.systems-detail-grid>article>.shell-svg{margin-bottom:10px}@media(max-width:700px){.systems-detail-grid{grid-template-columns:1fr}}
/* Tool library: preserve examples, add sculpted artwork and file trays. */
.library-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important}.library-tool-card{position:relative;overflow:hidden;border-radius:26px!important;border:1px solid rgba(159,177,208,.2)!important;background:linear-gradient(145deg,rgba(44,57,79,.75),rgba(19,29,46,.92))!important;box-shadow:0 12px 0 -7px rgba(8,13,24,.8),0 25px 45px -30px #000;transition:transform .25s,box-shadow .25s}.library-tool-card:hover{transform:translateY(-6px);box-shadow:0 16px 0 -8px rgba(8,13,24,.8),0 30px 50px -25px rgba(81,169,173,.35)}.library-tool-scene{margin:-20px -20px 15px;background:radial-gradient(ellipse at 50% 60%,rgba(119,183,199,.13),transparent 70%);height:165px;display:flex;justify-content:center}.library-tool-scene .portal-scene{height:165px;width:100%;max-width:280px}.library-tool-card p{font-size:14px!important;line-height:1.9!important}.library-tool-card h3{font-size:20px!important}.tool-try-button{margin-top:10px;background:rgba(135,211,200,.08);border:1px solid rgba(135,211,200,.25);color:inherit;display:flex;align-items:center;justify-content:center;gap:8px}.library-attachments{margin-top:20px;padding-top:16px;border-top:1px solid rgba(160,181,212,.15)}.library-attachments h4{display:flex;gap:8px;align-items:center;font-size:14px}.library-attachments h4 span{margin-inline-start:auto;color:#91a6c3;font-size:12px}.library-attachments .muted,.library-attachments small{font-size:12px!important}.tool-file-link{display:flex;align-items:center;gap:10px;padding:10px;margin-top:8px;border-radius:12px;background:rgba(140,174,211,.07);overflow-wrap:anywhere}.tool-file-link small{display:block;color:#9daec4}.library-attachments details{margin-top:12px}.library-attachments form{margin-top:12px}.library-terminal{scroll-margin-top:24px}.library-terminal #tools-terminal{height:540px}.library-terminal .terminal-body{min-height:350px}body.light-mode .library-tool-card{background:linear-gradient(145deg,#fff,#eaf1f8)!important;color:#192c42}@media(max-width:1050px){.library-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:650px){.library-tool-grid{grid-template-columns:1fr!important}}@media(prefers-reduced-motion:reduce){.library-tool-card{transition:none}.library-tool-card:hover{transform:none}}
html[data-theme=light] .library-tool-card{background:linear-gradient(145deg,#fff,#eaf1f8)!important;color:#192c42}html[data-theme=light] .library-tool-card h3,html[data-theme=light] .library-tool-card p{color:#243c54!important}html[data-theme=light] .library-attachments small{color:#536b83}html[data-theme=light] .tool-try-button{color:#155d58}
/* Dedicated terminal uses the page width, with no floating window shell. */
.container.terminal-full-page{max-width:none;width:100%;padding-inline:clamp(16px,3vw,56px)}.terminal-full-page .page-hero{padding-block:20px 26px}.terminal-full-page .tool-page{width:100%;max-width:none}.terminal-full-page #tools-terminal{height:auto!important;min-height:70vh;gap:12px!important}.terminal-full-page #tools-terminal>h3{display:none}.terminal-full-page .terminal-container{width:100%!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#080e15!important;display:flex;flex-direction:column;min-height:70vh}.terminal-full-page .terminal-header{border-radius:0!important;padding:10px 20px;background:#101a25!important}.terminal-full-page .terminal-dot{display:none}.terminal-full-page .terminal-body{flex:1;height:70vh!important;min-height:420px;max-height:none!important;padding:24px!important;font-size:15px;overflow:auto}.terminal-full-page .terminal-input{font-size:15px!important;min-width:0!important}.terminal-full-page .terminal-line{overflow-wrap:anywhere}.capture-hero{display:grid;grid-template-columns:minmax(0,1fr) 260px;align-items:center;gap:24px}.capture-title-3d{font-family:Tajawal,sans-serif;font-weight:800;font-size:clamp(34px,4vw,54px)!important;line-height:1.5!important;color:#effffc!important;text-shadow:0 1px 0 #a4d8cf,0 2px 0 #64998f,0 3px 0 #3c6d66,0 5px 1px #203e43,0 12px 20px #0006;letter-spacing:0}.capture-title-3d span{display:block;color:#b4a3ed;font-size:.78em;text-shadow:0 1px 0 #8976bf,0 2px 0 #62558e,0 3px 0 #3c345d,0 10px 20px #0005;margin-top:6px}.capture-hero-art .portal-scene{width:100%;height:auto;filter:drop-shadow(0 18px 18px #0004)}html[data-theme=light] .capture-title-3d{color:#204d50!important;text-shadow:0 1px 0 #bcdbd6,0 2px 0 #8fb8b1,0 3px 0 #719a96,0 10px 18px #284b4b22}html[data-theme=light] .capture-title-3d span{color:#6b4eab;text-shadow:0 1px 0 #c9b9e4,0 2px 0 #a592c5,0 9px 18px #60478122}@media(max-width:650px){.capture-hero{grid-template-columns:1fr;gap:0}.capture-hero-art{display:none}.terminal-full-page .terminal-body{padding:16px!important;font-size:13px}.terminal-full-page .terminal-input{font-size:13px!important}}
.discussion-legend{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px}.discussion-legend>span{display:flex;align-items:center;gap:8px;padding:9px 15px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.author-admin{color:#ff727c}.author-first{color:#73a7ff}.author-supervisor{color:#caa477}.author-participant{color:#f4f6fc}.discussion-author{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:14px}.discussion-avatar{width:38px;height:38px;display:grid;place-items:center;border:1px solid currentColor;border-radius:13px;background:#ffffff09}.discussion-role{font-size:11px;padding:2px 8px;border-radius:8px;background:#ffffff0b}.discussion-author time{font-size:11px;color:var(--muted);margin-inline-start:auto}.discussion-body{white-space:normal;overflow-wrap:anywhere;line-height:2}.discussion-post:has(.author-admin) .discussion-body{color:#ff858d}.discussion-post:has(.author-first) .discussion-body{color:#83b1ff}.discussion-post:has(.author-supervisor) .discussion-body{color:#d2b08b}.discussion-post:has(.author-participant) .discussion-body{color:#f4f6fc}.discussion-post{margin-top:20px}.discussion-hidden{opacity:.7;border-style:dashed}.discussion-moderation{margin-top:16px}.discussion-moderation button{font-size:12px;padding:6px 12px}.discussion-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.discussion-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:24px 0}.discussion-toolbar input{margin:0}.discussion-question p{overflow-wrap:anywhere}.discussion-guidance{font-size:13px}textarea{display:block;width:100%;font:inherit;line-height:1.9;color:inherit;background:#0a1424;border:1px solid var(--line);border-radius:14px;padding:14px;margin:8px 0 18px;resize:vertical}textarea:focus{outline:2px solid #4de3d170}html[data-theme=light] textarea{background:#fff;color:#1b3047}html[data-theme=light] .discussion-legend>span{background:#17263a}html[data-theme=light] .discussion-author{background:#17263a;padding:10px;border-radius:14px}html[data-theme=light] .discussion-post:has(.author-participant) .discussion-body{color:#23344c}html[data-theme=light] .discussion-post:has(.author-admin) .discussion-body{color:#b82736}html[data-theme=light] .discussion-post:has(.author-first) .discussion-body{color:#225db3}html[data-theme=light] .discussion-post:has(.author-supervisor) .discussion-body{color:#79512b}@media(max-width:650px){.discussion-grid{grid-template-columns:1fr}.discussion-toolbar{align-items:stretch;flex-direction:column}.discussion-author time{width:100%;margin:0}}
.arena-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.arena-detail-grid h2{display:flex;align-items:center;gap:10px}.arena-detail-grid li{margin-block:10px;line-height:1.9}.arena-safety{border-color:#d9ad6855;background:linear-gradient(145deg,#3a30272b,#111d2c)}.arena-entry{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.arena-entry>div{flex:1;min-width:230px}.arena-welcome h1{overflow-wrap:anywhere}@media(max-width:650px){.arena-detail-grid{grid-template-columns:1fr}.arena-entry{align-items:stretch;flex-direction:column}}
.challenge-card{position:relative;border-radius:26px;overflow:hidden;background:radial-gradient(ellipse at 90% 0,#729fb817,transparent 55%),linear-gradient(145deg,#1b2a40,#101a2b);box-shadow:0 12px 0 -8px #07101a,0 24px 40px -30px #000;transition:transform .2s,border-color .2s}.challenge-card:hover{transform:translateY(-3px);border-color:#79b8b866}.challenge-card-status{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:18px;flex-wrap:wrap}.challenge-manage{font-size:12px;color:#a7d8d0;padding:5px 8px;border:1px solid #87b5ad33;border-radius:9px}.challenge-card:has(input:disabled){border-color:#7f90a34d}.challenge-card h2{font-size:22px;line-height:1.6}.permission-chain{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.permission-chain span{display:flex;align-items:center;gap:8px;background:#8399bd0b;border:1px solid var(--line);padding:10px 14px;border-radius:14px;font-size:13px}.permission-chain b{color:var(--cyan)}.challenge-search{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px;align-items:end}.challenge-search input,.challenge-search select{margin-bottom:0}.category-card{box-shadow:0 14px 26px -20px #0008}.category-card .art-icon{transform:rotate(-5deg);box-shadow:4px 7px 0 #070e1944,0 12px 20px #0003}html[data-theme=light] .challenge-card{background:linear-gradient(145deg,#fff,#edf4f8)}html[data-theme=light] .challenge-manage{color:#17635e}@media(max-width:650px){.challenge-search{grid-template-columns:1fr}.permission-chain{flex-direction:column;align-items:stretch}.permission-chain b{transform:rotate(-90deg);align-self:center}}@media(prefers-reduced-motion:reduce){.challenge-card{transition:none}.challenge-card:hover{transform:none}}
.challenge-card .scenario-art{display:block;height:165px;margin:-25px -25px 18px;color:#96d7cc;background:radial-gradient(ellipse at center,#91b7c41c,transparent 75%)}.scenario-art .portal-scene{width:100%;height:165px}.challenge-card h2{font-size:25px!important;line-height:1.65}.challenge-card .challenge-desc{font-size:18px!important;line-height:2!important}.scenario-open{width:100%;text-align:center;margin-top:14px;background:#79cdbc18;border:1px solid #79cdbc44;color:#b4e5db}.scenario-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:24px;align-items:start}.scenario-reading .challenge-desc{font-size:21px!important;line-height:2.1!important}.scenario-reading .challenge-desc svg{max-width:100%;height:auto}.scenario-reading .challenge-desc pre{overflow:auto}.scenario-welcome h1{font-size:clamp(25px,3vw,38px);line-height:1.7}.scenario-badges{display:flex;flex-wrap:wrap;gap:10px}.scenario-return{display:block;text-align:center;margin-top:20px}.scenario-solve{position:sticky;top:20px}.scenario-solve .notice{overflow-wrap:anywhere}.scenario-solve button{width:100%}html[data-theme=light] .scenario-open{color:#175e56;background:#d8eeea}@media(max-width:800px){.scenario-layout{grid-template-columns:1fr}.scenario-solve{position:static}.scenario-reading .challenge-desc{font-size:19px!important}}
.presentation-preview{display:inline-flex;align-items:center;gap:8px;margin-top:8px;font-size:13px;color:#91dbcc}.topic-card .library-attachments{margin-top:20px}.topic-card input[type=file]{max-width:100%;font-size:12px}.topic-card .library-attachments form button{width:100%}.topic-card .tool-file-link{word-break:break-word}html[data-theme=light] .presentation-preview{color:#136459}

/* A photographic welcome scene gives the dashboard a living first viewport. */
.welcome-visual{min-height:220px;border:1px solid #c5e3df32;border-radius:24px;overflow:hidden;isolation:isolate;background:#102331;box-shadow:0 18px 34px #02071455}
.welcome-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 48%;opacity:.86;filter:saturate(.78) contrast(1.08);animation:welcome-photo-drift 18s ease-in-out infinite alternate;z-index:-2}
.welcome-photo-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#08131b12 10%,#08131b55 55%,#07111de8 100%),linear-gradient(90deg,#0b172d40,#12272b12)}
.welcome-live{position:absolute;top:14px;right:14px;display:flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid #d7f4e83b;border-radius:999px;background:#0a192ac7;color:#e5f7f1;font-size:11px;backdrop-filter:blur(12px)}
.welcome-live span{width:8px;height:8px;border-radius:50%;background:#75e0b2;box-shadow:0 0 0 4px #75e0b222,0 0 14px #75e0b2;animation:welcome-pulse 2s ease-out infinite}
.welcome-visual .welcome-score{z-index:1;box-shadow:0 10px 30px #0004}
@keyframes welcome-photo-drift{from{transform:scale(1)}to{transform:scale(1.07)}}
@keyframes welcome-pulse{50%{box-shadow:0 0 0 7px #75e0b20b,0 0 18px #75e0b2}}
@media(max-width:550px){.welcome-visual{min-height:165px}.welcome-live{top:10px;right:10px;padding:5px 9px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.welcome-photo,.welcome-live span{animation:none}}

/* Oman CTF visual system: vivid signal colors, controlled glow, and real imagery. */
:root{--bg:#080d17;--panel:#111a29;--line:#35445a;--cyan:#39e5f5;--muted:#a7b5c8;--signal-red:#ff5d78;--signal-violet:#a88cff;--signal-green:#5fe0a5;--signal-gold:#ffd166}
body{background-color:var(--bg);background-image:linear-gradient(#83d9e108 1px,transparent 1px),linear-gradient(90deg,#83d9e108 1px,transparent 1px),linear-gradient(135deg,#080d17,#0b1421 58%,#101426);background-size:44px 44px,44px 44px,auto;background-attachment:fixed}
.reference-header{background:linear-gradient(105deg,#0b1522f5,#111b2bf5);border-bottom-color:#39e5f53b;box-shadow:0 10px 32px #0005,inset 0 -1px #ff5d7810}
.reference-header .brand-icon{background:linear-gradient(145deg,#12cddd,#2869c4);border-color:#7cecf455;box-shadow:inset 0 1px 0 #ffffff55,0 0 22px #21cfe633}
.reference-header .brand b,.portal-nav>a:hover,.portal-nav>a.nav-active .nav-icon{color:var(--cyan)}
.reference-status{border-color:#39e5f52b;background:#0d2532a8}.connection-dot{box-shadow:0 0 0 4px #5fe0a522,0 0 13px #5fe0a5;animation:signal-beat 2s ease-in-out infinite}
.reference-header .score-pill{background:#33271255;border-color:#ffd16666}.reference-header .score-pill strong,.reference-header .score-pill small{color:var(--signal-gold)}
.portal-nav>a.nav-active{background:linear-gradient(110deg,#07333dba,#20203a99);border-color:#39e5f544;box-shadow:inset 0 1px #ffffff10,0 6px 20px #0004}
.card{border-color:#8da7c12b;background:linear-gradient(145deg,#142236ed,#0e1827f2);box-shadow:0 14px 32px #02071144,inset 0 1px #ffffff08}
.portal-card{border-color:#8da7c12d}.portal-card:hover{border-color:#39e5f588;box-shadow:0 18px 38px #02071166,0 0 24px #39e5f51c}
.portal-grid .portal-card:nth-child(4n+1){--card-accent:#39e5f5}.portal-grid .portal-card:nth-child(4n+2){--card-accent:#ff5d78}.portal-grid .portal-card:nth-child(4n+3){--card-accent:#a88cff}.portal-grid .portal-card:nth-child(4n){--card-accent:#ffd166}
.portal-card .portal-art{border-bottom:1px solid color-mix(in srgb,var(--card-accent,#39e5f5) 28%,transparent);background:radial-gradient(ellipse at 50% 70%,color-mix(in srgb,var(--card-accent,#39e5f5) 11%,transparent),transparent 70%)}
.portal-card .portal-link{color:var(--card-accent,var(--cyan))}.portal-card:hover .portal-link span{color:#fff}
.page-hero .eyebrow,.section-heading small{color:#65dfee}.tag{border-color:#39e5f54d;background:#39e5f512;color:#9ef5ff}
.section-heading{border-color:#8da7c128}.section-heading h2{color:#f2f7ff}
.challenge-card{border-color:#72859d44;background:radial-gradient(ellipse at 90% 0,#39e5f51a,transparent 56%),linear-gradient(145deg,#17263b,#0e1828);box-shadow:0 12px 0 -8px #060c15,0 24px 40px -30px #000, inset 0 1px #ffffff0b}
.challenge-card:hover{border-color:#39e5f588;box-shadow:0 12px 0 -8px #060c15,0 24px 42px -26px #000,0 0 22px #39e5f51c}
.challenge-card .scenario-art{background:radial-gradient(ellipse at center,#39e5f526,transparent 74%)}
.category-card{border-color:#8da7c13b;background:linear-gradient(145deg,#16283c,#101a2a)}.category-card:hover{border-color:#39e5f588;box-shadow:0 14px 28px #0005,0 0 22px #39e5f51b}
.button:not(.secondary),.welcome-cta,.auth-box button,.flag-form button:not(:disabled){box-shadow:0 6px 20px #39e5f525}.button:not(.secondary):hover,.welcome-cta:hover,.auth-box button:hover,.flag-form button:not(:disabled):hover{box-shadow:0 8px 26px #39e5f54a;transform:translateY(-1px)}
.auth-layout{background:linear-gradient(115deg,#070c16,#0a1422 58%,#101324)}
.auth-story{overflow:hidden;background:linear-gradient(90deg,#07111be8 0%,#09131be0 45%,#09131b91 100%),linear-gradient(0deg,#07111be0,transparent 72%),url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1500&q=85') center/cover no-repeat;border-left-color:#39e5f536}
.auth-story .brand-icon{background:linear-gradient(145deg,#12cddd,#2869c4);box-shadow:0 0 24px #21cfe644}.auth-story h1{color:#f1f7ff;text-shadow:0 5px 26px #0008}.auth-story strong{color:#54ecfa;text-shadow:0 0 18px #39e5f55c}
.auth-story .terminal{background:#07111de0;border-color:#39e5f54a;box-shadow:0 18px 45px #0006,0 0 28px #39e5f512;backdrop-filter:blur(12px)}
.auth-box{padding:34px;border:1px solid #7ea0c03d;border-radius:20px;background:linear-gradient(145deg,#131f30ed,#0e1727f2);box-shadow:0 24px 70px #0005,inset 0 1px #ffffff0c;backdrop-filter:blur(16px)}
.auth-box .eyebrow{color:#68e8f5}.auth-box h2{color:#f4f7fc}.auth-box label{color:#cad6e6}
.input:focus,input:focus,select:focus,textarea:focus{outline-color:#39e5f587;box-shadow:0 0 0 4px #39e5f51a}
.reference-footer{border-top-color:#39e5f52b;background:#0c1522}.reference-footer-glass{background:linear-gradient(110deg,#101a2bf2,#111a2af0);border-color:#9cb3ce22}
.welcome-panel{border-color:#39e5f54d;box-shadow:inset 0 1px #ffffff10,0 24px 56px #02071455,0 0 34px #39e5f512}
@keyframes signal-beat{50%{box-shadow:0 0 0 7px #5fe0a510,0 0 18px #5fe0a5}}
html[data-theme=light] body{background-color:#edf4f7;background-image:linear-gradient(#287b8910 1px,transparent 1px),linear-gradient(90deg,#287b8910 1px,transparent 1px),linear-gradient(135deg,#f4f8fa,#eaf2f7 60%,#f4eff7);color:#142337}
html[data-theme=light] .card{border-color:#7693a644;background:linear-gradient(145deg,#ffffffed,#eff5f8f5);box-shadow:0 12px 30px #25415c14}
html[data-theme=light] .portal-card .portal-art{background:radial-gradient(ellipse at 50% 70%,color-mix(in srgb,var(--card-accent,#168eaa) 12%,transparent),transparent 70%)}
html[data-theme=light] .section-heading h2{color:#142337}html[data-theme=light] .auth-layout{background:linear-gradient(115deg,#edf4f7,#e9f0f6 58%,#f3eff8)}
html[data-theme=light] .auth-box{background:#f7fafceF;border-color:#7893aa66;box-shadow:0 24px 60px #18354d20}html[data-theme=light] .auth-box h2{color:#142337}html[data-theme=light] .auth-box label{color:#334a60}
@media(prefers-reduced-motion:reduce){.connection-dot{animation:none}.portal-card,.category-card,.button,.welcome-cta{transition:none}}
@media(max-width:550px){.reference-header .header-primary{grid-template-columns:minmax(0,1fr) auto;gap:8px;min-width:0}.reference-header .brand{grid-column:1/-1;grid-row:1}.reference-header .header-identity{grid-column:1/-1;grid-row:2;width:100%;min-width:0;justify-content:flex-start}.reference-header .header-identity strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reference-header .score-pill{grid-column:1;grid-row:3}.reference-header .reference-actions{grid-column:2;grid-row:3;min-width:0;gap:4px}.reference-actions>a[aria-label="حسابي"]{display:none}.reference-actions form{min-width:0}.reference-actions .reference-logout{padding:5px 7px;font-size:10px}}
.metric{color:#51e8f4;text-shadow:0 0 18px #39e5f533}.challenge-meta strong{color:#51e8f4}
.welcome-cta{background:linear-gradient(110deg,#43eaf3,#73b8ff);color:#071722;border-color:#c6ffff55;box-shadow:0 8px 26px #39e5f533}
.category-grid>.category-card:nth-child(6n+1){--category-accent:#36e6f5}.category-grid>.category-card:nth-child(6n+2){--category-accent:#b68cff}.category-grid>.category-card:nth-child(6n+3){--category-accent:#ff617d}.category-grid>.category-card:nth-child(6n+4){--category-accent:#69e3a7}.category-grid>.category-card:nth-child(6n+5){--category-accent:#ffd166}.category-grid>.category-card:nth-child(6n){--category-accent:#ff9c68}
.category-grid>.category-card{position:relative;overflow:hidden;border-top:2px solid var(--category-accent);background:radial-gradient(ellipse at 88% 0,color-mix(in srgb,var(--category-accent) 18%,transparent),transparent 66%),linear-gradient(145deg,#17253a,#101a2a)}
.category-grid .category-card .art-icon{color:var(--category-accent);background:color-mix(in srgb,var(--category-accent) 13%,#111a29);border:1px solid color-mix(in srgb,var(--category-accent) 40%,transparent)}
.category-grid .category-card small,.category-grid .category-card>span:last-child{color:var(--category-accent)}
.category-grid .category-card.filter-active{border-color:var(--category-accent)!important;background:linear-gradient(140deg,color-mix(in srgb,var(--category-accent) 23%,#111a29),#142036)!important;box-shadow:0 12px 30px #0004,0 0 26px color-mix(in srgb,var(--category-accent) 22%,transparent)}
html[data-theme=light] .category-grid>.category-card{background:radial-gradient(ellipse at 88% 0,color-mix(in srgb,var(--category-accent) 14%,transparent),transparent 66%),linear-gradient(145deg,#fff,#eff5f8)}
html[data-theme=light] .category-grid .category-card.filter-active{background:linear-gradient(140deg,color-mix(in srgb,var(--category-accent) 19%,white),#f3f7fa)!important}

/* Arsenal and tool library: photo-led surfaces inspired by the supplied CTF design. */
.arsenal-page .page-hero.lesson-hero{isolation:isolate;overflow:hidden;min-height:270px;padding:38px clamp(24px,5vw,64px);border:1px solid #39e5f53b;border-radius:26px;background:linear-gradient(100deg,#08131beb 0%,#0a1525de 55%,#1116299c 100%),url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1600&q=85') center 48%/cover no-repeat;box-shadow:0 22px 52px #0005,inset 0 1px #ffffff10}
.arsenal-page .page-hero.lesson-hero:before{width:260px;height:260px;left:4%;top:5%;border-color:#39e5f52b;box-shadow:0 0 0 32px #39e5f510,0 0 0 66px #ff5d780a}
.arsenal-page .page-hero.lesson-hero>div:first-child{position:relative;z-index:1;max-width:720px}
.arsenal-page .page-hero.lesson-hero .icon3d{position:relative;z-index:1;width:116px;height:116px;margin:0;border-radius:30px;transform:rotate(-7deg);color:#4cf0f5;font-size:64px;background:linear-gradient(145deg,#39e5f536,#a88cff22);border:1px solid #b4ffff55;box-shadow:inset 1px 1px #ffffff55,0 12px 0 #08101b99,0 0 42px #39e5f544;animation:arsenal-float 5s ease-in-out infinite}
.arsenal-page>.grid:not(.portal-grid)>.card{position:relative;isolation:isolate;overflow:hidden;min-height:340px;padding:25px;border-color:#8da7c143;background:#101b2ceF;transition:transform .25s,border-color .25s,box-shadow .25s}
.arsenal-page>.grid:not(.portal-grid)>.card:before{content:'';position:absolute;inset:0 0 auto;height:190px;z-index:-1;background-position:center;background-size:cover;opacity:.77;mask-image:linear-gradient(#000 0%,#0008 65%,transparent 100%);transition:transform .6s,opacity .3s}
.arsenal-page>.grid:not(.portal-grid)>.card:nth-child(1):before{background-image:linear-gradient(120deg,#0716234d,#0b1b2b88),url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=900&q=80')}
.arsenal-page>.grid:not(.portal-grid)>.card:nth-child(2):before{background-image:linear-gradient(120deg,#08142344,#14122b88),url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=900&q=80')}
.arsenal-page>.grid:not(.portal-grid)>.card:nth-child(3):before{background-image:linear-gradient(120deg,#06151f44,#0a262588),url('https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?auto=format&fit=crop&w=900&q=80')}
.arsenal-page>.grid:not(.portal-grid)>.card:nth-child(4):before{background-image:linear-gradient(120deg,#11102444,#20143888),url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=900&q=80')}
.arsenal-page>.grid:not(.portal-grid)>.card:nth-child(5):before{background-image:linear-gradient(120deg,#17112344,#35182c88),url('https://images.unsplash.com/photo-1563013544-824ae1b704d3?auto=format&fit=crop&w=900&q=80')}
.arsenal-page>.grid:not(.portal-grid)>.card:nth-child(6):before{background-image:linear-gradient(120deg,#15170f44,#29301a88),url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=900&q=80')}
.arsenal-page>.grid:not(.portal-grid)>.card:nth-child(1){--arsenal-accent:#4be9f4}.arsenal-page>.grid:not(.portal-grid)>.card:nth-child(2){--arsenal-accent:#a88cff}.arsenal-page>.grid:not(.portal-grid)>.card:nth-child(3){--arsenal-accent:#62e4ac}.arsenal-page>.grid:not(.portal-grid)>.card:nth-child(4){--arsenal-accent:#ff6985}.arsenal-page>.grid:not(.portal-grid)>.card:nth-child(5){--arsenal-accent:#ffd166}.arsenal-page>.grid:not(.portal-grid)>.card:nth-child(6){--arsenal-accent:#ff9c68}
.arsenal-page>.grid:not(.portal-grid)>.card .icon3d{position:relative;z-index:1;border:1px solid color-mix(in srgb,var(--arsenal-accent) 50%,transparent);background:color-mix(in srgb,var(--arsenal-accent) 22%,#102035);color:var(--arsenal-accent)}
.arsenal-page>.grid:not(.portal-grid)>.card .lesson-number{position:relative;color:var(--arsenal-accent)}
.arsenal-page>.grid:not(.portal-grid)>.card .button.secondary{margin-top:auto;width:max-content;max-width:100%;border-color:color-mix(in srgb,var(--arsenal-accent) 45%,transparent);color:var(--arsenal-accent);background:color-mix(in srgb,var(--arsenal-accent) 10%,#131d2d)}
.arsenal-page>.grid:not(.portal-grid)>.card:hover{transform:translateY(-5px);border-color:color-mix(in srgb,var(--arsenal-accent) 65%,transparent);box-shadow:0 22px 42px #0006,0 0 24px color-mix(in srgb,var(--arsenal-accent) 16%,transparent)}
.arsenal-page>.grid:not(.portal-grid)>.card:hover:before{transform:scale(1.05);opacity:.96}
.arsenal-library-page .page-hero{position:relative;isolation:isolate;overflow:hidden;padding:30px clamp(20px,4vw,48px);border:1px solid #39e5f532;border-radius:22px;background:linear-gradient(100deg,#09131ceb,#0c1727d7 62%,#101628a3),url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat}
.arsenal-library-page .page-hero:before{width:170px;height:170px;left:4%;top:5%;border-color:#39e5f526}
.arsenal-library-page .library-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important}
.arsenal-library-page .library-tool-card{--tool-accent:#4be9f4;min-height:470px;border-radius:18px!important;border:1px solid color-mix(in srgb,var(--tool-accent) 32%,#53647a)!important;border-top:2px solid var(--tool-accent)!important;background:linear-gradient(160deg,#101a2ce8,#0d1726f7)!important;box-shadow:0 18px 38px #0004,inset 0 1px #ffffff0c;transition:transform .25s,border-color .25s,box-shadow .25s}
.arsenal-library-page .library-tool-card:nth-child(3n+1){--tool-accent:#42e5f4}.arsenal-library-page .library-tool-card:nth-child(3n+2){--tool-accent:#ff8a62}.arsenal-library-page .library-tool-card:nth-child(3n){--tool-accent:#a88cff}
.arsenal-library-page .library-tool-scene{position:relative;height:180px;margin:-20px -20px 18px;overflow:hidden;background-image:linear-gradient(180deg,#09132110,#0b1427c7),url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=900&q=80');background-position:center;background-size:cover}
.arsenal-library-page .library-tool-card:nth-child(3n+2) .library-tool-scene{background-image:linear-gradient(180deg,#09132110,#0b1427d1),url('https://images.unsplash.com/photo-1563013544-824ae1b704d3?auto=format&fit=crop&w=900&q=80')}
.arsenal-library-page .library-tool-card:nth-child(3n) .library-tool-scene{background-image:linear-gradient(180deg,#09132110,#0b1427d1),url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=900&q=80')}
.arsenal-library-page .library-tool-scene:after{content:'';position:absolute;inset:auto 0 0;height:60%;background:linear-gradient(transparent,#0e1928)}
.arsenal-library-page .library-tool-scene .portal-scene{position:relative;z-index:1;height:180px;filter:drop-shadow(0 9px 18px #0009);transition:transform .45s}
.arsenal-library-page .library-tool-card:hover{transform:translateY(-5px);border-color:color-mix(in srgb,var(--tool-accent) 70%,white)!important;box-shadow:0 23px 46px #0006,0 0 25px color-mix(in srgb,var(--tool-accent) 17%,transparent)}
.arsenal-library-page .library-tool-card:hover .portal-scene{transform:translateY(-4px) scale(1.04)}
.arsenal-library-page .library-tool-card h3{font-size:21px!important}.arsenal-library-page .library-tool-card .tool-try-button{border-color:color-mix(in srgb,var(--tool-accent) 38%,transparent);color:var(--tool-accent);background:color-mix(in srgb,var(--tool-accent) 9%,#101a29)}
.arsenal-library-page .library-tool-card>button:not(.tool-try-button){border-color:color-mix(in srgb,var(--tool-accent) 55%,transparent)!important}
html[data-theme=light] .arsenal-page>.grid:not(.portal-grid)>.card,html[data-theme=light] .arsenal-library-page .library-tool-card{background-color:#142135!important}
html[data-theme=light] .arsenal-library-page .page-hero{color:#f2f7fc}
@keyframes arsenal-float{50%{transform:translateY(-7px) rotate(-4deg)}}
@media(max-width:850px){.arsenal-library-page .library-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.arsenal-page .page-hero.lesson-hero{min-height:240px}.arsenal-page .page-hero.lesson-hero .icon3d{width:92px;height:92px;font-size:52px}}
@media(max-width:550px){.arsenal-page .page-hero.lesson-hero{min-height:0;padding:25px 20px;background-position:60% center}.arsenal-page .page-hero.lesson-hero .icon3d{display:none}.arsenal-page>.grid:not(.portal-grid){grid-template-columns:1fr!important}.arsenal-page>.grid:not(.portal-grid)>.card{min-height:300px}.arsenal-library-page .library-tool-grid{grid-template-columns:1fr!important;gap:17px!important}.arsenal-library-page .library-tool-card{min-height:430px}.arsenal-library-page .page-hero{padding:24px 20px}.arsenal-library-page .library-tool-scene{height:160px}.arsenal-library-page .library-tool-scene .portal-scene{height:160px}}
@media(prefers-reduced-motion:reduce){.arsenal-page .page-hero.lesson-hero .icon3d{animation:none}.arsenal-page>.grid:not(.portal-grid)>.card,.arsenal-library-page .library-tool-card,.arsenal-library-page .library-tool-scene .portal-scene{transition:none}}
.system-readiness-page>a:first-child{display:inline-flex;align-items:center;gap:8px;margin:2px 0 16px;padding:7px 12px;border:1px solid #728aa53b;border-radius:10px;background:#101b2ab8;color:#afc3d8;font-size:13px;transition:color .2s,border-color .2s,background .2s}
.system-readiness-page>a:first-child:hover{color:#58e8f2;border-color:#58e8f266;background:#12303a}
.system-readiness-page .page-hero{position:relative;isolation:isolate;overflow:hidden;min-height:250px;padding:38px clamp(22px,5vw,58px);border:1px solid #39e5f54a;border-radius:24px;background:linear-gradient(100deg,#08131deb 0%,#0a1525de 57%,#10162996 100%),url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1500&q=85') center 48%/cover no-repeat;box-shadow:0 22px 50px #0005,inset 0 1px #ffffff10}
.system-readiness-page .page-hero:before{content:'';position:absolute;width:210px;height:210px;left:3%;top:7%;border:1px solid #42e8ef35;border-radius:50%;box-shadow:0 0 0 32px #42e8ef10,0 0 0 65px #a88cff0a;pointer-events:none}
.system-readiness-page .page-hero .eyebrow{position:relative;z-index:1;display:inline-flex;padding:6px 11px;border:1px solid #49e5ec48;border-radius:999px;background:#0b1d2bc7;color:#9af3f4;letter-spacing:.4px}
.system-readiness-page .page-hero h1,.system-readiness-page .page-hero p{position:relative;z-index:1}.system-readiness-page .page-hero h1{color:#f5f8ff;text-shadow:0 5px 24px #0008}.system-readiness-page .page-hero p{max-width:700px;color:#c7d3e1}
.system-readiness-page .systems-detail-grid{gap:22px;margin-top:24px}
.system-readiness-page .systems-detail-grid>article{--readiness-accent:#47e5f3;position:relative;isolation:isolate;overflow:hidden;min-height:500px;padding:28px;border:1px solid color-mix(in srgb,var(--readiness-accent) 42%,#58677a)!important;border-top:2px solid var(--readiness-accent)!important;border-radius:20px;background:linear-gradient(160deg,#101a2ceb,#0d1726f7)!important;box-shadow:0 18px 42px #0004,inset 0 1px #ffffff0a}
.system-readiness-page .systems-detail-grid>article:nth-child(2){--readiness-accent:#b48aff}
.system-readiness-page .systems-detail-grid>article:before{content:'';position:absolute;inset:0 0 auto;height:185px;z-index:-1;background:linear-gradient(110deg,#08132138,#10162a9c),url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1000&q=80') center/cover;opacity:.74;mask-image:linear-gradient(#000 0%,#0008 66%,transparent 100%)}
.system-readiness-page .systems-detail-grid>article:nth-child(2):before{background-image:linear-gradient(110deg,#0b102538,#14102a9c),url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1000&q=80')}
.system-readiness-page .systems-detail-grid>article>.shell-icon{position:relative;z-index:1;display:block;width:54px;height:54px;margin-bottom:22px;padding:12px;border:1px solid color-mix(in srgb,var(--readiness-accent) 55%,transparent);border-radius:16px;background:color-mix(in srgb,var(--readiness-accent) 17%,#101a2b);color:var(--readiness-accent);box-shadow:0 8px 20px #0004}
.system-readiness-page .systems-detail-grid h2{position:relative;margin:0 0 18px;color:var(--readiness-accent);font-size:27px}
.system-readiness-page .systems-detail-grid ol{counter-reset:readiness-steps;list-style:none;padding:0;margin:0}
.system-readiness-page .systems-detail-grid ol li{counter-increment:readiness-steps;position:relative;min-height:42px;margin:0;padding:8px 42px 12px 0;border-bottom:1px solid #8da3bb1c;color:#d0dbea;line-height:1.9}
.system-readiness-page .systems-detail-grid ol li:before{content:counter(readiness-steps);position:absolute;right:0;top:9px;display:grid;place-items:center;width:27px;height:27px;border:1px solid color-mix(in srgb,var(--readiness-accent) 48%,transparent);border-radius:9px;background:color-mix(in srgb,var(--readiness-accent) 13%,#111a29);color:var(--readiness-accent);font:700 12px/1 Tajawal,sans-serif}
.system-readiness-page .systems-detail-grid article>p{margin:17px 0;color:#aabbd0;font-size:14px;line-height:1.9}
.system-readiness-page .systems-detail-grid article>a{display:inline-flex;align-items:center;gap:7px;margin-top:8px;padding:9px 12px;border:1px solid color-mix(in srgb,var(--readiness-accent) 42%,transparent);border-radius:10px;background:color-mix(in srgb,var(--readiness-accent) 9%,#111a29);color:var(--readiness-accent);font-size:13px}
.system-readiness-page .systems-detail-grid article>a:hover{background:color-mix(in srgb,var(--readiness-accent) 17%,#111a29)}
.system-readiness-page>.card.section{position:relative;isolation:isolate;overflow:hidden;margin-top:26px;padding:25px 28px;border:1px solid #ffd16645;border-right:4px solid #ffd166;background:linear-gradient(100deg,#191a27ee,#151c29ed 64%,#32291899),url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1300&q=80') center/cover}
.system-readiness-page>.card.section h2{color:#ffda80}.system-readiness-page>.card.section p{max-width:900px;color:#d0d7e2}
html[data-theme=light] .system-readiness-page .systems-detail-grid>article{background:linear-gradient(160deg,#142236f2,#101a2bf7)!important}
@media(max-width:700px){.system-readiness-page .page-hero{min-height:0;padding:27px 21px;background-position:58% center}.system-readiness-page .page-hero h1{font-size:32px}.system-readiness-page .systems-detail-grid{grid-template-columns:1fr;gap:16px}.system-readiness-page .systems-detail-grid>article{min-height:0;padding:22px}.system-readiness-page>.card.section{padding:22px}}
.windows-task-manager-guide{position:relative;margin:22px 0 18px;overflow:hidden;border:1px solid #4b9ff16b;border-radius:14px;background:linear-gradient(145deg,#111d2c,#0b131f);box-shadow:0 15px 34px #0005,inset 0 1px #ffffff10}
.windows-task-manager-guide:before{content:'WINDOWS 11 / TASK MANAGER';display:block;padding:9px 14px;border-bottom:1px solid #8297b126;background:linear-gradient(100deg,#1a2a3b,#152132);color:#8ec9ff;font:700 10px/1.4 Tajawal,sans-serif;letter-spacing:.6px}
.windows-task-manager-guide img{display:block;width:100%;height:auto;max-height:440px;object-fit:contain;background:#0b111a}
.windows-task-manager-guide figcaption{padding:13px 16px 15px;border-top:1px solid #8297b126;color:#b6c4d3;font-size:13px;line-height:1.9}
.windows-task-manager-guide figcaption strong{color:#7fdcff}.windows-task-manager-guide figcaption b{color:#d7e9fb}
html[data-theme=light] .windows-task-manager-guide{background:#111d2c}html[data-theme=light] .windows-task-manager-guide figcaption{color:#d1dce8}
@media(max-width:700px){.windows-task-manager-guide{margin:17px -3px 15px;border-radius:11px}.windows-task-manager-guide:before{font-size:9px}.windows-task-manager-guide figcaption{padding:11px 12px;font-size:12px}}
.terminal-full-page #tools-terminal{position:relative;padding-top:14px}
.terminal-full-page .terminal-container{min-height:70vh;border:1px solid #39e5f54d!important;border-radius:18px!important;overflow:hidden;background:#070d13!important;box-shadow:0 24px 60px #0007,0 0 32px #39e5f514!important}
.terminal-full-page .terminal-header{position:relative;min-height:46px;border-bottom:1px solid #8ba3bd24!important;background:linear-gradient(100deg,#172435,#111c2b)!important;padding:10px 17px!important}
.terminal-full-page .terminal-dot{display:block!important;width:10px;height:10px;box-shadow:0 0 10px currentColor}
.terminal-full-page .terminal-dot.bg-red-500{color:#ff647c}.terminal-full-page .terminal-dot.bg-yellow-500{color:#ffd166}.terminal-full-page .terminal-dot.bg-green-500{color:#5fe0a5}
.terminal-full-page .terminal-header>span{color:#c5d7e5!important}
.terminal-full-page .terminal-body{position:relative;background-color:#070c11!important;background-image:linear-gradient(#47d6e808 1px,transparent 1px),linear-gradient(90deg,#47d6e806 1px,transparent 1px)!important;background-size:28px 28px!important}
.terminal-full-page .terminal-body>div:first-child{padding:12px 15px;border:1px solid #39e5f52b;border-radius:12px;background:linear-gradient(120deg,#0c1a20d9,#101322d9);box-shadow:inset 0 1px #ffffff0a}
.terminal-full-page .terminal-body>div:first-child>p:first-child{color:#91f0c1!important}
.terminal-full-page .terminal-input{color:#ecfff5!important;caret-color:#5fe0a5!important}
@media(max-width:550px){.terminal-full-page.container{padding-inline:14px}.terminal-full-page #tools-terminal{min-height:64vh}.terminal-full-page .terminal-container{min-height:64vh;border-radius:14px!important}.terminal-full-page .terminal-body{min-height:350px;padding:15px!important;font-size:13px}.terminal-full-page .terminal-header{padding-inline:12px!important}.terminal-full-page .terminal-header>span{font-size:10px!important}}

/* Kali official downloads: one clear choice, one focused guide at a time. */
.kali-official-page{max-width:1320px}
.kali-official-page .kali-back-link{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;padding:7px 11px;border:1px solid #7c91aa3d;border-radius:10px;background:#101a29;color:#a9bbcf;font-size:13px}
.kali-official-page .kali-back-link:hover{color:#63e8f2;border-color:#63e8f266}
.kali-download-shell{overflow:hidden;border:1px solid #54698366;border-radius:18px;background:linear-gradient(145deg,#101a2a,#0c1522);box-shadow:0 22px 55px #0005,inset 0 1px #ffffff0b}
.kali-download-header{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:21px clamp(18px,3vw,34px);border-bottom:1px solid #8298b326;background:linear-gradient(105deg,#111d32,#131d30 65%,#17172a)}
.kali-download-header>div{min-width:0}.kali-download-header .eyebrow{display:block;margin-bottom:4px;color:#7da3bf;font-size:10px;letter-spacing:.7px}
.kali-download-header h1{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;column-gap:12px;row-gap:5px;margin:0;color:#f3f7ff;font-size:clamp(21px,2.3vw,29px);line-height:1.45}
.kali-download-header h1 .shell-icon{grid-column:1;grid-row:1;width:25px;height:25px;flex:none;color:#64a9ff;filter:drop-shadow(0 3px 5px #368cff55)}
.kali-download-header h1 .kali-title-main{grid-column:2;grid-row:1;min-width:0;color:#f3f7ff;font-size:1em;white-space:normal;overflow-wrap:anywhere}
.kali-download-header h1 .kali-format-badge{grid-column:2;grid-row:2;justify-self:start;padding:2px 8px;border:1px solid #65adf24a;border-radius:7px;background:#2769dd1a;color:#8fc2ff;font-size:12px;line-height:1.5;white-space:normal}
.kali-download-header>p{flex:0 1 290px;margin:0;color:#aab9cc;font-size:13px;line-height:1.8}
.kali-platform-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;padding:20px clamp(18px,3vw,34px) 5px}
.kali-platform-choice{--platform-accent:#62a7ff;position:relative;display:flex;min-width:0;min-height:96px;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:12px 10px;border:1px solid color-mix(in srgb,var(--platform-accent) 42%,#334155);border-radius:12px;background:linear-gradient(145deg,#090f19,#0c1321);color:#eef4ff;cursor:pointer;transition:transform .2s,border-color .2s,background .2s,box-shadow .2s}
.kali-platform-choice:nth-child(2){--platform-accent:#45d797}.kali-platform-choice:nth-child(3){--platform-accent:#c07aff}.kali-platform-choice:nth-child(4){--platform-accent:#f2c84b}
.kali-platform-choice:before{content:'';position:absolute;inset:0;border-radius:inherit;background:radial-gradient(ellipse at 50% 0,color-mix(in srgb,var(--platform-accent) 11%,transparent),transparent 75%);pointer-events:none}
.kali-platform-choice:hover{transform:translateY(-2px);border-color:var(--platform-accent);box-shadow:0 9px 22px #0005,0 0 18px color-mix(in srgb,var(--platform-accent) 15%,transparent)}
.kali-platform-choice.is-active{border-color:var(--platform-accent);background:linear-gradient(145deg,color-mix(in srgb,var(--platform-accent) 11%,#0c1422),#10192a);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--platform-accent) 18%,transparent),0 8px 24px #0005,0 0 23px color-mix(in srgb,var(--platform-accent) 17%,transparent)}
.kali-platform-choice.is-active:after{position:absolute;bottom:-1px;left:22%;right:22%;height:2px;border-radius:5px;background:var(--platform-accent);content:'';box-shadow:0 0 12px var(--platform-accent)}
.kali-platform-choice:focus-visible{outline:2px solid #eef6ff;outline-offset:3px}
.kali-platform-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:1px;border:1px solid color-mix(in srgb,var(--platform-accent) 35%,transparent);border-radius:13px;background:linear-gradient(145deg,color-mix(in srgb,var(--platform-accent) 24%,#152238),#0d1522);color:var(--platform-accent);box-shadow:inset 1px 1px #ffffff30,0 4px 0 #050b13,0 9px 15px #0007;transform:perspective(70px) rotateX(5deg) rotateY(-7deg)}
.kali-platform-icon .shell-icon{width:24px;height:24px;filter:drop-shadow(0 2px 3px currentColor)}
.kali-platform-choice strong{position:relative;font-size:14px;line-height:1.3}.kali-platform-choice small{position:relative;color:#8fa2ba;font-size:10px;line-height:1.4;text-align:center}
.kali-platform-panel{--platform-accent:#62a7ff;position:relative;margin:18px clamp(18px,3vw,34px) 22px;padding:22px clamp(18px,3vw,28px);border:1px solid color-mix(in srgb,var(--platform-accent) 38%,#41516a);border-radius:14px;background:linear-gradient(135deg,color-mix(in srgb,var(--platform-accent) 8%,#121d30),#111a2a 62%,#101725);box-shadow:inset 0 1px #ffffff09,0 16px 34px #0003;animation:kali-panel-enter .24s ease-out}
.kali-platform-panel[hidden]{display:none}.kali-platform-panel[data-kali-panel="vmware"]{--platform-accent:#45d797}.kali-platform-panel[data-kali-panel="hyperv"]{--platform-accent:#c07aff}.kali-platform-panel[data-kali-panel="qemu"]{--platform-accent:#f2c84b}
.kali-panel-heading{display:flex;align-items:center;gap:13px;margin-bottom:10px}.kali-panel-mark{display:grid;place-items:center;width:48px;height:48px;flex:none;border:1px solid color-mix(in srgb,var(--platform-accent) 47%,transparent);border-radius:14px;background:linear-gradient(145deg,color-mix(in srgb,var(--platform-accent) 20%,#15243a),#0b1421);color:var(--platform-accent);box-shadow:inset 1px 1px #ffffff35,0 5px 0 #070d18,0 11px 19px #0006;transform:perspective(70px) rotateX(4deg) rotateY(-6deg)}
.kali-panel-mark .shell-icon{width:27px;height:27px;filter:drop-shadow(0 2px 4px currentColor)}
.kali-panel-kicker{display:block;margin-bottom:3px;color:var(--platform-accent);font:700 10px/1.4 Tajawal,sans-serif;letter-spacing:.7px}
.kali-panel-heading h2{margin:0;color:var(--platform-accent);font-size:21px;line-height:1.5}
.kali-panel-intro{max-width:900px;margin:12px 0 18px;color:#b7c5d6;font-size:14px;line-height:1.9}
.kali-install-steps{display:grid;gap:0;margin:0;padding:0;list-style:none}
.kali-install-steps li{display:flex;align-items:flex-start;gap:13px;padding:12px 0;border-top:1px solid #8296af20}
.kali-install-steps li>span{display:grid;place-items:center;width:30px;height:30px;flex:none;border:1px solid color-mix(in srgb,var(--platform-accent) 45%,transparent);border-radius:9px;background:color-mix(in srgb,var(--platform-accent) 11%,#111a29);color:var(--platform-accent);font:700 11px/1 Tajawal,sans-serif}
.kali-install-steps strong{display:block;color:#ecf3fc;font-size:14px}.kali-install-steps p{margin:3px 0 0;color:#9eafc3;font-size:13px;line-height:1.8}.kali-install-steps code{direction:ltr;unicode-bidi:isolate;display:inline-block;padding:1px 6px;border:1px solid #93a9c126;border-radius:5px;background:#060c14;color:#c2eaff;font:12px/1.7 monospace}
.kali-action-row{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}.kali-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:8px 12px;border:1px solid transparent;border-radius:8px;font-size:12px;font-weight:700;line-height:1.4;transition:transform .18s,filter .18s,box-shadow .18s}
.kali-action:hover{transform:translateY(-2px);filter:brightness(1.1);box-shadow:0 6px 16px #0004}.kali-action .shell-icon{width:16px;height:16px}
.kali-action-primary{border-color:#4e91ff77;background:#2769dd;color:#fff}.kali-action-cyan{border-color:#50e8f37d;background:#13c9d6;color:#04151d}.kali-action-muted{border-color:#697b913d;background:#202d40;color:#e0e8f3}.kali-action-violet{border-color:#bd7aff66;background:#8739dc;color:#fff}
.kali-architecture-note{display:grid;grid-template-columns:55px minmax(0,1fr);gap:15px;align-items:start;margin:0 clamp(18px,3vw,34px) 20px;padding:18px 20px;border:1px solid #b87cff45;border-right:3px solid #b87cff;border-radius:12px;background:linear-gradient(110deg,#201637,#17182a 65%,#1c1930)}
.kali-architecture-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid #bd8cff5e;border-radius:14px;background:linear-gradient(145deg,#49306b,#1a1930);color:#d2aaff;box-shadow:inset 1px 1px #ffffff38,0 5px 0 #0b0d18,0 10px 16px #0005;transform:perspective(70px) rotateX(4deg) rotateY(-7deg)}
.kali-architecture-icon .shell-icon{width:25px;height:25px}.kali-architecture-note h2{margin:2px 0 5px;color:#d3adff;font-size:17px}.kali-architecture-note p{margin:0;color:#b6abc9;font-size:13px;line-height:1.8}.kali-architecture-note .kali-action-row{margin-top:11px}
.kali-post-install{margin:0 clamp(18px,3vw,34px) 24px;padding:17px 20px;border-top:1px solid #859bb324;background:linear-gradient(100deg,#131d2b,#121a27)}
.kali-post-install h2{display:flex;align-items:center;gap:9px;margin:0 0 8px;color:#93e7c7;font-size:16px}.kali-post-install h2 .shell-icon{width:20px;height:20px}.kali-post-install ul{display:flex;flex-wrap:wrap;gap:6px 22px;margin:0;padding:0 20px 0 0;color:#aebdd0;font-size:12px;line-height:1.8}.kali-post-install>a{display:inline-block;margin-top:9px;color:#79ddca;font-size:12px}
@keyframes kali-panel-enter{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:780px){.kali-download-header{align-items:flex-start;flex-direction:column;gap:5px}.kali-download-header>p{flex:auto}.kali-platform-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kali-platform-panel{padding:18px}.kali-post-install ul{display:block}}
@media(max-width:520px){.kali-official-page{padding-inline:14px}.kali-download-shell{width:100%;min-width:0}.kali-download-header{padding:17px}.kali-download-header h1{font-size:20px;line-height:1.5}.kali-download-header h1 .kali-title-main{overflow-wrap:normal}.kali-download-header h1 .kali-format-badge{font-size:11px}.kali-platform-grid{gap:9px;padding:15px 13px 2px}.kali-platform-choice{min-height:88px;padding:9px 6px}.kali-platform-choice small{font-size:9px}.kali-platform-icon{width:38px;height:38px}.kali-platform-panel{margin:14px 13px 17px;padding:16px 14px}.kali-panel-heading h2{font-size:18px}.kali-panel-intro{font-size:13px}.kali-install-steps li{gap:9px}.kali-install-steps p{font-size:12px}.kali-action-row{display:grid;grid-template-columns:1fr}.kali-action{width:100%}.kali-architecture-note{grid-template-columns:42px minmax(0,1fr);gap:10px;margin-inline:13px;padding:14px 12px}.kali-architecture-icon{width:40px;height:40px}.kali-post-install{margin-inline:13px;padding-inline:12px}.unified-header .brand>span:last-child{flex-direction:row;align-items:center;gap:5px}.unified-header .brand small{display:none}.unified-header .header-primary{min-height:0;padding:7px 0}.unified-header .brand{gap:7px}.unified-header .brand-icon{width:32px;height:32px}.unified-header .header-tools{gap:6px}.unified-header .header-identity{max-width:137px}}
@media(prefers-reduced-motion:reduce){.kali-platform-choice,.kali-action{transition:none}.kali-platform-panel{animation:none}}

/* Unified platform frame: shared navigation, identity, contact and progress. */
.unified-header{padding:0 clamp(14px,3vw,34px);background:linear-gradient(100deg,#0c1725f7,#101b2bf7);border-bottom:1px solid #59dce42b;box-shadow:0 10px 32px #0004}
.unified-header .header-primary{max-width:1500px;min-height:72px;flex-wrap:nowrap;gap:16px}
.unified-header .brand{gap:10px;font-size:18px;line-height:1.15}
.unified-header .brand>span:last-child{display:flex;flex-direction:column;gap:3px}
.unified-header .brand b{color:#60e3dc}
.unified-header .brand small{font-size:10px;color:#96a9bd;font-weight:400}
.unified-header .brand-icon{width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,#17bdc9,#346bbc);border:1px solid #9ae7ee5c;box-shadow:inset 0 1px #ffffff44,0 6px 16px #0004,0 0 18px #32dce31b}
.unified-header .reference-status{white-space:nowrap}
.header-tools{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-inline-start:auto}
.unified-header .header-identity{min-width:0;max-width:280px;white-space:nowrap}
.unified-header .header-identity strong{max-width:130px;overflow:hidden;text-overflow:ellipsis}
.unified-header .score-pill{white-space:nowrap}
.unified-header .reference-actions{flex-wrap:nowrap}
.unified-header .reference-actions form{margin:0}
.unified-nav{max-width:1500px!important;margin:0 auto!important;padding:7px 0 11px!important;border-top:1px solid #93abc41c!important;justify-content:flex-start!important;gap:6px!important}
.unified-nav>a{min-height:42px;padding:6px 13px;border-radius:11px;color:#aebed0;font-size:13px}
.unified-nav>a.nav-active{color:#ecffff;background:linear-gradient(120deg,#12505b80,#183342aa);border-color:#65e3e14a;box-shadow:inset 0 1px #ffffff12,0 5px 16px #0003}
.unified-nav .nav-icon{width:24px;height:24px}.unified-nav .nav-icon .shell-icon{width:19px;height:19px}
.unified-nav .nav-more{position:relative;align-self:center}
.unified-nav .nav-more>summary{display:flex;align-items:center;gap:8px;min-height:38px;padding:6px 12px;border:1px solid #7388a42c;border-radius:10px;color:#b4c3d5;font-size:12px;cursor:pointer;list-style:none}
.unified-nav .nav-more>summary::-webkit-details-marker{display:none}
.unified-nav .nav-more[open]>summary,.unified-nav .nav-more>summary:hover{color:#66e3e7;border-color:#66e3e755;background:#1b354066}
.unified-nav .nav-more-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:120;display:grid;min-width:220px;gap:4px;padding:9px;border:1px solid #7188a448;border-radius:13px;background:#101a29f7;box-shadow:0 18px 42px #0008;backdrop-filter:blur(15px)}
.unified-nav .nav-more-panel>a{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:8px;color:#c1cede;font-size:12px}
.unified-nav .nav-more-panel>a:hover{background:#22364b;color:#6ee7e7}
.unified-footer{width:100%;padding:0 clamp(15px,4vw,48px);border-top:1px solid #50d7dc30;background:linear-gradient(140deg,#0c1522,#0d1725 55%,#101526)}
.unified-footer-main{display:grid;grid-template-columns:minmax(240px,1.2fr) minmax(150px,.7fr) minmax(280px,1.15fr);gap:clamp(24px,4vw,58px);max-width:1360px;margin:auto;padding:34px 0 27px}
.unified-footer-main h2{margin:0 0 13px;color:#e7eef7;font-size:14px}
.footer-brand-block .brand{display:inline-flex;align-items:center;gap:10px;font-size:18px;font-weight:800}
.footer-brand-block .brand>span:last-child{display:flex;flex-direction:column;gap:3px}
.footer-brand-block .brand b{color:#62e2db}.footer-brand-block .brand small{font-size:10px;color:#91a4b9;font-weight:400}
.footer-brand-block .brand-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid #7bdde344;border-radius:13px;background:linear-gradient(145deg,#138e9f,#384f88);color:#e6ffff;box-shadow:inset 0 1px #fff3,0 6px 15px #0004}
.footer-brand-block .brand-icon .shell-icon{width:23px;height:23px}
.footer-brand-block>p{max-width:390px;margin:15px 0;color:#9eafc2;font-size:12px;line-height:1.9}
.footer-guide-link{display:inline-flex;align-items:center;gap:8px;color:#78dccc;font-size:12px}.footer-guide-link .shell-icon{width:16px;height:16px}
.footer-nav-block{display:flex;flex-direction:column;align-items:flex-start;gap:7px}
.footer-nav-block>a{color:#a8b8ca;font-size:12px;transition:color .16s,transform .16s}.footer-nav-block>a:hover{color:#67e0df;transform:translateX(-2px)}
.footer-team-block{display:flex;flex-direction:column;gap:9px}
.footer-team-block h2{margin-bottom:2px}
.footer-person{display:flex;align-items:center;gap:10px;padding:9px 11px;border:1px solid #748ca426;border-radius:11px;background:#ffffff05}
.footer-person-icon{display:grid;place-items:center;width:33px;height:33px;flex:none;border:1px solid #4ce4dc50;border-radius:10px;background:#1a434c;color:#78e5de}
.footer-person-icon .shell-icon{width:18px;height:18px}.footer-person-alt{border-color:#c59aff50;background:#302444;color:#d0afff}
.footer-person>div{display:grid;gap:1px;min-width:0}.footer-person strong{color:#e0e9f4;font-size:11px}.footer-person a{width:max-content;max-width:100%;color:#79d7dc;font-size:10px;font-family:monospace}.footer-person small{color:#8499b0;font-size:10px}
.footer-social{display:flex;flex-wrap:wrap;gap:12px;margin-top:2px}.footer-social>a{display:flex;align-items:center;gap:6px;color:#a4b4c7;font-size:10px}.footer-social .shell-icon{width:15px;height:15px;color:#79d7dc}
.unified-footer-progress{display:flex;align-items:center;justify-content:space-between;gap:22px;max-width:1360px;margin:auto;padding:13px 15px;border:1px solid #7389a52e;border-radius:12px;background:linear-gradient(100deg,#142236,#101b2b)}
.footer-progress-copy{display:flex;align-items:center;gap:14px}.footer-progress-copy>strong{color:#e6edf6;font-size:12px}.footer-progress-copy>span{color:#91a5bc;font-size:11px}.footer-progress-copy b{color:#f5d27e}.footer-progress-copy i{padding:0 4px;color:#52667e;font-style:normal}
.unified-footer .reference-battery{position:relative;width:min(290px,40%);height:12px;overflow:visible;border:1px solid #8296ad57;border-radius:20px;background:#08111d;padding:2px}
.unified-footer .reference-battery>div{height:100%;border-radius:20px;background:linear-gradient(90deg,#41babc,#8fe3bf);box-shadow:0 0 12px #53d3c74a;transition:width .3s}
.unified-footer .reference-battery>span{position:absolute;top:50%;left:calc(var(--progress, 0%) + 8px);transform:translateY(-50%);color:#d1dce8;font:10px monospace}
.unified-footer-legal{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:1360px;margin:auto;padding:15px 0 18px;border-top:1px solid #8297ad1c;color:#8295aa;font-size:10px}
.unified-footer-legal strong{color:#afc0d2;font-weight:600}
html[data-theme=light] .unified-footer{background:linear-gradient(140deg,#0c1522,#0d1725 55%,#101526);color:#edf2fa}
@media(max-width:1050px){.unified-header .reference-status{display:none}.unified-header .header-primary{gap:11px}.unified-header .header-identity{max-width:220px}.unified-footer-main{grid-template-columns:minmax(200px,1fr) minmax(130px,.65fr) minmax(240px,1fr);gap:22px}}
@media(max-width:760px){.unified-header .header-primary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:10px 0}.unified-header .brand{grid-column:1;grid-row:1}.unified-header .header-identity{grid-column:2;grid-row:1;max-width:180px}.unified-header .header-tools{grid-column:1/-1;grid-row:2;width:100%;justify-content:space-between}.unified-header .score-pill{margin-inline-end:auto}.unified-nav{overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:thin}.unified-nav>a{flex:none;white-space:nowrap}.unified-nav .nav-more{flex:none}.unified-nav .nav-more-panel{position:fixed;top:auto;right:14px;left:14px;bottom:18px;max-height:70vh;overflow:auto}.unified-footer-main{grid-template-columns:1fr 1fr;gap:25px 18px}.footer-team-block{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:start}.footer-team-block h2,.footer-social{grid-column:1/-1}}
@media(max-width:500px){.unified-header{padding-inline:12px}.unified-header .brand{font-size:15px}.unified-header .brand-icon{width:36px;height:36px}.unified-header .header-identity{max-width:145px;padding:4px 7px;font-size:10px}.unified-header .header-identity strong{max-width:78px}.unified-header .header-identity .reference-role{display:none}.unified-header .score-pill{padding:5px 8px;gap:6px}.unified-header .score-pill strong{font-size:13px}.unified-header .reference-actions{gap:4px}.unified-header .reference-actions .reference-screen,.unified-header .reference-actions .reference-files{display:none}.unified-header .reference-actions a,.unified-header .reference-actions button{padding:5px 7px;font-size:10px}.unified-header .reference-actions .reference-logout span{display:none}.unified-nav{gap:3px!important;padding:5px 0 8px!important}.unified-nav>a{min-height:37px;padding:4px 9px;font-size:11px}.unified-nav .nav-icon{width:20px;height:20px}.unified-nav .nav-icon .shell-icon{width:17px;height:17px}.unified-nav .nav-more>summary{min-height:34px;padding:4px 8px;font-size:11px}.unified-footer{padding-inline:16px}.unified-footer-main{grid-template-columns:1fr;gap:21px;padding:25px 0 20px}.footer-team-block{grid-column:auto;grid-template-columns:1fr}.footer-team-block h2,.footer-social{grid-column:auto}.unified-footer-progress{align-items:stretch;flex-direction:column;gap:9px;padding:12px}.footer-progress-copy{justify-content:space-between;gap:7px}.unified-footer .reference-battery{width:100%}.unified-footer-legal{align-items:flex-start;flex-direction:column;gap:5px;padding:12px 0 16px}}
.unified-header .header-primary{min-height:68px}
.unified-header{padding-bottom:0;border-bottom-color:#39e5f53b}
.unified-footer-legal{flex-wrap:wrap}
@media(max-width:760px){.unified-header .header-primary{min-height:0;padding-block:10px}.unified-header .header-tools{grid-row:2}}
.floating-assistant{position:fixed;bottom:24px;left:24px;z-index:50;display:flex;align-items:center;gap:9px;padding:14px 18px;border-radius:22px;border:1px solid #b3a5f377;background:linear-gradient(145deg,#56457b,#263c57);color:#fff;box-shadow:0 12px 30px #0005;animation:assistant-float 4s ease-in-out infinite}.floating-assistant svg{width:28px;height:28px}.floating-assistant span{font-size:13px;font-weight:700}@keyframes assistant-float{50%{transform:translateY(-7px)}}.guest-mode .score-pill,.guest-mode .welcome-score,.guest-mode .quiet-footer-progress,.guest-mode .challenge-score-summary{display:none!important}.answer-help-link{display:block;margin-top:12px;color:#dbbb83;font-size:13px}.answer-code{display:block;font-size:22px;padding:20px;background:#080f1c;border-radius:14px;color:#ade4d7;overflow-wrap:anywhere}.permission-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.permission-heading{display:flex;align-items:center;justify-content:space-between}.permission-setting h2{font-size:19px;line-height:1.7}.permission-setting p{font-size:13px}.permission-on{color:#85ddad;border-color:#85ddad55}.permission-off{color:#e7b298;border-color:#e7b29855}.user-permission-link{margin-block:10px;font-size:12px}.admin-control-cards{margin-bottom:24px}.admin-control-cards .portal-scene{height:110px}.challenge-card{border:2px solid transparent!important;background:linear-gradient(145deg,#1b2a40,#101a2b) padding-box,linear-gradient(135deg,#77cabb,#9e88d9,#527fa5) border-box;box-shadow:0 12px 0 -8px #07101a,0 16px 30px -20px #74cfba55}.challenge-card:nth-child(3n+2){background:linear-gradient(145deg,#23273e,#141d2d) padding-box,linear-gradient(135deg,#b49add,#79b7d9,#80c5b4) border-box}.challenge-card:nth-child(3n){background:linear-gradient(145deg,#273140,#141d2d) padding-box,linear-gradient(135deg,#e0bb86,#c897b4,#7aaec1) border-box}.challenge-card:hover{box-shadow:0 12px 0 -8px #07101a,0 22px 40px -20px #74cfba88}.challenge-solved{border-color:#7bd4a4!important}html[data-theme=light] .challenge-card{background:linear-gradient(145deg,#fff,#edf4f8) padding-box,linear-gradient(135deg,#77cabb,#9e88d9,#527fa5) border-box}html[data-theme=light] .answer-code{background:#e9f4ef;color:#174a3c}@media(max-width:900px){.permission-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.permission-card-grid{grid-template-columns:1fr}.floating-assistant{bottom:15px;left:14px;padding:11px;border-radius:17px}.floating-assistant span{display:none}}@media(prefers-reduced-motion:reduce){.floating-assistant{animation:none}}
.visual-check-card img{display:block;width:100%;height:auto;margin:18px 0;border-radius:18px}.visual-check-card ol{font-size:17px;line-height:2.1}.check-state{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid #79be9c3b;border-radius:14px;padding:12px;margin-block:18px;background:#77bda80a}.check-state p{margin:0}.visual-check-card details{padding:14px;border-top:1px solid var(--line)}.visual-check-card summary{cursor:pointer;color:var(--cyan);font-weight:700}
.floating-assistant{bottom:calc(var(--assistant-footer-height,70px) + 20px);z-index:60}@media(max-width:600px){.floating-assistant{bottom:calc(var(--assistant-footer-height,90px) + 16px)}}
/* Match the AllTraining header proportions and readable Cairo typography. */
.unified-header{font-family:Cairo,Tajawal,Arial,sans-serif!important;background:rgba(15,23,42,.96)!important;border-bottom:1px solid #47556966!important;position:sticky;top:0;z-index:70;padding:12px 24px!important;backdrop-filter:blur(16px)}.unified-header .header-primary{display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;min-height:64px!important;padding:0!important;max-width:1600px;margin:auto}.unified-header .brand{min-width:185px;font-size:21px!important;line-height:1.6;white-space:nowrap;flex-shrink:0;color:#f8fafc}.unified-header .brand>span:last-child{white-space:nowrap}.unified-header .brand small{font-size:12px!important;color:#d1dae7;line-height:1.8}.unified-header .brand-icon{width:44px;height:44px;background:linear-gradient(135deg,#7c3aed,#4338ca)!important;border:1px solid #a78bfa66}.unified-header .reference-status{font-size:14px!important;font-weight:700;color:#d8e1ed;padding:10px 14px;background:#1e293bb3;border:1px solid #47556966;border-radius:14px}.unified-header .reference-status time{font-size:15px!important;color:#c6e6fa}.unified-header .header-identity{font-size:15px!important;max-width:310px;padding:10px 14px;background:#1e293bb3;border:1px solid #47556966;border-radius:14px;line-height:1.8}.unified-header .header-identity strong{font-size:16px!important;max-width:210px;color:#f8fafc}.unified-header .header-identity .reference-role{display:inline-block!important;font-size:12px!important;color:#e0ceff;background:#7c3aed26;border-color:#a78bfa66}.unified-header .header-identity small{font-size:13px!important;color:#dbe5f2}.unified-header .header-tools{display:flex!important;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.unified-header .score-pill{padding:10px 12px;gap:9px}.unified-header .score-pill small{font-size:13px!important}.unified-header .score-pill strong{font-size:18px!important}.unified-header .reference-actions{gap:8px;flex-wrap:wrap}.unified-header .reference-actions a,.unified-header .reference-actions button{font-size:14px!important;padding:9px 11px!important;line-height:1.5}.unified-header .reference-actions svg{width:21px;height:21px}.unified-header .reference-actions .reference-logout span{display:inline!important}.guest-login-pill{display:flex;align-items:center;gap:8px;font-size:13px;border:1px solid #9ab8d355;border-radius:12px;padding:9px 12px;color:#d8edf6;background:#36596b26}.guest-login-pill strong{font-size:18px;color:#9be0d7}.reference-footer{font-family:Cairo,Tajawal,Arial,sans-serif!important}.reference-footer .quiet-footer-row{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 20px;padding:15px 24px!important}.reference-footer .quiet-footer-brand{font-size:18px!important}.reference-footer .quiet-footer-credit,.reference-footer .quiet-footer-owner,.reference-footer .quiet-footer-contact,.reference-footer .quiet-footer-guide,.reference-footer .quiet-footer-progress{font-size:14px!important;line-height:1.9;color:#e2eaf6}.reference-footer .quiet-footer-credit strong{font-weight:800}.reference-footer .quiet-footer-contact a{font-size:14px!important}.reference-footer .quiet-footer-rights{font-size:13px!important;color:#bfcde0}.reference-footer .reference-battery{min-width:90px}.reference-footer .reference-battery span{font-size:12px!important}body{padding-bottom:calc(var(--ctf-footer-height,95px) + 24px)!important}html[data-theme=light] .unified-header{background:rgba(255,255,255,.96)!important;color:#102138}html[data-theme=light] .unified-header .brand,html[data-theme=light] .unified-header .header-identity strong{color:#102138}html[data-theme=light] .unified-header .brand small,html[data-theme=light] .unified-header .header-identity small,html[data-theme=light] .unified-header .reference-status{color:#334155}html[data-theme=light] .unified-header .reference-status,html[data-theme=light] .unified-header .header-identity{background:#f1f5f9}html[data-theme=light] .unified-header .reference-status time{color:#1d5273}html[data-theme=light] .unified-header .header-identity .reference-role{color:#6537a1}@media(max-width:1100px){.unified-header .reference-status{display:none!important}.unified-header .header-tools{flex:1}}@media(max-width:600px){.unified-header{padding:10px 14px!important}.unified-header .header-primary{gap:10px}.unified-header .brand{min-width:155px;font-size:18px!important}.unified-header .brand small{font-size:11px!important}.unified-header .header-identity{max-width:100%;font-size:14px!important;padding:6px 10px}.unified-header .header-identity strong{font-size:15px!important;max-width:200px}.unified-header .header-tools{flex-basis:100%;justify-content:space-between}.unified-header .reference-actions a,.unified-header .reference-actions button{font-size:13px!important;padding:8px!important}.reference-footer .quiet-footer-row{gap:8px 12px;padding:12px 14px!important}.reference-footer .quiet-footer-credit,.reference-footer .quiet-footer-owner,.reference-footer .quiet-footer-contact,.reference-footer .quiet-footer-guide{font-size:13px!important}.reference-footer .quiet-footer-contact a{font-size:13px!important}}
.unified-header .brand b{display:inline!important}.unified-header .brand>span:last-child{display:block!important}.unified-header .header-primary{column-gap:12px}.unified-header .brand small{display:block!important}@media(min-width:1101px){.unified-header .header-identity{padding:8px 10px}.unified-header .header-tools{gap:8px}}
.permission-options{border:0;padding:0;margin:20px 0 0;display:flex;gap:8px;flex-wrap:wrap}.permission-options legend{font-size:14px;margin-bottom:10px;color:var(--muted)}.permission-options label{flex:1;min-width:75px;cursor:pointer;position:relative}.permission-options input{position:absolute;opacity:0;width:1px;height:1px}.permission-options span{display:block;text-align:center;border:1px solid #71809655;border-radius:12px;padding:12px 8px;font-weight:700}.permission-options input:checked+span{background:#19a78c25;border-color:#38cbb1;color:#38cbb1;box-shadow:0 0 0 2px #38cbb115}.permission-options input[value="0"]:checked+span{color:#ff7f92;background:#ef476f15;border-color:#ff7f92}.permission-options input:focus-visible+span{outline:3px solid #a99cff;outline-offset:3px}.permission-save{min-width:220px}.permission-setting h2{font-size:19px}.permission-setting{border-radius:22px}
.guest-contact{border:1px solid #a99cff66;background:linear-gradient(135deg,#7c63df15,#19a78c0c);scroll-margin-top:160px}.guest-contact h2{font-size:clamp(20px,3vw,26px);line-height:1.7}.guest-contact p{line-height:1.9}.guest-contact-links{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.guest-contact-links a{display:flex;align-items:center;gap:10px;flex-wrap:wrap;overflow-wrap:anywhere;max-width:100%}
/* Full-width resource library */
.container.resources-page{max-width:none;width:100%;padding-inline:clamp(16px,3vw,64px)}
.resources-page .resources-hero{min-height:210px;grid-template-columns:minmax(0,1fr) 270px;background:radial-gradient(ellipse at 15% 30%,#9c7de523,transparent 55%),linear-gradient(120deg,#102c35,#111b31);border-radius:28px}
.resources-page .resources-toolbar{position:relative;top:auto;border-radius:18px;padding:16px;grid-template-columns:minmax(0,1fr) 240px auto}
.resources-page .resource-search input{font-size:15px;padding-block:12px}.resource-folder-picker{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 30px}.resource-folder-picker button{display:flex;align-items:center;gap:9px;font-size:13px;padding:10px 14px;border-radius:14px}.resource-folder-picker button .shell-icon{width:19px;height:19px;flex-shrink:0}.resource-folder-picker button[aria-pressed=true]{border-color:#72e6d7;color:#a1f6e9;background:#24575055}.resource-folder-picker button span{font-size:11px;background:#8eb8ce17;padding:0 7px;border-radius:8px}
.resources-page .resource-folder{padding:24px;border:1px solid #819cb42b;border-radius:26px;background:#819cb405;margin-bottom:28px}.resources-page .resource-folder-title{font-size:22px;margin-bottom:22px;flex-wrap:wrap;overflow-wrap:anywhere}.resources-page .resource-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:24px;align-items:stretch}
.resources-page .resource-card{min-height:350px;border-radius:23px;padding:0 24px 24px;border-color:#75d5cf44;background:radial-gradient(ellipse at 0 0,#54ddc612,transparent 70%),linear-gradient(145deg,#15263c,#101b2b);box-shadow:0 14px 32px #0003,inset 0 1px #ffffff12}.resources-page .resource-card[data-kind=program]{border-color:#b3a0ed55;background:radial-gradient(ellipse at 0 0,#a68bf519,transparent 70%),linear-gradient(145deg,#22263f,#111b2c)}.resources-page .resource-card[data-kind=link]{border-color:#e0c38f55}.resources-page .resource-art{height:150px;margin-inline:-24px;background:radial-gradient(ellipse at center,#6ac8de12,transparent 75%)}.resources-page .resource-art:after{display:none}.resource-art .portal-scene{width:260px;height:146px;max-width:100%;filter:drop-shadow(0 10px 12px #0005)}.resources-page .resource-card h3{font-size:20px;line-height:1.7}.resources-page .resource-card p{font-size:13px}.resources-page .resource-card>.button{display:flex;align-items:center;justify-content:center;gap:10px;border-radius:12px;font-size:14px}.resources-page .resource-card>.button .shell-icon{width:19px;height:19px}.resources-page .resource-card>.button span{margin-inline-start:auto}.resources-page .resource-upload summary:before{display:none}
html[data-theme=light] .resources-page .resource-folder{background:#edf3fa;border-color:#d7e2ee}html[data-theme=light] .resources-page .resource-card{background:linear-gradient(145deg,#fff,#edf6fa);border-color:#b3d7d9;box-shadow:0 12px 26px #304f7410}html[data-theme=light] .resources-page .resource-card[data-kind=program]{background:linear-gradient(145deg,#fff,#f2effc)}html[data-theme=light] .resources-page .resource-card h3{color:#20354c}html[data-theme=light] .resources-page .resource-card p{color:#5a6f86}html[data-theme=light] .resource-folder-picker button[aria-pressed=true]{background:#dff5ef;color:#186457;border-color:#53b6a7}html[data-theme=light] .resources-page .resource-folder-title{color:#233d54}
@media(min-width:1900px){.resources-page .resource-grid{grid-template-columns:repeat(auto-fill,minmax(330px,1fr))}}
@media(max-width:760px){.resources-page .resources-hero{grid-template-columns:minmax(0,1fr) 160px}.resources-page .resources-toolbar{grid-template-columns:minmax(0,1fr) 150px}.resources-page .resources-result-count{grid-column:1/-1;justify-self:start}.resources-page .resource-folder{padding:18px}.resources-page .resource-grid{gap:16px}}
@media(max-width:520px){.resources-page .resources-hero{grid-template-columns:1fr;padding:24px 20px}.resources-page .resource-folder{padding:14px;border-radius:20px}.resources-page .resource-folder-title{font-size:19px}.resources-page .resources-toolbar{grid-template-columns:1fr}.resources-page .resource-search input{font-size:14px}.resources-page .resource-filter{display:flex;font-size:13px}.resources-page .resource-filter select{font-size:13px}.resources-page .resource-card{min-height:330px}.resource-folder-picker button{font-size:12px}}
@media(prefers-reduced-motion:reduce){.resources-page .resource-card{transition:none}.resources-page .resource-card:hover{transform:none}}
.resources-page .resource-collections{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:24px;align-items:start}.resources-page .resource-collections .resource-folder{margin:0;min-width:0}.resources-page .resource-folder-many{grid-column:1/-1}.resources-page .resource-collections .resource-folder-title{font-size:18px}.resources-page .resource-collections .resource-folder:not(.resource-folder-many) .resource-grid{grid-template-columns:1fr}@media(max-width:760px){.resources-page .resource-collections{gap:16px}}
.kali-companion{display:flex;flex-direction:column;min-width:0}.kali-companion-art{text-align:center;height:145px;margin:-10px 0 12px}.kali-companion-art .portal-scene{height:145px;width:260px;max-width:100%}.kali-companion>.tag{align-self:flex-start}.kali-companion>.button{margin-top:auto;text-align:center}.kali-companion>.button+.button{margin-top:10px}.kali-companion-uploads{grid-template-columns:repeat(2,minmax(0,1fr))}.kali-companion-uploads .card{min-width:0}.kali-companion-uploads h2 .shell-icon{width:24px;height:24px;vertical-align:middle}@media(max-width:760px){.kali-companion-uploads{grid-template-columns:1fr}}
.kali-ready-cards{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:900px){.kali-ready-cards{grid-template-columns:1fr}}
.virtualization-wizard{padding:clamp(20px,3vw,36px);border-color:#65d6c954;border-radius:26px}.virtualization-wizard .section-heading{margin-top:0}.virtualization-wizard .section-heading>.shell-icon{width:44px;height:44px;color:#73e5d3}.virtualization-selectors{grid-template-columns:repeat(3,minmax(0,1fr));margin:20px 0}.virtualization-selectors label{font-size:15px;min-width:0}.virt-identify{padding:16px 20px;border:1px solid #8192b142;border-radius:14px;margin:18px 0}.virt-identify summary{cursor:pointer;font-weight:700}.virt-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:24px 0}.virt-step{padding:23px;border:1px solid #7f9bb238;border-radius:20px;background:#7184ad08;min-width:0}.virt-step-heading{display:flex;align-items:center;gap:13px;margin-bottom:15px}.virt-step-heading>span{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:12px;background:#59d9bd19;border:1px solid #59d9bd55;color:#87eddb;font-weight:800}.virt-step h3{font-size:20px;margin:0}.virt-step img{width:100%;height:190px;object-fit:contain;border-radius:12px;margin-bottom:8px}.virt-step p,.virt-step li{font-size:16px;line-height:2}.virt-step b[dir=ltr]{display:inline-block;overflow-wrap:anywhere}.virt-selected{padding:16px;border-inline-start:3px solid #84e5cd;background:#59d9bd0c;border-radius:8px}.virtualization-wizard [hidden]{display:none!important}.virtualization-wizard kbd{padding:2px 7px;border:1px solid #8b9aac66;border-radius:6px;display:inline-block;direction:ltr}html[data-theme=light] .virt-step-heading>span{color:#196555}@media(max-width:760px){.virt-steps,.virtualization-selectors{grid-template-columns:1fr}.virt-step img{height:auto}.virt-step{padding:18px}}
.virt-step-body{font-size:16px;line-height:2;color:var(--muted)}
/* Fluid layouts across phones, tablets and desktops. */
.container{width:100%;max-width:none;padding-inline:clamp(16px,3vw,64px)}
main.container>*,.grid>*,.hero>*,.notes-layout>*,.filter-panel>*{min-width:0}img,video,canvas{max-width:100%}video{height:auto}h1,h2,h3,p,.notice,.feedback-body{overflow-wrap:anywhere}.inline{flex-wrap:wrap}.inline input,.inline select{min-width:0}.table-wrap{max-width:100%;overscroll-behavior-inline:contain}pre{max-width:100%;overflow:auto}input,select,textarea{max-width:100%}
.login-page{padding-bottom:0}.login-page .auth-layout{min-height:min(820px,90vh);grid-template-columns:1.1fr 1fr}.login-page .auth-story{padding:clamp(28px,5vw,80px);min-width:0}.login-page .auth-form{padding:clamp(24px,4vw,60px);min-width:0}.login-page .auth-story h1{font-size:clamp(32px,3.8vw,56px)}.login-page .auth-box>p:first-of-type{color:#93ebdb;font-size:19px;font-weight:700}.login-credits{margin:0 clamp(16px,3vw,64px) 35px;padding:clamp(24px,3vw,44px);border:1px solid #81a3bf44;border-radius:26px;background:linear-gradient(135deg,#13273b,#171e34)}.credits-heading h2{font-size:26px;margin-bottom:8px}.credits-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:25px}.credits-grid article{padding:20px;border:1px solid #7e94b638;border-radius:17px;background:#ffffff03}.credits-grid h3{margin:0 0 10px;font-size:20px;color:#d6f8f0}.credits-grid p{margin:0;font-size:15px}.credits-programmer{padding:18px 0;color:#a9eadb}.credits-thanks{border-top:1px solid var(--line);padding-top:18px}.credits-thanks p{font-size:15px;line-height:2}.login-credits .button{display:inline-flex;align-items:center;gap:12px}.login-credits .shell-icon{width:21px;height:21px}
.footer-feedback-button{background:transparent;color:inherit;border:1px solid #7e94b644;font-size:13px;padding:5px 10px;display:inline-flex;align-items:center;gap:7px}.footer-feedback-button .shell-icon{width:17px;height:17px}.feedback-dialog{width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow-y:auto;color:#edf2fa;border:1px solid #78c6c666;border-radius:24px;padding:26px;background:#111e31;box-shadow:0 35px 100px #0008}.feedback-dialog::backdrop{background:#030b17bb;backdrop-filter:blur(6px)}.feedback-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.feedback-dialog-head h2{font-size:23px;margin:0}.feedback-dialog-head button{width:38px;height:38px;flex-shrink:0;padding:0;font-size:28px;background:#7182a222;color:inherit}.feedback-dialog textarea{min-height:130px}.feedback-dialog form>.button{margin-top:12px}.feedback-contacts{display:grid;gap:12px;margin:20px 0}.feedback-contacts a{color:#93e9d6;overflow-wrap:anywhere}.feedback-filter label{flex:1}.feedback-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}.feedback-body{white-space:normal;font-size:16px;line-height:2;margin-bottom:20px}.feedback-card h2{font-size:22px}
@media(min-width:1800px){.portal-grid,.challenge-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:761px) and (max-width:1100px){.grid:not(.kali-ready-cards):not(.virtualization-selectors):not(.virt-steps):not(.resource-grid){grid-template-columns:repeat(2,minmax(0,1fr))}.filter-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.credits-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.notes-layout{grid-template-columns:1fr}.header-tools{flex-wrap:wrap}}
@media(max-width:760px){.container{padding-inline:16px}.grid,.portal-grid,.notes-layout,.hero,.filter-panel{grid-template-columns:1fr}.login-page .auth-layout{grid-template-columns:1fr;min-height:0}.login-page .auth-story{padding:28px 22px}.login-page .auth-story .section{margin-top:20px}.login-page .auth-story .terminal{display:none}.login-page .auth-story>p:last-child{display:none}.login-page .auth-form{padding:26px 22px 35px}.login-page .auth-box{max-width:560px}.login-page .auth-story h1{font-size:31px}.credits-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.credits-grid article{padding:15px}.credits-grid h3{font-size:18px}.credits-grid p{font-size:14px}.unified-footer{position:static!important;margin-top:25px}.quiet-footer-row{justify-content:center;gap:12px;flex-wrap:wrap;text-align:center}.quiet-footer-credit,.quiet-footer-owner{white-space:normal}.quiet-footer-contact{flex-wrap:wrap;justify-content:center}.unified-header .header-tools{max-width:100%;flex-wrap:wrap;justify-content:center}.unified-header .reference-actions{flex-wrap:wrap}.unified-header .header-identity{max-width:100%}.floating-assistant{bottom:18px!important}.table-wrap td,.table-wrap th{padding:11px}.feedback-dialog{padding:20px}.feedback-dialog-head h2{font-size:20px}.filter-panel>label:first-child{grid-column:auto}.card{padding:20px}}
@media(max-width:420px){.credits-grid{grid-template-columns:1fr}.credits-heading h2{font-size:22px}.login-page .auth-story h1{font-size:29px}.header-primary{gap:10px!important}.unified-header .brand{font-size:15px}.feedback-dialog form>button{width:100%}}
html[data-theme=light] .feedback-dialog{background:#f5f8fc;color:#23374d}html[data-theme=light] .feedback-contacts a{color:#176f62}
.backup-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.backup-art{text-align:center;height:140px}.backup-art .portal-scene{height:140px;width:250px;max-width:100%}.backup-review{border-color:#c3a2f177}.backup-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}.backup-list article{display:flex;flex-direction:column;gap:12px;min-width:0}.backup-list h3{margin:0}.backup-list small{overflow-wrap:anywhere}.backup-list .button{margin-top:auto;text-align:center}.backup-list .shell-icon{height:22px;width:22px;vertical-align:middle}@media(max-width:760px){.backup-actions{grid-template-columns:1fr}}

/* Feedback entry stays visible in the shared header and on sign-in. */
.unified-header .reference-actions .header-feedback-button{display:inline-flex;align-items:center;gap:8px;border:1px solid #64d8c888!important;background:linear-gradient(135deg,#176e68,#244e76)!important;color:#fff!important;box-shadow:0 4px 14px #0c766e25;border-radius:12px}.login-feedback-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:16px clamp(18px,4vw,60px);border-bottom:1px solid #78c6c633;background:#111e31;color:#dcecf6}.login-feedback-header button{display:inline-flex;align-items:center;gap:10px;background:linear-gradient(135deg,#176e68,#244e76);color:#fff;border:1px solid #64d8c888;border-radius:14px;padding:12px 18px}.login-feedback-header svg{width:22px;height:22px}.header-feedback-button:focus-visible,.login-feedback-header button:focus-visible{outline:3px solid #93e9d6;outline-offset:3px}@media(max-width:520px){.login-feedback-header{justify-content:center;font-size:14px}.login-feedback-header button{width:100%;justify-content:center}.unified-header .reference-actions .header-feedback-button{flex-basis:100%;justify-content:center}}

/* Spread footer content across the bar; RTL places the brand at the left. */
.distributed-footer .quiet-footer-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;grid-template-areas:"credit contact feedback brand";max-width:none;column-gap:clamp(16px,3vw,56px);width:100%;box-sizing:border-box}.distributed-footer .quiet-footer-credit{grid-area:credit;white-space:normal;width:auto;text-align:right;order:initial}.distributed-footer .quiet-footer-contact{grid-area:contact;flex-wrap:wrap;justify-content:center;order:initial}.distributed-footer .footer-feedback-button{grid-area:feedback;white-space:nowrap;justify-content:center}.distributed-footer .quiet-footer-brand{grid-area:brand;justify-self:end;margin:0;white-space:nowrap}.distributed-footer .quiet-footer-brand .brand-icon{width:34px;height:34px}.distributed-footer .quiet-footer-brand .brand-icon .shell-icon{width:21px;height:21px}@media(max-width:1100px){.distributed-footer .quiet-footer-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"credit brand" "contact feedback";row-gap:12px}.distributed-footer .quiet-footer-contact{justify-content:flex-start}}@media(max-width:600px){.distributed-footer .quiet-footer-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"credit credit" "contact contact" "feedback brand";gap:14px 12px}.distributed-footer .quiet-footer-credit{text-align:center;line-height:1.9}.distributed-footer .quiet-footer-contact{justify-content:center;gap:10px 16px}.distributed-footer .quiet-footer-contact a{white-space:normal;overflow-wrap:anywhere}.distributed-footer .footer-feedback-button{justify-self:start}.distributed-footer .quiet-footer-brand{justify-self:end}}

.login-password-field{position:relative;margin-bottom:18px}.login-password-field input{width:100%;padding-inline-end:58px;margin:0}.login-page .login-password-field .login-password-toggle{position:absolute;inset-inline-end:8px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:40px;height:40px;min-height:0;margin:0;padding:8px;background:transparent;border:0;border-radius:10px;color:#b8d5e5;box-shadow:none;cursor:pointer}.login-password-toggle svg{width:23px;height:23px}.login-page .login-password-toggle:hover,.login-page .login-password-toggle[aria-pressed=true]{color:#72e6d6;background:#72e6d61a}.login-password-toggle:focus-visible{outline:2px solid #72e6d6;outline-offset:1px}

.login-about-link{font-size:14px;line-height:1.9;text-align:center}.login-about-link a{color:#bdcddd}.login-about-link span{display:block;color:#72e6d6;font-weight:700;margin-top:5px}.about-page .login-credits{width:100%;max-width:none;margin:24px 0;padding:clamp(20px,3vw,40px);box-sizing:border-box}.about-contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin:24px 0}.about-contact h2{font-size:24px;line-height:1.7}.about-contact .feedback-contacts{margin:0;align-content:center}.about-contact .feedback-contacts a{display:flex;align-items:center;gap:10px}.about-contact .shell-icon{width:22px;height:22px;flex-shrink:0}@media(max-width:760px){.about-contact{grid-template-columns:1fr;gap:16px}.about-contact h2{font-size:21px}}

.management-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0 32px}.management-stat{display:flex;align-items:center;gap:16px;border:1px solid #6fd7ca44;background:linear-gradient(135deg,#16374b88,#172339);box-shadow:0 10px 24px #0002}.management-stat>.shell-icon{width:44px;height:44px;padding:10px;border-radius:14px;background:#71e1d51a;color:#81e6d9;flex-shrink:0;box-sizing:content-box}.management-stat strong{display:block;font-size:30px;color:#eaf9f5;line-height:1.3}.management-stat span{display:block;font-size:14px;margin-top:6px;color:#bbcddd}.management-hub .portal-grid{margin-bottom:30px}html[data-theme=light] .management-stat{background:linear-gradient(135deg,#ecfaf7,#f0f4fc)}html[data-theme=light] .management-stat strong{color:#174d5a}html[data-theme=light] .management-stat span{color:#405570}@media(max-width:1100px){.management-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.management-stats{grid-template-columns:1fr}.management-stat strong{font-size:27px}}

.registration-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.registration-actions .shell-icon{width:21px;height:21px}.registration-page details>summary{font-size:20px;font-weight:700;cursor:pointer;padding:8px 0;color:#85e2d5}.registration-fields,.registration-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0}.registration-fields label{margin:0}.registration-children{border:1px solid #72d9d444;border-radius:18px;padding:18px;margin:22px 0}.registration-choice-list{max-height:260px;overflow:auto;display:grid;gap:8px;margin:14px 0}.registration-choice-list label{display:flex;align-items:center;gap:12px;background:#6985a211;border-radius:12px;padding:10px;margin:0}.registration-choice-list input{width:18px;height:18px;flex-shrink:0}.registration-choice-list small{display:block;color:#93a8bc}.registration-page [hidden]{display:none!important}.registration-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0}.registration-user-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.registration-user-head>.shell-icon{width:38px;height:38px;color:#79ddcf}.registration-user-head h3{font-size:20px;margin:0 0 5px}.registration-user-head>.tag{margin-inline-start:auto}.registration-user dl{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px;padding-block:16px;border-block:1px solid #6e8bab33;font-size:14px}.registration-user dt{color:#93a8bc}.registration-user dd{margin:0;overflow-wrap:anywhere}.registration-user details>summary{font-size:15px}.registration-user form{margin-top:12px}.registration-user-head>div{min-width:0}.registration-user{border:1px solid #67bcb133;box-shadow:0 8px 24px #0002}.registration-filters button{align-self:end}@media(max-width:1000px){.registration-fields,.registration-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.registration-fields,.registration-filters,.registration-directory{grid-template-columns:1fr}.registration-actions a{width:100%;justify-content:center}.registration-user dl{grid-template-columns:100px minmax(0,1fr)}}

.visitor-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.visitor-heading form{display:flex;gap:12px;align-items:end}.visitor-counters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.visitor-counters>div{padding:18px;border-radius:16px;background:linear-gradient(120deg,#163747,#17283d);border:1px solid #54dcd42b}.visitor-counters strong{display:block;color:#6ce8dc;font-size:1.8rem}.visitor-counters span{color:#b9c9dc;font-size:.9rem}.visitor-chart{display:block;width:100%;max-height:260px;background:#091b2a;border-radius:16px}.floating-admin{position:fixed;left:20px;bottom:105px;z-index:90;display:flex;gap:9px;align-items:center;padding:12px 17px;border-radius:18px;color:#fff;background:linear-gradient(135deg,#31518b,#17435a);border:1px solid #97baff77;box-shadow:0 8px 25px #0005;text-decoration:none}.floating-admin svg{width:24px;height:24px}@media(max-width:600px){.visitor-counters{grid-template-columns:repeat(2,minmax(0,1fr))}.floating-admin{left:12px;bottom:108px;padding:10px 13px}.visitor-counters strong{font-size:1.5rem}}
.floating-admin{left:auto;right:24px;bottom:calc(var(--assistant-footer-height,70px) + 20px)}@media(max-width:760px){.floating-admin{right:14px;left:auto;bottom:18px}.floating-admin span{display:none}}
