/* ============================================================
   manatezz — animated royal-blue and gold study library
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Outfit:wght@300;400;500;600&display=swap");

:root {
  --gold: #f7b500;
  --gold-soft: #ffe9a8;
  --gold-deep: #e09600;
  --blue: #1b3fa0;
  --blue-bright: #2e6be6;
  --blue-ink: #12245e;
  --ink: #17203a;
  --cream: #fffdf5;
  --paper: #ffffff;
  --paper-2: #fbf7ea;
  --line: #eadfbf;
  --muted: #6a6f82;
  --danger: #d1495b;
  --ok: #2f8f5b;

  --shadow-sm: 0 2px 8px rgba(23, 32, 58, 0.08);
  --shadow-md: 0 12px 34px rgba(23, 32, 58, 0.12);
  --shadow-lg: 0 30px 70px rgba(18, 36, 94, 0.18);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Atmospheric background: soft golden sun-glow + deep-blue depth below */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 520px at 50% -8%, rgba(247, 181, 0, 0.28), transparent 60%),
    radial-gradient(900px 600px at 88% 8%, rgba(46, 107, 230, 0.1), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream) 55%, #f4f7ff 100%);
  background-size: 140% 140%;
  animation: ambientShift 16s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  width: 42vw;
  height: 42vw;
  min-width: 360px;
  min-height: 360px;
  right: -14vw;
  top: 18vh;
  z-index: -1;
  border-radius: 42% 58% 67% 33% / 46% 37% 63% 54%;
  background: linear-gradient(145deg, rgba(27, 63, 160, 0.11), rgba(247, 181, 0, 0.16));
  filter: blur(4px);
  animation: ambientOrb 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes ambientShift {
  from { background-position: 20% 0%; }
  to { background-position: 80% 100%; }
}

@keyframes ambientOrb {
  from { transform: translate3d(0, -4vh, 0) rotate(-8deg) scale(0.94); }
  to { transform: translate3d(-13vw, 12vh, 0) rotate(18deg) scale(1.12); }
}

a {
  color: var(--blue);
  text-decoration: none;
}

/* ---------- Layout ---------- */
.wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(255, 253, 245, 0.72);
  border-bottom: 1px solid rgba(234, 223, 191, 0.7);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--blue-ink);
  letter-spacing: -0.01em;
}
.brand-zs {
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: -0.13em;
  margin-left: -0.04em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  border: none;
  border-radius: var(--r-pill);
  padding: 11px 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(27, 63, 160, 0.28);
}
.btn-primary:hover {
  background: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(46, 107, 230, 0.35);
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(224, 150, 0, 0.32);
}
.btn-gold:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--blue-ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: var(--paper-2);
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------- Hero (home) ---------- */
.hero {
  padding: 46px 0 30px;
  text-align: center;
  position: relative;
}
.stage {
  position: relative;
  height: 240px;
  margin: 0 auto 6px;
  width: 340px;
  max-width: 90vw;
  border-radius: 48% 52% 45% 55% / 58% 44% 56% 42%;
  overflow: hidden;
  border: 3px solid rgba(247, 181, 0, 0.72);
  box-shadow: 0 24px 58px rgba(18, 36, 94, 0.2);
  background: var(--gold);
}
.hero-manatee {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--blue-ink);
}
.hero h1 .sun {
  color: var(--gold-deep);
}
.hero .tagline {
  margin: 14px auto 0;
  max-width: 560px;
  font-size: 1.12rem;
  color: var(--muted);
}

/* Entrance animation helper */
.rise {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.rise.d1 { animation-delay: 0.05s; }
.rise.d2 { animation-delay: 0.16s; }
.rise.d3 { animation-delay: 0.28s; }
.rise.d4 { animation-delay: 0.4s; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Search ---------- */
.searchbox {
  margin: 30px auto 0;
  max-width: 680px;
  position: relative;
}
.searchbar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 8px 8px 22px;
  box-shadow: var(--shadow-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.searchbar:focus-within {
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(247, 181, 0, 0.22);
  transform: translateY(-1px);
}
.searchbar svg.search-ico {
  width: 22px;
  height: 22px;
  color: var(--blue);
  flex: none;
}
.searchbar input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1.08rem;
  background: transparent;
  color: var(--ink);
  min-width: 0;
}
.searchbar input::placeholder {
  color: #9aa0b2;
}

/* Filter flairs */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 18px auto 0;
  max-width: 760px;
}
.chip {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--blue-ink);
  cursor: pointer;
  transition: all 0.16s ease;
  user-select: none;
}
.chip:hover {
  border-color: var(--gold);
}
.chip.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.chip.gold.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.chip-label {
  align-self: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
  font-weight: 600;
}

