/* 13-week cash flow forecaster landing page (tools/cash-flow-13-week-forecaster only) */

/* Template link next to the upload button */
.wt-drop .tp-cf-start{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 18px;margin:0}
.wt-drop .tp-cf-start a{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;color:#1250b5;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.wt-drop .tp-cf-start a.tp-cf-tpl{gap:8px;padding:0 16px;border:1.5px solid #9fb6dc;border-radius:12px;background:#fff;text-decoration:none}
.wt-drop .tp-cf-start a.tp-cf-tpl svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.wt-drop .tp-cf-start a.tp-cf-tpl:hover{border-color:#1768e5;background:#f3f7ff}
.wt-drop .tp-cf-start a:focus-visible{outline:3px solid #1768e5;outline-offset:2px;border-radius:10px}

/* Sample result card */
.tp-cf-demo{display:grid;gap:0}
.tp-cf-head{display:grid;gap:6px;padding:18px 20px 14px;border-bottom:1px solid #dde5f1}
.tp-cf-head span{color:#3159b8;font-size:.76rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.tp-cf-head strong{font-size:1.12rem;line-height:1.3;color:#0d1b33}
.tp-cf-head p{margin:0;font-size:.9rem;line-height:1.45;color:#3f4b63}

.tp-cf-figure{margin:0;padding:12px 14px 4px}
.tp-cf-chart{display:block;width:100%;height:auto}
.tp-cf-grid{stroke:#e3e9f3;stroke-width:1}
.tp-cf-ax{fill:#475467;font-size:12px;font-family:Manrope,system-ui,sans-serif}
.tp-cf-bar{fill:#2f6fe0}
.tp-cf-bar.is-low{fill:#c2410c}
.tp-cf-limit{stroke:#b42318;stroke-width:1.5;stroke-dasharray:6 4}
.tp-cf-figure figcaption{display:flex;flex-wrap:wrap;gap:6px 18px;padding:2px 4px 6px;font-size:.84rem;color:#3f4b63}
.tp-cf-key{display:inline-flex;align-items:center;gap:7px}
.tp-cf-key::before{content:"";width:12px;height:12px;border-radius:3px;background:#2f6fe0}
.tp-cf-key--low::before{background:#c2410c}
.tp-cf-key--line::before{width:18px;height:0;border-radius:0;background:none;border-top:2px dashed #b42318}
.tp-cf-nw{white-space:nowrap}

.tp-cf-table-wrap{max-width:100%;overflow-x:auto;padding:0 14px}
.tp-cf-table{width:100%;border-collapse:collapse;font-size:.86rem;line-height:1.3;font-variant-numeric:tabular-nums;color:#17213c}
.tp-cf-table th,.tp-cf-table td{padding:6px 8px;border-bottom:1px solid #e8edf5;text-align:right;white-space:nowrap}
.tp-cf-table thead th{background:#f4f7fc;font-size:.76rem;font-weight:800;letter-spacing:.02em;color:#344054}
.tp-cf-table th:first-child,.tp-cf-table th:nth-child(2),.tp-cf-table td:nth-child(2){text-align:left}
.tp-cf-table caption{padding:0 0 8px;text-align:left;font-size:.84rem;font-weight:700;color:#344054}
.tp-cf-table tbody th{font-weight:700}
.tp-cf-table tr.is-low th,.tp-cf-table tr.is-low td{background:#fff1ea}
.tp-cf-table tr.is-low td:last-child{color:#9a2a0a;font-weight:800}
.tp-cf-table tr.is-low td:nth-child(4){color:#9a2a0a;font-weight:800}

.tp-cf-foot{display:grid;gap:10px;padding:14px 20px 18px}
.tp-cf-foot p{margin:0;font-size:.88rem;line-height:1.5;color:#3f4b63}
.tp-cf-files{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.tp-cf-files li{display:flex;flex-wrap:wrap;gap:2px 10px;font-size:.86rem;line-height:1.45;color:#3f4b63}
.tp-cf-files b{color:#0d1b33;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.84rem}

/* Column list in the explainer */
.tp-cf-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:12px 0 16px;padding:0;list-style:none}
.tp-cf-cols li{display:grid;gap:4px;align-content:start;padding:12px 14px;border:1px solid #dbe2f3;border-radius:10px;background:#fff}
.tp-cf-cols b{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.95rem;color:#0d1b33}
.tp-cf-cols span{font-size:.92rem;line-height:1.5;color:#3f4b63}

@media (max-width:420px){
  .tp-cf-ax{font-size:19px}
  .tp-cf-head{padding:16px 14px 12px}
  .tp-cf-figure{padding:10px 6px 2px}
  .tp-cf-table-wrap{padding:0 6px}
  .tp-cf-table{font-size:.8rem}
  .tp-cf-table th,.tp-cf-table td{padding:6px 5px}
  .tp-cf-foot{padding:12px 14px 16px}
}
@media (max-width:380px){.tp-cf-table th:nth-child(2),.tp-cf-table td:nth-child(2){display:none}}
@media (prefers-reduced-motion:reduce){.wt-drop .tp-cf-start a{transition:none}}
