:root{--navy:#102c53;--blue:#2c77d2;--sky:#69b8ff;--ink:#1a2d45;--muted:#667991;--line:#dfe8f2;--paper:#fff;--bg:#f3f7fc;--danger:#cf4650;--shadow:0 16px 38px rgba(24,61,108,.11)}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 88% -10%,#d7ecff 0,transparent 30%),var(--bg);color:var(--ink);font:15px "Microsoft YaHei",Arial,sans-serif}header{height:72px;padding:0 clamp(22px,7vw,112px);display:flex;align-items:center;justify-content:space-between;background:#ffffffed;border-bottom:1px solid var(--line);backdrop-filter:blur(10px);position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:10px;color:var(--navy);font-size:17px;font-weight:800;text-decoration:none}.brand:before{content:"N";display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:linear-gradient(135deg,var(--blue),#6eb8ff);color:#fff;font:800 16px Georgia}nav{display:flex;gap:24px}nav a,footer a{color:#516780;text-decoration:none}nav a:hover,footer a:hover{color:var(--blue)}main{max-width:1180px;margin:auto;padding:58px 26px 76px}.hero{position:relative;overflow:hidden;padding:52px clamp(26px,6vw,70px);border-radius:24px;background:linear-gradient(120deg,var(--navy),#1e5c9e);box-shadow:var(--shadow);color:#fff;margin-bottom:30px}.hero:after{content:"";position:absolute;width:270px;height:270px;right:-90px;top:-120px;border:1px solid #ffffff50;border-radius:50%;box-shadow:0 0 0 33px #ffffff0b,0 0 0 67px #ffffff08}.hero>*{position:relative;z-index:1}.hero h1,.admin-head h1{font-size:40px;line-height:1.18;letter-spacing:.02em;margin:8px 0 16px}.hero p{max-width:650px;margin:0;line-height:1.85;color:#dceeff;font-size:16px}.eyebrow{margin:0;color:var(--sky);font-size:12px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.card{position:relative;overflow:hidden;min-height:230px;padding:34px;border:1px solid var(--line);border-radius:20px;background:var(--paper);box-shadow:0 7px 20px #234d7808;color:inherit;text-decoration:none;transition:.22s}.card:before{content:"";position:absolute;right:-30px;bottom:-48px;width:145px;height:145px;border-radius:50%;background:linear-gradient(135deg,#ddecff,#f7fbff)}.card:hover{border-color:#86b9ed;box-shadow:var(--shadow);transform:translateY(-4px)}.card>*{position:relative}.card span{display:inline-block;padding:5px 10px;border-radius:99px;background:#e8f3ff;color:#2c70bb;font-size:12px;font-weight:700}.card h2{color:var(--navy);font-size:25px;margin:20px 0 12px}.card p{max-width:410px;color:var(--muted);line-height:1.8}.course-hero{margin-bottom:24px}.course{display:grid;grid-template-columns:.92fr 1.08fr;gap:32px;align-items:center;padding:30px;margin:20px 0;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 8px 22px #234d7809}.course:nth-of-type(even){grid-template-columns:1.08fr .92fr}.course:nth-of-type(even) .course-copy{order:2}.course h2{font-size:25px;color:var(--navy);margin:8px 0 14px}.rich-content{color:#536b84;line-height:1.8}.rich-content p{margin:7px 0}.video{aspect-ratio:16/9;background:#10233f;border-radius:13px;overflow:hidden;box-shadow:0 12px 25px #0d2d541f}.video iframe{width:100%;height:100%;border:0}.empty{padding:44px;border:1px dashed #aac4df;border-radius:16px;background:#fff;color:var(--muted);text-align:center}.empty strong{display:block;color:var(--navy);font-size:19px;margin-bottom:7px}.admin-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding:32px 38px;border-radius:20px;background:linear-gradient(120deg,#102c53,#215d9e);box-shadow:var(--shadow);color:#fff;margin-bottom:25px}.admin-head h1{font-size:31px;margin:7px 0}.admin-head p:not(.eyebrow){margin:0;color:#d5e9ff}.admin-actions{display:flex;gap:10px;align-items:center}.admin-actions form{margin:0}.admin-grid{display:grid;grid-template-columns:minmax(335px,.9fr) 1.25fr;gap:22px}.editor,.course-list,.login{background:#fff;border:1px solid var(--line);border-radius:18px;padding:27px;box-shadow:0 8px 22px #234d7808}.panel-title{display:flex;gap:10px;align-items:center;margin-bottom:20px}.panel-title h2{font-size:18px;color:var(--navy);margin:0}.panel-title em{font-style:normal;font-size:13px;background:#e8f3ff;color:#2370be;border-radius:30px;padding:3px 9px}.panel-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;color:#fff;background:linear-gradient(135deg,#3b8be2,#69b8ff)}.editor label{display:block;margin:15px 0 7px;color:#405b76;font-size:13px;font-weight:700}.editor input,.login input{width:100%;margin-top:7px;padding:10px 12px;border:1px solid #cbd9e7;border-radius:8px;font:inherit;outline:none}.editor input:focus,.login input:focus,.rich-editor:focus{border-color:#4b99e9;box-shadow:0 0 0 3px #4b99e91a}.toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:8px;border:1px solid #cbd9e7;border-bottom:0;border-radius:9px 9px 0 0;background:#f6f9fd}.toolbar button{min-width:29px;padding:5px 8px;border:1px solid #d4e0ec;border-radius:5px;background:#fff;color:#25476a;cursor:pointer}.toolbar button:hover{background:#eaf4ff}.toolbar span{width:1px;margin:2px 3px;background:#d5e0ea}.toolbar select{max-width:124px;border:1px solid #d4e0ec;border-radius:5px;background:#fff;color:#31516f;font-size:12px}.toolbar input{width:32px;height:27px;margin:0;padding:1px;border:1px solid #d4e0ec;border-radius:5px}.rich-editor{min-height:150px;padding:13px;border:1px solid #cbd9e7;border-radius:0 0 9px 9px;background:#fff;color:#263e58;line-height:1.75;outline:none}.rich-editor:empty:before{content:attr(data-placeholder);color:#95a6b8}.editor>button,.button{display:inline-block;margin-top:20px;padding:10px 16px;border:0;border-radius:8px;background:linear-gradient(135deg,#2777d2,#51a3f4);box-shadow:0 7px 13px #2b82d62e;color:#fff;font:inherit;font-weight:700;cursor:pointer;text-decoration:none}.secondary{margin-top:0!important;background:#eaf3fd!important;box-shadow:none!important;color:#345778!important}.cancel{margin-left:13px;color:#527697;text-decoration:none}.course-list article{display:grid;grid-template-columns:38px 1fr auto;gap:13px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}.course-list article:last-child{border:0}.course-number{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#edf5fe;color:#2f75bd;font-size:13px;font-weight:700}.course-summary strong{display:block;color:var(--navy)}.course-summary span{display:block;margin-top:5px;color:var(--muted);font-size:12px}.actions{display:flex;gap:12px;align-items:center}.actions a{color:#2777c7;font-weight:700;text-decoration:none}.actions form{margin:0}.danger{border:0;border-radius:6px;background:#fff0f0;color:var(--danger);padding:6px 9px;font:inherit;font-size:12px;cursor:pointer}.flash{padding:12px 15px;border-radius:9px;margin-bottom:18px}.flash.success{background:#e9f8ef;color:#197044}.flash.error{background:#fff0ef;color:#af322f}.login{max-width:440px;margin:50px auto}.login h1{color:var(--navy)}.login label{display:block;margin:14px 0;color:#435972;font-size:13px;font-weight:700}footer{text-align:center;padding:30px;color:var(--muted);font-size:13px}@media(max-width:760px){header{padding:0 18px;height:64px}nav{gap:13px;font-size:13px}main{padding:32px 18px 55px}.hero{padding:38px 26px;border-radius:18px}.hero h1,.admin-head h1{font-size:30px}.cards,.admin-grid,.course,.course:nth-of-type(even){grid-template-columns:1fr}.course:nth-of-type(even) .course-copy{order:0}.admin-head{display:block;padding:28px}.admin-actions{margin-top:18px}.course-list article{grid-template-columns:34px 1fr}.actions{grid-column:2}.toolbar select{max-width:90px}}

/* Unified site brand subtitle */
.brand .site-brand-subtitle{display:block;font-size:12px;font-weight:400;line-height:1.4;color:var(--muted);white-space:nowrap}
/* Also cover templates already cached by running workers. */
.brand:not(:has(.site-brand-subtitle)){position:relative;padding-bottom:16px}
.brand:not(:has(.site-brand-subtitle))::after{content:"Genetics & Counseling Hub";position:absolute;left:39px;bottom:0;white-space:nowrap;font-size:12px;line-height:1.4;font-weight:400;color:var(--muted)}
