/* =====================================================
   GLOBAL THEME VARIABLES
===================================================== */

:root {
    --primary-color: #0E5AF2;
    --success-color: #28a745;
    --title-color: #1A1A1A;
    --body-color: #55595d;
    --white: #ffffff;

    --title-font: "Exo", sans-serif;
    --body-font: "Fira Sans", sans-serif;
}


/* =====================================================
   BASE TYPOGRAPHY
===================================================== */

.lookup-section {
    margin-bottom: 50px;
    font-family: var(--body-font);
    color: var(--body-color);
}

.lookup-section h3 {
    font-family: var(--title-font);
    font-size: 22px;
    color: var(--title-color);
    margin-bottom: 18px;
}

.lookup-section p {
    line-height: 1.6;
}


/* =====================================================
   ENGINE LOADING CARD
===================================================== */

.lookup-engine-card {
    background: var(--primary-color);
    color: var(--white);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(14, 90, 242, 0.25);
    margin-bottom: 40px;
    font-family: var(--body-font);
}

.lookup-engine-card h3 {
    font-family: var(--title-font);
    margin-top: 0;
    margin-bottom: 20px;
}


/* =====================================================
   PROGRESS BAR
===================================================== */

.lookup-progress-container {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.lookup-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--white);
    transition: width 0.5s ease;
}

.lookup-progress-text {
    font-size: 14px;
    opacity: 0.9;
}


/* =====================================================
   EXECUTIVE SUMMARY CARD
===================================================== */

.lookup-summary-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    margin-bottom: 50px;
    border-left: 6px solid var(--primary-color);
}

.lookup-summary-card h2 {
    font-family: var(--title-font);
    color: var(--title-color);
    font-size: 26px;
    margin-top: 0;
    margin-bottom: 20px;
}

.lookup-summary-card strong {
    color: var(--primary-color);
}


/* =====================================================
   RISK TABLE
===================================================== */

.lookup-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.lookup-table th {
    background: var(--primary-color);
    color: var(--white);
    font-family: var(--title-font);
    padding: 14px;
    text-align: left;
}

.lookup-table td {
    padding: 14px;
    border-bottom: 1px solid #eef2f7;
    font-family: var(--body-font);
}

.lookup-table tr:last-child td {
    border-bottom: none;
}


/* =====================================================
   RISK COLORS
===================================================== */

.risk-compatible {
    background-color: rgba(40, 167, 69, 0.08);
}

.risk-tension {
    background-color: rgba(255, 193, 7, 0.1);
}

.risk-blocker {
    background-color: rgba(220, 53, 69, 0.08);
}




/* =====================================================
   PREMIUM ACCORDION SYSTEM
===================================================== */

.lookup-accordion {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.lookup-accordion.active {
    box-shadow: 0 15px 40px rgba(14, 90, 242, 0.12);
}

/* Header */
.lookup-accordion-header {
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--title-font);
    background: #f8faff;
    transition: all 0.25s ease;
}

.lookup-accordion-header h2 {
    margin: 0;
    font-size: 20px;
    color: var(--title-color);
}

.lookup-accordion-header:hover {
    background: linear-gradient(135deg, #f0f5ff, #eaf1ff);
}

/* Icon */
.lookup-accordion-icon {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.lookup-accordion.active .lookup-accordion-icon {
    transform: rotate(180deg);
}

/* Content */

.lookup-accordion-content {
    display: none;
    padding: 25px 28px 30px 28px;
}


/* Internal cards spacing fix */
.lookup-accordion-content .lookup-card {
    margin-bottom: 18px;
	padding: 20px;
}

.lookup-accordion-content .lookup-card:last-child {
    margin-bottom: 0;
}


/* =====================================================
   UNCERTAINTIES
===================================================== */

.lookup-section ul {
    padding-left: 20px;
}

.lookup-section li {
    margin-bottom: 8px;
}


/* =====================================================
   ERROR CARD
===================================================== */

.lookup-error-card {
    background: #fff5f5;
    padding: 25px;
    border-radius: 14px;
    border-left: 5px solid #dc3545;
    font-family: var(--body-font);
    color: #842029;
}


/* =====================================================
   SKELETON
===================================================== */

.lookup-skeleton-block {
    height: 60px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        #f1f3f7 25%,
        #e6eaf2 50%,
        #f1f3f7 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {

    .lookup-summary-card {
        padding: 25px;
    }

    .lookup-engine-card {
        padding: 25px;
    }

    .lookup-table th,
    .lookup-table td {
        padding: 10px;
        font-size: 14px;
    }
}

/* =====================================================
   FORM DESIGN SYSTEM
===================================================== */

.lookup-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
    margin-bottom: 50px;
}

.lookup-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.lookup-full {
    grid-column: span 2;
}

.lookup-field label {
    display: block;
    font-family: var(--title-font);
    font-size: 14px;
    color: var(--title-color);
    margin-bottom: 6px;
}

.lookup-field select,
.lookup-field textarea,
.lookup-field input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-family: var(--body-font);
    font-size: 14px;
    transition: all 0.2s ease;
    background: #f9fafc;
}

