.sms-center-page{max-width:1480px}.sms-safety{display:flex;gap:12px;margin-bottom:14px;padding:12px 14px;border:1px solid #f0d69b;border-radius:9px;background:#fffaf0;color:#745617;font-size:13px}.sms-safety span{color:#806b3c}.sms-error{margin-bottom:12px;padding:10px 12px;border:1px solid #efc5c5;border-radius:8px;background:#fff6f6;color:#a33b3b}.sms-tabs{display:flex;gap:3px;margin-bottom:14px;padding:3px;width:max-content;border:1px solid var(--line);border-radius:8px;background:#fff}.sms-tabs button{padding:8px 14px;border-radius:6px;background:transparent;color:#657287;font-weight:700}.sms-tabs button.active{background:#edf3ff;color:#2864dc}.sms-panel{margin-bottom:14px;padding:16px;border:1px solid var(--line);border-radius:10px;background:#fff}.sms-panel h3{margin:0 0 12px}.sms-panel-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:14px}.sms-panel-head h3,.sms-panel-head p{margin:0}.sms-panel-head p{margin-top:5px;color:var(--muted);font-size:12px}.sms-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.8fr);gap:14px}.sms-filters,.sms-rule-form{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}.sms-filters>*{min-width:0}.sms-filters select{width:120px}.sms-filters input[name=phoneLast4]{width:140px}.sms-filters input[type=datetime-local]{width:155px}.sms-filters button{min-width:auto}.sms-table-wrap{overflow:auto}.sms-table{min-width:1120px}.sms-table td{vertical-align:top}.sms-table th:last-child,.sms-table td:last-child{position:sticky;right:0;z-index:1;background:#fff;box-shadow:-8px 0 12px rgba(33,49,74,.06)}.sms-table th:last-child{z-index:2;background:#f8f9fb}.sms-table small,.sms-device small,.sms-rule-list small,.sms-grants small,.sms-audit small{display:block;margin-top:4px;color:var(--muted);font-size:11px}.sms-preview{max-width:260px;line-height:1.5}.sms-tag{display:inline-block;margin:1px;padding:3px 6px;border-radius:5px;background:#eef1f5;color:#596579;font-size:11px;white-space:nowrap}.sms-tag.ok{background:#e9f7ef;color:#277348}.sms-tag.warn{background:#fff2dc;color:#8a5b08}.sms-pagination{display:flex;justify-content:space-between;align-items:center;padding-top:12px;color:var(--muted);font-size:12px}.sms-pagination span:last-child{display:flex;gap:6px}.sms-sensitive{position:fixed;right:24px;bottom:24px;z-index:30;width:min(520px,calc(100vw - 48px));padding:17px;border:1px solid #e1bc6b;border-radius:12px;background:#fffaf0;box-shadow:0 18px 54px rgba(28,42,66,.2)}.sms-sensitive header,.sms-sensitive>div{display:flex;justify-content:space-between;gap:12px;align-items:center}.sms-sensitive header button{background:transparent;color:#7c6431}.sms-sensitive p{max-height:180px;overflow:auto;white-space:pre-wrap}.sms-sensitive code{padding:8px 12px;border-radius:7px;background:#2a3442;color:#fff;font-size:18px;letter-spacing:.12em}.sms-sensitive small{display:block;margin-top:10px;color:#806b3c}.sms-device{margin-bottom:10px;padding:14px;border:1px solid var(--line);border-radius:8px}.sms-device>div{display:flex;justify-content:space-between}.sms-device dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.sms-device dl div{min-width:0}.sms-device dt{color:var(--muted);font-size:11px}.sms-device dd{overflow:hidden;margin:3px 0 0;font-size:12px;text-overflow:ellipsis}.sms-device footer{display:flex;flex-wrap:wrap;gap:7px}.sms-form{display:grid;gap:10px}.sms-form label,.sms-setup label{display:grid;gap:5px;color:var(--muted);font-size:12px}.sms-setup{display:grid;gap:10px;margin-top:14px;padding:12px;border:1px solid #e1bc6b;border-radius:8px;background:#fffaf0}.sms-setup code{overflow-wrap:anywhere;color:#744f06}.sms-rule-list article,.sms-grants article,.sms-audit article{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line)}.sms-rule-list article:first-child,.sms-grants article:first-child,.sms-audit article:first-child{border-top:0}.sms-rule-list span,.sms-grants span,.sms-audit span{min-width:0}.sms-permission-note{color:var(--muted);font-size:12px}.sms-permissions{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}.sms-permissions span{padding:5px 8px;border-radius:6px;background:#edf3ff;color:#2864dc;font-size:11px}.sms-audit time{flex:0 0 145px;color:var(--muted);font-size:11px}.sms-toast{position:fixed;right:22px;top:72px;z-index:80;max-width:380px;padding:11px 14px;border-radius:8px;background:#25364c;color:#fff;box-shadow:0 10px 30px rgba(0,0,0,.2)}.sms-toast.error{background:#a33b3b}@media(max-width:900px){.sms-grid{grid-template-columns:1fr}.sms-safety{display:grid}.sms-device dl{grid-template-columns:1fr}.sms-filters>*{flex:1 1 160px;width:auto}}
.sms-modal-backdrop{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:20px;background:rgba(24,35,51,.42)}.sms-modal{width:min(440px,100%);padding:18px;border-radius:12px;background:#fff;box-shadow:0 20px 64px rgba(24,35,51,.28)}.sms-modal>header,.sms-modal form>footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.sms-modal h3{margin:0}.sms-modal>header button{background:transparent;color:var(--muted)}.sms-modal>p{color:var(--muted);font-size:12px}.sms-modal form>footer{justify-content:flex-end}
.sms-sensitive dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.sms-sensitive dt{color:#806b3c;font-size:11px}.sms-sensitive dd{overflow-wrap:anywhere;margin:3px 0 0;font-size:13px}.sms-sensitive code{font-size:14px;letter-spacing:normal}@media(max-width:900px){.sms-sensitive dl{grid-template-columns:1fr}}
