/* NeWIC shared chrome — nav, footer, inner-page theme (matches Utama / Contoh 6) */
:root {
  --navy: #002060;
  --navy-mid: #0a2a4a;
  --navy-deep: #04111f;
  --blue: #0070c0;
  --blue-bright: #0070c0;
  --ink: #002060;
  --muted: #3a5470;
  --line: #cfdced;
  --paper: #e8eef6;
  --white: #ffffff;
  --accent: #c00000;
  --accent-deep: #9e0c24;
  --gold: #d4a800;
  --gold-bright: #e8c547;
  --soft: #dce6f2;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Plus Jakarta Sans", Helvetica, Arial, sans-serif;
}

body.page-newic,
body.page-light {
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 55% 45% at 0% 0%, rgba(0, 112, 192, 0.12), transparent 55%),
    radial-gradient(ellipse 45% 40% at 100% 10%, rgba(212, 168, 0, 0.1), transparent 50%),
    linear-gradient(180deg, #dce6f2 0%, #e8eef6 40%, #f2f6fb 100%);
}

/* —— Header —— */
.q-head {
  position: sticky;
  top: 0;
  z-index: 45;
  overflow: visible;
  padding: 10px 24px 12px;
  background: #002060;
  border-bottom: 3px solid #0070c0;
}
.q-head--flush { top: 0; }
.q-nav {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 200px 1fr;
  align-items: center;
  gap: 8px;
  max-width: 1180px;
  min-height: 88px;
  margin: 0 auto;
}
.q-nav-side {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.q-nav-side a,
.q-nav-drop-btn {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 104px;
  padding: 6px 4px;
  color: #fff;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.q-nav-side a:hover,
.q-nav-side a.is-current,
.q-nav-drop-btn:hover,
.q-nav-drop-btn.is-current,
.q-nav-drop.is-open .q-nav-drop-btn { color: #d4a800; }
.q-nav-side svg,
.q-nav-drop-btn svg {
  width: 24px;
  height: 24px;
  color: currentColor;
}
.q-nav-side small,
.q-nav-drop-btn small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  color: inherit;
}
.q-nav-drop {
  position: relative;
}
.q-nav-drop-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 40;
  min-width: 220px;
  padding: 12px 10px;
  border: 1px solid rgba(212, 168, 0, 0.35);
  border-radius: 14px;
  background: linear-gradient(165deg, #001a4d 0%, #002060 55%, #00308a 100%);
  box-shadow: 0 18px 40px rgba(0, 16, 48, 0.45);
  transform: translateX(-50%);
}
.q-nav-drop-panel[hidden] { display: none !important; }
.q-nav-drop-title {
  margin: 0 8px 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 168, 0, 0.28);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8c547;
}
.q-nav-drop-panel a {
  display: block;
  width: auto;
  padding: 9px 12px;
  border-radius: 8px;
  color: #eef4fb;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}
.q-nav-drop-panel a:hover,
.q-nav-drop-panel a.is-on {
  color: #002060;
  background: #e8c547;
}
.q-locale {
  position: absolute;
  top: 10px;
  right: 16px;
  z-index: 3;
  display: flex;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
}
.q-locale a { color: rgba(255, 255, 255, 0.45); text-decoration: none; }
.q-locale a.is-on { color: #d4a800; }
.q-crest {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  margin: 0 auto;
  text-decoration: none;
}
.q-crest img {
  display: block;
  width: 100%;
  height: auto;
}

/* —— Footer —— */
.q-label {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.q-foot {
  display: block;
  padding: 52px 8vw 28px;
  background: #002060;
  border-top: 3px solid #d4a800;
  font-size: 14px;
  color: #eef4fb;
  margin-top: 0;
}
.q-foot-shell {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.q-foot-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 1.35fr;
  gap: 2rem 2.5rem;
  align-items: start;
  margin: 0 0 2rem;
  padding: 0 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.q-foot .q-label {
  color: #d4a800;
  margin: 0 0 0.9rem;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.q-foot-logo {
  display: block;
  height: 48px;
  width: auto;
  margin: 0 0 0.85rem;
  object-fit: contain;
}
.q-foot-brand p {
  margin: 0;
  max-width: 26ch;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  font-size: 0.92rem;
}
.q-foot nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.q-foot nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  border: 0;
  width: fit-content;
}
.q-foot nav a:hover {
  color: #d4a800;
}
.q-foot-col--contact {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}
.q-foot-col--contact .q-label { margin-bottom: 0.15rem; }
.q-foot-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.65rem;
  align-items: start;
  margin: 0;
}
.q-foot-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 0;
  background: none;
  color: #d4a800;
}
.q-foot-ico svg { width: 16px; height: 16px; display: block; }
.q-foot-row p {
  margin: 0;
  display: grid;
  gap: 0.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
  font-weight: 500;
  font-size: 0.9rem;
}
.q-foot-row p strong {
  color: #fff;
  font-weight: 700;
}
.q-foot-row p span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
}
.q-foot-row a {
  color: #ffe08a;
  text-decoration: none;
  font-weight: 700;
  width: fit-content;
}
.q-foot-row a:hover { text-decoration: underline; }
.q-map {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
  margin: 0 0 1.5rem;
}
.q-map-frame {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #001030;
}
.q-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.q-map-btn {
  display: inline-flex;
  margin: 0;
  padding: 0.55rem 0.95rem;
  border: 1px solid #d4a800;
  color: #d4a800;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.q-map-btn:hover {
  background: #d4a800;
  color: #002060;
}
.q-copy {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 12px;
  font-weight: 600;
  color: rgba(215, 228, 242, 0.85);
  text-align: left;
}

/* —— Inner pages —— */
.page-newic .page-banner {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 2.8rem 0 2.5rem;
  margin-bottom: 0;
}
.page-newic .page-banner--center {
  text-align: center;
  padding: 3.2rem 0 2.8rem;
}
.page-newic .page-banner--center .page-banner-inner {
  max-width: 40rem;
  margin: 0 auto;
}
.page-newic .page-banner-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 50% 0%, rgba(0, 112, 192, 0.28), transparent 60%),
    linear-gradient(180deg, #001440 0%, #002060 55%, #003060 100%);
}
.page-newic .page-banner-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4a800 20%, #d4a800 80%, transparent);
}
.page-newic .page-banner-eyebrow {
  color: #e8c547 !important;
  border-bottom: 2px solid #d4a800;
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
}
.page-newic .page-banner h1 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
}
.page-newic .page-banner p {
  color: #ffffff;
  margin: 0.85rem auto 0;
  max-width: 38rem;
  line-height: 1.7;
  font-size: 1.05rem;
  font-weight: 500;
}

