
:root {
  --ink: #061c24;
  --deep: #031820;
  --ocean: #063c48;
  --aqua: #68d6d0;
  --paper: #f4f8f7;
  --muted: #687d81;
  --line: rgba(6, 45, 54, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Microsoft YaHei", "Noto Sans SC", "PingFang SC", Arial, sans-serif; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.page-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: absolute; z-index: 50; width: 100%; top: 0; left: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.header-inner { width: min(1240px, calc(100% - 48px)); height: 76px; margin: auto; display: flex; align-items: center; gap: 34px; }
.brand-link { width: 94px; flex: none; }
.brand-link img { width: 100%; max-height: 42px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 27px; margin-left: auto; }
.desktop-nav a { position: relative; font-size: 14px; color: rgba(255,255,255,.8); transition: color .2s ease; }
.desktop-nav a::after { content: ""; position: absolute; height: 2px; width: 0; background: white; left: 0; bottom: -10px; transition: width .2s ease; }
.desktop-nav a:hover, .desktop-nav a.active { color: #fff; }
.desktop-nav a:hover::after, .desktop-nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions a { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; font-size: 13px; border: 1px solid rgba(255,255,255,.25); }
.live-link { color: #fff; background: rgba(255,255,255,.09); }
.live-link svg { color: #ff604e; }
.admin-link { color: var(--deep); background: #fff; }
.header-light { position: sticky; background: rgba(244,248,247,.94); backdrop-filter: blur(16px); border-color: var(--line); }
.header-light .desktop-nav a { color: #264950; }
.header-light .desktop-nav a::after { background: var(--ocean); }
.header-light .desktop-nav a:hover, .header-light .desktop-nav a.active { color: var(--deep); }
.header-light .live-link { color: var(--deep); border-color: var(--line); background: white; }
.header-light .admin-link { color: white; background: var(--deep); }
.mobile-menu { display: none; margin-left: auto; }
.mobile-menu summary { list-style: none; color: white; cursor: pointer; }
.header-light .mobile-menu summary { color: var(--deep); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; top: 76px; left: 16px; right: 16px; padding: 12px; background: white; color: var(--deep); box-shadow: 0 20px 60px rgba(2,22,28,.25); }
.mobile-menu nav a { display: block; padding: 14px 12px; border-bottom: 1px solid var(--line); }

.home-hero { min-height: 790px; height: 100vh; max-height: 960px; color: white; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.home-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 190px; background: linear-gradient(transparent, rgba(1,18,23,.74)); pointer-events: none; }
.hero-water-light { position: absolute; inset: 0; background: radial-gradient(circle at 72% 0, rgba(49,181,146,.13), transparent 42%); animation: breathe 8s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .55; transform: scale(1.03); } }
.hero-layout { position: relative; height: 100%; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; z-index: 2; padding-top: 70px; }
.hero-copy { padding-bottom: 30px; }
.eyebrow, .section-kicker { margin: 0 0 20px; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.eyebrow { color: #90ddd2; }
.hero-copy h1 { margin: 0; max-width: 640px; font-size: clamp(52px, 4.8vw, 70px); line-height: 1.12; font-weight: 650; }
.hero-description { max-width: 550px; margin: 28px 0 0; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.9; }
.hero-actions { margin-top: 38px; display: flex; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; font-size: 14px; font-weight: 700; border: 1px solid transparent; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: #fff; color: var(--deep); }
.button-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); }
.hero-proof { margin-top: 54px; display: flex; gap: 34px; color: rgba(255,255,255,.63); font-size: 12px; }
.hero-proof span { display: flex; align-items: baseline; gap: 7px; }
.hero-proof strong { color: white; font-size: 22px; }
.hero-products { align-self: stretch; position: relative; min-width: 0; }
.hero-product-floor { position: absolute; left: 5%; right: -12%; height: 60px; bottom: 12%; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.58), transparent 70%); filter: blur(12px); }
.product-bottle { position: relative; width: 230px; aspect-ratio: 2 / 3; isolation: isolate; filter: drop-shadow(0 28px 24px rgba(0,0,0,.4)); }
.bottle-body { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; }
.bottle-label { position: absolute; z-index: 2; width: 29.6%; left: 35.2%; top: 40%; aspect-ratio: .706; overflow: hidden; border-radius: 2px; box-shadow: inset 8px 0 15px rgba(0,0,0,.18), inset -8px 0 15px rgba(0,0,0,.18), 0 1px 5px rgba(0,0,0,.3); }
.bottle-label img { width: 100%; height: 100%; object-fit: cover; }
.bottle-glow { position: absolute; z-index: 0; width: 75%; height: 70%; left: 13%; bottom: 2%; border-radius: 50%; background: color-mix(in srgb, var(--accent) 32%, transparent); filter: blur(35px); opacity: .55; }
.hero-bottle { position: absolute; transform-origin: bottom center; }
.hero-bottle-1 { z-index: 5; width: 260px; left: 33%; bottom: 9%; }
.hero-bottle-2 { z-index: 4; width: 225px; left: 8%; bottom: 10%; transform: rotate(-5deg); }
.hero-bottle-3 { z-index: 3; width: 220px; right: 3%; bottom: 10%; transform: rotate(5deg); }
.hero-bottle-4 { z-index: 2; width: 190px; right: 24%; bottom: 13%; opacity: .95; }
.scroll-cue { position: absolute; z-index: 5; bottom: 28px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.58); font-size: 11px; letter-spacing: .16em; display: grid; gap: 8px; justify-items: center; }
.scroll-cue span { display: block; width: 1px; height: 25px; background: rgba(255,255,255,.5); }

.intro-band { background: white; padding: 100px 0; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: end; }
.section-kicker { color: #54898e; margin-bottom: 14px; }
.intro-grid h2, .section-heading h2, .live-layout h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.16; font-weight: 620; }
.intro-grid > p { margin: 0; font-size: 17px; line-height: 2; color: var(--muted); }

.products-section { padding: 110px 0 125px; }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 42px; }
.section-heading h2 { font-size: clamp(32px, 3.5vw, 48px); }
.section-heading > a { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.product-card { min-height: 610px; position: relative; overflow: hidden; background-size: cover; background-position: center; color: white; }
.product-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.22), transparent 60%); }
.product-card-copy { position: relative; z-index: 3; padding: 44px 42px; max-width: 60%; }
.series-no { display: inline-grid; place-items: center; width: 42px; height: 42px; background: var(--accent); color: #071b20; font-weight: 800; }
.product-card-copy > p { margin: 28px 0 6px; color: rgba(255,255,255,.68); font-size: 12px; letter-spacing: .1em; }
.product-card h3 { margin: 0; font-size: clamp(42px, 4vw, 66px); line-height: 1; }
.product-card h4 { margin: 12px 0 0; color: var(--accent); font-size: 18px; font-weight: 500; }
.product-card ul { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 9px; color: rgba(255,255,255,.82); font-size: 13px; }
.product-card li::before { content: "/"; color: var(--accent); margin-right: 8px; }
.product-card-copy > a { display: inline-flex; align-items: center; gap: 7px; border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 6px; font-size: 13px; }
.card-bottle { position: absolute; z-index: 2; right: -5px; bottom: -13%; width: 325px; transform: rotate(2deg); }

.solution-band { background: var(--deep); padding: 110px 0; color: white; }
.section-heading.light h2 { color: white; }
.solution-list { border-top: 1px solid rgba(255,255,255,.14); }
.solution-list a { --accent: #fff; min-height: 110px; display: grid; grid-template-columns: 70px 1fr auto; gap: 25px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.14); transition: background .2s ease, padding .2s ease; }
.solution-list a:hover { background: rgba(255,255,255,.04); padding-inline: 18px; }
.solution-list > a > span { color: var(--accent); font-size: 14px; font-weight: 800; }
.solution-list strong { font-size: 24px; }
.solution-list p { margin: 7px 0 0; color: rgba(255,255,255,.55); font-size: 13px; }
.solution-list svg { color: var(--accent); }

.live-feature { min-height: 570px; background-size: cover; background-position: center; color: white; display: grid; align-items: center; }
.live-layout { display: grid; grid-template-columns: 140px 1fr 120px; align-items: center; gap: 54px; }
.live-badge { display: grid; justify-items: center; gap: 14px; font-size: 10px; letter-spacing: .2em; }
.live-badge span { width: 70px; height: 70px; border-radius: 50%; background: #ff493d; box-shadow: 0 0 0 12px rgba(255,73,61,.15), 0 0 40px rgba(255,73,61,.65); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.91); opacity: .72; } }
.live-layout h2 { max-width: 700px; }
.live-layout p:not(.section-kicker) { color: rgba(255,255,255,.72); line-height: 1.8; }
.play-button { width: 86px; height: 86px; border-radius: 50%; background: white; color: #4a0a0e; display: grid; place-items: center; transition: transform .2s ease; }
.play-button:hover { transform: scale(1.06); }

.channel-preview { padding: 120px 0; }
.channel-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.channel-row article { min-height: 270px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.channel-row svg { color: #3a8588; }
.channel-row span { display: block; margin-top: 32px; color: #558b8f; font-size: 11px; letter-spacing: .12em; }
.channel-row h3 { margin: 12px 0 8px; font-size: 21px; }
.channel-row p, .channel-row small { color: var(--muted); line-height: 1.7; }
.channel-row p { font-size: 13px; }
.channel-row small { font-size: 12px; }

.knowledge-preview { padding: 110px 0 125px; background: #eaf1ef; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-grid article { background: transparent; }
.article-cover { height: 310px; padding: 24px; color: white; display: flex; justify-content: space-between; align-items: flex-start; background-size: cover; background-position: center; }
.article-cover span { font-size: 12px; letter-spacing: .16em; }
.article-grid article > p { margin: 24px 0 8px; color: #54898e; font-size: 11px; letter-spacing: .1em; }
.article-grid h3 { margin: 0; font-size: 20px; line-height: 1.45; }
.article-grid small { display: block; margin-top: 13px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.brand-statement { padding: 42px 24px; background: #83d8ce; color: var(--deep); display: flex; justify-content: center; align-items: center; gap: 20px; text-align: center; }
.brand-statement p { margin: 0; font-weight: 800; }
.brand-statement span { font-size: 10px; letter-spacing: .14em; }

.site-footer { background: #02131a; color: white; padding: 76px 0 26px; }
.footer-main { display: grid; grid-template-columns: 1fr 1.3fr; gap: 100px; padding-bottom: 60px; }
.footer-brand img { width: 128px; }
.footer-brand p { margin: 24px 0 8px; font-size: 18px; }
.footer-brand span { color: rgba(255,255,255,.38); font-size: 10px; letter-spacing: .13em; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-links div { display: grid; align-content: start; gap: 12px; }
.footer-links strong { margin-bottom: 8px; font-size: 12px; color: #76d6cd; letter-spacing: .12em; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.64); }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; color: rgba(255,255,255,.34); font-size: 11px; }

/* Public inner pages */
.page-eyebrow, .page-kicker { margin: 0 0 15px; color: #62cfc5; font-size: 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.catalog-hero, .channels-hero, .live-hero, .knowledge-hero, .about-hero, .detail-hero { position: relative; color: white; background-size: cover; background-position: center; overflow: hidden; }
.catalog-hero, .channels-hero, .live-hero, .knowledge-hero, .about-hero { min-height: 530px; }
.catalog-hero__inner, .channels-hero__inner, .live-hero__inner, .knowledge-hero__inner, .about-hero__inner { min-height: 530px; padding-top: 145px; padding-bottom: 72px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 80px; }
.catalog-hero__copy, .channels-hero__copy, .live-hero__copy, .knowledge-hero__copy, .about-hero__copy { max-width: 760px; }
.catalog-hero h1, .channels-hero h1, .live-hero h1, .knowledge-hero h1, .about-hero h1 { margin: 0; max-width: 760px; font-size: clamp(45px, 5.2vw, 70px); line-height: 1.12; font-weight: 620; }
.catalog-hero__copy > p:last-child, .channels-hero__copy > p:last-child, .live-hero__copy > p:last-child, .knowledge-hero__copy > p:last-child, .about-hero__copy > p:last-child { max-width: 610px; margin: 24px 0 0; color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.9; }
.catalog-hero__facts, .channels-hero__facts { min-width: 310px; margin: 0; padding-left: 34px; border-left: 1px solid rgba(255,255,255,.23); display: grid; gap: 17px; }
.catalog-hero__facts div, .channels-hero__facts div { display: flex; align-items: baseline; gap: 10px; }
.catalog-hero__facts dt, .channels-hero__facts dt { color: #75d9d0; font-size: 31px; font-weight: 700; }
.catalog-hero__facts dd, .channels-hero__facts dd { margin: 0; color: rgba(255,255,255,.58); font-size: 11px; }
.channels-hero { background-image: linear-gradient(90deg, rgba(1,22,28,.97), rgba(2,63,66,.75)), url(/assets/backgrounds/ex-worm-bg.webp); background-position: center 42%; }
.catalog-section-heading, .channels-section-heading, .live-section-heading, .knowledge-section-heading, .about-section-heading, .detail-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.catalog-section-heading h2, .channels-section-heading h2, .live-section-heading h2, .knowledge-section-heading h2, .about-section-heading h2, .detail-section-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.17; font-weight: 620; }
.catalog-section-heading > p, .channels-section-heading > p, .live-section-heading > p, .knowledge-section-heading > p, .about-section-heading > p { max-width: 420px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.catalog-section-heading--light, .about-section-heading--light { color: white; }
.catalog-section-heading--light .page-kicker, .about-section-heading--light .page-kicker { color: #76d8cf; }

/* Product catalog */
.catalog-intro { padding: 100px 0 85px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.catalog-intro h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.2; font-weight: 620; }
.catalog-intro__copy { align-self: end; }
.catalog-intro__copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.95; }
.catalog-intro__copy a { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 5px; border-bottom: 1px solid #173c44; font-size: 13px; font-weight: 700; }
.catalog-collection { padding: 95px 0 120px; }
.catalog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.catalog-empty, .channels-empty, .knowledge-empty, .live-empty, .about-system__empty { min-height: 280px; padding: 50px; background: white; border: 1px solid var(--line); display: grid; place-content: center; justify-items: center; text-align: center; }
.catalog-empty h3, .channels-empty h3, .knowledge-empty h3, .live-empty h2 { margin: 15px 0 5px; }
.catalog-empty p, .channels-empty p, .knowledge-empty p, .live-empty p { margin: 0; color: var(--muted); }
.catalog-guide { padding: 105px 0 115px; color: white; background: #031a21; }
.catalog-guide__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); }
.catalog-guide__grid article { min-height: 270px; padding: 29px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.catalog-guide__grid svg { color: #6ed7ce; }
.catalog-guide__grid span { display: block; margin-top: 42px; color: #6ed7ce; font-size: 11px; }
.catalog-guide__grid h3 { margin: 10px 0 12px; font-size: 21px; }
.catalog-guide__grid p { margin: 0; color: rgba(255,255,255,.53); font-size: 13px; line-height: 1.8; }
.catalog-cta { margin-block: 95px; padding: 47px 52px; color: #061e25; background: #81d9d0; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.catalog-cta h2 { margin: 0; font-size: clamp(28px, 3.2vw, 42px); }
.catalog-cta > div:first-child > p:last-child { margin: 13px 0 0; color: #315e60; }
.catalog-cta__actions { display: flex; gap: 9px; }
.catalog-cta__actions a { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.catalog-cta__primary { color: white; background: #052c35; }
.catalog-cta__secondary { border: 1px solid rgba(5,44,53,.35); }

/* Product detail */
.detail-hero { min-height: 720px; }
.detail-hero__inner { min-height: 720px; padding-top: 140px; padding-bottom: 70px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr); align-items: center; gap: 60px; }
.detail-breadcrumb { margin-bottom: 48px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.47); font-size: 11px; }
.detail-breadcrumb a { display: inline-flex; align-items: center; gap: 6px; }
.detail-series { margin: 0 0 15px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.detail-hero h1 { margin: 0; font-size: clamp(64px, 7vw, 100px); line-height: .95; font-weight: 650; }
.detail-subtitle { margin: 20px 0 0; color: var(--accent); font-size: 20px; }
.detail-summary { max-width: 650px; margin: 23px 0 0; color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.85; }
.detail-feature-pills { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.detail-feature-pills li { padding: 7px 10px; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.76); font-size: 10px; }
.detail-hero__actions { margin-top: 33px; display: flex; gap: 10px; }
.detail-hero__actions a { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; font-weight: 700; }
.detail-hero__primary { color: var(--deep); background: var(--accent); }
.detail-hero__secondary { border: 1px solid rgba(255,255,255,.28); }
.detail-hero__product { min-height: 510px; position: relative; display: grid; place-items: center; }
.detail-hero__product::after { content: ""; width: 340px; height: 50px; position: absolute; bottom: 20px; border-radius: 50%; background: rgba(0,0,0,.48); filter: blur(13px); }
.detail-hero__index { position: absolute; right: 0; top: 0; color: rgba(255,255,255,.05); font-size: 230px; font-weight: 800; line-height: 1; }
.detail-bottle { z-index: 2; width: 340px; }
.detail-hero__product > p { position: absolute; z-index: 3; right: 12px; bottom: 38px; margin: 0; color: rgba(255,255,255,.56); font-size: 11px; letter-spacing: .13em; }
.detail-overview { padding: 105px 0 115px; display: grid; grid-template-columns: .65fr 1.35fr; gap: 100px; }
.detail-overview__heading h2 { margin: 0; font-size: clamp(38px, 4vw, 54px); }
.detail-overview__lead { margin: 0 0 40px; font-size: 20px; line-height: 1.85; }
.detail-efficacy-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.detail-efficacy-grid article { min-height: 205px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.detail-efficacy-grid article > span { color: #7f9699; font-size: 10px; }
.detail-efficacy-grid svg { position: absolute; right: 24px; top: 22px; color: var(--accent); }
.detail-efficacy-grid h3 { margin: 40px 0 8px; font-size: 18px; }
.detail-efficacy-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.detail-usage { padding: 110px 0; background: #e5eeec; }
.detail-usage__inner { display: grid; grid-template-columns: 1fr 430px; gap: 90px; }
.detail-usage__steps h2 { margin: 0; font-size: clamp(37px, 4vw, 52px); }
.detail-usage__steps ol { list-style: none; padding: 0; margin: 45px 0 0; border-top: 1px solid #b9cbc7; }
.detail-usage__steps li { min-height: 88px; border-bottom: 1px solid #b9cbc7; display: grid; grid-template-columns: 55px 1fr; align-items: center; gap: 16px; }
.detail-usage__steps li span { color: #4f918c; font-size: 11px; }
.detail-usage__steps li p { margin: 0; line-height: 1.7; }
.detail-usage__note { margin-top: 28px; padding: 19px; background: white; display: flex; gap: 13px; color: #34595e; }
.detail-usage__note svg { flex: none; color: #398c84; }
.detail-usage__note p { margin: 0; font-size: 12px; line-height: 1.75; }
.detail-specs { background: #062c35; color: white; padding: 27px; align-self: start; }
.detail-specs__capacity { padding: 20px 8px 28px; border-bottom: 1px solid rgba(255,255,255,.13); display: grid; grid-template-columns: 35px 1fr; gap: 4px 10px; }
.detail-specs__capacity svg { color: var(--accent); grid-row: 1 / 3; }
.detail-specs__capacity span { color: rgba(255,255,255,.48); font-size: 9px; letter-spacing: .12em; }
.detail-specs__capacity strong { font-size: 27px; }
.detail-label { margin: 27px 0 0; }
.detail-label img { width: 100%; max-height: 420px; object-fit: contain; background: rgba(255,255,255,.04); }
.detail-label figcaption { margin-top: 9px; color: rgba(255,255,255,.36); font-size: 10px; text-align: center; }
.detail-download { margin-top: 22px; padding: 16px; background: rgba(255,255,255,.06); display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; }
.detail-download svg { color: var(--accent); }
.detail-download > div { display: grid; gap: 2px; }
.detail-download strong { font-size: 11px; }
.detail-download span { color: rgba(255,255,255,.42); font-size: 9px; }
.detail-download a { display: flex; align-items: center; gap: 5px; color: var(--accent); font-size: 10px; }
.detail-download__disabled { padding: 6px; background: rgba(255,255,255,.06); }
.detail-related { padding: 100px 0 120px; }
.detail-section-heading > a { display: flex; align-items: center; gap: 7px; padding-bottom: 5px; border-bottom: 1px solid #233f45; font-size: 12px; }
.detail-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.detail-related__grid .product-card { min-height: 520px; }
.detail-related__grid .product-card-copy { padding: 30px; max-width: 72%; }
.detail-related__grid .card-bottle { width: 250px; right: -55px; }

/* Channels */
.channels-notice { margin-top: 34px; padding: 20px 24px; background: #dcefeb; border-left: 4px solid #439a91; display: flex; align-items: center; gap: 15px; }
.channels-notice svg { color: #26857b; flex: none; }
.channels-notice strong { font-size: 13px; }
.channels-notice p { margin: 5px 0 0; color: #597578; font-size: 12px; line-height: 1.7; }
.channels-directory { padding: 85px 0 105px; }
.channels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.channels-card { min-height: 400px; padding: 25px; background: white; border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; }
.channels-card--example { background: #faf8f0; border-style: dashed; }
.channels-card__topline { min-height: 22px; display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.channels-card__type, .channels-card__verified, .channels-card__example { font-size: 9px; letter-spacing: .08em; }
.channels-card__type { color: #4c898c; }
.channels-card__verified { color: #198478; display: inline-flex; align-items: center; gap: 4px; }
.channels-card__example { padding: 4px 6px; color: #795e33; background: #f4e4bb; }
.channels-card__icon { width: 48px; height: 48px; margin-top: 34px; display: grid; place-items: center; color: #2e938a; background: #e5f2f0; }
.channels-card h3 { margin: 20px 0 8px; font-size: 21px; }
.channels-card__location { margin: 0; color: #57868a; font-size: 11px; display: flex; align-items: center; gap: 5px; }
.channels-card__description { margin: 20px 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.channels-card__address { margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); display: grid; gap: 5px; color: #71878a; font-style: normal; font-size: 10px; }
.channels-card__action { margin-top: 18px; }
.channels-card__action a, .channels-card__action > span { min-height: 36px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px; font-size: 11px; }
.channels-card__action a { color: white; background: #073943; }
.channels-card__action > span { color: #8c9b9d; background: #edf2f1; }
.channels-safety { padding: 105px 0; color: white; background: #041b22; }
.channels-safety__inner { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.channels-safety h2 { margin: 0; font-size: clamp(36px, 4vw, 52px); }
.channels-safety ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.15); }
.channels-safety li { min-height: 86px; border-bottom: 1px solid rgba(255,255,255,.15); display: grid; grid-template-columns: 50px 1fr; align-items: center; }
.channels-safety li span { color: #69d6cc; font-size: 10px; }
.channels-safety li p { margin: 0; color: rgba(255,255,255,.68); }
.channels-contact { margin-block: 95px; padding: 45px 50px; background: white; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.channels-contact h2 { margin: 0; font-size: clamp(29px, 3vw, 41px); }
.channels-contact > div:first-child > p:last-child { max-width: 650px; margin: 13px 0 0; color: var(--muted); line-height: 1.7; }
.channels-contact__meta { min-width: 230px; padding-left: 28px; border-left: 1px solid var(--line); display: grid; gap: 7px; }
.channels-contact__meta span { color: #799093; font-size: 10px; }
.channels-contact__meta strong { font-size: 14px; }
.channels-contact__meta a { margin-top: 8px; color: #247d76; font-size: 11px; display: flex; align-items: center; gap: 5px; }

/* Live */
.live-hero__badge { margin-bottom: 17px; color: #ff8b82; font-size: 10px; font-weight: 800; letter-spacing: .2em; display: flex; align-items: center; gap: 9px; }
.live-hero__badge span { width: 8px; height: 8px; border-radius: 50%; background: #ff4f46; box-shadow: 0 0 0 7px rgba(255,79,70,.13); animation: pulse 2s ease-in-out infinite; }
.live-hero__signal { width: 94px; height: 94px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: grid; place-items: center; color: #ff756c; box-shadow: 0 0 0 25px rgba(255,255,255,.03), 0 0 0 50px rgba(255,255,255,.02); }
.live-featured { margin-block: 85px 105px; display: grid; grid-template-columns: 1.15fr .85fr; min-height: 520px; background: white; border: 1px solid var(--line); }
.live-featured__media { min-height: 520px; background-size: cover; background-position: center; padding: 28px; position: relative; display: flex; align-items: center; justify-content: center; color: white; }
.live-featured__media > svg { width: 78px; height: 78px; padding: 23px; border-radius: 50%; color: #520d12; background: white; }
.live-status { position: absolute; left: 22px; top: 22px; padding: 7px 10px; background: rgba(3,21,27,.85); color: white; font-size: 9px; letter-spacing: .08em; display: inline-flex; align-items: center; gap: 7px; }
.live-status span, .live-status i { width: 7px; height: 7px; border-radius: 50%; background: #9ca9aa; }
.live-status--live span, .live-status--live i { background: #ff5147; box-shadow: 0 0 0 5px rgba(255,81,71,.14); }
.live-status--upcoming span, .live-status--upcoming i { background: #f1c25b; }
.live-featured__copy { padding: 48px 42px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.live-featured__copy > span { color: #a44743; font-size: 11px; }
.live-featured__copy h2 { margin: 12px 0 16px; font-size: clamp(31px, 3.6vw, 46px); line-height: 1.2; }
.live-featured__copy > p:not(.page-kicker) { margin: 0; color: var(--muted); line-height: 1.85; }
.live-featured__copy dl { width: 100%; margin: 28px 0; border-top: 1px solid var(--line); }
.live-featured__copy dl div { min-height: 50px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; align-items: center; }
.live-featured__copy dt { color: #819295; font-size: 10px; }
.live-featured__copy dd { margin: 0; font-size: 12px; }
.live-featured__action, .live-card__action { border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-weight: 700; }
.live-featured__action { min-height: 44px; padding: 0 16px; color: white; background: #720f17; font-size: 12px; }
.live-featured__action--disabled, .live-card__action--disabled { color: #8d999a !important; background: #e7eceb !important; cursor: not-allowed; }
.live-featured__copy small { margin-top: 10px; color: #899799; font-size: 9px; }
.live-directory { padding: 105px 0 115px; color: white; background: #17080b; }
.live-directory .page-kicker { color: #ff7b71; }
.live-directory .live-section-heading > p { color: rgba(255,255,255,.45); }
.live-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.live-card { background: #260e12; border: 1px solid rgba(255,255,255,.1); }
.live-card__cover { height: 220px; padding: 20px; background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-end; justify-content: flex-end; color: rgba(255,255,255,.75); }
.live-card__copy { min-height: 260px; padding: 25px; display: flex; flex-direction: column; align-items: flex-start; }
.live-card__copy > span { color: #ff8077; font-size: 10px; letter-spacing: .08em; }
.live-card__copy h3 { margin: 11px 0; font-size: 21px; }
.live-card__copy p { margin: 0; color: rgba(255,255,255,.53); font-size: 12px; line-height: 1.75; }
.live-card__copy small { margin: 18px 0; color: rgba(255,255,255,.34); font-size: 10px; }
.live-card__action { min-height: 36px; padding: 0 12px; margin-top: auto; color: #2e070a; background: #ff776d; font-size: 10px; }
.live-program { padding: 105px 0; display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.live-program h2 { margin: 0; font-size: clamp(36px, 4vw, 52px); }
.live-program__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.live-program__grid article { min-height: 240px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.live-program__grid span { color: #aa4644; font-size: 10px; }
.live-program__grid h3 { margin: 50px 0 10px; font-size: 19px; }
.live-program__grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.live-cta { padding: 65px 0; color: white; background: #741019; }
.live-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.live-cta h2 { margin: 0; font-size: clamp(29px, 3.5vw, 44px); }
.live-cta .page-kicker { color: #ffa79e; }
.live-cta a { min-height: 44px; padding: 0 16px; color: #4c090f; background: white; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }

/* Knowledge */
.knowledge-hero__index { min-width: 175px; padding: 25px 0 5px 30px; border-left: 1px solid rgba(255,255,255,.23); display: grid; gap: 6px; }
.knowledge-hero__index svg { color: #72d8ce; }
.knowledge-hero__index strong { font-size: 45px; }
.knowledge-hero__index span { color: rgba(255,255,255,.5); font-size: 10px; }
.knowledge-intro { padding: 95px 0 75px; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.knowledge-intro h2 { margin: 0; font-size: clamp(35px, 4vw, 52px); }
.knowledge-intro > p { margin: 0; align-self: end; color: var(--muted); font-size: 15px; line-height: 1.95; }
.knowledge-categories { padding: 18px 22px; background: white; border: 1px solid var(--line); display: flex; align-items: center; gap: 25px; }
.knowledge-categories > span { color: #778d91; font-size: 10px; }
.knowledge-categories ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.knowledge-categories li { padding: 7px 10px; color: #256f6c; background: #e1f0ed; font-size: 10px; }
.knowledge-library { padding: 80px 0 115px; }
.knowledge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.knowledge-card { background: white; border: 1px solid var(--line); }
.knowledge-card__cover { height: 250px; padding: 21px; background-size: cover; background-position: center; color: white; display: flex; align-items: flex-end; justify-content: space-between; }
.knowledge-card__cover span { font-size: 11px; }
.knowledge-card__copy { padding: 26px; }
.knowledge-card__category { margin: 0 0 11px !important; color: #35817e !important; font-size: 10px !important; letter-spacing: .08em; }
.knowledge-card__copy h3 { margin: 0 0 13px; font-size: 21px; line-height: 1.45; }
.knowledge-card__copy > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.knowledge-card__details { margin-top: 22px; border-top: 1px solid var(--line); }
.knowledge-card__details summary { padding-top: 16px; color: #315c61; font-size: 11px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: space-between; list-style: none; }
.knowledge-card__details[open] summary svg { transform: rotate(180deg); }
.knowledge-card__details > p { margin: 14px 0 0; padding: 14px; color: #546f73; background: #eff5f3; font-size: 11px; line-height: 1.9; white-space: pre-line; }
.knowledge-method { padding: 110px 0; color: white; background: #04262f; }
.knowledge-method__inner { display: grid; grid-template-columns: .65fr 1.35fr; gap: 85px; }
.knowledge-method__heading h2 { margin: 0; font-size: clamp(35px, 4vw, 51px); }
.knowledge-method__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); }
.knowledge-method__grid article { min-height: 270px; padding: 24px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.knowledge-method__grid svg { color: #70d7ce; }
.knowledge-method__grid span { display: block; margin-top: 50px; color: #70d7ce; font-size: 10px; }
.knowledge-method__grid h3 { margin: 9px 0; font-size: 18px; }
.knowledge-method__grid p { margin: 0; color: rgba(255,255,255,.5); font-size: 11px; line-height: 1.75; }
.knowledge-method__note { grid-column: 2; margin: 0; padding-top: 20px; color: rgba(255,255,255,.4); font-size: 10px; line-height: 1.8; }
.knowledge-cta { margin-block: 95px; padding: 46px 50px; background: #82d9d0; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.knowledge-cta h2 { margin: 0; font-size: clamp(29px, 3.4vw, 43px); }
.knowledge-cta > div > p:last-child { margin: 12px 0 0; color: #315f60; }
.knowledge-cta > a { min-height: 44px; padding: 0 16px; color: white; background: #06333d; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }

/* About */
.about-hero__mark { min-width: 270px; padding: 25px 0 5px 35px; border-left: 1px solid rgba(255,255,255,.23); }
.about-hero__mark img { width: 160px; }
.about-hero__mark span { display: block; margin-top: 17px; color: rgba(255,255,255,.4); font-size: 8px; letter-spacing: .14em; }
.about-story { padding: 105px 0; display: grid; grid-template-columns: .68fr 1.32fr; gap: 100px; }
.about-story h2 { margin: 0; font-size: clamp(37px, 4vw, 54px); }
.about-story__copy { display: grid; gap: 19px; }
.about-story__copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 2; }
.about-values { padding: 105px 0 115px; color: white; background: #041d24; }
.about-values__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); }
.about-values__grid article { min-height: 290px; padding: 30px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.about-values__grid svg { color: #71d6ce; }
.about-values__grid span { display: block; margin-top: 58px; color: #71d6ce; font-size: 10px; }
.about-values__grid h3 { margin: 11px 0; font-size: 21px; }
.about-values__grid p { margin: 0; color: rgba(255,255,255,.52); font-size: 12px; line-height: 1.85; }
.about-system { padding: 110px 0 120px; }
.about-system__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.about-system__grid > article { min-height: 460px; padding: 28px; position: relative; overflow: hidden; color: white; background: linear-gradient(140deg, color-mix(in srgb, var(--theme) 82%, #00171d), var(--theme)); display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; }
.about-system__grid > article::before { content: ""; position: absolute; width: 300px; height: 300px; left: -100px; bottom: -140px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 25%, transparent); filter: blur(20px); }
.about-system__bottle { width: 230px; max-width: 100%; z-index: 2; }
.about-system__copy { z-index: 2; }
.about-system__copy > span { color: var(--accent); font-size: 9px; letter-spacing: .08em; }
.about-system__copy h3 { margin: 12px 0 8px; font-size: clamp(31px, 3.4vw, 48px); line-height: 1; }
.about-system__copy > p { margin: 0; color: rgba(255,255,255,.66); font-size: 12px; }
.about-system__copy ul { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 8px; }
.about-system__copy li { color: rgba(255,255,255,.68); font-size: 10px; display: flex; align-items: center; gap: 6px; }
.about-system__copy li svg { color: var(--accent); flex: none; }
.about-system__copy a { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.4); font-size: 11px; }
.about-statement { padding: 105px 0; background: #7ed8cf; text-align: center; }
.about-statement__inner span { color: #3c7778; font-size: 10px; letter-spacing: .22em; }
.about-statement__inner h2 { margin: 15px 0 12px; font-size: clamp(35px, 4.7vw, 60px); }
.about-statement__inner p { margin: 0; color: #3c696b; font-size: 10px; letter-spacing: .1em; }
.about-contact { margin-block: 95px; padding: 45px 50px; background: white; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.about-contact h2 { margin: 0; font-size: clamp(29px, 3vw, 42px); }
.about-contact > div:first-child > p:last-child { margin: 12px 0 0; color: var(--muted); }
.about-contact__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.about-contact__actions a, .about-contact__actions span { min-height: 40px; padding: 0 13px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); font-size: 11px; }
.about-contact__actions a:first-child { color: white; background: #073943; }
.about-contact__actions span { color: #8b999b; background: #edf2f1; }

/* Member access and procurement */
.login-page { min-height: 100vh; padding: 55px 24px; color: white; background: linear-gradient(110deg, rgba(1,19,26,.98), rgba(4,61,65,.76)), url(/assets/backgrounds/marpro-bg.webp) center/cover; display: grid; place-items: center; }
.login-shell { width: min(1080px, 100%); min-height: 650px; border: 1px solid rgba(255,255,255,.16); display: grid; grid-template-columns: 1fr 480px; box-shadow: 0 35px 100px rgba(0,0,0,.35); }
.login-brand { padding: 55px; display: flex; flex-direction: column; justify-content: flex-end; }
.login-brand img { width: 150px; height: 64px; object-fit: contain; }
.login-brand p { margin: 18px 0 0; color: rgba(255,255,255,.62); font-size: 13px; letter-spacing: .08em; }
.login-card { padding: 70px 55px; color: var(--ink); background: rgba(248,251,250,.97); display: flex; flex-direction: column; justify-content: center; }
.login-eyebrow, .member-eyebrow, .purchase-eyebrow { margin: 0 0 13px; color: #3c9890; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.login-card h1 { margin: 0; font-size: 44px; }
.login-intro { margin: 16px 0 32px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.login-form { display: grid; gap: 10px; }
.login-form > label { color: #435f64; font-size: 11px; font-weight: 700; }
.login-form > input { height: 52px; padding: 0 14px; border: 1px solid #cbdad7; outline: 0; background: white; font-size: 15px; }
.login-form > input:focus { border-color: #3d9a91; box-shadow: 0 0 0 3px rgba(61,154,145,.12); }
.login-submit { height: 50px; margin-top: 8px; border: 0; color: white; background: #063b44; cursor: pointer; font-weight: 700; }
.login-submit:disabled { opacity: .58; cursor: wait; }
.login-resend { min-height: 37px; border: 0; background: transparent; color: #387e79; cursor: pointer; font-size: 11px; }
.login-error { margin: 2px 0; padding: 9px 11px; color: #8d302d; background: #f6dedb; font-size: 11px; }
.login-mode-tabs { padding: 10px 0 18px; display: flex; justify-content: space-between; gap: 12px; color: #627a7e; font-size: 11px; }
.login-mode-tabs button { padding: 7px 0; border: 0; border-bottom: 1px solid transparent; background: transparent; color: #6c8588; cursor: pointer; }
.login-mode-tabs button[aria-selected="true"] { border-bottom-color: #2c7e77; color: #2c7e77; }
.login-legal { margin: 28px 0 0; color: #8a999b; font-size: 9px; line-height: 1.7; }
.member-page, .purchase-page { min-height: 100vh; background: #eef4f2; }
.member-header, .purchase-header { height: 78px; padding: 0 max(28px, calc((100vw - 1180px) / 2)); background: white; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.member-brand img, .purchase-brand img { width: 105px; height: 46px; object-fit: contain; }
.member-back, .purchase-account { padding-bottom: 4px; border-bottom: 1px solid #24474e; font-size: 12px; }
.member-shell, .purchase-shell { width: min(1060px, calc(100% - 40px)); margin: auto; padding: 80px 0 110px; }
.member-heading, .purchase-heading { margin-bottom: 38px; }
.member-heading h1, .purchase-heading h1 { margin: 0; font-size: clamp(42px, 5vw, 64px); }
.member-heading > p:last-child, .purchase-heading > p:last-child { max-width: 680px; margin: 18px 0 0; color: var(--muted); line-height: 1.8; }
.member-profile { min-height: 230px; padding: 40px; color: white; background: linear-gradient(120deg, #063641, #0b595a); display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; gap: 40px; }
.member-label { margin: 0 0 9px; color: #72d8ce; font-size: 10px; letter-spacing: .1em; }
.member-profile h2 { margin: 0; font-size: 37px; }
.member-facts { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid rgba(255,255,255,.15); }
.member-facts div { padding: 13px 24px; border-right: 1px solid rgba(255,255,255,.15); display: grid; gap: 8px; }
.member-facts dt { color: rgba(255,255,255,.45); font-size: 9px; }
.member-facts dd { margin: 0; font-size: 13px; }
.member-actions { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.member-actions a { min-height: 150px; padding: 28px; background: white; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.member-actions span { color: #4e8b8d; font-size: 10px; letter-spacing: .08em; }
.member-actions strong { font-size: 20px; }
.member-logout { margin-top: 26px; display: flex; justify-content: flex-end; }
.member-logout button { min-height: 40px; padding: 0 14px; border: 1px solid #cbd8d5; background: transparent; color: #536b70; cursor: pointer; font-size: 11px; }
.purchase-shell { width: min(980px, calc(100% - 40px)); }
.purchase-form { padding: 38px; background: white; border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 23px 18px; }
.purchase-section { grid-column: 1 / -1; margin: 0; padding: 0 0 25px; border: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.purchase-section legend { width: 100%; margin-bottom: 19px; font-size: 17px; font-weight: 700; }
.purchase-field { display: grid; gap: 8px; }
.purchase-field-wide { grid-column: 1 / -1; }
.purchase-field label, .purchase-field > span { color: #4d666a; font-size: 11px; font-weight: 700; }
.purchase-field input, .purchase-field select, .purchase-field textarea { width: 100%; border: 1px solid #ccd9d6; background: #fbfdfc; outline: 0; padding: 11px 12px; }
.purchase-field input, .purchase-field select { height: 45px; }
.purchase-field textarea { min-height: 120px; resize: vertical; }
.purchase-field input:focus, .purchase-field select:focus, .purchase-field textarea:focus { border-color: #3f9a92; box-shadow: 0 0 0 3px rgba(63,154,146,.1); }
.purchase-contact-options { display: flex; flex-wrap: wrap; gap: 9px; }
.purchase-contact-options label { padding: 10px 13px; border: 1px solid var(--line); background: #f4f8f7; display: flex; align-items: center; gap: 7px; font-weight: 500; }
.purchase-error { grid-column: 1 / -1; margin: 0; padding: 10px; color: #8b322e; background: #f7dfdc; }
.purchase-notice { grid-column: 1; margin: 0; color: #829295; font-size: 10px; line-height: 1.7; }
.purchase-submit { min-height: 46px; border: 0; color: white; background: #073943; font-weight: 700; cursor: pointer; }
.purchase-success, .purchase-empty { min-height: 420px; padding: 55px; background: white; border: 1px solid var(--line); display: grid; place-content: center; justify-items: center; text-align: center; }
.purchase-success-mark { width: 54px; height: 54px; margin: 0; border-radius: 50%; color: white; background: #3c9c91; display: grid; place-items: center; font-size: 25px; }
.purchase-success h2 { margin: 20px 0 8px; font-size: 28px; }
.purchase-success > p:not(.purchase-success-mark) { max-width: 520px; color: var(--muted); line-height: 1.8; }
.purchase-success-actions { margin-top: 18px; display: flex; gap: 8px; }
.purchase-success-actions a, .purchase-success-actions button { min-height: 40px; padding: 0 14px; border: 1px solid #cbd8d5; background: white; display: inline-flex; align-items: center; cursor: pointer; }
.purchase-success-actions a { color: white; background: #073943; }

/* Marine encyclopedia */
.encyclopedia-hero, .entry-hero { color: white; background: linear-gradient(100deg, rgba(1,20,27,.98), rgba(3,65,67,.76)), url(/assets/backgrounds/marpro-bg.webp) center/cover; }
.encyclopedia-hero__inner { min-height: 620px; padding-top: 150px; padding-bottom: 70px; display: flex; flex-direction: column; justify-content: flex-end; }
.encyclopedia-hero h1 { max-width: 850px; margin: 0; font-size: clamp(54px, 7vw, 88px); line-height: 1.05; }
.encyclopedia-hero__inner > p:not(.page-eyebrow) { max-width: 660px; margin: 22px 0 0; color: rgba(255,255,255,.65); line-height: 1.85; }
.encyclopedia-search { width: min(760px, 100%); margin-top: 38px; }
.encyclopedia-search > label { display: block; margin-bottom: 8px; color: rgba(255,255,255,.55); font-size: 10px; }
.encyclopedia-search__controls { height: 56px; padding-left: 16px; background: white; color: #15363d; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; }
.encyclopedia-search__controls input { height: 100%; min-width: 0; border: 0; outline: 0; }
.encyclopedia-search__controls button { align-self: stretch; padding: 0 22px; border: 0; color: white; background: #0a4c54; cursor: pointer; font-weight: 700; }
.encyclopedia-disclaimer { margin-top: 34px; padding: 20px 24px; background: #dbeeea; border-left: 4px solid #3c978e; display: flex; gap: 15px; }
.encyclopedia-disclaimer svg { flex: none; color: #2e8a82; }
.encyclopedia-disclaimer h2 { margin: 0 0 4px; font-size: 13px; }
.encyclopedia-disclaimer p { margin: 0; color: #557276; font-size: 11px; line-height: 1.75; }
.encyclopedia-categories { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.encyclopedia-categories a { padding: 9px 14px; border: 1px solid var(--line); background: white; color: #516b70; font-size: 11px; }
.encyclopedia-categories a[aria-current="page"] { color: white; background: #073943; border-color: #073943; }
.encyclopedia-results { padding: 75px 0 105px; }
.encyclopedia-results__heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 30px; }
.encyclopedia-results__heading h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); }
.encyclopedia-results__heading > p { margin: 0; color: var(--muted); font-size: 11px; }
.encyclopedia-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.encyclopedia-card { min-height: 320px; padding: 25px; background: white; border: 1px solid var(--line); display: flex; flex-direction: column; }
.encyclopedia-card__meta { display: flex; justify-content: space-between; gap: 8px; color: #4e8889; font-size: 9px; }
.encyclopedia-card h3 { margin: 45px 0 8px; font-size: 21px; line-height: 1.45; }
.encyclopedia-card__latin { margin: 0 0 15px !important; color: #318279 !important; font-family: Georgia, serif; font-style: italic; }
.encyclopedia-card > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.encyclopedia-card__footer { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; font-size: 10px; }
.encyclopedia-card__footer span { color: #7b8f92; }
.encyclopedia-card__footer a { color: #267b74; font-weight: 700; }
.encyclopedia-empty { min-height: 300px; padding: 45px; background: white; border: 1px solid var(--line); display: grid; place-content: center; justify-items: center; text-align: center; }
.encyclopedia-pubmed { margin-bottom: 105px; padding: 45px; color: white; background: #061f27; }
.encyclopedia-pubmed__heading h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); }
.encyclopedia-pubmed__heading > p:last-child { color: rgba(255,255,255,.52); }
.encyclopedia-pubmed__form { height: 54px; margin-top: 28px; padding-left: 15px; color: #24484f; background: white; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; }
.encyclopedia-pubmed__form input { height: 100%; min-width: 0; border: 0; outline: 0; }
.encyclopedia-pubmed__form button { align-self: stretch; padding: 0 20px; border: 0; color: #061f27; background: #78d9d0; font-weight: 800; cursor: pointer; }
.encyclopedia-pubmed__status { color: rgba(255,255,255,.45); font-size: 10px; }
.encyclopedia-pubmed__results { list-style: none; padding: 0; margin: 25px 0 0; border-top: 1px solid rgba(255,255,255,.13); }
.encyclopedia-pubmed__results li { min-height: 100px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.13); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
.encyclopedia-pubmed__results span { color: #6fd4cb; font-size: 9px; }
.encyclopedia-pubmed__results h3 { margin: 7px 0; font-size: 15px; line-height: 1.55; }
.encyclopedia-pubmed__results p { margin: 0; color: rgba(255,255,255,.42); font-size: 10px; }
.encyclopedia-pubmed__results a { display: flex; align-items: center; gap: 6px; color: #78d9d0; font-size: 10px; }
.unified-marine-search { margin-bottom: 105px; padding: clamp(28px, 5vw, 54px); color: white; background: linear-gradient(135deg, #031b24 0%, #073a40 58%, #0b5450 100%); box-shadow: 0 28px 80px rgba(5,40,45,.12); }
.unified-marine-search__intro { max-width: 760px; }
.unified-marine-search__intro h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.04em; }
.unified-marine-search__intro > p:last-child { max-width: 680px; color: rgba(255,255,255,.58); line-height: 1.8; }
.unified-marine-search__form { min-height: 58px; margin-top: 32px; padding-left: 18px; color: #1f5558; background: white; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; }
.unified-marine-search__form input { height: 58px; min-width: 0; padding: 0 12px; border: 0; outline: 0; color: #123438; background: transparent; font: inherit; }
.unified-marine-search__form button { height: 58px; padding: 0 24px; border: 0; color: #042c31; background: #73d7cd; display: flex; align-items: center; justify-content: center; gap: 7px; font-weight: 800; cursor: pointer; }
.unified-marine-search__form button:disabled { cursor: wait; opacity: .72; }
.unified-marine-search__spinner { animation: unified-spin .8s linear infinite; }
.unified-marine-search__status { min-height: 18px; margin: 13px 0 0; color: rgba(255,255,255,.52); font-size: 11px; }
.unified-marine-search__results { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.unified-source { min-width: 0; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.13); }
.unified-source__heading { min-height: 94px; padding: 19px 20px; border-bottom: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.unified-source__heading > div { display: flex; align-items: center; gap: 12px; }
.unified-source__heading p, .unified-source__heading h3 { margin: 0; }
.unified-source__heading p { color: rgba(255,255,255,.42); font-size: 9px; letter-spacing: .08em; }
.unified-source__heading h3 { margin-top: 4px; font-size: 22px; }
.unified-source__heading > a, .unified-species-card > a, .unified-paper-card > a { color: #76ddd3; display: inline-flex; align-items: center; gap: 5px; font-size: 10px; }
.unified-source__list { max-height: 620px; margin: 0; padding: 0; overflow: auto; list-style: none; scrollbar-color: rgba(118,221,211,.35) transparent; }
.unified-species-card, .unified-paper-card { padding: 22px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.unified-species-card:last-child, .unified-paper-card:last-child { border-bottom: 0; }
.unified-species-card h4, .unified-paper-card h4 { margin: 9px 0 8px; font-size: 17px; line-height: 1.5; }
.unified-species-card > p, .unified-paper-card > p { margin: 5px 0; color: rgba(255,255,255,.52); font-size: 10px; line-height: 1.65; }
.unified-species-card__meta, .unified-paper-card__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.unified-species-card__meta span, .unified-paper-card__meta span { padding: 4px 7px; color: #8fe3da; background: rgba(115,215,205,.1); font-size: 8px; text-transform: uppercase; }
.unified-species-card__taxonomy { margin: 15px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.06); }
.unified-species-card__taxonomy div { min-width: 0; padding: 9px 11px; background: rgba(3,27,36,.65); }
.unified-species-card__taxonomy dt { color: rgba(255,255,255,.34); font-size: 8px; }
.unified-species-card__taxonomy dd { margin: 3px 0 0; overflow: hidden; text-overflow: ellipsis; color: rgba(255,255,255,.78); font-size: 10px; }
.unified-source__notice, .unified-source__empty { min-height: 130px; padding: 26px 20px; color: rgba(255,255,255,.55); display: flex; align-items: flex-start; gap: 10px; line-height: 1.7; }
.unified-source__notice p, .unified-source__empty p { margin: 0; }
.unified-marine-search__copyright-note { margin: 25px 0 0; color: rgba(255,255,255,.38); font-size: 9px; line-height: 1.7; }
@keyframes unified-spin { to { transform: rotate(360deg); } }
.encyclopedia-sources { padding-bottom: 110px; }
.encyclopedia-sources__heading { max-width: 680px; }
.encyclopedia-sources__heading h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); }
.encyclopedia-sources__heading > p:last-child { color: var(--muted); }
.encyclopedia-sources__grid { margin-top: 30px; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.encyclopedia-sources__grid a { min-height: 180px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; display: flex; flex-direction: column; }
.encyclopedia-sources__grid strong { font-size: 17px; }
.encyclopedia-sources__grid span { margin-top: 10px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.encyclopedia-sources__grid svg { margin-top: auto; color: #378b84; }
.entry-hero__inner { min-height: 610px; padding-top: 140px; padding-bottom: 70px; display: flex; flex-direction: column; justify-content: flex-end; }
.entry-back { margin-bottom: 55px; color: rgba(255,255,255,.5); display: inline-flex; align-items: center; gap: 6px; font-size: 11px; }
.entry-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.entry-hero__meta span { padding: 7px 9px; border: 1px solid rgba(255,255,255,.2); color: #83ddd5; font-size: 9px; }
.entry-hero h1 { max-width: 920px; margin: 18px 0 6px; font-size: clamp(50px, 6vw, 78px); line-height: 1.1; }
.entry-latin { margin: 0; color: #80dcd3; font-family: Georgia, serif; font-size: 20px; font-style: italic; }
.entry-summary { max-width: 760px; margin: 22px 0 0; color: rgba(255,255,255,.63); line-height: 1.9; }
.entry-layout { padding: 90px 0; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 80px; }
.entry-main { display: grid; gap: 70px; }
.entry-disclaimer { padding: 20px; background: #dcefeb; border-left: 4px solid #449c93; }
.entry-disclaimer h2 { margin: 0 0 5px; font-size: 13px; }
.entry-disclaimer p { margin: 0; color: #587377; font-size: 11px; }
.entry-content h2, .entry-observation > h2, .entry-references > h2 { margin: 0 0 25px; font-size: 35px; }
.entry-content > p:not(.page-kicker) { margin: 0 0 17px; color: #405d62; font-size: 15px; line-height: 2; }
.entry-observation__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.entry-observation__grid section { min-height: 230px; padding: 23px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.entry-observation__grid h3 { margin: 0 0 20px; font-size: 16px; }
.entry-observation__grid ul { padding-left: 16px; margin: 0; display: grid; gap: 10px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.entry-references ol { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.entry-references li { min-height: 100px; padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
.entry-references strong { font-size: 13px; }
.entry-references p { margin: 7px 0 0; color: var(--muted); font-size: 10px; }
.entry-reference__links { display: flex; gap: 8px; }
.entry-reference__links a { min-height: 34px; padding: 0 10px; border: 1px solid var(--line); display: flex; align-items: center; gap: 5px; font-size: 9px; }
.entry-sidebar { display: grid; align-content: start; gap: 14px; }
.entry-sidebar section { padding: 22px; background: white; border: 1px solid var(--line); }
.entry-sidebar h2 { margin: 0 0 18px; font-size: 15px; }
.entry-sidebar dl { margin: 0; }
.entry-sidebar dl div { min-height: 45px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 70px 1fr; align-items: center; }
.entry-sidebar dt { color: #7c9093; font-size: 9px; }
.entry-sidebar dd { margin: 0; font-size: 10px; }
.entry-keywords { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.entry-keywords li { padding: 6px 8px; color: #2f7873; background: #e2f0ed; font-size: 9px; }
.entry-related { padding-bottom: 110px; }
.entry-related > h2 { margin: 0 0 25px; font-size: 37px; }
.entry-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.entry-related__grid article { min-height: 240px; padding: 24px; background: white; border: 1px solid var(--line); }
.entry-related__grid span { color: #3b8884; font-size: 9px; }
.entry-related__grid h3 { margin: 30px 0 7px; font-size: 19px; }
.entry-related__grid article > p { color: var(--muted); font-size: 11px; line-height: 1.75; }

/* Protected content studio */
.admin-shell { min-height: 100vh; background: #edf3f1; display: grid; grid-template-columns: 246px minmax(0, 1fr); color: #10292f; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 27px 18px 22px; background: #041d24; color: white; display: flex; flex-direction: column; z-index: 70; }
.admin-logo { height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; }
.admin-logo img { width: 96px; max-height: 40px; object-fit: contain; }
.admin-logo button { display: none; color: white; border: 0; background: transparent; }
.admin-sidebar > p { margin: 7px 10px 25px; color: rgba(255,255,255,.4); font-size: 10px; letter-spacing: .14em; }
.admin-sidebar nav { display: grid; gap: 5px; }
.admin-sidebar nav button { width: 100%; height: 44px; padding: 0 12px; border: 0; color: rgba(255,255,255,.62); background: transparent; display: grid; grid-template-columns: 20px 1fr 15px; align-items: center; gap: 9px; text-align: left; border-radius: 3px; cursor: pointer; }
.admin-sidebar nav button svg:last-child { opacity: 0; transition: opacity .2s ease; }
.admin-sidebar nav button:hover, .admin-sidebar nav button.active { color: white; background: rgba(104,214,208,.11); }
.admin-sidebar nav button.active { box-shadow: inset 3px 0 #6bd7cf; }
.admin-sidebar nav button.active svg:last-child { opacity: 1; }
.admin-sidebar-bottom { margin-top: auto; display: grid; gap: 3px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 15px; }
.admin-sidebar-bottom a, .admin-sidebar-bottom button { width: 100%; min-height: 38px; padding: 0 10px; border: 0; background: transparent; display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.56); font: inherit; font-size: 12px; cursor: pointer; }
.admin-sidebar-bottom a:hover, .admin-sidebar-bottom button:hover { color: white; }
.admin-main { min-width: 0; }
.admin-topbar { height: 78px; padding: 0 34px; background: rgba(255,255,255,.88); backdrop-filter: blur(15px); border-bottom: 1px solid #dbe6e3; position: sticky; top: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; }
.admin-topbar > div:first-of-type { display: grid; gap: 4px; }
.admin-topbar > div:first-of-type strong { font-size: 17px; }
.admin-topbar > div:first-of-type span { color: #71868a; font-size: 11px; }
.admin-mobile-toggle { display: none; border: 0; background: transparent; color: #12363d; }
.admin-user { display: flex; align-items: center; gap: 10px; }
.admin-user > span { width: 36px; height: 36px; display: grid; place-items: center; background: #0c3a42; color: #79ddd4; border-radius: 50%; font-size: 13px; font-weight: 800; }
.admin-user > div { display: grid; gap: 2px; }
.admin-user strong { font-size: 12px; }
.admin-user small { color: #7f9295; font-size: 10px; }
.admin-notice { margin: 20px 34px -5px; padding: 13px 16px; background: #d8f0ec; color: #15574f; border-left: 3px solid #42a99e; display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.admin-notice button { border: 0; background: transparent; color: inherit; cursor: pointer; }
.admin-content { width: min(1220px, calc(100% - 68px)); margin: 0 auto; padding: 34px 0 70px; }
.admin-loading { min-height: 420px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #6c8387; }
.spin { animation: admin-spin 1s linear infinite; }
@keyframes admin-spin { to { transform: rotate(360deg); } }
.admin-welcome { min-height: 190px; padding: 34px 38px; margin-bottom: 20px; color: white; background: linear-gradient(110deg, #073540, #0d575a); display: flex; align-items: center; justify-content: space-between; overflow: hidden; position: relative; }
.admin-welcome::after { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; top: -130px; border: 1px solid rgba(120,224,211,.25); border-radius: 50%; box-shadow: 0 0 0 55px rgba(120,224,211,.035), 0 0 0 110px rgba(120,224,211,.025); }
.admin-welcome > * { position: relative; z-index: 1; }
.admin-welcome p { margin: 0 0 9px; color: #78d9d0; font-size: 10px; letter-spacing: .18em; }
.admin-welcome h1 { margin: 0 0 12px; font-size: clamp(25px, 3vw, 36px); font-weight: 600; }
.admin-welcome span { color: rgba(255,255,255,.6); font-size: 13px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.metric-grid article { min-height: 126px; padding: 21px; background: white; border: 1px solid #dfe9e6; display: grid; grid-template-columns: 26px 1fr; align-items: start; }
.metric-grid article svg { color: #2e9990; }
.metric-grid article span { color: #718589; font-size: 12px; }
.metric-grid article strong { grid-column: 1 / -1; align-self: end; font-size: 30px; font-weight: 600; }
.admin-panel { background: white; border: 1px solid #dfe8e6; }
.admin-panel-head { min-height: 90px; padding: 20px 25px; border-bottom: 1px solid #e5ecea; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-panel-head h2 { margin: 0 0 6px; font-size: 18px; }
.admin-panel-head p { margin: 0; color: #7a8c90; font-size: 12px; }
.admin-primary { min-height: 38px; padding: 0 15px; border: 0; background: #073943; color: white; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; cursor: pointer; }
.admin-primary:hover { background: #0b5257; }
.admin-primary:disabled { opacity: .55; cursor: wait; }
.dashboard-products { display: grid; grid-template-columns: repeat(4, 1fr); }
.dashboard-products > div { min-height: 165px; position: relative; padding: 22px; border-right: 1px solid #e5ecea; display: grid; grid-template-columns: 54px 1fr; grid-template-rows: 1fr auto auto; gap: 2px 13px; overflow: hidden; }
.dashboard-products > div:last-child { border: 0; }
.dashboard-products img { width: 54px; height: 86px; object-fit: cover; grid-row: 1 / -1; box-shadow: 0 7px 17px rgba(8,38,45,.16); }
.dashboard-products div > span { position: absolute; width: 4px; height: 100%; left: 0; top: 0; }
.dashboard-products strong { align-self: end; font-size: 15px; }
.dashboard-products small { color: #7d8f92; font-size: 10px; }
.entity-list { display: grid; }
.entity-row { min-height: 86px; padding: 13px 22px; display: grid; grid-template-columns: 48px minmax(190px, 1fr) auto auto auto; align-items: center; gap: 18px; border-bottom: 1px solid #e8eeec; }
.entity-row:last-child { border: 0; }
.entity-row > img { width: 44px; height: 59px; object-fit: cover; box-shadow: 0 4px 10px rgba(8,38,45,.12); }
.entity-row.simple { grid-template-columns: minmax(220px, 1fr) auto auto; padding-block: 20px; }
.entity-main { display: grid; gap: 6px; }
.entity-main strong { font-size: 14px; }
.entity-main span, .sort-value { color: #819195; font-size: 11px; }
.state-pill { padding: 5px 9px; border-radius: 20px; font-size: 10px; white-space: nowrap; }
.state-pill.on { color: #187367; background: #ddf2ee; }
.state-pill.off { color: #896a64; background: #f3e7e3; }
.row-actions { display: flex; align-items: center; gap: 6px; }
.row-actions button { min-height: 32px; padding: 0 11px; border: 1px solid #d6e1df; background: white; color: #315057; font-size: 11px; cursor: pointer; }
.row-actions button:hover { border-color: #7db7b2; }
.row-actions button.danger { width: 34px; padding: 0; display: grid; place-items: center; color: #a45950; }
.settings-form { padding: 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-field { display: grid; gap: 8px; }
.admin-field > span, .admin-upload > span { color: #536c71; font-size: 11px; font-weight: 700; }
.admin-field input, .admin-field textarea, .admin-field select, .admin-upload input { width: 100%; border: 1px solid #cfddda; background: #fbfdfc; color: #17343a; outline: 0; padding: 10px 11px; font-size: 13px; }
.admin-field input, .admin-field select { height: 41px; }
.admin-field textarea { min-height: 105px; resize: vertical; line-height: 1.7; }
.admin-field input:focus, .admin-field textarea:focus, .admin-field select:focus, .admin-upload input:focus { border-color: #4ca49c; box-shadow: 0 0 0 3px rgba(76,164,156,.1); }
.editor-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(0,20,25,.52); backdrop-filter: blur(3px); display: flex; justify-content: flex-end; }
.editor-drawer { width: min(720px, 94vw); height: 100%; background: #f7faf9; box-shadow: -20px 0 70px rgba(0,20,25,.25); display: grid; grid-template-rows: 78px minmax(0, 1fr) 72px; }
.editor-drawer > header { padding: 0 26px; background: white; border-bottom: 1px solid #dce7e4; display: flex; align-items: center; justify-content: space-between; }
.editor-drawer > header span { color: #799093; font-size: 10px; letter-spacing: .15em; }
.editor-drawer > header h2 { margin: 3px 0 0; font-size: 21px; }
.editor-drawer > header button { border: 0; background: transparent; color: #45646a; cursor: pointer; }
.editor-form { padding: 24px 26px 38px; overflow-y: auto; display: grid; align-content: start; gap: 19px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-upload { display: grid; gap: 8px; }
.admin-upload > div { display: grid; grid-template-columns: 1fr auto; }
.admin-upload label { min-width: 112px; padding: 0 12px; background: #e0efec; color: #17594f; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; cursor: pointer; }
.admin-upload label input { display: none; }
.toggle-row { display: flex; gap: 25px; padding: 9px 0; }
.admin-toggle { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.admin-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.admin-toggle > span { width: 36px; height: 20px; padding: 2px; border-radius: 20px; background: #cbd7d5; transition: background .2s ease; }
.admin-toggle > span::after { content: ""; display: block; width: 16px; height: 16px; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s ease; }
.admin-toggle input:checked + span { background: #43a69c; }
.admin-toggle input:checked + span::after { transform: translateX(16px); }
.admin-toggle strong { font-size: 12px; }
.editor-drawer > footer { padding: 0 26px; border-top: 1px solid #dce7e4; background: white; display: flex; justify-content: flex-end; align-items: center; gap: 9px; }
.editor-drawer > footer button { min-height: 40px; padding: 0 18px; border: 1px solid #ccd9d6; background: white; color: #345259; font-size: 12px; cursor: pointer; }
.editor-drawer > footer button:last-child { border-color: #073943; background: #073943; color: white; display: inline-flex; align-items: center; gap: 7px; }

/* Commercial operations */
.business-metric-grid article { border-top: 3px solid #4aa79e; }
.chart-panel { margin-bottom: 20px; }
.chart-wrap { padding: 18px 24px 22px; overflow-x: auto; }
.chart-legend { display: flex; justify-content: flex-end; gap: 22px; margin-bottom: 8px; color: #5f7478; font-size: 11px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 7px; }
.chart-legend span::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: currentColor; }
.chart-legend .views { color: #197d76; }
.chart-legend .users { color: #3278a8; }
.chart-legend .inquiries { color: #cf7b3c; }
.chart-svg { display: block; width: 100%; min-width: 620px; height: auto; }
.chart-grid-line { stroke: #deebe8; stroke-width: 1; }
.chart-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart-line.views { stroke: #197d76; }
.chart-line.users { stroke: #3278a8; }
.chart-line.inquiries { stroke: #cf7b3c; }
.chart-axis { min-width: 620px; padding: 0 18px; color: #839497; display: flex; justify-content: space-between; font-size: 10px; }
.business-dashboard-grid, .business-ranking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.inquiry-compact-list, .business-audit-list { display: grid; }
.inquiry-compact-list > div { min-height: 65px; padding: 13px 20px; border-bottom: 1px solid #e8efed; display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; }
.inquiry-compact-list strong { font-size: 13px; }
.inquiry-compact-list span { grid-row: 2; color: #73878b; font-size: 11px; }
.inquiry-compact-list em { grid-column: 2; grid-row: 1 / 3; align-self: center; padding: 5px 9px; background: #e1f2ef; color: #207368; border-radius: 20px; font-size: 10px; font-style: normal; }
.admin-toolbar { min-height: 66px; padding: 12px 20px; border-bottom: 1px solid #e6eeec; display: flex; align-items: center; gap: 12px; }
.admin-toolbar > span { margin-left: auto; color: #75898c; font-size: 11px; white-space: nowrap; }
.admin-toolbar select { min-width: 135px; height: 40px; padding: 0 10px; border: 1px solid #cfddda; background: white; color: #29474d; }
.admin-search { min-width: 280px; height: 40px; padding: 0 12px; border: 1px solid #cfddda; background: #fbfdfc; display: flex; align-items: center; gap: 8px; color: #6d8387; }
.admin-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #19373d; }
.admin-secondary { min-height: 38px; padding: 0 14px; border: 1px solid #c8d9d6; color: #285c5b; display: inline-flex; align-items: center; gap: 7px; font-size: 11px; white-space: nowrap; }
.admin-row-edit { min-height: 34px; padding: 0 11px; border: 1px solid #ccdcd9; background: white; color: #31585e; display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; font-size: 11px; }
.admin-empty { min-height: 130px; padding: 24px; color: #839598; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 12px; }
.member-list, .staff-list, .encyclopedia-admin-list { display: grid; }
.member-row { min-height: 92px; padding: 14px 18px; border-bottom: 1px solid #e7efed; display: grid; grid-template-columns: 42px minmax(130px, 1.1fr) .65fr .55fr minmax(150px, 1fr) minmax(120px, .8fr) .8fr auto auto; align-items: center; gap: 14px; }
.member-avatar, .staff-avatar { width: 38px; height: 38px; border-radius: 50%; background: #d9eeea; color: #17675f; display: grid; place-items: center; font-weight: 800; }
.member-identity, .staff-identity { display: grid; gap: 4px; min-width: 0; }
.member-identity strong, .staff-identity strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.member-identity span, .staff-identity span, .member-row > div > span, .staff-row > div > span { color: #778b8e; font-size: 10px; }
.member-row > div:not(.member-avatar):not(.member-identity):not(.member-tags) { display: grid; gap: 4px; }
.member-row small, .staff-row small { color: #91a0a2; font-size: 9px; }
.member-tags, .staff-permissions { display: flex; flex-wrap: wrap; gap: 4px; }
.member-tags span, .staff-permissions span { padding: 4px 6px; background: #edf4f2; color: #48666b; font-size: 9px; }
.inquiry-list { padding: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.inquiry-card { min-height: 275px; padding: 19px; border: 1px solid #dce7e4; background: #fbfdfc; display: grid; align-content: start; gap: 13px; }
.inquiry-card header { display: flex; justify-content: space-between; gap: 12px; }
.inquiry-card header > div { display: flex; gap: 6px; }
.inquiry-card time { color: #839598; font-size: 9px; }
.inquiry-priority, .inquiry-status { padding: 4px 7px; border-radius: 20px; background: #e4eeec; color: #526b70; font-size: 9px; }
.inquiry-priority.high { background: #f7dfd7; color: #9c4d3b; }
.inquiry-priority.low { background: #edf1f4; color: #65777d; }
.inquiry-card h3 { margin: 0; font-size: 19px; }
.inquiry-contact { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; }
.inquiry-contact a { color: #19746c; font-weight: 700; }
.inquiry-contact span { grid-column: 1 / -1; color: #75898c; font-size: 10px; }
.inquiry-card dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inquiry-card dl div { padding: 10px; background: #edf4f2; }
.inquiry-card dt { color: #819194; font-size: 9px; }
.inquiry-card dd { margin: 4px 0 0; font-size: 11px; }
.inquiry-card > p { margin: 0; color: #5f7579; font-size: 11px; line-height: 1.7; }
.inquiry-card .admin-row-edit { justify-self: end; margin-top: auto; }
.staff-row { min-height: 88px; padding: 14px 18px; border-bottom: 1px solid #e7efed; display: grid; grid-template-columns: 42px minmax(150px, 1fr) 105px minmax(180px, 1.4fr) 120px auto auto; align-items: center; gap: 14px; }
.staff-identity em { margin-left: 6px; color: #23877d; font-size: 9px; font-style: normal; }
.staff-role { color: #1b655e; font-size: 11px; font-weight: 700; }
.staff-permission-editor { display: grid; gap: 12px; padding: 15px; border: 1px solid #d6e3e0; background: white; }
.staff-permission-editor > span { color: #536c71; font-size: 11px; font-weight: 700; }
.encyclopedia-admin-row { min-height: 120px; padding: 18px 20px; border-bottom: 1px solid #e7efed; display: grid; grid-template-columns: minmax(190px, .8fr) minmax(240px, 1.5fr) minmax(160px, .7fr) auto; align-items: center; gap: 20px; }
.encyclopedia-admin-row > div:first-child { display: grid; gap: 4px; }
.encyclopedia-admin-row > div:first-child span { color: #198078; font-size: 9px; letter-spacing: .08em; }
.encyclopedia-admin-row > div:first-child strong { font-size: 14px; }
.encyclopedia-admin-row > div:first-child em { color: #839598; font-size: 10px; font-style: italic; }
.encyclopedia-admin-row > p { margin: 0; color: #657b7f; font-size: 11px; line-height: 1.7; }
.encyclopedia-admin-meta { display: flex; flex-wrap: wrap; gap: 5px; }
.encyclopedia-admin-meta span { padding: 4px 6px; background: #edf4f2; color: #48666b; font-size: 9px; }
.business-analytics { display: grid; }
.business-ranking-row { min-height: 58px; padding: 10px 19px; border-bottom: 1px solid #e8efed; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; }
.business-ranking-row > span { color: #91a0a2; font-size: 10px; }
.business-ranking-row > div { display: grid; gap: 7px; min-width: 0; }
.business-ranking-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.business-ranking-row i { display: block; max-width: 100%; height: 3px; background: #3ba097; }
.business-ranking-row em { color: #587277; font-size: 11px; font-style: normal; }
.business-audit-list article { min-height: 62px; padding: 10px 18px; border-bottom: 1px solid #e8efed; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; }
.business-audit-list article > span { width: 30px; height: 30px; border-radius: 50%; background: #e0f0ed; color: #17675f; display: grid; place-items: center; font-size: 10px; font-weight: 800; }
.business-audit-list article div { min-width: 0; }
.business-audit-list strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.business-audit-list p { margin: 3px 0 0; color: #74878a; font-size: 9px; }
.business-audit-list time { color: #8b999b; font-size: 9px; white-space: nowrap; }
.inquiry-editor-summary { padding: 16px; background: #e8f2f0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; }
.inquiry-editor-summary strong, .inquiry-editor-summary p { grid-column: 1 / -1; }
.inquiry-editor-summary span, .inquiry-editor-summary p { color: #62797d; font-size: 11px; }
.inquiry-editor-summary p { margin: 4px 0 0; line-height: 1.7; }
.business-editor-drawer.wide { width: min(980px, 96vw); }

@media (max-width: 1020px) {
  .desktop-nav, .header-actions { display: none; }
  .mobile-menu { display: block; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { z-index: 3; align-self: center; }
  .hero-products { position: absolute; inset: 0 0 0 42%; opacity: .65; }
  .hero-bottle-1 { left: 28%; }
  .hero-bottle-2 { left: 0; }
  .product-card-copy { max-width: 68%; }
  .card-bottle { width: 280px; right: -45px; }
  .live-layout { grid-template-columns: 90px 1fr 90px; gap: 30px; }
  .catalog-hero__inner, .channels-hero__inner, .live-hero__inner, .knowledge-hero__inner, .about-hero__inner { gap: 42px; }
  .catalog-hero__facts, .channels-hero__facts { min-width: 250px; }
  .catalog-guide__grid { grid-template-columns: 1fr 1fr; }
  .detail-hero__inner { grid-template-columns: 1fr 350px; gap: 20px; }
  .detail-bottle { width: 300px; }
  .detail-overview { gap: 50px; }
  .detail-usage__inner { grid-template-columns: 1fr 370px; gap: 45px; }
  .detail-related__grid { grid-template-columns: 1fr 1fr; }
  .detail-related__grid article:last-child { display: none; }
  .channels-grid, .live-grid, .knowledge-grid { grid-template-columns: 1fr 1fr; }
  .channels-safety__inner, .knowledge-method__inner, .live-program, .about-story { gap: 55px; }
  .live-featured { grid-template-columns: 1fr 1fr; }
  .live-featured__copy { padding: 35px 30px; }
  .live-program { grid-template-columns: .6fr 1.4fr; }
  .live-program__grid { grid-template-columns: 1fr; }
  .live-program__grid article { min-height: 150px; }
  .live-program__grid h3 { margin-top: 24px; }
  .knowledge-method__inner { grid-template-columns: .55fr 1.45fr; }
  .about-system__grid > article { grid-template-columns: .65fr 1.35fr; }
  .about-system__bottle { width: 190px; }
  .desktop-nav { gap: 18px; }
  .header-inner { gap: 22px; }
  .login-shell { grid-template-columns: .8fr 1.2fr; }
  .encyclopedia-grid { grid-template-columns: 1fr 1fr; }
  .encyclopedia-sources__grid { grid-template-columns: repeat(3, 1fr); }
  .entry-layout { gap: 45px; }
  .admin-shell { grid-template-columns: 210px minmax(0, 1fr); }
  .admin-content { width: calc(100% - 44px); }
  .admin-topbar { padding-inline: 22px; }
  .metric-grid, .dashboard-products { grid-template-columns: 1fr 1fr; }
  .member-row { grid-template-columns: 42px minmax(130px, 1fr) .7fr .7fr auto; }
  .member-row > :nth-child(5), .member-row > :nth-child(6), .member-row > :nth-child(7) { display: none; }
  .staff-row { grid-template-columns: 42px minmax(150px, 1fr) 100px auto auto; }
  .staff-permissions, .staff-row > :nth-child(5) { display: none; }
  .encyclopedia-admin-row { grid-template-columns: minmax(170px, .8fr) minmax(220px, 1.2fr) auto; }
  .encyclopedia-admin-meta { display: none; }
  .dashboard-products > div:nth-child(2) { border-right: 0; }
  .dashboard-products > div { border-bottom: 1px solid #e5ecea; }
}

@media (max-width: 760px) {
  .page-shell, .header-inner { width: min(100% - 32px, 1180px); }
  .header-inner { height: 66px; }
  .brand-link { width: 82px; }
  .home-hero { min-height: 760px; height: 100svh; }
  .hero-layout { padding-top: 74px; align-items: start; }
  .hero-copy { padding-top: 95px; }
  .hero-copy h1 { font-size: 48px; max-width: 350px; }
  .hero-description { font-size: 15px; max-width: 360px; }
  .hero-products { inset: auto -25% 0 15%; height: 56%; opacity: .76; }
  .hero-bottle-1 { width: 190px; left: 30%; }
  .hero-bottle-2 { width: 160px; left: 3%; }
  .hero-bottle-3 { width: 155px; right: 0; }
  .hero-bottle-4 { display: none; }
  .hero-proof { gap: 16px; margin-top: 32px; }
  .hero-proof span { display: grid; gap: 2px; }
  .hero-actions { flex-wrap: wrap; }
  .intro-band, .products-section, .channel-preview, .knowledge-preview { padding-block: 78px; }
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 560px; }
  .product-card-copy { padding: 30px 26px; max-width: 72%; }
  .product-card h3 { font-size: 46px; }
  .card-bottle { width: 250px; right: -55px; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 30px; }
  .solution-list a { grid-template-columns: 45px 1fr auto; gap: 14px; }
  .solution-list strong { font-size: 19px; }
  .live-feature { min-height: 560px; }
  .live-layout { grid-template-columns: 1fr; gap: 28px; }
  .live-badge { justify-items: start; }
  .live-badge span { width: 42px; height: 42px; }
  .play-button { width: 68px; height: 68px; }
  .channel-row, .article-grid { grid-template-columns: 1fr; }
  .channel-row article { min-height: 220px; }
  .article-cover { height: 290px; }
  .brand-statement { flex-direction: column; gap: 8px; }
  .footer-main { grid-template-columns: 1fr; gap: 46px; }
  .footer-links { gap: 18px; }
  .footer-bottom { gap: 10px; flex-direction: column; }
  .catalog-hero, .channels-hero, .live-hero, .knowledge-hero, .about-hero { min-height: 600px; }
  .catalog-hero__inner, .channels-hero__inner, .live-hero__inner, .knowledge-hero__inner, .about-hero__inner { min-height: 600px; padding-top: 135px; padding-bottom: 55px; grid-template-columns: 1fr; align-content: end; gap: 34px; }
  .catalog-hero h1, .channels-hero h1, .live-hero h1, .knowledge-hero h1, .about-hero h1 { font-size: 45px; }
  .catalog-hero__copy > p:last-child, .channels-hero__copy > p:last-child, .live-hero__copy > p:last-child, .knowledge-hero__copy > p:last-child, .about-hero__copy > p:last-child { font-size: 14px; }
  .catalog-hero__facts, .channels-hero__facts { min-width: 0; padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .catalog-hero__facts div, .channels-hero__facts div { display: grid; gap: 2px; }
  .catalog-hero__facts dt, .channels-hero__facts dt { font-size: 25px; }
  .catalog-intro, .knowledge-intro, .about-story { padding-block: 75px; grid-template-columns: 1fr; gap: 28px; }
  .catalog-collection, .channels-directory, .knowledge-library, .about-system, .detail-related { padding-block: 75px; }
  .catalog-section-heading, .channels-section-heading, .live-section-heading, .knowledge-section-heading, .about-section-heading, .detail-section-heading { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 28px; }
  .catalog-grid, .channels-grid, .live-grid, .knowledge-grid, .detail-related__grid, .about-system__grid { grid-template-columns: 1fr; }
  .catalog-guide, .channels-safety, .live-directory, .knowledge-method, .about-values { padding-block: 75px; }
  .catalog-guide__grid, .about-values__grid { grid-template-columns: 1fr; }
  .catalog-guide__grid article, .about-values__grid article { min-height: 225px; }
  .catalog-cta, .channels-contact, .knowledge-cta, .about-contact { margin-block: 70px; padding: 30px 24px; align-items: flex-start; flex-direction: column; }
  .catalog-cta__actions { flex-wrap: wrap; }
  .detail-hero { min-height: 900px; }
  .detail-hero__inner { min-height: 900px; padding-top: 115px; padding-bottom: 40px; grid-template-columns: 1fr; align-content: start; gap: 18px; }
  .detail-breadcrumb { margin-bottom: 28px; }
  .detail-hero h1 { font-size: 62px; }
  .detail-subtitle { font-size: 17px; }
  .detail-summary { font-size: 13px; }
  .detail-hero__product { min-height: 350px; }
  .detail-bottle { width: 240px; }
  .detail-hero__index { font-size: 150px; right: 7%; }
  .detail-hero__product::after { width: 240px; }
  .detail-overview { padding-block: 75px; grid-template-columns: 1fr; gap: 30px; }
  .detail-overview__lead { font-size: 17px; }
  .detail-efficacy-grid { grid-template-columns: 1fr; }
  .detail-efficacy-grid article { min-height: 180px; }
  .detail-usage { padding-block: 75px; }
  .detail-usage__inner { grid-template-columns: 1fr; gap: 40px; }
  .detail-specs { padding: 20px; }
  .detail-related__grid article:last-child { display: block; }
  .channels-notice { margin-top: 20px; align-items: flex-start; }
  .channels-safety__inner, .knowledge-method__inner, .live-program { grid-template-columns: 1fr; gap: 35px; }
  .channels-contact__meta { min-width: 0; width: 100%; padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .live-hero__signal { width: 64px; height: 64px; }
  .live-featured { margin-block: 65px 75px; grid-template-columns: 1fr; }
  .live-featured__media { min-height: 330px; }
  .live-featured__copy { padding: 30px 24px 35px; }
  .live-grid { gap: 18px; }
  .live-card__cover { height: 240px; }
  .live-program { padding-block: 75px; }
  .live-program__grid { grid-template-columns: 1fr; }
  .live-cta { padding-block: 45px; }
  .live-cta__inner { align-items: flex-start; flex-direction: column; }
  .knowledge-hero__index, .about-hero__mark { min-width: 0; padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .knowledge-categories { align-items: flex-start; flex-direction: column; gap: 12px; }
  .knowledge-method__grid { grid-template-columns: 1fr; }
  .knowledge-method__grid article { min-height: 215px; }
  .knowledge-method__note { grid-column: 1; }
  .about-values__grid span { margin-top: 35px; }
  .about-system__grid > article { min-height: 420px; grid-template-columns: .7fr 1.3fr; padding: 21px; }
  .about-system__bottle { width: 170px; transform: translateX(-18px); }
  .about-system__copy h3 { font-size: 32px; }
  .about-statement { padding-block: 75px; }
  .about-contact__actions { justify-content: flex-start; }
  .login-page { padding: 0; }
  .login-shell { min-height: 100vh; border: 0; grid-template-columns: 1fr; }
  .login-brand { min-height: 180px; padding: 35px 28px; }
  .login-card { padding: 45px 28px 60px; }
  .member-header, .purchase-header { height: 66px; padding-inline: 18px; }
  .member-shell, .purchase-shell { width: calc(100% - 28px); padding-block: 55px 80px; }
  .member-profile { padding: 27px 22px; grid-template-columns: 1fr; gap: 25px; }
  .member-facts { grid-template-columns: 1fr; border-left: 0; border-top: 1px solid rgba(255,255,255,.15); }
  .member-facts div { padding-inline: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .member-actions { grid-template-columns: 1fr; }
  .purchase-form { padding: 24px 18px; grid-template-columns: 1fr; }
  .purchase-section { grid-template-columns: 1fr; }
  .purchase-notice { grid-column: 1 / -1; }
  .encyclopedia-hero__inner { min-height: 690px; padding-top: 125px; }
  .encyclopedia-hero h1 { font-size: 52px; }
  .encyclopedia-search__controls { height: auto; min-height: 54px; grid-template-columns: 26px 1fr; padding: 8px 8px 8px 14px; }
  .encyclopedia-search__controls button { grid-column: 1 / -1; min-height: 43px; margin-top: 7px; }
  .encyclopedia-results { padding-block: 60px 75px; }
  .encyclopedia-results__heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .encyclopedia-grid { grid-template-columns: 1fr; }
  .encyclopedia-card { min-height: 280px; }
  .encyclopedia-pubmed { margin-bottom: 75px; padding: 30px 20px; }
  .encyclopedia-pubmed__form { height: auto; min-height: 54px; grid-template-columns: 26px 1fr; padding: 8px 8px 8px 14px; }
  .encyclopedia-pubmed__form button { grid-column: 1 / -1; min-height: 42px; margin-top: 7px; }
  .encyclopedia-pubmed__results li { grid-template-columns: 1fr; }
  .unified-marine-search { margin-bottom: 75px; padding: 30px 20px; }
  .unified-marine-search__form { min-height: 54px; grid-template-columns: 26px 1fr; padding: 8px 8px 8px 14px; }
  .unified-marine-search__form input { height: 44px; }
  .unified-marine-search__form button { grid-column: 1 / -1; height: 43px; margin-top: 7px; }
  .unified-marine-search__results { grid-template-columns: 1fr; }
  .unified-source__heading { align-items: flex-start; }
  .unified-source__heading > a { padding-top: 6px; }
  .encyclopedia-sources { padding-bottom: 75px; }
  .encyclopedia-sources__grid { grid-template-columns: 1fr; }
  .encyclopedia-sources__grid a { min-height: 145px; }
  .entry-hero__inner { min-height: 650px; padding-top: 120px; }
  .entry-hero h1 { font-size: 48px; }
  .entry-layout { padding-block: 65px; grid-template-columns: 1fr; gap: 45px; }
  .entry-main { gap: 55px; }
  .entry-observation__grid { grid-template-columns: 1fr; }
  .entry-observation__grid section { min-height: 180px; }
  .entry-references li { grid-template-columns: 1fr; }
  .entry-sidebar { grid-row: 1; }
  .entry-related { padding-bottom: 75px; }
  .entry-related__grid { grid-template-columns: 1fr; }
  .admin-shell { display: block; }
  .admin-sidebar { position: fixed; left: 0; top: 0; width: min(290px, 86vw); transform: translateX(-102%); transition: transform .25s ease; box-shadow: 15px 0 50px rgba(0,0,0,.25); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-logo button, .admin-mobile-toggle { display: grid; place-items: center; }
  .admin-topbar { height: 66px; padding-inline: 16px; justify-content: flex-start; gap: 12px; }
  .admin-topbar > div:first-of-type span, .admin-user > div { display: none; }
  .admin-user { margin-left: auto; }
  .admin-content { width: calc(100% - 28px); padding-top: 20px; }
  .admin-notice { margin: 14px 14px -2px; }
  .admin-welcome { min-height: 210px; padding: 28px 24px; }
  .admin-welcome > svg { display: none; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid article { min-height: 112px; padding: 16px; }
  .dashboard-products { grid-template-columns: 1fr; }
  .dashboard-products > div { border-right: 0; }
  .admin-panel-head { align-items: flex-start; padding: 18px; }
  .entity-row, .entity-row.simple { padding: 16px; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; }
  .entity-row.simple { grid-template-columns: minmax(0, 1fr) auto; }
  .entity-row .state-pill, .entity-row .sort-value { display: none; }
  .row-actions { grid-column: 2 / -1; justify-content: flex-end; }
  .entity-row.simple .row-actions { grid-column: 1 / -1; }
  .settings-form, .field-grid { grid-template-columns: 1fr; }
  .settings-form { padding: 18px; }
  .editor-drawer { width: 100%; }
  .editor-drawer > header, .editor-drawer > footer { padding-inline: 18px; }
  .editor-form { padding: 20px 18px 32px; }
  .business-dashboard-grid, .business-ranking-grid, .inquiry-list { grid-template-columns: 1fr; }
  .admin-toolbar { align-items: stretch; flex-direction: column; }
  .admin-search { min-width: 0; width: 100%; }
  .admin-toolbar > span { margin-left: 0; }
  .member-row { grid-template-columns: 38px 1fr auto; }
  .member-row > :not(.member-avatar):not(.member-identity):not(.state-pill):not(.admin-row-edit) { display: none; }
  .member-row .admin-row-edit { grid-column: 2 / -1; justify-self: end; }
  .staff-row { grid-template-columns: 38px 1fr auto; }
  .staff-row > :not(.staff-avatar):not(.staff-identity):not(.state-pill):not(.row-actions) { display: none; }
  .staff-row .row-actions { grid-column: 2 / -1; justify-content: flex-end; }
  .encyclopedia-admin-row { grid-template-columns: 1fr auto; gap: 10px; }
  .encyclopedia-admin-row > p { grid-column: 1 / -1; }
  .encyclopedia-admin-row .admin-row-edit { grid-column: 2; grid-row: 1; }
  .chart-wrap { padding-inline: 12px; }
}

/* HaeAe v2.1 runtime additions */
.public-error { min-height: 72vh; padding: 150px 24px 80px; background: #eef4f2; display: grid; place-items: center; text-align: center; }
.public-error > div { max-width: 620px; }
.public-error h1 { margin: 0 0 16px; font-size: clamp(38px, 6vw, 64px); }
.public-error p { margin: 0 0 28px; color: var(--muted); }
.product-card--compact { min-height: 520px; }
.login-home-link { margin-top: 34px; display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.7); font-size: 12px; }
.live-hero__badge { min-width: 230px; padding: 28px 0 8px 35px; border-left: 1px solid rgba(255,255,255,.22); display: grid; gap: 7px; }
.live-hero__badge strong { font-size: 18px; letter-spacing: .13em; }
.live-hero__badge small { color: rgba(255,255,255,.48); }
.live-hero__signal { width: 42px; height: 42px; margin-bottom: 15px; border-radius: 50%; background: #ff5147; box-shadow: 0 0 0 10px rgba(255,81,71,.12), 0 0 35px rgba(255,81,71,.55); }
.live-directory { padding: 95px 0 115px; }
.live-featured { min-height: 500px; display: grid; grid-template-columns: 1.25fr .75fr; background: white; border: 1px solid var(--line); }
.live-featured__media { min-height: 500px; padding: 24px; background-size: cover; background-position: center; display: flex; align-items: flex-start; }
.live-status { padding: 7px 10px; color: white; font-size: 9px; letter-spacing: .08em; }
.live-status--live { background: #b72e2e; }
.live-status--upcoming { background: rgba(3,31,38,.8); }
.live-featured__copy { padding: 55px 45px; display: flex; flex-direction: column; justify-content: center; }
.live-featured__copy > p:first-child { margin: 0 0 10px; color: #a94a47; font-size: 10px; letter-spacing: .15em; }
.live-featured__copy h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); }
.live-featured__copy > p:not(:first-child) { color: var(--muted); line-height: 1.85; }
.live-featured__copy small { color: #8a999c; }
.live-featured__action, .live-card__action { margin-top: 28px; min-height: 42px; padding: 0 14px; align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; color: white; background: #073943; font-size: 11px; }
.live-featured__action--disabled, .live-card__action--disabled { color: #839194; background: #e9efed; }
.live-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.live-card { min-height: 390px; background: white; border: 1px solid var(--line); }
.live-card__cover { height: 180px; background-size: cover; background-position: center; }
.live-card__copy { padding: 23px; display: flex; flex-direction: column; align-items: flex-start; }
.live-card__copy > span:first-child { color: #a44b49; font-size: 9px; }
.live-card__copy h3 { margin: 16px 0 8px; font-size: 20px; }
.live-card__copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.live-card__copy small { margin-top: 15px; color: #8b999b; }
.live-program { padding: 100px 0; display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.live-program > div:first-child h2 { margin: 0; font-size: clamp(36px, 4vw, 52px); }
.live-program__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.live-program__grid article { min-height: 260px; padding: 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.live-program__grid svg { color: #328d86; }
.live-program__grid h3 { margin: 58px 0 10px; font-size: 20px; }
.live-program__grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.live-cta { padding: 56px 0; color: white; background: #6e1519; }
.live-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.live-cta h2 { margin: 0; font-size: clamp(28px, 3.5vw, 44px); }
.live-cta a { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 7px; color: #551014; background: white; font-weight: 700; }
.purchase-contact-card { margin-top: 18px; padding: 30px 38px; background: #073943; color: white; display: grid; grid-template-columns: 1fr repeat(3, minmax(0, .6fr)); align-items: center; gap: 24px; }
.purchase-contact-card h2 { margin: 0; font-size: 26px; }
.purchase-contact-card > div { display: grid; gap: 5px; }
.purchase-contact-card span { color: rgba(255,255,255,.48); font-size: 9px; }
.purchase-contact-card strong { overflow-wrap: anywhere; font-size: 12px; }
.site-toast { position: fixed; z-index: 300; right: 24px; bottom: 24px; max-width: min(420px, calc(100vw - 48px)); padding: 14px 18px; color: white; background: #0b5753; box-shadow: 0 18px 50px rgba(0,20,25,.25); opacity: 0; transform: translateY(14px); transition: .22s ease; }
.site-toast.error { background: #8b302d; }
.site-toast.show { opacity: 1; transform: translateY(0); }
.metric-grid { margin-bottom: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric-grid article { min-height: 140px; padding: 22px; background: white; border: 1px solid #dfe8e6; display: flex; flex-direction: column; }
.metric-grid article span { color: #687d81; font-size: 11px; }
.metric-grid article strong { margin-top: auto; font-size: 38px; }
.metric-grid article small { color: #8b999b; font-size: 10px; }
.admin-field-wide, .admin-form-actions, .admin-password-rules { grid-column: 1 / -1; }
.admin-form-actions { display: flex; justify-content: flex-end; }
.admin-password-rules { padding: 17px; background: #e9f2f0; display: flex; flex-wrap: wrap; gap: 10px; color: #597276; font-size: 11px; }
.admin-password-rules strong { color: #24484d; }
.admin-password-rules span::before { content: "•"; margin-right: 6px; color: #36958c; }
.admin-error-panel { padding: 35px; }
.admin-error-panel h2 { margin-top: 0; }
.password-panel { max-width: 760px; margin-inline: auto; }
.inquiry-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 18px; }
.inquiry-card { min-height: 280px; padding: 22px; background: #fbfdfc; border: 1px solid #dce7e4; display: flex; flex-direction: column; }
.inquiry-card > div:first-child { display: flex; gap: 7px; }
.inquiry-priority, .inquiry-status { padding: 5px 7px; font-size: 9px; }
.inquiry-priority { color: #496569; background: #e9efed; }
.inquiry-priority.high { color: #8a302b; background: #f4dcda; }
.inquiry-priority.low { color: #557169; background: #e5f1ee; }
.inquiry-status { color: #1d6f66; background: #ddf0ec; }
.inquiry-card h3 { margin: 18px 0 8px; font-size: 18px; }
.inquiry-card > p { margin: 0; color: #63797d; font-size: 11px; line-height: 1.75; }
.inquiry-contact { margin-top: 18px; display: grid; gap: 5px; color: #4d686d; font-size: 10px; }
.inquiry-card time { margin-top: auto; padding-top: 18px; color: #8b999b; font-size: 9px; }
.inquiry-card .admin-row-edit { margin-top: 12px; align-self: flex-start; }
.staff-row > span:last-child { color: #788b8e; font-size: 10px; }

@media (max-width: 760px) {
  .purchase-contact-card { grid-template-columns: 1fr; }
  .live-featured { grid-template-columns: 1fr; }
  .live-featured__media { min-height: 320px; }
  .live-grid { grid-template-columns: 1fr; }
  .live-program { grid-template-columns: 1fr; gap: 30px; }
  .live-program__grid { grid-template-columns: 1fr; }
  .live-cta__inner { align-items: flex-start; flex-direction: column; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .business-dashboard-grid, .business-ranking-grid { grid-template-columns: 1fr; }
  .inquiry-list { grid-template-columns: 1fr; padding: 12px; }
  .settings-form { grid-template-columns: 1fr; padding: 18px; }
  .admin-field-wide, .admin-form-actions, .admin-password-rules { grid-column: auto; }
  .admin-sidebar { position: fixed; left: -260px; transition: left .2s ease; }
  .admin-sidebar.open { left: 0; }
  .admin-logo button, .admin-mobile-toggle { display: inline-grid; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-content { width: calc(100% - 24px); }
  .admin-topbar { padding-inline: 14px; }
  .editor-drawer { width: 100vw; }
}
