/* My Cybertel / Service Dossier v5 — photo-led editorial composition.
   Inherits the approved Windy/home visual system, not a separate admin template.
   Scoped entirely to the existing, accessible request dialog. */
dialog#cybAccountThreadDialog[open]{
 width:min(770px,calc(100vw - 28px))!important;
 max-width:calc(100vw - 28px)!important;
 max-height:min(655px,calc(100dvh - 28px))!important;
 border:1px solid #dae7ef!important;border-radius:17px!important;
 box-shadow:0 30px 90px rgba(4,34,59,.25)!important;
}
#cybAccountThreadDialog .cyb-register-dialog:before{
 height:2px!important;background:linear-gradient(90deg,#0c527e 0%,#268ab9 61%,#d7ab50 100%)!important;
}
#cybAccountThreadDialog .cyb-register-dialog-head{
 position:relative;isolation:isolate;overflow:hidden;
 padding:18px 25px 17px!important;min-height:104px;
 align-items:center!important;
 background:radial-gradient(ellipse at 88% 0,rgba(222,242,252,.6),transparent 62%),
 linear-gradient(105deg,#fff 0%,#fff 54%,#f7fbfd 100%)!important;
 border-bottom:1px solid #e6edf2!important;
}
#cybAccountThreadDialog .cyb-r4-header-lockup{
 position:relative;z-index:2;max-width:78%;align-items:center;
}
/* Keep photography behind the copy: no hard rectangular edges or image cards. */
#cybAccountThreadDialog .cyb-r5-header-photo{
 position:absolute;inset:0 0 0 auto;z-index:0;display:block;
 width:32%;margin:0;padding:0;opacity:.76;pointer-events:none;
 -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.53) 26%,#000 72%);
 mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.53) 26%,#000 72%);
}
#cybAccountThreadDialog .cyb-r5-header-photo[hidden]{display:none!important}
#cybAccountThreadDialog .cyb-r5-header-photo img{
 display:block;width:100%;height:100%;object-fit:cover;object-position:center 48%;
 filter:saturate(.85) contrast(1.035);pointer-events:none;
}
#cybAccountThreadDialog .cyb-r5-header-photo:after{
 content:"";position:absolute;inset:0;
 background:linear-gradient(90deg,rgba(255,255,255,.6),rgba(255,255,255,0) 60%);
}
/* The old document-icon tile is what made the dialog feel like a form template. */
#cybAccountThreadDialog .cyb-r4-mark{display:none!important}
#cybAccountThreadDialog .cyb-r4-titlegroup{min-width:0;max-width:100%}
#cybAccountThreadDialog .cyb-r4-topline{
 gap:10px!important;margin:0 0 8px!important;flex-wrap:wrap!important;
}
#cybAccountThreadDialog .cyb-register-overline{
 font-size:10px!important;font-weight:800!important;letter-spacing:.17em!important;
 color:#5c7f96!important;
}
#cybAccountThreadDialog .cyb-register-reference{
 border:0!important;border-left:1px solid #c8dce8!important;padding:1px 0 1px 12px!important;
 background:none!important;border-radius:0!important;color:#316b91!important;
 font-size:10.7px!important;font-weight:760!important;
}
#cybAccountThreadDialog .cyb-r4-titleline{align-items:center!important;gap:12px!important}
#cybAccountThreadDialog h2{
 font-size:clamp(23px,2.7vw,29px)!important;line-height:1.13!important;
 font-weight:795!important;letter-spacing:-.044em!important;color:#103b58!important;
}
#cybAccountThreadDialog .cyb-register-stage-chip{
 padding:5px 10px!important;border-radius:999px!important;font-size:10.5px!important;
 background:rgba(234,246,252,.92);backdrop-filter:blur(3px);
}
#cybAccountThreadDialog .cyb-register-x{
 position:absolute!important;right:23px;top:20px;z-index:5;
 width:32px!important;height:32px!important;border:1px solid #dbe6ed!important;
 border-radius:8px!important;background:rgba(255,255,255,.95)!important;
 font-size:21px!important;
}
#cybAccountThreadDialog .cyb-register-dialog-scroll{
 padding:15px 25px 16px!important;background:#fff!important;
}
/* One calm fact line. The content, rather than a card background, provides hierarchy. */
#cybAccountThreadDialog .cyb-r4-metadata{
 margin:0 0 13px!important;padding:0 0 13px!important;
 border:0!important;border-bottom:1px solid #e0eaf1!important;border-radius:0!important;
 background:transparent!important;
}
#cybAccountThreadDialog .cyb-r4-metric{
 gap:9px!important;padding:0 16px!important;border-right:1px solid #e3ebf1!important;
}
#cybAccountThreadDialog .cyb-r4-metric:first-child{padding-left:0!important}
#cybAccountThreadDialog .cyb-r4-metric:last-child{border:0!important;padding-right:0!important}
#cybAccountThreadDialog .cyb-r4-metric svg{
 width:16px!important;height:16px!important;color:#4c8bae!important;margin-top:3px!important;
}
#cybAccountThreadDialog .cyb-r4-metric div{gap:2px!important}
#cybAccountThreadDialog .cyb-r4-metric span{
 font-size:9px!important;letter-spacing:.11em!important;font-weight:800!important;color:#708b9e!important;
}
#cybAccountThreadDialog .cyb-r4-metric strong{
 font-size:12px!important;font-weight:690!important;color:#1a4563!important;
}
/* Magazine-like journey: each stage is a concise segment, never a bulky wizard. */
#cybAccountThreadDialog .cyb-r4-progress{margin:0 0 15px!important}
#cybAccountThreadDialog .cyb-r4-section-kicker{
 font-size:9.5px!important;font-weight:810!important;letter-spacing:.13em!important;color:#64879b!important;
}
#cybAccountThreadDialog .cyb-r4-progress ol{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 column-gap:14px!important;row-gap:7px!important;margin:7px 0 0!important;
}
#cybAccountThreadDialog .cyb-r4-progress li{
 position:relative;display:flex!important;align-items:center!important;
 min-width:0;gap:8px!important;padding:3px 0 8px!important;
 border-bottom:1px solid #e5ecf1!important;
}
#cybAccountThreadDialog .cyb-r4-progress li:after{display:none!important}
#cybAccountThreadDialog .cyb-r4-progress li.is-complete{border-color:#2d879f!important}
#cybAccountThreadDialog .cyb-r4-progress li.is-current{border-color:#d3a64b!important}
#cybAccountThreadDialog .cyb-r4-progress .cyb-r4-dot{
 width:23px!important;height:23px!important;flex:none!important;
 font-size:10px!important;border-width:1px!important;
 box-shadow:none!important;
}
#cybAccountThreadDialog .cyb-r4-progress li.is-current .cyb-r4-dot{
 background:#fdf8ef!important;border-color:#d7ad58!important;color:#91691e!important;
}
#cybAccountThreadDialog .cyb-r4-progress .cyb-r4-steptext{
 display:grid;gap:2px!important;min-width:0;padding:0!important;
 background:transparent!important;
}
#cybAccountThreadDialog .cyb-r4-progress strong{
 font-size:11.5px!important;font-weight:770!important;color:#244e69!important;
}
#cybAccountThreadDialog .cyb-r4-progress small{font-size:10px!important;color:#8298a8!important}
#cybAccountThreadDialog .cyb-r4-workspace{
 display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;
 gap:18px!important;align-items:start!important;
}
#cybAccountThreadDialog .cyb-r4-summary{
 padding:3px 1px 0!important;min-width:0;
}
#cybAccountThreadDialog .cyb-r4-content-head{
 margin:0 0 8px!important;gap:8px!important;
}
#cybAccountThreadDialog .cyb-r4-content-head h3{
 font-size:13px!important;letter-spacing:-.015em!important;
 color:#174968!important;font-weight:790!important;
}
#cybAccountThreadDialog .cyb-r4-content-head svg{color:#2a82ad!important;width:16px!important;height:16px!important}
#cybAccountThreadDialog .cyb-r4-customer-note{
 font-size:13px!important;line-height:1.57!important;font-weight:480!important;
 padding:1px 0 1px 12px!important;
 border-left:2px solid #b5d7e8!important;color:#3b617a!important;
}
#cybAccountThreadDialog .cyb-r4-details{margin-top:13px!important;gap:9px 14px!important}
#cybAccountThreadDialog .cyb-r4-action{
 position:relative;overflow:hidden;min-width:0;
 padding:14px 16px 15px!important;border-radius:11px!important;
 background:linear-gradient(165deg,#f5faff 0%,#fcfeff 55%,#fff 100%)!important;
 border:1px solid #dbe9f2!important;box-shadow:none!important;
}
#cybAccountThreadDialog .cyb-r4-action:before{
 content:"";position:absolute;top:0;left:0;right:0;height:2px;
 background:linear-gradient(90deg,#1f83b8 0%,#6ab2d1 58%,#e4b959 100%);
}
#cybAccountThreadDialog .cyb-r4-action-head{margin-bottom:7px!important;gap:9px!important}
#cybAccountThreadDialog .cyb-r4-action-badge{
 width:27px!important;height:27px!important;border-radius:8px!important;
 background:#e8f4fa!important;color:#1679a8!important;
}
#cybAccountThreadDialog .cyb-r4-action-title{
 font-size:17px!important;font-weight:780!important;line-height:1.25!important;
 margin:0 0 8px!important;color:#0d3e60!important;
}
#cybAccountThreadDialog .cyb-r4-action-copy{
 font-size:12px!important;line-height:1.58!important;color:#54778d!important;
}
#cybAccountThreadDialog .cyb-r4-highlight{
 margin-top:11px!important;padding-top:10px!important;border-color:#dbe8ef!important;
}
#cybAccountThreadDialog .cyb-r4-highlight strong{
 font-size:18px!important;font-weight:800!important;color:#124968!important;
}
#cybAccountThreadDialog .cyb-register-dialog-foot{
 min-height:52px!important;padding:8px 25px!important;
 background:linear-gradient(180deg,#fff,#fcfeff)!important;
 border-top:1px solid #e1eaf0!important;
}
#cybAccountThreadDialog .cyb-r4-footer-note{font-size:10.5px!important;color:#6a8598!important}
#cybAccountThreadDialog .cyb-r4-controls .cyb-register-close{
 background:#0e4e78!important;border-color:#0e4e78!important;
 border-radius:8px!important;min-width:83px!important;
}
#cybAccountThreadDialog .cyb-r4-controls .cyb-register-close:hover{
 background:#09668d!important;
}
/* Original content and all controls remain accessible. */
@media(max-width:760px){
 dialog#cybAccountThreadDialog[open]{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important}
 #cybAccountThreadDialog .cyb-register-dialog-head{padding:17px 20px 16px!important;min-height:94px}
 #cybAccountThreadDialog .cyb-r5-header-photo{width:29%;opacity:.5}
 #cybAccountThreadDialog .cyb-r4-header-lockup{max-width:88%}
 #cybAccountThreadDialog .cyb-register-dialog-scroll{padding:14px 20px 15px!important}
 #cybAccountThreadDialog .cyb-r4-workspace{gap:17px!important}
 #cybAccountThreadDialog .cyb-register-dialog-foot{padding:9px 20px!important}
}
@media(max-width:600px){
 dialog#cybAccountThreadDialog[open]{width:calc(100vw - 12px)!important;max-width:calc(100vw - 12px)!important;max-height:calc(100dvh - 12px)!important}
 #cybAccountThreadDialog .cyb-register-dialog{max-height:calc(100dvh - 12px)!important}
 #cybAccountThreadDialog .cyb-register-dialog-head{padding:15px 16px 14px!important;min-height:0}
 #cybAccountThreadDialog .cyb-r5-header-photo{display:none!important}
 #cybAccountThreadDialog .cyb-r4-header-lockup{max-width:calc(100% - 42px)}
 #cybAccountThreadDialog .cyb-r4-topline{margin-bottom:9px!important}
 #cybAccountThreadDialog h2{font-size:clamp(22px,5.8vw,26px)!important}
 #cybAccountThreadDialog .cyb-register-x{top:17px;right:14px}
 #cybAccountThreadDialog .cyb-register-dialog-scroll{padding:14px 16px 15px!important}
 #cybAccountThreadDialog .cyb-r4-metadata{grid-template-columns:repeat(2,minmax(0,1fr))!important;row-gap:11px;margin-bottom:15px!important;padding-bottom:14px!important}
 #cybAccountThreadDialog .cyb-r4-metric{padding:0 10px!important}
 #cybAccountThreadDialog .cyb-r4-metric:first-child{padding-left:0!important}
 #cybAccountThreadDialog .cyb-r4-metric:last-child{grid-column:1/-1;border:0!important;border-top:1px solid #e7edf2!important;padding:9px 0 0!important}
 #cybAccountThreadDialog .cyb-r4-progress ol{column-gap:7px!important}
 #cybAccountThreadDialog .cyb-r4-progress li{gap:5px!important;align-items:flex-start!important}
 #cybAccountThreadDialog .cyb-r4-progress .cyb-r4-steptext{padding:3px 0 0!important}
 #cybAccountThreadDialog .cyb-r4-progress strong{font-size:10.5px!important}
 #cybAccountThreadDialog .cyb-r4-progress small{font-size:9px!important}
 #cybAccountThreadDialog .cyb-r4-workspace{grid-template-columns:1fr!important;gap:14px!important}
 #cybAccountThreadDialog .cyb-r4-summary{padding:0!important}
 #cybAccountThreadDialog .cyb-r4-action{padding:16px!important}
 #cybAccountThreadDialog .cyb-register-dialog-foot{padding:10px 16px!important}
}
@media(max-width:410px){
 #cybAccountThreadDialog .cyb-r4-progress li{display:grid!important;align-content:start;gap:5px!important}
 #cybAccountThreadDialog .cyb-r4-progress .cyb-r4-dot{width:22px!important;height:22px!important}
 #cybAccountThreadDialog .cyb-r4-metric:last-child{grid-column:1/-1}
 #cybAccountThreadDialog .cyb-r4-controls{gap:5px}
 #cybAccountThreadDialog .cyb-r4-controls :is(a,button){min-height:34px!important;padding:7px 10px!important}
}
@media(prefers-reduced-motion:reduce){
 #cybAccountThreadDialog *{transition:none!important;animation:none!important}
}
/* Child dialog height follows the capped viewport so footer controls cannot clip. */
#cybAccountThreadDialog .cyb-register-dialog{
 max-height:min(655px,calc(100dvh - 28px))!important;
}
/* Density follows the information actually submitted, not a fabricated record. */
dialog#cybAccountThreadDialog[open][data-cyb-density="brief"]{
 width:min(710px,calc(100vw - 28px))!important;
}
#cybAccountThreadDialog[data-cyb-density="brief"] .cyb-r4-workspace{
 grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr)!important;
}
#cybAccountThreadDialog[data-cyb-density="brief"] .cyb-register-dialog-scroll{
 padding-bottom:14px!important;
}
#cybAccountThreadDialog .cyb-register-reference{
 max-width:min(100%,260px);overflow-wrap:anywhere;word-break:normal;
}
#cybAccountThreadDialog .cyb-r4-progress li.is-current{
 border-bottom-width:2px!important;
}
#cybAccountThreadDialog .cyb-r4-progress li.is-complete{
 border-bottom-width:1px!important;
}
/* As the viewport narrows, preserve true text and complete references. */
@media(max-width:760px){
 dialog#cybAccountThreadDialog[open][data-cyb-density="brief"]{
  width:calc(100vw - 20px)!important;
 }
 #cybAccountThreadDialog[data-cyb-density="brief"] .cyb-r4-workspace{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
 }
}
@media(max-width:600px){
 dialog#cybAccountThreadDialog[open][data-cyb-density="brief"]{
  width:calc(100vw - 12px)!important;
 }
 #cybAccountThreadDialog[data-cyb-density="brief"] .cyb-r4-workspace{
  grid-template-columns:1fr!important;
 }
 #cybAccountThreadDialog .cyb-register-reference{
  max-width:calc(100vw - 102px);font-size:10px!important;
 }
 #cybAccountThreadDialog .cyb-r4-metadata{margin-bottom:12px!important}
 #cybAccountThreadDialog .cyb-r4-progress{margin-bottom:12px!important}
}
