you need to remove duplicates by keeping only the last css in the file.

/* === Fira Sans === */
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-ExtraBoldItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-ThinItalic.ttf") format("truetype");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-ExtraLightItalic.ttf") format("truetype");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

/* === Fira Sans Mono === */
@font-face {
  font-family: "Fira Sans Mono";
  src: url("../fonts/FiraMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans Mono";
  src: url("../fonts/FiraMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans Mono";
  src: url("../fonts/FiraMono-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}



/* ========== Gruvbox Theme ========== */
:root{
  --gb-bg:#282828;
  --gb-surface:#32302f;
  --gb-surface-2:#3c3836;
  --gb-text:#ebdbb2;
  --gb-muted:#d5c4a1;
  --gb-red:#fb4934;
  --gb-orange:#fe8019;
  --gb-yellow:#fabd2f;
  --gb-green:#b8bb26;
  --gb-aqua:#8ec07c;
  --gb-blue:#83a598;
  --gb-purple:#d3869b;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  font-family:"Fira Sans",system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif;
  background:var(--gb-bg); color:var(--gb-text);
}
code,pre,code *{
  font-family:"Fira Code",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
}

/* Layout container */
.container{ max-width:1320px; margin-left:auto; margin-right:auto; }

/* Header above map layers */
.gb-header{ z-index:2000 !important; }

/* Surfaces / tiles */
.gb-bg{ background:var(--gb-bg); color:var(--gb-text); }
.gb-card{
  background:var(--gb-green);
  border:1px solid var(--gb-surface-2);
  border-radius:14px;
  box-shadow:0 10px 18px rgba(0,0,0,.22);
}
.gb-tile{
  background:var(--gb-surface);
  border:1px solid var(--gb-surface-2);
  border-radius:10px;
  padding:18px;
}
.gb-tile-title{ font-weight:800; color:var(--gb-yellow); font-size:22px; margin-bottom:4px; }
.gb-tile-text{ color:var(--gb-muted); font-size:20px; }

/* Links / buttons / inputs */
.gb-link{ color:var(--gb-aqua); text-decoration:none; }
.gb-link:hover{ text-decoration:underline; }
.nav-btn{
  background:var(--gb-surface);
  border:1px solid var(--gb-surface-2);
  color:var(--gb-text);
  padding:10px 14px; border-radius:10px; font-weight:700; font-size:20px;
  cursor:pointer; user-select:none;
}
.nav-btn:hover{ border-color:var(--gb-yellow); color:var(--gb-yellow); }
.nav-btn-aina{ background:linear-gradient(90deg,var(--gb-purple),var(--gb-aqua)); color:#1d2021; border:none; }
.nav-btn-aina:hover{ filter:brightness(1.1); }

.gb-btn{
  background:var(--gb-surface);
  border:1px solid var(--gb-surface-2);
  color:var(--gb-text);
  border-radius:10px; font-weight:700; cursor:pointer;
}
.gb-btn:hover{ border-color:var(--gb-yellow); color:var(--gb-yellow); }
.gb-btn-primary{ background:linear-gradient(90deg,var(--gb-orange),var(--gb-yellow)); color:#1d2021; border:none; }
.gb-btn-primary:hover{ filter:brightness(1.05); }
.gb-btn-danger{ background:linear-gradient(90deg,var(--gb-red),#ff6b6b); color:#1d2021; border:none; }

.gb-input{
  background:var(--gb-surface);
  border:1px solid var(--gb-surface-2);
  color:var(--gb-text);
  padding:12px 14px; border-radius:10px; width:100%;
}
.gb-input:focus{ outline:2px solid rgba(250,189,47,.45); }

/* Option cards */
.gb-option{
  display:flex; gap:12px; background:var(--gb-surface);
  border:1px solid var(--gb-surface-2); padding:16px; border-radius:12px; cursor:pointer;
}
.gb-option:hover{ box-shadow:0 0 0 2px rgba(254,128,25,.35) inset; }

/* Progress bar (animated stripes while running) */
.gp-progress{ height:14px; background:var(--gb-surface-2); border-radius:999px; overflow:hidden; border:1px solid var(--gb-surface-2); position:relative; }
.gp-progress .bar{ height:100%; width:0%; background:linear-gradient(90deg,var(--gb-aqua),var(--gb-yellow),var(--gb-red)); position:relative; }
.gp-progress .bar::after{
  content:""; position:absolute; top:0; left:0; bottom:0; width:200%;
  background-image:repeating-linear-gradient(45deg, rgba(255,255,255,.14) 0, rgba(255,255,255,.14) 10px, transparent 10px, transparent 20px);
  animation: stripes 1.6s linear infinite;
}
@keyframes stripes { from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* Badges */
.badge{ font-size:12px; padding:.25rem .5rem; border-radius:999px; border:1px solid var(--gb-surface-2); }
.badge.critical{ background:rgba(251,73,52,.18); color:var(--gb-red); }
.badge.high{ background:rgba(254,128,25,.18); color:var(--gb-orange); }
.badge.medium{ background:rgba(250,189,47,.18); color:var(--gb-yellow); }
.badge.low{ background:rgba(184,187,38,.18); color:var(--gb-green); }
.badge.info{ background:rgba(131,165,152,.18); color:var(--gb-blue); }

/* Code blocks */
pre{
  background:#1d2021; border:1px solid var(--gb-surface-2);
  border-radius:10px; padding:12px; overflow:auto; position:relative;
}
pre > button.copy-btn{
  position:absolute; top:8px; right:8px; font-size:12px; padding:.25rem .5rem;
  border-radius:6px; background:var(--gb-surface-2); color:var(--gb-text); border:1px solid var(--gb-surface);
}

/* Collapsible sections */
.sec-toggle{ background:transparent; border:none; width:100%; text-align:left; cursor:pointer; }
.vines-pill{
  display:inline-flex; gap:8px; align-items:center;
  background:rgba(250,189,47,.14); color:var(--gb-yellow);
  border:1px dashed var(--gb-yellow); padding:6px 10px; border-radius:999px;
}

/* === KPI Squares === */
.kpi-grid{
  display:grid; grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px; margin-bottom:10px;
}
@media (max-width:1200px){ .kpi-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:720px){  .kpi-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }

.kpi-tile{
  position:relative; border-radius:20px; padding:18px; aspect-ratio:7/5;
  overflow:hidden; box-shadow:0 10px 18px rgba(0,0,0,.22); border:1px solid var(--gb-surface-2);
}
.kpi-tile .label{ font-size:30px; font-weight:800; color:#1d2021; opacity:.95; }
.kpi-tile .value{ position:absolute; right:22px; bottom:10px; font-size:56px; font-weight:900; line-height:1; color:#1d2021; }
.kpi-critical{ background:var(--gb-red); }
.kpi-high{ background:var(--gb-orange); }
.kpi-medium{ background:var(--gb-yellow); }
.kpi-low{ background:var(--gb-green); }
.kpi-info{ background:var(--gb-blue); }

/* Sections */
.section{ margin-top:8px; }
.section-title{ font-weight:900; font-size:24px; color:var(--gb-yellow); margin:10px 2px 8px; }

/* Grid rows for charts */
.report-chunks{ display:flex; flex-direction:column; gap:16px; }
.row-1{ display:grid; grid-template-columns:1fr; gap:14px; }
.row-2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.row-3{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; }
@media (max-width:1200px){ .row-2,.row-3{ grid-template-columns:1fr; } }

/* Chart cards */
.chart-card{
  background:var(--gb-surface);
  border:1px solid var(--gb-surface-2);
  border-radius:12px;
  padding:12px;
  height:400px;
  box-shadow:0 8px 16px rgba(0,0,0,.18);
  overflow:hidden;
}
.chart-card.hbar{ height:560px; }
.chart-title{ font-weight:800; color:var(--gb-aqua); margin:4px 6px 8px; }
.chart-card canvas{
  width:100% !important; height:100% !important; display:block;
  box-sizing:content-box; padding:16px 18px 18px 22px;
}

/* Map section */
.map-card{
  background:var(--gb-surface);
  border:1px solid var(--gb-surface-2);
  border-radius:12px;
  padding:0; height:420px; overflow:hidden;
  box-shadow:0 8px 16px rgba(0,0,0,.18);
  position:relative; z-index:1;
}
#worldmap{ width:100%; height:100%; position:relative; z-index:1; }
.leaflet-container{ z-index:1; }
#worldmap .leaflet-tile{ filter:hue-rotate(350deg) saturate(1.15) brightness(.85); }
.leaflet-control-attribution,.leaflet-bar a{
  background:var(--gb-surface) !important; color:var(--gb-text) !important;
  border:1px solid var(--gb-surface-2) !important;
}
.leaflet-bar a:hover{ background:var(--gb-surface-2) !important; }



/* Service label (http, https) */
.port-label .service {
  font-size: 22px;      /* match port size */
  font-weight: 700;
  color: var(--gb-yellow);  /* Gruvbox yellow for service names */
}


/* Aina modal */
.aina-overlay{ position:fixed; inset:0; background:rgba(0,0,0,.55); display:flex; align-items:center; justify-content:center; z-index:10000; }
.aina-window{ width:min(100%,900px); background:var(--gb-surface); border:1px solid var(--gb-surface-2); border-radius:14px; overflow:hidden; display:flex; flex-direction:column; }
.aina-head{ display:flex; align-items:center; justify-content:space-between; padding:14px 16px; background:var(--gb-surface-2); }
.aina-feed{ height:55vh; padding:14px; overflow:auto; display:flex; flex-direction:column; gap:10px; }
.aina-input{ display:flex; gap:10px; padding:10px; border-top:1px solid var(--gb-surface-2); }
.msg{ max-width:80%; padding:10px 12px; border-radius:12px; border:1px solid var(--gb-surface-2); }
.msg.user{ align-self:flex-end; background:linear-gradient(90deg,var(--gb-blue),var(--gb-aqua)); color:#1d2021; }
.msg.aina{ align-self:flex-start; background:#1d2021; }

/* Utilities */
.hidden{ display:none !important; }
.text-gb-muted{ color:var(--gb-muted); }
.border-gb-surface-2{ border-color:var(--gb-surface-2); }

/* ===== Gruvbox Accordion ===== */
/* (unchanged parts omitted for brevity; keep your existing styles below) */

#findings-shell .border.rounded-xl.bg-gb-surface{
  background: var(--gb-surface);
  border-color: var(--gb-surface-2);
  box-shadow: 0 6px 14px rgba(0,0,0,.22);
}
/* ... keep the rest of your existing accordion/report table styles ... */




/* ===== Chat Bubble Styling ===== */
.msg.user {
  background-color: #b8bb26; /* Gruvbox green */
  color: #282828;
  padding: 8px 12px;
  margin: 4px 0;
  border-radius: 6px;
  max-width: 80%;
  align-self: flex-end;
}

.msg.aina {
  background-color: #3c3836; /* Gruvbox dark surface */
  color: #ebdbb2;
  padding: 8px 12px;
  margin: 4px 0;
  border-radius: 6px;
  max-width: 80%;
  align-self: flex-start;
}

/* ===== Code Block Styling ===== */
.msg pre {
  background-color: #1d2021; /* Gruvbox background */
  color: #fabd2f; /* Gruvbox yellow */
  font-family: "Fira Mono", monospace;
  font-weight: 700; /* Bold monospace */
  font-size: 14px;
  padding: 10px;
  border-radius: 5px;
  white-space: pre-wrap; /* Wrap long lines */
  word-break: break-word; /* Break inside words if needed */
  overflow-x: auto; /* Scroll if still too long */
  position: relative;
}

.msg code {
  background-color: #3c3836;
  color: #fabd2f; /* Gruvbox yellow */
  font-family: "Fira Mono", monospace;
  font-weight: 700; /* Bold monospace */
  padding: 2px 4px;
  border-radius: 3px;
}

/* ===== Copy Button in Code Blocks ===== */
.msg pre .copy-btn {
  position: absolute;
  top: 4px;
  right: 6px;
  background-color: #fe8019; /* Gruvbox orange */
  color: #282828;
  font-size: 12px;
  padding: 3px 6px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
/* Make all code text yellow, no per-line background, Fira Mono, bigger font */
.aina-feed pre code {
  background: none !important;       /* No background for each line */
  color: #fabd2f;                    /* Gruvbox yellow */
  font-family: 'Fira Mono', monospace;
  font-weight: bold;
  font-size: 16px;                    /* Bigger font */
  white-space: pre-wrap;              /* Allow wrapping */
  word-break: break-word;             /* Break long words if needed */
  display: block;                     /* Make it fill full width */
  padding: 0;                         /* Remove padding from code lines */
}

/* Adjust <pre> wrapper to have no internal background and some padding */
.aina-feed pre {
  background-color: #282828;          /* Gruvbox dark background */
  border-radius: 6px;
  padding: 10px;
  overflow-x: auto;
  margin: 8px 0;
}

/* SweetAlert2 x Gruvbox */
.swal2-popup.gbx { background:#282828; color:#ebdbb2; border-radius:14px; }
.gbx-title { color:#fabd2f; font-weight:800; }
.gbx-text  { color:#d5c4a1; }

/* Buttons */
.gbx-confirm { background:#fe8019; color:#282828; border-radius:8px; padding:.55rem 1rem; }
.gbx-cancel  { background:#3c3836; color:#ebdbb2; border-radius:8px; padding:.55rem 1rem; }

/* Use a color-emoji capable font + remove default ring */
.gbx-emoji {
  font-family: "Noto Color Emoji","Apple Color Emoji","Segoe UI Emoji","Twemoji Mozilla",sans-serif;
  font-size: 64px; line-height: 1; display:flex; align-items:center; justify-content:center;
}
.swal2-icon.gbx-emoji { /* kill SweetAlert's circle */
  border: none !important; width:auto; height:auto; margin: 0 0 .25rem 0;
}
.swal2-icon.gbx-emoji::before,
.swal2-icon.gbx-emoji::after { content:none !important; }
/* SweetAlert2 × Gruvbox */
.swal2-popup.gbx { background:#282828; color:#ebdbb2; border-radius:14px; }
.gbx-title { color:#fabd2f; font-weight:800; }
.gbx-text  { color:#d5c4a1; }

/* Buttons */
.gbx-confirm { background:#fe8019; color:#282828; border-radius:8px; padding:.55rem 1rem; }
.gbx-cancel  { background:#3c3836; color:#ebdbb2; border-radius:8px; padding:.55rem 1rem; margin-left:.5rem; }
.swal2-actions { gap:.5rem; }

/* Custom icon container: remove default circle/ring and center content */
.swal2-icon.gbx-emoji {
  border:none !important; width:auto; height:auto; margin:0 0 .5rem 0;
  display:flex; align-items:center; justify-content:center;
}
.swal2-icon.gbx-emoji::before,
.swal2-icon.gbx-emoji::after { content:none !important; }

#findings-shell button.sec-toggle {
    background: #282828;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size:22px;
}

.font-extrabold {
  font-weight: 800 !important;
  color: var(--gb-green) !important; /* Gruvbox green */
}

/* Base toggle button */
#findings-shell button.sec-toggle {
  background: #282828 !important;
  border: none !important;
  width: 100% !important;
  text-align: left !important;
  cursor: pointer !important;
  color: var(--gb-aqua) !important;  /* default text color */
  font-size: 22px !important;
  border-radius: 10px !important;    /* <-- rounded corners */
  padding: 10px 14px !important;     /* extra padding for nicer look */
  margin-bottom: 6px;                /* spacing between toggles */
}

/* When the target section is visible (accordion is "opened") */
#findings-shell button.sec-toggle[aria-expanded="true"],
#findings-shell button.sec-toggle.opened {
  color: var(--gb-red) !important;   /* Gruvbox red for opened state */
  border-color: var(--gb-yellow) !important;
  background-color: rgba(250,189,47,0.12) !important; /* faint yellow tint */
}

/* Open state: override the inner title text utility class */
#findings-shell button.sec-toggle[aria-expanded="true"] .text-gb-aqua,
#findings-shell button.sec-toggle.opened .text-gb-aqua {
  color: var(--gb-red) !important;
}

/* Open state: chevron color/rotate (your JS rotates now; this enforces + colors it) */
#findings-shell button.sec-toggle[aria-expanded="true"] [data-chevron],
#findings-shell button.sec-toggle.opened [data-chevron] {
  transform: rotate(180deg) !important;
  color: var(--gb-red) !important;
  stroke: var(--gb-red) !important;
}

/* Force wrapping inside code blocks, remove horizontal scrollbar */
#findings-shell pre {
  white-space: pre-wrap !important;   /* wrap long lines */
  word-break: break-word !important;  /* break long words if needed */
  overflow-x: auto;                   /* only scroll if absolutely required */
}


/* Force Fira Sans Mono for all code blocks in findings */
#findings-shell pre,
#findings-shell pre code {
  font-family: 'Fira Sans Mono', 'Fira Mono', ui-monospace,
               SFMono-Regular, Menlo, Monaco, Consolas,
               'Liberation Mono', monospace !important;
  font-size: 16px !important;    /* tweak size to taste */
  line-height: 1.45 !important;  /* nicer readability */
  white-space: pre-wrap !important;
  word-break: break-word !important;
  font-weight: 700 !important;
}


/* --- Normalize Guidance/accordion body typography --- */
#findings-shell [id^="sec_"] p,
#findings-shell [id^="sec_"] li {
  font-size: 22px !important;
  line-height: 1.55 !important;
}

/* Lists look tidier with consistent spacing/indent */
#findings-shell [id^="sec_"] ul {
  margin: .25rem 0 .5rem !important;
  padding-left: 1.2rem !important;
}

/* Keep code the size you want (wont be affected by the 18px rule above) */
#findings-shell [id^="sec_"] pre,
#findings-shell [id^="sec_"] pre code {
  font-family: "Fira Sans Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
  font-size: 22px !important;
  line-height: 1.45 !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
}

/* Optional: if any Tailwind fixed sizes are still leaking in, zero them out here */
#findings-shell [id^="sec_"] .text-\[20px\] { font-size: 22px !important; }
#findings-shell [id^="sec_"] .text-\[14px\] { font-size: 22px !important; } /* labels like Request/Response */
/* Force all text in findings accordion to 20px, overriding Tailwind inline utilities */
#findings-shell [id^="sec_"] p,
#findings-shell [id^="sec_"] div,
#findings-shell [id^="sec_"] li,
#findings-shell [id^="sec_"] span {
  font-size: 22px !important;
  line-height: 1.55 !important;
}

#findings-shell [id^="sec_"] .grid > div {
  border: 1px solid var(--gb-surface-2);
  border-radius: 6px;
  padding: 10px 12px;
  background-color: rgba(40, 40, 40, 0.25);
}

/* Better aligned bullets in accordion (Impact / Remediation, References, etc.) */
#findings-shell [id^="sec_"] ul {
  list-style-type: disc;
  list-style-position: outside;   /* bullets in their own column */
  margin: .4rem 0 .8rem .2rem;    /* tweak left margin */
  padding-left: 1.5rem;           /* space for bullet */
}



/* Better bullets in accordion Impact/Remediation, References, etc. */
#findings-shell [id^="sec_"] ul {
  list-style-type: disc;
  list-style-position: outside;
  margin: .5rem 0 .8rem .5rem;    /* overall margin + shift bullets in */
  padding-left: 1.5rem;           /* space for bullet */
}

#findings-shell [id^="sec_"] ul li {
  margin-bottom: .4rem;           /* space between items */
  text-indent: -0.5rem;           /* hanging indent for wrapped lines */
  padding-left: 0.5rem;           /* ensures first line text aligns after bullet */
  line-height: 1.9;               /* better readability */
  word-break: break-word;         /* wrap long tokens */
}
/* Clean bullet alignment inside accordion lists */
#findings-shell [id^="sec_"] ul {
  list-style-type: disc;
  list-style-position: outside;
  margin: .5rem 0 .8rem .5rem;   /* space around list */
  padding-left: 1.8rem;          /* bigger space for bullet */
}

#findings-shell [id^="sec_"] ul li {
  margin-bottom: .45rem;         /* vertical space between items */
  padding-left: .3rem;           /* space between bullet and text */
  text-indent: 0;                /* reset text indent */
  line-height: 1.55;             /* readability */
  word-break: break-word;
}

/* Add spacing between paragraphs inside findings accordion */
#findings-shell [id^="sec_"] p {
  margin-bottom: 0.75rem !important;   /* ~12px gap after each paragraph */
  line-height: 2;                    /* taller line height for readability */
}

/* Optional: same for lists so they don't stick to next element */
#findings-shell [id^="sec_"] ul {
  margin-bottom: 0.75rem !important;
}

#report-page .gb-card h3 {
  font-size: 24px !important;
  line-height: 1.3 !important;
}

/* === Reports Table Tweaks === */

/* Increase text size in headers and rows */
#reports-list-card table th,
#reports-list-card table td {
  font-size: 20px !important;
  line-height: 1.5 !important;
  padding: 14px 18px !important; /* bigger padding for breathing room */
}

/* Add vertical spacing between rows */
#reports-list-card table {
  border-collapse: separate;
  border-spacing: 0 12px; /* space between rows */
}

/* Make rows look like separate cards */
#reports-list-card tbody tr {
  background: var(--gb-surface);
  border: 1px solid var(--gb-surface-2);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Subtle lift on hover */
#reports-list-card tbody tr:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.35);
}

