/* DIAR-6B.2-R3.1 premium shell and role-aware navigation */
:root{--diar-navy:#0f2f57;--diar-navy-2:#183f6e;--diar-purple:#6d28d9;--diar-teal:#0f8f87;--diar-green:#0b9b70;--diar-blue:#2f6ddd;--diar-amber:#d98b0b;--diar-red:#d1435b;--diar-ink:#102a43;--diar-muted:#61758b;--diar-line:#dce6f0;--diar-soft:#f5f8fc;--diar-card:#fff;--diar-shadow:0 18px 55px rgba(25,51,82,.08)}
.elite-topbar--diar-premium .elite-title-block{display:none}
.elite-topbar--diar-premium{gap:14px;min-height:74px}
.elite-topbar--diar-premium .elite-search{max-width:620px}
body[data-native-sidebar-page^="diar-"] .elite-main{background:radial-gradient(circle at 62% 0,rgba(26,177,164,.08),transparent 28%),linear-gradient(180deg,#f8fbff 0,#f4f7fb 100%)}
body[data-native-sidebar-page^="diar-"] .native-nav-group[data-nav-group="medication"]{border-color:rgba(109,40,217,.24);background:linear-gradient(180deg,rgba(109,40,217,.06),rgba(15,143,135,.04))}
body[data-native-sidebar-page^="diar-"] .native-nav-group[data-nav-group="medication"] .native-nav-item.active{background:linear-gradient(135deg,rgba(109,40,217,.16),rgba(47,109,221,.12));color:#4b1fa8;border-color:rgba(109,40,217,.22)}
body[data-native-sidebar-page^="diar-"] .native-nav-group[data-nav-group="medication"] .native-nav-item-icon{color:#6d28d9}
.diar-premium-page{max-width:1600px;margin:0 auto;padding:0 0 34px;color:var(--diar-ink);font-size:16px}
[dir="rtl"] .diar-premium-page{font-size:17px}
.diar-premium-page *{box-sizing:border-box}
.diar-premium-page a{transition:.18s ease}
.diar-premium-eyebrow{display:block;color:var(--diar-teal);font-size:12px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.diar-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:13px;color:#6d7f92;font-size:13px;font-weight:800}
.diar-breadcrumb a{color:var(--diar-teal);text-decoration:none}.diar-breadcrumb strong{color:var(--diar-ink)}
.diar-module-header{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:28px;align-items:center;margin-bottom:22px;padding:28px 30px;border:1px solid var(--diar-line);border-radius:26px;background:linear-gradient(135deg,#fff 0,#f1f8fb 52%,#f7f3ff 100%);box-shadow:var(--diar-shadow)}
.diar-module-header h1{margin:7px 0 10px;font-size:clamp(32px,4vw,48px);line-height:1.06;letter-spacing:-.045em;color:#102a4c}.diar-module-header p{max-width:850px;margin:0;color:var(--diar-muted);font-size:17px;line-height:1.65}
.diar-module-header aside{display:grid;gap:8px;padding:18px;border:1px solid #d6e3ef;border-radius:18px;background:rgba(255,255,255,.82)}.diar-module-header aside span{color:var(--diar-muted);font-size:12px;font-weight:850}.diar-module-header aside strong{font-size:18px}.diar-module-header aside a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin-top:5px;border-radius:11px;background:var(--diar-navy);color:#fff;text-decoration:none;font-weight:850}
.diar-premium-section{margin-top:20px;padding:25px;border:1px solid var(--diar-line);border-radius:23px;background:#fff;box-shadow:var(--diar-shadow)}
.premium-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}.premium-section-heading>div>span{color:var(--diar-teal);font-size:12px;font-weight:900;letter-spacing:.09em}.premium-section-heading h2{margin:5px 0 0;font-size:27px;letter-spacing:-.03em}.premium-section-heading p{margin:7px 0 0;color:var(--diar-muted);line-height:1.6}.premium-section-heading>a,.premium-section-heading>em{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:8px 15px;border-radius:11px;background:#edf5fa;color:var(--diar-navy);font-style:normal;font-weight:850;text-decoration:none}
.premium-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.premium-feature-grid>a,.premium-feature-grid>article{position:relative;display:grid;grid-template-columns:auto 1fr;gap:7px 12px;min-height:155px;padding:20px;border:1px solid #dde7f0;border-radius:17px;background:linear-gradient(145deg,#fff,#f7faff);color:inherit;text-decoration:none;overflow:hidden}.premium-feature-grid>a:hover{transform:translateY(-3px);border-color:#7fc2bd;box-shadow:0 15px 32px rgba(25,68,97,.09)}.premium-feature-grid b{grid-row:1/4;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e8f3f3;color:var(--diar-teal);font-size:13px}.premium-feature-grid strong{font-size:19px}.premium-feature-grid span{color:var(--diar-muted);line-height:1.55}.premium-feature-grid em{justify-self:start;padding:4px 9px;border-radius:999px;background:#e4f4ef;color:#09725a;font-size:11px;font-style:normal;font-weight:900}
.diar-contract-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:20px;padding:18px;border:1px solid var(--diar-line);border-radius:20px;background:#fff;box-shadow:var(--diar-shadow)}.diar-contract-strip div{display:grid;place-items:center;padding:16px;border-radius:15px;background:#f4f8fc}.diar-contract-strip strong{font-size:30px;color:var(--diar-navy)}.diar-contract-strip span{margin-top:5px;color:var(--diar-muted);font-size:13px;font-weight:800}
.premium-workflow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.premium-workflow div{display:flex;align-items:center;gap:11px;padding:15px;border:1px solid #e2eaf2;border-radius:14px;background:#f6f9fc}.premium-workflow span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--diar-navy);color:#fff;font-size:13px;font-weight:900}.premium-role-boundaries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.premium-role-boundaries article{padding:18px;border-radius:15px;background:#f5f8fb}.premium-role-boundaries strong{font-size:18px}.premium-role-boundaries p{margin:8px 0 0;color:var(--diar-muted);line-height:1.6}
.premium-output-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:18px}.premium-output-grid article{padding:20px;border-radius:17px;background:linear-gradient(135deg,#f2f7ff,#fff);border:1px solid #dce6f1}.premium-output-grid span{display:inline-grid;place-items:center;min-width:50px;height:38px;padding:0 10px;border-radius:10px;background:#1f5fc3;color:#fff;font-weight:900}.premium-output-grid strong{display:block;margin:12px 0 7px;font-size:21px}.premium-output-grid p{margin:0;color:var(--diar-muted);line-height:1.55}.premium-sheet-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.premium-sheet-grid div{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;padding:13px;border:1px solid #dfe8f0;border-radius:13px}.premium-sheet-grid span{grid-row:1/3;display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#e4f2f0;color:var(--diar-teal);font-weight:900}.premium-sheet-grid small{color:var(--diar-muted);font-family:monospace}
.diar-governance-notice{display:flex;gap:15px;align-items:center;margin-bottom:20px;padding:17px 20px;border:1px solid #b9dfcf;border-inline-start:4px solid var(--diar-green);border-radius:16px;background:#f1fbf7}.diar-governance-notice strong{white-space:nowrap}.diar-governance-notice span{color:#4e6b61;line-height:1.55}
@media(max-width:1150px){.elite-topbar--diar-premium .elite-title-block{display:block;flex-basis:100%}.diar-module-header{grid-template-columns:1fr}.premium-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.premium-sheet-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.diar-module-header{padding:20px;border-radius:20px}.diar-module-header h1{font-size:32px}.premium-section-heading,.diar-governance-notice{flex-direction:column}.premium-feature-grid,.premium-workflow,.premium-role-boundaries,.premium-output-grid,.premium-sheet-grid,.diar-contract-strip{grid-template-columns:1fr}.diar-premium-section{padding:18px}.diar-governance-notice strong{white-space:normal}}
