:root {
  color-scheme: light;
  --graphite: #25282c;
  --copper: #c76b32;
  --copper-light: #d98549;
  --action: #9f451d;
  --mineral: #edebe8;
  --white: #fff;
  --ink: #24201e;
  --muted: #615852;
  --line: #dcd3cc;
  --input-line: #96877d;
  --shadow: 0 3px 12px #3622170d;
  font: 1rem/1.5 "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--mineral);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { display: grid; grid-template-columns: clamp(238px, 16.3vw, 292px) minmax(0, 1fr); min-height: 100vh; margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.16; letter-spacing: -.025em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.06rem; }
a { color: var(--action); }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
.rail :focus-visible, .topbar :focus-visible { outline-color: #ffbd8d; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 5; padding: 8px 12px; background: var(--white); border-radius: 8px; }
.skip-link:not(:focus) { width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.rail {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  padding: 30px 16px 20px;
  color: var(--white);
  background: linear-gradient(160deg, var(--graphite), #211f1e 78%);
}
.brand { display: block; width: fit-content; max-width: 100%; }
.brand img { display: block; width: min(246px, 100%); height: auto; }
.rail nav { display: grid; gap: 5px; margin-top: 21px; }
.rail nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #f5f1ee;
  font-weight: 650;
  text-decoration: none;
}
.rail nav a:hover, .account-menu summary:hover { background: #ffffff14; }
.rail nav [aria-current] { background: var(--action); border-color: #dc93626b; box-shadow: inset 3px 0 #ffbd8d; }
.rail nav [aria-current]:hover { background: #873a18; }
.rail nav svg, .account-menu svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.workspace { min-width: 0; }
.topbar { position: relative; z-index: 2; display: flex; justify-content: end; align-items: center; min-height: 72px; padding: 9px clamp(16px, 3vw, 50px); border-bottom: 1px solid #564943; background: linear-gradient(102deg, #35302f, var(--graphite) 78%); color: #f8f2ee; }
.account-menu { position: relative; max-width: 100%; }
.account-menu summary { display: flex; gap: 10px; align-items: center; min-height: 48px; padding: 3px 6px; border-radius: 9px; cursor: pointer; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary::marker { content: ""; }
.account-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: #f9ceae; color: #412717; }
.account-label { display: grid; min-width: 0; line-height: 1.3; }
.account-label > span { max-width: 24ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e7d9d0; font-size: .86rem; }
.account-menu .chevron { width: 17px; height: 17px; }
.account-menu[open] .chevron { transform: rotate(180deg); }
.account-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(276px, calc(100vw - 32px)); display: grid; justify-items: stretch; gap: 12px; padding: 15px; border: 1px solid #6c584c; border-radius: 12px; background: #322c29; box-shadow: 0 10px 28px #1b151549; }
.account-field { display: grid; gap: 4px; }
.account-panel select { width: 100%; }

main, footer { width: min(100%, 70rem); margin-inline: auto; padding-inline: clamp(16px, 3vw, 50px); }
main { padding-top: clamp(25px, 5vw, 64px); padding-bottom: 32px; }
.kicker { margin-bottom: 8px; color: var(--action); font-size: .76rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.intro { max-width: 62ch; margin-top: 12px; color: var(--muted); }
.muted { color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 16px; margin-top: 22px; }
.panel { min-width: 0; padding: clamp(15px, 3vw, 26px); border: 1px solid var(--line); border-radius: 15px; background: var(--white); box-shadow: var(--shadow); }
.panel > :not(:first-child) { margin-top: 12px; }
[data-view] > .panel, .auth-view > .panel { margin-top: 22px; }
.auth-view { max-width: 36rem; }
.auth-view .panel p { max-width: 52ch; }
.invitation-reference summary { width: fit-content; color: var(--action); cursor: pointer; }
.invitation-reference p { margin-top: 6px; }
.invitation-reference code { display: block; }
#status { width: fit-content; max-width: 65ch; font-weight: 650; color: #67391f; }
#status:not(:empty) { position: sticky; top: 8px; z-index: 1; margin-bottom: 14px; padding: 8px 12px; border: 1px solid #d9b598; border-radius: 9px; background: #f2e6db; overflow-wrap: anywhere; }

form, .actions { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: end; }
form { margin-block: 12px; }
.form-stack { display: grid; align-items: start; gap: 12px; }
.form-stack > button { justify-self: start; }
label { min-width: 0; display: grid; gap: 4px; font-weight: 600; }
.check-label { display: flex; align-items: center; gap: 8px; }

.directory-editor fieldset { min-inline-size: 0; border: 0; padding: 0; margin: 0; }
.editor-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); }
.editor-column, .editor-section { display: grid; min-width: 0; gap: 12px; align-content: start; }
.editor-column { gap: 24px; }
.editor-section + .editor-section { padding-top: 16px; border-top: 1px solid var(--line); }
.editor-section input:not([type=checkbox]), .editor-section textarea, .editor-section select { width: 100%; min-width: 0; }
.editor-section button { justify-self: start; }
.editor-status:empty, [data-place-status]:empty, [data-place-region]:empty { display: none; }
.editor-status { margin-bottom: 12px; overflow-wrap: anywhere; }
.editor-section h4 { font-size: 1rem; margin: 4px 0 0; }
.editor-family { border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; }
.editor-family + .editor-family { margin-top: 8px; }
.editor-family summary { cursor: pointer; font-weight: 650; }
.editor-family h4 { margin-top: 12px; font-size: .9rem; }
.editor-options { display: grid; gap: 7px; margin-top: 7px; overflow-wrap: anywhere; }
.editor-options input { flex-shrink: 0; }
.editor-actions { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.editor-preview { padding: 14px 16px; border: 1px solid var(--line); border-radius: 9px; overflow-wrap: anywhere; }
.editor-preview p + p { margin-top: 6px; }
@media (max-width: 830px) {
  .editor-layout { grid-template-columns: minmax(0, 1fr); }
}
.compact-label { display: grid; gap: 4px; width: fit-content; }
input, select, button, textarea { font: inherit; }
input:not([type="checkbox"]), select, button, textarea, .button-link { min-height: 44px; max-width: 100%; border: 1px solid var(--input-line); border-radius: 9px; padding: 7px 12px; }
input:not([type="checkbox"]), select, textarea { min-width: 0; color: var(--ink); background: var(--white); }
textarea { resize: vertical; }
input[type="checkbox"] { justify-self: start; accent-color: var(--action); }
button { border-color: var(--action); background: var(--action); color: var(--white); font-weight: 650; cursor: pointer; }
button:hover:not(:disabled) { background: #873a18; }
button:disabled { opacity: .65; cursor: default; }
.button-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 650; }
.secondary { border-color: #a89485; background: var(--white); color: var(--action); }
.secondary:hover:not(:disabled) { background: #fcf1e9; }
.text-button { padding-inline: 0; border-color: transparent; background: transparent; color: var(--action); text-decoration: underline; text-underline-offset: 3px; }
.text-button:hover:not(:disabled) { background: transparent; text-decoration-thickness: 2px; }
ul { padding-inline-start: 1.4rem; }
li, code { overflow-wrap: anywhere; }
li { margin-block: .5rem; }
.rows { list-style: none; padding: 0; }
.rows:empty { display: none; }
.rows > li { padding-block: 11px; border-top: 1px solid var(--line); margin: 0; }
.rows > li > :not(:first-child) { margin-top: 5px; }
dialog { max-width: min(500px, calc(100vw - 24px)); padding: 23px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); box-shadow: 0 18px 70px #1c10094d; }
dialog::backdrop { background: #21181299; }
dialog p { margin-top: 10px; }
dialog .actions { justify-content: end; margin-bottom: 0; }
[data-view] h1, [data-auth-view] h1 { scroll-margin-top: 65px; }
footer { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-bottom: 26px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
main:has(> #network:not([hidden])) { width: 100%; padding: 0 0 32px; }
main:has(> #network:not([hidden])) > #status:not(:empty) { margin: 9px clamp(16px, 3vw, 50px); }
.network-hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(182px, 14vw, 252px); overflow: hidden; padding: 28px clamp(16px, 3vw, 54px); background: #251c18; color: #fff4eb; }
.network-hero::before { content: ""; position: absolute; inset: 0 0 0 clamp(30%, 530px, 48%); z-index: -1; background: linear-gradient(90deg, #251c18, #251c1833 36%, transparent 65%), url("./bandeau-cao.webp") right 54% / cover no-repeat; }
.network-hero p { max-width: 68ch; margin-top: 12px; color: #f4e6dc; font-size: clamp(1rem, 1.15vw, 1.13rem); text-wrap: balance; }
.network-content { padding: 19px clamp(16px, 3vw, 50px) 0; }
#network-context { margin-bottom: 12px; overflow-wrap: anywhere; }
.network-switch, .directory-views { display: inline-flex; gap: 4px; border: 1px solid #d7ccc4; border-radius: 10px; padding: 4px; background: #e5ded8; }
.network-switch { margin-bottom: 18px; }
.collective-switch { margin: 16px 0; flex-wrap: wrap; }
.collective-toolbar { margin: 0; align-items: end; }
.collective-toolbar label { flex: 1 1 13rem; }
.collective-context { margin-block: 12px; border-top: 3px solid var(--action); }
.collective-heading { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.collective-heading h2 { min-width: 0; overflow-wrap: anywhere; }
.collective-context p { white-space: pre-wrap; overflow-wrap: anywhere; }
.collective-role { background: #eee8e2; color: #574438; border-radius: 999px; padding: 3px 10px; font-weight: 650; }
.collective-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(255px, 100%), 1fr)); align-items: start; gap: 12px; }
.collective-panels .rows { overflow-wrap: anywhere; }
.direct-panels { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; gap: 14px; }
.direct-panels .panel { overflow-wrap: anywhere; }
.direct-panels .collective-context { margin-top: 0; }
.direct-panels h3 { margin-top: 18px; }
#direct-assign { margin-block: 12px; }
.coordination-panel { margin-block: 14px; overflow-wrap: anywhere; }
.coordination-panel > summary { cursor: pointer; font-weight: 700; color: var(--action); }
.coordination-panel[open] > summary { margin-bottom: 10px; }
.coordination-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 14px; align-items: start; }
.coordination-detail { border: 1px solid var(--line); border-radius: 12px; padding: 14px; min-width: 0; }
.coordination-detail h4 { margin: 16px 0 6px; }
.coordination-categories { margin-block: 8px; flex-wrap: wrap; }
.messages-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 14px; align-items: start; }
.messages-grid .collective-context { margin-top: 0; }
.messages-grid .panel { min-width: 0; overflow-wrap: anywhere; }
.messages-grid [data-conversation] { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; text-align: left; }
.messages-grid [aria-current="true"] { border-color: var(--action); }
.messages-unread { font-size: .85em; border-radius: 999px; padding: 1px 7px; background: #f4e3d5; color: #652e13; }
.messages-history { list-style: none; max-height: 48vh; overflow-y: auto; margin: 12px 0; padding: 0; display: grid; gap: 8px; }
.message-bubble { background: #f0e9e3; padding: 9px 12px; border-radius: 12px; width: max-content; max-width: min(86%, 48rem); }
.message-bubble p { margin: 0; white-space: pre-wrap; }
.message-own { justify-self: end; background: #f5dec9; }
.message-meta { color: #624b3b; font-size: .83em; }
.messages-preference { margin-top: 14px; }
.messages-opt-in { display: flex; gap: 8px; align-items: baseline; }
.messages-opt-in input { width: auto; }
@media (max-width: 768px) {
  .messages-grid { grid-template-columns: minmax(0, 1fr); }
}
.coordination-panel .form-stack { margin-block: 12px; }
#direct-task-panel .coordination-grid { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 768px) {
  .coordination-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .direct-panels { grid-template-columns: minmax(0, 1fr); }
}
.collective-governance { margin-block: 12px; overflow-wrap: anywhere; }
.collective-governance fieldset, .collective-governance form, .collective-panels > section { min-width: 0; }
.collective-governance h3 { margin-block: 0 6px; }
.collective-member-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.collective-member-actions form { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.collective-governance label, .collective-member-actions label { min-width: 0; }
.collective-fields { border: 0; min-width: 0; padding: 0; margin: 0; }
.collective-feedback:not(:empty) { margin: 10px 0; }
.collective-feedback:empty, #collective-dialog-status:empty { display: none; }
#collective-inbox { margin-top: 0; overflow-wrap: anywhere; }
.network-switch button, .directory-views button { min-height: 36px; border: 1px solid transparent; background: transparent; color: #4c4039; }
.network-switch button:hover, .directory-views button:hover { background: #f0e7e0; }
.network-switch button[aria-pressed="true"] { border-color: var(--line); background: var(--white); color: var(--action); box-shadow: var(--shadow); }
.directory-views { gap: 0; padding: 0; background: #f6f1ec; }
.directory-views button { display: grid; place-items: center; width: 44px; padding: 4px; }
.directory-views button[aria-pressed="true"] { background: var(--action); color: var(--white); }
.directory-layout { display: grid; grid-template-columns: clamp(195px, 17vw, 310px) minmax(0, 1fr); grid-template-rows: max-content minmax(0, 1fr); grid-template-areas: "filters query" "filters results"; gap: 0 clamp(16px, 2.2vw, 38px); align-items: start; }
.directory-query { grid-area: query; display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px clamp(12px, 2vw, 24px); }
#partner-search { flex: 1 1 320px; display: flex; flex-wrap: nowrap; align-items: stretch; gap: 7px; margin: 0; min-width: 0; }
.directory-search, #directory-location { display: flex; align-items: center; min-width: 0; gap: 8px; border: 1px solid #a79a90; border-radius: 10px; background: #fffdfb; padding: 0 13px; box-shadow: var(--shadow); }
.directory-search { flex: 1; }
.directory-search:focus-within { outline: 3px solid var(--action); outline-offset: 2px; }
.directory-search input { flex: 1; min-width: 0; padding-inline: 0; border: 0; background: transparent; }
.directory-search input:focus-visible { outline: none; }
#directory-location { min-height: 46px; font-size: .9rem; max-width: min(16rem, 100%); }
#directory-location span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.directory-query button { flex: none; }
.directory-query svg, .directory-filters svg, .directory-views svg, .directory-mark svg { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.directory-filters { grid-area: filters; padding: clamp(13px, 1.5vw, 24px); }
.directory-filters summary { display: flex; align-items: center; gap: 9px; min-height: 30px; font-weight: 750; cursor: pointer; }
.directory-filters summary::-webkit-details-marker { display: none; }
.directory-filters summary::after { content: "+"; margin-left: auto; }
.directory-filters[open] summary::after { content: "−"; }
.directory-filters fieldset { display: grid; gap: 7px; margin: 13px 0 0; padding: 0; border: 0; min-width: 0; }
.directory-filters legend { width: 100%; padding: 10px 0 6px; border-top: 1px solid var(--line); font-weight: 700; }
.directory-filters label { display: flex; align-items: center; gap: 8px; min-height: 30px; font-weight: 500; }
.directory-filters input[type="radio"] { width: 16px; height: 16px; margin: 0; accent-color: var(--action); }
.directory-filters .advanced-filters label { display: grid; gap: 3px; }
.advanced-filters select, .advanced-filters input { width: 100%; }
.advanced-filters [role="status"]:empty { display: none; }
.advanced-filters button { justify-self: start; }
.directory-sort { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.directory-person-match { color: var(--action); font-weight: 650; overflow-wrap: anywhere; }
#partner-people-list .focused-person { border-inline-start: 3px solid var(--action); padding-inline-start: .65rem; }
.directory-results { grid-area: results; container-type: inline-size; }
.directory-toolbar, .directory-options { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.directory-toolbar { padding: 12px 0 15px; }
.directory-count { font-weight: 650; }
.directory-options { margin-left: auto; font-size: .9rem; }
.directory-note:empty { display: none; }
.directory-cards { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.directory-card { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px clamp(12px, 1.35vw, 24px); align-items: center; margin: 0; padding: clamp(15px, 1.5vw, 28px); border: 1px solid var(--line); border-radius: 15px; background: #fffdfb; box-shadow: var(--shadow); }
.directory-card-copy { min-width: 0; }
.directory-card-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; }
.directory-card h2 { font-size: clamp(1.24rem, 1.7vw, 1.75rem); overflow-wrap: anywhere; }
.directory-type { color: #51453d; font-weight: 650; }
.directory-card-copy p { margin-top: 5px; }
.directory-description { max-width: 67ch; overflow-wrap: anywhere; white-space: pre-wrap; }
.directory-mark { display: grid; place-items: center; align-self: start; width: clamp(49px, 5.7vw, 95px); aspect-ratio: 1; border: 1px solid #674d40; border-radius: 13px; background: radial-gradient(ellipse at 30% 20%, #473d36, #211c1a 76%); color: #f0a172; }
.directory-mark svg { width: 55%; height: 55%; }
.directory-profile-link { grid-column: 2; justify-self: start; }
.directory-profile-link span { margin-left: 5px; }
.directory-cards.is-list { gap: 0; }
.is-list .directory-card { border-radius: 0; box-shadow: none; padding: 11px clamp(13px, 1.25vw, 23px); }
.is-list .directory-card + .directory-card { border-top: 0; }
.is-list .directory-card:first-child { border-radius: 12px 12px 0 0; }
.is-list .directory-card:last-child { border-end-start-radius: 12px; border-end-end-radius: 12px; }
.is-list .directory-mark { width: 43px; border-radius: 8px; }
.is-list .directory-card h2 { font-size: 1.18rem; }
.directory-more, #more-relationships { margin-top: 12px; }
.partnership-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border: 1px solid #bfdcc7; border-radius: 999px; background: #e4f2e7; color: #256b3d; font-size: .81rem; font-weight: 700; line-height: 1.25; }
.partnership-badge::before { content: ""; width: 8px; height: 8px; margin-inline: 3px; flex: none; border-radius: 50%; background: #36a365; }
.profile-dialog { width: min(570px, calc(100vw - 24px)); max-width: none; }
.profile-dialog h2, #partner-profile-presentation { overflow-wrap: anywhere; }
.profile-dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.profile-dialog-heading form, .profile-dialog-heading p { margin-top: 0; }
#partner-profile-presentation { white-space: pre-wrap; }
.profile-relation { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.profile-relation .actions { margin-top: 12px; }
#partner-profile-feedback:empty { display: none; }
#personal-publication { margin-block-start: 1rem; }
#publication-jump { margin-block-start: .75rem; }
#personal-publication label, #personal-publication select { max-inline-size: 100%; min-inline-size: 0; }
#publication-controls { display: grid; gap: 1rem; justify-items: start; }
#publication-controls > .editor-section { inline-size: 100%; }
#publication-sections > legend { font-weight: 700; }
#publication-sections .editor-options { margin-block: .75rem; }
.publication-details { overflow-wrap: anywhere; margin-block: .75rem 0; }
.publication-details dt { font-weight: 700; }
.publication-details dd { margin: 0 0 .5rem; }
.publication-biography { white-space: pre-wrap; overflow-wrap: anywhere; }
#partner-details-status:empty { display: none; }
#partner-people-list > li { display: block; }

@container (min-width: 670px) {
  .directory-card { grid-template-columns: auto minmax(0, 1fr) auto; }
  .directory-mark { align-self: center; }
  .directory-profile-link { grid-column: auto; }
}

@media (min-width: 831px) and (max-width: 1100px) {
  .network-hero p { max-width: 40ch; }
  .directory-layout { grid-template-columns: 174px minmax(0, 1fr); gap: 0 14px; }
}
@media (max-width: 830px) {
  body { display: block; }
  .rail { position: static; min-height: auto; padding: 13px 12px; }
  .brand img { width: min(178px, 100%); }
  .rail nav { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 9px; }
  .rail nav a { min-height: 44px; gap: 5px; padding: 4px 8px; font-size: .88rem; }
  .rail nav svg { width: 16px; height: 16px; }
  .topbar { min-height: 62px; padding-block: 6px; }
  .network-hero { min-height: 155px; }
  .network-hero::before { inset-inline-start: 0; background-image: linear-gradient(90deg, #251c18eb 0%, #251c18b8 58%, #251c187a), url("./bandeau-cao.webp"); }
  .network-hero p { max-width: 37ch; }
  .directory-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "query" "filters" "results"; gap: 9px 0; }
  .directory-toolbar { padding-block: 3px 11px; }
}

@media (max-width: 470px) {
  .rail nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail nav a { justify-content: center; text-align: center; }
  .rail nav svg { display: none; }
  .actions { align-items: stretch; }
  .directory-search { padding-inline: 8px; gap: 5px; }
  .directory-profile-link { grid-column: 1 / -1; }
}
.share-form, .share-results {
  max-width: 54rem;
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}

.share-form label {
  display: block;
  margin-block: .75rem;
}

.share-form select {
  max-width: 100%;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
