:root {
  --bg: #f4efe8;
  --ink: #173042;
  --card: rgba(255,255,255,0.82);
  --line: rgba(23,48,66,0.12);
  --accent: #d96c3d;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(241,195,138,0.65), transparent 28%),
    linear-gradient(160deg, #f7f1ea, #e8edf1 55%, #dde6eb);
}
.shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
.hero { padding: 24px 0 16px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: #7f5f4c;
}
h1, h2 { margin: 0 0 12px; }
.subtle { color: rgba(23,48,66,0.72); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(23,48,66,0.08);
}
.narrow { max-width: 520px; }
.stack > * + * { margin-top: 16px; }
.toolbar {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.upload-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.upload-picker {
  position: relative;
  overflow: hidden;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px dashed var(--line);
}
.upload-picker input {
  position: absolute;
  inset: 0;
  opacity: 0;
}
label { display: block; font-weight: 600; }
input {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.84);
}
button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--accent), #c45021);
  color: white;
  font-weight: 700;
  cursor: pointer;
}
button.secondary {
  background: rgba(23,48,66,0.1);
  color: var(--ink);
}
.notice {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(217,108,61,0.12);
  border: 1px solid rgba(217,108,61,0.2);
}
.notice.success {
  background: rgba(79,153,107,0.14);
  border-color: rgba(79,153,107,0.24);
}
.notice.error {
  background: rgba(190,70,70,0.12);
  border-color: rgba(190,70,70,0.24);
}
table { width: 100%; border-collapse: collapse; }
th, td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
a { color: var(--ink); }
.breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
ol { padding-left: 20px; }
@media (max-width: 720px) {
  .toolbar { align-items: flex-start; flex-direction: column; }
  th:nth-child(2), td:nth-child(2) { display: none; }
  th:nth-child(5), td:nth-child(5) { white-space: nowrap; }
}
