:root {
  --ink: #f8f7f3;
  --muted: #a1aab7;
  --line: #3f392a;
  --paper: #080b10;
  --panel: #10151d;
  --blue: #c9a036;
  --teal: var(--blue);
  --radius: 8px;
  color-scheme: dark;
  font-family: Inter, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  font-size: 16px;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); }
button, input, select, textarea { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 500; }
button, .button {
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 13px 18px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
button:hover:not(:disabled), .button:hover { background: #d1ad51; box-shadow: 0 5px 24px #c9a03622; }
button:active:not(:disabled), .button:active { transform: translateY(1px); }
button:disabled { opacity: .42; cursor: not-allowed; }
button:focus-visible, a:focus-visible { outline: 3px solid #e5d19d; outline-offset: 4px; }
.secondary { background: transparent; color: var(--ink); border-color: #46515e; }
.secondary:hover:not(:disabled) { background: #162130; border-color: var(--blue); }
.quiet { background: transparent; color: var(--muted); padding: 7px 0; min-height: 35px; }
.quiet:hover:not(:disabled) { background: transparent; color: #fff; box-shadow: none; }
.danger { color: #ff9fa5; }
.wide { width: 100%; }
.brand { font-size: 29px; font-weight: 750; letter-spacing: -1.5px; display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; }
.brand span { letter-spacing: 3px; font-size: 11px; font-weight: 500; border-left: 1px solid #647182; padding-left: 12px; line-height: 1.6; }
.brand-icon { width: 27px; height: 30px; flex-shrink: 0; }
.eyebrow { text-transform: uppercase; font-size: 12px; letter-spacing: 1.8px; font-weight: 600; color: #e2cc94; margin-bottom: 18px; }
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; padding: 56px 5.6%; background: #030507; position: relative; }
.auth::before { content: ''; position: absolute; inset: 56px 5.6%; border: 1px solid #3b424a; pointer-events: none; }
.auth::after { content: ''; position: absolute; inset: 55px 5.6%; pointer-events: none; background: linear-gradient(#efeadf,#efeadf) left top/16px 2px no-repeat,linear-gradient(#efeadf,#efeadf) left top/2px 16px no-repeat,linear-gradient(#efeadf,#efeadf) right bottom/16px 2px no-repeat,linear-gradient(#efeadf,#efeadf) right bottom/2px 16px no-repeat; }
.auth-visual { position: relative; overflow: hidden; min-height: 790px; padding: 42px 9%; display: flex; flex-direction: column; }
.auth-visual .brand { z-index: 2; }
.contour-field { position: absolute; width: 120%; height: 120%; inset: -10%; pointer-events: none; opacity: .45; background: repeating-radial-gradient(ellipse at 15% 35%,transparent 0 68px,#5c6d8321 69px 70px,transparent 71px 115px); transform-origin: 45% 40%; animation: contour-drift 24s ease-in-out infinite alternate; }
.auth-visual::after { content: ''; position: absolute; width: 500px; height: 500px; top: 80px; left: 5%; background: radial-gradient(ellipse,#bd963220 0,transparent 65%); pointer-events: none; }
.molecule { position: absolute; width: 110%; height: 65%; top: 7%; left: -6%; opacity: .2; pointer-events: none; }
.hero-vials { position: absolute; height: 440px; width: 100%; left: 0; top: 110px; z-index: 1; }
.hero-vial { position: absolute; width: 310px; height: 400px; object-fit: contain; filter: drop-shadow(0 20px 28px #000b); }
.hero-vial-front { left: calc(50% - 100px); top: 20px; transform: rotate(9deg); animation: vial-float 9s ease-in-out infinite alternate; }
.hero-vial-back { width: 250px; left: calc(50% - 225px); top: -10px; transform: rotate(-14deg); opacity: .8; animation: vial-float-back 11s ease-in-out infinite alternate; }
.visual-copy { position: relative; z-index: 2; margin-top: auto; padding-top: 440px; }
.visual-copy h2 { font-size: clamp(38px, 3.5vw, 55px); font-weight: 500; letter-spacing: -2.5px; line-height: 1.12; margin-bottom: 20px; }
.visual-copy p { color: #98a6b6; font-size: 16px; line-height: 1.65; margin-bottom: 0; }
.visual-copy .eyebrow { font-size: 11px; letter-spacing: 1.6px; }
.visual-bottom { position: relative; z-index: 2; margin-top: 38px; padding-top: 20px; border-top: 1px solid #4c4534; display: flex; justify-content: space-between; gap: 15px; color: #8e9cac; font-size: 10px; letter-spacing: 1.1px; }
.auth-main { padding: 42px 10%; display: flex; flex-direction: column; position: relative; }
.auth-top { text-align: right; font-size: 10px; letter-spacing: 1.6px; color: #8e9baa; margin-bottom: 52px; }
.access-symbol { color: var(--blue); padding-right: 7px; font-size: 16px; vertical-align: -1px; }
.auth-card { width: 100%; max-width: 440px; margin: auto; animation: reveal 700ms ease both; }
.auth-card h1 { font-size: 36px; letter-spacing: -1.3px; line-height: 1.2; margin-bottom: 14px; }
.auth-card .intro { color: var(--muted); font-size: 16px; line-height: 1.65; margin-bottom: 30px; }
.member-tag { display: inline-flex; align-items: center; background: #0d1a28; border: 1px solid #4c4020; color: #e6d29f; padding: 7px 10px; border-radius: 3px; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; margin-bottom: 23px; }
.field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
label { font-size: 14px; font-weight: 500; color: #e1ddd3; line-height: 1.45; }
input, textarea, select { width: 100%; padding: 13px 14px; border: 1px solid #4d4635; border-radius: 5px; background: #181e27; color: var(--ink); outline: none; line-height: 1.4; transition: border-color 160ms, box-shadow 160ms; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #c9a03620; }
input::placeholder { color: #8994a4; font-size: 14px; }
input:read-only { color: #d0c8b2; background: #121923; }
textarea { resize: vertical; min-height: 100px; }
select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23a1aab7' stroke-width='1.5'/%3E%3C/svg%3E"); background-position: right 14px center; background-repeat: no-repeat; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 65px; }
.password-wrap button { position: absolute; right: 8px; top: 6px; padding: 6px; background: transparent; color: #c6bda7; font-size: 13px; min-height: 36px; }
.password-wrap button:hover { background: transparent; box-shadow: none; }
.form-meta { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); margin: -4px 0 20px; gap: 12px; }
.auth-divider { height: 1px; background: var(--line); margin: 27px 0; }
.invite-note { font-size: 14px; line-height: 1.8; color: var(--muted); }
.invite-note strong { color: #f9f7f2; font-weight: 500; font-size: 17px; }
.invite-note a:hover { color: var(--blue); }
.auth-footer { color: #8d99a8; font-size: 12px; line-height: 1.7; padding-top: 40px; }
.auth-footer p { margin-bottom: 10px; }
.auth-footer a { color: #e1d4b2; text-decoration: underline; text-underline-offset: 3px; }
.auth-footer span { display: block; margin-top: 12px; font-size: 11px; }
.error, .notice { padding: 13px 15px; border-radius: 5px; font-size: 14px; line-height: 1.65; margin: 16px 0; }
.error { background: #2e171c; border: 1px solid #70404a; color: #ffc0c8; }
.notice { background: #11263d; border: 1px solid #725d28; color: #f1e6c9; }
.loading { padding: 15vh 8%; font-size: 32px; font-weight: 700; }
.loading span { font-size: 14px; letter-spacing: 3px; }
.loading p { font-size: 16px; font-weight: 400; margin-top: 20px; color: var(--muted); }
.site-header, .public-header { min-height: 90px; border-bottom: 1px solid var(--line); background: #080c12; padding: 0 5%; display: flex; align-items: center; gap: 45px; }
.site-header nav { display: flex; gap: 28px; align-self: stretch; align-items: center; }
.site-header nav a { font-size: 14px; color: var(--muted); display: flex; align-items: center; border-bottom: 2px solid transparent; padding: 31px 0; transition: color 160ms; }
.site-header nav a:hover { color: white; }
.site-header nav a.active { color: #dfc687; border-color: var(--blue); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 23px; }
.private-badge { font-size: 12px; border: 1px solid var(--line); padding: 8px 10px; border-radius: 4px; color: var(--muted); }
.page { max-width: 1440px; margin: 0 auto; padding: 48px 5% 70px; animation: reveal 500ms ease both; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; gap: 20px; }
.page-heading h1 { font-size: 38px; letter-spacing: -1.5px; margin-bottom: 12px; }
.page-heading p { color: var(--muted); font-size: 16px; margin-bottom: 0; line-height: 1.7; }
.page-heading .eyebrow { margin-bottom: 14px; }
.catalog-hero { min-height: 240px; background: radial-gradient(ellipse at 70% 50%,#5c491980,transparent 60%),#0a111c; border: 1px solid #4c4126; border-radius: 8px; padding: 32px 40px; position: relative; overflow: hidden; }
.catalog-hero-copy { position: relative; z-index: 1; max-width: 70%; }
.catalog-hero .eyebrow { font-size: 11px; }
.catalog-hero h2 { font-size: 38px; letter-spacing: -1.2px; line-height: 1.15; margin-bottom: 14px; }
.catalog-hero p { color: #c7bb9d; font-size: 15px; margin-bottom: 0; }
.catalog-hero-vial { position: absolute; height: 340px; width: 300px; object-fit: contain; right: 9%; top: -37px; transform: rotate(16deg); filter: drop-shadow(15px 20px 18px #0007); }
.illustration-label { position: absolute; bottom: 17px; right: 25px; font-size: 10px; color: #bbad8b; letter-spacing: 1px; text-transform: uppercase; }
.research-notice { display: flex; align-items: center; gap: 15px; padding: 18px 21px; margin: 20px 0 30px; background: #101923; border: 1px solid #4a4025; border-radius: 6px; }
.research-notice p { color: #d2c8b0; font-size: 14px; line-height: 1.65; margin: 0; }
.research-notice a, .acknowledgment-detail a { color: #e7d5a6; text-decoration: underline; text-underline-offset: 3px; }
.notice-mark { flex-shrink: 0; width: 28px; height: 32px; border: 1px solid #9b8345; color: #e8d6a8; display: grid; place-items: center; border-radius: 4px; font-family: Georgia,serif; font-size: 18px; }
.catalog-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 28px; }
.toolbar { display: flex; gap: 12px; margin-bottom: 20px; }
.toolbar input { flex: 1; min-width: 0; }
.toolbar select { width: 175px; }
.collection-meta { display: flex; justify-content: space-between; gap: 15px; color: #8e9cae; font-size: 12px; margin-bottom: 17px; }
.collection-meta>span:last-child { font-size: 10px; letter-spacing: 1px; }
.products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.panel, .product, .empty { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 26px; }
.empty { grid-column: 1/-1; min-height: 350px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.empty-symbol { width: 65px; height: 65px; background: #12263d; border: 1px solid #5f4f28; border-radius: 50%; display: grid; place-items: center; color: #e0c88a; margin-bottom: 23px; font-size: 27px; }
.empty h2 { font-size: 23px; letter-spacing: -.5px; margin-bottom: 12px; }
.empty p { font-size: 16px; line-height: 1.8; color: var(--muted); max-width: 360px; margin-bottom: 0; }
.product { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: border-color 180ms ease, transform 200ms ease, box-shadow 200ms ease; animation: reveal 600ms ease both; }
.product:hover { border-color: #85713d; transform: translateY(-3px); box-shadow: 0 15px 35px #0003; }
.product-image { height: 245px; background: radial-gradient(ellipse at center,#53421666 0,transparent 65%),#0b111a; position: relative; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #3f3724; overflow: hidden; }
.product-image img { height: 255px; width: 240px; object-fit: contain; position: relative; transform: rotate(-7deg); filter: drop-shadow(5px 10px 14px #0007); transition: transform 400ms ease; }
.product:hover .product-image img { transform: rotate(-3deg) translateY(-5px); }
.product-image-grid { position: absolute; inset: 0; background-image: linear-gradient(#7b6d480a 1px,transparent 1px),linear-gradient(90deg,#7b6d480a 1px,transparent 1px); background-size: 36px 36px; }
.product-image-caption { position: absolute; bottom: 12px; left: 17px; color: #a89c7d; font-size: 10px; letter-spacing: .5px; }
.draft-badge { position: absolute; right: 13px; top: 13px; background: #302b20; border: 1px solid #75613e; color: #e8cfa0; padding: 5px 8px; border-radius: 3px; font-size: 10px; letter-spacing: .7px; }
.product-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product .category { font-size: 11px; letter-spacing: 1.3px; text-transform: uppercase; color: #e0c88c; }
.product h2 { margin: 13px 0 13px; font-size: 24px; letter-spacing: -.7px; overflow-wrap: anywhere; }
.product h2 a:hover { color: #e3ce97; }
.product p { color: var(--muted); font-size: 16px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 18px; }
.detail-link { font-size: 14px; color: #e5d19e; text-decoration: underline; text-underline-offset: 4px; margin-top: auto; }
.product-bottom { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.product-bottom button { padding: 10px 12px; min-height: 44px; }
.price { font-size: 23px; font-weight: 500; letter-spacing: -.5px; }
.stock { font-size: 12px; color: #bcb39c; margin-top: 6px; }
.cart { align-self: start; position: sticky; top: 25px; padding: 25px; }
.cart>.eyebrow { font-size: 10px; margin-bottom: 15px; }
.cart h2 { font-size: 21px; display: flex; justify-content: space-between; align-items: center; letter-spacing: -.5px; }
.cart-count { font-size: 12px; background: #433717; border-radius: 20px; padding: 4px 9px; color: #e7d4a4; }
.cart-empty { font-size: 16px; color: var(--muted); line-height: 1.8; padding: 12px 0 22px; }
.cart-empty-icon { display: grid; place-items: center; height: 45px; width: 45px; border: 1px dashed #695f45; border-radius: 50%; font-size: 24px; color: #afa17e; margin: 15px 0 25px; }
.cart-note { font-size: 14px; color: #96a4b6; line-height: 1.75; border-top: 1px solid var(--line); padding-top: 20px; margin: 20px 0 0; }
.cart-item { border-top: 1px solid var(--line); padding: 17px 0; }
.cart-item h3 { font-size: 16px; margin-bottom: 13px; }
.cart-item .row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; gap: 15px; }
.qty { display: flex; align-items: center; gap: 13px; }
.qty button { padding: 2px 9px; min-height: 30px; border: 1px solid #5b523c; background: transparent; color: var(--ink); }
.total { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 23px 0; font-weight: 600; }
.acknowledgment { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 10px; }
.acknowledgment input[type=checkbox] { accent-color: var(--blue); width: 19px; height: 19px; min-height: 19px; flex-shrink: 0; margin: 2px 0 0; padding: 0; }
.acknowledgment label { font-size: 14px; line-height: 1.6; cursor: pointer; color: #e8e1d0; }
.acknowledgment-detail { font-size: 12px; color: #bdb39a; line-height: 1.7; margin-bottom: 22px; }
.site-footer { max-width: 1295px; margin: 0 auto 25px; border-top: 1px solid var(--line); padding: 26px 0; color: #8b9aab; font-size: 12px; display: flex; justify-content: space-between; gap: 35px; line-height: 1.8; }
.site-footer>span:first-child { min-width: 230px; }
.site-footer>span:last-child { max-width: 700px; }
.site-footer a { color: #e4d5af; text-decoration: underline; text-underline-offset: 3px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel h2 { font-size: 23px; letter-spacing: -.5px; margin-bottom: 20px; }
.panel p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.stack { display: grid; gap: 20px; align-content: start; }
.record { padding: 20px 0; border-top: 1px solid var(--line); }
.record:first-child { border-top: 0; }
.record-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 500; font-size: 16px; }
.record p { margin: 9px 0 0; overflow-wrap: anywhere; }
.pill { font-size: 11px; text-transform: uppercase; letter-spacing: .7px; padding: 6px 8px; background: #423617; color: #e7d4a5; border: 1px solid #63532a; border-radius: 3px; font-weight: 500; }
.inline-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.url-output { display: block; word-break: break-all; font-size: 13px; background: #0a1625; padding: 12px; border: 1px solid #6e5e34; margin: 10px 0; }
.small { font-size: 14px; color: var(--muted); line-height: 1.7; }
.account-grid { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.account-grid span { color: var(--muted); }
.account-grid strong { font-weight: 500; overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.back-link { display: inline-block; font-size: 14px; color: #d5caaf; margin-bottom: 24px; text-decoration: underline; text-underline-offset: 4px; }
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.detail-art { background: radial-gradient(ellipse,#52411670,transparent 65%),#0a111b; border: 1px solid #50462b; border-radius: 8px; min-height: 550px; position: relative; overflow: hidden; color: #faf5ea; padding: 35px; display: flex; flex-direction: column; justify-content: space-between; }
.detail-art-label { font-size: 27px; font-weight: 700; letter-spacing: -1px; position: relative; z-index: 1; }
.detail-art-label span { font-size: 10px; font-weight: 400; letter-spacing: 3px; vertical-align: middle; margin-left: 10px; border-left: 1px solid #5d6b7c; padding-left: 14px; }
.detail-vial { position: absolute; height: 90%; width: 100%; object-fit: contain; left: 0; top: 2%; transform: rotate(-8deg); filter: drop-shadow(15px 20px 25px #0007); }
.detail-art-bottom { position: relative; display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid #524931; color: #c5b99b; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.detail-information { padding: 35px; }
.detail-information h2 { font-size: 32px; letter-spacing: -1px; margin: 18px 0 22px; overflow-wrap: anywhere; }
.detail-information .product-description { font-size: 16px; line-height: 1.9; white-space: pre-line; }
.product-specs { margin: 27px 0; }
.product-specs>div { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid var(--line); font-size: 14px; }
.product-specs dt { color: var(--muted); }
.product-specs dd { margin: 0; text-align: right; }
.detail-price { font-size: 32px; font-weight: 500; margin: 24px 0; }
.detail-price span { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 10px; }
.detail-add-row { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 18px; }
.detail-add-row .field { width: 90px; margin-bottom: 0; }
.detail-add-row button { min-height: 50px; flex: 1; }
.detail-information .detail-note { font-size: 14px; line-height: 1.75; color: var(--muted); margin-bottom: 8px; }
.detail-information .eyebrow { font-size: 11px; margin-bottom: 17px; }
.inventory-details { margin-top: 24px; }
.inventory-form { padding: 25px 0; }
.inventory-form .record-header .pill { white-space: nowrap; }
.owner-preview-bar { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 20px; padding: 20px; border: 1px solid #6b5e3e; border-radius: 7px; background: #111d2c; }
.owner-preview-bar>div { display: flex; align-items: center; gap: 16px; }
.owner-preview-bar .pill { white-space: nowrap; }
.owner-preview-bar p { font-size: 14px; color: #dbcfb1; line-height: 1.6; margin: 0; }
.owner-preview-bar button { white-space: nowrap; }
.public-header { justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.policy-page { max-width: 900px; margin: 45px auto 70px; padding: 0 25px; }
.research-policy { max-width: 900px; padding: 40px; }
.research-policy h1 { font-size: 36px; letter-spacing: -1px; line-height: 1.2; }
.research-policy .policy-lead { color: #efe3c4; font-size: 19px; line-height: 1.75; border-bottom: 1px solid var(--line); padding-bottom: 27px; }
.research-policy section { margin-top: 30px; }
.research-policy section h2 { font-size: 22px; margin-bottom: 12px; }
.research-policy>.button { margin-top: 20px; }
[hidden] { display: none !important; }
@keyframes reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes contour-drift { from { transform: rotate(-4deg) scale(1); } to { transform: rotate(5deg) scale(1.04); } }
@keyframes vial-float { from { transform: rotate(9deg) translateY(0); } to { transform: rotate(11deg) translateY(-9px); } }
@keyframes vial-float-back { from { transform: rotate(-14deg) translateY(0); } to { transform: rotate(-12deg) translateY(6px); } }
@media(min-width:1600px) { .auth { padding: 70px calc((100vw - 1420px)/2); } .auth::before,.auth::after { inset: 70px calc((100vw - 1420px)/2); } }
@media(max-width:1200px) {
  .auth-main { padding: 37px 8%; }
  .auth-visual { padding: 37px 8%; }
  .hero-vial-front { left: calc(50% - 105px); width: 280px; }
  .hero-vial-back { left: calc(50% - 200px); width: 230px; }
  .visual-copy h2 { font-size: 44px; }
  .catalog-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 22px; }
  .products { gap: 16px; }
  .product-content { padding: 20px; }
  .product-bottom { flex-direction: column; align-items: stretch; }
  .product-bottom>div { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  .stock { max-width: 100px; text-align: right; }
  .site-footer { margin-left: 5%; margin-right: 5%; }
}
@media(max-width:980px) {
  .site-header { gap: 25px; }
  .site-header nav { gap: 20px; }
  .private-badge { display: none; }
  .auth { padding: 35px 4%; }
  .auth::before,.auth::after { inset: 35px 4%; }
  .auth-card h1 { font-size: 32px; }
  .auth-main { padding: 32px 8%; }
  .hero-vials { top: 100px; }
  .hero-vial-front { left: calc(50% - 95px); width: 250px; }
  .hero-vial-back { left: calc(50% - 170px); width: 210px; }
  .visual-copy h2 { font-size: 38px; }
  .visual-copy .eyebrow { font-size: 10px; }
  .visual-bottom { flex-direction: column; gap: 8px; }
  .catalog-layout { grid-template-columns: 1fr 270px; }
  .products { grid-template-columns: 1fr; }
  .product-image { height: 260px; }
  .product-image img { height: 280px; }
  .catalog-hero-vial { right: 0; }
  .catalog-hero-copy { max-width: 65%; }
  .catalog-hero h2 { font-size: 34px; }
  .owner-preview-bar>div { align-items: flex-start; flex-direction: column; gap: 10px; }
  .detail-layout { gap: 22px; }
  .detail-information { padding: 26px; }
}
@media(max-width:760px) {
  .auth { grid-template-columns: 1fr; padding: 20px; }
  .auth::before,.auth::after { inset: 20px; }
  .auth-visual { min-height: 300px; padding: 25px 7%; }
  .auth-visual .brand { font-size: 24px; }
  .auth-visual .brand span { font-size: 9px; }
  .hero-vials { top: 50px; width: 55%; left: 45%; height: 230px; }
  .hero-vial-front { width: 175px; height: 240px; left: -5px; top: 3px; }
  .hero-vial-back { width: 145px; height: 205px; left: -65px; top: 0; }
  .visual-copy { padding-top: 100px; margin-top: 0; max-width: 65%; }
  .visual-copy h2 { font-size: 28px; letter-spacing: -1px; margin-bottom: 0; }
  .visual-copy p,.visual-copy .eyebrow,.visual-bottom { display: none; }
  .auth-visual .molecule { width: 90%; height: 120%; left: 25%; top: -10%; }
  .auth-main { padding: 10px 7% 28px; }
  .auth-top { display: none; }
  .auth-card { margin: 0 auto; max-width: 440px; }
  .auth-card h1 { font-size: 31px; }
  .auth-card .intro { margin-bottom: 25px; }
  .member-tag { margin-bottom: 20px; }
  .auth-footer { padding-top: 30px; }
  .site-header { min-height: 80px; padding: 22px 6% 0; flex-wrap: wrap; gap: 21px; }
  .site-header .brand,.public-header .brand { font-size: 24px; }
  .site-header .brand span,.public-header .brand span { font-size: 9px; }
  .site-header nav { order: 3; width: 100%; gap: 26px; overflow-x: auto; }
  .site-header nav a { padding: 0 0 15px; white-space: nowrap; }
  .header-right { gap: 0; }
  .header-right button { font-size: 14px; }
  .page { padding: 32px 6% 45px; }
  .page-heading { align-items: flex-start; margin-bottom: 26px; }
  .page-heading h1 { font-size: 32px; }
  .catalog-layout,.two-col { grid-template-columns: 1fr; }
  .cart { position: static; }
  .products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .catalog-hero { min-height: 215px; padding: 25px; }
  .catalog-hero h2 { font-size: 31px; }
  .catalog-hero .eyebrow { font-size: 9px; letter-spacing: 1.3px; }
  .catalog-hero p { font-size: 14px; max-width: 180px; }
  .catalog-hero-vial { width: 210px; height: 270px; top: -20px; right: -25px; }
  .illustration-label { font-size: 9px; right: 12px; bottom: 12px; }
  .research-notice { padding: 16px; gap: 12px; align-items: flex-start; }
  .research-notice p { font-size: 14px; }
  .research-notice .notice-mark { margin-top: 3px; }
  .product-content { padding: 20px; }
  .product-image { height: 220px; }
  .product-image img { height: 245px; }
  .site-footer { margin: 0 6% 20px; flex-direction: column; gap: 14px; }
  .inline-fields { grid-template-columns: 1fr; gap: 0; }
  .account-grid { grid-template-columns: 1fr; gap: 9px; }
  .detail-layout { grid-template-columns: 1fr; gap: 20px; }
  .detail-art { min-height: 380px; padding: 25px; }
  .detail-vial { height: 100%; top: -3%; }
  .detail-information { padding: 26px; }
  .detail-information h2 { font-size: 28px; }
  .detail-add-row { gap: 10px; }
  .detail-art-bottom { font-size: 9px; }
  .owner-preview-bar { align-items: flex-start; flex-direction: column; gap: 15px; }
  .owner-preview-bar>div { gap: 10px; }
  .owner-preview-bar button { width: 100%; }
  .research-policy { padding: 26px; }
  .research-policy h1 { font-size: 30px; }
  .public-header { padding: 22px 6%; gap: 15px; }
  .public-header .button { font-size: 13px; padding: 10px 12px; }
  .policy-page { margin-top: 25px; padding: 0 6%; }
}
@media(max-width:520px) {
  .products { grid-template-columns: 1fr; }
  .product-image { height: 265px; }
  .product-image img { height: 295px; }
  .product-bottom { flex-direction: row; align-items: center; }
  .product-bottom>div { display: block; }
  .stock { max-width: none; text-align: left; }
  .toolbar { flex-direction: column; }
  .toolbar select { width: 100%; }
  .auth-visual { min-height: 280px; }
  .hero-vials { left: 48%; }
  .hero-vial-front { width: 150px; left: 3px; }
  .hero-vial-back { width: 125px; left: -52px; }
  .visual-copy { padding-top: 96px; }
  .visual-copy h2 { font-size: 26px; }
  .catalog-hero-copy { max-width: 70%; }
  .catalog-hero h2 { font-size: 28px; }
  .catalog-hero-vial { right: -45px; opacity: 1; }
  .catalog-hero p { max-width: 165px; }
  .brand { gap: 8px; }
  .brand-icon { width: 23px; }
  .brand span { padding-left: 9px; letter-spacing: 2px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .product:hover,.product:hover .product-image img { transform: none; }
}
.research-header { padding: 12px 5%; background: #0d1723; border-bottom: 1px solid #4b4126; color: #ddd1b2; font-size: 14px; line-height: 1.65; text-align: center; }
.research-header a { margin-left: 8px; color: #eadab0; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media(max-width:760px) { .research-header { padding: 13px 6%; text-align: left; } }
/* Keep the mobile entrance artwork above its headline, without overlap. */
@media(max-width:760px) {
  .auth-visual { min-height: 365px; }
  .hero-vials { top: 60px; left: 50%; width: 50%; height: 215px; }
  .hero-vial-front { width: 180px; height: 220px; left: -20px; top: 0; }
  .hero-vial-back { width: 150px; height: 205px; left: -120px; top: -8px; }
  .visual-copy { max-width: 100%; padding-top: 215px; }
  .visual-copy h2 { font-size: 28px; line-height: 1.15; }
}
/* Photoreal studio imagery: a single, upright packshot with no vial motion. */
.hero-vials { height: 440px; top: 110px; }
.hero-vial-front {
  width: 360px;
  height: 440px;
  left: calc(50% - 180px);
  top: 0;
  animation: none;
  transform: none;
  filter: drop-shadow(0 12px 12px #0005);
}
.catalog-hero-vial {
  height: calc(100% - 32px);
  width: 25%;
  top: 16px;
  right: 8%;
  transform: none;
  filter: drop-shadow(0 10px 10px #0005);
}
.product-image img,
.product:hover .product-image img {
  height: calc(100% - 32px);
  transform: none;
  transition: none;
  filter: drop-shadow(0 9px 8px #0005);
}
.detail-vial {
  transform: none;
  filter: drop-shadow(0 12px 12px #0005);
}
@media(max-width:980px) and (min-width:761px) {
  .hero-vial-front { width: 290px; height: 400px; left: calc(50% - 145px); }
}
@media(max-width:760px) {
  .auth-visual { min-height: 375px; }
  .hero-vials { top: 65px; height: 210px; width: 100%; left: 0; }
  .hero-vial-front { width: 210px; height: 210px; left: calc(50% - 105px); top: 0; }
  .visual-copy { padding-top: 225px; }
}
.product:hover { transform: none; }
@keyframes reveal { from { opacity: 0; } to { opacity: 1; } }

/* Public entrance: quiet framed composition and an original scientific ribbon. */
.path-entry { max-width:1280px; min-height:800px; margin:80px auto 0; padding:0; background:#000; border:1px solid #3b3b3b; grid-template-columns:1fr 1fr; isolation:isolate; }
body:has(.path-entry) { background:#000; }
.path-entry::before { display:none; }
.path-entry::after { inset:-2px; background:linear-gradient(white,white) left top/16px 2px no-repeat,linear-gradient(white,white) left top/2px 16px no-repeat,linear-gradient(white,white) right top/16px 2px no-repeat,linear-gradient(white,white) right top/2px 16px no-repeat,linear-gradient(white,white) left bottom/16px 2px no-repeat,linear-gradient(white,white) right bottom/2px 16px no-repeat; }
.entrance-contours { position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:-1; background:repeating-radial-gradient(ellipse at 15% -30%,transparent 0 90px,#ffffff0b 91px 93px,transparent 94px 170px); }
.path-entry .auth-visual { min-height:800px; padding:40px; overflow:hidden; animation:entry-arrive 1.1s ease both; }
.path-entry .auth-visual::after { display:none; }
.path-entry .brand { font-size:26px; }
.path-entry .research-sculpture { position:absolute; inset:90px 0 40px; }
#research-ribbon { width:100%;height:100%;display:block; }
.science-caption { position:absolute; font-size:12px; max-width:180px; text-shadow:0 2px 12px #000; }
.science-caption span { font-size:9px; letter-spacing:1.6px; color:#b1a27c; }
.science-caption strong { display:block; font-size:14px; font-weight:500; margin:9px 0 6px; }
.science-caption p { font-size:12px; color:#a2abb5; line-height:1.6; }
.caption-one { left:58%;top:15%; }
.caption-two { left:8%;top:47%; }
.caption-three { left:58%;top:77%; }
.path-entry .visual-bottom { margin-top:auto; border:0; padding:0; font-size:9px; }
.path-entry .auth-main { padding:70px 48px 60px 44px; justify-content:center; }
.path-entry .auth-card { max-width:none; margin:0; }
.path-entry .auth-card h1 { font-size:24px; font-weight:600; letter-spacing:-.6px; line-height:1.35; margin-bottom:32px; }
.path-entry input { background:#343434; border-color:#454545; border-radius:4px; }
.path-entry label { font-size:15px; color:#bcb7bc; }
.path-entry .form-meta { font-size:12px; margin-bottom:14px; }
.path-entry .entry-account { margin-top:38px; }
.entry-account h2 { font-size:23px; letter-spacing:-.5px; margin-bottom:9px; }
.entry-account>p { color:#b4adb3; line-height:1.45; font-size:15px; margin-bottom:25px; }
.entry-account>.secondary { border-color:#c9a036; }
.entry-links { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:12px; }
.entry-links .button { font-size:12px; padding:10px; border-color:#444; }
.entry-account .entry-research { font-size:11px; color:#8e9298; margin:22px 0 0; line-height:1.7; }
.entrance-footer { max-width:1280px; padding:66px 16px 30px; margin:auto; display:grid; grid-template-columns:1fr 1fr 1fr 1.2fr; gap:38px; }
.entrance-footer h2 { font-size:15px; margin-bottom:22px; }
.entrance-footer p,.entrance-footer a:not(.brand) { font-size:13px; color:#a5a4ab; line-height:1.8; overflow-wrap:anywhere; }
.entrance-footer .brand { font-size:24px; margin-bottom:16px; }
.entrance-footer .brand span { font-size:9px; letter-spacing:2px; }
.entrance-footer a:hover { color:#c9a036; }
.entrance-copyright { grid-column:1/-1; text-align:center; border-top:1px solid #333; padding-top:22px; color:#999; font-size:12px; }
@keyframes entry-arrive { from { opacity:0; transform:translateY(15px); filter:blur(7px); } to { opacity:1; transform:translateY(0); filter:blur(0); } }
@media(max-width:1350px) { .path-entry { margin:40px 5% 0; }.entrance-footer { margin:0 5%; } }
@media(max-width:980px) { .path-entry .auth-main { padding:50px 28px; }.science-caption { max-width:135px; }.path-entry .auth-visual { padding:30px 25px; }.entrance-footer { grid-template-columns:1fr 1fr; } }
@media(max-width:760px) { .path-entry { display:flex; flex-direction:column; margin:24px 20px 0; }.path-entry .auth-visual { min-height:390px; padding:25px; }.path-entry .research-sculpture { inset:65px 0 25px; }.path-entry .visual-bottom { display:flex; margin-top:auto; }.science-caption { max-width:125px; }.science-caption strong { font-size:12px; }.science-caption p { display:none; }.caption-one { top:15%;left:58%; }.caption-two { top:48%;left:7%; }.caption-three { top:80%;left:58%; }.path-entry .auth-main { padding:28px 24px 35px; }.path-entry .auth-card h1 { font-size:23px; }.entry-account h2 { font-size:21px; }.entry-links { grid-template-columns:1fr; }.entrance-footer { padding:40px 4px 24px;gap:26px; }.entrance-footer>div { min-width:0; }.entrance-footer .brand { font-size:20px;gap:6px; }.entrance-footer .brand span { font-size:8px;letter-spacing:1px;padding-left:7px; } }
@media(prefers-reduced-motion:reduce) { .path-entry .auth-visual { animation:none; }.path-entry .auth-card { animation:none; } }

.path-entry .science-caption { max-width:25%; }
.path-entry .caption-one,.path-entry .caption-three { left:67%; }
.path-entry .caption-two { left:4%; }
/* Reserve clear space for the product-panel brand and image disclosure on phones. */
@media(max-width:760px) {
  .detail-vial { height: 70%; top: 15%; }
}
/* Compound-level review keeps presentations together without merging stock or pricing. */
.catalog-toolbar { display: grid; grid-template-columns: minmax(180px,1fr) 185px 150px; }
.catalog-toolbar .catalog-search { min-width: 0; }
.catalog-toolbar input,.catalog-toolbar select { width: 100%; }
.compound-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.presentation-count { color: #c8bea5; font-size: 12px; white-space: nowrap; }
.presentation-field { margin: 4px 0 21px; }
.presentation-field label { color: #e1d8c1; }
.presentation-field select { background-color: #141f2c; border-color: #5f5334; font-size: 14px; min-height: 47px; }
.product .presentation-field + .detail-link { margin-top: 0; }
.owner-preview-bar .preview-actions { flex-shrink: 0; display: flex; flex-direction: column; gap: 9px; }
.owner-preview-bar .preview-actions button { width: 100%; }
.sibling-presentations { margin: 27px 0; padding-top: 22px; border-top: 1px solid var(--line); }
.sibling-presentations h3 { font-size: 14px; color: #e2d9c3; margin-bottom: 13px; }
.sibling-presentations>div { display: flex; flex-wrap: wrap; gap: 9px; }
.sibling-presentations a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 13px; border: 1px solid #62573a; border-radius: 5px; background: #121d2b; color: #e0d5b9; font-size: 14px; line-height: 1.4; transition: border-color 160ms, background 160ms; }
.sibling-presentations a:hover { border-color: #e0c88c; color: white; }
.sibling-presentations a[aria-current=page] { border-color: #cda642; background: #4d3d15; color: #f9f4e8; }
.detail-information .owner-specification-note { color: #dcd2b7; font-size: 14px; line-height: 1.7; border-left: 2px solid #ae9044; padding-left: 14px; margin-top: 20px; }
@media(max-width:1200px) {
  .catalog-toolbar { grid-template-columns: 1fr 1fr; }
  .catalog-toolbar .catalog-search { grid-column: 1/-1; }
  .compound-meta { flex-direction: column; gap: 8px; }
}
@media(max-width:760px) {
  .owner-preview-bar .preview-actions { width: 100%; }
  .catalog-toolbar { grid-template-columns: 1fr 1fr; }
  .catalog-toolbar select { font-size: 14px; padding-left: 11px; }
}
@media(max-width:380px) { .catalog-toolbar { grid-template-columns: 1fr; } }
.access-review-panel { margin-bottom: 26px; }
.access-request-details { margin: 18px 0; }
.access-request-details>div { display: grid; grid-template-columns: 110px 1fr; gap: 18px; margin: 10px 0; font-size: 14px; line-height: 1.6; }
.access-request-details dt { color: var(--muted); }
.access-request-details dd { margin: 0; overflow-wrap: anywhere; }
.access-request-reason { white-space: pre-wrap; overflow-wrap: anywhere; }
.access-request-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.approval-invitation p { color: #f1e6c9; font-size: 14px; }
.copy-feedback { display: block; margin-top: 12px; font-size: 14px; }
@media(max-width:520px) {
  .access-request-details>div { grid-template-columns: 1fr; gap: 3px; }
  .access-request-actions { flex-direction: column; }
}
.access-request-honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.account-assistance { margin-top: 25px; }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.action-feedback { color: #efe3c3; font-size: 14px; line-height: 1.7; }
.action-feedback:not(:empty) { margin-bottom: 20px; padding: 14px; border: 1px solid #6b5829; border-radius: 5px; background: #112237; }
.admin-overview { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 28px; }
.admin-overview>a { display: flex; flex-direction: column; gap: 11px; background: #111c29; border: 1px solid #5c4e2c; border-radius: 7px; padding: 22px; transition: border-color 160ms, background 160ms; }
.admin-overview>a:hover { border-color: #d5b460; background: #142338; }
.admin-overview span { font-size: 32px; letter-spacing: -1px; color: #f3ead4; }
.admin-overview strong { font-size: 15px; font-weight: 500; line-height: 1.5; }
.admin-overview small { font-size: 13px; line-height: 1.5; color: #ccbf9e; }
.admin-section { margin-top: 24px; }
[id^=admin-][id$=-section] { scroll-margin-top: 24px; }
@media(max-width:980px) { .admin-overview { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:520px) { .admin-overview { gap: 10px; }.admin-overview>a { padding: 17px; }.order-actions { flex-direction: column; }.order-actions>button { width: 100%; } }
.member-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 18px; }
@media(max-width:520px) { .member-actions { align-items: flex-start; flex-direction: column; gap: 10px; } }

.public-info-links { display:flex; flex-wrap:wrap; gap:14px 22px; width:100%; grid-column:1/-1; font-size:13px; color:#d0c5aa; }
.public-info-links a:hover { color:#e0c88c; }
.site-footer { flex-wrap:wrap; }

/* Uploaded GXC catalog identity: brushed gold, deep navy, and the original logo. */
:root { --gold: #cda95d; --gold-light: #f0d89b; --blue: var(--gold); --teal: var(--gold); --paper: #080f1b; --panel: #0e1725; --line: #303845; }
body { background: var(--paper); }
button,.button { color: #10141b; background: var(--gold); border-color: #cda95d; }
button:hover:not(:disabled),.button:hover { background: #e0bf79; border-color: #e0bf79; box-shadow: 0 5px 22px #cda95d18; }
.secondary,.quiet { background: transparent; color: #e9e1d1; border-color: #675b43; }
.secondary:hover:not(:disabled) { background: #28251f; color: #fff4d9; border-color: #cda95d; }
.quiet { border-color: transparent; color: #b9b5ac; }
.quiet:hover:not(:disabled) { background: transparent; border-color: transparent; color: #f0d89b; }
.danger { color: #ffacac; }
.brand { display: inline-flex; line-height: 0; gap: 0; }
.brand-logo { display: block; width: 79px; height: 100px; object-fit: contain; border-radius: 2px; }
.site-header,.public-header { min-height: 122px; background: #080e18; }
.site-header nav a { padding: 48px 0; }
.site-header nav a.active { color: var(--gold-light); border-color: var(--gold); }
.path-entry { background: #050a12; border-color: #62573e; }
body:has(.path-entry) { background: #060c16; }
.path-entry .brand-logo { width: 111px; height: 140px; }
.path-entry .research-sculpture { top: 145px; }
.path-entry input,.path-entry textarea { background: #171e29; border-color: #3d4248; }
.path-entry label { color: #d0c7b6; }
.path-entry input:focus,.path-entry textarea:focus { border-color: var(--gold); }
.path-entry .entry-account>.secondary { border-color: var(--gold); }
.entrance-footer .brand-logo { width: 95px; height: 120px; }
.entry-links .button { color: #ddd4c0; }
.eyebrow,.category,.science-caption span,.gxc-info .gxc-info-eyebrow { color: #d5b46c; }
.price,.detail-price { color: #e8c67d; }
.catalog-hero { background: radial-gradient(ellipse at 72% 50%,#c9a45a0d,transparent 65%),#0a1321; border-color: #534b38; }
.product-image,.detail-art { background: radial-gradient(ellipse at center,#bba16b0b,transparent 66%),#0b1420; }
.product:hover { border-color: #9a8052; }
.member-tag,.pill,.cart-count { color: #e4c88d; border-color: #665638; background: #24231e; }
.research-notice,.research-header { background: #111a27; border-color: #4a4539; }
.research-notice a,.research-header a,.detail-link,.back-link,.site-footer a,.public-info-links a:hover { color: #e5c98d; }
.notice-mark { color: #dfbe79; border-color: #8e774a; }
.sibling-presentations a[aria-current=page] { color: #f2ddb2; background: #2b271e; border-color: #cda95d; }
.detail-art-label .brand-logo { width: 64px; height: 81px; }
.notice,.action-feedback:not(:empty) { color: #ebdbb9; border-color: #70603d; background: #28251d; }
.approval-invitation p { color: #ebdbb9; }
.gxc-info { --info-blue: #cda95d; background: #080f1b; }
.gxc-info a { color: #e2c385; }
.gxc-info .gxc-info-brand { align-items: center; }
.gxc-info .gxc-info-brand .brand-logo { width: 79px; height: 100px; }
.gxc-info .gxc-info-header .gxc-info-access { color: #f2ddb2; border-color: #8f7542; background: #28251d; }
.gxc-info .gxc-info-nav a[aria-current=page] { background: #26251f; border-color: #cda95d; }
.gxc-info a:focus-visible,.gxc-info summary:focus-visible { outline-color: #e5c78b; }
.loading .brand-logo { width: 111px; height: 140px; }
@media(max-width:760px) {
  .site-header { min-height: 0; padding-top: 12px; }
  .site-header nav a { padding: 0 0 15px; }
  .brand-logo { width: 64px; height: 81px; }
  .path-entry .brand-logo { width: 67px; height: 85px; }
  .path-entry .research-sculpture { top: 110px; }
  .path-entry .auth-visual { min-height: 420px; }
  .entrance-footer .brand-logo { width: 71px; height: 90px; }
  .gxc-info .gxc-info-brand .brand-logo { width: 64px; height: 81px; }
  .detail-art-label .brand-logo { width: 44px; height: 56px; }
}
