:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#111312;background:#fcfdfd;font-synthesis:none;--muted:#747674;--line:#e1e3e3;--green:#347f58;--red:#ad5960}*{box-sizing:border-box}body{margin:0}button,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #85bda3;outline-offset:4px}button{border:0;background:none}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.shell{max-width:620px;margin:auto;padding:0 24px}header{height:108px;display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;background:#fcfdfdf5;z-index:2}#page-title{font-size:18px;font-weight:600}.edit-button{font-size:14px;color:var(--muted);border:1px solid var(--line);padding:9px 14px;border-radius:30px}.icon-button{padding:6px;margin-left:-8px}.icon-button svg{width:28px;height:28px}h1,h2{font-size:22px;letter-spacing:-.5px;line-height:1.25;margin:0;font-weight:600}h1{margin:26px 0}.recent-card{border:1px solid #d2d5d4;border-radius:28px;padding:28px}.card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.card-date{font-size:20px;font-weight:600}.status{color:var(--green);font-size:17px;white-space:nowrap}.status.failed{color:var(--red)}.status.pending,.status.unknown{color:#866d39}.badge{background:#e0f0e8;border-radius:30px;padding:9px 13px;font-weight:600;font-size:15px}.badge.failed{background:#f8e6e8}.badge.pending,.badge.unknown{background:#f2eddf}.money{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:600;letter-spacing:-.6px}.large-money{font-size:34px;margin:24px 0 27px;overflow-wrap:anywhere}.meta-row{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:24px 0;font-size:17px}.meta-row:last-child{padding-bottom:0}.meta-row span:last-child{text-align:right;overflow-wrap:anywhere;min-width:0}.meta-row strong{font-weight:600;flex-shrink:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:38px 0 7px}.select-wrap{display:flex;align-items:center;position:relative;background:#f0f1f2;border-radius:30px;flex-shrink:0}.select-wrap select{appearance:none;border:0;background:transparent;padding:12px 34px 12px 18px;font-size:16px;font-weight:600;color:inherit;cursor:pointer;border-radius:30px}.select-wrap svg{position:absolute;right:12px;width:16px;pointer-events:none}.payment-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:18px;padding:28px 0;border-bottom:1px solid var(--line);width:100%;text-align:left}.payment-row:hover{background:#f4f7f5}.payment-row svg{width:27px;height:27px}.row-date,.row-amount{font-size:20px;font-weight:600;line-height:1.35}.row-method{font-size:17px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.row-right{text-align:right}.row-right .status{display:block;margin-top:5px}.empty{padding:40px 0;color:var(--muted);line-height:1.6}footer{display:flex;justify-content:space-between;padding:28px 0 36px;font-size:13px;color:var(--muted)}footer button{text-decoration:underline;font-size:13px;padding:0}dialog{border:1px solid var(--line);border-radius:24px;max-width:720px;width:calc(100% - 32px);padding:28px;color:inherit;background:#fcfdfd;max-height:90dvh;overflow:auto}dialog::backdrop{background:#10251e66;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.close{font-size:30px;line-height:1;padding:6px}dialog p{font-size:14px;line-height:1.7;color:#656b68}label[for=json]{display:block;font-size:14px;margin:18px 0 8px}textarea{width:100%;min-height:310px;resize:vertical;border:1px solid #cbd6d0;border-radius:12px;padding:16px;background:#f5f8f6;font:13px/1.6 ui-monospace,monospace;tab-size:2}.editor-tools,.editor-actions{display:flex;gap:12px;justify-content:space-between}.editor-tools{justify-content:flex-start}.editor-tools button,.editor-actions button{padding:10px 14px;border:1px solid var(--line);border-radius:10px;font-size:14px}.primary{background:#245c40;color:white;border-color:#245c40!important}.hint{font-size:13px}summary{font-size:14px;cursor:pointer}#error{color:#a63f45;white-space:pre-wrap}#detail-content{overflow-wrap:anywhere}#detail-content .meta-row{font-size:14px}#detail-content .meta-row strong{flex-shrink:1}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#203e30;color:white;border-radius:12px;padding:12px 20px;font-size:14px;z-index:5;display:none;max-width:90%;text-align:center}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}body.history #overview{display:none}body.history .section-heading{margin-top:12px}body.history #history{display:none}@media(min-width:900px){.shell{padding:0 44px;border-left:1px solid #eef0ee;border-right:1px solid #eef0ee;min-height:100vh}header{height:112px}h1{margin-top:22px}}@media(max-width:380px){.shell{padding:0 18px}.payment-row{gap:10px;grid-template-columns:24px minmax(0,1fr) auto}.row-date,.row-amount{font-size:17px}.row-method,.status{font-size:15px}h1,h2{font-size:20px}.select-wrap select{font-size:14px;padding-left:12px}.recent-card{padding:22px}.card-date{font-size:18px}.badge{font-size:13px}.large-money{font-size:30px}.meta-row{font-size:15px}}@media(prefers-reduced-motion:no-preference){dialog[open]{animation:appear .15s ease-out}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