/* —— Maklumat peserta (corporate info pages) —— */
.info-hub {
  background: #fff;
  border-bottom: 2px solid #002060;
}
.info-hub-inner {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.1rem 0 1.2rem;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  text-align: center;
}
.info-hub-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #002060;
}
.info-hub-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}
.info-hub-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.5rem;
  padding: 0.62rem 1rem;
  border: 2px solid #002060;
  border-radius: 10px;
  background: #fff;
  color: #002060;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.info-hub-links a:hover {
  border-color: #d4a800;
  color: #002060;
  background: #fff4cc;
}
.info-hub-links a.is-current {
  background: #002060;
  border-color: #002060;
  color: #fff;
  box-shadow: inset 0 -3px 0 #d4a800;
}

.page-info .page-main {
  padding: 0;
  background: #eef2f8;
}
.page-info .inner-page.info-page {
  padding-top: 2rem;
  padding-bottom: 3rem;
}
.page-info .info-page {
  color: #12233f;
}
.info-stack {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 1.15rem;
  justify-items: stretch;
}
.info-stack--narrow {
  max-width: 460px;
}
.info-empty {
  margin: 0;
  text-align: center;
  color: #12233f;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 2rem 1rem;
  background: #fff;
  border: 2px solid #002060;
  border-radius: 14px;
}

.info-rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.info-rules li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin: 0;
  padding: 1.25rem 1.3rem;
  background: #fff;
  border: 2px solid #002060;
  border-left: 6px solid #d4a800;
  border-radius: 14px;
  box-shadow: none;
}
.info-rules-num {
  display: grid;
  place-items: center;
  min-width: 2.5rem;
  height: 2.5rem;
  background: #002060;
  color: #ffd54a;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 8px;
}
.info-rules p {
  margin: 0.15rem 0 0;
  color: #12233f;
  line-height: 1.7;
  font-size: 1.08rem;
  font-weight: 500;
}
.info-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.info-guides {
  display: grid;
  gap: 0.75rem;
}
.info-guide {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 2px solid #002060;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: none;
}
.info-guide:hover {
  border-color: #d4a800;
  background: #fffdf4;
  transform: none;
  box-shadow: none;
}
.info-guide-body strong {
  display: block;
  color: #002060;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.info-guide-body p {
  margin: 0;
  color: #12233f;
  line-height: 1.65;
  font-size: 1.02rem;
  font-weight: 500;
}
.info-guide-cta {
  color: #002060;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  background: #d4a800;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
}

