.role-tester-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.role-tester-choices button {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "icon arrow" "name name" "description description";
  grid-template-rows: auto auto 1fr;
  align-items: start;
  gap: .5rem .7rem;
  min-width: 0;
  padding: 1rem;
  text-align: left;
  color: #3b2420;
  background: #fffcf8;
  border: 1px solid #d9cabe;
  border-radius: .55rem;
  font: inherit;
  cursor: pointer;
}
.role-tester-choices button:hover { background: #faf4ec; border-color: #ab8c75; }
.role-tester-choices button:focus-visible { outline: 2px solid #835331; outline-offset: 2px; }
.role-test-icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .5rem;
  background: #e5eee3;
  color: #355643;
}
[data-role-test="sales"] .role-test-icon { color: #794e22; background: #f4e8d5; }
[data-role-test="client"] .role-test-icon { color: #59436c; background: #ece6ef; }
.role-test-icon svg { width: 1.45rem; height: 1.45rem; }
.role-tester-choices strong { grid-area: name; color: #3a211c; font: 650 1.2rem/1.25 Georgia, serif; }
.role-test-description { grid-area: description; color: #654e43; font-size: .9rem; line-height: 1.45; }
.role-test-arrow { grid-area: arrow; align-self: center; color: #725043; font-size: 1.15rem; line-height: 1; }
@container settings (max-width: 38rem) {
  .role-tester-choices { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .role-tester-choices button {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "icon name arrow" "icon description arrow";
    grid-template-rows: auto auto;
    align-items: center;
    gap: .18rem .7rem;
    padding: .9rem .8rem;
  }
}
#role-tester-dialog { box-sizing: border-box; position: fixed; inset: 0; margin: 0; padding: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; border: 0; background: #fbf8f4; color: #32211e; }
#role-tester-dialog[open] { display: flex; flex-direction: column; }
.role-tester-open { overflow: hidden; }
.role-tester-bar { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1rem; background: #341d1a; color: white; padding: max(.4rem, env(safe-area-inset-top)) max(.85rem,env(safe-area-inset-right)) .4rem max(.85rem,env(safe-area-inset-left)); font-size: .9rem; }
.role-tester-bar h2 { color: inherit; margin: 0; font: 650 1rem Georgia,serif; }
#role-tester-account { flex: 1 1 auto; }
.role-tester-bar button { min-height: 40px; color: white; border: 1px solid #aa9289; background: transparent; border-radius: 5px; padding: .4rem .8rem; cursor: pointer; font: inherit; }
#role-tester-notice { margin: 0; padding: .45rem .85rem; color: #4d3328; background: #f6e9d9; }
#role-tester-notice:empty { display: none; }
#role-tester-viewport { flex: 1 1 0%; min-height: 0; }
#role-tester-viewport iframe { display: block; width: 100%; height: 100%; border: 0; }
.role-tester-bar button[hidden] { display: none; }
@media (max-width: 460px) {
  .role-tester-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem .4rem; }
  .role-tester-bar [data-role-exit] { grid-column: 2; grid-row: 1 / 3; }
  #role-tester-account { grid-column: 1; grid-row: 2; font-size: .8rem; }
  .role-tester-bar [data-role-return] { grid-column: 1 / -1; justify-self: start; margin-top: .25rem; }
}
