/* Account pages keep workspace context separate from the global directory. */
.workspace-account, .workspace-directory { max-width:none; }
.workspace-account .mast { grid-template-columns:minmax(0,1fr) auto; padding-top:0; }
.workspace-account .mast:has(.mast-right:empty) { grid-template-columns:minmax(0,1fr); }
.workspace-account .mast-right:empty { display:none; }
.workspace-account .mast-right { align-items:flex-end; text-align:right; }
.workspace-account .mast h1 { overflow-wrap:anywhere; }
.workspace-account .form { width:100%; max-width:560px; }
.workspace-account .form-foot, .workspace-account .account-payments, .workspace-account .account-row-actions { justify-content:flex-end; }
/* The short step before Stripe: 16px under the payment notice, like any content after a notice. */
.workspace-account .account-pay-start { margin-top:16px; }
/* Your plan's Enterprise line, its request form and its answer: 16px under the plan card. */
.workspace-account .plan-enterprise { margin-top:16px; }
.workspace-account .plan-enterprise.field-row { justify-content:space-between; align-items:center; gap:12px 16px; }
.workspace-account .plan-enterprise.field-row > .form-actions { margin:0; }  /* the shared row, on the line's own baseline */
.workspace-account .plan-enterprise .kv { margin:12px 0 16px; }
.workspace-account .account-table .account-actions { text-align:right; }
.workspace-account .account-actions :is(a,button) { margin-right:0; }
.workspace-account .invitation-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.workspace-account .sheet > summary { display:flex; align-items:center; justify-content:space-between; gap:12px; cursor:pointer; }
.workspace-account .sheet > summary::after { content:"⌄"; flex:none; color:var(--mute); font-size:17px; line-height:1; }
.workspace-account .sheet[open] > summary::after { transform:rotate(180deg); }
.workspace-directory .workspace-actions { justify-content:flex-end; }
.workspace-directory .workspace-name { width:25%; }
.workspace-directory .workspace-name strong { overflow-wrap:anywhere; }
@media (max-width:560px) {
  .workspace-account .mast { gap:16px; }
  .workspace-account .mast-right .btn { padding-inline:14px; }
  .workspace-account .account-navigation a { padding-inline:10px; }
  .workspace-account .account-table .account-actions { text-align:right; }
  .workspace-directory .workspace-name { width:auto; }
  .workspace-directory .workspace-actions { justify-content:flex-end; }
}