.info-programme {
  display: grid;
  gap: 0.75rem;
}
.info-programme-item {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1.2rem;
  align-items: start;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 2px solid #002060;
  border-radius: 14px;
  box-shadow: none;
}
.info-programme-when {
  display: grid;
  gap: 0.25rem;
  padding-right: 1rem;
  border-right: 3px solid #d4a800;
}
.info-programme-when strong {
  color: #002060;
  font-size: 1.02rem;
  font-weight: 800;
}
.info-programme-when span {
  color: #005a9e;
  font-size: 0.92rem;
  font-weight: 800;
}
.info-programme-body h3 {
  margin: 0 0 0.4rem;
  color: #002060;
  font-size: 1.18rem;
  font-weight: 800;
}
.info-programme-body p {
  margin: 0;
  color: #12233f;
  line-height: 1.65;
  font-size: 1.02rem;
  font-weight: 500;
}

.info-faq {
  display: grid;
  gap: 0.65rem;
}
.info-faq-item {
  background: #fff;
  border: 2px solid #002060;
  border-radius: 14px;
  box-shadow: none;
  overflow: hidden;
}
.info-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.25rem;
  color: #002060;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.45;
  position: relative;
  padding-right: 2.6rem;
}
.info-faq-item summary::-webkit-details-marker { display: none; }
.info-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #d4a800;
  font-weight: 800;
  font-size: 1.25rem;
}
.info-faq-item[open] summary::after { content: "–"; }
.info-faq-item[open] summary {
  background: #002060;
  color: #fff;
}
.info-faq-item[open] summary::after { color: #ffd54a; }
.info-faq-answer {
  padding: 1.1rem 1.25rem 1.3rem;
  color: #12233f;
  line-height: 1.7;
  font-size: 1.05rem;
  font-weight: 500;
  background: #fff;
  border-top: 2px solid #002060;
}

.info-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.info-contact-card {
  background: #fff;
  border: 2px solid #002060;
  border-top: 6px solid #d4a800;
  border-radius: 14px;
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: none;
  display: grid;
  gap: 0.6rem;
  text-align: left;
}
.info-card-label {
  margin: 0 0 0.35rem;
  color: #002060;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.info-contact-card p {
  margin: 0;
  display: grid;
  gap: 0.2rem;
  color: #12233f;
  line-height: 1.5;
  font-size: 1.02rem;
  font-weight: 500;
}
.info-contact-card strong {
  color: #002060;
  font-size: 0.92rem;
  font-weight: 800;
}
.info-contact-card a {
  color: #005a9e;
  font-weight: 800;
  text-decoration: none;
  width: fit-content;
  font-size: 1.05rem;
}
.info-contact-card a:hover { text-decoration: underline; }
.info-contact-name {
  font-size: 1.12rem !important;
  font-weight: 800 !important;
  color: #002060 !important;
}
.info-contact-card .btn {
  margin-top: 0.55rem;
  justify-self: start;
}
.info-contact-map {
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid #002060;
  box-shadow: none;
}
.info-contact-map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.info-auth {
  width: 100%;
  padding: 1.55rem 1.45rem 1.6rem;
  background: #fff;
  border: 2px solid #002060;
  border-top: 6px solid #d4a800;
  border-radius: 14px;
  box-shadow: none;
  text-align: center;
}
.info-auth .form-row {
  justify-items: stretch;
  text-align: center;
}
.info-auth label {
  color: #002060;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
}
.info-auth input,
.info-auth select,
.info-auth textarea {
  border-radius: 10px;
  border: 2px solid #002060;
  color: #12233f;
  font-size: 1.02rem;
  font-weight: 500;
  text-align: center;
}
.info-auth .btn {
  width: 100%;
  background: #d4a800;
  color: #002060;
  font-weight: 800;
  border: 0;
  border-radius: 10px;
}
.info-auth .btn:hover {
  background: #0070c0;
  color: #fff;
}
.info-auth .meta {
  text-align: center;
  color: #12233f;
  font-size: 0.98rem;
  font-weight: 600;
}
.info-auth .meta a {
  color: #005a9e;
  font-weight: 800;
}

.page-info .btn,
.page-info .btn-navy,
.page-info .btn-ghost,
.page-info .btn-ghost-dark {
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
}
.page-info .footer-cta {
  text-align: center;
}
.page-info .footer-cta-inner {
  justify-content: center;
  text-align: center;
}
.page-info .footer-cta .btn,
.page-info .footer-cta .btn-ghost {
  border-radius: 10px;
}

.page-newic .content-panel,
.page-newic .auth-panel,
.page-newic .faq-item,
.page-newic .contact-card,
.page-newic .table-panel,
.page-newic .corp-date-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 18px 40px rgba(0, 32, 96, 0.1);
  backdrop-filter: blur(16px);
}

