/* Cybertel Service Request Record — compact finish v7 (2026-11-10).
   Final visual-density layer for the EXISTING #cybAccountThreadDialog only.
   This does not create a new modal or change request data, state, and actions. */
@media (min-width:901px) {
 dialog#cybAccountThreadDialog[open],
 dialog#cybAccountThreadDialog[open][data-cyb-density="brief"] {
  width:min(960px,82vw)!important;
  max-width:min(960px,82vw)!important;
  max-height:min(84dvh,700px)!important;
  border-radius:18px!important;
 }
 #cybAccountThreadDialog .cyb-register-dialog {max-height:min(88dvh,740px)!important}
 #cybAccountThreadDialog .cyb-register-dialog-head {
  min-height:101px!important;padding:17px 25px 14px!important;
 }
 #cybAccountThreadDialog .cyb-r4-topline {gap:9px!important;margin-bottom:7px!important}
 #cybAccountThreadDialog .cyb-register-overline {
  font-size:10px!important;letter-spacing:.11em!important;font-weight:740!important;gap:9px!important;
 }
 #cybAccountThreadDialog .cyb-register-overline::before {height:17px!important;width:3px!important}
 #cybAccountThreadDialog .cyb-register-reference {font-size:11px!important;padding-left:11px!important;font-weight:720!important}
 #cybAccountThreadDialog h2 {font-size:clamp(24px,2.3vw,30px)!important;font-weight:770!important}
 #cybAccountThreadDialog .cyb-register-stage-chip {
  font-size:11px!important;font-weight:700!important;padding:5px 10px!important;gap:7px!important;
 }
 #cybAccountThreadDialog .cyb-register-stage-chip::before {width:7px!important;height:7px!important}
 #cybAccountThreadDialog .cyb-register-x {
  width:33px!important;height:33px!important;top:14px!important;right:16px!important;
  font-size:22px!important;border-radius:9px!important;box-shadow:0 2px 7px rgba(4,45,84,.07)!important;
 }
 #cybAccountThreadDialog .cyb-register-dialog-scroll {padding:13px 20px 15px!important}
 #cybAccountThreadDialog .cyb-r4-metadata {
  gap:9px!important;margin-bottom:13px!important;
 }
 #cybAccountThreadDialog .cyb-r4-metric,
 #cybAccountThreadDialog .cyb-r4-metric:first-child,
 #cybAccountThreadDialog .cyb-r4-metric:last-child {
  min-height:62px!important;padding:8px 11px!important;gap:10px!important;
  border-radius:10px!important;box-shadow:none!important;
 }
 #cybAccountThreadDialog .cyb-r4-metric svg {
  width:18px!important;height:18px!important;padding:9px!important;border-radius:10px!important;
 }
 #cybAccountThreadDialog .cyb-r4-metric div {gap:2px!important}
 #cybAccountThreadDialog .cyb-r4-metric span {font-size:9px!important;letter-spacing:.055em!important;font-weight:740!important}
 #cybAccountThreadDialog .cyb-r4-metric strong {font-size:13px!important;line-height:1.32!important;font-weight:710!important}
 #cybAccountThreadDialog .cyb-r4-progress {margin:0 3px 12px!important}
 #cybAccountThreadDialog .cyb-r4-section-kicker {font-size:10px!important;font-weight:760!important;letter-spacing:.105em!important}
 #cybAccountThreadDialog .cyb-r4-progress ol {margin-top:8px!important;gap:12px!important}
 #cybAccountThreadDialog .cyb-r4-progress li {
  min-height:44px!important;gap:9px!important;padding:4px 9px!important;border-radius:22px!important;
 }
 #cybAccountThreadDialog .cyb-r4-progress li.is-current {
  background:linear-gradient(90deg,#fffaf0,#fdf6e9)!important;box-shadow:none!important;
 }
 #cybAccountThreadDialog .cyb-r4-progress li:after {width:14px!important}
 #cybAccountThreadDialog .cyb-r4-progress .cyb-r4-dot,
 #cybAccountThreadDialog .cyb-r4-progress li.is-current .cyb-r4-dot,
 #cybAccountThreadDialog .cyb-r4-progress li.is-complete .cyb-r4-dot {
  width:30px!important;height:30px!important;flex-basis:30px!important;font-size:12px!important;
  box-shadow:none!important;
 }
 #cybAccountThreadDialog .cyb-r4-progress .cyb-r4-steptext {gap:1px!important}
 #cybAccountThreadDialog .cyb-r4-progress strong {font-size:12px!important;font-weight:730!important}
 #cybAccountThreadDialog .cyb-r4-progress small {font-size:10px!important}
 #cybAccountThreadDialog .cyb-r4-workspace,
 #cybAccountThreadDialog[data-cyb-density="brief"] .cyb-r4-workspace {
  grid-template-columns:minmax(0,1.48fr) minmax(0,1fr)!important;gap:13px!important;
 }
 #cybAccountThreadDialog .cyb-r4-summary {
  min-height:0!important;padding:14px 17px!important;border-radius:13px!important;box-shadow:none!important;
 }
 #cybAccountThreadDialog .cyb-r4-content-head {gap:10px!important;margin-bottom:9px!important;padding-bottom:9px!important}
 #cybAccountThreadDialog .cyb-r4-content-head svg {width:22px!important;height:22px!important}
 #cybAccountThreadDialog .cyb-r4-content-head h3 {font-size:17px!important;font-weight:760!important}
 #cybAccountThreadDialog .cyb-r4-content-head::after {width:69px!important;height:3px!important}
 #cybAccountThreadDialog .cyb-r4-customer-note {
  min-height:35px!important;padding:8px 12px!important;font-size:12.5px!important;line-height:1.44!important;border-radius:9px!important;
 }
 #cybAccountThreadDialog .cyb-r4-details {margin-top:9px!important;gap:0 11px!important}
 #cybAccountThreadDialog .cyb-r4-detail {
  grid-template-columns:30px minmax(0,1fr)!important;column-gap:9px!important;
  padding:9px 4px 8px!important;
 }
 #cybAccountThreadDialog .cyb-r4-detail .cyb-r6-detail-icon {
  width:29px!important;height:29px!important;border-radius:9px!important;
 }
 #cybAccountThreadDialog .cyb-r4-detail .cyb-r6-detail-icon svg {width:16px!important;height:16px!important}
 #cybAccountThreadDialog .cyb-r4-detail>span:not(.cyb-r6-detail-icon) {
  font-size:9px!important;font-weight:740!important;letter-spacing:.06em!important;
 }
 #cybAccountThreadDialog .cyb-r4-detail>strong {font-size:12px!important;line-height:1.38!important;font-weight:700!important}
 #cybAccountThreadDialog .cyb-r4-action {min-height:0!important;padding:16px 19px 40px!important;border-radius:13px!important}
 #cybAccountThreadDialog .cyb-r4-action-head {gap:9px!important;margin-bottom:9px!important}
 #cybAccountThreadDialog .cyb-r4-action-badge {
  width:34px!important;height:34px!important;border-radius:9px!important;box-shadow:0 3px 8px rgba(4,75,122,.12)!important;
 }
 #cybAccountThreadDialog .cyb-r4-action-badge svg {width:18px!important;height:18px!important}
 #cybAccountThreadDialog .cyb-r4-action-head .cyb-r4-section-kicker {font-size:10px!important;font-weight:760!important;letter-spacing:.11em!important}
 #cybAccountThreadDialog .cyb-r4-action-title {
  margin:0 0 7px!important;font-size:22px!important;line-height:1.17!important;font-weight:770!important;
 }
 #cybAccountThreadDialog .cyb-r4-action-copy {
  font-size:13px!important;line-height:1.47!important;color:#4a6984!important;
 }
 #cybAccountThreadDialog .cyb-r4-highlight {margin-top:11px!important;padding-top:9px!important}
 #cybAccountThreadDialog .cyb-r4-highlight strong {font-size:17px!important}
 #cybAccountThreadDialog .cyb-register-dialog-foot {
  min-height:58px!important;padding:9px 20px!important;gap:10px!important;
 }
 #cybAccountThreadDialog .cyb-r4-footer-note {font-size:11px!important;gap:8px!important;font-weight:440!important}
 #cybAccountThreadDialog .cyb-r4-footer-note svg {width:16px!important;height:16px!important}
 #cybAccountThreadDialog .cyb-r4-controls {gap:7px!important}
 #cybAccountThreadDialog .cyb-r4-controls button,
 #cybAccountThreadDialog .cyb-r4-controls a {
  min-height:36px!important;padding:6px 11px!important;border-radius:8px!important;
  font-size:11px!important;font-weight:700!important;gap:6px!important;
  box-shadow:0 2px 5px rgba(7,68,108,.045)!important;letter-spacing:0!important;
 }
 #cybAccountThreadDialog .cyb-r4-controls button svg,
 #cybAccountThreadDialog .cyb-r4-controls a svg {width:15px!important;height:15px!important}
 #cybAccountThreadDialog .cyb-r4-controls .cyb-register-close {
  min-width:95px!important;box-shadow:0 3px 9px rgba(6,66,111,.10)!important;
 }
}
@media (min-width:901px) and (max-height:740px) {
 #cybAccountThreadDialog .cyb-register-dialog-head {min-height:88px!important;padding:12px 22px!important}
 #cybAccountThreadDialog .cyb-register-dialog-scroll {padding-block:10px!important}
 #cybAccountThreadDialog .cyb-register-dialog-foot {min-height:52px!important;padding-block:7px!important}
}
@media (min-width:761px) and (max-width:900px) {
 #cybAccountThreadDialog .cyb-register-dialog-head {min-height:108px!important;padding:17px 22px 14px!important}
 #cybAccountThreadDialog .cyb-r4-topline {margin-bottom:8px!important}
 #cybAccountThreadDialog h2 {font-size:26px!important}
 #cybAccountThreadDialog .cyb-register-dialog-scroll {padding:12px 16px 14px!important}
 #cybAccountThreadDialog .cyb-r4-metadata {margin-bottom:12px!important}
 #cybAccountThreadDialog .cyb-r4-metric {min-height:58px!important;gap:7px!important;padding:7px!important}
 #cybAccountThreadDialog .cyb-r4-metric svg {width:16px!important;height:16px!important;padding:7px!important}
 #cybAccountThreadDialog .cyb-r4-metric strong {font-size:11.5px!important;font-weight:700!important}
 #cybAccountThreadDialog .cyb-r4-progress {margin-bottom:11px!important}
 #cybAccountThreadDialog .cyb-r4-progress li {min-height:43px!important;gap:8px!important}
 #cybAccountThreadDialog .cyb-r4-progress .cyb-r4-dot {width:30px!important;height:30px!important;flex-basis:30px!important}
 #cybAccountThreadDialog .cyb-r4-summary {padding:13px!important}
 #cybAccountThreadDialog .cyb-r4-action {padding:16px 17px 39px!important}
 #cybAccountThreadDialog .cyb-r4-action-title {font-size:21px!important}
 #cybAccountThreadDialog .cyb-r4-action-copy {font-size:12.5px!important;line-height:1.45!important}
 #cybAccountThreadDialog .cyb-register-dialog-foot {min-height:60px!important;padding:9px 15px!important}
 #cybAccountThreadDialog .cyb-r4-controls button,
 #cybAccountThreadDialog .cyb-r4-controls a {min-height:39px!important;padding:7px 9px!important;font-size:11px!important;font-weight:700!important}
 #cybAccountThreadDialog .cyb-r4-controls button svg,
 #cybAccountThreadDialog .cyb-r4-controls a svg {width:15px!important;height:15px!important}
 #cybAccountThreadDialog .cyb-r4-controls .cyb-register-close {min-width:84px!important}
}
@media (max-width:760px) {
 #cybAccountThreadDialog .cyb-r4-content-head h3 {font-weight:750!important}
 #cybAccountThreadDialog .cyb-r4-action-title {font-weight:760!important}
 #cybAccountThreadDialog .cyb-r4-action-copy {line-height:1.46!important}
 #cybAccountThreadDialog .cyb-r4-metric strong {font-weight:710!important}
 #cybAccountThreadDialog .cyb-r4-detail>strong {font-weight:700!important}
 #cybAccountThreadDialog .cyb-register-dialog-foot {padding:10px 12px!important}
 #cybAccountThreadDialog .cyb-r4-controls {gap:7px!important}
 #cybAccountThreadDialog .cyb-r4-controls button,
 #cybAccountThreadDialog .cyb-r4-controls a {min-height:42px!important;font-size:11px!important;font-weight:700!important;box-shadow:none!important}
 #cybAccountThreadDialog .cyb-r4-controls button svg,
 #cybAccountThreadDialog .cyb-r4-controls a svg {width:16px!important;height:16px!important}
}
/* Decorative blue-and-gold ribbon stays BELOW the content instead of running across email text. */
#cybAccountThreadDialog .cyb-r4-action {isolation:isolate!important}
#cybAccountThreadDialog .cyb-r4-action::before {
  content:""!important;top:auto!important;left:0!important;right:0!important;bottom:-1px!important;
  width:100%!important;height:32px!important;transform:none!important;box-shadow:none!important;
  border:0!important;border-radius:0!important;
  clip-path:polygon(49% 100%,100% 0,100% 100%)!important;
  background:linear-gradient(120deg,#0876ae,#064c7d)!important;pointer-events:none!important;
}
#cybAccountThreadDialog .cyb-r4-action::after {
  content:""!important;top:auto!important;left:0!important;right:0!important;bottom:-1px!important;
  width:100%!important;height:39px!important;transform:none!important;
  clip-path:polygon(46% 100%,100% 0,100% 100%)!important;
  background:linear-gradient(120deg,#c9e7f8,#e3b140 94%,#f2c85f)!important;
  pointer-events:none!important;
}
#cybAccountThreadDialog .cyb-r4-action-head,
#cybAccountThreadDialog .cyb-r4-action-title,
#cybAccountThreadDialog .cyb-r4-action-copy,
#cybAccountThreadDialog .cyb-r4-highlight {position:relative;z-index:1}
@media (prefers-reduced-motion:reduce) {
 #cybAccountThreadDialog .cyb-r4-controls button,
 #cybAccountThreadDialog .cyb-r4-controls a {transition:none!important}
}

