/* Directory and company settings: labelled fields, contained actions. */
.workbench-shell .workspace.directory-page .business-table.settings-table,
.workbench-shell .workspace.partner-page .business-table { min-width: 0; width: 100%; }
.workbench-shell .workspace.directory-page .page-head { margin-bottom: 22px; }
.workbench-shell .workspace.directory-page .page-head p { color: var(--ink-2); max-width: 64ch; margin: 8px 0 0; }
.workbench-shell .workspace.directory-page .business-record { margin: 24px 0; }
.workbench-shell .workspace.directory-page .business-record h2 { font-size: 19px; margin: 0 0 14px; }
.workbench-shell .workspace.directory-page .business-record li { padding: 5px 0; line-height: 1.8; }
.workbench-shell .workspace.directory-page .business-record code { white-space: normal; overflow-wrap: anywhere; }
.workbench-shell .workspace.partner-page .business-table .name-cell > strong,
.workbench-shell .workspace.directory-page .business-table .name-cell > strong { font-size: 15px; font-weight: 600; }
.workbench-shell .workspace.partner-page .directory-summary { background: transparent; }
.workbench-shell .workspace.partner-page .business-table .table-relations summary { min-height: 44px; }
.workbench-shell .workspace.partner-page .table-count { margin-top: 18px; }
@media (max-width: 1100px) {
  .workbench-shell .workspace.partner-page .table-scroll,
  .workbench-shell .workspace.directory-page .table-scroll { overflow: visible; border: 0; background: transparent; }
  .workbench-shell .workspace.partner-page .business-table,
  .workbench-shell .workspace.partner-page .business-table tbody,
  .workbench-shell .workspace.partner-page .business-table tr,
  .workbench-shell .workspace.partner-page .business-table td,
  .workbench-shell .workspace.directory-page .settings-table,
  .workbench-shell .workspace.directory-page .settings-table tbody,
  .workbench-shell .workspace.directory-page .settings-table tr,
  .workbench-shell .workspace.directory-page .settings-table td { display: block; width: 100%; min-width: 0; box-sizing: border-box; }
  .workbench-shell .workspace.partner-page .business-table thead,
  .workbench-shell .workspace.directory-page .settings-table thead { display: block; position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; }
  .workbench-shell .workspace.partner-page .business-table tr,
  .workbench-shell .workspace.directory-page .settings-table tr { margin: 0 0 16px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
  .workbench-shell .workspace.partner-page .business-table td,
  .workbench-shell .workspace.directory-page .settings-table td { display: grid; grid-template-columns: 94px minmax(0,1fr); align-items: baseline; gap: 12px; padding: 9px 0; border: 0; text-align: left; position: static; box-shadow: none; background: transparent; font-size: 14px; }
  .workbench-shell .workspace.partner-page .business-table td::before,
  .workbench-shell .workspace.directory-page .settings-table td::before { content: attr(data-label); color: var(--ink-2); font-size: 12px; font-weight: 400; line-height: 1.7; }
  .workbench-shell .workspace.partner-page .business-table td > *,
  .workbench-shell .workspace.directory-page .settings-table td > * { grid-column: auto; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .workbench-shell .workspace.partner-page .business-table td.name-cell,
  .workbench-shell .workspace.directory-page .settings-table td.name-cell { display: block; padding: 0 0 13px; margin-bottom: 4px; border-bottom: 1px solid var(--line-soft); }
  .workbench-shell .workspace.partner-page .business-table td.name-cell::before,
  .workbench-shell .workspace.directory-page .settings-table td.name-cell::before { display: none; }
  .workbench-shell .workspace.partner-page .business-table .name-cell > strong,
  .workbench-shell .workspace.directory-page .settings-table .name-cell > strong { display: block; font-size: 16px; line-height: 1.65; }
  .workbench-shell .workspace.partner-page .business-table td.action-cell,
  .workbench-shell .workspace.directory-page .settings-table td.action-cell { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px; padding: 14px 0 0; margin-top: 6px; border-top: 1px solid var(--line-soft); }
  .workbench-shell .workspace.partner-page .business-table td.action-cell::before,
  .workbench-shell .workspace.directory-page .settings-table td.action-cell::before { display: none; }
  .workbench-shell .workspace.partner-page .business-table td.action-cell > a,
  .workbench-shell .workspace.directory-page .settings-table td.action-cell > a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; flex: 0 1 auto; padding: 8px 12px; margin: 0; border: 1px solid var(--line); border-radius: 6px; line-height: 1.5; white-space: normal; }
  .workbench-shell .workspace.partner-page .business-table td[colspan],
  .workbench-shell .workspace.directory-page .settings-table td[colspan] { display: block; padding: 18px 0; color: var(--ink-2); }
  .workbench-shell .workspace.partner-page .business-table td[colspan]::before,
  .workbench-shell .workspace.directory-page .settings-table td[colspan]::before { display: none; }
  .workbench-shell .workspace.partner-page .business-table .optional-column { display: none; }
  .workbench-shell .workspace.partner-page .directory-summary { gap: 16px; align-items: flex-start; }
  .workbench-shell .workspace.partner-page .directory-summary p { font-size: 12px; line-height: 1.8; }
}
@media (max-width: 360px) {
  .workbench-shell .workspace.partner-page .business-table td,
  .workbench-shell .workspace.directory-page .settings-table td { grid-template-columns: 78px minmax(0,1fr); gap: 10px; }
}
