/* Pixel lettering uses the local font from the USPEX game. */
/* Pixel geometry is independent of the laboratory's final brand palette. */
:root{--pixel:'Pixelify Sans',monospace;--pixel-shadow:#080f0b;--pixel-edge:#5e7866}
.brand-mark,.brand-sub,.mobile-brand b,.hero .eyebrow,.stats strong,.count-chip{font-family:var(--pixel)}
.pixel-logo{display:block;position:relative;flex-shrink:0;width:28px;height:32px;background:var(--mint);clip-path:polygon(25% 0,75% 0,75% 12.5%,87.5% 12.5%,87.5% 25%,100% 25%,100% 75%,87.5% 75%,87.5% 87.5%,75% 87.5%,75% 100%,25% 100%,25% 87.5%,12.5% 87.5%,12.5% 75%,0 75%,0 25%,12.5% 25%,12.5% 12.5%,25% 12.5%)}
.pixel-logo::before{content:'';position:absolute;inset:5px 14px 5px 7px;background:#e1fff0}.pixel-logo::after{content:'';position:absolute;inset:8px 5px 8px 17px;background:#5e9577}
.hero{position:relative;isolation:isolate;overflow:hidden;margin:24px 5% 0;padding:25px;min-height:0;height:225px;background:#dce7df;border:1px solid var(--pixel-edge);box-shadow:4px 4px 0 var(--pixel-shadow);display:block}
.hero-copy{position:relative;z-index:1}.hero .eyebrow{color:#456450;font-size:13px;letter-spacing:1px}.hero h1{color:#253b31;font-size:32px;line-height:1.2;letter-spacing:-.8px;margin:12px 0 0}.hero h1 span{color:#4f715c}.pixel-landscape{position:absolute;z-index:0;bottom:0;left:0;width:100%;height:170px;object-fit:cover;object-position:center bottom;image-rendering:pixelated}
.stats{border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;margin-top:22px}.stats>div{padding:16px 22px}.stats strong{font-size:36px;letter-spacing:0}.stats small{font-size:12px}.stats span{font-size:14px}
.avatar,.rail-item,.count-chip,.search,select,.filters button,.question,.initials,.tag,.more,dialog,.icon-button,.primary-link,.secondary-button,.toast,.empty{border-radius:0}.avatar,.filters button.active,.more,.primary-link{box-shadow:3px 3px 0 var(--pixel-shadow)}.question{box-shadow:3px 3px 0 var(--pixel-shadow);border-color:#425849;background:var(--panel)}.initials{font-family:var(--pixel);border:1px solid #65816b;box-shadow:2px 2px 0 var(--pixel-shadow)}.tag{border-radius:0}.pending::before{border-radius:0}.search{box-shadow:2px 2px 0 var(--pixel-shadow)}.nav-icon{width:22px;height:22px;fill:currentColor;shape-rendering:crispEdges;flex-shrink:0}.rail-item{min-height:48px}.rail-item.selected{border:1px solid var(--pixel-edge);box-shadow:3px 3px 0 var(--pixel-shadow)}.count-chip{font-size:15px}.question-title{min-height:44px}.save-button{min-width:44px;min-height:44px}.filters button{min-height:44px;font-size:14px}.secondary-button{min-height:50px}.icon-button{min-height:44px;min-width:44px}.detail-title{font-size:24px}.detail-excerpt{border-radius:0}.mobile-nav button{position:relative;min-height:50px}.mobile-nav .selected::before{content:'';position:absolute;top:-10px;height:3px;width:24px;background:var(--mint)}
@media(max-width:760px){
.topbar{height:64px;padding:0 16px}.mobile-brand{gap:11px;letter-spacing:0;font-size:24px}.mobile-brand b{font-size:24px;font-weight:500;margin:0;line-height:.85;letter-spacing:1px}.mobile-brand em{font-family:Manrope,system-ui,sans-serif;font-size:9px;margin-top:7px;letter-spacing:4px}.avatar{width:44px;height:44px;font:24px var(--pixel)}
.hero{margin:14px 16px 0;padding:15px;height:184px;min-height:0}.hero .eyebrow{font-size:11px}.hero h1{font-size:23px;line-height:1.23;margin:9px 0 0;letter-spacing:-.6px}.pixel-landscape{height:115px;object-fit:cover}
.stats{margin:16px 16px 0;gap:0;padding-bottom:12px}.stats>div{padding:0 12px;gap:6px}.stats>div:first-child{padding-left:0}.stats strong{font-size:30px}.stats span{font-size:13px;line-height:1.2}.stats small{display:none}
.workspace{padding:21px 16px 110px;scroll-margin-top:16px}.section-title{margin-bottom:14px}.section-title h2{margin:0;font-size:22px}.count-chip{font-size:14px;padding:3px 7px}.controls{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:8px}.search{padding:0 10px}.search input{height:48px;font-size:16px}.search input::placeholder{font-size:14px}.search svg{flex-shrink:0}select{width:48px;height:48px;min-height:48px;padding:0;font-size:0;background-position:center;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23a7bcae' stroke-width='2'%3E%3Cpath d='M5 6h14M5 12h10M5 18h6'/%3E%3C/svg%3E")}select option{font-size:16px}.filters{margin:14px -16px 0;padding:0 16px 5px;gap:8px}.filters button{font-size:14px;min-height:44px;padding:8px 12px}.list-note{font-size:12px;line-height:1.5;margin:12px 0 15px}.questions{gap:14px}.question{padding:16px 14px;gap:11px}.initials{width:32px;height:32px;font-size:13px}.question-meta{padding-right:34px;min-height:32px;gap:1px}.question-title{font-size:16px;line-height:1.5;margin:11px 0 10px}.snippet{font-size:14px;line-height:1.6}.tag,.pending{font-size:11px}.question-bottom{gap:6px}.save-button{top:10px;right:7px;width:44px;height:44px}.mobile-nav{padding-top:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom));background:#16231ff5}.mobile-nav button{font-size:12px;min-width:96px;gap:5px}.mobile-nav .selected::before{top:-9px}
dialog{width:100%;max-width:100%;max-height:calc(100dvh - 24px);margin:auto 0 0;border:1px solid var(--pixel-edge);border-bottom:0;padding:20px 20px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -4px 0 var(--pixel-shadow)}dialog::before{content:'';display:block;width:32px;height:4px;background:#8ba08e;margin:-8px auto 18px}.detail-title{font-size:22px;line-height:1.5}.detail-top{gap:10px}.detail-top .eyebrow{font-size:11px}.detail-actions{display:grid;gap:12px}.detail-actions>*{width:100%;font-size:16px;min-height:50px}.detail-excerpt{padding:14px 16px}.toast{bottom:94px;font-size:14px}.toast button{min-height:44px}.more{min-height:48px;font-size:16px}
}
@media(max-width:359px){.hero h1{font-size:20px}.hero{height:172px;padding:13px}.pixel-landscape{height:105px}.stats span{font-size:12px}.stats>div{padding:0 9px}.mobile-nav button{min-width:85px;font-size:11px}.search input::placeholder{font-size:12px}.section-title h2{font-size:20px}.pending{margin-left:0}.question{padding:14px 10px;gap:8px}.initials{width:26px;height:28px}.tag{font-size:10px}}
