*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans JP,sans-serif}button,input,select{font:inherit}.app{justify-content:center;min-height:100vh;padding:60px 20px;display:flex}.hero{text-align:center;width:100%;max-width:480px}.logo{margin-bottom:60px;font-size:24px;font-weight:700}h1{margin-bottom:24px;font-size:32px;line-height:1.5}.description{margin-bottom:40px;line-height:1.8}.start-button{cursor:pointer;border:0;border-radius:12px;width:100%;padding:18px;font-size:16px;font-weight:700}.note{margin-top:24px;font-size:13px;line-height:1.8}.back-button{cursor:pointer;background:0 0;border:0;margin-bottom:40px;padding:0;display:block}.form-label{text-align:left;margin-bottom:32px;font-weight:700;display:block}.form-input{border:1px solid #ddd;border-radius:10px;width:100%;margin-top:10px;padding:16px}.create-screen{text-align:left}.create-screen .logo,.create-screen h1{text-align:center}.form-title{margin-bottom:10px;font-weight:700}.members{margin-bottom:32px}.member-row{align-items:center;gap:8px;margin-bottom:10px;display:flex}.member-input{margin-top:0}.remove-button{cursor:pointer;background:0 0;border:0;flex:0 0 42px;width:42px;height:42px;font-size:24px}.add-member-button{cursor:pointer;background:0 0;border:0;padding:8px 0;font-weight:700}.group-screen{text-align:left}.group-header{text-align:center;margin-bottom:40px}.group-header .logo{margin-bottom:20px}.group-header h1{margin:0}.balance-section,.history-section{margin-bottom:32px}.balance-section h2,.history-section h2{margin-bottom:16px;font-size:16px}.balance-list{border:1px solid #eee;border-radius:12px;overflow:hidden}.balance-row{border-bottom:1px solid #eee;justify-content:space-between;padding:16px;display:flex}.balance-row:last-child{border-bottom:0}.action-buttons{gap:12px;margin-bottom:40px;display:grid}.settlement-button,.final-button{cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:12px;width:100%;padding:16px;font-weight:700}.empty-history{text-align:center;border:1px solid #eee;border-radius:12px;padding:32px 16px}.empty-history p{margin:0 0 8px;font-weight:700}.empty-history span{font-size:13px}.amount-input{align-items:center;gap:10px;display:flex}.amount-input .form-input{flex:1}.participants{margin-bottom:32px}.check-row{cursor:pointer;border-bottom:1px solid #eee;align-items:center;gap:12px;padding:12px 0;display:flex}.check-row input{width:20px;height:20px}.history-list{border:1px solid #eee;border-radius:12px;overflow:hidden}.history-row{border-bottom:1px solid #eee;justify-content:space-between;gap:16px;padding:16px;display:flex}.history-row:last-child{border-bottom:0}.history-row>div{gap:4px;display:grid}.history-row span{font-size:12px}.history-row>.history-actions{flex-direction:column;flex-shrink:0;align-items:flex-end;display:flex}.settlement-arrow{text-align:center;margin:-12px 0 12px;font-size:24px}.final-screen{text-align:left}.final-screen>.logo,.final-screen>h1,.final-screen>h2{text-align:center}.final-screen>.logo{margin-bottom:20px}.final-screen>h1{margin-bottom:8px}.final-screen>h2{margin-bottom:32px;font-size:18px}.final-list{gap:16px;display:grid}.final-row{border:1px solid #eee;border-radius:12px;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:20px 16px;display:grid}.final-row>strong:last-child{text-align:right}.final-transfer{align-items:center;gap:8px;display:flex}.final-transfer span:first-child{font-weight:700}.transfer-arrow{font-size:20px}.settled-message{text-align:center;border:1px solid #eee;border-radius:12px;padding:32px 16px}.settled-message p{margin:8px 0 0;font-size:13px}.share-button{width:100%;font:inherit;cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:12px;margin-top:24px;padding:14px 16px}.history-actions{flex-direction:column;flex-shrink:0;align-items:flex-end;display:flex}.history-action-buttons{flex-flow:row;justify-content:flex-end;align-items:center;display:flex}.history-edit-button,.history-delete-button{min-height:44px;font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0 6px;font-size:.8rem;display:inline-flex}.history-edit-button{color:#666}.history-delete-button{color:#c65b5b}.history-edit-button:hover,.history-delete-button:hover{text-decoration:underline}
