.admin-settings{display:flex;flex-direction:column;gap:18px}
.admin-settings .admin-page-head h1{font-size:26px;font-weight:600;color:#12191c}
.sms-admin-page .admin-page-head span{display:block;max-width:72ch;margin-top:6px;color:#697977;font-size:12px;line-height:1.65}
.sms-settings-layout{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:620px;border:1px solid #d9e1e9;background:#fff}
.sms-provider-nav{padding:18px 12px;border-right:1px solid #d9e1e9;background:#f6f8fb;display:flex;flex-direction:column;gap:8px}
.sms-provider-nav-item{position:relative;width:100%;min-height:112px;padding:14px 12px;border:1px solid transparent;background:transparent;color:#31445a;display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:start;text-align:left;cursor:pointer}
.sms-provider-nav-item:hover{border-color:#bdcbe0;background:#fff}
.sms-provider-nav-item.selected{border-color:#2563eb;background:#fff;box-shadow:0 6px 18px rgba(37,99,235,.08)}
.sms-provider-nav-item:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.sms-provider-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:6px;background:#e6edf7;color:#315d94;font-size:16px;font-weight:700;font-style:normal;line-height:1}
.sms-provider-mark.aliyun{background:#fff1e8;color:#c95716}
.sms-provider-mark.tencent{background:#e7efff;color:#225dc7}
.sms-provider-nav-item.selected .sms-provider-mark.tencent{background:#2563eb;color:#fff}
.sms-provider-nav-item.selected .sms-provider-mark.aliyun{background:#e86722;color:#fff}
.sms-provider-nav-copy{min-width:0;display:block;padding-top:1px}
.sms-provider-nav-copy>b{display:block;color:#1e3047;font-size:13px;line-height:1.4}
.sms-provider-nav-copy>small{display:block;margin-top:3px;color:#718197;font-size:10px}
.sms-provider-nav-status{display:flex;flex-wrap:wrap;gap:4px;margin-top:10px}
.sms-current-badge{display:inline-flex;align-items:center;min-height:20px;padding:2px 7px;border-radius:3px;background:#2563eb;color:#fff;font-size:9px;font-style:normal;font-weight:700;white-space:nowrap}
.sms-provider-nav-item>.sms-current-badge{position:absolute;top:8px;right:8px}
.sms-readiness{display:inline-flex;align-items:center;gap:3px;padding:3px 5px;border-radius:3px;font-size:9px;line-height:1.2;white-space:nowrap}
.sms-readiness .flat-icon{width:10px;height:10px}
.sms-readiness.ready{background:#e9f6ef;color:#176a4f}
.sms-readiness.missing{background:#fff1ef;color:#a43b34}
.sms-provider-detail{min-width:0;padding:24px 28px 30px}
.sms-provider-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-bottom:20px;border-bottom:1px solid #e1e7ee}
.sms-provider-detail-title{display:flex;align-items:center;gap:12px}
.sms-provider-detail-title h2{margin:0;color:#16263b;font-size:20px;line-height:1.3}
.sms-provider-detail-title p{margin:4px 0 0;color:#718197;font-size:11px}
.sms-provider-detail-status{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px}
.sms-provider-detail-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.sms-provider-detail-actions button,.sms-detail-actions button,.sms-test-form button{min-height:34px;height:34px;padding:0 13px;border:1px solid #c4d0df;background:#fff;color:#36506f;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:11px;cursor:pointer}
.sms-provider-detail-actions button:hover,.sms-detail-actions button:hover,.sms-test-form button:hover{border-color:#87a8d4;background:#edf5ff;color:#2459a8}
.sms-provider-detail-actions button.primary,.sms-detail-actions button.primary{border-color:#2563eb;background:#2563eb;color:#fff}
.sms-provider-detail-actions button.primary:hover,.sms-detail-actions button.primary:hover{border-color:#1d4ed8;background:#1d4ed8}
.sms-missing-notice,.sms-ready-notice{display:flex;align-items:flex-start;gap:10px;margin:18px 0 2px;padding:12px 14px;border:1px solid #e2b9b5;background:#fff7f6;color:#873832}
.sms-missing-notice>.flat-icon,.sms-ready-notice>.flat-icon{width:17px;height:17px;flex:0 0 auto;margin-top:1px}
.sms-missing-notice b{display:block;font-size:11px}
.sms-missing-notice p{margin:4px 0 0;font-size:10px;line-height:1.6}
.sms-ready-notice{align-items:center;border-color:#b7dccc;background:#f3fbf7;color:#176348;font-size:11px}
.sms-detail-section{padding:22px 0;border-bottom:1px solid #e5eaf0}
.sms-detail-section>header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:14px}
.sms-detail-section>header h3{margin:0;color:#24364d;font-size:14px}
.sms-detail-section>header p{margin:4px 0 0;color:#77879a;font-size:10px;line-height:1.55}
.sms-config-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px;margin:0}
.sms-config-summary>div{min-width:0;padding:11px 0;border-bottom:1px solid #edf0f4}
.sms-config-summary>div:nth-last-child(-n+2){border-bottom:0}
.sms-config-summary dt{color:#718096;font-size:10px}
.sms-config-summary dd{margin:5px 0 0;color:#223750;font-size:12px;font-weight:600;overflow-wrap:anywhere}
.sms-config-summary small{display:block;margin-top:4px;color:#8997a8;font-size:9px;line-height:1.5}
.sms-config-summary .is-missing dd{color:#ae423a}
.sms-config-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.sms-config-field{min-width:0;display:flex;flex-direction:column;gap:6px;color:#334b67;font-size:11px}
.sms-config-field>span{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:600}
.sms-config-field>span em{color:#b54239;font-size:9px;font-style:normal;font-weight:600}
.sms-config-field input,.sms-test-form input,.sms-test-form select{width:100%;height:36px;box-sizing:border-box;border:1px solid #c6d2e0;border-radius:4px;background:#fff;padding:0 10px;color:#1e3047;font:12px/1.2 inherit;outline:0}
.sms-config-field input:focus,.sms-test-form input:focus,.sms-test-form select:focus{border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.12)}
.sms-config-field input::placeholder,.sms-test-form input::placeholder{color:#7b8999;opacity:1}
.sms-config-field.is-missing input{border-color:#d99a95;background:#fffafa}
.sms-config-field>small{color:#7c8a9b;font-size:9px;line-height:1.5}
.sms-detail-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:16px}
.sms-test-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(170px,.65fr) auto;gap:10px;align-items:end}
.sms-test-form label{min-width:0;display:flex;flex-direction:column;gap:6px;color:#334b67;font-size:10px;font-weight:600}
.sms-test-form button{min-width:136px;background:#edf4ff;border-color:#aec4e2;color:#2459a8}
.sms-test-disabled{margin:9px 0 0;color:#a0473f;font-size:10px}
.sms-test-result{margin-top:14px;padding:12px 14px;border:1px solid #b9d9c9;background:#f4fbf7;color:#1c664d}
.sms-test-result.error{border-color:#e0b6b2;background:#fff7f6;color:#933d36}
.sms-test-result b,.sms-test-result p,.sms-test-result small{display:block}
.sms-test-result b{font-size:11px}
.sms-test-result p{margin:4px 0 0;font-size:10px;line-height:1.55}
.sms-test-result small{margin-top:5px;font-size:9px;color:inherit}
.sms-dialog-copy{max-width:52ch;color:#66778a;font-size:12px;line-height:1.7}
.sms-activation-summary{display:flex;align-items:center;gap:12px;margin:18px 0;padding:14px;border:1px solid #d9e3ef;background:#f7f9fc}
.sms-activation-summary b{color:#20344e;font-size:13px}
.sms-activation-summary p{margin:4px 0 0;color:#6f7f92;font-size:10px;line-height:1.55}
@media(max-width:900px){.sms-settings-layout{grid-template-columns:1fr}.sms-provider-nav{border-right:0;border-bottom:1px solid #d9e1e9}.sms-provider-nav-item{min-height:92px}.sms-provider-detail{padding:20px}.sms-provider-detail-head{flex-direction:column}.sms-provider-detail-actions{justify-content:flex-start}.sms-config-summary,.sms-config-fields{grid-template-columns:1fr}.sms-config-summary>div:nth-last-child(-n+2){border-bottom:1px solid #edf0f4}.sms-config-summary>div:last-child{border-bottom:0}.sms-test-form{grid-template-columns:1fr}.sms-test-form button{justify-self:start}.sms-provider-nav-item>.sms-current-badge{position:static;grid-column:2;justify-self:start;margin-top:5px}}
@media(max-width:560px){.sms-provider-detail{padding:16px}.sms-provider-detail-title h2{font-size:18px}.sms-provider-detail-status{align-items:flex-start}.sms-provider-detail-actions{width:100%}.sms-provider-detail-actions button{flex:1}.sms-test-form button{width:100%}}
.login-logs{margin-top:10px}.login-logs .empty{font-size:12px;color:#adb8b5;padding:12px 0}
.login-log-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #e8ecf0;font-size:12px}
.login-log-row code{font-family:monospace;background:#eaf2ff;padding:2px 6px;border-radius:4px;font-size:11px;color:#2459a8}
.login-log-row small{color:#94a3b8;font-size:11px}
.legal-policy-admin{gap:18px}.legal-policy-admin .admin-page-head>.primary{align-self:center;border:0;background:#2563eb;color:#fff;padding:11px 18px;font-size:12px}.legal-status{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;font-size:10px;font-style:normal;font-weight:700}.legal-status.published{background:#e3f6ee;color:#187052}.legal-status.draft{background:#fff1d7;color:#9a6419}.legal-status.superseded{background:#edf0f4;color:#6f7c8d}.legal-empty-current{border-color:#efc78c!important;background:#fffaf2!important}.legal-empty-current>div{padding:10px 4px}.legal-empty-current b{font-size:15px;color:#8d5818}.legal-empty-current p{font-size:12px;color:#8b7253;margin:5px 0 0}.legal-current-grid{display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:12px}.legal-current-grid>div{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:14px;background:#f7f9fc;border:1px solid #e2e8f0}.legal-current-grid small{font-size:10px;color:#718096}.legal-current-grid b{font-size:13px;color:#24364d}.legal-current-grid span{font-size:10px;color:#8b99aa}.legal-current-grid button,.legal-editor-grid article>button,.legal-history-row button{border:0;background:transparent;color:#2563eb;padding:2px 0;font-size:11px;cursor:pointer}.legal-current-grid button:hover,.legal-editor-grid article>button:hover,.legal-history-row button:hover{text-decoration:underline}.legal-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.legal-editor-grid article{border:1px solid #dbe3ed;background:#f8fafc;padding:16px;display:flex;flex-direction:column;gap:12px}.legal-editor-grid label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#50647b}.legal-editor-grid input,.legal-editor-grid textarea{border:1px solid #cbd8e7;background:#fff;padding:10px;font:12px/1.65 inherit;color:#25364c;outline:0;resize:vertical}.legal-editor-grid input:focus,.legal-editor-grid textarea:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb18}.legal-editor-grid label>small{align-self:flex-end;color:#8493a5;font-size:10px}.legal-editor-grid article>button{align-self:flex-start}.legal-draft-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid #e2e8f0}.legal-draft-actions span{margin-right:auto;font-size:10px;color:#7f8b99}.legal-draft-actions button{border:1px solid #c9d5e2;background:#fff;color:#40546c;padding:9px 16px;font-size:11px}.legal-draft-actions button.primary{border-color:#2563eb;background:#2563eb;color:#fff}.legal-history-list{border:1px solid #e4e9ef}.legal-history-row{display:grid;grid-template-columns:120px 1fr 1fr 240px;gap:14px;align-items:center;padding:12px 14px;border-bottom:1px solid #e8edf2}.legal-history-row:last-child{border-bottom:0}.legal-history-row>span{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}.legal-history-row>span:last-child{display:grid;grid-template-columns:1fr auto auto;column-gap:10px}.legal-history-row>span:last-child small{grid-column:1/4}.legal-history-row b{font-size:11px;color:#35475d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.legal-history-row small{font-size:10px;color:#8492a3}.legal-policy-preview-body{margin:18px 0;max-height:58vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:22px;background:#f8fafc;border:1px solid #e0e7ef;color:#3d4f64;font-size:13px;line-height:1.9}
@media(max-width:1050px){.legal-current-grid{grid-template-columns:1fr}.legal-editor-grid{grid-template-columns:1fr}.legal-history-row{grid-template-columns:100px 1fr 1fr}.legal-history-row>span:last-child{grid-column:1/4}}