/* CYBERTEL-VIEWPORT-WIDTH-GUARD: keep the modal away from screen edges at
   browser zoom / HiDPI sizes, not just on conventional 1440px desktops. */
@media (min-width:761px) and (max-width:900px) {
 dialog#cybAccountThreadDialog[open],
 dialog#cybAccountThreadDialog[open][data-cyb-density="brief"] {
  width:min(780px,90vw)!important;
  max-width:min(780px,90vw)!important;
  max-height:min(88dvh,700px)!important;
 }
 #cybAccountThreadDialog .cyb-register-dialog { max-height:min(88dvh,700px)!important }
}
@media (max-width:760px) {
 dialog#cybAccountThreadDialog[open],
 dialog#cybAccountThreadDialog[open][data-cyb-density="brief"] {
  width:min(720px,92vw)!important;
  max-width:min(720px,92vw)!important;
  max-height:92dvh!important;
 }
 #cybAccountThreadDialog .cyb-register-dialog { max-height:92dvh!important }
}

/* CYBERTEL PHOTO CLEARANCE v8: remove the diagonal and the stripe over the photo. */
#cybAccountThreadDialog .cyb-register-dialog-head::after {
  content:none!important;
  display:none!important;
  background:none!important;
  box-shadow:none!important;
}
/* The thin horizontal gradient at the top also ran directly across the image. */
#cybAccountThreadDialog .cyb-register-dialog::before {
  content:none!important;
  display:none!important;
}
/* Let the genuine support photograph fill the right side with a soft edge,
   never a solid decorative panel, border, or obscuring diagonal. */
#cybAccountThreadDialog .cyb-r5-header-photo {
  width:40%!important;
  border:0!important;
  box-shadow:none!important;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.18) 14%,rgba(0,0,0,.86) 37%,#000 58%)!important;
  mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.18) 14%,rgba(0,0,0,.86) 37%,#000 58%)!important;
}
#cybAccountThreadDialog .cyb-r5-header-photo::after {
  content:none!important;
  display:none!important;
}
#cybAccountThreadDialog .cyb-r5-header-photo img {
  filter:none!important;
  object-fit:cover!important;
}
@media(max-width:760px) {
 #cybAccountThreadDialog .cyb-r5-header-photo {
   width:48%!important;
   -webkit-mask-image:linear-gradient(to right,transparent,rgba(0,0,0,.45) 30%,#000 68%)!important;
   mask-image:linear-gradient(to right,transparent,rgba(0,0,0,.45) 30%,#000 68%)!important;
 }
}

