/* POC responsive polish and feature pages */
:root {
    --poc-ink: #14213d;
    --poc-muted: #64748b;
    --poc-line: #e5e7eb;
    --poc-soft: #f7f8fb;
    --poc-accent: #c79b52;
}

.poc-header {
    width: 100%;
    z-index: 50;
}

.poc-header .container {
    max-width: min(1760px, calc(100% - 72px));
}

.poc-header-inner {
    min-width: 0;
}

.poc-header-inner,
.poc-nav .nav-menu {
    gap: clamp(10px, 1.1vw, 18px);
}

.poc-nav {
    min-width: 0;
    flex: 1 1 auto;
    justify-content: center;
}

.poc-nav .nav-menu {
    flex-wrap: nowrap;
    justify-content: center;
}

.poc-nav .nav-menu > li > a {
    white-space: nowrap;
    font-size: clamp(14px, .9vw, 17px);
    padding-left: clamp(8px, .75vw, 14px);
    padding-right: clamp(8px, .75vw, 14px);
}

.poc-logo-img {
    max-width: clamp(150px, 13vw, 220px);
    max-height: 74px;
    height: auto;
}

.poc-tool-page {
    background: #fff;
    color: var(--poc-ink);
}

.poc-tool-hero {
    padding: 92px 0 52px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    border-bottom: 1px solid var(--poc-line);
}

.poc-tool-hero h1 {
    max-width: 780px;
    margin: 8px 0 14px;
    font-size: 48px;
    line-height: 1.08;
    color: var(--poc-ink);
}

.poc-tool-hero p {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--poc-muted);
}

.poc-section-kicker {
    display: inline-flex;
    color: var(--poc-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.poc-tool-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    padding-top: 48px;
    padding-bottom: 70px;
}

.poc-assistant-panel,
.poc-side-panel,
.poc-lead-card,
.poc-news-card {
    border: 1px solid var(--poc-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, .06);
}

.poc-assistant-panel {
    overflow: hidden;
}

.poc-assistant-messages {
    min-height: 380px;
    max-height: 520px;
    overflow: auto;
    padding: 24px;
    background: var(--poc-soft);
}

.poc-assistant-message {
    max-width: 82%;
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 8px;
    line-height: 1.55;
}

.poc-assistant-message.bot {
    background: #fff;
    border: 1px solid var(--poc-line);
}

.poc-assistant-message.user {
    margin-left: auto;
    background: var(--poc-ink);
    color: #fff;
}

.poc-assistant-results {
    display: grid;
    gap: 10px;
    margin: 0 24px 20px;
}

.poc-assistant-results a,
.poc-mini-project {
    display: block;
    padding: 12px 14px;
    border: 1px solid var(--poc-line);
    border-radius: 8px;
    color: var(--poc-ink);
    background: #fff;
}

.poc-assistant-results span,
.poc-mini-project span {
    display: block;
    color: var(--poc-muted);
    font-size: 13px;
    margin-top: 3px;
}

.poc-assistant-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 18px;
    border-top: 1px solid var(--poc-line);
}

.poc-assistant-form input,
.poc-local-lead-form input,
.poc-local-lead-form textarea,
.poc-compare-picker select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--poc-line);
    border-radius: 8px;
    padding: 11px 14px;
}

.poc-side-panel {
    padding: 22px;
}

.poc-side-panel h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.poc-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding-top: 48px;
    padding-bottom: 70px;
}

.poc-news-card {
    overflow: hidden;
}

.poc-news-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.poc-news-card div {
    padding: 20px;
}

.poc-news-card span {
    color: var(--poc-accent);
    font-size: 13px;
    font-weight: 700;
}

.poc-news-card h3 {
    font-size: 20px;
    margin: 8px 0 10px;
}

.poc-news-card p {
    color: var(--poc-muted);
    line-height: 1.6;
}

.poc-compare-picker {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    margin: 42px 0 22px;
}

.poc-compare-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--poc-line);
    border-radius: 8px;
    margin-bottom: 70px;
}

.poc-compare-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    background: #fff;
}

.poc-compare-table th,
.poc-compare-table td {
    padding: 15px;
    border-bottom: 1px solid var(--poc-line);
    vertical-align: top;
}

.poc-compare-table th {
    background: var(--poc-soft);
    color: var(--poc-ink);
}

.poc-compare-table td:first-child {
    font-weight: 700;
    color: var(--poc-ink);
}

.poc-lead-card {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 24px;
    padding: 24px;
    margin: 36px 0;
}

.poc-lead-card h3 {
    font-size: 26px;
    margin: 8px 0 10px;
}

