@charset "UTF-8";
:root {
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #203649;
  background: #f3f6f8;
  font-size: 14px;
  line-height: 1.6;
  font-synthesis: none;
  --navy: #102b42;
  --navy-deep: #0c2134;
  --teal: #087e80;
  --teal-light: #e5f5f1;
  --muted: #647787;
  --line: #dce5eb;
  --danger: #b23b40;
  --success: #187448;
  --warning: #94621a;
  --radius: 12px;
  --shadow: 0 8px 30px #193d5910;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: var(--teal);
  text-decoration: none;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration: underline;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #0a9d9b;
  outline-offset: 3px;
}
::selection {
  background: #b8e8dd;
  color: #102b42;
}
input,
textarea {
  caret-color: var(--teal);
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1 {
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  font-weight: 700;
}
h2 {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 16px;
  line-height: 1.5;
}
h4 {
  font-size: 14px;
}
p + p {
  margin-top: 12px;
}
small,
.small {
  font-size: 12px;
}
b,
strong {
  font-weight: 650;
}
svg {
  display: block;
}
img {
  max-width: 100%;
}
.icon {
  width: 19px;
  height: 19px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.muted {
  color: var(--muted);
}
.mono,
.money,
.table {
  font-variant-numeric: tabular-nums;
}
.prose {
  max-width: 74ch;
  white-space: pre-line;
  line-height: 1.85;
}
.text-danger {
  color: var(--danger);
}
.text-success {
  color: var(--success);
}
.nowrap {
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  background: white;
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.initial-loading {
  max-width: 360px;
  margin: 20vh auto;
  text-align: center;
}
.initial-loading .brand-mark {
  margin: 0 auto 20px;
}
.skeleton {
  height: 10px;
  margin: 24px 0;
  background: #dce7ec;
  border-radius: 4px;
  overflow: hidden;
}
.skeleton:after {
  content: "";
  display: block;
  width: 35%;
  height: 100%;
  background: #a2c8c7;
  animation: load 1.6s ease-in-out infinite;
}
@keyframes load {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(400%);
  }
}
.brand-mark {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  background: #0b8c87;
  color: white;
  border-radius: 10px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.brand-lockup {
  display: flex;
  gap: 11px;
  align-items: center;
}
.brand-name {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}
.brand-sub {
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.65;
}
.app-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: var(--navy);
  color: #ecf2f6;
  padding: 27px 17px 20px;
  position: fixed;
  inset: 0 auto 0 0;
  width: 224px;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.sidebar .brand-lockup {
  padding: 0 8px 30px;
}
.nav-section {
  font-size: 11px;
  color: #9fb7c8;
  padding: 19px 13px 8px;
  letter-spacing: 0.08em;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #bcd0dd;
  padding: 10px 13px;
  border-radius: 7px;
  margin: 2px 0;
  font-size: 13px;
  transition:
    background 0.18s,
    color 0.18s;
}
.nav-item:hover {
  background: #1a3a51;
  text-decoration: none;
  color: white;
}
.nav-item.active {
  background: #0b7779;
  color: white;
}
.nav-count {
  margin-left: auto;
  font-size: 11px;
  min-width: 19px;
  padding: 0 5px;
  background: #ffffff20;
  text-align: center;
  border-radius: 4px;
}
.sidebar-foot {
  margin-top: auto;
  padding: 20px 9px 0;
  color: #a8c1cf;
  font-size: 11px;
}
.class-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6e8798;
  display: inline-block;
  margin-right: 7px;
}
.class-dot.open {
  background: #5fdbbc;
}
.workspace {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  gap: 18px;
}
.breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb strong {
  color: #304a5c;
  font-weight: 500;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}
.avatar {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9f2f3;
  color: #126668;
  font-weight: 700;
}
.account {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.account-info span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.icon-button {
  border: 0;
  background: transparent;
  padding: 7px;
  color: #526b7c;
  border-radius: 7px;
}
.icon-button:hover {
  background: #edf3f6;
}
.content {
  max-width: 1540px;
  padding: 31px 34px 48px;
  margin: auto;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
}
.page-head p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}
.head-actions,
.button-row {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.btn {
  border: 1px solid #cbd9e0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  min-height: 39px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 12px;
  background: #fff;
  color: #28485b;
  transition:
    background 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
  white-space: nowrap;
}
.btn:hover {
  background: #eef5f7;
  text-decoration: none;
  border-color: #9db6c4;
}
.btn.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}
.btn.primary:hover {
  background: #066d70;
}
.btn.dark {
  background: #183b53;
  border-color: #183b53;
  color: white;
}
.btn.danger {
  border-color: #ebc2c4;
  color: var(--danger);
  background: #fff7f7;
}
.btn.ghost {
  border-color: transparent;
  background: transparent;
  color: var(--teal);
}
.btn.small {
  min-height: 31px;
  padding: 5px 10px;
  font-size: 11px;
}
.btn .icon {
  width: 16px;
  height: 16px;
}
.btn[aria-busy="true"] {
  pointer-events: none;
  opacity: 0.6;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel-body {
  padding: 23px;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 23px;
  border-bottom: 1px solid var(--line);
  gap: 10px;
}
.panel-title h2 {
  font-size: 16px;
}
.panel-title p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.panel-title a {
  font-size: 12px;
}
.section {
  margin-top: 26px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 15px;
  gap: 15px;
}
.section-head h2 {
  font-size: 17px;
}
.section-head a {
  font-size: 12px;
}
.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 23px;
}
.grid-equal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.stack {
  display: grid;
  gap: 20px;
}
.stats-line {
  display: flex;
  gap: 26px;
  align-items: stretch;
  margin: 0 0 25px;
  padding: 19px 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat {
  flex: 1;
  border-right: 1px solid var(--line);
  padding-right: 20px;
}
.stat:last-child {
  border: 0;
  padding: 0;
}
.stat span {
  font-size: 11px;
  color: var(--muted);
  display: block;
}
.stat strong {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.8;
}
.stat small {
  font-size: 11px;
  color: var(--muted);
  margin-left: 7px;
}
.welcome-panel {
  background: var(--navy);
  border-radius: var(--radius);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  min-height: 257px;
  overflow: hidden;
}
.welcome-copy {
  padding: 30px 0 29px 29px;
  position: relative;
  z-index: 1;
}
.welcome-copy h2 {
  font-size: 25px;
  max-width: 18ch;
}
.welcome-copy p {
  font-size: 12px;
  color: #b2cbd8;
  margin-top: 11px;
  max-width: 37ch;
  line-height: 1.8;
}
.welcome-copy .button-row {
  margin-top: 21px;
}
.welcome-copy .btn.primary {
  background: #26b6a5;
  color: #082f3b;
  border-color: #26b6a5;
}
.welcome-map {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 230px;
  overflow: hidden;
}
.world-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.45;
}
.route-map {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.route-map text {
  font-size: 18px;
  font-family: inherit;
  fill: #e0edf3;
}
.route-map path {
  fill: none;
  stroke: #4fd3bc;
  stroke-width: 2;
  stroke-dasharray: 6 5;
}
.route-map circle {
  fill: #70ead2;
  stroke: #102b42;
  stroke-width: 4;
}
.map-legend {
  position: absolute;
  bottom: 20px;
  left: 28px;
  display: flex;
  gap: 15px;
  font-size: 10px;
  color: #b9d3df;
}
.map-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.map-legend i {
  display: block;
  width: 6px;
  height: 6px;
  background: #5cdbc3;
  border-radius: 50%;
}
.dashboard-main {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.9fr);
  gap: 23px;
  margin-top: 24px;
}
.task-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 19px 23px;
  border-bottom: 1px solid #e7edf1;
}
.task-row:last-child {
  border: 0;
}
.direction-icon {
  width: 40px;
  height: 40px;
  background: #eaf5f2;
  color: #087e80;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
}
.direction-icon.import {
  background: #edf1fa;
  color: #4866a0;
}
.task-main {
  flex: 1;
  min-width: 0;
}
.task-main h3 {
  font-size: 13px;
  margin-bottom: 3px;
}
.task-main p {
  font-size: 11px;
  color: var(--muted);
}
.task-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 9px;
}
.progress-bar {
  height: 5px;
  background: #e8eef1;
  overflow: hidden;
  border-radius: 5px;
  flex: 1;
  min-width: 55px;
}
.progress-bar i {
  display: block;
  background: #0f998c;
  height: 100%;
  border-radius: 5px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 500;
  background: #edf2f5;
  color: #577083;
  white-space: nowrap;
}
.badge.success {
  background: #e8f5ed;
  color: #1e754d;
}
.badge.warning {
  background: #fff3dc;
  color: #956019;
}
.badge.danger {
  background: #fdebec;
  color: #af3b43;
}
.badge.info {
  background: #e8f2fc;
  color: #326b9a;
}
.tag-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.empty {
  padding: 37px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.empty .icon {
  width: 29px;
  height: 29px;
  margin: 0 auto 12px;
  color: #8ba4b3;
}
.empty h3 {
  color: #314f62;
  margin-bottom: 6px;
  font-size: 14px;
}
.empty .btn {
  margin-top: 17px;
}
.notice {
  padding: 13px 16px;
  background: #edf6f8;
  border: 1px solid #cfe3e9;
  border-radius: 8px;
  font-size: 12px;
  color: #386475;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.notice .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}
.notice.warning {
  background: #fffaee;
  border-color: #f0dfb9;
  color: #875f20;
}
.notice.error {
  background: #fff1f1;
  border-color: #f0c5c8;
  color: #a1363e;
}
.notice.success {
  background: #edf8f1;
  border-color: #c6e6d1;
  color: #2b704b;
}
.notice + .notice {
  margin-top: 12px;
}
.company-mini {
  padding: 20px 23px;
  display: grid;
  gap: 14px;
}
.company-mini-item {
  display: flex;
  gap: 12px;
  align-items: center;
}
.company-mini-item .direction-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.company-mini-item h3 {
  font-size: 12px;
}
.company-mini-item p {
  font-size: 10px;
  color: var(--muted);
}
.timeline-preview {
  display: flex;
  padding: 23px;
  gap: 0;
}
.timeline-node {
  flex: 1;
  position: relative;
  text-align: center;
  font-size: 10px;
  color: #607789;
}
.timeline-node:before {
  content: "";
  display: block;
  height: 1px;
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  background: #dce6eb;
}
.timeline-dot {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: white;
  border: 2px solid #d6e2e8;
  position: relative;
  margin: 0 auto 9px;
  display: grid;
  place-items: center;
  color: white;
}
.timeline-node.passed .timeline-dot {
  background: #0a9288;
  border-color: #0a9288;
}
.timeline-node.current .timeline-dot {
  border: 5px solid #a9ded4;
  background: #0c8e85;
}
.timeline-node.passed:before {
  background: #6ac6b4;
}
.timeline-dot .icon {
  width: 11px;
  height: 11px;
}
.timeline-node.current {
  color: #087e80;
  font-weight: 600;
}
.filters {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.search-field {
  position: relative;
  min-width: 220px;
  flex: 1;
  max-width: 420px;
}
.search-field .icon {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 16px;
  height: 16px;
  color: #7c91a0;
}
.search-field input {
  padding-left: 37px;
}
.field input,
.field select,
.field textarea,
.filters input,
.filters select,
.compact-select {
  width: 100%;
  border: 1px solid #cbd8e0;
  background: #fff;
  border-radius: 6px;
  color: #233e51;
  padding: 10px 11px;
  font-size: 12px;
  min-height: 41px;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #9db6c3;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px #0c8a8014;
}
.field input:disabled,
.field textarea:disabled,
.field select:disabled {
  background: #f3f6f8;
  color: #566e7e;
}
.field input[readonly] {
  background: #f3f6f8;
  color: #566e7e;
}
.field textarea {
  resize: vertical;
  min-height: 102px;
  line-height: 1.75;
}
.field textarea.mail-body {
  min-height: 250px;
}
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 7px;
}
.field label em {
  color: #b13d46;
  font-style: normal;
  margin-left: 3px;
}
.field .hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.field .given {
  font-size: 11px;
  background: #f3f6f8;
  color: #536d7d;
  padding: 7px 9px;
  margin-bottom: 7px;
  border-radius: 5px;
  line-height: 1.5;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
}
.field.full {
  grid-column: 1/-1;
}
.form-section {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.form-section:last-child {
  border: 0;
}
.form-section h3 {
  font-size: 14px;
  margin-bottom: 18px;
}
.form-foot {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fbfcfd;
  border-top: 1px solid var(--line);
  gap: 14px;
}
.form-foot p {
  font-size: 11px;
  color: var(--muted);
}
.form-message {
  margin-top: 14px;
}
.check-row {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 12px;
  cursor: pointer;
  padding: 8px 0;
}
.check-row input {
  accent-color: var(--teal);
  margin: 4px 0 0;
  flex: none;
  width: 15px;
  height: 15px;
}
.radio-row {
  display: flex;
  gap: 20px;
  align-items: center;
}
.task-workspace {
  display: grid;
  grid-template-columns: 251px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.stage-sidebar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  position: sticky;
  top: 18px;
}
.stage-sidebar-title {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
}
.stage-sidebar-title h3 {
  font-size: 13px;
}
.stage-sidebar-title p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.phase-label {
  font-size: 10px;
  color: #5e7686;
  padding: 16px 18px 6px;
}
.stage-link {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 9px 15px;
  color: #5a7182;
  font-size: 11px;
  line-height: 1.6;
  border-left: 2px solid transparent;
}
.stage-link:hover {
  background: #f2f7f8;
  text-decoration: none;
}
.stage-link.active {
  background: #eaf7f3;
  border-left-color: #0a8c81;
  color: #076f6d;
  font-weight: 600;
}
.stage-link.locked {
  color: #607789;
}
.stage-symbol {
  width: 17px;
  height: 17px;
  border: 1px solid #cfdae1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 1px;
  font-size: 9px;
}
.stage-symbol .icon {
  width: 11px;
  height: 11px;
}
.stage-link.passed .stage-symbol {
  background: #178e79;
  color: white;
  border-color: #178e79;
}
.stage-link.active .stage-symbol {
  border-color: #0c8d80;
  color: #0c8d80;
}
.stage-content {
  min-width: 0;
}
.stage-heading {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.stage-heading .tag-row {
  margin-bottom: 12px;
}
.stage-heading h2 {
  font-size: 20px;
}
.stage-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  max-width: 75ch;
  line-height: 1.8;
}
.score-strip {
  display: flex;
  align-items: center;
  gap: 21px;
  padding: 17px 23px;
  background: #f6faf9;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: #5d7783;
}
.score-strip strong {
  font-size: 21px;
  color: #167b6e;
  margin-right: 3px;
}
.feedback-list {
  padding: 0;
  list-style: none;
  margin: 0;
}
.feedback-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid #e8edf0;
  font-size: 12px;
}
.feedback-list li:last-child {
  border: 0;
}
.feedback-list .icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: #b34b4b;
}
.feedback-list li.good .icon {
  color: #20825c;
}
.source-note {
  padding-top: 14px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.terms-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  padding: 20px 23px;
  background: #f8fafb;
}
.terms-list dt {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 3px;
}
.terms-list dd {
  margin: 0;
  font-size: 12px;
  color: #25475b;
  font-weight: 500;
}
.terms-list div {
  min-width: 0;
}
.data-table-wrap {
  overflow-x: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  white-space: nowrap;
  text-align: left;
}
.table th {
  background: #f7f9fb;
  color: #597182;
  font-size: 10px;
  font-weight: 600;
  padding: 12px 17px;
  border-bottom: 1px solid var(--line);
}
.table td {
  padding: 15px 17px;
  border-bottom: 1px solid #e7edf1;
  vertical-align: middle;
}
.table tr:last-child td {
  border: 0;
}
.table tbody tr:hover {
  background: #fafcfd;
}
.table .person {
  display: flex;
  gap: 10px;
  align-items: center;
}
.table .person strong {
  display: block;
  font-size: 12px;
}
.table .person small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.table .progress-bar {
  width: 85px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 7px;
}
.table-caption {
  padding: 11px 17px;
  background: #fbfcfd;
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.table .wrappable {
  white-space: normal;
  min-width: 160px;
  max-width: 330px;
}
.split-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr);
  gap: 23px;
}
.company-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.company-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 21px;
}
.company-card h3 {
  font-size: 14px;
  margin: 9px 0 2px;
}
.company-card .english {
  color: var(--muted);
  font-size: 10px;
  min-height: 17px;
}
.company-contact {
  font-size: 12px;
  display: grid;
  gap: 7px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.company-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.company-contact .icon {
  width: 14px;
  height: 14px;
  color: #8298a6;
}
.market-note {
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.market-note:first-child {
  padding-top: 0;
}
.market-note:last-child {
  border: 0;
  padding-bottom: 0;
}
.market-note h3 {
  font-size: 13px;
  margin-bottom: 6px;
}
.market-note p {
  font-size: 12px;
  color: #5b7282;
  white-space: pre-line;
  line-height: 1.85;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.product-photo {
  height: 200px;
  background: #f2f5f5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-photo .badge {
  position: absolute;
  left: 15px;
  top: 15px;
  background: #fff;
}
.product-info {
  padding: 19px;
}
.product-info h3 {
  font-size: 14px;
}
.product-info p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.product-data {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 0;
  font-size: 11px;
}
.product-data strong {
  display: block;
  font-size: 14px;
  color: #2e4d60;
}
.product .btn {
  width: 100%;
}
.ledger-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  background: var(--navy);
  color: white;
  border-radius: 10px;
  margin-bottom: 22px;
}
.ledger-summary p {
  font-size: 12px;
  color: #bfd1dd;
}
.ledger-summary strong {
  font-size: 30px;
  letter-spacing: -0.02em;
  display: block;
  margin-top: 7px;
}
.ledger-summary .icon {
  width: 44px;
  height: 44px;
  color: #7fcbbd;
}
.resource-list {
  display: grid;
  gap: 0;
}
.resource-row {
  padding: 20px 23px;
  display: flex;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.resource-row:last-child {
  border: 0;
}
.resource-row h3 {
  font-size: 13px;
}
.resource-row p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.resource-row .resource-icon {
  color: var(--teal);
  background: #eef8f5;
  padding: 12px;
  border-radius: 8px;
}
.resource-content {
  padding: 28px;
  max-width: 850px;
}
.resource-content h2 {
  margin-bottom: 20px;
}
.steps {
  list-style: none;
  padding: 0;
  counter-reset: manual;
  display: grid;
  gap: 17px;
}
.steps li {
  counter-increment: manual;
  display: flex;
  gap: 12px;
  font-size: 12px;
  line-height: 1.9;
}
.steps li:before {
  content: counter(manual);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  background: #e8f4f1;
  color: #087e80;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
}
.process-animation {
  padding: 23px;
  background: #f1f7f8;
  border-radius: 9px;
  margin: 23px 0;
}
.process-animation svg {
  width: 100%;
  max-height: 165px;
}
.process-animation .moving-cargo {
  animation: cargo 8s ease-in-out 1 forwards;
}
.process-animation text {
  font-size: 12px;
  font-family: inherit;
  fill: #416475;
}
@keyframes cargo {
  0%,
  12% {
    transform: translateX(0);
  }
  45%,
  57% {
    transform: translateX(calc(var(--travel, 420px) / 2));
  }
  90%,
  100% {
    transform: translateX(var(--travel, 420px));
  }
}
.process-animation p {
  font-size: 10px;
  color: #4f6c7c;
  margin-top: 10px;
  text-align: center;
}
.mail-preview {
  padding: 22px;
  background: #f7f9fb;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.review-item {
  padding: 20px 23px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.review-item:last-child {
  border: 0;
}
.review-item h3 {
  font-size: 13px;
}
.review-item p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(270px, 0.8fr);
  gap: 23px;
}
.review-form {
  position: sticky;
  top: 18px;
}
.exam-card {
  padding: 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.exam-card:last-child {
  border: 0;
}
.exam-card h3 {
  font-size: 15px;
  margin: 7px 0;
}
.exam-card p {
  color: var(--muted);
  font-size: 12px;
}
.exam-time {
  font-size: 24px;
  font-weight: 650;
  color: #1a6572;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.exam-time.urgent {
  color: var(--danger);
}
.exam-banner {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border: 1px solid #a8c7d2;
  background: #edf8f9;
  padding: 13px 20px;
  border-radius: 9px;
  margin-bottom: 20px;
}
.exam-banner p {
  font-size: 11px;
  color: #567583;
}
.exam-stage-list {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.exam-stage-list a {
  padding: 7px 11px;
  background: white;
  border: 1px solid var(--line);
  font-size: 11px;
  border-radius: 6px;
  color: #607a8a;
}
.exam-stage-list a.active {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}
.exam-stage-list a.submitted {
  background: #e9f5ec;
  color: #28734c;
}
.code-editor {
  font-family: Consolas, monospace;
  font-size: 12px !important;
  min-height: 430px !important;
  white-space: pre;
  overflow-wrap: normal;
}
.details {
  border-top: 1px solid var(--line);
}
.details summary {
  padding: 16px 22px;
  cursor: pointer;
  font-size: 12px;
  color: #456373;
}
.details > div {
  padding: 0 22px 22px;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(430px, 0.85fr);
}
.login-story {
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 44px 55px;
  display: flex;
  flex-direction: column;
}
.login-story .brand-lockup {
  position: relative;
  z-index: 2;
}
.login-story-copy {
  margin: auto 0;
  position: relative;
  z-index: 2;
  padding: 80px 0 110px;
  max-width: 560px;
}
.login-story-copy h1 {
  font-size: 43px;
  line-height: 1.5;
  letter-spacing: -0.03em;
}
.login-story-copy p {
  color: #b6cddc;
  font-size: 14px;
  line-height: 1.9;
  max-width: 44ch;
  margin-top: 19px;
}
.login-story-copy .login-route {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #9ed7ca;
  font-size: 11px;
}
.login-route span {
  height: 1px;
  width: 55px;
  background: #65afaa;
}
.login-story-map {
  position: absolute;
  inset: 23% -13% 5% 0;
  opacity: 0.2;
  background: url("/assets/world-map.svg") center/contain no-repeat;
}
.login-footer {
  color: #8facbd;
  font-size: 10px;
  z-index: 2;
  position: relative;
}
.login-panel {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.login-form-wrap {
  width: 100%;
  max-width: 350px;
}
.login-form-wrap h2 {
  font-size: 25px;
  letter-spacing: -0.02em;
}
.login-form-wrap > p {
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 29px;
}
.login-form-wrap .field {
  margin-top: 19px;
}
.login-form-wrap .btn {
  width: 100%;
  margin-top: 26px;
  min-height: 44px;
}
.login-form-wrap .login-tip {
  font-size: 11px;
  line-height: 1.8;
  padding-top: 22px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  color: #5c7484;
}
.closed-page {
  min-height: 100vh;
  background: #edf3f6;
  display: flex;
  flex-direction: column;
}
.closed-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 40px;
}
.closed-body {
  width: 100%;
  max-width: 630px;
  margin: auto;
  text-align: center;
  padding: 40px 25px 100px;
}
.closed-symbol {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  background: #dfedeb;
  border-radius: 22px;
  margin: 0 auto 25px;
  color: #176f6e;
}
.closed-symbol .icon {
  width: 35px;
  height: 35px;
}
.closed-body p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 15px;
}
.closed-body .notice {
  margin-top: 25px;
  text-align: left;
}
.bind-page {
  max-width: 860px;
  margin: 60px auto;
  padding: 0 25px;
}
.bind-head {
  margin: 35px 0 24px;
}
.bind-head p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 12px;
}
.bind-page .panel {
  margin-top: 25px;
}
.binding-summary {
  padding: 16px 22px;
  background: #f8fafb;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  padding: 12px 19px;
  background: #16394c;
  color: white;
  border-radius: 8px;
  box-shadow: 0 8px 26px #0e24332b;
  font-size: 12px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.18s,
    transform 0.18s;
  max-width: 90vw;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
#toast.error {
  background: #9b3540;
}
.mobile-nav-button {
  display: none;
}
.inline-form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.inline-form .field {
  flex: 1;
}
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.help-step {
  border-top: 2px solid #d3e9e3;
  padding-top: 15px;
}
.help-step h3 {
  font-size: 13px;
}
.help-step p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
.separator {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 23px 0;
}
.section-gap {
  margin-top: 21px;
}
.mobile-only {
  display: none;
}
.item-count {
  font-size: 11px;
  color: var(--muted);
  padding: 8px 0;
}
.stage-filter {
  min-width: 150px;
}
.inline-score {
  display: flex;
  align-items: center;
  gap: 10px;
}
.inline-score input {
  width: 75px;
}
.small-link {
  font-size: 11px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.error-page {
  padding: 50px;
  max-width: 700px;
  margin: auto;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.wrap {
  overflow-wrap: anywhere;
}
.review-criteria {
  font-size: 11px;
  color: #536d7e;
  line-height: 1.8;
}
.review-criteria li + li {
  margin-top: 6px;
}
.module-notice {
  margin-bottom: 22px;
}
.task-catalog {
  display: grid;
  gap: 18px;
}
.task-catalog-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.task-catalog-body {
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.task-catalog-body h3 {
  font-size: 16px;
}
.task-catalog-body p {
  font-size: 12px;
  color: var(--muted);
  margin: 7px 0 13px;
  max-width: 70ch;
}
.task-catalog-item .timeline-preview {
  border-top: 1px solid var(--line);
}
.task-catalog-body .task-main {
  min-width: 0;
}
.task-actions {
  padding: 0 22px 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.teacher-student-detail {
  max-width: 850px;
}
.status-summary {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 10px;
}
.resource-in-stage {
  background: #f7fafb;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 23px;
}
.resource-in-stage h3 {
  margin-bottom: 10px;
}
.resource-in-stage p {
  font-size: 12px;
}
.footnote {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 12px;
}
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 19px;
  background: white;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.table-toolbar .filters {
  margin: 0;
  flex: 1;
}
.stage-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.stage-check-grid .check-row {
  font-size: 11px;
  border-bottom: 1px solid #e8eef1;
  padding: 10px 0;
}
.import-help {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}
.exam-result {
  padding: 20px;
  background: #eff7f3;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.exam-result strong {
  font-size: 29px;
  color: #17775e;
}
.terms-title {
  padding: 15px 23px 0;
  font-size: 11px;
  color: var(--muted);
}
@media (min-width: 1700px) {
  .content {
    padding-top: 38px;
  }
  .welcome-panel {
    min-height: 285px;
  }
  .welcome-copy {
    padding-top: 35px;
  }
  .welcome-copy h2 {
    font-size: 28px;
  }
  .topbar {
    padding-inline: 43px;
  }
}
@media (max-width: 1200px) {
  .app-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .sidebar {
    width: 200px;
    padding-inline: 11px;
  }
  .topbar {
    padding-inline: 24px;
  }
  .content {
    padding: 25px 24px 40px;
  }
  .welcome-panel {
    grid-template-columns: 1.1fr 1fr;
  }
  .welcome-copy {
    padding-left: 24px;
  }
  .welcome-copy h2 {
    font-size: 22px;
  }
  .dashboard-main,
  .grid-two {
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 1fr);
  }
  .task-workspace {
    grid-template-columns: 225px minmax(0, 1fr);
    gap: 17px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats-line {
    gap: 15px;
  }
  .task-row {
    padding: 17px;
  }
  .review-layout,
  .split-detail {
    grid-template-columns: 1fr;
  }
  .review-form {
    position: static;
  }
  .login-story {
    padding: 35px;
  }
  .login-story-copy h1 {
    font-size: 36px;
  }
  .login-page {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 950px) {
  .welcome-panel {
    grid-template-columns: 1fr 1fr;
  }
  .welcome-copy h2 {
    font-size: 21px;
  }
  .welcome-map {
    min-height: 250px;
  }
  .dashboard-main,
  .grid-two {
    grid-template-columns: 1fr;
  }
  .grid-equal {
    grid-template-columns: 1fr;
  }
  .company-list {
    grid-template-columns: 1fr;
  }
  .task-workspace {
    grid-template-columns: 1fr;
  }
  .stage-sidebar {
    position: static;
  }
  .stage-sidebar nav {
    display: flex;
    overflow-x: auto;
    padding: 9px;
    gap: 5px;
  }
  .phase-label {
    display: none;
  }
  .stage-sidebar-title {
    padding: 13px 17px;
  }
  .stage-link {
    white-space: nowrap;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 5px;
    align-items: center;
  }
  .stage-link.active {
    border-color: #b9e2d5;
  }
  .stage-link .stage-symbol {
    margin: 0;
  }
  .form-grid,
  .settings-grid {
    gap: 16px;
  }
  .terms-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .login-story-copy h1 {
    font-size: 31px;
  }
  .login-story-copy p {
    font-size: 12px;
  }
  .help-grid {
    grid-template-columns: 1fr;
  }
  .resource-content {
    padding: 23px;
  }
}
@media (max-width: 720px) {
  .app-layout {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 224px;
    box-shadow: 8px 0 40px #112f4530;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .workspace {
    width: 100%;
  }
  .topbar {
    height: 65px;
    padding: 0 17px;
    position: relative;
  }
  .mobile-nav-button {
    display: block;
  }
  .breadcrumb {
    margin-right: auto;
  }
  .breadcrumb > span:first-child {
    display: none;
  }
  .topbar-actions {
    gap: 7px;
  }
  .account-info {
    display: none;
  }
  .topbar-actions > .badge {
    display: none;
  }
  .content {
    padding: 23px 17px 35px;
  }
  .page-head {
    margin-bottom: 21px;
    display: block;
  }
  .page-head h1 {
    font-size: 23px;
  }
  .page-head p {
    font-size: 12px;
  }
  .head-actions {
    margin-top: 16px;
  }
  .welcome-panel {
    display: block;
    position: relative;
    min-height: 255px;
  }
  .welcome-copy {
    padding: 26px;
    max-width: 74%;
    min-height: 255px;
  }
  .welcome-copy h2 {
    font-size: 23px;
  }
  .welcome-copy p {
    max-width: 31ch;
  }
  .welcome-map {
    position: absolute;
    inset: 0 0 0 30%;
    opacity: 0.4;
    pointer-events: none;
  }
  .welcome-copy .button-row {
    margin-top: 22px;
  }
  .map-legend {
    display: none;
  }
  .stats-line {
    padding: 15px;
    gap: 10px;
  }
  .stat {
    padding-right: 7px;
  }
  .stat strong {
    font-size: 21px;
  }
  .stat small {
    display: none;
  }
  .stat span {
    font-size: 10px;
  }
  .task-row {
    gap: 10px;
    padding: 17px 15px;
  }
  .task-row > .btn {
    padding: 6px 8px;
    font-size: 10px;
  }
  .direction-icon {
    width: 33px;
    height: 33px;
    border-radius: 8px;
  }
  .panel-title {
    padding: 16px;
  }
  .panel-body {
    padding: 18px;
  }
  .company-mini {
    padding: 17px;
  }
  .timeline-preview {
    padding: 20px 10px;
  }
  .timeline-node {
    font-size: 9px;
  }
  .task-catalog-body {
    padding: 18px;
    gap: 12px;
  }
  .task-actions {
    padding: 0 18px 17px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .form-section,
  .stage-heading {
    padding: 20px;
  }
  .form-foot {
    padding: 16px;
    align-items: flex-start;
    flex-direction: column;
  }
  .form-foot .button-row {
    width: 100%;
  }
  .form-foot .btn {
    flex: 1;
  }
  .score-strip {
    padding: 14px 19px;
    gap: 14px;
    flex-wrap: wrap;
  }
  .score-strip strong {
    font-size: 18px;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .product-photo {
    height: 150px;
  }
  .product-info {
    padding: 13px;
  }
  .product-info h3 {
    font-size: 12px;
  }
  .product-data strong {
    font-size: 12px;
  }
  .product-data {
    font-size: 10px;
  }
  .company-card {
    padding: 18px;
  }
  .table-toolbar {
    padding: 13px;
    display: block;
  }
  .table-toolbar > .button-row {
    margin-top: 12px;
  }
  .filters {
    gap: 8px;
  }
  .search-field {
    min-width: 160px;
    max-width: none;
  }
  .filters select {
    width: 100%;
    flex: 1;
    min-width: 120px;
  }
  .filter-label {
    display: none;
  }
  .login-page {
    display: flex;
    flex-direction: column;
  }
  .login-story {
    padding: 26px;
    min-height: 250px;
    flex: none;
  }
  .login-story-copy {
    padding: 30px 0 0;
    margin: 0;
  }
  .login-story-copy h1 {
    font-size: 28px;
  }
  .login-story-copy p,
  .login-route,
  .login-footer {
    display: none !important;
  }
  .login-story-map {
    inset: 0 0 0 25%;
  }
  .login-panel {
    padding: 32px 25px;
    align-items: flex-start;
    flex: 1;
  }
  .login-form-wrap h2 {
    font-size: 23px;
  }
  .login-form-wrap > p {
    margin-bottom: 22px;
  }
  .closed-top {
    padding: 21px;
  }
  .closed-body {
    padding-top: 70px;
  }
  .closed-body h1 {
    font-size: 25px;
  }
  .bind-page {
    margin-top: 30px;
  }
  .bind-head h1 {
    font-size: 25px;
  }
  .exam-banner {
    padding: 12px;
  }
  .exam-time {
    font-size: 21px;
  }
  .exam-banner h3 {
    font-size: 12px;
  }
  .exam-banner .btn {
    padding: 7px 9px;
  }
  .exam-card {
    padding: 18px;
  }
  .exam-card h3 {
    font-size: 13px;
  }
  .exam-card p {
    font-size: 11px;
  }
  .exam-card .button-row {
    max-width: 150px;
  }
  .stage-check-grid {
    grid-template-columns: 1fr;
  }
  .resource-content {
    padding: 20px;
  }
  .resource-row {
    padding: 17px 16px;
  }
  .resource-row .btn {
    padding: 6px 9px;
  }
  .ledger-summary {
    padding: 21px;
  }
  .ledger-summary strong {
    font-size: 25px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .review-item {
    padding: 17px;
  }
  .mobile-only {
    display: block;
  }
  .task-catalog-body .direction-icon {
    display: none;
  }
  .terms-list {
    padding: 17px;
    gap: 12px;
  }
  .terms-list dd {
    font-size: 11px;
  }
  .section {
    margin-top: 23px;
  }
  .inline-form {
    flex-direction: column;
    align-items: stretch;
  }
  .inline-form .field {
    width: 100%;
  }
  .page-head .btn {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.document-sheet {
  padding: 25px;
  border: 1px solid #d3dfe5;
  border-radius: 6px;
  background: #fff;
}
.document-sheet h3 {
  text-align: center;
  font-size: 17px;
  letter-spacing: 0.04em;
  padding-bottom: 15px;
  border-bottom: 2px solid #244b5e;
}
.document-sheet dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 20px 0;
}
.document-sheet dt {
  font-size: 10px;
  color: #6a8190;
}
.document-sheet dd {
  margin: 3px 0 0;
  font-size: 12px;
}
.document-stamp {
  font-size: 10px;
  color: #1a8272;
  text-align: right;
  padding-top: 15px;
  border-top: 1px solid #e0e9ed;
}
.invalid-doc {
  opacity: 0.65;
}
.invalid-doc .document-stamp {
  color: #a1484d;
}
@media (max-width: 720px) {
  .document-sheet {
    padding: 17px;
  }
  .document-sheet dl {
    grid-template-columns: 1fr;
  }
}

/* Trade workspaces: mail, packing documents, and authoring. */
.product-image-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  position: relative;
  color: #24495d;
  text-align: left;
}
.product-image-button img {
  transition: transform 0.18s ease-out;
}
.product-image-button:hover img {
  transform: scale(1.025);
}
.product-image-action {
  position: absolute;
  bottom: 13px;
  left: 13px;
  right: 13px;
  padding: 8px 11px;
  border-radius: 6px;
  background: #fff;
  color: #1e5e63;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 3px 12px #0c29391a;
  text-align: center;
}
.product-photo > .badge {
  pointer-events: none;
}
.inventory-balance{font-variant-numeric:tabular-nums;color:#1f6d58}.inventory-balance strong{font-size:14px}
.rubric-block{margin:20px 23px;padding:17px 19px;background:#f4faf7;border:1px solid #d4e6dc;border-radius:7px}.rubric-block .section-head{margin-bottom:12px}.rubric-block .table{background:#fff}.rubric-block .table td{padding:11px 15px}.rubric-block .table th:last-child,.rubric-block .table td:last-child{width:85px}.rubric-block .footnote{margin-top:11px}.review-form .rubric-block{margin:20px 0}.rubric-block .wrappable{max-width:none}
.issued-document-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 22px;
  border-bottom: 1px solid var(--line);
}
.issued-document-row:last-child {
  border: 0;
}
.issued-document-row h3 {
  font-size: 13px;
}
.issued-document-row p {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0 7px;
}
.issued-document-icon {
  color: #238477;
  background: #edf6f2;
  padding: 10px;
  border-radius: 7px;
}
.packing-next {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #eef8f2;
  border-bottom: 1px solid #cee6d8;
  font-size: 13px;
  color: #226c4e;
}
.packing-next .btn {
  white-space: normal;
  text-align: left;
}
.packing-manual {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fbfc;
}
.packing-manual > summary {
  padding: 12px 14px;
  cursor: pointer;
  font-size: 12px;
  color: #3a6276;
  font-weight: 600;
}
.packing-manual > div {
  padding: 0 14px 14px;
}
.packing-manual .resource-in-stage {
  margin: 0;
  padding: 15px;
  background: white;
}
.packing-dialog {
  width: min(950px, calc(100vw - 40px));
  max-height: 90vh;
  padding: 0;
  border: 1px solid #cbdce3;
  border-radius: 12px;
  color: #203649;
  background: #fff;
  box-shadow: 0 20px 70px #102b4238;
}
.packing-dialog::backdrop {
  background: #0b243b80;
}
.packing-dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 21px 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 4;
}
.packing-dialog-head h2 {
  font-size: 20px;
}
.packing-dialog-head p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.packing-dialog-body > .section {
  margin: 20px;
}
.packing-dialog-body > .section:last-child {
  margin-bottom: 25px;
}
.mailbox {
  display: grid;
  grid-template-columns: 166px 285px minmax(0, 1fr);
  min-height: 630px;
}
.mail-folders {
  padding: 21px 12px;
  background: #f7fafb;
}
.mail-folders h2 {
  font-size: 15px;
  padding: 0 9px 18px;
}
.mail-folders > p {
  font-size: 10px;
  color: #637c8c;
  padding: 23px 8px 0;
  line-height: 1.8;
}
.mail-folder {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 9px;
  margin-bottom: 4px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #536f81;
  font-size: 11px;
  text-align: left;
}
.mail-folder .icon {
  width: 16px;
  height: 16px;
}
.mail-folder small {
  margin-left: auto;
  font-size: 10px;
}
.mail-folder:hover {
  background: #eaf1f4;
}
.mail-folder.active {
  background: #deefeb;
  color: #086f6b;
  font-weight: 600;
}
.mail-message-list {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-width: 0;
}
.mail-list-tools {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 9px;
}
.mail-list-tools .search-field {
  min-width: 0;
  width: 100%;
}
.mail-list-tools select {
  font-size: 11px;
  min-height: 34px;
  padding: 7px 9px;
}
.mail-list-scroll {
  max-height: 670px;
  overflow-y: auto;
}
.mail-message-item {
  display: block;
  padding: 16px 17px;
  border-bottom: 1px solid #e2eaf0;
  color: #28485b;
}
.mail-message-item:hover {
  text-decoration: none;
  background: #f2f7f8;
}
.mail-message-item.active {
  background: #eaf5f2;
  box-shadow: inset 2px 0 #0b8d80;
}
.mail-message-item > div {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  align-items: baseline;
}
.mail-message-item strong {
  font-size: 11px;
}
.mail-message-item time {
  font-size: 9px;
  color: #697f8e;
  white-space: nowrap;
}
.mail-message-item h3 {
  font-size: 12px;
  line-height: 1.65;
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.mail-message-item p {
  font-size: 11px;
  line-height: 1.6;
  color: #627c8b;
  margin: 6px 0 9px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mail-reader {
  min-width: 0;
  background: white;
}
.mail-reader > header {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.mail-reader h2 {
  font-size: 19px;
  line-height: 1.6;
  margin: 13px 0 16px;
  overflow-wrap: anywhere;
}
.mail-reader dl {
  margin: 0;
  font-size: 11px;
}
.mail-reader dl > div {
  display: flex;
  gap: 13px;
  margin-top: 7px;
}
.mail-reader dt {
  color: var(--muted);
  width: 38px;
  flex: none;
}
.mail-reader dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.mail-reader-body {
  padding: 26px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.95;
  min-height: 260px;
}
.mail-reader > footer {
  padding: 17px 24px;
  border-top: 1px solid var(--line);
}
.mail-compose-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: start;
}
.mail-composer .field:has([name="to"]),
.mail-composer .field:has([name="subject"]) {
  grid-column: 1/-1;
}
.mail-composer textarea[name="body"] {
  min-height: 320px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}
.mail-composer .panel-title p {
  overflow-wrap: anywhere;
}
.head-actions > #mail-compose-stage {
  max-width: 340px;
  font-size: 12px;
}
.editor-section {
  border-bottom: 1px solid var(--line);
}
.editor-section > summary {
  padding: 18px 23px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #2d5366;
  background: #fbfcfd;
}
.editor-section[open] > summary {
  border-bottom: 1px solid #e5edf1;
  background: #f4f9f8;
}
.editor-section > div {
  padding: 23px;
}
.editor-help {
  line-height: 1.8;
  margin-bottom: 19px;
}
.editor-workflow {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.editor-stage-list {
  display: grid;
  gap: 5px;
  position: sticky;
  top: 15px;
  max-height: 75vh;
  overflow-y: auto;
}
.editor-stage-choice {
  padding: 11px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #f5f8fa;
  text-align: left;
  color: #49697c;
}
.editor-stage-choice span {
  display: block;
  font-size: 11px;
  font-weight: 600;
}
.editor-stage-choice small {
  display: block;
  font-size: 10px;
  color: #637d8d;
  margin-top: 4px;
}
.editor-stage-choice:hover {
  background: #eaf3f3;
}
.editor-stage-choice.active {
  background: #e3f2ed;
  border-color: #afd8ca;
  color: #08766d;
}
.editor-stage-list > .btn {
  margin-top: 8px;
}
.editor-stage-content {
  min-width: 0;
}
.editor-field {
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-top: 10px;
  overflow: hidden;
}
.editor-field > summary {
  padding: 12px 15px;
  background: #f7fafb;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.editor-field > summary > span {
  font-size: 10px;
  font-weight: 400;
  margin-left: 8px;
}
.editor-field > div {
  padding: 18px;
}
.editor-field .check-row {
  font-weight: 500;
}
.editor-market {
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.editor-market:first-child {
  padding-top: 0;
}
.editor-dictionary input {
  width: 100%;
  min-width: 140px;
  border: 1px solid #cbd8e0;
  border-radius: 6px;
  padding: 9px 10px;
  font-size: 12px;
  color: #233e51;
  background: white;
}
.editor-dictionary th,
.editor-dictionary td {
  padding: 10px;
}
.editor-save {
  position: sticky;
  bottom: 0;
  z-index: 5;
  background: #f6faf9;
  box-shadow: 0 -5px 15px #183b5109;
}
.credit-original {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 18px;
  background: #fbfcfd;
}
.credit-original .terms-list {
  padding: 14px 0;
  background: transparent;
  margin: 0;
}
.credit-raw {
  font-family: Consolas, monospace;
  font-size: 12px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 18px;
  background: #fff;
  border: 1px solid #d9e4e9;
  border-radius: 5px;
}
.credit-original .table {
  background: white;
}
.credit-original .table td {
  white-space: normal;
  min-width: 60px;
}
.workflow-entry + .workflow-entry {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.workflow-history {
  list-style: none;
  margin: 15px 0 0;
  padding: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.workflow-history li {
  padding: 10px 13px;
  background: #edf6f2;
  border-radius: 6px;
  font-size: 11px;
}
.workflow-history time {
  display: block;
  font-size: 10px;
  color: #547264;
  margin-top: 4px;
}
.workflow-entry .section-head {
  margin-bottom: 9px;
}
.preview-product {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 23px;
}
.preview-product > img {
  width: 150px;
  height: 135px;
  object-fit: contain;
  background: #f3f7f7;
  border-radius: 8px;
}
.preview-product > div {
  min-width: 0;
  flex: 1;
}
.readonly-preview input:disabled,
.readonly-preview textarea:disabled,
.readonly-preview select:disabled {
  background: #f7f9fa;
  color: #5b7384;
}
@media (max-width: 1250px) {
  .mailbox {
    grid-template-columns: 145px 260px minmax(0, 1fr);
  }
  .mail-reader > header,
  .mail-reader-body {
    padding: 20px;
  }
  .mail-compose-layout {
    grid-template-columns: 1fr;
  }
  .editor-workflow {
    grid-template-columns: 200px minmax(0, 1fr);
  }
}
@media (max-width: 1000px) {
  .mailbox {
    grid-template-columns: 270px minmax(0, 1fr);
  }
  .mail-folders {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px;
  }
  .mail-folders h2,
  .mail-folders > p {
    display: none;
  }
  .mail-folder {
    margin: 0;
    min-width: 0;
    width: auto;
    flex: 1;
    white-space: nowrap;
  }
  .mail-folder small {
    margin-left: 4px;
  }
  .mail-message-list {
    border-left: 0;
  }
  .editor-workflow {
    grid-template-columns: 1fr;
  }
  .editor-stage-list {
    position: static;
    display: flex;
    overflow-x: auto;
    max-height: none;
    padding-bottom: 8px;
  }
  .editor-stage-choice {
    min-width: 170px;
    max-width: 220px;
    flex: none;
  }
  .editor-stage-list > .btn {
    margin: 0;
    flex: none;
  }
  .editor-stage-list small {
    white-space: nowrap;
  }
}
@media (max-width: 720px) {
  .packing-dialog {
    width: calc(100vw - 20px);
    max-height: 94vh;
  }
  .packing-dialog-head {
    padding: 17px;
  }
  .packing-dialog-head h2 {
    font-size: 17px;
  }
  .packing-dialog-head p {
    font-size: 10px;
  }
  .mailbox {
    display: block;
  }
  .mail-folders {
    overflow-x: auto;
  }
  .mail-folder {
    font-size: 10px;
    gap: 5px;
    padding: 8px 6px;
  }
  .mail-folder .icon {
    display: none;
  }
  .mail-list-tools {
    display: flex;
    padding: 12px;
  }
  .mail-list-tools .search-field {
    flex: 1;
  }
  .mail-list-tools select {
    max-width: 130px;
  }
  .mail-list-scroll {
    max-height: 255px;
    border-bottom: 1px solid #c4d8e0;
  }
  .mail-message-list {
    border: 0;
  }
  .mail-message-item {
    padding: 12px 16px;
  }
  .mail-message-item p {
    display: none;
  }
  .mail-message-item > span {
    float: right;
    margin-top: -23px;
  }
  .mail-message-item h3 {
    max-width: 75%;
    font-size: 11px;
  }
  .mail-reader > header {
    padding: 20px 17px;
  }
  .mail-reader h2 {
    font-size: 17px;
  }
  .mail-reader-body {
    padding: 21px 17px;
    font-size: 14px;
  }
  .mail-reader > footer {
    padding: 16px;
  }
  .head-actions > #mail-compose-stage {
    max-width: 100%;
    width: 100%;
  }
  .mail-composer textarea[name="body"] {
    min-height: 260px;
  }
  .editor-section > summary {
    padding: 15px 17px;
    font-size: 13px;
  }
  .editor-section > div {
    padding: 17px;
  }
  .editor-field > div {
    padding: 14px;
  }
  .editor-field > summary > span {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }
  .editor-save {
    padding: 14px;
    align-items: stretch;
  }
  .editor-save .button-row {
    width: 100%;
  }
  .editor-save .btn {
    flex: 1;
  }
  .credit-original {
    padding: 13px;
  }
  .credit-original .terms-list {
    grid-template-columns: 1fr;
  }
  .credit-raw {
    padding: 13px;
    font-size: 11px;
  }
  .preview-product {
    padding: 18px;
    align-items: flex-start;
    gap: 12px;
  }
  .preview-product > img {
    width: 90px;
    height: 100px;
  }
  .workflow-history {
    gap: 8px;
  }
  .workflow-history li {
    flex: 1;
    min-width: 130px;
  }
}
