/* ==========================================================
   Garissa University Student Portal
   Corporate theme lifted from the university crest: deep forest
   green + gold ring, with a green-charcoal shell (sidebar/topbar
   accents) instead of the old generic teal/navy palette.
   ========================================================== */

:root{
  --gau-green: #1f7a4d;
  --gau-green-dark: #145c39;
  --gau-gold: #c9a227;
  --gau-gold-dark: #a3811d;
  --gau-slate: #22392b;
  --gau-slate-dark: #16261b;
  --gau-bg: #f5f7f4;
  --gau-card: #ffffff;
  --gau-border: #e3e8e1;
  --gau-text: #263129;
  --gau-muted: #76826f;
  --gau-amber: #c9861f;
  --gau-red: #c0392b;
  --gau-navy: #26415e;
  --gau-navy-dark: #16283b;
  --gau-teal: #0e6e6e;
  --gau-teal-dark: #094f4f;
  --gau-plum: #6a3d7a;
  --gau-plum-dark: #4a2a56;
  --radius: 16px;
}

*{box-sizing:border-box;}

body{
  background: var(--gau-bg);
  color: var(--gau-text);
  font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size:0.94rem;
}

::-webkit-scrollbar{width:8px;height:8px;}
::-webkit-scrollbar-thumb{background:#c9d6d2;border-radius:8px;}
::-webkit-scrollbar-track{background:transparent;}

a{ text-decoration:none; }

/* ---------- Login page ---------- */
.gau-login-wrap{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background: var(--gau-bg);
  position:relative;
  overflow:hidden;
}
.gau-login-card{
  width:100%;
  max-width:460px;
  background: var(--gau-card);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(30,50,60,0.12);
  border:1px solid var(--gau-border);
  overflow:hidden;
  position:relative;
  z-index:2;
  border-top:4px solid var(--gau-slate);
}
.gau-login-card-solo{ max-width:460px; }
.gau-login-form{
  padding:44px 40px 36px;
}
@media (max-width: 480px){
  .gau-login-form{ padding:36px 24px 28px; }
}
.gau-logo-badge{
  width:72px;height:72px;border-radius:18px;background:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 16px rgba(30,50,60,0.12);
  border:1px solid var(--gau-border);
  overflow:hidden;
}
.gau-logo-badge img{ width:100%; height:100%; object-fit:contain; }

.gau-trust-strip{
  display:flex; align-items:center; justify-content:center; gap:9px;
  background: var(--gau-bg);
  border:1px solid var(--gau-border);
  border-radius:11px;
  padding:9px 12px;
}
/* Green padlock variant, used on the student sign-in page. The base
   rule's teal below is a survivor of the pre-crest palette this
   stylesheet replaced; scoping the crest green to a modifier keeps the
   change off admin/login.php, which uses the same component. */
.gau-trust-strip.secure i{ color: var(--gau-green); }

.gau-trust-strip i{
  color: rgb(0,128,128);
  background:#fff;
  border:1px solid var(--gau-border);
  width:26px;height:26px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
  font-size:0.85rem;
}

.form-control-gau{
  border-radius:12px !important;
  border:1.5px solid var(--gau-border) !important;
  padding:12px 16px 12px 44px !important;
  font-size:0.95rem;
  transition:.2s;
}
.form-control-gau:focus{
  border-color: var(--gau-green) !important;
  box-shadow: 0 0 0 4px rgba(31,122,77,0.15) !important;
}
.input-icon-wrap{ position:relative; }
.input-icon-wrap i{
  position:absolute; left:16px; top:50%; transform:translateY(-50%);
  color:var(--gau-muted);
}
.btn-gau{
  background: var(--gau-green);
  border:none;
  color:#fff;
  border-radius:12px;
  padding:12px 20px;
  font-weight:600;
  letter-spacing:.3px;
  transition:.2s;
  width:100%;
}
.btn-gau:hover{ background: var(--gau-green-dark); color:#fff; transform:translateY(-1px); }
.btn-gau:active{ transform:translateY(0); }
.btn-gau:disabled{ opacity:.7; transform:none; }

/* Login page uses a teal accent button, matching the card's teal top
   stripe, instead of the app's usual green */
.gau-login-form .btn-gau{ background: rgb(0,128,128); }
.gau-login-form .btn-gau:hover{ background: rgb(0,102,102); }
.gau-login-form .form-control-gau:focus{
  border-color: rgb(0,128,128) !important;
  box-shadow: 0 0 0 4px rgba(0,128,128,0.15) !important;
}

/* ---------- Login / forgot-password shell ----------
   Single compact card at every screen size. No heavy outer frame - just
   a teal-to-gold gradient stripe across the top (::before) so both
   accent colors show up in one deliberate place instead of boxing the
   whole card in color. Spacing throughout is deliberately tight so the
   card doesn't run long on a phone screen. */
.gau-login-wrap{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background: var(--gau-bg);
}
.gau-login-card{
  width:100%;
  max-width:400px;
  background: var(--gau-card);
  border-radius:20px;
  overflow:hidden;
  box-shadow: 0 16px 40px rgba(30,50,60,0.14);
  border:1px solid var(--gau-border);
  position:relative;
}
.gau-login-card::before{
  content:'';
  display:block;
  height:5px;
  width:100%;
  background: linear-gradient(90deg, rgb(0,128,128) 0%, rgb(0,128,128) 45%, var(--gau-gold) 100%);
}
.gau-login-form{
  padding:30px 32px 26px;
}
@media (max-width: 480px){
  .gau-login-form{ padding:26px 22px 22px; }
}
.gau-login-crest{
  width:56px; height:56px; border-radius:50%; background:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 14px rgba(30,50,60,0.12);
  border:1px solid var(--gau-border);
  padding:3px; margin:0 auto 10px;
}
.gau-login-crest img{ width:100%; height:100%; object-fit:contain; border-radius:50%; }
.gau-login-uni-name{ font-size:1.02rem; font-weight:700; color:var(--gau-slate); margin-bottom:6px; }
.gau-login-portal-badge{
  display:inline-flex; align-items:center; gap:6px;
  background: linear-gradient(90deg, rgba(0,128,128,0.12), rgba(201,162,39,0.16));
  border:1px solid rgba(0,128,128,0.25);
  padding:4px 13px; border-radius:30px;
  font-size:0.66rem; font-weight:700; letter-spacing:1.3px; text-transform:uppercase;
  color: rgb(0,128,128);
}
.gau-login-portal-badge i{ color: var(--gau-gold-dark); }
.gau-login-heading{ color:var(--gau-slate); font-weight:700; margin-bottom:14px; }

/* ---------- App shell ---------- */
.gau-shell{ display:flex; min-height:100vh; }

.gau-sidebar{
  width:264px;
  background: linear-gradient(180deg, var(--gau-slate) 0%, var(--gau-slate-dark) 100%);
  color:#dce9df;
  position:fixed; top:0; bottom:0; left:0;
  overflow-y:auto;
  z-index:40;
  transition: transform .25s ease;
}
.gau-sidebar-brand{
  display:flex; align-items:center; gap:12px;
  padding:20px 20px 16px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.gau-sidebar-brand img{ width:42px;height:42px;border-radius:10px;background:#fff;object-fit:contain;padding:3px; }
.gau-sidebar-brand .name{ font-weight:700; font-size:0.95rem; color:#fff; line-height:1.2;}
.gau-sidebar-brand .sub{ font-size:0.72rem; color:#a9c2ae; }

.gau-nav{ padding:14px 12px 80px; }
.gau-nav .nav-section-label{
  font-size:0.66rem; text-transform:uppercase; letter-spacing:.08em;
  color:#87a08c; padding:12px 12px 6px;
}
.gau-nav a{
  display:flex; align-items:center; gap:12px;
  padding:9px 14px; border-radius:10px;
  color:#cddbcf; font-size:0.87rem; font-weight:500;
  margin-bottom:2px;
  transition:.15s;
}
.gau-nav a i{ width:18px; text-align:center; color:#8fae95; font-size:0.92rem; }
.gau-nav a:hover{ background:rgba(255,255,255,0.06); color:#fff; }
.gau-nav a.active{ background: var(--gau-green); color:#fff; }
.gau-nav a.active i{ color:#fff; }
.gau-nav .badge-count{
  margin-left:auto; background:var(--gau-red); color:#fff;
  font-size:0.65rem; padding:2px 7px; border-radius:20px; font-weight:700;
}

.gau-main{
  margin-left:264px;
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
}
@media (max-width: 991px){
  .gau-sidebar{ transform:translateX(-100%); box-shadow:0 0 40px rgba(0,0,0,0.3); }
  .gau-sidebar.open{ transform:translateX(0); }
  .gau-main{ margin-left:0; }
}

.gau-topbar{
  background:#fff;
  border-bottom:1px solid var(--gau-border);
  padding:12px 24px;
  display:flex; align-items:center; gap:16px;
  position:sticky; top:0; z-index:30;
}
.gau-topbar .page-title{ font-weight:700; font-size:1.05rem; color:var(--gau-text); line-height:1.3; }
.gau-topbar .page-subtitle{ font-size:0.76rem; color:var(--gau-muted); margin-top:1px; min-height:1em; }
.gau-hamburger{
  border:none; background:var(--gau-bg); width:40px;height:40px;border-radius:10px;
  display:flex;align-items:center;justify-content:center; color:var(--gau-slate);
}
.gau-avatar{
  width:38px;height:38px;border-radius:50%;
  background: var(--gau-green); color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-weight:700; font-size:0.85rem;
  object-fit:cover;
  border:2px solid #fff; box-shadow:0 0 0 2px var(--gau-green);
}

.gau-content{ padding:18px 22px 50px; flex:1; }

/* ---------- Cards ---------- */
.gau-card{
  background: var(--gau-card);
  border-radius: var(--radius);
  border:none;
  padding:18px;
  box-shadow: 0 2px 14px rgba(30,50,60,0.07);
}
.gau-stat{
  border-radius: var(--radius);
  padding:16px 18px;
  color:#fff;
  position:relative;
  overflow:hidden;
  min-height:110px;
  height:100%;
  width:100%;
  display:flex; flex-direction:column; justify-content:flex-start; gap:8px;
}
.gau-stat i.bg-icon{ display:none; } /* replaced by .gau-stat-icon badge, kept for backward compat */
.gau-stat-icon{
  width:34px; height:34px; border-radius:10px;
  background:rgba(255,255,255,0.2);
  display:flex; align-items:center; justify-content:center;
  font-size:0.92rem; flex-shrink:0;
  position:relative; z-index:1;
}
/* Large, faded watermark icon in the corner of each stat card - the same
   glyph as the small badge, just oversized and low-opacity, purely
   decorative texture behind the real numbers. */
.gau-stat-bg-icon{
  position:absolute; right:-10px; bottom:-14px; font-size:4.6rem;
  opacity:.16; color:#fff; transform:rotate(-8deg); pointer-events:none;
  z-index:0; line-height:1;
}
.gau-stat > *:not(.gau-stat-bg-icon){ position:relative; z-index:1; }
.gau-stat.green{ background:linear-gradient(135deg,var(--gau-green),var(--gau-green-dark)); }
/* Was a green-tinted "slate" that blended into everything else on the page -
   now a distinct navy so the four stat cards read as four different colors,
   not three shades of green plus one red. */
.gau-stat.slate{ background:linear-gradient(135deg,var(--gau-navy),var(--gau-navy-dark)); }
.gau-stat.amber{ background:linear-gradient(135deg,var(--gau-gold),var(--gau-gold-dark)); }
.gau-stat.red{ background:linear-gradient(135deg,#d9776f,#a52e22); }
.gau-stat .top-row{ display:flex; align-items:center; gap:8px; }
.gau-stat .label{
  font-size:0.7rem; opacity:.9; font-weight:600; text-transform:uppercase; letter-spacing:.04em;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
/* Base size for stat values; PHP picks the right *-val-* modifier per card
   (via stat_value_class()) so a long "KES 123,456.00" figure shrinks to fit
   the same card footprint that a short "12 / 14" figure uses. */
.gau-stat .value{
  font-weight:800; margin-top:0; line-height:1.15;
  word-break:break-word; font-size:1.3rem;
}
.gau-stat .value.stat-val-lg{ font-size:1.3rem; }
.gau-stat .value.stat-val-md{ font-size:1.12rem; }
.gau-stat .value.stat-val-sm{ font-size:0.98rem; }
.gau-stat .value.stat-val-xs{ font-size:0.86rem; }
.gau-stat .foot{
  font-size:0.7rem; opacity:.85; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  margin-top:auto; padding-top:2px;
}
.gau-stat .foot:has(.gau-pay-fees-btn){ overflow:visible; white-space:normal; }
.gau-stat .foot span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* M-Pesa-mirroring pay button: their signature green, plus a gentle
   "breathing" glow so it reads as the call-to-action without being
   flashy about it. Used for both the small trigger on the Balance Due
   card and the "Pay Now" button inside the modal. */
.gau-pay-fees-btn{
  background:linear-gradient(135deg,#4caf50,#1e7e34); color:#fff; border:none; border-radius:20px;
  font-size:0.68rem; font-weight:700; padding:4px 12px; line-height:1.6;
  white-space:nowrap; flex:0 0 auto;
  box-shadow:0 0 0 0 rgba(76,175,80,.5);
  animation:gauPayPulse 2.6s ease-in-out infinite;
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  position:relative; overflow:hidden; isolation:isolate;
}
.gau-pay-fees-btn:hover{ background:linear-gradient(135deg,#57bb5b,#237b3d); color:#fff; transform:translateY(-1px); }
.gau-pay-fees-btn:active{ transform:translateY(0) scale(.97); }
.gau-pay-fees-btn:disabled{ animation:none; opacity:.7; transform:none; }
.gau-pay-fees-btn:disabled::after{ display:none; }
.gau-pay-fees-btn.gau-pay-fees-btn-lg{ padding:9px 24px; font-size:0.9rem; border-radius:24px; }

/* Exam Card trigger - same pill shape as the Pay button, but a distinct
   gold/amber tone (not the M-Pesa green, since this isn't a payment
   action) and no pulse/shine - it only ever appears once the balance is
   already cleared, so it doesn't need to compete for attention the way
   an outstanding-balance nudge does. */
.gau-examcard-btn{
  background:linear-gradient(135deg,#d4a017,#b8860b); color:#fff; border:none; border-radius:20px;
  font-size:0.68rem; font-weight:700; padding:4px 12px; line-height:1.6;
  white-space:nowrap; flex:0 0 auto;
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.gau-examcard-btn:hover{ background:linear-gradient(135deg,#e0b02a,#c9950f); color:#fff; transform:translateY(-1px); }
.gau-examcard-btn:active{ transform:translateY(0) scale(.97); }
.gau-examcard-btn:disabled{ opacity:.7; transform:none; }

/* Soft light sweep across the button, on top of the pulse - the two
   together read as "this wants a tap" without looking like a flashing
   banner ad. */
.gau-pay-fees-btn::after{
  content:''; position:absolute; top:0; left:-60%; width:35%; height:100%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform:skewX(-20deg);
  animation:gauPayShine 3.4s ease-in-out infinite;
  z-index:1;
}

@keyframes gauPayPulse{
  0%, 100% { box-shadow:0 0 0 0 rgba(76,175,80,.45); }
  50%      { box-shadow:0 0 0 8px rgba(76,175,80,0); }
}
@keyframes gauPayShine{
  0%   { left:-60%; }
  45%  { left:130%; }
  100% { left:130%; }
}

.section-heading{
  font-weight:700; font-size:0.96rem; color:var(--gau-text);
  display:flex; align-items:center; gap:8px; margin-bottom:14px;
}
/* Default green, but individual sections override with a distinct accent
   (see .section-heading.gold / .navy / .teal / .plum below) so the page
   isn't every single icon in the same green as the sidebar and banner. */
.section-heading i{ color:var(--gau-green); }
.section-heading.gold i{ color:var(--gau-gold-dark); }
.section-heading.navy i{ color:var(--gau-navy); }
.section-heading.teal i{ color:var(--gau-teal); }
.section-heading.plum i{ color:var(--gau-plum); }

.gau-card{ position:relative; }

.badge-gau{
  padding:3px 10px; border-radius:20px; font-size:0.7rem; font-weight:700;
  white-space:nowrap;
}
.badge-cleared{ background:#e4f5ea; color:#1a7a48; }
.badge-uncleared{ background:#fbeae7; color:#a52e22; }
.badge-current{ background:#e6f3fb; color:#1c7fb8; }
.badge-done{ background:#f1f0e6; color:#7a7460; }

.table-gau{ font-size:0.85rem; }
.table-gau thead th{
  font-size:0.68rem; text-transform:uppercase; letter-spacing:.05em;
  color:var(--gau-muted); border-bottom:2px solid var(--gau-border); font-weight:700;
  padding:8px 10px; white-space:nowrap;
}
.table-gau td{ font-size:0.83rem; vertical-align:middle; border-color:var(--gau-border); padding:8px 10px; }

.profile-photo{
  width:96px;height:96px;border-radius:20px;object-fit:cover;
  border:4px solid #fff; box-shadow:0 6px 18px rgba(0,0,0,0.12);
  background:linear-gradient(135deg,var(--gau-green),var(--gau-slate));
  display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:1.8rem;
}

.menu-tile{
  border-radius: var(--radius);
  background:#fff; border:none;
  box-shadow:0 1px 6px rgba(30,50,60,0.06);
  padding:20px; display:flex; align-items:center; gap:14px;
  transition:.15s;
}
.menu-tile:hover{ transform:translateY(-3px); box-shadow:0 10px 24px rgba(30,50,60,0.08); }
.menu-tile .icon-wrap{
  width:48px;height:48px;border-radius:14px;
  display:flex;align-items:center;justify-content:center; font-size:1.2rem; color:#fff;
  flex-shrink:0;
}

.toast-gau{
  position:fixed; top:20px; right:20px; z-index:9999;
  min-width:300px; max-width:380px;
}

.progress-gau{ height:8px; border-radius:20px; background:var(--gau-border); overflow:hidden; }
.progress-gau > div{ height:100%; background:var(--gau-green); }

.empty-state{ text-align:center; padding:50px 20px; color:var(--gau-muted); }
.empty-state i{ font-size:2.6rem; opacity:.35; margin-bottom:12px; display:block; }

.chip{
  display:inline-flex; align-items:center; gap:6px;
  background:var(--gau-bg); border:1px solid var(--gau-border);
  border-radius:20px; padding:5px 12px; font-size:0.78rem; font-weight:600; color:var(--gau-slate);
}

/* ---------- Plain-language tab switcher (My Units, etc.) ---------- */
.unit-switcher{
  display:flex; gap:10px; flex-wrap:wrap;
}
.unit-switcher-btn{
  flex:1 1 220px; display:flex; align-items:center; gap:12px;
  background:#fff; border:1.5px solid var(--gau-border); border-radius:14px;
  padding:14px 16px; text-align:left; transition:.15s; cursor:pointer;
}
.unit-switcher-btn i{
  width:38px; height:38px; border-radius:11px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:var(--gau-bg); color:var(--gau-muted); font-size:1rem;
}
.unit-switcher-btn .usw-text{ flex:1; min-width:0; display:flex; flex-direction:column; }
.unit-switcher-btn .usw-title{ font-weight:700; font-size:0.92rem; color:var(--gau-text); }
.unit-switcher-btn .usw-sub{ font-size:0.76rem; color:var(--gau-muted); }
.unit-switcher-btn .usw-count{
  background:var(--gau-bg); color:var(--gau-muted); font-weight:700; font-size:0.82rem;
  min-width:26px; height:26px; border-radius:8px; display:flex; align-items:center; justify-content:center;
  padding:0 6px;
}
.unit-switcher-btn:hover{ border-color:var(--gau-green); }
.unit-switcher-btn.active{ border-color:var(--gau-green); background:#f0f8f4; }
.unit-switcher-btn.active i{ background:var(--gau-green); color:#fff; }
.unit-switcher-btn.active .usw-count{ background:var(--gau-green); color:#fff; }

.btn-drop-unit{
  width:30px; height:30px; border-radius:8px; border:1px solid var(--gau-border);
  background:#fff; color:var(--gau-red); font-size:0.78rem;
  display:inline-flex; align-items:center; justify-content:center;
}
.btn-drop-unit:hover{ background:#fbeae7; border-color:#f0c9c3; }
.btn-drop-unit:disabled{ opacity:.6; }

@keyframes pulse-dot{ 0%{box-shadow:0 0 0 0 rgba(31,122,77,.5);} 70%{box-shadow:0 0 0 8px rgba(31,122,77,0);} 100%{box-shadow:0 0 0 0 rgba(31,122,77,0);} }
.live-dot{ width:8px;height:8px;border-radius:50%;background:var(--gau-green); animation:pulse-dot 2s infinite; display:inline-block; }

/* ==========================================================
   Compaction: utilize small screens fully - smaller type,
   tighter padding, tables that show complete rows without
   forcing a horizontal scroll for every column.
   ========================================================== */
@media (max-width: 767px){
  body{ font-size:0.86rem; }
  .gau-content{ padding:12px 10px 40px; }
  .gau-card{ padding:12px; border-radius:12px; }
  .section-heading{ font-size:0.87rem; margin-bottom:10px; gap:6px; }
  .gau-topbar{ padding:10px 12px; }
  .gau-topbar .page-title{ font-size:0.92rem; }

  .gau-stat{ padding:11px 12px; min-height:88px; border-radius:12px; gap:6px; }
  .gau-stat-icon{ width:26px; height:26px; border-radius:8px; font-size:0.76rem; }
  .gau-stat .label{ font-size:0.6rem; }
  .gau-stat .value{ font-size:0.98rem !important; }
  .gau-stat .value.stat-val-md{ font-size:0.9rem !important; }
  .gau-stat .value.stat-val-sm{ font-size:0.82rem !important; }
  .gau-stat .value.stat-val-xs{ font-size:0.74rem !important; }
  .gau-stat .foot{ font-size:0.6rem; }

  .table-gau{ font-size:0.74rem; }
  .table-gau thead th{ font-size:0.6rem; padding:6px 6px; }
  .table-gau td{ font-size:0.74rem; padding:6px 6px; }

  .badge-gau{ font-size:0.62rem; padding:2px 8px; }
  .chip{ font-size:0.68rem; padding:4px 9px; }
  .menu-tile{ padding:12px; gap:10px; }
  .menu-tile .icon-wrap{ width:38px; height:38px; font-size:1rem; border-radius:11px; }
  .profile-photo{ width:76px; height:76px; }
  .empty-state{ padding:32px 14px; }
  .empty-state i{ font-size:2rem; margin-bottom:8px; }
  .gau-avatar{ width:32px; height:32px; font-size:0.75rem; }
}

@media (max-width: 400px){
  .gau-stat{ min-height:74px; }
  .row.g-3 > .col-6{ padding-left:6px; padding-right:6px; }
}

/* ---------- Semester dates almanac (Academic Activities page) ---------- */
.almanac-table{ width:100%; border-collapse:separate; border-spacing:0; font-size:0.85rem; }
.almanac-table thead th{
  color:#fff; text-align:center; padding:12px 14px; font-weight:700;
  white-space:nowrap;
}
.almanac-table thead th.almanac-activity-col{
  background:var(--gau-slate); text-align:left; color:#fff;
  font-size:0.68rem; text-transform:uppercase; letter-spacing:.05em;
  border-radius:12px 0 0 0;
}
.almanac-table thead th.almanac-teal{ background:var(--gau-teal); }
.almanac-table thead th.almanac-navy{ background:var(--gau-navy); }
.almanac-table thead th.almanac-gold{ background:var(--gau-gold-dark); }
.almanac-table thead th.almanac-green{ background:var(--gau-green-dark); border-radius:0 12px 0 0; }
.almanac-col-label{ font-size:0.82rem; font-weight:700; letter-spacing:.03em; }
.almanac-col-sub{ font-size:0.68rem; opacity:.85; font-weight:500; margin-top:1px; }

.almanac-table tbody td{
  padding:12px 14px; text-align:center; vertical-align:middle;
  border-bottom:1px solid var(--gau-border);
}
.almanac-table tbody tr:last-child td{ border-bottom:none; }
.almanac-table td.almanac-activity-col{
  text-align:left; font-weight:600; font-size:0.82rem; color:var(--gau-text);
  background:var(--gau-bg);
}
.almanac-table td.almanac-teal-tint{ background:rgba(14,110,110,0.06); }
.almanac-table td.almanac-navy-tint{ background:rgba(38,65,94,0.06); }
.almanac-table td.almanac-gold-tint{ background:rgba(201,162,39,0.09); }
.almanac-table td.almanac-green-tint{ background:rgba(31,122,77,0.06); }
.almanac-date{ font-weight:700; color:var(--gau-text); }
.almanac-date sup{ font-size:0.6em; }
.almanac-note{ font-size:0.7rem; color:var(--gau-muted); margin-top:2px; }

@media (max-width: 767px){
  .almanac-table{ font-size:0.74rem; }
  .almanac-table thead th{ padding:8px 8px; }
  .almanac-col-label{ font-size:0.72rem; }
  .almanac-col-sub{ font-size:0.6rem; }
  .almanac-table tbody td{ padding:9px 8px; }
  .almanac-table td.almanac-activity-col{ font-size:0.74rem; }
  .almanac-note{ font-size:0.62rem; }
}
