/* Original WordPress branding, readable terminal/DOS-inspired typography. */
:root{--bs-body-font-family:"Cascadia Mono","Cascadia Code",Consolas,"Liberation Mono","Courier New",monospace;--accent:#99cc99}
body{font-size:16px;line-height:1.75;font-variant-ligatures:none}
.container{max-width:1200px}
.original-brand{display:flex;flex-direction:column;align-items:flex-start;gap:10px;letter-spacing:0;width:460px;max-width:100%;flex-shrink:0}
.original-brand img{display:block;max-width:400px;width:100%;height:auto;filter:brightness(1.6) saturate(.55) contrast(.92)}
html[data-theme=light] .original-brand img{filter:saturate(.8)}
.original-brand small{margin:0 0 0 3.2%;text-transform:none;letter-spacing:0;font-family:var(--bs-body-font-family);font-size:11px;line-height:1.6;color:var(--muted);font-weight:400}
.topline{font-size:11px}.page-heading{padding:28px 0 18px;margin:0}.page-heading h1{font-size:28px;font-weight:650;letter-spacing:-.5px;margin:0}.page-heading h1:before{content:"> ";color:var(--accent)}
.journal-layout,.page-heading{max-width:970px;margin-left:auto;margin-right:auto}
.story h2,.story.lead-story h2{font-size:23px;line-height:1.5;letter-spacing:-.5px;font-weight:650;margin:13px 0 12px}
.story p{font-size:15px;line-height:1.85}.story-foot{font-size:12px}.story-kicker{font-size:11px}.story{padding:27px 0}
.header-actions input,.theme-toggle,.btn,.panel,.admin-nav nav a,.login-card,.badge,input,select,textarea,.editor-toolbar,.editor-toolbar button,.table-wrap{border-radius:2px}
.article-header h1{font-size:36px;line-height:1.45;letter-spacing:-1px}.prose{font-size:17px;line-height:1.9}.prose>p:first-child{font-size:18px;line-height:1.9}.prose h2{font-size:25px;line-height:1.5;letter-spacing:-.5px}.prose h3{font-size:20px;line-height:1.5}.prose code{font-size:.92em;border-radius:2px}.prose pre{border-radius:2px}
.article-byline{font-size:13px}.article-byline>div>span{font-size:12px}.reading-nav nav{font-size:13px}
.original-footer{font-size:12px;color:var(--muted)}.original-footer a{color:var(--accent)}
.admin-brand img,.login-brand img{max-width:100%;height:auto;display:block;filter:brightness(1.6) saturate(.55) contrast(.92)}
.login-brand{display:block;max-width:290px}.admin-brand{display:block}.workspace-label{font-size:9px}
@media(max-width:600px){.header-inner{flex-direction:column;gap:18px}.original-brand{max-width:100%}.original-brand img{width:340px;max-width:100%}.original-brand small{font-size:10px}.header-actions{width:100%;justify-content:space-between;flex-wrap:nowrap}.header-actions form{flex:1}.header-actions input{width:100%;font-size:12px}.theme-toggle{height:38px;width:38px}.story h2,.story.lead-story h2{font-size:20px}.story p{font-size:14px}.story-foot{font-size:10px}.article-header h1{font-size:27px}.prose{font-size:16px}.prose>p:first-child{font-size:17px}.prose h2{font-size:22px}.page-heading h1{font-size:24px}}

@media(max-width:991px){.header-inner{flex-direction:column;align-items:flex-start;gap:20px}.header-actions{width:100%;gap:12px}.header-actions form{flex:1;min-width:0}.header-actions input{width:100%}}
@media(max-width:600px){.original-brand{width:340px}}

/* Transparent doctor-penguin mark: the same PNG works in both themes. */
.original-brand img{width:460px;max-width:100%;height:72px;object-fit:cover;filter:none;background:transparent}
html[data-theme=light] .original-brand img{filter:none}
.admin-brand img{width:100%;height:36px;object-fit:cover;filter:none}
.login-brand img{width:290px;height:50px;object-fit:cover;filter:none}
@media(max-width:600px){.original-brand img{width:340px;height:56px}}

/* Circular sun/moon controls based on the user's monochrome icon reference. */
.theme-toggle{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;padding:0;border:1px solid #657176;border-radius:50%;background:#101415;color:#f0f2ec}
.theme-icon{display:block;width:30px;height:30px;background:currentColor;mask-repeat:no-repeat;mask-position:center;mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain}
.theme-sun{mask-image:url('theme-sun.svg');-webkit-mask-image:url('theme-sun.svg')}
.theme-moon{mask-image:url('theme-moon.svg');-webkit-mask-image:url('theme-moon.svg');display:none}
html[data-theme=light] .theme-toggle{border:2px solid #19201d;background:#f7f8f3;color:#19201d}
html[data-theme=light] .theme-sun{display:none}
html[data-theme=light] .theme-moon{display:block}
.theme-toggle:hover{border-color:var(--accent)}
.contact-form{max-width:670px;margin:28px 0}.contact-form label{display:block;margin:18px 0 6px;font-size:14px}.contact-form fieldset{padding:0;border:0;margin:0}.contact-form legend{font-size:16px}.contact-name{display:grid;grid-template-columns:1fr 1fr;gap:20px}.contact-form input,.contact-form textarea{display:block;width:100%;padding:11px;color:var(--text);background:var(--field);border:1px solid var(--line)}.contact-form textarea{resize:vertical}.contact-submit{margin-top:20px;padding:8px 22px;background:var(--accent);color:var(--bg);border:1px solid var(--accent);cursor:pointer}.contact-privacy{font-size:12px!important;color:var(--muted);margin-top:15px!important}.contact-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.contact-notice{border:1px solid var(--accent);padding:18px}.contact-error{border-left:3px solid #ca7373;padding-left:15px}
@media(max-width:600px){.contact-name{grid-template-columns:1fr;gap:0}}
.prose pre{position:relative;padding-top:52px}.copy-code{position:absolute;top:10px;right:12px;padding:4px 10px;border:1px solid var(--line);background:var(--panel);color:var(--accent);font-size:12px;cursor:pointer}.guide-details{display:flex;gap:16px;flex-wrap:wrap;padding:14px;border:1px solid var(--line);margin-bottom:24px;font-size:12px;color:var(--muted)}
