*{box-sizing:border-box} :root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans CJK JP","Yu Gothic",sans-serif;color:#20343a;background:#f4f6f5;font-synthesis:none;--ink:#102f36;--green:#176b57;--muted:#6b797c;--line:#dde5e2}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,summary{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #54a892;outline-offset:4px}.topbar{height:82px;padding:0 5vw;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:#fff}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:18px;letter-spacing:2px;font-weight:700}.brand-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:var(--ink);color:#caebdc;font:700 25px Georgia,serif}.brand-sub{display:block;font-size:8px;letter-spacing:2px;color:var(--muted);margin-top:3px}.pill,.paper-badge{border:1px solid var(--line);padding:7px 11px;border-radius:24px;font-size:11px;color:#586769;background:#fff}main{max-width:1320px;padding:45px 44px 24px;margin:auto}.intro .eyebrow{color:var(--green)}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:var(--muted)}h1{font-size:36px;font-weight:650;letter-spacing:-1px;margin:12px 0}h2{font-size:20px;margin:6px 0 0;font-weight:650}p{line-height:1.7}.intro p{font-size:14px;color:var(--muted);margin:0}.steps{display:flex;gap:15px;align-items:center;margin:30px 0 28px;font-size:12px;color:var(--muted)}.steps span{display:flex;gap:8px;align-items:center;white-space:nowrap}.steps b{width:24px;height:24px;border-radius:50%;background:#e6eae8;display:grid;place-items:center;font-size:11px;font-weight:500}.steps .active{color:var(--green)}.steps .active b{color:white;background:var(--green)}.steps i{width:42px;height:1px;background:#d5ded9}.workspace{display:grid;grid-template-columns:minmax(340px, .88fr) minmax(420px,1.12fr);gap:28px;align-items:start}.form-panel{background:#fff;padding:28px;border:1px solid var(--line);border-radius:18px}.section-heading,.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.small-note{font-size:11px;color:var(--muted)}.company-strip{display:flex;gap:28px;background:#f2f6f4;padding:16px;border-radius:10px;margin:22px 0}.company-strip div{display:flex;flex-direction:column;gap:5px}.company-strip span{font-size:10px;color:var(--muted)}.company-strip strong{font-size:14px;font-weight:500}.company-strip .fixed-label{margin-left:auto;align-self:center}.field{display:flex;flex-direction:column;margin-bottom:19px;min-width:0;gap:7px}label{font-size:12px;font-weight:600;line-height:1.65}em{font-style:normal;color:var(--green)}input,textarea,select{width:100%;min-width:0;background:white;color:#20343a;border:1px solid #cbd6d1;border-radius:8px;padding:11px 12px;font-size:15px;outline:none;min-height:44px}input:focus,textarea:focus,select:focus{border-color:var(--green);box-shadow:0 0 0 3px #176b5715}input::placeholder,textarea::placeholder{color:#99a4a3;font-size:13px}input[type=date],input[type=time],input[type=datetime-local]{-webkit-appearance:none;appearance:none}textarea{resize:vertical;line-height:1.6}.hint{font-size:11px;color:var(--muted);line-height:1.65;margin:0 0 10px}.field .hint{margin:0}.group-title{border-top:1px solid #e7ece9;padding-top:20px;margin:5px 0 15px;font-size:12px;font-weight:650;line-height:1.7}.field-pair{display:grid;grid-template-columns:1.3fr 1fr;gap:12px}.time-hint{margin-top:-8px;margin-bottom:22px}.details{border-top:1px solid var(--line)}.details:last-of-type{border-bottom:1px solid var(--line)}summary{font-size:12px;font-weight:600;padding:19px 0;cursor:pointer;line-height:1.8;list-style:none;display:flex;align-items:center;gap:8px}summary::before{content:'+';width:17px;font-size:18px;font-weight:400;color:var(--green);flex-shrink:0}.details[open]>summary::before{content:'−'}summary span{font-size:10px;margin-left:auto;color:var(--muted);font-weight:400;white-space:nowrap}.detail-body{padding:4px 0 17px}.notice{padding:14px 16px;background:#fbf5e9;border-radius:8px;margin:22px 0 0;color:#79643d}.notice strong{font-size:12px;font-weight:600}.notice p{font-size:11px;margin:5px 0 0}.privacy-note{font-size:10px;line-height:1.7;color:var(--muted);margin:15px 0}fieldset{padding:0;margin:0;border:0;min-width:0}.primary{background:var(--ink);color:#fff;border:0;border-radius:10px;padding:15px 18px;font-size:14px;font-weight:550;min-height:50px;width:100%}.primary:hover{background:#204b51}.generate{display:flex;justify-content:space-between;align-items:center}.secondary{border:1px solid #bfd0c8;background:#fff;color:var(--green);border-radius:8px;padding:10px 14px;font-size:12px;min-height:42px}.add-order{width:100%;border-style:dashed}.order-card{background:#f5f7f6;border-radius:10px;padding:15px;margin:15px 0}.order-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;font-size:12px}.remove-order{border:0;background:transparent;color:#966254;font-size:11px;min-height:30px}.order-card .field{margin-bottom:13px}.datetime-pair{display:grid;grid-template-columns:1fr 74px;gap:6px}.datetime-pair input{font-size:12px;padding:9px 6px}.datetime-pair select{padding:8px 4px;font-size:12px}.preview-panel{padding:8px 0;position:sticky;top:20px;min-width:0}.preview-heading{padding:0 2px 20px}.preview-heading h2{font-size:18px}.empty-preview{background:#eaf0ec;border:1px dashed #ccd9d1;border-radius:14px;min-height:570px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px}.paper-icon{width:98px;height:128px;background:white;box-shadow:0 8px 25px #1f4c3820;border-radius:3px;transform:rotate(-7deg);padding:27px 18px;margin-bottom:28px;border-top:7px solid #bdd9ca}.paper-icon div{height:5px;margin-bottom:12px;background:#e2eae5}.paper-icon div:first-child{width:30px;background:#b0c6b9;height:7px}.empty-preview h3{font-size:16px;font-weight:500;margin:0 0 10px}.empty-preview p{font-size:12px;color:#718179;margin:0 0 50px}.empty-preview>span{font-size:9px;color:#829188}.result-toolbar{display:flex;justify-content:space-between;align-items:center;font-size:11px;margin-bottom:12px}.draft-badge{background:#f5e6ca;color:#826736;border-radius:4px;padding:5px 9px}.paper-scroll{overflow:auto;background:#e9edea;padding:16px;border-radius:12px;max-height:740px}.document{background:#fff;color:#18252a;padding:25px 22px;min-width:390px;box-shadow:0 4px 16px #17342610;font-size:9px;line-height:1.55}.document h3{text-align:center;font-size:19px;letter-spacing:4px;margin:8px 0 16px}.doc-tag{font-size:8px;text-align:center;color:#7b623d;margin-bottom:12px}.doc-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px;overflow-wrap:anywhere}.document table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:9px}.document th,.document td{border:1px solid #aeb9b3;padding:8px 7px;vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;text-align:left;font-weight:400}.document th{width:30%;background:#f0f3f1}.doc-foot{font-size:7px;color:#6d7671;overflow-wrap:anywhere;margin:12px 0}.doc-appendix{border-top:1px dashed #bcc9c1;padding-top:16px;margin-top:24px}.save-box{padding:14px 0 8px}.save-box p{font-size:12px;margin:0 0 5px}.save-box .record-id{font-size:9px;color:#7d8983;overflow-wrap:anywhere}.save-ok{color:var(--green)}.save-error,.error{color:#a04736}.error{font-size:12px;padding:10px 0}.download{background:var(--green);margin-bottom:10px}.download:hover{background:#125544}footer{border-top:1px solid var(--line);margin-top:35px;padding:22px 0 0;display:flex;gap:25px;font-size:10px;color:var(--muted)}footer a{margin-left:auto;text-decoration:none}footer a:hover{text-decoration:underline}[hidden]{display:none!important}@media(max-width:980px){main{padding:30px 24px}.workspace{gap:18px;grid-template-columns:minmax(320px,1fr) minmax(350px,1fr)}.form-panel{padding:22px}}@media(max-width:760px){.topbar{height:66px;padding:0 20px}.brand{font-size:16px}.pill{font-size:9px}.brand-mark{height:31px;width:31px;font-size:22px}main{padding:28px 16px 20px}h1{font-size:28px}.intro p{font-size:12px}.steps{gap:10px;margin:25px 0;font-size:11px}.steps i{width:22px}.workspace{grid-template-columns:minmax(0,1fr);gap:30px}.form-panel{padding:22px 18px;border-radius:14px}.preview-panel{position:static}.empty-preview{min-height:330px}.empty-preview p{margin-bottom:25px}.paper-icon{width:70px;height:90px;padding:16px 12px;margin-bottom:18px}.paper-icon div{margin-bottom:8px;height:4px}.company-strip{gap:20px}.company-strip .fixed-label{font-size:9px}input,textarea,select{font-size:16px}.datetime-pair{grid-template-columns:minmax(0,1fr) 75px}.datetime-pair input{font-size:14px}.paper-scroll{padding:10px;max-height:none}.document{padding:18px 12px;min-width:0;width:100%}.document th,.document td{padding:7px 5px}.doc-meta{gap:7px;font-size:8px}.preview-heading{padding:0 4px 16px}footer{flex-wrap:wrap;gap:13px;font-size:9px}.privacy-note{font-size:11px}summary{font-size:11px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s}input,textarea{transition:border-color .15s}}
