.scope-plan * {
      box-sizing: border-box;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
.scope-plan,
.scope-plan {
      margin: 0;
      padding: 0;
      width: 100%;
      min-height: 100%;
      background: var(--desk-bg);
      color: var(--ink-1);
      font-family: var(--font-sans);
      overflow-x: hidden;
      transition: background-color 220ms ease, color 220ms ease;
    }
.scope-plan button,
.scope-plan input {
      font-family: inherit;
      color: inherit;
    }
.scope-plan .tnum {
      font-variant-numeric: tabular-nums;
      font-feature-settings: "tnum" 1;
    }
.scope-plan .mono {
      font-family: var(--font-mono);
      font-variant-numeric: tabular-nums;
      font-feature-settings: "tnum" 1;
    }
.scope-plan .workbench {
      min-height: 100vh;
      width: 100%;
      max-width: 1040px;
      margin: 0 auto;
      padding: 16px 20px 26px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 36px;
    }
.scope-plan .phone-stage {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
.scope-plan .phone-shell {
      position: relative;
      flex-shrink: 0;
    }
.scope-plan .phone-frame {
      width: 375px;
      height: 812px;
      transform-origin: top left;
      background: var(--canvas);
      border-radius: 40px;
      border: 1px solid var(--ink-border);
      box-shadow: var(--phone-shadow);
      position: relative;
      overflow: hidden;
      user-select: none;
      -webkit-user-select: none;
      transition: background-color 220ms ease, border-color 220ms ease;
    }
.scope-plan .phone-frame.is-haptic {
      animation: plan-microHaptic 250ms ease;
    }
@keyframes plan-microHaptic{
      0%, 100% { transform: scale(var(--ph-scale, 1)) translate3d(0, 0, 0); }
      25% { transform: scale(var(--ph-scale, 1)) translate3d(-1.6px, 0, 0); }
      65% { transform: scale(var(--ph-scale, 1)) translate3d(1.6px, 0, 0); }
    }
.scope-plan .ios-status {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 44px;
      padding: 14px 26px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      pointer-events: none;
      z-index: 60;
      color: var(--ink-1);
    }
.scope-plan .ios-time {
      font-family: var(--font-num);
      font-size: var(--status-time-size);
      font-weight: var(--status-time-weight);
      letter-spacing: -0.01em;
    }
.scope-plan .ios-icons {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      opacity: 0.78;
    }
.scope-plan .home-bar {
      position: absolute;
      bottom: 8px;
      left: 50%;
      transform: translateX(-50%);
      width: 130px;
      height: 4px;
      border-radius: 999px;
      background: var(--ink-1);
      opacity: 0.14;
      pointer-events: none;
      z-index: 70;
    }
.scope-plan .axis-overlay {
      position: absolute;
      inset: 44px 0 18px 0;
      pointer-events: none;
      z-index: 55;
      opacity: 0;
      transition: opacity 180ms ease;
    }
.scope-plan .phone-frame.show-guides .axis-overlay {
      opacity: 1;
    }
.scope-plan .ov-line {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 0;
      border-left: 1px dashed var(--laser-v);
    }
.scope-plan .ov-line.is-center {
      left: 50%;
      border-left: 1px solid var(--ink-3);
    }
.scope-plan .ov-tag {
      position: absolute;
      top: 4px;
      transform: translateX(-50%);
      font-family: var(--font-mono);
      font-size: 8px;
      line-height: 1;
      padding: 2px 4px;
      border-radius: 3px;
      background: var(--canvas);
      color: var(--ink-3);
      border: 0.5px solid var(--ink-5);
      white-space: nowrap;
    }
.scope-plan .ov-line.is-center .ov-tag {
      top: 20px;
      color: var(--cinnabar);
      border-color: var(--ink-3);
    }
.scope-plan .main-layer {
      position: absolute;
      inset: 0;
      z-index: 15;
      background: var(--canvas);
      display: flex;
      flex-direction: column;
      padding-top: 44px;
      transition: background-color 220ms ease;
    }
.scope-plan .pull-indicator {
      position: absolute;
      top: 48px;
      left: 20px;
      right: 20px;
      height: 62px;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
      z-index: 12;
      opacity: 0;
      will-change: opacity, transform;
    }
.scope-plan .dot-matrix-wrap {
      position: relative;
      width: 34px;
      height: 34px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
.scope-plan .dot-matrix {
      display: grid;
      grid-template-columns: repeat(3, 3px);
      grid-template-rows: repeat(3, 3px);
      gap: 8px;
      will-change: gap;
    }
.scope-plan .dot-matrix i {
      display: block;
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: var(--ink-4);
      transition: background-color 140ms ease, transform 140ms ease;
    }
.scope-plan .pull-indicator.is-armed .dot-matrix i {
      background: var(--ink-1);
    }
.scope-plan .pull-indicator.is-armed .dot-matrix i:nth-child(5) {
      transform: scale(1.38);
    }
.scope-plan .pull-indicator.is-pulse .dot-matrix-wrap {
      animation: plan-dotDetent 240ms var(--ease-shell);
    }
@keyframes plan-dotDetent{
      0%   { transform: scale(1); }
      42%  { transform: scale(1.22); }
      100% { transform: scale(1); }
    }
.scope-plan .detent-ring {
      position: absolute;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      border: 1.15px solid var(--ink-2);
      opacity: 0;
      pointer-events: none;
    }
.scope-plan .detent-ring.is-firing {
      animation: plan-monoRingPulse 340ms var(--ease-shell) forwards;
    }
@keyframes plan-monoRingPulse{
      0%   { opacity: 0.72; transform: scale(0.75); }
      100% { opacity: 0; transform: scale(2.45); }
    }
.scope-plan .main-pull-body {
      position: relative;
      z-index: 16;
      flex: 1;
      min-height: 0;
      display: flex;
      flex-direction: column;
      background: var(--canvas);
      will-change: transform;
      transition: background-color 220ms ease;
    }
.scope-plan .week-header-wrap {
      display: grid;
      grid-template-rows: 1fr;
      opacity: 1;
      transform: translate3d(0, 0, 0);
      transition:
        grid-template-rows 340ms var(--ease-shell),
        opacity 220ms ease,
        transform 320ms var(--ease-shell);
      flex-shrink: 0;
    }
.scope-plan .phone-frame.is-focus .week-header-wrap {
      grid-template-rows: 0fr;
      opacity: 0;
      transform: translate3d(0, -14px, 0);
      pointer-events: none;
    }
.scope-plan .week-header-inner {
      overflow: hidden;
    }
.scope-plan .week-drag-zone {
      touch-action: none;
      cursor: grab;
      padding-bottom: 8px;
    }
.scope-plan .week-drag-zone:active {
      cursor: grabbing;
    }
.scope-plan .week-grab-hit {
      width: 100%;
      height: 16px;
      border: none;
      background: transparent;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }
.scope-plan .week-grab-pill {
      width: 28px;
      height: 2.5px;
      border-radius: 999px;
      background: var(--ink-5);
      transition: background-color 140ms ease, width 160ms var(--ease-shell);
    }
.scope-plan .week-grab-hit:hover .week-grab-pill {
      width: 36px;
      background: var(--ink-4);
    }
.scope-plan .weekday-row {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      padding: 2px 20px 3px;
      text-align: center;
    }
.scope-plan .weekday-cell {
      font-size: 11px;
      font-weight: 400;
      color: var(--ink-4);
      line-height: 16px;
    }
.scope-plan .week-dates-row {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      padding: 2px 20px 4px;
      align-items: center;
    }
.scope-plan .w-day-btn {
      height: 38px;
      border: none;
      background: transparent;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      outline: none;
      -webkit-tap-highlight-color: transparent;
    }
.scope-plan .w-stamp {
      width: 32px;
      height: 32px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      transition: background-color 140ms ease, transform 130ms var(--ease-shell);
    }
.scope-plan .w-day-btn:active .w-stamp {
      transform: scale(0.92);
    }
.scope-plan .w-day-btn.is-selected .w-stamp {
      background: var(--ink-1);
    }
.scope-plan .w-num {
      font-size: 13.5px;
      font-weight: 400;
      line-height: 1;
      color: var(--ink-1);
      transition: color 130ms ease;
    }
.scope-plan .w-day-btn.st-future:not(.is-selected) .w-num {
      color: var(--ink-3);
    }
.scope-plan .w-day-btn.st-rest:not(.is-selected) .w-num {
      color: var(--ink-4);
    }
.scope-plan .w-day-btn.is-selected .w-num {
      color: var(--canvas);
    }
.scope-plan .today-bar {
      position: absolute;
      bottom: 3px;
      left: 50%;
      transform: translateX(-50%);
      width: 10px;
      height: 1.5px;
      border-radius: 999px;
      background: var(--ink-3);
      pointer-events: none;
    }
.scope-plan .week-hairline {
      height: 0.5px;
      margin: 0 20px;
      background: var(--ink-5);
    }
.scope-plan .focus-header-wrap {
      display: grid;
      grid-template-rows: 0fr;
      opacity: 0;
      transform: translate3d(0, 10px, 0);
      pointer-events: none;
      transition:
        grid-template-rows 340ms var(--ease-shell),
        opacity 260ms ease 40ms,
        transform 340ms var(--ease-shell);
      flex-shrink: 0;
    }
.scope-plan .phone-frame.is-focus .focus-header-wrap {
      grid-template-rows: 1fr;
      opacity: 1;
      transform: translate3d(0, 0, 0);
      pointer-events: auto;
    }
.scope-plan .focus-header-inner {
      overflow: hidden;
    }
.scope-plan .focus-topbar {
      padding: 10px 20px 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
.scope-plan .focus-clock-group {
      display: flex;
      align-items: center;
      gap: 10px;
    }
.scope-plan .live-dot-wrap {
      position: relative;
      width: 9px;
      height: 9px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
.scope-plan .live-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--cinnabar);
      animation: plan-breatheDot 2.2s ease-in-out infinite;
    }
@keyframes plan-breatheDot{
      0%, 100% { opacity: 1; transform: scale(1); }
      50%      { opacity: 0.42; transform: scale(0.84); }
    }
.scope-plan .live-ripple {
      position: absolute;
      width: 7px;
      height: 7px;
      border-radius: 50%;
      border: 1.25px solid var(--cinnabar);
      opacity: 0;
      pointer-events: none;
    }
.scope-plan .live-ripple.is-pulsing {
      animation: plan-targetRipple 760ms var(--ease-shell) forwards;
    }
@keyframes plan-targetRipple{
      0%   { opacity: 0.85; transform: scale(1); }
      100% { opacity: 0; transform: scale(4.2); }
    }
.scope-plan .focus-clock {
      font-size: 25px;
      font-weight: 500;
      line-height: 1;
      letter-spacing: -0.02em;
      color: var(--ink-1);
    }
.scope-plan .focus-target {
      font-size: 11px;
      font-weight: 400;
      line-height: 1;
      color: var(--ink-3);
      letter-spacing: 0.02em;
    }
.scope-plan .timer-reset-btn {
      border: 0.5px solid var(--ink-5);
      background: transparent;
      color: var(--ink-3);
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.08em;
      padding: 5px 9px;
      border-radius: 6px;
      cursor: pointer;
      transition: color 130ms ease, border-color 130ms ease, background-color 130ms ease;
    }
.scope-plan .timer-reset-btn:hover {
      color: var(--ink-1);
      border-color: var(--ink-4);
      background: var(--surface);
    }
.scope-plan .focus-prog-wrap {
      padding: 0 20px;
    }
.scope-plan .focus-prog-track {
      position: relative;
      width: 100%;
      height: 1px;
      background: var(--ink-5);
    }
.scope-plan .focus-prog-fill {
      position: absolute;
      left: 0;
      top: -0.25px;
      width: 100%;
      height: 1.5px;
      background: var(--ink-1);
      transform-origin: left center;
      transform: scaleX(0);
      transition: transform 320ms var(--ease-shell);
    }
.scope-plan .plan-scroll {
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      padding: 16px 16px 24px;
      -webkit-overflow-scrolling: touch;
    }
.scope-plan .plan-scroll::-webkit-scrollbar {
      width: 3px;
    }
.scope-plan .plan-scroll::-webkit-scrollbar-thumb {
      background: var(--ink-4);
      border-radius: 999px;
    }
.scope-plan .plan-scroll.is-future-day .ex-block {
      opacity: 0.52;
    }
.scope-plan .rest-canvas {
      height: 100%;
      min-height: 500px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 14px;
    }
.scope-plan .rest-plus-btn {
      width: 46px;
      height: 46px;
      border: 0.5px solid var(--ink-border);
      background: transparent;
      color: var(--ink-3);
      border-radius: 11px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: border-color 140ms ease, color 140ms ease, background-color 140ms ease;
    }
.scope-plan .rest-plus-btn:hover {
      border-color: var(--ink-2);
      color: var(--ink-1);
      background: var(--surface);
    }
.scope-plan .ex-block {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      transition: opacity 220ms ease;
    }
.scope-plan .ex-block.is-all-done:not(.is-open) {
      opacity: 0.32;
    }
.scope-plan .ex-block.is-all-done:not(.is-open):hover {
      opacity: 0.72;
    }
.scope-plan .ex-divider {
      width: 40px;
      height: 0.5px;
      background: var(--ink-5);
      margin: 14px auto;
      flex-shrink: 0;
    }
.scope-plan .ex-head {
      width: 100%;
      border: none;
      background: transparent;
      padding: 4px 0 9px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      outline: none;
      -webkit-tap-highlight-color: transparent;
    }
.scope-plan .ex-title {
      font-size: var(--plan-title-size);
      font-weight: 600;
      line-height: 1.25;
      color: var(--ink-1);
      text-align: center;
      white-space: nowrap;
    }
.scope-plan .ex-title[data-chars="2"] {
      letter-spacing: var(--two-char-tracking);
      padding-left: var(--two-char-tracking);
    }
.scope-plan .ex-title[data-chars="3"] {
      letter-spacing: 0.12em;
      padding-left: 0.12em;
    }
.scope-plan .ex-title[data-chars="4"],
.scope-plan .ex-title[data-chars="5"],
.scope-plan .ex-title[data-chars="6"] {
      letter-spacing: 0.04em;
      padding-left: 0.04em;
    }
.scope-plan .ex-mini-prog {
      width: 28px;
      height: 1.5px;
      margin-top: 6px;
      border-radius: 999px;
      background: var(--ink-5);
      overflow: hidden;
      position: relative;
    }
.scope-plan .ex-mini-prog-fill {
      position: absolute;
      inset: 0;
      background: var(--ink-1);
      transform-origin: left center;
      transition: transform 260ms var(--ease-shell);
    }
.scope-plan .collapsed-rows {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 7px;
      cursor: pointer;
    }
.scope-plan .ex-block.is-open .collapsed-rows {
      display: none;
    }
.scope-plan .formula-row {
      position: relative;
      width: 100%;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
    }
.scope-plan .collapsed-rows .formula-row {
      height: 22px;
    }
.scope-plan .row-h-laser {
      position: absolute;
      left: 10px;
      right: 10px;
      top: 50%;
      height: 0;
      border-top: 0.75px dashed var(--ink-3);
      pointer-events: none;
      opacity: 0;
      z-index: 10;
      transition: opacity 160ms ease;
    }
.scope-plan .phone-frame.show-guides .row-h-laser,
.scope-plan .ruler-stage.show-guides .row-h-laser {
      opacity: 1;
    }
.scope-plan .wing-left {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      padding-right: var(--wing-gap);
      white-space: nowrap;
    }
.scope-plan .wt-cluster {
      display: inline-flex;
      align-items: center;
      line-height: 1;
    }
.scope-plan .num-main {
      /* Protected legacy slider is centred at 16px; preserve its 1:1 delta. */
      font-family: var(--font-num);
      font-variant-numeric: tabular-nums;
      font-feature-settings: "tnum" 1;
      font-size: calc(var(--plan-num-size) + var(--num-size) - var(--plan-num-slider-origin));
      font-weight: 600;
      letter-spacing: -0.025em;
      line-height: 1;
      color: var(--ink-collapsed);
      display: inline-flex;
      align-items: center;
      transition: color 160ms ease;
    }
.scope-plan .ex-block.is-open .num-main,
.scope-plan .phone-frame.is-focus .num-main,
.scope-plan .ruler-stage .num-main {
      color: var(--ink-1);
    }
.scope-plan .unit-kg-caps {
      margin-left: 6px;
      font-size: 10.5px;
      font-weight: 500;
      letter-spacing: 0.06em;
      line-height: 1;
      color: var(--ink-1);
      opacity: 0.44;
      display: inline-flex;
      align-items: center;
    }
.scope-plan .unit-kg-legacy {
      display: none;
      margin-left: 3px;
      font-size: 11px;
      font-weight: 400;
      line-height: 1;
      color: var(--ink-3);
    }
.scope-plan .axis-mul {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 18px;
      width: 9px;
      flex-shrink: 0;
    }
.scope-plan .svg-mul-main {
      display: block;
      width: 8.5px;
      height: 8.5px;
      color: var(--ink-1);
      opacity: 0.52;
      overflow: visible;
      flex-shrink: 0;
    }
.scope-plan .wing-right {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      padding-left: var(--wing-gap);
      white-space: nowrap;
    }
.scope-plan .reps-slot {
      width: 26px;
      display: inline-flex;
      align-items: center;
      justify-content: flex-start;
      flex-shrink: 0;
    }
.scope-plan .sets-morph-slot {
      margin-left: var(--set-gap);
      width: 30px;
      height: 18px;
      display: inline-flex;
      align-items: center;
      justify-content: flex-start;
      flex-shrink: 0;
    }
.scope-plan .plan2-sets {
      display: inline-flex;
      align-items: center;
      gap: 2.5px;
      color: var(--ink-1);
      opacity: 0.56;
      line-height: 1;
    }
.scope-plan .svg-mul-sub {
      display: block;
      width: 6.5px;
      height: 6.5px;
      overflow: visible;
      flex-shrink: 0;
    }
.scope-plan .sets-digit {
      font-size: 13px;
      font-weight: 500;
      line-height: 1;
    }
.scope-plan .legacy-sets {
      display: none;
      align-items: baseline;
      line-height: 1;
    }
.scope-plan .legacy-sets-num {
      font-size: 13px;
      font-weight: 500;
      color: var(--ink-3);
      line-height: 1;
    }
.scope-plan .legacy-sets-zu {
      margin-left: 1.5px;
      font-size: 10px;
      font-weight: 400;
      color: var(--ink-4);
      line-height: 1;
    }
.scope-plan[data-formula="legacy"] .wt-cluster {
      align-items: baseline;
      transform: translateY(1.5px);
    }
.scope-plan[data-formula="legacy"] .unit-kg-caps {
      display: none;
    }
.scope-plan[data-formula="legacy"] .unit-kg-legacy {
      display: inline;
    }
.scope-plan[data-formula="legacy"] .plan2-sets {
      display: none;
    }
.scope-plan[data-formula="legacy"] .legacy-sets {
      display: inline-flex;
      transform: translateY(2px);
    }
.scope-plan .expanded-wrap {
      width: 100%;
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 250ms var(--ease-shell);
    }
.scope-plan .ex-block.is-open .expanded-wrap {
      grid-template-rows: 1fr;
    }
.scope-plan .expanded-inner {
      overflow: hidden;
      width: 100%;
    }
.scope-plan .set-stack {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 2px;
      padding-bottom: 4px;
    }
.scope-plan .set-item {
      width: 100%;
      border-radius: 8px;
      transition: background-color 140ms ease;
    }
.scope-plan .phone-frame.is-focus .set-item.is-next-up {
      background: var(--surface);
    }
.scope-plan .set-item.is-editing {
      background: var(--surface);
    }
.scope-plan .set-hit-row {
      width: 100%;
      height: 40px;
      cursor: pointer;
      border-radius: 8px;
      transition: height 220ms var(--ease-shell), background-color 120ms ease;
    }
.scope-plan .phone-frame.is-focus .set-hit-row {
      height: 48px;
    }
.scope-plan .set-hit-row:hover {
      background: var(--surface);
    }
.scope-plan .val-trigger {
      border: none;
      background: transparent;
      padding: 6px 0;
      margin: 0;
      display: inline-flex;
      align-items: center;
      cursor: pointer;
      outline: none;
      -webkit-tap-highlight-color: transparent;
    }
.scope-plan .val-trigger.is-rep {
      width: 100%;
      justify-content: flex-start;
    }
.scope-plan .set-item.is-done .num-main {
      color: var(--ink-3);
    }
.scope-plan .set-item.is-editing .num-main {
      color: var(--ink-1);
    }
.scope-plan .seal-box {
      position: relative;
      width: 15px;
      height: 15px;
      border-radius: 3px;
      border: 1.2px solid var(--ink-4);
      background: transparent;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition:
        background-color 160ms ease,
        border-color 160ms ease,
        transform 160ms var(--ease-spring);
    }
.scope-plan .set-item.is-next-up .seal-box {
      border-color: var(--ink-3);
    }
.scope-plan .set-hit-row:active .seal-box {
      transform: scale(0.86);
    }
.scope-plan .seal-box svg {
      width: 8.5px;
      height: 8.5px;
      color: var(--canvas);
      opacity: 0;
      transform: scale(0.55);
      transition: opacity 130ms ease, transform 160ms var(--ease-spring);
    }
.scope-plan .set-item.is-done .seal-box,
.scope-plan .seal-box.is-done-static {
      background: var(--ink-1);
      border-color: var(--ink-1);
    }
.scope-plan .set-item.is-done .seal-box svg,
.scope-plan .seal-box.is-done-static svg {
      opacity: 1;
      transform: scale(1);
    }
.scope-plan .seal-box.is-flash {
      animation: plan-sealFlashInk 250ms var(--ease-shell) forwards;
    }
@keyframes plan-sealFlashInk{
      0%   { background: var(--cinnabar); border-color: var(--cinnabar); transform: scale(0.84); }
      45%  { background: var(--cinnabar); border-color: var(--cinnabar); transform: scale(1.12); }
      100% { background: var(--ink-1); border-color: var(--ink-1); transform: scale(1); }
    }
.scope-plan .seal-halo {
      position: absolute;
      inset: -1px;
      border-radius: 4px;
      border: 1.2px solid var(--cinnabar);
      opacity: 0;
      pointer-events: none;
    }
.scope-plan .seal-box.is-flash .seal-halo {
      animation: plan-sealHaloOut 250ms var(--ease-shell) forwards;
    }
@keyframes plan-sealHaloOut{
      0%   { opacity: 0.80; transform: scale(0.95); }
      100% { opacity: 0; transform: scale(1.85); }
    }
.scope-plan .adjust-wrap {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 200ms var(--ease-shell);
    }
.scope-plan .set-item.is-editing .adjust-wrap {
      grid-template-rows: 1fr;
    }
.scope-plan .adjust-inner {
      overflow: hidden;
    }
.scope-plan .adjust-bar {
      padding: 2px 6px 10px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 4.5px;
    }
.scope-plan .adj-btn {
      height: 25px;
      min-width: 31px;
      padding: 0 5.5px;
      border: 0.5px solid var(--ink-border);
      background: var(--canvas);
      color: var(--ink-1);
      border-radius: 5px;
      font-family: var(--font-mono);
      font-size: 10px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: background-color 110ms ease, color 110ms ease, transform 90ms ease;
    }
.scope-plan .adj-btn:hover {
      background: var(--ink-1);
      color: var(--canvas);
    }
.scope-plan .adj-btn:active {
      transform: scale(0.94);
    }
.scope-plan .adj-sep {
      width: 1px;
      height: 12px;
      background: var(--ink-border);
      margin: 0 2px;
    }
.scope-plan .adj-del {
      width: 25px;
      height: 25px;
      border: none;
      background: transparent;
      color: var(--ink-3);
      border-radius: 5px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: color 130ms ease, background-color 130ms ease;
    }
.scope-plan .adj-del:hover {
      color: var(--ink-1);
      background: var(--ink-5);
    }
.scope-plan .add-set-btn {
      width: 100%;
      height: 30px;
      margin-top: 2px;
      border: none;
      background: transparent;
      color: var(--ink-4);
      font-size: 11px;
      letter-spacing: 0.08em;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      border-radius: 6px;
      cursor: pointer;
      transition: color 140ms ease, background-color 140ms ease;
    }
.scope-plan .add-set-btn:hover {
      color: var(--ink-1);
      background: var(--surface);
    }
.scope-plan .bottom-dock {
      padding: 8px 20px 26px;
      background: linear-gradient(to top, var(--canvas) 76%, transparent);
      flex-shrink: 0;
      max-height: 86px;
      opacity: 1;
      transition:
        max-height 260ms var(--ease-shell),
        opacity 200ms ease,
        padding 260ms var(--ease-shell),
        transform 260ms var(--ease-shell);
    }
.scope-plan .bottom-dock.is-hidden {
      max-height: 0;
      padding-top: 0;
      padding-bottom: 0;
      opacity: 0;
      transform: translate3d(0, 12px, 0);
      pointer-events: none;
      overflow: hidden;
    }
.scope-plan .start-btn {
      width: 100%;
      height: 46px;
      border: none;
      border-radius: 8px;
      background: var(--cinnabar);
      color: var(--cinnabar-ink);
      font-size: 15px;
      font-weight: 500;
      letter-spacing: 0.34em;
      padding-left: 0.34em;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: filter 140ms ease, transform 120ms ease;
    }
.scope-plan .start-btn:hover {
      filter: brightness(1.05);
    }
.scope-plan .start-btn:active {
      transform: scale(0.985);
    }
.scope-plan .finish-btn {
      width: 100%;
      height: 44px;
      border: 0.75px solid var(--ink-border);
      border-radius: 8px;
      background: var(--surface);
      color: var(--ink-1);
      font-size: 14px;
      font-weight: 500;
      letter-spacing: 0.32em;
      padding-left: 0.32em;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background-color 140ms ease, border-color 140ms ease, transform 120ms ease;
    }
.scope-plan .finish-btn:hover {
      border-color: var(--ink-3);
      background: var(--canvas);
    }
.scope-plan .finish-btn:active {
      transform: scale(0.985);
    }
.scope-plan .m-badge {
      width: 32px;
      height: 32px;
      border-radius: 6px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background-color 140ms ease, transform 140ms var(--ease-shell);
    }
@keyframes plan-sealPopIn{
      0%   { transform: scale(0.88); }
      58%  { transform: scale(1.04); }
      100% { transform: scale(1); }
    }
.scope-plan .m-sessions {
      padding: 0 0 12px 0;
      display: flex;
      flex-direction: column;
      gap: 3px;
    }
.scope-plan .m-row-grid {
      width: 100%;
      height: 20px;
      display: grid;
      grid-template-columns: 44px 1fr 22px 24px 36px;
      align-items: center;
      column-gap: 8px;
    }
.scope-plan .m-date {
      font-size: 11px;
      font-weight: 400;
      letter-spacing: 0.03em;
      line-height: 1;
      color: var(--ink-3);
      text-align: left;
      white-space: nowrap;
    }
.scope-plan .m-wt {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      white-space: nowrap;
    }
.scope-plan .m-wt .num-main,
.scope-plan .m-rep .num-main {
      font-size: 15px;
      color: var(--ink-1);
    }
.scope-plan .m-mul {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 16px;
    }
.scope-plan .m-rep {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      white-space: nowrap;
    }
.scope-plan .m-sets {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      white-space: nowrap;
    }
.scope-plan .control-panel {
      width: 380px;
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      gap: 11px;
    }
.scope-plan .sec-card {
      background: var(--panel-bg);
      border: 1px solid var(--ink-5);
      border-radius: 16px;
      padding: 12px 14px;
      box-shadow: var(--panel-shadow);
      display: flex;
      flex-direction: column;
      gap: 9px;
      transition: background-color 220ms ease, border-color 220ms ease;
    }
.scope-plan .sec-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      font-size: 11.5px;
      font-weight: 600;
      color: var(--ink-1);
    }
.scope-plan .sec-code {
      font-family: var(--font-mono);
      font-size: 9.5px;
      font-weight: 400;
      color: var(--ink-3);
    }
.scope-plan .seg {
      display: grid;
      gap: 2px;
      padding: 2.5px;
      border-radius: 9px;
      background: var(--panel-sub);
      border: 0.5px solid var(--ink-5);
    }
.scope-plan .seg-2 { grid-template-columns: repeat(2, 1fr); }
.scope-plan .seg-3 { grid-template-columns: repeat(3, 1fr); }
.scope-plan .seg-btn {
      border: none;
      background: transparent;
      color: var(--ink-3);
      font-size: 11px;
      font-weight: 500;
      padding: 5.5px 4px;
      border-radius: 7px;
      cursor: pointer;
      white-space: nowrap;
      transition: background-color 140ms ease, color 140ms ease;
    }
.scope-plan .seg-btn:hover {
      color: var(--ink-1);
    }
.scope-plan .seg-btn.is-active {
      background: var(--ink-1);
      color: var(--canvas);
    }
.scope-plan .quick-btn {
      width: 100%;
      border: 0.5px solid var(--ink-border);
      background: var(--panel-sub);
      color: var(--ink-1);
      font-size: 11px;
      font-weight: 500;
      padding: 7.5px 10px;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 130ms ease, border-color 130ms ease, transform 90ms ease;
    }
.scope-plan .quick-btn:hover {
      border-color: var(--ink-2);
      background: var(--surface);
    }
.scope-plan .quick-btn:active {
      transform: scale(0.985);
    }
.scope-plan .slider-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
.scope-plan .sl-item {
      display: flex;
      flex-direction: column;
      gap: 3px;
    }
.scope-plan .sl-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 10.5px;
    }
.scope-plan .sl-label {
      color: var(--ink-2);
    }
.scope-plan .sl-val {
      font-family: var(--font-mono);
      font-size: 10px;
      color: var(--ink-1);
    }
.scope-plan .swiss-range {
      -webkit-appearance: none;
      appearance: none;
      width: 100%;
      height: 2px;
      border-radius: 999px;
      background: var(--ink-4);
      outline: none;
      cursor: pointer;
    }
.scope-plan .swiss-range::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--ink-1);
      border: 2px solid var(--panel-bg);
      cursor: grab;
    }
