:root{font-family:system-ui,-apple-system,"Noto Sans JP","Yu Gothic",sans-serif;color:#172b36;background:#fff;font-size:15px;line-height:1.5}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #087485;background:#087485;color:#fff;border-radius:5px;padding:.58rem .9rem;font-weight:650}button:hover:not(:disabled){background:#075967}button:disabled{opacity:.5;cursor:not-allowed}button.secondary{background:#fff;color:#075e6b}button.secondary:hover:not(:disabled),button.quiet:hover:not(:disabled){background:#e8f4f6}button.quiet{background:#fff;border-color:#d7e2e6;color:#38515d}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7acbd5;outline-offset:2px}.topbar{height:52px;background:#075a66;color:#fff;display:flex;align-items:center;gap:24px;padding:0 max(28px,calc((100vw - 1490px)/2));font-weight:600}.brand{font-size:20px;font-weight:750;padding-right:24px;border-right:1px solid #70a6ae}main{max-width:1550px;margin:auto;padding:30px 30px 60px}.intro{display:flex;justify-content:space-between;align-items:start;gap:32px;margin-bottom:24px}.intro h1{font-size:30px;line-height:1.25;margin:0 0 6px;letter-spacing:.01em}.intro p{margin:0}.privacy{max-width:510px;padding:12px 16px;background:#f1f8f9;border:1px solid #d0e5e9;border-radius:5px;font-size:13px}.steps{display:grid;grid-template-columns:1fr 1.12fr .88fr;gap:16px}.panel{border:1px solid #d7e2e6;border-radius:6px;padding:18px;background:#fff}.panel h2,.editor h2{font-size:18px;margin:0 0 12px;line-height:1.4}.number{display:inline-grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#075a66;color:#fff;font-size:14px;margin-right:8px}.panel p{margin:0 0 10px}.tabs{display:flex;margin-bottom:14px}.tabs button{flex:1;border-radius:0;background:#f5f8f9;color:#34515d;border-color:#d7e2e6}.tabs button:first-child{border-radius:5px 0 0 5px}.tabs button:last-child{border-radius:0 5px 5px 0}.tabs button.active{background:#087485;color:white;border-color:#087485}label{display:block;font-weight:600;font-size:13px;margin:10px 0 5px}input[type=file],input[type=text],input[type=number],select,textarea{width:100%;border:1px solid #bfd1d8;border-radius:4px;background:#fff;color:#172b36;padding:8px 9px;min-width:0}input[type=file]{font-size:12px}textarea{resize:vertical}.check{display:flex;align-items:center;gap:7px;font-weight:400}.check input{width:auto}.hint,.muted{color:#5f737e;font-size:12px}.generator-grid{display:grid;grid-template-columns:1fr .6fr .9fr;gap:8px}.generator-grid label{margin-top:0}.mapping{max-height:225px;overflow:auto;margin-bottom:12px}.mapping-row{display:grid;grid-template-columns:1fr 1.2fr;gap:10px;align-items:center;padding:4px 0;font-size:12px}.mapping-row select{padding:5px 6px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:26px 0 10px}.section-head h2{margin:0}.section-head p{margin:0;color:#5f737e;font-size:13px}.editor-actions{display:flex;align-items:center;gap:8px}.editor-actions span{font-size:13px;color:#5f737e;margin-right:5px}.table-wrap{overflow-x:auto;border:1px solid #c7dbe0;border-radius:5px}table{width:100%;border-collapse:collapse;min-width:1120px;table-layout:fixed}th,td{border-right:1px solid #e1e9ed;border-bottom:1px solid #e1e9ed;padding:7px}th:last-child,td:last-child{border-right:0}tr:last-child td{border-bottom:0}th{background:#ecf6f7;color:#183d4a;font-size:12px;white-space:nowrap;text-align:left}th:first-child{width:40px}th:nth-child(2),th:nth-child(3){width:15%}th:nth-child(4){width:18%}th:nth-child(n+5){width:16%}td input[type=text]{padding:6px 7px;font-size:13px}td:first-child{text-align:center}.finish{display:grid;grid-template-columns:1.15fr .85fr;gap:16px;margin-top:20px}.finish .panel{min-height:170px}.export button{min-width:230px}.status{margin:0 0 8px;font-weight:600}.status.error{color:#a72b2b}.status.ok{color:#087048}.message-list{max-height:140px;overflow:auto;margin:0;padding-left:20px;font-size:12px}.message-list li{margin:3px 0}.warnings{color:#825a12}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.steps{grid-template-columns:1fr 1fr}.steps>.panel:last-child{grid-column:1/-1}.intro{display:block}.privacy{max-width:none;margin-top:16px!important}.finish{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.topbar{padding:0 16px;gap:12px}.brand{font-size:17px;padding-right:12px}main{padding:22px 16px 50px}.intro h1{font-size:25px}.steps,.finish{grid-template-columns:1fr}.steps>.panel:last-child{grid-column:auto}.section-head{align-items:start;flex-direction:column}.editor-actions{flex-wrap:wrap}.panel{padding:15px}}
