.profile-wide {
  width: 100%;
  margin-top: 12px;
}
.agreement {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 12px;
}
.agreement input,
.field input[type="checkbox"],
.worker-choice input[type="radio"] {
  width: auto;
  flex: 0 0 auto;
}
.worker-choice {
  display: flex;
  align-items: center;
  gap: 10px;
}
.worker-choice b,
.worker-choice small {
  flex: 1;
}
.detail-card > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.quick-grid .secondary {
  min-height: 54px;
}
@media (max-width: 360px) {
  .quick-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    gap: 5px;
    padding-inline: 10px;
  }
}
.role-head {
  padding: 34px 24px 62px;
  color: #fff;
  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(153, 113, 226, 0.35),
      transparent 34%
    ),
    linear-gradient(145deg, #100b1d, #382757);
}
.role-head h1 {
  margin: 14px 0 7px;
  font-size: 27px;
}
.role-head p {
  margin: 0;
  color: #a196ac;
  font-size: 12px;
}
.identity-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.identity-row > div:nth-child(2) {
  flex: 1;
}
.identity-row h1 {
  margin: 0;
  font-size: 20px;
}
.identity-row h1 small {
  padding: 4px 7px;
  color: #baa4ef;
  background: rgba(169, 139, 234, 0.14);
  border-radius: 999px;
  font-size: 10px;
}
.role-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #1b1328;
  background: linear-gradient(145deg, #d1c2fb, #8f74db);
  border-radius: 17px;
  font-size: 20px;
  font-weight: 900;
}
.duty-pill {
  border: 0;
  padding: 9px 12px;
  color: #cbbaff;
  background: rgba(169, 139, 234, 0.15);
  border-radius: 999px;
}
.level-line {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a99cb7;
  font-size: 10px;
}
.level-line i {
  height: 4px;
  flex: 1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}
