.patient-form-intro,.patient-field-hint{color:var(--dp-muted, #60758c);font-size:14px;line-height:1.9;margin:0 0 18px}.patient-clear-form label{line-height:1.8}.patient-clear-form .field{margin-bottom:14px}.patient-clear-form .formgrid{align-items:start}.patient-error-summary{border:1px solid var(--dp-danger-line, #e7a6ab);border-inline-start:4px solid #bb3444;background:var(--dp-danger-bg, #fff5f5);color:var(--dp-danger-text, #8d2232);border-radius:10px;padding:15px 17px;margin:0 0 22px;font-size:15px;line-height:1.9}.patient-error-summary[hidden],.patient-image-selection[hidden],.patient-image-save-result[hidden]{display:none}.patient-error-summary ul{margin:8px 0 0;padding-inline-start:20px}.patient-error-summary button{background:none;color:inherit;text-align:start;padding:2px 0;text-decoration:underline;text-underline-offset:3px;line-height:1.8}.patient-field-error{display:block;color:var(--dp-danger-text, #a72437);font-size:14px;line-height:1.8;margin:-7px 0 16px}.patient-clear-form [aria-invalid=true]{border-color:#bc3448;box-shadow:0 0 0 1px #bc3448}.patient-clear-form input[type=checkbox][aria-invalid=true]{outline:2px solid #bc3448;outline-offset:3px}.patient-registration-confirm{display:flex!important;align-items:start;gap:10px;padding:15px;border-radius:10px;background:var(--dp-panel, #f3f7fc);border:1px solid var(--dp-line, #dce6f0);margin:20px 0!important;color:var(--dp-text, #3b5675);font-size:14px!important}.patient-registration-confirm input{margin-top:5px;flex-shrink:0;accent-color:#2165d8}.patient-registration-confirm .patient-field-error{margin:0}.patient-image-panel{margin:26px 0 0;background:var(--dp-surface, #fff);border:1px solid var(--dp-line, #dce6f0);border-radius:18px;padding:25px}.patient-image-heading{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-bottom:20px}.patient-image-heading h2{font-size:23px}.patient-image-heading p{font-size:14px;color:var(--dp-muted, #667991);margin-top:4px}.patient-image-heading .btn{flex-shrink:0}.patient-image-empty{border:1px dashed var(--dp-line, #c9d8e8);border-radius:12px;padding:28px 18px;color:var(--dp-muted, #60758c);font-size:15px;text-align:center;background:var(--dp-panel, #f9fbfe)}.patient-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.patient-uploaded-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--dp-line, #dce6f0);border-radius:12px;background:var(--dp-surface, #fff)}.patient-image-thumb{display:grid;place-items:center;min-height:160px;height:190px;width:100%;padding:12px;border:0;background:var(--dp-panel, #edf2f8);overflow:hidden;color:var(--dp-muted, #4b6684);font-size:21px}.patient-image-thumb img{display:block;object-fit:contain;width:100%;height:100%;max-height:166px}.patient-uploaded-card .file-card-body{padding:17px;flex:1}.patient-uploaded-card h3{margin:10px 0 5px;overflow-wrap:anywhere}.patient-uploaded-card p{font-size:14px;color:var(--dp-muted, #60758c)}.patient-uploaded-card .patient-image-description{color:var(--dp-text, #304e70);white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0;line-height:1.85}.patient-uploaded-card .clinical-actions{flex-wrap:wrap;margin-top:15px;gap:8px}.patient-uploaded-card .clinical-actions .btn{font-size:13px;padding:9px 11px}.patient-image-selection{display:flex;flex-direction:column;gap:10px;align-items:center;padding:14px;background:var(--dp-panel, #f3f7fc);border:1px solid var(--dp-line, #dce6f0);border-radius:10px;margin:0 0 20px;color:var(--dp-muted, #476583);font-size:14px;overflow-wrap:anywhere}.patient-image-selection img{max-width:100%;max-height:220px;object-fit:contain;border-radius:6px}.patient-inline-images{margin-top:24px;border-top:1px solid var(--dp-line, #dce6f0);padding-top:20px}.patient-inline-images>summary{cursor:pointer;color:var(--dp-link, #1d5ebb);font-weight:700;line-height:1.9;font-size:16px}.patient-inline-images>.patient-field-hint{margin:12px 0 18px}.patient-inline-images>.patient-image-form{margin-top:20px;padding:18px;background:var(--dp-surface, #fbfcfe);border:1px solid var(--dp-line, #dce6f0);border-radius:12px}.patient-image-save-result{background:var(--dp-success-bg, #edf8f3);border:1px solid var(--dp-success-line, #a9d7c1);border-radius:9px;color:var(--dp-success-text, #176548);padding:12px 15px;margin:18px 0;font-size:15px;line-height:1.8}.patient-image-form input[type=file]{font-size:14px;max-width:100%}.patient-image-form input[type=file]::file-selector-button{color:var(--dp-link, #1c56a9);background:var(--dp-field, #eaf2ff);border:0;border-radius:6px;padding:8px;margin-inline-end:10px;cursor:pointer}.patient-clear-form .fullbtn{margin-top:12px}.patient-image-panel>.clinic-text-button{margin-top:18px}
@media(max-width:1100px){.patient-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.patient-image-heading{flex-wrap:wrap}}
@media(max-width:600px){.patient-image-panel{padding:18px 14px}.patient-image-grid{grid-template-columns:1fr}.patient-image-heading{gap:14px}.patient-image-heading h2{font-size:21px}.patient-image-heading .btn{width:100%}.patient-inline-images>.patient-image-form{padding:14px 10px}.patient-error-summary{padding:12px;font-size:14px}.patient-image-form .formgrid{grid-template-columns:1fr}.patient-clear-form .formgrid{grid-template-columns:1fr}.patient-image-thumb{height:210px}.patient-image-thumb img{max-height:186px}}
