/* =============================================
   Tank Logic — tool.css  v5  NATURE THEME
   ============================================= */

/* ── HERO ────────────────────────────────────── */
.tool-hero {
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}
.tool-hero__inner { max-width: 680px; }
.tool-hero__meta  { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.breadcrumb {
  font-size: var(--sz-12); font-weight: 500; color: var(--tx-lo);
  display: inline-flex; align-items: center; gap: 4px;
  text-decoration: none; transition: color var(--t);
}
.breadcrumb:hover { color: var(--accent); }

/* ── LAYOUT ──────────────────────────────────── */
.tool-section  { padding-block: 44px; }
.tool-layout   { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.tool-main, .tool-sidebar { min-width: 0; }
.tool-sidebar  { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 900px) { .tool-layout { grid-template-columns: 1fr 316px; } }

/* ── CARD PANEL ──────────────────────────────── */
.tool-card-panel {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px 26px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.tool-card-panel:last-child { margin-bottom: 0; }
.panel-title {
  font-family: var(--font-head);
  font-size: var(--sz-17);
  font-weight: 700;
  color: var(--tx-hi);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.panel-title-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; margin-bottom: 18px;
}
.panel-title-row .panel-title { margin-bottom: 0; }

/* ── SHAPE SELECTOR ──────────────────────────── */
.shape-selector { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.shape-btn {
  flex: 1; min-width: 90px;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 14px 10px; border: 1.5px solid var(--border-mid);
  border-radius: var(--r-lg); background: var(--bg-2);
  cursor: pointer; font-family: var(--font); font-size: var(--sz-13);
  font-weight: 600; color: var(--tx);
  transition: all var(--t) var(--ease); user-select: none;
}
.shape-btn:hover  { border-color: var(--accent-mid); background: var(--bg-1); color: var(--accent); }
.shape-btn.active { border-color: var(--accent-mid); background: var(--accent-lo); color: var(--accent); }
.shape-icon       { font-size: 1.4rem; line-height: 1; }

/* ── UNIT TOGGLE ─────────────────────────────── */
.unit-toggle {
  display: flex; background: var(--bg-2);
  border: 1px solid var(--border); border-radius: 100px; padding: 3px; gap: 2px;
}
.unit-btn {
  padding: 6px 14px; border: none; border-radius: 100px;
  background: transparent; color: var(--tx-lo);
  font-size: var(--sz-13); font-weight: 600;
  cursor: pointer; font-family: var(--font);
  transition: all var(--t) var(--ease);
}
.unit-btn.active { background: var(--accent); color: #fff; font-weight: 700; }
.unit-btn:not(.active):hover { color: var(--tx); }

/* ── INPUTS ──────────────────────────────────── */
.inputs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
@media (max-width: 480px) { .inputs-grid { grid-template-columns: 1fr; } }

.input-group  { display: flex; flex-direction: column; gap: 5px; }
.input-label  { font-size: var(--sz-13); font-weight: 600; color: var(--tx); }
.input-hint   { font-size: var(--sz-11); color: var(--tx-lo); }
.input-wrap   { position: relative; display: flex; align-items: center; }

.tool-input {
  width: 100%;
  background: #101609;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-md);
  padding: 10px 40px 10px 14px;
  font-size: var(--sz-15);
  font-family: var(--font);
  color: var(--tx-hi);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  box-shadow: inset 0 1px 3px rgba(26,46,28,0.04);
}
.tool-input::-webkit-outer-spin-button,
.tool-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.tool-input::placeholder { color: var(--tx-xlo); font-weight: 400; }
.tool-input:focus {
  background: var(--bg-1);
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 3px rgba(45,122,58,0.1);
}
.tool-input.error {
  border-color: rgba(201,64,64,0.4);
  box-shadow: 0 0 0 3px rgba(201,64,64,0.08);
}
.input-unit {
  position: absolute; right: 12px;
  font-size: var(--sz-12); font-weight: 700;
  color: var(--tx-lo); pointer-events: none;
  letter-spacing: 0.03em;
}

.tool-select {
  width: 100%;
  background: #101609;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-md);
  padding: 10px 34px 10px 14px;
  font-size: var(--sz-14);
  font-family: var(--font);
  color: var(--tx-hi);
  outline: none; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235a7860' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  box-shadow: inset 0 1px 3px rgba(26,46,28,0.04);
  transition: border-color var(--t), box-shadow var(--t);
}
.tool-select:focus { border-color: var(--accent-mid); box-shadow: 0 0 0 3px rgba(45,122,58,0.1); }
.tool-select option { background: var(--bg-1); color: var(--tx-hi); }

/* ── CALCULATE BUTTON ────────────────────────── */
.calc-btn, .tool-calc-btn {
  width: 100%; background: var(--accent); border: none;
  border-radius: var(--r-lg); color: #fff;
  font-family: var(--font-head); font-size: var(--sz-15); font-weight: 700;
  padding: 14px; cursor: pointer;
  transition: all var(--t) var(--ease);
  box-shadow: 0 2px 10px rgba(45,122,58,0.28);
}
.calc-btn:hover, .tool-calc-btn:hover {
  background: #256b31;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45,122,58,0.36);
}
.calc-btn:active, .tool-calc-btn:active { transform: translateY(0); }

/* ── RESULTS ─────────────────────────────────── */
.results-panel { border-color: var(--accent-mid) !important; }

@keyframes slide-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.results-panel { animation: slide-in 0.28s var(--ease); }

.results-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-bottom: 16px; overflow-wrap: break-word; }
.results-grid--2 { grid-template-columns: 1fr 1fr; }
@media (min-width: 540px) { .results-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.result-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 14px;
  text-align: center;
}
.result-card--primary { border-color: var(--accent-mid); background: var(--accent-lo); }
.result-card--primary-blue { border-color: var(--water-mid); background: var(--water-lo); }
.result-card--primary-blue .result-value { color: var(--water); }

.result-label {
  font-family: var(--font-head); font-size: var(--sz-11); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--tx-lo); margin-bottom: 6px;
}
.result-value {
  font-family: var(--font-head); font-size: var(--sz-24);
  font-weight: 800; color: var(--accent);
  letter-spacing: -0.03em; line-height: 1.1;
}
.result-unit  { font-size: var(--sz-12); color: var(--tx-lo); margin-top: 4px; }
.result-section-label {
  font-family: var(--font-head); font-size: var(--sz-11); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--tx-lo); margin-bottom: 8px;
}
.result-unit-badge {
  display: inline-flex; font-size: var(--sz-10); font-weight: 600;
  letter-spacing: 0.05em; color: var(--tx-lo);
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 100px; padding: 2px 8px; margin-bottom: 12px;
}

/* ── ERRORS ──────────────────────────────────── */
.tool-error {
  background: rgba(201,64,64,0.06);
  border: 1px solid rgba(201,64,64,0.2);
  border-radius: var(--r-lg); padding: 12px 15px;
  font-size: var(--sz-13); color: var(--red);
  animation: slide-in 0.22s var(--ease);
}

/* ── PRESET LIST ─────────────────────────────── */
.preset-list { display: flex; flex-direction: column; gap: 5px; }
.preset-btn {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-md); color: var(--tx);
  font-size: var(--sz-13); font-family: var(--font); font-weight: 500;
  padding: 10px 14px; cursor: pointer; text-align: left; width: 100%;
  transition: all var(--t) var(--ease);
  display: flex; align-items: center; justify-content: space-between;
}
.preset-btn:hover { border-color: var(--accent-mid); background: var(--bg-1); color: var(--accent); }
.preset-btn.active-preset { border-color: var(--accent-mid); color: var(--accent); background: var(--accent-lo); }
.preset-btn span { font-size: var(--sz-11); color: var(--tx-lo); font-weight: 400; }

/* ── SIDEBAR PANELS ──────────────────────────── */
.sidebar-panel {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.sidebar-title {
  font-family: var(--font-head); font-size: var(--sz-15);
  font-weight: 700; color: var(--tx-hi); margin-bottom: 8px;
}
.sidebar-desc {
  font-size: var(--sz-13); color: var(--tx);
  line-height: 1.65; margin-bottom: 14px;
}
.sidebar-panel p { font-size: var(--sz-13); color: var(--tx); line-height: 1.65; }

/* ── SMART CARDS ─────────────────────────────── */
.smart-cards-section { margin-top: 36px; }
.smart-cards-heading {
  font-family: var(--font-head); font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--tx);
  margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
  position: relative;
}
.smart-cards-heading::before {
  content: ''; position: absolute; bottom: -1px; left: 0;
  width: 48px; height: 3px; background: var(--accent); border-radius: 2px;
}
.smart-cards-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 22px;
}
.smart-card { min-width: 0; overflow-wrap: break-word; }
@media (min-width: 640px) { .smart-cards-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 22px;
}
.smart-card { min-width: 0; overflow-wrap: break-word; } }

