/* C1-C: estilos apenas do complemento de calistenia. Não altera o C1-A/B. */
.c1c-app,
.c1c-history-in-evolution {
  --c1c-ink: #202d29;
  --c1c-text: #495a54;
  --c1c-accent: #2a6751;
  --c1c-line: #e0e6e1;
  --c1c-soft: #edf3ed;
  color: var(--c1c-ink);
  font-family: inherit;
}
.c1c-app { margin-top: 28px; }
.c1c-section-heading { margin-bottom: 20px; }
.c1c-section-heading h2,
.c1c-history-head h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.45rem, 2.6vw, 1.88rem); line-height: 1.2; color: #315f4d; margin: 4px 0 9px; }
.c1c-section-heading p,
.c1c-guide p,
.c1c-record p,
.c1c-disclaimer { line-height: 1.65; }
.c1c-section-heading > p:not(.c1c-eyebrow) { color: var(--c1c-text); max-width: 74ch; margin: 0; }
.c1c-eyebrow { font-family: inherit; font-weight: 600; font-size: 0.67rem; line-height: 1.5; color: #59846e; letter-spacing: 0.14em; text-transform: uppercase; margin: 0; }
.c1c-guide-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.c1c-guide,
.c1c-panel,
.c1c-history { border: 1px solid var(--c1c-line); border-radius: 19px; background: #fff; padding: clamp(18px, 3vw, 28px); box-shadow: 0 3px 14px rgba(31,50,41,0.025); }
.c1c-guide { min-width: 0; }
.c1c-guide h3 { font-size: 1.12rem; line-height: 1.35; margin: 8px 0 10px; }
.c1c-guide p { color: var(--c1c-text); margin: 0 0 12px; }
.c1c-guide .c1c-caution { font-size: 0.86rem; color: #626c65; }
.c1c-source { display: inline-flex; align-items: baseline; gap: 7px; color: var(--c1c-accent); font-weight: 600; font-size: 0.88rem; text-decoration: none; }
.c1c-source:focus-visible, .c1c-text-button:focus-visible, .c1c-button:focus-visible { outline: 2px solid #659b83; outline-offset: 3px; }
.c1c-source:hover { color: #205040; }
.c1c-panel { margin-top: 20px; }
.c1c-field { display: grid; gap: 7px; margin: 15px 0; }
.c1c-field label, .c1c-fieldset legend { font-size: 0.88rem; font-weight: 650; color: #32463d; }
.c1c-field label span { font-weight: 400; color: #78847b; }
.c1c-field input,
.c1c-field select,
.c1c-field textarea { box-sizing: border-box; width: 100%; border: 1px solid #cfdcd2; border-radius: 12px; padding: 13px 14px; background: #fff; color: #23352b; font: inherit; min-height: 45px; }
.c1c-field textarea { resize: vertical; min-height: 115px; }
.c1c-field input:focus-visible,
.c1c-field select:focus-visible,
.c1c-field textarea:focus-visible { outline: 2px solid #9fbeaa; outline-offset: 1px; }
.c1c-fieldset { border: 1px solid var(--c1c-line); border-radius: 13px; padding: 12px 17px; margin: 18px 0; }
.c1c-choice { display: flex; gap: 12px; align-items: center; padding: 10px 3px; color: #32443a; font-size: 0.92rem; }
.c1c-choice + .c1c-choice { border-top: 1px solid #f0f3f0; }
.c1c-choice input { width: 17px; height: 17px; accent-color: #5d8e71; flex: none; }
.c1c-actions { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.c1c-button { border: 1px solid #c3d8c6 !important; background: #e3efe4 !important; color: #23523e !important; border-radius: 12px; padding: 11px 18px; font-family: inherit; font-size: 0.88rem; font-weight: 600; line-height: 1.4; cursor: pointer; min-height: 43px; }
.c1c-button:hover { background: #d5e9d9; }
.c1c-button.c1c-quiet { background: #fff !important; color: #406652 !important; border-color: #d5dfd6 !important; }
.c1c-button.c1c-quiet:hover { background: #f2f6f2; }
.c1c-feedback { color: #376e4d; font-size: 0.84rem; min-height: 1.4em; }
.c1c-history { margin-top: 20px; }
.c1c-history-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 16px; }
.c1c-history-head h2 { margin: 4px 0 0; }
.c1c-text-button { border: 0 !important; background: transparent !important; color: var(--c1c-accent) !important; font-family: inherit; font-size: 0.84rem; font-weight: 600; line-height: 1.4; padding: 5px 2px; cursor: pointer; }
.c1c-text-button:hover { color: #1d4d3a; }
.c1c-record-list { display: grid; gap: 10px; }
.c1c-record { border-radius: 13px; background: #f8faf7; border: 1px solid #e8ece7; padding: 15px 17px; }
.c1c-record-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.c1c-record p { font-size: 0.89rem; margin: 6px 0 0; overflow-wrap: anywhere; }
.c1c-record p small { font-size: 0.86rem; color: #637369; }
.c1c-record .c1c-notes { color: #526259; white-space: pre-wrap; }
.c1c-count { color: #63776a; font-size: 0.82rem; white-space: nowrap; }
.c1c-empty { color: #738178; font-size: 0.91rem; }
.c1c-disclaimer { color: #6d7b71; font-size: 0.81rem; margin: 17px 0 0; }
.c1c-history-in-evolution { margin-top: 18px; }
.c1c-history-in-evolution > .c1c-button { margin-top: 15px; }
@media (max-width: 660px) {
  .c1c-guide-grid { grid-template-columns: minmax(0,1fr); }
  .c1c-history-head { flex-wrap: wrap; }
  .c1c-panel, .c1c-guide, .c1c-history { border-radius: 15px; padding: 17px; }
  .c1c-actions > .c1c-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .c1c-app *, .c1c-history-in-evolution * { scroll-behavior: auto !important; }
}

/* DA ESTA — CORPO C1C UPGRADE VISUAL AZUL PROFUNDO & BRANCO PEROLADO */
:root[data-daesta-theme="blue"] .c1c-app,
:root[data-daesta-theme="blue"] .c1c-history-in-evolution,
body:not([data-daesta-theme="white"]) .c1c-app,
body:not([data-daesta-theme="white"]) .c1c-history-in-evolution {
  --c1c-ink: #f3eee5;
  --c1c-text: #c6d0e1;
  --c1c-accent: #afd4bd;
  --c1c-line: rgba(255, 245, 225, 0.42);
  --c1c-soft: rgba(248, 235, 210, 0.04);
}

:root[data-daesta-theme="blue"] .c1c-guide,
:root[data-daesta-theme="blue"] .c1c-panel,
:root[data-daesta-theme="blue"] .c1c-history,
body:not([data-daesta-theme="white"]) .c1c-guide,
body:not([data-daesta-theme="white"]) .c1c-panel,
body:not([data-daesta-theme="white"]) .c1c-history {
  background: rgba(248, 235, 210, 0.05) !important;
  border: 1px solid rgba(255, 245, 225, 0.42) !important;
  -webkit-backdrop-filter: blur(18px) saturate(110%) !important;
  backdrop-filter: blur(18px) saturate(110%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 253, 246, 0.13), 0 8px 32px rgba(0, 0, 0, 0.37) !important;
  color: #f3eee5 !important;
}

:root[data-daesta-theme="blue"] .c1c-field input,
:root[data-daesta-theme="blue"] .c1c-field select,
:root[data-daesta-theme="blue"] .c1c-field textarea,
body:not([data-daesta-theme="white"]) .c1c-field input,
body:not([data-daesta-theme="white"]) .c1c-field select,
body:not([data-daesta-theme="white"]) .c1c-field textarea {
  background: rgba(248, 235, 210, 0.05) !important;
  border: 1px solid rgba(179, 203, 232, 0.50) !important;
  color: #f3eee5 !important;
}

:root[data-daesta-theme="blue"] .c1c-button.c1c-quiet,
body:not([data-daesta-theme="white"]) .c1c-button.c1c-quiet {
  background: rgba(248, 235, 210, 0.06) !important;
  border: 1px solid rgba(255, 245, 225, 0.35) !important;
  color: #f5efe4 !important;
}
