﻿      *,
      *::before,
      *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }
      html {
        height: 100%;
        -webkit-tap-highlight-color: transparent;
      }
      body {
        font-family: "Inter", system-ui, sans-serif;
        background: var(--bg);
        color: var(--txt);
        min-height: 100%;
        -webkit-font-smoothing: antialiased;
      }
      h1,
      h2,
      h3,
      .brand-name,
      .fase-titulo,
      .card-title,
      .sec-title {
        font-family: "Lora", Georgia, serif;
      }
      button {
        font-family: inherit;
        cursor: pointer;
      }
      button,
      input,
      a {
        font: inherit;
      }
      button:focus-visible,
      input:focus-visible,
      a:focus-visible,
      [tabindex]:focus-visible {
        outline: 3px solid rgba(196, 114, 42, 0.55);
        outline-offset: 3px;
      }
      .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;
      }
      .skip-link {
        position: absolute;
        left: 12px;
        top: -48px;
        background: var(--teal);
        color: #fff;
        padding: 10px 14px;
        border-radius: var(--r-xs);
        z-index: 999;
        text-decoration: none;
        font-weight: 700;
      }
      .skip-link:focus {
        top: 12px;
      }
      @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
          animation-duration: 0.01ms !important;
          animation-iteration-count: 1 !important;
          scroll-behavior: auto !important;
          transition-duration: 0.01ms !important;
        }
      }
      ::-webkit-scrollbar {
        width: 4px;
        height: 4px;
      }
      ::-webkit-scrollbar-thumb {
        background: var(--borda);
        border-radius: 4px;
      }

      /* ── TOPBAR ─────────────────────────────── */
      .topbar {
        height: 52px;
        background: var(--card);
        border-bottom: 1px solid var(--borda2);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 18px;
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: var(--sh);
      }
      .topbar-brand {
        display: flex;
        align-items: center;
        gap: 9px;
        cursor: pointer;
        text-decoration: none;
        border: none;
        background: transparent;
        padding: 0;
      }
      .brand-logo {
        width: 34px;
        height: 34px;
        object-fit: contain;
      }
      .brand-name {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--teal);
        letter-spacing: -0.01em;
      }
      .brand-badge {
        font-size: 10px;
        font-weight: 600;
        color: var(--txt-l);
        background: var(--bege);
        border-radius: 20px;
        padding: 2px 7px;
        border: 1px solid var(--borda);
        letter-spacing: 0.04em;
      }

      /* ── TABS ───────────────────────────────── */
      .tabs-nav {
        background: var(--card);
        border-bottom: 1px solid var(--borda2);
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
      }
      .tabs-nav::-webkit-scrollbar {
        display: none;
      }
      .tab {
        flex-shrink: 0;
        padding: 0 18px;
        min-height: 44px;
        height: 42px;
        font-size: 13px;
        font-weight: 500;
        color: var(--txt-m);
        border: none;
        background: none;
        border-bottom: 2px solid transparent;
        transition:
          color 0.15s,
          border-color 0.15s;
        white-space: nowrap;
      }
      .tab:hover {
        color: var(--teal);
      }
      .tab.active {
        color: var(--teal);
        border-bottom-color: var(--terra);
        font-weight: 600;
      }

      /* ── VIEWS ──────────────────────────────── */
      .view {
        display: none;
        animation: fadeUp 0.2s ease;
      }
      .view.on {
        display: block;
      }
      @keyframes fadeUp {
        from {
          opacity: 0;
          transform: translateY(5px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      .screen {
        display: none;
      }
      .screen.on {
        display: block;
      }
      .wrap {
        max-width: 620px;
        margin: 0 auto;
        padding: 24px 16px;
      }

      /* ── HERO / INTRO ───────────────────────── */
      .intro-hero {
        background: linear-gradient(
          145deg,
          rgba(253, 250, 245, 0.96),
          rgba(237, 227, 212, 0.7)
        );
        border: 1.5px solid var(--borda2);
        border-radius: var(--r-lg);
        box-shadow: var(--sh);
        padding: 24px 20px;
        margin-bottom: 22px;
        text-align: center;
      }
      .intro-logo {
        width: 220px;
        height: 220px;
        object-fit: contain;
        display: block;
        margin: 0 auto 16px;
        filter: drop-shadow(0 4px 20px rgba(27, 79, 107, 0.20));
      }
      .intro-eyebrow {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--terra);
        margin-bottom: 7px;
      }
      .intro-title {
        font-family: "Lora", Georgia, serif;
        font-size: 1.55rem;
        line-height: 1.15;
        color: var(--teal);
        font-weight: 700;
        margin-bottom: 8px;
      }
      .intro-text {
        max-width: 500px;
        margin: 0 auto;
        font-size: 14px;
        line-height: 1.65;
        color: var(--txt-m);
      }
      /* ── BADGE SUS ──────────────────────────────── */
      .sus-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: linear-gradient(135deg, var(--teal), var(--teal2));
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        padding: 6px 14px;
        border-radius: 20px;
        letter-spacing: 0.03em;
        box-shadow: 0 2px 8px rgba(27, 79, 107, 0.25);
        margin: 10px auto 0;
      }
      .sus-badge svg {
        flex-shrink: 0;
      }
      .proposta-intro {
        background: linear-gradient(
          160deg,
          rgba(27, 79, 107, 0.06) 0%,
          rgba(107, 139, 74, 0.05) 100%
        );
        border: 1.5px solid rgba(27, 79, 107, 0.12);
        border-radius: var(--r);
        padding: 16px 18px;
        margin-bottom: 22px;
        display: flex;
        align-items: flex-start;
        gap: 14px;
      }
      .proposta-intro-ico {
        width: 42px;
        height: 42px;
        border-radius: 11px;
        background: rgba(27, 79, 107, 0.08);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }
      .proposta-intro p {
        font-size: 13.5px;
        color: var(--txt);
        line-height: 1.65;
        margin: 0;
      }
      .proposta-intro strong {
        color: var(--teal);
      }
      /* ── PROC ICON IMG ─────────────────────────── */
      .proc-ico img {
        display: block;
        width: 22px;
        height: 22px;
        object-fit: contain;
      }

      .section-divider {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0 0 14px;
      }
      .section-divider::after {
        content: "";
        height: 1px;
        background: var(--borda2);
        flex: 1;
      }
      .section-label {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--txt-l);
      }

      /* ── PROTOCOL CARD ──────────────────────── */
      .proto-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 18px;
        max-width: 560px;
        margin: 0 auto;
      }
      .proto-card {
        background: var(--card);
        border-radius: var(--r-lg);
        box-shadow: var(--sh);
        overflow: hidden;
        cursor: pointer;
        border: 1.5px solid var(--borda2);
        transition:
          transform 0.2s,
          box-shadow 0.2s;
        width: 100%;
      }
      .proto-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--sh2);
      }
      .proto-img-area {
        background: linear-gradient(
          160deg,
          #eee4d2 0%,
          #f4e8d4 50%,
          #eae0cc 100%
        );
        padding: 14px 12px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 300px;
        position: relative;
        overflow: hidden;
      }
      .proto-img-area::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
          radial-gradient(
            circle at 30% 60%,
            rgba(107, 139, 74, 0.18) 0%,
            transparent 60%
          ),
          radial-gradient(
            circle at 80% 20%,
            rgba(200, 151, 58, 0.15) 0%,
            transparent 50%
          );
      }
      .proto-img-area img {
        width: min(94%, 310px);
        height: 292px;
        object-fit: contain;
        object-position: center center;
        filter: sepia(6%) saturate(88%) brightness(1.02);
        position: relative;
        z-index: 1;
        display: block;
      }
      .proto-body {
        padding: 22px 22px 26px;
      }
      @media (min-width: 720px) {
        .proto-card {
          display: grid;
          grid-template-columns: minmax(240px, 46%) 1fr;
          align-items: stretch;
        }
        .proto-img-area {
          min-height: 320px;
          padding: 16px 8px 0;
        }
        .proto-img-area img {
          height: 310px;
          width: min(98%, 330px);
        }
        .proto-body {
          display: flex;
          flex-direction: column;
          justify-content: center;
        }
      }
      @media (max-width: 420px) {
        .intro-hero {
          padding: 21px 16px;
        }
        .intro-logo {
          width: 160px;
          height: 160px;
        }
        .intro-title {
          font-size: 1.35rem;
        }
        .proto-img-area {
          min-height: 274px;
          padding: 10px 6px 0;
        }
        .proto-img-area img {
          height: 268px;
          width: 98%;
        }
      }
      .proto-tag {
        display: inline-block;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--terra);
        background: var(--terra-bg);
        border-radius: 20px;
        padding: 3px 10px;
        margin-bottom: 10px;
      }
      .proto-card .card-title {
        font-size: 1.35rem;
        font-weight: 700;
        color: var(--teal);
        margin-bottom: 8px;
      }
      .proto-card .card-desc {
        font-size: 13.5px;
        color: var(--txt-m);
        line-height: 1.6;
        margin-bottom: 18px;
      }
      .btn-proto {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        background: var(--teal);
        color: #fff;
        padding: 11px 22px;
        border-radius: var(--r-sm);
        font-size: 14px;
        font-weight: 600;
        border: none;
        transition: background 0.15s;
      }
      .btn-proto:hover {
        background: var(--teal2);
      }

      /* ── BACK BAR ───────────────────────────── */
      .back-bar {
        background: var(--card);
        border-bottom: 1px solid var(--borda2);
        padding: 0 16px;
        height: 44px;
        display: flex;
        align-items: center;
        gap: 10px;
        position: sticky;
        top: 94px;
        z-index: 90;
      }
      .back-btn {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 13px;
        color: var(--txt-m);
        border: none;
        background: none;
        padding: 4px 0;
        transition: color 0.15s;
      }
      .back-btn:hover {
        color: var(--teal);
      }
      .back-sep {
        color: var(--borda);
        font-size: 12px;
      }
      .back-title {
        font-family: "Lora", serif;
        font-size: 14px;
        font-weight: 700;
        color: var(--teal);
      }

      /* ── CALC SECTION ───────────────────────── */
      .calc-wrap {
        background: var(--card);
        border-bottom: 1px solid var(--borda2);
        padding: 20px 16px;
      }
      .calc-label {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        color: var(--txt-l);
        margin-bottom: 12px;
      }
      .sec-title {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--teal);
        margin-bottom: 4px;
      }
      .sec-sub {
        font-size: 13px;
        color: var(--txt-m);
        margin-bottom: 16px;
      }
      .dum-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
      }
      @media (max-width: 380px) {
        .dum-row {
          grid-template-columns: 1fr;
        }
      }
      .field-label {
        font-size: 12px;
        font-weight: 600;
        color: var(--txt-m);
        display: block;
        margin-bottom: 5px;
      }
      .field-input {
        width: 100%;
        padding: 11px 13px;
        border: 1.5px solid var(--borda);
        border-radius: var(--r-sm);
        font-size: 15px;
        color: var(--txt);
        font-family: inherit;
        background: var(--bg);
        outline: none;
        transition:
          border 0.2s,
          background 0.2s;
      }
      .field-input:focus {
        border-color: var(--teal);
        background: var(--card);
      }

      /* ── RESULT STRIP ───────────────────────── */
      .result-strip {
        display: none;
        background: var(--card);
        border-bottom: 1px solid var(--borda2);
        padding: 16px;
      }
      .result-strip.on {
        display: block;
      }
      .res-cards {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
        margin-bottom: 14px;
      }
      @media (max-width: 360px) {
        .res-cards {
          grid-template-columns: 1fr 1fr;
        }
      }
      .rc {
        border-radius: var(--r-sm);
        padding: 14px 10px;
        text-align: center;
        background: var(--bege);
      }
      .rc.main {
        background: var(--teal);
      }
      .rc-val {
        font-family: "Lora", serif;
        font-size: 1.3rem;
        font-weight: 700;
        line-height: 1;
        color: var(--teal);
      }
      .rc.main .rc-val,
      .rc.main .rc-lbl {
        color: #fff;
      }
      .rc-lbl {
        font-size: 11px;
        color: var(--txt-m);
        margin-top: 4px;
      }
      .rc.main .rc-lbl {
        color: rgba(255, 255, 255, 0.75);
      }
      .prog-bar {
        background: var(--borda2);
        border-radius: 20px;
        height: 5px;
        overflow: hidden;
        margin-bottom: 4px;
      }
      .prog-fill {
        height: 100%;
        background: var(--terra);
        border-radius: 20px;
        transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
      }
      .prog-labels {
        display: flex;
        justify-content: space-between;
        font-size: 11px;
        color: var(--txt-l);
      }

      /* ── TOOLBAR ────────────────────────────── */
      .toolbar {
        display: none;
        background: var(--card);
        border-bottom: 1px solid var(--borda2);
        padding: 10px 16px;
        position: sticky;
        top: 138px;
        z-index: 80;
      }
      .toolbar.on {
        display: block;
      }
      .search-wrap {
        position: relative;
        margin-bottom: 9px;
      }
      .search-ico {
        position: absolute;
        left: 11px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 13px;
        pointer-events: none;
        color: var(--txt-l);
      }
      .search-input {
        width: 100%;
        padding: 9px 12px 9px 34px;
        border: 1.5px solid var(--borda);
        border-radius: var(--r-sm);
        font-size: 13.5px;
        color: var(--txt);
        font-family: inherit;
        background: var(--bg);
        outline: none;
        transition:
          border 0.2s,
          background 0.2s;
      }
      .search-input:focus {
        border-color: var(--teal);
        background: var(--card);
      }
      .filters {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 1px;
      }
      .filters::-webkit-scrollbar {
        display: none;
      }
      .fil {
        flex-shrink: 0;
        padding: 5px 13px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 500;
        border: 1.5px solid var(--borda);
        background: var(--bg);
        color: var(--txt-m);
        transition: all 0.15s;
      }
      .fil.on,
      .fil:hover {
        background: var(--teal);
        border-color: var(--teal);
        color: #fff;
      }

      /* ── PROGRESS SUMMARY ───────────────────── */
      .prog-sum {
        display: none;
        background: var(--olive-bg);
        border-bottom: 1px solid rgba(107, 139, 74, 0.12);
        padding: 8px 16px;
        flex-direction: row;
        align-items: center;
        gap: 10px;
      }
      .prog-sum.on {
        display: flex;
      }
      .prog-sum-bar {
        flex: 1;
        background: rgba(107, 139, 74, 0.15);
        height: 4px;
        border-radius: 20px;
        overflow: hidden;
      }
      .prog-sum-fill {
        height: 100%;
        background: var(--olive);
        border-radius: 20px;
        transition: width 0.5s;
      }
      .prog-sum-txt {
        font-size: 12px;
        color: var(--olive);
        font-weight: 600;
        white-space: nowrap;
      }

      /* ── FASE CARDS ─────────────────────────── */
      #checklist {
        padding: 12px 0 24px;
      }

      .fase-card {
        background: var(--card);
        border-bottom: 1px solid var(--borda2);
        overflow: hidden;
      }
      .fase-card:first-child {
        border-top: 1px solid var(--borda2);
      }

      .fase-hdr {
        width: 100%;
        border: none;
        background: transparent;
        text-align: left;
        font-family: inherit;
        display: flex;
        align-items: center;
        gap: 0;
        padding: 14px 16px;
        cursor: pointer;
        transition: background 0.12s;
      }
      .fase-hdr:hover {
        background: #faf7f2;
      }
      .fase-stripe {
        width: 4px;
        border-radius: 2px;
        flex-shrink: 0;
        align-self: stretch;
        min-height: 44px;
        margin-right: 14px;
      }
      .fase-hdr-content {
        flex: 1;
        min-width: 0;
      }
      .fase-consulta {
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.07em;
        color: var(--txt-l);
        margin-bottom: 2px;
      }
      .fase-titulo {
        font-size: 14.5px;
        font-weight: 700;
        color: var(--teal);
        line-height: 1.25;
      }
      .fase-sem {
        font-size: 12px;
        color: var(--txt-m);
        margin-top: 2px;
      }
      .fase-hdr-right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 5px;
        margin-left: 10px;
        flex-shrink: 0;
      }
      .fase-badge {
        font-size: 11px;
        font-weight: 600;
        padding: 3px 9px;
        border-radius: 20px;
        white-space: nowrap;
      }
      .badge-atual {
        background: var(--terra-bg);
        color: var(--terra);
      }
      .badge-ant {
        background: var(--olive-bg);
        color: var(--olive);
      }
      .badge-prox {
        background: var(--must-bg);
        color: var(--must);
      }
      .fase-prog {
        font-size: 12px;
        color: var(--txt-m);
        font-weight: 500;
      }
      .fase-chev {
        font-size: 10px;
        color: var(--txt-l);
        transition: transform 0.25s;
        display: block;
        margin-top: 2px;
      }
      .fase-card.open .fase-chev {
        transform: rotate(180deg);
      }

      /* Fase body accordion */
      .fase-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      }
      .fase-card.open .fase-body {
        max-height: 9999px;
      }

      .fase-desc {
        font-size: 13px;
        color: var(--txt-m);
        line-height: 1.6;
        padding: 2px 16px 14px 34px;
        border-bottom: 1px solid var(--borda2);
      }

      /* ── PROC ITEM ──────────────────────────── */
      .proc {
        display: flex;
        align-items: center;
        padding: 12px 16px 12px 34px;
        border-bottom: 1px solid var(--borda2);
        transition: background 0.12s;
      }
      .proc:last-child {
        border-bottom: none;
      }
      .proc:hover {
        background: #faf7f2;
      }
      .proc-chk {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        border: 2px solid var(--borda);
        flex-shrink: 0;
        margin-right: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--card);
        cursor: pointer;
        transition: all 0.2s;
        padding: 0;
      }
      .proc-chk.on {
        background: var(--olive);
        border-color: var(--olive);
      }
      .proc-chk.on svg {
        display: block;
      }
      .proc-chk svg {
        display: none;
        width: 12px;
        height: 12px;
        fill: none;
        stroke: #fff;
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
      }
      .proc-ico {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        flex-shrink: 0;
        margin-right: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .proc-txt {
        flex: 1;
        min-width: 0;
        cursor: pointer;
        border: none;
        background: transparent;
        text-align: left;
        padding: 0;
        font-family: inherit;
      }
      .proc-nome {
        font-size: 14px;
        font-weight: 600;
        color: var(--teal);
        line-height: 1.3;
        display: block;
      }
      .proc.done .proc-nome {
        text-decoration: line-through;
        color: var(--txt-l);
      }
      .proc-tipo {
        font-size: 11.5px;
        color: var(--txt-m);
        margin-top: 2px;
        display: block;
      }
      .proc-right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
        margin-left: 8px;
        flex-shrink: 0;
        cursor: pointer;
        border: none;
        background: transparent;
        padding: 0;
        font-family: inherit;
      }
      .prio-alta {
        font-size: 10px;
        font-weight: 700;
        padding: 2px 7px;
        border-radius: 20px;
        background: var(--terra-bg);
        color: var(--terra);
      }
      .prio-media {
        font-size: 10px;
        font-weight: 700;
        padding: 2px 7px;
        border-radius: 20px;
        background: var(--must-bg);
        color: var(--must);
      }
      .proc-chev {
        font-size: 9px;
        color: var(--txt-l);
        transition: transform 0.2s;
      }
      .proc.open .proc-chev {
        transform: rotate(180deg);
      }

      /* Proc body */
      .proc-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      }
      .proc.open .proc-body,
      .proc-body.open {
        max-height: 600px;
      }
      .proc-body-in {
        padding: 0 16px 16px 80px;
        border-top: 1px solid var(--borda2);
      }
      @media (max-width: 400px) {
        .proc-body-in {
          padding-left: 16px;
        }
      }
      .proc-desc {
        font-size: 13.5px;
        color: var(--txt);
        line-height: 1.65;
        padding-top: 12px;
        margin-bottom: 14px;
      }
      .proc-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 7px;
        margin-bottom: 14px;
      }
      .proc-meta-item {
        background: var(--bg);
        border-radius: var(--r-xs);
        padding: 8px 10px;
      }
      .meta-label {
        font-size: 10px;
        font-weight: 600;
        color: var(--txt-l);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 2px;
      }
      .meta-val {
        font-size: 13px;
        font-weight: 600;
        color: var(--teal);
      }
      .fonte-box {
        background: var(--olive-bg);
        border: 1px solid rgba(107, 139, 74, 0.18);
        border-radius: var(--r-xs);
        padding: 11px 13px;
      }
      .fonte-label {
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.07em;
        color: var(--olive);
        margin-bottom: 5px;
      }
      .fonte-ref {
        font-size: 13px;
        font-weight: 500;
        color: var(--txt);
        line-height: 1.45;
      }
      .fonte-pag {
        font-size: 12px;
        color: var(--txt-m);
        margin-top: 3px;
      }
      .fonte-link {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 12px;
        color: var(--olive);
        font-weight: 600;
        text-decoration: none;
        margin-top: 8px;
      }
      .fonte-link:hover {
        text-decoration: underline;
      }
      .proc-obs {
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid var(--borda2);
        font-size: 12.5px;
        color: var(--txt-m);
        line-height: 1.55;
      }

      /* Future fase */
      .fase-card.futura .fase-hdr {
        opacity: 0.78;
        cursor: pointer;
      }
      .fase-card.futura .fase-hdr:hover {
        background: #faf7f2;
      }

      /* ── RETORNO AGENDADO ───────────────────────────────── */
      .retorno-footer {
        padding: 12px 16px 14px 34px;
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        border-top: 1px dashed var(--borda2);
        background: rgba(27, 79, 107, 0.02);
      }
      .btn-retorno {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        font-weight: 600;
        color: var(--teal);
        background: var(--teal-bg);
        border: 1.5px solid rgba(27, 79, 107, 0.15);
        border-radius: 20px;
        padding: 6px 14px;
        cursor: pointer;
        transition: background 0.15s, border-color 0.15s;
        font-family: inherit;
      }
      .btn-retorno:hover { background: rgba(27, 79, 107, 0.13); border-color: rgba(27, 79, 107, 0.28); }
      .btn-retorno img { width: 18px; height: 18px; object-fit: contain; }
      .retorno-agendado-info { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; flex: 1; }
      .retorno-agendado-info img { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
      .retorno-data-txt { font-size: 13px; color: var(--teal); }
      .retorno-data-txt strong { color: var(--olive); }
      .btn-retorno-remover {
        font-size: 12px; font-weight: 600; color: var(--txt-m);
        background: transparent; border: 1.5px solid var(--borda);
        border-radius: 20px; padding: 4px 10px; cursor: pointer;
        font-family: inherit; transition: color 0.15s;
      }
      .btn-retorno-remover:hover { color: var(--terra); border-color: var(--terra); }
      .retorno-form-inline {
        display: none; align-items: center; gap: 8px; flex-wrap: wrap;
        width: 100%; padding-top: 8px; border-top: 1px solid var(--borda2); margin-top: 4px;
      }
      .retorno-form-inline.on { display: flex; }
      .retorno-date-input {
        padding: 8px 11px; border: 1.5px solid var(--borda);
        border-radius: var(--r-xs); font-size: 13.5px; font-family: inherit;
        color: var(--txt); background: var(--bg); outline: none; transition: border 0.2s;
      }
      .retorno-date-input:focus { border-color: var(--teal); background: var(--card); }
      .btn-confirmar-retorno {
        padding: 8px 16px; background: var(--teal); color: #fff; border: none;
        border-radius: var(--r-xs); font-size: 13px; font-weight: 600;
        cursor: pointer; font-family: inherit; transition: background 0.15s;
      }
      .btn-confirmar-retorno:hover { background: var(--teal2); }
      .btn-cancelar-retorno {
        padding: 8px 12px; background: transparent; color: var(--txt-m);
        border: 1.5px solid var(--borda); border-radius: var(--r-xs);
        font-size: 13px; cursor: pointer; font-family: inherit;
      }
      .retorno-hdr-badge {
        display: inline-flex; align-items: center; gap: 4px;
        font-size: 10.5px; font-weight: 600; color: var(--olive);
        background: var(--olive-bg); border: 1px solid rgba(107,139,74,0.22);
        border-radius: 20px; padding: 3px 8px; white-space: nowrap;
      }
      .retorno-hdr-badge img { width: 12px; height: 12px; object-fit: contain; }

      /* ── AVISO ──────────────────────────────── */
      .aviso {
        margin: 0 16px 20px;
        background: rgba(200, 151, 58, 0.07);
        border: 1px solid rgba(200, 151, 58, 0.2);
        border-radius: var(--r-sm);
        padding: 12px 14px;
        font-size: 12.5px;
        color: #7a5500;
        line-height: 1.55;
        display: none;
      }
      .aviso.on {
        display: block;
      }

      /* ── EMPTY ──────────────────────────────── */
      .empty {
        text-align: center;
        padding: 36px 20px;
        font-size: 14px;
        color: var(--txt-l);
      }

      /* ── FONTES VIEW ────────────────────────── */
      .fonte-card {
        background: var(--card);
        border-radius: var(--r);
        box-shadow: var(--sh);
        margin-bottom: 12px;
        border-left: 3px solid var(--olive);
        overflow: hidden;
      }
      .fonte-card-body {
        padding: 18px 18px 20px;
      }
      .fonte-sig {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.07em;
        color: var(--olive);
        margin-bottom: 5px;
      }
      .fonte-tit {
        font-family: "Lora", serif;
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 4px;
        color: var(--teal);
      }
      .fonte-info {
        font-size: 13px;
        color: var(--txt-m);
        line-height: 1.5;
      }
      .fonte-pags {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 10px;
      }
      .fonte-pag-chip {
        font-size: 11px;
        background: var(--bg);
        border: 1px solid var(--borda);
        padding: 3px 8px;
        border-radius: 20px;
        color: var(--teal);
      }
      .fonte-cta {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 13px;
        color: var(--teal);
        font-weight: 500;
        text-decoration: none;
        margin-top: 10px;
      }
      .fonte-cta:hover {
        text-decoration: underline;
      }

      /* ── PROPOSTA / AJUDA VIEWS ─────────────── */
      .content-section {
        margin-bottom: 22px;
      }
      .content-section h3 {
        font-family: "Lora", serif;
        font-size: 1rem;
        font-weight: 700;
        color: var(--teal);
        margin-bottom: 7px;
      }
      .content-section p,
      .content-section li {
        font-size: 14px;
        color: var(--txt-m);
        line-height: 1.7;
      }
      .content-section ul {
        padding-left: 18px;
      }
      .content-section li {
        margin-bottom: 3px;
      }
      .road-item {
        display: flex;
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid var(--borda2);
      }
      .road-item:last-child {
        border: none;
      }
      .road-num {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        flex-shrink: 0;
        background: var(--teal);
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .road-num.done {
        background: var(--olive);
      }
      .road-t {
        font-size: 14px;
        font-weight: 600;
        color: var(--teal);
      }
      .road-s {
        font-size: 12px;
        color: var(--txt-m);
        margin-top: 2px;
      }

      .faq {
        border-bottom: 1px solid var(--borda2);
        cursor: pointer;
      }
      .faq:last-child {
        border: none;
      }
      .faq-q {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 0;
        font-size: 14px;
        font-weight: 600;
        color: var(--teal);
      }
      .faq-q .ch {
        font-size: 10px;
        color: var(--txt-l);
        transition: transform 0.2s;
      }
      .faq.open .faq-q .ch {
        transform: rotate(180deg);
      }
      .faq-a {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
      }
      .faq.open .faq-a {
        max-height: 300px;
      }
      .faq-ans {
        font-size: 13px;
        color: var(--txt-m);
        line-height: 1.65;
        padding-bottom: 13px;
      }

      /* ── USUARIO VIEW ───────────────────────── */
      .user-card {
        background: var(--card);
        border-radius: var(--r);
        box-shadow: var(--sh);
        padding: 22px;
        text-align: center;
        margin-bottom: 14px;
      }
      .user-card .sec-title {
        margin-bottom: 6px;
      }
      .user-card p {
        font-size: 13.5px;
        color: var(--txt-m);
        line-height: 1.6;
        margin-bottom: 16px;
      }
      .wl-form {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
      }
      .wl-input {
        flex: 1;
        min-width: 180px;
        padding: 11px 13px;
        border: 1.5px solid var(--borda);
        border-radius: var(--r-sm);
        font-size: 14px;
        color: var(--txt);
        font-family: inherit;
        background: var(--bg);
        outline: none;
        transition: border 0.2s;
      }
      .wl-input:focus {
        border-color: var(--teal);
      }
      .btn-wl {
        padding: 11px 18px;
        background: var(--teal);
        color: #fff;
        border: none;
        border-radius: var(--r-sm);
        font-size: 14px;
        font-weight: 600;
        transition: background 0.15s;
      }
      .btn-wl:hover {
        background: var(--teal2);
      }
      .wl-ok {
        display: none;
        background: var(--olive-bg);
        border: 1px solid rgba(107, 139, 74, 0.2);
        border-radius: var(--r-sm);
        padding: 11px 14px;
        font-size: 13.5px;
        color: var(--olive);
        font-weight: 500;
        margin-top: 10px;
      }
      .user-stats {
        background: var(--card);
        border-radius: var(--r);
        box-shadow: var(--sh);
        padding: 16px 18px;
      }
      .user-stats p {
        font-size: 13px;
        color: var(--txt-m);
        line-height: 1.7;
      }
      .btn-clear {
        margin-top: 12px;
        padding: 8px 14px;
        background: var(--terra-bg);
        color: var(--terra);
        border: 1px solid rgba(196, 114, 42, 0.2);
        border-radius: var(--r-xs);
        font-size: 13px;
        font-weight: 600;
      }

      /* ── MULTI-PAGE: anchor tabs e back-btn ─── */
      a.tab {
        text-decoration: none;
        display: inline-flex;
        align-items: center;
      }
      a.back-btn {
        text-decoration: none;
      }
      a.topbar-brand {
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 9px;
      }
