.photo-intro{max-width:850px}.photo-nav{display:flex;gap:12px 24px;flex-wrap:wrap;border-bottom:1px solid var(--soft-border,var(--border));padding-bottom:16px}.photo-nav a{min-height:48px;display:flex;align-items:center;font-weight:700}.photo-section{scroll-margin-top:20px;padding-block:20px 32px}.photo-section+.photo-section{border-top:1px solid var(--soft-border,var(--border))}.photo-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-block:20px}.file-control{min-width:0;flex:1 1 320px}.file-control label{display:block;font-weight:700;margin-bottom:8px}input[type=file]{font:inherit;max-width:100%;width:100%;background:white;border:1.5px solid #94a89b;border-radius:12px;padding:12px;min-height:54px;box-shadow:0 1px 2px rgba(15,23,42,.03)}input::file-selector-button{font:700 15px Figtree,system-ui,sans-serif;color:var(--green);background:#e9f5ee;border:1px solid #b8d4c3;border-radius:8px;padding:8px 12px;cursor:pointer;margin-right:12px}.tool-message{font-weight:700;white-space:pre-line;overflow-wrap:anywhere}.tool-message:empty{display:none}.empty-photos{padding:28px;border:1.5px dashed #b8c2b9;border-radius:16px;background:#fafaf7;color:var(--muted)}.photo-card{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);gap:24px;padding:24px;background:white;border:1px solid var(--soft-border,var(--border));box-shadow:var(--card-shadow,none);border-radius:18px;margin-block:20px;overflow-wrap:anywhere}.photo-card h3{margin-bottom:8px}.photo-card img{display:block;width:100%;max-height:360px;object-fit:contain;background:var(--ivory);border-radius:10px}.photo-card .small{margin-top:8px}.photo-fields{display:grid;gap:12px}.photo-fields label{display:block;font-weight:700;font-size:16px}.photo-fields input,.photo-fields textarea{font:inherit;color:inherit;width:100%;max-width:100%;min-height:48px;padding:10px 12px;border:1.5px solid #94a89b;border-radius:10px;background:white}.photo-fields textarea{resize:vertical;min-height:110px}.photo-fields textarea:focus-visible{outline:3px solid var(--red);outline-offset:4px}.photo-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.photo-actions button{font:700 15px Figtree,sans-serif;min-height:44px;padding:10px 14px;border:1px solid var(--green);border-radius:10px;background:white}.photo-check-result{display:grid;grid-template-columns:minmax(120px,240px) minmax(0,1fr);gap:24px;padding:24px;background:white;border:1px solid var(--soft-border,var(--border));box-shadow:var(--card-shadow,none);border-radius:18px;margin-block:20px}.photo-check-result img{max-height:320px;object-fit:contain}.photo-check-result dl{margin:0;overflow-wrap:anywhere}.photo-check-result dt{font-weight:700}.photo-check-result dd{margin:0 0 14px}.export-controls{padding-top:8px}.photo-section .section-heading{flex-wrap:wrap}@media(max-width:600px){.photo-card,.photo-check-result{grid-template-columns:minmax(0,1fr);padding:18px}.photo-card img{max-height:250px}.photo-check-result img{max-height:220px}.photo-toolbar>.btn{width:100%}.photo-nav{gap:8px}.photo-nav a{width:100%}.file-control{flex-basis:100%}}

/* Date checks, file dates and AI caption suggestions (29 Nov 2026) */
.photo-checks{margin:16px 0;padding:14px 16px;border-radius:14px;border:1px solid var(--soft-border,#dde3dd);background:#fff}
.photo-checks h3{margin:0 0 6px;font-size:17px}
.photo-checks ul{margin:0;padding-left:20px}
.photo-checks li{margin:4px 0}
.photo-date-note{margin:4px 0 0;color:#475569}
.photo-suggestion{grid-column:1/-1;margin-top:8px;padding:12px 14px;border-radius:12px;background:#f3f8f4;border:1px solid rgba(15,81,50,.15);overflow-wrap:anywhere}
.photo-suggestion p{margin:0 0 8px}
.photo-more-tools{border-bottom:1px solid var(--soft-border,var(--border))}
.photo-more-tools>summary{list-style:none;cursor:pointer;min-height:44px;padding:6px 0;font:700 15px/1.3 Figtree,system-ui,sans-serif;color:var(--green);display:flex;align-items:center;justify-content:space-between;gap:8px}
.photo-more-tools>summary::-webkit-details-marker{display:none}
.photo-more-tools>summary::after{content:'⌄';font-size:16px;font-weight:800}
.photo-more-tools[open]>summary::after{transform:rotate(180deg)}
.photo-more-tools nav{border-bottom:0;padding-top:0}
@media(min-width:641px){.photo-more-tools>summary{display:none}.photo-more-tools:not([open])>nav{display:flex}}
.photo-ai-consent{margin:12px 0;padding:16px 18px;border-radius:14px;border:1px solid var(--soft-border,#dde3dd);background:#fff;box-shadow:var(--card-shadow,none);font-weight:400;white-space:normal}
.photo-ai-consent p{margin:0 0 10px}
.photo-ai-consent-label{display:flex;gap:10px;align-items:flex-start;margin:8px 0 12px;font-weight:600;cursor:pointer}
.photo-ai-consent-label input{width:22px;height:22px;flex:none;margin-top:2px;accent-color:var(--green)}
.photo-ai-consent-err{color:#9b1c1c;font-weight:700}
.photo-ai-consent-err[hidden]{display:none}
.photo-ai-consent-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
