:root {
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#e5ede7;
  background:#101713;
  color-scheme:dark;
  line-height:1.5;
  font-synthesis:none;
  --green:#d8ed90;
  --surface:#19221d;
  --inset:#131c17;
  --ink:#132018;
  --lime:#d8ed90;
  --muted:#a3b4a8;
  --border:#3b4c40;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
}
button,input,select {
  font:inherit;
  color:inherit;
}
button,a,input,select {
  touch-action:manipulation;
}
button,a {
  -webkit-tap-highlight-color:transparent;
}
a {
  color:inherit;
}
button {
  cursor:pointer;
}
button:disabled {
  cursor:default;
  opacity:.45;
}
:focus-visible {
  outline:3px solid #8aa63d;
  outline-offset:4px;
}
[hidden] {
  display:none!important;
}
.site-header {
  max-width:1240px;
  margin:auto;
  padding:30px 36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--border);
}
.brand {
  font-size:27px;
  font-weight:800;
  letter-spacing:-1.5px;
  text-decoration:none;
}
.brand>span:first-child {
  font-weight:400;
}
.brand-dot {
  display:inline-grid;
  place-items:center;
  width:27px;
  height:27px;
  border-radius:50%;
  background:var(--lime);
  color:var(--ink);
  font-size:20px;
  margin-left:7px;
}
.header-note {
  font-size:13px;
  color:var(--muted);
}
.upload-layout {
  max-width:1140px;
  margin:78px auto 0;
  padding:0 36px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px 70px;
  align-items:center;
}
.eyebrow {
  font-size:11px;
  letter-spacing:2px;
  font-weight:700;
}
.intro h1 {
  font-size:clamp(64px,7.5vw,100px);
  line-height:.99;
  font-weight:600;
  letter-spacing:-6px;
  margin:24px 0 28px;
}
.intro>p {
  font-size:17px;
  color:var(--muted);
  line-height:1.9;
}
.feature-line {
  display:flex;
  flex-wrap:wrap;
  gap:10px 22px;
  font-size:12px;
  margin-top:38px;
}
.feature-line span:before {
  content:"✓";
  margin-right:8px;
}
.upload-panel {
  background:var(--surface);
  border:1px solid var(--border);
  padding:28px;
  border-radius:22px;
  box-shadow:0 12px 45px #00000030;
}
.panel-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-size:10px;
  color:var(--muted);
}
.step-label {
  letter-spacing:1.4px;
}
.status-dot:before {
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  background:#80a14c;
  border-radius:50%;
  margin-right:6px;
}
h2 {
  font-size:23px;
  font-weight:600;
  letter-spacing:-.6px;
  margin:23px 0 18px;
}
.drop-zone {
  padding:25px 12px;
  border:1px dashed var(--border);
  background:var(--inset);
  border-radius:13px;
  text-align:center;
}
.drop-zone.dragging {
  background:#263b23;
  border-color:var(--green);
}
.file-symbol {
  width:48px;
  height:54px;
  border:1px solid var(--border);
  border-radius:9px;
  display:grid;
  place-items:center;
  font-size:29px;
  margin:0 auto 14px;
  background:#243323;
  transform:rotate(-7deg);
}
.drop-zone p {
  font-size:14px;
  font-weight:600;
  margin:0;
}
.drop-zone>span {
  font-size:11px;
  color:var(--muted);
}
.picker-actions {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
}
.button {
  min-height:44px;
  border-radius:8px;
  padding:11px 16px;
  border:1px solid transparent;
  font-weight:600;
  font-size:13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:15px;
  text-decoration:none;
}
.primary {
  background:var(--green);
  color:var(--ink);
}
.primary:hover {
  background:#c5e16e;
}
.secondary {
  background:var(--surface);
  color:var(--green);
  border-color:var(--border);
}
.picker {
  position:relative;
  overflow:hidden;
}
.picker input {
  position:absolute;
  opacity:0;
  inset:0;
  width:100%;
  height:100%;
  cursor:pointer;
}
.picker:focus-within {
  outline:3px solid #8aa63d;
  outline-offset:3px;
}
.retention-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:19px 0 10px;
  font-size:13px;
}
.text-button {
  border:0;
  background:transparent;
  text-decoration:underline;
  padding:10px 0 10px 18px;
  color:var(--green);
  font-size:12px;
}
#retention-options {
  padding:12px;
  background:var(--inset);
  border-radius:8px;
}
#retention-options label {
  display:block;
  font-size:12px;
  margin-bottom:6px;
}
select,input[type=number] {
  padding:9px;
  border:1px solid var(--border);
  border-radius:6px;
  width:100%;
  background:var(--surface);
}
#custom-hours-label {
  margin-top:10px;
}
.privacy-note {
  color:var(--muted);
  font-size:11px;
  line-height:1.8;
}
.upload-button {
  width:100%;
  justify-content:space-between;
  margin-top:10px;
  padding:13px 17px;
}
.mobile-note {
  font-size:10px;
  color:var(--muted);
  text-align:center;
  margin:14px 0 0;
}
.how-it-works {
  grid-column:1/-1;
  border-top:1px solid var(--border);
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:27px 0;
  margin-top:25px;
  font-size:12px;
}
.how-it-works div {
  display:flex;
  gap:14px;
}
.how-it-works b {
  font-size:11px;
  color:#8a988e;
  font-weight:500;
}
footer {
  max-width:1240px;
  margin:25px auto;
  padding:24px 36px;
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  font-size:11px;
}
.queue {
  list-style:none;
  padding:0;
  margin:0;
}
.queue-item {
  border-top:1px solid var(--border);
  padding:15px 0;
}
.queue-item h3 {
  font-size:13px;
  margin:0;
  overflow-wrap:anywhere;
}
.queue-meta,.queue-status {
  font-size:11px;
  color:var(--muted);
  margin:5px 0;
}
.queue-item progress {
  width:100%;
  height:7px;
  accent-color:var(--green);
}
.queue-controls,.result-actions {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:8px;
}
.queue-controls button,.result-actions button {
  padding:8px 11px;
  min-height:40px;
}
.link-help {
  flex-basis:100%;
}
.link-help summary {
  cursor:pointer;
  padding:8px 0;
}
.link-field {
  display:block;
  min-width:0;
  width:100%;
  font-size:11px;
  padding:8px;
  border:1px solid var(--border);
  border-radius:6px;
  color:var(--green);
  background:var(--inset);
}
.notice,#page-message:not(:empty) {
  font-size:13px;
  background:#34321f;
  padding:12px;
  border-radius:8px;
}
.download-panel {
  max-width:650px;
  margin:80px auto;
  text-align:center;
  padding:24px;
}
.download-panel h1 {
  font-size:clamp(36px,7vw,62px);
  line-height:1.1;
  letter-spacing:-2px;
}
.download-panel .filename {
  font-size:36px;
  overflow-wrap:anywhere;
}
.download-panel>.file-symbol {
  margin-top:30px;
}
.download-panel>p {
  color:var(--muted);
  font-size:14px;
}
.download-panel>.button {
  margin:20px 0;
}
.text-link {
  display:inline-block;
  font-size:12px;
  margin-top:24px;
}
.install-help {
  margin:20px 0 0;
  font-size:12px;
}
.install-help summary {
  cursor:pointer;
  padding:8px 0;
}
.install-help p {
  color:var(--muted);
}
@media(max-width:800px) {
  .upload-layout {
    grid-template-columns:1fr;
    max-width:560px;
    margin-top:35px;
    gap:25px;
    padding:0 20px;
  }
  .intro h1 {
    font-size:54px;
    letter-spacing:-2.5px;
    margin:16px 0;
  }
  .intro>p {
    font-size:15px;
  }
  .feature-line {
    margin-top:22px;
  }
  .upload-panel {
    padding:22px;
  }
  .site-header {
    padding:20px;
  }
  .header-note {
    font-size:11px;
  }
  .how-it-works {
    margin-top:12px;
    gap:8px;
    font-size:10px;
  }
  .how-it-works div {
    gap:7px;
  }
  footer {
    padding:20px;
    gap:15px;
  }
  .download-panel {
    margin-top:45px;
  }
}
@media(prefers-reduced-motion:no-preference) {
  .button {
    transition:background .15s;
  }
  .drop-zone {
    transition:background .15s;
  }
}

