.account-shell {
  max-width: 1140px;
}
.account-shell h1 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.04em;
  margin: 12px 0;
}
.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.account-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.account-form label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
}
.account-form input,
.account-form select,
.account-form textarea {
  font: inherit;
  color: #172033;
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 9px;
  padding: 12px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.account-form textarea {
  min-height: 90px;
  resize: vertical;
}
.account-form input:focus,
.account-form select:focus,
.account-form textarea:focus {
  outline: 3px solid #93c5fd;
  outline-offset: 1px;
}
.account-form button {
  justify-self: start;
}
.account-form small,
.muted {
  color: #64748b;
  font-weight: 400;
}
.account-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.account-toolbar .btn {
  margin-left: 8px;
}
.account-shell .subpage-card {
  margin-bottom: 24px;
}
.account-shell [hidden] {
  display: none !important;
}
#notice,
.account-banner {
  padding: 18px 20px;
  border: 1px solid #93c5fd;
  background: #eff6ff;
  color: #1e3a8a;
  border-radius: 12px;
  margin: 18px 0;
}
#notice.error {
  background: #fff1f2;
  border-color: #fda4af;
  color: #9f1239;
}
.text-button {
  background: none;
  border: 0;
  color: #2563eb;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  padding: 8px 0;
  display: inline-block;
}
.license-card {
  padding: 20px 0;
  border-top: 1px solid #e2e8f0;
}
.license-card h3 {
  margin: 0 0 8px;
}
.license-key {
  display: block;
  font:
    12px ui-monospace,
    monospace;
  word-break: break-all;
  background: #f1f5f9;
  color: #172033;
  padding: 12px;
  border-radius: 8px;
  margin: 12px 0;
}
.license-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #475569;
  font-size: 14px;
}
.check-label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
}
.check-label input {
  width: 18px;
  margin-top: 4px;
}
.price-summary {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
}
.price-summary small {
  font-size: 14px;
  display: block;
  margin-top: 4px;
  font-weight: 400;
}
.order-row {
  border-top: 1px solid #e2e8f0;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.order-row small {
  display: block;
  color: #64748b;
  margin-top: 5px;
}
#paytr-frame {
  width: 100%;
  height: 650px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
@media (max-width: 700px) {
  .account-grid {
    grid-template-columns: 1fr;
  }
  .account-toolbar .btn {
    margin-left: 0;
  }
  .account-shell .subpage-card {
    padding: 20px;
  }
  .account-toolbar > div {
    display: flex;
    gap: 8px;
  }
}