.lookup-field select:focus,
.lookup-field textarea:focus,
.lookup-field input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(14, 90, 242, 0.15);
}

.lookup-submit {
    margin-top: 30px;
    text-align: right;
}


/* =====================================================
   PRIMARY BUTTON
===================================================== */

.lookup-btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-family: var(--title-font);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 8px 20px rgba(14, 90, 242, 0.25);
}

.lookup-btn-primary:hover {
    background: #0b47c4;
    transform: translateY(-2px);
}

.lookup-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {

    .lookup-form-grid {
        grid-template-columns: 1fr;
    }

    .lookup-full {
        grid-column: span 1;
    }

    .lookup-submit {
        text-align: center;
    }
}

/* =====================================================
   FORM SPACING IMPROVEMENT
===================================================== */

.lookup-field {
    margin-bottom: 10px;
}


.lookup-form {
    padding: 50px;
}

.lookup-form h2,
.lookup-form h3 {
    margin-bottom: 25px;
}


/* =====================================================
   INPUT WRAPPER WITH ICON
===================================================== */

.lookup-input-wrapper {
    position: relative;
}

.lookup-input-wrapper select,
.lookup-input-wrapper textarea,
.lookup-input-wrapper input {
    padding-left: 45px;
}


/* =====================================================
   MINIMAL ICONS (PURE CSS)
===================================================== */

.lookup-input-wrapper::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-color: var(--primary-color);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    opacity: 0.8;
}

/* Structure */
.icon-structure::before {
    mask-image: url('data:image/svg+xml;utf8,<svg fill="black" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 11h18v2H3zM3 6h18v2H3zM3 16h18v2H3z"/></svg>');
}

/* Objective */
.icon-objective::before {
    mask-image: url('data:image/svg+xml;utf8,<svg fill="black" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2l4 4-8 8-4-4 8-8zm0 13l5 5H7l5-5z"/></svg>');
}

/* Scope */
.icon-scope::before {
    mask-image: url('data:image/svg+xml;utf8,<svg fill="black" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/></svg>');
}

/* Risk */
.icon-risk::before {
    mask-image: url('data:image/svg+xml;utf8,<svg fill="black" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2l9 18H3L12 2z"/></svg>');
}

/* Decision */
.icon-decision::before {
    mask-image: url('data:image/svg+xml;utf8,<svg fill="black" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 4h16v4H4zM4 10h10v4H4zM4 16h7v4H4z"/></svg>');
}

/* Style */
.icon-style::before {
    mask-image: url('data:image/svg+xml;utf8,<svg fill="black" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 3h18v18H3z"/></svg>');
}

/* Mode */
.icon-mode::before {
    mask-image: url('data:image/svg+xml;utf8,<svg fill="black" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 4v16M4 12h16"/></svg>');
}

/* Textarea */
.icon-textarea::before {
    top: 20px;
    transform: none;
}


/* =====================================================
   MODERN PRIMARY BUTTON
===================================================== */

.lookup-btn-primary {
    background: linear-gradient(135deg, #0E5AF2, #1a73ff);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 50px;
    border: none;
    font-family: var(--title-font);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 12px 30px rgba(14, 90, 242, 0.35);
}

.lookup-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(14, 90, 242, 0.45);
}

.lookup-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(14, 90, 242, 0.3);
}


/* =====================================================
   HARD OVERRIDE AGAINST THEME STYLES
===================================================== */

.lookup-engine-wrapper {
    font-family: var(--body-font);
}

