:root{color-scheme:light;--sms-text:#18334e;--sms-muted:#61768b;--sms-blue:#195889;--sms-border:#d7e2ec}*{box-sizing:border-box}.sms-page{margin:0;background:#f0f5f9;color:var(--sms-text);font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}.sms-shell{max-width:520px;margin:64px auto;padding:38px 36px;background:#fff;border:1px solid var(--sms-border);border-radius:18px;box-shadow:0 12px 36px #17345108}.sms-eyebrow{font-size:13px;letter-spacing:.06em;color:var(--sms-muted);margin:0 0 8px}.sms-shell h1{font-size:30px;line-height:1.3;margin:0 0 14px}.sms-intro{color:var(--sms-muted);margin:0 0 26px;font-size:15px}.sms-field{display:block;font-weight:600;margin:18px 0 6px}.sms-shell input:not([type=checkbox]){width:100%;min-width:0;padding:12px;border:1px solid #b6c9db;border-radius:8px;background:#fff;color:var(--sms-text);font:inherit;min-height:48px}.sms-field input{display:block;margin-top:6px}.sms-shell input:focus-visible,.sms-shell button:focus-visible,.sms-shell a:focus-visible{outline:3px solid #bddcff;outline-offset:2px}.sms-code-row{display:flex;gap:10px}.sms-code-row input{flex:1}.sms-shell button{font:inherit;font-weight:600;border:1px solid var(--sms-blue);border-radius:8px;cursor:pointer;padding:11px 16px;min-height:48px}.sms-secondary{color:var(--sms-blue);background:#eef5fc;white-space:nowrap;flex:none}.sms-primary{background:var(--sms-blue);color:#fff;width:100%}.sms-shell button:disabled{cursor:not-allowed;opacity:.55}.sms-help{color:var(--sms-muted);font-size:12px;margin:7px 0 18px}.sms-check{display:flex;align-items:flex-start;gap:8px;font-size:14px;cursor:pointer}.sms-check input{width:16px;height:16px;margin:5px 0 0;flex:none;accent-color:var(--sms-blue)}.sms-privacy{background:#f5f8fc;border:1px solid var(--sms-border);padding:16px;border-radius:10px;margin:22px 0}.sms-privacy h2{font-size:14px;margin:0}.sms-privacy p{font-size:13px;margin:8px 0 14px;color:var(--sms-muted)}.sms-privacy .sms-check{font-size:13px}.sms-status{margin:14px 0 0;overflow-wrap:anywhere;font-size:14px;white-space:pre-wrap}.sms-status:empty{display:none}.sms-status[data-error=true]{color:#b02c2c}.sms-footer{border-top:1px solid var(--sms-border);margin-top:24px;padding-top:18px;text-align:center;font-size:13px}.sms-footer a{color:var(--sms-muted)}.sms-admin-section{margin:28px 0}.sms-admin-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.sms-admin-header h2{margin:0;font-size:22px}.sms-admin-table-wrap{overflow-x:auto;border:1px solid var(--sms-border);border-radius:10px;margin-top:14px}.sms-admin-section table{border-collapse:collapse;width:100%;min-width:760px}.sms-admin-section th,.sms-admin-section td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--sms-border);font-size:14px;white-space:nowrap}.sms-admin-section th{background:#f3f7fb}.sms-admin-section tr:last-child td{border-bottom:0}.sms-admin-section button{width:auto;min-width:0;font:inherit;font-size:14px;border:1px solid var(--sms-blue);background:var(--sms-blue);color:#fff;border-radius:7px;padding:8px 12px;cursor:pointer}.sms-admin-section button:disabled{opacity:.55;cursor:wait}.sms-admin-actions{display:flex;gap:8px}.sms-admin-history{padding:14px;background:#f6f9fc;white-space:normal}.sms-admin-history ol{padding-left:22px;margin:8px 0}.sms-admin-history li{padding:4px 0}.sms-admin-status{font-size:14px;color:var(--sms-muted)}[hidden]{display:none!important}@media(max-width:560px){.sms-shell{margin:0;border:0;border-radius:0;box-shadow:none;min-height:100vh;padding:36px 22px}.sms-code-row{gap:8px}.sms-secondary{padding-left:12px!important;padding-right:12px!important;font-size:14px!important}.sms-admin-section th,.sms-admin-section td{padding:10px}}

.sms-login-tabs{display:flex;gap:8px;padding:5px;background:#edf3f8;border-radius:12px;margin:24px 0}.sms-login-tabs button{flex:1;min-width:0;padding:13px 8px;border:0;border-radius:9px;background:transparent;color:#526c85;font:inherit;font-weight:600;cursor:pointer}.sms-login-tabs button[aria-selected="true"]{background:#fff;color:#195782;box-shadow:0 2px 6px #12345612}.sms-login-tabs button:focus-visible{outline:2px solid #195782;outline-offset:2px}[hidden]{display:none!important}

#sms-admin-users table{min-width:1280px}#sms-admin-users th,#sms-admin-users td{vertical-align:top}#sms-admin-users td:nth-child(1){min-width:170px}#sms-admin-users td:nth-child(3){white-space:nowrap}#sms-admin-users td:nth-child(5) span{display:block;overflow-wrap:anywhere;margin-top:6px}#sms-admin-users td:nth-child(6){min-width:160px}#sms-admin-users td:nth-child(6) button{margin-top:6px}

/* Compact customer management layout */
body:has(#sms-admin-users) main.admin{box-sizing:border-box;width:calc(100% - 48px);max-width:1600px;margin:28px auto;padding:28px}
#sms-admin-users{margin:20px 0 0;padding:0;min-width:0}
#sms-admin-users .sms-admin-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
#sms-admin-users h2{margin:0;font-size:21px}
#sms-admin-users .sms-admin-status{margin:0 0 14px;font-size:13px;color:#62758b}
#sms-admin-users .sms-admin-table-wrap{overflow:auto;border:1px solid #dce5ef;border-radius:12px}
#sms-admin-users table{width:100%;min-width:1120px;table-layout:fixed;margin:0;border-collapse:collapse}
#sms-admin-users th,#sms-admin-users td{padding:15px 12px;vertical-align:middle;text-align:left;overflow-wrap:anywhere;border-bottom:1px solid #e4ebf3;font-size:14px;box-sizing:border-box}
#sms-admin-users th{background:#f4f7fb;font-size:13px;font-weight:600;white-space:nowrap}
#sms-admin-users th:nth-child(1){width:18%}#sms-admin-users th:nth-child(2){width:8%}#sms-admin-users th:nth-child(3){width:12%}#sms-admin-users th:nth-child(4){width:10%}#sms-admin-users th:nth-child(5){width:10%}#sms-admin-users th:nth-child(6){width:16%}#sms-admin-users th:nth-child(7){width:7%}#sms-admin-users th:nth-child(8){width:19%}
#sms-admin-users td:nth-child(1),#sms-admin-users td:nth-child(6){min-width:0}
#sms-admin-users button{width:auto;min-width:0;padding:9px 11px;margin:0;font-size:13px;line-height:1.4;border-radius:7px;white-space:nowrap}
#sms-admin-users td:nth-child(6) select{display:block;width:100%;min-width:0;max-width:100%;height:38px;margin:0;padding:6px 8px;box-sizing:border-box;font-size:13px}
#sms-admin-users td:nth-child(6) button{display:block;margin:7px 0 0;padding:6px 10px;background:#eef4fa;color:#24577c;border:1px solid #ceddea}
#sms-admin-users .sms-admin-actions{display:flex;flex-wrap:wrap;gap:6px}
#sms-admin-users .sms-admin-actions button{background:#eef4fa;color:#24577c;border:1px solid #ceddea}
#sms-admin-users .sms-admin-actions button:last-child{color:#9b3b3b;background:#fff5f5;border-color:#efd7d7}
#sms-admin-users .sms-account-meta{display:flex;flex-wrap:wrap;gap:12px 28px;margin-bottom:12px;color:#526a81}
#sms-admin-users .sms-admin-history{padding:18px;background:#f8fafc;font-size:13px}
.sms-create-fold{border:1px solid #dce5ef;border-radius:10px;padding:14px 16px;margin:18px 0;background:#f9fbfd}
.sms-create-fold>summary{font-size:14px;font-weight:600;color:#295a82;cursor:pointer}
.sms-create-fold #create{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px!important;align-items:end;margin-top:18px}
.sms-create-fold #create label{display:flex;flex-direction:column;gap:7px;margin:0;min-width:0;font-size:13px}
.sms-create-fold #create input,.sms-create-fold #create select{width:100%;min-width:0;height:42px;padding:8px 10px;box-sizing:border-box;margin:0}
.sms-create-fold #create>button{grid-column:1/-1;justify-self:end;width:auto;padding:10px 22px;margin:0;font-size:14px}
@media(max-width:700px){body:has(#sms-admin-users) main.admin{width:calc(100% - 20px);margin:12px auto;padding:16px}.sms-create-fold #create{grid-template-columns:repeat(2,minmax(0,1fr))}#sms-admin-users .sms-admin-header{align-items:center}#sms-admin-users h2{font-size:19px}}

.sms-free-notice{margin:20px 0;padding:16px 18px;border:1px solid #b6d8c9;border-radius:12px;background:#effaf4;color:#185638;line-height:1.7}.sms-free-notice strong{font-size:18px}.sms-free-notice p{margin:5px 0 0;font-size:14px}
