:root {
    --eh-blue: var(--navy, #001f4d);
    --eh-blue-soft: var(--blue, #07346b);
    --eh-red: var(--red, #ec1018);
    --eh-ink: var(--ink, #12233d);
    --eh-line: var(--line, #dce4f0);
    --eh-bg: var(--soft, #f3f6fa);
}

.ehm-shell {
    max-width: 1400px;
    margin: 20px auto;
    padding: 15px;
    color: var(--eh-blue);
}

.ehm-shell .ehm-kpis {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 10px;
}

.ehm-kpis article {
    border: 1px solid var(--eh-line);
    padding: 16px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(4, 26, 58, 0.06);
}

.ehm-kpis span {
    display: block;
    font-size: 28px;
    font-weight: 700;
}

.ehm-kpis b {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #4d5e76;
}

.ehm-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ehm-card {
    padding: 16px;
    border: 1px solid var(--eh-line);
    border-radius: 14px;
    background: #fff;
}

.ehm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ehm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    background: var(--eh-blue-soft);
    color: #fff !important;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
}

.ehm-btn-ghost {
    border-color: rgba(0, 31, 77, 0.18);
    background: #ffffff;
    color: var(--eh-blue) !important;
}

.ehm-seller-guest {
    display: grid;
    gap: 18px;
    max-width: 1180px;
    margin-top: 48px;
    margin-bottom: 110px;
}

.ehm-seller-guest__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .36fr);
    gap: 22px;
    align-items: end;
    border-radius: 24px;
    padding: 34px;
    background: radial-gradient(circle at 88% 14%, rgba(236, 16, 24, .22), transparent 32%), linear-gradient(135deg, var(--eh-blue), var(--eh-blue-soft));
    color: #fff;
    box-shadow: 0 20px 45px rgba(0, 31, 77, .16);
}

.ehm-seller-guest__hero span,
.ehm-seller-guest__steps b {
    color: #ff858a;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ehm-seller-guest__hero h1 {
    max-width: 780px;
    margin: 8px 0 8px;
    color: #fff;
    font-size: clamp(36px, 5vw, 68px);
    line-height: .96;
    letter-spacing: -.055em;
}

.ehm-seller-guest__hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    line-height: 1.55;
}

.ehm-seller-guest__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.ehm-seller-guest__actions .ehm-btn {
    min-height: 42px;
    padding: 12px 17px;
    border-radius: 11px;
    background: var(--eh-red);
    font-weight: 900;
}

.ehm-seller-guest__actions .ehm-btn-ghost {
    border-color: rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .08);
    color: #fff !important;
}

.ehm-seller-guest__hero aside {
    display: grid;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    padding: 17px;
    background: rgba(255, 255, 255, .08);
}

.ehm-seller-guest__hero aside strong {
    color: #fff;
    font-size: 20px;
    line-height: 1.1;
}

.ehm-seller-guest__hero aside small {
    color: #c9d7e9;
    font-size: 10px;
    line-height: 1.45;
}

.ehm-seller-guest__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ehm-seller-guest__steps article {
    display: grid;
    gap: 8px;
    min-width: 0;
    border: 1px solid var(--eh-line);
    border-radius: 16px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 31, 77, .06);
}

.ehm-seller-guest__steps strong {
    color: var(--eh-blue);
    font-size: 17px;
    line-height: 1.15;
}

.ehm-seller-guest__steps span {
    color: #647187;
    font-size: 11px;
    line-height: 1.5;
}

.ehm-shell a.ehm-card {
    text-decoration: none;
    min-height: 64px;
}

.ehm-shell .ehm-card label {
    display: block;
    margin: 10px 0;
    color: var(--eh-ink);
}

.ehm-note {
    background: #eaf8ef;
    border: 1px solid #b4e3b8;
    color: #1d6c2d;
    padding: 9px 12px;
    border-radius: 9px;
}

.ehm-code {
    white-space: pre-wrap;
    overflow: auto;
    background: #f8fafc;
    border: 1px solid var(--eh-line);
    border-radius: 12px;
    padding: 12px;
}

.ehm-buyer-auth-forms {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 14px;
}

.ehm-buyer-auth-forms section,
.ehm-auth-message {
    display: grid;
    align-content: start;
    gap: 12px;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--eh-line);
    border-radius: 16px;
    background: #fff;
}

.ehm-auth-message {
    grid-column: 1 / -1;
    border-color: #ffd2d4;
    background: #fff7f7;
    color: var(--eh-blue);
}

