:root{color-scheme:light;--ink:#173d42;--muted:#536e72;--accent:#146a65;--bg:#f4f7f4;--line:#d5e1da;--paper:#fff;--soft:#e8f3ec;font-family:system-ui,-apple-system,"Segoe UI","Noto Sans JP",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);line-height:1.75}main{max-width:1050px;margin:auto;padding:26px 28px 40px}a{color:var(--accent);text-underline-offset:4px}.nav{display:flex;justify-content:space-between;gap:20px;font-size:14px}.nav span{color:var(--muted)}.hero{padding:40px 0 25px}.eyebrow{font-size:11px;letter-spacing:.21em;font-weight:750;color:var(--accent);margin:0 0 8px}h1{font-size:clamp(30px,5vw,46px);letter-spacing:.02em;line-height:1.4;margin:0 0 16px}.lead{font-size:17px;color:var(--muted);margin:0}.privacy{font-size:14px;font-weight:650;margin:20px 0 0}.privacy span{color:var(--accent);font-size:10px;margin-right:6px}.drop{padding:28px 20px;text-align:center;border:2px dashed #8bada1;border-radius:16px;background:#eff6ef;transition:background .15s}.drop.dragging{background:#dbeee0;border-color:var(--accent)}.drop svg{width:48px;height:48px;stroke:var(--accent);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.drop h2{font-size:21px;margin:5px 0}.drop p{margin:0 0 16px;font-size:14px;color:var(--muted)}.drop small{display:block;margin-top:12px;color:var(--muted);font-size:12px}button,input,select{font:inherit}button{cursor:pointer;padding:10px 19px;min-height:44px;border:1px solid #b4c9be;border-radius:8px;color:var(--ink);background:#fff;font-size:14px;font-weight:650}button.primary{background:var(--accent);color:#fff;border-color:var(--accent)}button:hover:enabled{filter:brightness(.94)}button:disabled{opacity:.45;cursor:default}button.quiet{background:transparent}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #c98c29;outline-offset:4px}.panel{margin-top:24px;border:1px solid var(--line);border-radius:14px;background:var(--paper);padding:25px 26px}.panel h2{font-size:18px;line-height:1.5;margin:0 0 20px}.step{font-size:12px;color:var(--accent);margin-right:13px;letter-spacing:.07em}.fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}label{display:block;font-size:13px;font-weight:650}select,input{display:block;width:100%;min-height:43px;padding:8px 10px;margin-top:6px;border:1px solid #b9ccc2;border-radius:7px;background:#fff;color:var(--ink);font-size:14px}select:focus,input:focus{outline:2px solid #719b86;outline-offset:2px}.hint{font-size:12px;color:var(--muted);margin:15px 0 0}.example{font-size:12px;border-top:1px solid var(--line);padding-top:14px;margin:16px 0 0;color:var(--muted)}.example output{font-family:ui-monospace,monospace;color:var(--ink);margin-left:12px;overflow-wrap:anywhere}.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.section-head>span{font-size:13px;color:var(--muted)}.actions{display:flex;gap:9px;flex-wrap:wrap}.actions .quiet{margin-left:auto}#status{font-size:14px;min-height:25px;margin:18px 0 8px;overflow-wrap:anywhere}#status[data-error=true]{color:#9a302b}progress{height:7px;width:100%;accent-color:var(--accent);display:block;margin-bottom:20px}.empty{padding:20px;text-align:center;color:var(--muted);font-size:14px}.file{padding:20px 0;border-top:1px solid var(--line)}.file-head{display:flex;align-items:center;gap:12px;justify-content:space-between}.original{font-weight:650;font-size:14px;overflow-wrap:anywhere;min-width:0}.badge{flex-shrink:0;border-radius:20px;background:var(--soft);padding:2px 10px;font-size:11px}.file[data-state=error] .badge{background:#fff0e9;color:#983d20}.file-meta,.file-note{font-size:12px;color:var(--muted);margin:6px 0;white-space:pre-line;overflow-wrap:anywhere}.file-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin-top:12px}.filename{font-size:12px;color:var(--muted);overflow-wrap:anywhere;margin-top:6px}.file-buttons{display:flex;gap:8px}.file-buttons button{padding:8px 12px;font-size:12px}.text-preview{font-size:12px;color:var(--muted);margin-top:12px}.text-preview pre{white-space:pre-wrap;max-height:210px;overflow:auto;background:var(--bg);padding:10px;border-radius:6px;font-family:inherit}.save-bar{border-top:1px solid var(--line);padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:20px}.save-bar p{margin:0;font-size:13px}.save-bar small{display:block;color:var(--muted);font-size:11px}.help{font-size:13px;color:var(--muted)}summary{cursor:pointer;font-weight:650;color:var(--ink)}footer{display:flex;justify-content:space-between;gap:15px;padding-top:25px;font-size:12px}[hidden]{display:none!important}@media(max-width:700px){main{padding:18px 16px 30px}.hero{padding-top:30px}.lead{font-size:15px}.privacy{font-size:12px}.panel{padding:20px 16px}.fields{grid-template-columns:1fr}.example output{display:block;margin:6px 0 0}.file-bottom{grid-template-columns:1fr}.file-buttons{justify-content:flex-end}.save-bar{align-items:stretch;flex-direction:column;gap:12px}.actions .quiet{margin-left:0}.section-head{gap:4px}.panel h2{font-size:16px}.drop h2{font-size:19px}}
.save-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;flex-shrink:0}.save-actions button{white-space:nowrap}@media(max-width:850px){.save-bar{align-items:stretch;flex-direction:column}.save-actions{justify-content:flex-start}}@media(max-width:450px){.save-actions{flex-direction:column}.save-actions button{width:100%}}
