/* RC51.05 — Inline Smart Ticket: fixed subject, no modal, no overlay. */
.nd51-unified-card{position:relative}
.nd51-card-actions{position:absolute;z-index:30;top:10px;left:12px;display:none;align-items:center;gap:7px;direction:ltr}
.nd51-unified-card.open>.nd51-card-actions,.nd51-unified-card.is-open>.nd51-card-actions,.nd51-unified-card:has(>button[aria-expanded="true"])>.nd51-card-actions,.nd51-unified-card:has(>summary[aria-expanded="true"])>.nd51-card-actions{display:flex}
.nd51-card-actions button{height:34px;min-width:34px;padding:0 10px;border:1px solid rgba(20,63,120,.12);border-radius:11px;background:#fff;color:#24415f;display:inline-flex;align-items:center;justify-content:center;gap:5px;cursor:pointer;box-shadow:0 4px 12px rgba(20,45,80,.08);transition:.16s ease;position:relative;font:700 12px/1 Tahoma,Arial,sans-serif;white-space:nowrap}.nd51-card-actions button span{font-size:14px;line-height:1}.nd51-card-actions button em{font-style:normal;font-size:10px}.nd51-card-actions button:hover{transform:translateY(-1px);border-color:#1769d2;box-shadow:0 7px 18px rgba(23,105,210,.14)}.nd51-card-actions b{position:absolute;right:-5px;top:-6px;min-width:18px;height:18px;padding:0 4px;border-radius:10px;background:#ef7d00;color:#fff;font:700 10px/18px sans-serif}.nd51-has-ticket{box-shadow:0 0 0 1px rgba(239,125,0,.22),0 8px 25px rgba(30,55,90,.07)}
.nd-domain-card.open>.nd-domain-card-toggle,[data-service-card].open>.nd512-service-summary,.nd-customer-invoice-card.open>[data-panel-invoice-toggle],.nd-unpaid-invoice-card.open>[data-panel-invoice-toggle],.nd71-invoice-card.is-open>.nd71-invoice-summary{padding-left:96px!important}.nd51-unified-card:not(.open):not(.is-open)>.nd51-card-actions{display:none!important}
.nd51-inline-ticket{position:relative;z-index:25;margin:10px 10px 12px;padding:16px 14px 14px;border:1px solid #bcd5f5;border-radius:17px;background:linear-gradient(180deg,#fafdff 0%,#f5f9ff 100%);box-shadow:0 10px 28px rgba(30,85,150,.10);direction:rtl;opacity:0;transform:translateY(-5px);transition:opacity .16s ease,transform .16s ease}.nd51-inline-ticket.show{opacity:1;transform:none}.nd51-inline-close{position:absolute;z-index:2;top:-13px;left:12px;width:29px;height:29px;padding:0;border:1px solid #c8d9ee;border-radius:50%;background:#fff;color:#54708f;box-shadow:0 4px 12px rgba(26,57,94,.13);font:400 21px/27px Arial,sans-serif;cursor:pointer}.nd51-inline-close:hover{color:#d52f2f;border-color:#efb8b8;background:#fff8f8}.nd51-inline-ticket header{padding:0 5px 11px;border-bottom:1px solid #dce9f7}.nd51-inline-ticket header small{display:block;color:#7690ad;font-size:9px;font-weight:700}.nd51-inline-ticket h3{margin:4px 0 0;color:#153b68;font-size:14px;direction:ltr;text-align:right;unicode-bidi:plaintext}.nd51-inline-ticket form{padding-top:12px}.nd51-fixed-subject{padding:10px 11px;border:1px solid #d7e5f4;border-radius:12px;background:#fff}.nd51-fixed-subject small,.nd51-fixed-subject b,.nd51-fixed-subject span{display:block}.nd51-fixed-subject small{color:#8294aa;font-size:8px}.nd51-fixed-subject b{margin-top:4px;color:#23496f;font-size:10.5px;line-height:1.7}.nd51-fixed-subject span{margin-top:3px;color:#9aa8b8;font-size:7.5px}.nd51-inline-ticket label{display:block;margin-top:12px;color:#405a76;font-size:9px;font-weight:800}.nd51-inline-ticket textarea{box-sizing:border-box;width:100%;min-height:92px;margin-top:6px;padding:10px 11px;border:1px solid #cfdeed;border-radius:12px;background:#fff;color:#203a55;font:inherit;font-size:10px;line-height:1.9;resize:vertical;outline:none}.nd51-inline-ticket textarea:focus{border-color:#2c7be5;box-shadow:0 0 0 3px rgba(44,123,229,.10)}.nd51-ticket-context{margin-top:10px;border:1px dashed #d3e1ef;border-radius:11px;background:rgba(255,255,255,.65);overflow:hidden}.nd51-ticket-context summary{padding:9px 11px;color:#657c95;font-size:8px;font-weight:800;cursor:pointer}.nd51-ticket-context div{padding:0 11px 10px;display:flex;flex-direction:column;gap:4px;color:#65788c;font-size:8px;line-height:1.7}.nd51-inline-ticket [data-message]{margin-top:10px;padding:9px 10px;border-radius:10px;font-size:9px}.nd51-inline-ticket [data-message].success{background:#eaf8ef;color:#18733b}.nd51-inline-ticket [data-message].error{background:#fff0f0;color:#b42318}.nd51-inline-ticket footer{display:flex;justify-content:flex-start;margin-top:12px}.nd51-inline-ticket footer button{min-width:118px;border:1px solid #1769d2;border-radius:11px;background:#1769d2;color:#fff;padding:10px 17px;font:800 10px/1 Tahoma,Arial,sans-serif;cursor:pointer;box-shadow:0 6px 16px rgba(23,105,210,.18)}.nd51-inline-ticket footer button:disabled{opacity:.65;cursor:wait}.nd51-ticket-open>.nd51-card-actions .nd51-action-ticket{color:#1769d2;border-color:#9fc6f5;background:#eef6ff}
@media(max-width:700px){.nd51-card-actions{top:9px;left:9px}.nd51-card-actions button{height:32px;padding:0 8px}.nd51-card-actions button em{font-size:9px}.nd-domain-card.open>.nd-domain-card-toggle,[data-service-card].open>.nd512-service-summary{padding-left:90px!important}.nd51-inline-ticket{margin:9px 8px 12px;padding:15px 11px 12px}.nd51-inline-close{left:9px}}


/* RC51.08 — Nested drawer rule: every new drawer dims and freezes its parent layer. */
.nd51-unified-card.nd51-ticket-open{
  overflow:visible!important;
  isolation:isolate;
}
.nd51-layer-backdrop{
  position:absolute;
  inset:0;
  z-index:90;
  display:block;
  border-radius:inherit;
  background:rgba(236,243,252,.68);
  -webkit-backdrop-filter:blur(2.5px) saturate(.85);
  backdrop-filter:blur(2.5px) saturate(.85);
  opacity:0;
  transition:opacity .18s ease;
  cursor:default;
  touch-action:none;
  overscroll-behavior:contain;
}
.nd51-layer-backdrop.show{opacity:1}
.nd51-ticket-open>.nd51-card-actions{
  pointer-events:none!important;
  opacity:.42!important;
}
.nd51-ticket-open>.nd-domain-card-toggle,
.nd51-ticket-open>.nd-domain-inline-details,
.nd51-ticket-open>.nd512-service-summary,
.nd51-ticket-open>.nd512-service-details,
.nd51-ticket-open>[data-panel-invoice-toggle],
.nd51-ticket-open>.nd71-invoice-summary{
  pointer-events:none!important;
  user-select:none!important;
}
.nd51-ticket-open>.nd51-inline-ticket{
  position:absolute!important;
  inset:14px 12px 12px!important;
  z-index:100!important;
  box-sizing:border-box!important;
  margin:0!important;
  max-height:none!important;
  overflow:auto!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
  background:linear-gradient(180deg,#fbfdff 0%,#f5f9ff 100%)!important;
  box-shadow:0 18px 45px rgba(18,58,110,.23)!important;
}
.nd51-ticket-open>.nd51-inline-ticket .nd51-inline-close{
  top:-14px!important;
  left:12px!important;
  z-index:110!important;
}
.nd51-ticket-open>.nd-domain-card-toggle .nd-domain-chevron{
  pointer-events:none!important;
  opacity:.45!important;
}
.nd51-child-drawer-open #ndCustomerDomainsList,
.nd51-child-drawer-open #ndCustomerServicesList,
.nd51-child-drawer-open #ndCustomerInvoicesView{
  overscroll-behavior:contain!important;
}
@media(max-width:700px){
  .nd51-ticket-open>.nd51-inline-ticket{inset:12px 8px 9px!important}
  .nd51-ticket-open>.nd51-inline-ticket .nd51-inline-close{left:10px!important}
}

/* RC51.09: card close and ticket action must never share the same anchor. */
.nd-domain-card.open>.nd51-card-actions{left:32px!important}
.nd-domain-card.open.nd51-ticket-open>.nd51-card-actions{opacity:.42!important;pointer-events:none!important}


/* RC51.10 — common drawer anatomy: Close Row -> Action/Header Row -> Content. */
.nd51-unified-card>.nd51-card-actions{
  position:relative;
  inset:auto;
}
.nd51-inline-ticket{
  padding-top:0!important;
  overflow:auto!important;
}
.nd51-drawer-close-row{
  position:sticky;
  top:0;
  z-index:120;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  min-height:35px;
  margin:0 -14px;
  padding:6px 11px 3px;
  direction:ltr;
  background:linear-gradient(180deg,#fbfdff 75%,rgba(251,253,255,.94));
}
.nd51-drawer-close-row>.nd51-inline-close{
  position:static!important;
  inset:auto!important;
  width:25px!important;
  height:25px!important;
  min-width:25px!important;
  min-height:25px!important;
  border:1px solid #c7d7ea!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#607892!important;
  box-shadow:none!important;
  font:400 18px/23px Arial,sans-serif!important;
  line-height:23px!important;
}
.nd51-inline-ticket>header{
  margin-top:0!important;
  padding:8px 5px 11px!important;
  border-top:1px solid #edf3fa;
}
.nd51-ticket-open>.nd51-inline-ticket .nd51-inline-close{position:static!important;inset:auto!important}
@media(max-width:700px){
  .nd51-drawer-close-row{min-height:33px;margin:0 -11px;padding:5px 9px 3px}
  .nd51-drawer-close-row>.nd51-inline-close{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;font-size:17px!important}
}

/* RC51.11 — cleaner ticket action row: borderless action and reserved badge height. */
.nd-detail-focus-open .nd-domain-card.open>.nd51-card-actions,
.nd51-unified-card.open>.nd51-card-actions,
.nd51-unified-card.is-open>.nd51-card-actions{
  box-sizing:border-box!important;
  min-height:48px!important;
  padding:9px 12px 7px!important;
  overflow:visible!important;
  align-items:center!important;
}
.nd51-card-actions .nd51-action-ticket{
  height:32px!important;
  min-height:32px!important;
  min-width:0!important;
  padding:0 7px!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#24415f!important;
}
.nd51-card-actions .nd51-action-ticket:hover,
.nd51-card-actions .nd51-action-ticket:focus-visible{
  transform:none!important;
  border:0!important;
  background:#f1f6fc!important;
  box-shadow:none!important;
  outline:none!important;
}
.nd51-card-actions .nd51-action-ticket [data-nd51-count]{
  top:-8px!important;
  right:-7px!important;
  z-index:3!important;
}
.nd51-ticket-open>.nd51-card-actions .nd51-action-ticket{
  border:0!important;
  background:transparent!important;
}
@media(max-width:700px){
  .nd-detail-focus-open .nd-domain-card.open>.nd51-card-actions,
  .nd51-unified-card.open>.nd51-card-actions,
  .nd51-unified-card.is-open>.nd51-card-actions{
    min-height:46px!important;
    padding:8px 10px 6px!important;
  }
  .nd51-card-actions .nd51-action-ticket{height:31px!important;min-height:31px!important;padding:0 6px!important}
}

/* RC51.13 — structural drawer rows now apply to services and invoices too. */
.nd51-generic-close-row{
  display:none;
  box-sizing:border-box;
  min-height:38px;
  align-items:center;
  justify-content:flex-start;
  padding:7px 12px 4px;
  direction:ltr;
  background:#fff;
  border-bottom:0;
}
.nd51-unified-card.open>.nd51-generic-close-row,
.nd51-unified-card.is-open>.nd51-generic-close-row,
.nd51-unified-card:has(>button[aria-expanded="true"])>.nd51-generic-close-row,
.nd51-unified-card:has(>summary[aria-expanded="true"])>.nd51-generic-close-row{
  display:flex!important;
}
.nd51-generic-close{
  box-sizing:border-box;
  width:25px;
  height:25px;
  min-width:25px;
  min-height:25px;
  padding:0;
  border:1px solid #c7d7ea;
  border-radius:50%;
  background:#fff;
  color:#607892;
  font:400 18px/23px Arial,sans-serif;
  line-height:23px;
  text-align:center;
  cursor:pointer;
  box-shadow:none;
}
.nd51-generic-close:hover,
.nd51-generic-close:focus-visible{
  color:#c62828;
  border-color:#e8b5b5;
  background:#fff8f8;
  outline:none;
}

/* The action row is a real row, not an overlay. */
[data-service-card].open>.nd51-card-actions,
.nd-unpaid-invoice-card.open>.nd51-card-actions,
.nd-customer-invoice-card.open>.nd51-card-actions,
.nd71-invoice-card.is-open>.nd51-card-actions{
  display:flex!important;
  position:relative!important;
  inset:auto!important;
  box-sizing:border-box!important;
  min-height:48px!important;
  padding:8px 12px 7px!important;
  align-items:center!important;
  overflow:visible!important;
  background:#fff;
}

/* Start service/invoice content on the next row and remove legacy reserved padding. */
[data-service-card].open>.nd512-service-summary,
.nd-unpaid-invoice-card.open>[data-panel-invoice-toggle],
.nd-customer-invoice-card.open>[data-panel-invoice-toggle],
.nd71-invoice-card.is-open>.nd71-invoice-summary{
  padding-left:inherit!important;
}

/* Legacy chevrons must not turn into a second close button. */
[data-service-card].open>.nd512-service-summary .nd514-chevron,
.nd-unpaid-invoice-card.open [data-panel-invoice-toggle] .nd-panel-invoice-chevron,
.nd-customer-invoice-card.open [data-panel-invoice-toggle] .nd-panel-invoice-chevron,
.nd71-invoice-card.is-open>.nd71-invoice-summary .nd71-invoice-chevron{
  visibility:hidden!important;
  pointer-events:none!important;
}
[data-service-card].open>.nd512-service-summary .nd514-chevron::before,
.nd-unpaid-invoice-card.open .nd-panel-invoice-chevron::before,
.nd-customer-invoice-card.open .nd-panel-invoice-chevron::before{
  content:none!important;
}

/* Keep closed cards unchanged. */
.nd51-unified-card:not(.open):not(.is-open)>.nd51-generic-close-row,
.nd51-unified-card:not(.open):not(.is-open)>.nd51-card-actions{
  display:none!important;
}

/* Child drawer freezes all structural rows below it. */
.nd51-ticket-open>.nd51-generic-close-row,
.nd51-ticket-open>.nd51-card-actions{
  pointer-events:none!important;
  opacity:.42!important;
}

@media(max-width:700px){
  .nd51-generic-close-row{min-height:36px;padding:6px 10px 3px}
  .nd51-generic-close{width:24px;height:24px;min-width:24px;min-height:24px;font-size:17px;line-height:22px}
  [data-service-card].open>.nd51-card-actions,
  .nd-unpaid-invoice-card.open>.nd51-card-actions,
  .nd-customer-invoice-card.open>.nd51-card-actions,
  .nd71-invoice-card.is-open>.nd51-card-actions{min-height:46px!important;padding:8px 10px 6px!important}
}


/* RC51.14 — taller shared ticket action row; legacy service support tile removed. */
.nd-detail-focus-open .nd-domain-card.open>.nd51-card-actions,
.nd51-unified-card.open>.nd51-card-actions,
.nd51-unified-card.is-open>.nd51-card-actions,
[data-service-card].open>.nd51-card-actions,
.nd-unpaid-invoice-card.open>.nd51-card-actions,
.nd-customer-invoice-card.open>.nd51-card-actions,
.nd71-invoice-card.is-open>.nd51-card-actions{
  min-height:60px!important;
  padding:13px 12px 10px!important;
}
.nd51-card-actions .nd51-action-ticket{
  min-height:34px!important;
  height:34px!important;
}
.nd51-card-actions .nd51-action-ticket [data-nd51-count]{
  top:-9px!important;
}
@media(max-width:700px){
  .nd-detail-focus-open .nd-domain-card.open>.nd51-card-actions,
  .nd51-unified-card.open>.nd51-card-actions,
  .nd51-unified-card.is-open>.nd51-card-actions,
  [data-service-card].open>.nd51-card-actions,
  .nd-unpaid-invoice-card.open>.nd51-card-actions,
  .nd-customer-invoice-card.open>.nd51-card-actions,
  .nd71-invoice-card.is-open>.nd51-card-actions{
    min-height:58px!important;
    padding:12px 10px 9px!important;
  }
}

/* RC51.15 — genuinely taller shared ticket row and isolated service-card scrolling. */
.nd-detail-focus-open .nd-domain-card.open>.nd51-card-actions,
.nd51-unified-card.open>.nd51-card-actions,
.nd51-unified-card.is-open>.nd51-card-actions,
[data-service-card].open>.nd51-card-actions,
.nd-unpaid-invoice-card.open>.nd51-card-actions,
.nd-customer-invoice-card.open>.nd51-card-actions,
.nd71-invoice-card.is-open>.nd51-card-actions{
  min-height:74px!important;
  padding:17px 14px 13px!important;
}
.nd51-card-actions .nd51-action-ticket{
  min-height:40px!important;
  height:40px!important;
  padding:0 9px!important;
}
.nd51-card-actions .nd51-action-ticket [data-nd51-count]{
  top:-11px!important;
  right:-8px!important;
}
@media(max-width:700px){
  .nd-detail-focus-open .nd-domain-card.open>.nd51-card-actions,
  .nd51-unified-card.open>.nd51-card-actions,
  .nd51-unified-card.is-open>.nd51-card-actions,
  [data-service-card].open>.nd51-card-actions,
  .nd-unpaid-invoice-card.open>.nd51-card-actions,
  .nd-customer-invoice-card.open>.nd51-card-actions,
  .nd71-invoice-card.is-open>.nd51-card-actions{
    min-height:72px!important;
    padding:16px 12px 12px!important;
  }
}

/* RC51.17 — ticket counter must stay inside the action row; no artificial row stretching. */
#ndCustomerPanel .nd51-card-actions{
  box-sizing:border-box!important;
  min-height:50px!important;
  padding:6px 12px!important;
  overflow:visible!important;
  align-items:center!important;
}
#ndCustomerPanel .nd51-card-actions .nd51-action-ticket{
  position:relative!important;
  box-sizing:border-box!important;
  min-height:38px!important;
  height:38px!important;
  padding:7px 8px 0!important;
  align-items:center!important;
  overflow:visible!important;
}
#ndCustomerPanel .nd51-card-actions .nd51-action-ticket [data-nd51-count]{
  top:0!important;
  right:0!important;
  transform:translate(32%,-18%)!important;
  z-index:4!important;
  box-sizing:border-box!important;
  min-width:18px!important;
  height:18px!important;
  line-height:18px!important;
  border:2px solid #fff!important;
}
@media(max-width:700px){
  #ndCustomerPanel .nd51-card-actions{
    min-height:48px!important;
    padding:5px 10px!important;
  }
  #ndCustomerPanel .nd51-card-actions .nd51-action-ticket{
    min-height:37px!important;
    height:37px!important;
    padding-top:7px!important;
  }
}

