:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;color:#192b47;background:#f4f6f9;font-synthesis:none;font-size:15px;--blue:#183d80;--line:#e0e6ef}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:inherit}header{height:84px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1120px)/2));gap:20px}.brand{display:flex;align-items:center;gap:22px;text-decoration:none}.brand img{width:156px;height:auto}.brand span{border-left:1px solid var(--line);padding-left:22px;font-size:14px;font-weight:600}.badge{font-size:11px;letter-spacing:.06em;border:1px solid #dce3ef;padding:7px 12px;border-radius:30px;color:#526780;white-space:nowrap}main{max-width:1120px;margin:0 auto;padding:42px 24px 56px}.intro .eyebrow{font-size:10px;font-weight:700;letter-spacing:.22em;color:#657fa4;margin:0 0 12px}h1{font-size:34px;letter-spacing:.015em;font-weight:650;margin:0 0 10px}h2{font-size:18px;margin:0;font-weight:650}.intro>p:last-child{color:#718096;font-size:14px;margin:0 0 28px}.mobile{display:none}nav{display:flex;border-bottom:1px solid #dce3ed;margin:0 0 28px;gap:30px}nav button{background:none;border:0;padding:14px 4px;color:#8190a5;font-weight:600;border-bottom:3px solid transparent}nav button[aria-selected=true]{color:var(--blue);border-bottom-color:var(--blue)}#history-count{display:inline-block;margin-left:6px;font-size:11px;padding:3px 7px;background:#e5ebf4;border-radius:12px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;align-items:start}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:0 4px 22px #233c5a03}.card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:8px}.card-head span{font-size:12px;color:#8591a3}label{display:block;font-weight:600;font-size:13px;margin:22px 0 9px}label small{font-size:10px;color:#8593a5;background:#f2f5f9;padding:3px 6px;border-radius:4px;margin-left:7px;font-weight:400}input,textarea{font-size:16px;border:1px solid #d9e1ed;border-radius:9px;background:white;color:#192b47;width:100%;padding:13px 14px;outline:none;min-width:0}input:focus,textarea:focus{border-color:#466b9f;box-shadow:0 0 0 3px #315d9a10}input::placeholder,textarea::placeholder{color:#a1aab7}textarea{resize:vertical;line-height:1.65}.suffix-field,.amount-field{display:flex;align-items:center;border:1px solid #d9e1ed;border-radius:9px;padding-right:14px;background:white}.suffix-field:focus-within,.amount-field:focus-within{border-color:#466b9f;box-shadow:0 0 0 3px #315d9a10}.suffix-field input,.amount-field input{border:0;box-shadow:none;background:transparent}.suffix-field>span{font-size:14px;color:#5e718b}.amount-field{padding-left:15px;color:#69809b}.amount-field input{font-size:30px;font-weight:650;letter-spacing:.02em;text-align:right;padding:14px 10px}.amount-field>span:last-child{font-size:13px}.hint{font-size:11px;line-height:1.7;color:#8a96a8;margin:8px 0 0}.tax-line{display:flex;justify-content:space-between;font-size:11px;color:#8b97a9;margin-top:12px}.tax-line strong{font-weight:500;color:#5b6b82;margin-left:7px}.label-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.text-button{background:none;border:0;color:#41648f;font-size:12px;padding:8px 0;cursor:pointer;text-decoration:none}.label-row .text-button{font-size:10px}.primary{display:flex;align-items:center;justify-content:center;gap:20px;background:var(--blue);border:0;color:white;border-radius:10px;min-height:52px;padding:14px 18px;font-size:14px;font-weight:600;letter-spacing:.03em;text-decoration:none;width:100%}.primary:hover{background:#244c8f}.primary span{font-size:20px;font-weight:400}#save{margin-top:26px}.save-note{font-size:10px;text-align:center;color:#8b97a8;margin:11px 0 0}.preview-heading{display:flex;justify-content:space-between;align-items:center;margin:8px 0 16px}.preview-heading h2{font-size:13px;color:#4f627e}.preview-heading>span{font-size:10px;color:#929eaf}.paper{background:#fff;border-top:6px solid var(--blue);box-shadow:0 12px 28px #1a3a6010;padding:22px 20px 32px;color:#17365f;min-width:0;font-size:8px;aspect-ratio:210/148}.paper-top{display:flex;align-items:center;position:relative;height:40px}.paper-top img{width:26%;height:auto}.paper-top>div{position:absolute;left:40%;font-size:19px;letter-spacing:.14em}.paper-top small{font-size:5px;letter-spacing:.3em;display:block;text-align:center;margin-top:7px}.paper-date{text-align:right;font-size:7px;margin:2px 0 24px}.paper-name{display:flex;justify-content:space-between;gap:8px;min-height:24px;align-items:end;padding-bottom:8px;border-bottom:1px solid #8598ba;font-size:10px}.paper-name>span:first-child{overflow-wrap:anywhere}.paper-amount{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid var(--blue);padding:16px 3px 12px;gap:8px}.paper-amount>span{font-size:7px;white-space:nowrap}.paper-amount strong{font-size:25px;letter-spacing:.04em;overflow-wrap:anywhere;min-width:0}.paper-description{font-size:8px;margin:15px 0 6px;display:flex;gap:10px;overflow-wrap:anywhere}.paper>small{font-size:6px;padding-left:24px}.paper-footer{display:grid;grid-template-columns:1.1fr 1fr .3fr;gap:18px;border-top:1px solid #8598ba;margin-top:17px;padding-top:14px;font-size:6px}.paper-footer p{margin:6px 0}.paper-footer p span{float:right;margin-left:4px}.paper-footer .issuer{font-size:16px;font-weight:500;white-space:nowrap}.stamp{border:1px dashed #7891bb;align-self:start;display:flex;align-items:center;justify-content:center;text-align:center;width:44px;height:67px;font-size:6px;line-height:1.8}.preview-note{font-size:11px;color:#8997aa;line-height:1.9;margin:18px 0 30px}.storage-note{border-top:1px solid var(--line);padding-top:21px;font-size:11px;color:#8a97a9;line-height:1.8}.storage-note b{font-weight:600;color:#5d718e}.storage-note p{margin-bottom:0}.history-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.history-heading p{font-size:12px;color:#8191a7}.secondary{border:1px solid #d6dfeb;background:#fff;color:#315580;padding:11px 15px;min-height:44px;border-radius:8px;font-size:12px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.history-item{background:white;border:1px solid var(--line);border-radius:12px;padding:18px 20px;margin-top:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.history-item small{font-size:10px;color:#929eae}.history-item h3{font-size:15px;margin:7px 0;overflow-wrap:anywhere}.history-item p{font-size:11px;color:#71849e;margin:0;overflow-wrap:anywhere}.history-item .right{text-align:right}.history-item strong{display:block;font-size:19px;margin-bottom:10px}.empty{text-align:center;padding:70px 16px;background:white;border:1px dashed #d5dfeb;border-radius:14px;margin-top:18px;color:#8190a4;line-height:2;font-size:13px}.restore{margin-top:35px;font-size:10px;color:#8c99aa}.restore label{display:inline-block;margin:0}#more{margin-top:18px;width:100%}.error{color:#a93c3c;background:#fff2f2;border-radius:8px;padding:12px;font-size:12px;margin:16px 0;line-height:1.6}footer{border-top:1px solid var(--line);max-width:1072px;margin:0 auto;padding:24px;color:#8190a6;font-size:16px}footer>span{font-size:8px;letter-spacing:.2em;margin-left:12px}dialog{border:1px solid #e3e9f1;border-radius:22px;width:min(420px,calc(100% - 28px));padding:32px 26px;color:#192b47;text-align:center;max-height:90dvh;overflow:auto;box-shadow:0 20px 80px #142a4940}dialog::backdrop{background:#14243a70;backdrop-filter:blur(3px)}.close{position:absolute;right:14px;top:10px;border:0;background:none;font-size:28px;color:#8391a4;width:36px;height:36px}.success-icon{display:grid;place-items:center;border-radius:50%;background:#ecf3ef;color:#33734e;width:48px;height:48px;margin:0 auto 16px;font-size:24px}#result-name{font-size:14px;overflow-wrap:anywhere}#result-amount{font-size:32px;color:var(--blue)}.pdf-meta{font-size:10px;color:#8a97a9;margin:12px 0 24px}#pdf-status{font-size:12px;color:#75849b;line-height:1.8;margin-bottom:16px}#result-actions .secondary{width:calc(50% - 4px);margin-top:10px}#next-receipt{margin-top:18px}#toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#17334e;color:#fff;border-radius:10px;padding:12px 18px;font-size:12px;max-width:90%;z-index:10}button:focus-visible,a:focus-visible{outline:3px solid #83a9e0;outline-offset:3px}[hidden]{display:none!important}@media(max-width:760px){header{height:70px;padding:0 20px}.brand{gap:14px}.brand img{width:124px}.brand span{padding-left:14px;font-size:12px}.badge{font-size:9px;padding:6px 8px}main{padding:28px 18px 32px}.intro .eyebrow{font-size:9px}h1{font-size:28px;line-height:1.45}.intro>p:last-child{font-size:12px;margin-bottom:16px}nav{margin-bottom:20px}nav button{font-size:13px;padding:12px 2px}.workspace{grid-template-columns:1fr;gap:28px}.card{padding:23px 20px;border-radius:14px}.card-head{margin-bottom:23px}.card-head h2{font-size:16px}.card-head span{font-size:10px}.preview-area{max-width:500px;width:100%;margin:auto}.paper{padding:18px 15px 26px}.paper-top>div{font-size:17px}.paper-amount strong{font-size:23px}.paper-footer{gap:10px}.paper-footer .issuer{font-size:14px}.paper-footer p{font-size:5px}.stamp{width:36px;height:58px}.history-heading h2{font-size:17px}.history-heading .secondary{font-size:10px;padding:10px}.history-item{padding:15px}.history-item strong{font-size:17px}.history-item h3{font-size:14px}.history-item .secondary{font-size:11px;padding:9px 12px}.preview-note{margin-bottom:20px}footer{margin:0 18px;padding-bottom:calc(24px + env(safe-area-inset-bottom))}.tax-line{font-size:10px}}
.history-heading{flex-wrap:wrap;gap:10px}.history-heading>div{flex:1;min-width:180px}#history-status{font-size:13px;color:#718098;margin:12px 0}#local-import{margin:16px 0}.history-item>div:first-child{min-width:0}.history-item p,.history-item small{overflow-wrap:anywhere}

#print-mode{font:inherit;font-size:16px;width:100%;padding:12px 8px;border:1px solid #d6dfeb;border-radius:8px;background:white;color:#192b47;margin-bottom:6px}.print-label{text-align:left;margin:0 0 8px}.print-guide{text-align:left;font-size:12px;line-height:1.7;color:#526780;background:#f2f5fa;border-radius:8px;padding:12px;margin:8px 0 18px}