.lookup-engine-wrapper .lookup-form {
    background: #ffffff;
    padding: 50px;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

.lookup-engine-wrapper .lookup-field {
    margin-bottom: 28px;
}

.lookup-engine-wrapper .lookup-field label {
    display: block;
    font-family: var(--title-font);
    font-size: 14px;
    color: var(--title-color);
    margin-bottom: 6px;
    font-weight: 600;
}

/* Reset theme input styles */
.lookup-engine-wrapper select,
.lookup-engine-wrapper textarea,
.lookup-engine-wrapper input {
    appearance: none;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f9fafc;
    padding: 14px 16px 14px 45px;
    width: 100%;
    font-family: var(--body-font);
    font-size: 14px;
    box-shadow: none;
}

.lookup-engine-wrapper select:focus,
.lookup-engine-wrapper textarea:focus,
.lookup-engine-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(14, 90, 242, 0.15);
}

/* =====================================================
   MODERN BUTTON — FORCE THEME OVERRIDE
===================================================== */

.lookup-engine-wrapper .lookup-btn-primary {
    background: linear-gradient(135deg, #0E5AF2, #1a73ff) !important;
    color: #ffffff !important;
    padding: 16px 34px !important;
    border-radius: 50px !important;
    border: none !important;
    font-family: var(--title-font) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    box-shadow: 0 12px 30px rgba(14, 90, 242, 0.35) !important;
    transition: all 0.25s ease !important;
}

.lookup-engine-wrapper .lookup-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(14, 90, 242, 0.45);
}

/* Force spacing above button */
.lookup-engine-wrapper .lookup-submit {
    margin-top: 40px;
}

.run-result {
    margin-top: 80px;
}


.lookup-section {
    margin-bottom: 28px;
}

.lookup-section h3{
    margin-bottom:14px;
}

.lookup-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:16px 20px;
}

.lookup-section h3{
    grid-column:1 / -1;
}

.lookup-field{
    display:flex;
    flex-direction:column;
}

.lookup-field textarea{
    min-height:120px;
}

.lookup-field:has(textarea){
    grid-column:1 / -1;
}



.lookup-field select{
padding:8px 10px;
}
/* =====================================================
   ACCORDION GLOBAL CONTROLS
===================================================== */

.lookup-accordion-controls {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 25px;
}

.lookup-toggle-all {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-family: var(--title-font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.lookup-toggle-all:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* =====================================================
   TEXTAREA CHARACTER COUNTER
===================================================== */

.lookup-char-counter {
    font-size: 12px;
    font-family: var(--body-font);
    color: #7a869a;
    margin-top: 6px;
    text-align: right;
    transition: color 0.2s ease;
}

.lookup-char-counter.limit-near {
    color: #dc3545;
    font-weight: 600;
}

/* ==========================
   ACCOUNT MODAL
========================== */

.lookup-run-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
}

.lookup-run-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    position: relative;
}

.lookup-run-close {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 26px;
    cursor: pointer;
    color: #999;
}

.lookup-run-close:hover {
    color: #000;
}

/* ==========================
  diable btn pdf
========================== */


.lookup-btn-primary:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}


/* ==========================
   ACCOUNT STATUS BLOCK
========================== */

.lookup-account-status {
    background: #ffffff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lookup-plan-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0E5AF2, #1a73ff);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 30px;
    font-family: var(--title-font);
    font-weight: 600;
    font-size: 14px;
}

.lookup-plan-meta {
    font-size: 14px;
    color: var(--body-color);
}

.lookup-run-stats {
    display: flex;
    gap: 30px;
    font-size: 14px;
}

/* ==========================
   PLAN BADGE VARIANTS
========================== */

.lookup-plan-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    font-family: var(--title-font);
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
}

