/* 윤슬 V14.9.8 physical-device fixes */
#home .card{padding:14px 15px}
#home .meeting-summary .info-grid>div:not(.ilabel){font-size:16px;line-height:1.55}
#home .meeting-summary .ilabel{font-size:14px}
#home .home-media-v1498>.home-photo-open{padding:13px 0 11px}
#home .home-media-v1498 .home-photo-label{font-size:16px}
#home .home-media-v1498 .home-photo-open .photo-wrap img{height:168px!important}
#home .home-media-v1498>.home-cert-strip{grid-template-columns:minmax(0,1fr) auto;padding:12px 0!important}
#home .home-media-v1498 .home-cert-strip h2{font-size:17px!important;white-space:nowrap}
#home .home-media-v1498 .home-cert-strip #myCertText{font-size:15px}

#chatModal .chat-push-compact{font-size:21px!important;white-space:nowrap!important;writing-mode:horizontal-tb!important;overflow:hidden}
#chatModal .chat-push-compact[data-push-state="off"]{background:#f5f1e8!important;color:#9b7a2d!important;opacity:.72}
#chatModal .chat-line.has-photos{width:auto;max-width:min(82%,260px)}
#chatModal .chat-message.photo-only{display:block;width:fit-content;max-width:100%;padding:4px;background:transparent!important;border:0!important}
#chatModal .chat-photos-natural{display:flex;flex-wrap:wrap;width:fit-content;max-width:100%;gap:5px;margin:0}
#chatModal .chat-photos-natural .chat-photo{display:block;width:fit-content;max-width:100%;line-height:0}
#chatModal .chat-photos-natural .chat-photo img{display:block;width:auto;height:auto;max-width:240px;max-height:320px;object-fit:contain;aspect-ratio:auto;border-radius:11px}
#chatModal .chat-delete{display:inline-flex!important;align-items:center;justify-content:center;min-width:38px!important;white-space:nowrap!important;word-break:keep-all!important;writing-mode:horizontal-tb!important;font-size:12px!important;padding:5px 4px!important}

#library .book-row-v1498{padding:11px 14px 11px 10px!important}
#library .book-row-v1498 .book-main{padding-right:45px}
#library .book-row-v1498 .book-edit-link{right:13px;top:9px}
#library .book-row-v1498 .book-person-row{display:flex!important;align-items:center;gap:8px!important}
#library .book-row-v1498 .book-person-row>span{flex:0 0 auto}
#library .book-row-v1498 .book-person-row>button,#library .book-row-v1498 .book-person-row>strong{flex:0 1 auto}

#records .record-intro-head{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px}
#records .record-region-select{width:auto;min-width:78px;height:36px;padding:5px 26px 5px 8px;border-radius:10px;font-size:14px}
#records #recordManageTop .text-link{white-space:nowrap}
#records #archiveList>.record-carousel{margin-bottom:7px}
#records #archiveList>.card{display:flex;flex-direction:column}
#records .record-date-title{order:1;font-size:17px}
#records .record-manage{order:2;align-self:flex-end;margin-top:-30px!important}
#records .record-place-meta{order:3;margin-top:7px;font-size:14px}
#records .record-book{order:4;margin-top:10px}
#records .record-photo-section{order:5;margin-top:11px;padding-top:9px;border-top:1px solid var(--line)}
#records .record-photo-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
#records .record-photo-section .photo-actions{display:none}
#records .record-photo-section.editing .photo-actions{display:flex}
#records .record-photo-section+.record-manage{display:none}
#records #archiveList>.card>div:last-child{order:6}
#records .record-person{border-bottom:0!important;padding:11px 0!important}
#records .record-person+.record-person{margin-top:4px}

#me .member-card-layout{display:flex;align-items:center;justify-content:space-between;gap:10px}
#me .member-card-layout #myInfo{min-width:0;flex:1}
#me .member-password-link{flex:0 0 auto;min-height:38px;padding:6px 2px;border:0;background:transparent;color:var(--accent);font-size:13px;font-weight:800;white-space:nowrap}
#me .quick-links{margin-bottom:10px}
#me #managerMe,#me #myLoans{margin-bottom:10px}

@media(max-width:375px){
 #home .card{padding:13px}
 #home .meeting-summary{grid-template-columns:minmax(0,1fr) 78px}
 #home .home-media-v1498 .home-photo-open .photo-wrap img{height:154px!important}
 #records .record-intro-head{grid-template-columns:minmax(0,1fr) auto}.record-intro-head #recordManageTop{grid-column:1 / -1;justify-content:flex-end}
 #chatModal .chat-line.has-photos{max-width:78%}
 #chatModal .chat-photos-natural .chat-photo img{max-width:220px;max-height:300px}
}
