/* =====================================================
   GLOBAL
===================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f6f7fb;
    color: #1f2937;
}

a {
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.navbar {
    min-height: 104px;
}

.navbar-brand {
    letter-spacing: 0.5px;
}

aside {
    background-color: #ffffff;
}

.list-group-item {
    border-left: 0;
    border-right: 0;
    color: #374151;
}

.list-group-item:hover {
    background-color: #f1f5f9;
    color: #0d6efd;
}

.card {
    border-radius: 14px;
}

.card-header {
    border-bottom: 1px solid #edf0f5;
}

.table th {
    color: #6b7280;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn {
    border-radius: 10px;
}

.progress {
    height: 22px;
    border-radius: 12px;
}

.platform-subtitle {
    color: #6b7280;
    font-size: 0.9rem;
}

.hero-title {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
}

.metric-label {
    color: #6b7280;
    font-size: 0.85rem;
}


/* =====================================================
   WIZARD
===================================================== */

.wizard-card {
    border: 0;
    border-radius: 14px;
}

.wizard-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.wizard-step {
    position: relative;
    flex: 1;
    text-align: center;
}

.wizard-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18px;
    left: 56%;
    width: 88%;
    height: 2px;
    background-color: #d9dee7;
    z-index: 0;
}

.wizard-number {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e9eef5;
    color: #5f6b7a;
    font-weight: 700;
}

.wizard-step.active .wizard-number {
    background-color: #0d6efd;
    color: #ffffff;
}

.wizard-label {
    display: block;
    margin-top: 8px;
    color: #6b7280;
    font-size: 0.82rem;
}

.wizard-step.active .wizard-label {
    color: #0d6efd;
    font-weight: 600;
}


/* =====================================================
   PORTAL ENTRY PAGE
===================================================== */

.portal-entry-page {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 72% 28%,
            rgba(37, 99, 235, 0.08),
            transparent 28%
        ),
        #f7f9fc;
    color: #111827;
}