/* RC52.01 — related ticket conversations */
.nd5201-ticket-body{padding-top:12px;min-height:150px;display:flex;flex-direction:column;gap:10px}
.nd5201-related-list{display:flex;flex-direction:column;gap:8px}
.nd5201-related-list>button{width:100%;border:1px solid #d7e4f2;border-radius:12px;background:#fff;padding:10px 11px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:right;color:#24415f;cursor:pointer}
.nd5201-related-list>button span{display:flex;flex-direction:column;gap:4px}.nd5201-related-list b{font-size:10px}.nd5201-related-list small,.nd5201-related-list em{font-size:8px;color:#7c90a7;font-style:normal}
.nd5201-new-ticket{align-self:flex-start;border:0;border-radius:10px;background:#edf5ff;color:#1769d2;padding:9px 12px;font:800 9px Tahoma,Arial;cursor:pointer}
.nd5201-thread-head{display:flex;align-items:center;gap:10px;padding-bottom:10px;border-bottom:1px solid #dce9f7}.nd5201-thread-head>button{border:0;border-radius:9px;background:#eef5fd;color:#1769d2;padding:7px 9px;cursor:pointer}.nd5201-thread-head>div{display:flex;flex-direction:column;gap:3px}.nd5201-thread-head b{font-size:10px;color:#24415f}.nd5201-thread-head small{font-size:8px;color:#8093aa}
.nd5201-thread-messages{max-height:280px;overflow:auto;display:flex;flex-direction:column;gap:9px;padding:10px 2px}.nd5201-thread-messages article{max-width:88%;border-radius:13px;padding:9px 10px;background:#fff;border:1px solid #dce7f3}.nd5201-thread-messages article.staff{align-self:flex-start;background:#eef6ff;border-color:#c8def8}.nd5201-thread-messages article.client{align-self:flex-end}.nd5201-thread-messages article b{display:block;font-size:8px;color:#4f6882}.nd5201-thread-messages article p{margin:5px 0;color:#263f59;font-size:9px;line-height:1.8}.nd5201-thread-messages article time{display:block;font-size:7px;color:#8da0b3}
.nd5201-ticket-body form textarea{box-sizing:border-box;width:100%;min-height:78px;margin-top:6px;padding:10px 11px;border:1px solid #cfdeed;border-radius:12px;background:#fff;color:#203a55;font:10px/1.9 Tahoma,Arial;resize:vertical;outline:none}.nd5201-ticket-body form footer{display:flex;justify-content:flex-start;margin-top:10px}.nd5201-ticket-body form footer button{border:1px solid #1769d2;border-radius:11px;background:#1769d2;color:#fff;padding:10px 17px;font:800 10px Tahoma,Arial;cursor:pointer}

/* RC52.02 — canonical drawer order: Close -> Header -> Action Center -> Workspace. */
.nd51-unified-card>.nd51-card-close-row,
.nd51-unified-card>.nd51-generic-close-row{order:1}
.nd51-unified-card>.nd-domain-card-toggle,
.nd51-unified-card>.nd512-service-summary,
.nd51-unified-card>[data-panel-invoice-toggle],
.nd51-unified-card>.nd71-invoice-summary{order:2}
.nd51-unified-card>.nd51-card-actions{order:3}
.nd51-unified-card>.nd51-layer-backdrop,
.nd51-unified-card>.nd51-inline-ticket{order:4}
.nd51-unified-card>.nd-domain-inline-details,
.nd51-unified-card>.nd512-service-details,
.nd51-unified-card>.nd71-invoice-details{order:5}

.nd51-unified-card.open>.nd51-card-actions,
.nd51-unified-card.is-open>.nd51-card-actions,
.nd-detail-focus-open .nd-domain-card.open>.nd51-card-actions{
  border-top:1px solid #edf3fa!important;
  border-bottom:1px solid #e4edf7!important;
  background:linear-gradient(180deg,#fbfdff 0%,#f7faff 100%)!important;
}
.nd51-card-actions::before{
  content:'مرکز عملیات';
  margin-left:9px;
  color:#8799ad;
  font:700 8px/1.4 Tahoma,Arial,sans-serif;
  white-space:nowrap;
}
.nd51-ticket-open>.nd51-card-actions{
  pointer-events:auto!important;
  opacity:1!important;
}
.nd51-ticket-open>.nd51-card-actions .nd51-action-ticket{
  background:#eaf3ff!important;
  color:#145cae!important;
}
.nd51-ticket-open>.nd51-card-actions .nd51-action-ticket::after{
  content:'باز';
  margin-right:4px;
  color:#4f7da9;
  font-size:7px;
}
.nd51-ticket-open>.nd51-inline-ticket{
  position:relative!important;
  inset:auto!important;
  z-index:100!important;
  box-sizing:border-box!important;
  width:auto!important;
  margin:0!important;
  max-height:min(54vh,520px)!important;
  overflow:auto!important;
  border-radius:0!important;
  border:0!important;
  border-bottom:1px solid #dfe9f4!important;
  box-shadow:inset 0 8px 18px rgba(31,76,126,.04)!important;
  background:linear-gradient(180deg,#f7fbff 0%,#f3f8fe 100%)!important;
}
.nd51-ticket-open>.nd51-layer-backdrop{
  display:none!important;
}
.nd5202-workspace-head{
  padding:12px 16px 7px;
  border-bottom:1px solid #e1ebf6;
}
.nd5202-workspace-head small{
  display:block;
  margin-bottom:3px;
  color:#7c90a7;
  font:700 8px/1.6 Tahoma,Arial,sans-serif;
}
.nd5202-workspace-head h3{
  margin:0;
  color:#213e5c;
  font:900 11px/1.7 Tahoma,Arial,sans-serif;
}
.nd5201-ticket-body{padding:12px 16px 16px!important}
@media(max-width:700px){
  .nd51-card-actions::before{font-size:7px;margin-left:7px}
  .nd51-ticket-open>.nd51-inline-ticket{max-height:58vh!important}
  .nd5202-workspace-head{padding:10px 12px 6px}
  .nd5201-ticket-body{padding:10px 12px 13px!important}
}

/* RC52.04 — ticket child drawer is bounded to the existing Customer Panel card. */
#ndCustomerPanel{isolation:isolate}
#ndCustomerPanel.nd51-child-drawer-open{overflow:hidden!important}
#ndCustomerPanel>.nd-customer-panel-card.nd5204-child-host{
  isolation:isolate!important;
  overflow:hidden!important;
}
#ndCustomerPanel>.nd-customer-panel-card>.nd5203-child-backdrop{
  position:absolute!important;
  inset:0!important;
  z-index:980!important;
  display:block!important;
  background:rgba(17,35,58,.58)!important;
  -webkit-backdrop-filter:blur(3px) saturate(.82)!important;
  backdrop-filter:blur(3px) saturate(.82)!important;
  opacity:0!important;
  transition:opacity .19s ease!important;
  pointer-events:auto!important;
  touch-action:none!important;
}
#ndCustomerPanel>.nd-customer-panel-card>.nd5203-child-backdrop.show{opacity:1!important}
#ndCustomerPanel>.nd-customer-panel-card>.nd5203-child-drawer{
  position:absolute!important;
  inset:0!important;
  z-index:990!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  min-height:0!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:inherit!important;
  background:#fbfdff!important;
  box-shadow:-18px 0 50px rgba(10,35,65,.22)!important;
  opacity:0!important;
  transform:translateX(-18px)!important;
  transition:transform .19s ease,opacity .19s ease!important;
  direction:rtl!important;
}
#ndCustomerPanel>.nd-customer-panel-card>.nd5203-child-drawer.show{opacity:1!important;transform:translateX(0)!important}
.nd5203-child-close-row{
  flex:0 0 auto!important;
  box-sizing:border-box!important;
  min-height:40px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  padding:7px 12px 4px!important;
  direction:ltr!important;
  background:#fff!important;
  border-bottom:1px solid #edf3fa!important;
}
.nd5203-child-close-row>button{
  box-sizing:border-box!important;
  width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important;
  padding:0!important;border:1px solid #c7d7ea!important;border-radius:50%!important;
  background:#fff!important;color:#607892!important;box-shadow:none!important;
  font:400 19px/25px Arial,sans-serif!important;text-align:center!important;cursor:pointer!important;
}
.nd5203-child-close-row>button:hover,.nd5203-child-close-row>button:focus-visible{color:#c62828!important;border-color:#e8b5b5!important;background:#fff8f8!important;outline:none!important}
.nd5203-child-header{
  flex:0 0 auto!important;
  box-sizing:border-box!important;
  padding:13px 16px 12px!important;
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)!important;
  border-bottom:1px solid #dfeaf6!important;
}
.nd5203-child-header small{display:block!important;margin-bottom:3px!important;color:#7c90a7!important;font:700 8px/1.6 Tahoma,Arial,sans-serif!important}
.nd5203-child-header h3{margin:0!important;color:#213e5c!important;font:900 12px/1.8 Tahoma,Arial,sans-serif!important;overflow-wrap:anywhere!important}
.nd5203-child-content{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;padding:0!important;background:linear-gradient(180deg,#f8fbff 0%,#f4f8fd 100%)!important}
.nd5203-child-content>.nd5201-ticket-body{box-sizing:border-box!important;min-height:100%!important;padding:16px!important}
#ndCustomerPanel.nd51-child-drawer-open>.nd-customer-panel-card>.nd-customer-panel-head,
#ndCustomerPanel.nd51-child-drawer-open>.nd-customer-panel-card>.nd-customer-tabs,
#ndCustomerPanel.nd51-child-drawer-open>.nd-customer-panel-card>.nd-customer-panel-body{pointer-events:none!important;user-select:none!important}
#ndCustomerPanel .nd51-ticket-open>.nd51-card-actions{pointer-events:none!important;opacity:.55!important}
#ndCustomerPanel>.nd-customer-panel-card>.nd5203-child-drawer .nd5201-thread-messages{max-height:none!important;flex:1 1 auto!important;min-height:180px!important}
@media(max-width:700px){
 #ndCustomerPanel>.nd-customer-panel-card>.nd5203-child-drawer{border-radius:inherit!important}
 .nd5203-child-close-row{min-height:37px!important;padding:6px 9px 3px!important}
 .nd5203-child-close-row>button{width:25px!important;height:25px!important;min-width:25px!important;min-height:25px!important;font-size:18px!important;line-height:23px!important}
 .nd5203-child-header{padding:11px 12px 10px!important}
 .nd5203-child-content>.nd5201-ticket-body{padding:12px!important}
}

/* RC52.06 — Action Workspace stays in normal card flow below Action Center. */
#ndCustomerPanel .nd51-unified-card > .nd5205-action-workspace{
  order:4!important;
  flex:0 0 auto!important;
  width:100%!important;
  box-sizing:border-box!important;
  position:relative!important;
  inset:auto!important;
  z-index:auto!important;
}
#ndCustomerPanel .nd5205-action-workspace{
  display:grid!important;
  grid-template-rows:0fr!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  margin:0!important;
  border:0 solid transparent!important;
  background:transparent!important;
  transition:grid-template-rows .32s cubic-bezier(.22,.8,.24,1),opacity .24s ease,visibility 0s linear .32s!important;
  direction:rtl!important;
}
#ndCustomerPanel .nd5205-action-workspace.is-open{
  grid-template-rows:1fr!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transition:grid-template-rows .34s cubic-bezier(.22,.8,.24,1),opacity .24s ease!important;
}
#ndCustomerPanel .nd5205-workspace-clip{min-height:0!important;overflow:hidden!important}
#ndCustomerPanel .nd5205-workspace-panel{
  min-height:0!important;
  max-height:min(68vh,720px)!important;
  display:flex!important;
  flex-direction:column!important;
  margin:0 10px 12px!important;
  border:1px solid #d8e5f3!important;
  border-top:0!important;
  border-radius:0 0 15px 15px!important;
  background:linear-gradient(180deg,#fbfdff 0%,#f5f9fd 100%)!important;
  box-shadow:0 14px 32px rgba(20,54,88,.12)!important;
  overflow:hidden!important;
  transform:translateY(-10px)!important;
  transition:transform .34s cubic-bezier(.22,.8,.24,1)!important;
}
#ndCustomerPanel .nd5205-action-workspace.is-open .nd5205-workspace-panel{transform:translateY(0)!important}
#ndCustomerPanel .nd5205-workspace-close-row{
  flex:0 0 auto!important;min-height:38px!important;padding:6px 10px 3px!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  border-bottom:1px solid #edf2f8!important;background:#fff!important;
}
#ndCustomerPanel .nd5205-workspace-close-row button{
  width:27px!important;height:27px!important;min-width:27px!important;padding:0!important;
  border:1px solid #d5e1ef!important;border-radius:50%!important;background:#f7faff!important;
  color:#45617c!important;font:400 20px/24px Arial,sans-serif!important;cursor:pointer!important;
  transition:transform .16s ease,background .16s ease!important;
}
#ndCustomerPanel .nd5205-workspace-close-row button:hover{background:#edf5ff!important;transform:scale(1.06)!important}
#ndCustomerPanel .nd5205-workspace-header{flex:0 0 auto!important;padding:10px 14px!important;border-bottom:1px solid #e5edf6!important;background:#fbfdff!important}
#ndCustomerPanel .nd5205-workspace-header small{display:block!important;margin-bottom:2px!important;color:#73879b!important;font:700 10px/1.6 Tahoma,Arial,sans-serif!important}
#ndCustomerPanel .nd5205-workspace-header h3{margin:0!important;color:#213e5c!important;font:900 12px/1.8 Tahoma,Arial,sans-serif!important;overflow-wrap:anywhere!important}
#ndCustomerPanel .nd5205-workspace-content{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;padding:0!important}
#ndCustomerPanel .nd5205-workspace-content>.nd5201-ticket-body{box-sizing:border-box!important;min-height:180px!important;padding:14px!important}
#ndCustomerPanel .nd5205-action-workspace .nd5201-thread-messages{max-height:min(38vh,390px)!important;min-height:150px!important;overflow-y:auto!important}
#ndCustomerPanel .nd51-action-ticket.is-active{background:#eaf4ff!important;border-color:#a9ccee!important;color:#1769aa!important}
@media(max-width:700px){
 #ndCustomerPanel .nd5205-workspace-panel{max-height:min(72vh,680px)!important;margin:0 7px 9px!important;border-radius:0 0 12px 12px!important}
 #ndCustomerPanel .nd5205-workspace-content>.nd5201-ticket-body{padding:11px!important}
 #ndCustomerPanel .nd5205-action-workspace .nd5201-thread-messages{max-height:42vh!important}
}
@media(prefers-reduced-motion:reduce){
 #ndCustomerPanel .nd5205-action-workspace,#ndCustomerPanel .nd5205-workspace-panel{transition:none!important}
}


/* RC52.07 — ticket workspace internal layout: left close, scrollable conversation, fixed reply composer. */
#ndCustomerPanel .nd5205-workspace-close-row{
  justify-content:flex-end!important;
}
#ndCustomerPanel .nd5205-workspace-content{
  overflow:hidden!important;
}
#ndCustomerPanel .nd5205-workspace-content>.nd5201-ticket-body.nd5207-thread-mode{
  height:clamp(430px,58vh,650px)!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  padding:0!important;
  overflow:hidden!important;
}
#ndCustomerPanel .nd5207-thread-view{
  flex:1 1 auto!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
#ndCustomerPanel .nd5207-thread-view>.nd5201-thread-head{
  flex:0 0 auto!important;
  padding:11px 14px 10px!important;
  background:#fbfdff!important;
}
#ndCustomerPanel .nd5207-thread-view>.nd5201-thread-messages{
  flex:1 1 auto!important;
  min-height:150px!important;
  max-height:none!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  padding:12px 14px!important;
  scrollbar-gutter:stable!important;
}
#ndCustomerPanel .nd5207-reply-composer,
#ndCustomerPanel .nd5207-composer{
  flex:0 0 auto!important;
  margin:0!important;
  padding:12px 14px 13px!important;
  border-top:1px solid #dce7f3!important;
  background:#fff!important;
  box-shadow:0 -8px 20px rgba(31,65,99,.06)!important;
}
#ndCustomerPanel .nd5207-reply-composer textarea{
  min-height:82px!important;
  max-height:150px!important;
  margin:0!important;
  resize:vertical!important;
}
#ndCustomerPanel .nd5207-reply-composer footer{
  margin-top:9px!important;
  justify-content:flex-start!important;
}
#ndCustomerPanel .nd5207-reply-composer footer button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:120px!important;
  min-height:38px!important;
}
#ndCustomerPanel .nd5201-thread-head>button[data-related-back]{
  white-space:nowrap!important;
}
@media(max-width:700px){
 #ndCustomerPanel .nd5205-workspace-content>.nd5201-ticket-body.nd5207-thread-mode{height:clamp(400px,57vh,610px)!important}
 #ndCustomerPanel .nd5207-thread-view>.nd5201-thread-messages{padding:10px 11px!important}
 #ndCustomerPanel .nd5207-reply-composer,#ndCustomerPanel .nd5207-composer{padding:10px 11px 11px!important}
}


