.download-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.company-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.company-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdfd;
}

.company-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, var(--green), #35a88e);
  font-size: 20px;
  font-weight: 800;
}

.company-card strong,
.company-card small {
  display: block;
}

.company-card small,
.muted-text {
  color: var(--muted);
}

.company-card small {
  margin-top: 4px;
}

.company-card a {
  color: var(--green);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.permissions-panel {
  margin-top: 18px;
}

.hero-actions { display:flex; align-items:center; gap:10px; }
.account-guide { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-bottom:18px; }
.account-guide article { display:grid; grid-template-columns:42px minmax(0,1fr); gap:13px; padding:17px; border:1px solid var(--line); border-radius:15px; background:#fff; }
.account-guide article>span { width:40px; height:40px; display:grid; place-items:center; border-radius:12px; background:var(--soft); color:var(--green); font-weight:800; }
.account-guide strong { display:block; margin-bottom:4px; }
.account-guide p { margin:0; color:var(--muted); font-size:13px; line-height:1.5; }
.preparation-panel { display:grid; grid-template-columns:46px minmax(0,1fr); gap:18px; margin-bottom:16px; border-color:#b8ddd4; background:linear-gradient(145deg,#fff,#f3fbf8); }
.preparation-panel>div:last-child>p:not(.eyebrow) { color:var(--muted); line-height:1.55; }
.command-box { position:relative; margin:16px 0; overflow:hidden; border-radius:14px; background:#102f3b; box-shadow:inset 0 0 0 1px rgba(255,255,255,.08); }
.command-box pre { margin:0; padding:20px 190px 20px 20px; overflow-x:auto; color:#e7fff7; white-space:pre-wrap; font:13px/1.65 "Cascadia Code",Consolas,monospace; }
.command-box code { padding:0; color:inherit; background:transparent; }
.copy-button { position:absolute; top:14px; right:14px; padding:9px 12px; border:1px solid rgba(255,255,255,.25); border-radius:9px; color:#fff; background:rgba(255,255,255,.1); font:inherit; font-size:12px; font-weight:750; cursor:pointer; }
.copy-button:hover,.copy-button.copied { background:var(--green); }
.key-instructions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.key-instructions span { padding:11px 12px; border:1px solid var(--line); border-radius:11px; color:#466173; background:#fff; font-size:12px; line-height:1.45; }

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.permission-form {
  display: grid;
  grid-template-columns: minmax(170px, 1.1fr) minmax(220px, 1.5fr) minmax(130px, .7fr) minmax(150px, .8fr) auto;
  align-items: end;
  gap: 12px;
  padding: 16px;
  margin: 14px 0 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbfb;
}

.permission-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #385367;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 1000px) {
  .download-grid.three,
  .permission-form,
  .key-instructions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .account-guide,
  .preparation-panel { grid-template-columns:1fr; }
  .hero-actions { width:100%; align-items:stretch; flex-direction:column; }
  .command-box pre { padding:64px 16px 18px; }
  .copy-button { left:14px; right:auto; }
  .company-card {
    grid-template-columns: 44px 1fr;
  }

  .company-card a {
    grid-column: 2;
  }
}
