/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --color-bg:           #f5f2ed;
  --color-bg-alt:       #edeae4;
  --color-surface:      #ffffff;
  --color-border:       #e2ddd7;
  --color-text:         #1a1a1a;
  --color-text-muted:   #6b6459;
  --color-text-faint:   #9b9189;
  --color-accent:       #4a5c3a;
  --color-accent-light: #5e7349;
  --color-accent-dark:  #3a4a2c;
  --color-chrome:       #2e3d28;
  --color-chrome-light: rgba(255,255,255,.08);
  --color-dark-card:    #1e1e1e;
  --color-dark-card-text: #ffffff;

  --color-urgent:       #c0392b;
  --color-urgent-bg:    #e74c3c;
  --color-warning:      #e67e22;
  --color-warning-bg:   #f39c12;
  --color-info:         #2980b9;
  --color-info-bg:      #3498db;

  --color-success:      #27ae60;
  --color-error:        #e74c3c;

  --font-sans:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl:1.5rem;
  --font-size-3xl:2rem;
  --font-size-4xl:2.5rem;

  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.12);

  --header-height: 64px;
  --container-max: 1100px;
  --sidebar-width: 340px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-md);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  margin: 0;
  padding-top: var(--header-height);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-md);
  line-height: 1.2;
  font-weight: 700;
}

p { margin: 0 0 var(--space-md); }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0; padding: 0; list-style: none; }

/* ============================================================
   Layout Utilities
   ============================================================ */
.poa-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.poa-main {
  padding-top: 0;
  padding-bottom: var(--space-2xl);
}

.poa-content-layout {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--space-2xl);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  align-items: start;
}

/* ============================================================
   Header
   ============================================================ */
.poa-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--color-chrome);
  border-bottom: none;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.admin-bar .poa-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .poa-header { top: 46px; }
}

.poa-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  height: 100%;
}

.poa-header__logo {
  flex-shrink: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.poa-header__logo img { height: 44px; width: auto; }

.poa-header__logo-text {
  font-weight: 700;
  font-size: var(--font-size-sm);
  color: #fff;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}

.poa-header__logo-text small {
  font-weight: 400;
  color: rgba(255,255,255,.6);
  font-size: var(--font-size-xs);
  letter-spacing: .08em;
}

.poa-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.poa-header__search-btn {
  background: none;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: rgba(255,255,255,.7);
}

.poa-header__search-btn:hover { border-color: rgba(255,255,255,.6); color: #fff; }

.poa-header__search-bar {
  background: var(--color-chrome);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: var(--space-sm) 0;
}

.poa-header__search-bar[hidden] { display: none; }

.poa-header__avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  font-weight: 700;
  overflow: hidden;
  text-decoration: none;
  flex-shrink: 0;
}

.poa-header__avatar img { width: 100%; height: 100%; object-fit: cover; }

.poa-header__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.poa-header__mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,.8);
  transition: .2s;
}

/* ============================================================
   Navigation
   ============================================================ */
.poa-nav { flex: 1; overflow: hidden; }

.poa-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: nowrap;
}

.poa-nav__list li a {
  display: inline-block;
  padding: 6px 10px;
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,.75);
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s, background .15s;
}

.poa-nav__list li a:hover { color: #fff; background: var(--color-chrome-light); }
.poa-nav__list li.current-menu-item a {
  color: #fff;
  font-weight: 600;
  border-bottom: 2px solid #fff;
  border-radius: 0;
}

/* ============================================================
   Emergency Banner
   ============================================================ */
.poa-banner {
  position: relative;
  display: flex;
  align-items: center;
  padding: 14px 0;
  color: #fff;
  font-size: var(--font-size-sm);
}

.poa-banner--urgent  { background: var(--color-urgent-bg); }
.poa-banner--warning { background: var(--color-warning-bg); color: #1a1a1a; }
.poa-banner--info    { background: var(--color-info-bg); }

.poa-banner__inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex: 1;
}

.poa-banner__badge {
  background: rgba(0,0,0,.25);
  border-radius: var(--radius-full);
  padding: 2px 10px;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
  flex-shrink: 0;
}

.poa-banner--warning .poa-banner__badge { background: rgba(0,0,0,.15); }

.poa-banner__message { margin: 0; flex: 1; }

.poa-banner__link {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}

.poa-banner__dismiss {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  padding: var(--space-sm) var(--space-md);
  opacity: .7;
  flex-shrink: 0;
}

.poa-banner__dismiss:hover { opacity: 1; }

/* ============================================================
   Hero
   ============================================================ */
.poa-hero {
  position: relative;
  min-height: 340px;
  background: var(--color-accent-dark) center/cover no-repeat;
  display: flex;
  align-items: flex-end;
}

.poa-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.1) 100%);
}

