/* DT_OFFICIAL_REFS_V1: scoped, local-font reference shelves and document cards. */
@font-face{font-family:RefVazir;src:url('/assets/gateway-v3/assets/Vazirmatn-Bold-sub-v1.woff2') format('woff2');font-weight:400 900;font-display:swap}
.refhub{--ref-blue:#00369a;--ref-ink:#172c48;--ref-muted:#53657c;--ref-line:#dfe7f1;font-family:RefVazir,Tahoma,sans-serif;color:var(--ref-ink)}
.refhub *{box-sizing:border-box}.refhub a{color:var(--ref-blue);text-decoration:none}.refhub a:focus-visible,.refhub input:focus-visible{outline:3px solid #f2ad40;outline-offset:4px}.refhub [hidden]{display:none!important}.refhub .ref-wrap{max-width:1240px;margin:auto;padding:38px 24px 28px}.refhub .ref-page-heading{padding:12px 0 18px}.refhub h1{font-size:clamp(28px,4vw,48px);line-height:1.5;margin:6px 0}.refhub h2{font-size:24px;margin:0 0 10px}.refhub h3{font-size:18px;margin:0;line-height:1.7}.refhub p{line-height:1.9;color:var(--ref-muted);margin:8px 0}.refhub .ref-eyebrow{font-size:13px;color:var(--ref-blue)}
.refhub .ref-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:24px}.ref-home{padding-block:52px}.ref-home .ref-heading h2{font-size:36px}.refhub .ref-documents{display:grid;grid-template-columns:1fr 1fr;gap:20px}.refhub .ref-doc{border:1px solid var(--ref-line);border-radius:20px;background:#fff;display:flex;gap:20px;padding:28px;align-items:flex-start;box-shadow:0 8px 30px #19365c06}.refhub .ref-doc-icon{display:flex;align-items:center;justify-content:center;flex:0 0 54px;height:70px;background:#edf3ff;border:1px solid #cbd9f2;border-radius:8px 8px 16px 8px;color:var(--ref-blue);font:700 14px Arial,sans-serif}.refhub .ref-actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-top:18px}.refhub .ref-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;background:var(--ref-blue);color:#fff;border-radius:10px;padding:10px 17px;font-size:14px}.refhub .ref-actions>a:not(.ref-button),.refhub .ref-all{min-height:44px;display:inline-flex;align-items:center;font-size:14px}.refhub .ref-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:4px 0 28px}.refhub .ref-tabs a{padding:12px 19px;border:1px solid var(--ref-line);background:#fff;border-radius:50px;min-height:46px}.refhub .ref-tabs .is-active{background:var(--ref-blue);color:white;border-color:var(--ref-blue)}
.refhub .ref-specialties{margin-top:44px}.refhub .ref-spec-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.refhub .ref-spec-card{position:relative;background:#fff;border:1px solid var(--ref-line);border-radius:14px;padding:22px;transition:border-color .15s,transform .15s}.refhub .ref-spec-card:hover{border-color:#88a8e1;transform:translateY(-2px)}.refhub .ref-spec-card>span{position:absolute;left:22px;bottom:20px}.refhub .ref-spec-card p{font-size:13px}.refhub .ref-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px}.refhub .ref-sidebar{border:1px solid var(--ref-line);background:#fff;border-radius:16px;padding:18px;height:fit-content;position:sticky;top:95px;max-height:calc(100dvh - 115px);overflow:auto}.refhub .ref-sidebar h2{font-size:15px}.refhub .ref-sidebar nav{display:grid;gap:3px}.refhub .ref-sidebar a{padding:10px;border-radius:7px;color:var(--ref-muted);font-size:13px;min-height:44px;display:flex;align-items:center}.refhub .ref-sidebar a[aria-current]{background:#edf3ff;color:var(--ref-blue)}.refhub .ref-main{min-width:0}.refhub .ref-scope{background:#edf3ff;border:1px solid #d7e3f7;border-radius:18px;padding:24px;margin-bottom:32px}.refhub .ref-scope h2{font-size:19px}.refhub .ref-scope p{font-size:14px}.refhub .ref-search-label{display:block;font-size:13px;margin:0 0 7px}.refhub .ref-search{font:inherit;width:100%;min-height:48px;border:1px solid #cbd6e4;border-radius:11px;padding:10px 15px;background:#fff;margin-bottom:22px}.refhub .ref-books{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 18px}.refhub .ref-book{background:#fff;border:1px solid var(--ref-line);border-radius:12px;overflow:hidden;min-width:0}.refhub .ref-book-cover{position:relative;min-height:245px;padding:22px 24px 22px 26px;border-inline-start:10px solid #002677;background:linear-gradient(125deg,#194caa,#002e83);color:#fff;display:flex;flex-direction:column;gap:15px}.refhub .ref-book:nth-child(3n+2) .ref-book-cover{background:linear-gradient(125deg,#287784,#164b5a);border-inline-start-color:#123d47}.refhub .ref-book:nth-child(3n) .ref-book-cover{background:linear-gradient(125deg,#72558a,#453b67);border-inline-start-color:#352d4d}.refhub .ref-book-cover h3{font-family:Georgia,RefVazir,serif;font-size:19px;line-height:1.45;overflow-wrap:anywhere}.refhub .ref-book-series{font-size:11px;opacity:.76;border-bottom:1px solid #ffffff40;padding-bottom:12px}.refhub .ref-book-meta{font-size:12px;line-height:1.6;opacity:.9;margin-top:auto;overflow-wrap:anywhere}.refhub .ref-book-body{padding:15px;display:grid;gap:10px}.refhub .ref-status{font-size:11px;color:#53657c}.refhub .ref-ready{color:#17654b}.refhub .ref-source-link{display:inline-flex;align-items:center;min-height:44px;font-size:12px}.refhub .ref-warning{font-size:12px;background:#fff6df;padding:9px;border-radius:7px;color:#775514}.refhub .ref-reader{width:100%}.refhub .ref-ethics{display:block;background:#fff;border:1px solid var(--ref-line);border-radius:12px;padding:20px;margin-top:28px}.refhub .ref-footer{border-top:1px solid var(--ref-line);margin-top:45px;padding-top:18px}.refhub .ref-footer p{font-size:12px}.refhub .ref-dash-entry{margin:16px 0;padding:16px 20px;border:1px solid var(--ref-line);border-radius:14px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px}.refhub .ref-dash-entry p{margin:0;font-size:13px}
@media(max-width:1050px){.refhub .ref-books{grid-template-columns:repeat(2,minmax(0,1fr))}.refhub .ref-layout{grid-template-columns:190px minmax(0,1fr)}.refhub .ref-doc{padding:22px;gap:15px}}
@media(max-width:700px){.refhub .ref-wrap{padding:24px 16px}.refhub .ref-heading{align-items:flex-start;flex-direction:column;gap:8px}.refhub .ref-documents{grid-template-columns:1fr;gap:14px}.refhub .ref-doc{padding:20px;gap:14px}.refhub .ref-doc h3{font-size:16px}.refhub .ref-doc-icon{flex-basis:44px;height:58px}.refhub .ref-spec-grid{grid-template-columns:1fr 1fr;gap:10px}.refhub .ref-spec-card{padding:17px 14px}.refhub .ref-spec-card h3{font-size:15px}.refhub .ref-layout{display:block}.refhub .ref-sidebar{position:static;padding:13px;margin-bottom:18px;max-height:none;overflow:visible}.refhub .ref-sidebar nav{display:flex;overflow:auto;gap:7px;padding-bottom:6px}.refhub .ref-sidebar a{white-space:nowrap;border:1px solid var(--ref-line)}.refhub .ref-books{gap:13px}.refhub .ref-book-cover{min-height:235px;padding:17px 14px;border-inline-start-width:6px}.refhub .ref-book-cover h3{font-size:17px}.refhub .ref-book-meta{font-size:11px}.refhub .ref-book-body{padding:12px}.refhub .ref-tabs a{font-size:12px;padding:10px 14px}.refhub .ref-scope{padding:19px}.refhub .ref-dash-entry{align-items:flex-start;flex-direction:column}.ref-home .band-in{padding-inline:20px}.ref-home{padding-block:32px}}
@media(prefers-reduced-motion:reduce){.refhub *{transition:none!important}}