/* Starter */
.lookup-plan-starter {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

/* Pro */
.lookup-plan-pro {
    background: linear-gradient(135deg, #0E5AF2, #1a73ff);
}

/* Elite */
.lookup-plan-elite {
    background: linear-gradient(135deg, #141E30, #243B55);
}

/* Default */
.lookup-plan-default {
    background: #6c757d;
}

.lookup-account-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    border-bottom: 1px solid #eee;
}

.lookup-tab {
    padding: 10px 0;
    text-decoration: none;
    font-weight: 500;
    color: #666;
    position: relative;
}

.lookup-tab.active {
    color: #0E5AF2;
}

.lookup-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0E5AF2;
}

/* ==========================
   SUBSCRIPTION TAB
========================== */

.lookup-sub-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.lookup-sub-card h3 {
    margin-bottom: 10px;
}

.lookup-sub-actions {
    margin-top: 15px;
}
/* ==========================
   profil TAB
========================== */
.lookup-profile-form {
    max-width: 500px;
}

.lookup-success {
    background: #e6f9ed;
    color: #1a7f37;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.lookup-error {
    background: #fdecea;
    color: #b42318;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.lookup-account-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.lookup-profile-menu {
    position: relative;
}

.lookup-profile-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.lookup-profile-name {
    font-weight: 500;
}

.lookup-profile-arrow {
    font-size: 12px;
}

.lookup-profile-dropdown {
    position: absolute;
    right: 0;
    top: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 10px 0;
    min-width: 180px;
    display: none;
    z-index: 1000;
}

.lookup-profile-dropdown a {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.lookup-profile-dropdown a:hover {
    background: #f5f7fa;
}

.lookup-profile-menu.active .lookup-profile-dropdown {
    display: block;
}

.lookup-upgrade-box {
    margin-top: 15px;
    padding: 18px;
    border-radius: 14px;
    background: #f5f7fa;
}

.lookup-upgrade-box p {
    margin-bottom: 10px;
}

.lookup-usage-indicator {
    margin-bottom: 12px;
    font-size: 14px;
    color: #555;
}

.badge-compatible {
    background:#e6f4ea;
    color:#137333;
    padding:3px 8px;
    border-radius:4px;
    font-size:10px;
    font-weight:bold;
}

.badge-tension {
    background:#fff4e5;
    color:#b45309;
    padding:3px 8px;
    border-radius:4px;
    font-size:10px;
    font-weight:bold;
}

.badge-blocker {
    background:#fde8e8;
    color:#b91c1c;
    padding:3px 8px;
    border-radius:4px;
    font-size:10px;
    font-weight:bold;
}

.lookup-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}



[data-lookup-result] {
    margin-top: 50px;
}

@media (max-width:768px){

.run-table thead{
display:none;
}

.run-table,
.run-table tbody,
.run-table tr,
.run-table td{
display:block;
width:100%;
}

.run-table tr{
background:#fff;
border-radius:12px;
box-shadow:0 8px 20px rgba(0,0,0,0.05);
padding:15px;
margin-bottom:15px;
}

.run-table td{
display:flex;
justify-content:space-between;
padding:8px 0;
border-bottom:1px solid #eee;
}

.run-table td:last-child{
border-bottom:none;
}

.run-table td::before{
content:attr(data-label);
font-weight:600;
color:#555;
}

.lookup-actions{
justify-content:flex-end;
gap:8px;
}
}

.status-success{
background:#e6f4ea;
color:#137333;
padding:3px 8px;
border-radius:4px;
font-size:12px;
}

.lookup-load-more-wrapper{
text-align:center;
margin-top:25px;
}

.lookup-row-reveal{
animation: lookupFade 0.25s ease;
}

@keyframes lookupFade{
from{
opacity:0;
transform:translateY(4px);
}
to{
opacity:1;
transform:translateY(0);
}
}

.lookup-run-counter{
font-size:13px;
color:#666;
margin-bottom:10px;
}

.lookup-load-more-wrapper{
text-align:center;
margin-top:25px;
}

.lookup-btn-secondary{
background:#f5f7fa;
border:1px solid #e2e8f0;
padding:14px 28px;
border-radius:12px;
font-family:var(--title-font);
cursor:pointer;
margin-left:10px;
}

.lookup-btn-secondary:hover{
background:#e8edf5;
}


.lookup-thankyou-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background: #f5f7fb;
}

.lookup-thankyou-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.lookup-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e6f4ea;
    color: #16a34a;
    font-size: 32px;
    line-height: 64px;
    margin: 0 auto 20px;
    font-weight: bold;
}

.lookup-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 8px;
}

.lookup-subtitle {
    color: #6b7280;
    margin-bottom: 20px;
}

.lookup-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 25px 0;
}

.lookup-details {
    text-align: left;
}

.lookup-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
}

.lookup-row span {
    color: #6b7280;
}

.lookup-row strong {
    color: #111827;
}

