:root{--ink:#183c34;--green:#113f35;--green2:#245b4a;--gold:#d9bc7e;--paper:#f1f4f3;--line:#e0e7e3;--muted:#63756d;font-family:'IBM Plex Sans Arabic','SF Arabic',Tahoma,sans-serif;font-synthesis:none}
body{background:var(--paper)}button,input,select{font-family:inherit}h1,h2,h3{font-weight:600}button{border-radius:9px}button:hover{border-color:#aebfb4}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b98c36;outline-offset:3px}.top{padding:20px max(28px,calc((100vw - 1660px)/2));min-height:136px;background:#0b3028;position:relative;border:0;border-bottom:1px solid #d9bc7e55}.brand{gap:23px}.brand-logo{width:96px;height:96px;object-fit:contain;display:block;flex-shrink:0}.brand h1{font-size:1.6rem;font-weight:600;line-height:1.8}.brand p{color:#b5c9bd;font-size:.875rem;line-height:1.85}.brand-copy{border-inline-start:1px solid #ffffff24;padding-inline-start:22px}.top-actions{gap:10px}.top-actions button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 18px;font-size:.94rem}.header-share{border-color:#ffffff35;background:#ffffff05}.gold{background:var(--gold);border-color:var(--gold);color:#17392d}.edition{font-size:.75rem;line-height:1.9;padding-inline-end:25px;margin-inline-end:12px;color:#b5c9bd}.edition strong{font-size:1rem;color:#e3d3ac}.tabs{padding:0 max(28px,calc((100vw - 1660px)/2));gap:30px;background:white;min-height:62px;align-items:stretch;box-shadow:0 2px 8px #183c3403}.tabs button,.tabs a{display:inline-flex;align-items:center;gap:9px;font-size:.94rem;padding:17px 0;color:#6a7a72}.tabs button.active{color:var(--green);font-weight:600;border-bottom-color:#b69552}.tabs .source-tab{font-size:.875rem}.ui-icon{display:inline-block;width:19px;height:19px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.coverage{max-width:1660px;margin:0 auto;padding:17px 0 0;background:none;border:0;color:var(--muted);min-height:53px;font-size:.875rem}.coverage>span{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.coverage strong{font-weight:600;color:var(--green)}.coverage button{font-size:.875rem}.workspace{max-width:1716px;margin:0 auto;padding:20px 28px 28px;gap:20px;grid-template-columns:270px minmax(360px,1fr) 296px;align-items:start;min-height:calc(100dvh - 255px)}.directory,.person-panel,.explorer{border:1px solid var(--line);border-radius:16px;box-shadow:0 5px 18px #143b3004}.directory{padding:24px 18px;background:white}.section-heading{margin-bottom:20px}.section-heading h2{font-size:1.06rem;font-weight:600}.section-heading span{font-size:.75rem;border:0;border-radius:6px;background:#edf3ef;padding:4px 8px;color:#416152}.search-label{font-size:.875rem;margin-bottom:10px;line-height:1.8}.search-box{background:#f7faf8;border:1px solid #cbd7cf;border-radius:9px;padding-inline-start:12px;gap:4px;min-height:52px}.search-box .ui-icon{width:20px;height:20px;color:#6d8073}.search-box input{padding:.8rem .5rem;min-width:0}.directory select{border-color:var(--line);padding:10px;font-size:.875rem;background:white}.search-summary{margin:18px 0 8px}.search-count{font-size:.75rem}.text-button{font-size:.75rem;padding:4px;min-height:30px}.results{max-height:calc(100dvh - 542px);min-height:180px;padding-inline-end:2px}.result{padding:12px 10px;border-bottom:1px solid #edf1ed;border-radius:8px;margin-bottom:4px}.result strong{font-weight:600;font-size:1rem;line-height:1.8}.result strong span{font-size:.75rem;font-weight:400;color:#72877a}.result small{font-size:.875rem;line-height:1.9;color:#6a7d70}.result.selected{background:#edf4ee;border-color:#ccdbce;box-shadow:inset -3px 0 #ad8d4d}.catalog-link{font-size:.875rem;line-height:1.8;color:#35604e;padding:16px 1px 0;margin-top:16px}.explorer{padding:24px 24px 18px;background-color:#fbfcfb;background-image:radial-gradient(#ccd8cf .75px,transparent .75px);background-size:22px 22px;overflow:hidden}.explorer-head{margin-bottom:20px;gap:15px}.explorer h2{font-size:1.4rem;color:#123f32;font-weight:600;line-height:1.9}.eyebrow{font-size:.75rem;color:#6d7f72;line-height:1.7;margin-bottom:5px}.view-actions{gap:6px;max-width:270px}.view-actions .quiet{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:white;border-color:#d9e3dc;padding:7px 10px;font-size:.75rem;min-height:38px;white-space:nowrap}.view-actions .ui-icon{width:16px;height:16px}.tree-controls{padding:0 0 14px;border-bottom:1px solid #e0e8e1;gap:10px;margin-bottom:12px}.segmented{padding:4px;border:1px solid #dce5dd;border-radius:9px;background:#eef3ef}.segmented button{border-radius:6px;padding:7px 15px;font-size:.875rem;min-height:37px}.segmented button.active{font-weight:600;color:#244d3b;background:white;box-shadow:0 2px 6px #143b3009}.graph-help{font-size:.875rem;line-height:1.8;color:#738173}.graph{min-height:480px;max-height:calc(100dvh - 410px);padding:28px 6px 18px}.tree-node{min-width:198px;max-width:280px;border-radius:10px;border:1px solid #c5d5c8;padding:12px 22px;font-weight:600;background:white;box-shadow:0 3px 9px #173b3205;font-size:1rem;line-height:1.85}.tree-node:hover{background:#f5faf6;border-color:#819e8c}.tree-node small{font-size:.75rem;margin-top:3px;color:#728276}.tree-node.selected{background:#153f32;border-color:#153f32;box-shadow:0 0 0 4px #fff,0 0 0 5px #bdac7d,0 8px 22px #143b3010}.tree-node.selected small{color:#ddc798;font-size:.75rem}.connector{height:25px;width:1px;background:#acbfae}.children-label{font-size:.875rem;margin:25px 0 12px}.children{gap:12px}.children .tree-node{flex:0 1 165px;min-width:125px;max-width:205px}.children .tree-node:before{background:#acbfae;width:1px}.graph-footer{font-size:.75rem;border-top-color:#e0e8e1;padding-top:13px;gap:15px;margin-top:16px}.graph-footer .key{width:8px;height:8px;border-radius:50%}.person-panel{padding:25px 22px;border-top:3px solid #b69a60;background:white}.person-monogram{height:56px;width:56px;border-radius:50%;background:#edf3ee;border:1px solid #d4e0d5;font-family:inherit;font-weight:600;font-size:1.5rem;margin-bottom:17px}.person-id{font-size:.75rem;line-height:1.7;color:#7a887e;margin-bottom:5px;display:block}.person-panel h2{font-size:1.65rem;font-weight:600;line-height:1.8;margin-bottom:7px}.person-fullname{font-size:.94rem;line-height:2.05;color:#5f7466}.person-stats{border:0;border-top:1px solid #e5ebe5;border-bottom:1px solid #e5ebe5;border-radius:0;padding:17px 0;background:none;margin-top:21px}.person-stats strong{font-size:1.55rem;line-height:1.5;font-weight:600;color:#2f5642}.person-stats span{font-size:.75rem;line-height:1.8;margin-top:1px}.person-stats>div+div{border-color:#e2e9e3}.person-section{border-top-color:#e5ebe5;margin-top:20px;padding-top:16px}.person-section h3{font-size:.75rem;color:#7d8a80;margin-bottom:6px}.person-section p,.person-section button{font-size:.875rem;line-height:1.9}.person-section button{padding:8px 11px;background:#f8faf8;border-color:#dfe7df}.person-section .source-link{padding:0;background:none;border:0;font-size:.875rem}.person-panel>.wide{margin-top:22px;padding:12px;font-size:.94rem;font-weight:600}.person-secondary button{font-size:.875rem;background:white;border-color:#dce6dd}.siblings{border-top-color:#dee6de}.siblings p{font-size:.75rem}.siblings button{font-size:.875rem;background:white;border-color:#d5e1d7}.branch-row .tree-node{text-align:right;min-width:0;max-width:none;box-shadow:none}.branch-tree .tree-node.selected{box-shadow:none}.branch-toggle{background:#ecf3ed;border-color:#c2d3c4;border-radius:8px;font-size:1.1rem}.site-footer{background:#0b3028;border:0;color:#b4c6bb;padding:22px max(28px,calc((100vw - 1660px)/2));font-size:.75rem;line-height:1.9}.footer-brand{display:flex!important;align-items:center;gap:15px;color:#d9e4dc}.footer-brand img{width:55px;height:55px;object-fit:contain}.site-footer>span:last-child{align-self:center}.catalog-main{max-width:1716px!important}.catalog-heading h2{font-weight:600!important}.card{border-radius:14px!important;box-shadow:0 3px 14px #153c2e04}.card .name{font-weight:600!important}.toolbar{box-shadow:0 2px 10px #123d3003}.card .action{font-weight:600;color:#224a35}.card canvas{border:1px solid #eef2ed}.share-preview{position:relative;padding:24px;background:#123c30;border:1px solid #9f8758;border-radius:12px}.share-preview .share-brand{display:flex;align-items:center;gap:15px;margin-bottom:14px;border-bottom:1px solid #ffffff25;padding-bottom:15px}.share-brand img{width:65px;height:65px;object-fit:contain}.share-brand .eyebrow{font-size:.875rem;color:#ddc794;margin:0}.share-preview h3{font-size:1.3rem;font-weight:600}.share-preview p{font-size:.94rem;line-height:2.1}.dialog-heading{border-bottom:1px solid #e2e9e2;padding-bottom:18px;margin-bottom:18px}.dialog-heading h2{font-weight:600;color:#123d30}.close{border-radius:50%;font-size:1.35rem;background:#f0f5f0;color:#2e5740}dialog{border-radius:18px;padding:28px;border-color:#d6e1d7}.compare-fields{gap:18px}.compare-fields label{font-size:.94rem;font-weight:600}.picker-results{background:#f7faf7;border-color:#dce6dc;max-height:245px}.picker-option{border-color:#dfe8df;padding:12px}.picker-option strong{font-size:.94rem;line-height:2.05;font-weight:400}.picker-option span{font-size:.75rem}.picker-option.is-selected{border-color:#557962;background:#edf5ef}.picker-selection{font-size:.875rem;line-height:1.9;background:#f0f5ef;border:1px solid #dde8dc}.picker-count{font-size:.75rem}.relation-card{background:#f3f7f1;border-color:#d0dfce;border-radius:12px}.relation-card h3{font-weight:600;font-size:1.3rem}.relation-paths li{font-size:.94rem}.relation-paths li.common{background:#e3eddc}.notice{background:#fbf9f0;border-color:#e5dcc2;font-size:.875rem}.notice strong{font-weight:600}.source-body{font-size:.94rem;line-height:2}.image-viewport{border-radius:10px}.original{min-width:0}
@media(max-width:1715px){.coverage{margin-inline:28px}}
@media(min-width:1600px){.workspace{grid-template-columns:290px minmax(380px,1fr) 320px}.explorer{padding:28px 32px}.graph{min-height:500px}}
@media(max-width:1250px){.workspace{grid-template-columns:250px minmax(340px,1fr);gap:18px}.directory{grid-row:1 / 3}.person-panel{grid-column:2;display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.person-panel>.person-monogram{display:none}.person-panel>.person-id,.person-panel>h2,.person-panel>.person-fullname{grid-column:1 / -1}.person-panel>.person-fullname{max-width:70ch}.person-panel>.person-section{margin-top:15px}.person-panel>button,.person-panel>.person-secondary{align-self:end}.explorer{padding:24px}.graph{max-height:600px;min-height:430px}.view-actions{max-width:225px}.edition{display:none}}
@media(max-width:760px){.top{padding:16px;min-height:0;gap:16px}.brand{gap:13px}.brand-logo{width:68px;height:76px}.brand-copy{padding-inline-start:13px}.brand h1{font-size:1.23rem;line-height:1.8}.brand p{font-size:.75rem;line-height:1.8;max-width:245px}.top-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:9px}.top-actions button{font-size:.875rem;padding:10px 8px;min-height:44px}.tabs{padding:0 16px;gap:24px;min-height:55px}.tabs button,.tabs a{padding:13px 0;font-size:.875rem}.tabs .ui-icon{width:17px;height:17px}.tabs .source-tab{font-size:.875rem}.coverage{padding-top:13px;margin-inline:16px;font-size:.75rem;gap:8px}.coverage button{font-size:.75rem}.workspace{display:flex;flex-direction:column;padding:14px 12px 20px;gap:14px;min-height:0}.directory,.person-panel,.explorer{width:100%;border-radius:13px}.directory{padding:20px 16px 14px}.section-heading{margin-bottom:16px}.section-heading h2{font-size:1.06rem}.search-label{font-size:.875rem}.search-box input{font-size:1rem}.results{min-height:0;max-height:215px;gap:5px}.result{padding:9px}.result strong{font-size:.94rem}.result small{font-size:.875rem}.catalog-link{margin-top:12px;padding-top:12px}.search-summary{margin:11px 0 7px}.explorer{padding:20px 16px 15px}.explorer-head{display:block;margin-bottom:15px}.explorer h2{font-size:1.3rem}.view-actions{max-width:none;justify-content:flex-start;margin-top:13px;gap:6px}.view-actions .quiet{width:auto;flex:1;font-size:.75rem;padding:8px 6px;min-height:40px}.tree-controls{padding-bottom:12px;gap:8px}.segmented{flex:1;min-width:0}.segmented button{flex:1;padding:7px 9px;white-space:nowrap}.tree-controls>.muted{font-size:.75rem}.graph-help{font-size:.875rem}.graph{min-height:400px;max-height:570px;padding:26px 0 15px}.tree-node{min-width:190px;max-width:260px}.children .tree-node{min-width:120px;flex:1 1 130px;padding:10px 12px}.graph-footer{font-size:.75rem;gap:10px}.person-panel{display:block;padding:23px 19px;border-top-width:3px}.person-panel>.person-monogram{display:grid;float:left;width:52px;height:52px;margin:0 0 10px 10px}.person-panel h2{font-size:1.5rem}.person-fullname{font-size:1rem;line-height:2.1}.person-section h3{font-size:.875rem}.person-section p,.person-section button{font-size:.94rem}.person-stats span{font-size:.875rem}.site-footer{display:block;padding:20px 18px;font-size:.75rem}.site-footer>span:last-child{display:block;margin-top:14px}.footer-brand img{width:49px;height:49px}.branch-row .tree-node{min-width:0;font-size:.94rem}.branch-row .tree-node small{font-size:.75rem}.branch-row .tree-node.selected{box-shadow:none}.catalog-main{padding:23px 14px!important}.catalog-heading h2{font-size:1.3rem!important}.card .name{font-size:1.1rem!important}.card .action{font-size:.875rem!important}.catalog-main .toolbar{border-radius:11px}.share-preview{padding:20px}.share-preview p{font-size:.94rem}.share-brand img{width:58px;height:58px}.share-preview h3{font-size:1.2rem}dialog{padding:23px 18px;border-radius:15px}.dialog-heading{padding-bottom:14px}.dialog-heading h2{font-size:1.4rem}.picker-results{max-height:220px}.picker-option strong{font-size:1rem}.picker-selection{font-size:.875rem}.compare-fields{gap:20px}.relation-card{padding:18px}.relation-paths li{font-size:.94rem}}
@media print{.workspace,.site-footer{display:none!important}.print-area{font-family:'IBM Plex Sans Arabic',Tahoma,sans-serif}.catalog-main .card{box-shadow:none!important}}

.brand h1 .edition-date{display:inline-block;font-size:.5em;font-weight:400;color:#d1dcd6;white-space:nowrap;vertical-align:middle;margin-inline-start:.35em;line-height:1.8}

.brand h1 .edition-date{white-space:normal}.edition-date .date-part{white-space:nowrap}.site-footer{flex-wrap:wrap}.site-credit{flex-basis:100%;width:100%;margin:16px 0 0;font-size:.875rem;line-height:1.9;text-align:center}.site-footer .site-credit{color:#e2eae5}

.correction-trigger{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--gold,#b89a54);margin-top:14px;background:#fff;color:var(--green);font-weight:600}.correction-trigger:hover{background:#f7f5ed}#correction-dialog{width:min(580px,calc(100% - 28px));max-height:90dvh;overflow-y:auto}#correction-dialog .dialog-heading{align-items:flex-start}#correction-dialog .dialog-heading p{margin-top:6px;font-size:.94rem}.correction-context{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#edf4ee;border:1px solid #cfddd2;border-radius:12px;padding:16px;margin:16px 0 22px}.correction-context strong{display:block;line-height:1.9}.correction-context>span{font-size:.8rem;white-space:nowrap}.correction-field{margin:16px 0}.correction-field label{display:block;margin-bottom:8px;font-weight:600}.correction-field label span{font-weight:400}.correction-field input,.correction-field textarea{width:100%;font:inherit;font-size:1rem;line-height:1.8;border:1px solid #cbd8d0;border-radius:10px;padding:11px 13px;background:white;color:var(--green);box-sizing:border-box}.correction-field textarea{resize:vertical;min-height:100px}.correction-note{text-align:center;font-size:.8rem;line-height:1.9;margin:13px 0 0}.correction-error{color:#9b3029;background:#fff3ef;padding:12px;border-radius:8px}.correction-success{text-align:center;padding:24px 0}.correction-success>span{display:inline-grid;place-items:center;background:#e7f2e9;color:var(--green);width:60px;height:60px;border-radius:50%;font-size:30px;margin-bottom:15px}.correction-success p{color:var(--muted);line-height:1.9;margin:14px 0 24px}#correction-submit:disabled{opacity:.65;cursor:wait}@media(max-width:760px){#correction-dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:92dvh;border-radius:22px 22px 0 0;padding:24px 20px calc(24px + env(safe-area-inset-bottom));box-sizing:border-box}.correction-context{padding:13px;gap:10px}.correction-context strong{font-size:.94rem}}

.site-credit{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 24px}.credit-contact a{display:inline-block;color:inherit;text-decoration:underline;text-underline-offset:4px;padding:7px 4px;font-weight:600}.site-footer .credit-contact a{color:#e7cc8e}.credit-contact a:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:4px}

/* Usability pass: compact header and clearer secondary labels. */
.top{min-height:110px;padding-block:14px}.brand-logo{width:80px;height:80px}.brand h1{font-size:1.45rem}.person-panel,.explorer{scroll-margin-top:18px}.result strong span,.person-id,.person-section h3{color:#596f61}.graph-help{color:#53695a}.image-status{color:var(--muted);font-size:.94rem;line-height:1.8;padding:12px 0}.catalog-main .card .small{font-size:.94rem}.catalog-main .card .ref{font-size:.8125rem;color:#566c5d}.tabs a[aria-current=page]{border-bottom:3px solid #b69552}.catalog-main #count{scroll-margin-top:16px}
@media(max-width:1000px){.top{flex-wrap:wrap;gap:14px}.top-actions{margin-inline-start:auto}.brand{min-width:0}}
@media(max-width:760px){.top{padding:14px 16px}.brand-logo{width:62px;height:68px}.brand h1{font-size:1.2rem}.brand-copy{padding-inline-start:12px}.top-actions{margin:0}.person-id,.section-heading span{font-size:.875rem}.tabs{gap:22px}}

/* Selected option 1: preserve the original artwork and its natural proportions. */
.brand-logo{box-sizing:border-box;width:132px;height:68px;padding:8px 9px;background:#fffdf7;border-radius:12px;object-fit:contain}
.footer-brand img{box-sizing:border-box;width:112px;height:58px;padding:7px 9px;background:#fffdf7;border-radius:10px;object-fit:contain;flex-shrink:0}
.share-brand img{box-sizing:border-box;width:118px;height:62px;padding:8px 9px;background:#fffdf7;border-radius:10px;object-fit:contain;flex-shrink:0}
@media(max-width:760px){.brand-logo{width:104px;height:58px;padding:7px 8px;border-radius:10px}.footer-brand img{width:104px;height:54px}.share-brand img{width:104px;height:58px}}
