.backend-note{color:#b4c4e7;font-size:.85rem;line-height:1.6}.account-link{white-space:nowrap}.account-dialog{width:min(920px,94vw);max-height:90dvh;overflow:auto;background:#101b30;color:#e6edff;border:1px solid #395780;border-radius:18px;padding:24px}.account-dialog::backdrop{background:#050b17c9}.account-dialog input,.account-dialog select,.account-dialog textarea,.admin-shell input,.admin-shell select,.admin-shell textarea{background:#101a2d;color:#edf3ff;border:1px solid #405675;border-radius:8px;padding:10px;max-width:100%;font:inherit}.account-dialog form{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.account-card{padding:16px;border:1px solid #344764;border-radius:12px;margin:12px 0}.account-card small{display:block;overflow-wrap:anywhere}.part-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:10px 0}.part-row progress{width:140px}.legal-footer{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;padding:28px}.legal-footer a{color:#9ac1ff}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.admin-shell,.legal-page{max-width:1100px;margin:30px auto;padding:20px;color:#dde7fa}.admin-shell h2,.legal-page h1{font-size:1.6rem}.admin-shell form{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.admin-shell label{display:flex;flex-direction:column;gap:6px}.admin-shell section{padding:22px 0;border-bottom:1px solid #344764}.admin-shell table{width:100%;border-collapse:collapse;font-size:.85rem}.admin-shell th,.admin-shell td{padding:10px;text-align:left;border-bottom:1px solid #344764;overflow-wrap:anywhere}.table-scroll{overflow-x:auto}.admin-status{white-space:pre-wrap;color:#ffc98a}.legal-page p,.legal-page li{line-height:1.8}.legal-page a{color:#9ac1ff}#orderQuote{line-height:1.6}#orderChallenge{margin:12px 0}#placeOrder{margin-bottom:12px}#ttsQuote{flex:1}#topupChallenge{width:100%}@media(max-width:650px){.account-dialog{padding:14px}.admin-shell{margin:10px auto;padding:12px}.account-link{font-size:.8rem}.part-row{align-items:flex-start;flex-direction:column}}
/* The existing Google/balance button also opens the account panel. */
#openAccount{display:none!important}
.account-dialog button,.admin-shell button{background:#203b5c;color:#e4efff;border:1px solid #456588;border-radius:8px;padding:10px 16px;min-height:40px}.account-dialog button:hover,.admin-shell button:hover{background:#2b4d75}.account-dialog .primary,.admin-shell .primary{background:#397fc3;border-color:#599ce2}.admin-shell input[type=checkbox],.account-dialog input[type=checkbox]{width:20px;height:20px}.admin-shell h1{font-size:2rem}.admin-shell textarea{min-height:80px}

.tts-order-details{min-width:0;width:100%}.tts-order-details>p:empty{display:none}#normalizedCount{font-size:.85rem;color:#9dccff}.price-calculator{grid-column:1/-1;width:100%;min-width:0;background:#121f31;border:1px solid #2f4763;border-radius:12px;padding:20px}.price-calculator>p{font-size:.85rem;color:#b4c4e7}.price-tier{padding:14px 0;border-top:1px solid #2f4763;display:grid;gap:10px}.price-tier label{font-weight:700}.price-tier input[type=range]{width:100%;margin:0;accent-color:#78b6f5;min-height:32px}.price-tier output{font-size:.9rem;line-height:1.6}.price-tier small{color:#a0b4ce}#ttsQuote{min-height:48px}
@media(max-width:1000px){#tts .tts-order-details{order:5;display:block;position:static;margin:0;padding:0;min-height:0}#tts .tts-order-details .backend-note{position:static;margin:8px 0}#tts .price-calculator{order:7;padding:14px}#tts .tts-order-details #ttsStatus{margin:8px 0}#orderChallenge:empty{display:none}}

#orderQuote pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:9em;overflow:auto;background:#091629;padding:12px;border-radius:8px}#orderQuote:not(:empty){border:1px solid #426787;padding:16px;border-radius:12px}.vietqr-image{display:block;width:min(320px,100%);height:auto;aspect-ratio:1;background:white;padding:8px;box-sizing:border-box}#topupQr p{overflow-wrap:anywhere}#topupQr button{margin:4px}#users input{width:85px}#users textarea{min-width:160px;min-height:60px}

/* v6b login dialog */
.login-dialog{text-align:center;padding:34px 30px 26px;max-width:400px;position:relative}
.login-dialog .login-logo{font-size:30px;margin-bottom:6px}
.login-dialog h2{font-size:21px;margin:12px 0 8px}
.login-dialog .login-lead{color:var(--muted);margin:0 auto 22px;line-height:1.55;max-width:330px}
#googleButton{display:flex;justify-content:center;align-items:center;min-height:46px;color-scheme:light}
#googleButton p{color-scheme:dark;color:#ffb4a8;margin:0}
.login-dialog .login-legal{font-size:12.5px;color:var(--muted);margin:20px 0 0;line-height:1.5}
.login-dialog .login-legal a{color:var(--green)}
.login-dialog form.login-close{position:absolute;top:12px;right:12px;margin:0}
.login-close button{background:transparent;border:0;color:var(--muted);font-size:17px;width:36px;height:36px;border-radius:9px;cursor:pointer;padding:0}
.login-close button:hover{background:#ffffff14;color:var(--ink)}
.login-close button:focus:not(:focus-visible){outline:none;box-shadow:none}
.login-close button:focus-visible{outline:2px solid var(--green);outline-offset:1px}
