/* V0.10 — faithful layout restoration from supplied Edfu decision and inspection PDFs. */
.v10-financial-dash{padding:15px 20px;border:1px solid #d6e3dc;background:#fffdf7;border-radius:16px;margin:14px 0 18px}
.v10-financial-dash>h3{font-size:22px;color:#184e45;margin:4px 0 12px}
.v10-financial-dash>p{font-size:13px;color:#755d2c;margin:10px 0 0}
.v10-financial-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.v10-financial-grid article{padding:14px;border:1px solid #e1e6e2;border-top:3px solid #b7934a;background:#fff;border-radius:11px;display:flex;flex-direction:column;min-width:0;gap:8px}
.v10-financial-grid article span{font-weight:700;color:#164a41}
.v10-financial-grid article strong{color:#986e2f;font-size:20px}
.v10-financial-grid article small{font-size:12px;color:#687c70;line-height:1.35}
.v10-full-report{table-layout:fixed;border-collapse:collapse;min-width:870px;width:100%;font-size:14px}
.v10-full-report th,.v10-full-report td{border:1px solid #a9b8ae;padding:7px 9px;white-space:normal!important;overflow-wrap:anywhere;text-align:center;vertical-align:middle}
.v10-full-report th:nth-child(1){width:4%}.v10-full-report th:nth-child(2){width:42%}.v10-full-report th:nth-child(3){width:12%}.v10-full-report th:nth-child(4){width:12%}.v10-full-report th:nth-child(5){width:12%}.v10-full-report th:nth-child(6){width:11%}.v10-full-report th:nth-child(7){width:7%}
.v10-full-report td:nth-child(2){text-align:right}
.v10-money-row{background:#eff5f0}
.v10-notlinked{color:#835e2e;font-weight:700;font-size:12px}
.v10-report-extras{display:flex;flex-direction:column;gap:8px;align-items:stretch;margin:14px 0}
.v10-report-note{background:#fff8e7;padding:10px 15px;border-right:4px solid #c29d52;color:#70592d;font-size:14px}
.v10-report-actions{display:flex;gap:9px;justify-content:flex-start}
.v10-report-actions button{background:#145b50;color:#fff;border:none;border-radius:8px;padding:9px 14px}
.v10-report-approvals{display:grid;grid-template-columns:1fr 1fr;gap:35px;margin-top:20px;text-align:center;border-top:1px solid #315c4f;padding:17px 12px 10px}
.v10-report-approvals>div{display:flex;flex-direction:column;gap:9px;align-items:center}
.v10-report-approvals strong{font-size:16px;color:#1a5146}
.v10-report-approvals span{font-size:14px}
.v10-print-stack{width:min(100%,210mm);margin:20px auto;direction:rtl;color:#17211d;font-family:'Sakkal Majalla H','Sakkal Majalla','Traditional Arabic',Tahoma,Arial,sans-serif}
.v10-docpage{position:relative;width:210mm;max-width:100%;min-height:297mm;background:white;box-shadow:0 2px 18px #0002;border:1px solid #dde6df;padding:9mm 9mm 12mm;margin:20px auto;box-sizing:border-box;overflow:hidden;break-after:page}
.v10-docpage:last-child{break-after:auto}
.v10-doc-inner{display:block;width:100%}
.v10-letterhead{display:grid;grid-template-columns:25mm 1fr 25mm;align-items:center;text-align:center;gap:4mm;min-height:29mm;border-bottom:1.4px solid #235747;padding-bottom:4mm;margin-bottom:3mm}
.v10-letterhead img{width:23mm;height:23mm;object-fit:contain}
.v10-lettertitle{font-size:11px;line-height:1.18;font-weight:600}
.v10-lettertitle h2{font-size:19px;margin:3px 0 1px;color:#173b35;line-height:1.1}
.v10-lettertitle small{font-size:8px;font-weight:400;color:#333}
.v10-docsub{display:grid;grid-template-columns:21mm 1fr 1fr;gap:3mm;align-items:center;min-height:19mm;font-size:11px;margin:1mm 0 3mm}
.v10-docsub div:nth-child(2){text-align:center}.v10-docsub div:nth-child(3){text-align:left}
.v10-qr{height:17mm;width:17mm;display:block}
.v10-qr-unknown{border:1px dashed #888;font-size:9px}
.v10-section-heading{background:#eaf1ec;color:#1a4a3e;border-right:3px solid #335b4e;padding:3px 7px;text-align:right;margin:3mm 0 1mm;font-size:11px;font-weight:700}
.v10-doc-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:10px;direction:rtl;margin:1mm 0}
.v10-doc-table th,.v10-doc-table td{border:1px solid #7d8b83;padding:2px 4px;text-align:center!important;vertical-align:middle;line-height:1.15;overflow-wrap:anywhere}
.v10-doc-table th{background:#f1f4f2;font-weight:700}
.v10-pairs th{width:28%}.v10-pairs td{text-align:right!important}
.v10-members th:first-child{width:5%}.v10-members th:nth-child(2){width:33%}.v10-members th:nth-child(3){width:41%}.v10-members th:nth-child(4){width:21%}
.v10-members td{height:4.35mm!important;padding:1px 3px!important;font-size:9.6px!important;white-space:normal!important}
.v10-legal{font-size:10px;text-align:center;margin:3mm 0}
.v10-rowtable td,.v10-rowtable th{font-size:9.5px}
.v10-coords{font-family:Arial,Tahoma,sans-serif;direction:rtl;font-size:8px}
.v10-coords th,.v10-coords td{padding:1px 2px!important;white-space:nowrap;line-height:1.05}
.v10-sketchbox{height:68mm;border:1px solid #799d8c;display:flex;align-items:center;justify-content:center;padding:1mm;background:#fafcfb;margin-bottom:1mm}
.v10-sketch{width:100%;height:100%}.v10-sketch-empty{color:#777;font-size:10px}
.v10-chair{display:grid;grid-template-columns:2fr 1fr 1fr;align-items:end;text-align:center;gap:3mm;margin:4mm 0 0;font-size:11px;min-height:16mm}
.v10-chair>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2mm}
.v10-chair>div:nth-child(2){border-bottom:1px solid #667b70;min-height:14mm}
.v10-chair>div:nth-child(3){border:1px dashed #80968b;min-height:16mm}
.v10-chair span{font-size:9px}
.v10-page-count{position:absolute;bottom:3mm;right:0;left:0;text-align:center;font-size:9px}
.v10-decision-intro{text-align:center;font-size:10.7px;line-height:1.23;margin:4mm 0}
.v10-decision-intro p{margin:1mm 0}
.v10-decision-intro h3{font-size:17px;margin:1mm 0}
.v10-decision-line{text-align:center;margin:3mm 0;font-size:10px}
@media(max-width:880px){.v10-financial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v10-docpage{width:100%;min-height:auto;padding:7mm 5mm}.v10-letterhead{grid-template-columns:15mm 1fr 15mm}.v10-letterhead img{width:15mm;height:15mm}.v10-members td{font-size:8px!important}}
@media(max-width:520px){.v10-financial-grid{grid-template-columns:1fr}.v10-report-approvals{gap:10px}.v10-docpage{overflow-x:auto}.v10-doc-table{font-size:8px}}
@page{size:A4 portrait;margin:0}
@media print{
  body.v10-print-doc,body.v10-print-report{background:white!important}
  body.v10-print-doc *{visibility:hidden!important}
  body.v10-print-doc .v10-print-stack,body.v10-print-doc .v10-print-stack *{visibility:visible!important}
  body.v10-print-doc .v10-print-stack{position:absolute!important;top:0!important;right:0!important;left:0!important;margin:0!important;width:210mm!important;max-width:none!important}
  body.v10-print-doc .v10-docpage{width:210mm!important;height:297mm!important;min-height:297mm!important;max-height:297mm!important;break-after:page!important;margin:0!important;padding:9mm 9mm 12mm!important;border:0!important;box-shadow:none!important}
  body.v10-print-doc .v10-docpage:last-child{break-after:auto!important}
  body.v10-print-doc .v10-doc-table td,body.v10-print-doc .v10-doc-table th{font-size:10px!important}
  body.v10-print-doc .v10-members td{font-size:9.6px!important;height:4.35mm!important}
  body.v10-print-doc .v10-lettertitle h2{font-size:19px!important}
  body.v10-print-report *{visibility:hidden!important}
  body.v10-print-report #report-result,body.v10-print-report #report-result *{visibility:visible!important}
  body.v10-print-report #report-result{position:absolute!important;right:0!important;top:0!important;width:210mm!important;max-width:none!important;padding:9mm!important;margin:0!important;border:0!important;background:#fff!important;box-shadow:none!important}
  body.v10-print-report .v10-report-extras,body.v10-print-report .v09-report-viz{display:none!important}
  body.v10-print-report .v10-full-report{min-width:0!important;width:100%!important;font-size:9.8px!important}
  body.v10-print-report .v10-full-report td,body.v10-print-report .v10-full-report th{font-size:9.8px!important;padding:3px 5px!important;line-height:1.1!important}
  body.v10-print-report .v10-report-approvals{margin-top:12mm!important;break-inside:avoid}
  body.v10-print-report .v10-report-approvals strong{font-size:12px!important}
  body.v10-print-report .v10-report-approvals span{font-size:11px!important}
}
.v10-reference-controls{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:10px 0 16px}
.v10-reference-selector{min-width:220px;max-width:45%;padding:9px 12px;border-radius:8px;border:1px solid #cbded3}
.v10-reference-search{min-width:190px;flex:1;padding:9px 12px;border-radius:8px;border:1px solid #cbded3}
.v10-reference-output{max-width:100%;margin:15px 0}
.v10-helptext{font-size:14px;color:#617a6c;margin:10px 0}
.v10-reference-tablewrap{max-width:100%;overflow:auto;border:1px solid #d0ded5;border-radius:10px;background:white}
.v10-reference-table{min-width:900px;border-collapse:collapse;width:max-content;max-width:none;font-size:13px}
.v10-reference-table th,.v10-reference-table td{padding:7px 10px;border-bottom:1px solid #e0e9e2;border-left:1px solid #ecf1ed;max-width:220px;min-width:70px;overflow-wrap:anywhere;text-align:right;vertical-align:top}
.v10-reference-table th{background:#eaf1ed;position:sticky;top:0;color:#145a4e;z-index:1}
.v10-reference-table tr:nth-child(2n){background:#f8faf8}
.v10-page-nav{display:flex;justify-content:center;align-items:center;gap:12px;margin:15px 0}
.v10-finance-panels{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:14px 0}
.v10-finance-card{background:#fff;border:1px solid #d9e3dc;border-top:3px solid #b7934a;border-radius:12px;padding:15px;display:flex;flex-direction:column;gap:9px}
.v10-finance-card strong{font-size:22px;color:#155e50}
.v10-finance-card span{font-size:14px;color:#3c5a50;font-weight:600}
.v10-finance-card small{color:#778a80;font-size:13px}
.v10-settings-form{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:16px;margin:15px 0}
.v10-settings-form label{display:flex;flex-direction:column;gap:8px;font-size:15px;font-weight:700;color:#285c4e}
.v10-settings-form input{width:100%;padding:10px;border:1px solid #cbded3;border-radius:8px}
@media(max-width:1000px){.v10-finance-panels{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.v10-finance-panels{grid-template-columns:1fr}.v10-settings-form{grid-template-columns:1fr}.v10-reference-selector{max-width:100%}}

.v10-report-letterhead{position:relative;min-height:92px;padding:9px 85px 14px!important;text-align:center;direction:rtl}
.v10-report-letterhead img{position:absolute;top:0;width:66px;height:66px;object-fit:contain}
.v10-report-eagle{left:0}.v10-report-unit-logo{right:0}
@media print{body.v10-print-report .v10-report-letterhead{min-height:76px;padding:5px 70px 8px!important}body.v10-print-report .v10-report-letterhead img{width:52px!important;height:52px!important}}
