/* Named compact action buttons: add, document-add, write, item-add. */
html body :is(button.fms-standard-action,.fms-draft-action){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6.6px!important;box-sizing:border-box!important;height:33px!important;min-height:33px!important;width:auto!important;min-width:0!important;flex:none;padding:0 8.3px!important;border:1.5px solid #AAC9EA!important;border-radius:5.5px!important;background:#EAF3FF!important;color:#245D91!important;font:700 13.2px/1.4 "Malgun Gothic",sans-serif!important;white-space:nowrap;box-shadow:none!important;cursor:pointer}
html body :is(button.fms-standard-action,.fms-draft-action) svg{display:block;width:15.4px!important;height:15.4px!important;flex:0 0 15.4px;pointer-events:none}
html body :is(button.fms-standard-action,.fms-draft-action):hover:not(:disabled){background:#DEECFF!important;border-color:#A7C9EE!important}
html body :is(button.fms-standard-action,.fms-draft-action):focus-visible{outline:2px solid #387DB9;outline-offset:2px}
html body :is(button.fms-standard-action,.fms-draft-action):disabled{opacity:.5;cursor:not-allowed}

@media(min-width:801px){html body button.fms-mobile-qr{display:none!important}}
@media(max-width:800px){html body :is(button.fms-standard-action,.fms-draft-action).fms-pc-qr{display:none!important}}

html body :is(button.fms-standard-action,.fms-draft-action) svg{stroke-width:3}

.dashboard-draft-link{text-decoration:none;display:inline-flex}

/* Registered originals, centered icon + label. Destructive actions use red. */
html body button.fms-standard-action[data-standard-action]{min-width:78px!important}
html body button.fms-standard-action.fms-delete-action,
html body a.fms-standard-action.fms-delete-action[data-standard-action="trash"]{background:#FFF0F1!important;border-color:#E7A3AA!important;color:#B43B47!important}
html body button.fms-standard-action.fms-delete-action:hover:not(:disabled),
html body a.fms-standard-action.fms-delete-action[data-standard-action="trash"]:hover:not(:disabled){background:#FFE1E5!important;border-color:#D7808B!important}
html body .fms-standard-action svg{stroke:none}


.fms-date-field{position:relative}.fms-date-field>input.fms-native-date-picker{position:absolute!important;right:0!important;bottom:0!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;opacity:0;pointer-events:none}

/* Catalog 76, shared by plain and compound draft-save actions. */
html body button.fms-standard-action[data-standard-action="draft-save"],
html body button.fms-standard-action[data-standard-action="draft-save"]:hover:not(:disabled) {
  background: #fff1f2 !important;
  border-color: #efb4bd !important;
  color: #c84e59 !important;
}
.draft-leave-dialog button[data-standard-action="draft-save"]::before {
  content: "";
  width: 15.4px;
  height: 15.4px;
  flex: 0 0 15.4px;
  background: url("pictograms/icons/draft-save.svg") center / contain no-repeat;
  pointer-events: none;
}

html body a.fms-standard-action[data-standard-action="edit-input"][data-compact-action="26"][data-edit-full-label] {
  width: auto !important;
}
