@font-face {
  font-family: Manrope;
  src: url("assets/manrope-regular.ttf");
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-semibold.ttf");
  font-weight: 600;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-bold.ttf");
  font-weight: 700 900;
}
:root {
  --bg: #f6f7f4;
  --paper: #fff;
  --ink: #23362d;
  --muted: #81877e;
  --green: #225c45;
  --green-dark: #194b39;
  --mint: #edf4e9;
  --border: #e6e9e2;
  --lime: #c5dfa6;
  --sidebar: 226px;
  --radius: 13px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
  background: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #87b79b;
  outline-offset: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
.icon.small {
  width: 16px;
  height: 16px;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
[hidden] {
  display: none !important;
}
.sidebar {
  width: var(--sidebar);
  position: fixed;
  left: 0;
  top: 0;
  height: 100dvh;
  border-right: 1px solid var(--border);
  background: #fcfdfb;
  display: flex;
  flex-direction: column;
  padding: 32px 18px 0;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  font-size: 33px;
  font-weight: 800;
  letter-spacing: -1.5px;
  gap: 9px;
  padding-left: 9px;
  line-height: 1;
}
.brand-symbol {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #d9edc6;
}
.brand-symbol .icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.7;
}
.brand-dot {
  margin-left: -9px;
  color: #76a66e;
}
.workspace-label {
  font-size: 8px;
  letter-spacing: 2.25px;
  color: #8c9588;
  padding: 13px 0 0 54px;
}
.sidebar nav {
  margin-top: 47px;
}
.nav-section-title {
  font-size: 9px;
  letter-spacing: 1.4px;
  font-weight: 600;
  color: #9a9f96;
  padding: 0 14px 13px;
}
.nav-section-title.second {
  margin-top: 31px;
}
.nav-item {
  display: flex;
  gap: 13px;
  align-items: center;
  position: relative;
  padding: 13px 14px;
  border-radius: 7px;
  font-weight: 600;
  color: #747e72;
  font-size: 12px;
  margin-bottom: 5px;
  transition: background 0.18s;
}
.nav-item:hover {
  background: #f0f3eb;
}
.nav-item .icon {
  width: 19px;
  height: 19px;
  stroke-width: 1.6;
}
.nav-item.active {
  background: var(--green);
  color: white;
  box-shadow: 0 3px 7px #18412a0c;
}
.active-dot {
  display: none;
  width: 5px;
  height: 5px;
  background: #c5dfa6;
  border-radius: 50%;
  margin-left: auto;
}
.active .active-dot {
  display: block;
}
.nav-count {
  margin-left: auto;
  background: #edf0e8;
  border-radius: 5px;
  font-size: 10px;
  padding: 2px 6px;
  color: #79846f;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 42px;
}
.help-card {
  border: 1px solid #e3e8d9;
  background: linear-gradient(125deg, #f1f5e9, #f7f8f0);
  padding: 16px 14px 14px;
  border-radius: 10px;
}
.help-symbol {
  display: block;
  color: #649151;
  margin-bottom: 10px;
}
.help-symbol .icon {
  width: 23px;
  height: 23px;
}
.help-card strong {
  font-size: 11px;
  letter-spacing: -0.2px;
}
.help-card p {
  color: #89917e;
  font-size: 10px;
  line-height: 1.9;
  margin: 7px 0 12px;
}
.text-button {
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0;
}
.text-button .icon {
  width: 15px;
  height: 15px;
}
.support-link {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  font-size: 10px;
  color: #7d8579;
  padding: 24px 9px;
}
.support-link .icon:last-child {
  margin-left: auto;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding: 18px 7px 22px;
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #e9eee1;
  font-size: 10px;
  color: #67775c;
  font-weight: 700;
}
.profile strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
}
.profile div > span {
  font-size: 9px;
  color: #92988c;
  display: block;
  margin-top: 3px;
}
.profile-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ca776;
  margin-left: auto;
}
.app-shell {
  margin-left: var(--sidebar);
}
.topbar {
  height: 73px;
  padding: 0 34px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fcfdfb;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
}
.breadcrumbs > span {
  color: #92978e;
}
.breadcrumbs > .icon {
  width: 12px;
  height: 12px;
  color: #b3b9ac;
}
.breadcrumbs strong {
  font-weight: 600;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 23px;
}
.local-badge {
  font-size: 10px;
  color: #89917f;
  display: flex;
  align-items: center;
  gap: 7px;
}
.local-badge > span,
.tiny-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #729466;
}
.icon-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  color: #7c8578;
  padding: 0;
}
.icon-button:hover {
  background: #edf1e9;
  color: var(--green);
}
.mobile-menu {
  display: none;
}
main {
  padding: 30px 33px 18px;
  max-width: 1800px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 8px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: #8b957f;
  margin-bottom: 9px;
}
.page-heading h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.4;
  letter-spacing: -1.05px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.page-heading p {
  font-size: 11px;
  color: #899082;
  margin: 7px 0 0;
  line-height: 1.6;
}
.demo-badge {
  font-size: 8px;
  font-weight: 600;
  color: #93793d;
  background: #f3eddc;
  border: 1px solid #eae1c9;
  border-radius: 4px;
  padding: 4px 7px;
  letter-spacing: 0;
  white-space: nowrap;
}
.demo-badge.live {
  background: #e8f2e6;
  border-color: #c9dec6;
  color: var(--green);
}
.heading-actions {
  display: flex;
  gap: 9px;
  margin-top: 12px;
  flex-shrink: 0;
}
.button {
  border-radius: 7px;
  padding: 11px 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
  transition:
    background 0.2s,
    transform 0.2s;
  white-space: nowrap;
}
.button .icon {
  width: 16px;
  height: 16px;
}
.button.primary {
  color: white;
  background: var(--green);
  border: 1px solid var(--green);
}
.button.primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}
.button.secondary {
  background: #fdfefb;
  border: 1px solid #dde3d7;
}
.button.secondary:hover {
  background: #eef3e9;
}
.button.quiet {
  color: #798371;
  background: transparent;
}
.button.quiet:hover {
  background: #f6f8f1;
}
.button.wide {
  width: 100%;
}
.placement-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 309px;
  gap: 20px;
  align-items: start;
}
.visual-column {
  min-width: 0;
}
.camera-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
  box-shadow: 0 3px 8px #1f332805;
}
.camera-header {
  height: 58px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.camera-title {
  display: flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
}
.camera-title > .icon {
  width: 17px;
  height: 17px;
  color: #81917b;
}
.camera-title > strong {
  font-size: 11px;
  font-weight: 700;
}
.view-state {
  font-size: 8px;
  color: #8c9586;
  margin-left: 9px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.view-state > span {
  width: 4px;
  height: 4px;
  background: #92a285;
  border-radius: 50%;
}
.camera-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.camera-select {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 9px;
  color: #818a77;
  padding: 3px 0;
}
.vertical-divider {
  height: 15px;
  width: 1px;
  background: #e4e8df;
  display: block;
}
.stage {
  position: relative;
  aspect-ratio: 4/3;
  background: #e1e2dd;
  overflow: hidden;
  touch-action: none;
}
.stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: crosshair;
}
.stage-top {
  position: absolute;
  top: 19px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  pointer-events: none;
  gap: 10px;
}
.tracking-chip {
  background: #fcfdf9e8;
  backdrop-filter: blur(10px);
  border: 1px solid #ffffff8a;
  border-radius: 6px;
  padding: 9px 10px;
  display: flex;
  gap: 7px;
  box-shadow: 0 2px 7px #38462b05;
}
.tracking-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6c976b;
  margin-top: 3px;
}
.tracking-chip strong {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.6px;
  display: block;
  color: #57764e;
}
.tracking-chip div > span {
  font-size: 8px;
  display: block;
  margin-top: 4px;
  color: #8a9480;
}
.stage-button {
  pointer-events: auto;
  background: #fffef8ed;
  border: 1px solid #ffffff9c;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #5d7056;
  padding: 8px 10px;
  font-size: 8px;
  box-shadow: 0 2px 6px #2e3a2507;
}
.stage-button .icon {
  width: 13px;
  height: 13px;
}
.stage-button:hover {
  background: white;
}
.stage-bottom {
  position: absolute;
  bottom: 20px;
  left: 23px;
  right: 21px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  pointer-events: none;
}
.scale-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #7b8373;
  font-size: 7px;
  gap: 5px;
}
.scale-indicator i {
  display: block;
  width: 58px;
  height: 5px;
  border: 1px solid #7b8373;
  border-top: 0;
}
.view-direction {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #878f7c;
  font-size: 7px;
  letter-spacing: 1px;
}
.camera-toolbar {
  height: 53px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  border-bottom: 1px solid #edf0e9;
}
.overlay-buttons {
  display: flex;
  gap: 7px;
}
.tool-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  padding: 7px 8px;
  font-size: 9px;
  color: #9ba18f;
}
.tool-toggle .icon {
  width: 14px;
  height: 14px;
}
.tool-toggle.active {
  color: #54764b;
  background: #f1f5ec;
}
.tool-toggle:hover {
  background: #f3f5f0;
}
.zoom-controls {
  display: flex;
  align-items: center;
  gap: 3px;
}
#zoomValue {
  font-size: 9px;
  color: #8b9381;
  min-width: 44px;
  padding: 0;
}
.zoom-controls .vertical-divider {
  margin: 0 8px;
}
.placement-status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 16px 18px;
  min-height: 70px;
}
.status-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f0f5e8;
  color: #6d9158;
  flex-shrink: 0;
}
.status-icon .icon {
  width: 15px;
  height: 15px;
}
.placement-status strong {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #446a37;
}
.placement-status div > span {
  display: block;
  font-size: 8px;
  color: #9a9e90;
  margin-top: 5px;
}
.small-tag {
  font-size: 7px;
  letter-spacing: 0.7px;
  color: #9aa38f;
  margin-left: auto;
  padding: 4px 6px;
  border: 1px solid #e9ede2;
  border-radius: 4px;
  white-space: nowrap;
}
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 11px;
  margin-top: 16px;
}
.metric {
  border: 1px solid var(--border);
  background: #fcfdfb;
  border-radius: 10px;
  padding: 17px 12px 14px;
  display: flex;
  align-items: start;
  gap: 10px;
  position: relative;
  min-height: 97px;
}
.metric-icon {
  width: 30px;
  height: 30px;
  background: #f0f3eb;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a9c7c;
  margin-top: 2px;
  flex-shrink: 0;
}
.metric-icon .icon {
  width: 17px;
  height: 17px;
}
.metric div > span {
  font-size: 8px;
  color: #8e9585;
  display: block;
  white-space: nowrap;
}
.metric strong {
  font-size: 21px;
  letter-spacing: -0.7px;
  font-weight: 600;
  display: block;
  margin-top: 6px;
  white-space: nowrap;
}
.metric strong small {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  color: #a0a692;
  margin-left: 2px;
}
.metric-note {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 7px;
  color: #92a082;
}
.workspace-tip {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 16px 3px;
  color: #a0a694;
}
.workspace-tip > .icon {
  width: 14px;
  height: 14px;
}
.workspace-tip p {
  font-size: 8px;
  margin: 0;
  line-height: 1.6;
}
.workspace-tip strong {
  font-weight: 600;
  color: #7a886b;
}
.workspace-tip button {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  color: #7f906d;
  margin-left: auto;
  white-space: nowrap;
}
.settings-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.settings-heading {
  height: 58px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 9px;
  border-bottom: 1px solid #edf0e9;
}
.settings-heading > .icon {
  width: 16px;
  height: 16px;
  color: #7d8c73;
}
.settings-heading h2 {
  font-size: 11px;
  margin: 0;
  letter-spacing: -0.1px;
  font-weight: 700;
}
.settings-heading .icon-button {
  margin-left: auto;
}
.settings-body {
  padding: 18px 20px 10px;
}
.segmented {
  display: flex;
  padding: 4px;
  background: #f4f6f0;
  border-radius: 7px;
  gap: 3px;
  margin-bottom: 22px;
}
.segmented button {
  flex: 1;
  font-size: 10px;
  padding: 7px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #8e9783;
  border-radius: 5px;
}
.segmented button.selected {
  background: white;
  color: var(--green);
  box-shadow: 0 1px 4px #223c1710;
}
.segmented .icon {
  width: 13px;
  height: 13px;
}
.setting-section {
  border-bottom: 1px solid #edf0e8;
  padding-bottom: 21px;
  margin-bottom: 19px;
}
.setting-section h3 {
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
}
.step-number {
  font-size: 8px;
  letter-spacing: 0.4px;
  color: #9fa98f;
  background: #f4f6ee;
  padding: 3px 4px;
  border-radius: 4px;
  font-weight: 500;
}
.field-label {
  display: block;
  color: #88927e;
  font-size: 9px;
  margin-bottom: 8px;
}
.garment-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 16px;
}
.garment-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e9df;
  gap: 6px;
  border-radius: 6px;
  height: 66px;
  font-size: 9px;
  color: #96a08b;
  transition: all 0.2s;
}
.garment-option .icon {
  width: 23px;
  height: 23px;
  stroke-width: 1.3;
}
.garment-option.selected {
  background: #f0f5ea;
  color: var(--green);
  border-color: #a8bb98;
}
.garment-option:hover {
  border-color: #a8bb98;
}
.with-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.with-info span {
  font-size: 7px;
  color: #a8ae9d;
}
.sizes {
  display: flex;
  gap: 6px;
}
.sizes button {
  flex: 1;
  border: 1px solid #e4e8dd;
  border-radius: 5px;
  padding: 8px 0;
  font-size: 9px;
  color: #8b957e;
}
.sizes button.selected {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.upload-zone {
  border: 1px dashed #d6ddcd;
  border-radius: 7px;
  background: #fdfefb;
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  padding: 12px 10px;
  width: 100%;
  margin-bottom: 15px;
  transition: background 0.2s;
  min-width: 0;
}
.upload-zone:hover {
  background: #f2f6eb;
  border-color: #a0b78d;
}
.upload-icon {
  width: 30px;
  height: 30px;
  border: 1px solid #e8edde;
  border-radius: 6px;
  color: #8e9f7b;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.upload-icon .icon {
  width: 16px;
  height: 16px;
}
.upload-zone > span:nth-child(2) {
  min-width: 0;
}
.upload-zone strong {
  font-size: 9px;
  font-weight: 600;
  color: #707f60;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 160px;
}
.upload-zone small {
  font-size: 7px;
  color: #a1a995;
  display: block;
  margin-top: 5px;
}
.upload-zone > .icon {
  color: #a4ae98;
  margin-left: auto;
  width: 13px;
}
.dimensions {
  display: flex;
  gap: 7px;
  align-items: end;
}
.dimensions label {
  flex: 1;
  min-width: 0;
}
.number-field {
  display: flex;
  align-items: center;
  border: 1px solid #e3e7dc;
  border-radius: 5px;
  height: 34px;
  padding: 0 10px;
  gap: 3px;
}
.number-field input {
  border: 0;
  width: 100%;
  outline: none;
  min-width: 0;
  background: transparent;
  color: #5d6c50;
  font-size: 11px;
  -moz-appearance: textfield;
}
.number-field > span {
  font-size: 9px;
  color: #adb49f;
}
.link-button {
  width: 24px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5a2;
  flex-shrink: 0;
}
.link-button .icon {
  width: 16px;
  height: 16px;
}
.link-button.active {
  color: var(--green);
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.position-section {
  padding-bottom: 18px;
  margin-bottom: 15px;
}
.heart-select {
  display: flex;
  align-items: center;
  border: 1px solid #e2e7d8;
  border-radius: 6px;
  padding: 0 10px;
  margin-bottom: 13px;
  height: 36px;
  gap: 8px;
}
.heart-select > .icon {
  width: 15px;
  height: 15px;
  color: #8a9b76;
}
.heart-select select {
  border: 0;
  flex: 1;
  background: none;
  appearance: none;
  outline: none;
  color: #60744f;
  font-size: 10px;
  min-width: 0;
  cursor: pointer;
}
.offset-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 9px;
  color: #8a957d;
}
.compact-input {
  border: 1px solid #e5e9de;
  border-radius: 5px;
  height: 28px;
  display: flex;
  align-items: center;
  width: 77px;
  padding: 0 7px;
  gap: 3px;
}
.compact-input input {
  width: 100%;
  border: 0;
  outline: none;
  font-size: 9px;
  color: #60764f;
  background: transparent;
}
.compact-input span {
  font-size: 8px;
  color: #a1aa92;
}
.offset-note {
  font-size: 7px;
  color: #b0b7a4;
  margin: 7px 0 13px;
}
.auto-adjust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eff2e9;
  padding-top: 12px;
}
.auto-adjust strong {
  display: block;
  font-size: 9px;
  font-weight: 600;
  color: #708261;
}
.auto-adjust div > span {
  display: block;
  font-size: 7px;
  color: #a5af97;
  margin-top: 4px;
}
.switch {
  width: 29px;
  height: 17px;
  border-radius: 20px;
  background: #d4dbce;
  padding: 2px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.switch > span {
  display: block;
  background: white;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  transition: transform 0.2s;
}
.switch.on {
  background: var(--green);
}
.switch.on > span {
  transform: translateX(12px);
}
.settings-actions .button {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 9px;
}
.settings-actions .button.quiet {
  font-size: 8px;
  margin-top: 3px;
}
.session-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  color: #a6ad9b;
  padding-top: 4px;
  gap: 10px;
}
.session-footer > span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.session-footer .icon {
  width: 12px;
  height: 12px;
}
.canvas-instruction {
  position: absolute;
  left: 50%;
  bottom: 55px;
  transform: translateX(-50%);
  padding: 10px 15px;
  background: #194b39ee;
  border: 1px solid #b3c8a652;
  color: white;
  border-radius: 7px;
  font-size: 11px;
  line-height: 1.5;
  box-shadow: 0 4px 18px #17251626;
  max-width: 90%;
  text-align: center;
  min-width: 250px;
  pointer-events: none;
}
.camera-card:fullscreen {
  background: #f6f7f4;
  display: flex;
  flex-direction: column;
  padding: 0 6vw;
}
.camera-card:fullscreen .stage {
  height: calc(100dvh - 170px);
  aspect-ratio: auto;
}
.camera-card:fullscreen canvas {
  object-fit: contain;
}
.camera-card:fullscreen .camera-header,
.camera-card:fullscreen .camera-toolbar {
  flex-shrink: 0;
}
.section-heading h1 {
  font-size: 30px;
  margin: 0 0 8px;
  letter-spacing: -1px;
}
.section-heading p {
  font-size: 12px;
  color: #8a947f;
  line-height: 1.8;
  max-width: 700px;
}
.section-heading {
  margin-bottom: 28px;
}
.section-heading.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.section-panel {
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
}
.section-panel h2 {
  font-size: 16px;
  margin: 0 0 12px;
}
.section-panel p {
  font-size: 12px;
  line-height: 1.9;
  color: #849078;
}
.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.template-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  overflow: hidden;
}
.template-art {
  height: 190px;
  background: #ecf0e7;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image:
    linear-gradient(#d9e1d333 1px, transparent 1px),
    linear-gradient(90deg, #d9e1d333 1px, transparent 1px);
  background-size: 20px 20px;
}
.template-art > .icon {
  width: 112px;
  height: 112px;
  color: #829779;
  stroke-width: 0.8;
}
.template-art > span {
  position: absolute;
  font-size: 8px;
  background: #e5efdc;
  color: #6d8a57;
  border: 1px dashed #86a16c;
  left: 53%;
  top: 45%;
  padding: 8px 12px;
}
.template-card-body {
  padding: 21px;
}
.template-card-body h2 {
  font-size: 15px;
  margin: 0 0 7px;
}
.template-card-body p {
  font-size: 10px;
  color: #96a08b;
}
.template-meta {
  display: flex;
  gap: 5px;
  margin: 15px 0;
}
.template-meta span {
  font-size: 9px;
  background: #f3f6ef;
  color: #80906f;
  border-radius: 4px;
  padding: 4px 7px;
}
.template-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}
.empty-state {
  padding: 70px 20px;
  text-align: center;
  border: 1px dashed #d9e1cf;
  background: #fbfcf8;
  border-radius: 12px;
}
.empty-state > .icon {
  width: 40px;
  height: 40px;
  color: #99ad87;
  margin-bottom: 16px;
}
.empty-state h2 {
  font-size: 19px;
}
.empty-state p {
  font-size: 12px;
  color: #8b987f;
  margin-bottom: 22px;
}
.history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.history-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}
.history-item img {
  width: 100px;
  height: 75px;
  object-fit: cover;
  border-radius: 5px;
  background: #e4e8de;
}
.history-details {
  flex: 1;
}
.history-details h3 {
  font-size: 13px;
  margin: 0 0 8px;
}
.history-details p {
  font-size: 10px;
  color: #8d9a80;
  margin: 4px 0;
}
.history-actions {
  display: flex;
  gap: 9px;
}
.two-column {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
}
.numbered-steps {
  list-style: none;
  padding: 0;
  margin: 23px 0;
}
.numbered-steps li {
  display: flex;
  gap: 13px;
  margin-bottom: 23px;
  align-items: start;
}
.numbered-steps li > span {
  background: #eef4e7;
  border: 1px solid #e4ecd9;
  border-radius: 50%;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c8857;
  font-size: 11px;
}
.numbered-steps strong {
  display: block;
  font-size: 12px;
}
.numbered-steps p {
  margin: 5px 0 0;
  font-size: 11px;
  line-height: 1.8;
  color: #919c85;
}
.calibration-illustration {
  background: #eef1e8;
  border-radius: 8px;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 22px;
  background-image:
    linear-gradient(#d9e1d355 1px, transparent 1px),
    linear-gradient(90deg, #d9e1d355 1px, transparent 1px);
  background-size: 20px 20px;
}
.red-square {
  width: 75px;
  height: 75px;
  background: #d55043;
  box-shadow: 0 5px 15px #97332315;
  position: relative;
}
.red-square:before {
  content: "REPÈRE";
  position: absolute;
  bottom: -28px;
  width: 100%;
  text-align: center;
  font-size: 8px;
  letter-spacing: 1px;
  color: #8b9781;
}
.cal-corner {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 2px solid white;
  background: var(--green);
  border-radius: 50%;
}
.cal-corner:nth-child(1) {
  top: -4px;
  left: -4px;
}
.cal-corner:nth-child(2) {
  top: -4px;
  right: -4px;
}
.cal-corner:nth-child(3) {
  bottom: -4px;
  right: -4px;
}
.cal-corner:nth-child(4) {
  bottom: -4px;
  left: -4px;
}
.notice {
  background: #f3f6ed;
  border: 1px solid #e6edda;
  padding: 13px 15px;
  border-radius: 7px;
  font-size: 11px;
  line-height: 1.8;
  color: #7d8e6a;
  margin: 18px 0;
}
.notice.warn {
  background: #fbf6e9;
  border-color: #eee4ca;
  color: #988044;
}
.inline-fields {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}
.inline-fields label {
  flex: 1;
}
.inline-fields .number-field {
  height: 40px;
  background: #fdfefb;
}
.form-label {
  font-size: 11px;
  display: block;
  margin-bottom: 8px;
  color: #829173;
}
.text-field {
  width: 100%;
  border: 1px solid #dce4d3;
  border-radius: 6px;
  padding: 11px;
  background: #fdfefb;
  font-size: 12px;
  color: #485f3a;
}
.number-field:focus-within,
.compact-input:focus-within {
  outline: 2px solid #87b79b;
  outline-offset: 2px;
}
.device-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #edf1e7;
  gap: 12px;
}
.device-row strong {
  display: block;
  font-size: 12px;
}
.device-row p {
  margin: 5px 0 0;
  font-size: 10px;
}
.device-symbol {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5ea;
  border-radius: 10px;
  color: #879c73;
  flex-shrink: 0;
}
.device-row > div:nth-child(2) {
  flex: 1;
}
.status-pill {
  font-size: 9px;
  background: #f2f4ed;
  border: 1px solid #e4eadb;
  padding: 5px 8px;
  border-radius: 20px;
  color: #8b9a7c;
}
.device-select {
  width: 100%;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fafcf6;
  font-size: 11px;
  margin: 10px 0 18px;
}
.privacy-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #93a183;
  margin-top: 18px;
}
.section-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.section-footer-note {
  font-size: 10px;
  color: #98a28c;
  margin: 22px 0;
  line-height: 1.8;
}
dialog {
  border: 1px solid #dde5d6;
  border-radius: 15px;
  padding: 28px;
  width: min(540px, calc(100% - 32px));
  color: var(--ink);
  box-shadow: 0 22px 90px #122b2130;
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #1a302963;
  backdrop-filter: blur(4px);
}
.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 23px;
}
.modal-top h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
  margin: 0;
}
.modal-top .eyebrow {
  display: block;
}
.modal-top > .icon-button {
  flex-shrink: 0;
  margin-top: 4px;
}
#modalBody > p {
  font-size: 12px;
  line-height: 1.9;
  color: #829176;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 23px;
}
.guide-step {
  display: flex;
  gap: 13px;
  margin: 20px 0;
}
.guide-step > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #edf4e6;
  color: #789763;
  font-size: 12px;
  flex-shrink: 0;
}
.guide-step h3 {
  font-size: 12px;
  margin: 0 0 6px;
}
.guide-step p {
  font-size: 11px;
  color: #8b9880;
  line-height: 1.8;
  margin: 0;
}
.source-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px;
  border: 1px solid #e0e7d8;
  border-radius: 8px;
  margin-top: 10px;
  text-align: left;
}
.source-option:hover {
  background: #f2f6eb;
  border-color: #bbcca9;
}
.source-option > .icon {
  color: #72905d;
}
.source-option strong {
  display: block;
  font-size: 12px;
}
.source-option small {
  display: block;
  font-size: 10px;
  color: #93a084;
  margin-top: 5px;
}
.source-option > .icon:last-child {
  margin-left: auto;
}
.modal-preview {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}
.modal-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.modal-summary div {
  padding: 11px;
  background: #f3f6ee;
  border-radius: 6px;
}
.modal-summary span {
  font-size: 9px;
  color: #97a288;
  display: block;
}
.modal-summary strong {
  font-size: 12px;
  display: block;
  margin-top: 5px;
}
.checkbox-row {
  display: flex;
  align-items: start;
  gap: 8px;
  font-size: 11px;
  line-height: 1.7;
  color: #7e8d71;
  margin-top: 16px;
}
.checkbox-row input {
  accent-color: var(--green);
  margin-top: 3px;
}
#toast {
  position: fixed;
  bottom: 27px;
  left: calc(50% + var(--sidebar) / 2);
  transform: translate(-50%, 20px);
  background: #224e3d;
  color: #f3f8ed;
  box-shadow: 0 8px 25px #1e382c30;
  font-size: 12px;
  line-height: 1.6;
  border: 1px solid #4e7962;
  border-radius: 9px;
  padding: 13px 20px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 100;
  max-width: calc(100vw - 32px);
  width: max-content;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1600px) {
  :root {
    --sidebar: 246px;
  }
  main {
    padding: 38px 42px 20px;
  }
  .placement-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 25px;
  }
  .settings-body {
    padding: 20px 24px 15px;
  }
  .setting-section {
    padding-bottom: 25px;
    margin-bottom: 23px;
  }
  .garment-option {
    height: 75px;
  }
  .page-heading h1 {
    font-size: 32px;
  }
  .stage {
    max-height: 710px;
  }
  .settings-heading,
  .camera-header {
    height: 62px;
  }
  .camera-title > strong {
    font-size: 13px;
  }
  .button {
    font-size: 11px;
    padding: 12px 16px;
  }
  .settings-actions .button {
    font-size: 11px;
  }
  .sidebar {
    padding-top: 38px;
  }
  .nav-item {
    font-size: 13px;
    padding: 15px;
  }
  .metric {
    min-height: 107px;
  }
  .metric div > span {
    font-size: 10px;
  }
  .metric strong {
    font-size: 24px;
  }
  .tracking-chip strong {
    font-size: 9px;
  }
  .tracking-chip div > span,
  .stage-button {
    font-size: 10px;
  }
}
@media (max-width: 1220px) {
  :root {
    --sidebar: 198px;
  }
  .sidebar {
    padding-left: 13px;
    padding-right: 13px;
  }
  .brand {
    font-size: 30px;
  }
  .brand-symbol {
    width: 31px;
    height: 31px;
  }
  .workspace-label {
    font-size: 7px;
    padding-left: 48px;
  }
  main {
    padding: 25px 23px 18px;
  }
  .placement-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 15px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .heading-actions {
    gap: 6px;
  }
  .heading-actions .button {
    padding: 9px 10px;
    font-size: 9px;
  }
  .settings-body {
    padding: 16px;
  }
  .settings-heading {
    padding: 0 16px;
  }
  .camera-header {
    padding: 0 13px;
  }
  .view-state {
    display: none;
  }
  .metric {
    gap: 7px;
    padding: 13px 9px;
  }
  .metric-icon {
    width: 25px;
    height: 25px;
  }
  .metric div > span {
    font-size: 7px;
  }
  .metric strong {
    font-size: 18px;
  }
  .metric-note {
    font-size: 6px;
  }
  .workspace-tip button {
    display: none;
  }
  .camera-toolbar {
    padding: 0 8px;
  }
  .tool-toggle {
    gap: 4px;
    padding: 7px 5px;
    font-size: 8px;
  }
  .overlay-buttons {
    gap: 3px;
  }
  .zoom-controls .vertical-divider {
    margin: 0 3px;
  }
  .camera-actions {
    gap: 6px;
  }
  .help-card strong {
    font-size: 10px;
  }
  .help-card {
    padding: 13px 11px;
  }
  .template-grid {
    gap: 15px;
  }
  .stage {
    aspect-ratio: 1.16;
  }
}
@media (max-width: 1000px) {
  :root {
    --sidebar: 76px;
  }
  .sidebar {
    padding: 27px 12px 0;
    align-items: center;
  }
  .brand {
    padding: 0;
    font-size: 0;
    gap: 0;
  }
  .brand-symbol {
    width: 39px;
    height: 39px;
  }
  .brand-dot,
  .workspace-label,
  .nav-section-title,
  .help-card,
  .profile div,
  .profile-status,
  .support-link,
  .nav-count,
  .active-dot {
    display: none !important;
  }
  .sidebar nav {
    width: 100%;
    margin-top: 43px;
  }
  .nav-item {
    font-size: 0;
    padding: 15px;
    margin-bottom: 9px;
    gap: 0;
  }
  .nav-item .icon {
    width: 20px;
    height: 20px;
  }
  .nav-item:nth-of-type(4) {
    margin-top: 25px;
  }
  .profile {
    padding: 20px 0;
  }
  .sidebar-bottom {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .topbar {
    padding: 0 24px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading .eyebrow {
    font-size: 7px;
  }
  .heading-actions .secondary {
    display: none;
  }
  .metrics {
    gap: 8px;
  }
  .template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .two-column {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
}
@media (max-width: 790px) {
  main {
    padding: 25px 20px 20px;
  }
  .placement-layout {
    grid-template-columns: 1fr;
  }
  .stage {
    aspect-ratio: 4/3;
  }
  .settings-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 25px;
    padding: 20px;
  }
  .segmented {
    grid-column: 1/-1;
    max-width: 280px;
  }
  .settings-body .garment-section {
    grid-column: 1;
  }
  .settings-body .transfer-section {
    grid-column: 2;
    grid-row: 2;
  }
  .position-section {
    grid-column: 1;
    grid-row: 3;
    border: 0;
    margin-bottom: 0;
  }
  .settings-actions {
    grid-column: 2;
    grid-row: 3;
    align-self: end;
    padding-bottom: 15px;
  }
  .metrics {
    gap: 12px;
  }
  .metric {
    padding: 16px 12px;
    min-height: 100px;
  }
  .metric div > span {
    font-size: 8px;
  }
  .metric strong {
    font-size: 22px;
  }
  .camera-title > strong {
    font-size: 12px;
  }
  .view-state {
    display: flex;
  }
  .tool-toggle {
    font-size: 10px;
    padding: 7px 9px;
  }
  .camera-toolbar {
    padding: 0 14px;
  }
  .zoom-controls .vertical-divider {
    margin: 0 10px;
  }
  .session-footer {
    padding-top: 20px;
  }
  .two-column {
    grid-template-columns: 1fr;
  }
  .section-heading.flex {
    align-items: start;
  }
  .history-item {
    gap: 12px;
  }
  .history-actions {
    flex-wrap: wrap;
    max-width: 95px;
  }
  .history-item img {
    width: 80px;
    height: 65px;
  }
  .local-badge {
    font-size: 9px;
  }
  .tracking-chip strong {
    font-size: 8px;
  }
  .tracking-chip div > span {
    font-size: 9px;
  }
  .stage-button {
    font-size: 9px;
  }
  .workspace-tip p {
    font-size: 9px;
  }
}
@media (max-width: 540px) {
  :root {
    --sidebar: 0px;
  }
  .sidebar {
    width: 225px;
    transform: translateX(-100%);
    transition: transform 0.2s;
    align-items: stretch;
    padding: 28px 18px 0;
    box-shadow: 10px 0 40px #21372420;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar .brand {
    font-size: 33px;
    gap: 9px;
  }
  .sidebar .brand-dot,
  .sidebar .workspace-label,
  .sidebar .nav-section-title,
  .sidebar .help-card,
  .sidebar .profile div,
  .sidebar .profile-status,
  .sidebar .support-link,
  .sidebar .nav-count {
    display: initial !important;
  }
  .sidebar .brand-dot {
    margin-left: -9px;
  }
  .sidebar .nav-item {
    font-size: 12px;
    gap: 12px;
  }
  .sidebar .sidebar-bottom {
    display: block;
  }
  .sidebar .profile {
    padding: 18px 5px;
  }
  .sidebar .support-link {
    display: flex !important;
    font-size: 10px;
  }
  .sidebar .workspace-label {
    padding: 12px 0 0 54px;
  }
  .sidebar .nav-section-title {
    display: block !important;
  }
  .topbar {
    height: 59px;
    padding: 0 18px;
  }
  .mobile-menu {
    display: flex;
    margin-left: -6px;
  }
  .breadcrumbs {
    gap: 9px;
    font-size: 10px;
  }
  .topbar-right {
    gap: 7px;
  }
  .local-badge {
    font-size: 0;
    gap: 0;
  }
  .local-badge span {
    width: 6px;
    height: 6px;
  }
  main {
    padding: 24px 16px;
  }
  .page-heading {
    align-items: start;
    margin-bottom: 23px;
    gap: 10px;
  }
  .page-heading h1 {
    font-size: 24px;
    gap: 7px;
    letter-spacing: -0.8px;
  }
  .page-heading p {
    font-size: 10px;
    max-width: 230px;
  }
  .page-heading .demo-badge {
    font-size: 7px;
  }
  .heading-actions {
    margin: 21px 0 0;
  }
  .heading-actions .primary {
    font-size: 0;
    padding: 9px;
    gap: 0;
    border-radius: 7px;
  }
  .heading-actions .primary .icon {
    width: 17px;
    height: 17px;
  }
  .view-state {
    display: none;
  }
  .camera-title {
    gap: 6px;
  }
  .camera-title > strong {
    font-size: 10px;
  }
  .camera-actions {
    gap: 4px;
  }
  .camera-select {
    font-size: 8px;
    gap: 4px;
  }
  .camera-header {
    height: 52px;
    padding: 0 11px;
  }
  .stage-top {
    top: 12px;
    left: 11px;
    right: 11px;
  }
  .tracking-chip {
    padding: 7px;
  }
  .tracking-chip strong {
    font-size: 6px;
  }
  .tracking-chip div > span {
    font-size: 7px;
  }
  .stage-button {
    font-size: 7px;
    padding: 7px 6px;
    gap: 4px;
  }
  .stage-button .icon {
    width: 10px;
    height: 10px;
  }
  .stage-bottom {
    bottom: 12px;
    left: 14px;
    right: 14px;
  }
  .scale-indicator {
    font-size: 6px;
  }
  .scale-indicator i {
    width: 38px;
  }
  .view-direction {
    font-size: 6px;
  }
  .camera-toolbar {
    padding: 0 9px;
    height: 48px;
  }
  .tool-toggle {
    font-size: 8px;
    padding: 6px;
  }
  .overlay-buttons {
    gap: 2px;
  }
  .tool-toggle .icon {
    width: 12px;
    height: 12px;
  }
  .zoom-controls .icon-button {
    width: 23px;
  }
  .zoom-controls .vertical-divider {
    margin: 0 2px;
  }
  #zoomValue {
    font-size: 8px;
    min-width: 36px;
  }
  .placement-status {
    padding: 13px 12px;
    gap: 7px;
    min-height: 65px;
  }
  .placement-status strong {
    font-size: 9px;
  }
  .placement-status div > span {
    font-size: 7px;
    line-height: 1.6;
    max-width: 210px;
  }
  .small-tag {
    display: none;
  }
  .metrics {
    gap: 7px;
    margin-top: 11px;
  }
  .metric {
    padding: 12px 9px 18px;
    display: block;
    min-height: 111px;
  }
  .metric-icon {
    width: 23px;
    height: 23px;
    margin: 0 0 7px;
  }
  .metric-icon .icon {
    width: 14px;
    height: 14px;
  }
  .metric div > span {
    font-size: 7px;
  }
  .metric strong {
    font-size: 19px;
    margin-top: 4px;
  }
  .metric strong small {
    font-size: 8px;
    margin: 0;
  }
  .metric-note {
    font-size: 6px;
    bottom: 7px;
    right: 9px;
  }
  .workspace-tip {
    padding: 14px 1px;
    align-items: start;
  }
  .workspace-tip p {
    font-size: 8px;
  }
  .settings-body {
    padding: 18px;
    display: block;
  }
  .segmented {
    max-width: none;
    margin-bottom: 20px;
  }
  .settings-heading h2 {
    font-size: 12px;
  }
  .setting-section {
    padding-bottom: 21px;
    margin-bottom: 20px;
  }
  .settings-body .setting-section h3 {
    font-size: 12px;
  }
  .field-label {
    font-size: 10px;
  }
  .garment-option {
    font-size: 10px;
    height: 70px;
  }
  .sizes button {
    font-size: 10px;
  }
  .position-section {
    border-bottom: 1px solid #edf0e8;
    margin-bottom: 18px;
  }
  .offset-row {
    font-size: 10px;
  }
  .auto-adjust strong {
    font-size: 10px;
  }
  .auto-adjust div > span {
    font-size: 8px;
  }
  .offset-note {
    font-size: 8px;
  }
  .settings-actions {
    padding: 0;
  }
  .settings-actions .button {
    font-size: 11px;
    padding: 12px;
  }
  .settings-actions .button.quiet {
    font-size: 10px;
  }
  .session-footer {
    font-size: 7px;
    display: block;
    text-align: center;
  }
  .session-footer > span {
    justify-content: center;
    margin-top: 9px;
  }
  .template-grid {
    grid-template-columns: 1fr;
  }
  .section-heading.flex {
    display: block;
  }
  .section-heading h1 {
    font-size: 27px;
  }
  .section-panel {
    padding: 20px;
  }
  .history-item {
    flex-wrap: wrap;
    padding: 12px;
  }
  .history-actions {
    max-width: none;
    width: 100%;
    justify-content: flex-end;
  }
  .history-details h3 {
    font-size: 12px;
  }
  .history-details p {
    font-size: 9px;
  }
  .template-art {
    height: 180px;
  }
  .section-heading .button {
    margin-top: 10px;
  }
  .modal-top h2 {
    font-size: 21px;
  }
  dialog {
    padding: 23px;
  }
  .canvas-instruction {
    font-size: 9px;
    bottom: 40px;
    min-width: 220px;
  }
  .help-card {
    margin-top: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Keep production controls legible, including on dense workshop screens. */
.page-heading h1 {
  font-size: 30px;
}
.page-heading p {
  font-size: 12px;
  color: #798472;
}
.eyebrow {
  font-size: 9px;
}
.button {
  font-size: 11px;
}
.breadcrumbs {
  font-size: 12px;
}
.local-badge {
  font-size: 11px;
}
.nav-item {
  font-size: 13px;
}
.nav-section-title {
  font-size: 10px;
}
.help-card strong {
  font-size: 12px;
}
.help-card p {
  font-size: 11px;
}
.text-button,
.support-link {
  font-size: 11px;
}
.profile strong {
  font-size: 12px;
}
.profile div > span {
  font-size: 10px;
}
.camera-title > strong,
.settings-heading h2 {
  font-size: 12px;
}
.camera-select {
  font-size: 10px;
}
.view-state {
  font-size: 9px;
}
.tracking-chip strong {
  font-size: 8px;
}
.tracking-chip div > span,
.stage-button {
  font-size: 9px;
}
.tool-toggle {
  font-size: 10px;
}
.placement-status strong {
  font-size: 11px;
}
.placement-status div > span {
  font-size: 9px;
  color: #8a947f;
}
.metric div > span {
  font-size: 9px;
  color: #7e8a73;
}
.metric-note {
  font-size: 8px;
}
.workspace-tip p,
.workspace-tip button {
  font-size: 9px;
}
.settings-body {
  padding-top: 17px;
}
.segmented button {
  font-size: 11px;
}
.setting-section h3 {
  font-size: 12px;
}
.field-label {
  font-size: 10px;
  color: #79896c;
}
.garment-option,
.sizes button {
  font-size: 10px;
}
.with-info span {
  font-size: 8px;
}
.upload-zone strong {
  font-size: 10px;
}
.upload-zone small {
  font-size: 8px;
}
.heart-select select,
.offset-row {
  font-size: 10px;
}
.offset-row {
  color: #7e8d71;
}
.offset-note {
  font-size: 8px;
}
.auto-adjust strong {
  font-size: 10px;
}
.auto-adjust div > span {
  font-size: 8px;
}
.settings-actions .button {
  font-size: 10px;
}
.settings-actions .button.quiet {
  font-size: 9px;
}
.session-footer {
  font-size: 9px;
}
.manual-tools {
  margin: -9px 0 20px;
}
.manual-tools .button {
  font-size: 10px;
  padding: 8px;
}
.stage canvas {
  outline-offset: -4px;
}
.stage canvas:focus-visible {
  outline: 2px solid #739366;
}
.mobile-menu {
  font-size: 0;
}
@media (min-width: 1001px) and (max-width: 1220px) {
  .page-heading h1 {
    font-size: 25px;
  }
  .metric div > span {
    font-size: 8px;
  }
  .help-card strong {
    font-size: 11px;
  }
  .nav-item {
    font-size: 12px;
  }
}
@media (max-width: 1000px) and (min-width: 541px) {
  .nav-item {
    font-size: 0;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .local-badge {
    font-size: 9px;
  }
  .metric div > span {
    font-size: 8px;
  }
}
@media (max-width: 540px) {
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 10px;
  }
  .local-badge {
    font-size: 0;
  }
  .breadcrumbs {
    font-size: 10px;
  }
  .camera-title > strong {
    font-size: 10px;
  }
  .camera-select {
    font-size: 8px;
  }
  .tracking-chip strong {
    font-size: 6px;
  }
  .tracking-chip div > span,
  .stage-button {
    font-size: 7px;
  }
  .tool-toggle {
    font-size: 8px;
  }
  .placement-status strong {
    font-size: 10px;
  }
  .placement-status div > span {
    font-size: 8px;
  }
  .metric div > span {
    font-size: 8px;
    white-space: normal;
    min-height: 23px;
    line-height: 1.4;
  }
  .metric-note {
    font-size: 7px;
  }
  .metric {
    min-height: 126px;
  }
  .workspace-tip p {
    font-size: 9px;
  }
  .session-footer {
    font-size: 8px;
  }
  .sidebar .help-card {
    display: block !important;
  }
  .sidebar .brand-dot {
    display: inline !important;
  }
  .sidebar .nav-count {
    margin-left: auto;
  }
  .sidebar {
    transition: none;
  }
  .heading-actions .primary {
    font-size: 0;
  }
}