/* Align text in "Max Risk" column stronger */
#reports-list-card tbody td:nth-child(6) {
  font-weight: 600;
}

/* Header brand overrides */
#app-header .brand .logo {
  height: 44px !important;
  width: 44px !important;
  display: block;
}

#app-header .brand .title {
  font-size: 34px !important;
  line-height: 1 !important;
  margin: 0;
}

#app-header .brand .vuln {
  color: var(--gb-orange) !important;   /* "Vulnerability" in orange */
}

#app-header .brand .vines {
  color: var(--gb-green) !important;    /* "Vines AI" in green */
}

/* Ensure link wrapper doesn't inherit link styles */
#app-header .brand { color: inherit; }
#app-header .brand:hover { text-decoration: none; }

.text-gb-red {
  color: var(--gb-red) !important; /* Gruvbox red */
}

.text-gb-green {
  color: var(--gb-green) !important; /* Gruvbox green */
}

h3 {
  font-size: 28px !important;
  
}


.green-line {
  border: none;
  height: 3px;             /* thickness */
  background-color: #b8bb26; /* Gruvbox green */
  margin: 20px 0;          /* spacing above/below */
}

.gb-tile-text{ color:var(--gb-muted); font-size:20px;font-weight:600; }

/* === Gruvbox layout contrast fixes (paste at END of styles.css) === */

