* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: #f6f7f9;
    color: #111827;
}
.wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.card {
    width: 100%;
    max-width: 760px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
}
h1 {
    margin: 0 0 8px;
    font-size: 28px;
}
.sub {
    margin: 0 0 16px;
    color: #6b7280;
}
textarea {
    width: 100%;
    min-height: 140px;
    resize: vertical;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 14px;
    font: inherit;
}
.actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}
button {
    border: 0;
    border-radius: 10px;
    padding: 12px 18px;
    background: #111827;
    color: #fff;
    font: inherit;
    cursor: pointer;
}
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.status,
.output {
    margin-top: 16px;
    border-radius: 12px;
    padding: 14px;
}
.status {
    background: #eef2ff;
    color: #3730a3;
}
.output {
    background: transparent;
    color: inherit;
    padding: 0;
    margin-top: 24px;
}
.report {
    color: #1f2937;
}
.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 16px;
    margin-bottom: 24px;
}
.report-header h2 {
    margin: 0;
    font-size: 22px;
}
.badge {
    background: #eef2ff;
    color: #4f46e5;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
}
.report-section {
    margin-bottom: 32px;
}
.report-section h3 {
    font-size: 18px;
    margin: 0 0 12px;
    color: #111827;
    border-left: 4px solid #4f46e5;
    padding-left: 12px;
}
.report-section p {
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}
.report-section ul {
    margin: 0;
    padding-left: 20px;
    color: #4b5563;
}
.report-section li {
    margin-bottom: 8px;
    line-height: 1.5;
}
.channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.channel-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
}
.channel-name {
    font-weight: 700;
    margin-bottom: 4px;
}
.channel-priority {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.priority-high .channel-priority { color: #dc2626; }
.priority-medium .channel-priority { color: #d97706; }
.priority-low .channel-priority { color: #059669; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}
.grid-item {
    background: #fff;
    border: 1px dashed #d1d5db;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}
.budget-chart {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
}
.budget-row {
    margin-bottom: 16px;
}
.budget-row:last-child { margin-bottom: 0; }
.budget-label {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 500;
}
.budget-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}
.budget-fill {
    height: 100%;
    background: #4f46e5;
}
.roadmap {
    position: relative;
    padding-left: 32px;
}
.roadmap::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}
.roadmap-step {
    position: relative;
    margin-bottom: 24px;
}
.step-marker {
    position: absolute;
    left: -32px;
    width: 24px;
    height: 24px;
    background: #4f46e5;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}
.step-content strong {
    display: block;
    margin-bottom: 4px;
    color: #111827;
}
.step-content p {
    font-size: 14px;
}
.hidden { display: none; }
