dialog:has(.gallery-shell){width:min(1020px,calc(100% - 24px))}.gallery-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:15px 0 20px}.gallery-toolbar p{font-size:13px;margin:0}.gallery-toolbar p b{color:#efe4cf;font-weight:500}.gallery-toolbar .text-button{font-size:11px}.gallery-add{display:flex;gap:14px;flex-wrap:wrap}.gallery-pick,.gallery-camera{display:inline-flex;align-items:center;justify-content:space-between;gap:25px;cursor:pointer;font-size:12px;padding:15px 20px;min-height:48px}.gallery-camera{border:1px solid #88806d;border-radius:12px 30px 12px 30px;color:#e9dfcb}.gallery-camera:hover{background:#ffffff08}.gallery-disabled{opacity:.45;cursor:wait;pointer-events:none}.gallery-file-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;border:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.gallery-add:has(input:focus-visible) .gallery-pick,.gallery-add:has(#gallery-camera:focus-visible) .gallery-camera{outline:2px solid #ffb778;outline-offset:4px}.gallery-help,.gallery-footnote{font-size:11px;line-height:1.6;color:#bbb8aa;margin:15px 0}.gallery-progress{font-size:12px;color:#f4cb9e;line-height:1.6;margin:12px 0;min-height:0}.gallery-progress:empty{display:none}.gallery-errors{font-size:12px;color:#ffb7a6;line-height:1.8;margin:15px 0;overflow-wrap:anywhere}.gallery-feature{margin:22px 0 25px;border:1px solid #686557;border-radius:15px 45px 15px 45px;overflow:hidden;background:#23251f}.gallery-feature>img{display:block;width:100%;height:350px;object-fit:contain;background:#20221e}.gallery-feature figcaption{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 18px;font-size:12px;overflow-wrap:anywhere}.gallery-feature figcaption b{font-size:10px;white-space:nowrap;color:#f3c08d;font-weight:400}.gallery-feature figcaption>button{padding:9px 12px;font-size:11px;background:#ff8c3a;color:#31271e;border:0;flex-shrink:0}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 16px}.gallery-tile{min-width:0}.gallery-thumbnail{width:100%;position:relative;display:block;padding:0;border:1px solid #686557;border-radius:12px 25px 12px 25px;overflow:hidden;background:#22251f}.gallery-thumbnail>img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.gallery-thumbnail>span{position:absolute;left:9px;bottom:9px;background:#ff8c3a;color:#31261c;font-size:10px;padding:5px 9px;border-radius:4px 10px 4px 10px}.gallery-tile.is-cover .gallery-thumbnail{outline:2px solid #ff8c3a;outline-offset:2px}.gallery-tile-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;min-height:33px}.gallery-tile-actions>button{border:0;background:none;padding:8px 0;font-size:10px;font-weight:400;color:#d9d0bb}.gallery-tile-actions>button:hover{color:#ffb373}.gallery-tile-actions small{font-size:10px;color:#e8bd8e}.gallery-more{width:100%;margin:23px 0 10px;border:1px solid #817662;background:transparent;font-weight:400}.gallery-empty{text-align:center;padding:40px 20px;border:1px dashed #7e7866;border-radius:18px 45px 18px 45px;margin:25px 0}.gallery-empty>span{display:block;font-size:45px;color:#e9bd89;margin-bottom:15px}.gallery-empty h3{font-size:27px;font-family:Georgia,serif;font-style:italic;font-weight:400}.gallery-empty p{font-size:13px}.room-record-photo{position:relative;align-self:stretch;min-height:170px;overflow:hidden;border-radius:12px 35px 12px 35px;border:0;padding:0;background:#414339;color:#e2d9c3;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px}.room-record-photo:hover{background:#4a4b42}.room-record-photo>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}.room-record-photo>.room-photo-count{position:absolute;left:10px;bottom:10px;z-index:1;background:#2b2c25db;color:#f0e5ce;font-size:9px;padding:6px 8px;border-radius:5px}.room-record-photo>.room-photo-plus{font-size:35px;color:#e4bd8e}.room-record-photo>small{font-size:10px;color:#d0c5ad}.room-record:has(.room-record-photo){grid-template-columns:200px minmax(0,1fr) 90px;gap:25px;padding:20px}.room-gallery-action{background:none;border:0;border-bottom:1px solid #9a896a;border-radius:0;padding:8px 0;margin-top:15px;font-size:11px;font-weight:400;color:#f5cda0;gap:20px}.room-gallery-action:hover{background:none;color:#ffac63}.vehicle-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.vehicle-with-gallery{min-width:0}.vehicle-with-gallery>.vehicle-card{width:100%;height:calc(100% - 46px)}.vehicle-gallery-link{font-size:11px;padding:10px 13px;margin:7px 0 0;width:100%;background:transparent}.vehicle-photo-entry{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #67675b;padding:15px 0 23px;margin-top:15px}.vehicle-photo-entry>img{width:105px;height:75px;object-fit:cover;border-radius:10px 22px 10px 22px}.vehicle-photo-entry p{font-size:12px;margin:0;flex:1}.vehicle-photo-entry button{font-size:12px}.gallery-footnote{margin-top:24px;border-top:1px solid #666457;padding-top:15px}
@media(max-width:850px){.room-record:has(.room-record-photo){grid-template-columns:145px minmax(0,1fr) 65px;gap:18px}.room-record-photo{min-height:160px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-feature>img{height:300px}}
@media(max-width:600px){dialog:has(.gallery-shell){padding:23px 17px}.gallery-toolbar{display:block}.gallery-toolbar .text-button{margin-top:5px}.gallery-add{gap:10px}.gallery-pick,.gallery-camera{flex:1;white-space:nowrap;font-size:11px;padding:13px 14px;gap:12px}.gallery-help,.gallery-footnote{font-size:10px}.gallery-feature>img{height:240px}.gallery-feature figcaption{display:block;padding:13px}.gallery-feature figcaption>span{display:block;font-size:11px}.gallery-feature figcaption>button,.gallery-feature figcaption>b{margin-top:10px;display:inline-flex}.gallery-grid{gap:16px 12px}.gallery-tile-actions{flex-wrap:wrap;gap:0 12px}.gallery-tile-actions small{font-size:9px}.gallery-tile-actions>button{font-size:10px}.room-record:has(.room-record-photo){grid-template-columns:minmax(0,1fr);gap:20px;padding:18px}.room-record-photo{height:220px;min-height:0}.room-record-main{padding:0 4px}.room-record:has(.room-record-photo) .room-record-open{grid-column:1;padding:0 5px}.vehicle-photo-entry{flex-wrap:wrap;gap:15px}.vehicle-photo-entry button{width:100%}.gallery-empty{padding:30px 15px}.gallery-empty h3{font-size:23px}.gallery-empty p{font-size:12px}}
.room-record-photo>img{object-fit:contain;background:#24261f}

.guardian-photo-placeholder{display:flex;min-height:180px;width:100%;height:100%;align-items:center;justify-content:center;flex-direction:column;gap:14px;background:linear-gradient(145deg,#343630,#252824);color:#d9c8a8;text-align:center;padding:24px;box-sizing:border-box}.guardian-photo-placeholder small{font-size:14px;color:#ece8dd}.guardian-photo-placeholder b{font-weight:400}
