*{box-sizing:border-box}
:root{
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#171717;
  background:#f4f6f8
}
body{margin:0;min-height:100vh}
a{color:inherit}
.shell{width:min(1120px,calc(100% - 32px));margin:64px auto}
.shell.narrow{width:min(760px,calc(100% - 32px))}
.card{
  background:#fff;
  border:1px solid #e4e6ea;
  border-radius:20px;
  padding:30px;
  box-shadow:0 10px 36px rgba(0,0,0,.055)
}
.eyebrow{
  margin-bottom:8px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
  color:#686868
}
h1{margin:0 0 8px;font-size:clamp(32px,5vw,52px);line-height:1.05}
h2{font-size:20px}
.lead{font-size:20px;color:#5b5b5b;margin:18px 0 26px}
.muted{color:#747474;font-size:.92em}
label{display:block;font-weight:650;margin:14px 0}
input{
  display:block;
  width:100%;
  margin-top:7px;
  padding:13px 14px;
  border:1px solid #ccd0d5;
  border-radius:11px;
  font:inherit
}
input:focus{outline:2px solid #333;outline-offset:1px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  appearance:none;
  border:0;
  border-radius:11px;
  background:#171717;
  color:#fff;
  text-decoration:none;
  padding:12px 18px;
  font:inherit;
  font-weight:750;
  cursor:pointer
}
.button.secondary{background:#eef0f3;color:#171717}
.button.danger{background:#7c1d1d}
.button.small{padding:8px 11px;font-size:13px}
.button.full{width:100%;margin-top:18px}
.button:disabled{opacity:.55;cursor:not-allowed}
.actions{display:flex;gap:10px;flex-wrap:wrap}
.dropzone{
  margin:24px 0 14px;
  border:2px dashed #c7ccd4;
  border-radius:18px;
  padding:42px 20px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  cursor:pointer;
  background:#fafbfc;
  transition:.15s
}
.dropzone.dragging{border-color:#555;background:#f0f2f4}
.upload-icon{
  width:56px;
  height:56px;
  border-radius:50%;
  background:#eceff2;
  display:grid;
  place-items:center;
  font-size:34px
}
.file-list{display:grid;gap:8px;margin-top:10px}
.selected-file{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:11px 13px;
  border-radius:10px;
  background:#f3f4f6;
  font-size:14px
}
.file-size{white-space:nowrap;color:#666}
.file-size.too-large{color:#9c1f1f;font-weight:700}
.progress-wrap{margin:18px 0 6px}
.progress-label{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:8px;
  font-size:14px
}
.progress-label span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.progress-track{
  width:100%;
  height:14px;
  background:#e7e9ed;
  border-radius:999px;
  overflow:hidden
}
.progress-bar{
  height:100%;
  background:#171717;
  border-radius:999px;
  transition:width .12s linear
}
.notice{padding:13px 15px;border-radius:11px;margin:15px 0;line-height:1.45}
.notice.success{background:#eaf7ed}
.notice.error{background:#fff0f0}
.notice.warning{background:#fff7df}
.privacy-note{text-align:center;color:#777;font-size:13px;margin:18px 0 0}
.admin-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:18px
}
.admin-head h1{font-size:38px;margin:0}
.table-wrap{padding:0;overflow:auto}
table{width:100%;border-collapse:collapse}
th,td{text-align:left;padding:15px;border-bottom:1px solid #eee;vertical-align:top}
th{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#666;
  background:#fafafa
}
tr:last-child td{border-bottom:0}
.row-actions{display:flex;gap:8px}
.row-actions form{margin:0}
code{background:#f1f2f4;padding:2px 5px;border-radius:5px}
@media(max-width:720px){
  .shell{margin:24px auto}
  .grid2{grid-template-columns:1fr}
  .card{padding:20px}
  .selected-file{flex-direction:column;gap:4px}
  .row-actions{flex-direction:column}
  th:nth-child(2),td:nth-child(2){display:none}
}
