/* DurNama 1.0.11 — Herat Library */
body.public-site.theme-emerald{--ink:#29332f;--ink-soft:#6d776f;--paper:#e8e2d1;--paper-deep:#d5ccb5;--cream:#f5f0e2;--wine:#79503d;--wine-dark:#57372a;--wine-soft:#eadbd3;--gold:#a1793d;--gold-soft:#ddc798;--teal:#184f43;--line:rgba(52,67,59,.16);--line-strong:rgba(52,67,59,.28);--shadow:0 24px 60px rgba(41,52,47,.12);--radius:4px;background:#e8e2d1;color:var(--ink)}
.theme-emerald .emerald-header{background:#f0eadb;border-bottom:1px solid #9f8d68}.theme-emerald .emerald-top{color:#d9cfb8;background:#143e35}.theme-emerald .emerald-top .container-xxl{display:flex;justify-content:space-between;align-items:center;min-height:31px;font-size:.55rem}.theme-emerald .emerald-top a{color:#ede5d2;margin-right:14px}.theme-emerald .emerald-masthead{display:grid;grid-template-columns:1fr 390px;gap:40px;align-items:center;min-height:118px}.theme-emerald .emerald-brand{display:flex;gap:16px;align-items:center}.theme-emerald .emerald-brand>span,.theme-emerald .emerald-brand>img{width:62px;height:76px;object-fit:contain}.theme-emerald .emerald-brand>span{display:grid;place-items:center;color:#e8dbc0;background:#184f43;border:1px solid #a1793d;border-radius:2px 2px 14px 14px;font-family:var(--font-poem);font-size:2rem;box-shadow:inset 0 0 0 5px rgba(255,255,255,.08)}.theme-emerald .emerald-brand div{display:flex;flex-direction:column}.theme-emerald .emerald-brand small{color:#887b61;font-size:.55rem;letter-spacing:.08em}.theme-emerald .emerald-brand strong{font-family:var(--font-poem);font-size:2.1rem;line-height:1.2}.theme-emerald .emerald-brand em{color:#6d776f;font-size:.62rem;font-style:normal}.theme-emerald .emerald-search label{display:block;margin-bottom:4px;color:#6b755f;font-size:.56rem;font-weight:900}.theme-emerald .emerald-search>div{display:grid;grid-template-columns:1fr auto;border:1px solid #8f8368}.theme-emerald .emerald-search input{min-width:0;padding:10px 12px;background:#faf5e8;border:0;outline:0}.theme-emerald .emerald-search button{padding:10px 17px;color:#efe6d3;background:#184f43;border:0;font-weight:900}.theme-emerald .emerald-catalog-nav{position:sticky;top:0;z-index:1020;color:#e6ddca;background:#1b4c42;border-top:5px solid #a1793d}.theme-emerald .emerald-catalog-nav .container-xxl{display:flex;align-items:center;gap:0;overflow-x:auto}.theme-emerald .emerald-catalog-nav span{padding:10px 16px;color:#c4ae7f;font-size:.55rem}.theme-emerald .emerald-catalog-nav a{padding:10px 18px;border-right:1px solid rgba(255,255,255,.12);white-space:nowrap;font-size:.65rem}.theme-emerald .emerald-catalog-nav a:hover{color:#173f36;background:#d9c8a2}
.theme-emerald .emerald-title-page{padding:70px 0 50px;background:#e8e2d1;background-image:linear-gradient(rgba(75,67,48,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(75,67,48,.035) 1px,transparent 1px);background-size:28px 28px}.theme-emerald .emerald-title-grid{display:grid;grid-template-columns:130px 1fr 360px;gap:48px;align-items:stretch}.theme-emerald .emerald-classification{display:flex;flex-direction:column;align-items:center;padding:24px 14px;color:#e8deca;background:#184f43;border-top:8px solid #a1793d}.theme-emerald .emerald-classification span{font-size:.55rem}.theme-emerald .emerald-classification b{margin:15px 0;font-family:Georgia,serif;font-size:2.2rem;writing-mode:vertical-rl}.theme-emerald .emerald-classification i{width:1px;height:80px;background:#a1793d}.theme-emerald .emerald-classification small{margin-top:auto;text-align:center;font-size:.52rem;line-height:1.8}.theme-emerald .emerald-title-copy{padding:34px 0}.theme-emerald .emerald-title-copy>p{margin:0;color:#1a5044;font-size:.7rem;font-weight:900}.theme-emerald .emerald-title-copy h1{margin:9px 0;font-family:var(--font-poem);font-size:clamp(3.6rem,6vw,6.5rem);font-weight:600;line-height:1.06}.theme-emerald .emerald-title-copy h1 em{color:#184f43;font-style:normal}.theme-emerald .emerald-title-copy blockquote{max-width:600px;margin:30px 0 0;padding:15px 22px;border-right:4px solid #a1793d;color:#69736b;font-family:var(--font-poem);font-size:1rem}.theme-emerald .emerald-title-actions{display:flex;gap:20px;margin-top:30px}.theme-emerald .emerald-title-actions a{color:#184f43;font-size:.68rem;font-weight:900;border-bottom:1px solid #a1793d}.theme-emerald .emerald-catalog-slip{align-self:center;padding:22px;background:#f6f0e1;border:1px solid #9e8f70;box-shadow:8px 10px 0 rgba(72,66,51,.08)}.theme-emerald .emerald-catalog-slip header{display:flex;justify-content:space-between;padding-bottom:10px;border-bottom:1px solid #9e8f70;font-size:.58rem}.theme-emerald .emerald-catalog-slip header b{font-family:monospace;color:#184f43}.theme-emerald .emerald-catalog-slip form{display:grid;gap:7px;margin-top:17px}.theme-emerald .emerald-catalog-slip label{font-size:.56rem}.theme-emerald .emerald-catalog-slip input{padding:11px;background:transparent;border:1px solid #9e8f70;outline:0}.theme-emerald .emerald-catalog-slip button{padding:11px;color:#f3ead7;background:#184f43;border:0;font-weight:900}.theme-emerald .emerald-catalog-slip dl{display:grid;grid-template-columns:repeat(3,1fr);margin:20px 0 0;border-top:1px solid #9e8f70}.theme-emerald .emerald-catalog-slip dl>div{padding-top:10px}.theme-emerald .emerald-catalog-slip dt{color:#6f786f;font-size:.5rem}.theme-emerald .emerald-catalog-slip dd{margin:0;font-family:Georgia,serif;font-size:.95rem}
.theme-emerald .emerald-shelves-section{padding:95px 0;background:#d8d0bb}.theme-emerald .emerald-section-heading{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:35px;padding:0 0 17px;border-bottom:3px double #7b755f}.theme-emerald .emerald-section-heading span{color:#184f43;font-size:.56rem;font-weight:900}.theme-emerald .emerald-section-heading h2{margin:3px 0;font-family:var(--font-poem);font-size:2.8rem}.theme-emerald .emerald-section-heading p{margin:0;color:#687169}.theme-emerald .emerald-section-heading>a{color:#184f43;font-size:.62rem;font-weight:900}.theme-emerald .emerald-alphabet{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:0;max-width:520px;border:1px solid #9d9278}.theme-emerald .emerald-alphabet button{width:30px;height:30px;color:#5f6c65;background:#e7e0cf;border:0;border-left:1px solid #b7ad95}.theme-emerald .emerald-alphabet button.active,.theme-emerald .emerald-alphabet button:hover{color:#eee5d2;background:#184f43}.theme-emerald .emerald-shelf{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.theme-emerald .emerald-book{display:grid;grid-template-columns:54px 1fr;min-height:230px;box-shadow:0 15px 35px rgba(52,58,50,.08);transition:.22s}.theme-emerald .emerald-book:hover{transform:translateY(-4px)}.theme-emerald .emerald-book[hidden]{display:none}.theme-emerald .emerald-book-spine{display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:12px 7px;color:#e7dcc6;background:#184f43;border-left:5px solid #a1793d}.theme-emerald .emerald-book-spine span{font-family:monospace;font-size:.48rem}.theme-emerald .emerald-book-spine b{font-family:var(--font-poem);font-size:.78rem;writing-mode:vertical-rl}.theme-emerald .emerald-book-spine i{font-size:.45rem;font-style:normal;writing-mode:vertical-rl}.theme-emerald .emerald-book-card{display:grid;grid-template-columns:120px 1fr;gap:18px;padding:20px;background:#f2ecde;border:1px solid #9f9277;border-right:0}.theme-emerald .emerald-book-portrait{display:grid;place-items:center;height:170px;overflow:hidden;background:#d1c5a9;border:5px solid #e6dcc7;outline:1px solid #9b8b6c}.theme-emerald .emerald-book-portrait img{width:100%;height:100%;object-fit:cover;object-position:top;filter:sepia(.12) contrast(.98)}.theme-emerald .emerald-book-portrait>span{font-family:var(--font-poem);font-size:4rem;color:#184f43}.theme-emerald .emerald-book-card small{color:#766f5d;font-family:monospace;font-size:.5rem}.theme-emerald .emerald-book-card h3{margin:4px 0 0;font-family:var(--font-poem);font-size:1.4rem}.theme-emerald .emerald-book-card em{color:#a1793d;font-size:.56rem;font-style:normal}.theme-emerald .emerald-book-card p{margin:8px 0;color:#6c746e;font-size:.66rem;line-height:1.8}.theme-emerald .emerald-book-card footer{display:flex;gap:18px;padding-top:8px;border-top:1px solid #c2b8a0;color:#687168;font-size:.56rem}
.theme-emerald .emerald-ledger-section{padding:90px 0;background:#eee8d8}.theme-emerald .emerald-ledger{border:1px solid #8f8267}.theme-emerald .emerald-ledger-head,.theme-emerald .emerald-ledger article{display:grid;grid-template-columns:80px 1fr 160px 100px;align-items:center}.theme-emerald .emerald-ledger-head{color:#eadfc9;background:#184f43;font-size:.54rem;font-weight:900}.theme-emerald .emerald-ledger-head span{padding:10px 14px;border-left:1px solid rgba(255,255,255,.12)}.theme-emerald .emerald-ledger article{min-height:86px;background:#f6f0e1;border-top:1px solid #b3a78d}.theme-emerald .emerald-ledger article>span,.theme-emerald .emerald-ledger article>div,.theme-emerald .emerald-ledger article>a{padding:13px 14px;border-left:1px solid #c2b79f}.theme-emerald .emerald-ledger article h3{margin:0;font-family:var(--font-poem);font-size:1rem}.theme-emerald .emerald-ledger article small{color:#687168;font-size:.55rem}.theme-emerald .emerald-ledger article>a{color:#184f43;font-size:.58rem;font-weight:900}
/* Inner pages: catalogue */
.theme-emerald .page-paper{background:#e8e2d1}.theme-emerald .page-paper:before{opacity:.22;background-image:linear-gradient(rgba(74,74,57,.05) 1px,transparent 1px);background-size:100% 26px}.theme-emerald .poetry-breadcrumb{padding:9px 12px;background:#f3eddf;border:1px solid #aa9e84}.theme-emerald .poet-profile{grid-template-columns:190px 1fr 170px;border-radius:0;background:#f3eddf;border:1px solid #998c71;box-shadow:7px 8px 0 rgba(65,70,59,.08)}.theme-emerald .profile-portrait{width:175px;height:230px;border-radius:0;border:6px solid #d8ceb7;outline:1px solid #9d8d70;filter:sepia(.1)}.theme-emerald .profile-copy h1,.theme-emerald .page-heading h1{color:#184f43}.theme-emerald .profile-stats div{border-radius:0;background:#e4dcc9;border-color:#aa9e84}.theme-emerald .book-card{border-radius:0;background:#f3eddf;border-color:#9e9278;box-shadow:7px 8px 0 rgba(65,70,59,.08)}.theme-emerald .book-card:before{content:"";position:absolute;top:0;right:0;bottom:0;width:7px;background:#184f43}.theme-emerald .chapter-card,.theme-emerald .catalog-list>a,.theme-emerald .refined-list>a,.theme-emerald .search-result-card{border-radius:0;background:#f3eddf;border-color:#a69a81;box-shadow:none}.theme-emerald .poem-article{padding:50px 60px;border-radius:0;background:#f5efe1;border:1px solid #9f9278;box-shadow:8px 10px 0 rgba(68,70,59,.08)}.theme-emerald .poem-header{text-align:right;padding-right:25px;border-right:7px solid #184f43}.theme-emerald .poem-header h1{margin-inline:0;font-size:clamp(1.8rem,3.1vw,3rem)}.theme-emerald .poem-tools{justify-content:flex-start}.theme-emerald .poem-tools button,.theme-emerald .poem-tools a{border-radius:0}.theme-emerald .poem-stage{max-width:980px}.theme-emerald .poem-navigation a,.theme-emerald .similar-grid a{border-radius:0;background:#e8e0cd}.theme-emerald .advanced-search{border-radius:0;background:#f3eddf;border-color:#9e9278}.theme-emerald .emerald-footer{padding:70px 0 25px;color:#d7cfbd;background:#143e35;border-top:7px solid #a1793d}.theme-emerald .emerald-colophon{display:flex;gap:18px;align-items:center}.theme-emerald .colophon-seal{display:grid;place-items:center;width:58px;height:72px;background:#a1793d;border:1px solid #dcc391;border-radius:2px 2px 14px 14px;color:#143e35;font-family:var(--font-poem);font-size:2rem}.theme-emerald .emerald-colophon p{margin:0;color:#c3ad81;font-size:.55rem}.theme-emerald .emerald-colophon h2{margin:2px 0;font-family:var(--font-poem);font-size:1.8rem;color:#f1e7d3}.theme-emerald .emerald-colophon span{font-size:.64rem}.theme-emerald .emerald-footer-index{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:30px;margin-top:35px;padding:25px 0;border-block:1px solid rgba(255,255,255,.12)}.theme-emerald .emerald-footer-index b{display:block;margin-bottom:8px;color:#c9b27d;font-size:.58rem}.theme-emerald .emerald-footer-index a{display:block;font-size:.62rem}.theme-emerald .emerald-footer-index p{margin:0;color:#a9a08d;font-size:.6rem}.theme-emerald .emerald-copyright{display:flex;justify-content:space-between;margin-top:17px;color:#948d7d;font-size:.54rem}
@media(max-width:1199px){.theme-emerald .emerald-title-grid{grid-template-columns:95px 1fr}.theme-emerald .emerald-catalog-slip{grid-column:2}.theme-emerald .emerald-shelf{grid-template-columns:1fr}}
@media(max-width:991px){.theme-emerald .emerald-masthead{grid-template-columns:1fr}.theme-emerald .emerald-search{display:none}.theme-emerald .emerald-title-grid{grid-template-columns:1fr}.theme-emerald .emerald-classification{display:none}.theme-emerald .emerald-catalog-slip{grid-column:1}.theme-emerald .emerald-section-heading{align-items:flex-start;flex-direction:column}.theme-emerald .emerald-alphabet{justify-content:flex-start}.theme-emerald .emerald-ledger-head,.theme-emerald .emerald-ledger article{grid-template-columns:65px 1fr 100px}.theme-emerald .emerald-ledger-head span:last-child,.theme-emerald .emerald-ledger article>a{display:none}.theme-emerald .emerald-footer-index{grid-template-columns:1fr 1fr}.theme-emerald .emerald-footer-index section:last-child{grid-column:1/-1}}
@media(max-width:767px){.theme-emerald .emerald-top span{display:none}.theme-emerald .emerald-masthead{min-height:92px}.theme-emerald .emerald-brand>span,.theme-emerald .emerald-brand>img{width:46px;height:58px}.theme-emerald .emerald-brand strong{font-size:1.55rem}.theme-emerald .emerald-title-page{padding-top:35px}.theme-emerald .emerald-title-copy h1{font-size:3.3rem}.theme-emerald .emerald-title-actions{flex-direction:column;align-items:flex-start}.theme-emerald .emerald-book{grid-template-columns:40px 1fr}.theme-emerald .emerald-book-card{grid-template-columns:90px 1fr;padding:14px}.theme-emerald .emerald-book-portrait{height:135px}.theme-emerald .emerald-ledger-head,.theme-emerald .emerald-ledger article{grid-template-columns:48px 1fr}.theme-emerald .emerald-ledger-head span:nth-child(3),.theme-emerald .emerald-ledger article>span:nth-child(3){display:none}.theme-emerald .poem-article{padding:30px 11px}.theme-emerald .poem-header{padding-right:12px;border-right-width:4px}.theme-emerald .emerald-footer-index{grid-template-columns:1fr}.theme-emerald .emerald-footer-index section:last-child{grid-column:1}}
.theme-emerald .captcha-field{background:#f3eddf;border-radius:0}.theme-emerald .verse-focus{background:#f3eddf;border-color:#9e9278;border-radius:0;box-shadow:8px 10px 0 rgba(68,70,59,.08)}.theme-emerald .verse-focus-header{background:#e4dcc9;border-bottom:4px double #184f43}.theme-emerald .verse-source-facts,.theme-emerald .verse-context-note{background:#e8e0cd}.theme-emerald .verse-navigation a{background:#f3eddf}

/* v1.0.11 Herat Library: catalogue-first poet pages */
.theme-emerald .poet-directory-intro{display:grid;grid-template-columns:150px minmax(0,1fr) 210px;gap:30px;padding:24px 28px;background:#f3eddf;border:1px solid #8f8267;border-radius:0;box-shadow:8px 10px 0 rgba(72,66,51,.07)}
.theme-emerald .poet-directory-intro:before{content:"CATALOGUE";position:absolute;inset-inline-start:28px;top:-9px;padding:2px 8px;color:#e7deca;background:#184f43;font-family:monospace;font-size:.48rem;letter-spacing:.12em}
.theme-emerald .poet-directory-intro .profile-portrait{width:118px;height:142px;border-radius:0;border:5px solid #e3d8bf;outline:1px solid #8f8267;background:#d5c9ad;box-shadow:none}
.theme-emerald .poet-directory-intro .profile-copy h1{font-size:clamp(2.2rem,4.2vw,4rem);font-weight:600}
.theme-emerald .poet-directory-note{color:#677169;border-top:1px solid #b7ab91;padding-top:10px}
.theme-emerald .poet-directory-intro .profile-stats{display:grid;grid-template-columns:1fr;border:1px solid #9d9075;background:#e8e0ce}
.theme-emerald .poet-directory-intro .profile-stats div{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:10px;padding:10px 12px;border:0;border-bottom:1px solid #b6aa90;border-radius:0;background:transparent;aspect-ratio:auto}
.theme-emerald .poet-directory-intro .profile-stats div:last-child{border-bottom:0}.theme-emerald .poet-directory-intro .profile-stats strong{color:#184f43;font-family:Georgia,serif;font-size:1.3rem}.theme-emerald .poet-directory-intro .profile-stats span{font-size:.58rem}
.theme-emerald .poet-works-first{margin-top:34px;padding-top:28px;border-top:5px double #81765f}
.theme-emerald .poet-works-first .section-heading{margin-bottom:18px}.theme-emerald .poet-works-first .section-heading h2{font-size:2.55rem}
.theme-emerald .poet-about-card{grid-template-columns:84px minmax(0,1fr);gap:26px;padding:30px;background:#f4eedf;border:1px solid #8f8267;border-radius:0;box-shadow:7px 8px 0 rgba(72,66,51,.06)}
.theme-emerald .poet-about-mark{min-height:150px;color:#e8deca;background:#184f43;border:0;border-top:7px solid #a1793d;border-radius:0;writing-mode:vertical-rl;font-size:.9rem;letter-spacing:.08em}
.theme-emerald .poet-about-lead{color:#2f3b36;font-size:1.05rem}.theme-emerald .poet-about-full{border-color:#b9ad92;color:#616b64}
@media(max-width:991px){.theme-emerald .poet-directory-intro{grid-template-columns:130px 1fr}.theme-emerald .poet-directory-intro .profile-stats{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.theme-emerald .poet-directory-intro .profile-stats div{border-bottom:0;border-left:1px solid #b6aa90}.theme-emerald .poet-directory-intro .profile-stats div:last-child{border-left:0}}
@media(max-width:767px){.theme-emerald .poet-directory-intro{grid-template-columns:1fr;text-align:right;padding:20px}.theme-emerald .poet-directory-intro .profile-portrait{width:96px;height:116px}.theme-emerald .poet-directory-intro .profile-stats{grid-column:auto;grid-template-columns:1fr}.theme-emerald .poet-directory-intro .profile-stats div{border-left:0;border-bottom:1px solid #b6aa90}.theme-emerald .poet-directory-intro .profile-stats div:last-child{border-bottom:0}.theme-emerald .poet-about-card{grid-template-columns:1fr}.theme-emerald .poet-about-mark{min-height:auto;writing-mode:horizontal-tb;justify-self:start;border-top:0;border-right:5px solid #a1793d}}

/* DurNama 1.0.15 — Herat Library opens directly on the poet shelves */
.theme-emerald .emerald-poet-catalogue-opening{
    padding:54px 0 82px;
    background:#e8e2d1;
    background-image:linear-gradient(rgba(75,67,48,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(75,67,48,.035) 1px,transparent 1px);
    background-size:28px 28px;
}
.theme-emerald .emerald-catalogue-opening-grid{
    display:grid;
    grid-template-columns:130px minmax(0,1fr);
    gap:24px;
    align-items:start;
}
.theme-emerald .emerald-catalogue-opening-grid>.emerald-classification{
    position:sticky;
    top:64px;
    min-height:454px;
    align-self:start;
}
.theme-emerald .emerald-catalogue-main{min-width:0}
.theme-emerald .emerald-opening-heading{
    align-items:center;
    margin:0 0 28px;
    padding:0 0 18px;
    border-bottom:3px double #7b755f;
}
.theme-emerald .emerald-opening-heading h1{
    margin:3px 0 0;
    color:#184f43;
    font-family:var(--font-poem);
    font-size:clamp(2.35rem,4vw,3.7rem);
    font-weight:650;
    line-height:1.15;
}
.theme-emerald .emerald-opening-heading .emerald-alphabet{max-width:680px}
.theme-emerald .emerald-poet-catalogue-opening .emerald-shelf{gap:20px}
.theme-emerald .emerald-poet-catalogue-opening .emerald-book{min-height:224px}
.theme-emerald .emerald-poet-catalogue-opening .filter-empty{
    margin-top:24px;
    padding:22px;
    text-align:center;
    color:#657069;
    background:#f3eddf;
    border:1px solid #a79b82;
}
@media(max-width:1199px){
    .theme-emerald .emerald-catalogue-opening-grid{grid-template-columns:96px minmax(0,1fr);gap:20px}
    .theme-emerald .emerald-catalogue-opening-grid>.emerald-classification{min-height:410px}
    .theme-emerald .emerald-poet-catalogue-opening .emerald-shelf{grid-template-columns:1fr}
}
@media(max-width:991px){
    .theme-emerald .emerald-poet-catalogue-opening{padding-top:38px}
    .theme-emerald .emerald-catalogue-opening-grid{grid-template-columns:1fr}
    .theme-emerald .emerald-catalogue-opening-grid>.emerald-classification{display:none}
    .theme-emerald .emerald-opening-heading{align-items:flex-start;flex-direction:column}
    .theme-emerald .emerald-opening-heading .emerald-alphabet{max-width:100%;justify-content:flex-start}
}
@media(max-width:767px){
    .theme-emerald .emerald-poet-catalogue-opening{padding:28px 0 54px}
    .theme-emerald .emerald-opening-heading{margin-bottom:20px}
    .theme-emerald .emerald-opening-heading h1{font-size:2.45rem}
}

/* DurNama 1.0.15 — compact Herat reading tables and masthead */
.theme-emerald .emerald-top .container-xxl{
    min-height:24px;
    font-size:.5rem;
}
.theme-emerald .emerald-masthead{
    grid-template-columns:minmax(0,1fr) minmax(300px,360px);
    gap:28px;
    min-height:82px;
    padding-block:8px;
}
.theme-emerald .emerald-brand{gap:12px}
.theme-emerald .emerald-brand>span,
.theme-emerald .emerald-brand>img{
    width:44px;
    height:54px;
}
.theme-emerald .emerald-brand>span{font-size:1.55rem;box-shadow:inset 0 0 0 3px rgba(255,255,255,.08)}
.theme-emerald .emerald-brand small{font-size:.48rem}
.theme-emerald .emerald-brand strong{font-size:1.55rem;line-height:1.15}
.theme-emerald .emerald-brand em{font-size:.56rem}
.theme-emerald .emerald-search label{margin-bottom:2px;font-size:.5rem}
.theme-emerald .emerald-search input,
.theme-emerald .emerald-search button{padding:8px 11px}
.theme-emerald .emerald-catalog-nav{border-top-width:3px}
.theme-emerald .emerald-catalog-nav span{padding:8px 12px;font-size:.5rem}
.theme-emerald .emerald-catalog-nav a{padding:8px 14px;font-size:.6rem}

.theme-emerald .poem-paper{padding-top:14px}
.theme-emerald .poem-container{max-width:1040px}
.theme-emerald .poetry-breadcrumb{
    margin:6px auto 18px;
    padding:6px 10px;
    max-width:940px;
    font-size:.68rem;
}
.theme-emerald .poem-article{
    width:min(100%,940px);
    margin-inline:auto;
    padding:28px 34px 34px;
    box-shadow:6px 7px 0 rgba(68,70,59,.065);
}
.theme-emerald .poem-header{
    max-width:760px;
    margin:0 auto 14px;
    padding-right:15px;
    border-right-width:4px;
}
.theme-emerald .poem-header .eyebrow{margin-bottom:2px;font-size:.64rem}
.theme-emerald .poem-header h1{
    max-width:720px;
    margin:2px 0 7px;
    font-size:clamp(1.42rem,2.05vw,2.05rem);
    line-height:1.55;
}
.theme-emerald .poem-meta{
    justify-content:flex-start;
    gap:4px 11px;
    font-size:.64rem;
}
.theme-emerald .poem-meta span:not(:last-child)::after{margin-right:11px;font-size:.34rem}
.theme-emerald .poem-tools{
    gap:5px;
    justify-content:flex-start;
    margin-top:13px;
}
.theme-emerald .poem-tools button,
.theme-emerald .poem-tools a{
    padding:5px 8px;
    font-size:.61rem;
}

/* A true compact ledger frame around the complete poem instead of a page-wide stage. */
.theme-emerald .poem-stage{
    width:min(100%,790px);
    max-width:790px;
    margin:24px auto 28px;
    padding:13px 16px 12px;
    background:#faf5e8;
    border:1px solid #9f9278;
    box-shadow:4px 5px 0 rgba(68,70,59,.045);
}
.theme-emerald .poem-stage::before{
    top:34px;
    bottom:34px;
    background:rgba(161,121,61,.18);
}
.theme-emerald .stage-ornament{gap:8px;font-size:.58rem;opacity:.52}
.theme-emerald .stage-ornament.top{margin-bottom:4px}
.theme-emerald .stage-ornament.bottom{margin-top:8px}
.theme-emerald .poem-text{
    border-top:1px solid #c8bda5;
    border-bottom:1px solid #c8bda5;
}
.theme-emerald .poem-text>.couplet,
.theme-emerald .poem-text>.verse-row,
.theme-emerald .poem-text>.prose-block{
    border-bottom:1px solid rgba(137,124,97,.18);
}
.theme-emerald .poem-text>:last-child{border-bottom:0}
.theme-emerald .couplet{
    grid-template-columns:1fr 18px 1fr;
    gap:5px;
    min-height:50px;
    padding:6px 18px;
    font-size:clamp(1rem,1.45vw,1.24rem);
    line-height:1.85;
}
.theme-emerald .couplet-divider{font-size:.3rem;opacity:.65}
.theme-emerald .couplet-centered{padding-inline:44px}
.theme-emerald .verse-row,
.theme-emerald .prose-block{
    max-width:720px;
    padding:6px 24px;
}
.theme-emerald .verse-row p,
.theme-emerald .prose-block p{
    font-size:clamp(1rem,1.45vw,1.24rem);
    line-height:1.9;
}
.theme-emerald .verse-number{right:2px;width:22px;font-size:.55rem}
.theme-emerald .verse-permalink{width:19px;height:19px;font-size:.54rem}
.theme-emerald .poem-navigation{
    width:min(100%,790px);
    margin:20px auto 0;
    padding-top:16px;
    gap:10px;
}
.theme-emerald .poem-navigation a{
    min-height:62px;
    padding:9px 11px;
}
.theme-emerald .poem-navigation strong{font-size:.82rem;line-height:1.55}
.theme-emerald .poem-navigation small{font-size:.58rem}

@media(max-width:991px){
    .theme-emerald .emerald-masthead{grid-template-columns:1fr;min-height:72px;padding-block:7px}
    .theme-emerald .poem-article{width:min(100%,860px);padding:24px 24px 30px}
    .theme-emerald .poem-stage{width:min(100%,740px)}
}
@media(max-width:767px){
    .theme-emerald .emerald-top{display:none}
    .theme-emerald .emerald-masthead{min-height:62px;padding-block:6px}
    .theme-emerald .emerald-brand>span,
    .theme-emerald .emerald-brand>img{width:36px;height:44px}
    .theme-emerald .emerald-brand strong{font-size:1.2rem}
    .theme-emerald .emerald-brand small{display:none}
    .theme-emerald .emerald-brand em{font-size:.5rem}
    .theme-emerald .emerald-catalog-nav span{display:none}
    .theme-emerald .emerald-catalog-nav a{padding:7px 11px;font-size:.58rem}
    .theme-emerald .poem-paper{padding-top:8px}
    .theme-emerald .poetry-breadcrumb{margin:4px 0 12px;padding:5px 8px}
    .theme-emerald .poem-article{padding:18px 10px 24px}
    .theme-emerald .poem-header{margin-bottom:10px;padding-right:10px;border-right-width:3px}
    .theme-emerald .poem-header h1{font-size:clamp(1.25rem,6vw,1.65rem);line-height:1.55}
    .theme-emerald .poem-tools{margin-top:10px}
    .theme-emerald .poem-tools button,
    .theme-emerald .poem-tools a{padding:5px 7px;font-size:.58rem}
    .theme-emerald .poem-stage{
        width:100%;
        margin:16px auto 20px;
        padding:7px 6px 6px;
        box-shadow:none;
    }
    .theme-emerald .poem-stage::before{display:none}
    .theme-emerald .stage-ornament{display:none}
    .theme-emerald .couplet{
        grid-template-columns:1fr;
        gap:0;
        min-height:0;
        padding:8px 14px;
        font-size:1.03rem;
        line-height:1.85;
    }
    .theme-emerald .couplet p+ p{margin-top:2px}
    .theme-emerald .couplet-centered{padding-inline:14px}
    .theme-emerald .verse-row,
    .theme-emerald .prose-block{padding:8px 14px}
    .theme-emerald .verse-row p,
    .theme-emerald .prose-block p{font-size:1.03rem;line-height:1.9}
    .theme-emerald .poem-navigation{grid-template-columns:1fr;margin-top:14px;padding-top:12px}
}

/* Keep the standalone verse/SEO tables on the same compact Herat scale. */
.theme-emerald .verse-focus{max-width:900px;margin-top:18px;box-shadow:5px 6px 0 rgba(68,70,59,.05)}
.theme-emerald .verse-focus-header{grid-template-columns:minmax(0,1fr) 160px;gap:24px;padding:30px 38px 26px}
.theme-emerald .verse-focus-header h1{margin-top:5px;font-size:clamp(1.45rem,2.8vw,2.4rem);line-height:1.65}
.theme-emerald .verse-source-poet{grid-template-columns:60px 1fr;gap:2px 9px}
.theme-emerald .verse-source-poet img,
.theme-emerald .verse-source-poet>span{width:60px;height:76px}
.theme-emerald .verse-source-facts{padding:0 30px}
.theme-emerald .verse-source-facts>div{min-height:62px;padding:11px 13px}
.theme-emerald .verse-context{grid-template-columns:210px 1fr;gap:28px;padding:32px 38px}
.theme-emerald .verse-context li{min-height:54px;padding:7px 10px}
.theme-emerald .verse-context li p{font-size:1rem;line-height:1.75}
.theme-emerald .verse-context-note{margin:0 38px 28px;padding:17px 20px}
.theme-emerald .verse-navigation{margin:0 38px}
.theme-emerald .verse-navigation a{min-height:74px;padding:12px 16px}
.theme-emerald .verse-focus-footer{padding:24px 24px 30px}
@media(max-width:767px){
    .theme-emerald .verse-focus{margin-top:10px}
    .theme-emerald .verse-focus-header{padding:22px 16px}
    .theme-emerald .verse-source-facts{padding:0 14px}
    .theme-emerald .verse-context{padding:24px 16px}
    .theme-emerald .verse-context-note{margin:0 16px 22px}
    .theme-emerald .verse-navigation{margin:0 16px}
}


/* DurNama 1.0.16 — unified Herat Library public scale */
body.public-site.theme-emerald{
    --herat-shell-width:1120px;
    --herat-content-width:1040px;
    --herat-reading-width:940px;
}

/* One centered desktop frame for the masthead, navigation, pages, shelves, ledgers and footer. */
.theme-emerald .emerald-top .container-xxl,
.theme-emerald .emerald-masthead,
.theme-emerald .emerald-catalog-nav .container-xxl,
.theme-emerald .emerald-poet-catalogue-opening>.container-xxl,
.theme-emerald .emerald-ledger-section>.container-xxl,
.theme-emerald .page-paper>.container-xxl,
.theme-emerald .emerald-footer>.container-xxl{
    width:100%;
    max-width:var(--herat-shell-width);
    margin-inline:auto;
}

/* Inner-page panels now share one content width instead of expanding independently. */
body.theme-emerald.poet-page .poet-profile,
body.theme-emerald.poet-page .content-section,
body.theme-emerald.category-page .page-heading,
body.theme-emerald.category-page .intro-prose,
body.theme-emerald.category-page .content-section,
body.theme-emerald.search-page .page-heading,
body.theme-emerald.search-page .advanced-search,
body.theme-emerald.search-page .search-results,
.theme-emerald .profile-settings,
.theme-emerald .similar-section,
.theme-emerald .contribution-section{
    width:min(100%,var(--herat-content-width));
    margin-inline:auto;
}

/* Compact catalogue rhythm shared by poet, category, search and utility pages. */
.theme-emerald .page-paper{padding:16px 0 72px}
.theme-emerald .poetry-breadcrumb{
    width:min(100%,var(--herat-content-width));
    margin:4px auto 16px;
    padding:6px 10px;
    font-size:.66rem;
}
.theme-emerald .page-heading{
    gap:20px;
    margin-bottom:26px;
    padding:18px 0 23px;
}
.theme-emerald .page-heading h1{
    font-size:clamp(2rem,3.4vw,3rem);
    line-height:1.3;
}
.theme-emerald .page-heading>div:first-child>p:last-child{max-width:680px;margin-top:6px;font-size:.76rem}
.theme-emerald .heading-seal{width:72px;height:72px;flex-basis:72px;font-size:1rem;box-shadow:inset 0 0 0 5px var(--paper),inset 0 0 0 6px var(--wine)}
.theme-emerald .section-heading{margin-bottom:22px}
.theme-emerald .section-heading h2{font-size:clamp(1.7rem,2.6vw,2.35rem)}
.theme-emerald .content-section{margin-top:52px}
.theme-emerald .content-section.compact-top{margin-top:28px}
.theme-emerald .intro-prose{margin:-6px auto 34px;padding:18px 22px;font-size:.78rem;line-height:1.95}

/* Homepage catalogue uses the same shell and denser catalogue proportions. */
.theme-emerald .emerald-poet-catalogue-opening{padding:36px 0 62px}
.theme-emerald .emerald-catalogue-opening-grid{grid-template-columns:88px minmax(0,1fr);gap:18px}
.theme-emerald .emerald-catalogue-opening-grid>.emerald-classification{top:56px;min-height:372px;padding:18px 10px;border-top-width:6px}
.theme-emerald .emerald-catalogue-opening-grid>.emerald-classification b{margin:11px 0;font-size:1.8rem}
.theme-emerald .emerald-catalogue-opening-grid>.emerald-classification i{height:54px}
.theme-emerald .emerald-opening-heading{margin-bottom:22px;padding-bottom:14px}
.theme-emerald .emerald-opening-heading h1{font-size:clamp(2rem,3vw,2.65rem)}
.theme-emerald .emerald-opening-heading .emerald-alphabet{max-width:620px}
.theme-emerald .emerald-poet-catalogue-opening .emerald-shelf{gap:16px}
.theme-emerald .emerald-poet-catalogue-opening .emerald-book{min-height:194px}
.theme-emerald .emerald-book{grid-template-columns:46px 1fr;min-height:194px}
.theme-emerald .emerald-book-spine{padding:10px 6px;border-left-width:4px}
.theme-emerald .emerald-book-card{grid-template-columns:105px 1fr;gap:15px;padding:16px}
.theme-emerald .emerald-book-portrait{height:148px;border-width:4px}
.theme-emerald .emerald-book-card h3{font-size:1.22rem}
.theme-emerald .emerald-book-card p{margin:6px 0;font-size:.62rem;line-height:1.7}
.theme-emerald .emerald-book-card footer{gap:13px;padding-top:6px}
.theme-emerald .emerald-ledger-section{padding:62px 0}
.theme-emerald .emerald-ledger article{min-height:72px}

/* Poet directory page now follows the same 1040px catalogue frame. */
.theme-emerald .poet-directory-intro{
    grid-template-columns:128px minmax(0,1fr) 190px;
    gap:24px;
    padding:20px 22px;
}
.theme-emerald .poet-directory-intro .profile-portrait{width:104px;height:126px;border-width:4px}
.theme-emerald .poet-directory-intro .profile-copy h1{font-size:clamp(2rem,3.4vw,2.9rem)}
.theme-emerald .poet-directory-note{margin-bottom:0;font-size:.76rem}
.theme-emerald .poet-directory-intro .profile-stats div{padding:8px 10px}
.theme-emerald .poet-directory-intro .profile-stats strong{font-size:1.12rem}
.theme-emerald .poet-works-first{margin-top:28px;padding-top:22px}
.theme-emerald .poet-works-first .section-heading h2{font-size:2.15rem}
.theme-emerald .category-grid{gap:14px}
.theme-emerald .book-card{min-height:190px;padding:20px 22px 18px 32px;box-shadow:5px 6px 0 rgba(65,70,59,.065)}
.theme-emerald .book-card h3{margin:5px 0;font-size:1.22rem}
.theme-emerald .book-card p{font-size:.7rem;line-height:1.75}
.theme-emerald .poet-about-card{padding:22px;gap:20px}
.theme-emerald .poet-about-mark{min-height:122px}
.theme-emerald .poet-about-lead{font-size:.94rem}
.theme-emerald .poet-about-full{font-size:.78rem;line-height:2}

/* Category chapter and poem tables use the same compact catalogue width and row density. */
.theme-emerald .chapter-grid{gap:12px}
.theme-emerald .chapter-card{min-height:82px;padding:12px 14px;gap:10px;border-radius:0}
.theme-emerald .chapter-number{font-size:1.12rem}
.theme-emerald .refined-list,
.theme-emerald .catalog-list{border-radius:0}
.theme-emerald .refined-list>a,
.theme-emerald .catalog-list>a{
    min-height:82px;
    grid-template-columns:40px minmax(0,1fr) 34px;
    gap:14px;
    padding:13px 17px;
}
.theme-emerald .refined-list strong,
.theme-emerald .catalog-list strong{font-size:.93rem;line-height:1.65}
.theme-emerald .refined-list small,
.theme-emerald .catalog-list small{font-size:.61rem}
.theme-emerald .refined-list em,
.theme-emerald .catalog-list em{font-size:.68rem;line-height:1.7}
.theme-emerald .round-arrow{width:30px;height:30px}

/* Search, standalone verse pages and poem-supporting sections share the same scale. */
.theme-emerald .search-shell{max-width:var(--herat-shell-width)}
.theme-emerald .search-result-card{padding:18px 20px;border-radius:0}
.theme-emerald .search-result-card h3{font-size:.98rem;line-height:1.65}
.theme-emerald .search-result-card>p{font-size:.66rem;line-height:1.8}
.theme-emerald .verse-focus{width:min(100%,var(--herat-reading-width));max-width:var(--herat-reading-width)}
.theme-emerald .similar-section,
.theme-emerald .contribution-section{max-width:var(--herat-reading-width)}
.theme-emerald .similar-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.theme-emerald .similar-grid a{min-height:118px;padding:14px;border-radius:0}
.theme-emerald .contribution-section{gap:28px;margin-top:58px;padding-top:34px}

/* Footer content and masthead remain aligned with every page instead of spanning wider. */
.theme-emerald .emerald-footer{padding-top:52px}
.theme-emerald .emerald-footer-index{gap:22px;margin-top:26px;padding:20px 0}
.theme-emerald .emerald-copyright{margin-top:12px}

@media(max-width:1199px){
    body.public-site.theme-emerald{--herat-shell-width:960px;--herat-content-width:900px;--herat-reading-width:820px}
    .theme-emerald .emerald-catalogue-opening-grid{grid-template-columns:72px minmax(0,1fr);gap:16px}
    .theme-emerald .emerald-catalogue-opening-grid>.emerald-classification{min-height:330px}
    .theme-emerald .emerald-poet-catalogue-opening .emerald-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}
    .theme-emerald .emerald-book-card{grid-template-columns:92px 1fr}
    .theme-emerald .emerald-book-portrait{height:132px}
    .theme-emerald .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:991px){
    body.public-site.theme-emerald{--herat-shell-width:760px;--herat-content-width:720px;--herat-reading-width:700px}
    .theme-emerald .emerald-poet-catalogue-opening .emerald-shelf{grid-template-columns:1fr}
    .theme-emerald .poet-directory-intro{grid-template-columns:112px minmax(0,1fr)}
    .theme-emerald .poet-directory-intro .profile-stats{grid-template-columns:repeat(3,1fr)}
    .theme-emerald .similar-grid{grid-template-columns:1fr}
}
@media(max-width:767px){
    body.public-site.theme-emerald{--herat-shell-width:100%;--herat-content-width:100%;--herat-reading-width:100%}
    .theme-emerald .emerald-top .container-xxl,
    .theme-emerald .emerald-masthead,
    .theme-emerald .emerald-catalog-nav .container-xxl,
    .theme-emerald .emerald-poet-catalogue-opening>.container-xxl,
    .theme-emerald .emerald-ledger-section>.container-xxl,
    .theme-emerald .page-paper>.container-xxl,
    .theme-emerald .emerald-footer>.container-xxl{padding-inline:14px}
    .theme-emerald .page-paper{padding-top:8px;padding-bottom:50px}
    .theme-emerald .page-heading{padding:12px 0 17px;margin-bottom:20px}
    .theme-emerald .page-heading h1{font-size:1.9rem}
    .theme-emerald .section-heading h2,
    .theme-emerald .poet-works-first .section-heading h2{font-size:1.65rem}
    .theme-emerald .content-section{margin-top:38px}
    .theme-emerald .emerald-poet-catalogue-opening{padding:24px 0 46px}
    .theme-emerald .emerald-opening-heading h1{font-size:2rem}
    .theme-emerald .emerald-book-card{grid-template-columns:82px minmax(0,1fr);gap:12px;padding:12px}
    .theme-emerald .emerald-book-portrait{height:116px}
    .theme-emerald .emerald-book{grid-template-columns:38px 1fr;min-height:150px}
    .theme-emerald .poet-directory-intro{grid-template-columns:1fr;padding:16px}
    .theme-emerald .poet-directory-intro .profile-portrait{width:88px;height:106px}
    .theme-emerald .category-grid,.theme-emerald .chapter-grid{grid-template-columns:1fr}
    .theme-emerald .book-card{min-height:158px;padding:16px 18px 15px 26px}
    .theme-emerald .refined-list>a,.theme-emerald .catalog-list>a{grid-template-columns:30px 1fr;min-height:72px;padding:11px 12px}
    .theme-emerald .refined-list .round-arrow,.theme-emerald .catalog-list .round-arrow{display:none}
    .theme-emerald .verse-focus{margin-top:8px}
    .theme-emerald .contribution-section{margin-top:42px;padding-top:26px}
}

/* DurNama 1.0.19 — Herat Library mobile-first repair */
body.public-site.theme-emerald{overflow-x:hidden}
.theme-emerald img,.theme-emerald svg,.theme-emerald video,.theme-emerald canvas{max-width:100%;height:auto}
.theme-emerald .emerald-header,.theme-emerald .emerald-top,.theme-emerald .emerald-masthead,.theme-emerald .emerald-catalog-nav,
.theme-emerald .emerald-poet-catalogue-opening,.theme-emerald .emerald-ledger-section,.theme-emerald .page-paper,.theme-emerald .emerald-footer,
.theme-emerald .emerald-catalogue-main,.theme-emerald .emerald-shelf,.theme-emerald .emerald-book,.theme-emerald .emerald-book-card,
.theme-emerald .poet-profile,.theme-emerald .category-grid,.theme-emerald .chapter-grid,.theme-emerald .book-card,.theme-emerald .catalog-list,
.theme-emerald .refined-list,.theme-emerald .poem-article,.theme-emerald .poem-stage,.theme-emerald .poem-text,.theme-emerald .advanced-search,
.theme-emerald .search-shell,.theme-emerald .search-results,.theme-emerald .search-result-card,.theme-emerald .verse-focus,
.theme-emerald .contribution-section{min-width:0;max-width:100%}
.theme-emerald h1,.theme-emerald h2,.theme-emerald h3,.theme-emerald p,.theme-emerald a,.theme-emerald strong,.theme-emerald em{overflow-wrap:anywhere}

@media(max-width:991.98px){
    body.public-site.theme-emerald{--herat-shell-width:100%;--herat-content-width:100%;--herat-reading-width:100%}
    .theme-emerald .emerald-top .container-xxl,
    .theme-emerald .emerald-masthead,
    .theme-emerald .emerald-catalog-nav .container-xxl,
    .theme-emerald .emerald-poet-catalogue-opening>.container-xxl,
    .theme-emerald .emerald-ledger-section>.container-xxl,
    .theme-emerald .page-paper>.container-xxl,
    .theme-emerald .emerald-footer>.container-xxl{width:100%!important;max-width:100%!important;padding-inline:18px!important}
    .theme-emerald .emerald-masthead{grid-template-columns:minmax(0,1fr)!important;gap:12px;min-height:0;padding-block:14px}
    .theme-emerald .emerald-search{display:block!important;width:100%;max-width:100%;margin:0}
    .theme-emerald .emerald-search>div{grid-template-columns:minmax(0,1fr) auto}
    .theme-emerald .emerald-catalog-nav .container-xxl{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible!important}
    .theme-emerald .emerald-catalog-nav span{display:none}
    .theme-emerald .emerald-catalog-nav a{min-width:0;padding:9px 6px;text-align:center;white-space:normal;line-height:1.45}
    .theme-emerald .emerald-opening-heading{align-items:flex-start;flex-direction:column;gap:13px}
    .theme-emerald .emerald-alphabet{max-width:100%;justify-content:flex-start}
    .theme-emerald .poet-directory-intro .profile-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:767.98px){
    .theme-emerald .emerald-top .container-xxl,
    .theme-emerald .emerald-masthead,
    .theme-emerald .emerald-catalog-nav .container-xxl,
    .theme-emerald .emerald-poet-catalogue-opening>.container-xxl,
    .theme-emerald .emerald-ledger-section>.container-xxl,
    .theme-emerald .page-paper>.container-xxl,
    .theme-emerald .emerald-footer>.container-xxl{padding-inline:12px!important}
    .theme-emerald .emerald-top{display:none}
    .theme-emerald .emerald-masthead{gap:10px;padding-block:10px}
    .theme-emerald .emerald-brand{gap:9px;min-width:0}
    .theme-emerald .emerald-brand>span,.theme-emerald .emerald-brand>img{width:40px;height:49px;flex:0 0 40px}
    .theme-emerald .emerald-brand div{min-width:0}
    .theme-emerald .emerald-brand small{font-size:.46rem}
    .theme-emerald .emerald-brand strong{font-size:1.27rem;line-height:1.25}
    .theme-emerald .emerald-brand em{font-size:.55rem}
    .theme-emerald .emerald-search label{font-size:.5rem}
    .theme-emerald .emerald-search input{width:100%;min-width:0;padding:8px 9px;font-size:.78rem}
    .theme-emerald .emerald-search button{min-width:74px;padding:8px 10px;font-size:.72rem}
    .theme-emerald .emerald-catalog-nav{position:relative;border-top-width:3px}
    .theme-emerald .emerald-catalog-nav .container-xxl{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:0!important}
    .theme-emerald .emerald-catalog-nav a{padding:8px 5px;border-bottom:1px solid rgba(255,255,255,.1);font-size:.61rem}

    .theme-emerald .page-paper{padding:8px 0 46px}
    .theme-emerald .poetry-breadcrumb{margin:5px auto 13px;padding:5px 7px}
    .theme-emerald .page-heading{flex-direction:column;align-items:stretch;gap:8px;margin-bottom:17px;padding:10px 0 14px}
    .theme-emerald .page-heading h1{font-size:clamp(1.55rem,8vw,2rem)}
    .theme-emerald .heading-seal{display:none}
    .theme-emerald .content-section{margin-top:32px}
    .theme-emerald .content-section.compact-top{margin-top:18px}
    .theme-emerald .section-heading{margin-bottom:14px}
    .theme-emerald .section-heading h2,.theme-emerald .poet-works-first .section-heading h2{font-size:1.5rem}

    .theme-emerald .emerald-poet-catalogue-opening{padding:20px 0 40px}
    .theme-emerald .emerald-catalogue-opening-grid{display:block!important}
    .theme-emerald .emerald-catalogue-opening-grid>.emerald-classification{display:none!important}
    .theme-emerald .emerald-opening-heading{margin-bottom:15px;padding-bottom:11px}
    .theme-emerald .emerald-opening-heading h1{font-size:1.75rem}
    .theme-emerald .emerald-alphabet{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr));width:100%;border:1px solid #9d9278}
    .theme-emerald .emerald-alphabet button{width:100%;height:36px;padding:0;border-left:1px solid #b7ad95;border-bottom:1px solid #b7ad95}
    .theme-emerald .emerald-poet-catalogue-opening .emerald-shelf{grid-template-columns:minmax(0,1fr)!important;gap:10px}
    .theme-emerald .emerald-book{grid-template-columns:minmax(0,1fr)!important;min-height:0;box-shadow:0 7px 16px rgba(52,58,50,.06)}
    .theme-emerald .emerald-book-spine{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:30px;padding:5px 8px;border-left:0;border-top:3px solid #a1793d}
    .theme-emerald .emerald-book-spine b,.theme-emerald .emerald-book-spine i{writing-mode:horizontal-tb}
    .theme-emerald .emerald-book-card{grid-template-columns:74px minmax(0,1fr);gap:10px;padding:10px;border-right:1px solid #9f9277}
    .theme-emerald .emerald-book-portrait{height:96px;border-width:3px}
    .theme-emerald .emerald-book-card h3{font-size:1.02rem}
    .theme-emerald .emerald-book-card p{font-size:.6rem;line-height:1.65}
    .theme-emerald .emerald-book-card footer{flex-wrap:wrap;gap:7px}

    .theme-emerald .poet-directory-intro,.theme-emerald .poet-profile{grid-template-columns:82px minmax(0,1fr)!important;gap:11px;padding:12px!important;text-align:right!important}
    .theme-emerald .poet-directory-intro .profile-portrait,.theme-emerald .profile-portrait{width:82px;height:100px;margin:0;border-width:3px}
    .theme-emerald .poet-directory-intro .profile-copy,.theme-emerald .profile-copy{min-width:0}
    .theme-emerald .poet-directory-intro .profile-copy h1,.theme-emerald .profile-copy h1{font-size:1.65rem}
    .theme-emerald .poet-directory-note{font-size:.69rem;line-height:1.7}
    .theme-emerald .poet-directory-intro .profile-stats,.theme-emerald .profile-stats{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px;width:100%}
    .theme-emerald .poet-directory-intro .profile-stats div,.theme-emerald .profile-stats div{min-width:0;padding:7px 4px;border-left:1px solid #b6aa90;border-bottom:0}
    .theme-emerald .profile-stats strong{font-size:1rem}
    .theme-emerald .profile-stats span{font-size:.57rem}
    .theme-emerald .category-grid,.theme-emerald .chapter-grid{grid-template-columns:minmax(0,1fr)!important;gap:8px}
    .theme-emerald .book-card{min-height:140px;padding:14px 15px 42px 25px}
    .theme-emerald .chapter-card{grid-template-columns:30px minmax(0,1fr) 18px;min-height:70px;padding:9px 10px}
    .theme-emerald .refined-list>a,.theme-emerald .catalog-list>a{grid-template-columns:26px minmax(0,1fr)!important;gap:8px;min-height:0;padding:10px 9px!important}
    .theme-emerald .list-copy{min-width:0}
    .theme-emerald .refined-list strong,.theme-emerald .catalog-list strong{font-size:.87rem;line-height:1.6}
    .theme-emerald .refined-list .round-arrow,.theme-emerald .catalog-list .round-arrow{display:none!important}

    .theme-emerald .poem-container{width:100%!important;max-width:100%!important;padding-inline:5px!important}
    .theme-emerald .poem-article{width:100%;max-width:100%;padding:15px 6px 24px!important;box-shadow:none}
    .theme-emerald .poem-header{width:100%;max-width:100%;margin-bottom:12px;padding-right:9px;border-right-width:3px}
    .theme-emerald .poem-header h1{max-width:100%;font-size:clamp(1.25rem,6.8vw,1.72rem);line-height:1.65}
    .theme-emerald .poem-meta{gap:4px 9px;font-size:.61rem}
    .theme-emerald .poem-tools{gap:4px;margin-top:12px}
    .theme-emerald .poem-tools button,.theme-emerald .poem-tools a{padding:5px 7px;font-size:.59rem}
    .theme-emerald .audio-deck{grid-template-columns:minmax(0,1fr)!important;margin:18px 0;padding:9px}
    .theme-emerald .audio-track{grid-template-columns:minmax(0,1fr)!important}
    .theme-emerald .poem-stage{width:100%;max-width:100%;margin:16px auto;padding:7px 0!important}
    .theme-emerald .poem-stage::before{display:none}
    .theme-emerald .poem-text{width:100%;max-width:100%;padding:5px 0}
    .theme-emerald .couplet{grid-template-columns:minmax(0,1fr)!important;gap:0;width:100%;max-width:100%;min-height:0;padding:9px 18px 9px 11px!important;border-bottom:1px solid rgba(72,57,43,.08)}
    .theme-emerald .couplet p{text-align:center!important;min-width:0;font-size:1rem;line-height:1.9}
    .theme-emerald .couplet-divider{display:none}
    .theme-emerald .couplet-centered,.theme-emerald .verse-row,.theme-emerald .prose-block{width:100%;max-width:100%;padding:8px 18px 8px 11px!important}
    .theme-emerald .verse-row p,.theme-emerald .prose-block p{font-size:1rem;line-height:1.9}
    .theme-emerald .verse-number{right:0;width:17px;font-size:.5rem}
    .theme-emerald .poem-navigation{grid-template-columns:minmax(0,1fr)!important;gap:6px;width:100%;margin-top:12px}
    .theme-emerald .poem-navigation a{min-width:0;min-height:54px;padding:8px}

    .theme-emerald .advanced-search{padding:11px}
    .theme-emerald .search-primary{grid-template-columns:22px minmax(0,1fr);padding:5px}
    .theme-emerald .search-primary button{grid-column:1/-1;width:100%}
    .theme-emerald .search-filters{grid-template-columns:minmax(0,1fr)!important;gap:8px}
    .theme-emerald .search-filters>a{grid-column:1!important}
    .theme-emerald .search-result-card{padding:11px 12px}
    .theme-emerald .result-meta,.theme-emerald .result-footer{flex-wrap:wrap;gap:5px}
    .theme-emerald .contribution-section{grid-template-columns:minmax(0,1fr)!important;gap:14px;margin-top:30px;padding-top:20px}
    .theme-emerald .published-comments{grid-column:1}
    .theme-emerald .captcha-field{grid-template-columns:minmax(0,1fr)!important;padding:9px}
    .theme-emerald .captcha-challenge{width:100%;align-items:center}
    .theme-emerald .captcha-challenge img{min-width:0;width:100%;max-width:230px;height:auto}

    .theme-emerald .verse-focus{width:100%;max-width:100%;margin-top:7px;box-shadow:none}
    .theme-emerald .verse-focus-header{grid-template-columns:minmax(0,1fr)!important;gap:12px;padding:15px 11px}
    .theme-emerald .verse-focus-header h1{font-size:1.2rem;line-height:1.75}
    .theme-emerald .verse-source-poet{max-width:100%}
    .theme-emerald .verse-source-facts{grid-template-columns:minmax(0,1fr)!important;padding:0 8px}
    .theme-emerald .verse-source-facts>div{min-height:48px;padding:7px 8px;border-left:0;border-bottom:1px solid var(--line)}
    .theme-emerald .verse-context{grid-template-columns:minmax(0,1fr)!important;gap:11px;padding:16px 10px}
    .theme-emerald .verse-context ol{min-width:0;padding:0}
    .theme-emerald .verse-context li{grid-template-columns:25px minmax(0,1fr);gap:7px;min-height:48px;padding:6px 5px}
    .theme-emerald .verse-context li p{font-size:.9rem;line-height:1.8}
    .theme-emerald .verse-context-note{margin:0 10px 15px;padding:11px}
    .theme-emerald .verse-navigation{grid-template-columns:minmax(0,1fr)!important;margin:0 10px}
    .theme-emerald .verse-focus-footer{flex-direction:column;padding:15px 10px 18px}
    .theme-emerald .verse-focus-footer>*{width:100%;text-align:center}

    .theme-emerald .emerald-footer{padding-top:30px}
    .theme-emerald .emerald-footer-index{grid-template-columns:minmax(0,1fr)!important;gap:0}
    .theme-emerald .emerald-footer-index section,.theme-emerald .emerald-footer-index section:last-child{grid-column:auto!important;padding:12px 0}
    .theme-emerald .emerald-copyright{gap:6px;flex-direction:column;align-items:flex-start}
}

@media(max-width:420px){
    .theme-emerald .emerald-top .container-xxl,.theme-emerald .emerald-masthead,.theme-emerald .emerald-poet-catalogue-opening>.container-xxl,.theme-emerald .emerald-ledger-section>.container-xxl,.theme-emerald .page-paper>.container-xxl,.theme-emerald .emerald-footer>.container-xxl{padding-inline:9px!important}
    .theme-emerald .emerald-alphabet{grid-template-columns:repeat(6,minmax(0,1fr))}
    .theme-emerald .emerald-book-card{grid-template-columns:66px minmax(0,1fr);gap:8px;padding:8px}
    .theme-emerald .emerald-book-portrait{height:84px}
    .theme-emerald .poet-directory-intro,.theme-emerald .poet-profile{grid-template-columns:70px minmax(0,1fr)!important;gap:9px;padding:9px!important}
    .theme-emerald .poet-directory-intro .profile-portrait,.theme-emerald .profile-portrait{width:70px;height:86px}
    .theme-emerald .poet-directory-intro .profile-copy h1,.theme-emerald .profile-copy h1{font-size:1.45rem}
    .theme-emerald .poem-article{padding-inline:4px!important}
}


/* DurNama: full-width poem reading table aligned with poem navigation */
@media (min-width:768px){.theme-emerald .poem-stage{width:100%;max-width:100%;margin-inline:auto}}

/* DurNama v1.0.24: align title block with full-width verse ledger. */
@media (min-width:768px){.theme-emerald .poem-header{width:100%;max-width:100%;margin-inline:auto}}

/* DurNama v1.0.26: poet-aware catalogue search. */
.theme-emerald .emerald-search>div{grid-template-columns:125px minmax(0,1fr) auto}
.theme-emerald .emerald-search select{min-width:0;padding:10px 8px;background:#f4eddc;border:0;border-left:1px solid #8f8368;outline:0;font-size:.62rem}
@media(max-width:767px){
    .theme-emerald .emerald-search>div{grid-template-columns:105px minmax(0,1fr) auto}
    .theme-emerald .emerald-search select{padding:8px 6px;font-size:.68rem}
}


/* DurNama v1.0.28 — compact catalogue header and search discovery typography. */
@media(min-width:768px){
    .theme-emerald .emerald-top .container-xxl,
    .theme-emerald .emerald-masthead,
    .theme-emerald .emerald-catalog-nav .container-xxl{
        max-width:var(--herat-content-width);
    }
}
.theme-emerald .search-result-card .result-meta{font-size:.58rem}
.theme-emerald .search-result-card .result-footer{font-size:.60rem}

/* DurNama 1.0.30 — fixed catalogue marker and cleaner masthead branding */
@media(min-width:992px){
    /* Keep the green classification marker locked beneath the sticky navigation while the poet catalogue scrolls. */
    .theme-emerald .emerald-catalogue-opening-grid>.emerald-classification{
        position:-webkit-sticky!important;
        position:sticky!important;
        top:46px!important;
        z-index:30;
        align-self:start!important;
        height:max-content;
        max-height:calc(100vh - 62px);
    }
    .theme-emerald .emerald-catalogue-opening-grid>.emerald-classification b{
        margin:10px 0;
        font-size:1.52rem;
        line-height:1;
        letter-spacing:.02em;
    }
    /* The collection-number line was removed; give the DurNama wordmark more visual weight. */
    .theme-emerald .emerald-brand strong{
        font-size:2rem;
        line-height:1.05;
    }
}


/* DurNama 1.0.31 — viewport-centered catalogue marker. */
@media(min-width:992px){
    .theme-emerald .emerald-catalogue-opening-grid>.emerald-classification{
        position:-webkit-sticky!important;
        position:sticky!important;
        top:50vh!important;
        transform:translateY(-50%);
        z-index:30;
        align-self:start!important;
        height:max-content;
        max-height:calc(100vh - 32px);
    }
}
/* DurNama 1.0.32 - true viewport-fixed catalogue marker. */
@media(min-width:992px){
    .theme-emerald .emerald-catalogue-opening-grid>.emerald-classification{
        position:fixed!important;
        top:50%!important;
        right:max(18px,calc((100vw - var(--herat-shell-width))/2))!important;
        left:auto!important;
        transform:translateY(-50%)!important;
        z-index:1035!important;
        width:88px;
        height:auto!important;
        min-height:0!important;
        max-height:calc(100vh - 28px);
        overflow:hidden;
        margin:0!important;
    }
    .theme-emerald .emerald-catalogue-opening-grid>.emerald-classification b{
        max-height:48vh;
        overflow:hidden;
    }
    .theme-emerald .emerald-catalogue-opening-grid>.emerald-catalogue-main{
        grid-column:2;
    }
}
@media(max-width:991px){
    .theme-emerald .emerald-catalogue-opening-grid>.emerald-catalogue-main{grid-column:auto}
}

/* DurNama 1.0.33 — hard-lock the catalogue classification stripe to the viewport. */
@media(min-width:992px){
    body.theme-emerald>.emerald-classification.emerald-classification-floating{
        display:flex!important;
        position:fixed!important;
        top:50%!important;
        right:max(18px,calc((100vw - var(--herat-shell-width))/2))!important;
        bottom:auto!important;
        left:auto!important;
        transform:translateY(-50%)!important;
        z-index:1100!important;
        width:88px!important;
        min-height:0!important;
        height:auto!important;
        max-height:calc(100vh - 28px)!important;
        margin:0!important;
        overflow:hidden;
    }
    body.theme-emerald>.emerald-classification.emerald-classification-floating b{
        margin:10px 0;
        max-height:48vh;
        overflow:hidden;
        font-size:1.52rem;
        line-height:1;
    }
}
@media(max-width:991px){
    body.theme-emerald>.emerald-classification.emerald-classification-floating{display:none!important}
}

/* DurNama 1.0.35 - tablet homepage catalogue repair.
   The later desktop catalogue grid (88px + content) was overriding the older
   <=991px rule after the classification rail had been hidden, so the catalogue
   main was auto-placed into the 88px rail on iPad/tablet portrait widths. */
@media (min-width:768px) and (max-width:991.98px){
    .theme-emerald .emerald-catalogue-opening-grid{
        display:grid!important;
        grid-template-columns:minmax(0,1fr)!important;
        gap:0!important;
    }
    .theme-emerald .emerald-catalogue-opening-grid>.emerald-classification{
        display:none!important;
    }
    .theme-emerald .emerald-catalogue-opening-grid>.emerald-catalogue-main{
        grid-column:1/-1!important;
        width:100%!important;
        min-width:0!important;
    }
    .theme-emerald .emerald-opening-heading,
    .theme-emerald .emerald-poet-catalogue-opening .emerald-shelf{
        width:100%;
        max-width:100%;
    }
    .theme-emerald .emerald-poet-catalogue-opening .emerald-shelf{
        grid-template-columns:minmax(0,1fr)!important;
    }
}
