
.site-tabs{background:#fff;border-bottom:1px solid var(--line)}.site-tabs>.wrap{display:flex;gap:30px}.site-tabs a{display:block;padding:15px 3px;border-bottom:3px solid transparent;font-size:16px;font-weight:700;color:var(--muted)}.site-tabs a[aria-current=page]{border-color:var(--green);color:var(--green)}.guide-admin-link{padding-top:12px;font-size:13px}.guide-admin-link a{text-decoration:underline}.portfolio-main{padding-top:48px}.portfolio-intro{padding:14px 0 38px}.eyebrow{display:block;font-size:12px;letter-spacing:1.6px;color:var(--green);font-weight:800}.portfolio-intro h1,.admin-heading h1{font-size:42px;letter-spacing:-1.6px;margin:11px 0 15px}.portfolio-intro p{font-size:18px;line-height:1.85}.portfolio-toolbar{border-top:1px solid var(--line);padding:24px 0;display:flex;justify-content:space-between;align-items:center;gap:15px}.category-tabs{display:flex;gap:8px;flex-wrap:wrap}.category-tabs button,.management-tabs button{border:1px solid var(--line);border-radius:99px;padding:8px 18px;background:white;color:var(--muted);font-size:15px;font-weight:700}.category-tabs .selected,.management-tabs .selected{background:var(--green);border-color:var(--green);color:#fff}.result-count{font-size:14px;white-space:nowrap;color:var(--muted)}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 22px}.project-card{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden}.project-card>button{border:0;background:transparent;text-align:left;padding:0;width:100%;color:inherit}.project-cover{position:relative;overflow:hidden;aspect-ratio:4/3;background:#e6e9e2}.project-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.project-card:hover img{transform:scale(1.035)}.project-cover span{position:absolute;bottom:12px;right:12px;background:#13382be0;color:white;border-radius:99px;font-size:12px;padding:4px 10px}.project-info{padding:20px}.project-info small{font-size:12px;color:var(--green);font-weight:700}.project-info h2{font-size:20px;letter-spacing:-.5px;margin-top:6px}.project-info p{font-size:14px;margin-top:8px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.gallery-status{text-align:center;border:1px dashed #b6c9be;border-radius:16px;padding:60px 25px;background:#fff;margin:5px 0 30px}.gallery-status h2{font-size:25px;margin-bottom:10px}.gallery-status .button{margin-top:18px}.portfolio-cta{background:#e6eee5;padding:30px;border-radius:16px;margin:50px 0}.portfolio-cta h2{font-size:25px}.portfolio-cta p{font-size:16px;margin-top:7px}.portfolio-cta .button{margin-top:20px}.portfolio-footer{display:flex;justify-content:space-between;align-items:center;gap:20px}.portfolio-footer>a{font-size:13px;text-decoration:underline}.portfolio-footer p{font-size:13px}.project-dialog{padding:0;width:min(1080px,calc(100% - 32px));max-height:94vh;overflow:auto;border:0;border-radius:15px}.project-dialog::backdrop{background:#11211ce8}.viewer-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 25px;position:sticky;top:0;z-index:2;background:#fff}.viewer-head h2{font-size:23px;letter-spacing:-.6px;margin-top:4px}.close-viewer{border:0;border-radius:8px;background:#eef3eb;padding:10px 15px;white-space:nowrap;color:var(--green)}.viewer-image{position:relative;background:#172520;display:flex;align-items:center;justify-content:center;min-height:200px}.viewer-image>img{display:block;max-width:100%;max-height:64vh;width:auto;height:auto}.viewer-image>button{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:50px;background:#fffE;border:0;border-radius:8px;font-size:32px;z-index:1}.viewer-image>button:first-child{left:12px}.viewer-image>button:last-child{right:12px}.viewer-details{padding:18px 25px 24px}.viewer-details>span{font-size:14px;color:var(--green);font-weight:700}.viewer-details p{margin:9px 0;white-space:pre-line;font-size:16px}.viewer-thumbnails{display:flex;gap:9px;overflow-x:auto;padding:10px 0}.viewer-thumbnails button{padding:0;border:3px solid transparent;border-radius:7px;background:#eef2ed;flex:0 0 75px;height:65px;overflow:hidden}.viewer-thumbnails button.selected{border-color:var(--green)}.viewer-thumbnails img{width:100%;height:100%;object-fit:cover}.login-card{max-width:600px;margin:65px auto;padding:45px 35px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:20px}.login-card h1{font-size:32px;margin:12px 0 20px}.login-card .button{margin:25px 0 18px}.login-card .text-link{display:block}.text-link{color:var(--green);font-size:14px;text-decoration:underline;text-underline-offset:4px}.form-error{color:#a5362a!important;background:#fff0eb;padding:16px;border-radius:9px;margin-top:20px}.admin-main{padding-top:36px;padding-bottom:50px}.admin-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.admin-heading h1{font-size:34px}.admin-heading p{font-size:16px}.admin-layout{display:grid;grid-template-columns:1.05fr 1fr;align-items:start;gap:25px}.editor-panel,.management-panel{background:#fff;border:1px solid var(--line);border-radius:17px;padding:27px;min-width:0}.editor-panel h2,.management-heading h2{font-size:23px}.editor-panel fieldset{border:0;padding:0;margin:0;min-width:0}.field-label{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:15px;font-weight:700;margin:22px 0 8px}.field-label span{font-size:12px;color:var(--muted);font-weight:400}.editor-panel input:not([type=checkbox]):not([type=file]),.editor-panel select,.editor-panel textarea{width:100%;border:1px solid #b9c9be;border-radius:8px;background:white;padding:12px 13px;font:inherit;font-size:16px;color:var(--ink)}.editor-panel textarea{resize:vertical}.upload-zone{border:2px dashed #aabfb0;background:#f5f8f2;padding:24px 15px;display:flex;flex-direction:column;align-items:center;border-radius:12px;text-align:center;position:relative;cursor:pointer;gap:4px}.upload-zone.dragging{background:#e2f1df;border-color:var(--green)}.upload-plus{font-size:28px;color:var(--green);line-height:1.2}.upload-zone strong{font-size:17px}.upload-zone>span:not(.upload-plus){font-size:13px;color:var(--muted)}.upload-zone small{font-size:12px;color:var(--muted)}.upload-zone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-zone:focus-within{outline:3px solid #d89326;outline-offset:3px}.field-help{font-size:13px;margin-top:10px}.photo-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:15px}.edit-photo{min-width:0;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#f5f8f3}.edit-photo img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.edit-photo .cover-label{font-size:11px;display:block;padding:2px 7px;background:var(--green);color:#fff;text-align:center}.edit-photo-actions{display:flex;justify-content:center;gap:4px;padding:6px}.edit-photo-actions button{padding:3px 7px;border:0;background:white;font-size:13px;border-radius:4px}.edit-photo-actions button:disabled{opacity:.35;cursor:default}.published-field{display:flex;align-items:flex-start;gap:10px;margin:24px 0}.published-field input{width:19px;height:19px;margin-top:4px;accent-color:var(--green)}.published-field strong{font-size:16px}.published-field small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.editor-actions{display:flex;flex-wrap:wrap;gap:9px}.editor-status{font-size:14px;margin-top:15px;white-space:pre-line;color:var(--green)}.editor-status.error{color:#a5362a}.management-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.management-heading .button{font-size:12px;padding:8px 10px;min-height:37px}.management-tabs{display:flex;gap:8px;margin:22px 0}.management-tabs button{font-size:13px;padding:6px 13px}.management-list{display:grid;gap:15px}.managed-card{border:1px solid var(--line);border-radius:11px;overflow:hidden}.managed-top{display:grid;grid-template-columns:105px 1fr;gap:15px;padding:14px;align-items:center}.managed-top img{width:105px;height:85px;object-fit:cover;border-radius:6px}.managed-top h3{font-size:17px;margin:5px 0}.managed-top p{font-size:12px}.publication-badge{font-size:11px;border-radius:4px;padding:3px 7px;background:#e5f2e4;color:var(--green);font-weight:700}.publication-badge.draft{background:#f7edda;color:#815222}.managed-actions{display:flex;gap:7px;flex-wrap:wrap;padding:10px 14px;border-top:1px solid var(--line);background:#f8faf6}.managed-actions button{font-size:12px;padding:7px 10px;border:1px solid #d2ddd3;border-radius:6px;background:white;color:var(--green)}.managed-actions .trash{margin-left:auto;color:#985141}.management-panel>p{font-size:14px;margin-bottom:15px}.empty-management{padding:30px 10px;text-align:center;color:var(--muted);font-size:15px}.busy{opacity:.7}.button:disabled{opacity:.55;cursor:wait}
@media(max-width:960px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-layout{grid-template-columns:1fr}.admin-main{max-width:850px}.faq-answer>div{min-width:0}}
@media(max-width:700px){.site-tabs>.wrap{gap:22px}.site-tabs a{font-size:15px;padding:13px 1px}.portfolio-main{padding-top:28px}.portfolio-intro{padding:8px 0 25px}.portfolio-intro h1{font-size:33px;letter-spacing:-1.2px}.portfolio-intro p{font-size:16px}.portfolio-toolbar{display:block;padding:20px 0}.category-tabs{gap:7px}.category-tabs button{font-size:13px;padding:7px 12px}.result-count{display:block;margin-top:13px;font-size:13px}.project-grid{grid-template-columns:1fr;gap:22px}.project-info{padding:19px}.project-info h2{font-size:21px}.portfolio-cta{padding:26px 23px;margin:35px 0}.portfolio-cta h2{font-size:23px}.portfolio-cta p{font-size:15px}.portfolio-footer{align-items:flex-start;flex-direction:column;gap:14px}.gallery-status{padding:38px 20px}.gallery-status h2{font-size:22px}.gallery-status p{font-size:16px}.project-dialog{width:calc(100% - 16px);max-height:96vh;border-radius:12px}.viewer-head{padding:16px;gap:12px}.viewer-head h2{font-size:19px}.viewer-head .eyebrow{font-size:11px}.close-viewer{font-size:13px;padding:9px}.viewer-image>img{max-height:55vh}.viewer-image>button{width:32px;height:42px;font-size:26px}.viewer-image>button:first-child{left:6px}.viewer-image>button:last-child{right:6px}.viewer-details{padding:15px 17px}.viewer-details p{font-size:15px}.login-card{margin:35px auto;padding:33px 24px}.login-card h1{font-size:28px}.login-card p{font-size:16px}.admin-heading{display:block}.admin-heading h1{font-size:29px}.admin-heading>.text-link{display:inline-block;margin-top:12px}.editor-panel,.management-panel{padding:23px 18px;border-radius:13px}.admin-main{padding-top:26px}.editor-panel h2,.management-heading h2{font-size:21px}.photo-editor{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-actions{display:grid;grid-template-columns:1fr;width:100%}.managed-top{grid-template-columns:80px 1fr;padding:12px;gap:12px}.managed-top img{width:80px;height:80px}.managed-top h3{font-size:16px}.management-heading{flex-wrap:wrap}.managed-actions{gap:6px;padding:10px}.published-field small{font-size:13px}}
@media(prefers-reduced-motion:reduce){.project-cover img{transition:none}}

.category-manager{background:#fff;border:1px solid var(--line);border-radius:15px;margin-bottom:26px;scroll-margin-top:24px}.category-manager>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;list-style:none;cursor:pointer;padding:22px 26px;color:var(--green);font-weight:800;font-size:22px}.category-manager>summary::-webkit-details-marker{display:none}.category-manager>summary:after{content:'＋';font-size:21px}.category-manager[open]>summary:after{content:'−'}.category-manager>summary small{font-size:13px;font-weight:400;margin-left:auto;color:var(--muted)}.category-manager-body{padding:0 26px 24px}.category-manager-body>p{font-size:15px}.category-add-form{max-width:620px;margin:22px 0}.category-add-form>label{display:block;font-size:14px;font-weight:700;margin-bottom:7px}.category-add-form>div{display:flex;gap:10px}.category-add-form input,.category-row input,.category-delete-dialog select{border:1px solid #b9c9be;border-radius:7px;padding:10px 12px;background:white;font:inherit;font-size:16px;color:var(--ink);width:100%;min-width:0}.category-add-form button{white-space:nowrap}.category-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.category-row{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--line);border-radius:10px;background:#f7faf5;min-width:0}.category-name-area label{display:block;font-size:12px;color:var(--muted);margin-bottom:5px}.category-name-area small{display:block;color:var(--muted);font-size:12px;margin-top:6px}.category-row-actions{display:flex;gap:6px}.category-row-actions button{border:1px solid #cbd8cd;border-radius:6px;background:white;color:var(--green);font-size:13px;min-height:36px;padding:6px 10px;white-space:nowrap}.category-row-actions .category-order{font-size:19px;min-width:36px;padding:3px 8px}.category-row-actions .category-remove{margin-left:auto;color:#9c493f}.category-row-actions button:disabled{opacity:.35;cursor:default}.category-status{margin-top:15px;color:var(--green);min-height:25px}.category-status.error{color:#a5362a}.category-delete-dialog{max-width:500px;width:calc(100% - 30px);border:0;border-radius:15px;padding:28px;background:#fff;color:var(--ink)}.category-delete-dialog::backdrop{background:#14251ad9}.category-delete-dialog h2{font-size:24px;letter-spacing:-.6px}.category-delete-dialog>p{font-size:16px;margin:15px 0 20px}.category-delete-dialog label{display:block;font-size:15px;font-weight:700;margin-bottom:8px}.category-delete-dialog .form-error:empty{display:none}.category-delete-dialog select[hidden],.category-delete-dialog label[hidden]{display:none}.category-delete-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.category-delete-actions button{font-size:14px}.category-manager input:focus-visible,.category-delete-dialog select:focus-visible{outline:3px solid #d89326;outline-offset:2px}
@media(max-width:700px){.category-manager>summary{padding:19px 18px;font-size:21px;flex-wrap:wrap;gap:6px}.category-manager>summary small{order:3;width:100%;margin:0;font-size:12px}.category-manager>summary:after{margin-left:auto}.category-manager-body{padding:0 18px 20px}.category-manager-body>p{font-size:14px}.category-list{grid-template-columns:1fr}.category-add-form>div{gap:8px}.category-add-form button{font-size:14px;padding:10px 12px}.category-row{padding:14px}.category-delete-dialog{padding:23px 20px}.category-delete-dialog h2{font-size:22px}.category-delete-actions{flex-wrap:wrap}.category-delete-actions button{flex:1}.category-status{font-size:14px}}

.subcategory-filters{margin:-5px 0 30px;padding:18px 22px;background:#eaf1eb;border-radius:12px}.subcategory-filters[hidden],#project-subcategory-field[hidden]{display:none}.subcategory-filters>p{margin:0 0 12px;font-weight:700;font-size:14px;color:var(--green)}.subcategory-tabs{margin:0;padding:0;border:0;gap:8px}.subcategory-tabs button{padding:8px 16px;font-size:14px}.project-info small{overflow-wrap:anywhere}
.category-list{display:flex;flex-direction:column;gap:18px}.category-group{border:1px solid var(--line);border-radius:12px;overflow:hidden}.category-group>.category-row{border:0;border-radius:0;background:#eef5ee}.category-edit-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.category-parent-area label{display:block;font-size:12px;color:var(--muted);margin-bottom:5px}.category-parent-area select,#category-add-parent{border:1px solid #b9c9be;border-radius:7px;padding:10px 12px;background:#fff;font:inherit;font-size:16px;color:var(--ink);width:100%;min-width:0}#category-add-parent{margin-bottom:16px}.category-row-info{margin:0;font-size:12px;color:var(--muted)}.category-children{display:flex;flex-direction:column;gap:12px;margin:16px 18px 18px 28px;padding-left:16px;border-left:2px solid #b9cdbb}.category-child-row{background:#fff;border:1px solid #dae5dc}.category-child-help{color:var(--muted);font-size:12px;line-height:1.6}.category-parent-area select:disabled{background:#edf0ed;color:#7d897f}.category-row-actions .category-add-child{background:var(--green);color:white;border-color:var(--green)}.category-row-actions{flex-wrap:wrap}.category-manager-body p,.category-child-help{word-break:keep-all;overflow-wrap:anywhere}
@media(max-width:700px){.category-edit-fields{grid-template-columns:1fr;gap:12px}.category-children{margin:12px 10px 14px 14px;padding-left:10px;gap:10px}.category-child-row{padding:12px}.category-row-actions{gap:5px}.category-row-actions button{padding:6px 8px}.category-row-actions .category-order{min-width:32px}.category-row-actions .category-remove{margin-left:0}.subcategory-filters{padding:16px;margin-bottom:24px}.subcategory-tabs button{font-size:14px;padding:8px 13px}.category-manager-body{padding-left:14px;padding-right:14px}}


/* Independent photo gallery */
.photo-gallery{column-count:3;column-gap:18px}.gallery-photo{position:relative;display:block;break-inside:avoid;width:100%;border:0;border-radius:12px;overflow:hidden;padding:0;margin:0 0 18px;background:#e6e9e2;cursor:zoom-in}.gallery-photo>img{display:block;width:100%;height:auto}.photo-enlarge{position:absolute;right:12px;bottom:12px;width:34px;height:34px;display:grid;place-items:center;background:#ffffffeb;color:var(--green);border-radius:50%;font-size:22px;box-shadow:0 1px 6px #0002}.gallery-photo:focus-visible{outline:3px solid #d89326;outline-offset:3px}.gallery-photo:hover .photo-enlarge{background:var(--green);color:white}.gallery-dialog .viewer-head{gap:12px}.viewer-head>span{font-size:16px;font-weight:700;color:var(--green);word-break:keep-all;overflow-wrap:anywhere}.viewer-tools{display:flex;gap:8px;align-items:center;flex-shrink:0}.viewer-tools button,.viewer-navigation button{border:1px solid var(--line);border-radius:8px;background:#eef3eb;color:var(--green);padding:9px 12px;font:inherit;font-size:14px;white-space:nowrap}.gallery-dialog .viewer-image{max-height:72vh;min-height:180px;overflow:auto}.gallery-dialog .viewer-image>img{max-height:72vh;max-width:100%;object-fit:contain}.gallery-dialog .viewer-image.zoomed{display:block;cursor:move}.gallery-dialog .viewer-image.zoomed>img{width:200%;max-width:none;max-height:none;height:auto}.viewer-navigation{display:flex;justify-content:center;align-items:center;gap:28px;padding:14px;background:white}.viewer-navigation span{font-size:14px;font-variant-numeric:tabular-nums}.viewer-navigation button:disabled{opacity:.35}.admin-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.management-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.managed-photo{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.managed-photo-info{padding:12px}.managed-photo-info p{font-size:13px;margin:8px 0 0;word-break:keep-all;overflow-wrap:anywhere}.managed-actions select,#management-filter{width:100%;min-width:0;border:1px solid #b9c9be;border-radius:6px;padding:9px;background:#fff;color:var(--ink);font:inherit;font-size:14px}.managed-actions select{font-size:13px}.managed-actions{padding:12px;gap:6px}.managed-actions button{padding:7px 9px}.managed-actions .trash{margin-left:0}.management-panel>p{margin-top:12px}.queue-error{font-size:12px;color:#a5362a;padding:8px;word-break:keep-all;overflow-wrap:anywhere}.edit-photo-actions button{min-height:32px}.empty-management{grid-column:1/-1}.portfolio-toolbar{align-items:flex-start}.category-tabs button{word-break:keep-all;overflow-wrap:anywhere;max-width:100%}
@media(max-width:960px){.photo-gallery{column-count:2}.admin-layout{grid-template-columns:1fr}.editor-panel{max-width:100%}.photo-editor{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.photo-gallery{column-count:2;column-gap:10px}.gallery-photo{border-radius:8px;margin-bottom:10px}.photo-enlarge{width:25px;height:25px;font-size:18px;right:7px;bottom:7px}.portfolio-intro h1{font-size:30px;word-break:keep-all}.portfolio-intro p{font-size:15px;word-break:keep-all;overflow-wrap:anywhere}.gallery-dialog .viewer-head{flex-wrap:wrap;padding:12px}.viewer-head>span{font-size:14px}.viewer-tools{margin-left:auto}.viewer-tools button{font-size:12px;padding:8px 10px}.gallery-dialog .viewer-image,.gallery-dialog .viewer-image>img{max-height:65vh}.viewer-navigation{gap:22px;padding:12px}.viewer-navigation button{font-size:13px}.management-list{grid-template-columns:1fr}.managed-photo{aspect-ratio:4/3}.photo-editor{grid-template-columns:repeat(3,minmax(0,1fr))}.edit-photo-actions button{font-size:11px;padding:4px}.category-manager>summary{font-size:19px}.category-row-actions button{white-space:normal}.category-child-help{font-size:12px}}
.photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:18px;column-count:auto}.gallery-photo{margin:0}
@media(max-width:960px){.photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr));column-count:auto}}
@media(max-width:700px){.photo-gallery{gap:10px}}

/* Customer photo selection: square frames, uncropped originals, stable share links. */
.gallery-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff}
.gallery-card .gallery-photo{aspect-ratio:1/1;border-radius:0;background:#e9eeea;width:100%;display:flex;align-items:center;justify-content:center}
.gallery-card .gallery-photo>img{width:100%;height:100%;object-fit:contain;max-width:100%;display:block}
.gallery-photo-info{padding:17px;display:grid;gap:5px}
.photo-label{font-size:20px;line-height:1.45;color:var(--green);overflow-wrap:anywhere}
.photo-classification{font-size:14px;color:var(--muted);min-height:24px;overflow-wrap:anywhere}
.copy-photo{width:100%;min-height:44px;padding:10px 12px;margin-top:9px;border:1px solid #bed0c5;border-radius:8px;background:#f0f6f1;color:var(--green);font:inherit;font-size:15px;font-weight:700;line-height:1.4;cursor:pointer}
.copy-photo:disabled{opacity:.65;cursor:wait}
.number-help{margin:-6px 0 24px;font-size:14px;line-height:1.8;overflow-wrap:anywhere}
.gallery-dialog[open]{display:flex;flex-direction:column;max-height:94vh;max-height:94dvh;overflow:hidden}
.viewer-identification{min-width:0;display:grid;gap:3px}
.viewer-identification strong{font-size:22px;color:var(--green);line-height:1.4;overflow-wrap:anywhere}
.viewer-identification span{font-size:13px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}
.gallery-dialog .viewer-head{position:static;flex-shrink:0}
.gallery-dialog .viewer-image{height:min(64vh,calc(94vh - 230px));height:min(64dvh,calc(94dvh - 230px));min-height:0;max-height:none;flex-shrink:1;overflow:auto}
.gallery-dialog .viewer-image>img{width:100%;height:100%;max-height:100%;max-width:100%;object-fit:contain}
.gallery-dialog .viewer-image.zoomed>img{width:200%;height:auto;max-height:none;max-width:none}
.viewer-navigation{flex-shrink:0;padding:10px}
.viewer-share{padding:0 20px 16px;flex-shrink:0;text-align:center}
.viewer-share .copy-photo{max-width:420px;margin:0;background:var(--green);color:white;border-color:var(--green)}
.viewer-share p{font-size:13px;line-height:1.5;margin-top:7px}
.viewer-share p:empty{display:none}
.viewer-unavailable{padding:45px 25px;text-align:center;overflow:auto}
.viewer-unavailable h2{font-size:25px;margin-bottom:14px}
.viewer-unavailable p{font-size:16px;margin:7px 0}
.viewer-unavailable .button{margin-top:22px}
.gallery-dialog [hidden]{display:none!important}
.copy-dialog{width:min(530px,calc(100% - 28px));max-height:92vh;max-height:92dvh;overflow:auto;border:1px solid var(--line);border-radius:16px;padding:26px;color:var(--ink)}
.copy-dialog::backdrop{background:#11211cbd}
.copy-dialog h2{font-size:23px;margin-bottom:12px}
.copy-dialog p{font-size:15px;line-height:1.75;margin-bottom:20px}
.copy-dialog label{display:block;font-size:14px;font-weight:700;margin-bottom:8px}
.copy-dialog textarea{display:block;width:100%;padding:12px;border:1px solid #bdcfc3;border-radius:8px;resize:vertical;font:inherit;font-size:16px;line-height:1.65;color:var(--ink);background:#f7faf6;word-break:break-all}
.copy-dialog-actions{display:flex;gap:10px;margin-top:18px}
.copy-status{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 30px);background:var(--green);color:white;border-radius:10px;padding:12px 18px;z-index:30;font-size:14px;box-shadow:0 4px 20px #0002;pointer-events:none}
.copy-status:empty{display:none}
@media(max-width:700px){
 .gallery-card{border-radius:10px}.gallery-photo-info{padding:12px 10px;gap:4px}.photo-label{font-size:17px}.photo-classification{font-size:12px;min-height:21px}
 .copy-photo{font-size:13px;padding:9px 5px;margin-top:6px;min-height:44px}.number-help{font-size:13px;margin:0 0 20px}
 .viewer-identification strong{font-size:19px}.viewer-identification span{font-size:12px}.gallery-dialog .viewer-head{gap:10px}
 .viewer-identification{flex:1 1 130px}.viewer-tools{gap:6px}.viewer-navigation{padding:8px}.viewer-share{padding:0 12px 12px}
 .viewer-share .copy-photo{font-size:15px}.copy-dialog{padding:22px 18px}.copy-dialog h2{font-size:21px}
 .viewer-unavailable{padding:35px 20px}.viewer-unavailable h2{font-size:22px}.viewer-unavailable p{font-size:15px}
}

/* Three public page tabs */
@media(max-width:700px){.site-tabs>.wrap{gap:0;justify-content:space-between}.site-tabs a{font-size:15px;padding:14px 0;white-space:nowrap}}

/* Updated business name */
.brand-mark{letter-spacing:-1px;white-space:nowrap}.brand-title{white-space:nowrap}