/* RC52.08 — one bounded flex layout; only conversation scrolls, composer always visible. */
#ndCustomerPanel .nd5205-workspace-panel{
  height:clamp(460px,62vh,660px)!important;
  max-height:calc(100dvh - 230px)!important;
  min-height:420px!important;
}
#ndCustomerPanel .nd5205-workspace-content{
  flex:1 1 auto!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
#ndCustomerPanel .nd5205-workspace-content>.nd5201-ticket-body.nd5207-thread-mode{
  flex:1 1 auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
#ndCustomerPanel .nd5207-thread-view{
  flex:1 1 auto!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
#ndCustomerPanel .nd5207-thread-view>.nd5201-thread-head{
  flex:0 0 auto!important;
}
#ndCustomerPanel .nd5207-thread-view>.nd5201-thread-messages{
  flex:1 1 0!important;
  min-height:0!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
}
#ndCustomerPanel .nd5207-thread-view>.nd5207-reply-composer,
#ndCustomerPanel .nd5207-thread-view>.nd5207-composer{
  flex:0 0 auto!important;
  position:relative!important;
  inset:auto!important;
  z-index:2!important;
  width:100%!important;
  box-sizing:border-box!important;
}
#ndCustomerPanel .nd5207-reply-composer footer{
  display:flex!important;
  min-height:42px!important;
}
#ndCustomerPanel .nd5207-reply-composer footer button{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  min-height:40px!important;
}
@media(max-width:700px){
  #ndCustomerPanel .nd5205-workspace-panel{
    height:clamp(440px,60vh,610px)!important;
    max-height:calc(100dvh - 210px)!important;
    min-height:400px!important;
  }
  #ndCustomerPanel .nd5207-reply-composer textarea{
    min-height:72px!important;
    max-height:110px!important;
  }
}

