/* Google Meet permission dialog — tokens + layout from reference computed styles */

.gm-perm-root,
.gm-perm-root *,
.gm-perm-root *::before,
.gm-perm-root *::after {
  box-sizing: border-box;
}

.gm-perm-root {
  /* gm3 + meet tokens (from live Meet dialog) */
  --gm3-sys-color-on-surface-variant: #444746;
  --gm3-sys-color-on-surface-variant-rgb: 68, 71, 70;
  --gm3-sys-color-surface-container-high: #e9eef6;
  --gm3-sys-color-surface-container-high-rgb: 233, 238, 246;
  --gm3-sys-color-primary: #0b57d0;
  --gm3-sys-color-on-primary: #fff;
  --gm3-sys-color-scrim: #000;
  --gm3-sys-color-surface: #fff;
  --eNKeTe: #fff;
  --Tlqqfc: 75rem;
  --W1aG0b: 0;
  --urucif: 0;
  --Cv3aid: 0;
  --xkSh4b: 0;
  --tukwab: 0;
  --ws-sys-color-genai-bold-gradient01: #346bf1;
  --ws-sys-color-genai-bold-gradient02: #3186ff;
  --ws-sys-color-genai-bold-gradient03: #a9a8ff;

  position: fixed;
  inset: 0;
  z-index: 2001;
  display: none;
  font-family: "Google Sans", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: rgb(68, 71, 70);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.gm-perm-root.gm-perm-root--open {
  display: flex;
}

.gm-perm-root .uW2Fw-Sx9Kwc {
  position: fixed;
  top: 0;
  left: 0;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.32);
  flex: 1;
}

.gm-perm-root .uW2Fw-wzTsW {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  box-sizing: border-box;
  height: 100%;
  pointer-events: none;
  opacity: 1;
  width: 100%;
}

.gm-perm-root .uW2Fw-P5QLlc.YqDQLb {
  --eNKeTe: #fff;
}

.gm-perm-root .uW2Fw-P5QLlc.tTaNEd {
  --Tlqqfc: 75rem;
}

