/* Shared OE workspace design system */
:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --text: #202a36;
  --text-2: #657181;
  --text-3: #768292;
  --line: #e4e8ed;
  --accent: #187566;
  --ok: #18704f;
  --bad: #b33d43;
  --warn: #986413;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}
* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #c1c9d1 transparent;
}
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-thumb {
  background: #c1c9d1;
  border-radius: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 28px;
  letter-spacing: -1px;
  line-height: 1.3;
  font-weight: 650;
}
h2 {
  font-size: 16px;
  font-weight: 650;
}
h3 {
  font-size: 14px;
  font-weight: 650;
}
p {
  color: var(--text-2);
}
:focus-visible {
  outline: 3px solid #6ac4b4;
  outline-offset: 3px;
}
.hidden,
[hidden] {
  display: none !important;
}
.small,
.hint {
  font-size: 12px;
}
.muted,
.dim {
  color: var(--text-2);
}
.mono,
code,
pre {
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 12px;
}
.nowrap {
  white-space: nowrap;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  background: #fff;
  padding: 12px;
  z-index: 20;
}
.skip-link:focus {
  top: 8px;
}
.topbar {
  min-height: 72px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.brand b {
  font-size: 14px;
  font-weight: 600;
}
.brand-divider {
  color: #b7c0c9;
  margin: 0 14px;
}
.topnav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-link {
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--accent);
}
.shell {
  max-width: 1560px;
  margin: auto;
  padding: 30px 40px 48px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-2);
  margin-bottom: 7px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  min-width: 0;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.section-index {
  font-family: Consolas, monospace;
  font-size: 12px;
  color: #98a3ad;
}
.student-layout {
  display: grid;
  grid-template-columns: minmax(310px, 380px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.submission-column,
.report-column {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
  min-width: 0;
}
label {
  font-size: 12px;
  font-weight: 550;
}
label .dim {
  font-weight: 400;
  margin-left: 5px;
}
.input {
  width: 100%;
  min-height: 40px;
  background: #fff;
  color: var(--text);
  border: 1px solid #d8dfe6;
  border-radius: 7px;
  padding: 9px 11px;
  transition: border-color 0.15s;
}
.input:hover {
  border-color: #aab8c2;
}
.input:focus {
  border-color: var(--accent);
  outline: 3px solid #18756614;
}
input::placeholder,
textarea::placeholder {
  color: #85909e;
}
select.input {
  appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23657181' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
}
select option {
  background: #fff;
  color: var(--text);
}
textarea {
  resize: vertical;
  min-height: 140px;
}
input::file-selector-button {
  font: inherit;
  background: #eef3f2;
  color: var(--accent);
  border: 0;
  border-radius: 4px;
  padding: 5px 10px;
  margin-right: 12px;
  cursor: pointer;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid #d8dfe6;
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.btn:hover {
  background: #f3f6f6;
  border-color: #b7c7c3;
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn.primary:hover {
  background: #105c50;
}
.btn.small {
  min-height: 32px;
  padding: 5px 11px;
  font-size: 12px;
}
.btn:disabled,
.input:disabled,
.picker:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn-row,
.pill-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.full-width {
  width: 100%;
  justify-content: space-between;
}
.picker {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 164px;
  padding: 20px 12px;
  background: #f6faf9;
  border: 1px dashed #aecbc3;
  border-radius: 9px;
  color: var(--accent);
  transition: background 0.15s;
}
.picker:hover,
.picker.dragover {
  background: #eaf5f1;
  border-color: var(--accent);
}
.picker .big {
  font-weight: 600;
  font-size: 14px;
}
.picker .sub {
  font-size: 11px;
  color: var(--text-2);
}
.folder-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.folder-actions > span {
  overflow-wrap: anywhere;
}
.requirement {
  font-size: 11px;
  margin-top: 16px;
  padding-left: 10px;
  border-left: 2px solid #cfdbd7;
}
.selection {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 18px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.metric {
  min-width: 0;
}
.metric .k {
  font-size: 11px;
  color: var(--text-2);
  margin-bottom: 5px;
}
.metric .v {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.4px;
  overflow-wrap: anywhere;
}
.selection .metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.selection .metric .v {
  font-size: 18px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 500;
  padding: 3px 7px;
  border-radius: 5px;
  background: #f0f3f6;
  color: var(--text-2);
  overflow-wrap: anywhere;
}
.pill.ok,
.pill.pass,
.pill.pass_with_notes {
  background: #eaf5ef;
  color: var(--ok);
}
.pill.bad,
.pill.fail,
.pill.invalid,
.pill.incomplete,
.pill.env_fail {
  background: #fceff0;
  color: var(--bad);
}
.pill.warn {
  background: #fff5df;
  color: var(--warn);
}
.pill.accent {
  background: #eaf5f1;
  color: var(--accent);
}
.preflight {
  gap: 5px;
  margin-bottom: 12px;
}
.preflight .pill {
  font-size: 10px;
}
.banner {
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 7px;
  background: #f2f5f8;
  color: var(--text-2);
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.banner.ok {
  background: #eff8f2;
  color: var(--ok);
}
.banner.warn {
  background: #fff7e7;
  color: var(--warn);
}
.banner.bad {
  background: #fff0f1;
  color: var(--bad);
}
.submission-meta {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}
.submission-meta:empty {
  display: none;
}
.disclosure {
  margin: 14px 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.disclosure summary {
  font-size: 12px;
  color: var(--text-2);
  cursor: pointer;
  min-height: 26px;
}
.disclosure[open] > summary {
  margin-bottom: 12px;
}
.disclosure summary .pill {
  float: right;
}
.files {
  font-family: Consolas, monospace;
  font-size: 11px;
  max-height: 250px;
  overflow: auto;
}
.files > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 0;
  border-bottom: 1px solid #f0f2f4;
}
.files > div > span:first-child {
  overflow-wrap: anywhere;
}
.files > div > span:last-child {
  white-space: nowrap;
  color: var(--text-2);
}
.bar {
  height: 5px;
  border-radius: 4px;
  background: #eaf0ed;
  overflow: hidden;
  margin: 16px 0;
}
.bar i {
  display: block;
  background: var(--accent);
  width: 0;
  height: 100%;
  transition: width 0.25s;
}
.steps {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #86918d;
}
.steps .active {
  color: var(--accent);
  font-weight: 650;
}
.steps .done {
  color: var(--ok);
}
.log {
  font-size: 11px;
  max-height: 200px;
  overflow: auto;
}
.log .row {
  display: flex;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid #f0f2f4;
}
.log .t {
  color: var(--text-2);
  font-family: Consolas, monospace;
  flex-shrink: 0;
}
.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 20px;
}
.tab {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 0 12px;
  color: var(--text-2);
  font-size: 12px;
}
.tab[aria-selected="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 650;
}
.split,
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.tight {
  padding: 16px;
  border-radius: 8px;
  background: #fbfcfd;
}
.tight h3 {
  margin-bottom: 7px;
}
.verdict {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f4f7f9;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 20px;
  margin-bottom: 18px;
}
.verdict.pass,
.verdict.pass_with_notes {
  background: #f0f8f4;
  border-color: #d9eae1;
}
.verdict.incomplete,
.verdict.invalid,
.verdict.env_fail {
  background: #fff5f4;
  border-color: #f0ddda;
}
.score {
  font-size: 42px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: -2px;
  color: var(--accent);
}
.verdict.incomplete .score,
.verdict.invalid .score,
.verdict.env_fail .score {
  color: var(--bad);
}
.hl {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}
.verdict p {
  font-size: 12px;
}
.group {
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fafb;
}
.check {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}
.ico {
  font-size: 13px;
  width: 18px;
  flex-shrink: 0;
  color: var(--ok);
}
.s-fail .ico {
  color: var(--bad);
}
.s-warn .ico {
  color: var(--warn);
}
.check .body {
  min-width: 0;
  flex: 1;
}
.check .title {
  font-size: 12px;
  font-weight: 600;
}
.check .detail {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.evidence {
  margin-top: 7px;
}
.evidence summary {
  font-size: 11px;
  color: var(--accent);
  cursor: pointer;
}
.ev {
  background: #f3f5f7;
  border: 1px solid #e7ebef;
  border-radius: 6px;
  padding: 12px;
  font-size: 11px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  overflow: auto;
  max-height: 320px;
  min-width: 0;
  margin: 8px 0;
}
.label-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}
.tbl-scroll {
  overflow: auto;
  width: 100%;
  margin-top: 16px;
}
.tbl {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
.tbl th {
  font-weight: 550;
  color: var(--text-2);
  background: #f7f9fa;
  white-space: nowrap;
  font-size: 11px;
}
.tbl th,
.tbl td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.tbl td {
  vertical-align: middle;
}
.tbl tbody tr:last-child td {
  border-bottom: 0;
}
.tbl tr[data-id] {
  cursor: pointer;
}
.tbl tr[data-id]:hover,
.tbl tr.selected {
  background: #f0f7f4;
}
.tbl td .pill {
  white-space: nowrap;
}
.tbl td:first-child button {
  padding: 0;
  background: none;
  border: 0;
  color: var(--accent);
  font: inherit;
}
.table-empty {
  text-align: center;
  height: 160px;
  color: var(--text-2);
}
.stats-strip {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 8px;
  margin-bottom: 22px;
}
.stats-strip .metric {
  padding: 0 18px;
  border-right: 1px solid var(--line);
}
.stats-strip .metric:last-child {
  border: 0;
}
.stats-strip .v {
  font-size: 26px;
}
.list-card {
  padding: 0;
  overflow: hidden;
}
.filterbar {
  display: flex;
  gap: 10px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.filterbar .field {
  margin: 0;
  min-width: 150px;
}
.filterbar .search-field {
  flex: 1;
}
.filterbar .field:last-child {
  max-width: 320px;
}
.submission-table {
  margin: 0;
  max-height: calc(100dvh - 380px);
  min-height: 220px;
}
.submission-table th {
  position: sticky;
  top: 0;
  z-index: 1;
}
.pagination {
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.login-card {
  width: min(100%, 440px);
  margin: 60px auto;
  padding: 32px;
}
.login-card h1 {
  font-size: 25px;
  margin-bottom: 10px;
}
.login-intro {
  font-size: 13px;
  margin-bottom: 28px;
}
.privacy-note {
  font-size: 11px;
  text-align: center;
  margin-top: 18px;
}
.login-card .disclosure {
  margin: 20px 0;
}
.detail-drawer {
  border: 0;
  border-left: 1px solid var(--line);
  width: min(900px, 92vw);
  max-width: none;
  max-height: none;
  height: 100dvh;
  margin: 0 0 0 auto;
  padding: 0;
  background: #fff;
  color: var(--text);
  box-shadow: -12px 0 60px #1c30251a;
}
.detail-drawer::backdrop {
  background: #13231d55;
  backdrop-filter: blur(2px);
}
body:has(.detail-drawer[open]) {
  overflow: hidden;
}
.drawer-head {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #ffffffef;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.drawer-head h2 {
  font-family: Consolas, "Microsoft YaHei", monospace;
  overflow-wrap: anywhere;
}
.drawer-head .eyebrow {
  font-size: 9px;
}
#detailBody {
  padding: 24px 26px;
}
#detailBody .metric .v {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}
#detailBody .grid-3 p {
  overflow-wrap: anywhere;
}
#detailBody .btn[data-action="delete"] {
  color: var(--bad);
  margin-left: auto;
}
.skeleton {
  height: 44px;
  background: #f0f3f5;
  margin-bottom: 12px;
  border-radius: 6px;
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
@media (min-width: 1500px) {
  .student-layout {
    grid-template-columns: 400px minmax(0, 1fr);
  }
  .label-fields {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .shell {
    padding: 24px;
  }
  .topbar {
    padding: 14px 24px;
  }
  .student-layout {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 18px;
  }
  .card {
    padding: 18px;
  }
  .list-card {
    padding: 0;
  }
  .stats-strip .metric {
    padding: 0 12px;
  }
  .stats-strip .v {
    font-size: 23px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .topnav {
    gap: 12px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .detail-drawer .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .topbar {
    min-height: 64px;
    padding: 14px 18px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .topnav {
    flex-wrap: wrap;
  }
  .brand b {
    font-size: 12px;
  }
  .shell {
    padding: 22px 16px;
  }
  .page-heading {
    margin-bottom: 20px;
  }
  .page-heading > .small {
    display: none;
  }
  h1 {
    font-size: 25px;
  }
  .student-layout {
    grid-template-columns: 1fr;
  }
  .picker {
    min-height: 140px;
  }
  .selection .metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .selection .metric .v {
    font-size: 16px;
  }
  .stats-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 0;
  }
  .stats-strip .metric:nth-child(4) {
    border: 0;
  }
  .stats-strip .metric .v {
    font-size: 23px;
  }
  .filterbar {
    flex-wrap: wrap;
    padding: 14px;
  }
  .filterbar .search-field {
    flex-basis: 100%;
  }
  .filterbar .field {
    flex: 1;
    min-width: 0;
  }
  .filterbar .field:last-child {
    max-width: none;
  }
  .submission-table {
    max-height: 65dvh;
  }
  .detail-drawer {
    width: 100vw;
  }
  .drawer-head {
    padding: 18px;
  }
  #detailBody {
    padding: 18px;
  }
  .detail-drawer .split {
    grid-template-columns: 1fr;
  }
  .login-card {
    margin: 30px auto;
    padding: 26px;
  }
  .tabs {
    gap: 22px;
  }
  .verdict {
    gap: 16px;
    padding: 16px;
  }
  .verdict > div:last-child {
    flex-basis: auto !important;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Keep the next action and report within the same workspace. */
.card:has(> .selection:not(.hidden)) .picker {
  min-height: 86px;
  gap: 5px;
  padding: 12px;
}
.card:has(> .selection:not(.hidden)) .picker svg {
  width: 24px;
  height: 24px;
}
.card:has(> .selection:not(.hidden)) .requirement {
  margin-top: 10px;
}
#progressCard .card-head {
  margin-bottom: 12px;
}
#progressCard .disclosure {
  margin-bottom: 0;
}
#progressCard .disclosure:not([open]) {
  padding-top: 9px;
  margin-top: 12px;
}
#verdictPair .pill-row {
  gap: 5px;
}
@media (max-width: 420px) {
  .tabs {
    gap: 15px;
  }
  .tab {
    font-size: 11px;
  }
}

/* Style the native picker as well as its closed control where supported. */
@supports (appearance: base-select) {
  select.input,
  select.input::picker(select) {
    appearance: base-select;
  }
  select.input {
    background-image: none;
    padding-right: 11px;
    align-items: center;
  }
  select.input::picker-icon {
    color: var(--text-2);
    width: 14px;
    transition: rotate 0.15s;
  }
  select.input:open::picker-icon {
    rotate: 180deg;
  }
  select.input::picker(select) {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 5px;
    background: #fff;
    box-shadow: 0 8px 24px #203c381a;
    margin-top: 5px;
    max-height: 300px;
  }
  select.input option {
    padding: 9px 11px;
    border-radius: 5px;
    font-size: 12px;
    gap: 8px;
  }
  select.input option:hover,
  select.input option:focus {
    background: #f0f6f3;
    outline: 0;
  }
  select.input option:checked {
    background: #eaf5ef;
    color: var(--accent);
    font-weight: 600;
  }
  select.input option::checkmark {
    color: var(--accent);
  }
}
.card:has(> .selection:not(.hidden)) .picker {
  min-height: 70px;
}
.card:has(> .selection:not(.hidden)) #pickHelp,
.card:has(> .selection:not(.hidden)) .requirement {
  display: none;
}
.selection .metrics {
  gap: 10px;
}
.selection .metric .k {
  margin-bottom: 2px;
}
.selection .metric .v {
  font-size: 16px;
}
.history-details summary {
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.history-details summary::after {
  content: none;
}
.history-details[open] summary::after {
  content: none;
}
.history-list {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  max-height: 200px;
  overflow: auto;
}
#historyBox {
  padding: 14px 20px;
}
.submission-table {
  max-height: calc(100dvh - 490px);
}
@media (max-width: 760px) {
  .submission-table {
    max-height: 65dvh;
  }
}

/* The submitter form stays with the primary action, before and after upload. */
.student-layout[data-has-report="false"] {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}
.identity-form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.identity-form .card-head {
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.identity-form h2 {
  font-size: 14px;
}
.identity-form .label-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.identity-form .field {
  margin-bottom: 12px;
}
#labelId:empty,
#labelMsg:empty {
  display: none;
}
#labelId {
  font-size: 10px;
  overflow-wrap: anywhere;
}
.submission-actions {
  display: flex;
  gap: 10px;
}
.submission-actions #submitBtn {
  flex: 1;
}
.icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: middle;
}
[data-icon] {
  display: inline-flex;
  align-items: center;
}
.icon-back {
  transform: rotate(180deg);
}
.nav-link,
.steps .s {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pill .icon,
.steps .icon {
  width: 13px;
  height: 13px;
}
.ico {
  display: inline-flex;
  padding-top: 2px;
}
summary {
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
.disclosure summary,
.evidence summary,
.history-details summary {
  display: flex;
  align-items: center;
  gap: 8px;
}
.disclosure summary::before,
.evidence summary::before,
.history-details summary::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
details[open] > summary::before {
  transform: rotate(90deg);
}
.disclosure summary .pill,
.history-details summary .pill {
  margin-left: auto;
}
@supports (appearance: base-select) {
  select.input::picker-icon {
    content: "";
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23657181' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
      center / contain no-repeat;
  }
  select.input option::checkmark {
    content: "";
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23187566' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E")
      center / contain no-repeat;
  }
}

.brand-logo {
  width: 76px;
  height: 50px;
  object-fit: cover;
}
.content-logo {
  width: 60px;
  height: 42px;
  object-fit: cover;
}
.login-logo {
  display: block;
  width: 120px;
  height: 84px;
  object-fit: cover;
  margin: 0 auto 20px;
}
@media (max-width: 760px) {
  .brand-logo {
    width: 60px;
    height: 42px;
  }
  .brand {
    gap: 8px;
  }
}