.page-newic .faq-item summary { color: #002060; font-weight: 700; }
.page-newic .faq-item[open] summary { color: #0070c0; }
.page-newic .auth-panel a,
.page-newic .content-panel a { color: #0070c0; }

.page-newic .btn,
.page-newic .btn-navy {
  background: #d4a800;
  color: #002060;
  border: none;
  font-weight: 800;
}
.page-newic .btn:hover,
.page-newic .btn-navy:hover {
  background: #0070c0;
  color: #fff;
}
.page-newic .btn-ghost,
.page-newic .btn-ghost-dark {
  background: transparent;
  color: #002060;
  border: 2px solid #002060;
}
.page-newic .btn-ghost:hover,
.page-newic .btn-ghost-dark:hover {
  background: #002060;
  color: #fff;
}

.page-newic .footer-cta {
  background:
    radial-gradient(ellipse 45% 80% at 85% 30%, rgba(212, 168, 0, 0.18), transparent 55%),
    linear-gradient(120deg, #001440, #002060 60%, #003a7a);
  border-bottom: 3px solid #d4a800;
}
.page-newic .footer-cta .btn:not(.btn-ghost) {
  background: #d4a800;
  color: #002060;
}
.page-newic .footer-cta .btn-ghost {
  background: transparent;
  border: 2px solid #d4a800;
  color: #fff;
}
.page-newic .footer-cta .btn-ghost:hover {
  background: #d4a800;
  color: #002060;
}

.page-newic .corp-table thead th {
  background: #002060;
}
.page-newic .guide-card,
.page-newic .programme-item {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(0, 32, 96, 0.12);
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(0, 32, 96, 0.08);
}
.page-newic .guide-card:hover,
.page-newic .programme-item:hover {
  border-color: #d4a800;
  box-shadow: 0 18px 40px rgba(0, 32, 96, 0.12);
}
.page-newic .guide-card strong,
.page-newic .programme-body strong,
.page-newic .programme-when strong {
  color: #002060;
}
.page-newic .form-row input,
.page-newic .form-row select,
.page-newic .form-row textarea {
  border: 1px solid rgba(0, 32, 96, 0.22);
  border-radius: 10px;
}
.page-newic .form-row input:focus,
.page-newic .form-row select:focus,
.page-newic .form-row textarea:focus {
  outline: 2px solid #d4a800;
  border-color: #d4a800;
}

.page-newic .page-main {
  min-height: 40vh;
  padding-bottom: 2.5rem;
}

.q-faq-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}
.q-faq-more a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  background: #002060;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid #d4a800;
}
.q-faq-more a:hover {
  background: #d4a800;
  color: #002060;
}

/* —— Gallery (NeWIC premium) —— */
.gallery-arena--newic {
  position: relative;
  margin: 0;
  padding: clamp(1.6rem, 4vw, 2.8rem) 0 clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 48% 42% at 8% 12%, rgba(0, 112, 192, 0.28), transparent 58%),
    radial-gradient(ellipse 42% 38% at 92% 78%, rgba(212, 168, 0, 0.2), transparent 55%),
    linear-gradient(180deg, #001440 0%, #002060 42%, #0a2a4a 100%);
  color: #fff;
}
.gallery-arena--newic .gallery-aura {
  background:
    conic-gradient(from 200deg at 50% 50%,
      rgba(0, 112, 192, 0.14), transparent 28%,
      rgba(212, 168, 0, 0.12), transparent 58%,
      rgba(0, 112, 192, 0.1), transparent);
  opacity: 0.85;
}
.gallery-grid-glow {
  position: absolute;
  inset: 8% 6% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 0, 0.55), transparent);
  pointer-events: none;
  z-index: 1;
}
.gallery-arena--newic .gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(160px, 17vw);
  gap: 1rem;
  margin-top: 0.4rem;
  position: relative;
  z-index: 2;
}
.gallery-arena--newic .gallery-tile {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #001030;
  grid-column: span 4;
  grid-row: span 2;
  isolation: isolate;
  box-shadow:
    0 20px 44px rgba(0, 16, 48, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.5s ease;
}
.gallery-arena--newic .gallery-tile--hero {
  grid-column: span 8;
  grid-row: span 3;
}
.gallery-arena--newic .gallery-tile--wide {
  grid-column: span 8;
  grid-row: span 2;
}
.gallery-arena--newic .gallery-tile--tall {
  grid-column: span 4;
  grid-row: span 3;
}
.gallery-arena--newic .gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
  filter: saturate(1.05) contrast(1.04);
  will-change: transform;
}
.gallery-tile-frame {
  position: absolute;
  inset: 10px;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery-tile-frame i {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #d4a800;
  border-style: solid;
}
.gallery-tile-frame i:nth-child(1) { top: 0; left: 0; border-width: 2px 0 0 2px; }
.gallery-tile-frame i:nth-child(2) { top: 0; right: 0; border-width: 2px 2px 0 0; }
.gallery-tile-frame i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.gallery-tile-frame i:nth-child(4) { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.gallery-tile-index {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  padding: 0.28rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #002060;
  background: #d4a800;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}
.gallery-arena--newic .gallery-tile-shade {
  background:
    linear-gradient(180deg, rgba(0, 20, 64, 0.05) 20%, rgba(0, 20, 64, 0.55) 68%, rgba(0, 16, 48, 0.92) 100%);
}
.gallery-tile-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.22) 0%, transparent 38%, transparent 62%, rgba(212, 168, 0, 0.12) 100%);
  opacity: 0.55;
  mix-blend-mode: soft-light;
  transition: opacity 0.4s ease;
}
.gallery-arena--newic .gallery-tile-meta {
  left: 1rem;
  right: 4.2rem;
  bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(0, 32, 96, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px) saturate(1.35);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
  transform: translateY(10px);
  opacity: 0.92;
}
.gallery-arena--newic .gallery-tile-meta strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
.gallery-arena--newic .gallery-tile-meta em {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.45;
}
.gallery-tile-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 32, 96, 0.55);
  border: 1px solid rgba(212, 168, 0, 0.65);
  color: #d4a800;
  transform: scale(0.86) translateY(8px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.35s ease, background 0.3s ease;
}
.gallery-tile-zoom svg { width: 18px; height: 18px; display: block; }

