/* Shared compact action sizing for clean Premium screens. Keep page actions on the same scale as Home. */
html[data-clean-premium="1"]{
  --np-action-height:30px;
  --np-action-font:7.25px;
  --np-action-font-small:6.5px;
  --np-action-font-service:5.25px;
  --np-action-icon:11px;
  --np-action-radius:8px;
}
html[data-clean-premium="1"] .np-premium-action,
html[data-clean-premium="1"] .np-portships-queue,
html[data-clean-premium="1"] .np-portships-empty button,
html[data-clean-premium="1"] .np-portdetail-root .np-port-follow,
html[data-clean-premium="1"] .np-connections-root .np-date-row .np-primary-btn,
html[data-clean-premium="1"] .np-connections-root .np-wide-secondary,
html[data-clean-premium="1"] .np-connections-root .np-checkin-open,
html[data-clean-premium="1"] .np-comms-root .np-comms-row-actions button,
html[data-clean-premium="1"] .np-comms-root .np-comms-load,
html[data-clean-premium="1"] .np-comms-root .np-chat-compose button,
html[data-clean-premium="1"] .np-sa-root .np-sa-phone button,
html[data-clean-premium="1"] .np-sa-root .np-sa-form button,
html[data-clean-premium="1"] .np-sa-root .np-sa-inline button,
html[data-clean-premium="1"] .np-sa-root .np-sa-admin-callout>button,
html[data-clean-premium="1"] .np-sa-root .np-sa-admin-case>button,
html[data-clean-premium="1"] .np-sa-root .np-sa-person button,
html[data-clean-premium="1"] .np-sa-root .np-sa-danger-lite,
html[data-clean-premium="1"] .np-sa-root .np-sa-delete-execute button,
html[data-clean-premium="1"] .np-sa-root .np-sa-state button{
  min-height:var(--np-action-height)!important;
  padding:0 10px!important;
  border-radius:var(--np-action-radius)!important;
  font-size:var(--np-action-font)!important;
  line-height:1!important;
  letter-spacing:0!important;
  font-weight:600!important;
}
/* Lock text-bearing descendants as well as the button itself so local markup cannot silently enlarge labels. */
html[data-clean-premium="1"] .np-premium-action :is(span,b,strong,small,em,i),
html[data-clean-premium="1"] .np-portships-queue :is(span,b,strong,small,em,i),
html[data-clean-premium="1"] .np-portdetail-root .np-port-follow :is(span,b,strong,small,em,i),
html[data-clean-premium="1"] .np-connections-root .np-date-row .np-primary-btn :is(span,b,strong,small,em,i),
html[data-clean-premium="1"] .np-connections-root .np-wide-secondary :is(span,b,strong,small,em,i),
html[data-clean-premium="1"] .np-connections-root .np-checkin-open :is(span,b,strong,small,em,i),
html[data-clean-premium="1"] .np-comms-root .np-comms-row-actions button :is(span,b,strong,small,em,i),
html[data-clean-premium="1"] .np-comms-root .np-comms-load :is(span,b,strong,small,em,i),
html[data-clean-premium="1"] .np-comms-root .np-chat-compose button :is(span,b,strong,small,em,i),
html[data-clean-premium="1"] .np-sa-root .np-sa-phone button :is(span,b,strong,small,em,i),
html[data-clean-premium="1"] .np-sa-root .np-sa-form button :is(span,b,strong,small,em,i),
html[data-clean-premium="1"] .np-sa-root .np-sa-inline button :is(span,b,strong,small,em,i),
html[data-clean-premium="1"] .np-sa-root .np-sa-admin-callout>button :is(span,b,strong,small,em,i),
html[data-clean-premium="1"] .np-sa-root .np-sa-admin-case>button :is(span,b,strong,small,em,i),
html[data-clean-premium="1"] .np-sa-root .np-sa-person button :is(span,b,strong,small,em,i),
html[data-clean-premium="1"] .np-sa-root .np-sa-danger-lite :is(span,b,strong,small,em,i),
html[data-clean-premium="1"] .np-sa-root .np-sa-delete-execute button :is(span,b,strong,small,em,i),
html[data-clean-premium="1"] .np-sa-root .np-sa-state button :is(span,b,strong,small,em,i){
  font-size:inherit!important;
  line-height:1!important;
  letter-spacing:inherit!important;
  font-weight:inherit!important;
}
html[data-clean-premium="1"] .np-premium-action .np-icon,
html[data-clean-premium="1"] .np-portships-queue .np-icon,
html[data-clean-premium="1"] .np-portdetail-root .np-port-follow .np-icon,
html[data-clean-premium="1"] .np-connections-root .np-date-row .np-primary-btn .np-icon,
html[data-clean-premium="1"] .np-connections-root .np-wide-secondary .np-icon,
html[data-clean-premium="1"] .np-connections-root .np-checkin-open .np-icon,
html[data-clean-premium="1"] .np-comms-root .np-comms-row-actions button .np-icon,
html[data-clean-premium="1"] .np-comms-root .np-chat-compose button .np-icon{
  width:var(--np-action-icon)!important;
  height:var(--np-action-icon)!important;
}
html[data-clean-premium="1"] .np-comms-root .np-comms-back,
html[data-clean-premium="1"] .np-comms-root .np-comms-back :is(span,b,strong,small,em,i),
html[data-clean-premium="1"] .np-myports-head>button,
html[data-clean-premium="1"] .np-myports-head>button :is(span,b,strong,small,em,i),
html[data-clean-premium="1"] .np-sa-head>button,
html[data-clean-premium="1"] .np-sa-head>button :is(span,b,strong,small,em,i){
  font-size:var(--np-action-font-small)!important;
  line-height:1!important;
  letter-spacing:0!important;
  font-weight:600!important;
}
/* Filter pills are secondary controls, not feature buttons. Keep them on the small Premium action scale. */
html[data-clean-premium="1"] .np-sa-root .np-sa-pills button{
  min-height:24px!important;
  padding:0 8px!important;
  border-radius:999px!important;
  font-size:var(--np-action-font-small)!important;
  line-height:1!important;
  letter-spacing:0!important;
  font-weight:600!important;
}
html[data-clean-premium="1"] .np-sa-root .np-sa-pills button :is(span,b,strong,small,em,i){font-size:inherit!important;line-height:1!important;letter-spacing:inherit!important;font-weight:inherit!important}
/* My Voyage contract controls keep their existing dimensions, but their labels use the same compact Premium action type scale. */
html[data-clean-premium="1"] .np-voyage-contract-action{
  font-size:var(--np-action-font)!important;
  line-height:1!important;
  letter-spacing:0!important;
  font-weight:600!important;
}
html[data-clean-premium="1"] .np-voyage-contract-action :is(span,b,strong,small,em,i){
  font-size:inherit!important;
  line-height:1!important;
  letter-spacing:inherit!important;
  font-weight:inherit!important;
}
/* Service-selector labels need a denser Premium scale than primary actions so long service names stay balanced inside the grid. */
html[data-clean-premium="1"] .np-contribution-root .np-vendor-service{
  font-size:var(--np-action-font-service)!important;
  line-height:1.12!important;
  letter-spacing:0!important;
  font-weight:600!important;
}
html[data-clean-premium="1"] .np-contribution-root .np-vendor-service .np-vendor-service-label{
  font-size:inherit!important;
  line-height:inherit!important;
  letter-spacing:inherit!important;
  font-weight:inherit!important;
}
html[data-clean-premium="1"] .np-portdetail-root .np-port-follow:disabled{cursor:default;opacity:.78}
html[data-clean-premium="1"] .np-connections-root .np-connection-message{
  height:24px!important;
  min-height:24px!important;
  padding:0 7px!important;
  gap:4px!important;
  border-radius:6px!important;
  font-size:var(--np-action-font-small)!important;
  line-height:1!important;
  letter-spacing:0!important;
  font-weight:600!important;
}
html[data-clean-premium="1"] .np-connections-root .np-connection-message :is(span,b,strong,small,em,i){font-size:inherit!important;line-height:1!important;font-weight:inherit!important;letter-spacing:inherit!important}
html[data-clean-premium="1"] .np-connections-root .np-connection-message .np-icon{width:10px!important;height:10px!important}
@media(max-width:760px){
  html[data-clean-premium="1"]{
    --np-action-height:40px;
    --np-action-font:11px;
    --np-action-font-small:10px;
    --np-action-font-service:9px;
    --np-action-icon:16px;
    --np-action-radius:10px;
  }
  html[data-clean-premium="1"] .np-sa-root .np-sa-pills button{
    min-height:34px!important;
    font-size:10px!important;
  }
  html[data-clean-premium="1"] .np-connections-root .np-connection-message{
    height:36px!important;
    min-height:36px!important;
    font-size:10px!important;
  }
  html[data-clean-premium="1"] .np-connections-root .np-connection-message .np-icon{
    width:14px!important;
    height:14px!important;
  }
}
