/* Nabdi v1.4.0 — Echo workflow, secure sharing, A4 print engine */
.echo-form-head,.echo-show-head{align-items:flex-start}.echo-form{gap:16px}.echo-copy-banner{margin-bottom:14px}.echo-previous{margin-bottom:16px}.previous-echo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.previous-echo-card{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid var(--border);border-radius:12px;background:#fbfdfd;transition:.18s}.previous-echo-card:hover{border-color:var(--brand-primary);box-shadow:0 7px 24px rgba(11,31,51,.06);transform:translateY(-1px)}.previous-echo-card strong{color:var(--brand-dark)}.previous-echo-card span,.previous-echo-card small{color:var(--muted)}.previous-echo-card b{color:#087f75}.echo-meta-grid{grid-template-columns:minmax(260px,420px)}.echo-measure-grid label{position:relative}.echo-code{display:inline-block;margin-inline-start:6px;padding:1px 6px;border-radius:999px;background:#eef7f5;color:#087f75}.field-help{display:block;margin-top:5px;color:var(--muted);font-size:12px}.echo-selection-grid{align-items:start}.echo-report-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:18px;align-items:start}.echo-measurements-card{overflow:hidden}.echo-values-table{min-width:700px}.echo-values-table td:first-child strong,.echo-values-table td:first-child small{display:block}.echo-values-table td:first-child small{color:var(--muted);margin-top:3px}.echo-free-text{line-height:1.9}.echo-toolbar{flex-wrap:wrap}.echo-share-card{margin-top:18px}.public-echo-card{max-width:900px}.echo-public-table{width:100%;border-collapse:collapse;min-width:520px}.echo-public-table th,.echo-public-table td{padding:10px 12px;border-bottom:1px solid var(--border);text-align:right}.echo-public-table th{background:#f7faf9}.public-echo-points{display:grid;gap:10px}.public-echo-points article{padding:12px;border:1px solid var(--border);border-radius:10px;background:#fbfcfd}.public-echo-points ul{margin:7px 0 0;padding-right:20px}.echo-print-title{text-align:center;margin:1mm 0 3mm}.echo-print-title>span{display:block;direction:ltr;color:#667085;font-size:.82em}.echo-print-title h2{margin:1mm 0 .5mm;font-size:1.35em}.echo-print-title>b{font-size:.78em;color:#475467}.echo-patient-box{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr 1fr;gap:2mm;border:1px solid #98a2b3;border-radius:2mm;padding:2.5mm;margin-bottom:3mm}.echo-patient-box>div{min-width:0}.echo-patient-box span,.echo-patient-box strong{display:block}.echo-patient-box span{font-size:.72em;color:#667085;margin-bottom:.5mm}.echo-patient-box strong{font-size:.9em;overflow-wrap:anywhere}.echo-print-section{margin-top:3mm}.echo-print-section>h3{display:flex;justify-content:space-between;align-items:end;gap:8px;margin:0 0 2mm;padding-bottom:1.2mm;border-bottom:1px solid #cfd5dc;font-size:1.02em}.echo-print-section>h3 span{direction:ltr;color:#667085;font-size:.72em;font-weight:500}.echo-print-table{width:100%;border-collapse:collapse}.echo-print-table th,.echo-print-table td{border:1px solid #d7dde3;padding:1.7mm;text-align:right}.echo-print-table th{background:#f2f7f6;font-size:.82em}.echo-print-table td{font-size:.88em}.echo-print-table td:first-child strong,.echo-print-table td:first-child small{display:block}.echo-print-table td:first-child small{color:#667085;margin-top:.5mm}.echo-print-points article{padding:1.6mm .8mm;border-bottom:1px dashed #d0d5dd;break-inside:avoid;page-break-inside:avoid}.echo-print-points article:last-child{border-bottom:0}.echo-print-points article>strong{color:#162233}.echo-print-points ul{margin:1mm 0 0;padding-right:5mm}.echo-print-notes{border:1px solid #e4e7ec;border-radius:2mm;padding:2mm}.echo-print-notes h3{margin-top:0}.echo-print-footer{margin-top:4mm}.compact_echo .echo-print-table th,.compact_echo .echo-print-table td{padding:1mm;font-size:.78em}.compact_echo .echo-print-section{margin-top:2mm}.paper.preprinted_content_only .echo-letterhead{display:none!important}
@media(max-width:1000px){.previous-echo-grid{grid-template-columns:1fr 1fr}.echo-report-grid{grid-template-columns:1fr}.echo-patient-box{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:650px){.previous-echo-grid{grid-template-columns:1fr}.echo-meta-grid{grid-template-columns:1fr}.echo-patient-box{grid-template-columns:1fr 1fr}.echo-toolbar{align-items:stretch}.echo-toolbar .btn{flex:1 1 auto}}
@media print{.echo-print-section,.echo-print-points article{break-inside:avoid;page-break-inside:avoid}.echo-print-table thead{display:table-header-group}.echo-print-footer{break-inside:avoid;page-break-inside:avoid}}