.gallery-arena--newic .gallery-tile:hover,
.gallery-arena--newic .gallery-tile:focus-visible {
  transform: translateY(-6px) scale(1.012);
  border-color: rgba(212, 168, 0, 0.7);
  box-shadow:
    0 28px 56px rgba(0, 16, 48, 0.55),
    0 0 0 1px rgba(212, 168, 0, 0.28),
    0 0 40px rgba(0, 112, 192, 0.18);
  outline: none;
}
.gallery-arena--newic .gallery-tile:hover img,
.gallery-arena--newic .gallery-tile:focus-visible img {
  transform: scale(1.14);
  filter: saturate(1.12) contrast(1.06);
}
.gallery-arena--newic .gallery-tile:hover .gallery-tile-frame,
.gallery-arena--newic .gallery-tile:focus-visible .gallery-tile-frame,
.gallery-arena--newic .gallery-tile:hover .gallery-tile-zoom,
.gallery-arena--newic .gallery-tile:focus-visible .gallery-tile-zoom {
  opacity: 1;
}
.gallery-arena--newic .gallery-tile:hover .gallery-tile-zoom,
.gallery-arena--newic .gallery-tile:focus-visible .gallery-tile-zoom {
  transform: scale(1) translateY(0);
  background: #d4a800;
  color: #002060;
  border-color: #d4a800;
}
.gallery-arena--newic .gallery-tile:hover .gallery-tile-meta,
.gallery-arena--newic .gallery-tile:focus-visible .gallery-tile-meta {
  transform: translateY(0);
  opacity: 1;
  border-color: rgba(212, 168, 0, 0.45);
}
.gallery-arena--newic .gallery-tile:hover .gallery-tile-shine,
.gallery-arena--newic .gallery-tile:focus-visible .gallery-tile-shine {
  opacity: 0.9;
}

