
    /* ---------- Warnings / Footer ---------- */
    .warnings {
  background: var(--warning-bg);
  border-left: 6px solid var(--warning-border);
  border-top-color: var(--border);
  border-right-color: var(--border);
  border-bottom-color: var(--border);
  color: var(--warning-text);
  padding: 14px 16px;
  margin-top: -8px;
}

    .warning-item {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      font-weight: 700;
      font-size: 14px;
      margin: 8px 0;
    }

    .footer-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

    .page-nav {
      display: flex;
      justify-content: flex-end;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 16px;
    }

    .nav-button-link {
      min-height: 48px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--border-strong);
      border-radius: 10px;
      background:
        linear-gradient(180deg, #ffffff, #f4f7fa);
      color: #111827;
      -webkit-text-fill-color: #111827;
      font-size: 15px;
      font-weight: 800;
      line-height: 1.2;
      text-decoration: none;
      box-shadow: var(--shadow-soft);
    }

    .nav-button-link.active {
      background: var(--button);
      color: var(--button-text);
      -webkit-text-fill-color: var(--button-text);
      border-color: var(--button);
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.04),
        0 8px 18px rgba(17, 24, 39, 0.16),
        var(--accent-glow);
    }

    .result-actions {
      display: flex;
      justify-content: flex-end;
      width: 100%;
      margin-top: 16px;
    }

    .result-actions button {
      flex: 0 1 240px;
      min-width: 176px;
      max-width: 100%;
    }

    .reset-button {
      width: auto;
      padding: 0 18px;
      background: white;
    }

    .nav-action-button {
      min-width: 112px;
    }

    .app-view-panel .form-grid {
      gap: 16px;
    }

    .settings-tool-card {
      grid-column: 1 / -1;
      display: grid;
      gap: 10px;
      padding: 16px;
      border: 1px solid var(--border);
      border-radius: 10px;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.88), rgba(248,250,252,0.74));
      box-shadow: var(--shadow-soft);
    }

    .settings-tool-card strong {
      color: var(--ink);
      font-size: 16px;
      line-height: 1.2;
    }

    .settings-tool-card .reset-button {
      justify-self: start;
      margin-top: 2px;
    }

    .muted-card {
      background: var(--surface);
      border-style: dashed;
    }

    .view-back-button {
      grid-column: 1 / -1;
      justify-self: start;
    }

    .hose-library-panel {
      gap: 14px;
    }

    .hose-library-filters {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
    }

    .hose-library-list {
      display: grid;
      gap: 12px;
      max-height: 560px;
      overflow: auto;
      padding-right: 4px;
    }

    .hose-library-card {
      display: grid;
      gap: 12px;
      padding: 14px;
      border: 1px solid var(--border);
      border-radius: 10px;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.82), rgba(248,250,252,0.66));
      box-shadow: var(--shadow-soft);
    }

    .hose-library-card strong {
      color: var(--ink);
    }

    .hose-library-card.active {
      border-color: var(--accent);
      box-shadow:
        inset 3px 0 0 var(--accent),
        var(--accent-glow);
    }

    .hose-library-card-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }

    .hose-library-coefficient {
      flex: 0 0 auto;
      padding: 6px 8px;
      border-radius: 6px;
      background: var(--button);
      color: var(--button-text);
      font-size: 12px;
      font-weight: 850;
      line-height: 1;
    }

    .hose-library-details {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 750;
    }

    .hose-library-details span {
      padding: 6px 8px;
      border: 1px solid var(--border);
      border-radius: 6px;
      background: var(--surface);
    }

    .hose-library-details a {
      color: var(--accent);
      font-weight: 850;
      text-decoration: none;
    }

    .hose-library-card-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .hose-library-select-button,
    .hose-library-delete-button {
      justify-self: start;
    }

    .hose-library-select-button:disabled {
      opacity: 0.55;
    }

    .hose-library-delete-button {
      background:
        linear-gradient(180deg, #fff7ed, #ffedd5),
        linear-gradient(90deg, rgba(217,92,19,0.08), transparent 45%);
      border-color: rgba(249, 115, 22, 0.76);
      color: #7c2d12;
      -webkit-text-fill-color: #7c2d12;
    }

    .custom-hose-form {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .custom-hose-form .reset-button {
      grid-column: 1 / -1;
      justify-self: start;
    }

    .default-hose-selections-list {
      display: grid;
      gap: 12px;
    }

    .default-hose-selection-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
      padding: 14px;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: var(--surface);
    }

    .default-hose-selection-card p {
      margin: 4px 0 0;
    }

    .default-hose-choose-link {
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
      font-weight: 800;
    }

    .formula {
      padding: 20px;
      color: var(--muted);
      font-size: 14px;
      background: var(--surface);
    }

    .formula-divider {
      margin: 20px 0;
      border: none;
      border-top: 1px solid var(--border);
    }

    .formula strong { color: var(--ink); }

    details.about {
      padding: 20px;
      color: var(--muted);
      font-size: 14px;
      background: var(--surface);
    }

    details.about summary {
      cursor: pointer;
      color: var(--ink);
      font-weight: 800;
      font-size: 16px;
      margin-bottom: 0;
    }

    details.about[open] summary {
      margin-bottom: 10px;
    }

    .version-footer {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 0 0;
  line-height: 1.5;
}
