/* Home UI shared styles (ES + EN) */

      .result-box {
        border-radius: 18px;
        transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
      }

      .result-box.result-correct {
        background: #eef8f0;
        border: 1px solid #cfe7d3;
        box-shadow: 0 8px 24px rgba(80, 140, 90, 0.08);
      }

      .result-box.result-partial {
        background: #fff7e8;
        border: 1px solid #ecd8a2;
        box-shadow: 0 8px 24px rgba(180, 140, 60, 0.08);
      }

      .result-box.result-incorrect {
        background: #fff1f0;
        border: 1px solid #e7c1bd;
        box-shadow: 0 8px 24px rgba(170, 90, 80, 0.08);
      }

      .secondary-flow {
        margin-top: 1rem;
      }

      .secondary-toggle {
        width: 100%;
        min-height: 3.1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.9rem 1rem;
        border: 0;
        background: transparent;
        color: hsl(var(--foreground));
        text-align: left;
      }

      #actionsHubSection {
        overflow: hidden;
      }

      #actionsHubToggle .secondary-label {
        display: inline-flex;
        align-items: center;
        gap: 0.55rem;
        min-width: 0;
        font-size: 0.95rem;
        line-height: 1.2;
        font-weight: 500;
      }

      #actionsHubToggle:hover {
        background: hsl(var(--secondary) / 0.55);
      }

      .secondary-toggle-meta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        color: currentColor;
      }

      .secondary-toggle-meta svg {
        width: 16px;
        height: 16px;
        opacity: 0.72;
        transition: transform 160ms ease, opacity 160ms ease;
      }

      .secondary-toggle[aria-expanded="true"] .secondary-toggle-meta svg {
        transform: rotate(180deg);
        opacity: 0.92;
      }

      .actions-hub-panel {
        margin-top: 0.55rem;
        border: 1px solid hsl(var(--border));
        border-radius: calc(var(--radius) + 5px);
        background: hsl(var(--card));
        box-shadow: 0 1px 2px hsl(240 20% 12% / 0.03);
        overflow: hidden;
      }

      .more-row {
        width: 100%;
        min-height: 3.1rem;
        display: flex;
        align-items: center;
        gap: 0.7rem;
        padding: 0.9rem 1rem;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: hsl(var(--foreground));
        text-align: left;
        font: inherit;
        cursor: pointer;
        transition: background-color 140ms ease;
      }

      .more-row:hover {
        background: hsl(var(--secondary) / 0.55);
      }

      .more-row .qa-icon {
        width: 1rem;
        height: 1rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: hsl(var(--muted-foreground));
        flex: 0 0 auto;
      }

      .more-row .qa-icon svg {
        width: 16px;
        height: 16px;
      }

      .more-row .qa-text,
      .more-row .row-text {
        font-size: 0.95rem;
        line-height: 1.2;
        font-weight: 500;
      }

      .more-divider {
        height: 1px;
        background: hsl(var(--border) / 0.92);
        margin: 0;
      }

      .more-disclosure {
        display: block;
      }

      .more-disclosure-btn {
        width: 100%;
        min-height: 3.1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.9rem 1rem;
        border: 0;
        background: transparent;
        color: hsl(var(--foreground));
        text-align: left;
        cursor: pointer;
        transition: background-color 140ms ease;
      }

      .more-disclosure-btn:hover {
        background: hsl(var(--secondary) / 0.55);
      }

      .more-disclosure-main {
        display: inline-flex;
        align-items: center;
        gap: 0.7rem;
        min-width: 0;
      }

      .more-disclosure-icon {
        width: 1rem;
        height: 1rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: hsl(var(--muted-foreground));
        flex: 0 0 auto;
      }

      .more-disclosure-icon svg {
        width: 16px;
        height: 16px;
      }

      .more-disclosure-title {
        font-size: 0.95rem;
        line-height: 1.2;
        font-weight: 500;
      }

      .more-disclosure-meta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        color: hsl(var(--muted-foreground));
      }

      .more-disclosure-meta svg {
        width: 16px;
        height: 16px;
        opacity: 0.72;
        transition: transform 160ms ease, opacity 160ms ease;
      }

      .more-disclosure-btn[aria-expanded="true"] .more-disclosure-meta svg {
        transform: rotate(180deg);
        opacity: 0.92;
      }

      .sub-panel {
        padding: 0.45rem 1rem 1.05rem 2.72rem;
        background: transparent;
      }

      .sub-panel .section-sub {
        margin: 0 0 0.8rem;
        font-size: 0.88rem;
        line-height: 1.45;
      }

      .newsletter-compact {
        padding-top: 0.35rem;
      }

      .newsletter-compact .subsection-title {
        margin: 0 0 0.3rem;
        font-size: 0.96rem;
        line-height: 1.25;
        font-weight: 620;
        color: hsl(var(--foreground));
      }

      .newsletter-compact .section-sub {
        margin: 0 0 1rem;
      }

      .newsletter-form {
        display: grid;
        gap: 0.8rem;
      }

      .newsletter-inline-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.55rem;
        align-items: center;
      }

      .newsletter-inline-row input[type="email"] {
        min-height: 2.9rem;
      }

      .newsletter-inline-row .btn {
        min-height: 2.9rem;
        white-space: nowrap;
      }

      .consent-row {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 0.65rem;
        align-items: start;
        margin-top: 0.05rem;
      }

      .consent-row input[type="checkbox"] {
        width: 1rem;
        height: 1rem;
        min-height: 1rem;
        margin-top: 0.15rem;
        padding: 0;
      }

      .consent-row span {
        font-size: 0.84rem;
        line-height: 1.48;
        color: hsl(var(--muted-foreground));
      }

      .consent-row a {
        color: hsl(var(--primary));
        text-decoration: underline;
        text-underline-offset: 3px;
      }

      .newsletter-links {
        margin-top: 0.75rem;
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem;
      }

      .newsletter-links .share-btn {
        min-height: 2.2rem;
      }

      @media (max-width: 640px) {
        .newsletter-inline-row {
          grid-template-columns: 1fr;
        }

        .sub-panel {
          padding-left: 1rem;
        }
      }