/* Elevate every major section/card and separate from page bg */
.container > section { margin-top: 22px; }
.gb-card{
  position: relative;
  background:
    linear-gradient(180deg, rgba(235,219,178,.04), rgba(0,0,0,0)),
    var(--gb-surface) !important;                 /* #32302f */
  border: 1px solid #504945 !important;           /* distinct edge */
  box-shadow:
    0 16px 28px rgba(0,0,0,.35),
    0 0 0 1px rgba(235,219,178,.04) inset !important;
  border-radius: 14px !important;
}
.gb-card::before{
  content:"";
  position:absolute; inset:0 0 auto 0; height:6px;
  background:linear-gradient(90deg,var(--gb-aqua),var(--gb-yellow),var(--gb-orange));
  opacity:.18;                                   /* subtle top accent */
  border-top-left-radius:14px; border-top-right-radius:14px;
}
.gb-card + .gb-card{ margin-top:18px; }

/* Headings look like labeled bars to visually anchor sections */
.section-title{
  display:inline-block;
  padding:8px 12px;
  margin:14px 2px 8px;
  background:#3a3735;                             /* lighter than card */
  color:var(--gb-yellow);
  border:1px solid #504945;
  border-radius:10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

/* Tiles & option cards pop from background */
.gb-tile{
  background:#32302f !important;
  border-color:#504945 !important;
  box-shadow:0 10px 18px rgba(0,0,0,.28) !important;
}
.gb-option{
  background:#2f2d2c !important;
  border-color:#504945 !important;
}
.gb-option:hover{
  background:#3a3735 !important;
  box-shadow:0 0 0 2px rgba(250,189,47,.35) inset !important;
}

/* Inputs have clearer edges + strong focus ring */
.gb-input{
  background:#2b2a29 !important;
  border-color:#4a4745 !important;
  color:var(--gb-text) !important;
}
.gb-input::placeholder{ color:#928374; }
.gb-input:focus{
  outline:2px solid rgba(250,189,47,.55) !important;
  box-shadow:0 0 0 4px rgba(250,189,47,.12) !important;
}

/* Nav buttons with better contrast */
.nav-btn{
  background:#3a3735 !important;
  border-color:#504945 !important;
}
.nav-btn:hover{
  background:#403d3b !important;
  border-color:var(--gb-yellow) !important;
  color:var(--gb-yellow) !important;
}

/* Charts / map panels elevated */
.chart-card,
.map-card{
  background:#31302e !important;
  border-color:#504945 !important;
  box-shadow:0 12px 22px rgba(0,0,0,.30) !important;
}

/* Reports list rows clearly separated */
#reports-list-card table{ border-collapse:separate; border-spacing:0 8px; }
#reports-list-card tbody tr{
  background:#32302f !important;
  border-radius:10px;
  transition:filter .15s ease, transform .05s ease;
}
#reports-list-card tbody tr:hover{ filter:brightness(1.08); }

/* Finding cards (accordion items) clearly distinct */
.finding-card{
  background:#2e2c2b !important;
  border:1px solid #4c4947 !important;
  border-radius:14px !important;
  box-shadow:0 10px 18px rgba(0,0,0,.28) !important;
  padding:20px !important;
  margin-bottom:14px !important;
}

/* Accordion header/body contrast */
.sec-toggle{
  background:
    linear-gradient(180deg, rgba(131,165,152,.18), rgba(131,165,152,.08)),
    #3c3836 !important;
  border:1px solid #504945 !important;
  border-radius:10px !important;
}
.sec-toggle + div{
  background:
    linear-gradient(0deg, rgba(0,0,0,.14), rgba(0,0,0,.14)),
    #2b2a29 !important;
  border:1px solid #4a4745 !important;
  border-top:0 !important;
  border-bottom-left-radius:10px !important;
  border-bottom-right-radius:10px !important;
  padding-top:12px !important;
}

/* Code blocks sharper */
pre{
  background:#1d2021 !important;
  border:1px solid #4a4745 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03) !important;
}


/* Apply green top border only on non-home cards */
section:not(#home-section) .gb-card {
  border-top: 6px solid var(--gb-green) !important;
  border-top-left-radius: 14px !important;
  border-top-right-radius: 14px !important;
}



.kpi-tile .value {

    font-size: 100px;
    color: var(--gb-text);
    }


/* Talk to Aina button text fix */
.nav-btn-aina {
  background: var(--gb-green) !important;
  color: black;
  font-weight: 700;
}

.nav-btn-aina:hover {
  filter: brightness(1.1);
  color: var(--gb-black) !important;  /* keep green on hover */
    background: var(--gb-yellow) !important;

}

/* === Start a Scan button fixes (simple, no animation) === */
#cta-start-scan,
.gb-btn.gb-btn-primary {
  background: linear-gradient(90deg, var(--gb-orange), var(--gb-yellow)) !important;
  color: #1d2021 !important;      /* dark text for contrast */
  font-weight: 800 !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 14px 28px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,.3) !important;
}

