.reference-wizard{max-width:760px;margin:auto}.reference-progress{display:flex;justify-content:space-between;gap:20px;color:#61756b;font-size:11px;font-weight:650;letter-spacing:.06em}.reference-wizard progress{display:block;width:100%;height:5px;border:0;margin:14px 0 38px;accent-color:#648c76}.reference-question{min-height:330px}.reference-question h1{font-size:clamp(26px,4vw,36px);line-height:1.22;margin:10px 0 20px}.reference-question fieldset{border:0;padding:0;margin:20px 0;min-width:0}.reference-question legend{font-size:16px;font-weight:650;margin:10px 0}.reference-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.reference-choices{display:grid;gap:10px}.reference-question label.reference-choice{margin:0;display:flex;position:relative;align-items:center;font-weight:500;line-height:1.5}.reference-choice input{position:absolute;opacity:0;width:1px;height:1px}.reference-choice span{display:flex;gap:12px;align-items:center;width:100%;padding:15px 18px;border:1px solid #d8ddd4;background:#fffefa;border-radius:9px;cursor:pointer;font-size:14px;min-height:50px}.reference-choice input:checked+span{border-color:#56886a;background:#edf5ee;box-shadow:0 0 0 1px #56886a}.reference-choice input:focus-visible+span{outline:3px solid #af7b4e;outline-offset:3px}.reference-choice small{font-size:11px;min-width:22px;border:1px solid #bbc7b9;border-radius:4px;text-align:center}.reference-wizard-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-top:1px solid #e4e1d7;padding-top:22px;margin-top:26px}.reference-question textarea{font-size:17px;line-height:1.7;min-height:200px}.reference-review{max-height:340px;overflow:auto;background:#f5f6ee;padding:16px 22px;border-radius:12px}.reference-review p{white-space:pre-wrap;overflow-wrap:anywhere}.reference-receipt{text-align:center;padding:70px 24px}.reference-receipt>span{font-size:55px;color:#538567}.reference-contact-card{padding:18px 0;border-bottom:1px solid #deded6}.reference-contact-card h3{margin:4px 0}.reference-contact-card .button-row{display:flex;flex-wrap:wrap;gap:10px}.reference-report-summary{background:#f2f5ed;border-left:3px solid #678d75;padding:20px;white-space:pre-wrap}.reference-report-source{border-top:1px solid #deded6;padding-top:20px}.reference-service{border:1px solid #cddace;background:#f1f5ec;padding:22px;border-radius:12px;margin:22px 0}.reference-service h3{font-size:21px}.reference-service .button{display:inline-flex;text-decoration:none}.reference-service p{line-height:1.7}.reference-page{max-width:860px;margin:40px auto;padding:32px 36px;background:#fffefa;border:1px solid #deded6;border-radius:18px}.reference-page header{display:flex;justify-content:space-between;border-bottom:1px solid #deded6;padding-bottom:20px;margin-bottom:30px}.reference-page .wordmark{color:#343b32;font-size:32px}.reference-page #reference-status{line-height:1.8}@media(max-width:650px){.reference-choice-grid{grid-template-columns:1fr 1fr}.reference-choice span{font-size:12px;padding:12px}.reference-wizard-actions .button{flex:1}.reference-page{margin:0;border:0;padding:24px 18px;min-height:100dvh;border-radius:0}.reference-progress{font-size:10px}.reference-question{min-height:250px}.reference-wizard progress{margin-bottom:26px}}
.reference-question .reference-choice input[type=radio]{width:1px;max-width:1px;min-width:1px;min-height:1px;padding:0;border:0;left:0}.reference-question label.reference-choice{min-width:0}.reference-choice span{min-width:0;overflow-wrap:anywhere}
.reference-contact-list{list-style:none;padding:0;display:grid;gap:16px;margin:26px 0}.reference-list-card{border:1px solid #d8ddd4;background:#fffefa;border-radius:13px;padding:22px;min-width:0}.reference-list-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}.reference-list-heading h2{font-size:22px;line-height:1.35;margin:0;overflow-wrap:anywhere}.reference-permission{font-size:11px;font-weight:650;border-radius:6px;padding:6px 9px;white-space:normal}.reference-permission.is-ready{color:#315b42;background:#e9f2e8}.reference-permission.is-waiting{color:#805521;background:#faf0dd}.reference-list-card dl{margin:17px 0;display:grid;gap:12px}.reference-list-card dl>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px}.reference-list-card dt{font-size:12px;color:#6a7468}.reference-list-card dd{font-size:14px;line-height:1.6;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.reference-contact-details{overflow-wrap:anywhere;white-space:pre-wrap}.reference-list-confirm{border-top:1px solid #deded6;padding-top:24px;margin-top:28px}.reference-list-confirm .button{margin-top:12px}.reference-list-card .button-row{gap:16px}@media(max-width:650px){.reference-list-card{padding:18px}.reference-list-card dl>div{grid-template-columns:1fr;gap:3px}.reference-list-heading{gap:10px}.reference-list-confirm .button{width:100%}}
