:root{--haeon:#334d3c;--sun:#e9ad44;--sage:#8f9d7c;--paper:#faf8f1}.haeon-brand-motion{width:min(360px,75vw);height:auto;display:block;margin:0 auto 20px}.haeon-tagline{color:var(--haeon);font-weight:600;letter-spacing:.08em}.gallery-filters{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0}.gallery-filters button{border:1px solid #d8dfd0;background:#fff;padding:10px 18px;border-radius:30px;cursor:pointer}.gallery-filters button[aria-pressed=true]{background:var(--haeon);color:white}.gallery-group{margin:34px 0}.gallery-group[hidden]{display:none}.haeon-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.haeon-gallery-grid figure{margin:0;background:#fff;border:1px solid #e4e8dc;border-radius:16px;overflow:hidden}.haeon-gallery-grid img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;transition:transform .5s}.haeon-gallery-grid a{display:block;overflow:hidden}.haeon-gallery-grid a:hover img{transform:scale(1.025)}.haeon-gallery-grid figcaption{padding:16px;font-weight:700}.haeon-gallery-grid small{display:block;margin-top:7px;font-size:12px;color:#6a7368;font-weight:400}#gallery-lightbox{max-width:94vw;width:1200px;padding:20px;background:var(--paper);border:0;border-radius:18px}#gallery-lightbox::backdrop{background:#12251be8}#gallery-lightbox img{display:block;width:100%;max-height:75vh;object-fit:contain}#gallery-lightbox>div{display:flex;justify-content:space-between;gap:10px}#gallery-close{display:block;margin-left:auto;margin-bottom:12px}.admin-shell{max-width:1200px;margin:30px auto;padding:0 22px}.admin-card{background:white;border:1px solid #dde3d6;border-radius:18px;padding:24px;margin:20px 0}.admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.admin-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}.admin-form label{display:flex;flex-direction:column;gap:8px}.admin-form input,.admin-form select,.admin-form textarea{width:100%;padding:12px;border:1px solid #c7d0c2;border-radius:8px;font:inherit;box-sizing:border-box}.admin-form button{align-self:end}.admin-nav{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.admin-nav button.active{background:var(--haeon);color:#fff}.admin-shell button{cursor:pointer;padding:11px 16px;border-radius:8px;border:1px solid #c7d0c2}.admin-shell button.primary{background:var(--haeon);color:#fff}.admin-shell pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f4f6ee;padding:20px}.admin-shell table{width:100%;border-collapse:collapse;min-width:600px}.admin-shell th,.admin-shell td{padding:12px;text-align:left;border-bottom:1px solid #e3e7dc}.admin-status{min-height:24px;color:#795011}.admin-shell [hidden]{display:none!important}.metric{font-size:26px;color:var(--haeon);font-weight:700}.admin-brand{width:180px;height:150px;object-fit:contain}.admin-shell a{color:var(--haeon)}@media(max-width:900px){.haeon-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.haeon-gallery-grid{grid-template-columns:1fr}.admin-shell{padding:0 14px}.admin-card{padding:18px}.admin-form{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.haeon-gallery-grid img{transition:none}}
/* Full-size gallery flow: current image exits left, next image enters from right. */
.gallery-flow-stage{position:relative;overflow:hidden;width:100%;aspect-ratio:3/2;max-height:75vh;background:#f3f1e8}#gallery-lightbox .gallery-flow-stage img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain}.gallery-flow-outgoing{z-index:1;pointer-events:none}@media(prefers-reduced-motion:reduce){#gallery-lightbox .gallery-flow-stage img{transition:none!important}}

.login-role-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 28px}.login-role-choice{display:block;padding:20px;border:1px solid #b5c9bc;border-radius:12px;background:#eff5ef;color:#214d3b;text-decoration:none;min-height:90px}.login-role-choice:first-child{background:#244c3d;color:#fff;border-color:#244c3d}.login-role-choice strong{display:block;font-size:17px;margin-bottom:8px}.login-role-choice span{display:block;font-size:13px;line-height:1.7;word-break:keep-all}.login-role-choice:focus-visible{outline:3px solid #bc8a43;outline-offset:4px}@media(max-width:650px){.login-role-choices{grid-template-columns:1fr}.login-role-choice{padding:18px;min-height:80px}}