.smart-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 28px;
  animation: slide-in 0.3s var(--ease) both;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-sm);
}
.smart-card--teal  { border-color: var(--accent-mid); }
.smart-card--gold  { border-color: rgba(200,134,10,0.25); }
.smart-card--green { border-color: rgba(90,138,60,0.25); }
.smart-card--blue  { border-color: var(--water-mid); }

.smart-card__header { display: flex; align-items: center; gap: 12px; }
.smart-card__icon {
  width: 38px; height: 38px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.smart-card--teal  .smart-card__icon { background: var(--accent-lo); }
.smart-card--gold  .smart-card__icon { background: var(--gold-lo); }
.smart-card--green .smart-card__icon { background: rgba(90,138,60,0.08); }
.smart-card--blue  .smart-card__icon { background: var(--water-lo); }

.smart-card__title {
  font-family: var(--font-head); font-size: 17px;
  font-weight: 800; color: var(--tx-hi); letter-spacing: -0.02em; line-height: 1.2;
}
.smart-card__sub { font-size: var(--sz-13); color: var(--tx); margin-top: 2px; }
.smart-card__notes { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.smart-card__notes p { font-size: var(--sz-13); color: var(--tx); line-height: 1.65; }
.smart-card__tip {
  font-size: var(--sz-13); color: var(--tx); line-height: 1.6;
  margin-top: 10px; padding: 10px 13px;
  background: var(--bg-2); border-radius: var(--r-md);
}
.smart-card__link {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-head); font-size: var(--sz-13); font-weight: 700;
  color: var(--accent); margin-top: auto; text-decoration: none;
  transition: gap var(--t) var(--ease);
}
.smart-card__link:hover { gap: 8px; }

/* Smart ideas */
.smart-ideas { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.smart-idea {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; background: var(--bg-2);
  border-radius: var(--r-md); font-size: var(--sz-13);
  color: var(--tx); line-height: 1.55;
}
.smart-idea__icon { flex-shrink: 0; font-size: 1rem; line-height: 1.4; }
.smart-idea strong {
  font-family: var(--font-head); font-size: var(--sz-14);
  color: var(--tx-hi); font-weight: 700; display: block; margin-bottom: 2px;
}
.smart-idea__note { color: var(--tx); display: block; font-size: var(--sz-13); margin-top: 3px; }

/* Walstad layers */
.smart-walstad { display: flex; flex-direction: column; gap: 7px; }
.walstad-layer {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 6px; padding: 10px 13px; border-radius: var(--r-md);
  font-size: var(--sz-13); background: var(--bg-2); border: 1px solid var(--border);
}
.walstad-layer--mineral { background: var(--purple-lo); border-color: rgba(107,95,168,0.2); }
.walstad-layer__label { color: var(--tx); font-weight: 600; }
.walstad-layer__val   { color: var(--tx-lo); }

/* Plant rows */
.smart-plants { display: flex; flex-direction: column; gap: 7px; }
.plant-row {
  display: flex; gap: 10px; padding: 9px 12px;
  background: var(--bg-2); border-radius: var(--r-md);
  font-size: var(--sz-13); line-height: 1.55;
}
.plant-row--meta { background: var(--accent-lo); border: 1px solid var(--accent-mid); }
.plant-zone {
  flex-shrink: 0; font-weight: 700; color: var(--tx); min-width: 108px;
  font-size: var(--sz-11); text-transform: uppercase; letter-spacing: 0.04em;
  white-space: nowrap; padding-top: 1px; font-family: var(--font-head);
}
@media (max-width: 360px) { .plant-zone { min-width: 96px; letter-spacing: 0.02em; } }

/* Simplified Walstad layer stack (aligned soil/sand depth + weight) */
.wstack { display: flex; flex-direction: column; gap: 7px; }
.wstack__row {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center;
  column-gap: 12px; padding: 10px 13px; border-radius: var(--r-md);
  background: var(--bg-2); border: 1px solid var(--border); font-size: var(--sz-13);
}
.wstack__name  { font-weight: 600; color: var(--tx); white-space: nowrap; }
.wstack__depth { color: var(--tx-lo); white-space: nowrap; text-align: right; }
.wstack__wt    { color: var(--accent); font-weight: 700; white-space: nowrap; text-align: right; min-width: 62px; }
.wstack__mineral {
  padding: 10px 13px; border-radius: var(--r-md); font-size: var(--sz-12);
  line-height: 1.55; color: var(--tx);
  background: var(--purple-lo); border: 1px solid rgba(107,95,168,0.2);
}
.wstack__mineral strong { color: var(--tx-hi); }

/* Water change table */
.wc-table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--border); }
.wc-table { width: 100%; border-collapse: collapse; font-size: var(--sz-14); min-width: 280px; }
.wc-table th {
  background: var(--bg-2); padding: 10px 14px; text-align: left;
  font-family: var(--font-head); font-size: var(--sz-11); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--tx-lo);
  border-bottom: 1px solid var(--border);
}
.wc-table td { padding: 11px 14px; color: var(--tx); border-bottom: 1px solid var(--border); }
.wc-table tr:last-child td { border-bottom: none; }
.wc-table tr.wc-row--highlight td { color: var(--tx-hi); font-weight: 600; background: var(--accent-lo); }
.wc-table tr.wc-row--highlight td:first-child { color: var(--accent); }
.wc-table tr:hover td { background: var(--bg-2); }

