/* FP Tools: the styles of every tool engine (assessment, checklist, template, download), the gate, the questionnaire and the company profile. */

/* -- Assessment ------------------------------------------------------------ */
.fp-assessment-wrapper {
    position: relative;
    font-family: 'Inter', sans-serif;
}

/* -- Blur / Overlay ------------------------------------------------------ */
.fp-blur-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 280px;
}
.fp-blur-bg {
    padding: 40px;
    filter: blur(5px);
    opacity: 0.35;
    pointer-events: none;
    user-select: none;
}
.fp-fake-bar {
    height: 14px;
    background: rgba(255,255,255,0.25);
    border-radius: 4px;
    margin-bottom: 14px;
}
.fp-fake-option {
    height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    margin-bottom: 10px;
}
.fp-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(15, 23, 42, 0.88);
    padding: 36px 48px;
    border-radius: 12px;
    border: 1px solid rgba(13, 148, 136, 0.5);
    width: 90%;
    max-width: 420px;
}
.fp-overlay p {
    color: #e2e8f0;
    margin-bottom: 20px;
    font-size: 16px;
}
.fp-price {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

/* -- Buttons ---------------------------------------------------------------- */
.fp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0d9488;
    color: #ffffff !important;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.fp-btn-primary:hover { background: #0f766e; color: #fff; }

.fp-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #0d9488;
    border: 1px solid #0d9488;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.fp-btn-secondary:hover {background: rgba(13,148,136,0.1) !important;}

/* -- Progress Bar --------------------------------------------------------- */
.fp-progress-wrap {
    margin-bottom: 36px;
}
.fp-progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
    color: #94a3b8;
}
.fp-progress-track {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}
.fp-progress-fill {
    height: 100%;
    background: #0d9488;
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* -- Questions ------------------------------------------------------------- */
.fp-cat-block { padding: 4px 0; }

.fp-cat-label-sm {
    font-size: 13px;
    font-weight: 500;
    color: #0d9488;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 28px;
}
.fp-q-block { margin-bottom: 32px; }

.fp-q-text {
    color: #f1f5f9;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 14px;
}
.fp-q-num {
    color: #0d9488;
    font-weight: 600;
    margin-right: 6px;
}
.fp-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.fp-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    cursor: pointer;
    color: #94a3b8;
    font-size: 15px;
    transition: all 0.18s;
}
.fp-option:hover {
    border-color: rgba(13,148,136,0.5);
    color: #e2e8f0;
}
.fp-option.selected {
    border-color: #0d9488;
    background: rgba(13,148,136,0.12);
    color: #ffffff;
}
.fp-option input[type=radio] {
    accent-color: #0d9488;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* -- Navigation ------------------------------------------------------------ */
.fp-nav {
    display: flex;
    gap: 12px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.fp-error {
    color: #f87171;
    font-size: 14px;
    margin-top: 12px;
}

/* -- Results ---------------------------------------------------------------- */
.fp-results-title {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 28px;
}
.fp-overall {
    text-align: center;
    padding: 36px 24px;
    background: rgba(13,148,136,0.1);
    border: 1px solid rgba(13,148,136,0.3);
    border-radius: 12px;
    margin-bottom: 28px;
}
.fp-overall-score {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}
.fp-score-big {
    font-size: 72px;
    font-weight: 700;
    color: #0d9488;
    line-height: 1;
}
.fp-score-max {
    font-size: 32px;
    color: #475569;
}
.fp-overall-label {
    color: #94a3b8;
    font-size: 14px;
    margin-top: 8px;
}
.fp-cat-results {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.fp-cat-result {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 20px 22px;
}
.fp-cat-result-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.fp-cat-result-name {
    color: #f1f5f9;
    font-size: 15px;
    font-weight: 500;
}
.fp-cat-result-score {
    color: #0d9488;
    font-weight: 600;
    font-size: 15px;
}
.fp-cat-bar-track {
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    margin-bottom: 12px;
}
.fp-cat-bar-fill {
    height: 100%;
    background: #0d9488;
    border-radius: 3px;
}
.fp-interp {
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
.fp-interp-rec {
    margin-top: 8px;
    font-weight: 600;
    color: #0d9488;
}
.fp-overall-band {
    font-weight: 700;
    font-size: 15px;
    margin-top: 6px;
}
.fp-cat-products { margin-top: 10px; }
.fp-cat-products .fp-btn-secondary { display: inline-block; margin: 4px 8px 0 0; text-decoration: none; }

/* Responsive */
@media (max-width: 600px) {
    .fp-overlay { padding: 28px 24px; }
    .fp-score-big { font-size: 52px; }
    .fp-score-max { font-size: 24px; }
}

/* -- Previous Category Summary ---------------------------------------- */
.fp-prev-summary {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.fp-prev-summary-title {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}
.fp-prev-cat {
    margin-bottom: 14px;
    opacity: 0.7;
}
.fp-prev-cat-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.fp-prev-cat-name {
    color: #94a3b8;
    font-size: 13px;
}
.fp-prev-cat-score {
    color: #0d9488;
    font-size: 13px;
    font-weight: 600;
}

/* -- Checklist and decision tool ------------------------------------ */

/* -- Question Block ------------------------------------------------------ */
.fp-cl-question {
    padding: 8px 0;
}
.fp-cl-q-text {
    color: #f1f5f9;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* -- Options ---------------------------------------------------------------- */
.fp-cl-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.fp-cl-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    cursor: pointer;
    color: #94a3b8;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    text-align: left;
    transition: all 0.18s;
    width: 100%;
}
.fp-cl-option:hover {
    border-color: rgba(13,148,136,0.6);
    color: #e2e8f0;
    background: rgba(13,148,136,0.06);
}
.fp-cl-option.selected {
    border-color: #0d9488;
    background: rgba(13,148,136,0.15);
    color: #ffffff;
}
.fp-cl-option-label {
    flex: 1;
}
.fp-cl-arrow {
    color: #0d9488;
    font-size: 18px;
    margin-left: 16px;
    opacity: 0;
    transition: opacity 0.18s, transform 0.18s;
}
.fp-cl-option:hover .fp-cl-arrow,
.fp-cl-option.selected .fp-cl-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* -- Outcome Screen ------------------------------------------------------ */
.fp-cl-outcome {
    padding: 4px 0 28px;
}
.fp-cl-outcome-badge {
    display: inline-block;
    background: rgba(13,148,136,0.15);
    border: 1px solid rgba(13,148,136,0.4);
    color: #0d9488;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
    letter-spacing: 0.04em;
}
.fp-cl-outcome-text {
    color: #f1f5f9;
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 32px;
    padding: 24px 28px;
    background: rgba(13,148,136,0.08);
    border-left: 3px solid #0d9488;
    border-radius: 0 10px 10px 0;
}
.fp-cl-steps {
    margin-top: 12px;
}
.fp-cl-steps-label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}
.fp-cl-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: steps;
}
.fp-cl-steps-list li {
    counter-increment: steps;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.6;
}
.fp-cl-steps-list li:last-child {
    border-bottom: none;
}
.fp-cl-steps-list li::before {
    content: counter(steps);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    background: rgba(13,148,136,0.15);
    border: 1px solid rgba(13,148,136,0.3);
    border-radius: 50%;
    color: #0d9488;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* -- Outcome Actions ----------------------------------------------------- */
.fp-outcome-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
    align-items: center;
}
/* -- Responsive ------------------------------------------------------------ */
@media (max-width: 600px) {
    .fp-cl-q-text { font-size: 17px; }
    .fp-cl-option { padding: 14px 16px; font-size: 14px; }
}

/* -- Path Summary (Your Answers) ------------------------------------- */
.fp-cl-path-summary {
    margin-top: 28px;
}
.fp-cl-path-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
}
.fp-cl-path-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.fp-cl-path-item:last-child { border-bottom: none; }
.fp-cl-path-item:nth-child(even) { background: rgba(255,255,255,0.02); }
.fp-cl-path-q {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
}
.fp-cl-path-a {
    color: #0d9488;
    font-size: 14px;
    font-weight: 500;
}

/* -- History (earlier results, one card each) ------------------------- */
.fp-history {
    margin-top: 52px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.fp-history-title {
    color: #f1f5f9;
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 20px;
}

/* -- History Cards -------------------------------------------------------- */
.fp-hist-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fp-hist-card {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
}
.fp-hist-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: rgba(13,148,136,0.08);
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
}
.fp-hist-card-head:hover { background: rgba(13,148,136,0.15); }
.fp-hist-date {
    color: #94a3b8;
    font-size: 13px;
    white-space: nowrap;
}
.fp-hist-sum {
    flex: 1;
    margin: 0 16px;
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.4;
}
.fp-hist-sum b { color: #ffffff; margin-right: 6px; }
.fp-hist-label--steps { margin-top: 14px; }
.fp-hist-toggle {
    color: #0d9488;
    font-size: 12px;
}
.fp-hist-card-body {
    display: none;
    padding: 0;
}
.fp-hist-card-body.open { display: block; }
.fp-hist-section {
    padding: 18px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.fp-hist-label {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}
.fp-hist-outcome-text {
    color: #e2e8f0;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}
.fp-hist-qa-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.fp-hist-qa-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.fp-hist-qa-item:last-child { border-bottom: none; }
.fp-hist-qa-item:nth-child(even) { background: rgba(255,255,255,0.02); }
.fp-hist-q {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
}
.fp-hist-a {
    color: #0d9488;
    font-size: 13px;
    font-weight: 500;
}

/* -- Template -------------------------------------------------------------- */

/* Blur state fake inputs */
.fp-fake-input {
    height: 44px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    margin-bottom: 12px;
}

/* -- Form -------------------------------------------------------------------- */
.fp-dt-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 8px 0;
}
.fp-dt-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.fp-dt-label {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}
.fp-required { color: #0d9488; margin-left: 3px; }
.fp-q-legend { color: #94a3b8; font-size: 13px; margin: 0 0 14px; }
.fp-q-legend .fp-required { margin: 0 2px 0 0; }

/* Inputs, dark theme */
.fp-dt-input {
    padding: 4px 14px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    color: #f1f5f9 !important;
    font-size: 15px !important;
    width: 100% !important;
    transition: border-color 0.18s !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
}
.fp-dt-input:focus {
    outline: none !important;
    border-color: #0d9488 !important;
    background-color: rgba(13,148,136,0.08) !important; /* not the shorthand: a select keeps its chevron image */
}
.fp-dt-input::placeholder { color: #475569; }
.fp-dt-input-error { border-color: #ef4444 !important; }
.fp-dt-textarea { resize: vertical; min-height: 100px; }
.fp-dt-input-number { max-width: 200px; }

/* Select: the chevron, since -webkit-appearance:none removes the browser's; the !important wins over .fp-dt-input's background shorthand */
.fp-dt-select {
    cursor: pointer;
    background-color: rgba(255,255,255,0.05) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230d9488' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    padding-right: 40px;
}
.fp-dt-select option {
    background: #0f172a !important;
    color: #f1f5f9 !important;
}

/* Yes/No radio */
.fp-dt-yesno { display: flex; gap: 12px; }
.fp-dt-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    cursor: pointer;
    color: #94a3b8;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.18s;
    flex: 1;
    justify-content: center;
    background: transparent;
}
.fp-dt-radio:hover {
    border-color: rgba(13,148,136,0.5);
    color: #e2e8f0;
    background: rgba(13,148,136,0.05);
}
.fp-dt-radio input[type=radio] { accent-color: #0d9488; width: 16px; height: 16px; }
.fp-dt-radio:has(input:checked) {
    border-color: #0d9488;
    background: rgba(13,148,136,0.12);
    color: #ffffff;
}

/* Template badge */
.fp-template-badge { font-size: 12px; color: #0d9488; font-weight: 500; }

/* Error */
.fp-dt-error { color: #f87171; font-size: 14px; padding: 10px 0; }
.fp-dt-actions { margin-top: 8px; }

/* -- Preview, dark theme ---------------------------------------------- */
.fp-dt-preview-header { margin-bottom: 28px; }
.fp-dt-preview-badge {
    display: inline-block;
    background: rgba(13,148,136,0.15);
    border: 1px solid rgba(13,148,136,0.4);
    color: #0d9488;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    letter-spacing: 0.04em;
}
.fp-dt-preview-title {
    color: #f1f5f9;
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

/* Preview box, dark like the assessment result */
.fp-dt-preview-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 28px;
}
.fp-dt-preview-inner {
    padding: 36px 40px;
}

/* Fields table, dark */
.fp-dt-preview-fields {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
}
.fp-dt-preview-field {
    display: flex;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
}
.fp-dt-preview-field:last-child { border-bottom: none; }
.fp-dt-preview-field:nth-child(even) {
    background: rgba(255,255,255,0.03);
}
.fp-dt-preview-key {
    color: white;
    width: 220px;
    flex-shrink: 0;
    font-weight: 500;
}
.fp-dt-preview-val { color: #e2e8f0; }
.fp-dt-preview-note {
    color: #99acc7;
    font-size: 13px;
    font-style: italic;
    margin: 0;
}

/* Download actions */
.fp-dt-download-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* Responsive */
@media (max-width: 600px) {
    .fp-dt-yesno { flex-direction: column; }
    .fp-dt-preview-inner { padding: 24px 20px; }
    .fp-dt-preview-key { width: 140px; }
}

/* -- Download -------------------------------------------------------------- */

/* Blur fake cards */
.fp-fake-dl-card {
    height: 80px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    margin-bottom: 12px;
}

/* Grid */
.fp-dl-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Card */
.fp-dl-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    transition: border-color 0.18s, background 0.18s;
}
.fp-dl-card:hover {
    border-color: rgba(13,148,136,0.3);
    background: rgba(13,148,136,0.05);
}

/* Icon */
.fp-dl-icon-wrap { flex-shrink: 0; }
.fp-dl-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 52px;
    height: 60px;
    background: rgba(13,148,136,0.1);
    border: 1px solid rgba(13,148,136,0.2);
    border-radius: 8px;
    justify-content: center;
}
.fp-dl-ext {
    font-size: 10px;
    font-weight: 700;
    color: #0d9488;
    letter-spacing: 0.05em;
    font-family: 'Inter', sans-serif;
}

/* Info */
.fp-dl-info { flex: 1; min-width: 0; }
.fp-dl-name {
    color: #f1f5f9;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fp-dl-type {
    color: #94a3b8;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

/* Button */
.fp-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #159e9e !important;
    color: #ffffff !important;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.18s;
}
.fp-dl-btn:hover { background: #1FB5B5 !important; color: #fff !important; }
.fp-dl-locked { background: transparent !important; color: #94a3b8 !important; border: 1px solid rgba(255,255,255,0.15) !important; cursor: default; }
.fp-dl-btn--disabled {
    background: rgba(255,255,255,0.06);
    color: #475569;
    cursor: not-allowed;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

/* Responsive */
@media (max-width: 520px) {
    .fp-dl-card {
        flex-wrap: wrap;
        gap: 14px;
        padding: 16px;
    }
    .fp-dl-btn, .fp-dl-btn--disabled {
        width: 100%;
        justify-content: center;
    }
}

.logic-grid{
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:24px;
}
input.fp-input.fp-logic-input {
    background-color: #FFFFFF00 !important;
    border-radius: 0 0 0 0;
    padding: 10px !important;
    font-size: 16px !important;
    height: 50px;
    border: 1px solid #69727d !important;
    outline: none !important;
}
@media (max-width: 767px) {
	.logic-grid{
		display:grid;
		grid-template-columns:1fr ;
		gap:24px;
	}
}

/* -- Gate, status lines, closed tool ---------------------------------- */
.fp-gate .fp-gate-intro { color:#94a3b8; font-size:14px; margin-bottom:20px; }
.fp-gate .fp-gate-door-title { color:#e2e8f0; }
.fp-gate-door { border:1px solid rgba(255,255,255,0.1); border-radius:8px; padding:18px; }
.fp-gate-door-title { font-weight:600; margin-bottom:10px; }
.fp-gate-door .fp-input { width:100%; margin-bottom:8px; }
.fp-gate-door .fp-btn-primary { width:100%; }
.fp-gate-error { color:#ef4444; font-size:13px; margin-top:8px; }
.fp-gate-note { color:#94a3b8; font-size:12px; margin:12px 0 0; line-height:1.5; }
.fp-gate-note a, .fp-gate-note a:visited { color:#159E9E; text-decoration:underline; }
.fp-tool .fp-save-status { font-size:13px; color:#94a3b8; margin-top:8px; min-height:1em; }
.fp-tool-closed { border:1px solid rgba(255,255,255,0.12); border-radius:8px; padding:20px 22px; color:#e2e8f0; font-size:15px; line-height:1.6; }
.fp-tool-closed a { color:#159E9E; }

/* -- Questionnaire (type Q) ---------------------------------------------- */
.fp-q-wrapper { position:relative; font-family:'Inter', sans-serif; }
.fp-q-intro { color:#94a3b8; font-size:15px; line-height:1.6; margin:0 0 20px; }
.fp-q-page-intro { color:#94a3b8; font-size:14px; line-height:1.6; margin:0 0 18px; }
.fp-q-resume { display:flex; flex-wrap:wrap; gap:12px; align-items:center; border:1px solid rgba(21,158,158,0.5); background:rgba(21,158,158,0.08); border-radius:8px; padding:14px 16px; margin:0 0 20px; color:#e2e8f0; font-size:14px; }
.fp-q-resume span { flex:1 1 240px; }
.fp-q-help { color:#94a3b8; font-size:13px; margin:-6px 0 10px; line-height:1.5; }
.fp-q-date { color:#94a3b8; font-size:12px; margin:6px 0 0; }
/* Each question is set off on its own; the one being answered lights up. */
.fp-q-wrapper .fp-qq { padding:16px 16px; margin:0 -16px 8px; border-radius:10px; background:rgba(255,255,255,0.02); transition:background .15s, box-shadow .15s; }
.fp-q-wrapper .fp-qq:hover, .fp-q-wrapper .fp-qq:focus-within { background:rgba(21,158,158,0.10); box-shadow:inset 3px 0 0 #159E9E; }
.fp-qq.fp-q-missing { outline:2px solid #d97706; outline-offset:8px; border-radius:6px; }
.fp-q-number { display:inline-flex; align-items:center; gap:10px; }
.fp-q-number .fp-dt-input-number { max-width:160px; }
.fp-q-unit { color:#94a3b8; font-size:13px; }
.fp-options-multi .fp-option input { accent-color:#159E9E; }
.fp-option span small { display:block; color:#94a3b8; font-size:12px; margin-top:2px; }
.fp-option-other { flex-wrap:wrap; }
.fp-option-other .fp-q-other { flex:1 1 100%; margin:8px 0 0; }
.fp-q-scale { display:flex; gap:8px; flex-wrap:wrap; }
.fp-q-scale-step { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border:1px solid rgba(255,255,255,0.15); border-radius:8px; cursor:pointer; color:#e2e8f0; font-weight:600; }
.fp-q-scale-step input { display:none; }
.fp-q-scale-step.selected { background:#159E9E; border-color:#159E9E; color:#fff; }
.fp-q-scale-labels { display:flex; justify-content:space-between; color:#94a3b8; font-size:12px; margin-top:6px; max-width:260px; }
.fp-q-grid { overflow-x:auto; }
.fp-q-grid-table { width:100%; border-collapse:collapse; font-size:14px; table-layout:fixed; }
.fp-q-grid-table th:first-child, .fp-q-grid-table tbody th { width:34%; }
.fp-q-grid-table th { text-align:left; color:#94a3b8; font-weight:500; font-size:12px; text-transform:uppercase; letter-spacing:.05em; padding:8px 10px; border-bottom:1px solid rgba(255,255,255,0.1); }
.fp-q-grid-table tbody th { color:#e2e8f0; text-transform:none; font-size:14px; letter-spacing:0; }
.fp-q-grid-table td { padding:8px 10px; border-bottom:1px solid rgba(255,255,255,0.06); vertical-align:middle; }
@media (max-width:640px) { .fp-q-grid-table { table-layout:auto; } .fp-q-grid-table td { min-width:140px; } }
.fp-q-grid-table .fp-dt-input { margin:0; }
.fp-q-grid-table .fp-dt-yesno { gap:8px; }
.fp-q-grid-table .fp-dt-radio { padding:8px 10px; }
.fp-q-pause { margin-left:auto; }
.fp-q-done { margin-top:8px; }
.fp-q-summary { color:#e2e8f0; margin-top:12px; }
@media (max-width:640px) { .fp-q-pause { margin-left:0; } }

/* -- Company profile overview ---------------------------------------------- */
.fp-profile { font-family:'Inter', sans-serif; margin-bottom:32px; }
.fp-profile-head { display:flex; gap:20px; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; margin-bottom:18px; }
.fp-profile-title {font-size: 22px !important;font-weight:700;color: #fff !important;margin:0 0 6px;}
.fp-profile-sub { color:#94a3b8; font-size:14px; line-height:1.6; margin:0; max-width:640px; }
.fp-profile-count { color:#94a3b8; font-size:14px; min-width:190px; text-align:right; }
.fp-profile-count b { color:#fff; }
.fp-profile-bar { display:block; height:8px; margin-top:6px; background:rgba(255,255,255,0.1); border-radius:4px; overflow:hidden; }
.fp-profile-bar i { display:block; height:100%; background:#159E9E; }
.fp-profile-strips { display:flex; flex-direction:column; gap:10px; }
.fp-profile-strip:hover { background:rgba(21,158,158,0.06); }
.fp-profile-strip { transition:background .15s; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; border:1px solid rgba(255,255,255,0.1); border-left-width:4px; border-radius:8px; padding:14px 16px; background:rgba(255,255,255,0.02); }
.fp-profile-strip--complete { border-left-color:#159E9E; }
.fp-profile-strip--draft { border-left-color:#94a3b8; }
.fp-profile-strip--missing { border-left-color:rgba(255,255,255,0.2); }
.fp-profile-strip--stale, .fp-profile-strip.is-required { border-color:#d97706; border-left-color:#d97706; }
.fp-profile-strip.is-open { background:rgba(21,158,158,0.08); }
.fp-profile-strip-main { display:flex; flex-direction:column; gap:3px; min-width:0; flex:1 1 320px; }
.fp-profile-strip-code { color:#94a3b8; font-size:11px; letter-spacing:.08em; }
.fp-profile-strip-title { color:#fff; font-weight:600; font-size:15px; }
.fp-profile-strip-status { color:#94a3b8; font-size:13px; }
.fp-profile-strip--stale .fp-profile-strip-status, .fp-profile-strip.is-required .fp-profile-strip-status { color:#f59e0b; }
.fp-profile-strip-summary { color:#cbd5e1; font-size:13px; }
.fp-profile-strip-actions { display:flex; gap:8px; align-items:center; }
.fp-profile-strip-actions button, .fp-profile-strip-actions a {
    padding: 6px 12px !important;
    font-size: 14px !important;
    background: transparent;
    color: #7fd8d8;
    border-color: #159e9e;
}
.fp-profile-strip-actions .fp-btn-primary, .fp-profile-strip-actions .fp-btn-secondary {text-decoration: none !important;}
.fp-profile-why { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:16px; margin:20px 0 0; }
.fp-profile-why b { color:#e2e8f0; font-size:14px; }
.fp-profile-why p { color:#94a3b8; font-size:14px; line-height:1.6; margin:4px 0 0; text-wrap:pretty; }
@media (max-width:760px) { .fp-profile-why { grid-template-columns:1fr; } .fp-profile-count { text-align:left; } }
.fp-profile-part-title { color:#fff; font-size:19px; font-weight:700; margin:28px 0 14px; }

/* Full-width buttons on phones, every tool. */
@media (max-width: 600px) { .fp-tool .fp-btn-primary, .fp-tool .fp-btn-secondary { width: 100%; justify-content: center; } }

/* -- Tool runner: a tool in a window over the page ---------------- */
html.fp-runner-open { overflow:hidden; }
.fp-runner { position:fixed; inset:0; z-index:100000; background:rgba(0,0,0,0.6); display:flex; align-items:center; justify-content:center; padding:24px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px)); }
.fp-runner-box { width:100%; max-width:820px; height:min(88vh, 900px); display:flex; flex-direction:column; background:#0F211D; border:1px solid rgba(255,255,255,0.12); border-radius:16px; overflow:hidden; box-shadow:0 20px 60px rgba(0,0,0,0.5); }
.fp-runner-head { display:flex; align-items:center; gap:12px; padding:14px 20px; border-bottom:1px solid rgba(255,255,255,0.1); color:#fff; font-family:'Inter', sans-serif; }
.fp-runner-head b { flex:1; font-size:16px; text-wrap:balance; }
.fp-runner-note { color:#94a3b8; font-size:13px; }
.fp-runner-close { background:none; border:0; color:#cbd5e1; font-size:26px; line-height:1; cursor:pointer; padding:0 4px; }
.fp-runner-close:hover, .fp-runner-close:focus-visible { color:#fff; outline:none; }
.fp-runner-frame { flex:1; width:100%; border:0; background:#07110F; }
@media (max-width:640px) { .fp-runner { padding:0; } .fp-runner-box { height:100%; max-width:none; border-radius:0; } .fp-runner-note { display:none; } }


.fp-q-grid-table th, .fp-q-grid-table tr, .fp-q-grid-table td, .fp-q-grid-table {
    border: none !important;
}