.forecast-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:4px 0 22px}.forecast-heading h2{font-size:28px;margin:0 0 8px}.forecast-heading p:last-child,.forecast-hint,.forecast-status{font-size:13px;color:var(--muted);line-height:1.6}.forecast-filters{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin:0 0 12px}.forecast-filters label,.forecast-stage-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}.forecast-filters input,.forecast-filters select,.forecast-stage-form input[type=number]{border:1px solid var(--line);background:white;color:var(--ink);border-radius:10px;padding:10px;min-height:42px;font:inherit}.forecast-filters select{max-width:260px}.forecast-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}.forecast-card{padding:20px;background:#fff;border:1px solid var(--line);border-radius:16px;min-width:0;border-top:3px solid var(--accent)}.forecast-card>span,.forecast-card small{display:block;color:var(--muted);font-size:12px;line-height:1.45}.forecast-card strong{display:block;font-size:clamp(20px,2.5vw,30px);margin:10px 0;overflow-wrap:anywhere}.forecast-secondary{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.forecast-secondary .forecast-card{border-top:1px solid var(--line);padding:16px}.forecast-secondary strong{font-size:22px}.forecast-warning{background:#fff5db;border:1px solid #edcd7b;border-radius:12px;padding:14px 16px;line-height:1.6;font-size:13px}.forecast-panel h3{margin-bottom:16px}.forecast-scroll{overflow:auto;max-width:100%;border-radius:10px}.forecast-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.forecast-table th{font-weight:600;color:var(--muted);font-size:11px;background:#f7f7fa;white-space:nowrap}.forecast-table td,.forecast-table th{padding:13px 12px;border-bottom:1px solid var(--line);vertical-align:top;min-width:100px}.forecast-table td:first-child{min-width:180px}.forecast-table a{color:var(--accent);text-decoration:none;font-weight:600;overflow-wrap:anywhere}.forecast-table a:hover{text-decoration:underline}.forecast-table small,.forecast-stage-form small{display:block;font-size:11px;color:var(--muted);margin-top:5px;line-height:1.5}.forecast-danger{color:#aa3629!important}.forecast-empty{padding:18px;background:#f7f7fa;border-radius:12px;color:var(--muted);font-size:13px}.forecast-notes{font-size:13px;line-height:1.7;padding-left:22px}.forecast-notes li{margin-bottom:8px}.forecast-settings summary,details.panel summary{cursor:pointer;font-weight:600}.forecast-stage-form{display:grid;grid-template-columns:minmax(180px,1fr) 130px 140px auto;gap:16px;align-items:center;padding:18px 0;border-top:1px solid var(--line)}.forecast-check{flex-direction:row!important;align-items:center}.forecast-check input{width:18px;height:18px}.forecast-save-status{grid-column:1/-1;font-size:12px}.forecast-full{color:var(--accent);font-size:13px;white-space:nowrap}.forecast-compact .shell{display:block}.forecast-compact main{padding:24px;max-width:1100px;margin:auto}.forecast-compact .header-actions{justify-content:flex-end;margin-bottom:16px}.forecast-compact .forecast-card strong{font-size:24px}.forecast-compact .forecast-heading h2{font-size:24px}.forecast-compact .forecast-kpis{gap:10px}.forecast-compact .forecast-card{padding:14px}.forecast-compact .auth-user-email{display:none}button:disabled{opacity:.6;cursor:wait}
@media(max-width:760px){.forecast-heading{flex-direction:column;gap:10px}.forecast-heading h2{font-size:24px}.forecast-kpis{grid-template-columns:1fr}.forecast-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.forecast-filters{display:grid;grid-template-columns:1fr 1fr}.forecast-filters input,.forecast-filters select{width:100%;max-width:100%;min-width:0}.forecast-stage-form{grid-template-columns:1fr 1fr}.forecast-stage-form>div{grid-column:1/-1}.forecast-compact main{padding:16px}.forecast-compact .forecast-kpis{grid-template-columns:1fr}.forecast-card strong{font-size:26px}}
