
trix-editor {
  border: 1px solid #bbb;
  border-radius: 3px;
  margin: 0;
  padding: 0.4em 0.6em;
  min-height: 5em;
  outline: none;
}

trix-toolbar * {
  box-sizing: border-box;
}
trix-toolbar .trix-button-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  overflow-x: auto;
}
trix-toolbar .trix-button-group {
  display: flex;
  margin-bottom: 10px;
  border: 1px solid #bbb;
  border-top-color: #ccc;
  border-bottom-color: #888;
  border-radius: 3px;
}
trix-toolbar .trix-button-group:not(:first-child) {
  margin-left: 1.5vw;
}
@media (max-width: 768px) {
  trix-toolbar .trix-button-group:not(:first-child) {
    margin-left: 0;
  }
}
trix-toolbar .trix-button-group-spacer {
  flex-grow: 1;
}
@media (max-width: 768px) {
  trix-toolbar .trix-button-group-spacer {
    display: none;
  }
}
trix-toolbar .trix-button {
  position: relative;
  float: left;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.75em;
  font-weight: 600;
  white-space: nowrap;
  padding: 0 0.5em;
  margin: 0;
  outline: none;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  background: transparent;
}
trix-toolbar .trix-button:not(:first-child) {
  border-left: 1px solid #ccc;
}
trix-toolbar .trix-button.trix-active {
  background: #cbeefa;
  color: rgb(0, 0, 0);
}
trix-toolbar .trix-button:not(:disabled) {
  cursor: pointer;
}
trix-toolbar .trix-button:disabled {
  color: rgba(0, 0, 0, 0.125);
}
@media (max-width: 768px) {
  trix-toolbar .trix-button {
    letter-spacing: -0.01em;
    padding: 0 0.3em;
  }
}
trix-toolbar .trix-button--icon {
  font-size: inherit;
  width: 2.6em;
  height: 1.6em;
  max-width: calc(0.8em + 4vw);
  text-indent: -9999px;
}
@media (max-width: 768px) {
  trix-toolbar .trix-button--icon {
    height: 2em;
    max-width: calc(0.8em + 3.5vw);
  }
}
trix-toolbar .trix-button--icon::before {
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.6;
  content: "";
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
@media (max-width: 768px) {
  trix-toolbar .trix-button--icon::before {
    right: 6%;
    left: 6%;
  }
}
trix-toolbar .trix-button--icon.trix-active::before {
  opacity: 1;
}
trix-toolbar .trix-button--icon:disabled::before {
  opacity: 0.125;
}
trix-toolbar .trix-button--icon-attach::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.5%2018V7.5c0-2.25%203-2.25%203%200V18c0%204.125-6%204.125-6%200V7.5c0-6.375%209-6.375%209%200V18%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-miterlimit%3D%2210%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  top: 8%;
  bottom: 4%;
}
trix-toolbar .trix-button--icon-bold::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.522%2019.242a.5.5%200%200%201-.5-.5V5.35a.5.5%200%200%201%20.5-.5h5.783c1.347%200%202.46.345%203.24.982.783.64%201.216%201.562%201.216%202.683%200%201.13-.587%202.129-1.476%202.71a.35.35%200%200%200%20.049.613c1.259.56%202.101%201.742%202.101%203.22%200%201.282-.483%202.334-1.363%203.063-.876.726-2.132%201.12-3.66%201.12h-5.89ZM9.27%207.347v3.362h1.97c.766%200%201.347-.17%201.733-.464.38-.291.587-.716.587-1.27%200-.53-.183-.928-.513-1.198-.334-.273-.838-.43-1.505-.43H9.27Zm0%205.606v3.791h2.389c.832%200%201.448-.177%201.853-.497.399-.315.614-.786.614-1.423%200-.62-.22-1.077-.63-1.385-.418-.313-1.053-.486-1.905-.486H9.27Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}
trix-toolbar .trix-button--icon-italic::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M9%205h6.5v2h-2.23l-2.31%2010H13v2H6v-2h2.461l2.306-10H9V5Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}
trix-toolbar .trix-button--icon-link::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M18.948%205.258a4.337%204.337%200%200%200-6.108%200L11.217%206.87a.993.993%200%200%200%200%201.41c.392.39%201.027.39%201.418%200l1.623-1.613a2.323%202.323%200%200%201%203.271%200%202.29%202.29%200%200%201%200%203.251l-2.393%202.38a3.021%203.021%200%200%201-4.255%200l-.05-.049a1.007%201.007%200%200%200-1.418%200%20.993.993%200%200%200%200%201.41l.05.049a5.036%205.036%200%200%200%207.091%200l2.394-2.38a4.275%204.275%200%200%200%200-6.072Zm-13.683%2013.6a4.337%204.337%200%200%200%206.108%200l1.262-1.255a.993.993%200%200%200%200-1.41%201.007%201.007%200%200%200-1.418%200L9.954%2017.45a2.323%202.323%200%200%201-3.27%200%202.29%202.29%200%200%201%200-3.251l2.344-2.331a2.579%202.579%200%200%201%203.631%200c.392.39%201.027.39%201.419%200a.993.993%200%200%200%200-1.41%204.593%204.593%200%200%200-6.468%200l-2.345%202.33a4.275%204.275%200%200%200%200%206.072Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}
trix-toolbar .trix-button--icon-strike::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6%2014.986c.088%202.647%202.246%204.258%205.635%204.258%203.496%200%205.713-1.728%205.713-4.463%200-.275-.02-.536-.062-.781h-3.461c.398.293.573.654.573%201.123%200%201.035-1.074%201.787-2.646%201.787-1.563%200-2.773-.762-2.91-1.924H6ZM6.432%2010h3.763c-.632-.314-.914-.715-.914-1.273%200-1.045.977-1.739%202.432-1.739%201.475%200%202.52.723%202.617%201.914h2.764c-.05-2.548-2.11-4.238-5.39-4.238-3.145%200-5.392%201.719-5.392%204.316%200%20.363.04.703.12%201.02ZM4%2011a1%201%200%201%200%200%202h15a1%201%200%201%200%200-2H4Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}
trix-toolbar .trix-button--icon-quote::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M4.581%208.471c.44-.5%201.056-.834%201.758-.995C8.074%207.17%209.201%207.822%2010%208.752c1.354%201.578%201.33%203.555.394%205.277-.941%201.731-2.788%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.121-.49.16-.764.294-.286.567-.566.791-.835.222-.266.413-.54.524-.815.113-.28.156-.597.026-.908-.128-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.674-2.7c0-.905.283-1.59.72-2.088Zm9.419%200c.44-.5%201.055-.834%201.758-.995%201.734-.306%202.862.346%203.66%201.276%201.355%201.578%201.33%203.555.395%205.277-.941%201.731-2.789%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.122-.49.16-.764.294-.286.567-.566.791-.835.222-.266.412-.54.523-.815.114-.28.157-.597.026-.908-.127-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.672-2.701c0-.905.283-1.59.72-2.088Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}
trix-toolbar .trix-button--icon-heading-1::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.5%207.5v-3h-12v3H14v13h3v-13h4.5ZM9%2013.5h3.5v-3h-10v3H6v7h3v-7Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}
trix-toolbar .trix-button--icon-code::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3.293%2011.293a1%201%200%200%200%200%201.414l4%204a1%201%200%201%200%201.414-1.414L5.414%2012l3.293-3.293a1%201%200%200%200-1.414-1.414l-4%204Zm13.414%205.414%204-4a1%201%200%200%200%200-1.414l-4-4a1%201%200%201%200-1.414%201.414L18.586%2012l-3.293%203.293a1%201%200%200%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}
trix-toolbar .trix-button--icon-bullet-list::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%207.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203ZM8%206a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-2.5-5a1.5%201.5%200%201%201-3%200%201.5%201.5%200%200%201%203%200ZM5%2019.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}
trix-toolbar .trix-button--icon-number-list::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%204h2v4H4V5H3V4Zm5%202a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-3.5-7H6v1l-1.5%202H6v1H3v-1l1.667-2H3v-1h2.5ZM3%2017v-1h3v4H3v-1h2v-.5H4v-1h1V17H3Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}
trix-toolbar .trix-button--icon-undo::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%2014a1%201%200%200%200%201%201h6a1%201%200%201%200%200-2H6.257c2.247-2.764%205.151-3.668%207.579-3.264%202.589.432%204.739%202.356%205.174%205.405a1%201%200%200%200%201.98-.283c-.564-3.95-3.415-6.526-6.825-7.095C11.084%207.25%207.63%208.377%205%2011.39V8a1%201%200%200%200-2%200v6Zm2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}
trix-toolbar .trix-button--icon-redo::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21%2014a1%201%200%200%201-1%201h-6a1%201%200%201%201%200-2h3.743c-2.247-2.764-5.151-3.668-7.579-3.264-2.589.432-4.739%202.356-5.174%205.405a1%201%200%200%201-1.98-.283c.564-3.95%203.415-6.526%206.826-7.095%203.08-.513%206.534.614%209.164%203.626V8a1%201%200%201%201%202%200v6Zm-2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}
trix-toolbar .trix-button--icon-decrease-nesting-level::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-3.707-5.707a1%201%200%200%200%200%201.414l2%202a1%201%200%201%200%201.414-1.414L4.414%2012l1.293-1.293a1%201%200%200%200-1.414-1.414l-2%202Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}
trix-toolbar .trix-button--icon-increase-nesting-level::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-2.293-2.293%202-2a1%201%200%200%200%200-1.414l-2-2a1%201%200%201%200-1.414%201.414L3.586%2012l-1.293%201.293a1%201%200%201%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}
trix-toolbar .trix-dialogs {
  position: relative;
}
trix-toolbar .trix-dialog {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 0.75em;
  padding: 15px 10px;
  background: #fff;
  box-shadow: 0 0.3em 1em #ccc;
  border-top: 2px solid #888;
  border-radius: 5px;
  z-index: 5;
}
trix-toolbar .trix-input--dialog {
  font-size: inherit;
  font-weight: normal;
  padding: 0.5em 0.8em;
  margin: 0 10px 0 0;
  border-radius: 3px;
  border: 1px solid #bbb;
  background-color: #fff;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
trix-toolbar .trix-input--dialog.validate:invalid {
  box-shadow: #F00 0px 0px 1.5px 1px;
}
trix-toolbar .trix-button--dialog {
  font-size: inherit;
  padding: 0.5em;
  border-bottom: none;
}
trix-toolbar .trix-dialog--link {
  max-width: 600px;
}
trix-toolbar .trix-dialog__link-fields {
  display: flex;
  align-items: baseline;
}
trix-toolbar .trix-dialog__link-fields .trix-input {
  flex: 1;
}
trix-toolbar .trix-dialog__link-fields .trix-button-group {
  flex: 0 0 content;
  margin: 0;
}

trix-editor [data-trix-mutable]:not(.attachment__caption-editor) {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

trix-editor [data-trix-mutable] ::-moz-selection, trix-editor [data-trix-mutable]::-moz-selection,
trix-editor [data-trix-cursor-target]::-moz-selection {
  background: none;
}
trix-editor [data-trix-mutable] ::selection, trix-editor [data-trix-mutable]::selection,
trix-editor [data-trix-cursor-target]::selection {
  background: none;
}

trix-editor [data-trix-mutable].attachment__caption-editor:focus::-moz-selection {
  background: highlight;
}
trix-editor [data-trix-mutable].attachment__caption-editor:focus::selection {
  background: highlight;
}

trix-editor [data-trix-mutable].attachment.attachment--file {
  box-shadow: 0 0 0 2px highlight;
  border-color: transparent;
}
trix-editor [data-trix-mutable].attachment img {
  box-shadow: 0 0 0 2px highlight;
}
trix-editor .attachment {
  position: relative;
}
trix-editor .attachment:hover {
  cursor: default;
}
trix-editor .attachment--preview .attachment__caption:hover {
  cursor: text;
}
trix-editor .attachment__progress {
  position: absolute;
  z-index: 1;
  height: 20px;
  top: calc(50% - 10px);
  left: 5%;
  width: 90%;
  opacity: 0.9;
  transition: opacity 200ms ease-in;
}
trix-editor .attachment__progress[value="100"] {
  opacity: 0;
}
trix-editor .attachment__caption-editor {
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  color: inherit;
  text-align: center;
  vertical-align: top;
  border: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
trix-editor .attachment__toolbar {
  position: absolute;
  z-index: 1;
  top: -0.9em;
  left: 0;
  width: 100%;
  text-align: center;
}
trix-editor .trix-button-group {
  display: inline-flex;
}
trix-editor .trix-button {
  position: relative;
  float: left;
  color: #666;
  white-space: nowrap;
  font-size: 80%;
  padding: 0 0.8em;
  margin: 0;
  outline: none;
  border: none;
  border-radius: 0;
  background: transparent;
}
trix-editor .trix-button:not(:first-child) {
  border-left: 1px solid #ccc;
}
trix-editor .trix-button.trix-active {
  background: #cbeefa;
}
trix-editor .trix-button:not(:disabled) {
  cursor: pointer;
}
trix-editor .trix-button--remove {
  text-indent: -9999px;
  display: inline-block;
  padding: 0;
  outline: none;
  width: 1.8em;
  height: 1.8em;
  line-height: 1.8em;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid highlight;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.25);
}
trix-editor .trix-button--remove::before {
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.7;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M19%206.41%2017.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z%22%2F%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 90%;
}
trix-editor .trix-button--remove:hover {
  border-color: #333;
}
trix-editor .trix-button--remove:hover::before {
  opacity: 1;
}
trix-editor .attachment__metadata-container {
  position: relative;
}
trix-editor .attachment__metadata {
  position: absolute;
  left: 50%;
  top: 2em;
  transform: translate(-50%, 0);
  max-width: 90%;
  padding: 0.1em 0.6em;
  font-size: 0.8em;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 3px;
}
trix-editor .attachment__metadata .attachment__name {
  display: inline-block;
  max-width: 100%;
  vertical-align: bottom;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
trix-editor .attachment__metadata .attachment__size {
  margin-left: 0.2em;
  white-space: nowrap;
}

.trix-content {
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}
.trix-content * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.trix-content h1 {
  font-size: 1.2em;
  line-height: 1.2;
}
.trix-content blockquote {
  border: 0 solid #ccc;
  border-left-width: 0.3em;
  margin-left: 0.3em;
  padding-left: 0.6em;
}
.trix-content [dir=rtl] blockquote,
.trix-content blockquote[dir=rtl] {
  border-width: 0;
  border-right-width: 0.3em;
  margin-right: 0.3em;
  padding-right: 0.6em;
}
.trix-content li {
  margin-left: 1em;
}
.trix-content [dir=rtl] li {
  margin-right: 1em;
}
.trix-content pre {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  font-family: monospace;
  font-size: 0.9em;
  padding: 0.5em;
  white-space: pre;
  background-color: #eee;
  overflow-x: auto;
}
.trix-content img {
  max-width: 100%;
  height: auto;
}
.trix-content .attachment {
  display: inline-block;
  position: relative;
  max-width: 100%;
}
.trix-content .attachment a {
  color: inherit;
  text-decoration: none;
}
.trix-content .attachment a:hover, .trix-content .attachment a:visited:hover {
  color: inherit;
}
.trix-content .attachment__caption {
  text-align: center;
}
.trix-content .attachment__caption .attachment__name + .attachment__size::before {
  content: " •";
}
.trix-content .attachment--preview {
  width: 100%;
  text-align: center;
}
.trix-content .attachment--preview .attachment__caption {
  color: #666;
  font-size: 0.9em;
  line-height: 1.2;
}
.trix-content .attachment--file {
  color: #333;
  line-height: 1;
  margin: 0 2px 2px 2px;
  padding: 0.4em 1em;
  border: 1px solid #bbb;
  border-radius: 5px;
}
.trix-content .attachment-gallery {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}
.trix-content .attachment-gallery .attachment {
  flex: 1 0 33%;
  padding: 0 0.5em;
  max-width: 33%;
}
.trix-content .attachment-gallery.attachment-gallery--2 .attachment, .trix-content .attachment-gallery.attachment-gallery--4 .attachment {
  flex-basis: 50%;
  max-width: 50%;
}
/*
 * Provides a drop-in pointer for the default Trix stylesheet that will format the toolbar and
 * the trix-editor content (whether displayed or under editing). Feel free to incorporate this
 * inclusion directly in any other asset bundle and remove this file.
 *

*/

/*
 * We need to override trix.css’s image gallery styles to accommodate the
 * <action-text-attachment> element we wrap around attachments. Otherwise,
 * images in galleries will be squished by the max-width: 33%; rule.
*/
.trix-content .attachment-gallery > action-text-attachment,
.trix-content .attachment-gallery > .attachment {
  flex: 1 0 33%;
  padding: 0 0.5em;
  max-width: 33%;
}

.trix-content .attachment-gallery.attachment-gallery--2 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--2 > .attachment, .trix-content .attachment-gallery.attachment-gallery--4 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--4 > .attachment {
  flex-basis: 50%;
  max-width: 50%;
}

.trix-content action-text-attachment .attachment {
  padding: 0 !important;
  max-width: 100% !important;
}

/* Hide file uploads */
trix-toolbar .trix-button-group.trix-button-group--file-tools {
  display: none;
}

/* Mention chips in Trix editor */
.mention-chip {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  background-color: #eef2ff;
  color: #4338ca;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.25rem;
  white-space: nowrap;
}

/* Remove default Trix attachment styling for mentions */
figure.attachment[data-trix-content-type="application/vnd.mention"] {
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border: none !important;
}

figure.attachment[data-trix-content-type="application/vnd.mention"] figcaption {
  display: none !important;
}

/* Deactivated / unknown user mention chips */
.mention-chip--inactive {
  background-color: #f3f4f6;
  color: #9ca3af;
  font-weight: 400;
}

/* Tooltip shown on hover for active mention chips */
.mention-chip-tooltip {
  position: fixed;
  z-index: 110;
  padding: 4px 8px;
  border-radius: 6px;
  background-color: #1f2937;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1rem;
  white-space: nowrap;
  pointer-events: none;
}
/*
 * Administrate-specific overrides
 *
 * This stylesheet is only loaded in the Administrate admin interface
 * and does not affect the main application styles.
 */

/*
 * Resets white-space to normal for ActionText content in Administrate show
 * pages.
 */
.attribute-data--text .preserve-whitespace .trix-content {
  white-space: normal;
  overflow-wrap: anywhere;
}

/*
 * Sidebar navigation.
 *
 * Restyles Administrate's default nav to match the app's flat design system
 * (sky-600 primary, gray scale). Groups use native <details>/<summary> so
 * collapsing needs no JavaScript (inline handlers are CSP-blocked in
 * staging/production).
 */
/* Let the admin layout use the full viewport width instead of the default
 * 100rem cap that centers the app with empty side margins on wide screens.
 *
 * Administrate bundles Turbo, and its `<head>` merge across visits can
 * re-order the gem stylesheet after ours; the `html body` prefix raises the
 * specificity so our rule wins regardless of stylesheet order. Reserving the
 * scrollbar gutter keeps the width stable between short and tall pages so the
 * layout does not shift on navigation. */
html {
  scrollbar-gutter: stable;
}

html body .app-container {
  max-width: none;
}

/* Scoped under `.app-container` to out-specify the gem's `.navigation`
 * (`flex: 1 0 10rem`); a plain `.navigation` here would tie on specificity and
 * lose or win depending on Turbo's per-visit stylesheet order, which is what
 * made the sidebar width jump between pages. `min-width` hard-pins the column
 * so wide tables can never squeeze it. */
.app-container .navigation {
  flex: 0 0 17rem;
  min-width: 17rem;
  padding: 1.5rem 1rem;
  border-right: 1px solid #e5e7eb; /* gray-200 */
}

/*
 * "Back to app": an understated back-link with a leading arrow, separated
 * from the groups by a divider. Replaces Administrate's outlined button.
 */
.navigation__back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280; /* gray-500 */
  text-decoration: none;
  transition: color 150ms ease-in-out, background-color 150ms ease-in-out;
}

/* Typeahead filter for the menu. */
.navigation__search {
  margin-bottom: 0.75rem;
}

/* Scoped under `.navigation` to out-specify Administrate's `[type=search]`
 * rules (same specificity as a bare class), which otherwise win depending on
 * Turbo's per-visit stylesheet order and reset the padding/icon — making the
 * placeholder jump left after navigation. */
.navigation .navigation__search-input {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2.1rem;
  font-size: 0.875rem;
  color: #374151; /* gray-700 */
  background-color: #f9fafb; /* gray-50 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath stroke-linecap='round' d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.6rem center;
  background-size: 1rem;
  border: 1px solid #e5e7eb; /* gray-200 */
  border-radius: 0.5rem;
  transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out, background-color 150ms ease-in-out;
}

.navigation .navigation__search-input::placeholder {
  color: #9ca3af; /* gray-400 */
}

.navigation .navigation__search-input:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #0284c7; /* sky-600 */
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Hidden by the typeahead filter. Scoped under .navigation so these win over
 * the link/group display rules above. */
.navigation .navigation__link--hidden,
.navigation .navigation__group--hidden {
  display: none;
}

/* Divider between the back-link and the first group. */
.navigation__group:first-of-type {
  border-top: 1px solid #e5e7eb; /* gray-200 */
  padding-top: 0.75rem;
}

.navigation__back::before {
  content: "\2190"; /* leftwards arrow */
  font-size: 1rem;
  line-height: 1;
  transition: transform 150ms ease;
}

.navigation__back:hover {
  background-color: #f3f4f6; /* gray-100 */
  color: #0284c7; /* sky-600 */
}

.navigation__back:hover::before {
  transform: translateX(-2px);
}

.navigation__group {
  margin-bottom: 0.25rem;
}

.navigation__group-title {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #374151; /* gray-700 */
  white-space: nowrap;
  user-select: none;
  transition: color 150ms ease-in-out;
}

.navigation__group-title::-webkit-details-marker {
  display: none;
}

.navigation__group-title::before {
  content: "\25B8"; /* right-pointing triangle */
  margin-right: 0.5rem;
  font-size: 0.625rem;
  color: #9ca3af; /* gray-400 */
  transition: transform 150ms ease;
}

.navigation__group[open] > .navigation__group-title::before {
  transform: rotate(90deg);
}

.navigation__group-title:hover {
  color: #111827; /* gray-900 */
}

/* Links inside a group: same font size as headers, lighter weight, indented. */
.navigation__group .navigation__link {
  margin: 0 0 0.125rem 0;
  padding: 0.4rem 0.5rem 0.4rem 1.25rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 400;
  white-space: nowrap;
  color: #374151; /* gray-700 */
}

.navigation__group .navigation__link:not(:last-of-type) {
  margin-bottom: 0.125rem;
}

.navigation__group .navigation__link:hover {
  background-color: #f3f4f6; /* gray-100 */
  color: #111827; /* gray-900 */
}

/* Active link: sky-tinted pill with a left accent, matching the app nav. */
.navigation__group .navigation__link--active {
  background-color: #f0f9ff; /* sky-50 */
  color: #0369a1; /* sky-700 */
  font-weight: 600;
  box-shadow: inset 3px 0 0 #0284c7; /* sky-600 */
}

.navigation__group .navigation__link--active:hover {
  background-color: #e0f2fe; /* sky-100 */
  color: #0369a1; /* sky-700 */
}
@import 'actiontext.css';
@import 'interview_score.css';
@import 'candidate_header.css';
@import 'flatpickr.css';
@import 'buttons.css';
@import 'forms.css';
@import 'form_controls.css';
@import 'rows.css';
@import 'cards.css';
@import 'badges.css';
@import 'tabs.css';
@import 'links.css';
@import 'nav.css';
@import 'menu.css';

@tailwind base;
@tailwind components;
@tailwind utilities;

@keyframes wiggle {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-3px) rotate(-1deg); }
  30% { transform: translateX(3px) rotate(1deg); }
  45% { transform: translateX(-2px) rotate(-0.5deg); }
  60% { transform: translateX(2px) rotate(0.5deg); }
  75% { transform: translateX(-1px); }
}

