.notice-attachments-field{margin:20px 0;padding:18px;border:1px solid var(--line,#dedbd5);border-radius:12px;background:var(--surface,#fff)}
.notice-photo-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.notice-photo-heading label,.notice-photo-heading h3{font-size:14px;font-weight:650;margin:0}
.notice-photo-heading>span,.notice-photo-heading small,.notice-photo-heading h3 span{font-size:12px;color:var(--muted,#6b6b63);font-weight:400}
.notice-photo-picker{display:flex;position:relative;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 12px;min-height:64px;padding:12px;border:1px dashed #a5a39b;border-radius:8px;background:#f7f7f3;cursor:pointer;text-align:center;overflow:hidden}
.notice-photo-picker strong{font-size:14px}.notice-photo-picker span{font-size:12px;color:#5c5c54}
#modal #notice-form .notice-photo-picker>#notice-photos{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;padding:0!important;border:0!important;opacity:0!important;cursor:pointer}
.notice-photo-picker:focus-within{outline:2px solid #494d3e;outline-offset:3px}
.notice-photo-help{font-size:12px;line-height:1.6;color:#65655b;margin:10px 0}
.notice-photo-selection{display:grid;gap:8px}
.notice-photo-item{display:grid;grid-template-columns:52px minmax(0,1fr) 52px;align-items:center;gap:10px;border:1px solid #e5e3dc;border-radius:8px;padding:8px}
.notice-photo-item img,.notice-photo-placeholder{width:52px;height:60px;object-fit:cover;border-radius:4px;background:#eeeee7}
.notice-photo-placeholder{display:grid;place-items:center;font-size:11px;color:#606057}
.notice-photo-name{display:block;overflow-wrap:anywhere;font-size:12px;line-height:1.5}
.notice-photo-item small{display:block;color:#6b6b63;font-size:11px;margin-top:3px}
.notice-photo-remove{min-width:44px;min-height:44px;border:0;background:transparent;color:#6c4438;font-size:12px;cursor:pointer;border-radius:6px}
.notice-photo-status{font-size:12px;line-height:1.6;color:#65655b;margin:8px 0 0}.notice-photo-status:empty{display:none}
.notice-attachment-summary{display:inline-flex;align-items:center;min-height:44px;max-width:100%;padding:5px 12px;margin:2px 0 8px;border:1px solid #ddded4;border-radius:7px;background:#f5f6f0;color:#434b35;font-size:12px;cursor:pointer}
.notice-attachment-detail{margin:16px 0 20px;padding:16px 0;border-top:1px solid #e5e3dc;border-bottom:1px solid #e5e3dc}
.notice-photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.notice-photo-gallery>p{grid-column:1/-1;font-size:13px;line-height:1.6}
.notice-photo-thumbnail{display:flex;flex-direction:column;gap:6px;min-width:0;min-height:44px;padding:6px;border:1px solid #e0dfd8;background:#f8f8f4;border-radius:8px;cursor:pointer;color:#4f5148}
.notice-photo-thumbnail img{width:100%;height:130px;object-fit:cover;object-position:top;border-radius:4px}
.notice-photo-thumbnail span{font-size:12px;align-self:center;padding:4px}
.notice-photo-thumbnail:focus-visible,.notice-photo-remove:focus-visible,.notice-attachment-summary:focus-visible{outline:2px solid #494d3e;outline-offset:3px}
.notice-detail-body,.notice-card>p{white-space:pre-wrap;overflow-wrap:anywhere}
#modal #notice-form #notice-body{min-height:150px!important;line-height:1.7}
.notice-photo-viewer{width:min(1000px,calc(100vw - 24px));max-width:calc(100vw - 24px);height:min(850px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #dfdfd5;border-radius:12px;background:#fafaf6;color:#34382e;overflow:hidden}
.notice-photo-viewer[open]{display:flex;flex-direction:column}
.notice-photo-viewer::backdrop{background:rgb(20 23 17 / .7)}
.notice-photo-viewer header,.notice-photo-viewer footer{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 16px;flex-shrink:0;background:#fafaf6}
.notice-photo-viewer header{border-bottom:1px solid #e1e1d8}.notice-photo-viewer footer{border-top:1px solid #e1e1d8}
.notice-photo-viewer header strong{font-size:14px}.notice-photo-viewer .btn{min-height:44px;min-width:44px;font-size:12px}
.notice-photo-viewport{overflow:auto;min-height:0;flex:1;background:#e8e9e1;padding:12px;text-align:center;overscroll-behavior:contain}
.notice-photo-viewport>img{display:block;max-width:100%;height:auto;margin:auto;background:white}
.notice-photo-viewport.original-size>img{max-width:none;margin:0}
.notice-photo-viewport>p{font-size:13px;line-height:1.6}
@media(max-width:480px){.notice-attachments-field{padding:12px}.notice-photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.notice-photo-thumbnail img{height:125px}.notice-photo-viewer header,.notice-photo-viewer footer{padding:8px}.notice-photo-viewer .btn{padding:8px}.notice-photo-item{gap:8px;grid-template-columns:44px minmax(0,1fr) 44px}.notice-photo-item img,.notice-photo-placeholder{width:44px;height:54px}}
