.am-directory-shell{max-width:1200px;margin-inline:auto}
.ar-draft-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.ar-draft-actions .btn{display:inline-flex;align-items:center;justify-content:center;width:112px;min-height:44px;font-size:14px;font-weight:600}
.ar-draft-actions .ar-delete-draft{color:#b91c1c!important;border:1px solid #fecaca!important;background:#fff!important}
.ar-draft-actions .ar-delete-draft:hover{background:#fef2f2!important}
@media(max-width:600px){.ar-draft-row{flex-wrap:wrap}.ar-draft-actions{width:100%;justify-content:flex-end}}
.ar-drafts-tile{display:grid;grid-template-columns:1fr auto;gap:8px 20px;width:100%;padding:20px 24px;margin-block:0 20px;border:1px solid #c7d2fe;border-radius:16px;background:#eef2ff;color:#3730a3;text-align:start;font:inherit;cursor:pointer}
.ar-drafts-tile span{font-size:16px;font-weight:600}.ar-drafts-tile strong{grid-column:2;grid-row:1 / 3;font-size:28px;font-weight:600;font-variant-numeric:tabular-nums}.ar-drafts-tile small{font-size:14px}
.ar-drafts-tile:focus-visible{outline:3px solid #4f46e5;outline-offset:3px}
[data-ar-workspace-drafts] .ar-draft-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid #e2e8f0}
[data-ar-workspace-drafts] .ar-draft-row small{display:block;margin-top:6px;color:#475569;font-size:14px;overflow-wrap:anywhere}
[data-ar-workspace-drafts] .ar-draft-row .btn{flex-shrink:0}
/* Shared by Overview, Directory and Needs attention; keep bilingual fonts. */
.ds-workspace .am-directory-shell h1{font-size:32px!important;font-weight:600!important;line-height:1.25}
.ds-workspace .am-directory-shell .am-link{font-weight:600}
.ds-workspace .am-directory-shell .aw-metric{min-height:88px;padding:12px 16px!important;display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px;text-align:start}
.ds-workspace .am-directory-shell .aw-metric strong{grid-column:2;grid-row:1 / 3;font-size:28px!important;font-weight:600!important;line-height:1.25;font-variant-numeric:tabular-nums;margin:0!important}
.ds-workspace .am-directory-shell .aw-metric small{grid-column:1;font-size:13px!important}
.ds-workspace .am-directory-shell .aw-metrics{margin-block:16px 20px!important;gap:12px}
.ds-workspace .am-directory-shell .aw-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:16px;margin-block:0 20px;background:#fff;border:1px solid #e2e8f0;border-radius:12px}
.am-directory-shell .aw-toolbar>label{flex:1 1 125px;display:grid;gap:6px;min-width:0}
.am-directory-shell .aw-toolbar>.aw-search{flex:2 1 245px}
.am-directory-shell .aw-toolbar input,.am-directory-shell .aw-toolbar select{width:100%;font-weight:400!important}
.am-directory-shell .aw-toolbar>button{flex:0 0 auto}
.am-saved-menu{flex:0 0 auto;position:relative}
.am-saved-menu>summary{list-style:none;cursor:pointer;padding:12px 14px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#475569;font-size:14px;min-height:44px;box-sizing:border-box}
.am-saved-menu>summary:after{content:' ▾'}
.am-saved-menu .am-saved{position:absolute;inset-inline-end:0;top:100%;width:min(420px,80vw);box-sizing:border-box;z-index:15;margin:8px 0 0;padding:18px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 12px 32px #0f172a18;display:grid;grid-template-columns:1fr 1fr;align-items:end}
.am-saved-menu .am-saved label{min-width:0}.am-saved-menu .am-saved small{grid-column:1 / -1}
.am-directory-shell .aw-card{border:1px solid #e2e8f0;border-radius:12px;box-shadow:none;padding:20px}
.am-directory-shell .aw-card h2{margin-top:0}.am-directory-shell .aw-two{gap:20px}
.am-directory-shell .am-recorded-health{display:block;color:#64748b;font-size:13px;margin-top:8px;background:none}
.am-section-title{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:16px}
.am-section-title h2{margin:0 0 6px}.am-section-title p{margin:0;color:#64748b;font-size:14px;line-height:1.5;max-width:80ch}
.am-section-title>span{white-space:nowrap;color:#475569;font-size:14px}
.am-reasons{padding-inline-start:18px;margin:0;line-height:1.7}
.ds-workspace .am-directory-shell .aw-toolbar.am-filter-panel{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;padding:24px;border-radius:16px;background:#fff;box-shadow:none;font-family:var(--ws-font,AISInter,AISArabic,system-ui,sans-serif)}
.am-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
.ds-workspace .am-filter-heading h2{margin:0 0 6px;font-size:20px!important;font-weight:600!important;line-height:1.3}
.ds-workspace .am-filter-heading p{margin:0;font-size:14px!important;line-height:1.5;color:#64748b}
.am-filter-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.am-filter-panel .am-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px;padding-top:20px;border-top:1px solid #e2e8f0}
.am-filter-panel .am-filter-grid>label{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:12px;min-width:0}
.ds-workspace .am-filter-panel label,.ds-workspace .am-filter-panel label>span{font-size:14px!important;font-weight:500!important;line-height:1.5;color:#334155;letter-spacing:normal;text-transform:none}
.ds-workspace .am-filter-panel input,.ds-workspace .am-filter-panel select{height:48px!important;min-height:48px;font:400 16px/1.5 var(--ws-font,AISInter,AISArabic,system-ui,sans-serif)!important;background:#fff!important;color:#0f172a!important;border:1px solid #cbd5e1!important;border-radius:9px;padding:10px 12px;box-sizing:border-box}
.am-filter-panel .am-filter-search{display:grid!important;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:12px!important}
.am-filter-panel input::placeholder{color:#64748b;opacity:1}
.am-filter-panel :is(input,select,button,summary):focus-visible{outline:3px solid #c7d2fe!important;outline-offset:2px;border-color:#4f46e5!important}
.ds-workspace .am-filter-actions :is(button,summary){font-size:14px!important;font-weight:500!important;min-height:44px;display:flex;align-items:center;justify-content:center;white-space:nowrap}
.am-filter-panel .am-saved{border-radius:12px;gap:16px}
.am-filter-panel .am-saved label{display:grid;gap:8px}
@media(max-width:1100px){.am-filter-panel .am-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.am-filter-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:700px){.ds-workspace .am-directory-shell .aw-toolbar.am-filter-panel{padding:18px}.am-filter-panel .am-filter-grid{grid-template-columns:1fr}.am-filter-actions{flex-wrap:wrap;width:100%}.am-filter-panel .am-filter-actions .am-saved-menu[open]{flex-basis:100%}.am-filter-panel .am-saved{grid-template-columns:1fr}.am-filter-panel .am-filter-search{grid-template-columns:1fr}.am-filter-panel .am-filter-grid>label{grid-template-columns:100px minmax(0,1fr)}}
.am-attention .aw-table td{vertical-align:top}.am-attention .aw-table td:nth-child(3){white-space:nowrap}
@media(max-width:700px){.ds-workspace .am-directory-shell .aw-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.am-directory-shell .aw-toolbar>.aw-search{flex-basis:100%}.am-section-title{flex-direction:column;gap:8px}.am-saved-menu .am-saved{position:static;width:100%;box-shadow:none}.am-saved-menu[open]{flex-basis:100%}.am-directory-shell .aw-two{grid-template-columns:1fr}.am-attention .aw-table{min-width:760px}}
