/* EA-07. Deliberately scoped: neutralize theme button rules only within the audit. */
.ea-landing .ea-cta,#ea-app .ea-button,.ea-landing .cookies-accept-btn {
 appearance:none;display:inline-flex;position:relative;align-items:center;justify-content:center;gap:12px;min-height:50px;max-width:100%;height:auto;padding:12px 22px;border:1px solid #cdd6e0;border-radius:6px;background:#f4f6f8;color:#283543;font:600 16px/24px Arial,Helvetica,sans-serif;text-align:center;text-transform:none;letter-spacing:0;text-decoration:none;white-space:normal;overflow-wrap:anywhere;box-shadow:none;transform:none;transition:background-color .15s,border-color .15s,color .15s;cursor:pointer;
}
.ea-landing .ea-cta,#ea-app .ea-button.primary,.ea-landing .cookies-accept-btn{background:#205cdc;border-color:#205cdc;color:#fff}
.ea-landing .ea-cta:hover,#ea-app .ea-button.primary:hover,.ea-landing .cookies-accept-btn:hover{background:#174cbd;border-color:#174cbd;color:#fff}
#ea-app .ea-button:hover{background:#e9eef4;border-color:#b2bfce;box-shadow:none;transform:none}
#ea-app .ea-button:active,.ea-landing .ea-cta:active{background:#dce4ed;transform:none;box-shadow:none}
#ea-app .ea-button.primary:active,.ea-landing .ea-cta:active{background:#123e9d;border-color:#123e9d}
#ea-app .ea-button:focus-visible,.ea-landing .ea-cta:focus-visible,.ea-landing .cookies-accept-btn:focus-visible{outline:3px solid #205cdc;outline-offset:4px}
#ea-app .ea-button:disabled{opacity:.55;cursor:not-allowed}
#ea-app .ea-button.is-loading{color:transparent!important;opacity:.8;cursor:wait}
#ea-app .ea-button.is-loading::after{content:'';position:absolute;width:18px;height:18px;border:2px solid #ffffff70;border-top-color:white;border-radius:50%;animation:ea-spin .8s linear infinite;inset:auto;margin:0}
@keyframes ea-spin{to{transform:rotate(360deg)}}
#ea-app .ea-button.small{min-height:44px;padding:9px 12px;font-size:14px;line-height:24px;background:transparent;border-color:transparent;color:#526174;flex-shrink:0}
#ea-app .ea-button.small:hover{background:#edf1f6;color:#243951}
.ea-landing .ea-cta{margin:10px 0 16px;gap:24px}
.ea-landing .ea-cta span{font-size:18px}
#ea-app .file-input{display:none}
#ea-app .file-info{display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}
#ea-app .file-info .hint{margin:0;font-size:13px}
#ea-app .file-picker{margin-top:2px}
#ea-app .actions .primary{min-width:220px}
#ea-app .actions{min-height:74px}
#ea-app .option{border-color:#dce3ea;border-radius:6px;background:#f8fafc}
#ea-app .option:has(input:checked){box-shadow:none;background:#edf3ff;border-color:#205cdc}
#ea-app input:not([type=checkbox]):not([type=radio]),#ea-app select,#ea-app textarea{border-radius:6px;border-color:#c5d0dd}
#ea-app .consent-panel{margin:32px 0 0;padding:26px 0 0;border-top:1px solid var(--ea-line);border-bottom:0}
#ea-app .consent-panel h3{font-size:20px;margin-bottom:12px}
#ea-app .consent-panel .option{background:transparent;border:0;padding:8px 0;box-shadow:none}
#ea-app .consent-links{margin:8px 0 0;gap:0 24px;line-height:1.5}
#ea-app .consent-links a{text-decoration:underline;min-height:44px}
#ea-app .error:empty{display:none}
#ea-app .step-heading .hint{font-size:14px}
#ea-app .module-footer{font-size:13px;line-height:1.6;max-width:780px;margin-top:24px}
#ea-app .progress{gap:16px;padding-bottom:18px}
.ea-landing .ea-report-preview{background:#f8fafc;border:0;border-radius:8px;padding:28px}
.ea-landing .ea-report-preview li{font-size:14px}
.ea-landing .ea-report-preview>p{font-size:12px}
.ea-landing .ea-overline{letter-spacing:.08em}
@media(max-width:767px){#ea-app .actions .primary{min-width:0;flex:1}#ea-app .actions .ea-button{padding:12px 16px}#ea-app .consent-links a{padding:7px 0}#ea-app .consent-panel{margin-top:26px;padding-top:22px}.ea-landing .ea-report-preview{padding:22px}#ea-app .progress{display:none}}
@media(max-width:359px){#ea-app .actions{flex-wrap:wrap}#ea-app .actions .ea-button{width:100%;flex:auto}}
@media(prefers-reduced-motion:reduce){#ea-app .ea-button,.ea-landing .ea-cta{transition:none}#ea-app .ea-button.is-loading::after{animation:none}}
/* These footer containers already have a full-width parent. WoodMart's viewport
   stretch subtracts the scrollbar again and adds a left offset + auto margins.
   Use that existing parent's width; retain Elementor's inner content container. */
.ea-audit-route .elementor-location-footer > .e-con.wd-section-stretch{width:100%;min-width:0;max-width:100%;left:0;margin-inline:0}

#ea-app .document-actions .file:last-child{border-bottom:0}
#ea-app .discussion .consent-panel{border-top:0;margin-top:12px;padding-top:10px}
/* EA-09 final actions, within the existing site container. */
#ea-app .action-choices{border:0;padding:0;margin:18px 0;display:grid;gap:10px;min-width:0}
#ea-app .action-choices legend{padding:0 0 12px}
#ea-app .action-choices .option{margin:0;justify-content:flex-start}
#ea-app .discussion textarea{min-height:110px;max-height:320px;resize:vertical;margin:10px 0 6px}
#ea-app .discussion label{font-weight:500}
#ea-app .final-confirmation{max-width:100%;padding-block:36px}
#ea-app .final-title{font-size:clamp(25px,3vw,36px);line-height:1.2;margin:0 0 22px;max-width:900px}
#ea-app .final-confirmation>p{max-width:850px}
#ea-app .final-accent{font-size:20px;font-weight:600;color:#205cdc;margin:22px 0}
#ea-app .diagnosis-reference{font-weight:600;margin:22px 0}
#ea-app .final-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 10px}
#ea-app .final-links{display:flex;flex-wrap:wrap;align-items:center;gap:4px 24px;margin:4px 0}
#ea-app .final-links>a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline}
#ea-app .final-links .ea-button.small{padding-inline:0}
#ea-app .useful-materials{border-top:1px solid var(--ea-line);padding-top:24px;margin-top:24px;scroll-margin-top:30px}
#ea-app .useful-materials h3{font-size:20px;margin:0 0 16px}
#ea-app .useful-materials ul{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px;margin:0}
#ea-app .useful-materials li{margin:0;font-size:15px;line-height:1.5;min-width:0}
#ea-app .useful-materials a{font-weight:600;text-decoration:underline}
#ea-app .useful-materials p{font-size:14px;color:#596571;margin:6px 0 0}
#ea-app .download-notice:empty{display:none}
#ea-app .download-notice:not(:empty){border-left:3px solid #205cdc;background:#f4f7fb;padding:16px 20px;margin:20px 0}
#ea-app .download-notice h3{font-size:19px;margin:0 0 8px}
#ea-app .download-notice p{margin:0 0 6px}
.ea-landing:has(#ea-app[data-final="true"])>.ea-hero,.ea-landing:has(#ea-app[data-final="true"])>.ea-scope,.ea-landing:has(#ea-app[data-final="true"])>.ea-expert,.ea-landing:has(#ea-app[data-final="true"])>.ea-form-heading,.ea-landing:has(#ea-app[data-final="true"])>.ea-method-note{display:none}
@media(max-width:767px){#ea-app .final-confirmation{padding-block:24px}#ea-app .useful-materials ul{grid-template-columns:1fr}#ea-app .final-actions{flex-direction:column}#ea-app .final-actions .ea-button{width:100%}#ea-app .final-accent{font-size:18px}}
#ea-app .final-actions{align-items:flex-start}
#ea-app .final-actions .download{margin:0}
#ea-app #ea-result-detail,#ea-app .useful-materials,#ea-app .discussion{scroll-margin-top:110px}
