body{margin:0;direction:rtl;font-family:Arial,sans-serif;background:#f9f7f3;color:#00215d}*{box-sizing:border-box}button,input{font-family:inherit}.app{min-height:100vh;padding:32px;background:radial-gradient(circle at top left,rgba(255,39,86,.08),transparent 28%),linear-gradient(180deg,#f9f7f3,#f4efe8)}.hero{background:#00215d;color:#fff;padding:32px;border-radius:24px;margin-bottom:24px;box-shadow:0 18px 50px #00215d2e}.hero h1{margin:0 0 8px;font-size:34px}.hero p{margin:0}.eyebrow{margin:0 0 8px;color:#ff2756;font-weight:800;letter-spacing:.3px}.card{background:#fff;padding:24px;border-radius:24px;box-shadow:0 16px 44px #00215d14;max-width:920px;border:1px solid rgba(226,209,191,.75)}.wideCard{max-width:100%}.warningCard{border-color:#ff275647}.uploadBox{display:block;border:2px dashed #e2d1bf;border-radius:18px;padding:18px;margin-top:16px;cursor:pointer;background:#f9f7f3}.uploadBox:hover{border-color:#ff2756;background:#ff275609}.uploadBox span{display:block;font-weight:800;margin-bottom:10px;color:#00215d}.fileName{color:#ff2756;font-weight:800}.uploadBox small{display:block;color:#00215db3;margin-bottom:12px}.uploadBox input{display:block;max-width:100%}.primaryButton{margin-top:20px;padding:12px 24px;border:0;border-radius:14px;background:#00215d;color:#fff;font-weight:800;cursor:pointer;box-shadow:0 10px 24px #00215d2e}.primaryButton:hover{background:#ff2756}.primaryButton:disabled{background:#e2d1bf;color:#00215da6;cursor:not-allowed;box-shadow:none}.hint{color:#00215da6}.statusBox,.errorBox{margin-top:18px;padding:16px 18px;border-radius:16px;font-weight:800}.statusBox{background:#00215d14;color:#00215d}.errorBox{background:#ff27561a;color:#b00030}.dashboard{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}.sidebar{background:#fff;border-radius:24px;padding:16px;min-height:calc(100vh - 64px);box-shadow:0 16px 44px #00215d14;border:1px solid rgba(226,209,191,.75);position:sticky;top:24px}.sidebar h3{color:#00215d;margin:8px 8px 18px}.sideItem{display:block;width:100%;padding:13px 14px;margin-bottom:9px;border:0;border-radius:13px;background:#f9f7f3;color:#00215d;text-align:right;cursor:pointer;font-weight:700}.sideItem:hover{background:#e2d1bf}.sideItem.active{background:#00215d;color:#fff;font-weight:900}.dashboardMain{min-width:0}.dashboardHeader{margin-bottom:18px;display:flex;justify-content:space-between;gap:20px;align-items:flex-end}.dashboardHeader h1{margin:0 0 8px;color:#00215d;font-size:34px}.dashboardHeader p{margin:0;color:#00215db8}.summaryBadges{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.summaryBadges span{background:#fff;color:#00215d;border:1px solid rgba(226,209,191,.85);padding:8px 12px;border-radius:999px;font-weight:800;box-shadow:0 8px 20px #00215d0f;white-space:nowrap}.topTabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.topTab{border:1px solid rgba(0,33,93,.12);background:#fff;color:#00215d;padding:10px 16px;border-radius:999px;cursor:pointer;font-weight:800;box-shadow:0 8px 18px #00215d0f}.topTab:hover{border-color:#ff2756;color:#ff2756}.topTab.active{background:#ff2756;color:#fff;border-color:#ff2756}.sectionTitle{display:flex;justify-content:space-between;gap:16px;align-items:start;margin-bottom:18px}.sectionTitle h2{margin:0 0 8px;color:#00215d}.sectionTitle p{margin:0;color:#00215db3}.tableWrap{overflow-x:auto;overflow-y:visible;border-radius:18px;border:1px solid rgba(226,209,191,.9);max-width:100%;background:#fff}.tableWrap::-webkit-scrollbar{height:10px}.tableWrap::-webkit-scrollbar-track{background:#f9f7f3;border-radius:999px}.tableWrap::-webkit-scrollbar-thumb{background:#e2d1bf;border-radius:999px}.tableWrap::-webkit-scrollbar-thumb:hover{background:#ff2756}.analysisTable{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;background:#fff}.analysisTable th,.analysisTable td{min-width:132px}.analysisTable th:first-child,.analysisTable td:first-child{min-width:260px;max-width:340px;position:sticky;right:0;z-index:2;box-shadow:-8px 0 14px #00215d0d}.analysisTable th{background:#00215d;color:#fff;padding:13px 12px;font-weight:900;white-space:nowrap;text-align:center;position:sticky;top:0;z-index:3}.analysisTable th:first-child{z-index:4}.analysisTable td{padding:12px;border-bottom:1px solid rgba(226,209,191,.8);color:#00215d;text-align:center;font-weight:700;background:#fff}.analysisTable td:first-child{background:#fff}.analysisTable tr:nth-child(2n) td{background:#f9f7f3b8}.analysisTable tr:nth-child(2n) td:first-child{background:#f9f7f3}.analysisTable .rowTitle{text-align:right;font-weight:900;white-space:normal}.analysisTable .hasValue{color:#ff2756;font-weight:900}.totalRow td{background:#e2d1bf!important;font-weight:900}.noteBox{margin-top:16px;padding:14px 16px;background:#ff275614;border:1px solid rgba(255,39,86,.18);color:#00215d;border-radius:16px;line-height:1.7}.kpiGrid{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:14px}.kpiCard{background:#f9f7f3;border:1px solid rgba(226,209,191,.85);border-radius:18px;padding:16px}.kpiCard span{display:block;color:#00215db8;font-weight:800;margin-bottom:8px}.kpiCard strong{color:#ff2756;font-size:28px}@media (max-width: 1100px){.dashboard{grid-template-columns:220px minmax(0,1fr)}.analysisTable th,.analysisTable td{min-width:118px}.analysisTable th:first-child,.analysisTable td:first-child{min-width:230px}}@media (max-width: 980px){.app{padding:18px}.dashboard{grid-template-columns:1fr}.sidebar{min-height:auto;position:static}.dashboardHeader{display:block}.summaryBadges{justify-content:flex-start;margin-top:14px}.kpiGrid{grid-template-columns:repeat(2,minmax(140px,1fr))}}@media (max-width: 620px){.hero h1,.dashboardHeader h1{font-size:26px}.card,.hero{padding:20px;border-radius:20px}.topTab{width:100%}.kpiGrid{grid-template-columns:1fr}}
