.sh-page * {box-sizing:border-box}
.sh-page {max-width:1440px;margin:0 auto}
.sh-header h2 {margin:0 0 8px}
.sh-filters {display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:20px 0 12px}
.sh-filters label {display:grid;gap:6px;font-size:13px;flex:1;min-width:170px}
.sh-filters input {min-height:40px;border:1px solid #cbd5e1;border-radius:8px;padding:8px 10px;background:var(--bg-card,#fff);color:inherit;width:100%}
.sh-page button,.sh-actions a {border:1px solid #cbd5e1;border-radius:8px;padding:9px 13px;background:var(--bg-card,#fff);color:inherit;cursor:pointer}
.sh-page button:focus-visible,.sh-page a:focus-visible {outline:3px solid #2563eb;outline-offset:2px}
.sh-page button:disabled {opacity:.45;cursor:default}
.sh-filters button {background:#1d4ed8;color:white;border-color:#1d4ed8;min-height:40px}
.sh-help {font-size:12px;color:#64748b;line-height:1.7}
.sh-layout {display:grid;grid-template-columns:minmax(250px,1fr) minmax(350px,1.65fr);gap:24px;margin-top:20px;align-items:start}
.sh-list {display:grid;gap:10px}
.sh-page .sh-record {text-align:left;display:grid;gap:7px;width:100%;overflow-wrap:anywhere;padding:14px}
.sh-record span {font-size:13px;line-height:1.6}
.sh-record small {color:#1d4ed8}
.sh-page .sh-record.is-selected {border-color:#2563eb;background:#eff6ff;color:#0f172a}
.sh-detail {border:1px solid #e2e8f0;border-radius:12px;padding:20px;min-width:0}
.sh-detail h3 {margin:0;font-size:19px}
.sh-detail h4 {margin:24px 0 12px}
.sh-actions {display:flex;flex-wrap:wrap;gap:8px}
.sh-recipients {padding:0;list-style:none;margin:0}
.sh-recipients li {display:grid;grid-template-columns:100px 1fr;padding:12px 0;border-bottom:1px solid #e2e8f0;gap:12px}
.sh-recipients li span {display:block;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.sh-pagination {display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:16px;font-size:13px}
.sh-empty {padding:28px 12px;text-align:center;color:#64748b}
#sh-preview img {display:block;max-width:100%;height:auto;margin-top:12px;border:1px solid #e2e8f0}
#sh-preview a {display:inline-block;margin-top:16px;color:#1d4ed8}
@media(max-width:800px) {.sh-layout{grid-template-columns:1fr}.sh-detail{padding:14px}.sh-filters label{min-width:130px}.sh-recipients li{grid-template-columns:80px 1fr}}

.sh-health {overflow-x:auto;margin:16px 0;line-height:1.6}
.sh-health table {border-collapse:collapse;min-width:650px;width:100%;font-size:13px}
.sh-health th,.sh-health td {padding:9px 12px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:top}
.sh-health th {background:var(--bg-card,#f8fafc)}
.sh-health summary {cursor:pointer;margin:10px 0}