#cta-start-scan:hover,
.gb-btn.gb-btn-primary:hover {
  background: var(--gb-green) !important;  /* switch to Gruvbox green */
  color: #1d2021 !important;              /* keep text readable */
  box-shadow: 0 6px 14px rgba(0,0,0,.4) !important;
}

/* === Top Nav Buttons (Home, Scanner, Reports) === */
.nav-btn {
  background: var(--gb-surface) !important;
  border: 1px solid var(--gb-surface-2) !important;
  color: var(--gb-text) !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  padding: 10px 16px !important;
}

/* Hover state for nav buttons */
.nav-btn:hover {
  background: var(--gb-green) !important;   /* Gruvbox green background */
  color: #1d2021 !important;                /* dark text for contrast */
  border-color: var(--gb-green) !important;
}

/* Talk to Aina button text fix */
.nav-btn-aina {
  background: var(--gb-green) !important;
  color: black !important;
  font-weight: 700;
}

.nav-btn-aina:hover {
  filter: brightness(1.1);
  color: var(--gb-black) !important;  /* keep green on hover */
    background: var(--gb-yellow) !important;

}

/* === Findings: severity pill === */
.sev-badge{
  display:inline-flex; align-items:center; gap:.35rem;
  padding:.18rem .58rem;
  border-radius:999px;
  font-weight:800;
  font-size:20px;
  line-height:1;
  border:1px solid #3c3836;
  text-transform:capitalize;
  letter-spacing:.2px;
  background:#32302f;
  color:#ebdbb2; /* will be overridden by each sev-* class */
}
.sev-badge::before{
  content:"";
  width:.55rem; height:.55rem; border-radius:50%;
  background:currentColor; opacity:.85;
}

/* colors (Gruvbox) */
.sev-critical{ color:#fb4934; background:rgba(251,73,52,.16); }
.sev-high    { color:#fe8019; background:rgba(254,128,25,.16); }
.sev-medium  { color:#fabd2f; background:rgba(250,189,47,.16); }
.sev-low     { color:#b8bb26; background:rgba(184,187,38,.16); }
.sev-info    { color:#83a598; background:rgba(131,165,152,.16); }

@media (max-width: 640px){
  .sev-badge{ font-size:12.5px; padding:.16rem .50rem; }
}

.gb-card{
  /* ... */
  box-shadow:
    0 6px 12px rgba(0,0,0,.22),
    0 0 0 1px rgba(235,219,178,.04) inset !important;
}


.chart-card,
.map-card{
  /* ... */
  box-shadow:0 4px 10px rgba(0,0,0,.22) !important;
}


#reports-list-card tbody tr:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.22);
}


.gb-card{ box-shadow:0 4px 10px rgba(0,0,0,.18); }



.chart-card {
  background: var(--gb-surface);
  border: 1px solid var(--gb-surface-2);
  border-radius: 12px;
  padding: 12px;
  height: 400px;
  box-shadow: 0 6px 12px rgba(0,0,0,.25); /* reduced shadow */
  overflow: hidden;
}
.chart-title {
  font-weight: 800;
  color: var(--gb-aqua);
  margin: 4px 6px 8px;
  font-size: 22px; /* increase heading font size */
}

/* Open ports list */
#ports-list{
  background:var(--gb-surface); border:1px solid var(--gb-surface-2);
  border-radius:12px; padding:10px;
}
.port-item{
  display:flex; justify-content:space-between; align-items:center;
  padding:8px 10px; border-bottom:1px solid var(--gb-surface-2);
}
.port-item:last-child{ border-bottom:none; }
/* Main port/proto label (e.g. 80/tcp) */
.port-label {
  font-weight: 800;
  color: var(--gb-aqua);
  font-size: 24px;     /* <-- increase size here */
  display: inline-flex;
  align-items: baseline;
  gap: 6px;            /* space between port and service */
}

/* Left-aligned grouping of port + service */
.port-item-card {
  display: flex;
  justify-content: space-between; /* port+svc on left, badge on right */
  align-items: center;
  padding: 12px 16px;
  margin: 6px 0;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--gb-green);
  background: rgba(184,187,38,.15);
  border: 1px solid var(--gb-green);
  border-radius: 12px;
  box-shadow: 0 3px 6px rgba(0,0,0,.2);
}

.port-item-card .port-left {
  display: flex;
  align-items: center;
  gap: 8px; /* space between port and service */
}

.port-item-card .port-label {
  color: var(--gb-green);
  font-size: 20px;
  font-weight: 800;
}

.port-item-card .badge {
  background: rgba(131,165,152,.18);
  color: var(--gb-blue);
  font-weight: 700;
  font-size: 16px;
  border: 1px solid var(--gb-surface-2);
  border-radius: 8px;
  padding: 2px 10px;
}

.chart-card {
  background: var(--gb-surface);
  border: 1px solid var(--gb-surface-2);
  border-radius: 12px;
  padding: 12px;
  width: 100%;
  height: auto;           /* allow auto height */
  aspect-ratio: 1 / 1;    /* force square */
  box-shadow: 0 6px 12px rgba(0,0,0,.25);
  overflow: hidden;
}

/* Permanent tooltip on the marker */
.vines-ip-tip {
  background: #fabd2f;           /* Gruvbox yellow */
  color: #1d2021;
  font-weight: 800;
  border: 0;
  border-radius: 6px;
  padding: 2px 6px;
}

/* IP badge when we don't have lat/lon */
#worldmap .map-ip-badge {
  background: rgba(40,40,40,.85);
  color: var(--gb-text);
  border: 1px solid var(--gb-surface-2);
  border-radius: 8px;
  padding: 6px 10px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0,0,0,.35);
}

.vines-ip-tip {
  background: var(--gb-red);
  color: var(--gb-text);              /* white from theme */
  font-family: "Fira Sans Mono", monospace;
  font-weight: 800;
  font-size: 16pt;
  line-height: 1.1;

  border: 0;
  border-radius: 6px;
  padding: 2px 6px;
  margin: 0 !important;

  display: inline-block;              /* avoids weird height clipping */
  box-shadow: 0 2px 6px rgba(0,0,0,.35); /* subtle lift over tiles */
}




#worldmap .map-ip-badge{
  background:rgba(40,40,40,.85); color:var(--gb-text);
  border:1px solid var(--gb-surface-2); border-radius:8px;
  padding:6px 10px; font-weight:800; box-shadow:0 4px 10px rgba(0,0,0,.35);
}

/* bubble panel a bit taller */
#ch-bubbles { height: 380px !important; } /* or change the .chart-card height */

:root {
  --accent: #facc15;  /* yellow highlight */
  --card-bg: #1f1f1f;
  --card-hover: #262626;
  --border: #3c3c3c;
}

.gb-option {
  position: relative;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  overflow: hidden;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .1s ease;
}

/* hide radio but keep accessibility */
.gb-option input[type="radio"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

/* highlight bar (top line) */
.gb-option .highlight {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .2s ease;
}

/* inner content */
.gb-option .content {
  padding: 16px;
}

/* hover effect */
.gb-option:hover {
  background: var(--card-hover);
  transform: translateY(-1px);
}

/* selected state */
.gb-option input[type="radio"]:checked ~ .highlight {
  opacity: 1;
}
.gb-option input[type="radio"]:checked ~ .content .font-semibold {
  color: var(--accent);
}

/* Reports table row hover with Gruvbox highlight */
#reports-list-card tbody tr:hover {
  background: rgba(250, 189, 47, 0.15) !important;  /* Gruvbox yellow tint */
  filter: none !important;                          /* disable brightness filter */
  transform: translateY(-2px);                      /* subtle lift */
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);          /* shadow for emphasis */
}


/* Add spacing between rows */
#reports-list-card table {
  border-collapse: separate !important;
  border-spacing: 0 12px !important; /* 12px vertical gap */
  width: 100%;
}

#reports-list-card tbody tr {
  background: var(--gb-surface);
  border: 1px solid var(--gb-surface-2);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}



/* Round corners properly */
#reports-list-card tbody tr td:first-child {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
#reports-list-card tbody tr td:last-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}



