/* /supplier-usability.css */
.hub-result{display:flex;flex-direction:column;gap:12px;padding:22px;border:1px solid #d7dce4;border-radius:16px;box-shadow:0 3px 14px #132b4710;background:#fff;min-width:0}.hub-result h3{font-size:1.25rem;margin:0}.hub-result h3 .button{border:0;padding:0;background:none;text-align:right;font-size:inherit}.hub-result>small{font-size:.875rem;color:#435367}.hub-result>p{font-size:1rem;line-height:1.6;margin:0}.hub-result .supplier-logo-frame{height:88px;align-self:start}.hub-result .supplier-rating{align-self:start}.supplier-quick-facts{display:flex;flex-wrap:wrap;gap:8px;font-size:.875rem;color:#435367}.supplier-quick-facts span{padding:6px 9px;background:#f0f3f7;border-radius:6px}.hub-result .button{min-height:44px}.hub-result .compare-add{margin-top:auto}.compare-add[aria-pressed=true]{background:#173851;color:white}.direct-contact{display:grid;gap:10px}.direct-contact h2{font-size:1.2rem}.direct-contact .button{white-space:normal;overflow-wrap:anywhere;text-align:center;min-height:44px}.quick-compare-bar{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:70;display:flex;align-items:center;gap:14px;padding:14px 20px;background:#16334c;color:#fff;box-shadow:0 5px 24px #0004;border-radius:14px;max-width:calc(100vw - 24px)}.quick-compare-bar[hidden]{display:none}.quick-compare-bar button,.quick-compare-dialog>button{font:inherit;padding:10px 16px;border:0;border-radius:8px;cursor:pointer}.quick-compare-bar button:disabled{opacity:.55}.quick-compare-dialog{width:min(1050px,94vw);max-height:88dvh;border:0;border-radius:16px;padding:24px;overflow:auto}.quick-compare-dialog::backdrop{background:#102235aa}.comparison-scroll,#comparison-table,#journey-table{overflow:auto;max-width:100%}.supplier-comparison{border-collapse:collapse;width:100%;min-width:620px;font-size:1rem;line-height:1.5}.supplier-comparison th,.supplier-comparison td{padding:14px;text-align:right;border:1px solid #dbe1e8;vertical-align:top;min-width:150px}.supplier-comparison thead th{background:#18384e;color:white}.supplier-comparison thead a{color:white}.supplier-comparison tbody th{background:#f1f4f7}.supplier-comparison caption{text-align:right;padding:12px 0;font-size:.875rem}.comparison-difference td{background:#eef6fc}.comparison-missing{color:#665228}.supplier-comparison tbody th{position:sticky;right:0;z-index:1}.provider .supplier-quick-facts{margin-block:12px}.hub-result .tags{display:flex;flex-wrap:wrap;gap:6px}.hub-result .tags span{font-size:.875rem;background:#f0f3f7;padding:5px 8px;border-radius:6px}@media(max-width:600px){.hub-result{padding:18px}.quick-compare-bar{bottom:10px;width:calc(100% - 24px);gap:8px;padding:12px;justify-content:space-between;font-size:.875rem}.quick-compare-bar button{padding:10px}.quick-compare-dialog{padding:16px}.supplier-comparison{min-width:580px}body:has(.quick-compare-bar:not([hidden])){padding-bottom:100px}}

.hub-result .hub-service{font-weight:700}.hub-result .hub-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;color:#435367}.supplier-service{font-size:1.125rem;line-height:1.5;display:block}

/* A consistent action row for category supplier cards. */
.provider{padding:24px;border:1px solid #dce3e6;border-radius:16px;background:#fff;box-shadow:0 4px 18px #18382806;gap:0}
.provider .card-top{margin-bottom:16px;min-height:32px;align-items:center}
.provider .compare-check{display:inline-flex;align-items:center;gap:8px;margin-block:0;padding:6px 10px;background:#f5f7f8;border-radius:8px;line-height:1.4}
.provider .compare-check input{margin:0;width:18px;height:18px;flex-shrink:0}
.provider .identity{min-width:0;gap:14px}
.provider .identity h2{font-size:1.375rem;line-height:1.4;letter-spacing:0;margin:0}
.provider .identity p{margin-top:6px;font-size:.875rem;line-height:1.5}
.provider .description{font-size:1rem;line-height:1.75;color:#40554e;margin:18px 0}
.provider .tags{gap:6px;margin:0 0 18px}
.provider .tags span{padding:5px 10px;font-size:.875rem;border-radius:6px;background:#f4f7f5;border-color:#e3eae5}
.provider .card-bottom{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:stretch;margin-top:auto;padding-top:16px;border-top:1px solid #e6ece8}
.provider .card-bottom small{font-size:.875rem;line-height:1.5;max-width:none;color:#65756e}
.provider .supplier-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
.provider .supplier-card-actions .button{width:100%;min-width:0;min-height:48px;margin:0;padding:10px 8px;text-align:center;font-size:.875rem;line-height:1.5;border-radius:8px;overflow-wrap:anywhere}
.provider .supplier-card-actions .button:first-child{background:var(--green);border-color:var(--green);color:#fff}
.provider .supplier-card-actions .button:first-child:hover{background:#346951}
.provider .supplier-card-actions .button:only-child{grid-column:1/-1}
.provider>[data-favorite]{width:100%;min-height:44px;margin:12px 0 0;border:0;background:#f3f6f4;color:var(--green);border-radius:8px;font-size:.875rem;text-align:center}
.provider>[data-favorite][aria-pressed=true]{background:#e1eee6}
@media(max-width:650px){.provider{padding:20px}.catalog-page .catalog-grid{gap:16px}.provider .description{margin:16px 0}.provider .identity h2{font-size:1.25rem}}

/* /logo-display.css */
/* Final shared logo layer; deliberately overrides old per-page thumbnail rules. */
html body .supplier-logo-frame.logo-ready{--logo-height:120px;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box;width:220px!important;max-width:100%!important;height:156px!important;min-height:156px;flex:0 0 220px!important;padding:18px!important;margin:0!important;overflow:hidden;background:var(--logo-surface,#fff)!important;border:1px solid #e1e5ec!important;border-radius:10px!important;box-shadow:none!important}
html body .supplier-logo-frame.logo-ready .logo-art{position:relative;display:block;flex:none;overflow:hidden;max-width:100%}
html body .supplier-logo-frame.logo-ready .logo-art>.supplier-logo{position:absolute;display:block;max-width:none!important;max-height:none!important;object-fit:fill!important;object-position:center!important;margin:0!important;padding:0!important;border:0!important;filter:none!important;transform:none!important;background:transparent!important;image-rendering:auto}
html body.homepage .hub-result .supplier-logo-frame.logo-ready,html body .journey-card .supplier-logo-frame.logo-ready{width:100%!important;max-width:none!important;flex:0 0 156px!important;align-self:stretch!important;margin:0 0 20px!important;border-radius:8px!important}
html body.homepage .hub-result .supplier-logo-frame.logo-ready{width:calc(100% + 44px)!important;max-width:calc(100% + 44px)!important;margin:-22px -22px 20px!important;border-width:0 0 1px!important;border-radius:8px 8px 0 0!important;padding:22px!important;height:168px!important;min-height:168px;flex-basis:168px!important}
html body.rich-profile .supplier-identity:has(.profile-logo){grid-template-columns:280px minmax(0,1fr) 275px;align-items:center;gap:28px}
html body.rich-profile .supplier-logo-frame.profile-logo.logo-ready{--logo-height:164px;width:280px!important;height:204px!important;min-height:204px;flex-basis:280px!important;padding:20px!important;border-radius:12px!important}
html body.rich-profile .supplier-identity:not(:has(.profile-logo)){grid-template-columns:minmax(0,1fr) 275px}
html body article.provider .identity{align-items:center;gap:24px;flex-wrap:wrap}
html body article.provider .identity>div:not(.supplier-logo-frame){flex:1 1 210px;min-width:0}
@media(max-width:1100px){html body.rich-profile .supplier-identity:has(.profile-logo){grid-template-columns:240px minmax(0,1fr);gap:24px}html body.rich-profile .supplier-logo-frame.profile-logo.logo-ready{width:240px!important;height:184px!important;min-height:184px;--logo-height:144px}html body.rich-profile .supplier-identity .identity-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;max-width:none}html body.rich-profile .identity-actions .profile-journey-actions{flex-basis:100%}html body.rich-profile .supplier-identity:not(:has(.profile-logo)){grid-template-columns:1fr}}
@media(max-width:620px){html body.rich-profile .supplier-identity:has(.profile-logo){grid-template-columns:minmax(0,1fr);gap:20px}html body.rich-profile .supplier-logo-frame.profile-logo.logo-ready{width:100%!important;max-width:none!important;height:200px!important;min-height:200px;--logo-height:152px;padding:24px!important}html body article.provider .identity{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}html body article.provider .identity>.supplier-logo-frame.logo-ready{width:100%!important;flex-basis:auto!important;height:164px!important;min-height:164px;--logo-height:124px;padding:20px!important}html body.rich-profile .supplier-identity .supplier-name{min-width:0}html body.homepage .hub-result .supplier-logo-frame.logo-ready{--logo-height:124px}html body .journey-card .supplier-logo-frame.logo-ready{width:100%!important}}

