.rest-main { max-width: 1120px; padding: 32px 24px; margin: auto; }
.rest-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 20px; margin-top: 20px; }
.rest-panel { background: white; border: 1px solid #dbe5f2; border-radius: 16px; padding: 24px; min-width: 0; }
.rest-panel h2 { margin: 0 0 16px; }
.rest-panel form { display: grid; gap: 8px; }
.rest-panel label { font-weight: 600; }
.rest-panel input, .rest-panel select, .rest-panel button { font: inherit; border: 1px solid #a6b9d1; border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; min-width: 0; }
.rest-panel button { background: #1451b7; color: white; cursor: pointer; font-weight: 700; }
.rest-panel button:disabled { opacity: .65; cursor: wait; }
#endpoint { overflow-wrap: anywhere; }
.rest-panel pre { max-height: 460px; overflow: auto; }
@media (max-width: 760px) { .rest-grid { grid-template-columns: minmax(0, 1fr); } }

.rest-brand { display: inline-flex; align-items: center; gap: 12px; }
.rest-brand img { object-fit: contain; flex: none; background: #fff; border-radius: 10px; }
.rest-brand .rest-brand-name { display: grid; color: #fff; line-height: 1.2; }
.rest-brand small { color: #bdd2f2; font-size: .75rem; font-weight: 600; }
.rest-main .rest-hero {
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid #164987;
  border-radius: 20px;
  background: linear-gradient(115deg, #102d55, #154d9d);
  color: #fff;
}
.rest-main .rest-hero h1, .rest-main .rest-hero p { color: inherit; }
.rest-main .rest-hero p { margin-bottom: 0; }