#reports-list-card tbody tr:nth-child(6n+1):hover td { background: rgba(142,192,124,.25) !important; } /* aqua */
#reports-list-card tbody tr:nth-child(6n+2):hover td { background: rgba(184,187,38,.25) !important; } /* green */
#reports-list-card tbody tr:nth-child(6n+3):hover td { background: rgba(131,165,152,.25) !important; } /* blue */
#reports-list-card tbody tr:nth-child(6n+4):hover td { background: rgba(250,189,47,.25) !important; } /* yellow */
#reports-list-card tbody tr:nth-child(6n+5):hover td { background: rgba(254,128,25,.10) !important; } /* orange */
#reports-list-card tbody tr:nth-child(6n+6):hover td { background: rgba(251,73,52,.25) !important; } /* red */

/* spacing across report sections */
.report-chunks .section { margin-bottom: 22px; }
.report-chunks .row-1, .report-chunks .row-2, .report-chunks .row-3 { gap: 24px; }

/* chart cards */
.chart-card { padding: 18px 20px; }

/* Top Rules card: give it height; canvas will expand to fill */
.chart-card.hbar { min-height: 720px; }
@media (min-width: 1280px) {
  .chart-card.hbar { min-height: 820px; }
}

/* Let the canvas occupy the height under the title */
#ch-toprules { display: block; height: calc(100% - 38px); }

/* Top-right auth area */
#auth-slot { position: relative; display: flex; align-items: center; }

/* Login button = 20px font as requested */
#auth-slot .nav-login { font-size: 20px !important; }

/* User chip */
#auth-slot .nav-user{
  display:flex; align-items:center; gap:8px;
  background:#3c3836; color:#ebdbb2; border:1px solid #504945;
  padding:8px 10px; border-radius:12px; cursor:pointer; user-select:none;
  font-weight:800;
}
#auth-slot .nav-user .avatar{
  width:28px; height:28px; border-radius:50%; object-fit:cover;
  background:#504945;
}
#auth-slot .nav-user .avatar-fallback{
  display:flex; align-items:center; justify-content:center;
  width:28px; height:28px; border-radius:50%; background:#504945; color:#ebdbb2;
  font-weight:900;
}
#auth-slot .nav-user .name{ max-width:180px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#auth-slot .nav-user .caret{ opacity:.85 }

#auth-slot .nav-menu{
  position:absolute; right:0; top:100%;
  margin-top:8px; min-width:200px;
  background:#32302f; border:1px solid #504945; border-radius:12px;
  box-shadow:0 12px 28px rgba(0,0,0,.45); z-index: 9999;
  padding:6px;
}
#auth-slot .nav-menu a{
  display:block; padding:10px 12px; border-radius:8px;
  text-decoration:none; color:#ebdbb2; font-weight:700;
}
#auth-slot .nav-menu a:hover{ background:#3c3836; }
#auth-slot .nav-menu hr{ border:0; border-top:1px solid #504945; margin:6px 0; }
.hidden{ display:none !important; }

/* === FINAL NAV/AUTH OVERRIDES (paste at END of styles.css) === */
:root{
  --nav-btn-py: 10px;
  --nav-btn-px: 16px;
  --nav-btn-fs: 20px;
  --nav-btn-radius: 10px;
}

/* Ensure all nav controls share the same footprint */
#app-header .nav-btn,
#auth-slot .nav-login,
#auth-slot .nav-user {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: var(--nav-btn-fs) !important;
  font-weight: 700 !important;                    /* same as your buttons */
  line-height: 1 !important;
  padding: var(--nav-btn-py) var(--nav-btn-px) !important;
  border-radius: var(--nav-btn-radius) !important;
  height: auto !important;                        /* consistent across items */
}

/* Login button visuals to match nav buttons */
#auth-slot .nav-login{
  background: var(--gb-surface) !important;
  border: 1px solid var(--gb-surface-2) !important;
  color: var(--gb-text) !important;
  text-decoration: none !important;
}

/* User chip visuals to match nav buttons */
#auth-slot .nav-user{
  background: var(--gb-surface) !important;
  border: 1px solid var(--gb-surface-2) !important;
  color: var(--gb-text) !important;
  cursor: pointer !important;
}

/* Avatar sizing tuned to the 20px text + 10px vertical padding */
#auth-slot .nav-user .avatar,
#auth-slot .nav-user .avatar-fallback{
  width: calc(var(--nav-btn-fs) + 6px) !important;   /* 26px when fs=20 */
  height: calc(var(--nav-btn-fs) + 6px) !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  background: #504945 !important;
  flex: 0 0 auto !important;
}

/* Name truncation */
#auth-slot .nav-user .name{
  max-width: 14ch !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Minimal caret (no extra fonts) */
#auth-slot .nav-user .caret{
  width: 10px; height: 10px;
  border-right: 2px solid var(--gb-muted);
  border-bottom: 2px solid var(--gb-muted);
  transform: rotate(45deg);
  opacity: .9;
}

/* Dropdown panel */
#auth-slot .nav-menu{
  position: absolute !important;
  right: 0; top: calc(100% + 8px) !important;
  min-width: 240px !important;
  padding: 6px !important;
  background: #2e2c2b !important;
  border: 1px solid #504945 !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 36px rgba(0,0,0,.45) !important;
  z-index: 99999 !important;
}

/* Dropdown items */
#auth-slot .nav-menu a{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--gb-text) !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
}
#auth-slot .nav-menu a:hover{ background: #3a3735 !important; }
#auth-slot .nav-menu .divider{
  height: 1px; margin: 6px 4px; background: #504945;
}
#auth-slot .nav-menu.hidden{ display: none !important; }

/* Keep the slot aligned with nav items */
#auth-slot { display:flex !important; align-items:center !important; }

/* === Subscription Plan Cards === */
.plan-card {
  background: #19191a;
  border: 1px solid #3c3836;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.03);
  transition: transform .18s ease, box-shadow .18s ease;
}
.plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04);
}

.plan-card .plan-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(0,0,0,.18);
}

.plan-card[data-level="0"] .plan-head {
  background: linear-gradient(90deg,#3c3836,#504945);
  color: #ebdbb2;
}
.plan-card[data-level="1"] .plan-head {
  background: linear-gradient(90deg,#458588,#83a598);
  color: #1d2021;
}
.plan-card[data-level="2"] .plan-head {
  background: linear-gradient(90deg,#b16286,#d3869b);
  color: #1d2021;
}
.plan-card[data-level="3"] .plan-head {
  background: linear-gradient(90deg,#fabd2f,#fe8019);
  color: #1d2021;
}

.plan-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .2px;
}
.plan-price {
  font-size: 28px;
  font-weight: 900;
}
.plan-body {
  padding: 12px 18px;
  color: #bdae93;
  font-size: 14.5px;
  line-height: 1.35;
}
.plan-allow {
  padding: 0 18px 12px;
  font-weight: 800;
}
.plan-cta {
  padding: 0 18px 18px;
}

.plan-badge {
  position: absolute;
  top: 10px;
  left: -8px;
  background: #1d2021;
  color: #fbf1c7;
  padding: 3px 10px;
  font-size: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
}

/* highlight the current plan */
.plan-card[data-current="1"] {
  box-shadow: 0 0 0 2px #fabd2f, 0 6px 24px rgba(0,0,0,.22);
}

/* larger screens = bigger fonts */
@media (min-width: 1024px) {
  .plan-title { font-size: 22px; }
  .plan-price { font-size: 32px; }
  .plan-body  { font-size: 15.5px; }
}

#profile-toggle-bar {
  margin-bottom: 24px;   /* increase or decrease as you like */
}


#profile-plans-root {
  margin-top: 28px;  /* pushes it down from the profile header */
}


.ph-section-divider {
  height: 8px;
  margin: 24px 0;   /* this adds the breathing space */
  background: linear-gradient(90deg,#fabd2f,#fe8019 60%, #fabd2f);
  border-radius:8px;
  opacity:.95;
}

/* Profile toggle bar buttons */
#profile-toggle-bar{
  display:flex;
  gap:12px;
  margin:12px 0 20px;   /* adds spacing above plans */
}

#profile-toggle-bar button{
  background:#32302f;
  border:1px solid #3c3836;
  border-radius:8px;
  color:#ebdbb2;
  font-weight:600;
  padding:8px 14px;
  font-size:20px;
  line-height:1.3;
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  transition:background .2s, border-color .2s, color .2s;
}

#profile-toggle-bar button:hover{
  background:#3c3836;
  border-color:#fabd2f;
}

#profile-toggle-bar button.opened{
  background:#504945;
  border-color:#fabd2f;
  color:#fabd2f;
}

#profile-toggle-bar .chev{
  display:inline-block;
  transform:rotate(0deg);
  transition:transform .18s ease;
  font-size:14px;
  opacity:.8;
}

#profile-toggle-bar button.opened .chev{
  transform:rotate(90deg); /* ► rotates to ▼ look */
}

/* optional: extra spacing above the whole plans card */
#profile-plans-root{ margin-top: 16px; }


#scan-progress h2 {
  font-size: 28px;
}


.plan-card[data-current="1"] {
  border: 4px solid #fabd2f;   /* thicker border (was likely 1px) */
  box-shadow: 0 0 10px rgba(250, 189, 47, 0.6); /* optional glow effect */
  border-radius: 10px;         /* keep corners rounded */
}

