/* MSAA-LabChula theme (Redesign R1) — loaded after Bootstrap 5.3.8. Colours from the MAPS logo.
   Text colours pass WCAG AA on white; bright logo colours are decoration only (spectrum lines, icon grounds). */

:root {
  --brand: #B0204F;        /* buttons, links (6.9:1) */
  --brand-700: #8C1840;
  --brand-soft: #FBEAF0;
  --brand-line: #F2C9D6;
  --violet: #5E3591;
  --violet-soft: #F1ECF8;
  --sky: #1F6AA8;
  --sky-soft: #E8F3FB;
  --leaf: #477514;
  --leaf-soft: #EEF6E3;
  --amber: #8A5A00;
  --amber-soft: #FFF4DA;
  --danger: #B42318;
  --danger-soft: #FDECEA;
  --ink: #1D2230;
  --text: #3D4351;
  --muted: #5F6676;
  --line: #E3E5EB;
  --bg: #F6F7FA;
  --night: #191433;
  --night-2: #261C4A;
  --footer: #191433;
  --spectrum: linear-gradient(90deg, #5E72D4 0%, #55BDE0 22%, #86C440 44%, #C3D13A 58%, #E2585A 78%, #B23BA3 100%);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 24, 40, .06), 0 6px 20px rgba(20, 24, 40, .06);
  --shadow-lg: 0 10px 40px rgba(20, 24, 40, .12);
  --font: "Noto Sans", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Bootstrap variables */
  --bs-body-font-family: var(--font);
  --bs-body-color: var(--text);
  --bs-body-bg: var(--bg);
  --bs-emphasis-color: var(--ink);
  --bs-heading-color: var(--ink);
  --bs-link-color: var(--brand);
  --bs-link-color-rgb: 176, 32, 79;
  --bs-link-hover-color: var(--brand-700);
  --bs-link-hover-color-rgb: 140, 24, 64;
  --bs-border-color: var(--line);
  --bs-primary: var(--brand);
  --bs-primary-rgb: 176, 32, 79;
  --bs-border-radius: var(--radius-sm);
  --bs-border-radius-lg: var(--radius);
  --bs-focus-ring-color: rgba(106, 167, 255, .5);
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 700; line-height: 1.25; }
a { text-decoration: none; }
img { max-width: 100%; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.spectrum-line { height: 4px; background: var(--spectrum); }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: #fff; padding: 8px 14px; border-radius: 8px; box-shadow: var(--shadow-lg); }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid #6aa7ff; outline-offset: 2px; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--spectrum); }

/* ---------- Buttons (Bootstrap .btn re-themed: pill shape, brand colours) ---------- */
.btn { --bs-btn-padding-x: 1.15rem; --bs-btn-padding-y: .55rem; --bs-btn-font-weight: 600; --bs-btn-border-radius: 999px;
  --bs-btn-font-size: .95rem; display: inline-flex; align-items: center; justify-content: center; gap: .5em; white-space: nowrap; min-height: 44px; }
.btn-sm { --bs-btn-padding-x: .85rem; --bs-btn-padding-y: .3rem; --bs-btn-font-size: .85rem; min-height: 34px; }
.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-700); --bs-btn-hover-border-color: var(--brand-700);
  --bs-btn-active-bg: var(--brand-700); --bs-btn-active-border-color: var(--brand-700); --bs-btn-disabled-bg: var(--brand); --bs-btn-disabled-border-color: var(--brand); }
