:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', sans-serif;
  color: #203342;
  background: #f3f6f8;
  line-height: 1.7;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; border-top: 5px solid #167c98; }
a { color: #126b84; text-underline-offset: 4px; }
.claim-container { max-width: 780px; margin: 0 auto; padding: 44px 24px 24px; }
.admin-container { max-width: 1440px; margin: 0 auto; padding: 40px 24px; }
.page-heading { margin-bottom: 28px; }
.brand { color: #126b84; font-size: 23px; font-weight: 750; letter-spacing: .03em; margin: 0 0 22px; }
.brand span { color: #536572; font-size: 13px; font-weight: 500; margin-left: 14px; }
h1 { font-size: clamp(23px, 4vw, 30px); line-height: 1.5; margin: 16px 0; letter-spacing: .02em; }
h2 { font-size: 19px; margin: 0 0 22px; line-height: 1.6; }
.lead { color: #526371; margin: 0; }
.eligibility-notice { margin-top: 12px; }
.notice { color: #405869; background: #e5eff3; border-left: 3px solid #167c98; padding: 13px 18px; margin-bottom: 22px; font-size: 14px; }
.panel { background: #fff; border: 1px solid #dfe7ec; border-radius: 12px; box-shadow: 0 5px 20px #17344e05; padding: 32px; }
.form-section + .form-section { border-top: 1px solid #e5ebee; padding-top: 30px; margin-top: 30px; }
.step { color: #167c98; font-size: 14px; letter-spacing: .06em; margin-right: 14px; }
.field + .field { margin-top: 22px; }
label { display: block; font-weight: 650; font-size: 15px; margin-bottom: 8px; }
.required { color: #a03f32; background: #fff1ec; font-size: 11px; padding: 3px 7px; border-radius: 4px; margin-left: 6px; white-space: nowrap; }
input:not([type='hidden']) { display: block; width: 100%; min-width: 0; border: 1px solid #aebec9; border-radius: 6px; padding: 11px 12px; font: inherit; font-size: 16px; color: inherit; background: #fff; }
input[type='file'] { border: 0; background: transparent; padding: 0; font-size: 14px; }
input::file-selector-button { padding: 9px 12px; margin-right: 12px; border: 1px solid #aebec9; border-radius: 5px; background: #fff; color: #203342; cursor: pointer; }
:focus-visible { outline: 3px solid #268eb5; outline-offset: 3px; }
.hint { color: #596b78; font-size: 13px; margin: 8px 0 14px; }
.field-hint { margin-bottom: 0; }
.upload-box { background: #f7fafb; border: 1px dashed #aebec9; border-radius: 7px; padding: 20px; }
.screenshot-preview { display: block; max-width: 100%; max-height: 260px; margin: 20px auto 0; object-fit: contain; }
[hidden] { display: none !important; }
.word-row { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; }
legend { font-size: 13px; color: #596b78; margin-bottom: 8px; padding: 0; }
.word-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.word-fields .field { margin: 0; min-width: 0; }
.form-footer { border-top: 1px solid #e5ebee; padding-top: 24px; margin-top: 30px; }
button, .button { display: inline-block; font: inherit; font-weight: 650; background: #116f89; color: #fff; border: 0; border-radius: 6px; padding: 13px 24px; text-decoration: none; cursor: pointer; }
button { width: 100%; margin-top: 10px; }
button:hover, .button:hover { background: #0a5970; }
button:disabled { opacity: .65; cursor: wait; }
#submit-status:empty { display: none; }
.page-footer { text-align: center; color: #6c7d87; font-size: 12px; margin: 28px 0 12px; }
.error-message { background: #fff1ef; color: #953023; border: 1px solid #e2b1a8; border-radius: 7px; padding: 16px 20px; margin: 0 0 22px; }
.error-message p { margin: 7px 0 0; font-size: 13px; }
.complete { text-align: center; padding: 42px 32px; }
.complete-mark { display: inline-grid; place-items: center; width: 54px; height: 54px; background: #e1f2ef; color: #187766; font-size: 27px; border-radius: 50%; margin-bottom: 20px; }
.receipt { background: #f3f6f8; text-align: left; padding: 18px; border-radius: 7px; margin: 28px 0 10px; }
.receipt dt { font-size: 13px; color: #526371; }
.receipt dd { font-family: monospace; overflow-wrap: anywhere; margin: 5px 0 0; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #e3eaee; }
th { background: #f3f6f8; white-space: nowrap; font-size: 13px; }
td { min-width: 160px; max-width: 300px; overflow-wrap: anywhere; }
td:first-child { min-width: 180px; }
.account-cell { font-weight: 650; }
.claim-table th, .claim-table td { padding: 8px 12px; vertical-align: middle; }
.claim-table time { white-space: nowrap; }
.claim-table .claim-actions { min-width: 76px; width: 76px; white-space: nowrap; }
.claim-details-button { width: auto; margin: 0; padding: 5px 14px; font-size: 13px; }
.claim-dialog-open { overflow: hidden; }
.claim-dialog { width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid #dfe7ec; border-radius: 12px; color: inherit; background: #fff; box-shadow: 0 16px 64px #17344e30; }
.claim-dialog::backdrop { background: #10253299; }
.claim-dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 20px 24px; border-bottom: 1px solid #e3eaee; position: sticky; top: 0; background: #fff; }
.claim-dialog-header h2 { margin: 0; }
.claim-dialog-account { margin: 4px 0 0; color: #596b78; font-size: 14px; overflow-wrap: anywhere; }
.claim-dialog-close { flex: none; width: auto; margin: 0; padding: 7px 14px; font-size: 13px; }
.claim-dialog-body { padding: 24px; overflow-wrap: anywhere; }
.claim-dialog-body section + section { margin-top: 26px; }
.claim-dialog-body h3 { margin: 0 0 12px; font-size: 15px; }
.claim-dialog-image { display: block; max-width: 100%; max-height: 50vh; margin: 0 auto 12px; object-fit: contain; border: 1px solid #e3eaee; border-radius: 6px; }
.word-list { margin: 0; padding-left: 20px; }
.word-list li + li { margin-top: 10px; }
.word-list span { display: block; color: #596b78; font-size: 13px; }
.word-list strong { font-weight: 600; }
.pagination { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.pagination:empty { display: none; }
.empty { padding: 32px 0; text-align: center; }
@media (max-width: 600px) {
  .claim-container, .admin-container { padding: 24px 16px; }
  .panel { padding: 24px 18px; }
  .word-fields { grid-template-columns: 1fr; gap: 14px; }
  .word-row { border-left: 2px solid #e3eaee; padding-left: 14px; margin-top: 24px; }
  .upload-box { padding: 16px 10px; }
  .brand { margin-bottom: 20px; }
  .table-scroll { margin: 0 -8px; }
}

.screenshot-example { margin: 16px 0 20px; }
.screenshot-example img { display: block; width: 240px; max-width: 100%; height: auto; border: 1px solid #dfe7ec; border-radius: 7px; }

.recovery-mail-form { display: inline-block; margin-left: 8px; vertical-align: middle; }
.recovery-mail-status { display: block; white-space: normal; max-width: 280px; }
.recovery-mail-status:empty { display: none; }
