.photo-box-shell{min-height:100svh;padding:1rem;color:var(--ink,#3f4740);background:radial-gradient(circle at 100% 0%,rgb(203 221 225 / 55%),transparent 27rem),var(--cream,#fbf7ef);font-size:16px}.photo-box-nav,.photo-box-header,.photo-box-success,.photo-box-page-error,.photo-box-upload-panel,.photo-box-gallery-section,.photo-box-empty{width:min(100%,86rem);margin-right:auto;margin-left:auto}.photo-box-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.2rem;gap:.75rem}.photo-box-nav strong{display:block;margin-top:.15rem;color:var(--sage-deep,#586c56);font-family:var(--theme-heading-font,Georgia,serif);font-size:1.2rem}.photo-box-eyebrow{color:var(--sage-deep,#586c56);font-size:.68rem;font-weight:750;letter-spacing:.18em;text-transform:uppercase}.photo-box-secondary,.photo-box-primary{display:inline-flex;min-height:44px;align-items:center;justify-content:center;padding:.65rem 1rem;border-radius:999px;font-size:.8rem;font-weight:700;text-decoration:none}.photo-box-secondary{border:1px solid #bcc1bd;color:var(--ink,#3f4740);background:rgb(255 253 249 / 78%)}.photo-box-primary{border:1px solid var(--sage-deep,#586c56);color:#fff;background:var(--sage-deep,#586c56)}.photo-box-secondary:hover,.photo-box-secondary:focus-visible{border-color:var(--sage-deep,#586c56);color:var(--sage-deep,#586c56);background:#fff}.photo-box-primary:hover,.photo-box-primary:focus-visible{color:#fff;background:#485c47}.photo-box-primary:disabled{cursor:wait;opacity:.6}
.photo-box-header{display:grid;margin-bottom:1rem;padding:1.35rem;border:1px solid rgb(183 185 184 / 65%);border-radius:var(--theme-radius,1.2rem);background:var(--warm-white,#fffdf9);box-shadow:0 1rem 3rem rgb(63 71 64 / 7%);gap:1rem}.photo-box-header h1{margin:.5rem 0;color:var(--sage-deep,#586c56);font-family:var(--theme-heading-font,Georgia,serif);font-size:clamp(2.2rem,10vw,4.3rem);font-weight:400;letter-spacing:-.045em;line-height:1}.photo-box-header p{margin:0;color:#68736b;line-height:1.6}.photo-box-event-filter label{display:block;margin-bottom:.35rem;color:#566159;font-size:.74rem;font-weight:750}.photo-box-event-filter .form-select{min-height:44px;border-color:#c9cdca;border-radius:.68rem;background-color:#fffefa;font-size:.8rem}.photo-box-success{margin-bottom:1rem;border-color:rgb(135 155 130 / 45%);color:var(--sage-deep,#586c56);background:rgb(135 155 130 / 15%)}.photo-box-page-error{margin-bottom:1rem}
.photo-box-upload-panel,.photo-box-gallery-section{margin-bottom:1rem;padding:1.15rem;border:1px solid rgb(183 185 184 / 65%);border-radius:var(--theme-radius,1.15rem);background:var(--warm-white,#fffdf9);box-shadow:0 1rem 3rem rgb(63 71 64 / 7%)}.photo-box-section-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1rem;gap:.7rem}.photo-box-section-heading h2{margin:.28rem 0 0;color:var(--sage-deep,#586c56);font-family:var(--theme-heading-font,Georgia,serif);font-size:clamp(1.45rem,6vw,2rem);font-weight:400}.photo-box-section-heading>span{padding:.3rem .55rem;border-radius:999px;color:#536a70;background:rgb(203 221 225 / 45%);font-size:.66rem;font-weight:750}.photo-box-drop-zone{display:flex;min-height:15rem;align-items:center;justify-content:center;flex-direction:column;padding:1.2rem;border:2px dashed #c8cfca;border-radius:var(--theme-radius,1rem);background:#fbfaf6;text-align:center;transition:border-color 160ms ease,background 160ms ease}.photo-box-drop-zone.is-dragging{border-color:var(--sage-deep,#586c56);background:rgb(135 155 130 / 10%)}.photo-box-drop-zone>span{color:var(--ice-blue-deep,#7999a1);font-size:2rem}.photo-box-drop-zone>strong{margin-top:.4rem;color:#536057}.photo-box-drop-zone>p{margin:.2rem 0 .75rem;color:#79827b;font-size:.76rem}.photo-box-drop-zone>input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.photo-box-drop-zone>small{margin-top:.6rem;color:#808881;font-size:.65rem}.photo-box-file-errors{margin-top:.7rem;padding:.7rem;border:1px solid #efc2c7;border-radius:.7rem;color:#9b333d;background:#fae9eb;font-size:.72rem}.photo-box-file-errors p{margin:.18rem 0}.photo-box-selected-summary{display:flex;align-items:center;justify-content:space-between;margin:.9rem 0 .55rem;color:#667169;font-size:.72rem;gap:.6rem}.photo-box-selected-grid{display:grid;gap:.55rem}.photo-box-selected-grid article{position:relative;display:grid;grid-template-columns:4.5rem minmax(0,1fr) 44px;align-items:center;overflow:hidden;border:1px solid #dfe2df;border-radius:.72rem;background:#fffefa;gap:.6rem}.photo-box-selected-grid img{width:4.5rem;height:4.5rem;object-fit:cover}.photo-box-selected-grid article>div{min-width:0}.photo-box-selected-grid span,.photo-box-selected-grid small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-box-selected-grid span{font-size:.72rem;font-weight:700}.photo-box-selected-grid small{color:#7d857f;font-size:.62rem}.photo-box-selected-grid button{width:44px;height:44px;border:0;color:#8a5e58;background:transparent;font-size:1.3rem}.photo-box-quota{margin-top:.8rem}.photo-box-quota>div:first-child{display:flex;justify-content:space-between;color:#727c74;font-size:.68rem;gap:.6rem}.photo-box-quota>div:last-child{overflow:hidden;height:.45rem;margin-top:.35rem;border-radius:999px;background:#e8ebe8}.photo-box-quota>div:last-child span{display:block;height:100%;border-radius:inherit;background:var(--sage-deep,#586c56)}.photo-box-upload-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:1rem;gap:.7rem}.photo-box-upload-actions>span{color:#737d75;font-size:.7rem}.photo-box-upload-progress{position:relative;overflow:hidden;margin-top:.6rem;padding:.55rem;border-radius:.6rem;color:#536057;background:#edf1ed;font-size:.7rem;text-align:center}.photo-box-upload-progress span{position:absolute;inset:0 auto 0 0;opacity:.16;background:var(--sage-deep,#586c56)}
.photo-box-gallery{display:grid;gap:.8rem}.photo-box-card{overflow:hidden;border:1px solid #dfe2df;border-radius:var(--theme-radius,1rem);background:#fffefa}.photo-box-image-button{display:block;width:100%;min-height:10rem;padding:0;border:0;background:#e8ece9}.photo-box-image-button img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}.photo-box-card-body{padding:.8rem}.photo-box-card-body>div:first-child{display:grid;gap:.15rem}.photo-box-card-body>div:first-child strong{color:#536057;font-size:.75rem}.photo-box-card-body>div:first-child span{color:#7c857e;font-size:.62rem}.photo-box-card-body>p{margin:.55rem 0 0;color:#4f5a52;font-size:.84rem;line-height:1.5;white-space:pre-wrap}.photo-box-card-body .photo-box-no-caption{color:#929892;font-style:italic}.photo-box-card-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;margin-top:.45rem;gap:.45rem}.photo-box-text-button{min-height:44px;padding:.45rem;border:0;border-radius:.35rem;color:var(--sage-deep,#586c56);background:transparent;font-size:.7rem;font-weight:700;text-decoration:underline;text-underline-offset:.18rem}.photo-box-text-button.is-danger{color:#945f5a}.photo-box-text-button:disabled{cursor:not-allowed;opacity:.45}.photo-box-caption-editor{margin-top:.65rem}.photo-box-caption-editor label{display:block;margin-bottom:.3rem;color:#536057;font-size:.7rem;font-weight:750}.photo-box-caption-editor textarea{width:100%;padding:.55rem;border:1px solid #c9cdca;border-radius:.6rem;color:var(--ink,#3f4740);background:#fff;resize:vertical}.photo-box-caption-editor>div:last-child{display:flex;justify-content:flex-end;margin-top:.45rem;gap:.45rem}.photo-box-field-error{margin:.3rem 0;color:#b02a37;font-size:.7rem}.photo-box-empty{padding:4rem 1rem;border:1px solid rgb(183 185 184 / 60%);border-radius:var(--theme-radius,1.1rem);background:var(--warm-white,#fffdf9);text-align:center}.photo-box-empty.is-gallery{width:100%;padding:3rem 1rem;border:0;box-shadow:none}.photo-box-empty>span{display:inline-grid;width:3.25rem;height:3.25rem;place-items:center;border-radius:50%;color:var(--ice-blue-deep,#7999a1);background:rgb(203 221 225 / 42%);font-size:1.4rem}.photo-box-empty h2,.photo-box-empty h3{margin:.85rem 0 .3rem;color:var(--sage-deep,#586c56);font-family:var(--theme-heading-font,Georgia,serif);font-size:1.35rem;font-weight:400}.photo-box-empty p{max-width:30rem;margin:0 auto;color:#727c74;font-size:.8rem;line-height:1.5}.photo-box-pagination{display:flex;align-items:center;justify-content:space-between;margin-top:1rem;padding:.75rem;border:1px solid #d9ddda;border-radius:.75rem;background:#faf9f5;gap:.7rem}.photo-box-pagination>span{color:#747d76;font-size:.68rem}.photo-box-pagination>div{display:flex;gap:.45rem}.photo-box-pagination>div>span{display:inline-flex;min-height:44px;align-items:center;padding:.65rem 1rem;border:1px solid #ddd;border-radius:999px;color:#999;font-size:.75rem}
.photo-box-dialog{width:min(calc(100% - 1.5rem),58rem);max-height:calc(100svh - 1.5rem);padding:0;border:0;border-radius:var(--theme-radius,1rem);color:var(--ink,#3f4740);background:var(--warm-white,#fffdf9);box-shadow:0 2rem 6rem rgb(28 34 29 / 28%)}.photo-box-dialog::backdrop{background:rgb(30 36 31 / 68%)}.photo-box-dialog-top{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;gap:.7rem}.photo-box-dialog-top strong,.photo-box-dialog-top span{display:block}.photo-box-dialog-top strong{color:#536057;font-size:.78rem}.photo-box-dialog-top span{color:#7c857e;font-size:.65rem}.photo-box-dialog-top button{width:44px;height:44px;border:0;border-radius:50%;color:#59645b;background:#eef0ee;font-size:1.3rem}.photo-box-dialog>img{display:block;width:100%;max-height:65svh;object-fit:contain;background:#e8ebe8}.photo-box-dialog>p{margin:0;padding:1rem 1rem 0;line-height:1.55;white-space:pre-wrap}.photo-box-dialog dl{display:grid;margin:0;padding:1rem;gap:.45rem}.photo-box-dialog dl div{display:flex;justify-content:space-between;gap:1rem}.photo-box-dialog dt,.photo-box-dialog dd{font-size:.68rem}.photo-box-dialog dt{color:#7b847d}.photo-box-dialog dd{margin:0;text-align:right}.photo-box-dialog>.photo-box-primary{margin:0 1rem 1rem}
.photo-box-event-filter .form-select:focus,.photo-box-drop-zone:focus-within,.photo-box-primary:focus-visible,.photo-box-secondary:focus-visible,.photo-box-selected-grid button:focus-visible,.photo-box-image-button:focus-visible,.photo-box-text-button:focus-visible,.photo-box-caption-editor textarea:focus,.photo-box-dialog-top button:focus-visible{border-color:var(--ice-blue-deep,#7999a1);outline:3px solid rgb(121 153 161 / 30%);outline-offset:2px;box-shadow:none}
@media(max-width:575.98px){.photo-box-upload-actions{align-items:stretch;flex-direction:column}.photo-box-upload-actions .photo-box-primary{width:100%}.photo-box-pagination{align-items:stretch;flex-direction:column}.photo-box-dialog dl div{align-items:flex-start;flex-direction:column;gap:.1rem}.photo-box-dialog dd{text-align:left}}
@media(min-width:576px){.photo-box-shell{padding:1.5rem}.photo-box-header,.photo-box-upload-panel,.photo-box-gallery-section{padding:1.5rem}.photo-box-selected-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-box-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:768px){.photo-box-header{grid-template-columns:minmax(0,1.2fr) minmax(17rem,.8fr);align-items:end;gap:2rem}.photo-box-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1100px){.photo-box-shell{padding:2.5rem}.photo-box-nav{margin-bottom:2rem}.photo-box-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.photo-box-shell *,.photo-box-shell *::before,.photo-box-shell *::after{scroll-behavior:auto!important;transition:none!important}}