/* RC52.09 — tidy reply composer; keep send button fully inside workspace. */
#ndCustomerPanel .nd5207-thread-view > .nd5207-reply-composer{
  flex:0 0 auto!important;
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  width:100%!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:12px 14px 18px!important;
  overflow:visible!important;
  background:#fff!important;
  border-top:1px solid #dce7f3!important;
  box-shadow:0 -6px 16px rgba(31,65,99,.05)!important;
}
#ndCustomerPanel .nd5207-thread-view > .nd5207-reply-composer textarea{
  display:block!important;
  width:100%!important;
  min-height:88px!important;
  max-height:132px!important;
  margin:0!important;
  box-sizing:border-box!important;
  resize:vertical!important;
}
#ndCustomerPanel .nd5207-thread-view > .nd5207-reply-composer footer{
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:100%!important;
  min-height:42px!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
#ndCustomerPanel .nd5207-thread-view > .nd5207-reply-composer footer button{
  position:static!important;
  inset:auto!important;
  transform:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:122px!important;
  min-height:42px!important;
  margin:0!important;
  padding:10px 22px!important;
  box-sizing:border-box!important;
  visibility:visible!important;
  opacity:1!important;
  white-space:nowrap!important;
}
@media(max-width:700px){
  #ndCustomerPanel .nd5207-thread-view > .nd5207-reply-composer{
    gap:10px!important;
    padding:11px 12px 20px!important;
  }
  #ndCustomerPanel .nd5207-thread-view > .nd5207-reply-composer textarea{
    min-height:82px!important;
    max-height:112px!important;
  }
  #ndCustomerPanel .nd5207-thread-view > .nd5207-reply-composer footer button{
    width:100%!important;
    min-height:44px!important;
  }
}

