/* One restrained EASY HOME design system; company records do not imply endorsement. */
.company-directory-jumps { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.company-directory-jumps a { display: inline-flex; align-items: center; gap: 8px; min-height: 43px; padding: 11px 16px; border: 1px solid #d5d5dc; border-radius: 999px; background: #fff; color: #1d1d1f; font: 500 12px/1.5 var(--eh-font, system-ui, sans-serif); text-decoration: none; transition: background .2s, border-color .2s; }
.company-directory-jumps a:hover { border-color: #b58a3c; background: #f8f3e8; }
.company-directory-jumps a:focus-visible { outline: 2px solid #816121; outline-offset: 3px; }
#directory-workspace { background: var(--eh-silver, #f5f5f7); }
[data-company-ui] { color: var(--eh-ink, #1d1d1f); font-family: var(--eh-font, system-ui, sans-serif); min-width: 0; }
[data-company-ui] *, .cd-modal-overlay * { box-sizing: border-box; }
[data-company-ui] [hidden], .cd-modal-overlay[hidden] { display: none !important; }
[data-company-ui] button, [data-company-ui] input, [data-company-ui] select, [data-company-ui] textarea { font-family: inherit; letter-spacing: 0; text-transform: none; }
[data-company-ui] button::before, [data-company-ui] button::after { content: none !important; }
[data-company-ui] button:focus-visible, [data-company-ui] input:focus-visible, [data-company-ui] select:focus-visible, [data-company-ui] textarea:focus-visible, [data-company-ui] a:focus-visible, [data-company-ui] summary:focus-visible { outline: 2px solid #816121; outline-offset: 3px; }
.cd-icon { width: 19px; height: 19px; display: block; flex: 0 0 19px; }
.cd-introduction { margin-bottom: 48px; }
.cd-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 25px; }
.cd-overview > div { border-top: 1px solid #cfcfd5; padding-top: 18px; }
.cd-overview strong { display: block; color: #1d1d1f; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; font-weight: 600; letter-spacing: -.04em; }
.cd-overview span { display: block; font-size: 11px; color: #626268; line-height: 1.5; margin-top: 7px; }
.cd-notice { display: flex; align-items: flex-start; gap: 12px; padding: 16px 19px; border-left: 2px solid #b58a3c; border-radius: 0 12px 12px 0; background: #f8f3e8; color: #655332; font-size: 12px; line-height: 1.7; margin: 16px 0; }
.cd-notice > .cd-icon { margin-top: 3px; color: #816121; }
.cd-small { font-size: 11px; color: #626268; line-height: 1.7; }
.cd-source-note { padding-top: 22px; border-top: 1px solid #dedee3; margin-top: 35px; }
.cd-directory { padding: 30px; border: 1px solid #dedee3; border-radius: 22px; background: #fff; margin-top: 28px; scroll-margin-top: 95px; }
.cd-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.cd-section-heading > .cd-icon { width: 34px; height: 34px; flex-basis: 34px; color: #816121; margin-top: 4px; }
.cd-eyebrow { color: #816121; font-size: 10px; font-weight: 600; letter-spacing: .09em; line-height: 1.5; text-transform: uppercase; margin: 0 0 10px; }
.cd-section-heading h3 { font-size: clamp(20px, 2.5vw, 27px); letter-spacing: -.035em; line-height: 1.22; font-weight: 600; margin: 0; }
.cd-section-heading p:not(.cd-eyebrow) { max-width: 820px; font-size: 12px; line-height: 1.7; color: #626268; margin: 13px 0 0; }
.cd-filters, .cd-admin-toolbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 20px; border-radius: 14px; background: #f5f5f7; }
.cd-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; font-size: 11px; font-weight: 500; color: #37373b; line-height: 1.5; }
[data-company-ui] .cd-field input:not([type='checkbox']):not([type='radio']):not([type='range']), [data-company-ui] .cd-field select, [data-company-ui] .cd-field textarea { width: 100%; min-width: 0; background: #fff; color: #1d1d1f; border: 1px solid #d5d5dc; border-radius: 8px; padding: 11px 12px; min-height: 43px; font-size: 12px; line-height: 1.6; box-shadow: none; margin: 0; }
.cd-field input::placeholder, .cd-field textarea::placeholder { color: #77777e; opacity: 1; }
[data-company-ui] .cd-field select { padding-right: 30px; text-overflow: ellipsis; }
.cd-field select:disabled { background: #ececf0; color: #66666e; }
.cd-field textarea { resize: vertical; }
.cd-search-wrap { position: relative; }
.cd-search-wrap .cd-icon { position: absolute; left: 12px; top: 13px; color: #77777e; pointer-events: none; }
[data-company-ui] .cd-field .cd-search-wrap input:not([type='checkbox']):not([type='radio']):not([type='range']) { padding-left: 39px; }
.cd-reset-field { display: flex; align-items: flex-end; }
.cd-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 11px 15px; border: 1px solid #cdced4; border-radius: 999px; background: #fff; color: #1d1d1f; font-size: 11px; line-height: 1.4; font-weight: 500; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s; }
.cd-button:hover { background: #ececef; border-color: #a8a8b0; }
.cd-button:disabled { opacity: .4; cursor: not-allowed; }
.cd-button-primary { background: #1d1d1f; color: #fff; border-color: #1d1d1f; }
.cd-button-primary:hover { background: #39393d; color: #fff; }
.cd-geography-note { color: #66666d; font-size: 11px; line-height: 1.65; margin: 13px 2px 0; }
.cd-results-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 25px 0 17px; }
.cd-results-heading p { font-size: 12px; font-weight: 600; color: #1d1d1f; margin: 0; }
.cd-results-heading span { font-size: 10px; color: #626268; }
.cd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.cd-card { min-width: 0; overflow: hidden; border: 1px solid #dedee3; border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.cd-card:hover { border-color: #bebec6; box-shadow: 0 10px 24px #1d1d1f07; }
.cd-company-mark { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 66px; padding: 14px 18px; background: #f5f5f7; border-bottom: 1px solid #e7e7ec; color: #74747d; }
.cd-company-mark > span { flex: 0 0 auto; color: #7a766d; }
.cd-company-mark small { font-size: 10px; line-height: 1.4; }
.cd-company-mark img { width: 100%; height: 42px; object-fit: contain; }
.cd-card-content { padding: 19px 18px 17px; display: flex; flex-direction: column; min-height: 291px; }
.cd-card-category { color: #816121; font-size: 10px; line-height: 1.45; font-weight: 500; margin: 0 0 8px; }
.cd-card h4 { font-size: 18px; line-height: 1.25; font-weight: 600; letter-spacing: -.025em; color: #1d1d1f; margin: 0 0 7px; overflow-wrap: anywhere; }
.cd-card-location { color: #626268; font-size: 11px; line-height: 1.5; margin: 0 0 11px; }
.cd-card-match { color: #705b32; background: #faf7f0; padding: 7px 9px; border-radius: 6px; font-size: 10px; line-height: 1.6; margin: 0 0 12px; }
.cd-card-summary { color: #626268; font-size: 11px; line-height: 1.65; margin: 0 0 16px; }
.cd-status { display: inline-flex; align-self: flex-start; padding: 5px 8px; border: 1px solid #dfd9cd; border-radius: 6px; background: #faf7f0; color: #705b32; font-size: 9px; line-height: 1.5; }
.cd-record-origin { font-size: 9px; line-height: 1.5; color: #73737b; margin: 8px 0 16px; }
.cd-profile-button { display: flex; align-items: center; gap: 8px; justify-content: space-between; width: 100%; padding: 12px 0 0; background: none; border: 0; border-top: 1px solid #e6e6eb; color: #816121; font-size: 11px; line-height: 1.5; font-weight: 500; cursor: pointer; margin-top: auto; text-align: left; }
.cd-profile-button:hover { color: #1d1d1f; }
.cd-empty { grid-column: 1 / -1; text-align: center; padding: 40px 24px; background: #f5f5f7; border: 1px dashed #d3d3db; border-radius: 14px; }
.cd-empty > .cd-icon { margin: 0 auto 15px; color: #626268; }
.cd-empty h4 { color: #1d1d1f; font-size: 18px; line-height: 1.35; font-weight: 500; margin: 0 0 12px; }
.cd-empty p { color: #626268; font-size: 12px; max-width: 650px; margin: 0 auto 20px; line-height: 1.7; }
.cd-pagination { display: flex; justify-content: center; align-items: center; gap: 17px; margin-top: 27px; }
.cd-pagination > span { font-size: 11px; color: #626268; font-variant-numeric: tabular-nums; }
.cd-pagination [data-cd-action='page-previous'] .cd-icon { transform: rotate(180deg); }
.cd-profile-open { overflow: hidden !important; }
.cd-modal-overlay { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center; padding: 24px; background: #1d1d1f88; }
.cd-modal { width: min(960px, 100%); max-height: calc(100dvh - 48px); overflow: auto; overscroll-behavior: contain; border: 1px solid #dedee3; border-radius: 20px; background: #fff; box-shadow: 0 24px 70px #0003; outline: none; }
.cd-modal-header { display: flex; position: sticky; top: 0; z-index: 1; justify-content: space-between; align-items: center; gap: 18px; padding: 17px 28px; background: #fffffff2; backdrop-filter: blur(14px); border-bottom: 1px solid #e3e3e9; }
.cd-modal-header .cd-eyebrow { margin: 0; font-size: 9px; }
.cd-detail-content { padding: 30px; }
.cd-detail-heading { display: flex; gap: 23px; align-items: center; margin-bottom: 25px; }
.cd-company-mark-large { min-height: 116px; width: 170px; flex: 0 0 170px; border: 1px solid #e2e2e8; border-radius: 13px; flex-direction: column; text-align: center; }
.cd-company-mark-large > span .cd-icon { width: 28px; height: 28px; }
.cd-company-mark-large img { height: 68px; }
.cd-detail-heading h2 { font-size: clamp(25px, 3vw, 36px); line-height: 1.1; color: #1d1d1f; letter-spacing: -.04em; margin: 0 0 10px; font-weight: 600; }
.cd-detail-heading p:not(.cd-card-category) { font-size: 12px; color: #626268; margin: 0 0 12px; line-height: 1.6; }
.cd-detail-section { margin-top: 27px; padding-top: 25px; border-top: 1px solid #dedee3; }
.cd-detail-section h3 { font-size: 19px; line-height: 1.25; color: #1d1d1f; font-weight: 600; letter-spacing: -.025em; margin: 0 0 14px; }
.cd-detail-section p, .cd-detail-section li { font-size: 12px; line-height: 1.8; color: #626268; }
.cd-detail-section ul:not(.cd-reference-list):not(.cd-detail-projects) { padding-left: 18px; }
.cd-detail-section dl { margin: 21px 0 0; }
.cd-detail-section dl > div { display: grid; grid-template-columns: 175px minmax(0, 1fr); gap: 20px; padding: 12px 0; border-bottom: 1px solid #ececf0; font-size: 11px; line-height: 1.7; }
.cd-detail-section dt { font-weight: 500; color: #1d1d1f; }
.cd-detail-section dd { margin: 0; color: #626268; overflow-wrap: anywhere; }
.cd-detail-section a { display: inline-flex; align-items: center; gap: 7px; color: #816121; text-decoration: none; overflow-wrap: anywhere; }
.cd-detail-section a:hover { text-decoration: underline; }
.cd-detail-section a .cd-icon { width: 13px; height: 13px; flex-basis: 13px; }
.cd-reference-list, .cd-detail-projects { list-style: none; padding: 0; margin: 16px 0; }
.cd-reference-list li { padding: 7px 0; }
.cd-detail-projects li { margin-top: 12px; padding: 16px 18px; background: #f5f5f7; border-radius: 10px; }
.cd-detail-projects strong, .cd-detail-projects span { display: block; }
.cd-detail-projects strong { color: #1d1d1f; font-weight: 500; font-size: 13px; }
.cd-detail-projects span { font-size: 10px; margin-top: 3px; }
.cd-detail-projects p { margin: 8px 0; }
.cd-admin { margin-top: 25px; padding: 30px; border-radius: 20px; border: 1px solid #dedee3; background: #fff; }
.cd-admin-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 25px 0 15px; }
.cd-admin-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.cd-admin-toolbar .cd-admin-actions { grid-column: 1 / -1; }
.cd-check { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #626268; }
.cd-check input { width: 15px; height: 15px; min-height: 0; padding: 0; }
.cd-import-label { position: relative; overflow: hidden; }
.cd-import-label input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.cd-import-label:focus-within { outline: 2px solid #816121; outline-offset: 3px; }
.cd-admin-message { padding: 14px 17px; background: #f5f5f7; border-radius: 10px; font-size: 12px; color: #626268; line-height: 1.7; }
.cd-admin-message.cd-admin-error { background: #f9eee9; color: #8b442d; border-left: 2px solid #ad5e43; }
.cd-admin-form { margin-top: 26px; padding-top: 26px; border-top: 1px solid #dedee3; }
.cd-admin-form h4 { font-size: 23px; line-height: 1.2; font-weight: 600; letter-spacing: -.03em; margin: 0 0 22px; }
.cd-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-bottom: 17px; }
.cd-admin-form > .cd-field, .cd-builder-editor-fields > .cd-field { margin-bottom: 20px; }
.cd-advanced { padding: 18px; background: #f5f5f7; border-radius: 12px; margin: 20px 0; }
.cd-advanced summary { font-size: 13px; font-weight: 500; cursor: pointer; color: #1d1d1f; }
[data-company-ui] .cd-advanced .cd-field textarea { font: 11px/1.7 ui-monospace, Consolas, monospace; }
@media (max-width: 1050px) { .cd-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .cd-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .cd-directory, .cd-admin { padding: 22px 16px; border-radius: 16px; }
  .cd-section-heading { gap: 13px; }
  .cd-section-heading > .cd-icon { width: 25px; height: 25px; flex-basis: 25px; }
  .cd-section-heading h3 { font-size: 20px; }
  .cd-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 15px; gap: 13px; }
  .cd-filters > .cd-field:first-child, .cd-filters > .cd-field:has([data-cd-filter='basis']) { grid-column: 1 / -1; }
  .cd-grid { grid-template-columns: 1fr; }
  .cd-card { display: grid; grid-template-columns: 85px minmax(0, 1fr); }
  .cd-company-mark { padding: 12px 8px; flex-direction: column; border-bottom: 0; border-right: 1px solid #e7e7ec; text-align: center; }
  .cd-company-mark small { font-size: 8px; }
  .cd-card-content { min-height: 0; padding: 17px 15px; }
  .cd-card-summary { font-size: 11px; }
  .cd-card h4 { font-size: 18px; }
  .cd-modal-overlay { padding: 9px; }
  .cd-modal { max-height: calc(100dvh - 18px); border-radius: 14px; }
  .cd-modal-header { padding: 13px 17px; }
  .cd-modal-header .cd-eyebrow { max-width: 155px; font-size: 8px; }
  .cd-modal-header .cd-button { min-height: 38px; padding: 9px 11px; font-size: 10px; }
  .cd-detail-content { padding: 22px 17px; }
  .cd-detail-heading { gap: 15px; align-items: flex-start; }
  .cd-company-mark-large { min-height: 87px; width: 87px; flex-basis: 87px; border: 1px solid #e2e2e8; }
  .cd-detail-heading h2 { font-size: 25px; }
  .cd-detail-section dl > div { grid-template-columns: 1fr; gap: 4px; }
  .cd-admin-toolbar, .cd-editor-grid { grid-template-columns: 1fr; }
  .cd-admin-actions .cd-button { font-size: 10px; }
  .cd-advanced { padding: 14px; }
  .cd-pagination { gap: 10px; }
  .cd-pagination .cd-button { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) { [data-company-ui] * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
