/*
 * ZKI Digital Headquarters — member area styles (premium redesign)
 *
 * Built on the live zenith-klub theme tokens (--zk-navy, --zk-cyan, --zk-red,
 * --zk-ivory, --zk-line, --ff-display …). Fallback values keep the portal
 * presentable even if the active theme changes. All classes are namespaced
 * `.hqx-` so nothing here can collide with theme or block styles.
 */

/* ---- token bridge + local vars --------------------------------------- */
.hqx {
  --hx-navy:    var(--zk-navy, #0B1B33);
  --hx-void:    var(--zk-void, #05090F);
  --hx-navy-2:  var(--zk-navy-500, #1D3D66);
  --hx-cyan:    var(--zk-cyan, #00B0F0);
  --hx-cyan-ink:var(--zk-cyan-ink, #0273A4);
  --hx-red:     var(--zk-red, #F02030);
  --hx-red-ink: var(--zk-red-ink, #B01524);
  --hx-ivory:   var(--zk-ivory, #F7F4ED);
  --hx-paper:   #ffffff;
  --hx-line:    var(--zk-line, #E1D9CB);
  --hx-mute:    var(--zk-mute, #6B7C92);
  --hx-slate:   var(--zk-slate, #46586F);
  --hx-ok:      #0C7A4E;
  --hx-ok-bg:   rgba(16,140,90,.10);
  --hx-warn:    #8A6D24;
  --hx-warn-bg: rgba(201,169,97,.16);
  --hx-serif:   var(--ff-display, 'Cormorant Garamond', Georgia, serif);
  --hx-sans:    var(--ff-sans, 'Inter', system-ui, sans-serif);
  --hx-r:       10px;
  --hx-lift:    0 1px 2px rgba(11,27,51,.05), 0 8px 24px rgba(11,27,51,.05);

  font-family: var(--hx-sans);
  color: var(--hx-navy);
  max-width: 1240px;
  margin-inline: auto;
}
.hqx *, .hqx *::before, .hqx *::after { box-sizing: border-box; }
.hqx > * + * { margin-top: 1.25rem; }
.hqx--sub { padding-block: .5rem 1rem; }

/* ---- shared bits ------------------------------------------------------ */
.hqx-ic { width: 1.05em; height: 1.05em; display: inline-block; flex: none; }
.hqx-eyebrow {
  font-size: .625rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--hx-cyan-ink); margin: 0 0 .35rem;
}
.hqx-num { font-variant-numeric: tabular-nums; }
.hqx-muted { color: var(--hx-mute); font-size: .9rem; }
.hqx-link { color: var(--hx-cyan-ink); font-weight: 600; font-size: .9rem; text-decoration: none; }
.hqx-link:hover { color: var(--hx-navy); }

/* ---- HERO ------------------------------------------------------------- */
.hqx-hero {
  position: relative; overflow: hidden; border-radius: 14px;
  background: var(--hx-navy); color: var(--hx-ivory);
  box-shadow: 0 12px 32px rgba(11,27,51,.16);
}
.hqx-hero__rule { position: absolute; inset: 0 0 auto 0; height: 3px; display: flex; z-index: 2; }
.hqx-hero__rule::before { content: ""; width: 60%; background: var(--hx-cyan); }
.hqx-hero__rule::after  { content: ""; width: 40%; background: var(--hx-red); }
.hqx-hero__glow { position: absolute; top: -100px; right: -60px; width: 300px; height: 300px; border-radius: 50%; background: rgba(0,176,240,.14); filter: blur(60px); pointer-events: none; }
.hqx-hero__main { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.4rem, 3vw, 2.1rem); }
.hqx-hero__id { display: flex; align-items: center; gap: 1.15rem; min-width: 0; }
.hqx-hero__text { min-width: 0; }
.hqx-hero__eyebrow { font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--hx-cyan); margin: 0; }
.hqx-hero__eyebrow span { opacity: .4; margin: 0 .35rem; }
.hqx-hero__welcome { font-family: var(--hx-serif); font-weight: 500; line-height: 1.1; margin: .35rem 0 0; font-size: clamp(1.5rem, 3.4vw, 2rem); color: rgba(247,244,237,.72); }
.hqx-hero__welcome strong { font-weight: 600; color: #fff; }
.hqx-hero__sub { margin: .4rem 0 0; font-size: .95rem; color: rgba(247,244,237,.72); }
.hqx-hero__sub i { font-style: normal; opacity: .35; margin: 0 .55rem; }

.hqx-avatar {
  position: relative; width: 72px; height: 72px; border-radius: 50%; flex: none;
  background: rgba(255,255,255,.08); box-shadow: 0 0 0 2px rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center; overflow: visible;
}
.hqx-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.hqx-avatar span { font-family: var(--hx-serif); font-size: 1.5rem; color: #fff; }
.hqx-avatar--lg { width: 88px; height: 88px; box-shadow: 0 0 0 2px var(--hx-line); background: var(--hx-ivory); }
.hqx-avatar--lg span { color: var(--hx-navy); }
.hqx-avatar__dot { position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 2px var(--hx-navy); }
.hqx-dot--active, .hqx-dot--honorary { background: #34d399; }
.hqx-dot--suspended { background: #fbbf24; }
.hqx-dot--inactive { background: #94a3b8; }
i[class^="hqx-dot--"] { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }

.hqx-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.hqx-badge {
  display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .6rem; border-radius: 100px;
  font-size: .72rem; font-weight: 600; background: rgba(255,255,255,.10); color: rgba(255,255,255,.92);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.hqx-badge--mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; background: rgba(255,255,255,.05); color: rgba(255,255,255,.7); letter-spacing: .02em; }
.hqx-badge--muted { background: rgba(255,255,255,.05); color: rgba(255,255,255,.6); }
.hqx-badge--system { background: rgba(240,32,48,.18); color: #fff; box-shadow: inset 0 0 0 1px rgba(240,32,48,.4); }
.hqx-badge--system .hqx-ic { width: .9em; height: .9em; }
.hqx-badge--dot { background: rgba(255,255,255,.05); }

.hqx-hero__aside { text-align: right; padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,.12); }
.hqx-hero__aside-l { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.4); margin: 0; }
.hqx-hero__aside-v { font-family: var(--hx-serif); font-size: 1.8rem; margin: .25rem 0 0; color: #fff; }
.hqx-hero__aside-o { font-size: .8rem; color: rgba(255,255,255,.5); margin: .5rem 0 0; }
.hqx-hero__aside-link { display: inline-block; margin-top: .6rem; font-size: .8rem; font-weight: 600; color: var(--hx-cyan); text-decoration: none; }
.hqx-hero__aside-link:hover { color: #fff; }

/* ---- QUICK ACTIONS ---------------------------------------------------- */
.hqx-actions {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px;
  background: var(--hx-line); border: 1px solid var(--hx-line); border-radius: var(--hx-r);
  overflow: hidden; box-shadow: var(--hx-lift);
}
.hqx-action {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem;
  padding: 1.05rem .6rem; text-align: center; background: var(--hx-paper);
  text-decoration: none; color: var(--hx-slate); border: 0; cursor: pointer;
  transition: background .2s var(--ease, ease);
}
.hqx-action:hover { background: #fbfaf7; color: var(--hx-navy); }
.hqx-action__ic { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(0,176,240,.10); color: var(--hx-cyan-ink); }
.hqx-action:hover .hqx-action__ic { background: rgba(0,176,240,.18); }
.hqx-action__l { font-size: .78rem; font-weight: 600; line-height: 1.2; }

/* ---- STAT TILES ------------------------------------------------------- */
.hqx-stats {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px;
  background: var(--hx-line); border: 1px solid var(--hx-line); border-radius: var(--hx-r);
  overflow: hidden; box-shadow: var(--hx-lift);
}
.hqx-stat { background: var(--hx-paper); padding: 1rem 1.1rem; min-width: 0; }
.hqx-stat__l { display: flex; align-items: center; gap: .4rem; font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hx-mute); margin: 0; }
.hqx-stat__l i { width: 4px; height: 4px; border-radius: 50%; background: var(--hx-cyan); flex: none; }
.hqx-stat__v { font-family: var(--hx-serif); font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.1; margin: .5rem 0 0; color: var(--hx-navy); word-break: break-word; }
.hqx-stat__v--pos  { color: var(--hx-ok); }
.hqx-stat__v--warn { color: var(--hx-red-ink); }
.hqx-stat__v--mute { color: #9aa6b4; }
.hqx-stat__s { font-size: .72rem; color: var(--hx-mute); margin: .25rem 0 0; }

/* ---- OPERATIONS (officers) ------------------------------------------- */
.hqx-ops-head { display: flex; align-items: center; gap: .9rem; margin-bottom: .8rem; }
.hqx-ops-head h2 { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--hx-mute); margin: 0; }
.hqx-ops-head span { flex: 1; height: 1px; background: var(--hx-line); }
.hqx-ops { position: relative; overflow: hidden; border-radius: var(--hx-r); background: var(--hx-navy); color: #fff; box-shadow: var(--hx-lift); }
.hqx-ops + .hqx-ops { margin-top: 1rem; }
.hqx-ops::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; }
.hqx-ops--navy::before, .hqx-ops--sky::before { background: var(--hx-cyan); }
.hqx-ops--red::before { background: var(--hx-red); }
.hqx-ops__hd { padding: 1.15rem 1.3rem .3rem 1.5rem; }
.hqx-ops__hd h3 { font-family: var(--hx-serif); font-size: 1.35rem; margin: 0; color: #fff; }
.hqx-ops__hd p { font-size: .8rem; color: rgba(255,255,255,.55); margin: .1rem 0 0; }
.hqx-ops__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: rgba(255,255,255,.10); margin: 1rem 1.1rem 1.1rem 1.5rem; border-radius: 6px; overflow: hidden; }
.hqx-ops__cell { display: flex; flex-direction: column; gap: .3rem; padding: .9rem 1rem; background: var(--hx-navy); min-height: 84px; text-decoration: none; color: inherit; transition: background .2s ease; }
a.hqx-ops__cell:hover { background: var(--hx-navy-2); }
.hqx-ops__l { font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.hqx-ops__v { font-family: var(--hx-serif); font-size: 1.6rem; line-height: 1; color: #fff; }
.hqx-ops__h { font-size: .72rem; color: rgba(255,255,255,.45); }
.hqx-ops__al { font-size: .88rem; font-weight: 600; color: #fff; }
.hqx-ops__link { margin-top: auto; display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; color: var(--hx-cyan); }
.hqx-ops__link .hqx-ic { width: .8em; height: .8em; }

/* ---- GRID ------------------------------------------------------------- */
.hqx-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: start; }
.hqx-col { min-width: 0; display: flex; flex-direction: column; gap: 1.25rem; }

/* ---- PANEL ------------------------------------------------------------ */
.hqx-panel { background: var(--hx-paper); border: 1px solid var(--hx-line); border-radius: var(--hx-r); overflow: hidden; box-shadow: var(--hx-lift); }
.hqx-panel__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.3rem 1rem; border-bottom: 1px solid rgba(225,217,203,.6); }
.hqx-panel__title { font-family: var(--hx-serif); font-size: 1.3rem; line-height: 1; margin: 0; color: var(--hx-navy); }
.hqx-panel__action { flex: none; font-size: .78rem; font-weight: 600; color: var(--hx-cyan-ink); text-decoration: none; white-space: nowrap; }
.hqx-panel__action:hover { color: var(--hx-navy); }
.hqx-panel__body { padding: 1.2rem 1.3rem; }
.hqx-sub { font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hx-mute); margin: 1.3rem 0 .6rem; }
.hqx-sub:first-child { margin-top: 0; }

/* ---- EMPTY STATE ------------------------------------------------------ */
.hqx-empty { text-align: center; padding: 1.8rem 1rem; }
.hqx-empty__t { font-size: .92rem; color: var(--hx-slate); margin: 0; }
.hqx-empty__h { font-size: .78rem; color: var(--hx-mute); margin: .4rem auto 0; max-width: 34ch; line-height: 1.5; }

/* ---- CHIPS ------------------------------------------------------------ */
.hqx-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .18rem .55rem; border-radius: 100px; font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hqx-chip--verified, .hqx-chip--paid, .hqx-chip--approved, .hqx-chip--completed, .hqx-chip--active { background: var(--hx-ok-bg); color: var(--hx-ok); }
.hqx-chip--pending, .hqx-chip--submitted, .hqx-chip--upcoming, .hqx-chip--planning, .hqx-chip--under_review, .hqx-chip--more_info_required { background: var(--hx-warn-bg); color: var(--hx-warn); }
.hqx-chip--rejected, .hqx-chip--overdue, .hqx-chip--cancelled { background: rgba(240,32,48,.09); color: var(--hx-red-ink); }
.hqx-chip--notice, .hqx-chip--ongoing { background: rgba(0,176,240,.10); color: var(--hx-cyan-ink); }
.hqx-chip--sample { background: rgba(201,169,97,.18); color: #8A6D24; }
.hqx-chip--draft, .hqx-chip--planned { background: rgba(70,88,111,.1); color: var(--hx-slate); }

/* ---- ANNOUNCEMENTS ---------------------------------------------------- */
.hqx-ann { list-style: none; margin: -1.2rem -1.3rem; padding: 0; }
.hqx-ann__i { padding: 1rem 1.3rem; border-bottom: 1px solid rgba(225,217,203,.45); }
.hqx-ann__i:last-child { border-bottom: 0; }
.hqx-ann__meta { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.hqx-ann__meta time { font-size: .72rem; color: var(--hx-mute); }
.hqx-ann__i h3 { font-size: .92rem; font-weight: 600; color: var(--hx-navy); margin: .5rem 0 .3rem; }
.hqx-ann__i p { font-size: .8rem; color: var(--hx-slate); margin: 0; line-height: 1.55; }

/* ---- CONTRIBUTIONS MINI ---------------------------------------------- */
.hqx-cmini { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--hx-line); border: 1px solid var(--hx-line); border-radius: 8px; overflow: hidden; }
.hqx-cmini > div { background: var(--hx-paper); padding: .85rem .9rem; min-width: 0; }
.hqx-cmini__l { display: block; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--hx-mute); }
.hqx-cmini__v { display: block; font-family: var(--hx-serif); font-size: 1.35rem; line-height: 1.1; color: var(--hx-navy); margin-top: .35rem; }
.hqx-cmini__v.is-warn { color: var(--hx-red-ink); }
.hqx-cmini__v.is-ok { color: var(--hx-ok); }
.hqx-cmini__v + small, .hqx-cmini small { display: block; font-size: .66rem; color: var(--hx-mute); margin-top: .3rem; }
.hqx-cmini--3 { margin-bottom: .5rem; }
.hqx-cmini--4 { grid-template-columns: repeat(4, minmax(0,1fr)); margin-bottom: .5rem; }

/* Profile change request rows */
.hqx-deflist--profile > div { position: relative; }
.hqx-profrow dd { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; }
.hqx-profrow__val { flex: 1 1 auto; }
.hqx-profrow__edit { flex: 0 0 auto; }
.hqx-profrow__req { font-size: .82rem; flex-basis: 100%; }
.hqx-changereq { padding: .8rem 0 .4rem; }
.hqx-changereq__fields { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .6rem; }
.hqx-changereq__fields .hqx-field:last-child { grid-column: 1 / -1; }
.hqx-changereq__btns { display: flex; gap: .5rem; }

/* Profile request review cards */
.hqx-toolcard--review { margin-bottom: .8rem; padding: .9rem; border: 1px solid var(--hx-line); border-radius: 8px; }
.hqx-review__head { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; margin-bottom: .5rem; }
.hqx-review__form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .5rem; margin-top: .5rem; }
.hqx-review__form .hqx-field { flex: 1 1 14rem; }
.hqx-review__btns { display: flex; gap: .4rem; flex: 0 0 auto; }
.hqx-deflist--compact { margin-bottom: .4rem; }
.hqx-deflist--compact > div { padding: .2rem 0; }

/* Badge variants */
.hqx-badge--pending { background: #f0ad4e20; color: #a0741a; font-size: .72rem; padding: .15em .5em; border-radius: 4px; }
.hqx-badge--ok { background: #27ae6020; color: #1d8348; font-size: .72rem; padding: .15em .5em; border-radius: 4px; }
.hqx-badge--err { background: #e74c3c20; color: #c0392b; font-size: .72rem; padding: .15em .5em; border-radius: 4px; }
.hqx-badge--warn { background: #f0ad4e20; color: #a0741a; font-size: .72rem; padding: .15em .5em; border-radius: 4px; }

/* Inline detail for reversal */
.hqx-inline-detail { display: inline; }
.hqx-inline-detail[open] > summary { display: none; }
.hqx-inline-detail form { display: flex; align-items: flex-end; gap: .4rem; }
.hqx-inline-detail .hqx-field { flex: 1 1 10rem; margin: 0; }

/* Ledger action column */
.hqx-ledger-actions { display: flex; gap: .3rem; flex-wrap: wrap; }

.hqx-obl { list-style: none; margin: 0; padding: 0; }
.hqx-obl li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .4rem 0; font-size: .9rem; color: var(--hx-slate); }
.hqx-obl__r { display: inline-flex; align-items: center; gap: .9rem; }
.hqx-obl__ok { display: inline-flex; align-items: center; gap: .3rem; color: var(--hx-ok); font-size: .78rem; font-weight: 600; }
.hqx-obl__ok .hqx-ic { width: .95em; height: .95em; }

.hqx-tx { list-style: none; margin: 0; padding: 0; }
.hqx-tx li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .6rem 0; border-top: 1px solid rgba(225,217,203,.4); }
.hqx-tx li:first-child { border-top: 0; }
.hqx-tx__d { min-width: 0; }
.hqx-tx__d span { display: block; font-size: .88rem; color: var(--hx-navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hqx-tx__d small { font-size: .7rem; color: var(--hx-mute); }
.hqx-tx__r { display: inline-flex; align-items: center; gap: .7rem; flex: none; }
.hqx-tx__r .hqx-num { font-size: .88rem; font-weight: 600; }
.hqx-tx__dash { color: #cbd2da; }

.hqx-rcpt { border: 0; background: none; color: var(--hx-cyan-ink); font-size: .75rem; font-weight: 600; cursor: pointer; padding: 0; white-space: nowrap; }
.hqx-rcpt:hover { color: var(--hx-navy); }

/* ---- EVENTS ----------------------------------------------------------- */
.hqx-ev { list-style: none; margin: -1.2rem -1.3rem; padding: 0; }
.hqx-ev__i { display: flex; gap: 1rem; padding: 1rem 1.3rem; border-bottom: 1px solid rgba(225,217,203,.45); }
.hqx-ev__i:last-child { border-bottom: 0; }
.hqx-ev__date { flex: none; width: 48px; text-align: center; border: 1px solid var(--hx-line); border-radius: 6px; overflow: hidden; align-self: flex-start; }
.hqx-ev__m { display: block; background: var(--hx-navy); color: #fff; font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; padding: .15rem 0; }
.hqx-ev__day { display: block; font-family: var(--hx-serif); font-size: 1.3rem; color: var(--hx-navy); padding: .2rem 0; line-height: 1; }
.hqx-ev__body { min-width: 0; flex: 1; }
.hqx-ev__top { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.hqx-ev__top h3 { font-size: .92rem; font-weight: 600; color: var(--hx-navy); margin: 0; }
.hqx-ev__meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin-top: .45rem; }
.hqx-ev__meta span { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; color: var(--hx-mute); }
.hqx-ev__link { display: inline-block; margin-top: .5rem; font-size: .76rem; font-weight: 600; color: var(--hx-cyan-ink); text-decoration: none; }
.hqx-ev__link:hover { color: var(--hx-navy); }

/* ---- ELECTIONS / rows ------------------------------------------------- */
.hqx-rows { display: flex; flex-direction: column; }
.hqx-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid rgba(225,217,203,.4); font-size: .9rem; }
.hqx-row:first-child { border-top: 0; }
.hqx-row > span:first-child { color: var(--hx-slate); }
.hqx-row__r { display: inline-flex; flex-direction: column; align-items: flex-end; gap: .25rem; }
.hqx-row__r small { font-size: .72rem; color: var(--hx-mute); }
.hqx-ok { display: inline-flex; align-items: center; gap: .4rem; color: var(--hx-ok); font-weight: 600; }
.hqx-adminrow { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .8rem; padding: .7rem .8rem; border-radius: 8px; background: rgba(11,27,51,.05); text-decoration: none; color: var(--hx-navy); font-size: .9rem; font-weight: 600; }
.hqx-adminrow:hover { background: rgba(11,27,51,.09); }
.hqx-adminrow__r { display: inline-flex; align-items: center; gap: .55rem; }
.hqx-adminrow__r .hqx-ic { width: 1em; height: 1em; color: var(--hx-mute); }
.hqx-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 .4rem; border-radius: 100px; background: var(--hx-red); color: #fff; font-size: .72rem; font-weight: 700; }

/* ---- DOCUMENTS -------------------------------------------------------- */
.hqx-docs { list-style: none; margin: 0; padding: 0; }
.hqx-docs li + li { border-top: 1px solid rgba(225,217,203,.4); }
.hqx-docs a { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; text-decoration: none; color: var(--hx-navy); }
.hqx-docs__ic { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 7px; background: rgba(0,176,240,.10); color: var(--hx-cyan-ink); flex: none; }
.hqx-docs__t { flex: 1; min-width: 0; font-size: .88rem; }
.hqx-docs__t small { display: block; font-size: .7rem; color: var(--hx-mute); }
.hqx-docs a > .hqx-ic { color: #cbd2da; }
.hqx-docs__intro { font-size: .82rem; color: var(--hx-slate); margin: 0 0 .6rem; }
.hqx-shelf { list-style: none; margin: 0; padding: 0; }
.hqx-shelf li { display: flex; align-items: center; gap: .7rem; padding: .5rem 0; border-top: 1px solid rgba(225,217,203,.4); font-size: .86rem; color: var(--hx-mute); }
.hqx-shelf li:first-child { border-top: 0; }
.hqx-shelf .hqx-ic { color: #c3cbd4; }
.hqx-shelf span { flex: 1; }
.hqx-shelf em { font-style: normal; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: #b8c0c9; }

/* ---- PROFILE / DIRECTORY / TABLES ------------------------------------ */
.hqx-prof { display: flex; align-items: center; gap: 1.2rem; padding-bottom: 1.2rem; margin-bottom: 1.2rem; border-bottom: 1px solid rgba(225,217,203,.55); }
.hqx-prof__name { font-family: var(--hx-serif); font-size: 1.35rem; margin: 0; color: var(--hx-navy); }
.hqx-prof__role { font-size: .85rem; color: var(--hx-mute); margin: .15rem 0 0; }
.hqx-prof .hqx-badges { margin-top: .6rem; }
.hqx-prof .hqx-badge { background: rgba(11,27,51,.06); color: var(--hx-navy); box-shadow: inset 0 0 0 1px rgba(11,27,51,.08); }
.hqx-prof .hqx-badge--system { background: rgba(240,32,48,.1); color: var(--hx-red-ink); box-shadow: inset 0 0 0 1px rgba(240,32,48,.2); }
.hqx-deflist { margin: 0; }
.hqx-deflist > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(225,217,203,.35); }
.hqx-deflist dt { font-size: .82rem; color: var(--hx-mute); margin: 0; }
.hqx-deflist dd { font-size: .9rem; font-weight: 500; color: var(--hx-navy); margin: 0; text-align: right; }

.hqx-dir__note { font-size: .82rem; color: var(--hx-slate); margin: 0 0 1rem; }
.hqx-dir__search { position: relative; margin-bottom: 1.2rem; }
.hqx-dir__search .hqx-ic { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--hx-mute); width: 1.05rem; height: 1.05rem; }
.hqx-dir__search input { width: 100%; padding: .7rem .9rem .7rem 2.4rem; border: 1px solid var(--hx-line); border-radius: 8px; font-size: .9rem; font-family: inherit; background: var(--hx-paper); color: var(--hx-navy); }
.hqx-dir__search input:focus { outline: 2px solid var(--hx-cyan); outline-offset: 1px; }
.hqx-dir__chips { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin: 0 0 1rem; }
.hqx-dir__chip { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--hx-line); border-radius: 999px; background: var(--hx-paper); color: var(--hx-slate); font-size: .8rem; font-family: inherit; cursor: pointer; transition: all .15s ease; }
.hqx-dir__chip:hover { color: var(--hx-navy); border-color: var(--hx-cyan); }
.hqx-dir__chip.is-on { background: var(--hx-navy); color: #fff; border-color: var(--hx-navy); }
.hqx-dir { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.hqx-dir__card { text-align: center; padding: 1.2rem 1rem; border: 1px solid var(--hx-line); border-radius: var(--hx-r); background: var(--hx-paper); transition: border-color .2s ease, box-shadow .2s ease; }
.hqx-dir__card:hover { border-color: rgba(0,176,240,.4); box-shadow: var(--hx-lift); }
.hqx-dir__card .hqx-avatar { margin: 0 auto .7rem; width: 56px; height: 56px; background: var(--hx-navy); box-shadow: 0 0 0 2px var(--hx-line); }
.hqx-dir__card .hqx-avatar span { font-size: 1.05rem; }
.hqx-dir__name { font-weight: 600; color: var(--hx-navy); font-size: .95rem; }
.hqx-dir__office { font-size: .78rem; color: var(--hx-cyan-ink); margin-top: .15rem; }
.hqx-dir__meta { font-size: .78rem; color: var(--hx-mute); margin-top: .2rem; }
.hqx-dir__meta--soft { color: #9aa6b4; }
.hqx-dir__empty { text-align: center; color: var(--hx-mute); padding: 2rem; }

.hqx-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--hx-line); border-radius: 8px; }
.hqx-table { width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 560px; }
.hqx-table thead th { text-align: left; padding: .7rem .9rem; font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hx-mute); background: #fbfaf7; border-bottom: 1px solid var(--hx-line); }
.hqx-table tbody td { padding: .75rem .9rem; border-top: 1px solid rgba(225,217,203,.45); color: var(--hx-slate); }
.hqx-table tbody tr:hover { background: rgba(0,176,240,.04); }

.hqx-feegrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin-bottom: .5rem; }
.hqx-feegrid > div { border: 1px solid var(--hx-line); border-radius: 8px; padding: 1rem; }

/* ---- BUTTON / BACK / DEMO -------------------------------------------- */
.hqx-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.3rem; font-size: .85rem; font-weight: 600; border-radius: 8px; background: var(--hx-navy); color: var(--hx-ivory); text-decoration: none; transition: background .2s ease; }
.hqx-btn:hover { background: var(--hx-navy-2); color: #fff; }
.hqx-back { margin-top: 1.25rem; }
.hqx-demo { text-align: center; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: #a9b2bd; margin-top: 1.5rem; }
.hqx-demo i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: rgba(0,176,240,.4); margin-right: .4rem; vertical-align: middle; }

/* ---- RESPONSIVE ------------------------------------------------------- */
@media (min-width: 620px) {
  .hqx-ops__grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (min-width: 900px) {
  .hqx-actions { grid-template-columns: repeat(6, minmax(0,1fr)); }
  .hqx-stats { grid-template-columns: repeat(6, minmax(0,1fr)); }
}
@media (min-width: 980px) {
  .hqx-grid { grid-template-columns: 2fr 1fr; }
}
@media (max-width: 560px) {
  .hqx-hero__aside { display: none; }
  .hqx-hero__id { gap: .9rem; }
  .hqx-avatar { width: 60px; height: 60px; }
  .hqx-cmini__v { font-size: 1.15rem; }
  .hqx-cmini--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hqx-changereq__fields { grid-template-columns: 1fr; }
  .hqx-feegrid { grid-template-columns: 1fr; }
}

/* ===================================================================== *
 *  DOCUMENT LIBRARY · OFFICER TOOLS · PROFILE EDITING (v1.2)
 * ===================================================================== */

/* ---- flash notices ---------------------------------------------------- */
.hqx-flash { border-radius: var(--hx-r); padding: .85rem 1.1rem; font-size: .9rem; margin-bottom: 1rem; border: 1px solid transparent; }
.hqx-flash--ok  { background: var(--hx-ok-bg); color: var(--hx-ok); border-color: rgba(12,122,78,.25); }
.hqx-flash--err { background: rgba(240,32,48,.08); color: var(--hx-red-ink); border-color: rgba(240,32,48,.25); }
.hqx-flash--warn{ background: var(--hx-warn-bg); color: var(--hx-warn); border-color: rgba(201,169,97,.4); }

/* ---- button variants -------------------------------------------------- */
.hqx-btn--primary { background: var(--hx-cyan-ink); color: #fff; }
.hqx-btn--primary:hover { background: var(--hx-cyan); }
.hqx-btn--danger { background: var(--hx-red-ink); color: #fff; }
.hqx-btn--danger:hover { background: var(--hx-red); }
.hqx-btn--ghost { background: transparent; color: var(--hx-navy); box-shadow: inset 0 0 0 1px var(--hx-line); }
.hqx-btn--ghost:hover { background: var(--hx-ivory); color: var(--hx-navy); }
.hqx-btn--sm { padding: .42rem .8rem; font-size: .78rem; }
.hqx-doc-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.1rem; align-items: center; }

/* ---- extra chips ------------------------------------------------------ */
.hqx-chip--warn { background: var(--hx-warn-bg); color: var(--hx-warn); }
.hqx-chip--muted { background: var(--hx-line); color: var(--hx-slate); }
.hqx-chip--archived { background: rgba(70,88,111,.12); color: var(--hx-slate); }

/* ---- category grid (library home) ------------------------------------ */
.hqx-catgrid { display: grid; grid-template-columns: 1fr; gap: .9rem; }
.hqx-catcard { position: relative; border: 1px solid var(--hx-line); border-radius: var(--hx-r); background: var(--hx-paper); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.hqx-catcard:hover { border-color: var(--hx-cyan); box-shadow: var(--hx-lift); }
.hqx-catcard__main { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto auto; gap: .1rem .9rem; padding: 1.1rem 1.2rem; text-decoration: none; color: var(--hx-navy); }
.hqx-catcard__ic { grid-row: 1 / span 4; align-self: start; width: 40px; height: 40px; border-radius: 9px; background: rgba(0,176,240,.1); color: var(--hx-cyan-ink); display: flex; align-items: center; justify-content: center; }
.hqx-catcard__ic .hqx-ic { width: 20px; height: 20px; }
.hqx-catcard__t { font-family: var(--hx-serif); font-size: 1.2rem; font-weight: 600; }
.hqx-catcard__c { font-size: .8rem; color: var(--hx-cyan-ink); font-weight: 600; }
.hqx-catcard__blurb { font-size: .85rem; color: var(--hx-mute); }
.hqx-catcard__go { grid-column: 2; display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 600; color: var(--hx-navy); margin-top: .5rem; }
.hqx-catcard__go .hqx-ic { width: 15px; height: 15px; }
.hqx-catcard__up { position: absolute; top: .8rem; right: .9rem; font-size: .75rem; font-weight: 700; color: var(--hx-cyan-ink); text-decoration: none; padding: .25rem .55rem; border-radius: 100px; background: rgba(0,176,240,.1); }
.hqx-catcard__up:hover { background: var(--hx-cyan-ink); color: #fff; }

/* ---- category list (dashboard panel) --------------------------------- */
.hqx-catlist { list-style: none; margin: 0; padding: 0; }
.hqx-catlist li { display: flex; align-items: center; gap: .5rem; border-bottom: 1px solid var(--hx-line); }
.hqx-catlist li:last-child { border-bottom: 0; }
.hqx-catlist__link { flex: 1; display: flex; align-items: center; gap: .7rem; padding: .7rem .2rem; text-decoration: none; color: var(--hx-navy); }
.hqx-catlist__ic { width: 30px; height: 30px; border-radius: 7px; background: rgba(0,176,240,.09); color: var(--hx-cyan-ink); display: flex; align-items: center; justify-content: center; flex: none; }
.hqx-catlist__ic .hqx-ic { width: 16px; height: 16px; }
.hqx-catlist__t { flex: 1; font-weight: 600; font-size: .92rem; }
.hqx-catlist__t small { display: block; font-weight: 400; font-size: .76rem; color: var(--hx-mute); }
.hqx-catlist__link .hqx-ic:last-child { width: 15px; height: 15px; color: var(--hx-mute); }
.hqx-catlist__up { font-size: .74rem; font-weight: 700; color: var(--hx-cyan-ink); text-decoration: none; white-space: nowrap; }
.hqx-catlist__up:hover { text-decoration: underline; }

/* ---- document tables -------------------------------------------------- */
.hqx-doctable__type { display: block; color: var(--hx-mute); font-size: .74rem; }
.hqx-doctable__act { display: flex; gap: .4rem; justify-content: flex-end; white-space: nowrap; }

/* ---- single document -------------------------------------------------- */
.hqx-docmeta { margin-bottom: 1rem; }
.hqx-docmeta__row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; }
.hqx-docmeta__desc { font-size: .95rem; color: var(--hx-slate); }
.hqx-deflist--doc dt { color: var(--hx-mute); font-size: .78rem; }
.hqx-versions { list-style: none; margin: 0 0 1rem; padding: 0; }
.hqx-versions li { display: flex; align-items: center; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid var(--hx-line); font-size: .85rem; }
.hqx-versions__v { font-weight: 700; color: var(--hx-cyan-ink); min-width: 44px; }
.hqx-versions__meta { flex: 1; color: var(--hx-mute); }

/* ---- tool cards (collapsible officer forms) -------------------------- */
.hqx-toolcard { border: 1px solid var(--hx-line); border-radius: var(--hx-r); background: var(--hx-paper); padding: 1rem 1.2rem; margin-top: 1rem; }
.hqx-toolcard > summary { cursor: pointer; font-weight: 600; font-family: var(--hx-serif); font-size: 1.1rem; }
.hqx-toolcard[open] > summary { margin-bottom: .8rem; }
.hqx-toolcard--danger { border-color: rgba(240,32,48,.3); }
.hqx-toolcard--approve { border-color: rgba(0,176,240,.35); background: rgba(0,176,240,.03); }

/* ---- forms ------------------------------------------------------------ */
.hqx-formgrid { display: grid; grid-template-columns: 1fr; gap: .9rem; margin-bottom: 1rem; }
.hqx-field { display: flex; flex-direction: column; gap: .35rem; }
.hqx-field > span { font-size: .8rem; font-weight: 600; color: var(--hx-slate); }
.hqx-field > span small { font-weight: 400; color: var(--hx-mute); }
.hqx-field input[type=text], .hqx-field input[type=email], .hqx-field input[type=number],
.hqx-field input[type=date], .hqx-field input[type=file], .hqx-field select, .hqx-field textarea,
.hqx-toolcard input[type=text], .hqx-toolcard input[type=email], .hqx-toolcard input[type=number],
.hqx-toolcard input[type=date], .hqx-toolcard input[type=file], .hqx-toolcard select, .hqx-toolcard textarea {
  width: 100%; padding: .6rem .75rem; border: 1px solid var(--hx-line); border-radius: 8px;
  font: inherit; font-size: .9rem; color: var(--hx-navy); background: #fff;
}
.hqx-field textarea { resize: vertical; }
.hqx-field input:focus, .hqx-field select:focus, .hqx-field textarea:focus { outline: none; border-color: var(--hx-cyan); box-shadow: 0 0 0 2px rgba(0,176,240,.15); }
.hqx-field--full { grid-column: 1 / -1; }
.hqx-form-submit { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: 1rem; }
.hqx-fileerr { color: var(--hx-red-ink); font-size: .82rem; margin: .3rem 0 0; }
.hqx-check { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--hx-slate); margin: .3rem 0; cursor: pointer; }
.hqx-check input { width: 16px; height: 16px; accent-color: var(--hx-cyan-ink); }
.hqx-privacy { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; margin-bottom: 1rem; }

/* ---- approval centre -------------------------------------------------- */
.hqx-approve-item { border: 1px solid var(--hx-line); border-radius: var(--hx-r); padding: 1rem 1.15rem; margin-bottom: .9rem; }
.hqx-approve-item--danger { border-color: rgba(240,32,48,.28); background: rgba(240,32,48,.02); }
.hqx-approve-item__hd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.hqx-approve-item__hd h4 { margin: 0; font-family: var(--hx-serif); font-size: 1.15rem; }
.hqx-approve-item__meta { font-size: .8rem; color: var(--hx-mute); margin: .3rem 0; }
.hqx-approve-item__desc { font-size: .88rem; color: var(--hx-slate); margin: .3rem 0; }
.hqx-approve-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; align-items: center; }
.hqx-approve-actions form { display: inline; }
.hqx-approve-row { margin-bottom: .6rem; }

/* ---- profile photo ---------------------------------------------------- */
.hqx-photo summary { font-size: .9rem; }
.hqx-photo__pick { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; margin: .6rem 0; }
.hqx-photo__frame { position: relative; width: 128px; height: 160px; border-radius: 10px; overflow: hidden; background: var(--hx-ivory); border: 1px solid var(--hx-line); flex: none; display: flex; align-items: center; justify-content: center; }
.hqx-photo__frame canvas { width: 100%; height: 100%; object-fit: cover; display: none; }
.hqx-photo__frame.is-set canvas { display: block; }
.hqx-photo__frame.is-set span { display: none; }
.hqx-photo__frame span { color: var(--hx-mute); font-size: .8rem; }
.hqx-photo__pick .hqx-field { flex: 1; min-width: 200px; }

/* ===================================================================== *
 *  EVENTS & MEETINGS (v1.3)
 * ===================================================================== */

/* ---- event detail banner ---------------------------------------------- */
.hqx-evdetail__banner { width: 100%; max-height: 340px; object-fit: cover; border-radius: var(--hx-r); margin-bottom: 1rem; }
.hqx-evdetail__desc { font-size: .92rem; line-height: 1.65; color: var(--hx-slate); }
.hqx-evdetail__desc p:first-child { margin-top: 0; }
.hqx-ev__banner { max-width: 220px; border-radius: 6px; margin-top: .4rem; }

/* ---- event RSVP ------------------------------------------------------- */
.hqx-evdetail__rsvp { margin-bottom: 1rem; }
.hqx-rsvp-form { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.hqx-rsvp-opt { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem; border-radius: 8px; border: 1px solid var(--hx-line); cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--hx-slate); transition: border-color .2s, background .2s; }
.hqx-rsvp-opt:hover { border-color: var(--hx-cyan); }
.hqx-rsvp-opt.is-active { border-color: var(--hx-cyan-ink); background: rgba(0,176,240,.08); color: var(--hx-cyan-ink); }
.hqx-rsvp-opt input { display: none; }

/* ---- event gallery ---------------------------------------------------- */
.hqx-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .7rem; margin-top: .5rem; }
.hqx-gallery__item { border-radius: 8px; overflow: hidden; display: block; aspect-ratio: 4/3; }
.hqx-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.hqx-gallery__item:hover img { transform: scale(1.04); }

/* ---- event banner preview (create form) ------------------------------- */
.hqx-evbanner-preview { margin-top: .5rem; max-width: 320px; border-radius: 8px; overflow: hidden; border: 1px solid var(--hx-line); }
.hqx-evbanner-preview img { width: 100%; display: block; }

/* ---- event reminders (dashboard) -------------------------------------- */
.hqx-evreminders { display: flex; flex-direction: column; gap: .5rem; }
.hqx-evreminders .hqx-flash { display: flex; align-items: center; gap: .55rem; }
.hqx-evreminders .hqx-flash a { color: inherit; font-weight: 600; text-decoration: underline; }
.hqx-evreminders .hqx-flash .hqx-ic { width: 1.1em; height: 1.1em; flex: none; }

/* ---- visibility chips ------------------------------------------------- */
.hqx-chip--public { background: rgba(0,176,240,.12); color: var(--hx-cyan-ink); }
.hqx-chip--members { background: rgba(11,27,51,.08); color: var(--hx-navy); }
.hqx-chip--executives { background: rgba(201,169,97,.2); color: var(--hx-warn); }
.hqx-chip--committee { background: rgba(70,88,111,.12); color: var(--hx-slate); }

/* ---- public events page ----------------------------------------------- */
.hqx-evpub__tabs { display: flex; gap: 0; border-bottom: 2px solid var(--hx-line); margin-bottom: 1rem; }
.hqx-evpub__tabs a { padding: .7rem 1.2rem; font-size: .88rem; font-weight: 600; color: var(--hx-mute); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color .2s, border-color .2s; }
.hqx-evpub__tabs a:hover { color: var(--hx-navy); }
.hqx-evpub__tabs a.is-active { color: var(--hx-cyan-ink); border-color: var(--hx-cyan-ink); }
.hqx-evpub__filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.2rem; }
.hqx-evpub__filters a { padding: .35rem .75rem; border-radius: 100px; font-size: .78rem; font-weight: 600; color: var(--hx-mute); background: rgba(70,88,111,.08); text-decoration: none; transition: background .2s, color .2s; }
.hqx-evpub__filters a:hover { background: rgba(0,176,240,.1); color: var(--hx-cyan-ink); }
.hqx-evpub__filters a.is-active { background: var(--hx-cyan-ink); color: #fff; }

.hqx-evpub__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.hqx-evpub__card { border: 1px solid var(--hx-line); border-radius: var(--hx-r); overflow: hidden; background: var(--hx-paper); box-shadow: var(--hx-lift); transition: border-color .2s, box-shadow .2s; }
.hqx-evpub__card:hover { border-color: var(--hx-cyan); box-shadow: 0 4px 20px rgba(11,27,51,.1); }
.hqx-evpub__img { width: 100%; height: 160px; object-fit: cover; display: block; }
.hqx-evpub__placeholder { width: 100%; height: 120px; display: flex; align-items: center; justify-content: center; background: var(--hx-ivory); color: var(--hx-mute); }
.hqx-evpub__placeholder .hqx-ic { width: 2rem; height: 2rem; }
.hqx-evpub__body { padding: 1rem 1.15rem; }
.hqx-evpub__date { display: block; font-size: .72rem; font-weight: 600; color: var(--hx-cyan-ink); text-transform: uppercase; letter-spacing: .05em; }
.hqx-evpub__title { font-family: var(--hx-serif); font-size: 1.15rem; margin: .3rem 0 .5rem; color: var(--hx-navy); }

/* ---- public single event detail --------------------------------------- */
.hqx-evpub__detail { max-width: 780px; margin-inline: auto; }
.hqx-evpub__h1 { font-family: var(--hx-serif); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: .4rem 0 1rem; color: var(--hx-navy); }

/* ===================================================================== *
 *  ANNOUNCEMENTS (v1.4)
 * ===================================================================== */

/* ---- visibility chips for announcements ------------------------------ */
.hqx-chip--specific { background: rgba(70,88,111,.12); color: var(--hx-slate); }
.hqx-chip--system { background: rgba(240,32,48,.09); color: var(--hx-red-ink); }

/* ---- announcement detail ---------------------------------------------- */
.hqx-ann__i a.hqx-link { text-decoration: none; }
.hqx-ann__i a.hqx-link:hover { text-decoration: underline; }

/* officer action bar inside the announcements panel */
.hqx-ann-officer {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.3rem;
  border-top: 1px solid rgba(225,217,203,.4);
  background: rgba(0,176,240,.04);
}

/* ---- responsive ------------------------------------------------------- */
@media (min-width: 640px) {
  .hqx-catgrid { grid-template-columns: 1fr 1fr; }
  .hqx-formgrid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .hqx-catgrid { grid-template-columns: 1fr 1fr 1fr; }
}
