.gfe-tool {
    --gfe-accent: #185e56;
    --gfe-border: #c9d5d0;
    --gfe-wash: #eef4f0;
    --gfe-muted: #465750;
    max-width: 1080px;
    margin: auto;
    padding: clamp(32px, 6vw, 76px) clamp(20px, 5vw, 48px) 80px;
}
.gfe-tool h1, .gfe-tool h2, .gfe-tool legend { font-family: 'Space Grotesk', sans-serif; }
.gfe-tool :focus-visible { outline: 2px solid var(--gfe-accent); outline-offset: 3px; }
.gfe-tool-hero { max-width: 760px; margin-bottom: clamp(32px, 5vw, 54px); }
.gfe-tool-hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.03; letter-spacing: -.035em; margin: 0 0 18px; }
.gfe-tool-hero p, .gfe-plan p { margin: 0; color: var(--gfe-muted); }
.gfe-tool-hero p { font-size: clamp(17px, 2vw, 20px); max-width: 650px; }
.gfe-tool fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.gfe-tool legend, .gfe-tool h2 { font-size: clamp(23px, 3vw, 30px); line-height: 1.15; font-weight: 700; margin: 0 0 16px; padding: 0; }
.gfe-templates, .gfe-fields, .gfe-lower { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gfe-template-option {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 14px;
    color: var(--gfe-muted);
    background: #f8faf9;
    border: 1px solid var(--gfe-border);
    border-radius: 4px;
    cursor: pointer;
}
.gfe-template-option:has(input:checked) { background: var(--gfe-wash); border-color: var(--gfe-accent); box-shadow: inset 0 0 0 1px var(--gfe-accent); }
.gfe-template-option img { display: block; width: 100%; height: auto; border: 1px solid var(--gfe-border); }
.gfe-option-copy { display: grid; gap: 6px; font-size: 14px; line-height: 1.45; }
.gfe-option-title { display: flex; gap: 8px; align-items: baseline; font-weight: 700; font-size: 17px; color: #24342d; }
.gfe-option-title input { margin: 0; accent-color: var(--gfe-accent); }
.gfe-details { margin-block: 26px 38px; padding: clamp(18px, 3.5vw, 34px); border: 1px solid var(--gfe-border); border-top: 2px solid var(--gfe-accent); }
.gfe-fields { gap: 16px 20px; }
.gfe-full { grid-column: 1 / -1; }
.gfe-field { display: block; min-width: 0; font-weight: 600; font-size: 14px; }
.gfe-field input { display: block; width: 100%; min-width: 0; min-height: 44px; margin: 4px 0; padding: 8px 10px; border: 1px solid #9caea5; border-radius: 3px; background: #fdfefd; color: #24342d; font: inherit; font-size: 16px; font-weight: 400; }
.gfe-field input[type=file] { padding: 7px; font-size: 14px; }
.gfe-color-controls { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 8px; }
.gfe-field .gfe-color-picker { padding: 4px; cursor: pointer; }
.gfe-field input[aria-invalid=true] { border-color: #a12529; }
.gfe-required, .gfe-hint, .gfe-error { font-size: 13px; font-weight: 400; }
.gfe-hint, .gfe-required { color: var(--gfe-muted); }
.gfe-error { color: #8c2026; }
.gfe-actions { margin-top: 20px; }
.gfe-actions p { margin: 0 0 8px; }
.gfe-actions p:empty { display: none; }
.gfe-actions button { min-height: 48px; padding: 10px 18px; border: 0; border-radius: 3px; color: #fdfefd; background: var(--gfe-accent); font: inherit; font-weight: 700; cursor: pointer; }
.gfe-actions button:hover { background: #104a43; }
.gfe-actions button:disabled { opacity: .65; cursor: default; }
#gfe-status, #gfe-request-error { margin-top: 10px; }
.gfe-lower { gap: 24px clamp(24px, 5vw, 52px); align-items: start; }
.gfe-downloads { list-style: none; padding: 0; margin: 0; }
.gfe-downloads a { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 11px 0; border-top: 1px solid var(--gfe-border); font-weight: 600; }
.gfe-downloads span { color: var(--gfe-muted); font-weight: 400; font-size: 13px; white-space: nowrap; }
.gfe-tool a { color: var(--gfe-accent); text-underline-offset: 3px; }
.gfe-use { background: var(--gfe-wash); padding: 22px; }
.gfe-use p, .gfe-use ul { margin: 0; }
.gfe-use ul { padding-left: 20px; margin-top: 9px; }
.gfe-use li + li { margin-top: 5px; }
.gfe-plan { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-block: 40px; padding-block: 22px; border-block: 1px solid var(--gfe-border); }
.gfe-plan h2 { margin-bottom: 8px; }
.gfe-plan a { font-weight: 700; }
.gfe-faq { max-width: 700px; }
.gfe-faq details { border-bottom: 1px solid var(--gfe-border); }
.gfe-faq summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.gfe-faq p { margin: 0 0 12px; color: var(--gfe-muted); }
@media (max-width: 660px) {
    .gfe-templates, .gfe-fields, .gfe-lower { grid-template-columns: 1fr; }
    .gfe-template-option { grid-template-columns: 61px minmax(0, 1fr); }
    .gfe-actions button { width: 100%; }
}