/* RC53.06 — disciplined single-line domain tools bar. The heading is a label, never an action. */
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions,
#ndCustomerPanel .nd-detail-focus-open .nd-domain-card.open > .nd51-card-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:4px!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  padding:13px 15px!important;
  direction:ltr!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions::-webkit-scrollbar{display:none!important}
#ndCustomerPanel .nd5306-tools-heading{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;
  min-height:40px!important;
  padding:0 9px 0 2px!important;
  color:#173e70!important;
  direction:rtl!important;
  cursor:default!important;
  user-select:none!important;
}
#ndCustomerPanel .nd5306-tools-mark{
  display:grid!important;
  place-items:center!important;
  width:30px!important;
  height:30px!important;
  border-radius:9px!important;
  background:linear-gradient(145deg,#edf5ff,#f8fbff)!important;
  color:#176ee5!important;
  box-shadow:inset 0 0 0 1px rgba(23,110,229,.10)!important;
}
#ndCustomerPanel .nd5306-tools-mark svg{
  width:17px!important;
  height:17px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
#ndCustomerPanel .nd5306-tools-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:1px!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}
#ndCustomerPanel .nd5306-tools-copy small{
  font-size:9px!important;
  font-weight:700!important;
  color:#91a3b9!important;
}
#ndCustomerPanel .nd5306-tools-copy strong{
  font-size:13px!important;
  font-weight:900!important;
  color:#203b5d!important;
}
#ndCustomerPanel .nd5306-tools-separator{
  flex:0 0 1px!important;
  width:1px!important;
  height:28px!important;
  margin:0 9px!important;
  background:linear-gradient(180deg,transparent,#cddbeb 20%,#cddbeb 80%,transparent)!important;
}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button{
  flex:0 0 auto!important;
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  width:auto!important;
  min-width:auto!important;
  height:38px!important;
  min-height:38px!important;
  padding:0 11px!important;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  color:#526981!important;
  box-shadow:none!important;
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  direction:rtl!important;
  white-space:nowrap!important;
  transform:none!important;
}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button:hover,
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button:focus-visible{
  background:#f3f7fc!important;
  color:#176ee5!important;
  outline:none!important;
  box-shadow:inset 0 0 0 1px rgba(23,110,229,.08)!important;
}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button.is-active,
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button[aria-expanded="true"]{
  background:#edf5ff!important;
  color:#176ee5!important;
  box-shadow:inset 0 0 0 1px rgba(23,110,229,.12)!important;
}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button em{
  display:inline!important;
  margin:0!important;
  font-style:normal!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  color:inherit!important;
}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions .nd5306-action-icon{
  flex:0 0 auto!important;
  display:grid!important;
  place-items:center!important;
  width:19px!important;
  height:19px!important;
  padding:0!important;
  border-radius:0!important;
  background:none!important;
  color:currentColor!important;
}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions .nd5306-action-icon svg{
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions .nd5304-domain-action.nameservers{color:#176ee5!important}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions .nd5304-domain-action.lock{color:#17865b!important}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions .nd5304-domain-action.auth{color:#b76113!important}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions .nd5305-ticket-action{color:#7552c7!important}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button:hover,
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button:focus-visible,
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button.is-active,
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button[aria-expanded="true"]{color:#176ee5!important}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions [data-nd51-count]{
  top:1px!important;
  right:1px!important;
  min-width:15px!important;
  height:15px!important;
  padding:0 3px!important;
  font-size:8px!important;
  line-height:15px!important;
  box-shadow:0 0 0 2px #fff!important;
}
@media(max-width:700px){
  #ndCustomerPanel .nd-domain-card.open > .nd51-card-actions,
  #ndCustomerPanel .nd-detail-focus-open .nd-domain-card.open > .nd51-card-actions{
    padding:10px 11px!important;
    gap:2px!important;
  }
  #ndCustomerPanel .nd5306-tools-copy small{display:none!important}
  #ndCustomerPanel .nd5306-tools-copy strong{font-size:12px!important}
  #ndCustomerPanel .nd5306-tools-mark{width:28px!important;height:28px!important}
  #ndCustomerPanel .nd5306-tools-separator{margin:0 6px!important;height:25px!important}
  #ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button{height:36px!important;min-height:36px!important;padding:0 9px!important;gap:6px!important}
  #ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button em{font-size:11px!important}
}

/* RC53.07 — restore the stable RC53.06 behavior; only refine the domain tools bar
   to match the clean navigation language of the domain header. */
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions,
#ndCustomerPanel .nd-detail-focus-open .nd-domain-card.open > .nd51-card-actions{
  display:flex!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:0!important;
  width:100%!important;
  min-width:0!important;
  padding:0 14px!important;
  border-top:1px solid #e8eef6!important;
  border-bottom:1px solid #e3ebf5!important;
  background:#fff!important;
  direction:ltr!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions::-webkit-scrollbar{display:none!important}

/* Non-clickable section label: visually distinct from the actions. */
#ndCustomerPanel .nd5306-tools-heading{
  position:relative!important;
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:54px!important;
  padding:0 4px 0 2px!important;
  color:#7b8ba0!important;
  background:transparent!important;
  direction:rtl!important;
  cursor:default!important;
  user-select:none!important;
}
#ndCustomerPanel .nd5306-tools-heading::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  top:10px!important;
  height:2px!important;
  border-radius:99px!important;
  background:#d8e2ef!important;
}
#ndCustomerPanel .nd5306-tools-mark{
  display:grid!important;
  place-items:center!important;
  width:18px!important;
  height:18px!important;
  margin-top:5px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#8fa0b4!important;
  box-shadow:none!important;
}
#ndCustomerPanel .nd5306-tools-mark svg{
  width:16px!important;
  height:16px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.65!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