.portal-entry-nav {
    max-width: 1380px;
    margin: 0 auto;
    padding: 30px 42px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.portal-entry-brand {
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.portal-entry-subtitle {
    margin-top: 7px;
    color: #6b7280;
    font-size: 12px;
}

.portal-entry-login {
    min-width: 104px;
    min-height: 40px;
    padding: 8px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #263244;
    border-radius: 8px;
    color: #111827;
    background: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.portal-entry-login:hover {
    color: #ffffff;
    background: #111827;
}

.portal-entry-main {
    max-width: 1380px;
    margin: 0 auto;
    padding: 48px 42px 34px;
    display: grid;
    grid-template-columns:
        minmax(390px, 0.82fr)
        minmax(620px, 1.35fr);
    gap: 78px;
    align-items: center;
}

.portal-entry-content {
    padding-bottom: 10px;
}

.portal-entry-badge {
    min-height: 28px;
    padding: 6px 14px;
    margin-bottom: 30px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #e8f0ff;
    color: #1556d8;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}

.portal-entry-content h1 {
    max-width: 540px;
    margin: 0 0 24px;
    font-size: clamp(48px, 4vw, 68px);
    line-height: 1.06;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.portal-entry-content h1 span {
    display: block;
    margin-top: 6px;
    color: #2563eb;
}

.portal-entry-content p {
    max-width: 590px;
    margin: 0 0 38px;
    color: #5f6b7a;
    font-size: 18px;
    line-height: 1.8;
}

.portal-entry-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.portal-primary-button,
.portal-secondary-button {
    min-height: 58px;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 650;
}

.portal-primary-button {
    color: #ffffff;
    background: #121a27;
    border: 1px solid #121a27;
}

.portal-primary-button:hover {
    color: #ffffff;
    background: #1f2937;
}

.portal-secondary-button {
    color: #263244;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #738096;
}

.portal-secondary-button:hover {
    color: #111827;
    background: #ffffff;
}

.portal-primary-button span,
.portal-secondary-button span {
    font-size: 22px;
    font-weight: 400;
}

.portal-entry-visual {
    min-width: 0;
}

.demo-window {
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 26px 65px rgba(15, 23, 42, 0.12);
}

.demo-window-header {
    min-height: 58px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, #ffffff, #f4f6f9);
}

.demo-window-header small {
    color: #111827;
    font-size: 12px;
    font-weight: 600;
}

.demo-window-dots {
    display: flex;
    gap: 8px;
}

.demo-window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-window-dots span:nth-child(1) {
    background: #ff625a;
}

.demo-window-dots span:nth-child(2) {
    background: #f7ba2a;
}

.demo-window-dots span:nth-child(3) {
    background: #29c840;
}

.demo-window-body {
    display: flex;
    min-height: 435px;
}

.demo-sidebar {
    width: 80px;
    flex: 0 0 80px;
    padding: 20px 18px;
    background: linear-gradient(180deg, #061328, #102036);
}

.demo-logo {
    width: 40px;
    height: 40px;
    margin: 0 auto 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #ffffff;
    background: #2563eb;
    font-size: 18px;
    font-weight: 700;
}

.demo-menu {
    width: 34px;
    height: 8px;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: #3a485b;
}

.demo-menu.active {
    background: #2672ff;
}

.demo-dashboard {
    flex: 1;
    min-width: 0;
    padding: 28px 30px 24px;
}

.demo-heading {
    margin-bottom: 22px;
}

.demo-heading span {
    display: block;
    width: 126px;
    height: 14px;
    border-radius: 999px;
    background: #e6e9ee;
}

.demo-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.demo-stat-card {
    min-height: 78px;
    padding: 18px 18px 14px;
    border-radius: 14px;
    background: #f6f8fb;
}

.demo-stat-card small {
    display: block;
    margin-bottom: 6px;
    color: #344054;
    font-size: 12px;
}

.demo-stat-card strong {
    display: block;
    color: #111827;
    font-size: 18px;
}

.demo-chart {
    height: 188px;
    padding: 10px 12px 0;
    display: flex;
    align-items: flex-end;
    gap: 18px;
    border: 1px solid #edf0f4;
    border-radius: 14px;
    background:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 45px,
            #eef1f5 46px
        );
}

.demo-chart div {
    flex: 1;
    min-width: 20px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, #1467ef, #3e82f4);
}

.demo-status {
    margin-top: 16px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 14px;
    background: #edf8ee;
}

.demo-status > span {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #22c55e;
    font-size: 19px;
    font-weight: 700;
}

.demo-status strong,
.demo-status small {
    display: block;
}

.demo-status strong {
    margin-bottom: 3px;
    color: #111827;
    font-size: 13px;
}

.demo-status small {
    color: #344054;
    font-size: 12px;
}

.portal-feature-grid {
    max-width: 1380px;
    margin: 0 auto;
    padding: 22px 42px 54px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.portal-feature-card {
    min-height: 154px;
    padding: 24px 26px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
}

.feature-number {
    margin-bottom: 12px;
    color: #1556d8;
    font-size: 21px;
    line-height: 1;
    font-weight: 800;
}

.portal-feature-card h3 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 17px;
    font-weight: 700;
}

.portal-feature-card p {
    margin: 0;
    color: #5f6b7a;
    font-size: 14px;
    line-height: 1.65;
}


/* =====================================================
   SIGN IN PAGE
===================================================== */

.signin-page {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 75% 35%,
            rgba(37, 99, 235, 0.10),
            transparent 30%
        ),
        #f7f9fc;
    color: #111827;
}

.signin-header {
    max-width: 1420px;
    margin: 0 auto;
    padding: 22px 54px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.signin-brand-link {
    color: inherit;
    text-decoration: none;
}

.signin-brand {
    font-size: 27px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.signin-brand-subtitle {
    margin-top: 7px;
    color: #6b7280;
    font-size: 12px;
}

.signin-back-link {
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.signin-back-link:hover {
    color: #1556d8;
}

.signin-main{

    max-width:1360px;

    margin:0 auto;

    padding:20px 40px 40px;

    display:grid;

    grid-template-columns:680px 500px;

    justify-content:space-between;

    column-gap:60px;

    align-items:center;

}

.signin-intro{

    max-width:660px;
}

.signin-badge {
    display: inline-flex;
    padding: 7px 14px;
    margin-bottom: 30px;
    border-radius: 999px;
    background: #e8f0ff;
    color: #1556d8;
    font-size: 12px;
    font-weight: 700;
}

.signin-intro h1{

    font-size:74px;

    line-height:0.95;

    letter-spacing:-2px;

    margin-bottom:28px;

}

.signin-intro h1 span {
    display: block;
    margin-top: 6px;
    color: #2563eb;
}

.signin-intro p{

    font-size:18px;

    line-height:1.7;

    max-width:600px;

    color:#475569;

}
.signin-flow {
    display: grid;
    gap: 14px;
}

.signin-flow div {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #344054;
    font-size: 15px;
}

.signin-flow strong {
    width: 38px;
    color: #2563eb;
    font-size: 17px;
}

.signin-card {
    padding: 38px 38px 32px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 25px 65px rgba(15, 23, 42, 0.12);
}

.signin-card-logo {
    width: 52px;
    height: 52px;
    margin-bottom: 26px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #ffffff;
    background: #2563eb;
    font-size: 21px;
    font-weight: 800;
}

.signin-card h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 29px;
    font-weight: 750;
}

.signin-card-description {
    margin: 0 0 28px;
    color: #667085;
    font-size: 15px;
    line-height: 1.65;
}

.linkedin-signin-button {
    width: 100%;
    min-height: 58px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-radius: 9px;
    color: #ffffff;
    background: #0a66c2;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
}

.linkedin-signin-button:hover {
    color: #ffffff;
    background: #084f96;
}

.linkedin-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    color: #0a66c2;
    background: #ffffff;
    font-size: 17px;
    font-weight: 800;
}

.signin-divider {
    margin: 28px 0 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
}

.signin-divider span {
    height: 1px;
    background: #e4e7ec;
}

.signin-divider small {
    color: #98a2b3;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.signin-demo-note {
    padding: 18px 20px;
    border-radius: 12px;
    background: #f5f8ff;
}

.signin-demo-note strong {
    display: block;
    margin-bottom: 7px;
    color: #1556d8;
    font-size: 14px;
}

.signin-demo-note p {
    margin: 0;
    color: #5f6b7a;
    font-size: 13px;
    line-height: 1.6;
}

.signin-security {
    margin-top: 22px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.signin-security span {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #22c55e;
    font-size: 12px;
    font-weight: 800;
}

.signin-security p {
    margin: 0;
    color: #7a8494;
    font-size: 12px;
    line-height: 1.55;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {
    .portal-entry-main {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .portal-entry-content {
        max-width: 720px;
    }

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

@media (max-width: 900px) {
    .signin-main {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .signin-card {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    aside {
        min-height: auto;
    }

    .wizard-label {
        font-size: 0.72rem;
    }

    .wizard-step:not(:last-child)::after {
        left: 60%;
        width: 80%;
    }
}

@media (max-width: 700px) {
    .portal-entry-nav,
    .portal-entry-main,
    .portal-feature-grid,
    .signin-header,
    .signin-main {
        padding-left: 22px;
        padding-right: 22px;
    }

    .portal-entry-main {
        padding-top: 28px;
    }

    .portal-entry-content h1 {
        font-size: 44px;
    }

    .portal-entry-content p {
        font-size: 16px;
    }

    .portal-entry-actions {
        flex-direction: column;
    }

    .portal-primary-button,
    .portal-secondary-button {
        width: 100%;
    }

    .demo-window-body {
        min-height: 360px;
    }

    .demo-sidebar {
        width: 58px;
        flex-basis: 58px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .demo-logo {
        width: 36px;
        height: 36px;
    }

    .demo-menu {
        width: 28px;
    }

    .demo-dashboard {
        padding: 22px 18px;
    }

    .demo-stat-grid {
        gap: 8px;
    }

    .demo-stat-card {
        padding: 14px 10px;
    }

    .demo-chart {
        gap: 8px;
    }

    .portal-feature-grid {
        grid-template-columns: 1fr;
    }

    .signin-back-link {
        font-size: 0;
    }

    .signin-back-link::after {
        content: "←";
        font-size: 22px;
    }

    .signin-intro h1 {
        font-size: 42px;
    }

    .signin-card {
        padding: 30px 24px;
    }
}
/* =====================================================
   SIGN IN PAGE — FINAL PHASE-B LAYOUT
===================================================== */

.signin-header {
    max-width: 1480px;
    padding: 42px 54px 24px;
}

.signin-brand {
    font-size: 31px;
}

.signin-brand-subtitle {
    font-size: 13px;
}

.signin-main {
    max-width: 1420px;
    min-height: calc(100vh - 125px);
    padding: 55px 54px 90px;
    grid-template-columns: minmax(0, 1fr) 500px;
    gap: 130px;
}

.signin-intro {
    max-width: 660px;
}

.signin-intro h1 {
    margin-bottom: 34px;
    font-size: clamp(58px, 5vw, 82px);
    line-height: 1.04;
}

.signin-intro h1 span {
    margin-top: 10px;
}

.signin-intro > p {
    max-width: 650px;
    margin-bottom: 44px;
    font-size: 19px;
    line-height: 1.9;
}

.signin-flow {
    gap: 20px;
}

.signin-flow div {
    gap: 24px;
    font-size: 17px;
}

.signin-flow strong {
    width: 40px;
    font-size: 20px;
}

.signin-card {
    padding: 48px 46px 42px;
    border-radius: 26px;
}

.signin-card-logo {
    width: 66px;
    height: 66px;
    margin-bottom: 34px;
    border-radius: 16px;
    font-size: 27px;
}

.signin-card h2 {
    margin-bottom: 18px;
    font-size: 34px;
}

.signin-card-description {
    margin-bottom: 32px;
    font-size: 17px;
    line-height: 1.75;
}

.linkedin-signin-button {
    min-height: 68px;
    font-size: 18px;
}

.linkedin-icon {
    width: 34px;
    height: 34px;
    font-size: 20px;
}

.signin-divider {
    display: flex;
    margin: 32px 0 28px;
    gap: 0;
}

.signin-divider span {
    width: 100%;
}

.signin-demo-note {
    padding: 22px 24px;
    border-radius: 14px;
}

.signin-demo-note strong {
    font-size: 16px;
}

.signin-demo-note p {
    font-size: 14px;
    line-height: 1.7;
}

.signin-security {
    margin-top: 26px;
}

.signin-security p {
    font-size: 13px;
    line-height: 1.65;
}
/* =====================================================
   PROFILE PAGE
===================================================== */

.profile-page {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 72% 28%,
            rgba(37, 99, 235, 0.08),
            transparent 30%
        ),
        #f7f9fc;
    color: #111827;
}

.profile-header {
    max-width: 1480px;
    margin: 0 auto;
    padding: 30px 44px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.profile-brand-link {
    color: inherit;
    text-decoration: none;
}

.profile-brand {
    font-size: 29px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.profile-brand-subtitle {
    margin-top: 7px;
    color: #667085;
    font-size: 12px;
}

.profile-back-link {
    color: #344054;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.profile-back-link:hover {
    color: #1556d8;
}

.profile-main {
    max-width: 1480px;
    margin: 0 auto;
    padding: 56px 44px 70px;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) 500px;
    gap: 72px;
    align-items: start;
}

.profile-left {
    min-width: 0;
}

.profile-welcome {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111827;
    font-size: 20px;
    font-weight: 600;
}

.profile-welcome span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2563eb;
}

.profile-identity {
    padding-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 32px;
    border-bottom: 1px solid #e6eaf0;
}

.profile-photo-wrapper {
    position: relative;
    flex: 0 0 auto;
}

.profile-photo-placeholder {
    width: 220px;
    height: 220px;
    display: grid;
    place-items: center;
    border: 9px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    color: #ffffff;
    background:
        linear-gradient(145deg, #64748b, #111827);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
    font-size: 52px;
    font-weight: 800;
}

.profile-photo-check {
    position: absolute;
    right: 8px;
    bottom: 15px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 4px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    background: #22c55e;
    font-size: 23px;
    font-weight: 800;
}

.profile-name-area {
    min-width: 0;
}

.profile-name-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.profile-name-line h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.profile-verified {
    padding: 8px 14px;
    border: 1px solid #b8ecd0;
    border-radius: 999px;
    color: #079455;
    background: #eafaf2;
    font-size: 14px;
    font-weight: 700;
}

.profile-role {
    margin: 15px 0 30px;
    color: #596579;
    font-size: 17px;
}

.profile-role span {
    margin: 0 7px;
}

.profile-name-area h2 {
    margin: 0 0 8px;
    color: #344054;
    font-size: 19px;
    font-weight: 700;
}

.profile-transfer-note {
    margin: 0;
    color: #667085;
    font-size: 17px;
}

.profile-info-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.profile-info-card {
    min-height: 96px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    border: 1px solid #e5e9f0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.profile-info-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf3ff;
    font-size: 21px;
}

.profile-info-card span,
.profile-info-card strong {
    display: block;
}

.profile-info-card span {
    margin-bottom: 5px;
    color: #667085;
    font-size: 14px;
}

.profile-info-card strong {
    color: #111827;
    font-size: 16px;
}

.profile-expertise {
    margin-top: 26px;
}

.profile-expertise h3 {
    margin: 0 0 15px;
    color: #111827;
    font-size: 20px;
    font-weight: 750;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-tags span {
    padding: 8px 14px;
    border: 1px solid #d5e2ff;
    border-radius: 999px;
    color: #1556d8;
    background: #f2f6ff;
    font-size: 13px;
    font-weight: 600;
}

.profile-security-note {
    margin-top: 28px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    border: 1px solid #dce7ff;
    border-radius: 14px;
    background: #f3f7ff;
}

.profile-security-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #1556d8;
    background: #e2ebff;
    font-size: 24px;
}

.profile-security-note strong {
    display: block;
    margin-bottom: 5px;
    color: #111827;
    font-size: 16px;
}

.profile-security-note p {
    margin: 0;
    color: #4b5565;
    font-size: 13px;
    line-height: 1.6;
}

.profile-purpose-card {
    padding: 38px 40px 40px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 26px 65px rgba(15, 23, 42, 0.12);
}

.profile-purpose-card h2 {
    margin: 0 0 25px;
    color: #111827;
    font-size: 27px;
    line-height: 1.25;
    font-weight: 800;
}

.profile-purpose-list article {
    padding: 22px 0;
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #e8ebf0;
}

.profile-purpose-list article:last-child {
    border-bottom: 0;
}

.profile-purpose-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 800;
}

.profile-purpose-icon.blue {
    color: #1556d8;
    background: #edf3ff;
}

.profile-purpose-icon.green {
    color: #12b76a;
    background: #eaf9f1;
}

.profile-purpose-icon.purple {
    color: #7f56d9;
    background: #f2edff;
}

.profile-purpose-icon.yellow {
    color: #d99a00;
    background: #fff6dc;
}

.profile-purpose-list strong {
    display: block;
    margin-bottom: 6px;
    color: #111827;
    font-size: 16px;
}

.profile-purpose-list p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
}

.profile-continue-button {
    width: 100%;
    min-height: 64px;
    margin-top: 28px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(90deg, #1556d8, #1268ee);
    text-decoration: none;
    font-size: 18px;
    font-weight: 750;
}

.profile-continue-button:hover {
    color: #ffffff;
    background: linear-gradient(90deg, #124bbd, #0e5fdc);
}

.profile-continue-button span {
    font-size: 24px;
}

@media (max-width: 1100px) {
    .profile-main {
        grid-template-columns: 1fr;
    }

    .profile-purpose-card {
        max-width: 620px;
    }
}

@media (max-width: 760px) {
    .profile-header,
    .profile-main {
        padding-left: 22px;
        padding-right: 22px;
    }

    .profile-identity {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-photo-placeholder {
        width: 170px;
        height: 170px;
    }

    .profile-info-grid {
        grid-template-columns: 1fr;
    }

    .profile-name-line h1 {
        font-size: 40px;
    }

    .profile-purpose-card {
        padding: 30px 24px;
    }
}
/* =====================================================
   User Profile
===================================================== */

.user-avatar {

    width: 52px;
    height: 52px;

    border-radius: 50%;

    background: linear-gradient(135deg, #2F4F6F, #1F2937);

    color: #ffffff;

    font-size: 1rem;
    font-weight: 700;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    box-shadow: 0 4px 12px rgba(0,0,0,0.15);

}

.user-role {

    font-size: 0.85rem;
    color: #6c757d;

}

/* =====================================================
   Portal Header
===================================================== */

.navbar {
    min-height: 74px;
}
.navbar .fw-bold {
    font-size: 15px;
}



/* =====================================================
   Portal Typography
===================================================== */

body {
    font-size: 15px;
}

.brand-title {
    font-size: 1.25rem;
}

.brand-subtitle {
    font-size: 0.72rem;
}

.list-group-item {
    font-size: 0.95rem;
    padding: 0.8rem 0.9rem;
}

main h1,
main h2 {
    font-weight: 700;
}

main h2 {
    font-size: 1.85rem;
}

.card {
    font-size: 0.95rem;
}

.card-header,
.card-title {
    font-size: 1rem;
    font-weight: 600;
}

table {
    font-size: 0.9rem;
}

.wizard-label {
    font-size: 0.78rem;
}

.user-role {
    font-size: 14px;
}
/* =====================================================
   Portal Header & Brand
===================================================== */

.navbar {
    min-height: 86px;
}

.navbar .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
}

.portal-brand {
    margin: 0 auto 0 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.portal-brand-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

.portal-logo {
    width: 320px;
    height: auto;
    display: block;
}

.analysis-core.analysis-complete .core-ring-one,
.analysis-core.analysis-complete .core-ring-two,
.analysis-core.analysis-complete .core-ring-three {
    animation: none !important;
    border-color: #22c55e !important;
}

.analysis-core.analysis-complete .core-particle {
    animation: none !important;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.analysis-core.analysis-complete .core-center {
    border-color: #22c55e;
    box-shadow:
        0 0 35px rgba(34, 197, 94, 0.35),
        inset 0 0 25px rgba(34, 197, 94, 0.12);
    transition: all 0.8s ease;
}

.analysis-core.analysis-complete .core-letter {
    color: #22c55e;
}
.portal-entry-brand-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.portal-entry-brand-logo {
    display: block;
    width: 285px;
    max-width: 100%;
    height: auto;
}

.portal-entry-subtitle {
    margin-top: 4px;
    margin-left: 4px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 1.2px;
    color: #5f6878;
}
/* =========================================================
   S24.1 — Landing Page Hero Terminal
   ========================================================= */

.portal-entry-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.portal-hero-terminal {
    display: block;
    width: 100%;
    max-width: 980px;
    height: auto;
    object-fit: contain;
}
/* =========================================================
   S24.1 — Isolated Sign-In Page
   All selectors use pf-signin prefix to prevent collisions.
   ========================================================= */

.pf-signin-body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 82% 28%,
            rgba(54, 121, 255, 0.10),
            transparent 32%
        ),
        linear-gradient(
            120deg,
            #f8fbff 0%,
            #f4f8fd 52%,
            #eef5ff 100%
        );
    color: #101828;
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;
}

.pf-signin-page,
.pf-signin-page * {
    box-sizing: border-box;
}

.pf-signin-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pf-signin-page::before {
    content: "";
    position: absolute;
    right: -210px;
    top: 185px;
    width: 680px;
    height: 680px;
    border-radius: 50%;
    border: 1px solid rgba(47, 111, 237, 0.06);
    box-shadow:
        0 0 0 35px rgba(47, 111, 237, 0.025),
        0 0 0 70px rgba(47, 111, 237, 0.018);
    pointer-events: none;
}

/* Header */

/* Header */
.pf-signin-header {
    width: min(1320px, calc(100% - 96px));
    min-height: 105px;
    margin: 0 auto;
    padding: 27px 0 16px;

    position: relative;
    z-index: 2;
}

/* Logo, aşağıdaki ana başlığın başlangıç çizgisine gelir */
.pf-signin-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;

    margin-left: 72px;

    text-decoration: none;
}

.pf-signin-logo {
    display: block;
    width: 295px;
    height: auto;
}

.pf-signin-brand-subtitle {
    margin-top: 4px;
    padding-left: 2px;

    color: #334155;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

/* Ana Sayfaya Dön, sağdaki giriş kartının sol kenarına hizalanır */
.pf-signin-back {
    position: absolute;
    top: 42px;
    right: 96px;

    margin: 0;

    color: #1262dc;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.pf-signin-back:hover {
    color: #074fbf;
}

/* Main */

.pf-signin-main {
    width: min(1320px, calc(100% - 96px));
    flex: 1;
    margin: 0 auto;
    padding: 15px 0;

    display: grid;
    grid-template-columns: 650px 500px;
    column-gap: 32px;
    justify-content: center;
    align-items: center;

    position: relative;
    z-index: 2;
}

/* Left */

.pf-signin-intro {
    width: 100%;
    max-width: 675px;
}

.pf-signin-title {
    margin: 0 0 24px;

    color: #101828;
    font-size: clamp(54px, 4.5vw, 74px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.pf-signin-title span {
    display: block;
    margin-top: 6px;
    color: #2467ed;
}

.pf-signin-description {
    max-width: 620px;
    margin: 0 0 20px;

    color: #475b78;
    font-size: 16px;
    line-height: 1.75;
}

/* Steps */

.pf-signin-steps {
    width: 100%;
    margin-top: 14px;
}

.pf-signin-step {
    width: 100%;
    min-height: 82px;
    padding: 14px 0;

    display: grid;
    grid-template-columns:
        48px
        38px
        minmax(0, 1fr);
    gap: 17px;
    align-items: center;

    border-bottom: 1px solid #d8e1ee;
}

.pf-signin-step:last-child {
    border-bottom: 0;
}

.pf-signin-step-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #eaf2ff;
    color: #1769e8;
}

.pf-signin-step-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-signin-step-number {
    color: #1769e8;
    font-size: 18px;
    font-weight: 800;
}

.pf-signin-step-copy {
    min-width: 0;
}

.pf-signin-step-copy strong {
    display: block;
    margin: 0 0 5px;

    color: #101828;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.35;
}

.pf-signin-step-copy p {
    margin: 0;

    color: #53647c;
    font-size: 13px;
    line-height: 1.5;
}

/* Trust */

.pf-signin-trust-grid {
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;

    border-top: 1px solid #d8e1ee;
}

.pf-signin-trust {
    min-width: 0;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    align-items: flex-start;
}

.pf-signin-trust-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-signin-trust-icon svg {
    width: 25px;
    height: 25px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-signin-trust-icon.green {
    color: #18ae54;
}

.pf-signin-trust-icon.blue {
    color: #1682e8;
}

.pf-signin-trust-icon.purple {
    color: #8a46ea;
}

.pf-signin-trust-icon.orange {
    color: #ff7a00;
}

.pf-signin-trust strong {
    display: block;
    margin-bottom: 4px;

    color: #172033;
    font-size: 11px;
    line-height: 1.35;
}

.pf-signin-trust p {
    margin: 0;

    color: #53647c;
    font-size: 10.5px;
    line-height: 1.55;
}

/* Card */

.pf-signin-card {
    width: 100%;
    max-width: 500px;
    justify-self: start;

    padding: 46px 48px;

    border: 1px solid rgba(222, 229, 240, 0.8);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);

    box-shadow:
        0 30px 70px rgba(38, 67, 108, 0.14);
}

.pf-signin-card h2 {
    margin: 0 0 17px;

    color: #101828;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pf-signin-card-description {
    margin: 0 0 28px;

    color: #465a78;
    font-size: 15px;
    line-height: 1.7;
}

.pf-signin-linkedin {
    width: 100%;
    min-height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    border-radius: 8px;
    background: #0867c8;

    color: #ffffff;
    font-size: 18px;
    font-weight: 750;
    text-decoration: none;

    transition:
        transform 0.15s ease,
        background 0.15s ease;
}

.pf-signin-linkedin:hover {
    background: #075bb2;
    color: #ffffff;
    transform: translateY(-1px);
}

.pf-signin-linkedin-icon {
    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 5px;
    background: #ffffff;
    color: #0a66c2;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

/* Divider */

.pf-signin-divider {
    width: 100%;
    margin: 26px 0;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    align-items: center;
}

.pf-signin-divider span {
    height: 1px;
    background: #d8e0ec;
}

.pf-signin-divider strong {
    color: #263752;
    font-size: 14px;
    font-weight: 600;
}

/* Email */

.pf-signin-email {
    width: 100%;
    min-height: 94px;
    padding: 18px 20px;

    display: flex;
    align-items: center;
    gap: 16px;

    border: 1px solid #ccd7e8;
    border-radius: 10px;
    background: #ffffff;
}

.pf-signin-email-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #eaf2ff;
    color: #1769e8;
}

.pf-signin-email-icon svg {
    width: 23px;
    height: 23px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-signin-email strong {
    display: block;
    margin-bottom: 4px;

    color: #273852;
    font-size: 16px;
}

.pf-signin-email p {
    margin: 0;

    color: #6a7890;
    font-size: 14px;
}

/* Demo */

.pf-signin-demo {
    width: 100%;
    margin-top: 28px;
    padding: 21px 20px;

    display: flex;
    align-items: flex-start;
    gap: 14px;

    border-radius: 10px;
    background: #f1f5fb;
}

.pf-signin-demo-icon {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #1769e8;
    border-radius: 50%;

    color: #1769e8;
    font-size: 14px;
    font-weight: 800;
}

.pf-signin-demo strong {
    display: block;

    color: #075fd8;
    font-size: 15px;
}

.pf-signin-demo p {
    margin: 8px 0 0;

    color: #3f506a;
    font-size: 13px;
    line-height: 1.6;
}

/* Security */

.pf-signin-security {
    width: 100%;
    margin-top: 28px;
    padding-top: 26px;

    display: flex;
    align-items: flex-start;
    gap: 14px;

    border-top: 1px solid #d8e0ec;
}

.pf-signin-security-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;

    color: #13ad4f;
}

.pf-signin-security-icon svg {
    width: 27px;
    height: 27px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-signin-security p {
    margin: 0;

    color: #52637c;
    font-size: 13px;
    line-height: 1.65;
}

/* Footer */

.pf-signin-footer {
    width: min(1410px, calc(100% - 96px));
    margin: 0 auto;
    padding: 12px 0 25px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    color: #53647c;
    font-size: 11px;

    position: relative;
    z-index: 2;
}

.pf-signin-footer nav {
    display: flex;
    gap: 30px;
}

.pf-signin-footer a {
    color: #0d60d8;
    text-decoration: none;
}

.pf-signin-footer a:hover {
    text-decoration: underline;
}

/* Responsive */

@media (max-width: 1180px) {

    .pf-signin-main {
        grid-template-columns:
            minmax(500px, 1fr)
            minmax(400px, 0.8fr);
        gap: 45px;
    }

    .pf-signin-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {

    /* Header, ana içerikle aynı kolon sistemini kullanır */
.pf-signin-header {
    width: min(1320px, calc(100% - 96px));
    min-height: 105px;
    margin: 0 auto;
    padding: 27px 0 16px;

    display: grid;
    grid-template-columns: 650px 500px;
    column-gap: 32px;
    justify-content: center;
    align-items: start;

    position: relative;
    z-index: 2;
}

    .pf-signin-main {
        grid-template-columns: 1fr;
        gap: 42px;
        padding-top: 28px;
    }

    .pf-signin-card {
        max-width: none;
        justify-self: stretch;
    }

    .pf-signin-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {

    .pf-signin-header {
        min-height: 90px;
    }

    .pf-signin-logo {
        width: 215px;
    }

    .pf-signin-brand-subtitle {
        font-size: 9px;
    }



    .pf-signin-title {
        font-size: 46px;
    }

    .pf-signin-step {
        grid-template-columns:
            42px
            32px
            minmax(0, 1fr);
        gap: 10px;
    }

    .pf-signin-step-icon {
        width: 40px;
        height: 40px;
    }

    .pf-signin-trust-grid {
        grid-template-columns: 1fr;
    }

    .pf-signin-card {
        padding: 30px 22px;
    }

    .pf-signin-footer nav {
        flex-direction: column;
        gap: 8px;
    }
}
/* =========================================================
   S24.1 — Isolated Profile Page
   ========================================================= */

.pf-profile-body {
    margin: 0;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 78% 30%,
            rgba(45, 107, 238, 0.09),
            transparent 34%
        ),
        linear-gradient(
            120deg,
            #f8fbff 0%,
            #f3f7fc 55%,
            #eef5ff 100%
        );

    color: #101828;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;
}

.pf-profile-page,
.pf-profile-page * {
    box-sizing: border-box;
}

.pf-profile-page {
    min-height: 100vh;
    padding-bottom: 26px;
}

/* Header */

.pf-profile-header {
    width: min(1320px, calc(100% - 96px));
    min-height: 110px;
    margin: 0 auto;
    padding: 26px 0 22px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    border-bottom: 1px solid #dce4ef;
}

.pf-profile-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;

    text-decoration: none;
}

.pf-profile-logo {
    display: block;
    width: 285px;
    height: auto;
}

.pf-profile-brand-subtitle {
    margin-top: 4px;
    padding-left: 2px;

    color: #334155;

    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.pf-profile-back {
    margin-top: 15px;

    color: #16243b;

    font-size: 14px;
    font-weight: 650;

    text-decoration: none;
    white-space: nowrap;

        position: relative;
    left: -45px;
}


.pf-profile-back:hover {
    color: #1262dc;
}

/* Main */

.pf-profile-main {
    width: min(1240px, calc(100% - 96px));
    margin: 0 auto;
    padding: 34px 0 0;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        400px;

    gap: 46px;
    align-items: start;
}

/* Left */

.pf-profile-left {
    min-width: 0;
}

.pf-profile-welcome {
    margin-bottom: 22px;

    display: flex;
    align-items: center;
    gap: 10px;

    color: #101828;

    font-size: 17px;
    font-weight: 750;
}

.pf-profile-welcome span {
    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: #1769e8;
}

/* Identity */

.pf-profile-identity {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);

    gap: 40px;
    align-items: start;

    margin-bottom: 28px;
}

.pf-profile-photo-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pf-profile-photo-wrapper {
    width: 205px;
    height: 205px;

    position: relative;

    border: 9px solid #e4eaf2;
    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 14px 32px rgba(15, 23, 42, 0.10);
}

.pf-profile-photo {
    display: block;

    width: 100%;
    height: 100%;

    border-radius: 50%;

    object-fit: cover;
    object-position: center top;
}

.pf-profile-camera-button {
    position: absolute;
    right: -4px;
    bottom: 8px;

    width: 49px;
    height: 49px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 5px solid #f5f8fc;
    border-radius: 50%;

    background: #ffffff;
    color: #6c7f9b;

    cursor: pointer;

    box-shadow:
        0 7px 18px rgba(15, 23, 42, 0.10);
}

.pf-profile-camera-button svg {
    width: 23px;
    height: 23px;

    fill: #6c7f9b;
}

.pf-profile-change-photo {
    width: 205px;
    min-height: 58px;
    margin-top: 16px;
    padding: 10px 14px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border: 1px solid #b8cae7;
    border-radius: 9px;

    background: rgba(255, 255, 255, 0.78);
    color: #24364f;

    cursor: pointer;
}

.pf-profile-change-photo-icon {
    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-profile-change-photo-icon svg {
    width: 20px;
    height: 20px;

    fill: #596e8c;
}

.pf-profile-change-photo strong {
    display: block;

    font-size: 12px;
    line-height: 1.3;
}

.pf-profile-change-photo small {
    display: block;
    margin-top: 2px;

    color: #667085;

    font-size: 10px;
}

/* Name */

.pf-profile-name-area {
    padding-top: 26px;
}

.pf-profile-name-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 16px;
}

.pf-profile-name-line h1 {
    margin: 0;

    color: #101828;

    font-size: 48px;
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.pf-profile-verified {
    display: inline-flex;
    align-items: center;

    min-height: 34px;
    padding: 7px 14px;

    border: 1px solid #a6e8c2;
    border-radius: 999px;

    background: #ebfbf1;
    color: #079447;

    font-size: 12px;
    font-weight: 700;
}

.pf-profile-role {
    margin: 15px 0 27px;

    color: #52637c;

    font-size: 15px;
}

.pf-profile-role span {
    margin: 0 8px;
}

.pf-profile-name-area h2 {
    margin: 0 0 8px;

    color: #101828;

    font-size: 17px;
    font-weight: 750;
}

.pf-profile-transfer-note {
    margin: 0;

    color: #667085;

    font-size: 14px;
}

/* Info Grid */

.pf-profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.pf-profile-info-card {
    min-height: 84px;
    padding: 17px 20px;

    display: flex;
    align-items: center;

    gap: 15px;

    border: 1px solid #dbe3ee;
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.82);

    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.045);
}

.pf-profile-info-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 20px;
}

.pf-profile-info-icon.purple {
    background: #eef0ff;
}

.pf-profile-info-icon.brown {
    background: #f5eff1;
}

.pf-profile-info-icon.blue {
    background: #eaf5ff;
}

.pf-profile-info-icon.pink {
    background: #fff0f5;
}

.pf-profile-info-card span {
    display: block;
    margin-bottom: 4px;

    color: #667085;

    font-size: 12px;
}

.pf-profile-info-card strong {
    display: block;

    color: #101828;

    font-size: 14px;
}

/* Expertise */

.pf-profile-expertise {
    margin-top: 26px;
}

.pf-profile-expertise h3 {
    margin: 0 0 13px;

    color: #101828;

    font-size: 16px;
    font-weight: 750;
}

.pf-profile-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;
}

.pf-profile-tags span {
    display: inline-flex;
    align-items: center;

    min-height: 33px;
    padding: 7px 13px;

    border: 1px solid #c7d8f5;
    border-radius: 999px;

    background: rgba(248, 251, 255, 0.88);
    color: #1769e8;

    font-size: 11px;
    font-weight: 650;
}

/* Security */

.pf-profile-security-note {
    margin-top: 24px;
    padding: 20px 22px;

    display: flex;
    align-items: center;

    gap: 15px;

    border: 1px solid #c9dcf7;
    border-radius: 12px;

    background: rgba(244, 248, 255, 0.90);
}

.pf-profile-security-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e6f0ff;
    color: #1769e8;
}

.pf-profile-security-icon svg {
    width: 25px;
    height: 25px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.pf-profile-security-note strong {
    color: #101828;

    font-size: 13px;
}

.pf-profile-security-note p {
    margin: 5px 0 0;

    color: #53647c;

    font-size: 11px;
    line-height: 1.6;
}

/* Right Purpose Card */

.pf-profile-purpose-card {
    min-height: 660px;
    padding: 38px 36px 34px;

    display: flex;
    flex-direction: column;

    border: 1px solid rgba(222, 229, 240, 0.85);
    border-radius: 22px;

    background: rgba(255, 255, 255, 0.94);

    box-shadow:
        0 28px 65px rgba(38, 67, 108, 0.13);
}

.pf-profile-purpose-card h2 {
    max-width: 290px;
    margin: 0 0 26px;

    color: #101828;

    font-size: 27px;
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.pf-profile-purpose-list article {
    padding: 20px 0;

    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);

    gap: 16px;
    align-items: start;

    border-bottom: 1px solid #dce4ef;
}

.pf-profile-purpose-list article:last-child {
    border-bottom: 0;
}

.pf-profile-purpose-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 19px;
}

.pf-profile-purpose-icon.purple {
    background: #edf0ff;
}

.pf-profile-purpose-icon.green {
    background: #e8f8ef;
    color: #10a650;
}

.pf-profile-purpose-icon.violet {
    background: #f0eaff;
    color: #7c3aed;
}

.pf-profile-purpose-icon.yellow {
    background: #fff3d5;
}

.pf-profile-purpose-list strong {
    display: block;
    margin-bottom: 6px;

    color: #101828;

    font-size: 14px;
}

.pf-profile-purpose-list p {
    margin: 0;

    color: #53647c;

    font-size: 12px;
    line-height: 1.55;
}

.pf-profile-continue-button {
    width: 100%;
    min-height: 60px;
    margin-top: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 27px;

    border-radius: 8px;

    background: #1262e7;
    color: #ffffff;

    font-size: 15px;
    font-weight: 750;

    text-decoration: none;

    transition:
        background 0.15s ease,
        transform 0.15s ease;
}

.pf-profile-continue-button:hover {
    background: #0755d2;
    color: #ffffff;

    transform: translateY(-1px);
}

/* Responsive */

@media (max-width: 1100px) {

    .pf-profile-main {
        grid-template-columns: 1fr 360px;
        gap: 28px;
    }

    .pf-profile-identity {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 28px;
    }

    .pf-profile-photo-wrapper {
        width: 180px;
        height: 180px;
    }

    .pf-profile-change-photo {
        width: 185px;
    }

    .pf-profile-name-line h1 {
        font-size: 40px;
    }
}

@media (max-width: 900px) {

    .pf-profile-header,
    .pf-profile-main {
        width: min(720px, calc(100% - 40px));
    }

    .pf-profile-main {
        grid-template-columns: 1fr;
    }

    .pf-profile-purpose-card {
        min-height: auto;
    }

    .pf-profile-continue-button {
        margin-top: 28px;
    }
}

@media (max-width: 650px) {

    .pf-profile-header {
        min-height: 90px;
    }

    .pf-profile-logo {
        width: 220px;
    }

    .pf-profile-brand-subtitle {
        font-size: 9px;
    }

    .pf-profile-back {
        font-size: 11px;
    }

    .pf-profile-identity {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .pf-profile-name-line {
        justify-content: center;
    }

    .pf-profile-role {
        line-height: 1.6;
    }

    .pf-profile-info-grid {
        grid-template-columns: 1fr;
    }

    .pf-profile-tags {
        justify-content: center;
    }

    .pf-profile-security-note {
        align-items: flex-start;
    }
}
/* =======================================================
   DASHBOARD PAGE
======================================================= */
/* =======================================================
   DASHBOARD LAYOUT
======================================================= */

.pf-dashboard-content{

    display:flex;

    flex-direction:column;

    gap:34px;

}



.pf-dashboard-content-header{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

}



.pf-dashboard-content-header h1{

    font-size:58px;

    font-weight:800;

    color:#14233d;

    margin-bottom:8px;

}



.pf-dashboard-content-header p{

    font-size:20px;

    color:#667085;

    margin:0;

}



.pf-dashboard-new-project-button{

    background:#2563eb;

    color:#fff;

    text-decoration:none;

    padding:18px 34px;

    border-radius:16px;

    font-weight:700;

    font-size:18px;

    display:flex;

    align-items:center;

    gap:10px;

    transition:.25s;

}



.pf-dashboard-new-project-button:hover{

    background:#1d4ed8;

    color:#fff;

}
/* =======================================================
   SUMMARY CARDS
======================================================= */

.pf-dashboard-summary-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:26px;

}



.pf-dashboard-summary-card{

    background:#fff;

    border-radius:22px;

    padding:28px;

    display:flex;

    gap:22px;

    align-items:center;

    box-shadow:0 12px 40px rgba(15,23,42,.08);

}



.pf-dashboard-summary-icon{

    width:64px;

    height:64px;

    border-radius:18px;

    display:flex;

    justify-content:center;

    align-items:center;

}



.pf-dashboard-summary-icon svg{

    width:28px;

    stroke:currentColor;

    stroke-width:2;

    fill:none;

}



.pf-dashboard-summary-icon.blue{

    background:#eef4ff;

    color:#2563eb;

}



.pf-dashboard-summary-icon.green{

    background:#ecfdf3;

    color:#16a34a;

}



.pf-dashboard-summary-icon.purple{

    background:#f5f3ff;

    color:#7c3aed;

}



.pf-dashboard-summary-label{

    display:block;

    color:#667085;

    font-size:13px;

    text-transform:uppercase;

    margin-bottom:10px;

}



.pf-dashboard-summary-value{

    display:block;

    font-size:42px;

    font-weight:800;

    color:#14233d;

}



.pf-dashboard-summary-value.date{

    font-size:34px;

}



.pf-dashboard-summary-value.healthy{

    color:#16a34a;

}


.pf-dashboard-summary-card small{

    color:#16a34a;

    font-size:15px;

}
/* Summary card size correction */

.pf-dashboard-summary-grid {
    gap: 18px;
}

.pf-dashboard-summary-card {
    min-height: 132px;
    padding: 22px 20px;
    gap: 16px;

    border: 1px solid #e3e9f2;
    border-radius: 14px;

    box-shadow: 0 7px 22px rgba(15, 23, 42, 0.05);
}

.pf-dashboard-summary-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;

    border-radius: 11px;
}

.pf-dashboard-summary-icon svg {
    width: 25px;
    height: 25px;
}

.pf-dashboard-summary-label {
    margin-bottom: 6px;

    font-size: 10px;
    font-weight: 700;
}

.pf-dashboard-summary-value {
    margin-bottom: 5px;

    font-size: 25px;
    line-height: 1.15;
}

.pf-dashboard-summary-value.date {
    font-size: 22px;
}

.pf-dashboard-summary-card small {
    font-size: 11px;
}

/* =======================================================
   RECENT PROJECTS
======================================================= */

.pf-dashboard-project-table {
    width: 100%;
}

.pf-dashboard-project-head {
    min-height: 44px;
    padding: 12px 22px;

    display: grid;
    grid-template-columns:
        minmax(320px, 1.8fr)
        125px
        105px
        110px;
    gap: 16px;
    align-items: center;

    color: #667085;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pf-dashboard-project-row {
    min-height: 78px;
    padding: 13px 22px;

    display: grid;
    grid-template-columns:
        minmax(320px, 1.8fr)
        125px
        105px
        110px;
    gap: 16px;
    align-items: center;

    border-top: 1px solid #e8edf4;
}

.pf-dashboard-project-row:hover {
    background: #f8fbff;
}

.pf-dashboard-project-name {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 14px;
}

.pf-dashboard-project-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;
}

.pf-dashboard-project-icon svg {
    width: 23px;
    height: 23px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-dashboard-project-icon.purple {
    background: #f0eaff;
    color: #7545db;
}

.pf-dashboard-project-icon.green {
    background: #e8f8ef;
    color: #129b52;
}

.pf-dashboard-project-icon.orange {
    background: #fff2df;
    color: #f28b16;
}

.pf-dashboard-project-name strong {
    display: block;
    margin-bottom: 4px;

    color: #14233d;
    font-size: 13px;
    font-weight: 750;
}

.pf-dashboard-project-name p {
    margin: 0;

    color: #667085;
    font-size: 11px;
    line-height: 1.45;
}

.pf-dashboard-project-row time {
    color: #344054;
    font-size: 12px;
}

.pf-dashboard-status {
    width: fit-content;
    padding: 4px 8px;

    border-radius: 6px;

    font-size: 10px;
    font-weight: 700;
}

.pf-dashboard-status.completed {
    background: #148b55;
    color: #ffffff;
}

.pf-dashboard-project-report {
    display: flex;
    justify-content: flex-end;
}

.pf-dashboard-project-report.muted {
    color: #98a2b3;
}

.pf-dashboard-pdf-button {
    padding: 7px 11px;

    border: 1px solid #1769e8;
    border-radius: 7px;

    color: #1769e8;
    background: #ffffff;

    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.pf-dashboard-pdf-button:hover {
    background: #1769e8;
    color: #ffffff;
}
/* =======================================================
   RECENT ACTIVITY
======================================================= */
.pf-dashboard-activity-panel{
    margin-top:32px;
}
.pf-dashboard-activity-list {
    width: 100%;
}

.pf-dashboard-activity-item {
    min-height: 76px;
    padding: 14px 20px;

    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;

    border-bottom: 1px solid #e8edf4;
}

.pf-dashboard-activity-item:last-child {
    border-bottom: 0;
}

.pf-dashboard-activity-item:hover {
    background: #f8fbff;
}

.pf-dashboard-activity-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
}

.pf-dashboard-activity-icon svg {
    width: 22px;
    height: 22px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-dashboard-activity-icon.green {
    background: #e8f8ef;
    color: #129b52;
}

.pf-dashboard-activity-icon.blue {
    background: #eaf2ff;
    color: #1769e8;
}

.pf-dashboard-activity-icon.purple {
    background: #f0eaff;
    color: #7545db;
}

.pf-dashboard-activity-icon.orange {
    background: #fff2df;
    color: #f28b16;
}

.pf-dashboard-activity-copy {
    min-width: 0;
}

.pf-dashboard-activity-copy strong {
    display: block;
    margin-bottom: 4px;

    color: #14233d;
    font-size: 12px;
    font-weight: 750;
}

.pf-dashboard-activity-copy p {
    margin: 0;

    color: #667085;
    font-size: 11px;
    line-height: 1.4;
}

.pf-dashboard-activity-item time {
    color: #667085;
    font-size: 11px;
    white-space: nowrap;
}
/* =======================================================
   DASHBOARD PAGE SHELL
======================================================= */

.pf-dashboard-body {
    margin: 0;
    min-height: 100vh;

    background: #f6f8fb;

    color: #14233d;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;
}

.pf-dashboard-page,
.pf-dashboard-page * {
    box-sizing: border-box;
}

.pf-dashboard-page {
    min-height: 100vh;
}


.pf-dashboard-logo {
    display: block;
    width: 255px;
    height: auto;
    max-width: none;
}


.pf-dashboard-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

.pf-dashboard-user-button {
    padding: 4px 4px 4px 8px;

    display: flex;
    align-items: center;
    gap: 13px;

    border: 0;
    background: transparent;

    color: #14233d;
}

.pf-dashboard-user-photo {
    width: 52px;
    height: 52px;

    border-radius: 50%;

    object-fit: cover;
    object-position: center top;

    border: 3px solid #e4eaf2;
}

.pf-dashboard-user-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pf-dashboard-user-copy strong {
    color: #14233d;
    font-size: 14px;
}

.pf-dashboard-user-copy small {
    margin-top: 2px;

    color: #667085;
    font-size: 12px;
}

.pf-dashboard-layout {
    min-height: calc(100vh - 102px);

    display: grid;
    grid-template-columns: 275px minmax(0, 1fr);
}
/* =======================================================
   DASHBOARD SIDEBAR
======================================================= */

.pf-dashboard-sidebar {
    min-height: calc(100vh - 102px);
    padding: 20px;

    display: flex;
    flex-direction: column;

    border-right: 1px solid #dce3ec;
    background: #ffffff;
}

.pf-dashboard-navigation {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pf-dashboard-nav-item {
    min-height: 58px;
    padding: 0 16px;

    display: flex;
    align-items: center;
    gap: 15px;

    border-radius: 10px;

    color: #344054;
    font-size: 15px;
    font-weight: 650;
    text-decoration: none;
}

.pf-dashboard-nav-item:hover {
    background: #f2f6fc;
    color: #1769e8;
}

.pf-dashboard-nav-item.active {
    background: #edf4ff;
    color: #1769e8;
}

.pf-dashboard-nav-icon {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-dashboard-nav-icon svg {
    width: 24px;
    height: 24px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-dashboard-support-card {
    margin-top: auto;
    padding: 18px;

    display: flex;
    gap: 13px;

    border: 1px solid #c8daf6;
    border-radius: 12px;

    background: #f3f7ff;
}

.pf-dashboard-support-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    color: #1769e8;
}

.pf-dashboard-support-icon svg {
    width: 30px;
    height: 30px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-dashboard-support-card strong {
    display: block;
    margin-bottom: 7px;

    color: #1769e8;
    font-size: 12px;
}

.pf-dashboard-support-card p {
    margin: 0 0 12px;

    color: #344054;
    font-size: 11px;
    line-height: 1.5;
}

.pf-dashboard-support-card a {
    display: inline-flex;
    gap: 8px;

    color: #1769e8;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}
/* =======================================================
   DASHBOARD MAIN AND WIZARD
======================================================= */

.pf-dashboard-main {
    min-width: 0;
    padding: 18px 22px 0;
}

.pf-dashboard-wizard {
    min-height: 94px;
    padding: 16px 42px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;

    border: 1px solid #e3e9f2;
    border-radius: 16px;

    background: #ffffff;

    box-shadow: 0 7px 22px rgba(15, 23, 42, 0.05);
}

.pf-dashboard-wizard-step {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    color: #52637c;

    font-size: 11px;
    text-align: center;
}

.pf-dashboard-wizard-step:not(:last-child)::after {
    content: "";

    position: absolute;
    top: 16px;
    left: calc(50% + 27px);

    width: calc(100% - 54px);
    height: 2px;

    background: #d6deea;
}

.pf-dashboard-wizard-step.active:not(:last-child)::after {
    background:
        linear-gradient(
            to right,
            #1769e8 45%,
            #d6deea 45%
        );
}

.pf-dashboard-wizard-number {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e8eef6;
    color: #344054;

    font-size: 13px;
    font-weight: 750;

    position: relative;
    z-index: 2;
}

.pf-dashboard-wizard-step.active {
    color: #1769e8;
    font-weight: 700;
}

.pf-dashboard-wizard-step.active .pf-dashboard-wizard-number {
    background: #1769e8;
    color: #ffffff;
}

.pf-dashboard-content {
    margin-top: 22px;
}

.pf-dashboard-content-header h1 {
    margin: 0 0 6px;

    color: #14233d;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pf-dashboard-content-header p {
    margin: 0;

    color: #52637c;
    font-size: 13px;
}

.pf-dashboard-new-project-button {
    min-height: 50px;
    padding: 0 20px;

    border-radius: 8px;

    font-size: 14px;
}
/* =======================================================
   DASHBOARD FOOTER
======================================================= */

.pf-dashboard-footer {
    min-height: 64px;
    padding: 22px 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #667085;
    font-size: 11px;
}


/* =======================================================
   DASHBOARD RESPONSIVE
======================================================= */

@media (max-width: 1300px) {

    .pf-dashboard-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pf-dashboard-lower-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1050px) {

    .pf-dashboard-layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .pf-dashboard-sidebar {
        padding: 16px 12px;
    }

    .pf-dashboard-project-head {
        display: none;
    }

    .pf-dashboard-project-row {
        grid-template-columns: 1fr 110px;
    }

    .pf-dashboard-project-row time,
    .pf-dashboard-status {
        justify-self: end;
    }

    .pf-dashboard-project-report {
        grid-column: 2;
    }
}

@media (max-width: 800px) {




    .pf-dashboard-user-copy {
        display: none;
    }

    .pf-dashboard-layout {
        grid-template-columns: 1fr;
    }

    .pf-dashboard-sidebar {
        min-height: auto;
        padding: 12px;

        border-right: 0;
        border-bottom: 1px solid #dce3ec;
    }

    .pf-dashboard-navigation {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .pf-dashboard-nav-item {
        justify-content: center;
        padding: 0 8px;

        font-size: 12px;
    }

    .pf-dashboard-support-card {
        display: none;
    }

    .pf-dashboard-main {
        padding: 14px;
    }

    .pf-dashboard-content-header {
        flex-direction: column;
        gap: 18px;
    }

    .pf-dashboard-summary-grid {
        grid-template-columns: 1fr;
    }

    .pf-dashboard-wizard {
        padding: 14px 10px;
    }
}
/* =======================================================
   S24.1 — NEW PROJECT PAGE
======================================================= */

.pf-new-project-page {
    margin-top: 22px;
    padding-bottom: 24px;
}

/* Introduction banner */

.pf-new-project-intro-banner {
    min-height: 76px;
    padding: 16px 20px;

    display: flex;
    align-items: center;
    gap: 16px;

    border: 1px solid #c8dcfa;
    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #f0f6ff 0%,
            #f8fbff 100%
        );
}

.pf-new-project-intro-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e5efff;
    color: #1769e8;
}

.pf-new-project-intro-icon svg {
    width: 25px;
    height: 25px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-new-project-intro-banner strong {
    display: block;
    margin-bottom: 5px;

    color: #1262d7;

    font-size: 14px;
    font-weight: 750;
}

.pf-new-project-intro-banner p {
    margin: 0;

    color: #52637c;

    font-size: 12px;
    line-height: 1.5;
}

/* Header */

.pf-new-project-header {
    margin: 20px 0 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}

.pf-new-project-header h1 {
    margin: 0 0 6px;

    color: #14233d;

    font-size: 29px;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.pf-new-project-header p {
    margin: 0;

    color: #667085;

    font-size: 12px;
}

.pf-new-project-back-button {
    min-height: 43px;
    padding: 0 16px;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    border: 1px solid #ccd6e5;
    border-radius: 8px;

    background: #ffffff;
    color: #344054;

    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
}

.pf-new-project-back-button:hover {
    border-color: #1769e8;
    color: #1769e8;
}

/* Main card */

.pf-new-project-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;

    background: #ffffff;

    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.045);

    overflow: hidden;
}

.pf-new-project-card-header {
    min-height: 52px;
    padding: 15px 18px;

    display: flex;
    align-items: center;

    border-bottom: 1px solid #e3e9f2;
}

.pf-new-project-card-header h2 {
    margin: 0;

    color: #14233d;

    font-size: 14px;
    font-weight: 750;
}

/* Form */

.pf-new-project-form {
    padding: 14px 18px 20px;

    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pf-new-project-field {
    min-width: 0;
}

.pf-new-project-field label {
    display: block;
    margin-bottom: 7px;

    color: #14233d;

    font-size: 11px;
    font-weight: 700;
}

.pf-new-project-field label span {
    color: #e5484d;
}

.pf-new-project-field input,
.pf-new-project-field select,
.pf-new-project-field textarea {
    width: 100%;

    border: 1px solid #ccd6e5;
    border-radius: 6px;

    background: #ffffff;
    color: #14233d;

    font-family: inherit;
    font-size: 12px;

    outline: none;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.pf-new-project-field input,
.pf-new-project-field select {
    min-height: 38px;
    padding: 0 12px;
}

.pf-new-project-field textarea {
    min-height: 76px;
    padding: 10px 12px;

    resize: vertical;
}

.pf-new-project-field input:focus,
.pf-new-project-field select:focus,
.pf-new-project-field textarea:focus {
    border-color: #1769e8;

    box-shadow:
        0 0 0 3px rgba(23, 105, 232, 0.10);
}

.pf-new-project-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.pf-new-project-textarea-wrapper {
    position: relative;
}

.pf-new-project-textarea-wrapper small {
    position: absolute;
    right: 10px;
    bottom: 8px;

    color: #667085;

    font-size: 9px;
}

/* File and analysis row */

.pf-new-project-data-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr);

    gap: 16px;
    align-items: stretch;
}

.pf-new-project-upload-area {
    min-height: 150px;
    padding: 14px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1px dashed #afbed3;
    border-radius: 8px;

    background: #fbfcfe;

    text-align: center;

    transition:
        border-color 0.15s ease,
        background 0.15s ease;
}

.pf-new-project-upload-area.dragging {
    border-color: #1769e8;
    background: #f0f6ff;
}

.pf-new-project-upload-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 6px;

    color: #1769e8;
}

.pf-new-project-upload-icon svg {
    width: 100%;
    height: 100%;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-new-project-upload-area strong {
    color: #14233d;

    font-size: 11px;
}

.pf-new-project-upload-area > span {
    margin: 5px 0;

    color: #667085;

    font-size: 10px;
}

.pf-new-project-choose-file {
    min-height: 30px;
    padding: 0 13px;

    border: 1px solid #1769e8;
    border-radius: 5px;

    background: #ffffff;
    color: #1769e8;

    font-size: 10px;
    font-weight: 700;
}

.pf-new-project-selected-file {
    width: 100%;
    margin-top: 9px;
    padding: 9px 8px 0;

    display: none;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid #e3e9f2;

    color: #667085;

    font-size: 10px;
}

.pf-new-project-selected-file.visible {
    display: flex;
}

.pf-new-project-selected-file > div {
    display: flex;
    align-items: center;
    gap: 7px;
}

.pf-new-project-file-check {
    width: 17px;
    height: 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #26b36a;
    border-radius: 50%;

    color: #26b36a;

    font-size: 10px;
}

.pf-new-project-selected-file button {
    padding: 0;

    border: 0;
    background: transparent;

    color: #7585a0;

    font-size: 21px;
    line-height: 1;
}

/* Analysis note */

.pf-new-project-analysis-note {
    padding: 20px;

    display: flex;
    align-items: flex-start;
    gap: 14px;

    border: 1px solid #bfe8d1;
    border-radius: 8px;

    background:
        linear-gradient(
            120deg,
            #effbf4 0%,
            #f7fdf9 100%
        );
}

.pf-new-project-analysis-icon {
    flex: 0 0 auto;

    color: #129b52;

    font-size: 25px;
    line-height: 1;
}

.pf-new-project-analysis-note strong {
    display: block;
    margin-bottom: 9px;

    color: #12864a;

    font-size: 13px;
    font-weight: 750;
}

.pf-new-project-analysis-note p {
    margin: 0;

    color: #465a70;

    font-size: 11px;
    line-height: 1.7;
}

/* Bottom actions */

.pf-new-project-actions {
    margin-top: 18px;

    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 14px;
}

.pf-new-project-draft-button,
.pf-new-project-continue-button {
    min-height: 44px;
    padding: 0 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    border-radius: 7px;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
}

.pf-new-project-draft-button {
    border: 1px solid #ccd6e5;

    background: #ffffff;
    color: #344054;
}

.pf-new-project-draft-button:hover {
    border-color: #1769e8;
    color: #1769e8;
}

.pf-new-project-continue-button {
    border: 1px solid #1769e8;

    background: #1769e8;
    color: #ffffff;
}

.pf-new-project-continue-button:hover {
    background: #0d5bd1;
}

/* Draft message */

.pf-new-project-draft-message {
    position: fixed;
    right: 28px;
    bottom: 28px;

    padding: 12px 17px;

    border-radius: 8px;

    background: #148b55;
    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.16);

    opacity: 0;
    pointer-events: none;

    transform: translateY(12px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.pf-new-project-draft-message.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */

@media (max-width: 1050px) {

    .pf-new-project-data-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {

    .pf-new-project-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .pf-new-project-two-column {
        grid-template-columns: 1fr;
    }

    .pf-new-project-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .pf-new-project-draft-button,
    .pf-new-project-continue-button {
        width: 100%;
    }
}
/* Dashboard üst bar düzenini geri getir */

.pf-dashboard-header {
    width: 100%;
    min-height: 145px;
    padding: 20px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #ffffff;
    border-bottom: 1px solid #dbe3ee;
}

.pf-dashboard-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 0 auto;

    text-decoration: none;
}

.pf-dashboard-logo {
    display: block;
    width: 220px;
    height: auto;
    max-width: none;
}

.pf-dashboard-user-dropdown {
    margin-left: auto;
    flex: 0 0 auto;
}
/* =========================================================
   S24.1 — NEW PROJECT PAGE FINAL LAYOUT
   Yalnızca /new-project sayfasını etkiler
========================================================= */

.pf-new-project-page {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding-bottom: 32px;
}

/* ---------------------------------------------------------
   Bilgilendirme bandı
--------------------------------------------------------- */

.pf-new-project-intro-banner {
    min-height: 76px;
    margin-bottom: 20px;
    padding: 16px 22px;

    display: flex;
    align-items: center;
    gap: 16px;

    border: 1px solid #cbdcff;
    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            rgba(239, 246, 255, 0.96),
            rgba(247, 250, 255, 0.96)
        );
}

.pf-new-project-intro-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #e8f1ff;
    color: #1769e8;
}

.pf-new-project-intro-icon svg {
    width: 25px;
    height: 25px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-new-project-intro-banner strong {
    display: block;
    margin-bottom: 5px;

    color: #0963dd;
    font-size: 15px;
    font-weight: 750;
}

.pf-new-project-intro-banner p {
    margin: 0;

    color: #52627a;
    font-size: 13px;
    line-height: 1.5;
}

/* ---------------------------------------------------------
   Başlık alanı
--------------------------------------------------------- */

.pf-new-project-header {
    margin-bottom: 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.pf-new-project-header h1 {
    margin: 0 0 5px;

    color: #101b34;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
}

.pf-new-project-header p {
    margin: 0;

    color: #60708a;
    font-size: 14px;
}

.pf-new-project-back-button {
    min-height: 42px;
    padding: 0 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border: 1px solid #ccd6e4;
    border-radius: 8px;

    background: #ffffff;
    color: #17233b;

    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

/* ---------------------------------------------------------
   Ana form kartı
--------------------------------------------------------- */

.pf-new-project-card {
    overflow: hidden;

    border: 1px solid #e1e7ef;
    border-radius: 12px;

    background: #ffffff;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.055);
}

.pf-new-project-card-header {
    min-height: 52px;
    padding: 0 18px;

    display: flex;
    align-items: center;

    border-bottom: 1px solid #e4e9f0;
    background: #ffffff;
}

.pf-new-project-card-header h2 {
    margin: 0;

    color: #17233b;
    font-size: 15px;
    font-weight: 750;
}

.pf-new-project-form {
    padding: 16px 18px 20px;
}

/* ---------------------------------------------------------
   Form alanları
--------------------------------------------------------- */

.pf-new-project-field {
    min-width: 0;
    margin-bottom: 14px;
}

.pf-new-project-field label {
    display: block;
    margin-bottom: 7px;

    color: #17233b;
    font-size: 12px;
    font-weight: 700;
}

.pf-new-project-field label span {
    color: #dc3545;
}

.pf-new-project-field input,
.pf-new-project-field select,
.pf-new-project-field textarea {
    width: 100%;

    border: 1px solid #cfd8e6;
    border-radius: 7px;

    background: #ffffff;
    color: #17233b;

    font-family: inherit;
    font-size: 13px;

    outline: none;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.pf-new-project-field input,
.pf-new-project-field select {
    height: 42px;
    padding: 0 12px;
}

.pf-new-project-field textarea {
    min-height: 92px;
    padding: 11px 12px 25px;

    resize: vertical;
    line-height: 1.5;
}

.pf-new-project-field input:focus,
.pf-new-project-field select:focus,
.pf-new-project-field textarea:focus {
    border-color: #1769e8;
    box-shadow: 0 0 0 3px rgba(23, 105, 232, 0.11);
}

.pf-new-project-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.pf-new-project-textarea-wrapper {
    position: relative;
}

.pf-new-project-textarea-wrapper small {
    position: absolute;
    right: 11px;
    bottom: 8px;

    color: #718096;
    font-size: 10px;
}

/* ---------------------------------------------------------
   Dosya yükleme + ön analiz
--------------------------------------------------------- */

.pf-new-project-data-row {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 18px;
    align-items: stretch;
}

.pf-new-project-data-row > .pf-new-project-field {
    margin-bottom: 0;
}

.pf-new-project-upload-area {
    min-height: 150px;
    padding: 17px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1px dashed #aebfd8;
    border-radius: 9px;

    background: #fbfdff;
    text-align: center;

    transition:
        border-color 0.18s ease,
        background 0.18s ease;
}

.pf-new-project-upload-area.dragging {
    border-color: #1769e8;
    background: #f1f6ff;
}

.pf-new-project-upload-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 8px;

    color: #1769e8;
}

.pf-new-project-upload-icon svg {
    width: 100%;
    height: 100%;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-new-project-upload-area > strong {
    color: #17233b;
    font-size: 12px;
    font-weight: 750;
}

.pf-new-project-upload-area > span {
    margin: 5px 0;

    color: #718096;
    font-size: 11px;
}

.pf-new-project-choose-file {
    min-height: 32px;
    padding: 0 13px;

    border: 1px solid #1769e8;
    border-radius: 6px;

    background: #ffffff;
    color: #1769e8;

    font-family: inherit;
    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}

.pf-new-project-selected-file {
    width: 100%;
    margin-top: 12px;
    padding: 9px 10px;

    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    border-top: 1px solid #e3e8ef;

    color: #64748b;
    font-size: 11px;
}

.pf-new-project-selected-file.visible {
    display: flex;
}

.pf-new-project-selected-file > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.pf-new-project-file-check {
    width: 19px;
    height: 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #2dbd73;
    border-radius: 50%;

    color: #159554;
    font-size: 11px;
    font-weight: 800;
}

.pf-new-project-selected-file button {
    border: 0;
    background: transparent;
    color: #64748b;

    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

/* ---------------------------------------------------------
   Ücretsiz ön analiz
--------------------------------------------------------- */

.pf-new-project-analysis-note {
    min-height: 150px;
    padding: 21px 22px;

    display: flex;
    align-items: flex-start;
    gap: 14px;

    border: 1px solid #bfe6d0;
    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #f3fff8 0%,
            #edf9f3 100%
        );
}

.pf-new-project-analysis-icon {
    color: #14935b;
    font-size: 25px;
    line-height: 1;
}

.pf-new-project-analysis-note strong {
    display: block;
    margin-bottom: 9px;

    color: #137847;
    font-size: 14px;
    font-weight: 750;
}

.pf-new-project-analysis-note p {
    max-width: 360px;
    margin: 0;

    color: #52627a;
    font-size: 12px;
    line-height: 1.65;
}

/* ---------------------------------------------------------
   Alt aksiyonlar
--------------------------------------------------------- */

.pf-new-project-actions {
    margin-top: 18px;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.pf-new-project-draft-button,
.pf-new-project-continue-button {
    min-height: 44px;
    padding: 0 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border-radius: 8px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.pf-new-project-draft-button {
    border: 1px solid #cdd7e4;
    background: #ffffff;
    color: #17233b;
}

.pf-new-project-continue-button {
    min-width: 250px;

    border: 1px solid #1769e8;
    background: #1769e8;
    color: #ffffff;

    box-shadow:
        0 8px 18px rgba(23, 105, 232, 0.18);
}

.pf-new-project-draft-message {
    position: fixed;
    right: 30px;
    bottom: 30px;

    padding: 11px 16px;

    border-radius: 8px;
    background: #17233b;
    color: #ffffff;

    font-size: 12px;

    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.pf-new-project-draft-message.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */

@media (max-width: 1100px) {
    .pf-new-project-data-row {
        grid-template-columns: 1fr;
    }

    .pf-new-project-analysis-note p {
        max-width: none;
    }
}

@media (max-width: 760px) {
    .pf-new-project-two-column {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pf-new-project-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .pf-new-project-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .pf-new-project-draft-button,
    .pf-new-project-continue-button {
        width: 100%;
    }
}
/* =========================================================
   S24.1 — NEW PROJECT VERTICAL COMPACTING
========================================================= */

.pf-new-project-page {
    padding-bottom: 20px;
}

.pf-new-project-intro-banner {
    min-height: 64px;
    margin-bottom: 14px;
    padding: 12px 18px;
}

.pf-new-project-intro-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
}

.pf-new-project-header {
    margin-bottom: 13px;
}

.pf-new-project-header h1 {
    margin-bottom: 3px;
    font-size: 28px;
}

.pf-new-project-card-header {
    min-height: 46px;
}

.pf-new-project-form {
    padding: 13px 18px 16px;
}

.pf-new-project-field {
    margin-bottom: 10px;
}

.pf-new-project-field label {
    margin-bottom: 5px;
}

.pf-new-project-field input,
.pf-new-project-field select {
    height: 39px;
}

.pf-new-project-field textarea {
    min-height: 76px;
    padding-top: 9px;
}

.pf-new-project-upload-area {
    min-height: 128px;
    padding: 13px 16px;
}

.pf-new-project-upload-icon {
    width: 37px;
    height: 37px;
    margin-bottom: 5px;
}

.pf-new-project-analysis-note {
    min-height: 128px;
    padding: 17px 19px;
}

.pf-new-project-analysis-note strong {
    margin-bottom: 6px;
}

.pf-new-project-actions {
    margin-top: 13px;
}

.pf-new-project-draft-button,
.pf-new-project-continue-button {
    min-height: 41px;
}
/* =========================================================
   S24.1 — ANALYSIS V2 / PART 1
   MAIN LAYOUT + CARDS + DATASET + PLAN + DECISION ENGINE
========================================================= */

.pf-analysis-page {
    --analysis-primary: #1769e8;
    --analysis-primary-dark: #0b4fb3;
    --analysis-primary-soft: #edf5ff;

    --analysis-success: #169b61;
    --analysis-success-dark: #0c7747;
    --analysis-success-soft: #edf9f3;

    --analysis-purple: #7557e8;
    --analysis-purple-soft: #f3efff;

    --analysis-text: #14233d;
    --analysis-muted: #66758d;
    --analysis-border: #dfe7f0;
    --analysis-background: #f6f8fb;
    --analysis-surface: #ffffff;

    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding-bottom: 30px;

    color: var(--analysis-text);
}

/* =========================================================
   PAGE HEADER
========================================================= */

.pf-analysis-page-header {
    margin-bottom: 18px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.pf-analysis-page-title {
    margin: 0 0 7px;

    color: var(--analysis-text);

    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.pf-analysis-page-subtitle {
    max-width: 760px;
    margin: 0;

    color: var(--analysis-muted);

    font-size: 14px;
    line-height: 1.65;
}

.pf-analysis-ready-badge {
    min-height: 34px;
    padding: 0 12px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    border: 1px solid #bfe6d2;
    border-radius: 999px;

    background: var(--analysis-success-soft);
    color: var(--analysis-success-dark);

    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.pf-analysis-ready-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--analysis-success);

    box-shadow:
        0 0 0 4px rgba(22, 155, 97, 0.12);
}

/* =========================================================
   MAIN WORKSPACE
========================================================= */

.pf-analysis-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 365px;
    gap: 22px;
    align-items: start;
}

.pf-analysis-main {
    min-width: 0;
}

/* =========================================================
   COMMON CARD
========================================================= */

.pf-analysis-card {
    margin-bottom: 18px;

    overflow: hidden;

    border: 1px solid var(--analysis-border);
    border-radius: 14px;

    background: var(--analysis-surface);

    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.05);
}

.pf-analysis-card:last-child {
    margin-bottom: 0;
}

.pf-analysis-card-heading {
    min-height: 64px;
    padding: 16px 20px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;

    border-bottom: 1px solid #e9eef4;
}

.pf-analysis-card-heading h2 {
    margin: 0;

    color: var(--analysis-text);

    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.pf-analysis-card-eyebrow {
    display: block;
    margin-bottom: 5px;

    color: var(--analysis-muted);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* =========================================================
   DATASET CARD
========================================================= */

.pf-analysis-verified-badge {
    min-height: 30px;
    padding: 0 10px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    border: 1px solid #bfe6d2;
    border-radius: 999px;

    background: var(--analysis-success-soft);
    color: var(--analysis-success-dark);

    font-size: 10px;
    font-weight: 750;
    white-space: nowrap;
}

.pf-analysis-verified-badge span {
    width: 17px;
    height: 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--analysis-success);
    color: #ffffff;

    font-size: 10px;
    line-height: 1;
}

.pf-analysis-dataset-content {
    padding: 20px;

    display: grid;
    grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.65fr);
    gap: 22px;
    align-items: center;
}

.pf-analysis-file-identity {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 15px;
}

.pf-analysis-file-icon {
    position: relative;

    width: 54px;
    height: 64px;
    flex: 0 0 54px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    border-radius: 9px;

    background:
        linear-gradient(
            145deg,
            #f2fff7,
            #def6e8
        );

    color: var(--analysis-success);
}

.pf-analysis-file-icon svg {
    position: absolute;
    inset: 0;

    width: 54px;
    height: 64px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-analysis-file-icon span {
    position: relative;
    z-index: 2;

    margin-bottom: 8px;
    padding: 3px 6px;

    border-radius: 4px;

    background: var(--analysis-success);
    color: #ffffff;

    font-size: 9px;
    font-weight: 800;
}

.pf-analysis-file-identity h3 {
    margin: 0 0 4px;

    color: var(--analysis-text);

    font-size: 16px;
    font-weight: 800;
}

.pf-analysis-file-identity p {
    margin: 0;

    color: var(--analysis-muted);

    font-size: 11px;
    line-height: 1.5;
}

.pf-analysis-dataset-metrics {
    min-width: 0;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pf-analysis-dataset-metric {
    min-width: 0;
    padding: 6px 18px;

    border-left: 1px solid var(--analysis-border);
}

.pf-analysis-dataset-metric strong {
    display: block;
    margin-bottom: 5px;

    color: var(--analysis-text);

    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.pf-analysis-dataset-metric span {
    display: block;

    color: var(--analysis-muted);

    font-size: 10px;
    line-height: 1.4;
}

/* =========================================================
   PLAN CARD
========================================================= */

.pf-analysis-plan-card {
    background:
        radial-gradient(
            circle at top right,
            rgba(22, 155, 97, 0.05),
            transparent 34%
        ),
        #ffffff;
}

.pf-analysis-best-option-badge {
    min-height: 30px;
    padding: 0 10px;

    display: inline-flex;
    align-items: center;

    border: 1px solid #bfe6d2;
    border-radius: 999px;

    background: var(--analysis-success-soft);
    color: var(--analysis-success-dark);

    font-size: 10px;
    font-weight: 750;
    white-space: nowrap;
}

.pf-analysis-plan-content {
    padding: 20px;
}

.pf-analysis-plan-highlight {
    margin-bottom: 18px;
    padding: 18px;

    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 17px;
    align-items: center;

    border: 1px solid #c5e8d5;
    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            rgba(238, 251, 244, 0.98),
            rgba(255, 255, 255, 0.98)
        );
}

.pf-analysis-plan-icon {
    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #c5e8d5;
    border-radius: 14px;

    background: #ffffff;
    color: var(--analysis-success);
}

.pf-analysis-plan-icon svg {
    width: 29px;
    height: 29px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-analysis-plan-label {
    margin-bottom: 4px;

    color: var(--analysis-success-dark);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pf-analysis-plan-description h3 {
    margin: 0 0 5px;

    color: var(--analysis-text);

    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}

.pf-analysis-plan-description p {
    max-width: 620px;
    margin: 0;

    color: var(--analysis-muted);

    font-size: 11px;
    line-height: 1.6;
}

.pf-analysis-efficiency {
    min-width: 130px;

    text-align: right;
}

.pf-analysis-efficiency > span {
    display: block;
    margin-bottom: 4px;

    color: var(--analysis-muted);

    font-size: 9px;
}

.pf-analysis-efficiency > strong {
    display: block;

    color: var(--analysis-success-dark);

    font-size: 16px;
    font-weight: 800;
}

.pf-analysis-efficiency-dots {
    margin-top: 7px;

    display: flex;
    justify-content: flex-end;
    gap: 5px;
}

.pf-analysis-efficiency-dots span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--analysis-success);
}

/* =========================================================
   METRIC GRID
========================================================= */

.pf-analysis-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.pf-analysis-metric-card {
    min-height: 118px;
    padding: 15px;

    display: flex;
    align-items: flex-start;
    gap: 12px;

    border: 1px solid var(--analysis-border);
    border-radius: 11px;

    background: #ffffff;
}

.pf-analysis-metric-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;
}

.pf-analysis-metric-icon svg {
    width: 22px;
    height: 22px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-analysis-metric-icon.blue {
    background: var(--analysis-primary-soft);
    color: var(--analysis-primary);
}

.pf-analysis-metric-icon.green {
    background: var(--analysis-success-soft);
    color: var(--analysis-success);
}

.pf-analysis-metric-icon.purple {
    background: var(--analysis-purple-soft);
    color: var(--analysis-purple);
}

.pf-analysis-metric-card > div:last-child {
    min-width: 0;
}

.pf-analysis-metric-card span {
    display: block;
    margin-bottom: 6px;

    color: var(--analysis-muted);

    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.pf-analysis-metric-card strong {
    display: block;

    color: var(--analysis-text);

    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

.pf-analysis-metric-card small {
    display: block;
    margin-top: 5px;

    color: var(--analysis-muted);

    font-size: 9px;
    line-height: 1.45;
}

/* =========================================================
   DECISION ENGINE
========================================================= */

.pf-analysis-decision-grid {
    padding: 18px 20px 14px;

    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.pf-analysis-decision-item {
    position: relative;

    min-height: 154px;
    padding: 14px 12px 13px;

    display: flex;
    flex-direction: column;
    align-items: center;

    border: 1px solid var(--analysis-border);
    border-radius: 11px;

    background: #ffffff;
    text-align: center;
}

.pf-analysis-decision-icon {
    width: 37px;
    height: 37px;
    margin-bottom: 11px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;
}

.pf-analysis-decision-icon svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-analysis-decision-icon.blue {
    background: var(--analysis-primary-soft);
    color: var(--analysis-primary);
}

.pf-analysis-decision-icon.green {
    background: var(--analysis-success-soft);
    color: var(--analysis-success);
}

.pf-analysis-decision-icon.purple {
    background: var(--analysis-purple-soft);
    color: var(--analysis-purple);
}

.pf-analysis-decision-item strong {
    display: block;
    margin-bottom: 6px;

    color: var(--analysis-text);

    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
}

.pf-analysis-decision-item p {
    margin: 0;

    color: var(--analysis-muted);

    font-size: 9px;
    line-height: 1.5;
}

.pf-analysis-decision-check {
    width: 18px;
    height: 18px;
    margin-top: auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--analysis-success);
    color: #ffffff;

    font-size: 10px;
    font-weight: 800;
}

/* =========================================================
   ACTIONS
========================================================= */

.pf-analysis-actions {
    padding: 14px 20px 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    border-top: 1px solid #e9eef4;
}

.pf-analysis-secondary-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pf-analysis-back-button,
.pf-analysis-settings-button,
.pf-analysis-start-button {
    min-height: 42px;
    padding: 0 16px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border-radius: 8px;

    font-family: inherit;
    font-size: 11px;
    font-weight: 750;
    text-decoration: none;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.pf-analysis-back-button {
    border: 1px solid #b9c5d4;

    background: #ffffff;
    color: var(--analysis-text);
}

.pf-analysis-settings-button {
    border: 1px solid #cfd8e6;

    background: #ffffff;
    color: #52627a;

    cursor: pointer;
}

.pf-analysis-settings-button svg {
    width: 16px;
    height: 16px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-analysis-start-button {
    min-width: 185px;

    border: 1px solid var(--analysis-success);

    background: var(--analysis-success);
    color: #ffffff;

    box-shadow:
        0 8px 20px rgba(22, 155, 97, 0.2);
}

.pf-analysis-start-icon {
    font-size: 10px;
}

.pf-analysis-back-button:hover,
.pf-analysis-settings-button:hover {
    border-color: var(--analysis-primary);
    color: var(--analysis-primary);

    transform: translateY(-1px);
}

.pf-analysis-start-button:hover {
    background: var(--analysis-success-dark);
    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
        0 10px 24px rgba(22, 155, 97, 0.26);
}

/* =========================================================
   PART 1 RESPONSIVE
========================================================= */

@media (max-width: 1250px) {
    .pf-analysis-workspace {
        grid-template-columns: minmax(0, 1fr) 330px;
    }

    .pf-analysis-dataset-content {
        grid-template-columns: 1fr;
    }

    .pf-analysis-file-identity {
        margin-bottom: 3px;
    }

    .pf-analysis-dataset-metric:first-child {
        border-left: 0;
    }

    .pf-analysis-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pf-analysis-decision-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .pf-analysis-workspace {
        grid-template-columns: 1fr;
    }

    .pf-analysis-plan-highlight {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .pf-analysis-efficiency {
        grid-column: 1 / -1;

        text-align: left;
    }

    .pf-analysis-efficiency-dots {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .pf-analysis-page-header {
        flex-direction: column;
    }

    .pf-analysis-ready-badge {
        align-self: flex-start;
    }

    .pf-analysis-dataset-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pf-analysis-dataset-metric {
        padding: 11px;

        border-top: 1px solid var(--analysis-border);
        border-left: 0;
    }

    .pf-analysis-metric-grid,
    .pf-analysis-decision-grid {
        grid-template-columns: 1fr;
    }

    .pf-analysis-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .pf-analysis-secondary-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pf-analysis-back-button,
    .pf-analysis-settings-button,
    .pf-analysis-start-button {
        width: 100%;
    }
}
/* =========================================================
   S24.1 — ANALYSIS V2 / PART 2
   ASİMPTOT AGENT PANEL
========================================================= */

.pf-analysis-agent {
    position: sticky;
    top: 18px;

    min-width: 0;
    height: calc(100vh - 36px);
    max-height: 920px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid var(--analysis-border);
    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.06);
}

/* =========================================================
   AGENT HEADER
========================================================= */

.pf-analysis-agent-header {
    min-height: 78px;
    padding: 15px 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    border-bottom: 1px solid #e8edf3;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdff 100%
        );
}

.pf-analysis-agent-identity {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 11px;
}

.pf-analysis-agent-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            #e9f3ff,
            #eef9f4
        );

    color: var(--analysis-primary);

    font-size: 20px;
    font-weight: 800;

    box-shadow:
        inset 0 0 0 1px rgba(23, 105, 232, 0.08);
}

.pf-analysis-agent-identity h2 {
    margin: 0;

    color: var(--analysis-text);

    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.pf-analysis-agent-identity p {
    margin: 3px 0 0;

    color: var(--analysis-primary);

    font-size: 10px;
    line-height: 1.35;
}

.pf-analysis-agent-online {
    min-height: 27px;
    padding: 0 9px;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    border: 1px solid #c6e8d6;
    border-radius: 999px;

    background: var(--analysis-success-soft);
    color: var(--analysis-success-dark);

    font-size: 9px;
    font-weight: 750;
    white-space: nowrap;
}

.pf-analysis-agent-online > span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--analysis-success);

    box-shadow:
        0 0 0 3px rgba(22, 155, 97, 0.11);
}

/* =========================================================
   AGENT BODY
========================================================= */

.pf-analysis-agent-body {
    min-height: 0;
    flex: 1;

    overflow-y: auto;

    padding: 15px 14px 14px;

    background:
        linear-gradient(
            180deg,
            #fbfdff 0%,
            #ffffff 100%
        );

    scrollbar-width: thin;
    scrollbar-color: #cfd8e6 transparent;
}

.pf-analysis-agent-body::-webkit-scrollbar {
    width: 6px;
}

.pf-analysis-agent-body::-webkit-scrollbar-track {
    background: transparent;
}

.pf-analysis-agent-body::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #cfd8e6;
}

/* =========================================================
   AGENT MESSAGE
========================================================= */

.pf-analysis-agent-message {
    margin-bottom: 16px;

    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.pf-analysis-agent-message.user {
    flex-direction: row-reverse;
}

.pf-analysis-agent-message-avatar {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: var(--analysis-primary-soft);
    color: var(--analysis-primary);

    font-size: 12px;
    font-weight: 800;
}

.pf-analysis-agent-message.user
.pf-analysis-agent-message-avatar {
    background: #e9edf4;
    color: #43536a;
}

.pf-analysis-agent-message-content {
    min-width: 0;
    max-width: calc(100% - 37px);
}

.pf-analysis-agent-message.user
.pf-analysis-agent-message-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.pf-analysis-agent-message-meta {
    margin-bottom: 5px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pf-analysis-agent-message-meta strong {
    color: var(--analysis-text);

    font-size: 10px;
    font-weight: 800;
}

.pf-analysis-agent-message-meta time {
    color: #8a97a8;

    font-size: 8px;
}

.pf-analysis-agent-bubble {
    position: relative;

    padding: 13px 13px 12px;

    border: 1px solid #dce7f4;
    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            #eef6ff 0%,
            #f8fbff 100%
        );

    color: #34475f;
}

.pf-analysis-agent-message.user
.pf-analysis-agent-bubble {
    border-color: #d7dee8;

    background: #f2f5f8;
}

.pf-analysis-agent-bubble p {
    margin: 0 0 10px;

    color: #34475f;

    font-size: 10px;
    line-height: 1.65;
}

.pf-analysis-agent-bubble p:last-of-type {
    margin-bottom: 0;
}

.pf-analysis-agent-bubble-time {
    display: block;
    margin-top: 8px;

    color: #8c99a9;

    font-size: 8px;
    text-align: right;
}

/* =========================================================
   AGENT SUMMARY BOX
========================================================= */

.pf-analysis-agent-summary {
    margin: 12px 0;
    padding: 10px;

    border: 1px solid #cfe2f7;
    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            #edf6ff 0%,
            #f7fbff 100%
        );
}

.pf-analysis-agent-summary > div {
    min-height: 30px;

    display: grid;
    grid-template-columns: 20px 55px minmax(0, 1fr);
    gap: 7px;
    align-items: center;

    border-bottom: 1px solid rgba(193, 211, 231, 0.65);
}

.pf-analysis-agent-summary > div:last-child {
    border-bottom: 0;
}

.pf-analysis-agent-summary-icon {
    width: 18px;
    height: 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 5px;

    background: #e2efff;
    color: var(--analysis-primary);

    font-size: 9px;
    font-weight: 800;
}

.pf-analysis-agent-summary strong {
    color: var(--analysis-text);

    font-size: 10px;
    font-weight: 800;
}

.pf-analysis-agent-summary span:last-child {
    color: var(--analysis-muted);

    font-size: 9px;
}

/* =========================================================
   AGENT ESTIMATE
========================================================= */

.pf-analysis-agent-estimate {
    margin: 12px 0;
    padding: 10px 0;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;

    border-top: 1px solid #cfe0f1;
    border-bottom: 1px solid #cfe0f1;
}

.pf-analysis-agent-estimate > div {
    min-width: 0;
}

.pf-analysis-agent-estimate span {
    display: block;
    margin-bottom: 4px;

    color: var(--analysis-muted);

    font-size: 8px;
}

.pf-analysis-agent-estimate strong {
    display: block;

    color: var(--analysis-text);

    font-size: 11px;
    font-weight: 800;
}

.pf-analysis-agent-estimate small {
    display: block;
    margin-top: 3px;

    color: var(--analysis-muted);

    font-size: 8px;
}

/* =========================================================
   CHECKLIST
========================================================= */

.pf-analysis-agent-checklist {
    padding: 2px 2px 4px;
}

.pf-analysis-agent-checklist h3 {
    margin: 0 0 11px;

    color: var(--analysis-text);

    font-size: 11px;
    font-weight: 800;
}

.pf-analysis-agent-checklist ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.pf-analysis-agent-checklist li {
    margin-bottom: 9px;

    display: grid;
    grid-template-columns: 19px minmax(0, 1fr);
    gap: 8px;
    align-items: start;

    color: #44556b;

    font-size: 9px;
    line-height: 1.45;
}

.pf-analysis-agent-checklist li:last-child {
    margin-bottom: 0;
}

.pf-analysis-agent-checklist li > span {
    width: 18px;
    height: 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--analysis-success);
    color: #ffffff;

    font-size: 9px;
    font-weight: 800;
}

/* =========================================================
   QUICK ACTIONS
========================================================= */

.pf-analysis-agent-quick-actions {
    padding: 11px 14px;

    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    border-top: 1px solid #e6ecf2;

    background: #ffffff;
}

.pf-analysis-agent-quick-actions button {
    min-height: 29px;
    padding: 0 10px;

    border: 1px solid #cfd9e6;
    border-radius: 999px;

    background: #ffffff;
    color: #43536a;

    font-family: inherit;
    font-size: 9px;
    font-weight: 700;

    cursor: pointer;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.pf-analysis-agent-quick-actions button:hover {
    border-color: var(--analysis-primary);

    background: var(--analysis-primary-soft);
    color: var(--analysis-primary);
}

/* =========================================================
   AGENT INPUT
========================================================= */

.pf-analysis-agent-input-area {
    padding: 12px 14px 13px;

    border-top: 1px solid #e6ecf2;

    background: #ffffff;
}

.pf-analysis-agent-input-wrapper {
    position: relative;
}

.pf-analysis-agent-input-wrapper textarea {
    width: 100%;
    min-height: 54px;
    max-height: 120px;

    padding: 11px 45px 11px 12px;

    resize: vertical;

    border: 1px solid #cfd9e6;
    border-radius: 10px;

    background: #fbfcfe;
    color: var(--analysis-text);

    font-family: inherit;
    font-size: 10px;
    line-height: 1.45;

    outline: none;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.pf-analysis-agent-input-wrapper textarea:focus {
    border-color: var(--analysis-primary);

    box-shadow:
        0 0 0 3px rgba(23, 105, 232, 0.1);
}

.pf-analysis-agent-input-wrapper button {
    position: absolute;
    right: 8px;
    bottom: 8px;

    width: 32px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 8px;

    background: var(--analysis-primary);
    color: #ffffff;

    cursor: pointer;

    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.pf-analysis-agent-input-wrapper button:hover {
    background: var(--analysis-primary-dark);

    transform: translateY(-1px);
}

.pf-analysis-agent-input-wrapper button svg {
    width: 17px;
    height: 17px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-analysis-agent-input-area > p {
    margin: 8px 2px 0;

    color: #8a97a8;

    font-size: 8px;
    line-height: 1.45;
}

/* =========================================================
   AGENT RESPONSIVE
========================================================= */

@media (max-width: 1250px) {
    .pf-analysis-agent {
        height: auto;
        max-height: none;
    }
}

@media (max-width: 980px) {
    .pf-analysis-agent {
        position: static;

        height: auto;
        max-height: none;
    }

    .pf-analysis-agent-body {
        max-height: 560px;
    }
}

@media (max-width: 700px) {
    .pf-analysis-agent-header {
        align-items: flex-start;
    }

    .pf-analysis-agent-online {
        align-self: flex-start;
    }

    .pf-analysis-agent-estimate {
        grid-template-columns: 1fr;
    }

    .pf-analysis-agent-quick-actions {
        flex-direction: column;
    }

    .pf-analysis-agent-quick-actions button {
        width: 100%;

        border-radius: 8px;
    }
}
/* =========================================================
   S24.1 — ANALYSIS V2 / PART 3
   RESPONSIVE + POLISH + MICRO INTERACTIONS
========================================================= */

/* ---------------------------------------------------------
   Global polish
--------------------------------------------------------- */

.pf-analysis-card,
.pf-analysis-agent,
.pf-analysis-metric-card,
.pf-analysis-decision-item,
.pf-analysis-plan-highlight {
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.pf-analysis-card:hover {
    border-color: #d3deea;
}

.pf-analysis-metric-card:hover,
.pf-analysis-decision-item:hover {
    border-color: #cfdceb;
    transform: translateY(-1px);
    box-shadow:
        0 8px 18px rgba(15, 23, 42, 0.045);
}

.pf-analysis-plan-highlight:hover {
    border-color: #aeddc5;
    box-shadow:
        0 8px 20px rgba(22, 155, 97, 0.07);
}

/* ---------------------------------------------------------
   Header spacing refinement
--------------------------------------------------------- */

.pf-analysis-page-header {
    margin-top: 2px;
}

.pf-analysis-page-title {
    font-size: 31px;
}

.pf-analysis-page-subtitle {
    max-width: 800px;
}

/* ---------------------------------------------------------
   Sticky agent refinement
--------------------------------------------------------- */

.pf-analysis-agent {
    top: 16px;
}

.pf-analysis-agent-header {
    flex: 0 0 auto;
}

.pf-analysis-agent-quick-actions,
.pf-analysis-agent-input-area {
    flex: 0 0 auto;
}

/* ---------------------------------------------------------
   Better focus visibility
--------------------------------------------------------- */

.pf-analysis-back-button:focus-visible,
.pf-analysis-settings-button:focus-visible,
.pf-analysis-start-button:focus-visible,
.pf-analysis-agent-quick-actions button:focus-visible,
.pf-analysis-agent-input-wrapper button:focus-visible,
.pf-analysis-agent-input-wrapper textarea:focus-visible {
    outline: 3px solid rgba(23, 105, 232, 0.18);
    outline-offset: 2px;
}

/* ---------------------------------------------------------
   Agent message animation
--------------------------------------------------------- */

@keyframes pf-analysis-agent-message-in {
    from {
        opacity: 0;
        transform: translateY(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pf-analysis-agent-message {
    animation:
        pf-analysis-agent-message-in
        0.24s ease both;
}

/* ---------------------------------------------------------
   Status pulse
--------------------------------------------------------- */

@keyframes pf-analysis-status-pulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(22, 155, 97, 0.18);
    }

    70% {
        box-shadow:
            0 0 0 7px rgba(22, 155, 97, 0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(22, 155, 97, 0);
    }
}

.pf-analysis-ready-dot,
.pf-analysis-agent-online > span {
    animation:
        pf-analysis-status-pulse
        2.2s ease-out infinite;
}

/* ---------------------------------------------------------
   Slight compacting for 100% browser view
--------------------------------------------------------- */

.pf-analysis-card-heading {
    min-height: 60px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.pf-analysis-dataset-content,
.pf-analysis-plan-content {
    padding-top: 18px;
    padding-bottom: 18px;
}

.pf-analysis-decision-grid {
    padding-top: 16px;
}

.pf-analysis-actions {
    padding-top: 13px;
    padding-bottom: 15px;
}

/* ---------------------------------------------------------
   Wide desktop
--------------------------------------------------------- */

@media (min-width: 1500px) {
    .pf-analysis-workspace {
        grid-template-columns:
            minmax(0, 1fr)
            380px;
    }

    .pf-analysis-page {
        max-width: 1520px;
    }
}

/* ---------------------------------------------------------
   Medium desktop
--------------------------------------------------------- */

@media (max-width: 1366px) {
    .pf-analysis-workspace {
        grid-template-columns:
            minmax(0, 1fr)
            340px;
        gap: 18px;
    }

    .pf-analysis-page-title {
        font-size: 29px;
    }

    .pf-analysis-dataset-content {
        gap: 16px;
    }

    .pf-analysis-dataset-metric {
        padding-left: 14px;
        padding-right: 14px;
    }

    .pf-analysis-plan-highlight {
        grid-template-columns:
            58px
            minmax(0, 1fr)
            auto;
        gap: 14px;
        padding: 16px;
    }

    .pf-analysis-metric-card {
        padding: 13px;
        gap: 10px;
    }

    .pf-analysis-decision-grid {
        gap: 8px;
    }

    .pf-analysis-decision-item {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* ---------------------------------------------------------
   Tablet / small laptop
--------------------------------------------------------- */

@media (max-width: 1180px) {
    .pf-analysis-workspace {
        grid-template-columns:
            minmax(0, 1fr)
            320px;
    }

    .pf-analysis-page-header {
        gap: 16px;
    }

    .pf-analysis-dataset-content {
        grid-template-columns: 1fr;
    }

    .pf-analysis-dataset-metrics {
        margin-top: 4px;
    }

    .pf-analysis-dataset-metric:first-child {
        border-left: 0;
    }

    .pf-analysis-plan-highlight {
        grid-template-columns:
            56px
            minmax(0, 1fr);
    }

    .pf-analysis-efficiency {
        grid-column: 1 / -1;
        text-align: left;
    }

    .pf-analysis-efficiency-dots {
        justify-content: flex-start;
    }

    .pf-analysis-metric-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .pf-analysis-decision-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .pf-analysis-agent {
        height: auto;
        max-height: none;
    }
}

/* ---------------------------------------------------------
   Single-column switch
--------------------------------------------------------- */

@media (max-width: 980px) {
    .pf-analysis-workspace {
        grid-template-columns: 1fr;
    }

    .pf-analysis-agent {
        position: static;
        height: auto;
        max-height: none;
    }

    .pf-analysis-agent-body {
        max-height: 520px;
    }

    .pf-analysis-page-header {
        align-items: flex-start;
    }
}

/* ---------------------------------------------------------
   Mobile
--------------------------------------------------------- */

@media (max-width: 700px) {
    .pf-analysis-page {
        padding-bottom: 20px;
    }

    .pf-analysis-page-header {
        flex-direction: column;
        margin-bottom: 14px;
    }

    .pf-analysis-page-title {
        font-size: 26px;
    }

    .pf-analysis-ready-badge {
        align-self: flex-start;
    }

    .pf-analysis-card-heading {
        display: block;
        min-height: auto;
    }

    .pf-analysis-verified-badge,
    .pf-analysis-best-option-badge {
        margin-top: 10px;
    }

    .pf-analysis-dataset-content {
        padding: 16px;
    }

    .pf-analysis-dataset-metrics {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .pf-analysis-dataset-metric {
        padding: 12px;
        border-top: 1px solid var(--analysis-border);
        border-left: 0;
    }

    .pf-analysis-plan-content {
        padding: 16px;
    }

    .pf-analysis-plan-highlight {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .pf-analysis-plan-icon {
        width: 50px;
        height: 50px;
    }

    .pf-analysis-efficiency {
        grid-column: auto;
    }

    .pf-analysis-metric-grid,
    .pf-analysis-decision-grid {
        grid-template-columns: 1fr;
    }

    .pf-analysis-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .pf-analysis-secondary-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pf-analysis-back-button,
    .pf-analysis-settings-button,
    .pf-analysis-start-button {
        width: 100%;
    }

    .pf-analysis-agent-header {
        align-items: flex-start;
    }

    .pf-analysis-agent-online {
        align-self: flex-start;
    }

    .pf-analysis-agent-estimate {
        grid-template-columns: 1fr;
    }

    .pf-analysis-agent-quick-actions {
        flex-direction: column;
    }

    .pf-analysis-agent-quick-actions button {
        width: 100%;
        border-radius: 8px;
    }
}

/* ---------------------------------------------------------
   Reduced motion
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .pf-analysis-card,
    .pf-analysis-agent,
    .pf-analysis-metric-card,
    .pf-analysis-decision-item,
    .pf-analysis-plan-highlight,
    .pf-analysis-back-button,
    .pf-analysis-settings-button,
    .pf-analysis-start-button,
    .pf-analysis-agent-message,
    .pf-analysis-ready-dot,
    .pf-analysis-agent-online > span {
        animation: none !important;
        transition: none !important;
    }
}
/* =========================================================
   S24.1 — EXECUTION V2 / PART 1
   MAIN LAYOUT + ENGINE + ANIMATION + PROGRESS + METRICS
========================================================= */

.pf-execution-page {
    --execution-primary: #1769e8;
    --execution-primary-dark: #0b4fb3;
    --execution-primary-soft: #edf5ff;

    --execution-success: #169b61;
    --execution-success-dark: #0c7747;
    --execution-success-soft: #edf9f3;

    --execution-purple: #7557e8;
    --execution-purple-soft: #f3efff;

    --execution-text: #14233d;
    --execution-muted: #66758d;
    --execution-border: #dfe7f0;
    --execution-surface: #ffffff;

    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding-bottom: 30px;

    color: var(--execution-text);
}

/* =========================================================
   PAGE HEADER
========================================================= */

.pf-execution-page-header {
    margin-bottom: 18px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.pf-execution-eyebrow {
    margin-bottom: 5px;

    color: var(--execution-primary);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pf-execution-page-header h1 {
    margin: 0 0 7px;

    color: var(--execution-text);

    font-size: 31px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.pf-execution-page-header p {
    max-width: 780px;
    margin: 0;

    color: var(--execution-muted);

    font-size: 14px;
    line-height: 1.65;
}

.pf-execution-header-status {
    min-height: 34px;
    padding: 0 12px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    border: 1px solid #c9dcf7;
    border-radius: 999px;

    background: var(--execution-primary-soft);
    color: var(--execution-primary-dark);

    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.pf-execution-header-status.completed {
    border-color: #bfe6d2;

    background: var(--execution-success-soft);
    color: var(--execution-success-dark);
}

.pf-execution-live-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--execution-primary);

    box-shadow:
        0 0 0 4px rgba(23, 105, 232, 0.12);
}

.pf-execution-header-status.completed
.pf-execution-live-dot {
    background: var(--execution-success);

    box-shadow:
        0 0 0 4px rgba(22, 155, 97, 0.12);
}

/* =========================================================
   WORKSPACE
========================================================= */

.pf-execution-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 365px;
    gap: 22px;
    align-items: start;
}

/* =========================================================
   ENGINE CARD
========================================================= */

.pf-execution-engine-card {
    min-width: 0;

    overflow: hidden;

    border: 1px solid var(--execution-border);
    border-radius: 15px;

    background: var(--execution-surface);

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.055);
}

.pf-execution-engine-header {
    min-height: 76px;
    padding: 17px 20px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;

    border-bottom: 1px solid #e8edf3;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdff 100%
        );
}

.pf-execution-section-label {
    display: block;
    margin-bottom: 5px;

    color: var(--execution-muted);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.pf-execution-engine-header h2 {
    margin: 0;

    color: var(--execution-text);

    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.pf-execution-estimated-time {
    min-width: 170px;

    text-align: right;
}

.pf-execution-estimated-time span {
    display: block;
    margin-bottom: 5px;

    color: var(--execution-muted);

    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pf-execution-estimated-time strong {
    display: block;

    color: var(--execution-text);

    font-size: 13px;
    font-weight: 800;
}

/* =========================================================
   ANIMATED CORE
========================================================= */

.pf-execution-core {
    position: relative;

    width: 280px;
    height: 280px;
    margin: 26px auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-execution-core-ring {
    position: absolute;

    border-radius: 50%;

    border-style: solid;

    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.pf-execution-core-ring-one {
    width: 270px;
    height: 270px;

    border-width: 1px;
    border-color:
        rgba(23, 105, 232, 0.24)
        rgba(23, 105, 232, 0.05)
        rgba(23, 105, 232, 0.24)
        rgba(23, 105, 232, 0.05);

    animation-name: pf-execution-rotate;
    animation-duration: 11s;
}

.pf-execution-core-ring-two {
    width: 218px;
    height: 218px;

    border-width: 1px;
    border-color:
        rgba(117, 87, 232, 0.26)
        rgba(117, 87, 232, 0.05)
        rgba(117, 87, 232, 0.26)
        rgba(117, 87, 232, 0.05);

    animation-name: pf-execution-rotate-reverse;
    animation-duration: 8s;
}

.pf-execution-core-ring-three {
    width: 166px;
    height: 166px;

    border-width: 1px;
    border-color:
        rgba(22, 155, 97, 0.28)
        rgba(22, 155, 97, 0.05)
        rgba(22, 155, 97, 0.28)
        rgba(22, 155, 97, 0.05);

    animation-name: pf-execution-rotate;
    animation-duration: 6s;
}

.pf-execution-core-ring::before,
.pf-execution-core-ring::after {
    position: absolute;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    content: "";
}

.pf-execution-core-ring-one::before {
    top: 18px;
    left: 42px;

    background: var(--execution-primary);

    box-shadow:
        0 0 14px rgba(23, 105, 232, 0.55);
}

.pf-execution-core-ring-one::after {
    right: 34px;
    bottom: 32px;

    background: var(--execution-purple);

    box-shadow:
        0 0 14px rgba(117, 87, 232, 0.5);
}

.pf-execution-core-ring-two::before {
    top: 50%;
    right: -4px;

    background: var(--execution-success);

    box-shadow:
        0 0 14px rgba(22, 155, 97, 0.5);
}

.pf-execution-core-ring-two::after {
    bottom: 7px;
    left: 56px;

    background: var(--execution-primary);

    box-shadow:
        0 0 14px rgba(23, 105, 232, 0.45);
}

.pf-execution-core-ring-three::before {
    top: -4px;
    left: 50%;

    background: var(--execution-success);
}

.pf-execution-core-ring-three::after {
    right: 14px;
    bottom: 16px;

    background: var(--execution-purple);
}

/* =========================================================
   CORE PARTICLES
========================================================= */

.pf-execution-core-particle {
    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    animation:
        pf-execution-particle-pulse
        1.8s ease-in-out infinite;
}

.pf-execution-particle-one {
    top: 41px;
    right: 70px;

    background: var(--execution-success);

    animation-delay: 0s;
}

.pf-execution-particle-two {
    right: 44px;
    bottom: 83px;

    background: var(--execution-primary);

    animation-delay: 0.55s;
}

.pf-execution-particle-three {
    bottom: 36px;
    left: 88px;

    background: var(--execution-purple);

    animation-delay: 1.1s;
}

/* =========================================================
   CORE CENTER
========================================================= */

.pf-execution-core-center {
    position: relative;
    z-index: 5;

    width: 112px;
    height: 112px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1px solid #d6e4f5;
    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #ffffff 0%,
            #edf5ff 58%,
            #e7f0fb 100%
        );

    box-shadow:
        0 14px 35px rgba(23, 105, 232, 0.13),
        inset 0 0 0 8px rgba(255, 255, 255, 0.5);

    animation:
        pf-execution-core-breathe
        2.8s ease-in-out infinite;
}

.pf-execution-core-symbol {
    margin-bottom: 6px;

    color: var(--execution-primary);

    font-size: 32px;
    line-height: 1;
}

.pf-execution-core-name {
    color: #33506f;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.pf-execution-core.completed
.pf-execution-core-center {
    border-color: #bce1cd;

    background:
        radial-gradient(
            circle at 35% 30%,
            #ffffff 0%,
            #edf9f3 58%,
            #e4f5ec 100%
        );

    box-shadow:
        0 14px 35px rgba(22, 155, 97, 0.16),
        inset 0 0 0 8px rgba(255, 255, 255, 0.55);
}

.pf-execution-core.completed
.pf-execution-core-symbol {
    color: var(--execution-success);
}

/* =========================================================
   CORE ANIMATIONS
========================================================= */

@keyframes pf-execution-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pf-execution-rotate-reverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes pf-execution-particle-pulse {
    0%,
    100% {
        opacity: 0.35;
        transform: scale(0.75);
    }

    50% {
        opacity: 1;
        transform: scale(1.35);
    }
}

@keyframes pf-execution-core-breathe {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.035);
    }
}

/* =========================================================
   CURRENT OPERATION
========================================================= */

.pf-execution-current-operation {
    margin: 0 20px 18px;
    padding: 14px 16px;

    display: flex;
    align-items: flex-start;
    gap: 12px;

    border: 1px solid #d8e5f6;
    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #f1f7ff 0%,
            #f8fbff 100%
        );
}

.pf-execution-operation-indicator {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    margin-top: 4px;

    border-radius: 50%;

    background: var(--execution-primary);

    box-shadow:
        0 0 0 5px rgba(23, 105, 232, 0.11);

    animation:
        pf-execution-operation-pulse
        1.8s ease-out infinite;
}

@keyframes pf-execution-operation-pulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(23, 105, 232, 0.22);
    }

    70% {
        box-shadow:
            0 0 0 8px rgba(23, 105, 232, 0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(23, 105, 232, 0);
    }
}

.pf-execution-current-operation strong {
    display: block;
    margin-bottom: 3px;

    color: var(--execution-text);

    font-size: 11px;
    font-weight: 800;
}

.pf-execution-current-operation p {
    margin: 0;

    color: var(--execution-muted);

    font-size: 10px;
    line-height: 1.5;
}

/* =========================================================
   PROGRESS
========================================================= */

.pf-execution-progress-section {
    padding: 0 20px 19px;
}

.pf-execution-progress-header {
    margin-bottom: 8px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pf-execution-progress-header span {
    color: var(--execution-muted);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.pf-execution-progress-header strong {
    color: var(--execution-primary);

    font-size: 13px;
    font-weight: 800;
}

.pf-execution-progress-track {
    width: 100%;
    height: 10px;

    overflow: hidden;

    border-radius: 999px;

    background: #e8edf4;
}

.pf-execution-progress-track > span {
    display: block;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #1769e8 0%,
            #3a8bf2 55%,
            #19a168 100%
        );

    box-shadow:
        0 0 12px rgba(23, 105, 232, 0.2);

    transition:
        width 0.65s ease;
}

/* =========================================================
   METRICS
========================================================= */

.pf-execution-metrics {
    padding: 18px 20px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;

    border-top: 1px solid #e9eef4;
}

.pf-execution-metric {
    min-height: 88px;
    padding: 14px;

    display: flex;
    align-items: center;
    gap: 11px;

    border: 1px solid var(--execution-border);
    border-radius: 11px;

    background: #ffffff;
}

.pf-execution-metric-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;
}

.pf-execution-metric-icon svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-execution-metric-icon.blue {
    background: var(--execution-primary-soft);
    color: var(--execution-primary);
}

.pf-execution-metric-icon.purple {
    background: var(--execution-purple-soft);
    color: var(--execution-purple);
}

.pf-execution-metric-icon.green {
    background: var(--execution-success-soft);
    color: var(--execution-success);
}

.pf-execution-metric span {
    display: block;
    margin-bottom: 5px;

    color: var(--execution-muted);

    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.pf-execution-metric strong {
    display: block;

    color: var(--execution-text);

    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

.pf-execution-metric strong.processing {
    color: var(--execution-primary);
}

.pf-execution-metric strong.completed {
    color: var(--execution-success-dark);
}

/* =========================================================
   DATASET SUMMARY
========================================================= */

.pf-execution-dataset-summary {
    margin: 0 20px 20px;

    overflow: hidden;

    border: 1px solid var(--execution-border);
    border-radius: 11px;

    background: #ffffff;
}

.pf-execution-dataset-summary > header {
    min-height: 58px;
    padding: 13px 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    border-bottom: 1px solid #e9eef4;
}

.pf-execution-dataset-summary h3 {
    margin: 0;

    color: var(--execution-text);

    font-size: 13px;
    font-weight: 800;
}

.pf-execution-secure-badge {
    min-height: 28px;
    padding: 0 10px;

    display: inline-flex;
    align-items: center;

    border: 1px solid #bfe6d2;
    border-radius: 999px;

    background: var(--execution-success-soft);
    color: var(--execution-success-dark);

    font-size: 9px;
    font-weight: 750;
}

.pf-execution-dataset-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pf-execution-dataset-grid > div {
    padding: 14px 15px;

    border-right: 1px solid var(--execution-border);
}

.pf-execution-dataset-grid > div:last-child {
    border-right: 0;
}

.pf-execution-dataset-grid span {
    display: block;
    margin-bottom: 4px;

    color: var(--execution-muted);

    font-size: 9px;
}

.pf-execution-dataset-grid strong {
    display: block;

    color: var(--execution-text);

    font-size: 13px;
    font-weight: 800;
}

/* =========================================================
   PART-1 RESPONSIVE
========================================================= */

@media (max-width: 1250px) {
    .pf-execution-workspace {
        grid-template-columns:
            minmax(0, 1fr)
            330px;
    }

    .pf-execution-core {
        width: 250px;
        height: 250px;
    }

    .pf-execution-core-ring-one {
        width: 240px;
        height: 240px;
    }

    .pf-execution-core-ring-two {
        width: 195px;
        height: 195px;
    }

    .pf-execution-core-ring-three {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 980px) {
    .pf-execution-workspace {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .pf-execution-page-header {
        flex-direction: column;
    }

    .pf-execution-header-status {
        align-self: flex-start;
    }

    .pf-execution-engine-header {
        flex-direction: column;
    }

    .pf-execution-estimated-time {
        min-width: 0;

        text-align: left;
    }

    .pf-execution-core {
        width: 220px;
        height: 220px;
    }

    .pf-execution-core-ring-one {
        width: 210px;
        height: 210px;
    }

    .pf-execution-core-ring-two {
        width: 170px;
        height: 170px;
    }

    .pf-execution-core-ring-three {
        width: 130px;
        height: 130px;
    }

    .pf-execution-core-center {
        width: 96px;
        height: 96px;
    }

    .pf-execution-metrics,
    .pf-execution-dataset-grid {
        grid-template-columns: 1fr;
    }

    .pf-execution-dataset-grid > div {
        border-right: 0;
        border-bottom: 1px solid var(--execution-border);
    }

    .pf-execution-dataset-grid > div:last-child {
        border-bottom: 0;
    }
}
/* =========================================================
   S24.1 — EXECUTION V2 / PART 2
   ASİMPTOT AGENT + COMPLETION + BOTTOM ACTIONS
========================================================= */

/* =========================================================
   AGENT PANEL
========================================================= */

.pf-agent-panel {
    position: sticky;
    top: 16px;

    min-width: 0;
    height: calc(100vh - 32px);
    max-height: 920px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid var(--execution-border);
    border-radius: 15px;

    background: #ffffff;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.06);
}

/* =========================================================
   AGENT HEADER
========================================================= */

.pf-agent-header {
    min-height: 78px;
    padding: 15px 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    border-bottom: 1px solid #e8edf3;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdff 100%
        );
}

.pf-agent-identity {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 11px;
}

.pf-agent-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            #e9f3ff,
            #eef9f4
        );

    color: var(--execution-primary);

    font-size: 20px;
    font-weight: 800;

    box-shadow:
        inset 0 0 0 1px rgba(23, 105, 232, 0.08);
}

.pf-agent-identity h2 {
    margin: 0;

    color: var(--execution-text);

    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.pf-agent-status {
    margin-top: 4px;

    display: flex;
    align-items: center;
    gap: 6px;

    color: var(--execution-primary);

    font-size: 10px;
    line-height: 1.35;
}

.pf-agent-status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--execution-primary);

    box-shadow:
        0 0 0 3px rgba(23, 105, 232, 0.11);

    animation:
        pf-agent-status-pulse
        2s ease-out infinite;
}

.pf-agent-status-dot.completed {
    background: var(--execution-success);

    box-shadow:
        0 0 0 3px rgba(22, 155, 97, 0.11);
}

@keyframes pf-agent-status-pulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(23, 105, 232, 0.22);
    }

    70% {
        box-shadow:
            0 0 0 7px rgba(23, 105, 232, 0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(23, 105, 232, 0);
    }
}

.pf-agent-options-button {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d5deea;
    border-radius: 8px;

    background: #ffffff;
    color: #60708a;

    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;

    cursor: pointer;

    transition:
        border-color 0.18s ease,
        color 0.18s ease,
        background 0.18s ease;
}

.pf-agent-options-button:hover {
    border-color: var(--execution-primary);

    background: var(--execution-primary-soft);
    color: var(--execution-primary);
}

/* =========================================================
   AGENT CONVERSATION
========================================================= */

.pf-agent-conversation {
    min-height: 0;
    flex: 1;

    overflow-y: auto;

    padding: 14px;

    background:
        linear-gradient(
            180deg,
            #fbfdff 0%,
            #ffffff 100%
        );

    scrollbar-width: thin;
    scrollbar-color: #cfd8e6 transparent;
}

.pf-agent-conversation::-webkit-scrollbar {
    width: 6px;
}

.pf-agent-conversation::-webkit-scrollbar-track {
    background: transparent;
}

.pf-agent-conversation::-webkit-scrollbar-thumb {
    border-radius: 999px;

    background: #cfd8e6;
}

.pf-agent-date-divider {
    margin: 0 0 14px;

    display: flex;
    align-items: center;
    gap: 9px;

    color: #8b98a9;

    font-size: 8px;
    text-align: center;
}

.pf-agent-date-divider::before,
.pf-agent-date-divider::after {
    height: 1px;
    flex: 1;

    background: #e3e9f0;

    content: "";
}

.pf-agent-date-divider span {
    white-space: nowrap;
}

/* =========================================================
   AGENT MESSAGE
========================================================= */

.pf-agent-message {
    margin-bottom: 15px;

    display: flex;
    align-items: flex-start;
    gap: 9px;

    animation:
        pf-agent-message-in
        0.24s ease both;
}

.pf-agent-message.user {
    flex-direction: row-reverse;
}

@keyframes pf-agent-message-in {
    from {
        opacity: 0;
        transform: translateY(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pf-agent-message-avatar {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: var(--execution-primary-soft);
    color: var(--execution-primary);

    font-size: 12px;
    font-weight: 800;
}

.pf-agent-message.user
.pf-agent-message-avatar {
    background: #e9edf4;
    color: #43536a;
}

.pf-agent-message-content {
    min-width: 0;
    max-width: calc(100% - 37px);
}

.pf-agent-message.user
.pf-agent-message-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.pf-agent-message-meta {
    margin-bottom: 5px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pf-agent-message-meta strong {
    color: var(--execution-text);

    font-size: 10px;
    font-weight: 800;
}

.pf-agent-message-meta time {
    color: #8a97a8;

    font-size: 8px;
}

.pf-agent-message-bubble {
    padding: 12px 13px;

    border: 1px solid #dce7f4;
    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            #eef6ff 0%,
            #f8fbff 100%
        );

    color: #34475f;
}

.pf-agent-message.user
.pf-agent-message-bubble {
    border-color: #d7dee8;

    background: #f2f5f8;
}

.pf-agent-message-bubble p {
    margin: 0;

    color: #34475f;

    font-size: 10px;
    line-height: 1.6;
}

/* =========================================================
   CURRENT ACTIVITY
========================================================= */

.pf-agent-current-activity {
    margin: 0 14px 12px;
    padding: 12px 13px;

    border: 1px solid #dce7f4;
    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #f3f8ff 0%,
            #f9fbff 100%
        );
}

.pf-agent-current-activity-header {
    margin-bottom: 7px;

    display: flex;
    align-items: center;
    gap: 8px;
}

.pf-agent-current-activity-header strong {
    color: var(--execution-text);

    font-size: 10px;
    font-weight: 800;
}

.pf-agent-activity-pulse {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--execution-primary);

    animation:
        pf-agent-activity-pulse
        1.8s ease-out infinite;
}

@keyframes pf-agent-activity-pulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(23, 105, 232, 0.24);
    }

    70% {
        box-shadow:
            0 0 0 7px rgba(23, 105, 232, 0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(23, 105, 232, 0);
    }
}

.pf-agent-current-activity p {
    margin: 0;

    color: #52627a;

    font-size: 9px;
    line-height: 1.55;
}

/* =========================================================
   QUICK ACTIONS
========================================================= */

.pf-agent-quick-actions {
    padding: 10px 14px;

    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    border-top: 1px solid #e6ecf2;

    background: #ffffff;
}

.pf-agent-quick-action {
    min-height: 29px;
    padding: 0 10px;

    border: 1px solid #cfd9e6;
    border-radius: 999px;

    background: #ffffff;
    color: #43536a;

    font-family: inherit;
    font-size: 9px;
    font-weight: 700;

    cursor: pointer;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.pf-agent-quick-action:hover {
    border-color: var(--execution-primary);

    background: var(--execution-primary-soft);
    color: var(--execution-primary);

    transform: translateY(-1px);
}

/* =========================================================
   AGENT INPUT
========================================================= */

.pf-agent-input-area {
    padding: 12px 14px 13px;

    border-top: 1px solid #e6ecf2;

    background: #ffffff;
}

.pf-agent-input-wrapper {
    position: relative;
}

.pf-agent-input-wrapper textarea {
    width: 100%;
    min-height: 56px;
    max-height: 120px;

    padding: 11px 46px 11px 12px;

    resize: vertical;

    border: 1px solid #cfd9e6;
    border-radius: 10px;

    background: #fbfcfe;
    color: var(--execution-text);

    font-family: inherit;
    font-size: 10px;
    line-height: 1.45;

    outline: none;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.pf-agent-input-wrapper textarea:focus {
    border-color: var(--execution-primary);

    box-shadow:
        0 0 0 3px rgba(23, 105, 232, 0.1);
}

.pf-agent-send-button {
    position: absolute;
    right: 8px;
    bottom: 8px;

    width: 32px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 8px;

    background: var(--execution-primary);
    color: #ffffff;

    cursor: pointer;

    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.pf-agent-send-button:hover {
    background: var(--execution-primary-dark);

    transform: translateY(-1px);
}

.pf-agent-send-button svg {
    width: 17px;
    height: 17px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-agent-input-note {
    margin: 8px 2px 0;

    color: #8a97a8;

    font-size: 8px;
    line-height: 1.45;
}

/* =========================================================
   COMPLETION BANNER
========================================================= */

.pf-execution-completion-banner {
    margin-top: 18px;
    padding: 16px 18px;

    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;

    border: 1px solid #bfe6d2;
    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #effaf4 0%,
            #f8fdfb 100%
        );

    box-shadow:
        0 10px 24px rgba(22, 155, 97, 0.06);
}

.pf-execution-completion-banner[hidden] {
    display: none;
}

.pf-execution-completion-icon {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--execution-success);
    color: #ffffff;

    font-size: 19px;
    font-weight: 800;
}

.pf-execution-completion-banner strong {
    display: block;
    margin-bottom: 4px;

    color: var(--execution-success-dark);

    font-size: 13px;
    font-weight: 800;
}

.pf-execution-completion-banner p {
    margin: 0;

    color: #52627a;

    font-size: 10px;
    line-height: 1.5;
}

.pf-execution-completion-link {
    min-height: 40px;
    padding: 0 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border: 1px solid var(--execution-success);
    border-radius: 8px;

    background: var(--execution-success);
    color: #ffffff;

    font-size: 10px;
    font-weight: 750;
    text-decoration: none;

    transition:
        background 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.pf-execution-completion-link:hover {
    background: var(--execution-success-dark);
    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
        0 8px 18px rgba(22, 155, 97, 0.18);
}

/* =========================================================
   BOTTOM ACTIONS
========================================================= */

.pf-execution-actions {
    margin-top: 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.pf-execution-back-button,
.pf-execution-results-button {
    min-height: 42px;
    padding: 0 16px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border-radius: 8px;

    font-size: 11px;
    font-weight: 750;
    text-decoration: none;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.pf-execution-back-button {
    border: 1px solid #c5cfdd;

    background: #ffffff;
    color: var(--execution-text);
}

.pf-execution-back-button:hover {
    border-color: var(--execution-primary);

    color: var(--execution-primary);

    transform: translateY(-1px);
}

.pf-execution-results-button {
    min-width: 170px;

    border: 1px solid var(--execution-primary);

    background: var(--execution-primary);
    color: #ffffff;

    box-shadow:
        0 8px 18px rgba(23, 105, 232, 0.18);
}

.pf-execution-results-button:hover {
    background: var(--execution-primary-dark);
    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
        0 10px 22px rgba(23, 105, 232, 0.23);
}

.pf-execution-results-button.disabled {
    border-color: #d5dde8;

    background: #e9eef4;
    color: #8a97a8;

    box-shadow: none;

    cursor: not-allowed;
    pointer-events: auto;
}

.pf-execution-results-button.disabled:hover {
    transform: none;

    background: #e9eef4;
    color: #8a97a8;

    box-shadow: none;
}

/* =========================================================
   PART-2 RESPONSIVE
========================================================= */

@media (max-width: 1250px) {
    .pf-agent-panel {
        height: auto;
        max-height: none;
    }
}

@media (max-width: 980px) {
    .pf-agent-panel {
        position: static;

        height: auto;
        max-height: none;
    }

    .pf-agent-conversation {
        max-height: 560px;
    }
}

@media (max-width: 700px) {
    .pf-agent-header {
        align-items: flex-start;
    }

    .pf-agent-quick-actions {
        flex-direction: column;
    }

    .pf-agent-quick-action {
        width: 100%;

        border-radius: 8px;
    }

    .pf-execution-completion-banner {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .pf-execution-completion-link {
        grid-column: 1 / -1;

        width: 100%;
    }

    .pf-execution-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .pf-execution-back-button,
    .pf-execution-results-button {
        width: 100%;
    }
}
/* =========================================================
   S24.1 — RESULTS V2 / PART 1
   MAIN LAYOUT + EXECUTIVE SUMMARY + KPI + INSIGHTS
========================================================= */

.pf-results-page {
        position: relative;

    --results-primary: #1769e8;
    --results-primary-dark: #0b4fb3;
    --results-primary-soft: #edf5ff;

    --results-success: #169b61;
    --results-success-dark: #0c7747;
    --results-success-soft: #edf9f3;

    --results-danger: #dc4c64;
    --results-danger-dark: #a72d43;
    --results-danger-soft: #fff0f3;

    --results-warning: #d79416;
    --results-warning-soft: #fff7e7;

    --results-purple: #7557e8;
    --results-purple-soft: #f3efff;

    --results-text: #14233d;
    --results-muted: #66758d;
    --results-border: #dfe7f0;
    --results-background: #f6f8fb;
    --results-surface: #ffffff;

    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding-bottom: 30px;

    color: var(--results-text);
}

/* =========================================================
   PAGE HEADER
========================================================= */

.pf-results-page-header {
    margin-bottom: 18px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.pf-results-heading-group {
    min-width: 0;

    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pf-results-completion-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    margin-top: 2px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #bfe6d2;
    border-radius: 50%;

    background: var(--results-success-soft);
    color: var(--results-success);

    font-size: 20px;
    font-weight: 800;

    box-shadow:
        0 7px 18px rgba(22, 155, 97, 0.1);
}

.pf-results-eyebrow {
    display: block;
    margin-bottom: 5px;

    color: var(--results-success-dark);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pf-results-page-header h1 {
    margin: 0 0 7px;

    color: var(--results-text);

    font-size: 31px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.pf-results-page-header p {
    max-width: 810px;
    margin: 0;

    color: var(--results-muted);

    font-size: 14px;
    line-height: 1.65;
}

.pf-results-status-badge {
      position: absolute;
    z-index: 20;

    top: -78px;
    right: 20px;

    min-height: 48px;
    padding: 0 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    /* aşağıdaki mevcut tasarım satırları aynen kalacak */
}

    border: 1px solid #bfe6d2;
    border-radius: 999px;

    background: var(--results-success-soft);
    color: var(--results-success-dark);

    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.pf-results-status-badge > span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--results-success);

    box-shadow:
        0 0 0 4px rgba(22, 155, 97, 0.12);
}

/* =========================================================
   WORKSPACE
========================================================= */

.pf-results-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 365px;
    gap: 22px;
    align-items: start;
}

.pf-results-main {
    min-width: 0;
}

/* =========================================================
   COMMON CARD
========================================================= */

.pf-results-card {
    margin-bottom: 18px;

    overflow: hidden;

    border: 1px solid var(--results-border);
    border-radius: 14px;

    background: var(--results-surface);

    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.05);

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.pf-results-card:last-child {
    margin-bottom: 0;
}

.pf-results-card:hover {
    border-color: #d0dce8;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.065);
}

.pf-results-card-header {
    min-height: 66px;
    padding: 16px 20px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;

    border-bottom: 1px solid #e9eef4;
}

.pf-results-card-header h2 {
    margin: 0;

    color: var(--results-text);

    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}

.pf-results-card-header p {
    max-width: 680px;
    margin: 6px 0 0;

    color: var(--results-muted);

    font-size: 11px;
    line-height: 1.55;
}

.pf-results-card-eyebrow {
    display: block;
    margin-bottom: 5px;

    color: var(--results-muted);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pf-results-priority-badge {
    min-height: 30px;
    padding: 0 10px;

    display: inline-flex;
    align-items: center;

    border: 1px solid #c9dcf7;
    border-radius: 999px;

    background: var(--results-primary-soft);
    color: var(--results-primary-dark);

    font-size: 10px;
    font-weight: 750;
    white-space: nowrap;
}

/* =========================================================
   EXECUTIVE SUMMARY
========================================================= */

.pf-results-summary-card {
    background:
        radial-gradient(
            circle at top right,
            rgba(23, 105, 232, 0.04),
            transparent 34%
        ),
        #ffffff;
}

.pf-results-summary-content {
    padding: 20px;

    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
    gap: 18px;
    align-items: stretch;
}

.pf-results-summary-main {
    min-width: 0;
}

.pf-results-summary-main > h3 {
    margin: 0 0 14px;

    color: var(--results-text);

    font-size: 15px;
    font-weight: 800;
}

.pf-results-summary-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.pf-results-summary-list li {
    padding: 11px 0;

    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    align-items: start;

    border-bottom: 1px solid #edf1f5;
}

.pf-results-summary-list li:first-child {
    padding-top: 0;
}

.pf-results-summary-list li:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.pf-results-summary-list li > span {
    width: 20px;
    height: 20px;
    margin-top: 1px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--results-success);
    color: #ffffff;

    font-size: 10px;
    font-weight: 800;
}

.pf-results-summary-list strong {
    display: block;
    margin-bottom: 4px;

    color: var(--results-text);

    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
}

.pf-results-summary-list p {
    margin: 0;

    color: var(--results-muted);

    font-size: 10px;
    line-height: 1.55;
}

/* =========================================================
   PRIORITY ACTION
========================================================= */

.pf-results-priority-action {
    min-width: 0;
    padding: 18px;

    display: flex;
    flex-direction: column;

    border: 1px solid #c6e6d5;
    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            #edf9f3 0%,
            #f9fdfb 100%
        );
}

.pf-results-priority-label {
    display: block;
    margin-bottom: 13px;

    color: var(--results-success-dark);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.pf-results-priority-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 13px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: var(--results-success);
    color: #ffffff;

    font-size: 16px;
    font-weight: 800;

    box-shadow:
        0 8px 18px rgba(22, 155, 97, 0.16);
}

.pf-results-priority-action h3 {
    margin: 0 0 8px;

    color: var(--results-text);

    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.pf-results-priority-action p {
    margin: 0 0 16px;

    color: #52657a;

    font-size: 10px;
    line-height: 1.6;
}

.pf-results-impact-row {
    margin-top: auto;
    padding-top: 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    border-top: 1px solid #cce5d8;
}

.pf-results-impact-row span {
    color: var(--results-muted);

    font-size: 9px;
}

.pf-results-impact-row strong {
    color: var(--results-success-dark);

    font-size: 11px;
    font-weight: 800;
}

.pf-results-impact-stars {
    margin-top: 7px;

    color: #e0a219;

    font-size: 16px;
    letter-spacing: 0.08em;
}

/* =========================================================
   KPI SECTION
========================================================= */

.pf-results-kpi-grid {
    padding: 18px 20px 20px;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.pf-results-kpi-card {
    position: relative;

    min-height: 145px;
    padding: 15px;

    overflow: hidden;

    border: 1px solid var(--results-border);
    border-radius: 11px;

    background: #ffffff;

    transition:
        border-color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.pf-results-kpi-card::after {
    position: absolute;
    right: -24px;
    bottom: -30px;

    width: 88px;
    height: 88px;

    border-radius: 50%;

    background: rgba(23, 105, 232, 0.035);

    content: "";
}

.pf-results-kpi-card:hover {
    border-color: #cbd9e7;

    transform: translateY(-2px);

    box-shadow:
        0 9px 20px rgba(15, 23, 42, 0.055);
}

.pf-results-kpi-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;
}

.pf-results-kpi-icon svg {
    width: 22px;
    height: 22px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-results-kpi-icon.blue {
    background: var(--results-primary-soft);
    color: var(--results-primary);
}

.pf-results-kpi-icon.red {
    background: var(--results-danger-soft);
    color: var(--results-danger);
}

.pf-results-kpi-icon.green {
    background: var(--results-success-soft);
    color: var(--results-success);
}

.pf-results-kpi-icon.purple {
    background: var(--results-purple-soft);
    color: var(--results-purple);
}

.pf-results-kpi-card > span {
    position: relative;
    z-index: 1;

    display: block;
    margin-bottom: 5px;

    color: var(--results-muted);

    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.pf-results-kpi-card > strong {
    position: relative;
    z-index: 1;

    display: block;

    color: var(--results-text);

    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
}

.pf-results-kpi-card > small {
    position: relative;
    z-index: 1;

    display: block;
    margin-top: 6px;

    color: var(--results-muted);

    font-size: 9px;
    line-height: 1.45;
}

/* =========================================================
   BUSINESS INSIGHTS
========================================================= */

.pf-results-insight-list {
    padding: 6px 20px 18px;
}

.pf-results-insight-item {
    padding: 16px 0;

    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: start;

    border-bottom: 1px solid #e9eef4;
}

.pf-results-insight-item:last-child {
    border-bottom: 0;
}

.pf-results-insight-rank {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #cfdcec;
    border-radius: 11px;

    background: var(--results-primary-soft);
    color: var(--results-primary);

    font-size: 14px;
    font-weight: 800;
}

.pf-results-insight-item.critical
.pf-results-insight-rank {
    border-color: #f0c2cb;

    background: var(--results-danger-soft);
    color: var(--results-danger);
}

.pf-results-insight-content {
    min-width: 0;
}

.pf-results-insight-heading {
    margin-bottom: 7px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.pf-results-insight-badge {
    min-height: 25px;
    padding: 0 9px;

    display: inline-flex;
    align-items: center;

    border: 1px solid #e9d39c;
    border-radius: 999px;

    background: var(--results-warning-soft);
    color: #94630a;

    font-size: 8px;
    font-weight: 800;
    white-space: nowrap;
}

.pf-results-insight-badge.critical {
    border-color: #f0c2cb;

    background: var(--results-danger-soft);
    color: var(--results-danger-dark);
}

.pf-results-insight-impact {
    color: var(--results-success-dark);

    font-size: 9px;
    font-weight: 750;
    white-space: nowrap;
}

.pf-results-insight-content h3 {
    margin: 0 0 6px;

    color: var(--results-text);

    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.pf-results-insight-content p {
    margin: 0;

    color: var(--results-muted);

    font-size: 10px;
    line-height: 1.6;
}

/* =========================================================
   PART-2 PLACEHOLDER
========================================================= */

.pf-results-part-two-placeholder {
    border-style: dashed;

    background:
        linear-gradient(
            145deg,
            #fafcff,
            #ffffff
        );
}

.pf-results-placeholder-content {
    padding: 18px 20px;
}

.pf-results-placeholder-content p {
    margin: 0;

    color: var(--results-muted);

    font-size: 11px;
    line-height: 1.6;
}

/* =========================================================
   PART-1 RESPONSIVE
========================================================= */

@media (max-width: 1250px) {
    .pf-results-workspace {
        grid-template-columns:
            minmax(0, 1fr)
            330px;
    }

    .pf-results-summary-content {
        grid-template-columns: 1fr;
    }

    .pf-results-priority-action {
        min-height: 240px;
    }

    .pf-results-kpi-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .pf-results-workspace {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .pf-results-page-header {
        flex-direction: column;
    }

    .pf-results-heading-group {
        flex-direction: column;
    }

    .pf-results-status-badge {
        align-self: flex-start;
    }

    .pf-results-card-header {
        flex-direction: column;
    }

    .pf-results-priority-badge {
        align-self: flex-start;
    }

    .pf-results-kpi-grid {
        grid-template-columns: 1fr;
    }

    .pf-results-insight-item {
        grid-template-columns: 1fr;
    }

    .pf-results-insight-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .pf-results-insight-impact {
        white-space: normal;
    }
}
/* =========================================================
   S24.1 — RESULTS V2 / PART 2
   EXECUTIVE AI ADVISOR PANEL
========================================================= */

/* =========================================================
   ADVISOR PANEL
========================================================= */

.pf-results-advisor {
    position: sticky;
    top: 16px;

    min-width: 0;
    height: calc(100vh - 32px);
    max-height: 920px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid var(--results-border);
    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.06);
}

/* =========================================================
   ADVISOR HEADER
========================================================= */

.pf-results-advisor-header {
    min-height: 82px;
    padding: 15px 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    border-bottom: 1px solid #e8edf3;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdff 100%
        );
}

.pf-results-advisor-identity {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 11px;
}

.pf-results-advisor-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            #e9f3ff,
            #eef9f4
        );

    color: var(--results-primary);

    font-size: 20px;
    font-weight: 800;

    box-shadow:
        inset 0 0 0 1px rgba(23, 105, 232, 0.08);
}

.pf-results-advisor-identity h2 {
    margin: 0;

    color: var(--results-text);

    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

.pf-results-advisor-identity p {
    margin: 3px 0 0;

    color: var(--results-primary);

    font-size: 9px;
    line-height: 1.4;
}

.pf-results-advisor-online {
    min-height: 27px;
    padding: 0 9px;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    border: 1px solid #c6e8d6;
    border-radius: 999px;

    background: var(--results-success-soft);
    color: var(--results-success-dark);

    font-size: 9px;
    font-weight: 750;
    white-space: nowrap;
}

.pf-results-advisor-online > span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--results-success);

    box-shadow:
        0 0 0 3px rgba(22, 155, 97, 0.11);

    animation:
        pf-results-advisor-status-pulse
        2.2s ease-out infinite;
}

@keyframes pf-results-advisor-status-pulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(22, 155, 97, 0.22);
    }

    70% {
        box-shadow:
            0 0 0 7px rgba(22, 155, 97, 0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(22, 155, 97, 0);
    }
}

/* =========================================================
   ADVISOR BODY
========================================================= */

.pf-results-advisor-body {
    min-height: 0;
    flex: 1;

    overflow-y: auto;

    padding: 15px 14px 14px;

    background:
        linear-gradient(
            180deg,
            #fbfdff 0%,
            #ffffff 100%
        );

    scrollbar-width: thin;
    scrollbar-color: #cfd8e6 transparent;
}

.pf-results-advisor-body::-webkit-scrollbar {
    width: 6px;
}

.pf-results-advisor-body::-webkit-scrollbar-track {
    background: transparent;
}

.pf-results-advisor-body::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #cfd8e6;
}

/* =========================================================
   ADVISOR MESSAGE
========================================================= */

.pf-results-advisor-message {
    margin-bottom: 16px;

    display: flex;
    align-items: flex-start;
    gap: 9px;

    animation:
        pf-results-advisor-message-in
        0.24s ease both;
}

.pf-results-advisor-message.user {
    flex-direction: row-reverse;
}

@keyframes pf-results-advisor-message-in {
    from {
        opacity: 0;
        transform: translateY(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pf-results-advisor-message-avatar {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: var(--results-primary-soft);
    color: var(--results-primary);

    font-size: 12px;
    font-weight: 800;
}

.pf-results-advisor-message.user
.pf-results-advisor-message-avatar {
    background: #e9edf4;
    color: #43536a;
}

.pf-results-advisor-message-content {
    min-width: 0;
    max-width: calc(100% - 37px);
}

.pf-results-advisor-message.user
.pf-results-advisor-message-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.pf-results-advisor-message-meta {
    margin-bottom: 5px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pf-results-advisor-message-meta strong {
    color: var(--results-text);

    font-size: 9px;
    font-weight: 800;
}

.pf-results-advisor-message-meta time {
    color: #8a97a8;

    font-size: 8px;
}

.pf-results-advisor-bubble {
    padding: 13px;

    border: 1px solid #dce7f4;
    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            #eef6ff 0%,
            #f8fbff 100%
        );

    color: #34475f;
}

.pf-results-advisor-message.user
.pf-results-advisor-bubble {
    border-color: #d7dee8;

    background: #f2f5f8;
}

.pf-results-advisor-bubble p {
    margin: 0 0 10px;

    color: #34475f;

    font-size: 10px;
    line-height: 1.65;
}

.pf-results-advisor-bubble p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   ADVISOR SUMMARY
========================================================= */

.pf-results-advisor-summary {
    margin: 12px 0;
    padding: 10px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;

    border: 1px solid #cfe2f7;
    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            #edf6ff 0%,
            #f7fbff 100%
        );
}

.pf-results-advisor-summary > div {
    min-width: 0;
    padding: 8px 5px;

    border-right: 1px solid #d4e2f0;

    text-align: center;
}

.pf-results-advisor-summary > div:last-child {
    border-right: 0;
}

.pf-results-advisor-summary span {
    display: block;

    color: var(--results-text);

    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.pf-results-advisor-summary p {
    margin: 4px 0 0;

    color: var(--results-muted);

    font-size: 8px;
    line-height: 1.35;
}

/* =========================================================
   BOARD PRESENTATION RECOMMENDATION
========================================================= */

.pf-results-advisor-recommendation {
    margin-top: 4px;
    padding: 15px;

    border: 1px solid #c6e6d5;
    border-radius: 11px;

    background:
        linear-gradient(
            145deg,
            #edf9f3 0%,
            #f9fdfb 100%
        );
}

.pf-results-advisor-recommendation > span {
    display: block;
    margin-bottom: 7px;

    color: var(--results-success-dark);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.pf-results-advisor-recommendation > strong {
    display: block;
    margin-bottom: 7px;

    color: var(--results-text);

    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

.pf-results-advisor-recommendation > p {
    margin: 0 0 13px;

    color: #52657a;

    font-size: 9px;
    line-height: 1.55;
}

.pf-results-advisor-recommendation button {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border: 1px solid var(--results-success);
    border-radius: 8px;

    background: var(--results-success);
    color: #ffffff;

    font-family: inherit;
    font-size: 10px;
    font-weight: 750;

    cursor: pointer;

    box-shadow:
        0 8px 18px rgba(22, 155, 97, 0.16);

    transition:
        background 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.pf-results-advisor-recommendation button:hover {
    background: var(--results-success-dark);

    transform: translateY(-1px);

    box-shadow:
        0 10px 22px rgba(22, 155, 97, 0.22);
}

/* =========================================================
   QUICK ACTIONS
========================================================= */

.pf-results-advisor-quick-actions {
    padding: 10px 14px;

    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    border-top: 1px solid #e6ecf2;

    background: #ffffff;
}

.pf-results-advisor-quick-actions button {
    min-height: 29px;
    padding: 0 10px;

    border: 1px solid #cfd9e6;
    border-radius: 999px;

    background: #ffffff;
    color: #43536a;

    font-family: inherit;
    font-size: 8px;
    font-weight: 700;

    cursor: pointer;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.pf-results-advisor-quick-actions button:hover {
    border-color: var(--results-primary);

    background: var(--results-primary-soft);
    color: var(--results-primary);

    transform: translateY(-1px);
}

/* =========================================================
   INPUT AREA
========================================================= */

.pf-results-advisor-input-area {
    padding: 12px 14px 13px;

    border-top: 1px solid #e6ecf2;

    background: #ffffff;
}

.pf-results-advisor-input-wrapper {
    position: relative;
}

.pf-results-advisor-input-wrapper textarea {
    width: 100%;
    min-height: 56px;
    max-height: 120px;

    padding: 11px 46px 11px 12px;

    resize: vertical;

    border: 1px solid #cfd9e6;
    border-radius: 10px;

    background: #fbfcfe;
    color: var(--results-text);

    font-family: inherit;
    font-size: 10px;
    line-height: 1.45;

    outline: none;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.pf-results-advisor-input-wrapper textarea:focus {
    border-color: var(--results-primary);

    box-shadow:
        0 0 0 3px rgba(23, 105, 232, 0.1);
}

.pf-results-advisor-input-wrapper button {
    position: absolute;
    right: 8px;
    bottom: 8px;

    width: 32px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 8px;

    background: var(--results-primary);
    color: #ffffff;

    cursor: pointer;

    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.pf-results-advisor-input-wrapper button:hover {
    background: var(--results-primary-dark);

    transform: translateY(-1px);
}

.pf-results-advisor-input-wrapper button svg {
    width: 17px;
    height: 17px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-results-advisor-input-area > p {
    margin: 8px 2px 0;

    color: #8a97a8;

    font-size: 8px;
    line-height: 1.45;
}

/* =========================================================
   FOCUS STATES
========================================================= */

.pf-results-advisor-recommendation button:focus-visible,
.pf-results-advisor-quick-actions button:focus-visible,
.pf-results-advisor-input-wrapper button:focus-visible,
.pf-results-advisor-input-wrapper textarea:focus-visible {
    outline: 3px solid rgba(23, 105, 232, 0.18);
    outline-offset: 2px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1250px) {
    .pf-results-advisor {
        height: auto;
        max-height: none;
    }
}

@media (max-width: 980px) {
    .pf-results-advisor {
        position: static;

        height: auto;
        max-height: none;
    }

    .pf-results-advisor-body {
        max-height: 560px;
    }
}

@media (max-width: 700px) {
    .pf-results-advisor-header {
        align-items: flex-start;
    }

    .pf-results-advisor-online {
        align-self: flex-start;
    }

    .pf-results-advisor-summary {
        grid-template-columns: 1fr;
    }

    .pf-results-advisor-summary > div {
        border-right: 0;
        border-bottom: 1px solid #d4e2f0;
    }

    .pf-results-advisor-summary > div:last-child {
        border-bottom: 0;
    }

    .pf-results-advisor-quick-actions {
        flex-direction: column;
    }

    .pf-results-advisor-quick-actions button {
        width: 100%;
        border-radius: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pf-results-advisor-online > span,
    .pf-results-advisor-message {
        animation: none !important;
    }

    .pf-results-advisor-recommendation button,
    .pf-results-advisor-quick-actions button,
    .pf-results-advisor-input-wrapper button {
        transition: none !important;
    }
}
/* =========================================================
   RESULTS — SONUÇLARI GÖSTER BUTONU / DÜZELTİLMİŞ
========================================================= */

.pf-results-page-header {
    position: relative;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.pf-results-status-badge {
    position: static;
    z-index: auto;

    flex: 0 0 auto;
    margin: 2px 0 0 auto;

    min-height: 48px;
    padding: 0 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border: 1px solid #b7e2cd;
    border-radius: 999px;

    background: linear-gradient(
        135deg,
        #effaf4 0%,
        #f8fdfb 100%
    );

    color: var(--results-success-dark);

    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;

    cursor: pointer;

    box-shadow:
        0 7px 18px rgba(22, 155, 97, 0.08);

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.pf-results-status-badge:hover {
    border-color: var(--results-success);

    background: var(--results-success-soft);

    transform: translateY(-1px);

    box-shadow:
        0 9px 21px rgba(22, 155, 97, 0.13);
}

.pf-results-status-badge > span {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;

    border-radius: 50%;

    background: var(--results-success);

    box-shadow:
        0 0 0 5px rgba(22, 155, 97, 0.1);
}

@media (max-width: 1250px) {
    .pf-results-status-badge {
        min-height: 44px;

        padding-left: 15px;
        padding-right: 15px;

        font-size: 11px;
    }
}

@media (max-width: 980px) {
    .pf-results-page-header {
        flex-direction: column;
    }

    .pf-results-status-badge {
        margin: 10px 0 0;

        align-self: flex-start;
    }
}
/* =========================================================
   RESULTS — WIZARD SOL HİZALAMA + ACTION
========================================================= */

.pf-dashboard-wizard {
    display: grid;
    grid-template-columns: minmax(0, 820px) auto;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.pf-dashboard-wizard-steps {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.pf-dashboard-wizard-step {
    flex: 1 1 0;
    min-width: 0;
}

.pf-dashboard-wizard-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.pf-dashboard-wizard-action .pf-results-status-badge {
    position: static;
    margin: 0;
}

/* Results dışındaki sayfalarda wizard tam genişlikte kalsın */
.pf-dashboard-wizard:not(:has(.pf-dashboard-wizard-action)) {
    grid-template-columns: 1fr;
}

.pf-dashboard-wizard:not(:has(.pf-dashboard-wizard-action))
.pf-dashboard-wizard-steps {
    width: 100%;
}

@media (max-width: 980px) {
    .pf-dashboard-wizard {
        grid-template-columns: 1fr;
    }

    .pf-dashboard-wizard-action {
        justify-content: flex-start;
    }
}
/* =====================================================
   RESULTS WIZARD FINAL OVERRIDE
===================================================== */

.pf-dashboard-wizard-action .pf-results-status-badge{

    position:static !important;

    top:auto !important;
    right:auto !important;
    left:auto !important;
    bottom:auto !important;

    margin:0 !important;

}
/* =========================================================
   RESULTS — SONUÇLARI GÖSTER / FINAL COLOR
========================================================= */

.pf-results-status-badge {
    border-color: #169b61 !important;
    background: #169b61 !important;
    color: #ffffff !important;

    box-shadow:
        0 8px 18px rgba(22, 155, 97, 0.20) !important;
}

.pf-results-status-badge > span {
    background: #ffffff !important;

    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.20) !important;
}

.pf-results-status-badge:hover {
    border-color: #0c7747 !important;
    background: #0c7747 !important;
    color: #ffffff !important;

    transform: translateY(-1px);
}
/* =========================================================
   WIZARD LAYOUT — GLOBAL RECOVERY
   Dashboard / New Project / Analysis / Execution / Results
========================================================= */

/* Wizard kartı gereksiz yükseklik üretmesin */
.pf-dashboard-wizard {
    min-height: 0 !important;
}

/* 1–2–3–4 adımlarını bütün sayfalarda yeniden yatay yap */
.pf-dashboard-wizard-steps {
    width: 100% !important;
    max-width: none !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Her adım eşit genişlikte dağılsın */
.pf-dashboard-wizard-steps > .pf-dashboard-wizard-step {
    flex: 1 1 0 !important;
    min-width: 0 !important;
}

/* Results dışındaki sayfalarda wizard tek kolon ve tam genişlik */
.pf-dashboard-wizard:not(:has(.pf-dashboard-wizard-action)) {
    display: block !important;
    grid-template-columns: none !important;
}

/* Results sayfasında adımlar + yeşil buton düzeni korunsun */
.pf-dashboard-wizard:has(.pf-dashboard-wizard-action) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 24px !important;
}

/* Results butonu adımların yanında kalsın */
.pf-dashboard-wizard-action {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

.pf-dashboard-wizard-action .pf-results-status-badge {
    position: static !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    margin: 0 !important;
}

/* Mobil */
@media (max-width: 980px) {
    .pf-dashboard-wizard:has(.pf-dashboard-wizard-action) {
        grid-template-columns: 1fr !important;
    }

    .pf-dashboard-wizard-action {
        justify-content: flex-start !important;
    }
}
/* =========================================================
   SPRINT 25.1 - RESULTS ANALYSIS VISUALS
========================================================= */

.pf-results-analysis-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 24px;
    margin-top: 22px;
}

.pf-results-analysis-panel {
    background: #ffffff;
    border: 1px solid #dce5ee;
    border-radius: 18px;
    padding: 22px;
    min-width: 0;
}

.pf-results-analysis-panel h3 {
    margin: 0 0 6px;
    color: #0b2a56;
    font-size: 18px;
    font-weight: 700;
}

.pf-results-analysis-panel > p {
    margin: 0 0 22px;
    color: #64748b;
    font-size: 13px;
}


/* ---------------------------------------------------------
   TREND CHART
--------------------------------------------------------- */

.pf-results-trend-chart {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    min-height: 260px;
}

.pf-results-chart-y {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0 30px;
    color: #8a98aa;
    font-size: 11px;
    text-align: right;
}

.pf-results-chart-area {
    position: relative;
    min-height: 230px;
    border-left: 1px solid #dfe7ef;
    border-bottom: 1px solid #dfe7ef;
}

.pf-results-chart-grid-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: #edf2f7;
}

.pf-results-chart-grid-line.l1 { top: 20%; }
.pf-results-chart-grid-line.l2 { top: 40%; }
.pf-results-chart-grid-line.l3 { top: 60%; }
.pf-results-chart-grid-line.l4 { top: 80%; }

.pf-results-chart-area svg {
    position: absolute;
    inset: 10px 12px 30px 12px;
    width: calc(100% - 24px);
    height: calc(100% - 40px);
    color: #2f80ed;
    overflow: visible;
}

.pf-results-chart-area svg circle {
    fill: #ffffff;
    stroke: #2f80ed;
    stroke-width: 5;
}

.pf-results-chart-labels {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -26px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    color: #7c8b9c;
    font-size: 11px;
    text-align: center;
}

.pf-results-trend-alert {
    margin-top: 36px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff5f5;
    border: 1px solid #ffd8dc;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pf-results-trend-alert strong {
    color: #c93c4a;
    font-size: 13px;
}

.pf-results-trend-alert span {
    color: #64748b;
    font-size: 12px;
}


/* ---------------------------------------------------------
   REASON BARS
--------------------------------------------------------- */

.pf-results-reason-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pf-results-reason-item > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
}

.pf-results-reason-item strong {
    color: #172b4d;
    font-size: 13px;
}

.pf-results-reason-item span {
    color: #52667a;
    font-size: 12px;
    font-weight: 700;
}

.pf-results-reason-bar {
    position: relative;
    height: 12px;
    background: #edf2f7;
    border-radius: 999px;
    overflow: hidden;
}

.pf-results-reason-bar span {
    display: block;
    height: 100%;
    min-width: 8px;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        #205b80 0%,
        #2f80ed 100%
    );
}


/* ---------------------------------------------------------
   REPORT CENTER
--------------------------------------------------------- */

.pf-results-report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pf-results-report-card {
    border: 1px solid #dce5ee;
    border-radius: 18px;
    padding: 24px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 270px;
}

.pf-results-report-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #edf5ff;
    color: #205b80;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
}

.pf-results-report-type {
    color: #2f80ed;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.pf-results-report-card h3 {
    margin: 0 0 10px;
    color: #0b2a56;
    font-size: 19px;
}

.pf-results-report-card p {
    margin: 0 0 20px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.pf-results-report-download {
    margin-top: auto;
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 11px;
    background: #205b80;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.2s ease;
}

.pf-results-report-download:hover {
    background: #174765;
    transform: translateY(-1px);
}


/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1100px) {
    .pf-results-analysis-grid,
    .pf-results-report-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .pf-results-analysis-panel {
        padding: 16px;
    }

    .pf-results-trend-chart {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .pf-results-chart-labels {
        font-size: 9px;
    }
}