.gm-perm-root .uW2Fw-P5QLlc {
  background-color: var(--eNKeTe, var(--gm3-sys-color-surface-container-high, #e9eef6));
  min-width: 280px;
  max-width: min(100vw - 32px, 637px);
  max-height: calc(100% - 32px);
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 0;
  flex-shrink: 0;
  box-sizing: border-box;
  pointer-events: auto;
  overflow: hidden;
  outline: 0;
  text-align: center;
  border-radius: 28px;
  transform: none;
}

.gm-perm-root.Gm3Lcf .uW2Fw-P5QLlc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: -1px;
  border-radius: inherit;
  background: linear-gradient(
    to right,
    var(--ws-sys-color-genai-bold-gradient01, #346bf1),
    var(--ws-sys-color-genai-bold-gradient02, #3186ff),
    var(--ws-sys-color-genai-bold-gradient03, #a9a8ff),
    var(--ws-sys-color-genai-bold-gradient01, #346bf1)
  );
}

.gm-perm-root.Gm3Lcf .uW2Fw-P5QLlc::after {
  content: "";
  position: absolute;
  z-index: -1;
  background: linear-gradient(
    53deg,
    var(--ws-sys-color-genai-bold-gradient02, #3186ff),
    var(--ws-sys-color-genai-bold-gradient01, #346bf1),
    var(--ws-sys-color-genai-bold-gradient03, #a9a8ff)
  );
  opacity: 0.25;
  filter: blur(25px);
  border-radius: inherit;
  inset-block-start: -24px;
  inset-inline-start: -24px;
  inline-size: calc(100% + 48px);
  block-size: calc(100% + 48px);
}

.gm-perm-root .uW2Fw-cnG4Wd {
  color: var(--gm3-sys-color-on-surface-variant, #444746);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  font-family: "Google Sans", Roboto, Arial, sans-serif;
  line-height: 20px;
  font-size: 14px;
  letter-spacing: normal;
  font-weight: 400;
  box-sizing: border-box;
  flex-grow: 1;
  margin: 0;
  overflow: hidden;
  position: relative;
  border-radius: inherit;
  padding-block-start: var(--urucif, 0);
  padding-inline-end: var(--Cv3aid, 0);
  padding-block-end: var(--xkSh4b, 0);
  padding-inline-start: var(--tukwab, 0);
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

.gm-perm-root .S3hgFf {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  /* reference: padding:1.875rem 0 2.5rem; at-width: padding-left/right:2rem; max-width:min(100vw-6rem,46rem) */
  padding: 1.875rem 2rem 2.5rem;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  background-color: transparent;
  color: rgb(68, 71, 70);
  font-size: 14px;
  line-height: 20px;
}

.gm-perm-root .rqEaD {
  flex: 0 0 auto;
  width: 100%;
  text-align: center;
}

.gm-perm-root .VR2VIb .Ygemmd {
  margin: 1rem auto 0.5rem;
  max-height: 15rem;
  max-width: 20rem;
  object-fit: contain;
}

.gm-perm-root .Ygemmd {
  box-sizing: border-box;
  max-width: 10.9375rem;
  width: 100%;
}

.gm-perm-root .VlHPz {
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  padding: 1.25rem 2.5rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gm-perm-root .sZZjvf,
.gm-perm-root .gm-perm-title {
  font-family: "Google Sans", Roboto, Arial, sans-serif;
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.75rem;
  color: rgb(68, 71, 70);
  margin-top: 0;
  text-align: center;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

.gm-perm-root .VR2VIb .sZZjvf {
  line-height: 2rem;
  font-size: 1.5rem;
}

.gm-perm-root .gm-perm-subtitle {
  color: rgb(68, 71, 70);
  font-size: 14px;
  line-height: 20px;
  margin-top: 0;
  text-align: center;
  width: 100%;
}

.gm-perm-root .nMIz8e {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-top: 1.5625rem; /* base; .VR2VIb overrides to 2.1875rem */
}

.gm-perm-root .VR2VIb .nMIz8e {
  margin-top: 2.1875rem;
}

.gm-perm-root .vw2lfb {
  flex-direction: row;
  margin-bottom: 1rem;
}

.gm-perm-root .YEQYCf {
  font-family: "Google Sans", Roboto, Arial, sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.0107142857em;
  font-weight: 500;
  text-transform: none;
  align-items: center;
  border-radius: 1.5rem;
  display: inline-flex;
  position: relative;
  height: 3rem;
  outline: none;
  width: auto;
  z-index: 1;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 0 1.5rem;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

.gm-perm-root .dSZL6e {
  background: var(--gm3-sys-color-primary, #0b57d0);
  color: var(--gm3-sys-color-on-primary, #fff);
  margin: 0 0.5rem;
  padding: 0 4rem;
  border: none;
}

.gm-perm-root .dSZL6e:hover {
  background: color-mix(in srgb, var(--gm3-sys-color-on-primary, #fff) 8%, var(--gm3-sys-color-primary, #0b57d0));
}

.gm-perm-root .dSZL6e:focus-visible {
  outline-color: var(--gm3-sys-color-secondary, #00639b);
  outline-offset: 2px;
  outline-width: 3px;
}

.gm-perm-root .v452Kc {
  border-style: solid;
  border-width: 0.0625rem;
  margin: 0 0.75rem;
  padding: 0 2.5rem;
  color: rgb(26, 115, 232);
  background-color: #fff;
  border-color: rgb(26, 115, 232);
}

.gm-perm-root .v452Kc:hover {
  background-color: rgba(26, 115, 232, 0.04);
}

.gm-perm-root .gm-perm-close {
  position: absolute;
  right: 12px;
  top: 9px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: rgb(68, 71, 70);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.gm-perm-root .gm-perm-close:hover {
  background: rgba(68, 71, 70, 0.08);
}

.gm-perm-root .gm-perm-close svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