.gallery-arena--newic .gallery-lightbox {
  background: rgba(0, 16, 48, 0.9);
}
.gallery-arena--newic .gallery-lightbox-figure img {
  border: 1px solid rgba(212, 168, 0, 0.45);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.gallery-arena--newic .gallery-lightbox-close,
.gallery-arena--newic .gallery-lightbox-nav {
  border-color: rgba(212, 168, 0, 0.5);
  background: rgba(0, 32, 96, 0.65);
}
.gallery-arena--newic .gallery-lightbox-close:hover,
.gallery-arena--newic .gallery-lightbox-nav:hover {
  background: #d4a800;
  color: #002060;
  border-color: #d4a800;
}
.gallery-empty {
  margin: 3rem auto;
  max-width: 28rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}
.page-gallery .page-banner {
  margin-bottom: 0;
}
.page-gallery .footer-cta {
  margin-top: 0;
}

@media (max-width: 900px) {
  .q-head { top: 0; padding: 6px 6px 8px; }
  .q-head--flush { top: 0; }
  .q-nav { grid-template-columns: 1fr; min-height: 0; }
  .q-nav-side { flex-wrap: nowrap; justify-content: space-around; gap: 0; }
  .q-nav-side a,
  .q-nav-drop-btn { width: 52px; padding: 4px 0; gap: 3px; }
  .q-nav-side svg,
  .q-nav-drop-btn svg { width: 18px; height: 18px; }
  .q-nav-side small,
  .q-nav-drop-btn small { font-size: 8px; letter-spacing: 0.02em; }
  .q-nav-drop {
    position: static;
  }
  .q-nav-drop-panel {
    left: 8px;
    right: 8px;
    top: calc(100% + 6px);
    min-width: 0;
    width: auto;
    transform: none;
  }
  .q-crest { width: 118px; margin: 0 auto 4px; order: -1; }

  .q-foot-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.5rem;
  }
  .q-foot-brand { grid-column: 1 / -1; }
  .q-foot-col--contact { grid-column: 1 / -1; }
  .info-programme-item { grid-template-columns: 1fr; gap: 0.7rem; }
  .info-programme-when {
    border-right: 0;
    border-bottom: 2px solid #d4a800;
    padding-right: 0;
    padding-bottom: 0.65rem;
  }
  .info-contact { grid-template-columns: 1fr; }
  .info-guide { grid-template-columns: 1fr; gap: 0.7rem; }

  .gallery-arena--newic .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(150px, 42vw);
    gap: 0.75rem;
  }
  .gallery-arena--newic .gallery-tile,
  .gallery-arena--newic .gallery-tile--hero,
  .gallery-arena--newic .gallery-tile--wide,
  .gallery-arena--newic .gallery-tile--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-arena--newic .gallery-tile--hero {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-tile-meta { right: 1rem; }
  .gallery-tile-zoom { display: none; }
}

