.cemi-home{--home-bg:#071522;--home-panel:#102338;--home-line:#29445c;--home-text:#f5f7fa;--home-muted:#a9bac9;--home-accent:#de176c;color:var(--home-text)}
.cemi-home *{box-sizing:border-box}
.cemi-home-shell{width:min(1480px,calc(100% - 40px));margin:0 auto;padding:32px 0 72px}
.cemi-home-heading{margin-bottom:24px}
.cemi-home-heading h1,.cemi-home-section h2{margin:4px 0 8px;letter-spacing:0}
.cemi-home-heading p,.cemi-home-section p{color:var(--home-muted)}
.cemi-home-section{margin-top:28px}
.cemi-home-section>header{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:16px}
.cemi-home-search-panel,.cemi-home-panel,.cemi-home-tool,.cemi-home-team,.cemi-home-market-form{border:1px solid var(--home-line);background:var(--home-panel);border-radius:6px;padding:18px}
.cemi-home-search-panel>label{display:block;font-weight:700;margin-bottom:8px}
.cemi-home-search-panel input{width:100%;min-height:48px;border:1px solid var(--home-line);background:var(--home-bg);color:var(--home-text);padding:0 14px}
.cemi-home-search-results{display:none;margin-top:8px;border-top:1px solid var(--home-line)}
.cemi-home-search-results[data-state="visible"]{display:block}
.cemi-home-search-results section{padding-top:12px}
.cemi-home-search-results h3{font-size:12px;color:var(--home-muted);margin:0 0 6px}
.cemi-home-search-results a{display:block;padding:10px;color:var(--home-text);text-decoration:none}
.cemi-home-search-results a:hover,.cemi-home-search-results a:focus{background:#17334e}
.cemi-home-search-filters{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.cemi-home-search-filters button{border:1px solid var(--home-line);background:transparent;color:var(--home-text);padding:8px 12px}
.cemi-home-search-filters button[aria-pressed="true"]{background:var(--home-accent);border-color:var(--home-accent)}
.cemi-home-dashboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:24px}
.cemi-home-panel{min-height:130px}
.cemi-home-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.cemi-home-tool{display:flex;flex-direction:column;justify-content:space-between;min-height:220px}
.cemi-home-tool h3{font-size:18px;margin:16px 0 8px}
.cemi-home-tool small{color:var(--home-muted)}
.cemi-home-tool>a,.cemi-home-actions>a,.cemi-home-action{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid var(--home-line);color:var(--home-text);text-decoration:none;padding:9px 13px;margin-top:16px}
.cemi-home-status{display:inline-flex;width:max-content;padding:5px 8px;border-radius:4px;background:#1c3c52;color:#d9e7ef;font-size:12px}
.cemi-home-status[data-status="available"]{background:#075f50;color:#d7fff6}
.cemi-home-status[data-status="development"]{background:#493756;color:#f0dffc}
.cemi-home-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.cemi-home-action{display:flex;align-items:flex-start;flex-direction:column}
.cemi-home-action span{color:var(--home-muted);margin-top:4px}
.cemi-home-alerts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.cemi-home-alerts a{display:grid;border-left:3px solid #e34c62;background:var(--home-panel);color:var(--home-text);padding:16px;text-decoration:none}
.cemi-home-alerts strong{font-size:26px}.cemi-home-alerts small{color:var(--home-muted)}
.cemi-home-empty{color:var(--home-muted);padding:10px 0}
.cemi-home-team{display:flex;align-items:center;justify-content:space-between;gap:30px}
.cemi-home-market-list{display:grid;gap:8px}
.cemi-home-market-list article{display:flex;justify-content:space-between;gap:16px;border:1px solid var(--home-line);padding:14px}
.cemi-home-market-list article div{display:grid}
.cemi-home-market-list article div span{color:var(--home-muted)}
.cemi-home-market-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cemi-home-market-form label{display:grid;gap:6px;font-weight:700}
.cemi-home-market-form input,.cemi-home-market-form select,.cemi-home-market-form textarea{width:100%;border:1px solid var(--home-line);background:var(--home-bg);color:var(--home-text);padding:10px}
.cemi-home-market-form .is-wide,.cemi-home-market-form__actions{grid-column:1/-1}
.cemi-home-market-form__actions{display:flex;gap:10px}
.cemi-home-market-form button{min-height:42px;border:0;background:var(--home-accent);color:#fff;padding:10px 16px}
@media(max-width:1000px){.cemi-home-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.cemi-home-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.cemi-home-shell{width:min(100% - 24px,1480px)}.cemi-home-dashboard,.cemi-home-tools,.cemi-home-actions,.cemi-home-alerts,.cemi-home-market-form{grid-template-columns:1fr}.cemi-home-market-form .is-wide,.cemi-home-market-form__actions{grid-column:auto}.cemi-home-team,.cemi-home-section>header{align-items:stretch;flex-direction:column}.cemi-home-market-form__actions{flex-direction:column}}
