/* ../reports/security-hardening-20261109/teaching-coordination-corrections-candidate-v9/candidate/frontend/src/components/coordination/teaching-board.css */
.tc-route,
.tc-board {
  min-width: 0;
  max-width: 100%;
}
.tc-route {
  padding: 0 0 22px;
}
.tc-route-tabs {
  display: flex;
  gap: 6px;
  padding: 12px 0;
  margin-bottom: 2px;
  flex-wrap: wrap;
}
.tc-route-tabs button {
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  background: transparent;
  color: #4a6257;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.tc-route-tabs button[aria-pressed=true] {
  background: #e4efe9;
  color: #245e45;
}
.tc-board,
.tc-dialog {
  --tc-ink:#23372e;
  --tc-muted:#566c60;
  --tc-line:#dce7e0;
  --tc-green:#2c664d;
  --tc-course-width:164px;
  color: var(--tc-ink);
}
.tc-board {
  display: grid;
  gap: 12px;
}
.tc-board button,
.tc-board input,
.tc-board select,
.tc-board textarea,
.tc-dialog button,
.tc-dialog input,
.tc-dialog select,
.tc-dialog textarea {
  font: inherit;
}
.tc-board button:focus-visible,
.tc-board input:focus-visible,
.tc-board select:focus-visible,
.tc-dialog :is(button, input, select, textarea, a, summary):focus-visible,
.tc-grid-wrap:focus-visible,
.tc-unit-note:focus-visible,
.tc-route-tabs button:focus-visible {
  outline: 2px solid #327b58;
  outline-offset: 2px;
}
.tc-board button:disabled,
.tc-dialog button:disabled {
  opacity: .48;
  cursor: not-allowed;
}
.tc-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-radius: 15px;
  background:
    linear-gradient(
      115deg,
      #e8f3eb,
      #f6faf7 62%,
      #eaf1ee);
  border: 1px solid #dce8df;
  padding: 20px 22px;
}
.tc-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: .07em;
  font-weight: 750;
  color: #336249;
  text-transform: uppercase;
}
.tc-banner h1 {
  font-size: 26px;
  line-height: 1.2;
  margin: 5px 0 7px;
  color: var(--tc-ink);
  overflow-wrap: anywhere;
}
.tc-banner p,
.tc-dialog-header p {
  margin: 0;
  color: var(--tc-muted);
}
.tc-year {
  flex-shrink: 0;
  border: 1px solid #d3e4d8;
  border-radius: 20px;
  padding: 5px 11px;
  background: #f9fcfa;
  font-size: 12px;
  font-weight: 650;
  color: var(--tc-green);
}
.tc-toolbar,
.tc-filters,
.tc-organize-note,
.tc-savebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.tc-tool-actions,
.tc-organize-note > div,
.tc-savebar > div:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.tc-segment {
  display: inline-flex;
  gap: 3px;
  border: 1px solid var(--tc-line);
  border-radius: 10px;
  padding: 3px;
  background: #f2f7f4;
}
.tc-segment button {
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  padding: 7px 11px;
  color: #52685d;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 650;
}
.tc-segment button[aria-pressed=true] {
  background: #fff;
  border-color: #cddfd3;
  color: #235b42;
  box-shadow: 0 1px 3px #27423412;
}
.tc-button,
.tc-icon {
  border: 1px solid #d1e0d7;
  background: #fff;
  color: #315343;
  border-radius: 8px;
  cursor: pointer;
  min-height: 36px;
  padding: 6px 11px;
  font-weight: 650;
}
.tc-button:not(:disabled):hover,
.tc-icon:not(:disabled):hover {
  background: #edf6f0;
  border-color: #abcbb9;
}
.tc-primary {
  background: #316d52;
  color: white;
  border-color: #316d52;
}
.tc-primary:not(:disabled):hover {
  background: #25573f;
  color: #fff;
}
.tc-danger {
  color: #963d3d;
}
.tc-icon {
  padding: 0;
  display: inline-grid;
  place-content: center;
  width: 30px;
  min-height: 30px;
  font-size: 17px;
  font-weight: 650;
}
.tc-switch {
  display: flex;
  align-items: center;
  gap: 7px;
}
.tc-switch > span {
  display: block;
  width: 24px;
  height: 14px;
  border-radius: 10px;
  background: #c5d4cb;
  position: relative;
}
.tc-switch > span::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
}
.tc-switch[aria-checked=true] > span {
  background: #398660;
}
.tc-switch[aria-checked=true] > span::after {
  left: 12px;
}
.tc-filters {
  justify-content: flex-start;
  padding: 10px 12px;
  background: #f7faf8;
  border: 1px solid var(--tc-line);
  border-radius: 10px;
}
.tc-filters label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
  min-width: 0;
}
.tc-filters label:first-child {
  flex: 1 1 260px;
}
.tc-filters label:first-child input {
  flex: 1;
  min-width: 110px;
}
.tc-filters select {
  max-width: 245px;
}
.tc-filters :is(input, select),
.tc-form :is(input:not([type=checkbox]), select, textarea) {
  min-height: 36px;
  background: #fff;
  border: 1px solid #cfded5;
  border-radius: 7px;
  padding: 7px 9px;
  color: var(--tc-ink);
  box-sizing: border-box;
  max-width: 100%;
}
.tc-count {
  color: var(--tc-muted);
  font-size: 12px;
  margin-left: auto;
  white-space: nowrap;
}
.tc-info,
.tc-organize-note {
  padding: 8px 12px;
  border: 1px solid #d8e7dc;
  border-radius: 8px;
  background: #eef6f0;
  margin: 0;
  font-size: 13px;
}
.tc-panel {
  border: 1px solid var(--tc-line);
  background: #fff;
  border-radius: 12px;
  padding: 16px;
}
.tc-empty {
  padding: 23px;
  color: var(--tc-muted);
  background: #f8fbf9;
  border-radius: 10px;
}
.tc-empty h2 {
  color: var(--tc-ink);
  margin: 0 0 6px;
  font-size: 18px;
}
.tc-error {
  color: #872d2d;
  background: #fff5f5;
  border-color: #eed0d0;
  padding: 9px 12px;
  border-radius: 8px;
}
.tc-muted {
  color: var(--tc-muted);
}
.tc-grid-wrap {
  min-width: 0;
  max-width: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  max-height: min(67vh, 760px);
  border: 1px solid var(--tc-line);
  border-radius: 12px;
  background: #fff;
  scrollbar-color: #aac7b7 #f0f6f2;
  scroll-padding-left: calc(var(--tc-course-width) + 6px);
  scroll-padding-top: calc(var(--tc-header-height,96px) + 6px);
  scroll-padding-right: 6px;
  scroll-padding-bottom: 6px;
}
.tc-grid {
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 13px;
}
.tc-grid td,
.tc-grid th {
  border-right: 1px solid #e2eae5;
  border-bottom: 1px solid #e2eae5;
  vertical-align: top;
}
.tc-course-col {
  width: var(--tc-course-width);
}
.tc-grid th {
  font-weight: 700;
  text-align: left;
}
.tc-grid .tc-corner {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 6;
  background: #e7f1e9;
  vertical-align: middle;
  padding: 9px 12px;
}
.tc-stage {
  height: 32px;
  box-sizing: border-box;
  padding: 6px 10px;
  line-height: 19px;
}
.tc-primary.tc-stage {
  background: #e2f1e9;
  color: #235a42;
}
.tc-secondary.tc-stage {
  background: #eaf0f7;
  color: #355271;
}
.tc-course {
  position: sticky;
  left: 0;
  z-index: 2;
  padding: 10px 9px;
  background: #f7faf7;
  vertical-align: middle !important;
  overflow-wrap: anywhere;
}
.tc-course > div,
.tc-unit > div {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.tc-unit {
  position: sticky;
  top: 0;
  z-index: 4;
  background: #f4f8f5;
  padding: 7px 8px;
  overflow-wrap: anywhere;
}
.tc-unit small {
  display: block;
  color: var(--tc-muted);
  font-weight: 400;
  margin-top: 4px;
}
.tc-unit-note {
  max-height: 4.2em;
  overflow: auto;
  overscroll-behavior: contain;
}
.tc-stage-label {
  position: sticky;
  left: 10px;
  display: block;
  width: max-content;
  max-width: 100%;
}
.tc-grid td {
  padding: 0;
  background: #fff;
}
.tc-grid tbody tr:nth-child(even) td {
  background: #fbfdfc;
}
.tc-grid td.tc-target,
.tc-grid th.tc-target {
  background: #e0f3e7;
  box-shadow: inset 0 0 0 2px #78a68e;
}
.tc-cell {
  max-width: min(100%, calc(var(--tc-scrollport-width,100vw) - var(--tc-course-width) - 24px));
  padding: 10px;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 7px;
  min-height: 76px;
  min-width: 0;
  box-sizing: border-box;
}
.tc-empty-cell {
  color: #799286;
  align-self: center;
  margin: auto;
}
.tc-add-card {
  border: 1px dashed #c1d6c9;
  border-radius: 8px;
  padding: 6px 9px;
  text-align: left;
  color: #3c694f;
  background: #f7fbf8;
  cursor: pointer;
  font-size: 12px;
  min-height: 32px;
}
.tc-add-card:hover {
  background: #eaf5ed;
}
.tc-add-after {
  border-color: transparent;
  background: transparent;
}
.tc-card-shell {
  position: relative;
  max-width: 100%;
  min-width: 0;
}
.tc-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 4px;
  border: 1px solid #dfe8e2;
  border-left: 4px solid;
  border-radius: 9px;
  background: #f3f8f5;
  color: var(--tc-ink);
  padding: 8px;
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
  min-width: 0;
  box-sizing: border-box;
}
.tc-card:hover {
  box-shadow: 0 2px 7px #263d3420;
}
.tc-subject,
.tc-card-tags {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #3d584a;
  min-width: 0;
  overflow-wrap: anywhere;
}
.tc-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  margin-right: 2px;
}
.tc-card strong {
  font-size: 13px;
  line-height: 1.22;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tc-card-summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  color: #425e50;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.tc-card-footer {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 10px;
  color: #436553;
  margin-top: auto;
}
.tc-pill {
  display: inline-block;
  background: #e8f1ec;
  border: 1px solid #d3e3d9;
  color: #315d47;
  border-radius: 12px;
  padding: 1px 6px;
  font-size: 11px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.tc-card-grip,
.tc-resize {
  position: absolute;
  z-index: 1;
  background: #fff;
  box-shadow: 0 1px 4px #214b3320;
}
.tc-card-grip {
  top: 3px;
  right: 3px;
  cursor: grab;
}
.tc-grip {
  cursor: grab;
}
.tc-resize {
  bottom: 3px;
  right: 3px;
  cursor: nwse-resize;
  touch-action: none;
}
.tc-card-shell:has(.tc-card-grip) .tc-card {
  padding-right: 34px;
}
.tc-order-buttons {
  display: inline-flex;
  margin-top: 4px;
  gap: 3px;
}
.tc-order-buttons .tc-icon {
  width: 27px;
  min-height: 26px;
  font-size: 14px;
}
.tc-savebar {
  border: 1px solid var(--tc-line);
  border-radius: 9px;
  background: #f7faf8;
  padding: 8px 11px;
  color: #4e6859;
  font-size: 13px;
}
.tc-savebar strong {
  color: #76511d;
}
.tc-notice {
  display: inline-block;
  margin-left: 8px;
  color: var(--tc-green);
}
.tc-dialog {
  width: min(720px, calc(100% - 24px));
  max-height: min(88vh, 860px);
  max-height: min(88dvh, 860px);
  overflow: auto;
  border: 1px solid var(--tc-line);
  border-radius: 14px;
  background: #fbfdfb;
  padding: 18px 20px;
  box-shadow: 0 16px 60px #17342846;
  box-sizing: border-box;
}
.tc-dialog::backdrop {
  background: #172b2355;
}
.tc-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 13px;
}
.tc-dialog-header h2 {
  font-size: 20px;
  margin: 0;
  color: var(--tc-ink);
  overflow-wrap: anywhere;
}
.tc-dialog-header p {
  font-size: 13px;
  margin-top: 4px;
}
.tc-dialog-header .tc-icon {
  flex-shrink: 0;
}
.tc-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.tc-form {
  display: grid;
  gap: 11px;
}
.tc-form label {
  display: grid;
  gap: 4px;
  min-width: 0;
  font-size: 13px;
  font-weight: 650;
}
.tc-form :is(input:not([type=checkbox]), select, textarea) {
  width: 100%;
  font-weight: 400;
}
.tc-form textarea {
  resize: vertical;
}
.tc-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.tc-dimensions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tc-form input[type=color] {
  padding: 4px 6px;
}
.tc-form fieldset {
  border: 1px solid var(--tc-line);
  border-radius: 8px;
  padding: 8px 10px;
  margin: 0;
  min-width: 0;
}
.tc-form legend {
  font-size: 13px;
  font-weight: 700;
  color: var(--tc-green);
}
.tc-color-palette {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tc-color-palette button {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  border: 2px solid #fff;
  cursor: pointer;
}
.tc-color-palette button[aria-pressed=true] {
  outline: 2px solid #255b43;
}
.tc-link-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: 7px;
  margin-bottom: 7px;
  align-items: end;
}
.tc-card-detail {
  overflow-wrap: anywhere;
}
.tc-lead {
  font-weight: 650;
  margin: 12px 0;
}
.tc-text-content {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.5;
}
.tc-card-detail a {
  color: #245e45;
  text-decoration: underline;
}
.tc-card-detail h3 {
  font-size: 14px;
  margin: 12px 0 4px;
}
.tc-history {
  display: grid;
  grid-template-columns: minmax(145px, 1fr) minmax(0, 2fr);
  gap: 12px;
}
.tc-history-list {
  display: grid;
  align-content: start;
  gap: 6px;
  max-height: 470px;
  overflow: auto;
  padding: 2px;
}
.tc-revision {
  border: 1px solid var(--tc-line);
  border-radius: 8px;
  padding: 8px;
  text-align: left;
  background: #fff;
  color: var(--tc-ink);
  cursor: pointer;
}
.tc-revision[aria-pressed=true] {
  background: #e7f3eb;
  border-color: #a4c8b0;
}
.tc-revision span {
  display: block;
  font-size: 11px;
  color: var(--tc-muted);
  margin-top: 3px;
}
.tc-history-detail {
  min-width: 0;
  overflow-wrap: anywhere;
}
.tc-history-detail h3 {
  margin: 0;
}
.tc-history-cards details {
  border-bottom: 1px solid var(--tc-line);
  padding: 7px 0;
}
.tc-history-cards summary {
  cursor: pointer;
  font-weight: 650;
}
.tc-history-cards .tc-button,
.tc-history-detail > .tc-button {
  margin-top: 7px;
}
.tc-changes {
  padding-left: 17px;
  font-size: 12px;
  color: var(--tc-muted);
}
.tc-access-list {
  max-height: 285px;
  overflow: auto;
  border: 1px solid var(--tc-line);
  border-radius: 8px;
}
.tc-access-list > div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px;
  border-bottom: 1px solid var(--tc-line);
}
.tc-access-list strong {
  flex: 1 1 170px;
}
.tc-access-list label {
  display: flex;
  gap: 4px;
  align-items: center;
}
.tc-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width:680px) {
  .tc-board {
    --tc-course-width:108px;
    gap: 9px;
  }
  .tc-banner {
    padding: 13px;
    gap: 6px;
    flex-wrap: wrap;
  }
  .tc-banner h1 {
    font-size: 22px;
  }
  .tc-banner p {
    font-size: 13px;
  }
  .tc-year {
    font-size: 11px;
  }
  .tc-filters {
    padding: 8px;
  }
  .tc-filters label {
    flex: 1 1 100%;
    display: grid;
    gap: 4px;
  }
  .tc-filters :is(input, select) {
    width: 100%;
    max-width: none;
    font-size: 16px;
  }
  .tc-count {
    margin-left: 0;
  }
  .tc-stage {
    height: 32px;
  }
  .tc-unit,
  .tc-corner {
    padding: 7px !important;
  }
  .tc-card .tc-subject {
    font-size: 10px;
  }
  .tc-grid-wrap {
    max-height: 64vh;
  }
  .tc-dialog {
    padding: 13px;
  }
  .tc-dialog input:not([type=checkbox]),
  .tc-dialog select,
  .tc-dialog textarea {
    font-size: 16px;
  }
  .tc-history {
    grid-template-columns: minmax(0, 1fr);
  }
  .tc-history-list {
    max-height: 180px;
  }
  .tc-link-row {
    grid-template-columns: 1fr auto;
  }
  .tc-link-row label:first-child {
    grid-column: 1/-1;
  }
  .tc-icon {
    min-height: 34px;
  }
  .tc-savebar {
    position: relative;
  }
  .tc-notice {
    margin-left: 0;
    display: block;
  }
}
@media (prefers-reduced-motion:no-preference) {
  .tc-card,
  .tc-button,
  .tc-segment button {
    transition:
      background-color .15s ease,
      border-color .15s ease,
      box-shadow .15s ease;
  }
}
.tc-stage-jumps {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tc-stage-jumps .tc-button {
  min-height: 30px;
  font-size: 12px;
  padding: 4px 9px;
}
.tc-grid {
  position: relative;
}
.tc-card .tc-subject,
.tc-card strong,
.tc-card-summary,
.tc-card-footer {
  flex-shrink: 0;
}
.tc-subject-label,
.tc-card-footer .tc-pill {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tc-card .tc-subject {
  line-height: 15px;
}
.tc-card .tc-dot {
  margin-right: 0;
}
.tc-card-summary {
  -webkit-line-clamp: 2;
}
.tc-card[data-density=compact] .tc-card-summary {
  -webkit-line-clamp: 1;
}
.tc-card[data-density=short] strong {
  -webkit-line-clamp: 1;
}
.tc-card[data-density=short] .tc-card-summary {
  display: none;
}
.tc-card-footer {
  max-width: 100%;
  flex-wrap: nowrap;
  line-height: 14px;
}
.tc-card-footer .tc-card-link-count {
  white-space: nowrap;
}
.tc-card-footer .tc-pill + .tc-card-link-count {
  display: none;
}
@media (max-width:767px) {
  .tc-board :is(button, input, select, textarea),
  .tc-grid-wrap,
  .tc-unit-note {
    scroll-margin-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
  }
}
.tc-board .tc-unit-note {
  max-width: min(100%, calc(var(--tc-scrollport-width,100vw) - var(--tc-course-width) - 24px));
  margin-inline-start: 3px;
}
.tc-dialog {
  scroll-padding-block: 6px;
}
.tc-dialog :is(button, input, select, textarea, a, summary) {
  scroll-margin-block: 6px;
}
html:has(.tc-board) {
  scroll-behavior: auto;
}
