.agency-page{max-width:1100px;margin:auto;padding:60px 24px}.agency-page h1{font-size:clamp(30px,5vw,52px)}.agency-card{border:1px solid #8295a755;padding:24px;margin:18px 0;border-radius:12px}.agency-card p{white-space:pre-wrap;line-height:1.9;overflow-wrap:anywhere}.agency-card summary{cursor:pointer;font-size:22px;font-weight:700;padding:8px 0}.agency-page input,.agency-page button{font:inherit;padding:12px;margin:5px;border:1px solid #8295a7;border-radius:6px;background:transparent;color:inherit}.agency-page button{cursor:pointer}.agency-page a{color:inherit}.agency-card li{margin:12px 0;overflow-wrap:anywhere}.agency-heading{font-weight:700;font-size:20px;margin-top:32px}.agency-page input{max-width:100%;box-sizing:border-box}.agency-page button:disabled{opacity:.5}.agency-page [role=status]{line-height:1.7}.agency-source-paragraph{white-space:pre-wrap;line-height:1.9;overflow-wrap:anywhere}
.agency-source-heading{margin:28px 0 12px;font-size:clamp(20px,3vw,26px);line-height:1.5}
.agency-source-list{padding-left:1.5em;line-height:1.9}
.agency-source-list li{padding-left:.25em;margin:8px 0;white-space:pre-wrap}
.agency-inline-image{display:block;width:auto;height:auto;max-width:100%;max-height:720px;object-fit:contain;margin:16px 0;border-radius:4px}
.agency-source-paragraph strong,.agency-source-list strong{font-weight:700}
@media(max-width:640px){.agency-page{padding:36px 16px}.agency-card{padding:18px 16px}.agency-inline-image{max-height:560px}}
.agency-image-unavailable{display:block;min-height:2em;padding:12px 0;opacity:.8}

/* 관리자 워딩 수정 */
.agency-edit-bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0 14px}.agency-edit-bar button{height:32px;padding:0 12px;border-radius:8px;border:1px solid #c8cad2;background:#fff;font-size:13px;font-weight:600;cursor:pointer}.agency-edit-bar button:nth-child(2){background:#00315d;border-color:#00315d;color:#fff}.agency-edit-bar span{font-size:13px;color:#555969}
.agency-editing{outline:2px dashed #92c5fa;outline-offset:3px;border-radius:2px;background:#f5f9ff}
html[data-theme=dark] .agency-editing{background:#14283d}
.agency-card.agency-rest summary{color:var(--km-sub,#6b7280)}

.agency-source-paragraph.agency-mission-lead{margin-top:38px}
