.hpr-wrap{max-width:1120px;margin:0 auto;padding:28px 18px;font-family:inherit;color:#1f2933}.hpr-hero{background:#f8fafc;border:1px solid #e5e7eb;border-radius:18px;padding:28px;margin-bottom:24px}.hpr-hero-small{padding:22px}.hpr-eyebrow{letter-spacing:.08em;text-transform:uppercase;font-size:12px;font-weight:700;color:#475569;margin:0 0 8px}.hpr-hero h1{margin:.2em 0 .35em;font-size:clamp(28px,4vw,44px);line-height:1.1}.hpr-hero p{max-width:760px;color:#475569}.hpr-search{display:flex;gap:10px;margin-top:18px;max-width:720px}.hpr-search input{flex:1;min-height:46px;border:1px solid #cbd5e1;border-radius:12px;padding:0 14px;font-size:16px}.hpr-search button{border:0;border-radius:12px;padding:0 20px;min-height:46px;background:#111827;color:#fff;font-weight:700;cursor:pointer}.hpr-section{margin:28px 0}.hpr-section h2{font-size:24px;margin:0 0 14px}.hpr-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.hpr-card{display:block;text-decoration:none;color:inherit;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:18px;transition:box-shadow .2s,transform .2s}.hpr-card:hover{box-shadow:0 8px 25px rgba(15,23,42,.08);transform:translateY(-1px)}.hpr-card strong{display:block;font-size:18px;margin-bottom:6px}.hpr-card span,.hpr-card p{color:#64748b}.hpr-list{display:grid;gap:10px}.hpr-list-item{display:flex;align-items:center;justify-content:space-between;gap:16px;text-decoration:none;color:inherit;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:14px 16px}.hpr-list-item:hover{background:#f8fafc}.hpr-list-item small{display:block;color:#64748b;margin-top:3px}.hpr-list-item em{font-style:normal;color:#64748b}.hpr-breadcrumb{font-size:14px;margin:0 0 14px;color:#64748b}.hpr-breadcrumb a{text-decoration:none}.hpr-breadcrumb span{padding:0 6px;color:#94a3b8}.hpr-stat-pill,.hpr-chip,.hpr-grade{display:inline-block;border-radius:999px;padding:6px 10px;background:#eef2ff;color:#3730a3;font-weight:700;font-size:13px}.hpr-chip-row{display:flex;gap:8px;flex-wrap:wrap}.hpr-chip{text-decoration:none;background:#f1f5f9;color:#334155}.hpr-meta-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.hpr-meta-row span{background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:6px 10px;font-size:13px}.hpr-remedy-table-wrap{overflow-x:auto;border:1px solid #e5e7eb;border-radius:14px;background:#fff}.hpr-remedy-table{width:100%;border-collapse:collapse}.hpr-remedy-table th,.hpr-remedy-table td{padding:12px 14px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:top}.hpr-remedy-table th{background:#f8fafc;font-size:13px;text-transform:uppercase;letter-spacing:.03em}.hpr-remedy-table tr:last-child td{border-bottom:0}.hpr-grade-1{background:#f1f5f9;color:#334155}.hpr-grade-2{background:#e0f2fe;color:#075985}.hpr-grade-3{background:#ecfdf5;color:#065f46}.hpr-grade-4{background:#fef3c7;color:#92400e}.hpr-muted-btn{border:1px solid #cbd5e1;background:#f8fafc;color:#64748b;border-radius:9px;padding:7px 10px}.hpr-muted-link{display:inline-block;margin-left:8px}.hpr-placeholder-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin:28px 0}.hpr-placeholder,.hpr-disclaimer,.hpr-notice{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:16px}.hpr-placeholder h2{font-size:20px;margin:0 0 6px}.hpr-placeholder p,.hpr-disclaimer{color:#475569}.hpr-disclaimer{background:#fffbeb;border-color:#fde68a}.hpr-notice{background:#f8fafc;color:#475569}@media(max-width:640px){.hpr-wrap{padding:18px 12px}.hpr-search{flex-direction:column}.hpr-search button{width:100%}.hpr-remedy-table th,.hpr-remedy-table td{padding:10px 9px}.hpr-muted-link{display:block;margin:8px 0 0}}

/* v2.0 Case Basket */
.hpr-case-add { border: 1px solid #d9e2ec; border-radius: 16px; padding: 18px; background: #f8fbff; }
.hpr-case-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; align-items: end; }
.hpr-case-form label, .hpr-panel label { display: block; font-weight: 600; }
.hpr-case-form select, .hpr-case-form input, .hpr-case-form textarea, .hpr-panel input, .hpr-panel textarea { width: 100%; margin-top: 6px; }
.hpr-case-note { grid-column: 1 / -1; }
.hpr-primary-btn { display: inline-block; border: 0; border-radius: 10px; padding: 11px 16px; font-weight: 700; cursor: pointer; background: #111827; color: #fff; text-decoration: none; }
.hpr-muted-btn { border: 1px solid #d1d5db; border-radius: 8px; padding: 7px 10px; background: #fff; cursor: pointer; text-decoration: none; }
.hpr-inline-form { display: inline-block; margin: 2px; }
.hpr-notice-success { border-left-color: #22c55e; }
.hpr-notice-error { border-left-color: #ef4444; }
.hpr-case-table td { vertical-align: top; }

/* Version 2.5 repertorisation results */
.hpr-result-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:14px}.hpr-result-card{background:#fff;border:1px solid #d9e2ec;border-radius:14px;padding:18px;box-shadow:0 4px 18px rgba(15,23,42,.05);position:relative}.hpr-result-card h3{margin:.2rem 0 .25rem;font-size:1.25rem}.hpr-result-card ul{margin:.75rem 0 1rem;padding-left:18px}.hpr-rank{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:32px;border-radius:999px;background:#eef6ff;font-weight:700}.hpr-score{font-size:1.05rem;margin:.6rem 0}.hpr-warning-text{color:#9a3412;font-weight:600}.hpr-muted-text{color:#64748b}.hpr-result-actions .hpr-save-case-form{margin-top:16px;display:grid;gap:10px;max-width:680px}.hpr-result-actions input,.hpr-result-actions textarea,.hpr-method-form select{width:100%;max-width:420px}.hpr-result-detail{background:#fff;border:1px solid #d9e2ec;border-radius:12px;margin:12px 0;padding:14px}.hpr-result-detail summary{cursor:pointer}.hpr-settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.hpr-primary-link{font-weight:700;text-decoration:none}.hpr-primary-link:hover{text-decoration:underline}@media print{.hpr-no-print,.hpr-breadcrumb,.hpr-search,.hpr-placeholder-grid,.hpr-disclaimer button,.site-header,.site-footer,header,footer,nav[role="navigation"]{display:none!important}.hpr-wrap{max-width:none!important;margin:0!important;padding:0!important}.hpr-section,.hpr-hero{box-shadow:none!important;border:1px solid #ddd!important;break-inside:avoid}.hpr-result-card{box-shadow:none!important}.hpr-remedy-table-wrap{overflow:visible!important}.hpr-remedy-table{font-size:12px}.hpr-print-header{border:none!important}}

/* v3.0 grouped advanced search */
.hpr-search-groups { display: grid; gap: 18px; }
.hpr-search-group { border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px; background: #fff; }
.hpr-search-group h3 { margin-top: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hpr-search-group h3 span { font-size: 13px; padding: 3px 8px; border-radius: 999px; background: #f1f5f9; color: #475569; }
.hpr-search-desc { display: block; font-style: normal; color: #64748b; margin-top: 4px; }

/* v3.5 Materia Medica Bridge */
.hpr-mm-links{margin-top:12px;font-size:14px;}
.hpr-mm-links strong{display:block;margin-bottom:6px;}
.hpr-mm-links ul{margin:6px 0 0 18px;padding:0;}
.hpr-mm-links.hpr-chip-row{margin-top:8px;gap:6px;}
.hpr-result-card .hpr-mm-links{border-top:1px solid rgba(0,0,0,.08);padding-top:10px;}
.hpr-warning-text{font-weight:600;}

/* v4.0 Membership Layer */
.hpr-membership-badge{display:inline-flex;gap:6px;align-items:center;margin:0 0 14px;padding:8px 12px;border:1px solid #d7dee8;border-radius:999px;background:#f8fafc;font-size:13px}
.hpr-locked-card{margin:16px 0;padding:18px;border:1px dashed #b7c3d0;border-radius:14px;background:#fbfcff}
.hpr-locked-card h3{margin-top:0}.hpr-locked-card ul{margin:10px 0 0 20px}.hpr-locked-chip{opacity:.75;border-style:dashed}.hpr-ad-card{margin:20px 0;padding:14px;border:1px dashed #d0d7de;border-radius:12px;background:#fffdf7;color:#57534e}.hpr-warning-text{color:#9a3412}.hpr-muted-text{color:#64748b}


.hpr-professional-wrap .hpr-hero { border-left: 4px solid currentColor; }
.hpr-compact-list { margin: 10px 0; padding-left: 18px; }
.hpr-compact-list li { margin: 4px 0; }


/* v5.0 International Platform */
.hpr-language-tools{display:flex;gap:12px;align-items:end;flex-wrap:wrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:12px;margin:0 0 16px}
.hpr-language-tools label{display:flex;flex-direction:column;font-size:13px;font-weight:600;gap:4px}
.hpr-language-tools input{max-width:110px;padding:7px 9px;border:1px solid #cbd5e1;border-radius:8px}
.hpr-language-tools button{padding:8px 12px;border:0;border-radius:8px;cursor:pointer}
.hpr-wrap[dir="rtl"],.hpr-rtl{text-align:right;direction:rtl}
.hpr-wrap[dir="rtl"] .hpr-list-item,.hpr-rtl .hpr-list-item{flex-direction:row-reverse}
.hpr-wrap[dir="rtl"] .hpr-meta-row,.hpr-rtl .hpr-meta-row,.hpr-wrap[dir="rtl"] .hpr-chip-row,.hpr-rtl .hpr-chip-row{direction:rtl}
.hpr-regional-disclaimer{border-inline-start:4px solid #64748b}

/* v5.1 Kent-style references and verification blocks */
.hpr-see-references .hpr-see-chip { font-weight: 700; }
.hpr-source-verification .hpr-meta-row { gap: 12px; align-items: flex-start; }
.hpr-source-verification a { overflow-wrap: anywhere; }

/* v5.3.2 Relationship Of Remedies visitor text colors only */
.hpr-relationship-table th, .hpr-relationship-table td { vertical-align: top; }
.hpr-relationship-table th { background:#f8fafc; }
.hpr-rel-badge { display:inline-block; padding:4px 0; margin:3px 12px 3px 0; border-radius:0; background:transparent !important; font-weight:800; font-size:13px; }
.hpr-rel-complementary, .hpr-rel-head-complementary, .hpr-rel-cell-complementary a { color:#0b7a32 !important; }
.hpr-rel-follows, .hpr-rel-head-follows, .hpr-rel-cell-follows a { color:#2f9e44 !important; }
.hpr-rel-inimical, .hpr-rel-head-inimical, .hpr-rel-cell-inimical a { color:#d62828 !important; }
.hpr-rel-antidote, .hpr-rel-head-antidote, .hpr-rel-cell-antidote a { color:#8b5e34 !important; }
.hpr-rel-head-complementary, .hpr-rel-head-follows, .hpr-rel-head-inimical, .hpr-rel-head-antidote { font-weight:800; }
.hpr-rel-cell-complementary, .hpr-rel-cell-follows, .hpr-rel-cell-inimical, .hpr-rel-cell-antidote { background:transparent !important; color:inherit; }
.hpr-relationship-table a { font-weight:700; text-decoration: underline; }