.ehm-buyer-auth-forms span,
.ehm-auth-message strong {
    color: var(--eh-red);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ehm-buyer-auth-forms h2 {
    margin: 0;
    color: var(--eh-blue);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.ehm-buyer-auth-forms p,
.ehm-buyer-auth-forms small,
.ehm-auth-message span {
    margin: 0;
    color: #647187;
    font-size: 11px;
    line-height: 1.55;
    letter-spacing: 0;
    text-transform: none;
}

.ehm-buyer-auth-forms form {
    display: grid;
    gap: 10px;
}

.ehm-buyer-auth-forms label {
    display: grid;
    gap: 6px;
    color: var(--eh-blue);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ehm-buyer-auth-forms input {
    min-height: 42px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--eh-line);
    border-radius: 10px;
    background: #f8fbff;
    color: var(--eh-blue);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.ehm-auth-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ehm-inline-check {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 8px !important;
    color: #647187 !important;
    font-size: 10px !important;
    text-transform: none !important;
}

.ehm-inline-check input {
    min-height: 0;
    width: auto;
}

.ehm-auth-link {
    color: var(--eh-blue);
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
}

.account-unlock-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.account-unlock-option {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 150px;
    padding: 15px;
    border: 1px solid var(--eh-line);
    border-radius: 14px;
    background: #f8fbff;
}

.account-unlock-option strong {
    color: var(--eh-blue);
    font-size: 13px;
    line-height: 1.2;
}

.account-unlock-option small {
    color: #647187;
    font-size: 9px;
    line-height: 1.45;
}

.account-unlock-option form {
    display: grid;
    gap: 9px;
    margin: 0;
}

.account-verified-card {
    border-color: #bde7c8;
    background: #f5fff8;
}

@media (max-width: 1180px) {
    .ehm-shell .ehm-kpis {
        grid-template-columns: repeat(3, minmax(120px, 1fr));
    }
}

@media (max-width: 800px) {
    .ehm-shell .ehm-kpis,
    .ehm-grid,
    .ehm-buyer-auth-forms,
    .ehm-auth-two,
    .account-unlock-grid {
        grid-template-columns: 1fr;
    }
}

.ehm-seller-dashboard,
.ehm-seller-dashboard * {
    box-sizing: border-box;
}

.ehm-seller-dashboard {
    --ehm-navy: var(--navy, #001f4d);
    --ehm-blue: var(--blue, #07346b);
    --ehm-red: var(--red, #ec1018);
    --ehm-soft: var(--soft, #f3f6fa);
    --ehm-line: var(--line, #dce4f0);
    --ehm-muted: var(--muted, #647187);
    --ehm-green: var(--green, #08783e);
    --ehm-shadow: var(--shadow, 0 12px 34px rgba(0, 31, 77, .09));
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: 720px;
    background: linear-gradient(90deg, var(--ehm-navy) 0 220px, var(--ehm-soft) 220px);
    color: var(--ehm-navy);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 10px;
}

.ehm-seller-sideboard {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px 12px;
    color: #fff;
}

.ehm-sideboard-title {
    display: grid;
    gap: 4px;
    padding: 0 9px 17px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.ehm-sideboard-title span,
.ehm-seller-side-note span,
.ehm-eyebrow,
.ehm-seller-section-title span,
.ehm-seller-missing-plugin span,
.ehm-seller-action-panel span,
.ehm-seller-document-panel span,
.ehm-seller-profile-grid span {
    color: var(--ehm-red);
    font-size: 7px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.ehm-sideboard-title strong {
    color: #fff;
    font-size: 15px;
}

.ehm-seller-sideboard nav {
    display: grid;
    gap: 3px;
    padding: 14px 0;
}

.ehm-seller-sideboard nav button {
    display: grid;
    grid-template-columns: 25px 1fr auto;
    align-items: center;
    gap: 5px;
    width: 100%;
    padding: 9px 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #afbdd0;
    font-size: 9px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.ehm-seller-sideboard nav button.active {
    background: rgba(255,255,255,.12);
    color: #fff;
    box-shadow: inset 3px 0 0 var(--ehm-red);
}

.ehm-seller-sideboard nav em {
    display: inline-grid;
    place-items: center;
    min-width: 19px;
    min-height: 19px;
    padding: 2px 6px;
    border-radius: 99px;
    background: var(--ehm-red);
    color: #fff;
    font-size: 7px;
    font-style: normal;
}

.ehm-side-icon {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: rgba(255,255,255,.12);
}

.ehm-side-icon::before {
    content: "";
    width: 13px;
    height: 13px;
    background: center / contain no-repeat var(--ehm-icon);
}

.ehm-side-icon-home { --ehm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M5 10.5V20h14v-9.5'/%3E%3Cpath d='M9.5 20v-6h5v6'/%3E%3C/svg%3E"); }
.ehm-side-icon-upload { --ehm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V5'/%3E%3Cpath d='m7 10 5-5 5 5'/%3E%3Cpath d='M4 19h16'/%3E%3C/svg%3E"); }
.ehm-side-icon-list { --ehm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h13'/%3E%3Cpath d='M8 12h13'/%3E%3Cpath d='M8 18h13'/%3E%3Cpath d='M3 6h.01'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M3 18h.01'/%3E%3C/svg%3E"); }
.ehm-side-icon-bids { --ehm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4l6 6'/%3E%3Cpath d='M4 14l6 6'/%3E%3Cpath d='M13 5 5 13'/%3E%3Cpath d='M19 11l-8 8'/%3E%3Cpath d='M15 15l5 5'/%3E%3C/svg%3E"); }
.ehm-side-icon-transactions { --ehm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M7 15h4'/%3E%3Cpath d='M15 15h2'/%3E%3C/svg%3E"); }
.ehm-side-icon-payout { --ehm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18'/%3E%3Cpath d='M17 7.5c-.9-1.1-2.5-1.7-4.4-1.7-2.4 0-4.1 1-4.1 2.7 0 4.1 9 1.9 9 6.2 0 1.9-1.9 3.1-4.7 3.1-2.1 0-3.9-.7-5-2'/%3E%3C/svg%3E"); }
.ehm-side-icon-profile { --ehm-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.7-4 4.4-6 8-6s6.3 2 8 6'/%3E%3C/svg%3E"); }

.ehm-seller-side-note {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 14px;
    background: radial-gradient(circle at 85% 0, rgba(236,16,24,.45), rgba(7,52,107,.7));
}

.ehm-seller-side-note strong {
    color: #fff;
    font-size: 13px;
    line-height: 1.12;
}

.ehm-seller-side-note p {
    margin: 0;
    color: #d7e2ef;
    font-size: 8px;
    line-height: 1.45;
}

.ehm-seller-side-note button,
.ehm-seller-hero-actions button,
.ehm-seller-section-title button,
.ehm-seller-action-panel button,
.ehm-seller-missing-plugin button,
.ehm-seller-payout-history button,
.ehm-listing-action,
.ehm-seller-profile-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 9px 12px;
    border: 0;
    border-radius: 9px;
    background: var(--ehm-red);
    color: #fff !important;
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.ehm-seller-side-note button {
    background: #fff;
    color: var(--ehm-navy) !important;
}

.ehm-mobile-seller-menu {
    display: none;
}

.ehm-seller-view {
    display: none;
    grid-column: 2;
    min-width: 0;
    padding-bottom: 24px;
}

.ehm-seller-view.active {
    display: block;
}

.ehm-seller-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    margin: 18px;
    padding: 34px;
    border-radius: 28px;
    background: radial-gradient(circle at 84% 14%, #17508a, var(--ehm-navy) 62%);
    color: #fff;
    box-shadow: 0 18px 45px rgba(0,31,77,.16);
}

.ehm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ehm-eyebrow i {
    display: inline-block;
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: var(--ehm-red);
}

.ehm-breadcrumbs {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--ehm-red);
    font-size: 9px;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.ehm-breadcrumbs .ehm-back-home {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
    cursor: pointer;
}

.ehm-breadcrumbs .ehm-back-home:hover {
    text-decoration: underline;
}

.ehm-breadcrumbs span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 18px;
    line-height: inherit;
}

.ehm-breadcrumbs span::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
}

.ehm-seller-hero h1,
.ehm-seller-work-header h1 {
    max-width: 850px;
    margin: 12px 0 14px;
    color: var(--ehm-navy);
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -.055em;
}

.ehm-seller-hero h1 {
    color: #fff;
}

.ehm-seller-hero p,
.ehm-seller-work-header p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    line-height: 1.55;
}

.ehm-seller-work-header p {
    color: var(--ehm-muted);
}

.ehm-seller-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.ehm-seller-hero-actions button:last-child {
    border: 1px solid rgba(255,255,255,.28);
    background: transparent;
}

.ehm-seller-hero aside {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 17px;
    background: rgba(0,18,46,.4);
}

.ehm-seller-hero aside span {
    color: #ff969a;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.ehm-seller-hero aside strong {
    color: #fff;
    font-size: 25px;
    line-height: 1.08;
}

.ehm-seller-hero aside small {
    color: #a9bad2;
    font-size: 10px;
    line-height: 1.45;
}

.ehm-seller-stat-grid,
.ehm-seller-shortcuts,
.ehm-seller-money-grid,
.ehm-seller-profile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px;
}

.ehm-seller-money-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ehm-seller-stat-grid article,
.ehm-seller-shortcuts button,
.ehm-seller-process-card,
.ehm-seller-bids-card,
.ehm-seller-transaction-card,
.ehm-seller-chatbot-card,
.ehm-seller-wide-table,
.ehm-seller-bid-board,
.ehm-seller-transactions-table,
.ehm-seller-payout-history,
.ehm-seller-money-grid article,
.ehm-seller-action-panel,
.ehm-seller-document-panel,
.ehm-seller-profile-grid article,
.ehm-seller-work-header {
    border: 1px solid var(--ehm-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(0,31,77,.06);
}

.ehm-seller-stat-grid article,
.ehm-seller-money-grid article {
    display: grid;
    gap: 5px;
    padding: 16px;
}

.ehm-seller-stat-grid span,
.ehm-seller-money-grid span {
    color: var(--ehm-muted);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.ehm-seller-stat-grid strong,
.ehm-seller-money-grid strong {
    color: var(--ehm-navy);
    font-size: 30px;
    letter-spacing: -.04em;
}

.ehm-seller-stat-grid small,
.ehm-seller-money-grid small {
    color: var(--ehm-muted);
    font-size: 10px;
}

.ehm-seller-shortcuts button {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px;
    min-height: 96px;
    padding: 17px;
    border: 1px solid var(--ehm-line);
    color: var(--ehm-navy);
    text-align: left;
    cursor: pointer;
}

.ehm-seller-shortcuts button::after {
    align-self: center;
    color: var(--ehm-red);
    font-size: 20px;
    content: "->";
}

.ehm-seller-shortcuts b {
    font-size: 15px;
}

.ehm-seller-shortcuts span {
    grid-column: 1;
    color: var(--ehm-muted);
    font-size: 10px;
    line-height: 1.45;
}

.ehm-seller-process-card,
.ehm-seller-bids-card,
.ehm-seller-transaction-card,
.ehm-seller-chatbot-card,
.ehm-seller-action-panel,
.ehm-seller-document-panel {
    padding: 16px;
}

.ehm-seller-process-card,
.ehm-seller-lower-grid {
    margin: 18px;
}

.ehm-seller-section-title {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.ehm-seller-section-title h2,
.ehm-seller-action-panel h2,
.ehm-seller-document-panel h2,
.ehm-seller-missing-plugin h2 {
    margin: 5px 0 0;
    color: var(--ehm-navy);
    font-size: 22px;
}

.ehm-seller-flow-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.ehm-seller-flow-steps article {
    display: grid;
    gap: 8px;
    padding: 13px;
    border: 1px solid var(--ehm-line);
    border-radius: 13px;
    background: #f8fbff;
}

.ehm-seller-flow-steps b {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ehm-red);
    color: #fff;
}

.ehm-seller-flow-steps strong {
    color: var(--ehm-navy);
    font-size: 13px;
}

.ehm-seller-flow-steps small,
.ehm-seller-action-panel p,
.ehm-seller-document-panel p,
.ehm-seller-missing-plugin p {
    color: var(--ehm-muted);
    font-size: 10px;
    line-height: 1.45;
}

.ehm-seller-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 14px;
}

.ehm-seller-bids-card article {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--ehm-line);
}

.ehm-seller-transaction-card article {
    display: grid;
    grid-template-columns: minmax(100px, .75fr) 110px minmax(180px, 1.25fr);
    gap: 18px;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid var(--ehm-line);
}

.ehm-seller-bids-card i {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: #edf3fb;
}

.ehm-seller-bids-card i.good {
    background: #e4f8ed;
}

.ehm-seller-bids-card b,
.ehm-seller-transaction-card strong {
    color: #07873f;
    font-size: 24px;
}

.ehm-seller-transaction-card span {
    color: var(--ehm-navy);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
}

.ehm-seller-transaction-card strong {
    justify-self: start;
    line-height: 1;
    min-width: 92px;
}

.ehm-seller-transaction-card small {
    justify-self: end;
    max-width: 250px;
    color: var(--ehm-muted);
    font-size: 10px;
    line-height: 1.45;
    text-align: right;
}

.ehm-seller-bids-card article div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.ehm-seller-bids-card strong {
    display: block;
    color: var(--ehm-navy);
    font-size: 12px;
    line-height: 1.2;
}

.ehm-seller-bids-card small {
    display: block;
    color: var(--ehm-muted);
    font-size: 10px;
    line-height: 1.4;
}

.ehm-seller-work-header {
    margin: 18px;
    padding: 28px;
}

.ehm-back-home {
    display: inline-flex;
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ehm-red);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.ehm-seller-upload-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin: 18px;
}

.ehm-seller-chatbot-card .eh-ai-upload-wrap {
    max-width: none;
    margin: 0;
    border: 0;
    box-shadow: none;
}

.ehm-seller-wide-table,
.ehm-seller-bid-board,
.ehm-seller-transactions-table,
.ehm-seller-payout-history {
    display: grid;
    gap: 0;
    margin: 18px;
    padding: 14px;
}

.ehm-seller-wide-table article,
.ehm-seller-bid-board article,
.ehm-seller-transactions-table article,
.ehm-seller-payout-history article {
    display: grid;
    gap: 10px;
    align-items: center;
    padding: 13px;
    border-bottom: 1px solid var(--ehm-line);
}

.ehm-listing-status-table article {
    grid-template-columns: minmax(82px, .55fr) minmax(230px, 1.25fr) minmax(82px, .5fr) minmax(100px, .55fr) minmax(150px, .75fr) minmax(90px, .5fr) minmax(150px, .8fr) minmax(108px, .58fr);
}

.ehm-seller-activity-table article {
    grid-template-columns: minmax(82px, .55fr) minmax(260px, 1.4fr) repeat(5, minmax(90px, .65fr));
}

.ehm-seller-transactions-table article {
    grid-template-columns: minmax(90px, .55fr) minmax(260px, 1.35fr) minmax(110px, .65fr) minmax(90px, .5fr) minmax(120px, .65fr) minmax(140px, .75fr);
}

.ehm-seller-payout-history article {
    grid-template-columns: minmax(150px, 1fr) minmax(120px, .75fr) repeat(3, minmax(90px, .65fr)) minmax(120px, .6fr);
}

.ehm-seller-wide-table article:last-child,
.ehm-seller-bid-board article:last-child,
.ehm-seller-transactions-table article:last-child,
.ehm-seller-payout-history article:last-child {
    border-bottom: 0;
}

.ehm-seller-wide-table .head,
.ehm-seller-bid-board .head,
.ehm-seller-transactions-table .head,
.ehm-seller-payout-history .head {
    color: var(--ehm-muted);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.ehm-seller-wide-table span,
.ehm-seller-bid-board span,
.ehm-seller-transactions-table span,
.ehm-seller-payout-history span,
.ehm-seller-wide-table strong,
.ehm-seller-bid-board strong,
.ehm-seller-transactions-table strong,
.ehm-seller-payout-history strong,
.ehm-seller-wide-table b,
.ehm-seller-bid-board b,
.ehm-seller-transactions-table b,
.ehm-seller-payout-history b {
    color: var(--ehm-navy);
    font-size: 11px;
    font-weight: 900;
}

.ehm-seller-wide-table em,
.ehm-seller-bid-board small,
.ehm-seller-transactions-table em,
.ehm-seller-payout-history em {
    color: var(--ehm-muted);
    font-size: 10px;
    font-style: normal;
}

.ehm-seller-table-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 10px;
}

.ehm-seller-thumb {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #b87714, #9aa9b7);
    background-position: center;
    background-size: cover;
}

.ehm-seller-wide-table mark,
.ehm-seller-bid-board em,
.ehm-seller-transactions-table mark {
    justify-self: start;
    padding: 7px 10px;
    border-radius: 99px;
    background: #eaf9ef;
    color: #07873f;
    font-size: 9px;
    font-weight: 900;
    font-style: normal;
}

.ehm-seller-wide-table mark.drop,
.ehm-seller-wide-table mark.draft,
.ehm-seller-bid-board em.drop,
.ehm-seller-transactions-table mark.pending {
    background: #fff2e1;
    color: #b65b00;
}

.ehm-seller-wide-table mark.scheduled {
    background: #eaf3ff;
    color: #0b5eab;
}

.ehm-seller-wide-table mark.select {
    background: #fef2f2;
    color: var(--ehm-red);
}

.ehm-seller-wide-table mark.sold,
.ehm-seller-bid-board em.sold {
    background: #edf0f4;
    color: #566274;
}

.ehm-seller-transactions-table mark.hold {
    background: #edf3fb;
    color: #0b5eab;
}

.ehm-seller-wide-table .score-ok,
.ehm-seller-wide-table .score-low,
.ehm-seller-wide-table .score-empty {
    justify-self: start;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13px;
}

.ehm-seller-wide-table .score-ok {
    background: #eaf9ef;
    color: #07873f;
}

.ehm-seller-wide-table .score-low {
    background: #fff2e1;
    color: #b65b00;
}

.ehm-seller-wide-table .score-empty {
    background: #eef2f7;
    color: #64748b;
}

.ehm-empty-row {
    grid-template-columns: 1fr !important;
    align-items: start !important;
}

.ehm-seller-notice {
    margin: 18px;
    padding: 12px 14px;
    border: 1px solid #9ee4b7;
    border-radius: 12px;
    background: #f0fff5;
    color: #067038;
    font-size: 12px;
    font-weight: 900;
}

.ehm-seller-notice.error {
    border-color: #ff9ca1;
    background: #fff2f2;
    color: var(--ehm-red);
}

.ehm-auction-select-form,
.ehm-listing-delete-form {
    margin: 0;
}

.ehm-auction-select-form {
    display: grid;
    gap: 7px;
    min-width: 190px;
}

.ehm-auction-select-form label {
    display: grid;
    gap: 5px;
}

.ehm-auction-select-form label span {
    color: var(--ehm-muted);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ehm-auction-select-form select {
    width: 100%;
    min-height: 34px;
    padding: 8px 9px;
    border: 1px solid var(--ehm-line);
    border-radius: 10px;
    background: #fff;
    color: var(--ehm-navy);
    font-size: 10px;
    font-weight: 800;
}

.ehm-auction-select-form button,
.ehm-listing-delete-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 10px;
    border: 0;
    border-radius: 9px;
    font-size: 9px;
    font-weight: 900;
    cursor: pointer;
}

.ehm-auction-select-form button {
    background: var(--ehm-navy);
    color: #fff;
}

.ehm-listing-actions {
    display: grid;
    gap: 7px;
}

.ehm-next-step-cell {
    display: grid;
    gap: 5px;
}

.ehm-next-step-cell small {
    color: var(--ehm-muted);
    font-size: 9px;
    font-weight: 800;
    line-height: 1.35;
}

.ehm-next-step-cell .ehm-cutoff-note {
    padding: 7px 9px;
    border: 1px solid rgba(236, 16, 24, .18);
    border-radius: 9px;
    background: #fff7f7;
    color: #9f1239;
}

.ehm-listing-action.disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 10px;
    border-radius: 9px;
    background: #edf3fb;
    color: #64748b;
    font-size: 9px;
    font-weight: 900;
    text-align: center;
}

.ehm-listing-delete-form button {
    width: 100%;
    border: 1px solid #ffb5b8;
    background: #fff5f5;
    color: var(--ehm-red);
}

.ehm-seller-action-panel,
.ehm-seller-document-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 18px;
}

.ehm-seller-document-forms,
.ehm-seller-bank-panel {
    align-items: stretch;
}

.ehm-seller-form-grid,
.ehm-seller-bank-form {
    display: grid;
    gap: 10px;
    min-width: min(100%, 520px);
}

.ehm-seller-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ehm-seller-upload-form,
.ehm-seller-bank-form label {
    display: grid;
    gap: 7px;
    padding: 12px;
    border: 1px solid var(--ehm-line);
    border-radius: 12px;
    background: #f8fbff;
}

.ehm-seller-upload-form strong,
.ehm-seller-bank-form label span {
    color: var(--ehm-navy);
    font-size: 10px;
    font-weight: 900;
}

.ehm-seller-upload-form small {
    color: var(--ehm-muted);
    font-size: 9px;
    line-height: 1.35;
}

.ehm-seller-upload-form input,
.ehm-seller-bank-form input,
.ehm-seller-bank-form select {
    min-width: 0;
    width: 100%;
    padding: 10px;
    border: 1px solid #cfd9e8;
    border-radius: 9px;
    background: #fff;
    color: var(--ehm-navy);
    font-size: 10px;
    font-weight: 800;
}

.ehm-seller-upload-form button,
.ehm-seller-bank-form button {
    justify-self: start;
    min-height: 34px;
    padding: 9px 12px;
    border: 0;
    border-radius: 9px;
    background: var(--ehm-navy);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    cursor: pointer;
}

.ehm-seller-bank-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ehm-seller-bank-form label:last-of-type,
.ehm-seller-bank-form button {
    grid-column: span 2;
}

.ehm-seller-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin: -6px 18px 18px;
}

.ehm-seller-pagination a,
.ehm-seller-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 11px;
    border: 1px solid var(--ehm-line);
    border-radius: 9px;
    background: #fff;
    color: var(--ehm-navy);
    font-size: 9px;
    font-weight: 900;
    text-decoration: none;
}

.ehm-seller-pagination a.disabled {
    opacity: .45;
    pointer-events: none;
}

.ehm-seller-action-panel button:disabled,
.ehm-seller-payout-history button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.ehm-seller-profile-grid article {
    display: grid;
    gap: 9px;
    padding: 17px;
}

.ehm-seller-profile-grid strong {
    color: var(--ehm-navy);
    font-size: 15px;
    line-height: 1.15;
}

.ehm-seller-profile-grid small {
    color: var(--ehm-muted);
    font-size: 10px;
    line-height: 1.45;
}

.ehm-seller-profile-grid article.blocked {
    border-color: #ffc4c7;
    background: #fff7f7;
}

.ehm-seller-profile-grid article.blocked span {
    color: var(--ehm-red);
}

.ehm-seller-profile-grid article.uploaded,
.ehm-seller-profile-grid article.active {
    border-color: #c8dfd1;
    background: #f7fff9;
}

@media (max-width: 1100px) {
    .ehm-seller-dashboard {
        display: block;
        background: var(--ehm-soft);
    }

    .ehm-seller-sideboard {
        display: none;
    }

    .ehm-mobile-seller-menu {
        display: block;
        margin: 10px 8px 0;
        position: relative;
    }

    .ehm-mobile-seller-toggle {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 4px;
        width: 100%;
        padding: 14px;
        border: 0;
        border-radius: 12px;
        background: var(--ehm-navy);
        color: #fff;
        text-align: left;
    }

    .ehm-mobile-seller-toggle span {
        grid-column: 1/-1;
        color: #ff969a;
        font-size: 8px;
        font-weight: 900;
        text-transform: uppercase;
    }

    .ehm-mobile-seller-toggle strong {
        color: #fff;
        font-size: 17px;
    }

    .ehm-mobile-seller-toggle em {
        color: #fff;
        font-style: normal;
    }

    .ehm-mobile-seller-drawer {
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        margin-top: 8px;
        padding: 8px;
        border: 1px solid var(--ehm-line);
        border-radius: 12px;
        background: #fff;
    }

    .ehm-mobile-seller-menu.open .ehm-mobile-seller-drawer {
        display: grid;
    }

    .ehm-mobile-seller-drawer button {
        padding: 10px;
        border: 0;
        border-radius: 8px;
        background: var(--ehm-soft);
        color: var(--ehm-navy);
        font-size: 10px;
        font-weight: 900;
        text-align: left;
    }

    .ehm-mobile-seller-drawer button.active {
        background: var(--ehm-navy);
        color: #fff;
    }

    .ehm-seller-view {
        grid-column: auto;
    }

    .ehm-seller-hero,
    .ehm-seller-upload-layout,
    .ehm-seller-lower-grid {
        grid-template-columns: 1fr;
        margin: 8px;
    }

    .ehm-seller-stat-grid,
    .ehm-seller-shortcuts,
    .ehm-seller-money-grid,
    .ehm-seller-profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 8px;
    }

    .ehm-seller-process-card,
    .ehm-seller-work-header,
    .ehm-seller-wide-table,
    .ehm-seller-bid-board,
    .ehm-seller-transactions-table,
    .ehm-seller-payout-history,
    .ehm-seller-action-panel,
    .ehm-seller-document-panel {
        margin: 8px;
    }

    .ehm-seller-flow-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .ehm-seller-dashboard {
        padding-bottom: 78px;
    }

    .ehm-seller-hero {
        padding: 23px 15px;
        border-radius: 18px;
    }

    .ehm-seller-hero h1,
    .ehm-seller-work-header h1 {
        font-size: 38px;
    }

    .ehm-seller-hero p,
    .ehm-seller-work-header p {
        font-size: 11px;
    }

    .ehm-seller-guest {
        margin: 8px auto 88px;
        padding: 8px;
    }

    .ehm-seller-guest__hero {
        grid-template-columns: 1fr;
        border-radius: 18px;
        padding: 24px 16px;
    }

    .ehm-seller-guest__hero h1 {
        font-size: 38px;
    }

    .ehm-seller-guest__steps {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ehm-seller-stat-grid,
    .ehm-seller-shortcuts,
    .ehm-seller-money-grid,
    .ehm-seller-profile-grid,
    .ehm-seller-flow-steps {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .ehm-seller-wide-table,
    .ehm-seller-bid-board,
    .ehm-seller-transactions-table,
    .ehm-seller-payout-history {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .ehm-seller-wide-table .head,
    .ehm-seller-bid-board .head,
    .ehm-seller-transactions-table .head,
    .ehm-seller-payout-history .head {
        display: none;
    }

    .ehm-seller-wide-table,
    .ehm-seller-bid-board,
    .ehm-seller-transactions-table,
    .ehm-seller-payout-history {
        gap: 10px;
    }

    .ehm-listing-status-table article,
    .ehm-seller-activity-table article,
    .ehm-seller-transactions-table article,
    .ehm-seller-payout-history article {
        grid-template-columns: 1fr 1fr;
        align-items: start;
        padding: 14px;
        border: 1px solid var(--ehm-line);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 6px 18px rgba(0,31,77,.05);
    }

    .ehm-seller-table-item {
        grid-column: 1 / -1;
    }

    .ehm-next-step-cell,
    .ehm-listing-actions,
    .ehm-listing-action,
    .ehm-seller-payout-history button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .ehm-seller-action-panel,
    .ehm-seller-document-panel,
    .ehm-seller-section-title {
        display: grid;
    }

    .ehm-seller-transaction-card article {
        grid-template-columns: 1fr auto;
        gap: 8px 14px;
    }

    .ehm-seller-transaction-card strong {
        justify-self: end;
        min-width: 0;
        text-align: right;
    }

    .ehm-seller-transaction-card small {
        grid-column: 1 / -1;
        justify-self: start;
        max-width: none;
        text-align: left;
    }

    .ehm-seller-form-grid,
    .ehm-seller-bank-form {
        grid-template-columns: 1fr;
    }

    .ehm-seller-bank-form label:last-of-type,
    .ehm-seller-bank-form button {
        grid-column: auto;
    }
}

@media (max-width: 430px) {
    .ehm-seller-stat-grid,
    .ehm-seller-shortcuts,
    .ehm-seller-money-grid,
    .ehm-seller-profile-grid,
    .ehm-seller-flow-steps,
    .ehm-mobile-seller-drawer {
        grid-template-columns: 1fr;
    }
}

/* Mobile seller rail: show the dashboard sections instead of hiding them behind a dropdown. */
@media (max-width: 1100px) {
    .ehm-mobile-seller-menu {
        position: sticky;
        top: 0;
        z-index: 70;
        display: block;
        margin: 0;
        padding: 8px;
        border-bottom: 1px solid var(--ehm-line);
        background: rgba(243, 246, 250, .98);
        box-shadow: 0 10px 24px rgba(0,31,77,.08);
    }

    .ehm-mobile-seller-toggle {
        display: none !important;
    }

    .ehm-mobile-seller-drawer,
    .ehm-mobile-seller-menu.open .ehm-mobile-seller-drawer {
        display: flex;
        gap: 7px;
        overflow-x: auto;
        margin: 0;
        padding: 1px 1px 4px;
        border: 0;
        border-radius: 0;
        background: transparent;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .ehm-mobile-seller-drawer::-webkit-scrollbar {
        display: none;
    }

    .ehm-mobile-seller-drawer button {
        display: inline-flex;
        flex: 0 0 auto;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        padding: 10px 13px;
        border: 1px solid var(--ehm-line);
        border-radius: 999px;
        background: #fff;
        color: var(--ehm-navy);
        font-size: 9px;
        font-weight: 900;
        white-space: nowrap;
        box-shadow: 0 8px 18px rgba(0,31,77,.06);
        scroll-snap-align: start;
    }

    .ehm-mobile-seller-drawer button.active {
        border-color: var(--ehm-navy);
        background: var(--ehm-navy);
        color: #fff;
    }
}

@media (max-width: 720px) {
    .ehm-mobile-seller-menu {
        padding: 7px;
    }

    .ehm-mobile-seller-drawer button {
        min-height: 41px;
        padding: 9px 11px;
        font-size: 8px;
    }
}
