.sms365{padding:22px 0;color:var(--text,#e9e3d5)}.sms365 *{box-sizing:border-box}.sms365-heading{display:flex;gap:24px;align-items:center;justify-content:space-between;margin-bottom:24px}.sms365-heading h2{font-size:29px;margin:4px 0}.sms365-heading p,.sms365-note{color:var(--muted,#938f84);font-size:12px;line-height:1.7}.sms365-heading>div:last-child{display:flex;gap:9px}.sms365-eyebrow{font-size:10px;letter-spacing:.16em;color:var(--muted,#938f84)}.sms365-button{cursor:pointer;border:1px solid var(--line,#554b37);border-radius:11px;padding:11px 16px;color:inherit;background:linear-gradient(130deg,#ffffff0b,#ffffff02);font:inherit;font-size:12px;font-weight:600;line-height:1.3;box-shadow:inset 0 1px #ffffff12}.sms365-button:disabled{opacity:.45;cursor:default}.sms365-button.sms365-primary,.sms365-compose-actions [data-sms365=review],.sms365-review [data-sms365=queue]{background:linear-gradient(125deg,#ecd4a4,#ba9451);color:#29231a;border-color:#b89859}.sms365-toolbar,.sms365-filters{display:flex;flex-wrap:wrap;gap:13px;align-items:end}.sms365 label,.sms365-dialog label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:var(--muted,#938f84)}.sms365 input,.sms365 select,.sms365 textarea,.sms365-dialog input,.sms365-dialog select{border:1px solid var(--line,#554b37);background:var(--surface,var(--bg,#171611));color:var(--text,#e9e3d5);border-radius:11px;padding:11px 13px;font:inherit;min-width:0;max-width:100%;font-size:13px}.sms365-toolbar select{min-width:180px}.sms365-tabs{display:flex;gap:7px;border-bottom:1px solid var(--line,#554b37);padding:18px 0 12px;margin:0 0 18px}.sms365-tabs [aria-pressed=true]{background:var(--accent,#cba969);color:var(--buttonText,#191713)}.sms365-filters{padding:15px;border:1px solid var(--line,#554b37);border-radius:16px;margin-bottom:18px}.sms365-list{display:grid;gap:10px}.sms365-message{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px;border:1px solid var(--line,#554b37);background:#ffffff03;border-radius:17px;min-width:0}.sms365-message h4{margin:7px 0;font-size:15px}.sms365-message small{color:var(--muted,#938f84);font-size:11px}.sms365-message p{font-size:12px;line-height:1.6;max-width:760px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:0}.sms365-message>div{min-width:0}.sms365-state{display:inline-block;border-radius:20px;font-size:10px;padding:4px 9px;border:1px solid var(--line,#554b37);color:var(--muted,#aaa28f)}.sms365-state.is-attention{color:#ca9553;border-color:#a26a35}.sms365-empty{text-align:center;padding:65px 20px;border:1px dashed var(--line,#554b37);border-radius:20px}.sms365-empty h3{font-size:21px}.sms365-empty p{font-size:13px;color:var(--muted,#938f84)}.sms365-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.sms365-section-heading h3{font-size:19px;margin:0}.sms365-compose{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(250px,.7fr);gap:24px}.sms365-compose form{display:grid;gap:18px;min-width:0;border:1px solid var(--line,#554b37);border-radius:22px;padding:24px}.sms365-compose-actions{display:flex;gap:9px;justify-content:flex-end}.sms365-phone{align-self:start;position:sticky;top:20px;border:1px solid var(--line,#554b37);padding:25px;border-radius:24px;background:#ffffff04}.sms365-phone>span{font-size:9px;letter-spacing:.13em;color:var(--muted,#938f84)}.sms365-phone>div{margin:24px 0;padding:20px;border-radius:18px 18px 18px 5px;background:#ffffff0d;border:1px solid var(--line,#554b37);white-space:pre-wrap;font:14px/1.7 system-ui;overflow-wrap:anywhere}.sms365-phone small{font-size:10px;color:var(--muted,#938f84)}.sms365-dialog{max-width:640px;width:calc(100vw - 30px);max-height:90vh;overflow:auto;background:var(--surface,var(--bg,#171611));color:var(--text,#e9e3d5);border:1px solid var(--line,#554b37);border-radius:23px;padding:25px}.sms365-dialog::backdrop{background:#0008;backdrop-filter:blur(4px)}.sms365-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:15px}.sms365-review{display:grid;gap:14px}.sms365-review p{font-size:12px;line-height:1.7;margin:0;color:var(--muted,#938f84)}.sms365-review pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.8 system-ui;background:#ffffff05;padding:20px;border-radius:14px;border:1px solid var(--line,#554b37)}.sms365-review-counts{display:flex;gap:30px;font-size:12px}.sms365-review-counts b{display:block;font-size:27px}.sms365-dialog .sms365-confirm{flex-direction:row;align-items:start;line-height:1.6}.sms365-confirm input{flex:none}.sms365 [data-sms365-status].is-error,.sms365-dialog [role=alert]{color:#d28b72;font-size:12px;line-height:1.7}.sms365 [hidden],.sms365-dialog [hidden]{display:none!important}@media(max-width:760px){.sms365-heading{align-items:start;flex-direction:column;gap:12px}.sms365-heading h2{font-size:25px}.sms365-toolbar>label{flex:1;min-width:140px}.sms365-toolbar select{min-width:0}.sms365-filters>label{flex:1;min-width:135px}.sms365-compose{grid-template-columns:1fr}.sms365-phone{position:static}.sms365-message{padding:16px;gap:12px}.sms365-compose form{padding:18px}.sms365-heading>div:last-child{width:100%;justify-content:flex-end}.sms365-message p{max-width:220px}}

/* v374 — fluid campaign and filter controls on touch screens. */
.sms365,.sms365-dialog{min-width:0;box-sizing:border-box}.sms365-toolbar>label,.sms365-filters>label{min-width:0}.sms365-tabs{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.sms365-tabs>button{flex:none}.sms365-dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
@media(max-width:1024px){.sms365-compose{grid-template-columns:minmax(0,1fr)}.sms365-phone{position:static;max-width:100%;box-sizing:border-box}}
@media(max-width:760px){.sms365-button{min-height:44px}.sms365-toolbar>label,.sms365-filters>label{flex:1 1 125px;min-width:0;max-width:100%}.sms365-toolbar select,.sms365-filters input,.sms365-filters select{width:100%;box-sizing:border-box;min-height:44px;font-size:16px}.sms365-filters{padding:13px;gap:13px}.sms365-message{align-items:flex-start;flex-wrap:wrap}.sms365-message>div{flex:1 1 180px;max-width:100%}.sms365-message>button{margin-left:auto}.sms365-message p{white-space:normal;max-width:100%;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;line-clamp:3}.sms365-compose-actions{flex-wrap:wrap}.sms365-compose-actions>button{flex:1;min-width:100px}.sms365-compose input,.sms365-compose textarea,.sms365-compose select{font-size:16px}.sms365-phone{padding:20px}.sms365-dialog{padding:19px}.sms365-review-counts{flex-wrap:wrap;gap:16px}.sms365-heading>div:last-child{justify-content:flex-start;flex-wrap:wrap}}
