:root {
  color-scheme: dark;
  --bg: #0d121b;
  --bg2: #111925;
  --bg-card: #151e2b;
  --card-bg: #151e2b;
  --sidebar-bg: #101722;
  --card: #151e2b;
  --card2: #1c2838;
  --border: #2a3748;
  --text: #edf2f7;
  --muted: #a0adc0;
  --accent: #5dd6be;
  --accent2: #83b9e9;
  --good: #69d6a6;
  --warn: #edc277;
  --bad: #ee9393;
  --shadow: 0 6px 22px rgba(0, 0, 0, .12);
}
* { box-sizing: border-box; margin: 0; }
body { background: var(--bg); color: var(--text); font: 14px/1.55 "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
a { color: var(--accent2); text-underline-offset: 3px; }
a:hover { color: var(--text); }
button:focus-visible, a:focus-visible, summary:focus-visible, .job:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: #27665c; color: #fff; }
.hidden { display: none !important; }
.skip-link { position: fixed; left: 18px; top: -100px; padding: 10px 18px; border-radius: 8px; background: var(--accent); color: #10231e; z-index: 100; }
.skip-link:focus { top: 14px; }
.app { display: flex; min-height: 100vh; }

/* Navigation */
.sidebar { width: 250px; flex: 0 0 250px; min-width: 230px; box-sizing: border-box; padding: 22px 14px 18px; display: flex; flex-direction: column; gap: 6px; background: var(--sidebar-bg); border-right: 1px solid var(--border); position: sticky; top: 0; height: 100vh; overflow-y: auto; overflow-x: hidden; }
.logo { display: flex; gap: 8px; align-items: center; margin-bottom: 18px; padding: 0; max-width: 100%; box-sizing: border-box; }
.logo-body { min-width: 0; flex: 1; overflow: hidden; }
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 15px; letter-spacing: -.6px; color: #0b2922; background: var(--accent); }
.logo-mark-img { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; filter: drop-shadow(0 2px 8px rgba(45, 212, 191, 0.25)); transition: transform .2s ease; }
.logo:hover .logo-mark-img { transform: scale(1.05); }
.logo-name { font-weight: 800; font-size: 15px; letter-spacing: -.3px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; max-width: 100%; }
.logo-name-accent { background: linear-gradient(135deg, #2dd4bf 0%, #38bdf8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.logo-badge { font-size: 7.5px; font-weight: 700; letter-spacing: 0.3px; color: #2dd4bf; background: rgba(45, 212, 191, 0.12); border: 1px solid rgba(45, 212, 191, 0.35); border-radius: 4px; padding: 1px 3.5px; text-transform: uppercase; flex-shrink: 0; line-height: 1.1; display: inline-block; vertical-align: middle; }
.logo-sub { font-size: 10px; color: var(--muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-toggle { display: none; }
.nav-label { padding: 0 13px; color: #8191a8; font-size: 10px; font-weight: 650; letter-spacing: 1.5px; margin-bottom: 5px; }
nav { display: flex; flex-direction: column; gap: 5px; }
.nav-btn, .menu-action-btn, .menu-link { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 13px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 550; cursor: pointer; text-align: left; text-decoration: none; box-sizing: border-box; transition: background .16s, color .16s; }
.nav-btn:hover, .menu-action-btn:hover, .menu-link:hover { background: #1a2432; color: var(--text); }
.nav-btn.active { background: #203a37; border-color: #2d514a; color: #a5f0df; }
#btn-scan, .scan-now-btn, #btn-scan.btn.primary {
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--accent) !important;
  color: #0b2922 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  border-radius: 8px !important;
  border: none !important;
  box-shadow: 0 2px 10px rgba(45, 212, 191, 0.28) !important;
  box-sizing: border-box;
  margin-top: 6px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
#btn-scan:hover, .scan-now-btn:hover, #btn-scan.btn.primary:hover {
  background: #34e0cb !important;
  box-shadow: 0 4px 14px rgba(45, 212, 191, 0.4) !important;
  transform: translateY(-1px);
}
#btn-scan:active, .scan-now-btn:active, #btn-scan.btn.primary:active {
  transform: translateY(0);
}
#btn-scan:disabled, .scan-now-btn:disabled, #btn-scan.btn.primary:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed;
  transform: none;
}
.menu-automation-panel { margin-top: 6px; padding: 8px 10px; background: rgba(22, 32, 46, 0.7); border: 1px solid var(--border); border-radius: 8px; box-sizing: border-box; width: 100%; }
.menu-automation-header { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; box-sizing: border-box; }
.menu-automation-title { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--text); white-space: nowrap !important; flex-shrink: 0; }
.menu-automation-icon { width: 13px; height: 13px; color: var(--accent); flex-shrink: 0; }
.automation-switch-btn { min-width: 42px; padding: 3px 7px; font-size: 10.5px; font-weight: 700; border-radius: 6px; text-align: center; flex-shrink: 0; }
.nav-icon { width: 20px; height: 20px; flex-shrink: 0; }
.badge { margin-left: auto; background: var(--accent); color: #132d25; font-style: normal; font-weight: 700; font-size: 10px; border-radius: 6px; padding: 1px 6px; }
.side-foot { margin-top: auto; border-top: 1px solid var(--border); padding-top: 18px; }
.workspace-status { display: flex; align-items: center; gap: 8px; color: #c3d1df; font-size: 12px; font-weight: 550; padding: 0 8px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.scan-status { font-size: 11px; color: var(--muted); padding: 8px; line-height: 1.6; }
.foot-note { font-size: 10.5px; color: #8798af; padding: 0 8px; line-height: 1.65; }

/* Workspace and hierarchy */
.main { flex: 1; min-width: 0; width: 100%; max-width: 1490px; padding: 36px 36px 48px; }
.main:focus { outline: none; }
.tab { display: none; animation: fadeUp .22s ease; }
.tab.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.6px; color: var(--accent); margin-bottom: 5px; }
h1 { font-size: 30px; line-height: 1.3; font-weight: 700; letter-spacing: -.9px; }
h2 { font-size: 16px; line-height: 1.4; font-weight: 650; letter-spacing: -.15px; }
h3 { margin-bottom: 9px; font-size: 16px; font-weight: 650; }
.page-description { font-size: 13px; color: var(--muted); margin-top: 7px; }
.muted { color: var(--muted); }
.small { font-size: 12px; font-weight: 400; }
.hint { color: #91a1b7; font-weight: 400; font-size: 11px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 22px; margin-bottom: 18px; box-shadow: var(--shadow); }
.card > p { margin-bottom: 18px; max-width: 960px; font-size: 13px; line-height: 1.7; }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.card-heading p { margin-top: 4px; max-width: 660px; }
.search-section-heading h2 { flex: 1; min-width: 0; }
.search-section .search-section-heading { align-items: center; margin-bottom: 0; }
.search-section-content { margin-top: 20px; }
.search-section-content > p { margin-bottom: 20px; }
.search-section-title { display: none; }
.search-section-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.search-toggle-indicator { display: flex; align-items: center; gap: 7px; color: var(--accent); font-size: 11px; font-weight: 500; flex-shrink: 0; }
.search-toggle-indicator svg { width: 18px; height: 18px; }
.search-section-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.search-section:has(.search-section-toggle[aria-expanded="false"]) { padding-block: 4px; }
.divider { height: 1px; background: var(--border); margin: 20px 0; }

/* Inputs and actions */
input, select, textarea { min-width: 0; background: #101823; color: var(--text); border: 1px solid #354357; border-radius: 7px; padding: 10px 12px; outline: none; transition: border .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: #8596ae; opacity: 1; }
select { cursor: pointer; padding-right: 25px; text-overflow: ellipsis; background-color: #101823; color: var(--text); }
select, optgroup, option { background-color: #101823; color: var(--text); color-scheme: dark; }
optgroup { background-color: #16202e !important; color: var(--accent) !important; font-weight: 700; padding: 6px 4px; }
option { background-color: #101823 !important; color: var(--text) !important; padding: 6px 10px; }
option:checked, option:hover { background-color: #203c34 !important; color: #a5f0df !important; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(93, 214, 190, .13); }
input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--accent); flex-shrink: 0; cursor: pointer; }
textarea { width: 100%; resize: vertical; line-height: 1.65; }
label { display: flex; flex-direction: column; gap: 7px; min-width: 0; font-size: 11px; font-weight: 550; color: #b6c2d2; }
label.chk { flex-direction: row; align-items: center; gap: 8px; color: #b9c7d6; font-size: 12px; font-weight: 400; cursor: pointer; }
.scan-row { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.scan-row > label { flex: 1 1 200px; }
.scan-row label.grow { flex: 2 1 280px; }
.scan-bar .scan-row { display: grid; grid-template-columns: minmax(150px, .9fr) minmax(210px, 1.2fr) minmax(200px, 1.4fr); }
.scan-bar .scan-row input, .scan-bar .scan-row select { width: 100%; }
.scan-options { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 15px; margin-top: 20px; }
.scan-options .btn { margin-left: auto; }
.row { display: flex; align-items: center; flex-wrap: wrap; }
.gap { gap: 12px; margin-top: 16px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 1px solid #35465b; background: var(--card2); color: var(--text); border-radius: 7px; padding: 10px 15px; font-weight: 600; font-size: 12px; line-height: 1.55; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { background: #253447; border-color: #536982; }
.btn:active { background: #19283a; }
.btn.primary { background: var(--accent); color: #102d25; border-color: var(--accent); }
.btn.primary:hover { background: #85e4d1; border-color: #85e4d1; }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: #203042; }
.btn.danger { background: rgba(238, 147, 147, .1); color: var(--bad); border-color: #74464e; }
.btn.mini { padding: 6px 10px; font-size: 11px; }
.btn:disabled { opacity: .45; cursor: default; box-shadow: none; }
.btn:disabled:hover { background: var(--card2); border-color: #35465b; }
.button-icon { width: 17px; height: 17px; flex-shrink: 0; }

/* Filters and result navigation */
.filters { margin: 0 0 25px; padding: 18px 20px; background: #121b27; }
.filter-controls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 12px; }
.filters input, .filters select { width: 100%; font-size: 12px; padding-top: 9px; padding-bottom: 9px; }
.filter-search { grid-column: span 2; }
.filter-actions { display: flex; align-items: flex-end; justify-content: flex-end; gap: 8px; }
.filter-actions .btn { padding: 9px 12px; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.results-toolbar h2 { font-size: 18px; }
.results-toolbar p { margin-top: 3px; }
.pager { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.pager .btn { min-width: 32px; min-height: 32px; }
.pager [data-page-info] { white-space: nowrap; }
.results-footer { display: flex; justify-content: flex-end; margin-top: 24px; }
.results-footer .pager .btn { min-width: 44px; min-height: 44px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.active-filters:empty { display: none; }
.filter-chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px; border: 1px solid #36574e; border-radius: 6px; background: #18352e; color: #b3e7d8; font-size: 11px; }
.filter-chip button { color: inherit; border: 0; background: none; padding: 0 2px; cursor: pointer; }

/* Job cards */
.job-list { display: flex; flex-direction: column; gap: 11px; }
.job { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; cursor: pointer; display: flex; gap: 18px; align-items: center; transition: border-color .16s, background .16s; }
.job:hover { border-color: #54756e; background: #192431; }
.job .info { flex: 1; min-width: 0; }
.job .title { font-weight: 650; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.job .meta { color: var(--muted); font-size: 11.5px; margin-top: 7px; display: flex; align-items: center; gap: 5px 13px; flex-wrap: wrap; }
.job .src { font-size: 10px; padding: 2px 7px; border: 1px solid #354359; border-radius: 5px; background: #1c293b; color: #b5c7de; }
.field-tag { display: inline-flex; align-items: center; font-size: 10px; color: #9ae2ce; border: 1px solid #35584d; background: #1d342e; padding: 2px 7px; border-radius: 5px; margin-top: 6px; }
.tag { display: inline-block; font-size: 10.5px; padding: 2px 7px; border-radius: 5px; background: #203148; color: var(--accent2); margin: 2px 4px 2px 0; }
.score-ring { position: relative; width: 54px; height: 54px; flex-shrink: 0; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring .val { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.job-match { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.job-symbol { display: grid; place-items: center; width: 54px; height: 54px; flex-shrink: 0; border: 1px solid #34485c; border-radius: 10px; background: #1c2c3c; color: #9db9cf; }
.job-symbol svg { width: 24px; height: 24px; }
.match-caption { text-align: center; font-size: 9px; color: var(--muted); letter-spacing: .3px; margin-top: 4px; }
.job-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.job-open { color: #b2c1d3; flex-shrink: 0; }
.job-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); }
.job-fact { display: grid; grid-template-columns: 66px minmax(0, 1fr); align-items: baseline; gap: 8px; min-width: 0; font-size: 11px; line-height: 1.5; }
.job-fact-label { color: var(--muted); font-weight: 600; font-size: 10px; }
.job-fact dd { min-width: 0; color: #c4d1e1; }
.job-fact-value { display: block; overflow-wrap: anywhere; }
.job-fact-more { display: block; margin-top: 2px; color: var(--accent2); font-size: 9px; }
.job-facts-empty { margin-top: 10px; color: var(--muted); font-size: 10px; }
.st-new { color: var(--accent); }
.st-saved { color: var(--warn); }
.st-applied { color: var(--good); }
.st-interview { color: #83b9e9; }
.st-offer { color: #5dd6be; font-weight: 700; }
.st-rejected { color: #ee9393; }
.score-pill { display: inline-flex; align-items: center; font-size: 11px; padding: 2px 7px; border-radius: 4px; font-weight: 600; line-height: 1.2; }
.score-pill.good { background: rgba(105, 214, 166, 0.15); color: var(--good); border: 1px solid rgba(105, 214, 166, 0.3); }
.score-pill.warn { background: rgba(237, 194, 119, 0.15); color: var(--warn); border: 1px solid rgba(237, 194, 119, 0.3); }
.score-pill.bad { background: rgba(238, 147, 147, 0.15); color: var(--bad); border: 1px solid rgba(238, 147, 147, 0.3); }
.empty { color: var(--muted); text-align: center; padding: 52px 22px; background: #121b27; border: 1px dashed #3c4d62; border-radius: 10px; font-size: 13px; }
.empty b, .empty h3 { color: var(--text); }
.empty h3 { margin-bottom: 6px; }

/* Applications pipeline cards */
.app-pipeline-card { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 10px !important; padding: 16px 18px !important; cursor: pointer; }
.app-pipeline-card .info { width: 100% !important; flex: 1 1 auto !important; }
.app-pipeline-card .app-card-title { font-size: 15px; font-weight: 700; color: #fff; overflow-wrap: normal; word-break: normal; white-space: normal; line-height: 1.4; }
.app-pipeline-card .app-card-title:hover { color: var(--accent); }
.app-pipeline-card .app-meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 12px; margin-top: 5px; font-size: 11.5px; color: var(--muted); }
.app-pipeline-card .app-docs-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(255, 255, 255, 0.08); font-size: 11.5px; }
.app-pipeline-card .app-notes { line-height: 1.5; color: #94a3b8; }
.app-pipeline-card .app-footer-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 4px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.08); width: 100%; }
.app-pipeline-card .app-stage-label { display: inline-flex !important; flex-direction: row !important; align-items: center !important; gap: 6px; font-size: 11.5px; color: var(--muted); margin: 0 !important; }
.app-pipeline-card .app-stage-select { padding: 4px 8px; font-size: 12px; border-radius: 4px; background: var(--bg-card); color: inherit; border: 1px solid var(--border); cursor: pointer; }
.app-pipeline-card .app-footer-btns { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.empty .btn { margin-top: 16px; }
.loading { color: var(--muted); padding: 30px 20px; text-align: center; }

/* Verification and profile */
.cv-label { margin-bottom: 8px; }
.verify-list { margin-top: 18px; }
.verify-item { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 14px; border-radius: 8px; background: #101924; border: 1px solid var(--border); margin-bottom: 10px; }
.verify-item .q { flex: 1 1 210px; min-width: 0; overflow-wrap: anywhere; }
.verify-item .kind { font-size: 10px; font-weight: 600; color: var(--accent2); text-transform: uppercase; letter-spacing: .7px; margin-bottom: 3px; }
.history div { padding: 10px 0; border-bottom: 1px solid #293547; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.history div:last-child { border-bottom: 0; }
.ans-yes { color: var(--good); font-weight: 600; }
.ans-no { color: var(--bad); font-weight: 600; }
.ans-partial { color: var(--warn); font-weight: 600; }
.cv-view { margin-top: 18px; }
.pv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pv { background: #111a27; border: 1px solid var(--border); border-radius: 8px; padding: 14px; }
.pv h4 { font-size: 10px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; letter-spacing: .8px; }
.pv ul { padding-left: 16px; font-size: 12px; color: #c6d2e8; }

/* Settings */
.top-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.automation-status { color: var(--muted); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; margin: 0 0 20px; }
.automation-status.is-enabled { color: var(--good); }
.automation-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.automation-switch { display: flex; flex-direction: row; align-items: center; gap: 10px; font-size: 13px; }
.automation-switch input { width: 18px; height: 18px; }
.automation-card .automation-status { margin: 14px 0 10px; }
/* provider controls layout defined below */
.provider-diagnostic { width: 100%; font-size: 12px; line-height: 1.65; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.provider-diagnostic.error { color: var(--bad); }
.provider-diagnostic.success { color: var(--good); }
.application-prepared { margin: 22px 0; }
.application-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.application-downloads .btn { text-decoration: none; }
.job-page-body > h2 { margin-top: 24px; margin-bottom: 12px; }
.application-prepared h2 { margin-bottom: 12px; }
.application-bridge { padding: 16px; border: 1px solid var(--border); border-radius: 9px; background: #111b28; margin: 18px 0; }
.application-bridge p { margin: 10px 0; }
.application-bridge details { margin-top: 16px; }
.application-bridge ol { padding-left: 20px; color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 10px; }
.application-fields { display: grid; gap: 10px; }
.application-field { padding: 12px; border: 1px solid var(--border); border-radius: 7px; min-width: 0; }
.application-field strong { display: block; font-size: 12px; margin-bottom: 6px; }
.application-field p { font-size: 12px; color: #c6d2e8; white-space: pre-wrap; overflow-wrap: anywhere; }
#cv-parse-note { white-space: pre-wrap; }
#cv-parse-note.error { color: var(--bad); border-color: #74464e; }
.provider-list { display: flex; flex-direction: column; gap: 12px; }
.ai-tier-card { border-radius: 10px; padding: 16px; margin-bottom: 16px; box-sizing: border-box; }
.ai-tier-card.free-active { background: linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(56, 189, 248, 0.07)); border: 1px solid rgba(20, 184, 166, 0.35); }
.ai-tier-card.custom-active { background: linear-gradient(135deg, rgba(46, 204, 113, 0.12), rgba(20, 184, 166, 0.08)); border: 1px solid rgba(46, 204, 113, 0.4); }
.ai-tier-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.ai-tier-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 6px; letter-spacing: 0.3px; }
.ai-tier-badge.free { background: #14B8A6; color: #042f2e; }
.ai-tier-badge.success { background: #2ecc71; color: #052e16; }
.ai-tier-quota { font-size: 12px; color: #94a3b8; }
.ai-tier-quota strong { color: #38bdf8; font-weight: 700; }
.ai-tier-sub { font-size: 12px; color: #86efac; }
.ai-quota-bar { width: 100%; height: 6px; background: rgba(255, 255, 255, 0.08); border-radius: 99px; overflow: hidden; margin: 10px 0; }
.ai-quota-fill { height: 100%; background: linear-gradient(90deg, #14B8A6, #38BDF8); border-radius: 99px; transition: width 0.3s ease; }
.ai-quota-fill.warning { background: #f39c12; }
.ai-quota-fill.critical { background: #e74c3c; }
.ai-tier-desc { font-size: 12px; line-height: 1.6; color: #94a3b8; margin: 0; }
.custom-prov-empty { padding: 16px; background: #0f1722; border: 1px dashed var(--border); border-radius: 8px; margin-bottom: 12px; box-sizing: border-box; }
.prov { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-radius: 10px; background: #111a27; border: 1px solid var(--border); width: 100%; box-sizing: border-box; }
.prov-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; width: 100%; }
.pname-wrap { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; flex: 1 1 auto; }
.prov .pname { font-weight: 700; font-size: 14.5px; color: #f1f5f9; }
.prov .pmodel { color: var(--muted); font-size: 11.5px; overflow-wrap: anywhere; word-break: break-all; margin: 0; }
.prov .pdefault { font-size: 10px; background: #213e35; color: var(--accent); padding: 2px 7px; border-radius: 5px; font-weight: 700; letter-spacing: 0.3px; }
.prov .ptest { font-size: 11px; margin-left: auto; max-width: 300px; text-align: right; }
.prov-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.prov-actions .btn { font-size: 11.5px; padding: 5px 12px; min-height: 30px; border-radius: 6px; }
.provider-controls { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 2px; }
.provider-controls label, .model-select-block label, .model-select-label { flex: 0 0 auto !important; height: auto !important; min-height: 0 !important; max-height: none !important; font-size: 11.5px !important; font-weight: 600 !important; color: #cbd5e1 !important; margin: 0 0 3px 0 !important; padding: 0 !important; display: block !important; }
.model-select-block { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.model-select-row { display: flex; gap: 8px; width: 100%; }
.model-select-control { width: 100% !important; max-width: 100% !important; box-sizing: border-box; padding: 8px 11px; font-size: 12.5px; border-radius: 6px; border: 1px solid var(--border); background: #101823; color: #edf2f7; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.model-custom-control { flex: 1 1 200px; padding: 8px 12px; font-size: 13px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg-card); color: inherit; box-sizing: border-box; }
.provider-btn-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin-top: 2px; }
.provider-btn-group .btn { width: 100%; min-height: 34px; padding: 6px 8px; font-size: 11.5px; justify-content: center; border-radius: 6px; white-space: nowrap; }
.prov-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.prov-form .row { grid-column: 1 / -1; }
summary { cursor: pointer; color: var(--accent2); font-size: 13px; font-weight: 600; padding: 3px 0; }
code { font-family: Consolas, monospace; font-size: .9em; background: #101822; border-radius: 3px; padding: 1px 4px; overflow-wrap: anywhere; }

/* Full-page job details and application preparation */
.job-page { width: 100%; max-width: 1100px; }
.job-page-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.job-page-toolbar .btn { min-height: 44px; }
.job-page-body { padding: 28px; overflow-wrap: anywhere; }
.job-page-body:focus-visible, .job-page-body h1:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.job-page-body h1 { font-size: 28px !important; line-height: 1.35; letter-spacing: -.6px; }
.job-page-body h3 { margin-top: 24px; }
.job-page-body .meta { line-height: 1.7; }
.job-page-body .row { gap: 10px; }
.job-page-body .row > .btn { min-height: 40px; text-decoration: none; }
.job-page-body .job-requirements { margin-top: 24px; margin-bottom: 24px; }
.job-page .jd, .job-page pre { max-height: none !important; height: auto !important; overflow: visible !important; white-space: pre-wrap; overflow-wrap: anywhere; }
.job-requirements { margin: 20px 0; padding: 17px; border: 1px solid var(--border); border-radius: 9px; background: #111b28; }
.job-requirements h2 { font-size: 15px; }
.job-requirements-note { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.job-requirements-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; margin-top: 17px; }
.job-requirement { min-width: 0; }
.job-requirement .job-fact-label { color: #a9c4da; font-size: 11px; margin-bottom: 6px; }
.job-requirement dd { min-width: 0; font-size: 12px; line-height: 1.65; color: #d0dbe9; overflow-wrap: anywhere; }
.job-requirement-values { margin: 0; padding-left: 16px; }
.job-requirement-values li + li { margin-top: 5px; }
.job-requirement-missing { color: var(--muted); font-size: 11px; }
@media (max-width: 760px) {
  .job-facts { grid-template-columns: minmax(0, 1fr); gap: 7px; }
}
@media (max-width: 640px) {
  #job-list .job-facts, #job-list .job-facts-empty { display: none; }
  .job-fact { grid-template-columns: 60px minmax(0, 1fr); gap: 6px; font-size: 10.5px; }
  .job-requirements { padding: 14px; }
  .job-requirements-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
.jd { white-space: pre-wrap; overflow-wrap: anywhere; color: #c6d2e8; font-size: 13px; line-height: 1.7; background: #101823; border: 1px solid var(--border); padding: 17px; border-radius: 8px; max-height: 300px; overflow: auto; }
.kw { display: inline-block; margin: 3px; font-size: 11px; padding: 3px 8px; border-radius: 5px; }
.kw.hit { background: #203d32; color: var(--good); }
.kw.miss { background: #3a3224; color: var(--warn); }
.note { margin-top: 12px; padding: 12px 14px; border: 1px solid #354b65; border-radius: 8px; background: #1b2a3c; font-size: 12px; line-height: 1.7; color: #bdd3ec; overflow-wrap: anywhere; }
.scan-result { margin-top: 18px; padding: 14px; border: 1px solid #34534b; border-radius: 8px; background: #132a25; font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }

/* Notifications and loading */
.toasts { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 99; max-width: min(440px, calc(100vw - 40px)); }
.toast { background: var(--card2); border: 1px solid #41566d; border-left: 3px solid var(--accent); padding: 13px 17px; border-radius: 8px; box-shadow: var(--shadow); font-size: 12px; overflow-wrap: anywhere; animation: slideIn .2s ease; }
.toast.bad { border-left-color: var(--bad); }
.toast.good { border-left-color: var(--good); }
@keyframes slideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.spin { display: inline-block; animation: rot 1s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

/* Tablet and mobile */
@media (min-width: 1600px) { .main { margin-right: auto; padding-left: 48px; padding-right: 48px; } }
@media (max-width: 1180px) {
  .sidebar { width: 220px; flex-basis: 220px; padding: 18px 10px 16px; }
  .logo-name { font-size: 14px; }
  .logo-badge { font-size: 7px; padding: 1px 3px; }
  .main { padding: 30px 24px 40px; }
  .scan-bar .scan-row { grid-template-columns: 1fr 1fr; }
  .scan-bar .scan-row label.grow { grid-column: 1 / -1; }
  .filter-actions .btn { padding-left: 9px; padding-right: 9px; }
}
@media (max-width: 880px) {
  .sidebar { width: 200px; flex-basis: 200px; padding: 16px 8px 14px; }
  .logo { gap: 6px; padding: 0; }
  .logo-name { font-size: 13.5px; }
  .logo-badge { font-size: 6.5px; padding: 1px 2.5px; }
  .logo-sub { display: none; }
  .logo-mark, .logo-mark-img { width: 30px; height: 30px; border-radius: 8px; font-size: 13px; }
  .nav-btn { padding: 10px 8px; gap: 8px; font-size: 12px; }
  .main { padding: 28px 18px 36px; }
  h1 { font-size: 27px; }
  .topbar { align-items: flex-start; flex-wrap: wrap; gap: 16px; }
  .filter-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-search { grid-column: span 2; }
  .filter-actions { grid-column: 1 / -1; }
  .scan-options { gap: 14px; }
  .scan-options .btn { margin-left: 0; }
  .job { padding: 16px; gap: 14px; }
}
@media (max-width: 640px) {
  html, body { overflow-x: hidden; max-width: 100vw; }
  .app { display: block; overflow-x: hidden; max-width: 100vw; }
  .main { padding: 18px 12px 36px; max-width: 100vw; box-sizing: border-box; }
  .card { padding: 15px 12px; border-radius: 9px; max-width: 100%; box-sizing: border-box; }
  .sidebar { position: static; width: 100%; height: auto; padding: 14px 16px; border-right: 0; border-bottom: 1px solid var(--border); box-sizing: border-box; }
  .sidebar-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .logo { margin-bottom: 0; gap: 10px; padding: 0; }
  .logo-name { font-size: 19px; }
  .logo-sub { font-size: 10px; }
  .logo-mark { width: 38px; height: 38px; }
  .nav-label, .side-foot { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; background: var(--card2); color: var(--text); border: 1px solid #35465b; border-radius: 8px; font-size: 12px; font-weight: 600; cursor: pointer; }
  .menu-toggle[aria-expanded="true"] { background: #203a37; border-color: #416e62; color: #a5f0df; }
  .menu-icon { width: 19px; height: 19px; }
  #main-nav { flex-direction: column; gap: 4px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
  .nav-btn, .menu-action-btn, .menu-link { width: 100%; min-height: 44px; font-size: 13px; gap: 11px; padding: 10px 12px; }
  .nav-icon { width: 19px; height: 19px; }
  .badge { font-size: 9px; padding: 0 4px; }
  .main { padding: 25px 16px 36px; }
  .topbar { gap: 16px; margin-bottom: 22px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.2px; }
  h1 { font-size: 27px; }
  .page-description { font-size: 12px; }
  .top-actions { width: 100%; }
  .top-actions .btn { width: 100%; }
  .card { padding: 17px; border-radius: 10px; }
  .card-heading { margin-bottom: 17px; }
  .card-heading h2 { font-size: 15px; }
  .card-heading p { font-size: 11px; }
  .search-section-content { margin-top: 17px; }
  .search-section-content > p { font-size: 11px; margin-bottom: 17px; }
  .scan-bar .scan-row { grid-template-columns: 1fr; gap: 14px; }
  .scan-bar .scan-row label.grow { grid-column: auto; }
  .scan-options { align-items: flex-start; flex-direction: column; gap: 13px; }
  .scan-options .btn { width: 100%; }
  .filters { padding: 16px; }
  .filter-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 10px; }
  .filter-search { grid-column: 1 / -1; }
  .filter-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .filter-actions .btn { flex: 1; }
  .results-toolbar { align-items: flex-start; gap: 10px; }
  .results-toolbar h2 { font-size: 16px; }
  .results-toolbar p { font-size: 11px; }
  .pager { gap: 8px; }
  .pager [data-page-info] { font-size: 10px; }
  .results-footer { justify-content: center; margin-top: 20px; }
  .job { padding: 15px 12px; gap: 12px; }
  .job .title { font-size: 13px; }
  .job .meta { font-size: 10.5px; gap: 5px 9px; }
  .job-open { display: none; }
  .field-tag { font-size: 9px; max-width: 100%; }
  .empty { padding: 35px 16px; }
  .prov-form { grid-template-columns: 1fr; gap: 12px; }
  .prov-form label { display: flex; flex-direction: column; gap: 5px; width: 100%; box-sizing: border-box; font-size: 12px; }
  .prov-form input, .prov-form select { width: 100%; box-sizing: border-box; font-size: 14px; }
  .prov .ptest { max-width: 100%; text-align: left; margin-left: 0; }
  .prov { padding: 13px 11px; gap: 9px; }
  .prov-header { flex-direction: row; align-items: center; justify-content: space-between; gap: 6px; }
  .pname-wrap { gap: 6px; flex: 1 1 auto; }
  .prov .pname { font-size: 13.5px; }
  .prov-actions { width: auto !important; margin-left: 0; }
  .prov-actions .btn { min-height: 28px !important; padding: 4px 8px !important; font-size: 11px !important; flex: 0 0 auto !important; }
  .model-select-block label, .model-select-label { flex: 0 0 auto !important; margin-bottom: 2px !important; }
  .model-select-control { width: 100% !important; max-width: 100% !important; font-size: 12px !important; padding: 7px 9px !important; }
  .provider-btn-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; }
  .provider-btn-group .btn { min-height: 32px !important; padding: 5px 3px !important; font-size: 10.5px !important; justify-content: center; width: 100%; }
  .app-pipeline-card { padding: 14px 12px !important; gap: 9px !important; }
  .app-pipeline-card .app-card-title { font-size: 13.5px !important; }
  .app-pipeline-card .app-meta-row { font-size: 10.5px !important; gap: 4px 9px !important; }
  .app-pipeline-card .app-footer-actions { flex-direction: row !important; align-items: center !important; justify-content: space-between !important; gap: 8px !important; }
  .app-pipeline-card .app-footer-btns { gap: 6px !important; }
  .app-pipeline-card .app-footer-btns .btn { padding: 4px 8px !important; font-size: 11px !important; }
  .verify-item > input { width: 100%; }
  .job-page-toolbar { gap: 8px; margin-bottom: 15px; }
  .job-page-body { padding: 20px 16px; }
  .job-page-body h1 { font-size: 24px !important; }
  .job-page-body .row > .btn { flex: 1 1 auto; min-height: 44px; }
  .job-page .jd { padding: 14px; font-size: 12px; }
  .pv-grid { grid-template-columns: 1fr; }
  .toasts { bottom: 14px; right: 14px; max-width: calc(100vw - 28px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Account and saved multi-selection criteria */
[hidden] { display: none !important; }
/* data-requires-workspace no longer hides elements */
.workspace-locked .tab.active { display: block !important; }
/* full layout for visitor */
.account-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px; margin-bottom: 25px; border: 1px solid #334357; border-radius: 10px; background: #141f2d; }
.account-person { display: flex; align-items: center; gap: 12px; min-width: 0; }
.account-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.account-title { color: var(--text); font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.account-description { color: var(--muted); font-size: 11.5px; overflow-wrap: anywhere; }
.account-avatar { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; border: 1px solid #416f64; background: #234b40; color: #b3f0db; font-size: 12px; font-weight: 650; }
.account-actions { display: flex; align-items: center; flex-shrink: 0; }
.account-page-layout { max-width: 660px; }
.account-message { margin-bottom: 18px; padding: 12px 14px; border: 1px solid #36574c; border-radius: 8px; background: #162a24; color: #b2e5d0; font-size: 12px; overflow-wrap: anywhere; }
.account-message.save-error, .account-message.error { border-color: #74464e; background: #302027; color: var(--bad); }
.account-auth-tabs { display: flex; gap: 6px; margin-bottom: 22px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.account-auth-tab { flex: 1; min-height: 44px; padding: 8px 12px; border: 1px solid #35465b; border-radius: 7px; background: var(--card2); color: var(--text); font-size: 12px; font-weight: 600; cursor: pointer; }
.account-auth-tab:hover, .password-toggle:hover { background: #253447; border-color: #536982; }
.account-auth-tab[aria-selected="true"] { background: #203a37; border-color: #416e62; color: #a5f0df; }
.account-auth-form { display: flex; flex-direction: column; gap: 18px; }
.account-auth-form label { font-size: 12px; gap: 8px; }
.account-auth-form input { width: 100%; font-size: 14px; }
.password-control { display: flex; align-items: center; gap: 8px; min-width: 0; }
.password-control input { flex: 1; }
.password-toggle { min-height: 44px; flex-shrink: 0; padding: 8px 12px; border: 1px solid #35465b; border-radius: 7px; background: var(--card2); color: var(--text); font-size: 12px; cursor: pointer; }
.account-form-hint { font-size: 11px; line-height: 1.65; color: var(--muted); }
.account-form-error { color: var(--bad); font-size: 12px; }
.account-auth-actions { display: flex; gap: 12px; }
.account-form-submit { width: 100%; min-height: 44px; }
.google-button { background: #eef3fa; border-color: #cfd9e5; color: #263346; text-decoration: none; }
.google-button:hover { background: #fff; color: #263346; border-color: #fff; }
.google-button:disabled { background: #243245; color: #a8b8cd; border-color: #3b4d62; opacity: .8; }
.google-button[aria-busy="true"] { opacity: .7; pointer-events: none; }
.google-mark { display: grid; place-items: center; width: 19px; height: 19px; font-size: 17px; line-height: 1; font-weight: 750; color: #4285f4; font-family: Arial, sans-serif; }
.criteria-control { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.criteria-label { font-size: 11px; font-weight: 550; color: #b6c2d2; }
.multi-picker { position: relative; min-width: 0; }
.picker-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #101823; color: var(--text); border: 1px solid #354357; border-radius: 7px; padding: 10px 12px; cursor: pointer; text-align: left; font-size: 13px; line-height: 1.55; }
.picker-trigger:hover { border-color: #567087; }
.picker-trigger[aria-expanded="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(93, 214, 190, .13); }
.picker-summary { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-arrow { color: #a9b9cf; font-size: 17px; line-height: 1; flex-shrink: 0; }
.picker-panel { position: absolute; left: 0; top: calc(100% + 7px); width: max(100%, 310px); max-width: min(430px, calc(100vw - 66px)); z-index: 25; background: #182332; border: 1px solid #4b6178; border-radius: 10px; padding: 12px; box-shadow: 0 14px 40px rgba(0,0,0,.42); }
.criteria-control:nth-child(2) .picker-panel { left: auto; right: 0; }
.picker-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #dce6f2; font-size: 12px; font-weight: 650; margin-bottom: 10px; }
.picker-clear { background: transparent; border: 0; border-radius: 4px; color: var(--accent); padding: 3px 5px; font-size: 11px; cursor: pointer; }
.picker-clear:hover { background: #29443b; }
.scan-bar .picker-search { width: 100%; font-size: 12px; padding: 8px 10px; margin-bottom: 9px; }
.picker-all { display: flex; align-items: center; width: 100%; border: 1px solid transparent; border-radius: 6px; padding: 8px 10px; color: #bfd2e6; background: #223246; font-size: 12px; cursor: pointer; text-align: left; margin-bottom: 7px; }
.picker-all[aria-pressed="true"] { background: #244e41; color: #b9edd9; border-color: #427b68; }
.picker-list { max-height: 260px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
label.picker-option { display: flex; flex-direction: row; align-items: center; gap: 9px; color: #c7d3e3; font-size: 12px; font-weight: 400; padding: 9px 8px; border-radius: 5px; cursor: pointer; }
.picker-option:hover { background: #263b4f; }
.picker-option.selected { background: #203c34; color: #c4ebdc; }
.picker-option input[type="checkbox"] { width: 15px; height: 15px; padding: 0; }
.picker-option-name { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.picker-count { font-size: 10px; color: #a6b9d0; padding: 1px 5px; border-radius: 4px; background: #27384d; flex-shrink: 0; }
.picker-hint { font-size: 10px; color: #a0b0c5; margin-top: 10px; line-height: 1.5; }
.picker-empty { color: #acbdd1; font-size: 12px; padding: 22px 10px; text-align: center; }
.search-save-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--border); }
.search-criteria-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.save-status { color: #a9b8cb; font-size: 11px; flex: 1; min-width: 150px; }
.save-status.save-success { color: #90d2b3; }
.save-status.save-error { color: var(--bad); }
@media (max-width: 880px) {
  .account-bar { align-items: flex-start; flex-wrap: wrap; gap: 13px; }
  .account-actions { margin-left: auto; }
  .picker-panel { width: max(100%, 285px); }
}
@media (max-width: 640px) {
  .account-bar { padding: 14px; margin-bottom: 22px; gap: 13px; }
  .account-description { font-size: 11px; }
  .account-actions { width: 100%; margin-left: 0; }
  .account-actions .google-button { width: 100%; }
  .account-auth-form input { font-size: 16px; }
  .workspace-locked .scan-bar .scan-row { grid-template-columns: 1fr; }
  .picker-panel { width: 100%; max-width: 100%; }
  .picker-list { max-height: 235px; }
  .search-save-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .save-status { min-width: 0; }
  .search-save-row .btn { width: 100%; }
  .search-criteria-actions { width: 100%; flex-direction: column; }
}

/* Interactive Verification & Skills Management */
.skill-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #1f2b3b;
  border-radius: 6px;
  transition: background .12s ease;
}
.skill-card:hover {
  background: rgba(255, 255, 255, 0.02);
}
.skill-card:last-child {
  border-bottom: 0;
}
.skill-card-info {
  flex: 1 1 240px;
  min-width: 0;
}
.skill-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.btn.success {
  background: rgba(46, 204, 113, 0.16);
  color: #2ecc71;
  border-color: rgba(46, 204, 113, 0.45);
}
.btn.success:hover {
  background: rgba(46, 204, 113, 0.28);
}
.btn.warn {
  background: rgba(243, 156, 18, 0.16);
  color: #f39c12;
  border-color: rgba(243, 156, 18, 0.45);
}
.btn.warn:hover {
  background: rgba(243, 156, 18, 0.28);
}
.btn.danger-subtle {
  background: rgba(231, 76, 60, 0.16);
  color: #e74c3c;
  border-color: rgba(231, 76, 60, 0.45);
}
.btn.danger-subtle:hover {
  background: rgba(231, 76, 60, 0.28);
}
.filter-pill.active {
  background: var(--accent);
  color: #102d25;
  border-color: var(--accent);
}

.nav-btn { display: flex !important; }

/* Visitor welcome banners & callouts */
.visitor-welcome-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-left: 4px solid var(--accent);
  padding: 14px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.visitor-feature-callout {
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-left: 4px solid var(--accent);
  padding: 12px 18px;
  margin: 12px 0 16px;
  border-radius: 9px;
}