.poa-hero__content {
  position: relative;
  z-index: 1;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-xl);
  color: #fff;
}

.poa-hero__meta {
  font-size: var(--font-size-xs);
  letter-spacing: .1em;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  margin-bottom: var(--space-sm);
}

.poa-hero__title {
  font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-4xl));
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.poa-hero__subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255,255,255,.85);
  margin: 0;
}

.poa-hero__cta {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* ============================================================
   Dashboard Cards
   ============================================================ */
.poa-dashboard-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: -1px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.poa-card {
  background: var(--color-surface);
  padding: var(--space-lg) var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  min-height: 110px;
}

.poa-card--event { background: var(--color-accent); color: #fff; }
.poa-card--inbox { background: var(--color-dark-card); color: var(--color-dark-card-text); }

.poa-card__label {
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: .1em;
  opacity: .7;
  text-transform: uppercase;
}

.poa-card__title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  line-height: 1.1;
}

.poa-card__meta {
  font-size: var(--font-size-sm);
  opacity: .75;
}

.poa-card__status {
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.poa-card__link {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  margin-top: auto;
}

.poa-card--event .poa-card__link { color: rgba(255,255,255,.85); }
.poa-card--inbox .poa-card__link { color: rgba(255,255,255,.85); }
.poa-card__link:hover { text-decoration: underline; }

/* ============================================================
   News Feed
   ============================================================ */
.poa-news { }

.poa-news__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.poa-news__title {
  font-size: var(--font-size-xl);
  margin: 0;
}

.poa-filter-tabs {
  display: flex;
  gap: var(--space-sm);
}

.poa-filter-tab {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: all .15s;
}

.poa-filter-tab:hover { color: var(--color-text); border-color: var(--color-text); text-decoration: none; }

.poa-filter-tab.is-active {
  background: var(--color-text);
  color: #fff;
  border-color: var(--color-text);
}

.poa-news__footer {
  display: flex;
  justify-content: center;
  padding: var(--space-xl) 0;
}

.poa-news__empty {
  color: var(--color-text-muted);
  text-align: center;
  padding: var(--space-xl);
}

/* ============================================================
   Post Card
   ============================================================ */
.poa-post-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.poa-post-card__badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.poa-post-card__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

.poa-post-card__title a { color: var(--color-text); text-decoration: none; }
.poa-post-card__title a:hover { color: var(--color-accent); }

.poa-post-card__excerpt {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-sm);
  /* Visual placeholder lines from mockup */
  position: relative;
}

.poa-post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-sm);
  margin-top: var(--space-sm);
}

.poa-post-card__meta {
  font-size: var(--font-size-xs);
  color: var(--color-text-faint);
  letter-spacing: .04em;
}

.poa-post-card__read-more {
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--color-accent);
  text-decoration: none;
}

.poa-post-card__read-more:hover { text-decoration: underline; }

/* ============================================================
   Sidebar & Widgets
   ============================================================ */
.poa-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.poa-widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.poa-widget__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.poa-widget__empty,
.poa-widget__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.poa-widget__all-link {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-accent);
  margin-top: var(--space-md);
  text-decoration: none;
}

.poa-widget__all-link:hover { text-decoration: underline; }

/* Upcoming Events */
.poa-events-list { display: flex; flex-direction: column; gap: var(--space-md); }

.poa-events-list__item { display: flex; align-items: flex-start; gap: var(--space-md); }

.poa-events-list__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: 4px 6px;
  flex-shrink: 0;
}

.poa-events-list__month {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--color-accent);
  text-transform: uppercase;
}

.poa-events-list__day {
  font-size: var(--font-size-xl);
  font-weight: 800;
  line-height: 1;
}

.poa-events-list__name {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  margin-bottom: 2px;
}

.poa-events-list__name:hover { color: var(--color-accent); }

.poa-events-list__meta {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* Quick Links */
.poa-quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.poa-quick-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: background .15s, border-color .15s;
}

