.member-layout { min-width: 0; }
.catalog-reader #main .member-layout > h1 {
  margin: 0 0 16px;
  font: 400 22px/1.3 Roboto, system-ui, sans-serif;
  letter-spacing: normal;
}
.member-layout .ag-card { margin-bottom: 16px; }
.member-layout .ag-card a:not(.catalog-action):is(:hover, :focus-visible) {
  color: var(--ag-accent);
  text-decoration: none;
}
#main .member-layout .catalog-action.member-primary {
  background: var(--ag-accent);
  border-color: var(--ag-accent);
}
#main .member-layout .catalog-action.member-primary:is(:hover, :focus-visible) {
  background: var(--ag-brand-tint);
  border-color: var(--ag-accent);
}
.member-form form {
  display: grid;
  gap: 9px;
  max-width: 42rem;
  margin-bottom: 12px;
}
.member-form form p { margin: 0; }
.member-form form label { display: block; margin-bottom: 4px; }
.member-form form :is(input:not([type=hidden], [type=checkbox], [type=radio]), textarea, select) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px;
  border: 2px solid #ebebeb;
  border-radius: 6px;
  background: #fff;
  color: var(--ag-ink);
  font: inherit;
}
.member-form form :is(input[type=checkbox], input[type=radio]) { width: auto; }
.member-form form :is(input,textarea,select):focus-visible { outline-color: var(--ag-accent); }
.member-form .catalog-action, .member-price .catalog-action { justify-self: start; }
.member-profile-summary, .member-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.member-profile-summary .ag-avatar { width: 56px; height: 56px; font-size: 22px; }
.member-links { margin-top: 16px; }
.member-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr));
  gap: 12px;
}
.member-price {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--ag-line);
  border-radius: 8px;
}
.member-price :is(strong, h3) { margin: 0; }
.member-price del { color: var(--ag-muted); font-weight: 400; }
.member-layout .ag-prose details { border-bottom: 1px solid var(--ag-line); padding-block: 8px; }
.member-layout .ag-prose details p { max-width: 78ch; }
.member-layout .member-payments { margin-block: 12px; }
.member-visually-hidden {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}

.member-button-row { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.member-error-code { font-size:clamp(54px, 9vw, 110px); line-height:1; font-weight:500; color:var(--ag-ink); }
.member-not-found { display:grid; justify-items:start; gap:14px; }
.member-not-found p, .member-feedback-notice p { margin:0 0 8px; }
.member-feedback-fields { display:grid; gap:12px; min-width:0; margin:0; padding:0; border:0; }
.member-feedback-fields:disabled { opacity:.62; }
.member-feedback-fields:disabled :is(button,input,select,textarea) { cursor:not-allowed; }
.member-feedback-fields .helptext { display:block; margin-top:3px; color:var(--ag-muted); font-size:12px; }
.member-feedback-fields textarea { resize:vertical; }
.member-feedback-list, .member-conversation, .member-attachments { list-style:none; margin:0; padding:0; }
.member-feedback-list li { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:9px 0; border-top:1px solid var(--ag-line); }
.member-feedback-list time { margin-inline-start:auto; }
.member-feedback-list time, .member-message-head time { color:var(--ag-muted); font-size:12px; }
.member-update-label { border-radius:4px; background:var(--ag-brand-tint); padding:3px 7px; }
.member-conversation > li { padding:12px 0; border-top:1px solid var(--ag-line); }
.member-message-head { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px; margin-bottom:5px; }
.member-message-text { overflow-wrap:anywhere; }
.member-attachments { display:flex; flex-wrap:wrap; gap:10px; margin-top:6px; }
.member-document .ag-card > :last-child { margin-bottom:0; }
.member-document .ag-prose details, .member-document details { padding-block:8px; }
.member-document summary { color:var(--ag-ink); font-weight:500; }
.member-document summary h3 { display:inline; font-size:inherit; font-weight:inherit; }
.member-document details p { margin:8px 0 0; }
.member-document .member-button-row > a { text-decoration:none; }
.member-document .member-logos {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:12px;
}
.member-logos figure { display:grid; place-items:center; align-content:center; gap:8px; margin:0; padding:15px; border:1px solid var(--ag-line); border-radius:6px; }
.member-logos img { display:block; width:auto; max-width:100%; height:auto; max-height:150px; object-fit:contain; }
.member-social-link svg { width:16px; height:16px; fill:currentColor; }