.btn-secondary, .btn-outline-secondary { --bs-btn-color: var(--ink); --bs-btn-bg: #fff; --bs-btn-border-color: var(--line); --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #c3c7d0; --bs-btn-active-color: var(--ink); --bs-btn-active-bg: var(--bg); --bs-btn-active-border-color: #c3c7d0; }
.btn-danger { --bs-btn-bg: var(--danger); --bs-btn-border-color: var(--danger); --bs-btn-hover-bg: #8f1c13; --bs-btn-hover-border-color: #8f1c13; }
.btn-ghost { --bs-btn-color: var(--brand); --bs-btn-hover-color: var(--brand-700); --bs-btn-padding-x: .5rem; background: none; border: 0; }
.btn-light { --bs-btn-color: var(--brand); --bs-btn-bg: #fff; --bs-btn-border-color: #fff; --bs-btn-hover-color: var(--brand-700); --bs-btn-hover-bg: #fff; }
.btn-outline-light { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.45); --bs-btn-hover-bg: rgba(255,255,255,.12); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #fff; }
.ibtn { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: #fff; display: inline-grid; place-items: center; color: var(--text); cursor: pointer; padding: 0; }
.ibtn:hover { border-color: var(--brand); color: var(--brand); }
.ibtn.danger:hover { border-color: var(--danger); color: var(--danger); }

/* ---------- Pills ---------- */
.pill { display: inline-flex; align-items: center; gap: .35em; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.pill-ok { background: var(--leaf-soft); color: var(--leaf); }
.pill-warn { background: var(--amber-soft); color: var(--amber); }
.pill-bad { background: var(--danger-soft); color: var(--danger); }
.pill-info { background: var(--sky-soft); color: var(--sky); }
.pill-brand { background: var(--brand-soft); color: var(--brand); }
.pill-violet { background: var(--violet-soft); color: var(--violet); }
.pill-muted { background: var(--bg); color: var(--muted); }

/* ---------- Cards ---------- */
.card { --bs-card-bg: #fff; --bs-card-border-color: var(--line); --bs-card-border-radius: var(--radius); --bs-card-inner-border-radius: calc(var(--radius) - 1px);
  --bs-card-cap-bg: #fff; box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 22px; height: 64px; border-bottom: 1px solid var(--line); }
.card-head h2, .card-head h3 { margin: 0; font-size: 1.02rem; display: flex; align-items: center; gap: 10px; }
.card-head h2 .ic, .card-head h3 .ic { color: var(--brand); }
.card-foot { margin-top: auto; border-top: 1px solid var(--line); padding: 12px 22px; display: flex; justify-content: flex-end; }
.card-pad { padding: 24px; }
.lift { transition: transform .2s, box-shadow .2s; }
.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ic-box { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.tone-brand { background: var(--brand-soft); color: var(--brand); }
.tone-sky { background: var(--sky-soft); color: var(--sky); }
.tone-leaf { background: var(--leaf-soft); color: var(--leaf); }
.tone-amber { background: var(--amber-soft); color: var(--amber); }
.tone-bad { background: var(--danger-soft); color: var(--danger); }
.tone-violet { background: var(--violet-soft); color: var(--violet); }

/* ---------- Forms ---------- */
.form-label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.form-control, .form-select { border: 1.5px solid var(--line); border-radius: var(--radius-sm); min-height: 42px; }
.form-control:focus, .form-select:focus { border-color: #9cb8f0; box-shadow: 0 0 0 3px rgba(106, 167, 255, .25); }
.req { color: var(--danger); }
.invalid-msg { color: var(--danger); font-size: .85rem; margin-top: 4px; }

/* ---------- Tables ---------- */
.table { --bs-table-color: var(--text); --bs-table-hover-bg: #FCFCFE; font-size: .93rem; margin: 0; }
.table > thead th { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: #FAFAFC; padding: 12px 16px; white-space: nowrap; }
.table > tbody td { padding: 14px 16px; vertical-align: middle; }

/* ---------- Uniform list rows (dashboard lists, announcements, to-do) ---------- */
.rowlist { list-style: none; margin: 0; padding: 0; }
.rowlist li { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); min-height: 72px; }
.rowlist li:last-child { border-bottom: 0; }
.rowlist .t { min-width: 0; }
.rowlist .t b { display: block; color: var(--ink); font-size: .93rem; font-weight: 600; }
.rowlist .t small { display: block; color: var(--muted); font-size: .8rem; }
.rowlist .a { display: flex; gap: 6px; align-items: center; }
.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty-state .ic { width: 40px; height: 40px; margin-bottom: 8px; color: #A3A8B4; }

/* =====================================================================
   PUBLIC SITE
   ===================================================================== */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { height: 50px; width: auto; }
.brand b { display: block; font-size: 1.25rem; letter-spacing: -.01em; color: var(--ink); }
.brand small { display: block; font-size: .75rem; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--ink); font-weight: 500; font-size: .93rem; padding: 10px 14px; border-radius: 999px; }
.site-nav a:hover { background: var(--bg); color: var(--ink); }
.site-nav a.active { color: var(--brand); background: var(--brand-soft); }
.site-nav a.nav-signin { margin-left: 10px; color: #fff; background: var(--brand); padding: 0 16px; }
.site-nav a.nav-signin:hover { background: var(--brand-700); color: #fff; }
.burger { display: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; color: var(--ink); place-items: center; padding: 0; }

.site main section { padding: 72px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head h2 { font-size: 1.85rem; margin: 8px 0 0; }
.band-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Hero (dark) */
.hero { position: relative; color: #fff; background: var(--night); overflow: hidden; padding: 72px 0 120px; }
.hero .photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; filter: saturate(.6); }
.hero::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 420px at 85% 30%, rgba(85,189,224,.35), transparent 65%),
              radial-gradient(600px 400px at 70% 90%, rgba(178,59,163,.35), transparent 65%),
              linear-gradient(90deg, var(--night) 35%, rgba(25,20,51,.6)); }
.hero .hex { position: absolute; right: -60px; top: 50px; width: 620px; opacity: .5; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: #F7B4CB; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.02em; margin: 16px 0 20px; }
.hero h1 span { background: linear-gradient(90deg, #8FD3F0, #B8DD5E 45%, #F59AB6 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Home hero title: Cormorant Garamond Italic (owner 2026-10-26, home page only) */
.hero h1 { font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; font-size: clamp(2.6rem, 5.6vw, 4.5rem); line-height: 1.02; letter-spacing: -.01em; }
.hero h1 span { padding-right: .08em; }
.hero .tag { color: #fff; font-size: 1.2rem; font-weight: 600; margin: -4px 0 12px; }
.hero p { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 36em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.slides { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 20px 60px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.18); background: var(--night-2); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 16px; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.dots { position: absolute; right: 16px; top: 16px; display: flex; gap: 6px; z-index: 2; }
.dots button { width: 9px; height: 9px; border-radius: 9px; border: 0; background: rgba(255,255,255,.6); padding: 0; cursor: pointer; }
.dots button.on { width: 24px; background: #fff; }

/* Faint white line-art backgrounds (owner 2026-10-26): chemistry glassware on the home hero and inner page headers, a network on Collaboration */
.hero::after, .page-hero::after, .collab-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("../img/pattern-chem.svg") 0 0 / 420px 420px repeat; opacity: .07; }
.collab-hero::after { background: url("../img/pattern-network.svg") center / 520px 420px repeat; opacity: .1; }
.hero .wrap, .page-hero .wrap, .collab-hero .wrap { z-index: 1; }

/* Quick links overlapping the hero */
.quick { position: relative; z-index: 2; margin-top: -54px; }
.quick .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.q { display: flex; flex-direction: row; gap: 14px; align-items: center; padding: 20px; color: var(--ink); }
.q:hover { color: var(--ink); }
.q .ic-box { width: 46px; height: 46px; border-radius: 14px; }
.q b { display: block; font-size: .98rem; }
.q small { color: var(--muted); font-size: .8rem; }

/* Events & announcements */
.news { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.news-item { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.news-item.no-img { grid-template-columns: 1fr; background: linear-gradient(160deg, #fff 55%, var(--violet-soft)); }
.news-item > img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.news-item .poster { position: relative; display: grid; place-items: center; background: var(--night); padding: 14px; }
.news-item .poster img { width: 100%; height: 100%; max-height: 440px; object-fit: contain; border-radius: 6px; }
.news-item .poster .zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.news-item .body { padding: 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.news-item h3 { font-size: 1.3rem; margin: 0; }
.news-item p { color: var(--muted); margin: 0; white-space: pre-line; }
.news-item .ic-big { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--violet); color: #fff; }
.news-item .btn { margin-top: auto; }

/* Recent publications — horizontal cards */
.pubs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pub { display: grid; grid-template-columns: 44% 1fr; overflow: hidden; color: var(--text); min-height: 190px; }
.pub:hover { color: var(--text); }
.pub .ga { grid-row: span 4; background: #fff; border-right: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.pub .ga img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .3s; }
.pub:hover .ga img { transform: scale(1.04); }
.pub .meta { display: flex; align-items: center; gap: 8px; padding: 18px 20px 0; min-width: 0; }
.pub .jr { font-size: .8rem; color: var(--muted); font-style: italic; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pub h3 { font-size: .98rem; line-height: 1.45; margin: 10px 20px 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pub .doi { align-self: end; margin: 12px 20px 18px; font-size: .85rem; font-weight: 600; color: var(--brand); display: inline-flex; gap: 6px; align-items: center; }

/* Faculty */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.person { overflow: hidden; display: grid; grid-template-columns: 180px 1fr; }
.person img { width: 100%; height: 100%; object-fit: cover; }
.person .body { padding: 24px; }
.person .role { font-size: .78rem; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; }
.person h3 { font-size: 1.2rem; margin: 4px 0 14px; }
.chip-links { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-links a { font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--bg); color: var(--ink); }
.chip-links a:hover { background: var(--brand-soft); color: var(--brand); }

/* Activities gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; gap: 14px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.gallery img:first-child { grid-row: span 2; }
.collab { padding: 40px 0; background: #fff; border-top: 1px solid var(--line); }
.collab img { margin: 0 auto; display: block; width: min(100%, 980px); height: auto; }

/* Inner page header (dark band) */
.page-hero { position: relative; background: var(--night); color: #fff; padding: 56px 0 52px !important; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(85,189,224,.3), transparent 65%), radial-gradient(500px 300px at 70% 120%, rgba(178,59,163,.35), transparent 65%); }
.page-hero .wrap { position: relative; }
.page-hero .eyebrow { color: #F7B4CB; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 10px 0 8px; letter-spacing: -.01em; }
.page-hero p { color: rgba(255,255,255,.82); margin: 0; max-width: 48em; }
.person-mail { margin: -6px 0 12px; font-size: .88rem; }
.person-mail a { display: inline-flex; gap: 6px; align-items: center; }

/* Filters, counts, pager */
.filter-bar { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 16px; align-items: end; padding: 18px 20px; margin-bottom: 14px; }
.filter-actions { display: flex; gap: 8px; }
.result-count { font-size: .88rem; margin: 0 0 16px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pager a { min-width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; padding: 0 10px; }
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager a.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pub .pub-authors { margin: 8px 20px 0; font-size: .8rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pub .ga-placeholder { width: 40px; height: 40px; color: #C3C7D0; }

/* Publication highlights slider (research.php, owner 2026-10-26) */
.pub-slider { position: relative; }
.pub-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 18px; scrollbar-width: none; }
.pub-track::-webkit-scrollbar { display: none; }
.pub-track > .pub { flex: 0 0 calc(50% - 10px); scroll-snap-align: start; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 6px; }
.slider-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); cursor: pointer; }
.slider-btn:hover { border-color: var(--brand); color: var(--brand); }
.slider-dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; max-width: 60%; }
.slider-dots button { width: 9px; height: 9px; border-radius: 9px; border: 0; padding: 0; background: #D5D8E0; cursor: pointer; transition: width .2s, background .2s; }
.slider-dots button.on { width: 24px; background: var(--brand); }
.slider-count { font-weight: 600; color: var(--muted); font-size: .9rem; min-width: 64px; text-align: center; }
@media (max-width: 767px) { .pub-track > .pub { flex-basis: 88%; } .pub-track { gap: 12px; } }

/* Publication highlights: one large slide at a time + thumbnails (research.php, owner 2026-10-26) */
.feature-slider { margin-top: 4px; }
.fs-stage { position: relative; display: grid; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.fs-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--spectrum); }
.fs-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.15fr 1fr; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; min-height: 420px; }
.fs-slide.on { opacity: 1; visibility: visible; }
.fs-img { display: grid; place-items: center; padding: 28px 28px 28px 72px; background: radial-gradient(500px 300px at 30% 30%, var(--sky-soft), transparent 70%), #fff; border-right: 1px solid var(--line); }
.fs-img img { width: 100%; max-height: 380px; object-fit: contain; }
.fs-img .ga-placeholder { width: 64px; height: 64px; color: #C3C7D0; }
.fs-text { padding: 40px 72px 40px 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.fs-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fs-meta .jr { font-style: italic; color: var(--muted); }
.fs-text h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.4; margin: 0; }
.fs-authors { margin: 0; color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fs-text .btn { align-self: flex-start; margin-top: 6px; }
.fs-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); cursor: pointer; }
.fs-nav:hover { border-color: var(--brand); color: var(--brand); }
.fs-prev { left: 14px; }
.fs-next { right: 14px; }
.fs-pause { position: absolute; right: 14px; bottom: 16px; z-index: 2; border: 1px solid var(--line); background: rgba(255,255,255,.95); border-radius: 999px; padding: 4px 12px; font: 600 .78rem var(--font); color: var(--muted); display: inline-flex; align-items: center; cursor: pointer; }
.fs-pause .ic { width: 14px; height: 14px; margin-right: 4px; }
.fs-pause:hover { color: var(--brand); border-color: var(--brand); }
.fs-pause .fs-pause-off, .fs-pause.stopped .fs-pause-on { display: none; }
.fs-pause.stopped .fs-pause-off { display: inline-flex; align-items: center; }
.fs-pause-on { display: inline-flex; align-items: center; }
.pub-list-head { height: 0; margin-top: 40px; scroll-margin-top: 110px; }
.fs-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 16px 2px 6px; scrollbar-width: thin; }
.fs-thumb { flex: 0 0 104px; height: 72px; border-radius: 12px; border: 2px solid var(--line); background: #fff; padding: 4px; cursor: pointer; opacity: .65; transition: opacity .2s, border-color .2s, transform .2s; display: grid; place-items: center; color: #C3C7D0; }
.fs-thumb img { width: 100%; height: 100%; object-fit: contain; }
.fs-thumb:hover { opacity: 1; }
.fs-thumb.on { opacity: 1; border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
@media (max-width: 767px) {
  .fs-slide { grid-template-columns: 1fr; min-height: 0; }
  .fs-img { padding: 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .fs-img img { max-height: 220px; }
  .fs-text { padding: 20px 20px 26px; }
  .fs-nav { top: 130px; width: 40px; height: 40px; }
  .fs-prev { left: 8px; }
  .fs-next { right: 8px; }
  .fs-thumb { flex-basis: 84px; height: 60px; }
}

/* Crossref list */
.crossref { padding: 8px 0 12px; }
.cr-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.cr-tabs:empty { display: none; }
.cr-tab { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .85rem; color: var(--text); cursor: pointer; }
.cr-tab:hover { border-color: var(--brand); color: var(--brand); }
.cr-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.cr-loading, .cr-error { padding: 28px 22px; text-align: center; color: var(--muted); }
.cr-error { color: var(--danger); display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.cr-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.cr-item:last-child { border-bottom: 0; }
.cr-year { font-weight: 700; color: var(--violet); background: var(--violet-soft); border-radius: 10px; height: 34px; display: grid; place-items: center; font-size: .9rem; }
.cr-title, .cr-journal, .cr-authors, .result-count { overflow-wrap: anywhere; }
.cr-title { display: block; font-weight: 600; color: var(--ink); line-height: 1.45; }
a.cr-title:hover { color: var(--brand); }
.cr-authors { margin: 4px 0 2px; font-size: .84rem; color: var(--muted); }
.cr-authors .cr-me { color: var(--brand); }
.cr-journal { margin: 0; font-size: .84rem; color: var(--text); }
.cr-more { text-align: center; padding: 16px; }
@media (max-width: 767px) {
  .filter-bar { grid-template-columns: 1fr; }
  .filter-actions .btn { flex: 1; }
  .cr-item { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 14px 16px; }
  .cr-year { justify-self: start; padding: 0 12px; }
}

/* Collaboration */
.sec-head.center { justify-content: center; text-align: center; }
.collab-hero { position: relative; background: var(--night); color: #fff; overflow: hidden; padding: 64px 0 96px !important; }
.collab-hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(620px 380px at 88% 20%, rgba(85,189,224,.32), transparent 65%),
  radial-gradient(560px 360px at 60% 110%, rgba(178,59,163,.38), transparent 65%),
  radial-gradient(420px 300px at 0% 0%, rgba(134,196,64,.18), transparent 70%); }
.collab-hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.collab-hero .eyebrow { color: #F7B4CB; }
.collab-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: -.02em; margin: 14px 0 16px; }
.collab-hero h1 span { background: linear-gradient(90deg, #8FD3F0, #B8DD5E 50%, #F59AB6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.collab-hero p { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 34em; }
.ch-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.ch-stats div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 16px; padding: 14px 12px; text-align: center; }
.ch-stats b { display: block; font-size: 2rem; line-height: 1.1; color: #fff; }
.ch-stats span { font-size: .78rem; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .06em; }
.ch-collage { position: relative; height: 420px; }
.ch-collage img { position: absolute; object-fit: cover; border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.45); border: 3px solid rgba(255,255,255,.9); }
.ch-collage .c0 { left: 0; top: 30px; width: 68%; height: 300px; z-index: 2; }
.ch-collage .c1 { right: 0; top: 0; width: 46%; height: 200px; transform: rotate(3deg); }
.ch-collage .c2 { right: 6%; bottom: 0; width: 48%; height: 190px; transform: rotate(-3deg); z-index: 3; }
.ch-badge { position: absolute; left: 4%; bottom: 14px; z-index: 4; background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .85rem; display: inline-flex; gap: 8px; align-items: center; box-shadow: var(--shadow-lg); }
.ch-badge .ic { color: var(--brand); }
.funders { position: relative; z-index: 2; margin-top: -44px; }
.funders-card { display: flex; align-items: center; justify-content: center; gap: 18px 40px; padding: 18px 24px; flex-wrap: wrap; flex-direction: row; }
.funder { display: inline-flex; align-items: center; gap: 12px; }
.funder img { width: 44px; height: 44px; object-fit: contain; }
.funder b { display: block; color: var(--ink); }
.funder small { color: var(--muted); font-size: .8rem; }
.project-feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.pf-years { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; margin: 18px 0 14px; background: linear-gradient(90deg, var(--sky), var(--leaf) 45%, var(--brand) 75%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pf-years span { color: #C3C7D0; -webkit-text-fill-color: #C3C7D0; font-weight: 400; }
.pf-years.small { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.project-feature h2, .prev-project h2 { font-size: clamp(1.25rem, 2.1vw, 1.6rem); margin: 0 0 12px; }
.pf-th { color: var(--muted); margin-bottom: 10px; }
.themes { display: grid; gap: 14px; }
.theme { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 18px; color: #fff; box-shadow: var(--shadow); }
.theme b { display: block; font-size: 1.1rem; }
.theme small { display: block; color: rgba(255,255,255,.9); font-size: .86rem; line-height: 1.45; }
.theme-ic { width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.2); display: grid; place-items: center; flex: none; }
.theme-ic .ic { width: 26px; height: 26px; }
.th-green { background: linear-gradient(120deg, #2E7D32, #5FA82A); }
.th-orange { background: linear-gradient(120deg, #B4461E, #D9661B); }
.th-purple { background: linear-gradient(120deg, #5E3591, #A0359C); }
.insts { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.inst { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 18px 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-size: .8rem; font-weight: 600; color: var(--ink); line-height: 1.35; transition: transform .2s, box-shadow .2s; }
.inst:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.inst img { width: 72px; height: 72px; object-fit: contain; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { overflow: hidden; color: var(--text); display: flex; flex-direction: column; }
.member:hover { color: var(--text); }
.member-photo { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--brand-soft); overflow: hidden; }
.member-photo > img:first-child { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.member:hover .member-photo > img:first-child { transform: scale(1.04); }
.member-inst { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; background: #fff; padding: 4px; object-fit: contain; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.member-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.member-body b { color: var(--ink); font-size: .95rem; line-height: 1.35; }
.member-body small { color: var(--muted); font-size: .8rem; line-height: 1.45; }
.member-body .pill { align-self: flex-start; margin-bottom: 4px; }
.member-link { margin-top: auto; padding-top: 8px; font-size: .82rem; font-weight: 600; color: var(--brand); display: inline-flex; gap: 6px; align-items: center; }
.member.leader { grid-column: span 2; flex-direction: row; border-color: var(--brand-line); background: linear-gradient(120deg, #fff 40%, var(--brand-soft)); }
.member.leader .member-photo { width: 46%; aspect-ratio: auto; flex: none; }
.member.leader .member-body { justify-content: center; padding: 24px; }
.member.leader .member-body b { font-size: 1.25rem; }
.prev-project { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.pp-posters { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.poster-thumb { position: relative; display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.poster-thumb.wide { grid-column: 1 / -1; }
.poster-thumb img { width: 100%; height: 100%; max-height: 300px; object-fit: cover; object-position: top; display: block; transition: transform .35s; }
.poster-thumb:hover img { transform: scale(1.03); }
.poster-thumb span { position: absolute; left: 10px; bottom: 10px; right: 10px; background: rgba(255,255,255,.94); color: var(--ink); border-radius: 10px; padding: 6px 10px; font-size: .8rem; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 47px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--spectrum); opacity: .5; }
.tl-item { display: grid; grid-template-columns: 96px 1fr; gap: 24px; margin-bottom: 28px; }
.tl-date { position: relative; z-index: 1; align-self: start; background: #fff; border: 2px solid var(--line); border-radius: 18px; text-align: center; padding: 10px 6px; box-shadow: var(--shadow); }
.tl-date b { display: block; font-size: 1.8rem; line-height: 1.05; color: var(--brand); }
.tl-date span { font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.tl-card { padding: 20px; }
.tl-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.tl-head h3 { font-size: 1.2rem; margin: 0; }
.tl-head h3 a { color: var(--ink); }
.tl-head h3 a:hover { color: var(--brand); }
.album-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 6px 0 0; font-size: .88rem; color: var(--muted); }
.album-meta span { display: inline-flex; gap: 6px; align-items: center; }
.bento { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 150px 150px; gap: 10px; }
.bento a { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--bg); }
.bento a:first-child { grid-row: span 2; }
.bento img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.bento a:hover img { transform: scale(1.05); }
.bento-more { position: absolute; inset: 0; background: rgba(25,20,51,.6); color: #fff; font-size: 1.6rem; font-weight: 700; display: grid; place-items: center; }
.lightbox .modal-content { background: #0f0c1f; border: 0; border-radius: 16px; overflow: hidden; }
.lightbox .modal-body { padding: 0; position: relative; text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; width: auto; height: auto; display: block; margin: 0 auto; }
.lightbox .lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; color: rgba(255,255,255,.85); font-size: .9rem; }
.lightbox .lb-bar a { color: #fff; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.lightbox .btn-close { position: absolute; top: 10px; right: 10px; z-index: 2; background-color: #fff; border-radius: 50%; padding: 8px; opacity: .9; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--ink); display: grid; place-items: center; }
.lightbox .lb-prev { left: 10px; }
.lightbox .lb-next { right: 10px; }
@media (max-width: 1100px) { .insts { grid-template-columns: repeat(4, 1fr); } .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px) {
  .collab-hero .wrap, .project-feature, .prev-project { grid-template-columns: 1fr; gap: 32px; }
  .ch-collage { height: 360px; }
  .team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .collab-hero { padding: 40px 0 80px !important; }
  .ch-stats { grid-template-columns: repeat(2, 1fr); }
  .ch-collage { height: 280px; }
  .ch-collage .c0 { height: 210px; top: 20px; }
  .ch-collage .c1 { height: 140px; }
  .ch-collage .c2 { height: 130px; }
  .insts { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .inst { padding: 12px 6px; font-size: .68rem; gap: 6px; }
  .inst img { width: 48px; height: 48px; }
  .team { gap: 12px; }
  .member.leader { grid-column: 1 / -1; flex-direction: column; }
  .member.leader .member-photo { width: 100%; aspect-ratio: 1 / 1; }
  .member.leader .member-body { padding: 16px; }
  .member-body { padding: 12px; }
  .member-body small { font-size: .75rem; }
  .pp-posters { grid-template-columns: 1fr; }
  .timeline::before { left: 27px; }
  .tl-item { grid-template-columns: 56px 1fr; gap: 12px; }
  .tl-date { border-radius: 14px; padding: 6px 2px; }
  .tl-date b { font-size: 1.3rem; }
  .tl-date span { font-size: .62rem; }
  .tl-card { padding: 14px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 100px 100px; }
  .bento a:first-child { grid-column: span 2; grid-row: auto; }
  .bento a:nth-child(5) { display: none; }
}

/* Members */
.subnav { position: sticky; top: 82px; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 14px; border-radius: 999px; color: var(--ink); font-weight: 500; font-size: .9rem; border: 1px solid var(--line); background: #fff; }
.subnav a:hover { border-color: var(--brand); color: var(--brand); }
.subnav a span { background: var(--bg); border-radius: 999px; padding: 0 8px; font-size: .75rem; font-weight: 700; color: var(--muted); }
.site main section[id] { scroll-margin-top: 150px; }
.group-title { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin: 28px 0 14px; color: var(--ink); }
.group-title:first-of-type { margin-top: 0; }
.group-title::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--line), transparent); }
.group-title span { background: var(--brand-soft); color: var(--brand); border-radius: 999px; padding: 0 10px; font-size: .78rem; }
.initials { width: 100%; height: 100%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--sky), var(--violet)); font-size: 1.6rem; letter-spacing: .02em; }
.students { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.student { padding: 20px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.student-photo { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; padding: 3px; background: var(--spectrum); margin-bottom: 8px; display: block; }
.student-photo img, .student-photo .initials { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.student b { color: var(--ink); font-size: .95rem; line-height: 1.35; }
.student small { color: var(--muted); font-size: .82rem; }
.student .pill { margin-top: 4px; }
.alumni-years { display: grid; gap: 18px; }
.alumni-year { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; }
.ay-label { position: sticky; top: 150px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; text-align: center; box-shadow: var(--shadow); }
.ay-label b { display: block; font-size: 1.6rem; line-height: 1.1; color: var(--brand); }
.ay-label span { font-size: .75rem; color: var(--muted); }
.alumni-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.alum { display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: var(--text); flex-direction: row; }
a.alum:hover { color: var(--text); }
.alum-photo { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: none; }
.alum-photo img, .alum-photo .initials { width: 100%; height: 100%; object-fit: cover; font-size: 1rem; }
.alum b { display: block; color: var(--ink); font-size: .9rem; line-height: 1.3; margin-bottom: 4px; }
.visitors { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.visitor { padding: 18px 20px; }
.visitor-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.visitor-head b { color: var(--ink); }
.visitor-desc { margin: 10px 0 0; font-size: .9rem; color: var(--text); }
.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.activity-grid a { position: relative; display: block; aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.activity-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.activity-grid a:hover img { transform: scale(1.05); }
.activity-grid span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 10px; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
@media (max-width: 991px) { .subnav { top: 78px; } }
@media (max-width: 640px) {
  .subnav { top: 70px; }
  .students { grid-template-columns: 1fr 1fr; gap: 10px; }
  .student-photo { width: 84px; height: 84px; }
  .alumni-year { grid-template-columns: 1fr; gap: 10px; }
  .ay-label { position: static; display: flex; gap: 10px; align-items: baseline; text-align: left; padding: 8px 14px; }
  .ay-label b { font-size: 1.3rem; }
  .visitors { grid-template-columns: 1fr; }
  .activity-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* Contact */
.contact-people { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-person { display: grid; grid-template-columns: 200px 1fr; overflow: hidden; }
.contact-person img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.cp-body { padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.cp-body .role { font-size: .78rem; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; }
.cp-body h3 { font-size: 1.25rem; margin: 0 0 8px; }
.cp-line { display: flex; gap: 8px; align-items: center; margin: 0; font-size: .92rem; color: var(--text); overflow-wrap: anywhere; }
.cp-line .ic { color: var(--muted); }
.cp-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 14px; }
.visit { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: stretch; }
.visit h2 { font-size: 1.85rem; margin: 8px 0 20px; }
.visit-item { display: flex; gap: 14px; margin-bottom: 18px; }
.visit-item b { color: var(--ink); }
.visit-item p { margin: 2px 0 0; }
.map-card { overflow: hidden; min-height: 380px; }
.map-card iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
@media (max-width: 991px) { .contact-people, .visit { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .contact-person { grid-template-columns: 110px 1fr; }
  .contact-person img { min-height: 0; }
  .cp-body { padding: 16px; }
  .map-card, .map-card iframe { min-height: 300px; }
}

/* Sign in / Sign up */
.auth { padding: 56px 0 72px !important; background: radial-gradient(600px 300px at 10% 0%, var(--brand-soft), transparent 70%), radial-gradient(600px 320px at 100% 100%, var(--sky-soft), transparent 70%); }
.auth-card { display: grid; grid-template-columns: .9fr 1.1fr; max-width: 900px; margin: 0 auto; overflow: hidden; flex-direction: row; }
.auth-side { position: relative; background: var(--night); color: rgba(255,255,255,.85); padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; gap: 10px; overflow: hidden; }
.auth-side::before { content: ""; position: absolute; inset: 0; background: url("../img/pattern-chem.svg") 0 0 / 420px repeat; opacity: .08; }
.auth-side::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--spectrum); }
.auth-side > * { position: relative; }
.auth-side img { width: 120px; height: auto; background: #fff; border-radius: 16px; padding: 8px 10px; margin-bottom: 10px; }
.auth-side h2 { color: #fff; font-size: 1.5rem; margin: 0; }
.auth-side p { margin: 0; }
.auth-form { padding: 40px 36px; }
.auth-form h1 { font-size: 1.7rem; margin: 0 0 4px; }
.auth-form > .muted { margin-bottom: 20px; }
.auth-note { font-size: .85rem; margin: 16px 0 0; text-align: center; }
@media (max-width: 767px) {
  .auth-card { grid-template-columns: 1fr; }
  .auth-side { padding: 24px; }
  .auth-side img { width: 90px; }
  .auth-form { padding: 24px 20px; }
}

/* Profile pages */
.profile-hero .wrap { display: flex; gap: 40px; align-items: center; }
.profile-photo { position: relative; flex: none; width: 200px; height: 200px; border-radius: 50%; padding: 5px; background: var(--spectrum); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.profile-photo > img:first-child { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #fff; }
.profile-photo .member-inst { top: auto; bottom: 6px; right: 6px; width: 50px; height: 50px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.8); font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.back-link:hover { color: #fff; }
.profile-hero h1 { margin: 4px 0 8px !important; }
.profile-pos { color: #F7B4CB !important; font-weight: 600; }
.profile-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.overview { margin: 0 0 24px; padding: 24px 28px; font-size: 1.05rem; line-height: 1.75; color: var(--ink); border-left: 4px solid var(--violet); }
.topic { display: grid; grid-template-columns: 1fr 1.2fr; overflow: hidden; margin-bottom: 20px; }
.topic.flip .topic-img { order: 2; }
.topic-img { display: grid; place-items: center; background: #fff; border-right: 1px solid var(--line); padding: 16px; }
.topic.flip .topic-img { border-right: 0; border-left: 1px solid var(--line); }
.topic-img img { width: 100%; max-height: 280px; object-fit: contain; }
.topic-body { padding: 26px 28px; }
.topic-no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-weight: 700; margin-bottom: 10px; }
.topic-body h3 { font-size: 1.2rem; }
.topic-body p { margin: 0; }
.keywords { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 24px; }
.keywords .pill { font-size: .85rem; padding: 4px 12px; }
.open-positions { display: flex; gap: 16px; padding: 22px 24px; align-items: flex-start; flex-direction: row; }
.open-positions h3 { font-size: 1.05rem; margin-bottom: 4px; }
.open-positions p { margin: 0; }
@media (max-width: 767px) {
  .profile-hero .wrap { flex-direction: column; align-items: flex-start; gap: 20px; }
  .profile-photo { width: 140px; height: 140px; }
  .topic { grid-template-columns: 1fr; }
  .topic.flip .topic-img { order: 0; border-left: 0; }
  .topic-img { border-right: 0; border-bottom: 1px solid var(--line); }
  .topic-body { padding: 18px; }
}

/* Dashboard (R3) */
.hint { margin: 0; padding: 10px 22px; font-size: .82rem; color: var(--muted); background: #FAFAFC; border-bottom: 1px solid var(--line); }
.rowlist .t b a { color: var(--ink); }
.rowlist .t b a:hover { color: var(--brand); }
.rowlist li.is-expired { opacity: .6; }
.atts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.att { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 3px 8px; }
.att .ic { width: 13px; height: 13px; color: var(--violet); }
.att:hover { border-color: var(--brand); color: var(--brand); }
.ann-body { display: block; margin: 4px 0 2px; color: var(--text); font-size: .9rem; white-space: pre-line; overflow-wrap: anywhere; }
.ann-list li { align-items: start; }
.dash-form { border-bottom: 1px solid var(--line); background: #FCFCFE; }
.seg-radio { display: flex; gap: 8px; flex-wrap: wrap; }
.seg-radio label { display: inline-flex; gap: 8px; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 14px; cursor: pointer; background: #fff; font-weight: 500; }
.seg-radio label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.link-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; margin-bottom: 8px; }
.att-row { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .9rem; }
.strip-head { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.labinfo { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.labinfo .li-item { display: flex; align-items: center; gap: 12px; padding: 18px 20px; color: var(--ink); font-size: .9rem; font-weight: 600; line-height: 1.3; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.labinfo a.li-item:hover { background: #FBFAFE; color: var(--brand); }
.labinfo .li-item small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.labinfo .ext { margin-left: auto; width: 15px; color: var(--muted); }
.app-menu .grp-edit { display: flex; align-items: center; justify-content: space-between; }
.app-menu .grp-edit .edit-links { padding: 4px; margin-right: -4px; border-radius: 6px; color: var(--muted); }
.app-menu .grp-edit .edit-links .ic { width: 14px; height: 14px; }
.app-menu .grp-edit .edit-links:hover { color: var(--brand); background: var(--brand-soft); }
.links-grid { display: grid; grid-template-columns: 1fr 1.6fr 140px 80px 34px; gap: 8px; align-items: center; margin-bottom: 8px; }
.links-head span { font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.links-new { padding-top: 10px; border-top: 1px dashed var(--line); margin-top: 6px; }
@media (max-width: 767px) {
  .link-row { grid-template-columns: 1fr; }
  .links-grid { grid-template-columns: 1fr 1fr; }
  .links-grid > :nth-child(2) { grid-column: span 2; order: 2; }
  .links-head { display: none; }
  .links-grid { padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #FCFCFE; }
}

.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.acct-facts { margin: 0 0 12px; display: grid; gap: 8px; }
.acct-facts div { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
.acct-facts dt { font-weight: 600; color: var(--muted); font-size: .85rem; }
.acct-facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 991px) { .account-grid { grid-template-columns: 1fr; } }

/* Legacy admin/student content inside the new shell (R3): same page header, cards and forms as new pages */
.app-content > .container-fluid { padding: 0 !important; }
.app-content .section-header { display: inline-flex; align-items: center; gap: 12px; font-size: 1.55rem; font-weight: 700; color: var(--ink); line-height: 1.25; margin: 8px 0 12px; }
.app-content .section-header i, .app-content .section-header svg { width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; font-size: 1.05rem; background: var(--brand-soft); color: var(--brand); margin: 0 !important; }
.app-main { min-width: 0; }
.app-content .table-wrap-x { overflow-x: auto; }
.app-content > .container-fluid > .d-flex { flex-wrap: wrap; gap: 10px; }
.app-content .card { border-radius: var(--radius) !important; }
.app-content .card.shadow-sm { box-shadow: var(--shadow) !important; border: 1px solid var(--line) !important; }
.app-content form#publicationForm, .app-content .legacy-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.app-content .modal-header-pink { background: var(--brand-soft); color: var(--brand); }
.app-content .modal-content { border-radius: var(--radius); border: 0; box-shadow: var(--shadow-lg); }
.app-content .nav-tabs .nav-link.active { color: var(--brand); }
.app-content .badge { font-weight: 600; }
.app-content .dt-container .dt-search input, .app-content .dt-container .dt-length select { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 6px 10px; }

/* Footer */
.site-footer { background: var(--footer); color: rgba(255,255,255,.78); position: relative; }
.site-footer .spectrum-line { position: absolute; top: 0; left: 0; right: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 52px; padding-bottom: 36px; }
.site-footer h2 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.82); display: block; padding: 3px 0; font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.footer-brand img { height: 44px; width: auto; background: #fff; border-radius: 10px; padding: 4px 6px; }
.footer-brand b { color: #fff; font-size: 1.1rem; }
.footer-addr { display: flex; gap: 10px; font-size: .9rem; }
.footer-person { font-size: .9rem; margin-bottom: 12px; }
.footer-person a, .footer-map { display: inline-flex !important; align-items: center; gap: 6px; }
.copy { border-top: 1px solid rgba(255,255,255,.12); text-align: center; font-size: .8rem; padding: 16px; color: rgba(255,255,255,.6); }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 40; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { color: #fff; background: var(--brand-700); }

@media (min-width: 992px) and (max-width: 1199px) {
  .brand small { display: none; }
  .site-nav a { padding: 10px 10px; font-size: .88rem; white-space: nowrap; }
  .site-nav a.nav-signin { margin-left: 6px; padding: 0 12px; }
}
@media (max-width: 991px) {
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 16px 18px; box-shadow: var(--shadow-lg); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .site-nav a.nav-signin { margin: 8px 0 0; justify-content: center; }
  .burger { display: grid; }
    .hero { padding: 48px 0 100px; }
  .hero .wrap, .people, .news { grid-template-columns: 1fr; }
  .pubs { grid-template-columns: 1fr; }
  .quick .grid { grid-template-columns: 1fr 1fr; }
  .hero .hex { width: 420px; right: -140px; top: 90px; opacity: .3; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .brand small { display: none; }
  .brand img { height: 42px; }
  .brand b { font-size: 1.1rem; }
  .site main section { padding: 48px 0; }
  .quick .grid { grid-template-columns: 1fr; gap: 10px; }
  .q { padding: 14px 16px; }
  .news-item { grid-template-columns: 1fr; }
  .news-item > img { min-height: 180px; max-height: 200px; }
  .news-item .poster img { max-height: 360px; }
  .pubs { gap: 12px; }
  .pub { grid-template-columns: 38% 1fr; min-height: 0; }
  .pub .ga img { padding: 6px; }
  .pub .meta { padding: 12px 12px 0; }
  .pub .jr { display: none; }
  .pub h3 { font-size: .85rem; margin: 6px 12px 0; -webkit-line-clamp: 3; }
  .pub .doi { margin: 8px 12px 12px; font-size: .8rem; }
  .person { grid-template-columns: 110px 1fr; }
  .person .body { padding: 16px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 120px 120px; }
  .gallery img:first-child { grid-column: span 2; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* =====================================================================
   APP (admin/ + student/)
   ===================================================================== */
.app { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh;
  background: linear-gradient(90deg, #fff 263px, var(--line) 263px, var(--line) 264px, transparent 264px); }
.app-side { background: #fff; position: sticky; top: 0; height: 100vh; overflow: auto; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.app-brand { display: flex; align-items: center; gap: 10px; padding: 18px 20px; color: var(--ink); border-bottom: 1px solid var(--line); }
.app-brand:hover { color: var(--ink); }
.app-brand img { height: 38px; width: auto; }
.app-brand b { display: block; font-size: 1rem; }
.app-brand small { font-size: .72rem; color: var(--muted); }
.app-menu { padding: 14px 12px 24px; }
.app-menu .grp { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 14px 12px 6px; }
.app-menu a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--text); font-size: .92rem; font-weight: 500; position: relative; }
.app-menu a:hover { background: var(--bg); color: var(--ink); }
.app-menu a.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.app-menu a.active::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--brand); }
.app-menu .count { margin-left: auto; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 700; border-radius: 999px; padding: 1px 8px; display: inline-flex; align-items: center; gap: 3px; }
.app-menu .count.warn { background: var(--amber-soft); color: var(--amber); }
.app-menu .count .ic { width: 11px; height: 11px; }
.app-menu .ext { margin-left: auto; width: 14px; height: 14px; color: var(--muted); }
.app-top { display: flex; align-items: center; gap: 14px; padding: 14px 32px; background: rgba(246,247,250,.92); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 20; }
.app-top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.user-btn { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px 3px 3px; cursor: pointer; color: var(--ink); height: 42px; }
.user-btn .uname { text-align: left; line-height: 1.15; }
.user-btn .uname b { display: block; font-size: .85rem; }
.user-btn .uname small { display: block; font-size: .72rem; color: var(--muted); }
.user-btn > .ic { width: 16px; color: var(--muted); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8rem; color: #fff; background: linear-gradient(135deg, var(--sky), var(--violet)); flex: none; }
.user-menu { width: 250px; border-radius: 14px; border-color: var(--line); box-shadow: var(--shadow-lg); padding: 6px; }
.user-menu .uhead { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.user-menu .uhead b { display: block; color: var(--ink); font-size: .9rem; }
.user-menu .uhead small { color: var(--muted); font-size: .78rem; word-break: break-all; }
.user-menu .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: .88rem; font-weight: 500; color: var(--ink); }
.user-menu .dropdown-item:hover, .user-menu .dropdown-item:focus { background: var(--bg); }
.user-menu .dropdown-item.out { color: var(--danger); border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 6px; }
.app-content { padding: 4px 32px 48px; max-width: 1320px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 8px 0 20px; flex-wrap: wrap; }
.page-head h1 { font-size: 1.55rem; margin: 0; }
.page-head p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.page-head .actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.rows > * + * { margin-top: 24px; }
.status-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .84rem; color: var(--ink); font-weight: 500; }
.status-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.status-chip.closed i { background: #A3A8B4; }
.album-row { grid-template-columns: 72px 1fr auto !important; }
.album-cover { width: 72px; height: 54px; border-radius: 8px; overflow: hidden; background: var(--bg); display: grid; place-items: center; color: #A3A8B4; }
.album-cover img { width: 100%; height: 100%; object-fit: cover; }
.admin-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.admin-photo { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.admin-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.admin-photo-fields { display: grid; grid-template-columns: 64px 1fr 34px; gap: 6px; padding: 8px; align-items: center; }
.app-scrim { display: none; }
.flash { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; margin: 8px 0 16px; font-weight: 500; border: 1px solid; }
.flash-ok { background: var(--leaf-soft); color: var(--leaf); border-color: #cfe3b5; }
.flash-bad { background: var(--danger-soft); color: var(--danger); border-color: #f5c6c1; }
.flash span { flex: 1; }
.flash-x { background: none; border: 0; color: inherit; padding: 4px; cursor: pointer; }

@media (max-width: 991px) {
  .app { grid-template-columns: minmax(0, 1fr); background: none; }
  .app-side { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; z-index: 60; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow-lg); }
  .app-side.open { transform: none; }
  .app-side.open + .app-scrim { display: block; position: fixed; inset: 0; background: rgba(15,18,30,.4); z-index: 55; }
  .app-top .burger { display: grid; }
  .app-top { padding: 12px 16px; }
  .app-content { padding: 4px 16px 40px; }
}
@media (max-width: 640px) {
  .user-btn .uname, .user-btn > .ic { display: none; }
  .user-btn { padding: 3px; }
  .rowlist li { padding: 12px 16px; gap: 12px; }
  .page-head .actions { width: 100%; }
  .page-head .actions .status-chip { flex: 1 1 100%; }
  .page-head .actions .btn { flex: 1 1 140px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ===== ตัวหมุนโลโก้ (app.js window.appBusy) ===== */
.app-loader { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: rgba(255,255,255,.78); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .15s; }
.app-loader.on { opacity: 1; visibility: visible; }
.app-loader-box { display: grid; justify-items: center; gap: 12px; }
.app-loader-box small { font-size: .95rem; font-weight: 600; color: var(--ink); }
.app-ring { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.app-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 4px;
  background: conic-gradient(from 0deg, transparent 0 15%, #2E86DE, #7B4FD6, #D63384, #F08C00, #2FA36B 85%, transparent 85%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: app-spin 1s linear infinite; }
.app-ring img { width: 62px; height: auto; animation: app-breathe 1.6s ease-in-out infinite; }
.app-ring.sm { width: 18px; height: 18px; display: inline-grid; vertical-align: -3px; }
.app-ring.sm::before { padding: 2.5px; }
@keyframes app-spin { to { transform: rotate(360deg); } }
@keyframes app-breathe { 50% { transform: scale(.92); opacity: .85; } }
@media (prefers-reduced-motion: reduce) { .app-ring::before { animation-duration: 3s; } .app-ring img { animation: none; } }

/* ===== แทน style="..." ในหน้า (CSP 2026-10-31) — !important เพื่อให้ทับได้เหมือน inline style เดิม ===== */
.mw-420 { max-width: 420px !important; } .mw-640 { max-width: 640px !important; } .mw-260 { max-width: 260px !important; }
.minw-260 { min-width: 260px !important; } .w-110 { width: 110px !important; } .img-fit { max-width: 100% !important; height: auto !important; }
.swal-check { display: flex; gap: 8px; text-align: left; margin: 6px 0; }
[data-cols="pick"] { grid-template-columns: minmax(0, 420px) auto !important; }
[data-cols="2-1-1"] { grid-template-columns: 2fr 1fr 1fr !important; }
[data-cols="1-auto"] { grid-template-columns: minmax(0, 1fr) auto !important; }
[data-cols="1-2-2"] { grid-template-columns: 1fr 2fr 2fr !important; }
[data-cols="110-1"] { grid-template-columns: 110px minmax(0, 1fr) !important; }
[data-span="all"] { grid-column: 1 / -1 !important; }
/* ตัวอย่างอีเมลในหน้า (อีเมลจริงใช้ inline style ของตัวเอง — CSP ทำให้ inline style ไม่แสดงในหน้าเว็บ) */
.mail-preview { font-size: 14px; color: #1D2230; }
.mail-preview table { border-collapse: collapse; width: 100%; max-width: 760px; margin: 0 0 10px; }
.mail-preview th { background: #F6E7EE; color: #8C1840; text-align: left; padding: 6px 8px; border: 1px solid #E8CBD8; font-weight: 600; }
.mail-preview td { padding: 6px 8px; border: 1px solid #E5E7EB; vertical-align: top; }
.mail-preview td:nth-child(3) { text-align: right; white-space: nowrap; }
.mail-preview div > div:not([class]) { margin: 16px 0 4px; font-weight: bold; color: #8C1840; }
.mw-760 { max-width: 760px !important; } .thumb-56 { height: 56px !important; border-radius: 8px !important; } .flex-240 { flex: 1 !important; min-width: 240px !important; }
.hp-field { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.hero .photo-default { background-image: url('/img/nrctmeeting/web/2024-2.jpg'); }
/* หน้า admin/student เดิม: style="..." เดิมย้ายมาเป็น data-ix (display ไม่ใส่ !important — สคริปต์เดิมยังเปิด/ซ่อนด้วย style.display ได้) */
[data-ix="ix1"] { width: 60px !important; }
[data-ix="ix2"] { width: 100px !important; }
[data-ix="ix3"][data-ix="ix3"] { display: none; }
[data-ix="ix4"] { font-size: .85rem !important; }
[data-ix="ix5"] { height: 180px !important; overflow: hidden !important; }
[data-ix="ix6"] { width: 100% !important; height: 100% !important; object-fit: cover !important; }
[data-ix="ix7"] { min-height: 18px !important; }
[data-ix="ix8"] { font-size: .72rem !important; }
[data-ix="ix9"] { max-width: 360px !important; }
[data-ix="ix10"] { width: 80px !important; height: 80px !important; border-radius: 50% !important; border: 3px solid var(--pink) !important; background: rgba(222,92,142,.1) !important; align-items: center !important; justify-content: center !important; color: var(--pink) !important; font-size: 1.8rem !important; margin: 0 auto .5rem !important; }
[data-ix="ix10"][data-ix="ix10"] { display: none; }
[data-ix="ix11"] { width: 80px !important; height: 80px !important; border-radius: 50% !important; border: 3px solid var(--pink) !important; background: rgba(222,92,142,.1) !important; align-items: center !important; justify-content: center !important; color: var(--pink) !important; font-size: 1.8rem !important; margin: 0 auto .5rem !important; }
[data-ix="ix11"][data-ix="ix11"] { display: flex; }
[data-ix="ix12"] { width: 380px !important; }
[data-ix="ix13"] { width: 75px !important; }
[data-ix="ix14"] { width: 70px !important; }
[data-ix="ix15"] { width: 120px !important; }
[data-ix="ix16"] { width: 180px !important; }
[data-ix="ix17"] { min-height: 50px !important; }
[data-ix="ix18"] { width: auto !important; }
[data-ix="ix19"] { width: 200px !important; }
