/* Mes Lignes — dedicated responsive administration workspace. */
.is-admin {
  background: #f6f5f3;
}
.is-admin .sidebar,
.is-admin .footer,
.is-admin .mobile-nav {
  display: none;
}
.is-admin .shell {
  display: block;
  min-height: calc(100svh - 84px);
}
.is-admin main {
  padding: 0;
  max-width: none;
  margin: 0;
}
.is-admin .topbar {
  height: 76px;
  border-bottom: 1px solid #e8e5e2;
  padding: 0 29px;
  position: sticky;
  background: #fff;
  gap: 28px;
}
.is-admin .topbar nav {
  display: none;
}
.is-admin .topbar .brand {
  font-size: 24px;
}
.is-admin .topbar .management {
  margin-left: auto;
  background: #fff2f3;
  color: #b0263b;
  border-color: #f0d1d7;
  font-size: 11px;
}
.is-admin .topbar .account-shortcut {
  display: none;
}
.control-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: calc(100svh - 76px);
}
.control-rail {
  padding: 30px 18px;
  background: #fff;
  border-right: 1px solid #e9e5e1;
  position: sticky;
  top: 76px;
  height: calc(100svh - 76px);
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.control-rail-label {
  display: flex;
  gap: 11px;
  align-items: center;
  margin: 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.control-rail-label small {
  display: block;
  font-size: 8px;
  color: #a39c98;
  letter-spacing: 1.6px;
  margin-top: 6px;
  font-weight: 650;
}
.control-brand-mark {
  display: grid;
  place-items: center;
  background: #faeeef;
  border: 1px solid #f3dce0;
  color: #be2940;
  border-radius: 12px;
  width: 39px;
  height: 39px;
}
.control-brand-mark .icon {
  width: 21px;
  height: 21px;
}
.control-nav {
  display: grid;
  gap: 7px;
}
.control-nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 49px;
  border-radius: 12px;
  padding: 13px 14px;
  text-align: left;
  color: #7d7673;
  font-size: 12px;
  font-weight: 550;
  transition:
    background 0.2s,
    color 0.2s;
}
.control-nav button .icon {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}
.control-nav button.active {
  background: #c52941;
  color: white;
  box-shadow: 0 5px 14px #c5294120;
  font-weight: 650;
}
.control-nav button:hover:not(.active) {
  background: #f7f4f2;
  color: #332b29;
}
.control-nav b {
  font-size: 10px;
  font-weight: 700;
  background: #ffffff25;
  padding: 3px 6px;
  border-radius: 6px;
  margin-left: auto;
}
.control-nav button:not(.active) b {
  background: #fff0e6;
  color: #a36130;
}
.control-rail-bottom {
  margin-top: auto;
  padding: 18px 9px 0;
  border-top: 1px solid #eee9e5;
  color: #77716b;
  font-size: 11px;
  line-height: 1.7;
}
.control-rail-bottom small {
  display: block;
  font-size: 10px;
  color: #9a918b;
  overflow-wrap: anywhere;
  margin: 5px 0 20px;
}
.control-rail-bottom a {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: #665d57;
}
.control-rail-bottom a .icon {
  width: 15px;
  height: 15px;
  transform: rotate(180deg);
}
.control-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #3d8a65;
  border-radius: 50%;
  margin-right: 5px;
}
.control-content {
  padding: 25px 39px 36px;
  min-width: 0;
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
}
.control-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 31px;
  min-height: 35px;
}
.control-topline > span {
  font-size: 9px;
  color: #9b938c;
  letter-spacing: 1px;
  font-weight: 650;
}
.control-topline i {
  font-style: normal;
  margin: 0 9px;
  color: #c4bdb7;
}
.control-topline > div {
  display: flex;
  align-items: center;
  gap: 18px;
}
.control-topline .btn {
  background: #fff;
  border-color: #e9e3df;
  color: #746b65;
  min-height: 37px;
  font-size: 10px;
  padding: 9px 12px;
}
.control-back {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: #7e756f;
}
.control-back .icon {
  width: 13px;
  height: 13px;
}
.control-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 27px;
}
.control-kicker {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.35px;
  color: #a29891;
  margin-bottom: 9px;
  line-height: 1.6;
}
.control-heading .control-kicker {
  color: #a32439;
  font-size: 9px;
  margin-bottom: 10px;
}
.control-heading h1 {
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.16;
  letter-spacing: -1.5px;
  margin: 0;
  color: #302927;
  font-weight: 700;
}
.control-heading p {
  font-size: 12px;
  color: #91857c;
  line-height: 1.8;
  margin: 11px 0 0;
}
.control-heading > .btn {
  flex-shrink: 0;
  min-height: 44px;
  font-size: 11px;
  box-shadow: 0 5px 12px #c5294115;
}
.is-admin .btn {
  border-color: #e8e0d9;
  border-radius: 11px;
  font-size: 11px;
  min-height: 44px;
  padding: 11px 14px;
  line-height: 1.5;
  color: #6d5c51;
  background: #fff;
}
.is-admin .btn:hover {
  background: #faf6f2;
  border-color: #cfbfb1;
}
.is-admin .btn.primary {
  color: #fff;
  background: #c52941;
  border-color: #c52941;
  box-shadow: 0 5px 12px #c5294114;
}
.is-admin .btn.primary:hover {
  background: #a91c32;
  border-color: #a91c32;
}
.is-admin .btn.danger {
  color: #b12b40;
  background: #fff9f9;
  border-color: #eed9dd;
}
.is-admin .btn.small {
  min-height: 36px;
  font-size: 10px;
  padding: 8px 11px;
}
.is-admin .btn.link {
  background: transparent;
  border: 0;
  color: #aa253b;
}
.is-admin .btn:disabled {
  opacity: 0.45;
}
.is-admin .btn .icon {
  width: 15px;
  height: 15px;
}
.is-admin .btn:focus-visible,
.control-nav button:focus-visible,
.control-variant-strip button:focus-visible,
.control-metrics button:focus-visible,
.control-filter-chips button:focus-visible {
  outline: 3px solid #c5294177;
  outline-offset: 4px;
}
.control-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 34px;
  background: linear-gradient(115deg, #9f1831, #cb2c43 68%, #d74356);
  border: 1px solid #aa2037;
  color: #fff;
  border-radius: 21px;
  box-shadow: 0 10px 25px #a7213010;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  min-height: 245px;
}
.control-welcome-label {
  display: block;
  font-size: 8px;
  letter-spacing: 1.7px;
  color: #ffb9c5;
  font-weight: 650;
  margin-bottom: 18px;
}
.control-welcome h2 {
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -1px;
  font-weight: 650;
  margin: 0 0 13px;
}
.control-welcome p {
  font-size: 12px;
  line-height: 1.9;
  color: #ffd6df;
  max-width: 390px;
  margin: 0 0 20px;
}
.is-admin .control-light-button {
  background: #fff;
  color: #a91e35;
  border-color: #fff;
  box-shadow: none;
  min-height: 39px;
  font-size: 10px;
  padding: 10px 14px;
}
.control-welcome-art {
  width: 210px;
  height: 200px;
  position: relative;
  margin-right: 18px;
  flex-shrink: 0;
}
.control-art-stop {
  position: absolute;
  left: 10px;
  top: 18px;
  border: 1px solid #ffffff44;
  background: #ffffff13;
  border-radius: 17px;
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 12px 25px #79132410;
}
.control-art-stop.last {
  left: auto;
  right: 8px;
  top: auto;
  bottom: 23px;
  background: #fff;
  color: #a51e35;
  border-radius: 50%;
  width: 49px;
  height: 49px;
}
.control-art-stop.last .icon {
  width: 23px;
  height: 23px;
}
.control-welcome-art > div {
  position: absolute;
  left: 39px;
  right: 32px;
  top: 71px;
  bottom: 47px;
  border-left: 2px dashed #ffffff85;
  border-bottom: 2px dashed #ffffff85;
  border-radius: 0 0 0 28px;
}
.control-welcome-art small {
  position: absolute;
  top: 29px;
  left: 88px;
  font-size: 8px;
  line-height: 1.8;
  letter-spacing: 1.3px;
  color: #ffc1cd;
}
.control-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 25px;
}
.control-metrics > button {
  display: grid;
  text-align: left;
  background: #fff;
  border: 1px solid #e9e3dd;
  border-radius: 15px;
  padding: 17px 18px;
  gap: 12px;
  box-shadow: 0 2px 4px #6e543703;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.control-metrics > button:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 22px #6e54370b;
}
.control-metrics > button > span {
  font-size: 10px;
  color: #9d8d80;
  display: flex;
  gap: 7px;
  align-items: center;
}
.control-metrics .icon {
  width: 15px;
  height: 15px;
  color: #af8973;
}
.control-metrics strong {
  font-size: 31px;
  line-height: 1;
  letter-spacing: -1px;
  color: #362d28;
  font-weight: 650;
}
.control-metrics small {
  font-size: 9px;
  color: #a99c90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  line-height: 1.6;
}
.control-metrics small .icon {
  width: 13px;
  height: 13px;
}
.control-metrics > button:nth-child(2) {
  border-top: 2px solid #d69a53;
}
.control-metrics > button:nth-child(3) {
  border-top: 2px solid #bba596;
}
.control-metrics > button:nth-child(4) {
  border-top: 2px solid #b2a4bf;
}
.control-home-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
}
.control-surface {
  background: #fff;
  border: 1px solid #e9e3dd;
  border-radius: 17px;
  padding: 23px;
  min-width: 0;
  box-shadow: 0 3px 7px #6e543702;
}
.control-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.control-section-title h2 {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -0.5px;
  margin: 0;
  color: #44372e;
}
.control-section-title .control-kicker {
  font-size: 8px;
  color: #b2a294;
  margin-bottom: 7px;
}
.control-counter {
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  background: #f6f1eb;
  border: 1px solid #eee5dc;
  border-radius: 9px;
  font-size: 10px;
  color: #9b7a61;
  font-weight: 650;
  flex-shrink: 0;
}
.control-task {
  display: flex;
  gap: 11px;
  align-items: center;
  border-top: 1px solid #f2ece5;
  padding: 16px 0;
}
.control-task > div {
  flex: 1;
  min-width: 0;
}
.control-task strong {
  display: block;
  font-size: 12px;
  font-weight: 650;
  color: #57412f;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.control-task small {
  display: block;
  font-size: 10px;
  color: #aa9480;
  line-height: 1.7;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.control-route-number {
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 750;
  background: #fff1ef;
  color: #ba3f3e;
  border: 1px solid #f2dfd6;
  border-radius: 10px;
  padding: 0 7px;
  letter-spacing: -0.4px;
  flex-shrink: 0;
}
.control-inline-empty {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f7faf5;
  border: 1px solid #e7efdf;
  padding: 18px;
  border-radius: 12px;
}
.control-inline-empty > .icon {
  color: #7b9e65;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex-shrink: 0;
}
.control-inline-empty p {
  font-size: 11px;
  color: #53644b;
  line-height: 1.9;
  margin: 0;
}
.control-journal-mini {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 0;
  border-top: 1px solid #f2ece5;
}
.control-journal-mini > span {
  width: 29px;
  height: 29px;
  background: #f7f3ee;
  color: #b9a087;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
}
.control-journal-mini .icon {
  width: 14px;
  height: 14px;
}
.control-journal-mini strong {
  font-size: 11px;
  font-weight: 550;
  line-height: 1.7;
  color: #8c735c;
  display: block;
  overflow-wrap: anywhere;
}
.control-journal-mini small {
  font-size: 9px;
  color: #c0ab95;
  display: block;
  line-height: 1.6;
  margin-top: 4px;
}
.is-admin .control-text-button {
  border: 0;
  background: transparent;
  color: #ad573e;
  box-shadow: none;
  padding: 10px 0;
  font-size: 10px;
  min-height: 35px;
}
.control-draft-shelf {
  margin-top: 20px;
}
.control-bottom-note {
  font-size: 9px;
  color: #b4a28e;
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 30px;
  line-height: 1.7;
}
.control-bottom-note .icon {
  width: 13px;
  height: 13px;
  color: #baa98f;
}
.control-list-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
  font-size: 11px;
  color: #a18b75;
}
.control-list-heading b {
  color: #745132;
  font-size: 13px;
  font-weight: 650;
}
.control-filter-bar {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 21px;
}
.control-filter-bar > .search {
  flex: 1;
  min-width: 0;
}
.is-admin .search input {
  border-color: #e7ddd1;
  background: #fff;
  border-radius: 12px;
  font-size: 12px;
  min-height: 49px;
  padding: 14px 16px 14px 42px;
  color: #5d3d24;
  box-shadow: none;
}
.is-admin .search input::placeholder {
  color: #6b5849;
}
.is-admin .search .icon {
  color: #c3a382;
  width: 16px;
  height: 16px;
  top: 17px;
  left: 15px;
}
.control-filter-chips {
  display: flex;
  gap: 5px;
  background: #eee8df;
  padding: 5px;
  border-radius: 11px;
  overflow: auto;
}
.control-filter-chips button {
  min-height: 38px;
  white-space: nowrap;
  font-size: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #aa8764;
}
.control-filter-chips button.active {
  background: #fff;
  color: #8c5127;
  box-shadow: 0 2px 4px #8d643312;
  font-weight: 650;
}
.control-line-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 18px;
}
.control-line-card {
  padding: 23px;
  background: #fff;
  border: 1px solid #e9dfd2;
  border-radius: 18px;
  box-shadow: 0 3px 8px #79522203;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.control-line-card:hover {
  border-color: #ceab8a;
  transform: translateY(-2px);
}
.control-line-top {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 24px;
}
.control-line-top .line-number {
  width: auto;
  min-width: 47px;
  height: 47px;
  background: #c52941;
  color: #fff;
  border: 0;
  font-size: 22px;
}
.control-line-top .control-kicker {
  font-size: 8px;
  margin-bottom: 5px;
  color: #ba9068;
}
.control-line-top > div > strong {
  font-size: 11px;
  color: #986638;
  font-weight: 550;
}
.control-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-left: auto;
  background: #c9b299;
  flex-shrink: 0;
}
.control-dot.success {
  background: #85a867;
}
.control-dot.warning {
  background: #d79b43;
}
.control-dot.muted {
  background: #c4b19c;
}
.control-journey {
  display: grid;
  gap: 15px;
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 22px;
}
.control-journey:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  bottom: 9px;
  border-left: 1px solid #dfc5a9;
}
.control-journey strong,
.control-journey > span {
  position: relative;
  color: #9b612e;
  font-weight: 550;
}
.control-journey strong:before,
.control-journey > span:before {
  content: '';
  position: absolute;
  left: -20px;
  top: 7px;
  border: 2px solid #d6ae84;
  background: #fff;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.control-journey > span {
  color: #b3845b;
}
.control-journey > span:before {
  background: #c28a56;
  border-color: #c28a56;
}
.control-tab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 15px;
  min-height: 25px;
}
.control-tab-tags > span {
  font-size: 9px;
  border-radius: 7px;
  padding: 6px 9px;
  background: #f8f1e8;
  color: #ba8c5f;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #f0e2cf;
}
.control-tab-tags > span.deviated {
  background: #fff0d9;
  color: #b8862f;
  border-color: #f4dfad;
}
.control-tab-tags > span.missing {
  background: #f5f2ed;
  color: #c1a98b;
  border-style: dashed;
}
.control-tab-tags .icon {
  width: 12px;
  height: 12px;
}
.control-card-note {
  font-size: 10px;
  color: #c7a57e;
  line-height: 1.7;
  margin-bottom: 19px;
}
.control-card-actions {
  display: flex;
  gap: 8px;
  padding-top: 17px;
  border-top: 1px solid #f0e3d2;
}
.control-card-actions > .btn {
  flex: 1;
  font-size: 10px;
}
.control-result-count {
  font-size: 10px;
  color: #c09a70;
  margin-top: 19px;
}
.control-empty {
  padding: 35px 22px;
  text-align: center;
  background: #fcfaf7;
  border: 1px dashed #e2cdb2;
  border-radius: 15px;
  grid-column: 1/-1;
}
.control-empty > .icon {
  width: 32px;
  height: 32px;
  color: #d4ad7d;
  margin-bottom: 10px;
}
.control-empty h3 {
  font-size: 18px;
  color: #b37c40;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.5;
  margin: 8px 0;
}
.control-empty p {
  font-size: 12px;
  color: #c39d70;
  line-height: 1.9;
  margin: 10px auto 19px;
  max-width: 400px;
}
.control-empty .btn {
  margin-top: 4px;
}
.control-explainer {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  background: #f0f4ef;
  border: 1px solid #e0e8d9;
  border-radius: 14px;
  margin-bottom: 22px;
}
.control-explainer > .icon {
  width: 21px;
  height: 21px;
  color: #8f9d6e;
  flex-shrink: 0;
  margin-top: 1px;
}
.control-explainer strong {
  font-size: 12px;
  color: #7d8a60;
  line-height: 1.6;
}
.control-explainer p {
  font-size: 11px;
  color: #a0aa83;
  line-height: 1.9;
  margin: 5px 0 0;
}
.control-explainer.warning {
  background: #fff8ea;
  border-color: #f0e2c4;
}
.control-explainer.warning strong {
  color: #b2944c;
}
.control-explainer.warning p,
.control-explainer.warning > .icon {
  color: #c6b177;
}
.control-route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}
.control-route-heading {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 19px;
}
.control-route-heading > div {
  min-width: 0;
}
.control-route-heading h2 {
  font-size: 18px;
  color: #b08146;
  font-weight: 650;
  letter-spacing: -0.4px;
  margin: 0 0 5px;
}
.control-route-heading small {
  font-size: 10px;
  color: #c2a47e;
  line-height: 1.7;
  display: block;
}
.control-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 7px;
  padding: 6px 8px;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 550;
  background: #f6f0e7;
  color: #c2a57d;
}
.control-status:before {
  content: '';
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
}
.control-status.success {
  background: #eff5e9;
  color: #91a765;
}
.control-status.warning {
  background: #fff2da;
  color: #c5a047;
}
.control-status.muted {
  background: #f6f1e9;
  color: #c8ad86;
}
.control-muted {
  font-size: 11px;
  line-height: 1.9;
  color: #c0a174;
  display: block;
}
.control-detour-content {
  margin: 18px 0;
  min-height: 60px;
}
.control-reference {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 10px;
  border: 1px solid #f1dfbe;
  background: #fffbf3;
  border-radius: 11px;
  padding: 12px;
  margin: 8px 0;
}
.control-reference strong {
  font-size: 11px;
  color: #bf9b53;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.control-reference > span {
  font-size: 11px;
  color: #cab079;
  line-height: 1.7;
  grid-column: 1;
  overflow-wrap: anywhere;
}
.control-reference .btn {
  grid-row: 1/3;
  grid-column: 2;
  align-self: center;
}
.control-stack-actions {
  display: grid;
  gap: 8px;
  border-top: 1px solid #f1e5d2;
  padding-top: 16px;
}
.control-stack-actions > .btn {
  font-size: 11px;
}
.control-breadcrumb-button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 0 20px;
  font-size: 11px;
  color: #bc9b6b;
}
.control-breadcrumb-button .icon {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}
.control-workspace-title {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 26px;
}
.control-workspace-title > .line-number {
  min-width: 58px;
  height: 58px;
  font-size: 27px;
}
.control-workspace-title > div {
  flex: 1;
  min-width: 0;
}
.control-workspace-title h2 {
  font-size: 23px;
  color: #af803f;
  letter-spacing: -0.7px;
  line-height: 1.4;
  margin: 0 0 6px;
}
.control-workspace-title p {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #c7a975;
  margin: 0;
  line-height: 1.7;
}
.control-workspace-title p .icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.control-variant-strip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px;
  background: #eee9dc;
  border: 1px solid #e6dfce;
  border-radius: 13px;
  margin-bottom: 23px;
  flex-wrap: wrap;
}
.control-variant-strip > button {
  padding: 12px 17px;
  border-radius: 9px;
  min-height: 43px;
  font-size: 12px;
  color: #b39a65;
  display: flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
}
.control-variant-strip > button.active {
  background: #594e33;
  color: #fff;
  box-shadow: 0 3px 6px #594e3315;
}
.control-variant-strip > button > span {
  background: #ffffff25;
  border-radius: 5px;
  padding: 2px 5px;
  font-size: 9px;
}
.is-admin .control-add-tab {
  margin-left: auto;
  background: transparent;
  border: 1px dashed #ccbb8b;
  color: #b19b68;
  font-size: 10px;
  min-height: 38px;
  padding: 10px 12px;
}
.control-workspace-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 21px;
  align-items: start;
}
.control-workspace-aside {
  display: grid;
  gap: 18px;
}
.control-current .control-section-title {
  align-items: flex-start;
  border-bottom: 1px solid #f1ead6;
  padding-bottom: 18px;
}
.control-current .control-section-title h2 {
  font-size: 24px;
  color: #a89457;
}
.control-current .control-kicker {
  color: #c7b985;
  font-size: 8px;
}
.control-schedule {
  display: flex;
  gap: 9px;
  background: #f9f7ef;
  border: 1px solid #f0ead3;
  border-radius: 11px;
  padding: 13px;
  margin-bottom: 20px;
  font-size: 11px;
  line-height: 1.8;
  color: #c4b279;
}
.control-schedule > .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.control-schedule p {
  margin: 4px 0;
}
.control-schedule small {
  display: block;
  color: #d1c393;
  font-size: 10px;
  margin-top: 5px;
}
.control-active-label {
  font-size: 11px;
  font-weight: 650;
  color: #c9b774;
  margin: 5px 0 15px;
}
.control-active-detour {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 17px;
  background: #fffbec;
  border: 1px solid #f1e6bb;
  border-radius: 13px;
  margin: 12px 0;
}
.control-detour-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #f9f0d2;
  color: #ccb86e;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.control-detour-icon .icon {
  width: 17px;
  height: 17px;
}
.control-active-detour > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.control-active-detour strong {
  display: block;
  font-size: 13px;
  color: #c4af61;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.control-active-detour small {
  display: block;
  font-size: 10px;
  line-height: 1.7;
  color: #d0bf7d;
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.control-active-detour p {
  font-size: 10px;
  line-height: 1.7;
  color: #d4c68c;
  margin: 5px 0;
}
.control-active-detour .btn {
  flex-shrink: 0;
}
.control-notice {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #c4b66e;
  padding: 7px 0;
  line-height: 1.5;
}
.control-notice .icon {
  width: 13px;
  height: 13px;
}
.control-ordinary-state {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 23px 0;
}
.control-ordinary-state > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: #f3f7e5;
  color: #b4c47c;
  border-radius: 50%;
  border: 1px solid #e8edcd;
}
.control-ordinary-state > span .icon {
  width: 21px;
  height: 21px;
}
.control-ordinary-state h3 {
  font-size: 16px;
  letter-spacing: -0.3px;
  color: #b4bd79;
  margin: 1px 0 8px;
  line-height: 1.5;
}
.control-ordinary-state p {
  font-size: 11px;
  color: #c4c997;
  line-height: 1.8;
  margin: 0;
}
.control-file-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 15px 0 20px;
}
.control-file-link {
  display: flex;
  gap: 9px;
  align-items: center;
  border: 1px solid #e9e7d1;
  background: #fcfcf5;
  border-radius: 11px;
  padding: 13px 12px;
  font-size: 10px;
  color: #bdbe8c;
  line-height: 1.6;
  min-width: 0;
}
.control-file-link:hover {
  background: #f5f7e7;
  border-color: #d6d8b2;
}
.control-file-link > .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.control-file-link > .icon:last-child {
  margin-left: auto;
  width: 12px;
}
.control-file-link > span {
  overflow-wrap: anywhere;
}
.control-file-link small {
  display: block;
  color: #cdd0a7;
  font-size: 9px;
  margin-top: 3px;
}
.control-workspace-primary {
  display: grid;
  gap: 9px;
  padding-top: 18px;
  border-top: 1px solid #ececd9;
}
.control-workspace-primary .btn {
  font-size: 12px;
}
.control-base-card {
  background: #fcfdf7;
  border-color: #e4e8d0;
}
.control-base-card .control-section-title {
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 16px;
}
.control-base-icon {
  display: grid;
  place-items: center;
  color: #b1bd7e;
  background: #f0f4e1;
  width: 31px;
  height: 31px;
  border-radius: 9px;
}
.control-base-icon .icon {
  width: 16px;
  height: 16px;
}
.control-base-card h2 {
  font-size: 19px;
  color: #a9b16d;
  line-height: 1.4;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
  font-weight: 650;
}
.control-base-card > p {
  font-size: 11px;
  line-height: 1.9;
  color: #bcc38b;
  margin: 0 0 16px;
}
.control-base-card .control-kicker {
  font-size: 8px;
  margin: 0;
  color: #bdc294;
  letter-spacing: 1.1px;
}
.control-base-downloads {
  display: grid;
  gap: 8px;
  margin: 15px 0;
}
.control-workspace-aside .control-surface {
  padding: 21px;
}
.control-workspace-aside h3 {
  font-size: 16px;
  color: #afb584;
  font-weight: 650;
  line-height: 1.5;
  margin: 16px 0 10px;
}
.control-workspace-aside .control-muted {
  font-size: 11px;
  color: #c0c69f;
}
.control-workspace-aside small.control-muted {
  font-size: 10px;
  margin-top: 10px;
}
.control-beta-label {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 6px;
  border: 1px solid #e0e2cd;
  color: #aeb591;
  background: #f7f8f0;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 1px;
}
.control-settings-card h3 {
  margin: 0 0 15px;
}
.control-history-section {
  margin-top: 20px;
}
.control-small-title {
  font-size: 12px !important;
  font-weight: 650;
  color: #b6bd96;
  margin: 20px 0 12px;
}
.control-history-section .control-section-title h2 {
  color: #9fac7b;
}
.control-history-section details {
  margin-top: 18px;
}
.control-history-section summary {
  font-size: 11px;
  color: #b7c1a0;
  cursor: pointer;
  padding: 10px 0;
  line-height: 1.7;
}
.control-history-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #ebeee2;
  padding: 15px 0;
}
.control-history-item > div {
  flex: 1;
  min-width: 0;
}
.control-history-item strong {
  font-size: 11px;
  color: #aabb8b;
  line-height: 1.8;
  display: block;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.control-history-item small {
  font-size: 9px;
  line-height: 1.7;
  color: #c0cbaa;
  display: block;
  margin-top: 4px;
}
.control-history-dot {
  width: 7px;
  height: 7px;
  background: #dee5d0;
  border-radius: 50%;
  flex-shrink: 0;
}
.control-history-dot.current {
  background: #a3bf8b;
}
.control-history-dot.draft {
  background: #c8bad3;
}
.control-danger-zone {
  border: 1px solid #eadfdf;
  border-radius: 13px;
  padding: 16px 20px;
  margin-top: 25px;
  background: #fffafa;
}
.control-danger-zone summary {
  font-size: 11px;
  color: #b8888b;
  cursor: pointer;
  line-height: 1.7;
}
.control-danger-zone p {
  font-size: 11px;
  line-height: 1.8;
  color: #c39e9f;
  margin: 15px 0;
}
.control-driver-summary {
  display: flex;
  gap: 23px;
  margin: 4px 0 20px;
  color: #afbf9f;
  font-size: 11px;
  line-height: 1.8;
}
.control-driver-summary b {
  font-weight: 700;
  color: #96b17f;
  font-size: 16px;
  margin-right: 4px;
}
.control-user-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 18px;
}
.control-user-card {
  border: 1px solid #e0e9d8;
  border-radius: 17px;
  background: #fff;
  padding: 22px;
}
.control-user-head {
  display: flex;
  align-items: center;
  gap: 11px;
}
.control-user-avatar {
  width: 40px;
  height: 40px;
  background: #eef5e7;
  border: 1px solid #dfead5;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #a4be8f;
  flex-shrink: 0;
}
.control-user-avatar .icon {
  width: 21px;
  height: 21px;
}
.control-user-head > div {
  flex: 1;
  min-width: 0;
}
.control-user-head h2 {
  font-size: 17px;
  font-weight: 650;
  color: #a1b78b;
  letter-spacing: -0.4px;
  line-height: 1.4;
  margin: 0;
  overflow-wrap: anywhere;
}
.control-user-head p {
  font-size: 11px;
  color: #b5c5a6;
  line-height: 1.7;
  margin: 5px 0 0;
}
.control-user-head .control-status {
  flex-shrink: 0;
  font-size: 9px;
}
.control-user-metrics {
  display: flex;
  gap: 30px;
  margin: 24px 0 20px;
}
.control-user-metrics span {
  font-size: 10px;
  color: #b9c9ad;
  line-height: 1.7;
}
.control-user-metrics b {
  display: block;
  font-size: 29px;
  color: #9ab286;
  letter-spacing: -0.9px;
  font-weight: 650;
  line-height: 1.2;
  margin-bottom: 5px;
}
.control-last-seen {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 9px;
  color: #c1cfb7;
  line-height: 1.8;
  margin: 0 0 16px;
}
.control-last-seen .icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.control-user-card .control-card-actions {
  border-color: #e9f0e3;
}
.control-device-indicator {
  display: flex;
  gap: 7px;
  font-size: 10px;
  line-height: 1.8;
  color: #b4c499;
  background: #f6f9ed;
  border: 1px solid #e8efd7;
  padding: 11px;
  border-radius: 9px;
  margin-bottom: 16px;
}
.control-device-indicator .icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
.control-device-note {
  border: 1px solid #e3ebda;
  background: #f6f9f0;
  border-radius: 12px;
  margin-top: 24px;
  padding: 16px 18px;
}
.control-device-note summary {
  cursor: pointer;
  font-size: 11px;
  color: #afc398;
  line-height: 1.8;
  display: flex;
  gap: 8px;
  align-items: center;
}
.control-device-note .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.control-device-note p {
  font-size: 11px;
  color: #c1d0af;
  line-height: 1.9;
  margin: 14px 0 0;
}
.control-loading {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 50px;
  border: 1px dashed #e0ead4;
  color: #bbceab;
  background: #fbfdf8;
  border-radius: 15px;
  font-size: 12px;
}
.control-loading .icon {
  width: 20px;
  height: 20px;
}
.control-studio-intro {
  padding: 33px;
  background: linear-gradient(115deg, #253528, #3b4a2f);
  border: 1px solid #3a4a2a;
  border-radius: 19px;
  margin-bottom: 22px;
  color: white;
  position: relative;
  overflow: hidden;
}
.control-studio-intro:after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px dashed #ffffff25;
  border-radius: 45px;
  transform: rotate(-25deg);
  right: -40px;
  top: 5px;
  pointer-events: none;
}
.control-studio-intro .control-beta-label {
  background: #ffffff0e;
  border-color: #ffffff22;
  color: #b7c8a1;
}
.control-studio-intro h2 {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.9px;
  font-weight: 600;
  margin: 22px 0 14px;
  color: #e1e9d7;
  position: relative;
  z-index: 1;
}
.control-studio-intro > p {
  font-size: 12px;
  line-height: 1.9;
  color: #aebb99;
  max-width: 470px;
  position: relative;
  z-index: 1;
}
.control-studio-steps {
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 1;
  margin-top: 27px;
}
.control-studio-steps span {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: #aebb97;
  line-height: 1.7;
}
.control-studio-steps b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid #ffffff20;
  background: #ffffff08;
  color: #d0dcbe;
  font-size: 10px;
  flex-shrink: 0;
}
.control-studio-routes {
  margin-top: 20px;
}
.control-studio-routes .control-task strong {
  color: #9ab783;
}
.control-studio-routes .control-task small {
  color: #b5cda2;
}
.control-studio-routes .control-task {
  border-color: #e4efda;
}
.control-studio-routes .control-route-number {
  color: #9dbb86;
  background: #f2f8eb;
  border-color: #e3efd8;
}
.control-studio-intro + .control-surface {
  margin-bottom: 22px;
}
.control-timeline {
  margin-top: 23px;
}
.control-timeline-item {
  position: relative;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding-bottom: 25px;
}
.control-timeline-item:before {
  content: '';
  position: absolute;
  left: 15px;
  top: 33px;
  bottom: 0;
  width: 1px;
  background: #e0ebd5;
}
.control-timeline-item:last-child:before {
  display: none;
}
.control-timeline-item > span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid #dfead2;
  background: #f5f9ee;
  color: #acc491;
  flex-shrink: 0;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}
