@import "https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800;900&display=swap";
:root{--font-latin:Inter, -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;--font-arabic:"IBM Plex Sans Arabic", -apple-system, "system-ui", "Segoe UI", Roboto, sans-serif;--navy:#1c214e;--navy-2:#2d3466;--gold:#c69214;--gold-2:#d4a73a;--ink:#1a1d2b;--muted:#64748b;--line:#dfe4ec;--panel:#f6f7f9;--green:#15803d;--red:#b42318;--blue-soft:#eef6ff;--green-soft:#effaf2;--red-soft:#fff3f0}*{box-sizing:border-box}html{-webkit-print-color-adjust:exact;print-color-adjust:exact}html,body{min-height:100%}body{color:var(--ink);font-family:var(--font-latin);background:#f4f5f7;margin:0;line-height:24px}html[lang=ar] body{font-family:var(--font-arabic)}button,input,select{font:inherit}button{cursor:pointer}.shell{min-height:100vh;font-family:var(--font-latin);grid-template-columns:minmax(0,1fr);display:grid}.lang-ar{font-family:var(--font-arabic);direction:rtl}.lang-ar button,.lang-ar input,.lang-ar select{font-family:var(--font-arabic)}.lang-ar .dashboard,.lang-ar .field,.lang-ar .editor-toggle,.lang-ar .themed-trigger,.lang-ar .themed-menu button{text-align:right}.lang-ar .side-controls{left:24px;right:auto}.lang-ar .report-badge{margin-inline-start:auto}.lang-ar .field input,.lang-ar .field select{text-align:right}.lang-ar .field input[type=number],.lang-ar .metric-value,.lang-ar .report-row strong,.lang-ar .bottom-strip b,.lang-ar .expense-summary-strip b{text-align:left;direction:ltr;unicode-bidi:isolate}.lang-ar .total-line,.lang-ar .expense-total,.lang-ar .legend-list div,.lang-ar .report-legend div{direction:rtl}.report-page{text-align:left;font-family:var(--font-latin);direction:ltr}.report-page.lang-report-ar{font-family:var(--font-arabic);text-align:right;direction:rtl}.report-page.lang-report-ar .report-chrome-header,.report-page.lang-report-ar .metric-head,.report-page.lang-report-ar .report-footer,.report-page.lang-report-ar .closing-meta,.report-page.lang-report-ar .reference-legend{direction:rtl}.report-page.lang-report-ar .note-box.accent{border-right:4px solid var(--gold);border-left:1px solid var(--line)}.report-page.lang-report-ar .recommendations{padding-left:0;padding-right:24px}.report-page.lang-report-ar .financial-table td:first-child{text-align:right}.report-page.lang-report-ar .financial-table td:last-child{text-align:left}.report-page.lang-report-ar .report-row{direction:rtl}.report-page.lang-report-ar .report-row .indent{padding-left:0;padding-right:28px}.report-page.lang-report-ar .report-legend div{direction:rtl}.report-page.lang-report-ar .metric-value,.report-page.lang-report-ar .report-row strong,.report-page.lang-report-ar .bottom-strip b,.report-page.lang-report-ar .expense-summary-strip b{text-align:left;direction:ltr;unicode-bidi:isolate;justify-self:start}.lang-ar .bottom-strip b,.report-page.lang-report-ar .bottom-strip b{text-align:center;justify-self:center}.workspace{background:#fff;padding:24px 24px 26px;display:block;position:relative}.dashboard{width:min(100%,1060px);min-width:0;margin:0 auto}.topbar{justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px;display:flex}.topbar h1{color:var(--navy);letter-spacing:0;margin:0;font-size:24px;font-weight:700;line-height:32px}.topbar p{color:var(--muted);margin:4px 0 0;font-size:14px;line-height:20px}.fixed-actions{z-index:20;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:1px solid #e3e7ee;border-radius:10px;align-items:center;gap:8px;padding:6px;display:inline-flex;position:fixed;top:24px;right:24px;box-shadow:0 12px 34px #1c214e18}.lang-ar .fixed-actions{left:24px;right:auto}.fixed-language{grid-template-columns:repeat(3,34px);gap:4px;display:inline-grid}.fixed-language button,.fixed-print{color:#64748b;background:0 0;border:0;border-radius:7px;place-items:center;width:34px;min-width:0;height:32px;padding:0;font-size:12px;font-weight:800;line-height:1;display:grid}.fixed-language button:hover,.fixed-print:hover{color:var(--navy);background:#f4f5f7}.fixed-language button.active{background:var(--navy);color:#fff;box-shadow:0 6px 14px #1c214e22}.fixed-print{color:var(--gold);border-left:1px solid #e3e7ee;border-radius:0 7px 7px 0}.lang-ar .fixed-print{border-left:0;border-right:1px solid #e3e7ee;border-radius:7px 0 0 7px}.fixed-print:before{content:"";background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c69214' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V2h12v7'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M6 14h12v8H6z'/%3E%3C/svg%3E") 50%/contain no-repeat;width:16px;height:16px}.report-badge{color:var(--navy);white-space:nowrap;background:#f4f5f7;border-radius:6px;align-items:center;gap:8px;padding:8px 16px;font-size:14px;font-weight:700;line-height:20px;display:inline-flex}.report-badge:before{content:"";background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c69214' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 9H8'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E") 50%/contain no-repeat;flex:none;width:18px;height:18px}.command-bar{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:auto auto minmax(150px,190px) minmax(230px,300px) auto;align-items:end;gap:12px;margin:0 0 24px;padding:14px;display:grid;box-shadow:0 16px 44px #1c214e0d}.command-bar label{color:var(--muted);text-transform:uppercase;gap:6px;font-size:12px;font-weight:700;display:grid}.view-panel{background:#f4f5f7;border:2px solid #c69214;border-radius:12px;margin-bottom:24px;padding:16px}.view-panel h2{color:var(--navy);text-transform:uppercase;letter-spacing:.025em;margin:0 0 12px;font-size:14px;font-weight:700;line-height:20px}.control-card h2{color:var(--navy);margin:0;font-size:14px;font-weight:600;line-height:20px}.view-panel p{color:var(--muted);align-items:center;gap:6px;margin:8px 0 0;font-size:12px;line-height:16px;display:flex}.view-panel p:before{content:"";background:var(--gold);border-radius:999px;flex:none;width:8px;height:8px}.segmented{background:#fff;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:4px;display:grid;box-shadow:0 1px 2px #1c214e12}.segmented button,.control-card button,.pager button,.print-button,.outline-button,.ghost-button,.login-form button{min-height:42px;color:var(--ink);background:#fff;border:1px solid #0000;border-radius:6px;padding:12px 24px;font-size:14px;font-weight:600;line-height:20px;transition:background .16s,color .16s}.segmented button.active,.control-card button.active,.print-button{background:var(--navy);color:#fff;box-shadow:0 10px 22px #1c214e22}.control-card button.gold{background:var(--gold);color:#fff}.metadata-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px;display:grid}.field{color:var(--muted);text-transform:uppercase;gap:8px;font-size:12px;font-weight:800;display:grid}.field input,.field select,.themed-trigger{border:1px solid var(--line);width:100%;min-width:0;min-height:42px;color:var(--navy);box-shadow:none;background:#f4f5f7;border-radius:8px;padding:10px 16px;font-size:14px;font-weight:500;line-height:20px;transition:background .16s,border-color .16s,box-shadow .16s}.field input{text-overflow:ellipsis;overflow:hidden}.field input:hover,.field select:hover,.themed-trigger:hover{background:#f7f8fa;border-color:#cfd6e2}.field input:focus,.field select:focus,.themed-trigger:focus,.themed-trigger[aria-expanded=true]{background:#fff;border-color:#0b65d8;outline:0;box-shadow:0 0 0 2px #0b65d829}.themed-field{z-index:5;position:relative}.switch-field{min-width:0}.switch-tabs{background:linear-gradient(#f8fafc,#eef1f6);border:1px solid #d8deea;border-radius:8px;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;align-items:center;gap:4px;min-height:42px;padding:4px;display:grid;box-shadow:inset 0 1px #fff,0 6px 16px #1c214e0a}.switch-tabs button{color:#516078;text-align:center;background:0 0;border:0;border-radius:6px;min-width:0;min-height:32px;padding:6px 8px;font-size:12px;font-weight:800;line-height:16px;transition:background .18s,color .18s,box-shadow .18s,transform .18s;transform:translateY(0)scale(1)}.switch-tabs button:hover{color:var(--navy);background:#fff;transform:translateY(-1px)}.switch-tabs button.active{background:var(--navy);color:#fff;transform:translateY(-1px)scale(1.02);box-shadow:0 8px 18px #1c214e24}.switch-tabs button:focus-visible{outline:3px solid color-mix(in srgb, var(--gold), #fff 45%);outline-offset:2px}.language-switch .switch-tabs{grid-template-columns:repeat(3,minmax(38px,1fr))}.language-switch .switch-tabs button.active{background:var(--gold);color:#fff;box-shadow:0 8px 18px #c6921438}.page-switch .switch-tabs{grid-template-columns:repeat(8,minmax(24px,1fr))}.page-switch .switch-tabs button{padding-inline:0}.themed-field.compact{min-width:0}.themed-trigger{text-align:left;justify-content:space-between;align-items:center;gap:14px;font-weight:500;display:flex}.themed-trigger:focus-visible,.themed-menu button:focus-visible,.date-picker-head button:focus-visible,.date-grid button:focus-visible,.period-picker-head button:focus-visible,.period-month-grid button:focus-visible{border-color:#0b65d8;outline:0;box-shadow:0 0 0 2px #0b65d829}.themed-trigger b{background:color-mix(in srgb, var(--navy), #fff 90%);width:24px;height:24px;color:var(--gold);border-radius:6px;flex:none;place-items:center;font-size:16px;line-height:1;display:grid}.themed-menu,.date-popover,.period-popover{z-index:30;border:1px solid color-mix(in srgb, var(--navy), #fff 82%);background:#fff;border-radius:8px;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow:hidden;box-shadow:0 20px 44px #1c214e24}.themed-menu{gap:4px;padding:6px;display:grid}.themed-menu button{min-height:38px;color:var(--navy);text-align:left;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;font-size:14px;font-weight:700;display:flex}.themed-menu button:hover{background:#f7f2e8}.themed-menu button.selected{background:var(--navy);color:#fff}.themed-menu button b{color:var(--gold-2)}.date-field{z-index:8}.period-field{z-index:9}.date-popover,.period-popover{width:320px;min-width:292px;max-width:calc(100vw - 32px);padding:12px;left:0;right:auto}.lang-ar .date-popover,.lang-ar .period-popover{left:auto;right:0}.date-picker-head,.period-picker-head{border:1px solid color-mix(in srgb, var(--gold), #fff 42%);color:var(--navy);background:linear-gradient(#fff8e8,#fffdf8);border-radius:8px;grid-template-columns:34px 1fr 34px;align-items:center;gap:8px;padding:8px;display:grid;box-shadow:inset 0 1px #fff}.date-picker-head strong,.period-picker-head strong{text-align:center;font-size:14px;font-weight:800}.date-picker-head button,.period-picker-head button{border:1px solid color-mix(in srgb, var(--navy), #fff 76%);width:34px;height:34px;color:var(--navy);background:#fff;border-radius:6px;font-size:24px;line-height:1;transition:background .14s,color .14s,transform .14s;box-shadow:0 4px 10px #1c214e12}.date-picker-head button:hover,.period-picker-head button:hover{background:var(--navy);color:#fff;transform:translateY(-1px)}.period-month-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px;display:grid}.period-month-grid button{min-height:36px;color:var(--navy);background:#f4f6fa;border:1px solid #0000;border-radius:7px;padding:8px 6px;font-size:12px;font-weight:800}.period-month-grid button:hover{color:#8b650d;background:#f7f2e8}.period-month-grid button.selected{background:var(--gold);color:#fff;box-shadow:0 8px 18px #c6921438}.date-weekdays,.date-grid{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.date-weekdays{margin:12px 0 8px}.date-weekdays span{color:var(--muted);text-align:center;text-transform:uppercase;font-size:11px;font-weight:800}.date-grid button,.date-grid span{aspect-ratio:1}.date-grid button{color:var(--navy);background:#f4f6fa;border:0;border-radius:7px;font-size:13px;font-weight:800}.date-grid button:hover{color:#8b650d;background:#f7f2e8}.date-grid button.selected{background:var(--gold);color:#fff;box-shadow:0 8px 18px #c6921438}.field input[type=number]{appearance:textfield}.field input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}.field input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}.input-grid,.expense-editor-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;display:grid}.input-card{border:1px solid var(--line);border-radius:12px;padding:20px}.input-card.green{background:linear-gradient(135deg,#f0fdf4,#ecfdf5);border-color:#bbf7d0}.input-card.blue{background:linear-gradient(135deg,#eff6ff,#ecfeff);border-color:#bfdbfe}.input-card.red{background:linear-gradient(135deg,#fef2f2,#fff7ed);border-color:#fecaca}.section-title-wrap{align-items:center;gap:8px;margin:0 0 16px;display:flex}.section-icon{color:var(--green);flex:none;font-size:18px;font-weight:700;line-height:18px}.input-card.blue .section-icon{color:#2563eb}.input-card.red .section-icon{color:#fff;background:#dc2626;border-radius:4px;place-items:center;width:20px;height:20px;font-size:12px;line-height:1;display:grid}.section-title{color:var(--navy);text-transform:uppercase;margin:0;font-size:14px;font-weight:700;line-height:20px}.split-fields{grid-template-columns:repeat(auto-fit,minmax(126px,1fr));gap:8px;display:grid}.input-card .field{gap:6px;margin-bottom:12px}.input-card .field input{min-height:38px;color:var(--navy);background:#fff;padding:8px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:14px;font-weight:600;line-height:20px}.input-card.green .field input{border-color:#bbf7d0}.input-card.blue .field input{border-color:#bfdbfe}.input-card.red .field input{border-color:#fecaca}.total-line,.expense-total{border-top:1px solid var(--line);color:var(--green);grid-template-columns:minmax(0,1fr) auto;gap:12px;min-width:0;margin-top:16px;padding-top:16px;font-weight:900;display:grid}.total-line span,.expense-total span{min-width:0}.total-line b,.expense-total b{text-align:right;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.expense-total{color:var(--muted);background:#fff;border:0;border-radius:4px;align-items:center;margin:0 0 8px;padding:6px 8px;font-size:12px;font-weight:700;line-height:16px}.expense-total b{color:var(--navy);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;font-weight:700;line-height:16px}.input-card.red .total-line{color:#991b1b;background:#fee2e2;border-top:1px solid #fecaca;border-radius:4px;align-items:center;margin-top:8px;padding:6px 8px;font-size:12px;line-height:16px}.input-card.red .total-line b{color:#dc2626;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;line-height:16px}.danger{color:var(--red)}.audit-note{color:var(--green);align-items:flex-start;gap:6px;margin:12px 0 0;font-size:12px;line-height:16px;display:flex}.audit-note:before{content:"✓";flex:none;font-weight:900}.outline-button{width:100%;min-height:34px;color:var(--navy);background:#fff;border-color:#fecaca;margin-top:12px;padding:8px 12px;font-size:12px;line-height:16px}.expense-dialog-backdrop{z-index:60;background:#1118278f;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.expense-dialog{background:#fff;border:1px solid #dfe4ec;border-radius:12px;grid-template-rows:auto minmax(0,1fr);width:min(100%,980px);max-height:min(82vh,760px);display:grid;overflow:hidden;box-shadow:0 28px 80px #0f172a52}.expense-dialog-header{border-bottom:1px solid var(--line);background:#f8fafc;justify-content:space-between;align-items:center;gap:18px;padding:18px 22px;display:flex}.expense-dialog-header h2{color:var(--navy);margin:0;font-size:18px;font-weight:900;line-height:26px}.expense-dialog-header p{color:var(--muted);text-transform:uppercase;margin:2px 0 0;font-size:12px;font-weight:800;line-height:16px}.dialog-close{border:1px solid var(--line);width:38px;height:38px;color:var(--navy);background:#fff;border-radius:8px;font-size:24px;font-weight:600;line-height:1}.dialog-close:hover{background:#f4f5f7;border-color:#cfd6e2}.expense-dialog .expense-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:22px;overflow:auto}@media (min-width:1500px){.expense-dialog-backdrop{place-items:stretch start;padding:24px}.expense-dialog{width:min(760px,100vw - 48px);height:calc(100vh - 48px);max-height:none}.expense-dialog .expense-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}.side-controls{z-index:3;gap:12px;width:262px;display:grid;position:absolute;top:24px;right:24px}.print-button{min-height:44px;box-shadow:none;justify-content:center}.ghost-button{border-color:var(--line);color:var(--navy);background:#fff}.control-card{background:#fff;border-radius:6px;gap:12px;padding:16px;display:grid}.side-button-list{flex-direction:column;gap:8px;display:flex}.side-button-list.compact{gap:4px}.side-button-list button{width:100%;min-height:36px;color:var(--navy);background:#f4f5f7;border:0;border-radius:4px;padding:8px 16px;font-size:14px;font-weight:500;line-height:20px}.side-button-list.compact button{min-height:28px;padding:6px 12px;font-size:12px;line-height:16px}.preview-wrap{border-top:1px solid var(--line);background:#f4f5f7;align-content:center;gap:18px;padding:32px 0 36px;display:grid}.report-sheet{aspect-ratio:210/297;background:#fff;border-radius:8px;justify-self:center;width:min(100%,760px);overflow:hidden;box-shadow:0 24px 70px #1c214e2e}.report-sheet .report-page{animation:.26s both report-page-enter}@keyframes report-page-enter{0%{opacity:0;transform:translateY(10px)scale(.992)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.switch-tabs button,.report-sheet .report-page,.animated-donut{transition:none;animation:none}.animated-donut{clip-path:circle(72%);transform:none}}.report-page{background:#fff;flex-direction:column;gap:28px;width:100%;height:100%;padding:8%;display:flex}.cover-page,.closing-page{background:linear-gradient(135deg, var(--navy), var(--navy-2));color:#fff;justify-content:center}.cover-page h2,.closing-page h2{letter-spacing:0;max-width:9em;margin:0;font-size:clamp(2rem,5vw,4rem);line-height:1.05}.cover-page p,.closing-page p{color:#e4e9f3;font-size:1.2rem;line-height:1.5}.brand-logo,.report-logo{width:190px;height:auto;display:block}.report-logo{background:#fff;border-radius:8px;padding:14px 18px}.report-logo.invert{filter:brightness(0)invert();background:0 0;padding:0}.invert{filter:brightness(0)invert()}.cover-meta{grid-template-columns:repeat(2,1fr);gap:16px;margin:auto 0 0;display:grid}.cover-meta div{border-left:3px solid var(--gold);background:#ffffff10;padding:14px}.cover-meta dt{color:#b9c2d6;text-transform:uppercase;font-size:.78rem}.cover-meta dd{margin:6px 0 0;font-size:1.1rem;font-weight:800}.report-header{border-bottom:2px solid var(--gold);justify-content:space-between;gap:16px;padding-bottom:18px;display:flex}.report-header div{gap:4px;display:grid}.report-header strong{color:var(--navy);font-size:1.2rem}.report-header span{color:var(--muted);font-size:.9rem}.report-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.stat-card{border:1px solid var(--line);background:#fff;border-radius:8px;padding:18px}.stat-card p{color:var(--muted);text-transform:uppercase;margin:12px 0 6px;font-size:.75rem;font-weight:800}.stat-card strong{color:var(--navy);font-size:1.45rem;display:block}.stat-card span{color:var(--muted);margin-top:8px;font-size:.86rem;display:block}.stat-marker{background:var(--navy);border-radius:999px;width:34px;height:5px}.stat-marker.gold{background:var(--gold)}.stat-marker.green{background:var(--green)}.report-copy,.note-box,.recommendations{color:#354052;line-height:1.7}.financial-table{border-collapse:collapse;border:1px solid var(--line);border-radius:8px;width:100%;font-size:.95rem;overflow:hidden}.financial-table td{border-bottom:1px solid var(--line);padding:14px 18px}.financial-table td:last-child{text-align:right;font-weight:900}.financial-table tr.subtotal{background:var(--panel);color:var(--navy);font-weight:900}.financial-table tr.total{background:var(--navy);color:#fff;font-weight:900}.chart-card,.expense-chart,.note-box{border:1px solid var(--line);background:var(--panel);border-radius:8px;padding:24px}.mini-bars{gap:18px;display:grid}.bar-row{grid-template-columns:160px 1fr 90px;align-items:center;gap:14px;display:grid}.bar-row span{color:var(--muted);font-weight:800}.bar-row div{background:#d9dee8;border-radius:999px;height:16px;overflow:hidden}.bar-row i{border-radius:inherit;background:linear-gradient(90deg, var(--navy), var(--gold));height:100%;display:block}.bar-row b{color:var(--navy);text-align:right}.expense-chart{grid-template-columns:240px 1fr;align-items:center;gap:28px;display:grid}.donut{aspect-ratio:1;border-radius:50%;width:220px;box-shadow:inset 0 0 0 46px #fff}.legend-list{gap:10px;display:grid}.legend-list div{border-bottom:1px solid var(--line);justify-content:space-between;gap:16px;padding-bottom:8px;display:flex}.note-box.accent{border-left:4px solid var(--gold);background:#fff9e9}.recommendations{margin:0;padding-left:24px}.closing-meta{flex-wrap:wrap;gap:10px;display:flex}.closing-meta span{color:#f8fafc;background:#ffffff14;border-radius:999px;padding:8px 12px;font-weight:800}.pager{justify-content:center;gap:10px;display:flex}.pager button,.pager span{text-align:center;border:0;border-radius:8px;min-width:82px;padding:10px 14px;font-weight:800}.pager span{min-width:64px;color:var(--navy);background:#fff;box-shadow:0 6px 14px #1c214e12}.pager button:disabled{cursor:not-allowed;opacity:.45}.print-only{visibility:hidden;pointer-events:none;width:210mm;height:0;position:absolute;top:0;left:-10000px;overflow:hidden}.report-page-paper{color:var(--navy);background:#f5f6f8;padding:38px 42px 50px;position:relative}.report-chrome-header{justify-content:space-between;align-items:flex-start;gap:28px;display:flex}.report-title-line{align-items:center;gap:18px;display:flex}.report-chrome-header h2{color:var(--navy);letter-spacing:0;margin:0;font-size:28px;font-weight:700;line-height:34px}.report-chrome-header p{color:#60708c;margin:12px 0 0;font-size:16px}.title-accent{background:var(--gold);flex:0 0 52px;width:52px;height:4px;margin:0}.chrome-logo{width:124px;height:auto}.report-body{flex-direction:column;flex:1;gap:24px;margin-top:30px;padding-bottom:72px;display:flex}.report-footer{color:#60708c;border-top:1px solid #d4d9e2;justify-content:space-between;padding-top:24px;font-size:14px;display:flex;position:absolute;bottom:34px;left:50px;right:50px}.report-cover,.report-closing{text-align:center;color:#fff;background:radial-gradient(at 18% 78%,#3e477e94 0%,#3e477e33 28%,#0000 52%),radial-gradient(at 84% 16%,#3f487e75 0%,#3f487e29 30%,#0000 56%),linear-gradient(135deg,#202650 0%,#303764 48%,#202650 100%);justify-content:center;place-items:center;gap:26px;padding:72px;overflow:hidden}.report-page.lang-report-ar.report-cover,.report-page.lang-report-ar.report-closing{text-align:center}.cover-logo,.closing-logo{width:245px;height:auto}.cover-rule{background:var(--gold);width:136px;height:1px;margin-inline:auto}.report-cover h2,.report-closing h2{color:#fff;text-align:center;max-width:620px;margin:0;font-size:30px;font-weight:700;line-height:36px}.report-cover strong,.report-closing strong{color:#fff;background:#d69b08;border-radius:999px;justify-content:center;min-width:176px;padding:10px 24px;font-size:16px;display:inline-flex}.report-cover p,.report-closing p{color:#d5d9e8;text-align:center;max-width:620px;margin:0;font-size:16px;line-height:1.5}.cover-period{text-align:center;justify-items:center;gap:14px;margin-top:22px;display:grid}.cover-period span{color:#d69b08;font-size:20px}.cover-period b{color:#fff;font-size:26px}.report-cover small{color:#a9b0c6;font-size:16px}.summary-grid{grid-template-columns:repeat(6,1fr);gap:30px 24px;display:grid}.report-metric-card{background:#fff;border:1px solid #dde2ea;border-radius:6px;grid-column:span 2;min-width:0;min-height:188px;padding:22px}.report-metric-card.large{grid-column:span 3;min-height:238px}.metric-head{justify-content:space-between;gap:16px;min-width:0;display:flex}.metric-head h3{color:#46546a;text-transform:uppercase;margin:0;font-size:14px;font-weight:700;line-height:20px}.positive-change{color:#00a34a;font-size:15px}.muted-change{color:#475569;font-size:15px}.metric-value{grid-template-columns:minmax(0,max-content) auto;align-items:baseline;gap:10px;min-width:0;max-width:100%;margin-top:24px;display:grid;overflow:hidden}.metric-value span{min-width:0;max-width:100%;color:var(--navy);text-overflow:ellipsis;white-space:nowrap;font-size:36px;font-weight:900;line-height:1;overflow:hidden}.report-metric-card:not(.large) .metric-value span{font-size:26px}.metric-value em{color:#647089;white-space:nowrap;font-size:14px;font-style:normal;font-weight:700}.report-metric-card:not(.large) .metric-value{gap:7px}.report-metric-card:not(.large) .metric-value em{font-size:12px}.report-metric-card p{color:#60708c;margin:18px 0 0}.metric-description{color:#405069;border-top:1px solid #e6e9ef;margin-top:18px;padding-top:18px;font-size:15px;line-height:1.5}.report-table{background:#fff;border:1px solid #dde2ea;border-radius:6px;overflow:hidden}.report-row{color:#152033;background:#fff;grid-template-columns:minmax(0,1fr) max-content;align-items:center;column-gap:18px;min-height:34px;padding:0 20px;font-size:13px;display:grid}.report-row span{text-overflow:clip;white-space:nowrap;min-width:0;overflow:visible}.report-row:nth-child(odd){background:#f5f6f8}.report-row.section,.report-row.subtotal{color:var(--navy);font-weight:900}.report-row.total{background:var(--navy);color:#fff;min-height:42px;font-weight:900}.report-row .indent{color:#334155;padding-left:28px}.report-row strong{text-align:right;text-overflow:ellipsis;white-space:nowrap;justify-self:end;min-width:0;font-weight:500;overflow:hidden}.report-row.section strong,.report-row.subtotal strong,.report-row.total strong{font-weight:900}.report-row .negative{color:#ef0000}.report-row.total .negative{color:#fff}.capital-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.capital-grid h3{border-bottom:2px solid var(--gold);color:var(--navy);margin:0 0 14px;padding-bottom:10px;font-size:17px;line-height:26px}.capital-grid .report-row{grid-template-columns:minmax(0,1fr) minmax(104px,max-content);column-gap:8px;min-height:34px;padding:0 12px;font-size:11px}.capital-grid .report-row span{text-overflow:ellipsis;overflow:hidden}.bottom-strip,.expense-summary-strip{border-left:4px solid var(--gold);background:#fff;border-radius:6px;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:auto;padding:20px 28px;display:grid;box-shadow:0 1px 4px #1c214e17}.bottom-strip div,.expense-summary-strip div{text-align:center;justify-items:center;gap:8px;min-width:0;display:grid}.bottom-strip span,.expense-summary-strip span,.expense-summary-strip small{color:#60708c;font-size:14px}.bottom-strip b,.expense-summary-strip b{width:100%;min-width:0;max-width:100%;color:var(--navy);text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:26px;display:block;overflow:hidden}.gold-text{color:var(--gold)!important}.green-text{color:#00a34a!important}.red-text{color:#ef0000!important}.empty-chart-card,.reference-chart-card{background:#f4f5f7;border:1px solid #dde2ea;border-radius:6px;min-height:332px;padding:30px 30px 22px}.empty-chart-card h3,.reference-chart-card h3{color:var(--navy);margin:0;font-size:18px;font-weight:800;line-height:28px}.reference-chart-svg{width:100%;height:232px;margin-top:12px;overflow:visible}.recharts-frame{width:100%;height:232px;margin-top:12px}.charts-report-page .report-body{gap:18px;margin-top:24px;padding-bottom:48px}.charts-report-page .reference-chart-card{min-height:278px;padding:22px 28px 16px}.charts-report-page .reference-chart-card h3{font-size:17px;line-height:24px}.charts-report-page .recharts-frame{height:190px;margin-top:8px}.charts-report-page .reference-legend{margin-top:-6px}.chart-tooltip{min-width:190px;color:var(--navy);background:#fff;border:1px solid #dde2ea;border-radius:6px;padding:10px 12px;box-shadow:0 8px 18px #1c214e18}.chart-tooltip strong{margin-bottom:8px;font-size:13px;line-height:18px;display:block}.chart-tooltip div{color:#405069;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:8px;font-size:12px;line-height:18px;display:grid}.chart-tooltip i{border-radius:3px;width:12px;height:12px}.chart-tooltip b{color:var(--navy);font-weight:800}.reference-grid{stroke:#dfe4ec;stroke-dasharray:3 4;stroke-width:1px}.axis-line{stroke:#93a0b3;stroke-width:1.4px}.axis-label,.month-label{fill:#516482;font-size:12px;font-weight:600}.axis-label{text-anchor:end}.month-label{text-anchor:middle}.income-bar{fill:var(--navy)}.expense-bar{fill:var(--gold)}.net-line{fill:none;stroke:var(--navy);stroke-linecap:round;stroke-linejoin:round;stroke-width:4px}.net-dot{fill:var(--navy);stroke:#f4f5f7;stroke-width:3px}.net-hit-area{fill:#0000;cursor:pointer}.trend-point{outline:none}.trend-callout{opacity:0;pointer-events:none;transition:opacity .16s,transform .16s;transform:translateY(6px)}.trend-point:hover .trend-callout,.trend-point:focus .trend-callout,.trend-point:focus-visible .trend-callout{opacity:1;transform:translateY(0)}.trend-point:hover .net-dot,.trend-point:focus .net-dot,.trend-point:focus-visible .net-dot{stroke:var(--gold);stroke-width:4px}.callout-guide{stroke:#d6dbe5;stroke-width:1.5px}.trend-tooltip{fill:#fff;stroke:#dde2ea;filter:drop-shadow(0 8px 12px #1c214e18)}.tooltip-title,.tooltip-copy,.tooltip-value{fill:var(--navy);font-size:13px;font-weight:800}.tooltip-copy{fill:#405069;font-weight:600}.tooltip-value{text-anchor:end}.tooltip-key{fill:var(--navy)}.reference-legend{color:var(--navy);justify-content:center;gap:16px;margin-top:-2px;font-size:12px;font-weight:700;display:flex}.reference-legend span{align-items:center;gap:6px;display:inline-flex}.reference-legend i{border-radius:2px;width:12px;height:12px}.income-key{background:var(--navy)}.expense-key{background:var(--gold)}.net-key{border:2px solid var(--navy);background:#fff}.breakdown-card{background:#fff;border:1px solid #dde2ea;border-radius:6px;grid-template-columns:1.2fr 1fr;align-items:center;min-height:560px;padding:34px;display:grid;overflow:hidden}.breakdown-card .donut{justify-self:center;width:320px;box-shadow:inset 0 0 0 72px #fff}.donut-chart{justify-self:center;width:300px;height:300px}.animated-donut{clip-path:circle(0%);animation:1.4s cubic-bezier(.22,1,.36,1) .18s both donut-reveal}@keyframes donut-reveal{0%{clip-path:circle(0%);transform:scale(.96)rotate(-8deg)}to{clip-path:circle(72%);transform:scale(1)rotate(0)}}.report-legend{gap:11px;display:grid}.report-legend div{grid-template-columns:14px 1fr;gap:12px;display:grid}.report-legend i{border-radius:4px;width:14px;height:14px;margin-top:2px}.report-legend span{color:#334155;font-size:13px;line-height:1.25}.report-legend b{color:#0f172a;font-size:13px;line-height:1.25;display:block}.report-legend em{color:var(--gold);margin-left:8px;font-style:normal;font-weight:800}.expense-summary-strip{border-left:0;margin-top:-2px;padding:14px 18px}.expense-summary-strip b{font-size:16px;line-height:1.2}.report-page.lang-report-ar .expense-summary-strip div{text-align:center;direction:rtl;justify-items:center}.report-page.lang-report-ar .expense-summary-strip span,.report-page.lang-report-ar .expense-summary-strip b,.report-page.lang-report-ar .expense-summary-strip small{text-align:center;justify-self:center}.report-page.lang-report-ar .expense-summary-strip b{direction:inherit;unicode-bidi:plaintext}.report-legend span,.report-legend b{overflow-wrap:anywhere;min-width:0}.report-note{background:#f1f3f6;border:1px solid #dde2ea;border-radius:6px;padding:28px}.report-note h3{color:var(--navy);align-items:center;gap:12px;margin:0 0 22px;font-size:18px;font-weight:700;line-height:28px;display:flex}.report-note h3:before{content:"";background:var(--gold);border-radius:50%;flex:none;width:8px;height:8px;display:block}.report-page.lang-report-ar .report-note h3{justify-content:flex-start}.report-note p,.report-note li{color:#111827;font-size:17px;line-height:1.55}.report-note.assumption{border-left:4px solid var(--gold);background:#fff8e6}.report-note.assumption h3:before{background:var(--navy)}.report-note ul,.report-note ol{gap:12px;margin:0;padding-left:24px;display:grid}.recommendations-note li::marker{color:var(--navy);font-weight:900}.notes-report-grid{gap:16px;display:grid}.notes-report-grid .report-note{padding:18px 22px}.notes-report-grid .report-note h3{gap:12px;margin-bottom:10px;font-size:16px;line-height:22px}.notes-report-grid .report-note p,.notes-report-grid .report-note li{font-size:14px;line-height:1.42}.notes-report-grid .report-note ul,.notes-report-grid .report-note ol{gap:7px}.notes-report-grid .assumption{padding-block:16px}.notes-report-grid .recommendations-note{border-color:color-mix(in srgb, var(--gold), #fff 50%);background:#fff}.report-closing{gap:28px}.confidential-box{text-align:center;background:#ffffff09;border:1px solid #ffffff20;border-radius:6px;width:88%;padding:36px 54px}.confidential-box p{margin-bottom:24px;margin-inline:auto}.closing-details{color:#aeb5ca;text-align:center;justify-items:center;gap:12px;font-size:16px;display:grid}.closing-details span{width:100%;direction:inherit;unicode-bidi:plaintext;justify-content:center;align-items:baseline;gap:5px;display:inline-flex}.closing-details b{font-weight:inherit}.closing-details i{direction:ltr;unicode-bidi:isolate;font-style:normal}.report-page.lang-report-ar .closing-details{direction:rtl}.report-page.lang-report-ar .closing-details span{text-align:center}.report-page.lang-report-ar .closing-details i{direction:ltr}.report-closing footer{color:#d69b08;letter-spacing:3px;text-align:center;border-top:1px solid #ffffff18;width:88%;margin-top:36px;padding-top:34px;font-size:14px}.login-shell{background:linear-gradient(135deg,#f8fafc,#e9edf4 58%,#fff9e9);place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{border:1px solid var(--line);background:#fff;border-radius:8px;gap:24px;width:min(100%,430px);padding:32px;display:grid;box-shadow:0 24px 70px #1c214e24}.login-panel h1{color:var(--navy);margin:0;font-size:2rem;line-height:1.1}.login-panel p{color:var(--muted);margin:10px 0 0;line-height:1.5}.login-form{gap:16px;display:grid}.login-form button{background:var(--navy);color:#fff}.login-form button:disabled{cursor:not-allowed;opacity:.55}.auth-error{color:var(--red);background:#fff1f2;border:1px solid #fecaca;border-radius:8px;padding:12px;font-size:.9rem;font-weight:800}@media (min-width:1500px){.shell{grid-template-columns:minmax(0,1fr) minmax(460px,42vw)}.preview-wrap{border-top:0;border-left:1px solid var(--line);align-content:start;min-height:100vh;padding-top:0}}@media (max-width:640px){.workspace,.metadata-grid,.input-grid,.expense-editor-grid,.report-stats,.expense-chart{grid-template-columns:1fr}.workspace{padding:20px}.expense-dialog .expense-editor-grid{grid-template-columns:1fr}.side-controls{width:auto;margin-bottom:24px;position:static}.segmented{grid-template-columns:1fr}.topbar{flex-direction:column;align-items:flex-start}.preview-wrap{overflow:hidden}.report-sheet{zoom:.513158;justify-self:center;width:760px;max-width:none}.bar-row{grid-template-columns:1fr}}@page{size:A4 portrait;margin:0}@media print{*,:before,:after{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}body{color:#111827;background:#fff}.no-print{display:none!important}.shell{display:block}.print-only{visibility:visible;pointer-events:auto;width:auto;height:auto;display:block;position:static;overflow:visible}.print-page{break-after:page;width:210mm;height:297mm;overflow:hidden}.print-page:last-child{break-after:auto}.report-page{border-radius:0;width:210mm;height:297mm;box-shadow:none!important}.report-page-paper,.report-page-paper p,.report-row,.report-legend span,.expense-summary-strip span,.expense-summary-strip small,.report-footer{color:#1f2937!important}.report-chrome-header p,.metric-description,.report-metric-card p{color:#334155!important}.report-chrome-header h2,.report-metric-card h3,.metric-value span,.report-row.section,.report-row.subtotal,.expense-summary-strip b,.reference-chart-card h3,.report-legend b{color:var(--navy)!important}.report-cover,.report-closing,.report-row.total,.report-row.total,.report-row.total strong,.report-cover h2,.report-cover p,.report-cover small,.report-cover strong,.report-closing h2,.report-closing p,.report-closing strong{color:#fff!important}.recharts-wrapper,.recharts-surface,.donut-chart svg,.recharts-frame svg{overflow:visible!important}.animated-donut{clip-path:circle(72%);animation:none;transform:none}.trend-callout{display:none}}
