.ead-directory {
    --ead-green: #315f3e;
    --ead-dark: #213e2b;
    --ead-muted: #59675e;
    --ead-border: #d7e2d3;
    --ead-soft: #f2f6ef;
    --ead-columns: 3;
    color: var(--ead-dark);
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    font: inherit;
    scroll-margin-top: 32px;
}
.ead-directory *, .ead-contact *, .ead-profile-logo *, .ead-profile-categories * { box-sizing: border-box; }
.ead-directory .ead-filters {
    display: grid;
    grid-template-columns: minmax(210px, 1.6fr) minmax(160px, 1fr) minmax(160px, 1fr) auto;
    gap: 16px;
    align-items: end;
    padding: 24px;
    background: var(--ead-soft);
    border: 1px solid var(--ead-border);
    border-radius: 12px;
    margin: 0;
}
.ead-directory .ead-filters label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.ead-directory .ead-filters input[type="search"], .ead-directory .ead-filters select {
    display: block;
    width: 100%;
    min-width: 0;
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0 13px;
    background: #fff;
    color: var(--ead-dark);
    border: 1px solid #8fa18d;
    border-radius: 6px;
    font: inherit;
    font-size: 14px;
    line-height: normal;
    box-shadow: none;
}
.ead-directory .ead-filters select { padding-right: 30px; text-overflow: ellipsis; }
.ead-directory .ead-filters input::placeholder { color: #657167; opacity: 1; }
.ead-directory .ead-filters select:disabled { background-color: #e8eee4; color: #5e695f; opacity: 1; }
.ead-directory .ead-filter-actions { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.ead-directory .ead-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 10px 23px;
    border: 1px solid var(--ead-green);
    border-radius: 6px;
    background: var(--ead-green);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.ead-directory .ead-button:hover { color: #fff; background: var(--ead-dark); border-color: var(--ead-dark); }
.ead-directory .ead-clear { font-size: 13px; color: var(--ead-green); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ead-directory .ead-status { margin: 22px 0 18px; font-size: 14px; line-height: 1.7; color: var(--ead-muted); }
.ead-directory .ead-status a { color: var(--ead-green); text-decoration: underline; }
.ead-directory .ead-results { transition: opacity .15s ease; }
.ead-directory .ead-results:focus { outline: none; }
.ead-directory.is-loading .ead-results { opacity: .55; }
.ead-directory .ead-grid { display: grid; grid-template-columns: repeat(var(--ead-columns), minmax(0, 1fr)); gap: 24px; }
.ead-directory .ead-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    margin: 0;
    background: #fff;
    border: 1px solid var(--ead-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 9px rgb(33 62 43 / 4%);
    transition: box-shadow .15s ease, border-color .15s ease;
}
.ead-directory .ead-card:hover { border-color: #9ab495; box-shadow: 0 7px 22px rgb(33 62 43 / 9%); }
.ead-directory .ead-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    min-height: 160px;
    padding: 25px 30px;
    background: #fff;
    text-decoration: none;
    border-bottom: 1px solid #edf1e9;
}
.ead-directory .ead-logo { width: auto; height: auto; max-width: 100%; max-height: 110px; object-fit: contain; border: none; border-radius: 0; }
.ead-directory .ead-logo-placeholder { color: #64735f; font-size: 20px; font-weight: 600; text-align: center; line-height: 1.4; overflow-wrap: anywhere; }
.ead-directory .ead-card-body { display: flex; flex-direction: column; flex: 1; padding: 23px; }
.ead-directory .ead-section-title { margin: 0 0 20px; padding: 0; color: var(--ead-dark); font: inherit; font-size: 23px; font-weight: 700; line-height: 1.4; }
.ead-directory .ead-product-results { margin-top: 48px; }
.ead-directory .ead-product-card { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; background: #fff; border: 1px solid var(--ead-border); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 9px rgb(33 62 43 / 4%); }
.ead-directory .ead-product-photo { position: relative; display: flex; align-items: center; justify-content: center; height: 210px; padding: 12px; background: #f7f9f5; text-decoration: none; border-bottom: 1px solid #edf1e9; }
.ead-directory .ead-product-photo > img { display: block; height: 100%; width: 100%; max-width: 100%; object-fit: contain; border: none; border-radius: 0; }
.ead-directory .ead-product-placeholder { font-size: 20px; color: var(--ead-muted); }
.ead-directory .ead-product-company-logo { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; justify-content: center; width: 104px; height: 54px; padding: 8px; background: #fff; border: 1px solid var(--ead-border); border-radius: 6px; box-shadow: 0 2px 6px rgb(33 62 43 / 8%); }
.ead-directory .ead-product-company-logo img { display: block; max-width: 100%; max-height: 36px; width: auto; height: auto; object-fit: contain; }
.ead-directory .ead-product-company-logo .ead-logo-placeholder { font-size: 11px; line-height: 1.2; }
.ead-directory .ead-product-stand { position: absolute; top: 12px; right: 12px; padding: 5px 8px; background: #fff; border: 1px solid var(--ead-border); border-radius: 5px; font-size: 11px; line-height: 1.4; color: var(--ead-dark); }
.ead-directory .ead-product-kind { display: block; margin-bottom: 10px; font-size: 11px; font-weight: 600; color: var(--ead-green); text-transform: uppercase; letter-spacing: .7px; }
.ead-directory .ead-product-owner { margin: 0 0 14px; color: var(--ead-muted); font-size: 13px; line-height: 1.5; }
.ead-directory .ead-product-owner a { color: var(--ead-green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ead-directory .ead-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.ead-directory .ead-stand { display: inline-block; padding: 4px 7px; border: 1px solid #e2e9dd; border-radius: 5px; color: #59675e; font-size: 11px; line-height: 1.4; }
.ead-directory .ead-sponsor { display: inline-block; margin-left: auto; padding: 5px 8px; border-radius: 5px; background: var(--ead-sponsor-color, #315f3e); color: var(--ead-sponsor-text, #fff); font-size: 11px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; max-width: 100%; }
.ead-directory .ead-card-title { padding: 0; margin: 0 0 12px; font: inherit; font-weight: 700; font-size: 20px; line-height: 1.35; overflow-wrap: anywhere; }
.ead-directory .ead-card-title a { color: var(--ead-dark); text-decoration: none; }
.ead-directory .ead-card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ead-tags { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 7px; }
.ead-directory .ead-tag, .ead-profile-categories .ead-tag { display: inline-block; color: #31573b; background: #f0f5ec; border: 1px solid #d4dfcd; border-radius: 5px; padding: 5px 9px; font-size: 12px; font-weight: 500; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
.ead-directory a.ead-tag:hover, .ead-profile-categories a.ead-tag:hover { background: #e2ecd9; color: #213e2b; text-decoration: underline; }
.ead-directory .ead-card-summary { padding: 0; margin: 15px 0 22px; color: var(--ead-muted); font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.ead-directory .ead-card-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding-top: 17px; margin-top: auto; border-top: 1px solid #e8eee3; color: var(--ead-green); font-size: 14px; font-weight: 600; text-decoration: none; }
.ead-directory .ead-card-link:hover { color: var(--ead-dark); text-decoration: underline; }
.ead-directory .ead-empty { border: 1px dashed #aabca1; border-radius: 10px; padding: 40px 24px; text-align: center; font-size: 16px; line-height: 1.7; }
.ead-directory .ead-empty p { margin: 10px 0 0; color: var(--ead-muted); }
.ead-directory .ead-pagination { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 8px; margin: 32px 0 0; }
.ead-directory .ead-page { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 9px 14px; border: 1px solid var(--ead-border); border-radius: 6px; color: var(--ead-green); background: #fff; font-size: 14px; line-height: 1.4; text-decoration: none; }
.ead-directory a.ead-page:hover { border-color: var(--ead-green); background: var(--ead-soft); }
.ead-directory .ead-page.is-current { background: var(--ead-green); color: #fff; border-color: var(--ead-green); font-weight: 700; }
.ead-directory .ead-page-gap { color: var(--ead-muted); }
.ead-directory a:focus-visible, .ead-directory button:focus-visible, .ead-directory input:focus-visible, .ead-directory select:focus-visible, .ead-contact a:focus-visible, .ead-profile-categories a:focus-visible { outline: 3px solid #56863c; outline-offset: 3px; }
.ead-contact { color: #213e2b; font: inherit; }
.ead-contact dl { margin: 0; }
.ead-contact dl > div { display: grid; grid-template-columns: minmax(85px, 120px) minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid #e2e9dd; }
.ead-contact dt { margin: 0; font-weight: 600; font-size: 14px; }
.ead-contact dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.ead-contact a { color: #315f3e; text-decoration: underline; text-underline-offset: 3px; }
.ead-profile-logo { max-width: 350px; }
.ead-profile-logo .ead-logo { width: auto; max-width: 100%; max-height: 160px; height: auto; object-fit: contain; }
.ead-profile-logo .ead-logo-placeholder { font-weight: 600; font-size: 22px; }
@media (max-width: 1100px) {
    .ead-directory .ead-filters { grid-template-columns: minmax(180px, 1.5fr) minmax(150px, 1fr) minmax(150px, 1fr); }
    .ead-directory .ead-filter-actions { grid-column: 1 / -1; }
    .ead-directory:not(.ead-columns-1) .ead-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
    .ead-directory .ead-filters { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 17px; }
    .ead-directory .ead-filters input[type="search"], .ead-directory .ead-filters select { font-size: 16px; }
    .ead-directory .ead-grid, .ead-directory:not(.ead-columns-1) .ead-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .ead-directory .ead-filter-actions { gap: 18px; }
    .ead-directory .ead-card-logo { height: 145px; min-height: 145px; }
    .ead-contact dl > div { grid-template-columns: minmax(70px, 90px) minmax(0, 1fr); gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .ead-directory .ead-card, .ead-directory .ead-results { transition: none; } }