#ndCustomerPanel .nd5306-tools-copy{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:0!important;
  margin-top:5px!important;
  white-space:nowrap!important;
}
#ndCustomerPanel .nd5306-tools-copy small{display:none!important}
#ndCustomerPanel .nd5306-tools-copy strong{
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.01em!important;
  color:#7f90a4!important;
}
#ndCustomerPanel .nd5306-tools-separator{
  flex:0 0 1px!important;
  width:1px!important;
  height:28px!important;
  align-self:center!important;
  margin:0 10px!important;
  background:#dfe7f1!important;
}

/* Actions look and behave like compact header tabs. */
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button{
  position:relative!important;
  flex:0 0 auto!important;
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  width:auto!important;
  min-width:auto!important;
  height:54px!important;
  min-height:54px!important;
  padding:0 13px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#66778d!important;
  box-shadow:none!important;
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  direction:rtl!important;
  white-space:nowrap!important;
  transform:none!important;
  transition:color .16s ease,background-color .16s ease!important;
}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button::after{
  content:""!important;
  position:absolute!important;
  left:11px!important;
  right:11px!important;
  bottom:0!important;
  height:3px!important;
  border-radius:3px 3px 0 0!important;
  background:#176ee5!important;
  transform:scaleX(0)!important;
  transform-origin:center!important;
  transition:transform .18s ease!important;
}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button:hover,
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button:focus-visible{
  background:#f8fafc!important;
  color:#315f9d!important;
  outline:none!important;
  box-shadow:none!important;
}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button.is-active,
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button[aria-expanded="true"]{
  background:transparent!important;
  color:#176ee5!important;
  box-shadow:none!important;
}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button.is-active::after,
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button[aria-expanded="true"]::after{
  transform:scaleX(1)!important;
}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button em{
  display:inline!important;
  margin:0!important;
  font-style:normal!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  color:inherit!important;
}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions .nd5306-action-icon{
  flex:0 0 auto!important;
  display:grid!important;
  place-items:center!important;
  width:18px!important;
  height:18px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:currentColor!important;
}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions .nd5306-action-icon svg{
  width:17px!important;
  height:17px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
/* Remove the old per-action colors; all tabs use the same header palette. */
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions .nd5304-domain-action.nameservers,
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions .nd5304-domain-action.lock,
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions .nd5304-domain-action.auth,
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions .nd5305-ticket-action{
  color:#66778d!important;
}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions .nd5304-domain-action.nameservers:hover,
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions .nd5304-domain-action.lock:hover,
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions .nd5304-domain-action.auth:hover,
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions .nd5305-ticket-action:hover,
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button.is-active,
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button[aria-expanded="true"]{
  color:#176ee5!important;
}
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions [data-nd51-count]{
  top:6px!important;
  right:4px!important;
  min-width:15px!important;
  height:15px!important;
  padding:0 3px!important;
  font-size:8px!important;
  line-height:15px!important;
  box-shadow:0 0 0 2px #fff!important;
}
@media(max-width:700px){
  #ndCustomerPanel .nd-domain-card.open > .nd51-card-actions,
  #ndCustomerPanel .nd-detail-focus-open .nd-domain-card.open > .nd51-card-actions{padding:0 10px!important}
  #ndCustomerPanel .nd5306-tools-heading{min-height:50px!important}
  #ndCustomerPanel .nd5306-tools-separator{margin:0 7px!important;height:25px!important}
  #ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button{height:50px!important;min-height:50px!important;padding:0 10px!important;gap:5px!important}
  #ndCustomerPanel .nd-domain-card.open > .nd51-card-actions button em{font-size:11px!important}
  #ndCustomerPanel .nd5306-tools-copy strong{font-size:9.5px!important}
}

/* RC53.10 — related ticket center for domain/service/invoice cards */
#ndCustomerPanel .nd5310-ticket-list-head{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:4px 2px 14px;border-bottom:1px solid #e3edf8;margin-bottom:12px;
}
#ndCustomerPanel .nd5310-ticket-list-head>div{display:flex;flex-direction:column;gap:4px;min-width:0}
#ndCustomerPanel .nd5310-ticket-list-head b{font-size:14px;color:#17324f}
#ndCustomerPanel .nd5310-ticket-list-head small{font-size:11px;color:#7d91a8}
#ndCustomerPanel .nd5310-ticket-list-head button,
#ndCustomerPanel .nd5310-thread-new,
#ndCustomerPanel .nd5310-closed-actions>button{
  border:0;border-radius:11px;background:#eaf3ff;color:#1268d8;padding:10px 14px;
  font:800 11px Tahoma,Arial;cursor:pointer;white-space:nowrap;
}
#ndCustomerPanel .nd5310-related-list{gap:10px}
#ndCustomerPanel .nd5310-related-list>button{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;
  gap:12px;min-height:66px;padding:12px 14px;border-radius:14px;text-align:right;
  background:#fff;border:1px solid #dce8f4;box-shadow:0 6px 18px rgba(29,78,130,.035);
}
#ndCustomerPanel .nd5310-related-list>button:hover{border-color:#9bc8ff;background:#f8fbff}
#ndCustomerPanel .nd5310-related-list>button.has-new{border-color:#91c4ff;background:#f7fbff}
#ndCustomerPanel .nd5310-ticket-state{display:flex;align-items:center;gap:6px;min-width:74px}
#ndCustomerPanel .nd5310-ticket-state i{width:8px;height:8px;border-radius:50%;background:#2584ff;box-shadow:0 0 0 4px #e8f3ff}
#ndCustomerPanel .nd5310-ticket-state em{font-style:normal;font-size:10px;color:#60758c}
#ndCustomerPanel .nd5310-related-list>button.is-closed .nd5310-ticket-state em{color:#8a99aa}
#ndCustomerPanel .nd5310-ticket-main{display:flex;flex-direction:column;gap:5px;min-width:0}
#ndCustomerPanel .nd5310-ticket-main b{font-size:12px;color:#17324f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ndCustomerPanel .nd5310-ticket-main small{font-size:10px;color:#8395a9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ndCustomerPanel .nd5310-related-list time{font-size:9.5px;color:#8da0b5;white-space:nowrap}
#ndCustomerPanel .nd5310-related-list strong{font-size:22px;color:#9fb0c2;font-weight:400}
#ndCustomerPanel .nd5310-thread-nav{display:flex;align-items:center;gap:8px;flex:0 0 auto}
#ndCustomerPanel .nd5201-thread-head{justify-content:space-between;flex-wrap:wrap}
#ndCustomerPanel .nd5310-closed-actions{display:grid;gap:10px;margin-top:12px}
#ndCustomerPanel .nd5310-closed-actions .nd537-closed-note{margin:0}
#ndCustomerPanel .nd5310-closed-actions>button{justify-self:start}
#ndCustomerPanel .nd5207-reply-composer footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#ndCustomerPanel .nd5310-secondary-new{border:1px solid #d7e6f6!important;background:#fff!important;color:#1769d2!important}
@media(max-width:700px){
 #ndCustomerPanel .nd5310-related-list>button{grid-template-columns:1fr auto;gap:7px 10px}
 #ndCustomerPanel .nd5310-ticket-state{grid-column:1/2;grid-row:2;min-width:0}
 #ndCustomerPanel .nd5310-ticket-main{grid-column:1/-1;grid-row:1}
 #ndCustomerPanel .nd5310-related-list time{grid-column:1;grid-row:3}
 #ndCustomerPanel .nd5310-related-list strong{grid-column:2;grid-row:2/4}
}