.control-timeline-item > .icon,
.control-timeline-item .icon {
  width: 15px;
  height: 15px;
}
.control-timeline-item time {
  display: block;
  font-size: 9px;
  letter-spacing: 0.2px;
  color: #bed0a8;
  line-height: 1.8;
  margin-bottom: 6px;
}
.control-timeline-item p {
  font-size: 12px;
  color: #9fba80;
  line-height: 1.9;
  margin: 0;
  overflow-wrap: anywhere;
}
.control-timeline-item > div {
  flex: 1;
  min-width: 0;
}
.is-admin .login-panel {
  max-width: 470px;
  margin: 45px auto;
}
.is-admin .login-panel h2 {
  color: #40362f;
}
.is-admin .login-panel p {
  color: #938575;
}
.is-admin .login-panel .field label {
  color: #806c56;
}
.is-admin .login-panel input {
  background: #fffcf8;
  border-color: #e4d7c8;
}
.is-admin dialog {
  border-radius: 21px;
  border-color: #e4d9cb;
}
.is-admin .modal-header {
  background: #faf6f1;
  border-color: #eee3d5;
  padding: 25px 27px 21px;
}
.is-admin .modal-header h2 {
  color: #775437;
  font-size: 23px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -0.7px;
}
.is-admin .modal-header p {
  color: #ae8c6c;
  font-size: 12px;
  line-height: 1.8;
}
.is-admin .modal-body {
  padding: 25px 27px 29px;
}
.is-admin .modal-body h3 {
  color: #ac7b4e;
  font-size: 17px;
}
.is-admin .modal-body .field label {
  color: #a88460;
  font-size: 12px;
  line-height: 1.7;
}
.is-admin .modal-body .field input,
.is-admin .modal-body .field select,
.is-admin .modal-body .field textarea {
  background: #fffdf9;
  border-color: #e9d9c3;
  color: #9f7047;
  min-height: 50px;
  font-size: 14px;
}
.is-admin .modal-body .field small {
  color: #c1a07d;
  font-size: 11px;
  line-height: 1.8;
}
.is-admin .modal-body .info {
  background: #f6f4ea;
  color: #b4aa78;
  border-color: #eae5ca;
  font-size: 12px;
}
.is-admin .modal-body .info strong {
  color: #a99c66;
}
.is-admin .modal-body .info.amber {
  background: #fffaeb;
  color: #c6b27a;
  border-color: #f0e5be;
}
.is-admin .modal-body .checkbox-line {
  color: #c1b179;
  line-height: 1.9;
  font-size: 12px;
}
.is-admin .modal-body .checkbox-line input {
  min-height: 18px !important;
}
.is-admin .modal-header .close {
  background: #f0e7d9;
  color: #b3936b;
}
.is-admin .modal-body .modal-actions {
  border-top: 1px solid #f0e6d6;
  padding-top: 20px;
  margin-top: 25px;
}
.is-admin .upload {
  background: #fffcf6;
  border-color: #e9d6b9;
}
.is-admin .modal-body .pin-wrap {
  border-color: #e7dcc4;
  background: #fffdf5;
}
.is-admin .modal-body .pin-wrap input {
  border: 0;
}
.is-admin .session-card {
  border-color: #e2e8d2;
  background: #fcfdf8;
}
.is-admin .session-card h3 {
  color: #afbc88;
}
.is-admin .session-card p,
.is-admin .session-card dt {
  color: #c1cb9f;
}
.is-admin .session-card dd {
  color: #acbd85;
}
.is-admin .modal-body .admin-form-note {
  color: #c7b890;
}
.control-surface,
.control-line-card,
.control-user-card {
  animation: control-arrive 0.3s both;
}
@keyframes control-arrive {
  from {
    opacity: 0.3;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Contrast uses a limited neutral palette; color is reserved for meaningful states. */
.control-content {
  --control-ink: #332c29;
  --control-muted: #877a70;
}
.control-surface,
.control-line-card,
.control-user-card {
  color: var(--control-ink);
}
.control-task strong,
.control-journey strong,
.control-journey > span,
.control-line-top > div > strong,
.control-section-title h2,
.control-route-heading h2,
.control-workspace-title h2,
.control-active-detour strong,
.control-current .control-section-title h2,
.control-history-section .control-section-title h2,
.control-base-card h2,
.control-workspace-aside h3,
.control-user-head h2,
.control-user-metrics b,
.control-timeline-item p {
  color: #4a3e35;
}
.control-task small,
.control-journal-mini strong,
.control-card-note,
.control-journey > span,
.control-route-heading small,
.control-workspace-title p,
.control-muted,
.control-base-card > p,
.control-workspace-aside .control-muted,
.control-history-item strong,
.control-user-head p,
.control-last-seen,
.control-timeline-item time {
  color: #95806d;
}
.control-journal-mini small,
.control-history-item small,
.control-result-count,
.control-bottom-note,
.control-line-top .control-kicker,
.control-rail-bottom small {
  color: #a38f7e;
}
.control-tab-tags > span {
  color: #977154;
}
.control-file-link {
  color: #827551;
}
.control-file-link small {
  color: #a79a7c;
}
.control-status.success {
  color: #53734b;
  background: #eef5e8;
}
.control-status.warning {
  color: #9c742d;
  background: #fff2db;
}
.control-status.muted {
  color: #a18b76;
}
.control-reference strong,
.control-active-detour small {
  color: #9d7c42;
}
.control-reference > span,
.control-active-detour p,
.control-notice {
  color: #af955e;
}
.control-ordinary-state h3 {
  color: #627d4e;
}
.control-ordinary-state p {
  color: #95a27e;
}
.control-explainer strong {
  color: #758363;
}
.control-explainer p {
  color: #99a48a;
}
.control-user-metrics span,
.control-driver-summary,
.control-device-note p,
.control-device-indicator,
.control-device-note summary {
  color: #8e9e7d;
}
.control-driver-summary b {
  color: #6d8757;
}
.is-admin .modal-header h2 {
  color: #4c3a2e;
}
.is-admin .modal-header p {
  color: #99816c;
}
.is-admin .modal-body h3,
.is-admin .modal-body .field label {
  color: #8c6c50;
}
.is-admin .modal-body .field input,
.is-admin .modal-body .field select,
.is-admin .modal-body .field textarea {
  color: #73553b;
}
.is-admin .modal-body .field small {
  color: #ad9176;
}
.is-admin .modal-body .info {
  color: #99956f;
}
.is-admin .modal-body .info strong {
  color: #77724e;
}
.is-admin .modal-body .checkbox-line {
  color: #9f916b;
}
.control-studio-routes .control-task strong {
  color: #6c8359;
}
.control-studio-routes .control-task small {
  color: #a0b28c;
}
.control-studio-routes .control-route-number {
  color: #7f9d66;
}
@media (min-width: 1600px) {
  .control-content {
    padding: 31px 55px 42px;
  }
  .control-welcome {
    padding: 36px 40px;
  }
  .control-welcome h2 {
    font-size: 36px;
  }
  .control-home-grid {
    gap: 24px;
  }
  .control-line-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}
@media (max-width: 1180px) {
  .control-shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .control-rail {
    padding: 25px 13px;
  }
  .control-nav button {
    font-size: 11px;
    padding: 12px;
    gap: 9px;
  }
  .control-rail-label {
    font-size: 12px;
    gap: 9px;
    margin: 0 4px;
  }
  .control-content {
    padding: 23px 26px 32px;
  }
  .control-filter-bar {
    flex-wrap: wrap;
  }
  .control-filter-bar > .search {
    flex-basis: 100%;
  }
  .control-filter-chips {
    width: 100%;
    justify-content: flex-start;
  }
  .control-filter-chips button {
    flex: 1;
  }
  .control-welcome-art {
    width: 150px;
    margin-right: 0;
  }
  .control-home-grid {
    grid-template-columns: 1fr;
  }
  .control-metrics {
    gap: 10px;
  }
  .control-metrics > button {
    padding: 16px 14px;
  }
  .control-workspace-columns {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 17px;
  }
  .control-workspace-aside .control-surface {
    padding: 17px;
  }
  .control-current {
    padding: 20px;
  }
  .control-current .control-section-title {
    flex-wrap: wrap;
  }
  .control-studio-steps {
    gap: 17px;
    flex-wrap: wrap;
  }
}
@media (max-width: 950px) {
  .control-shell {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .control-rail {
    padding: 25px 10px;
  }
  .control-nav button {
    font-size: 10px;
    padding: 12px 10px;
    gap: 8px;
  }
  .control-nav .icon {
    width: 17px;
    height: 17px;
  }
  .control-rail-label {
    font-size: 11px;
  }
  .control-brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
  .control-rail-label small {
    font-size: 7px;
  }
  .control-content {
    padding: 24px;
  }
  .control-heading {
    flex-wrap: wrap;
    gap: 17px;
  }
  .control-heading h1 {
    font-size: 31px;
  }
  .control-heading p {
    font-size: 12px;
  }
  .control-welcome-art {
    display: none;
  }
  .control-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .control-welcome {
    padding: 29px;
  }
  .control-metrics > button {
    padding: 18px;
  }
  .control-workspace-columns {
    grid-template-columns: 1fr;
  }
  .control-workspace-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
  }
  .control-workspace-aside .control-surface:first-child {
    grid-column: 1/-1;
  }
  .control-base-downloads {
    grid-template-columns: 1fr 1fr;
  }
  .control-workspace-aside .control-base-card > .full-width {
    width: auto;
  }
  .control-topline {
    margin-bottom: 26px;
  }
  .control-topline > span {
    font-size: 8px;
    letter-spacing: 0.7px;
  }
  .control-topline > div {
    gap: 10px;
  }
  .control-back {
    font-size: 10px;
  }
  .control-topline .btn {
    font-size: 9px;
    padding: 8px 10px;
  }
  .control-studio-intro {
    padding: 28px;
  }
}
@media (max-width: 700px) {
  .is-admin {
    padding-bottom: 0;
    background: #f6f5f3;
  }
  .is-admin .topbar {
    height: 69px;
    padding: 0 18px;
    gap: 12px;
  }
  .is-admin .topbar .brand {
    font-size: 23px;
  }
  .is-admin .topbar .brand-icon {
    width: 36px;
    height: 36px;
  }
  .is-admin .topbar .management {
    min-height: 40px;
    font-size: 10px;
    padding: 10px;
    border-radius: 10px;
  }
  .control-shell {
    display: block;
    min-height: calc(100svh - 69px);
  }
  .control-rail {
    position: static;
    height: 0;
    padding: 0;
    border: 0;
    display: block;
  }
  .control-rail-label,
  .control-rail-bottom {
    display: none;
  }
  .control-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    gap: 2px;
    padding: 8px 7px calc(9px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #e8e1d9;
    background: #fffffff2;
    backdrop-filter: blur(20px);
    box-shadow: 0 -5px 25px #70523006;
    z-index: 100;
  }
  .control-nav button {
    flex: 1;
    min-width: 0;
    min-height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7px 2px;
    font-size: 8px;
    gap: 5px;
    border-radius: 10px;
    line-height: 1.5;
    color: #9f8a77;
    position: relative;
  }
  .control-nav button .icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.7;
  }
  .control-nav button.active {
    background: #fff0f2;
    color: #be2940;
    box-shadow: none;
  }
  .control-nav b {
    position: absolute;
    top: 1px;
    right: 3px;
    margin: 0;
    font-size: 8px;
    padding: 1px 4px;
    border-radius: 4px;
    background: #c52941 !important;
    color: #fff !important;
    border: 2px solid #fff;
  }
  .control-nav button span {
    white-space: normal;
  }
  .control-content {
    padding: 22px 18px calc(110px + env(safe-area-inset-bottom, 0px));
    max-width: none;
  }
  .control-topline {
    margin-bottom: 26px;
    align-items: center;
    min-height: 30px;
    gap: 9px;
  }
  .control-topline > span {
    font-size: 7px;
    letter-spacing: 0.8px;
    line-height: 1.9;
    max-width: 180px;
  }
  .control-topline i {
    margin: 0 4px;
  }
  .control-back {
    display: none;
  }
  .control-topline .btn {
    min-width: 34px;
    min-height: 34px;
    padding: 8px;
    background: #fff;
    border-radius: 9px;
  }
  .control-topline .btn span {
    display: none;
  }
  .control-topline .btn .icon {
    width: 15px;
    height: 15px;
  }
  .control-heading {
    display: block;
    margin-bottom: 25px;
  }
  .control-heading h1 {
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: -1.15px;
    max-width: 330px;
  }
  .control-heading p {
    font-size: 12px;
    line-height: 1.8;
    margin-top: 12px;
    max-width: 340px;
  }
  .control-heading .control-kicker {
    font-size: 8px;
    letter-spacing: 1.4px;
    margin-bottom: 11px;
  }
  .control-heading > .btn {
    margin-top: 19px;
    width: 100%;
    min-height: 48px;
    font-size: 12px;
  }
  .is-admin .btn {
    min-height: 45px;
    font-size: 12px;
    padding: 11px 13px;
    border-radius: 11px;
  }
  .is-admin .btn.small {
    min-height: 39px;
    font-size: 10px;
    padding: 9px 11px;
  }
  .control-welcome {
    padding: 27px 25px;
    border-radius: 19px;
    min-height: 0;
    margin-bottom: 16px;
    gap: 0;
  }
  .control-welcome-label {
    font-size: 7px;
    letter-spacing: 1.6px;
    margin-bottom: 18px;
  }
  .control-welcome h2 {
    font-size: 30px;
    line-height: 1.13;
    letter-spacing: -0.9px;
    margin-bottom: 13px;
  }
  .control-welcome p {
    font-size: 11px;
    line-height: 1.9;
    margin-bottom: 19px;
  }
  .is-admin .control-light-button {
    min-height: 39px;
    font-size: 11px;
    width: auto;
  }
  .control-welcome-art {
    display: none;
  }
  .control-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 24px;
  }
  .control-metrics > button {
    padding: 17px 14px;
    gap: 12px;
    border-radius: 13px;
  }
  .control-metrics > button > span {
    font-size: 9px;
    gap: 6px;
    line-height: 1.5;
  }
  .control-metrics > button > span .icon {
    width: 14px;
    height: 14px;
  }
  .control-metrics strong {
    font-size: 29px;
  }
  .control-metrics small {
    font-size: 8px;
    line-height: 1.8;
    gap: 3px;
    align-items: flex-start;
  }
  .control-metrics small .icon {
    width: 12px;
    height: 12px;
    margin-top: 2px;
    flex-shrink: 0;
  }
  .control-home-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .control-surface {
    padding: 21px 18px;
    border-radius: 16px;
  }
  .control-section-title {
    gap: 10px;
    margin-bottom: 18px;
    align-items: flex-start;
  }
  .control-section-title h2 {
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: -0.4px;
  }
  .control-section-title .control-kicker {
    font-size: 7px;
    letter-spacing: 1.3px;
    margin-bottom: 8px;
  }
  .control-counter {
    min-width: 27px;
    height: 27px;
    font-size: 10px;
    border-radius: 8px;
  }
  .control-task {
    gap: 10px;
    padding: 16px 0;
    align-items: center;
  }
  .control-route-number {
    min-width: 35px;
    height: 35px;
    font-size: 14px;
    border-radius: 9px;
  }
  .control-task strong {
    font-size: 12px;
    line-height: 1.6;
  }
  .control-task small {
    font-size: 10px;
    line-height: 1.7;
  }
  .control-task > .btn {
    padding: 9px 10px;
    min-height: 38px;
    font-size: 10px;
    flex-shrink: 0;
  }
  .control-task > .btn .icon {
    width: 13px;
    height: 13px;
  }
  .control-inline-empty {
    padding: 16px;
    gap: 10px;
    border-radius: 11px;
  }
  .control-inline-empty p {
    font-size: 11px;
    line-height: 1.9;
  }
  .control-journal-mini {
    padding: 15px 0;
    gap: 10px;
  }
  .control-journal-mini strong {
    font-size: 11px;
    line-height: 1.9;
  }
  .control-journal-mini small {
    font-size: 9px;
  }
  .is-admin .control-text-button {
    font-size: 11px;
    min-height: 41px;
  }
  .control-bottom-note {
    font-size: 8px;
    gap: 7px;
    margin-top: 26px;
    line-height: 1.8;
    align-items: flex-start;
  }
  .control-bottom-note .icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    margin-top: 1px;
  }
  .control-filter-bar {
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  .control-filter-bar > .search {
    width: 100%;
    flex-basis: 100%;
  }
  .is-admin .search input {
    min-height: 52px;
    font-size: 16px;
    padding: 15px 14px 15px 41px;
    border-radius: 12px;
  }
  .is-admin .search .icon {
    top: 18px;
    left: 14px;
    width: 16px;
    height: 16px;
  }
  .control-filter-chips {
    width: 100%;
    border-radius: 11px;
    justify-content: flex-start;
    padding: 5px;
    gap: 4px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .control-filter-chips button {
    min-height: 38px;
    font-size: 9px;
    padding: 9px 8px;
    flex: 1;
    border-radius: 8px;
  }
  .control-list-heading {
    font-size: 10px;
    gap: 8px;
    margin-bottom: 18px;
  }
  .control-list-heading .btn {
    font-size: 9px;
    min-height: 37px;
    padding: 8px 10px;
  }
  .control-line-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .control-line-card {
    padding: 22px 20px;
    border-radius: 17px;
  }
  .control-line-top {
    margin-bottom: 23px;
  }
  .control-line-top .line-number {
    min-width: 47px;
    height: 47px;
    font-size: 22px;
    border-radius: 12px;
  }
  .control-line-top > div > strong {
    font-size: 11px;
  }
  .control-journey {
    font-size: 14px;
    line-height: 1.6;
    gap: 18px;
    margin-bottom: 24px;
  }
  .control-journey strong:before,
  .control-journey > span:before {
    top: 8px;
  }
  .control-tab-tags > span {
    font-size: 10px;
    padding: 6px 9px;
  }
  .control-card-note {
    font-size: 10px;
    margin-bottom: 19px;
  }
  .control-card-actions {
    gap: 8px;
    padding-top: 17px;
  }
  .control-card-actions > .btn {
    font-size: 11px;
    min-height: 44px;
  }
  .control-card-actions > .primary {
    flex: 1.5;
  }
  .control-empty {
    padding: 32px 18px;
    border-radius: 14px;
  }
  .control-empty h3 {
    font-size: 19px;
    line-height: 1.5;
  }
  .control-empty p {
    font-size: 12px;
    line-height: 1.8;
  }
  .control-empty > .btn {
    width: 100%;
    font-size: 12px;
  }
  .control-explainer {
    padding: 16px;
    gap: 10px;
    border-radius: 13px;
    margin-bottom: 20px;
  }
  .control-explainer > .icon {
    width: 18px;
    height: 18px;
    margin-top: 2px;
  }
  .control-explainer strong {
    font-size: 12px;
    line-height: 1.7;
  }
  .control-explainer p {
    font-size: 11px;
    line-height: 1.9;
    margin-top: 5px;
  }
  .control-route-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .control-route-heading h2 {
    font-size: 20px;
    line-height: 1.3;
  }
  .control-route-heading small {
    font-size: 10px;
    line-height: 1.8;
  }
  .control-route-heading .control-route-number {
    height: 38px;
    min-width: 38px;
    font-size: 16px;
  }
  .control-status {
    font-size: 10px;
    padding: 6px 8px;
    line-height: 1.6;
  }
  .control-detour-content {
    min-height: 0;
    margin: 16px 0;
  }
  .control-reference {
    padding: 13px;
    gap: 6px 8px;
    border-radius: 11px;
  }
  .control-reference strong {
    font-size: 10px;
    line-height: 1.8;
  }
  .control-reference > span {
    font-size: 11px;
  }
  .control-reference .btn {
    font-size: 10px;
    min-height: 38px;
    padding: 9px 10px;
  }
  .control-stack-actions .btn {
    font-size: 11px;
    min-height: 45px;
  }
  .control-breadcrumb-button {
    font-size: 11px;
    padding-bottom: 21px;
  }
  .control-workspace-title {
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 23px;
  }
  .control-workspace-title > .line-number {
    min-width: 51px;
    height: 51px;
    font-size: 26px;
    border-radius: 13px;
  }
  .control-workspace-title h2 {
    font-size: 20px;
    letter-spacing: -0.5px;
    margin-bottom: 5px;
    line-height: 1.4;
  }
  .control-workspace-title p {
    font-size: 12px;
    line-height: 1.7;
    gap: 6px;
  }
  .control-workspace-title > .btn {
    width: 100%;
    font-size: 11px;
    min-height: 40px;
  }
  .control-variant-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 5px;
    padding: 6px;
    margin-bottom: 20px;
    border-radius: 12px;
  }
  .control-variant-strip > button {
    font-size: 12px;
    min-height: 42px;
    padding: 11px 15px;
    border-radius: 9px;
    flex-shrink: 0;
  }
  .is-admin .control-add-tab {
    margin-left: 0;
    min-height: 38px;
    font-size: 10px;
    padding: 10px;
    flex-shrink: 0;
  }
  .control-workspace-columns {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .control-current .control-section-title {
    padding-bottom: 18px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .control-current .control-section-title h2 {
    font-size: 24px;
    line-height: 1.3;
  }
  .control-current .control-kicker {
    font-size: 7px;
    letter-spacing: 1.3px;
  }
  .control-schedule {
    padding: 13px;
    font-size: 11px;
    line-height: 1.8;
  }
  .control-schedule small {
    font-size: 10px;
    line-height: 1.8;
  }
  .control-active-label {
    font-size: 11px;
    line-height: 1.8;
  }
  .control-active-detour {
    padding: 14px;
    gap: 9px;
    border-radius: 12px;
    flex-wrap: wrap;
  }
  .control-detour-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }
  .control-active-detour > div:nth-child(2) {
    flex: 1;
    min-width: calc(100% - 48px);
  }
  .control-active-detour strong {
    font-size: 13px;
    line-height: 1.6;
  }
  .control-active-detour small {
    font-size: 10px;
    line-height: 1.8;
  }
  .control-active-detour p {
    font-size: 10px;
    line-height: 1.8;
  }
  .control-active-detour > .btn {
    width: 100%;
    font-size: 11px;
    min-height: 39px;
  }
  .control-notice {
    font-size: 10px;
    min-height: 30px;
  }
  .control-file-row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 16px 0 20px;
  }
  .control-file-link {
    font-size: 11px;
    padding: 14px;
    border-radius: 11px;
    line-height: 1.7;
  }
  .control-file-link small {
    font-size: 9px;
  }
  .control-file-link > .icon {
    width: 17px;
    height: 17px;
  }
  .control-workspace-primary .btn {
    font-size: 11px;
    min-height: 47px;
  }
  .control-ordinary-state {
    gap: 12px;
    padding: 22px 0;
  }
  .control-ordinary-state > span {
    width: 37px;
    height: 37px;
  }
  .control-ordinary-state h3 {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 8px;
  }
  .control-ordinary-state p {
    font-size: 11px;
    line-height: 1.9;
  }
  .control-workspace-aside {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .control-workspace-aside .control-surface {
    padding: 22px 18px;
  }
  .control-workspace-aside .control-surface:first-child {
    grid-column: auto;
  }
  .control-base-downloads {
    grid-template-columns: 1fr;
  }
  .control-base-card h2 {
    font-size: 22px;
    line-height: 1.3;
  }
  .control-base-card > p {
    font-size: 12px;
    line-height: 1.8;
  }
  .control-workspace-aside .control-base-card > .full-width {
    width: 100%;
  }
  .control-workspace-aside h3 {
    font-size: 18px;
    line-height: 1.5;
  }
  .control-workspace-aside .control-muted {
    font-size: 12px;
    line-height: 1.9;
  }
  .control-workspace-aside .btn {
    font-size: 11px;
    min-height: 45px;
  }
  .control-history-section {
    margin-top: 17px;
  }
  .control-history-item {
    gap: 9px;
    padding: 15px 0;
    flex-wrap: wrap;
  }
  .control-history-item > div {
    min-width: calc(100% - 22px);
  }
  .control-history-item strong {
    font-size: 11px;
    line-height: 1.8;
  }
  .control-history-item small {
    font-size: 9px;
    line-height: 1.8;
  }
  .control-history-item .btn {
    margin-left: 16px;
    font-size: 10px;
    min-height: 36px;
  }
  .control-history-section summary {
    font-size: 11px;
    line-height: 1.8;
    min-height: 39px;
  }
  .control-danger-zone {
    margin-top: 22px;
    padding: 17px;
    border-radius: 12px;
  }
  .control-danger-zone summary {
    font-size: 11px;
    min-height: 24px;
  }
  .control-danger-zone p {
    font-size: 11px;
    line-height: 1.9;
  }
  .control-danger-zone .btn {
    width: 100%;
    min-height: 43px;
    font-size: 11px;
  }
  .control-driver-summary {
    gap: 12px;
    flex-wrap: wrap;
    font-size: 10px;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  .control-driver-summary b {
    font-size: 15px;
  }
  .control-user-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .control-user-card {
    padding: 21px 18px;
    border-radius: 16px;
  }
  .control-user-head {
    gap: 10px;
    align-items: center;
  }
  .control-user-avatar {
    width: 37px;
    height: 37px;
    border-radius: 11px;
  }
  .control-user-head h2 {
    font-size: 18px;
    line-height: 1.4;
  }
  .control-user-head p {
    font-size: 11px;
    line-height: 1.8;
  }
  .control-user-head .control-status {
    font-size: 8px;
    padding: 5px 6px;
  }
  .control-user-metrics {
    gap: 32px;
    margin: 24px 0 19px;
  }
  .control-user-metrics b {
    font-size: 30px;
  }
  .control-user-metrics span {
    font-size: 10px;
    line-height: 1.8;
  }
  .control-last-seen {
    font-size: 9px;
    line-height: 1.8;
    align-items: flex-start;
  }
  .control-last-seen .icon {
    flex-shrink: 0;
    margin-top: 2px;
  }
  .control-device-indicator {
    font-size: 10px;
    line-height: 1.9;
    padding: 11px;
  }
  .control-user-card .control-card-actions {
    gap: 7px;
  }
  .control-user-card .control-card-actions > .btn {
    font-size: 10px;
    padding: 10px;
    min-height: 43px;
  }
  .control-device-note {
    padding: 16px;
    margin-top: 22px;
  }
  .control-device-note summary {
    font-size: 11px;
    line-height: 1.9;
    align-items: flex-start;
  }
  .control-device-note .icon {
    flex-shrink: 0;
    margin-top: 2px;
  }
  .control-device-note p {
    font-size: 11px;
    line-height: 1.9;
  }
  .control-studio-intro {
    padding: 27px 23px;
    border-radius: 17px;
    margin-bottom: 20px;
  }
  .control-studio-intro h2 {
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.8px;
    margin: 22px 0 15px;
  }
  .control-studio-intro > p {
    font-size: 11px;
    line-height: 1.9;
  }
  .control-studio-steps {
    display: grid;
    gap: 14px;
    margin-top: 23px;
  }
  .control-studio-steps span {
    font-size: 11px;
    gap: 10px;
    line-height: 1.7;
  }
  .control-studio-steps b {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }
  .control-studio-intro + .control-surface .control-section-title h2 {
    font-size: 18px;
    line-height: 1.5;
  }
  .control-studio-routes .control-task {
    flex-wrap: wrap;
  }
  .control-studio-routes .control-task > div {
    min-width: calc(100% - 48px);
  }
  .control-studio-routes .control-task > .btn {
    width: 100%;
    min-height: 40px;
    margin-left: 45px;
  }
  .control-timeline-item {
    gap: 12px;
    padding-bottom: 25px;
  }
  .control-timeline-item time {
    font-size: 9px;
    line-height: 1.8;
  }
  .control-timeline-item p {
    font-size: 12px;
    line-height: 1.9;
  }
  .control-timeline-item > span {
    width: 30px;
    height: 30px;
  }
  .control-timeline-item:before {
    left: 14px;
  }
  .is-admin .login-panel {
    margin: 25px 15px;
    max-width: none;
    padding: 25px !important;
  }
  .is-admin .login-panel h2 {
    font-size: 25px;
  }
  .is-admin dialog {
    border-radius: 23px 23px 0 0;
    max-height: 94svh;
  }
  .is-admin .modal-header {
    padding: 23px 20px 20px;
  }
  .is-admin .modal-header h2 {
    font-size: 21px;
    line-height: 1.3;
    letter-spacing: -0.6px;
  }
  .is-admin .modal-header p {
    font-size: 11px;
    line-height: 1.8;
  }
  .is-admin .modal-body {
    padding: 21px 20px calc(30px + env(safe-area-inset-bottom, 0px));
  }
  .is-admin .modal-body .field input,
  .is-admin .modal-body .field select,
  .is-admin .modal-body .field textarea {
    font-size: 16px;
    min-height: 51px;
  }
  .is-admin .modal-body .field label {
    font-size: 13px;
    line-height: 1.7;
  }
  .is-admin .modal-body .field small {
    font-size: 11px;
    line-height: 1.8;
  }
  .is-admin .modal-body .info {
    font-size: 12px;
    line-height: 1.9;
    padding: 15px;
  }
  .is-admin .modal-body .info strong {
    font-size: 13px;
  }
  .is-admin .modal-body .checkbox-line {
    font-size: 12px;
    line-height: 1.9;
  }
  .is-admin .modal-body .modal-actions {
    margin-top: 25px;
    gap: 8px;
  }
  .is-admin .modal-body .modal-actions .btn {
    font-size: 12px;
    min-height: 47px;
  }
  .is-admin .modal-body .btn.primary.full-width {
    font-size: 12px;
    min-height: 47px;
  }
  .is-admin .session-card {
    padding: 16px;
  }
  .is-admin .session-card dd {
    font-size: 11px;
  }
  .is-admin #toast {
    bottom: calc(86px + env(safe-area-inset-bottom, 0px));
    font-size: 12px;
  }
}
@media (max-width: 370px) {
  .control-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .control-heading h1 {
    font-size: 28px;
  }
  .control-welcome {
    padding: 25px 22px;
  }
  .control-welcome h2 {
    font-size: 28px;
  }
  .control-metrics > button {
    padding: 16px 12px;
  }
  .control-metrics > button > span {
    font-size: 8px;
  }
  .control-filter-chips button {
    padding: 9px 6px;
    font-size: 8px;
  }
  .control-nav button {
    font-size: 7px;
  }
  .control-nav button .icon {
    width: 19px;
    height: 19px;
  }
  .control-task > .btn {
    font-size: 9px;
    padding: 8px;
  }
  .control-user-card .control-card-actions > .btn {
    font-size: 9px;
  }
  .control-user-head h2 {
    font-size: 16px;
  }
  .control-workspace-title h2 {
    font-size: 19px;
  }
  .control-variant-strip > button {
    font-size: 11px;
    padding: 11px 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .control-surface,
  .control-line-card,
  .control-user-card {
    animation: none;
  }
  .control-metrics > button,
  .control-line-card {
    transition: none;
  }
  .control-metrics > button:hover,
  .control-line-card:hover {
    transform: none;
  }
}
/* Accessible neutral text, with red / amber / green used only for statuses. */
.control-heading p,
.control-topline > span,
.control-rail-bottom,
.control-rail-bottom small,
.control-rail-bottom a,
.control-nav button,
.control-kicker,
.control-section-title .control-kicker,
.control-line-top .control-kicker,
.control-base-card .control-kicker,
.control-current .control-kicker,
.control-metrics > button > span,
.control-metrics small,
.control-task small,
.control-journal-mini strong,
.control-journal-mini small,
.control-card-note,
.control-route-heading small,
.control-workspace-title p,
.control-muted,
.control-base-card > p,
.control-workspace-aside .control-muted,
.control-history-item strong,
.control-history-item small,
.control-history-section summary,
.control-user-head p,
.control-last-seen,
.control-timeline-item time,
.control-result-count,
.control-bottom-note,
.control-list-heading,
.control-back,
.control-driver-summary,
.control-user-metrics span {
  color: #756c65;
}
.control-rail-label small {
  color: #8b817a;
}
.control-task strong,
.control-line-top > div > strong,
.control-journey strong,
.control-journey > span,
.control-section-title h2,
.control-route-heading h2,
.control-workspace-title h2,
.control-active-detour strong,
.control-current .control-section-title h2,
.control-history-section .control-section-title h2,
.control-base-card h2,
.control-workspace-aside h3,
.control-user-head h2,
.control-user-metrics b,
.control-timeline-item p {
  color: #3f3631;
}
.control-counter {
  color: #7e6854;
}
.control-tab-tags > span {
  color: #7f6855;
}
.control-tab-tags > span.deviated {
  color: #94681e;
}
.control-tab-tags > span.missing {
  color: #857666;
}
.control-filter-chips button {
  color: #796959;
}
.control-filter-chips button.active {
  color: #583f2d;
}
.control-filter-chips {
  background: #ece6df;
}
.control-journey strong:before {
  border-color: #b8a290;
}
.control-journey:before {
  border-color: #d0bdac;
}
.control-journey > span:before {
  border-color: #8c7360;
  background: #8c7360;
}
.control-explainer strong {
  color: #4b6747;
}
.control-explainer p,
.control-explainer > .icon {
  color: #4b6053;
}
.control-explainer.warning strong {
  color: #84631f;
}
.control-explainer.warning p,
.control-explainer.warning > .icon {
  color: #745b2b;
}
.control-file-link {
  color: #675a4e;
  border-color: #e6dfd5;
  background: #fcfaf7;
}
.control-file-link small {
  color: #8c7e70;
}
.control-file-link:hover {
  background: #f7f2eb;
  border-color: #ccbead;
}
.control-reference strong,
.control-active-detour small {
  color: #8f6c32;
}
.control-reference > span,
.control-active-detour p,
.control-notice {
  color: #9a7b49;
}
.control-active-label {
  color: #9a793a;
}
.control-ordinary-state h3 {
  color: #567046;
}
.control-ordinary-state p {
  color: #798870;
}
.control-ordinary-state > span {
  color: #728f59;
  background: #f1f6e9;
  border-color: #dfe8cf;
}
.control-schedule {
  color: #8a7d5b;
}
.control-schedule small {
  color: #9b8f73;
}
.control-base-card {
  background: #fafcf7;
  border-color: #e2e7da;
}
.control-base-icon {
  color: #71835e;
  background: #edf2e5;
}
.control-history-item {
  border-color: #eee9e2;
}
.control-history-dot {
  background: #d2c5b8;
}
.control-history-dot.current {
  background: #7f9c65;
}
.control-history-dot.draft {
  background: #aa95b8;
}
.control-beta-label {
  color: #76805d;
  background: #f5f6ed;
  border-color: #e1e4d0;
}
.control-user-avatar {
  color: #74925e;
  background: #f1f6e9;
  border-color: #e1e9d5;
}
.control-user-metrics b,
.control-driver-summary b {
  color: #49613d;
}
.control-user-card {
  border-color: #e6e1d9;
}
.control-device-note {
  background: #f7f9f1;
  border-color: #e1e7d7;
}
.control-device-indicator,
.control-device-note p,
.control-device-note summary {
  color: #536248;
}
.control-studio-routes .control-task strong {
  color: #587246;
}
.control-studio-routes .control-task small {
  color: #80966c;
}
.control-studio-routes .control-route-number {
  color: #63814e;
}
.control-studio-intro .control-beta-label {
  color: #c6d3b6;
}
.control-studio-intro > p,
.control-studio-steps span {
  color: #c2cbb6;
}
.control-loading {
  color: #758767;
  border-color: #dce5d0;
}
.control-empty {
  background: #fcfaf7;
  border-color: #dac8b4;
}
.control-empty h3 {
  color: #7f6144;
}
.control-empty p {
  color: #6b5849;
}
.control-empty > .icon {
  color: #b59a7d;
}
.control-danger-zone summary {
  color: #a15a60;
}
.control-danger-zone p {
  color: #af7c80;
}
.control-timeline-item time {
  color: #8a7c70;
}
.control-timeline-item > span {
  background: #f6f3ee;
  border-color: #e7ded2;
  color: #a08b73;
}
.control-timeline-item:before {
  background: #e9e0d6;
}
.control-timeline-item p {
  color: #5c4d40;
}
.is-admin .search input {
  color: #49392c;
  border-color: #e3d9cd;
}
.is-admin .search input::placeholder {
  color: #6b5849;
}
.is-admin .search .icon {
  color: #b29a82;
}
.is-admin .modal-header h2 {
  color: #45352b;
}
.is-admin .modal-header p {
  color: #8d7561;
}
.is-admin .modal-body h3,
.is-admin .modal-body .field label {
  color: #705743;
}
.is-admin .modal-body .field input,
.is-admin .modal-body .field select,
.is-admin .modal-body .field textarea {
  color: #513e2e;
}
.is-admin .modal-body .field small {
  color: #987f69;
}
.is-admin .modal-body .checkbox-line {
  color: #877756;
}
.is-admin .modal-body .info {
  color: #7a7a5c;
}
.is-admin .modal-body .info strong {
  color: #5c6042;
}
.is-admin .modal-body .info.amber {
  color: #95804a;
}
.is-admin .modal-body .admin-form-note {
  color: #a38e6b;
}
.is-admin .session-card h3 {
  color: #6e815b;
}
.is-admin .session-card p,
.is-admin .session-card dt {
  color: #92a17c;
}
.is-admin .session-card dd {
  color: #6a7d56;
}
.is-admin .modal-header .close {
  color: #95785a;
}
.is-admin .control-nav button.active {
  color: white;
}
.is-admin .control-light-button {
  color: #a91e35;
}
.control-studio-intro .control-beta-label {
  background: #ffffff0e;
  border-color: #ffffff22;
}
.control-workspace-aside .control-surface p {
  line-height: 1.9;
}
.is-admin .control-variant-strip > button {
  color: #8c765d;
}
.is-admin .control-variant-strip > button.active {
  color: #fff;
}
.is-admin .control-variant-strip {
  background: #eee9e2;
  border-color: #e3dbd0;
}
.is-admin .control-add-tab {
  color: #8d765a;
  border-color: #cdbb9e;
}
.is-admin .modal-body .pin-wrap button {
  color: #9e6849;
}
@media (max-width: 700px) {
  .is-admin .control-nav button.active {
    color: #bd2940;
  }
  .is-admin .control-nav button {
    color: #8d7e70;
  }
  .control-workspace-title > .btn {
    font-size: 11px;
  }
}
.control-preview-action {
  margin: 18px 0 5px;
}
.control-preview-action .btn {
  font-size: 11px;
  min-height: 43px;
}
#control-preview-map {
  height: 410px;
}
#control-preview-legend {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 15px;
  color: #756553;
}
@media (max-width: 700px) {
  #control-preview-map {
    height: 50svh;
    min-height: 300px;
  }
  .control-preview-action .btn {
    font-size: 11px;
    min-height: 45px;
  }
}
.is-admin .upload-box {
  border: 1px dashed #d9c5b0;
  background: #fffcf7;
  border-radius: 13px;
  padding: 17px;
  margin-top: 7px;
}
.is-admin .upload-box input[type='file'] {
  width: 100%;
  max-width: 100%;
  font-size: 11px;
  min-height: 43px;
  padding: 8px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  line-height: 1.8;
  color: #8a725c;
}
.is-admin .upload-box input::file-selector-button {
  background: #f2e6d8;
  border: 1px solid #e4d3bd;
  border-radius: 8px;
  color: #876244;
  padding: 10px 12px;
  margin-right: 12px;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.is-admin .upload-box .filename {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  color: #7b8960;
  margin-bottom: 10px;
}
.is-admin .error {
  background: #fff1f2;
  border: 1px solid #f2c7d0;
  color: #a12c42;
  padding: 14px 16px;
  border-radius: 11px;
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 20px;
}
.is-admin .btn .spinner {
  width: 15px;
  height: 15px;
  border-color: #ffffff60;
  border-top-color: #fff;
}
.is-admin .session-card h3 {
  font-size: 17px;
}
.is-admin .modal-body .checkbox-line input {
  accent-color: #c52941;
}
@media (max-width: 700px) {
  .is-admin .upload-box {
    padding: 13px;
  }
  .is-admin .upload-box input[type='file'] {
    font-size: 12px;
  }
  .is-admin .upload-box input::file-selector-button {
    font-size: 11px;
    padding: 10px;
    margin-right: 8px;
  }
  .is-admin .upload-box .filename {
    font-size: 11px;
  }
  .is-admin .error {
    font-size: 12px;
  }
}
