@import "/shared.css";

#current-session-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#current-session { overflow-wrap: anywhere; font-weight: 600; }
#current-session-folder { overflow-wrap: anywhere; font-size: 12px; color: #666; }
#commit-message {
  width: 300px;
  max-width: 40vw;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px 10px;
}
#commit-diff {
  border: 1px solid #1a73e8;
  border-radius: 6px;
  background: #1a73e8;
  color: #fff;
  padding: 6px 10px;
  cursor: pointer;
}
#commit-diff:hover { background: #1557b0; }
#refresh-diff {
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  padding: 6px 10px;
  cursor: pointer;
}
#commit-message:disabled, #commit-diff:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
#refresh-diff:hover { background: #f1f3f4; }
#status {
  padding: 0.75rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
}
#diff-output { margin-top: 12px; }
/* diff2html uses position:absolute for line numbers but never sets position:relative
   on any ancestor, so line numbers escape the scroll container and appear fixed.
   Setting position:relative on each td makes the cell the containing block. */
#diff-output td { position: relative; }