/* ---------- Results ---------- */
.results {
  margin: 40px auto 20px;
}
.results-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.results-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--blue-ink);
}
.results-head .count {
  color: var(--muted);
  font-size: 0.92rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(var(--gold), var(--gold-deep));
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.card.best {
  border-color: var(--gold);
  box-shadow: 0 14px 34px rgba(247, 181, 0, 0.2);
}
.card .doc-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--blue-ink);
  line-height: 1.2;
  word-break: break-word;
}
.card .file-meta {
  font-size: 0.82rem;
  color: var(--muted);
  word-break: break-word;
}
.flairs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.flair {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  letter-spacing: 0.01em;
}
.flair.level {
  background: rgba(27, 63, 160, 0.1);
  color: var(--blue);
}
.flair.subject {
  background: rgba(247, 181, 0, 0.18);
  color: var(--gold-deep);
}
.flair.custom {
  background: rgba(47, 143, 91, 0.14);
  color: var(--ok);
}
.card .card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.best-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--gold);
  color: var(--ink);
  padding: 4px 9px;
  border-radius: var(--r-pill);
}
.dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--blue);
}
.dl svg { width: 17px; height: 17px; }

/* Empty / loading states */
.state {
  text-align: center;
  padding: 46px 20px;
  color: var(--muted);
}
.state .state-manatee { width: 130px; margin: 0 auto 14px; opacity: 0.9; }
.state h3 {
  font-family: var(--font-display);
  color: var(--blue-ink);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.skeleton {
  background: linear-gradient(90deg, #f0ead6 25%, #f7f2e3 37%, #f0ead6 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--r-md);
  height: 150px;
}
@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ---------- Counter + footer ---------- */
.counter-bar {
  margin: 30px auto 0;
  display: flex;
  justify-content: center;
}
.counter {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 10px 22px;
  box-shadow: var(--shadow-sm);
}
.counter .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(47, 143, 91, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 143, 91, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(47, 143, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 143, 91, 0); }
}
.counter .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--blue-ink);
  font-variant-numeric: tabular-nums;
}
.counter .lbl {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-foot {
  margin-top: 56px;
  position: relative;
}
.waves {
  width: 100%;
  height: 90px;
  display: block;
}
.wave-path {
  animation: waveShift 9s ease-in-out infinite alternate;
}
@keyframes waveShift {
  from { transform: translateX(0); }
  to { transform: translateX(-40px); }
}
.foot-inner {
  background: var(--blue-ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 28px 0 34px;
}
.foot-inner .wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}
.foot-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.foot-links a {
  color: var(--gold);
  font-family: var(--font-display);
}
.disclaimer {
  color: #000;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.68rem;
  line-height: 1.5;
  max-width: 780px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  margin: 6px auto 0;
}

/* ---------- Page shell (upload / admin) ---------- */
.page {
  padding: 44px 0 60px;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 34px;
  max-width: 640px;
  margin: 0 auto;
}
.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--blue-ink);
  text-align: center;
  letter-spacing: -0.02em;
}
.page-sub {
  text-align: center;
  color: var(--muted);
  margin: 8px auto 0;
  max-width: 520px;
}

.field { margin-top: 22px; }
.field > label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--blue-ink);
  margin-bottom: 8px;
}
.field .hint {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
  margin-left: 6px;
}
input[type="text"],
input[type="password"],
.developer-card input:not([type="file"]),
.developer-card select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper-2);
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}
input[type="text"]:focus,
input[type="password"]:focus,
.developer-card input:focus,
.developer-card select:focus {
  border-color: var(--gold);
  background: #fff;
}

/* Tag pickers */
.tagrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: var(--paper-2);
  color: var(--blue-ink);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.tag:hover { border-color: var(--gold); }
.tag.sel {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-1px);
}
.tag.gold.sel {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.subject-wrap { display: none; }
.subject-wrap.show { display: block; }

/* Dropzone */
.dropzone {
  border: 2px dashed var(--line);
  border-radius: var(--r-md);
  background: var(--paper-2);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s ease;
}
.dropzone:hover,
.dropzone.drag {
  border-color: var(--gold);
  background: #fff;
}
.dropzone svg { width: 46px; height: 46px; color: var(--blue); }
.dropzone .dz-main {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--blue-ink);
  margin-top: 8px;
}
.dropzone .dz-sub { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }
.file-pill {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  background: rgba(27, 63, 160, 0.07);
  border: 1px solid rgba(27, 63, 160, 0.15);
  border-radius: var(--r-md);
  padding: 12px 14px;
}
.file-pill.show { display: flex; }
.file-pill .fp-name {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--blue-ink);
  word-break: break-all;
  flex: 1;
}
.file-pill .fp-size { color: var(--muted); font-size: 0.85rem; white-space: nowrap; }
.file-pill button {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.cap-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}
.cap-note svg { width: 16px; height: 16px; color: var(--gold-deep); flex: none; }

