@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,650&display=swap";:root{color:#183b39;font-synthesis:none;background:#f3f0e8;font-family:DM Sans,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 90% 0,#d6e5dd 0,#0000 30rem),#f3f0e8;min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}main{width:min(100%,860px);margin:auto;padding:28px 18px 40px}header{align-items:flex-start;gap:16px;margin:10px 0 26px;display:flex}.brand{color:#fff;background:#d7764f;border-radius:14px;flex:0 0 48px;place-items:center;height:48px;display:grid;box-shadow:0 8px 20px #a8583833}.brand span{font:650 27px Fraunces,serif}.eyebrow{letter-spacing:.14em;color:#d06643;margin:0 0 5px;font-size:11px;font-weight:700}h1{letter-spacing:-.03em;margin:0;font:650 clamp(31px,8vw,48px)/1 Fraunces,serif}header>div>p:last-child{color:#647673;max-width:560px;margin:10px 0 0;line-height:1.45}.patient-card{background:#fffdfa;border:1px solid #e5e0d5;border-radius:22px;margin-bottom:14px;padding:20px}.section-heading h2{margin:0 0 16px;font:650 22px Fraunces,serif}.patient-fields{gap:14px;display:grid}.text-field{gap:7px;min-height:auto;display:grid}.text-field>span{color:#526562;font-size:13px;font-weight:600}.text-field small{color:#8a9693;font-weight:400}.text-field input,.text-field textarea{color:#183b39;background:#f8f6f1;border:1px solid #ded9cf;border-radius:12px;outline:none;width:100%;padding:12px 13px}.text-field input{text-align:left;height:46px;font-size:15px;font-weight:500}.text-field textarea{resize:vertical;min-height:68px}.text-field input:focus,.text-field textarea:focus{border-color:#28726b;box-shadow:0 0 0 3px #28726b1c}.ears{gap:14px;display:grid}.ear-card{background:#fffdfa;border:1px solid #e5e0d5;border-radius:22px;padding:20px;box-shadow:0 10px 28px #3555510b}.ear-title{border-bottom:1px solid #ebe7de;align-items:center;gap:9px;padding-bottom:15px;display:flex}.ear-title h2{margin:0;font:650 22px Fraunces,serif}.ear-icon{color:#d7764f;font-size:26px}.fields{gap:4px;margin-top:8px;display:grid}label{justify-content:space-between;align-items:center;gap:14px;min-height:59px;display:flex}label>span{color:#6c7976;font-size:14px}label strong{color:#183b39;font-size:16px}.input-wrap{background:#f5f2eb;border:1px solid #ded9cf;border-radius:12px;align-items:center;width:132px;height:44px;display:flex;overflow:hidden}.input-wrap:focus-within{border-color:#28726b;box-shadow:0 0 0 3px #28726b1c}select{color:#163f3b;cursor:pointer;background:0 0;border:0;outline:0;width:91px;height:100%;padding:0 7px 0 12px;font-size:17px;font-weight:700}.input-wrap span{color:#71807d;font-size:13px}button{cursor:pointer;border-radius:14px;width:100%;min-height:52px;font-weight:700}.primary{color:#fff;background:#174b46;border:0;justify-content:center;align-items:center;gap:12px;margin-top:18px;display:flex;box-shadow:0 9px 18px #174b462b}.primary:hover{background:#103f3a}.primary:disabled{opacity:.65;cursor:wait}.primary span{font-size:21px}.secondary{color:#687875;background:0 0;border:0;min-height:44px}.error{color:#a83c2d;background:#fff0eb;border-radius:12px;padding:12px 15px}.results{color:#fff;background:#143f3b;border-radius:24px;margin-top:24px;padding:24px 20px;box-shadow:0 16px 36px #143f3b30}.results .eyebrow{color:#f1a380}.score{text-align:center;padding:10px 0 22px}.score strong{color:#fff8e9;font:650 56px Fraunces,serif;display:block}.score span{color:#b9ceca}.ear-results{grid-template-columns:1fr 1fr;gap:10px;display:grid}.ear-results>div{background:#ffffff12;border:1px solid #ffffff17;border-radius:14px;padding:14px;position:relative}.ear-results span,.ear-results strong{display:block}.ear-results span{color:#b9ceca;font-size:13px}.ear-results strong{margin-top:5px;font-size:24px}.ear-results small{color:#ffd0b9;font-size:11px}details{color:#c6d5d2;border-top:1px solid #ffffff21;margin-top:18px;padding-top:16px;font-size:13px;line-height:1.5}summary{cursor:pointer;color:#fff;font-weight:600}.print-button{color:#174b46;background:#fffdf9;border:1px solid #ffffff38;margin-top:18px}.print-button:hover{background:#f3eee4}footer{text-align:center;color:#84918e;padding:28px 15px 0;font-size:11px;line-height:1.5}.print-report{display:none}@media (width>=700px){main{padding-top:48px}.patient-fields{grid-template-columns:1fr 220px}.note-field{grid-column:1/-1}.ears{grid-template-columns:1fr 1fr}}@media print{@page{size:A4;margin:12mm}:root,body{color:#183b39;background:#fff}body{-webkit-print-color-adjust:exact;print-color-adjust:exact}main{width:100%;margin:0;padding:0}main>header,main>form,main>.results,main>footer{display:none!important}.print-report{flex-direction:column;min-height:273mm;font-family:DM Sans,Arial,sans-serif;display:flex}.report-header{border-bottom:1px solid #cfdad7;justify-content:space-between;align-items:center;padding-bottom:7mm;display:flex}.report-header p{color:#d06643;letter-spacing:.13em;margin:0 0 2mm;font-size:9pt;font-weight:700}.report-header h2{margin:0;font:650 25pt Fraunces,Georgia,serif}.report-mark{color:#fff;background:#d7764f;border-radius:4mm;place-items:center;width:13mm;height:13mm;font:650 21pt Fraunces,Georgia,serif;display:grid}.report-meta{grid-template-columns:1fr 55mm;gap:5mm;margin-top:7mm;display:grid}.report-meta div{background:#f3f5f2;border-radius:3mm;padding:4mm}.report-meta span,.report-note span{color:#687875;text-transform:uppercase;letter-spacing:.08em;font-size:8pt;display:block}.report-meta strong{margin-top:1.5mm;font-size:11pt;display:block}.report-total{color:#fff;background:#174b46;border-radius:4mm;grid-template-columns:1fr auto;align-items:center;margin:7mm 0;padding:5mm 6mm;display:grid}.report-total p{margin:0;font-size:11pt;font-weight:600}.report-total strong{grid-area:1/2/3;font:650 28pt Fraunces,Georgia,serif}.report-total span{color:#bfd0cd;font-size:8pt}.report-ears{grid-template-columns:1fr 1fr;gap:6mm;display:grid}.report-ear{break-inside:avoid;border:1px solid #d6dfdd;border-radius:3mm;overflow:hidden}.report-ear-title{background:#eef2ef;justify-content:space-between;align-items:center;padding:3mm 4mm;display:flex}.report-ear-title h3{margin:0;font:650 14pt Fraunces,Georgia,serif}.report-ear-title strong{color:#d06643;font-size:15pt}table{border-collapse:collapse;width:100%;font-size:9pt}th,td{text-align:left;border-top:1px solid #e2e8e6;padding:2.5mm 4mm}th{color:#687875;text-transform:uppercase;letter-spacing:.04em;font-size:7.5pt}th:not(:first-child),td:not(:first-child){text-align:right}.report-note{break-inside:avoid;background:#fbf7f0;border-left:1.5mm solid #d7764f;margin-top:6mm;padding:4mm}.report-note p{white-space:pre-wrap;margin:1.5mm 0 0;font-size:9pt;line-height:1.45}.report-method{color:#536663;margin-top:6mm;font-size:8.5pt;line-height:1.45}.report-method strong{color:#183b39}.report-method p{margin:1mm 0 0}.report-disclaimer{color:#778582;margin:5mm 0 0;font-size:7.5pt}.report-footer{color:#6c7c79;border-top:1px solid #d6dfdd;justify-content:space-between;align-items:center;margin-top:auto;padding-top:5mm;font-size:8pt;display:flex}.report-footer strong{color:#174b46}.report-footer img{object-fit:contain;border-radius:2mm;width:25mm;height:25mm}}
