/* Keep Korean phrases together, but allow long IDs and links to fit on mobile. */
.app :where(h1,h2,h3,h4,p,li,dt,dd,label,button,a,blockquote,td,th){word-break:keep-all;overflow-wrap:anywhere}
.app :where(h1,h2,h3){text-wrap:balance}
.app :where(p,li,blockquote){text-wrap:pretty}
.app :where(.btn,.button){white-space:normal;line-height:1.55;height:auto;min-height:48px}
.app :where(.summary-row,.order-item,.report-actions,.sec-hd){gap:12px}
.app :where(.summary-row,.order-item)>*{min-width:0}
.app .order-item .pill{flex-shrink:0}
.app .report-actions{flex-wrap:wrap}
.app .report-actions .btn{flex:1 1 120px}
.app .legal table{width:100%;table-layout:fixed;border-collapse:collapse;margin:16px 0}
.app .legal :where(td,th){padding:10px 8px;border:1px solid var(--line2);vertical-align:top;font-size:12px;line-height:1.8}
.app .legal th{background:#f7f7f7;text-align:left}
.app .legal p+p,.app .report-section p+p{margin-top:12px}
.app .ritual-conversation p{white-space:pre-line}
@media(max-width:360px){.app .month-grid,.app .daeun-grid{grid-template-columns:minmax(0,1fr)}.app .hd-back{font-size:15px}.app .narrow h1{font-size:24px}}
