.visible-time-progress,
.visible-time-editor {
  min-width: 0;
  max-width: 100%;
}
.visible-time-progress { margin-bottom: 24px; }
.visible-time-confirmed { margin: 12px 0; }
.visible-time-threshold-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.visible-time-threshold {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border-color, #554632);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-wrap: anywhere;
}
.visible-time-threshold header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.visible-time-threshold header span { color: var(--muted); font-size: 12px; }
.visible-time-threshold h3,
.visible-time-threshold p { margin: 0; }
.visible-time-threshold progress {
  width: 100%;
  max-width: 100%;
  height: 8px;
  accent-color: var(--gold, #d4ad52);
}
.visible-time-threshold.is-granted { border-color: var(--gold, #d4ad52); }
.visible-time-threshold.is-granted header span { color: var(--gold, #d4ad52); }
.visible-time-editor { max-width: 1000px; }
.visible-time-effective-note {
  line-height: 1.5;
  overflow-wrap: anywhere;
  color: var(--gold, #d4ad52);
}
.visible-time-active-conditions summary { cursor: pointer; }
.visible-time-active-conditions ul { margin: 12px 0; padding-left: 20px; }
.visible-time-active-conditions li { overflow-wrap: anywhere; }
.visible-time-active-conditions p { color: var(--muted); line-height: 1.5; }
.visible-time-threshold-list { display: grid; gap: 18px; margin: 18px 0; }
.visible-time-threshold-editor { min-width: 0; }
.visible-time-editor-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}
.visible-time-editor-fields label { display: grid; gap: 6px; min-width: 0; }
.visible-time-editor-fields input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--text);
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 10px;
  background: rgb(3 2 6 / 38%);
}
.visible-time-editor-fields button { min-height: 42px; white-space: normal; }
@media (max-width: 1000px) {
  .visible-time-threshold-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .visible-time-threshold-grid,
  .visible-time-editor-fields { grid-template-columns: minmax(0, 1fr); }
  .visible-time-threshold { padding: 12px; }
}
