.planning-page .card{border:1px solid #eef5f2;box-shadow:0 2px 10px rgba(32,70,57,.04)}
.planning-page .metric-card .card-body{padding:1.05rem 1.1rem}.planning-page .metric-icon{width:46px;height:46px;display:inline-flex;align-items:center;justify-content:center;border-radius:14px;font-size:23px;flex:0 0 auto}
.planning-page .metric-value{font-size:1.45rem;font-weight:700;line-height:1.1}.planning-page .metric-label{font-size:.82rem;color:#778a7b}.planning-page .metric-sub{font-size:.75rem;margin-top:.28rem}
.planning-page .mini-due-card{border:1px solid #eef5f2;border-radius:12px;padding:.75rem;background:#fff;height:100%}.planning-page .mini-due-card .icon{width:38px;height:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:19px}
.planning-page .filter-bar .form-select,.planning-page .filter-bar .form-control{min-height:38px}.planning-page .due-table td,.planning-page .due-table th{vertical-align:middle;white-space:nowrap}.planning-page .due-table .description-cell{white-space:normal;min-width:180px}.planning-page .due-table .source-cell{white-space:normal;min-width:150px}
.planning-page .status-pill{display:inline-flex;align-items:center;padding:.28rem .55rem;border-radius:999px;font-size:.74rem;font-weight:600}.planning-page .chart-box{min-height:300px}.planning-page .forecast-chart{min-height:320px}
.planning-page .quick-action{border:1px solid #eef5f2;border-radius:12px;padding:.9rem;background:#fff;display:flex;align-items:center;gap:.75rem;cursor:pointer;transition:.15s ease}.planning-page .quick-action:hover{transform:translateY(-1px);box-shadow:0 4px 16px rgba(32,70,57,.07)}.planning-page .quick-action .qa-icon{width:40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:20px}
.planning-page .cash-day-strip{display:flex;gap:.45rem;overflow-x:auto;padding-bottom:.2rem}.planning-page .cash-day{min-width:48px;text-align:center;border-radius:9px;padding:.45rem .35rem;border:1px solid #edf4f1;background:#f8faf9}.planning-page .cash-day.high{background:#f9f7f6;border-color:#f9e2dc}.planning-page .cash-day.medium{background:#fceeea;border-color:#f3c2b4}.planning-page .cash-day.low{background:#effaf1;border-color:#d0edd6}.planning-page .cash-day .d{font-weight:700;font-size:.82rem}.planning-page .cash-day .w{font-size:.68rem;color:#778a7b}
.planning-page .spark-card{border:1px solid #eef5f2;border-radius:12px;padding:.8rem;background:#fff;height:100%}.planning-page .spark-line{height:3px;border-radius:3px;background:linear-gradient(90deg,#6dcec4,#40b758);opacity:.85;margin-top:.6rem}.planning-page .forecast-summary-row{display:flex;justify-content:space-between;gap:1rem;padding:.48rem 0;border-bottom:1px solid #f1f5f3}.planning-page .forecast-summary-row:last-child{border-bottom:0}.planning-page .scenario-box{border-radius:10px;padding:.65rem .75rem;margin-bottom:.5rem}.planning-page .scenario-box:last-child{margin-bottom:0}.planning-page .milestone{display:flex;gap:.75rem;padding:.65rem 0;border-bottom:1px solid #f2f5f4}.planning-page .milestone:last-child{border-bottom:0}.planning-page .milestone-date{min-width:46px;text-align:center;border-radius:8px;padding:.35rem;background:#f5faf8;font-size:.72rem;font-weight:700}.planning-page .insight-card{border-radius:10px;padding:.75rem .85rem;height:100%;border:1px solid #eef5f2}.planning-page .risk-gauge-label{text-align:center;margin-top:-12px}.planning-page .text-purple{color:#4bb8ad}.planning-page .bg-purple-subtle{background:rgba(120,75,184,.12)!important}
@media(max-width:991.98px){.planning-page .due-table .actions-cell{min-width:240px}.planning-page .forecast-chart{min-height:280px}}

/* Smart Due Center 2.0 */
.smart-due-v2 .card{border:1px solid #e8f4f3;border-radius:12px;box-shadow:0 2px 10px rgba(17,40,32,.035)}
.smart-title-icon{width:48px;height:48px;border-radius:13px;display:grid;place-items:center;background:#eef9f8;color:#48c2b6;font-size:25px}
.smart-due-header h3{font-size:1.7rem;font-weight:700;color:#234743}.smart-range-box{display:flex;align-items:center;gap:7px;padding:5px 10px;border:1px solid #e2eeed;border-radius:8px;background:#fff}.smart-range-box .form-control{border:0;box-shadow:none;width:126px;padding:.25rem}.smart-range-box i{color:#566f6c}.smart-square-btn{width:44px;height:38px;display:grid;place-items:center;padding:0;border:1px solid #e2eeed}
.smart-kpi .card-body{display:flex;align-items:center;gap:13px;padding:14px 15px}.smart-kpi-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;font-size:23px;flex:0 0 auto}.smart-kpi-label{font-size:12px;font-weight:600;margin-bottom:3px}.smart-kpi-value{font-size:1.2rem;font-weight:800;line-height:1.1;color:#19312f}.smart-kpi-sub{font-size:11px;color:#6c8371;margin-top:4px}.smart-kpi-danger{background:#fef7f8}.smart-kpi-danger .smart-kpi-icon{background:#fbece8;color:#da6645}.smart-kpi-danger .smart-kpi-label{color:#d06141}.smart-kpi-warning{background:#f9f7f6}.smart-kpi-warning .smart-kpi-icon{background:#f7d6cc;color:#c8451f}.smart-kpi-warning .smart-kpi-label{color:#9e3619}.smart-kpi-blue{background:#fbf9f8}.smart-kpi-blue .smart-kpi-icon{background:#e5f6f4;color:#48c2b6}.smart-kpi-blue .smart-kpi-label{color:#48c2b6}.smart-kpi-purple{background:#faf8fe}.smart-kpi-purple .smart-kpi-icon{background:#e9f8f6;color:#4bb8ad}.smart-kpi-purple .smart-kpi-label{color:#4bb8ad}.smart-kpi-success{background:#f3fbf7}.smart-kpi-success .smart-kpi-icon{background:#e1f5e5;color:#2d813e}.smart-kpi-success .smart-kpi-label{color:#2d813e}.smart-kpi-slate{background:#f8fbfc}.smart-kpi-slate .smart-kpi-icon{background:#e9f5f4;color:#436864}.smart-kpi-slate .smart-kpi-label{color:#436864}
.smart-main-card{overflow:hidden}.smart-filter-wrap{border-bottom:1px solid #edf2f5}.smart-filter-pill,.smart-module-pill{border:0;background:#f3faf7;color:#436864;font-size:12px;font-weight:600;border-radius:8px;padding:7px 13px}.smart-filter-pill span,.smart-module-pill span{margin-left:3px}.smart-filter-pill.active,.smart-module-pill.active{background:#48c2b6;color:#fff}.smart-pill-danger{background:#f9f7f6;color:#d06141}.smart-pill-warning{background:#fbe9e3;color:#8b3016}.smart-pill-blue{background:#f8f6f5;color:#48c2b6}.smart-module-row{border-top:1px solid #f0f7f4;padding-top:10px}.smart-search-wrap .form-control{min-width:180px;height:38px}.smart-search-icon{position:absolute;left:9px;top:11px;color:#7f9593;z-index:2}
.smart-due-table-wrap{max-height:520px}.smart-due-table{font-size:12px}.smart-due-table thead th{position:sticky;top:0;z-index:2;background:#f1f8f5;color:#476663;font-weight:700;border-bottom:1px solid #ebe4e0;padding:.78rem .55rem;white-space:nowrap}.smart-due-table td{padding:.72rem .55rem;border-bottom:1px solid #eef3f6;vertical-align:middle;white-space:nowrap}.smart-due-table tbody tr:hover{background:#fbfdff}.smart-due-table td:nth-child(3){min-width:210px}.smart-account-icon{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;font-size:17px}.smart-module-badge,.smart-status-badge,.smart-priority-badge{font-size:10px;border-radius:7px;padding:5px 8px;font-weight:600}.smart-amount-split{font-size:10px;margin-top:2px}.smart-open-btn{min-width:78px}
.text-purple{color:#4bb8ad!important}.bg-purple-subtle{background:rgba(120,75,184,.12)!important}
.smart-side-stack{height:100%}.smart-side-card .card-body{padding:14px}.smart-side-card h5{font-size:13px;font-weight:700}.smart-side-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid #edf2f4;font-size:12px}.smart-funds-total{display:flex;justify-content:space-between;align-items:center;background:#ebf7ed;color:#256832;border-radius:8px;padding:10px 11px;margin-top:8px;font-size:13px;font-weight:700}.smart-cash-alert{border:1px solid #d9f0de;background:#f8f6f5;color:#22612f;border-radius:10px;padding:13px}.smart-cash-alert.is-danger{border-color:#f9dfd7;background:#fbf9f8;color:#b35236}.smart-quick-btn{font-size:11px;min-height:40px;padding:6px 8px;white-space:normal}
.smart-view-tabs{display:flex;gap:6px;flex-wrap:wrap}.smart-view-tabs .btn{font-size:12px;background:#f3faf7;border:0;color:#436864}.smart-view-tabs .btn.active{background:#48c2b6;color:#fff}.smart-seven-strip{display:grid;grid-template-columns:repeat(7,minmax(82px,1fr));gap:8px}.smart-day-card{border:1px solid #e7f2f1;border-radius:10px;padding:10px;text-align:center;background:#fff}.smart-day-card.is-today{border-color:#a7e2dc;background:#fbf9f8}.smart-day-num{font-size:18px;font-weight:700;margin:2px 0 6px}.smart-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.smart-calendar-head{text-align:center;font-size:11px;font-weight:700;color:#708574;padding:5px}.smart-calendar-cell{min-height:78px;border:1px solid #e8f3f2;border-radius:8px;padding:7px;background:#fff}.smart-calendar-cell.is-empty{background:#fafbfc;border-style:dashed}.smart-calendar-cell.is-today{border:2px solid #48c2b6;background:#f7fefc}.smart-timeline{position:relative;padding-left:14px}.smart-timeline:before{content:"";position:absolute;left:20px;top:8px;bottom:8px;width:2px;background:#e5f1f0}.smart-timeline-item{position:relative;display:grid;grid-template-columns:18px 92px minmax(0,1fr);gap:10px;align-items:start;padding:7px 0}.smart-timeline-dot{width:12px;height:12px;border-radius:50%;margin-top:8px;z-index:1;border:2px solid #fff;box-shadow:0 0 0 1px #e9e1dd}.smart-timeline-date{font-size:11px;font-weight:600;color:#5d7573;padding-top:6px}.smart-timeline-card{border:1px solid #e8f3f2;border-radius:9px;padding:9px 11px;background:#fff;font-size:12px}.smart-completed-item{display:flex;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid #edf2f5;font-size:12px}.smart-completed-item:last-child{border-bottom:0}.smart-completed-check{width:26px;height:26px;border-radius:7px;background:#e1f5e5;color:#2d813e;display:grid;place-items:center;flex:0 0 auto}
.smart-due-v2 .min-w-0{min-width:0}
@media(max-width:1399.98px){.smart-kpi-value{font-size:1.05rem}.smart-kpi .card-body{padding:12px}.smart-module-pill,.smart-filter-pill{padding:6px 10px}}
@media(max-width:1199.98px){.smart-side-stack{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.smart-cash-alert{height:100%}.smart-seven-strip{overflow-x:auto;display:flex}.smart-day-card{min-width:100px}.smart-due-table-wrap{max-height:none}}
@media(max-width:767.98px){.smart-range-box{width:100%;flex-wrap:wrap}.smart-range-box .form-control{width:calc(50% - 22px)}.smart-side-stack{grid-template-columns:1fr}.smart-calendar-grid{min-width:680px}.smart-view-panel{overflow-x:auto}.smart-due-header .btn-primary{flex:1}.smart-due-table td:nth-child(3){min-width:180px}}