/* Stocking specific */
.stocking-gauge { margin-bottom: 18px; }
.gauge-track {
  height: 10px; background: var(--bg-3); border-radius: 100px;
  border: 1px solid var(--border); overflow: hidden; margin-bottom: 6px;
}
.gauge-fill { height: 100%; border-radius: 100px; width: 0%; transition: width 0.6s cubic-bezier(0.34, 1.4, 0.64, 1); }
.gauge-fill--under    { background: linear-gradient(90deg, var(--water), #60b4d0); }
.gauge-fill--balanced { background: linear-gradient(90deg, var(--accent), var(--leaf)); }
.gauge-fill--full     { background: linear-gradient(90deg, var(--accent), var(--gold)); }
.gauge-fill--light    { background: linear-gradient(90deg, var(--gold), #E0A765); }
.gauge-fill--danger   { background: linear-gradient(90deg, #E0A765, var(--red)); }
.gauge-labels {
  display: flex; justify-content: space-between;
  font-family: var(--font-head); font-size: var(--sz-11);
  color: var(--tx-lo); font-weight: 600; padding: 0 1px;
}

.rating-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 100px;
  font-family: var(--font-head); font-weight: 700;
  font-size: var(--sz-13); letter-spacing: -0.01em;
}
.rating-badge--under    { background: var(--water-lo);          border: 1px solid var(--water-mid);          color: var(--water);  }
.rating-badge--balanced { background: var(--accent-lo);         border: 1px solid var(--accent-mid);         color: var(--accent); }
.rating-badge--full     { background: rgba(90,138,60,0.08);     border: 1px solid rgba(90,138,60,0.22);      color: var(--moss);   }
.rating-badge--light    { background: var(--gold-lo);           border: 1px solid rgba(200,134,10,0.22);     color: var(--gold);   }
.rating-badge--danger   { background: rgba(201,64,64,0.07);     border: 1px solid rgba(201,64,64,0.22);      color: var(--red);    }

.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.method-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px; text-align: center; }
.method-name { font-family: var(--font-head); font-size: var(--sz-11); font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--tx-lo); margin-bottom: 8px; }
.method-values { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-bottom: 4px; }
.method-used { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--tx-hi); letter-spacing: -0.03em; }
.method-sep  { color: var(--tx-lo); font-size: 0.9rem; }
.method-max  { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--tx); }
.method-sub  { font-size: var(--sz-12); color: var(--tx-lo); }

.fish-list-header { display: flex; justify-content: space-between; font-family: var(--font-head); font-size: var(--sz-11); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tx-lo); padding: 0 2px 8px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.fish-list { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.fish-list-item { display: flex; align-items: center; justify-content: space-between; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 9px 12px; animation: slide-in 0.2s var(--ease); }
.fish-item-name  { font-size: var(--sz-14); font-weight: 600; color: var(--tx-hi); flex: 1; }
.fish-item-calc  { font-size: var(--sz-13); color: var(--tx-lo); margin-right: 10px; }
.fish-item-total { font-family: var(--font-head); font-size: var(--sz-14); font-weight: 700; color: var(--accent); min-width: 38px; text-align: right; margin-right: 10px; }
.fish-remove-btn { background: none; border: none; color: var(--tx-lo); cursor: pointer; font-size: 0.9rem; padding: 2px 4px; border-radius: var(--r-sm); transition: color var(--t), background var(--t); }
.fish-remove-btn:hover { color: var(--red); background: rgba(201,64,64,0.08); }
.fish-list-total { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; background: var(--accent-lo); border: 1px solid var(--accent-mid); border-radius: var(--r-sm); font-size: var(--sz-13); font-weight: 600; color: var(--tx); }
.fish-total-val  { font-family: var(--font-head); color: var(--accent); font-size: var(--sz-16); font-weight: 800; }

.fish-dropdown { position: absolute; top: calc(100% + 5px); left: 0; right: 0; background: var(--bg-1); border: 1px solid var(--border-mid); border-radius: var(--r-md); z-index: 50; max-height: 220px; overflow-y: auto; box-shadow: var(--shadow-lg); }
.fish-dropdown-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; cursor: pointer; font-size: var(--sz-13); color: var(--tx-hi); border-bottom: 1px solid var(--border); transition: background var(--t); }
.fish-dropdown-item:last-child { border-bottom: none; }
.fish-dropdown-item:hover { background: var(--accent-lo); color: var(--accent); }
.fish-dropdown-item span { font-size: var(--sz-11); color: var(--tx-lo); }

/* SEO content */
.seo-content { background: var(--bg-2); border-top: 1px solid var(--border); }
.seo-content__inner p   { font-size: var(--sz-15); color: var(--tx); line-height: 1.82; margin-bottom: 10px; }
.seo-content__inner h2  { font-family: var(--font-head); color: var(--tx-hi); margin-bottom: 14px; margin-top: 32px; }
.seo-content__inner h3  { font-family: var(--font-head); color: var(--tx-hi); font-size: var(--sz-16); margin-top: 28px; }
.seo-list { list-style: decimal; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.seo-list li { font-size: var(--sz-15); color: var(--tx); line-height: 1.7; padding-left: 4px; }

@media (min-width: 700px) {
  .smart-cards-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .tool-input, .shape-btn, .unit-btn, .calc-btn, .preset-btn { transition: none !important; }
  .results-panel { animation: none !important; }
}

/* ── Spec 4: tool article FAQ accordion ── */
.tool-faq details { border: 1px solid var(--border); border-radius: var(--r-md, 10px); background: var(--bg-1); margin-bottom: 10px; }
.tool-faq summary { cursor: pointer; list-style: none; padding: 14px 40px 14px 16px; font-weight: 700; color: var(--tx-hi); position: relative; font-size: 15px; }
.tool-faq summary::-webkit-details-marker { display: none; }
.tool-faq summary::after { content: '+'; position: absolute; right: 16px; top: 12px; color: var(--accent); font-size: 1.2rem; transition: transform .2s; }
.tool-faq details[open] summary::after { transform: rotate(45deg); }
.tool-faq details p { padding: 0 16px 14px; margin: 0; color: var(--tx); font-size: 15px; line-height: 1.6; }

/* ── Spec 5: high-contrast results card ── */
.results-panel { border: 2px solid var(--accent) !important; box-shadow: 0 8px 28px -12px rgba(28,107,73,.35) !important; background: var(--bg-1) !important; }

/* ── Spec 5: sticky mobile result bar ── */
#stickyResultBar { display: none; }
@media (max-width: 700px){
  #stickyResultBar.visible { position: fixed; bottom: 12px; left: 12px; right: 12px; z-index: 90;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--accent); color: #fff; border: none; border-radius: 12px;
    padding: 12px 16px; font-family: var(--font); font-size: 15px; cursor: pointer;
    box-shadow: 0 8px 24px rgba(21,35,28,.3); }
  #stickyResultBar .srb-label { opacity: .85; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
  #stickyResultBar .srb-sep { opacity: .6; }
  #stickyResultBar .srb-arrow { opacity: .85; }
}
