.po-workflow-library{padding-bottom:80px}.po-library-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:24px 0}.po-library-kpis article{min-height:138px;padding:22px 24px;border:1px solid #d7e1ee;border-radius:22px;background:#fff;box-shadow:0 16px 34px rgba(15,39,76,.06);display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box}.po-library-kpis span{font-size:15px;color:#60728d}.po-library-kpis strong{font-size:34px;line-height:1;color:#0d2348}.po-library-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px;margin-bottom:18px;border:1px solid #d7e1ee;border-radius:22px;background:#fff;box-shadow:0 14px 30px rgba(15,39,76,.05)}.po-library-toolbar form{margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;display:flex;align-items:center;gap:12px}.po-library-toolbar form:first-child{flex:1}.po-library-toolbar label{flex:1}.po-library-toolbar input[type=search]{width:100%;height:50px;padding:0 15px;border:1px solid #cfdaea;border-radius:13px;background:#fff;font:inherit;box-sizing:border-box}.po-library-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 26px}.po-library-tabs a{display:inline-flex;align-items:center;gap:9px;padding:13px 18px;border-radius:15px;background:#edf2f8;color:#10284f;font-weight:700;text-decoration:none}.po-library-tabs a span{display:inline-grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:#fff;color:#31527f;font-size:12px}.po-library-tabs a.is-active{background:#143463;color:#fff}.po-library-tabs a.is-active span{background:rgba(255,255,255,.16);color:#fff}.po-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.po-library-template{display:flex;flex-direction:column;min-height:410px;padding:26px;border:1px solid #d7e1ee;border-radius:22px;background:#fff;box-shadow:0 16px 34px rgba(15,39,76,.06);box-sizing:border-box}.po-library-template-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.po-library-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#eaf2fd;color:#135fc7;font-size:22px;font-weight:800}.po-library-category{padding:7px 10px;border-radius:999px;background:#f1f5fa;color:#526781;font-size:12px;font-weight:800}.po-library-template h2{margin:0 0 10px;font-size:22px;line-height:1.25;color:#10264b}.po-library-template>p{margin:0;color:#61738d;line-height:1.55}.po-library-flow{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin:22px 0;padding:15px;border-radius:16px;background:#f5f8fc}.po-library-flow div{min-width:0}.po-library-flow small{display:block;margin-bottom:4px;color:#71839b;font-size:11px;text-transform:uppercase;letter-spacing:.06em}.po-library-flow strong{display:block;color:#17345f;font-size:14px;line-height:1.35;overflow-wrap:break-word}.po-library-flow>span{color:#1c68d2;font-size:20px}.po-library-tags{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.po-library-tags span{padding:6px 9px;border-radius:999px;background:#eef4fb;color:#36587f;font-size:12px;font-weight:700}.po-library-install{margin:auto 0 0!important;padding:0!important;border:0!important;box-shadow:none!important}.po-library-install .po-button{width:100%;justify-content:center}.po-library-card{padding:30px;border:1px solid #d7e1ee;border-radius:24px;background:#fff;box-shadow:0 16px 36px rgba(15,39,76,.06)}.po-library-empty{padding:60px 24px;text-align:center;border-radius:18px;background:#f6f9fc}.po-library-empty h2{margin:0 0 9px}.po-library-empty p{margin:0;color:#667891}.po-library-flash,.po-library-notice{margin:18px 0;padding:15px 18px;border:1px solid #b9d2f5;border-radius:14px;background:#eef6ff;color:#174f98}.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}@media(max-width:1180px){.po-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.po-library-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.po-library-toolbar{align-items:stretch;flex-direction:column}.po-library-toolbar form{width:100%}}@media(max-width:640px){.po-library-kpis,.po-library-grid{grid-template-columns:1fr}.po-library-template{min-height:0;padding:22px}.po-library-toolbar form:first-child{display:grid;grid-template-columns:1fr}.po-library-toolbar .po-button,.po-library-toolbar .po-mini-button{width:100%;justify-content:center}.po-library-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.po-library-tabs a{justify-content:space-between}.po-library-flow{grid-template-columns:1fr}.po-library-flow>span{transform:rotate(90deg);justify-self:center}.po-library-kpis article{min-height:120px}}

/* Build 0.38.1: hard-scoped library layout so theme and shared module rules cannot flatten cards. */
.po-app-main .po-workflow-library,
.po-workflow-library {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.po-workflow-library .po-library-grid > .po-library-template {
    margin: 0 !important;
    padding: 26px !important;
    border: 1px solid #d7e1ee !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 16px 34px rgba(15,39,76,.06) !important;
    overflow: hidden;
}
.po-workflow-library .po-library-template h2 {
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
}
.po-workflow-library .po-library-template > p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}
.po-workflow-library .po-library-template form,
.po-workflow-library .po-library-toolbar form {
    background: transparent !important;
}
.po-workflow-library .po-library-flow {
    width: 100%;
    box-sizing: border-box;
}
.po-workflow-library .po-library-flow div,
.po-workflow-library .po-library-flow small,
.po-workflow-library .po-library-flow strong {
    writing-mode: horizontal-tb !important;
    word-break: normal !important;
}
.po-workflow-library .po-library-install button {
    min-height: 48px;
}

/* v0.59.6.4 — align workflow library summary cards with the rest of PolarOne */
body.polarone-ui-page .po-app-content .po-workflow-library .po-library-kpis{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
  margin:0 0 24px!important;
}
body.polarone-ui-page .po-app-content .po-workflow-library .po-library-kpis>article{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  min-width:0!important;
  min-height:118px!important;
  height:auto!important;
  padding:22px 24px!important;
  overflow:visible!important;
  background:#fff!important;
  border:1px solid #d9e3ef!important;
  border-radius:18px!important;
  box-shadow:0 8px 24px rgba(22,49,87,.055)!important;
  text-align:left!important;
}
body.polarone-ui-page .po-app-content .po-workflow-library .po-library-kpis>article>span{
  display:block!important;
  position:static!important;
  margin:0 0 12px!important;
  padding:0!important;
  transform:none!important;
  color:#687891!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.2!important;
  white-space:normal!important;
}
body.polarone-ui-page .po-app-content .po-workflow-library .po-library-kpis>article>strong{
  display:block!important;
  position:static!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  color:#102240!important;
  font-size:30px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
}
@media(max-width:900px){
  body.polarone-ui-page .po-app-content .po-workflow-library .po-library-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:520px){
  body.polarone-ui-page .po-app-content .po-workflow-library .po-library-kpis{
    grid-template-columns:1fr!important;
  }
}

/* v0.59.6.5 — separate the Workflow Library action from the KPI row. */
body.polarone-ui-page .po-app-content .po-workflow-library>.po-page-header{
  margin-bottom:32px!important;
  padding-bottom:4px!important;
}
body.polarone-ui-page .po-app-content .po-workflow-library>.po-page-header>.po-button{
  margin:8px 0 0!important;
  padding:15px 22px!important;
  min-height:54px!important;
}
