:root{font:16px/1.5 system-ui,-apple-system,Segoe UI,sans-serif;}
*{box-sizing:border-box}
body{margin:0}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{font-weight:750;}
#top-actions{display:flex;align-items:center;flex-wrap:wrap}
main{margin:auto}
h1{margin:0 0 10px}
h2{margin:0 0 16px;}
h3{margin:0 0 10px;font-size:16px}
p{margin:0 0 14px;color:#61746a}
.muted{color:#66786e}
.eyebrow{text-transform:uppercase;font-size:11px;font-weight:800;margin-bottom:12px}
.hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;}
.panel{margin-bottom:18px}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
.grid.thirds{grid-template-columns:repeat(3,minmax(0,1fr))}
.summary{font-size:28px;font-weight:750;letter-spacing:-.04em;}
.summary small{font-size:13px;font-weight:500;display:block;letter-spacing:0}
.list{display:grid;gap:9px}
.row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;background:#f8faf7;border:1px solid #e8ede6;border-radius:12px}
.row strong{font-size:15px}
.row small{color:#6f7c74}
.section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;}
button,select,input,textarea{font:inherit}
button{border:0;font-weight:700;cursor:pointer}
button.ghost{border:1px solid #9db5a7}
.topbar button.ghost{color:white;border-color:#668d7b}
.topbar select{width:auto;background:#285648;color:white;border-color:#668d7b}
.button-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
form{display:grid;gap:14px}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
label{display:grid;gap:5px;font-size:12px;font-weight:700;}
input,select,textarea{width:100%;padding:10px 12px;border:1px solid #cbd8ce;border-radius:9px;color:#1c3127;min-height:42px}
textarea{min-height:85px;resize:vertical}
input:focus,select:focus,textarea:focus{outline:2px solid #92c17b;outline-offset:1px}
.span-2{grid-column:1/-1}
.tag{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.09em;padding:5px 8px;border-radius:20px;white-space:nowrap}
.table-wrap{overflow:auto}
table{width:100%;border-collapse:collapse;min-width:640px}
th{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#75877c}
td,th{padding:11px 8px;border-bottom:1px solid #e6ece5}
td.numeric{text-align:right;font-variant-numeric:tabular-nums}
.stack{display:grid;gap:18px}
.login{max-width:440px;margin:7vh auto}
.login h1{margin-bottom:25px}
#notice{position:fixed;right:20px;bottom:20px;max-width:390px;padding:14px 18px;background:#983e32;color:white;border-radius:12px;box-shadow:0 12px 30px #0002}
#notice.good{background:#205b45}
@media(max-width:750px){
  .topbar{height:auto;min-height:72px;padding:14px 20px;align-items:flex-start}
  .brand{font-size:24px}
  #top-actions{justify-content:flex-end}
  main{padding:28px 16px}
  .grid,.grid.thirds,.fields{grid-template-columns:1fr}
  .span-2{grid-column:auto}
  .hero{align-items:flex-start;flex-direction:column}
  .panel{padding:19px}
  .row{align-items:flex-start;flex-direction:column}
}
.year-select{width:110px}
.story-link{white-space:nowrap;color:#235845;font-weight:700}
.search-form{display:flex;align-items:end;gap:10px;margin:0 0 18px}
.search-form label{flex:1}
.gallery{display:grid;margin-top:18px}
.photo-card{min-width:0;border:1px solid #e2e8df;overflow:hidden;padding-bottom:12px}
.photo-card img{width:100%;object-fit:cover;background:#edf1eb;display:block;margin-bottom:8px}
.photo-card strong,.photo-card small{display:block;padding:0 10px;overflow-wrap:anywhere}
.photo-card small{font-size:12px}
input[type=checkbox]{width:22px;min-height:22px;height:22px}
button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:750px){
  .search-form{align-items:stretch;flex-direction:column}
  .search-form label{width:100%}
}
.tag-list{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 18px}
.tag-list .tag{text-transform:none;font-size:13px;letter-spacing:0}
.settings-panel{max-width:560px;margin-top:22px}
.settings-panel form{max-width:360px}
.settings-panel .settings-checkbox{display:flex;align-items:center;gap:12px;font-size:14px;color:#253a30;cursor:pointer}
.settings-panel .settings-checkbox input{flex:none;margin:0}
.settings-panel form>p{margin:-8px 0 4px 34px;font-size:13px}
.album-list{display:grid;gap:10px}
.album-list-item{display:flex;align-items:center;gap:16px;width:100%;padding:10px;text-align:left;background:#f8faf7;border:1px solid #e2e8df;color:#23342e}
.album-list-item:hover{background:#edf4ea;border-color:#bed4be}
.album-cover{width:92px;height:70px;flex:none;object-fit:cover;border-radius:8px;background:#e7eee6}
.album-cover-empty{display:grid;place-items:center;color:#83978a;font-size:11px}
.album-list-info{display:grid;gap:4px;min-width:0}
.album-list-info strong{font-size:16px;overflow-wrap:anywhere}
.album-list-info small{font-weight:500}
.album-list-arrow{margin-left:auto;padding:0 12px;color:#235845;font-size:24px;font-weight:400}
@media(max-width:750px){
  .album-cover{width:72px;height:60px}
  .album-list-item{gap:10px}
  .album-list-arrow{padding:0 2px}
}
.album-actions{margin:14px 0;align-items:center}
.album-actions input[type=file]{width:min(100%,430px);border:0;}
.album-actions input[type=text]{flex:1;min-width:220px}
.photo-select{display:flex;align-items:center;gap:6px;padding:8px 10px;font-size:12px}
.photo-select input{margin:0;flex:none}
.photo-card .photo-select span{padding:0}
@media(max-width:750px){
  .album-actions{align-items:stretch}
  .album-actions input[type=text]{min-width:0}
}
.photo-open{display:block;width:100%;padding:0;border:0;border-radius:0;background:transparent;cursor:zoom-in}
.photo-open:hover{background:transparent}
.photo-open:focus-visible{outline:3px solid #92c17b;outline-offset:-3px}
.section-title .button-row{justify-content:flex-end}
.section-title .button-row .muted{white-space:nowrap}
button.danger{background:#fff0ed;color:#933b30;border:1px solid #e5b7af}
button.danger:hover{background:#fbdcd6}
@media(max-width:750px){
  .section-title .button-row{flex-wrap:wrap}
  .section-title .button-row .muted{white-space:normal}
}
.photo-modal{width:min(1320px,calc(100vw - 48px));height:min(850px,calc(100dvh - 48px));max-width:none;max-height:none;margin:auto;padding:0;border:0;border-radius:16px;color:white;box-shadow:0 24px 90px #0009;overflow:hidden}
.photo-modal-content{display:grid;grid-template-columns:minmax(0,1fr) 320px;width:100%;height:100%;min-width:0;min-height:0}
.photo-modal-no-tags{grid-template-columns:1fr}
.photo-modal-stage{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:hidden;}
.photo-modal-stage img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.photo-modal-close{position:absolute;z-index:2;top:12px;right:12px;width:40px;height:40px;padding:0;border-radius:50%;background:#fff;font-size:28px;line-height:1;box-shadow:0 3px 12px #0005}
.photo-modal-tags{display:flex;flex-direction:column;min-width:0;min-height:0;padding:28px 20px 20px;}
.photo-modal-heading{padding:0 38px 16px 0;border-bottom:1px solid #dce7dc}
.photo-modal-heading .eyebrow{margin:0 0 6px}
.photo-modal-heading h2{font-size:20px;line-height:1.25;overflow-wrap:anywhere;margin-bottom:18px}
.photo-modal-heading h3{margin:0}
.photo-tag-options{display:grid;align-content:start;gap:4px;min-height:0;overflow-y:auto;padding:14px 0;flex:1}
.photo-tag-choice{display:flex;align-items:center;gap:10px;padding:9px 7px;border-radius:8px;font-weight:500;overflow-wrap:anywhere}
.photo-tag-choice:hover{background:#eaf1e5}
.photo-tag-choice input{flex:none;margin:0}
.photo-tag-search{margin-top:16px;background:#fff}
.photo-tag-choice[hidden]{display:none}
.photo-tag-linked{background:#eaf1e5;}
.photo-tag-feedback{margin:0;padding:12px 0 0;border-top:1px solid #dce7dc;font-size:12px}
.photo-tag-feedback.error{color:#983e32}
.member-album-row{flex-direction:row;align-items:center}
.member-album-row>div{min-width:0;display:grid;gap:2px}
.member-album-row button{flex:none}
.photo-card .photo-download{display:block;margin:10px 10px 0;width:calc(100% - 20px);font-size:12px;padding:8px}
@media(max-width:750px){
  .member-album-row{flex-wrap:wrap}
  .member-album-row button{width:100%}
}
.photo-modal-footer{padding-top:16px;border-top:1px solid #dce7dc}
.photo-modal-footer button{width:100%}
@media(max-width:750px){
  .photo-modal{width:calc(100vw - 24px);height:calc(100dvh - 24px);border-radius:12px}
  .photo-modal-content{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) minmax(190px,40%)}
  .photo-modal-no-tags{grid-template-rows:1fr}
  .photo-modal-tags{padding:16px}
  .photo-modal-heading{padding-bottom:10px}
  .photo-modal-heading h2{font-size:17px;margin-bottom:8px}
  .photo-tag-options{padding:7px 0}
  .photo-modal-footer{padding-top:10px}
  .photo-modal-close{top:8px;right:8px}
}

/* Shared surfaces and controls. */

body {
  display: flow-root;
  min-height: 100vh;
}
.topbar {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  color: #213c32;
}



.topbar button.ghost, .topbar select {
  width: auto;
  min-height: 42px;
  padding: 8px 17px;
  border: 1px solid #d8dfd9;
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  color: #254439;
}
.topbar button.ghost:hover, .topbar select:hover { background: #e9f1e9; border-color: #aec8b9; }

h1 { font-size: clamp(34px, 4vw, 58px); line-height: 1.05; }
h2 { font-size: 23px; letter-spacing: -.035em; }
h1, h2, h3 { color: #243a31; }
p, .muted { color: #64756d; }
.eyebrow { letter-spacing: .19em; }
.hero { margin-bottom: 32px; }
.panel {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.92);
  background: rgba(255,255,255,.77);
  box-shadow: 0 18px 38px rgba(54,65,52,.08), 0 3px 8px rgba(54,65,52,.035), inset 0 1px rgba(255,255,255,.9);
}
.grid { gap: 20px; }
.section-title { margin-bottom: 18px; }
.row, .album-list-item {
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid #e4e8e1;
  border-radius: 16px;
  background: rgba(247,249,245,.83);
  color: #273a31;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.row[style*="cursor"]:hover, .album-list-item:hover {
  transform: translateY(-2px);
  background: white;
  box-shadow: 0 8px 18px rgba(37,70,55,.09);
}
.row small, .album-list-info small, th { color: #728177; }
.summary { color: #174e3d; font-variant-numeric: tabular-nums; }
.summary small { color: #64796d; }
button { border-radius: 999px; padding: 11px 19px; }




input, select, textarea { border-color: #d6ded5; border-radius: 13px; color: #243a31; }
input:focus, select:focus, textarea:focus { outline-color: #6fb69b; }
label { color: #53695c; }

.wrap-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #065d48 0%, #087c60 52%, #07513f 100%);
  border-color: rgba(255,255,255,.3);
  box-shadow: 0 22px 40px rgba(7,80,61,.2), inset 0 1px rgba(255,255,255,.2);
}
.wrap-panel::after {
  content: "";
  position: absolute;
  width: 470px;
  height: 470px;
  right: -120px;
  bottom: -340px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(255,255,255,.035), 0 0 0 105px rgba(255,255,255,.025);
  pointer-events: none;
}
.wrap-panel > * { position: relative; z-index: 1; }
.wrap-panel h2, .wrap-panel .summary, .wrap-panel p, .wrap-panel .muted { color: #fff; }
.wrap-panel .summary small { color: #d5eae0; }
.wrap-panel .summary {
  min-width: 0;
  padding: 17px 20px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 18px;
  background: rgba(255,255,255,.09);
  font-size: clamp(25px, 2.5vw, 36px);
}
.wrap-panel .grid { margin: 12px 0; }
.wrap-panel button.ghost { color: #fff; border-color: rgba(255,255,255,.52); }
.wrap-panel button.ghost:hover { background: rgba(255,255,255,.14); }
.year-select { border-color: rgba(255,255,255,.65); background: #fff; }
.story-link, .album-list-arrow { color: #087359; }
td, th { border-bottom-color: #e3e9e2; }
.photo-card { border-color: #e2e8df; border-radius: 19px; background: rgba(255,255,255,.85); }
.photo-card img, .album-cover { background: #e9eee8; }
.album-actions input[type=file] { background: #f7f9f5; }
.photo-open:focus-visible { outline-color: #6fb69b; }
.photo-modal { background: #122c24; }
.photo-modal::backdrop { background: #071a13e6; }
.photo-modal-stage { background: #0e241d; }
.photo-modal-close { color: #173d31; }
.photo-modal-tags { background: #f8faf7; color: #253a30; }
.photo-modal-heading, .photo-modal-footer { border-color: #dfe9e1; }
.photo-tag-choice:hover, .photo-tag-linked { background: #e4f0e9; }
.photo-tag-linked { color: #17523e; }
.gallery { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.photo-card img { height: 190px; }
@media (max-width: 750px) {
  .topbar { width: calc(100% - 24px); margin-top: 12px; padding: 14px; flex-wrap: wrap; }
  #top-actions { width: 100%; justify-content: flex-start; }
  main { padding: 30px 16px 64px; }
  .panel { padding: 20px; border-radius: 21px; }
  .grid, .grid.thirds { grid-template-columns: 1fr; }
  .row { align-items: flex-start; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .photo-card img { height: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .row, .album-list-item { transition: none; }
}

/* Coverage library */
.media-filter { max-width: 430px; margin: 0 0 18px; background: #fff; }
.media-list { display: grid; gap: 10px; }
.media-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid #e4e8e1;
  border-radius: 17px;
  background: rgba(247,249,245,.83);
  color: #243a31;
  text-align: left;
  box-shadow: none;
}
.media-item:hover { background: #fff; border-color: #b9d2c2; box-shadow: 0 8px 18px rgba(37,70,55,.09); }
.media-item:focus-visible { outline: 2px solid #087359; outline-offset: 2px; }
.media-item-info { display: grid; gap: 4px; min-width: 0; }
.media-item-info strong { font-size: 15px; overflow-wrap: anywhere; }
.media-item-info small { color: #68796e; font-weight: 500; overflow-wrap: anywhere; }
.media-item-arrow { flex: none; font-size: 24px; font-weight: 400; color: #087359; }
.activity-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-width: 0; padding: 17px 20px; text-align: left;
  border: 1px solid #e4e8e1; border-radius: 17px;
  background: rgba(247,249,245,.83); color: #243a31; box-shadow: none;
}
.activity-item + .activity-item { margin-top: 10px; }
.activity-item:hover { background: #fff; border-color: #b9d2c2; box-shadow: 0 8px 18px rgba(37,70,55,.09); }
.activity-item:focus-visible { outline: 2px solid #087359; outline-offset: 2px; }
.activity-participant {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 15px 0; border-top: 1px solid #e5ebe4;
}
.activity-participant-info { display: grid; gap: 4px; }
.activity-participant-info strong, .activity-participant-info small { overflow-wrap: anywhere; }
.activity-participant .button-row { flex: none; }
.media-modal {
  width: min(640px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid #e2e8df;
  border-radius: 25px;
  background: #fbfcf9;
  color: #243a31;
  box-shadow: 0 28px 90px rgba(10,31,21,.3);
}
.media-modal::backdrop { background: rgba(13,31,22,.62); backdrop-filter: blur(4px); }
.media-modal-content { position: relative; padding: 36px; }
.media-modal h2 { margin: 0 48px 26px 0; font-size: clamp(24px,3vw,32px); line-height: 1.15; overflow-wrap: anywhere; }
.media-close { position: absolute; top: 20px; right: 20px; width: 38px; height: 38px; padding: 0; font-size: 25px; line-height: 1; }
.media-details { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 12px 16px; margin: 0 0 24px; }
.media-details dt { color: #65776b; font-size: 13px; font-weight: 700; }
.media-details dd { margin: 0; overflow-wrap: anywhere; }
.media-source { display: inline-flex; padding: 11px 0; color: #087359; font-weight: 700; }
.media-attachments{border-top:1px solid #e2e8df;padding-top:18px;margin-top:8px}
.media-attachments h3{margin:0 0 12px;font-size:17px}
.media-attachment-list{display:grid;gap:8px}
.media-attachment{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e2e8df;border-radius:14px;padding:10px 12px;background:rgba(247,249,245,.83)}
.media-attachment-info{min-width:0;display:grid;gap:3px}
.media-attachment-info strong{overflow-wrap:anywhere}
.media-attachment-info small{font-size:12px}
.media-attachment .button-row{flex:none;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.media-attachment .button-row button,.media-download{font-size:12px;padding:8px 12px;min-height:36px}
.media-download{display:inline-flex;align-items:center;border:1px solid #b9cbc0;border-radius:999px;color:#263d35;text-decoration:none;background:rgba(255,255,255,.4)}
.media-download:hover{background:#e3eee6}
.media-attachment-preview[hidden]{display:none}
.media-attachment-preview{margin:10px 0;min-height:240px;max-height:50vh;overflow:auto;border-radius:13px;background:#eef3ed}
.media-attachment-preview iframe{border:0;width:100%;height:50vh;display:block}
.media-attachment-preview img{display:block;max-width:100%;max-height:50vh;margin:auto;object-fit:contain}
.media-upload{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}
.media-upload input{flex:1;min-width:180px}
.partner-contract-links{display:flex;flex-wrap:wrap;gap:8px;margin:5px 0}
.contract-picker{width:min(100%,210px);min-width:160px;font-size:12px;padding:5px;border-radius:10px}
.activity-participant-info{min-width:0;overflow-wrap:anywhere}
.media-actions { margin-top: 24px; padding-top: 22px; border-top: 1px solid #e2e8df; }
.invoice-header h2 { flex: 1 1 auto; min-width: 0; margin: 0; }
.invoice-header .year-select { flex: 0 0 110px; width: 110px; margin-left: auto; }
@media (max-width: 750px) {
  .media-modal-content { padding: 24px; }
  .media-attachment{align-items:start;flex-direction:column}
  .media-attachment .button-row{width:100%}
  .media-upload input,.media-upload button{width:100%}
  .media-details { grid-template-columns: 1fr; gap: 3px; }
  .media-details dd { margin-bottom: 12px; }
  .activity-participant { align-items: flex-start; flex-direction: column; }
  .activity-participant .button-row { flex: auto; }
}

/* Dedicated annual member wrap */
.wrap-controls{margin-bottom:18px}.wrap-controls label{display:flex;align-items:center;gap:10px;margin-left:auto}.wrap-controls select{width:112px}
.year-wrap{overflow:hidden;border:1px solid #dce8dd;border-radius:28px;background:#fff;box-shadow:0 20px 55px rgba(25,67,47,.1)}
.wrap-cover{position:relative;padding:52px clamp(26px,5vw,70px);overflow:hidden}
.wrap-cover:after{content:'';position:absolute;width:420px;height:420px;right:-130px;top:-200px;border:1px solid #ffffff55;border-radius:50%;pointer-events:none}
.wrap-cover .eyebrow{color:#c9e8d1}.wrap-cover h1{max-width:850px;font-size:clamp(35px,6vw,72px);color:#fff;overflow-wrap:anywhere}.wrap-cover p{margin:0;color:#e0f0e5}.wrap-year{font-size:clamp(82px,15vw,180px);font-weight:800;letter-spacing:-.09em;line-height:1;margin:8px 0 14px;}
.wrap-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#dce8dd;border-bottom:1px solid #dce8dd}.wrap-metric{display:grid;gap:5px;padding:28px clamp(20px,3vw,40px);background:#f4f8f3}.wrap-metric strong{font-size:42px;letter-spacing:-.06em;line-height:1;color:#0a654c}.wrap-metric span{color:#536c5c;font-size:13px;font-weight:700}
.wrap-section{padding:35px clamp(26px,5vw,70px);border-bottom:1px solid #e5ede4}.wrap-section:last-child{border:0}.wrap-section h2{margin-bottom:20px;font-size:25px;color:#243a31}
.wrap-finance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.wrap-finance-item{display:grid;gap:9px;padding:22px;border-radius:17px;background:#eaf4ed}.wrap-finance-item span{font-size:13px;color:#496d57}.wrap-finance-item strong{font-size:clamp(25px,3vw,36px);color:#08644d;overflow-wrap:anywhere}.wrap-section>p{margin:15px 0 0}
.wrap-entry{display:grid;grid-template-columns:120px 1fr;gap:18px;padding:15px 0;border-top:1px solid #e4ebe3}.wrap-entry time{font-size:13px;color:#60806c}.wrap-entry div{display:grid;gap:5px;min-width:0}.wrap-entry strong,.wrap-entry a{font-weight:750;color:#214f3e;overflow-wrap:anywhere}.wrap-entry span{font-size:13px;color:#68796e}
.wrap-photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:start}.wrap-photos figure{margin:0;min-width:0}.wrap-photos img{display:block;width:100%;height:auto;border-radius:12px;background:#eaf1e5}.wrap-photos figcaption{margin-top:6px;font-size:12px;color:#536c5c;overflow-wrap:anywhere}
@media(max-width:750px){.wrap-controls label{margin-left:0}.wrap-metrics{grid-template-columns:1fr 1fr}.wrap-finance{grid-template-columns:1fr}.wrap-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.wrap-entry{grid-template-columns:1fr;gap:2px}}
@media print{.topbar,#notice,.wrap-controls{display:none!important}body{background:#fff}main{max-width:none;padding:0;margin:0}.year-wrap{border:0;border-radius:0;box-shadow:none;print-color-adjust:exact;-webkit-print-color-adjust:exact}.wrap-cover{padding:32px 40px}.wrap-year{font-size:90px}.wrap-section{padding:22px 40px;break-inside:avoid}.wrap-photos figure,.wrap-entry{break-inside:avoid}.wrap-photos img{height:auto}.wrap-metric{padding:20px}.wrap-metric strong{font-size:30px}}

/* Guided first visit: the four shades leave a clear, non-interactive spotlight. */
.tour-layer{position:fixed;inset:0;z-index:10000;pointer-events:none}
.tour-shade{position:fixed;background:rgba(18,32,25,.67);pointer-events:auto}
.tour-focus{position:fixed;border:3px solid #fff;border-radius:17px;box-shadow:0 0 0 5px rgba(22,112,82,.55),0 16px 42px #0005;pointer-events:auto}
.tour-tip{position:fixed;z-index:1;max-width:calc(100vw - 32px);padding:22px 24px;border:1px solid #dce9df;border-radius:20px;background:#fff;color:#233a30;box-shadow:0 22px 65px #0005;pointer-events:auto}
.tour-tip h2{margin:5px 0 8px;font-size:22px;line-height:1.2}.tour-tip p{margin:0 0 18px;color:#52665a;font-size:14px;line-height:1.55}
.tour-progress{color:#087359;font-size:12px;font-weight:800;letter-spacing:.11em}
.tour-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}
.tour-actions button{white-space:nowrap}.tour-skip{padding:9px 0;background:transparent;color:#52665a;font-size:13px}.tour-skip:hover{background:transparent;color:#173d31;text-decoration:underline}
@media(max-width:600px){.tour-tip{padding:18px}.tour-tip h2{font-size:19px}.tour-tip p{font-size:13px}.tour-actions button{font-size:13px}}
@media print{.tour-layer{display:none!important}}

/* Organization overview: uses Wrappy's original green palette and cards. */
.topbar{height:auto;padding-top:10px;padding-bottom:10px}
.dashboard-head{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:27px}.dashboard-head h1{margin-bottom:8px}.dashboard-head p{margin:0}
.dashboard-tools{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.dashboard-tools label{min-width:120px}.dashboard-tools select{background:#fff}
.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:18px}
.dashboard-stat{display:grid;align-content:space-between;gap:20px;min-height:135px;padding:23px;border:1px solid #e2e8df;border-radius:22px;background:#ffffffcf;box-shadow:0 12px 28px #1b49320a}
.dashboard-stat.featured{background:#e8f2e9}.dashboard-stat span{font-size:13px;font-weight:700;color:#64796d}.dashboard-stat strong{font-size:clamp(34px,4vw,52px);line-height:1;color:#087359;letter-spacing:-.06em}
.dashboard-finances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:20px}
.dashboard-finance{display:grid;gap:10px;padding:23px;border:1px solid #dbe8df;border-radius:22px;background:#eaf3ec;box-shadow:0 10px 24px #1b49320a}
.dashboard-finance span{color:#567767;font-size:13px}.dashboard-finance strong{color:#08664f;font-size:clamp(27px,3vw,38px);line-height:1.1;overflow-wrap:anywhere}
.dashboard-list .section-title{align-items:center}.dashboard-list h2{margin:0}.dashboard-search{max-width:300px}
.dashboard-table-wrap{overflow-x:auto}.dashboard-table{min-width:940px}.dashboard-table th{font-size:10px;white-space:normal}.dashboard-table th:first-child{padding-left:20px}.dashboard-table th:nth-child(n+2){text-align:right}.dashboard-table td{vertical-align:middle}.dashboard-table td.numeric{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.dashboard-table td:first-child{min-width:190px}.dashboard-table td:first-child small{display:block;padding-left:12px;color:#718277}
.dashboard-table.finance-hidden{min-width:640px}
.dashboard-member{display:block;padding:7px 12px;background:transparent;box-shadow:none;text-align:left;color:#125e48}.dashboard-member:hover{background:#e4f0e9;text-decoration:underline}.dashboard-table td:last-child{text-align:right;white-space:nowrap}.dashboard-table td:last-child button{font-size:12px;padding:8px 12px}
@media(max-width:1000px){.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.dashboard-head{align-items:start;flex-direction:column}.dashboard-tools{width:100%}.dashboard-finances{grid-template-columns:1fr}.dashboard-list .section-title{align-items:stretch;flex-direction:column}.dashboard-search{max-width:none;width:100%}}
@media(max-width:480px){.dashboard-stats{gap:10px}.dashboard-stat{min-height:115px;padding:17px}.dashboard-stat strong{font-size:34px}}

/* Keep member tags available while selecting photos farther down the album. */
.album-hashtag-panel{position:sticky;top:12px;z-index:5;background:rgba(255,255,255,.97);box-shadow:0 14px 38px rgba(34,55,40,.16)}
.album-hashtag-panel h2{margin-bottom:8px}
.album-selection-status{margin:0 0 10px;color:#087359;font-size:13px;font-weight:750}
.album-hashtag-panel .tag-list{max-height:min(20vh,180px);overflow-y:auto;margin:0;align-content:start}
.hashtag-option{border:1px solid #c9dfcf;box-shadow:none;text-transform:none;letter-spacing:0;white-space:normal;text-align:left}
.hashtag-option:hover,.hashtag-option:focus-visible{background:#cde7d7;border-color:#76ae8c;outline:2px solid #7dbca1;outline-offset:2px}
@media(max-width:750px){.album-hashtag-panel{top:8px;padding:16px}.album-hashtag-panel .tag-list{max-height:18vh}}

/* Member headings sit directly on their section surface. */
.member-page .panel > .section-title{
  margin:0 0 18px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.member-page .panel > .section-title h2{margin:0}

.member-album-list{margin-top:12px}
.member-album-entry{min-width:0}
.member-album-entry .album-list-item{flex:1;min-width:0}
.member-album-entry > .ghost{flex:none;white-space:nowrap}
.member-album-navigation{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:12px 0 4px}
.member-album-current{flex:1;min-width:170px}
.member-album-current h3{margin:0 0 3px;font-size:20px;overflow-wrap:anywhere}
.member-album-current small{display:block}
.member-albums{scroll-margin-top:12px}
@media(max-width:750px){
  .member-page .panel > .section-title{margin:0 0 16px;padding:0;flex-wrap:wrap}
  .member-album-entry{align-items:stretch;flex-direction:column;gap:5px}
  .member-album-entry > .ghost{align-self:flex-start}
  .member-album-navigation{align-items:flex-start}
}

/* Quiet sage glass: Wrappy's application-wide visual language. */
:root{color:#202a29;background:#eef1ed}
body{
  background:
    radial-gradient(ellipse 37% 31% at 95% 6%,rgba(156,180,162,.36),transparent 76%),
    radial-gradient(ellipse 32% 38% at 4% 69%,rgba(211,223,213,.48),transparent 78%),
    radial-gradient(ellipse 45% 32% at 75% 92%,rgba(172,194,174,.27),transparent 80%),
    linear-gradient(145deg,#f5f6f3 3%,#ecefec 54%,#e9eeea);
  background-attachment:fixed;
}
.topbar{
  width:min(calc(100% - 64px),1496px);
  min-height:82px;
  margin:10px auto 0;
  padding:10px 0;
  border:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.brand{color:#182c2b;font-size:29px;letter-spacing:-.075em}
.brand span{color:#719984}
#top-actions{
  gap:2px;
  padding:5px;
  border:1px solid rgba(255,255,255,.68);
  border-radius:999px;
  background:rgba(255,255,255,.43);
  box-shadow:0 12px 30px rgba(44,63,54,.055),inset 0 1px rgba(255,255,255,.8);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
}
#top-actions:empty{display:none}
.topbar button.ghost,.topbar select{
  min-height:40px;
  padding:8px 14px;
  border-color:transparent;
  background:transparent;
  color:#263432;
  font-size:13px;
  font-weight:650;
  box-shadow:none;
}
.topbar select{max-width:190px;margin-right:5px;border-right:1px solid rgba(57,78,67,.12);border-radius:0}
.topbar button.ghost:hover,.topbar select:hover,.topbar .nav-current{
  border-color:transparent;
  background:rgba(199,214,203,.42);
  color:#142e28;
}
main{max-width:1560px;padding:34px 32px 100px}
h1,h2,h3{color:#1c2d2b}
h1{letter-spacing:-.06em}
p,.muted{color:#60706d}
.eyebrow{color:#557e6f}
.panel,.dashboard-stat,.dashboard-finance{
  border:1px solid rgba(255,255,255,.84);
  background:rgba(255,255,255,.58);
  box-shadow:0 18px 42px rgba(56,72,62,.06),inset 0 1px rgba(255,255,255,.78);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
}
.panel{border-radius:22px}
.row,.album-list-item,.media-item,.activity-item{
  border-color:rgba(204,216,207,.48);
  background:rgba(250,252,250,.62);
  box-shadow:inset 0 1px rgba(255,255,255,.65);
}
.row:hover,.album-list-item:hover,.media-item:hover,.activity-item:hover{border-color:#aabfb1;background:rgba(255,255,255,.85)}
button{background:rgba(213,226,216,.64);color:#294d40;box-shadow:none}
button:hover{background:rgba(189,211,195,.78)}
button.primary{background:#202728;color:#fff;box-shadow:0 6px 15px rgba(27,38,35,.14)}
button.primary:hover{background:#35433e}
button.ghost{border-color:rgba(168,189,172,.65);background:rgba(255,255,255,.28);color:#263d35}
button.ghost:hover{background:rgba(255,255,255,.77)}
input,select,textarea{border-color:#d5ded7;background:rgba(255,255,255,.83)}
input:focus,select:focus,textarea:focus{outline-color:#88a899}
.tag{background:#e1ece4;color:#32614c}
.dashboard-stat.featured,.dashboard-finance{background:rgba(217,231,219,.59)}
.dashboard-stat strong,.dashboard-finance strong,.summary{color:#25473e}
.dashboard-member,.story-link,.album-list-arrow,.media-item-arrow{color:#385c4d}
.dashboard-table tr:hover td{background:rgba(220,232,222,.42)}
.wrap-cover{background:linear-gradient(130deg,#d5e3d5,#b7cebd 57%,#e1eae0);color:#19352c}
.wrap-cover .eyebrow,.wrap-cover h1,.wrap-cover p{color:#19352c}
.wrap-year{color:rgba(39,91,65,.19)}
.wrap-cover:after{border-color:#ffffff66;box-shadow:0 0 0 55px #ffffff18,0 0 0 110px #ffffff13}
.wrap-metric,.wrap-finance-item{background:#eef5ed}
.wrap-metric strong,.wrap-finance-item strong{color:#31594a}

/* Member page composition follows the approved mockup. */
.member-page > .hero{margin:8px 0 24px;align-items:flex-end}
.member-page > .hero h1{font-size:clamp(42px,5vw,64px)}
.member-tabs{
  display:flex;
  align-items:center;
  gap:4px;
  overflow-x:auto;
  scrollbar-width:thin;
  position:sticky;
  top:8px;
  z-index:12;
  width:max-content;
  max-width:100%;
  margin:0 0 18px;
  padding:5px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:999px;
  background:rgba(248,251,248,.78);
  box-shadow:0 10px 30px rgba(39,55,47,.08);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
}
.member-tab{flex:none;border:0;background:transparent;color:#435650;font-size:13px;font-weight:600;padding:9px 14px}
.member-tab:hover,.member-tab:focus-visible{background:rgba(211,226,215,.65);color:#163c31}
.member-board{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(350px,1fr);gap:18px;align-items:start}
.member-primary,.member-feature{min-width:0}
.member-identity{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:14px}
.member-identity > .panel{min-width:0;min-height:254px;margin-bottom:0;padding:22px}
.member-identity .row{min-width:0;align-items:flex-start;flex-direction:column;gap:3px;padding:11px 13px}
.member-identity .row + .row{margin-top:8px}
.member-identity .row strong,.member-identity .row small{max-width:100%;overflow-wrap:anywhere}
.member-identity .row small{font-size:12px}
.admin-directory{margin-top:24px}
.admin-organizations{margin-top:24px}
.admin-organization-list{display:grid;gap:12px}
.admin-organization{padding:18px;border:1px solid rgba(204,216,207,.7);border-radius:18px;background:rgba(250,252,250,.65)}
.admin-organization-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}
.admin-organization-heading strong,.admin-organization-heading small{display:block;overflow-wrap:anywhere}
.admin-organization-heading strong{font-size:17px;margin-bottom:4px}
.admin-organization-form{border-top:1px solid #e1e8e0;margin-top:15px;padding-top:15px}
.admin-organization-form[hidden]{display:none}
.admin-organization-form .fields{margin-bottom:10px}
@media(max-width:600px){.admin-organization{padding:15px}.admin-organization-heading{align-items:start;flex-direction:column}}
.admin-user-search{width:min(100%,390px);margin-bottom:18px}
.admin-user-list{display:grid;gap:14px}
.admin-user{padding:20px;border:1px solid rgba(204,216,207,.7);border-radius:18px;background:rgba(250,252,250,.65)}
.admin-user-heading,.admin-grant{display:flex;align-items:center;justify-content:space-between;gap:16px}
.admin-user-heading{margin-bottom:12px}
.admin-user-heading strong{display:block;font-size:17px}
.admin-user-heading small{display:block;margin-top:3px}
.admin-badges,.admin-user-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.admin-inactive{background:#f4e9e4;color:#83533f}
.admin-grant{border-top:1px solid #e1e8e0;padding:14px 0;align-items:end}
.admin-grant-name{min-width:140px;max-width:240px}
.admin-grant-name strong,.admin-grant-name small{display:block;overflow-wrap:anywhere}
.admin-role-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap}
.admin-role-form label{width:155px;margin:0}
.admin-role-form label span{display:block;margin-bottom:5px}
.admin-role-form button{white-space:nowrap}
.admin-user-actions{justify-content:flex-end;margin-top:14px}
.admin-reset{margin-top:14px;border-top:1px solid #e1e8e0;padding-top:14px}
.admin-reset[hidden]{display:none}
.admin-password-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap}
.admin-password-form label{min-width:200px;flex:1;margin:0}
.admin-password-form label span{display:block;margin-bottom:5px}
@media(max-width:850px){.admin-grant{display:block}.admin-grant-name{margin-bottom:10px;max-width:none}.admin-role-form label{flex:1;min-width:145px}}
@media(max-width:600px){.admin-user{padding:15px}.admin-user-heading{align-items:start;flex-direction:column}.admin-role-form label,.admin-role-form button,.admin-password-form label,.admin-password-form button{width:100%}.admin-user-actions button{flex:1}}
.member-identity .member-link-row{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
.member-link-info{display:grid;gap:3px;min-width:0}
.member-identity .member-link-row button{flex:none;padding:7px 12px;font-size:12px}
@media(max-width:600px){.member-identity .member-link-row{align-items:flex-start;flex-wrap:wrap}.member-identity .member-link-row button{margin-left:auto}}
.member-page .wrap-panel{
  margin-top:14px;
  padding:24px;
  background:linear-gradient(125deg,rgba(224,237,225,.75),rgba(244,248,243,.52) 65%,rgba(214,230,215,.7));
  border-color:rgba(255,255,255,.88);
  box-shadow:0 18px 42px rgba(56,72,62,.06),inset 0 1px rgba(255,255,255,.85);
  overflow:clip;
}
.member-page .wrap-panel::after{right:-230px;bottom:-390px;border-color:rgba(85,134,99,.1);box-shadow:0 0 0 44px rgba(115,155,118,.055),0 0 0 105px rgba(115,155,118,.04)}
.member-page .wrap-panel h2,.member-page .wrap-panel .summary,.member-page .wrap-panel p,.member-page .wrap-panel .muted{color:#213531}
.member-page .wrap-panel .summary small{color:#657973}
.member-page .wrap-panel .summary{
  padding:8px 16px 8px 0;
  border:0;
  border-radius:0;
  background:transparent;
  font-size:clamp(24px,2.35vw,34px);
  line-height:1.18;
}
.member-page .wrap-panel .grid.thirds{gap:0;margin:6px 0 14px}
.member-page .wrap-panel .grid.thirds .summary + .summary{border-left:1px solid rgba(85,118,98,.17);padding-left:24px}
.member-page .wrap-panel .finance-wrap{gap:0;margin:0;padding-top:14px;border-top:1px solid rgba(85,118,98,.17)}
.member-page .wrap-panel .finance-wrap .summary + .summary{border-left:1px solid rgba(85,118,98,.17);padding-left:24px}
.member-page .wrap-panel button.ghost{color:#243d34;border-color:#afc2b3}
.member-page .wrap-panel button.ghost:hover{background:#fff}
.member-page .member-albums{min-height:365px}
.member-albums .section-title{align-items:flex-start}
.member-albums .section-title .button-row{gap:6px}
.member-albums .section-title .button-row button{font-size:12px;padding:8px 11px}
.member-albums .search-form{margin-bottom:16px}
.member-albums .search-form label span{font-size:11px}
.member-album-tools{display:flex;justify-content:flex-end;margin:-4px 0 14px}
.member-album-tools .ghost{font-size:12px;padding:7px 12px}
.member-album-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
.member-album-entry{display:flex;flex-direction:column;align-items:stretch;gap:5px}
.member-album-entry .album-list-item{display:flex;flex-direction:column;align-items:stretch;gap:9px;padding:8px;border-radius:16px}
.member-album-entry .album-cover{width:100%;height:clamp(145px,19vw,255px);object-fit:cover;border-radius:11px}
.member-album-entry .album-cover-empty{min-height:145px}
.member-album-entry .album-list-info{padding:3px 7px 5px}
.member-album-entry .album-list-info strong{font-size:15px}
.member-album-entry .album-list-arrow{display:none}
.member-album-entry > .ghost{align-self:flex-start;border:0;font-size:12px;padding:7px 10px}
.member-photo-gallery{max-height:min(74vh,800px);overflow:auto;padding:2px;scrollbar-color:#9cb8a5 transparent}
.member-photo-gallery .photo-card img{height:160px}
.member-lower{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start;margin-top:2px}
.member-lower > .panel{min-width:0}
.member-page .panel[id]{scroll-margin-top:135px}
.member-page .member-albums{scroll-margin-top:135px}

@media(max-width:1150px){
  .member-board{grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr)}
  .member-identity{grid-template-columns:1fr}
  .member-identity > .panel{min-height:0}
}
@media(max-width:850px){
  .topbar{width:calc(100% - 30px);flex-wrap:wrap;justify-content:center}
  .brand{margin-right:auto}
  #top-actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;border-radius:18px}
  #top-actions > *{flex:none}
  .member-board{grid-template-columns:1fr}
  .member-identity{grid-template-columns:repeat(2,minmax(0,1fr))}
  .member-lower{grid-template-columns:1fr}
  .member-page .member-albums{min-height:0}
}
@media(max-width:600px){
  
  .topbar{padding:8px 0}
  
  .member-tabs{top:5px;max-width:100%;border-radius:17px}
  .member-identity{grid-template-columns:1fr}
  .member-page .wrap-panel .grid.thirds{grid-template-columns:repeat(3,minmax(0,1fr))}
  .member-page .wrap-panel .summary{padding:6px 5px 6px 0}
  
  .member-page .wrap-panel .grid.thirds .summary + .summary{padding-left:9px}
  .member-page .wrap-panel .finance-wrap{grid-template-columns:1fr}
  .member-page .wrap-panel .finance-wrap .summary + .summary{border-left:0;border-top:1px solid rgba(85,118,98,.17);padding-left:0;padding-top:12px}
  .member-album-list{grid-template-columns:1fr}
  .member-album-entry .album-cover{height:230px}
  .member-page .panel[id],.member-page .member-albums{scroll-margin-top:125px}
}

/* Activity hub and annual event table. */
.activity-connection{margin-top:18px}
.activity-view-tools{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap;margin:0 0 18px}
.activity-view-tools label{width:150px}
.activity-view-tools .nav-current{background:#dcebe1;border-color:#8cb5a0;color:#164939}
.activity-year-panel .media-filter{max-width:370px;margin-bottom:12px}
.activity-year-scroll{max-width:100%;border:1px solid #e0e9e2;border-radius:15px}
.activity-year-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;font-size:13px}
.activity-year-table th{position:sticky;top:0;background:#e8f2eb;z-index:2;white-space:normal;min-width:88px;max-width:140px;line-height:1.3}
.activity-year-table th,.activity-year-table td{padding:13px 14px;border-right:1px solid #e2eae2;border-bottom:1px solid #e2eae2;vertical-align:top}
.activity-year-table td{background:#fff;line-height:1.5}
.activity-year-table tr:nth-child(even) td{background:#fafcf9}
.activity-year-table tr:hover td{background:#eff7f0}
.activity-year-table td:nth-child(1),.activity-year-table th:nth-child(1){position:sticky;left:0;min-width:105px;z-index:1}
.activity-year-table td:nth-child(2),.activity-year-table th:nth-child(2){position:sticky;left:105px;min-width:260px;max-width:330px;z-index:1}
.activity-year-table th:nth-child(-n+2){z-index:3;background:#e8f2eb}
.activity-year-table td:nth-child(4),.activity-year-table td:nth-child(5){min-width:165px;max-width:260px;overflow-wrap:anywhere}
.activity-year-table td.numeric{text-align:center;color:#0c7158;font-weight:700}
.activity-year-table .activity-event-link{padding:0;min-height:0;background:transparent;box-shadow:none;text-align:left;color:#08664f;line-height:1.35}
.activity-year-table .activity-event-link:hover{text-decoration:underline;background:transparent}
@media(max-width:650px){.activity-view-tools{align-items:stretch}.activity-view-tools label{width:100%}.activity-year-table td:nth-child(1),.activity-year-table th:nth-child(1){position:static}.activity-year-table td:nth-child(2),.activity-year-table th:nth-child(2){left:0;min-width:180px;max-width:220px}}
.activity-connection .activity-participant{align-items:center}
.activity-connection .activity-participant-info{min-width:0;overflow-wrap:anywhere}
.activity-connection .activity-participant-info a{color:var(--green,#086b52);font-weight:700}
.activity-link-picker{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-top:18px}
.activity-link-picker label{flex:1 1 240px;max-width:560px}
.activity-link-picker select{width:100%}
@media(max-width:600px){.activity-connection .activity-participant{align-items:flex-start;flex-direction:column}.activity-link-picker button{width:100%}}
/* Browse an album without closing the photo modal. */
.photo-modal-stage{position:relative}
.photo-modal-nav{position:absolute;z-index:1;top:50%;display:grid;place-items:center;width:48px;height:48px;padding:0;transform:translateY(-50%);border:1px solid #ffffffaa;border-radius:50%;background:#fffffff0;color:#173d31;font-size:36px;font-weight:400;line-height:1;box-shadow:0 4px 18px #0005}
.photo-modal-nav:hover{background:#fff}.photo-modal-prev{left:16px}.photo-modal-next{right:16px}
.photo-modal-position{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);padding:5px 12px;border-radius:999px;background:#10251fc9;color:#fff;font-size:13px;font-variant-numeric:tabular-nums}
@media(max-width:750px){.photo-modal-nav{width:38px;height:38px;font-size:28px}.photo-modal-prev{left:8px}.photo-modal-next{right:8px}.photo-modal-position{bottom:8px}}

/* A quieter, more compact type scale on phones. Keep inputs at 16px to avoid iOS focus zoom. */
@media(max-width:600px){
  :root{font-size:15px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
  main{padding:22px 14px 64px}
  h1{font-size:32px;line-height:1.1}
  h2,.section-title h2{font-size:19px}
  h3{font-size:15px}
  .eyebrow{font-size:10px;letter-spacing:.16em}
  .topbar button.ghost,.topbar select{font-size:12px}
  button{min-height:42px;padding:8px 13px;font-size:13px}
  input,select,textarea{font-size:16px}
  label{font-size:12px}
  .panel{padding:17px;border-radius:19px}
  .section-title{gap:8px}
  .row,.album-list-item,.media-item,.activity-item{padding:12px 14px}
  .row strong,.media-item-info strong{font-size:14px}
  .member-page > .hero{align-items:flex-start;gap:12px;margin:6px 0 18px}
  .member-page > .hero h1{font-size:34px;overflow-wrap:anywhere}
  .member-page > .hero .ghost{align-self:flex-start}
  .member-tabs{margin-bottom:14px;padding:4px}
  .member-tab{min-height:38px;padding:7px 10px;font-size:12px}
  .member-identity > .panel,.member-page .wrap-panel{padding:17px}
  .member-identity .row{padding:10px 12px}
  .member-identity .row strong{font-size:14px}
  .member-identity .row small{font-size:12px;line-height:1.45}
  .member-page .wrap-panel .summary{font-size:23px}
  .member-page .wrap-panel .summary small{font-size:11px}
  .member-album-entry .album-list-info strong{font-size:14px}
  .dashboard-stat{min-height:106px;padding:17px}
  .dashboard-stat strong{font-size:30px}
  .dashboard-finance strong{font-size:26px}
}
