/* G-P08 Ecommerce CRO Audit Tool – all selectors scoped to .ecro-shell */
.ecro-shell{--ecro-ink:#173b35;--ecro-muted:#5c6c68;--ecro-line:#d9e2de;--ecro-soft:#f4f8f6;--ecro-accent:#b7832f;--ecro-danger:#a33a32;color:var(--ecro-ink);background:#fff;border:1px solid var(--ecro-line);border-radius:18px;padding:clamp(16px,3vw,30px);font-family:inherit;line-height:1.65;box-sizing:border-box;max-width:100%;}
.ecro-shell *{box-sizing:border-box;}
.ecro-shell button,.ecro-shell input,.ecro-shell select,.ecro-shell textarea{font:inherit;max-width:100%;}
.ecro-shell h2,.ecro-shell h3,.ecro-shell h4{color:var(--ecro-ink);line-height:1.35;margin:0 0 12px;font-weight:750;}
.ecro-shell h2{font-size:clamp(1.35rem,2.4vw,1.9rem);}
.ecro-shell h3{font-size:1.18rem;}
.ecro-shell h4{font-size:1rem;}
.ecro-shell p{margin:0 0 12px;}
.ecro-shell .ecro-header{padding:0 0 20px;border-bottom:1px solid var(--ecro-line);margin-bottom:18px;}
.ecro-shell .ecro-eyebrow{font-size:.76rem;letter-spacing:.12em;font-weight:800;color:var(--ecro-accent);margin-bottom:8px;}
.ecro-shell .ecro-header>p{font-size:1rem;color:var(--ecro-muted);max-width:70ch;}
.ecro-shell .ecro-privacy{background:var(--ecro-soft);border-inline-start:4px solid var(--ecro-accent);padding:11px 14px;border-radius:8px;color:#334a44;font-size:.9rem;margin-top:14px;}
.ecro-shell .ecro-form{display:block;}
.ecro-shell .ecro-section{padding:20px 0;border-bottom:1px solid var(--ecro-line);}
.ecro-shell .ecro-grid{display:grid;gap:14px;}
.ecro-shell .ecro-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}
.ecro-shell label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:.92rem;font-weight:650;color:var(--ecro-ink);}
.ecro-shell label>span{display:block;}
.ecro-shell input[type=text],.ecro-shell input[type=date],.ecro-shell input[type=number],.ecro-shell select,.ecro-shell textarea{width:100%;min-width:0;border:1px solid #b9c9c2;border-radius:9px;padding:10px 11px;background:#fff;color:#1c302b;min-height:44px;}
.ecro-shell textarea{min-height:68px;resize:vertical;}
.ecro-shell input:focus-visible,.ecro-shell select:focus-visible,.ecro-shell textarea:focus-visible,.ecro-shell button:focus-visible{outline:3px solid rgba(183,131,47,.55);outline-offset:2px;border-color:var(--ecro-accent);}
.ecro-shell .ecro-wide{grid-column:1/-1;}
.ecro-shell .ecro-help,.ecro-shell .ecro-muted{color:var(--ecro-muted);font-size:.9rem;}
.ecro-shell .ecro-stage{margin-top:18px;padding:16px;background:#fbfdfc;border:1px solid var(--ecro-line);border-radius:13px;}
.ecro-shell .ecro-stage h3{padding-bottom:10px;border-bottom:1px solid var(--ecro-line);}
.ecro-shell .ecro-item{min-width:0;margin:12px 0 0;padding:13px;border:1px solid #e0e8e4;border-radius:10px;background:#fff;}
.ecro-shell .ecro-item legend{padding:0 5px;font-weight:750;max-width:100%;white-space:normal;}
.ecro-shell .ecro-item-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;}
.ecro-shell .ecro-item-grid label{font-size:.84rem;}
.ecro-shell .ecro-item-grid textarea{font-size:.9rem;}
.ecro-shell .ecro-check{display:flex;flex-direction:row;align-items:flex-start;gap:10px;margin:14px 0;font-weight:600;}
.ecro-shell .ecro-check input{width:20px;height:20px;flex:0 0 auto;margin-top:3px;accent-color:var(--ecro-ink);}
.ecro-shell .ecro-inline-actions{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0;}
.ecro-shell .ecro-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 15px;border:1px solid transparent;border-radius:9px;font-weight:750;cursor:pointer;text-decoration:none;transition:background .15s ease,border-color .15s ease,transform .15s ease;}
.ecro-shell .ecro-button:hover{transform:translateY(-1px);}
.ecro-shell .ecro-button.primary{background:var(--ecro-ink);color:#fff;}
.ecro-shell .ecro-button.secondary{background:#edf3f0;color:var(--ecro-ink);border-color:#cbd8d2;}
.ecro-shell .ecro-button.ghost{background:#fff;color:var(--ecro-ink);border-color:#cbd8d2;}
.ecro-shell .ecro-button.danger{background:#fff4f2;color:var(--ecro-danger);border-color:#e6c5c1;}
.ecro-shell .ecro-button.small{min-height:38px;padding:6px 11px;align-self:flex-start;}
.ecro-shell .ecro-output{margin-top:12px;padding:15px;border:1px solid var(--ecro-line);border-radius:11px;background:#fff;overflow-wrap:anywhere;}
.ecro-shell .ecro-output ul{margin:8px 0 0;padding-inline-start:22px;}
.ecro-shell .ecro-output li{margin:5px 0;}
.ecro-shell .ecro-error,.ecro-shell .ecro-warning{color:var(--ecro-danger);font-weight:700;}
.ecro-shell .ecro-rate{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:12px 14px;background:var(--ecro-soft);border-radius:10px;margin:8px 0;}
.ecro-shell .ecro-rate strong{font-size:1.7rem;color:var(--ecro-ink);font-variant-numeric:tabular-nums;}
.ecro-shell .ecro-stage-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.ecro-shell .ecro-stage-count{min-width:0;background:#fbfdfc;border:1px solid var(--ecro-line);border-radius:10px;padding:12px;display:grid;gap:10px;}
.ecro-shell .ecro-stage-count strong{font-size:.95rem;}
.ecro-shell .ecro-stage-count label{font-size:.83rem;}
.ecro-shell .ecro-table-wrap{max-width:100%;overflow-x:auto;}
.ecro-shell table{width:100%;border-collapse:collapse;font-size:.86rem;}
.ecro-shell th,.ecro-shell td{padding:9px 8px;text-align:start;border-bottom:1px solid var(--ecro-line);vertical-align:top;}
.ecro-shell th{background:var(--ecro-soft);font-weight:800;}
.ecro-shell .ecro-findings-list,.ecro-shell .ecro-suggestions{padding-inline-start:22px;}
.ecro-shell .ecro-findings-list>li{padding:10px 0;border-bottom:1px solid #e8eeeb;}
.ecro-shell .ecro-finding-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap;}
.ecro-shell .ecro-state{display:inline-block;padding:2px 9px;border-radius:20px;font-size:.78rem;font-weight:800;background:#f4e7e4;color:#7c2b25;}
.ecro-shell .ecro-state.verify{background:#fff2d9;color:#76510f;}
.ecro-shell .ecro-test-idea{margin:12px 0;padding:10px 12px;background:var(--ecro-soft);border-radius:9px;}
.ecro-shell .ecro-experiment-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0;padding:14px;border:1px solid var(--ecro-line);border-radius:12px;background:#fbfdfc;}
.ecro-shell .ecro-experiment-row label{font-size:.84rem;}
.ecro-shell .ecro-experiment-row .ecro-button{grid-column:1/-1;}
.ecro-shell .ecro-action-grid{display:flex;flex-wrap:wrap;gap:9px;}
.ecro-shell .ecro-status{margin-top:12px;font-weight:700;color:var(--ecro-ink);}
@media(max-width:700px){.ecro-shell .ecro-grid.two,.ecro-shell .ecro-item-grid,.ecro-shell .ecro-stage-counts,.ecro-shell .ecro-experiment-row{grid-template-columns:minmax(0,1fr);}.ecro-shell .ecro-stage{padding:12px;}.ecro-shell .ecro-item{padding:10px;}.ecro-shell .ecro-rate{align-items:flex-start;flex-direction:column;}}
@media(prefers-reduced-motion:reduce){.ecro-shell .ecro-button{transition:none;}.ecro-shell .ecro-button:hover{transform:none;}}
@media print{.ecro-shell{border:0;padding:0;font-size:10pt;}.ecro-shell .ecro-button,.ecro-shell .ecro-inline-actions,.ecro-shell .ecro-actions,.ecro-shell .ecro-status{display:none!important;}.ecro-shell .ecro-section,.ecro-shell .ecro-stage,.ecro-shell .ecro-item,.ecro-shell .ecro-output{break-inside:avoid;}.ecro-shell textarea,.ecro-shell input,.ecro-shell select{border:0!important;padding:2px 0!important;min-height:0!important;}.ecro-shell .ecro-experiment-row{break-inside:avoid;}}
