/* NewsiumDigital Contact Center UX v16.8, contact page + inbox edit only. */
/* The existing Newsroom and Turnstile styles remain unchanged. */
.nd-contact-page .nd-contact-feedback{
  display:flex;align-items:flex-start;gap:15px;max-width:100%;padding:20px 22px;
  margin:18px 0 24px;border-radius:15px;background:#fff7ed;border:1px solid #fbbf24;
  color:#784319;box-shadow:0 6px 20px rgba(15,23,42,.055);direction:rtl;text-align:right;
  scroll-margin-block-start:110px
}
.nd-contact-page .nd-contact-feedback.is-success{
  background:#ecfdf5;border:1px solid #6ee7b7;color:#064e3b;
}
.nd-contact-page .nd-contact-feedback-icon{
  width:38px;height:38px;display:flex;flex:none;align-items:center;justify-content:center;
  border-radius:12px;background:rgba(180,83,9,.12);font-size:23px;font-weight:800;line-height:1
}
.nd-contact-page .nd-contact-feedback.is-success .nd-contact-feedback-icon{background:#d1fae5;color:#047857}
.nd-contact-page .nd-contact-feedback-text{min-width:0;flex:1}
.nd-contact-page .nd-contact-feedback-text strong{display:block;margin-bottom:5px;font-size:clamp(17px,1.4vw,21px);line-height:1.75}
.nd-contact-page .nd-contact-feedback-text p{margin:0;font-size:15px;line-height:1.95}
.nd-contact-page .nd-contact-feedback:focus{outline:2px solid #10b981;outline-offset:3px}
:is([data-theme="dark"],.dark-mode,.sp-dark,.is-dark,body.dark) .nd-contact-page .nd-contact-feedback.is-success{background:#052e2a;color:#d1fae5;border-color:#047857}
:is([data-theme="dark"],.dark-mode,.sp-dark,.is-dark,body.dark) .nd-contact-page .nd-contact-feedback:not(.is-success){background:#432b18;color:#ffedd5;border-color:#b45309}
@media(max-width:640px){.nd-contact-page .nd-contact-feedback{padding:14px;gap:10px;scroll-margin-block-start:70px}.nd-contact-page .nd-contact-feedback-icon{width:32px;height:32px}}

/* Inbox edit screen only. The WordPress dashboard and article editor are untouched. */
body.post-type-nd_contact #nd_contact_detail .inside{margin:0;padding:0!important}
body.post-type-nd_contact #nd_contact_detail{overflow:hidden;border:1px solid #dbe4ec;border-radius:15px;box-shadow:0 12px 32px rgba(15,23,42,.045)}
body.post-type-nd_contact #nd_contact_detail>.postbox-header{background:#f8fafc;border-bottom:1px solid #e2e8f0}
body.post-type-nd_contact #nd_contact_detail>.postbox-header h2{font-size:15px}
body.post-type-nd_contact .nd-inbox-panel{
  font-family:'ND-Sindhi','AMBILE',Tahoma,sans-serif;direction:rtl;text-align:right;color:#203047;font-size:16px;line-height:1.9
}
body.post-type-nd_contact .nd-inbox-top{
  display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  padding:26px 27px;background:linear-gradient(115deg,#10243d,#204458);color:#fff
}
body.post-type-nd_contact .nd-inbox-kicker{margin:0 0 4px;font:600 12px/1.4 system-ui,sans-serif;letter-spacing:.025em;color:#b9d7ee}
body.post-type-nd_contact .nd-inbox-heading{margin:0!important;padding:0!important;font-size:clamp(21px,2vw,29px)!important;line-height:1.8;color:#fff!important;word-break:break-word}
body.post-type-nd_contact .nd-inbox-caption{margin:4px 0 0;color:#d4e4f2;font-size:13px}
body.post-type-nd_contact .nd-inbox-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body.post-type-nd_contact .nd-inbox-copy.button{background:#fff;border-color:#fff;color:#123a57;font:700 15px/1.8 'ND-Sindhi','AMBILE',Tahoma,sans-serif;padding:5px 17px;min-height:40px;border-radius:9px;box-shadow:none;transition:background-color .14s ease}
body.post-type-nd_contact .nd-inbox-copy.button:hover{background:#e0f2fe;border-color:#e0f2fe;color:#123a57}
body.post-type-nd_contact .nd-inbox-copy.button:focus-visible{outline:3px solid #60a5fa;outline-offset:3px}
body.post-type-nd_contact .nd-inbox-copy-feedback{color:#c1f7d8;font-size:13px;min-width:0;max-width:270px}
body.post-type-nd_contact .nd-inbox-copy-feedback.is-error{color:#fecaca}
body.post-type-nd_contact .nd-inbox-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 27px}
body.post-type-nd_contact .nd-inbox-meta>div{background:#f5f8fc;border:1px solid #e1e9f3;border-radius:10px;padding:14px 17px;min-width:0}
body.post-type-nd_contact .nd-inbox-meta span{display:block;color:#64748b;font-size:13px;margin-bottom:4px}
body.post-type-nd_contact .nd-inbox-meta strong,body.post-type-nd_contact .nd-inbox-meta a{display:block;font-size:15px;line-height:1.65;color:#172e46;overflow-wrap:anywhere;text-decoration:none}
body.post-type-nd_contact .nd-inbox-meta a:hover{text-decoration:underline}
body.post-type-nd_contact .nd-inbox-message-heading{display:flex;align-items:baseline;justify-content:space-between;gap:15px;flex-wrap:wrap;margin:8px 27px 12px}
body.post-type-nd_contact .nd-inbox-message-heading h3{margin:0;font-size:21px;line-height:1.8}
body.post-type-nd_contact .nd-inbox-message-heading span{font-size:13px;color:#64748b}
body.post-type-nd_contact .nd-inbox-body{
  margin:0 27px 24px;padding:20px 22px;border:1px solid #dce6f2;border-radius:12px;background:#fff;
  font-family:'ND-Sindhi','AMBILE',Tahoma,sans-serif;font-size:18px;line-height:2.1;
  text-align:right;direction:rtl;white-space:pre-wrap;overflow-wrap:anywhere;unicode-bidi:plaintext;
  user-select:text;max-height:none;min-height:170px;box-shadow:0 1px 10px #1e293b0a
}
body.post-type-nd_contact .nd-inbox-copy-source{position:fixed;inset:0 auto auto 0;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none;resize:none}
body.post-type-nd_contact .nd-inbox-status-row{
  display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-top:1px solid #e2e8f0;
  padding:18px 27px 22px;background:#f8fafc
}
body.post-type-nd_contact .nd-inbox-status-row label{font-size:15px;font-weight:700}
body.post-type-nd_contact .nd-inbox-status-row select{min-width:165px;max-width:100%;font:inherit;line-height:1.55;min-height:39px}
body.post-type-nd_contact .nd-inbox-status-row p{margin:0;font-size:12px;color:#607188}
@media(max-width:940px){body.post-type-nd_contact .nd-inbox-meta{grid-template-columns:1fr}body.post-type-nd_contact .nd-inbox-top{padding:20px}body.post-type-nd_contact .nd-inbox-meta{margin:18px}body.post-type-nd_contact .nd-inbox-body{margin:0 18px 18px}body.post-type-nd_contact .nd-inbox-message-heading{margin-inline:18px}body.post-type-nd_contact .nd-inbox-status-row{padding-inline:18px}}
@media(prefers-reduced-motion:reduce){body.post-type-nd_contact .nd-inbox-copy.button{transition:none}}
