/*
 * The access editor's look (shared/access-editor.js), the same in Triage, Personnel's slide-out and the
 * Permissions page. Taken from the approved mockup of Dec 1, 2026 (side-session-notes, permissions-page-mockup),
 * scoped to .ae and the save-or-leave prompt so it can't restyle the page around it.
 */
.ae, .lv-back { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.ae *, .lv-back * { box-sizing: border-box; }
.ae .lvl, .ae-page .lvl { display: inline-flex; align-items: center; justify-content: center; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; border: 1px solid transparent; line-height: 1.5; white-space: nowrap; }
.lvl-none { color: #8a93a2; border-color: #dde1e7; background: #fff; font-weight: 500; }
.lvl-view { background: #eef2f7; color: #3d4f66; border-color: #d4dce7; }
.lvl-contribute { background: #e7f4ec; color: #1e6b3c; border-color: #c2e0cf; }
.lvl-edit { background: #fdf3e1; color: #8a5a00; border-color: #efd9a9; }
.lvl-admin { background: #232D4B; color: #fff; border-color: #232D4B; }

.ae .badge, .ae-page .badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.badge-owner { background: #fdeadd; color: #b05500; border: 1px solid #f3cfae; }
.badge-group { background: #e9eef8; color: #232D4B; border: 1px solid #cdd7ea; }
.badge-team { background: #f1edf9; color: #5b3e9e; border: 1px solid #ddd2f0; }
.badge-custom { background: #fdf3e1; color: #8a5a00; border: 1px solid #efd9a9; }
.badge-sens { background: #fbeaea; color: #9b2c2c; border: 1px solid #f1c9c9; font-size: 10px !important; padding: 1px 6px !important; }
.badge-left { background: #f1f2f4; color: #5a6372; border: 1px solid #dde1e7; }

.ae .btn, .lv .btn { padding: 7px 14px; border: 1px solid #ccd2da; border-radius: 6px; font: inherit; font-size: 13px; cursor: pointer; background: #fff; color: #333; transition: background .15s; }
.ae .btn:hover:not(:disabled), .lv .btn:hover:not(:disabled) { background: #f0f2f5; }
.ae .btn:disabled, .lv .btn:disabled { opacity: .5; cursor: not-allowed; }
.ae .btn-primary, .lv .btn-primary { background: #232D4B; color: #fff; border-color: #232D4B; }
.ae .btn-primary:hover:not(:disabled), .lv .btn-primary:hover:not(:disabled) { background: #1a2240; }
.ae .btn-sm { padding: 4px 10px; font-size: 12px; }
.ae .eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .9px; color: #8a93a2; font-weight: 700; }

  .ae { background: #fff; }
  .ae-section { padding: 14px 0; }
  .ae-section + .ae-section { border-top: 1px solid #edf0f4; }
  .ae-label { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-bottom: 10px; }
  .ae-label .eyebrow { color: #51607a; }
  .ae-label .hint { font-size: 12.5px; color: #78818f; }
  .section-sub { font-size: 12.5px; color: #78818f; margin: -6px 0 10px; }
  .ae-banner { border-radius: 8px; padding: 10px 12px; font-size: 12.5px; line-height: 1.5; margin-bottom: 4px; }
  .ae-banner.owner { background: #fff9f3; border: 1px solid #f3cfae; color: #7a4200; }
  .ae-banner.ro { background: #f4f6f9; border: 1px solid #e0e4ea; color: #51607a; }

  .group-pick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .gp { position: relative; border: 1.5px solid #dde1e7; border-radius: 9px; padding: 9px 11px 10px; cursor: pointer; background: #fff; text-align: left; transition: border-color .12s, box-shadow .12s; }
  .gp:hover { border-color: #aab4c4; }
  .gp input { position: absolute; opacity: 0; pointer-events: none; }
  .gp .t { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: #232D4B; }
  .gp .t:before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #aab4c4; flex-shrink: 0; box-sizing: border-box; }
  .gp .d { font-size: 11.5px; color: #78818f; margin-top: 4px; line-height: 1.4; }
  .gp.sel { border-color: #232D4B; box-shadow: 0 0 0 3px rgba(35,45,75,.1); background: #fbfcfe; }
  .gp.sel .t:before { border: 4.5px solid #232D4B; }
  .gp.suggest:after { content: "Suggested"; position: absolute; top: -8px; right: 8px; font-size: 10px; font-weight: 700; background: #E57200; color: #fff; border-radius: 999px; padding: 1px 7px; }
  .gp.dis { cursor: not-allowed; opacity: .6; }
  .gp.dis:hover { border-color: #dde1e7; }
  .gp.sel.dis { opacity: 1; }

  .team-pick { display: flex; gap: 8px; flex-wrap: wrap; }
  .tp { display: inline-flex; align-items: flex-start; gap: 8px; border: 1px solid #dde1e7; border-radius: 8px; padding: 8px 12px; font-size: 13px; cursor: pointer; background: #fff; max-width: 340px; }
  .tp input { margin-top: 2px; accent-color: #5b3e9e; }
  .tp small { display: block; color: #8a93a2; font-size: 11.5px; margin-top: 1px; }
  .tp.on { border-color: #b9a6e3; background: #faf8fe; }

  .custom-toggle { display: flex; align-items: center; gap: 10px; width: 100%; background: #f6f8fb; border: 1px solid #e0e4ea; border-radius: 8px; padding: 10px 12px; cursor: pointer; text-align: left; }
  .custom-toggle .chev { transition: transform .15s; color: #51607a; font-size: 11px; }
  .custom-toggle.open .chev { transform: rotate(90deg); }
  .custom-toggle .t { font-size: 13.5px; font-weight: 600; color: #232D4B; }
  .custom-toggle .s { font-size: 12px; color: #78818f; margin-left: auto; text-align: right; }

  .rm-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 11.5px; color: #78818f; margin: 12px 2px 8px; align-items: center; }
  .rm-legend .sw { display: inline-block; width: 16px; height: 16px; border-radius: 5px; vertical-align: -4px; margin-right: 5px; }
  .rm-legend .sw.inh { background: #e3ebf7; box-shadow: inset 0 0 0 1px #c6d4ea; }
  .rm-legend .sw.cus { background: #fafbfc; box-shadow: inset 3px 0 0 #E5A200, inset 0 0 0 1px #e6e9ef; }

  table.rm { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; table-layout: fixed; }
  .rm td.fn { overflow-wrap: anywhere; }
  .rm thead th { position: sticky; top: 0; background: #fff; z-index: 1; font-size: 11.5px; font-weight: 700; color: #51607a; padding: 7px 4px 8px; border-bottom: 2px solid #e0e4ea; text-align: center; }
  .rm thead th.fcol { text-align: left; padding-left: 10px; color: #8a93a2; text-transform: uppercase; letter-spacing: .8px; font-size: 10.5px; }
  .rm thead th .lc { display: block; font-weight: 500; color: #9aa1ab; font-size: 10.5px; margin-top: 1px; white-space: nowrap; }
  .rm col.c { width: 92px; }
  .rm tr.cat td { font-size: 10.5px; text-transform: uppercase; letter-spacing: .9px; color: #8a93a2; font-weight: 700; padding: 13px 10px 5px; border-bottom: 1px solid #edf0f4; }
  .rm tr.fr td { border-bottom: 1px solid #f0f2f5; padding: 6px 4px; vertical-align: middle; }
  .rm tr.fr td.fn { padding: 7px 10px; }
  .rm tr.fr.sub td.fn { padding-left: 30px; }
  .rm tr.fr.sub td.fn .nm:before { content: "↳ "; color: #aab4c4; }
  .rm .nm { font-weight: 600; color: #28303d; display: block; }
  .rm .nm .badge { margin-left: 4px; vertical-align: 1px; }
  .rm .ln { font-size: 11.5px; color: #78818f; margin-top: 2px; line-height: 1.4; }
  .rm .ln b { color: #51607a; font-weight: 600; }
  .rm td.rc { text-align: center; }
  .rm td.rc label { display: inline-flex; width: 38px; height: 30px; align-items: center; justify-content: center; border-radius: 7px; cursor: pointer; }
  .rm td.rc label:hover { background: #f0f3f8; }
  .rm td.rc.inh label { background: #e3ebf7; box-shadow: inset 0 0 0 1px #c6d4ea; }
  .rm td.rc input { width: 17px; height: 17px; accent-color: #232D4B; cursor: pointer; margin: 0; }
  .rm td.rc input:disabled { cursor: not-allowed; }
  .rm td.rc .nu { color: #d3d8df; font-size: 15px; cursor: help; }
  /* A custom row: an amber edge down the row and its card; everything else stays neutral. */
  .rm tr.fr.cus td { border-bottom: none; }
  /* The bar never moves the row's content, and always sits 7px to its left: inside the cell's padding where
     there is room, otherwise just outside the cell (a white band keeps the 7px gap). */
  .rm tr.fr.cus td.fn, .rm tr.fr-meta td { box-shadow: inset 3px 0 0 #E5A200; }
  .rm tr.fr-meta td { padding: 0 10px 12px 10px; border-bottom: 1px solid #f0f2f5; }
  .cus-card { border: 1px solid #e6e9ef; border-radius: 8px; background: #fafbfc; padding: 10px 12px 12px; }
  .cus-head { display: flex; align-items: baseline; gap: 8px; }
  .cus-cap { font-size: 10.5px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: #9a6200; }
  .cus-instead { font-size: 12px; color: #5a6372; margin: 2px 0 10px; }
  .cus-reset { margin-left: auto; background: none; border: none; padding: 0; font: inherit; font-size: 12px; color: #28517c; cursor: pointer; text-decoration: underline; text-decoration-color: #c3d2e2; }
  .cus-lbl { display: block; font-size: 12px; font-weight: 600; color: #3d4659; margin-bottom: 4px; }
  .cus-lbl span { font-weight: 400; color: #8a93a2; margin-left: 2px; }
  .cus-card textarea.why { display: block; width: 100%; min-height: 44px; resize: none; overflow: hidden; border: 1px solid #d6dbe3; border-radius: 6px;
    padding: 7px 9px; font: inherit; font-size: 13px; line-height: 1.45; color: #28303d; background: #fff; }
  .cus-card textarea.why::placeholder { color: #9aa1ab; }
  .cus-card textarea.why:focus, .cus-card input.until:focus { outline: none; border-color: #232D4B; box-shadow: 0 0 0 3px rgba(35,45,75,.1); }
  .cus-exp { display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; margin-top: 10px; min-height: 30px; }
  .cus-card input.until { width: 150px; border: 1px solid #d6dbe3; border-radius: 6px; padding: 5px 8px; font: inherit; font-size: 12.5px; background: #fff; color: #28303d; }
  .exp-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #3d4659; cursor: pointer; }
  .vswitch.sm { width: 32px; height: 18px; }
  .vswitch.sm .vs:before { height: 12px; width: 12px; left: 3px; top: 3px; }
  .vswitch.sm input:checked + .vs:before { transform: translateX(14px); }
  .vswitch.sm input:focus-visible + .vs { box-shadow: 0 0 0 3px rgba(35,45,75,.25); }
  .cus-hint { font-size: 12px; color: #78818f; }
  .cus-ro { font-size: 13px; color: #28303d; line-height: 1.5; }
  .cus-ro + .cus-ro { margin-top: 4px; }
  .cus-muted { color: #8a93a2; font-size: 12px; }

  .ae-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 0 2px; border-top: 1px solid #edf0f4; }
  .ae-foot .sum { font-size: 12.5px; color: #5a6372; flex: 1; min-width: 200px; line-height: 1.5; }
  .ae-foot .sum b { color: #232D4B; }
  .ae-foot .pending { font-size: 12px; color: #8a5a00; background: #fdf3e1; border: 1px solid #efd9a9; border-radius: 6px; padding: 5px 9px; }

  .rm thead th .short { display: none; }
  @media (max-width: 760px) { .rm thead th .short { display: inline; } }

  /* The editor inside Personnel's 460px panel: the same parts, stacked. The five level columns keep
     their full names; the short hint under each is dropped. */
  .ae.compact .ae-section { padding: 0 0 18px; }
  .ae.compact .ae-banner { margin-bottom: 16px; }
  .ae.compact .ae-section + .ae-section { border-top: none; }
  .ae.compact .group-pick { grid-template-columns: 1fr; gap: 6px; }
  .ae.compact .gp { display: flex; align-items: baseline; gap: 10px; padding: 9px 12px; }
  .ae.compact .gp .t { flex: 0 0 140px; }
  .ae.compact .gp .d { display: block; margin-top: 0; font-size: 12px; }
  .ae.compact .team-pick { flex-direction: column; }
  .ae.compact .tp { max-width: none; }
  .ae.compact .custom-toggle .s { display: none; }
  .ae.compact .rm-legend { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ae.compact .rm thead th .lc { display: none; }
  .ae.compact .rm thead th { font-size: 11px; padding: 6px 0 7px; }
  .ae.compact .rm col.c-none, .ae.compact .rm col.c-view, .ae.compact .rm col.c-edit { width: 42px; }
  .ae.compact .rm col.c-contribute { width: 70px; }
  .ae.compact .rm col.c-admin { width: 46px; }
  .ae.compact .rm td.rc { padding: 6px 0; }
  .ae.compact .rm td.rc label { width: 34px; }
  .ae.compact .rm tr.fr td.fn { padding: 7px 6px 7px 0; }
  .ae.compact .rm tr.fr.sub td.fn { padding-left: 14px; }
  .ae.compact .rm tr.fr-meta td { padding: 0 6px 12px 0; }
  .ae.compact .rm tr.fr.cus td.fn, .ae.compact .rm tr.fr-meta td { box-shadow: -7px 0 0 #fff, -10px 0 0 #E5A200; }
  .ae.compact .rm tr.cat td, .ae.compact .rm thead th.fcol { padding-left: 0; }
  .ae.compact .cus-card { padding: 10px; }
  .ae.compact .ae-foot .sum { min-width: 0; flex-basis: 100%; }

  /* What is set, shown alone until "Change" */
  .ae .cur { display: flex; align-items: flex-start; gap: 12px; border: 1px solid #dde1e7; border-radius: 9px; padding: 10px 12px; background: #fbfcfe; }
  .ae .cur-main { flex: 1; min-width: 0; }
  .ae .cur-t { font-size: 14px; font-weight: 700; color: #232D4B; }
  .ae .cur-d { display: block; font-size: 12px; color: #78818f; margin-top: 2px; line-height: 1.4; }
  .ae .cur .badge { margin-left: 6px; vertical-align: 1px; }
  .ae .cur.unset .cur-t { color: #5a6372; font-weight: 600; }
  .ae .cur.dirty { border-color: #e2c98f; background: #fffaf0; }
  .ae .team-line + .team-line { margin-top: 8px; padding-top: 8px; border-top: 1px solid #edf0f4; }
  .ae .pick-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
  /* Team options: the group list's layout, with a square check in the team color */
  .gp.check .t:before { border-radius: 4px; }
  .gp.check.sel { border-color: #5b3e9e; box-shadow: 0 0 0 3px rgba(91,62,158,.1); background: #faf8fe; }
  .gp.check.sel .t:before { border: none; background: #5b3e9e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / 11px 11px; }
  /* The save bar: only when something changed, and pinned to the bottom of the window while it is */
  .ae.compact .ae-foot.dirty { position: sticky; bottom: 0; z-index: 3; background: #fffaf0; border: 1px solid #e2c98f; border-radius: 10px;
    padding: 12px 14px; margin-top: 4px; box-shadow: 0 -6px 18px rgba(16,24,40,.08); justify-content: flex-end; }
  .ae.compact .ae-foot.dirty .sum { font-size: 12.5px; color: #7a4a00; line-height: 1.55; }
  .ae.compact .ae-foot.dirty .sum b { color: #7a4a00; }

  /* "Save or leave?" */
  .lv-back { position: fixed; inset: 0; z-index: 1000; background: rgba(20,26,40,.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
  .lv { background: #fff; border-radius: 12px; width: min(520px, 100%); padding: 20px 22px 18px; box-shadow: 0 18px 50px rgba(20,26,40,.25); }
  .lv h3 { font-size: 17px; color: #1F2533; margin-bottom: 6px; }
  .lv p { font-size: 13.5px; color: #5a6372; line-height: 1.5; }
  .lv ul { margin: 10px 0 0 18px; font-size: 13.5px; color: #28303d; line-height: 1.6; }
  .lv .acts { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
  .lv .btn-discard { color: #c0392b; border-color: #e0b4b4; }
  @media (max-width: 520px) {
    .lv .acts { flex-direction: column-reverse; align-items: stretch; }
    .lv .acts .btn { padding: 10px 14px; }
  }
  @media (max-width: 760px) {
    .ae.compact .rm col.c-none, .ae.compact .rm col.c-view, .ae.compact .rm col.c-contribute,
    .ae.compact .rm col.c-edit, .ae.compact .rm col.c-admin { width: 35px; }
    .ae.compact .rm thead th { font-size: 9.5px; }
    .ae.compact .gp { flex-direction: column; gap: 2px; }
    .ae.compact .gp .t { flex: none; }
  }

/* Narrower screens (the mockup's phone pass: all five radio columns on screen at 375px, no sideways scroll). */
@media (max-width: 1100px) {
  .group-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .group-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gp .d { display: none; }
  .rm col.c { width: 35px; }
  .rm thead th { font-size: 9.5px; padding: 6px 0 7px; letter-spacing: -.1px; }
  .rm thead th.fcol { font-size: 9.5px; letter-spacing: .4px; }
  .rm thead th .lc { display: none; }
  .rm thead th .full { display: none; }
  .rm td.rc { padding: 6px 0 !important; }
  .rm td.rc label { width: 30px; height: 30px; }
  .rm td.rc input { width: 16px; height: 16px; }
  .rm tr.fr td.fn { padding: 7px 4px 7px 6px; }
  .rm .ln { font-size: 11px; }
  .cus-card input.until { flex: 1; min-width: 0; }
  .rm tr.fr.sub td.fn { padding-left: 14px; }
  .rm tr.fr-meta td { padding-left: 6px; }
  .rm tr.fr.cus td.fn, .rm tr.fr-meta td { box-shadow: -1px 0 0 #fff, -4px 0 0 #E5A200; }
  .rm .nm { font-size: 12.5px; }
  .rm-legend { font-size: 11px; gap: 8px 12px; }
  .custom-toggle .s { display: none; }
}

/* Added in the build: what the mockup had no state for. */
.ae .tp.dis { cursor: not-allowed; opacity: .75; }
.ae .tp.dis input { cursor: not-allowed; }
.ae .rm .ln .src { color: #aab4c4; }
.ae .rm-legend .nu-key { color: #c3c9d2; margin-right: 2px; }
.ae .ae-nogroup { font-size: 12.5px; color: #8a5a00; margin: 8px 0 0; }
.ae .ae-after { font-size: 11.5px; color: #8a93a2; padding-top: 6px; }
.ae .ae-error { margin: 10px 0 0; padding: 8px 12px; border-radius: 8px; background: #fdecec; border: 1px solid #f1c3c3; color: #9b2c2c; font-size: 12.5px; line-height: 1.45; }
.ae.compact .ae-error { margin: 0 0 10px; }
.ae .cus-reset:focus-visible, .ae .custom-toggle:focus-visible, .ae .btn:focus-visible { outline: 2px solid #232D4B; outline-offset: 2px; }
.ae .gp:focus-within, .ae .tp:focus-within { outline: 2px solid #232D4B; outline-offset: 2px; }
.lv .lv-err { margin-top: 10px; color: #9b2c2c; font-size: 13px; }
.ae-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #232D4B; color: #fff; padding: 10px 16px; border-radius: 8px;
  font-size: 13px; z-index: 1100; max-width: calc(100vw - 32px); box-shadow: 0 8px 24px rgba(16,24,40,.2); opacity: 0; transition: opacity .2s; pointer-events: none; }
.ae-toast.on { opacity: 1; }
/* The Expires? switch: the suite's visibility switch (Personnel's .vswitch), scoped to the editor. */
.ae .vswitch { position: relative; flex-shrink: 0; width: 42px; height: 24px; display: inline-block; }
.ae .vswitch input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.ae .vswitch .vs { position: absolute; inset: 0; background: #c9ccd4; border-radius: 24px; cursor: pointer; transition: background .15s; }
.ae .vswitch .vs:before { content: ""; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .15s; }
.ae .vswitch input:checked + .vs { background: #232D4B; }
.ae .vswitch input:checked + .vs:before { transform: translateX(18px); }
.ae .vswitch.sm { width: 32px; height: 18px; }
.ae .vswitch.sm .vs:before { height: 12px; width: 12px; left: 3px; top: 3px; }
.ae .vswitch.sm input:checked + .vs:before { transform: translateX(14px); }
.ae .vswitch input:focus-visible + .vs { box-shadow: 0 0 0 3px rgba(35,45,75,.25); }

/* The grid inside a page whose own table rules are global (Personnel's people table: max-content width,
   nowrap cells, uppercase sortable headers, row hover). Undone here so the grid is the grid everywhere. */
.ae table.rm { width: 100%; min-width: 0; font-size: 13px; border-collapse: separate; }
.ae .rm tbody td { white-space: normal; vertical-align: middle; }
.ae .rm tbody tr { border-bottom: none; cursor: default; }
.ae .rm tbody tr:hover { background: none; }
.ae .rm thead th { text-transform: none; letter-spacing: normal; cursor: default; user-select: auto; position: sticky; background: #fff; }
.ae .rm thead th:hover { background: #fff; }
.ae .rm thead th.fcol { text-transform: uppercase; letter-spacing: .8px; }
.ae .rm tr.fr td { padding: 6px 4px; }
.ae .rm tr.fr td.fn { padding: 7px 10px; }
.ae .rm tr.cat td { padding: 13px 10px 5px; }
.ae.compact .rm tr.fr td.fn { padding: 7px 6px 7px 0; }
.ae.compact .rm tr.fr.sub td.fn { padding-left: 14px; }
.ae.compact .rm tr.cat td { padding-left: 0; }
.ae.compact .rm td.rc, .ae .rm tr.fr td.rc { padding: 6px 0; }
.ae .rm tr.fr-meta td { padding: 0 10px 12px 10px; }
.ae.compact .rm tr.fr-meta td { padding: 0 6px 12px 0; }

/* Focus you can see (the UI review, Dec 1): an orange ring, unlike the navy of a selected card. */
.ae .rm td.rc input:focus-visible { outline: 2px solid #E57200; outline-offset: 3px; }
.ae .gp:focus-within, .ae .tp:focus-within { outline: 2px solid #E57200; outline-offset: 2px; }
.ae .cus-card textarea.why:focus-visible, .ae .cus-card input.until:focus-visible { outline: 2px solid #E57200; outline-offset: 1px; }
/* Long words wrap at a word, not mid-word, in the narrow function column. */
.ae .rm td.fn { overflow-wrap: break-word; word-break: normal; hyphens: auto; }
.rm thead th.fcol .short { display: none; }
@media (max-width: 760px) {
  .rm thead th.fcol .full { display: none; }
  .rm thead th.fcol .short { display: inline; }
}
/* The Permissions page scrolls inside .page-content, whose top padding the sticky header would otherwise sit below, with rows showing above it. */
.ae-page .ae .rm thead th { top: -22px; }
@media (max-width: 760px) { .ae-page .ae .rm thead th { top: -18px; } }
/* A required reason left empty, after Save or Create new asked for it. */
.ae .cus-card textarea.why.missing { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.12); }
