.ea-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:22px;align-items:start}
.ea-install-panel h2,.ea-contents h2{font-size:1.5rem;margin:5px 0 12px}
.ea-install-panel>p{font-size:.79rem;line-height:1.6;color:var(--muted)}
.ea-actions{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 18px}
.ea-actions .button{min-height:44px}
.ea-actions .button[disabled]{opacity:.5;cursor:wait}
.ea-info{padding:10px 12px;border:1px solid var(--border);background:var(--card);border-radius:10px;overflow-wrap:anywhere}
.ea-status{padding:12px 13px;border-radius:10px;background:rgba(83,180,118,.075);border:1px solid rgba(83,180,118,.25);color:#bce9d0!important;font-size:.8rem!important}
.ea-status.error{background:rgba(236,61,104,.09);border-color:rgba(236,61,104,.36);color:#ffc2d2!important}
.ea-feature{display:flex;gap:11px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--border)}
.ea-feature:last-of-type{border-bottom:0}
.ea-check{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:8px;background:rgba(83,180,118,.12);color:#9be5b8;font-weight:800}
.ea-check.muted{color:var(--muted2);background:var(--card)}
.ea-feature strong,.ea-feature small{display:block}
.ea-feature strong{font-size:.83rem}
.ea-feature small{font-size:.71rem;line-height:1.5;color:var(--muted);margin-top:3px}
.ea-contents{position:sticky;top:94px}
.ea-update-guide{border:1px solid var(--border);border-radius:16px;padding:22px;background:var(--card);max-width:980px}
.ea-update-guide p{color:var(--muted);font-size:.81rem;line-height:1.7}
.ea-update-guide p:first-child{margin-top:0}
.ea-update-guide p:last-child{margin-bottom:0}
.ea-update-guide strong{color:var(--text)}
.lite-status-callout a{color:#f4a9be}
@media(max-width:950px){.ea-layout{grid-template-columns:1fr}.ea-contents{position:static}}
@media(max-width:640px){.ea-actions{display:grid;grid-template-columns:1fr}.ea-actions .button{width:100%}.ea-update-guide{padding:16px}}

/* Experimental multi-module early access */
.ea-module-grid{margin:14px 0;grid-template-columns:repeat(2,minmax(0,1fr))}
.ea-code-label{display:block;font-size:.74rem;color:var(--muted);margin-top:15px;margin-bottom:7px}
.ea-code-input{min-height:88px;font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}
.ea-module-grid .lite-module-copy{display:block;flex:1;min-width:0}
.ea-module-grid .lite-module-check{flex-shrink:0}
.ea-module-grid .lite-module-title{display:flex;flex-wrap:wrap;justify-content:space-between}
.ea-module-grid .lite-module-title small{white-space:normal}
@media(max-width:670px){.ea-module-grid{grid-template-columns:1fr}}


/* Individual-feature chooser — early access */
.ea-feature-toolbar{display:flex;flex-direction:column;gap:9px;margin-bottom:16px}
.ea-search-label,.ea-code-label{font-size:.74rem;color:var(--muted)}
.ea-feature-search{width:100%;min-height:45px;border:1px solid var(--border2);background:var(--card);color:var(--text);border-radius:12px;padding:11px 13px;font-size:.83rem}
.ea-category-nav{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0;max-height:188px;overflow-y:auto}
.ea-filter-button.button{min-height:35px;padding:6px 10px;font-size:.76rem;border-radius:999px;color:var(--text)}
.ea-filter-button.active{border-color:rgba(236,61,104,.5);background:rgba(236,61,104,.12);color:#ffc8d5}
.ea-only-selected{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.8rem;margin-bottom:10px;cursor:pointer}
.ea-only-selected input{width:16px;height:16px;accent-color:var(--red)}
.ea-selected-summary{font-size:.77rem;color:var(--muted);margin:10px 0}
.ea-feature-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:560px;overflow-y:auto;overflow-x:hidden;padding:1px 4px 4px 1px}
.ea-feature-row{display:flex;align-items:center;gap:10px;background:var(--card);border:1px solid var(--border);border-radius:12px;padding:12px;min-width:0;cursor:pointer;transition:.15s}
.ea-feature-row.selected{border-color:rgba(236,61,104,.4);background:rgba(236,61,104,.055)}
.ea-feature-row:hover{border-color:var(--border2)}
.ea-feature-row>input{width:18px;height:18px;flex-shrink:0;accent-color:var(--red);cursor:pointer}
.ea-feature-body{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px;overflow-wrap:anywhere}
.ea-feature-body strong{font-size:.78rem;line-height:1.3}
.ea-feature-body small{font-size:.68rem;color:var(--muted)}
.ea-feature-info{border:1px solid var(--border);background:transparent;color:var(--muted);border-radius:8px;padding:6px 9px;font-size:.72rem;cursor:pointer}
.ea-feature-info:hover{background:rgba(255,255,255,.05)}
.ea-feature-detail{margin:14px 0 0;padding:16px;border-radius:12px;border:1px solid var(--border2);background:var(--card);font-size:.75rem;line-height:1.6}
.ea-feature-detail h3{margin:0 0 9px}
.ea-feature-detail p{color:var(--muted);margin:0 0 9px}
.ea-recipe-area{margin-top:18px}
.ea-recipe-area h2{font-size:1.4rem}
.ea-recipe-area>p{color:var(--muted);font-size:.77rem}
.ea-recipe-details{margin:12px 0}
.ea-recipe-details summary{cursor:pointer;font-size:.75rem;color:var(--muted2);margin-bottom:9px}
.ea-recipe-area .lite-file-label{margin-top:14px}
.ea-actions-stacked{display:flex;flex-direction:column;gap:9px}
.ea-actions-stacked .button{width:100%;min-height:42px}
.ea-subtle-rule{height:1px;background:var(--border);margin:18px 0}
.ea-guide-after{margin-top:20px}
.ea-guide-after h3{font-size:1.1rem;margin:0 0 10px}
@media(max-width:680px){.ea-feature-list{grid-template-columns:1fr;max-height:490px}.ea-category-nav{max-height:240px}}

/* Custom feature selection and actual package contents */
.ea-category-actions{display:flex;flex-wrap:wrap;gap:8px;margin:-2px 0 15px}
.ea-category-actions[hidden]{display:none}
.ea-category-actions .button{font-size:.73rem;min-height:36px}
.ea-build-breakdown{margin:16px 0;padding:14px;border-radius:12px;border:1px solid var(--border);background:var(--card)}
.ea-build-breakdown>strong{display:block;margin-bottom:10px;font-size:.82rem}
.ea-build-breakdown .lite-summary-note{margin-top:12px;margin-bottom:0;font-size:.69rem;line-height:1.5}
.ea-build-stat{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:7px 0;font-size:.75rem}
.ea-build-stat+.ea-build-stat{border-top:1px solid var(--border)}
.ea-build-stat span{color:var(--muted)}
.ea-build-stat strong{font-variant-numeric:tabular-nums;white-space:nowrap}

/* Dark-theme legibility: never rely on Dark Reader to color controls. */
.ea-actions .button,.ea-category-actions .button{color:var(--text)}
.ea-filter-button.button.active{color:#ffd2de}
.ea-feature-search::placeholder{color:#aa9aa2;opacity:1}
.ea-filter-button:focus-visible,.ea-actions .button:focus-visible,.ea-category-actions .button:focus-visible,.ea-feature-info:focus-visible,.ea-feature-search:focus-visible{outline:2px solid #ff94ae;outline-offset:3px}
.ea-feature-row:focus-within{border-color:#ff94ae}
