html, body { height: 100%; }
body { margin: 0; background: #f7f7f7; font-family: Roboto, "Segoe UI", Arial, sans-serif; color: #212529; }
.header { display: flex; align-items: center; gap: 22px; background: #ececec; border-bottom: 1px solid #e0e0e0; padding: 6px 16px; min-height: 64px; }
.cos-header__logo { display: inline-flex; }
.cos-header__title-wrapper { line-height: 1.35; }
.cos-header__title { font-size: 17px; color: #6c757d; }
.cos-header__subtitle { font-size: 15px; color: #6c757d; }
.cos-header__title strong, .cos-header__subtitle strong { color: #5a6169; font-weight: 600; }
.cos-header__volume-indicators { margin-left: auto; margin-right: 24px; display: grid; gap: 6px; font-size: 13.5px; color: #6c757d; }
.cos-header__volume-indicators[hidden] { display: none; }
.cos-header__volume-indicators > div { display: grid; grid-template-columns: 120px 80px; align-items: center; }
.cos-header__volume-indicators label { margin: 0; }
.level-bar { height: 16px; width: 0; background: green; transition: width .08s linear; }
.navbar-nav { display: flex; flex-direction: row; gap: 18px; margin: 0 0 0 auto; padding: 0; list-style: none; font-size: 14px; color: #6c757d; }
.cos-header__volume-indicators:not([hidden]) + .navbar-nav { margin-left: 0; }
.nav-link { padding: 0; color: #6c757d; cursor: default; }
.practice { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; padding: 6px 16px; background: #f3effc; border-bottom: 1px solid #ddd3f5; font-size: 13.5px; color: #3d2b6b; }
.pr-chip { font-weight: 700; color: #fff; background: #7d4cdb; border-radius: 999px; padding: 1px 10px; font-size: 12px; letter-spacing: .02em; }
.pr-mode { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.pr-mode select { font: inherit; border: 1px solid #cbbcf0; border-radius: 6px; padding: 1px 6px; background: #fff; color: #3d2b6b; }
.pr-tally { color: #5b4a8a; }
.pr-ip { color: #5b4a8a; font-variant-numeric: tabular-nums; }
.pr-ip.ok { color: #157347; }
.pr-ip.bad { color: #b02a37; font-weight: 600; }
.pr-last { margin-left: auto; font-weight: 600; }
.pr-last.ok { color: #157347; }
.pr-last.bad { color: #b02a37; }
.pr-more { font: inherit; font-size: 12.5px; border: 1px solid #cbbcf0; background: #fff; border-radius: 6px; padding: 1px 10px; color: #3d2b6b; cursor: pointer; }
.pr-detail { padding: 8px 16px 10px; background: #faf8ff; border-bottom: 1px solid #ddd3f5; font-size: 13.5px; color: #2b2340; }
.pr-detail ul { margin: 4px 0 0; padding-left: 20px; }
.pr-detail li.ok::marker { color: #157347; }
.pr-detail li.bad::marker { color: #b02a37; }
.mid-section { flex: 1 1 auto; display: flex; min-height: 0; }
.right_col { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.responsive-margin { margin: 12px 12px 0; }
#buttons .btn, #dialpad-digits .btn { margin: 0 2px 4px 0; padding: 6px 12px; font-size: 15px; border-radius: 3px; }
#buttons .btn[hidden] { display: none; }
#btnGotoBreak.on { background: #0b4fa3; border-color: #0b4fa3; box-shadow: inset 0 0 0 2px #9cc5ff; }
.iframe-wrapper { flex: 1 1 auto; display: flex; margin-bottom: 0; min-height: 420px; }
#frame { flex: 1; width: 100%; min-height: 420px; border: 0; background: #f7f7f7; }
.cos-footer { background: #2c3e50; border-top: 3px solid #b5233a; color: #8d9bab; font-size: 13.5px; padding: 12px 24px; display: flex; justify-content: flex-end; }
@media (max-width: 600px) {
  .header { flex-wrap: wrap; row-gap: 8px; }
  .navbar-nav { flex-wrap: wrap; row-gap: 8px; }
  #buttons .btn { white-space: normal; text-align: left; }
}

/* the way out of practice: one big button to the real dialer, kept clear of Coagent's panel */

.navbar-nav { align-items: center; }
.golive { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 11px; background: #c8102e; color: #fff; border-radius: 7px; text-decoration: none; line-height: 1.1; box-shadow: 0 2px 8px rgba(200, 16, 46, .35); }
.golive:hover, .golive:focus-visible { background: #a50d26; color: #fff; text-decoration: none; outline: 3px solid #ffd2d9; outline-offset: 2px; }
.golive b { display: block; font-size: 15px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.golive small { display: block; font-size: 11px; opacity: .95; }
.golive-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: golive-pulse 1.6s ease-out infinite; }
@keyframes golive-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .75); } 70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