#aina-feed .msg .msg-image {
  display: block;
  margin-top: 8px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--gb-surface-2, #3c3836);
}


/* === Aina markdown spacing (authoritative) === */
#aina-feed .msg .md {
  line-height: 1.6;
}

#aina-feed .msg .md p {
  margin: 0.6rem 0;                 /* gap above and below paragraphs */
}

#aina-feed .msg .md p:first-child {
  margin-top: 0;                    /* no extra space at top of bubble */
}

#aina-feed .msg .md ul,
#aina-feed .msg .md ol {
  margin: 0.6rem 0 0.6rem 1.25rem;  /* list spacing + indent */
}

#aina-feed .msg .md li {
  margin: 0.25rem 0;                /* space between list items */
}

/* When the model outputs single newlines -> <br>, add a visual gap */
#aina-feed .msg .md br {
  content: "";
  display: block;
  height: 0;                        /* don't push layout, just add margin */
  margin-top: 0.5rem;               /* visual line gap for <br> */
}

/* ------------------------------- */




/* === CISA Top 25 table (Gruvbox · 20px rows, CVE red, Title green, full-width desc) === */
#cisa-topvulns-section .cisa-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 12px;          /* pill rows */
  table-layout:fixed;
  font-family:"Fira Sans",system-ui,sans-serif;
  font-weight:800;
  font-size:20px;
  line-height:1.25;
}

#cisa-topvulns-section .cisa-table thead th{
  text-align:left;
  color:var(--gb-aqua);
  font-size:18px;
  font-weight:800;
  padding:12px 16px;
}

/* Columns */
#cisa-topvulns-section .cisa-table thead th:first-child,
#cisa-topvulns-section .cisa-table tbody td:first-child{
  width:56%;                       /* more room for title + desc */
  word-break:break-word;
}
#cisa-topvulns-section .cisa-table thead th:nth-child(3),
#cisa-topvulns-section .cisa-table tbody td:nth-child(3){
  width:18%;
  white-space:nowrap;
  text-align:left;                  /* align Meta column left */
  padding-left:16px;                /* consistent with header padding */
}

/* Rows */
#cisa-topvulns-section .cisa-table tbody tr{
  background:var(--gb-surface);
  border:1px solid var(--gb-surface-2);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 6px 12px rgba(0,0,0,.22);
  transition:transform .12s ease, box-shadow .12s ease;
}
#cisa-topvulns-section .cisa-table tbody tr:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 18px rgba(0,0,0,.28);
}
#cisa-topvulns-section .cisa-table tbody td{
  padding:16px 18px;
  vertical-align:top;
}

/* 7 Gruvbox tints per row */
#cisa-topvulns-section .cisa-table tbody tr:nth-child(7n+1){ background:rgba(251,73,52,.12); }
#cisa-topvulns-section .cisa-table tbody tr:nth-child(7n+2){ background:rgba(254,128,25,.12); }
#cisa-topvulns-section .cisa-table tbody tr:nth-child(7n+3){ background:rgba(250,189,47,.12); }
#cisa-topvulns-section .cisa-table tbody tr:nth-child(7n+4){ background:rgba(184,187,38,.12); }
#cisa-topvulns-section .cisa-table tbody tr:nth-child(7n+5){ background:rgba(142,192,124,.12); }
#cisa-topvulns-section .cisa-table tbody tr:nth-child(7n+6){ background:rgba(131,165,152,.12); }
#cisa-topvulns-section .cisa-table tbody tr:nth-child(7n+7){ background:rgba(211,134,155,.12); }

/* Accent bar (left) */
#cisa-topvulns-section .cisa-table tbody td:first-child{ position:relative; }
#cisa-topvulns-section .cisa-table tbody td:first-child::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:6px;
  border-top-left-radius:12px; border-bottom-left-radius:12px;
}
#cisa-topvulns-section .cisa-table tbody tr:nth-child(7n+1) td:first-child::before{ background:var(--gb-red); }
#cisa-topvulns-section .cisa-table tbody tr:nth-child(7n+2) td:first-child::before{ background:var(--gb-orange); }
#cisa-topvulns-section .cisa-table tbody tr:nth-child(7n+3) td:first-child::before{ background:var(--gb-yellow); }
#cisa-topvulns-section .cisa-table tbody tr:nth-child(7n+4) td:first-child::before{ background:var(--gb-green); }
#cisa-topvulns-section .cisa-table tbody tr:nth-child(7n+5) td:first-child::before{ background:var(--gb-aqua); }
#cisa-topvulns-section .cisa-table tbody tr:nth-child(7n+6) td:first-child::before{ background:var(--gb-blue); }
#cisa-topvulns-section .cisa-table tbody tr:nth-child(7n+7) td:first-child::before{ background:var(--gb-purple); }

/* Title / Description */
#cisa-topvulns-section .cisa-title{ font-size:22px; font-weight:900; line-height:1.25; margin:0 0 6px 0; }
#cisa-topvulns-section .cisa-title .cve{ color:var(--gb-red); }     /* CVE = red */
#cisa-topvulns-section .cisa-title .title-text{ color:var(--gb-green); } /* Title = green */
#cisa-topvulns-section .cisa-desc{
  font-size:20px; font-weight:500; color:var(--gb-muted); line-height:1.45;
}

/* Meta row (CWE • CVSS • Version) */
#cisa-topvulns-section .cisa-meta{
  display:inline-flex;
  align-items:center;
  gap:8px;                           /* pleasant spacing */
  flex-wrap:wrap;
  justify-content:flex-start;        /* start under Meta header */
}
#cisa-topvulns-section .cisa-meta a.cisa-link{ margin-left:0; } /* no hacky offsets */

#cisa-topvulns-section .meta-version{
  font-size:14px;                    /* match CWE size */
  font-weight:700;
  color:var(--gb-muted);
}
#cisa-topvulns-section .cvss-chip{
  display:inline-block;
  font-weight:900;
  font-size:14px;                    /* same visual weight as CWE/version */
  padding:2px 10px;
  border-radius:999px;
  border:1px solid var(--gb-surface-2);
  background:#32302f;
  color:#ebdbb2;
}

/* Description full-width (when rendered as a second row) */
#cisa-topvulns-section .cisa-table tbody tr.cisa-desc-row td{
  padding:14px 18px 16px;
  border-top:0;
}
#cisa-topvulns-section .cisa-table tbody tr.cisa-desc-row .cisa-desc{
  font-size:20px;
  font-weight:500;
  color:var(--gb-muted);
  line-height:1.45;
}

/* CISA: force CVE red, Title green */
#cisa-topvulns-section .cisa-title .cve,
#cisa-topvulns-section .cisa-title .cve a { color: var(--gb-red) !important; }

#cisa-topvulns-section .cisa-title .title-text { color: var(--gb-green) !important; }


/* === CISA search bar (consistent with gb-input) === */
#cisa-searchbar{
  display:flex;
  align-items:center;
  gap:12px;
  margin: 6px 0 14px;              /* space above the table */
}

#cisa-searchbar .cisa-search{
  flex:1;
  min-width:0;                     /* allow flex shrink without overflow */
  height: 44px;
  padding: 10px 14px;
  border-radius: 10px;

  background: var(--gb-surface);
  border: 1px solid var(--gb-surface-2);
  color: var(--gb-text);
  font: 700 18px "Fira Sans", system-ui, sans-serif;

  outline: none;
  box-shadow: none;
}

#cisa-searchbar .cisa-search::placeholder{
  color:#928374;                   /* Gruvbox placeholder */
  font-weight:600;
}

#cisa-searchbar .cisa-search:focus{
  outline:2px solid rgba(250,189,47,.55);                 /* yellow ring */
  box-shadow:0 0 0 4px rgba(250,189,47,.12);              /* soft glow */
  border-color: transparent;
}

#cisa-searchbar .cisa-count{
  color: var(--gb-muted);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  line-height: 1;
  padding-top: 2px;               /* optical alignment with input */
}

/* Stack on small screens */
@media (max-width: 640px){
  #cisa-searchbar{
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  #cisa-searchbar .cisa-count{
    text-align: right;
  }
}

/* Kill borders/shadows on Leaflet tiles so no “grid” appears */
#worldmap img.leaflet-tile,
.leaflet-container img.leaflet-tile,
.leaflet-pane .leaflet-tile {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Optional: ensure map background matches card so gaps don’t show */
#worldmap .leaflet-container {
  background: #1d2021; /* your Gruvbox dark */
}

/* Make running scans panel stretch full width inside scanner card */
#scanner-section #running-scans {
  margin-left: -2rem;   /* cancel out .gb-card p-8 padding (≈ 2rem) */
  margin-right: -2rem;
  margin-top: 1rem;
}

@media (max-width: 640px){
  #scanner-section #running-scans {
    margin-left: -1rem;   /* smaller padding on mobile */
    margin-right: -1rem;
  }
}

/* === Scanner · Running scans full‑width + bigger progress + aligned Abort === */

/* Tunables: bar height and the scanner card’s horizontal padding */
#scanner-section { --scanbar-h: 22px; --scanpad-x: 2rem; }

