*{box-sizing:border-box;font-family:var(--font-ui,"IBM Plex Sans", system-ui, sans-serif);margin:0;padding:0}body{background:var(--surface-muted,#fafaf8);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizelegibility}.app-shell{min-height:100dvh;display:flex}.app-main{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.app-content{background:var(--surface-muted);flex:1;min-height:0;padding-bottom:40px}html{scrollbar-gutter:stable both-edges}.sidebar{background:var(--brand-green-dark,#0f1f3d);color:#fff;flex-direction:column;flex-shrink:0;width:200px;height:100dvh;padding:22px 14px;display:flex;position:sticky;top:0}.logo{color:inherit;cursor:pointer;align-items:center;gap:12px;padding:6px 8px 28px;text-decoration:none;display:flex}.logo-circle{border-radius:var(--radius-xl,14px);background:var(--brand-gradient,linear-gradient(135deg, #22c55e, #10b981));color:#fff;place-items:center;width:42px;height:42px;display:grid}.logo h2{font-family:var(--font-display);font-size:15px;font-weight:800;line-height:1.2}.logo p{color:#93a4c4;font-size:11px}.sidebar nav{flex-direction:column;flex:1;justify-content:flex-start;gap:4px;display:flex}.nav-item{color:#9fb0cd;border-left:3px solid #0000;border-radius:12px;align-items:center;gap:13px;padding:11px 14px 11px 11px;font-size:13px;font-weight:500;text-decoration:none;transition:background .2s,color .2s,border-color .2s;display:flex}.nav-item svg{flex-shrink:0}.nav-item:hover{color:#fff;background:#ffffff0f}.nav-item.active{border-left-color:var(--brand-green,#22c55e);color:#fff;background:#22c55e29;font-weight:700}.header-user{border-left:1px solid var(--ink-200);padding-left:10px;position:relative}.header-user-trigger{cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:8px;padding:4px 6px;transition:background .15s;display:flex}.header-user-trigger:hover{background:var(--ink-100)}.header-user-avatar-img{object-fit:cover;border-radius:50%;flex-shrink:0;width:32px;height:32px}.header-user-info{text-align:left;min-width:0}.header-user-name{color:var(--ink-900);white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:700;overflow:hidden}.header-user-role{color:var(--ink-600);white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:4px;font-size:11px;display:flex;overflow:hidden}.header-user-role svg{flex-shrink:0}.header-user-caret{color:var(--ink-400);flex-shrink:0}.header-user-menu{background:var(--surface-white);border:1px solid var(--ink-200);min-width:150px;box-shadow:var(--shadow-card-hover,0 8px 24px #0f172a1f);z-index:20;border-radius:10px;padding:4px;position:absolute;top:calc(100% + 6px);right:0}.header-user-menu-item{width:100%;color:var(--ink-600);cursor:pointer;background:0 0;border:none;border-radius:7px;align-items:center;gap:8px;padding:8px 10px;font-size:12.5px;font-weight:600;transition:background .15s,color .15s;display:flex}.header-user-menu-item:hover{background:var(--danger-bg,#fee2e2);color:var(--danger,#dc2626)}.header{background:var(--surface-white);border-bottom:1px solid var(--surface-sunken);flex-shrink:0;justify-content:space-between;align-items:center;gap:20px;height:52px;padding:0 26px;display:flex}.header-greeting{color:var(--ink-900);font-size:14px;font-weight:600}.header-breadcrumb{align-items:center;gap:6px;font-size:14px;display:flex}.header-crumb-link{color:#2563eb;align-items:center;gap:2px;font-weight:600;text-decoration:none;display:inline-flex}.header-crumb-sep{color:#cbd5e1}.header-crumb-current{color:var(--ink-900);font-weight:700}.header-right{align-items:center;gap:8px;margin-left:auto;display:flex;position:relative;overflow:visible}.header-filters{align-items:center;gap:8px;display:flex}.header-filters select{border:1px solid var(--ink-200);background:var(--surface-white);min-width:110px;height:30px;color:var(--ink-900);cursor:pointer;border-radius:7px;outline:none;padding:0 10px;font-size:12px;font-weight:500;transition:all .2s}.header-filters select:hover{border-color:var(--brand-green)}.header-filters select:focus{border-color:var(--brand-green);box-shadow:0 0 0 3px #2563eb1f}.header-bell{border:1px solid var(--ink-200);background:var(--surface-white);width:34px;height:34px;color:var(--ink-600);cursor:pointer;border-radius:50%;place-items:center;transition:border-color .2s,background .2s;display:grid;position:relative}.header-bell:hover{border-color:var(--brand-green);background:var(--success-bg)}.header-bell-badge{border-radius:var(--radius-full);background:var(--danger);color:#fff;place-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:700;display:grid;position:absolute;top:-4px;right:-4px}@media (width<=640px){.header{flex-wrap:nowrap;gap:8px;height:auto;padding:10px 14px}.header-greeting{white-space:nowrap;text-overflow:ellipsis;flex-shrink:1;max-width:30%;font-size:12.5px;overflow:hidden}.header-right{flex-wrap:nowrap;flex-shrink:0;justify-content:flex-end;gap:6px;margin-left:auto}.header-filters{flex-shrink:0;gap:6px}.header-filters select{flex:none;width:84px;min-width:0;padding:0 6px;font-size:11px}.header-user{padding-left:6px}}.ai-fab{background:var(--brand-green,#16a34a);color:#fff;cursor:pointer;border:none;border-radius:50%;place-items:center;width:52px;height:52px;transition:transform .2s;display:grid;position:fixed;bottom:26px;right:26px;box-shadow:0 12px 26px #16a34a59}.ai-fab:hover{transform:translateY(-3px)}.ai-chat-panel{z-index:50;background:#fff;border-radius:16px;flex-direction:column;width:340px;max-width:calc(100vw - 40px);height:460px;max-height:calc(100vh - 140px);display:flex;position:fixed;bottom:90px;right:26px;overflow:hidden;box-shadow:0 20px 45px #0f1f3d40}.ai-chat-header{color:#fff;background:#0f1f3d;flex-direction:column;gap:2px;padding:14px 16px;display:flex}.ai-chat-header-title{align-items:center;gap:8px;font-size:14px;font-weight:600;display:flex}.ai-chat-header-page{color:#93a4c3;font-size:11px}.ai-chat-messages{background:#f8fafc;flex-direction:column;flex:1;gap:10px;padding:14px;display:flex;overflow-y:auto}.ai-chat-bubble{white-space:pre-wrap;border-radius:12px;max-width:85%;padding:9px 12px;font-size:13px;line-height:1.45}.ai-chat-bubble-assistant{color:#1e293b;background:#eef1f8;border-bottom-left-radius:4px;align-self:flex-start}.ai-chat-bubble-user{color:#fff;background:#0f1f3d;border-bottom-right-radius:4px;align-self:flex-end}.ai-chat-bubble-error{color:#991b1b;background:#fee2e2}.ai-chat-bubble-typing{color:#64748b;font-style:italic}.ai-chat-input-row{background:#fff;border-top:1px solid #e2e8f0;align-items:flex-end;gap:8px;padding:10px;display:flex}.ai-chat-input{resize:none;border:1px solid #e2e8f0;border-radius:10px;flex:1;max-height:90px;padding:8px 10px;font-family:inherit;font-size:13px}.ai-chat-input:focus{border-color:#0f1f3d;outline:none}.ai-chat-send{color:#fff;cursor:pointer;background:#0f1f3d;border:none;border-radius:10px;flex-shrink:0;place-items:center;width:34px;height:34px;display:grid}.ai-chat-send:disabled{cursor:not-allowed;background:#cbd5e1}@media (width<=768px){.sidebar{width:72px;padding:22px 12px}.logo p,.logo h2,.nav-item span{display:none}.logo{justify-content:center;padding:6px 0 26px}.nav-item{border-bottom:3px solid #0000;border-left-width:0;justify-content:center;padding:11px}.nav-item.active{border-left-width:0;border-bottom-color:var(--brand-green,#4ade80)}.header-user-info{display:none}}.notification-dropdown{z-index:999999;background:#fff;border:1px solid #e5e7eb;border-radius:18px;width:340px;max-height:320px;position:absolute;top:60px;right:0;overflow-y:auto;box-shadow:0 20px 60px #0f172a2e}@media (width<=480px){.notification-dropdown{width:auto;position:fixed;top:80px;left:12px;right:12px}.header-greeting{display:none}}.notification-row{cursor:pointer;align-items:center;gap:12px;padding:12px 16px;display:flex}.notification-row:hover{background:#f8fafc}.notification-text{flex:1}.notification-text h4{margin:0;font-size:14px;font-weight:600}.notification-text span{color:#64748b;font-size:12px}.priority-dot{border-radius:50%;width:10px;height:10px}.priority-dot.high{background:var(--danger)}.priority-dot.medium{background:var(--warning)}.priority-dot.low{background:var(--brand-green-light)}.notification-row{cursor:pointer;border-bottom:1px solid #f1f5f9;border-radius:14px;align-items:center;gap:12px;margin:6px 8px;padding:14px 18px;transition:background .25s,transform .25s,box-shadow .25s;display:flex}.notification-row:hover{background:#f8fafc;transform:translate(6px);box-shadow:0 8px 18px #0f172a14}.notification-header{border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:center;padding:18px 22px;display:flex}.notification-list{max-height:480px;overflow:auto}.notification-card{cursor:pointer;border-bottom:1px solid #f3f4f6;padding:18px 22px;transition:all .25s}.notification-card:hover{background:#f8fafc}.notification-wrapper{align-items:center;display:flex;position:relative}.notification-top{align-items:center;gap:12px;display:flex}.notification-info{flex:1}.notification-info h4{margin:0;font-size:15px;font-weight:700}.notification-info span{color:#64748b;font-size:12px}.notification-card p{color:#475569;margin:12px 0 0 42px;font-size:13px;line-height:1.5}.notification-priority{background:var(--danger-bg);color:var(--danger);border-radius:20px;padding:4px 10px;font-size:11px;font-weight:700}html:has(.login-shell){height:auto;overflow:auto}body:has(.login-shell){height:auto;overflow:auto}#root:has(.login-shell){height:auto;overflow:auto}.login-shell{width:100%;min-height:100vh;display:flex}.hero-panel{color:#fff;flex:50%;position:relative;overflow:hidden}.hero-photo{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.hero-overlay{background:linear-gradient(190deg,#06140f26 0%,#06140f8c 100%);position:absolute;inset:0}.hero-panel-content{flex-direction:column;justify-content:space-between;height:100%;padding:44px 48px;display:flex;position:relative}.hero-brand{align-items:center;gap:12px;display:flex}.hero-logo{border-radius:var(--radius-lg);flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex;overflow:hidden}.hero-logo img{object-fit:cover;width:40px;height:40px}.hero-brand-name{font-family:var(--font-display);color:#fff;font-size:20px;font-weight:800}.hero-brand-tag{color:#ffffffbf;font-size:12px;font-weight:500}.hero-copy{margin-bottom:40px}.hero-copy h2{font-family:var(--font-display);letter-spacing:-.02em;color:#fff;margin-bottom:14px;font-size:32px;font-weight:800;line-height:1.2}.hero-copy h2 span{background:linear-gradient(90deg,#4ade80,#86efac);color:#0000;-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.hero-copy p{color:#ffffffd1;max-width:420px;font-size:14.5px;line-height:1.6}.hero-features{flex-wrap:wrap;gap:10px;display:flex}.hero-feature{border-radius:var(--radius-full);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#ffffff1f;border:1px solid #fff3;align-items:center;gap:7px;padding:8px 14px;font-size:12.5px;font-weight:600;display:flex}.hero-feature-icon{color:#86efac;flex-shrink:0}.hero-footnote{color:#ffffffd9;border-radius:var(--radius-lg);background:#ffffff1f;border:1px solid #fff3;max-width:480px;padding:10px 14px;font-size:13px}.form-panel{background:var(--surface-white);border-radius:var(--radius-2xl);flex-direction:column;width:40%;max-width:440px;margin:clamp(8px,3vh,24px);padding:clamp(12px,3.5vh,28px) 40px;display:flex;box-shadow:0 24px 64px #00000047}.form-panel-content{flex:1;align-items:safe center;min-height:0;display:flex;overflow:hidden}.login-surface{flex-direction:column;justify-content:center;gap:clamp(10px,3.5vh,28px);width:100%;display:flex}.trust-strip-title{text-align:center;color:var(--ink-900);text-transform:uppercase;letter-spacing:.06em;margin-bottom:clamp(4px,1.5vh,12px);font-size:clamp(10.5px,1.6vh,12px);font-weight:700}.trust-strip{background:var(--surface-white);border:1px solid var(--ink-200);border-radius:var(--radius-xl);flex-direction:column;align-items:center;padding:clamp(8px,2.2vh,18px);display:flex}.trust-strip-cards{justify-content:space-between;align-items:flex-start;gap:12px;width:100%;display:flex}.trust-strip-cards div{text-align:center;flex-direction:column;flex:1;align-items:center;gap:2px;display:flex}.trust-strip-cards strong{font-family:var(--font-display);color:var(--brand-green);font-size:clamp(13px,2vh,16px);font-weight:800}.trust-strip-cards span{color:var(--ink-600);min-height:clamp(18px,3.4vh,27px);font-size:clamp(9.5px,1.4vh,10.5px);font-weight:600;line-height:1.3;display:block}.login-card{width:100%}.login-header{margin-bottom:clamp(8px,3vh,24px)}.login-title{font-family:var(--font-display);letter-spacing:-.02em;color:var(--ink-900);margin-bottom:clamp(2px,.8vh,6px);font-size:clamp(17px,3.2vh,24px);font-weight:800}.login-subtitle{color:var(--ink-600);font-size:clamp(11.5px,1.8vh,13.5px)}.login-error{background:var(--danger-bg);color:var(--danger);border-radius:var(--radius-lg);border:1px solid #fecaca;margin-bottom:clamp(8px,1.8vh,16px);padding:clamp(6px,1.5vh,10px) 14px;font-size:12.5px}.login-success{background:var(--success-bg);color:var(--brand-green-dark);border-radius:var(--radius-lg);border:1px solid #b9e4c7;margin-bottom:clamp(8px,1.8vh,16px);padding:clamp(6px,1.5vh,10px) 14px;font-size:12.5px}.login-form{flex-direction:column;display:flex}.form-group{flex-direction:column;margin-bottom:clamp(8px,2vh,16px);display:flex}.form-group label{color:var(--ink-700);margin-bottom:clamp(3px,.9vh,7px);font-size:12.5px;font-weight:600}.input-wrapper{align-items:center;display:flex;position:relative}.input-icon{color:var(--ink-400);pointer-events:none;position:absolute;left:14px}.form-group input[type=email],.form-group input[type=password],.form-group input[type=text]{border:1px solid var(--ink-200);border-radius:var(--radius-lg);width:100%;height:clamp(36px,5.5vh,44px);color:var(--ink-900);background:#fff;outline:none;padding:0 14px 0 40px;font-size:13.5px;transition:border-color .15s,box-shadow .15s}.form-group input::placeholder{color:var(--ink-400)}.form-group input:focus{border-color:var(--brand-green);box-shadow:0 0 0 3px #16a34a1f}.form-group input:disabled{background:var(--ink-100);cursor:not-allowed}.form-group input.input-error{border-color:#e35555}.field-error{color:#e35555;margin-top:6px;font-size:11.5px}.password-wrapper input{padding-right:40px}.toggle-password{cursor:pointer;color:var(--ink-400);background:0 0;border:none;place-items:center;padding:4px;display:grid;position:absolute;right:12px}.toggle-password:hover{color:var(--ink-700)}.form-row{justify-content:space-between;align-items:center;margin-bottom:clamp(10px,2.5vh,20px);display:flex}.remember-me{color:var(--ink-700);cursor:pointer;align-items:center;gap:7px;font-size:12.5px;display:flex}.remember-me input[type=checkbox]{width:15px;height:15px;accent-color:var(--brand-green);cursor:pointer}.forgot-link{color:var(--brand-green);font-size:12.5px;font-weight:600;text-decoration:none}.forgot-link:hover{text-decoration:underline}.login-button{border-radius:var(--radius-lg);background:var(--brand-gradient);color:#fff;cursor:pointer;border:none;justify-content:center;align-items:center;gap:8px;height:clamp(38px,5.8vh,46px);font-size:14px;font-weight:700;transition:transform .15s,box-shadow .15s;display:flex;box-shadow:0 6px 14px #16a34a3d}.login-button:hover:not(:disabled){transform:translateY(-1px)}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{opacity:.7;cursor:not-allowed;transform:none}.login-button .arrow{font-size:15px}@media (width<=900px){.login-shell{flex-direction:column}.hero-panel{flex:none;padding:32px 24px}.hero-copy h2{font-size:26px}.form-panel{flex:none;width:auto;max-width:none}}@media (width<=480px){.login-surface{gap:20px}.trust-strip{display:none}.login-title{font-size:21px}}html,body,#root{height:100%;margin:0}.dashboard{background:var(--surface-muted);flex-direction:column;max-width:1600px;min-height:100%;margin:auto;padding:16px;display:flex}.dashboard:has(.sdg-band) .dashboard-content{flex:1;min-height:0}.dashboard:has(.sdg-band) .overview-row2{flex:1;align-content:stretch;align-items:stretch}.dashboard:has(.sdg-band) .overview-row2 .ai-summary-panel{align-self:start;height:auto}@media (width>=1025px){.app-shell:has(.dashboard .sdg-band){height:100dvh;overflow:hidden}.app-content:has(.dashboard .sdg-band){flex-direction:column;min-height:0;padding-bottom:0;display:flex}.dashboard:has(.sdg-band){flex:1;min-height:0;overflow:hidden}.dashboard:has(.sdg-band) .dashboard-content{overflow:hidden}.dashboard:has(.sdg-band) .overview-row2 .ai-summary-panel{align-self:stretch;height:100%}}.dashboard-head{flex-shrink:0;justify-content:space-between;align-items:center;gap:20px;min-height:30px;margin-bottom:8px;display:flex}.dashboard-title{flex-direction:column;gap:4px;padding-left:12px;display:flex;position:relative}.dashboard-title:before{content:"";background:var(--brand-gradient);border-radius:4px;width:4px;position:absolute;top:1px;bottom:1px;left:0}.dashboard-subtitle{color:var(--ink-600);margin-top:4px;font-size:14px}.section-label{color:var(--ink-600);font-size:14px;font-weight:600}.section-heading{font-family:var(--font-display);letter-spacing:-.02em;color:var(--ink-900);margin:0;font-size:20px;font-weight:800;line-height:1.15}.dashboard-content{flex-direction:column;display:flex}.sdg-band{background:var(--surface-white);border-radius:var(--radius-xl);box-shadow:var(--shadow-card);border:1px solid #e5e7eb;flex-shrink:0;margin-bottom:6px;padding:10px 14px}.sdg-band-head{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:6px;display:flex}.sdg-band-count{color:var(--ink-400);white-space:nowrap;align-items:center;gap:8px;font-size:11px;font-weight:500;display:flex}.sdg-band-count strong{color:var(--ink-900);font-weight:700}.sdg-band-clear{border:1px solid var(--ink-200);border-radius:var(--radius-full);color:var(--ink-600);cursor:pointer;background:#fff;padding:2px 9px;font-size:11px;font-weight:600;transition:all .15s}.sdg-band-clear:hover{border-color:var(--brand-green);color:var(--brand-green)}.empty-state-panel{text-align:center;background:#fff;border:1px dashed #cbd5e1;border-radius:18px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:8px;min-height:0;padding:60px;display:flex}.empty-state-icon{color:#94a3b8;margin-bottom:6px}.empty-state-panel h3{color:#1e293b;margin:0;font-size:16px;font-weight:700}.empty-state-panel p{color:#94a3b8;margin:0;font-size:13.5px}.overview-grid{grid-template-columns:repeat(4,1fr);gap:10px;margin-top:4px;margin-bottom:6px;display:grid}.overview-card{background:var(--surface-white);border:1px solid var(--ink-200);border-radius:var(--radius-xl);cursor:pointer;min-width:0;box-shadow:var(--shadow-card);padding:9px 14px 10px;transition:transform .2s,box-shadow .2s,border-color .2s}.overview-card:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-3px)}.overview-card.active{box-shadow:0 0 0 3px #16a34a29, var(--shadow-card-hover);border-color:#14181f29}.overview-card .eyebrow{margin-bottom:4px}.overview-card .eyebrow:before{display:none}.overview-value{font-family:var(--font-display);font-variant-numeric:tabular-nums;color:var(--ink-900);white-space:nowrap;text-overflow:ellipsis;font-size:17px;font-weight:800;line-height:1;overflow:hidden}.overview-delta{color:var(--ink-400);white-space:nowrap;text-overflow:ellipsis;margin-top:3px;font-size:11px;font-weight:500;overflow:hidden}.stat-card{position:relative}.stat-card .eyebrow{white-space:nowrap;text-overflow:ellipsis;margin-right:28px;overflow:hidden}.stat-icon{width:22px;height:22px;color:var(--ink-600);background:var(--ink-100);border-radius:8px;place-items:center;display:grid;position:absolute;top:10px;right:10px}@media (width<=1024px){.overview-grid{grid-template-columns:1fr}}.overview-row2{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;align-items:start;gap:14px;min-height:0;display:grid}.overview-row2 .panel{height:auto}@media (width<=1024px){.overview-row2{grid-template-columns:1fr}}.panel{border-radius:var(--radius-xl);background:#fff;border:1px solid #e5e7eb;flex-direction:column;min-height:0;display:flex;position:relative;overflow:hidden;box-shadow:0 10px 30px #0f172a0d}.panel-title{font-family:var(--font-display);color:var(--ink-900);background:#fff;border-bottom:1px solid #eef2f7;flex-shrink:0;align-items:center;gap:8px;padding:8px 22px 8px 14px;font-size:13px;font-weight:700;display:flex}.panel-title-icon{box-sizing:border-box;border-radius:8px;flex-shrink:0;width:26px;height:26px;padding:5px}.panel-count{color:#64748b;background:#f1f5f9;border-radius:999px;margin-left:auto;padding:2px 9px;font-size:11px;font-weight:700}.donor-panel .panel-count{background:var(--success-bg);color:var(--accent-raised-fg)}.icon-blue{color:#475569}.icon-amber{color:#b7791f}.panel-title-icon.icon-blue{color:var(--ink-600);background:var(--ink-100)}.panel-title-icon.icon-amber{color:#b7791f;background:var(--warning-bg)}.panel-title-icon.icon-green{color:var(--brand-green);background:var(--success-bg)}.panel-body{flex:1;min-height:0;padding:8px}.panel-scroll{scrollbar-gutter:stable;flex:1;min-height:0;padding:8px 14px 40px;overflow:hidden auto}.panel-scroll::-webkit-scrollbar{width:8px}.panel-scroll::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:100px}.donor-panel,.risk-panel,.ai-summary-panel{height:100%;min-height:0}.ai-summary-donor-select{border:1px solid var(--ink-200);border-radius:var(--radius-full);background:var(--surface-white);max-width:180px;color:var(--ink-700);cursor:pointer;margin-left:auto;padding:4px 8px;font-size:11.5px;font-weight:600}.ai-summary-body{scrollbar-gutter:stable both-edges;flex-direction:column;gap:14px;padding:22px;display:flex;overflow-y:auto}.ai-summary-body p{color:var(--ink-700);margin:0;font-size:15.5px;line-height:1.75}.ai-summary-section-title{text-transform:uppercase;letter-spacing:.4px;color:var(--ink-400);margin-bottom:4px;font-size:10.5px;font-weight:800;display:block}.ai-summary-risk-list{color:var(--ink-700);flex-direction:column;gap:4px;margin:0;padding-left:16px;font-size:13px;line-height:1.5;display:flex}.ai-summary-attribution{color:var(--ink-400);align-items:center;gap:6px;margin-top:auto;font-size:11px;font-weight:600;display:flex}.ai-summary-skeleton{border-radius:var(--radius-lg);background:linear-gradient(90deg, var(--surface-sunken) 25%, var(--ink-100) 50%, var(--surface-sunken) 75%);background-size:200% 100%;flex:1;min-height:80px;animation:1.4s ease-in-out infinite ai-summary-shimmer}@keyframes ai-summary-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.donor-panel:after{content:"";pointer-events:none;opacity:1;background:linear-gradient(#fff0,#fffffff5);border-radius:0 0 13px 13px;height:28px;transition:opacity .15s;position:absolute;bottom:1px;left:1px;right:1px}.risk-list{flex-direction:column;gap:10px;display:flex}.donor-bullet{cursor:pointer;border-left:3px solid #0000;border-radius:0 8px 8px 0;flex-shrink:0;align-items:flex-start;gap:12px;margin-right:-8px;padding:8px 8px 8px 12px;transition:background .15s;display:flex}.donor-bullet:hover{background:var(--ink-100)}.donor-bullet-active{background:var(--success-bg)}.donor-content{flex:1;min-width:0}.donor-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.donor-row h4{color:#2d3748;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:13px;font-weight:700;overflow:hidden}.donor-score{font-family:var(--font-display);font-variant-numeric:tabular-nums;color:#2f855a;flex-shrink:0;font-size:13px;font-weight:700}.donor-meta{color:#718096;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:11px;font-weight:400;overflow:hidden}.status-pill{border-radius:999px;padding:6px 14px;font-size:12px;font-weight:700}.contact-date{color:#334155;font-size:13px;font-weight:600}.likelihood{color:#475569;background:#f1f5f9;border-radius:999px;padding:5px 12px;font-size:12px;font-weight:700}.donor-tag{border-radius:999px;padding:4px 11px;font-size:12px;font-weight:600}.tag-blue,.donor-tag.tag-blue{color:#2563eb;background:#dbeafe}.tag-green,.donor-tag.tag-green{color:#16a34a;background:#dcfce7}.tag-purple,.donor-tag.tag-purple{color:#7c3aed;background:#ede9fe}.tag-orange{color:#ea580c;background:#ffedd5}.tag-gray{color:#475569;background:#f1f5f9}.risk-card{background:#fff;border:none;border-radius:12px;flex-direction:column;width:100%;min-height:96px;padding:8px 10px 6px;display:flex}.risk-card-high{background:var(--danger-bg)}.risk-card-medium{background:var(--warning-bg)}.risk-card-low{background:var(--success-bg)}.risk-top{align-items:flex-start;gap:9px;min-width:0;display:flex}.risk-icon{border-radius:8px;flex-shrink:0;place-items:center;width:26px;height:26px;display:grid}.risk-icon-high{color:#9b2c2c;background:#ffe3e3}.risk-icon-medium{color:#9c4221;background:#fdf3ad}.risk-body{flex:1;min-width:0}.risk-body h4{color:#1e293b;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:13px;font-weight:700;overflow:hidden}.risk-body p{color:#94a3b8;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:62ch;margin-top:2px;font-size:10.5px;line-height:1.3;display:-webkit-box;overflow:hidden}.risk-meta{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:2px;min-width:76px;display:flex}.badge{border-radius:999px;margin-bottom:0;padding:3px 9px;font-size:10px;font-weight:700}.badge.high,.status-pill.high{color:#9b2c2c;background:#ffe3e3}.badge.medium,.status-pill.medium{color:#9c4221;background:#fdf3ad}.badge.low,.status-pill.low{color:#16a34a;background:#dcfce7}.risk-time-label{color:#94a3b8;font-size:10px}.risk-time{font-size:11px;font-weight:700}.risk-time.high{color:#9b2c2c}.risk-time.medium{color:#9c4221}.risk-action{color:#2563eb;cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;width:max-content;margin-top:auto;padding:8px 0 0;font-size:11px;font-weight:600;transition:gap .15s,color .15s;display:inline-flex}.risk-action:hover{color:#1d4ed8;gap:7px}.risk-modal-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:1000;background:#0f172a80;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.risk-modal{background:#fff;border-top:3px solid #dc2626;border-radius:16px;width:440px;max-width:100%;max-height:calc(100vh - 48px);padding:28px 28px 24px;animation:.2s cubic-bezier(.16,1,.3,1) risk-modal-in;position:relative;overflow-y:auto;box-shadow:0 24px 60px #0f172a47,0 4px 14px #0f172a1f}.risk-modal-medium{border-top-color:#d97706}.risk-modal-low{border-top-color:#16a34a}@keyframes risk-modal-in{0%{opacity:0;transform:translateY(10px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.risk-modal-close{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:50%;place-items:center;width:28px;height:28px;transition:background .15s,color .15s;display:grid;position:absolute;top:18px;right:18px}.risk-modal-close:hover{color:#1e293b;background:#e2e8f0}.risk-modal-header{margin-bottom:18px;padding-right:28px}.risk-modal-eyebrow{letter-spacing:.06em;text-transform:uppercase;margin-bottom:8px;font-size:10.5px;font-weight:700;display:inline-block}.risk-modal-eyebrow-high{color:#dc2626}.risk-modal-eyebrow-medium{color:#d97706}.risk-modal-eyebrow-low{color:#16a34a}.risk-modal-header h3{color:#0f172a;letter-spacing:-.01em;margin:0;font-size:18px;font-weight:700;line-height:1.3}.risk-modal-stats{background:#f8fafc;border:1px solid #eef1f6;border-radius:10px;align-items:center;gap:18px;margin-bottom:16px;padding:14px 16px;display:flex}.risk-modal-stat{flex-direction:column;gap:5px;display:flex}.risk-modal-stat-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.04em;font-size:10.5px;font-weight:600}.risk-modal-stat-value{font-size:13.5px;font-weight:700}.risk-modal-stat-value.high{color:#dc2626}.risk-modal-stat-value.medium{color:#d97706}.risk-modal-stat-value.low{color:#16a34a}.risk-modal-stat-divider{background:#e2e8f0;align-self:stretch;width:1px}.risk-modal-description{color:#475569;margin:0 0 18px;font-size:13.5px;line-height:1.6}.risk-modal-divider{background:#eef1f6;height:1px;margin-bottom:18px}.risk-modal-upload-label{color:#334155;align-items:center;gap:6px;margin-bottom:10px;font-size:12px;font-weight:700;display:flex}.risk-modal-upload-label svg{color:#94a3b8}.risk-upload-input{display:none}.risk-dropzone{cursor:pointer;background:#f8fafc;border:1.5px dashed #cbd5e1;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:100%;padding:26px 16px;transition:border-color .15s,background .15s;display:flex}.risk-dropzone:hover,.risk-dropzone-active{background:#eff6ff;border-color:#2563eb}.risk-dropzone-icon{color:#475569;background:#e2e8f0;border-radius:9px;place-items:center;width:34px;height:34px;margin-bottom:4px;display:grid}.risk-dropzone-title{color:#334155;text-align:center;font-size:12.5px;font-weight:600}.risk-dropzone-hint{color:#94a3b8;font-size:11px}.risk-dropzone-filled{cursor:default;background:#fff;border-style:solid;border-color:#e2e8f0;padding:12px 14px}.risk-dropzone-file{align-items:center;gap:10px;width:100%;display:flex}.risk-dropzone-file-icon{color:#2563eb;background:#dbeafe;border-radius:8px;flex-shrink:0;place-items:center;width:32px;height:32px;display:grid}.risk-dropzone-file-info{flex-direction:column;flex:1;min-width:0;display:flex}.risk-dropzone-filename{color:#1e293b;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:600;overflow:hidden}.risk-dropzone-filesize{color:#94a3b8;font-size:11px}.risk-dropzone-remove{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:50%;flex-shrink:0;place-items:center;width:24px;height:24px;display:grid}.risk-dropzone-remove:hover{color:#1e293b;background:#e2e8f0}.risk-modal-actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.risk-modal-cancel{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:9px 16px;font-size:12.5px;font-weight:600;transition:background .15s}.risk-modal-cancel:hover{background:#f8fafc}.risk-modal-submit{cursor:pointer;color:#fff;border:none;border-radius:8px;padding:9px 18px;font-size:12.5px;font-weight:700;transition:filter .15s}.risk-modal-submit:hover:not(:disabled){filter:brightness(1.08)}.risk-modal-submit:disabled{opacity:.45;cursor:not-allowed}.risk-modal-submit-high{background:#dc2626}.risk-modal-submit-medium{background:#d97706}.risk-modal-submit-low{background:#16a34a}.sdg-tiles{grid-template-columns:repeat(17,1fr);gap:6px;display:grid}@media (width<=900px),(orientation:portrait){.sdg-tiles{grid-template-columns:repeat(9,1fr)}}@media (width<=640px){.sdg-tiles{grid-template-columns:repeat(5,1fr)}}.sdg-tile{background:var(--ink-400);color:#fff;text-align:center;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:68px;padding:8px 4px 5px;transition:transform .2s,box-shadow .2s,background .2s;display:flex;position:relative}.sdg-tile-funded{background:var(--brand-green)}.sdg-tile:hover,.sdg-tile:focus-visible{z-index:2;transform:translateY(-3px);box-shadow:0 10px 20px #0f172a2e}.sdg-tile-num{font-family:var(--font-display);opacity:.9;font-size:9px;font-weight:800;position:absolute;top:5px;left:6px}.sdg-tile svg{width:16px;height:16px}.sdg-tile-label{letter-spacing:.1px;overflow-wrap:break-word;font-size:10.5px;font-weight:700;line-height:1.15}.sdg-tile-tooltip{background:var(--surface-white);min-width:168px;max-width:220px;color:var(--ink-900);border:1px solid var(--ink-200);border-radius:var(--radius-lg);box-shadow:var(--shadow-card-hover);opacity:0;visibility:hidden;pointer-events:none;z-index:5;text-align:left;padding:10px 12px;transition:opacity .15s,transform .15s;position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%)translateY(-4px)}.sdg-tile-tooltip:after{content:"";border:6px solid #0000;border-bottom-color:var(--surface-white);position:absolute;bottom:100%;left:50%;transform:translate(-50%)}.sdg-tile:hover .sdg-tile-tooltip,.sdg-tile:focus-visible .sdg-tile-tooltip,.sdg-tile-tooltip:hover{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%)translateY(0)}.sdg-tile:first-child .sdg-tile-tooltip,.sdg-tile:nth-child(2) .sdg-tile-tooltip{left:0;transform:translateY(-4px)}.sdg-tile:first-child:hover .sdg-tile-tooltip,.sdg-tile:nth-child(2):hover .sdg-tile-tooltip,.sdg-tile:first-child:focus-visible .sdg-tile-tooltip,.sdg-tile:nth-child(2):focus-visible .sdg-tile-tooltip{transform:translateY(0)}.sdg-tile:first-child .sdg-tile-tooltip:after,.sdg-tile:nth-child(2) .sdg-tile-tooltip:after{left:24px;transform:none}.sdg-tile:last-child .sdg-tile-tooltip,.sdg-tile:nth-last-child(2) .sdg-tile-tooltip{left:auto;right:0;transform:translateY(-4px)}.sdg-tile:last-child:hover .sdg-tile-tooltip,.sdg-tile:nth-last-child(2):hover .sdg-tile-tooltip,.sdg-tile:last-child:focus-visible .sdg-tile-tooltip,.sdg-tile:nth-last-child(2):focus-visible .sdg-tile-tooltip{transform:translateY(0)}.sdg-tile:last-child .sdg-tile-tooltip:after,.sdg-tile:nth-last-child(2) .sdg-tile-tooltip:after{left:auto;right:24px;transform:none}.sdg-tile-tooltip-title{text-transform:uppercase;letter-spacing:.5px;color:var(--ink-400);margin-bottom:8px;font-size:9.5px;font-weight:800;display:block}.sdg-tile-tooltip-logos{flex-wrap:nowrap;gap:6px;margin-bottom:8px;display:flex}.sdg-tile-tooltip-more-row{margin-bottom:10px;display:flex}.sdg-tile-tooltip-logo{border:1px solid var(--ink-200);object-fit:contain;background:#fff;border-radius:6px;width:32px;height:32px;padding:3px}.sdg-tile-tooltip-logo-fallback{background:var(--surface-sunken);color:var(--ink-600);justify-content:center;align-items:center;font-size:10px;font-weight:800;display:flex}.sdg-tile-tooltip-stats{color:var(--ink-700);border-top:1px solid var(--ink-100);flex-direction:column;gap:4px;padding-top:8px;font-size:11.5px;font-weight:600;display:flex}.sdg-tile-tooltip-stats strong{color:var(--brand-green);font-weight:800}.sdg-tile-tooltip-more{border-radius:var(--radius-full);background:var(--surface-sunken);height:20px;color:var(--ink-600);justify-content:center;align-items:center;padding:0 8px;font-size:10.5px;font-weight:800;display:inline-flex}@media (width<=1024px){.overview-row2{grid-template-rows:auto auto}}.projects-page{background:var(--surface-muted);box-sizing:border-box;flex-direction:column;max-width:1600px;min-height:100%;margin:auto;padding:11px 24px;display:flex}.projects-page .dashboard-head{flex-shrink:0;margin-bottom:8px}.project-stats{flex-shrink:0}.project-table-card{border:1px solid var(--ink-200);border-radius:var(--radius-xl);box-shadow:var(--shadow-card);background:#fff;flex-direction:column;display:flex;overflow:hidden}.project-table-title{font-family:var(--font-display);color:var(--ink-900);border-bottom:1px solid var(--ink-100);flex-shrink:0;align-items:center;gap:8px;margin:0;padding:12px 14px;font-size:13px;font-weight:700;display:flex}.project-table-count{background:var(--ink-100);color:var(--ink-600);border-radius:999px;padding:2px 9px;font-size:11px;font-weight:700}.project-table-scroll::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:100px}.project-table{border-collapse:collapse;width:100%}.project-table th{z-index:1;text-align:left;color:var(--ink-600);text-transform:uppercase;letter-spacing:.06em;border-bottom:1px solid var(--ink-200);background:#fff;padding:12px;font-size:11.5px;font-weight:700;position:sticky;top:0}.project-table td{border-bottom:1px solid var(--ink-100);vertical-align:middle;padding:10px 12px;font-size:13px}.project-table td strong{color:var(--ink-900);font-size:14px;font-weight:600}@media (width<=1100px){.project-table th:nth-child(3),.project-table td:nth-child(3),.project-table th:nth-child(7),.project-table td:nth-child(7){display:none}}.project-row-sub{color:var(--ink-400);margin-top:2px;font-size:12px}.project-row-region{color:var(--ink-600);align-items:center;gap:6px;display:inline-flex}.progress-cell{min-width:120px}.progress-pct{color:var(--ink-900);font-size:13px;font-weight:600}.progress-track{background:var(--ink-100);border-radius:999px;width:100%;height:6px;margin-top:6px;overflow:hidden}.progress-fill{background:var(--brand-green);border-radius:999px;height:100%}.status{border-radius:999px;padding:6px 14px;font-size:13px;font-weight:600;display:inline-block}.status.active{background:var(--success-bg);color:var(--success)}.status.completed{background:var(--info-bg);color:var(--info)}.status.delayed{background:var(--danger-bg);color:var(--danger)}.status.on-hold{background:var(--warning-bg);color:var(--warning)}.status.planning,.status.registered{background:var(--ink-100);color:var(--ink-600)}.project-view-btn{border:1px solid var(--ink-200);color:var(--ink-600);cursor:pointer;background:#fff;border-radius:8px;align-items:center;gap:5px;padding:6px 12px;font-size:12.5px;font-weight:600;line-height:1;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.project-view-btn:hover{background:var(--info-bg);border-color:var(--info);color:var(--info)}.alerts-page{background:var(--surface-muted);box-sizing:border-box;flex-direction:column;max-width:1600px;height:100%;margin:auto;padding:11px 24px;display:flex;overflow:hidden}.app-content:has(.alerts-page){padding-bottom:0}.alerts-header{flex-shrink:0;justify-content:space-between;align-items:center;gap:20px;min-height:30px;margin-bottom:8px;display:flex}.header-actions{gap:12px;display:flex}.outline-btn{border:1px solid var(--ink-200);cursor:pointer;background:#fff;border-radius:10px;align-items:center;gap:8px;padding:8px 14px;font-size:12.5px;font-weight:600;transition:all .2s;display:flex}.outline-btn:hover{border-color:var(--info);color:var(--info);box-shadow:0 8px 20px #2563eb1f}.alert-stats{flex-shrink:0}.filters-card{border:1px solid var(--ink-200);border-radius:var(--radius-xl);box-shadow:var(--shadow-card);background:#fff;flex-shrink:0;align-items:center;gap:16px;margin-bottom:10px;padding:10px 14px;display:flex;overflow-x:auto}.filter-group{flex-shrink:0;align-items:center;gap:10px;display:flex}.filter-divider{background:#e8edf5;align-self:stretch;width:1px}.filter-label{letter-spacing:.06em;text-transform:uppercase;color:var(--ink-400);flex-shrink:0;font-size:11px;font-weight:700}.category-list,.priority-list{flex-wrap:nowrap;gap:8px;display:flex}.filter-chip{border:1px solid var(--ink-200);color:var(--ink-600);white-space:nowrap;cursor:pointer;background:#fff;border-radius:999px;flex-shrink:0;padding:6px 12px;font-size:12px;transition:all .2s}.filter-chip:hover{background:var(--ink-100)}.active-chip{background:var(--info);color:#fff;border-color:var(--info)}.priority-chip2{border:1px solid var(--ink-200);color:var(--ink-600);white-space:nowrap;cursor:pointer;background:#fff;border-radius:999px;flex-shrink:0;padding:6px 12px;font-size:12px;transition:all .2s}.active-priority{background:var(--info);color:#fff;border-color:var(--info)}.alerts-list{scrollbar-gutter:stable;flex-direction:column;flex:1;gap:6px;min-height:0;padding-right:4px;display:flex;overflow:hidden auto}.alerts-list::-webkit-scrollbar{width:8px}.alerts-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:100px}.alert-card{border:1px solid var(--ink-200);border-radius:var(--radius-xl);cursor:pointer;min-height:48px;box-shadow:var(--shadow-card);background:#fff;flex-shrink:0;align-items:center;transition:transform .25s,box-shadow .25s;display:flex;overflow:hidden}.alert-card:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-3px)}.alert-card-highlighted{animation:3s forwards alert-highlight-fade}@keyframes alert-highlight-fade{0%{background:var(--info-bg);box-shadow:0 0 0 2px var(--info)}70%{background:var(--info-bg);box-shadow:0 0 0 2px var(--info)}to{box-shadow:var(--shadow-card);background:#fff}}.alert-left-bar{align-self:stretch;width:4px}.priority-high .alert-left-bar{background:var(--danger)}.priority-medium .alert-left-bar{background:var(--warning)}.priority-low .alert-left-bar{background:var(--success)}.alert-content{flex:1;min-width:0;padding:8px 14px}.alert-row{grid-template-columns:1fr 96px 72px;align-items:center;column-gap:14px;display:grid}.alert-pill{text-transform:uppercase;border-radius:999px;justify-content:center;align-items:center;width:max-content;padding:4px 10px;font-size:10px;font-weight:700;display:inline-flex}.alert-pill.risk{background:var(--danger-bg);color:var(--danger)}.alert-pill.documents{background:var(--info-bg);color:var(--info)}.alert-pill.reports{background:var(--warning-bg);color:var(--warning)}.alert-pill.system{background:var(--ink-100);color:var(--ink-600)}.alert-title{color:var(--ink-900);text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;font-weight:600;line-height:1.3;overflow:hidden}.alert-date{text-align:center;color:var(--ink-600);font-size:12px}.priority-pill{border-radius:999px;justify-self:end;padding:4px 12px;font-size:10px;font-weight:700}.priority-pill.high{background:var(--danger-bg);color:var(--danger)}.priority-pill.medium{background:var(--warning-bg);color:var(--warning)}.priority-pill.low{background:var(--success-bg);color:var(--success)}.alert-meta{color:var(--ink-600);white-space:normal;margin-top:4px;font-size:12px;line-height:1.4}.alert-card.read{opacity:.8}.alert-card.resolved{background:var(--ink-100);opacity:.65}.loading-card{border:1px solid var(--ink-200);border-radius:var(--radius-2xl);text-align:center;color:var(--ink-600);background:#fff;padding:40px;font-size:14px}.empty-alerts{border:1px dashed var(--ink-200);border-radius:var(--radius-2xl);text-align:center;color:var(--ink-400);background:#fff;padding:40px}.alert-modal-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:1000;background:#0f172a80;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.alert-modal{border-radius:var(--radius-2xl);width:100%;max-width:440px;box-shadow:var(--shadow-card-hover,0 20px 48px #0f172a40);background:#fff;position:relative;overflow:hidden}.alert-modal-bar{height:4px}.alert-modal-bar.priority-high{background:var(--danger)}.alert-modal-bar.priority-medium{background:var(--warning)}.alert-modal-bar.priority-low{background:var(--success)}.alert-modal-close{z-index:1;background:var(--ink-100);width:28px;height:28px;color:var(--ink-600);cursor:pointer;border:none;border-radius:50%;place-items:center;transition:background .15s,color .15s;display:grid;position:absolute;top:14px;right:14px}.alert-modal-close:hover{background:var(--ink-200);color:var(--ink-900)}.alert-modal-body{padding:24px}.alert-modal-title{color:var(--ink-900);margin-top:10px;font-size:17px;font-weight:700;line-height:1.3}.alert-modal-description{color:var(--ink-600);margin-top:8px;font-size:13px;line-height:1.5}.alert-modal-meta{flex-direction:column;gap:10px;margin-top:18px;display:flex}.alert-modal-meta div{justify-content:space-between;align-items:center;gap:12px;font-size:12.5px;display:flex}.alert-modal-meta dt{color:var(--ink-400);align-items:center;gap:6px;font-weight:600;display:flex}.alert-modal-meta dd{color:var(--ink-900);text-align:right;font-weight:600}.alert-modal-status{gap:8px;margin-top:18px;display:flex}.alert-modal-status-pill{text-transform:uppercase;border-radius:999px;padding:4px 12px;font-size:10px;font-weight:700}.alert-modal-status-pill.unread{background:var(--info-bg);color:var(--info)}.alert-modal-status-pill.read{background:var(--ink-100);color:var(--ink-600)}.alert-modal-status-pill.open{background:var(--warning-bg);color:var(--warning)}.alert-modal-status-pill.resolved{background:var(--success-bg);color:var(--success)}@media (width<=480px){.alerts-page{padding:11px 14px}.alert-row{flex-wrap:wrap;gap:4px 8px;display:flex}.alert-title{white-space:normal;flex:100%}.alert-date{text-align:left;order:2}.priority-pill{order:3;margin-left:auto}.alert-modal{max-width:calc(100vw - 24px)}}.reports-generate-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#0f1f3d;border:none;border-radius:10px;align-items:center;gap:6px;padding:10px 16px;font-size:13px;font-weight:600;display:flex}.reports-generate-btn:hover{opacity:.92}.reports-stats-grid{margin-bottom:4px}.reports-table-panel{background:#fff;border:1px solid #e2e8f0;border-radius:16px;margin-top:8px}.reports-table{border-collapse:collapse;width:100%;font-size:13px}.reports-table thead th{text-align:left;letter-spacing:.04em;color:#64748b;text-transform:uppercase;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:12px 16px;font-size:11px;font-weight:700;position:sticky;top:0}.reports-table tbody td{color:#1e293b;vertical-align:middle;white-space:nowrap;border-bottom:1px solid #f1f5f9;padding:14px 16px}.reports-table tbody tr:last-child td{border-bottom:none}.reports-table tbody tr{transition:background .15s}.reports-table tbody tr:hover td{background:#f8fafc}.reports-name-cell{text-overflow:ellipsis;max-width:220px;font-size:12.5px;font-weight:600;overflow:hidden}.reports-donor-cell{align-items:center;gap:8px;max-width:200px;display:flex}.reports-donor-avatar{color:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:26px;height:26px;font-size:10px;font-weight:700;display:grid}.reports-donor-cell>div{min-width:0}.reports-donor-cell>div>div:first-child{text-overflow:ellipsis;overflow:hidden}.reports-donor-focus{color:#94a3b8;text-overflow:ellipsis;font-size:11px;font-weight:500;overflow:hidden}.reports-util-cell{white-space:nowrap;align-items:center;display:flex}.reports-pill{color:#475569;background:#f1f5f9;border-radius:999px;padding:4px 10px;font-size:11.5px;font-weight:600;display:inline-block}.reports-pill.approved,.reports-pill.delivered{color:#15803d;background:#dcfce7}.reports-pill.pending,.reports-pill.awaiting{color:#b45309;background:#fef3c7}.reports-pill.failed{color:#b91c1c;background:#fee2e2}.reports-actions{align-items:center;gap:12px;display:flex}.reports-actions button{color:#2563eb;cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;padding:0;font-size:12.5px;font-weight:600;display:flex}.reports-retry-btn{color:#dc2626!important}.reports-back-link{color:#64748b;cursor:pointer;background:0 0;border:none;align-items:center;gap:6px;width:fit-content;margin-bottom:16px;padding:0;font-size:13px;font-weight:600;display:flex}.reports-back-link:hover{color:#0f1f3d}.reports-generate-banner{color:#fff;background:linear-gradient(135deg,#0f1f3d 0%,#1e3a5f 60%,#0d9488 130%);border-radius:16px;margin-bottom:18px;padding:32px}.reports-generate-banner-label{letter-spacing:.06em;color:#a7f3d0;align-items:center;gap:6px;margin-bottom:8px;font-size:11px;font-weight:700;display:inline-flex}.reports-generate-banner h4{margin:0;font-size:24px;font-weight:700}.reports-generate-hint{color:#64748b;margin:0 0 18px;font-size:13.5px}.reports-generate-form{flex-wrap:wrap;gap:16px;display:flex}.reports-field{flex-direction:column;gap:6px;min-width:240px;display:flex}.reports-field label{color:#475569;font-size:12.5px;font-weight:600}.reports-field select{cursor:pointer;background:#fff;border:1px solid #dbe3ef;border-radius:10px;height:42px;padding:0 12px;font-size:13.5px}.reports-field select:focus{border-color:#0f1f3d;outline:none}.reports-preview-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;max-width:480px;margin-top:20px;padding:20px}.reports-preview-header strong{color:#0f1f3d;font-size:15px}.reports-preview-card p{color:#475569;margin:6px 0 16px;font-size:13.5px}.reports-preview-loading{color:#64748b;align-items:center;gap:8px;font-size:13px;display:flex}.reports-spin{animation:1s linear infinite reports-spin}@keyframes reports-spin{to{transform:rotate(360deg)}}.reports-generate-submit{color:#fff;cursor:pointer;background:#0f1f3d;border:none;border-radius:10px;align-items:center;gap:8px;padding:11px 18px;font-size:13.5px;font-weight:600;display:flex}.reports-generate-submit:disabled{opacity:.6;cursor:not-allowed}.reports-generate-error{color:#dc2626;margin-top:10px;font-size:12.5px}.reports-head-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.reports-review-actions{gap:10px;display:flex}.reports-action-btn{color:#1e293b;cursor:pointer;background:#fff;border:1px solid #dbe3ef;border-radius:10px;align-items:center;gap:6px;padding:9px 14px;font-size:12.5px;font-weight:600;display:flex}.reports-action-btn.primary{color:#fff;background:#0f1f3d;border-color:#0f1f3d}.reports-action-btn:disabled{opacity:.6;cursor:not-allowed}.reports-doc-scroll{scrollbar-gutter:stable;flex:1;min-height:0;overflow:hidden auto}.reports-failed-panel{color:#b91c1c;text-align:center;background:#fef2f2;border:1px dashed #fecaca;border-radius:16px;flex-direction:column;align-items:center;gap:8px;padding:60px;display:flex}.reports-doc{background:#fff;border:1px solid #e2e8f0;border-radius:16px;max-width:900px;padding:28px}.reports-doc-header{border-bottom:2px solid #0f1f3d;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;display:flex}.reports-doc-brand{color:#0f1f3d;align-items:center;gap:6px;font-size:14px;font-weight:700;display:flex}.reports-doc-title{text-align:center}.reports-doc-title h2{color:#0f1f3d;letter-spacing:.02em;margin:0;font-size:18px}.reports-doc-title p{color:#64748b;margin:2px 0 0;font-size:12px}.reports-doc-donor-badge{color:#fff;border-radius:10px;place-items:center;width:40px;height:40px;font-size:13px;font-weight:700;display:grid}.reports-doc-section{margin-bottom:26px}.reports-doc-section h5{letter-spacing:.05em;text-transform:uppercase;color:#0f1f3d;border-left:3px solid #16a34a;margin:0 0 12px;padding-left:8px;font-size:12px;font-weight:700}.reports-ai-blurb{color:#0f1f3d;background:#f0fdf9;border:1px solid #a7f3d0;border-radius:12px;gap:10px;padding:14px 16px;display:flex}.reports-ai-blurb svg{color:#0d9488;flex-shrink:0;margin-top:2px}.reports-ai-blurb p{margin:0;font-size:13px;line-height:1.5}.reports-outcome-table{border-collapse:collapse;width:100%;font-size:13px}.reports-outcome-table th{text-align:left;color:#64748b;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid #e2e8f0;padding:8px 10px;font-size:11px}.reports-outcome-table td{vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:10px}.reports-outcome-meta{color:#94a3b8;margin-top:2px;font-size:11.5px;display:block}.reports-outcome-empty{text-align:center;color:#94a3b8;padding:20px}.reports-progress-track{vertical-align:middle;background:#f1f5f9;border-radius:999px;width:90px;height:6px;display:inline-block;overflow:hidden}.reports-progress-fill{border-radius:999px;height:100%}.reports-progress-label{color:#475569;margin-left:8px;font-size:12px}.reports-highlight-tiles{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.reports-highlight-tile{text-align:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:16px}.reports-highlight-tile strong{color:#0f1f3d;font-size:20px;display:block}.reports-highlight-tile span{color:#64748b;font-size:11.5px}.reports-doc-columns{grid-template-columns:1fr 1fr;gap:24px;display:grid}.reports-funds-summary{align-items:center;gap:20px;display:flex}.reports-donut-wrapper{flex-shrink:0;width:140px;height:140px;position:relative}.reports-donut-center{pointer-events:none;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.reports-donut-center strong{color:#0f1f3d;font-size:16px}.reports-donut-center span{color:#94a3b8;font-size:10px}.reports-funds-details{flex:1;min-width:0}.reports-funds-total{color:#64748b;margin:0 0 10px;font-size:12px}.reports-funds-total strong{color:#0f1f3d;font-size:18px;display:block}.reports-funds-row{color:#475569;align-items:center;gap:8px;margin-bottom:8px;font-size:12.5px;display:flex}.reports-funds-row strong{color:#0f1f3d;margin-left:auto}.reports-legend-dot{border-radius:50%;flex-shrink:0;width:9px;height:9px}.reports-section-inline-icon{vertical-align:-1px;margin-right:2px;display:inline}.reports-location-chips{flex-wrap:wrap;gap:8px;display:flex}.reports-location-chip{color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;align-items:center;gap:5px;padding:6px 12px;font-size:12.5px;font-weight:600;display:inline-flex}.reports-location-chip svg{color:#16a34a}@media print{.sidebar,.header,.ai-fab,.reports-back-link,.reports-review-actions,.reports-head-row .section-label{display:none!important}.reports-doc{border:none;max-width:100%}.reports-doc-scroll{height:auto;overflow:visible}}@media (width<=900px){.reports-doc-columns{grid-template-columns:1fr}.reports-highlight-tiles{grid-template-columns:repeat(2,1fr)}}@media (width<=1750px){.reports-table th:nth-child(3),.reports-table td:nth-child(3),.reports-table th:nth-child(8),.reports-table td:nth-child(8){display:none}}@media (width<=1560px){.reports-table th:nth-child(4),.reports-table td:nth-child(4),.reports-table th:nth-child(5),.reports-table td:nth-child(5){display:none}}@media (width<=1350px){.reports-table th:nth-child(7),.reports-table td:nth-child(7){display:none}}@media (width<=1180px){.reports-table th:nth-child(10),.reports-table td:nth-child(10){display:none}}@media (width<=1080px){.reports-table th:nth-child(9),.reports-table td:nth-child(9){display:none}.reports-name-cell{max-width:160px}.reports-donor-cell{max-width:150px}}@media (width<=850px){.reports-table th:nth-child(6),.reports-table td:nth-child(6){display:none}.reports-name-cell{max-width:130px}.reports-donor-cell{max-width:120px}}@media (width<=600px){.reports-table th:nth-child(2),.reports-table td:nth-child(2){display:none}.reports-name-cell{max-width:110px}}.settings-page{background:var(--surface-muted);flex-direction:column;max-width:1600px;min-height:100%;margin:auto;padding:11px 24px;display:flex}.settings-layout{flex:1;grid-template-columns:220px 1fr;align-items:start;gap:16px;min-height:0;margin-top:4px;display:grid}.settings-sidebar{background:var(--surface-white);border:1px solid var(--ink-200);border-radius:var(--radius-xl);box-shadow:var(--shadow-card);flex-direction:column;gap:6px;height:fit-content;padding:10px;display:flex}.settings-nav-item{color:var(--ink-600);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:10px;padding:10px 12px;font-size:13.5px;font-weight:600;transition:background .15s,color .15s,border-color .15s;display:flex}.settings-nav-item:hover{background:var(--ink-100);color:var(--ink-900)}.settings-nav-item.active{background:var(--success-bg);color:var(--brand-green-dark);border-color:#16a34a40}.settings-content{background:var(--surface-white);border:1px solid var(--ink-200);border-radius:var(--radius-xl);box-shadow:var(--shadow-card);padding:20px 22px}.settings-content-head{border-bottom:1px solid var(--ink-100);justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;padding-bottom:16px;display:flex}.settings-content-head h3{font-family:var(--font-display);color:var(--ink-900);margin:0 0 4px;font-size:17px;font-weight:800}.settings-content-head p{color:var(--ink-600);margin:0;font-size:13px}.settings-add-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#0f1f3d;border:none;border-radius:10px;align-items:center;gap:6px;padding:10px 16px;font-size:13px;font-weight:600;display:flex}.settings-add-btn:hover{opacity:.92}.settings-empty{text-align:center;color:var(--ink-400);padding:40px;font-size:13.5px}.settings-item-list{flex-direction:column;gap:10px;display:flex}.settings-item-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.settings-item-card{border:1px solid var(--ink-200);border-radius:12px;align-items:center;gap:12px;padding:12px 14px;transition:border-color .15s,box-shadow .15s;display:flex}.settings-item-card:hover{border-color:var(--ink-400);box-shadow:var(--shadow-card)}.settings-item-icon{border-radius:50%;flex-shrink:0;place-items:center;width:40px;height:40px;display:grid}.settings-item-text{flex:1;min-width:0}.settings-item-name{color:var(--ink-900);font-size:14px;font-weight:700}.settings-item-meta{color:var(--ink-400);margin-top:2px;font-size:12px}.settings-item-actions{flex-shrink:0;align-items:center;gap:6px;display:flex}.settings-item-actions button{border:1px solid var(--ink-200);width:30px;height:30px;color:var(--ink-600);cursor:pointer;background:#fff;border-radius:8px;place-items:center;transition:background .15s,color .15s,border-color .15s;display:grid}.settings-item-actions button:hover{background:var(--ink-100);color:var(--ink-900)}.settings-item-actions button:last-child:hover{background:var(--danger-bg);color:var(--danger);border-color:#dc262640}.settings-role-list{flex-direction:column;gap:10px;display:flex}.settings-role-row{border:1px solid var(--ink-200);border-radius:12px;align-items:center;gap:14px;padding:14px 16px;display:flex}.settings-role-badge{white-space:nowrap;border-radius:999px;flex-shrink:0;padding:5px 12px;font-size:12.5px;font-weight:700}.settings-role-desc{min-width:0;color:var(--ink-600);flex:1;font-size:13px}.settings-role-count{color:var(--ink-600);white-space:nowrap;font-size:13px}.settings-role-count strong{color:var(--ink-900);font-weight:700}.settings-modal-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:1000;background:#0f172a80;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.settings-modal{background:#fff;border-radius:16px;width:420px;max-width:100%;padding:26px 26px 22px;position:relative;box-shadow:0 24px 60px #0f172a47,0 4px 14px #0f172a1f}.settings-modal h3{font-family:var(--font-display);color:var(--ink-900);margin:0 0 18px;padding-right:24px;font-size:16px;font-weight:800}.settings-modal-close{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:50%;place-items:center;width:28px;height:28px;display:grid;position:absolute;top:18px;right:18px}.settings-modal-close:hover{color:#1e293b;background:#e2e8f0}.settings-modal-field{flex-direction:column;gap:6px;margin-bottom:14px;display:flex}.settings-modal-field span{color:var(--ink-700);font-size:12.5px;font-weight:600}.settings-modal-field input,.settings-modal-field textarea{resize:vertical;border:1px solid #dbe3ef;border-radius:10px;padding:10px 12px;font-family:inherit;font-size:13.5px}.settings-modal-field input:focus,.settings-modal-field textarea:focus{border-color:#0f1f3d;outline:none}.settings-modal-actions{justify-content:flex-end;gap:10px;margin-top:6px;display:flex}.settings-modal-cancel{color:var(--ink-700);cursor:pointer;background:#fff;border:1px solid #dbe3ef;border-radius:10px;padding:9px 16px;font-size:13px;font-weight:600}.settings-modal-submit{color:#fff;cursor:pointer;background:#0f1f3d;border:none;border-radius:10px;padding:9px 16px;font-size:13px;font-weight:600}.settings-modal-submit:disabled{opacity:.6;cursor:not-allowed}@media (width<=900px){.settings-layout,.settings-item-grid{grid-template-columns:1fr}}.documents-page{background:0 0;padding:0}.donor-tab-content{width:100%}.document-stats{grid-template-columns:repeat(5,1fr);margin-bottom:14px}.document-toolbar{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.document-toolbar .doc-toolbar-left{color:#475569;align-items:center;gap:10px;font-size:13px;font-weight:600;display:flex}.doc-toolbar-left select{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:10px;outline:none;padding:7px 12px;font-size:13px}.doc-toolbar-left select:focus{border-color:#2563eb}.document-list{flex-direction:column;gap:10px;display:flex}.document-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;transition:all .2s;display:flex;box-shadow:0 6px 18px #0f172a0d}.document-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px #0f172a14}.missing-document{border-left:4px solid #ef4444}.document-left{align-items:center;gap:12px;min-width:0;display:flex}.document-file-icon{color:#2563eb;background:#dbeafe;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.document-file-icon svg{width:16px;height:16px}.document-file-icon.danger{color:#dc2626;background:#fee2e2}.document-title-row{align-items:center;gap:10px;display:flex}.document-title-row h3{color:#111827;margin:0;font-size:14px;font-weight:600}.document-left p{color:#64748b;margin-top:4px;font-size:12px}.status-pill{white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:5px 12px;font-size:12px;font-weight:600;display:flex}.status-pill.pending{color:#b45309;background:#fef3c7}.status-pill.missing{color:#dc2626;background:#fee2e2}.severity-pill{border-radius:999px;padding:4px 10px;font-size:11px;font-weight:700}.severity-pill.medium{color:#b45309;background:#fef3c7}.severity-pill.critical{color:#dc2626;background:#fee2e2}.document-right{flex-shrink:0;align-items:center;gap:10px;display:flex}.review-btn,.doc-upload-btn{cursor:pointer;border:none;border-radius:10px;align-items:center;gap:6px;padding:7px 14px;font-size:13px;font-weight:600;transition:all .2s;display:flex}.review-btn{color:#fff;background:#2563eb}.review-btn:hover{background:#1d4ed8}.doc-upload-btn{color:#fff;background:#dc2626}.doc-upload-btn:hover{background:#b91c1c}.risk-banner{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:12px;align-items:center;gap:10px;margin-top:4px;padding:12px 14px;font-size:13px;display:flex}.docai-card{color:#fff;background:linear-gradient(135deg,#7c3aed,#9333ea);border-radius:14px;justify-content:space-between;align-items:center;gap:16px;margin-top:10px;padding:16px;display:flex;box-shadow:0 12px 28px #7c3aed47}.docai-icon{background:#ffffff26;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.docai-icon svg{width:16px;height:16px}.docai-content{flex:1;min-width:0}.docai-content h3{margin:0 0 4px;font-size:14px;font-weight:700}.docai-content p{opacity:.95;margin:0;font-size:12px;line-height:1.5}.docai-btn{color:#7c3aed;cursor:pointer;background:#fff;border:none;border-radius:10px;flex-shrink:0;padding:9px 16px;font-size:13px;font-weight:700;transition:all .2s}.docai-btn:hover{transform:translateY(-2px)}.upload-banner{background:#fff;border:2px dashed #cbd5e1;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;margin:10px 0;padding:16px;display:flex}.upload-left{align-items:center;gap:12px;display:flex}.upload-icon{color:#2563eb;background:#eff6ff;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.upload-icon svg{width:18px;height:18px}.upload-banner h3{color:#111827;margin:0 0 2px;font-size:14px;font-weight:600}.upload-banner p{color:#64748b;margin:0;font-size:12px}.upload-banner-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;flex-shrink:0;align-items:center;gap:6px;padding:9px 16px;font-size:13px;font-weight:600;transition:all .2s;display:flex}.upload-banner-btn:hover{background:#1d4ed8}.document-category{background:#fff;border:1px solid #e5e7eb;border-radius:14px;margin-bottom:10px;padding:14px 16px}.category-header{justify-content:space-between;align-items:center;display:flex}.category-left{align-items:center;gap:10px;min-width:0;display:flex}.category-icon{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.category-icon svg{width:16px;height:16px}.category-left h3{color:#111827;margin:0;font-size:14px;font-weight:600}.category-left p{color:#64748b;margin-top:2px;font-size:12px}.category-right{color:#111827;flex-shrink:0;align-items:center;gap:6px;font-size:13px;font-weight:700;display:flex}.category-progress{margin-top:12px}.category-track{background:#e5e7eb;border-radius:999px;width:100%;height:6px;overflow:hidden}.category-fill{border-radius:999px;height:100%}.category-progress span{color:#64748b;margin-top:6px;font-size:12px;display:block}@media (width<=1100px){.document-stats{grid-template-columns:repeat(2,1fr)}.document-card{flex-direction:column;align-items:flex-start;gap:12px}.document-right{justify-content:space-between;width:100%}.docai-card{flex-direction:column;align-items:flex-start}.upload-banner{flex-direction:column;align-items:flex-start;gap:12px}}@media (width<=700px){.document-stats{grid-template-columns:1fr}.document-toolbar{flex-direction:column;align-items:flex-start;gap:10px}.doc-toolbar-left{flex-direction:column;align-items:flex-start}}.payments-page{flex-direction:column;gap:12px;margin-top:8px;display:flex}.payments-loading,.payments-error{text-align:center;color:#64748b;background:#fff;border:1px dashed #cbd5e1;border-radius:14px;padding:40px}.payment-select{flex-shrink:0;position:relative}.payment-select select{appearance:none;border:1px solid var(--ink-200);min-width:200px;color:var(--ink-700);cursor:pointer;background:#fff;border-radius:8px;outline:none;padding:6px 30px 6px 12px;font-size:12.5px;font-weight:600}.select-icon{pointer-events:none;color:var(--ink-400);position:absolute;top:50%;right:10px;transform:translateY(-50%)}.section-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.section-header h3{color:#111827;align-items:center;gap:6px;margin:0;font-size:15px;font-weight:700;display:flex}.section-header p{color:#64748b;margin:2px 0 0;font-size:12px}.payment-kpis{grid-template-columns:repeat(6,1fr)}.payment-timeline-card,.payment-schedule-card,.payment-proof-card,.fund-card,.linked-projects-card,.ai-insights-card,.recent-activity-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:16px}.payment-schedule-card,.linked-projects-card{padding:16px 0}.payment-schedule-card .section-header,.linked-projects-card .section-header{padding:0 16px}.timeline-wrapper{justify-content:space-between;display:flex;position:relative}.timeline-line{background:#e5e7eb;height:3px;position:absolute;top:15px;left:24px;right:24px}.timeline-step{flex-direction:column;flex:1;align-items:center;display:flex;position:relative}.timeline-circle{z-index:2;background:#fff;border:3px solid #cbd5e1;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.timeline-circle svg{width:15px;height:15px}.timeline-circle.completed{color:#16a34a;border-color:#16a34a}.timeline-circle.pending{color:#94a3b8;border-color:#cbd5e1}.timeline-content{text-align:center;margin-top:8px}.timeline-content h4{color:#111827;margin:0 0 2px;font-size:13px;font-weight:600}.timeline-date{color:#64748b;margin-bottom:4px;font-size:11px;display:block}.timeline-content strong{color:#2563eb;font-size:12px}.timeline-connector{display:none}@media (width<=900px){.timeline-wrapper{flex-direction:column;gap:16px}.timeline-line{display:none}.timeline-step{flex-direction:row;align-items:flex-start;gap:12px}.timeline-content{text-align:left;margin-top:0}}.payment-table-wrapper,.linked-projects-table{overflow-x:auto}.payment-table,.linked-projects-table table{border-collapse:collapse;width:100%}.payment-table thead,.linked-projects-table thead{background:var(--surface-white)}.payment-table th,.linked-projects-table th{text-align:left;color:var(--ink-600);text-transform:uppercase;letter-spacing:.06em;border-bottom:1px solid var(--ink-200);white-space:nowrap;padding:8px 12px;font-size:11.5px;font-weight:700}.payment-table td,.linked-projects-table td{color:#334155;border-bottom:1px solid #f1f5f9;padding:10px 12px;font-size:13px}.payment-table tbody tr:hover,.linked-projects-table tbody tr:hover{background:#fafbfc}.payment-table strong{color:#111827}.installment-name{color:#111827;font-weight:600}.transaction-id{color:#2563eb;font-family:monospace;font-size:12px;font-weight:600}.project-row strong{color:#111827}.project-progress{align-items:center;gap:8px;display:flex}.project-progress .pay-progress-track{width:100px}.project-progress span{color:#2563eb;min-width:34px;font-size:12px;font-weight:600}@media (width<=900px){.payment-table{min-width:820px}.linked-projects-table table{min-width:720px}}.status-badge{border-radius:999px;justify-content:center;align-items:center;min-width:70px;padding:4px 10px;font-size:11px;font-weight:700;display:inline-flex}.status-badge.paid{color:#15803d;background:#dcfce7}.status-badge.pending{color:#b45309;background:#fef3c7}.status-badge.overdue{color:#dc2626;background:#fee2e2}.status-badge.scheduled{color:#2563eb;background:#dbeafe}.pay-progress-track{background:#e5e7eb;border-radius:999px;width:100%;overflow:hidden}.pay-progress-fill{border-radius:999px;height:100%;transition:width .35s}.proof-list{flex-direction:column;gap:10px;display:flex}.proof-card{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.proof-header{cursor:pointer;background:#fff;justify-content:space-between;align-items:center;padding:12px 14px;transition:all .2s;display:flex}.proof-header:hover{background:#f8fafc}.proof-header h4{color:#111827;margin:0;font-size:13px;font-weight:600}.proof-header span{color:#64748b;font-size:12px}.proof-right{color:#94a3b8;align-items:center;gap:8px;display:flex}.proof-right strong{color:#111827;font-size:13px}.proof-body{border-top:1px solid #f1f5f9;padding:0 14px 14px}.proof-meta{justify-content:space-between;align-items:center;padding:12px 0;display:flex}.proof-meta span{color:#64748b;margin-bottom:2px;font-size:11px;display:block}.proof-meta strong{color:#111827;font-family:monospace;font-size:13px}.upload-btn{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:6px;padding:7px 12px;font-size:12px;font-weight:600;transition:all .2s;display:flex}.upload-btn:hover{color:#2563eb;background:#eff6ff;border-color:#2563eb}.proof-table{border-collapse:collapse;width:100%}.proof-table th{text-align:left;color:var(--ink-600);text-transform:uppercase;letter-spacing:.06em;border-bottom:1px solid var(--ink-100);padding:6px 8px;font-size:11.5px;font-weight:700}.proof-table td{color:#334155;border-bottom:1px solid #f1f5f9;padding:8px;font-size:12px}.doc-name{color:#111827;align-items:center;gap:6px;font-weight:500;display:flex}.doc-status{align-items:center;gap:6px;display:flex}.table-action{cursor:pointer;color:#64748b;background:#fff;border:1px solid #e5e7eb;border-radius:8px;justify-content:center;align-items:center;width:26px;height:26px;transition:all .2s;display:inline-flex}.table-action:hover{color:#2563eb;background:#f8fafc}.fund-list{flex-direction:column;gap:14px;display:flex}.fund-row{flex-direction:column;gap:6px;display:flex}.fund-top{justify-content:space-between;align-items:center;display:flex}.fund-top h4{color:#111827;margin:0 0 2px;font-size:13px;font-weight:600}.fund-top span{color:#64748b;font-size:11px}.fund-top strong{color:#111827;font-size:14px}.fund-footer{color:#64748b;justify-content:space-between;font-size:11px;display:flex}.ai-insights-list{flex-direction:column;gap:8px;display:flex}.ai-insight-row{border:1px solid #f1f5f9;border-radius:12px;gap:12px;padding:12px;transition:all .2s;display:flex}.ai-insight-row:hover{background:#f8fafc}.ai-icon{background:#f8fafc;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.ai-content{flex:1;min-width:0}.ai-content h4{color:#111827;margin:0 0 4px;font-size:13px;font-weight:600}.ai-content p{color:#64748b;margin:0;font-size:12px;line-height:1.5}.ai-content small{color:#94a3b8;margin-top:6px;font-size:11px;font-weight:600;display:inline-block}.activity-list{flex-direction:column;gap:10px;display:flex}.activity-row{border-bottom:1px solid #f1f5f9;align-items:flex-start;gap:12px;padding-bottom:10px;display:flex}.activity-row:last-child{border-bottom:none;padding-bottom:0}.activity-icon{color:#2563eb;background:#eff6ff;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;display:flex}.activity-icon svg{width:15px;height:15px}.activity-content{flex:1}.activity-content h4{color:#111827;margin:0 0 2px;font-size:13px;font-weight:600;line-height:1.4}.activity-content span{color:#64748b;font-size:11px}@media (width<=1100px){.payment-kpis{grid-template-columns:repeat(3,1fr)}}@media (width<=700px){.payment-kpis{grid-template-columns:repeat(2,1fr)}.payment-header{flex-direction:column;align-items:flex-start;gap:12px}.payment-toolbar{flex-direction:column;align-items:stretch}.payment-search{max-width:none}}.donor-kpi-grid{grid-template-columns:repeat(3,1fr)}.distribution-band{border:1px solid var(--ink-200);border-radius:var(--radius-xl);box-shadow:var(--shadow-card);background:#fff;margin-top:10px;margin-bottom:10px;padding:14px 16px}.distribution-bar{background:#e5e7eb;border-radius:999px;height:10px;display:flex;overflow:hidden}.distribution-bar .red{background:#ef4444}.distribution-bar .orange{background:#f59e0b}.distribution-bar .green{background:#22c55e}.distribution-footer{color:#64748b;justify-content:space-between;margin-top:10px;display:flex}.distribution-footer strong{color:#111827}.charts-grid{grid-template-columns:1fr 1fr;gap:12px;margin:12px 0;display:grid}.chart-card{border-radius:var(--radius-xl);border:1px solid var(--ink-200);box-shadow:var(--shadow-card);background:#fff;padding:14px}.chart-header h3{font-family:var(--font-display);color:var(--ink-900);margin-bottom:2px;font-size:14px}.chart-header p{color:var(--ink-400);margin-bottom:10px;font-size:12px}.chart-body{justify-content:space-between;align-items:center;gap:14px;display:flex}.chart-wrapper{width:110px;height:110px;position:relative}.chart-center{color:#111827;font-size:12px;font-weight:700;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.chart-legend{flex-direction:column;flex:1;gap:8px;display:flex}.legend-row{justify-content:space-between;align-items:center;font-size:12px;display:flex}.legend-left{color:#475569;align-items:center;gap:8px;display:flex}.legend-dot{border-radius:50%;width:8px;height:8px}@media (width<=1100px){.charts-grid{grid-template-columns:1fr}}.donor-card{border:1px solid var(--ink-200);border-radius:var(--radius-xl);box-shadow:var(--shadow-card);background:#fff;justify-content:space-between;align-items:center;margin-bottom:0;padding:12px 16px;transition:transform .25s,box-shadow .25s;display:flex}.donor-card:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-3px)}.donor-card-clickable{cursor:pointer}.donor-left{align-items:center;gap:12px;display:flex}.donor-avatar{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.donor-details{flex-direction:column;display:flex}.donor-name{color:var(--ink-900);font-size:13.5px;font-weight:600}.donor-category{color:var(--ink-600);margin-top:2px;font-size:12px}.donor-progress{margin-top:8px}.progress-fill{border-radius:999px;height:100%;transition:width .4s}.donor-right{flex-direction:column;align-items:flex-end;gap:8px;display:flex}.likelihood-pill{border-radius:999px;padding:5px 12px;font-size:12px;font-weight:700}.contact-row{color:#64748b;align-items:center;gap:6px;font-size:12px;display:flex}.view-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-size:13px;font-weight:600;transition:all .2s;display:flex}.view-btn:hover{background:#1d4ed8}@media (width<=900px){.donor-card{flex-direction:column;align-items:flex-start;gap:18px}.donor-right{align-items:flex-start;width:100%}.progress-track{width:100%}}@media (width<=600px){.donor-left{width:100%}.donor-avatar{width:50px;height:50px}.donor-name{font-size:16px}}.donors-page{background:var(--surface-muted);box-sizing:border-box;flex-direction:column;max-width:1600px;height:100%;margin:auto;padding:11px 24px;display:flex;overflow:hidden}.app-content:has(.donors-page){padding-bottom:0}.donors-page .dashboard-head{flex-shrink:0;margin-bottom:8px}.donors-scroll{scrollbar-gutter:stable;flex:1;min-height:0;padding-right:4px;overflow:hidden auto}.donors-scroll::-webkit-scrollbar{width:8px}.donors-scroll::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:100px}@media (width<=768px){.donors-page{padding:11px 18px}}@media (width<=600px){.donors-page{padding:11px 14px}}.donor-toolbar{justify-content:space-between;align-items:center;gap:12px;margin:16px 0;display:flex}.toolbar-left{flex:1}.toolbar-right{gap:10px;display:flex}.donor-search{border:1px solid #e5e7eb;border-radius:10px;outline:none;width:100%;height:36px;padding:0 14px;font-size:13px}.donor-search:focus{border-color:#2563eb}.toolbar-right select{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:10px;height:36px;padding:0 14px;font-size:13px}.donors-chart-wrapper{margin-top:14px}.donors-list{flex-direction:column;gap:10px;margin-top:14px;display:flex}.loading-card{text-align:center;color:#64748b;background:#fff;border:1px dashed #cbd5e1;border-radius:16px;padding:60px}.donors-bottom{grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;display:grid}.summary-card{border:1px solid var(--ink-200);border-radius:var(--radius-xl);box-shadow:var(--shadow-card);background:#fff;padding:16px}.summary-card h3{color:#111827;margin-bottom:8px;font-size:14px}.summary-row,.insight-item{border-bottom:1px solid #f1f5f9;justify-content:space-between;padding:8px 0;font-size:13px;display:flex}.summary-row:last-child,.insight-item:last-child{border-bottom:none}.summary-row span,.insight-item span{color:#64748b}.summary-row strong,.insight-item strong{color:#111827;font-weight:700}@media (width<=900px){.donors-bottom{grid-template-columns:1fr}}.donor-tabs-row{border-bottom:1px solid var(--ink-200);flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;margin:0 0 10px;padding-bottom:6px;display:flex}.donor-tabs{flex-shrink:0;gap:22px;display:flex}.donor-tabs button{cursor:pointer;color:var(--ink-600);background:0 0;border:none;padding:10px 2px;font-size:13px;font-weight:600;transition:color .2s;position:relative}.donor-tabs button:hover,.donor-tabs button.active{color:#2563eb}.donor-tabs button.active:after{content:"";background:#2563eb;border-radius:2px;height:2px;position:absolute;bottom:-1px;left:0;right:0}.coming-soon-card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;margin-top:24px;padding:40px}.coming-soon-content h2{color:#111827;margin-bottom:10px;font-size:28px}.coming-soon-content p{color:#64748b;margin-bottom:28px}.payment-placeholder{grid-template-columns:repeat(3,1fr);gap:20px;display:grid}.payment-box{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:24px}.payment-box h3{color:#64748b;margin-bottom:12px;font-size:14px}.payment-box h1{color:#111827;margin:0;font-size:32px}@media (width<=900px){.payment-placeholder{grid-template-columns:1fr}}.donor-detail-page{flex-direction:column;gap:18px;padding:20px 24px 40px;display:flex}.donor-detail-loading{text-align:center;color:var(--ink-400);padding:40px}.donor-detail-back{width:fit-content;color:var(--ink-600);cursor:pointer;background:0 0;border:none;align-items:center;gap:6px;padding:0;font-size:13px;font-weight:600;display:inline-flex}.donor-detail-back:hover{color:var(--brand-green)}.donor-detail-header{background:var(--surface-white);border:1px solid var(--ink-200);border-radius:var(--radius-xl);box-shadow:var(--shadow-card);align-items:center;gap:16px;padding:18px 20px;display:flex}.donor-detail-logo{border:1px solid var(--ink-200);object-fit:contain;background:#fff;border-radius:12px;flex-shrink:0;width:56px;height:56px;padding:6px}.donor-detail-logo-fallback{background:var(--surface-sunken);color:var(--ink-600);justify-content:center;align-items:center;font-size:18px;font-weight:800;display:flex}.donor-detail-title{flex:1;min-width:0}.donor-detail-title h1{color:var(--ink-900);margin:0 0 4px;font-size:20px;font-weight:800}.donor-detail-meta{color:var(--ink-600);flex-wrap:wrap;align-items:center;gap:8px;font-size:12.5px;display:flex}.donor-detail-dot{color:var(--ink-400)}.donor-detail-status-pill{border-radius:var(--radius-full);background:var(--surface-sunken);color:var(--ink-700);white-space:nowrap;padding:5px 12px;font-size:12px;font-weight:700}.donor-detail-stats-row{grid-template-columns:repeat(5,1fr);gap:12px;display:grid}.donor-detail-stat{background:var(--surface-white);border:1px solid var(--ink-200);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);flex-direction:column;gap:4px;padding:12px 14px;display:flex}.donor-detail-stat span{text-transform:uppercase;letter-spacing:.4px;color:var(--ink-400);font-size:11px;font-weight:700}.donor-detail-stat strong{color:var(--ink-900);font-size:18px;font-weight:800}.donor-detail-ai-grid{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.donor-ai-card{background:var(--surface-white);border:1px solid var(--ink-200);border-radius:var(--radius-xl);box-shadow:var(--shadow-card);padding:16px 18px}.donor-ai-card h3{color:var(--ink-900);align-items:center;gap:8px;margin:0 0 10px;font-size:13.5px;font-weight:800;display:flex}.donor-ai-card h3 .icon-green{color:var(--brand-green)}.donor-ai-card p{color:var(--ink-700);margin:0;font-size:13px;line-height:1.55}.donor-ai-risk-list{color:var(--ink-700);flex-direction:column;gap:6px;margin:0;padding-left:18px;font-size:13px;line-height:1.5;display:flex}.donor-ai-skeleton{border-radius:var(--radius-lg);background:linear-gradient(90deg, var(--surface-sunken) 25%, var(--ink-100) 50%, var(--surface-sunken) 75%);background-size:200% 100%;height:60px;animation:1.4s ease-in-out infinite donor-ai-shimmer}@keyframes donor-ai-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.donor-ai-attribution{color:var(--ink-400);align-items:center;gap:6px;font-size:11.5px;font-weight:600;display:flex}.donor-detail-projects{background:var(--surface-white);border:1px solid var(--ink-200);border-radius:var(--radius-xl);box-shadow:var(--shadow-card);padding:16px 18px}.donor-detail-projects h3{color:var(--ink-900);margin:0 0 12px;font-size:14px;font-weight:800}.donor-detail-empty{color:var(--ink-400);padding:12px 0;font-size:13px}.donor-detail-projects-table{border-collapse:collapse;width:100%;font-size:13px}.donor-detail-projects-table th{text-align:left;text-transform:uppercase;letter-spacing:.4px;color:var(--ink-400);border-bottom:1px solid var(--ink-100);padding:8px 10px;font-size:11px;font-weight:700}.donor-detail-projects-table td{border-bottom:1px solid var(--ink-100);color:var(--ink-700);padding:10px}.donor-detail-status-badge{border-radius:var(--radius-full);background:var(--surface-sunken);color:var(--ink-600);padding:3px 10px;font-size:11px;font-weight:700}.status-pill-active{background:var(--success-bg);color:var(--brand-green)}.status-pill-completed{background:var(--ink-100);color:var(--ink-600)}.status-pill-attention{background:var(--warning-bg);color:#b7791f}@media (width<=900px){.donor-detail-stats-row{grid-template-columns:repeat(2,1fr)}.donor-detail-ai-grid{grid-template-columns:1fr}}.project-details{box-sizing:border-box;background:#f7f9fc;min-height:100vh;max-height:100vh;padding:14px 28px;overflow-y:auto}.card{background:#fff;border:1px solid #eef1f6;border-radius:16px;padding:18px;box-shadow:0 4px 14px #0f172a0a}.pd-state{color:#64748b;place-items:center;font-size:15px;display:grid}.pd-empty-note{color:#94a3b8;margin:16px 0 0;font-size:13.5px}.pd-section-title{color:#0f172a;margin:0;font-size:17px;font-weight:700}.pd-section-sub{color:#94a3b8;margin:4px 0 20px;font-size:13.5px}.pd-grid{grid-template-columns:1fr 1fr;gap:24px;margin-top:24px;display:grid}.pd-grid>.pd-panel,.pd-grid>.card{min-height:340px}.pd-two-col--gap{margin-top:24px}.pd-header{margin-bottom:8px}.pd-tabs{border-bottom:1px solid #e5e9f0;gap:24px;display:flex}.pd-tab{color:#94a3b8;cursor:pointer;background:0 0;border:none;padding:8px 2px;font-size:15px;font-weight:600;transition:color .2s;position:relative}.pd-tab:hover{color:#475569}.pd-tab.active{color:#0f172a}.pd-tab.active:after{content:"";background:#0f172a;border-radius:2px;height:2.5px;position:absolute;bottom:-1px;left:0;right:0}.pd-panel{background:#fff;border:1px solid #eef1f6;border-radius:14px;padding:22px}.pd-panel-title{letter-spacing:.1px;color:#0f172a;margin:0 0 16px;font-size:13.5px;font-weight:700}.pd-metric-list{flex-direction:column;gap:18px;margin:0;padding:0;list-style:none;display:flex}.pd-metric{align-items:center;gap:14px;display:flex}.pd-metric-icon{color:#4f46e5;background:#eef2ff;border-radius:10px;flex-shrink:0;place-items:center;width:40px;height:40px;display:grid}.pd-metric-title{color:#1e293b;margin:0;font-size:14.5px;font-weight:700}.pd-metric-sub{color:#64748b;margin:2px 0 0;font-size:13px}.pd-metric-sub span{color:#94a3b8}.pd-chips{flex-wrap:wrap;gap:8px;margin-top:22px;display:flex}.pd-chip{color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:5px 14px;font-size:12.5px;font-weight:500}.pd-team-list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.pd-team-row{border:1px solid #eef1f6;border-radius:12px;align-items:center;gap:14px;padding:12px 14px;transition:box-shadow .2s,transform .2s;display:flex}.pd-team-row:hover{transform:translateY(-1px);box-shadow:0 6px 18px #0f172a0f}.pd-avatar{color:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:40px;height:40px;font-size:13px;font-weight:700;display:grid}.pd-team-info{flex:1;min-width:0}.pd-team-name{color:#1e293b;margin:0;font-size:14.5px;font-weight:700}.pd-team-role{color:#94a3b8;margin:2px 0 0;font-size:12.5px}.pd-badge{white-space:nowrap;border-radius:999px;padding:4px 12px;font-size:12px;font-weight:600}.pd-badge-green{color:#16a34a;background:#dcfce7}.pd-badge-blue{color:#2563eb;background:#dbeafe}.pd-badge-purple{color:#7c3aed;background:#ede9fe}.pd-badge-outline{color:#2563eb;background:#fff;border:1px solid #bfdbfe}.pd-sponsor{align-items:center;gap:14px;margin-top:16px;display:flex}.pd-sponsor-icon{color:#2563eb;background:#eff6ff;border-radius:12px;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.sponsor-card{flex-direction:column;height:100%;display:flex}.pd-sponsor-avatar{color:#fff;background:#7c3aed;border-radius:50%;font-size:14px;font-weight:700}.pd-sponsor-logo{background:#fff;border:1px solid #eef1f6;padding:4px;overflow:hidden}.pd-sponsor-logo img{object-fit:contain;width:100%;height:100%}.sponsor-card .pd-sponsor-details{margin-top:auto}.pd-sponsor-name{color:#0f172a;margin:0;font-size:15px;font-weight:700}.pd-sponsor-meta{color:#94a3b8;margin:3px 0 0;font-size:13px}.pd-sponsor-details{margin-top:auto;padding-top:16px}.pd-doc-tabs{gap:10px;margin:18px 0;display:flex}.pd-doc-tab{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:9px 16px;font-size:13px;font-weight:600;transition:all .2s}.pd-doc-tab:hover{border-color:#cbd5e1}.pd-doc-tab.active{color:#fff;background:#0f172a;border-color:#0f172a}.pd-doc-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.pd-doc-item{border:1px solid #eef1f6;border-radius:10px;align-items:center;gap:12px;padding:12px 14px;display:flex}.pd-doc-icon{color:#ef4444;place-items:center;display:grid}.pd-doc-name{color:#1e293b;flex:1;font-size:13.5px;font-weight:500}.pd-doc-size{color:#94a3b8;font-size:12px}.pd-upload{color:#94a3b8;text-align:center;border:2px dashed #dbe2ec;border-radius:12px;flex-direction:column;align-items:center;gap:6px;padding:34px;display:flex}.pd-upload-title{color:#475569;margin:6px 0 0;font-size:14px;font-weight:600}.pd-upload-sub{margin:0;font-size:12.5px}.pd-gallery-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;margin-top:18px;display:grid}.pd-gallery-item{cursor:pointer;border:1px solid #eef1f6;border-radius:12px;margin:0;transition:box-shadow .15s,transform .15s;overflow:hidden}.pd-gallery-item:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0f172a1f}.pd-gallery-item img{object-fit:contain;background:#000;width:100%;height:150px;display:block}.pd-gallery-item figcaption{color:#475569;padding:10px 12px;font-size:13px}.pd-gallery-empty{color:#94a3b8;flex-direction:column;align-items:center;gap:8px;margin-top:18px;padding:48px;display:flex}.pd-lightbox-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:1000;background:#0f172a80;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.pd-lightbox{background:#fff;border-radius:16px;width:100%;max-width:920px;max-height:calc(100vh - 48px);animation:.2s cubic-bezier(.16,1,.3,1) pd-lightbox-in;display:flex;position:relative;overflow:hidden;box-shadow:0 24px 60px #0f172a47,0 4px 14px #0f172a1f}@keyframes pd-lightbox-in{0%{opacity:0;transform:translateY(10px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.pd-lightbox-close{z-index:1;color:#64748b;cursor:pointer;background:#ffffffe6;border:none;border-radius:50%;place-items:center;width:28px;height:28px;transition:background .15s,color .15s;display:grid;position:absolute;top:18px;right:18px}.pd-lightbox-close:hover{color:#1e293b;background:#fff}.pd-lightbox-image{background:#000;flex:62%;justify-content:center;align-items:center;min-width:0;display:flex;position:relative}.pd-lightbox-image img{object-fit:contain;max-width:100%;max-height:calc(100vh - 48px)}.pd-lightbox-caption{color:#fff;background:linear-gradient(#0000,#000000a6);padding:14px 18px;font-size:13px;position:absolute;bottom:0;left:0;right:0}.pd-lightbox-nav{color:#1e293b;cursor:pointer;background:#ffffffd9;border:none;border-radius:50%;place-items:center;width:34px;height:34px;transition:background .15s;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.pd-lightbox-nav:hover{background:#fff}.pd-lightbox-prev{left:14px}.pd-lightbox-next{right:14px}.pd-lightbox-summary{border-left:1px solid #eef1f6;flex:0 0 280px;padding:24px;overflow-y:auto}.pd-lightbox-summary-eyebrow{text-transform:uppercase;letter-spacing:.06em;color:#94a3b8;margin-bottom:6px;font-size:11.5px;font-weight:700;display:block}.pd-lightbox-summary h3{font-family:var(--font-display);color:#0f172a;margin:0 0 10px;font-size:17px;font-weight:800}.pd-lightbox-summary-list{flex-direction:column;gap:14px;margin:16px 0 0;display:flex}.pd-lightbox-summary-list dt{color:#94a3b8;margin-bottom:3px;font-size:11.5px;font-weight:600}.pd-lightbox-summary-list dd{color:#334155;margin:0;font-size:13.5px;font-weight:600}@media (width<=640px){.pd-lightbox{flex-direction:column;max-height:calc(100vh - 32px)}.pd-lightbox-image img{max-height:40vh}.pd-lightbox-summary{border-top:1px solid #eef1f6;border-left:none;flex:none}}@media (width<=900px){.pd-two-col{grid-template-columns:1fr}}.project-bottom-grid{grid-template-columns:1fr 1fr;gap:24px;margin-top:22px;display:grid}.detail-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:22px;box-shadow:0 6px 20px #0f172a0d}.detail-card h3{color:#111827;margin-bottom:22px;font-size:24px}.finance-row{margin-bottom:24px}.finance-header,.impact-header{color:#475569;justify-content:space-between;margin-bottom:8px;font-size:15px;display:flex}.progress-track{background:#e2e8f0;border-radius:999px;width:100%;height:8px;overflow:hidden}.progress-fill{border-radius:999px;height:100%}.progress-fill.blue{background:#cbd5e1}.progress-fill.navy{background:#2e4372}.progress-fill.amber{background:#ffb300}.progress-fill.light-blue{background:#3b82f6}.impact-success{color:#16a34a;margin-top:10px;font-weight:600}.impact-summary{grid-template-columns:1fr 1fr;gap:16px;margin-top:24px;display:grid}.impact-box{text-align:center;border-radius:18px;padding:24px}.impact-box.green{background:#ecfdf3}.impact-box.gray{background:#eef2f7}.impact-box h2{color:#2e4372;margin:0;font-size:34px}.impact-box span{color:#64748b}.pd-avatar{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:60px;height:60px;display:flex;overflow:hidden}.pd-avatar-img{object-fit:cover;width:100%;height:100%;display:block}.pd-avatar-fallback{color:#fff;justify-content:center;align-items:center;width:100%;height:100%;font-size:20px;font-weight:700;display:flex}.pd-collapse-header{width:100%;font:inherit;text-align:left;cursor:pointer;color:inherit;background:0 0;border:none;border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:center;margin:0;padding:0 0 12px;display:flex}.pd-collapse-header .pd-section-title{margin:0}.pd-collapse-right{color:#64748b;align-items:center;gap:10px;font-size:14px;font-weight:600;display:flex}.pd-collapse-header:hover{color:#2563eb}.pd-collapse-body{margin-top:16px}.pd-beneficiary-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-top:12px;margin-bottom:0}.pd-location-map{color:#64748b;border:1px dashed #dbe4ef;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:12px;height:220px;margin-bottom:20px;display:flex}.beneficiary-kpis{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin-top:12px;display:grid}.beneficiary-kpi{text-align:center;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:14px 16px;transition:box-shadow .2s,border-color .2s,transform .2s}.beneficiary-kpi:hover{border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 6px 16px #0f172a0f}.beneficiary-icon{color:#4f46e5;background:#eef2ff;border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;margin:auto auto 14px;display:flex}.beneficiary-value{color:#0f172a;margin:0;font-size:26px;font-weight:700;line-height:1.2}.beneficiary-title{color:#334155;margin-top:6px;font-size:14px;font-weight:600}.beneficiary-target{color:#94a3b8;margin-top:6px;font-size:12.5px;display:block}.pd-section{margin-bottom:14px}.pd-info-grid{grid-template-columns:repeat(3,1fr);align-items:stretch;gap:20px;display:grid}.pd-info-grid>*{flex-direction:column;display:flex}.project-owner-card .owner-divider{margin-top:auto;padding-top:16px}.owner-avatar{color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:52px;height:52px;font-size:17px;font-weight:700;display:flex}.owner-divider{border-top:1px solid #e5e7eb;margin:0 0 6px}.recent-files{margin:16px 0 0;padding:0;list-style:none}.recent-file{border-bottom:1px solid #eceff5;align-items:center;gap:12px;padding:12px 0;display:flex}.recent-file span{color:#334155;font-size:14px}.view-files{color:#2563eb;margin-top:14px;font-size:13.5px;font-weight:600;text-decoration:none;display:inline-block}.project-owner-card{flex-direction:column;height:100%;display:flex}.owner-profile{align-items:center;gap:18px;margin:20px 0 26px;display:flex}.owner-avatar{border:3px solid #f1f5f9;border-radius:50%;flex-shrink:0;width:72px;height:72px;overflow:hidden}.owner-avatar-img{object-fit:cover;width:100%;height:100%;display:block}.owner-profile h4{color:#111827;margin:0;font-size:20px;font-weight:700}.owner-profile p{color:#64748b;margin-top:5px;font-size:15px}.owner-divider{border-top:1px solid #e5e7eb;margin-bottom:22px}.owner-row{justify-content:space-between;align-items:center;padding:14px 0;font-size:15px;display:flex}.owner-row span{color:#64748b}.owner-row strong{color:#111827;font-weight:600}.chat-page{grid-template-columns:260px 1fr;gap:16px;height:calc(100vh - 140px);min-height:480px;display:grid}.chat-history-rail{background:var(--surface-white);border:1px solid var(--ink-200);border-radius:var(--radius-xl);box-shadow:var(--shadow-card);flex-direction:column;gap:12px;padding:14px;display:flex;overflow:hidden}.chat-new-btn{border-radius:var(--radius-lg);background:var(--brand-green);color:#fff;cursor:pointer;border:none;justify-content:center;align-items:center;gap:8px;padding:10px 12px;font-size:13px;font-weight:700;transition:opacity .15s,transform .15s;display:flex}.chat-new-btn:hover{opacity:.92;transform:translateY(-1px)}.chat-history-list{flex-direction:column;flex:1;gap:4px;display:flex;overflow-y:auto}.chat-history-empty{color:var(--ink-400);padding:10px 4px;font-size:13px}.chat-history-item{border-radius:var(--radius-lg);cursor:pointer;justify-content:space-between;align-items:center;gap:6px;padding:9px 10px;transition:background .15s;display:flex}.chat-history-item:hover{background:var(--surface-sunken)}.chat-history-item.active{background:var(--success-bg)}.chat-history-item.active .chat-history-title{color:var(--brand-green);font-weight:700}.chat-history-item-text{flex-direction:column;gap:2px;min-width:0;display:flex}.chat-history-title{color:var(--ink-700);white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.chat-history-time{color:var(--ink-400);font-size:11px}.chat-history-delete{color:var(--ink-400);cursor:pointer;background:0 0;border:none;border-radius:6px;flex-shrink:0;padding:4px}.chat-history-delete:hover{color:var(--danger);background:var(--danger-bg)}.chat-main{background:var(--surface-white);border:1px solid var(--ink-200);border-radius:var(--radius-xl);box-shadow:var(--shadow-card);flex-direction:column;display:flex;overflow:hidden}.chat-main-header{background:var(--surface-white);border-bottom:1px solid var(--ink-100);color:var(--ink-900);font-family:var(--font-display);align-items:center;gap:10px;padding:14px 20px;font-size:14px;font-weight:700;display:flex}.chat-main-header-icon{background:var(--success-bg);width:28px;height:28px;color:var(--brand-green);border-radius:8px;place-items:center;display:grid}.chat-messages{background:var(--surface-muted);flex-direction:column;flex:1;gap:16px;padding:20px;display:flex;overflow-y:auto}.chat-empty-state{color:var(--ink-400);text-align:center;flex-direction:column;align-items:center;gap:6px;margin:auto;font-size:13px;display:flex}.chat-empty-icon{background:var(--success-bg);width:56px;height:56px;color:var(--brand-green);border-radius:50%;place-items:center;margin-bottom:6px;display:grid}.chat-empty-state h4{font-family:var(--font-display);color:var(--ink-900);margin:0;font-size:15px;font-weight:700}.chat-empty-state p{margin:0}.chat-row{align-items:flex-end;gap:8px;max-width:78%;display:flex}.chat-row-user{flex-direction:row-reverse;align-self:flex-end}.chat-row-assistant{align-self:flex-start}.chat-avatar{border-radius:50%;flex-shrink:0;place-items:center;width:26px;height:26px;display:grid}.chat-avatar-assistant{background:var(--success-bg);color:var(--brand-green)}.chat-avatar-user{background:var(--ink-900);color:#fff}.chat-bubble{border-radius:var(--radius-lg);white-space:pre-wrap;min-width:0;padding:10px 14px;font-size:13.5px;line-height:1.55}.chat-bubble-assistant{background:var(--surface-white);border:1px solid var(--ink-100);color:var(--ink-700);border-bottom-left-radius:4px}.chat-bubble-user{background:var(--brand-green);color:#fff;border-bottom-right-radius:4px}.chat-bubble-typing{align-items:center;gap:4px;padding:13px 14px;display:flex}.chat-typing-dot{background:var(--ink-400);border-radius:50%;width:6px;height:6px;animation:1.1s ease-in-out infinite chat-typing-bounce}.chat-typing-dot:nth-child(2){animation-delay:.15s}.chat-typing-dot:nth-child(3){animation-delay:.3s}@keyframes chat-typing-bounce{0%,60%,to{opacity:.5;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}.chat-bubble-error{background:var(--danger-bg);border-color:var(--danger-bg);color:var(--danger)}.chat-faq-row{background:var(--surface-muted);flex-wrap:wrap;gap:8px;padding:0 20px 14px;display:flex}.chat-faq-chip{border:1px solid var(--ink-200);background:var(--surface-white);color:var(--ink-700);border-radius:var(--radius-full);cursor:pointer;padding:7px 13px;font-size:12.5px;font-weight:600;transition:border-color .15s,color .15s,background .15s}.chat-faq-chip:hover{border-color:var(--brand-green);color:var(--brand-green);background:var(--success-bg)}.chat-input-row{border-top:1px solid var(--ink-100);background:var(--surface-white);align-items:flex-end;gap:10px;padding:14px 18px;display:flex}.chat-input{resize:none;border:1px solid var(--ink-200);border-radius:var(--radius-lg);flex:1;max-height:120px;padding:11px 14px;font-family:inherit;font-size:13.5px;transition:border-color .15s}.chat-input:focus{border-color:var(--brand-green);outline:none}.chat-send{border-radius:var(--radius-lg);background:var(--brand-green);color:#fff;cursor:pointer;border:none;flex-shrink:0;place-items:center;width:40px;height:40px;transition:opacity .15s,transform .15s;display:grid}.chat-send:hover:not(:disabled){transform:translateY(-1px)}.chat-send:disabled{background:var(--ink-200);color:var(--ink-400);cursor:not-allowed}@media (width<=900px){.chat-page{grid-template-columns:1fr;height:auto}.chat-history-rail{max-height:200px}.chat-row{max-width:90%}}@media (prefers-reduced-motion:reduce){.chat-typing-dot{opacity:1;animation:none}}:root{--brand-gradient:linear-gradient(135deg, #16a34a, #22c55e);--brand-green:#16a34a;--brand-green-light:#22c55e;--brand-green-dark:#0f1f3d;--success:#16a34a;--success-bg:#ecfdf3;--warning:#d97706;--warning-bg:#fffbeb;--danger:#dc2626;--danger-bg:#fef2f2;--info:#2563eb;--info-bg:#eff6ff;--accent-raised-fg:#047857;--radius-full:999px;--radius-2xl:20px;--radius-xl:14px;--radius-lg:10px;--shadow-card:0 1px 2px #0f172a0a, 0 8px 24px #0f172a0f;--shadow-card-hover:0 12px 28px #0f172a1a;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-7:32px;--space-8:40px;--ink-900:#14181f;--ink-700:#334155;--ink-600:#5b6470;--ink-400:#98a0aa;--ink-200:#e2e8f0;--ink-100:#f1f5f9;--surface-white:#fff;--surface-muted:#fafaf8;--surface-sunken:#eef1f6;--font-display:"Sora", system-ui, -apple-system, "Segoe UI", sans-serif;--font-ui:"IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif}.eyebrow{letter-spacing:.06em;text-transform:uppercase;color:var(--ink-600);align-items:center;gap:8px;font-size:11.5px;font-weight:700;display:inline-flex}.eyebrow:before{content:"";border-radius:var(--radius-full);background:var(--brand-green);width:16px;height:2px;animation:.4s ease-out eyebrow-draw;display:inline-block}@keyframes eyebrow-draw{0%{opacity:0;width:0}to{opacity:1;width:16px}}@media (prefers-reduced-motion:reduce){.eyebrow:before{animation:none}}.dash-heading{font-family:var(--font-display);color:var(--ink-900);align-items:center;gap:8px;margin:0;font-size:13px;font-weight:700;display:flex}
