/* Workspace layout, document controls and multi-teacher nomination. */
:root {
  --sidebar: 268px;
}
.brand {
  padding: 20px;
  gap: 12px;
  align-items: center;
}
.brand img {
  width: 44px;
  height: 44px;
}
.brand > div {
  min-width: 0;
  flex: 1;
}
.brand .brand-organization {
  white-space: normal;
  font-size: 10.5px;
  line-height: 1.5;
  letter-spacing: 0;
}
.brand-organization b {
  font-weight: 500;
  white-space: nowrap;
}
.brand strong {
  font-size: 15px;
  letter-spacing: 0;
  white-space: nowrap;
  margin-top: 5px;
}
.brand small {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 5px;
}
.sidebar-foot {
  padding: 16px 20px;
}
.sidebar-office {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  line-height: 1.5;
}
.sidebar-office span {
  display: block;
  white-space: nowrap;
}
.sidebar-office span:last-child {
  font-weight: 500;
}
.main {
  padding-right: 24px;
  padding-left: 24px;
}
.works-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 264px;
  gap: 22px;
  align-items: start;
}
.works-primary,
.works-rail {
  min-width: 0;
}
.works-list-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}
.works-list-caption strong {
  font-size: 17px;
}
.works-list-caption > span {
  font-size: 14px;
  color: #506177;
}
.work-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.work-main-grid .work-card {
  padding: 20px;
  border-radius: 11px;
}
.work-main-grid .work-card h2 {
  font-size: 22px;
  margin: 13px 0 9px;
}
.work-main-grid .work-card p {
  -webkit-line-clamp: 2;
  margin-bottom: 12px;
}
.work-main-grid .work-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
}
.work-main-grid .work-card-actions {
  margin: 0;
}
.work-main-grid .work-card-actions > .btn-primary {
  min-width: 172px;
}
.work-progress {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  font-size: 14px;
}
.work-progress progress {
  width: 100%;
  flex-basis: 100%;
  margin: 0;
  height: 6px;
}
.works-rail {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 92px;
}
.works-rail > .panel {
  margin: 0;
}
.works-rail .panel-header {
  padding: 12px 14px;
}
.works-rail .panel-header h2 {
  font-size: 16px;
}
.works-rail .work-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 14px !important;
  margin: 0;
  gap: 12px;
}
.works-rail .work-filter > .form-field:first-child {
  grid-column: auto;
  max-width: none;
}
.works-rail .work-filter .form-field,
.works-rail .work-filter input,
.works-rail .work-filter select {
  width: 100%;
  min-width: 0;
}
.work-rail-stats {
  margin: 0;
  padding: 4px 14px;
}
.work-rail-stats > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.work-rail-stats > div + div {
  border-top: 1px solid #dce3eb;
}
.work-rail-stats dt {
  font-size: 14px;
  color: #42546b;
}
.work-rail-stats dd {
  font-size: 21px;
  font-weight: 700;
  margin: 0;
  color: #901c29;
}
.works-rail .work-status-help {
  margin: 0;
  padding: 12px 14px;
}
.works-rail .work-status-help summary {
  font-size: 14px;
  line-height: 1.6;
}
.works-rail .work-status-help p {
  font-size: 14px;
}
.works-rail .compact-note {
  margin: 0;
}
.work-task-tab,
.work-task-tab.documents-tab {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  justify-content: start;
  align-items: center;
  text-align: left;
  min-height: 80px;
}
.work-task-tab > span:last-child {
  min-width: 0;
}
.task-tab-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 34px;
  border-radius: 8px;
  background: #edf1f7;
  color: #344c69;
}
.task-tab-icon .icon {
  width: 22px;
  height: 22px;
}
.work-task-tab.active .task-tab-icon {
  background: #a32027;
  color: #fff;
}
.work-task-tab strong {
  line-height: 1.5;
}
.work-task-tab small {
  margin-top: 3px;
}
.document-tools {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 5px 7px;
  border: 1px solid #bac7d5;
  border-radius: 8px;
  background: #fff;
  vertical-align: middle;
}
.document-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 0 3px;
  color: #445873;
  line-height: 1.2;
}
.document-type .icon {
  width: 21px;
  height: 21px;
}
.document-type > span {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
}
.document-type.excel {
  color: #146341;
}
.document-type.word {
  color: #225caa;
}
.document-type.pdf {
  color: #a32027;
}
.document-type.zip {
  color: #69409a;
}
.document-tool-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.doc-tool {
  display: inline-grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid #c6d0dd;
  border-radius: 6px;
  background: #f8fafc;
  color: #334d6d;
  flex-shrink: 0;
  padding: 6px;
}
.doc-tool .icon {
  width: 19px;
  height: 19px;
}
.doc-tool:hover {
  background: #eaf1f9;
  color: #8f1e29;
  text-decoration: none;
  border-color: #8299b4;
}
.doc-tool:disabled {
  opacity: 0.45;
  cursor: default;
}
.registration-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 14px;
}
.registration-primary-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.registration-primary-actions .btn {
  min-height: 46px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 650;
}
.registration-edit-button {
  background: #edf4ff;
  border: 1px solid #718eaf;
  color: #234c78;
}
.registration-edit-button:hover {
  background: #ddeafa;
  border-color: #356596;
  color: #173c63;
}
.nomination-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: 1.35fr 1.2fr 1fr;
  gap: 10px;
}
.nomination-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid #bccbdb;
  border-radius: 9px;
  background: white;
  color: #304a65;
  font-size: 16px;
  line-height: 1.6;
}
.nomination-steps li:first-child {
  background: #edf4ff;
  border: 2px solid #356596;
  color: #173c63;
  font-weight: 600;
}
.nomination-step-number {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #e9eef5;
  color: #2d4b6b;
  font-weight: 750;
}
.nomination-steps li:first-child .nomination-step-number {
  background: #285985;
  color: white;
}
.registration-level-note {
  padding: 14px 16px;
  margin: 14px 0;
  border: 1px solid #8fa6bf;
  border-left: 4px solid #356596;
  border-radius: 8px;
  background: #f3f7fd;
  color: #253f5e;
}
.registration-level-note > strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
}
.registration-level-note p {
  margin-top: 8px;
  line-height: 1.7;
}
.registration-level-note ul {
  margin: 8px 0;
  padding-left: 24px;
  line-height: 1.8;
}
@media (max-width: 900px) {
  .nomination-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}