@media (max-width: 560px) {
  .q-foot-inner { grid-template-columns: 1fr; }
  .q-foot-brand,
  .q-foot-col--contact { grid-column: auto; }
  .gallery-arena--newic .gallery-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(210px, 58vw);
  }
  .gallery-arena--newic .gallery-tile--hero {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* —— Participant portal —— */
.page-portal {
  --portal-bottom-nav-h: 0px;
}

.page-portal .page-main { padding: 0; }
.page-portal .footer-cta { display: none; }
.portal {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  min-height: 70vh;
  background: #f4f7fb;
}
.portal-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem 0.95rem 1.2rem;
  background: #001a4d;
  color: #eef4fb;
  border-right: 3px solid #d4a800;
}
.portal-id {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.85rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 197, 71, 0.28);
}
.portal-id-mark {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #d4a800;
  color: #001a4d;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.portal-id-copy {
  min-width: 0;
}
.portal-id p,
.portal-contact p,
.portal-nav-label {
  margin: 0 0 0.28rem;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8c547;
}
.portal-id strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: #fff;
  line-height: 1.2;
  word-break: break-word;
}
.portal-id small {
  display: block;
  margin-top: 0.2rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.8rem;
  line-height: 1.3;
}
.portal-nav {
  display: grid;
  gap: 0.35rem;
}
.portal-nav-label {
  margin: 0.15rem 0.2rem 0.2rem;
}
.portal-nav a {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 0.8rem;
  border-radius: 12px;
  color: #eef4fb;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  border: 1px solid transparent;
  position: relative;
}
.portal-nav a svg {
  width: 1.2rem;
  height: 1.2rem;
}
.portal-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.portal-nav a.is-on {
  background: rgba(232, 197, 71, 0.16);
  border-color: rgba(212, 168, 0, 0.5);
  color: #e8c547;
}
.portal-nav a.is-on::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #d4a800;
}
.portal-contact {
  margin-top: auto;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: grid;
  gap: 0.18rem;
}
.portal-contact a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.portal-contact strong {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.portal-contact span {
  color: rgba(255,255,255,0.72);
  font-size: 12px;
}
.portal-contact a:hover { color: #e8c547; }
.portal-contact-wa {
  margin-top: 0.2rem;
  width: fit-content;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.18);
  color: #86efac !important;
  font-size: 11px !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.portal-logout button {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.portal-logout button:hover {
  border-color: #d4a800;
  color: #e8c547;
}
.back-row {
  margin: 0.35rem 0 0.15rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #002060;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  padding: 0.25rem 0;
}
.back-link:hover {
  color: #0070c0;
}
.portal-main {
  padding: 1.6rem 1.8rem 2.4rem;
  display: grid;
  gap: 1.15rem;
  align-content: start;
}
.portal-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.portal-head h1 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.7rem;
  color: #002060;
}
.portal-head p { margin: 0; color: #4a6078; }
.portal-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0070c0;
}
.portal-head-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.portal-card {
  background: #fff;
  border: 1px solid rgba(0,32,96,0.1);
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 10px 24px rgba(0, 32, 96, 0.05);
}
.portal-card h2 {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  color: #002060;
}
.portal-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.portal-card-head h2 { margin: 0; }
.portal-card-head a {
  font-size: 13px;
  font-weight: 700;
  color: #0070c0;
  text-decoration: none;
}
.portal-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.8rem;
}
.portal-status-item {
  padding: 0.85rem;
  border: 1px solid rgba(0,32,96,0.1);
  border-radius: 12px;
  background: #f8fbff;
  display: grid;
  gap: 0.3rem;
}
.portal-status-item strong { color: #002060; }
.portal-status-item p { margin: 0; font-size: 13px; }
.portal-status-item small { color: #5a7088; }

.portal-project-cards {
  display: none;
}
.portal-project-card {
  border: 1px solid rgba(0, 32, 96, 0.12);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  background: #f8fbff;
  display: grid;
  gap: 0.55rem;
}
.portal-project-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}
.portal-project-card-head strong {
  color: #002060;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.portal-project-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #002060;
}
.portal-project-card-meta {
  margin: 0;
  color: #5a7088;
  font-size: 0.88rem;
}
.portal-project-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 0.35rem;
}
.portal-project-card-actions .btn,
.portal-project-card-actions .btn-ghost-dark {
  flex: 1 1 auto;
  min-height: 44px;
  justify-content: center;
  text-align: center;
}

.portal-pager {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0, 32, 96, 0.1);
}
.portal-pager-meta {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #5a7088;
}
.portal-pager-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.portal-pager-btn,
.portal-pager-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  padding: 0.35rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 32, 96, 0.16);
  background: #fff;
  color: #002060;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}
.portal-pager-btn.is-on,
.portal-pager-num.is-on {
  background: #002060;
  border-color: #002060;
  color: #fff;
}
.portal-pager-btn.is-off {
  opacity: 0.4;
  cursor: not-allowed;
}
.portal-pager-gap {
  color: #5a7088;
  padding: 0 0.15rem;
}