/* Make the running-scans container flush with the card edges */
#scanner-section #running-scans {
  margin-top: 16px !important;
  margin-left: calc(-1 * var(--scanpad-x)) !important;
  margin-right: calc(-1 * var(--scanpad-x)) !important;
}

/* Mobile: card padding is smaller, so cancel less */
@media (max-width: 640px){
  #scanner-section { --scanpad-x: 1rem; }
}

/* Each running item spans the full width cleanly */
#scanner-section #running-scans > .gb-card {
  margin: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-left: var(--scanpad-x) !important;
  padding-right: var(--scanpad-x) !important;
}

/* Layout: left column fills (text + progress), right column hugs (Abort) */
#scanner-section #running-scans > .gb-card > div {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: end !important;      /* bottom-align with the bar baseline */
  gap: 14px !important;
}

/* Progress bar size */
#scanner-section #running-scans .gp-progress {
  height: var(--scanbar-h) !important;
  border-radius: 999px !important;
}
#scanner-section #running-scans .gp-progress .bar {
  height: 100% !important;
}

/* Abort button matches bar height and centers its label */
#scanner-section #running-scans .gb-btn.gb-btn-danger {
  height: var(--scanbar-h) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 14px !important;
  line-height: 1 !important;
  font-size: 16px !important;
  align-self: end !important;       /* anchor to bottom (same as bar) */
}

/* Larger, sturdier text per item */
#scanner-section #running-scans .text-[18px] { font-size: 20px !important; font-weight: 800 !important; }
#scanner-section #running-scans .text-[14px] { font-size: 16px !important; font-weight: 700 !important; }

/* When scans are running, hide the form rows, keep running list visible */
#scanner-section.scans-active #scan-form > *:not(#running-scans) {
  display: none !important;
}

/* ==== Scanner: make ONLY the Abort button bigger; keep bar small ==== */

/* Keep the progress bar at the default compact height */
#scanner-section #running-scans .gp-progress {
  height: 14px !important;              /* do not enlarge the bar */
  border-radius: 999px;
}

/* Lay out each running item so the Abort button sits to the right,
   vertically centered with the progress bar */
#scanner-section #running-scans > .gb-card > div {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;        /* center with the bar */
  gap: 14px !important;
}

/* Bigger Abort button (only this grows) */
#scanner-section #running-scans .gb-btn.gb-btn-danger {
  min-height: 34px !important;           /* larger than the bar */
  padding: 0 18px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Optional: small press feedback */
#scanner-section #running-scans .gb-btn.gb-btn-danger:active {
  transform: translateY(1px);
}

/* Make scanner progress bar bigger */
#scanner-section #running-scans .gp-progress {
  height: 28px !important;   /* doubled thickness */
  border-radius: 14px !important; /* keep rounded ends */
}

#scanner-section #running-scans .gp-progress .bar {
  height: 100% !important;   /* fill new height */
}

/* Hide Retry Scan button completely */
#scan-form button#btn-retry-scan,
#scan-form button:contains("Retry Scan") {
  display: none !important;
}

/* === Scanner: spacing and layout improvements === */

/* Space below the "Scanning: ..." header */
#scanner-section h2 {
  margin-bottom: 18px !important;
}

/* Space between scan target/status text and the progress bar */
#scanner-section #running-scans .text-[18px] {
  margin-bottom: 6px !important;
}
#scanner-section #running-scans .text-[14px] {
  margin-bottom: 10px !important;
}

/* Add margin above/below each running scan card */
#scanner-section #running-scans > .gb-card {
  margin-top: 14px !important;
  margin-bottom: 14px !important;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

/* Extra breathing space around the progress bar */
#scanner-section #running-scans .gp-progress {
  margin-top: 10px !important;
  margin-bottom: 12px !important;
}

/* Make Abort button sit a little away from the progress bar */
#scanner-section #running-scans .gb-btn.gb-btn-danger {
  margin-left: 16px !important;
}

/* === Running Scans · Gruvbox-tinted cards + spacing === */

/* a little air below the section header */
#scanner-section #running-scans { padding-top: 10px !important; }

/* base style for each running card */
#scanner-section #running-scans > .gb-card {
  margin: 14px 0 !important;                  /* space between cards */
  border-radius: 12px !important;
  border: 1px solid var(--gb-surface-2) !important;
  box-shadow: 0 8px 16px rgba(0,0,0,.28) !important;
  overflow: hidden;
  background: var(--gb-surface) !important;   /* fallback */
}

/* cycle a soft Gruvbox tint per card */
#scanner-section #running-scans > .gb-card:nth-child(6n+1) {
  background: linear-gradient(0deg, rgba(142,192,124,.12), rgba(142,192,124,.12)), var(--gb-surface) !important; /* aqua */
}
#scanner-section #running-scans > .gb-card:nth-child(6n+2) {
  background: linear-gradient(0deg, rgba(184,187,38,.12), rgba(184,187,38,.12)), var(--gb-surface) !important;  /* green */
}
#scanner-section #running-scans > .gb-card:nth-child(6n+3) {
  background: linear-gradient(0deg, rgba(131,165,152,.12), rgba(131,165,152,.12)), var(--gb-surface) !important; /* blue */
}
#scanner-section #running-scans > .gb-card:nth-child(6n+4) {
  background: linear-gradient(0deg, rgba(250,189,47,.12), rgba(250,189,47,.12)), var(--gb-surface) !important;  /* yellow */
}
#scanner-section #running-scans > .gb-card:nth-child(6n+5) {
  background: linear-gradient(0deg, rgba(254,128,25,.12), rgba(254,128,25,.12)), var(--gb-surface) !important;  /* orange */
}
#scanner-section #running-scans > .gb-card:nth-child(6n+6) {
  background: linear-gradient(0deg, rgba(251,73,52,.12), rgba(251,73,52,.12)), var(--gb-surface) !important;    /* red */
}

/* Optional: if the thin top accent line on .gb-card makes cards look “attached”, kill it here */
#scanner-section #running-scans > .gb-card::before { display: none !important; }

/* keep the row layout tidy */
#scanner-section #running-scans > .gb-card > div {
  display: grid !important;
  grid-template-columns: 1fr auto !important;  /* left fills, Abort hugs right */
  align-items: center !important;
  gap: 14px !important;
}

/* tiny gap between label and progress bar so nothing feels cramped */
#scanner-section #running-scans .gp-progress { margin-top: 6px !important; }


/* === Running Scans · inset padding inside the container === */
#scanner-section #running-scans{
  /* neutralize any old negative-margin rules */
  margin-left: 0 !important;
  margin-right: 0 !important;

  /* give the whole list breathing room inside the big card */
  padding: 8px 18px 14px !important;   /* top, sides, bottom */
}

/* extra space below the header bar so the first card never touches it */
#scanner-section #running-scans > .gb-card:first-child{
  margin-top: 12px !important;
}

/* add internal padding to each tinted card so its content doesn’t touch edges */
#scanner-section #running-scans > .gb-card{
  padding: 14px 16px !important;       /* vertical, horizontal */
}

/* keep layout tidy inside each card (works with the grid you already set) */
#scanner-section #running-scans > .gb-card > div{
  gap: 16px !important;                 /* a little more space between left column and Abort */
}

/* small screens: slightly tighter padding */
@media (max-width: 640px){
  #scanner-section #running-scans{ padding: 6px 12px 12px !important; }
  #scanner-section #running-scans > .gb-card{ padding: 12px !important; }
}


/* Report page: never let overlays swallow clicks on content or links */
#report-page { position: relative; }
#report-page::before,
#report-page .gb-card::before,
#report-page .overlay { pointer-events: none !important; }

#report-page a,
#report-page button,
#report-page .p-6 { pointer-events: auto !important; position: relative; z-index: 1; }

/* OWASP embed: set card height and let iframe fill it */
#owasp-embed-section .chart-card {
  height: 600px;        /* <- adjust here only for this section */
  overflow: hidden;
}

#owasp-embed-section .owasp-iframe-wrap {
  height: 100%;
}

#owasp-embed-section iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  line-height: 0;
  vertical-align: top;  /* kills baseline gap */
}
/* Remove border/shadow ONLY for the home splash */
/* Special override for splash */
/* Home splash only — remove the gradient ribbon + rounding/shadow */
#splash-card.gb-card::before,
#splash-card.gb-card::after {
  content: none !important;
  display: none !important;
}

#splash-card.gb-card {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Make sure the iframe itself has square edges and no border */
#splash-card iframe {
  display: block;
  width: 100%;

  border: 0;
  border-radius: 0;
  background: transparent;
}

/* Ensure SweetAlert sits above fixed headers/sidebars */
.swal2-container { z-index: 10050 !important; }


/* --- Vines Game Modal (final cleanup) --- */

/* Popup container: fully transparent, no border, no shadow */
.swal2-popup.gb-game-modal {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: min(500px, 92vw) !important;  /* adjust modal width here */
  color: var(--gb-text) !important;
  border-radius: 12px;
}