.scope-plan .swiss-range::-moz-range-thumb {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--ink-1);
      border: 2px solid var(--panel-bg);
      cursor: grab;
    }
.scope-plan .span-readout {
      background: var(--panel-sub);
      border: 0.5px solid var(--ink-5);
      border-radius: 8px;
      padding: 6.5px 9px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-family: var(--font-mono);
      font-size: 10px;
      color: var(--ink-2);
    }
.scope-plan .toggle-row {
      width: 100%;
      border: 0.5px solid var(--ink-5);
      background: var(--panel-sub);
      border-radius: 9px;
      padding: 7px 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      cursor: pointer;
      font-size: 11px;
      font-weight: 500;
      color: var(--ink-2);
      transition: border-color 140ms ease, color 140ms ease;
    }
.scope-plan .toggle-row:hover {
      border-color: var(--ink-3);
      color: var(--ink-1);
    }
.scope-plan .sw-track {
      width: 30px;
      height: 17px;
      border-radius: 999px;
      background: var(--ink-4);
      position: relative;
      flex-shrink: 0;
      transition: background-color 160ms ease;
    }
.scope-plan .sw-track.is-on {
      background: var(--cinnabar);
    }
.scope-plan .sw-knob {
      width: 13px;
      height: 13px;
      border-radius: 50%;
      background: var(--canvas);
      position: absolute;
      top: 2px;
      left: 2px;
      transition: transform 160ms var(--ease-shell);
    }
