/* Medication workflow: server-rendered forms; optional client utilities do not run matching. */
.rdm-lookup-page .lk-hero{background:linear-gradient(120deg,#0b3447,#075c66);color:#fff;border-radius:14px;padding:28px 32px;margin:20px 0}
.rdm-lookup-page .lk-hero h1{font-size:38px;line-height:1.15;color:#fff;margin:10px 0 12px}
.rdm-lookup-page .lk-hero p{margin:8px 0}.rdm-lookup-page .lk-hero .eyebrow{color:#ceeceb;letter-spacing:1.3px}
.lk-hero-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.lk-hero-badges span{background:#e9f7f3;color:#084b5b;border:1px solid #a3d9d3;border-radius:5px;padding:5px 10px;font-size:14px;font-weight:700}
.rdm-lookup-page .lk-privacy-short{font-size:15px;line-height:1.6;border-left:4px solid #508394;padding:12px 16px;background:#e9f2f7;border-radius:7px;margin:18px 0}
.rdm-lookup-page .lk-entry{padding:0;border:2px solid #b2cdd9;overflow:visible}
.rdm-lookup-page .lk-entry>summary{font-size:22px;padding:19px 22px;color:#143f53;cursor:pointer;font-weight:700}
.lk-entry-body{padding:0 22px 22px}.lk-entry-body label,.lk-result label{display:block;font-weight:700;margin:14px 0 7px}
.rdm-lookup-page textarea{font:18px/1.55 Arial,Helvetica,sans-serif;display:block;width:100%;max-width:100%;min-height:130px;resize:vertical;border:1px solid #789fac;border-radius:7px;background:#fff;color:#193846;padding:14px}
.rdm-lookup-page textarea:focus-visible{outline:3px solid #be8500;outline-offset:3px}
.lk-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0 8px}
.lk-actions>.button{min-height:46px;padding:11px 16px;white-space:normal;font-size:16px}
.lk-example{margin-top:15px}.lk-help,.lk-view-note{font-size:15px;line-height:1.6;color:#425e6b;margin:12px 0}
.rdm-lookup-page .lk-scope{padding:13px 16px;background:#f1f6f8;border-left:3px solid #8baab8;font-size:16px}
.lk-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:24px 0 12px}
.lk-filter{font:inherit;cursor:pointer;background:#fff;border:1px solid #aecbd8;border-radius:9px;padding:13px 10px;color:#193f51;min-height:89px;text-align:left}
.lk-filter strong{display:block;font-size:28px;line-height:1.15;margin-bottom:5px}.lk-filter span{display:block;font-size:14px;font-weight:700;line-height:1.35}
.lk-filter:hover{background:#eef7fa}.lk-filter.is-active{background:#0c5668;border:2px solid #0c5668;color:#fff}
.lk-results{margin:16px 0;padding:0;list-style:none}.lk-result{border:1px solid #bdd1db;border-left:5px solid #3e8391;border-radius:9px;margin:16px 0;padding:22px;background:#fff;scroll-margin-top:110px}
.lk-result.lk-review{border-left-color:#b47b13;background:#fffdf6}.lk-result.lk-unmatched{border-left-color:#89687b;background:#fdfbfc}
.lk-row-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.lk-row-head h3{display:flex;gap:10px;align-items:baseline;margin:0;font-size:21px;line-height:1.4;min-width:0}.lk-entered-name{overflow-wrap:anywhere}.lk-number{font-size:15px;border:1px solid #a8beca;padding:2px 7px;border-radius:5px;flex:none;font-weight:400;background:#fff;color:#425f6b}
.lk-badge{font-size:13px;font-weight:700;line-height:1.4;border:1px solid #bed8d2;border-radius:5px;padding:5px 9px;background:#e9f4f0;color:#205d59;flex:none}
.lk-review .lk-badge{border-color:#e3c883;background:#fff0c5;color:#805b14}.lk-unmatched .lk-badge{border-color:#d9c6d1;background:#f5eaf0;color:#765066}
.lk-result p{margin:12px 0}.lk-result .lk-source-count,.lk-result .lk-duplicate{font-size:14px;line-height:1.5;color:#4c6271}
.rdm-lookup-page .lk-result select{width:100%;max-width:100%;min-width:0;min-height:48px;font:16px/1.4 Arial,Helvetica,sans-serif;border:1px solid #8dabb9;border-radius:6px;padding:11px;background:#fff}
.lk-edit{margin-top:17px;border-top:1px solid #d4e1e8;padding-top:13px}.lk-edit summary{font-size:15px;font-weight:700;color:#225c72;cursor:pointer}.lk-edit input{width:100%;max-width:100%;min-width:0;padding:11px;font:17px Arial,Helvetica,sans-serif;border:1px solid #8dabb9;border-radius:5px}.lk-remove{color:#784e48!important;border-color:#cbb1aa!important}
.rdm-lookup-page .lk-guidance-intro{margin:30px 0 20px}.rdm-lookup-page .guidance{padding:24px;background:#fff;border:1px solid #bdd2dc;border-radius:12px;margin:24px 0;scroll-margin-top:110px}
.rdm-lookup-page .guidance-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.guidance-head h2{margin:6px 0 12px}
.lk-evidence-tip{background:#f5fcfa;border:2px solid #8dd8d1;border-radius:9px;padding:16px 18px;margin:15px 0 22px;color:#084b5f}.lk-evidence-tip>strong{font-size:21px}.lk-evidence-tip p{margin:7px 0 0;font-size:15px}
.rdm-lookup-page .source{border:1px solid #bdcfda;border-radius:8px;margin:16px 0}.rdm-lookup-page .source>summary{padding:15px 18px;cursor:pointer;font-size:19px;line-height:1.45;font-weight:700;color:#184758;overflow-wrap:anywhere}.source-kind{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.8px;line-height:1.6;color:#55717e}.source-body{padding:0 18px 18px;min-width:0}.source-body .source-meta{display:grid;grid-template-columns:160px minmax(0,1fr);gap:5px 14px;font-size:15px}.source-meta dt{font-weight:700}.source-meta dd{margin:0;min-width:0;overflow-wrap:anywhere}.source-section{margin:20px 0}.source-section h3{font-size:20px}.source-body .hint{font-size:14px;color:#4b6471;line-height:1.6}.warning-list p{font-size:16px}
.rdm-lookup-page .comparisons{padding:18px;background:#f8fafb;border:1px solid #c5d7df;border-radius:8px}.comparisons summary{font-weight:700;cursor:pointer}.lk-privacy summary{font-size:18px;font-weight:700;cursor:pointer}.lk-privacy p{font-size:15px;line-height:1.7}
@media(max-width:640px){.rdm-lookup-page .lk-hero{padding:23px 20px}.rdm-lookup-page .lk-hero h1{font-size:30px}.lk-hero-badges span{font-size:12px}.lk-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lk-filter{min-height:78px;padding:11px}.lk-filter strong{font-size:26px}.rdm-lookup-page .lk-entry>summary{font-size:20px;padding:17px}.lk-entry-body{padding:0 16px 18px}.lk-row-head{display:block}.lk-row-head h3{font-size:20px}.lk-badge{display:inline-block;margin-top:10px}.lk-result{padding:17px 14px}.lk-actions>.button{flex:1 1 180px}.rdm-lookup-page .guidance{padding:18px 14px}.source-body{padding:0 12px 14px}.source-body .source-meta{display:block}.source-meta dd{margin:0 0 12px}.rdm-lookup-page .lk-overview{padding:19px 15px}.lk-result,.rdm-lookup-page .guidance{scroll-margin-top:20px}}
@media print{.lk-hero,.lk-privacy-short,.lk-entry,.lk-actions,.lk-edit,.lk-filters,.lk-privacy,.lk-view-note,.lk-help,#lookup-action-status{display:none!important}.lk-result{border:1px solid #999;padding:12px;break-inside:avoid}.lk-result select,.lk-result label{display:none!important}.rdm-print-list .guidance,.rdm-print-list .lk-guidance-intro{display:none!important}.rdm-print-list .lk-results{display:block}.rdm-lookup-page .lk-overview{border:0;padding:0}.rdm-lookup-page .lk-row-head{display:flex}.rdm-lookup-page .lk-scope{display:block;font-size:10pt}}