.level-line i b {
  display: block;
  width: 68%;
  height: 100%;
  background: #a98bea;
}
.role-stats {
  margin-top: -28px;
}
.role-stats.four {
  grid-template-columns: repeat(4, 1fr);
}
.inline-stats {
  margin: 14px 0 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
}
.lift {
  margin-top: -46px;
  position: relative;
  z-index: 2;
}
.duty-card {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  color: var(--ink);
  text-align: left;
}
.duty-card b,
.duty-card small {
  display: block;
}
.duty-card small {
  margin-top: 5px;
  color: var(--muted);
}
.duty-card i {
  color: #7b55a6;
  font-size: 26px;
}
.command-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 10px;
}
.command-grid button {
  width: 100%;
  border: 0;
  color: #fff;
  text-align: left;
}
.command-main {
  min-height: 190px;
  padding: 20px;
  position: relative;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(201, 180, 255, 0.22),
      transparent 28%
    ),
    linear-gradient(145deg, #30214d, #5f478e);
  border-radius: 18px;
}
.command-main small,
.command-main b,
.command-main span,
.command-main label,
.command-mini b,
.command-mini span {
  display: block;
}
.command-main small {
  color: #a99abc;
  letter-spacing: 2px;
}
.command-main b {
  margin-top: 32px;
  font-size: 21px;
}
.command-main span {
  margin-top: 8px;
  color: #c0b3cd;
  font-size: 11px;
}
.command-main label {
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: #d5c5ff;
  font-size: 11px;
}
.command-grid > div {
  display: grid;
  gap: 10px;
}
.command-mini {
  padding: 16px;
  background: #211830;
  border-radius: 16px;
}
.command-mini b {
  font-size: 15px;
}
.command-mini span {
  margin-top: 7px;
  color: #8f829c;
  font-size: 10px;
}
.revenue-card {
  margin-bottom: 14px;
  padding: 22px;
  color: white;
  background: linear-gradient(145deg, #30214d, #5f478e);
  border-radius: 20px;
}
.revenue-card span,
.revenue-card b,
.revenue-card small,
.role-revenue small,
.role-revenue b {
  display: block;
}
.revenue-card b {
  margin: 8px 0;
  font-size: 30px;
}
.role-revenue {
  margin-top: 22px;
}
.role-revenue small {
  color: #9f92aa;
}
.role-revenue b {
  margin-top: 6px;
  font-size: 32px;
}
.control-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10px;
}
.control {
  min-height: 92px;
  padding: 16px;
  border: 0;
  border-radius: 17px;
  color: white;
  background: linear-gradient(135deg, #26374e, #4c6587);
  text-align: left;
}
.control b,
.control span {
  display: block;
}
.control span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}
.main-control {
  grid-row: span 2;
  min-height: 194px;
  align-content: end;
  background: linear-gradient(135deg, #30204c, #654d97);
}
.control:nth-child(3) {
  background: linear-gradient(135deg, #48265c, #80519a);
}
.control.wide {
  grid-column: 1/-1;
  min-height: 72px;
  background: linear-gradient(135deg, #4b3528, #806344);
}
.p-home {
  min-height: 100vh;
  padding: 22px 18px 40px;
  color: #fff;
  background:
    radial-gradient(
      circle at 90% 4%,
      rgba(112, 83, 190, 0.26),
      transparent 27%
    ),
    #0b0817;
}
.p-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2px 2px 18px;
}
.p-brand small,
.p-brand b {
  display: block;
}
.p-brand small {
  color: #766d88;
  font-size: 9px;
  letter-spacing: 3px;
}
.p-brand b {
  margin-top: 4px;
  font-size: 19px;
}
.p-brand button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: #171126;
  background: linear-gradient(145deg, #d8cbff, #8c72d8);
  font-weight: 900;
}
.mission-hero {
  min-height: 270px;
  padding: 28px 24px;
  border: 1px solid rgba(190, 168, 255, 0.2);
  border-radius: 24px;
  background: linear-gradient(135deg, #090610, #2b1843);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
}
.mission-hero > small {
  color: #998bb7;
  letter-spacing: 2px;
}
.mission-hero h1 {
  margin: 28px 0 8px;
  font-size: 38px;
}
.mission-hero h1 span {
  color: #a98bea;
}
.mission-hero p {
  width: 78%;
  color: #a69daf;
  font-size: 13px;
  line-height: 1.7;
}
.mission-hero div {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.mission-hero button {
  padding: 10px 14px;
  border: 1px solid rgba(207, 196, 232, 0.34);
  border-radius: 999px;
  color: #cfc4e8;
  background: rgba(12, 8, 20, 0.34);
  font-size: 12px;
  font-weight: 800;
}
.mission-hero button:first-child {
  border: 0;
  color: #171126;
  background: linear-gradient(135deg, #d1c2ff, #a98bea);
}
.p-shortcuts {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 9px;
  margin-top: 12px;
}
.p-shortcuts button {
  padding: 15px;
  border: 1px solid rgba(184, 164, 236, 0.12);
  border-radius: 14px;
  color: #fff;
  background: #14101f;
  text-align: left;
}
.p-shortcuts b,
.p-shortcuts span {
  display: block;
}
.p-shortcuts span {
  margin-top: 5px;
  color: #7f758f;
  font-size: 10px;
}
.p-home .section-head h2 {
  color: #fff;
}
.p-home .section-head p {
  color: #766d88;
  letter-spacing: 2px;
}
.mission-layout {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 9px;
}
.mission-layout button {
  width: 100%;
  position: relative;
  padding: 15px;
  border: 1px solid rgba(188, 166, 246, 0.16);
  border-radius: 17px;
  color: #fff;
  background: #151020;
  text-align: left;
}
.mission-layout > div {
  display: grid;
  gap: 9px;
}
.mission-layout small,
.mission-layout b,
.mission-layout span,
.mission-layout label {
  display: block;
}
.mission-layout small {
  color: #6f637e;
  font-size: 8px;
  letter-spacing: 1px;
}
.mission-layout b {
  margin-top: 15px;
  font-size: 17px;
}
.mission-layout span {
  margin-top: 4px;
  color: #786d84;
  font-size: 10px;
}
.mission-primary {
  min-height: 200px;
  background: linear-gradient(150deg, #2b2145, #151020) !important;
}
.mission-primary i {
  width: 48px;
  height: 48px;
  margin-top: 24px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #1a1228;
  background: linear-gradient(145deg, #d3c5ff, #9075d9);
  font-style: normal;
  font-weight: 900;
}
.mission-primary label {
  position: absolute;
  left: 15px;
  bottom: 15px;
  color: #b8a2eb;
  font-size: 10px;
}
.p-home .feature-card {
  color: var(--ink);
  background: #fff;
}
.age-note {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  padding: 14px;
  color: #7f758d;
  background: #110d1b;
  border-radius: 13px;
  font-size: 11px;
}
.age-note b {
  color: #ffad83;
}
.catalog-banner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 28px 20px;
  color: #fff;
  background: #171026;
}
.catalog-banner small {
  color: #8c7ca4;
  font-size: 9px;
  letter-spacing: 2px;
}
.catalog-banner h1 {
  margin: 8px 0 5px;
  font-size: 25px;
}
.catalog-banner p {
  margin: 0;
  color: #9a8ea8;
  font-size: 11px;
}
.catalog-banner > b {
  color: #bea6f2;
  font-size: 32px;
  text-align: right;
}
.catalog-banner > b small {
  display: block;
}
.mission-cards {
  padding: 14px 18px;
}
.mission-card {
  display: grid;
  grid-template-columns: 38% 62%;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(38, 27, 47, 0.06);
}
.mission-visual {
  min-height: 170px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: linear-gradient(145deg, #2d2147, #7252a3);
}
.mission-visual small {
  color: #ad9bc2;
  letter-spacing: 2px;
}
.mission-visual label {
  align-self: flex-start;
  margin-top: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 9px;
}
.mission-visual b {
  margin-top: auto;
  font-size: 24px;
}
.mission-visual span {
  margin-top: 4px;
  color: #cdbde0;
  font-size: 10px;
}
.mission-copy {
  padding: 16px;
  min-width: 0;
}
.mission-copy > small {
  color: var(--muted);
}
.mission-copy h2 {
  margin: 16px 0 6px;
  font-size: 17px;
}
.mission-copy p {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.mission-copy > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}
.mission-copy > div b {
  color: #563872;
  font-size: 20px;
}
.mission-copy > div i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #714f94;
  border-radius: 50%;
  font-style: normal;
}
.timeline-web {
  margin: 0 18px 14px;
  padding: 16px 8px;
  display: flex;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.timeline-web > div {
  min-width: 70px;
  flex: 1;
  position: relative;
  text-align: center;
  color: #aaa2ae;
}
.timeline-web > div:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 2px;
  right: -17px;
  top: 12px;
  background: #e5dfeb;
}
.timeline-web b {
  width: 25px;
  height: 25px;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #c8c0cf;
  font-size: 10px;
}
.timeline-web span {
  display: block;
  margin-top: 7px;
  font-size: 9px;
  white-space: nowrap;
}
.timeline-web .done {
  color: #67478a;
}
.timeline-web .done b,
.timeline-web .done::after {
  background: #8d6bb3 !important;
}
