.document-row{border:1px solid #ccc;background:#fff;padding:14px;margin:16px 0;border-radius:8px}
.document-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.document-fields label{display:grid;gap:5px}
#modal.table-modal{width:min(1080px,calc(100% - 32px))}
.structured-document h2{font-size:38px;padding-right:44px}
.document-subtitle{margin:12px 0 24px}
.price-category{margin:28px 0}
.price-category h3,.schedule-panel h3{font-size:24px;margin:0 0 14px}
.price-table,.schedule-table{width:100%;border-collapse:collapse;font-size:15px;text-align:left;background:#fff}
.price-table th,.price-table td,.schedule-table th,.schedule-table td{padding:14px 12px;border-bottom:1px solid #eee;vertical-align:top}
.price-table thead,.schedule-table thead{background:#ffdf53}
.price-table td{white-space:nowrap}
.price-table small{display:block;font-size:12px;white-space:normal;margin-top:4px;color:#777}
.price-table tbody th{width:34%;font-weight:600}
.document-note{padding:18px;border-radius:18px;background:#fff2cb;font-size:15px;line-height:1.5;margin-top:24px}
.schedule-days{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}
.schedule-days button{padding:10px 16px;border-radius:20px;background:white;border:1px solid #ddd;font-size:14px;transition:background .2s,color .2s}
.schedule-days button[aria-pressed=true]{background:#fb5028;color:white;border-color:#fb5028}
.schedule-table th[scope=row]{white-space:nowrap;width:150px}
.schedule-panel[hidden]{display:none}
@media(max-width:600px){
 .structured-document h2{font-size:30px}
 .price-table thead{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden}
 .price-table,.price-table tbody{display:block}
 .price-table tr{display:block;padding:0 12px 12px;margin:12px 0;border:1px solid #eee;border-radius:18px;overflow:hidden}
 .price-table tbody th{display:block;width:auto;padding:14px 12px;margin:0 -12px 4px;background:#ffdf53}
 .price-table td{display:grid;grid-template-columns:1fr 1fr;gap:3px 12px;padding:8px 0;white-space:normal}
 .price-table td::before{content:attr(data-label);font-size:13px;color:#777}
 .price-table td small{grid-column:2}
 .schedule-days button{font-size:12px;padding:9px 12px}
 .schedule-table{font-size:14px}
 .schedule-table th[scope=row]{width:105px}
 .schedule-table td,.schedule-table th{padding:12px 8px}
}