@media (max-width: 700px) {
  .registration-primary-actions {
    width: 100%;
  }
  .registration-primary-actions .btn {
    flex: 1;
    padding-inline: 12px;
  }
  .nomination-steps li {
    padding: 10px 12px;
    font-size: 15px;
  }
}
.registration-documents {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.registration-toolbar .btn {
  min-height: 42px;
}
.registration-toolbar .document-tool-name {
  max-width: 145px;
}
.campaign-context-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  padding: 12px 16px;
  border: 1px solid #bcc9d7;
  border-radius: 9px;
  background: #fff;
  margin-bottom: 12px;
}
.campaign-context-strip > div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.campaign-context-strip small {
  display: block;
  color: #465a72;
  margin-bottom: 3px;
  font-size: 14px;
}
.campaign-context-strip strong {
  font-size: 16px;
  font-weight: 600;
}
.campaign-context-strip > .campaign-school-state {
  margin-left: auto;
  padding-left: 18px;
  border-left: 1px solid #c5cfda;
  flex-wrap: wrap;
}
.campaign-school-state small {
  margin: 0;
}
.campaign-location {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  color: #43566e;
  margin: 0 0 12px;
}
.campaign-location .icon {
  width: 17px;
  height: 17px;
}
.task-instructions > summary {
  display: flex;
  gap: 8px;
  align-items: center;
  list-style: none;
}
.task-instructions > summary::-webkit-details-marker {
  display: none;
}
.task-instructions > summary:after {
  content: "+";
  margin-left: auto;
  font-size: 20px;
}
.task-instructions[open] > summary:after {
  content: "−";
}
.task-instructions ol {
  padding-left: 24px;
  margin: 10px 0;
}
.task-instructions li {
  margin: 8px 0;
  font-size: 15px;
}
.task-instructions .document-tool-name {
  max-width: 180px;
}
.modal.modal-nomination {
  width: min(1280px, 96vw);
  max-height: 94vh;
}
.modal-nomination .modal-content {
  padding: 18px 22px;
}
.modal-nomination .form-field {
  font-size: 15px;
  margin: 0;
}
.modal-nomination input,
.modal-nomination select {
  font-size: 16px;
}
.modal-nomination .form-hint,
.modal-nomination .muted,
.modal-nomination td small {
  font-size: 14px;
}
.modal-nomination .form-actions {
  position: sticky;
  bottom: -18px;
  padding: 14px 0;
  background: #fff;
  border-top: 1px solid #c4cfdd;
  margin-top: 14px;
  z-index: 2;
}
.nominee-steps {
  display: flex;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.nominee-steps li {
  padding: 9px 14px;
  background: #f0f3f7;
  color: #53657b;
  border-radius: 7px;
  font-size: 15px;
}
.nominee-steps .active {
  color: #8e1b28;
  background: #fae9ed;
  font-weight: 600;
}
.nominee-steps .done {
  color: #166044;
}
.picker-policy {
  padding: 10px 12px;
  background: #f1f6fc;
  border-left: 4px solid #46749e;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.65;
}
.teacher-search-bar {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr);
  gap: 14px;
}
.teacher-page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0;
  font-size: 14px;
}
#teacher-search-status {
  font-size: 14px;
  color: #435970;
  margin: 5px 0;
}
.teacher-pick-table {
  max-height: 340px;
  overflow: auto;
  border: 1px solid #bdc8d5;
  border-radius: 7px;
}
.teacher-pick-table table {
  font-size: 15px;
}
.teacher-pick-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  font-size: 14px;
  padding: 10px 12px;
  background: #edf2f7;
  color: #344c68;
}
.teacher-pick-table td {
  padding: 10px 12px;
}
.teacher-pick-table td:first-child {
  width: 64px;
}
.teacher-pick-table td small {
  display: block;
  color: #485b72;
  margin-top: 4px;
}
.teacher-pick-table input[type="checkbox"],
#teacher-select-page {
  width: 18px;
  height: 18px;
  accent-color: #a32027;
}
.teacher-selection-box {
  margin-top: 12px;
  padding: 12px;
  background: #f7f9fc;
  border: 1px solid #c5cfda;
  border-radius: 7px;
}
#teacher-selected-count {
  font-size: 15px;
  display: block;
  margin-bottom: 7px;
}
#teacher-selection {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.teacher-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid #afbed1;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 14px;
}
.teacher-chip button {
  background: none;
  border: 0;
  color: #8f2231;
  font-size: 21px;
  padding: 0 3px;
}
.batch-apply {
  padding: 12px;
  border: 1px solid #bdc9d7;
  border-radius: 8px;
  margin-bottom: 14px;
  background: #f8fafc;
}
.batch-apply summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #344e70;
}
.batch-apply-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin-top: 12px;
}
.nominee-review-list {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}
.nominee-review-card {
  border: 1px solid #b5c3d3;
  border-radius: 9px;
  padding: 14px;
}
.nominee-review-card > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #d0d9e3;
}
.nominee-review-card > header > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.nominee-review-card strong {
  font-size: 17px;
}
.nominee-review-card small {
  font-size: 14px;
  color: #4f6278;
}
.candidate-index {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eaf0f7;
  color: #2b4768;
  font-weight: 600;
}
.nominee-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.nominee-error {
  display: none;
}
.nominee-review-card.has-error {
  border: 2px solid #a32027;
  background: #fff7f8;
}
.nominee-review-card.has-error .nominee-error {
  display: block;
  font-size: 14px;
  color: #8a1d2b;
  margin-top: 10px;
}
@media (max-width: 1100px) {
  .works-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 16px;
  }
  .registration-documents {
    flex-wrap: wrap;
  }
  .nominee-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 950px) {
  .works-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .works-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .works-rail .work-status-help,
  .works-rail > .compact-note {
    grid-column: 1/-1;
  }
  .batch-apply-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .main {
    padding: 16px 12px;
  }
  .work-main-grid .work-card {
    padding: 16px;
  }
  .work-main-grid .work-card h2 {
    font-size: 20px;
  }
  .work-main-grid .work-card-foot {
    align-items: stretch;
  }
  .work-main-grid .work-card-actions,
  .work-main-grid .work-card-actions > .btn-primary {
    width: 100%;
  }
  .works-rail {
    grid-template-columns: minmax(0, 1fr);
  }
  .work-task-tab,
  .work-task-tab.documents-tab {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
    min-height: 90px;
  }
  .task-tab-icon {
    width: 26px;
    height: 30px;
  }
  .task-tab-icon .icon {
    width: 20px;
    height: 20px;
  }
  .document-tools {
    padding: 5px;
    gap: 5px;
  }
  .document-tool-name {
    max-width: 125px;
    font-size: 14px;
  }
  .doc-tool {
    width: 36px;
    height: 36px;
  }
  .registration-toolbar {
    gap: 10px;
    align-items: stretch;
  }
  .registration-documents {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .registration-documents .document-tools {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 36px 36px;
  }
  .registration-documents .document-tool-name {
    max-width: none;
  }
  .campaign-context-strip {
    gap: 12px;
    padding: 12px;
  }
  .campaign-context-strip > .campaign-school-state {
    margin-left: 0;
    width: 100%;
    border-left: 0;
    border-top: 1px solid #cbd4df;
    padding: 10px 0 0;
  }
  .modal-nomination .modal-content {
    padding: 14px;
  }
  .modal-nomination .form-actions {
    bottom: -14px;
  }
  .teacher-search-bar,
  .nominee-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .teacher-page-toolbar {
    gap: 8px;
  }
  .teacher-page-toolbar > label {
    width: 100%;
  }
  .teacher-pick-table {
    max-height: 285px;
  }
  .teacher-pick-table td {
    min-width: 120px;
  }
  .teacher-pick-table td:first-child {
    min-width: 52px;
  }
  .nominee-steps {
    gap: 7px;
  }
  .nominee-steps li {
    padding: 8px;
    font-size: 14px;
  }
  .batch-apply-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .nominee-review-card {
    padding: 12px;
  }
  .nominee-review-card small {
    width: 100%;
    margin-left: 36px;
  }
}

.work-main-grid .work-card-actions .btn-primary {
  background: #a32027;
  border-color: #a32027;
  color: #fff;
}
.work-main-grid .work-card-actions .btn-primary:hover {
  background: #811b21;
}
.modal-nomination .btn {
  font-size: 15px;
  min-height: 42px;
}

/* Keep list markers inside the same readable gutter as the text. */
.guide-steps,
.work-help ol,
.task-instructions ol,
.deployment-article ol,
.deployment-article ul,
.ai-registration-rules ul {
  margin: 0;
  padding-left: 28px;
  line-height: 1.75;
}
.guide-steps li + li,
.work-help li + li,
.deployment-article li + li {
  margin-top: 10px;
}
.role-guide-section {
  margin-top: 18px;
}
.role-guide-section h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #253e59;
}
.ai-registration-rules ul {
  margin-top: 8px;
}
.ai-registration-rules li + li {
  margin-top: 4px;
}
.task-action-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
}
.task-action-toolbar .work-group-compact {
  align-items: center;
  gap: 10px;
}
.task-action-toolbar .form-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.task-action-toolbar select {
  min-height: 44px;
  width: 160px;
}
.task-action-toolbar .btn {
  min-height: 44px;
}
.task-action-toolbar .document-tools {
  height: 44px;
  padding: 4px 6px;
}
.task-action-toolbar .doc-tool {
  height: 34px;
  width: 34px;
}
.work-reminder-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid #cbd4df;
  background: #f5f8fc;
}
.work-reminder-footer p {
  margin: 0;
  color: #455b73;
}
.modal.modal-reminder {
  width: min(1080px, calc(100vw - 32px));
}
.modal-reminder .form-field,
.modal-reminder .btn {
  font-size: 15px;
}
.modal-reminder .form-field input,
.modal-reminder .form-field select,
.modal-reminder .form-field textarea {
  font-size: 16px;
}
.modal-reminder td,
.modal-reminder th {
  font-size: 14px;
}
.modal-reminder .modal-content {
  padding-bottom: 0;
}
.modal-reminder .form-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding: 14px 0;
  background: white;
  box-shadow: 0 -8px 12px #fff;
}
.reminder-compose {
  display: grid;
  gap: 16px;
}
.reminder-channels {
  border: 1px solid #c0cedc;
  border-radius: 10px;
  padding: 14px 16px;
  background: #f5f8fc;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.reminder-channels > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #185e47;
}
.reminder-channels p {
  width: 100%;
  margin: 0;
  font-size: 15px;
  color: #455b73;
}
.reminder-recipients {
  margin-top: 22px;
}
.reminder-recipients h3 {
  margin-bottom: 14px;
}
.reminder-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.6fr);
  gap: 16px;
}
.recipient-tools,
.nomination-selection-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  background: #eef3fa;
  border-block: 1px solid #c8d5e4;
}
.recipient-tools {
  margin-top: 14px;
}
.recipient-tools .btn,
#nomination-clear-selection {
  margin-left: auto;
}
.reminder-summary {
  padding: 12px 16px;
  background: #fff6dc;
  border-left: 4px solid #b37b12;
  font-weight: 600;
  line-height: 1.65;
}
.nomination-selection-bar .check-line {
  margin: 0;
}
.btn-danger {
  color: #9d2027;
  border-color: #b72d39;
}
.delete-nominee-list {
  padding-left: 24px;
  max-height: 260px;
  overflow-y: auto;
  line-height: 1.8;
  margin-block: 16px;
}
.deployment-article {
  max-width: 1120px;
  margin-inline: auto;
  line-height: 1.75;
}
.deployment-article > h2 {
  font-size: 24px;
  margin-bottom: 16px;
  line-height: 1.5;
}
.deployment-article .article-eyebrow {
  margin: 0 0 8px;
  color: #8e1925;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.035em;
}
.deployment-article .article-attachments {
  margin-top: 20px;
}
.deployment-article .article-attachment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid #bf9398;
  border-radius: 12px;
  background: #fff8f8;
}
.deployment-article .article-attachment-name {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.deployment-article .article-attachment-name > svg {
  flex-shrink: 0;
  color: #a4202a;
  margin-top: 4px;
}
.deployment-article .article-attachment strong {
  font-size: 17px;
  color: #253e59;
}
.deployment-article .article-attachment p {
  margin: 4px 0 0;
  font-size: 15px;
  color: #4d5c70;
}
.deployment-article .article-attachment .actions {
  flex-shrink: 0;
}
.deployment-article .article-heading h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.4;
  margin: 0;
  color: #172b42;
}
.deployment-article .article-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 24px;
}
.deployment-article .article-overview-card {
  border: 1px solid #bac9d9;
  border-left: 4px solid #a4202a;
  border-radius: 10px;
  padding: 15px 18px;
  background: #f6f8fb;
  min-width: 0;
}
.deployment-article .article-overview-card > span {
  display: block;
  font-size: 15px;
  color: #43586e;
  margin-bottom: 4px;
}
.deployment-article .article-overview-card > strong {
  display: block;
  font-size: 19px;
  line-height: 1.45;
  color: #8e1925;
}
.deployment-article .article-overview-card > p {
  margin: 6px 0 0;
  color: #30485e;
  font-size: 16px;
}
.deployment-article .article-section {
  border: 1px solid #c6d1de;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.deployment-article .article-section + .article-section {
  margin-top: 18px;
  padding-top: 0;
}
.deployment-article .article-section-heading,
.deployment-article .article-section-detail details > summary {
  padding: 16px 22px;
  background: #f1f5f9;
  border-bottom: 1px solid #d4dce5;
}
.deployment-article .article-section-heading h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
}
.deployment-article .article-audience {
  color: #4b5e72;
  font-size: 15px;
  margin: 4px 0 0;
}
.deployment-article .article-section-body {
  padding: 20px 24px;
  font-size: 17px;
  overflow-wrap: anywhere;
}
.deployment-article .article-section-foundation {
  border-color: #7a9cbb;
}
.deployment-article .article-section-foundation .article-section-heading {
  background: #eaf2fa;
}
.deployment-article .article-facts {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}
.deployment-article .article-facts > div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 14px;
}
.deployment-article .article-facts dt {
  color: #253e59;
  font-weight: 700;
}
.deployment-article .article-facts dd {
  margin: 0;
}
.deployment-article .article-steps > li {
  padding-left: 5px;
}
.deployment-article .article-steps > li + li {
  border-top: 1px solid #e1e7ed;
  padding-top: 14px;
  margin-top: 14px;
}
.deployment-article .article-section-detail details > summary {
  margin: 0;
}
.deployment-article .article-section-detail details:not([open]) > summary {
  border-bottom: 0;
}
.deployment-article section + section {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #d4dce5;
}
.deployment-article section h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: #253e59;
}
.deployment-article .article-intro {
  font-size: 17px;
  margin-block: 16px;
}
.deployment-article .article-source {
  color: #475e75;
  font-size: 15px;
  margin-top: 20px;
}
.deployment-article .table-wrap {
  margin-top: 12px;
}
.notification-item h3 {
  font-size: 17px;
  overflow-wrap: anywhere;
}
.notification-item p {
  font-size: 16px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #344b63;
}
.deployment-article td {
  white-space: pre-line;
  min-width: 170px;
  vertical-align: top;
}
.deployment-article details > summary {
  font-size: 19px;
  font-weight: 700;
  color: #253e59;
  cursor: pointer;
  padding-block: 8px;
}
.deployment-article details[open] > summary {
  margin-bottom: 12px;
}
@media (max-width: 700px) {
  .deployment-article .article-attachment {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 14px;
  }
  .deployment-article .article-attachment .actions {
    flex-wrap: wrap;
  }
  .deployment-article .article-overview {
    grid-template-columns: minmax(0, 1fr);
  }
  .deployment-article .article-section-heading,
  .deployment-article .article-section-detail details > summary {
    padding: 14px 16px;
  }
  .deployment-article .article-section-body {
    padding: 16px;
    font-size: 16px;
  }
  .deployment-article .article-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .task-action-toolbar {
    padding-inline: 14px;
    align-items: stretch;
  }
  .task-action-toolbar > .btn {
    width: 100%;
  }
  .task-action-toolbar .work-group-compact {
    width: 100%;
    flex-wrap: wrap;
  }
  .task-action-toolbar .form-field {
    flex: 1 1 100%;
    justify-content: space-between;
  }
  .task-action-toolbar select {
    width: 60%;
  }
  .reminder-filter {
    grid-template-columns: minmax(0, 1fr);
  }
  .reminder-channels {
    align-items: flex-start;
    gap: 12px;
  }
  .reminder-channels > strong {
    width: 100%;
  }
  .recipient-tools .btn,
  #nomination-clear-selection {
    margin-left: 0;
  }
  .nomination-selection-bar > .check-line {
    width: 100%;
  }
  .work-reminder-footer {
    padding: 14px;
  }
  .deployment-article > h2 {
    font-size: 21px;
  }
}
.directory-toolbar {
  align-items: center;
}
.directory-toolbar .search-box {
  align-self: center;
  min-height: 42px;
}
.directory-toolbar > .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.directory-toolbar > .actions select {
  width: auto;
  min-width: 145px;
}
.directory-row-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.ai-packet { display: grid; gap: 16px; }
.ai-packet-intro, .ai-packet-metrics, .ai-packet-submit { padding: 20px; }
.ai-packet fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ai-packet-identity, .ai-packet-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ai-packet h2, .ai-packet h3, .ai-packet-model-head h4 { margin: 0; }
.ai-packet-intro p { margin: 8px 0; color: #415369; }
.ai-packet-metrics summary { font-weight: 700; cursor: pointer; }
.ai-packet-metrics .form-grid { margin-top: 14px; }
.ai-packet-progress { display: grid; gap: 5px; margin: 16px 0 8px; font-weight: 700; color: #183552; }
.ai-packet-progress progress { width: 100%; max-width: 440px; accent-color: #187252; }
.ai-packet-choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.ai-packet-choice legend { padding: 0; font-weight: 700; color: #183552; }
.ai-packet-choices { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.ai-packet-choices label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px;
  padding: 7px 12px; border: 1px solid #aebecf; border-radius: 8px;
  color: #183552; font-weight: 600; cursor: pointer;
}
.ai-packet-choices label:has(input:checked) { border-color: #99212a; background: #fdf0f1; color: #841e28; }
.ai-packet-choices input { margin: 0; accent-color: #99212a; }
.ai-packet-choice:disabled label { cursor: default; }
.ai-packet-received { padding: 12px 16px; }
.ai-packet-received summary { cursor: pointer; font-weight: 700; color: #183552; }
.ai-packet-received summary span { margin-inline-start: 6px; font-weight: 500; }
.ai-packet-received ul { padding: 0; list-style: none; margin: 10px 0 0; }
.ai-packet-received li {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 6px 14px; padding: 8px 0; border-top: 1px solid #dbe3ed; min-width: 0;
}
.ai-packet-received .document-tools { max-width: 100%; }
.ai-packet-section { border: 1px solid #aebecf; border-radius: 12px; background: #fff; padding: 16px; margin-block: 5px; }
.ai-packet-section[hidden], .ai-packet-remove[hidden] { display: none; }
.ai-packet-section-head { margin-bottom: 14px; }
.ai-packet-section-head h3 { margin: 0; color: #183552; }
.ai-packet-model + .ai-packet-model { margin-top: 14px; padding-top: 14px; border-top: 1px solid #dbe3ed; }
.ai-packet-model-head, .ai-packet-template-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.ai-packet-model-head { margin-bottom: 9px; }
.ai-packet-model-head h4 { font-size: 1rem; color: #183552; }
.ai-packet-template-banner { margin: 14px 0 10px; padding: 12px; border: 1px solid #abc4e6; border-radius: 9px; background: #f0f6ff; color: #173e73; }
.ai-packet-template-banner small { display: block; margin-top: 3px; color: #3e5675; }
.ai-packet-template {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  max-width: 100%;
  padding: 4px 10px 4px 4px;
  border: 1px solid #83b9a0;
  border-radius: 8px;
  background: #eaf6f0;
  color: #155a40;
  text-decoration: none;
}
.ai-packet-template-banner .ai-packet-template { background: #fff; color: #194d91; border-color: #88aade; }
.ai-packet-template:hover { text-decoration: underline; }
.ai-packet-template:focus-visible { outline: 3px solid #274f80; outline-offset: 2px; }
.ai-packet-files { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 10px; }
.ai-packet-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ai-packet-slot { display: flex; flex-direction: column; border: 1px solid #cbd6e2; border-radius: 9px; padding: 12px; background: #f7f9fc; min-width: 0; position: relative; }
.ai-packet-file-heading { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; color: #183552; }
.ai-packet-file-heading > div { min-width: 0; }
.ai-packet-file-heading small, .ai-packet-note, .ai-packet-error { display: block; overflow-wrap: anywhere; color: #475970; }
.ai-packet-format { flex: none; display: inline-flex; align-items: center; gap: 5px; min-height: 30px; border-radius: 6px; padding: 3px 7px; font-size: .8rem; font-weight: 700; border: 1px solid; }
.ai-packet-format .icon { width: 18px; height: 18px; }
.ai-packet-format[data-format="pdf"] { color: #8e202b; background: #fbe9ed; border-color: #eab9c0; }
.ai-packet-format[data-format="xlsx"] { color: #146341; background: #dff4e8; border-color: #9cccaf; }
.ai-packet-format[data-format="zip"] { color: #61408a; background: #efe7fb; border-color: #cdbce8; }
.ai-packet-format[data-format="docx"] { color: #194d91; background: #e6f0ff; border-color: #aec8eb; }
.ai-packet-file-actions, .ai-packet-upload { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ai-packet-file-actions { margin-top: auto; padding-top: 8px; justify-content: space-between; }
.ai-packet-slot-state { max-width: 100%; }
.ai-packet-slot .document-tools { max-width: 100%; }
.ai-packet-input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.ai-packet-input:focus-visible + label { outline: 3px solid #274f80; outline-offset: 3px; }
.ai-packet-input:disabled + label { opacity: .6; pointer-events: none; }
.ai-packet-error:not(:empty) { margin-top: 8px; color: #842129; }
.ai-packet-submit { border-top: 3px solid #a32027; }
.ai-packet-submit p { margin: 0 0 10px; color: #415369; }
.ai-packet-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(146px, 1fr)); gap: 10px; padding: 14px; }
.ai-packet-stats > div { display: grid; gap: 3px; border-radius: 8px; background: #edf3fa; padding: 10px 12px; color: #183552; }
.ai-packet-stats strong { font-size: 1.35rem; }
.ai-packet-filter { justify-content: flex-start; align-items: flex-end; }
.ai-packet-review small { display: block; }
@media (max-width: 710px) {
  .ai-packet-pair { grid-template-columns: 1fr; }
}
@media (max-width: 550px) {
  .ai-packet-intro, .ai-packet-metrics, .ai-packet-submit, .ai-packet-section { padding: 12px; }
  .ai-packet-files { grid-template-columns: 1fr; }
}