.poa-quick-link:hover { background: var(--color-border); border-color: var(--color-text-faint); text-decoration: none; }
.poa-quick-link svg { flex-shrink: 0; color: var(--color-accent); }

/* Facebook Feed */
.poa-fb-posts { display: flex; flex-direction: column; gap: var(--space-md); }

.poa-fb-posts__item { border-bottom: 1px solid var(--color-border); padding-bottom: var(--space-md); }
.poa-fb-posts__item:last-child { border-bottom: none; padding-bottom: 0; }

.poa-fb-posts__text {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-xs);
}

.poa-fb-posts__meta {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* ============================================================
   Buttons
   ============================================================ */
.poa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all .15s;
  line-height: 1;
}

.poa-btn--primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.poa-btn--primary:hover { background: var(--color-accent-light); border-color: var(--color-accent-light); text-decoration: none; color: #fff; }

.poa-btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.poa-btn--outline:hover { border-color: var(--color-text); text-decoration: none; }

.poa-btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.poa-btn--outline-light:hover { border-color: #fff; text-decoration: none; color: #fff; }

.poa-btn--dark {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}
.poa-btn--dark:hover { background: #333; text-decoration: none; color: #fff; }

.poa-btn--sm { padding: 6px 14px; font-size: var(--font-size-xs); }

/* ============================================================
   Forms
   ============================================================ */
.poa-form { display: flex; flex-direction: column; gap: var(--space-md); max-width: 600px; }

.poa-form-group { display: flex; flex-direction: column; gap: var(--space-xs); }

.poa-form-group label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
}

.poa-input {
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-md);
  font-family: var(--font-sans);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color .15s;
  width: 100%;
}

.poa-input:focus { outline: none; border-color: var(--color-accent); }

.poa-form-row--two  { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.poa-form-row--three{ display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-md); }

.poa-form-fieldset {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.poa-form-fieldset legend {
  font-weight: 600;
  font-size: var(--font-size-sm);
  padding: 0 var(--space-xs);
}

.poa-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  cursor: pointer;
}

.poa-toggle input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--color-accent); }

.poa-form-help { font-size: var(--font-size-sm); color: var(--color-text-muted); margin: 0; }

required { color: var(--color-error); }

/* ============================================================
   Notices
   ============================================================ */
.poa-notice {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-md);
  border-left: 4px solid transparent;
}

.poa-notice--success { background: #eafaf1; border-color: var(--color-success); color: #1e8449; }
.poa-notice--error   { background: #fdf3f2; border-color: var(--color-error); color: #922b21; }
.poa-notice--warning { background: #fef9e7; border-color: var(--color-warning); color: #784212; }
.poa-notice--info    { background: #ebf5fb; border-color: var(--color-info); color: #154360; }

/* ============================================================
   Page Titles & Content
   ============================================================ */
.poa-page-title {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-xl);
}

.poa-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.poa-page-header .poa-page-title { margin-bottom: 0; }

.poa-entry-content { max-width: 70ch; }
.poa-entry-content h2, .poa-entry-content h3 { margin-top: var(--space-xl); }
.poa-entry-content ul, .poa-entry-content ol { margin-left: var(--space-xl); margin-bottom: var(--space-md); list-style: revert; }

.poa-back-link {
  display: inline-block;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  margin-bottom: var(--space-md);
}

.poa-back-link:hover { color: var(--color-accent); }

/* ============================================================
   Table
   ============================================================ */
.poa-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.poa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.poa-table th,
.poa-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.poa-table th {
  font-weight: 700;
  font-size: var(--font-size-xs);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  white-space: nowrap;
}

.poa-table th.sortable { cursor: pointer; user-select: none; }
.poa-table th.sortable:hover { color: var(--color-text); }

.poa-table tbody tr:hover { background: var(--color-bg-alt); }

.sort-icon { color: var(--color-text-faint); margin-left: 4px; }

/* ============================================================
   Directory
   ============================================================ */
.poa-directory-search { margin-bottom: var(--space-lg); max-width: 360px; }

/* ============================================================
   Document List
   ============================================================ */
.poa-doc-category { margin-bottom: var(--space-2xl); }
.poa-doc-category__title { font-size: var(--font-size-xl); border-bottom: 2px solid var(--color-border); padding-bottom: var(--space-sm); margin-bottom: var(--space-md); }

.poa-doc-list { display: flex; flex-direction: column; gap: var(--space-sm); }

.poa-doc-list__item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-md) var(--space-lg);
}

.poa-doc-list__icon { color: var(--color-text-muted); flex-shrink: 0; }
.poa-doc-list__info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.poa-doc-list__name { font-weight: 600; font-size: var(--font-size-sm); }
.poa-doc-list__date { font-size: var(--font-size-xs); color: var(--color-text-muted); }

/* ============================================================
   Photo Gallery
   ============================================================ */
.poa-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-lg);
}

