.jd-overview {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.jd-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}
.jd-head h1 {
  margin: 0;
  color: var(--sd-forest);
  font-size: clamp(2.05rem, 3.4vw, 3.05rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.055em;
}
.jd-head p {
  margin: 6px 0 0;
  color: var(--sd-subtle);
}
.jd-head .sd-top-action { min-height: 44px; text-decoration: none; }
.jd-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 7px;
  margin: -5px 0 5px -7px;
  border-radius: 8px;
  color: var(--sd-forest);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.jd-back:hover { background: #edf1e6; }
.jd-tools h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}
.jd-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.jd-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 13px 15px;
  border: 1px solid var(--sd-line);
  border-radius: 14px;
  background: var(--sd-paper);
  text-decoration: none;
}
.jd-card:hover { border-color: #97ae83; background: #fbfcf7; }
.jd-card-icon {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  border-radius: 11px;
  background: #e8f0dc;
  color: #365941;
}
.jd-card-copy { display: grid; gap: 3px; line-height: 1.35; }
.jd-card-copy strong { color: var(--sd-forest); }
.jd-card-copy span { color: var(--sd-subtle); font-size: .85rem; overflow-wrap: anywhere; }
.jd-empty {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--sd-line);
  border-radius: 14px;
  background: var(--sd-paper);
  color: var(--sd-subtle);
}
.jd-customize {
  border: 1px solid var(--sd-line);
  border-radius: 14px;
  background: #fcfdf8;
}
.jd-customize summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 8px 13px;
  border-radius: 14px;
  color: var(--sd-forest);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.jd-customize summary::-webkit-details-marker { display: none; }
.jd-customize summary .sd-icon:last-child { margin-left: auto; }
.jd-customize[open] summary .sd-icon:last-child { transform: rotate(180deg); }
.jd-customize-content { padding: 0 13px 10px; }
.jd-settings-hint { margin: 0 0 8px; color: var(--sd-subtle); font-size: .88rem; }
.jd-settings-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.jd-settings-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border-top: 1px solid var(--sd-line);
}
.jd-settings-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 44px;
  font-size: .92rem;
  line-height: 1.25;
  cursor: pointer;
}
.jd-settings-list input {
  flex: none;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #28583c;
}
.jd-move-tools { display: flex; gap: 3px; }
.jd-move-tools button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--sd-forest);
}
.jd-move-tools button:hover { background: #edf1e6; }
.jd-move-tools button[data-jd-move="-1"] svg { transform: rotate(180deg); }
.jd-move-tools button[aria-disabled="true"] { opacity: .38; cursor: default; background: transparent; }
.jd-settings-feedback { margin: 8px 0 0; font-size: .86rem; }
.jd-settings-feedback:empty { margin: 0; }
.jd-settings-error { color: #91382c; }
@media (max-width: 390px) {
  .jd-card { gap: 8px; padding: 11px; }
  .jd-settings-list label { gap: 6px; }
  .jd-settings-list label .sd-icon { display: none; }
}