.poc-lead-card p,
.poc-form-note {
    color: var(--poc-muted);
    line-height: 1.6;
}

.poc-zoho-frame {
    width: 100%;
    min-height: 460px;
    border: 1px solid var(--poc-line);
    border-radius: 8px;
}

.poc-form-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}

.poc-report-wrap,
.poc-status-wrap {
    padding-top: 44px;
    padding-bottom: 70px;
}

.poc-report-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 26px;
}

.poc-report-metrics div,
.poc-report-panel,
.poc-status-card {
    border: 1px solid var(--poc-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, .06);
}

.poc-report-metrics div {
    padding: 22px;
}

.poc-report-metrics span {
    display: block;
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    color: var(--poc-ink);
}

.poc-report-metrics p {
    margin: 8px 0 0;
    color: var(--poc-muted);
}

.poc-report-grid,
.poc-status-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.poc-report-panel,
.poc-status-card {
    padding: 24px;
}

.poc-report-panel h2,
.poc-status-card h2 {
    font-size: 24px;
    margin-bottom: 18px;
    color: var(--poc-ink);
}

.poc-report-row {
    padding: 16px 0;
    border-top: 1px solid var(--poc-line);
}

.poc-report-row:first-of-type {
    border-top: 0;
}

.poc-report-row h3 {
    font-size: 18px;
    margin: 0 0 4px;
}

.poc-report-row p,
.poc-report-row li,
.poc-config-list,
.poc-check-row p,
.poc-completion-row p {
    color: var(--poc-muted);
}

.poc-report-row ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 14px;
    padding: 0;
    margin: 12px 0 0;
    list-style: none;
}

.poc-report-note {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--poc-soft);
}

.poc-config-list {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 10px 16px;
    margin: 0;
}

.poc-config-list dt {
    font-weight: 800;
    color: var(--poc-ink);
}

.poc-config-list dd {
    margin: 0;
    word-break: break-word;
}

.poc-check-row,
.poc-completion-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--poc-line);
}

.poc-check-row:first-of-type,
.poc-completion-row:first-of-type {
    border-top: 0;
}

.poc-check-row > span,
.poc-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    height: 30px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.poc-check-row.is-done > span,
.poc-status-done {
    background: #dcfce7;
    color: #166534;
}

.poc-check-row.is-pending > span,
.poc-status-ready,
.poc-status-external {
    background: #fff7ed;
    color: #9a3412;
}

.poc-status-card--wide {
    grid-column: 1 / -1;
}

.poc-completion-row {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
}

.poc-completion-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--poc-soft);
    color: var(--poc-ink);
    font-weight: 800;
}

.poc-completion-row h3 {
    margin: 0 0 5px;
    font-size: 18px;
}

@media (min-width: 1200px) and (max-width: 1500px) {
    .poc-header .container {
        max-width: min(1440px, calc(100% - 36px));
    }

    .poc-nav {
        display: flex !important;
    }

    .poc-toggler {
        display: none !important;
    }

    .poc-header-inner {
        justify-content: space-between;
        gap: 12px;
    }

    .poc-logo-img {
        max-width: 155px;
        max-height: 58px;
    }

    .poc-nav .nav-menu {
        gap: 2px;
    }

    .poc-nav .nav-menu > li > a {
        font-size: 13px;
        padding-left: 6px;
        padding-right: 6px;
    }
}

@media (max-width: 1199px) {
    .poc-nav {
        display: none !important;
    }

    .poc-toggler {
        display: flex !important;
    }

    .poc-header-inner {
        justify-content: space-between;
    }
}

@media (max-width: 991px) {
    .poc-header .container {
        max-width: min(100%, calc(100% - 28px));
    }

    .poc-tool-hero {
        padding: 68px 0 42px;
    }

    .poc-tool-hero h1 {
        font-size: 36px;
    }

    .poc-tool-grid,
    .poc-lead-card {
        grid-template-columns: 1fr;
    }

    .poc-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .poc-report-metrics,
    .poc-report-grid,
    .poc-status-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .poc-logo-img {
        max-width: 150px;
    }

    .poc-tool-hero h1 {
        font-size: 30px;
    }

    .poc-tool-hero p {
        font-size: 16px;
    }

    .poc-news-grid,
    .poc-assistant-form,
    .poc-compare-picker {
        grid-template-columns: 1fr;
    }

    .poc-assistant-message {
        max-width: 100%;
    }

    .poc-report-row ul,
    .poc-config-list,
    .poc-completion-row {
        grid-template-columns: 1fr;
    }
}