.scope-plan .sw-track.is-on .sw-knob {
      transform: translateX(13px);
    }
.scope-plan .ruler-stage {
      position: relative;
      width: 100%;
      height: 116px;
      background: var(--canvas);
      border: 0.5px solid var(--ink-border);
      border-radius: 10px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background-color 220ms ease, border-color 220ms ease;
    }
.scope-plan .ruler-badge-l {
      position: absolute;
      top: 6px;
      left: 8px;
      font-family: var(--font-mono);
      font-size: 8.5px;
      color: var(--ink-3);
      letter-spacing: 0.04em;
      z-index: 14;
      pointer-events: none;
    }
.scope-plan .ruler-badge-r {
      position: absolute;
      top: 6px;
      right: 8px;
      font-family: var(--font-mono);
      font-size: 8.5px;
      color: var(--ink-2);
      z-index: 14;
      pointer-events: none;
    }
.scope-plan .ruler-scaler {
      width: 340px;
      transform-origin: center center;
      position: relative;
      padding-top: 8px;
    }
.scope-plan .ruler-stack {
      position: relative;
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 9px;
    }
.scope-plan .ruler-stack .formula-row {
      height: 20px;
    }
.scope-plan .ruler-v-layer {
      position: absolute;
      inset: -4px 0 -4px 0;
      pointer-events: none;
      opacity: 0;
      z-index: 8;
      transition: opacity 160ms ease;
    }
