/* ── OOAJ Uploads — brand styles ─────────────────────────────────────────
   Header replicated from greenjam header.php (final cascade, 2026-06-18
   mobile rebuild): site cream #f3ebdf, sticky, 72px desktop bar,
   clamp()-scaled mobile bar with checkbox hamburger. Nav links are
   absolute URLs back to www.outofajam.net so visitors can leave /uploads.
   Brand tokens: Forest #002E2A · Energy #4EBC79 · Tan #F3EBDF
   Fonts: Adobe kit ksr5foa — "roc-grotesk" headings / "mundial-narrow-variable" body */

:root {
  --forest: #002E2A;
  --energy: #4EBC79;
  --tan: #f3ebdf;
  --mist: #D4E5E3;
  --dew: #DDF1E3;
  --fern: #BFD8C6;
  --ink: #1a2e1a;
  --hdr-h: 72px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--tan);
  color: var(--ink);
  font-family: "mundial-narrow-variable", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
h1, h2, h3 { font-family: "roc-grotesk", "Helvetica Neue", Arial, sans-serif; font-weight: 400; color: var(--forest); margin: 0 0 .4em; }

/* ── Header (site clone) ── */
.site-header {
  background: var(--tan);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 999;
}
.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 40px;
  height: var(--hdr-h);
  background: var(--tan);
}
.main-navigation .logo { flex-shrink: 0; }
.main-navigation .logo img { height: 48px; width: auto; display: block; }

.desktop-menu {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  margin-right: 32px;
}
.desktop-menu ul, .contact_menu ul {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.desktop-menu ul li a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.desktop-menu ul li a:hover { color: #4a9e4a; }

.contact_menu { flex-shrink: 0; }
.contact_menu ul li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  padding: 10px 20px;
  white-space: nowrap;
  transition: all .2s;
}
.contact_menu ul li a:hover { background: var(--ink); color: #fff; }

/* Mobile header */
.mobile-menu-container { display: none; }
@media (max-width: 768px) {
  .site-header { --ooaj-hdr-h: clamp(78px, 22vw, 92px); }
  .main-navigation {
    height: var(--ooaj-hdr-h);
    padding: 0 5%;
    position: relative;
  }
  .desktop-menu, .contact_menu { display: none !important; }
  .main-navigation .logo img { height: clamp(42px, 12vw, 52px); }
  .mobile-menu-container {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 0 0 auto;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
  }
  .mobile-menu-container .checkbox {
    position: absolute;
    width: 40px; height: 40px;
    right: 0; top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    cursor: pointer;
    z-index: 1004;
  }
  .hamburger-lines {
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px; height: 40px;
    z-index: 1003;
  }
  .hamburger-lines .line { width: 28px; height: 3px; background: var(--forest); border-radius: 3px; transition: all .3s ease; }
  .checkbox:checked ~ .hamburger-lines .line1 { transform: rotate(48deg); }
  .checkbox:checked ~ .hamburger-lines .line2 { opacity: 0; }
  .checkbox:checked ~ .hamburger-lines .line3 { transform: rotate(-48deg); }
  .menu-items {
    position: fixed;
    top: var(--ooaj-hdr-h);
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--ooaj-hdr-h));
    background: var(--tan);
    padding: 25px;
    display: none;
    flex-direction: column;
    overflow-y: auto;
    transition: right .35s ease;
    z-index: 999;
    box-sizing: border-box;
    margin: 0;
    list-style: none;
  }
  .mobile-menu-container .checkbox:checked ~ .menu-items { display: flex; right: 0; }
  .menu-items li { list-style: none; width: 100%; }
  .menu-items li a {
    display: block;
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0,0,0,.08);
    font-size: 18px;
    color: var(--ink);
    text-decoration: none;
  }
  .menu-items .mobile-number a {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--ink);
    border-radius: 8px;
    padding: 14px;
    margin-top: 20px;
    font-weight: 600;
    border-bottom: none;
  }
}

/* ── Page body ── */
.wrap { max-width: 760px; margin: 0 auto; padding: 48px 5% 80px; }
.wrap a { color: var(--forest); text-decoration: underline; text-decoration-color: var(--energy); text-underline-offset: 2px; }
.wrap a:hover { color: #4a9e4a; }
.lede { font-size: 19px; max-width: 56ch; }
.lede .lock { color: var(--energy); }

.card {
  background: #fff;
  border: 1px solid var(--fern);
  border-radius: 14px;
  padding: 28px;
  margin-top: 28px;
}
.card h2 { font-size: 24px; }
.card .hint { font-size: 15px; color: #4b5f58; margin-top: -4px; }

label { display: block; font-size: 14px; font-weight: 600; margin: 16px 0 6px; color: var(--forest); }
input[type="text"], input[type="password"], textarea {
  width: 100%;
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--fern);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
input:focus, textarea:focus { outline: 2px solid var(--energy); outline-offset: 0; border-color: var(--energy); }
textarea { resize: vertical; min-height: 84px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--forest);
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  margin-top: 20px;
  cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: #0a4a42; }
.btn:disabled { background: #9db3ae; cursor: default; }
.btn.secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.secondary:hover { background: var(--ink); color: #fff; }

.status { margin-top: 14px; font-size: 15px; }
.status.ok { color: #1c7c46; }
.status.err { color: #b3261e; }

.ticket-chip {
  display: inline-block;
  background: var(--dew);
  color: var(--forest);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 14px;
  font-weight: 600;
}

/* File lane */
.dropzone {
  border: 2px dashed var(--fern);
  border-radius: 10px;
  padding: 34px 20px;
  text-align: center;
  color: #4b5f58;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  margin-top: 16px;
}
.dropzone.drag { border-color: var(--energy); background: var(--dew); }
.filelist { list-style: none; margin: 14px 0 0; padding: 0; }
.filelist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: 15px;
}
.filelist .fname { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filelist .fsize { color: #4b5f58; font-size: 13px; }
.filelist .fstate { font-size: 13px; font-weight: 600; }
.filelist .fstate.done { color: #1c7c46; }
.filelist .fstate.err { color: #b3261e; }

.securitynote {
  margin-top: 36px;
  font-size: 14px;
  color: #4b5f58;
  border-top: 1px solid var(--fern);
  padding-top: 18px;
}
.hidden { display: none !important; }
