:root {
  /* Neutrals */
  --bg:           #ffffff;          /* page background */
  --white:        #ffffff;
  --card:         #ffffff;
  --border:       #dde5ef;          /* light-blue border (design system) */
  --text:         #1a2e44;          /* deep navy body text */
  --muted:        #7a8fa8;          /* muted/secondary text */

  /* Brand blues */
  --navy:         #002D74;          /* primary brand blue */
  --navy2:        #001d4e;          /* darker navy: header background */
  --blue:         #2c5f8a;          /* mid-weight brand blue */
  --mid:          #4a86b8;          /* lighter brand blue (borders, accents) */

  /* Accent + highlights */
  --gold:         #3474DA;          /* primary accent (links, active) */
  --gold2:        #e8c060;          /* warm accent (chip dots, breadcrumb) */
  --khaki:        #C1A783;          /* seal background, header accent */

  /* Interactive states */
  --hover:        #eef4fb;          /* hover/active background */
  --active-bg:    #1a3560;
  --active-text:  #ffffff;
  --pill:         #e8f0f8;          /* pill / your-indicators band */

  /* Tag colors (semantic) */
  --tag-yes-bg:   #e6f4ea; --tag-yes-text:  #1e6b3a; --tag-yes-border:  #a8d5b5;
  --tag-pirs-bg:  #fff8e6; --tag-pirs-text: #7a5500; --tag-pirs-border: #f0d080;
  --tag-req-bg:   #fdecea; --tag-req-text:  #8b1a10; --tag-req-border:  #f5b8b3;
  --tag-opt-bg:   #f0f4f8; --tag-opt-text:  #4a6680; --tag-opt-border:  #c8d8e8;

  /* Guidance + supporting panels */
  --guidance-bg:   #fdf6e3; --guidance-border: #e8d080; --guidance-text: #5a4400;
  --all-ind-bg:    #edf4fb; --all-ind-border:  #b8d4ec;
  --sum-bg:        #f0f8f2; --sum-border:      #a8d5b5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Open Sans', sans-serif; background-color: var(--bg); color: var(--text); min-height: 100vh; }

/* Ensure emoji icons render across browsers (especially Firefox on Windows) */
.ph-icon,
.guidance-icon {
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}

/* ── WIZARD ── */
#wizard { position: fixed; inset: 0; background: var(--bg); z-index: 100; overflow-y: auto; }
#wizard.hidden { display: none; }

.wiz-header { background: var(--hover); padding: 100px 56px 30px; position: relative; }
.wiz-header::after { content:''; position:absolute; bottom:0; left:0; right:0; height:2px; background:linear-gradient(90deg,var(--gold),var(--mid) 60%,transparent); }
.wiz-eyebrow { font-size:11px; letter-spacing:3px; text-transform:uppercase; color:var(--navy); font-weight:bold; margin-bottom:8px; }
.wiz-title { font-family:'EB Garamond',serif; font-size:36px; color:var(--navy); margin-bottom:3px; font-weight: 500; }
.wiz-title span { color:var(--gold); }

.wiz-body { max-width: 760px; margin: 0 auto; padding: 36px 40px 60px; }

/* progress bar */
.wiz-progress { display:flex; align-items:center; margin-bottom:32px; }
.wiz-dot { width:28px; height:28px; border-radius:50%; background:var(--border); color:var(--muted); font-size:11px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:all 0.3s; }
.wiz-dot.active { background:var(--navy); color:var(--white); }
.wiz-dot.done { background:var(--gold); color:var(--white); }
.wiz-line { flex:1; height:2px; background:var(--border); transition:background 0.3s; }
.wiz-line.done { background:var(--gold); }

/* sections */
.wiz-section { display:none; }
.wiz-section.active { display:block; animation:fadeUp 0.25s ease both; }
@keyframes fadeUp { from{opacity:0;transform:translateY(10px);} to{opacity:1;transform:translateY(0);} }
.wiz-section-title { font-family:'EB Garamond',serif; font-size:25px; color:#222; margin-bottom:6px; }
.wiz-section-sub { font-size:14px; color:#222; margin-bottom:22px; line-height:1.55; }

/* all-projects panel */
.all-panel { background:var(--all-ind-bg); border:1px solid var(--all-ind-border); border-radius:10px; padding:20px 24px; margin-bottom:24px; }
.all-panel-label { font-size:11px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--blue); margin-bottom:14px; }
.all-ind-row { display:flex; align-items:center; gap:10px; padding:8px 0; border-bottom:1px solid rgba(180,210,235,0.5); }
.all-ind-row:last-child { border-bottom:none; padding-bottom:0; }
.all-ind-dot { width:7px; height:7px; border-radius:50%; background:var(--mid); flex-shrink:0; }
.all-ind-name { font-size:13.5px; color:var(--text); flex:1; }
.all-ind-badge { font-size:11px; font-weight:600; color:var(--tag-yes-text); background:var(--tag-yes-bg); border:1px solid var(--tag-yes-border); padding:2px 8px; border-radius:8px; white-space:nowrap; }

/* HEADER */
#top-bar {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--navy2);
  box-shadow: 0 3px 20px rgba(0,0,0,0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 30px;
  border-bottom: 1px solid rgba(193,167,131,0.6);
  gap: 20px;
}
.brand-block { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-seal {
  width: 44px; height: 44px;
  background: var(--khaki);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'EB Garamond', serif;
  font-size: 17px; font-weight: 700;
  color: var(--navy2);
  flex-shrink: 0;
}
.brand-text { line-height: 1.35; }
.brand-agency {
  font-family: 'Open Sans', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.brand-bureau {
  font-family: 'EB Garamond', serif;
  font-size: 18px; font-weight: 500;
  color: var(--white);
}
.header-nav { display: flex; gap: 6px; flex-shrink: 0; }

.header-nav a {
  font-family: 'Open Sans', sans-serif;
  font-size: 11.5px; font-weight: 600;
  color: rgba(255,255,255,0.6);
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.03em;
  text-decoration: none;
}
.header-nav a:hover { background: rgba(255,255,255,0.1); color: var(--white); text-decoration: none; }
.header-nav a.active { background: rgba(193,167,131,0.18); color: var(--khaki); }

/* ── Tablet portrait: keep single row but tighten spacing ── */
@media (max-width: 900px) {
  .header-inner { padding: 10px 20px; gap: 12px; }
  .brand-bureau { font-size: 16px; }
  .header-nav a { padding: 6px 10px; font-size: 11px; }
}

/* ── Phone: compact single-row header ── */
@media (max-width: 600px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    gap: 8px;
  }

  /* Seal: shrink to 32px on phone */
  .brand-seal,
  .brand-seal img {
    width: 32px !important;
    height: 32px !important;
  }
  .brand-block { gap: 8px; }

  /* Hide the "U.S. Department of State" line — keep bureau name only */
  .brand-agency { display: none; }

  /* Truncate bureau name to one line */
  .brand-bureau {
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
  }

  /* Nav: compact pill links */
  .header-nav {
    display: flex;
    flex-shrink: 0;
    gap: 2px;
  }
  .header-nav a {
    font-size: 10px;
    padding: 5px 7px;
    letter-spacing: 0;
  }
}

/* ── Very small phones (≤375px) ── */
@media (max-width: 375px) {
  .brand-bureau { max-width: 120px; font-size: 12px; }
  .header-nav a { font-size: 9.5px; padding: 5px 5px; }
}


/* question card */
.q-card { background:var(--white); border:1px solid var(--border); border-radius:10px; padding:22px 24px; margin-bottom:14px; }
.q-text { font-size:15px; font-weight:600; color:var(--navy); margin-bottom:16px; line-height:1.4; }
.q-radios { display:flex; gap:10px; }
.q-radio { flex:1; }
.q-radio input { display:none; }
.q-radio label { display:flex; align-items:center; justify-content:center; padding:10px 16px; border:2px solid var(--border); border-radius:8px; cursor:pointer; font-size:14px; font-weight:500; color:var(--muted); transition:all 0.18s; background-color: #EDF4FB; }
.q-radio input:checked + label { border-color:var(--navy); background:var(--navy); color:var(--white); }
.q-radio label:hover { border-color:var(--mid); color:var(--blue); }
.q-radio input:checked + label:hover { color:var(--white); }

/* conditional reveal */
.q-conditional { overflow:hidden; max-height:0; opacity:0; transition:max-height 0.35s ease, opacity 0.25s ease, margin 0.3s ease; }
.q-conditional.open { max-height:700px; opacity:1; margin-bottom:14px; }
.q-cond-inner { background:#f4f9fd; border:1px solid var(--all-ind-border); border-radius:8px; padding:18px 20px; }
.q-cond-label { font-size:11px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--blue); margin-bottom:12px; }

/* summary */
.wiz-summary { background:var(--sum-bg); border:1.5px solid var(--sum-border); border-radius:10px; padding:20px 24px; margin-bottom:8px; }
.wiz-summary-title { font-size:12px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--muted); margin-bottom:14px; }
.sum-row { display:flex; align-items:flex-start; gap:10px; padding:7px 0; border-bottom:1px solid rgba(168,213,181,0.4); font-size:13.5px; }
.sum-row:last-child { border-bottom:none; }
.sum-check { color: var(--tag-yes-text); flex-shrink:0; font-size:15px; margin-top:1px; }
.sum-name { flex:1; color:var(--text); line-height:1.4; }
.sum-tag { font-size:11px; color:var(--muted); background:var(--white); border:1px solid var(--border); padding:2px 8px; border-radius:6px; white-space:nowrap; flex-shrink:0; }

/* buttons */
.btn-row { display:flex; align-items:center; gap:10px; margin-top:22px; }
.btn-primary { display:inline-flex; align-items:center; gap:8px; background:var(--navy); color:var(--white); border:none; border-radius:8px; padding:13px 28px; font-family:'Source Sans 3',sans-serif; font-size:15px; font-weight:600; cursor:pointer; transition:background 0.2s, transform 0.15s; }
.btn-primary:hover { background:var(--blue); transform:translateY(-1px); }
.btn-secondary { display:inline-flex; align-items:center; gap:6px; background:none; border:1.5px solid var(--border); border-radius:8px; padding:11px 20px; font-family:'Source Sans 3',sans-serif; font-size:14px; font-weight:500; color:var(--muted); cursor:pointer; transition:all 0.18s; }
.btn-secondary:hover { border-color:var(--navy); color:var(--navy); }

/* ── MAIN TOOL (hidden until wizard complete) ── */
#main-tool { display: none; }
#main-tool.visible { display: block; }
	
/* shared header */
.header { background: var(--white); padding: 40px 56px 34px; position: relative; overflow: hidden; }
.header::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--mid) 60%, transparent); }
.header-eyebrow { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #222; font-weight: 400; margin-bottom: 10px; }
.header h1 { font-family: 'EB Garamond', serif; font-size: 36px; color: var(--navy); line-height: 1.2; margin-bottom: 8px; }
.header h1 span { color: var(--gold); }
.header p { font-size: 14px; color: var(--navy); font-weight: 300; max-width: 600px; line-height: 1.65; }

/* your-indicators banner */
.your-indicators-bar { background: var(--pill); border-bottom: 1px solid rgba(196,217,237,0.15); }
.your-ind-toggle { display:flex; align-items:center; gap:10px; padding:12px 56px; cursor:pointer; user-select:none; }
.your-ind-toggle:hover { background:rgba(255,255,255,0.04); }
.your-ind-label { font-size:12px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--gold); }
.your-ind-sub { font-size:12px; color:var(--navy); opacity:0.7; margin-left:4px; }
.your-ind-chevron { margin-left:auto; color:var(--navy); font-size:22px; transition:transform 0.25s; opacity:0.6; }
.your-ind-chevron.open { transform:rotate(180deg); }
.your-ind-panel { max-height:0; overflow:hidden; transition:max-height 0.35s ease; }
.your-ind-panel.open { max-height:600px; }
.your-ind-inner { padding:16px 56px 20px; display:flex; flex-wrap:wrap; gap:8px; }
.your-ind-chip { display:flex; align-items:center; gap:7px; background:#FFF; border:1px solid rgba(196,217,237,0.2); border-radius:20px; padding:6px 12px; font-size:12.5px; color:var(--navy); }
.your-ind-chip .chip-dot { width:6px; height:6px; border-radius:50%; background:var(--gold2); flex-shrink:0; }

.legend-bar { background: var(--white); padding: 10px 56px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid rgba(196,217,237,0.12); }
.legend-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--navy); font-weight: 600; opacity: 0.7; margin-right: 2px; }
.legend-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 10px; border: 1px solid; }
.legend-tag.yes  { background: var(--tag-yes-bg);  color: var(--tag-yes-text);  border-color: var(--tag-yes-border); }
.legend-tag.pirs { background: var(--tag-pirs-bg); color: var(--tag-pirs-text); border-color: var(--tag-pirs-border); }
.legend-tag.req  { background: var(--tag-req-bg);  color: var(--tag-req-text);  border-color: var(--tag-req-border); }
.legend-tag.opt  { background: var(--tag-opt-bg);  color: var(--tag-opt-text);  border-color: var(--tag-opt-border); }
.legend-sep { color: var(--navy); opacity: 0.2; font-size: 16px; }

