.photo-dialog{width:min(1000px,calc(100vw - 28px));max-height:calc(100svh - 32px);padding:28px;color:var(--ink,#343d36);background:var(--paper,#f6f4e9);border:1px solid var(--line,#dedfd0);border-radius:24px;overflow:auto}.photo-dialog::backdrop{background:#202b286b;backdrop-filter:blur(4px)}.photo-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.photo-header h2{margin:6px 0 12px;font-size:26px}.photo-eyebrow{font-size:10px;letter-spacing:2px;color:var(--green,#718065)}.photo-close{font-size:27px;min-width:44px;min-height:44px}.photo-dialog #photo-intro{font-size:13px;line-height:1.8;margin:0 0 22px}.photo-layout{display:grid;grid-template-columns:minmax(230px,.85fr) minmax(0,1.2fr);gap:26px}.photo-controls fieldset{padding:0;border:0;margin:0 0 20px;min-width:0}.photo-controls legend,.photo-field{font-size:13px;font-weight:700;line-height:1.6;margin-bottom:10px}.photo-controls legend span{font-weight:400;white-space:nowrap;margin-left:6px}.photo-characters{display:grid;grid-template-columns:1fr 1fr;gap:7px}.photo-choice{display:flex;align-items:center;gap:7px;border:1px solid var(--line,#dedfd0);border-radius:10px;padding:9px 8px;min-height:44px;font-size:12px;cursor:pointer}.photo-choice:has(input:checked){background:var(--soft,#e8ecdc);border-color:var(--green,#718065)}.photo-choice:has(input:disabled){opacity:.55;cursor:not-allowed}.photo-choice input{width:17px;height:17px;accent-color:var(--green,#718065);flex-shrink:0}.photo-mood-row{display:grid;grid-template-columns:1fr minmax(85px,.8fr);align-items:center;gap:8px;font-size:12px;margin:8px 0}.photo-dialog select,.photo-dialog input[type=text]{font:inherit;font-size:13px;min-height:44px;border:1px solid var(--line,#dedfd0);border-radius:10px;color:var(--ink,#343d36);background:var(--white,#fffef9);padding:9px 10px;width:100%;min-width:0}.photo-field{display:block;margin-top:17px}.photo-dialog input:focus-visible,.photo-dialog select:focus-visible{outline:3px solid #879db8;outline-offset:3px}.photo-help,.photo-summary{font-size:11px;line-height:1.8}.photo-help{opacity:.8}.photo-preview{min-width:0}.photo-preview canvas{display:block;width:100%;height:auto;border-radius:4px;box-shadow:0 9px 26px #293a2814;background:#fffdf6}.photo-summary{margin:14px 0 6px;overflow-wrap:anywhere}.photo-dialog #photo-status{min-height:42px;font-size:12px;line-height:1.7;margin:6px 0 10px}.photo-actions{display:flex;flex-wrap:wrap;gap:9px}.photo-actions button{min-height:44px;padding:10px 15px;border-radius:24px;border:1px solid var(--line,#dedfd0);font-size:12px}.photo-actions .activity-primary{background:var(--green,#718065);color:#fff}.photo-actions button:disabled{opacity:.5;cursor:not-allowed}.photo-credits{border-top:1px solid var(--line,#dedfd0);padding-top:17px;font-size:10px;line-height:1.9;margin:25px 0 0}.photo-credits a{text-underline-offset:3px}.photo-dialog button:focus-visible{outline-offset:2px}@media(max-width:660px){.photo-dialog{padding:20px 16px;border-radius:18px}.photo-layout{grid-template-columns:1fr;gap:22px}.photo-header h2{font-size:22px}.photo-characters{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-actions button{flex:1}.photo-controls legend{font-size:14px}}@media(prefers-contrast:more){.photo-choice,.photo-dialog select,.photo-dialog input[type=text]{border-width:2px}.photo-help{opacity:1}}
/* Dialogs stay paper-light even when the garden is at night. */
.photo-dialog{--paper:#faf9f0;--ink:#43503c;--white:#fffef7;--green:#718065;--soft:#e8ecdc;--line:#dedfd0}.photo-choice input{min-height:17px;padding:0}
