.message-photo-input>label{font-size:var(--reading-size);margin-bottom:7px;font-weight:650;display:block}.message-photo-input summary{cursor:pointer;color:var(--green);font-size:var(--reading-size);min-height:30px;font-weight:650}.message-photo-input details[open] summary{margin-bottom:8px}.message-photo-chooser-label{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.message-photo{object-fit:contain;border-radius:10px;width:auto;max-width:100%;height:auto;max-height:560px;margin:12px 0 0;display:block}.message-photo-preview{max-width:320px}.message-photo-preview .message-photo{max-height:220px}.message-photo-preview button{margin-top:8px}.message-photos-gallery,.message-photos-previews{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.message-photos-gallery>button{background:var(--surface-soft);border-radius:10px;width:100%;min-width:0;overflow:hidden}.message-photos-gallery img{object-fit:contain;object-position:center;width:100%;height:220px;padding:8px}.message-photos-single{grid-template-columns:minmax(0,1fr)}.message-photos-single img{object-fit:contain;height:auto;max-height:560px}.message-photos-previews .message-photo{object-fit:contain;width:100%;height:150px;margin-top:0}@media (max-width:600px){.message-photos-gallery:not(.message-photos-single) img{height:150px}}.message-photo-input input[type=file]{width:100%;max-width:100%;font-size:var(--reading-size);display:block}.message-mention{color:var(--green);font-weight:650;text-decoration:underline}.message-photo-input input:focus-visible{outline:2px solid var(--green);outline-offset:3px}@media (max-width:760px){.message-photo-input summary{align-items:center;gap:6px;min-height:44px;display:flex}}.photo-attachment-toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.photo-attachment-title{width:100%;font-size:var(--reading-size);font-weight:600}.photo-attachment-add,.photo-attachment-icon{justify-content:center;align-items:center;gap:8px;min-width:44px;min-height:44px;display:inline-flex}.photo-attachment-count{white-space:nowrap;margin-left:auto}.photo-attachment-control .message-photos-previews{overscroll-behavior-x:contain;gap:8px;max-width:100%;padding:2px 2px 8px;display:flex;overflow-x:auto}.photo-attachment-control .message-photo-preview{border:1px solid var(--line);background:var(--surface);border-radius:8px;flex:0 0 144px;width:144px;padding:4px}.photo-attachment-control .message-photo-preview>.message-photo{object-fit:contain;width:100%;height:96px;margin:0}.photo-attachment-actions{justify-content:flex-end;display:flex}.photo-attachment-actions button{min-width:44px;min-height:44px;color:var(--ink);background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.photo-attachment-actions button:disabled{opacity:.35}.photo-attachment-progress{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.photo-attachment-progress button{min-height:44px}.photo-attachment-guidance{margin:8px 0 0}.photo-attachment-control button:focus-visible{outline:2px solid var(--green);outline-offset:2px}.message-composer-inline .photo-attachment-toolbar{display:contents}.message-composer-inline .photo-attachment-toolbar>button{background:var(--surface-soft);width:44px;height:44px;color:var(--muted);border:0;border-radius:50%;grid-area:2/1;padding:0}.message-composer-inline .photo-attachment-count{display:none}.message-composer-inline .photo-attachment-control .message-photo-preview{flex-basis:144px}.message-composer-inline .photo-attachment-control .message-photo-preview>.message-photo{height:44px}.photo-attachment-control input[type=file].sr-only{clip-path:inset(50%);border:0;width:1px;max-width:1px;height:1px;margin:-1px;padding:0}.message-composer-inline .photo-attachment-control .message-photos-previews .message-photo-preview{flex:0 0 144px;width:144px}.message-composer-inline .photo-attachment-control .message-photos-previews{max-height:none}.photo-attachment-control .photo-attachment-actions button{flex:0 0 44px;width:44px;max-width:44px}
