.workspace-mark.excel-image,
.tool-card-mark.excel-image {
    background: linear-gradient(145deg, #0f766e, #14b8a6);
    color: #fff;
}

.eie-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 30px;
    border: 1px solid #c7e7e2;
    border-radius: 18px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 58%, #ecfeff 100%);
}

.eie-hero h2 {
    margin: 6px 0 8px;
    color: #153f3b;
    font-size: 25px;
}

.eie-hero p {
    max-width: 720px;
    margin: 0;
    color: #526865;
    line-height: 1.7;
}

.eie-eyebrow {
    color: #0f766e;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
}

.eie-local {
    flex: 0 0 auto;
    padding: 12px 18px;
    border: 1px solid #99d8cf;
    border-radius: 12px;
    background: rgba(255, 255, 255, .82);
    color: #55706c;
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
}

.eie-local b { color: #0f766e; }

.eie-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 18px 0;
    color: #46625e;
    font-size: 13px;
}

.eie-steps span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.eie-steps b {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: #d9f4ef;
    color: #0f766e;
}

.eie-steps i { color: #9bb4b0; font-style: normal; }

.eie-service,
.eie-progress,
.eie-result {
    margin: 16px 0;
    padding: 13px 16px;
    border: 1px solid #dce5e3;
    border-radius: 12px;
    background: #f8faf9;
    color: #4c625f;
}

.eie-service.ready,
.eie-result.success {
    border-color: #a7dcc6;
    background: #f0fdf6;
    color: #166534;
}

.eie-service.error,
.eie-progress.error,
.eie-result.error {
    border-color: #fecaca;
    background: #fff7f7;
    color: #b42318;
}

.eie-form,
.eie-review {
    border: 1px solid #dbe6e4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(24, 74, 68, .06);
}

.eie-dropzone {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px;
    padding: 24px;
    border: 1.5px dashed #87c8bf;
    border-radius: 14px;
    background: #f6fffd;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.eie-dropzone:hover,
.eie-dropzone:focus-visible {
    border-color: #0f766e;
    background: #ecfdf9;
    outline: none;
}

.eie-dropzone input { display: none; }

.eie-drop-mark {
    display: grid;
    flex: 0 0 48px;
    height: 48px;
    place-items: center;
    border-radius: 13px;
    background: #0f766e;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.eie-drop-copy { flex: 1; min-width: 0; }
.eie-drop-copy strong { display: block; color: #173f3b; font-size: 16px; }
.eie-drop-copy small { display: block; margin-top: 5px; color: #6b7f7c; line-height: 1.5; }

.eie-selected {
    margin: 0 20px 18px;
    color: #687b78;
    font-size: 13px;
}

.eie-selected ul { margin: 8px 0 0; padding: 0; list-style: none; }
.eie-selected li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.eie-selected li span:first-child { overflow-wrap: anywhere; color: #304f4b; }
.eie-selected.invalid { color: #b42318; }

.eie-submit-row,
.eie-download-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    border-top: 1px solid #edf1f0;
    color: #667a77;
    font-size: 13px;
}

.eie-progress > div { display: flex; justify-content: space-between; gap: 16px; }
.eie-progress progress { width: 100%; height: 8px; margin-top: 10px; accent-color: #0f766e; }

.eie-review { margin-top: 18px; overflow: hidden; }
.eie-review-head { display: flex; justify-content: space-between; gap: 16px; padding: 22px 22px 14px; }
.eie-review-head span { color: #0f766e; font-size: 12px; font-weight: 700; }
.eie-review-head h3 { margin: 3px 0 0; color: #183e3a; }

.eie-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 0 22px 18px;
}

.eie-summary article {
    padding: 13px 14px;
    border-radius: 12px;
    background: #f4f9f8;
}

.eie-summary small { display: block; color: #70827f; }
.eie-summary strong { display: block; margin-top: 4px; color: #124f48; font-size: 20px; }
.eie-summary article.total { background: #e9fbf6; }

.eie-warnings,
.eie-review-note {
    margin: 0 22px 16px;
    padding: 12px 14px;
    border-radius: 10px;
    line-height: 1.6;
}

.eie-warnings { border: 1px solid #fed7aa; background: #fffaf2; color: #9a5412; }
.eie-warnings ul { margin: 6px 0 0; padding-left: 20px; }
.eie-review-note { display: flex; gap: 12px; background: #f5f8f8; color: #607370; }
.eie-review-note b { flex: 0 0 auto; color: #345b56; }

.eie-table-wrap { overflow: auto; border-top: 1px solid #e8eeee; }
.eie-table { width: 100%; min-width: 900px; border-collapse: collapse; }
.eie-table th { padding: 11px 13px; background: #f6f9f8; color: #60726f; font-size: 12px; text-align: left; }
.eie-table td { padding: 13px; border-top: 1px solid #edf1f0; color: #374f4c; font-size: 13px; vertical-align: top; }
.eie-table tr.needs-review { background: #fffdf5; }

.eie-image-cell { display: flex; gap: 11px; min-width: 250px; }
.eie-preview-box {
    display: grid;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #d8e2e0;
    border-radius: 9px;
    background: #f7faf9;
}
.eie-preview-box img { width: 100%; height: 100%; object-fit: contain; }
.eie-preview-button { border: 0; background: transparent; color: #0f766e; cursor: pointer; font-size: 12px; }
.eie-image-meta strong { display: block; max-width: 220px; overflow-wrap: anywhere; }
.eie-image-meta small { display: block; margin-top: 5px; color: #788986; line-height: 1.45; }

.eie-classification {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 999px;
    background: #eaf7f4;
    color: #0f766e;
    font-size: 12px;
    font-weight: 700;
}
.eie-classification.locked { background: #f1f3f3; color: #697976; }
.eie-money-control { display: grid; grid-template-columns: auto minmax(110px, 1fr); align-items: center; gap: 9px; }
.eie-money-control label { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.eie-money-control input[type="number"] { width: 100%; padding: 8px 9px; border: 1px solid #cedbd8; border-radius: 8px; }
.eie-money-control input:disabled { background: #f2f4f4; color: #8a9896; }
.eie-reason { max-width: 280px; color: #5f716e; line-height: 1.55; }
.eie-reason small { display: block; margin-top: 5px; color: #8a9896; overflow-wrap: anywhere; }

@media (max-width: 820px) {
    .eie-hero { align-items: flex-start; flex-direction: column; padding: 22px; }
    .eie-steps { align-items: flex-start; flex-direction: column; }
    .eie-steps i { display: none; }
    .eie-dropzone { align-items: flex-start; flex-wrap: wrap; padding: 18px; }
    .eie-drop-copy { min-width: calc(100% - 70px); }
    .eie-dropzone .btn-secondary { margin-left: 64px; }
    .eie-submit-row, .eie-download-row { align-items: stretch; flex-direction: column; }
    .eie-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .eie-summary { grid-template-columns: 1fr; }
    .eie-review-note { flex-direction: column; gap: 4px; }
}
