.brief-shell { max-width: 900px; margin: auto; padding: 64px var(--gutter) 96px; }
.semilla-shell { max-width: 1200px; padding: 32px clamp(20px, 4vw, 56px) 64px; }
.semilla-welcome { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(220px,.9fr); gap: 32px; align-items: center; }
.semilla-intro h1 { font-size: clamp(40px,4.4vw,56px); }
.semilla-intro h1 em { color: var(--lime); font-style: normal; }
.semilla-intro > p:not(.section-tag) { max-width: 38rem; margin: 24px 0; font-size: 18px; }
.semilla-intro .semilla-intro__note { color: var(--muted); font-size: 15px !important; }
.semilla-art { display: flex; flex-direction: column; color: var(--lime); padding: 0; }
.semilla-art__visual { min-height: 220px; display: grid; place-items: center; background: radial-gradient(circle at center, rgba(219,231,181,.52), transparent 55%); }
.semilla-art__visual > * { grid-area: 1 / 1; }
.semilla-orbit { display: block; width: min(100%, 252px); height: auto; }
.semilla-art .semilla-mark { display: block; width: 120px; max-width: 100%; height: auto; }
.semilla-art__caption, .semilla-art__footer { font: 10px/1.6 var(--mono); letter-spacing: .05em; }
.semilla-art__footer { border-top: 1px solid var(--line); padding-top: 16px; }
.growth { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.growth__icon { position: relative; display: grid; place-items: center; width: 96px; height: 96px; flex: none; border: 1px solid #76947b; border-radius: 50%; background: radial-gradient(circle, #8ba57b, var(--forest) 74%); }
.growth__icon img, .growth__icon svg { grid-area: 1 / 1; }
.growth__icon img { display: block; width: 62px; height: auto; transition: transform 250ms ease; }
.growth[data-step="1"] .growth__icon img { transform: translateY(-5px) rotate(-16deg) scale(.9); }
.growth[data-step="2"] .growth__icon img { transform: translateY(-7px) scale(.84); }
.growth[data-step="3"] .growth__icon img { transform: translateY(0) scale(.8); }
.growth[data-step="4"] .growth__icon img { transform: translateY(7px) scale(.73); }
.growth[data-step="5"] .growth__icon img { transform: translateY(9px) scale(.66); }
.growth[data-step="6"] .growth__icon img { transform: translateY(8px) scale(.62); }
.growth__icon svg { width: 100%; height: 100%; fill: none; stroke: var(--lime); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.growth__ring { opacity: .25; }
.growth__stage { display: none; }
.growth[data-step="1"] .growth__stage--1, .growth[data-step="2"] .growth__stage--2, .growth[data-step="3"] .growth__stage--3, .growth[data-step="4"] .growth__stage--4, .growth[data-step="5"] .growth__stage--5, .growth[data-step="6"] .growth__stage--6 { display: inline; }
.growth .section-tag { margin: 0; }.growth p { margin: 4px 0; }
.semilla-confirmation { padding: 48px 0; max-width: 620px; }.semilla-confirmation h1 { font-size: clamp(32px,5vw,48px); }
@media (max-width: 700px) { .semilla-welcome { grid-template-columns: 1fr; gap: 32px; }.semilla-art__visual { min-height: 220px; }.semilla-orbit { width: min(100%, 196px); }.semilla-art .semilla-mark { width: 104px; }.semilla-intro > p:not(.section-tag) { font-size: 16px; } }
.brief-shell h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.1; letter-spacing: -.045em; margin: 0; }
.brief-shell h2 { font-size: clamp(24px, 4vw, 34px); line-height: 1.2; }
.brief-shell p { max-width: 70ch; }
.notice { border-left: 4px solid var(--lime); padding: 12px 16px; background: var(--surface); }
.brief-shell form { margin-top: 40px; }
.brief-shell progress { width: 100%; height: 8px; accent-color: var(--lime); }
.step { margin-top: 32px; }
.step > label { display: block; margin: 20px 0; font-weight: 700; }
.step input:not([type=radio]):not([type=checkbox]), .step textarea, .step select { display: block; width: 100%; margin-top: 8px; padding: 12px; border: 1px solid #a8bca9; background: var(--paper); color: var(--forest); }
.step input[type=color] { height: 55px; padding: 4px !important; }
.step fieldset { border: 0; padding: 0; margin: 24px 0; }
.step legend { font-weight: 700; margin-bottom: 12px; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.choices label { border: 1px solid #76947b; padding: 12px; min-height: 48px; }
.choices label:has(input:checked) { border-color: var(--lime); background: var(--surface); }
.colors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.swatches { display: block; height: 32px; margin: 8px 0; }
.natural { background: linear-gradient(90deg, #14351f 33%, #dbe7b5 33% 66%, #f8faf5 66%); }
.warm { background: linear-gradient(90deg, #6c3428 33%, #d58d68 33% 66%, #f4e6d3 66%); }
.contrast { background: linear-gradient(90deg, #141414 33%, #d6bd61 33% 66%, #f7f6ee 66%); }
.type-choices label:nth-child(2) span { font-family: Georgia, serif; font-style: italic; }.type-choices label:nth-child(3) span { font-family: Georgia, serif; }.type-choices label:nth-child(4) span { font-family: cursive; }
.consent { font-weight: 400 !important; }.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
#status { color: #ffe0ad; } #summary dl { overflow-wrap: anywhere; } #summary dt { font-weight: 700; margin-top: 16px; } #summary dd { margin: 0; white-space: pre-wrap; }
#readable { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; } #results { padding: 0; list-style: none; display: grid; gap: 8px; }

/* Semilla's questionnaire follows the same surfaces and visual rhythm as the welcome. */
.semilla-shell #brief-form { max-width: none; margin: 0; padding: 0; border: 0; background: transparent; }
.semilla-shell .growth { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.semilla-shell .growth .section-tag { color: var(--lime); }
.semilla-shell #progress { color: var(--paper); font-size: 14px; font-weight: 700; }
.semilla-shell progress { display: block; height: 6px; margin-top: 20px; border: 0; background: #385846; color: var(--lime); }
.semilla-shell progress::-webkit-progress-bar { background: #385846; }
.semilla-shell progress::-webkit-progress-value { background: var(--lime); }
.semilla-shell progress::-moz-progress-bar { background: var(--lime); }
.semilla-shell .step { margin-top: 20px; }
.semilla-shell .step h2 { color: var(--paper); letter-spacing: -.035em; }
.semilla-shell .step > h2 + p { margin: 8px 0 18px; color: #d3e0d1; }
.semilla-shell .step > label, .semilla-shell .step legend, .semilla-shell .colors label { font-size: 14px; letter-spacing: .01em; }
.semilla-shell .step > label { margin: 24px 0; }
.semilla-shell .step input:not([type=radio]):not([type=checkbox]), .semilla-shell .step textarea, .semilla-shell .step select { min-height: 48px; padding: 12px 14px; border-color: #b6c6b0; border-radius: 4px; font-size: 16px; line-height: 1.5; }
.semilla-shell .step textarea { resize: vertical; }
.semilla-shell .step select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%23102c1f' stroke-width='2'%3E%3Cpath d='m5 7 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.semilla-shell .step select:disabled, .semilla-shell .step input:disabled { background-color: #d9e2d5; color: #344d3b; cursor: not-allowed; }
.semilla-shell .step :is(input,select,textarea):focus-visible, .semilla-shell .step select:focus { outline: 3px solid var(--lime); outline-offset: 3px; }
@supports (appearance: base-select) and selector(::picker(select)) {
  .semilla-shell .step select, .semilla-shell .step select::picker(select) { appearance: base-select; }
  .semilla-shell .step select { display: flex; align-items: center; justify-content: space-between; gap: 12px; background-image: none; padding-right: 14px; }
  .semilla-shell .step select::picker-icon { color: var(--forest); }
  .semilla-shell .step select:hover:not(:disabled), .semilla-shell .step select:open { border-color: #56745c; }
  .semilla-shell .step select:user-invalid { border-color: #a43e29; box-shadow: inset 0 0 0 1px #a43e29; }
  .semilla-shell .step select::picker(select) { margin-top: 4px; padding: 6px; border: 1px solid #819a84; border-radius: 4px; background: var(--paper); box-shadow: 0 12px 24px #102c1f44; }
  .semilla-shell .step option { min-height: 44px; padding: 10px 12px; border-radius: 3px; color: var(--forest); white-space: normal; overflow-wrap: anywhere; }
  .semilla-shell .step option:hover, .semilla-shell .step option:focus { background: #e1ebda; }
  .semilla-shell .step option:checked { background: #cbdcbf; font-weight: 700; }
  .semilla-shell .step option:disabled { color: #65786a; }
}
.semilla-shell .choices { gap: 12px; }
.semilla-shell .choices label { display: block; border-color: #819a84; border-radius: 4px; background: var(--forest); padding: 14px 16px; transition: border-color 160ms ease, background-color 160ms ease; }
.semilla-shell .choices label:hover, .semilla-shell .choices label:focus-within { border-color: var(--lime); }
.semilla-shell .choices label:has(input:checked) { border-color: var(--lime); background: #31563a; box-shadow: inset 0 0 0 1px var(--lime); }
.semilla-shell .choices input, .semilla-shell .consent input { accent-color: var(--lime); }
.semilla-shell .swatches { height: 40px; border-radius: 2px; }
.semilla-shell .type-choices label { min-height: 72px; }
.semilla-shell .type-choices span { font-size: 18px; }
.semilla-shell .file-notice { margin: 24px 0; padding: 16px; border: 1px solid #819a84; border-radius: 4px; background: var(--forest); }
.semilla-shell .file-notice strong { font-size: 14px; }
.semilla-shell .file-notice p { margin: 4px 0 0; color: #d3e0d1; }
.semilla-shell #category-hint:not(:empty) { padding: 14px 16px; border-left: 3px solid var(--lime); background: var(--forest); }
.semilla-shell #summary dl { margin: 24px 0; padding: 4px 20px 20px; border: 1px solid var(--line); background: var(--forest); }
.semilla-shell #summary dt { color: var(--lime); font-size: 13px; }
.semilla-shell #summary dd { margin-top: 4px; }
.semilla-shell #summary details { margin-top: 10px; border: 1px solid #819a84; border-radius: 4px; background: var(--forest); }
.semilla-shell #summary summary { padding: 16px; cursor: pointer; font-weight: 700; }
.semilla-shell #summary summary:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.semilla-shell #summary details dl { margin: 0 16px; padding: 0 0 16px; border: 0; }
.semilla-shell #summary details button { margin: 0 16px 16px; }
.semilla-shell .consent { padding: 16px; border: 1px solid #819a84; background: var(--forest); }
.semilla-shell #status:not(:empty) { padding: 12px 16px; border-left: 3px solid #ffe0ad; background: var(--forest); }
.semilla-shell .actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.semilla-shell .actions button { min-width: 0; }
.semilla-shell .actions :where(#back, #next, #submit, button[type=reset])::before { content: ''; flex: none; width: 18px; height: 18px; background: center / contain no-repeat; }
.semilla-shell .actions #back::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8faf5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 5-7 7 7 7M5 12h14'/%3E%3C/svg%3E"); }
.semilla-shell .actions :is(#next, #submit)::before { order: 1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102c1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 5 7 7-7 7M19 12H5'/%3E%3C/svg%3E"); }
.semilla-shell .actions button[type=reset]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8faf5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7L3 8m0-5v5h5'/%3E%3C/svg%3E"); }
.semilla-shell .semilla-confirmation { width: 100%; max-width: 48rem; margin: 24px auto; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); background: var(--surface); text-align: center; }
.semilla-confirmation > .ph { color: var(--lime); font-size: 40px; margin-bottom: 12px; }
.semilla-shell .step h2 .ph { color: var(--lime); margin-inline-end: .25em; }
.semilla-shell #privacidad-semilla > summary { min-height: 44px; align-content: center; cursor: pointer; }
.semilla-verification { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.semilla-verification #challenge { max-width: 100%; }
.semilla-shell .semilla-confirmation p:not(.section-tag) { margin: 24px 0; color: #d3e0d1; }
@media (max-width: 700px) { .semilla-shell #brief-form { padding: 0; }.semilla-shell .step { margin-top: 20px; }.growth__icon { width: 84px; height: 84px; }.growth__icon img { width: 54px; } }
@media (prefers-reduced-motion: reduce) { .semilla-shell .choices label, .growth__icon img { transition: none; } }

.semilla-availability { margin-top: 24px; }
.semilla-availability .notice { margin: 0 0 12px; }
.semilla-alternatives { display: flex; flex-wrap: wrap; gap: 10px; }
.semilla-shell .step .step-group,
.semilla-send {
  min-width: 0;
  margin: 18px 0;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid #6a896f;
  background: transparent;
}

.step-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.step-fields > label { min-width: 0; font-size: 14px; font-weight: 700; }
.step-fields .step-field--wide { grid-column: 1 / -1; }
.semilla-send h3 { margin-top: 0; }
.semilla-send .consent { display: flex; gap: 12px; align-items: center; min-height: 44px; }
.semilla-shell .step h2, #aviso-privacidad-semilla { scroll-margin-top: 130px; }

@media (max-width: 600px) {
  .step-fields { grid-template-columns: minmax(0, 1fr); }
}

/* Keep the questionnaire and its current step visible below the site navigation. */
.semilla-shell .growth__icon { width: 48px; height: 48px; }
.semilla-shell .growth__icon img { width: 30px; }
.semilla-availability { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 18px 0; padding: 12px 16px; border-left: 3px solid var(--lime); background: var(--surface); }
.semilla-availability:has(#contact-alternatives[hidden]) { display: none; }
.semilla-availability .notice { padding: 0; border: 0; margin: 0; font-size: 14px; flex: 1 1 380px; }
.semilla-alternatives .button { padding: 8px 12px; min-height: 44px; }
@media (max-width: 700px) {
  .semilla-welcome { grid-template-columns: minmax(0,1fr) 90px; gap: 12px; }
  .semilla-intro h1 { font-size: 36px; }
  .semilla-art__visual { min-height: 120px; }
  .semilla-orbit { width: 100%; }
  .semilla-art .semilla-mark { width: 58px; }
  .semilla-intro > p:not(.section-tag) { font-size: 15px; margin: 16px 0; }
  .semilla-shell .actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
  }
  .semilla-shell .actions button { min-height: 44px; padding-inline: 10px; }
  .semilla-shell .actions #back[hidden] ~ #next,
  .semilla-shell .actions button[type="reset"] { grid-column: 1 / -1; }
  .semilla-shell .actions button[type="reset"] { border-color: transparent; }
}

/* Privacy has one shared text, opened by the contextual links. */
.privacy-notice:not(:target) { display: none; }
.privacy-notice { margin-top: 24px; padding: 20px; border: 1px solid var(--line); background: var(--surface); scroll-margin-top: 110px; }
.privacy-notice h2 { margin: 0 0 8px; }
.semilla-shell .step-group legend i { color: var(--lime); font-size: 18px; vertical-align: middle; margin-right: 6px; }
.semilla-shell .step .step-group { margin: 14px 0; padding-top: 12px; }
.semilla-shell .step-fields { gap: 12px 16px; }
.semilla-shell .challenge-block { margin-top: 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.semilla-shell .challenge-block p { margin: 0; }
.semilla-shell .semilla-confirmation { text-align: center; }
.semilla-shell .semilla-confirmation p { margin-inline: auto; }
@media (max-width: 600px) {
  .semilla-shell .challenge-block { justify-content: center; }
  .semilla-shell .challenge-block p { flex-basis: 100%; text-align: center; }
}
.step-fields > label:has(textarea) { grid-column: 1 / -1; }
