.editor-panel {
        background: #FFFFFF;
        color: #001A26;
        padding: 38px 34px;
        border-radius: 34px;
      }

      .page-title {
        margin: 0;
        font-size: clamp(2rem, 4.8vw, 3.25rem);
        line-height: 1;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.03em;
      }

      .page-copy {
        margin: 14px 0 26px;
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0.5px;
      }

      .section {
        margin-bottom: 24px;
      }

      .section-title {
        margin-bottom: 10px;
        font-size: 0.76rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
      }

      input[type="text"],
      input[type="number"],
      textarea {
        width: 100%;
        border: 2px solid #001A26;
        background: #FFFFFF;
        color: #001A26;
        padding: 12px 14px;
        font-size: 1rem;
        outline: none;
        border-radius: 16px;
      }

      input:focus,
      textarea:focus {
        border-color: #E60000;
      }

      textarea {
        min-height: 90px;
        resize: vertical;
      }

      .step-number-input {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 10px;
      }

      .add-step-dock {
        position: fixed;
        right: 22px;
        bottom: calc(108px + env(safe-area-inset-bottom));
        z-index: 30;
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-end;
      }

      .add-step-btn,
      .remove-step-btn {
        width: 64px;
        height: 64px;
        border-radius: 999px;
        font-size: 2rem;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
      }

      .add-step-btn {
        border: 2px solid rgba(255, 255, 255, 0.85);
        background: linear-gradient(145deg, #FF3A3A 0%, #D10000 100%);
        color: #FFFFFF;
        box-shadow: 0 16px 34px rgba(230, 0, 0, 0.35);
      }

      .add-step-btn:hover {
        filter: brightness(1.03);
      }

      .remove-step-btn {
        border: 2px solid #001A26;
        background: #FFFFFF;
        color: #001A26;
        box-shadow: 0 10px 20px rgba(0, 26, 38, 0.16);
      }

      .remove-step-btn:hover {
        background: #F2F4F5;
      }

      .add-step-btn:disabled,
      .remove-step-btn:disabled {
        opacity: 0.45;
        cursor: not-allowed;
        filter: none;
        transform: none;
        box-shadow: none;
      }

      .add-step-btn:active {
        transform: scale(0.97);
      }

      .remove-step-btn:active {
        transform: scale(0.97);
      }

      .btn {
        background: #FFFFFF;
      }

      .btn.secondary {
        border-color: #001A26;
        color: #001A26;
      }

      .btn.secondary::before {
        border-color: #001A26;
        background: #001A26;
      }

      .btn.secondary:hover {
        color: #FFFFFF;
      }

      .btn.secondary::after {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='35' height='30' viewBox='0 0 35 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='matrix(1,0,0,1,0,-224.751)'%3E%3Cpath d='M21.348,224.751L19.773,224.751C19.738,230.698 23.069,236.18 28.364,238.889L0,238.889L0,240.464L28.365,240.464C23.071,243.172 19.739,248.653 19.773,254.6L21.348,254.6C21.226,246.982 27.382,240.607 35,240.463L35,238.888C27.382,238.744 21.226,232.369 21.348,224.751Z' style='fill:rgb(0,26,38);fill-rule:nonzero;'/%3E%3C/g%3E%3C/svg%3E");
      }

      .steps-container {
        max-height: 410px;
        overflow-y: auto;
        display: grid;
        gap: 12px;
        padding-right: 4px;
      }

      .step-panel {
        border: 2px solid #E5E7E9;
        padding: 14px;
        background: #FFFFFF;
        border-radius: 20px;
      }

      .step-panel h3 {
        margin: 0 0 12px;
        font-size: 1.02rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
      }

      .step-caption label,
      .step-media label {
        display: block;
        margin-bottom: 8px;
        font-size: 0.72rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
      }

      .media-preview {
        width: 100%;
        height: 140px;
        border: 2px dashed #90A7B2;
        background: #F2F4F5;
        color: #001A26;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
        overflow: hidden;
        border-radius: 16px;
      }

      .media-preview.hidden {
        display: none;
      }

      .media-preview img,
      .media-preview video {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .annotation-stage {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
      }

      .annotation-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }

      .annotation-canvas {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        touch-action: none;
      }

      .annotation-tools {
        position: absolute;
        top: 8px;
        right: 8px;
        display: inline-flex;
        gap: 6px;
      }

      .annotation-tool-btn {
        border: 1px solid rgba(255, 255, 255, 0.8);
        background: rgba(0, 26, 38, 0.68);
        color: #FFFFFF;
        width: 32px;
        height: 32px;
        border-radius: 999px;
        font-size: 0.95rem;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
      }

      .annotation-tool-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
      }

      .annotation-hint {
        position: absolute;
        left: 8px;
        bottom: 8px;
        padding: 4px 8px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.65);
        background: rgba(0, 26, 38, 0.68);
        color: #FFFFFF;
        font-size: 0.68rem;
        font-weight: 600;
        letter-spacing: 0.03em;
      }

      .annotation-modal {
        position: fixed;
        inset: 0;
        z-index: 1200;
        background: rgba(0, 12, 18, 0.88);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px;
      }

      .annotation-modal.hidden {
        display: none;
      }

      .annotation-modal-shell {
        width: min(96vw, 1200px);
        max-height: 94vh;
        background: #FFFFFF;
        border-radius: 20px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
      }

      .annotation-modal-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 12px;
        border-bottom: 1px solid #DCE3E7;
      }

      .annotation-modal-title {
        margin: 0;
        font-size: 0.9rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #001A26;
      }

      .annotation-modal-stage {
        flex: 1;
        min-height: 260px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        background: #F2F4F5;
      }

      .annotation-modal-media {
        position: relative;
        max-width: 100%;
        max-height: 100%;
      }

      .annotation-modal-image {
        display: block;
        max-width: min(94vw, 1120px);
        max-height: 68vh;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 10px;
      }

      .annotation-modal-canvas {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        touch-action: none;
      }

      .annotation-modal-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 10px 12px 14px;
        border-top: 1px solid #DCE3E7;
      }

      .annotation-color-picker {
        display: flex;
        align-items: center;
        gap: 8px;
      }

      .annotation-hue-slider {
        display: flex;
        align-items: center;
        gap: 8px;
        padding-right: 6px;
      }

      .annotation-hue-range {
        -webkit-appearance: none;
        appearance: none;
        width: 160px;
        height: 10px;
        border-radius: 8px;
        background: linear-gradient(90deg, #ff0000 0%, #ffb000 20%, #00a94f 40%, #0e73ff 65%, #8000ff 85%, #ff0000 100%);
        cursor: pointer;
      }

      .annotation-hue-range::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.3);
        border: 2px solid rgba(0,0,0,0.12);
      }

      .annotation-color-preview {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
        border: 2px solid rgba(0,0,0,0.06);
      }

      .annotation-color-circles {
        display: flex;
        gap: 8px;
        align-items: center;
      }

      .annotation-text-box {
        min-width: 48px;
        min-height: 24px;
        padding: 6px 8px;
        border-radius: 6px;
        background: rgba(255,255,255,0.9);
        border: 1px dashed rgba(0,0,0,0.08);
        color: #001A26;
        cursor: move;
        user-select: text;
        text-align: left;
      }

      .annotation-text-box.is-empty::before {
        content: attr(data-placeholder);
        color: rgba(0, 26, 38, 0.45);
        pointer-events: none;
      }

      .annotation-text-box-option {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
        gap: 7px;
        padding: 0 9px;
        border: 1px solid #DCE3E7;
        border-radius: 6px;
        background: #FFFFFF;
        color: #001A26;
        font-size: 0.82rem;
        font-weight: 700;
        line-height: 1;
      }

      .annotation-text-box-option input {
        width: 16px;
        height: 16px;
        margin: 0;
        accent-color: #001A26;
      }

      .annotation-color-circle {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        border: 2px solid transparent;
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
        cursor: pointer;
      }

      .annotation-color-circle.selected {
        border-color: #001A26;
        transform: scale(1.05);
      }

      .annotation-color-circle:focus-visible {
        outline: 2px solid #001A26;
        outline-offset: 2px;
      }

      .media-preview-message {
        text-align: center;
        font-size: 0.88rem;
        line-height: 1.4;
        padding: 0 10px;
      }

      .media-input {
        display: none;
      }

      .upload-btn,
      .remove-btn {
        margin-right: 8px;
        margin-bottom: 8px;
      }

      .remove-btn {
        border-color: #E60000;
        color: #E60000;
      }

      .remove-btn::before {
        border-color: #E60000;
        background: #E60000;
      }

      .remove-btn:hover {
        color: #FFFFFF;
      }

      .save-section {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        background: #001A26;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        display: flex;
        justify-content: center;
        gap: 12px;
        padding: 14px 18px;
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
      }

      .save-section .btn {
        min-width: 250px;
      }

      @media (max-width: 860px) {
        .editor-panel {
          padding: 28px 16px;
        }

        .add-step-dock {
          right: 16px;
          bottom: calc(162px + env(safe-area-inset-bottom));
        }

        .add-step-btn,
        .remove-step-btn {
          width: 58px;
          height: 58px;
          font-size: 1.85rem;
        }

        .step-number-input {
          grid-template-columns: 1fr;
        }

        .save-section {
          flex-direction: column;
          align-items: stretch;
        }

        .save-section .btn {
          width: 100%;
          min-width: 0;
        }
      }
