:root{--accent:#13665f;--on-accent:#fff;--ink:#202d2a;--muted:#58665f;--line:#dce3dd;--paper:#f6f7f2;font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Hiragino Kaku Gothic ProN",sans-serif;color:var(--ink);background:var(--paper);line-height:1.7;color-scheme:light}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,select,summary{cursor:pointer}button:disabled{cursor:default;opacity:.55}button{border:1px solid transparent;border-radius:8px;background:var(--accent);color:var(--on-accent);padding:10px 18px;font-weight:650;min-height:44px}button.secondary{background:white;color:var(--ink);border-color:#aab8b0}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid #2563eb;outline-offset:3px}label{display:block;font-size:.87rem;font-weight:600}input,select,textarea{display:block;width:100%;margin-top:6px;padding:10px 12px;border:1px solid #aab8b0;border-radius:7px;background:white;color:var(--ink);min-width:0}input[type=checkbox]{width:20px;height:20px;display:inline-block;margin:0;flex:none}h1,h2,h3,p{margin:0}h1{font-size:1.38rem}h2{font-size:1.6rem;line-height:1.45}h3{font-size:1.18rem;line-height:1.6}p{margin:10px 0}header,main,nav,.settings,footer,.hero,#notice,.error{max-width:1120px;margin-left:auto;margin-right:auto}.demo-bar{display:flex;justify-content:center;align-items:center;gap:16px;padding:9px 20px;background:#e9eee2;font-size:.8rem}.demo-bar strong{white-space:nowrap}header{padding:30px 8px;display:flex;align-items:center;justify-content:space-between;gap:24px}.eyebrow{font-size:.68rem;letter-spacing:.16em;font-weight:750;margin:0 0 8px}.profile-controls{display:flex;gap:12px}.profile-controls label{max-width:220px}.hero{position:relative;overflow:hidden;border-radius:18px;background:var(--accent);color:var(--on-accent);padding:42px 40px;min-height:225px}.hero h2{max-width:790px;font-size:2.2rem;letter-spacing:.015em}.hero>p:last-of-type{line-height:1.9;opacity:.94}.hero-mark{position:absolute;right:32px;bottom:12px;font-size:100px;line-height:1;opacity:.17}nav{display:flex;gap:4px;border-bottom:1px solid var(--line);padding-top:24px}nav button{background:transparent;color:var(--muted);border-radius:0;border-bottom:3px solid transparent;padding:14px 20px}nav button[aria-current=page]{color:var(--ink);border-bottom-color:var(--accent)}main{padding:30px 0 42px}.section-heading,.record-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.muted{color:var(--muted);font-size:.85rem}.search{display:grid;grid-template-columns:2fr 1fr auto;align-items:end;gap:14px;margin:22px 0 26px;padding:20px;background:white;border:1px solid var(--line);border-radius:12px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.card,.record,.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:24px}.card{display:flex;flex-direction:column;gap:8px}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.tag{display:inline-block;background:#eff2eb;border-radius:4px;padding:3px 9px;font-size:.73rem;font-weight:650}.availability{font-size:.78rem;font-weight:650}.card p{color:var(--muted);font-size:.93rem}.card button{margin-top:auto;display:flex;justify-content:space-between}dl{display:grid;grid-template-columns:60px minmax(0,1fr);gap:6px 12px;margin:14px 0 20px;font-size:.87rem}dt{color:var(--muted)}dd{margin:0;overflow-wrap:anywhere}.application{margin-top:26px}.field,.check{margin:18px 0}.field{max-width:650px}.check{display:flex;align-items:center;gap:9px}.required{font-size:.7rem;color:#a52828;margin-left:8px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.record{margin:18px 0}.record details{margin-top:16px}.record-heading .muted{white-space:nowrap}.record ol{padding-left:22px;font-size:.85rem}.notice{padding:14px 20px;background:#edf5ea;border:1px solid #b8d5b2;border-radius:8px;margin-top:20px}.hidden{display:none}.error{padding:16px;background:#fff0ed;color:#8d2222}.empty{padding:45px 24px;border:1px dashed #bac5ba;border-radius:12px;color:var(--muted);grid-column:1/-1}.settings{border:1px solid var(--line);background:#fff;border-radius:12px;padding:20px}.settings summary{font-weight:650}.settings textarea{min-height:350px;resize:vertical;font-family:ui-monospace,SFMono-Regular,monospace;font-size:.8rem;line-height:1.6;tab-size:2}.settings button{margin-top:16px}#config-error{color:#a52828}footer{padding:30px 0;font-size:.78rem;color:var(--muted)}
@media(max-width:1180px){header,main,nav,.hero,.settings,footer,#notice,.error{margin-left:24px;margin-right:24px}}
@media(max-width:640px){header,main,nav,.hero,.settings,footer,#notice,.error{margin-left:16px;margin-right:16px}header{padding:22px 0;display:block}.profile-controls{margin-top:18px}.profile-controls label{width:50%;max-width:none}.demo-bar{display:block;padding:8px 16px;font-size:.72rem}.demo-bar strong{margin-right:10px}.hero{padding:28px 24px;min-height:220px}.hero h2{font-size:1.65rem}.hero-mark{font-size:75px;right:16px}.cards{grid-template-columns:1fr}.search{grid-template-columns:1fr 1fr;padding:16px;gap:10px}.search label:first-child{grid-column:1/-1}.search button{height:46px}nav{gap:0}nav button{flex:1;padding:12px 5px;font-size:.84rem}h1{font-size:1.2rem}h2{font-size:1.38rem}.card,.record,.panel{padding:20px}.record-heading{display:block}.record-heading>.muted{display:block;margin-top:8px}.section-heading{align-items:end}.settings{padding:16px}.settings summary{font-size:.88rem}.actions button{flex:1}main{padding-top:24px}}

a{color:var(--accent);text-underline-offset:4px}
a:focus-visible{outline:3px solid #2563eb;outline-offset:4px}
.profile-controls{align-items:center}
.header-help{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:9px 14px;border:1px solid var(--line);border-radius:8px;font-size:.85rem;font-weight:650;text-decoration:none;background:white;color:var(--ink)}
.help-page [hidden]{display:none!important}
.help-brand{display:grid;color:var(--ink);text-decoration:none;max-width:600px}
.help-brand strong{font-size:1.25rem;line-height:1.5;overflow-wrap:anywhere}
.help-header .profile-controls{flex-shrink:0}
.help-main{padding-top:0}
.help-intro{padding:48px 44px;border-radius:18px;background:var(--accent);color:var(--on-accent)}
.help-intro h1{font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.4;letter-spacing:.02em}
.help-intro>p:not(.eyebrow){margin:18px 0 26px;line-height:1.9}
.help-primary{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:46px;padding:12px 20px;background:var(--accent);color:var(--on-accent);border-radius:8px;text-decoration:none;font-size:.9rem;font-weight:700}
.help-intro .help-primary{background:var(--on-accent);color:var(--accent)}
.help-toc{flex-wrap:wrap;gap:8px 26px;margin:0;padding:22px 0;border-bottom:1px solid var(--line)}
.help-toc a{display:inline-flex;align-items:center;min-height:44px;font-size:.88rem;font-weight:650}
.help-section{padding:40px 0;scroll-margin-top:24px;overflow-wrap:anywhere}
.help-section>p{max-width:850px}
.help-section h2{margin-bottom:16px}
.help-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}
.help-facts>div{padding:20px 24px;background:white;border:1px solid var(--line);border-radius:10px}
.help-facts span{display:block;font-size:.78rem;color:var(--muted);margin-bottom:8px}
.help-facts strong{font-size:1.12rem}
.help-callout{padding:16px 20px;border-left:3px solid var(--accent);background:#eaf0e6;border-radius:0 8px 8px 0;font-size:.92rem}
.help-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.help-role-grid .help-section{padding:28px}
.help-steps{list-style:none;counter-reset:steps;margin:24px 0;padding:0}
.help-steps li{position:relative;counter-increment:steps;padding:0 0 24px 46px;font-size:.93rem;min-height:40px}
.help-steps li:last-child{padding-bottom:0}
.help-steps li::before{content:counter(steps,decimal-leading-zero);position:absolute;left:0;top:0;color:var(--accent);font-size:.85rem;font-weight:750;border-bottom:2px solid var(--line);padding:0 3px 6px}
.help-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px}
.help-fields>div{background:white;border:1px solid var(--line);border-radius:10px;padding:18px 20px}
.help-fields span{display:inline-block;margin-left:12px;font-size:.73rem;color:var(--muted)}
.help-fields p{font-size:.85rem;color:var(--muted);margin-bottom:0}
.help-search{max-width:600px;margin-top:24px}
.help-question{border:1px solid var(--line);border-radius:10px;background:white;margin:12px 0;scroll-margin-top:24px}
.help-question summary{padding:18px 20px;min-height:52px;font-size:.95rem;font-weight:650}
.help-question .tag{margin:0 12px 4px 0;font-weight:500}
.help-question[open] summary{border-bottom:1px solid var(--line)}
.help-question p{padding:0 22px;font-size:.93rem;margin:18px 0 12px}
.help-permalink{display:inline-flex;align-items:center;min-height:44px;margin:0 22px 10px;font-size:.78rem}
.help-ending{border-top:1px solid var(--line);padding-bottom:0}
.help-ending>a:last-child{display:inline-flex;align-items:center;min-height:44px;margin:12px 24px;font-size:.85rem}
@media(max-width:800px){header{flex-wrap:wrap}.help-role-grid{grid-template-columns:1fr}.help-facts{gap:10px}.help-facts>div{padding:16px}.help-header .profile-controls{flex-shrink:1}}
@media(max-width:640px){.profile-controls{flex-wrap:wrap;gap:12px}.profile-controls label{width:calc(50% - 6px)}.profile-controls .header-help{width:100%}.help-intro{padding:30px 22px}.help-intro br{display:none}.help-intro .help-primary{gap:12px;padding:12px 16px}.help-toc{gap:4px 18px;padding:16px 0}.help-section{padding:30px 0}.help-facts,.help-fields{grid-template-columns:1fr}.help-facts>div{display:flex;align-items:center;justify-content:space-between;gap:20px}.help-facts span{margin:0;flex-shrink:0}.help-role-grid .help-section{padding:24px 20px}.help-question summary{padding:16px}.help-question .tag{display:table;margin-bottom:8px}.help-question p{padding:0 16px}.help-ending>a:last-child{margin-left:0}}
