.sim-photo-entry{margin:1rem 0;padding:1rem;border:1px solid #766649;border-radius:10px;background:#27241e}.sim-photo-entry p{font-size:.9rem;line-height:1.65;margin:.65rem 0 0;color:#e5e0d5}.sim-photo-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 20px));max-height:92dvh;padding:22px;background:#24231f;color:#f4f0e7;border:1px solid #8f7851;border-radius:14px;overflow:auto;overscroll-behavior:contain;color-scheme:dark;line-height:1.65}.sim-photo-dialog::backdrop{background:rgba(0,0,0,.8)}.sim-photo-dialog *{box-sizing:border-box;min-width:0}.sim-photo-dialog [hidden]{display:none!important}.sim-photo-dialog h2{font-size:1.2rem;margin:0}.sim-photo-dialog h3{font-size:1.05rem;margin:1rem 0}.sim-photo-dialog h4{margin:1rem 0 .5rem}.sim-photo-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.sim-photo-dialog button{min-height:44px;white-space:normal;padding:9px 13px;background:#494032;border:1px solid #9e8965;border-radius:7px;color:#fff4db;font:inherit;cursor:pointer}.sim-photo-dialog button:disabled{opacity:.45;cursor:default}.sim-photo-dialog button:focus-visible,.sim-photo-dialog input:focus-visible,.sim-photo-dialog select:focus-visible,.sim-photo-dialog textarea:focus-visible{outline:3px solid #ffd579;outline-offset:3px}.sim-photo-dialog .sim-actions{display:flex;flex-wrap:wrap;gap:8px}.sim-photo-note{font-size:.88rem;color:#d3cbbf}.sim-photo-dialog label{display:block}.sim-photo-dialog textarea,.sim-photo-dialog select,.sim-photo-dialog input:not([type=checkbox]):not([type=range]){display:block;width:100%;min-height:44px;margin:.4rem 0;background:#181916;color:#f8f5ee;border:1px solid #827c6d;border-radius:5px;padding:9px;font:inherit}.sim-photo-dialog textarea{resize:vertical}.sim-photo-dialog canvas{display:block;width:100%;height:auto;max-height:390px;object-fit:contain;background:#141412}.sim-photo-crop-controls,.sim-photo-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;margin:12px 0}.sim-photo-crop-controls input{display:block;width:100%;min-height:44px;accent-color:#e9bf71}.sim-photo-crop-controls output{float:right}.sim-photo-options label,.sim-photo-confirm{display:flex!important;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #5e574a;overflow-wrap:anywhere}.sim-photo-options input,.sim-photo-confirm input{width:22px;height:22px;flex:none;margin:2px 0;accent-color:#e9bf71}.sim-photo-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;background:#1b1b17;padding:12px}.sim-photo-dialog summary{cursor:pointer;padding:12px 0}.sim-photo-confirm{margin:16px 0}.sim-photo-dialog #sim-photo-stage{width:100%;background:#6c542c;border-color:#c9a566}.sim-photo-dialog #sim-photo-status{white-space:pre-wrap;overflow-wrap:anywhere;color:#ffe4ad}.sim-photo-dialog input::placeholder{color:#bdb6a8;font-size:.85rem}@media(max-width:480px){.sim-photo-dialog{padding:16px}.sim-photo-fields{grid-template-columns:1fr}.sim-photo-entry .sim-actions button{flex:1 1 100%}.sim-photo-head{align-items:flex-start}.sim-photo-head button{flex-shrink:0}}
