:root {
  color-scheme: light;
  --ink: #242424;
  --sub: #606060;
  --line: #d8d8d5;
  --surface: #f6f6f4;
  --error: #a52a24;
}
* { box-sizing: border-box; }
[hidden], .hidden { display: none !important; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; }
header { display: flex; align-items: center; gap: 18px; padding: 24px 5vw; border-bottom: 1px solid var(--line); }
header strong { font-size: 25px; font-weight: 850; letter-spacing: .055em; line-height: 1; }
.tag { color: var(--sub); font-size: 11px; letter-spacing: .12em; }
header nav { margin-left: auto; font-size: 13px; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
main { max-width: 776px; margin: 38px auto 80px; padding: 0 36px; }
h1 { font-size: clamp(24px, 3vw, 30px); line-height: 1.55; letter-spacing: .025em; margin: 12px 0 16px; font-weight: 750; overflow-wrap: anywhere; }
.heading-part { display: inline-block; }
h2 { font-size: 20px; margin: 36px 0 20px; }
h3 { font-size: 16px; }
p { margin: 12px 0 18px; }
.intro { color: #444; margin-bottom: 28px; }
.eyebrow { margin-top: 28px; color: var(--sub); font-size: 12px; font-weight: 650; letter-spacing: .13em; }
.section-title { display: flex; align-items: baseline; gap: 14px; padding: 18px 0 12px; margin-top: 28px; border-bottom: 1px solid var(--ink); }
.section-title span { font-size: 11px; color: var(--sub); letter-spacing: .06em; font-weight: 500; }
.muted { font-size: 13px; color: var(--sub); }
.field { margin: 23px 0; }
.field p { margin: 7px 0 12px; }
.fieldlabel { display: block; font-size: 14px; font-weight: 650; margin-bottom: 8px; }
.req, .opt { display: inline-block; margin-left: 10px; font-size: 11px; font-weight: 500; letter-spacing: .025em; }
.req { color: var(--ink); border: 1px solid #b5b5b1; padding: 0 5px; }
.opt { color: var(--sub); }
input[type=text], input[type=email], input[type=tel], input[type=search], textarea, select, input[type=date] {
  width: 100%; min-height: 48px; border: 1px solid #a6a6a2; border-radius: 2px; background: #fff; color: var(--ink); font: inherit; padding: 11px 13px;
}
textarea { min-height: 116px; resize: vertical; }
:focus-visible { outline: 2px solid #245da7; outline-offset: 4px; }
input[aria-invalid=true], textarea[aria-invalid=true] { border: 2px solid var(--error); }
fieldset { margin: 20px 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; font-size: 14px; font-weight: 650; margin-bottom: 12px; }
.choice { display: flex; align-items: center; gap: 11px; cursor: pointer; }
.work-options .choice { margin: 10px 0; min-height: 78px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 2px; }
.work-options .choice:has(input:checked) { border: 2px solid var(--ink); padding: 13px 17px; background: var(--surface); }
.choice small { display: block; margin-top: 2px; color: var(--sub); font-size: 12px; }
.choice input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--ink); }
input[type=file] { max-width: 100%; width: 100%; font: inherit; font-size: 14px; padding: 8px; border: 1px solid var(--line); }
input[type=file]::file-selector-button { font: inherit; padding: 9px 14px; border: 1px solid #b5b5b1; background: var(--surface); cursor: pointer; margin-right: 12px; }
.file-feedback { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 0; font-size: 13px; overflow-wrap: anywhere; }
#file-name { min-width: 0; }
.demo-note, .samples { border: 1px solid var(--line); background: var(--surface); padding: 12px 16px; font-size: 13px; }
summary { cursor: pointer; min-height: 24px; }
.demo-note p { margin: 10px 0 0; }
.samples ul { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 12px 0 0; list-style: none; }
.samples a { display: inline-block; padding: 7px 3px; }
.job { background: var(--surface); border: 1px solid var(--line); padding: 20px; margin-top: 16px; }
.job h3 { margin: 0 0 10px; }
.job .field:last-child { margin-bottom: 0; }
.warning { border-left: 3px solid #9d762e; background: #fbf7ef; padding: 14px 17px; margin: 18px 0; font-size: 13px; overflow-wrap: anywhere; }
.privacy-note { font-size: 14px; background: var(--surface); border: 1px solid var(--line); padding: 16px 18px; margin: 24px 0; }
.privacy-note h2 { font-size: 15px; margin: 0 0 4px; }
.privacy-note p { margin: 0; }
.privacy-note p + p { margin-top: 8px; }
.privacy-note a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.privacy-page section { border-top: 1px solid var(--line); margin: 24px 0; padding-top: 18px; }
.privacy-page section h2 { font-size: 18px; margin: 0 0 10px; }
.privacy-page section p { margin: 0 0 12px; }
.privacy-page section p:last-child { margin-bottom: 0; }
.top-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; min-height: 48px; padding: 12px 22px; border: 1px solid var(--ink); border-radius: 2px; background: var(--ink); color: #fff; }
.btn:hover { background: #454545; }
.btn.sec { background: #fff; color: var(--ink); border-color: #9e9e9a; }
.btn.sec:hover { background: var(--surface); }
.btn.small { font-size: 12px; min-height: 44px; padding: 8px 12px; flex-shrink: 0; }
button:disabled { opacity: .45; cursor: not-allowed; }
#result { padding: 18px; margin: 24px 0; border: 1px solid var(--line); font-size: 14px; overflow-wrap: anywhere; }
#result.error { background: #fff4f2; border-color: var(--error); color: #85231f; }
.complete { padding: 24px; margin: 32px 0; border: 1px solid #b2b8ae; background: #f6f8f3; }
.complete h1 { font-size: clamp(20px, 3vw, 28px); margin-top: 0; }
.receipt { font-family: ui-monospace, monospace; font-size: 15px; overflow-wrap: anywhere; border-block: 1px solid var(--line); padding: 16px 0; }
footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--sub); font-size: 12px; }
.skip-link { position: absolute; left: 20px; top: -100px; padding: 12px; background: #fff; z-index: 10; }
.skip-link:focus { top: 10px; }
.admin { max-width: 1240px; }
.admin select, .admin input { font: inherit; font-size: 14px; }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 12px; align-items: end; margin: 24px 0; }
.filters label { display: grid; font-size: 13px; gap: 5px; }
.table-scroll { overflow: auto; border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; white-space: nowrap; background: var(--surface); }
td { font-size: 13px; }
td:first-child { min-width: 125px; }
td button { padding: 8px 10px !important; }
dt { font-size: 13px; color: var(--sub); font-weight: 600; margin-top: 16px; }
dd { margin: 4px 0 14px; overflow-wrap: anywhere; white-space: pre-wrap; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.grid label { display: grid; gap: 5px; font-size: 13px; }
.danger { border-color: var(--error) !important; color: var(--error) !important; }
.details { border: 1px solid var(--line); padding: 24px; margin-top: 32px; }
.details h2 { margin-top: 0; }
#events { padding: 0; list-style: none; }
#events > li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 13px; overflow-wrap: anywhere; }
#events button { margin: 10px 10px 0 0; }
.error, .attention { color: var(--error); }
.field-error { color: var(--error); font-size: 13px; margin: 7px 0; }
#notice:not(:empty) { padding: 14px; border: 1px solid var(--line); margin: 14px 0; }
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 18px; font-size: 13px; }
@media (max-width: 740px) {
  header { padding: 22px 20px; gap: 8px 18px; flex-wrap: wrap; }
  header strong { font-size: 23px; }
  .tag { font-size: 9px; }
  header nav { font-size: 12px; }
  main { margin: 22px auto 48px; padding: 0 20px; }
  h1 { font-size: 24px; }
  .intro { font-size: 14px; }
  .job { padding: 16px; }
  .work-options .choice { font-size: 14px; }
  .top-actions { align-items: stretch; }
  #application > .top-actions > .btn { width: 100%; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters label:first-child { grid-column: 1 / -1; }
  .filters .btn { align-self: end; }
  .details { padding: 18px; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .tag { order: 3; width: 100%; }
}
