/* Exact Confidential assets, font families and botanical palette. */
:root{--bg:#030205;--panel:#244333f5;--panel2:#2c4936;--border:#a78c5277;--ink:#eaf4c5;--muted:#d3e2c5;--soft:#c0d7a7;--purple:#dbbce9;--purple2:#b395d0;--green:#b9db8b;--font-biriah-body:'Nunito Sans';--font-biriah-display:'Fraunces';--font-geist-mono:'Geist Mono'}
body{font-family:var(--font-biriah-body),sans-serif;background:#030205 url('/static/brand/biriah-galaxy-neon-v4.webp') center top/cover fixed}
h1,h2,h3,h4,.post-title,.stat-value{font-family:var(--font-biriah-display),Georgia,serif;font-weight:600}.mono{font-family:var(--font-geist-mono),monospace}
.sidebar{background:linear-gradient(155deg,#244b32f5,#17392bef 44%,#382541f2);border-color:#a78c5277}.workspace{background:transparent}.main-content{background:transparent}.topbar{background:#1c103fdb;border-bottom:1px solid #a78c5277;backdrop-filter:blur(12px)}
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:0;padding-bottom:20px}.wordmark{display:block;width:226px;height:auto;aspect-ratio:3;object-fit:contain;mix-blend-mode:screen}.brand-tag{color:#e5cf85;font-size:11px;letter-spacing:.7px;padding-left:4px}.auth-brand .wordmark{width:min(100%,410px)}.mobile-brand-logo{width:132px;height:44px;object-fit:contain;mix-blend-mode:screen;display:none}
.nav-link.active,.nav-link.active:hover{background:linear-gradient(120deg,#c8dfa6,#d8c7ea);color:#2e4e31;border-color:#b4ac65}.nav-link:hover{background:#a875c122}.sidebar-note{background:#284e38c9;border-color:#c2a65380}.account{border-color:#a78c5277}
.hero{background:linear-gradient(105deg,#17392bf5,#244333e8 55%,#38254190);border:1px solid #c2a65380;border-radius:22px 9px 22px 9px;min-height:255px}.hero:after{background:url('/static/brand/biriah-galaxy-neon-v4.webp') right center/cover;opacity:.55}.hero h1{color:#eaf4c5}.gradient-text,.auth .gradient-text{color:#dbbce9}.hero p{color:#d3e2c5}
.post-card,.panel,.side-card,.reply,.stat,.strain-card,.node-detail,.auth-card{background:linear-gradient(130deg,#244333f7,#17392bf5 70%,#382541f2);border:1px solid #c2a65380;border-radius:22px 9px 22px 9px;box-shadow:inset 0 1px #e3dfae22,0 8px 25px #061a1540}.post-title,.method-card strong{color:#eaf4c5}.strain-card figure{background:#17392b}.strain-card h2{font-size:24px;line-height:1.3}.strain-card img{filter:none}.strain-thc strong{color:#eaf4c5}
input,select,textarea,.scope-wrap select{background:#e0eacb;color:#304937;border-color:#a6b685;border-radius:11px}input::placeholder,textarea::placeholder{color:#627058}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #d8b8ee;outline-offset:2px}
.btn{background:linear-gradient(120deg,#d8c3e8,#c6d6ed);border-color:#b39bcc;color:#514168;border-radius:12px}.btn:hover{background:#e5d7ee;border-color:#ebd289}.btn.primary{background:linear-gradient(120deg,#bed387,#ead99b,#cbb6d8);color:#3a442c;border-color:#d5c17d}.btn.primary:hover{background:linear-gradient(120deg,#cee49a,#f6e6b2,#dec8ea)}.btn.ghost{background:#17392bcc;color:#ead99b}.btn.danger{background:#3c2739;color:#ffccd5;border-color:#b38992}.tab.active{color:#ebd289;border-bottom-color:#d5bd70}.badge{background:#284e38;color:#eaf4c5}.badge.warning{background:#4a3823;color:#f5dda5}.button-link,.source-link,.side-link{color:#ebd289}
.method-card{background:linear-gradient(130deg,#ded0ed,#c5d9ea);border:1px solid #b6a8cc;color:#574f68;border-radius:9px 22px 9px 22px}.method-card p,.method-card strong,.method-card .icon{color:#514168}.notice,.empty{background:#17392bef;border-color:#c2a65380}.terpene-grid .star{background:#2c4936;border-color:#a78c5277}.terpene-grid .star.active{background:#4a3b59;border-color:#dbbce9}.space-panel{background:#17392bf5}.bar-fill{background:linear-gradient(90deg,#b9db8b,#cbb6d8)}
.auth{background:#07150bd9;border:1px solid #a78c5277;border-radius:22px;padding:42px;margin:5vh auto;max-width:1160px}.auth-art{opacity:1;height:180px;background:url('/static/brand/biriah-galaxy-neon-v4.webp') center/cover}.auth-brand>p{color:#d3e2c5}.auth-card{background:#244333fa}.auth-card h2{color:#eaf4c5}
dialog{background:linear-gradient(145deg,#244333,#251f36);border-color:#bca45e;border-radius:20px;color:#eaf4c5}.view-foot{background:#030205dd;padding:16px;border-radius:10px;color:#d3e2c5}.research-card .record-id{color:#e5cf85}.research-card p{overflow-wrap:anywhere}.research-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px}.research-card{padding:22px}.research-card details{margin-top:15px}.research-card summary{cursor:pointer;min-height:44px;color:#ebd289}.research-card .table-wrap{margin-top:12px}.research-card h2{font-size:23px}
.library-search{margin:18px 0 24px;max-width:580px}.library-search label{display:block;margin-bottom:8px;font-size:14px;color:#eddfaa}.library-search input{width:100%}.strain-card[hidden],.research-card[hidden]{display:none}.search-empty{padding:18px;background:#17392bef;border:1px solid var(--border);border-radius:12px}
.sidebar{overflow-y:auto}.sidebar .wordmark{width:100%;max-width:226px}.sidebar .brand{flex-shrink:0}.main-content{background:#03020588}.section-head,.library-status,.library-search,.main-content>.field-help{position:relative}.section-head p,.library-status,.library-search label,.library-search [role=status],.field-help{text-shadow:0 1px 4px #0008}.strain-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
@media(max-width:980px){.mobile-brand{display:none}.mobile-brand-logo{display:block}.crumb{display:none}.sidebar{background:linear-gradient(155deg,#244b32,#17392b 44%,#382541)}.auth{margin:24px}}
@media(max-width:640px){.auth{margin:12px;padding:24px 18px}.auth-brand .wordmark{width:275px;max-width:100%}.wordmark{width:220px}.auth-art{display:none}body{background-size:auto 100vh;background-position:center top}.topbar{backdrop-filter:none}.main-content{padding:18px 14px}.strain-card-body{padding:20px}.research-card{padding:18px}}
@media print{body{background:white!important}.wordmark,.mobile-brand-logo{display:none}.panel,.stat,.method-card,.strain-card,.post-card,.reply,.view-foot{background:white!important;color:#111!important;box-shadow:none!important}.method-card p,.method-card strong,.stat-value{color:#111!important}}

/* Unified branding uses the original cannabis bud and bud-lettered wordmark. */
.bud-mark{display:inline-block;width:54px;height:54px;object-fit:cover;object-position:62% 50%;border-radius:50%;vertical-align:middle}.brand-bud{width:60px;height:60px;margin-bottom:4px}.auth-brand .brand-bud{width:88px;height:88px}.boot .bud-mark{width:100px;height:100px}.sidebar .brand{padding-bottom:12px}.sidebar nav{max-height:calc(100dvh - 310px)}

.mobile-bud{display:none}@media(max-width:980px){.mobile-bud{display:block;width:36px;height:36px}.mobile-brand-logo{width:110px}}

/* Requested clear header, with more prominent original bud branding. */
.topbar{background:transparent;border:0;box-shadow:none;backdrop-filter:none;min-height:106px;height:auto;padding-top:12px;padding-bottom:12px;flex-wrap:wrap}
.brand-bud{width:82px;height:82px}.sidebar .wordmark{max-width:250px}.auth-brand .wordmark{width:min(100%,470px)}
@media(max-width:980px){.mobile-bud{width:60px;height:60px}.mobile-brand-logo{width:220px;height:auto;max-width:50vw}.topbar>.row{gap:12px}.sidebar{width:250px}}
@media(max-width:460px){.mobile-bud{width:52px;height:52px}.mobile-brand-logo{width:180px;max-width:49vw}.topbar{min-height:94px}.top-actions{margin-left:auto}.scope-wrap select{max-width:155px}}

/* A persistent toggle controls the sliding sidebar on every screen size. */
.mobile-toggle{display:grid;flex-shrink:0}.shell{transition:grid-template-columns .22s ease}.sidebar{transition:transform .22s ease,visibility .22s;position:sticky;overflow-x:hidden}.sidebar-close{position:absolute;top:12px;right:10px;z-index:2}.sidebar .brand{padding-top:12px}
@media(min-width:981px){.shell{grid-template-columns:250px minmax(0,1fr)}.shell.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)}.sidebar{width:250px}.sidebar-collapsed .sidebar{transform:translateX(-100%);visibility:hidden;pointer-events:none}.sidebar:not(.open){visibility:hidden}.sidebar.open{visibility:visible;transform:translateX(0)}}
@media(max-width:980px){.sidebar{position:fixed;width:250px}.sidebar-collapsed .sidebar{transform:translateX(-100%);visibility:hidden}.sidebar.open{transform:translateX(0);visibility:visible}.shell{display:block}}
@media(prefers-reduced-motion:reduce){.shell,.sidebar{transition:none}}

.sidebar-collapsed .topbar .mobile-bud{display:block;width:60px;height:60px}
.sidebar-collapsed .topbar .mobile-brand-logo{display:block;width:240px;height:auto;max-width:50vw}
.sidebar-collapsed .topbar .crumb{display:none}
@media(max-width:460px){.sidebar-collapsed .topbar .mobile-bud{width:52px;height:52px}.sidebar-collapsed .topbar .mobile-brand-logo{width:180px;max-width:49vw}}

/* Keep orientation on the left and center the brand when the drawer is hidden. */
.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:18px}
.topbar>.row{grid-column:1;grid-row:1;min-width:0;justify-self:start}
.topbar .top-actions{grid-column:3;grid-row:1;justify-self:end}
.topbar-brand{display:none;grid-column:2;grid-row:1;align-items:center;justify-content:center;gap:10px}
.sidebar-collapsed .topbar-brand{display:flex}
.topbar .crumb,.sidebar-collapsed .topbar .crumb{display:block;white-space:normal;line-height:1.5}
.topbar-brand .mobile-bud{display:block;width:60px;height:60px}
.topbar-brand .mobile-brand-logo{display:block;width:220px;height:auto;max-width:none}
.sidebar-collapsed .topbar-brand .mobile-brand-logo{width:220px;max-width:none}
@media(max-width:980px){.topbar-brand{display:flex}.topbar .crumb{display:block}}
@media(max-width:1360px){.topbar{grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;padding-top:10px;padding-bottom:14px}.topbar>.row{grid-column:1;grid-row:1}.topbar .top-actions{grid-column:2;grid-row:1}.topbar .top-actions>.badge{display:none}.topbar-brand{grid-column:1/-1;grid-row:2}.topbar .crumb{font-size:11px}.topbar-brand .mobile-bud,.sidebar-collapsed .topbar-brand .mobile-bud{width:52px;height:52px}.topbar-brand .mobile-brand-logo,.sidebar-collapsed .topbar-brand .mobile-brand-logo{width:210px;max-width:none}}
@media(max-width:640px){.topbar .top-actions{display:contents}.topbar .top-actions>.avatar{grid-column:2;grid-row:1;justify-self:end}.topbar .scope-wrap{grid-column:1/-1;grid-row:3;min-width:0;width:100%;margin:4px 0 0}.topbar .scope-wrap select{min-width:0;max-width:none;flex:1}.topbar>.row{width:100%}.topbar .crumb{min-width:0}.topbar .crumb a{min-height:44px}}

.crumb a{display:inline-flex;align-items:center;min-height:44px;color:inherit;text-decoration:none}.crumb a[aria-current]{color:var(--ink);font-weight:600}.crumb a:hover{text-decoration:underline;color:var(--ink)}.crumb a:focus-visible{outline:2px solid var(--purple);outline-offset:3px;border-radius:3px}

/* Collapsible sidebar groups */
.sidebar .nav-group{margin:0 0 8px;border-bottom:1px solid #a78c5233;padding-bottom:8px}.sidebar .nav-group>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 10px;color:#d7c3e5;font-size:11px;font-weight:750;letter-spacing:1px;text-transform:uppercase;cursor:pointer;border-radius:9px}.sidebar .nav-group>summary::-webkit-details-marker{display:none}.sidebar .nav-group>summary:after{content:'⌄';font-size:18px;line-height:1;transition:transform .15s}.sidebar .nav-group[open]>summary:after{transform:rotate(180deg)}.sidebar .nav-group>summary:hover{background:#d2bcdf11}.sidebar .nav-group:has(.active)>summary{color:#eaf4c5}.sidebar nav{min-height:0;flex:1;max-height:none}.sidebar .nav-group .nav-link{padding-top:9px;padding-bottom:9px}

/* Account photos share the existing green, gold and violet palette. */
.avatar { flex-shrink:0; overflow:hidden; }
.avatar img { display:block; width:100%; height:100%; object-fit:cover; border-radius:50%; }
.profile-identity { display:flex; gap:18px; align-items:center; margin:18px 0; }
.profile-identity p { margin:4px 0 8px; }
.profile-avatar { width:80px; height:80px; font-size:30px; }
.photo-review { padding:20px 0; border-top:1px solid #6f764b; margin-top:20px; }
.review-photo { width:192px; height:192px; object-fit:cover; border-radius:16px; margin:16px 0; }
.photo-review details { margin:14px 0; }
#profile-photo { max-width:100%; }
.profile-identity>div { min-width:0; overflow-wrap:anywhere; }
.photo-review h3 { overflow-wrap:anywhere; }
@media(max-width:640px){.topbar .top-actions>.avatar{display:flex;align-items:center;justify-content:center;width:36px;height:36px}}

.profile-link{display:flex;align-items:center;gap:7px;min-height:44px;padding:4px 9px 4px 4px;border:1px solid #a78c5277;border-radius:24px;background:#244333e8;color:var(--ink);font-size:12px;white-space:nowrap;text-decoration:none}
.profile-link:hover{background:#31573e}.profile-link:focus-visible{outline:2px solid var(--purple);outline-offset:3px}
.topbar .profile-link .avatar{display:flex;align-items:center;justify-content:center;width:30px;height:30px}
@media(max-width:640px){.topbar .top-actions>.profile-link{grid-column:2;grid-row:1;justify-self:end}}
.profile-avatar{position:relative;cursor:pointer}.profile-photo-edit{position:absolute;left:0;right:0;bottom:0;background:#18392ae8;text-align:center;font-size:10px;padding:3px;color:#eaf4c5}.photo-rules{margin-bottom:16px}.photo-rules summary{cursor:pointer;color:#ebd289}

/* Owner-approved gold and violet dust; decorative and never intercepts clicks. */
.brand,.topbar-brand,.founder-signature{position:relative}
.founder-signature{position:relative;display:inline-flex;align-items:center;vertical-align:middle;flex:none}
.brand::after,.topbar-brand::after,.founder-signature::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 5% 22%,#f8dc75 0 1px,transparent 2px),radial-gradient(circle at 13% 78%,#c786ff 0 1.4px,transparent 3px),radial-gradient(circle at 22% 10%,#e9ba43 0 1px,transparent 2px),radial-gradient(circle at 32% 84%,#f9df79 0 1px,transparent 2.5px),radial-gradient(circle at 43% 18%,#bb74ff 0 1px,transparent 2.5px),radial-gradient(circle at 57% 88%,#d99aff 0 1px,transparent 2.5px),radial-gradient(circle at 68% 9%,#ffdd63 0 1.4px,transparent 3px),radial-gradient(circle at 77% 73%,#f6ce56 0 1px,transparent 2px),radial-gradient(circle at 88% 19%,#c481ff 0 1.3px,transparent 3px),radial-gradient(circle at 95% 85%,#ffe696 0 1px,transparent 2.5px);filter:drop-shadow(0 0 3px #c17afa) drop-shadow(0 0 2px #ffd962);opacity:.85;animation:logo-dust 6s ease-in-out infinite}
.wordmark,.mobile-brand-logo,.device-wordmark,.founder-wordmark{mix-blend-mode:screen;filter:none}
.founder-signature{mix-blend-mode:screen}
.brand .bud-mark,.topbar-brand .bud-mark{filter:drop-shadow(0 0 3px #edc64c55) drop-shadow(0 0 5px #b965ee77)}
@keyframes logo-dust{0%,100%{opacity:.65;transform:translateY(0)}50%{opacity:1;transform:translateY(-1px)}}
@media(prefers-reduced-motion:reduce){.brand::after,.topbar-brand::after,.founder-signature::after{animation:none}}
/* Gold and violet box edging; the logo itself retains its clear surround. */
.panel,.post-card,.reply,.strain-card,.side-card,.u-card,.auth-card {
 border:2px solid transparent;
 background:linear-gradient(132deg,rgba(23,58,43,.97),rgba(17,43,33,.97) 68%,rgba(44,29,57,.97)) padding-box,linear-gradient(130deg,#f8dc89 0%,#a6b77b 22%,#9670bd 49%,#e0a9ff 74%,#ead48b 100%) border-box;
 box-shadow:0 0 0 1px rgba(230,207,117,.08),0 4px 24px rgba(0,0,0,.23),0 0 20px rgba(166,87,216,.16),inset 0 1px 0 rgba(255,244,168,.1);
 transition:box-shadow .2s ease,border-color .2s ease;
}
.panel:focus-within,.post-card:hover,.strain-card:hover,.side-card:hover,.u-card:hover {box-shadow:0 0 0 1px rgba(237,214,125,.22),0 0 22px rgba(192,124,241,.2),0 5px 25px rgba(0,0,0,.3);}
.community-section{scroll-margin-top:30px}.community-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.community-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:end}.community-fields>.btn{justify-self:start}.community-submit{padding-top:18px}.community-card{min-width:0;overflow-wrap:anywhere}.community-card h3{font-size:26px;margin-top:14px}.community-card figure{margin:16px 0}.community-card figure img{display:block;max-width:100%;width:100%;height:230px;object-fit:contain;border-radius:12px;background:#10281f}.community-card figcaption{font-size:11px;color:#cacbb0;margin-top:8px}.community-rating{border-top:1px solid #aa9b6044;padding:14px 0;margin-top:10px}.community-rating select{width:auto;max-width:100%;min-height:40px}.community-rating .row{margin-top:10px;gap:8px}.community-card .details-body{white-space:pre-wrap}.strain-photo-missing{min-height:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:22px;text-align:center;background:radial-gradient(ellipse at 80% 10%,#73519722,transparent),#10271ed9;border-bottom:1px solid #b8a45b44;color:#d5d4b9}.strain-photo-missing .icon{width:34px;height:34px;color:#bda4d9}.strain-photo-missing span{font-size:12px}.community-card .strain-photo-missing{min-height:80px;margin:15px 0;border-radius:10px}.feed-top+.tabs~.row{flex-wrap:wrap;gap:12px}button[aria-pressed=true]{outline:1px solid #c0a4db}.community-card input[type=file],.community-submit input[type=file]{max-width:100%;font-size:12px}#forum-sort,#reply-sort,#library-sort{max-width:100%;width:auto;margin:8px 0;min-height:42px}.community-rating .error-box:empty{display:none}
@media(max-width:700px){.community-grid,.community-fields{grid-template-columns:1fr}.community-card .row{flex-wrap:wrap}.community-section>.row .btn{width:100%}.community-rating .btn{min-height:42px}}
@media(prefers-reduced-motion:reduce){.panel,.post-card,.reply,.strain-card,.side-card,.u-card,.auth-card{transition:none}}

/* Brand expansion under large site logos; inline member signatures stay compact. */
.brand-expansion{display:block;color:#eee0a8;text-transform:none;letter-spacing:.025em;text-align:center;font-size:12px;line-height:1.5;white-space:normal}
.brand-expansion strong,.brand-expansion>span{display:block;font-weight:500}
.brand .brand-expansion{width:100%;margin-top:8px}
.topbar-brand,.sidebar-collapsed .topbar-brand{display:grid!important;grid-template-columns:auto auto;gap:4px 10px}
.topbar-brand .mobile-bud{grid-column:1;grid-row:1/3}
.topbar-brand .mobile-brand-logo{grid-column:2;grid-row:1}
.topbar-brand .brand-expansion{grid-column:2;grid-row:2}
.auth-brand .brand-expansion{font-size:14px}
.age-gate img{mix-blend-mode:screen}
.top-logout{white-space:nowrap;min-height:44px}
@media(max-width:640px){.shell:not(.device-shell) .topbar>.row{grid-column:1/-1}.shell:not(.device-shell) .topbar .top-actions{display:flex;flex-wrap:wrap;gap:8px;grid-column:1/-1;grid-row:2;justify-content:flex-end;width:100%;margin:0}.shell:not(.device-shell) .topbar .topbar-brand{grid-row:3}.shell:not(.device-shell) .topbar .scope-wrap{order:3}}
@media(max-width:460px){.topbar-brand .brand-expansion{font-size:11px;letter-spacing:0}.topbar-brand .mobile-brand-logo{max-width:58vw}}
