:root {
  --gold: #C9A84C;
  --gold-soft: #E4D3A0;
  --ink: #0D0D12;
  --ink-soft: #2A2A33;
  --paper: #F7F5F0;
  --paper-dim: #EDEAE2;
  --stone: #8A8578;
  --line: #DEDACE;
  --success: #4C7A5E;
  --success-bg: #E7EFE9;
  --alert: #A64B36;
  --alert-bg: #F3E3DE;
  --pending: #B08A2E;
  --pending-bg: #F3ECD9;
  --radius: 14px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper-dim);
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
}
h1, h2, h3 { font-family: 'Shippori Mincho', serif; letter-spacing: 0.01em; margin: 0; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line);
  font-family: 'DM Sans', sans-serif; font-size: 14px; background: var(--paper);
}
.btn {
  padding: 12px 18px; border-radius: 10px; border: none;
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 14px; cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-outline { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.tag { font-size: 11px; padding: 3px 10px; border-radius: 999px; display: inline-block; }
.tag.pending { background: var(--pending-bg); color: var(--pending); }
.tag.ok { background: var(--success-bg); color: var(--success); }
.tag.alert { background: var(--alert-bg); color: var(--alert); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 10px;
  font-size: 13px; opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.toast.show { opacity: 1; }
.empty {
  color: var(--stone); font-size: 13px; text-align: center;
  padding: 28px 16px; border: 1px dashed var(--line); border-radius: var(--radius);
  background: rgba(255,255,255,0.5);
}
.page-header { text-align: center; margin-bottom: 28px; }
.page-header img.logo-full { display: block; margin: 0 auto 14px; width: 180px; height: auto; }
.brand-mark { display: flex; align-items: center; gap: 10px; }
.brand-mark img { height: 32px; width: auto; display: block; }
.card { box-shadow: 0 1px 3px rgba(13,13,18,0.04); }
.row { transition: box-shadow 0.15s ease; }
.row:hover { box-shadow: 0 1px 4px rgba(13,13,18,0.06); }
details > summary { list-style: none; cursor: pointer; user-select: none; }
details > summary::-webkit-details-marker { display: none; }
details > summary::before { content: '▸  '; color: var(--gold); }
details[open] > summary::before { content: '▾  '; }
details { margin-bottom: 22px; }
