.sidebar .upgrade {
  margin-top: auto !important;
}
/* Pro/trialing accounts already pay — stop nagging them to upgrade.
   auth.js sets data-account-plan on <html> once the session is known. */
:root[data-account-plan="active"] .sidebar .upgrade,
:root[data-account-plan="trialing"] .sidebar .upgrade,
:root[data-account-plan="pro"] .sidebar .upgrade {
  display: none;
}
.sidebar-signout {
  margin: 10px 4px 0;
  padding: 10px 12px;
  border: 1px solid #ffffff18;
  border-radius: 10px;
  background: transparent;
  color: #aebbd0;
  font: inherit;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}
.sidebar-signout:hover {
  background: #ffffff0d;
  color: #fff;
}
.settings-section-head h2 {
  font-size: 25px;
}
.settings-section-head p {
  font-size: 13px !important;
}
.settings-field span {
  font-size: 13px;
}
.security-panel {
  grid-column: 1/-1;
}
.security-status {
  display: grid;
  gap: 3px;
  padding: 15px;
  border: 1px solid #b9eadf;
  border-radius: 12px;
  background: #eaf9f5;
  color: #08745f;
}
.security-status span {
  font-size: 12px;
}
.secure-dot {
  padding: 5px 9px;
  border-radius: 99px;
  background: #e7f9f4;
  color: #08745f;
  font-size: 10px;
  font-weight: 900;
}
.plan-banner {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  align-items: center;
  gap: 24px;
  padding: 26px;
  border-radius: 18px;
  background: linear-gradient(135deg, #061a3d, #123b7d);
  color: #fff;
  box-shadow: 0 20px 55px #061a3d30;
}
.plan-banner h2 {
  margin: 3px 0;
  font-size: 30px;
}
.plan-banner p,
.plan-banner small {
  color: #b8c8df;
}
.plan-banner ul {
  margin: 0;
  padding-left: 20px;
  columns: 2;
}
.plan-banner li {
  display: list-item;
  border: 0;
  padding: 4px 0;
  color: #eaf1fb;
}
.plan-banner .page-action {
  background: linear-gradient(135deg, var(--mint), #25d0a9);
  color: #063a35;
}
.plan-banner > div:last-child {
  display: grid;
  gap: 7px;
}
.plan-label {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #79ead3;
}
@media (max-width: 900px) {
  .plan-banner {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .plan-banner ul {
    columns: 1;
  }
  .security-panel {
    grid-column: auto;
  }
  .sidebar-signout {
    display: none;
  }
}
.file-row-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.file-row-actions .page-action {
  min-height: 34px;
  padding: 5px 10px;
}
.trash-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #f0cccc;
  border-radius: 9px;
  background: #fff;
  color: #b42318;
  font-size: 17px;
  cursor: pointer;
}
@media (max-width: 900px) {
  .file-row-actions {
    display: grid;
  }
}
