
#pbStandaloneToolsMount {
  width: 100%;
  overflow-x: hidden;
}

#pbStandaloneToolsMount .pbt-clean {
  max-width: 560px;
  margin: 0 auto;
  padding: 14px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
  overflow-x: hidden;
}

#pbStandaloneToolsMount .pbt-clean *,
#pbStandaloneToolsMount .pbt-clean *::before,
#pbStandaloneToolsMount .pbt-clean *::after {
  box-sizing: border-box;
}

#pbStandaloneToolsMount .pbt-clean-header {
  margin-bottom: 12px;
}

#pbStandaloneToolsMount .pbt-clean-title {
  font-size: 22px;
  font-weight: 900;
  color: #2c5530;
  line-height: 1.15;
}

#pbStandaloneToolsMount .pbt-clean-sub {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
}

#pbStandaloneToolsMount .pbt-clean-search {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  margin-bottom: 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

#pbStandaloneToolsMount .pbt-clean-search:focus {
  border-color: #b9c8bd;
  box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.08);
}

#pbStandaloneToolsMount .pbt-clean-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#pbStandaloneToolsMount .pbt-group {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #eee;
  overflow: hidden;
}

#pbStandaloneToolsMount .pbt-group-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
}

#pbStandaloneToolsMount .pbt-group-header:hover {
  background: #fafbfa;
}

#pbStandaloneToolsMount .pbt-group-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

#pbStandaloneToolsMount .pbt-chevron {
  color: #6b7280;
  font-size: 12px;
  width: 14px;
  text-align: center;
  flex: 0 0 14px;
}

#pbStandaloneToolsMount .pbt-group-title {
  font-weight: 800;
  color: #2c5530;
  line-height: 1.2;
}

#pbStandaloneToolsMount .pbt-group-count {
  font-size: 12px;
  color: #2c5530;
  background: #eef4ef;
  border: 1px solid #dbe7dd;
  border-radius: 999px;
  padding: 4px 8px;
  font-weight: 700;
  flex: 0 0 auto;
}

#pbStandaloneToolsMount .pbt-group-body {
  border-top: 1px solid #f2f2f2;
  background: #fff;
}

#pbStandaloneToolsMount .pbt-tool {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 12px 14px;
  border-top: 1px solid #f3f3f3;
  cursor: pointer;
  outline: none;
  width: 100%;
}

#pbStandaloneToolsMount .pbt-group-body .pbt-tool:first-child {
  border-top: none;
}

#pbStandaloneToolsMount .pbt-tool:hover {
  background: #fafbfa;
}

#pbStandaloneToolsMount .pbt-tool:focus {
  background: #fafbfa;
  box-shadow: inset 0 0 0 2px rgba(44, 85, 48, 0.08);
}

#pbStandaloneToolsMount .pbt-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 10px;
  font-size: 16px;
}

#pbStandaloneToolsMount .pbt-main {
  min-width: 0;
  overflow: hidden;
}

#pbStandaloneToolsMount .pbt-name {
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
  white-space: normal;
  word-break: break-word;
}

#pbStandaloneToolsMount .pbt-group-label {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

#pbStandaloneToolsMount .pbt-open {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 88px;
  max-width: 88px;
  height: 36px;
  padding: 0 14px !important;
  margin: 0 !important;
  background: #2c5530 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none !important;
  flex: 0 0 88px;
  text-align: center;
}

#pbStandaloneToolsMount .pbt-open:hover {
  background: #234427 !important;
}

#pbStandaloneToolsMount .pbt-empty {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 16px;
  color: #6b7280;
  text-align: center;
}

@media (max-width: 640px) {
  #pbStandaloneToolsMount .pbt-clean {
    padding: 12px;
  }

  #pbStandaloneToolsMount .pbt-tool {
    grid-template-columns: 36px minmax(0, 1fr) 88px;
    gap: 10px;
    padding: 12px;
  }

  #pbStandaloneToolsMount .pbt-open {
    min-width: 88px;
    max-width: 88px;
    height: 34px;
    font-size: 13px;
  }
}

/* =========================================================
   Standalone Tools shell reset
   Purpose:
   - neutralize inherited app card/container behavior
   - allow pb-tools-clean layout to control its own width/scroll
   Scope:
   - standalone tools page only
   ========================================================= */
   
/* Force standalone tools page to ignore old shell sizing */
body.pb-standalone-tools #pbStandaloneToolsSection {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.pb-standalone-tools #pbStandaloneToolsSection .card.pb-standalone-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: hidden !important;
  max-height: none !important;
  height: auto !important;
}

body.pb-standalone-tools #pbStandaloneToolsMount {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

body.pb-standalone-tools #pbStandaloneToolsMount .pbt-clean {
  width: 100% !important;
  max-width: 560px !important;
  margin: 0 auto !important;
  padding: 14px !important;
}   


#pbStandaloneToolsMount .pbt-recent {
  margin-bottom: 12px;
}

#pbStandaloneToolsMount .pbt-recent-title {
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
  margin-bottom: 6px;
}

#pbStandaloneToolsMount .pbt-recent-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#pbStandaloneToolsMount .pbt-recent-item {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #dbe7dd;
  background: #eef4ef;
  color: #2c5530;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#pbStandaloneToolsMount .pbt-recent-item:hover {
  background: #e4eee7;
}

#pbStandaloneToolsMount .pbt-recent-icon {
  line-height: 1;
}

#pbStandaloneToolsMount .pbt-recent-text {
  line-height: 1.1;
}

.pbt-cat-icon {
  margin-right: 6px;
  font-size: 16px;
}

.pbt-clean-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pbt-clean-sub {
  margin-top: 2px;
  font-size: 13px;
  opacity: 0.7;
}

.pbt-hero {
  text-align: center;
  margin-bottom: 14px;
}

.pbt-hero-title {
  font-size: 22px;
  font-weight: 800;
  color: #2c5530;
}

.pbt-hero-sub {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 2px;
}