.scope-plan .ruler-stage.show-guides .ruler-v-layer {
      opacity: 1;
    }
.scope-plan .rv-line {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 0;
      border-left: 0.6px dashed var(--laser-v);
    }
.scope-plan .rv-line.is-center {
      left: 50%;
      border-left: 0.6px solid var(--ink-3);
    }
.scope-plan .lock-card {
      border-radius: 12px;
      background: #141416;
      border: 1px solid rgba(255, 255, 255, 0.10);
      padding: 10px 11px;
      color: #ECEAE4;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
.scope-plan .lock-standby {
      padding: 8px 4px;
      text-align: center;
      font-size: 10.5px;
      color: rgba(236, 234, 228, 0.44);
    }
.scope-plan .lock-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }
.scope-plan .lock-meta {
      display: flex;
      flex-direction: column;
      gap: 3px;
      min-width: 0;
    }
.scope-plan .lock-clock-row {
      display: flex;
      align-items: center;
      gap: 6px;
    }
.scope-plan .lock-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #D94834;
      animation: plan-breatheDot 2.2s ease-in-out infinite;
      flex-shrink: 0;
    }
.scope-plan .lock-clock {
      font-size: 15px;
      font-weight: 500;
      line-height: 1;
      color: #ECEAE4;
    }
.scope-plan .lock-desc {
      font-size: 11px;
      color: rgba(236, 234, 228, 0.78);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
.scope-plan .lock-tap-btn {
      height: 38px;
      min-width: 78px;
      padding: 0 10px;
      border: 1px solid rgba(236, 234, 228, 0.22);
      background: rgba(236, 234, 228, 0.10);
      color: #ECEAE4;
      border-radius: 9px;
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.08em;
      cursor: pointer;
      flex-shrink: 0;
      transition: background-color 120ms ease, border-color 120ms ease, transform 90ms ease;
    }
.scope-plan .lock-tap-btn:hover {
      background: rgba(236, 234, 228, 0.18);
      border-color: rgba(236, 234, 228, 0.38);
    }
.scope-plan .lock-tap-btn:active {
      transform: scale(0.95);
    }
.scope-plan .lock-tap-btn.is-flash {
      background: #D94834;
      border-color: #D94834;
      color: #FFFFFF;
    }
.scope-plan .sim-pair {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 6px;
    }
.scope-plan .sim-btn {
      border: 0.5px solid var(--ink-border);
      background: var(--panel-sub);
      color: var(--ink-2);
      font-size: 10.5px;
      font-weight: 500;
      padding: 6.5px 5px;
      border-radius: 8px;
      cursor: pointer;
      text-align: center;
      transition: border-color 130ms ease, color 130ms ease, opacity 130ms ease;
    }
.scope-plan .sim-btn:hover:not(:disabled) {
      border-color: var(--ink-2);
      color: var(--ink-1);
    }
.scope-plan .sim-btn:disabled {
      opacity: 0.36;
      cursor: not-allowed;
    }
.scope-plan .log-box {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
.scope-plan .log-empty {
      font-size: 10px;
      color: var(--ink-4);
      text-align: center;
      padding: 3px 0;
    }
.scope-plan .log-line {
      background: var(--panel-sub);
      border: 0.5px solid var(--ink-5);
      border-radius: 6px;
      padding: 4.5px 8px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
      font-size: 10px;
      color: var(--ink-2);
    }
.scope-plan .log-pill {
      font-family: var(--font-mono);
      font-size: 8.5px;
      padding: 1.5px 5px;
      border-radius: 4px;
      white-space: nowrap;
    }
.scope-plan .log-pill.is-valid {
      background: var(--ink-1);
      color: var(--canvas);
    }
.scope-plan .log-pill.is-censored {
      border: 0.75px dashed var(--ink-3);
      color: var(--ink-3);
    }
.scope-plan .log-pill.is-base {
      background: var(--surface);
      color: var(--ink-2);
    }
@media (max-width: 839px){.scope-plan .workbench {
        flex-direction: column;
        justify-content: flex-start;
        padding: 12px 12px 26px;
        gap: 18px;
      }
.scope-plan .control-panel {
        width: 100%;
        max-width: 380px;
      }}
/* Unified canvas amendments: original hero_2 formula retained; geometric frame changes only. */
.scope-plan.module-view { position:absolute;inset:0;width:390px;height:844px;min-height:0;background:var(--canvas); }
.scope-plan .phone-frame { width:390px;height:844px;border:0;border-radius:0;box-shadow:none;transform:none;--ph-scale:1; }
.scope-plan .control-panel { width:100%;max-width:none;max-height:none;overflow:visible;padding:0; }
.scope-plan .main-pull-body { padding-bottom:80px; }
.scope-plan .bottom-dock { position:absolute;bottom:0;left:0;right:0;height:80px;max-height:80px;padding:0;transform:none;background:linear-gradient(to top,var(--canvas) 76%,transparent); }
.scope-plan .bottom-dock.is-hidden { display:none; }
.scope-plan .start-btn,.scope-plan .finish-btn { position:absolute;left:50%;bottom:26px;width:260px;height:46px;transform:translateX(-50%); }
.scope-plan .start-btn:active,.scope-plan .finish-btn:active { transform:translateX(-50%) scale(.985); }
.scope-plan .plan-home-return { position:absolute;top:43px;left:20px;z-index:65;border:0;background:none;color:var(--ink-3);font-size:10px;padding:4px 0;cursor:pointer; }
.scope-plan .plan-today-return { position:absolute;top:43px;right:20px;z-index:65;border:0;background:none;color:var(--ink-3);font-size:10px;letter-spacing:0.04em;padding:4px 0;cursor:pointer;transition:color 160ms ease; }
.scope-plan .plan-today-return:hover { color:var(--ink-1); }
.scope-plan .plan-today-return[hidden] { display:none; }
.scope-plan .plan-add-action { position:absolute;right:18px;bottom:27px;width:42px;height:44px;display:flex;align-items:center;justify-content:center;z-index:45;border:0;background:transparent;color:var(--ink-2);cursor:pointer; }
.scope-plan .plan-add-menu { position:absolute;z-index:80;bottom:80px;left:20px;right:20px;padding:14px 0;background:var(--canvas);display:flex;align-items:center;gap:10px;font-size:12px; }
.scope-plan .plan-add-menu[hidden] {display:none;}
.scope-plan .plan-add-menu select {min-width:0;flex:1;background:var(--canvas);color:var(--ink-1);border:0;font:inherit;}
.scope-plan .plan-add-menu button {border:0;background:transparent;color:var(--ink-2);padding:8px;font:inherit;cursor:pointer;}
.scope-plan .phone-frame.is-stamping .live-dot,.scope-plan .phone-frame.is-stamping .live-ripple {visibility:hidden;}
.scope-plan .phone-frame.is-stamping .start-btn {background:var(--ink-1);}
.scope-plan .phone-frame.is-focus .start-btn {background:var(--ink-1);}
.scope-plan .lock-dot {background:var(--ink-2);box-shadow:none;}
.scope-plan .lock-tap-btn.is-flash {background:var(--ink-1);}
.scope-plan .live-ripple {border-color:var(--ink-3);}
.scope-plan .seal-halo {border-color:var(--ink-3);}
.scope-plan .seal-box.is-flash {animation-duration:200ms;}
.scope-plan .seal-box.is-flash .seal-halo {animation-duration:200ms;}
.scope-plan .ov-line.is-center,.scope-plan .ruler-h-line {border-color:var(--ink-3);}

/* Engineering overlays use ink so the active product state owns the sole cinnabar quota. */
.scope-plan .ov-line.is-center .ov-tag {color:var(--ink-3);border-color:var(--ink-4);}
.scope-plan .sw-track.is-on {background:var(--ink-2);}
.scope-plan .phone-frame:not(.is-focus) .live-dot,.scope-plan .phone-frame:not(.is-focus) .live-ripple {visibility:hidden;}

/* Home launch/recast owns the red allocation for the entire transition. */
body[data-transition] .scope-plan .bottom-dock,
body[data-transition] .scope-plan .focus-header-wrap,
body[data-transition] .scope-plan .live-dot,
body[data-transition] .scope-plan .live-ripple,
body[data-transition] .scope-plan .seal-box.is-flash,
body[data-transition] .scope-plan .seal-halo { visibility:hidden; }