.lookup-cta {
    margin-top: 30px;
}

.lookup-btn-primary {
    display: inline-block;
    background: #0E5AF2;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.lookup-btn-primary:hover {
    background: #0c4bd1;
}


.executive-snapshot {
    padding: 20px;
}

.precision-score-block {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.precision-score-value {
    font-size: 32px;
    font-weight: 700;
    color: #0E5AF2;
}

.precision-grade {
    font-size: 14px;
    color: #555;
}

.precision-progress-wrapper {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
}

.precision-progress-bar {
    height: 100%;
    background: #0E5AF2;
    transition: width 0.4s ease;
}

.precision-meta p {
    margin: 4px 0;
    font-size: 13px;
}

/* =========================================
   EXECUTIVE UX UPGRADE
========================================= */

.lookup-card {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

/* ===== Severity Color System ===== */

.severity-low {
    border-left: 6px solid #2e7d32;
    background: #f1f8f4;
}

.severity-moderate {
    border-left: 6px solid #f9a825;
    background: #fff8e1;
}

.severity-high {
    border-left: 6px solid #ef6c00;
    background: #fff3e0;
}

.severity-critical {
    border-left: 6px solid #c62828;
    background: #fdecea;
}

/* ===== Executive Snapshot ===== */

.lookup-snapshot {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.lookup-snapshot-item {
    background: #f9f9fb;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #eee;
    font-size: 13px;
}

.lookup-snapshot-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

/* ===== Phase Badge ===== */

.phase-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 12px;
    margin-left: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.phase-badge.low { background: #e8f5e9; color: #2e7d32; }
.phase-badge.medium { background: #fff8e1; color: #f9a825; }
.phase-badge.high { background: #fff3e0; color: #ef6c00; }
.phase-badge.critical { background: #fdecea; color: #c62828; }

/* ===== Accordion Controls ===== */

.lookup-accordion-controls {
    margin-bottom: 15px;
}

.lookup-toggle-all {
    background: #0E5AF2;
    color: white;
    border: none;
    padding: 6px 12px;
    margin-right: 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.lookup-toggle-all:hover {
    opacity: 0.9;
}


.lookup-run-progress{
    width:100%;
    height:8px;
    background:#e8edf5;
    border-radius:6px;
    overflow:hidden;
    margin-top:8px;
}

.lookup-run-bar{
    height:100%;
    background:#4f6df5;
}
/* ===== Dependency Indicator ===== */

.dependency-indicator {
    font-size: 12px;
    margin-top: 8px;
    color: #555;
}

.lookup-executive-panel {
    background: #f9fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.lookup-executive-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.lookup-executive-signal {
    padding: 16px 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 160px;
}

.signal-value {
    font-size: 20px;
    font-weight: 700;
}

.signal-label {
    font-size: 12px;
    opacity: 0.7;
}

.lookup-executive-score {
    text-align: center;
}

.score-value {
    font-size: 22px;
    font-weight: 700;
}

.score-label {
    font-size: 12px;
    opacity: 0.7;
}

.lookup-executive-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.lookup-metric {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.metric-value {
    font-size: 16px;
    font-weight: 600;
}

.metric-label {
    font-size: 11px;
    opacity: 0.6;
}
pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 11px;
}

.lookup-dashboard{
display:flex;
flex-direction:column;
align-items:center;
gap:15px;
}

.lookup-score-gauge{
text-align:center;
}

.score-big{
font-size:42px;
font-weight:700;
}

.lookup-bar{
margin-bottom:10px;
}

.bar-track{
height:8px;
background:#eee;
border-radius:6px;
}

.bar-fill{
height:8px;
background:#0E5AF2;
border-radius:6px;
}

.lookup-verdict-badge{
font-weight:600;
margin-top:10px;
}

.lookup-alert-critical{
background:#ffe5e5;
border-left:4px solid red;
padding:10px;
margin-top:10px;
}

.lookup-header-grid{
display:grid;
grid-template-columns:3fr 2fr;
gap:40px;
align-items:start;
margin-bottom:30px;
}

.lookup-meta-panel{
width:100%;
}

.lookup-score-panel{
display:flex;
flex-direction:column;
align-items:center;
gap:20px;
}



.lookup-score-big{
text-align:center;
}

.score-number{
font-size:58px;
font-weight:700;
line-height:1;
}

.score-label{
font-size:13px;
color:#666;
}

.lookup-alert-critical{
background:#ffe9e9;
border-left:4px solid #e74c3c;
padding:10px;
font-weight:600;
color:#c0392b;
}

.lookup-bar{
display:grid;
grid-template-columns:80px 1fr 40px;
align-items:center;
gap:10px;
margin-bottom:8px;
}

.bar-track{
height:6px;
background:#e6e6e6;
border-radius:6px;
}

.bar-fill{
height:6px;
background:#2f6df6;
border-radius:6px;
}

.lookup-radar-wrapper{
width:280px;
height:280px;
}





.score-label{
font-size:13px;
color:#777;
}

.score-bar-track{
width:100%;
height:10px;
background:#eee;
border-radius:6px;
margin:10px 0;
overflow:hidden;
}

.score-bar-fill{
height:100%;
border-radius:6px;
transition:width 0.4s ease;
}

.strategic-signal {
    border-left: 4px solid #2563eb;
    background: #f8fafc;
}

.lookup-dashboard-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:20px;
    margin-bottom:30px;
	background:#C7E5FE;
    border-left:4px solid #2563EB;
    border:1px solid #A7D3FC;
    padding:20px;
    border-radius:6px;
}
.lookup-dashboard-grid-card{
    
    border-left:5px solid #2563eb;
    padding:20px;
}

.signal-label{
    font-size:20px;
    font-weight:600;
    margin-bottom:8px;
}

.lookup-dashboard-grid-meta{
    background:#ffffff;
    border:1px solid #e5e7eb;
    padding:20px;
}

.lookup-meta-item{
    margin-bottom:10px;
}

.meta-label{
    display:block;
    font-size:12px;
    color:#6b7280;
}

.meta-value{
    font-weight:600;
}

.lookup-options-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
    margin-top:20px;
}

.option-header{
    display:flex;
    justify-content:space-between;
    margin-bottom:8px;
}

.option-number{
    font-size:12px;
    color:#6b7280;
}

.option-risk{
    font-size:12px;
    font-weight:600;
}

.option-risk.compatible{color:#16a34a;}
.option-risk.stretch{color:#f59e0b;}
.option-risk.incompatible{color:#dc2626;}

.option-tradeoffs{
    margin-top:10px;
}

.risk-badge{
    padding:4px 8px;
    border-radius:4px;
    font-size:12px;
    font-weight:600;
}

.risk-badge.compatible{
    background:#dcfce7;
    color:#166534;
}

.risk-badge.stretch{
    background:#fef3c7;
    color:#92400e;
}

.risk-badge.incompatible{
    background:#fee2e2;
    color:#991b1b;
}

.lookup-risk-indicator{
margin:10px 0 20px 0;
}

.lookup-risk-bar{
width:100%;
height:10px;
background:#e5e7eb;
border-radius:6px;
overflow:hidden;
}

.lookup-risk-fill{
height:100%;
border-radius:6px;
}

.lookup-risk-score{
margin-top:6px;
font-weight:600;
font-size:14px;
}

.lookup-confidence-block{
    margin:25px 0 30px 0;
    padding:18px;
    background:#f8fbff;
    border:1px solid #e3ecff;
    border-radius:10px;
}

.lookup-confidence-header{
    font-size:14px;
    font-weight:600;
    margin-bottom:10px;
}

.lookup-confidence-score{
    float:right;
    font-weight:700;
    color:#0E5AF2;
}

.lookup-confidence-bar{
    height:8px;
    background:#e5e7eb;
    border-radius:6px;
    overflow:hidden;
}

.lookup-confidence-fill{
    height:100%;
    background:#0E5AF2;
}

.lookup-metric-title{
font-size:12px;
font-weight:600;
letter-spacing:.04em;
text-transform:uppercase;
color:#6b7280;
margin-bottom:10px;
}

.lookup-metric-value{
font-size:28px;
font-weight:700;
line-height:1.1;
color:#111827;
}

.lookup-metric-meta{
font-size:13px;
color:#6b7280;
margin-top:6px;
}




.severity-critical{
background:#ffe5e5;
}

.severity-high{
background:#fff3cd;
}

.severity-moderate{
background:#e9f2ff;
}

.severity-low{
background:#e7f7ef;
}