:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", sans-serif;
  color: #17233a;
  background: #f2f6fb;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top, #fff 0, #f2f6fb 55%); }
button, input { font: inherit; }
.shell { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 48px; }
.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; font-weight: 700; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: #1957d2; font-size: 13px; }
.panel { background: #fff; border: 1px solid #dce5f1; border-radius: 20px; box-shadow: 0 18px 50px rgba(33, 66, 112, .1); padding: clamp(24px, 5vw, 48px); }
.eyebrow { margin: 0 0 8px; color: #1957d2; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
h1 { margin: 0; font-size: clamp(27px, 5vw, 40px); line-height: 1.25; }
.lead { margin: 16px 0 24px; color: #52627a; line-height: 1.8; }
.notice { padding: 14px 16px; border-radius: 12px; background: #eef4ff; color: #29466f; line-height: 1.6; }
.notice.error { background: #fff0f0; color: #9a2929; }
.notice.success { background: #eefaf2; color: #24633a; }
.stack { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; font-weight: 700; }
.field small { color: #697991; font-weight: 400; }
input[type="password"], input[type="file"] { width: 100%; border: 1px solid #cbd7e6; border-radius: 11px; padding: 12px; background: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { border: 0; border-radius: 11px; padding: 12px 18px; background: #1957d2; color: #fff; font-weight: 700; cursor: pointer; }
.button.secondary { background: #e8eef8; color: #29466f; }
.button:disabled { opacity: .5; cursor: wait; }
.file-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.file-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid #e1e8f1; border-radius: 10px; }
.file-name { overflow-wrap: anywhere; }
.muted { color: #697991; font-size: 13px; }
.credentials { border: 2px solid #1957d2; border-radius: 14px; padding: 18px; background: #f6f9ff; }
.credentials dl { display: grid; gap: 8px; margin: 12px 0; }
.credentials dt { font-size: 12px; color: #697991; }
.credentials dd { margin: 0 0 10px; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.download-link { display: block; padding: 13px 15px; border: 1px solid #cbd7e6; border-radius: 10px; color: #174cae; text-decoration: none; font-weight: 700; }
.privacy { margin: 18px 8px 0; color: #697991; font-size: 12px; line-height: 1.7; }
@media (max-width: 520px) { .shell { width: min(100% - 20px, 760px); padding-top: 16px; } .panel { border-radius: 15px; padding: 22px 18px; } }