.animate-wiggle {
  animation: wiggle 0.4s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .animate-wiggle {
    animation: none;
  }
}

/* Attention pulse for a value/element that just changed (e.g. a count or badge
   updated by a Turbo Stream). Fades a sky ring in and back out. Only the ring
   animates — never the background — so the element's own fill and text colour
   stay intact (e.g. the white count on the red notification badge). Applied by
   flash_on_update_controller to elements marked [data-flash-on-update]. */
@keyframes highlight-flash {
  0%   { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
  20%  { box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.5); }
  100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

.animate-highlight-flash {
  animation: highlight-flash 0.6s ease-out;
}

/* Fade in freshly-rendered content — e.g. a form re-rendered by
   turbo_stream.replace inside an open modal/slide-over. A keyframe, not a CSS
   transition: transitions don't fire reliably when an element's opacity is
   toggled in the same frame it's inserted, whereas a keyframe always plays.
   Added by flash_on_update_controller to [data-fade-on-update] elements. */
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-in {
  animation: fade-in 0.3s ease-out;
}

/* Fade out before removal (flash dismissal, slide-over backdrop teardown).
   forwards so the element holds at opacity 0 until it's removed/hidden. */
@keyframes fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

.animate-fade-out {
  animation: fade-out 0.3s ease-out forwards;
}

@layer components {
  /* Segmented control sliding indicator */
  .segment-control:has(.segment-radio-investor:checked) .segment-indicator {
    transform: translateX(100%);
  }
  .segment-control:has(.segment-radio-prospect:checked) .segment-label-prospect,
  .segment-control:has(.segment-radio-investor:checked) .segment-label-investor {
    @apply text-gray-900;
  }

  /* Planner sidecar overlay: main column never reflows; .task-list wrapper
     shrinks via --sc-cover so container queries on it can hide rightmost
     columns as the sidecar slides over. JS sets --sc-cover to var(--sc-cover-open)
     on open and clears it on close. */
  .planner-frame { --sc-cover-open: 100%; }
  @media (min-width: 1024px) { .planner-frame { --sc-cover-open: 28rem; } }
  @media (min-width: 1280px) { .planner-frame { --sc-cover-open: 32rem; } }
  .planner-frame .task-list {
    width: calc(100% - var(--sc-cover, 0px));
  }
  @media (prefers-reduced-motion: no-preference) {
    .planner-frame .task-list {
      transition: width 300ms ease;
    }
  }

  /* Planner task row: a grid whose rightmost columns drop as the .task-list
     container narrows (driven by --sc-cover when the sidecar opens), keeping the
     title — the only flexible column — as wide as possible. Drop priority,
     least-important first: team, subtask, comment, days, assignee, priority.
     Status + title never drop. Authored as real @container rules because this
     toolchain's Tailwind does not compile @max-[Npx] container-query variants. */
  .task-row-grid {
    display: grid;
    align-items: center;
    column-gap: 1.25rem;
    grid-template-columns: 2rem minmax(0, 1fr) 7.5rem 5.5rem 2.5rem 6rem 7.5rem 3rem 8rem;
  }
  @container (max-width: 1250px) {
    .task-row-grid { grid-template-columns: 2rem minmax(0, 1fr) 7.5rem 5.5rem 2.5rem 6rem 7.5rem 3rem; }
    .task-row-grid [data-planner-col="team"] { display: none; }
  }
  @container (max-width: 1100px) {
    .task-row-grid { grid-template-columns: 2rem minmax(0, 1fr) 7.5rem 5.5rem 2.5rem 6rem 3rem; }
    .task-row-grid [data-planner-col="subtask"] { display: none; }
  }
  @container (max-width: 980px) {
    .task-row-grid { grid-template-columns: 2rem minmax(0, 1fr) 7.5rem 5.5rem 2.5rem 6rem; }
    .task-row-grid [data-planner-col="comment"] { display: none; }
  }
  @container (max-width: 860px) {
    .task-row-grid { grid-template-columns: 2rem minmax(0, 1fr) 7.5rem 5.5rem 2.5rem; }
    .task-row-grid [data-planner-col="days"] { display: none; }
  }
  @container (max-width: 700px) {
    .task-row-grid { grid-template-columns: 2rem minmax(0, 1fr) 7.5rem 5.5rem; }
    .task-row-grid [data-planner-col="assignee"] { display: none; }
  }
  @container (max-width: 600px) {
    .task-row-grid { grid-template-columns: 2rem minmax(0, 1fr) 7.5rem; }
    .task-row-grid [data-planner-col="priority"] { display: none; }
  }
}
@layer components {
  /* Status badges / pills: .badge-{size}. Owns the pill shell — rounded-full
     plus padding, text size and weight. Color is data-driven: call sites keep
     the bg/text/ring triplet from the *_color maps, plus inline-flex/items-center
     and any ring-1 ring-inset (not every badge has them) and layout utilities. */
  .badge-xs, .badge-sm, .badge-md { @apply rounded-full; }

  .badge-xs { @apply px-2 py-0.5 text-xs font-medium; }
  .badge-sm { @apply px-2.5 py-0.5 text-xs font-medium; }
  .badge-md { @apply px-3 py-1 text-sm font-semibold; }
}
@layer components {
  /* Text buttons: filled/outlined action buttons with a label. Compound name —
     .btn-{intent}-{size} — intent is primary/secondary/danger/danger-outline, size is xs/sm/md/lg/xl.
     These own shape, color, shadow, font weight, hover/active/focus-visible/disabled and
     padding + text size. Call sites keep only layout utilities (width, flex, gap, margin).
     Does not include inline-flex — add it at the call site when a button holds an icon. */

  /* Shared structure (all intents and sizes). */
  .btn-primary-xs, .btn-primary-sm, .btn-primary-md, .btn-primary-lg, .btn-primary-xl,
  .btn-secondary-xs, .btn-secondary-sm, .btn-secondary-md, .btn-secondary-lg, .btn-secondary-xl,
  .btn-danger-xs, .btn-danger-sm, .btn-danger-md, .btn-danger-lg, .btn-danger-xl,
  .btn-danger-outline-xs, .btn-danger-outline-sm, .btn-danger-outline-md,
  .btn-danger-outline-lg, .btn-danger-outline-xl {
    @apply rounded-md font-semibold shadow-sm cursor-pointer transition duration-150 ease-out active:scale-[0.97];
    @apply focus:outline-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2;
    @apply disabled:opacity-50 disabled:cursor-not-allowed disabled:active:scale-100;
  }

  /* Intent (color). */
  .btn-primary-xs, .btn-primary-sm, .btn-primary-md, .btn-primary-lg, .btn-primary-xl {
    @apply bg-sky-600 text-white hover:bg-sky-500 active:bg-sky-700 focus-visible:outline-sky-600;
  }
  .btn-secondary-xs, .btn-secondary-sm, .btn-secondary-md, .btn-secondary-lg, .btn-secondary-xl {
    @apply bg-white text-gray-900 ring-1 ring-inset ring-gray-300;
    @apply hover:bg-gray-50 active:bg-gray-100 focus-visible:outline-sky-600;
  }
  .btn-danger-xs, .btn-danger-sm, .btn-danger-md, .btn-danger-lg, .btn-danger-xl {
    @apply bg-red-600 text-white hover:bg-red-500 active:bg-red-700 focus-visible:outline-red-600;
  }
  .btn-danger-outline-xs, .btn-danger-outline-sm, .btn-danger-outline-md,
  .btn-danger-outline-lg, .btn-danger-outline-xl {
    @apply bg-white text-red-600 ring-1 ring-inset ring-red-300;
    @apply hover:bg-red-50 active:bg-red-100 focus-visible:outline-red-600;
  }

  /* Size (padding + text). */
  .btn-primary-xs, .btn-secondary-xs, .btn-danger-xs, .btn-danger-outline-xs { @apply px-2.5 py-1 text-xs; }
  .btn-primary-sm, .btn-secondary-sm, .btn-danger-sm, .btn-danger-outline-sm { @apply px-3 py-1.5 text-sm; }
  .btn-primary-md, .btn-secondary-md, .btn-danger-md, .btn-danger-outline-md { @apply px-3 py-2 text-sm; }
  .btn-primary-lg, .btn-secondary-lg, .btn-danger-lg, .btn-danger-outline-lg { @apply px-3.5 py-2.5 text-sm; }
  .btn-primary-xl, .btn-secondary-xl, .btn-danger-xl, .btn-danger-outline-xl { @apply px-5 py-3 text-sm; }

  /* Icon-only buttons: a button/link whose only visible content is an SVG icon.
     Class name is compound — .btn-icon-{intent}-{size} — where intent is one of
     primary/secondary/danger/on-dark and size is sm/md/lg. Stack
     .btn-icon-circle for a round shape. The icon keeps its own h-/w- sizing on
     the inline_svg tag; these classes own padding, shape, color, hover and
     focus treatment. No call sites are migrated yet. */

  /* Shared structure (all intents and sizes). */
  .btn-icon-primary-sm, .btn-icon-primary-md, .btn-icon-primary-lg,
  .btn-icon-secondary-sm, .btn-icon-secondary-md, .btn-icon-secondary-lg,
  .btn-icon-danger-sm, .btn-icon-danger-md, .btn-icon-danger-lg,
  .btn-icon-on-dark-sm, .btn-icon-on-dark-md, .btn-icon-on-dark-lg {
    @apply inline-flex items-center justify-center rounded-md transition duration-150 ease-out active:scale-[0.97];
    @apply focus:outline-none focus:ring-2 focus:ring-offset-2;
  }

  /* Intent (color). Defined after the shared rule so on-dark's ring-offset wins. */
  .btn-icon-primary-sm, .btn-icon-primary-md, .btn-icon-primary-lg {
    @apply text-sky-600 hover:bg-sky-50 hover:text-sky-700 focus:ring-sky-600;
  }
  .btn-icon-secondary-sm, .btn-icon-secondary-md, .btn-icon-secondary-lg {
    @apply text-gray-400 hover:bg-gray-100 hover:text-gray-600 focus:ring-sky-600;
  }
  .btn-icon-danger-sm, .btn-icon-danger-md, .btn-icon-danger-lg {
    @apply text-red-400 hover:bg-red-50 hover:text-red-600 focus:ring-red-500;
  }
  .btn-icon-on-dark-sm, .btn-icon-on-dark-md, .btn-icon-on-dark-lg {
    @apply text-white/70 hover:bg-white/10 hover:text-white focus:ring-white focus:ring-offset-0;
  }

  /* Size (padding). */
  .btn-icon-primary-sm, .btn-icon-secondary-sm, .btn-icon-danger-sm, .btn-icon-on-dark-sm { @apply p-1; }
  .btn-icon-primary-md, .btn-icon-secondary-md, .btn-icon-danger-md, .btn-icon-on-dark-md { @apply p-1.5; }
  .btn-icon-primary-lg, .btn-icon-secondary-lg, .btn-icon-danger-lg, .btn-icon-on-dark-lg { @apply p-2; }

  /* Shape modifier — stack on any compound class for a round button. */
  .btn-icon-circle { @apply rounded-full; }

  /* Plain (flush) — color-only, no padding/background/ring. For icons that must sit
     flush in tight layouts (breadcrumbs, inline beside form labels). */
  .btn-icon-plain {
    @apply text-gray-400 transition-colors hover:text-gray-600;
  }

  /* Close / dismiss buttons — .btn-close-{intent}[-{size}]. neutral is the
     flush gray X (modals & slide-overs); success/danger are padded flash
     pills, size = padding (sm/md/lg). Icon keeps its own h-/w-. */

  /* Shared shape + focus ring. */
  .btn-close-neutral,
  .btn-close-success-sm, .btn-close-success-md, .btn-close-success-lg,
  .btn-close-danger-sm, .btn-close-danger-md, .btn-close-danger-lg {
    @apply rounded-md bg-white transition duration-150 ease-out active:scale-[0.97];
    @apply focus:outline-none focus:ring-2 focus:ring-offset-2;
  }

  /* neutral — flush gray X. */
  .btn-close-neutral {
    @apply relative text-gray-400 hover:text-gray-500 focus:ring-indigo-500;
  }

  /* success/danger — padded flash pills. */
  .btn-close-success-sm, .btn-close-success-md, .btn-close-success-lg {
    @apply inline-flex text-green-500 hover:bg-green-100 focus:ring-green-600 focus:ring-offset-green-50;
  }
  .btn-close-danger-sm, .btn-close-danger-md, .btn-close-danger-lg {
    @apply inline-flex text-red-500 hover:bg-red-100 focus:ring-red-600 focus:ring-offset-red-50;
  }

  /* Size = padding (flash pills only). */
  .btn-close-success-sm, .btn-close-danger-sm { @apply p-1; }
  .btn-close-success-md, .btn-close-danger-md { @apply p-1.5; }
  .btn-close-success-lg, .btn-close-danger-lg { @apply p-2; }
}
/* ==============================
   Candidate header component styles
   ============================== */

@layer components {
  /* Score-band backgrounds for the interview-score sparkline dots (.pbg-*).
     The .sb-* aliases are kept for scorecard score-band styling shared with
     other components. */
  .sb-strong-no,   .pbg-strong-no   { background-color: #ef4444; }
  .sb-no,          .pbg-no          { background-color: #f59e0b; }
  .sb-neutral,     .pbg-neutral     { background-color: #fde047; }
  .sb-yes,         .pbg-yes         { background-color: #0284c7; }
  .sb-strong-yes,  .pbg-strong-yes  { background-color: #10b981; }
  .sb-exceptional, .pbg-exceptional { background-color: #22c55e; }

  /* Warmth dot backgrounds (cold blue → hot red), used by the warmth sparkline. */
  .pbg-no-interest     { background-color: #0369a1; }
  .pbg-low-interest    { background-color: #38bdf8; }
  .pbg-neutral-warmth  { background-color: #94a3b8; }
  .pbg-interested      { background-color: #fbbf24; }
  .pbg-strong-interest { background-color: #f97316; }
  .pbg-fully-committed { background-color: #dc2626; }

  /* ── Shared tooltip base ── */
  .header-tip {
    display: none;
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #111827;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 5px 9px;
    border-radius: 6px;
    white-space: nowrap;
    text-align: center;
    pointer-events: none;
  }

  /* Two-line tooltip body (sparkline dots): big value on top (.tip-score),
     a context line below (.tip-meta). */
  .header-tip .tip-score { display: block; font-size: 15px; font-weight: 700; line-height: 1.15; }
  .header-tip .tip-meta {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    font-weight: 400;
    color: #cbd5e1;
  }

  .header-tip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #111827;
  }

  /* Sparkline dot tooltips */
  .group:hover > .header-tip,
  .group:focus-visible > .header-tip {
    display: block;
  }

  /* ── Score text colors (band-based) ── */
  .stc-strong-no   { color: #b91c1c; }
  .stc-no          { color: #b45309; }
  .stc-neutral     { color: #a16207; }
  .stc-yes         { color: #0369a1; }
  .stc-strong-yes  { color: #065f46; }
  .stc-exceptional { color: #15803d; }

  /* ── Warmth text colors (cold blue → hot red) ── */
  .stc-no-interest     { color: #075985; }
  .stc-low-interest    { color: #0369a1; }
  .stc-neutral-warmth  { color: #334155; }
  .stc-interested      { color: #92400e; }
  .stc-strong-interest { color: #c2410c; }
  .stc-fully-committed { color: #b91c1c; }

  /* ── Sparkline dot (clickable, expands on hover) ── */
  .spark-dot {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #fff;
    opacity: 0.85;
    transition: transform 0.12s, opacity 0.12s;
  }

  .group:hover > .spark-dot,
  .group:focus-visible > .spark-dot {
    transform: scale(1.6);
    opacity: 1;
  }
}
@layer components {
  /* Clickable cards, .card-{variant}-{size}: list (bordered), tile (kanban ring +
     shadow lift), tile-flat (flat tile, ring-only hover), accent (left-accent border).
     Own chrome + uniform padding; tile variants leave padding to the call site
     (p-3/p-3.5/p-4 vary). */

  .card-list-md {
    @apply bg-white rounded-2xl border border-slate-200 p-4 shadow-sm ring-1 ring-transparent hover:ring-sky-200;
  }

  .card-tile-md {
    @apply bg-white rounded-lg shadow-sm ring-1 ring-gray-200 cursor-pointer transition-all hover:ring-sky-300 hover:shadow-md;
  }

  .card-tile-flat-md {
    @apply bg-white rounded-lg ring-1 ring-gray-200 cursor-pointer transition-shadow duration-150 hover:ring-sky-600;
  }

  .card-accent-md {
    @apply bg-white rounded-r-lg border border-slate-200 border-l-[3px] px-4 py-3 shadow-sm transition hover:border-l-sky-500 hover:shadow-md;
  }
}
.flatpickr-calendar{background:transparent;opacity:0;display:none;text-align:center;visibility:hidden;padding:0;-webkit-animation:none;animation:none;direction:ltr;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-touch-action:manipulation;touch-action:manipulation;background:#fff;-webkit-box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,0.08);box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,0.08)}.flatpickr-calendar.open,.flatpickr-calendar.inline{opacity:1;max-height:640px;visibility:visible}.flatpickr-calendar.open{display:inline-block;z-index:99999}.flatpickr-calendar.animate.open{-webkit-animation:fpFadeInDown 300ms cubic-bezier(.23,1,.32,1);animation:fpFadeInDown 300ms cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px)}.flatpickr-calendar.static.open{z-index:999;display:block}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7){-webkit-box-shadow:none !important;box-shadow:none !important}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1){-webkit-box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-calendar .hasWeeks .dayContainer,.flatpickr-calendar .hasTime .dayContainer{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0}.flatpickr-calendar.hasTime .flatpickr-time{height:40px;border-top:1px solid #e6e6e6}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.flatpickr-calendar:before,.flatpickr-calendar:after{position:absolute;display:block;pointer-events:none;border:solid transparent;content:'';height:0;width:0;left:22px}.flatpickr-calendar.rightMost:before,.flatpickr-calendar.arrowRight:before,.flatpickr-calendar.rightMost:after,.flatpickr-calendar.arrowRight:after{left:auto;right:22px}.flatpickr-calendar.arrowCenter:before,.flatpickr-calendar.arrowCenter:after{left:50%;right:50%}.flatpickr-calendar:before{border-width:5px;margin:0 -5px}.flatpickr-calendar:after{border-width:4px;margin:0 -4px}.flatpickr-calendar.arrowTop:before,.flatpickr-calendar.arrowTop:after{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:#e6e6e6}.flatpickr-calendar.arrowTop:after{border-bottom-color:#fff}.flatpickr-calendar.arrowBottom:before,.flatpickr-calendar.arrowBottom:after{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:#e6e6e6}.flatpickr-calendar.arrowBottom:after{border-top-color:#fff}.flatpickr-calendar:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-months{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-months .flatpickr-month{background:transparent;color:rgba(0,0,0,0.9);fill:rgba(0,0,0,0.9);height:34px;line-height:1;text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.flatpickr-months .flatpickr-prev-month,.flatpickr-months .flatpickr-next-month{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-decoration:none;cursor:pointer;position:absolute;top:0;height:34px;padding:10px;z-index:3;color:rgba(0,0,0,0.9);fill:rgba(0,0,0,0.9)}.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,.flatpickr-months .flatpickr-next-month.flatpickr-disabled{display:none}.flatpickr-months .flatpickr-prev-month i,.flatpickr-months .flatpickr-next-month i{position:relative}.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,.flatpickr-months .flatpickr-next-month.flatpickr-prev-month{/*
      /*rtl:begin:ignore*/left:0/*
      /*rtl:end:ignore*/}/*
      /*rtl:begin:ignore*/
/*
      /*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,.flatpickr-months .flatpickr-next-month.flatpickr-next-month{/*
      /*rtl:begin:ignore*/right:0/*
      /*rtl:end:ignore*/}/*
      /*rtl:begin:ignore*/
/*
      /*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month:hover,.flatpickr-months .flatpickr-next-month:hover{color:#959ea9}.flatpickr-months .flatpickr-prev-month:hover svg,.flatpickr-months .flatpickr-next-month:hover svg{fill:#f64747}.flatpickr-months .flatpickr-prev-month svg,.flatpickr-months .flatpickr-next-month svg{width:14px;height:14px}.flatpickr-months .flatpickr-prev-month svg path,.flatpickr-months .flatpickr-next-month svg path{-webkit-transition:fill .1s;transition:fill .1s;fill:inherit}.numInputWrapper{position:relative;height:auto}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%}.numInputWrapper input::-ms-clear{display:none}.numInputWrapper input::-webkit-outer-spin-button,.numInputWrapper input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.numInputWrapper span{position:absolute;right:0;width:14px;padding:0 4px 0 2px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(57,57,57,0.15);-webkit-box-sizing:border-box;box-sizing:border-box}.numInputWrapper span:hover{background:rgba(0,0,0,0.1)}.numInputWrapper span:active{background:rgba(0,0,0,0.2)}.numInputWrapper span:after{display:block;content:"";position:absolute}.numInputWrapper span.arrowUp{top:0;border-bottom:0}.numInputWrapper span.arrowUp:after{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid rgba(57,57,57,0.6);top:26%}.numInputWrapper span.arrowDown{top:50%}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid rgba(57,57,57,0.6);top:40%}.numInputWrapper span svg{width:inherit;height:auto}.numInputWrapper span svg path{fill:rgba(0,0,0,0.5)}.numInputWrapper:hover{background:rgba(0,0,0,0.05)}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:135%;line-height:inherit;font-weight:300;color:inherit;position:absolute;width:75%;left:12.5%;padding:7.48px 0 0 0;line-height:1;height:34px;display:inline-block;text-align:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-left:.5ch;padding:0}.flatpickr-current-month span.cur-month:hover{background:rgba(0,0,0,0.05)}.flatpickr-current-month .numInputWrapper{width:6ch;width:7ch\0;display:inline-block}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:rgba(0,0,0,0.9)}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:rgba(0,0,0,0.9)}.flatpickr-current-month input.cur-year{background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;cursor:text;padding:0 0 0 .5ch;margin:0;display:inline-block;font-size:inherit;font-family:inherit;font-weight:300;line-height:inherit;height:auto;border:0;border-radius:0;vertical-align:initial;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-current-month input.cur-year:focus{outline:0}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:rgba(0,0,0,0.5);background:transparent;pointer-events:none}.flatpickr-current-month .flatpickr-monthDropdown-months{appearance:menulist;background:transparent;border:none;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;font-size:inherit;font-family:inherit;font-weight:300;height:auto;line-height:inherit;margin:-1px 0 0 0;outline:none;padding:0 0 0 .5ch;position:relative;vertical-align:initial;-webkit-box-sizing:border-box;-webkit-appearance:menulist;-moz-appearance:menulist;width:auto}.flatpickr-current-month .flatpickr-monthDropdown-months:focus,.flatpickr-current-month .flatpickr-monthDropdown-months:active{outline:none}.flatpickr-current-month .flatpickr-monthDropdown-months:hover{background:rgba(0,0,0,0.05)}.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month{background-color:transparent;outline:none;padding:0}.flatpickr-weekdays{background:transparent;text-align:center;overflow:hidden;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:28px}.flatpickr-weekdays .flatpickr-weekdaycontainer{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}span.flatpickr-weekday{cursor:default;font-size:90%;background:transparent;color:rgba(0,0,0,0.54);line-height:1;margin:0;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-weight:bolder}.dayContainer,.flatpickr-weeks{padding:1px 0 0 0}.flatpickr-days{position:relative;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;width:307.875px}.flatpickr-days:focus{outline:0}.dayContainer{padding:0;outline:0;text-align:left;width:307.875px;min-width:307.875px;max-width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;display:-ms-flexbox;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-wrap:wrap;-ms-flex-pack:justify;-webkit-justify-content:space-around;justify-content:space-around;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}.dayContainer + .dayContainer{-webkit-box-shadow:-1px 0 0 #e6e6e6;box-shadow:-1px 0 0 #e6e6e6}.flatpickr-day{background:none;border:1px solid transparent;border-radius:150px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#393939;cursor:pointer;font-weight:400;width:14.2857143%;-webkit-flex-basis:14.2857143%;-ms-flex-preferred-size:14.2857143%;flex-basis:14.2857143%;max-width:39px;height:39px;line-height:39px;margin:0;display:inline-block;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center}.flatpickr-day.inRange,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.today.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day:hover,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.nextMonthDay:hover,.flatpickr-day:focus,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.nextMonthDay:focus{cursor:pointer;outline:0;background:#e6e6e6;border-color:#e6e6e6}.flatpickr-day.today{border-color:#959ea9}.flatpickr-day.today:hover,.flatpickr-day.today:focus{border-color:#959ea9;background:#959ea9;color:#fff}.flatpickr-day.selected,.flatpickr-day.startRange,.flatpickr-day.endRange,.flatpickr-day.selected.inRange,.flatpickr-day.startRange.inRange,.flatpickr-day.endRange.inRange,.flatpickr-day.selected:focus,.flatpickr-day.startRange:focus,.flatpickr-day.endRange:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange:hover,.flatpickr-day.endRange:hover,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.endRange.nextMonthDay{background:#569ff7;-webkit-box-shadow:none;box-shadow:none;color:#fff;border-color:#569ff7}.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange,.flatpickr-day.endRange.startRange{border-radius:50px 0 0 50px}.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange,.flatpickr-day.endRange.endRange{border-radius:0 50px 50px 0}.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)){-webkit-box-shadow:-10px 0 0 #569ff7;box-shadow:-10px 0 0 #569ff7}.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange,.flatpickr-day.endRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange{border-radius:0;-webkit-box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover,.flatpickr-day.prevMonthDay,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.notAllowed.nextMonthDay{color:rgba(57,57,57,0.3);background:transparent;border-color:transparent;cursor:default}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{cursor:not-allowed;color:rgba(57,57,57,0.1)}.flatpickr-day.week.selected{border-radius:0;-webkit-box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7;box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7}.flatpickr-day.hidden{visibility:hidden}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{float:left}.flatpickr-weekwrapper .flatpickr-weeks{padding:0 12px;-webkit-box-shadow:1px 0 0 #e6e6e6;box-shadow:1px 0 0 #e6e6e6}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%;line-height:28px}.flatpickr-weekwrapper span.flatpickr-day,.flatpickr-weekwrapper span.flatpickr-day:hover{display:block;width:100%;max-width:none;color:rgba(57,57,57,0.3);background:transparent;cursor:default;border:none}.flatpickr-innerContainer{display:block;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.flatpickr-rContainer{display:inline-block;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}.flatpickr-time{text-align:center;outline:0;display:block;height:0;line-height:40px;max-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-time:after{content:"";display:table;clear:both}.flatpickr-time .numInputWrapper{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:40%;height:40px;float:left}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#393939}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#393939}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:transparent;-webkit-box-shadow:none;box-shadow:none;border:0;border-radius:0;text-align:center;margin:0;padding:0;height:inherit;line-height:inherit;color:#393939;font-size:14px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-time input.flatpickr-hour{font-weight:bold}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-time-separator,.flatpickr-time .flatpickr-am-pm{height:inherit;float:left;line-height:inherit;color:#393939;font-weight:bold;width:2%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400}.flatpickr-time input:hover,.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time input:focus,.flatpickr-time .flatpickr-am-pm:focus{background:#eee}.flatpickr-input[readonly]{cursor:pointer}@-webkit-keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}
@layer components {
  /* Selection controls: checkboxes, radios, toggle switches. Each owns shape,
     colour and the state-change transition; call sites keep layout (mr-2, mt-1)
     and per-site overrides. Names dodge @tailwindcss/forms' .form-checkbox/.form-radio. */

  .checkbox {
    @apply h-4 w-4 rounded border-gray-300 text-sky-600 transition-colors duration-150 focus:ring-sky-500;
  }

  .radio {
    @apply h-4 w-4 border-gray-300 text-sky-600 transition-colors duration-150 focus:ring-sky-500;
  }

  /* Toggle: shared shell only. Size, off/on colour and translate stay at the call site. */
  .toggle-track { @apply rounded-full transition-colors duration-150; }
  .toggle-knob  { @apply rounded-full bg-white transition-transform duration-150; }
}
@layer components {
  /* Form fields: text-like inputs, selects, and textareas. Compound name —
     .form-field-{variant}-{size} — variant is default or error, size is sm or md.
     Stack .form-field-disabled for the disabled treatment. Standalone classes
     cover shapes that differ by design: .form-field-textarea (multi-line),
     .form-field-search (search toolbars), .form-field-plain (borderless /
     inline-edit). These classes own border, ring, radius, padding, shadow,
     placeholder and focus; call sites keep only layout utilities (width, margin,
     flex, select chevron spacing). The .form-field prefix avoids colliding with
     @tailwindcss/forms' own .form-input/.form-select/.form-textarea classes. */

  /* Shared structure — bordered fields (default/error single-line + textarea). */
  .form-field-default-sm, .form-field-default-md,
  .form-field-error-sm, .form-field-error-md,
  .form-field-textarea {
    @apply block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm;
    @apply ring-1 ring-inset placeholder:text-gray-400;
    @apply focus:ring-2 focus:ring-inset sm:text-sm sm:leading-6;
  }

  /* Variant (ring color). */
  .form-field-default-sm, .form-field-default-md, .form-field-textarea {
    @apply ring-gray-300 focus:ring-sky-600;
  }
  .form-field-error-sm, .form-field-error-md { @apply ring-red-300 focus:ring-red-300; }

  /* Size (height). */
  .form-field-default-sm, .form-field-error-sm { @apply h-11; }
  .form-field-default-md, .form-field-error-md { @apply h-12; }
  .form-field-textarea { @apply h-32; }

  /* Disabled modifier — stack on any field class. */
  .form-field-disabled { @apply bg-gray-100 cursor-not-allowed; }

  /* Search toolbar fields — larger padding, pill radius. Grows to fill the
     toolbar's flex row (a no-op outside a flex parent). */
  .form-field-search {
    @apply block w-full flex-grow rounded-lg border-0 pl-9 pr-3.5 py-2 text-gray-900 shadow-sm;
    @apply ring-1 ring-inset ring-gray-300 placeholder:text-gray-400;
    @apply focus:ring-2 focus:ring-inset focus:ring-sky-600 sm:text-sm sm:leading-6;
  }

  /* Plain — borderless, transparent, no ring. For inputs overlaid inside a
     bordered wrapper (e.g. phone country-code group). */
  .form-field-plain { @apply border-0 bg-transparent focus:ring-0; }

  /* Inline edit — borderless field with an underline, used for the editable
     title/summary fields in record headers. */
  .form-field-inline-edit {
    @apply border-0 bg-transparent focus:ring-0 text-sm text-gray-500;
    @apply border-b-2 border-sky-100 focus:border-sky-600 py-1 placeholder:text-gray-400;
  }
}
/* ==============================
   Interview score component styles
   ============================== */

@layer components {
  /* ── Scoring band color themes (red → green rating gradient) ── */
  [data-band="strong-no"] {
    --is-band-color: theme(colors.red.500);
    --is-band-text: theme(colors.red.700);
    --is-band-bg: theme(colors.red.50);
    --is-band-ring: theme(colors.red.200);
    --is-band-pill-text: #fff;
  }
  [data-band="no"] {
    --is-band-color: theme(colors.amber.500);
    --is-band-text: theme(colors.amber.700);
    --is-band-bg: theme(colors.amber.50);
    --is-band-ring: theme(colors.amber.200);
    --is-band-pill-text: theme(colors.amber.900);
  }
  [data-band="neutral"] {
    --is-band-color: theme(colors.yellow.300);
    --is-band-text: theme(colors.yellow.700);
    --is-band-bg: theme(colors.yellow.50);
    --is-band-ring: theme(colors.yellow.200);
    --is-band-pill-text: theme(colors.yellow.900);
  }
  [data-band="yes"] {
    --is-band-color: theme(colors.sky.600);
    --is-band-text: theme(colors.sky.700);
    --is-band-bg: theme(colors.sky.50);
    --is-band-ring: theme(colors.sky.200);
    --is-band-pill-text: #fff;
  }
  [data-band="strong-yes"] {
    --is-band-color: theme(colors.emerald.600);
    --is-band-text: theme(colors.emerald.700);
    --is-band-bg: theme(colors.emerald.50);
    --is-band-ring: theme(colors.emerald.200);
    --is-band-pill-text: #fff;
  }
  [data-band="exceptional"] {
    --is-band-color: theme(colors.green.600);
    --is-band-text: theme(colors.green.700);
    --is-band-bg: theme(colors.green.50);
    --is-band-ring: theme(colors.green.200);
    --is-band-pill-text: #fff;
  }

  /* ── Warmth band color themes (cold → hot heatmap, using sky for true blue) ── */
  [data-band="no-interest"] {
    --is-band-color: theme(colors.sky.700);
    --is-band-text: theme(colors.sky.800);
    --is-band-bg: theme(colors.sky.50);
    --is-band-ring: theme(colors.sky.200);
    --is-band-pill-text: #fff;
  }
  [data-band="low-interest"] {
    --is-band-color: theme(colors.sky.400);
    --is-band-text: theme(colors.sky.700);
    --is-band-bg: theme(colors.sky.50);
    --is-band-ring: theme(colors.sky.200);
    --is-band-pill-text: theme(colors.sky.900);
  }
  [data-band="neutral-warmth"] {
    --is-band-color: theme(colors.slate.400);
    --is-band-text: theme(colors.slate.700);
    --is-band-bg: theme(colors.slate.50);
    --is-band-ring: theme(colors.slate.200);
    --is-band-pill-text: #fff;
  }
  [data-band="interested"] {
    --is-band-color: theme(colors.amber.400);
    --is-band-text: theme(colors.amber.800);
    --is-band-bg: theme(colors.amber.50);
    --is-band-ring: theme(colors.amber.200);
    --is-band-pill-text: theme(colors.amber.900);
  }
  [data-band="strong-interest"] {
    --is-band-color: theme(colors.orange.500);
    --is-band-text: theme(colors.orange.700);
    --is-band-bg: theme(colors.orange.50);
    --is-band-ring: theme(colors.orange.200);
    --is-band-pill-text: #fff;
  }
  [data-band="fully-committed"] {
    --is-band-color: theme(colors.red.600);
    --is-band-text: theme(colors.red.700);
    --is-band-bg: theme(colors.red.50);
    --is-band-ring: theme(colors.red.200);
    --is-band-pill-text: #fff;
  }

  /* ── Pill ── */
  .interview-score-pill {
    background-color: #fff;
    border-color: theme(colors.gray.300);
    color: theme(colors.gray.500);
    box-shadow: none;
  }
  .interview-score-pill[data-filled] {
    background-color: var(--is-band-color);
    border-color: var(--is-band-color);
    color: var(--is-band-pill-text);
  }
  .interview-score-pill[data-selected] {
    box-shadow: 0 2px 8px color-mix(in srgb, var(--is-band-color) 20%, transparent);
  }

  /* ── Rubric panel ── */
  [data-interview-score-target="rubric"] {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    transition: grid-template-rows 200ms ease-out, opacity 200ms ease-out,
                visibility 200ms ease-out;
  }
  [data-interview-score-target="rubric"][data-open] {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
  }
  [data-interview-score-target="rubric"] > div {
    min-height: 0;
    overflow: hidden;
  }
  @media (prefers-reduced-motion: reduce) {
    [data-interview-score-target="rubric"] {
      transition: opacity 200ms ease-out, visibility 200ms ease-out;
    }
  }

  /* ── Rubric chevron ── */
  [data-interview-score-target="rubricChevron"][data-open] {
    transform: rotate(180deg);
  }

  /* ── Panel & helper text visibility ── */
  [data-interview-score-target="panel"] {
    visibility: hidden;
    opacity: 0;
    transition: opacity 200ms ease-out;
  }
  [data-interview-score-target="panel"][data-visible] {
    visibility: visible;
    opacity: 1;
  }
  [data-interview-score-target="helperText"] {
    transition: opacity 200ms ease-out;
  }
  [data-interview-score-target="helperText"][data-hidden] {
    visibility: hidden;
    opacity: 0;
  }

  /* ── Panel card ── */
  .interview-score-panel-card {
    background-color: var(--is-band-bg, transparent);
    border-color: var(--is-band-ring, transparent);
  }
  .interview-score-dot {
    background-color: var(--is-band-color, transparent);
  }
  .interview-score-label {
    color: var(--is-band-text, inherit);
  }

  /* ── Rubric badge ── */
  .interview-score-badge {
    background-color: var(--is-band-bg);
    color: var(--is-band-text);
    border-color: var(--is-band-ring);
  }
}
@layer components {
  /* Text & action links. .link-primary owns colour (sky text/action links);
     .link-underline owns the dashed underline (record-name links). Font size and
     layout stay call-site utilities; a differing utility bolted on top overrides
     the class, surfacing drift. */

  .link-primary {
    @apply text-sky-600 hover:text-sky-500;
  }

  .link-underline {
    @apply underline underline-offset-4 decoration-dashed;
  }
}
@layer components {
  /* Dropdown menu items — rows inside a filter or action dropdown panel (the white
     bg-white shadow-lg ring-1 ring-black/5 popovers opened by submenu_controller and
     multiselect_filter_controller). Compound name .menu-item-{intent}-{size}: intent
     is default (pick a value, run an action) or danger (a destructive action); size
     is sm, the only size there is, kept in the name to mirror .btn-{intent}-{size}.
     .menu-heading labels a run of rows.

     STATEFUL (default only): the chosen row of a chooser menu is carried by ONE
     attribute, aria-current="true". "true", not "page": a menu row picks a value, it
     never IS the page the user is on. The class owns BOTH states — unchosen on the
     intent rule, chosen on the attribute rule; call sites only set the attribute,
     never swap classes. danger rows are actions, never chosen, so danger has no state.

     OWNS the row's paint: surface, both state colours, hover, typography, padding and
     the pointer (a <label> wrapping a checkbox gets none from preflight the way a
     <button> does). CALL SITE keeps LAYOUT, and this family has two displays: block
     (plus w-full text-left on a button) for a text row, flex items-center (plus gap-2)
     for a row holding a checkbox, status dot or icon — so display is not baked in,
     unlike on-light nav rows. No transition, active: or focus ring: no menu item has
     one today, so owning them would be a visual change (cf. .row-focus-inset).

     The nav's dropdown rows are .nav-item-on-light-sm — the same paint under a
     different contract (real page links, aria-current="page", a sky focus ring). The
     two converge in a later PR, nav's cell folding into this one.

     Not covered: px-3 combobox/listbox options (role="option" typeahead rows), the
     dark bulk-action bar, JS-generated mention rows, the nav's help-topic list, and
     the drilldown filter buttons in InceptionSlippage / UnweightedMovements —
     table_filter_controller adds AND removes bg-gray-50, text-gray-700 and
     hover:bg-gray-100 on those, so a class owning them would break the removal. */

  /* Shared structure (both intents). bg-white is redundant over today's white panels
     but keeps the row opaque if a panel is ever tinted. */
  .menu-item-default-sm,
  .menu-item-danger-sm { @apply bg-white cursor-pointer; }

  /* Intent (colour + hover). Weight 400 — a menu row is not emphasized. */
  .menu-item-default-sm { @apply text-gray-700 hover:bg-gray-100; }
  /* A sky wash, not a gray one: gray-100 is already the hover, so a hovered row would
     be indistinguishable from the chosen one. */
  .menu-item-default-sm[aria-current="true"] {
    @apply bg-sky-50 font-medium text-sky-700 hover:bg-sky-100;
  }

  .menu-item-danger-sm { @apply text-red-600 hover:bg-red-50; }

  /* Size (padding + text). */
  .menu-item-default-sm,
  .menu-item-danger-sm { @apply px-4 py-2 text-sm; }

  /* Group label above a run of rows. No intent or size axis, like .tab-list-underline.
     py-1, not py-2: it is a label, not a target. */
  .menu-heading {
    @apply px-4 py-1 text-xs font-semibold uppercase tracking-wide text-slate-400;
  }
}
/* ==============================
   Global multiselect styles
   ============================== */

.multiselect__container {
  font-family: "Inter var", ui-sans-serif, system-ui, sans-serif;
  padding: 0.375rem 0.5rem;
  background-color: white;
  border-radius: 0.375rem;
  appearance: none;
  border: 1px solid rgb(209 213 219);
  outline: none;
  color: rgb(55 65 81);
  line-height: 1.5;
  font-weight: 400;
  font-size: 0.875rem;
  cursor: text;
}

.multiselect__container:focus-within {
  border-color: rgb(2 132 199);
  box-shadow: none;
}

.multiselect__container:hover:not(:focus-within) {
  border-color: rgb(156 163 175);
}

.multiselect__container--disabled {
  background-color: rgb(243 244 246);
  cursor: not-allowed;
}

.multiselect__hidden {
  display: none;
}

.multiselect__preview {
  width: 100%;
  width: -webkit-fill-available;
  width: -moz-available;
  width: stretch;
  gap: 0.375rem;
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
}

.multiselect__pill {
  max-width: 100%;
  font-size: 0.875rem;
  padding-left: 0.625rem;
  background-color: rgb(224 242 254);
  border: none;
  border-radius: 9999px;
  display: flex;
  align-items: center;
}

.multiselect__pill-delete {
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  align-items: center;
  display: flex;
  margin-left: 0.25rem;
}

.multiselect__pill-delete:hover {
  background-color: rgb(186 230 253);
}

.multiselect__pill-delete svg {
  fill: rgb(2 132 199);
}

.multiselect__pill-text {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
  color: rgb(3 105 161);
  font-weight: 500;
}

.multiselect__input-container {
  display: flex;
  margin-top: 0.75rem;
}

.multiselect__focused {
  background-color: rgb(240 249 255) !important;
}

.multiselect__placeholder {
  color: rgb(156 163 175);
  font-style: normal;
  padding-left: 0.25rem;
  opacity: 1;
}

.multiselect__addable {
  text-decoration-line: underline;
  color: rgb(107 114 128);
  text-align: center;
}

.multiselect__addable:hover {
  color: rgb(55 65 81);
}

.multiselect__addable-button {
  padding: 0.5rem;
  text-decoration-line: underline;
  color: rgb(55 65 81);
  cursor: pointer;
}

.multiselect__addable-button:hover {
  color: rgb(2 132 199);
}

.multiselect__no-result {
  color: rgb(107 114 128);
  padding: 0.75rem;
  font-size: 0.875rem;
}

.multiselect__search {
  width: 100%;
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent;
  color: rgb(55 65 81);
  font-size: 0.875rem;
  padding: 0.25rem 0.25rem;
  font-family: inherit;
  line-height: 1.5;
}

.multiselect__search:focus {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  --tw-ring-shadow: 0 0 #0000 !important;
}

.multiselect__search::placeholder {
  font-style: normal;
  opacity: 1;
  color: rgb(156 163 175);
}

.multiselect__search:focus::placeholder {
  color: rgb(156 163 175);
}

.multiselect__search:disabled {
  background-color: rgb(243 244 246);
  cursor: not-allowed;
}

.multiselect__list {
  max-height: 400px;
  overflow-y: auto;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.multiselect__list li {
  display: block;
  align-items: center;
  font-size: 0.875rem;
  color: rgb(55 65 81);
  border-top: 1px solid rgb(229 231 235);
}

.multiselect__list li:first-child {
  border-top-width: 0;
}

.multiselect__list li:hover {
  background-color: rgb(240 249 255);
}

.multiselect__list li label {
  padding: 0.5rem 0.75rem;
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 0.875rem;
  color: rgb(55 65 81);
}

.multiselect__list li:first-child {
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}

.multiselect__list li:last-child {
  border-bottom-left-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

.multiselect__list li input {
  appearance: none;
  -webkit-appearance: none;
  width: 1rem;
  height: 1rem;
  border: 1px solid rgb(209 213 219);
  border-radius: 0.25rem;
  background-color: white;
  margin-right: 0.5rem;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
}

.multiselect__list li input:hover {
  border-color: rgb(2 132 199);
  background-color: white;
}

.multiselect__list li input:checked {
  background-color: rgb(2 132 199);
  border-color: rgb(2 132 199);
}

.multiselect__list li input:checked:hover {
  background-color: rgb(14 165 233);
  border-color: rgb(14 165 233);
}

.multiselect__list li input:checked::after {
  content: '';
  position: absolute;
  left: 0.3125rem;
  top: 0.125rem;
  width: 0.25rem;
  height: 0.5rem;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@media (forced-colors: active) {
  .multiselect__list li input {
    appearance: auto;
    -webkit-appearance: checkbox;
    forced-color-adjust: auto;
    border: 1px solid CanvasText;
    background: Canvas;
  }

  .multiselect__list li input:checked::after {
    content: none;
  }
}

.multiselect__list li input:focus {
  outline: none;
  border-color: rgb(2 132 199);
  box-shadow: 0 0 0 1px rgb(2 132 199);
}

.multiselect__dropdown {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  background-color: white;
  border: 1px solid rgb(229 231 235);
  width: 100%;
  border-radius: 0.375rem;
  display: none;
  margin-top: 0.25rem;
  z-index: 50;
  position: absolute;
}

.multiselect__dropdown--open {
  display: block;
}

/* ==============================
   Skills multiselect overrides
   Inline input next to pills, no dropdown
   ============================== */

#skills-multiselect-inner .multiselect__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.625rem;
}

#skills-multiselect-inner .multiselect__preview {
  display: contents;
}

#skills-multiselect-inner .multiselect__input-container {
  display: flex !important;
  align-items: center;
  margin-top: 0;
  flex: 1;
  min-width: 8rem;
}

#skills-multiselect-inner .multiselect__search {
  padding: 0.125rem 0 0.125rem 0.125rem !important;
}

#skills-multiselect-inner .multiselect__dropdown {
  display: none !important;
}
@layer components {
  /* Navigation items — the primary nav's top-level controls and the items inside
     its dropdown and mobile panels. Compound name .nav-item-{intent}-{size}:
     intent is on-dark (the sky nav bar and its mobile panel) or on-light (a white
     dropdown panel); size is sm (desktop, text-sm) or md (mobile touch targets,
     text-base).

     STATEFUL: current state is carried by ONE attribute, aria-current, set
     server-side by nav_aria_current. Two tokens style identically but announce
     differently: "page" for a link that IS the current page, "true" for a submenu
     trigger that merely contains it (a button that opens Dashboards must not claim
     to be the current page). The class owns BOTH states — inactive on the base
     rule, current on the attribute rules; call sites only flip the attribute,
     never swap classes. Every intent carries a current state; NavItemComponent
     resolves the token from the controllers a call site claims.

     OWNS shape, both state colours, hover, focus ring, typography and padding.
     CALL SITE keeps LAYOUT: block, inline-flex items-center (desktop bar items
     hold a chevron), w-full text-left, relative. on-light owns block — every one
     of its call sites is a full-width menu row. No transition is baked in: no nav
     item has one today. */

  /* Shared focus treatment (all intents and sizes). */
  .nav-item-on-dark-sm,
  .nav-item-on-dark-md,
  .nav-item-on-light-sm {
    @apply focus:outline-none focus-visible:ring-2 focus-visible:ring-inset;
  }

  /* Intent (colour, shape, hover). font-medium is on-dark only — on-light menu
     rows are weight 400. */
  .nav-item-on-dark-sm,
  .nav-item-on-dark-md {
    @apply rounded-md font-medium text-white hover:bg-sky-600/75 focus-visible:ring-white;
  }
  .nav-item-on-dark-sm[aria-current="page"],
  .nav-item-on-dark-sm[aria-current="true"],
  .nav-item-on-dark-md[aria-current="page"],
  .nav-item-on-dark-md[aria-current="true"] { @apply bg-sky-800 hover:bg-sky-800; }

  .nav-item-on-light-sm {
    @apply block bg-white text-gray-700 hover:bg-gray-100 focus-visible:ring-sky-600;
  }
  /* A sky wash, not a gray one: gray-100 is already the hover, so a hovered row
     would be indistinguishable from the current one. */
  .nav-item-on-light-sm[aria-current="page"],
  .nav-item-on-light-sm[aria-current="true"] {
    @apply bg-sky-50 font-medium text-sky-700 hover:bg-sky-100;
  }

  /* Size (padding + text). */
  .nav-item-on-dark-sm { @apply px-3 py-2 text-sm; }
  .nav-item-on-dark-md { @apply px-3 py-2 text-base; }
  .nav-item-on-light-sm { @apply px-4 py-2 text-sm; }
}
/* Pipeline chevron steps — arrow angle matches breadcrumb chevrons (1:2 ratio) */

:root {
  --pipeline-arrow: 20px;
}

.pipeline__step--first {
  clip-path: polygon(
    0 0,
    calc(100% - var(--pipeline-arrow)) 0,
    100% 50%,
    calc(100% - var(--pipeline-arrow)) 100%,
    0 100%
  );
}

.pipeline__step--middle {
  clip-path: polygon(
    0 0,
    calc(100% - var(--pipeline-arrow)) 0,
    100% 50%,
    calc(100% - var(--pipeline-arrow)) 100%,
    0 100%,
    var(--pipeline-arrow) 50%
  );
}

.pipeline__step--last {
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    0 100%,
    var(--pipeline-arrow) 50%
  );
}

.pipeline__wrapper {
  filter: drop-shadow(0 0 0.5px rgb(156 163 175)) drop-shadow(0 0 0.5px rgb(156 163 175));
}

.pipeline__wrapper--first {
  margin-right: calc(var(--pipeline-arrow) / -2);
  border-radius: 0.375rem 0 0 0.375rem;
  overflow: hidden;
}

.pipeline__wrapper--middle {
  margin-left: calc(var(--pipeline-arrow) / -2);
  margin-right: calc(var(--pipeline-arrow) / -2);
}

.pipeline__wrapper--last {
  margin-left: calc(var(--pipeline-arrow) / -2);
  border-radius: 0 0.375rem 0.375rem 0;
  overflow: hidden;
}

/* Scrollable pipeline — hide native scrollbar */
.pipeline__scroll {
  scrollbar-width: none; /* Firefox */
}
.pipeline__scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}
@layer components {
  /* Clickable list/table rows. .row-{intent}-{size}: intent is nav (the element
     is the interactive control) or hover (a wrapper/<tr> whose click target
     lives elsewhere). Size is md only — padding is layout the call site owns, so
     md emits nothing and just mirrors .btn-{intent}-{size}. Call sites keep
     layout, link typography (text-inherit/no-underline), and any transition-*.
     Card rows (hover:ring-sky-* + shadow) and select tiles are a separate
     family. */

  /* Shared hover. No transition or focus ring baked in: most rows have neither,
     so owning them would be a visual change (rings opt in via the modifiers). */
  .row-nav-md,
  .row-hover-md { @apply hover:bg-gray-50; }

  /* nav owns the pointer; hover leaves the cursor to its click target. */
  .row-nav-md { @apply cursor-pointer; }

  /* Focus rings — stack on .row-nav-md. inset for full-bleed rows, offset for rounded. */
  .row-focus-inset {
    @apply outline-none focus-visible:ring-2 focus-visible:ring-sky-500 focus-visible:ring-inset;
  }
  .row-focus-offset {
    @apply outline-none focus-visible:ring-2 focus-visible:ring-sky-500 focus-visible:ring-offset-1;
  }
}
@layer components {
  /* Tab navigation — the "active-tab" pattern in two variants: underline tab bars
     and rounded filter pills.
       .tab-list-underline     the <nav> container for underline bars
       .tab-underline-{sm,md}  an underline tab control
       .tab-pill-md            a rounded filter pill
     Underline has no colour-intent axis (active is always sky). Pills bake the
     dominant soft-sky palette; off-palette pills (green/solid/border) override.

     STATEFUL: active/inactive is carried by ONE signal, [aria-current=page], set
     by server link_to aria:{current:}, tabs_controller, comment_source_filter and
     planner_pill_filter controllers. Classes own BOTH states — inactive on the
     base rule, active on an [aria-current=page] attribute rule; call sites / JS
     only flip the attribute.

     OWNS shape, border, both state colours, typography. CALL SITE keeps LAYOUT:
     flex-1, text-center, whitespace-nowrap, vertical padding (varies per bar),
     divide-x, bg and px on the container. Underline does NOT bake transition or
     hover colours (most bars have neither); pills DO (every pill has them). */

  /* ---- Underline bars ---- */
  .tab-list-underline { @apply flex items-stretch border-b border-gray-200; }

  .tab-underline-sm,
  .tab-underline-md { @apply border-b-2 border-transparent text-gray-500; }
  .tab-underline-sm[aria-current="page"],
  .tab-underline-md[aria-current="page"] { @apply border-sky-600 text-sky-600; }

  .tab-underline-md { @apply text-xs font-semibold uppercase tracking-wide; }
  .tab-underline-sm { @apply text-sm font-medium; }
  .tab-underline-sm[aria-current="page"] { @apply font-semibold; }

  /* ---- Filter pills (canonical = soft sky) ---- */
  .tab-pill-md {
    @apply inline-flex items-center gap-1.5 rounded-full px-3 py-1.5;
    @apply whitespace-nowrap text-sm font-medium ring-1 ring-inset transition-colors;
    @apply text-gray-600 ring-gray-200 hover:bg-gray-50;
  }
  .tab-pill-md[aria-current="page"] { @apply bg-sky-50 text-sky-700 ring-sky-600; }
}
/* ── Trix toolbar restyling ─────────────────────────────────────────────────
   Flatten the toolbar to match the app's ring/rounded/outline-icon aesthetic.
   We keep file-tools hidden (see actiontext.css) and leave content styles as-is. */

/* Editor border */
trix-editor {
  border: none !important;
  border-radius: 0.5rem !important;
  padding: 0.625rem 0.875rem !important;
  box-shadow: inset 0 0 0 1px #d1d5db !important; /* ring-gray-300 */
  outline: none !important;
}
/* Toolbar wrapper – fully transparent, no border */
trix-toolbar,
trix-toolbar .trix-button-row {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
trix-toolbar .trix-button-row {
  gap: 0.375rem;
  padding: 0.25rem 0;
}

/* Button groups – subtle border, rounded */
trix-toolbar .trix-button-group {
  border: 1px solid #e5e7eb !important; /* gray-200 */
  border-radius: 0.375rem;
  background: #fff;
  box-shadow: none;
  margin-bottom: 0 !important;
}
trix-toolbar .trix-button-group:not(:first-child) {
  margin-left: 0 !important;
}

/* Individual buttons */
trix-toolbar .trix-button {
  border: none !important;
  border-radius: 0 !important;
  background: transparent;
  padding: 0 !important;
  margin: 0;
  transition: background-color 150ms ease;
}
trix-toolbar .trix-button:first-child {
  border-radius: 0.375rem 0 0 0.375rem !important;
}
trix-toolbar .trix-button:last-child {
  border-radius: 0 0.375rem 0.375rem 0 !important;
}
trix-toolbar .trix-button:only-child {
  border-radius: 0.375rem !important;
}
trix-toolbar .trix-button:not(:first-child) {
  border-left: 1px solid #f3f4f6 !important; /* gray-100 separator */
}
trix-toolbar .trix-button:hover:not(:disabled) {
  background: #f0f9ff; /* sky-50 */
}

/* Active (pressed) state */
trix-toolbar .trix-button.trix-active {
  background: #e0f2fe !important; /* sky-100 */
}
trix-toolbar .trix-button.trix-active::before {
  opacity: 1 !important;
}

/* Icon buttons – fixed sizing for consistency */
trix-toolbar .trix-button--icon {
  width: 2rem !important;
  height: 1.75rem !important;
  max-width: none !important;
}
trix-toolbar .trix-button--icon::before {
  opacity: 0.55;
  background-size: 1rem 1rem !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
}
trix-toolbar .trix-button--icon:hover:not(:disabled)::before {
  opacity: 0.85;
}

/* Replace filled icons with outline-style SVGs (stroke-based, 2px weight; bold uses 2.5px) */
trix-toolbar .trix-button--icon-bold::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z'/%3E%3Cpath d='M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z'/%3E%3C/svg%3E") !important;
}
trix-toolbar .trix-button--icon-italic::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='4' x2='10' y2='4'/%3E%3Cline x1='14' y1='20' x2='5' y2='20'/%3E%3Cline x1='15' y1='4' x2='9' y2='20'/%3E%3C/svg%3E") !important;
}
trix-toolbar .trix-button--icon-strike::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4c-.5-1.5-2.2-3-5-3-3 0-5 2-5 4.5 0 2 1.5 3.5 3 4.5'/%3E%3Cpath d='M8 20c.5 1.5 2.2 3 5 3 3 0 5-2 5-4.5 0-2-1.5-3.5-3-4.5'/%3E%3Cline x1='4' y1='12' x2='20' y2='12'/%3E%3C/svg%3E") !important;
}
trix-toolbar .trix-button--icon-link::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E") !important;
}
trix-toolbar .trix-button--icon-heading-1::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h8'/%3E%3Cpath d='M4 18V6'/%3E%3Cpath d='M12 18V6'/%3E%3Cpath d='M17 12l3-2v8'/%3E%3C/svg%3E") !important;
}
trix-toolbar .trix-button--icon-quote::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21c3 0 7-1 7-8V5c0-1.25-.757-2.017-2-2H4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2 1 0 1 0 1 1v1c0 1-1 2-2 2s-1 .008-1 1.031V21z'/%3E%3Cpath d='M15 21c3 0 7-1 7-8V5c0-1.25-.757-2.017-2-2h-4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2 1 0 1 0 1 1v1c0 1-1 2-2 2s-1 .008-1 1.031V21z'/%3E%3C/svg%3E") !important;
}
trix-toolbar .trix-button--icon-code::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='16 18 22 12 16 6'/%3E%3Cpolyline points='8 6 2 12 8 18'/%3E%3C/svg%3E") !important;
}
trix-toolbar .trix-button--icon-bullet-list::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E") !important;
}
trix-toolbar .trix-button--icon-number-list::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='10' y1='6' x2='21' y2='6'/%3E%3Cline x1='10' y1='12' x2='21' y2='12'/%3E%3Cline x1='10' y1='18' x2='21' y2='18'/%3E%3Cpath d='M4 6h1v4'/%3E%3Cpath d='M4 10h2'/%3E%3Cpath d='M6 18H4c0-1 2-2 2-3s-1-1.5-2-1'/%3E%3C/svg%3E") !important;
}
trix-toolbar .trix-button--icon-undo::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1 4 1 10 7 10'/%3E%3Cpath d='M3.51 15a9 9 0 1 0 2.13-9.36L1 10'/%3E%3C/svg%3E") !important;
}
trix-toolbar .trix-button--icon-redo::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 4 23 10 17 10'/%3E%3Cpath d='M20.49 15a9 9 0 1 1-2.12-9.36L23 10'/%3E%3C/svg%3E") !important;
}
trix-toolbar .trix-button--icon-decrease-nesting-level::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='7 8 3 12 7 16'/%3E%3Cline x1='21' y1='12' x2='11' y2='12'/%3E%3Cline x1='21' y1='6' x2='11' y2='6'/%3E%3Cline x1='21' y1='18' x2='11' y2='18'/%3E%3C/svg%3E") !important;
}
trix-toolbar .trix-button--icon-increase-nesting-level::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 8 7 12 3 16'/%3E%3Cline x1='21' y1='12' x2='11' y2='12'/%3E%3Cline x1='21' y1='6' x2='11' y2='6'/%3E%3Cline x1='21' y1='18' x2='11' y2='18'/%3E%3C/svg%3E") !important;
}

/* Constrain Trix editor height inside modals so content scrolls instead of
   pushing the modal off-screen. The container is vertically resizable. */
.trix-fixed-height {
  resize: vertical;
  overflow: hidden;
  min-height: 12rem;
  max-height: 24rem;
}

.trix-fixed-height trix-editor {
  overflow-y: auto;
  height: 100%;
  min-height: 10rem;
  max-height: calc(24rem - 2.5rem); /* account for toolbar */
}

/* Link dialog – flat, modern styling */
trix-toolbar .trix-dialog {
  background: #fff;
  border-top: none !important;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1), 0 0 0 1px #e5e7eb !important;
  padding: 0.75rem !important;
  font-size: 0.8125rem;
}
trix-toolbar .trix-input--dialog {
  border: none !important;
  border-radius: 0.375rem !important;
  box-shadow: inset 0 0 0 1px #d1d5db;
  padding: 0.375rem 0.625rem !important;
  font-size: 0.8125rem;
  outline: none;
}
trix-toolbar .trix-input--dialog:focus {
  box-shadow: inset 0 0 0 2px #0284c7;
}
trix-toolbar .trix-button--dialog {
  border: none !important;
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem !important;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #0284c7;
  cursor: pointer;
  transition: background-color 150ms ease;
}
trix-toolbar .trix-button--dialog:hover {
  background: #f0f9ff;
}
trix-toolbar .trix-dialog__link-fields .trix-button-group {
  box-shadow: none;
  background: transparent;
}
Couldn't find the requested release version 34.0.1.
Couldn't find the requested release version 34.0.1.
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *




 */
