/* Compact task surfaces in the existing architectural palette. */
.search-tools{margin:20px 0 14px;padding:20px 24px;background:#fff;border:1px solid var(--line);border-radius:16px;min-width:0}
.search-tools-row,.search-tools-actions,.search-handoff{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.search-tools-row{justify-content:space-between}.search-tools-row strong,.search-handoff strong{font-size:15px}.search-tools-row p,.small-note{font-size:12px;margin-top:4px}
.search-tools-actions button{font-size:13px;min-height:44px}.search-tools details{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.search-tools summary{cursor:pointer;font-size:13px}
#saved-searches{display:grid;gap:9px;margin-top:12px}.saved-search-item{display:flex;gap:8px;min-width:0}.saved-search-item>.secondary{flex:1;text-align:left;white-space:normal;overflow-wrap:anywhere;min-width:0;font-size:12px;line-height:1.7}
.remove-search{flex:0 0 44px;min-height:44px;border:1px solid var(--line);background:#faf9f6;border-radius:9px;font-size:21px;color:#6f7778}
#saved-searches-empty,#search-tools-status{font-size:12px;line-height:1.8;margin-top:8px;color:var(--muted)}#search-tools-status:not(:empty){padding-top:8px;color:#345c60}
#search-link-fallback{margin-top:10px;font-size:13px;user-select:all}
.search-handoff{justify-content:space-between;padding:18px 24px;border:1px solid #dce5df;border-radius:14px;background:#eef3ef;margin-bottom:20px}.search-handoff>div{flex:1;min-width:180px}.search-handoff p{font-size:12px;margin-top:4px;overflow-wrap:anywhere;line-height:1.8}.search-handoff a{flex-shrink:0;white-space:nowrap}
.draft-bar{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:12px 24px;background:#f5f6f2;border-bottom:1px solid #e7e9e2}.draft-bar p{font-size:12px;line-height:1.7}.draft-bar button{white-space:nowrap;min-height:44px;font-size:12px;color:#48655f}
.contact-reminder{padding:16px 18px;border:1px solid #decda8;border-radius:12px;background:#fbf6e9;margin:18px 0;text-align:left}.contact-reminder strong{display:block;color:#795e30;font-size:15px}.contact-reminder p{font-size:13px;color:#73664e;line-height:1.8;margin:7px 0 12px}.contact-reminder small{display:block;font-size:12px;color:#73664e;margin-top:8px}.contact-reminder button{min-height:44px}
.matching-note{font-size:12px;margin:10px 0 15px;line-height:1.8}.followup-due{font-size:12px;margin-bottom:8px}.followup-due:empty,.note-preview:empty{display:none}.followup-due.overdue{color:#975b24;font-weight:650;background:#fff5e4;border-left:3px solid #c39a5d;padding:8px 12px;border-radius:0 6px 6px 0}
.record-actions a{text-decoration:none;color:inherit;font-size:12px;padding:9px 12px;min-height:44px;display:inline-flex;align-items:center}.record-actions button{min-height:44px}
#inquiry-message-fallback{height:160px;margin:16px 0;font-size:14px}#receipt-icon.is-pending{background:#f3f0e8;color:#8b7955}#receipt-icon.is-confirmed{background:#eaf3ed;color:#35664b}
@media(max-width:720px){
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px}
 .search-tools{padding:16px}.search-tools-row>div{width:100%}.search-tools-actions{gap:8px}.search-tools-actions button{flex:1;padding:10px 9px}
 .search-handoff{padding:16px;gap:12px}.search-handoff a{width:100%;text-align:center}.search-handoff>div{min-width:0;width:100%;flex-basis:100%}
 .draft-bar{padding:12px 20px;align-items:flex-start;gap:10px}.draft-bar p{flex:1}.draft-bar button{padding:4px 0}
 .contact-reminder{padding:14px}.record-actions{gap:8px}.record-actions button,.record-actions a{flex:1 1 calc(50% - 8px);justify-content:center;text-align:center}
 #review .modal-actions{position:sticky;bottom:-22px;background:#fff;padding:12px 0;margin-top:8px;border-top:1px solid var(--line)}
 #review #submit-request{flex-basis:100%;min-height:48px;order:1}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