.poa-album-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-text);
  transition: box-shadow .2s, transform .2s;
}

.poa-album-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }

.poa-album-card__cover {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.poa-album-card__cover img { width: 100%; height: 100%; object-fit: cover; }

.poa-album-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
}

.poa-album-card__info { padding: var(--space-md); }
.poa-album-card__title { font-weight: 700; font-size: var(--font-size-md); display: block; margin-bottom: 4px; }
.poa-album-card__meta { font-size: var(--font-size-xs); color: var(--color-text-muted); }

.poa-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-sm);
}

.poa-photo-grid__item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  display: block;
}

.poa-photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s;
}

.poa-photo-grid__item:hover img { transform: scale(1.03); }

/* ============================================================
   Organizations
   ============================================================ */
.poa-org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.poa-org-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-decoration: none;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: box-shadow .2s;
}

.poa-org-card:hover { box-shadow: var(--shadow-md); text-decoration: none; }
.poa-org-card__title { font-size: var(--font-size-md); font-weight: 700; margin: 0; display: block; }
.poa-org-card__excerpt { font-size: var(--font-size-sm); color: var(--color-text-muted); margin: 0; }
.poa-org-card__contact { font-size: var(--font-size-xs); color: var(--color-accent); }

.poa-member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.poa-member-tile {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-align: center;
}

.poa-member-tile__photo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto;
}

.poa-member-tile__photo--placeholder {
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
}

.poa-member-tile__name { font-weight: 700; }
.poa-member-tile__role { font-size: var(--font-size-sm); color: var(--color-accent); font-weight: 600; }
.poa-member-tile__bio  { font-size: var(--font-size-sm); color: var(--color-text-muted); }
.poa-member-tile__contact { font-size: var(--font-size-xs); color: var(--color-text-muted); }

/* ============================================================
   FAQ
   ============================================================ */
.poa-faq-search { margin-bottom: var(--space-xl); max-width: 400px; }

.poa-faq-section { margin-bottom: var(--space-2xl); }
.poa-faq-section__title { font-size: var(--font-size-xl); margin-bottom: var(--space-md); }

.poa-faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.poa-faq-item summary {
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--font-size-md);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.poa-faq-item summary::-webkit-details-marker { display: none; }
.poa-faq-item summary::after { content: '+'; font-size: var(--font-size-xl); color: var(--color-accent); line-height: 1; }
.poa-faq-item[open] summary::after { content: '−'; }
.poa-faq-item summary:hover { background: var(--color-bg-alt); }
.poa-faq-item[open] summary { border-bottom: 1px solid var(--color-border); }

.poa-faq-item__answer { padding: var(--space-md) var(--space-lg); }

.poa-faq-cta { margin-top: var(--space-2xl); font-size: var(--font-size-sm); color: var(--color-text-muted); }

/* ============================================================
   Tickets
   ============================================================ */
.poa-tickets-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.poa-ticket-list { display: flex; flex-direction: column; gap: var(--space-md); }

.poa-ticket-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.poa-ticket-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.poa-ticket-item__title { font-size: var(--font-size-md); }
.poa-ticket-item__meta  { font-size: var(--font-size-xs); color: var(--color-text-muted); }
.poa-ticket-item__note  { font-size: var(--font-size-sm); color: var(--color-text-muted); border-top: 1px solid var(--color-border); padding-top: var(--space-xs); margin-top: var(--space-xs); }

