/* P1.3 presentation with the desktop organization picker's functional layout. */
dialog.ar-pick-dialog.ar-org-picker {
  width: 995px;
  height: 573px;
  max-width: calc(100vw - 34px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: white;
  border: 0;
  border-radius: 13px;
  box-shadow: 0 24px 100px #122d5940;
  font-size: 14px; line-height: 1.55; font-family: inherit;
}
dialog.ar-pick-dialog.ar-org-picker::backdrop {
  background: #152c4c55;
  backdrop-filter: blur(3px);
}
.ar-org-picker .ar-org-window {
  display: grid;
  grid-template-rows: auto auto auto minmax(0,1fr) auto auto;
  width: 100%;
  height: 100%;
}
.ar-org-picker .ar-org-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
  padding: 21px 25px;
  background: white;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}
.ar-org-picker :is(.ar-org-logo,.ar-org-chrome) { display: none; }
.ar-org-picker button.ar-org-close {
  min-height: 0;
  padding: 4px 8px;
  border: 0;
  border-radius: 6px;
  background: #f2f5fa;
  color: #7e8da3;
  box-shadow: none;
  font-weight: 400; font-size: 14px; line-height: 1.55; font-family: inherit;
}
.ar-org-picker :is(.ar-org-toolbar,.ar-org-query-buttons,.ar-org-records,.ar-org-footer) button {
  min-height: 0;
  border: 1px solid #dfe5ee;
  border-radius: 7px;
  background: white;
  color: #50617a;
  font-weight: 400; font-size: 12px; line-height: 1.6; font-family: inherit;
  box-shadow: none;
  white-space: nowrap;
}
.ar-org-picker :is(.ar-org-toolbar,.ar-org-records,.ar-org-footer) button:disabled {
  opacity: .55;
  cursor: default;
}
.ar-org-picker .ar-org-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 25px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}
.ar-org-picker .ar-org-toolbar button {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 5px;
  padding: 3px 8px;
}
.ar-org-picker .ar-org-toolbar i { color: #7e8da3; font-size: 12px; font-style: normal; }
.ar-org-picker .ar-org-query-area {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 16px;
  padding: 10px 25px 12px;
}
.ar-org-picker .ar-org-query-fields { min-width: 0; }
.ar-org-picker .ar-org-caption {
  margin-bottom: 7px;
  padding: 3px 8px 4px;
  border-bottom: 1px solid #cbd8ee;
  border-radius: 6px 6px 0 0;
  background: #eef3ff;
  color: #244b8a;
  font-size: 12px;
  font-weight: 600;
}
.ar-org-picker .ar-org-query {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1.3fr)) repeat(2,minmax(0,1fr));
  gap: 7px 9px;
}
.ar-org-picker .ar-org-query label {
  display: grid;
  grid-template-columns: max-content minmax(0,1fr);
  align-items: center;
  gap: 5px;
  margin: 0;
  color: #52647e;
  font-size: 11px;
  line-height: 1.6;
  white-space: nowrap;
}
.ar-org-picker :is(.ar-org-query,.ar-org-footer) :is(input,select) {
  width: 100%;
  height: 26px;
  min-height: 0;
  min-width: 0;
  margin: 0;
  padding: 3px 6px;
  border: 1px solid #cbd5e5;
  border-radius: 6px;
  background: white;
  color: #243f68;
  box-shadow: none;
  font: 400 12px/18px system-ui, sans-serif;
}
.ar-org-picker :is(.ar-org-query,.ar-org-footer) select:not([multiple]) {
  appearance: none;
  padding: 0 18px 0 6px;
  background-image: linear-gradient(45deg,transparent 50%,#7c8ca3 50%),linear-gradient(135deg,#7c8ca3 50%,transparent 50%);
  background-size: 4px 4px;
  background-position: calc(100% - 10px) center,calc(100% - 6px) center;
  background-repeat: no-repeat;
}
.ar-org-picker :is(.ar-org-query,.ar-org-footer) :is(input,select):focus {
  outline: 2px solid #2857e0;
  outline-offset: -1px;
}
.ar-org-picker .ar-org-query-buttons {
  display: grid;
  align-content: space-between;
  gap: 6px;
}
.ar-org-picker .ar-org-query-buttons button { padding: 3px 9px; }
.ar-org-picker .ar-org-query-buttons button[type=submit] {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
  box-shadow: 0 3px 8px #2658db17;
}
.ar-org-picker .ar-org-list {
  min-height: 0;
  margin: 0 25px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 7px 7px 0 0;
  background: white;
}
.ar-org-picker .ar-org-list table {
  width: 100%;
  min-width: 932px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.ar-org-picker col:nth-child(1) { width: 35px; }
.ar-org-picker col:nth-child(2) { width: 62px; }
.ar-org-picker col:nth-child(3) { width: 86px; }
.ar-org-picker col:nth-child(4) { width: 153px; }
.ar-org-picker col:nth-child(5) { width: 75px; }
.ar-org-picker col:nth-child(6) { width: 75px; }
.ar-org-picker col:nth-child(7) { width: 151px; }
.ar-org-picker col:nth-child(8) { width: 151px; }
.ar-org-picker col:nth-child(9) { width: 144px; }
.ar-org-picker .ar-org-list :is(th,td) {
  height: 33px;
  padding: 6px 8px;
  border: 0;
  border-bottom: 1px solid #eff2f7;
  overflow: hidden;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}
.ar-org-picker .ar-org-list th {
  position: sticky;
  top: 0;
  border-bottom-color: var(--line);
  background: #f8fafe;
  color: #8a96aa;
  font-weight: 500; font-size: 11px; line-height: 1.6; font-family: inherit;
}
.ar-org-picker .ar-org-list th:nth-child(2) { text-align: center; }
.ar-org-picker .ar-org-list th span { color: #9aaed0; font-size: 10px; }
.ar-org-picker .ar-org-list td {
  background: white;
  color: #53647d;
  font-weight: 400; font-size: 12px; line-height: 1.6; font-family: inherit;
}
.ar-org-picker .ar-org-list td > span { display: block; overflow: hidden; text-overflow: ellipsis; }
.ar-org-picker .ar-org-list td.ar-org-row-number { padding-inline: 3px; color: #718098; }
.ar-org-picker .ar-org-list .ar-org-row-number span { display: inline-block; width: 9px; vertical-align: top; }
.ar-org-picker .ar-org-active .ar-org-row-number span::before { content: '›'; }
.ar-org-picker .ar-org-list .ar-org-active td { background: #eef3ff; color: #243f68; }
.ar-org-picker button.ar-org-select {
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--blue);
  font-weight: 400; font-size: 12px; line-height: 1.6; font-family: inherit;
  box-shadow: none;
}
.ar-org-picker button.ar-org-select:hover { text-decoration: underline; }
.ar-org-picker .ar-org-list .ar-org-empty { padding: 15px 18px; color: #718098; text-align: center; }
.ar-org-picker .ar-org-records {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0 25px 8px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 7px 7px;
}
.ar-org-picker .ar-org-records button { width: 24px; height: 23px; padding: 0; font-size: 10px; }
.ar-org-picker .ar-org-record-status { min-width: 86px; padding: 0 5px; color: #718098; font-size: 11px; text-align: center; }
.ar-org-picker .ar-org-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 5px;
  padding: 10px 25px;
  border-top: 1px solid var(--line);
  background: white;
}
.ar-org-picker .ar-org-footer button { width: 28px; height: 27px; padding: 0; }
.ar-org-picker .ar-org-footer .ar-org-page { width: 60px; }
.ar-org-picker .ar-org-status { margin-right: 41px; color: #718098; font-size: 11px; overflow-wrap: anywhere; }

@media (max-width: 760px) {
  dialog.ar-pick-dialog.ar-org-picker { height: calc(100dvh - 16px); max-width: calc(100vw - 16px); max-height: calc(100dvh - 16px); overflow: auto; }
  .ar-org-picker .ar-org-window { min-height: 520px; }
  .ar-org-picker .ar-org-title { position: sticky; top: 0; z-index: 2; padding: 12px; }
  .ar-org-picker :is(.ar-org-toolbar,.ar-org-query-area,.ar-org-footer) { padding-inline: 12px; }
  .ar-org-picker .ar-org-query-area { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .ar-org-picker .ar-org-query { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ar-org-picker .ar-org-query label { grid-template-columns: minmax(0,1fr); gap: 3px; }
  .ar-org-picker .ar-org-query label :is(input,select) { height: 32px; }
  .ar-org-picker .ar-org-query-buttons { display: flex; justify-content: flex-end; }
  .ar-org-picker .ar-org-query-buttons button { padding: 5px 10px; }
  .ar-org-picker .ar-org-list,.ar-org-picker .ar-org-records { margin-inline: 12px; }
  .ar-org-picker .ar-org-status { flex-basis: 100%; margin-right: 0; }
}