.tag--draf { background: #eef2f7; color: #334155; }
.tag--dihantar { background: #fff4d6; color: #8a6d00; }
.tag--diluluskan, .tag--hadir, .tag--selesai { background: #e4f6ea; color: #166534; }
.tag--ditolak, .tag--tidak_hadir { background: #fde8e8; color: #b42318; }
.tag--diproses { background: #e8f1ff; color: #1d4ed8; }
.btn-text {
  background: none;
  border: 0;
  color: #b42318;
  font-weight: 700;
  cursor: pointer;
  font-size: 12px;
}

.dossier {
  display: grid;
  border: 1px solid rgba(0, 32, 96, 0.1);
  border-radius: 12px;
  overflow: hidden;
}
.dossier-row {
  display: grid;
  grid-template-columns: 11.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.82rem 1.05rem;
  border-bottom: 1px solid rgba(0, 32, 96, 0.08);
  align-items: start;
  background: #fff;
}
.dossier-row:nth-child(odd) { background: #f7f9fc; }
.dossier-row:last-child { border-bottom: 0; }
.dossier-row dt {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a7088;
  padding-top: 0.12rem;
}
.dossier-row dd {
  margin: 0;
  color: #002060;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.45;
}
.dossier-abstract {
  margin-top: 1rem;
  padding: 0.95rem 1.1rem;
  border-left: 3px solid #d4a800;
  background: #f8fbff;
  border-radius: 0 12px 12px 0;
}
.dossier-abstract h3 {
  margin: 0 0 0.4rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0070c0;
}
.dossier-abstract p {
  margin: 0;
  color: #24364a;
  line-height: 1.65;
  white-space: pre-wrap;
}

.roster-group + .roster-group {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(0, 32, 96, 0.1);
}
.roster-group h3 {
  margin: 0 0 0.7rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0070c0;
}
.roster-list {
  display: grid;
  gap: 0.65rem;
}
.roster-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(0, 32, 96, 0.1);
  border-radius: 12px;
  background: #f8fbff;
}
.roster-item--mentor {
  background: #fffaf0;
  border-color: rgba(212, 168, 0, 0.38);
}
.roster-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #002060;
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.roster-item--mentor .roster-avatar {
  background: #d4a800;
  color: #002060;
}
.roster-name {
  margin: 0;
  font-size: 1.02rem;
  color: #002060;
  font-weight: 700;
}
.roster-meta {
  margin: 0.28rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.7rem;
  color: #4a6078;
  font-size: 0.84rem;
}
.roster-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #e8f1ff;
  color: #002060;
}
.roster-badge--leader {
  background: #002060;
  color: #fff;
}
.roster-badge--mentor {
  background: #d4a800;
  color: #002060;
}
.roster-contacts {
  display: grid;
  gap: 0.18rem;
  text-align: right;
  font-size: 0.84rem;
  color: #4a6078;
  line-height: 1.4;
}
.roster-empty {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px dashed rgba(0, 32, 96, 0.22);
  border-radius: 12px;
  color: #5a7088;
  font-size: 0.9rem;
  background: #fbfcfe;
}

.portal-bottom-nav {
  display: none;
}

@media (max-width: 900px) {
  .page-portal {
    --portal-bottom-nav-h: 3.75rem;
  }

  .page-portal .back-row {
    display: none;
  }

  .page-portal .portal-side {
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.85rem;
    border-bottom: 2px solid #d4a800;
  }

  .page-portal .portal-id {
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
  }

  .page-portal .portal-id p,
  .page-portal .portal-id-mark,
  .page-portal .portal-nav-label {
    display: none;
  }

  .page-portal .portal-id strong {
    font-size: 0.95rem;
  }

  .page-portal .portal-id small {
    display: none;
  }

  .portal { grid-template-columns: 1fr; }
  .portal-side {
    border-right: 0;
    border-bottom: 3px solid #d4a800;
  }
  .portal-main {
    padding: 0.85rem 0.85rem calc(var(--portal-bottom-nav-h) + env(safe-area-inset-bottom, 0px) + 0.35rem);
    min-width: 0;
    overflow-x: clip;
  }
  .portal-head {
    flex-direction: column;
    align-items: stretch;
  }
  .portal-head .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .page-portal .portal-head .btn-ghost-dark {
    display: none;
  }
  .portal-status-grid {
    grid-template-columns: 1fr;
  }
  .portal-project-cards {
    display: grid;
    gap: 0.75rem;
  }
  .portal-project-table {
    display: none;
  }
  .dossier-row {
    grid-template-columns: 1fr;
    gap: 0.22rem;
  }
  .roster-item {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .roster-contacts {
    grid-column: 2;
    text-align: left;
  }

  .page-portal .q-foot {
    display: none;
  }

  .portal-side .portal-nav,
  .portal-side .portal-contact {
    display: none;
  }

  .page-portal .portal-id {
    flex: 1;
    min-width: 0;
  }

  .page-portal .portal-logout {
    flex-shrink: 0;
  }

  .page-portal .portal-logout button {
    width: auto;
    min-height: 36px;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
  }

  .portal-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    background: #002060;
    border-top: 3px solid #d4a800;
    padding: 0.35rem 0 calc(0.35rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 24px rgba(0, 32, 96, 0.18);
  }

  .portal-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-height: 52px;
    padding: 0.25rem 0.15rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.68rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
  }

  .portal-bottom-nav a svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .portal-bottom-nav a.is-on,
  .portal-bottom-nav a:hover {
    color: #e8c547;
  }
}