/* Title: hide completely (or shrink if you prefer) */
.swal2-title.gb-swal-title {
  display: none !important;
}

/* Close “X” button */
.swal2-close.gb-swal-close {
  color: var(--gb-muted) !important;
}

/* Remove SweetAlert2’s default content spacing */
.gb-game-modal .swal2-html-container {
  margin: 0 !important;
  padding: 0 !important;
}

/* Dim background overlay (set transparent if you want no dim) */
.swal2-container.swal2-backdrop-show {
  background: rgba(0,0,0,0.45) !important;
}

/* --- Game modal sizing --- */
.gb-game-body {
  width:460px;    /* game frame width */
  height: 740px;   /* game frame height */
  overflow: hidden;
  border-radius: 10px;
  background: transparent !important;
}

.gb-game-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

/* Force-hide the default confirm button in game modal */
.swal2-popup.gb-game-modal .swal2-confirm {
  display: none !important;
}

/* Nuke any built-in SweetAlert buttons for the game modal */
.swal2-popup.gb-game-modal .swal2-close,
.swal2-popup.gb-game-modal .swal2-confirm,
.swal2-popup.gb-game-modal .swal2-actions {
  display: none !important;
}

/* (Keep your existing game styles) */

/* Talk to Aina button */
#btn-aina {
  background-color: #fb4934 !important; /* Gruvbox red */
  color: #fbf1c7 !important;            /* Gruvbox white/light */
  font-weight: 600;
  border-radius: 6px;
  padding: 6px 14px;
  transition: background-color 0.25s ease, color 0.25s ease;
  border: none !important;              /* remove border */
  outline: none !important;             /* remove focus outline */
}

/* Hover state */
#btn-aina:hover {
  background-color: #fe8019 !important; /* Gruvbox orange */
  color: #282828 !important;            /* Gruvbox dark text */
  border: none !important;              /* ensure no border */
  outline: none !important;
}

/* === Donuts: even out top/bottom spacing inside charts === */
.chart-card canvas {
  /* kill the 16/18/18/22 padding so Chart.js padding is the single source of truth */
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Scanner progress bar */
.gp-progress {
  height: 24px;          /* increase the track height */
  border-radius: 9999px; /* pill shape */
  background: var(--bg-light)   /* optional: track background */
  overflow: hidden;      /* keep bar corners rounded */
}

#progress-bar {
  height: 100%;          /* make bar fill the container’s height */
  border-radius: inherit;
}

/* === Scheduled Scans table — make it look like Reports === */

/* === Scheduled Scans · match Reports base + restore earlier hover === */




/* Native date/time widgets — dark palette app‑wide */
input[type="date"], input[type="time"] { color-scheme: dark; }
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator { filter: invert(1) opacity(.85); }



/* Schedule Scan modal only */
.swal2-popup.gbx.gbx-schedule {
  min-height: 720px !important;   /* current height we’ll use */
  max-height: 110vh !important;    /* keep it on-screen on short displays */
  display: flex !important;
  flex-direction: column !important;
}

/* Schedule Scan button — match primary button sizing */
#btn-schedule-scan.gb-btn, #btn-scan-options.gb-btn {
  padding: 14px 28px !important;   /* same as .gb-btn-primary */
  font-weight: 800 !important;
  border-radius: 12px !important;
  line-height: 1.2 !important;
  min-height: 48px !important;     /* ensures same height as Start Scan */
}

/* On hover — match Start Scan theme */
#btn-schedule-scan.gb-btn:hover, #btn-scan-options.gb-btn:hover {
  background: var(--gb-green) !important;   /* Gruvbox green hover */
  color: #1d2021 !important;                /* dark text */
  border: none !important;
  box-shadow: 0 6px 14px rgba(0,0,0,.4) !important;
  font-weight: 800 !important;
  transition: background .18s ease, box-shadow .18s ease;
}



/* ==== AUTHORITATIVE: Reports + Scheduled rows (accent-based, same look) ==== */
/* ==== AUTHORITATIVE: Reports + Scheduled rows (accent-based, same look) ==== */
#reports-list-card tbody tr > td:first-child,
#scheduled-list-card tbody tr > td:first-child {
  border-left: 1px solid var(--gb-surface-2) !important;
  border-top-left-radius: 10px !important;
  border-bottom-left-radius: 10px !important;

  /* the “curly” accent stripe driven by .gb-accent-* (via --accent) */
  box-shadow: inset 4px 0 0 0 var(--accent, transparent) !important;
  padding-left: calc(1.25rem - 4px) !important;
}

/* Scheduled Scans — add vertical gap between rows (pill rows) */
#scheduled-list-card table {
  border-collapse: separate !important;
  border-spacing: 0 12px !important;   /* ← 12px gap between rows */
}

/* Keep the row ring consistent across the gap */
/* Keep the row ring consistent across the gap */
#scheduled-list-card tbody tr > td {
  background: transparent !important;
  /* border-top and border-bottom removed */
}

/* Right side rounding to match your left “curly” cell */
#scheduled-list-card tbody tr > td:last-child {
  border-right: 1px solid var(--gb-surface-2) !important;
  border-top-right-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
}





#abort-scan-btn,
#running-scans button[data-abort]{ position: relative; z-index: 2147483647; pointer-events: auto; }


/* =================================================================== */
/* === AUTHORITATIVE STYLING FOR REPORTS & SCHEDULED SCANS TABLES === */
/* =================================================================== */

/* Use a shared selector for both tables */
#reports-list-card table,
#scheduled-list-card table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px; /* This creates the space between rows */
}

/* Base style for all rows in both tables that have the .gb-row class */
.gb-row {
  background: var(--gb-surface);
  border: 1px solid var(--gb-surface-2);
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* First cell gets the rounded corner and the accent stripe */
.gb-row td:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  /* The accent stripe color is controlled by the --accent variable */
  box-shadow: inset 6px 0 0 0 var(--accent, transparent);
  padding-left: calc(1.25rem - 6px); /* Adjust padding for the stripe */
}

/* Last cell gets the other rounded corner */
.gb-row td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* --- Dynamic Color Palette --- */
/* The JavaScript adds these classes to each <tr> to set the --accent color */
.gb-accent-aqua   { --accent: #8ec07c; }
.gb-accent-green  { --accent: #b8bb26; }
.gb-accent-yellow { --accent: #fabd2f; }
.gb-accent-orange { --accent: #fe8019; }
.gb-accent-red    { --accent: #fb4934; }

/* --- Dynamic Hover Effect --- */
/* The hover effect uses the same --accent color for a tinted background */
.gb-row:hover td {
  background: rgba(var(--accent-rgb, 235, 219, 178), 0.15);
}

/* We need to define the RGB values for the hover transparency to work */
.gb-accent-aqua:hover   { --accent-rgb: 142,192,124; }
.gb-accent-green:hover  { --accent-rgb: 184,187,38; }
.gb-accent-yellow:hover { --accent-rgb: 250,189,47; }
.gb-accent-orange:hover { --accent-rgb: 254,128,25; }
.gb-accent-red:hover    { --accent-rgb: 251,73,52; }





/* ──────────────────────────────────────────────────────────────
   Tools dropdown – same look/feel as profile dropdown
   (uses your theme variables: --gb-surface, --gb-surface-2, --gb-text)
   ────────────────────────────────────────────────────────────── */

.vines-dd {
  position: absolute;
  right: 0;
  margin-top: 0.5rem;               /* same gap under the button */
  min-width: 280px;                 /* wider so labels don’t wrap */
  padding: 0.375rem;                /* compact inner padding like profile */
  background: var(--gb-surface);
  border: 1px solid var(--gb-surface-2);
  border-radius: 0.75rem;           /* ~rounded-xl */
  box-shadow: 0 18px 42px rgba(0,0,0,.45);
  backdrop-filter: blur(2px);       /* same subtle blur vibe */
  display: none;
  z-index: 400;                     /* above header */
}

.vines-dd.open { display: block; }

/* Items mimic profile: pill hover, same weight/spacing, bigger font per request */
.vines-dd__item {
  display: block;
  width: 100%;
  padding: 0.60rem 0.875rem;        /* same vertical rhythm as profile */
  border-radius: 0.625rem;          /* pill on hover */
  color: var(--gb-text);
  text-decoration: none;
  font-size: 20px;                  /* you asked for 20px */
  line-height: 1.35;
  font-weight: 600;                 /* matches profile’s semi‑bold */
  white-space: nowrap;              /* prevent two-line labels */
  user-select: none;
}

.vines-dd__item:hover,
.vines-dd__item:focus {
  background: var(--gb-surface-2);  /* same hover as profile */
  outline: none;
}

/* Optional thin separator that matches your border tone */
.vines-dd__sep {
  height: 1px;
  margin: 0.35rem 0;
  background: var(--gb-green);
  border: 0;
}

/* The Tools button can reuse your profile button chrome;
   this keeps the chevron rotation the same */
.vines-dd__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.vines-dd__btn .chev {
  width: 1rem; height: 1rem;
  transition: transform 150ms ease;
}
.vines-dd__btn[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}




















.leaflet-container {
background: none;
}