/* RC53.11 — quiet resource ticket view and correct closed-ticket presentation */
#ndCustomerPanel .nd51-ticket-open > .nd5205-action-workspace ~ *{
  display:none!important;
}
#ndCustomerPanel .nd5311-thread-view{
  display:flex;
  flex-direction:column;
  gap:14px;
  min-height:0;
}
#ndCustomerPanel .nd5311-thread-toolbar{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:9px;
  padding:0 0 12px;
  border-bottom:1px solid #e3edf7;
}
#ndCustomerPanel .nd5311-thread-toolbar button{
  min-height:38px;
  padding:0 14px;
  border:1px solid #d8e6f5;
  border-radius:10px;
  background:#fff;
  color:#176bd6;
  font:800 11px Tahoma,Arial;
  cursor:pointer;
}
#ndCustomerPanel .nd5311-thread-toolbar .nd5310-thread-new{
  border-color:#d6e8ff;
  background:#eaf3ff;
}
#ndCustomerPanel .nd5311-thread-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 14px;
  border:1px solid #dce8f4;
  border-radius:13px;
  background:#fff;
}
#ndCustomerPanel .nd5311-thread-header>div{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
}
#ndCustomerPanel .nd5311-thread-header b{
  color:#17324f;
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#ndCustomerPanel .nd5311-thread-header small{
  color:#8395a9;
  font-size:10px;
}
#ndCustomerPanel .nd5311-status{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:27px;
  padding:0 10px;
  border-radius:999px;
  font:800 10px Tahoma,Arial;
}
#ndCustomerPanel .nd5311-status.closed{
  color:#6f7f91;
  background:#eef2f6;
}
#ndCustomerPanel .nd5311-status.open{
  color:#087b53;
  background:#e8f8f1;
}
#ndCustomerPanel .nd5311-thread-messages{
  max-height:none!important;
  overflow:visible!important;
  padding:2px 2px 4px!important;
}
#ndCustomerPanel .nd5311-thread-view.is-closed .nd5311-thread-messages{
  margin-bottom:2px;
}
#ndCustomerPanel .nd5311-reply-composer{
  margin-top:2px;
}
#ndCustomerPanel .nd5310-closed-actions,
#ndCustomerPanel .nd537-closed-note{
  display:none!important;
}
@media(max-width:700px){
  #ndCustomerPanel .nd5311-thread-toolbar{gap:7px}
  #ndCustomerPanel .nd5311-thread-toolbar button{min-height:36px;padding:0 11px;font-size:10px}
  #ndCustomerPanel .nd5311-thread-header{align-items:flex-start;padding:11px 12px}
  #ndCustomerPanel .nd5311-thread-header b{font-size:12px}
}


/* RC53.12 — closed tickets always keep their full conversation visible */
#ndCustomerPanel .nd5312-closed-note{
  margin-top:2px;
  padding:10px 12px;
  border:1px solid #e2e8f0;
  border-radius:11px;
  background:#f8fafc;
  color:#718096;
  font:700 10.5px Tahoma,Arial;
  text-align:center;
}
#ndCustomerPanel .nd5312-empty-conversation{
  padding:22px 14px;
  border:1px dashed #d7e3ef;
  border-radius:12px;
  color:#7b8da1;
  background:#fbfdff;
  text-align:center;
  font-size:11px;
}


/* RC53.19 — complete ticket conversation with dedicated scrolling area */
#ndCustomerPanel .nd5311-thread-view{
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  max-height:min(68vh,650px)!important;
  overflow:hidden!important;
  border:1px solid #dce7f3;
  border-radius:14px;
  background:#fff;
}
#ndCustomerPanel .nd5311-thread-toolbar,
#ndCustomerPanel .nd5311-thread-header,
#ndCustomerPanel .nd5312-closed-note,
#ndCustomerPanel .nd5311-reply-composer{
  flex:0 0 auto!important;
}
#ndCustomerPanel .nd5311-thread-messages{
  flex:1 1 auto!important;
  min-height:180px!important;
  max-height:none!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  padding:14px 12px!important;
  background:#f8fbff;
}
#ndCustomerPanel .nd5311-thread-messages article{
  font-size:13px!important;
}
#ndCustomerPanel .nd5311-thread-messages article p{
  font-size:13px!important;
  line-height:1.9!important;
}
#ndCustomerPanel .nd5312-closed-note{
  margin:0!important;
  border-width:1px 0 0!important;
  border-radius:0!important;
  padding:12px 14px!important;
}
@media(max-width:700px){
  #ndCustomerPanel .nd5311-thread-view{max-height:66vh!important}
  #ndCustomerPanel .nd5311-thread-messages{min-height:160px!important;padding:12px 10px!important}
}

/* RC53.19 — resource tickets use the same complete conversation model as Services */
#ndCustomerPanel .nd5205-action-workspace .nd5311-thread-view{
  height:min(70vh,680px)!important;
  max-height:min(70vh,680px)!important;
  min-height:430px!important;
}
#ndCustomerPanel .nd5205-action-workspace .nd5311-thread-messages{
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  flex:1 1 auto!important;
  min-height:280px!important;
  overflow-y:auto!important;
  padding:16px!important;
}
#ndCustomerPanel .nd5205-action-workspace .nd5311-thread-messages article{
  display:block!important;
  width:auto!important;
  min-width:180px!important;
  max-width:82%!important;
  height:auto!important;
  overflow:visible!important;
  padding:12px 14px!important;
}
#ndCustomerPanel .nd5205-action-workspace .nd5311-thread-messages article p{
  display:block!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  margin:7px 0!important;
}
#ndCustomerPanel .nd5205-action-workspace .nd5312-empty-conversation{margin:auto 0!important}
@media(max-width:700px){
 #ndCustomerPanel .nd5205-action-workspace .nd5311-thread-view{height:68vh!important;min-height:390px!important}
 #ndCustomerPanel .nd5205-action-workspace .nd5311-thread-messages article{max-width:92%!important}
}