.alert {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 0.92rem;
  font-weight: 500;
}
.alert.show { display: block; }
.alert.err {
  background: rgba(209, 73, 91, 0.1);
  color: var(--danger);
  border: 1px solid rgba(209, 73, 91, 0.25);
}
.alert.ok {
  background: rgba(47, 143, 91, 0.1);
  color: var(--ok);
  border: 1px solid rgba(47, 143, 91, 0.25);
}

.submit-row {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.progress {
  display: none;
  margin-top: 16px;
  height: 10px;
  background: var(--paper-2);
  border-radius: var(--r-pill);
  overflow: hidden;
  border: 1px solid var(--line);
}
.progress.show { display: block; }
.progress > i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--blue-bright));
  transition: width 0.3s ease;
}

/* Success overlay */
.success {
  display: none;
  text-align: center;
  padding: 10px 0;
}
.success.show { display: block; }
.success .thanks-manatee {
  width: min(100%, 440px);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 2px solid var(--gold);
  margin: 0 auto 18px;
  display: block;
}
.success h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--ok);
  margin-top: 6px;
}
.success p { color: var(--muted); margin-top: 6px; }
.success .btn { margin-top: 20px; }

/* ---------- Developer workspace ---------- */
.developer-page { width: min(1180px, 92vw); }
.developer-gate { max-width: 560px; }
.eyebrow {
  display: block;
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}
.developer-workspace[hidden] { display: none; }
.developer-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.developer-heading .eyebrow { text-align: left; }
.developer-heading h1 {
  color: var(--blue-ink);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
}
.developer-heading p { color: var(--muted); margin-top: 10px; }
.developer-tools { display: flex; align-items: center; gap: 12px; }
.developer-list { display: grid; gap: 18px; }
.developer-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-left: 7px solid var(--gold);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 26px;
}
.developer-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.developer-card-head h2 {
  color: var(--blue-ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 3px 0;
}
.developer-card-head span { color: var(--muted); font-size: 0.88rem; }
.developer-card-head .upload-date { color: var(--gold-deep); font-weight: 600; }
.developer-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.developer-form-grid .full { grid-column: 1 / -1; }
.developer-card select { appearance: none; }
.developer-card input[type="file"] {
  width: 100%;
  border: 1.5px dashed var(--line);
  border-radius: var(--r-md);
  background: var(--paper-2);
  padding: 12px;
  color: var(--muted);
}
.developer-card label span { color: var(--muted); font-family: var(--font-body); font-weight: 400; }
.developer-card-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.btn.compact { padding: 8px 15px; white-space: nowrap; }
.btn-danger { background: #fff1f2; border: 1px solid #efb7bf; color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: white; transform: translateY(-2px); }
.developer-empty { background: rgba(255, 255, 255, 0.76); border-radius: var(--r-lg); }
.state-mark {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 12px;
  border-radius: 22px;
  background: var(--gold);
  color: var(--blue-ink);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  transform: rotate(-7deg);
}

/* Floating bubbles */
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(46, 107, 230, 0.25));
  border: 1px solid rgba(46, 107, 230, 0.2);
  animation: floatUp linear infinite;
  opacity: 0.55;
  pointer-events: none;
}
@keyframes floatUp {
  0% { transform: translateY(20px) scale(0.8); opacity: 0; }
  15% { opacity: 0.6; }
  100% { transform: translateY(-120px) scale(1.1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .rise { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .panel { padding: 24px 18px; }
  .topbar .wrap { height: 62px; }
  .brand { font-size: 1.25rem; }
  .nav .btn { padding: 9px 14px; font-size: 0.9rem; }
  .stage { height: 200px; }
  .developer-heading,
  .developer-card-head { align-items: stretch; flex-direction: column; }
  .developer-tools { justify-content: space-between; }
  .developer-form-grid { grid-template-columns: 1fr; }
  .developer-form-grid .full { grid-column: auto; }
  .developer-card { padding: 20px 16px; }
  .developer-card-actions { flex-direction: column; }
}
