/* Tool buttons should look neutral until the user interacts with them. */

/* Keep PD2 tools in a clean two-column layout on desktop. */
.pd2-tools-panel .guide-tools{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

/* Apply a saved collapsed preference before the body finishes parsing so a
   refresh does not briefly paint the expanded tool grid. */
.pd2-tools-collapsed-preload .pd2-tools-panel .guide-tools{
  display:none!important;
}

.pd2-tools-heading-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.pd2-tools-heading-row h2{margin:0;}
.pd2-tools-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:34px;
  padding:6px 11px;
  border:1px solid #4d535b;
  border-radius:7px;
  background:linear-gradient(180deg,#20242a,#15181c);
  color:#d8c9b1;
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
.pd2-tools-toggle:hover,
.pd2-tools-toggle:focus-visible{
  outline:none;
  border-color:#8a6b42;
  color:#f0d39a;
  background:linear-gradient(180deg,#29231b,#191612);
}
.pd2-tools-panel.is-collapsed{padding-bottom:18px;}
.pd2-tools-panel .guide-tools[hidden]{display:none!important;}

.guide-tool-button.skill-tool{
  border-color:#4a3b2a;
  background:linear-gradient(180deg,#17191d,#0d0f12);
}
.guide-tool-button.skill-tool strong{color:#e7c995}
.guide-tool-button.skill-tool:hover,
.guide-tool-button.skill-tool:focus-visible{
  border-color:#a4773d;
  background:linear-gradient(180deg,#1d1a15,#0f0e0c);
}

@media(max-width:760px){
  .pd2-tools-panel .guide-tools{grid-template-columns:1fr}
  .pd2-tools-toggle{font-size:11px;}
}