.video-player {
  display: block;
  width: 100%;
  max-height: 65vh;
  margin: 24px auto 16px;
  background: #000;
  border-radius: 12px;
}

.admin-panel {
  max-width:1240px;
  margin:24px auto;
  padding:0 24px 40px;
  overflow-wrap:anywhere;
}
.admin-login {
  display:grid;
  gap:14px;
  margin:24px 0;
  text-align:left;
}
.admin-login input,.admin-search input {
  padding:12px;
  border:1px solid var(--border);
  border-radius:8px;
  min-width:0;
  background:var(--inset);
}
.admin-stats {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
}
.admin-stats div {
  padding:18px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:12px;
}
.admin-stats dt {
  font-size:13px;
}
.admin-stats dd {
  margin:10px 0 0;
  font-size:20px;
  overflow-wrap:anywhere;
}
.admin-search,.admin-pagination {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin:24px 0;
}
.admin-table-wrap {
  overflow-x:auto;
}
.admin-table {
  width:100%;
  border-collapse:collapse;
  font-size:13px;
  text-align:left;
}
.admin-table th,.admin-table td {
  padding:14px 10px;
  border-bottom:1px solid var(--border);
}
.admin-table td:first-child {
  min-width:150px;
  max-width:320px;
  overflow-wrap:anywhere;
}

.uploader-info {
  min-width:200px;
  max-width:300px;
  overflow-wrap:anywhere;
}
.uploader-info summary {
  cursor:pointer;
}
