/* Photo control for the share card: plain, uses the app variables. */
.pe { margin: .5rem 0; max-width: 100%; }
.pe-name { margin: 0 0 .25rem; }
.pe-btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 44px; min-width: 44px; padding: .4rem 1rem; margin: 0 .5rem .25rem 0; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--ink); cursor: pointer; position: relative; }
.pe-btn[hidden], .pe-editor[hidden] { display: none; }
.pe-primary { background: var(--ink); color: var(--paper); }
.pe-file { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 0; }
.pe-btn:focus-within { outline: 2px solid var(--hi); outline-offset: 2px; }
.pe-hint { margin: .25rem 0; font-size: .85rem; color: var(--muted); }
.pe-alert { margin: .25rem 0; color: var(--hi); }
.pe-alert:empty { display: none; }
.pe-editor { max-width: 100%; margin-top: .5rem; }
.pe-canvas { display: block; width: 300px; max-width: 100%; height: auto; border: 1px solid var(--rule); background: var(--panel); cursor: grab; }
.pe-zoom { display: flex; align-items: center; gap: .75rem; min-height: 44px; max-width: 300px; }
.pe-zoom input { flex: 1; min-width: 0; min-height: 44px; margin: 0; accent-color: var(--hi); }
.pe-actions { display: flex; flex-wrap: wrap; }
