/* Scale Xpert v0.4.38 - article editor redesign */
#modal.editor{width:min(1120px,97vw)!important;max-width:1120px!important;height:min(95vh,1040px)!important;max-height:95vh!important;background:#fff!important;border:1px solid #dfe5ed!important;border-radius:4px!important;box-shadow:0 18px 60px rgba(29,41,67,.2)!important}
#modal.editor .sx-article-modal-head{height:56px!important;padding:0 16px!important;background:#f4f7fb!important;border-bottom:1px solid #dfe5ed!important}
#modal.editor .sx-article-modal-head h2{font-size:16px!important;font-weight:700!important;color:#172033!important}
#modal.editor .sx-editor-head-actions{gap:8px!important}
#modal.editor .sx-editor-cancel,#modal.editor .sx-editor-save{height:38px!important;border-radius:5px!important;font-size:10px!important;padding:0 16px!important}
#modal.editor .sx-article-editor-body{height:calc(95vh - 56px)!important;max-height:984px!important;overflow:auto!important;padding:16px!important;background:#fff!important;display:block!important}
#modal.editor .sx-editor-fieldset{display:grid!important;gap:18px!important}
#modal.editor .sx-editor-accordion{display:block!important;border:0!important;border-radius:0!important;background:#fff!important;overflow:visible!important}
#modal.editor .sx-editor-accordion>summary{list-style:none!important;min-height:38px!important;padding:0 12px!important;background:#f4f6f8!important;border:1px solid #edf0f4!important;border-radius:4px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;font-size:11px!important;font-weight:700!important;color:#222b3b!important;cursor:pointer!important}
#modal.editor .sx-editor-accordion>summary::-webkit-details-marker{display:none!important}
#modal.editor .sx-editor-accordion>summary .sx-summary-right{display:flex!important;align-items:center!important;gap:8px!important;color:#677385!important;font-weight:500!important}
#modal.editor .sx-editor-accordion[open]>summary .sx-inline-icon{transform:rotate(180deg)}
#modal.editor .sx-editor-accordion-body{padding:12px 0 0!important}
#modal.editor .sx-source-select{width:230px!important;height:34px!important;margin:0 0 12px 0!important;border:1px solid #dce2ea!important;border-radius:4px!important;background:#fff!important;padding:0 30px 0 10px!important;font-size:9px!important;color:#2d3748!important}
#modal.editor .sx-competitor-metrics{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;margin:0!important}
#modal.editor .sx-competitor-metrics article{min-height:94px!important;padding:11px 12px!important;border:1px solid #e4e8ee!important;border-radius:4px!important;background:#fff!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important}
#modal.editor .sx-metric-label{display:flex!important;align-items:center!important;gap:5px!important;font-size:8px!important;font-weight:700!important;color:#6a7483!important;letter-spacing:.02em!important}
#modal.editor .sx-competitor-metrics b{font-size:19px!important;line-height:1.1!important;color:#172033!important;margin-top:2px!important}
#modal.editor .sx-competitor-metrics small{font-size:8px!important;color:#8a93a1!important}
#modal.editor .sx-metric-link{border:0!important;background:transparent!important;color:#2f72c5!important;padding:0!important;margin-top:auto!important;font-size:8px!important;font-weight:600!important;cursor:pointer!important}
#modal.editor .sx-metric-muted{margin-top:auto!important;font-size:8px!important;color:#a0a7b1!important}
#modal.editor .sx-competitor-source-list{margin-top:8px!important;border:1px solid #e6eaf0!important;background:#fff!important;padding:10px 12px!important;max-height:170px!important;overflow:auto!important}
#modal.editor .sx-competitor-source-list.hidden{display:none!important}
#modal.editor .sx-list-title{font-size:9px!important;font-weight:700!important;color:#485366!important;margin-bottom:6px!important}
#modal.editor .sx-source-row{display:flex!important;align-items:center!important;gap:8px!important;padding:6px 0!important;border-bottom:1px solid #f0f2f5!important;font-size:9px!important;color:#5f6978!important}
#modal.editor .sx-source-row:last-child{border-bottom:0!important}
#modal.editor .sx-source-row span{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#modal.editor .sx-generated-reference{padding-top:12px!important}
#modal.editor .sx-editor-field-block{display:grid!important;gap:6px!important;margin-bottom:16px!important}
#modal.editor .sx-editor-field-label{display:flex!important;align-items:baseline!important;gap:7px!important;font-size:10px!important;font-weight:650!important;color:#2b6fb5!important}
#modal.editor .sx-editor-field-label>span:last-child{color:#6f7888!important;font-weight:500!important}
#modal.editor .sx-editor-meter{width:min(360px,65%)!important;height:5px!important;background:#e9ecef!important;border-radius:999px!important;overflow:hidden!important;margin-top:-1px!important}
#modal.editor .sx-editor-meter i{display:block!important;height:100%!important;background:#18b784!important;border-radius:999px!important}
#modal.editor .sx-editor-control{position:relative!important;display:block!important}
#modal.editor .sx-editor-control input,#modal.editor .sx-editor-control textarea,#modal.editor .sx-editor-field-block>input,#modal.editor .sx-editor-select{width:100%!important;box-sizing:border-box!important;border:1px solid #dfe4eb!important;border-radius:3px!important;background:#fff!important;color:#273142!important;font-size:10px!important;padding:9px 36px 9px 10px!important;outline:0!important}
#modal.editor .sx-editor-control input,#modal.editor .sx-editor-field-block>input,#modal.editor .sx-editor-select{height:36px!important}
#modal.editor .sx-editor-control textarea{min-height:74px!important;resize:vertical!important;line-height:1.5!important}
#modal.editor .sx-icon-button{position:absolute!important;right:7px!important;top:50%!important;transform:translateY(-50%)!important;width:26px!important;height:26px!important;border:0!important;background:transparent!important;color:#778191!important;display:grid!important;place-items:center!important;padding:0!important;cursor:pointer!important;border-radius:4px!important}
#modal.editor .sx-icon-button:hover{background:#f4f6f9!important;color:#315f99!important}
#modal.editor .sx-field-help{font-size:8px!important;color:#8a93a1!important;line-height:1.45!important}
#modal.editor .sx-editor-subheading{font-size:10px!important;font-weight:650!important;color:#2b6fb5!important;margin:4px 0 8px!important}
#modal.editor .sx-editor-cover-block{margin-top:4px!important}
#modal.editor .sx-cover-reference{position:relative!important;width:100%!important;max-height:460px!important;margin:0 0 12px!important;border-radius:5px!important;overflow:hidden!important;background:#edf1f4!important}
#modal.editor .sx-cover-reference img{width:100%!important;max-height:460px!important;object-fit:cover!important;display:block!important}
#modal.editor .sx-cover-tools{position:absolute!important;right:8px!important;top:8px!important;display:flex!important;gap:5px!important}
#modal.editor .sx-cover-tools .sx-icon-button{position:static!important;transform:none!important;background:rgba(255,255,255,.92)!important;box-shadow:0 1px 4px rgba(0,0,0,.1)!important}
#modal.editor .sx-cover-blank{height:220px!important;width:100%!important;margin:0 0 12px!important;border:1px solid #e6eaf0!important;border-radius:5px!important;background:#f8fafc!important}
#modal.editor .sx-editor-images-block{margin-top:4px!important;margin-bottom:20px!important}
#modal.editor .sx-article-image-reference{display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;padding:8px!important;border:1px solid #e7ebf0!important;background:#fafbfc!important}
#modal.editor .sx-article-image-reference img{width:92px!important;height:62px!important;object-fit:cover!important;border-radius:3px!important}
#modal.editor .sx-article-image-reference div{display:grid!important;gap:5px!important}
#modal.editor .sx-article-image-reference label{font-size:8px!important;color:#727c8c!important}
#modal.editor .sx-article-image-reference input{height:34px!important;border:1px solid #dfe4eb!important;padding:0 9px!important;font-size:9px!important}
#modal.editor .sx-article-images-empty{height:64px!important;border:1px solid #edf0f4!important;background:#fafbfc!important}
#modal.editor .sx-editor-content-block{margin-top:6px!important}
#modal.editor .sx-editor-content-head{display:flex!important;align-items:center!important;gap:10px!important;margin-bottom:8px!important}
#modal.editor .sx-editor-content-head>span:first-child{font-size:10px!important;font-weight:650!important;color:#2b6fb5!important;margin-right:2px!important}
#modal.editor .sx-editor-tabs{display:flex!important;align-items:center!important;gap:3px!important}
#modal.editor .sx-editor-tabs button,#modal.editor .sx-copy-content{height:28px!important;display:inline-flex!important;align-items:center!important;gap:5px!important;border:0!important;border-radius:3px!important;background:transparent!important;color:#778191!important;font-size:9px!important;padding:0 7px!important;cursor:pointer!important}
#modal.editor .sx-editor-tabs button.active{background:#fff!important;color:#2f6eb3!important;box-shadow:0 0 0 1px #dfe4eb!important}
#modal.editor .sx-copy-content{margin-left:auto!important}
#modal.editor .sx-content-pane{padding:0!important}
#modal.editor .sx-rich-toolbar{height:42px!important;display:flex!important;align-items:center!important;gap:2px!important;padding:0 8px!important;border:1px solid #dfe4eb!important;border-bottom:0!important;background:#fff!important;color:#263143!important}
#modal.editor .sx-rich-toolbar button{width:32px!important;height:30px!important;border:0!important;background:transparent!important;color:#263143!important;border-radius:3px!important;display:grid!important;place-items:center!important;padding:0!important;font-size:10px!important;cursor:pointer!important}
#modal.editor .sx-rich-toolbar button:hover{background:#f1f4f7!important}
#modal.editor .sx-rich-toolbar b,#modal.editor .sx-rich-toolbar i{font-size:13px!important}
#modal.editor .sx-toolbar-divider{width:1px!important;height:18px!important;background:#e2e6ec!important;margin:0 4px!important}
#modal.editor .sx-rich-editor{min-height:470px!important;max-height:none!important;border:1px solid #dfe4eb!important;background:#fff!important;padding:26px 20px!important;outline:0!important;color:#1d2737!important;font-size:12px!important;line-height:1.65!important;overflow:auto!important}
#modal.editor .sx-rich-editor:focus{border-color:#b9c9de!important;box-shadow:inset 0 0 0 1px #e7eef7!important}
#modal.editor .sx-rich-editor h1{font-size:24px!important;line-height:1.25!important;margin:24px 0 12px!important}
#modal.editor .sx-rich-editor h2{font-size:20px!important;line-height:1.3!important;margin:22px 0 10px!important}
#modal.editor .sx-rich-editor h3{font-size:16px!important;line-height:1.35!important;margin:18px 0 8px!important}
#modal.editor .sx-rich-editor p{margin:0 0 14px!important}
#modal.editor .sx-rich-editor img{max-width:100%!important;height:auto!important}
#modal.editor .sx-rich-editor table{width:100%!important;border-collapse:collapse!important;margin:16px 0!important}
#modal.editor .sx-rich-editor th,#modal.editor .sx-rich-editor td{border:1px solid #dfe4eb!important;padding:8px!important;text-align:left!important}
#modal.editor .sx-rich-editor th{background:#f5f7f9!important;font-weight:700!important}
#modal.editor .sx-rich-count{text-align:right!important;color:#7f8997!important;font-size:8px!important;padding-top:5px!important}
#modal.editor #article-preview{width:100%!important;height:560px!important;border:1px solid #dfe4eb!important;background:#fff!important}
#modal.editor .sx-inline-icon{display:block!important;flex:0 0 auto!important}
#modal.editor .sx-editor-hidden-fields{display:none!important}
#modal.editor .sx-editor-review{display:none!important}
@media(max-width:900px){
  #modal.editor{width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;border-radius:0!important}
  #modal.editor .sx-article-editor-body{height:calc(100vh - 56px)!important;max-height:none!important;padding:10px!important}
  #modal.editor .sx-competitor-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #modal.editor .sx-editor-meter{width:100%!important}
  #modal.editor .sx-rich-toolbar{overflow-x:auto!important}
  #modal.editor .sx-rich-editor{min-height:380px!important}
}
