/* Shared light visual language for the author site and private Control Center. */
:root{color-scheme:light;--bg:#f4f6f8;--surface:#fff;--surface-2:#edf2f7;--panel:#fff;--line:#dce3ea;--line-strong:#c4cfdc;--ink:#243447;--ink-soft:#5a6879;--muted:#5a6879;--blue:#315f91;--green:#24704f;--amber:#895819;--slate:#426d98;--slate-bright:#426d98;--slate-deep:#315477;--slate-tint:#e7eff7;--slate-line:#c1d2e3;--cta:#315f91;--cta-hover:#254c76;--cta-ink:#fff;--display:'Poppins',sans-serif;--body:'Poppins',sans-serif;--mono:'Poppins',sans-serif}
html{background:#f4f6f8;color-scheme:light}body,button,input,select,textarea{font-family:'Poppins',sans-serif}body{background:var(--bg);color:var(--ink)}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}::selection{background:#d1e2f3;color:#243447}
/* Private workspace */
.control-center{font-size:14px;line-height:1.65}.control-center header{max-width:1200px;padding:24px 28px;align-items:center}.control-center .brand{font-size:15px;font-weight:600}.control-center .brand small{font-size:11px}.control-center .brand-mark{background:#e3edf7;color:#315f91;border-radius:13px}.control-center button{background:#fff;color:var(--ink);border-color:var(--line);font-size:13px;font-weight:500;padding:10px 16px;border-radius:10px}.control-center button:hover{background:#edf2f7}.control-center .primary{background:var(--blue);color:#fff;border-color:var(--blue)}.control-center .primary:hover{background:#254c76}.control-center input,.control-center select,.control-center textarea{background:#fff;color:var(--ink);border-color:#c7d2de;border-radius:10px;font-size:16px}.control-center main{padding:24px 28px 48px}.control-center h1{font-size:clamp(1.8rem,3.8vw,2.7rem);font-weight:600;letter-spacing:-.045em;line-height:1.2}.control-center h2{font-size:1.15rem;font-weight:600}.control-center .eyebrow{font-size:10px;letter-spacing:.14em;color:#527399}.control-center .quiet{font-size:12px}.control-center .auth-card{background:#fff;border:1px solid var(--line);box-shadow:0 12px 45px #24344708;padding:36px;border-radius:22px}.control-center .intro{font-size:14px;line-height:1.8}.control-center .auth-options button{color:var(--blue);background:none;font-size:12px}.control-center .heading{align-items:center;margin-bottom:20px}.control-center .heading h1{margin:6px 0 8px}.control-center .notice{background:#edf3f9;border:1px solid #d5e2ee;color:#405c79;font-size:12px;padding:13px 16px;line-height:1.7}.control-center .metrics{gap:14px;margin:22px 0}.control-center .metrics article{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px 22px;box-shadow:0 3px 12px #24344703}.control-center .metrics span{font-size:12px;display:block;line-height:1.5;min-height:18px}.control-center .metrics strong{font-size:2rem;font-weight:600;margin-top:10px;font-variant-numeric:tabular-nums}.control-center .metrics article:nth-child(2){background:#f1f7f3}.control-center .metrics article:nth-child(4){background:#edf3fa}.control-center .section-heading{gap:16px;margin-bottom:12px}.control-center .section-heading h2{margin:0}.control-center .site-grid{gap:16px;margin-top:18px}.control-center .site-card{border:1px solid var(--line);border-radius:16px;padding:22px;display:flex;flex-direction:column;background:#fff}.control-center .site-card h3{font-size:14px;font-weight:600}.control-center .site-card .domain{font-size:11px;margin-top:5px}.control-center .badge{border:0;color:#246343;background:#e7f3eb;font-size:10px;padding:4px 9px}.control-center .badge.attention{background:#faf0df;color:#805015}.control-center .site-detail{margin-top:22px;font-size:11px}.control-center .site-detail strong{font-size:12px;font-weight:500}.control-center .card-links{margin-top:auto;padding-top:14px}.control-center .card-links a{font-size:12px;text-decoration:none;font-weight:500}.control-center .conversation{background:#fff;border-color:var(--line)}.control-center .message{background:#edf2f7;color:var(--ink);font-size:14px}.control-center .message.user{background:#e2edf8;color:#24486c}.control-center .message small{color:#526d88}.control-center dialog{background:#fff;box-shadow:0 20px 80px #24344720}.control-center .connection-settings{background:#fff;border-radius:16px;padding:20px;margin-top:24px}.control-center .connection-settings summary{font-weight:500;font-size:13px}.control-center .connection-settings p{max-width:700px}.control-center .connection-settings form{max-width:520px}.control-center footer{font-size:11px;padding:24px}.control-center :focus-visible{outline-color:#426d98}
@media(max-width:600px){.control-center header{padding:18px 18px 12px;gap:10px;flex-wrap:wrap}.control-center .brand{font-size:13px}.control-center .brand small{font-size:10px}.control-center .brand-mark{width:34px;height:34px;font-size:11px}.control-center main{padding:16px 18px 32px}.control-center .auth-card{padding:26px 22px;margin:12px auto}.control-center .auth-card h1{font-size:1.9rem}.control-center .heading{gap:12px;align-items:flex-start}.control-center .heading h1{font-size:1.85rem}.control-center #updated{font-size:10px;max-width:245px}.control-center .notice{font-size:11px;padding:12px 14px}.control-center .metrics{gap:10px;margin:18px 0}.control-center .metrics article{padding:16px;border-radius:14px}.control-center .metrics span{font-size:11px}.control-center .metrics strong{font-size:1.8rem;margin-top:8px}.control-center .section-heading{gap:12px}.control-center .search-label{font-size:11px}.control-center .site-card{padding:18px}.control-center .site-top{gap:8px}.control-center .site-grid{gap:12px}.control-center .connection-settings{padding:18px}.control-center .connection-settings .quiet{font-size:11px}.control-center .message{font-size:13px}}
/* Public author site */
.author-site{background:#faf9f6}.author-site nav{background:#faf9f6f2}.author-site .mobile-menu{background:#faf9f6}.author-site .logo{font-size:1.2rem;letter-spacing:-.045em}.author-site .nav-links a{font-size:12px;letter-spacing:0;text-transform:none}.author-site .hero-eyebrow,.author-site .eyebrow{letter-spacing:.12em;font-size:11px}.author-site h1{font-size:clamp(2.5rem,5.7vw,4.5rem);line-height:1.13;letter-spacing:-.055em}.author-site h2{letter-spacing:-.045em;line-height:1.2}.author-site .hero-tag{font-style:normal;font-size:1.3rem;line-height:1.5}.author-site .hero-blurb{font-size:15px;line-height:1.9}.author-site .btn{font-size:12px;letter-spacing:.015em;text-transform:none;font-weight:500;border-radius:10px}.author-site .card,.author-site .project-card{background:#fff;border-color:var(--line);box-shadow:0 4px 18px #24344704;border-radius:18px}.author-site .cred{background:#eef3f8;backdrop-filter:none}.author-site .catalog-controls{background:#eef3f8;border-color:var(--line)}.author-site .catalog-controls label,.author-site #bookCount{color:var(--ink-soft)}.author-site .catalog-controls input{background:#fff;color:var(--ink);border-color:#c5d1dd;font-family:var(--body)}.author-site .catalog-filters button{font-family:var(--body);border-color:#c5d1dd;color:#405975;background:#fff}.author-site .catalog-filters button[aria-pressed=true]{background:#315f91;color:#fff;border-color:#315f91}.author-site .project-card{color:var(--ink)}.author-site .project-card p{color:var(--ink-soft)}.author-site .project-card span,.author-site .project-card b,.author-site .book-meta:after{color:#426d98}.author-site .stat:hover,.author-site .portrait-frame.glow,.author-site .book:hover{box-shadow:0 16px 40px #24344718}.author-site .site-assistant-launch{background:#315f91;border-color:#315f91;color:#fff;box-shadow:0 6px 24px #24344720;font-family:var(--body)}.author-site .assistant-dialog{background:#fff;color:var(--ink);border-color:var(--line);font-family:var(--body);box-shadow:0 20px 70px #24344730}.author-site .assistant-head,.author-site .assistant-form{border-color:var(--line)}.author-site .assistant-head small,.author-site .assistant-form label,.author-site .assistant-foot{color:var(--ink-soft)}.author-site .assistant-close{color:var(--ink);border-color:var(--line)}.author-site .assistant-message{background:#edf2f7;color:var(--ink)}.author-site .assistant-message.user{background:#e2edf8}.author-site .assistant-message.error{background:#fff0ed;border-color:#dfb6aa}.author-site .assistant-action,.author-site .assistant-prompt{background:#edf3f9;color:#315f91;border-color:#c6d5e5}.author-site .assistant-form textarea{background:#fff;color:var(--ink);border-color:#c5d1dd;font-family:var(--body)}.author-site .assistant-send{background:#315f91;color:#fff;font-family:var(--body)}.author-site .assistant-source,.author-site .assistant-foot button{color:#315f91}.author-site .assistant-dialog :focus-visible{outline-color:#426d98}
@media(max-width:600px){.author-site #home{padding:105px 0 55px;min-height:0}.author-site .hero-copy h1{font-size:clamp(2rem,8.2vw,2.9rem)}.author-site .hero-copy .hero-tag{font-size:1.15rem}.author-site .hero-eyebrow{font-size:9px}.author-site .hero-blurb{font-size:14px;line-height:1.85}.author-site section{padding:58px 0}.author-site .logo{font-size:1.1rem}.author-site .portrait-frame{max-width:330px}.author-site .stat{padding:22px 15px}.author-site .stat .lbl{font-size:10px;letter-spacing:.04em}.author-site .hero-cta .btn{min-height:52px}.author-site .project-card{padding:22px}.author-site .project-card h3{font-size:21px}}

/* Public author contrast pass: keep the light canvas, restore dark structure where it adds hierarchy. */
.author-site nav{background:rgba(20,24,31,.97);border-bottom-color:rgba(255,255,255,.10)}
.author-site .logo{color:#f4f7fb}.author-site .logo span{color:#8fb5e1}
.author-site .nav-links a{color:#c7d2de}.author-site .nav-links a:hover,.author-site .nav-links a:focus-visible{color:#9bc0ec}.author-site .nav-links a.nav-cta,.author-site .nav-links a.nav-cta:hover,.author-site .nav-links a.nav-cta:focus-visible{color:#fff}
.author-site .menu-btn{color:#f4f7fb}
.author-site .mobile-menu{background:#14181f;border-bottom-color:rgba(255,255,255,.10)}
.author-site .mobile-menu a{color:#f4f7fb;border-bottom-color:rgba(255,255,255,.10)}.author-site .mobile-menu a:last-child{color:#9bc0ec}
.author-site #projects .project-card:nth-child(odd):not(.project-card-light){background:#17212d;border-color:#2f3d4f;color:#f4f7fb;box-shadow:0 10px 28px #17212d1f}
.author-site #projects .project-card:nth-child(odd):not(.project-card-light) p{color:#c4ceda}.author-site #projects .project-card:nth-child(odd):not(.project-card-light) span,.author-site #projects .project-card:nth-child(odd):not(.project-card-light) b{color:#9bc0ec}
.author-site #projects .project-card:nth-child(odd):not(.project-card-light):hover{border-color:#739bc7;box-shadow:0 16px 36px #17212d2b}