.breadcrumb-bar { background: var(--white); padding: 11px 56px; display: flex; align-items: center; gap: 8px; min-height: 42px; flex-wrap: wrap; border-top: 1px solid rgba(196,217,237,0.1);border-bottom: 1px solid #ccc; }
.crumb { font-size: 12.5px; color: var(--navy); font-weight: 400; opacity: 0.6; }
.crumb.active { color: var(--gold2); font-weight: 600; opacity: 1; }
.crumb-sep { color: var(--mid); font-size: 11px; opacity: 0.5; }
.crumb-value { font-size: 12.5px; color: var(--white); font-weight: 500; background: var(--navy); padding: 2px 10px; border-radius: 10px; }

.layout { display: flex; min-height: calc(100vh - 280px); }
.step-panel { width: 310px; min-width: 250px; border-right: 1px solid var(--border); background: var(--white); display: flex; flex-direction: column; }
.step-label { padding: 16px 24px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.step-num { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-num.done { background: var(--gold); }
.step-title { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.search-box { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.search-box input { width: 100%; font-family: 'Source Sans 3', sans-serif; font-size: 13px; padding: 8px 12px 8px 32px; border: 1.5px solid var(--border); border-radius: 6px; background: var(--bg); color: var(--text); outline: none; transition: border-color 0.2s; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237a8fa8' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 10px center; }
.search-box input:focus { border-color: var(--mid); }
.list-scroll { flex: 1; overflow-y: auto; padding: 8px 0; }
.list-scroll::-webkit-scrollbar { width: 4px; }
.list-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.list-item { padding: 11px 20px; cursor: pointer; font-size: 13.5px; color: var(--text); line-height: 1.4; border-left: 3px solid transparent; transition: background 0.15s, border-color 0.15s; display: flex; align-items: center; gap: 10px; }
.list-item:hover { background: var(--hover); border-left-color: var(--mid); }
.list-item.selected { background: var(--active-bg); color: var(--active-text); border-left-color: var(--gold); font-weight: 500; }
.list-item .item-count { margin-left: auto; font-size: 11px; background: rgba(0,0,0,0.08); padding: 2px 7px; border-radius: 8px; flex-shrink: 0; color: inherit; opacity: 0.7; }
.list-item.selected .item-count { background: rgba(255,255,255,0.15); opacity: 1; }
.list-item.hidden { display: none; }
.outcome-panel { width: 340px; min-width: 260px; border-right: 1px solid var(--border); background: #fafcfe; display: flex; flex-direction: column; }
.placeholder { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 30px; text-align: center; color: var(--muted); }
.placeholder .ph-icon { font-size: 36px; margin-bottom: 14px; opacity: 0.4; }
.placeholder p { font-size: 13px; line-height: 1.6; }
.indicators-panel { flex: 1; background: var(--bg); display: flex; flex-direction: column; overflow: hidden; }
.indicators-inner { flex: 1; overflow-y: auto; padding: 28px 36px; }
.indicators-inner::-webkit-scrollbar { width: 4px; }
.indicators-inner::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.panel-intro { margin-bottom: 20px; }
.panel-intro .outcome-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); background: var(--pill); padding: 4px 12px; border-radius: 12px; margin-bottom: 10px; }
.panel-intro h2 { font-family: 'EB Garamond', serif; font-size: 24px; color: var(--navy); line-height: 1.35; margin-bottom: 6px; }
.panel-intro .count-line { font-size: 13px; color: var(--muted); }
.panel-intro .count-line strong { color: var(--blue); }
.indicator-card { background: var(--card); border: 1px solid #c4d9ed; border-radius: 8px; padding: 14px 18px; margin-bottom: 10px; transition: box-shadow 0.2s, border-color 0.2s; animation: slideIn 0.2s ease both; }
.indicator-card:hover { box-shadow: 0 3px 12px rgba(15,34,64,0.09); border-color: var(--mid); }
@keyframes slideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.indicator-card:nth-child(1){animation-delay:.03s}.indicator-card:nth-child(2){animation-delay:.06s}.indicator-card:nth-child(3){animation-delay:.09s}.indicator-card:nth-child(4){animation-delay:.12s}.indicator-card:nth-child(5){animation-delay:.15s}.indicator-card:nth-child(6){animation-delay:.18s}.indicator-card:nth-child(7){animation-delay:.21s}.indicator-card:nth-child(8){animation-delay:.24s}.indicator-card:nth-child(9){animation-delay:.27s}.indicator-card:nth-child(10){animation-delay:.30s}
.ind-name { font-size: 14px; line-height: 1.5; color: var(--text); margin-bottom: 10px; }
.ind-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 0; }
.ind-tags.has-guidance { margin-bottom: 10px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 10px; border: 1px solid; line-height: 1.3; }
.tag-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.tag.in-form  { background: var(--tag-yes-bg);  color: var(--tag-yes-text);  border-color: var(--tag-yes-border); }
.tag.in-form .tag-dot { background: var(--tag-yes-text); }
.tag.via-pirs { background: var(--tag-pirs-bg); color: var(--tag-pirs-text); border-color: var(--tag-pirs-border); }
.tag.via-pirs .tag-dot { background: var(--tag-pirs-text); }
.tag.required { background: var(--tag-req-bg); color: var(--tag-req-text); border-color: var(--tag-req-border); }
.tag.required .tag-dot { background: var(--tag-req-text); }
.tag.optional { background: var(--tag-opt-bg); color: var(--tag-opt-text); border-color: var(--tag-opt-border); }
.tag.optional .tag-dot { background: var(--tag-opt-text); }
.guidance-box { background: var(--guidance-bg); border: 1px solid var(--guidance-border); border-radius: 6px; padding: 9px 12px; display: flex; gap: 8px; align-items: flex-start; }
.guidance-icon { font-size: 13px; flex-shrink: 0; margin-top: 1px; }
.guidance-text { font-size: 12px; color: var(--guidance-text); line-height: 1.5; }
.guidance-text strong { font-weight: 600; }
@media (max-width: 900px) { .layout { flex-direction: column; } .step-panel, .outcome-panel { width: 100%; border-right: none; border-bottom: 1px solid var(--border); } }

/* ── STRATEGIC PRIORITY TAG STYLES ── */
.sp-row { display:inline-flex; gap:4px; flex-wrap:wrap; align-items:center; }
.sp-tag { font-size:10px; font-weight:600; padding:2px 7px; border-radius:8px; border:1px solid; white-space:nowrap; }
.sp-tco         { background:#eef2fb; color:#1e3a6e; border-color:#b0c4e8; }
.sp-drug        { background:#fff4e6; color:#7a3800; border-color:#f5c880; }
.sp-mig-border  { background:#e8f5f0; color:#1a5c3a; border-color:#90cca8; }
.sp-mig-crime   { background:#edf7f1; color:#1a5c3a; border-color:#90cca8; }
.sp-cyber       { background:#e8f0fb; color:#1a3a80; border-color:#9ab8e8; }
.sp-finance     { background:#fdf0e0; color:#6b3800; border-color:#e8b870; }
.sp-ip          { background:#f2eafc; color:#4a1a7a; border-color:#c8a0e0; }
.sp-security    { background:#fdecea; color:#7a1a10; border-color:#e8a8a0; }

/* ── INDICATOR NOTE BOX ── */
.ind-note { background:#f5f8fb; border:1px solid #d4e2f0; border-radius:6px; padding:9px 12px; display:flex; flex-direction:column; gap:7px; }
.ind-note-row { display:flex; align-items:flex-start; gap:8px; font-size:11.5px; }
.ind-note-label { font-size:10px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:#2c5f8a; white-space:nowrap; flex-shrink:0; margin-top:2px; min-width:120px; }
.ind-note-calc { font-size:11.5px; color:#1a2e44; line-height:1.4; }

/* ── 508 / ACCESSIBILITY ── */

/* Screen-reader-only utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Visible focus ring for all interactive elements */
:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 2px;
  border-radius: 3px;
}

/* Radio inputs: visually hidden but accessible (not display:none) */
.q-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  margin: 0;
}

/* Remove default fieldset border/padding */
.q-fieldset {
  border: none;
  margin: 0;
  padding: 0;
}
.q-fieldset legend {
  display: block;
  width: 100%;
}

/* brand-block as link */
a.brand-block {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
a.brand-block:hover .brand-bureau { text-decoration: underline; }

/* your-ind-toggle as button */
.your-ind-toggle {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}

/* Indicator list: remove default list styling */
.indicator-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* All-ind-list: remove default list styling */
.all-ind-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Sum-list */
.sum-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Keyboard-navigable list items */
.list-item:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: -2px;
  border-radius: 2px;
}

/* Disabled button state */
button:disabled,
button[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* wiz-title as h1 */
h1.wiz-title {
  font-family: 'EB Garamond', serif;
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 3px;
  font-weight: 500;
}
h1.wiz-title span { color: var(--gold); }

/* ── Back-to-top: indicators panel ── */
.ind-back-top {
  display: none;
  position: sticky;
  bottom: 12px;
  float: right;
  margin-right: 4px;
  margin-top: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s, opacity 0.2s;
  opacity: 0.85;
  z-index: 10;
}
.ind-back-top.visible {
  display: flex;
}
.ind-back-top:hover { background: var(--blue); transform: translateY(-2px); opacity: 1; }
.ind-back-top:focus-visible { outline: 3px solid #f5a623; outline-offset: 2px; }

/* ── Wizard back-to-top ── */
#wiz-back-top {
  display: none;
  position: fixed;
  bottom: 24px; right: 20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: background 0.2s, opacity 0.2s;
  opacity: 0.85;
}
#wiz-back-top.visible { display: flex; }
#wiz-back-top:hover { background: var(--blue); opacity: 1; }
#wiz-back-top:focus-visible { outline: 3px solid #f5a623; outline-offset: 2px; }
