:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#243c34;background:#f6f8f6;font-size:15px;--green:#087968;--muted:#7e8d85;--border:#e1e8e2}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--green);text-decoration:none}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #86c4af;outline-offset:3px}input,textarea,select{width:100%;border:1px solid #d8e2da;background:white;color:#294638;border-radius:10px;padding:14px;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--green);box-shadow:0 0 0 3px #0b766814}input[type=checkbox]{width:18px;height:18px;accent-color:var(--green);flex-shrink:0;margin:1px 0 0}textarea{resize:vertical;line-height:1.65;min-height:135px}h1,h2,h3,p{margin-top:0}h1{font-size:34px;letter-spacing:-1.2px;font-weight:650;margin-bottom:12px}h2{font-size:20px;letter-spacing:-.5px;font-weight:600}h3{font-size:15px}p{color:var(--muted);line-height:1.65}small{font-size:12px}.brand{display:inline-flex;align-items:center;gap:9px;font-size:23px;font-weight:750;letter-spacing:-.7px;color:#1d4035}.brand img{width:32px;height:32px}.header{height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1120px;margin:auto;padding:0 30px}.header-wrap{background:white;border-bottom:1px solid var(--border)}nav{display:flex;gap:7px;align-items:center}nav a{font-size:13px;color:#7b8c80;padding:10px 13px;border-radius:7px}nav a.active{background:#eaf3eb;color:var(--green);font-weight:600}.header-right{display:flex;align-items:center;gap:15px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d7e1d9;border-radius:9px;padding:12px 19px;min-height:43px;background:#fff;color:#46624f;font-size:13px;font-weight:600}.button:hover{background:#f1f7f1}.button.primary{background:var(--green);color:white;border-color:var(--green)}.button.primary:hover{background:#096757}.button.small{font-size:12px;min-height:34px;padding:8px 12px}.button.text{background:transparent;border-color:transparent;color:#708572;padding:8px}.button.danger{color:#a54536;border-color:#ecd6d0}.main{max-width:1120px;margin:0 auto;padding:37px 30px}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 27px}.heading p{font-size:14px;margin:0}.wallet{display:flex;align-items:center;justify-content:space-between;gap:25px;background:#e9f2e7;border:1px solid #dce8d8;border-radius:13px;padding:22px 25px;margin-bottom:27px}.wallet-label{font-size:12px;color:#71866b;display:block;margin-bottom:7px}.wallet strong{font-size:24px;font-weight:650;color:#385933;letter-spacing:-.6px}.wallet p{margin:5px 0 0;font-size:12px;color:#7f9477}.wallet-right{display:flex;align-items:center;gap:20px}.wallet-right small{color:#7c9172}.send-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:26px;align-items:start}.card{border:1px solid var(--border);border-radius:13px;background:#fff;overflow:hidden}.form-part{padding:27px 29px;border-bottom:1px solid #e9eee8}.form-part:last-child{border-bottom:0}.label-row{display:flex;align-items:center;gap:11px;margin-bottom:9px}.step{width:25px;height:25px;background:#eef5eb;color:#82a275;border-radius:7px;font-size:11px;display:grid;place-items:center;font-weight:650;flex-shrink:0}.label-row label{font-size:15px;font-weight:650;color:#405e3f}.hint{font-size:12px;color:#8b9a85;margin:0 0 16px;line-height:1.6}.field{margin-bottom:19px}.field label{display:block;margin-bottom:9px;font-size:13px;font-weight:550}.field:last-child{margin-bottom:0}.counter-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;font-size:11px;color:#8f9c88}.upload{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:#73936c;font-size:12px;cursor:pointer;margin-bottom:12px}.upload input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.check{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.65;color:#85917d}.form-actions{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:24px}.form-actions small{max-width:220px;font-size:11px;color:#a2ab9b;line-height:1.5}.preview-card{border:1px solid #e0e8dc;background:#edf3e9;border-radius:13px;padding:25px;text-align:center}.preview-label{font-size:10px;font-weight:650;letter-spacing:1.4px;color:#90a285;margin:0 0 22px}.phone{width:232px;max-width:100%;min-height:365px;background:#f7f9f4;border:5px solid #fff;border-radius:29px;margin:0 auto;box-shadow:0 6px 18px #2e442b0a;overflow:hidden}.notch{width:65px;height:10px;border-radius:9px;background:#dfe7d9;margin:10px auto 17px}.sender-avatar{background:#dfeadb;color:#7f9b70;border-radius:50%;height:32px;width:32px;display:grid;place-items:center;margin:0 auto 6px;font-size:17px}.phone-sender{font-size:11px;color:#72866a;border-bottom:1px solid #e3eadd;padding:0 8px 14px;overflow-wrap:anywhere}.phone-time{font-size:8px;color:#a5b09b;margin:17px 0}.bubble{margin:0 15px 20px;padding:12px;background:#e3eedc;text-align:left;border-radius:12px 12px 12px 3px;color:#647e54;font-size:11px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto}.preview-card>p:last-child{max-width:225px;margin:20px auto 0;font-size:11px;color:#94a28b;line-height:1.7}.tip{padding:20px 5px;display:flex;gap:10px;color:#92a087;font-size:12px;line-height:1.7}.tip strong{display:block;color:#78906b;margin-bottom:5px;font-size:12px}.tip-symbol{font-size:20px;color:#a1b196}.footer{margin:35px 0 0;border-top:1px solid var(--border);padding-top:20px;display:flex;justify-content:space-between;gap:15px;font-size:11px;color:#a4afa0}.text-center{text-align:center}.empty{padding:55px 25px;text-align:center}.empty p{font-size:13px;max-width:350px;margin:10px auto 20px}.empty-icon{background:#edf5e8;border-radius:15px;display:grid;place-items:center;height:52px;width:52px;margin:0 auto 20px;color:#80a273;font-size:23px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;font-weight:650;color:#9aa792;letter-spacing:.7px;text-transform:uppercase;background:#fafcf8;padding:14px 22px;border-bottom:1px solid var(--border)}td{padding:20px 22px;border-bottom:1px solid #edf1e8;font-size:12px;color:#819175}td strong{display:block;color:#45613a;font-size:13px;font-weight:550;max-width:270px;overflow:hidden;text-overflow:ellipsis;margin-bottom:6px}tr:last-child td{border-bottom:0}.badge{display:inline-flex;font-size:10px;font-weight:600;padding:5px 8px;border-radius:6px;background:#eef1eb;color:#89947e}.badge.green{background:#e8f4e5;color:#6e955b}.badge.amber{background:#fbf0d9;color:#ab8c4b}.badge.red{background:#fbeae5;color:#b5745e}.card-head{padding:23px 25px;display:flex;align-items:center;justify-content:space-between;gap:15px}.card-head h2{margin:0;font-size:17px}.card-body{padding:25px}.summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:24px}.stat{background:white;border:1px solid var(--border);border-radius:11px;padding:20px}.stat small{color:#90a080}.stat strong{display:block;font-size:27px;font-weight:600;margin-top:10px;color:#426536}.note{background:#f4f7ef;padding:14px;border-radius:8px;font-size:12px;color:#869571;line-height:1.7;margin:16px 0}.note.warning{background:#fcf6e8;color:#a18f63}.body-text{white-space:pre-wrap;overflow-wrap:anywhere;color:#6f845f;font-size:14px;line-height:1.75}.packs{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:23px 0}.pack{border:1px solid var(--border);border-radius:11px;padding:22px;background:white;text-align:center}.pack strong{display:block;font-size:29px;letter-spacing:-1px;color:#446a36}.pack small{display:block;color:#97a88b;margin:9px 0 19px}.pack .price{font-size:21px;display:block;margin-bottom:17px;color:#6e865e}.pack button{width:100%}.admin-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:25px;align-items:start}.topup-item{padding:20px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:16px}.topup-item strong{display:block;font-size:12px;margin-bottom:8px}.topup-item small{display:block;color:#8e9f81;line-height:1.7}.auth{min-height:100vh;display:grid;place-items:center;padding:40px 20px;background:#f1f5ee}.auth-panel{width:390px;max-width:100%;background:#fff;border:1px solid var(--border);border-radius:17px;padding:36px}.auth .brand{margin-bottom:34px}.auth h1{font-size:28px}.auth p{font-size:13px;margin-bottom:25px}.auth .button.primary{width:100%;margin-top:4px}.auth-switch{margin:22px 0 0!important;font-size:12px!important;text-align:center}.auth-foot{font-size:11px;text-align:center;margin-top:24px;color:#a4b099}.error{color:#a65c48;background:#fdf0ec;border:1px solid #f1d8cf;border-radius:8px;padding:13px;margin-top:15px;font-size:12px;line-height:1.6}.loading{padding:70px;text-align:center;color:#83a176}dialog{width:min(490px,calc(100% - 28px));padding:27px;border:1px solid var(--border);border-radius:15px;box-shadow:0 30px 100px #2d4b2d25;color:inherit;max-height:90vh}dialog::backdrop{background:#243d344b;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.dialog-head h2{font-size:21px;margin:0}.close{background:none;border:0;font-size:23px;color:#9dab95;padding:0 6px}.dialog-row{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--border);font-size:12px;color:#8da17d}.dialog-row strong{color:#5c7c48;text-align:right}.dialog-message{white-space:pre-wrap;background:#f1f6eb;overflow-wrap:anywhere;border-radius:10px;padding:17px;font-size:13px;line-height:1.8;color:#769264;margin:22px 0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#34573f;color:white;padding:13px 20px;border-radius:10px;box-shadow:0 8px 24px #2d422c25;font-size:12px;max-width:calc(100% - 30px);z-index:100;display:none}#toast.visible{display:block}.hidden{display:none!important}.link-button{color:var(--green);background:none;border:0;padding:0;cursor:pointer;font:inherit}.spread{display:flex;gap:12px;align-items:center;justify-content:space-between}.muted{color:var(--muted)}.details{white-space:normal;max-width:260px;font-size:11px;line-height:1.6;margin-top:9px}.details summary{cursor:pointer;color:#8b9f7a}.details p{margin:10px 0}.spacer{height:20px}
dialog .packs{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:850px){.header{gap:15px}.header-right{gap:5px}.header-right .button.text{font-size:11px}.send-grid{grid-template-columns:1fr}.send-aside{display:none}.main{max-width:750px}.packs{grid-template-columns:repeat(2,1fr)}.admin-grid{grid-template-columns:1fr}.wallet-right small{display:none}.header{padding:0 24px}nav a{padding:10px}.summary{gap:10px}}
@media(max-width:600px){.header{height:71px;padding:0 18px;flex-wrap:wrap;gap:0}.brand{font-size:21px}.brand img{width:28px;height:28px}.header nav{position:fixed;bottom:0;left:0;right:0;justify-content:center;border-top:1px solid var(--border);background:white;padding:10px 6px;z-index:20;gap:5px;height:63px}.header nav a{flex:1;text-align:center;font-size:11px;padding:13px 8px}.header-right{margin-left:auto}.header-right .button.text{font-size:10px;padding:6px}.main{padding:26px 17px 82px}h1{font-size:29px;letter-spacing:-1px}.heading{margin-bottom:23px}.heading p{font-size:12px}.wallet{padding:19px;gap:12px;margin-bottom:22px}.wallet strong{font-size:21px}.wallet p{font-size:10px;max-width:165px}.wallet-label{font-size:10px}.wallet .button{font-size:11px;padding:10px 15px;white-space:nowrap}.form-part{padding:23px 20px}.label-row label{font-size:14px}.hint{font-size:11px}.form-actions{flex-direction:column;align-items:stretch;gap:13px}.form-actions .button{width:100%;min-height:46px}.form-actions small{text-align:center;max-width:none}.counter-row{font-size:10px}.check{font-size:11px}.footer{font-size:9px;gap:15px;margin-top:28px}.packs{gap:10px}.pack{padding:19px 13px}.pack strong{font-size:26px}.pack small{font-size:11px}.pack .price{font-size:19px}.summary{grid-template-columns:repeat(3,1fr);gap:9px}.stat{padding:16px 12px}.stat small{font-size:10px}.stat strong{font-size:24px}.card-head,.card-body{padding:20px}.card-head h2{font-size:15px}.auth-panel{padding:29px 24px}.auth{padding:20px 17px}.dialog-actions .button{font-size:12px;padding:11px 14px}dialog{padding:23px 20px}.dialog-row{font-size:11px}#toast{bottom:79px}.topup-item{padding:17px}.topup-item strong{font-size:11px}.topup-item small{font-size:10px}.heading .button{font-size:11px}}
/* Inline crypto checkout stays on TextFast. */
.crypto-qr{display:block;width:180px;height:180px;margin:18px auto;border-radius:8px}.crypto-methods{display:grid;gap:10px}.payment-state{padding:12px;border-radius:10px;background:#e7f3e6;font-weight:700;text-align:center}dialog input[readonly]{font-family:monospace;font-size:13px;min-width:0;width:100%}