/* RC53.19 — smart status labels in action center */
#ndCustomerPanel .nd51-card-actions .nd5304-domain-action,
#ndCustomerPanel .nd51-card-actions .nd5305-ticket-action{
  display:grid!important;
  grid-template-columns:auto auto!important;
  grid-template-rows:auto auto!important;
  column-gap:7px!important;
  row-gap:1px!important;
  align-items:center!important;
  justify-content:start!important;
  min-width:max-content!important;
  padding:9px 10px!important;
}
#ndCustomerPanel .nd51-card-actions .nd5306-action-icon{
  grid-column:1!important;
  grid-row:1 / span 2!important;
}
#ndCustomerPanel .nd51-card-actions .nd5304-domain-action em,
#ndCustomerPanel .nd51-card-actions .nd5305-ticket-action em{
  grid-column:2!important;
  grid-row:1!important;
  line-height:1.25!important;
}
#ndCustomerPanel .nd5319-action-status{
  grid-column:2!important;
  grid-row:2!important;
  display:block!important;
  max-width:105px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:9px!important;
  font-weight:750!important;
  line-height:1.2!important;
  color:#8494a8!important;
}
#ndCustomerPanel .nd5319-action-status[data-state="ok"]{color:#13845b!important}
#ndCustomerPanel .nd5319-action-status[data-state="warning"]{color:#b86a12!important}
#ndCustomerPanel .nd5319-action-status[data-state="open"]{color:#176ee5!important}
#ndCustomerPanel .nd5319-action-status[data-state="unread"]{color:#d96910!important}
#ndCustomerPanel .nd5319-action-status[data-state="closed"],
#ndCustomerPanel .nd5319-action-status[data-state="muted"]{color:#8b99aa!important}
#ndCustomerPanel .nd5319-action-status[data-state="loading"]::before{
  content:"";
  display:inline-block;
  width:6px;height:6px;
  margin-inline-end:4px;
  border:1.5px solid currentColor;
  border-inline-end-color:transparent;
  border-radius:50%;
  animation:nd5319spin .75s linear infinite;
  vertical-align:-1px;
}
@keyframes nd5319spin{to{transform:rotate(360deg)}}
#ndCustomerPanel [data-nd51-count][data-state="unread"]{background:#ef7b18!important;color:#fff!important}
#ndCustomerPanel [data-nd51-count][data-state="open"]{background:#176ee5!important;color:#fff!important}
#ndCustomerPanel [data-nd51-count][data-state="closed"]{background:#8795a7!important;color:#fff!important}
@media(max-width:620px){
 #ndCustomerPanel .nd5319-action-status{font-size:8.5px!important;max-width:88px!important}
}

/* RC53.20 — clean, readable Action Center rebuild */
#ndCustomerPanel .nd-domain-card.open > .nd51-card-actions,
#ndCustomerPanel .nd-detail-focus-open .nd-domain-card.open > .nd51-card-actions,
#ndCustomerPanel [data-service-card].nd51-unified-card.open > .nd51-card-actions,
#ndCustomerPanel .nd-unpaid-invoice-card.nd51-unified-card.open > .nd51-card-actions,
#ndCustomerPanel .nd-customer-invoice-card.nd51-unified-card.open > .nd51-card-actions{
  display:flex!important;
  direction:ltr!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:8px!important;
  min-height:82px!important;
  padding:10px 14px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
  background:#fff!important;
  border-top:1px solid #e7edf5!important;
  border-bottom:1px solid #e7edf5!important;
}
#ndCustomerPanel .nd51-card-actions::-webkit-scrollbar{display:none!important}
#ndCustomerPanel .nd5306-tools-heading{
  direction:rtl!important;
  flex:0 0 auto!important;
  min-width:124px!important;
  min-height:60px!important;
  padding:8px 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#1f2c3d!important;
  box-shadow:none!important;
}
#ndCustomerPanel .nd5306-tools-heading::before{display:none!important}
#ndCustomerPanel .nd5306-tools-mark{
  width:30px!important;height:30px!important;flex:0 0 30px!important;
  border-radius:9px!important;background:#edf4ff!important;color:#176ee5!important;
}
#ndCustomerPanel .nd5306-tools-mark svg{width:18px!important;height:18px!important}
#ndCustomerPanel .nd5306-tools-copy strong{
  display:block!important;font-size:12px!important;font-weight:900!important;
  line-height:1.4!important;color:#1d2b3d!important;white-space:nowrap!important;
}
#ndCustomerPanel .nd5306-tools-separator{
  display:block!important;flex:0 0 1px!important;width:1px!important;height:46px!important;
  margin:auto 2px!important;background:#dfe7f1!important;border:0!important;
}
#ndCustomerPanel .nd51-card-actions .nd5304-domain-action,
#ndCustomerPanel .nd51-card-actions .nd5305-ticket-action{
  position:relative!important;
  direction:rtl!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  flex:0 0 98px!important;
  width:98px!important;
  min-width:98px!important;
  min-height:60px!important;
  padding:6px 5px!important;
  border:0!important;
  border-radius:12px!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#64758a!important;
  cursor:pointer!important;
  transition:background .18s ease,color .18s ease,transform .18s ease!important;
}
#ndCustomerPanel .nd51-card-actions .nd5304-domain-action:hover,
#ndCustomerPanel .nd51-card-actions .nd5305-ticket-action:hover{
  background:#f5f8fc!important;color:#176ee5!important;transform:translateY(-1px)!important;
}
#ndCustomerPanel .nd51-card-actions .nd5304-domain-action[aria-expanded="true"],
#ndCustomerPanel .nd51-card-actions .nd5305-ticket-action.is-active{
  background:#edf5ff!important;color:#176ee5!important;
}
#ndCustomerPanel .nd51-card-actions .nd5306-action-icon{
  position:relative!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:29px!important;height:29px!important;flex:0 0 29px!important;
  border-radius:9px!important;background:transparent!important;color:currentColor!important;
  grid-column:auto!important;grid-row:auto!important;
}
#ndCustomerPanel .nd51-card-actions .nd5306-action-icon svg{
  width:20px!important;height:20px!important;stroke-width:1.8!important;
}
#ndCustomerPanel .nd51-card-actions .nd5304-domain-action em,
#ndCustomerPanel .nd51-card-actions .nd5305-ticket-action em{
  display:block!important;grid-column:auto!important;grid-row:auto!important;
  margin:0!important;font-style:normal!important;font-size:11.5px!important;
  font-weight:900!important;line-height:1.35!important;color:#33465d!important;white-space:nowrap!important;
}
#ndCustomerPanel .nd5319-action-status{
  display:block!important;grid-column:auto!important;grid-row:auto!important;
  width:100%!important;max-width:92px!important;margin:0!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  text-align:center!important;font-size:9.5px!important;font-weight:800!important;
  line-height:1.35!important;color:#8494a8!important;
}
#ndCustomerPanel .nd5319-action-status[data-state="ok"]{color:#13845b!important}
#ndCustomerPanel .nd5319-action-status[data-state="warning"]{color:#b86a12!important}
#ndCustomerPanel .nd5319-action-status[data-state="open"]{color:#176ee5!important}
#ndCustomerPanel .nd5319-action-status[data-state="unread"]{color:#d96910!important}
#ndCustomerPanel .nd5319-action-status[data-state="closed"],
#ndCustomerPanel .nd5319-action-status[data-state="muted"]{color:#8b99aa!important}
#ndCustomerPanel .nd51-card-actions [data-nd51-count]{
  position:absolute!important;top:2px!important;right:21px!important;
  min-width:17px!important;height:17px!important;padding:0 4px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  border:2px solid #fff!important;border-radius:999px!important;
  font-size:8.5px!important;font-weight:900!important;line-height:1!important;
  box-shadow:0 2px 6px rgba(15,23,42,.13)!important;
}
#ndCustomerPanel .nd51-card-actions [data-nd51-count][hidden]{display:none!important}
@media(max-width:620px){
  #ndCustomerPanel .nd-domain-card.open > .nd51-card-actions,
  #ndCustomerPanel .nd-detail-focus-open .nd-domain-card.open > .nd51-card-actions{padding:8px 10px!important;gap:5px!important;min-height:76px!important}
  #ndCustomerPanel .nd5306-tools-heading{min-width:108px!important;padding-inline:8px!important}
  #ndCustomerPanel .nd5306-tools-copy strong{font-size:10.5px!important}
  #ndCustomerPanel .nd51-card-actions .nd5304-domain-action,
  #ndCustomerPanel .nd51-card-actions .nd5305-ticket-action{flex-basis:86px!important;width:86px!important;min-width:86px!important}
  #ndCustomerPanel .nd51-card-actions .nd5304-domain-action em,
  #ndCustomerPanel .nd51-card-actions .nd5305-ticket-action em{font-size:10.5px!important}
  #ndCustomerPanel .nd5319-action-status{max-width:80px!important;font-size:8.8px!important}
}
