/* Emergency page only. Existing directory data, details and print behavior stay intact. */
@media screen {
  body.trsd-site.page-id-314 #main {padding-top:16px;}
  body.trsd-site #main .tref-page .trsd-stream-rail {max-height:none;overflow:visible;}
  body.trsd-site #main .tref-page .trer-urgent {margin-bottom:14px;padding:12px 16px;}
  body.trsd-site #main .tref-page .trsd-stream-masthead .trsd-stream-welcome {padding:9px 12px;border:1px solid #91a794;border-radius:6px;background:#fff;text-decoration:none;}
  body.trsd-site #main .tref-page .trsd-stream-feed {min-width:0;}
  body.trsd-site #main .tref-page .tref-search-panel>p,.tref-page .tref-partners-intro>p {font-size:13px;line-height:1.5;}
  body.trsd-site #main .tref-page .trer-search {padding:0;border:0;border-radius:0;background:none;margin-top:14px;}
  body.trsd-site #main .tref-page .trer-search-fields {grid-template-columns:minmax(0,1fr);gap:10px;}
  body.trsd-site #main .tref-page .trer-field-search {grid-column:auto;}
  body.trsd-site #main .tref-page .trer-field input,.tref-page .trer-field select {font-size:14px;padding:8px;min-height:44px;}
  body.trsd-site #main .tref-page .trer-search .trer-action-row {gap:8px;}
  body.trsd-site #main .tref-page .trer-search .trer-action-row>* {flex:1 1 100%;font-size:13px;min-height:42px;padding:8px;}
  body.trsd-site #main .tref-page .trer-results-heading {display:block;margin:14px 0 10px;}
  body.trsd-site #main .tref-page .trer-results-heading h3 {font:700 14px/1.4 Arial,sans-serif;}
  body.trsd-site #main .tref-page .trer-results-heading p {font-size:12px;margin-top:3px;}
  body.trsd-site #main .tref-page .trer-directory-grid,.tref-page .tref-primary-grid {display:grid;grid-template-columns:minmax(0,1fr);gap:12px;}
  body.trsd-site #main .tref-page .trer-card {padding:14px 12px 0;}
  body.trsd-site #main .tref-page .trer-card h3 {font:600 16px/1.35 Georgia,'Times New Roman',serif;margin-bottom:8px;overflow-wrap:normal;word-break:normal;}
  body.trsd-site #main .tref-page .trer-description {font-size:13px;line-height:1.5;}
  body.trsd-site #main .tref-page .trer-place {font-size:12px;}
  body.trsd-site #main .tref-page .trer-phone-line {font-size:12px;}
  body.trsd-site #main .tref-page .trer-details {margin:0 -12px;}
  body.trsd-site #main .tref-page .trer-details>summary {font-size:12px;padding:10px 12px;}
  body.trsd-site #main .tref-page .trer-details-body {padding:12px;font-size:13px;}
  body.trsd-site #main .tref-page .trer-details-body .trer-button,.tref-page .trer-feature-action .trer-button {font-size:12px;padding:8px;min-height:40px;}
  body.trsd-site #main .tref-page .trer-contact-row dd {font-size:12px;}
  body.trsd-site #main .tref-page .trer-pagination {gap:8px;margin:14px 0;}
  body.trsd-site #main .tref-page .trer-page-link {font-size:12px;padding:6px 8px;}
  body.trsd-site #main .tref-page .trer-page-status {font-size:12px;flex:1 1 100%;text-align:center;order:2;}
  body.trsd-site #main .tref-page .tref-help {margin-top:14px;}
  body.trsd-site #main .tref-page .tref-help-list {list-style:none;padding:0;margin:0;}
  body.trsd-site #main .tref-page .tref-help-list li {font-size:13px;line-height:1.5;}
  body.trsd-site #main .tref-page .trer-empty {padding:16px 12px;}
  body.trsd-site #main .tref-page .trer-empty h3 {font-size:16px;}
  body.trsd-site #main .tref-page .trer-empty p {font-size:13px;}
  body.trsd-site #main .tref-page .trp-results-button {width:100%;font-size:12px;}
}
@media screen and (max-width:800px) {
  body.trsd-site.page-id-314 #main {padding-left:12px;padding-right:12px;}
  body.trsd-site.page-id-314 #main .trsd-content.trsd-stream-wrap,
  body.trsd-site.page-id-314 #main .tref-page {padding-left:0;padding-right:0;}
}
@media print {
  .tref-page .trsd-stream-grid {display:block;}
  .tref-page .trsd-stream-rail {position:static;max-height:none;overflow:visible;}
  .tref-page .trer-directory-grid,.tref-page .tref-primary-grid {display:block;}
}
