.sms-operations {
  --ops-edge: rgba(16, 24, 40, .22);
  --ops-divider: rgba(16, 24, 40, .13);
  --ops-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .04);
}
.ops-auth { max-width: 600px; margin: 12vh auto; padding: 24px; }
.sms-operations .desktop-nav a > span { margin: 0; }
.sms-operations .desktop-nav a[aria-current=page] { background: white; border-color: var(--ops-edge); color: #16181d; }
@media(min-width:1101px) { .sms-operations .shell { grid-template-columns: 233px minmax(0,1fr); } }
.sms-mobile-header { display: none; }
#sms-shell .ops-heading .btn, #sms-shell .ops-filters .btn {
  height: 40px; min-height: 40px; padding-inline: 14px; font: 500 14px/20px Geist,sans-serif; letter-spacing: 0;
}
.sms-operations .workspace { display: grid; gap: 24px; }
.ops-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ops-heading h1 { margin: 0; color: #16181d; font: 650 32px/40px Geist, sans-serif; letter-spacing: -.02em; }
.ops-heading p { margin: 2px 0 0; font-size: 14px; line-height: 20px; color: #6b6f78; }
.ops-heading button { gap: 8px; }
#sms-feedback { margin: 0; }
#sms-feedback:not(.error) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
#sms-feedback.error { color: #aa251f; }
.ops-counts, .ops-columns > section { background: white; border: .5px solid var(--ops-edge); border-radius: 12px; box-shadow: var(--ops-shadow); }
.ops-counts { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); }
.ops-counts:empty { display: none; }
.ops-count { min-width: 0; display: grid; align-content: start; gap: 2px; padding: 14px 18px; }
.ops-count + .ops-count { border-left: .5px solid var(--ops-divider); }
.ops-count span { color: #6b6f78; font-size: 13px; line-height: 18px; white-space: nowrap; }
.ops-count strong { font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -.02em; }
.ops-count span::before, .ops-row strong::before, .ops-detail-status::before {
  display: inline-block; width: 8px; height: 8px; margin-right: 6px; vertical-align: 1px; border-radius: 50%; background: var(--ops-dot, #8b8d98); content: "";
}
.tone-queued, .tone-sending { --ops-dot: #1a73e8; }
.tone-held, .tone-unknown { --ops-dot: #f9ab00; }
.tone-failed { --ops-dot: #d93025; }
.tone-accepted, .tone-delivered, .tone-processed { --ops-dot: #188038; }
.ops-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin: 0; }
.ops-filters fieldset { min-width: 0; border: 0; margin: 0; padding: 0; }
.ops-filters legend, .ops-filters > label { font-size: 13px; line-height: 18px; color: #6b6f78; }
.ops-filters legend { padding: 0; margin-bottom: 4px; }
.ops-filters > label { display: grid; gap: 4px; }
#sms-state { min-height: 40px; width: 200px; height: 40px; padding: 0 12px; border: .5px solid rgba(16,24,40,.32); border-radius: 8px; background: white; color: #16181d; font: 400 14px Geist,sans-serif; }
.ops-segments { display: flex; height: 40px; gap: 3px; padding: 3px; border-radius: 10px; background: #e7e5df; }
.ops-segments label { font-weight: 500; position: relative; display: flex; align-items: center; padding: 0 12px; font-size: 14px; line-height: 20px; cursor: pointer; white-space: nowrap; }
.ops-segments label:has(:checked) { background: white; border-radius: 8px; box-shadow: 0 1px 2px #10182814; font-weight: 600; }
.ops-segments input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ops-segments label:has(:focus-visible) { outline: 2px solid currentColor; outline-offset: -2px; }
#sms-filter-count { align-self: end; margin-left: auto; line-height: 40px; color: #6b6f78; font-size: 13px; }
.ops-columns { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: start; gap: 20px; }
.ops-columns > section { min-width: 0; overflow: hidden; }
.ops-list > p, #sms-detail > p { margin: 16px 20px; }
.ops-row { display: grid; position: relative; width: 100%; grid-template-columns: minmax(0,1fr) 18px; gap: 2px 12px; align-items: center; padding: 12px 14px 12px 20px; border: none; background: white; color: #16181d; text-align: left; font-family: inherit; cursor: pointer; }
.ops-row + .ops-row, #sms-more { border-top: .5px solid var(--ops-divider); }
.ops-row:hover, .ops-row:focus-visible { background: #f7f7f6; }
.ops-row[aria-current=true]::before { content: ""; position: absolute; inset: 12px auto 12px 0; width: 3px; background: #16181d; border-radius: 0 3px 3px 0; }
.ops-row strong, .ops-row p, .ops-row small { grid-column: 1; margin: 0; }
.ops-row strong { font-size: 15px; line-height: 20px; font-weight: 600; }
.ops-row p { color: #3d4049; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.ops-row small, .ops-detail dt, .ops-detail-status { color: #6b6f78; font-size: 13px; line-height: 18px; }
.ops-row svg { grid-column: 2; grid-row: 1 / 4; }
#sms-more { width: 100%; min-height: 44px; border-inline: 0; border-bottom: 0; background: white; font: 500 14px Geist,sans-serif; }
.ops-detail header { padding: 16px 20px; display: grid; gap: 6px; }
.ops-detail header > * { margin: 0; }
.ops-detail h2 { color: #16181d; font-size: 20px; line-height: 26px; font-weight: 650; letter-spacing: -.01em; }
.ops-detail .ops-guidance { color: #3d4049; font-size: 15px; line-height: 22px; }
.ops-detail dl { margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.ops-detail dl > div { min-width: 0; padding: 10px 20px; border-top: .5px solid var(--ops-divider); }
.ops-detail dl > div:nth-child(even) { border-left: .5px solid var(--ops-divider); }
.ops-detail dd { margin: 1px 0 0; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
@media(max-width:1200px) {
  .ops-counts { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ops-count:nth-child(3n+1) { border-left: 0; }
}
#sms-back { display: none; }
@media(max-width:880px) {
  .ops-columns { grid-template-columns: 1fr; }
  #sms-back:not([hidden]) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; color: #3d4049; background: white; border: 0; text-decoration: underline; }
}
@media(max-width:760px) {
  .sms-mobile-header { display: flex; justify-content: space-between; align-items: center; padding: 0 16px; height: 54px; background: white; border-bottom: .5px solid var(--ops-divider); }
  .sms-mobile-header > * { display: flex; align-items: center; min-height: 44px; border: 0; background: none; color: #16181d; font: 500 14px Geist,sans-serif; }
  .ops-heading h1 { font-size: 26px; line-height: 32px; }
  #sms-shell .ops-heading .btn, #sms-shell .ops-filters .btn, .ops-segments, #sms-state { min-height: 44px; }
  .ops-segments { height: auto; }
  .ops-segments label { min-height: 44px; }
  .ops-counts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ops-count:nth-child(n) { border-left: 0; }
  .ops-count:nth-child(even) { border-left: .5px solid var(--ops-divider); }
  #sms-filter-count { flex-basis: 100%; line-height: 18px; }
}

@media(max-width:480px) { .ops-heading { display: grid; grid-template-columns: 1fr auto; } .ops-heading > div { display: contents; } .ops-heading p { grid-column: 1 / -1; grid-row: 2; margin: -10px 0 0; } .ops-heading button { grid-column: 2; grid-row: 1; } }
