/* MiKO Writer Compose v3 — reference-matched newsroom editor */
body.miko-ref-writer-page .miko-wd-shell,
body.miko-ref-writer-page .miko-wd-shell *,
body.miko-ref-writer-page .miko-writer-editor-ref,
body.miko-ref-writer-page .miko-writer-editor-ref *{box-sizing:border-box}

body.miko-ref-writer-page .miko-wd-shell{
  width:min(100% - 28px,1520px)!important;
  margin:0 auto!important;
  padding:18px 0 44px!important;
}

body.miko-ref-writer-page .miko-wd-breadcrumb{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  margin:0 0 14px!important;
  color:#6c84a0!important;
  font-size:11px!important;
}
body.miko-ref-writer-page .miko-wd-breadcrumb a{
  color:#3b74bb!important;
  text-decoration:none!important;
}
body.miko-ref-writer-page .miko-wd-breadcrumb strong{color:#244c7c!important}

body.miko-ref-writer-page .miko-wd-intro{
  min-height:140px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.55fr) minmax(320px,.75fr)!important;
  gap:18px!important;
  align-items:center!important;
  margin:0 0 16px!important;
  padding:22px 28px!important;
  border:1px solid #d9e8f5!important;
  border-radius:22px!important;
  background:
    radial-gradient(circle at 92% 15%,rgba(88,161,255,.13),transparent 24%),
    linear-gradient(135deg,#ffffff 0%,#fbfdff 55%,#eef6ff 100%)!important;
  box-shadow:0 14px 34px rgba(23,73,124,.08)!important;
  overflow:hidden!important;
}
body.miko-ref-writer-page .miko-wd-intro-copy{
  display:flex!important;
  align-items:center!important;
  gap:20px!important;
  min-width:0!important;
}
body.miko-ref-writer-page .miko-wd-intro-icon{
  width:70px!important;
  height:70px!important;
  flex:0 0 70px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:18px!important;
  color:#fff!important;
  background:linear-gradient(145deg,#2287ff,#0e61dc)!important;
  box-shadow:0 12px 26px rgba(14,97,220,.25)!important;
}
body.miko-ref-writer-page .miko-wd-intro-icon svg{width:34px!important;height:34px!important}
body.miko-ref-writer-page .miko-wd-intro h1{
  margin:0!important;
  color:#11396e!important;
  font-size:31px!important;
  line-height:1.16!important;
  font-weight:950!important;
}
body.miko-ref-writer-page .miko-wd-intro p{
  margin:7px 0 0!important;
  color:#66809e!important;
  font-size:12px!important;
}
body.miko-ref-writer-page .miko-wd-intro blockquote{
  position:relative!important;
  min-height:92px!important;
  margin:0!important;
  padding:20px 24px 20px 60px!important;
  border:1px solid #d4e4f3!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.68)!important;
  color:#153b6d!important;
  font-size:16px!important;
  line-height:1.55!important;
  font-weight:900!important;
  text-align:center!important;
  display:grid!important;
  place-items:center!important;
}
body.miko-ref-writer-page .miko-wd-intro blockquote:before{
  content:"“"!important;
  position:absolute!important;
  left:20px!important;
  top:11px!important;
  color:#2a70ca!important;
  font-size:48px!important;
  line-height:1!important;
  font-family:Georgia,serif!important;
}
body.miko-ref-writer-page .miko-wd-intro blockquote i{
  display:block!important;
  width:48px!important;
  height:3px!important;
  margin-top:7px!important;
  border-radius:999px!important;
  background:#1f79e9!important;
}

body.miko-ref-writer-page .miko-wd-dashboard{min-width:0!important}
body.miko-ref-writer-page .miko-writer{max-width:none!important;width:100%!important}
body.miko-ref-writer-page .miko-writer-editor-ref{
  width:100%!important;
  min-width:0!important;
  padding:0!important;
  background:transparent!important;
  border-radius:0!important;
}

body.miko-ref-writer-page .miko-editor-page-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  padding:2px 2px 14px!important;
}
body.miko-ref-writer-page .miko-editor-page-head>div{
  position:relative!important;
  min-width:0!important;
  padding-left:48px!important;
}
body.miko-ref-writer-page .miko-editor-page-head>div:before{
  content:"✎"!important;
  position:absolute!important;
  left:0!important;
  top:1px!important;
  width:36px!important;
  height:36px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  color:#0f6ee5!important;
  background:#e9f4ff!important;
  font-size:18px!important;
  font-weight:900!important;
}
body.miko-ref-writer-page .miko-editor-page-head h1{
  margin:0!important;
  color:#11396e!important;
  font-size:27px!important;
  line-height:1.15!important;
  font-weight:950!important;
}
body.miko-ref-writer-page .miko-editor-page-head p{
  margin:5px 0 0!important;
  color:#7287a0!important;
  font-size:11px!important;
}
body.miko-ref-writer-page .miko-editor-page-head .miko-outline-btn{
  min-height:44px!important;
  padding:0 18px!important;
  border:1px solid #1e76e6!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#1269d8!important;
  font-size:10px!important;
  font-weight:900!important;
}

body.miko-ref-writer-page .miko-editor-steps{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  margin:0 0 16px!important;
  padding:7px 10px!important;
  border:1px solid #d8e5f1!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 6px 18px rgba(17,66,115,.035)!important;
}
body.miko-ref-writer-page .miko-editor-steps span{
  min-width:0!important;
  height:44px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  position:relative!important;
  color:#6f8299!important;
  font-size:10px!important;
  font-weight:900!important;
}
body.miko-ref-writer-page .miko-editor-steps span:not(:last-child):after{
  content:""!important;
  position:absolute!important;
  right:0!important;
  width:1px!important;
  height:23px!important;
  background:#dce6f0!important;
}
body.miko-ref-writer-page .miko-editor-steps span b{
  width:28px!important;
  height:28px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:#edf3f9!important;
  color:#6a8099!important;
  font-size:10px!important;
}
body.miko-ref-writer-page .miko-editor-steps span.active{
  color:#0c6dde!important;
}
body.miko-ref-writer-page .miko-editor-steps span.active b{
  background:linear-gradient(145deg,#1d83ff,#0d68df)!important;
  color:#fff!important;
  box-shadow:0 5px 12px rgba(13,104,223,.18)!important;
}

body.miko-ref-writer-page .miko-editor-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 310px!important;
  gap:16px!important;
  align-items:start!important;
  min-width:0!important;
}
body.miko-ref-writer-page .miko-editor-layout>main,
body.miko-ref-writer-page .miko-editor-layout>aside{
  min-width:0!important;
  max-width:100%!important;
}
body.miko-ref-writer-page .miko-editor-layout>main{
  display:grid!important;
  gap:14px!important;
}
body.miko-ref-writer-page .miko-editor-layout>aside{
  position:sticky!important;
  top:82px!important;
  display:grid!important;
  gap:13px!important;
}

body.miko-ref-writer-page .miko-editor-card,
body.miko-ref-writer-page .miko-editor-tip{
  min-width:0!important;
  padding:18px!important;
  border:1px solid #dbe7f2!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 7px 20px rgba(18,68,116,.045)!important;
}

body.miko-ref-writer-page .miko-editor-card>h2{
  position:relative!important;
  min-height:36px!important;
  display:flex!important;
  align-items:center!important;
  margin:0 0 14px!important;
  padding-left:48px!important;
  color:#11396d!important;
  font-size:15px!important;
  line-height:1.25!important;
  font-weight:950!important;
}
body.miko-ref-writer-page .miko-editor-card>h2:before{
  position:absolute!important;
  left:0!important;
  top:0!important;
  width:36px!important;
  height:36px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:10px!important;
  background:#eaf4ff!important;
  color:#0d6fdf!important;
  font-size:16px!important;
  font-weight:900!important;
}
body.miko-ref-writer-page .miko-editor-layout main>.miko-editor-card:nth-of-type(1)>h2:before{content:"✎"!important}
body.miko-ref-writer-page .miko-editor-layout main>.miko-editor-card:nth-of-type(2)>h2:before{content:"▧"!important}
body.miko-ref-writer-page .miko-editor-layout main>.miko-editor-card:nth-of-type(3)>h2:before{content:"▤"!important}
body.miko-ref-writer-page .miko-editor-layout main>.miko-editor-card:nth-of-type(4)>h2:before{content:"⚙"!important}
body.miko-ref-writer-page .miko-editor-layout main>.miko-editor-card:nth-of-type(5)>h2:before{content:"SEO"!important;font-size:8px!important}

body.miko-ref-writer-page .miko-editor-card>label{
  display:grid!important;
  gap:6px!important;
  margin:0 0 13px!important;
  color:#284a6d!important;
  font-size:10px!important;
  font-weight:900!important;
}
body.miko-ref-writer-page .miko-editor-card label em{color:#e92749!important;font-style:normal!important}
body.miko-ref-writer-page .miko-editor-card label small{
  justify-self:end!important;
  color:#93a3b3!important;
  font-size:8px!important;
}

body.miko-ref-writer-page .miko-editor-card input[type=text],
body.miko-ref-writer-page .miko-editor-card input[type=datetime-local],
body.miko-ref-writer-page .miko-editor-card textarea,
body.miko-ref-writer-page .miko-editor-card select{
  width:100%!important;
  max-width:100%!important;
  border:1px solid #d6e2ee!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#1c4068!important;
  box-shadow:none!important;
  padding:10px 12px!important;
  font-size:10px!important;
  outline:none!important;
}
body.miko-ref-writer-page .miko-editor-card input[type=text]:focus,
body.miko-ref-writer-page .miko-editor-card input[type=datetime-local]:focus,
body.miko-ref-writer-page .miko-editor-card textarea:focus,
body.miko-ref-writer-page .miko-editor-card select:focus{
  border-color:#65a9ef!important;
  box-shadow:0 0 0 3px rgba(53,137,231,.09)!important;
}
body.miko-ref-writer-page .miko-editor-card input[type=text],
body.miko-ref-writer-page .miko-editor-card input[type=datetime-local],
body.miko-ref-writer-page .miko-editor-card select{height:42px!important}
body.miko-ref-writer-page .miko-editor-card textarea{resize:vertical!important}
body.miko-ref-writer-page .miko-editor-two{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:12px!important;
}
body.miko-ref-writer-page .miko-media-grid{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:12px!important;
}
body.miko-ref-writer-page .miko-dropzone{
  min-height:150px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  padding:13px!important;
  text-align:center!important;
  border:1px dashed #b9cfe2!important;
  border-radius:10px!important;
  background:#fbfdff!important;
  color:#526f8d!important;
  overflow:hidden!important;
}
body.miko-ref-writer-page .miko-dropzone>b{
  align-self:flex-start!important;
  color:#234a74!important;
  font-size:10px!important;
}
body.miko-ref-writer-page .miko-dropzone span{
  width:58px!important;
  height:58px!important;
  margin:5px 0!important;
  border-radius:12px!important;
  background:#eaf4ff!important;
  color:#0f71df!important;
}
body.miko-ref-writer-page .miko-dropzone input{
  max-width:100%!important;
  font-size:8px!important;
}
body.miko-ref-writer-page .miko-dropzone small{
  color:#8b9caf!important;
  font-size:8px!important;
}
body.miko-ref-writer-page .miko-editor-card .hint{
  margin:-6px 0 11px!important;
  color:#8194aa!important;
  font-size:8px!important;
}

body.miko-ref-writer-page .miko-editor-card .wp-editor-wrap{
  border:1px solid #d6e2ee!important;
  border-radius:10px!important;
  overflow:hidden!important;
  background:#fff!important;
}
body.miko-ref-writer-page .miko-editor-card .wp-editor-tools,
body.miko-ref-writer-page .miko-editor-card .wp-editor-container{
  border:0!important;
}
body.miko-ref-writer-page .miko-editor-card .mce-toolbar-grp,
body.miko-ref-writer-page .miko-editor-card .quicktags-toolbar{
  background:#f8fbfe!important;
  border-bottom:1px solid #e0e8f0!important;
}
body.miko-ref-writer-page .miko-editor-card .wp-editor-area{
  min-height:340px!important;
  border:0!important;
  border-radius:0!important;
  padding:14px!important;
}

body.miko-ref-writer-page .miko-option-grid{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
}
body.miko-ref-writer-page .miko-option-grid>label{
  min-width:0!important;
  display:flex!important;
  gap:8px!important;
  align-items:flex-start!important;
  padding:12px!important;
  border:1px solid #e0e8f1!important;
  border-radius:9px!important;
  background:#fbfdff!important;
}

body.miko-ref-writer-page .miko-editor-tip h3{
  margin:0 0 13px!important;
  color:#123a69!important;
  font-size:14px!important;
  font-weight:950!important;
}
body.miko-ref-writer-page .miko-editor-tip:first-child h3:before{content:"💡";margin-right:8px}
body.miko-ref-writer-page .miko-editor-tip.image h3:before{content:"▧";margin-right:8px;color:#1773df}
body.miko-ref-writer-page .miko-editor-tip ul{
  margin:0!important;
  padding-left:18px!important;
}
body.miko-ref-writer-page .miko-editor-tip li{
  margin:0 0 7px!important;
  color:#5f7894!important;
  font-size:9px!important;
  line-height:1.55!important;
}
body.miko-ref-writer-page .miko-editor-tip li::marker{color:#0d74e4!important}
body.miko-ref-writer-page .miko-editor-tip.credit{
  background:
    radial-gradient(circle at 95% 80%,rgba(64,155,255,.12),transparent 34%),
    linear-gradient(145deg,#eef7ff,#ffffff)!important;
  border-color:#cfe2f4!important;
}
body.miko-ref-writer-page .miko-credit-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
}
body.miko-ref-writer-page .miko-credit-head h3{margin:0!important}
body.miko-ref-writer-page .miko-credit-head a{
  color:#2a72cf!important;
  font-size:8px!important;
  font-weight:900!important;
  text-decoration:none!important;
}
body.miko-ref-writer-page .miko-editor-tip.credit>strong{
  display:block!important;
  margin-top:11px!important;
  color:#0d6ddf!important;
  font-size:30px!important;
  line-height:1!important;
  font-weight:950!important;
}
body.miko-ref-writer-page .miko-editor-tip.credit>strong small{
  font-size:10px!important;
  font-weight:800!important;
  color:#5f7c99!important;
}
body.miko-ref-writer-page .miko-editor-tip.credit>p{
  margin:8px 0 0!important;
  color:#607b98!important;
  font-size:9px!important;
}

body.miko-ref-writer-page .miko-editor-bottom-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:9px!important;
  padding:14px 0 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  position:static!important;
  box-shadow:none!important;
}
body.miko-ref-writer-page .miko-editor-bottom-actions .miko-ghost-btn{
  margin-right:auto!important;
}
body.miko-ref-writer-page .miko-editor-bottom-actions a,
body.miko-ref-writer-page .miko-editor-bottom-actions button{
  min-height:44px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 18px!important;
  border-radius:9px!important;
  font-size:9px!important;
  font-weight:900!important;
  text-decoration:none!important;
}
body.miko-ref-writer-page .miko-editor-bottom-actions .miko-ghost-btn{
  border:1px solid #d3e1ed!important;
  background:#fff!important;
  color:#355d86!important;
}
body.miko-ref-writer-page .miko-editor-bottom-actions .miko-outline-btn{
  border:1px solid #d2e0ed!important;
  background:#fff!important;
  color:#1768d2!important;
}
body.miko-ref-writer-page .miko-editor-bottom-actions .miko-primary-btn{
  border:1px solid #0d69dc!important;
  background:linear-gradient(145deg,#1a80f6,#0d65d7)!important;
  color:#fff!important;
  box-shadow:0 9px 18px rgba(13,101,215,.18)!important;
}

@media(max-width:1100px){
  body.miko-ref-writer-page .miko-wd-intro{grid-template-columns:1fr!important}
  body.miko-ref-writer-page .miko-wd-intro blockquote{min-height:78px!important}
  body.miko-ref-writer-page .miko-editor-layout{grid-template-columns:1fr!important}
  body.miko-ref-writer-page .miko-editor-layout>aside{
    position:static!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:780px){
  body.miko-ref-writer-page .miko-wd-shell{width:min(100% - 18px,1520px)!important;padding-top:12px!important}
  body.miko-ref-writer-page .miko-wd-intro{padding:17px!important;border-radius:16px!important}
  body.miko-ref-writer-page .miko-wd-intro-icon{width:56px!important;height:56px!important;flex-basis:56px!important}
  body.miko-ref-writer-page .miko-wd-intro h1{font-size:24px!important}
  body.miko-ref-writer-page .miko-editor-page-head{align-items:flex-start!important}
  body.miko-ref-writer-page .miko-editor-steps{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.miko-ref-writer-page .miko-editor-steps span:nth-child(2):after{display:none!important}
  body.miko-ref-writer-page .miko-editor-two,
  body.miko-ref-writer-page .miko-media-grid,
  body.miko-ref-writer-page .miko-option-grid{grid-template-columns:1fr!important}
  body.miko-ref-writer-page .miko-editor-layout>aside{grid-template-columns:1fr!important}
  body.miko-ref-writer-page .miko-editor-bottom-actions{flex-wrap:wrap!important}
  body.miko-ref-writer-page .miko-editor-bottom-actions .miko-ghost-btn{width:100%!important;margin-right:0!important}
}
@media(max-width:520px){
  body.miko-ref-writer-page .miko-wd-intro-copy{align-items:flex-start!important;gap:12px!important}
  body.miko-ref-writer-page .miko-wd-intro blockquote{padding:16px 16px 16px 48px!important;font-size:13px!important}
  body.miko-ref-writer-page .miko-editor-page-head{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  body.miko-ref-writer-page .miko-editor-page-head .miko-outline-btn{width:100%!important}
  body.miko-ref-writer-page .miko-editor-steps{grid-template-columns:1fr!important}
  body.miko-ref-writer-page .miko-editor-steps span:not(:last-child):after{display:none!important}
  body.miko-ref-writer-page .miko-editor-card,
  body.miko-ref-writer-page .miko-editor-tip{padding:14px!important;border-radius:12px!important}
  body.miko-ref-writer-page .miko-editor-bottom-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  body.miko-ref-writer-page .miko-editor-bottom-actions a,
  body.miko-ref-writer-page .miko-editor-bottom-actions button{width:100%!important}
}