.em-page{padding-bottom:64px}
.em-breadcrumb{padding:22px 0 18px;display:flex;gap:9px;color:var(--muted);font-size:.87rem}.em-breadcrumb a{color:var(--primary);font-weight:700}
.em-heading{display:flex;gap:16px;align-items:center;padding:8px 0 24px}.em-icon{width:64px;height:64px;display:grid;place-items:center;border-radius:16px;background:#eef8f3;font-size:2rem}.em-heading h1{margin:0;font-size:clamp(2rem,5vw,3rem);letter-spacing:-.045em}.em-heading p{margin:7px 0 0;color:var(--muted)}.em-promo{margin-bottom:18px}
.em-workspace{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(300px,.8fr);border:1px solid var(--border);border-radius:20px;background:#fff;overflow:hidden}.em-main{padding:20px;border-right:1px solid var(--border)}
.em-dropzone{min-height:300px;padding:35px 20px;display:grid;place-items:center;align-content:center;text-align:center;border:2px dashed #b5c3d0;border-radius:16px;background:#fbfcfd;cursor:pointer}.em-dropzone.drag-over{border-color:var(--primary);background:#f4fbf8}.em-image-icon{width:76px;height:76px;display:grid;place-items:center;border:2px solid #aab7c4;border-radius:14px;color:#176c57;font-weight:900}.em-dropzone h2{margin:16px 0 5px}.em-dropzone p{margin:0 0 20px;color:var(--muted);max-width:600px}.em-select,.em-primary{border:0;border-radius:12px;padding:13px 20px;background:#e72727;color:#fff;font-weight:850;cursor:pointer}
.em-viewer{padding:18px;border:1px solid var(--border);border-radius:14px}.em-section-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.em-section-title h2{margin:0;font-size:1.05rem}.em-section-title p{margin:4px 0 0;color:var(--muted);font-size:.76rem}.em-section-title>button,.em-top-actions button,.em-table-actions button{border:1px solid var(--border);border-radius:9px;padding:8px 10px;background:#fff;color:var(--primary);font-weight:800}
.em-preview-grid{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);gap:15px;margin-top:15px}.em-preview{min-height:280px;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:#17201d;color:#dce5e1;text-align:center;padding:12px}.em-preview img{max-width:100%;max-height:410px}.em-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-content:start}.em-overview-card{padding:12px;border:1px solid var(--border);border-radius:10px;background:#fafcfb}.em-overview-card span,.em-overview-card strong{display:block}.em-overview-card span{color:var(--muted);font-size:.67rem;text-transform:uppercase;letter-spacing:.04em}.em-overview-card strong{margin-top:4px;font-size:.84rem;overflow-wrap:anywhere}
.em-gps-warning{margin-top:15px;padding:14px;display:flex;justify-content:space-between;gap:14px;align-items:center;border:1px solid #efcf9d;border-radius:11px;background:#fff8e8}.em-gps-warning strong{font-size:.86rem}.em-gps-warning p{margin:4px 0 0;color:#765e2b;font-size:.74rem}.em-gps-warning a{white-space:nowrap;padding:9px 11px;border-radius:8px;background:#fff;color:#806019;font-weight:800;text-decoration:none}
.em-panel{margin-top:18px;padding-top:17px;border-top:1px solid var(--border)}.em-thumbnail{margin-top:12px;padding:12px;display:grid;place-items:center;border-radius:10px;background:#f5f7f6}.em-thumbnail img{max-width:320px;max-height:240px}
.em-top-actions,.em-table-actions{display:flex;gap:7px;flex-wrap:wrap}.em-table-actions input{min-width:210px;padding:8px 10px;border:1px solid var(--border);border-radius:9px}
.em-groups{display:grid;gap:13px;margin-top:14px}.em-group{border:1px solid var(--border);border-radius:11px;overflow:hidden}.em-group-head{padding:11px 13px;display:flex;justify-content:space-between;background:#f7faf8}.em-group-head strong{font-size:.84rem}.em-group-head span{color:var(--muted);font-size:.7rem}.em-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.em-field{position:relative;padding:11px 38px 11px 13px;border-top:1px solid var(--border)}.em-field:nth-child(odd){border-right:1px solid var(--border)}.em-field small,.em-field strong{display:block}.em-field small{color:var(--muted);font-size:.66rem}.em-field strong{margin-top:3px;font-size:.78rem;overflow-wrap:anywhere}.em-field button{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;border-radius:6px;background:#eef6f3;color:var(--primary);font-size:.7rem;padding:5px}
.em-table-wrap{margin-top:12px;max-height:580px;overflow:auto;border:1px solid var(--border);border-radius:10px}.em-table{width:100%;border-collapse:collapse}.em-table th,.em-table td{padding:9px 10px;text-align:left;border-bottom:1px solid var(--border);vertical-align:top}.em-table th{position:sticky;top:0;background:#f7faf8;font-size:.72rem;z-index:1}.em-table td{font-size:.72rem}.em-table td:first-child{font-weight:800;width:30%;overflow-wrap:anywhere}.em-table td:nth-child(2){overflow-wrap:anywhere;white-space:pre-wrap}.em-table td button{border:0;border-radius:6px;background:#eef6f3;color:var(--primary);padding:5px 7px;font-size:.67rem}
.em-panel pre{margin:12px 0 0;max-height:620px;overflow:auto;padding:14px;border-radius:10px;background:#17201d;color:#e9f5ef;font-size:.72rem;white-space:pre-wrap;overflow-wrap:anywhere}
.em-clean-link{padding:10px 13px;border-radius:9px;background:#eef6f3;color:var(--primary);font-weight:850;text-decoration:none;white-space:nowrap}
.em-how{margin-top:20px;padding:18px;border:1px solid var(--border);border-radius:14px}.em-how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.em-how-grid article{display:flex;gap:10px}.em-how-grid article>span{width:28px;height:28px;display:grid;place-items:center;flex:0 0 28px;border-radius:50%;background:var(--primary);color:#fff;font-weight:900}.em-how-grid h3{margin:1px 0 4px;font-size:.86rem}.em-how-grid p{margin:0;color:var(--muted);font-size:.78rem}
.em-sidebar{padding:24px 22px;display:flex;flex-direction:column}.em-sidebar-title{display:flex;justify-content:space-between;gap:10px}.em-sidebar-title h2{margin:0;font-size:1.02rem}.em-sidebar-title span{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:.72rem}.em-notice{margin-top:18px;padding:14px;border:1px solid #cde0f7;border-radius:11px;background:#f4f9ff;color:#315f96;font-size:.82rem}.em-benefits{margin:26px 0;display:grid;gap:20px}.em-benefits article{display:flex;gap:11px}.em-benefits i{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border:2px solid #24a261;border-radius:50%;color:#14864c;font-style:normal}.em-benefits p{margin:3px 0 0;color:var(--muted);font-size:.77rem}
.em-progress{margin:auto 0 12px;padding:12px;border:1px solid var(--border);border-radius:10px}.em-progress strong{font-size:.8rem}.em-progress>div{height:7px;margin:8px 0;border-radius:9px;background:#e8eeeb;overflow:hidden}.em-progress>div span{display:block;width:70%;height:100%;border-radius:9px;background:#23825f;animation:em-progress 1.2s infinite alternate}.em-progress small{color:var(--muted);font-size:.68rem}@keyframes em-progress{from{transform:translateX(-60%)}to{transform:translateX(100%)}}
.em-message{margin:0 0 12px;padding:11px;border-radius:10px;font-size:.8rem}.em-message.error{background:#fff2f2;color:#963939}.em-message.success{background:#edf8f3;color:#1f654f}.em-primary{width:100%;margin-top:auto;min-height:46px}.em-primary:disabled{background:#f5c7c7;color:#b66c6c}.em-secondary{width:100%;margin-top:10px;min-height:46px;border:1px solid var(--border);border-radius:11px;background:#fff;font-weight:850}.em-secondary:disabled{opacity:.5}
.em-tip{margin-top:20px;padding:15px 18px;border:1px solid #f1dede;border-radius:13px;background:#fff8f8}.em-info{max-width:920px;padding-top:48px}.em-info p{color:var(--muted)}
@media(max-width:960px){.em-workspace{grid-template-columns:1fr}.em-main{border-right:0;border-bottom:1px solid var(--border)}.em-preview-grid{grid-template-columns:1fr}.em-how-grid{grid-template-columns:1fr}}
@media(max-width:660px){.em-main,.em-sidebar{padding:16px}.em-section-title,.em-gps-warning{flex-direction:column}.em-overview,.em-group-grid{grid-template-columns:1fr}.em-field:nth-child(odd){border-right:0}.em-top-actions,.em-table-actions{width:100%}.em-table-actions input{width:100%;min-width:0}.em-table th:nth-child(3),.em-table td:nth-child(3){display:none}}