.poa-status-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.poa-status-new         { background: #ebf5fb; color: #1a5276; }
.poa-status-in_review   { background: #fef9e7; color: #784212; }
.poa-status-in_progress { background: #e8f8f5; color: #1e8449; }
.poa-status-resolved    { background: #eafaf1; color: #1e8449; }
.poa-status-closed      { background: var(--color-bg-alt); color: var(--color-text-muted); }

/* ============================================================
   Profile
   ============================================================ */
.poa-profile-photo-row {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.poa-profile-photo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   Register
   ============================================================ */
.poa-register-wrap { max-width: 540px; margin: var(--space-2xl) auto; }

/* ── Login page ── */
.poa-login-wrap {
  max-width: 440px;
  margin: var(--space-2xl) auto;
  text-align: center;
}
.poa-login__title { font-size: var(--font-size-2xl); margin-bottom: var(--space-sm); }
.poa-login__sub   { color: var(--color-text-muted); margin-bottom: var(--space-xl); }

.poa-login-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  text-align: left;
}

.poa-login-form { display: flex; flex-direction: column; gap: var(--space-md); }

.poa-form-field {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: var(--space-md);
}
.poa-form-field label { font-size: var(--font-size-sm); font-weight: 600; }
.poa-form-field input { width: 100%; }

.poa-login-form__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}
.poa-login-form__remember { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--font-size-sm); cursor: pointer; white-space: nowrap; }
.poa-login-form__remember input { width: auto; margin: 0; }

.poa-login-card__footer {
  margin-top: var(--space-md);
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* ============================================================
   Footer
   ============================================================ */
.poa-footer {
  background: var(--color-chrome);
  color: rgba(255,255,255,.7);
  padding: var(--space-xl) 0;
  margin-top: auto;
}

.poa-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.poa-footer__logo-text {
  color: #fff;
  font-weight: 700;
  font-size: var(--font-size-sm);
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.poa-footer__logo-text small { font-weight: 400; color: rgba(255,255,255,.5); font-size: var(--font-size-xs); letter-spacing: .08em; }

.poa-footer__copy { font-size: var(--font-size-xs); margin: 0; flex: 1; text-align: center; }

.poa-dark-mode-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.7);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  transition: border-color .15s, color .15s;
}

.poa-dark-mode-toggle:hover { border-color: rgba(255,255,255,.5); color: #fff; }

.poa-icon--moon { display: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .poa-content-layout {
    grid-template-columns: 1fr;
  }

  .poa-dashboard-cards {
    grid-template-columns: 1fr 1fr;
  }

  .poa-tickets-layout {
    grid-template-columns: 1fr;
  }

  .poa-sidebar { order: -1; }
}

@media (max-width: 640px) {
  :root { --container-max: 100%; }

  body { padding-top: var(--header-height); }

  .poa-nav { display: none; }
  .poa-nav.is-open { display: flex; position: absolute; top: var(--header-height); left: 0; right: 0; background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: var(--space-md); }
  .poa-nav.is-open .poa-nav__list { flex-direction: column; align-items: flex-start; width: 100%; }
  .poa-nav.is-open .poa-nav__list li { width: 100%; }
  .poa-nav.is-open .poa-nav__list li a { display: block; padding: 10px; }

  .poa-header__mobile-toggle { display: flex; }

  .poa-dashboard-cards { grid-template-columns: 1fr 1fr; }

  .poa-form-row--two,
  .poa-form-row--three { grid-template-columns: 1fr; }

  .poa-hero__title { font-size: var(--font-size-3xl); }

  .poa-album-grid, .poa-org-grid, .poa-member-grid { grid-template-columns: 1fr 1fr; }

  .poa-photo-grid { grid-template-columns: repeat(2, 1fr); }

  .poa-footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .poa-dashboard-cards { grid-template-columns: 1fr; }
  .poa-album-grid, .poa-org-grid, .poa-member-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ACC Archive
   ============================================================ */
.poa-acc-archive { display: flex; flex-direction: column; gap: var(--space-lg); }

.poa-acc-project {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.poa-acc-project__header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-sm); }
.poa-acc-project__title { font-size: var(--font-size-lg); margin: 0; }
.poa-acc-project__meta { font-size: var(--font-size-xs); color: var(--color-text-muted); margin-bottom: var(--space-sm); }
.poa-acc-project__description { font-size: var(--font-size-sm); color: var(--color-text-muted); }
.poa-acc-project__notes { font-size: var(--font-size-sm); color: var(--color-text-muted); margin-top: var(--space-sm); border-top: 1px solid var(--color-border); padding-top: var(--space-sm); }

/* ============================================================
   Misc
   ============================================================ */
.poa-empty { color: var(--color-text-muted); font-style: italic; }
.poa-admin-panel { margin-top: var(--space-xl); border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: var(--space-md); }
.poa-admin-panel summary { cursor: pointer; font-weight: 600; font-size: var(--font-size-sm); }
