@charset "UTF-8";
/* A photographic album in the institutional AAMT palette. */
.community-section { padding-block:54px; background:linear-gradient(180deg,#f3f9fd,#fff); border-top:1px solid var(--line); }
.community-heading { display:grid; grid-template-columns:minmax(0,1fr) 44px; grid-template-areas:"label label" "title action" "intro intro"; align-items:center; gap:10px 24px; margin-bottom:24px; }
.community-heading h2 { grid-area:title; min-width:0; margin:0; font-size:clamp(29px,3vw,38px); line-height:1.15; letter-spacing:-.045em; }
.community-heading h2 .text-blue { display:inline-block; }
.community-heading .eyebrow { grid-area:label; margin:0 0 2px; font-size:11px; }
.community-intro { grid-area:intro; max-width:84ch; margin:0; font-size:13px; line-height:1.65; color:var(--muted); text-wrap:balance; }
.community-icon-button { display:inline-flex; align-items:center; justify-content:center; flex:0 0 44px; width:44px; height:44px; border:1px solid transparent; border-radius:50%; background:#fff; color:var(--navy); transition:background .18s,border-color .18s,color .18s; }
.community-icon-button .ui-icon,.community-icon-button .community-icon { width:19px; height:19px; }
.community-icon-button:hover { background:var(--light); border-color:#b7d5e8; }
.community-icon-button:disabled { cursor:default; opacity:.4; }
.community-icon { width:20px; height:20px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.community-admin-button { grid-area:action; justify-self:end; width:44px; height:44px; flex-basis:44px; padding:0; border:1px solid transparent; border-radius:50%; background:transparent; color:var(--navy); box-shadow:none; }
.community-admin-button:hover { background:#ffffff80; border-color:transparent; color:var(--blue); }
.community-admin-button:focus-visible { outline:2px solid var(--navy); outline-offset:2px; }
.community-admin-button:active { background:#e7f3fa80; }
.community-admin-button .community-icon { width:20px; height:20px; stroke-width:1.3; }
.community-admin-session { display:flex; align-items:center; justify-content:space-between; gap:8px 22px; padding:8px 18px; margin-bottom:16px; border:1px solid var(--line); border-radius:12px; background:#fff; font-size:12px; color:var(--muted); }
.community-admin-actions { display:flex; flex-wrap:wrap; gap:4px 24px; }
.community-text-button { min-height:44px; padding:6px 0; border:0; background:none; color:var(--navy); font-size:13px; font-weight:600; line-height:1.5; text-align:left; text-decoration:underline; text-decoration-color:#b4cddd; text-underline-offset:4px; }
.community-text-button:hover { color:var(--blue); text-decoration-color:currentColor; }
.community-text-button:disabled { opacity:.5; cursor:default; }
.community-empty { min-height:200px; padding:32px 24px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; border:1px dashed #bdd7e8; border-radius:20px; background:#ffffffb3; text-align:center; color:var(--muted); font-size:14px; }
.community-empty-symbol { width:46px; height:46px; color:#659bbb; }
.community-empty p { max-width:430px; margin:0; }
.community-carousel { --multi-slide-width:78%; --slide-width:var(--multi-slide-width); --slide-gap:20px; --photo-height:clamp(360px,34vw,480px); min-width:0; }
.community-carousel-single { --slide-width:100%; }
.community-slide { min-width:0; }
.community-photo-viewport { position:relative; isolation:isolate; height:calc(var(--photo-height) + 48px); width:100%; overflow:clip; perspective:1400px; perspective-origin:50% 42%; }
.community-photo-stage { position:relative; top:12px; z-index:3; display:flex; align-items:center; justify-content:center; width:var(--slide-width); height:var(--photo-height); min-width:0; margin:0 auto; border:1px solid #ffffffd9; border-radius:18px; background:#eff5f8; overflow:hidden; transform:translate3d(0,0,0); box-shadow:0 16px 26px -16px #073b6659,0 3px 8px #102e4912; }
.community-framed-image { position:absolute; z-index:1; display:block; max-width:none; min-width:0; object-fit:contain; background:#eff5f8; pointer-events:none; }
.community-photo-backdrop { position:absolute; z-index:0; inset:0; display:block; width:100%; height:100%; max-width:none; object-fit:cover; filter:blur(26px); transform:scale(1.16); opacity:.68; pointer-events:none; }
.community-photo-neighbor { position:absolute; z-index:1; top:12px; left:calc((100% - var(--slide-width)) / 2); width:var(--slide-width); height:var(--photo-height); padding:0; border:1px solid #d4e3ed; border-radius:18px; background:#e8f0f5; opacity:.52; overflow:hidden; cursor:pointer; transform:translate3d(var(--neighbor-shift),0,-110px) rotateY(var(--neighbor-angle)) scale(.92); box-shadow:0 12px 24px -16px #073b6640; transition:opacity .2s,border-color .2s; }
.community-photo-neighbor > .community-framed-image { filter:blur(6px); }
.community-photo-previous { --neighbor-shift:calc(-100% - var(--slide-gap)); --neighbor-angle:26deg; }
.community-photo-next { --neighbor-shift:calc(100% + var(--slide-gap)); --neighbor-angle:-26deg; }
.community-photo-neighbor:hover { opacity:.76; border-color:#8cb9d5; }
.community-photo-neighbor:focus-visible { opacity:.8; outline:3px solid var(--blue); outline-offset:-4px; }
.community-photo-viewport[data-moving] > :is(.community-photo-stage,.community-photo-neighbor) { opacity:0; transition:none; }
.community-motion-card { position:absolute; z-index:2; top:12px; left:calc((100% - var(--slide-width)) / 2); width:var(--slide-width); height:var(--photo-height); border:1px solid #ffffffd9; border-radius:18px; background:#eff5f8; overflow:hidden; pointer-events:none; box-shadow:0 16px 26px -16px #073b6640; }
/* A fine glass rim overlays the photo without changing its saved framing. */
.community-photo-stage::after,.community-motion-card::after { content:""; position:absolute; z-index:2; inset:5px; border:1px solid #ffffffb8; border-radius:12px; box-shadow:0 0 0 5px #ffffff38,inset 0 0 0 1px #073b6612; pointer-events:none; }
.community-photo-copy { display:grid; grid-template-columns:minmax(0,1fr); align-items:start; gap:12px; width:var(--slide-width); margin:0 auto; padding:0 4px 20px; }
.community-photo-heading { min-width:0; }
.community-photo-meta { display:flex; align-items:center; gap:12px; min-height:32px; margin-bottom:5px; }
.community-photo-meta time { font-size:11px; font-weight:600; letter-spacing:.025em; color:var(--muted); }
.community-delete-button { flex-basis:44px; height:32px; color:#61798a; border-radius:8px; background:transparent; }
.community-delete-button:hover { color:#8b3535; border-color:#e7c8c8; background:#fff8f8; }
.community-frame-button { flex-basis:36px; width:36px; height:32px; border-radius:8px; background:transparent; color:#61798a; }
.community-photo-copy h3 { margin:0; font-size:clamp(21px,2vw,25px); line-height:1.25; font-weight:600; letter-spacing:-.03em; overflow-wrap:anywhere; }
.community-photo-caption { margin:0; font-size:14px; line-height:1.7; color:var(--muted); white-space:pre-wrap; overflow-wrap:anywhere; }
.community-photo-caption:empty { display:none; }
.community-controls { display:flex; align-items:center; justify-content:space-between; gap:18px; width:var(--slide-width); margin:0 auto; padding:12px 0; border-top:1px solid var(--line); }
.community-social { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
.community-social-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:8px 12px; border:1px solid transparent; border-radius:12px; background:transparent; color:var(--navy); font-size:12px; line-height:1.5; transition:background .18s,border-color .18s; }
.community-social-button .ui-icon,.community-social-button .community-icon { width:18px; height:18px; }
.community-social-button:hover { background:#edf6fc; border-color:#d4e7f3; }
.community-social-button[aria-pressed="true"] { background:#e9f4fb; border-color:#c5e0f1; color:#0a668e; }
.community-social-button[aria-pressed="true"] .community-heart { fill:#cce9f6; stroke:#0a668e; }
.community-social-button:disabled { opacity:.5; cursor:default; }
.community-social-count { min-width:18px; padding:1px 5px; border-radius:5px; background:#e6eff5; font-variant-numeric:tabular-nums; font-size:11px; font-weight:650; }
.community-navigation { display:flex; align-items:center; gap:18px; }
.community-position { color:var(--muted); font-size:12px; white-space:nowrap; font-variant-numeric:tabular-nums; letter-spacing:.07em; }
.community-controls-buttons { display:flex; align-items:center; gap:2px; border:1px solid var(--line); border-radius:24px; padding:2px; background:white; }
.community-controls-buttons:has(button:disabled) { display:none; }
.community-controls .community-icon-button { background:transparent; }
.community-controls .community-icon-button:hover { background:var(--light); }
.community-play-button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-width:104px; min-height:44px; padding:8px 10px; border:0; border-radius:22px; background:transparent; color:var(--navy); font-size:12px; font-weight:550; }
.community-play-button::before { content:""; width:0; height:0; border-block:5px solid transparent; border-left:7px solid currentColor; }
.community-play-button[aria-pressed="true"]::before { width:7px; height:10px; border-block:0; border-inline:2px solid currentColor; }
.community-play-button:hover { background:var(--light); }
.community-play-button:disabled { opacity:.5; cursor:default; }
.community-status,.community-note { font-size:13px; color:var(--muted); margin:18px 0 0; }
.community-status:empty { display:none; }
.community-preview-notice { display:inline-flex; align-items:center; gap:7px; padding:4px 9px; border:1px solid #e4dcc8; border-radius:5px; color:#69501e; background:#fffaf0; font-size:10px; margin-bottom:20px; }
.community-preview-notice::before { content:""; width:5px; height:5px; background:#a37c32; border-radius:50%; }

/* Native dialogs: focused controls, clear form hierarchy, no decorative focus ring. */
.community-dialog { color:var(--ink); width:min(620px,calc(100% - 32px)); max-height:calc(100dvh - 48px); padding:32px; border:1px solid #d8e6ef; border-radius:24px; box-shadow:0 28px 90px #0a2b453b; background:#fff; overflow:auto; overscroll-behavior:contain; }
.community-dialog:focus-visible { outline:none; }
.community-dialog::backdrop { background:#18374e69; backdrop-filter:blur(7px); -webkit-backdrop-filter:blur(7px); }
.community-dialog-header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:18px; }
.community-dialog-header .eyebrow { font-size:9px; margin-bottom:10px; letter-spacing:.14em; }
.community-dialog-header h2 { margin:0; font-size:26px; line-height:1.2; letter-spacing:-.035em; }
.community-dialog-header .community-icon-button { margin:-10px -10px 0 0; background:#f3f7fa; }
.community-dialog-description { color:var(--muted); font-size:14px; line-height:1.7; margin-bottom:24px; }
.community-access-symbol { display:grid; place-items:center; width:48px; height:48px; margin-bottom:23px; color:var(--navy); background:#eaf5fc; border:1px solid #d3e8f5; border-radius:15px; }
.community-access-symbol svg { width:23px; height:23px; }
.community-form { min-width:0; }
.community-form label { display:block; margin:18px 0 8px; font-size:12px; line-height:1.5; font-weight:600; }
.community-form input:not([type="hidden"]),.community-form textarea { display:block; width:100%; min-width:0; min-height:50px; padding:13px 14px; border:1px solid #bed2df; border-radius:10px; background:#f8fbfd; color:var(--ink); font-size:15px; line-height:1.5; }
.community-form input:focus,.community-form textarea:focus { background:#fff; border-color:var(--blue); outline:3px solid #187bc024; outline-offset:1px; }
.community-form input[type="file"] { font-size:13px; padding:14px; border-style:dashed; }
.community-form input[type="file"]::file-selector-button { min-height:38px; margin-right:14px; padding:6px 12px; border:1px solid var(--line); border-radius:8px; background:white; color:var(--navy); font:inherit; cursor:pointer; }
.community-form textarea { resize:vertical; }
.community-form input:disabled,.community-form textarea:disabled { background:#f5f7f8; }
.community-form input::placeholder,.community-form textarea::placeholder { color:#667d8d; }
.community-form > .button { margin-top:22px; }
.community-form .button { min-height:48px; border-radius:10px; font-size:13px; box-shadow:none; }
.community-form .button:disabled,.community-button-danger:disabled { opacity:.55; cursor:default; }
.community-form .community-auth-submit { display:flex; justify-content:space-between; width:100%; padding-inline:18px; }
.community-password-field { position:relative; }
.community-form .community-password-field input { padding-right:88px; }
.community-password-toggle { position:absolute; right:5px; top:3px; min-height:44px; padding:8px 10px; border:0; border-radius:7px; background:transparent; font-size:12px; font-weight:600; color:var(--navy); }
.community-password-toggle:hover { background:#eaf3f9; }
.community-field-help { margin:9px 0 0; font-size:12px; line-height:1.75; color:var(--muted); }
.community-form-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(175px,.58fr); gap:18px; }
.community-form-row > div { min-width:0; }
.community-form-actions { display:flex; align-items:center; justify-content:flex-end; gap:24px; margin-top:24px; }
.community-password-dialog .community-form-actions { flex-wrap:wrap; gap:12px 18px; }
.community-form-status { font-size:13px; line-height:1.7; color:var(--muted); margin:16px 0 0; overflow-wrap:anywhere; }
.community-form-status:empty { display:none; }
.community-form-status[data-error="true"] { padding:10px 12px; border:1px solid #efd6d6; border-radius:9px; background:#fff8f8; color:#973737; }
.community-status[data-error="true"] { color:#973737; }
.community-upload-preview { width:100%; max-height:220px; object-fit:contain; background:#edf3f7; margin-top:18px; border:1px solid var(--line); border-radius:10px; }
.community-framing-dialog { width:min(780px,calc(100% - 32px)); }
.community-frame-photo-title { margin:8px 0 0; font-size:13px; color:var(--muted); overflow-wrap:anywhere; }
.community-frame-editor { margin-top:18px; }
.community-frame-preview { position:relative; isolation:isolate; width:100%; aspect-ratio:1.8; overflow:hidden; border:1px solid var(--line); border-radius:14px; background:#eaf1f5; touch-action:none; cursor:grab; }
.community-frame-preview[data-dragging] { cursor:grabbing; }
.community-frame-preview[data-dragging]::after { content:""; position:absolute; z-index:2; inset:33.333%; border:1px solid #ffffff8c; box-shadow:0 0 0 100px #ffffff08; pointer-events:none; }
.community-frame-toolbar { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px 18px; margin-top:16px; }
.community-frame-modes { display:flex; max-width:100%; padding:3px; gap:3px; background:#edf3f7; border:1px solid var(--line); border-radius:11px; }
.community-frame-modes button { min-height:40px; padding:8px 14px; border:0; border-radius:8px; background:transparent; color:var(--muted); font-size:12px; font-weight:600; }
.community-frame-modes button[aria-pressed="true"] { color:var(--navy); background:white; box-shadow:0 2px 6px #12344a14; }
.community-frame-modes button:disabled { opacity:.5; }
.community-frame-range label { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:14px; margin-bottom:0; }
.community-frame-range output { font-size:11px; font-weight:500; color:var(--muted); font-variant-numeric:tabular-nums; }
.community-form .community-frame-range input[type="range"] { min-height:36px; padding:0; border:0; border-radius:0; background:transparent; accent-color:var(--blue); cursor:pointer; }
.community-frame-positions { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.community-auth-dialog,.community-delete-dialog { width:min(440px,calc(100% - 32px)); }
.community-editor-dialog,.community-comments-dialog,.community-moderation-dialog { width:min(680px,calc(100% - 32px)); }
.community-comments-list:empty { display:none; }
.community-comment-form { border-top:1px solid var(--line); padding-top:25px; margin-top:28px; }
.community-comment-form h3 { margin:0 0 10px; font-size:21px; }
.community-comment,.community-moderation-item { padding:19px 0; border-bottom:1px solid var(--line); }
.community-comment:first-child,.community-moderation-item:first-child { padding-top:0; }
.community-comment-header { display:flex; flex-wrap:wrap; align-items:baseline; gap:5px 14px; margin-bottom:9px; }
.community-comment-header strong { color:var(--ink); font-size:14px; font-weight:600; }
.community-comment-header time { color:var(--muted); font-size:11px; }
.community-comment p,.community-moderation-item p { font-size:14px; line-height:1.8; color:var(--muted); margin:0 0 7px; white-space:pre-wrap; overflow-wrap:anywhere; }
.community-comment > .community-text-button { font-size:12px; }
.community-comment-replies { margin:11px 0 0 12px; padding:0 0 0 18px; border-left:2px solid #d9e9f3; }
.community-comment-replies .community-comment:last-child { padding-bottom:0; border-bottom:0; }
.community-reply-target { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:18px; padding:8px 13px; background:var(--light); border-left:2px solid #90bedb; border-radius:0 4px 4px 0; color:var(--muted); font-size:12px; overflow-wrap:anywhere; }
.community-reply-target .community-text-button { flex-shrink:0; font-size:12px; }
.community-moderation-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px 22px; }
.community-moderation-context { display:block; margin-bottom:10px; color:var(--muted); font-size:12px; }
.community-button-danger { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:11px 18px; border:1px solid #e0b7b7; border-radius:7px; background:#fff8f8; color:#913535; font-size:13px; font-weight:600; }
.community-button-danger:hover { background:#fceeee; border-color:#cb9191; }

@media (max-width:980px) {
  .community-carousel { --multi-slide-width:82%; --slide-gap:14px; --photo-height:360px; }
  .community-carousel-single { --slide-width:100%; }
  .community-photo-copy { gap:12px; padding:0 2px 18px; }
  .community-social-button { padding-inline:9px; }
  .community-controls { padding-inline:0; }
}
@media (max-width:700px) {
  .community-section { padding-block:36px; }
  .community-heading { gap:10px 12px; margin-bottom:20px; }
  .community-heading h2 { font-size:29px; }
  .community-heading .eyebrow { font-size:10px; }
  .community-carousel { --multi-slide-width:84%; --slide-gap:8px; --photo-height:clamp(270px,66vw,340px); }
  .community-carousel-single { --slide-width:100%; }
  .community-photo-stage,.community-photo-neighbor,.community-motion-card { border-radius:13px; }
  .community-photo-stage::after,.community-motion-card::after { inset:3px; border-radius:9px; box-shadow:0 0 0 3px #ffffff38,inset 0 0 0 1px #073b6612; }
  .community-photo-neighbor { transform:translate3d(var(--neighbor-shift),0,-65px) rotateY(var(--neighbor-angle)) scale(.92); }
  .community-photo-previous { --neighbor-shift:calc(-94% - var(--slide-gap)); }
  .community-photo-next { --neighbor-shift:calc(94% + var(--slide-gap)); }
  .community-photo-copy { width:100%; gap:10px; padding:0 4px 18px; }
  .community-photo-copy h3 { font-size:22px; }
  .community-photo-meta { margin-bottom:3px; }
  .community-photo-caption { font-size:13px; line-height:1.75; }
  .community-controls { width:100%; flex-wrap:wrap; padding:8px 0; gap:4px 14px; }
  .community-social { gap:0; }
  .community-navigation { gap:14px; margin-left:auto; }
  .community-controls-buttons { gap:0; }
  .community-empty { min-height:180px; }
  .community-admin-session { align-items:flex-start; flex-direction:column; gap:3px; }
  .community-admin-actions { gap:0 18px; }
  .community-dialog { padding:26px; border-radius:20px; max-height:calc(100dvh - 24px); }
  .community-dialog-header h2 { font-size:24px; }
  .community-dialog-header .eyebrow { font-size:9px; }
  .community-form-row { grid-template-columns:minmax(0,1fr); gap:0; }
  .community-form input:not([type="hidden"]),.community-form textarea { font-size:16px; }
  .community-form input[type="file"] { font-size:12px; }
  .community-reply-target { align-items:flex-start; flex-direction:column; gap:0; }
  .community-comment-replies { margin-left:4px; padding-left:12px; }
}
@media (max-width:420px) {
  .community-controls { padding-inline:0; }
  .community-social-button { gap:6px; padding-inline:7px; font-size:11px; }
  .community-position { font-size:11px; letter-spacing:0; }
  .community-dialog { padding:22px; }
  .community-dialog-header { gap:10px; }
  .community-dialog-header h2 { font-size:23px; }
  .community-form-actions { gap:18px; }
}
@media (prefers-reduced-motion:reduce) {
  .community-icon-button,.community-social-button,.community-photo-neighbor { transition:none; }
}

/* Bare chevrons retain a comfortable target while the photographs rotate. */
.community-image-arrow { position:absolute; z-index:5; top:calc(12px + var(--photo-height)/2); display:flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border:0; border-radius:50%; color:var(--navy); background:transparent; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; transform:translateY(-50%); cursor:pointer; transition:color .2s; }
.community-image-arrow-prev { left:calc((100% - var(--slide-width))/2 + 13px); }
.community-image-arrow-next { right:calc((100% - var(--slide-width))/2 + 13px); }
.community-image-arrow .community-icon { width:19px; height:19px; stroke-width:1.3; }
.community-image-arrow:hover { color:var(--ink); }
.community-image-arrow:focus-visible { outline:3px solid var(--blue); outline-offset:3px; }
@media(prefers-reduced-motion:reduce) { .community-image-arrow { transition:none; } }
