
/* ONBOARDING-r13 — permissions */
.onb-perm-screen{
  min-height:100dvh;
  width:100%;
  background:#fff;
  color:#111;
  display:flex;
  align-items:stretch;
  justify-content:center;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
.onb-perm-card{
  width:min(430px,100%);
  min-height:100dvh;
  padding:18px 16px calc(22px + env(safe-area-inset-bottom));
  background:linear-gradient(180deg,#fff 0%,#fff 70%,#f8f8f9 100%);
  display:flex;
  flex-direction:column;
}
.onb-perm-progress{
  height:5px;
  border-radius:999px;
  background:#f0f0f1;
  overflow:hidden;
  margin:2px 0 18px;
}
.onb-perm-progress i{
  display:block;
  height:100%;
  border-radius:999px;
  background:#ffc400;
}
.onb-perm-head{
  display:grid;
  grid-template-columns:38px 1fr;
  gap:10px;
  align-items:start;
}
.onb-perm-back{
  width:36px;
  height:36px;
  border:0;
  border-radius:50%;
  background:#f4f4f5;
  color:#111;
  font-size:28px;
  line-height:1;
}
.onb-perm-kicker{
  color:#a1a1aa;
  font-size:11px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
  margin:2px 0 8px;
}
.onb-perm-head h1{
  margin:0;
  font-size:25px;
  line-height:1.05;
  letter-spacing:-.7px;
  font-weight:950;
}
.onb-perm-head p{
  margin:9px 0 0;
  color:#71717a;
  font-size:13px;
  line-height:1.42;
  font-weight:650;
}
.onb-perm-list{
  display:grid;
  gap:10px;
  margin:18px 0 12px;
}
.onb-perm-item{
  width:100%;
  border:1px solid #e8e8eb;
  border-radius:18px;
  background:#fff;
  color:#111;
  padding:12px;
  display:grid;
  grid-template-columns:42px 1fr 44px;
  gap:10px;
  align-items:center;
  text-align:left;
  box-shadow:0 6px 18px rgba(15,23,42,.045);
}
.onb-perm-item.is-on{
  border-color:rgba(255,196,0,.62);
  background:linear-gradient(180deg,#fffef7,#fff);
}
.onb-perm-icon{
  width:42px;
  height:42px;
  border-radius:14px;
  background:#f4f4f5;
  display:grid;
  place-items:center;
  font-size:21px;
  font-weight:950;
}
.onb-perm-item.is-on .onb-perm-icon{
  background:#ffc400;
}
.onb-perm-body{
  min-width:0;
  display:grid;
  gap:4px;
}
.onb-perm-body b{
  display:flex;
  align-items:center;
  gap:6px;
  color:#111;
  font-size:14px;
  line-height:1.2;
  font-weight:950;
}
.onb-perm-body b em{
  padding:3px 7px;
  border-radius:999px;
  background:#fff3be;
  color:#8a6100;
  font-size:9px;
  line-height:1;
  font-style:normal;
  font-weight:950;
}
.onb-perm-body small{
  color:#71717a;
  font-size:11.5px;
  line-height:1.35;
  font-weight:700;
}
.onb-perm-toggle{
  width:42px;
  height:25px;
  border-radius:999px;
  background:#e8e8eb;
  padding:3px;
  display:flex;
  justify-content:flex-start;
  transition:.16s ease;
}
.onb-perm-toggle i{
  width:19px;
  height:19px;
  border-radius:999px;
  background:#fff;
  box-shadow:0 2px 6px rgba(0,0,0,.12);
}
.onb-perm-item.is-on .onb-perm-toggle{
  background:#ffc400;
  justify-content:flex-end;
}
.onb-perm-note{
  border:1px solid #e8e8eb;
  border-radius:16px;
  background:#fff;
  padding:12px 13px;
}
.onb-perm-note b{
  display:block;
  color:#111;
  font-size:13px;
  font-weight:950;
}
.onb-perm-note span{
  display:block;
  margin-top:4px;
  color:#71717a;
  font-size:11.5px;
  line-height:1.35;
  font-weight:700;
}
.onb-perm-status{
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,196,0,.44);
  background:#fff8d7;
  color:#111;
  font-size:12px;
  line-height:1.35;
  font-weight:800;
}
.onb-perm-status[data-type="ok"]{
  border-color:rgba(34,197,94,.32);
  background:#e7f8ee;
  color:#15803d;
}
.onb-perm-actions{
  margin-top:auto;
  padding-top:16px;
  display:grid;
  gap:9px;
}
.onb-perm-primary,
.onb-perm-skip{
  width:100%;
  min-height:48px;
  border-radius:14px;
  font-size:14px;
  font-weight:950;
}
.onb-perm-primary{
  border:0;
  background:#ffc400;
  color:#111;
  box-shadow:0 10px 22px rgba(255,196,0,.24);
}
.onb-perm-primary:disabled{
  opacity:.7;
}
.onb-perm-skip{
  border:1px solid #e8e8eb;
  background:#fff;
  color:#71717a;
}
@media (min-width:768px){
  .onb-perm-screen{background:#f6f6f7;}
  .onb-perm-card{
    min-height:calc(100dvh - 32px);
    margin:16px 0;
    border:1px solid #e8e8eb;
    border-radius:28px;
    box-shadow:0 24px 70px rgba(15,23,42,.10);
    overflow:hidden;
  }
}
